:root{
  --primary:#087A5B;
  --primary-deep:#065A44;
  --accent:#C6F000;
  --accent-ink:#143000;
  --cta:#E28222;
  --cta-ink:#1A0E02;
  --bg:#F2FAF6;
  --surface:#FFFFFF;
  --surface-2:#DCF3E8;
  --text:#12322B;
  --muted:#3F5A53;
  --border:#BFE2D4;
  --line:#9FCFBE;
  --danger:#B42318;
  --shadow:0 10px 30px rgba(8,50,40,.08);
  --radius:14px;
  --radius-sm:10px;
  --header-h:64px;
  --sticky-cta-h:64px;
  --font:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;
  --max:1180px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:var(--bg);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  padding-bottom:calc(var(--sticky-cta-h) + env(safe-area-inset-bottom,0px));
}
img{display:block;max-width:100%;height:auto}
a{color:var(--primary-deep);text-decoration-thickness:1px;text-underline-offset:2px}
a:hover{color:var(--primary)}
button,input,select{font:inherit}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:12px;top:-48px;background:var(--primary);color:#fff;padding:8px 12px;border-radius:8px;z-index:10000}
.skip-link:focus{top:12px}
.wrap{width:min(100% - 32px,var(--max));margin-inline:auto}
.wrap-wide{width:min(100% - 24px,1280px);margin-inline:auto}

