/* Selector: a single, readable stylesheet for the public site. */

:root {
    color-scheme: light;
    --ink: #17263f;
    --muted: #52637a;
    --paper: #f4f7fc;
    --white: #ffffff;
    --line: #d7e1ee;
    --blue: #0764ee;
    --blue-dark: #0051c5;
    --sky: #a9cfff;
    --night: #0b1425;
    --surface: #142139;
    --radius: 16px;
    --width: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-clearance, 104px);
    scroll-padding-bottom: 24px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: anywhere;
}

a {
    color: var(--blue-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

a:hover {
    text-decoration-thickness: 2px;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
summary {
    cursor: pointer;
}

button:disabled {
    cursor: wait;
    opacity: .65;
}

:focus-visible {
    outline: 3px solid #bd7200;
    outline-offset: 4px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

p,
h1,
h2,
h3,
figure {
    margin: 0;
}

p + p {
    margin-top: 18px;
}

h1,
h2,
h3 {
    line-height: 1.15;
    letter-spacing: -.03em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.25rem, 4.5vw, 4rem);
    font-weight: 780;
}

h2 {
    font-size: clamp(1.75rem, 2.7vw, 2.25rem);
    font-weight: 750;
}

h3 {
    font-size: 1.375rem;
}

.container {
    width: min(var(--width), calc(100% - 64px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 200;
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 12px 18px;
    border-radius: 8px;
    background: white;
    transform: translateY(calc(-100% - 24px));
}

.skip-link:focus {
    transform: none;
}

.site-header {
    position: relative;
    z-index: 30;
    top: 0;
    border-bottom: 1px solid #29384f;
    background: var(--night);
    color: white;
}

.js .site-header {
    position: sticky;
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    min-height: 86px;
    padding-block: 14px;
}

.brand {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    gap: 16px;
    min-width: 0;
    color: white;
    text-decoration: none;
}

.brand img {
    width: 145px;
    flex-shrink: 0;
}

.brand-label {
    max-width: 118px;
    border-left: 1px solid #3c4c66;
    padding-left: 16px;
    color: #b6c6dd;
    font-size: .8125rem;
    line-height: 1.5;
}

.primary-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 22px;
    margin-left: auto;
}

.primary-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #d4e0f0;
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current] {
    color: white;
    text-decoration: underline;
    text-underline-offset: 7px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    max-width: 100%;
    border: 1px solid transparent;
    border-radius: 9px;
    padding: 12px 21px;
    background: var(--blue);
    color: white;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background .18s, border-color .18s;
}

.button:hover {
    background: var(--blue-dark);
    color: white;
    text-decoration: none;
}

.button:active {
    background: #06449b;
}

.button.secondary,
.button.outline {
    border-color: #bac9dd;
    background: transparent;
    color: var(--ink);
}

.button.secondary:hover,
.button.outline:hover {
    border-color: var(--blue-dark);
    background: #e8f0fe;
    color: var(--blue-dark);
}

.site-header .button.secondary,
.hero .button.secondary,
.mobile-actions .button.secondary,
.notice-dialog .button.secondary {
    border-color: #526782;
    color: white;
}

.site-header .button.secondary:hover,
.hero .button.secondary:hover,
.mobile-actions .button.secondary:hover,
.notice-dialog .button.secondary:hover {
    border-color: #a9cfff;
    background: #1c3150;
    color: white;
}

.header-actions .button {
    min-height: 44px;
    padding: 10px 17px;
    font-size: .9375rem;
}

.menu-button {
    display: none;
    min-height: 44px;
    border: 1px solid #526782;
    border-radius: 8px;
    padding: 9px 14px;
    background: transparent;
    color: white;
    font-size: 1rem;
}

.site-header :focus-visible,
.hero :focus-visible,
.showcase-section :focus-visible,
.site-footer :focus-visible,
.mobile-actions :focus-visible {
    outline-color: #8fccff;
}

.hero {
    padding: 44px 0 38px;
    background: radial-gradient(ellipse at 83% 45%, #16335b 0, transparent 52%), var(--night);
    color: white;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
    align-items: center;
    gap: 52px;
}

.hero-grid > * {
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--sky);
    font-size: .8125rem;
    line-height: 1.5;
    font-weight: 650;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 18ch;
    font-size: clamp(2.625rem, 4.6vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.hero-subtitle {
    display: block;
    max-width: 27ch;
    margin-top: 17px;
    color: #e0ebfa;
    font-size: clamp(1.375rem, 2vw, 1.8125rem);
    line-height: 1.32;
    font-weight: 550;
    letter-spacing: -.02em;
}

.hero-intro {
    max-width: 57ch;
    margin-top: 18px;
    color: #c1d0e5;
    font-size: 1.0625rem;
    line-height: 1.6;
}




.hero .actions {
    align-items: stretch;
    margin-top: 24px;
}

.hero .actions .button:not(.secondary) {
    min-width: 170px;
}

.hero .actions .button.secondary {
    min-width: 112px;
}

/* Contextual actions after the account, bonus and mobile sections. */
.context-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
    margin-top: 26px;
    border: 1px solid #c5d8f3;
    border-radius: 12px;
    padding: 22px 24px;
    background: #e3edfd;
}

.context-cta-copy {
    flex: 1 1 250px;
    min-width: 0;
}

.context-cta-copy > strong {
    display: block;
    color: #17365f;
    font-size: 1.125rem;
    line-height: 1.4;
}

.context-cta-copy > p {
    margin: 7px 0 0;
    color: #354c6b;
    font-size: .9375rem;
    line-height: 1.55;
}

.context-cta > .button {
    flex: 0 1 auto;
}

/* The whole card is one link. The action stays visible without hover. */
.showcase a.game-card {
    display: flex;
    flex-direction: column;
}

.showcase .game-card-caption {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
}

.game-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 13px;
    color: #b9d9ff;
    font-size: .875rem;
    line-height: 1.5;
    font-weight: 650;
}

.game-card-action > span[aria-hidden="true"] {
    flex: 0 0 auto;
}

.showcase a.game-card:hover .game-card-action {
    color: white;
}


.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 18px;
    margin-top: 17px;
    color: #adbed7;
    font-size: .875rem;
}

.hero-visual {
    align-self: stretch;
    display: grid;
    align-content: center;
    min-width: 0;
}

.hero-art {
    display: flex;
    position: relative;
    isolation: isolate;
    flex-direction: column;
    justify-content: space-between;
    min-height: 406px;
    width: 100%;
    border: 1px solid #375678;
    border-radius: 22px;
    padding: 28px;
    background: #0d1e35;
    color: white;
    text-decoration: none;
}

.hero-art > img {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 21px;
    object-fit: cover;
    object-position: center 48%;
}

.hero-art::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: 21px;
    background: linear-gradient(180deg, #06101da8, transparent 50%, #081629ed);
    content: "";
}

.hero-art:hover {
    border-color: #a9cfff;
    color: white;
    text-decoration: none;
}

.hero-art-copy {
    max-width: 100%;
    color: #e1eeff;
    font-size: .875rem;
    line-height: 1.55;
    font-weight: 600;
}

.hero-art-copy strong {
    display: block;
    max-width: 15ch;
    margin: 12px 0 7px;
    color: white;
    font-size: 1.8125rem;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.hero-art-copy > span {
    display: block;
    color: #c9dfff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.hero-art-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 180px;
    color: #e4efff;
    font-size: 1rem;
    font-weight: 650;
}

.hero-art-label small {
    display: block;
    margin-bottom: 6px;
    color: #bcd4f3;
    font-size: .875rem;
}

.hero-art-label strong {
    display: block;
    font-size: 1.625rem;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.hero-art-label b,
.hero-art-label .arrow,
.hero-art-label > span[aria-hidden="true"] {
    display: grid;
    flex: 0 0 48px;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #7a9cc5;
    border-radius: 50%;
    color: #d2e8ff;
    font-size: 1.625rem;
    font-weight: 400;
}

.hero-visual > p,
.hero-visual > figcaption {
    margin-top: 12px;
    color: #adbed7;
    font-size: .875rem;
    line-height: 1.55;
}

.hero-shot {
    min-width: 0;
}

.hero-shot .zoom-image {
    display: block;
    border: 1px solid #48668b;
    border-radius: 14px;
    padding: 6px;
    background: var(--surface);
}

.hero-shot img {
    width: 100%;
    border-radius: 9px;
}

.hero-shot figcaption {
    margin-top: 12px;
    color: #b8cce6;
    font-size: .875rem;
}

.quick-strip {
    margin-top: 28px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.hero-copy .quick-grid,
.hero-grid > div:first-child .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quick-grid a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    border: 1px solid #3b5270;
    border-radius: 8px;
    padding: 11px 13px;
    color: #dce9fa;
    font-size: .9375rem;
    line-height: 1.45;
    text-decoration: none;
}

.quick-grid a span {
    color: #93bce9;
    font-size: .75rem;
    font-variant-numeric: tabular-nums;
}

.quick-grid a:hover {
    border-color: #8ebeff;
    background: #172a44;
    color: white;
}

.showcase-section {
    padding: 0 0 35px;
    border-bottom: 1px solid #324661;
    background: var(--night);
    color: white;
}

.showcase {
    min-width: 0;
}

.showcase-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 20px;
    margin-bottom: 18px;
}

.showcase-head h2 {
    font-size: 1.3125rem;
    line-height: 1.3;
    letter-spacing: -.015em;
}

.showcase-head a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #a9cfff;
    font-size: .9375rem;
}

.game-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(140px, 1fr);
    gap: 14px;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scroll-padding-inline: 4px;
    scrollbar-width: thin;
    scrollbar-color: #6688b4 #17253c;
    padding: 4px 4px 15px;
}

.game-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: white;
    scroll-snap-align: start;
}

