/* GrokPaid · the three style frames mixed: A (black broadcast hero + lower thirds), C (white studio), B (chat launch + threads).
   Type: Heebo (display, plates, UI) + Mulish (reading text, chat). Vanilla world (11-15, user: "vaníliásabb háttérre"): vanilla page, warm ink plates, cream panels; colour only from real images. */
@font-face { font-family: Heebo; src: url(/assets/fonts/heebo-latin.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: block; }
@font-face { font-family: Mulish; src: url(/assets/fonts/mulish-latin.woff2) format('woff2'); font-weight: 200 1000; font-style: normal; font-display: block; }
@font-face { font-family: Mulish; src: url(/assets/fonts/mulish-italic-latin.woff2) format('woff2'); font-weight: 200 1000; font-style: italic; font-display: swap; }
:root { --van: #f4ecd9; --van2: #ede3cb; --cream: #fbf7ee; --ink: #16130e; --paper: #fbf7ee; --warm: #ede3cb; --mute: #8a8270; --line: #e3d8bf; --soft: #625b4d; --pad: 64px; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--van); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--van); color: var(--ink); font-family: Mulish, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2 { font-family: Heebo, system-ui, sans-serif; }
h2 { margin: 0; font-weight: 800; font-size: clamp(40px, 4.6vw, 68px); line-height: 1; letter-spacing: -.03em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@keyframes pulse { 50% { opacity: .2; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================================ HERO */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 680px; background: var(--van); color: var(--ink); overflow: hidden; isolation: isolate; }
.hero-poster { position: absolute; left: 0; right: 0; top: 0; height: var(--hero-vh, 100%); pointer-events: none; z-index: 0; transition: opacity .35s ease; }
.poster-mark { position: absolute; left: var(--mk-x, 50%); top: var(--mk-y, 45vh); width: var(--mk-d, 59vh); height: var(--mk-d, 59vh); transform: translate(-50%, -50%); opacity: .92; }
#heroGL { position: absolute; left: 0; top: 0; width: 100%; height: var(--hero-vh, 100%); display: block; opacity: 0; transition: opacity .35s ease; z-index: 1; }
.hero.gl #heroGL { opacity: 1; }
.hero.gl-done .hero-poster { opacity: 0; }

.bug { position: absolute; top: 28px; left: 32px; z-index: 3; display: flex; height: 44px; font: 700 15px/1 Heebo, sans-serif; animation: rise .6s .05s both; }
.bug > * { display: flex; align-items: center; }
.bug-brand { background: var(--ink); color: var(--cream); gap: 10px; padding: 0 16px 0 11px; font-weight: 800; font-size: 17px; letter-spacing: -.01em; text-decoration: none; }
.bug-brand img { width: 26px; height: 26px; }
.bug-live { background: transparent; border: 1.5px solid var(--ink); border-left: 0; gap: 9px; padding: 0 14px; letter-spacing: .08em; font-size: 13.5px; }
.bug-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.bug-live.on i { animation: pulse 1.6s infinite; }
.bug-round { background: var(--van2); color: #4f4839; font-weight: 500; padding: 0 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }

.topr { position: absolute; top: 28px; right: 32px; z-index: 3; display: flex; gap: 10px; animation: rise .6s .1s both; }
.plate { height: 44px; padding: 0 18px; display: inline-flex; align-items: center; gap: 9px; font: 700 15px/1 Heebo, sans-serif; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.plate-w { background: var(--ink); color: var(--cream); }
.plate-o { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(22,19,14,.42); }
.plate-o.on { box-shadow: inset 0 0 0 1.5px var(--ink); }
.plate-o img { width: 20px; height: 20px; border-radius: 5px; }

.readout { position: absolute; top: 100px; right: 32px; z-index: 2; text-align: right; animation: rise .6s .15s both; }
.ro-k { font: 600 12.5px/1.2 Heebo, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.ro-v { font: 800 30px/1.1 Heebo, sans-serif; letter-spacing: -.01em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ro-clock { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(22,19,14,.16); display: flex; gap: 14px; align-items: baseline; justify-content: flex-end; }
.ro-clock b { font: 900 44px/1 Heebo, sans-serif; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ro-clock b.word { font-size: 30px; font-weight: 800; }

.title { position: absolute; left: 32px; bottom: 40px; width: min(660px, 50vw); z-index: 2; animation: rise .7s .2s both; }
.title .rule { width: 72px; height: 3px; background: var(--ink); margin-bottom: 22px; }
h1 { margin: 0; font-weight: 800; font-size: clamp(46px, 5.1vw, 80px); line-height: .98; letter-spacing: -.025em; }
.title p { margin: 18px 0 0; font: 400 19px/1.5 Mulish, sans-serif; color: #5f584a; max-width: 530px; }
.cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { height: 54px; padding: 0 26px; display: inline-flex; align-items: center; font: 700 17px/1 Heebo, sans-serif; text-decoration: none; white-space: nowrap; }
.btn-w { background: var(--ink); color: var(--cream); }
.btn-o { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(22,19,14,.4); }
.btn-w:hover { background: #2c271e; } .btn-o:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

.ca-chip { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; max-width: 100%; height: 38px; padding: 0 6px 0 12px; border: 0; background: rgba(22,19,14,.07); color: var(--ink); cursor: pointer; font: 600 13.5px/1 Heebo, sans-serif; }
.ca-chip .ca-k { color: var(--mute); letter-spacing: .1em; }
.ca-chip .ca-v { font-family: ui-monospace, Consolas, monospace; font-size: 13px; letter-spacing: .01em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-chip .ca-c { background: var(--ink); color: var(--cream); padding: 7px 10px; font-weight: 700; }

.third { position: absolute; right: 32px; bottom: 40px; width: 430px; background: var(--cream); color: var(--ink); box-shadow: 0 24px 60px rgba(70,52,20,.10); z-index: 2; animation: rise .7s .3s both; }
.third-hd { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: var(--cream); border: 1.5px solid var(--ink); padding: 10px 16px; font: 700 12.5px/1.2 Heebo, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.third-bd { padding: 16px 18px; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; min-height: 96px; align-items: start; }
.lp-empty { grid-column: 1 / -1; font: 500 16px/1.5 Mulish, sans-serif; color: #3b352a; }
.lp-av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #e9dfc8; }
.lp-who { font: 800 18px/1.2 Heebo, sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-who span { font-weight: 500; color: #7a7262; font-size: 14.5px; margin-left: 6px; }
.lp-q { display: block; margin-top: 5px; font: 500 16.5px/1.42 Mulish, sans-serif; }
.lp-q::before { content: '\201C'; } .lp-q::after { content: '\201D'; }
.third-ft { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #e6dcc4; padding: 11px 18px; font: 700 13.5px/1.2 Heebo, sans-serif; }
.third-ft #lpRule { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.paid { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.paid i { position: relative; width: 17px; height: 17px; border: 2.4px solid currentColor; border-radius: 50%; flex: none; }
.paid i::after { content: ''; position: absolute; left: 3.6px; top: .6px; width: 4px; height: 8px; border: solid currentColor; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }

/* ================================================================ STUDIO (vanilla) */
.studio { position: relative; height: 100vh; min-height: 760px; max-height: 1080px; background: var(--van); overflow: hidden; }
.st-stage { position: absolute; inset: 0; }
#studioGL { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; }
.studio.gl #studioGL { opacity: 1; }
.st-copy { position: absolute; top: 92px; left: var(--pad); max-width: 540px; z-index: 2; }
.st-copy p { margin: 18px 0 0; font: 400 19px/1.55 Mulish, sans-serif; color: var(--soft); max-width: 470px; }
.st-facts { position: absolute; top: 100px; right: var(--pad); width: 300px; margin: 0; display: grid; gap: 18px; z-index: 2; }
.st-facts > div { padding-top: 13px; border-top: 1.5px solid var(--ink); }
.st-facts dt { font: 800 17px/1.2 Heebo, sans-serif; }
.st-facts dd { margin: 4px 0 0; font: 400 15.5px/1.45 Mulish, sans-serif; color: var(--soft); }

/* ================================================================ LAUNCH (chat composer) */
.launch { background: var(--warm); padding: 120px var(--pad); }
.ln-head p, .rd-head p, .pk-head p { margin: 16px 0 0; font: 400 19px/1.55 Mulish, sans-serif; color: var(--soft); max-width: 560px; }
.ln-grid { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; max-width: 1240px; align-items: start; }
.msg { display: flex; gap: 12px; align-items: flex-start; }
.msg-av { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.msg-b { background: var(--cream); border-radius: 4px 18px 18px 18px; padding: 11px 16px 12px; font: 500 17px/1.4 Mulish, sans-serif; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.msg-b b { display: block; font: 800 13px/1.2 Heebo, sans-serif; margin-bottom: 3px; }
.composer { margin-top: 16px; background: var(--cream); border-radius: 22px; box-shadow: 0 2px 0 rgba(0,0,0,.03), 0 24px 60px rgba(70,52,20,.10); padding: 18px 18px 14px 22px; transition: box-shadow .2s; }
.composer:focus-within { box-shadow: 0 2px 0 rgba(0,0,0,.03), 0 24px 60px rgba(0,0,0,.12), inset 0 0 0 1.5px var(--ink); }
.composer textarea { display: block; width: 100%; border: 0; outline: 0; resize: none; background: transparent; font: 600 21px/1.45 Mulish, sans-serif; color: var(--ink); min-height: 64px; }
.composer textarea::placeholder { color: #a69e8b; font-weight: 500; }
.cmp-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; background: #efe6d1; border-radius: 12px; padding: 4px; }
.seg button { border: 0; background: transparent; font: 700 14px/1 Heebo, sans-serif; padding: 9px 13px; border-radius: 9px; color: #5a5243; cursor: pointer; transition: background .15s, color .15s; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--cream); }
.cmp-n { font: 600 13px/1 Heebo, sans-serif; color: #9a9a94; font-variant-numeric: tabular-nums; }
.ideas { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 22px; padding-left: 4px; }
.ideas button { border: 0; background: none; padding: 5px 0; font: 700 15px/1.2 Heebo, sans-serif; color: #45453f; cursor: pointer; }
.ideas button::before { content: '\2197'; color: #9b9b96; margin-right: 7px; }
.ideas button:hover { color: var(--ink); }
.rulecard { margin-top: 28px; background: var(--ink); color: var(--cream); }
.rc-top { display: flex; align-items: center; gap: 12px; padding: 16px 18px 0; }
.rc-img { width: 44px; height: 44px; border-radius: 50%; background: #2c271e center/cover no-repeat; flex: none; }
.rc-top b { display: block; font: 800 18px/1.2 Heebo, sans-serif; }
.rc-top div span { font: 500 14px/1.3 Mulish, sans-serif; color: #b3aa96; }
.rc-top > div { min-width: 0; }
.rc-round { margin-left: auto; font: 700 11.5px/1 Heebo, sans-serif; letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; box-shadow: inset 0 0 0 1.5px rgba(251,247,238,.4); white-space: nowrap; }
.rulecard q { display: block; margin: 0; padding: 16px 18px 18px; font: 600 21px/1.4 Mulish, sans-serif; quotes: '\201C' '\201D'; overflow-wrap: anywhere; }
.rc-ft { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1.5px solid var(--ink); background: var(--cream); color: var(--ink); padding: 10px 18px; font: 700 13px/1.2 Heebo, sans-serif; }

.coinform { background: var(--cream); padding: 24px; border-radius: 22px; box-shadow: 0 2px 0 rgba(0,0,0,.03), 0 24px 60px rgba(70,52,20,.10); display: grid; gap: 16px; }
.drop { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--van); cursor: pointer; transition: box-shadow .15s; }
.drop.over { box-shadow: inset 0 0 0 2px var(--ink); }
.drop-thumb { width: 64px; height: 64px; border-radius: 50%; background: #e7dcc3 center/cover no-repeat; }
.drop-t { min-width: 0; }
.drop-t b { display: block; font: 800 16px/1.2 Heebo, sans-serif; }
.drop-t span { display: block; font: 500 13.5px/1.35 Mulish, sans-serif; color: #7a7262; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-b { font: 700 14px/1 Heebo, sans-serif; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 10px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld > span { font: 700 13px/1.2 Heebo, sans-serif; color: #4a4336; }
.fld i { font-style: normal; font-weight: 500; color: #a69e8b; margin-left: 4px; }
.fld input, .fld textarea, .sol { width: 100%; border: 1.5px solid #e3d8bf; border-radius: 12px; background: #fffdf8; transition: border-color .15s; }
.fld input, .fld textarea { padding: 12px 14px; font: 500 16px/1.35 Mulish, sans-serif; color: var(--ink); outline: 0; resize: vertical; }
.fld input:focus, .fld textarea:focus, .sol:focus-within { border-color: var(--ink); }
.fld input::placeholder, .fld textarea::placeholder { color: #b5ad99; }
.sol { display: flex; align-items: center; }
.sol input { border: 0 !important; }
.sol b { padding: 0 14px; font: 700 14px/1 Heebo, sans-serif; color: #7a7262; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.links summary { cursor: pointer; list-style: none; font: 700 14px/1.2 Heebo, sans-serif; color: #4a4336; }
.links summary::-webkit-details-marker { display: none; }
.links summary::before { content: '+'; display: inline-block; width: 18px; font-weight: 800; }
.links[open] summary::before { content: '\2212'; }
.links summary i { font-style: normal; font-weight: 500; color: #a69e8b; margin-left: 4px; }
.go { height: 58px; border: 0; border-radius: 14px; background: var(--ink); color: var(--cream); font: 800 18px/1 Heebo, sans-serif; cursor: pointer; transition: transform .12s, background .15s; }
.go:hover { background: #2c271e; } .go:active { transform: scale(.99); }
.go[disabled] { opacity: .45; cursor: default; }
.fine { margin: 0; font: 500 13.5px/1.5 Mulish, sans-serif; color: #7a7262; }
.fine.err { color: #b3261e; }

/* ================================================================ LIVE ROUNDS (threads) */
.rounds { background: var(--van); padding: 120px var(--pad); }
.threads { margin-top: 44px; max-width: 1120px; border-top: 1px solid var(--line); }
.th { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .15s; }
a.th:hover { background: #efe6d1; }
.th.new { animation: pop .5s ease both; }
.th-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #e9dfc8; }
.th-m { min-width: 0; }
.th-t { display: flex; gap: 10px; align-items: baseline; font: 800 18px/1.2 Heebo, sans-serif; min-width: 0; }
.th-t span { font: 500 14px/1.2 Mulish, sans-serif; color: #7a7262; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.th-s { margin-top: 4px; font: 500 15.5px/1.45 Mulish, sans-serif; color: #4a4336; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.th-s b { font-family: Heebo, sans-serif; font-weight: 700; color: var(--ink); }
.th-last { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; font: 600 13.5px/1.2 Mulish, sans-serif; color: #4a4336; max-width: 100%; }
.th-last img { width: 20px; height: 20px; border-radius: 50%; flex: none; }
.th-last span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.th-r { text-align: right; }
.th-rk { font: 600 11.5px/1.2 Heebo, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #968d79; }
.th-clock { font: 800 22px/1.15 Heebo, sans-serif; font-variant-numeric: tabular-nums; }
.th.open .th-img { background: transparent; box-shadow: inset 0 0 0 2px #d6c9ac; }
.th.open .th-t { color: #a69e8b; }
.th.open .th-s { color: #a69e8b; }
.th.open .th-clock { color: #c4b99f; font-size: 18px; }

/* ================================================================ PICKS (lower thirds) */
.picks { background: var(--van2); color: var(--ink); padding: 120px var(--pad); }
.pk-head p { color: var(--soft); }
.pk-film { margin-top: 44px; max-width: 1320px; aspect-ratio: 16 / 9; background: #0b0b0b; box-shadow: 0 30px 80px rgba(70,52,20,.18); }
.pk-film video { width: 100%; height: 100%; display: block; object-fit: cover; }
.coinmode .pk-film { display: none; }
.thirds { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 22px; max-width: 1320px; }
.lt { background: var(--cream); color: var(--ink); box-shadow: 0 18px 50px rgba(70,52,20,.08); animation: pop .5s ease both; min-width: 0; }
.lt-hd { display: flex; justify-content: space-between; gap: 10px; background: var(--ink); color: var(--cream); border: 1.5px solid var(--ink); padding: 10px 16px; font: 700 12.5px/1.2 Heebo, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.lt-hd span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-bd { padding: 16px 18px; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
.lt-bd .lp-av { width: 52px; height: 52px; }
.lt-post { display: block; margin-top: 10px; padding-left: 11px; border-left: 3px solid #e3d8bf; font: 500 14px/1.45 Mulish, sans-serif; color: #5f584a; text-decoration: none; overflow-wrap: anywhere; }
.lt-post:hover { color: var(--ink); }
.lt-ft { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #e6dcc4; padding: 11px 18px; font: 700 13.5px/1.2 Heebo, sans-serif; }
.lt-ft span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-ft span:last-child { white-space: nowrap; flex: none; }
.lt.pass .lt-bd { grid-template-columns: 1fr; }
.lt-pass { font: 800 18px/1.2 Heebo, sans-serif; }
.lt.empty { grid-column: 1 / -1; max-width: 820px; }
.lt.empty .lt-bd { grid-template-columns: 1fr; padding: 26px 24px; font: 600 clamp(19px, 1.9vw, 25px)/1.45 Mulish, sans-serif; }

/* ================================================================ RULES */
.rules { background: var(--van); padding: 120px var(--pad); }
.rules ul { list-style: none; margin: 44px 0 0; padding: 0; max-width: 1000px; }
.rules li { padding: 22px 0; border-top: 1.5px solid var(--ink); font: 400 clamp(20px, 2.1vw, 28px)/1.35 Mulish, sans-serif; }
.rules li:last-child { border-bottom: 1.5px solid var(--ink); }
.rules li b { font-family: Heebo, sans-serif; font-weight: 800; }

/* ================================================================ FOOTER */
.foot { background: var(--ink); color: var(--cream); padding: 56px var(--pad) 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 48px; align-items: start; }
.ft-l { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ft-l img { width: 34px; height: 34px; }
.ft-l b { font: 800 22px/1 Heebo, sans-serif; }
.ft-l span { font: 500 15px/1.4 Mulish, sans-serif; color: #a59c88; width: 100%; }
.ft-r { display: grid; gap: 8px; justify-items: end; text-align: right; font: 500 13.5px/1.5 Mulish, sans-serif; color: #a59c88; }
.ft-r a { color: var(--cream); font-weight: 700; text-decoration: none; }
.ft-coin { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 22px; border-top: 1px solid rgba(251,247,238,.14); font: 600 14px/1.2 Heebo, sans-serif; }
.ft-coin a { color: var(--cream); }
.ft-k { color: var(--mute); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.ca-chip.ca-dark { margin: 0; background: rgba(251,247,238,.1); color: var(--cream); }
.ca-chip.ca-dark .ca-c { background: var(--cream); color: var(--ink); }

/* ================================================================ COIN PAGE (/c/<mint>) */
.coinmode .studio, .coinmode .launch, .coinmode .rounds { display: none; }
.coin-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.coin-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #e9dfc8; }
.coin-head b { display: block; font: 800 26px/1.1 Heebo, sans-serif; }
.coin-head span { font: 500 15px/1.3 Mulish, sans-serif; color: var(--soft); }
.coinmode .title { width: min(540px, 40vw); }
.coin-rule { margin: 0; font: 700 clamp(26px, 2.5vw, 38px)/1.15 Heebo, sans-serif; letter-spacing: -.02em; quotes: '\201C' '\201D'; overflow-wrap: anywhere; }
.coin-rule::before { content: open-quote; } .coin-rule::after { content: close-quote; }

/* ================================================================ MODALS + TOAST */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(32,24,10,.55); animation: rise .2s both; }
.modal[hidden] { display: none; }
.sheet { width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--cream); color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 40px 120px rgba(0,0,0,.45); }
.sheet-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sheet-hd b { font: 800 20px/1.2 Heebo, sans-serif; }
.x { border: 0; background: #efe6d1; border-radius: 10px; padding: 8px 12px; font: 700 13px/1 Heebo, sans-serif; cursor: pointer; }
.wl button { width: 100%; display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fffdf8; font: 700 16px/1.2 Heebo, sans-serif; cursor: pointer; text-align: left; }
.wl button:hover { border-color: var(--ink); }
.wl img, .wl .wl-ph { width: 30px; height: 30px; border-radius: 8px; background: #e9dfc8; flex: none; }
.wl small { margin-left: auto; font: 600 12px/1 Heebo, sans-serif; color: #968d79; }
.sheet-note { margin: 14px 0 0; font: 500 13.5px/1.5 Mulish, sans-serif; color: #7a7262; }
.sheet-note.err { color: #b3261e; }
.steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; font: 600 15.5px/1.35 Mulish, sans-serif; color: #968d79; }
.steps li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px #d6c9ac; flex: none; }
.steps li.on { color: var(--ink); }
.steps li.on::before { box-shadow: inset 0 0 0 2.5px var(--ink); border-right-color: transparent; animation: spin .8s linear infinite; background: conic-gradient(var(--ink) 0 25%, transparent 25% 100%); -webkit-mask: radial-gradient(circle, transparent 5.5px, #000 6px); mask: radial-gradient(circle, transparent 5.5px, #000 6px); }
.steps li.ok { color: var(--ink); }
.steps li.ok::before { background: var(--ink); box-shadow: none; }
.done { margin-top: 16px; }
.done .dn-coin { display: flex; align-items: center; gap: 12px; }
.done .dn-coin img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.done .dn-coin b { display: block; font: 800 20px/1.2 Heebo, sans-serif; }
.done .dn-coin span { font: 500 14px/1.3 Mulish, sans-serif; color: #7a7262; }
.done .dn-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.done .dn-links a { display: inline-flex; align-items: center; height: 42px; padding: 0 14px; border-radius: 11px; background: #efe6d1; font: 700 14px/1 Heebo, sans-serif; text-decoration: none; }
.done .dn-links a.k { background: var(--ink); color: var(--cream); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; background: var(--ink); color: var(--cream); padding: 12px 18px; font: 700 14px/1.3 Heebo, sans-serif; box-shadow: 0 20px 60px rgba(40,30,10,.3); animation: rise .25s both; max-width: calc(100vw - 32px); }

/* ================================================================ RESPONSIVE */
@media (max-width: 1180px) {
  :root { --pad: 40px; }
  .third { width: 380px; }
  .title { width: min(600px, 54vw); }
  .st-facts { width: 260px; }
}
@media (max-width: 960px) {
  .ln-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .ft-r { justify-items: start; text-align: left; }
}
@media (max-width: 860px) {
  .coinmode .title { width: auto; }
  /* hero: the stage stays on top, the copy and the last pick flow under the mark */
  .hero { height: auto; min-height: 100svh; padding-bottom: 28px; }
  .bug { top: 14px; left: 14px; height: 38px; font-size: 14px; }
  .bug-brand { font-size: 15px; padding: 0 12px 0 9px; gap: 8px; }
  .bug-brand img { width: 22px; height: 22px; }
  .bug-live { padding: 0 11px; font-size: 12px; }
  .bug-round { display: none; }
  .topr { top: 14px; right: 14px; }
  #topLaunch { display: none; }
  .plate { height: 38px; padding: 0 13px; font-size: 14px; }
  .readout { position: absolute; top: calc(var(--mk-y) + var(--mk-d) / 2 + 18px); left: 16px; right: 16px; text-align: left; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
  .readout > .ro-k, .readout > .ro-v { display: none; }
  .ro-clock { margin: 0; padding: 0; border: 0; width: 100%; justify-content: space-between; }
  .ro-clock b { font-size: 32px; }
  .ro-clock b.word { font-size: 22px; }
  .title { position: relative; left: auto; bottom: auto; width: auto; margin: calc(var(--mk-y) + var(--mk-d) / 2 + 74px) 16px 0; }
  .title .rule { margin-bottom: 16px; }
  .title p { font-size: 17px; }
  .third { position: relative; right: auto; bottom: auto; width: auto; margin: 26px 16px 0; }
  .studio { height: auto; min-height: 0; max-height: none; padding-bottom: 36px; }
  .st-stage { position: relative; height: 640px; }
  .st-copy { top: 48px; left: 20px; right: 20px; }
  .st-copy p { font-size: 17px; }
  .st-facts { position: static; width: auto; margin: 0 20px; }
  .launch, .rounds, .picks, .rules { padding: 84px 20px; }
  .foot { padding: 44px 20px 52px; }
  .ln-grid { margin-top: 36px; }
  .composer textarea { font-size: 19px; }
  .rulecard q { font-size: 19px; }
  .three { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  h1 { font-size: 44px; }
  .btn { height: 50px; padding: 0 20px; font-size: 16px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .th { grid-template-columns: 48px minmax(0, 1fr); padding: 16px 2px; }
  .th-img { width: 48px; height: 48px; }
  .th-r { grid-column: 2; text-align: left; display: flex; gap: 8px; align-items: baseline; }
  .th-clock { font-size: 18px; }
  .coinform { padding: 18px; }
  .seg button { padding: 8px 10px; font-size: 13px; }
  .ca-chip .ca-v { max-width: 150px; }
}
@media (max-width: 360px) {
  .bug-live { display: none; }
  h1 { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
