/* ==========================================================================
   Rune Nova — Main Stylesheet v2
   Dense MMORPG Portal · Dark Fantasy · Ice-Blue Neon · OSRS Style
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --rn-bg-deep: #040810;
    --rn-bg-top: #080e1c;
    --rn-bg-mid: #0a1220;
    --rn-bg-card: rgba(8, 16, 32, 0.85);
    --rn-bg-card-solid: #0b1528;
    --rn-border: rgba(40, 120, 200, 0.15);
    --rn-border-hover: rgba(60, 180, 255, 0.35);
    --rn-ice: #3cb4ff;
    --rn-ice-glow: #78dcff;
    --rn-ice-deep: #14508c;
    --rn-ice-dim: rgba(60, 180, 255, 0.06);
    --rn-silver: #7a8da6;
    --rn-silver-light: #a8b8cc;
    --rn-gold: #d4a832;
    --rn-gold-light: #f0c850;
    --rn-text: #d8e4f0;
    --rn-text-muted: #6a7d96;
    --rn-text-bright: #ffffff;
    --rn-danger: #ff6b6b;
    --rn-success: #4ade80;
    --rn-warning: #f0a830;
    --rn-discord: #5865f2;
    --rn-font-display: 'Cinzel', Georgia, serif;
    --rn-font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --rn-radius: 6px;
    --rn-radius-lg: 10px;
    --rn-container: 1400px;
    --rn-header-h: 72px;
    --rn-gap: 16px;
    --rn-space-sm: 12px;
    --rn-space-md: 24px;
    --rn-space-lg: 32px;
    --rn-transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.rn-body {
    min-height: 100vh;
    font-family: var(--rn-font-body);
    font-size: 14px;
    line-height: 1.55;
    color: var(--rn-text);
    background: linear-gradient(180deg, var(--rn-bg-top) 0%, var(--rn-bg-deep) 100%);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rn-ice-glow); text-decoration: none; transition: color var(--rn-transition); }
a:hover { color: #fff; }
ul { list-style: none; }

.rn-container {
    width: min(100% - 2rem, var(--rn-container));
    max-width: var(--rn-container);
    margin-inline: auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER — single row, same container width as main
   ═══════════════════════════════════════════════════════════════════════════ */
.rn-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 10, 18, 0.98);
    border-bottom: 1px solid var(--rn-border);
}
.rn-header__inner {
    display: grid;
    grid-template-columns: minmax(140px, 200px) minmax(0, 1fr) auto;
    align-items: center;
    column-gap: var(--rn-gap);
    height: var(--rn-header-h);
}

/* Logo */
.rn-logo {
    display: flex;
    align-items: center;
    justify-self: start;
    color: inherit;
    line-height: 0;
}
.rn-logo:hover { color: inherit; opacity: 0.92; }
.rn-logo__brand {
    height: clamp(44px, 5.5vw, 56px);
    width: auto;
    max-width: none;
    object-fit: contain;
    transform: translateZ(0);
    transform-origin: left center;
    image-rendering: auto;
}
@media (max-width: 768px) {
    .rn-logo__brand { height: 40px; }
}
@media (max-width: 480px) {
    .rn-logo__brand { height: 36px; }
}

/* Navigation */
.rn-nav {
    justify-self: center;
    grid-column: 2;
    display: flex;
    justify-content: center;
    min-width: 0;
}
.rn-nav__list {
    display: flex;
    gap: 0;
}
.rn-nav__link {
    display: block;
    padding: 0.45rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--rn-silver-light);
    transition: color var(--rn-transition);
    position: relative;
}
.rn-nav__link:hover,
.rn-nav__link--active {
    color: var(--rn-ice-glow);
}
.rn-nav__link--active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 2px;
    background: var(--rn-ice);
}

/* Stats bar */
.rn-stats-bar {
    display: flex;
    gap: 0.45rem;
    justify-self: end;
    grid-column: 3;
    flex-shrink: 0;
}
.rn-stat {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.55rem;
    background: rgba(8, 16, 32, 0.6);
    border: 1px solid rgba(60, 180, 255, 0.1);
    border-radius: var(--rn-radius);
}
.rn-stat__icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(60, 180, 255, 0.05);
    border: 1px solid rgba(60, 180, 255, 0.08);
    flex-shrink: 0;
}
.rn-stat__icon--online,
.rn-stat__icon--discord,
.rn-stat__icon--uptime { box-shadow: none; }
.rn-stat__info { line-height: 1.15; }
.rn-stat__value {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--rn-text-bright);
}
.rn-stat__label {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rn-text-muted);
}

/* Hamburger */
.rn-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
    background: transparent;
    border: 1px solid var(--rn-border);
    border-radius: 4px;
    cursor: pointer;
    grid-column: 3;
    justify-self: end;
}
.rn-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--rn-ice-glow);
}