a.game-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

a.game-card:hover {
    border-color: #a9cfff;
    text-decoration: none;
}

.game-card > a {
    display: block;
    border-radius: inherit;
    color: inherit;
    text-decoration: none;
}

.game-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 10px 10px 0 0;
    object-fit: cover;
}

.game-card figcaption,
.game-card-caption {
    display: block;
    padding: 11px 12px 13px;
}

.game-card strong {
    display: block;
    font-size: .9375rem;
    line-height: 1.45;
}

.game-card small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: .8125rem;
    line-height: 1.45;
}

.showcase .game-card {
    border-color: #34435b;
    background: #142139;
    color: #edf4ff;
}

.showcase .game-card small {
    color: #acbfda;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin: 26px 0;
}

.reading-layout {
    display: grid;
    grid-template-columns: minmax(0, 854px) minmax(0, 258px);
    align-items: start;
    gap: 64px;
    padding-block: 50px 76px;
}

.article {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.toc {
    position: sticky;
    top: var(--header-clearance, 104px);
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    border-top: 3px solid var(--blue);
    border-radius: 0 0 12px 12px;
    background: #eaf0f9;
    padding: 0 14px 9px;
}

.toc summary {
    min-height: 50px;
    padding: 14px 7px 12px;
    font-size: 1rem;
    font-weight: 750;
}

.toc ol {
    max-height: calc(100dvh - var(--header-clearance, 104px) - 82px);
    margin: 0;
    overflow-y: auto;
    padding: 0 2px 5px;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: #9aadc7 #eaf0f9;
}

.toc li + li {
    margin-top: 3px;
}

.toc a {
    display: block;
    min-height: 44px;
    border-radius: 7px;
    padding: 10px 10px;
    color: #405471;
    font-size: .9375rem;
    line-height: 1.45;
    text-decoration: none;
}

.toc a:hover {
    background: #dce8fa;
    color: #004dab;
}

.toc a[aria-current="location"] {
    background: #d8e7ff;
    color: #054aaa;
    font-weight: 650;
}

.article-section {
    margin-top: 45px;
    border-top: 1px solid var(--line);
    padding-top: 37px;
}

.article-section:first-child {
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
}

.anchor-alias {
    display: block;
    height: 0;
}

.section-number {
    display: inline-block;
    margin-bottom: 12px;
    color: #42638d;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.article-section h2 {
    max-width: 33ch;
    margin-bottom: 22px;
    line-height: 1.2;
}

.article-section h3 {
    max-width: 44ch;
    margin: 28px 0 13px;
    line-height: 1.3;
}

.article-section > p,
.article-section > ul,
.article-section > ol,
.note p {
    max-width: 73ch;
}

.article-section > ul,
.article-section > ol:not(.steps) {
    padding-left: 23px;
}

.article-section > ul li,
.article-section > ol:not(.steps) li {
    margin-block: 10px;
}

.table-wrap {
    max-width: 100%;
    margin-block: 25px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    border: 1px solid #cbd9ec;
    border-radius: 12px;
    background: white;
    scrollbar-width: thin;
    scrollbar-color: #7897c2 #e9eff7;
    -webkit-overflow-scrolling: touch;
}

.table-wrap table {
    width: 100%;
    min-width: 36rem;
    border-collapse: collapse;
    font-size: 1rem;
    line-height: 1.6;
}

.table-wrap caption {
    padding: 17px 19px;
    background: #e4edfb;
    color: #1d426f;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 700;
    text-align: left;
}

.table-wrap th,
.table-wrap td {
    border-bottom: 1px solid #dce5f1;
    padding: 15px 18px;
    text-align: left;
    vertical-align: top;
}

.table-wrap thead th {
    background: #f1f5fb;
    color: #425873;
    font-size: .9375rem;
    font-weight: 650;
}

.table-wrap tbody th {
    width: 26%;
    min-width: 160px;
    color: #254366;
    font-weight: 650;
}

.table-wrap tbody tr:nth-child(even) {
    background: #f8faff;
}

.table-wrap tbody tr:last-child th,
.table-wrap tbody tr:last-child td {
    border-bottom: 0;
}

.table-scroll-hint {
    margin-bottom: 21px;
    color: var(--muted);
    font-size: .875rem;
    line-height: 1.5;
}

.note {
    margin-block: 25px;
    border: 1px solid #ccdbf0;
    border-left: 3px solid var(--blue);
    border-radius: 0 10px 10px 0;
    padding: 19px 21px;
    background: #eaf1fc;
    color: #354e6e;
    font-size: 1rem;
    line-height: 1.65;
}

.note > strong {
    display: block;
    margin-bottom: 7px;
    color: #173d6b;
}

.steps {
    display: grid;
    gap: 20px;
    margin: 27px 0;
    padding: 0;
    list-style: none;
    counter-reset: steps;
}

.steps li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 15px;
    counter-increment: steps;
}

