:root {
    --awn-bg: #07090d;
    --awn-bg-soft: #0b0e13;
    --awn-panel: #10141b;
    --awn-panel-2: #151a22;
    --awn-panel-3: #1a202a;
    --awn-gold: #f4bd4b;
    --awn-gold-bright: #ffd979;
    --awn-gold-dark: #a86a13;
    --awn-text: #f4f1e9;
    --awn-muted: #9da4af;
    --awn-border: rgba(244, 189, 75, .18);
    --awn-border-strong: rgba(244, 189, 75, .42);
    --awn-success: #46c984;
    --awn-danger: #ff6969;
    --awn-info: #6ba9ff;
    --awn-shell: 1240px;
    --awn-radius: 8px;
    --awn-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }

html {
    min-height: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--awn-text);
    background: linear-gradient(180deg, #07090d 0%, #0a0d12 52%, #07090d 100%);
    font: 14px/1.6 Inter, "Segoe UI", Arial, sans-serif;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    opacity: .28;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

a { color: var(--awn-gold); text-decoration: none; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
a:hover { color: var(--awn-gold-bright); }
img { max-width: 100%; border: 0; }
button, input, select, textarea { max-width: 100%; font: inherit; }

::selection { color: #17100a; background: var(--awn-gold); }

:focus-visible {
    outline: 3px solid rgba(244, 189, 75, .45);
    outline-offset: 3px;
}

.site-shell,
.page-shell {
    width: min(calc(100% - 36px), var(--awn-shell));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 1000;
    padding: 10px 16px;
    color: #160e04;
    background: var(--awn-gold);
    border-radius: 8px;
    font-weight: 800;
}
.skip-link:focus { top: 16px; }

.site-header {
    position: relative;
    z-index: 100;
    width: 100%;
    color: var(--awn-text);
    background: rgba(7, 9, 13, .96);
    border-bottom: 1px solid var(--awn-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .26);
}

.site-topline {
    color: #bfc4cc;
    background: #05070a;
    border-bottom: 1px solid rgba(255,255,255,.05);
    font-size: 12px;
}

.site-topline .site-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 34px;
}

.topline-notice,
.topline-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.topline-short { display: none; }

.topline-notice i,
.topline-status i { color: var(--awn-gold); }

.brand-bar { background: linear-gradient(180deg, rgba(20,23,29,.97), rgba(8,10,14,.98)); }

.brand-layout {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 68px;
}

.brand-link {
    display: flex;
    align-items: center;
    width: 126px;
    height: 54px;
}

.brand-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 12px rgba(0,0,0,.5));
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.primary-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 68px;
    padding: 0 10px;
    color: #c9cdd3;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.primary-nav a::after {
    position: absolute;
    right: 12px;
    bottom: 0;
    left: 12px;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--awn-gold), transparent);
    opacity: 0;
    transform: scaleX(.3);
    transition: .2s ease;
}

.primary-nav a:hover,
.primary-nav a.active { color: var(--awn-gold-bright); background: rgba(244,189,75,.045); }
.primary-nav a:hover::after,
.primary-nav a.active::after { opacity: 1; transform: scaleX(1); }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--awn-text);
    background: var(--awn-panel-2);
    border: 1px solid var(--awn-border);
    border-radius: 6px;
    cursor: pointer;
    font-size: 22px;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    color: #cdd1d7;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}
.theme-toggle:hover { color: var(--awn-gold-bright); border-color: var(--awn-border-strong); }

.button,
button.awn-button,
input[type="submit"].awn-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 800;
    line-height: 1.2;
}

