:root {
    --gold: #D4AF37;
    --gold-light: #FFD700;
    --gold-dark: #C59B5F;
    --green: #3dcc6e;
    --green-dark: #1a8f47;
    --green-glow: rgba(61, 204, 110, 0.45);
    --ice: #D4AF37;
    --ice-bright: #FFD700;
    --ice-deep: #C59B5F;
    --ice-dim: rgba(212, 175, 55, 0.16);
    --ice-glow: rgba(255, 140, 0, 0.32);
    --ember: #FF8C00;
    --blood: #7A110D;
    --blood-dark: #5C0D0A;
    --dark: #1A1A1A;
    --stone: #2A2A2A;
    --panel: rgba(26, 26, 26, 0.88);
    --panel-border: rgba(212, 175, 55, 0.28);
    --border: rgba(212, 175, 55, 0.14);
    --text: #E8E0D4;
    --muted: #A89F91;
    --success: #3dcc6e;
    --error: #ef4444;
    --font-display: 'Cinzel', Georgia, serif;
    --font-brand: 'Cinzel', Georgia, serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --header-h: 80px;
    --radius-sm: 3px;
    --radius: 4px;
    --radius-lg: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    background: #1A1A1A;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    min-height: 100vh;
    background: transparent;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

a { color: inherit; }

/* ===== Global site background (all pages) ===== */
.site-bg,
.wow-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #000;
}

.site-bg-picture {
    position: absolute;
    inset: 0;
    display: block;
}

.site-bg-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 36% 50%;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media (min-aspect-ratio: 21/9) {
    .site-bg-media {
        object-position: 40% 46%;
    }
}

@media (max-width: 720px) {
    .site-bg-media {
        object-position: 18% 42%;
    }
}

.site-bg-shade {
    position: absolute;
    inset: 0;
    background: rgba(6, 3, 2, 0.35);
    pointer-events: none;
}

.page-home .site-bg-shade {
    background:
        linear-gradient(180deg, rgba(6, 3, 2, 0.28) 0%, rgba(6, 3, 2, 0.36) 42%, rgba(6, 3, 2, 0.44) 100%);
}

.page-inner .site-bg-shade {
    background: rgba(6, 3, 2, 0.52);
}

.site-bg::before,
.wow-bg::before,
.site-bg::after,
.wow-bg::after {
    content: none;
    background: none;
}

.site-header,
.mobile-menu,
.mobile-overlay,
.main-content,
.site-footer {
    position: relative;
    z-index: 1;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    height: var(--header-h);
    background: rgba(26, 26, 26, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    overflow: visible;
}

.site-header--hero {
    background: linear-gradient(180deg, rgba(16, 8, 6, 0.45) 0%, rgba(16, 8, 6, 0.08) 70%, transparent 100%);
    border-bottom: none;
}

.header-wrap {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.25rem 0 0.65rem;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 1.15rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 0;
    position: relative;
    z-index: 2;
    justify-self: start;
}

.brand--logo {
    gap: 0;
    align-items: center;
    margin-left: 0;
    overflow: visible;
}

.brand-lockup {
    display: block;
    height: 70px;
    width: auto;
    max-width: min(300px, 34vw);
    object-fit: contain;
    object-position: left center;
    /* black plate disappears into dark header; glow stays */
    mix-blend-mode: screen;
    filter: contrast(1.05) saturate(1.08);
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.brand--logo:hover .brand-lockup {
    filter: contrast(1.08) saturate(1.12) drop-shadow(0 0 10px rgba(224, 177, 72, 0.35));
}

.brand-emblem {
    position: relative;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    height: 52px;
}

.brand-emblem::before {
    content: '';
    position: absolute;
    inset: -6px -10px;
    background: radial-gradient(ellipse at center, rgba(224, 177, 72, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.brand-emblem::after {
    display: none;
}

.brand-logo {
    position: relative;
    z-index: 1;
    height: 52px;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 0 12px rgba(224, 177, 72, 0.45)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.brand-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
}

.brand-title-eyebrow {
    font-family: var(--font-body);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #e0b148;
    opacity: 0.95;
    text-shadow: 0 0 14px rgba(224, 177, 72, 0.35);
}

.brand-title-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem;
    line-height: 1;
}

.brand-title-main {
    font-family: var(--font-brand);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f6e2a8;
    text-shadow:
        0 0 18px rgba(174, 220, 240, 0.45),
        0 1px 0 rgba(255, 255, 255, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.55);
}

.brand-title-sub {
    font-family: var(--font-brand);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #fff6d8 0%, #e0b148 42%, #8a5410 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(224, 177, 72, 0.35));
}

.brand-icon {
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(224, 177, 72, 0.35);
    flex-shrink: 0;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.1;
    white-space: nowrap;
    background: linear-gradient(180deg, #fff6d8 0%, #e0b148 45%, #8a5410 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(224, 177, 72, 0.35));
}

.nav-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    min-width: 0;
    z-index: 1;
}

.header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
    min-width: 0;
}

.nav-main a {
    position: relative;
    text-decoration: none;
    font-family: var(--font-body);
    color: rgba(210, 228, 240, 0.62);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.55rem 0.72rem;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
    border: none;
    background: transparent;
    transition: color 0.22s ease, text-shadow 0.22s ease, background 0.22s ease;
}

.nav-main a:hover {
    color: #f6e2a8;
    text-shadow: 0 0 14px rgba(224, 177, 72, 0.45);
}

.nav-main a.active {
    color: #fff6d8;
    background: radial-gradient(ellipse at center, rgba(224, 177, 72, 0.22) 0%, transparent 72%);
    text-shadow:
        0 0 10px rgba(246, 226, 168, 0.75),
        0 0 22px rgba(224, 177, 72, 0.45),
        0 0 36px rgba(196, 90, 26, 0.25);
}

.nav-main a.active::after {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    justify-self: end;
}

.online-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.online-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--muted);
}

.online-dot.is-on {
    background: var(--green);
    box-shadow: 0 0 10px var(--green-glow);
}

.online-dot.is-off { background: #64748b; }

.online-count {
    color: var(--green);
    font-weight: 700;
}

/* On home the online counter lives in the hero */
.page-home .online-badge--header {
    display: none;
}

.hero-online {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 0.7rem;
    margin: 0 auto 1.05rem;
    padding: 0.55rem 1.55rem 0.55rem 1.45rem;
    border-radius: 3px;
    background:
        linear-gradient(180deg, rgba(62, 32, 16, 0.94) 0%, rgba(18, 8, 5, 0.92) 55%, rgba(10, 4, 3, 0.94) 100%);
    border: 1px solid #d4af37;
    box-shadow:
        inset 0 0 0 1px rgba(90, 48, 14, 0.85),
        inset 0 1px 0 rgba(255, 232, 170, 0.28),
        0 0 0 1px rgba(40, 18, 6, 0.7),
        0 0 22px rgba(212, 175, 55, 0.22),
        0 10px 24px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(10px);
}

.hero-online::before,
.hero-online::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border: 1px solid #e0b148;
    transform: rotate(45deg);
    box-shadow: 0 0 6px rgba(224, 177, 72, 0.35);
    pointer-events: none;
}

.hero-online::before {
    left: 7px;
    top: 50%;
    margin-top: -3.5px;
}

.hero-online::after {
    right: 7px;
    top: 50%;
    margin-top: -3.5px;
}

.hero-online-label {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #f0d78a;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55), 0 0 12px rgba(224, 177, 72, 0.28);
}

.hero-online-sep {
    width: 1px;
    height: 1.05em;
    background: linear-gradient(180deg, transparent 0%, #d4af37 50%, transparent 100%);
    opacity: 0.85;
    flex-shrink: 0;
}

.hero-online-count {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff6d8;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.35), 0 1px 0 rgba(0, 0, 0, 0.5);
}

.hero-online .online-dot {
    width: 8px;
    height: 8px;
    margin-right: 0.1rem;
}

.hero-online .online-dot.is-on {
    box-shadow: 0 0 0 3px rgba(61, 204, 110, 0.16), 0 0 10px rgba(61, 204, 110, 0.55);
    animation: onlinePulse 2.2s ease-in-out infinite;
}

@keyframes onlinePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: 0.85; }
}

.btn-header-play {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.15rem;
    background: linear-gradient(180deg, #7A110D 0%, #5C0D0A 100%);
    color: #FFF6D8;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 2px solid var(--gold);
    box-shadow: inset 0 1px 0 rgba(255, 215, 0, 0.22);
    transition: border-color 0.15s, box-shadow 0.15s, color 0.15s;
}

.btn-header-play:hover {
    color: #fff;
    border-color: var(--gold-light);
    box-shadow: 0 0 18px rgba(255, 140, 0, 0.45), inset 0 1px 0 rgba(255, 215, 0, 0.28);
}

.btn-header-login {
    padding: 0.5rem 0.95rem;
    border: 1px solid rgba(224, 177, 72, 0.38);
    color: #f6e2a8;
    background: rgba(4, 14, 24, 0.35);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-header-login:hover {
    background: rgba(224, 177, 72, 0.12);
    border-color: rgba(224, 177, 72, 0.6);
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: #fff;
}

/* ===== Main ===== */
.main-content {
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
    flex: 1 0 auto;
}

.main-content.container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.main-content--home {
    padding: 0;
    max-width: none;
}

/* ===== Hero (Sirus-inspired layout, Klinok style) ===== */
.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
    overflow: hidden;
}

.hero-vignette {
    display: none;
}

.hero-particles {
    display: none;
}

@keyframes heroSnow {
    from { transform: translateY(-2%); }
    to { transform: translateY(2%); }
}

.hero-copy {
    --hero-stack: min(720px, 100%);
    position: relative;
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: var(--hero-stack);
    margin-left: auto;
    margin-right: auto;
}

.hero-copy::before {
    display: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-eyebrow,
.wotlk-eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #e0b148;
    text-shadow: 0 0 16px rgba(224, 177, 72, 0.45);
    margin: 0;
    width: 100%;
}

.hero-eyebrow {
    margin-bottom: 0.55rem;
}

.hero-title {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    width: 100%;
    color: rgba(214, 236, 248, 0.88);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.hero-brand-block {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin: 0 0 1.25rem;
    width: 100%;
}

.wotlk-eyebrow {
    margin-bottom: 0;
    opacity: 0.92;
}

.hero-name {
    margin: 0;
    line-height: 0;
    width: 100%;
}

.hero-name-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.45));
}