.steps li::before {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #c6dafa;
    border-radius: 10px;
    background: #e4edfc;
    color: #1353ac;
    font-size: .8125rem;
    font-weight: 700;
    content: counter(steps, decimal-leading-zero);
}

.steps strong {
    display: block;
    margin: 3px 0 6px;
}

.steps p {
    color: #485e79;
    font-size: 1rem;
    line-height: 1.65;
}

.screenshot {
    margin: 28px 0;
}

.screenshot .zoom-image {
    display: block;
    border: 1px solid #b7c9e2;
    border-radius: 13px;
    padding: 5px;
    background: #182338;
}

.screenshot .zoom-image:hover {
    border-color: var(--blue);
}

.screenshot img {
    width: 100%;
    border-radius: 8px;
}

.screenshot figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: .875rem;
    line-height: 1.55;
}

.faq {
    margin: 12px 0;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: white;
}

.faq summary {
    min-height: 55px;
    padding: 18px 21px;
    font-size: 1.0625rem;
    line-height: 1.5;
    font-weight: 650;
}

.faq[open] {
    border-color: #a9c4ec;
}

.faq[open] summary {
    color: var(--blue-dark);
}

.faq p {
    padding: 0 21px 21px;
    font-size: 1rem;
    line-height: 1.7;
}

