/* Dragon Money / 2.1. Local assets, system typography, server-rendered content. */
:root {
    --page: #161924;
    --panel: #1e2230;
    --panel-soft: #242939;
    --line: #343a4b;
    --text: #f4f5fa;
    --muted: #adb4c7;
    --gold: #ffc93d;
    --gold-light: #ffdc7c;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font: 16px/1.6 "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

button, a, input, select, summary, textarea {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 4px;
}

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

h1, h2, h3 {
    overflow-wrap: anywhere;
    line-height: 1.14;
    letter-spacing: -.035em;
}

h1 {
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 800;
}

h2 {
    font-size: clamp(25px, 2.3vw, 34px);
    font-weight: 750;
}

h3 {
    font-size: 20px;
}

p {
    color: var(--muted);
}

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

.sr-only, .skip:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip:focus {
    position: fixed;
    inset: 8px auto auto 8px;
    padding: 12px 18px;
    color: #151722;
    background: var(--gold);
    z-index: 100;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #161924f5;
    border-bottom: 1px solid #ffffff0b;
    backdrop-filter: blur(18px);
}

.header-inner {
    height: 84px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.brand-mark {
    width: 44px;
    height: 44px;
}

.brand-wordmark {
    width: 104px;
    height: 41px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 23px;
    align-items: center;
    margin-right: auto;
}

.main-nav a {
    font-size: 14px;
    font-weight: 600;
    color: #c7ccda;
    white-space: nowrap;
}

.main-nav a:hover, .main-nav a[aria-current] {
    color: var(--gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.header-actions .btn {
    min-height: 42px;
    padding: 10px 18px;
    font-size: 14px;
}

.telegram-link {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--muted);
}

.telegram-link:hover {
    color: var(--gold);
}

.menu-button {
    display: none;
    background: var(--panel-soft);
    color: white;
    border: 1px solid var(--line);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
}

.main-nav .nav-mobile-help {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    min-height: 52px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--gold);
    color: #20202a;
    font-weight: 750;
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
    transition: background .18s, transform .18s, box-shadow .18s;
}

.btn:hover {
    background: var(--gold-light);
    box-shadow: 0 6px 22px #e9ac1724;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn.secondary {
    color: #f5f6fb;
    background: #2a2e3b;
    border-color: #424657;
}

.btn.secondary:hover {
    background: #363b4c;
    box-shadow: none;
}

.btn svg {
    width: 19px;
    height: 19px;
}

.text-link {
    color: var(--gold-light);
    text-underline-offset: 4px;
}

.text-link:hover {
    text-decoration: underline;
}

a.text-link {
    display: inline;
}

.section-head > .text-link, .section-links > .text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 650;
}

.text-link svg {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-light);
    font-size: 11px;
    letter-spacing: .15em;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.eyebrow-line {
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 28px;
    min-height: 424px;
    padding: 36px 42px;
    margin-top: 24px;
    overflow: hidden;
    position: relative;
    border-radius: 24px;
    border: 1px solid #35364c;
    background: radial-gradient(ellipse at 80% 10%, #55502b5c, transparent 49%), linear-gradient(125deg, #26293a, #202333 58%, #242638);
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero h1 {
    max-width: 680px;
    font-size: clamp(33px, 3.7vw, 52px);
}

.hero-copy > p {
    margin-top: 20px;
    max-width: 550px;
    font-size: 16px;
    color: #c1c6d5;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 23px;
}

.hero-links a {
    font-size: 12px;
    color: #bbc1d1;
    text-decoration: underline;
    text-decoration-color: #727889;
    text-underline-offset: 4px;
}

.hero-links a:hover {
    color: var(--gold);
}

.hero-art {
    position: relative;
    min-width: 0;
    width: 100%;
    height: 344px;
}

.hero-halo {
    position: absolute;
    left: 10%;
    top: 10%;
    width: 80%;
    height: 83%;
    border-radius: 50%;
    background: radial-gradient(ellipse, #ffcd5e55, #af854713 60%, transparent 71%);
}

.hero-card {
    position: absolute;
    width: 42%;
    max-width: 194px;
    filter: drop-shadow(0 20px 15px #0708117a);
}

.hero-card img {
    width: 100%;
    height: auto;
    border: 1px solid #dfc98561;
    border-radius: 18px;
}

.hero-card-left {
    left: 4%;
    top: 57px;
    transform: rotate(-15deg);
}

.hero-card-right {
    right: 2%;
    top: 53px;
    transform: rotate(15deg);
}

.hero-card-center {
    left: 28%;
    top: 14px;
    transform: rotate(1deg);
    z-index: 2;
}

.art-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    font-size: 9px;
    font-weight: 650;
    color: #d8c693;
    letter-spacing: .2em;
}

.quick-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.quick-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 21px;
    background: var(--panel);
    border: 1px solid #313647;
    border-radius: 14px;
    transition: border-color .18s, background .18s;
}

.quick-card:hover {
    border-color: #aa8d45;
    background: #252939;
}

.quick-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    color: var(--gold);
    background: #57472345;
    border-radius: 12px;
}

.quick-card > span:nth-child(2) {
    flex: 1;
    min-width: 0;
}

.quick-card strong {
    display: block;
    font-size: 15px;
    line-height: 1.4;
}

.quick-description {
    display: block;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.55;
    margin-top: 4px;
}

.quick-card > svg {
    width: 16px;
    color: #777f94;
}

.section {
    margin-top: 56px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-head .eyebrow {
    margin-bottom: 8px;
}

.section-head p {
    margin-top: 10px;
    font-size: 14px;
    max-width: 770px;
}

.section-head > .text-link {
    flex-shrink: 0;
    margin-bottom: 4px;
}

.lobby-controls {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.game-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    background: #11141d;
    border: 1px solid #292e3e;
    border-radius: 12px;
}

.game-tabs button {
    border: 0;
    color: var(--muted);
    border-radius: 8px;
    padding: 10px 16px;
    background: transparent;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
}

.game-tabs button[aria-pressed="true"] {
    background: #34323a;
    color: var(--gold-light);
}

.game-tabs span {
    font-size: 11px;
    color: #beb9a8;
    margin-left: 5px;
}

.search {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 286px;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #202432;
    color: #838ca2;
}

.search svg {
    width: 18px;
    height: 18px;
}

.search input {
    min-width: 0;
    width: 100%;
    outline-offset: 6px;
    background: transparent;
    border: 0;
    color: white;
    font-size: 13px;
}

.search input::placeholder {
    color: #a8afc1;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 25px 18px;
}

.game-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.game-cover {
    position: relative;
    overflow: hidden;
    border-radius: 13px;
    background: #2e3343;
    aspect-ratio: 427/575;
    box-shadow: 0 4px 12px #08091130;
}

.game-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.game-card:hover .game-cover img {
    transform: scale(1.045);
}

.game-format {
    position: absolute;
    left: 10px;
    top: 10px;
    background: #171723d9;
    border: 1px solid #ffffff25;
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 8px;
    letter-spacing: .08em;
    font-weight: 750;
}

.game-play {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    background: #070b20a3;
    opacity: 0;
    transition: opacity .2s;
    gap: 12px;
    color: white;
}

.game-play svg {
    width: 52px;
    height: 52px;
    padding: 12px;
    background: var(--gold);
    color: #1d2028;
    border-radius: 50%;
}

.game-play span {
    font-size: 12px;
    font-weight: 650;
}

.game-card:hover .game-play, .game-card:focus-visible .game-play {
    opacity: 1;
}

.game-card h3 {
    font-size: 14px;
    letter-spacing: -.02em;
    line-height: 1.35;
    margin: 12px 0 4px;
    font-weight: 700;
}

.game-card p {
    font-size: 11px;
    color: #9199b0;
}

.game-card small {
    font-size: 11px;
    color: #b6bcd0;
    line-height: 1.5;
    margin-top: 7px;
}

.game-foot {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.empty-result {
    border: 1px dashed var(--line);
    padding: 35px 24px;
    text-align: center;
    border-radius: var(--radius);
}

.provider-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 20px;
    margin-top: 34px;
    padding: 27px 15px;
    border-block: 1px solid #ffffff0c;
}

.provider-row img {
    width: 118px;
    height: 33px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 1;
}

.originals-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.original-card {
    position: relative;
    border: 1px solid #3c3749;
    overflow: hidden;
    border-radius: 16px;
    background: var(--panel);
}

.original-card > img {
    width: 100%;
    aspect-ratio: 764/324;
    object-fit: cover;
    opacity: .85;
    transition: opacity .2s;
}

.original-card:hover > img {
    opacity: 1;
}

.original-card > div {
    padding: 18px 48px 20px 20px;
}

.original-card h3 {
    font-size: 18px;
}

.original-card p {
    font-size: 12px;
    margin-top: 7px;
}

.original-card > span {
    position: absolute;
    bottom: 31px;
    right: 18px;
    color: var(--gold);
}

.reading-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 52px;
    margin-top: 72px;
}

/* The entire sidebar is sticky. Its children remain in normal flow. */
.reading-aside {
    min-width: 0;
    align-self: start;
    position: sticky;
    top: 110px;
    display: grid;
    gap: 24px;
    max-height: calc(100vh - 134px);
    max-height: calc(100dvh - 134px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: #555e73 transparent;
    padding-right: 8px;
}

.reading-aside .toc {
    position: static;
}

.toc {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid #363b4b;
    padding-left: 18px;
}

.toc > strong {
    font-size: 11px;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: #959db1;
    margin-bottom: 10px;
}

.toc a {
    display: block;
    font-size: 13px;
    line-height: 1.55;
    padding: 9px 0;
    color: #b8bfd0;
}

.toc a:hover, .toc a[aria-current] {
    color: var(--gold-light);
}

.aside-help {
    border: 1px solid #34394a;
    border-radius: 14px;
    padding: 21px;
    margin-top: 0;
    background: #202432;
}

.aside-help > svg {
    color: var(--gold);
    margin-bottom: 12px;
}

.aside-help > strong {
    display: block;
    font-size: 14px;
    line-height: 1.4;
}

.aside-help p {
    margin: 8px 0 15px;
    font-size: 12px;
}

.aside-help a {
    font-size: 12px;
}

.article-area {
    min-width: 0;
}

.content-block {
    padding: 0 0 42px;
    margin: 0 0 42px;
    border-bottom: 1px solid #34394a;
    scroll-margin-top: 110px;
}

.content-block h2 {
    margin-bottom: 22px;
}

.content-block p {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: #bec5d5;
}

.content-block p:first-of-type {
    margin-top: 0;
}

.content-block .section-head h2 {
    margin-bottom: 0;
}

.section-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 22px;
}

.steps {
    counter-reset: steps;
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
}

.steps li {
    counter-increment: steps;
    position: relative;
    padding: 2px 0 21px 43px;
    color: #c0c7d8;
    font-size: 15px;
    line-height: 1.8;
}

.steps li:last-child {
    padding-bottom: 0;
}

.steps li::before {
    content: counter(steps, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 12px;
    font-weight: 750;
    color: var(--gold-light);
    width: 27px;
    height: 27px;
    background: #4d432955;
    border: 1px solid #63543580;
    border-radius: 8px;
    text-align: center;
    line-height: 25px;
}

.data-table {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #393f50;
    border-radius: 12px;
    margin-top: 25px;
    overscroll-behavior-inline: contain;
}

table {
    border-collapse: collapse;
    width: 100%;
    min-width: 560px;
    font-size: 13px;
    line-height: 1.7;
}

th, td {
    padding: 15px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #343a4b;
}

thead th {
    background: #2a3041;
    font-weight: 650;
    color: #eef0f7;
    font-size: 12px;
}

tbody th {
    width: 25%;
    font-weight: 650;
    color: #eaedf6;
    background: #1e2331;
}

td {
    color: #bdc5d6;
    background: #1b202d;
}

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

.content-block p.table-hint {
    display: none;
    color: #8992a9;
    font-size: 11px;
    margin-top: 9px;
}

.content-block .notice {
    padding: 16px 19px;
    border: 1px solid #64553970;
    background: #77603114;
    border-radius: 10px;
    font-size: 13px;
    color: #c7c3b8;
    line-height: 1.75;
    margin-top: 23px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.review {
    background: #222736;
    border: 1px solid #363d50;
    border-radius: 13px;
    padding: 18px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.avatar {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #3a3f50;
    color: #dbceac;
    font-size: 12px;
    font-weight: 600;
}

.review-author strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 12px;
}

.rating {
    font-size: 11px;
    color: var(--gold-light);
    margin-left: auto;
    white-space: nowrap;
}

blockquote {
    margin: 14px 0 0;
    font-size: 13px;
    color: #c3cad9;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

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

.review-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
}

.review-summary > strong {
    font-size: 44px;
    line-height: 1;
    color: var(--gold);
}

.review-summary > span {
    font-size: 12px;
    color: #b2bad0;
}

.review-summary > a {
    font-size: 13px;
    margin-left: 12px;
}

.review-filters {
    display: flex;
    gap: 20px;
    align-items: center;
}

.review-filters .field {
    min-width: 190px;
}

#review-count {
    font-size: 12px;
    color: var(--muted);
}

.faq {
    border-top: 1px solid var(--line);
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 21px 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary span {
    color: var(--gold-light);
    font-size: 23px;
    flex-shrink: 0;
    font-weight: 400;
    line-height: 1;
}

.faq details[open] summary span {
    transform: rotate(45deg);
}

.faq details p {
    margin: 0 0 23px;
    font-size: 14px;
}

.inner-hero {
    padding: 38px 0 0;
    max-width: 1000px;
}

.crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #8994ac;
    margin-bottom: 38px;
}

.crumbs a {
    color: #c7ccda;
}

.crumbs a:hover {
    color: var(--gold);
}

.inner-hero h1 {
    max-width: 940px;
    font-size: clamp(34px, 3.8vw, 50px);
}

.inner-hero > p {
    font-size: 17px;
    line-height: 1.8;
    margin-top: 22px;
    max-width: 810px;
}

.inner-layout {
    margin-top: 48px;
}

.related-pages {
    background: #222737;
    border: 1px solid #3d4053;
    border-radius: 14px;
    padding: 26px;
    margin-bottom: 52px;
}

.related-pages .eyebrow {
    color: #939db5;
    font-size: 10px;
}

.related-pages .section-links {
    margin-top: 0;
}

.calculator {
    padding: 24px;
    background: #242a3a;
    border-radius: 15px;
    border: 1px solid #464a5d;
    margin: 18px 0 42px;
}

.calculator h2 {
    font-size: 26px;
}

.calculator p {
    font-size: 14px;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    margin-bottom: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 14px 0;
    color: #c1c9db;
    font-size: 13px;
}

.field input, .field select, .field textarea {
    min-width: 0;
    width: 100%;
    background: #161c2a;
    border: 1px solid #414b62;
    color: #f6f7fb;
    border-radius: 8px;
    padding: 11px 13px;
    line-height: 1.6;
}

.field textarea {
    min-height: 120px;
    resize: vertical;
}

.field small {
    color: #a9b3c8;
    line-height: 1.65;
}

.calc-result {
    display: block;
    background: #151d2c;
    padding: 17px 20px;
    margin-top: 20px;
    font-size: 16px;
    border-radius: 10px;
    color: #ffe1a0;
    border: 1px solid #535345;
    line-height: 1.7;
}

.calc-result.error {
    color: #ffb2a5;
    border-color: #874d49;
}

.promo-card {
    border-radius: 18px;
    border: 1px solid #a08b50;
    padding: 28px;
    margin-bottom: 45px;
    background: linear-gradient(135deg, #3e362b, #252a3a);
}

.promo-card h2 {
    margin-bottom: 20px;
}

.promo-code {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.promo-code code {
    font-size: 24px;
    letter-spacing: .08em;
    color: var(--gold);
}

.promo-terms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 20px 0;
}

.promo-terms span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.promo-terms strong {
    font-size: 14px;
    font-weight: 600;
}

.promo-card > .btn {
    margin-top: 20px;
}

.footer {
    margin-top: 32px;
    padding: 48px 0 28px;
    border-top: 1px solid #353949;
    background: #121620;
}

.footer-top {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 65px;
}

.footer-brand > p {
    font-size: 12px;
    margin-top: 18px;
    color: #8993a9;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.footer-links strong {
    display: block;
    font-size: 12px;
    margin: 0 0 13px;
    color: #d7dce8;
}

.footer-links a {
    display: block;
    font-size: 12px;
    margin: 8px 0;
    color: #919bb1;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-disclosure {
    border-top: 1px solid #2b3142;
    margin-top: 32px;
    padding-top: 26px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.age-badge {
    border: 1px solid #4e556a;
    border-radius: 10px;
    color: #bbc1d3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    font-size: 13px;
}

.footer-disclosure p {
    color: #939db2;
    font-size: 11px;
    line-height: 1.75;
    margin-bottom: 8px;
}

.footer-disclosure a {
    color: #c2cbdc;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    color: #828da5;
    font-size: 11px;
}

.mobile-bottom {
    display: none;
}

.toast {
    position: fixed;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 22px;
    background: #393f51;
    border: 1px solid #777669;
    color: #fff;
    z-index: 100;
    border-radius: 12px;
    font-size: 14px;
    box-shadow: 0 12px 50px #0005;
    max-width: calc(100% - 30px);
}

/* Administration shares the same shell and typography. */
.admin-wrap {
    width: min(1080px, calc(100% - 32px));
    margin: 36px auto;
}

.admin-card {
    background: #202431;
    border: 1px solid #353949;
    padding: 28px;
    border-radius: 14px;
    margin-top: 22px;
}

.admin-card h1 {
    font-size: 32px;
    margin-top: 22px;
}

.admin-card h2 {
    font-size: 25px;
}

.admin-card p {
    margin: 14px 0;
    font-size: 14px;
}

.admin-card fieldset {
    border: 1px solid #424859;
    border-radius: 12px;
    padding: 10px 22px 23px;
    margin: 22px 0;
    min-width: 0;
}

.admin-card legend {
    font-weight: 650;
    font-size: 14px;
    padding: 0 8px;
    color: var(--gold-light);
}

.admin-status {
    padding: 12px 15px;
    border-radius: 8px;
    background: #343b4f;
    margin: 16px 0;
}

.admin-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.admin-nav .btn {
    padding: 10px 17px;
    min-height: 44px;
}

.admin-nav a[aria-current] {
    border-color: var(--gold);
    color: var(--gold-light);
}

.admin-card .toc {
    margin: 24px 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 25px;
}

.admin-tools {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    margin: 24px 0;
}

.admin-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.admin-head h1 {
    font-size: 32px;
}

.auth-card {
    max-width: 490px;
    margin: 70px auto;
}

.error {
    color: #ffb2a5;
}

.code-tip {
    padding: 18px;
    background: #141b28;
    border-radius: 10px;
}

@media (min-width: 1450px) {
    .hero {
        min-height: 465px;
    }
    .hero-art {
        height: 372px;
    }
    .hero-card {
        max-width: 215px;
    }
    .hero h1 {
        font-size: 56px;
    }
}

@media (max-width: 1200px) {
    .header-inner {
        gap: 22px;
    }
    .main-nav {
        gap: 15px;
    }
    .main-nav a {
        font-size: 12px;
    }
    .header-actions .btn {
        padding: 10px 13px;
    }
    .telegram-link {
        display: none;
    }
    .hero {
        padding: 32px;
    }
    .hero-actions .btn {
        font-size: 13px;
        padding: 14px 18px;
    }
    .hero-art {
        height: 310px;
    }
    .hero-card {
        width: 43%;
    }
    .quick-card {
        padding: 17px 15px;
        gap: 12px;
    }
    .quick-card > svg {
        display: none;
    }
    .game-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .reading-layout {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 30px;
    }
    .review-grid:not(.all-reviews) {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 190px 1fr;
        gap: 35px;
    }
}

@media (max-width: 960px) {
    .wrap {
        width: calc(100% - 40px);
    }
    .header-inner {
        height: 76px;
    }
    .menu-button {
        display: inline-flex;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 76px;
        inset-inline: 0;
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #1c2130;
        border-bottom: 1px solid #444b61;
        box-shadow: 0 25px 30px #070a1644;
    }
    .main-nav.open {
        display: flex;
    }
    .main-nav a, .main-nav .nav-mobile-help {
        display: block;
        padding: 11px 16px;
        font-size: 15px;
    }
    .hero {
        grid-template-columns: 1.25fr 1fr;
        padding: 30px 26px;
        gap: 18px;
        min-height: 385px;
    }
    .hero h1 {
        font-size: 37px;
    }
    .hero-copy > p {
        font-size: 14px;
    }
    .hero-art {
        height: 295px;
    }
    .hero-card-center {
        top: 41px;
    }
    .hero-card-left, .hero-card-right {
        top: 78px;
    }
    .quick-card {
        align-items: flex-start;
    }
    .quick-card strong {
        font-size: 13px;
    }
    .quick-icon {
        width: 32px;
        height: 36px;
    }
    .game-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .reading-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 48px;
    }
    .reading-aside {
        position: static;
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
    .reading-aside .toc {
        position: static;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 3px 22px;
        background: var(--panel);
        padding: 20px;
        border-radius: 13px;
        border: 1px solid #343a4b;
    }
    .toc > strong {
        flex-basis: 100%;
        margin-bottom: 3px;
    }
    .toc a {
        max-width: 100%;
    }
    .aside-help {
        display: none;
    }
    .review-grid:not(.all-reviews) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .original-card h3 {
        font-size: 15px;
    }
    .original-card > div {
        padding: 16px;
    }
    .original-card > span {
        display: none;
    }
    .original-card p {
        font-size: 11px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-brand {
        display: flex;
        align-items: center;
        gap: 28px;
    }
    .footer-brand > p {
        margin: 0;
    }
}

@media (max-width: 680px) {
    html {
        scroll-padding-top: 90px;
    }
    body {
        font-size: 15px;
        padding-bottom: 79px;
    }
    .wrap {
        width: calc(100% - 30px);
    }
    .header-inner {
        height: 70px;
        gap: 12px;
    }
    .brand-mark {
        width: 35px;
        height: 35px;
    }
    .brand-wordmark {
        width: 84px;
        height: 35px;
    }
    .header-actions {
        gap: 8px;
    }
    .header-actions > .btn.secondary {
        display: none;
    }
    .header-actions .btn {
        min-height: 38px;
        font-size: 12px;
        padding: 10px 12px;
        border-radius: 8px;
    }
    .menu-button {
        width: 38px;
        height: 38px;
        border-radius: 8px;
    }
    .main-nav {
        top: 70px;
    }
    .hero {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        padding: 30px 22px 24px;
        margin-top: 15px;
        border-radius: 20px;
    }
    .hero .eyebrow {
        font-size: 8px;
        gap: 8px;
        letter-spacing: .12em;
    }
    .eyebrow-line {
        width: 20px;
    }
    .hero h1 {
        font-size: clamp(29px, 7.7vw, 48px);
        line-height: 1.13;
    }
    .hero-copy > p {
        font-size: 14px;
        margin-top: 17px;
        line-height: 1.7;
        max-width: 480px;
    }
    .hero-actions {
        gap: 10px;
        margin-top: 22px;
    }
    .hero-actions .btn {
        padding: 13px 16px;
        flex: 1 1 150px;
        min-height: 47px;
        font-size: 13px;
    }
    .hero-links {
        gap: 14px;
        margin-top: 19px;
    }
    .hero-links a {
        font-size: 10px;
    }
    .hero-art {
        height: clamp(224px, 65vw, 320px);
        max-width: 405px;
        margin: 25px auto 0;
    }
    .hero-card {
        width: 41%;
        max-width: 184px;
    }
    .hero-card-center {
        top: 2px;
        left: 30%;
    }
    .hero-card-left {
        top: 32px;
        left: 4%;
    }
    .hero-card-right {
        top: 31px;
        right: 1%;
    }
    .art-caption {
        bottom: -4px;
        font-size: 7px;
    }
    .quick-row {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 13px;
    }
    .quick-card {
        align-items: center;
        padding: 15px;
    }
    .quick-icon {
        width: 36px;
        height: 36px;
    }
    .quick-card strong {
        font-size: 14px;
    }
    .quick-description {
        font-size: 11px;
    }
    .quick-card > svg {
        display: block;
    }
    .section {
        margin-top: 38px;
    }
    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 20px;
    }
    h2 {
        font-size: 27px;
    }
    .section-head .eyebrow {
        font-size: 9px;
    }
    .section-head p {
        font-size: 13px;
        margin-top: 9px;
    }
    .section-head > .text-link {
        font-size: 12px;
        margin-bottom: 0;
    }
    .lobby-controls {
        align-items: stretch;
        flex-direction: column;
        gap: 13px;
        margin-bottom: 20px;
    }
    .game-tabs {
        align-self: flex-start;
        max-width: 100%;
        gap: 0;
    }
    .game-tabs button {
        padding: 10px 13px;
        font-size: 12px;
    }
    .search {
        width: 100%;
        padding: 12px 14px;
    }
    .game-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 10px;
    }
    .game-cover {
        border-radius: 9px;
    }
    .game-format {
        top: 6px;
        left: 6px;
        font-size: 6px;
        padding: 2px 4px;
    }
    .game-card h3 {
        font-size: 11px;
        margin-top: 10px;
    }
    .game-card p {
        font-size: 9px;
    }
    .game-card small {
        font-size: 10px;
        line-height: 1.5;
        margin-top: 5px;
    }
    .game-play span {
        font-size: 9px;
    }
    .game-play svg {
        width: 40px;
        height: 40px;
        padding: 10px;
    }
    .game-foot {
        margin-top: 24px;
    }
    .game-foot .btn {
        width: 100%;
        font-size: 13px;
        min-height: 46px;
    }
    .provider-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 16px;
        margin-top: 25px;
        padding: 23px 8px;
    }
    .provider-row img {
        width: 95px;
        height: 28px;
    }
    .originals-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .original-card {
        display: flex;
        align-items: center;
    }
    .original-card > img {
        width: 37%;
        aspect-ratio: 1.15;
        object-fit: cover;
    }
    .original-card > div {
        padding: 16px;
    }
    .original-card h3 {
        font-size: 17px;
    }
    .original-card p {
        font-size: 11px;
    }
    .reading-layout {
        margin-top: 38px;
        gap: 32px;
    }
    .reading-aside .toc {
        padding: 17px;
        gap: 0;
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .toc a {
        padding: 8px 0;
        font-size: 12px;
    }
    .toc > strong {
        font-size: 10px;
        flex-basis: auto;
    }
    .content-block {
        margin-bottom: 32px;
        padding-bottom: 32px;
    }
    .content-block h2 {
        margin-bottom: 18px;
        font-size: 25px;
        line-height: 1.23;
    }
    .content-block p {
        font-size: 14px;
        line-height: 1.85;
    }
    .steps li {
        font-size: 14px;
        padding-left: 39px;
    }
    th, td {
        padding: 13px 14px;
    }
    table {
        font-size: 12px;
        min-width: 530px;
    }
    .section-links {
        gap: 14px;
        flex-direction: column;
    }
    .section-links > .text-link {
        font-size: 12px;
    }
    .content-block p.table-hint {
        display: block;
    }
    .content-block .notice {
        padding: 14px;
        font-size: 12px;
    }
    .review-grid, .review-grid:not(.all-reviews), .all-reviews {
        grid-template-columns: 1fr;
    }
    .review {
        padding: 19px;
    }
    .review-author strong {
        font-size: 13px;
    }
    .rating {
        font-size: 12px;
    }
    .faq summary {
        font-size: 14px;
        padding: 18px 0;
    }
    .faq details p {
        font-size: 13px;
    }
    .inner-hero {
        padding-top: 22px;
    }
    .crumbs {
        margin-bottom: 30px;
        font-size: 11px;
    }
    .inner-hero h1 {
        font-size: 33px;
        line-height: 1.18;
    }
    .inner-hero > .eyebrow {
        font-size: 9px;
    }
    .inner-hero > p {
        font-size: 15px;
        line-height: 1.8;
        margin-top: 18px;
    }
    .review-summary {
        flex-wrap: wrap;
        gap: 16px;
    }
    .review-summary > a {
        margin-left: 0;
        flex-basis: 100%;
    }
    .calculator {
        padding: 19px 16px;
        margin-bottom: 32px;
    }
    .calculator h2 {
        font-size: 24px;
    }
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 12px;
    }
    .calculator .field {
        margin: 10px 0;
    }
    .calculator .btn {
        width: 100%;
    }
    .calc-result {
        font-size: 14px;
        padding: 16px;
    }
    .promo-card {
        padding: 20px;
    }
    .promo-terms {
        grid-template-columns: 1fr;
    }
    .related-pages {
        padding: 22px;
        margin-bottom: 35px;
    }
    .footer {
        margin-top: 15px;
        padding: 35px 0 23px;
    }
    .footer-brand {
        gap: 18px;
    }
    .footer-brand > p {
        font-size: 10px;
    }
    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 23px 20px;
    }
    .footer-links a {
        font-size: 11px;
    }
    .footer-disclosure {
        gap: 13px;
        margin-top: 27px;
        padding-top: 24px;
    }
    .age-badge {
        width: 36px;
        height: 36px;
        font-size: 11px;
        border-radius: 8px;
    }
    .footer-disclosure p {
        font-size: 10px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        font-size: 10px;
    }
    .mobile-bottom {
        position: fixed;
        inset: auto 0 0;
        display: flex;
        gap: 10px;
        padding: 12px 15px calc(12px + env(safe-area-inset-bottom));
        background: #171c2afa;
        border-top: 1px solid #454b5c;
        z-index: 25;
        backdrop-filter: blur(12px);
    }
    .mobile-bottom .btn {
        flex: 1;
        min-height: 43px;
        font-size: 13px;
        padding: 11px 16px;
    }
    .toast {
        bottom: 92px;
        width: max-content;
        font-size: 12px;
    }
    .admin-body {
        padding-bottom: 0;
    }
    .admin-card {
        padding: 20px 16px;
    }
    .admin-card fieldset {
        padding: 10px 14px 18px;
    }
    .admin-head h1 {
        font-size: 27px;
    }
    .admin-head {
        align-items: flex-start;
    }
    .admin-nav .btn {
        font-size: 12px;
        padding: 10px 13px;
    }
    .auth-card {
        margin: 35px auto;
    }
}

@media (max-width: 360px) {
    .header-actions .btn {
        padding: 9px;
        font-size: 11px;
    }
    .brand {
        gap: 6px;
    }
    .brand-mark {
        width: 30px;
    }
    .brand-wordmark {
        width: 73px;
    }
    .hero {
        padding-inline: 18px;
    }
    .hero-links {
        gap: 10px;
    }
    .hero-art {
        height: 222px;
    }
    .game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .game-card h3 {
        font-size: 12px;
    }
    .review-filters {
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

@media print {
    .topbar, .hero-art, .quick-row, .reading-aside, .footer, .mobile-bottom, .game-grid, .lobby-controls, .provider-row, .hero-actions {
        display: none;
    }
    body {
        background: white;
        color: black;
        padding: 0;
    }
    p, td, th {
        color: black !important;
        background: white !important;
    }
    .wrap {
        width: 100%;
    }
    .reading-layout {
        display: block;
    }
    .hero {
        background: white;
        border: 0;
        display: block;
        padding: 0;
    }
    .content-block {
        break-inside: avoid;
    }
}

/* CTA editor; each field refers to one stable public placement. */
.cta-picker {
    margin-block: 20px 28px;
}

.cta-inventory {
    margin-top: 32px;
}

.cta-inventory > summary {
    cursor: pointer;
    color: var(--gold-light);
}

.cta-inventory h3 {
    margin-block: 26px 12px;
    font-size: 17px;
}

.cta-inventory-links {
    display: grid;
    gap: 10px;
}

.cta-inventory-links a {
    font-size: 13px;
    overflow-wrap: anywhere;
}

.btn {
    overflow-wrap: anywhere;
}

/* Release 3: data-rich blocks share the existing visual system. */
.review-source {
    color: var(--muted);
    font-size: 12px;
    margin: 16px 0 0;
}

.review-author strong {
    min-width: 0;
    overflow-wrap: anywhere;
}

.payment-logo {
    width: 100px;
    height: 34px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 9px;
}

.table-payments table {
    min-width: 710px;
}

.table-payments td {
    font-variant-numeric: tabular-nums;
}

.table-payments th[scope="row"] {
    min-width: 190px;
    max-width: 220px;
}

.table-divisions table {
    min-width: 810px;
}

.table-divisions thead th:not(:first-child),
.table-divisions tbody td {
    text-align: center;
}

.division-badge {
    width: 70px;
    height: 70px;
    margin: 0 auto 8px;
    object-fit: contain;
}

.lookup-form {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 16px;
    align-items: end;
    scroll-margin-top: 105px;
}

.lookup-form .btn {
    justify-self: start;
    margin-bottom: 8px;
}

.lookup-tools, .lookup-foot, .lookup-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin: 20px 0;
}

.lookup-count, .lookup-foot {
    color: var(--muted);
    font-size: 13px;
}

.coefficient-table {
    max-height: 670px;
    overflow: auto;
    overscroll-behavior: contain;
}

.coefficient-table table {
    min-width: 480px;
}

.coefficient-table thead {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--panel-soft);
}

.coefficient-table th[scope="row"] {
    width: 56%;
    font-weight: 500;
}

.lookup-pagination {
    justify-content: center;
}

.lookup-empty {
    padding: 25px;
    background: var(--panel);
    border-radius: var(--radius);
}

.cta-picker {
    padding: 16px;
    border: 1px solid var(--line);
    margin-bottom: 16px;
    border-radius: 12px;
}

.code-tip code {
    overflow-wrap: anywhere;
    white-space: normal;
}

.admin-body .toc {
    position: static;
    max-height: none;
}

@media (max-width: 600px) {
    .lookup-form {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .lookup-form .btn {
        width: 100%;
    }

    .table-divisions thead th:first-child {
        min-width: 140px;
    }

    .coefficient-table {
        max-height: 520px;
    }
}