@media (max-width: 1100px) {
    .rn-header__inner {
        grid-template-columns: 1fr auto;
    }
    .rn-nav-toggle { display: flex; }
    .rn-nav {
        position: fixed;
        top: var(--rn-header-h);
        left: 0; right: 0;
        background: rgba(6,10,18,0.98);
        border-bottom: 1px solid var(--rn-border);
        padding: 1rem;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 200;
        grid-column: 1 / -1;
        justify-self: stretch;
    }
    .rn-nav.rn-nav--open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .rn-nav__list { flex-direction: column; gap: 0.25rem; }
    .rn-nav__link { padding: 0.65rem 1rem; font-size: 0.85rem; }
    .rn-stats-bar { display: none; }
}
@media (max-width: 768px) {
    .rn-stats-bar { gap: 0.75rem; }
    .rn-stat__label { display: none; }
}
@media (max-width: 480px) {
    .rn-stats-bar { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO — two columns inside shared container (no absolute overlays)
   ═══════════════════════════════════════════════════════════════════════════ */
.rn-hero {
    padding: var(--rn-space-md) 0;
    background: var(--rn-bg-top);
    border-bottom: 1px solid var(--rn-border);
}
.rn-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: var(--rn-space-lg);
    align-items: center;
}
.rn-hero__copy {
    min-width: 0;
}
.rn-hero__logo {
    display: inline-block;
    line-height: 0;
    margin-bottom: var(--rn-space-md);
}
.rn-hero__logo img {
    height: 88px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.rn-hero__pretitle {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--rn-ice);
    margin-bottom: 0.65rem;
    font-weight: 600;
}
.rn-hero__title {
    font-family: var(--rn-font-display);
    font-size: clamp(1.85rem, 3.2vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    color: var(--rn-text-bright);
    text-transform: uppercase;
}
.rn-hero__title em {
    font-style: normal;
    display: block;
    color: var(--rn-ice-glow);
}
.rn-hero__desc {
    font-size: 0.88rem;
    color: var(--rn-silver-light);
    margin-bottom: 1.25rem;
    line-height: 1.65;
}
.rn-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.rn-btn--hero {
    flex: 1 1 200px;
    max-width: 240px;
    flex-direction: row;
    gap: 0.6rem;
    padding: 0.75rem 1.15rem;
}
.rn-hero__art {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--rn-radius-lg);
    background: rgba(4, 8, 16, 0.6);
    border: 1px solid var(--rn-border);
    aspect-ratio: 644 / 260;
    max-height: 360px;
}
.rn-hero__world {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.rn-hero__art .rn-hero__crystal {
    position: absolute;
    bottom: 0;
    width: 26%;
    max-width: 110px;
    height: auto;
    pointer-events: none;
}
.rn-hero__crystal--left { left: 0; }
.rn-hero__crystal--right { right: 0; }
@media (max-width: 960px) {
    .rn-hero__grid {
        grid-template-columns: 1fr;
    }
    .rn-hero__art {
        max-height: 280px;
        order: -1;
    }
    .rn-btn--hero {
        flex: 1 1 100%;
        max-width: none;
    }
}
@media (max-width: 768px) {
    .rn-hero__logo img { height: 72px; }
}
.rn-btn__stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* Buttons */
.rn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    font-family: var(--rn-font-body);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--rn-radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--rn-transition);
    text-decoration: none;
    line-height: 1.3;
    position: relative;
    overflow: hidden;
}
.rn-btn--primary {
    color: #fff;
    background: linear-gradient(180deg, var(--rn-ice) 0%, var(--rn-ice-deep) 100%);
    border-color: rgba(120, 220, 255, 0.25);
}
.rn-btn--primary:hover {
    color: #fff;
    filter: brightness(1.06);
}
.rn-btn--outline {
    color: var(--rn-silver-light);
    background: rgba(255,255,255,0.04);
    border-color: rgba(120,220,255,0.2);
}
.rn-btn--outline:hover {
    color: #fff;
    background: rgba(60,180,255,0.08);
    border-color: var(--rn-ice);
}
.rn-btn--discord {
    color: #fff;
    background: var(--rn-discord);
    border-color: rgba(255,255,255,0.1);
}
.rn-btn--discord:hover { color: #fff; background: #4752c4; }
.rn-btn--gold {
    color: var(--rn-bg-deep);
    background: linear-gradient(180deg, var(--rn-gold-light) 0%, var(--rn-gold) 100%);
    border-color: rgba(212,168,50,0.4);
    font-weight: 800;
}
.rn-btn--gold:hover { color: var(--rn-bg-deep); filter: brightness(1.1); }
.rn-btn--lg { padding: 0.85rem 2rem; font-size: 0.88rem; }
.rn-btn--sm { padding: 0.4rem 0.85rem; font-size: 0.7rem; }
.rn-btn--full { width: 100%; }
.rn-btn__sub {
    display: block;
    font-size: 0.6rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.7;
    margin-top: 1px;
}
.rn-btn--stacked {
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 1.75rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CARD SYSTEM — reference-matching panels
   ═══════════════════════════════════════════════════════════════════════════ */
.rn-card {
    background: var(--rn-bg-card);
    border: 1px solid var(--rn-border);
    border-radius: var(--rn-radius-lg);
    padding: 1.15rem;
    position: relative;
    transition: border-color var(--rn-transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.rn-card--premium::before,
.rn-card--premium::after,
.rn-card__shine {
    display: none;
}
.rn-card:hover {
    border-color: var(--rn-border-hover);
}
.rn-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(40,120,200,0.08);
}
.rn-card__title {
    font-family: var(--rn-font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--rn-text-bright);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.rn-card__title-icon {
    color: var(--rn-ice);
    font-size: 1rem;
}
.rn-card__action {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rn-ice);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.rn-card__action:hover { color: var(--rn-ice-glow); }

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN CONTENT GRID — 4 columns like reference
   ═══════════════════════════════════════════════════════════════════════════ */
.rn-portal {
    padding: var(--rn-space-md) 0 var(--rn-space-lg);
}
.rn-card--equal {
    display: flex;
    flex-direction: column;
    min-height: 420px;
    overflow: hidden;
}
.rn-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}
.rn-store-card__visual {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 300px;
    background: rgba(4, 8, 16, 0.45);
    border-radius: var(--rn-radius);
    border: 1px solid rgba(120, 220, 255, 0.1);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.rn-store-card__art {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
}
.rn-store-card__sparkle { display: none; }
.rn-store-card__desc {
    font-size: 0.78rem;
    color: var(--rn-text-muted);
    text-align: center;
    margin-bottom: 0.85rem;
    line-height: 1.5;
}
.rn-card--store .rn-card__body--center {
    justify-content: flex-start;
    padding-top: 0;
}
.rn-portal__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--rn-gap);
    align-items: stretch;
}
@media (max-width: 1100px) {
    .rn-portal__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .rn-portal__grid { grid-template-columns: 1fr; }
}
.rn-card__body--center {
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

/* ── News card ── */
.rn-news-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(40,120,200,0.06);
}
.rn-news-item:last-child { border-bottom: none; }
.rn-news-item__thumb {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 16, 32, 0.8);
    border: 1px solid rgba(120, 220, 255, 0.12);
    border-radius: var(--rn-radius);
}
.rn-news-item__title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--rn-ice-glow);
    line-height: 1.3;
    margin-bottom: 2px;
}
.rn-news-item__desc {
    font-size: 0.75rem;
    color: var(--rn-text-muted);
    line-height: 1.4;
}
.rn-news-item__date {
    font-size: 0.65rem;
    color: var(--rn-silver);
    margin-top: 2px;
}

/* ── Features card ── */
.rn-feat {
    display: flex;
    gap: 0.65rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(40,120,200,0.06);
}
.rn-feat:last-child { border-bottom: none; }
.rn-feat__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(60, 180, 255, 0.06);
    border: 1px solid rgba(60, 180, 255, 0.1);
    border-radius: 8px;
}
.rn-feat__title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--rn-ice-glow);
    margin-bottom: 2px;
}
.rn-feat__desc {
    font-size: 0.72rem;
    color: var(--rn-text-muted);
    line-height: 1.4;
}