/* Header */
.site-header{
  position:sticky;top:0;z-index:900;
  height:var(--header-h);
  background:rgba(242,250,246,.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  height:var(--header-h);
  display:flex;align-items:center;gap:16px;
  width:min(100% - 24px,var(--max));margin-inline:auto;
}
.brand{
  display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text);min-width:0;flex:0 0 auto;
}
.brand img{width:40px;height:40px;border-radius:12px;object-fit:cover;background:var(--surface-2)}
.brand-copy{display:flex;flex-direction:column;line-height:1.1;min-width:0}
.brand-name{font-weight:800;font-size:15px;letter-spacing:-.02em;white-space:nowrap}
.brand-tag{font-size:11px;color:var(--muted);font-weight:600;white-space:nowrap}
.main-nav{display:none;align-items:center;gap:4px;margin-left:auto}
.main-nav a{
  text-decoration:none;color:var(--text);font-weight:700;font-size:13px;
  padding:8px 10px;border-radius:999px;white-space:nowrap;
}
.main-nav a:hover,.main-nav a[aria-current="page"]{background:var(--surface-2);color:var(--primary-deep)}
.header-actions{display:none;align-items:center;gap:8px;margin-left:8px}
.hamburger{
  margin-left:auto;width:44px;height:44px;border:1px solid var(--border);border-radius:12px;
  background:var(--surface);display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
  cursor:pointer;position:relative;z-index:1000;
}
.hamburger span{display:block;width:18px;height:2px;background:var(--text);border-radius:2px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;padding:0 18px;border-radius:999px;border:1px solid transparent;
  font-weight:800;font-size:14px;letter-spacing:.01em;text-decoration:none;cursor:pointer;
  white-space:nowrap;line-height:1;
}
.btn-primary{background:var(--accent);color:var(--accent-ink);box-shadow:0 8px 18px rgba(198,240,0,.28)}
.btn-primary:hover{filter:brightness(.97);color:var(--accent-ink)}
.btn-cta{background:var(--cta);color:#fff}
.btn-cta:hover{color:#fff;filter:brightness(.98)}
.btn-ghost{background:var(--surface);border-color:var(--border);color:var(--text)}
.btn-soft{background:var(--surface-2);color:var(--primary-deep);border-color:transparent}
.btn-block{width:100%}

/* Mobile drawer */
.mobile-drawer{
  position:fixed;inset:0 0 0 auto;width:min(88vw,340px);background:var(--surface);
  border-left:1px solid var(--border);box-shadow:var(--shadow);
  transform:translateX(100%);transition:transform .22s ease;z-index:950;
  padding:88px 20px 28px;overflow:auto;
}
.mobile-drawer.open{transform:none}
.drawer-backdrop{
  position:fixed;inset:0;background:rgba(8,30,24,.42);opacity:0;pointer-events:none;
  transition:opacity .2s ease;z-index:920;
}
.drawer-backdrop.open{opacity:1;pointer-events:auto}
.mobile-drawer nav{display:flex;flex-direction:column;gap:6px}
.mobile-drawer a{
  text-decoration:none;color:var(--text);font-weight:700;padding:12px 14px;border-radius:12px;background:var(--bg)
}
.mobile-drawer .drawer-cta{margin-top:14px}

/* Chapter break signature */
.chapter{
  display:flex;align-items:center;gap:14px;margin:8px 0 18px;
}
.chapter-label{
  flex:0 0 auto;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  color:var(--primary);background:var(--surface-2);border:1px solid var(--border);
  border-radius:999px;padding:6px 12px;white-space:nowrap;
}
.chapter::after{content:"";height:2px;flex:1;background:linear-gradient(90deg,var(--accent),transparent);border-radius:2px}

/* Brand app profile */
.profile{
  padding:18px 0 8px;
}
.profile-grid{
  display:grid;gap:18px;
  grid-template-columns:minmax(0,1fr);
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:22px;
  padding:18px;
  box-shadow:var(--shadow);
}
.identity{
  display:grid;grid-template-columns:84px minmax(0,1fr);gap:14px;align-items:start;
}
.identity-icon{
  width:84px;height:84px;border-radius:22px;object-fit:cover;
  border:1px solid var(--border);background:var(--surface-2);
}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;
  letter-spacing:.08em;text-transform:uppercase;color:var(--primary);margin:0 0 6px;
}
.eyebrow i{width:8px;height:8px;border-radius:50%;background:var(--accent);display:inline-block}
.profile h1{
  margin:0 0 8px;font-size:clamp(28px,5vw,44px);line-height:1.08;letter-spacing:-.03em;
}
.lede{margin:0;color:var(--muted);font-size:16px;max-width:52ch}
.fact-strip{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px;
}
.fact{
  background:var(--bg);border:1px solid var(--border);border-radius:12px;padding:10px 12px;min-width:0;
}
.fact b{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:800}
.fact span{display:block;font-weight:800;font-size:14px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.gallery{
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,280px);gap:12px;
  overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;-webkit-overflow-scrolling:touch;
}
.gallery figure{
  margin:0;scroll-snap-align:start;background:#0b1c16;border-radius:16px;overflow:hidden;border:1px solid var(--border);
}
.gallery img{width:100%;aspect-ratio:16/10;object-fit:cover}
.gallery figcaption{padding:8px 10px;font-size:12px;color:#d7ebe3;background:#0b1c16}

.section{padding:28px 0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.section-head h2{margin:0;font-size:clamp(22px,3vw,30px);letter-spacing:-.02em;line-height:1.15}
.section-head p{margin:4px 0 0;color:var(--muted);font-size:14px}
.split{
  display:grid;gap:16px;grid-template-columns:minmax(0,1fr);
}
.card{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px;min-width:0;
}
.card h3{margin:0 0 8px;font-size:18px;letter-spacing:-.01em}
.card p{margin:0 0 10px;color:var(--muted)}
.card p:last-child{margin-bottom:0}
.feature-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.feature-list li{
  display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;align-items:start;
  background:var(--bg);border:1px solid var(--border);border-radius:12px;padding:12px;
}
.feature-list .n{
  width:28px;height:28px;border-radius:9px;background:var(--accent);color:var(--accent-ink);
  display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;
}
.steps{counter-reset:step;list-style:none;margin:0;padding:0;display:grid;gap:12px}
.steps li{
  counter-increment:step;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:14px 16px;
}
.steps li::before{
  content:counter(step);display:inline-flex;align-items:center;justify-content:center;
  width:28px;height:28px;border-radius:999px;background:var(--primary);color:#fff;font-weight:800;font-size:13px;margin-right:10px;
}
.steps h3{display:inline;font-size:16px;margin:0}
.steps p{margin:8px 0 0;color:var(--muted)}

/* HOT row */
.hot-shelf{display:grid;gap:10px}
.hot-row{
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,1fr);gap:10px;
  overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px;
}
@media (min-width:900px){
  .hot-row{grid-auto-flow:unset;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}
}
.hot-card{
  scroll-snap-align:start;display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;align-items:center;
  background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:10px;min-height:96px;text-decoration:none;color:inherit;
}
.hot-card img{width:76px;height:76px;border-radius:14px;object-fit:cover;background:#0e221b}
.hot-card strong{display:block;font-size:14px;letter-spacing:-.01em}
.hot-card span{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.hot-card em{display:inline-flex;margin-top:6px;font-style:normal;font-size:11px;font-weight:800;color:var(--primary-deep);background:var(--surface-2);padding:4px 8px;border-radius:999px}

/* rails */
.rail{
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(148px,168px);gap:12px;
  overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;
}
.rail-card{
  scroll-snap-align:start;background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden;text-decoration:none;color:inherit;
}
.rail-card img{width:100%;aspect-ratio:1;object-fit:cover;background:#10261f}
.rail-card .meta{padding:10px}
.rail-card strong{display:block;font-size:13px;line-height:1.25}
.rail-card span{display:block;font-size:11px;color:var(--muted);margin-top:3px}

/* inventory rows */
.inventory-tools{
  display:grid;gap:10px;margin-bottom:14px;
  grid-template-columns:minmax(0,1fr);
}
.search-box,.filter-box{
  display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:8px 12px;
}
.search-box input,.filter-box select{
  border:0;outline:0;background:transparent;width:100%;min-width:0;color:var(--text);font-weight:600;
}
.provider-tabs{
  display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch;
}
.provider-tabs button{
  flex:0 0 auto;border:1px solid var(--border);background:var(--surface);color:var(--text);
  border-radius:999px;padding:8px 12px;font-weight:800;font-size:12px;cursor:pointer;white-space:nowrap;
}
.provider-tabs button[aria-selected="true"]{background:var(--primary);border-color:var(--primary);color:#fff}
.result-count{font-size:13px;color:var(--muted);font-weight:700}
.app-rows{display:grid;gap:8px}
.app-row{
  display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px;align-items:center;
  background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:10px 12px;min-width:0;
}
.app-row img{width:72px;height:72px;border-radius:14px;object-fit:cover;background:#10261f}
.app-row a.name{text-decoration:none;color:var(--text);font-weight:800;font-size:15px;display:block}
.app-row .facts{font-size:12px;color:var(--muted);margin-top:2px}
.app-row .facts b{color:var(--text);font-weight:700}
@media (max-width:640px){
  .app-row{grid-template-columns:64px minmax(0,1fr);grid-template-areas:"art body" "art cta"}
  .app-row img{width:64px;height:64px;grid-area:art}
  .app-row .body{grid-area:body;min-width:0}
  .app-row .cta{grid-area:cta;justify-self:start;margin-top:6px}
  .app-row .btn{min-height:36px;padding:0 12px;font-size:12px}
}

/* hub strip */
.hub-strip{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
.hub-link{
  display:flex;flex-direction:column;gap:6px;background:var(--surface);border:1px solid var(--border);
  border-radius:16px;padding:16px;text-decoration:none;color:inherit;min-height:110px;
}
.hub-link strong{font-size:16px}
.hub-link span{color:var(--muted);font-size:13px}
.hub-link em{margin-top:auto;font-style:normal;font-size:12px;font-weight:800;color:var(--primary-deep)}

/* news */
.news-list{display:grid;gap:10px}
.news-card{
  display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;background:var(--surface);
  border:1px solid var(--border);border-radius:16px;overflow:hidden;text-decoration:none;color:inherit;
}
.news-card img{width:96px;height:100%;min-height:88px;object-fit:cover;background:#123}
.news-card .body{padding:12px 12px 12px 0}
.news-card time{font-size:11px;font-weight:800;color:var(--primary);letter-spacing:.04em;text-transform:uppercase}
.news-card strong{display:block;margin-top:4px;font-size:15px;line-height:1.3}
.news-card p{margin:6px 0 0;font-size:13px;color:var(--muted)}

/* FAQ */
.faq-list{display:grid;gap:8px}
.faq-item{background:var(--surface);border:1px solid var(--border);border-radius:14px;overflow:hidden}
.faq-item summary{
  cursor:pointer;list-style:none;padding:14px 16px;font-weight:800;position:relative;padding-right:42px;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";position:absolute;right:16px;top:50%;transform:translateY(-50%);color:var(--primary);font-size:18px}
.faq-item[open] summary::after{content:"–"}
.faq-item .ans{padding:0 16px 16px;color:var(--muted)}

/* tables */
.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:14px;background:var(--surface)}
table{width:100%;border-collapse:collapse;min-width:640px}
th,td{padding:10px 12px;border-bottom:1px solid var(--border);text-align:left;font-size:13px;vertical-align:top}
th{background:var(--surface-2);font-weight:800;white-space:nowrap}
tr:last-child td{border-bottom:0}

/* prose pages */
.page-hero{padding:24px 0 8px}
.page-hero h1{margin:0 0 10px;font-size:clamp(28px,4vw,42px);letter-spacing:-.03em;line-height:1.1}
.page-hero p{margin:0;color:var(--muted);max-width:60ch}
.prose{display:grid;gap:14px}
.prose h2{margin:8px 0 0;font-size:24px;letter-spacing:-.02em}
.prose h3{margin:4px 0 0;font-size:18px}
.prose p,.prose li{color:var(--muted)}
.prose ul,.prose ol{margin:0;padding-left:1.2em}
.prose a{text-decoration:underline;text-underline-offset:2px}
.inline-media{
  display:grid;gap:12px;grid-template-columns:minmax(0,1fr);align-items:center;
  background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden;
}
.inline-media img{width:100%;aspect-ratio:16/10;object-fit:cover}
.inline-media .cap{padding:12px 14px;font-size:13px;color:var(--muted)}
.breadcrumbs{display:flex;flex-wrap:wrap;gap:6px;font-size:12px;color:var(--muted);margin:0 0 12px}
.breadcrumbs a{color:var(--muted);text-decoration:none;font-weight:700}
.breadcrumbs span{opacity:.5}

/* footer */
.site-footer{
  margin-top:36px;background:#0C1F19;color:#D7EBE3;padding:36px 0 120px;
}
.site-footer a{color:#D7EBE3;text-decoration:none}
.site-footer a:hover{color:#fff}
.footer-grid{
  display:grid;gap:22px;grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,1fr));
}
.footer-brand p{color:#A7C3B8;font-size:14px;max-width:36ch}
.footer-col h2{margin:0 0 10px;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#8FBEAE}
.footer-col ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.footer-col a{font-size:14px;font-weight:600}
.footer-legal-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:8px}
.cookie-btn{
  border:1px solid #2C5246;background:#143128;color:#D7EBE3;border-radius:999px;padding:8px 12px;
  font-weight:700;font-size:12px;cursor:pointer;white-space:nowrap;
}
.footer-bottom{margin-top:24px;padding-top:16px;border-top:1px solid #1E3B31;font-size:12px;color:#8FBEAE;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between}
.socials{display:flex;gap:8px;flex-wrap:wrap}
.socials a{
  width:36px;height:36px;border-radius:10px;border:1px solid #2C5246;display:inline-flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:800;background:#143128;
}
.disclaimer{font-size:12px;color:#8FBEAE;max-width:80ch;margin-top:12px}

/* sticky mobile CTA */
.mobile-sticky-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:980;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));
  background:rgba(242,250,246,.96);backdrop-filter:blur(10px);
  border-top:1px solid var(--border);
}
.mobile-sticky-cta .btn{width:100%;min-height:48px;font-size:15px}
@media (min-width:900px){
  body{padding-bottom:0}
  .mobile-sticky-cta{display:none}
  .hamburger{display:none}
  .main-nav{display:flex}
  .header-actions{display:flex;margin-left:auto}
  .profile-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);padding:22px}
  .identity{grid-template-columns:104px minmax(0,1fr)}
  .identity-icon{width:104px;height:104px;border-radius:26px}
  .fact-strip{grid-template-columns:repeat(4,minmax(0,1fr))}
  .split-2{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
  .split-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hub-strip{grid-template-columns:repeat(4,minmax(0,1fr))}
  .inventory-tools{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr) auto;align-items:center}
  .footer-grid{grid-template-columns:minmax(0,1.4fr) repeat(4,minmax(0,1fr))}
  .news-card{grid-template-columns:140px minmax(0,1fr)}
  .news-card img{width:140px;min-height:100px}
  .inline-media{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
  .app-row{grid-template-columns:88px minmax(0,1fr) auto}
  .app-row img{width:88px;height:88px}
}

/* consent */
.consent-panel[hidden]{display:none !important}
.consent-panel{
  position:fixed;inset:auto 12px 12px 12px;z-index:1200;max-width:520px;margin-inline:auto;right:12px;left:12px;
  background:var(--surface);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow);padding:16px;
}
.consent-panel h2{margin:0 0 8px;font-size:18px}
.consent-panel p{margin:0 0 12px;color:var(--muted);font-size:14px}
.consent-ops{display:grid;gap:8px;margin-bottom:12px}
.consent-ops label{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--text)}
.consent-actions{display:flex;flex-wrap:wrap;gap:8px}

/* game detail */
.game-hero{
  display:grid;gap:16px;grid-template-columns:minmax(0,1fr);
  background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:16px;
}
.game-hero img{width:120px;height:120px;border-radius:22px;object-fit:cover;background:#10261f}
.game-meta{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.pill{
  display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:var(--surface-2);
  border:1px solid var(--border);padding:6px 10px;font-size:12px;font-weight:800;white-space:nowrap;
}
@media (min-width:800px){
  .game-hero{grid-template-columns:140px minmax(0,1fr) auto;align-items:center}
  .game-hero img{width:140px;height:140px}
}

/* responsible note */
.note{
  background:linear-gradient(180deg,#fff, #eef9f3);border:1px solid var(--border);border-radius:16px;padding:16px;
  color:var(--muted);font-size:14px;
}

/* utility */
.muted{color:var(--muted)}
.center{text-align:center}
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.kicker{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--primary)}
section[id]{scroll-margin-top:calc(var(--header-h) + 12px)}
.hidden{display:none !important}
body.nav-open{overflow:hidden}

@media (max-width:899px){
  .footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .footer-brand{grid-column:1/-1}
}
@media (max-width:420px){
  .wrap,.header-inner,.wrap-wide{width:min(100% - 20px,var(--max))}
  .fact-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hub-strip{grid-template-columns:minmax(0,1fr)}
  .profile h1{font-size:30px}
  .btn,.main-nav a,.hot-card em,.provider-tabs button{white-space:nowrap}
}
