/* =====================================================================
   Deck pages: activity / ranking / awards / shop
   Builds on home-deck.css tokens (.home-deck) — load that first.
   ===================================================================== */

/* ---------- shared ---------- */
.page-deck a { color: inherit; }
.page-title {
  margin: 0 0 24px;
  font-size: clamp(48px, 8.4vw, 132px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.03em;
  overflow: hidden;
  padding-bottom: .06em;
}
.page-title .ch {
  display: inline-block;
  transform: translateY(110%) rotate(6deg);
  opacity: 0;
  transition: transform 1s var(--ease-out), opacity .7s ease;
  transition-delay: calc(.35s + var(--i) * 40ms);
}
.deck-ready .page-title.is-in .ch { transform: none; opacity: 1; }
.page-lead {
  max-width: 34em;
  margin: 0 0 32px;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.95;
  color: var(--dim);
}
.page-deck .kicker { margin: 0 0 16px; font-size: 11px; color: var(--cyan); }
.page-deck .screen-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-deck .feature-link.is-ghost { border-color: rgba(255, 255, 255, .14); color: var(--dim); }
.page-deck button.feature-link { background: none; font-family: var(--mono); cursor: pointer; }
.page-deck .hero-hint { z-index: 3; }

/* reveal on entry (pages-deck.js toggles .is-in) */
.act-title .ch, .rank-title .ch {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform .9s var(--ease-out), opacity .6s ease;
  transition-delay: calc(var(--i) * 32ms);
}
.is-in .act-title .ch, .is-in .rank-title .ch { transform: none; opacity: 1; }

/* =====================================================================
   ACTIVITY
   ===================================================================== */
.slide--page-hero {
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 6vw;
  background:
    radial-gradient(80% 60% at 30% 50%, rgba(41, 195, 255, .08), transparent 70%),
    var(--bg);
}
.marquee-stack {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2vh;
  transform: rotate(-6deg) scale(1.15);
  pointer-events: none;
}
.mq { overflow: hidden; white-space: nowrap; }
.mq > div {
  display: flex;
  align-items: center;
  width: max-content;
  animation: pd-marquee 46s linear infinite;
}
.mq--b > div { animation-direction: reverse; animation-duration: 38s; }
.mq--slow > div { animation-duration: 64s; }
.mq span {
  padding: 0 .25em;
  font-size: clamp(64px, 10.5vw, 168px);
  font-weight: 900;
  line-height: 1.05;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .11);
}
.mq--b span { -webkit-text-stroke-color: rgba(41, 195, 255, .2); }
.mq i { font-style: normal; font-size: 28px; color: var(--gold); opacity: .5; }
@keyframes pd-marquee { to { transform: translateX(-50%); } }
.page-hero-copy {
  position: relative;
  z-index: 2;
  padding: 26px 0;
}
.page-hero-copy::before {
  content: "";
  position: absolute;
  inset: -12vh -40vw -12vh -10vw;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(5, 7, 10, .92), rgba(5, 7, 10, .6) 60%, transparent);
}

/* sticky stage + scrolling list */
.acts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 5vw;
}
.acts-stage {
  position: sticky;
  top: 13vh;
  height: 74vh;
  align-self: start;
}
.acts-frame {
  position: relative;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px var(--line);
}
.acts-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  clip-path: circle(0% at 50% 60%);
  transform: scale(1.12);
  /* the old image collapses only after the new one has covered it */
  transition: clip-path .01s linear 1.1s, transform 1.4s var(--ease-out);
}
.acts-img.is-active {
  z-index: 2;
  clip-path: circle(150% at 50% 60%);
  transform: none;
  transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1), transform 1.4s var(--ease-out);
}
.acts-counter {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 3;
  padding: 6px 10px;
  background: rgba(5, 7, 10, .65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 11px;
  color: var(--dim);
}
.acts-counter b { color: var(--cyan); }
.acts-list { margin: 0; padding: 0; list-style: none; }
.act {
  min-height: 74vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6vh 0;
  border-top: 1px solid var(--line);
  opacity: .32;
  transition: opacity .6s ease;
}
.act.is-current { opacity: 1; }
.act-img-inline { display: none; }
.act-no {
  font-size: clamp(64px, 8vw, 128px);
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .28);
  letter-spacing: -.04em;
}
.act.is-current .act-no { -webkit-text-stroke-color: var(--cyan); }
.act-title {
  margin: 10px 0 22px;
  font-size: clamp(30px, 3.6vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  overflow: hidden;
}
.act-points { margin: 0 0 26px; padding: 0; list-style: none; }
.act-points li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--dim);
  line-height: 1.8;
}
.act-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 10px;
  height: 1px;
  background: var(--cyan);
}
.act .feature-link { align-self: flex-start; }

