:root {
    color-scheme: dark;
    --canvas: #111216;
    --panel: #191b20;
    --line: #30333a;
    --ink: #f5f3ee;
    --muted: #b7b8bd;
    --gold: #ffc161;
    --heading: Bahnschrift, "Arial Narrow", Arial, sans-serif;
    --body: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 1rem/1.5 var(--body); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 64px, 1160px); margin-inline: auto; }
.skip { position: absolute; z-index: 5; inset: -8rem auto auto 1rem; padding: 10px 14px; background: var(--gold); color: #17130f; }
.skip:focus { top: 1rem; }

.site-top { position: relative; z-index: 1; border-bottom: 1px solid #303136; background: #121317; }
.top-row { display: flex; align-items: center; gap: clamp(18px, 4vw, 54px); min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; margin-inline-end: auto; white-space: nowrap; font-family: var(--heading); font-weight: 750; font-size: 1.18rem; letter-spacing: -.03em; }
.brand img { display: block; }
.brand-accent { color: var(--gold); }
.top-links { display: flex; align-items: center; gap: clamp(15px, 3vw, 36px); font-size: .88rem; font-weight: 640; color: #d2d2d7; }
.top-links a { display: flex; align-items: center; min-height: 44px; }
.top-links a:hover, .top-links a:focus-visible { color: var(--gold); }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 590px; overflow: hidden; border-bottom: 1px solid #584636; background: #191818; }
.hero-media { position: absolute; z-index: -2; inset: 0; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg,#111216 0%,#111216e8 20%,#1112169e 43%,#11121620 67%,transparent 90%), linear-gradient(0deg,#111216f5 0%,transparent 30%); }
.hero-copy { padding-block: 68px 60px; }
.eyebrow { display: flex; gap: 10px; align-items: center; margin: 0 0 17px; font-size: clamp(.66rem, 2.4vw, .78rem); color: #f1d5a7; font-weight: 720; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { flex: 0 0 19px; height: 2px; background: var(--gold); transform: skewX(-30deg); }
h1, h2, h3 { font-family: var(--heading); }
.hero h1 { margin: 0; font-size: clamp(3.3rem, 8vw, 7.05rem); line-height: .91; letter-spacing: -.06em; font-weight: 760; text-transform: uppercase; }
.hero h1 em { display: block; padding-top: .04em; color: var(--gold); font-style: normal; }
.hero-intro { max-width: 46ch; margin: 22px 0 25px; color: #dddce0; line-height: 1.65; font-size: clamp(.96rem, 2vw, 1.08rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.play, .address { display: inline-flex; align-items: center; min-height: 52px; border-radius: 7px; }
.play { gap: 10px; padding: 10px 15px; background: var(--gold); color: #17130f; border: 1px solid #ffd68d; box-shadow: 0 8px 28px #ffa33338; font-weight: 780; font-size: .93rem; }
.play:hover { background: #ffd596; }
.play img { flex: 0 0 24px; }
.play .arrow { margin-inline-start: 9px; color: #65441e; }
.address { gap: 5px; padding: 3px 5px 3px 13px; background: #1a1c20e8; border: 1px solid #49423a; }
.address code { overflow-wrap: anywhere; color: #f9eedf; font-size: .9rem; font-weight: 650; user-select: all; }
.address button { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; cursor: pointer; color: var(--gold); border: 0; border-radius: 4px; background: transparent; }
.address button:hover { background: #ffc16122; }
.copy-icon { position: relative; width: 14px; height: 15px; border: 1.5px solid currentColor; border-radius: 3px; }
.copy-icon::before { content: ""; position: absolute; top: -5px; left: 3px; width: 13px; height: 13px; border: 1.5px solid currentColor; border-bottom: 0; border-left: 0; border-radius: 3px; }
.copy-feedback { min-height: 1.3em; margin: 8px 0 0; color: #f5d097; font-size: .84rem; }

.portal { padding-block: 44px 34px; }
.section-title { display: flex; align-items: center; gap: 22px; margin-bottom: 16px; }
.section-title h2, .help h2 { margin: 0; font-weight: 720; line-height: 1.13; letter-spacing: -.035em; }
.section-title h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.section-title span { height: 1px; flex: 1; background: linear-gradient(90deg,#545048,var(--line)); }
.portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.portal-card { --accent: var(--gold); display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 11px; padding: clamp(19px, 3vw, 27px); border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(155deg,#202127 0%,var(--panel) 63%); }
.portal-card.ranks { --accent: #85d5e6; }
.portal-card.discord { --accent: #b4b9ff; }
.portal-card:hover, .portal-card:focus-within { border-color: var(--accent); }
.card-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 3px; color: var(--accent); background: #131418; border: 1px solid #3b3c44; border-radius: 9px; }
.shield-icon, .rank-icon { position: relative; display: block; width: 22px; height: 22px; }
.shield-icon { background: currentColor; clip-path: polygon(50% 0,93% 18%,89% 63%,71% 86%,50% 100%,29% 86%,11% 63%,7% 18%); }
.shield-icon::after { content: ""; position: absolute; inset: 3px 4px 4px; background: #131418; clip-path: inherit; }
.rank-icon { display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.rank-icon i { width: 5px; height: 35%; background: currentColor; border-radius: 1px; }
.rank-icon i:nth-child(2) { height: 65%; }
.rank-icon i:nth-child(3) { height: 100%; }
.portal-card h3 { margin: 1px 0 0; font-size: 1.38rem; line-height: 1.12; }
.portal-card p { margin: 0 0 4px; color: var(--muted); font-size: .92rem; }
.portal-card a { display: flex; align-items: center; gap: 11px; min-height: 44px; margin-top: auto; color: var(--accent); font-size: .89rem; font-weight: 720; }
.portal-card a:hover { text-decoration: underline; text-underline-offset: 4px; }

.help { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; padding: 22px 25px; border: 1px solid var(--line); border-radius: 11px; background: #17191d; }
.help h2 { font-size: 1.27rem; }
.help p { margin: 6px 0 0; color: var(--muted); font-size: .88rem; }
.help code { display: block; padding: 10px 13px; background: #101115; border: 1px solid #363743; border-radius: 6px; color: #f1dbb7; font-size: .8rem; overflow-wrap: anywhere; user-select: all; }
.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 65px; color: var(--muted); font-size: .8rem; }
.footer-row a { padding-block: 12px; color: var(--ink); text-underline-offset: 4px; }
.footer-row a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
    .portal-card, .play, .address button, .top-links a { transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
}
@media (max-width: 760px) {
    .wrap { width: calc(100% - 36px); }
    .top-row { flex-wrap: wrap; min-height: 0; padding-block: 10px 2px; row-gap: 1px; }
    .top-links { order: 3; flex: 1 1 100%; gap: clamp(14px,5vw,29px); }
    .brand { min-height: 44px; }
    .hero { min-height: 490px; }
    .hero-copy { padding-block: 56px 31px; }
    .hero-media img { object-position: 66% center; }
    .hero::after { background: linear-gradient(90deg,#111216ed,#111216a8 45%,#11121634),linear-gradient(0deg,#111216 0%,#11121608 45%); }
    .portal { padding-top: 29px; }
    .portal-grid { grid-template-columns: 1fr; gap: 9px; }
    .portal-card { gap: 7px; }
    .help { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 375px) {
    .wrap { width: calc(100% - 28px); }
    .hero h1 { font-size: clamp(2.55rem, 13vw, 3.3rem); }
    .address { min-height: 49px; }
    .footer-row { flex-wrap: wrap; justify-content: flex-start; gap: 0 18px; padding-block: 10px; }
}


.top-row { gap: clamp(16px, 2.8vw, 36px); }
.top-links { gap: clamp(12px, 1.7vw, 24px); }
.top-links a { gap: 6px; white-space: nowrap; }
.top-links img { display: block; width: 17px; height: 17px; }
.top-links .shield-icon, .top-links .rank-icon { width: 15px; height: 15px; color: #f5bf70; }
.top-links .shield-icon::after { inset: 2px 3px 3px; background: #121317; }
.top-links .rank-icon { gap: 2px; color: #85d5e6; }
.top-links .rank-icon i { width: 3px; }
.top-links .top-download { color: var(--gold); }
.forum-icon { position: relative; display: inline-block; width: 15px; height: 12px; border: 1.5px solid #c6cdde; border-radius: 3px; }
.forum-icon::after { position: absolute; bottom: -4px; left: 2px; width: 4px; height: 5px; content: ""; border-left: 1.5px solid #c6cdde; background: #121317; transform: skewY(-39deg); }
.download-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: #ffcd87; font-weight: 700; font-size: .9rem; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 22px; }
.download-link img { width: 18px; height: 18px; }
.download-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.quick-live { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: #beebd2; font-size: .85rem; }
.quick-live::before { width: 6px; height: 6px; border-radius: 50%; content: ""; background: #82e2aa; }
.quick-live:hover { text-decoration: underline; text-underline-offset: 4px; }

.server-live { padding-top: 37px; }
.server-heading, .history-head, .roster-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.server-heading { margin-bottom: 14px; }
.server-heading h2 { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.13; letter-spacing: -.035em; }
.dashboard-link { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 12px; color: #ffdbad; border: 1px solid #695239; border-radius: 7px; background: #28221c; font-size: .86rem; font-weight: 700; }
.dashboard-link:hover { border-color: #eab575; color: #fff0d9; }
.server-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr); gap: 14px; }
.server-panel { min-width: 0; margin: 0; padding: clamp(16px, 2.5vw, 23px); border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(154deg, #202127, var(--panel) 70%); }
.server-history { border-block-start-color: #a77244; background: radial-gradient(ellipse at 98% 0%, #fdb96113, transparent 54%), linear-gradient(154deg, #202127, var(--panel) 70%); }
.server-panel h3 { margin: 0; font-size: 1.22rem; line-height: 1.12; }
.history-ranges { display: flex; gap: 3px; padding: 3px; border: 1px solid #35373e; border-radius: 6px; background: #14161a; }
.history-ranges button { min-width: 42px; min-height: 34px; padding: 0 7px; cursor: pointer; border: 0; border-radius: 4px; background: transparent; color: #cfcfd3; font-size: .74rem; font-weight: 740; }
.history-ranges button[aria-pressed="true"] { background: #3b3021; color: #ffcf88; }
.history-ranges button:hover { color: var(--gold); }
.history-meta, .history-legend, .history-time { display: flex; flex-wrap: wrap; gap: 8px 17px; align-items: center; color: var(--muted); font-size: .8rem; }
.history-meta { margin-block: 13px 8px; }
.history-meta b { margin-inline-start: 3px; color: #ffe5be; font-variant-numeric: tabular-nums; }
.history-plot { display: grid; grid-template-columns: 28px minmax(0, 1fr); height: clamp(170px, 20vw, 218px); }
.history-plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.history-axis { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; padding-inline-end: 6px; color: var(--muted); font-size: .7rem; }
.history-gridlines { fill: none; stroke: #4b4d56; stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.chart-area { fill: url(#portal-chart-fill); }
.chart-players, .chart-staff { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart-staff { stroke: #85d5e6; stroke-dasharray: 4 4; }
.chart-dot { fill: var(--gold); }
.chart-dot.staff { fill: #85d5e6; }
.history-time { justify-content: space-between; margin: 4px 0 10px 28px; font-size: .74rem; }
.history-legend span { display: flex; align-items: center; gap: 6px; }
.history-legend span::before { width: 14px; height: 2px; content: ""; background: var(--gold); }
.history-legend span + span::before { height: 0; border-top: 2px dashed #85d5e6; background: transparent; }
.history-caption { margin: 5px 0 0; color: var(--muted); font-size: .77rem; }
.roster-head strong { white-space: nowrap; color: #f8cf99; font-size: 1.38rem; font-variant-numeric: tabular-nums; }
.server-occupancy { height: 5px; margin-block: 8px 10px; overflow: hidden; border-radius: 999px; background: #353941; }
.server-occupancy span { display: block; inline-size: 0%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#45cf9d,#abedbb); }
.server-status { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 13px; margin: 5px 0 8px; color: var(--muted); font-size: .79rem; }
.server-status .is-online { display: inline-flex; align-items: center; gap: 6px; color: #9ae5b8; font-weight: 740; }
.server-status .is-online::before { width: 7px; height: 7px; border-radius: 50%; content: ""; background: #82e2aa; }
.server-map { margin: 0 0 10px; color: var(--muted); font-size: .83rem; overflow-wrap: anywhere; }
.server-map b { margin-inline-start: 4px; color: var(--ink); unicode-bidi: isolate; }
.server-message { margin: 12px 0 0; color: var(--muted); font-size: .86rem; }
.roster-scroll { max-block-size: min(340px, 52vh); overflow: auto; overflow-x: hidden; overscroll-behavior-y: contain; scrollbar-gutter: stable; scrollbar-color: #727b83 #181c20; border: 1px solid #343b45; border-radius: 7px; background: #16191e; }
.roster-scroll table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.roster-scroll th, .roster-scroll td { padding: 8px 9px; text-align: start; border-bottom: 1px solid #323943; font-size: .85rem; line-height: 1.3; }
.roster-scroll th { position: sticky; top: 0; z-index: 1; color: #e0e0e2; background: #282d35; }
.roster-scroll tbody tr:nth-child(even) { background: #ffffff06; }
.roster-scroll tbody tr:last-child td { border-bottom: 0; }
.roster-scroll th:last-child, .roster-scroll td:last-child { width: 60px; text-align: end; font-variant-numeric: tabular-nums; }
.roster-scroll td:first-child { color: #f5f3ee; font-weight: 630; overflow-wrap: anywhere; }
.roster-scroll td:last-child { color: #f6d6ab; overflow-wrap: anywhere; }
@media (max-width: 900px) {
    .top-row { flex-wrap: wrap; min-height: 0; padding-block: 9px 2px; row-gap: 4px; }
    .top-links { order: 3; flex: 1 1 100%; flex-wrap: wrap; column-gap: clamp(10px, 3vw, 22px); row-gap: 1px; }
    .brand { min-height: 44px; }
}
@media (max-width: 700px) {
    .server-live { padding-top: 26px; }
    .server-grid { grid-template-columns: 1fr; gap: 10px; }
    .history-plot { height: 154px; }
}
@media (max-width: 500px) {
    .top-links { justify-content: flex-start; column-gap: 15px; }
    .top-links a { min-height: 42px; font-size: .8rem; }
}


.language-picker { position: relative; flex: 0 0 auto; }
.language-picker summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 5px 9px; cursor: pointer; list-style: none; border: 1px solid #35373e; border-radius: 7px; color: #f1eee7; font-size: .79rem; font-weight: 670; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary::after { width: 6px; height: 6px; margin-inline: 3px 1px; border: solid #d8c29f; border-width: 0 1.5px 1.5px 0; content: ""; transform: rotate(45deg) translateY(-2px); }
.language-picker[open] summary { border-color: #8d693f; }
.language-picker summary span { display: grid; place-items: center; min-width: 27px; min-height: 27px; padding-inline: 3px; border-radius: 4px; background: #393025; color: #ffd18b; font-size: .7rem; font-weight: 800; }
.language-options { position: absolute; z-index: 4; inset-block-start: calc(100% + 6px); inset-inline-end: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; width: min(278px, calc(100vw - 30px)); max-height: min(68vh, 440px); overflow: auto; padding: 8px; border: 1px solid #49434a; border-radius: 9px; background: #191b20; box-shadow: 0 14px 40px #0009; }
.language-options a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 7px; min-height: 42px; align-items: center; padding: 5px 6px; border-radius: 4px; font-size: .83rem; font-weight: 620; }
.language-code { display: grid; place-items: center; min-height: 23px; border: 1px solid #3a3e48; border-radius: 4px; color: #c1b6a3; font-size: .65rem; font-weight: 800; }
.language-options bdi { justify-self: start; min-width: 0; overflow-wrap: anywhere; }
.language-options a[aria-current], .language-options a:hover { background: #3a3023; color: #ffd69a; }
.history-plot, .history-time { direction: ltr; }
[dir="rtl"] .hero-media, [dir="rtl"] .hero::after { transform: scaleX(-1); }
[lang="ar"] .hero h1, [lang="hi"] .hero h1 { line-height: 1.14; letter-spacing: -.035em; }
[lang="zh"] .hero h1, [lang="ja"] .hero h1, [lang="ko"] .hero h1 { line-height: 1.06; letter-spacing: -.045em; }
.hero h1 { overflow-wrap: anywhere; }

.community-extras { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; padding-block-start: 29px; }
.community-extras:has(.visitor-feature[hidden]) { grid-template-columns: 1fr; }
.vote-feature, .visitor-feature { position: relative; min-width: 0; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: 12px; }
.vote-feature { isolation: isolate; display: flex; gap: clamp(13px, 2.4vw, 24px); align-items: center; overflow: hidden; border-color: #755039; background: linear-gradient(145deg, #342319 0%, #231c23 48%, #191a22 100%); }
.vote-feature::before { position: absolute; z-index: -1; inset: 0; content: ""; background: radial-gradient(ellipse at 11% 12%, #f7b25e29, transparent 56%), repeating-linear-gradient(135deg, transparent 0 14px, #ffc16109 14px 15px); }
.vote-emblem { display: grid; flex: 0 0 auto; width: clamp(48px, 7vw, 77px); height: clamp(48px, 7vw, 77px); align-self: center; place-items: center; border: 1px solid #d49857; border-radius: 18%; background: #342619; color: #ffca77; box-shadow: 0 0 28px #f8ad4c31, inset 0 0 16px #f8ad4c2c; font-size: clamp(1.5rem, 4vw, 2.95rem); line-height: 1; text-shadow: 0 0 16px #ffc1617d; }
.vote-copy { flex: 1; min-width: 0; }
.vote-feature h2, .visitor-feature h2, .quick-guide h2 { margin: 0; font-size: clamp(1.24rem, 3vw, 1.86rem); line-height: 1.13; letter-spacing: -.025em; overflow-wrap: anywhere; }
.vote-feature p { margin: 8px 0 13px; color: #e2cdbe; font-size: .91rem; }
.vote-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 16px; }
.vote-action { isolation: isolate; display: inline-flex; position: relative; min-height: 44px; align-items: center; gap: 10px; overflow: hidden; padding: 7px 12px; cursor: pointer; border: 1px solid #e5b16f; border-radius: 6px; background: #ffc161; color: #1c1411; font-size: .87rem; font-weight: 800; }
.vote-action:not(:disabled):hover, .vote-action:focus-visible { background: #ffd394; }
.vote-action:disabled { cursor: default; border-color: #756148; background: #433626; color: #cbbba4; }
.vote-action::after { position: absolute; inset: 0; pointer-events: none; content: ""; background: linear-gradient(108deg, transparent 32%, #fff9d97f 51%, transparent 70%); transform: translateX(-123%); }
.vote-stats { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; }
.vote-stats > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding: 5px 8px; border: 1px solid #715747; border-radius: 6px; background: #211c20; }
.vote-stats dt { color: #e1c6ab; font-size: .72rem; }
.vote-stats dd { margin: 0; color: #fff1db; font-size: .86rem; font-weight: 760; font-variant-numeric: tabular-nums; }
.vote-feedback { min-height: 1.3em; margin-block-start: 7px; color: #dfc9b7; font-size: .8rem; }
.vote-feature.has-voted .vote-feedback { color: #a8ebc8; }
.vote-feature.has-voted .vote-emblem { color: #b2f4d1; border-color: #579a77; box-shadow: 0 0 26px #66dca537; }
@media (prefers-reduced-motion: no-preference) {
    .play, .vote-action:not(:disabled) { animation: action-glow 3.4s ease-out 3; }
    .vote-action:not(:disabled) { animation-delay: .7s; }
    .server-occupancy span { transition: inline-size .32s ease; }
    .vote-action:not(:disabled):hover::after, .vote-action:focus-visible::after { animation: vote-sheen .8s ease-out; }
    .vote-feature:hover .vote-emblem { box-shadow: 0 0 31px #f8ad4c50, inset 0 0 18px #f8ad4c48; }
    .vote-emblem { transition: box-shadow .24s ease; }
    .quick-live:not([hidden])::before, .is-live .server-status .is-online::before { animation: live-beacon 2.7s ease-out infinite; }
    [data-history-body]:not([hidden]) svg { animation: chart-reveal .55s ease-out; }
}
@keyframes vote-sheen { to { transform: translateX(123%); } }
@keyframes action-glow {
    0%, 100% { box-shadow: 0 6px 21px #ffa3333b, 0 0 0 0 #ffbe6200; }
    27% { box-shadow: 0 8px 29px #ffa33364, 0 0 0 3px #ffbe6250; }
    63% { box-shadow: 0 6px 21px #ffa3333b, 0 0 0 8px #ffbe6200; }
}
@keyframes live-beacon { 0% { box-shadow: 0 0 0 0 #82e2aa7c; } 55%, 100% { box-shadow: 0 0 0 8px #82e2aa00; } }
@keyframes chart-reveal { from { opacity: .25; } to { opacity: 1; } }
.is-live .server-roster { border-color: #3a594d; background: radial-gradient(ellipse at 100% 0%, #72dfa514, transparent 50%), linear-gradient(154deg, #202127, var(--panel) 70%); }

.visitor-feature { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 13px; background: linear-gradient(153deg,#202229,#17191e 68%); }
.flag-frame { align-self: stretch; max-block-size: min(206px, 43vh); min-inline-size: 0; overflow: auto; overflow-x: hidden; overscroll-behavior-y: contain; scrollbar-gutter: stable; scrollbar-color: #9e9e9e #f5f5f5; padding: 6px; border: 1px solid #babbbd; border-radius: 6px; background: #f5f5f5; color: #25262b; }
.flag-frame a { display: block; width: max-content; max-width: 100%; margin-inline: auto; }
.flag-frame a:focus-visible { outline-offset: 1px; }
.flag-frame picture { display: block; }
.flag-frame img { display: block; max-width: 100%; height: auto; min-height: 32px; }
.card-scroll-tools { display: grid; grid-template-columns: minmax(0,1fr) 44px 44px; align-items: center; gap: 8px; width: 100%; margin-block-start: 8px; }
.card-scroll-progress { appearance: none; display: block; width: 100%; height: 4px; border: 0; border-radius: 5px; background: #383a42; color: var(--gold); }
.card-scroll-progress::-webkit-progress-bar { border-radius: 5px; background: #383a42; }
.card-scroll-progress::-webkit-progress-value { border-radius: 5px; background: var(--gold); }
.card-scroll-progress::-moz-progress-bar { border-radius: 5px; background: var(--gold); }
.card-scroll-tools button { display: grid; place-items: center; min-height: 44px; padding: 0; border: 1px solid #4c514f; border-radius: 7px; color: #ffe0b3; background: #24282e; font-weight: 760; cursor: pointer; }
.card-scroll-tools button[aria-disabled="false"]:hover { border-color: #e7b477; background: #3c3328; }
.card-scroll-tools button[aria-disabled="true"] { color: #95959d; cursor: default; }
.visitor-feature .card-scroll-tools { margin-block-start: 0; }
.quick-guide a { display: inline-flex; align-items: center; gap: 6px; color: #ffd092; font-size: .86rem; font-weight: 700; }
.quick-guide a:hover { text-decoration: underline; text-underline-offset: 4px; }
.quick-guide { margin-block: 0 36px; }
.quick-guide h2 { margin-bottom: 10px; }
.quick-guide details { background: #18191e; border: 1px solid var(--line); border-radius: 8px; }
.quick-guide details + details { margin-top: 8px; }
.quick-guide summary { display: list-item; padding: 11px 14px; cursor: pointer; font-weight: 650; }
.quick-guide details[open] summary { color: #ffd092; }
.quick-guide p { margin: 0; padding: 0 14px 9px; color: var(--muted); font-size: .92rem; }
.quick-guide details a { margin: 0 14px 13px; }
@media (max-width: 950px) {
    .top-row { flex-wrap: wrap; min-height: 0; padding-block: 9px 2px; row-gap: 4px; }
    .top-links { order: 3; flex: 1 1 100%; flex-wrap: wrap; }
}
@media (max-width: 720px) {
    .community-extras { grid-template-columns: 1fr; gap: 10px; padding-block-start: 20px; }
}
@media (max-width: 380px) {
    .language-picker summary bdi { display: none; }
    .vote-feature { gap: 11px; padding: 15px; }
}

