/* ==========================================================================
   Home — the Truth / Dare / Fortune swipe deck, "how to play" and the
   explore tiles. Builds on core.css tokens and components.
   ========================================================================== */

/* ---------- Heat themes: one palette per mode + level ---------- */
[data-theme="truth-1"] { --hi: #ff9bb8; --lo: #7a2148; --deep: #2a0b1c; --ink: #b0214d; }
[data-theme="truth-2"] { --hi: #ff7aa2; --lo: #85183f; --deep: #2c0716; --ink: #a8173f; }
[data-theme="truth-3"] { --hi: #ff5f73; --lo: #8e0f2c; --deep: #29040d; --ink: #a50d2d; }
[data-theme="dare-1"] { --hi: #ffc47c; --lo: #7d3d0f; --deep: #2b1405; --ink: #9a4a0b; }
[data-theme="dare-2"] { --hi: #ffa45f; --lo: #88320c; --deep: #2c0f04; --ink: #a3400b; }
[data-theme="dare-3"] { --hi: #ff8048; --lo: #922409; --deep: #2d0a03; --ink: #ab2f0b; }
[data-theme="dare-4"] { --hi: #ff5a44; --lo: #7e0f10; --deep: #1f0304; --ink: #a8121a; }
[data-theme="fortune-1"] { --hi: #c6b3ff; --lo: #3d2a8a; --deep: #120b2e; --ink: #5a3fc2; }

/* ---------- Play area ---------- */
.play {
  /* Vertical space taken by everything except the card on phones. */
  --chrome: 404px;
  --card-w: clamp(196px, min(calc((100svh - var(--chrome)) * 0.714), calc(100vw - 2 * var(--gutter) - 40px)), 380px);
  --card-h: calc(var(--card-w) * 1.4);
  --accent: var(--hi);
  --accent-2: color-mix(in oklab, var(--hi) 55%, var(--lo));
  --seg-thumb: linear-gradient(135deg, var(--hi), color-mix(in oklab, var(--hi) 60%, var(--lo)));
  --seg-glow: var(--hi);
  display: grid;
  gap: 12px;
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding-block: 4px 8px;
}

.play__panel {
  display: grid;
  gap: 12px;
  align-content: start;
}
.play__intro { display: grid; gap: 12px; }
.play__title {
  font-size: clamp(28px, 7.3vw, 76px);
  line-height: 1.03;
  font-weight: 480;
}
.play__eyebrow,
.play__lede,
.play__tips { display: none; }
.play__eyebrow .icon { width: 15px; height: 15px; color: var(--hi); }

.play__tips {
  gap: 16px;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 650;
}
.play__tips li { display: inline-flex; align-items: center; gap: 7px; }

/* Level picker */
.levels {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 8px;
}
.levels[hidden] { display: none; }
.level {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  min-height: 50px;
  padding: 6px 4px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.03);
  color: var(--text-3);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s, box-shadow 0.35s, transform 0.35s var(--spring);
}
.level:hover { color: var(--text-2); border-color: var(--line-strong); }
.level:active { transform: scale(0.95); }
.level[aria-checked="true"] {
  color: var(--text);
  border-color: color-mix(in oklab, var(--hi) 72%, transparent);
  background: linear-gradient(180deg, color-mix(in oklab, var(--hi) 24%, transparent), color-mix(in oklab, var(--hi) 7%, transparent));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 12px 26px -16px var(--hi);
}
.level[data-spicy]::after {
  content: "18+";
  position: absolute;
  top: -8px;
  right: 8px;
  padding: 2px 6px;
  border-radius: 99px;
  border: 1px solid var(--line-strong);
  background: var(--ink-1);
  color: var(--text-3);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.heat { display: flex; gap: 4px; }
.heat i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.22;
}
.heat i.on {
  opacity: 1;
  background: var(--hi);
  box-shadow: 0 0 8px var(--hi);
}

.fortune-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px dashed color-mix(in oklab, var(--hi) 45%, transparent);
  color: var(--text-2);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  text-align: center;
}
.fortune-hint[hidden] { display: none; }
.fortune-hint .icon { color: var(--hi); width: 18px; height: 18px; }

/* ---------- Stage: deck + controls ---------- */
.play__stage {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.deck {
  position: relative;
  width: var(--card-w);
  height: calc(var(--card-h) + 16px);
  perspective: 1600px;
  margin-top: 2px;
}

.card {
  --card-r: calc(var(--card-w) * 0.066);
  position: absolute;
  top: 0;
  left: 0;
  width: var(--card-w);
  height: var(--card-h);
  transform-style: preserve-3d;
  transform:
    translate3d(var(--dx, 0px), calc(var(--dy, 0px) + var(--sy, 0px)), 0)
    rotate(calc(var(--dr, 0deg) + var(--sr, 0deg)))
    scale(var(--ss, 1))
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));
  transition: transform 0.65s var(--spring);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  cursor: grab;
  outline: none;
}
.card[data-pos="0"] { z-index: 4; }
.card[data-pos="1"] { z-index: 3; --sy: 12px; --sr: -4.5deg; --ss: 0.955; pointer-events: none; }
.card[data-pos="2"] { z-index: 2; --sy: 20px; --sr: 4deg; --ss: 0.915; pointer-events: none; }
.card[data-pos="3"] { z-index: 1; --sy: 26px; --ss: 0.86; pointer-events: none; }
.card[data-pos="out"] { z-index: 6; pointer-events: none; }
.card.is-dragging { transition: none; cursor: grabbing; }
.card.is-leaving { transition: transform 0.6s cubic-bezier(0.35, 0, 0.85, 0.55); }
.card:focus-visible .card__face {
  outline: 3px solid var(--hi);
  outline-offset: 4px;
}

.card__inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.9s var(--spring);
}
.card.is-flipped .card__inner { transform: rotateY(180deg); }
.card.is-flipping { animation: card-lift 0.8s var(--ease-out); }
@keyframes card-lift { 40% { scale: 1.06; } }

.card__face {
  position: absolute;
  inset: 0;
  container-type: inline-size;
  border-radius: var(--card-r);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.12) inset,
    0 30px 60px -22px rgb(0 0 0 / 0.8),
    0 10px 22px -10px rgb(0 0 0 / 0.6);
}

/* Back */
.card__back {
  color: #fff1e6;
  background:
    radial-gradient(130% 85% at 22% -5%, color-mix(in oklab, var(--hi) 60%, transparent), transparent 58%),
    radial-gradient(90% 70% at 105% 105%, color-mix(in oklab, var(--hi) 22%, transparent), transparent 70%),
    repeating-linear-gradient(135deg, rgb(255 255 255 / 0.028) 0 2px, transparent 2px 9px),
    linear-gradient(165deg, var(--lo), var(--deep));
  border: 1px solid rgb(255 255 255 / 0.14);
  transition: background 0.5s;
}
.card__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.card__art .emblem { display: none; }
.card[data-mode="truth"] .emblem--truth,
.card[data-mode="dare"] .emblem--dare,
.card[data-mode="fortune"] .emblem--fortune { display: inline; }
.card__label {
  position: absolute;
  inset: auto 0 15% 0;
  display: grid;
  justify-items: center;
  gap: 3px;
  text-align: center;
}
.card__mode {
  font-size: 5.6cqi;
  font-weight: 800;
  letter-spacing: 0.34em;
  margin-right: -0.34em;
  text-transform: uppercase;
}
.card__level {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 7.2cqi;
  opacity: 0.85;
}
.card__hint {
  position: absolute;
  inset: auto 0 7% 0;
  text-align: center;
  font-size: 3.5cqi;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.6;
}
.card__turn {
  position: absolute;
  top: 6.5%;
  left: 50%;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 80%;
  padding: 1.6cqi 3.6cqi 1.6cqi 1.6cqi;
  border-radius: 99px;
  background: rgb(0 0 0 / 0.32);
  border: 1px solid rgb(255 255 255 / 0.16);
  font-size: 4cqi;
  font-weight: 750;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.card__turn:empty { display: none; }
.card__turn i {
  width: 5.6cqi;
  height: 5.6cqi;
  border-radius: 50%;
  background: var(--pc, var(--hi));
  box-shadow: 0 0 10px var(--pc, var(--hi));
}
.card__turn span { overflow: hidden; text-overflow: ellipsis; }
.card:not([data-pos="0"]) .card__turn { opacity: 0; }
.card__foil {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 34%, rgb(255 255 255 / 0.17) 45%, rgb(255 205 232 / 0.12) 51%, transparent 63%);
  background-size: 260% 260%;
  background-position: calc(100% - var(--mx, 50%)) calc(100% - var(--my, 50%));
  pointer-events: none;
}
@media (hover: none) {
  .card[data-pos="0"] .card__foil { animation: sheen 6.5s var(--ease-in-out) infinite; }
}
@keyframes sheen {
  0%, 100% { background-position: 100% 100%; }
  50% { background-position: 0% 0%; }
}

/* Front */
.card__front {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 9% 9% 8%;
  color: var(--paper-ink);
  background:
    radial-gradient(120% 70% at 50% -10%, #fffdf8, transparent 60%),
    linear-gradient(180deg, var(--paper), var(--paper-2));
}
.card__front::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .35  0 0 0 0 .3  0 0 0 .22 0'/></filter><rect width='100%25' height='100%25' filter='url(%23p)'/></svg>");
  pointer-events: none;
}
.card__front::after {
  content: "";
  position: absolute;
  inset: 3.4%;
  border: 1px solid color-mix(in oklab, var(--ink) 22%, transparent);
  border-radius: calc(var(--card-r) * 0.7);
  pointer-events: none;
}
.card__top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.card__tag {
  display: grid;
  gap: 1.2cqi;
}
.card__tag b {
  font-size: 3.7cqi;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
}
.card__tag span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4.6cqi;
  color: var(--paper-ink-2);
}
.card__pips { display: flex; gap: 1.4cqi; padding-top: 0.6cqi; }
.card__pips i {
  width: 2.4cqi;
  height: 2.4cqi;
  border-radius: 50%;
  background: color-mix(in oklab, var(--ink) 18%, transparent);
}
.card__pips i.on { background: var(--ink); }
.card__text {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  margin: 5% 0;
  font-family: var(--font-display);
  font-weight: 460;
  font-size: 8.8cqi;
  line-height: 1.2;
  letter-spacing: -0.012em;
  text-wrap: pretty;
  overflow-wrap: break-word;
}
.card__text[data-len="xs"] { font-size: 10.4cqi; line-height: 1.14; }
.card__text[data-len="s"] { font-size: 9.3cqi; line-height: 1.17; }
.card__text[data-len="m"] { font-size: 8cqi; }
.card__text[data-len="l"] { font-size: 6.9cqi; }
.card__text[data-len="xl"] { font-size: 6.1cqi; line-height: 1.24; }
.card__glyph {
  position: absolute;
  right: 6%;
  bottom: 1%;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 58cqi;
  line-height: 1;
  color: var(--ink);
  opacity: 0.06;
  pointer-events: none;
}
.card[data-mode="truth"] .card__glyph::before { content: "?"; }
.card[data-mode="dare"] .card__glyph::before { content: "!"; }
.card[data-mode="fortune"] .card__glyph::before { content: "✦"; font-style: normal; font-size: 0.7em; }
.card[data-mode="fortune"] .card__text {
  justify-content: center;
  text-align: center;
  font-style: italic;
  font-weight: 420;
  font-size: 11cqi;
  line-height: 1.08;
  color: #2a1a4a;
}
.card__foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  font-size: 3.3cqi;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: var(--paper-ink-2);
}
.card__for {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 4.6cqi;
  letter-spacing: 0;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Drag stamps + stacked-card shade */
.card__stamp {
  position: absolute;
  top: 8%;
  padding: 0.25em 0.6em;
  border: 3px solid currentColor;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.85);
  font-size: calc(var(--card-w) * 0.075);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}
.card__stamp--next { left: 8%; color: #1f9a62; opacity: var(--next, 0); transform: translateZ(2px) rotate(-14deg); }
.card__stamp--pass { right: 8%; color: #d63a3a; opacity: var(--pass, 0); transform: translateZ(2px) rotate(14deg); }
.card__shade {
  position: absolute;
  inset: 0;
  border-radius: var(--card-r);
  background: var(--ink-0);
  opacity: 0;
  transform: translateZ(1px);
  transition: opacity 0.5s;
  pointer-events: none;
}
.card[data-pos="1"] .card__shade { opacity: 0.32; }
.card[data-pos="2"] .card__shade { opacity: 0.55; }
.card[data-pos="3"] .card__shade { opacity: 0.9; }

/* Deck choreography */
.deck.is-dealing .card { animation: deal-in 0.95s var(--ease-out) both; animation-delay: calc(var(--deal-i, 0) * 120ms + 150ms); }
@keyframes deal-in {
  from { translate: 0 -70svh; rotate: -28deg; }
}
.deck.is-shuffling .card[data-pos="0"] { animation: riffle-a 0.65s var(--ease-in-out); }
.deck.is-shuffling .card[data-pos="1"] { animation: riffle-b 0.65s var(--ease-in-out); }
.deck.is-shuffling .card[data-pos="2"] { animation: riffle-c 0.65s var(--ease-in-out); }
@keyframes riffle-a { 38% { translate: 40% -2%; rotate: 9deg; } 72% { translate: -4% 0; rotate: -1deg; } }
@keyframes riffle-b { 38% { translate: -40% 2%; rotate: -9deg; } 72% { translate: 4% 0; rotate: 1deg; } }
@keyframes riffle-c { 38% { translate: 0 -8%; } }
@media (prefers-reduced-motion: no-preference) {
  .deck.is-idle .card[data-pos="0"] .card__inner { animation: bob 5s var(--ease-in-out) infinite; }
}
@keyframes bob { 50% { translate: 0 -7px; rotate: 0.6deg; } }

/* Controls */
.controls {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(20px, 7vw, 34px);
}
.ctrl {
  display: grid;
  grid-template-rows: 54px auto;
  justify-items: center;
  align-items: center;
  row-gap: 9px;
  color: var(--text-2);
}
.ctrl > [data-icon] {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-1);
  transition: transform 0.4s var(--spring), background-color 0.2s, box-shadow 0.3s;
}
.ctrl .icon { width: 24px; height: 24px; }
.ctrl small {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.ctrl--pass > [data-icon] { color: #ff9090; }
.ctrl--next > [data-icon] { color: var(--hi); }
.ctrl--flip > [data-icon] {
  width: 64px;
  height: 64px;
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, var(--hi), var(--lo));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35), 0 16px 36px -12px var(--hi);
}
.ctrl--flip .icon { width: 28px; height: 28px; transition: transform 0.6s var(--spring); }
.ctrl--flip.is-revealed .icon { transform: rotate(-180deg); }
.ctrl:hover > [data-icon] { transform: translateY(-2px); background-color: rgb(255 255 255 / 0.09); }
.ctrl--flip:hover > [data-icon] { background-color: transparent; filter: brightness(1.08); }
.ctrl:active > [data-icon] { transform: scale(0.9); }

.deck-meta {
  min-height: 20px;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}
.deck-meta b { color: var(--text-2); font-weight: 750; }

/* ---------- Responsive play layout ---------- */
@media (max-width: 979px) {
  .play__panel,
  .play__stage { max-width: 560px; width: 100%; justify-self: center; }
}
@media (max-width: 979px) and (max-height: 760px) {
  .play { --chrome: 334px; }
  .play__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 980px) {
  .play {
    --card-w: clamp(270px, calc((100svh - 250px) * 0.714), 400px);
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(40px, 5vw, 80px);
    min-height: calc(100svh - 66px);
    padding-block: 20px 40px;
  }
  .play__panel { gap: 22px; max-width: 580px; }
  .play__eyebrow,
  .play__tips { display: flex; }
  .play__lede { display: block; }
  .play__intro { gap: 20px; margin-bottom: 10px; }
  .play__stage { gap: 14px; }
  .level { min-height: 56px; font-size: 13px; }
}

/* ---------- How to play ---------- */
.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 26px 24px 28px;
}
.step__n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 46px;
  line-height: 1;
  background: linear-gradient(100deg, var(--rose), var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.1em;
  justify-self: start;
}
.step p { color: var(--text-2); }
.house-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: var(--r-m);
  border: 1px dashed color-mix(in oklab, var(--rose) 45%, transparent);
  background: color-mix(in oklab, var(--rose) 7%, transparent);
  color: var(--text-2);
}
.house-rule strong { color: var(--text); }
.house-rule .icon { color: var(--rose); width: 22px; height: 22px; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Explore tiles ---------- */
.tiles { display: grid; gap: 16px; }
@media (min-width: 880px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
}
.tile {
  --c: var(--rose);
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  text-decoration: none;
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in oklab, var(--c) 24%, transparent), transparent 70%),
    linear-gradient(180deg, rgb(255 255 255 / 0.055), rgb(255 255 255 / 0.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--spring), border-color 0.3s, box-shadow 0.4s;
}
.tile:hover {
  border-color: color-mix(in oklab, var(--c) 50%, transparent);
  box-shadow: 0 34px 70px -34px color-mix(in oklab, var(--c) 70%, transparent);
}
.tile--mbti { --c: var(--lilac); }
.tile--love { --c: var(--rose); }
.tile--trivia { --c: var(--gold); }
.tile__art {
  position: relative;
  height: 220px;
  display: grid;
  place-items: center;
}
.tile__body {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 0 26px 28px;
}
.tile__body > p:not(.eyebrow) { color: var(--text-2); }
.tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-weight: 800;
  color: var(--c);
}
.tile__cta .icon { transition: transform 0.35s var(--spring); }
.tile:hover .tile__cta .icon { transform: translateX(5px); }