/* ── Hiscores card ── */
.rn-hs-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.4rem;
    border-radius: var(--rn-radius);
    transition: background var(--rn-transition);
}
.rn-hs-row:hover { background: var(--rn-ice-dim); }
.rn-hs-row__rank {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
    border-radius: 4px;
    flex-shrink: 0;
}
.rn-hs-row__rank--1 { background: rgba(212,168,50,0.2); color: var(--rn-gold-light); border: 1px solid rgba(212,168,50,0.3); }
.rn-hs-row__rank--2 { background: rgba(192,192,192,0.1); color: #c0c0c0; border: 1px solid rgba(192,192,192,0.2); }
.rn-hs-row__rank--3 { background: rgba(205,127,50,0.12); color: #cd7f32; border: 1px solid rgba(205,127,50,0.2); }
.rn-hs-row__rank--def { background: rgba(60,180,255,0.06); color: var(--rn-silver); border: 1px solid rgba(60,180,255,0.08); }
.rn-hs-row__name {
    flex: 1;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--rn-text);
}
.rn-hs-row__xp {
    font-size: 0.78rem;
    color: var(--rn-text-muted);
    font-weight: 500;
    text-align: right;
}
.rn-hs-row__icon {
    font-size: 0.85rem;
    color: var(--rn-gold);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   UPDATE BANNER — lead row + 6 columns (reference grid)
   ═══════════════════════════════════════════════════════════════════════════ */
.rn-update-banner {
    margin: var(--rn-gap) 0;
}
.rn-update-banner .rn-card--update {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    overflow: hidden;
}
.rn-update__lead {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 140px;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(120, 220, 255, 0.08);
    background: rgba(12, 22, 42, 0.65);
    min-height: 160px;
}
.rn-update__lead-text {
    text-align: left;
    min-width: 0;
}
.rn-update__dragon-art {
    width: 100%;
    max-width: 130px;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}
.rn-update__dragon-head {
    width: 100%;
    max-width: 140px;
    height: auto;
    object-fit: contain;
    justify-self: end;
}
.rn-update__title {
    font-family: var(--rn-font-display);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--rn-text-bright);
    margin-bottom: 0.45rem;
    line-height: 1.1;
}
.rn-update__block {
    padding: 1rem 0.65rem;
    border-right: 1px solid rgba(120, 220, 255, 0.06);
    border-top: none;
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}
.rn-update__block:nth-child(7) { border-right: none; }
@media (max-width: 1100px) {
    .rn-update-banner .rn-card--update {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .rn-update__block { border-right: 1px solid rgba(120, 220, 255, 0.06); }
    .rn-update__block:nth-child(4),
    .rn-update__block:nth-child(7) { border-right: none; }
}
@media (max-width: 640px) {
    .rn-update-banner .rn-card--update {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .rn-update__lead {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .rn-update__lead-text { text-align: center; }
    .rn-update__art--left,
    .rn-update__art--right { display: none; }
    .rn-update__block { border-right: 1px solid rgba(120, 220, 255, 0.06); }
    .rn-update__block:nth-child(3),
    .rn-update__block:nth-child(5),
    .rn-update__block:nth-child(7) { border-right: none; }
}
.rn-update__block:hover {
    background: rgba(60, 180, 255, 0.04);
}
.rn-update__block-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.4rem;
    width: 44px;
    height: 44px;
    background: rgba(60, 180, 255, 0.06);
    border: 1px solid rgba(120, 220, 255, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}
.rn-card--update {
    background: var(--rn-bg-card);
    border-color: var(--rn-border);
}
.rn-update__art {
    display: flex;
    align-items: center;
    justify-content: center;
}
.rn-update__label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--rn-ice);
    margin-bottom: 0.35rem;
    font-weight: 600;
}
.rn-update__desc {
    font-size: 0.78rem;
    color: var(--rn-text-muted);
    line-height: 1.5;
    margin-bottom: 0.65rem;
}
.rn-update__block-title {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--rn-ice-glow);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.rn-update__block-desc {
    font-size: 0.62rem;
    color: var(--rn-text-muted);
    line-height: 1.35;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DISCORD SECTION — Large community CTA (reference)
   ═══════════════════════════════════════════════════════════════════════════ */
.rn-discord-section {
    position: relative;
    z-index: 2;
    padding: calc(var(--rn-gap) * 1.5) 0 calc(var(--rn-gap) * 2);
}
.rn-discord-panel {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 320px);
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem 1.75rem;
    background: rgba(8, 16, 32, 0.92) !important;
    border-color: rgba(88, 101, 242, 0.2) !important;
    min-height: 210px;
}
.rn-discord-panel__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.rn-emblem--discord-hero {
    width: 168px;
    height: 168px;
}
.rn-discord-panel__glow { display: none; }
.rn-discord-panel__label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--rn-discord);
    font-weight: 600;
    margin-bottom: 0.35rem;
    display: block;
}
.rn-discord-panel__desc {
    font-size: 0.88rem;
    color: var(--rn-text-muted);
    max-width: 480px;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.rn-discord-panel__stats {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.82rem;
    color: var(--rn-silver-light);
}
.rn-discord-panel__stats strong { color: var(--rn-ice-glow); }
.rn-discord-panel__title {
    font-family: var(--rn-font-display);
    font-size: 1.5rem;
    color: var(--rn-text-bright);
    margin-bottom: 0.65rem;
}
@media (max-width: 768px) {
    .rn-discord-panel { grid-template-columns: 1fr; text-align: center; padding: 1.5rem; }
    .rn-discord-panel__desc { margin-inline: auto; }
    .rn-discord-panel__stats { justify-content: center; flex-wrap: wrap; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER — multi-column like reference
   ═══════════════════════════════════════════════════════════════════════════ */
.rn-footer {
    margin-top: var(--rn-gap);
    padding: 2.25rem 0 0;
    background: linear-gradient(180deg, rgba(4, 8, 16, 0.92) 0%, rgba(2, 6, 12, 0.98) 100%);
    border-top: 1px solid rgba(60, 180, 255, 0.1);
    position: relative;
}
.rn-footer__glow-line {
    display: block;
    height: 1px;
    margin-bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(120, 220, 255, 0.35), transparent);
    opacity: 0.65;
}
.rn-footer__grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) minmax(0, 2fr) minmax(280px, 1.15fr);
    grid-template-areas: "brand links discord";
    gap: 1.75rem 2.25rem;
    margin-bottom: 1.35rem;
    padding-top: 2rem;
    align-items: start;
}
.rn-footer__brand {
    grid-area: brand;
}
.rn-footer__links {
    grid-area: links;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 2rem;
    align-items: start;
}
.rn-footer__discord {
    grid-area: discord;
}
@media (max-width: 1100px) {
    .rn-footer__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "brand brand"
            "links discord";
    }
    .rn-footer__links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .rn-footer__grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "links"
            "discord";
    }
    .rn-footer__links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}
@media (max-width: 520px) {
    .rn-footer__links {
        grid-template-columns: 1fr 1fr;
    }
    .rn-footer__links .rn-footer__col:last-child {
        grid-column: 1 / -1;
    }
}
@media (max-width: 400px) {
    .rn-footer__links {
        grid-template-columns: 1fr;
    }
    .rn-footer__links .rn-footer__col:last-child {
        grid-column: auto;
    }
}
.rn-footer__brand-logo {
    display: flex;
    align-items: center;
    margin-bottom: 0.85rem;
}
.rn-footer__brand-logo img {
    width: auto;
    height: clamp(58px, 7vw, 74px);
    max-width: none;
    object-fit: contain;
    transform: translateZ(0);
    transform-origin: left center;
    image-rendering: auto;
}
.rn-footer__brand p {
    font-size: 0.78rem;
    color: var(--rn-text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}
.rn-footer__social {
    display: flex;
    gap: 0.5rem;
}
.rn-footer__social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(60,180,255,0.06);
    border: 1px solid var(--rn-border);
    color: var(--rn-silver);
    font-size: 0.85rem;
    transition: all var(--rn-transition);
}
.rn-footer__social-link:hover {
    color: var(--rn-ice-glow);
    border-color: var(--rn-ice);
    background: rgba(60,180,255,0.12);
}