.hero-name-line {
    display: block;
    font-family: var(--font-brand);
    font-size: clamp(2.2rem, 5.6vw, 3.4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f6e2a8;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero-name-line--accent {
    color: #e0b148;
}

/* legacy title styles (other pages / fallback) */
.wotlk-title {
    display: block;
    font-family: var(--font-brand);
    font-size: clamp(2.15rem, 5.8vw, 3.5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f6e2a8;
    padding: 0.04em 0 0.08em;
    overflow: visible;
    text-shadow:
        0 0 28px rgba(174, 220, 240, 0.4),
        0 2px 0 rgba(255, 255, 255, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.55);
}

.wotlk-title--gold {
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #c5e8f8;
    background: linear-gradient(180deg, #fff6d8 0%, #e0b148 42%, #8a5410 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 16px rgba(224, 177, 72, 0.35));
    text-shadow: none;
}

.hero-lead {
    color: #f4ead8;
    font-size: 0.98rem;
    width: 100%;
    max-width: none;
    margin: 0 auto 1.35rem;
    line-height: 1.65;
    text-align: center;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}

.hero-cta {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    margin: 0 0 0.85rem;
    width: 100%;
    max-width: none;
}

.hero-cta > a {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    min-height: 50px;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* One CTA (logged-in): full width of the stack */
.hero-cta:has(> :only-child) > a {
    flex: 1 1 100%;
}

.btn-cta-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    background: linear-gradient(180deg, #7A110D 0%, #5C0D0A 100%);
    color: #FFF6D8;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius);
    border: 2px solid var(--gold);
    box-shadow: inset 0 1px 0 rgba(255, 215, 0, 0.22);
    transition: border-color 0.15s, box-shadow 0.15s, color 0.15s;
}

.btn-cta-gold:hover {
    color: #fff;
    border-color: var(--gold-light);
    box-shadow: 0 0 18px rgba(255, 140, 0, 0.45), inset 0 1px 0 rgba(255, 215, 0, 0.28);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.55);
    color: var(--gold-light);
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius);
    background: rgba(26, 26, 26, 0.55);
    backdrop-filter: blur(4px);
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn-cta-outline:hover {
    background: rgba(42, 42, 42, 0.65);
    border-color: var(--gold-light);
    box-shadow: 0 0 16px rgba(255, 140, 0, 0.28);
}

.hero-note {
    width: 100%;
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(168, 159, 145, 0.9);
    text-align: center;
}

/* Realm widget (right panel like Sirus) */
.hero-panel { position: relative; }

.realm-card {
    position: relative;
    padding: 1.85rem 1.6rem 1.6rem;
    background: linear-gradient(165deg, rgba(8, 18, 28, 0.92) 0%, rgba(4, 10, 18, 0.88) 100%);
    border: 1px solid rgba(224, 177, 72, 0.22);
    border-radius: 14px;
    backdrop-filter: blur(20px);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.55),
        0 0 48px rgba(224, 177, 72, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: visible;
}

/* Variant 4 — full mock 1024px; overlays: online + digits (+ col3 label) */
.realm-card.realm-card--shot {
    position: relative;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    overflow: visible;
    width: min(400px, 100%);
    margin: 0 auto;
    isolation: isolate;
}

.hero-panel .realm-card--shot,
.hero-panel {
    background: transparent !important;
}

.realm-shot-art {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    user-select: none;
    background: transparent !important;
    filter: none !important;
    mix-blend-mode: normal;
}

.realm-shot-ui {
    position: absolute;
    inset: 0;
    background: transparent !important;
    z-index: 2;
}

/* Online — mock-like compact pill */
.realm-shot-online {
    position: absolute;
    right: 7.2%;
    top: 11.5%;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.62rem 0.28rem 0.48rem;
    border-radius: 3px;
    border: 1px solid rgba(72, 210, 120, 0.7);
    background: rgba(2, 8, 6, 0.88);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: lowercase;
    line-height: 1;
    color: #94a3b8;
    z-index: 5;
    box-shadow: 0 0 10px rgba(61, 204, 110, 0.2);
}

.realm-shot-online.is-on,
.realm-v4-online.is-on {
    color: #6ef0a2;
    border-color: rgba(80, 220, 130, 0.85);
    text-shadow: 0 0 8px rgba(61, 204, 110, 0.55);
}

.realm-shot-online.is-off {
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.5);
    text-shadow: none;
    box-shadow: none;
}

.realm-v4-online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #64748b;
}

.realm-v4-online.is-on .realm-v4-online-dot {
    background: #3dcc6e;
    box-shadow: 0 0 6px rgba(61, 204, 110, 1), 0 0 12px rgba(61, 204, 110, 0.55);
}

/* Metric values — centered under baked labels */
.realm-shot-metric {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    text-align: center;
    z-index: 4;
    box-sizing: border-box;
    transform: translateX(-50%);
}

.realm-shot-metric--1 { left: 20%; }
.realm-shot-metric--2 { left: 49.2%; }
.realm-shot-metric--3 { left: 78.5%; }

.realm-shot-metric--value-only {
    top: 57.8%;
    width: 21%;
    height: 9%;
}

.realm-shot-metric--3 {
    top: 45.5%;
    width: 24%;
    height: 21%;
    gap: 0.55rem;
    justify-content: flex-start;
    padding-top: 0.35rem;
}

.realm-shot-metric-label {
    display: block;
    width: 100%;
    font-family: 'Cinzel', var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(210, 220, 230, 0.92);
    text-align: center;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.realm-shot-metric-value {
    display: block;
    width: 100%;
    font-family: 'Cinzel', var(--font-display);
    font-size: clamp(1.05rem, 4.8vw, 1.35rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    letter-spacing: 0.03em;
    color: #9cefff;
    text-align: center;
    white-space: nowrap;
    text-shadow:
        0 0 3px rgba(180, 240, 255, 0.85),
        0 0 10px rgba(224, 177, 72, 0.55),
        0 1px 2px rgba(0, 0, 0, 0.9);
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.realm-shot-metric--3 .realm-shot-metric-value {
    margin-top: 0.25rem;
}

/* Baked «ВЫБОР МИРА» — transparent hit area */
.realm-shot-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 73.5%;
    width: 56%;
    height: 12%;
    display: block;
    background: transparent;
    border: none;
    box-shadow: none;
    color: transparent;
    text-decoration: none;
    z-index: 4;
    cursor: pointer;
}

.realm-shot-btn::before,
.realm-shot-btn::after {
    content: none;
}

.realm-shot-btn-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.realm-shot-btn:hover {
    filter: brightness(1.1);
}

@media (min-width: 1024px) {
    .hero-panel {
        width: 400px;
    }

    .realm-card--shot {
        width: 400px;
    }
}

.realm-card-head {
    text-align: center;
    margin-bottom: 1.1rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(224, 177, 72, 0.12);
}

.realm-card-glow {
    position: absolute;
    top: -40px;
    right: -24px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(224, 177, 72, 0.22), rgba(224, 177, 72, 0.08) 42%, transparent 72%);
    pointer-events: none;
    border-radius: 50%;
    z-index: 0;
}

.realm-card > *:not(.realm-card-glow):not(.realm-shot-art):not(.realm-shot-ui) {
    position: relative;
    z-index: 1;
}

.realm-card--shot > .realm-shot-ui {
    position: absolute !important;
    inset: 0;
    z-index: 3;
}

.realm-card--shot > .realm-shot-art {
    position: relative;
    z-index: 1;
}

.realm-card-emblem {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 42%, rgba(224, 177, 72, 0.2) 0%, rgba(224, 177, 72, 0.06) 42%, transparent 70%);
    box-shadow:
        0 0 0 1px rgba(224, 177, 72, 0.16),
        0 0 28px rgba(224, 177, 72, 0.18);
}

.realm-card-icon-img {
    display: block;
    width: 88px;
    height: 88px;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 14px rgba(224, 177, 72, 0.55));
}

.feature-icon-img {
    display: block;
    margin-bottom: 0.75rem;
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(224, 177, 72, 0.35));
}

.feature-icon-svg {
    display: block;
    margin-bottom: 0.75rem;
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 12px rgba(224, 177, 72, 0.28));
}

.realm-card-patch {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.85);
    margin-bottom: 0.5rem;
}

.realm-card-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--gold-light);
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 12px rgba(224, 177, 72, 0.22);
}

.realm-card-rate {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body, sans-serif);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ice);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    border: 1px solid rgba(224, 177, 72, 0.35);
    background: linear-gradient(180deg, rgba(224, 177, 72, 0.14), rgba(224, 177, 72, 0.05));
    box-shadow: 0 0 12px rgba(224, 177, 72, 0.12);
    vertical-align: middle;
}

.realm-card-addr {
    font-size: 0.8rem;
    color: var(--ice);
    font-family: monospace;
    margin-bottom: 1rem;
}

.realm-card-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
    flex-wrap: wrap;
}

.status-pill {
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-pill--on {
    background: rgba(61, 204, 110, 0.14);
    color: #5ee89a;
    border: 1px solid rgba(61, 204, 110, 0.4);
    box-shadow: 0 0 14px rgba(61, 204, 110, 0.15);
}

.status-pill--off {
    background: rgba(148, 163, 184, 0.12);
    color: var(--muted);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.status-players {
    font-size: 0.85rem;
    color: rgba(203, 213, 225, 0.75);
}

.realm-card-stats {
    list-style: none;
    margin-bottom: 1.35rem;
    padding: 0;
}

.realm-card-stats li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.88rem;
    color: var(--muted);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.realm-card-stats li + li {
    margin-top: 0.4rem;
}

.realm-card-stats strong {
    color: #fff;
    font-weight: 600;
}

.realm-stat-gold {
    color: var(--gold-light) !important;
    font-weight: 700 !important;
}

.realm-raid-tags {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 400 !important;
}

.realm-raid-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.22rem 0.55rem;
    border-radius: 5px;
    color: var(--gold-light);
    background: rgba(224, 177, 72, 0.1);
    border: 1px solid rgba(224, 177, 72, 0.28);
}

.realm-card-stat-raids strong {
    color: inherit;
}

.btn-realm-join {
    display: block;
    text-align: center;
    padding: 0.9rem 1rem;
    background: linear-gradient(180deg, #f6e2a8 0%, #e0b148 48%, #8a5410 100%);
    color: #1a0c06;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius);
    border: 1px solid rgba(246, 226, 168, 0.5);
    box-shadow: 0 4px 20px var(--ice-glow);
    transition: filter 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn-realm-join:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(224, 177, 72, 0.38);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== Sections ===== */
.home-section {
    padding: 5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    background: transparent;
    scroll-margin-top: calc(var(--header-h) + 1rem);
}

.home-section--dark {
    max-width: none;
    background: transparent;
    border-top: 1px solid var(--border);
}

.section-head {
    text-align: center;
    margin-bottom: 3rem;
}

.section-head--follow {
    margin-top: 3.25rem;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    letter-spacing: 0.04em;
    text-shadow: 0 0 24px rgba(224, 177, 72, 0.18);
}

.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
    font-family: var(--font-body);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 1.75rem;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    border-color: rgba(224, 177, 72, 0.35);
    transform: translateY(-3px);
}

.feature-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 0.65rem;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.home-events {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 2rem 0 0;
}

.home-event {
    padding: 1.35rem 1.5rem;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
}

.home-event h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
}

.home-event p {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.45;
}

@media (max-width: 800px) {
    .home-events { grid-template-columns: 1fr; }
}

.feature-card code {
    background: rgba(0,0,0,0.35);
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-size: 0.85em;
    color: var(--ice);
}

.link-gold {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

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

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 2.5rem;
}

.step { text-align: center; }

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5C0D0A, #7A110D);
    color: #FFF6D8;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 18px rgba(224, 177, 72, 0.22);
    border: 1px solid rgba(246, 226, 168, 0.35);
}