.back-to-contents {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 15px;
    font-size: .875rem;
}

.closing {
    margin-top: 38px;
    border: 1px solid #c5d8f3;
    border-radius: 14px;
    padding: 28px 30px;
    background: #e3edfd;
}

.closing p {
    margin-bottom: 20px;
    color: #17365f;
    font-size: 1.375rem;
    line-height: 1.4;
    font-weight: 700;
}

.sources-list {
    padding-left: 23px;
    font-size: 1rem;
}

.sources-list li {
    margin-block: 12px;
}

.site-footer {
    border-top: 1px solid #293d58;
    padding: 43px 0 28px;
    background: var(--night);
    color: #b6c6dc;
    font-size: .9375rem;
    line-height: 1.65;
}

.footer-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(190px, 235px);
    align-items: start;
    gap: 36px;
    margin-bottom: 27px;
    border-bottom: 1px solid #2e415d;
    padding-bottom: 30px;
}

.footer-top .brand img {
    width: 134px;
}

.footer-copy {
    max-width: 57ch;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-footer a {
    color: #c9dfff;
}

.risk-line {
    display: flex;
    align-items: start;
    gap: 17px;
    margin-bottom: 20px;
}

.risk-line strong {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #657d9d;
    border-radius: 50%;
    color: #e3edfb;
    font-size: .9375rem;
}

.risk-line p {
    max-width: 98ch;
}

.privacy-note {
    margin: 18px 0;
}

.privacy-note summary {
    min-height: 44px;
    padding-block: 10px;
    color: #d4e2f4;
}

.privacy-note p {
    max-width: 95ch;
    margin-top: 12px;
}

.copyright {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
    margin-top: 26px;
    color: #a5b9d4;
    font-size: .8125rem;
}

.text-button {
    min-height: 44px;
    margin-top: 12px;
    border: 1px solid #7188a7;
    border-radius: 8px;
    padding: 9px 14px;
    background: transparent;
    color: inherit;
}

.text-button:hover {
    border-color: #c3ddff;
    background: #263b59;
}

.mobile-actions {
    display: none;
}

.image-dialog {
    width: min(1440px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    overflow: auto;
    border: 1px solid #526985;
    border-radius: 14px;
    padding: 60px 16px 16px;
    background: var(--night);
    color: white;
}

.image-dialog::backdrop,
.notice-dialog::backdrop {
    background: #07101ce8;
}

.image-dialog img {
    width: 100%;
    max-height: 76dvh;
    object-fit: contain;
}

.image-dialog p {
    margin-top: 13px;
    color: #c3d5ee;
    font-size: .9375rem;
}

.dialog-close {
    position: absolute;
    top: 10px;
    right: 12px;
    min-height: 40px;
    border: 1px solid #7b92b0;
    border-radius: 7px;
    padding: 7px 13px;
    background: var(--surface);
    color: white;
    font-size: .9375rem;
}

.notice-dialog {
    width: min(470px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    border: 1px solid #516684;
    border-radius: 16px;
    padding: 60px 28px 28px;
    background: var(--night);
    color: white;
}

.notice-dialog h2 {
    margin-bottom: 18px;
    font-size: 1.75rem;
}

.notice-dialog p {
    margin-bottom: 23px;
    color: #c4d5ec;
}

.consent-panel {
    position: fixed;
    z-index: 60;
    bottom: 24px;
    left: 24px;
    width: min(460px, calc(100% - 48px));
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    border: 1px solid #aebfd6;
    border-radius: 14px;
    padding: 23px;
    background: white;
    box-shadow: 0 12px 55px #0b1b3540;
    font-size: 1rem;
}

.consent-panel p {
    margin: 10px 0 20px;
}

.legal-page {
    width: min(860px, calc(100% - 40px));
    margin: 50px auto;
}

.legal-page h1 {
    margin-bottom: 26px;
    font-size: 2.375rem;
}

.legal-page h2 {
    margin: 30px 0 16px;
    font-size: 1.625rem;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1180px) {
    .brand-label {
        display: none;
    }

    .header-inner {
        gap: 14px 20px;
    }

    .hero-grid {
        gap: 32px;
    }

    .reading-layout {
        grid-template-columns: minmax(0, 1fr) 230px;
        gap: 36px;
    }

    .footer-top {
        gap: 26px;
    }
}

@media (max-width: 900px) {
    .container {
        width: calc(100% - 40px);
    }

    .header-inner {
        min-height: 76px;
        padding-block: 10px;
    }

    .header-actions {
        margin-left: auto;
    }

    .primary-nav {
        order: 4;
        justify-content: center;
        width: 100%;
        margin-left: 0;
    }

    .js .primary-nav {
        display: none;
    }

    .js .menu-button {
        display: inline-block;
    }

    .js .primary-nav[data-open="true"] {
        display: flex;
    }

    .hero {
        padding: 34px 0 32px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .hero h1 {
        max-width: 22ch;
    }

    .hero-intro {
        max-width: 68ch;
    }

    .hero-visual {
        max-width: 680px;
        width: 100%;
    }

    .hero-art {
        min-height: 350px;
    }

    .hero-art-label {
        margin-top: 130px;
    }

    .game-strip {
        grid-auto-columns: 148px;
    }

    .reading-layout {
        display: flex;
        flex-direction: column;
        gap: 34px;
        padding-top: 33px;
    }

    .toc {
        position: static;
        width: 100%;
        border: 1px solid #bdcfea;
        border-top: 3px solid var(--blue);
        border-radius: 9px;
        padding: 0 14px 5px;
    }

    .toc ol {
        max-height: none;
        columns: 2;
        column-gap: 22px;
    }

    .toc li {
        break-inside: avoid;
    }

    .article {
        width: 100%;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top .brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    html {
        scroll-padding-bottom: var(--mobile-clearance, calc(92px + env(safe-area-inset-bottom)));
    }

    body {
        font-size: 1rem;
    }

    .container {
        width: calc(100% - 32px);
    }

    .header-inner {
        min-height: 70px;
        gap: 10px 16px;
    }

    .brand img {
        width: 130px;
    }

    .header-actions {
        display: none;
    }

    .menu-button {
        margin-left: auto;
    }

    .primary-nav {
        justify-content: start;
        gap: 4px 21px;
        padding-top: 4px;
    }

    .hero {
        padding-top: 26px;
    }

    .eyebrow {
        margin-bottom: 16px;
        font-size: .75rem;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 10.5vw, 3rem);
        line-height: 1.1;
    }

    .hero-subtitle {
        margin-top: 14px;
        font-size: 1.375rem;
    }

    .hero-intro {
        margin-top: 18px;
        font-size: 1rem;
    }


    .hero .actions {
        gap: 10px;
        margin-top: 24px;
    }

    .hero .actions .button {
        flex: 1 1 135px;
        padding-inline: 13px;
    }

    .hero .actions .button:not(.secondary),
    .hero .actions .button.secondary {
        min-width: 0;
    }

    .context-cta {
        gap: 16px;
        padding: 18px;
    }

    .context-cta > .button {
        width: 100%;
    }

    .hero-meta {
        margin-top: 14px;
        font-size: .8125rem;
    }

    .hero-art {
        min-height: 334px;
        border-radius: 16px;
        padding: 22px;
    }

    .hero-art > img,
    .hero-art::before {
        border-radius: 15px;
    }

    .hero-art-copy strong {
        font-size: 1.625rem;
    }

    .hero-art-label {
        gap: 12px;
        margin-top: 112px;
    }

    .hero-art-label strong {
        font-size: 1.4375rem;
    }

    .quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-grid a {
        gap: 7px;
        padding: 10px;
        font-size: .875rem;
    }

    .showcase-section {
        padding-bottom: 26px;
    }

    .showcase-head {
        margin-bottom: 10px;
    }

    .game-strip {
        grid-auto-columns: 137px;
        gap: 11px;
    }

    .reading-layout {
        gap: 30px;
        padding-block: 28px 46px;
    }

    .toc ol {
        columns: 1;
    }

    .article-section {
        margin-top: 34px;
        padding-top: 26px;
    }

    .article-section h2 {
        margin-bottom: 18px;
        font-size: 1.75rem;
    }

    .article-section h3 {
        margin-top: 25px;
        font-size: 1.375rem;
    }

    .table-wrap {
        margin-top: 22px;
        border-radius: 10px;
    }

    .table-wrap th,
    .table-wrap td {
        padding: 13px 15px;
    }

    .table-wrap caption {
        padding: 14px 15px;
    }

    .note {
        padding: 16px;
    }

    .steps li {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 12px;
    }

    .steps li::before {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .faq summary {
        padding: 16px;
        font-size: 1rem;
    }

    .faq p {
        padding: 0 16px 18px;
    }

    .closing {
        padding: 23px 21px;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .footer-links {
        gap: 0;
    }

    .footer-links a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .site-footer {
        padding-top: 33px;
        padding-bottom: calc(var(--mobile-clearance, 92px) + 25px);
    }

    .mobile-actions {
        display: grid;
        position: fixed;
        z-index: 40;
        right: 0;
        bottom: 0;
        left: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        border-top: 1px solid #4b6282;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: var(--night);
    }

    .mobile-actions .button {
        min-height: 46px;
        padding: 10px;
        font-size: .9375rem;
    }

    .consent-panel {
        bottom: var(--mobile-clearance, calc(92px + env(safe-area-inset-bottom)));
        left: 16px;
        width: calc(100% - 32px);
        max-height: calc(100dvh - var(--mobile-clearance, 92px) - 24px);
        padding: 20px;
    }

    .notice-dialog {
        padding-inline: 22px;
    }
}

@media (max-height: 560px) {
    .js .site-header {
        position: relative;
    }

    .toc {
        position: static;
    }

    .toc ol {
        max-height: none;
    }

    .mobile-actions {
        position: static;
    }

    .site-footer {
        padding-bottom: 28px;
    }

    .consent-panel {
        bottom: 16px;
        max-height: calc(100dvh - 32px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .game-strip {
        scroll-snap-type: none;
    }
}

@media print {
    .site-header,
    .mobile-actions,
    .hero .actions,
    .hero-art,
    .quick-strip,
    .showcase-section,
    .toc,
    .back-to-contents,
    .consent-panel,
    .closing,
    .context-cta,
    dialog {
        display: none !important;
    }

    body,
    .hero,
    .site-footer {
        color: black;
        background: white;
        font-size: 11pt;
    }

    .hero *,
    .site-footer * {
        color: black;
    }

    .container {
        width: 100%;
    }

    .hero-grid,
    .reading-layout,
    .footer-top {
        display: block;
    }

    .table-wrap {
        overflow: visible;
        break-inside: avoid;
    }

    .table-wrap table {
        min-width: 0;
        font-size: 10pt;
    }

    .article-section h2,
    .article-section h3 {
        break-after: avoid;
    }
}

.quick-grid a > span {
    flex: 0 0 auto;
    white-space: nowrap;
}