.rn-footer__col h4 {
    font-family: var(--rn-font-display);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--rn-text-bright);
    margin-bottom: 0.85rem;
}
.rn-footer__col a {
    display: block;
    font-size: 0.78rem;
    color: var(--rn-text-muted);
    padding: 0.2rem 0;
    transition: color var(--rn-transition);
}
.rn-footer__col a:hover { color: var(--rn-ice-glow); }

.rn-footer__discord {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.18);
    border-radius: var(--rn-radius-lg);
    padding: 1.1rem 1rem;
    min-height: 0;
}
.rn-footer__discord-visual {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}
.rn-footer__discord-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #7289ff 0%, #5865f2 55%, #4752c4 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 0 28px rgba(88, 101, 242, 0.45);
}
.rn-footer__discord-text { flex: 1; min-width: 0; }
.rn-footer__discord h4 {
    font-family: var(--rn-font-display);
    font-size: 0.85rem;
    color: var(--rn-text-bright);
    margin-bottom: 0.4rem;
}
.rn-footer__discord p {
    font-size: 0.72rem;
    color: var(--rn-text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}
@media (max-width: 640px) {
    .rn-footer__discord { flex-direction: column; text-align: center; }
}

.rn-footer__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem 0.9rem;
    margin-top: 0.25rem;
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid rgba(60, 180, 255, 0.08);
    background: rgba(0, 6, 14, 0.55);
    font-size: 0.68rem;
    letter-spacing: 0.03em;
    color: rgba(168, 190, 210, 0.82);
    text-align: center;
}
.rn-footer__copy {
    margin: 0;
}
.rn-footer__meta-sep {
    opacity: 0.35;
    user-select: none;
}
.rn-footer__legal {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.15rem 0.85rem;
}
.rn-footer__legal a {
    color: rgba(168, 190, 210, 0.82);
    font-size: 0.68rem;
    letter-spacing: 0.03em;
    transition: color var(--rn-transition);
}
.rn-footer__legal a:hover {
    color: var(--rn-ice-glow);
}
@media (max-width: 640px) {
    .rn-footer__meta-sep {
        display: none;
    }
    .rn-footer__meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.rn-footer__bottom {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PAGE LAYOUTS (subpages)
   ═══════════════════════════════════════════════════════════════════════════ */
.rn-page {
    padding: 2.5rem 0 2.75rem;
    position: relative;
    z-index: 1;
}
.rn-page__head {
    text-align: center;
    margin-bottom: 2.5rem;
}
.rn-page__head h1 {
    font-family: var(--rn-font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--rn-ice-glow);
    text-shadow: 0 0 20px rgba(120,220,255,0.3);
    margin-bottom: 0.5rem;
}
.rn-page__head p {
    color: var(--rn-text-muted);
    max-width: 480px;
    margin-inline: auto;
}

/* Forms */
.rn-form { max-width: 520px; margin: 0 auto; }
.rn-form-group { margin-bottom: 1.1rem; }
.rn-form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--rn-silver-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.rn-form-group input,
.rn-form-group select,
.rn-form-group textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-family: var(--rn-font-body);
    font-size: 0.9rem;
    color: var(--rn-text);
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--rn-border);
    border-radius: var(--rn-radius);
    transition: border-color var(--rn-transition), box-shadow var(--rn-transition);
}
.rn-form-group input:focus {
    outline: none;
    border-color: var(--rn-ice);
    box-shadow: 0 0 0 3px rgba(60,180,255,0.12);
}
.rn-form-errors {
    padding: 0.85rem;
    margin-bottom: 1.25rem;
    background: rgba(255,107,107,0.08);
    border: 1px solid rgba(255,107,107,0.2);
    border-radius: var(--rn-radius);
    color: var(--rn-danger);
    font-size: 0.85rem;
}
.rn-form-success {
    padding: 1.25rem;
    text-align: center;
    background: rgba(74,222,128,0.08);
    border: 1px solid rgba(74,222,128,0.2);
    border-radius: var(--rn-radius-lg);
    color: var(--rn-success);
}

/* ═══════════════════════════════════════════════════════════════════════════
   AUTH PANELS — Register / Login (Rune Nova crystal style)
   ═══════════════════════════════════════════════════════════════════════════ */
.rn-page--auth {
    padding: 2.75rem 0 3.5rem;
    background:
        radial-gradient(ellipse 70% 45% at 50% 0%, rgba(60, 180, 255, 0.09) 0%, transparent 62%),
        radial-gradient(ellipse 40% 30% at 15% 80%, rgba(20, 80, 140, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 40% 30% at 85% 70%, rgba(20, 80, 140, 0.1) 0%, transparent 55%);
}

.rn-auth-shell {
    max-width: 560px;
}

.rn-auth-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.rn-auth-center .rn-auth-panel {
    width: 100%;
}

.rn-auth-head {
    text-align: center;
    margin-bottom: 2.25rem;
}

.rn-auth-head__badge {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.9rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rn-ice-glow);
    background: rgba(60, 180, 255, 0.08);
    border: 1px solid rgba(120, 220, 255, 0.22);
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(60, 180, 255, 0.12);
}

.rn-auth-head h1 {
    font-family: var(--rn-font-display);
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 700;
    color: var(--rn-ice-glow);
    text-shadow: 0 0 24px rgba(120, 220, 255, 0.28);
    margin-bottom: 0.55rem;
}

.rn-auth-head p {
    max-width: 520px;
    margin-inline: auto;
    color: var(--rn-text-muted);
    font-size: 0.95rem;
}

.rn-auth-panel {
    position: relative;
    isolation: isolate;
    border-radius: 12px;
    padding: 1px;
    background:
        linear-gradient(160deg, rgba(180, 240, 255, 0.45) 0%, rgba(60, 140, 210, 0.18) 35%, rgba(40, 100, 160, 0.08) 100%);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.42),
        0 0 40px rgba(60, 180, 255, 0.08);
}

.rn-auth-panel__inner {
    position: relative;
    padding: 1.65rem 1.75rem 1.5rem;
    border-radius: 11px;
    background:
        linear-gradient(180deg, rgba(16, 28, 48, 0.96) 0%, rgba(8, 14, 26, 0.98) 100%);
    overflow: hidden;
}

.rn-auth-panel__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.03) 50%, transparent 60%);
    pointer-events: none;
}

.rn-auth-panel__corner {
    position: absolute;
    width: 18px;
    height: 18px;
    z-index: 2;
    pointer-events: none;
}

.rn-auth-panel__corner::before,
.rn-auth-panel__corner::after {
    content: '';
    position: absolute;
    background: rgba(160, 230, 255, 0.75);
    box-shadow: 0 0 8px rgba(120, 220, 255, 0.55);
}

.rn-auth-panel__corner--tl { top: 8px; left: 8px; }
.rn-auth-panel__corner--tl::before { top: 0; left: 0; width: 14px; height: 2px; }
.rn-auth-panel__corner--tl::after { top: 0; left: 0; width: 2px; height: 14px; }

.rn-auth-panel__corner--tr { top: 8px; right: 8px; }
.rn-auth-panel__corner--tr::before { top: 0; right: 0; width: 14px; height: 2px; }
.rn-auth-panel__corner--tr::after { top: 0; right: 0; width: 2px; height: 14px; }

