/* Practice Room SA (springbok-casino.org): "practice arena" in Springbok greens, gold and cream.
   Archivo Narrow 700 (uppercase) + Public Sans. Mobile first; one stylesheet plus fonts.css. */
:root {
  --base: #0d1608;
  --surface: #141c0e;
  --surface-2: #19240f;
  --ink: #ffffff;
  --ink-2: #e8eedf;
  --muted: #d1d1d1;
  --soft: #b4c0a5;
  --gold: #f4e569;
  --gold-2: #e1d08b;
  --cream: #f5edab;
  --green: #9fd18b;
  --green-2: #c3e890;
  --green-deep: #13250d;
  --rose: #e78a8a;
  --line: rgba(244, 229, 105, .16);
  --line-2: rgba(255, 255, 255, .09);
  --cta-text: #235200;
  --gold-bar: linear-gradient(to bottom, #ffffb0 0%, #ffffff 11%, #fffec7 53%, #ce9e63 54%, #fedc8b 78%, #fffac4 100%);
  --gold-bar-hover: linear-gradient(to bottom, #ffffb0 0%, #ffffff 11%, #fffec7 53%, #ff742a 54%, #ffb877 78%, #fffac4 100%);
  --head: "Archivo Narrow", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Public Sans", Arial, Helvetica, sans-serif;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='168' viewBox='0 0 168 168'%3E%3Cg fill='none' stroke='%23f4e569' stroke-opacity='.055' stroke-width='1.4'%3E%3Ccircle cx='40' cy='42' r='16'/%3E%3Ccircle cx='40' cy='42' r='9.5' stroke-dasharray='4 3.4'/%3E%3Crect x='100' y='94' width='30' height='42' rx='4' transform='rotate(-14 115 115)'/%3E%3Cpath d='M115 106l6 9-6 9-6-9z' transform='rotate(-14 115 115)'/%3E%3C/g%3E%3Cg fill='none' stroke='%239fd18b' stroke-opacity='.05' stroke-width='1.4'%3E%3Ccircle cx='128' cy='34' r='7'/%3E%3Ccircle cx='128' cy='34' r='3'/%3E%3Crect x='22' y='108' width='24' height='34' rx='3' transform='rotate(9 34 125)'/%3E%3Cpath d='M34 118c-3 3-6 5-6 8a3 3 0 0 0 6 1 3 3 0 0 0 6-1c0-3-3-5-6-8z' transform='rotate(9 34 125)'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0; min-width: 320px; color: var(--ink); font: 400 1rem/1.62 var(--body);
  background-color: var(--base);
  background-image: var(--pattern), linear-gradient(180deg, #0d1608 0%, #0d1608 60%, #111d0a 100%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: #fff6a8; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin: .25rem 0; }
strong { font-weight: 600; color: #fff; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1.06; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.05rem, 7.6vw, 3.55rem); color: #fff; }
h1 em { font-style: normal; color: var(--gold); }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.15rem); color: var(--ink-2); }
h3 { font-size: 1.3rem; color: var(--gold); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: #13250d; padding: .7rem 1rem; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 16px; }
main:focus { outline: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.3rem;
  border-radius: 10px; border: 0; font: 700 1.12rem/1.1 var(--head); text-transform: uppercase; letter-spacing: .03em;
  text-decoration: none; cursor: pointer; text-align: center; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn .ic { width: 1.05em; height: 1.05em; }
.btn-gold { background: var(--gold-bar); color: var(--cta-text); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .45), 0 0 9px 1px rgba(255, 255, 190, .38); text-shadow: 1px 1px 3px rgba(255, 249, 161, .9); }
.btn-gold:hover { background: var(--gold-bar-hover); color: var(--cta-text); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .45), 0 0 12px 2px rgba(255, 255, 190, .6); transform: translateY(-1px); }
.btn-cream { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px var(--cream); }
.btn-cream:hover { background: rgba(245, 237, 171, .1); color: #fffbde; }
.btn-block { display: flex; width: 100%; }
.btn-sm { min-height: 44px; padding: .5rem .95rem; font-size: 1rem; }
.btn-head { min-height: 44px; padding: .5rem .7rem; font-size: .95rem; white-space: nowrap; }
.copy {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; min-width: 44px; padding: .4rem .8rem; border-radius: 8px;
  border: 1.5px solid var(--green); background: rgba(159, 209, 139, .1); color: var(--green-2); font: 700 .95rem/1 var(--head); text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
}
.copy:hover, .copy.is-done { background: var(--green); color: #0d1608; }

/* ---------- ribbons and fun chips (motif) ---------- */
.ribbon {
  display: inline-block; background: var(--green); color: #0d1608; font: 700 .78rem/1 var(--head); text-transform: uppercase; letter-spacing: .16em;
  padding: .38rem 1.05rem .38rem .7rem; clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 50%, 100% 100%, 0 100%);
}
.ribbon-calm { background: var(--cream); }
.ribbon-corner { position: absolute; top: 12px; left: 0; z-index: 2; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.ribbon-row { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; margin: 0 0 .85rem; }
.kicker { font: 700 .86rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--gold-2); }
.kicker-sm { display: flex; align-items: center; gap: .4rem; font: 700 .82rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--green); margin: 0 0 .4rem; }
.funchip {
  display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 2.4rem; height: 2.4rem; padding: 0 .65rem; border-radius: 999px;
  background: var(--green-deep); color: #fff; font: 700 1.05rem/1 var(--head); letter-spacing: .02em; white-space: nowrap;
  border: 2px dashed var(--green); box-shadow: 0 0 0 3px var(--green-deep), 0 0 0 4.5px rgba(159, 209, 139, .4);
}
.funchip-lg { height: 2.9rem; min-width: 2.9rem; font-size: 1.3rem; padding: 0 .85rem; }
.funchip-sm { height: 1.8rem; min-width: 1.8rem; font-size: .9rem; padding: 0 .4rem; }
.funchip-gold { border-color: var(--gold); box-shadow: 0 0 0 3px var(--green-deep), 0 0 0 4.5px rgba(244, 229, 105, .4); color: var(--gold); }
.age { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid var(--cream); color: var(--cream); font: 700 1rem/1 var(--head); flex: none; }
.age-sm { width: 2rem; height: 2rem; font-size: .82rem; }

/* ---------- header and practice tabs ---------- */
.site-head { background: linear-gradient(180deg, #081004 0%, #0b1506 100%); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-height: 66px; padding-top: .35rem; padding-bottom: .35rem; }
.brand { display: flex; align-items: center; gap: .45rem; text-decoration: none; min-width: 0; min-height: 48px; padding: 2px 0; }
.brand-logo { width: 90px; height: auto; }
.brand-tx { display: flex; flex-direction: column; gap: .2rem; border-left: 1px solid rgba(244, 229, 105, .3); padding-left: .45rem; white-space: nowrap; }
.brand-name { font: 700 .76rem/1 var(--head); text-transform: uppercase; letter-spacing: .03em; color: var(--cream); }
.brand-tag { font: 600 .54rem/1.1 var(--body); text-transform: uppercase; letter-spacing: .04em; color: var(--green); }
.head-act { display: flex; align-items: center; gap: .9rem; }
.head-note { display: none; align-items: center; gap: .45rem; font-size: .8rem; line-height: 1.25; color: var(--soft); }
.head-note .ic { color: var(--green); width: 1.6rem; height: 1.6rem; }
.tabs { background: var(--surface); border-top: 1px solid var(--line-2); }
.tabs-in { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs-in::-webkit-scrollbar { display: none; }
.tabs-list { display: flex; gap: .45rem; list-style: none; margin: 0; padding: .5rem 0; width: max-content; }
.tabs-list li { margin: 0; }
.tab {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .3rem .95rem .3rem .3rem; border-radius: 999px;
  background: #0f170a; border: 1px solid rgba(255, 255, 255, .1); color: #fffbde; text-decoration: none; white-space: nowrap;
  font: 700 .95rem/1 var(--head); text-transform: uppercase; letter-spacing: .05em;
}
.tab:hover { color: #fff; border-color: rgba(159, 209, 139, .55); }
.tab-ic { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px dashed rgba(159, 209, 139, .7); color: var(--green); background: var(--green-deep); }
.tab-ic .ic { width: 18px; height: 18px; }
.tab.is-on { background: var(--green); color: #0d1608; border-color: var(--green); }
.tab.is-on .tab-ic { background: #0d1608; color: var(--green); border-color: #0d1608; }

/* ---------- heroes ---------- */
.hero, .phero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero {
  background:
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(58, 110, 37, .42), transparent 70%),
    radial-gradient(ellipse 50% 60% at 5% 0%, rgba(244, 229, 105, .07), transparent 70%),
    linear-gradient(180deg, #0b1406 0%, #0f1b09 100%);
}
.hero::after, .phero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--green) 20%, var(--gold) 50%, var(--green) 80%, transparent); opacity: .55; }
.hero-grid { display: grid; gap: 1.75rem; padding-top: 1.25rem; padding-bottom: 2rem; }
.lede { margin-bottom: 1.1rem; font-size: 1.06rem; color: var(--ink-2); }
.lede p:last-child { margin-bottom: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0 0 .7rem; }
.hero-cta .btn { flex: 1 1 220px; }
.hero-micro { display: flex; gap: .5rem; align-items: flex-start; font-size: .84rem; line-height: 1.45; color: var(--soft); margin: 0 0 1.1rem; }
.hero-micro .ic { color: var(--cream); margin-top: .1rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .9rem 1.1rem; list-style: none; padding: 0; margin: .4rem 0 0; }
.hero-facts li { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; margin: 0; font-size: .8rem; line-height: 1.25; color: var(--soft); }
.hero-facts .funchip-lg { height: 2.5rem; font-size: 1.12rem; }
.hero-arena { display: grid; gap: 1rem; align-content: start; }
.lobby-tile, .arena-phone { display: none; margin: 0; }
.lobby-tile-art { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(244, 229, 105, .35); }
.lobby-tile-art img { width: 100%; height: auto; }
.lobby-pop { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; gap: 6px; padding: 6px; border-radius: 10px; background: rgba(5, 10, 3, .88); border: 1px solid rgba(255, 255, 255, .18); }
.lp { flex: 1; text-align: center; padding: .38rem 0; border-radius: 7px; font: 700 .82rem/1 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.lp-try { background: var(--green); color: #0d1608; box-shadow: 0 0 0 2px #fff inset; }
.lp-play { background: var(--gold-bar); color: var(--cta-text); }
.lobby-tile figcaption, .arena-phone figcaption { font-size: .78rem; line-height: 1.35; color: var(--soft); margin-top: .55rem; }
.arena-phone img { width: 150px; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); }
.phone-wrap { position: relative; width: 150px; }
.phone-screen { position: absolute; left: 15.9%; top: 15.5%; width: 67%; height: 71.6%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: radial-gradient(ellipse at 50% 0%, rgba(159, 209, 139, .22), transparent 70%), #040a02; border-radius: 2px; text-align: center; }
.phone-screen span { font: 700 .5rem/1 var(--head); text-transform: uppercase; letter-spacing: .18em; color: var(--green); }
.phone-screen strong { font: 700 1.05rem/1 var(--head); color: var(--green-2); text-shadow: 0 0 8px rgba(159, 209, 139, .5); }
.phone-screen em { font: 700 .55rem/1 var(--head); font-style: normal; text-transform: uppercase; background: var(--green); color: #0d1608; padding: .18rem .45rem; border-radius: 3px; margin-top: 3px; }

.phero { background: radial-gradient(ellipse 55% 80% at 85% 20%, rgba(58, 110, 37, .32), transparent 70%), linear-gradient(180deg, #0b1406 0%, #0f1a09 100%); }
.phero-calm { background: radial-gradient(ellipse 60% 80% at 85% 10%, rgba(245, 237, 171, .07), transparent 70%), linear-gradient(180deg, #0c1508 0%, #101a0b 100%); }
.phero-calm::after { background: linear-gradient(90deg, transparent, var(--cream) 50%, transparent); opacity: .35; }
.phero-grid { display: grid; gap: 1.5rem; padding-top: 1rem; padding-bottom: 1.75rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .2rem .5rem; list-style: none; padding: 0; margin: 0 0 .9rem; font-size: .82rem; color: var(--soft); }
.crumbs li { margin: 0; display: flex; align-items: center; gap: .5rem; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--green); border-right: 1.5px solid var(--green); transform: rotate(45deg); }
.crumbs a { color: var(--soft); }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font-size: .84rem; color: var(--soft); margin: 0 0 1.1rem; }
.meta-row .ic { color: var(--green); }
.meta-row .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--soft); }
.meta-row a { color: var(--cream); }

/* ---------- fun-balance meter (signature) ---------- */
.meter {
  position: relative; border-radius: 18px; padding: 1rem; background: linear-gradient(180deg, #13220c 0%, #0a1306 100%);
  border: 1px solid rgba(244, 229, 105, .38); box-shadow: 0 20px 40px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.meter-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .85rem; }
.meter-tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .74rem; color: var(--soft); }
.meter-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: #050b03; border: 1px solid rgba(255, 255, 255, .12); margin-bottom: .85rem; }
.tog { min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 700 1.08rem/1 var(--head); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
.tog-try[aria-pressed="true"] { background: var(--green); color: #0d1608; }
.tog-play[aria-pressed="true"] { background: var(--gold-bar); color: var(--cta-text); }
.meter-screen { border-radius: 12px; padding: .9rem 1rem; background: radial-gradient(ellipse at 50% 0%, rgba(159, 209, 139, .12), transparent 70%), #040a02; border: 1px solid rgba(159, 209, 139, .32); box-shadow: inset 0 2px 12px rgba(0, 0, 0, .7); }
.meter-label { margin: 0; font: 700 .8rem/1 var(--head); text-transform: uppercase; letter-spacing: .22em; color: var(--green); }
.meter-amt { margin: .3rem 0 .55rem; font: 700 clamp(2.4rem, 11vw, 3.3rem)/1 var(--head); color: var(--green-2); letter-spacing: .02em; text-shadow: 0 0 18px rgba(159, 209, 139, .45); font-variant-numeric: tabular-nums; }
.meter-amt.is-hit { animation: hit .45s ease; }
@keyframes hit { 0% { color: #fff; transform: translateX(-3px); } 40% { transform: translateX(3px); } 100% { transform: none; } }
.meter-bar { height: 10px; border-radius: 99px; background: #182612; overflow: hidden; }
.meter-bar span { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #3a6e25, var(--green) 60%, var(--gold)); transition: width .45s ease; }
.meter-sub { margin: .6rem 0 0; font-size: .86rem; line-height: 1.45; color: var(--ink-2); }
.meter-sub a { color: var(--gold); }
.meter-screen-real .meter-label { color: var(--gold); }
.meter-screen-real .meter-amt { color: var(--gold); text-shadow: 0 0 18px rgba(244, 229, 105, .35); }
.meter-pane-play .btn { margin-top: .85rem; }
.meter-stakes { margin-top: .85rem; }
.meter-q { display: block; font-size: .82rem; color: var(--soft); margin-bottom: .5rem; }
.stake-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.stake {
  position: relative; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: repeating-conic-gradient(var(--c1) 0 22.5deg, var(--c2) 22.5deg 45deg); box-shadow: 0 4px 10px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(0, 0, 0, .35);
  transition: transform .12s ease;
}
.stake span { position: absolute; inset: 8px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--c3); color: #fff; font: 700 .95rem/1 var(--head); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.stake:hover { transform: translateY(-2px) rotate(8deg); }
.stake:active { transform: scale(.94); }
.stake-1 { --c1: #3a6e25; --c2: #ebe3bf; --c3: #1d3a12; }
.stake-2 { --c1: #c99419; --c2: #fce96f; --c3: #6a4a07; }
.stake-3 { --c1: #6b1010; --c2: #f9d440; --c3: #270000; }
.stake-reset { min-height: 44px; padding: 0 .6rem; border: 0; background: none; color: var(--cream); font: 600 .88rem/1 var(--body); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; margin-left: auto; }
.meter-foot { margin: .8rem 0 0; font-size: .78rem; line-height: 1.4; color: var(--soft); }
.meter-sm { padding: .85rem; }
.meter-sm .meter-amt { font-size: 2.5rem; }

/* ---------- page layout: article + practice rail ---------- */
.layout { display: grid; gap: 2rem; padding-top: 1.75rem; padding-bottom: 2.5rem; }
.art { min-width: 0; }
.art > .sec:first-child, .art > .mtoc + .sec { margin-top: 0; }
.sec { margin: 2.5rem 0; }
.sec > h2 { position: relative; padding-left: 1.05rem; }
.sec > h2::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 5px; border-radius: 3px; background: linear-gradient(var(--green), var(--gold)); }
.art h3 { margin-top: 1.6rem; }
.art ul li::marker { color: var(--green); }
.art ol li::marker { color: var(--gold); font-weight: 600; }
.sec-panel { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 1.25rem; }
.rail { min-width: 0; }
.rail-in { display: grid; gap: 1rem; }
.rail-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; padding: 1rem 1.1rem; font-size: .92rem; }
.rail-h { display: flex; align-items: center; gap: .45rem; font: 700 1rem/1.1 var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--gold); margin: 0 0 .7rem; }
.rail-card p:last-child { margin-bottom: 0; }
.toc { display: none; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin: 0; }
.toc a { display: flex; gap: .55rem; padding: .38rem 0; color: var(--ink-2); text-decoration: none; line-height: 1.3; border-bottom: 1px dashed rgba(255, 255, 255, .08); }
.toc a::before { content: counter(toc); flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 1px dashed var(--green); color: var(--green); font: 700 .74rem/1.3rem var(--head); text-align: center; }
.toc a:hover { color: var(--gold); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; margin: 0; padding: .3rem 0; }
.checks input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: .05rem 0 0; border-radius: 50%; border: 2px dashed var(--green); background: var(--green-deep); cursor: pointer; display: grid; place-content: center; }
.checks input::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid #0d1608; border-bottom: 2.5px solid #0d1608; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.checks input:checked { background: var(--green); border-style: solid; }
.checks input:checked::after { opacity: 1; }
.checks input:checked + label { color: var(--soft); text-decoration: line-through; text-decoration-color: rgba(159, 209, 139, .6); }
.checks label { cursor: pointer; line-height: 1.4; padding-top: .1rem; }
.rail-note { font-size: .78rem; color: var(--soft); margin: .7rem 0 0; }
.rail-help a { color: var(--cream); font-weight: 600; }
.mtoc { background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; margin: 0 0 1.75rem; }
.mtoc summary { display: flex; align-items: center; gap: .5rem; min-height: 48px; padding: 0 1rem; cursor: pointer; font: 700 1rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--gold); list-style: none; }
.mtoc summary::-webkit-details-marker { display: none; }
.mtoc nav { padding: 0 1rem .8rem; }
.mtoc ol { margin: 0; padding-left: 1.3rem; }
.mtoc a { color: var(--ink-2); display: inline-block; padding: .25rem 0; }

/* ---------- home bands ---------- */
.band { padding: 2.5rem 0; border-bottom: 1px solid var(--line-2); }
.band-fams { background: linear-gradient(180deg, rgba(20, 28, 14, .95), rgba(13, 22, 8, .6)); }
.band-head { max-width: 760px; margin-bottom: 1.5rem; }
.band-head h2 { margin-bottom: .6rem; }
.band-head p { color: var(--ink-2); }
.wrap-src .sec-src { margin-top: 2rem; }
.band-foot { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px dashed rgba(159, 209, 139, .25); }

/* ---------- family cards ---------- */
.fams { display: grid; gap: 1rem; list-style: none; padding: 0 0 .5rem; margin: 0; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.fams > li { scroll-snap-align: start; }
.fam, .fam-aside { position: relative; margin: 0; display: flex; flex-direction: column; background: linear-gradient(180deg, #18240f 0%, #0f1809 100%); border: 1px solid rgba(244, 229, 105, .16); border-radius: 18px; overflow: hidden; }
.fam:hover { border-color: rgba(159, 209, 139, .5); }
.fam-art { aspect-ratio: 16 / 10; background: #060c04; overflow: hidden; }
.fam-art img { width: 100%; height: 100%; object-fit: cover; }
.fam-art.crop-left img { object-position: left center; }
.fam-body, .fam-aside-body { display: flex; flex-direction: column; gap: .55rem; padding: 1rem 1.05rem 1.1rem; flex: 1; }
.fam-h { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: 1.4rem; }
.fam-count { display: flex; align-items: center; gap: .65rem; margin: .1rem 0; font-size: .88rem; line-height: 1.3; color: var(--soft); }
.fam-dev { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; font-size: .84rem; line-height: 1.35; }
.fam-dev li { display: flex; gap: .45rem; margin: 0; align-items: flex-start; }
.dev-ok .ic { color: var(--green); }
.dev-warn .ic { color: var(--gold); }
.fam-tx { font-size: .9rem; line-height: 1.5; color: var(--ink-2); margin: 0; flex: 1; }
@media (max-width: 1023px) {
  .fam-aside { flex-direction: row; }
  .fam-aside .fam-art { flex: 0 0 40%; aspect-ratio: auto; }
  .fam-aside-body { padding: .85rem .9rem; gap: .45rem; }
}
.fam .btn { margin-top: .35rem; font-size: 1.02rem; padding: .6rem .8rem; }

/* ---------- strips, tiles, devices ---------- */
.chip-strip { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; list-style: none; padding: 0; margin: 0 0 .6rem; }
.chip-strip li { display: flex; align-items: center; gap: .55rem; margin: 0; color: var(--ink-2); font-size: .92rem; }
.tiles { display: grid; grid-auto-flow: column; grid-auto-columns: 118px; gap: .9rem; list-style: none; padding: 0 0 .5rem; margin: 0 0 1rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.tiles > li { scroll-snap-align: start; }
.tile { position: relative; margin: 0; }
.tile img { width: 100%; border-radius: 12px; box-shadow: 0 8px 18px rgba(0, 0, 0, .45), 0 0 0 1px rgba(244, 229, 105, .25); }
.tile-name { display: block; margin-top: .45rem; font: 700 .9rem/1.15 var(--head); text-transform: uppercase; color: var(--ink-2); }
.tile-try { position: absolute; top: 8px; right: 8px; background: var(--green); color: #0d1608; font: 700 .72rem/1 var(--head); text-transform: uppercase; padding: .3rem .5rem; border-radius: 6px; }
.fig { margin: 1.25rem 0; }
.fig img { border-radius: 12px; }
.fig figcaption { font-size: .82rem; color: var(--soft); margin-top: .45rem; }
.split { display: grid; gap: 1.25rem; align-items: start; }
.split-media img { border-radius: 12px; }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; margin: 0 0 .6rem; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.4; }
.tbl caption { text-align: left; padding: .8rem 1rem 0; font: 700 1rem/1.2 var(--head); text-transform: uppercase; color: var(--gold); }
.tbl th, .tbl td { padding: .7rem .85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.tbl thead th { background: #1d2a14; color: var(--gold); font: 700 .86rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.tbl tbody th { font-weight: 600; color: #fff; }
.tbl tbody tr:nth-child(even) { background: rgba(255, 255, 255, .025); }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.th-ic { display: inline-flex; align-items: center; gap: .45rem; }
.th-ic .ic { color: var(--green); }
.th-ic a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .2rem; }
.tbl-dev th[scope="row"] { padding-top: .25rem; padding-bottom: .25rem; vertical-align: middle; }
.t-ok { color: var(--green-2); }
.t-warn { color: var(--gold); }
.tbl-pay td { font-variant-numeric: tabular-nums; }
@media (max-width: 599px) {
  .tbl-dev thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl-dev tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-2); }
  .tbl-dev tbody tr:last-child { border-bottom: 0; }
  .tbl-dev th[scope="row"] { grid-column: 1 / -1; border-bottom: 0; padding-bottom: .2rem; }
  .tbl-dev td { border-bottom: 0; padding-top: .2rem; font-size: .86rem; }
  .tbl-dev td::before { content: attr(data-label); display: block; font: 700 .68rem/1.3 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--soft); }
  .tbl-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl-stack, .tbl-stack tbody, .tbl-stack tr { display: block; width: 100%; }
  .tbl-stack caption { display: block; padding-bottom: .6rem; }
  .tbl-stack tr { border-bottom: 1px solid var(--line-2); padding: .35rem 0 .5rem; }
  .tbl-stack tbody tr:last-child { border-bottom: 0; }
  .tbl-stack th[scope="row"], .tbl-stack td { display: block; border-bottom: 0; padding: .3rem .95rem; }
  .tbl-stack th[scope="row"] { font-size: 1rem; color: var(--cream); }
  .tbl-stack td { font-size: .9rem; }
  .tbl-stack td::before { content: attr(data-label); display: block; font: 700 .68rem/1.3 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--soft); margin-bottom: .1rem; }
}
.spec-lim-note { font-size: .8rem; line-height: 1.4; color: var(--soft); margin: .3rem 0 0; }
.tbl-note { font-size: .82rem; line-height: 1.45; color: var(--soft); margin: 0 0 1rem; }

/* ---------- steps, compare, cards, callouts, fixes ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .85rem; }
.step { display: grid; grid-template-columns: 2.4rem 1fr; gap: .75rem; margin: 0; padding: .9rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--green-deep); color: var(--gold); border: 2px dashed var(--gold); font: 700 1.3rem/1 var(--head); }
.step-c { min-width: 0; }
.step-h { margin: .2rem 0 .3rem; font: 700 1.18rem/1.2 var(--head); text-transform: uppercase; color: #fff; }
.step-tx p:last-child, .step-tx ul:last-child { margin-bottom: 0; }
.step-tx { color: var(--ink-2); }
.cmp { display: grid; gap: 1rem; margin: 0 0 1rem; }
.cmp-col { background: var(--surface); border-radius: 16px; padding: 1.1rem; border: 1px solid var(--line-2); border-top: 4px solid var(--green); }
.cmp-no { border-top-color: var(--rose); }
.cmp-h { display: flex; align-items: center; gap: .5rem; font: 700 1.2rem/1.1 var(--head); text-transform: uppercase; margin: 0 0 .75rem; color: var(--green-2); }
.cmp-no .cmp-h { color: #f2b3b3; }
.cmp ul { list-style: none; padding: 0; margin: 0; }
.cmp li { display: flex; gap: .55rem; margin: .45rem 0; line-height: 1.45; }
.ic-li { margin-top: .2rem; }
.cmp-yes .ic-li { color: var(--green); }
.cmp-no .ic-li { color: var(--rose); }
.cards { display: grid; gap: 1rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.card { margin: 0; padding: 1.1rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; }
.card-ic { display: inline-flex; width: 2.6rem; height: 2.6rem; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px dashed var(--green); color: var(--green); background: var(--green-deep); margin-bottom: .6rem; }
.card-h { margin: 0 0 .45rem; font-size: 1.2rem; }
.card p:last-child { margin-bottom: 0; }
.callout { margin: 1.25rem 0; padding: 1rem 1.1rem; border-radius: 14px; background: rgba(159, 209, 139, .07); border: 1px solid rgba(159, 209, 139, .3); border-left: 5px solid var(--green); }
.callout-tip { background: rgba(244, 229, 105, .06); border-color: rgba(244, 229, 105, .3); border-left-color: var(--gold); }
.callout-warn { background: rgba(231, 138, 138, .07); border-color: rgba(231, 138, 138, .35); border-left-color: var(--rose); }
.callout-budget { background: rgba(245, 237, 171, .06); border-color: rgba(245, 237, 171, .3); border-left-color: var(--cream); }
.callout-h { display: flex; align-items: center; gap: .5rem; font: 700 1.08rem/1.2 var(--head); text-transform: uppercase; margin: 0 0 .45rem; color: #fff; }
.callout p:last-child { margin-bottom: 0; }
.fixes { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 1rem; }
.fix { margin: 0; padding: 1.1rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; }
.fix-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.fix-n { display: inline-flex; width: 2.5rem; height: 2.5rem; flex: none; align-items: center; justify-content: center; border-radius: 50%; background: var(--green-deep); color: var(--gold); border: 1.5px dashed var(--gold); }
.fix-h { margin: 0 !important; font-size: 1.2rem; }
.fix-why { color: var(--ink-2); font-size: .95rem; }
.fix-do { background: rgba(159, 209, 139, .07); border-radius: 12px; padding: .8rem .95rem; }
.fix-lab { font: 700 .8rem/1 var(--head); text-transform: uppercase; letter-spacing: .14em; color: var(--green); margin: 0 0 .45rem; }
.fix-do ul, .fix-do p:last-child { margin-bottom: 0; }

/* ---------- spec cards ---------- */
.specs { display: grid; gap: 1rem; margin: 0 0 1rem; }
.spec { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; padding: 1rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; }
.spec-vp, .spec-tg { grid-template-columns: 1fr; }
.spec-art img { border-radius: 10px; box-shadow: 0 0 0 1px rgba(244, 229, 105, .25); }
.spec-art-none { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; border-radius: 10px; border: 1.5px dashed rgba(159, 209, 139, .5); color: var(--green); }
.spec-art-none .ic { width: 2rem; height: 2rem; }
.spec-body { min-width: 0; }
.spec-h { display: flex; align-items: center; gap: .45rem; margin: 0 0 .5rem !important; font-size: 1.25rem; }
.spec-list { margin: 0 0 .6rem; padding-left: 1.1rem; font-size: .9rem; line-height: 1.45; }
.spec-list li { margin: .2rem 0; }
.spec-src, .spec-flag, .spec-meta { font-size: .8rem; line-height: 1.4; color: var(--soft); margin: 0; }
.spec-flag { display: flex; gap: .35rem; align-items: center; color: var(--gold); margin-bottom: .5rem; }
.spec-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-bottom: .7rem; color: var(--green-2); }
.spec-sub { font: 700 .82rem/1 var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--green); margin: .3rem 0 .45rem; }
.spec-cols { display: grid; gap: .5rem 1.5rem; }
.spec-lim { font-size: .9rem; }

/* ---------- code tickets ---------- */
.ticket {
  position: relative; padding: 1.05rem 1.1rem; border-radius: 16px; background: linear-gradient(160deg, #1b2c11 0%, #0e1808 100%);
  border: 1.5px dashed rgba(244, 229, 105, .6); box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--base); border: 1.5px dashed rgba(244, 229, 105, .6); }
.ticket::before { left: -10px; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -10px; clip-path: inset(0 50% 0 0); }
.ticket-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem .8rem; margin-bottom: .35rem; }
.ticket-k { font: 700 .8rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .14em; color: var(--green); }
.ticket-chk { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; color: var(--soft); }
.ticket-offer { font: 700 1.45rem/1.1 var(--head); text-transform: uppercase; color: var(--gold); margin: 0 0 .75rem; }
.ticket-code { display: flex; align-items: center; gap: .6rem; padding: .4rem .45rem .4rem .8rem; margin-bottom: .75rem; border-radius: 10px; background: #060d04; border: 1px solid rgba(159, 209, 139, .35); }
.ticket-lab { font: 700 .72rem/1 var(--head); text-transform: uppercase; letter-spacing: .14em; color: var(--soft); }
.ticket-val { flex: 1; min-width: 0; font: 700 clamp(1.02rem, 4.4vw, 1.3rem)/1.1 var(--head); letter-spacing: .04em; color: #fff; white-space: nowrap; }
.ticket-terms { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1rem; margin: .85rem 0 .6rem; }
.ticket-terms div { min-width: 0; }
.ticket-terms dt { font: 700 .72rem/1.1 var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--green); }
.ticket-terms dd { margin: .15rem 0 0; font-size: .86rem; line-height: 1.35; color: var(--ink-2); }
.ticket-note { display: flex; gap: .45rem; font-size: .8rem; line-height: 1.4; color: var(--gold-2); margin: 0 0 .5rem; }
.ticket-note .ic { margin-top: .1rem; }
.ticket-micro { font-size: .76rem; line-height: 1.4; color: var(--soft); margin: 0; }
.ticket-sm .ticket-offer { font-size: 1.12rem; }
.ticket-sm .ticket-val { font-size: 1.08rem; letter-spacing: .03em; overflow-wrap: normal; white-space: nowrap; }
.ticket-sm .copy { padding: .4rem .6rem; }
.ticket-off { border-style: solid; border-color: var(--line-2); }
.code-inline { font-family: var(--head); letter-spacing: .05em; color: var(--gold); }

/* ---------- ready block, ladder, budget, mid-page offer ---------- */
.ready { padding: 1.15rem .9rem; border-radius: 22px; background: radial-gradient(ellipse at 100% 0%, rgba(244, 229, 105, .1), transparent 55%), linear-gradient(160deg, #182a0f 0%, #0d1708 100%); border: 1px solid rgba(244, 229, 105, .3); }
.ready > h2 { padding-left: 0; }
.ready > h2::before { display: none; }
.ladder { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: 1.5rem; }
.ladder-step { margin: 0; min-width: 0; }
.ladder-n { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--gold-bar); color: var(--cta-text); font: 700 1.15rem/1 var(--head); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .4); }
.ladder-h { display: flex; align-items: center; gap: .7rem; font: 700 1.2rem/1.2 var(--head); text-transform: uppercase; color: #fff; margin: 0 0 .8rem; }
.ladder-tx { color: var(--ink-2); font-size: .94rem; }
.coderows { list-style: none; padding: 0; margin: 0 0 .9rem; display: grid; gap: .75rem; }
.coderow { margin: 0; padding: .85rem .9rem; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1.5px dashed rgba(244, 229, 105, .45); }
.coderow-k { font: 700 .76rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .14em; color: var(--green); margin: 0 0 .2rem; }
.coderow-offer { font: 700 1.08rem/1.2 var(--head); text-transform: uppercase; color: var(--gold); margin: 0 0 .6rem; }
.coderow .ticket-code { margin-bottom: .55rem; }
.coderow .ticket-val { font-size: 1.12rem; white-space: nowrap; overflow-wrap: normal; }
.coderow-terms { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .8rem; line-height: 1.4; color: var(--ink-2); margin: 0; }
.coderow-terms b { font: 700 .7rem/1 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin-right: .25rem; }
.ready-grid { display: grid; gap: 1rem; margin: 1rem 0; }
.ready-card { padding: 1.1rem; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line-2); }
.ready-k { font: 700 1.2rem/1.1 var(--head); text-transform: uppercase; color: var(--gold); margin: 0 0 .6rem; }
.ready-aside { font-size: .84rem; color: var(--soft); margin: .6rem 0 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
.ticks li { display: flex; gap: .5rem; margin: .4rem 0; line-height: 1.45; }
.ticks .ic-li { color: var(--green); }
.budget { padding: 1rem 1.1rem; border-radius: 16px; background: rgba(245, 237, 171, .06); border: 1.5px solid rgba(245, 237, 171, .32); }
.budget-h { display: flex; align-items: center; gap: .5rem; font: 700 1.1rem/1.2 var(--head); text-transform: uppercase; color: var(--cream); margin: 0 0 .6rem; }
.budget ul { margin: 0 0 .7rem; font-size: .92rem; }
.budget-help { font-size: .86rem; margin: 0; color: var(--ink-2); }
.budget-help a { color: var(--cream); font-weight: 600; }
.budget-line { display: flex; gap: .5rem; align-items: flex-start; font-size: .84rem; line-height: 1.45; color: var(--ink-2); margin: .7rem 0 0; }
.budget-line .ic { color: var(--cream); margin-top: .1rem; }
.ctabox { display: grid; gap: 1rem; margin: 1.75rem 0; padding: 1.15rem; border-radius: 18px; background: linear-gradient(135deg, #1c2f12 0%, #0f1909 100%); border: 1px solid rgba(244, 229, 105, .35); }
.ctabox-k { display: flex; align-items: center; gap: .55rem; font: 700 .82rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--green); margin: 0 0 .45rem; }
.ctabox-h { font: 700 1.45rem/1.1 var(--head); text-transform: uppercase; color: var(--gold); margin: 0 0 .5rem; }
.ctabox-tx p { color: var(--ink-2); }
.ctabox-act { display: grid; gap: .65rem; align-content: center; }
.ticket-code-sm { margin: 0; }
.ctabox-act { min-width: 0; }
.ticket-code-sm .ticket-val { font-size: 1.05rem; letter-spacing: .02em; }
.ticket-code-sm .copy { padding: .4rem .55rem; }
.micro { font-size: .76rem; color: var(--soft); margin: 0; }
.aff-inline { font-weight: 600; }

/* ---------- help boxes ---------- */
.helpbox { padding: 1.1rem; border-radius: 18px; background: linear-gradient(160deg, #15240e, #0c1507); border: 1.5px solid rgba(245, 237, 171, .35); }
.helpbox-h { display: flex; align-items: center; gap: .5rem; font: 700 1.2rem/1.2 var(--head); text-transform: uppercase; color: var(--cream); margin: 0 0 .8rem; }
.helpbox-lines { display: grid; gap: .6rem; }
.help-line { display: flex; align-items: center; gap: .8rem; min-height: 56px; padding: .6rem .85rem; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(245, 237, 171, .25); color: #fff; text-decoration: none; }
.help-line:hover { border-color: var(--cream); color: #fff; }
.help-line .ic { width: 1.6rem; height: 1.6rem; color: var(--cream); }
.help-line strong { display: block; font: 700 1.35rem/1.1 var(--head); letter-spacing: .03em; }
.help-line small { display: block; font-size: .78rem; color: var(--soft); }
.help-line-crisis .ic { color: var(--rose); }
.helpbox-s { font-size: .82rem; color: var(--soft); margin: .8rem 0 0; }
.sec .helpbox, .sec .budget { margin: 1.25rem 0; }

/* ---------- FAQ, related, sources ---------- */
.faq { display: grid; gap: .6rem; }
.faq-i { background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; }
.faq-i[open] { border-color: rgba(159, 209, 139, .4); }
.faq-i summary { position: relative; list-style: none; cursor: pointer; min-height: 52px; padding: .85rem 3rem .85rem 1rem; font-weight: 600; line-height: 1.4; color: #fff; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary::after { content: "+"; position: absolute; right: .9rem; top: 50%; width: 1.7rem; height: 1.7rem; margin-top: -.85rem; border-radius: 50%; border: 1.5px dashed var(--green); color: var(--green); font: 700 1.2rem/1.5rem var(--head); text-align: center; }
.faq-i[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 1rem .9rem; color: var(--ink-2); }
.faq-a p:last-child { margin-bottom: 0; }
.rel { display: grid; gap: .7rem; list-style: none; padding: 0; margin: 0; }
.rel li { margin: 0; }
.rel-a { display: grid; grid-template-columns: 2.6rem 1fr; grid-template-rows: auto auto; column-gap: .8rem; align-items: center; min-height: 64px; padding: .75rem .9rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); text-decoration: none; color: #fff; }
.rel-a:hover { border-color: rgba(159, 209, 139, .55); color: #fff; }
.rel-ic { grid-row: span 2; display: inline-flex; width: 2.6rem; height: 2.6rem; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px dashed var(--green); color: var(--green); background: var(--green-deep); }
.rel-t { font: 700 1.08rem/1.15 var(--head); text-transform: uppercase; color: var(--gold); }
.rel-s { font-size: .84rem; line-height: 1.35; color: var(--soft); }
.sec-src { font-size: .9rem; }
.lastcheck { display: flex; gap: .5rem; align-items: flex-start; color: var(--ink-2); }
.lastcheck .ic { color: var(--green); margin-top: .15rem; }
.sources { padding-left: 1.4rem; margin: 0; }
.sources li { margin: .35rem 0; }
.sources li::marker { color: var(--green); }
.src-host { display: inline-block; margin-left: .5rem; font-size: .76rem; color: var(--soft); }
.fact-chip { display: inline-block; vertical-align: .1em; margin-left: .2rem; padding: .08rem .45rem; border-radius: 999px; font-size: .7rem; font-weight: 600; line-height: 1.5; white-space: nowrap; border: 1px solid; }
.fact-verified { color: var(--green-2); border-color: rgba(159, 209, 139, .5); }
.fact-operator-claim { color: var(--gold); border-color: rgba(244, 229, 105, .5); }
.fact-conflict, .fact-unverified { color: #f2b3b3; border-color: rgba(231, 138, 138, .5); }

/* ---------- responsible-gambling band ---------- */
.rgband { padding: 3rem 0 3.25rem; background: radial-gradient(ellipse 70% 90% at 100% 0%, rgba(245, 237, 171, .07), transparent 60%), linear-gradient(180deg, #102009 0%, #0a1506 100%); border-top: 1px solid rgba(245, 237, 171, .2); border-bottom: 1px solid rgba(245, 237, 171, .2); }
.rg-grid { display: grid; gap: 2rem; }
.rg-badge { display: flex; align-items: center; gap: .7rem; font: 700 .9rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--cream); margin: 0 0 .9rem; }
.rg-copy p { color: var(--ink-2); }
.rg-cols { display: grid; gap: 1.25rem; margin: 1.25rem 0; }
.rg-sub { font: 700 1rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--cream); margin: 0 0 .5rem; }
.rg-signs { list-style: none; padding: 0; margin: 0; }
.rg-signs li { display: flex; gap: .55rem; margin: .5rem 0; line-height: 1.45; }
.rg-signs .ic-li { color: var(--gold); }
.rg-good .ic-li { color: var(--green); }
.rg-own a, .rg-copy a { color: var(--cream); }
.rg-lines { display: grid; gap: .8rem; align-content: start; }
.rg-call { display: flex; align-items: center; gap: .9rem; min-height: 72px; padding: .9rem 1.1rem; border-radius: 16px; border: 2px solid rgba(245, 237, 171, .55); background: rgba(0, 0, 0, .28); text-decoration: none; color: #fff; }
.rg-call:hover { border-color: var(--cream); color: #fff; background: rgba(245, 237, 171, .07); }
.rg-call .ic { width: 2rem; height: 2rem; color: var(--cream); }
.rg-call small { display: block; font-size: .8rem; color: var(--soft); }
.rg-call strong { display: block; font: 700 1.75rem/1.05 var(--head); letter-spacing: .04em; }
.rg-slogan { font: 700 1.6rem/1.15 var(--head); text-transform: uppercase; color: var(--cream); margin: .5rem 0 .2rem; }
.rg-url { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .88rem; color: var(--soft); margin: 0; }
.rg-url a { color: var(--cream); }
.rg-tools { margin-top: .6rem; padding: 1rem 1.1rem; border-radius: 16px; background: rgba(245, 237, 171, .05); border: 1px solid rgba(245, 237, 171, .2); }
.rg-tools .rg-sub { display: flex; align-items: center; gap: .45rem; }
.rg-own { font-size: .84rem; color: var(--soft); margin: .6rem 0 0; }

/* ---------- footer ---------- */
.foot { background: #080c03; box-shadow: 0 0 10px #080c03; color: #a8b893; font-size: .9rem; padding: 2.5rem 0 1.25rem; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 1.75rem 2.5rem; }
.foot-grid > * { flex: 1 1 200px; min-width: 0; }
.foot-grid > .foot-brand { flex: 1.6 1 280px; }
.foot-grid > .foot-rg { flex: 1.3 1 240px; }
.foot a { color: var(--cream); }
.foot-logo { display: inline-block; margin-bottom: .8rem; }
.foot-h { display: flex; align-items: center; gap: .55rem; font: 700 1rem/1.1 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin: 0 0 .7rem; }
.foot-nav ul { list-style: none; padding: 0; margin: 0; }
.foot-nav li { margin: 0; }
.foot-nav a { display: inline-block; padding: .38rem 0; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.foot-aff { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 600; color: var(--gold) !important; }
.foot-slogan { font: 700 1.15rem/1.2 var(--head); text-transform: uppercase; color: var(--cream); }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 2rem; padding-top: 1.1rem; font-size: .8rem; line-height: 1.5; }
.foot-base p { margin: 0; }

/* ---------- sticky bar and toast ---------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: .75rem;
  padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom)); background: rgba(7, 13, 4, .97); border-top: 1px solid rgba(244, 229, 105, .35);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .45); transition: transform .25s ease;
}
.sticky.is-hidden { transform: translateY(115%); }
.sticky-tx { flex: 1; min-width: 0; margin: 0; line-height: 1.25; }
.sticky-tx strong { display: block; font: 700 1.02rem/1.15 var(--head); text-transform: uppercase; color: var(--gold); letter-spacing: .02em; }
.sticky-tx span { display: block; font-size: .74rem; color: var(--soft); }
.sticky .btn { flex: none; }
body.has-sticky { padding-bottom: 76px; }
.toast {
  position: fixed; left: 50%; bottom: 92px; z-index: 60; width: max-content; max-width: calc(100% - 32px); padding: .8rem 1.05rem; border-radius: 12px;
  background: var(--cream); color: #13250d; font-weight: 600; font-size: .92rem; line-height: 1.35; box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
  opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .2s ease, transform .2s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- breakpoints ---------- */
@media (min-width: 420px) {
  .brand-logo { width: 112px; }
  .brand-name { font-size: .95rem; }
  .brand-tag { font-size: .6rem; }
  .btn-head { padding: .5rem .9rem; font-size: 1rem; }
}
@media (min-width: 600px) {
  .fams { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .rel { grid-template-columns: 1fr 1fr; }
  .coderows { grid-template-columns: 1fr 1fr; }
  .rg-cols { grid-template-columns: 1fr 1fr; }
  .spec { grid-template-columns: 110px 1fr; }
  .spec-cols { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: minmax(0, 1fr) 200px; }
  .tiles { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); overflow: visible; }
  .hero-arena { grid-template-columns: 150px minmax(0, 1fr); align-items: start; }
  .lobby-tile { display: block; }
}
@media (min-width: 768px) {
  .wrap { padding: 0 24px; }
  body { font-size: 1.04rem; }
  .head-row { min-height: 80px; }
  .brand-logo { width: 151px; }
  .brand-name { font-size: 1.12rem; }
  .brand-tag { font-size: .68rem; }
  .head-note { display: flex; }
  .btn-head { padding: .55rem 1.2rem; font-size: 1.08rem; }
  .tabs-in { overflow: visible; }
  .tabs-list { width: auto; justify-content: center; flex-wrap: wrap; }
  .ctabox { grid-template-columns: minmax(0, 1fr) 300px; padding: 1.4rem; }
  .ready { padding: 1.75rem; }
  .ready-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sticky { display: none; }
  body.has-sticky { padding-bottom: 0; }
  .toast { bottom: 28px; }
  .sec-panel { padding: 1.6rem; }
  .step { grid-template-columns: 3rem 1fr; gap: .9rem; padding: 1rem; }
  .step-n { width: 2.8rem; height: 2.8rem; }
}
@media (min-width: 1024px) {
  h2 { font-size: 2.2rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 3rem; padding-top: 3rem; padding-bottom: 3.5rem; }
  .hero-copy .lede { font-size: 1.16rem; }
  .hero-arena { grid-template-columns: 150px minmax(0, 1fr); grid-template-areas: "tile meter" "phone meter"; }
  .hero-arena .lobby-tile { grid-area: tile; }
  .hero-arena .meter { grid-area: meter; }
  .hero-arena { grid-template-areas: "tile meter" "phone phone"; row-gap: 1.25rem; }
  .arena-phone { display: flex; align-items: center; gap: 1.1rem; grid-area: phone; }
  .arena-phone img, .phone-wrap { width: 250px; flex: none; }
  .arena-phone figcaption { margin-top: 0; font-size: .88rem; max-width: 16rem; }
  .phone-screen { gap: 4px; }
  .phone-screen span { font-size: .72rem; }
  .phone-screen strong { font-size: 1.7rem; }
  .phone-screen em { font-size: .78rem; padding: .25rem .6rem; }
  .phero-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; align-items: center; padding-top: 1.6rem; padding-bottom: 2.6rem; }
  .phero-solo .phero-grid { grid-template-columns: minmax(0, 820px); }
  .phero-copy .lede { font-size: 1.12rem; }
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; padding-top: 2.5rem; }
  .layout-solo { grid-template-columns: minmax(0, 860px); }
  .rail-in { position: sticky; top: 16px; }
  .toc { display: block; }
  .mtoc { display: none; }
  .fams-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .fams-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fams-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rg-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
  .rgband { padding: 5.25rem 0 5.5rem; }
  .rg-cols { grid-template-columns: 1fr; gap: .75rem; }
  .rg-copy h2 { font-size: 2.5rem; }
  .band { padding: 3.25rem 0; }
  .specs { grid-template-columns: 1fr 1fr; }
  .specs-1 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
