/* Layout concept: a casino table. Felt-green field lit from above, gold hairline frames, the three live screens of one game as the centrepiece, chips as step markers. */
:root {
  --felt: #0A2318;
  --felt-2: #12301F;
  --tile: #0B3B2A;
  --gold: #C9A227;
  --gold-hi: #E8C766;
  --gold-lo: #8B6F1F;
  --wine: #7A2333;
  --cream: #F3EBD8;
  --cream-dim: #B8AD94;
  --chip-red: #D9455F;
  --good: #19C58A;
  --bad: #F87171;
  --line: rgba(201, 162, 39, 0.28);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Albert Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--felt);
  background-image:
    radial-gradient(ellipse 90% 50% at 70% 0%, rgba(30, 110, 70, 0.55) 0%, rgba(10, 35, 24, 0) 70%),
    radial-gradient(ellipse 70% 40% at 0% 45%, rgba(201, 162, 39, 0.07) 0%, rgba(10, 35, 24, 0) 70%);
  background-repeat: no-repeat;
  color: var(--cream);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(56px, 9vw, 112px); }
.band + .band { border-top: 1px solid var(--line); }

.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.6vw, 4.6rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); letter-spacing: -0.01em; }
h2 em { font-style: normal; color: var(--gold-hi); }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 2vw, 1.28rem); color: var(--cream); max-width: 52ch; }
.sub { color: var(--cream-dim); max-width: 60ch; margin-top: 16px; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.05em; color: var(--gold); }
.top nav { display: flex; gap: 22px; font-size: 0.95rem; font-weight: 600; }
.top nav a { text-decoration: none; color: var(--cream-dim); }
.top nav a:hover { color: var(--gold-hi); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1.5px solid var(--gold); transition: background 0.15s, transform 0.15s, box-shadow 0.15s; }
.btn-solid { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--felt); box-shadow: 0 8px 24px rgba(201, 162, 39, 0.25); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201, 162, 39, 0.35); }
.btn-ghost { color: var(--gold-hi); }
.btn-ghost:hover { background: rgba(201, 162, 39, 0.14); }

/* Hero */
.hero { padding-block: clamp(20px, 4vw, 48px) clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 4px 0 0; list-style: none; color: var(--cream-dim); font-size: 0.93rem; }
.facts li::before { content: "◆"; color: var(--gold-lo); margin-right: 8px; font-size: 0.7em; vertical-align: 0.12em; }
.stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.stage::before { content: ""; position: absolute; inset: 8% -10% 4%; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, rgba(201, 162, 39, 0.22), rgba(201, 162, 39, 0) 65%); }
.stage-note { position: relative; z-index: 1; font-size: 0.88rem; color: var(--cream-dim); text-align: center; max-width: 34ch; }