.rn-auth-panel__corner--bl { bottom: 8px; left: 8px; }
.rn-auth-panel__corner--bl::before { bottom: 0; left: 0; width: 14px; height: 2px; }
.rn-auth-panel__corner--bl::after { bottom: 0; left: 0; width: 2px; height: 14px; }

.rn-auth-panel__corner--br { bottom: 8px; right: 8px; }
.rn-auth-panel__corner--br::before { bottom: 0; right: 0; width: 14px; height: 2px; }
.rn-auth-panel__corner--br::after { bottom: 0; right: 0; width: 2px; height: 14px; }

.rn-auth-panel__titlebar {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.35rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(120, 220, 255, 0.12);
}

.rn-auth-panel__titlebar-icon {
    flex-shrink: 0;
    color: var(--rn-ice-glow);
    filter: drop-shadow(0 0 8px rgba(120, 220, 255, 0.45));
}

.rn-auth-panel__titlebar h2 {
    font-family: var(--rn-font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rn-text-bright);
    margin-bottom: 0.2rem;
}

.rn-auth-panel__titlebar p {
    font-size: 0.82rem;
    color: var(--rn-text-muted);
}

.rn-auth-errors {
    margin-bottom: 1rem;
}

.rn-auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.rn-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}

.rn-auth-field {
    margin-bottom: 1rem;
}

.rn-auth-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rn-silver-light);
}

.rn-auth-field__control {
    position: relative;
}

.rn-auth-field__control::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(180deg, var(--rn-ice-glow) 0%, var(--rn-ice-deep) 100%);
    opacity: 0.55;
    pointer-events: none;
    transition: opacity var(--rn-transition);
}

.rn-auth-field__control:focus-within::before {
    opacity: 1;
    box-shadow: 0 0 10px rgba(120, 220, 255, 0.45);
}

.rn-auth-field input {
    width: 100%;
    padding: 0.78rem 0.95rem 0.78rem 1.1rem;
    font-family: var(--rn-font-body);
    font-size: 0.92rem;
    color: var(--rn-text-bright);
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.22) 100%);
    border: 1px solid rgba(60, 140, 200, 0.22);
    border-radius: 8px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.28);
    transition: border-color var(--rn-transition), box-shadow var(--rn-transition), background var(--rn-transition);
}

.rn-auth-field input::placeholder {
    color: rgba(106, 125, 150, 0.85);
}

.rn-auth-field input:focus {
    outline: none;
    border-color: rgba(120, 220, 255, 0.45);
    background: rgba(0, 0, 0, 0.4);
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.32),
        0 0 0 3px rgba(60, 180, 255, 0.1),
        0 0 18px rgba(60, 180, 255, 0.08);
}

.rn-auth-field__hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    color: var(--rn-text-muted);
}

.rn-auth-submit {
    width: 100%;
    margin-top: 0.35rem;
    font-family: var(--rn-font-display);
    letter-spacing: 0.12em;
}

.rn-btn--crystal {
    color: #d8f6ff;
    background:
        linear-gradient(180deg, rgba(190, 245, 255, 0.18) 0%, transparent 50%),
        linear-gradient(180deg, rgba(40, 100, 150, 0.55) 0%, rgba(14, 35, 58, 0.85) 100%);
    border: 1px solid rgba(140, 220, 255, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 0 rgba(8, 20, 35, 0.85),
        0 0 20px rgba(60, 180, 255, 0.15);
}

.rn-btn--crystal:hover {
    color: #fff;
    border-color: rgba(180, 240, 255, 0.65);
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 5px 0 rgba(8, 20, 35, 0.85),
        0 0 28px rgba(80, 200, 255, 0.28);
}

.rn-btn--crystal:active {
    transform: translateY(2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 2px 0 rgba(8, 20, 35, 0.85),
        0 0 16px rgba(60, 180, 255, 0.12);
}

.rn-auth-foot {
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 0.84rem;
    color: var(--rn-text-muted);
}

.rn-auth-foot a {
    font-weight: 600;
    color: var(--rn-ice-glow);
}

.rn-auth-panel--success {
    max-width: 560px;
    margin-inline: auto;
}

.rn-auth-panel__hero {
    text-align: center;
    margin-bottom: 1.35rem;
}

.rn-auth-panel__icon {
    margin: 0 auto 0.85rem;
    color: var(--rn-success);
    filter: drop-shadow(0 0 12px rgba(74, 222, 128, 0.35));
}

.rn-auth-panel__hero h2 {
    font-family: var(--rn-font-display);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: var(--rn-success);
    margin-bottom: 0.45rem;
}

.rn-auth-panel__hero p {
    font-size: 0.88rem;
    color: var(--rn-silver-light);
}

.rn-auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

@media (max-width: 600px) {
    .rn-auth-panel__inner {
        padding: 1.35rem 1.15rem 1.25rem;
    }

    .rn-auth-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .rn-auth-actions {
        flex-direction: column;
    }

    .rn-auth-actions .rn-btn {
        width: 100%;
    }
}

/* Tables */
.rn-table { width: 100%; border-collapse: collapse; }
.rn-table th, .rn-table td {
    padding: 0.65rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(40,120,200,0.06);
    font-size: 0.82rem;
}
.rn-table th {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rn-text-muted);
    background: rgba(0,0,0,0.2);
}
.rn-table tbody tr:hover { background: var(--rn-ice-dim); }

/* Subpage grids */
.rn-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--rn-gap); }
.rn-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--rn-gap); }
@media (max-width: 768px) { .rn-grid-2, .rn-grid-3 { grid-template-columns: 1fr; } }

/* Wiki */
.rn-wiki__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--rn-gap);
}
@media (max-width: 900px) {
    .rn-wiki__grid { grid-template-columns: 1fr; }
}
.rn-wiki__cat {
    position: relative;
    overflow: hidden;
}
.rn-wiki__cat h3 {
    margin: 0 0 1rem;
    font-family: var(--rn-font-display);
    font-size: 1.05rem;
    color: var(--rn-ice-glow);
    letter-spacing: 0.04em;
}
.rn-wiki__cat ul {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.rn-wiki__cat li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.rn-wiki__cat a {
    font-weight: 600;
    color: var(--rn-ice);
}
.rn-wiki__cat a:hover { color: var(--rn-ice-glow); }
.rn-wiki__summary {
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--rn-text-muted);
}
.rn-wiki__cta {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
}
.rn-wiki__cta p {
    margin: 0 0 1rem;
    color: var(--rn-text-muted);
}
.rn-wiki-article__crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    color: var(--rn-text-muted);
}
.rn-wiki-article__crumb a { color: var(--rn-ice); }
.rn-wiki-article__category {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rn-ice);
}
.rn-wiki-article__body { padding: 1.5rem 1.75rem; }
.rn-wiki-prose {
    color: var(--rn-silver-light);
    line-height: 1.65;
    font-size: 0.92rem;
}
.rn-wiki-prose h2 {
    margin: 1.75rem 0 0.75rem;
    font-family: var(--rn-font-display);
    font-size: 1.15rem;
    color: var(--rn-ice-glow);
}
.rn-wiki-prose h2:first-child { margin-top: 0; }
.rn-wiki-prose h3 {
    margin: 1.25rem 0 0.5rem;
    font-size: 0.95rem;
    color: var(--rn-silver-light);
}
.rn-wiki-prose p,
.rn-wiki-prose ul,
.rn-wiki-prose ol,
.rn-wiki-prose dl { margin: 0 0 0.85rem; }
.rn-wiki-prose ul,
.rn-wiki-prose ol { padding-left: 1.25rem; }
.rn-wiki-prose li { margin-bottom: 0.35rem; }
.rn-wiki-prose a { color: var(--rn-ice); }
.rn-wiki-prose code {
    padding: 0.1rem 0.35rem;
    font-size: 0.82em;
    background: rgba(0,0,0,0.35);
    border-radius: 4px;
}
.rn-wiki-table {
    width: 100%;
    margin: 0.75rem 0 1rem;
    border-collapse: collapse;
    font-size: 0.84rem;
}
.rn-wiki-table th,
.rn-wiki-table td {
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(60,180,255,0.12);
    text-align: left;
}
.rn-wiki-table th {
    background: rgba(20,80,140,0.22);
    color: var(--rn-ice-glow);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.rn-wiki-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.15); }