/* join */
.join-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6vw;
  align-items: center;
}
.scanner {
  position: relative;
  width: min(320px, 70vw);
  padding: 20px;
  background: rgba(255, 255, 255, .03);
}
.scanner img { display: block; width: 100%; border-radius: 8px; background: #fff; }
.scanner .corner {
  position: absolute;
  width: 26px; height: 26px;
  border: 0 solid var(--cyan);
}
.scanner .tl { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.scanner .tr { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.scanner .bl { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.scanner .br { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.scan-line {
  position: absolute;
  left: 8%; right: 8%;
  top: 10%;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 18px 3px rgba(41, 195, 255, .7);
  animation: pd-scan 2.6s ease-in-out infinite alternate;
}
@keyframes pd-scan { to { top: 90%; } }
.join-note { font-size: 10px; color: rgba(255, 255, 255, .4); }

/* =====================================================================
   AWARDS (rank1–3, ACGN)
   ===================================================================== */
.slide--awards {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15vh 6vw 0;
  text-align: center;
  background:
    radial-gradient(70% 55% at 50% 100%, rgba(245, 196, 76, .16), transparent 70%),
    radial-gradient(60% 50% at 50% 0%, rgba(41, 195, 255, .06), transparent 70%),
    var(--bg);
}
.spotlights i {
  position: absolute;
  top: -12%;
  width: 34vw;
  height: 135%;
  background: linear-gradient(180deg, rgba(255, 232, 180, .3), rgba(255, 232, 180, .06) 55%, transparent 85%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  transform-origin: 50% 0;
  filter: blur(8px);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: pd-swing 7s ease-in-out infinite alternate;
}
.spotlights i:nth-child(1) { left: 2%; animation-delay: -2s; }
.spotlights i:nth-child(2) { left: 33%; animation-duration: 9s; background: linear-gradient(180deg, rgba(160, 220, 255, .26), rgba(160, 220, 255, .05) 55%, transparent 85%); }
.spotlights i:nth-child(3) { left: 64%; animation-delay: -5s; }
@keyframes pd-swing { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }
.awards-year {
  position: absolute;
  left: 50%;
  bottom: -4vh;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: clamp(150px, 28vw, 440px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.06em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 196, 76, .2);
  pointer-events: none;
}
.awards-copy { position: relative; z-index: 2; max-width: 1000px; }
.awards-copy .kicker { color: var(--gold); }
.slide--awards .page-title { font-size: clamp(34px, 5.4vw, 82px); }
.slide--awards .page-lead { margin-left: auto; margin-right: auto; }
.award-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.award-cats a {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid rgba(245, 196, 76, .35);
  font-size: 11px;
  text-decoration: none;
  transition: background .3s ease, color .3s ease;
}
.award-cats a:hover { background: var(--gold); color: #000; }

.podium {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(10px, 2vw, 26px);
  margin: auto 0 0;
  padding: 6vh 0 0;
  list-style: none;
}
.podium-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: clamp(104px, 13vw, 196px);
  transform: translateY(40px);
  opacity: 0;
}
.deck-ready .podium-step {
  animation: pd-rise 1.2s var(--ease-out) forwards;
  animation-delay: calc(.6s + var(--d));
}
@keyframes pd-rise { to { transform: none; opacity: 1; } }
.podium-card { display: block; width: 100%; text-decoration: none; }
.podium-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 0 1px var(--medal), 0 0 40px -6px var(--medal);
  transition: transform .5s var(--ease-out);
}
.podium-card:hover img { transform: translateY(-8px); }
.podium-title {
  display: block;
  margin: 12px 0 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.podium-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--h);
  background: linear-gradient(180deg, var(--medal), rgba(0, 0, 0, .2));
  color: #0b0b0b;
  border-radius: 4px 4px 0 0;
}
.podium-block b { font-size: 34px; line-height: 1; }
.podium-block em { font-style: normal; font-size: 10px; opacity: .7; }
.is-gold { --medal: #f5c44c; --h: 128px; }
.is-silver { --medal: #c9d3df; --h: 92px; }
.is-bronze { --medal: #d98c55; --h: 66px; }

/* full list */
.ranklist { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.rank-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 2.6fr) minmax(0, 7fr);
  gap: 3vw;
  align-items: start;
  padding: 9vh 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 60px;
}
.rank-no {
  position: sticky;
  top: 16vh;
  font-size: clamp(72px, 10vw, 168px);
  line-height: .85;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .25);
}
.rank-row.is-gold .rank-no,
.rank-row.is-silver .rank-no,
.rank-row.is-bronze .rank-no {
  -webkit-text-stroke: 0;
  background: linear-gradient(180deg, #fff, var(--medal) 60%);
  -webkit-background-clip: text;
  background-clip: text;
}
.rank-poster { margin: 0; position: sticky; top: 16vh; }
.rank-poster img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 0 1px var(--line);
}
.rank-row.is-gold .rank-poster img,
.rank-row.is-silver .rank-poster img,
.rank-row.is-bronze .rank-poster img { box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 0 1px var(--medal, var(--line)), 0 0 50px -12px var(--medal, transparent); }
.rank-kicker { margin: 0 0 10px; font-size: 10px; color: var(--medal, var(--cyan)); }
.rank-title {
  margin: 0 0 26px;
  font-size: clamp(26px, 3vw, 46px);
  font-weight: 900;
  line-height: 1.2;
  overflow: hidden;
}
.rank-voices {
  position: relative;
  max-height: 22em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.rank-voices.is-open { max-height: none; -webkit-mask-image: none; mask-image: none; }
.rank-voices.is-short { max-height: none; -webkit-mask-image: none; mask-image: none; }
.rank-voices blockquote {
  position: relative;
  margin: 0 0 12px;
  padding: 12px 16px;
  border-left: 2px solid var(--cyan);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, .045);
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(243, 246, 250, .86);
}
.rank-voices blockquote:nth-child(3n+2) { border-left-color: var(--gold); }
.rank-voices p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.9; color: var(--dim); }
.rank-more {
  margin-top: 14px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  cursor: pointer;
}
.rank-more i { display: inline-block; font-style: normal; transition: transform .3s ease; }
.rank-more[aria-expanded="true"] i { transform: rotate(180deg); }
.rank-more[hidden] { display: none; }

/* ACGN rules */
.rule-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rule-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
}
.rule-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rule-card > div { padding: 20px 22px 24px; }
.rule-card span { font-size: 22px; color: var(--gold); letter-spacing: 0; }
.rule-card h3 { margin: 6px 0 10px; font-size: 20px; }
.rule-card p { margin: 0 0 18px; font-size: 13.5px; line-height: 1.85; color: var(--dim); }

/* =====================================================================
   SHOP
   ===================================================================== */
.slide--shop-hero {
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 4vw;
  padding: 0 6vw;
  background:
    radial-gradient(60% 60% at 75% 55%, rgba(170, 120, 255, .12), transparent 70%),
    radial-gradient(50% 50% at 85% 30%, rgba(41, 195, 255, .1), transparent 70%),
    var(--bg);
}
.shop-copy { position: relative; z-index: 3; transform: translateZ(0); }
.card-fan {
  position: relative;
  height: 64vh;
  perspective: 1200px;
  --spread: 1;
  transform: rotateY(var(--py, 0deg)) rotateX(var(--px, 0deg));
  transform-style: preserve-3d;
  transition: transform .3s ease-out;
}
.card-fan:hover { --spread: 1.22; }
.fan-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(140px, 15vw, 230px);
  aspect-ratio: 3 / 4;
  margin: calc(clamp(140px, 15vw, 230px) * -0.667) 0 0 calc(clamp(140px, 15vw, 230px) * -0.5);
  border-radius: 12px;
  overflow: hidden;
  transform-origin: 50% 120%;
  transform:
    translateX(calc(var(--k) * 34% * var(--spread)))
    translateY(calc(var(--k) * var(--k) * 9px))
    rotate(calc(var(--k) * 9deg * var(--spread)));
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .14);
  opacity: 0;
  transition: transform .6s var(--ease-out);
}
.deck-ready .fan-card {
  animation: pd-deal 1s var(--ease-out) forwards;
  animation-delay: calc(.35s + (var(--k) + 2) * .1s);
}
@keyframes pd-deal { from { opacity: 0; margin-top: 40vh; } to { opacity: 1; } }
.fan-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fan-card .holo-foil { opacity: .35; }

.holo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 40px 30px;
}
.holo { display: block; text-decoration: none; color: inherit; perspective: 900px; }
.holo-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease-out, box-shadow .4s ease;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1);
  will-change: transform;
}
.holo:hover .holo-card { box-shadow: 0 40px 80px -28px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .3), 0 0 50px -10px rgba(170, 140, 255, .55); }
.holo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.holo-foil {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg,
      rgba(255, 80, 180, 0) 0%, rgba(255, 80, 180, .55) 7%, rgba(80, 230, 255, .55) 14%,
      rgba(255, 240, 90, .5) 21%, rgba(150, 110, 255, .5) 28%, rgba(255, 80, 180, 0) 35%);
  background-size: 260% 260%;
  background-position: var(--mx, 50%) var(--my, 50%);
  mix-blend-mode: color-dodge;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.holo:hover .holo-foil { opacity: .5; }