/* Phone (reproduces the player's screen) */
.phone { position: relative; z-index: 1; width: min(100%, 340px); padding: 10px; border-radius: 44px; background: #050f0a; border: 1px solid var(--gold-lo); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.6); }
.screen { position: relative; height: 600px; border-radius: 34px; overflow: hidden; background: linear-gradient(#0f2e1f, #081c12); }
.scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 0 10px 14px; scrollbar-width: thin; scrollbar-color: var(--gold-lo) transparent; }
.p-head { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 8px; margin-inline: -10px; padding: 14px 14px 10px; background: linear-gradient(#0f2e1f 70%, rgba(15, 46, 31, 0.9)); }
.av { display: grid; place-items: center; border-radius: 50%; flex: none; width: 36px; aspect-ratio: 1; }
.av span { width: 74%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; border: 1.5px dashed rgba(255, 255, 255, 0.7); font: 800 0.72rem var(--font-body); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.p-name { font-weight: 800; color: var(--gold); font-size: 1.15rem; }
.p-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); margin-left: -2px; }
.p-pills { margin-left: auto; display: flex; gap: 6px; }
.pill { font-size: 0.68rem; font-weight: 700; color: var(--gold-hi); border: 1px solid var(--gold-lo); border-radius: 999px; padding: 3px 9px; background: rgba(18, 48, 31, 0.8); white-space: nowrap; }
.bc { background: rgba(18, 48, 31, 0.92); border: 1px solid rgba(139, 111, 31, 0.5); border-radius: 12px; padding: 10px; margin-top: 10px; }
.bc h4 { margin: 0 0 8px; font: 800 0.72rem var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.opts-g { display: grid; gap: 8px; }
.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c1 { grid-template-columns: minmax(0, 1fr); }
.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { position: relative; min-width: 0; }
.pick { width: 100%; min-height: 44px; padding: 10px 8px; border-radius: 12px; cursor: pointer; text-align: center; border: 1px solid rgba(184, 173, 148, 0.22); background: rgba(18, 48, 31, 0.5); color: var(--cream-dim); font: 700 0.84rem/1.2 var(--font-body); transition: background 0.12s, color 0.12s; }
.pick:hover { border-color: rgba(201, 162, 39, 0.6); }
.has-i .pick { padding-right: 34px; }
.opt.on .pick { background: var(--gold); border-color: var(--gold-hi); color: var(--felt); }
.i { position: absolute; top: 0; right: 0; width: 38px; height: 38px; display: grid; place-items: center; background: none; border: 0; color: var(--gold); cursor: pointer; border-radius: 50%; }
.opt.on .i { color: var(--felt); }
.i svg { width: 17px; height: 17px; }
.i:hover svg { transform: scale(1.15); }
.stars { display: flex; gap: 8px; justify-content: center; color: rgba(184, 173, 148, 0.35); font-size: 1.6rem; line-height: 1; padding-block: 2px; }
.stars .f { color: var(--gold); }
.send { margin-top: 12px; width: 100%; padding: 14px; border: 0; border-radius: 14px; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--felt); font: 800 0.95rem var(--font-body); letter-spacing: 0.04em; pointer-events: none; }
.watch { text-align: center; padding: 26px 10px 6px; }
.watch .big { font: 800 1.9rem/1.1 var(--font-display); color: var(--gold-hi); }
.watch p { margin-top: 8px; color: var(--cream-dim); font-size: 0.9rem; }
.note-ok { margin-top: 10px; font-size: 0.82rem; color: var(--cream-dim); text-align: center; }
.rows { display: grid; gap: 6px; }
.rw { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(10, 35, 24, 0.9); font-size: 0.84rem; }
.rw small { font: 800 0.66rem var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.rw b { font-weight: 700; color: var(--cream); display: flex; align-items: center; gap: 8px; }
.rw .ok { color: var(--good); }
.rw .ko { color: var(--bad); }
.pos { text-align: center; padding: 6px 0 2px; }
.pos b { display: block; font: 800 1.35rem var(--font-display); color: var(--gold-hi); }
.pos span { font-size: 0.82rem; color: var(--cream-dim); }

.sheet { position: absolute; inset: 0; z-index: 10; display: flex; align-items: flex-end; background: rgba(0, 0, 0, 0.62); }
.card { width: 100%; max-height: 80%; overflow-y: auto; padding: 16px 16px 22px; text-align: left; background: var(--felt-2); border-top: 1px solid rgba(139, 111, 31, 0.7); border-radius: 18px 18px 0 0; box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.5); animation: rise 0.22s ease-out; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card h5 { margin: 0; font: 800 1.1rem/1.2 var(--font-body); color: var(--gold); }
.x { margin: -6px -6px 0 0; width: 38px; height: 38px; flex: none; background: none; border: 0; color: var(--cream-dim); font-size: 1.05rem; cursor: pointer; }
.x:hover { color: var(--cream); }
.alias { font-size: 0.74rem; color: var(--cream-dim); margin-top: 6px; }
.desc { font-size: 0.86rem; line-height: 1.55; margin-top: 10px; }
.card h6 { margin: 14px 0 4px; font: 800 0.74rem var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.tast { font-size: 0.86rem; line-height: 1.55; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Three live screens */
.moments { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.moment { display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 999px; cursor: pointer; background: rgba(18, 48, 31, 0.6); border: 1.5px solid var(--line); color: var(--cream-dim); font-weight: 700; font-size: 1rem; transition: border-color 0.15s, background 0.15s, color 0.15s; }
.moment .n { width: 34px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: repeating-conic-gradient(var(--cream) 0 12deg, var(--gold-lo) 12deg 45deg); }
.moment .n i { width: 74%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font: 800 0.95rem var(--font-display); font-style: normal; background: var(--gold-lo); color: var(--cream); }
.moment:hover { border-color: var(--gold); color: var(--cream); }
.moment[aria-selected="true"] { background: rgba(201, 162, 39, 0.16); border-color: var(--gold); color: var(--gold-hi); }
.moment[aria-selected="true"] .n i { background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold)); color: var(--wine); }
.moment-text { margin-top: 18px; min-height: 3.4em; max-width: 78ch; color: var(--cream); font-size: 1.08rem; }
.trio { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 28px 32px; margin-top: 28px; align-items: start; }
.dev { min-width: 0; }
.dev.tv { grid-column: 1 / -1; }
.tag-dev { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.tag-dev b { font: 800 0.76rem var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.tag-dev span { color: var(--cream-dim); font-size: 0.95rem; }
.fit { position: relative; width: 100%; overflow: hidden; }
.fit-in { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.frame { border-radius: 14px; overflow: hidden; border: 2px solid #050f0a; outline: 1px solid var(--gold-lo); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.phone-slot { display: flex; justify-content: center; padding-top: 6px; }
.phone-slot .phone { width: 340px; max-width: 100%; }

/* TV replica (1280 x 720) */
.tvx { width: 1280px; height: 720px; padding: 12px; display: flex; flex-direction: column; color: #fff; font-family: var(--font-body); background: radial-gradient(ellipse at 50% 50%, #065f46 0%, #022c22 50%, #011a14 100%); }
.tv-bar { display: flex; align-items: center; gap: 12px; padding: 0 8px; margin-bottom: 8px; height: 56px; flex: none; }
.tv-brand { display: flex; align-items: center; gap: 10px; flex: 1; }
.tv-brand img { width: 40px; height: 40px; }
.tv-brand h4 { margin: 0; font: 700 30px var(--font-display); letter-spacing: 0.05em; color: var(--gold); }
.tv-pill { display: flex; align-items: center; height: 44px; padding: 0 14px; background: rgba(6, 78, 59, 0.6); border: 2px solid rgba(245, 158, 11, 0.3); border-radius: 12px; }
.tv-pill small { font-size: 12px; color: #6ee7b7; text-transform: uppercase; letter-spacing: 0.1em; margin-right: 8px; }
.tv-pill b { color: #fbbf24; font: 900 21px ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.tv-btn { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: rgba(6, 78, 59, 0.6); border: 2px solid rgba(245, 158, 11, 0.3); color: #fbbf24; }
.tv-btn svg { width: 30px; height: 30px; }
.tv-door { width: 40px; height: 40px; border-radius: 10px; background: var(--wine); display: grid; place-items: center; color: #fff; }
.tv-door svg { width: 20px; height: 20px; }
.tv-main { display: flex; gap: 12px; flex: 1; min-height: 0; }
.tv-board { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tv-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; flex: 3; min-height: 0; }
.tv-bot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; flex: 2; min-height: 0; }
.tv-panel { background: rgba(6, 78, 59, 0.5); border: 2px solid rgba(245, 158, 11, 0.4); border-radius: 24px; padding: 12px; display: flex; flex-direction: column; min-height: 0; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); }
.tv-panel h5 { margin: 0 0 8px; display: flex; justify-content: center; align-items: center; gap: 8px; color: #fbbf24; font: 900 18px var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; flex: none; }
.tv-tiles { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; }
.tv-t { position: relative; flex: 1; min-height: 0; border-radius: 16px; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; font-size: 25px; padding: 0 10px; transition: background 0.4s, color 0.4s; }
.tv-bot .tv-t { font-size: 20px; }
.tv-t.idle { background: rgba(6, 95, 70, 0.4); border: 2px solid rgba(245, 158, 11, 0.3); }
.tv-t.ok { background: #10b981; color: #fff; box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5); transform: scale(1.02); font-weight: 800; }
.tv-t.no { background: rgba(127, 29, 29, 0.4); color: rgba(248, 113, 113, 0.4); text-decoration: line-through; }
.chs { position: absolute; top: -5px; right: -5px; display: flex; flex-direction: row; justify-content: flex-end; z-index: 2; }
.fc { width: 40px; height: 40px; border-radius: 50%; position: relative; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.5); margin-left: -14px; flex: none; }
.fc:first-child { margin-left: 0; }
.fc b { position: absolute; inset: 14%; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px dashed rgba(255, 255, 255, 0.6); font: 900 13px var(--font-body); color: #fff; line-height: 1; padding: 0 0 2px 1px; text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.9), 1px -1px 1px rgba(0, 0, 0, 0.9), -1px 1px 1px rgba(0, 0, 0, 0.9), 1px 1px 1px rgba(0, 0, 0, 0.9); font-style: normal; }
.tv-bot .fc { width: 30px; height: 30px; margin-left: -11px; }
.tv-bot .fc:first-child { margin-left: 0; }
.tv-bot .fc b { font-size: 10px; border-width: 1.5px; }
.tv-bot .chs { top: -7px; right: -4px; }
.tv-rank { background: rgba(6, 78, 59, 0.6); border: 2px solid rgba(245, 158, 11, 0.4); border-radius: 24px; padding: 12px; display: flex; flex-direction: column; flex: none; }
.tv-rank h5 { margin: 0 0 10px; display: flex; justify-content: center; color: #fbbf24; }
.tv-rank h5 svg { width: 22px; height: 22px; }
.rk-cols { display: flex; gap: 14px; align-items: flex-start; }
.rk-col { display: flex; flex-direction: column; gap: 10px; }
.rk { display: flex; align-items: center; gap: 8px; }
.rk .fc { width: 46px; height: 46px; margin: 0; }
.rk .fc b { font-size: 14px; }
.rk .n { color: #fbbf24; font: 900 24px var(--font-body); min-width: 30px; font-variant-numeric: tabular-nums; }
.rk .v { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%; background: #fbbf24; color: #022c22; font: 900 11px var(--font-body); display: grid; place-items: center; border: 1px solid #022c22; z-index: 2; }

/* Master replica (760 x 640) */
.msx { width: 760px; height: 640px; padding: 16px; color: var(--cream); font-family: var(--font-body); background: linear-gradient(#0f2e1f, #081c12); display: flex; flex-direction: column; gap: 12px; }
.ms-bar { display: flex; align-items: center; gap: 8px; flex: none; }
.ms-bar h4 { margin: 0 auto 0 0; font: 900 26px var(--font-body); letter-spacing: 0.01em; text-transform: uppercase; color: var(--gold); }
.ms-pill { font-size: 13px; padding: 6px 12px; border: 1px solid var(--gold-lo); border-radius: 12px; background: rgba(18, 48, 31, 0.9); color: var(--cream-dim); white-space: nowrap; }
.ms-pill b { color: var(--gold-hi); font-weight: 800; margin-left: 4px; }
.ms-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; flex: 1; min-height: 0; }
.ms-card { background: rgba(18, 48, 31, 0.96); border: 1px solid rgba(139, 111, 31, 0.5); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.ms-card h6 { margin: 0; display: flex; align-items: center; gap: 8px; font: 900 18px var(--font-body); color: var(--gold); text-transform: uppercase; }
.ms-sub { font-size: 13px; color: var(--cream-dim); margin-top: -4px; }
.ms-wine { display: flex; gap: 8px; }
.ms-wine span { font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 999px; border: 1px solid rgba(184, 173, 148, 0.25); color: var(--cream-dim); }
.ms-wine span.on { background: var(--wine); border-color: var(--wine); color: #fff; }
.ms-sol { border: 1px solid rgba(139, 111, 31, 0.5); border-radius: 14px; padding: 10px; background: rgba(10, 35, 24, 0.7); display: grid; gap: 8px; }
.ms-sol .t { font: 800 13px var(--font-body); color: var(--gold); }
.ms-sel-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ms-sel { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 7px 10px; border-radius: 999px; border: 1px solid rgba(184, 173, 148, 0.25); background: rgba(18, 48, 31, 0.9); font-size: 13px; font-weight: 600; }
.ms-sel i { color: var(--cream-dim); font-style: normal; font-size: 10px; }
.ms-big { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 14px; border: 1px solid rgba(139, 111, 31, 0.5); background: rgba(18, 48, 31, 0.9); color: var(--cream-dim); font: 900 18px var(--font-body); text-transform: uppercase; }
.ms-big.gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border-color: var(--gold-hi); color: var(--felt); }
.ms-big.locked { color: rgba(184, 173, 148, 0.55); font-size: 14px; text-transform: none; font-weight: 700; padding: 12px; }
.ms-big.soft { font-size: 15px; text-transform: none; font-weight: 700; padding: 11px; }
.ms-outline { text-align: center; padding: 8px; border: 1px solid var(--gold); border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--cream); }
.ms-status { text-align: center; padding: 8px; border-radius: 12px; background: rgba(10, 35, 24, 0.9); border: 1px solid rgba(139, 111, 31, 0.35); font-size: 13px; color: var(--gold-hi); }
.ms-status.all { color: var(--good); }
.ms-rows { display: grid; gap: 6px; }
.ms-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 12px; border-radius: 12px; background: rgba(10, 35, 24, 0.9); border: 1px solid rgba(139, 111, 31, 0.3); }
.ms-row small { display: block; font: 800 11px var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); }
.ms-row b { font-size: 15px; font-weight: 700; color: var(--cream); }
.ms-act { display: flex; gap: 6px; }
.ms-ic { width: 38px; height: 30px; border-radius: 999px; border: 1px solid var(--gold-lo); display: grid; place-items: center; color: var(--gold-hi); }
.ms-ic svg { width: 16px; height: 16px; }
.ms-ic.undo { border-color: var(--wine); color: #e5657f; }

/* Info cards section */
.fitxes-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.points li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.points li::before { content: "ⓘ"; color: var(--gold); font-size: 1.25rem; line-height: 1.3; }
.points strong { color: var(--cream); font-weight: 700; }
.points span { color: var(--cream-dim); }
.fan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.fan .fc2 { background: var(--felt-2); border: 1px solid rgba(139, 111, 31, 0.6); border-radius: 16px; padding: 16px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4); }
.fan .fc2:nth-child(2) { margin-top: 36px; }
.fan .fc2:nth-child(3) { margin-top: 72px; }
.fan .kind { font: 800 0.68rem var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 8px; }
.fan h5 { margin: 0; font: 800 1.1rem/1.2 var(--font-body); color: var(--gold); }
.fan .desc, .fan .tast { font-size: 0.82rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.step { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.chip { width: 68px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: repeating-conic-gradient(var(--cream) 0 12deg, var(--gold) 12deg 45deg); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45); }
.chip span { width: 74%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 60%, var(--gold-lo)); border: 2px solid var(--gold-lo); font: 800 1.45rem var(--font-display); color: var(--wine); }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--cream-dim); font-size: 1rem; }

/* Details: QR + profile */
.pair { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 40px; }
.shot { margin: 0; }
.shot img { width: 100%; border: 1px solid var(--gold-lo); border-radius: 16px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); background: var(--felt-2); }
.shot figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--cream-dim); }

/* Capabilities */
.caps-head { max-width: 640px; }
.cap-group { margin-top: 52px; }
.cap-group > h3 { font-size: 1.5rem; color: var(--gold-hi); display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.cap-group > h3 small { font: 500 0.95rem var(--font-body); color: var(--cream-dim); }
.tiles { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.tile { padding: 18px 18px 20px; border: 1px solid var(--line); border-top: 2px solid var(--gold-lo); border-radius: 4px 4px 14px 14px; background: linear-gradient(180deg, rgba(18, 48, 31, 0.85), rgba(18, 48, 31, 0.4)); transition: transform 0.15s, border-color 0.15s; }
.tile:hover { transform: translateY(-3px); border-top-color: var(--gold); }
.tile strong { display: block; color: var(--cream); font-weight: 700; line-height: 1.3; }
.tile span { display: block; margin-top: 6px; font-size: 0.93rem; line-height: 1.5; color: var(--cream-dim); }

/* Use cases and contact */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; list-style: none; padding: 0; }
.uses li { padding-top: 18px; border-top: 1px solid var(--line); }
.uses strong { display: block; font: 700 1.25rem var(--font-display); color: var(--cream); margin-bottom: 6px; }
.uses span { color: var(--cream-dim); }
.contact { text-align: center; }
.contact .wrap { display: flex; flex-direction: column; align-items: center; }
.contact .sub { margin-inline: auto; }
.contact-box { margin-top: 32px; width: 100%; max-width: 560px; padding: 28px; border: 1.5px solid var(--gold-lo); border-radius: 18px; background: rgba(18, 48, 31, 0.6); }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; background: var(--wine); color: var(--cream); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.contact-box p { color: var(--cream-dim); }
.contact-box .mail { display: inline-block; font: 700 clamp(1.15rem, 3.6vw, 1.6rem) var(--font-display); color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-lo); padding-bottom: 2px; word-break: break-all; }
.contact-box .mail:hover, .contact-box .mail:focus-visible { color: var(--cream); border-color: var(--cream); }
.contact-box strong { color: var(--cream); }
footer { border-top: 1px solid var(--line); padding-block: 28px; color: var(--cream-dim); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }


/* Language switcher */
.top { flex-wrap: wrap; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: rgba(18, 48, 31, 0.6); }
.lang button { min-width: 44px; min-height: 40px; padding: 0 12px; border: 0; background: none; color: var(--cream-dim); font: 700 0.82rem var(--font-body); letter-spacing: 0.08em; cursor: pointer; }
.lang button:hover { color: var(--gold-hi); }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--felt); }
@media (max-width: 760px) { .top nav { order: 3; width: 100%; justify-content: space-between; } }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .fitxes-grid, .pair, .trio { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uses { grid-template-columns: minmax(0, 1fr); }
  .fan .fc2:nth-child(n) { margin-top: 0; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .fan { grid-template-columns: minmax(0, 1fr); }
  .top nav { gap: 14px; font-size: 0.9rem; }
  .brand span { font-size: 1.05rem; }
  .btn { flex: 1 1 100%; text-align: center; }
  .screen { height: 560px; }
  .moment { font-size: 0.95rem; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile, .tv-t, .card { transition: none; animation: none; }
}

/* ===== v6: hero, chips, story ===== */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; max-width: 1320px; }
.hero-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-art img { position: absolute; height: auto; opacity: 0.55; }
.hero-art .a-bottle { right: 0; top: 0; width: 260px; -webkit-mask-image: linear-gradient(to left, #000 30%, transparent); mask-image: linear-gradient(to left, #000 30%, transparent); }
.hero-art .a-chips { left: 0; bottom: 0; width: 300px; -webkit-mask-image: linear-gradient(to right, #000 25%, transparent); mask-image: linear-gradient(to right, #000 25%, transparent); }
.hero-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.hero-vis { position: relative; padding-bottom: 84px; }
.hero-vis::before { content: ""; position: absolute; inset: 0 -8% 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, rgba(201, 162, 39, 0.22), rgba(201, 162, 39, 0) 65%); }
.hero-tv { position: relative; z-index: 1; transform: perspective(1800px) rotateY(-5deg) rotateX(1.5deg); transform-origin: 65% 50%; }
.hero-phone { position: absolute; z-index: 2; right: -8px; bottom: 0; width: 340px; transform: scale(0.6); transform-origin: right bottom; }
.hero-phone .phone { width: 340px; }

/* TV: chips beside the label, never on top of it */
.tv-t { justify-content: flex-start; text-align: left; padding: 0 14px; }
.tv-t > span { max-width: calc(100% - var(--cw, 0px)); line-height: 1.15; }
.chs { top: 50%; right: 10px; transform: translateY(-50%); }
.tv-bot .tv-t { font-size: 18px; }
.tv-bot .chs { top: 50%; right: 8px; }
.tv-bot .fc { width: 28px; height: 28px; margin-left: -12px; }
.tv-bot .fc:first-child { margin-left: 0; }
.tv-bot .fc b { font-size: 9px; border-width: 1.5px; }
.fc.more b { font-size: 12px; }
.tv-bot .fc.more b { font-size: 10px; }
.fc.new { animation: chip-in 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) both; animation-delay: var(--d, 0ms); }
@keyframes chip-in { from { opacity: 0; transform: translateY(-46px) scale(0.5) rotate(-50deg); } to { opacity: 1; transform: none; } }
.tv-t.no .chs { display: none; }
.tv-rank { width: 252px; }
.rk-grid { position: relative; width: 228px; height: 372px; }
.rk { position: absolute; left: 0; top: 0; transition: transform 0.9s cubic-bezier(0.3, 0.9, 0.3, 1); }
.rk .fc { margin: 0; }
.rk .v { display: none; }
.rk.voted .v { display: grid; }

/* Master: more compact */
.msx { width: 620px; height: 668px; padding: 14px; gap: 10px; }
.ms-cols { grid-template-columns: 0.92fr 1.08fr; gap: 12px; align-items: start; }
.ms-card { padding: 12px; gap: 8px; }
.ms-rows { gap: 5px; }
.ms-row { padding: 4px 10px; }
.ms-row small { font-size: 10px; }
.ms-row b { font-size: 14px; }
.ms-big { padding: 10px; font-size: 16px; }
.ms-big.locked { font-size: 13px; padding: 10px; }

/* Story: the three screens advance as you scroll */
.story { padding-bottom: 0; }
.story-track { position: relative; margin-top: 32px; }
.story-scale { position: relative; width: 1160px; height: 940px; transform-origin: 0 0; }
.s-tv { position: absolute; left: 0; top: 0; width: 760px; }
.s-ms { position: absolute; left: 0; top: 482px; width: 400px; }
.s-info { position: absolute; left: 424px; top: 482px; width: 336px; }
.s-ph { position: absolute; left: 800px; top: 110px; width: 340px; }
.s-info .moments { margin-top: 0; flex-direction: column; align-items: flex-start; gap: 10px; }
.s-info .moment-text { margin-top: 22px; font-size: 1.06rem; line-height: 1.55; max-width: none; min-height: 9em; }
.fit.scroll-x { overflow-x: auto; overflow-y: hidden; }
.frame { border-radius: 14px; }
@media (min-width: 1000px) {
  .story-track { height: 340vh; }
  .story-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
  .story-pin > .wrap { display: flex; justify-content: center; }
  .story-box { position: relative; flex: none; }
}
@media (max-width: 999px) {
  .story-box { width: auto; }
  .story-scale { width: auto; height: auto; transform: none !important; display: flex; flex-direction: column; gap: 32px; }
  .s-tv, .s-ms, .s-info, .s-ph { position: static; width: auto; }
  .s-info { order: -1; }
  .s-info .moments { flex-direction: row; flex-wrap: wrap; }
  .s-info .moment-text { min-height: 7em; }
  .story { padding-bottom: clamp(56px, 9vw, 112px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-phone { transform: scale(0.5); right: 0; }
  .hero-vis { padding-bottom: 60px; }
  .hero-art .a-bottle { opacity: 0.3; }
}

/* Contact with the poster */
.contact .contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 72px); align-items: center; text-align: left; flex-direction: unset; }
.poster { margin: 0; }
.poster img { width: 100%; max-width: 520px; border-radius: 20px; border: 1px solid var(--gold-lo); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55); }
.contact-copy { display: flex; flex-direction: column; align-items: flex-start; }
.contact .contact-copy .sub { margin-inline: 0; }
.contact-copy .contact-box { max-width: none; text-align: left; }
@media (max-width: 860px) { .contact .contact-grid { grid-template-columns: minmax(0, 1fr); } .poster img { max-width: 420px; } }
@media (prefers-reduced-motion: reduce) { .fc.new { animation: none; } .rk { transition: none; } }

/* ---- v6 fixes ---- */
body { margin: 0; }
.hero-art .a-chips { width: 240px; opacity: 0.4; }
.hero-vis { padding-bottom: 150px; }
.hero-phone { transform: scale(0.52); }
.tv-bot .tv-t { font-size: 16px; padding-left: 10px; }
.tv-bot .fc { width: 26px; height: 26px; margin-left: -12px; }
.tv-bot .fc b { font-size: 8.5px; }
.tv-bot .fc.more b { font-size: 9.5px; }
.ms-sub { display: none; }

.ms-row { padding: 2px 10px; }
.ms-row small { line-height: 1.2; }
.ms-row b { line-height: 1.25; }
.ms-rows { gap: 4px; }

[hidden] { display: none !important; }
/* Promo video */
.video-box { margin-top: 36px; max-width: 960px; margin-inline: auto; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #050f0a; border: 2px solid #050f0a; outline: 1px solid var(--gold-lo); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.video-box.vertical { aspect-ratio: 9 / 16; max-width: min(360px, 88vw); }
.video-box video, .video-box iframe { display: block; width: 100%; height: 100%; border: 0; background: #000; }
#video .wrap { text-align: left; }
.video-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.video-copy .sub { margin-top: 0; }
.video-copy .facts { flex-direction: column; gap: 8px; margin: 0; }
@media (min-width: 861px) {
  #video.vert .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 72px; align-items: center; }
  #video.vert .video-box { margin: 0; }
}
.phero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: clamp(32px, 6vw, 80px); align-items: center; }
.phero-video { margin: 0; max-width: 340px; width: 100%; justify-self: end; }
@media (max-width: 860px) { .phero-grid { grid-template-columns: minmax(0, 1fr); row-gap: 36px; } .phero-video { justify-self: center; } }


/* ===== Cross-navigation strip + entrance and players pages ===== */
.xbar { border-bottom: 1px solid var(--line); background: rgba(5, 15, 10, 0.55); font-size: 0.85rem; font-weight: 600; }
.xbar .wrap { display: flex; align-items: center; gap: 22px; padding-block: 8px; }
.xbar a { text-decoration: none; color: var(--cream-dim); }
.xbar a:hover { color: var(--gold-hi); }
.xbar .xapp { margin-left: auto; color: var(--gold-hi); border: 1px solid var(--gold-lo); border-radius: 999px; padding: 3px 14px; }
.xbar .xapp:hover { background: rgba(201, 162, 39, 0.14); }
footer .wrap a { color: var(--gold-hi); text-decoration: none; }
footer .wrap a:hover { text-decoration: underline; }

/* Entrance */
.entry { padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.entry-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.entry-copy { display: flex; flex-direction: column; gap: 22px; }
.entry h1, .phero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.entry h1 em, .phero h1 em { font-style: normal; color: var(--gold-hi); }
.doors { display: grid; gap: 14px; margin-top: 8px; }
.door { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 1.5px solid var(--line); border-radius: 18px; background: rgba(18, 48, 31, 0.6); text-decoration: none; transition: border-color 0.15s, transform 0.15s, background 0.15s; }
.door:hover, .door:focus-visible { border-color: var(--gold); transform: translateY(-2px); background: rgba(18, 48, 31, 0.92); }
.door-ic { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 60%, var(--gold-lo)); border: 2px solid var(--gold-lo); color: var(--wine); }
.door-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.door-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.door-t strong { font: 700 1.2rem/1.2 var(--font-display); color: var(--cream); }
.door-t span { color: var(--cream-dim); font-size: 0.95rem; line-height: 1.4; }
.door-go { margin-left: auto; flex: none; color: var(--gold-hi); font-size: 1.6rem; line-height: 1; }
.door-app { border-color: var(--gold); background: linear-gradient(180deg, rgba(232, 199, 102, 0.16), rgba(201, 162, 39, 0.07)); }
.entry .poster img { max-width: 480px; margin-inline: auto; }
@media (max-width: 860px) { .entry-grid { grid-template-columns: minmax(0, 1fr); } .entry .poster { display: none; } }

/* Players page */
.phero .wrap { max-width: 1160px; }
.phero .hero-copy { max-width: 660px; }
.join-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.jcard { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1.5px solid var(--line); border-radius: 20px; background: rgba(18, 48, 31, 0.6); }
.jcard h3 { font-size: 1.55rem; color: var(--gold-hi); }
.jcard p { color: var(--cream-dim); }
.note { margin-top: 24px; max-width: 72ch; padding: 16px 20px; border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; background: rgba(18, 48, 31, 0.5); color: var(--cream-dim); }
.note strong { color: var(--cream); }
.gsplit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.gsplit .shot { margin: 0; }
.gsplit .shot img { width: 100%; border-radius: 16px; border: 1px solid var(--gold-lo); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.faq { margin-top: 32px; display: grid; gap: 12px; max-width: 820px; }
.faq details { border: 1.5px solid var(--line); border-radius: 14px; background: rgba(18, 48, 31, 0.6); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--cream); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-hi); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 18px; color: var(--cream-dim); }
.cta-end .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.cta-end .actions { justify-content: center; }
@media (max-width: 860px) {
  .join-grid, .gsplit { grid-template-columns: minmax(0, 1fr); }
  .xbar .wrap { gap: 14px; }
  .phero .hero-art img { opacity: 0.28; }
}