.rn-wiki-faq dt {
    margin-top: 0.85rem;
    font-weight: 700;
    color: var(--rn-silver-light);
}
.rn-wiki-faq dd {
    margin: 0.25rem 0 0;
    color: var(--rn-text-muted);
}
.rn-wiki-article__related {
    margin-top: 2rem;
    text-align: center;
}
.rn-wiki-article__related h2 {
    font-family: var(--rn-font-display);
    font-size: 1rem;
    color: var(--rn-ice-glow);
    margin-bottom: 0.75rem;
}
.rn-wiki-article__related ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
}
.rn-wiki-article__related a { color: var(--rn-ice); font-weight: 600; }
.rn-wiki-article__back {
    margin-top: 2rem;
    text-align: center;
}

/* Tags */
.rn-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rn-ice);
    background: rgba(20,80,140,0.3);
    border: 1px solid rgba(60,180,255,0.15);
    border-radius: 3px;
}

/* Utilities */
.rn-text-center { text-align: center; }
.rn-mt-1 { margin-top: 1rem; }
.rn-mt-2 { margin-top: 2rem; }
.rn-mb-1 { margin-bottom: 1rem; }

/* Flash */
.rn-flash {
    padding: 0.65rem 0;
    text-align: center;
    font-weight: 500;
    font-size: 0.85rem;
    position: relative;
    z-index: 50;
}
.rn-flash--success { background: rgba(74,222,128,0.1); color: var(--rn-success); }
.rn-flash--error { background: rgba(255,107,107,0.1); color: var(--rn-danger); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--rn-bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(60,180,255,0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(60,180,255,0.35); }

/* ═══════════════════════════════════════════════════════════════════════════
   EMBLEM SYSTEM — Premium Fantasy SVG Icons
   ═══════════════════════════════════════════════════════════════════════════ */
.rn-emblem {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(120, 220, 255, 0.35));
    transition: filter var(--rn-transition), transform var(--rn-transition);
}
.rn-emblem--header { filter: drop-shadow(0 0 12px rgba(120, 220, 255, 0.5)); }
.rn-emblem--hex { filter: drop-shadow(0 0 14px rgba(60, 180, 255, 0.45)); }
.rn-emblem--feat { filter: drop-shadow(0 0 12px rgba(60, 180, 255, 0.4)); }
.rn-emblem--thumb {
    filter: drop-shadow(0 0 10px rgba(60, 180, 255, 0.35));
}
.rn-emblem--store-art {
    width: 100% !important;
    max-width: 190px;
    height: auto !important;
    filter: drop-shadow(0 0 24px rgba(120, 220, 255, 0.4));
}
.rn-emblem--update { filter: drop-shadow(0 0 12px rgba(120, 220, 255, 0.35)); }
.rn-emblem--dragon { filter: drop-shadow(0 0 20px rgba(60, 180, 255, 0.4)); opacity: 0.9; }
.rn-emblem--flip { transform: scaleX(-1); }
.rn-emblem--crown { filter: drop-shadow(0 0 8px rgba(212, 168, 50, 0.4)); }
.rn-emblem--muted { filter: none; opacity: 0.7; }
.rn-emblem--stat { filter: drop-shadow(0 0 6px rgba(120, 220, 255, 0.2)); }
.rn-emblem--social { color: var(--rn-silver-light); filter: none; opacity: 0.85; }
.rn-emblem--page { margin: 0 auto 1rem; filter: drop-shadow(0 0 16px rgba(120, 220, 255, 0.3)); }
.rn-emblem--store { margin: 0 auto 0.75rem; }

.rn-card:hover .rn-emblem--feat,
.rn-update__block:hover .rn-emblem--update {
    filter: drop-shadow(0 0 16px rgba(120, 220, 255, 0.5));
    transform: scale(1.05);
}

.rn-download__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: radial-gradient(circle, rgba(60,180,255,0.08) 0%, transparent 70%);
    border-radius: var(--rn-radius-lg);
    border: 1px solid rgba(60, 180, 255, 0.1);
}

.rn-footer__social-link {
    color: var(--rn-silver-light);
}
.rn-footer__social-link:hover .rn-emblem {
    color: var(--rn-ice-glow);
    filter: drop-shadow(0 0 8px rgba(120, 220, 255, 0.4));
}

.rn-emblem--discord-hero {
    width: 140px !important;
    height: 140px !important;
    filter: drop-shadow(0 0 30px rgba(88, 101, 242, 0.5));
}
.rn-emblem--footer-discord {
    width: 52px !important;
    height: 52px !important;
    color: #ffffff;
    filter: none;
}
.rn-emblem--monogram {
    width: 72px !important;
    height: 72px !important;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 0 16px rgba(120, 220, 255, 0.4));
}
.rn-emblem--btn { flex-shrink: 0; filter: drop-shadow(0 0 6px rgba(120, 220, 255, 0.3)); }
.rn-emblem--logo { flex-shrink: 0; }

/* Hexagonal feature crests (reference) */
.rn-hex {
    flex-shrink: 0;
    width: 46px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(184, 240, 255, 0.12) 0%, rgba(60, 180, 255, 0.18) 50%, rgba(20, 80, 140, 0.28) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: none;
    box-shadow: 0 0 16px rgba(60, 180, 255, 0.2), inset 0 0 12px rgba(120, 220, 255, 0.08);
    position: relative;
}
.rn-hex::before {
    content: '';
    position: absolute;
    inset: 1px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: radial-gradient(circle at 50% 30%, rgba(60, 180, 255, 0.12) 0%, rgba(4, 8, 16, 0.75) 70%);
    z-index: 0;
}
.rn-hex::after {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: inset 0 0 0 1px rgba(184, 240, 255, 0.15);
    z-index: 2;
    pointer-events: none;
}
.rn-hex .rn-emblem { position: relative; z-index: 1; }

.rn-main {
    position: relative;
}

.rn-feat { padding: 0.75rem 0; }