.step h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.step p { color: var(--muted); font-size: 0.9rem; }

.home-bottom-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(4, 6, 8, 0.55);
    backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
}

.page-inner .site-footer,
.page-admin .site-footer {
    margin-top: auto;
    background: transparent;
    backdrop-filter: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-wrap {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-display);
    letter-spacing: 0.12em;
    color: var(--ice);
    margin-bottom: 0.75rem;
    text-shadow: 0 0 12px rgba(224, 177, 72, 0.25);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover { color: var(--ice-bright); }

.footer-copy { font-size: 0.8rem; color: #64748b; }

/* ===== Shared components (inner pages) ===== */
.container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.wow-panel {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.wow-panel h1, .wow-panel h2 {
    font-family: var(--font-display);
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.wow-panel p { line-height: 1.7; margin-bottom: 0.8rem; color: var(--muted); }

/* ===== Auth (login / register) ===== */
.main-content.container:has(.auth-page) {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: calc(var(--header-h) + 1.5rem);
    padding-bottom: 3rem;
    min-height: calc(100vh - var(--header-h) - 4rem);
}

.main-content.container:has(.auth-page) > .alert {
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.main-content.container:has(.cabinet-page) > .alert {
    width: 100%;
}

.auth-page {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.auth-page--wide {
    max-width: 460px;
}

.auth-card {
    position: relative;
    padding: 2rem 1.75rem 1.65rem;
    background: linear-gradient(165deg, rgba(8, 18, 28, 0.94) 0%, rgba(4, 10, 18, 0.9) 100%);
    border: 1px solid rgba(224, 177, 72, 0.22);
    border-radius: 14px;
    backdrop-filter: blur(20px);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.55),
        0 0 48px rgba(224, 177, 72, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.auth-card-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 140px;
    background: radial-gradient(ellipse, rgba(224, 177, 72, 0.22), rgba(224, 177, 72, 0.1) 45%, transparent 72%);
    pointer-events: none;
}

.auth-card-head {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-card-icon {
    display: block;
    margin: 0 auto 0.75rem;
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(224, 177, 72, 0.45));
}

.auth-card-title {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--gold-light);
    margin: 0 0 0.4rem;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 12px rgba(224, 177, 72, 0.2);
}

.auth-card-sub {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(148, 163, 184, 0.9);
}

.auth-card-alert {
    margin: 0 0 1rem !important;
    max-width: none;
}

.auth-form .form-group {
    margin-bottom: 1.1rem;
}

.auth-form .form-group label {
    color: rgba(183, 223, 243, 0.95);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
}

.auth-form .form-group input {
    padding: 0.78rem 0.95rem;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(224, 177, 72, 0.15);
    border-radius: 10px;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.auth-form .form-group input::placeholder {
    color: rgba(148, 163, 184, 0.45);
}

.auth-form .form-group input:focus {
    border-color: rgba(224, 177, 72, 0.5);
    box-shadow: 0 0 0 3px rgba(224, 177, 72, 0.12);
    background: rgba(0, 0, 0, 0.55);
}

.password-field {
    position: relative;
}

.password-field input {
    width: 100%;
    padding-right: 2.85rem !important;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 0.45rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(100, 116, 139, 0.95);
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: rgba(30, 64, 90, 0.95);
    background: rgba(224, 177, 72, 0.12);
    outline: none;
}

.password-toggle[aria-pressed="true"] {
    color: rgba(29, 111, 150, 0.95);
}

.password-toggle-icon[hidden] {
    display: none !important;
}

.btn-auth-submit {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.95rem 1.25rem;
    border: 1px solid rgba(246, 226, 168, 0.55);
    border-radius: 10px;
    background: linear-gradient(180deg, #f6e2a8 0%, #e0b148 48%, #8a5410 100%);
    color: #1a0c06;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(224, 177, 72, 0.28);
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.btn-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(224, 177, 72, 0.38);
    filter: brightness(1.04);
}

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

.btn-auth-secondary {
    display: block;
    width: 100%;
    padding: 0.8rem 1.25rem;
    border: 1px solid rgba(224, 177, 72, 0.35);
    border-radius: 10px;
    background: transparent;
    color: #f6e2a8;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-auth-secondary:hover {
    border-color: rgba(246, 226, 168, 0.65);
    background: rgba(224, 177, 72, 0.08);
}

.verify-code-input {
    font-size: 1.35rem !important;
    letter-spacing: 0.35em;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.auth-card-divider {
    height: 1px;
    margin: 1.35rem 0 1.15rem;
    background: linear-gradient(90deg, transparent, rgba(224, 177, 72, 0.2), transparent);
}

.auth-card-footer {
    margin: 0;
    text-align: center;
    font-size: 0.88rem;
    color: var(--muted);
}

.auth-card-footer--secondary {
    margin-top: 0.65rem;
}

.auth-card-footer .link-gold {
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(224, 177, 72, 0.4);
}

.auth-card-footer .link-gold:hover {
    border-bottom-color: var(--gold-light);
}

.cabinet-page {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cabinet-page > * {
    width: 100%;
    box-sizing: border-box;
}

.cabinet-page > .cabinet-tabs {
    width: fit-content;
}

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

.cabinet-kicker {
    margin: 0 0 0.4rem !important;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ice) !important;
}

.cabinet-hero h1 {
    margin: 0 0 0.4rem;
}

.cabinet-greeting {
    margin: 0 !important;
    color: var(--text) !important;
}

.cabinet-badge {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(224, 177, 72, 0.15);
    color: var(--gold-light);
    border: 1px solid rgba(224, 177, 72, 0.35);
    vertical-align: middle;
}

.cabinet-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cabinet-hero-copy {
    min-width: 0;
}

.cabinet-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
    flex-shrink: 0;
}

.cabinet-btn-logout {
    border-color: rgba(220, 100, 100, 0.45);
    color: #f0b0b0;
}

.cabinet-btn-logout:hover {
    border-color: rgba(240, 130, 130, 0.65);
    color: #ffd0d0;
    background: rgba(180, 60, 60, 0.12);
}

.btn-header-logout {
    opacity: 0.85;
}

.btn-header-logout:hover {
    opacity: 1;
    color: #f0b0b0;
}

.cabinet-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.cabinet-stat {
    padding: 0.65rem 0.5rem 0.7rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: center;
}

.cabinet-split {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
}

.cabinet-split > .wow-panel {
    width: 100%;
    max-width: none;
    align-self: stretch;
    box-sizing: border-box;
}

.cabinet-bonus {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    padding: 0.7rem 1.15rem 0.75rem !important;
    text-align: left;
    border-color: rgba(212, 175, 55, 0.38);
    background:
        radial-gradient(ellipse at 8% 0%, rgba(212, 175, 55, 0.14), transparent 52%),
        var(--panel);
}

.cabinet-bonus::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f0d78c 30%, #c9a227 70%, transparent);
}

.cabinet-bonus h2,
.cabinet-account h2 {
    margin: 0;
    font-size: 1.2rem;
}

.cabinet-bonus-main {
    min-width: 0;
    flex: 1 1 auto;
}

.cabinet-bonus .cabinet-kicker {
    margin: 0 0 0.12rem !important;
}

.cabinet-bonus h2 {
    margin: 0 0 0.15rem;
}

.cabinet-bonus-head,
.cabinet-bonus-titles {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cabinet-bonus-titles h2 {
    margin: 0 0 0.2rem;
}

.cabinet-bonus-balance {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.25rem 0.45rem;
    text-align: left;
    padding: 0;
}

.cabinet-bonus-num {
    display: inline;
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1.1;
    color: #f6e2a2;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

.cabinet-bonus-unit {
    display: inline;
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d4af37;
}

.cabinet-bonus-lead {
    color: var(--muted) !important;
    margin: 0.15rem 0 0 !important;
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
}

.cabinet-bonus-foot {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.28rem;
    margin-top: 0;
    width: auto;
    flex: 0 0 auto;
}

.cabinet-perks {
    list-style: none;
    margin: 0 0 0.65rem;
    padding: 0;
    display: grid;
    gap: 0.3rem;
}

.cabinet-perks li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--text);
    font-size: 0.84rem;
    line-height: 1.35;
    text-align: left;
}

.cabinet-perks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #d4af37;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.55);
}

.cabinet-bonus-earn {
    font-size: 0.82rem !important;
    margin-bottom: 0.7rem !important;
}

.btn-bonus {
    gap: 0.45rem;
    width: auto;
    min-width: 11rem;
    margin-top: 0;
    padding: 0.42rem 0.95rem;
    background: linear-gradient(180deg, #f0d78c 0%, #c9a227 52%, #8a6b12 100%);
    color: #1a1408;
    border-color: rgba(240, 215, 140, 0.55);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.22);
}

.btn-bonus:disabled,
.btn-bonus[aria-disabled="true"] {
    background: rgba(80, 70, 40, 0.4);
    color: rgba(240, 220, 160, 0.45);
    border-color: rgba(212, 175, 55, 0.22);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

.cabinet-soon {
    display: inline-flex;
    align-items: center;
    padding: 0.08rem 0.4rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    color: inherit;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cabinet-bonus-hint {
    margin: 0 !important;
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
}

.cabinet-account {
    text-align: left;
}

.cabinet-account .cabinet-kicker {
    margin-bottom: 0.2rem !important;
}

.cabinet-account h2 {
    margin-bottom: 0.7rem;
}

.cabinet-account .cabinet-dl {
    margin: 0;
}

.cabinet-dl-span {
    grid-column: 1 / -1;
}

.cabinet-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.cabinet-settings-lead {
    max-width: 36rem;
    margin: 0 0 1.1rem !important;
    text-align: left;
}

.cabinet-empty {
    text-align: center;
    padding: 1.35rem 1rem 0.35rem;
}

.cabinet-empty-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gold-light) !important;
    margin-bottom: 0.45rem !important;
}

.cabinet-empty .btn {
    margin-top: 0.85rem;
}

.cabinet-char-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.85rem;
}

.cabinet-char {
    padding: 1rem 1.05rem 0.9rem;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: left;
}

.cabinet-char.is-alliance {
    border-color: rgba(90, 140, 220, 0.35);
}

.cabinet-char.is-horde {
    border-color: rgba(180, 70, 70, 0.35);
}

.cabinet-char.is-online {
    box-shadow: inset 0 0 0 1px rgba(61, 204, 110, 0.25);
}

.cabinet-char-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.cabinet-char-name {
    font-size: 1.05rem;
    color: var(--gold-light);
    margin: 0 0 0.2rem;
}

.cabinet-char-sub {
    margin: 0 !important;
    font-size: 0.86rem;
    color: var(--muted) !important;
}

.cabinet-char-lvl {
    flex-shrink: 0;
    min-width: 2.4rem;
    height: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(224, 177, 72, 0.12);
    border: 1px solid rgba(224, 177, 72, 0.28);
    font-weight: 800;
    color: var(--gold-light);
}

.cabinet-char-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    font-size: 0.78rem;
    color: var(--muted);
}

.cabinet-char-foot code {
    color: var(--muted);
    font-size: 0.75rem;
}

.cabinet-class-1 { color: #c79c6e; }
.cabinet-class-2 { color: #f58cba; }
.cabinet-class-3 { color: #abd473; }
.cabinet-class-4 { color: #fff569; }
.cabinet-class-5 { color: #f4f4f4; }
.cabinet-class-6 { color: #c41f3b; }
.cabinet-class-7 { color: #0070de; }
.cabinet-class-8 { color: #69ccf0; }
.cabinet-class-9 { color: #9482c9; }
.cabinet-class-11 { color: #ff7d0a; }

.cabinet-stat-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.cabinet-stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.cabinet-stat-value.is-online {
    color: #6ecf8a;
}

.cabinet-stat-value.is-offline {
    color: var(--muted);
}

.cabinet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.cabinet-section h2 {
    font-family: var(--font-display);
    color: var(--gold-light);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.cabinet-dl {
    display: grid;
    gap: 0;
    margin: 0 0 1rem;
}

.cabinet-dl > div {
    display: grid;
    grid-template-columns: minmax(7.5rem, 11.5rem) minmax(0, 1fr);
    gap: 0.2rem 1rem;
    align-items: baseline;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(224, 177, 72, 0.08);
}

.cabinet-dl > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cabinet-dl dt {
    font-size: 0.72rem;
    color: var(--gold);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: normal;
}

.cabinet-dl dd {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.35;
    font-weight: 600;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.cabinet-dl code {
    color: var(--gold-light);
    background: rgba(0, 0, 0, 0.35);
    padding: 0.12rem 0.35rem;
    border-radius: 4px;
    font-size: 0.84rem;
    white-space: nowrap;
}

.cabinet-realmlist {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.cabinet-realmlist-label {
    font-size: 0.82rem;
    color: var(--gold);
    font-weight: 600;
}

.cabinet-realmlist code {
    flex: 1;
    min-width: 200px;
    color: var(--gold-light);
    font-size: 0.88rem;
}

.cabinet-form .form-group {
    margin-bottom: 0.85rem;
    text-align: left;
}

.cabinet-form {
    max-width: 28rem;
    margin: 0 auto;
    text-align: left;
}

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

.cabinet-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.25rem 0;
}

.cabinet-hint {
    font-size: 0.82rem;
    color: var(--muted);
    margin: -0.25rem 0 0.85rem !important;
}

.cabinet-muted {
    color: var(--muted);
    line-height: 1.6;
}

.cabinet-muted a {
    color: var(--gold-light);
}

.cabinet-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.cabinet-table th,
.cabinet-table td {
    border: 1px solid var(--border);
    padding: 0.6rem 0.75rem;
    text-align: left;
}

.cabinet-table th {
    background: rgba(0, 0, 0, 0.35);
    color: var(--gold);
    font-weight: 600;
    font-size: 0.82rem;
}

.cabinet-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.cabinet-table .is-online-row {
    background: rgba(61, 204, 110, 0.06);
}

.cabinet-table code {
    font-size: 0.85rem;
    color: var(--muted);
}

.cabinet-online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3dcc6e;
    box-shadow: 0 0 6px rgba(61, 204, 110, 0.7);
    vertical-align: middle;
    margin-left: 0.25rem;
}

.cabinet-characters .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cabinet-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 0.28rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
}

.cabinet-tab {
    appearance: none;
    background: transparent;
    border: 1px solid transparent;
    color: var(--muted);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
}

.cabinet-tab:hover {
    color: var(--gold-light);
}

.cabinet-tab.is-active {
    color: var(--gold-light);
    background: rgba(224, 177, 72, 0.16);
    border-color: rgba(224, 177, 72, 0.32);
}

.cabinet-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.2rem;
    margin-left: 0.4rem;
    padding: 0.05rem 0.35rem;
    border-radius: 999px;
    background: rgba(224, 177, 72, 0.18);
    color: var(--gold-light);
    font-size: 0.72rem;
}

.cabinet-tab-panel[hidden] {
    display: none !important;
}

.cabinet-restore-form {
    margin: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    background: rgba(4, 14, 24, 0.55);
    border: 1px solid rgba(224, 177, 72, 0.35);
    color: #e2f4fb;
    text-decoration: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--font-body);
    letter-spacing: 0.03em;
    transition: filter 0.15s, border-color 0.15s, background 0.15s, transform 0.15s;
}

.btn-primary {
    background: linear-gradient(180deg, #7A110D 0%, #5C0D0A 100%);
    color: #FFF6D8;
    border-color: var(--gold);
    box-shadow: inset 0 1px 0 rgba(255, 215, 0, 0.2);
}

.btn:hover {
    filter: brightness(1.08);
    border-color: rgba(224, 177, 72, 0.55);
}

.btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.form-group { margin-bottom: 1rem; }

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    font-family: var(--font-body);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(224, 177, 72, 0.5);
}

.alert {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.page-inner .main-content > .alert { margin-bottom: 1.5rem; }

.alert-success { background: rgba(61,204,110,0.12); border: 1px solid var(--success); color: #86efac; }
.alert-error { background: rgba(239,68,68,0.12); border: 1px solid var(--error); color: #fca5a5; }
.alert-info { background: rgba(126,200,232,0.12); border: 1px solid var(--ice); color: #bae6fd; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    padding: 1.25rem;
    border-radius: 12px;
}

.card h3 {
    font-family: var(--font-display);
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.addon-list { list-style: none; }
.addon-list li { padding: 0.85rem 0; border-bottom: 1px solid var(--border); }
.addon-list li:last-child { border: none; }
.addon-list strong { color: var(--gold-light); }

.main-content.container:has(.addon-catalog) {
    max-width: 1400px;
}

.addon-catalog-lead {
    margin-bottom: 1.25rem;
    color: var(--muted);
}

.addon-catalog-lead code {
    color: var(--ice);
    font-size: 0.9em;
}

.addon-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0 0 0.75rem;
}

/* Category chips — same family as site .btn */
.addon-filters .btn.addon-filter,
button.btn.addon-filter {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(224, 177, 72, 0.3);
    background: rgba(4, 14, 24, 0.55);
    color: #d7eef8;
    cursor: pointer;
    text-decoration: none;
    box-shadow: none;
    transition: filter 0.15s, border-color 0.15s, background 0.15s, color 0.15s;
}

.addon-filters .btn.addon-filter:hover,
button.btn.addon-filter:hover {
    filter: none;
    border-color: rgba(224, 177, 72, 0.55);
    background: rgba(224, 177, 72, 0.1);
    color: #fff;
}

.addon-filters .btn.addon-filter.is-active,
button.btn.addon-filter.is-active {
    background: linear-gradient(180deg, #f6e2a8 0%, #e0b148 48%, #8a5410 100%);
    color: #1a0c06;
    border-color: rgba(246, 226, 168, 0.5);
    filter: none;
}

.addon-filter-count {
    margin: 0 0 1.1rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.addon-card.is-hidden,
.addon-card[hidden] {
    display: none !important;
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.addon-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem;
    min-height: 100%;
    background: rgba(8, 14, 22, 0.65);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color 0.2s, transform 0.2s;
}

.addon-card:hover {
    border-color: rgba(224, 177, 72, 0.35);
    transform: translateY(-2px);
}

.addon-card-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

.addon-card .tag {
    margin-left: 0;
}

.addon-card-name {
    color: var(--gold-light);
    font-size: 0.95rem;
    line-height: 1.25;
    word-break: break-word;
}

.addon-card-desc {
    flex: 1 1 auto;
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.addon-card-btn {
    width: 100%;
    margin-top: auto;
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
    text-align: center;
}

.addon-card-soon {
    margin-top: auto;
    color: var(--muted);
    font-size: 0.82rem;
}

.addon-catalog-pack {
    margin-top: 1.75rem;
    margin-bottom: 0;
    text-align: center;
}

.tag {
    display: inline-block;
    background: rgba(224, 177, 72, 0.12);
    color: var(--ice-bright);
    padding: 0.15rem 0.5rem;
    font-size: 0.72rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: 1px solid rgba(224, 177, 72, 0.22);
}

.hero { text-align: center; padding: 3rem 1rem; }
.hero h1 { font-family: var(--font-display); font-size: 2.5rem; color: var(--gold-light); }
.hero .subtitle { font-size: 1.1rem; color: var(--gold); margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.stats { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0; }
.stat .num { font-size: 2rem; color: var(--gold); font-weight: bold; font-family: var(--font-display); }
.stat .lbl { color: var(--muted); font-size: 0.85rem; }

table.admin-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.9rem; }
table.admin-table th, table.admin-table td { border: 1px solid var(--border); padding: 0.55rem 0.75rem; text-align: left; }
table.admin-table th { background: rgba(0,0,0,0.35); color: var(--gold); }

.wow-money {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.65rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}
.wow-money-g { color: #ffd76a; }
.wow-money-s { color: #c9d4e0; }
.wow-money-c { color: #d0894a; }

.admin-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.admin-nav a {
    padding: 0.45rem 0.85rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    color: var(--muted);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
}
.admin-nav a.active, .admin-nav a:hover { color: var(--gold-light); border-color: rgba(224, 177, 72, 0.4); }

.admin-list-meta {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
}

.admin-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    min-height: 2.25rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.35);
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.admin-pagination .page-link:hover:not(.is-disabled):not(.is-active) {
    color: #fff;
    border-color: rgba(224, 177, 72, 0.45);
    background: rgba(224, 177, 72, 0.08);
}

.admin-pagination .page-link.is-active {
    color: var(--gold-light);
    border-color: rgba(224, 177, 72, 0.55);
    background: rgba(224, 177, 72, 0.15);
    cursor: default;
}

.admin-pagination .page-link.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.admin-pagination .page-prev,
.admin-pagination .page-next {
    min-width: auto;
    padding: 0.35rem 0.85rem;
}

.admin-pagination .page-ellipsis {
    color: var(--muted);
    padding: 0 0.25rem;
    user-select: none;
}

.admin-user-link {
    color: var(--gold-light);
    font-weight: 700;
    text-decoration: none;
}

.admin-user-link:hover {
    color: #fff;
    text-decoration: underline;
}

.admin-back-link {
    margin: 0 0 1rem;
}

.admin-back-link a {
    color: var(--ice);
    text-decoration: none;
    font-weight: 600;
}

.admin-back-link a:hover {
    color: #fff;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
}

.admin-detail-card h2 {
    font-family: var(--font-display);
    color: var(--gold-light);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.admin-detail-list {
    display: grid;
    gap: 0.65rem;
}

.admin-detail-list > div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0.75rem;
    align-items: start;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--border);
}

.admin-detail-list > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.admin-detail-list dt {
    color: var(--muted);
    font-size: 0.85rem;
}

.admin-detail-list dd {
    margin: 0;
    word-break: break-word;
}

.admin-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.admin-inline-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.admin-inline-form label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-muted {
    color: var(--muted);
}

.admin-log-list {
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.admin-log-list li {
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.admin-log-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.admin-actions-cell {
    white-space: normal;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.admin-actions-cell form {
    margin: 0;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
}

.admin-search {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: min(320px, 100%);
}

.admin-search span {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
}

.admin-search input,
.admin-search textarea,
.admin-search select {
    padding: 0.65rem 0.85rem;
    background: rgba(16, 8, 6, 0.85);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.admin-search input:focus {
    outline: none;
    border-color: rgba(224, 177, 72, 0.45);
}

.admin-create-panel {
    margin: 0 0 1.25rem;
    padding: 0.85rem 1rem;
    background: rgba(16, 8, 6, 0.55);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.admin-create-panel summary {
    cursor: pointer;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    user-select: none;
}

.admin-create-panel summary:hover {
    color: var(--gold-light);
}

.admin-create-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.admin-grant-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.admin-grant-form .admin-search select,
.admin-grant-form .admin-search input[type="number"],
.admin-grant-form .admin-search input[type="text"] {
    padding: 0.65rem 0.85rem;
    background: rgba(16, 8, 6, 0.85);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    min-width: 8rem;
}

.admin-grant-form .admin-search select {
    min-width: 14rem;
}

.admin-search--wide {
    min-width: min(320px, 100%);
    flex: 1 1 220px;
}

.admin-grant-form .admin-search select:focus,
.admin-grant-form .admin-search input:focus {
    outline: none;
    border-color: rgba(224, 177, 72, 0.45);
}

.wow-q0 { color: #9d9d9d; }
.wow-q1 { color: #ffffff; }
.wow-q2 { color: #1eff00; }
.wow-q3 { color: #0070dd; }
.wow-q4 { color: #a335ee; }
.wow-q5 { color: #ff8000; }
.wow-q6 { color: #e6cc80; }
.wow-q7 { color: #e6cc80; }

.btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
    min-height: 36px;
}

.btn-danger {
    background: #8b0000;
    color: #fff;
    border: none;
}

.btn-danger:hover {
    filter: brightness(1.1);
}

.admin-guide h3 {
    font-family: var(--font-display);
    color: var(--gold-light);
    font-size: 1rem;
    margin: 1rem 0 0.5rem;
}

.admin-guide h3:first-child {
    margin-top: 0;
}

.admin-guide p,
.admin-guide ul {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
}

.admin-guide ul {
    padding-left: 1.25rem;
}

.admin-guide li {
    margin-bottom: 0.35rem;
}

.admin-guide code {
    background: rgba(0, 0, 0, 0.35);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    color: var(--ice);
}

.admin-bots-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.admin-bots-toolbar h2 {
    margin: 0;
    font-family: var(--font-display);
    color: var(--gold-light);
    font-size: 1.25rem;
}

.admin-bots-filters {
    display: flex;
    gap: 0.5rem;
}

.admin-kind {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.admin-kind-player {
    background: rgba(70, 140, 90, 0.28);
    color: #b6e3c0;
}
.admin-kind-bot {
    background: rgba(90, 110, 160, 0.35);
    color: #b8c7ef;
}
.admin-kind-other {
    background: rgba(160, 140, 80, 0.28);
    color: #e6d6a0;
}
.admin-bots-filters .btn.is-active {
    border-color: rgba(224, 177, 72, 0.55);
    color: var(--gold-light);
    background: rgba(224, 177, 72, 0.12);
}

.page-admin .main-content.container:has(.admin-page) {
    max-width: 1180px;
}

.page-admin .main-content > .alert {
    max-width: 1180px;
}

.admin-page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.85rem 1.25rem;
    text-align: left;
    margin: 0 0 1.15rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.admin-page-head__text {
    min-width: 0;
    flex: 1 1 240px;
}

.admin-page-kicker {
    margin: 0 0 0.3rem;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-page-head h1 {
    font-family: var(--font-display);
    color: var(--gold-light);
    margin: 0 0 0.35rem;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    line-height: 1.2;
}

.admin-id {
    color: var(--muted);
    font-size: 0.72em;
    font-weight: 600;
}

.admin-page-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.85rem;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-page .admin-nav {
    justify-content: flex-start;
}

.admin-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-page .admin-toolbar,
.admin-page .admin-pagination,
.admin-page .admin-list-meta {
    justify-content: flex-start;
    text-align: left;
}

.admin-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.1rem;
}

.admin-jump a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(4, 14, 24, 0.45);
    color: var(--muted);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-jump a:hover {
    color: var(--gold-light);
    border-color: rgba(224, 177, 72, 0.45);
}

.admin-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 1.2rem 1.35rem;
    margin: 0 0 1.1rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.admin-card h2 {
    font-family: var(--font-display);
    color: var(--gold-light);
    font-size: 1.08rem;
    text-align: left;
    margin: 0 0 0.85rem;
}

.admin-card h3 {
    margin: 0 0 0.5rem;
    color: var(--gold);
    font-size: 0.85rem;
}

.admin-card > .admin-muted,
.admin-card__lead {
    text-align: left;
}

.admin-card--stack {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.admin-card h2 + .admin-card__lead {
    margin: -0.45rem 0 1rem;
}

.admin-card__lead {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.admin-card__body {
    flex: 1 1 auto;
}

.admin-card__foot {
    margin-top: auto;
    padding-top: 1rem;
}

.admin-muted--pad {
    margin-top: 0.85rem;
}

.admin-card--epic {
    border-color: rgba(163, 53, 238, 0.45);
    background:
        linear-gradient(180deg, rgba(90, 24, 120, 0.22), rgba(8, 14, 22, 0.4)),
        var(--panel);
}

.admin-special-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem 1.25rem;
    align-items: end;
}

.admin-special-item__text {
    display: grid;
    gap: 0.2rem;
}

.admin-special-item__text span {
    color: var(--muted);
    font-size: 0.82rem;
}

.admin-special-item__text p {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0 0 1.1rem;
}

.admin-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 96px;
    padding: 0.9rem 0.7rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
}

a.admin-stat:hover {
    border-color: rgba(224, 177, 72, 0.45);
}

.admin-stat .num {
    font-family: var(--font-display);
    font-size: 1.65rem;
    color: var(--gold-light);
    line-height: 1.1;
}

.admin-stat .lbl {
    color: var(--muted);
    font-size: 0.8rem;
}

.admin-status-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 700;
}

.admin-status-pill.is-on {
    color: #86efac;
    border-color: rgba(61, 204, 110, 0.4);
    background: rgba(61, 204, 110, 0.12);
}

.admin-status-pill.is-off {
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.12);
}

.admin-btn-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.admin-announce-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 0.75rem 1rem;
}

.admin-announce-form .admin-search {
    min-width: 0;
    width: 100%;
}

.admin-announce-form textarea {
    width: 100%;
    min-height: 88px;
    padding: 0.65rem 0.85rem;
    background: rgba(16, 8, 6, 0.85);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    resize: vertical;
}

.admin-announce-form .btn,
.admin-announce-form button {
    min-width: 168px;
    min-height: 48px;
}

.admin-search-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.admin-mini-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.admin-mini-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.7rem;
    align-items: baseline;
}

.admin-copy-row {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    min-width: 220px;
}

.admin-copy-row input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.45rem 0.6rem;
    font-size: 0.75rem;
    background: rgba(16, 8, 6, 0.85);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
}

.admin-pay-form .form-group input,
.admin-pay-form .form-group select {
    max-width: 420px;
}

.admin-meta-grid--tight {
    margin-top: 0.85rem;
}

.admin-account-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
    gap: 1.15rem;
    margin-bottom: 1.15rem;
    align-items: stretch;
}

.admin-account-grid--equal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-account-grid > .admin-card {
    margin-bottom: 0;
}

.admin-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.35rem;
    margin: 0;
}

.admin-meta-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-fn-list {
    display: grid;
    gap: 0.75rem;
}

.admin-fn {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(168px, auto);
    gap: 0.65rem 1rem;
    align-items: center;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(4, 14, 24, 0.38);
}

.admin-fn__text h3 {
    margin: 0 0 0.25rem;
    color: var(--gold-light);
    font-size: 0.95rem;
}

.admin-fn__text p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.admin-fn form {
    margin: 0;
    justify-self: end;
}

.admin-fn .btn,
.admin-fn button {
    min-width: 196px;
    min-height: 44px;
    width: 100%;
}

.admin-meta-grid__wide {
    grid-column: 1 / -1;
}

.admin-meta-grid dt {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-meta-grid dd {
    margin: 0.2rem 0 0;
    color: var(--text);
    word-break: break-word;
}

.admin-actions-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
}

.admin-grant-form--compact {
    justify-content: flex-start;
    margin-top: 0;
}

.admin-local-tabs {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1rem;
}

.admin-local-tabs .btn.is-active,
.admin-page .admin-local-tabs .btn.is-active {
    border-color: rgba(224, 177, 72, 0.55);
    color: var(--gold-light);
    background: rgba(224, 177, 72, 0.12);
}

.admin-page .admin-grant-form {
    justify-content: flex-start;
}

.admin-empty {
    color: var(--muted);
    text-align: center;
    padding: 1.5rem 1rem;
}

.admin-owner {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    text-decoration: none;
    color: inherit;
}

.admin-owner:hover .admin-owner-name {
    color: var(--ice-bright);
}

.admin-owner-name {
    font-weight: 700;
    color: var(--gold-light);
}

.admin-owner-id {
    font-size: 0.75rem;
    color: var(--muted);
}

.admin-badge {
    display: inline-block;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: rgba(160, 140, 80, 0.22);
    color: #e6d6a0;
    border: 1px solid rgba(230, 214, 160, 0.22);
}

.admin-badge--hc {
    background: rgba(160, 40, 40, 0.28);
    color: #ffb4b4;
    border-color: rgba(255, 120, 120, 0.28);
}

.admin-badge--danger {
    background: rgba(160, 40, 40, 0.28);
    color: #ffb4b4;
}

.admin-badge--on {
    background: rgba(61, 204, 110, 0.16);
    color: #86efac;
    border-color: rgba(61, 204, 110, 0.28);
}

@media (max-width: 860px) {
    .admin-account-grid,
    .admin-meta-grid,
    .admin-special-item,
    .admin-search-split,
    .admin-stat-grid {
        grid-template-columns: 1fr;
    }

    .admin-meta-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

.admin-log-pre {
    font-size: 0.8rem;
    color: var(--muted);
    overflow: auto;
    white-space: pre-wrap;
}

/* Мобильное меню — скрыто на десктопе и когда закрыто */
@media (min-width: 961px) {
    .mobile-menu,
    .mobile-overlay {
        display: none !important;
    }
}

.mobile-menu[hidden],
.mobile-overlay[hidden] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Компактная шапка на средних экранах (админ/кабинет — больше кнопок) */
@media (max-width: 1240px) and (min-width: 961px) {
    .header-wrap {
        column-gap: 0.85rem;
        padding: 0 1rem;
    }

    .nav-main a {
        font-size: 0.72rem;
        padding: 0.45rem 0.5rem;
        letter-spacing: 0.04em;
    }

    .online-label {
        display: none;
    }

    .btn-header-play,
    .btn-header-login {
        font-size: 0.72rem;
        padding: 0.45rem 0.75rem;
    }

    .addon-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 960px) {
    :root { --header-h: 64px; }

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

    .cabinet-split {
        grid-template-columns: 1fr;
    }

    .header-wrap {
        display: flex;
        padding: 0 1rem;
        gap: 0.75rem;
    }

    .nav-main {
        min-width: 0;
    }

    .header-actions {
        margin-left: auto;
    }

    .brand-lockup {
        height: 54px;
        max-width: min(240px, 56vw);
    }

    .brand-emblem {
        height: 44px;
    }

    .brand-logo {
        height: 44px;
    }

    .brand-title-eyebrow {
        font-size: 0.48rem;
        letter-spacing: 0.16em;
    }

    .brand-title-main,
    .brand-title-sub {
        font-size: 0.82rem;
    }

    .brand-title-sub {
        letter-spacing: 0.06em;
    }

    .brand-name {
        font-size: 0.9rem;
        letter-spacing: 0.02em;
        max-width: none;
    }

    .brand-icon {
        width: 32px !important;
        height: 32px !important;
    }

    .header-center,
    .nav-main,
    .header-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    body.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    body.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-toggle span {
        transition: transform 0.2s, opacity 0.2s;
    }

    .mobile-overlay {
        display: block !important;
        position: fixed;
        inset: 0;
        top: var(--header-h);
        background: rgba(0, 0, 0, 0.65);
        z-index: 150;
        backdrop-filter: blur(2px);
    }

    .mobile-overlay[hidden] {
        display: none !important;
    }

    .mobile-menu {
        display: block !important;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        z-index: 160;
        background: rgba(5, 8, 13, 0.98);
        border-bottom: 1px solid var(--border);
        padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.nav-open .mobile-menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    body.nav-open .mobile-menu:not([hidden]) {
        display: block !important;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .mobile-nav a {
        display: block;
        padding: 0.85rem 1rem;
        color: rgba(226, 244, 251, 0.85);
        text-decoration: none;
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 0.92rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        border-radius: var(--radius-sm);
        border: 1px solid transparent;
        min-height: 44px;
    }

    .mobile-nav a:active,
    .mobile-nav a:hover {
        background: rgba(224, 177, 72, 0.1);
        border-color: rgba(224, 177, 72, 0.18);
        color: #fff;
    }

    .mobile-nav a.active {
        background: rgba(224, 177, 72, 0.14);
        border-color: rgba(224, 177, 72, 0.28);
        color: #fff;
        box-shadow: inset 3px 0 0 #e0b148;
    }

    .mobile-menu-footer {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .online-badge--mobile {
        justify-content: center;
        width: 100%;
    }

    .btn-header-play--block {
        display: flex !important;
        justify-content: center;
        width: 100%;
        padding: 0.85rem;
        font-size: 0.9rem;
        min-height: 48px;
    }

    .hero-grid {
        max-width: 100%;
        justify-content: center;
    }

    .hero-panel {
        max-width: 420px;
        width: 100%;
    }

    .home-hero {
        min-height: auto;
        padding: calc(var(--header-h) + 1.25rem) 1rem 3.5rem;
        align-items: center;
    }

    .hero-copy {
        margin-left: auto;
        margin-right: auto;
        max-width: var(--hero-stack);
        width: 100%;
        text-align: center;
    }

    .hero-eyebrow,
    .hero-title,
    .hero-brand-block,
    .wotlk-eyebrow,
    .wotlk-title,
    .hero-lead,
    .hero-note {
        text-align: center;
    }

    .hero-brand-block {
        align-items: stretch;
    }

    .hero-name {
        display: block;
        width: 100%;
    }

    .hero-name-img {
        object-position: center;
        width: 100%;
        max-height: none;
    }

    .hero-lead {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: wrap;
    }

    .hero-cta > a,
    .btn-cta-gold,
    .btn-cta-outline {
        width: 100%;
        max-width: none;
        justify-content: center;
    }

    .realm-card {
        text-align: center;
    }

    .realm-card-status {
        justify-content: center;
    }

    .realm-card-stats li {
        justify-content: center;
        gap: 0.35rem;
    }

    .realm-card--shot {
        width: min(360px, 100%);
    }

    .realm-shot-name-text {
        font-size: 1.35rem;
    }

    .realm-shot-metric-value {
        font-size: 1.2rem;
    }

    .realm-shot-metric-label {
        font-size: 0.64rem;
    }

    .realm-shot-online {
        font-size: 0.82rem;
        padding: 0.36rem 0.82rem 0.36rem 0.62rem;
        min-height: 1.9rem;
        gap: 0.4rem;
    }

    .realm-v4-online-dot {
        width: 10px;
        height: 10px;
    }

    .realm-shot-btn {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }

    .feature-card {
        text-align: center;
    }

    .feature-icon {
        display: block;
    }

    .feature-icon-img,
    .feature-icon-svg {
        margin-left: auto;
        margin-right: auto;
    }

    .feature-icon-img {
        margin-left: auto;
        margin-right: auto;
    }

    .home-bottom-cta {
        align-items: center;
    }

    .home-bottom-cta .btn-cta-gold,
    .home-bottom-cta .btn-cta-outline {
        width: 100%;
        max-width: 340px;
    }

    .wow-panel {
        text-align: center;
    }

    .wow-panel .btn,
    .wow-panel .btn-primary {
        margin-left: auto;
        margin-right: auto;
    }

    .wow-panel .card {
        text-align: center;
    }

    .wow-panel .card .btn,
    .wow-panel .card .btn-primary {
        display: inline-flex;
    }

    .hero-title {
        font-size: 0.92rem;
        letter-spacing: 0.16em;
    }

    .hero-eyebrow,
    .wotlk-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.16em;
    }

    .hero-lead {
        font-size: 0.94rem;
    }

    .hero-scroll {
        display: none;
    }

    .home-section {
        padding: 3rem 1rem;
    }

    .section-head {
        margin-bottom: 2rem;
    }

    .section-head h2 {
        font-size: 1.5rem;
    }

    .feature-grid,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .home-bottom-cta {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .home-bottom-cta .btn-cta-gold,
    .home-bottom-cta .btn-cta-outline {
        width: 100%;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .main-content {
        padding-top: calc(var(--header-h) + 1.25rem);
        padding-bottom: 3rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .wow-panel {
        padding: 1.25rem 1rem;
        border-radius: 10px;
    }

    .wow-panel h1 {
        font-size: 1.35rem;
    }

    .table-scroll,
    .admin-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -0.25rem;
        padding-bottom: 0.25rem;
    }

    table.admin-table {
        font-size: 0.8rem;
        min-width: 520px;
    }

    .admin-nav a {
        flex: 1 1 auto;
        text-align: center;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

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

    .addon-card {
        text-align: center;
    }

    .addon-card-head {
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .site-footer {
        padding: 1.5rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
    }
}

@media (max-width: 600px) {
    .addon-grid {
        grid-template-columns: 1fr;
    }

    .btn-cta-gold,
    .btn-cta-outline {
        min-height: 48px;
        padding: 0.9rem 1rem;
    }

    .btn-realm-join,
    .btn,
    .btn-primary {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .auth-card {
        padding: 1.65rem 1.25rem 1.4rem;
    }

    .auth-card-title {
        font-size: 1.45rem;
    }

    .auth-form .form-group input {
        font-size: 16px;
        min-height: 48px;
    }

    .btn-auth-submit {
        min-height: 48px;
    }

    .cabinet-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .cabinet-form-row {
        grid-template-columns: 1fr;
    }

    .cabinet-dl > div {
        grid-template-columns: 1fr;
        gap: 0.12rem;
        padding: 0.4rem 0;
    }

    .cabinet-hero-top {
        flex-direction: column;
        align-items: stretch;
    }

    .cabinet-hero-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .cabinet-bonus {
        flex-direction: column;
        align-items: stretch;
        padding: 0.7rem 0.95rem 0.8rem !important;
    }

    .cabinet-bonus-foot {
        width: 100%;
        align-items: stretch;
    }

    .cabinet-bonus-hint {
        text-align: left;
    }

    .btn-bonus {
        width: 100%;
    }

    .cabinet-stat {
        padding: 0.65rem 0.4rem;
    }

    .cabinet-stat-label {
        font-size: 0.62rem;
        letter-spacing: 0.04em;
    }

    .cabinet-stat-value {
        font-size: 0.88rem;
    }

    .cabinet-hero-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .cabinet-hero-actions .btn {
        flex: 1 1 9rem;
        max-width: 16rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* предотвращает zoom на iOS */
        min-height: 48px;
    }

    .realm-card-name {
        font-size: 1.35rem;
    }

    .realm-card-addr {
        word-break: break-all;
        font-size: 0.75rem;
    }

    pre {
        overflow-x: auto;
        font-size: 0.75rem;
    }
}

@media (max-width: 380px) {
    .brand-lockup {
        height: 44px;
        max-width: min(180px, 58vw);
    }

    .brand-emblem { height: 38px; }
    .brand-logo { height: 38px; }
    .brand-title-main,
    .brand-title-sub { font-size: 0.68rem; }

    .brand-name {
        font-size: 0.78rem;
        max-width: none;
    }
}

/* ===== Realms picker (Выбор мира) ===== */
.realms-page {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 0.5rem 0 2rem;
}

.realms-panel {
    position: relative;
    padding: 2.5rem 1.75rem 1.75rem;
    background:
        linear-gradient(165deg, rgba(8, 18, 28, 0.94) 0%, rgba(4, 10, 18, 0.92) 100%);
    border: 1px solid rgba(224, 177, 72, 0.28);
    border-radius: 18px;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.55),
        0 0 48px rgba(224, 177, 72, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.realms-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(224, 177, 72, 0.14), transparent 55%);
}

.realms-panel-ornament {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: -0.5rem auto 1rem;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, rgba(224, 177, 72, 0.22), transparent 70%);
    box-shadow: 0 0 28px rgba(224, 177, 72, 0.22);
}

.realms-panel-ornament img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 12px rgba(224, 177, 72, 0.45));
}

.realms-head {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 1.75rem;
}

.realms-title {
    margin: 0 0 0.45rem;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-light);
    text-shadow: 0 0 28px rgba(224, 177, 72, 0.28);
}

.realms-sub {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.realms-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.realm-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 1rem 1.15rem;
    padding: 0.95rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(224, 177, 72, 0.14);
    background: rgba(4, 12, 20, 0.55);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, transform 0.15s;
}

.realm-row:hover {
    border-color: rgba(224, 177, 72, 0.32);
    background: rgba(8, 22, 34, 0.72);
}

.realm-row.is-selected {
    border-color: rgba(224, 177, 72, 0.55);
    background:
        linear-gradient(90deg, rgba(56, 169, 208, 0.16), rgba(8, 22, 34, 0.75) 55%);
    box-shadow:
        0 0 0 1px rgba(224, 177, 72, 0.18),
        0 0 28px rgba(224, 177, 72, 0.22);
}

.realm-row.is-soon,
.realm-row.is-disabled {
    opacity: 0.72;
}

.realm-row-mark {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 177, 72, 0.16), transparent 70%);
    flex-shrink: 0;
}

.realm-row-mark--hardcore {
    background: radial-gradient(circle, rgba(220, 60, 50, 0.28), transparent 72%);
    color: #f0c4a8;
    box-shadow: inset 0 0 0 1px rgba(220, 80, 60, 0.35);
}

.realm-row-skull,
.realm-row-skull-img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 70, 50, 0.45));
}

.realm-row-mark img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    mix-blend-mode: screen;
}

.realm-row-main { min-width: 0; }

.realm-row-titleline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.55rem;
    margin-bottom: 0.2rem;
}

.realm-row-name {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: #f2f8fc;
    letter-spacing: 0.02em;
}

.realm-row-rate {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--ice);
    border: 1px solid rgba(224, 177, 72, 0.35);
    background: rgba(224, 177, 72, 0.1);
}

.realm-row-badge {
    display: inline-flex;
    padding: 0.12rem 0.45rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a0c06;
    background: linear-gradient(180deg, #f6e2a8, #e0b148);
}

.realm-row-badge--hardcore {
    color: #fff5f0;
    letter-spacing: 0.1em;
    border: 1px solid rgba(255, 120, 90, 0.45);
    background: linear-gradient(180deg, #b23a2e, #6e1812);
    box-shadow: 0 0 10px rgba(180, 40, 30, 0.35);
}

.realm-row-blurb {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.9);
}

.realm-row-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.realm-row-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.realm-row-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #64748b;
}

.realm-row-status--online {
    color: #6ef0a2;
}

.realm-row-status--online .realm-row-status-dot {
    background: #3dcc6e;
    box-shadow: 0 0 10px rgba(61, 204, 110, 0.7);
}

.realm-row-status--offline,
.realm-row-status--soon {
    color: rgba(148, 163, 184, 0.95);
}

.realm-row-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(214, 230, 242, 0.85);
    font-size: 0.88rem;
    font-weight: 700;
    min-width: 3.2rem;
}

.realm-row-stat-ico {
    opacity: 0.7;
    flex-shrink: 0;
}

.realm-row-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    min-height: 42px;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    border: 1px solid rgba(246, 226, 168, 0.5);
    background: linear-gradient(180deg, #f6e2a8 0%, #e0b148 48%, #8a5410 100%);
    color: #1a0c06;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(224, 177, 72, 0.22);
    transition: transform 0.15s, filter 0.15s;
}

.realm-row-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.realm-row-btn--soon {
    background: rgba(4, 14, 24, 0.55);
    border-color: rgba(224, 177, 72, 0.22);
    color: rgba(186, 210, 226, 0.7);
    box-shadow: none;
    cursor: default;
}

.realms-foot {
    position: relative;
    z-index: 1;
    margin: 1.35rem 0 0;
    text-align: center;
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.55;
}

.realms-foot code {
    color: var(--ice);
    font-size: 0.9em;
}

@media (max-width: 820px) {
    .realm-row {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "mark main"
            "meta meta"
            "btn btn";
        gap: 0.75rem;
    }

    .realm-row-mark { grid-area: mark; }
    .realm-row-main { grid-area: main; }
    .realm-row-meta {
        grid-area: meta;
        justify-content: flex-start;
    }
    .realm-row-btn,
    .realm-row-btn--soon {
        grid-area: btn;
        width: 100%;
    }

    .realms-panel {
        padding: 2rem 1rem 1.25rem;
    }
}

/* ===== Download / launcher ===== */
.dl-page {
    text-align: center;
}

.dl-page > p {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

.dl-page .card {
    text-align: center;
    padding: 1.6rem 1.5rem 1.5rem;
}

.dl-page .card p {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.dl-page .btn,
.dl-page .btn-primary {
    margin-left: auto;
    margin-right: auto;
}

.dl-page .dl-card {
    margin: 1.5rem 0 1.25rem;
}

.dl-meta {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.dl-av {
    margin: 0;
}

.dl-av h3 {
    margin-bottom: 0.65rem;
}

.dl-av-ok {
    margin-top: 1.15rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border);
}

.dl-av-ok h4 {
    font-family: var(--font-display);
    color: var(--gold-light);
    font-size: 1.02rem;
    margin-bottom: 0.45rem;
}

.dl-av-ok p {
    max-width: 36rem;
}

.dl-av-grid {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin: 1.15rem auto 0;
    max-width: 42rem;
}

.dl-av-grid li {
    flex: 0 0 148px;
    width: 148px;
}

.dl-av-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    width: 100%;
    min-height: 92px;
    padding: 0.75rem 0.7rem;
    background: rgba(4, 14, 24, 0.55);
    border: 1px solid rgba(61, 204, 110, 0.22);
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

a.dl-av-item:hover {
    border-color: rgba(61, 204, 110, 0.45);
    transform: translateY(-1px);
}

.dl-av-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.7rem;
    height: 1.15rem;
    padding: 0 0.3rem;
    margin-bottom: 0.1rem;
    border-radius: 4px;
    background: rgba(61, 204, 110, 0.16);
    color: #86efac;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.dl-av-name {
    color: var(--gold-light);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.25;
}

.dl-av-status {
    color: #86efac;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ===== Homepage 2026: features, shots, modes ===== */
.site-bg picture {
    position: absolute;
    inset: 0;
    display: block;
}

.hero-pills {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin: 0 0 1.15rem;
    padding: 0;
    width: 100%;
}

.hero-pills li {
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(224, 177, 72, 0.28);
    background: rgba(16, 8, 6, 0.45);
    color: #f6e2a8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-section--wide {
    max-width: 1180px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

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

.why-card {
    padding: 1.4rem 1.35rem 1.3rem;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
}

.why-kicker {
    display: inline-block;
    margin: 0 0 0.45rem;
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.why-card h3 {
    font-family: var(--font-display);
    color: var(--gold-light);
    font-size: 1.12rem;
    margin: 0 0 0.55rem;
    line-height: 1.3;
}

.why-card p {
    color: var(--muted);
    font-size: 0.94rem;
    margin: 0;
    line-height: 1.55;
}

.shot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.shot-card {
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--panel-border);
    background: rgba(16, 8, 6, 0.72);
}

.shot-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.shot-card figcaption {
    padding: 0.85rem 1rem 1rem;
}

.shot-card strong {
    display: block;
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 1.02rem;
    margin-bottom: 0.2rem;
}

.shot-card span {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.shot-note {
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    margin: 1.15rem 0 0;
}

.mode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
}

.mode-card {
    padding: 1.5rem 1.4rem 1.35rem;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
}

.mode-card--hc {
    border-color: rgba(180, 70, 55, 0.4);
    background: linear-gradient(180deg, rgba(42, 12, 12, 0.55), rgba(8, 14, 22, 0.88));
}

.mode-kicker {
    margin: 0 0 0.35rem;
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mode-card--hc .mode-kicker {
    color: #f0a090;
}

.mode-card h3 {
    font-family: var(--font-display);
    color: #fff;
    font-size: 1.25rem;
    margin: 0 0 0.85rem;
}

.mode-card ul {
    margin: 0;
    padding: 0 0 0 1.1rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.mode-card li + li {
    margin-top: 0.35rem;
}

.mode-foot {
    text-align: center;
    color: var(--muted);
    margin: 1.25rem 0 0;
    font-size: 0.92rem;
}

.mode-foot .is-on { color: var(--green); }
.mode-foot .is-off { color: #ef8888; }

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-nav-jump {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0 0 1rem;
}

.admin-nav-jump span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
}

.admin-nav-jump select {
    width: 100%;
    min-height: 48px;
    padding: 0.65rem 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--panel-border);
    background: rgba(4, 14, 24, 0.85);
    color: var(--text);
    font-size: 16px;
}

.admin-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.admin-actions-row form {
    margin: 0;
}

.pay-page { max-width: 760px; margin: 0 auto; }
.pay-page .pay-head { text-align: center; }
.pay-rate { color: var(--gold); margin: 0.25rem 0 1rem; }
.pay-acc { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; margin-bottom: 1rem; }
.pay-acc div { text-align: center; }
.pay-acc span { display: block; font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.pay-acc strong { font-size: 1.15rem; color: var(--gold-light); }
.pay-sums { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.pay-sum {
    padding: 0.55rem 0.9rem;
    min-height: 44px;
    border: 1px solid rgba(224, 177, 72, 0.35);
    border-radius: 6px;
    background: rgba(4, 14, 24, 0.7);
    color: var(--text);
    cursor: pointer;
}
.pay-sum.is-active {
    border-color: var(--gold);
    background: rgba(224, 177, 72, 0.16);
    color: #fff;
}
.pay-methods { display: grid; gap: 0.6rem; margin: 0.75rem 0 1rem; }
.pay-method {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 0.9rem;
    min-height: 52px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    background: rgba(4, 14, 24, 0.6);
    cursor: pointer;
}
.pay-method.is-active { border-color: var(--gold); }
.pay-method b { color: var(--gold-light); }
.pay-method em { font-style: normal; color: var(--muted); font-size: 0.85rem; }
.pay-total { font-size: 1.05rem; color: var(--text); margin-bottom: 0.75rem; }
.pay-total b { color: var(--gold-light); }
.pay-note { color: var(--muted); font-size: 0.88rem; }
.pay-amount-input { max-width: 220px; width: 100%; }

@media (max-width: 960px) {
    .why-grid,
    .shot-grid,
    .mode-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-pills {
        justify-content: center;
    }

    .home-section {
        padding: 3.25rem 1rem;
    }

    .shot-card figcaption {
        padding: 0.75rem 0.9rem 0.9rem;
    }

    .page-admin .main-content.container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .admin-toolbar,
    .admin-create-form,
    .admin-grant-form,
    .admin-bots-toolbar,
    .admin-bots-filters,
    .admin-announce-form,
    .admin-btn-row,
    .admin-special-item,
    .admin-copy-row,
    .admin-page-head {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .admin-special-item {
        display: flex;
    }

    .admin-jump a {
        flex: 1 1 calc(50% - 0.45rem);
        justify-content: center;
        min-height: 40px;
    }

    .admin-announce-form {
        grid-template-columns: 1fr;
    }

    .admin-btn-row .btn,
    .admin-btn-row .btn-sm,
    .admin-announce-form .btn,
    .admin-special-item .btn {
        width: 100%;
        min-height: 48px;
    }

    .admin-copy-row {
        flex-direction: column;
        align-items: stretch;
        min-width: 0;
    }

    .admin-copy-row .btn {
        width: 100%;
        min-height: 44px;
    }

    .admin-search,
    .admin-search input,
    .admin-grant-form .admin-search select,
    .admin-grant-form .admin-search input[type="number"],
    .admin-grant-form .admin-search input[type="text"] {
        width: 100%;
        max-width: none;
    }

    .admin-local-tabs {
        justify-content: stretch;
    }

    .admin-local-tabs .btn {
        flex: 1 1 calc(50% - 0.5rem);
        min-height: 44px;
        text-align: center;
    }

    .admin-actions-row {
        flex-direction: column;
    }

    .admin-actions-row .btn,
    .admin-actions-row button {
        width: 100%;
        min-height: 48px;
    }

    .admin-fn {
        grid-template-columns: 1fr;
    }

    .admin-fn form,
    .admin-fn .btn,
    .admin-fn button {
        width: 100%;
        justify-self: stretch;
    }

    .pay-sums {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pay-sum {
        width: 100%;
    }

    .pay-amount-input {
        max-width: none;
        min-height: 48px;
        font-size: 16px;
    }

    .pay-page .btn,
    .pay-page .btn-primary {
        width: 100%;
        min-height: 48px;
    }
}

@media (max-width: 700px) {
    .admin-nav-jump {
        display: flex;
    }

    .admin-nav-jump + .admin-nav {
        display: none;
    }

    .page-admin h1 {
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .admin-page-head h1 {
        font-size: 1.4rem;
    }

    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .admin-stat {
        min-height: 84px;
        padding: 0.7rem 0.45rem;
    }

    .admin-stat .num {
        font-size: 1.35rem;
    }

    .admin-stat .lbl {
        font-size: 0.72rem;
    }

    .admin-actions-cell .btn,
    .admin-actions-cell .btn-sm {
        min-height: 40px;
        width: auto;
        display: inline-flex;
    }

    .addon-filters {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.4rem;
        padding-bottom: 0.35rem;
    }

    .addon-filter {
        flex: 0 0 auto;
        min-height: 40px;
    }
}

@media (max-width: 600px) {
    .hero-pills li {
        font-size: 0.64rem;
        padding: 0.28rem 0.55rem;
    }

    .why-card,
    .mode-card {
        padding: 1.15rem 1rem 1.1rem;
    }

    .why-grid--4 {
        grid-template-columns: 1fr;
    }

    .dl-av-grid li {
        flex: 1 1 calc(50% - 0.65rem);
        width: auto;
        min-width: 0;
    }

    .page-admin .admin-actions-cell .btn,
    .page-admin .admin-actions-cell .btn-sm,
    .page-admin .admin-local-tabs .btn-sm {
        min-height: 44px;
        width: auto;
        display: inline-flex;
        flex: 1 1 auto;
    }

    .page-admin .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-meta-grid--3 {
        grid-template-columns: 1fr;
    }
}

/* ===== Ignis / CoA lockup ===== */
.brand--coa {
    gap: 0;
    align-items: center;
}
.brand--coa .brand-name {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(180deg, #fff6d8 0%, #e0b148 48%, #8a5410 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(224, 177, 72, 0.4));
    transition: filter 0.2s ease;
}
.brand--coa:hover .brand-name {
    filter: drop-shadow(0 0 16px rgba(224, 177, 72, 0.55));
}
.brand-crest {
    display: none;
}
.hero-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    line-height: 1;
}
.hero-crest {
    display: block;
    width: min(340px, 56vw);
    height: auto;
    margin: 0 auto 0.35rem;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 18px rgba(224, 177, 72, 0.4));
}
.hero-particles {
    display: none !important;
}
.btn-header-login {
    border-color: rgba(224, 177, 72, 0.42);
    color: #f6e2a8;
    background: rgba(16, 8, 6, 0.4);
}
.shot-card img {
    object-fit: cover;
    background: #1a0c08;
}
.auth-card-icon {
    border-radius: 8px;
    background: rgba(16, 8, 6, 0.4);
}
.page-inner .site-bg::before {
    content: none;
    background: none;
}
@media (max-width: 720px) {
    .brand--coa .brand-name { font-size: 1.22rem; letter-spacing: 0.16em; }
    .hero-crest { width: min(240px, 72vw); }
}

/* ===== Landing 2026: warm stone / gold / blood ===== */
.hero-headline {
    margin: 0.15rem 0 0;
    font-family: var(--font-brand);
    font-size: clamp(1.65rem, 4.4vw, 2.85rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--gold-light);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65), 0 0 28px rgba(255, 140, 0, 0.22);
}

.hero-brand-block {
    gap: 0.85rem;
}

.section-kicker {
    margin: 0 0 0.55rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.section-stat {
    margin: 1.15rem 0 0;
    color: var(--gold-light);
    font-family: var(--font-brand);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

.section-stat strong {
    color: var(--gold-light);
    font-size: 1.2em;
}

.section-foot {
    margin: 1.75rem auto 0;
    max-width: 46rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.why-card {
    border-radius: var(--radius-lg);
    background: rgba(26, 26, 26, 0.82);
    border: 1px solid rgba(212, 175, 55, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 215, 0, 0.08);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.why-card:hover {
    border-color: var(--gold-dark);
    box-shadow: 0 0 18px rgba(255, 140, 0, 0.18), inset 0 1px 0 rgba(255, 215, 0, 0.12);
}

.path-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.path-card {
    padding: 1.6rem 1.5rem 1.4rem;
    background: rgba(26, 26, 26, 0.86);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 1px 0 rgba(255, 215, 0, 0.08);
}

.path-card h3 {
    font-family: var(--font-display);
    color: var(--gold-light);
    font-size: 1.28rem;
    margin: 0 0 0.65rem;
}

.path-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0 0 0.85rem;
    line-height: 1.55;
}

.path-tagline {
    margin: 0 !important;
    color: var(--gold) !important;
    font-family: var(--font-brand);
    font-style: italic;
    letter-spacing: 0.02em;
}

.path-card--hard {
    border-color: rgba(122, 17, 13, 0.65);
    background:
        linear-gradient(180deg, rgba(122, 17, 13, 0.18) 0%, rgba(26, 26, 26, 0.9) 42%),
        rgba(26, 26, 26, 0.86);
}

.home-section--wide .section-head p {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.step-num {
    border: 1px solid var(--gold);
    box-shadow: inset 0 1px 0 rgba(255, 215, 0, 0.2);
}

.footer-copy {
    line-height: 1.55;
    max-width: 38rem;
    margin: 0 auto;
}

@media (max-width: 800px) {
    .path-grid { grid-template-columns: 1fr; }
    .hero-headline { font-size: clamp(1.45rem, 7vw, 2.1rem); }
}



