/* Shared navigation, supporting pages and optional analytics. */
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
.topbar, .site-strip, .game-heading, .home-content, .site-footer, .document-header, .document-main { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.topbar { display: grid; grid-template-columns: 40px minmax(0,1fr) 40px; align-items: center; gap: 8px; width: min(520px,100%); min-height: 64px; padding: 6px 16px; background: var(--bg); }
.game-page::before { content: ""; position: absolute; top: 64px; left: 0; right: 0; border-bottom: 1px solid var(--border); pointer-events: none; }
.brand-lockup { display: grid; justify-items: center; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-size: 28px; font-weight: 900; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.brand-tag { display: none; }
.modes { display: flex; align-items: center; justify-content: center; gap: 4px; width: fit-content; margin: 9px auto 8px; }
.modes .mode { display: grid; place-items: center; min-height: 30px; padding: 4px 13px; color: var(--muted); font-size: 14px; line-height: 20px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: 20px; text-decoration: none; border: 1px solid var(--border); }
.modes .mode:hover { color: var(--text); background: var(--surface-3); }
.modes .mode[aria-current] { background: var(--brand); color: var(--brand-ink); box-shadow: none; }
.tools { justify-self: end; display: flex; align-items: center; gap: 7px; }
.tools .icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--border); background: transparent; border-radius: 8px; color: var(--text-2); }
.tools .icon-btn:hover { background: var(--surface-3); color: var(--text); }
.tools .icon-btn svg { width: 21px; height: 21px; }
.subbar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px; min-height: 20px; padding: 2px 0 0; font-size: 14px; line-height: 1.3; color: var(--muted); text-align: center; }
.subbar .chip, .subbar .badge { font-size: 14px; }
.site-strip { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 12px; }
.site-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-nav a { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; padding-block: 5px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: 5px; }
.site-status { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; }
.site-status > span { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.game-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding-block: 9px 18px; }
.game-heading h1 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 36px); font-weight: 800; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.game-heading p { color: var(--muted); font-size: 14px; }
.home-content { max-width: 680px; padding-block: 16px 12px; }
.content-intro { display: grid; gap: 9px; padding-block: 20px; border-top: 1px solid var(--border); }
.content-intro h2, .editorial-grid h2, .faq-section > h2 { font-family: var(--font-display); font-size: 26px; font-weight: 900; line-height: 1.1; text-transform: uppercase; }
.content-intro > p { font-size: 15px; color: var(--text-2); line-height: 1.6; }
.feature-grid { display: grid; gap: 20px; margin-block: 0 28px; }
.feature { padding: 0; }
.feature:first-child { padding-left: 0; }
.feature:last-child { padding-right: 0; }
.feature + .feature { border: 0; }
.feature h2 { font-family: var(--font-display); font-size: 22px; font-weight: 900; text-transform: uppercase; margin-bottom: 5px; }
.feature p { font-size: 15px; color: var(--text-2); line-height: 1.6; margin-bottom: 5px; }
.feature a, .prose a, .faq-section a { font-weight: 600; }
.feature a { font-size: 14px; }
.editorial-grid { display: grid; gap: 24px; align-items: start; }
.prose { font-size: 16px; line-height: 1.85; color: var(--text-2); }
.prose h2, .prose h3 { font-family: var(--font-display); font-weight: 800; color: var(--text); margin-top: 30px; margin-bottom: 13px; }
.prose h2 { font-size: 30px; letter-spacing: -.015em; }
.prose h3 { font-size: 25px; }
.prose p { margin-block: 0 17px; }
.prose li { margin-bottom: 8px; }
.prose > h2:first-child, .prose > section:first-child > h2 { margin-top: 0; }
.prose code { font-size: 14px; background: var(--surface-3); padding: 2px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.side-note { padding: 20px 0; border-block: 1px solid var(--border); color: var(--text-2); }
.side-note .eyebrow { color: var(--brand); margin-bottom: 12px; }
.side-note h2 { color: var(--text); font-family: var(--font-display); font-size: 32px; margin-bottom: 15px; }
.side-note p { font-size: 15px; line-height: 1.8; margin-bottom: 17px; }
.side-note .btn { font-size: 14px; width: fit-content; }
.faq-section { margin-block: 32px 20px; border-top: 1px solid var(--border); padding-top: 24px; }
.faq-section > .eyebrow { margin-bottom: 8px; }
.faq-section > h2 { margin-bottom: 18px; }
.faq-section details { border-bottom: 1px solid var(--border); }
.faq-section summary { cursor: pointer; padding: 18px 28px 18px 0; font-size: 16px; font-weight: 600; color: var(--text); }
.faq-section details > p { padding: 0 24px 18px 0; max-width: 850px; line-height: 1.85; color: var(--text-2); font-size: 15px; }
.site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 28px; margin-top: 24px; border-top: 1px solid var(--border); }
.footer-brand { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--text); text-decoration: none; text-transform: uppercase; }
.site-footer p { font-size: 14px; line-height: 1.8; color: var(--muted); margin-top: 8px; max-width: 410px; }
.site-footer nav { display: flex; justify-content: end; align-content: start; gap: 12px 20px; flex-wrap: wrap; padding-top: 5px; }
.site-footer nav a, .text-button { font-size: 14px; line-height: 1.8; color: var(--text-2); }
.text-button { border: 0; padding: 0; background: none; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-note { grid-column: 1 / -1; max-width: none; margin-top: 0; padding-top: 14px; border-top: 1px solid var(--border); }
.document-header { display: flex; align-items: center; gap: 26px; min-height: 88px; padding-block: 18px; border-bottom: 1px solid var(--border); }
.document-header .site-nav { margin-left: auto; }
.document-header .btn { min-height: 42px; font-size: 14px; padding-inline: 18px; }
.document-main { max-width: 880px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); padding-block: 24px 14px; }
.breadcrumbs a { color: var(--muted); }
.document-title { padding-block: 10px 26px; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.document-title .eyebrow { margin-bottom: 14px; }
.document-title h1 { font-family: var(--font-display); max-width: 800px; font-size: clamp(38px, 5vw, 60px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 18px; }
.document-title > p:last-child { max-width: 720px; font-size: 17px; line-height: 1.8; color: var(--text-2); }
.document-copy { max-width: 780px; }
.article-toc { display: flex; gap: 10px 20px; flex-wrap: wrap; padding: 16px 18px; border: 1px solid var(--border); background: var(--surface); border-radius: 8px; margin-bottom: 30px; }
.article-toc a { font-size: 14px; }
.table-scroll { overflow-x: auto; max-width: 100%; margin-block: 20px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.document-page table { border-collapse: collapse; width: 100%; min-width: 470px; font-size: 15px; line-height: 1.7; text-align: left; }
.document-page th, .document-page td { padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--border); }
.document-page thead th { background: var(--surface-3); color: var(--text); }
.document-page tbody tr:last-child > * { border-bottom: 0; }
.document-page tbody th { min-width: 125px; font-weight: 600; color: var(--text); }
.document-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 24px; border: 1px solid var(--border); background: var(--surface); margin-top: 32px; border-radius: 12px; }
.document-cta > div { margin-right: auto; }
.document-cta h2 { font-family: var(--font-display); font-size: 32px; margin-top: 7px; }
.document-cta .btn { font-size: 14px; }
.policy-date { font-size: 14px; color: var(--muted); }
.contact-card { background: var(--surface); padding: 24px; border: 1px solid var(--border); border-radius: 12px; margin-block: 18px 30px; }
.contact-card .eyebrow { margin-bottom: 13px; }
.contact-card p:last-child { margin: 13px 0 0; }
.contact-address { font-size: clamp(18px, 4vw, 27px); font-weight: 700; overflow-wrap: anywhere; }
.inline-button { display: inline; padding: 0; border: 0; background: none; font: inherit; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.noscript { width: min(1000px, calc(100% - 40px)); margin: 18px auto; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; font-size: 16px; }
.noscript h2 { margin-bottom: 12px; }
.consent-panel { position: fixed; z-index: 100; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 24px; width: min(900px, calc(100% - 32px)); padding: 14px 16px; background: #161d18; color: var(--text); border: 1px solid #59665d; border-radius: 10px; box-shadow: 0 8px 32px #0006; font-size: 14px; }
.consent-copy { flex: 1; }
.consent-panel h2 { font-family: var(--font); font-size: 14px; line-height: 1.5; font-weight: 700; margin: 0 0 3px; }
.consent-panel p { font-size: 14px; line-height: 1.6; color: #c5cfc6; margin: 0; }
.consent-panel p a { color: #f2f5ed; }
.consent-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.consent-actions button { border: 1px solid #718176; border-radius: 6px; padding: 10px 12px; font-size: 14px; font-weight: 600; line-height: 1.5; background: transparent; color: #f2f5ed; min-height: 42px; white-space: nowrap; }
.consent-actions button:hover { background: #2b3530; }
.consent-actions [data-consent="accept"] { border-color: var(--text); color: var(--bg); background: var(--text); }
.consent-actions [data-consent="accept"]:hover { background: #fff; }
.consent-actions button:disabled { opacity: .5; cursor: default; }
.consent-status { display: block; font-size: 14px; color: #c5cfc6; line-height: 1.5; }
.consent-status:empty { display: none; }
@media (max-width: 900px) {
 .site-strip, .game-heading, .home-content, .site-footer, .document-header, .document-main { width: calc(100% - 32px); }
 .brand-name { font-size: 27px; }
 .brand-mark { width: 30px; height: 30px; }
 .content-intro { gap: 26px; }
 .editorial-grid { gap: 24px; }
 .document-header { flex-wrap: wrap; gap: 16px; }
 .document-header .site-nav { order: 3; width: 100%; margin-left: 0; }
 .document-header > .btn { margin-left: auto; }
 .consent-panel { gap: 16px; }
}
@media (max-width: 640px) {
 .topbar { padding-inline: 12px; }
 .brand-name { font-size: 28px; }
 .subbar { min-height: 20px; }
 .site-strip { padding-block: 10px; }
 .site-nav { gap: 22px; }
 .site-status { display: none; }
 .game-heading { display: block; padding-block: 4px 16px; }
 .game-heading h1 { font-size: 30px; }
 .game-heading p { margin-top: 7px; }
 .home-content { padding-top: 24px; }
 .content-intro { gap: 9px; padding-block: 20px; }
 .feature-grid { margin-bottom: 26px; }
 .feature, .feature:first-child, .feature:last-child { padding: 0; }
 .editorial-grid { grid-template-columns: 1fr; gap: 20px; }
 .side-note { padding: 20px 0; }
 .faq-section { margin-top: 26px; }
 .faq-section summary { font-size: 15px; }
 .site-footer { grid-template-columns: 1fr; gap: 18px; }
 .site-footer nav { justify-content: start; }
 .site-footer .footer-note { grid-column: auto; }
 .document-title h1 { font-size: 42px; }
 .document-title > p:last-child { font-size: 16px; }
 .document-cta { padding: 20px; }
 .document-cta > div { width: 100%; }
 .consent-panel { display: block; padding: 12px; bottom: 8px; width: calc(100% - 16px); }
 .consent-panel p { margin: 0; }
 .consent-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; }
 .consent-actions button { padding: 9px 6px; min-height: 42px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