.tile--mbti img {
  position: absolute;
  width: 112px;
  height: auto;
  border-radius: 14px;
  border: 3px solid var(--paper);
  box-shadow: 0 20px 34px -14px rgb(0 0 0 / 0.8);
  transition: transform 0.6s var(--spring);
}
.tile--mbti img:nth-child(1) { transform: translate(-72px, 10px) rotate(-12deg); }
.tile--mbti img:nth-child(2) { z-index: 1; transform: translateY(-6px); }
.tile--mbti img:nth-child(3) { transform: translate(72px, 10px) rotate(12deg); }
.tile--mbti:hover img:nth-child(1) { transform: translate(-90px, 4px) rotate(-17deg); }
.tile--mbti:hover img:nth-child(2) { transform: translateY(-14px) scale(1.04); }
.tile--mbti:hover img:nth-child(3) { transform: translate(90px, 4px) rotate(17deg); }

.orb {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #1b0d14;
  background: radial-gradient(circle at 32% 26%, #fff 0, var(--c) 46%, color-mix(in oklab, var(--c) 55%, #000));
  box-shadow: 0 14px 30px -10px var(--c);
  animation: float 6s var(--ease-in-out) infinite;
}
.orb .icon { width: 26px; height: 26px; }
.orb:nth-child(1) { transform: translate(-128px, 26px); animation-delay: -1s; }
.orb:nth-child(2) { transform: translate(-64px, -14px); animation-delay: -2.2s; }
.orb:nth-child(3) { transform: translate(0, -34px); animation-delay: -3.1s; width: 66px; height: 66px; }
.orb:nth-child(4) { transform: translate(64px, -14px); animation-delay: -4s; }
.orb:nth-child(5) { transform: translate(128px, 26px); animation-delay: -5s; }

.crown {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  color: #3a2406;
  background: radial-gradient(circle at 32% 26%, #fff4cf, var(--gold) 50%, #b5832a);
  box-shadow:
    0 0 0 12px rgb(244 201 107 / 0.1),
    0 0 0 26px rgb(244 201 107 / 0.05),
    0 22px 50px -12px var(--gold);
}
.crown .icon { width: 46px; height: 46px; }
.bubble {
  position: absolute;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: rgb(255 255 255 / 0.07);
  font-weight: 800;
  color: var(--text-2);
  animation: float 5.5s var(--ease-in-out) infinite;
}
.bubble--a { transform: translate(-118px, -52px); }
.bubble--b { transform: translate(112px, -60px); animation-delay: -1.5s; }
.bubble--c { transform: translate(-104px, 56px); animation-delay: -3s; }
.bubble--d { transform: translate(122px, 46px); animation-delay: -4.2s; color: #1f3a2a; background: var(--good); border-color: transparent; }
@keyframes float { 50% { translate: 0 -9px; } }

/* ---------- Sheets ---------- */
.consent__icon {
  justify-self: start;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, #ff8048, #a8121a);
  box-shadow: 0 14px 30px -10px #ff5a44;
}
.consent__icon .icon { width: 28px; height: 28px; }
.consent__rules { display: grid; gap: 10px; }
.consent__rules li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.consent__rules .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--good); }

.player-form { display: flex; gap: 10px; }
.player-list { display: flex; flex-wrap: wrap; gap: 8px; }
.player-list:empty::before {
  content: "No players yet — playing freestyle is fine too.";
  color: var(--text-3);
  font-size: 14px;
}
.player-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 5px 5px 5px;
  border-radius: 99px;
  border: 1px solid var(--line-strong);
  background: rgb(255 255 255 / 0.06);
  font-weight: 700;
  animation: pop-in 0.4s var(--spring);
}
.player-chip__dot {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pc);
  color: #1d0b13;
  font-size: 13px;
  font-weight: 800;
}
.player-chip button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text-3);
  transition: background-color 0.2s, color 0.2s;
}
.player-chip button:hover { background: rgb(255 255 255 / 0.1); color: var(--text); }
.player-chip button .icon { width: 16px; height: 16px; }