.holo-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .45), transparent 45%);
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.holo:hover .holo-glare { opacity: 1; }
.holo-no {
  position: absolute;
  left: 12px;
  top: 10px;
  padding: 3px 7px;
  background: rgba(5, 7, 10, .6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 10px;
}
.holo-price {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
  background: rgba(5, 7, 10, .75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(245, 196, 76, .4);
  color: var(--gold);
  font-size: 10px;
  text-transform: none;
}
.holo-meta { display: block; margin-top: 16px; }
.holo-meta b { display: block; font-size: 17px; line-height: 1.35; }
.holo-meta em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; line-height: 1.7; color: var(--dim); }
.holo-like {
  margin-top: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: none;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .3s ease, color .3s ease, background .3s ease;
}
.holo-like i { font-style: normal; display: inline-block; transition: transform .35s var(--ease-out); }
.holo-like[aria-pressed="true"] { border-color: #ff5c8a; color: #ff5c8a; background: rgba(255, 92, 138, .08); }
.holo-like[aria-pressed="true"] i { transform: scale(1.3); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 860px) {
  .acts-grid { display: block; }
  .acts-stage { display: none; }
  .act { min-height: 0; opacity: 1; padding: 8vh 0; }
  .act-img-inline {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 18px;
  }
  .join-grid { grid-template-columns: 1fr; justify-items: start; }

  .slide--awards { padding-top: 12vh; }
  .podium-step { width: 27vw; }
  .podium-title { font-size: 11px; }
  .is-gold { --h: 96px; } .is-silver { --h: 70px; } .is-bronze { --h: 50px; }
  .rank-row { grid-template-columns: 30% minmax(0, 1fr); gap: 18px; padding: 7vh 0; }
  .rank-no { position: static; grid-column: 1 / -1; font-size: 64px; }
  .rank-poster { position: static; }
  .rank-body { grid-column: 1 / -1; }

  .slide--shop-hero { grid-template-columns: 1fr; height: auto; min-height: 100svh; padding: 96px 22px 40px; }
  .card-fan { height: 46vh; order: -1; }
  .holo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
  .holo-meta b { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .mq > div, .spotlights i, .scan-line { animation: none; }
  .podium-step, .fan-card { animation: none; opacity: 1; transform: none; }
  .fan-card { transform: translateX(calc(var(--k) * 34%)) rotate(calc(var(--k) * 9deg)); }
  .page-title .ch, .act-title .ch, .rank-title .ch { transition: none; transform: none; opacity: 1; }
  .act { opacity: 1; }
  .acts-img { transition: none; }
}

/* ---------- overrides of home-deck's generic .slide rules ---------- */
/* .home-deck .slide resets padding with higher specificity */
.home-deck .slide--page-hero,
.home-deck .slide--shop-hero { padding: 0 6vw; }
.home-deck .slide--awards { padding: 15vh 6vw 0; }
/* overflow:hidden would make these sections scroll containers and kill position:sticky */
.home-deck .slide--acts,
.home-deck .slide--ranklist { overflow: visible; overflow-x: clip; }
@media (max-width: 860px) {
  .home-deck .slide--shop-hero { padding: 96px 22px 40px; }
  .home-deck .slide--awards { padding: 12vh 22px 0; }
  .home-deck .slide--page-hero { padding: 0 22px; }
}

/* =====================================================================
   SCAP QR (scap-qr.js) — glowing modules on a dark card, scannable
   ===================================================================== */
.qr-holo { width: min(340px, 78vw); padding: 18px; }
.qr-holo .qr-fallback { display: block; }
.qr-holo.qr-ready .qr-fallback { display: none; }
.qr-svg svg { display: block; width: 100%; height: auto; }
.qr-bg { fill: #060a12; transition: fill .5s ease; }
.qr-c1 { stop-color: #62f0ff; transition: stop-color .5s ease; }
.qr-c2 { stop-color: #9aa8ff; transition: stop-color .5s ease; }
.qr-c3 { stop-color: #f5c44c; transition: stop-color .5s ease; }
.qr-badge-bg { fill: #060a12; stroke: #62f0ff; stroke-width: .18; transition: fill .5s ease, stroke .5s ease; }
.qr-badge-t {
  fill: #62f0ff;
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 1.85px;
  font-weight: 700;
  letter-spacing: .08px;
  transition: fill .5s ease;
}
.qr-svg { border-radius: 10px; box-shadow: 0 0 60px -14px rgba(98, 240, 255, .45), 0 30px 80px -30px rgba(0, 0, 0, .9); transition: box-shadow .5s ease; }

/* modules ripple in from the centre when the code scrolls into view */
.qr-dot, .qr-eye { opacity: 0; }
.qr-holo.is-in .qr-dot { animation: qr-in .5s ease forwards; animation-delay: calc(var(--d) * 1.1s); }
.qr-holo.is-in .qr-eye { animation: qr-in .7s ease forwards .1s; }
@keyframes qr-in { from { opacity: 0; } to { opacity: 1; } }

/* light fallback: same design, dark ink on a soft light card */
.qr-holo.is-light .qr-bg { fill: #eef3fb; }
.qr-holo.is-light .qr-c1 { stop-color: #0a3a7a; }
.qr-holo.is-light .qr-c2 { stop-color: #2c1f73; }
.qr-holo.is-light .qr-c3 { stop-color: #5b2608; }
.qr-holo.is-light .qr-badge-bg { fill: #eef3fb; stroke: #0a3a7a; }
.qr-holo.is-light .qr-badge-t { fill: #0a3a7a; }
.qr-holo.is-light .qr-svg { box-shadow: 0 0 60px -14px rgba(238, 243, 251, .35), 0 30px 80px -30px rgba(0, 0, 0, .9); }
.qr-holo .scan-line { left: 10%; right: 10%; height: 1px; opacity: .75; }
.join-copy .screen-actions { margin-bottom: 22px; }

@media (prefers-reduced-motion: reduce) {
  .qr-dot, .qr-eye { opacity: 1; animation: none !important; }
}