.button-primary,
.awn-button-primary {
    color: #171006 !important;
    background: linear-gradient(180deg, #ffdb7c, #e7a82e);
    border-color: #f3c35f;
    box-shadow: 0 8px 24px rgba(225, 157, 35, .18), inset 0 1px rgba(255,255,255,.5);
}
.button-primary:hover,
.awn-button-primary:hover { color: #120c04 !important; background: linear-gradient(180deg, #ffe69f, #f4bd4b); transform: translateY(-1px); }

.button-secondary,
.awn-button-secondary {
    color: #e9eaec !important;
    background: rgba(255,255,255,.035);
    border-color: rgba(255,255,255,.15);
}
.button-secondary:hover,
.awn-button-secondary:hover { color: var(--awn-gold-bright) !important; background: rgba(244,189,75,.08); border-color: var(--awn-border-strong); }

.button-danger { color: #fff !important; background: #a93636; border-color: #c64c4c; }
.button-danger:hover { background: #c34242; }

.header-account {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    padding: 6px 10px;
    color: var(--awn-text);
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 6px;
}

.header-account:hover { color: var(--awn-text); border-color: var(--awn-border-strong); background: rgba(244,189,75,.06); }
.header-account img { width: 38px; height: 38px; object-fit: contain; background: #0c0f14; border: 1px solid var(--awn-border); border-radius: 50%; }
.header-account span { display: grid; min-width: 0; }
.header-account strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-account small { color: var(--awn-gold); }

.account-toolbar {
    color: #c9cdd4;
    background: #0a0d12;
    border-top: 1px solid rgba(255,255,255,.045);
}

.toolbar-links { display: flex; align-items: center; justify-content: flex-end; min-height: 36px; overflow-x: auto; scrollbar-width: none; }
.toolbar-links::-webkit-scrollbar { display: none; }
.toolbar-links a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; color: #aeb4bd; white-space: nowrap; }
.toolbar-links a:hover { color: var(--awn-gold-bright); background: rgba(244,189,75,.05); }
.toolbar-links .logout-link { color: #ed8989; }

.site-main { min-height: calc(100vh - 300px); overflow: hidden; }

.announcement-bar {
    color: #d7d9dd;
    background: #11100d;
    border-bottom: 1px solid var(--awn-border);
}
.announcement-bar .site-shell { display: flex; align-items: center; gap: 12px; min-height: 36px; }
.announcement-bar strong { flex: 0 0 auto; color: var(--awn-gold); font-size: 11px; letter-spacing: 0; text-transform: uppercase; white-space: nowrap; }
.announcement-bar p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.page-section { position: relative; padding: 76px 0; }
.page-section.compact { padding: 48px 0; }
.page-section.alt { background: rgba(255,255,255,.018); border-block: 1px solid rgba(255,255,255,.045); }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--awn-gold); font-size: 11px; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.section-kicker::before { width: 24px; height: 1px; content: ""; background: var(--awn-gold); }
.section-title { margin: 0; color: #fff; font-size: 38px; line-height: 1.14; letter-spacing: 0; }
.section-description { max-width: 640px; margin: 10px 0 0; color: var(--awn-muted); font-size: 15px; }

.panel {
    color: var(--awn-text);
    background: linear-gradient(145deg, rgba(22,27,35,.98), rgba(12,15,20,.98));
    border: 1px solid var(--awn-border);
    border-radius: var(--awn-radius);
    box-shadow: 0 14px 44px rgba(0,0,0,.22);
}

.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
.panel-header h2,
.panel-header h3 { margin: 0; color: #fff; font-size: 17px; }
.panel-body { padding: 20px; }

.hero {
    position: relative;
    min-height: 500px;
    display: grid;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--awn-border);
    background:
        linear-gradient(90deg, rgba(6,8,11,.98) 0%, rgba(6,8,11,.92) 42%, rgba(6,8,11,.38) 74%, rgba(6,8,11,.72) 100%),
        var(--hero-image, url('/images/banner_2.png')) center/cover no-repeat;
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(7,9,13,.04) 55%, var(--awn-bg));
}

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); align-items: center; gap: 38px; padding-block: 44px 76px; }
.hero-copy { max-width: 680px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; color: #eac877; background: rgba(7,9,13,.7); border: 1px solid var(--awn-border); border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.hero-eyebrow .live-dot { width: 8px; height: 8px; background: var(--awn-success); border-radius: 50%; box-shadow: 0 0 0 5px rgba(70,201,132,.12); }
.hero h1 { margin: 18px 0 12px; color: #fff; font-size: 68px; line-height: .98; letter-spacing: 0; text-transform: uppercase; text-shadow: 0 8px 30px rgba(0,0,0,.55); }
.hero h1 span { color: var(--awn-gold); }
.hero-copy > p { max-width: 590px; margin: 0; color: #c4c8cf; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.hero-metrics { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.hero-metric { display: grid; gap: 1px; }
.hero-metric strong { color: #fff; font-size: 23px; }
.hero-metric span { color: #8f97a2; font-size: 11px; letter-spacing: 0; text-transform: uppercase; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 340px; }
.hero-art::before { display: none; }
.hero-art img { position: relative; width: min(100%, 520px); filter: drop-shadow(0 24px 38px rgba(0,0,0,.7)); }

.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: -54px; position: relative; z-index: 4; }
.quick-card { display: flex; align-items: center; gap: 14px; min-height: 96px; padding: 16px; color: #dddfe3; background: rgba(16,20,27,.97); border: 1px solid var(--awn-border); border-radius: 8px; box-shadow: var(--awn-shadow); }
.quick-card:hover { color: #fff; border-color: var(--awn-border-strong); background: #181c24; transform: translateY(-3px); }
.quick-icon { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; color: #1c1306; background: linear-gradient(145deg, #ffe18d, #d99927); border-radius: 6px; font-size: 21px; }
.quick-card span { display: grid; }
.quick-card strong { color: #fff; font-size: 15px; }
.quick-card small { color: var(--awn-muted); }

.home-content-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr); gap: 22px; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.news-card { display: grid; grid-template-rows: 190px 1fr; overflow: hidden; color: var(--awn-text); background: #10141a; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; }
.news-card:hover { color: var(--awn-text); border-color: var(--awn-border-strong); transform: translateY(-3px); }
.news-cover { position: relative; overflow: hidden; background: #171b22; }
.news-cover::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 55%, rgba(6,8,11,.65)); }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-cover img { transform: scale(1.04); }
.news-content { display: grid; align-content: start; gap: 9px; padding: 18px; }
.news-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #8e96a1; font-size: 11px; }
.news-tag { color: #efc766; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.news-content h3 { margin: 0; color: #fff; font-size: 18px; line-height: 1.35; }
.news-content p { margin: 0; color: var(--awn-muted); }

.ranking-list { display: grid; gap: 4px; }
.rank-row { display: grid; grid-template-columns: 34px 38px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,.06); }
.rank-row:last-child { border-bottom: 0; }
.rank-number { color: #757d88; font-weight: 900; text-align: center; }
.rank-row:nth-child(1) .rank-number { color: #ffd769; }
.rank-row:nth-child(2) .rank-number { color: #d8dce4; }
.rank-row:nth-child(3) .rank-number { color: #d59360; }
.rank-avatar { width: 38px; height: 38px; padding: 4px; object-fit: contain; background: #080b0f; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.rank-player { display: grid; min-width: 0; }
.rank-player strong { overflow: hidden; color: #fff; text-overflow: ellipsis; white-space: nowrap; }
.rank-player small { color: #7f8792; }
.rank-power { color: var(--awn-gold); font-weight: 900; }

.faction-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.faction-card { position: relative; min-height: 230px; padding: 28px; overflow: hidden; background: linear-gradient(145deg, #161b24, #0c0f14); border: 1px solid var(--awn-border); border-radius: 8px; }
.faction-card::after { position: absolute; right: -30px; bottom: -40px; width: 160px; height: 160px; content: ""; background: var(--faction-glow, rgba(244,189,75,.15)); border-radius: 50%; filter: blur(20px); }
.faction-card img { position: absolute; right: 18px; bottom: 20px; z-index: 1; width: 86px; image-rendering: pixelated; transform: scale(2.2); transform-origin: bottom right; filter: drop-shadow(0 10px 18px rgba(0,0,0,.55)); }
.faction-card h3 { position: relative; z-index: 2; margin: 0 0 8px; color: #fff; font-size: 22px; }
.faction-card p { position: relative; z-index: 2; max-width: 72%; margin: 0; color: var(--awn-muted); }
.faction-card .faction-label { position: relative; z-index: 2; display: inline-flex; margin-top: 32px; color: var(--awn-gold); font-size: 11px; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }

.cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: 40px; overflow: hidden; background: linear-gradient(135deg,#171b23,#0d1015); border: 1px solid var(--awn-border-strong); border-radius: 8px; }
.cta-panel h2 { margin: 0 0 8px; color: #fff; font-size: 38px; }
.cta-panel p { margin: 0; color: var(--awn-muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.page-hero { position: relative; padding: 68px 0 52px; overflow: hidden; background: linear-gradient(135deg, #10141b, #090c11); border-bottom: 1px solid var(--awn-border); }
.page-hero::after { display: none; }
.page-hero .page-shell { position: relative; z-index: 1; }
.page-hero h1 { max-width: 780px; margin: 8px 0 10px; color: #fff; font-size: 52px; line-height: 1.08; letter-spacing: 0; }
.page-hero p { max-width: 700px; margin: 0; color: var(--awn-muted); font-size: 16px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #777f8a; font-size: 12px; }
.breadcrumb a { color: #b6bbc2; }

.content-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 22px; }
.article-list { display: grid; gap: 15px; }
.article-row { display: grid; grid-template-columns: 220px minmax(0,1fr); overflow: hidden; color: var(--awn-text); background: #10141a; border: 1px solid rgba(255,255,255,.075); border-radius: 8px; }
.article-row:hover { color: var(--awn-text); border-color: var(--awn-border-strong); transform: translateY(-2px); }
.article-row-cover { min-height: 160px; background: #171c23; }
.article-row-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-row-content { padding: 20px; }
.article-row-content h2 { margin: 7px 0 8px; color: #fff; font-size: 20px; line-height: 1.35; }
.article-row-content p { margin: 0; color: var(--awn-muted); }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: #818995; font-size: 11px; }

.empty-state { padding: 52px 24px; text-align: center; }
.empty-state i { display: block; margin-bottom: 12px; color: var(--awn-gold); font-size: 36px; }
.empty-state h3 { margin: 0 0 7px; color: #fff; }
.empty-state p { margin: 0; color: var(--awn-muted); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 24px; }
.pagination a,
.pagination span { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; color: #c9cdd3; background: #11151b; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; }
.pagination a:hover,
.pagination .active { color: #171006; background: var(--awn-gold); border-color: var(--awn-gold); }

.download-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.download-card { position: relative; min-height: 330px; padding: 28px; overflow: hidden; background: linear-gradient(155deg,#191e27,#0d1015); border: 1px solid var(--awn-border); border-radius: 8px; }
.download-card::after { display: none; }
.download-card.disabled { opacity: .62; }
.download-platform-icon { display: grid; place-items: center; width: 64px; height: 64px; color: #1b1307; background: linear-gradient(145deg,#ffe29a,#d99b28); border-radius: 6px; font-size: 31px; }
.download-card h2 { margin: 24px 0 5px; color: #fff; font-size: 25px; }
.download-card .version { color: var(--awn-gold); font-weight: 800; }
.download-card p { min-height: 54px; color: var(--awn-muted); }

.step-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.step-card { padding: 24px; background: #10141a; border: 1px solid rgba(255,255,255,.075); border-radius: 8px; }
.step-number { display: grid; place-items: center; width: 38px; height: 38px; color: #1a1105; background: var(--awn-gold); border-radius: 50%; font-weight: 900; }
.step-card h3 { margin: 16px 0 6px; color: #fff; }
.step-card p { margin: 0; color: var(--awn-muted); }

.ranking-table,
.data-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.ranking-table th,
.ranking-table td,
.data-table th,
.data-table td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.07); text-align: left; }
.ranking-table th,
.data-table th { color: #8f97a2; background: rgba(255,255,255,.025); font-size: 11px; letter-spacing: 0; text-transform: uppercase; }
.ranking-table tr:hover td,
.data-table tr:hover td { background: rgba(244,189,75,.035); }
.table-wrap { width: 100%; overflow-x: auto; }

.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.status-success { color: #77dda6; background: rgba(70,201,132,.1); border: 1px solid rgba(70,201,132,.25); }
.status-warning { color: #f6cc6d; background: rgba(244,189,75,.1); border: 1px solid rgba(244,189,75,.25); }
.status-danger { color: #ff9292; background: rgba(255,105,105,.1); border: 1px solid rgba(255,105,105,.24); }
.status-info { color: #95bdff; background: rgba(107,169,255,.1); border: 1px solid rgba(107,169,255,.24); }

.community-grid,
.support-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.community-card,
.support-card { display: flex; align-items: center; gap: 18px; min-height: 150px; padding: 24px; color: var(--awn-text); background: #10141a; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; }
a.community-card:hover { color: var(--awn-text); border-color: var(--awn-border-strong); transform: translateY(-2px); }
.community-icon,
.support-icon { display: grid; flex: 0 0 54px; place-items: center; width: 54px; height: 54px; color: #171006; background: var(--awn-gold); border-radius: 6px; font-size: 26px; }
.community-card h2,
.support-card h2 { margin: 0 0 4px; color: #fff; font-size: 19px; }
.community-card p,
.support-card p { margin: 0; color: var(--awn-muted); }

.form-panel { width: min(100%, 760px); margin-inline: auto; padding: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.form-group { display: grid; align-content: start; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { color: #d5d8dd; font-size: 12px; font-weight: 800; }
.form-help { color: #7f8792; font-size: 11px; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="search"],
input[type="datetime-local"],
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: #eef0f3;
    background: #090c11;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 9px;
}
textarea { min-height: 130px; resize: vertical; }
input::placeholder,
textarea::placeholder { color: #626a75; }
input:focus,
select:focus,
textarea:focus { border-color: var(--awn-border-strong); outline: 3px solid rgba(244,189,75,.10); }
select option { color: #eef0f3; background: #11151b; }

.checkbox-row { display: flex; align-items: center; gap: 9px; min-height: 44px; }
.checkbox-row input { width: 18px; height: 18px; accent-color: var(--awn-gold); }

.alert { margin-bottom: 18px; padding: 13px 15px; color: #d9dce0; background: #121720; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; }
.alert.success { color: #88e4b1; background: rgba(70,201,132,.08); border-color: rgba(70,201,132,.25); }
.alert.error { color: #ff9c9c; background: rgba(255,105,105,.08); border-color: rgba(255,105,105,.25); }
.alert.warning { color: #f5d27f; background: rgba(244,189,75,.08); border-color: rgba(244,189,75,.25); }

.tabs { display: flex; gap: 7px; padding: 6px; overflow-x: auto; background: #0a0d12; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; }
.tab-button { min-height: 38px; padding: 8px 13px; color: #9da4ae; background: transparent; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-weight: 800; white-space: nowrap; }
.tab-button:hover,
.tab-button.active { color: #181006; background: var(--awn-gold); }
.tab-panel[hidden] { display: none !important; }

.auth-page { min-height: calc(100vh - 117px); display: grid; align-items: stretch; background: #080a0e; }
.auth-layout { display: grid; grid-template-columns: minmax(360px, .95fr) minmax(440px, 1.05fr); min-height: 690px; }
.auth-art { position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg,#121720,#07090d); border-right: 1px solid var(--awn-border); }
.auth-art::before { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg,transparent,rgba(7,9,13,.5)); }
.auth-art img { position: relative; z-index: 1; width: min(78%, 620px); filter: drop-shadow(0 24px 46px rgba(0,0,0,.7)); }
.auth-card-wrap { display: grid; align-items: center; padding: 46px clamp(24px,7vw,92px); }
.auth-card { width: min(100%, 480px); margin-inline: auto; }
.auth-card h1 { margin: 0 0 7px; color: #fff; font-size: 36px; }
.auth-card > p { margin: 0 0 24px; color: var(--awn-muted); }
.auth-switch { margin-top: 20px; color: var(--awn-muted); text-align: center; }
.auth-switch button { padding: 0; color: var(--awn-gold); background: transparent; border: 0; cursor: pointer; font-weight: 800; }

.payment-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 22px; align-items: start; }
.payment-methods { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.payment-method { display: flex; align-items: center; gap: 13px; padding: 16px; color: #cdd1d7; background: #10141a; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; cursor: pointer; text-align: left; }
.payment-method.active { color: #fff; background: rgba(244,189,75,.075); border-color: var(--awn-border-strong); }
.payment-method i { color: var(--awn-gold); font-size: 24px; }
.payment-method span { display: grid; }
.payment-method small { color: var(--awn-muted); }
.denomination-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.denomination-option { position: relative; }
.denomination-option input { position: absolute; opacity: 0; pointer-events: none; }
.denomination-option label { display: grid; place-items: center; min-height: 60px; padding: 8px; color: #d8dbe0; background: #0a0d12; border: 1px solid rgba(255,255,255,.11); border-radius: 9px; cursor: pointer; font-weight: 900; }
.denomination-option input:checked + label { color: #171006; background: var(--awn-gold); border-color: var(--awn-gold); }
.bank-qr { display: grid; grid-template-columns: 190px 1fr; gap: 22px; align-items: center; }
.bank-qr img { width: 190px; padding: 8px; background: #fff; border-radius: 6px; }
.bank-details { display: grid; gap: 10px; }
.bank-detail { display: grid; gap: 2px; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.07); }
.bank-detail small { color: #858d98; }
.bank-detail strong { color: #fff; }

.admin-page { min-height: 75vh; padding: 34px 0 70px; }
.admin-layout { display: grid; grid-template-columns: 244px minmax(0,1fr); gap: 22px; align-items: start; }
.admin-sidebar { position: sticky; top: 18px; overflow: hidden; }
.admin-sidebar-head { padding: 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
.admin-sidebar-head strong { display: block; color: #fff; font-size: 17px; }
.admin-sidebar-head small { color: var(--awn-muted); }
.admin-nav { display: grid; padding: 8px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; color: #aeb4bd; border-radius: 8px; font-weight: 750; }
.admin-nav a:hover,
.admin-nav a.active { color: #171006; background: var(--awn-gold); }
.admin-content { min-width: 0; }
.admin-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.admin-page-heading h1 { margin: 0; color: #fff; font-size: 29px; }
.admin-page-heading p { margin: 3px 0 0; color: var(--awn-muted); }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 20px; }
.admin-stat { min-height: 124px; padding: 18px; }
.admin-stat-top { display: flex; align-items: center; justify-content: space-between; }
.admin-stat i { color: var(--awn-gold); font-size: 22px; }
.admin-stat small { color: #858d98; }
.admin-stat strong { display: block; margin-top: 15px; color: #fff; font-size: 25px; }
.admin-grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.admin-grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.admin-section { margin-bottom: 18px; }
.admin-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.admin-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; }
.admin-filter input,
.admin-filter select { width: auto; min-width: 170px; }
.secret-state { display: inline-flex; align-items: center; gap: 6px; color: #92ddaF; font-size: 11px; }
.secret-state.missing { color: #f2c96d; }
.inline-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.inline-actions .button { min-height: 34px; padding: 7px 10px; font-size: 11px; }

.asset-upload { display: grid; grid-template-columns: 118px minmax(0,1fr); align-items: center; gap: 14px; min-height: 112px; padding: 10px; color: var(--awn-text); background: #0a0d12; border: 1px dashed rgba(244,189,75,.38); border-radius: 8px; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.asset-upload:hover { color: var(--awn-text); background: #11151b; border-color: var(--awn-gold); }
.asset-upload-preview { display: grid; place-items: center; width: 118px; height: 90px; overflow: hidden; background: #05070a; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; }
.asset-upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.asset-upload-preview.logo-preview img { object-fit: contain; }
.asset-upload-copy { display: grid; gap: 4px; min-width: 0; }
.asset-upload-copy strong { color: #fff; font-size: 14px; }
.asset-upload-copy strong i { color: var(--awn-gold); margin-right: 5px; }
.asset-upload-copy small { overflow: hidden; color: var(--awn-muted); text-overflow: ellipsis; white-space: nowrap; }
.asset-upload.compact { min-height: 104px; }

.file-upload { display: flex; align-items: center; gap: 13px; min-height: 88px; padding: 13px; color: var(--awn-text); background: #0a0d12; border: 1px dashed rgba(244,189,75,.38); border-radius: 8px; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.file-upload:hover,
.file-upload.selected { color: var(--awn-text); background: #11151b; border-color: var(--awn-gold); }
.file-upload-icon { display: grid; flex: 0 0 50px; place-items: center; width: 50px; height: 50px; color: #171006; background: var(--awn-gold); border-radius: 6px; font-size: 24px; }
.file-upload > span:last-child { display: grid; min-width: 0; gap: 3px; }
.file-upload strong,
.file-upload small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-upload strong { color: #fff; }
.file-upload small { color: var(--awn-muted); }

.post-editor textarea.editor-source { min-height: 360px; font-family: Consolas, monospace; line-height: 1.55; }
.editor-toolbar { display: flex; flex-wrap: wrap; gap: 5px; padding: 7px; background: #0a0d12; border: 1px solid rgba(255,255,255,.12); border-bottom: 0; border-radius: 6px 6px 0 0; }
.editor-toolbar button { display: grid; place-items: center; min-width: 36px; min-height: 34px; padding: 6px 9px; color: #d9dce1; background: #151a22; border: 1px solid rgba(255,255,255,.08); border-radius: 7px; cursor: pointer; font-weight: 800; }
.editor-toolbar button:hover { color: #171006; background: var(--awn-gold); border-color: var(--awn-gold); }
.rich-editor { min-height: 360px; max-height: 720px; overflow-y: auto; padding: 20px; color: #e6e8eb; background: #090c11; border: 1px solid rgba(255,255,255,.12); border-radius: 0 0 10px 10px; outline: none; }
.rich-editor:focus { border-color: var(--awn-border-strong); box-shadow: 0 0 0 3px rgba(244,189,75,.1); }
.rich-editor img { max-width: 100%; height: auto; }
.post-preview { min-height: 140px; padding: 22px; color: #d9dce1; background: #090c11; border: 1px solid rgba(255,255,255,.09); border-radius: 6px; }
.post-preview img,
.article-body img { height: auto; border-radius: 6px; }

.article-shell { width: min(calc(100% - 36px), 920px); margin-inline: auto; }
.article-header { padding: 68px 0 32px; }
.article-header h1 { margin: 10px 0 14px; color: #fff; font-size: 50px; line-height: 1.1; }
.article-body { margin-bottom: 70px; padding: clamp(24px,5vw,52px); color: #cdd1d7; background: #10141a; border: 1px solid var(--awn-border); border-radius: 8px; font-size: 16px; }
.article-body h2,
.article-body h3,
.article-body h4 { color: #fff; }
.article-body a { text-decoration: underline; }
.article-body blockquote { margin-inline: 0; padding: 14px 18px; color: #efcf82; background: rgba(244,189,75,.07); border-left: 3px solid var(--awn-gold); }

.site-footer { color: #adb3bc; background: #07090c; border-top: 1px solid var(--awn-border); }
.footer-main { display: grid; grid-template-columns: minmax(260px,1.3fr) repeat(3,minmax(150px,.55fr)); gap: 42px; padding-block: 52px 38px; }
.footer-brand img { width: 210px; max-height: 105px; object-fit: contain; }
.footer-brand p { max-width: 390px; margin: 13px 0 0; }
.footer-column h3 { margin: 0 0 14px; color: #fff; font-size: 14px; letter-spacing: 0; text-transform: uppercase; }
.footer-column nav { display: grid; gap: 8px; }
.footer-column a { color: #aeb4bd; }
.footer-column a:hover { color: var(--awn-gold-bright); }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; color: #e1e3e6; background: #11151b; border: 1px solid rgba(255,255,255,.09); border-radius: 9px; }
.footer-social a:hover { color: #171006; background: var(--awn-gold); border-color: var(--awn-gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 58px; border-top: 1px solid rgba(255,255,255,.065); font-size: 12px; }
.footer-bottom p { margin: 0; }

.back-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; place-items: center; width: 44px; height: 44px; color: #171006; background: var(--awn-gold); border: 0; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.back-to-top:hover { color: #171006; background: var(--awn-gold-bright); transform: translateY(-2px); }

/* Legacy pages receive the same visual system while they are progressively modernized. */
.site-main > .body,
.site-main > .box_list_chuyenmuc { width: min(calc(100% - 36px), var(--awn-shell)); margin: 40px auto; color: var(--awn-text); background: transparent; }
.box_list_chuyenmuc,
.box_midss,
.box_detai,
#box_forums,
.box_list_parent,
.box_parent_list_next { color: var(--awn-text); background: transparent !important; }
.box_botsss { padding: 12px; color: var(--awn-text); background: var(--awn-panel) !important; border-bottom: 1px solid rgba(255,255,255,.08); }
.table { width: 100%; color: var(--awn-text); border-collapse: collapse; }
.table th,
.table td { padding: 12px; border: 1px solid rgba(255,255,255,.09) !important; }
.table thead { color: var(--awn-text); background: var(--awn-panel-2) !important; }

/* Light appearance keeps the gold identity while raising contrast for daytime use. */
html[data-theme="light"] {
    --awn-bg: #f4f0e8;
    --awn-bg-soft: #ece5da;
    --awn-panel: #fffdf9;
    --awn-panel-2: #f5efe5;
    --awn-panel-3: #ebe2d4;
    --awn-text: #211d18;
    --awn-muted: #6e675e;
    --awn-border: rgba(139, 91, 18, .20);
    --awn-border-strong: rgba(155, 98, 17, .46);
    --awn-shadow: 0 20px 55px rgba(74, 51, 20, .14);
}

html[data-theme="light"] body {
    color: var(--awn-text);
    background: var(--awn-bg);
}
html[data-theme="light"] body::before { opacity: .34; background-image: linear-gradient(rgba(80,57,25,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(80,57,25,.04) 1px, transparent 1px); }
html[data-theme="light"] .site-header { color: #28231d; background: rgba(255,253,249,.97); box-shadow: 0 10px 34px rgba(80,58,24,.10); }
html[data-theme="light"] .site-topline { color: #e3e0da; background: #17130e; }
html[data-theme="light"] .brand-bar { background: linear-gradient(180deg,#fffdf9,#f7f1e7); }
html[data-theme="light"] .primary-nav a { color: #4e473e; }
html[data-theme="light"] .primary-nav a:hover,
html[data-theme="light"] .primary-nav a.active { color: #8e590d; background: rgba(193,126,25,.07); }
html[data-theme="light"] .header-account { color: #29231d; background: #f4eee3; border-color: rgba(92,66,29,.16); }
html[data-theme="light"] .header-account:hover { color: #29231d; }
html[data-theme="light"] .header-account img { background: #fff; }
html[data-theme="light"] .mobile-menu-toggle { color: #29231d; background: #f2eadf; }
html[data-theme="light"] .account-toolbar { color: #514a41; background: #eee6da; }
html[data-theme="light"] .toolbar-links a { color: #5e564d; }
html[data-theme="light"] .toolbar-links a:hover { color: #8b560b; background: rgba(193,126,25,.08); }
html[data-theme="light"] .announcement-bar { color: #4f483f; background: linear-gradient(90deg,#eee6da,#fff9ec,#eee6da); }
html[data-theme="light"] .page-section.alt { background: rgba(79,57,26,.035); border-color: rgba(90,66,31,.10); }
html[data-theme="light"] .section-title,
html[data-theme="light"] .panel-header h2,
html[data-theme="light"] .panel-header h3,
html[data-theme="light"] .news-content h3,
html[data-theme="light"] .rank-player strong,
html[data-theme="light"] .faction-card h3,
html[data-theme="light"] .cta-panel h2,
html[data-theme="light"] .article-row-content h2,
html[data-theme="light"] .download-card h2,
html[data-theme="light"] .step-card h3,
html[data-theme="light"] .community-card h2,
html[data-theme="light"] .support-card h2,
html[data-theme="light"] .admin-page-heading h1,
html[data-theme="light"] .admin-stat strong,
html[data-theme="light"] .article-body h2,
html[data-theme="light"] .article-body h3,
html[data-theme="light"] .article-body h4 { color: #211c16; }
html[data-theme="light"] .panel,
html[data-theme="light"] .news-card,
html[data-theme="light"] .article-row,
html[data-theme="light"] .community-card,
html[data-theme="light"] .support-card,
html[data-theme="light"] .step-card,
html[data-theme="light"] .faction-card,
html[data-theme="light"] .download-card { color: #29241e; background: linear-gradient(145deg,#fffdf9,#f5eee4); border-color: var(--awn-border); box-shadow: 0 12px 34px rgba(77,54,22,.09); }
html[data-theme="light"] .news-content p,
html[data-theme="light"] .article-row-content p,
html[data-theme="light"] .faction-card p,
html[data-theme="light"] .step-card p,
html[data-theme="light"] .community-card p,
html[data-theme="light"] .support-card p,
html[data-theme="light"] .section-description { color: #6e675e; }
html[data-theme="light"] .quick-card { color: #332d26; background: rgba(255,253,249,.98); box-shadow: var(--awn-shadow); }
html[data-theme="light"] .quick-card:hover { color: #211c16; background: #fff; }
html[data-theme="light"] .quick-card strong { color: #211c16; }
html[data-theme="light"] .rank-row,
html[data-theme="light"] .panel-header,
html[data-theme="light"] .bank-detail { border-color: rgba(91,66,30,.11); }
html[data-theme="light"] .rank-avatar { background: #f3ece2; }
html[data-theme="light"] .cta-panel { background: linear-gradient(135deg,#fffaf1,#eee5d8); box-shadow: var(--awn-shadow); }
html[data-theme="light"] .page-hero { background: #eee6da; }
html[data-theme="light"] .page-hero h1 { color: #211c16; }
html[data-theme="light"] .page-hero p { color: #685f55; }
html[data-theme="light"] .breadcrumb { color: #7c7369; }
html[data-theme="light"] .breadcrumb a { color: #4f473f; }
html[data-theme="light"] .pagination a,
html[data-theme="light"] .pagination span { color: #4f473e; background: #fffdf9; border-color: rgba(80,57,25,.15); }
html[data-theme="light"] .pagination a:hover,
html[data-theme="light"] .pagination .active { color: #171006; background: var(--awn-gold); }
html[data-theme="light"] .ranking-table th,
html[data-theme="light"] .data-table th { color: #6e655b; background: rgba(83,59,26,.045); }
html[data-theme="light"] .ranking-table th,
html[data-theme="light"] .ranking-table td,
html[data-theme="light"] .data-table th,
html[data-theme="light"] .data-table td { border-color: rgba(83,59,26,.10); }
html[data-theme="light"] input[type="text"],
html[data-theme="light"] input[type="email"],
html[data-theme="light"] input[type="password"],
html[data-theme="light"] input[type="number"],
html[data-theme="light"] input[type="url"],
html[data-theme="light"] input[type="search"],
html[data-theme="light"] input[type="datetime-local"],
html[data-theme="light"] select,
html[data-theme="light"] textarea { color: #262019; background: #fffefa; border-color: rgba(87,61,25,.23); }
html[data-theme="light"] select option { color: #262019; background: #fffefa; }
html[data-theme="light"] .form-group label { color: #423a31; }
html[data-theme="light"] .tabs { background: #ebe3d8; border-color: rgba(83,59,26,.12); }
html[data-theme="light"] .tab-button { color: #665e54; }
html[data-theme="light"] .auth-page { background: #f4f0e8; }
html[data-theme="light"] .auth-art { background: linear-gradient(145deg,#efe6d8,#f9f5ee); }
html[data-theme="light"] .auth-card h1 { color: #211c16; }
html[data-theme="light"] .payment-method { color: #514a42; background: #fffdf9; border-color: rgba(83,59,26,.13); }
html[data-theme="light"] .payment-method.active { color: #211c16; background: rgba(210,143,31,.12); }
html[data-theme="light"] .denomination-option label { color: #40382f; background: #fffdf9; border-color: rgba(83,59,26,.17); }
html[data-theme="light"] .bank-detail strong { color: #241e18; }
html[data-theme="light"] .post-preview,
html[data-theme="light"] .article-body { color: #3a332b; background: #fffdf9; box-shadow: var(--awn-shadow); }
html[data-theme="light"] .editor-toolbar { background: #eee6da; border-color: rgba(83,59,26,.16); }
html[data-theme="light"] .editor-toolbar button { color: #3d362e; background: #fffaf2; border-color: rgba(83,59,26,.12); }
html[data-theme="light"] .rich-editor { color: #302a23; background: #fffefa; border-color: rgba(83,59,26,.18); }
html[data-theme="light"] .site-footer { color: #615a51; background: #e9e1d5; }
html[data-theme="light"] .footer-column h3 { color: #29231c; }
html[data-theme="light"] .footer-column a { color: #5f574e; }
html[data-theme="light"] .footer-social a { color: #3f382f; background: #f9f4ec; border-color: rgba(83,59,26,.13); }
html[data-theme="light"] .footer-bottom { border-color: rgba(83,59,26,.12); }
html[data-theme="light"] .box_botsss { color: #29231d; background: #fffdf9 !important; }
html[data-theme="light"] .table { color: #29231d; }
html[data-theme="light"] .table th,
html[data-theme="light"] .table td { border-color: rgba(83,59,26,.13) !important; }
html[data-theme="light"] .table thead { color: #29231d; background: #eee6db !important; }

@media (max-width: 1120px) {
    .brand-layout { grid-template-columns: 124px minmax(0,1fr) auto; gap: 12px; }
    .primary-nav a { padding-inline: 8px; font-size: 11px; }
    .home-content-grid { grid-template-columns: 1fr; }
    .admin-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-main { grid-template-columns: 1.2fr repeat(2,1fr); }
    .footer-column:last-child { grid-column: 2 / -1; }
}

@media (max-width: 1040px) {
    .brand-layout { display: flex; flex-wrap: nowrap; justify-content: flex-start; min-height: 66px; padding-block: 0; }
    .brand-link { width: 126px; height: 54px; }
    .header-actions { grid-column: auto; width: auto; justify-content: flex-end; }
    .mobile-menu-toggle { display: grid; place-items: center; margin-left: auto; }
    .primary-nav { position: absolute; top: 100%; right: 12px; left: 12px; display: none; align-items: stretch; flex-direction: column; padding: 8px; background: #0c1016; border: 1px solid var(--awn-border); border-radius: 8px; box-shadow: var(--awn-shadow); }
    html[data-theme="light"] .primary-nav { background: #fffdf9; }
    .primary-nav.open { display: flex; }
    .primary-nav a { justify-content: flex-start; min-height: 44px; padding: 10px 12px; border-radius: 8px; }
    .primary-nav a::after { display: none; }
    .header-actions .button-secondary { display: none; }
    .hero { min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; padding-block: 58px 86px; }
    .hero-art { display: none; }
    .quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .download-grid,
    .step-grid,
    .faction-grid { grid-template-columns: 1fr; }
    .faction-card { min-height: 190px; }
    .content-layout,
    .payment-layout { grid-template-columns: 1fr; }
    .auth-layout { grid-template-columns: 1fr; }
    .auth-art { display: none; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; }
    .admin-nav { display: flex; overflow-x: auto; scrollbar-width: none; }
    .admin-nav::-webkit-scrollbar { display: none; }
    .admin-nav a { white-space: nowrap; }
}

@media (max-width: 680px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="url"],
    input[type="search"],
    input[type="datetime-local"],
    select,
    textarea { font-size: 16px; }

    .site-shell,
    .page-shell,
    .site-main > .body,
    .site-main > .box_list_chuyenmuc { width: min(calc(100% - 22px), var(--awn-shell)); }
    .site-topline .site-shell { min-height: 36px; }
    .topline-status { display: none; }
    .topline-notice { align-items: center; line-height: 1.35; }
    .topline-long { display: none; }
    .topline-short { display: inline; }
    .brand-link { width: 118px; }
    .brand-link img { width: 100%; max-height: 54px; }
    .header-actions { width: auto; justify-content: flex-end; }
    .header-actions .button-primary { display: none; }
    .header-account { min-width: 0; padding: 5px; }
    .header-account span { display: none; }
    .toolbar-links { justify-content: flex-start; }
    .announcement-bar p { white-space: normal; padding-block: 9px; line-height: 1.35; }
    .page-section { padding: 54px 0; }
    .page-section.compact { padding: 36px 0; }
    .hero-grid { padding-block: 46px 80px; }
    .hero h1 { font-size: 44px; }
    .page-hero h1,
    .article-header h1 { font-size: 34px; }
    .cta-panel h2 { font-size: 30px; }
    .hero-copy > p { font-size: 15px; }
    .hero-actions .button { width: 100%; }
    .hero-metrics { gap: 18px; }
    .quick-grid { grid-template-columns: 1fr; margin-top: -38px; }
    .quick-card { min-height: 86px; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .section-title { font-size: 29px; }
    .news-grid { grid-template-columns: 1fr; }
    .article-row { grid-template-columns: 1fr; }
    .article-row-cover { min-height: 180px; }
    .cta-panel { grid-template-columns: 1fr; padding: 28px 22px; }
    .community-grid,
    .support-grid { grid-template-columns: 1fr; }
    .community-card,
    .support-card { min-height: 128px; padding: 19px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: auto; }
    .payment-methods { grid-template-columns: 1fr; }
    .denomination-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .bank-qr { grid-template-columns: 1fr; }
    .ranking-table { min-width: 0; table-layout: auto; }
    .ranking-table th,
    .ranking-table td { padding: 12px 8px; }
    .ranking-table .ranking-planet-col,
    .ranking-table .ranking-secondary-col { display: none; }
    .ranking-table .rank-avatar { width: 36px; height: 36px; }
    .ranking-table .ranking-primary-col { white-space: nowrap; }
    .admin-page-heading { align-items: flex-start; flex-direction: column; }
    .admin-stat-grid,
    .admin-grid-2,
    .admin-grid-3 { grid-template-columns: 1fr; }
    .admin-filter { align-items: stretch; flex-direction: column; }
    .admin-filter input,
    .admin-filter select { width: 100%; }
    .footer-main { grid-template-columns: 1fr; gap: 28px; }
    .footer-column:last-child { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 16px; }
}

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

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
