@font-face {
    font-family: Golos; src: url(fonts/golos-text-regular-latin.woff2) format("woff2");
    font-weight: 400 500; font-display: swap; unicode-range: U+0000-02FF,U+2000-206F;
}
@font-face {
    font-family: Golos; src: url(fonts/golos-text-regular-cyrillic.woff2) format("woff2");
    font-weight: 400 500; font-display: swap; unicode-range: U+0400-052F,U+2116;
}
@font-face {
    font-family: Golos; src: url(fonts/golos-text-bold-latin.woff2) format("woff2");
    font-weight: 600 900; font-display: swap; unicode-range: U+0000-02FF,U+2000-206F;
}
@font-face {
    font-family: Golos; src: url(fonts/golos-text-bold-cyrillic.woff2) format("woff2");
    font-weight: 600 900; font-display: swap; unicode-range: U+0400-052F,U+2116;
}

:root {
    color-scheme: dark;
    --bg: #111116;
    --header: #131318;
    --footer: #16161c;
    --panel: #1a1a22;
    --panel-soft: #17171e;
    --surface: #24232d;
    --input: #15151b;
    --text: #fff3e8;
    --muted: #bcb5c5;
    --line: #34323f;
    --input-line: #514958;
    --accent: #ff805c;
    --highlight: #ffae95;
    --on-accent: #1c130f;
    --warm-bg: #38272b;
    --warm-line: #513941;
    --lavender: #c7b9e8;
    --tint: #25202a;
    --section-gap: clamp(48px, 5.2vw, 76px);
}
:root[data-theme="light"] {
    color-scheme: light;
    --bg: #fbf6f1;
    --header: #fffaf6;
    --footer: #f3eae4;
    --panel: #fffaf6;
    --panel-soft: #f8f0eb;
    --surface: #f1e5de;
    --input: #fffcfa;
    --text: #211a20;
    --muted: #625968;
    --line: #ded0d6;
    --input-line: #a99aa5;
    --accent: #9d3c26;
    --highlight: #8a321e;
    --warm-bg: #fae6de;
    --warm-line: #debcae;
    --lavender: #584579;
    --tint: #f5e9ed;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.6 Golos, Arial, sans-serif; overflow-wrap: break-word; }
h1, h2, h3, h4, p, ol, ul, fieldset, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -.045em; text-wrap: pretty; }
h1 { font-size: clamp(38px, 5.2vw, 74px); letter-spacing: -.075em; }
h2 { font-size: clamp(27px, 3vw, 42px); }
h3 { font-size: 21px; }
h1 em { color: var(--accent); font-style: normal; }
a { color: var(--highlight); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { touch-action: manipulation; }
button, summary, select { cursor: pointer; }
button { color: inherit; }
button:disabled { opacity: .55; cursor: default; }
img { display: block; max-width: 100%; height: auto; }
.icon { flex: none; vertical-align: middle; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only, .skip:not(:focus), .trap { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 12px; z-index: 10; background: var(--bg); padding: 10px; }
.wrap { width: min(1224px, calc(100% - 64px)); margin-inline: auto; }
main.wrap { min-height: 65vh; padding-bottom: clamp(56px, 5.5vw, 80px); }
.reader { max-width: 780px; margin-inline: auto; }
.muted { color: var(--muted); }

input, textarea, select {
    min-width: 0; max-width: 100%; background: var(--input); color: var(--text);
    border: 1px solid var(--input-line); border-radius: 7px;
}
input:not([type="radio"], [type="checkbox"]), textarea, select { padding: 8px 10px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input[type="checkbox"], input[type="radio"] { accent-color: #ff805c; }

.header-bar { background: var(--header); border-bottom: 1px solid var(--line); }
.site-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; width: max-content; max-width: 100%; color: var(--text); font-size: 20px; font-weight: 700; letter-spacing: -.06em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 36px; border-radius: 10px; background: #ff805c; color: var(--on-accent); }
.custom-brand img { width: auto; max-width: 180px; max-height: 44px; object-fit: contain; }
.main-nav, .main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.main-nav a, .overlay-nav a { display: block; padding: 10px 15px; border-radius: 9px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.main-nav a:hover, .main-nav [aria-current], .main-nav .current-menu-item > a, .main-nav .current-menu-parent > a, .overlay-nav a:hover, .overlay-nav [aria-current] { color: var(--text); background: var(--surface); }
.header-tools { display: flex; justify-self: end; align-items: center; gap: 8px; }
.square, .btn { display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); text-decoration: none; font-size: 13px; font-weight: 600; line-height: 1.2; transition: background-color .16s, border-color .16s; }
.btn { min-height: 43px; padding: 8px 16px; }
.square { width: 38px; height: 38px; padding: 0; background: var(--panel); color: var(--muted); }
.search-jump { width: auto; padding: 0 13px; }
.theme-switch .icon:nth-child(2), [data-theme="light"] .theme-switch .icon:first-child { display: none; }
[data-theme="light"] .theme-switch .icon:nth-child(2) { display: block; }
.theme-switch, .search-jump, .menu-toggle { display: none; }
.js :is(.theme-switch, .search-jump) { display: inline-flex; }
:is(.square, .btn):hover { border-color: var(--input-line); background: color-mix(in srgb, var(--surface) 84%, var(--highlight)); }
.header-tools .square, .menu-dialog .dialog-close { border: 0; background: transparent; -webkit-tap-highlight-color: transparent; }
.header-tools .square:is(:hover,:active), .menu-dialog .dialog-close:is(:hover,:active) { color: var(--accent); }
.btn.primary { color: var(--on-accent); background: #ff805c; border-color: transparent; }
.btn.primary:hover { background: #ff9a7d; }
.btn.outline { background: color-mix(in srgb, var(--warm-bg) 65%, transparent); border-color: var(--input-line); }
.btn.outline:hover { border-color: var(--accent); }

.site-dialog { width: min(470px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 22px; border: 1px solid var(--line); border-radius: 16px; color: var(--text); background: var(--panel); }
.site-dialog::backdrop { background: #09080bc4; }
.dialog-open { overflow: hidden; }
.lightbox-trigger { position: relative; display: inline-block; max-width: 100%; vertical-align: top; cursor: zoom-in; }
.article-image > .lightbox-trigger { display: block; height: 100%; }
.prose .lightbox-trigger { display: block; width: min(100%, var(--lightbox-image-width, 100%)); }
.prose .lightbox-trigger img[width][height] { width: 100%; }
.lightbox-trigger:focus-visible { outline-offset: -3px; }
.lightbox-cover, .lightbox-indicator {
    display: grid;
    place-items: center;
    position: absolute;
    border: 1px solid #ffffff55;
    border-radius: 9px;
    background: #131318dc;
    color: #fff3e8;
}
.lightbox-cover { top: 16px; right: 16px; z-index: 1; width: 44px; height: 44px; cursor: zoom-in; }
.lightbox-indicator { right: 8px; bottom: 8px; width: 30px; height: 30px; pointer-events: none; }
.lightbox-cover:hover,
.lightbox-trigger:hover .lightbox-indicator,
.lightbox-trigger:focus-visible .lightbox-indicator { border-color: #ff805c; }
.site-dialog.lightbox {
    width: min(1180px, calc(100% - 28px));
    max-height: calc(100dvh - 24px);
    padding: clamp(10px, 2.5vw, 22px);
    overflow: auto;
    overscroll-behavior: contain;
}
.lightbox::backdrop { background: #09080beb; }
.lightbox-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.lightbox-header h2 { margin-right: auto; font-size: 20px; }
.lightbox-count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.lightbox .square { width: 44px; height: 44px; flex: none; }
.lightbox .square .icon { pointer-events: none; }
.lightbox-stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.lightbox-stage button { grid-row: 1; }
.lightbox-prev { grid-column: 1; }
.lightbox-next { grid-column: 3; }
.lightbox-viewport {
    position: relative;
    grid-area: 1 / 2;
    height: min(72dvh, 750px);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg);
    touch-action: pan-y pinch-zoom;
}
.lightbox-frame, .lightbox-frame img { width: 100%; height: 100%; }
.lightbox-frame img { object-fit: contain; }
.lightbox-loading, .lightbox-error {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    padding: 12px;
    text-align: center;
    color: var(--muted);
}
.lightbox-viewport[data-state="loading"] .lightbox-loading,
.lightbox-viewport[data-state="error"] .lightbox-error { display: grid; }
.lightbox-viewport:not([data-state="ready"]) .lightbox-frame { visibility: hidden; }
.lightbox-caption { margin-top: 10px; color: var(--muted); font-size: 14px; text-align: center; }
@media (max-width: 640px) {
    .lightbox-cover { top: 10px; right: 10px; }
    .lightbox-stage { justify-items: center; gap: 8px; }
    .lightbox-viewport { grid-row: 1; grid-column: 1 / -1; width: 100%; height: min(60dvh, 580px); }
    .lightbox-stage button { grid-row: 2; }
    .lightbox-prev { justify-self: start; }
    .lightbox-next { justify-self: end; }
}
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dialog-heading h2 { font-size: 23px; }
.overlay-nav ul { list-style: none; padding: 0; }
.dialog-search-form { display: grid; gap: 12px; }
.search-scope { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; border: 0; }
.search-scope label { position: relative; cursor: pointer; }
.search-scope input { position: absolute; inset: 0; margin: 0; opacity: 0; }
.search-scope span { display: block; border: 1px solid var(--line); padding: 6px 12px; border-radius: 8px; font-size: 13px; }
.search-scope input:checked + span { background: var(--warm-bg); border-color: var(--warm-line); color: var(--highlight); }
.search-scope input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.dialog-query, .search-form label { flex: 1; display: flex; min-width: 0; gap: 10px; align-items: center; color: var(--muted); }
.dialog-query { padding-inline: 12px; border: 1px solid var(--input-line); border-radius: 8px; }
:is(.dialog-query, .search-form label) input { width: 100%; align-self: stretch; padding-left: 0; outline: 0; border: 0; background: transparent; }
.dialog-query:focus-within, .search-form:focus-within { border-color: var(--accent); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-block: 26px 20px; color: var(--muted); font-size: 13px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--text); }
.crumbs [aria-hidden] { opacity: .75; }

.section { margin-top: var(--section-gap); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 18px; margin-bottom: 24px; }
.arrow-link { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-size: 13px; font-weight: 600; text-decoration: none; }
.arrow-link:hover { text-decoration: underline; }
.section-head .arrow-link { flex-shrink: 0; }
.grid { display: grid; gap: 20px; }
.grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid-two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.card, .panel, .faq details, .help-answers details { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.card { overflow: hidden; transition: border-color .18s; }
.card:hover { border-color: var(--accent); }
.card:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.card-main { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; color: var(--text); text-decoration: none; }
.card-main:focus-visible { outline: 0; }
.card-img { position: relative; overflow: hidden; background: var(--surface); aspect-ratio: 2.13; }
.card-img img, .article-image img { width: 100%; height: 100%; object-fit: cover; }
.card-img img { position: absolute; inset: 0; }
.cover-placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: radial-gradient(ellipse at bottom, var(--warm-bg), var(--tint)); color: var(--highlight); font: 700 2rem monospace; }
.card-body { flex: 1; min-width: 0; padding: 20px; }
.card-body h3 { font-size: clamp(18px, 1.55vw, 23px); line-height: 1.2; }
.card-body p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.card-arrow { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid var(--input-line); border-radius: 50%; background: var(--surface); }
.card:hover .card-arrow { color: var(--accent); }
.game-card .card-arrow { align-self: center; margin-right: 18px; }
.game-card .count { color: var(--muted); font-size: 13px; margin-top: 3px; }
.game-card.portrait .card-main { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: auto 1fr; }
.portrait .card-img { grid-column: 1/-1; aspect-ratio: 1.89; }
.portrait .card-body { padding: 16px 0 23px 18px; }
.portrait .card-body h3 { margin-top: 10px; }
.home-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.home-card-meta .count { margin: 0; font-size: 11px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.chip, .script .chips span { display: inline-block; border: 1px solid var(--warm-line); border-radius: 5px; padding: 2px 8px; background: var(--warm-bg); color: var(--highlight); font-size: 11px; font-weight: 600; }
.chip-access, .script .chips span { background: var(--surface); color: var(--lavender); border-color: var(--input-line); }
.empty { padding: 28px; }
.empty p { margin: 8px 0 14px; color: var(--muted); }

.hero {
    --text: #fff3e8;
    --muted: #d2c8d8;
    --accent: #ff805c;
    --input: #19181f;
    --input-line: #5b5262;
    --warm-bg: #38272b;
    --surface: #28232b;
    position: relative; display: flex; align-items: center; isolation: isolate; overflow: hidden;
    border: 1px solid var(--line); border-radius: 23px; background: #1a1820; color: var(--text);
}
.hero-art { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 67%; height: 100%; object-fit: cover; object-position: right center; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#1a1820 34%,transparent 72%); pointer-events: none; }
.hero-copy { padding: clamp(30px,4.3vw,62px); }
.hero-copy p { max-width: 365px; margin: 23px 0 28px; color: var(--muted); line-height: 1.65; }
.hero-home { min-height: 550px; margin-top: 30px; }
.hero-home .hero-art { width: 59%; object-fit: fill; }
.hero-home::after { background: linear-gradient(90deg,#1a1820 40%,transparent 64%); }
.hero-home h1 { font-size: clamp(56px,7.2vw,104px); letter-spacing: -.082em; line-height: .9; }
.hero-home .hero-copy > p { margin-top: 26px; margin-bottom: 32px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 19px; height: 2px; background: currentColor; }
.search-form { display: flex; align-items: stretch; gap: 8px; min-width: 0; width: 100%; padding: 6px; border: 1px solid var(--input-line); border-radius: 11px; background: var(--input); }
.search-form label { padding-left: 12px; }
.search-form input { font-size: 14px; }
.search-form .btn { flex: none; border-radius: 7px; }
.search-home { width: min(468px,100%); }
.search-home .btn { padding-inline: 18px; }
.guide-banner { min-height: 324px; border-radius: 16px; border-color: #5b3842; background: #251c29; }
.guide-banner::after { background: linear-gradient(90deg,#251c29 36%,transparent 67%); }
.guide-banner .hero-art { width: 60%; object-fit: fill; }
.guide-banner .hero-copy { padding: clamp(26px,3vw,42px); max-width: 550px; }
.guide-banner .hero-copy p { max-width: 395px; margin: 12px 0 22px; }

.catalog-story { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 25px; padding: 30px 32px; border-radius: 17px; background: linear-gradient(115deg,var(--tint),var(--panel-soft)); }
.catalog-story h2 { margin-bottom: 18px; font-size: clamp(22px,2vw,29px); }
.catalog-story-text { min-width: 0; padding-left: 25px; border-left: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.catalog-story-text h2 { color: var(--text); font-size: 16px; letter-spacing: -.02em; margin: 0 0 9px; }
.catalog-story-text p + p { margin-top: 8px; }

.faq { margin-top: 56px; }
.faq > header, .help-answers > h2 { margin-bottom: 18px; }
.faq-list { display: grid; gap: 8px; }
.faq-list details[open] { border-color: var(--warm-line); background: var(--tint); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 16px; list-style: none; font-size: 14px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
.faq-icon { display: grid; place-items: center; flex: none; width: 20px; height: 20px; color: var(--highlight); font-size: 18px; line-height: 1; }
.faq-icon::before { content: "+"; }
details[open] .faq-icon::before { content: "−"; }
.faq-answer { padding: 0 16px 15px; color: var(--muted); font-size: 14px; }
.faq-answer p + p { margin-top: 8px; }
.home-faq { display: grid; grid-template-columns: minmax(0, .58fr) minmax(0,1fr); gap: 34px; margin-top: clamp(58px,6.1vw,88px); padding-top: 48px; border-top: 1px solid var(--line); }
.home-faq header a { margin-top: 20px; }
.home-faq details { border-radius: 9px; }
.home-faq summary { padding: 14px 16px; }
.home-faq .faq-icon, .game-faq .faq-icon { width: 26px; height: 26px; border: 1px solid var(--input-line); border-radius: 50%; color: inherit; }
.home-faq .faq-answer { padding: 0 54px 17px 17px; }
.topics, .pager { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pager { margin-top: 26px; }
.topics a, .pager .page-numbers { display: inline-grid; place-items: center; color: var(--muted); border: 1px solid var(--line); font-size: 13px; font-weight: 600; text-decoration: none; }
.topics a { min-height: 40px; padding-inline: 16px; border-radius: 30px; }
.pager .page-numbers { width: 44px; height: 44px; border-radius: 9px; }
.topics [aria-current], .pager .current { color: var(--highlight); border-color: var(--warm-line); background: var(--warm-bg); }
.topics a:hover, .pager a:hover { border-color: var(--accent); }

.site-footer { background: var(--footer); border-top: 1px solid var(--line); }
.footer-columns { display: grid; grid-template-columns: 1.48fr 1fr .96fr; gap: 24px; padding: 42px 0 34px; }
.foot-brand > small { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; }
.footer-telegram { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-telegram .icon, .footer-telegram:hover { color: var(--accent); }
.site-footer nav { display: grid; align-content: start; gap: 7px; }
.site-footer nav strong { font-size: 13px; margin-bottom: 3px; }
.site-footer nav a { width: fit-content; color: var(--muted); font-size: 13px; text-decoration: none; }
.site-footer nav a:hover { color: var(--accent); text-decoration: underline; }
.footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--line); padding: 16px 0 22px; color: var(--muted); font-size: 14px; }

.listing-intro { display: grid; grid-template-columns: minmax(0,1fr) 420px; align-items: end; gap: 20px 30px; margin-top: 44px; }
.listing-intro p { margin-top: 17px; color: var(--muted); }
.catalog-intro { border-bottom: 1px solid var(--line); padding-bottom: 42px; }
.catalog-intro .eyebrow { margin-bottom: 12px; }
.catalog-layout { display: grid; grid-template-columns: minmax(190px,245px) minmax(0,1fr); gap: 28px; margin-top: 30px; }
.filters { align-self: start; border-radius: 12px; }
.filter-heading, .filter-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 17px 18px; font-size: 17px; border-bottom: 1px solid var(--line); }
.filter-heading .icon, .filter-toggle .icon { color: var(--muted); }
.filter-toggle { display: none; }
.filter-fields { display: grid; gap: 20px; padding: 17px 18px 20px; }
.filter-fields fieldset { display: grid; gap: 2px; padding: 0; border: 0; }
.filter-fields legend { margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 700; }
.filter-fields label { display: flex; align-items: center; min-height: 30px; gap: 8px; cursor: pointer; font-size: 13px; font-weight: 600; }
.filter-fields input { width: 16px; height: 16px; margin: 0; flex: none; }
.filter-count { margin-left: auto; padding: 1px 7px; border-radius: 5px; background: var(--surface); color: var(--muted); font-size: 11px; }
.js .filter-apply { display: none; }
.reset-link { display: flex; align-items: center; justify-content: space-between; color: var(--accent); padding: 11px 18px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; text-decoration: none; }
.reset-link:hover { text-decoration: underline; }
.catalog-results .section-head { align-items: center; margin: 3px 0 18px; }
.catalog-results h2 { font-size: 24px; }
.sort-control { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.sort { min-height: 37px; background: var(--panel); font-weight: 600; }
.catalog-cards { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.game-card.game { border-radius: 12px; }
.game-card.game .card-img { aspect-ratio: 2.15; border-bottom: 1px solid var(--line); }
.game-card.game .card-body { padding: 12px 14px 14px; }
.game-card.game h3 { font-size: clamp(17px,1.6vw,21px); }
.game-card.game small { display: block; color: var(--muted); }
.game-card.game .chips { gap: 5px; margin-top: 7px; }
.game-card.game .chip { padding-inline: 6px; }
.game-card.game .card-arrow { position: absolute; top: 8px; right: 8px; width: 29px; height: 29px; margin: 0; background: var(--panel); }
.game-card.game .card-arrow .icon { width: 14px; height: 14px; }
.game-card:has(.match) .card-main { height: auto; }
.match { display: block; padding: 0 14px 12px; font-size: 13px; }
.catalog-guide { margin-top: var(--section-gap); padding-top: clamp(22px,3.5vw,40px); border-top: 1px solid var(--line); }
.catalog-guide > p { max-width: 74ch; margin-top: 14px; color: var(--muted); }
.catalog-guide-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.catalog-guide-grid > section { padding: clamp(16px,2.25vw,28px); }
.catalog-guide-grid h3 { font-size: clamp(19px,1.9vw,24px); }
.catalog-guide-grid p { margin-top: 10px; color: var(--muted); }
.strip { display: flex; align-items: center; gap: 20px; margin-top: 66px; padding: 25px 30px; background: linear-gradient(110deg,var(--warm-bg),var(--tint) 77%); border: 1px solid var(--warm-line); border-radius: 15px; }
.strip h2 { font-size: clamp(24px,2.25vw,31px); }
.strip p { margin-top: 6px; color: var(--muted); font-size: 13px; }
.strip > .btn { flex-shrink: 0; margin-left: auto; }
.strip-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 11px; color: var(--highlight); background: color-mix(in srgb,var(--warm-bg) 72%,var(--highlight)); font-weight: 700; font-size: 27px; }
.catalog-strip { margin-top: 53px; min-height: 139px; }
.catalog-strip .strip-icon { width: 55px; height: 55px; }
.catalog-strip h2 { font-size: 26px; }

.blog-intro { grid-template-columns: minmax(0,1fr) 348px; margin-top: 39px; }
.blog-intro h1 { font-size: clamp(47px,6.1vw,88px); line-height: 1; }
.blog-intro p { max-width: 565px; font-size: 17px; margin-top: 22px; }
.blog-search > label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.search-blog { border-color: var(--line); background: var(--panel); }
.search-blog .btn { width: 40px; min-height: 40px; padding: 0; border-color: transparent; }
.topics { margin: 40px 0 24px; }
.featured-grid { display: grid; grid-template-columns: minmax(0,1.95fr) minmax(0,1fr); gap: 18px; }
.side-grid { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.post-card .card-arrow { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; background: var(--bg); }
.post-category { margin-bottom: 9px; color: var(--highlight); font-size: 11px; font-weight: 700; }
.post-card .card-body { padding: 20px 20px 24px; }
.post-card .card-body h3 { font-size: clamp(18px,1.45vw,22px); }
.post-card .card-body p { margin-top: 9px; }
.editor-pick, .category { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 30px; font-size: 11px; font-weight: 700; text-decoration: none; }
.category { color: var(--highlight); background: var(--warm-bg); border: 1px solid var(--warm-line); }
.editor-pick { position: absolute; top: 26px; left: 28px; background: #fff3e8; color: #1e1416; }
.featured { border-radius: 22px; }
.featured .card-main { justify-content: flex-end; min-height: 494px; isolation: isolate; color: #fff3e8; }
.featured .card-img { position: absolute; z-index: -2; inset: 0; aspect-ratio: auto; }
.featured .card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#17131aed 9%,#1a151bc4 32%,transparent 73%); }
.featured .card-arrow { top: 26px; right: 28px; width: 44px; height: 44px; background: #1d171e; }
.featured .card-body { flex: none; padding: 30px 29px 32px; }
.featured .card-body h3 { max-width: 650px; font-size: clamp(26px,3.05vw,44px); line-height: 1.06; }
.featured .card-body p { max-width: 555px; color: #eee0eb; font-size: 14px; margin-top: 14px; }
.featured .post-category { color: #ffbea7; font-size: 13px; margin-bottom: 14px; }
.side { border-radius: 18px; }
.side .card-img { aspect-ratio: 3.1; }
.side .card-body { padding: 16px 18px 20px; }
.side .card-body h3 { font-size: clamp(17px,1.4vw,20px); }
.side .post-category { margin-bottom: 6px; }
.blog-list .card, .article-wrap > .section .card { border-radius: 18px; }
.list-order { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.home-post .card-img { aspect-ratio: 2.05; }
.home-post .card-body { padding: 19px 40px 22px 17px; min-height: 122px; }
.home-post .post-category { color: var(--lavender); }
.home-post .card-arrow { top: auto; bottom: 40px; right: 13px; border: 0; background: transparent; color: var(--accent); }
.post-illustration { display: grid; height: 100%; place-items: center; background: radial-gradient(ellipse at bottom,#5a4263,#252033 75%); }
.post-illustration > span { position: relative; display: grid; place-items: center; transform: rotate(-10deg); box-shadow: 7px 8px #110d2266; }
.illustration-editor > span { width: 42%; height: 62%; border: 1px solid #b090bb; border-radius: 10px; background: #1d1825; }
.illustration-editor > span::before { content: ""; position: absolute; inset: 0 0 auto; height: 18%; border-bottom: 1px solid #9c7899; border-radius: 10px 10px 0 0; background: radial-gradient(circle at 8px 50%,#f9ac92 1.5px,transparent 2px), radial-gradient(circle at 16px 50%,#eee2f4 1.5px,transparent 2px), radial-gradient(circle at 24px 50%,#b3a0e8 1.5px,transparent 2px),#372a42; }
.illustration-editor > span::after { content: ""; position: absolute; width: 54%; height: 31%; top: 24%; left: 10%; background: linear-gradient(#b6aaf2 0 0) 0 0/100% 4px, linear-gradient(#f8ad98 0 0) 42% 33%/48% 4px, linear-gradient(#957a90 0 0) right 66%/83% 4px, linear-gradient(#f8ad98 0 0) 0 bottom/56% 4px; background-repeat: no-repeat; }
.illustration-file { background: radial-gradient(ellipse at bottom,#704842,#352838 76%); }
.illustration-file > span { width: 70px; height: 88px; padding-top: 22px; border-radius: 9px; transform: rotate(9deg); background: #f4a98b; color: #36212a; font: 700 21px monospace; }
.illustration-file > span::after { content: ""; position: absolute; right: 0; top: 0; width: 25px; height: 27px; border-radius: 0 8px 0 6px; background: #ffd2b8; clip-path: polygon(0 0,100% 100%,0 100%); }
.illustration-copy { background: radial-gradient(ellipse at bottom,#504473,#292441 76%); }
.illustration-copy > span { width: 76px; height: 82px; border-radius: 10px; color: #d8cbf6; background: #756495; }
.illustration-lock { background: radial-gradient(ellipse at bottom,#804f44,#483236 76%); }
.illustration-lock > span { width: 65px; height: 48px; margin-top: 21px; border-radius: 9px; background: #ffb38e; }
.illustration-lock > span::before { content: ""; position: absolute; bottom: 38px; width: 48px; height: 45px; border: 5px solid #ffd5b0; border-bottom: 0; border-radius: 25px 25px 0 0; }
.illustration-lock > span::after { content: ""; width: 8px; height: 16px; border-radius: 5px; background: #59373c; }
.illustration-update { background: radial-gradient(ellipse at bottom,#536778,#272940 76%); }
.illustration-update > span { width: 76px; height: 76px; border: 2px solid #a7b6d9; border-radius: 22px; background: #4b567b; color: #dcd9f4; }

.game-hero { min-height: 435px; background: #201a27; }
.game-hero .hero-art { width: 66%; }
.game-hero .speed-hero-cover { width: 53%; }
.game-hero::after { background: linear-gradient(90deg,#201a27 28%,#201a27da 42%,transparent 78%),linear-gradient(0deg,#201a2744,transparent 52%); }
.game-hero .hero-copy { width: min(670px,75%); padding: clamp(32px,3.8vw,54px); }
.game-kicker { display: block; color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.game-updated { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 22px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.game-updated time { font-weight: 700; }
.game-hero h1 { font-size: clamp(41px,5vw,72px); line-height: .98; }
.game-hero .hero-copy p { max-width: 420px; margin: 22px 0 24px; }
.hero-buttons, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.hero-buttons { gap: 16px; }
.hero-buttons > span { font-size: 13px; color: var(--muted); }
.hero-buttons .btn { min-height: 46px; border-radius: 12px; }
.hero-buttons .hero-download { min-height: 54px; padding-inline: 22px; font-size: 16px; }
.game-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(232px,296px); gap: clamp(24px,5vw,72px); margin-top: 66px; }
.game-main, .game-sidebar, .article-main, .article-sidebar { min-width: 0; }
.game-main h2, .help-answers > h2, .similar-games h2 { font-size: clamp(27px,2.5vw,36px); }
.scripts-section h2, .game-video > h2, .reviews > h2 { margin-bottom: 21px; }
.game-toc { display: grid; gap: 9px; padding: 4px 0 6px 22px; margin-bottom: 27px; border-left: 1px solid var(--input-line); }
.game-toc h2, .injector-info h2, .toc h2 { font-size: 16px; letter-spacing: -.02em; }
.game-toc h2 { margin-bottom: 8px; }
.game-toc a, .toc li a, .help-nav a { color: var(--muted); font-size: 13px; text-decoration: none; }
.game-toc a { position: relative; width: fit-content; }
.game-toc a:hover, .game-toc [aria-current] { color: var(--accent); }
.game-toc [aria-current]::before { position: absolute; content: ""; width: 2px; height: 100%; left: -23px; background: var(--accent); }
.injector-info { padding: 20px; }
.injector-info p { margin-top: 12px; color: var(--muted); font-size: 13px; }
.injector-info ul { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 14px 0 18px; list-style: none; }
.injector-info li { padding: 3px 7px; border: 1px solid var(--input-line); border-radius: 5px; color: var(--muted); font-size: 11px; }
.injector-info li a { color: inherit; text-decoration: none; }
.injector-info li:has(a):hover { color: var(--accent); border-color: var(--accent); }

.script { display: grid; gap: 20px; margin-bottom: 20px; padding: 24px; border-radius: 16px; }
.script-nav { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-bottom: 15px; }
.script-nav a { color: var(--muted); font-size: 13px; }
:is(.game-document, .game-document .scripts-section) > :is(p, ul, ol, figure, blockquote) { margin-block: 18px; }
.script-main { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; gap: 20px; }
.script-main.has-gallery { grid-template-columns: minmax(0,1fr) minmax(152px,34%); }
.script-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.script-gallery a { display: block; min-width: 0; aspect-ratio: 1.6; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--input); }
.script-gallery a:first-child { grid-column: 1/-1; aspect-ratio: 1.78; }
.script-gallery a:not(:first-child) .lightbox-indicator { display: none; }
.script-gallery img { width: 100%; height: 100%; object-fit: contain; }
.script-info h3 { font-size: clamp(22px,2vw,28px); letter-spacing: -.035em; line-height: 1.16; }
.script-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 8px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.script-tags li + li::before { content: "·"; margin-right: 8px; color: var(--muted); }
.script-info p, .script-description summary { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.script-status { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; }
.script-description summary { list-style: none; }
.script-description[open] { display: flex; flex-direction: column; }
.script-description[open] summary { order: 1; width: fit-content; }
.description-read, .description-close { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.script-description:not([open]) .description-close, .script-description[open] :is(.description-teaser,.description-read) { display: none; }
.script-more details { border-top: 1px solid var(--line); }
.script-more summary { display: flex; align-items: center; gap: 8px; min-height: 44px; list-style: none; font-size: 14px; font-weight: 600; }
.script-more summary:hover { color: var(--accent); }
.script-more summary span { color: var(--muted); font-weight: 400; }
.script-more summary .icon { margin-left: auto; }
.script-more details[open] summary .icon { transform: rotate(180deg); }
.script-more :is(ul,dl) { padding: 0 16px 8px 20px; color: var(--muted); font-size: 14px; }
.script-more dl { margin-block: 0; }
.script-more dt { color: var(--text); font-weight: 600; }
.script-more dd { margin: 0 0 8px; }
.script-code-panel { min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--input); }
.script-toolbar { display: flex; align-items: flex-start; justify-content: flex-end; flex-wrap: wrap; gap: 8px 12px; padding: 8px 12px; }
.source-title, .source-link { display: inline-flex; align-items: center; min-height: 40px; margin-right: auto; color: var(--text); font-size: 13px; font-weight: 700; text-decoration: none; }
.source-link:hover { color: var(--accent); }
.source-body {
    --code-line-number: #a89bb2;
    --code-comment: #a9c292;
    --code-keyword: #e4a7fa;
    --code-scroll-thumb: color-mix(in srgb,var(--accent) 82%,var(--line));
    min-width: 0;
}
[data-theme="light"] .source-body { --code-line-number: var(--muted); --code-comment: #356041; --code-keyword: #744287; }
.source-body pre {
    overflow: auto;
    max-height: 180px;
    max-height: min(180px, 30dvh);
    margin: 0;
    padding: 12px;
    border-top: 1px solid var(--line);
    border-radius: 0 0 10px 10px;
    background: transparent;
    color: var(--text);
    scrollbar-width: thin;
    scrollbar-color: var(--code-scroll-thumb) var(--input);
}
.source-body pre::-webkit-scrollbar { width: 6px; height: 6px; }
.source-body pre::-webkit-scrollbar-thumb { border-radius: 6px; background: var(--code-scroll-thumb); }
.source-body pre::-webkit-scrollbar-track, .source-body pre::-webkit-scrollbar-corner { background: var(--input); }
.source-body > small { display: block; padding: 0 12px 8px; }
.code-line { position: relative; display: block; min-height: 1.4em; padding-inline-start: 2rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.code-line::before { content: attr(data-line); position: absolute; inset-inline-start: 0; color: var(--code-line-number); user-select: none; }
.code-line em { font-style: normal; color: var(--code-comment); }
.code-line b { font-weight: 400; color: var(--code-keyword); }
.script-actions { min-width: 0; max-width: 100%; }
.script-actions .btn { min-height: 40px; }
.copy-feedback { margin-top: 8px; font-size: 13px; }
.copy-feedback:empty { display: none; }
.copy-feedback textarea { width: 100%; }
.game-video, .game-prose, .game-faq, .reviews { margin-top: 60px; }
.game-prose > :first-child { margin-top: 0; }
.game-prose > p { max-width: 75ch; color: var(--muted); font-size: 14px; }
.game-faq .faq-list { gap: 0; border-top: 1px solid var(--line); }
.game-faq details, .game-faq details[open] { border-width: 0 0 1px; border-radius: 0; background: transparent; }
.game-faq summary { padding: 15px 0; }
.game-faq .faq-answer { padding-inline: 0 42px; }
.game-faq .faq-icon { width: 30px; height: 30px; }
.review-panel { display: grid; grid-template-columns: minmax(165px,32%) minmax(0,1fr); overflow: hidden; border-radius: 17px; }
.review-summary { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 24px; border-right: 1px solid var(--line); background: var(--tint); }
.review-summary h3 { font-size: 16px; }
.review-summary p { margin-top: 5px; color: var(--muted); font-size: 13px; }
.chat-icon { margin-bottom: 12px; color: var(--lavender); }
.rating-number { font-size: 38px; font-weight: 700; }
.rating-number small { font-size: 16px; }
.review-form { display: grid; gap: 10px; padding: 21px 22px; }
.review-form label, .stars legend { display: block; font-size: 13px; font-weight: 600; }
.review-form :is(input:not([type="radio"],[type="hidden"]),textarea,select) { width: 100%; display: block; min-height: 39px; margin-top: 6px; font-weight: 400; }
.review-form textarea { resize: vertical; }
.review-form .btn { min-height: 39px; }
.review-form small { color: var(--muted); font-size: 11px; }
.review-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 15px; }
.stars { border: 0; padding: 0; }
.stars > div { display: flex; }
.stars label { position: relative; display: grid; width: 20px; height: 39px; place-items: center; cursor: pointer; }
.stars input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.stars label span:not(.sr-only) { color: var(--lavender); font-size: 18px; }
.stars label:has(input:checked) span:not(.sr-only), .stars label:has(~ label input:checked) span:not(.sr-only) { color: var(--accent); }
.stars input:focus-visible + span { outline: 2px solid var(--accent); }
.approved-review, .notice { padding: 16px; margin: 12px 0; }
.approved-review small { color: var(--accent); }
.notice { border-left: 3px solid var(--accent); background: var(--surface); }
.similar-games { margin-top: 66px; padding-top: 34px; border-top: 1px solid var(--line); }
.game-card.compact .card-main { display: grid; grid-template-columns: minmax(75px,124px) minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 11px; }
.compact .card-img { aspect-ratio: 1.63; border-radius: 7px; }
.compact .card-arrow { color: var(--accent); margin-right: 5px; }
.compact .card-body { padding: 0; }
.compact .card-body h3 { font-size: 16px; }

.article-wrap { width: min(1180px,100%); margin-inline: auto; }
.article-wrap > .crumbs { margin-bottom: 40px; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(235px,290px); column-gap: clamp(28px,5vw,72px); }
.article-header, .article-main { grid-column: 1; }
.article-main h2 { font-size: clamp(25px,2.45vw,35px); }
.article-header h1 { font-size: clamp(36px,4.32vw,62px); letter-spacing: -.066em; line-height: 1.03; margin-top: 17px; text-wrap: balance; }
.lead { max-width: 640px; color: var(--muted); font-size: clamp(16px,1.4vw,19px); line-height: 1.53; margin-top: 15px; }
.byline { display: flex; align-items: center; gap: 10px; margin: 24px 0 30px; font-size: 13px; line-height: 1.35; }
.byline a { color: var(--text); text-decoration: none; font-weight: 600; }
.byline time { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.code-mark { display: grid; place-items: center; flex: none; width: 39px; height: 39px; border: 1px solid var(--warm-line); border-radius: 10px; background: var(--warm-bg); color: var(--highlight); font: 700 13px monospace; }
.article-image { overflow: hidden; aspect-ratio: 2.94; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.article-figure figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; }
.quick-answer { display: flex; align-items: flex-start; gap: 14px; margin-top: 25px; padding: 19px 21px; background: var(--tint); border-color: var(--warm-line); color: var(--muted); }
.quick-answer .strip-icon { width: 37px; height: 37px; font-size: 22px; }
.quick-answer strong { color: var(--highlight); }
.article-sidebar { grid-column: 2; grid-row: 1/3; padding-top: 53px; }
.toc { padding: 18px 17px; background: var(--panel-soft); }
.toc h2 { margin: 2px 9px 12px; }
.toc ul { padding: 0; list-style: none; }
.toc li a { display: block; padding: 7px 9px; border-radius: 6px; }
.toc .toc-level-3 a { padding-left: 20px; }
.toc li a:hover, .toc [aria-current] { background: var(--warm-bg); color: var(--highlight); }
.toc-back { display: block; margin: 13px 9px 0; padding-top: 12px; border-top: 1px solid var(--line); }
.article-main .faq { margin-top: 38px; }
.article-main .faq details { border-radius: 10px; }
.prose { font-size: 16px; line-height: 1.7; }
.prose :is(h2,h3) { margin: 38px 0 12px; }
.prose h3 { font-size: 23px; }
.prose :is(p,ol,ul,figure,blockquote) { margin: 10px 0 13px; }
.prose img { width: auto; border-radius: 10px; }
.prose figcaption { color: var(--muted); font-size: 13px; }
.prose .wp-block-table { width: 100%; overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-soft); }
.prose table { width: 100%; border-collapse: collapse; font-size: 13px; }
.prose .wp-block-table :is(td,th) { padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.prose .wp-block-table tr:last-child td { border-bottom: 0; }
.prose th { background: var(--surface); }
.prose code { padding: 1px 5px; border-radius: 4px; background: var(--surface); color: var(--lavender); }
.author { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding: 14px; font-size: 13px; }
.author p { color: var(--muted); font-size: 11px; margin-top: 3px; }
.author .arrow-link { flex-shrink: 0; margin-left: auto; }
.service { margin-top: 24px; }
.service > h1 { margin-bottom: 22px; font-size: clamp(34px,4.2vw,60px); }

.help-hero { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(265px,1fr); gap: clamp(24px,4vw,56px); align-items: center; padding: 50px; border: 1px solid var(--warm-line); border-radius: 24px; background: radial-gradient(ellipse at 96% 30%,color-mix(in srgb,var(--tint) 72%,#6e3a75),transparent 64%),linear-gradient(110deg,var(--tint),var(--panel-soft)); }
.help-hero h1 { font-size: clamp(49px,6.2vw,88px); }
.help-hero p { margin: 18px 0 26px; color: var(--muted); font-size: 17px; }
.search-help { gap: 8px; background: transparent; border: 0; padding: 0; }
.search-help label { min-height: 50px; background: var(--input); border: 1px solid var(--input-line); border-radius: 11px; }
.search-help label:focus-within { border-color: var(--accent); }
.search-help .btn { border-radius: 11px; }
.help-quick { padding: 21px 26px 13px; border: 1px solid var(--input-line); border-radius: 16px; background: color-mix(in srgb,var(--panel-soft) 63%,transparent); }
.help-quick h2 { margin-bottom: 12px; font-size: 15px; letter-spacing: -.01em; }
.help-quick a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--warm-line); color: var(--text); text-decoration: none; font-size: 14px; }
.help-quick a:hover, .help-quick .icon { color: var(--accent); }
.help-layout { display: grid; grid-template-columns: minmax(170px,248px) minmax(0,1fr); gap: clamp(24px,4.2vw,60px); margin-top: 57px; }
.help-nav { padding: 16px; background: var(--panel-soft); border-radius: 16px; }
.help-nav h2 { padding: 4px 12px 11px; color: var(--muted); font-size: 13px; letter-spacing: 0; }
.help-nav a { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 600; }
.help-nav a:hover, .help-nav [aria-current] { background: var(--warm-bg); color: var(--accent); }
.help-answers > h2 { margin-bottom: 22px; }
.help-answers .faq-list { gap: 10px; }
.help-answers summary { min-height: 62px; padding: 16px 22px; font-size: 16px; }
.help-answers summary .icon { color: var(--lavender); }
.help-answers details[open] summary .icon { transform: rotate(180deg); color: var(--accent); }
.help-answers .faq-answer { padding: 0 22px 20px; }
.help-answers .faq-answer p { max-width: 80ch; }
.help-answers .faq-answer > .arrow-link { margin-top: 10px; }
.help-contact { margin-top: 24px; padding: 20px 22px; }
.help-contact h3 { font-size: 20px; }

.gate { margin-top: 28px; padding-bottom: 35px; }
.gate-box { border: 1px solid var(--warm-line); border-radius: 18px; background: radial-gradient(ellipse at 90% 10%,var(--warm-bg),var(--panel)); text-align: center; padding: 34px 20px; }
.gate-box h1 { font-size: clamp(32px,4.6vw,55px); }
.gate-file { width: fit-content; margin: 0 auto 16px; padding: 12px; border-radius: 8px; background: var(--warm-bg); color: var(--highlight); font-weight: 700; }
.gate-box p { margin: 12px 0; color: var(--muted); }
.timer { display: grid; place-items: center; width: 86px; height: 86px; margin: 20px auto 6px; border: 5px solid var(--accent); border-radius: 50%; font-size: 33px; font-weight: 700; }
.back-link { display: inline-block; margin-top: 15px; }
.error-page { padding-block: 10vh; text-align: center; }
.error-number { font-size: 46px; font-weight: 700; color: var(--accent); }
.consent { position: fixed; z-index: 9; bottom: 12px; left: 12px; max-width: min(410px,calc(100vw - 24px)); padding: 18px; box-shadow: 0 12px 60px #0005; }
.consent h2 { font-size: 20px; }
.consent p, .consent label { margin-block: 6px 10px; }
.consent label { display: block; }
.consent-open { margin: 12px; border: 0; background: transparent; color: var(--highlight); text-decoration: underline; }
.rbxs-ad { min-height: 100px; margin: 18px auto; }
.rbxs-video { padding: 16px; }
.rbxs-video figcaption { padding: 14px 18px; font-weight: 700; }
.rbxs-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16/9; border: 0; }
.rbxs-video > a { display: block; padding: 12px 18px; font-size: .875rem; }
.rbxs-video:has(iframe) { padding: 0; overflow: hidden; }

@media (width > 640px) {
    .filters, .help-layout > aside, .game-sidebar, .article-sidebar .toc {
        --sidebar-top: calc(24px + var(--wp-admin--admin-bar--height, 0px));
        position: sticky;
        top: var(--sidebar-top);
        align-self: start;
        max-height: calc(100vh - var(--sidebar-top) - 24px);
        max-height: calc(100dvh - var(--sidebar-top) - 24px);
        overflow-y: auto;
    }
}

@media (max-width: 1100px) {
    .listing-intro { grid-template-columns: minmax(0,1fr) minmax(245px,33%); }
    .listing-intro h1 { font-size: clamp(40px,5.25vw,74px); }
    .blog-intro h1 { font-size: clamp(45px,6.4vw,88px); }
    .game-layout { grid-template-columns: minmax(0,1fr) minmax(205px,25%); }
    .article-layout { grid-template-columns: minmax(0,1fr) minmax(205px,25%); }
    .catalog-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hero-home { min-height: 490px; }
    .hero-home .hero-art, .guide-banner .hero-art { object-fit: cover; }
}
@media (max-width: 850px) {
    .wrap { width: calc(100% - 40px); }
    .grid { gap: 14px; }
    .grid-three { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hero-home { min-height: 440px; }
    .hero-home::after { background: linear-gradient(90deg,#1a1820 32%,#1a1820c7 56%,transparent 91%); }
    .guide-banner::after { background: linear-gradient(90deg,#251c29 28%,#251c29c7 54%,transparent 93%); }
    .catalog-layout { grid-template-columns: minmax(160px,190px) minmax(0,1fr); gap: 18px; }
    .catalog-story { padding: 22px; gap: 16px; }
    .catalog-story-text { padding-left: 16px; }
    .featured .card-main { min-height: 425px; }
    .featured .card-body { padding: 20px; }
    .side-grid { gap: 13px; }
    .help-hero { padding: 35px; }
    .help-layout { grid-template-columns: minmax(145px,28%) minmax(0,1fr); }
    .game-layout, .article-layout { grid-template-columns: minmax(0,1fr); }
    .game-sidebar { display: contents; }
    .game-toc { grid-row: 1; margin-bottom: 0; }
    .game-main { grid-row: 2; }
    .injector-info { grid-row: 3; }
    .article-sidebar { grid-column: 1; grid-row: auto; padding: 0; margin-bottom: 22px; }
    .game-sidebar, .article-sidebar .toc { position: static; max-height: none; overflow: visible; }
    .toc ul { display: flex; flex-wrap: wrap; gap: 4px; }
    .toc .toc-level-3 a { padding-left: 9px; }
    .game-layout { margin-top: 34px; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .wrap { width: calc(100% - 32px); }
    .site-header { display: flex; justify-content: space-between; gap: 5px; min-height: 64px; }
    .brand { gap: 7px; font-size: 17px; }
    .brand-mark { width: 34px; height: 34px; }
    .custom-brand img { max-width: min(140px,36vw); }
    .header-tools { gap: 4px; }
    .square, .search-jump { width: 44px; height: 44px; padding: 0; }
    .search-jump span, .js .main-nav { display: none; }
    .js .menu-toggle { display: inline-flex; }
    .site-dialog.menu-dialog {
        position: fixed;
        inset: 0;
        width: 100%;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        margin: 0;
        padding: max(18px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
        border: 0;
        border-radius: 0;
        background: var(--header);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .menu-dialog .dialog-heading { margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
    .menu-dialog .dialog-heading h2 { font-size: 28px; }
    .menu-dialog .overlay-nav a { display: flex; align-items: center; min-height: 62px; padding-inline: 12px; color: var(--text); font-size: clamp(24px, 6.2vw, 32px); line-height: 1.2; }
    .menu-dialog .overlay-nav a[aria-current] { color: var(--accent); }
    .menu-dialog .overlay-nav .sub-menu { padding-inline-start: 20px; }
    html:not(.js) .site-header { flex-wrap: wrap; justify-content: start; }
    html:not(.js) .header-tools { margin-left: auto; }
    html:not(.js) .main-nav { order: 3; width: 100%; }
    .crumbs { margin-top: 19px; }
    .section-head { flex-wrap: wrap; margin-bottom: 17px; }
    .hero-home { margin-top: 20px; min-height: 450px; align-items: end; }
    .hero-home .hero-art { width: 100%; height: 64%; object-position: 53% 25%; }
    .hero-home::after { background: linear-gradient(0deg,#1a1820 22%,#1a1820ed 39%,#1a182061 77%,#1a182022); }
    .hero-copy { padding: 22px; }
    .hero-home .hero-copy { width: 100%; }
    .hero-home h1 { font-size: clamp(45px,11vw,66px); }
    .hero-home .hero-copy > p { margin: 16px 0 20px; }
    .eyebrow { margin-bottom: 14px; }
    .hero, .help-hero { border-radius: 16px; }
    .search-form { gap: 5px; padding: 4px; }
    .search-form label { padding-left: 8px; gap: 7px; }
    .search-form input, .review-form :is(input,textarea,select) { font-size: 16px; }
    .search-form .btn { padding-inline: 10px; }
    .guide-banner { min-height: 310px; align-items: end; }
    .guide-banner .hero-art { width: 100%; height: 75%; object-position: 65% center; }
    .guide-banner::after { background: linear-gradient(0deg,#251c29 5%,#251c29f0 33%,#251c2981 65%,#251c2930); }
    .guide-banner .hero-copy { padding: 22px; }
    .catalog-story, .home-faq, .listing-intro, .catalog-layout, .help-hero, .help-layout { grid-template-columns: minmax(0,1fr); }
    .catalog-story-text { padding: 13px 0 0; border: 0; border-top: 1px solid var(--line); }
    .home-faq { gap: 8px; padding-top: 28px; }
    .home-faq header a { margin-top: 11px; }
    .home-faq .faq-answer { padding-right: 18px; }
    .footer-columns { grid-template-columns: minmax(0,1fr) minmax(0,1fr); padding: 28px 0; gap: 22px; }
    .foot-brand { grid-column: 1/-1; }
    .listing-intro { margin-top: 27px; }
    .catalog-intro { padding-bottom: 23px; }
    .catalog-layout { margin-top: 20px; }
    .js .filter-heading { display: none; }
    .js .filter-toggle { display: flex; width: 100%; min-height: 48px; border: 0; border-radius: 12px; background: var(--panel); font-weight: 700; }
    .js .filter-toggle[aria-expanded="false"] + #filter-body { display: none; }
    .filter-fields label { min-height: 40px; }
    .sort-control { flex-wrap: wrap; }
    .catalog-cards { gap: 10px; }
    .game-card.game .card-body { padding: 10px; }
    .catalog-guide-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
    .strip { margin-top: 38px; padding: 18px; flex-wrap: wrap; gap: 12px; }
    .strip > .btn { margin-left: 0; }
    .strip-icon { width: 38px; height: 38px; }
    .catalog-strip .strip-icon { display: none; }
    .blog-intro { gap: 16px; }
    .blog-intro p { margin-top: 14px; font-size: 16px; }
    .topics { margin-block: 22px 18px; }
    .topics a { min-height: 44px; padding-inline: 11px; }
    .featured-grid { grid-template-columns: minmax(0,1fr); gap: 13px; }
    .featured .card-main { min-height: 365px; }
    .editor-pick { top: 15px; left: 16px; }
    .featured .card-arrow { top: 14px; right: 15px; }
    .side-grid { grid-template: none / repeat(2,minmax(0,1fr)); }
    .side .card-img { aspect-ratio: 1.75; }
    .side .card-body, .post-card .card-body { padding: 14px; }
    .home-post .card-body { padding-right: 39px; min-height: 0; }
    .home-post .card-arrow { bottom: 12px; right: 7px; }
    .game-hero { min-height: 390px; align-items: end; }
    .game-hero .hero-art { width: 100%; height: 76%; object-position: center 30%; }
    .game-hero::after { background: linear-gradient(0deg,#201a27 18%,#201a27e9 38%,#201a2777 74%,#201a273d); }
    .game-hero .hero-copy { width: 100%; padding: 22px; }
    .game-hero .hero-copy p { margin: 15px 0 18px; }
    .game-hero .hero-buttons { gap: 10px; }
    .game-toc { display: flex; flex-wrap: wrap; gap: 8px 14px; }
    .game-toc h2 { width: 100%; margin-bottom: 0; }
    .game-toc [aria-current]::before { display: none; }
    .injector-info { padding: 15px; }
    .script { padding: 16px; gap: 16px; }
    .script-main.has-gallery { grid-template-columns: minmax(0,1fr); gap: 12px; }
    .script-gallery { max-width: 400px; }
    .script-actions .btn { min-height: 44px; }
    .game-video, .game-prose, .game-faq, .reviews, .similar-games { margin-top: 42px; }
    .review-panel { grid-template-columns: minmax(0,1fr); }
    .review-summary { padding: 16px; border: 0; border-bottom: 1px solid var(--line); }
    .review-form { padding: 16px; }
    .review-row { grid-template-columns: minmax(0,1fr); gap: 10px; }
    .stars label { width: 44px; height: 44px; }
    .article-wrap > .crumbs { margin-bottom: 23px; }
    .article-image { aspect-ratio: 2.2; }
    .prose .wp-block-table table { min-width: 475px; }
    .help-hero { gap: 18px; padding: 22px; }
    .help-hero p { margin-block: 12px 16px; }
    .help-quick { padding: 14px 16px 6px; }
    .help-layout { margin-top: 30px; gap: 20px; }
    .help-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; padding: 10px; }
    .help-nav h2 { width: 100%; }
    .help-answers summary { padding: 13px 15px; }
    .help-answers .faq-answer { padding-inline: 15px; }
    .help-contact { margin-top: 24px; }
}
@media (max-width: 460px) {
    .grid-three, .grid-two, .side-grid { grid-template-columns: minmax(0,1fr); }
    .side .card-main { display: grid; grid-template-columns: 38% minmax(0,1fr); align-items: stretch; }
    .side .card-img { min-height: 104px; aspect-ratio: auto; }
    .side .card-body { padding-right: 25px; }
    .side .card-arrow { width: 23px; height: 23px; right: 5px; top: 5px; }
    .side .card-arrow .icon { width: 12px; }
    .script-toolbar { justify-content: flex-start; }
    .source-title, .source-link { min-height: 28px; }
    .author { flex-wrap: wrap; }
    .author .arrow-link { margin-left: 0; }
}
@media (max-width: 375px) {
    .catalog-cards { grid-template-columns: minmax(0,1fr); }
    .game-card.game .card-main { display: grid; grid-template-columns: 88px minmax(0,1fr); align-items: center; gap: 10px; padding: 8px; }
    .game-card.game .card-img { aspect-ratio: 1.5; border: 0; border-radius: 7px; }
    .game-card.game .card-body { padding: 0; }
    .game-card.game .card-arrow { display: none; }
}
@media (max-width: 360px) {
    .header-tools { gap: 2px; }
    .site-header .brand { font-size: 15px; }
    .site-header .brand-mark { width: 30px; height: 30px; }
    .search-home .btn svg { display: none; }
    .sort-control { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