.rn-footer__brand-logo { margin-bottom: 0.5rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   ACCOUNT / USER PROFILE + 2FA
   ═══════════════════════════════════════════════════════════════════════════ */
.rn-form-foot {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 13px;
    color: var(--rn-text-muted);
}

.rn-account-shell {
    max-width: 980px;
}

.rn-page--account {
    padding-top: 2.5rem;
}

.rn-account-errors {
    margin-bottom: 1.25rem;
}

/* Profile hero */
.rn-account-hero {
    margin-bottom: 1.15rem;
}

.rn-account-hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.35rem 1.5rem;
}

.rn-account-hero__inner::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    border-radius: 11px 0 0 11px;
    background: linear-gradient(180deg, rgba(120, 220, 255, 0.85) 0%, rgba(60, 140, 210, 0.25) 100%);
    box-shadow: 0 0 18px rgba(92, 225, 255, 0.35);
}

.rn-account-hero__identity {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.rn-account-hero__avatar {
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-family: var(--rn-font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #e8f8ff;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.22) 0%, transparent 55%),
        linear-gradient(145deg, rgba(50, 130, 190, 0.55) 0%, rgba(12, 32, 58, 0.92) 100%);
    border: 1px solid rgba(150, 225, 255, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 0 22px rgba(60, 180, 255, 0.18);
}

.rn-account-hero__copy {
    min-width: 0;
}

.rn-account-hero__eyebrow {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rn-ice-glow);
}

.rn-account-hero__copy h1 {
    font-family: var(--rn-font-display);
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--rn-text-bright);
    text-shadow: 0 0 20px rgba(120, 220, 255, 0.18);
}

.rn-account-hero__email {
    margin-top: 0.2rem;
    font-size: 0.82rem;
    color: var(--rn-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rn-account-hero__status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7ee8ff;
}

.rn-account-hero__beacon {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #e8fcff 0%, #5ce1ff 45%, #1a98dc 100%);
    box-shadow: 0 0 10px rgba(92, 225, 255, 0.85);
}

.rn-account-hero__actions {
    flex-shrink: 0;
}

/* Metric tiles */
.rn-account-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.rn-account-metric {
    position: relative;
    padding: 0.85rem 0.95rem;
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%),
        rgba(8, 16, 30, 0.72);
    border: 1px solid rgba(60, 140, 200, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rn-account-metric__label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rn-text-muted);
}

.rn-account-metric__value {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--rn-ice-glow);
}

/* Main board — 2 equal columns, purchase spans full right height */
.rn-account-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "auth purchase"
        "password purchase";
    gap: 1.15rem;
    align-items: stretch;
}

.rn-account-panel--auth { grid-area: auth; }
.rn-account-panel--password { grid-area: password; }
.rn-account-panel--purchase { grid-area: purchase; }

.rn-account-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

.rn-account-panel .rn-auth-panel__inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.rn-account-panel__titlebar {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(120, 220, 255, 0.1);
}

.rn-account-panel__titlebar--split {
    flex-wrap: wrap;
}

.rn-account-panel__titlebar--split .rn-account-status {
    margin-left: auto;
}

.rn-account-panel__titlebar-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    fill: var(--rn-ice-glow);
    filter: drop-shadow(0 0 8px rgba(120, 220, 255, 0.35));
}

.rn-account-panel__titlebar h2 {
    font-family: var(--rn-font-display);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rn-text-bright);
}

.rn-account-panel__titlebar p {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--rn-text-muted);
}

.rn-account-panel__count {
    margin-left: auto;
    align-self: flex-start;
    min-width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    padding: 0 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--rn-ice-glow);
    background: rgba(60, 180, 255, 0.1);
    border: 1px solid rgba(120, 220, 255, 0.22);
}

.rn-account-section {
    padding: 0.15rem 0;
}

.rn-account-section + .rn-account-section-divider {
    margin: 1.15rem 0;
}

.rn-account-section__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.rn-account-section__head h3 {
    font-family: var(--rn-font-display);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rn-text-bright);
}

.rn-account-section__hint {
    margin-top: 0.2rem;
    font-size: 0.76rem;
    color: var(--rn-text-muted);
}

.rn-account-section-divider {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 220, 255, 0.18), transparent);
}

.rn-account-section-divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    transform: translate(-50%, -50%) rotate(45deg);
    background: linear-gradient(135deg, #fff, var(--rn-ice-glow), var(--rn-ice));
    box-shadow: 0 0 12px rgba(120, 220, 255, 0.65);
}

.rn-btn--danger-soft {
    color: #ffb4b4;
    border-color: rgba(255, 107, 107, 0.35);
    background: rgba(120, 40, 40, 0.28);
}

.rn-btn--danger-soft:hover {
    color: #fff;
    border-color: rgba(255, 107, 107, 0.5);
    background: rgba(140, 45, 45, 0.42);
}

.rn-account-panel__foot {
    margin-top: auto;
    padding-top: 0.5rem;
}

.rn-account-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex: 1;
    min-height: 180px;
    padding: 1.5rem 1rem;
    text-align: center;
    border-radius: 10px;
    background:
        radial-gradient(circle at 50% 0%, rgba(60, 180, 255, 0.06) 0%, transparent 55%),
        rgba(0, 0, 0, 0.18);
    border: 1px dashed rgba(60, 140, 200, 0.18);
}

.rn-account-empty__icon {
    width: 40px;
    height: 40px;
    fill: var(--rn-ice-glow);
    opacity: 0.55;
    filter: drop-shadow(0 0 10px rgba(120, 220, 255, 0.25));
}

.rn-account-empty p {
    font-family: var(--rn-font-display);
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    color: var(--rn-text-bright);
}

.rn-account-empty span {
    max-width: 240px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--rn-text-muted);
}

.rn-account-purchases {
    flex: 1;
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid rgba(60, 140, 200, 0.14);
    background: rgba(0, 0, 0, 0.22);
}

.rn-account-purchases__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.rn-account-purchases__table th,
.rn-account-purchases__table td {
    padding: 0.72rem 0.9rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rn-account-purchases__table th {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rn-text-muted);
    background: rgba(0, 0, 0, 0.18);
}

.rn-account-purchases__table tbody tr:last-child td {
    border-bottom: 0;
}

.rn-account-purchases__table tbody tr:hover {
    background: rgba(60, 180, 255, 0.05);
}

.rn-account-purchases__table td.is-accent {
    color: var(--rn-ice-glow);
    font-weight: 600;
    white-space: nowrap;
}

.rn-account-status {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.rn-account-status--ok {
    color: var(--rn-success);
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.22);
}

.rn-account-status--warn {
    color: var(--rn-danger);
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.rn-account-copy {
    margin-bottom: 1rem;
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--rn-text-muted);
}

.rn-account-steps {
    margin: 0 0 1rem;
    padding-left: 1.1rem;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--rn-silver-light);
}

.rn-account-steps li + li {
    margin-top: 0.35rem;
}

.rn-account-2fa-setup {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
        rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(60, 140, 200, 0.16);
}

.rn-account-2fa-setup__qr-wrap {
    width: 148px;
    height: 148px;
    padding: 0.55rem;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 20px rgba(120, 220, 255, 0.12);
}

