:root {
    color-scheme: light;
    --ink: #172335;
    --muted: #56647a;
    --paper: #f5f7fb;
    --white: #ffffff;
    --line: #dce3ed;
    --blue: #0064ff;
    --blue-dark: #0054be;
    --sky: #92c5ff;
    --night: #20242d;
    --surface: #272d39;
    --radius: 14px;
    --width: 1240px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-clearance, 106px);
    scroll-padding-bottom: 24px;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    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: underline;
}
button, input, select, textarea {
    font: inherit;
}
button, a {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
button:disabled {
    cursor: wait;
    opacity: .6;
}
:focus-visible {
    outline: 3px solid #b77400;
    outline-offset: 4px;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
p, h1, h2, h3, figure {
    margin: 0;
}
p + p {
    margin-top: 18px;
}
h1, h2, h3 {
    line-height: 1.16;
    letter-spacing: -.025em;
    text-wrap: balance;
}
h1 {
    font-size: clamp(36px, 4.8vw, 64px);
    font-weight: 780;
}
h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 750;
}
h3 {
    font-size: 23px;
}
.container {
    width: min(var(--width), calc(100% - 64px));
    margin-inline: auto;
}
.skip-link {
    position: fixed;
    left: 12px;
    top: 0;
    max-width: calc(100% - 24px);
    transform: translateY(calc(-100% - 20px));
    padding: 12px;
    background: white;
    z-index: 200;
}
.skip-link:focus {
    top: 10px;
    transform: translateY(0);
}
.site-header {
    background: var(--night);
    color: white;
    border-bottom: 1px solid #33405a;
    position: relative;
    top: 0;
    z-index: 30;
}
.js .site-header {
    position: sticky;
}
.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: white;
}
.brand img {
    width: 140px;
}
.brand-label {
    border-left: 1px solid #4e5a6b;
    padding-left: 16px;
    font-size: 13px;
    line-height: 1.4;
    color: #b8c7dc;
    max-width: 116px;
}
.primary-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    flex-wrap: wrap;
}
.primary-nav a {
    color: #d3deed;
    text-decoration: none;
    font-size: 15px;
    padding-block: 12px;
    min-height: 44px;
}
.primary-nav a[aria-current="page"], .primary-nav a:hover {
    color: white;
    text-decoration: underline;
    text-underline-offset: 8px;
}
.actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--blue);
    color: white;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    transition: background .18s, border-color .18s;
}
.button:hover {
    background: var(--blue-dark);
    color: white;
    text-decoration: none;
}
.button:active {
    background: #004dad;
}
.button.secondary {
    background: transparent;
    border-color: #60718b;
    color: white;
}
.button.secondary:hover {
    border-color: white;
    background: #ffffff0d;
}
.button.secondary:active {
    background: #ffffff1f;
}
.button.outline {
    background: white;
    color: var(--blue-dark);
    border-color: var(--line);
}
.button.outline:hover, .button.outline:active {
    background: #eaf1fb;
    color: var(--blue-dark);
    border-color: #97b5df;
}
.menu-button {
    display: none;
    border: 1px solid #60718b;
    border-radius: 7px;
    color: white;
    background: transparent;
    padding: 10px 12px;
    min-height: 44px;
    font-size: 14px;
}
.hero {
    background: var(--night);
    color: white;
    padding: 60px 0 54px;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 58px;
    align-items: center;
}
.eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: .095em;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 20px;
}
.hero h1 {
    max-width: 630px;
}
.hero-intro {
    color: #c4d0e0;
    font-size: 18px;
    line-height: 1.65;
    max-width: 590px;
    margin-top: 24px;
}
.hero .actions {
    margin-top: 30px;
}
.hero-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #a8bbd3;
    font-size: 13px;
    margin-top: 24px;
}
.hero-art {
    position: relative;
    border: 1px solid #375879;
    border-radius: 18px;
    overflow: hidden;
    background: #182c47;
    text-decoration: none;
    color: white;
    display: block;
    justify-self: end;
    width: 100%;
    max-width: 470px;
}
.hero-art img {
    width: 100%;
}
.hero-art-label {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 22px 26px;
}
.hero-art-label small {
    display: block;
    font-size: 13px;
    color: #bacce2;
    margin-bottom: 3px;
}
.hero-art-label strong {
    font-size: 24px;
    line-height: 1.3;
}
.hero-art-label b {
    font-size: 25px;
    font-weight: 400;
}
.hero-art:hover {
    border-color: #90c3ff;
    text-decoration: none;
}
.hero-art:active {
    border-color: white;
    background: #213c60;
}
.quick-strip {
    background: #1c2b42;
    border-top: 1px solid #334963;
    color: white;
}
.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.quick-grid a {
    color: white;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 26px;
    border-right: 1px solid #3a4c65;
    font-size: 16px;
    text-decoration: none;
}
.quick-grid a:first-child {
    padding-left: 0;
}
.quick-grid a:last-child {
    border: 0;
}
.quick-grid a span {
    color: #8ab5eb;
    font-size: 13px;
}
.quick-grid a:hover {
    color: #9fd1ff;
}
.reading-layout {
    display: grid;
    grid-template-columns: minmax(0, 880px) 260px;
    gap: 66px;
    align-items: start;
    padding-block: 48px 72px;
}
.article {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}
.toc {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: calc(var(--header-clearance, 106px) + 8px);
    border-top: 3px solid var(--blue);
    font-size: 14px;
}
.toc summary {
    font-size: 16px;
    font-weight: 750;
    padding: 16px 0;
    cursor: pointer;
}
.toc ol {
    margin: 0;
    padding: 0 0 8px;
    list-style: none;
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}
.toc a {
    display: block;
    padding: 8px 0;
    color: #43516a;
    text-decoration: none;
    line-height: 1.45;
}
.toc a:hover, .toc a[aria-current="location"] {
    color: var(--blue-dark);
    text-decoration: underline;
}
.article-section {
    border-top: 1px solid var(--line);
    padding-top: 38px;
    margin-top: 46px;
    scroll-margin-top: 104px;
}
.article-section:first-child {
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
}
.section-number {
    display: inline-block;
    color: var(--blue-dark);
    font-size: 13px;
    letter-spacing: .07em;
    margin-bottom: 12px;
    font-weight: 750;
}
.article-section h2 {
    margin-bottom: 24px;
    max-width: 790px;
}
.article-section h3 {
    margin: 30px 0 16px;
}
.article-section > p {
    max-width: 790px;
}
.table-wrap {
    margin-block: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.6;
}
caption {
    text-align: left;
    padding: 16px 20px;
    background: #eaf1fb;
    font-size: 14px;
    font-weight: 700;
    color: #233b60;
}
th, td {
    text-align: left;
    vertical-align: top;
    padding: 15px 18px;
    border-bottom: 1px solid #e3e8f0;
    overflow-wrap: anywhere;
}
thead th {
    background: #f1f5fb;
    font-size: 13px;
    color: #4a5b73;
    font-weight: 700;
}
tbody th {
    min-width: 140px;
    width: 27%;
    font-weight: 650;
    color: #213d65;
}
tr:last-child td, tr:last-child th {
    border-bottom: 0;
}
.note {
    margin-block: 24px;
    padding: 20px 22px;
    background: #eaf1fb;
    border-left: 3px solid var(--blue);
    border-radius: 0 8px 8px 0;
    font-size: 16px;
    color: #304561;
}
.steps {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    counter-reset: steps;
    display: grid;
    gap: 16px;
}
.steps li {
    counter-increment: steps;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 16px;
}
.steps li::before {
    content: counter(steps, decimal-leading-zero);
    background: #e4edfb;
    color: var(--blue-dark);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 750;
}
.steps strong {
    display: block;
    margin: 3px 0 5px;
}
.steps p {
    font-size: 16px;
    color: #4b5b72;
}
.screenshot {
    margin: 26px 0;
}
.screenshot a {
    display: block;
    border: 1px solid #c4cedd;
    border-radius: 14px;
    overflow: hidden;
    background: #202632;
}
.screenshot figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}
.game-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin: 26px 0;
}
.game-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}
.game-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}
.game-card figcaption {
    padding: 13px;
}
.game-card strong {
    display: block;
    font-size: 15px;
    line-height: 1.4;
}
.game-card small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}
.game-card a {
    display: inline-block;
    padding-top: 10px;
    font-size: 14px;
    font-weight: 650;
}
.faq {
    border: 1px solid var(--line);
    background: white;
    border-radius: 12px;
    margin: 12px 0;
}
.faq summary {
    cursor: pointer;
    padding: 19px 22px;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.5;
}
.faq[open] summary {
    color: var(--blue-dark);
}
.faq p {
    padding: 0 22px 22px;
    font-size: 16px;
}
.closing {
    background: #e2edfb;
    padding: 38px;
    border-radius: 16px;
    margin-top: 42px;
}
.closing p {
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}
.sources-list {
    padding-left: 22px;
    font-size: 15px;
}
.sources-list li {
    margin: 12px 0;
}
.site-footer {
    background: var(--night);
    color: #acbad0;
    padding: 42px 0 30px;
    font-size: 14px;
}
.footer-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 35px;
    border-bottom: 1px solid #36445b;
    padding-bottom: 32px;
    margin-bottom: 27px;
}
.footer-top img {
    width: 145px;
}
.footer-copy {
    max-width: 510px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.footer-links a, .site-footer a {
    color: #d5e7ff;
}
.risk-line {
    display: flex;
    gap: 16px;
    align-items: start;
    margin-bottom: 22px;
}
.risk-line strong {
    border: 1px solid #596b87;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: grid;
    place-items: center;
}
.copyright {
    font-size: 12px;
    color: #8397b3;
}
.mobile-actions {
    display: none;
}
.image-dialog {
    width: min(1400px, 95vw);
    max-height: 94vh;
    border: 0;
    border-radius: 12px;
    background: #132035;
    padding: 52px 16px 16px;
    color: white;
}
.image-dialog::backdrop {
    background: #07101be8;
}
.image-dialog img {
    max-height: 77vh;
    width: 100%;
    object-fit: contain;
}
.dialog-close {
    position: absolute;
    top: 8px;
    right: 12px;
    color: white;
    border: 1px solid #6c7f9d;
    border-radius: 6px;
    padding: 6px 15px;
    background: transparent;
    min-height: 38px;
    font-size: 14px;
}
.notice-dialog {
    max-width: 460px;
    width: calc(100% - 32px);
    border: 0;
    border-radius: 15px;
    padding: 55px 30px 30px;
    background: var(--night);
    color: white;
}
.notice-dialog p {
    margin-bottom: 22px;
}
.notice-dialog::backdrop {
    background: #07101bbf;
}
.legal-page {
    max-width: 860px;
    margin: 56px auto;
    padding-inline: 24px;
}
.legal-page h1 {
    font-size: 38px;
    margin-bottom: 28px;
}
.legal-page h2 {
    font-size: 24px;
    margin: 28px 0 14px;
}
@media (max-width: 1160px) {
    .brand-label {
        display: none;
    }
    .header-inner {
        gap: 22px;
    }
    .reading-layout {
        gap: 36px;
        grid-template-columns: minmax(0, 1fr) 230px;
    }
    .hero-grid {
        gap: 32px;
    }
    .primary-nav {
        gap: 18px;
    }
}
@media (max-width: 900px) {
    .container {
        width: calc(100% - 40px);
    }
    .header-inner {
        flex-wrap: wrap;
        gap: 16px;
        padding-block: 10px;
        min-height: 78px;
    }
    .header-actions {
        margin-left: auto;
    }
    .primary-nav {
        order: 4;
        width: 100%;
        justify-content: center;
    }
    .js .primary-nav {
        display: none;
    }
    .js .menu-button {
        display: block;
    }
    .js .primary-nav[data-open="true"] {
        display: flex;
    }
    .hero {
        padding: 38px 0;
    }
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px;
    }
    .hero-art-label {
        padding: 18px;
    }
    .hero-art-label strong {
        font-size: 20px;
    }
    .reading-layout {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }
    .toc {
        position: static;
        width: 100%;
        background: white;
        border-radius: 0 0 10px 10px;
        padding: 0 20px;
    }
    .toc ol {
        columns: 2;
        max-height: none;
        column-gap: 25px;
    }
.toc li {
        break-inside: avoid;
    }
    .article {
        width: 100%;
    }
    .quick-grid a {
        padding: 18px;
        gap: 10px;
        font-size: 14px;
    }
    .footer-top {
        flex-wrap: wrap;
    }
}
@media (max-width: 620px) {
    html {
        scroll-padding-bottom: var(--mobile-clearance, calc(88px + env(safe-area-inset-bottom)));
    }
    body {
        font-size: 16px;
    }
    .container {
        width: calc(100% - 32px);
    }
    .header-inner {
        min-height: 74px;
    }
    .brand img {
        width: 128px;
    }
    .header-actions {
        display: none;
    }
    .menu-button {
        margin-left: auto;
    }
    .primary-nav {
        gap: 22px;
        flex-wrap: wrap;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .hero h1 {
        font-size: clamp(35px, 9.8vw, 48px);
    }
    .hero-intro {
        font-size: 16px;
        margin-top: 20px;
    }
    .hero-art {
        justify-self: start;
        max-width: 410px;
    }
    .hero .actions {
        margin-top: 23px;
    }
    .hero-meta {
        gap: 6px 18px;
    }
    .eyebrow {
        margin-bottom: 16px;
        font-size: 12px;
    }
    .quick-grid {
        grid-template-columns: 1fr;
    }
    .quick-grid a {
        border-right: 0;
        border-bottom: 1px solid #3a4c65;
        padding: 15px 0;
        font-size: 15px;
    }
    .quick-grid a span {
        width: 28px;
    }
    .reading-layout {
        padding-top: 30px;
    }
    .toc ol {
        columns: 1;
    }
    .article-section {
        padding-top: 30px;
        margin-top: 34px;
    }
    .table-wrap {
        border-radius: 10px;
    }
    table, caption, tbody, tr, td, tbody th {
        display: block;
        width: 100%;
    }
    thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
    tr {
        padding: 16px;
        border-bottom: 1px solid var(--line);
    }
    tr:last-child {
        border-bottom: 0;
    }
    td, tbody th {
        border: 0;
        padding: 5px 0;
        min-width: 0;
    }
    td::before {
        content: attr(data-label) ": ";
        display: inline;
        font-weight: 650;
        color: #53647d;
    }
    tbody th {
        font-size: 16px;
        padding-bottom: 9px;
    }
    .game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .closing {
        padding: 27px 22px;
    }
    .footer-top {
        flex-direction: column;
        gap: 23px;
    }
    .site-footer {
        padding-bottom: calc(var(--mobile-clearance, 80px) + 28px);
    }
    .mobile-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        position: fixed;
        bottom: 0;
        width: 100%;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: #20242df5;
        border-top: 1px solid #526483;
        z-index: 40;
    }
    .mobile-actions .button {
        min-height: 44px;
        padding: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
}

.back-to-contents {
    display: inline-block;
    font-size: 14px;
    margin-top: 20px;
    padding-block: 8px;
}
.privacy-note {
    margin: 20px 0;
}
.privacy-note summary {
    cursor: pointer;
    padding-block: 10px;
    min-height: 44px;
}
.privacy-note p {
    max-width: 850px;
    margin-top: 14px;
}
.text-button {
    color: inherit;
    background: transparent;
    border: 1px solid #73839a;
    padding: 9px 14px;
    margin-top: 12px;
    border-radius: 6px;
    min-height: 44px;
}
.text-button:hover, .text-button:active {
    border-color: white;
    background: #ffffff14;
}
.consent-panel {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 60;
    width: min(460px, calc(100% - 48px));
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    padding: 24px;
    border: 1px solid #bdcce1;
    border-radius: 14px;
    background: white;
    box-shadow: 0 12px 60px #182b4540;
    font-size: 15px;
}
.consent-panel p {
    margin: 10px 0 18px;
}
.notice-dialog {
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
}
.notice-dialog h2 {
    margin-bottom: 18px;
    font-size: 28px;
}
.notice-dialog::backdrop {
    backdrop-filter: blur(2px);
}
[hidden] {
    display: none !important;
}
@media (max-width: 620px) {
    .consent-panel {
        bottom: calc(88px + env(safe-area-inset-bottom));
        max-height: calc(100dvh - 118px - env(safe-area-inset-bottom));
    }
}
