/* Shared public interface. Intentionally independent of the legacy game styles. */
:root {
    color-scheme: light;
    --green: #234f3e;
    --green-2: #347057;
    --gold: #d6ae58;
    --gold-2: #ebcb86;
    --brown: #233d32;
    --brown-2: #46574e;
    --paper: #fbf9f2;
    --paper-2: #f4f0e6;
    --line: #e3e5db;
    --ink: #253b31;
    --muted: #647168;
    --shadow: 0 14px 42px rgb(43 59 40 / 5%);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(ellipse at 95% 20%, #eaf0e3 0, transparent 48%), #f7f6f0; color: var(--ink); font-family: 'Segoe UI', Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.85; }
button, input, select, textarea { font: inherit; }
a { color: var(--green); text-underline-offset: 4px; }
a, button, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a77624; outline-offset: 4px; }
p, h1, h2, h3, ul { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.5; }
p { margin-bottom: 16px; }
.skip-link { position: fixed; top: 8px; right: 12px; z-index: 100; padding: 12px 20px; background: #fff; border: 2px solid var(--green); border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.hero { flex-shrink: 0; padding-top: clamp(106px, 8.84vw, 172px); background: #b9dff0 url('public_header_sahat_v3.png') center top / auto clamp(106px, 8.84vw, 172px) no-repeat; }
.nav-shell { background: #fffefa; border-top: 1px solid #ddcfac; border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgb(29 58 42 / 4%); }
.public-nav { width: min(1240px, calc(100% - 64px)); min-height: 86px; margin: 0 auto; display: flex; gap: 36px; align-items: center; }
.site-brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; line-height: 1.4; font-weight: 800; }
.site-brand img { object-fit: contain; width: 44px; height: 44px; }
.site-brand small { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; letter-spacing: .1px; color: var(--muted); }
.nav-links { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-pages, .nav-auth { display: flex; align-items: center; gap: 8px; }
.nav-pages > a { position: relative; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: 14px; border-radius: 8px; white-space: nowrap; color: #59675e; }
.nav-pages > a:hover { background: #f2f5ed; color: var(--green); }
.nav-pages > a.active { color: var(--green); background: #edf3e9; }
.nav-pages > a.active::after { content: ''; position: absolute; height: 3px; width: 18px; bottom: 5px; border-radius: 5px; background: var(--gold); }
.button, .sahat-btn, .btn, .cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 22px; border: 1px solid transparent; border-radius: 10px; font-size: 15px; font-weight: 700; line-height: 1.6; text-decoration: none; transition: background .16s, box-shadow .16s; }
.button-primary, .sahat-btn, .btn-green, .cta.play { background: var(--green); color: #fff; box-shadow: 0 5px 14px rgb(35 79 62 / 12%); }
.button-primary:hover, .sahat-btn:hover, .btn-green:hover, .cta.play:hover { background: #193f30; }
.button-gold, .btn-gold, .cta.signup { background: #e5bf70; color: #3e321a; border-color: #d7af5c; }
.button-gold:hover, .btn-gold:hover, .cta.signup:hover { background: #efce89; }
.button-quiet { color: var(--green); border-color: #d5ded3; background: transparent; }
.button-quiet:hover, .button-quiet.active { background: #edf3e9; }
.nav-auth .button { padding: 10px 15px; font-size: 14px; }
.nav-toggle { align-items: center; gap: 8px; background: #f0f4ec; border: 1px solid #d4ddcc; border-radius: 9px; color: var(--green); min-height: 44px; padding: 8px 13px; font-weight: 700; }
.container, .page-wrap { width: min(1180px, calc(100% - 64px)); margin: 40px auto 48px; min-width: 0; }
.card, .page-card { background: #fffefa; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); min-width: 0; }
.page-title { font-size: clamp(26px, 2.4vw, 36px); font-weight: 800; margin: 0 0 10px; letter-spacing: -.6px; }
.page-subtitle { color: var(--muted); max-width: 780px; margin-bottom: 32px; line-height: 1.95; }
.page-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #54704e; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.page-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #82a069; }
.section { padding: 26px; margin-top: 20px; border: 1px solid var(--line); background: #fff; border-radius: 16px; min-width: 0; scroll-margin-top: 24px; }
.section h2 { font-size: 22px; margin-bottom: 18px; }
.section h2::before { content: ''; display: inline-block; width: 4px; height: 19px; margin-left: 10px; border-radius: 6px; background: var(--gold); vertical-align: -2px; }
.section h3 { font-size: 18px; margin: 24px 0 12px; }
.section p, .section li { color: #526257; }
.section ul { padding-inline-start: 22px; margin-bottom: 0; }
.section li { padding-inline-start: 4px; margin-bottom: 10px; }
.section li::marker { color: #9d843e; }
.info-grid, .two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.info-box { min-width: 0; padding: 18px 20px; border: 1px solid #e5e3d5; border-radius: 12px; background: #f8f7ef; color: #56624f; line-height: 1.9; }
.info-box strong { display: block; color: var(--green); margin-bottom: 5px; }
.hero-note { margin: 20px 0 0; padding: 16px 20px; background: #f1f5ec; border-right: 3px solid #9cb682; border-radius: 8px; }
.about-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 26px; padding: 12px; background: #eef2e9; border: 1px solid #e0e5d7; border-radius: 13px; }
.about-tabs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 17px; border-radius: 9px; background: #fffefa; border: 1px solid #e0e5d7; color: #495d4e; font-size: 14px; font-weight: 600; text-decoration: none; }
.about-tabs a:hover, .about-tabs a:focus-visible { background: var(--green); color: #fff; }
.tribe-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; margin-top: 20px; }
.tribe-intro-box { padding: 24px; border: 1px solid #e0e4d7; border-radius: 14px; background: #fbfcf7; min-width: 0; max-width: 100%; }
.tribe-intro-box h3 { margin-top: 0; font-size: 23px; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; list-style: none; padding: 0 !important; margin: 18px 0; }
.feature-list li { margin: 0; padding: 9px 12px; background: #fff; border: 1px solid #e8ebdf; border-radius: 8px; font-size: 14px; }
.feature-list li::before { content: '✓'; color: #6c864f; margin-left: 8px; }
.table-hint { display: block; color: var(--muted); font-size: 12px; margin: 18px 0 7px; }
.table-wrap { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: 11px; margin-top: 12px; scrollbar-color: #9aaf8e #eef2e7; scrollbar-width: thin; }
table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: right; }
th, td { padding: 13px 16px; border-bottom: 1px solid #e7eadf; vertical-align: top; }
th { background: #ecf2e6; color: #3e5b37; font-weight: 700; white-space: nowrap; }
tbody tr:nth-child(even) { background: #fafbf7; }
tbody tr:last-child td { border-bottom: 0; }
.unit-table { min-width: 740px; font-variant-numeric: tabular-nums; }
.unit-table th, .unit-table td { text-align: center; }
.unit-table th:first-child, .unit-table td:first-child { text-align: right; min-width: 136px; position: sticky; right: 0; background: #f4f7ee; box-shadow: -1px 0 0 #e3e5db; }
.quick-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.page-spielregeln .page-card, .page-agb .page-card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.page-spielregeln .page-card > :not(.section), .page-agb .page-card > :not(.section) { grid-column: 1 / -1; margin-bottom: 0; }
.page-spielregeln .section, .page-agb .section { margin: 0; padding: 22px; }
.page-spielregeln .page-subtitle, .page-agb .page-subtitle { padding-bottom: 8px; }
.page-spielregeln .section h2, .page-agb .section h2 { font-size: 20px; }
.page-spielregeln .section ul, .page-agb .section ul { padding-inline-start: 18px; }
.site-footer { width: min(1180px, calc(100% - 64px)); margin: auto auto 0; padding: 26px 0 30px; border-top: 1px solid #dfe3d5; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
.site-footer > div { display: flex; align-items: center; gap: 18px; }
.site-footer strong { color: var(--green); font-size: 17px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; color: #5f6f61; }
.site-footer a:hover, .site-footer a[aria-current] { color: var(--green); text-decoration: underline; }
/* Homepage */
.page-index .card-main { overflow: visible; }
.home-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 38px; align-items: center; }
.home-copy h1 { font-size: clamp(32px, 3.3vw, 48px); letter-spacing: -1px; line-height: 1.45; margin-bottom: 16px; }
.home-copy h1 em { display: block; color: #69884c; font-style: normal; }
.lead { color: var(--muted); line-height: 1.95; margin-bottom: 22px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cta { min-height: 50px; padding: 11px 20px; }
.sahat-home-showcase-v4 { position: relative; width: 100%; aspect-ratio: 8 / 3; overflow: hidden; border: 1px solid #d3dec6; border-radius: 17px; background: #cbe0da; box-shadow: 0 10px 28px rgb(35 70 38 / 10%); }
.sahat-home-showcase-v4 > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.latest-server-sign-link { position: absolute; inset: 0; border-radius: inherit; }
.latest-server-sign-link:focus-visible { outline-offset: -6px; }
.sr-only-v4 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; }
.stat-pill { background: #f3f6ed; border: 1px solid #e1e7d8; border-radius: 12px; padding: 15px; text-align: center; }
.stat-pill .num { display: block; font-size: 27px; font-weight: 800; color: var(--green); line-height: 1.4; font-variant-numeric: tabular-nums; }
.stat-pill .lbl { font-size: 13px; color: var(--muted); }
.about { margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--line); }
.about h3 { font-size: 19px; margin-bottom: 16px; }
.about ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0; counter-reset: benefits; }
.about li { color: #60705e; font-size: 14px; line-height: 1.8; counter-increment: benefits; }
.about li::before { content: '0' counter(benefits); display: block; font-size: 12px; color: #9b7937; font-weight: 800; margin-bottom: 7px; }
/* Authentication */
.page-login .container { max-width: 900px; }
.page-anmelden .container { max-width: 1000px; }
.page-login .main-card, .page-anmelden .main-card { padding: 36px 44px; }
.page-login .page-title, .page-anmelden .page-title, .page-login .page-subtitle, .page-anmelden .page-subtitle { text-align: center; margin-right: auto; margin-left: auto; }
.page-login .page-subtitle, .page-anmelden .page-subtitle { max-width: 550px; margin-bottom: 26px; }
.auth-panel { width: 100%; max-width: 520px; margin: 0 auto; }
.auth-panel.wide { max-width: 720px; }
.field-grid { display: grid; gap: 18px; }
.field-row { display: grid; gap: 7px; min-width: 0; }
.field-row > label { color: #394e40; font-size: 14px; font-weight: 700; }
.field-row input { display: block; width: 100%; min-width: 0; min-height: 50px; border: 1px solid #cfd8c9; border-radius: 9px; background: #fff; padding: 11px 14px; color: #263a2d; font-size: 16px; line-height: 1.5; transition: border-color .16s, box-shadow .16s; }
.field-row input:focus { border-color: #5c8055; outline: none; box-shadow: 0 0 0 3px #e7eee1; }
.field-row input[aria-invalid=true] { border-color: #b64735; }
.field-hint { display: block; font-size: 12px; margin: 5px 0 0; color: #687463; }
.password-field { display: flex; position: relative; }
.password-field input { padding-inline-end: 76px; }
.password-toggle { position: absolute; inset-inline-end: 5px; top: 5px; bottom: 5px; min-width: 60px; padding: 4px 10px; background: #edf3e8; color: #44613d; border: 0; border-radius: 7px; font-size: 12px; font-weight: 700; }
.submit-row { display: flex; margin-top: 22px; }
.submit-row .sahat-btn { width: 100%; min-height: 52px; font-size: 16px; }
.auth-panel .quick-actions { justify-content: center; font-size: 14px; margin-top: 16px; gap: 10px 20px; }
.auth-panel .quick-actions a { min-height: 44px; display: inline-flex; align-items: center; }
.auth-panel > .info-box { margin-bottom: 22px; font-size: 14px; }
.auth-panel > .info-box:last-child { margin: 20px 0 0; }
.tribe-box, .position-box { padding: 20px; margin: 22px 0 0; border: 1px solid #e0e5d7; border-radius: 13px; background: #f8faf4; }
.box-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: var(--green); }
.radio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.radio-grid.positions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.positions .radio-card:first-child { grid-column: 1 / -1; }
.radio-card { display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 10px 12px; background: #fff; border: 1px solid #dce2d3; border-radius: 10px; cursor: pointer; font-size: 14px; line-height: 1.6; }
.radio-card:has(input:checked) { border-color: #7f9b66; background: #ebf3e3; box-shadow: inset 0 0 0 1px #7f9b66; color: #345329; }
.radio-card:focus-within { outline: 2px solid #a77624; outline-offset: 2px; }
.radio-card input, .agree-row input { accent-color: #456e39; width: 18px; height: 18px; flex: 0 0 18px; margin: 0; }
.radio-card b { direction: ltr; unicode-bidi: isolate; font-size: 12px; margin-inline-start: auto; }
.agree-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; font-size: 14px; line-height: 1.9; cursor: pointer; }
.agree-row input { margin-top: 5px; }
.rules-link { font-size: 13px; margin: 6px 28px 0 0; }
.important:empty, .error:empty { display: none; }
.important { color: #a13226; padding: 0; list-style: none; }
.error { display: block; color: #b03429; font-size: 13px; margin-top: 6px; }
.error_box { border: 1px solid #e5c5bc; background: #fff2ed; border-radius: 10px; padding: 16px; margin-top: 20px; font-size: 14px; }
.auth-panel .sahat-stat-strip { border-color: #e1e6d7; background: #f5f7ef; margin-top: 30px; }
.auth-panel .sahat-stat-strip .sahat-stat-cell { padding: 13px 7px; border-color: #e1e6d7; }
.auth-panel .sahat-stat-strip .sahat-stat-lbl { font-size: 12px; font-weight: 500; color: #65725c; }
.auth-panel .sahat-stat-strip .sahat-stat-val { font-size: 15px; color: #3f5837; }
.auth-panel .sahat-stat-strip .sahat-stat-cell svg { color: #809863; }
.activation_time { text-align: center; font-variant-numeric: tabular-nums; font-size: 32px; color: var(--green); padding: 24px; }
/* Native dialogs preserve keyboard navigation and restore focus. */
.dialog-open { overflow: hidden; }
.server-dialog { width: min(650px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 30px; border: 1px solid #d1d9c4; border-radius: 20px; background: #fafbf5; color: var(--ink); box-shadow: 0 25px 80px rgb(20 35 23 / 30%); }
.server-dialog::backdrop { background: rgb(19 36 25 / 64%); backdrop-filter: blur(3px); }
.server-dialog h2 { padding-left: 36px; font-size: 26px; margin-bottom: 20px; }
.modal-close { position: absolute; top: 20px; left: 20px; width: 44px; height: 44px; border-radius: 10px; border: 1px solid #d9dfce; background: #fff; color: #536447; font-size: 26px; }
.server-list { display: grid; gap: 14px; }
.srv-banner { position: relative; min-height: 122px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px; border: 1px solid #dce2d0; border-radius: 12px; overflow: hidden; background-size: cover; color: #fff; text-decoration: none; isolation: isolate; }
.srv-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(24 45 29 / 82%), rgb(24 45 29 / 92%)); z-index: -1; }
.srv-title { font-size: 20px; font-weight: 800; }
.srv-sub { display: block; font-size: 13px; font-weight: 400; color: #d5dfc5; }
.srv-info { font-size: 13px; line-height: 1.8; text-align: left; flex-shrink: 0; }
.latest-inline { display: inline-block; font-size: 10px; margin-left: 7px; padding: 1px 7px; color: #433512; background: #eed493; border-radius: 5px; vertical-align: middle; }
.latest-corner, .latest-mini { display: none; }
.srv-locked { cursor: default; }
.srv-locked::before { background: rgb(61 72 54 / 90%); }
.soon-red { color: #eee4c5; font-size: 19px; font-weight: 700; }
.soon-small { color: #d3d8c8; font-size: 12px; }
@media (min-width: 1700px) { .hero { background-size: 100% auto; } }
@media (max-width: 1150px) {
    .public-nav { gap: 18px; }
    .nav-pages > a { padding: 9px 10px; }
    .nav-auth .button { padding: 9px 12px; font-size: 13px; }
    .site-brand { font-size: 17px; }
    .home-intro { gap: 26px; }
    .page-spielregeln .page-card, .page-agb .page-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
    .hero { padding-top: 100px; background-size: auto 100px; }
    .public-nav { width: calc(100% - 40px); flex-wrap: wrap; justify-content: space-between; min-height: 74px; gap: 0; padding: 12px 0; }
    .nav-toggle { display: inline-flex; }
    .nav-links { flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 0 6px; }
    .nav-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .nav-pages > a { background: #f7f8f2; border: 1px solid #e5e9dd; font-size: 15px; min-height: 48px; }
    .nav-auth { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-auth .button { font-size: 14px; }
    .container, .page-wrap { width: calc(100% - 40px); margin-top: 28px; }
    .home-intro { grid-template-columns: minmax(0, 1fr); }
    .home-copy { max-width: 660px; }
    .home-copy h1 em { display: inline; }
    .sahat-home-showcase-v4 { aspect-ratio: 8 / 3; }
    .about ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer { width: calc(100% - 40px); flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 600px) {
    body { font-size: 15px; }
    .hero { padding-top: 82px; background-size: auto 82px; }
    .public-nav { width: calc(100% - 28px); min-height: 70px; }
    .site-brand img { width: 38px; height: 38px; }
    .site-brand { font-size: 17px; gap: 7px; }
    .site-brand small { font-size: 10px; }
    .nav-toggle { font-size: 13px; padding: 8px 11px; }
    .container, .page-wrap { width: calc(100% - 24px); margin: 20px auto 30px; }
    .card, .page-card, .page-login .main-card, .page-anmelden .main-card { padding: 24px 18px; border-radius: 16px; }
    .page-title { font-size: 27px; margin-bottom: 10px; }
    .page-subtitle { font-size: 15px; margin-bottom: 24px; }
    .page-eyebrow { font-size: 12px; }
    .home-copy h1 { font-size: 34px; }
    .home-copy h1 em { display: block; }
    .home-intro { gap: 22px; }
    .lead { font-size: 15px; margin-bottom: 22px; }
    .cta-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .cta { padding: 10px 9px; font-size: 14px; }
    .sahat-home-showcase-v4 { border-radius: 11px; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 22px; }
    .stat-pill { padding: 12px; }
    .stat-pill .num { font-size: 25px; }
    .about { margin-top: 24px; }
    .about ul { gap: 14px; }
    .about li { font-size: 13px; }
    .section, .page-spielregeln .section, .page-agb .section { padding: 20px 16px; border-radius: 12px; margin-top: 16px; }
    .page-spielregeln .page-card, .page-agb .page-card { gap: 14px; }
    .page-spielregeln .section, .page-agb .section { margin-top: 0; }
    .section h2 { font-size: 20px; }
    .section h3 { font-size: 18px; }
    .info-grid, .two-col { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .info-box { padding: 15px; }
    .about-tabs { flex-wrap: nowrap; overflow-x: auto; padding: 8px; gap: 7px; scrollbar-width: thin; }
    .about-tabs a { flex-shrink: 0; font-size: 13px; padding: 8px 14px; }
    .tribe-intro-box { padding: 18px 12px; }
    .tribe-intro-box h3 { font-size: 21px; }
    .feature-list { grid-template-columns: minmax(0, 1fr); }
    th, td { padding: 11px 13px; }
    table { min-width: 500px; font-size: 13px; }
    .unit-table { min-width: 740px; }
    .quick-actions { gap: 9px; }
    .quick-actions .btn { flex: 1; padding: 10px 12px; font-size: 13px; white-space: nowrap; }
    .tribe-box, .position-box { padding: 15px 12px; }
    .radio-grid { grid-template-columns: minmax(0, 1fr); }
    .radio-grid.positions { grid-template-columns: minmax(0, 1fr); }
    .radio-card { min-height: 49px; }
    .field-grid { gap: 16px; }
    .auth-panel .sahat-stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .auth-panel .sahat-stat-strip .sahat-stat-cell:nth-child(3) { border-inline-start: 0; }
    .agree-row { font-size: 13px; }
    .site-footer { width: calc(100% - 32px); padding-top: 22px; gap: 12px; }
    .site-footer > div { flex-wrap: wrap; gap: 3px 14px; }
    .site-footer nav { gap: 6px 18px; font-size: 12px; }
    .server-dialog { padding: 22px 16px; }
    .server-dialog h2 { font-size: 22px; margin-bottom: 22px; }
    .modal-close { top: 14px; left: 14px; }
    .srv-banner { padding: 18px 12px; gap: 8px; }
    .srv-title { font-size: 17px; }
    .srv-info { font-size: 12px; }
    .latest-inline { display: block; width: fit-content; margin-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