.rn-account-2fa-setup__qr-wrap svg {
    display: block;
    width: 100%;
    height: 100%;
}

.rn-account-2fa-setup__label {
    margin-bottom: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rn-ice-glow);
}

.rn-account-2fa-setup__secret {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--rn-text-muted);
}

.rn-account-2fa-setup__secret code {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.45rem 0.55rem;
    font-size: 0.76rem;
    word-break: break-all;
    color: var(--rn-ice-glow);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(60, 140, 200, 0.18);
    border-radius: 6px;
}

.rn-account-2fa-form {
    margin-top: 0.25rem;
}

.rn-account-2fa-code,
.rn-account-2fa-login__code {
    letter-spacing: 0.22em;
    text-align: center;
    font-weight: 700;
}

.rn-account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.35rem;
}

.rn-account-password .rn-auth-field:last-of-type {
    margin-bottom: 1rem;
}

.rn-btn--full {
    width: 100%;
}

.rn-account-2fa-login__hint {
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--rn-text-muted);
}

.rn-account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--rn-text);
    font: 600 11px/1 var(--rn-font-body);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--rn-transition), border-color var(--rn-transition), color var(--rn-transition);
}

.rn-account-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.rn-account-btn--block {
    width: 100%;
}

@media (max-width: 900px) {
    .rn-account-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rn-account-board {
        grid-template-columns: 1fr;
        grid-template-areas:
            "auth"
            "password"
            "purchase";
    }

    .rn-account-hero__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .rn-account-hero__actions .rn-btn {
        width: 100%;
    }

    .rn-account-2fa-setup {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .rn-account-panel__titlebar {
        flex-wrap: wrap;
    }

    .rn-account-panel__count {
        margin-left: 0;
    }
}

@media (max-width: 520px) {
    .rn-account-metrics {
        grid-template-columns: 1fr;
    }

    .rn-account-hero__identity {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SUPPORT / LEGAL PAGES
   ═══════════════════════════════════════════════════════════════════════════ */
.rn-support-shell {
    max-width: 980px;
}

.rn-support-head {
    text-align: center;
    margin-bottom: 1.75rem;
}

.rn-support-head h1 {
    font-family: var(--rn-font-display);
    font-size: clamp(1.85rem, 4vw, 2.55rem);
    font-weight: 700;
    color: var(--rn-ice-glow);
    text-shadow: 0 0 24px rgba(120, 220, 255, 0.28);
    margin-bottom: 0.55rem;
}

.rn-support-head p {
    max-width: 640px;
    margin-inline: auto;
    color: var(--rn-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.rn-support-head__meta {
    margin-top: 0.75rem !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rn-silver) !important;
}

.rn-support-layout {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 1.15rem;
    align-items: start;
}

.rn-support-toc {
    position: sticky;
    top: calc(var(--rn-header-h) + 18px);
    padding: 1rem 0.95rem;
    border-radius: 10px;
    background: rgba(8, 16, 30, 0.72);
    border: 1px solid rgba(60, 140, 200, 0.16);
}

.rn-support-toc__label {
    margin-bottom: 0.65rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rn-ice-glow);
}

.rn-support-toc ul {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.rn-support-toc a {
    display: block;
    padding: 0.35rem 0;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--rn-text-muted);
    transition: color var(--rn-transition);
}

.rn-support-toc a:hover {
    color: var(--rn-ice-glow);
}

.rn-support-doc .rn-auth-panel__inner {
    padding: 1.35rem 1.5rem 1.25rem;
}

.rn-support-doc__section h2 {
    font-family: var(--rn-font-display);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rn-text-bright);
    margin-bottom: 0.85rem;
}

.rn-support-doc__section--divider {
    margin-top: 1.35rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(120, 220, 255, 0.1);
}

.rn-support-doc__section p,
.rn-support-doc__section .rn-support-doc__h3 {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--rn-silver-light);
}

.rn-support-doc__section p + p,
.rn-support-doc__section .rn-support-doc__h3 + p,
.rn-support-doc__section p + .rn-support-doc__list {
    margin-top: 0.75rem;
}

.rn-support-doc__h3 {
    font-weight: 700;
    color: var(--rn-text-bright);
}

.rn-support-doc__list {
    padding-left: 1.1rem;
}

.rn-support-doc__list li {
    position: relative;
    margin-top: 0.45rem;
    padding-left: 0.15rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--rn-silver-light);
    list-style: none;
}

.rn-support-doc__list li::before {
    content: '';
    position: absolute;
    left: -0.95rem;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, #fff, var(--rn-ice-glow), var(--rn-ice));
    box-shadow: 0 0 8px rgba(120, 220, 255, 0.45);
}

.rn-support-doc__link {
    font-weight: 600;
    color: var(--rn-ice-glow);
}

.rn-support-faq .rn-auth-panel__inner {
    padding: 0.85rem 1rem;
}

.rn-faq-item {
    border-radius: 8px;
    border: 1px solid rgba(60, 140, 200, 0.12);
    background: rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.rn-faq-item + .rn-faq-item {
    margin-top: 0.65rem;
}

.rn-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 0.95rem 1rem;
    font-family: var(--rn-font-display);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--rn-text-bright);
    transition: color var(--rn-transition), background var(--rn-transition);
}

.rn-faq-item summary::-webkit-details-marker {
    display: none;
}

.rn-faq-item summary::after {
    content: '+';
    float: right;
    color: var(--rn-ice-glow);
    font-size: 1rem;
    line-height: 1;
}

.rn-faq-item[open] summary {
    background: rgba(60, 180, 255, 0.08);
    border-bottom: 1px solid rgba(120, 220, 255, 0.1);
}

.rn-faq-item[open] summary::after {
    content: '−';
}

.rn-faq-item__body {
    padding: 0.95rem 1rem 1.05rem;
}

.rn-faq-item__body p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--rn-silver-light);
}

.rn-faq-item__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-top: 0.85rem;
}

.rn-faq-item__links a {
    font-size: 0.82rem;
    font-weight: 600;
}

.rn-support-related {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.rn-support-related__link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 0.9rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rn-text-muted);
    background: rgba(8, 16, 30, 0.72);
    border: 1px solid rgba(60, 140, 200, 0.16);
    transition:
        color var(--rn-transition),
        border-color var(--rn-transition),
        background var(--rn-transition);
}

.rn-support-related__link:hover {
    color: var(--rn-ice-glow);
    border-color: rgba(120, 220, 255, 0.28);
    background: rgba(60, 180, 255, 0.08);
}

.rn-support-related__link.is-active,
.rn-support-related__link.is-active:hover {
    color: var(--rn-text-bright);
    border-color: rgba(150, 225, 255, 0.42);
    background: rgba(60, 180, 255, 0.14);
}

@media (max-width: 900px) {
    .rn-support-layout {
        grid-template-columns: 1fr;
    }

    .rn-support-toc {
        position: static;
    }

    .rn-support-toc ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.35rem 0.75rem;
    }
}

@media (max-width: 520px) {
    .rn-support-toc ul {
        grid-template-columns: 1fr;
    }
}
