/* =============================================================
   LOST GAME ARCHIVE — V3 Visual System
   Warm linen, frosted glass, editorial museum feel.
   ============================================================= */

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

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #EEF2F7;
    --text: #1A1D22;
    --text-secondary: #4b5563;
    --text-muted: #6B7280;
    --card: rgba(248,252,255,.72);
    --card2: rgba(248,252,255,.58);
    --cardBorder: rgba(0,0,0,.10);
    --line: rgba(0,0,0,.08);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --container: 1100px;
    --radius: 18px;
    --radius-sm: 14px;
    --radius-lg: 24px;
    --blur: 14px;
    --shadow: 0 24px 60px rgba(0,0,0,.12), 0 2px 12px rgba(0,0,0,.08);
    --shadow-sm: 0 14px 34px rgba(0,0,0,.10), 0 1px 10px rgba(0,0,0,.06);
    --shadow-xs: 0 10px 22px rgba(0,0,0,.07);
    --dusty-blue: #8899AA;
    --mustard: #A09470;
    --muted-red: #9A7070;
    --sage: #708878;
    --stone: #8A8A8A;
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; margin-top: 0 !important; }
html { height: 100%; }
body { min-height: 100%; display: flex; flex-direction: column; }
.lga-main { flex: 1; padding-top: 64px; }
#wpadminbar { display: none !important; }

body {
    background: var(--bg);
    color: var(--text);
    margin: 0;
    font-family: var(--font);
    line-height: 1.6;
}

/* Atmospheric background layer */
body::before {
    content: "";
    position: fixed; inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 20%, rgba(20,30,50,.04), transparent 40%),
        radial-gradient(circle at 70% 30%, rgba(20,30,50,.03), transparent 45%),
        radial-gradient(circle at 35% 75%, rgba(20,30,50,.025), transparent 50%);
    mix-blend-mode: multiply;
    opacity: .25;
    z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.site-wrap { max-width: 1100px; margin: 0 auto; padding: 40px 24px; }

/* --- CONTAINER --- */
.lga-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.lga-text-center { text-align: center; }

/* =============================================================
   HEADER  (shared classes: WP + phpBB)
   ============================================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    background: rgba(255,255,255,.45);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border-bottom: 1px solid rgba(0,0,0,.06);
    overflow: visible;
}
html, body { overflow-x: hidden; }
.site-nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand {
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 12px;
    text-transform: uppercase;
    color: #0f172a;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}
.nav-links a,
.nav-links .lga-nav-dropdown > button {
    text-decoration: none;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.82;
    padding: 6px 6px;
    border-radius: 999px;
    transition: opacity 0.2s, background 0.2s;
    white-space: nowrap;
}
.nav-links a:hover {
    opacity: 1;
    background: rgba(15,23,42,0.04);
}
.nav-links a.active {
    opacity: 1;
    background: rgba(15,23,42,0.06);
}
.lga-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; color: var(--text); align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 10; -webkit-tap-highlight-color: transparent; touch-action: manipulation; min-width: 44px; min-height: 44px; }
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}
.search-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(15,23,42,0.04);
    border: 1px solid rgba(15,23,42,0.06);
}
.search-input {
    border: none;
    background: transparent;
    outline: none;
    width: 160px;
    font-size: 14px;
    font-family: var(--font);
    color: var(--text);
}
.search-input::placeholder { color: var(--text-muted); }
.search-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    opacity: 0.75;
    display: flex;
    align-items: center;
}
.search-btn:hover { opacity: 1; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-family: var(--font);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,.12);
    color: var(--text);
    background: rgba(255,255,255,0.68);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn:hover {
    border-color: rgba(0,0,0,.22);
    background: rgba(255,255,255,0.9);
}
.btn.btn-dark {
    background: rgba(20,20,20,.88);
    color: rgba(245,244,241,.96);
    border-color: rgba(20,20,20,.25);
}
.btn.btn-dark:hover {
    background: rgba(20,20,20,.95);
    border-color: rgba(20,20,20,.35);
}
@media (max-width: 1200px) {
    .site-nav { flex-wrap: wrap; padding: 10px 16px; }
    .lga-nav-toggle { display: flex; }
    .nav-right { gap: 6px; }
    .nav-right .lga-btn { font-size: 12px; padding: 5px 10px; }
    .search-pill-wrap { display: none; }
    .lga-nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        border-top: 1px solid rgba(0,0,0,.06);
        padding: 12px 0;
        margin-top: 6px;
        gap: 0;
    }
    .lga-nav-links.is-open { display: flex; }
    .lga-nav-links li { width: 100%; }
    .lga-nav-links li a,
    .lga-nav-links .lga-nav-dropdown > button {
        display: block;
        width: 100%;
        padding: 10px 16px;
        border-radius: 0;
        font-size: 15px;
        text-align: left;
    }
    .lga-nav-links li a:hover,
    .lga-nav-links li a.active { background: rgba(15,23,42,0.04); }
    .lga-nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        background: rgba(15,23,42,0.02);
    }
    .lga-nav-dropdown-menu a { padding-left: 32px !important; font-size: 14px; }
}

/* =============================================================
   BUTTONS
   ============================================================= */
.lga-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.lga-btn-primary {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}
.lga-btn-primary:hover {
    background: #374151;
    border-color: #374151;
}

.lga-btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--line);
}
.lga-btn-ghost:hover {
    color: var(--text);
    border-color: var(--text-muted);
    background: rgba(0,0,0,.03);
}

.lga-btn-sm { font-size: 12px; padding: 6px 14px; }
.lga-btn-lg { font-size: 15px; padding: 12px 32px; }
.lga-btn-xl { font-size: 17px; padding: 16px 48px; letter-spacing: 1px; }

/* =============================================================
   HERO
   ============================================================= */
.lga-hero {
    position: relative;
    padding: 100px 24px 80px;
    text-align: center;
}
.lga-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.lga-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
}
.lga-hero-tagline {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.lga-hero-search {
    display: flex;
    max-width: 520px;
    margin: 0 auto 36px;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 999px;
    overflow: hidden;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
}
.lga-hero-search:focus-within { border-color: var(--text-muted); }
.lga-hero-search input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text);
    font-size: 16px;
    padding: 14px 24px;
    outline: none;
    font-family: var(--font);
}
.lga-hero-search input::placeholder { color: var(--text-muted); }
.lga-hero-search button {
    background: rgba(20,20,20,.88);
    color: rgba(245,244,241,.96);
    border: none;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 999px;
    margin: 4px;
    cursor: pointer;
}
.lga-hero-search button:hover { background: rgba(20,20,20,.95); }

.lga-hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lga-hero-glow { display: none; }

/* =============================================================
   HOMEPAGE — EDITORIAL LAYOUT (V3 Redesign)
   ============================================================= */
.lga-hp-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 26px;
}
.lga-hp-section {
    padding: 14px 0;
}

/* --- Hero --- */
.lga-hp-hero {
    padding: 80px 26px 28px;
}
.lga-hp-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}
.lga-hp-hero-text {}
.lga-hp-h1 {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: clamp(36px, 5vw, 52px);
    line-height: 0.95;
    margin: 0 0 14px;
    color: var(--text);
}
.lga-hp-sub {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 520px;
    margin-bottom: 24px;
}
.lga-hp-hero-art {
    height: 240px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.10);
    box-shadow: var(--shadow-sm);
    background: linear-gradient(135deg, rgba(136,153,170,.25), rgba(160,148,112,.2) 50%, rgba(112,136,120,.2));
    filter: grayscale(.08) contrast(1.04) saturate(.95);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Search bar */
.lga-hp-search {
    display: flex;
    max-width: 460px;
    margin-bottom: 20px;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 999px;
    overflow: hidden;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
}
.lga-hp-search:focus-within { border-color: var(--text-muted); }
.lga-hp-search input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text);
    font-size: 15px;
    padding: 12px 20px;
    outline: none;
    font-family: var(--font);
}
.lga-hp-search input::placeholder { color: var(--text-muted); }
.lga-hp-search button {
    background: rgba(20,20,20,.88);
    color: rgba(245,244,241,.96);
    border: none;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 999px;
    margin: 3px;
    cursor: pointer;
}
.lga-hp-search button:hover { background: rgba(20,20,20,.95); }

.lga-hp-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* --- Glass Card Base --- */
.lga-hp-glass {
    position: relative;
    background: var(--card);
    border: 1px solid rgba(0,0,0,.10);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    padding: 18px;
    overflow: hidden;
}

/* --- Two-Column Row --- */
.lga-hp-row {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 20px;
    align-items: start;
}
.lga-hp-row-even {
    grid-template-columns: 1fr 1fr;
}

/* --- Label (uppercase section label) --- */
.lga-hp-label {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 12px;
}

/* --- Pill --- */
.lga-hp-pill {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.55);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* --- Browse MiniCards --- */
.lga-hp-minicards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}
.lga-hp-minicard {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.58);
    box-shadow: 0 8px 18px rgba(0,0,0,.06);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}
.lga-hp-minicard:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,.10);
}
.lga-hp-minicard::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--stripe, var(--dusty-blue));
    opacity: 0.95;
}
.lga-hp-minicard-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.lga-hp-minicard-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
}
.lga-hp-minicard-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* --- View All Link --- */
.lga-hp-viewall {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dusty-blue);
    text-decoration: none;
    margin-top: 4px;
}
.lga-hp-viewall:hover {
    color: var(--text);
}

/* --- Live Now --- */
.lga-hp-live { min-height: 200px; }
.lga-hp-live-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lga-hp-live-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.58);
    box-shadow: 0 8px 18px rgba(0,0,0,.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s;
}
.lga-hp-live-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0,0,0,.09);
}
.lga-hp-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sage);
    box-shadow: 0 0 0 3px rgba(112,136,120,.18);
    flex-shrink: 0;
}
.lga-hp-live-info {
    min-width: 0;
}
.lga-hp-live-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lga-hp-live-meta {
    font-size: 11px;
    color: var(--text-muted);
}
.lga-hp-live-empty {
    padding: 24px 0;
    text-align: center;
}
.lga-hp-live-empty p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* --- Game of the Day --- */
.lga-hp-gotd {
    display: flex;
    gap: 24px;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}
.lga-hp-gotd-cover {
    flex-shrink: 0;
    width: 220px;
    display: block;
}
.lga-hp-gotd-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 260px;
    display: block;
}
.lga-hp-gotd-body {
    padding: 24px 24px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.lga-hp-gotd-title {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 700;
    margin: 6px 0 8px;
    color: var(--text);
}
.lga-hp-gotd-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.lga-hp-gotd-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 10px;
}
.lga-hp-gotd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

/* --- Trending --- */
.lga-hp-trending-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0 12px;
}
.lga-hp-trending-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.58);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s;
}
.lga-hp-trending-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
.lga-hp-trending-rank {
    font-weight: 900;
    color: var(--text-muted);
    font-size: 14px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}
.lga-hp-trending-thumb {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.lga-hp-trending-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lga-hp-trending-info { min-width: 0; }
.lga-hp-trending-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lga-hp-trending-meta {
    font-size: 11px;
    color: var(--text-muted);
}

/* --- Stats --- */
.lga-hp-stats {
    padding: 18px;
}
.lga-hp-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}
.lga-hp-stat {
    text-align: center;
}
.lga-hp-stat-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
}
.lga-hp-stat-online {
    color: var(--sage);
}
.lga-hp-stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* --- Featured / Nexus Explainer --- */
.lga-hp-feature {
    padding: 18px;
}
.lga-hp-feature-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.lga-hp-feature-thumb {
    width: 100%;
    height: 160px;
    border-radius: 14px;
    overflow: hidden;
    margin: 8px 0 12px;
}
.lga-hp-feature-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lga-hp-feature-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}
.lga-hp-feature-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.lga-hp-feature-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.lga-hp-nexus-explain {
    padding: 22px;
}
.lga-hp-nexus-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    margin: 4px 0 10px;
    color: var(--text);
}
.lga-hp-nexus-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}
.lga-hp-nexus-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* --- Homepage Dark Mode --- */
body.lga-dark .lga-hp-glass {
    background: var(--bg-card);
    border-color: var(--border);
}
body.lga-dark .lga-hp-h1 { color: #fff; }
body.lga-dark .lga-hp-sub { color: var(--text-muted); }
body.lga-dark .lga-hp-label { color: var(--text-muted); }
body.lga-dark .lga-hp-minicard {
    background: rgba(255,255,255,.06);
    border-color: var(--border);
}
body.lga-dark .lga-hp-minicard-title { color: var(--text); }
body.lga-dark .lga-hp-pill {
    background: rgba(255,255,255,.08);
    border-color: var(--border);
    color: var(--text-muted);
}
body.lga-dark .lga-hp-live-item,
body.lga-dark .lga-hp-trending-item {
    background: rgba(255,255,255,.06);
    border-color: var(--border);
}
body.lga-dark .lga-hp-live-name,
body.lga-dark .lga-hp-trending-name {
    color: var(--text);
}
body.lga-dark .lga-hp-gotd {
    background: var(--bg-card);
    border-color: var(--border);
}
body.lga-dark .lga-hp-gotd-title { color: #fff; }
body.lga-dark .lga-hp-gotd-desc { color: var(--text-muted); }
body.lga-dark .lga-hp-stat-num { color: var(--text); }
body.lga-dark .lga-hp-feature-title,
body.lga-dark .lga-hp-nexus-title { color: #fff; }
body.lga-dark .lga-hp-feature-desc,
body.lga-dark .lga-hp-nexus-desc { color: var(--text-muted); }
body.lga-dark .lga-hp-viewall { color: var(--accent-dusty, #7B93A8); }
body.lga-dark .lga-hp-hero-art {
    background: linear-gradient(135deg, rgba(136,153,170,.15), rgba(160,148,112,.12) 50%, rgba(112,136,120,.12));
    border-color: var(--border);
}
body.lga-dark .lga-hp-search {
    background: var(--bg-card);
    border-color: var(--border);
}
body.lga-dark .lga-hp-search input {
    color: var(--text);
}
body.lga-dark .lga-hp-search button {
    background: rgba(255,255,255,.12);
    color: var(--text);
}

/* --- Homepage Responsive --- */
@media (max-width: 900px) {
    .lga-hp-hero-grid {
        grid-template-columns: 1fr;
    }
    .lga-hp-hero-art {
        height: 180px;
    }
    .lga-hp-h1 {
        font-size: 36px;
    }
    .lga-hp-row,
    .lga-hp-row-even {
        grid-template-columns: 1fr;
    }
    .lga-hp-minicards {
        grid-template-columns: 1fr 1fr;
    }
    .lga-hp-gotd {
        flex-direction: column;
    }
    .lga-hp-gotd-cover {
        width: 100%;
        max-height: 200px;
    }
    .lga-hp-gotd-cover img {
        min-height: auto;
    }
    .lga-hp-gotd-body {
        padding: 20px;
    }
    .lga-hp-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .lga-hp-minicards {
        grid-template-columns: 1fr;
    }
    .lga-hp-hero {
        padding: 60px 16px 20px;
    }
    .lga-hp-wrap {
        padding: 0 16px;
    }
}

/* =============================================================
   SECTIONS
   ============================================================= */
.lga-section { padding: 60px 0; }
.lga-section-dark {
    background: rgba(248,252,255,.40);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lga-section-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 16px;
}

.lga-section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.lga-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}
.lga-section-header .lga-section-title { margin-bottom: 0; }

.lga-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}
.lga-link:hover { color: var(--text); }

/* =============================================================
   PILLARS
   ============================================================= */
.lga-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lga-pillar {
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-xs);
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
}
.lga-pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.lga-pillar-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.04);
    border-radius: var(--radius);
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.lga-pillar h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}
.lga-pillar p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =============================================================
   SPOTLIGHT
   ============================================================= */
.lga-spotlight {
    display: flex;
    gap: 32px;
    align-items: stretch;
}
.lga-spotlight-thumb {
    flex-shrink: 0;
    width: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.lga-spotlight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lga-spotlight-card {
    background: var(--card);
    color: var(--text);
    border-radius: var(--radius-lg);
    padding: 48px;
    flex: 1;
    border: 1px solid var(--cardBorder);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-sm);
}

.lga-spotlight-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(0,0,0,.10);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.lga-spotlight-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.lga-spotlight-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.lga-spotlight-meta span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lga-spotlight-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}
@media (max-width: 768px) {
    .lga-spotlight { flex-direction: column; }
    .lga-spotlight-thumb { width: 100%; max-height: 200px; }
    .lga-spotlight-card { padding: 32px 24px; }
}

/* =============================================================
   CARDS / GRID
   ============================================================= */
.lga-grid {
    display: grid;
    gap: 16px;
}
.lga-grid-3 { grid-template-columns: repeat(3, 1fr); }

.lga-card {
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-xs);
}

.lga-card-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-bottom: 14px;
    background: var(--text-muted);
}

.lga-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.lga-card-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.lga-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(0,0,0,.10);
    padding: 4px 10px;
    border-radius: 999px;
}

/* =============================================================
   SESSIONS
   ============================================================= */
.lga-sessions { display: flex; flex-direction: column; gap: 12px; }

.lga-session {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-xs);
}

.lga-session-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 48px;
}
.lga-session-month {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}
.lga-session-day {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.lga-session-info { flex: 1; }
.lga-session-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.lga-session-info p { font-size: 13px; color: var(--text-muted); }

/* =============================================================
   EXPLORE THE ARCHIVE — Feature showcase grid
   ============================================================= */
.lga-explore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.lga-explore-card {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--cardBorder);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}
.lga-explore-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.lga-explore-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.lga-explore-universe .lga-explore-icon { background: rgba(102,126,234,0.12); color: #667eea; }
.lga-explore-graveyard .lga-explore-icon { background: rgba(154,112,112,0.12); color: #9A7070; }
.lga-explore-timemachine .lga-explore-icon { background: rgba(160,148,112,0.12); color: #A09470; }
.lga-explore-signalflare .lga-explore-icon { background: rgba(112,136,120,0.12); color: #708878; }
.lga-explore-card h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.lga-explore-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
}
@media (max-width: 900px) { .lga-explore-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lga-explore-grid { grid-template-columns: 1fr; } }

/* Cross-links section (shared between Universe/Graveyard/Time Machine/Signal Flare) */
.lga-crosslinks {
    padding: 48px 0;
    border-top: 1px solid var(--line);
}
.lga-crosslinks-title {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}
.lga-crosslinks-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.lga-crosslink-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: var(--radius-sm);
    background: var(--card);
    border: 1px solid var(--cardBorder);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
    text-align: center;
}
.lga-crosslink-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xs);
}
.lga-crosslink-card strong {
    font-size: 15px;
    margin-bottom: 4px;
}
.lga-crosslink-card span {
    font-size: 13px;
    color: var(--text-muted);
}
@media (max-width: 768px) { .lga-crosslinks-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lga-crosslinks-row { grid-template-columns: 1fr; } }

/* Discover strip (archive-game.php) */
.lga-discover-strip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.lga-discover-strip a {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}
.lga-discover-strip a:hover {
    color: var(--text);
    border-color: rgba(0,0,0,.18);
    background: rgba(255,255,255,.9);
}
body.lga-dark .lga-discover-strip a {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text-muted);
}
body.lga-dark .lga-discover-strip a:hover {
    color: #fff;
    border-color: #475569;
}

/* Sidebar explore links (single-game.php) */
.lga-sidebar-explore-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 0;
    text-decoration: none;
    transition: opacity 0.15s;
}
.lga-sidebar-explore-link:hover { opacity: 0.7; }
.lga-sidebar-explore-link svg { flex-shrink: 0; }

/* =============================================================
   CTA SECTION
   ============================================================= */
.lga-section-cta {
    padding: 80px 0;
    background: rgba(248,252,255,.40);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0,0,0,.06);
}

.lga-cta-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.01em;
}

.lga-cta-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* =============================================================
   USER PROFILE
   ============================================================= */
.lga-profile-hero { padding: 60px 0 0; }

.lga-profile-card {
    display: flex;
    align-items: center;
    gap: 28px;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-sm);
}

.lga-profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.7);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    object-fit: cover;
}
.lga-avatar-editable {
    position: relative;
    display: inline-block;
}
.lga-avatar-upload {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 32px;
    height: 32px;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background .15s;
}
.lga-avatar-upload:hover { background: #fff; }

.lga-email-change {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}
.lga-email-change .lga-form-group { margin-bottom: 8px; }
.lga-email-status {
    font-size: 12px;
    color: var(--muted-red);
    margin-left: 8px;
}

.lga-profile-info { flex: 1; }

.lga-profile-name {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.lga-profile-joined {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.lga-profile-bio {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 480px;
}

.lga-profile-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dusty-blue);
    margin-top: 8px;
}
.lga-profile-link:hover { text-decoration: underline; }

.lga-profile-stats {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
}

.lga-profile-stat {
    text-align: center;
    min-width: 60px;
}

.lga-profile-stat-num {
    display: block;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.lga-profile-stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.lga-profile-content { padding: 40px 0 80px; }

.lga-profile-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.lga-profile-main { flex: 1; min-width: 0; }
.lga-profile-sidebar { width: 300px; flex-shrink: 0; }

.lga-profile-section { margin-bottom: 40px; }

.lga-profile-section-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Profile game cards */
.lga-profile-games {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.lga-profile-game-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius);
    padding: 12px;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s, box-shadow 0.2s;
}
.lga-profile-game-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.lga-profile-game-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.lga-profile-game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lga-profile-game-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.lga-profile-game-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* Profile hub cards */
.lga-profile-hubs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lga-profile-hub-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius);
    padding: 14px 16px;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s;
}
.lga-profile-hub-card:hover { transform: translateX(4px); }

.lga-profile-hub-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

.lga-profile-hub-meta {
    font-size: 13px;
    color: var(--text-muted);
}

/* Profile activity */
.lga-profile-activity {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lga-profile-activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    font-size: 14px;
}
.lga-profile-activity-item a { font-weight: 600; flex: 1; }
.lga-profile-activity-item a:hover { text-decoration: underline; }

.lga-profile-activity-date {
    font-size: 12px;
    color: var(--text-muted);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .lga-profile-card { flex-direction: column; text-align: center; padding: 28px 20px; }
    .lga-profile-stats { justify-content: center; }
    .lga-profile-grid { flex-direction: column; }
    .lga-profile-sidebar { width: 100%; }
    .lga-profile-games { grid-template-columns: 1fr; }
}

/* Account detail rows */
.lga-acct-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}
.lga-acct-row:last-child { border-bottom: none; }
.lga-acct-label {
    font-size: 13px;
    color: var(--text-muted);
}
.lga-acct-val {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

/* =============================================================
   GENERIC PAGE
   ============================================================= */
.lga-page { padding: 60px 0 80px; }
.lga-page-content { max-width: 800px; margin: 0 auto; }

/* =============================================================
   PAGE HERO (archive headers, game hero, hub hero, vault hero)
   ============================================================= */
.lga-page-hero,
.lga-archive-header,
.lga-game-hero,
.lga-hub-hero,
.lga-vault-hero {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--line);
}

.lga-page-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 12px;
}

.lga-page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.lga-archive-header h1 {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
}
.lga-archive-header p {
    font-size: 16px;
    color: var(--text-secondary);
}
.lga-archive-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.lga-archive-header-contrib {
    background: rgba(248,252,255,.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--cardBorder, #e2e8f0);
    border-radius: 14px;
    padding: 12px 16px;
}
.lga-archive-header-contrib-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
}
.lga-archive-header-contrib-list {
    display: flex;
    gap: 12px;
}
.lga-archive-header-contrib-user {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
}
.lga-archive-header-contrib-user img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.lga-archive-header-contrib-user:hover {
    color: var(--dusty-blue, #8899AA);
}
body.lga-dark .lga-archive-header-contrib {
    background: rgba(30,41,59,.72);
    border-color: var(--border);
}

/* --- Game hero --- */
.lga-game-hero-inner,
.lga-hub-hero-inner,
.lga-vault-hero-inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.lga-game-hero-text,
.lga-hub-hero-text,
.lga-vault-hero-text { flex: 1; }
.lga-game-hero-text { text-align: center; }
.lga-game-hero-text h1 { text-align: center; }
.lga-game-hero-image,
.lga-hub-hero-image { flex-shrink: 0; max-width: 300px; }
.lga-card-meta-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 14px;
    background: rgba(255,255,255,.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 10px;
}
.lga-card-meta-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0,0,0,.04);
    line-height: 1.4;
}
.lga-card-meta-row:last-child { border-bottom: none; padding-bottom: 0; }
.lga-card-meta-row strong {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted, #6B7280);
    margin: 0;
    display: block;
}
.lga-card-meta-row {
    font-size: 12px;
    color: var(--text, #1A1D22);
}
body.lga-dark .lga-card-meta-list { background: var(--card, rgba(30,38,48,.45)); border-color: rgba(255,255,255,.08); }
body.lga-dark .lga-card-meta-row { border-bottom-color: rgba(255,255,255,.06); color: #E5E7EB; }
body.lga-dark .lga-card-meta-row strong { color: #9CA3AF; }

.lga-active-hubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 12px;
}
.lga-active-hub-card {
    background: var(--card, #fff);
    border: 1px solid var(--cardBorder, rgba(0,0,0,.08));
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lga-active-hub-card strong { font-size: 14px; }
.lga-active-hub-card strong a { color: var(--text); text-decoration: none; }
.lga-active-hub-card strong a:hover { color: var(--accent, #8899AA); }
.lga-active-hub-card p { font-size: 12px; margin: 0; }
.lga-active-hub-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 6px;
}
body.lga-dark .lga-active-hub-card { background: var(--bg-card, rgba(30,38,48,.5)); border-color: rgba(255,255,255,.08); }
body.lga-dark .lga-active-hub-card strong a { color: #E5E7EB; }

.lga-spotlight-v3 {
    display: flex;
    gap: 0;
    background: var(--card, #fff);
    border: 1px solid var(--cardBorder, rgba(0,0,0,.06));
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    backdrop-filter: blur(var(--blur, 14px));
    -webkit-backdrop-filter: blur(var(--blur, 14px));
    box-shadow: var(--shadow-xs, 0 1px 3px rgba(0,0,0,.04));
}
.lga-spotlight-v3-thumb {
    flex-shrink: 0;
    width: 320px;
    display: block;
}
.lga-spotlight-v3-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lga-spotlight-v3-body {
    flex: 1;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.lga-spotlight-v3-title {
    font-family: var(--font-serif, 'Playfair Display', serif);
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 6px;
}
.lga-spotlight-v3-title a { color: var(--heading); text-decoration: none; }
.lga-spotlight-v3-title a:hover { color: var(--accent, #8899AA); }
.lga-spotlight-v3-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 12px;
}
.lga-spotlight-v3-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
    margin: 0 0 14px;
}
.lga-spotlight-v3-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.lga-spotlight-v3-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--dusty-blue, #8899AA);
    text-decoration: none;
    transition: color .2s;
}
.lga-spotlight-v3-link:hover { text-decoration: none; color: #000; }
@media (max-width: 768px) {
    .lga-spotlight-v3 { flex-direction: column; }
    .lga-spotlight-v3-thumb { width: 100%; height: 200px; }
    .lga-spotlight-v3-body { padding: 20px; }
}
body.lga-dark .lga-spotlight-v3 { background: var(--card, rgba(30,38,48,.68)); border-color: rgba(255,255,255,.08); }
body.lga-dark .lga-spotlight-v3-title a { color: #F9FAFB; }
.lga-quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.lga-game-summary-layout {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 32px;
    align-items: start;
    margin-bottom: 16px;
    text-align: left;
}
.lga-game-summary-main { min-width: 0; }
.lga-game-summary-main .lga-game-summary { text-align: center; margin: 0; }
.lga-game-meta-sidebar {
    background: rgba(255,255,255,.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lga-meta-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0,0,0,.04);
}
.lga-meta-row:last-child { border-bottom: none; padding-bottom: 0; }
.lga-meta-row strong {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}
.lga-meta-row span {
    font-size: 14px;
    color: var(--text);
}
@media (max-width: 768px) {
    .lga-game-summary-layout { grid-template-columns: 1fr; }
}
body.lga-dark .lga-game-meta-sidebar { background: var(--card, rgba(30,38,48,.45)); border-color: rgba(255,255,255,.08); }
body.lga-dark .lga-meta-row { border-bottom-color: rgba(255,255,255,.06); }

.lga-game-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 10px;
}
.lga-game-hero-image-top {
    max-width: 680px;
    margin: 0 auto 28px;
    text-align: center;
}
.lga-game-hero-image-top img {
    width: 100%;
    max-height: 420px;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.lga-game-hero-text h1,
.lga-hub-hero-text h1,
.lga-vault-hero-text h1 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.lga-status-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(0,0,0,.10);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.lga-game-summary,
.lga-hub-type {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.lga-game-key-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}
.lga-game-key-meta span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* =============================================================
   PROSE (Long-form content)
   ============================================================= */
.lga-prose h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 12px;
    letter-spacing: 0.01em;
}
.lga-prose h2:first-child { margin-top: 0; }
.lga-prose h3 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; }
.lga-prose p { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.lga-prose ul, .lga-prose ol { padding-left: 24px; margin-bottom: 16px; }
.lga-prose li { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 4px; list-style: disc; }

/* =============================================================
   SIDEBAR CARDS
   ============================================================= */
.lga-sidebar-card {
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 16px;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-xs);
}
.lga-sidebar-card h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* =============================================================
   CONTENT LAYOUTS (game, hub, vault)
   ============================================================= */
.lga-game-content,
.lga-hub-content,
.lga-vault-content {
    padding: 40px 0;
}

.lga-game-content-inner,
.lga-hub-content-inner,
.lga-vault-content-inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.lga-game-main,
.lga-hub-main,
.lga-vault-main { flex: 1; min-width: 0; }
.lga-game-sidebar,
.lga-hub-sidebar { width: 300px; flex-shrink: 0; }
.lga-game-sidebar:only-child { width: 100%; }

/* =============================================================
   HUB ROOM MODULES
   ============================================================= */
.hub-room-header {
    padding: 40px 0;
    border-bottom: 1px solid var(--line);
}
.hub-room-about h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hub-room-modules {
    padding: 40px 0;
}

.hub-module {
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-xs);
}
.hub-module h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}
.hub-module-placeholder {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}
.hub-module-section {
    margin-bottom: 20px;
}
.hub-module-section:last-child {
    margin-bottom: 0;
}

.hub-play-embed-placeholder {
    background: rgba(0,0,0,.03);
    border: 2px dashed var(--line);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* =============================================================
   PLAY PANEL
   ============================================================= */
.room-panel-play h2 { margin-bottom: 16px; }
.play-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #000;
}
.play-embed iframe {
    display: block;
    border: none;
    width: 100%;
}
.play-embed-note {
    font-size: 12px;
    margin-top: 8px;
}
.play-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.play-requirements {
    margin-top: 12px;
    padding: 16px;
    background: rgba(0,0,0,.02);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.play-requirements strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.play-requirements .lga-prose p { font-size: 14px; margin-bottom: 4px; }
.play-server-info { margin-top: 12px; }
.copy-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: rgba(0,0,0,.03);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 14px;
}
.copy-pill-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.copy-pill code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 14px;
    color: var(--text);
    background: none;
    padding: 0;
}

/* =============================================================
   ROOM STATE PILLS
   ============================================================= */
.room-state {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}
.room-state-active     { background: #e6f7ee; color: #1e7f4f; }
.room-state-revival    { background: #eef4ff; color: #1e3a8a; }
.room-state-recruiting { background: #fff6e6; color: #9a5800; }
.room-state-dormant    { background: #f2f2f2; color: #666; }
.room-state-archived   { background: #f8e6e6; color: #8a1e1e; }

/* =============================================================
   GAME TAGS
   ============================================================= */
.lga-game-tags {
    padding: 20px 0 40px;
}
.lga-game-tags .lga-tag {
    margin-right: 8px;
    margin-bottom: 8px;
}

/* =============================================================
   ARCHIVE FILTERS
   ============================================================= */
.lga-archive-filters {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}
.lga-filter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.lga-filter-form select,
.lga-filter-form input[type="text"] {
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(0,0,0,.10);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    outline: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.lga-filter-form button {
    background: rgba(20,20,20,.88);
    color: rgba(245,244,241,.96);
    border: none;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 999px;
    cursor: pointer;
}
.lga-filter-form button:hover { background: rgba(20,20,20,.95); }

/* =============================================================
   ARCHIVE GRID (game cards, hub cards, vault cards)
   ============================================================= */
.lga-archive-grid {
    padding: 40px 0;
}
.lga-game-grid,
.lga-hub-grid,
.lga-vault-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lga-game-card,
.lga-hub-card,
.lga-vault-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s, box-shadow 0.2s;
}
.lga-game-card:hover,
.lga-hub-card:hover,
.lga-vault-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.lga-game-card-body,
.lga-hub-card-body,
.lga-vault-card-body {
    padding: 20px;
}
.lga-game-card-body h2,
.lga-hub-card-body h2,
.lga-vault-card-body h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}
.lga-game-card-body h2 a:hover,
.lga-hub-card-body h2 a:hover,
.lga-vault-card-body h2 a:hover {
    color: var(--text-secondary);
}

/* Hub card enhanced layout */
.lga-hub-card-thumb { position: relative; height: 140px; overflow: hidden; border-radius: var(--r, 18px) var(--r, 18px) 0 0; }
.lga-hub-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lga-hub-card-thumb-placeholder {
    background: linear-gradient(135deg, #1a1f2e 0%, #2a3042 50%, #1a2535 100%);
    display: flex; align-items: center; justify-content: center;
}
.lga-hub-card-icon { color: rgba(255,255,255,.25); }
.lga-hub-card-type-badge {
    position: absolute; bottom: 8px; right: 8px;
    background: rgba(0,0,0,.6); color: #fff;
    font-size: 10px; font-weight: 600; letter-spacing: .5px;
    text-transform: uppercase; padding: 2px 8px; border-radius: 4px;
}
.lga-hub-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.lga-hub-status .lga-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.lga-dot-green { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.4); }
.lga-dot-yellow { background: #eab308; box-shadow: 0 0 6px rgba(234,179,8,.3); }
.lga-dot-gray { background: #94a3b8; }
.lga-hub-game { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.lga-hub-game a { color: var(--accent, #8899AA); text-decoration: none; }
.lga-hub-game a:hover { text-decoration: underline; }
.lga-hub-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lga-hub-card-footer { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line, rgba(0,0,0,.06)); }
.lga-hub-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lga-hub-card-avatars { display: flex; }
.lga-hub-card-av { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--card, #fff); margin-left: -6px; object-fit: cover; }
.lga-hub-card-av:first-child { margin-left: 0; }
.lga-hub-card-av-more { width: 24px; height: 24px; border-radius: 50%; background: var(--line, #E5E7EB); display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: var(--text-muted); margin-left: -6px; border: 2px solid var(--card, #fff); }
.lga-hub-card-stats { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-muted); flex-wrap: wrap; }
.lga-hub-card-sessions { color: var(--accent, #8899AA); }
.lga-hub-card-online { color: #22c55e; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.lga-pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: lga-pulse 1.5s infinite; }
@keyframes lga-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.lga-hub-card-body { display: flex; flex-direction: column; min-height: 0; }
.lga-hub-card-thumb-empty { min-height: 32px; }
.lga-live-pill {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1.4;
    animation: lga-live-pulse 2s ease-in-out infinite;
    z-index: 2;
}
@keyframes lga-live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .7; }
}
.lga-hub-card-live { border-color: #dc2626; }
.lga-hub-live-since {
    font-size: 12px;
    color: #dc2626;
    font-weight: 600;
}
/* Live dot next to hub title */
.lga-live-dot {
    display: inline-block;
    width: 8px; height: 8px;
    background: #dc2626;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
    animation: lga-live-dot-pulse 2s ease-in-out infinite;
    cursor: help;
}
@keyframes lga-live-dot-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(220,38,38,.4); }
    50% { opacity: .8; box-shadow: 0 0 0 4px rgba(220,38,38,0); }
}

/* Game card thumb positioning (for LIVE pill) */
.lga-game-card-thumb { position: relative; height: 140px; overflow: hidden; border-radius: var(--r, 18px) var(--r, 18px) 0 0; }
.lga-game-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lga-game-card-thumb-empty { min-height: 32px; position: relative; }

/* Hub intelligence badges (jewel tones) */
.lga-game-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
/* Archive: Hub Status Dots */
.lga-hub-status { margin-top: 10px; font-size: 14px; }
.lga-hub-link {
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none; color: #555; transition: opacity .2s ease;
}
.lga-hub-link:hover { opacity: 0.8; }
.lga-hub-link.disabled { pointer-events: none; opacity: 0.5; }
.lga-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lga-dot.green { background: #3ddc84; }
.lga-dot.purple { background: #8e5eff; }
.lga-dot.gray { background: #888; }

.lga-status-chip,
.lga-file-type-badge,
.lga-access-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(0,0,0,.10);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    margin-right: 6px;
}

.lga-game-meta,
.lga-hub-type,
.lga-hub-game,
.lga-hub-activity,
.lga-vault-meta,
.lga-vault-excerpt,
.lga-game-summary {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* =============================================================
   VAULT DOWNLOADS
   ============================================================= */
.lga-vault-downloads h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 12px;
}
.lga-download-list {
    list-style: none;
    padding: 0;
}
.lga-download-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}
.lga-download-list a {
    font-weight: 600;
    color: var(--text);
}
.lga-download-list a:hover { text-decoration: underline; }
.lga-file-size { font-size: 13px; color: var(--text-muted); }

/* =============================================================
   PAGINATION
   ============================================================= */
.lga-pagination {
    padding: 20px 0;
}
.lga-pagination .nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.lga-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.55);
    white-space: nowrap;
}
.lga-pagination .page-numbers:not(.next):not(.prev) {
    padding: 0;
    width: 36px;
}
.lga-pagination .page-numbers.current {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}

/* =============================================================
   FORMS
   ============================================================= */
.lga-form { max-width: 600px; }
.lga-form-group { margin-bottom: 24px; }
.lga-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}
.lga-form-group input[type="text"],
.lga-form-group input[type="email"],
.lga-form-group select,
.lga-form-group textarea {
    width: 100%;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(0,0,0,.10);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    padding: 12px 16px;
    border-radius: var(--radius);
    outline: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.lga-form-group input:focus,
.lga-form-group select:focus,
.lga-form-group textarea:focus {
    border-color: var(--text-muted);
}
.lga-form-group textarea { resize: vertical; min-height: 120px; }
.lga-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.lga-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}

.lga-alert {
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
}
.lga-alert-success {
    background: rgba(34,197,94,.08);
    border: 1px solid rgba(34,197,94,.2);
    color: #166534;
}

/* Notices (submit forms) */
.lga-notice {
    border-radius: var(--radius);
    padding: 20px;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.6;
}
.lga-notice-success {
    background: rgba(34,197,94,.08);
    border: 1px solid rgba(34,197,94,.25);
    color: #166534;
}
.lga-notice-error {
    background: rgba(239,68,68,.06);
    border: 1px solid rgba(239,68,68,.25);
    color: #991B1B;
}

/* Field (lightweight form group) */
.lga-field { margin-bottom: 0; }
.lga-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}
.lga-field input[type="text"],
.lga-field input[type="email"],
.lga-field input[type="url"],
.lga-field select,
.lga-field textarea {
    width: 100%;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(0,0,0,.10);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    padding: 10px 14px;
    border-radius: var(--radius);
    outline: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.lga-field input:focus,
.lga-field select:focus,
.lga-field textarea:focus {
    border-color: var(--text-muted);
}
.lga-field textarea { resize: vertical; }
.lga-field small {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}
.lga-required { color: var(--muted-red); }

/* Submit form helpers */
.lga-submit-wrap { max-width: 640px; }
.lga-submit-form { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.lga-auth-gate { padding: 80px 20px; }

/* Sidebar text helpers */
.lga-sidebar-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}
.lga-sidebar-text-muted {
    color: var(--text-muted);
    font-style: italic;
}

/* Modal helpers */
.lga-modal-desc { margin-bottom: 16px; }
.lga-modal-status { margin-top: 12px; font-size: 13px; }
.lga-vault-select-full { width: 100%; margin-top: 4px; }

/* =============================================================
   STEPS (How It Works)
   ============================================================= */
.lga-steps { max-width: 640px; }
.lga-step { display: flex; gap: 32px; align-items: flex-start; }
.lga-step-number {
    font-size: 48px;
    font-weight: 900;
    color: rgba(0,0,0,.08);
    line-height: 1;
    flex-shrink: 0;
    min-width: 72px;
}
.lga-step-content h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.lga-step-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.lga-step-divider { width: 2px; height: 40px; background: var(--line); margin: 20px 0 20px 34px; }

/* =============================================================
   FEATURES / CALLOUTS / COMPARE
   ============================================================= */
.lga-feature-list { display: flex; flex-direction: column; gap: 24px; margin: 24px 0 40px; }
.lga-feature-item { display: flex; gap: 16px; align-items: flex-start; }
.lga-feature-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.04);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    flex-shrink: 0;
    color: var(--text-secondary);
}
.lga-feature-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.lga-feature-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; }

.lga-callout {
    background: rgba(0,0,0,.02);
    border: 1px solid var(--line);
    border-left: 3px solid var(--text-muted);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px;
    margin: 32px 0;
}
.lga-callout h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.lga-callout p { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.7; }

.lga-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.lga-compare-col {
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-xs);
}
.lga-compare-col h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.lga-compare-col li { font-size: 14px; color: var(--text-secondary); line-height: 2; list-style: none; }

/* =============================================================
   POLICIES
   ============================================================= */
.lga-policy-links { display: flex; flex-direction: column; gap: 12px; }
.lga-policy-card {
    display: block;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s, box-shadow 0.2s;
}
.lga-policy-card:hover {
    border-color: var(--text-muted);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.lga-policy-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.lga-policy-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 8px; }

/* =============================================================
   FOOTER  (shared classes: WP + phpBB)
   ============================================================= */
.site-footer {
    border-top: 1px solid rgba(0,0,0,.08);
    padding: 48px 0 0;
    background: rgba(248,252,255,.55);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
}
.foot-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px 40px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.foot-left {
    flex-shrink: 0;
    min-width: 180px;
}
.foot-brand {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 6px;
}
.foot-tagline {
    font-size: 14px;
    color: var(--text-muted);
}
.foot-links {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.foot-col-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.foot-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 3px 0;
    text-decoration: none;
}
.foot-col a:hover { color: var(--text); }
.foot-credit {
    max-width: var(--container);
    margin: 0 auto;
    padding: 20px 24px;
    border-top: 1px solid var(--line);
}
.foot-credit p {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2px;
}
.foot-online {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text-secondary) !important;
    margin-bottom: 8px !important;
}
.foot-online .lga-online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    display: inline-block;
    animation: lga-pulse 2s infinite;
}
.lga-stat-online {
    color: #22C55E !important;
}

/* =============================================================
   NEXUS GAME ROOM — Light Surface
   ============================================================= */

/* --- Hero --- */
.nr-hero { padding: 48px 0 32px; border-bottom: 1px solid #E5E9EF; }
.nr-hero-inner { display: flex; gap: 40px; align-items: flex-start; }
.nr-hero-text { flex: 1; }
.nr-hero-image { flex-shrink: 0; max-width: 280px; }
.nr-hero-image img { border-radius: var(--radius-lg); }
.nr-hero-text h1 { font-family: var(--font-serif); font-size: 32px; font-weight: 700; letter-spacing: 0.01em; margin: 8px 0 10px; }
.nr-hero-type { font-size: 14px; color: var(--text-muted); margin-left: 8px; }
.nr-hero-excerpt { font-size: 16px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; }
.nr-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.nr-hero-meta { font-size: 13px; color: var(--text-muted); }

/* --- Button variants --- */
.btn-primary {
    display: inline-block;
    padding: 10px 24px;
    background: var(--text);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    text-decoration: none;
    transition: opacity .15s;
}
.btn-primary:hover { opacity: .85; background: var(--text); color: #fff; }
.btn-outline {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    color: var(--text);
    border: 1px solid #D1D5DB;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    text-decoration: none;
    transition: border-color .15s;
}
.btn-outline:hover { border-color: var(--text-muted); }
.btn-block { display: block; width: 100%; text-align: center; box-sizing: border-box; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* --- Grid --- */
.nr-body { padding: 32px 0 60px; }
.nr-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}
.nr-main { min-width: 0; }

/* --- Cards (main column) --- */
.nr-card {
    background: #fff;
    border: 1px solid #E5E9EF;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.nr-card h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* --- Side cards (sidebar) --- */
.nr-side-card {
    background: #fff;
    border: 1px solid #E5E9EF;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.nr-side-card h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* --- Play Arena card --- */
.nr-play .nr-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.nr-play .nr-card-header h2 { margin-bottom: 0; }
.nr-arena-trigger {
    background: transparent;
    border: 1px solid #D1D5DB;
    border-radius: var(--radius);
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    font-family: var(--font);
    transition: border-color .15s;
}
.nr-arena-trigger:hover { border-color: var(--text-muted); }

.nr-play-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #E5E9EF;
    background: #000;
}
.nr-play-embed iframe {
    display: block;
    border: none;
    width: 100%;
}
.nr-play-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.nr-play-reqs {
    margin-top: 16px;
    padding: 16px;
    background: #F8F9FB;
    border: 1px solid #E5E9EF;
    border-radius: var(--radius);
}
.nr-play-reqs-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.nr-play-server { margin-top: 12px; }

/* --- Copy pill --- */
.nr-copy-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #F8F9FB;
    border: 1px solid #E5E9EF;
    border-radius: var(--radius);
    font-size: 14px;
}
.nr-copy-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.nr-copy-pill code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 14px;
    color: var(--text);
    background: none;
    padding: 0;
}
.nr-copy-btn {
    background: none;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font);
}
.nr-copy-btn:hover { color: var(--text); border-color: var(--text-muted); }

/* --- Muted text --- */
.nr-muted { font-size: 14px; color: var(--text-muted); }

/* --- Task list --- */
.nr-task-list { padding-left: 20px; }
.nr-task-list li {
    list-style: disc;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 4px;
}

/* --- Sidebar lists --- */
.nr-link-list li {
    padding: 8px 0;
    border-bottom: 1px solid #F0F2F5;
}
.nr-link-list li:last-child { border-bottom: none; }
.nr-link-list a { font-size: 14px; font-weight: 600; color: var(--text); }
.nr-link-list a:hover { text-decoration: underline; }

.nr-event-row {
    display: flex;
    gap: 10px;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid #F0F2F5;
}
.nr-event-row:last-child { border-bottom: none; }
.nr-event-date {
    font-size: 12px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    color: var(--text-muted);
    flex-shrink: 0;
}
.nr-event-row a { font-size: 13px; font-weight: 600; color: var(--text); }
.nr-event-row a:hover { text-decoration: underline; }

.nr-vault-row {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #F0F2F5;
}
.nr-vault-row:last-child { border-bottom: none; }
.nr-vault-row a { font-size: 13px; font-weight: 600; color: var(--text); }
.nr-vault-row a:hover { text-decoration: underline; }

.nr-admin-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 8px;
}
.nr-admin-link:hover { color: var(--text); }

.nr-admin-hint {
    font-size: 12px;
    color: #92400E;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 8px;
    line-height: 1.5;
}

/* --- Disabled / Coming Soon states --- */
.btn-disabled,
.btn-disabled:hover,
.btn[disabled],
.btn[disabled]:hover,
button.btn[aria-disabled="true"],
button.btn[aria-disabled="true"]:hover {
    background: #E5E9EF;
    color: #9CA3AF;
    border-color: #E5E9EF;
    cursor: not-allowed;
    pointer-events: none;
    opacity: .7;
    user-select: none;
}
.nr-coming-soon {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 8px;
}
.nr-launch-btn-disabled,
.nr-launch-btn-disabled:hover,
.nr-launch-btn[disabled],
.nr-launch-btn[disabled]:hover {
    background: rgba(255,255,255,.10);
    color: rgba(255,255,255,.30);
    border-color: rgba(255,255,255,.06);
    cursor: not-allowed;
    pointer-events: none;
    opacity: .6;
    user-select: none;
}

/* =============================================================
   FULL ARENA OVERLAY — Dark Immersive
   ============================================================= */
.nexus-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0b0f14;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}
.nexus-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.nexus-overlay-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/* Top: game screen area -- fills all available space */
.nexus-overlay-screen {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
}
.nexus-overlay-screen iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

/* ═══ Arena Shell System — Fixed Canvas + PNG-Ready Frames ═══
   Canvas: 1200x720 fixed, responsive via max-width.
   Frame: stone/taupe chrome base, ::before reserved for PNG overlay.
   Screen: absolutely positioned via per-shell CSS vars.
   Per-shell vars: --shell-img, --screen-top/left/right/bottom */

/* Responsive canvas -- fills all available space in overlay */
.lga-arena-shell {
    width: 50%;
    height: 100%;
    position: relative;
    flex-shrink: 1;
    min-height: 0;
    margin: 0 auto;
}

/* Frame = chrome container + PNG overlay */
.lga-shell-frame {
    position: absolute;
    inset: 0;
    background: var(--shell-chrome, #9a9189);
    border-radius: var(--shell-radius, 12px);
    border: var(--shell-border, 4px solid #b0a899);
    box-shadow: 0 4px 24px rgba(0,0,0,.4);
    overflow: hidden;
}

/* PNG frame overlay (transparent screen hole) */
.lga-shell-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--shell-img, none);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    pointer-events: none;
}

/* Screen = content area, positioned via per-shell vars */
.lga-shell-screen {
    position: absolute;
    top: var(--screen-top, 5%);
    left: var(--screen-left, 3%);
    right: var(--screen-right, 3%);
    bottom: var(--screen-bottom, 5%);
    background: #0b0f14;
    border-radius: var(--screen-radius, 6px);
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0,0,0,.5);
    z-index: 4;
    display: flex;
    flex-direction: column;
}
.lga-shell-screen iframe { width: 100%; height: 100%; border: none; flex: 1; }
.lga-shell-screen .nr-launch-panel { width: 100%; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* ── 17 Shell Themes ── */
/* Computers — 4 shells, all with art */
.lga-shell-win95_crt {
    --shell-img: url('../img/arena-shells/win95_crt.png');
    --shell-chrome: #C0C0C0;
    --shell-border: 6px solid #A0A0A0;
    --shell-radius: 8px;
    --screen-radius: 4px;
    --screen-top: 6%;
    --screen-left: 4%;
    --screen-right: 4%;
    --screen-bottom: 12%;
}
.lga-shell-imac_1998 {
    --shell-img: url('../img/arena-shells/imac_1998.png');
    --shell-chrome: #4A9E9E;
    --shell-border: 5px solid #5CB8B8;
    --shell-radius: 20px;
    --screen-radius: 12px;
    --screen-top: 7%;
    --screen-left: 5%;
    --screen-right: 5%;
    --screen-bottom: 14%;
}
.lga-shell-mac_classic {
    --shell-img: url('../img/arena-shells/mac_classic.png');
    --shell-chrome: #D2C6A5;
    --shell-border: 5px solid #B8B0A0;
    --shell-radius: 4px;
    --screen-radius: 2px;
    --screen-top: 6%;
    --screen-left: 4%;
    --screen-right: 4%;
    --screen-bottom: 18%;
}
.lga-shell-dell_2003 {
    --shell-img: url('../img/arena-shells/dell_2003.png');
    --shell-chrome: #7a7a7a;
    --shell-border: 3px solid #999;
    --shell-radius: 6px;
    --screen-top: 5%;
    --screen-left: 3%;
    --screen-right: 3%;
    --screen-bottom: 10%;
}
/* Consoles — 7 shells, all with art */
.lga-shell-nes {
    --shell-img: url('../img/arena-shells/nes.png');
    --shell-chrome: #a09a90;
    --shell-border: 5px solid #9a9189;
    --shell-radius: 8px;
    --screen-top: 6%;
    --screen-left: 5%;
    --screen-right: 5%;
    --screen-bottom: 10%;
}
.lga-shell-snes {
    --shell-img: url('../img/arena-shells/snes.png');
    --shell-chrome: #a5a0a8;
    --shell-border: 5px solid #9590a0;
    --shell-radius: 10px;
    --screen-top: 6%;
    --screen-left: 5%;
    --screen-right: 5%;
    --screen-bottom: 10%;
}
.lga-shell-n64 {
    --shell-img: url('../img/arena-shells/n64.png');
    --shell-chrome: #8a8a8a;
    --shell-border: 5px solid #999;
    --shell-radius: 14px;
    --screen-top: 7%;
    --screen-left: 5%;
    --screen-right: 5%;
    --screen-bottom: 10%;
}
.lga-shell-sega_tv {
    --shell-img: url('../img/arena-shells/sega_tv.png');
    --shell-chrome: #9a9189;
    --shell-border: 5px solid #8a8178;
    --shell-radius: 6px;
    --screen-top: 6%;
    --screen-left: 5%;
    --screen-right: 5%;
    --screen-bottom: 10%;
}
.lga-shell-atari_wood {
    --shell-img: url('../img/arena-shells/atari_wood.png');
    --shell-chrome: #8B7355;
    --shell-border: 6px solid #6B5234;
    --shell-radius: 6px;
    --screen-top: 7%;
    --screen-left: 6%;
    --screen-right: 6%;
    --screen-bottom: 12%;
}
.lga-shell-ps2 {
    --shell-img: url('../img/arena-shells/ps2.png');
    --shell-chrome: #2a2a3a;
    --shell-border: 3px solid #3a3a4a;
    --shell-radius: 6px;
    --screen-top: 5%;
    --screen-left: 3%;
    --screen-right: 3%;
    --screen-bottom: 8%;
}
.lga-shell-xbox {
    --shell-img: url('../img/arena-shells/xbox.png');
    --shell-chrome: #6a7a6a;
    --shell-border: 3px solid #7a8a7a;
    --shell-radius: 8px;
    --screen-top: 5%;
    --screen-left: 3%;
    --screen-right: 3%;
    --screen-bottom: 8%;
}
/* Handheld & Novelty — 6 shells, hooks only (no art yet) */
.lga-shell-arcade {
    --shell-chrome: #6a6a88;
    --shell-border: 5px solid #5a5a78;
    --shell-radius: 8px;
    --screen-top: 8%;
    --screen-left: 5%;
    --screen-right: 5%;
    --screen-bottom: 10%;
}
.lga-shell-arcade .lga-shell-frame::after {
    content: 'ARCADE';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 28px;
    background: linear-gradient(90deg, #FF6B35, #F7C948, #22D3EE, #A855F7);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
}
.lga-shell-gameboy {
    --shell-chrome: #B4B5B0;
    --shell-border: 8px solid #9A9B96;
    --shell-radius: 10px;
    --screen-radius: 4px;
    --screen-top: 8%;
    --screen-left: 8%;
    --screen-right: 8%;
    --screen-bottom: 22%;
}
.lga-shell-gameboy .lga-shell-screen {
    background: #0b1a0b;
}
.lga-shell-psp {
    --shell-chrome: #8a8a90;
    --shell-border: 3px solid #9a9aa0;
    --shell-radius: 16px;
    --screen-top: 8%;
    --screen-left: 12%;
    --screen-right: 12%;
    --screen-bottom: 8%;
}
.lga-shell-etch_a_sketch {
    --shell-chrome: #E85555;
    --shell-border: 8px solid #DD4444;
    --shell-radius: 20px;
    --screen-radius: 4px;
    --screen-top: 8%;
    --screen-left: 8%;
    --screen-right: 8%;
    --screen-bottom: 18%;
}
.lga-shell-pacman {
    --shell-chrome: #8a8a78;
    --shell-border: 4px solid #9a9a88;
    --shell-radius: 8px;
    --screen-top: 5%;
    --screen-left: 4%;
    --screen-right: 4%;
    --screen-bottom: 8%;
}
.lga-shell-pacman .lga-shell-frame {
    box-shadow: 0 4px 24px rgba(0,0,0,.4), inset 0 0 0 2px #F7C948;
}
.lga-shell-geocities_window {
    --shell-chrome: #D0D0D0;
    --shell-border: 3px solid #888;
    --shell-radius: 6px;
    --screen-top: 7%;
    --screen-left: 3%;
    --screen-right: 3%;
    --screen-bottom: 5%;
}
.lga-shell-geocities_window .lga-shell-frame::after {
    content: 'My Game Space';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 26px;
    background: linear-gradient(90deg, #000080, #1084d0);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding-left: 8px;
    z-index: 3;
    pointer-events: none;
}

/* Shell picker button in overlay header */
.lga-shell-picker-btn {
    background: transparent;
    color: #9CA3AF;
    border-color: #2A3442;
    margin-top: 8px;
}
.lga-shell-picker-btn:hover {
    border-color: #3B82F6;
    color: #fff;
    background: transparent;
}
.lga-build-stamp {
    display: block;
    font-size: 10px;
    color: #4B5563;
    margin-top: 4px;
    font-family: monospace;
}

/* Shell picker modal */
.lga-shell-modal-box {
    max-width: 520px;
    background: #151B22;
    color: #fff;
    border: 1px solid #2A3442;
}
.lga-shell-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 16px;
}
.lga-shell-group-label {
    grid-column: 1 / -1;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6B7280;
    padding: 8px 0 2px;
}
.lga-shell-group-label:first-child {
    padding-top: 0;
}
.lga-shell-choice {
    padding: 12px 8px;
    border: 2px solid #2A3442;
    border-radius: 8px;
    cursor: pointer;
    background: #151B22;
    color: #9CA3AF;
    font-size: 12px;
    font-family: var(--font);
    text-align: center;
    transition: border-color .15s, color .15s, background .15s;
}
.lga-shell-choice:hover {
    border-color: #3B82F6;
    color: #fff;
}
.lga-shell-choice.is-active {
    border-color: #3B82F6;
    background: #1E293B;
    color: #fff;
}

/* Arena Interior: single column inside screen (LIVE-gated) */
.nr-arena-interior {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #0b0f14;
    z-index: 5;
}
.nr-arena-interior[hidden] { display: none; }
.nr-arena-table-surface {
    display: none;
}
.nr-arena-state-info { color: #6B7280; font-size: 13px; }
.nr-arena-host-controls {
    display: none;
}
/* Arena Chat (fills full panel when LIVE) */
.nr-arena-chat {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
.nr-arena-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 6px 8px;
    font-size: 13px;
    min-height: 60px;
}
.nr-arena-chat-msg {
    display: flex;
    gap: 6px;
    padding: 3px 0;
    align-items: flex-start;
}
.nr-arena-chat-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}
.nr-arena-chat-body { min-width: 0; }
.nr-arena-chat-name {
    font-weight: 600;
    color: #93c5fd;
    font-size: 12px;
}
.nr-arena-chat-text {
    color: #d1d5db;
    font-size: 13px;
    word-break: break-word;
}
.nr-arena-chat-form {
    display: flex;
    gap: 4px;
    padding: 4px 8px 6px;
    border-top: 1px solid #1a2030;
}
.nr-arena-chat-form input {
    flex: 1;
    background: #151B22;
    border: 1px solid #2A3442;
    border-radius: 4px;
    padding: 4px 8px;
    color: #fff;
    font-size: 13px;
    font-family: var(--font);
}
.nr-arena-chat-form input:focus {
    outline: none;
    border-color: #3B82F6;
}
/* Arena Presence (in overlay right rail) */
.nr-arena-presence-section {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #1E2630;
}
.nr-arena-presence-heading {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6B7280;
    margin-bottom: 8px;
}
.nr-arena-user {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
}
.nr-arena-user-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}
.nr-arena-user-name {
    font-size: 12px;
    color: #d1d5db;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}
.nr-arena-user-role {
    font-size: 10px;
    color: #6B7280;
    flex-shrink: 0;
}
/* Arena Activity Feed (dock section) */
.nr-arena-activity-section[hidden] { display: none; }
.nr-arena-activity-list {
    max-height: 180px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 2px;
}
.nr-arena-activity-item {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 2px 0; font-size: 12px;
}
.nr-arena-activity-text { color: #9CA3AF; }
.nr-arena-activity-time { font-size: 10px; color: #6B7280; white-space: nowrap; margin-left: 8px; }
/* Arena Chat (right rail section) */
.nr-arena-chat-section .nr-arena-chat-messages {
    max-height: 280px;
    min-height: 80px;
    background: rgba(0,0,0,.2);
    border: 1px solid #1E2630;
    border-radius: 6px;
}
.nr-arena-chat-jump {
    display: block;
    width: 100%;
    padding: 4px 0;
    background: rgba(59,130,246,.15);
    border: none;
    border-radius: 0 0 6px 6px;
    color: #3B82F6;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}
.nr-arena-chat-jump:hover { background: rgba(59,130,246,.25); }
.nr-arena-chat-jump[hidden] { display: none; }
.nr-arena-chat-private {
    font-size: 12px;
    color: #6B7280;
    font-style: italic;
    padding: 12px 0;
}
.nr-arena-chat-section .nr-arena-chat-form { margin-top: 6px; }

/* Voice & Camera coming-soon buttons (overlay right) */
.nr-coming-soon-btn {
    width: 100%;
    opacity: .5;
    cursor: default;
}

/* Arena Offline */
.nr-arena-offline {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    padding: 24px;
    z-index: 6;
    background: #0b0f14;
}
.nr-arena-offline[hidden] { display: none; }
.nr-arena-offline-msg {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 12px;
}
.nr-arena-offline .nr-launch-btn {
    font-size: 13px;
}
/* ── Mode Tabs (Chat / Board / Play) ── */
.nr-mode-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    border-bottom: 1px solid #1E2630;
    background: #0d1117;
    flex-shrink: 0;
    overflow: hidden;
}
.nr-mode-tab {
    flex: 0 0 auto;
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #6B7280;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
    white-space: nowrap;
}
.nr-mode-tab:hover { color: #9CA3AF; }
.nr-mode-tab.is-active { color: #fff; border-bottom-color: #3B82F6; }
.nr-mode-panel { flex: 1; display: flex; flex-direction: column; min-height: 0; overflow: auto; }
.nr-mode-panel[hidden] { display: none; }
/* ── Board Mode v4 (pan/zoom + grid + token editor) ── */
.nr-board-topbar {
    display: flex; align-items: center; gap: 6px;
    padding: 4px 8px; background: #0b0f14;
    border-bottom: 1px solid #1E2630;
    font-size: 11px; color: #9CA3AF; flex-shrink: 0;
    flex-wrap: wrap;
}
.nr-board-map-name {
    font-size: 12px; color: #d1d5db; font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 180px;
}
.nr-board-lock-indicator {
    display: inline-flex; align-items: center; gap: 3px;
    color: #F59E0B; font-weight: 600; font-size: 10px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.nr-board-lock-indicator svg { opacity: 0.8; }
.nr-board-grid-toggle {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 11px; color: #9CA3AF; cursor: pointer;
    user-select: none;
}
.nr-board-grid-toggle input[type="checkbox"] {
    width: 13px; height: 13px; margin: 0;
    accent-color: #3B82F6;
}
.nr-board-grid-slider {
    width: 60px; height: 3px;
    -webkit-appearance: none; appearance: none;
    background: #2d3748; border-radius: 2px;
    outline: none; cursor: pointer;
}
.nr-board-grid-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 10px; height: 10px; border-radius: 50%;
    background: #9CA3AF; cursor: pointer;
}
.nr-board-grid-slider::-moz-range-thumb {
    width: 10px; height: 10px; border-radius: 50%;
    background: #9CA3AF; border: none; cursor: pointer;
}
.nr-board-grid-label {
    font-variant-numeric: tabular-nums;
    font-size: 11px; color: #6B7280;
    min-width: 30px; text-align: center;
}
.nr-board-zoom {
    font-variant-numeric: tabular-nums;
    font-size: 11px; color: #9CA3AF;
    min-width: 36px; text-align: center;
}
.nr-board-status { margin-left: auto; }
.nr-board-surface {
    flex: 1; position: relative; overflow: hidden;
    background: #1a1f26; min-height: 200px;
    cursor: grab;
}
.nr-board-surface.is-panning { cursor: grabbing; }
/* Viewport: transformed layer for pan/zoom */
.nr-board-viewport {
    position: absolute; inset: 0;
    transform-origin: 0 0;
}
.nr-board-map {
    width: 100%; height: 100%; object-fit: contain;
    pointer-events: none; user-select: none;
    position: relative; z-index: 0;
}
.nr-board-grid-overlay {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 1;
}
.nr-board-token {
    position: absolute; border-radius: 50%;
    transform: translate(-50%, -50%);
    user-select: none; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700; color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.6);
    box-shadow: 0 2px 6px rgba(0,0,0,.4);
    transition: box-shadow .15s;
}
/* Smooth transition for remote token moves */
.nr-board-token.is-animating {
    transition: left .15s ease-out, top .15s ease-out, box-shadow .15s;
}
.nr-board-token.is-dragging { transition: none; }
.nr-board-token.is-draggable { cursor: grab; }
.nr-board-token.is-locked-token { cursor: default; opacity: 0.7; }
.nr-board-token.is-own { box-shadow: 0 0 0 2px #3B82F6, 0 2px 6px rgba(0,0,0,.4); }
/* Remote user's token: subtle ring */
.nr-board-token.is-remote { box-shadow: 0 0 0 2px rgba(249,115,22,.6), 0 2px 6px rgba(0,0,0,.4); }
/* Lock badge when board is locked */
.nr-board-token.is-board-locked::after {
    content: '';
    position: absolute; top: -3px; right: -3px;
    width: 10px; height: 10px;
    background: #F59E0B;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.3);
    z-index: 11;
}
.nr-board-token:active,
.nr-board-token.is-dragging {
    cursor: grabbing; box-shadow: 0 4px 12px rgba(0,0,0,.6); z-index: 20;
}
.nr-board-token.is-own.is-dragging { box-shadow: 0 0 0 2px #3B82F6, 0 4px 12px rgba(0,0,0,.6); }
/* Token editor panel */
.nr-token-editor {
    position: absolute;
    background: #1a1f26; border: 1px solid #2d3748;
    border-radius: 8px; padding: 10px;
    z-index: 100; min-width: 180px;
    box-shadow: 0 4px 16px rgba(0,0,0,.5);
}
.nr-token-editor[hidden] { display: none; }
.nr-token-editor-close {
    position: absolute; top: 4px; right: 6px;
    background: none; border: none;
    color: #6B7280; font-size: 16px; cursor: pointer;
    line-height: 1; padding: 2px;
}
.nr-token-editor-close:hover { color: #fff; }
.nr-token-editor-label {
    display: block; width: 100%;
    padding: 4px 8px; margin-bottom: 8px;
    background: #111820; color: #D1D5DB;
    border: 1px solid #2d3748; border-radius: 4px;
    font-size: 12px; font-family: inherit;
    box-sizing: border-box;
}
.nr-token-editor-label:focus { outline: none; border-color: #3B82F6; }
.nr-token-color-row {
    display: flex; gap: 4px; margin-bottom: 8px;
    flex-wrap: wrap;
}
.nr-token-color-swatch {
    width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid transparent; cursor: pointer;
    flex-shrink: 0;
    transition: border-color .1s;
}
.nr-token-color-swatch:hover { border-color: rgba(255,255,255,.4); }
.nr-token-color-swatch.is-selected { border-color: #fff; }
.nr-token-editor-size {
    display: block; width: 100%;
    padding: 3px 6px; margin-bottom: 8px;
    background: #111820; color: #D1D5DB;
    border: 1px solid #2d3748; border-radius: 4px;
    font-size: 12px; font-family: inherit;
    box-sizing: border-box;
}
.nr-token-editor-actions {
    display: flex; gap: 4px;
}
.nr-token-editor-del { color: #EF4444; border-color: #EF4444; }
.nr-token-editor-del:hover { background: rgba(239,68,68,.15); }
.nr-board-controls {
    display: flex; gap: 6px; padding: 6px 8px;
    border-top: 1px solid #1E2630; background: #0b0f14;
    flex-shrink: 0; align-items: center;
}
.nr-board-controls .btn {
    color: #D1D5DB;
    border-color: #4B5563;
    background: #1E2630;
}
.nr-board-controls .btn:hover {
    color: #F9FAFB;
    border-color: #9CA3AF;
    background: #2A3544;
}
.nr-board-controls .btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    color: #6B7280;
    border-color: #374151;
    background: #141A22;
}
/* Snapshot history panel */
.nr-board-snapshots { border-top: 1px solid #1E2630; padding: 8px; max-height: 200px; overflow-y: auto; background: #0b0f14; }
.nr-board-snapshots[hidden] { display: none; }
.nr-snapshot-item { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px; background: rgba(255,255,255,.03); border-radius: 4px; font-size: 12px; color: #D1D5DB; }
.nr-snapshot-item + .nr-snapshot-item { margin-top: 4px; }
.nr-snapshot-meta { color: #9CA3AF; font-size: 11px; }
.nr-snapshot-actions { display: flex; gap: 4px; flex-shrink: 0; }
.nr-snapshot-empty { color: #6B7280; font-size: 12px; font-style: italic; padding: 8px 0; margin: 0; }
#nrBoardToggleLock.is-locked { color: #F59E0B; border-color: #F59E0B; }
#nrBoardToggleLock.is-locked:hover { background: rgba(245,158,11,0.1); }
/* Planning board overlay (lighter than session offline) */
.nr-board-offline-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(11,15,20,0.6); z-index: 50; pointer-events: none;
}
.nr-board-offline-overlay[hidden] { display: none; }
.nr-board-offline-overlay p {
    color: #6B7280; font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
}

/* ── Mission Mode ── */
.nr-mission-offline {
    flex: 1; display: flex; align-items: center; justify-content: center;
    background: rgba(11,15,20,0.85);
}
.nr-mission-offline[hidden] { display: none; }
.nr-mission-offline p {
    color: #6B7280; font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
}
.nr-mission-wrap { flex: 1; display: flex; flex-direction: column; overflow-y: auto; }
.nr-mission-wrap[hidden] { display: none; }
.nr-mission-header {
    padding: 8px 12px; background: #0b0f14;
    border-bottom: 1px solid #1E2630; flex-shrink: 0;
}
.nr-mission-title-row { display: flex; align-items: center; gap: 8px; }
.nr-mission-title-row h3 { margin: 0; font-size: 14px; color: #fff; }
.nr-mission-round {
    font-size: 11px; font-weight: 700; color: #3B82F6;
    background: rgba(59,130,246,0.1); padding: 2px 8px;
    border-radius: 10px; margin-left: auto;
}
.nr-mission-turn-row {
    display: flex; align-items: center; gap: 6px;
    margin-top: 4px; font-size: 12px; color: #9CA3AF;
}
.nr-mission-turn-row strong { color: #F59E0B; }
.nr-mission-body {
    display: flex; gap: 0; flex: 1; min-height: 0;
}
.nr-mission-col {
    flex: 1; padding: 8px 10px; overflow-y: auto;
    border-right: 1px solid #1E2630;
}
.nr-mission-col:last-child { border-right: none; }
.nr-mission-col h4 {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: #6B7280; margin: 0 0 6px;
}
.nr-turn-order-list { display: flex; flex-direction: column; gap: 2px; }
.nr-turn-item {
    padding: 4px 8px; font-size: 12px; color: #9CA3AF;
    border-radius: 4px; background: #111820;
}
.nr-turn-item.is-active-turn {
    color: #fff; background: rgba(59,130,246,0.15);
    border-left: 3px solid #3B82F6;
}
.nr-objectives-list { display: flex; flex-direction: column; gap: 3px; }
.nr-obj-item {
    display: flex; align-items: center; gap: 6px;
    padding: 4px 6px; font-size: 12px; border-radius: 4px;
}
.nr-obj-icon { font-size: 14px; flex-shrink: 0; }
.nr-obj-title { flex: 1; color: #D1D5DB; }
.nr-obj-pending .nr-obj-icon { color: #6B7280; }
.nr-obj-complete { background: rgba(16,185,129,0.08); }
.nr-obj-complete .nr-obj-icon { color: #10B981; }
.nr-obj-complete .nr-obj-title { color: #10B981; text-decoration: line-through; }
.nr-obj-failed { background: rgba(239,68,68,0.08); }
.nr-obj-failed .nr-obj-icon { color: #EF4444; }
.nr-obj-failed .nr-obj-title { color: #EF4444; text-decoration: line-through; }
.nr-obj-status-select {
    font-size: 10px; padding: 1px 4px; background: #111820;
    color: #9CA3AF; border: 1px solid #1E2630; border-radius: 3px;
    cursor: pointer;
}
.nr-obj-add-row { display: flex; gap: 4px; margin-top: 6px; }
.nr-obj-add-row input {
    flex: 1; padding: 4px 6px; font-size: 11px;
    background: #111820; color: #D1D5DB; border: 1px solid #1E2630;
    border-radius: 4px;
}
.nr-dice-input-row { display: flex; gap: 4px; margin-bottom: 6px; }
.nr-dice-input-row input {
    flex: 1; padding: 4px 6px; font-size: 12px;
    background: #111820; color: #D1D5DB; border: 1px solid #1E2630;
    border-radius: 4px; font-family: var(--font-mono, monospace);
}
.nr-dice-result {
    text-align: center; padding: 8px; margin-bottom: 6px;
    background: #111820; border-radius: 6px;
}
.nr-dice-result[hidden] { display: none; }
.nr-dice-big {
    display: block; font-size: 32px; font-weight: 900; color: #F59E0B;
    font-family: var(--font-mono, monospace);
}
.nr-dice-detail { font-size: 11px; color: #6B7280; }
.nr-dice-log { display: flex; flex-direction: column; gap: 2px; }
.nr-dice-entry {
    font-size: 11px; color: #9CA3AF; padding: 2px 0;
    border-bottom: 1px solid #111820;
}
.nr-dice-total { font-weight: 700; color: #F59E0B; }
.nr-dice-breakdown { color: #6B7280; }
.nr-mission-footer {
    padding: 6px 10px; border-top: 1px solid #1E2630;
    background: #0b0f14; flex-shrink: 0;
}
/* ── Overlay Subtitle ── */
.nexus-overlay-subtitle {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6B7280;
    margin-bottom: 4px;
}
/* Bottom dock (resizable) */
.nexus-overlay-dock {
    flex-shrink: 0;
    background: #151B22;
    border-top: 1px solid #1E2630;
    display: flex;
    flex-direction: column;
    height: 260px;
    min-height: 48px;
    max-height: 70vh;
}
/* Drag handle to resize dock */
.nexus-overlay-dock-resize {
    height: 6px;
    cursor: ns-resize;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
}
.nexus-overlay-dock-resize::after {
    content: '';
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: #2A3442;
}
.nexus-overlay-dock-resize:hover::after { background: #3B82F6; }
.nexus-overlay-dock-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px;
    background: #0d1117;
    border-bottom: 1px solid #1E2630;
    flex-shrink: 0;
}
.nexus-overlay-dock-header h2 {
    font-size: 13px;
    font-weight: 700;
    color: #D1D5DB;
    margin: 0;
    white-space: nowrap;
}
.nexus-overlay-dock-header .nr-live-badge,
.nexus-overlay-dock-header .nr-live-timer {
    font-size: 11px;
}
.nexus-overlay-dock-tabs {
    display: flex;
    gap: 0;
    margin-left: auto;
}
.nexus-overlay-dock-tab {
    padding: 6px 14px;
    border: none;
    background: transparent;
    color: #6B7280;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color .15s, border-color .15s;
}
.nexus-overlay-dock-tab:hover { color: #9CA3AF; }
.nexus-overlay-dock-tab.is-active { color: #fff; border-bottom-color: #3B82F6; }
.nexus-overlay-dock-panel {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 10px 16px;
}
.nexus-overlay-dock-panel[hidden] { display: none; }
.nexus-overlay-dock-close {
    padding: 6px 14px;
    background: none;
    border: none;
    color: #6B7280;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    margin-left: 8px;
    white-space: nowrap;
}
.nexus-overlay-dock-close:hover { color: #fff; }
.nexus-overlay-header {
    margin-bottom: 0;
}
.nexus-overlay-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.nexus-overlay-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #1E2630;
    color: #9CA3AF;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color .15s;
}
.nexus-overlay-link:hover { color: #fff; }
.nexus-overlay-link svg { opacity: .5; }

.nexus-overlay-section {
    margin-top: 0;
    padding-top: 0;
}
.nexus-overlay-section h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6B7280;
    margin-bottom: 8px;
}
.nexus-overlay-event {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    color: #9CA3AF;
}
.nexus-overlay-event span:first-child {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 11px;
    color: #6B7280;
}

.nexus-overlay-close {
    position: absolute;
    top: 6px;
    right: 10px;
    padding: 4px 12px;
    background: rgba(30,38,48,.85);
    border: 1px solid #2A3442;
    border-radius: 4px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    text-align: center;
    transition: background .15s;
    z-index: 10;
}
.nexus-overlay-close:hover { background: rgba(42,52,66,.95); }

/* --- Launch panel (external_link inside overlay) --- */
.nr-launch-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 48px 32px;
    text-align: center;
}
.nr-launch-panel h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}
.nr-launch-reqs {
    font-size: 14px;
    color: #9CA3AF;
    margin-bottom: 24px;
    max-width: 400px;
    line-height: 1.6;
}
.nr-launch-btn {
    padding: 16px 48px;
    font-size: 16px;
    background: #fff;
    color: #0F141A;
    border-color: #fff;
    margin-bottom: 24px;
}
.nr-launch-btn:hover {
    background: #E5E9EF;
    border-color: #E5E9EF;
    color: #0F141A;
}
.nr-launch-server {
    margin-bottom: 16px;
}
.nr-launch-panel .nr-copy-pill {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.1);
}
.nr-launch-panel .nr-copy-label {
    color: #6B7280;
}
.nr-launch-panel .nr-copy-pill code {
    color: #D1D5DB;
}
.nr-launch-panel .nr-copy-btn {
    color: #9CA3AF;
    border-color: rgba(255,255,255,.15);
}
.nr-launch-panel .nr-copy-btn:hover {
    color: #fff;
    border-color: rgba(255,255,255,.3);
}
.nr-launch-note {
    font-size: 13px;
    color: #6B7280;
    max-width: 400px;
    line-height: 1.5;
}

/* Mobile overlay: right panel toggles */
.nexus-overlay-toggle {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: #1E2630;
    border: 1px solid #2A3442;
    border-radius: 6px;
    padding: 8px 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
}

/* =============================================================
   SESSION ROOM v2
   ============================================================= */

/* SESSION CONSOLE */
.nr-session-console .nr-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.nr-session-console .nr-card-header h2 { margin-bottom: 0; }

/* LIVE BADGE */
.nr-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #DC2626;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 4px 10px;
    border-radius: 999px;
}
.nr-live-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    animation: nr-pulse 1.5s ease-in-out infinite;
}
.nr-live-badge[hidden] { display: none; }

/* Session Timer */
.nr-live-timer {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #DC2626;
    letter-spacing: .04em;
    white-space: nowrap;
}
.nr-live-timer[hidden] { display: none; }

/* Presence Count */
.nr-presence-count {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

/* Chat Load Older */
.nr-chat-load-older {
    display: block;
    width: 100%;
    padding: 6px 0;
    background: none;
    border: none;
    color: var(--link-color, #3B82F6);
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    opacity: .7;
}
.nr-chat-load-older:hover { opacity: 1; }
.nr-chat-load-older[hidden] { display: none; }

/* Board read-only */
.nr-board-readonly { opacity: .5; pointer-events: none; }

@keyframes nr-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
}

/* LIVE TOGGLE BUTTON */
.nr-live-toggle {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    font-family: var(--font);
    transition: background .15s, color .15s;
}
.nr-live-toggle:hover { background: #f3f4f6; }
.nr-live-toggle.is-live {
    background: #DC2626;
    color: #fff;
    border-color: #DC2626;
}
.nr-live-toggle.is-live:hover { background: #B91C1C; }
.nr-live-toggle:disabled { opacity: .5; cursor: wait; }

/* SCOREBOARD */
.nr-scoreboard-wrap { margin-top: 20px; }
.nr-scoreboard-wrap h3 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.nr-scoreboard {
    width: 100%;
    border-collapse: collapse;
}
.nr-scoreboard th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    text-align: left;
    padding: 6px 8px;
    border-bottom: 1px solid var(--line);
}
.nr-scoreboard td {
    font-size: 14px;
    padding: 8px;
    border-bottom: 1px solid var(--line);
}

/* ROOM BOARD */
.nr-room-board .nr-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.nr-room-board .nr-card-header h2 { margin-bottom: 0; }
.nr-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 12px;
}
.nr-board-item {
    display: block;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius);
    padding: 10px;
    text-align: center;
    font-size: 13px;
    text-decoration: none;
    color: var(--text);
    transition: border-color .15s;
}
.nr-board-item:hover { border-color: var(--text-muted); }
.nr-board-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 6px;
}
.nr-board-icon {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 4px;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}
.nr-board-title {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nr-board-item .lga-badge { font-size: 10px; }

/* UPLOAD MODAL */
.lga-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lga-modal[hidden] { display: none; }
.lga-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
}
.lga-modal-content {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    width: 100%;
    max-width: 440px;
    z-index: 1;
}
.lga-modal-content h2 {
    font-size: 18px;
    margin-bottom: 16px;
}
.lga-modal-content label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}
.lga-modal-content input[type="text"],
.lga-modal-content input[type="file"],
.lga-modal-content select {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font);
}
.lga-modal-actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}
#lga-upload-status {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* SESSION QUICK ACTIONS */
.nr-session-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.nr-session-actions a {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background .15s;
}
.nr-session-actions a:hover { background: #f3f4f6; }

/* HERO BADGES ROW */
.nr-hero-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

/* =============================================================
   VAULT SEARCH CONSOLE
   ============================================================= */
.lga-vault-hero {
    padding: 60px 0 32px;
    text-align: center;
}
.lga-vault-hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}
.lga-vault-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}
.lga-vault-search {
    padding: 0 0 32px;
}
.lga-vault-form {
    max-width: 800px;
    margin: 0 auto;
}
.lga-vault-search-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.lga-vault-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--font);
    background: #fff;
}
.lga-vault-input:focus {
    outline: none;
    border-color: var(--text-muted);
}
.lga-vault-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.lga-vault-select {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font);
    background: #fff;
    min-width: 140px;
}
.lga-vault-results {
    padding: 0 0 60px;
}
.lga-vault-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.lga-vault-card {
    background: #fff;
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color .15s;
}
.lga-vault-card:hover { border-color: var(--text-muted); }
.lga-vault-card-thumb img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.lga-vault-card-body {
    padding: 16px;
}
.lga-vault-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.lga-vault-card-game {
    font-size: 12px;
    color: var(--text-muted);
}
.lga-vault-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}
.lga-vault-card h3 a { text-decoration: none; color: var(--text); }
.lga-vault-card h3 a:hover { text-decoration: underline; }
.lga-vault-card-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}
.lga-vault-pagination {
    text-align: center;
    margin-top: 24px;
}
.lga-vault-empty {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
}

/* FEATURED VAULT (hub sidebar) */
.nr-featured-vault .nr-side-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.nr-featured-vault .nr-side-card-header h3 { margin-bottom: 0; }
.nr-vault-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.nr-vault-row a { font-weight: 600; flex: 1; }
.nr-vault-row a:hover { text-decoration: underline; }
.nr-vault-remove {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}
.nr-vault-remove:hover { color: #DC2626; }

/* VAULT EXPLAINER */
.lga-vault-explainer {
    max-width: 640px;
    margin: 0 auto 24px;
    padding: 16px 20px;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius-lg);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: center;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
}
.lga-vault-explainer p { margin: 0; }
.lga-vault-explainer-sm {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

/* STICKY VAULT EXPLAINER */
.lga-vault-explainer-sticky {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    margin: 0 -20px 24px;
    padding: 12px 20px;
    max-width: none;
}
.lga-vault-explainer-sticky p { margin: 0; }

/* FROM VAULT BADGE */
.lga-badge-vault {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    background: #E0F2FE;
    color: #0369A1;
    padding: 2px 6px;
    border-radius: 3px;
}

/* GAME PAGE: VAULT SECTION */
.lga-game-vault-section {
    padding: 48px 0;
    border-top: 1px solid var(--line);
}
.lga-game-vault-section h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}
.lga-game-vault-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.lga-game-vault-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}
.lga-game-vault-tab {
    background: none;
    border: 1px solid var(--cardBorder);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all .15s;
}
.lga-game-vault-tab:hover {
    border-color: var(--text-muted);
    color: var(--text);
}
.lga-game-vault-tab.active {
    background: var(--text);
    border-color: var(--text);
    color: #fff;
}
.lga-tab-count {
    font-size: 11px;
    opacity: .7;
    margin-left: 2px;
}
.lga-game-vault-search {
    width: 220px;
    flex-shrink: 0;
}
.lga-game-vault-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.lga-game-vault-empty {
    text-align: center;
    padding: 32px 0;
    color: var(--text-muted);
}
.lga-game-vault-actions {
    margin-top: 20px;
    text-align: center;
}

/* VAULT CARD: FEATURE BUTTON */
.lga-vault-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
.lga-vault-feature-btn {
    font-size: 12px;
}

@media (max-width: 640px) {
    .lga-game-vault-search { width: 100%; }
    .lga-game-vault-controls { flex-direction: column; align-items: stretch; }
    .lga-vault-explainer-sticky { margin: 0 -16px 20px; padding: 10px 16px; }
}

/* BROWSE BY GAME STRIP */
.lga-vault-browse {
    padding: 0 0 28px;
}
.lga-vault-browse-heading {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-align: center;
}
.lga-vault-game-strip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}
.lga-vault-game-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--cardBorder);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: border-color .15s, background .15s;
}
.lga-vault-game-pill:hover {
    border-color: var(--text-muted);
    background: #f8f9fb;
}
.lga-vault-game-count {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(0,0,0,.05);
    padding: 2px 6px;
    border-radius: 999px;
}
.lga-vault-game-skeleton {
    width: 120px;
    height: 38px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: lga-shimmer 1.5s ease-in-out infinite;
    cursor: default;
}
@keyframes lga-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ACTIVE FILTER PILLS */
.lga-vault-active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.lga-vault-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--cardBorder);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}
.lga-vault-clear-filters {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: underline;
}
.lga-vault-clear-filters:hover { color: var(--text); }

/* VAULT ITEM META */
.lga-vault-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}
.lga-vault-item-meta span {
    font-size: 14px;
    color: var(--text-secondary);
}
.lga-vault-item-meta a {
    color: var(--text);
    font-weight: 600;
    text-decoration: underline;
}
.lga-vault-item-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

/* HUB FEATURED VAULT - View All link */
.nr-vault-view-all {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}
.nr-vault-view-all:hover { color: var(--text); text-decoration: underline; }

/* VAULT MODAL (wider) */
.lga-modal-wide { max-width: 560px; }
.lga-vault-modal-search {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.lga-vault-modal-search .lga-vault-input { flex: 1; }
.lga-vault-modal-results {
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px;
}
.lga-vault-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px;
    border-bottom: 1px solid var(--line);
}
.lga-vault-result-item:last-child { border-bottom: none; }
.lga-vault-result-info {
    flex: 1;
    min-width: 0;
}
.lga-vault-result-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lga-vault-result-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* =============================================================
   ROOM CHAT (v4)
   ============================================================= */
.nr-chat { display: flex; flex-direction: column; height: 300px; }
.nr-chat-messages { flex: 1; overflow-y: auto; padding: 8px; font-size: 13px; }
.nr-chat-msg { margin-bottom: 6px; line-height: 1.4; }
.nr-chat-msg strong { font-weight: 600; margin-right: 4px; color: var(--heading); }
.nr-chat-msg time { font-size: 11px; color: var(--text-muted); margin-left: 4px; }
.nr-chat-input { display: flex; gap: 6px; padding: 8px; border-top: 1px solid var(--line); align-items: center; }
.nr-chat-input input { flex: 1; min-width: 0; padding: 6px 10px; border: 1px solid var(--line);
    border-radius: var(--radius); font-size: 13px; background: var(--bg); color: var(--text); }
.nr-chat-input .btn { flex-shrink: 0; }
.nr-chat-card .nr-chat { border: 1px solid var(--line); border-radius: var(--radius); margin-top: 8px; }

/* =============================================================
   SESSION NOTES (v4)
   ============================================================= */
.nr-note { padding: 10px 0; border-bottom: 1px solid var(--line); }
.nr-note:last-child { border-bottom: none; }
.nr-note-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.nr-note-content { font-size: 14px; line-height: 1.5; }
#nr-note-form textarea { width: 100%; padding: 8px; border: 1px solid var(--line);
    border-radius: var(--radius); font-size: 14px; resize: vertical;
    background: var(--bg); color: var(--text); font-family: inherit; }

/* =============================================================
   LIVE STARTED AT (v4)
   ============================================================= */
.nr-live-started { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

/* =============================================================
   CREATE THREAD STATUS (v4)
   ============================================================= */
.nr-create-thread-status { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

/* =============================================================
   NEXUS SESSION ENGINE v1
   ============================================================= */

/* Presence Panel */
.nr-presence-panel { margin-bottom: 16px; }
.nr-presence-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.nr-presence-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.nr-presence-user {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    border: 1px solid var(--cardBorder);
    border-radius: 20px;
    padding: 4px 10px 4px 4px;
}
.nr-presence-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.nr-presence-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.nr-presence-role {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 1px 6px;
    border-radius: 3px;
    background: #DBEAFE;
    color: #1E40AF;
}
.nr-role-host { background: #FEE2E2; color: #991B1B; }
.nr-role-gm { background: #EDE9FE; color: #5B21B6; }
.nr-role-moderator { background: #D1FAE5; color: #065F46; }

/* Live Chat Panel */
.nr-live-chat-panel { border-top: 1px solid var(--line); padding-top: 16px; }
.nr-live-chat-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.nr-live-chat-messages {
    max-height: 360px;
    overflow-y: auto;
    margin-bottom: 12px;
    padding: 8px;
    background: #FAFAFA;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.nr-live-chat-msg {
    display: flex;
    gap: 8px;
    padding: 6px 0;
}
.nr-live-chat-msg + .nr-live-chat-msg {
    border-top: 1px solid var(--line);
}
.nr-chat-msg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-top: 2px;
}
.nr-chat-msg-body { flex: 1; min-width: 0; }
.nr-chat-msg-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-right: 6px;
}
.nr-chat-msg-time {
    font-size: 11px;
    color: var(--text-muted);
}
.nr-chat-msg-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Chat Form */
.nr-live-chat-form {
    display: flex;
    gap: 8px;
}
.nr-live-chat-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius);
    font-size: 14px;
    background: #fff;
}
.nr-live-chat-form input:focus {
    outline: none;
    border-color: var(--text);
}
.nr-live-chat-guest {
    padding: 12px;
    text-align: center;
    background: #FAFAFA;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

/* =============================================================
   NEXUS SESSION ENGINE v2
   ============================================================= */

/* Status pills */
.nr-status-pill {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 1px 6px;
    border-radius: 3px;
}
.nr-status-ready { background: #D1FAE5; color: #065F46; }
.nr-status-away { background: #FEF3C7; color: #92400E; }
.nr-status-in_play { background: #DBEAFE; color: #1E40AF; }

/* Role/Status dropdowns in presence */
.nr-role-select, .nr-status-select {
    font-size: 11px;
    padding: 2px 4px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
}
.nr-role-select:focus, .nr-status-select:focus {
    outline: none;
    border-color: var(--text);
}

/* Note input in presence */
.nr-note-input {
    font-size: 12px;
    padding: 2px 6px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--bg);
    color: var(--text);
    width: 120px;
    max-width: 120px;
}
.nr-note-input:focus {
    outline: none;
    border-color: var(--text);
}

/* Presence note text (others) */
.nr-presence-note {
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
}

/* Self highlight */
.nr-presence-self {
    background: #F0F7FF;
    border-color: #93C5FD;
}

/* Events Feed */
.nr-events-feed { border-top: 1px solid var(--line); padding-top: 16px; }
.nr-events-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.nr-events-list {
    max-height: 200px;
    overflow-y: auto;
    padding: 8px;
    background: #FAFAFA;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.nr-event-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 13px;
}
.nr-event-item + .nr-event-item { border-top: 1px solid var(--line); }
.nr-event-text { color: var(--text-secondary); }
.nr-event-time { font-size: 11px; color: var(--text-muted); white-space: nowrap; margin-left: 8px; }

/* Session Board heading */
.nr-board-session-heading {
    font-size: 14px;
    font-weight: 700;
    margin: 16px 0 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

/* Board pending items */
.nr-board-pending-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px dashed #D97706;
    border-radius: var(--radius);
    margin-bottom: 8px;
}
.nr-pending-heading {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #D97706;
    margin: 16px 0 8px;
}
.nr-board-actions {
    display: flex;
    gap: 4px;
    margin-left: auto;
}
.nr-board-meta {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
}

/* btn-xs */
.btn-xs {
    padding: 2px 8px;
    font-size: 11px;
    line-height: 1.4;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 768px) {
    .site-nav { padding: 10px 12px; gap: 6px; }
    .brand { font-size: 11px; letter-spacing: 0.15em; }
    .nav-right { gap: 4px; }
    .nav-right .lga-btn { font-size: 11px; padding: 4px 8px; }
    .nav-right .lga-dark-toggle { width: 28px; height: 28px; }
    .nav-right .lga-dark-toggle svg { width: 16px; height: 16px; }
    .nav-right .lga-notif-bell svg { width: 16px; height: 16px; }
    .lga-nav-links { background: rgba(255,255,255,.95); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); }
    body.lga-dark .lga-nav-links { background: rgba(18,20,29,.95); border-top-color: var(--border); }
    body.lga-dark .lga-nav-dropdown-menu { background: rgba(18,20,29,.5); }
    .lga-notif-panel { right: -60px; width: 280px; }

    .lga-header-search { display: none; }
    .lga-hero { padding: 80px 24px 60px; }
    .lga-pillars { grid-template-columns: 1fr; }
    .lga-grid-3 { grid-template-columns: 1fr; }
    .lga-compare { grid-template-columns: 1fr; }
    .lga-form-row { grid-template-columns: 1fr; }

    .lga-game-hero-inner,
    .lga-hub-hero-inner,
    .lga-vault-hero-inner { flex-direction: column; }
    .lga-game-hero-image,
    .lga-hub-hero-image { max-width: 100%; }
    .lga-game-content-inner,
    .lga-hub-content-inner,
    .lga-vault-content-inner { flex-direction: column; }
    .lga-game-sidebar,
    .lga-hub-sidebar { width: 100%; }

    .lga-game-grid,
    .lga-hub-grid,
    .lga-vault-grid { grid-template-columns: repeat(2, 1fr); }

    .nr-hero-inner { flex-direction: column; }
    .nr-hero-image { max-width: 100%; }
    .nr-grid { grid-template-columns: 1fr; }
    .nexus-overlay-inner { flex-direction: column; }
    .nexus-overlay-screen { min-height: 40vh; }
    .nexus-overlay-dock { height: 180px; max-height: 50vh; }
    .nexus-overlay-toggle { display: block; }
    .nr-board-grid { grid-template-columns: repeat(2, 1fr); }
    .nr-chat { height: 220px; }
    .nr-live-chat-form { flex-direction: column; }
    .nr-live-chat-messages { max-height: 240px; }
    .nr-presence-list { gap: 6px; }
    .nr-presence-user { padding: 3px 8px 3px 3px; flex-wrap: wrap; }
    .nr-note-input { width: 80px; }
    .nr-events-list { max-height: 150px; }
    .nr-board-pending-item { flex-wrap: wrap; }
    .nr-card-header { flex-wrap: wrap; gap: 6px; }
    .lga-vault-grid { grid-template-columns: 1fr; }
    .lga-vault-search-bar { flex-direction: column; }
    .lga-vault-filters { flex-direction: column; }
    .lga-vault-modal-search { flex-direction: column; }
    .lga-vault-game-strip { justify-content: flex-start; }
    .lga-vault-active-filters { flex-direction: column; align-items: flex-start; }
    .lga-vault-item-meta { flex-direction: column; gap: 8px; }

    .lga-step { flex-direction: column; gap: 8px; }
    .lga-session { flex-direction: column; align-items: flex-start; gap: 12px; }
    .foot-inner { flex-direction: column; gap: 24px; }
    .foot-links { grid-template-columns: 1fr; }

    /* Arena shell mobile */
    .lga-arena-shell { --arena-w: 100%; }
    .lga-shell-frame { border-width: 3px !important; }
    .lga-shell-grid { grid-template-columns: repeat(2, 1fr); }
    .lga-shell-arcade .lga-shell-frame::after { display: none; }

    /* Arena interior mobile */
    .nr-arena-offline-msg { font-size: 13px; }
}
@media (max-width: 900px) {
    .foot-inner { flex-direction: column; gap: 24px; }
    .foot-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .foot-links { grid-template-columns: 1fr; }
}

/* --- LOCKED GAME SPACE --- */
.nr-locked-space {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
    padding: 32px;
    text-align: center;
    color: rgba(255,255,255,.7);
}
.nr-locked-space-inner { max-width: 320px; }
.nr-locked-space h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.nr-locked-space p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    color: rgba(255,255,255,.55);
}
.nr-locked-space .btn { min-width: 160px; }

/* --- RTC VOICE PANEL --- */
.nr-rtc-coming-soon {
    font-size: 13px;
    color: rgba(255,255,255,.45);
    text-align: center;
    padding: 8px 0;
    line-height: 1.4;
}
.nr-rtc-hint {
    font-size: 12px;
    color: rgba(255,255,255,.35);
    text-align: center;
    margin-top: 4px;
}
.nr-rtc-hint a {
    color: rgba(255,255,255,.55);
    text-decoration: underline;
}

/* Voice mute button */
.nr-voice-mute-btn {
    font-weight: 600;
    transition: background .2s, border-color .2s;
}
.nr-voice-mute-btn.is-muted {
    background: #c0392b;
    color: #fff;
    border-color: #c0392b;
}
.nr-voice-mute-btn.is-muted:hover {
    background: #e74c3c;
    border-color: #e74c3c;
}
.nr-voice-mute-btn.is-unmuted {
    background: #27ae60;
    color: #fff;
    border-color: #27ae60;
}
.nr-voice-mute-btn.is-unmuted:hover {
    background: #2ecc71;
    border-color: #2ecc71;
}

/* Voice request badge on dock tab */
.nr-voice-badge {
    display: inline-block;
    background: #EF4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
    margin-left: 4px;
    padding: 0 4px;
    animation: nr-pulse 2s ease-in-out infinite;
}
.nr-voice-badge[hidden] { display: none; }

/* Request to Speak button -- visible + pulsing so non-admins notice it */
#nrVoiceRequestSpeak {
    background: #2563EB;
    color: #fff;
    border-color: #2563EB;
    animation: nr-pulse 2s ease-in-out infinite;
}
#nrVoiceRequestSpeak:hover {
    background: #1D4ED8;
    border-color: #1D4ED8;
    animation: none;
}

/* Request pending message */
.nr-voice-request-pending {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    font-style: italic;
    text-align: center;
    padding: 6px 0;
    margin: 0;
}

/* Speaker list */
.nr-voice-speaker-list {
    margin-top: 10px;
}
.nr-voice-speaker-list h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: rgba(255,255,255,.45);
    margin: 0 0 6px;
}
.nr-voice-speaker-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px;
    font-size: 13px;
    color: rgba(255,255,255,.8);
    background: rgba(255,255,255,.05);
    border-radius: 4px;
    margin-bottom: 3px;
}
.nr-voice-revoke-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,.4);
    font-size: 16px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}
.nr-voice-revoke-btn:hover {
    color: #e74c3c;
}

/* Request queue (host only) */
.nr-voice-request-queue {
    margin-top: 10px;
}
.nr-voice-request-queue h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: rgba(255,255,255,.45);
    margin: 0 0 6px;
}
.nr-voice-request-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    font-size: 13px;
    color: rgba(255,255,255,.8);
    background: rgba(255,255,255,.05);
    border-radius: 4px;
    margin-bottom: 3px;
}
.nr-voice-request-row span {
    flex: 1;
}
.nr-voice-approve-btn,
.nr-voice-deny-btn {
    border: none;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
}
.nr-voice-approve-btn {
    background: rgba(39,174,96,.2);
    color: #2ecc71;
}
.nr-voice-approve-btn:hover {
    background: #27ae60;
    color: #fff;
}
.nr-voice-deny-btn {
    background: rgba(231,76,60,.2);
    color: #e74c3c;
}
.nr-voice-deny-btn:hover {
    background: #c0392b;
    color: #fff;
}

/* ══════════════════════════════════════════════
   Play Surface v1 — sub-tabs + zones
   ══════════════════════════════════════════════ */
.nr-board-subtabs {
    display: flex; gap: 0;
    background: #0b0f14;
    border-bottom: 1px solid #1E2630;
    flex-shrink: 0;
}
.nr-board-subtab {
    padding: 5px 14px; border: none;
    background: transparent; color: #6B7280;
    font-size: 11px; font-weight: 600;
    font-family: var(--font); cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.nr-board-subtab:hover { color: #9CA3AF; }
.nr-board-subtab.is-active { color: #d1d5db; border-bottom-color: #3B82F6; }
.nr-board-subpanel { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.nr-board-subpanel[hidden] { display: none; }

/* Play Surface topbar */
.nr-play-topbar {
    display: flex; align-items: center; gap: 6px;
    padding: 4px 8px; background: #0b0f14;
    border-bottom: 1px solid #1E2630;
    font-size: 11px; color: #9CA3AF; flex-shrink: 0;
}
.nr-play-sheet-controls {
    display: inline-flex; gap: 3px; margin-left: 4px;
}
.nr-play-sheet-controls .btn { padding: 2px 6px; font-size: 10px; }
.nr-play-sheet-name {
    font-size: 12px; color: #d1d5db; font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 180px;
}
.nr-play-status { margin-left: auto; }

/* Play Surface area */
.nr-play-surface {
    flex: 1; position: relative; overflow: hidden;
    background: #1a1f26; min-height: 200px;
}
.nr-play-sheet {
    position: absolute; top: 0; left: 0;
    pointer-events: none; user-select: none;
}

/* Zones */
.nr-play-zone {
    position: absolute;
    border: 2px dashed rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    transition: border-color .15s, background .15s;
}
.nr-play-zone:hover {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.05);
}
.nr-play-zone-label {
    position: absolute; top: 4px; left: 6px;
    font-size: 10px; font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase; letter-spacing: 0.5px;
    pointer-events: none;
}
.nr-play-zone-count-badge {
    position: absolute; bottom: 4px; right: 6px;
    font-size: 9px; color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}
.nr-play-zone[data-zone-type="deck"] {
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.05);
}
.nr-play-zone[data-zone-type="discard"] {
    border-color: rgba(239, 68, 68, 0.25);
    background: rgba(239, 68, 68, 0.03);
}
.nr-play-zone[data-zone-type="hand"] {
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.05);
}
.nr-play-zone.is-private .nr-play-zone-label::after {
    content: ' (private)';
    font-size: 9px; color: rgba(245, 158, 11, 0.6);
}
.nr-play-controls {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 8px; background: #0b0f14;
    border-top: 1px solid #1E2630;
    font-size: 11px; color: #6B7280; flex-shrink: 0;
}

/* Cards modal */
.nr-play-cards-modal {
    position: absolute; inset: 0; z-index: 20;
    background: rgba(0,0,0,.6);
    display: flex; align-items: center; justify-content: center;
}
.nr-play-cards-modal[hidden] { display: none; }
.nr-play-cards-modal-inner {
    background: #151B22; border: 1px solid #1E2630; border-radius: 8px;
    width: 380px; max-height: 80%; display: flex; flex-direction: column;
    overflow: hidden;
}
.nr-play-cards-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; border-bottom: 1px solid #1E2630;
}
.nr-play-cards-modal-header h4 { margin: 0; font-size: 14px; color: #d1d5db; }
.nr-play-cards-modal-close {
    background: none; border: none; color: #6B7280; font-size: 20px;
    cursor: pointer; line-height: 1;
}
.nr-play-cards-modal-close:hover { color: #fff; }
.nr-play-cards-modal-body {
    padding: 12px 14px; overflow-y: auto; display: flex;
    flex-direction: column; gap: 12px;
}
.nr-play-cards-modal-body h5 {
    margin: 0 0 6px; font-size: 11px; color: #9CA3AF;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.nr-play-cards-create-row {
    display: flex; gap: 6px; align-items: center;
}
.nr-play-card-search-input {
    width: 100%; padding: 5px 8px; margin-bottom: 6px; background: #0d1117;
    border: 1px solid #1E2630; border-radius: 4px; color: #d1d5db;
    font-size: 12px; font-family: var(--font); box-sizing: border-box;
}
/* ── Assets Modal ── */
.nr-play-assets-modal {
    position: absolute; inset: 0; z-index: 30; background: rgba(0,0,0,.85);
    display: flex; align-items: center; justify-content: center;
}
.nr-play-assets-modal[hidden] { display: none; }
.nr-play-assets-modal-inner {
    background: #151B22; border-radius: 8px; width: 90%; max-width: 520px;
    max-height: 80%; display: flex; flex-direction: column; overflow: hidden;
}
.nr-play-assets-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px; border-bottom: 1px solid #1E2630;
}
.nr-play-assets-modal-header h4 { margin: 0; font-size: 14px; color: #F9FAFB; }
.nr-play-assets-modal-close { background: none; border: none; color: #9CA3AF; font-size: 18px; cursor: pointer; padding: 0 4px; }
.nr-play-assets-modal-body { padding: 10px 12px; overflow-y: auto; flex: 1; }
.nr-play-asset-tabs { display: flex; gap: 0; margin-bottom: 8px; border-bottom: 1px solid #1E2630; }
.nr-play-asset-tab {
    background: none; border: none; color: #6B7280; font-size: 11px; padding: 6px 10px;
    cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nr-play-asset-tab.is-active { color: #F9FAFB; border-bottom-color: #3B82F6; }
.nr-play-asset-upload { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.nr-play-asset-upload select {
    background: #0d1117; color: #d1d5db; border: 1px solid #1E2630; border-radius: 4px;
    padding: 3px 6px; font-size: 11px;
}
.nr-play-asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 6px; }
.nr-play-asset-card {
    background: #1E2630; border-radius: 4px; padding: 4px; cursor: pointer;
    text-align: center; position: relative;
}
.nr-play-asset-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.nr-play-asset-card .nr-asset-title { font-size: 10px; color: #9CA3AF; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.nr-play-asset-card .nr-asset-type { font-size: 9px; color: #6B7280; background: #0d1117; border-radius: 2px; padding: 1px 3px; position: absolute; top: 6px; left: 6px; }
.nr-play-asset-card:hover { outline: 2px solid #3B82F6; }
.nr-play-asset-card .nr-asset-del { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,.7); border: none; color: #EF4444; font-size: 12px; cursor: pointer; border-radius: 2px; padding: 0 3px; display: none; }
.nr-play-asset-card:hover .nr-asset-del { display: block; }
.nr-play-asset-count { font-size: 11px; color: #6B7280; margin-top: 8px; text-align: center; }
/* Placed objects on surface */
.nr-play-object { position: absolute; cursor: grab; user-select: none; z-index: 5; }
.nr-play-object img { max-width: 80px; max-height: 80px; pointer-events: none; border-radius: 4px; }
.nr-play-object.is-dragging { opacity: 0.7; z-index: 20; cursor: grabbing; }
/* Card art thumbnails */
.nr-play-card-thumb { width: 16px; height: 16px; object-fit: cover; border-radius: 2px; vertical-align: middle; margin-right: 4px; }
.nr-play-sv-card-art { width: 32px; height: 32px; object-fit: cover; border-radius: 3px; margin-right: 6px; flex-shrink: 0; }
.nr-play-card-input {
    flex: 1; padding: 5px 8px; background: #0d1117; border: 1px solid #1E2630;
    border-radius: 4px; color: #d1d5db; font-size: 12px;
    font-family: var(--font);
}
.nr-play-card-color-input {
    width: 28px; height: 28px; padding: 0; border: 1px solid #1E2630;
    border-radius: 4px; cursor: pointer; background: none;
}
.nr-play-card-textarea {
    width: 100%; padding: 6px 8px; background: #0d1117; border: 1px solid #1E2630;
    border-radius: 4px; color: #d1d5db; font-size: 11px; resize: vertical;
    font-family: var(--font);
}
.nr-play-cards-list-inner {
    max-height: 180px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 2px;
}
.nr-play-card-row {
    display: flex; align-items: center; gap: 6px;
    padding: 3px 6px; border-radius: 4px;
    font-size: 12px; color: #d1d5db;
}
.nr-play-card-row:hover { background: rgba(255,255,255,.04); }
.nr-play-card-dot {
    width: 10px; height: 10px; border-radius: 50%;
    flex-shrink: 0;
}
.nr-play-card-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nr-play-card-del {
    background: none; border: none; color: #6B7280; cursor: pointer;
    font-size: 14px; line-height: 1; padding: 0 2px;
}
.nr-play-card-del:hover { color: #EF4444; }
.nr-play-card-art {
    background: none; border: 1px solid #374151; color: #6B7280; cursor: pointer;
    font-size: 10px; line-height: 1; padding: 2px 4px; border-radius: 3px; margin-left: auto;
}
.nr-play-card-art:hover { color: #3B82F6; border-color: #3B82F6; }

/* Stack pile on surface */
.nr-play-stack {
    position: absolute; cursor: pointer;
    width: 48px; height: 64px;
    background: #1E293B; border: 2px solid #334155;
    border-radius: 6px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    transition: border-color .15s, box-shadow .15s;
    font-size: 10px; color: #9CA3AF;
    user-select: none;
}
.nr-play-stack:hover {
    border-color: #3B82F6;
    box-shadow: 0 0 8px rgba(59,130,246,.3);
}
.nr-play-stack.is-deck { border-color: rgba(245, 158, 11, 0.5); }
.nr-play-stack.is-discard { border-color: rgba(239, 68, 68, 0.4); }
.nr-play-stack-count {
    font-size: 16px; font-weight: 700; color: #d1d5db; line-height: 1;
}
.nr-play-stack-name {
    font-size: 8px; text-transform: uppercase; letter-spacing: 0.3px;
    margin-top: 2px; max-width: 44px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Stack viewer */
.nr-play-stack-viewer {
    position: absolute; right: 0; top: 0; bottom: 0; z-index: 15;
    width: 220px; background: #151B22; border-left: 1px solid #1E2630;
    display: flex; flex-direction: column;
}
.nr-play-stack-viewer[hidden] { display: none; }
.nr-play-stack-viewer-inner {
    display: flex; flex-direction: column; height: 100%;
}
.nr-play-stack-viewer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 12px; border-bottom: 1px solid #1E2630;
}
.nr-play-stack-viewer-header h4 { margin: 0; font-size: 13px; color: #d1d5db; }
.nr-play-stack-viewer-close {
    background: none; border: none; color: #6B7280; font-size: 18px;
    cursor: pointer; line-height: 1;
}
.nr-play-stack-viewer-close:hover { color: #fff; }
.nr-play-stack-viewer-list {
    flex: 1; overflow-y: auto; padding: 6px 10px;
    display: flex; flex-direction: column; gap: 2px;
}
.nr-play-sv-card {
    display: flex; align-items: center; gap: 6px;
    padding: 4px 6px; border-radius: 4px;
    font-size: 12px; color: #d1d5db;
}
.nr-play-sv-card:hover { background: rgba(255,255,255,.04); }
.nr-play-sv-card-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.nr-play-sv-card-face {
    font-size: 9px; color: #6B7280; margin-left: auto;
}

/* Play Surface drag + sync animations */
.nr-play-stack.is-animating {
    transition: left 150ms ease-out, top 150ms ease-out;
}
.nr-play-stack.is-dragging {
    transition: none;
    z-index: 1000;
    opacity: 0.85;
    cursor: grabbing;
}
.nr-play-stack.is-remote-updated {
    box-shadow: 0 0 6px rgba(99, 102, 241, 0.5);
}

/* Stack viewer controls */
.nr-play-sv-controls { padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
.nr-play-sv-controls[hidden] { display: none; }
.nr-play-sv-actions { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.nr-play-sv-btn {
    font-size: 10px; padding: 3px 8px; border-radius: 4px;
    background: rgba(255,255,255,.08); color: #D1D5DB; border: 1px solid rgba(255,255,255,.12);
    cursor: pointer;
}
.nr-play-sv-btn:hover { background: rgba(255,255,255,.15); }
.nr-play-sv-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.nr-play-sv-btn[hidden] { display: none; }
.nr-play-sv-target { display: flex; align-items: center; gap: 6px; }
.nr-play-sv-target label { font-size: 10px; color: #9CA3AF; white-space: nowrap; }
.nr-play-sv-target select {
    flex: 1; font-size: 10px; padding: 2px 4px; border-radius: 3px;
    background: rgba(255,255,255,.06); color: #D1D5DB; border: 1px solid rgba(255,255,255,.1);
}
.nr-play-sv-flip {
    font-size: 9px; padding: 1px 5px; border-radius: 3px; cursor: pointer;
    background: rgba(255,255,255,.06); color: #9CA3AF; border: 1px solid rgba(255,255,255,.08);
    margin-left: auto;
}
.nr-play-sv-flip:hover { background: rgba(255,255,255,.12); }

/* Hand Tray */
.nr-play-hand-tray {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 12;
    background: rgba(15, 23, 35, 0.95);
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 6px 10px;
}
.nr-play-hand-tray[hidden] { display: none; }
.nr-play-hand-tray-header {
    display: flex; align-items: center; gap: 6px;
    margin-bottom: 4px;
}
.nr-play-hand-tray-label {
    font-size: 10px; color: #9CA3AF; text-transform: uppercase; letter-spacing: 0.5px;
}
.nr-play-hand-tray-count {
    font-size: 10px; color: #6B7280;
    background: rgba(255,255,255,.06); padding: 1px 5px; border-radius: 8px;
}
.nr-play-hand-tray-cards {
    display: flex; gap: 4px; overflow-x: auto;
    padding-bottom: 2px;
}
.nr-play-hand-card {
    flex-shrink: 0;
    width: 56px; height: 36px;
    background: #1E293B; border: 1px solid #334155;
    border-radius: 4px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    cursor: pointer; font-size: 8px; color: #D1D5DB;
    position: relative;
    transition: transform .1s, border-color .1s;
}
.nr-play-hand-card:hover {
    transform: translateY(-4px);
    border-color: #3B82F6;
}
.nr-play-hand-card-label {
    max-width: 50px; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap;
    font-size: 7px; line-height: 1.2;
}
.nr-play-hand-card-face {
    font-size: 6px; color: #6B7280;
}
/* Hand card actions popover */
.nr-play-hand-actions {
    position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
    background: #1F2937; border: 1px solid rgba(255,255,255,.12);
    border-radius: 6px; padding: 4px; z-index: 20;
    display: flex; flex-direction: column; gap: 2px;
    box-shadow: 0 4px 12px rgba(0,0,0,.4);
    min-width: 90px;
}
.nr-play-hand-actions[hidden] { display: none; }
.nr-play-hand-action-btn {
    font-size: 10px; padding: 4px 8px; border-radius: 3px;
    background: none; border: none; color: #D1D5DB;
    cursor: pointer; text-align: left; white-space: nowrap;
}
.nr-play-hand-action-btn:hover { background: rgba(255,255,255,.08); }

/* Stack pile layering */
.nr-play-stack-layer {
    position: absolute; width: 100%; height: 100%;
    background: #1a2332; border: 1px solid #2d3a4a;
    border-radius: 5px; pointer-events: none;
}
.nr-play-stack-count, .nr-play-stack-name { position: relative; z-index: 2; }
.nr-play-stack.has-face-up { border-color: rgba(59, 130, 246, 0.4); }
.nr-play-stack:hover { transform: translateY(-2px); }

/* Stack pile drop target */
.nr-play-stack.is-drop-target {
    border-color: #10B981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* Viewer card drag */
.nr-play-sv-card[draggable="true"] { cursor: grab; }
.nr-play-sv-card.is-sv-dragging { opacity: 0.4; }
.nr-play-sv-card.sv-drop-above { border-top: 2px solid #3B82F6; }
.nr-play-sv-card.sv-drop-below { border-bottom: 2px solid #3B82F6; }
.nr-play-sv-drag-grip {
    font-size: 10px; color: #4B5563; cursor: grab;
    margin-right: 4px; user-select: none;
}

/* Viewer updated badge */
.nr-play-sv-updated-badge {
    font-size: 9px; padding: 1px 6px; border-radius: 8px;
    background: rgba(16, 185, 129, 0.2); color: #10B981;
    margin-left: 8px;
}
.nr-play-sv-updated-badge[hidden] { display: none; }

/* Fog of War: hidden card styles */
.nr-play-sv-card.is-fog {
    opacity: 0.6;
    background: rgba(75, 85, 99, 0.15);
}
.nr-play-sv-fog-pill {
    font-size: 8px; padding: 1px 5px; border-radius: 8px;
    background: rgba(245, 158, 11, 0.2); color: #F59E0B;
    margin-left: 4px;
}
.nr-play-sv-peek {
    font-size: 9px; padding: 2px 6px; border-radius: 3px;
    background: rgba(139, 92, 246, 0.2); color: #A78BFA;
    border: 1px solid rgba(139, 92, 246, 0.3);
    cursor: pointer; margin-left: 4px;
}
.nr-play-sv-peek:hover { background: rgba(139, 92, 246, 0.35); }
.nr-play-sv-peek:disabled { opacity: 0.4; cursor: not-allowed; }
.nr-play-sv-peek-tip {
    display: flex; align-items: center; gap: 4px;
    font-size: 10px; color: #A78BFA;
    background: rgba(139, 92, 246, 0.15);
    padding: 2px 6px; border-radius: 4px;
    margin-left: 8px;
}
.nr-play-sv-vis {
    font-size: 9px; padding: 1px 4px; border-radius: 3px;
    background: rgba(255, 255, 255, 0.06); color: #9CA3AF;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer; margin-left: 4px;
}
.nr-play-sv-vis:focus { border-color: #3B82F6; outline: none; }
.nr-play-hand-card.is-fog {
    opacity: 0.5;
}
.nr-fog-icon { font-size: 8px; }

/* Hand count badge in presence */
.nr-hand-count {
    font-size: 10px; color: #9CA3AF;
    margin-left: auto; white-space: nowrap;
}

/* Reveal button */
.nr-play-sv-reveal {
    font-size: 9px; padding: 2px 6px; border-radius: 3px;
    background: rgba(16, 185, 129, 0.2); color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    cursor: pointer; margin-left: 4px;
}
.nr-play-sv-reveal:hover { background: rgba(16, 185, 129, 0.35); }
.nr-play-sv-reveal:disabled { opacity: 0.4; cursor: not-allowed; }

/* Card flip reveal animation */
.nr-play-sv-card.is-card-revealing {
    animation: cardReveal 180ms ease-out;
}
@keyframes cardReveal {
    0% { transform: rotateY(90deg); opacity: 0.5; }
    100% { transform: rotateY(0deg); opacity: 1; }
}

/* Safety tools bar */
.nr-play-safety {
    display: flex; gap: 6px; padding: 6px 8px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.nr-btn-danger {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #EF4444 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}
.nr-btn-danger:hover {
    background: rgba(239, 68, 68, 0.3) !important;
}

/* Snapshot modal */
.nr-play-snapshot-modal {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.6); z-index: 30;
    display: flex; align-items: center; justify-content: center;
}
.nr-play-snapshot-modal[hidden] { display: none; }
.nr-play-snapshot-modal-inner {
    background: #1F2937; border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px; padding: 12px; width: 320px; max-height: 400px;
    overflow-y: auto;
}
.nr-play-snapshot-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 8px;
}
.nr-play-snapshot-modal-header h4 { font-size: 14px; color: #D1D5DB; margin: 0; }
.nr-play-snapshot-modal-close {
    background: none; border: none; color: #9CA3AF; font-size: 18px; cursor: pointer;
}
.nr-play-snapshot-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    padding: 6px; border-bottom: 1px solid rgba(255,255,255,.05);
}
.nr-play-snapshot-label {
    font-size: 12px; color: #D1D5DB; flex: 1;
}
.nr-play-snapshot-meta {
    font-size: 10px; color: #6B7280; width: 100%;
}

/* Reset confirm modal */
.nr-play-reset-modal {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.6); z-index: 30;
    display: flex; align-items: center; justify-content: center;
}
.nr-play-reset-modal[hidden] { display: none; }
.nr-play-reset-modal-inner {
    background: #1F2937; border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px; padding: 16px; width: 300px;
}
.nr-play-reset-modal-inner h4 { font-size: 14px; color: #EF4444; margin: 0 0 8px; }
.nr-play-reset-modal-inner p { font-size: 12px; color: #9CA3AF; margin: 0 0 8px; }
.nr-play-reset-input {
    width: 100%; padding: 6px 8px; border: 1px solid rgba(255,255,255,.1);
    background: rgba(0,0,0,.3); color: #D1D5DB; border-radius: 4px;
    font-size: 13px; margin-bottom: 10px;
}
.nr-play-reset-input:focus { border-color: #EF4444; outline: none; }
.nr-play-reset-actions {
    display: flex; gap: 8px; justify-content: flex-end;
}

/* ═══ Task 20A: Debug outline + Voice status ═══ */

/* Debug outline for shell screen (Ctrl+Shift+D, editors only) */
.lga-arena-shell.is-debug-outline .lga-shell-screen {
    outline: 2px dashed #FF6B35;
    outline-offset: -2px;
}
.lga-arena-shell.is-debug-outline .lga-shell-frame::before {
    opacity: 0.4;
}

/* Voice status line */
.nr-voice-status {
    font-size: 11px; color: #6B7280; margin: 6px 0 0; padding: 0;
}

/* Lock/role disabled button tooltip */
.btn[disabled][title] {
    position: relative;
    cursor: not-allowed;
}
.nr-lock-reason {
    display: block;
    font-size: 10px;
    color: #F59E0B;
    margin-top: 2px;
    font-weight: 500;
}

/* Click debug indicator (Ctrl+Shift+I) */
.lga-debug-click-dot {
    position: fixed;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #FF6B35;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    animation: lga-debug-fade .8s forwards;
}
@keyframes lga-debug-fade {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3); }
}

/* Dock arena chat (compact for bottom panel) */
.nexus-overlay-dock .nr-arena-chat-messages {
    max-height: 280px;
}
.nexus-overlay-dock .nr-arena-chat-form {
    display: flex; gap: 6px; margin-top: 6px;
}
.nexus-overlay-dock .nr-arena-chat-form input {
    flex: 1; min-width: 0;
}

/* ═══════════════════════════════════════════
   STATS BAR (Homepage)
   ═══════════════════════════════════════════ */
.lga-stats-bar {
    padding: 40px 0;
}
.lga-stats-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.lga-stat-item {
    text-align: center;
    min-width: 120px;
}
.lga-stat-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
}
.lga-stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
@media (max-width: 600px) {
    .lga-stats-row { gap: 24px; }
    .lga-stat-num { font-size: 32px; }
    .lga-stat-item { min-width: 80px; }
}

/* ═══════════════════════════════════════════
   RECENT ACTIVITY (Homepage)
   ═══════════════════════════════════════════ */
.lga-activity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 24px;
}
.lga-activity-heading {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}
.lga-activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--card);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-xs);
    margin-bottom: 8px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}
.lga-activity-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.lga-activity-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.lga-activity-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lga-activity-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.lga-activity-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lga-activity-meta {
    font-size: 12px;
    color: var(--text-secondary);
}
@media (max-width: 768px) {
    .lga-activity-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ═══════════════════════════════════════════
   CARD LINK (removes default link styles)
   ═══════════════════════════════════════════ */
.lga-card-link {
    text-decoration: none;
    color: inherit;
}

/* ═══════════════════════════════════════════
   EVENTS
   ═══════════════════════════════════════════ */
.lga-events-section {
    padding: 48px 0;
}
.lga-events-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}
.lga-event-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--card);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s, box-shadow 0.2s;
}
.lga-event-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.lga-event-date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(99,102,241,.08);
    text-align: center;
    flex-shrink: 0;
}
.lga-event-month {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.05em;
}
.lga-event-day {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
}
.lga-event-year {
    font-size: 11px;
    color: var(--text-secondary);
}
.lga-event-info {
    flex: 1;
    min-width: 0;
}
.lga-event-info h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}
.lga-event-info h3 a {
    color: var(--text);
    text-decoration: none;
}
.lga-event-info h3 a:hover {
    color: var(--accent);
}
.lga-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.lga-event-meta a {
    color: var(--accent);
    text-decoration: none;
}
.lga-event-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.lga-event-past-card {
    opacity: 0.7;
}
.lga-events-past .lga-event-date-block {
    background: rgba(0,0,0,.04);
}

/* Event card grid v2 (archive) */
.lga-event-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
/* Clickable card wrapper */
.lga-event-card-v2-link {
    text-decoration: none; color: inherit;
    display: flex; flex-direction: column;
    border-radius: var(--r, 18px);
    transition: transform .2s, box-shadow .2s;
}
.lga-event-card-v2-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.lga-event-card-v2 {
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--r, 18px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.lga-event-card-v2-link:hover .lga-event-card-v2 {
    border-color: var(--dusty-blue, #8899AA);
}
.lga-event-card-v2.is-past { opacity: .65; }
.lga-event-card-v2.is-past:hover { opacity: .85; }
.lga-event-card-banner {
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.lga-event-card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lga-event-card-banner-icon {
    font-size: 40px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.2));
}
.lga-event-card-date-pill {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 6px 10px;
    text-align: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.lga-event-card-date-month {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
    color: #64748b;
}
.lga-event-card-date-day {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 1px;
}
.lga-event-card-body {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.lga-event-card-body h3 {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
}
.lga-event-card-body h3 a { color: var(--text); text-decoration: none; }
.lga-event-card-body h3 a:hover { color: var(--dusty-blue, #8899AA); }
.lga-event-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.lga-event-card-game {
    font-size: 12px;
    margin-bottom: 8px;
}
.lga-event-card-game a { color: var(--dusty-blue, #8899AA); text-decoration: none; font-weight: 600; }
.lga-event-card-game a:hover { text-decoration: underline; }
.lga-event-card-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}
body.lga-dark .lga-event-card-v2 { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-event-card-date-pill { background: rgba(30,41,59,.9); }
body.lga-dark .lga-event-card-date-month { color: #94a3b8; }
body.lga-dark .lga-event-card-date-day { color: #e2e8f0; }
@media (max-width: 700px) {
    .lga-event-grid { grid-template-columns: 1fr; }
}

/* ══ Single Event v2 (prototype-inspired) ══ */
.lga-ev-hero {
    position: relative;
    padding: 80px 0 60px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #fff;
}
.lga-ev-hero.has-banner { min-height: 360px; display: flex; align-items: center; }
.lga-ev-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: brightness(.4) blur(2px);
    transform: scale(1.05);
}
.lga-ev-hero-inner { position: relative; z-index: 2; width: 100%; }
.lga-ev-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 12px;
}
.lga-ev-badge.upcoming { background: rgba(74,222,128,.2); color: #4ade80; border: 1px solid rgba(74,222,128,.3); }
.lga-ev-badge.past { background: rgba(148,163,184,.2); color: #94a3b8; border: 1px solid rgba(148,163,184,.3); }
.lga-ev-title {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.lga-ev-game-link {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}
.lga-ev-game-link:hover { color: #fff; }
.lga-ev-countdown {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 24px;
    background: rgba(0,0,0,.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.1);
}
.lga-ev-cd-unit { text-align: center; min-width: 56px; }
.lga-ev-cd-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #fff;
    line-height: 1;
}
.lga-ev-cd-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.5);
    margin-top: 4px;
}
.lga-ev-cd-sep {
    font-size: 28px;
    font-weight: 300;
    color: rgba(255,255,255,.25);
    margin: 0 2px;
}
.lga-ev-past-note {
    margin-top: 16px;
    font-size: 15px;
    color: rgba(255,255,255,.5);
}
/* Info card */
.lga-ev-info-section { margin-top: -30px; position: relative; z-index: 3; padding-bottom: 32px; }
.lga-ev-info-card {
    background: var(--card, #fff);
    border: 1px solid var(--cardBorder, #e2e8f0);
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.lga-ev-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 32px;
    margin-bottom: 20px;
}
.lga-ev-info-item { display: flex; align-items: center; gap: 10px; }
.lga-ev-info-icon { color: var(--dusty-blue, #8899AA); flex-shrink: 0; }
.lga-ev-info-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; }
.lga-ev-info-val { font-size: 15px; font-weight: 600; color: var(--text); }
.lga-ev-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* Content grid */
.lga-ev-content { padding: 20px 0 60px; }
.lga-ev-content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}
.lga-ev-main h2 { font-family: var(--font-serif); font-size: 22px; margin: 0 0 16px; }
.lga-ev-sidebar { display: flex; flex-direction: column; gap: 16px; }
.lga-ev-side-card {
    background: var(--card, #fff);
    border: 1px solid var(--cardBorder, #e2e8f0);
    border-radius: 14px;
    padding: 16px;
}
.lga-ev-side-card h3 { font-size: 14px; font-weight: 700; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.lga-ev-stats-row { display: flex; gap: 16px; text-align: center; }
.lga-ev-stat { flex: 1; }
.lga-ev-stat-num { font-size: 22px; font-weight: 700; color: var(--text); }
.lga-ev-stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-top: 2px; }
.lga-ev-roster { display: flex; flex-direction: column; gap: 8px; }
.lga-ev-roster-user {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--text);
    padding: 6px 8px; border-radius: 10px;
    transition: background .15s;
}
.lga-ev-roster-user:hover { background: rgba(0,0,0,.03); }
.lga-ev-roster-av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.lga-ev-roster-name { font-weight: 600; font-size: 13px; }
.lga-ev-roster-xp { font-size: 11px; color: var(--text-muted); }
.lga-ev-game-card {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--text);
    padding: 8px; border-radius: 10px;
    background: rgba(0,0,0,.02);
    font-weight: 600; font-size: 14px;
}
.lga-ev-game-card:hover { background: rgba(0,0,0,.05); }
.lga-ev-game-card-img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.lga-ev-related { padding: 40px 0 60px; border-top: 1px solid var(--line); }
/* Dark mode */
body.lga-dark .lga-ev-info-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-ev-side-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-ev-roster-user:hover { background: rgba(255,255,255,.04); }
body.lga-dark .lga-ev-game-card { background: rgba(255,255,255,.04); }
body.lga-dark .lga-ev-game-card:hover { background: rgba(255,255,255,.08); }
@media (max-width: 900px) {
    .lga-ev-content-grid { grid-template-columns: 1fr; }
    .lga-ev-title { font-size: 28px; }
    .lga-ev-cd-num { font-size: 24px; }
    .lga-ev-cd-unit { min-width: 40px; }
    .lga-ev-info-grid { gap: 12px 20px; }
}

/* ══ Single Event v2 — 2-column prototype layout ══ */
.lga-ev2-page { padding: 24px 0 60px; }
.lga-ev2-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.lga-ev2-main { display: flex; flex-direction: column; gap: 0; }

/* Banner card */
.lga-ev2-banner-card { border-radius: 18px; overflow: hidden; margin-bottom: 0; }
.lga-ev2-banner {
    position: relative; height: 240px;
    background-size: cover; background-position: center;
    display: flex; align-items: flex-end; padding: 24px;
    border-radius: 18px; overflow: hidden;
}
.lga-ev2-banner-plain {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    align-items: center; justify-content: center; flex-direction: column;
    text-align: center;
}
.lga-ev2-banner-overlay {
    position: relative; z-index: 2; width: 100%;
}
.lga-ev2-banner::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
    z-index: 1;
}
.lga-ev2-banner-plain::before { display: none; }
.lga-ev2-badge {
    display: inline-block; position: relative; z-index: 2;
    padding: 4px 12px; border-radius: 999px;
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
    margin-bottom: 8px;
}
.lga-ev2-badge.upcoming { background: rgba(74,222,128,.2); color: #4ade80; border: 1px solid rgba(74,222,128,.3); }
.lga-ev2-badge.past { background: rgba(148,163,184,.2); color: #94a3b8; border: 1px solid rgba(148,163,184,.3); }
.lga-ev2-title {
    font-family: var(--font-serif); font-size: 32px; font-weight: 700;
    color: #fff; margin: 0; position: relative; z-index: 2;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* Countdown */
.lga-ev2-cd-wrap { text-align: center; padding: 28px 0 20px; }
.lga-ev2-cd-label {
    font-size: 11px; text-transform: uppercase; letter-spacing: .16em;
    color: var(--text-muted); margin-bottom: 12px; font-weight: 600;
}
.lga-ev2-cd { display: inline-flex; gap: 24px; }
.lga-ev2-cd-unit { text-align: center; }
.lga-ev2-cd-num {
    display: block; font-size: 48px; font-weight: 800;
    color: var(--text); line-height: 1; font-variant-numeric: tabular-nums;
}
.lga-ev2-cd-sub {
    display: block; font-size: 10px; text-transform: uppercase;
    letter-spacing: .12em; color: var(--text-muted); margin-top: 4px;
}

/* Info row */
.lga-ev2-info-row {
    display: flex; flex-wrap: wrap; gap: 8px 24px;
    font-size: 14px; color: var(--text);
    padding: 16px 0; border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.lga-ev2-info-row strong { font-weight: 700; }

/* Actions */
.lga-ev2-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0; }

/* Session details */
.lga-ev2-details { padding: 8px 0 0; }
.lga-ev2-details h2 { font-family: var(--font-serif); font-size: 20px; margin: 0 0 12px; }

/* Sidebar */
.lga-ev2-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 80px; }
.lga-ev2-side-card {
    background: var(--card, #fff); border: 1px solid var(--cardBorder, #e2e8f0);
    border-radius: 14px; padding: 16px;
}
.lga-ev2-side-label {
    font-size: 10px; text-transform: uppercase; letter-spacing: .14em;
    color: var(--text-muted); font-weight: 700; margin-bottom: 12px;
}

/* Session Host */
.lga-ev2-host { display: flex; align-items: center; gap: 12px; }
.lga-ev2-host-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.lga-ev2-host-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.lga-ev2-role-badge {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    background: var(--bg, #F4F6F8); border: 1px solid var(--cardBorder, #e2e8f0);
    color: var(--text-muted);
}

/* Quick Stats */
.lga-ev2-quick-stats { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.lga-ev2-quick-stats strong { font-weight: 700; }

/* Voice Channel */
.lga-ev2-voice-status { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.lga-ev2-voice-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
    box-shadow: 0 0 6px rgba(74,222,128,.5);
}

/* Other Sessions */
.lga-ev2-other-sessions { display: flex; flex-direction: column; gap: 8px; }
.lga-ev2-other-item {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--text); padding: 8px 10px;
    border-radius: 10px; border: 1px solid var(--cardBorder, #e2e8f0);
    transition: background .15s;
}
.lga-ev2-other-item:hover { background: rgba(0,0,0,.02); }
.lga-ev2-other-date { text-align: center; min-width: 36px; }
.lga-ev2-other-day-name {
    display: block; font-size: 10px; text-transform: uppercase;
    letter-spacing: .08em; color: var(--dusty-blue, #8899AA); font-weight: 700;
}
.lga-ev2-other-day-num { display: block; font-size: 20px; font-weight: 700; line-height: 1.1; }
.lga-ev2-other-title { font-weight: 600; font-size: 13px; }
.lga-ev2-other-time { font-size: 11px; color: var(--text-muted); }

/* Game link */
.lga-ev2-game-link {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--text); font-weight: 600; font-size: 14px;
    padding: 8px; border-radius: 10px; background: rgba(0,0,0,.02);
}
.lga-ev2-game-link:hover { background: rgba(0,0,0,.05); }
.lga-ev2-game-img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }

/* Roster */
.lga-ev2-roster-section {
    margin-top: 32px; padding: 24px;
    background: var(--card, #fff); border: 1px solid var(--cardBorder, #e2e8f0);
    border-radius: 18px;
}
.lga-ev2-roster-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lga-ev2-roster-card {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; border-radius: 12px;
    border: 1px solid var(--cardBorder, #e2e8f0);
}
.lga-ev2-roster-left { display: flex; align-items: center; gap: 10px; }
.lga-ev2-roster-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.lga-ev2-roster-name { font-weight: 700; font-size: 13px; }
.lga-ev2-roster-status { font-size: 11px; color: var(--text-muted); }

/* Dark mode */
body.lga-dark .lga-ev2-side-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-ev2-roster-section { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-ev2-roster-card { border-color: var(--border); }
body.lga-dark .lga-ev2-role-badge { background: rgba(255,255,255,.06); border-color: var(--border); }
body.lga-dark .lga-ev2-other-item { border-color: var(--border); }
body.lga-dark .lga-ev2-other-item:hover { background: rgba(255,255,255,.04); }
body.lga-dark .lga-ev2-game-link { background: rgba(255,255,255,.04); }
body.lga-dark .lga-ev2-game-link:hover { background: rgba(255,255,255,.08); }
body.lga-dark .lga-ev2-roster-card:hover { background: rgba(255,255,255,.03); }

@media (max-width: 900px) {
    .lga-ev2-layout { grid-template-columns: 1fr; }
    .lga-ev2-sidebar { position: static; }
    .lga-ev2-roster-grid { grid-template-columns: 1fr; }
    .lga-ev2-cd-num { font-size: 32px; }
    .lga-ev2-title { font-size: 24px; }
}

/* Event hero (single) -- legacy, kept for compat */
.lga-event-hero {
    padding: 60px 0 40px;
    background: var(--bg);
}
.lga-event-hero-inner {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.lga-event-hero-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--card);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-xs);
    text-align: center;
    flex-shrink: 0;
}
.lga-event-hero-month {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.05em;
}
.lga-event-hero-day {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
}
.lga-event-hero-year {
    font-size: 13px;
    color: var(--text-secondary);
}
.lga-event-hero-text h1 {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}
.lga-event-key-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Event content (single) */
.lga-event-content {
    padding: 48px 0;
}
.lga-event-content-inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}
.lga-event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.lga-event-game-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
}
.lga-event-game-link img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}
.lga-event-game-link:hover {
    color: var(--accent);
}
.lga-tag-live {
    background: rgba(34,197,94,.12);
    color: #166534;
    border: 1px solid rgba(34,197,94,.25);
}
.lga-tag-muted {
    background: rgba(0,0,0,.06);
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .lga-event-hero-inner { flex-direction: column; gap: 20px; }
    .lga-event-hero-date { flex-direction: row; gap: 8px; min-width: auto; }
    .lga-event-content-inner { grid-template-columns: 1fr; }
    .lga-event-card { flex-direction: column; gap: 12px; }
}

/* ═══════════════════════════════════════════
   TAXONOMY ARCHIVE
   ═══════════════════════════════════════════ */
.lga-taxonomy-header {
    text-align: center;
}
.lga-taxonomy-header .lga-tag {
    display: inline-block;
    margin-bottom: 12px;
}
.lga-taxonomy-count {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ═══════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════ */
.lga-empty-state,
.lga-no-results {
    text-align: center;
    padding: 60px 20px;
}
.lga-empty-state p,
.lga-no-results p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.lga-empty-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════ */
.lga-404-wrap {
    padding: 100px 20px;
}
.lga-404-title {
    font-size: 72px;
    margin-bottom: 8px;
}
.lga-404-text {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}
.lga-404-search {
    max-width: 480px;
    margin: 0 auto 32px;
}
.lga-404-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   NOTIFICATION BELL + DROPDOWN
   ═══════════════════════════════════════════ */
.lga-notif-wrap { position: relative; }
.lga-notif-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--card);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    color: var(--text);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.lga-notif-bell:hover {
    background: rgba(0,0,0,.08);
    transform: scale(1.08);
}
.lga-notif-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #EF4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    padding: 0 4px;
}

/* Notification dropdown panel — absolute inside .lga-notif-wrap (avoids backdrop-filter stacking issues) */
.lga-notif-panel {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 320px;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow);
    z-index: 9999;
    overflow: hidden;
}
.lga-notif-panel[hidden] { display: none !important; }
.lga-notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}
.lga-notif-mark-read {
    background: none;
    border: none;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font);
}
.lga-notif-mark-read:hover { color: var(--text); }
.lga-notif-list {
    max-height: 300px;
    overflow-y: auto;
}
.lga-notif-item {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    transition: background 0.15s;
}
.lga-notif-item:hover { background: rgba(0,0,0,.03); }
.lga-notif-item.is-unread { background: rgba(59,130,246,.04); }
.lga-notif-item-time {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}
.lga-notif-empty {
    padding: 24px 16px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}
.lga-notif-footer {
    display: block;
    padding: 10px 16px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    border-top: 1px solid var(--line);
    transition: background 0.15s;
}
.lga-notif-footer:hover { background: rgba(0,0,0,.03); }

/* ═══════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════ */
.lga-breadcrumbs {
    padding: 12px 0;
    font-size: 13px;
    color: var(--text-secondary);
}
.lga-breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
}
.lga-breadcrumbs a:hover {
    color: var(--accent);
}
.lga-breadcrumbs .lga-bc-sep {
    margin: 0 8px;
    opacity: 0.5;
}
.lga-breadcrumbs .lga-bc-current {
    color: var(--text);
    font-weight: 500;
}

/* ═══════════════════════════════════════════
   SIMILAR GAMES SECTION
   ═══════════════════════════════════════════ */
.lga-similar-games {
    padding: 48px 0;
}
.lga-similar-games h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}
.lga-similar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.lga-similar-card {
    background: var(--card);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}
.lga-similar-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.lga-similar-card-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: rgba(0,0,0,.05);
}
.lga-similar-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lga-similar-card-body {
    padding: 14px;
}
.lga-similar-card-body h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lga-similar-card-body .lga-game-meta {
    font-size: 12px;
}
@media (max-width: 768px) {
    .lga-similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════════
   BUTTON VARIANTS
   ═══════════════════════════════════════════ */
.lga-btn-block {
    display: block;
    width: 100%;
    text-align: center;
}
.lga-btn-danger {
    color: #DC2626;
}
.lga-btn-danger:hover {
    background: rgba(220,38,38,.08);
}

/* ═══════════════════════════════════════════
   SIDEBAR LINKS (stacked button group)
   ═══════════════════════════════════════════ */
.lga-sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ═══════════════════════════════════════════
   SUBMISSIONS LIST (My Account)
   ═══════════════════════════════════════════ */
.lga-submissions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lga-submission-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: var(--radius);
    background: var(--card);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-xs);
}
.lga-submission-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.lga-submission-title {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lga-submission-status {
    font-size: 12px;
    color: #D97706;
    font-weight: 600;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(217,119,6,.08);
}

/* ═══════════════════════════════════════════
   HOW IT WORKS PAGE
   ═══════════════════════════════════════════ */
.lga-hiw-steps {
    padding: 24px 0 48px;
}
.lga-hiw-step {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
}
.lga-hiw-step-alt {
    flex-direction: row-reverse;
}
.lga-hiw-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.lga-hiw-card {
    flex: 1;
    background: var(--card);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    padding: 32px;
}
.lga-hiw-icon {
    color: var(--accent);
    margin-bottom: 16px;
}
.lga-hiw-card h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}
.lga-hiw-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.lga-hiw-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}
.lga-hiw-feature {
    background: var(--card);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    text-decoration: none; color: inherit; display: block;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.lga-hiw-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.lga-hiw-feature h3 {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}
.lga-hiw-feature p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}
@media (max-width: 768px) {
    .lga-hiw-step,
    .lga-hiw-step-alt {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .lga-hiw-number { margin-top: 0; margin-bottom: 12px; }
    .lga-hiw-features { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   GAME WATCHLIST BUTTON
   ═══════════════════════════════════════════ */
.lga-watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.12);
    background: var(--card);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.lga-watch-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.lga-watch-btn.is-watching {
    background: rgba(99,102,241,.08);
    border-color: var(--accent);
    color: var(--accent);
}
.lga-watch-btn svg {
    width: 16px;
    height: 16px;
}

/* ═══════════════════════════════════════════
   FOLLOW BUTTON (Author Profile)
   ═══════════════════════════════════════════ */
.lga-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.12);
    background: var(--card);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.lga-follow-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.lga-follow-btn.is-following {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.lga-follow-btn.is-following:hover {
    background: rgba(99,102,241,.85);
}

/* ═══════════════════════════════════════════
   WHAT IS A NEXUS PAGE
   ═══════════════════════════════════════════ */
.lga-nexus-explain-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}
.lga-nexus-explain-card {
    background: var(--card);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    padding: 32px;
}
.lga-nexus-explain-main h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}
.lga-nexus-explain-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}
.lga-nexus-explain-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.lga-nexus-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}
.lga-nexus-feat {
    background: var(--card);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.lga-nexus-feat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.lga-nexus-feat-icon {
    color: var(--accent);
    margin-bottom: 12px;
}
.lga-nexus-feat h3 {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.lga-nexus-feat p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.lga-nexus-skins {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}
@media (max-width: 992px) {
    .lga-nexus-features { grid-template-columns: repeat(3, 1fr); }
    .lga-nexus-explain-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .lga-nexus-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .lga-nexus-features { grid-template-columns: 1fr; }
}

/* =============================================================
   AUTH PAGES  (Login, Join, Forgot Password, Set Password)
   ============================================================= */
.lga-auth-page {
    display: flex;
    justify-content: center;
    padding: 80px 20px;
    min-height: 60vh;
    align-items: flex-start;
}
.lga-auth-card {
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    max-width: 440px;
    width: 100%;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow);
}
.lga-auth-card h1 {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text);
}
.lga-auth-sub {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 24px;
}
.lga-auth-errors {
    background: rgba(220,38,38,.06);
    border: 1px solid rgba(220,38,38,.15);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin: 0 0 20px;
}
.lga-auth-errors p {
    color: #dc2626;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}
.lga-auth-errors p + p { margin-top: 4px; }
.lga-auth-errors a { color: var(--text); font-weight: 600; }

/* Auth form fields */
.lga-auth-field {
    margin-bottom: 16px;
}
.lga-auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.lga-auth-field input[type="text"],
.lga-auth-field input[type="password"],
.lga-auth-field input[type="email"] {
    width: 100%;
    padding: 11px 16px;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(0,0,0,.10);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 15px;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.lga-auth-field input:focus {
    border-color: var(--text-muted);
}

/* Login options row */
.lga-auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
}
.lga-auth-remember {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.lga-auth-remember input { accent-color: var(--text); }
.lga-auth-forgot {
    color: var(--text-secondary);
    font-weight: 500;
}
.lga-auth-forgot:hover { text-decoration: underline; color: var(--text); }

/* Auth footer text */
.lga-auth-foot {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin: 20px 0 0;
}
.lga-auth-foot a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}
.lga-auth-foot a:hover { text-decoration: underline; }

/* Join success steps */
.lga-auth-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.lga-auth-step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--cardBorder);
    color: var(--text);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lga-auth-step strong {
    color: var(--text);
    font-size: 15px;
}

/* Honeypot */
.lga-hp { position: absolute; left: -9999px; overflow: hidden; }

@media (max-width: 480px) {
    .lga-auth-card { padding: 32px 24px; }
}

/* =============================================================
   CONTACT PAGE
   ============================================================= */
.lga-contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
}
.lga-contact-main .lga-sidebar-card { max-width: 600px; }
.lga-contact-topics {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lga-contact-topics li {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--text-secondary);
}
.lga-contact-topics li:last-child { border-bottom: none; }

@media (max-width: 768px) {
    .lga-contact-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   SEARCH RESULTS
   ============================================================= */
.lga-search-tabs {
    display: flex;
    gap: 4px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.lga-search-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--line);
    transition: all 0.2s;
}
.lga-search-tab:hover {
    color: var(--text);
    border-color: var(--text-muted);
}
.lga-search-tab.is-active {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}
.lga-search-tab-count {
    font-size: 11px;
    opacity: 0.7;
}
.lga-search-tab.is-active .lga-search-tab-count {
    opacity: 0.85;
}

/* Result cards */
.lga-search-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.lga-search-result {
    display: flex;
    gap: 20px;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius);
    padding: 20px;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.2s;
}
.lga-search-result:hover {
    box-shadow: var(--shadow-sm);
}
.lga-search-result-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.lga-search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lga-search-result-body {
    flex: 1;
    min-width: 0;
}
.lga-search-result-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.lga-search-result-meta {
    font-size: 12px;
    color: var(--text-muted);
}
.lga-search-result-title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.3;
}
.lga-search-result-title a { color: var(--text); }
.lga-search-result-title a:hover { color: var(--dusty-blue); }
.lga-search-result-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}
.lga-empty-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Tag variants */
.lga-tag-hub { background: rgba(34,197,94,.08); color: #166534; }
.lga-tag-vault { background: rgba(168,85,247,.08); color: #7e22ce; }
.lga-tag-event { background: rgba(59,130,246,.08); color: #1d4ed8; }
.lga-tag-default { background: rgba(0,0,0,.05); color: var(--text-secondary); }

@media (max-width: 600px) {
    .lga-search-result { flex-direction: column; gap: 12px; }
    .lga-search-result-thumb { width: 100%; height: 160px; }
}

/* =============================================================
   LEGAL PAGES  (Privacy Policy, Terms of Service)
   ============================================================= */
.lga-legal-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
}
.lga-legal-nav {
    position: sticky;
    top: 24px;
}
.lga-legal-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lga-legal-toc li {
    border-bottom: 1px solid var(--line);
}
.lga-legal-toc li:last-child { border-bottom: none; }
.lga-legal-toc a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-secondary);
    transition: color 0.15s;
}
.lga-legal-toc a:hover { color: var(--text); }

.lga-legal-body {
    max-width: 720px;
}
.lga-legal-body h2 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    margin: 40px 0 12px;
    color: var(--text);
    scroll-margin-top: 24px;
}
.lga-legal-body h2:first-of-type { margin-top: 24px; }
.lga-legal-body p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.lga-legal-body ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}
.lga-legal-body li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.lga-legal-body a {
    color: var(--text);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.lga-legal-body a:hover { color: var(--dusty-blue); }
.lga-legal-body strong { color: var(--text); }

@media (max-width: 768px) {
    .lga-legal-grid { grid-template-columns: 1fr; }
    .lga-legal-nav { position: static; }
}

/* ═══════════════════════════════════════════
   ACTIVITY FEED / TIMELINE
   ═══════════════════════════════════════════ */
.lga-activity-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}
.lga-online-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    white-space: nowrap;
}
.lga-online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    animation: lga-pulse 2s infinite;
}
@keyframes lga-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

.lga-timeline {
    position: relative;
    padding-left: 28px;
}
.lga-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--line);
    border-radius: 1px;
}

.lga-timeline-date {
    position: relative;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 24px 0 12px;
    padding: 4px 0;
}
.lga-timeline-date:first-child { margin-top: 0; }

.lga-timeline-item {
    position: relative;
    margin-bottom: 12px;
}
.lga-timeline-dot {
    position: absolute;
    left: -24px;
    top: 16px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--bg);
    background: #6B7280;
    z-index: 1;
}
.lga-dot-game   { background: var(--dusty-blue); }
.lga-dot-hub    { background: var(--sage); }
.lga-dot-vault  { background: var(--mustard); }
.lga-dot-event  { background: #818CF8; }
.lga-dot-member { background: #F472B6; }
.lga-dot-review { background: #FBBF24; }

.lga-timeline-card {
    display: flex;
    gap: 14px;
    padding: 14px 18px;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    transition: box-shadow .15s;
}
.lga-timeline-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.lga-timeline-thumb img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}
.lga-timeline-body { flex: 1; min-width: 0; }
.lga-timeline-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.lga-timeline-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
}
.lga-timeline-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 2px;
}
.lga-timeline-title:hover { color: var(--dusty-blue); }
.lga-timeline-meta {
    font-size: 12px;
    color: var(--text-muted);
}
.lga-timeline-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-top: 6px;
}
.lga-timeline-author img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
.lga-timeline-author:hover { color: var(--dusty-blue); }

/* Tag colors for activity types */
.lga-tag-game   { background: rgba(136,153,170,.12); color: var(--dusty-blue); }
.lga-tag-hub    { background: rgba(112,136,120,.12); color: var(--sage); }
.lga-tag-member { background: rgba(244,114,182,.12); color: #EC4899; }
.lga-tag-review { background: rgba(251,191,36,.12); color: #B45309; }
.lga-tag-lfg    { background: rgba(249,115,22,.12); color: #C2410C; }
.lga-tag-guide  { background: rgba(16,185,129,.12); color: #047857; }
.lga-dot-lfg    { background: #F97316; }
.lga-dot-guide  { background: #10B981; }

/* Pagination for activity */
.lga-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px 0;
}
.lga-pagination-info {
    font-size: 13px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   GAME SERIES SIDEBAR
   ═══════════════════════════════════════════ */
.lga-series-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lga-series-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: background .15s;
}
.lga-series-item:hover { background: rgba(0,0,0,.03); }
.lga-series-item.is-current {
    background: rgba(136,153,170,.08);
    font-weight: 600;
}
.lga-series-item img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}
.lga-series-item-info { flex: 1; min-width: 0; }
.lga-series-item-title {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lga-series-item-year {
    font-size: 11px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   COMMUNITY PLAYERS SECTION
   ═══════════════════════════════════════════ */
.lga-players-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lga-player-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: 999px;
    text-decoration: none;
    color: var(--text);
    font-size: 13px;
    transition: box-shadow .15s;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
}
.lga-player-chip:hover { box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.lga-player-chip img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.lga-player-chip .lga-online-dot {
    width: 6px;
    height: 6px;
}
.lga-players-also {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}
.lga-players-also a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}
.lga-players-also a:hover { color: var(--dusty-blue); }
.lga-player-count {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* ═══════════════════════════════════════════
   REVIEWS & RATINGS
   ═══════════════════════════════════════════ */
.lga-stars {
    display: inline-flex;
    gap: 2px;
    color: #FBBF24;
}
.lga-stars svg { width: 16px; height: 16px; }
.lga-stars-empty svg { color: #D1D5DB; }
.lga-star-avg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.lga-star-avg .lga-star-count {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}
.lga-review-form {
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    margin-bottom: 20px;
}
.lga-review-stars-input {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}
.lga-review-stars-input button {
    background: none;
    border: none;
    cursor: pointer;
    color: #D1D5DB;
    padding: 2px;
    transition: color .1s;
}
.lga-review-stars-input button:hover,
.lga-review-stars-input button.is-active { color: #FBBF24; }
.lga-review-stars-input button svg { width: 24px; height: 24px; }

.lga-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.lga-review-card {
    padding: 16px;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
}
.lga-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.lga-review-header img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.lga-review-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}
.lga-review-author:hover { color: var(--dusty-blue); }
.lga-review-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
}
.lga-review-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   TRENDING SECTION
   ═══════════════════════════════════════════ */
.lga-trending-strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}
.lga-trending-card {
    flex: 0 0 200px;
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow .15s, transform .15s;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
}
.lga-trending-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.lga-trending-card-thumb {
    height: 120px;
    overflow: hidden;
}
.lga-trending-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lga-trending-card-body {
    padding: 12px;
}
.lga-trending-card-body h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lga-trending-card-views {
    font-size: 11px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .lga-activity-header { flex-direction: column; }
    .lga-timeline { padding-left: 20px; }
    .lga-timeline-dot { left: -17px; width: 10px; height: 10px; }
}

/* ═══════════════════════════════════════
   ACHIEVEMENTS & XP
   ═══════════════════════════════════════ */
.lga-achievements { margin-bottom: 24px; }
.lga-achiev-category h4 {
    font-size: 13px; font-weight: 600; color: var(--accent-dusty);
    text-transform: uppercase; letter-spacing: 0.05em;
    margin: 16px 0 8px; padding-bottom: 4px; border-bottom: 1px solid #ddd;
}
.lga-achiev-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px; margin-bottom: 12px;
}
.lga-achiev-badge {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 12px;
    padding: 10px 8px; text-align: center; transition: all 0.2s;
}
.lga-achiev-badge.is-locked {
    opacity: 0.35; filter: grayscale(1);
}
.lga-achiev-badge.is-unlocked {
    border-color: var(--accent-mustard); background: #FFFDF7;
    box-shadow: 0 2px 8px rgba(160, 148, 112, 0.15);
}
.lga-achiev-icon { font-size: 28px; display: block; margin-bottom: 4px; line-height: 1.2; }
.lga-achiev-name { font-size: 11px; font-weight: 600; color: #333; display: block; line-height: 1.3; }
.lga-achiev-xp { font-size: 10px; color: var(--accent-dusty); display: block; }

/* XP Progress Bar */
.lga-xp-bar-wrap { margin-bottom: 20px; }
.lga-xp-info { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.lga-xp-level { font-size: 16px; font-weight: 700; color: var(--accent-mustard); }
.lga-xp-amount { font-size: 12px; color: #666; }
.lga-xp-bar {
    height: 10px; background: #e8e8e8; border-radius: 999px; overflow: hidden;
}
.lga-xp-fill {
    height: 100%; background: linear-gradient(90deg, var(--accent-mustard), var(--accent-sage));
    border-radius: 999px; transition: width 0.5s ease;
}
.lga-xp-next { font-size: 11px; color: #888; margin-top: 4px; }

/* Level badge (inline) */
.lga-level-badge {
    display: inline-flex; align-items: center; gap: 3px;
    background: var(--accent-mustard); color: #fff; font-size: 10px;
    font-weight: 700; padding: 2px 6px; border-radius: 999px;
}

/* ═══════════════════════════════════════
   LFG CARDS
   ═══════════════════════════════════════ */
.lga-lfg-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}
.lga-lfg-card {
    background: #fff; border-radius: var(--r, 18px); padding: 20px;
    border: 1px solid #e0e0e0; transition: transform 0.2s, box-shadow 0.2s;
}
.lga-lfg-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm, 0 4px 16px rgba(0,0,0,0.08)); }
.lga-lfg-card.is-filled { opacity: 0.5; }
.lga-lfg-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.lga-lfg-title { font-size: 16px; font-weight: 600; color: #222; }
.lga-lfg-type {
    font-size: 10px; font-weight: 600; text-transform: uppercase;
    padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.lga-lfg-type-players { background: #DBEAFE; color: #1D4ED8; }
.lga-lfg-type-group { background: #D1FAE5; color: #065F46; }
.lga-lfg-type-gm { background: #FDE68A; color: #92400E; }
.lga-lfg-meta { font-size: 12px; color: #666; margin-bottom: 8px; }
.lga-lfg-desc { font-size: 13px; color: #444; line-height: 1.5; margin-bottom: 12px; }
.lga-lfg-footer { display: flex; justify-content: space-between; align-items: center; }
.lga-lfg-spots { font-size: 12px; color: var(--accent-dusty); font-weight: 600; }
.lga-lfg-filled-tag {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    color: #EF4444; background: #FEE2E2; padding: 3px 8px; border-radius: 999px;
}

/* LFG Submit form */
.lga-lfg-form { max-width: 600px; }
.lga-lfg-form .lga-field { margin-bottom: 16px; }
.lga-lfg-form label { display: block; font-size: 13px; font-weight: 600; color: #333; margin-bottom: 4px; }
.lga-lfg-form input, .lga-lfg-form textarea, .lga-lfg-form select {
    width: 100%; padding: 10px 14px; border: 1px solid #d0d5dd; border-radius: 12px;
    font-size: 14px; background: #fff;
}

/* ═══════════════════════════════════════
   FRIEND REQUESTS
   ═══════════════════════════════════════ */
.lga-friend-list { display: flex; flex-wrap: wrap; gap: 12px; }
.lga-friend-card {
    display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid #e0e0e0; border-radius: 12px;
    padding: 10px 14px; min-width: 200px; transition: box-shadow 0.2s;
}
.lga-friend-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.lga-friend-avatar { width: 36px; height: 36px; border-radius: 50%; }
.lga-friend-info { flex: 1; min-width: 0; }
.lga-friend-name { font-size: 13px; font-weight: 600; color: #222; display: block; }
.lga-friend-level { font-size: 10px; color: #888; }
.lga-friend-actions { display: flex; gap: 4px; }
.lga-friend-request-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.lga-friend-request {
    display: flex; align-items: center; gap: 10px;
    background: #FFFDF7; border: 1px solid var(--accent-mustard); border-radius: 12px;
    padding: 10px 14px;
}

/* ═══════════════════════════════════════
   LEADERBOARD
   ═══════════════════════════════════════ */
.lga-leaderboard-tabs {
    display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap;
}
.lga-lb-tab {
    padding: 8px 16px; border-radius: 999px; border: 1px solid #d0d5dd;
    background: #fff; font-size: 13px; font-weight: 500; cursor: pointer;
    color: #555; transition: all 0.2s;
}
.lga-lb-tab.is-active { background: var(--accent-dusty); color: #fff; border-color: var(--accent-dusty); }
.lga-lb-table { width: 100%; border-collapse: separate; border-spacing: 0 4px; }
.lga-lb-table th {
    font-size: 11px; text-transform: uppercase; color: #888; font-weight: 600;
    padding: 8px 12px; text-align: left; letter-spacing: 0.05em;
}
.lga-lb-table td { padding: 10px 12px; background: #fff; }
.lga-lb-table tr td:first-child { border-radius: 12px 0 0 12px; }
.lga-lb-table tr td:last-child { border-radius: 0 12px 12px 0; }
.lga-lb-rank {
    font-size: 16px; font-weight: 700; color: var(--accent-mustard); width: 40px;
}
.lga-lb-rank-1 { color: #F59E0B; font-size: 20px; }
.lga-lb-rank-2 { color: #9CA3AF; font-size: 20px; }
.lga-lb-rank-3 { color: #B45309; font-size: 20px; }
.lga-lb-me td { background: rgba(136,153,170,0.1) !important; }
body.lga-dark .lga-lb-me td { background: rgba(136,153,170,0.15) !important; }
.lga-lb-user { display: flex; align-items: center; gap: 10px; }
.lga-lb-avatar { width: 32px; height: 32px; border-radius: 50%; }
.lga-lb-name { font-weight: 600; font-size: 14px; color: #222; }
.lga-lb-stat { font-size: 14px; font-weight: 600; color: var(--accent-dusty); }

/* ═══════════════════════════════════════
   DAILY STREAK
   ═══════════════════════════════════════ */
.lga-streak-bar {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; background: linear-gradient(135deg, #FFF7ED, #FEF3C7);
    border-radius: 14px; border: 1px solid #F59E0B33;
}
.lga-streak-flame { font-size: 28px; line-height: 1; }
.lga-streak-info { flex: 1; }
.lga-streak-count {
    font-size: 18px; font-weight: 700; color: #92400E;
    font-family: 'Playfair Display', serif;
}
.lga-streak-label { font-size: 12px; color: #A16207; margin-top: 2px; }
.lga-streak-multiplier {
    padding: 4px 10px; border-radius: 999px; background: #F59E0B;
    color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap;
}

/* ═══════════════════════════════════════
   WEEKLY CHALLENGES
   ═══════════════════════════════════════ */
.lga-challenges-grid { display: grid; gap: 12px; }
.lga-challenge-card {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 16px; background: #fff; border-radius: 12px;
    border: 1px solid #E5E7EB; transition: border-color 0.2s;
}
.lga-challenge-card.is-complete {
    background: #F0FDF4; border-color: #86EFAC;
}
.lga-challenge-icon { font-size: 22px; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.lga-challenge-body { flex: 1; min-width: 0; }
.lga-challenge-name {
    font-size: 14px; font-weight: 600; color: #222; margin-bottom: 2px;
}
.lga-challenge-desc { font-size: 12px; color: #888; margin-bottom: 6px; }
.lga-challenge-progress {
    height: 6px; background: #E5E7EB; border-radius: 3px; overflow: hidden;
}
.lga-challenge-progress-fill {
    height: 100%; border-radius: 3px;
    background: linear-gradient(90deg, var(--accent-dusty), var(--accent-sage));
    transition: width 0.4s ease;
}
.lga-challenge-card.is-complete .lga-challenge-progress-fill {
    background: linear-gradient(90deg, #22C55E, #16A34A);
}
.lga-challenge-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 4px; font-size: 11px; color: #999;
}
.lga-challenge-xp {
    padding: 2px 8px; border-radius: 999px; background: var(--accent-mustard);
    color: #fff; font-size: 10px; font-weight: 700;
}

/* ═══════════════════════════════════════
   PROFILE TITLES
   ═══════════════════════════════════════ */
.lga-title-badge {
    display: inline-block; padding: 2px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
    vertical-align: middle;
}
.lga-title-selector {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px;
}
.lga-title-option {
    padding: 6px 14px; border-radius: 999px; border: 2px solid #E5E7EB;
    background: #fff; font-size: 12px; font-weight: 600; cursor: pointer;
    transition: all 0.2s; display: flex; align-items: center; gap: 6px;
}
.lga-title-option:hover { border-color: var(--accent-dusty); }
.lga-title-option.is-active {
    border-color: var(--accent-dusty); background: var(--accent-dusty); color: #fff;
}
.lga-title-option .lga-title-lock {
    font-size: 10px; opacity: 0.5;
}
.lga-title-option.is-locked {
    opacity: 0.4; cursor: not-allowed; pointer-events: none;
}

/* ═══════════════════════════════════════
   GAME GUIDES
   ═══════════════════════════════════════ */
.lga-guides-section { margin-top: 32px; }
.lga-guides-list { display: grid; gap: 10px; }
.lga-guide-card {
    padding: 14px 16px; background: #fff; border-radius: 12px;
    border: 1px solid #E5E7EB; transition: border-color 0.2s;
}
.lga-guide-card:hover { border-color: var(--accent-dusty); }
.lga-guide-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.lga-guide-type {
    padding: 2px 8px; border-radius: 999px; background: var(--accent-dusty);
    color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase;
}
.lga-guide-title { font-size: 15px; font-weight: 600; color: #222; }
.lga-guide-excerpt { font-size: 13px; color: #666; line-height: 1.5; margin-bottom: 8px; }
.lga-guide-footer { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #999; }
.lga-guide-vote {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: 999px; border: 1px solid #E5E7EB;
    background: #fff; cursor: pointer; font-size: 12px; color: #888;
    transition: all 0.2s;
}
.lga-guide-vote:hover { border-color: var(--accent-sage); color: var(--accent-sage); }
.lga-guide-vote.is-voted { border-color: var(--accent-sage); color: var(--accent-sage); background: #F0FDF4; }

/* ═══════════════════════════════════════
   DARK MODE TOGGLE
   ═══════════════════════════════════════ */
.lga-dark-toggle {
    background: none; border: none; cursor: pointer; padding: 6px;
    color: inherit; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; transition: background 0.2s;
}
.lga-dark-toggle:hover { background: rgba(0,0,0,0.06); }
.lga-dark-toggle svg { width: 20px; height: 20px; }

/* ═══════════════════════════════════════
   DARK MODE THEME
   ═══════════════════════════════════════ */
body.lga-dark {
    --bg: #0F1117;
    --bg-card: #1A1D27;
    --bg-card-hover: #22263A;
    --text: #E2E8F0;
    --text-muted: #94A3B8;
    --border: #2D3348;
    --accent-dusty: #7B93A8;
    --accent-sage: #7FA88D;
}
body.lga-dark { background: var(--bg); color: var(--text); }

/* ── Dark: Global text catch-all ── */
body.lga-dark h1, body.lga-dark h2, body.lga-dark h3, body.lga-dark h4, body.lga-dark h5, body.lga-dark h6 { color: #fff; }
body.lga-dark p, body.lga-dark li, body.lga-dark td, body.lga-dark th, body.lga-dark span, body.lga-dark div { color: var(--text); }
body.lga-dark a { color: var(--accent-dusty, #7B93A8); }
body.lga-dark strong, body.lga-dark b { color: #fff; }
body.lga-dark label { color: var(--text-muted); }

/* ── Dark: Header / Nav ── */
body.lga-dark .site-header { background: #12141D; border-bottom-color: var(--border); }
body.lga-dark .site-header .brand { color: #fff; }
body.lga-dark .nav-links a,
body.lga-dark .nav-links .lga-nav-dropdown > button { color: var(--text-muted); }
body.lga-dark .nav-links a:hover,
body.lga-dark .nav-links a.active,
body.lga-dark .nav-links .lga-nav-dropdown > button:hover { color: #fff; }
body.lga-dark .search-pill { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .search-input { background: transparent; color: var(--text); }
body.lga-dark .lga-dark-toggle { color: var(--text); }
body.lga-dark .lga-dark-toggle:hover { background: rgba(255,255,255,0.08); }
body.lga-dark .lga-notif-bell { color: var(--text); background: var(--bg-card); }

/* ── Dark: Page / section backgrounds ── */
body.lga-dark .lga-page,
body.lga-dark .lga-profile-content { background: var(--bg); }
body.lga-dark .lga-section[style*="background"],
body.lga-dark .lga-archive-header,
body.lga-dark .lga-archive-filters,
body.lga-dark .lga-section-cta,
body.lga-dark .lga-campaign-section { background: var(--bg) !important; }

/* ── Dark: Cards (all types) ── */
body.lga-dark .lga-sidebar-card,
body.lga-dark .lga-profile-card,
body.lga-dark .lga-card,
body.lga-dark .lga-game-card,
body.lga-dark .lga-hub-card,
body.lga-dark .lga-event-card,
body.lga-dark .lga-lfg-card,
body.lga-dark .lga-challenge-card,
body.lga-dark .lga-guide-card,
body.lga-dark .lga-collection-card,
body.lga-dark .lga-compare-table,
body.lga-dark .lga-rec-card,
body.lga-dark .lga-explore-card,
body.lga-dark .lga-crosslink-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-sidebar-explore-link { color: var(--dusty-blue); }
body.lga-dark .lga-game-card:hover,
body.lga-dark .lga-hub-card:hover,
body.lga-dark .lga-lfg-card:hover,
body.lga-dark .lga-guide-card:hover { border-color: #475569; }
body.lga-dark .lga-sidebar-card h3,
body.lga-dark .lga-profile-section-title { color: #fff; }

/* ── Dark: Headings / titles / subtitles ── */
body.lga-dark .lga-section-title,
body.lga-dark .lga-page-title,
body.lga-dark .lga-cta-title,
body.lga-dark .lga-archive-header h1 { color: #fff; }
body.lga-dark .lga-section-subtitle,
body.lga-dark .lga-cta-subtitle,
body.lga-dark .lga-archive-header p { color: var(--text-muted); }
body.lga-dark .lga-tag { background: var(--bg); color: var(--text-muted); border-color: var(--border); }

/* ── Dark: Forms (all) ── */
body.lga-dark input[type="text"],
body.lga-dark input[type="search"],
body.lga-dark input[type="email"],
body.lga-dark input[type="password"],
body.lga-dark input[type="url"],
body.lga-dark input[type="number"],
body.lga-dark input[type="date"],
body.lga-dark textarea,
body.lga-dark select {
    background: var(--bg) !important; color: var(--text) !important; border-color: var(--border) !important;
}
body.lga-dark input::placeholder,
body.lga-dark textarea::placeholder { color: #475569 !important; }
body.lga-dark .lga-form label { color: var(--text-muted); }

/* ── Dark: LFG specific ── */
body.lga-dark .lga-lfg-title { color: #fff; }
body.lga-dark .lga-lfg-meta,
body.lga-dark .lga-lfg-meta a { color: var(--text-muted); }
body.lga-dark .lga-lfg-desc { color: var(--text); }
body.lga-dark .lga-lfg-spots { color: var(--accent-sage); }
body.lga-dark .lga-lfg-single-title { color: #fff; }
body.lga-dark .lga-lfg-single-meta { color: var(--text-muted); }
body.lga-dark .lga-lfg-single-meta a { color: var(--accent-dusty); }
body.lga-dark .lga-lfg-single-body { color: var(--text); }
body.lga-dark .lga-lfg-detail-label { color: var(--text-muted); }
body.lga-dark .lga-lfg-detail-value { color: var(--text); }
body.lga-dark .lga-lfg-detail { background: var(--bg); border-color: var(--border); }
body.lga-dark .lga-lfg-author-name { color: #fff; }
body.lga-dark .lga-lfg-game-link { color: var(--text); }
body.lga-dark .lga-lfg-related-link { color: var(--text); }

/* ── Dark: Filter form ── */
body.lga-dark .lga-filter-form select,
body.lga-dark .lga-filter-form input { background: var(--bg-card) !important; color: var(--text) !important; border-color: var(--border) !important; }
body.lga-dark .lga-filter-btn { background: var(--bg-card); color: var(--text-muted); border-color: var(--border); }
body.lga-dark .lga-filter-btn.is-active { background: var(--accent-dusty); color: #fff; }
body.lga-dark .lga-active-filters .lga-filter-pill { background: var(--bg-card); color: var(--text); border-color: var(--border); }

/* ── Dark: Profile ── */
body.lga-dark .lga-profile-name { color: #fff; }
body.lga-dark .lga-profile-joined,
body.lga-dark .lga-profile-bio { color: var(--text-muted); }
body.lga-dark .lga-profile-hub-card,
body.lga-dark .lga-profile-game-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-profile-hub-name,
body.lga-dark .lga-profile-game-name { color: var(--text); }
body.lga-dark .lga-profile-hub-meta,
body.lga-dark .lga-profile-game-meta { color: var(--text-muted); }
body.lga-dark .lga-acct-label { color: var(--text-muted); }
body.lga-dark .lga-acct-val { color: var(--text); }
body.lga-dark .lga-friend-name { color: var(--text); }
body.lga-dark .lga-friend-level { color: var(--text-muted); }

/* ── Dark: Tables ── */
body.lga-dark .lga-lb-table td { background: var(--bg-card); }
body.lga-dark .lga-lb-table th { color: var(--text-muted); }
body.lga-dark .lga-lb-name { color: var(--text); }
body.lga-dark table, body.lga-dark tr, body.lga-dark thead { border-color: var(--border); }

/* ── Dark: XP / Achievements / Streaks ── */
body.lga-dark .lga-achiev-badge.is-locked { opacity: 0.3; }
body.lga-dark .lga-xp-bar-track { background: #2D3348; }
body.lga-dark .lga-challenge-progress { background: #2D3348; }
body.lga-dark .lga-challenge-name { color: var(--text); }
body.lga-dark .lga-challenge-card.is-complete { background: #16281F; border-color: #22543D; }
body.lga-dark .lga-streak-bar { background: linear-gradient(135deg, #2D2316, #33291B); border-color: #5C4100; }
body.lga-dark .lga-streak-count { color: #FCD34D; }
body.lga-dark .lga-streak-label { color: #D97706; }

/* ── Dark: Footer ── */
body.lga-dark .site-footer { background: #0A0C12; color: var(--text-muted); }
body.lga-dark .foot-brand { color: #fff; }
body.lga-dark .foot-col a { color: var(--text-muted); }
body.lga-dark .foot-col a:hover { color: #fff; }
body.lga-dark .foot-col-title { color: var(--text); }
body.lga-dark .foot-credit { color: #475569; border-top-color: var(--border); }

/* ── Dark: Buttons ── */
body.lga-dark .lga-btn-ghost {
    color: var(--text-muted); border-color: var(--border);
}
body.lga-dark .lga-btn-ghost:hover {
    color: #fff; border-color: #475569; background: var(--bg-card);
}
body.lga-dark .lga-btn-primary { color: #fff; }
body.lga-dark .btn { background: var(--bg-card); color: var(--text); border-color: var(--border); }
body.lga-dark .btn:hover { background: var(--bg-card-hover); color: #fff; }

/* ── Dark: Notifications ── */
body.lga-dark .lga-notif-panel { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-notif-header { border-bottom-color: var(--border); color: var(--text); }
body.lga-dark .lga-notif-item { color: var(--text); }
body.lga-dark .lga-notif-item.is-unread { background: rgba(123,147,168,0.1); }

/* ── Dark: Breadcrumbs ── */
body.lga-dark .lga-breadcrumbs,
body.lga-dark .lga-breadcrumb { background: var(--bg); }
body.lga-dark .lga-breadcrumbs a,
body.lga-dark .lga-breadcrumb a { color: var(--text-muted); }
body.lga-dark .lga-breadcrumbs .lga-bc-current,
body.lga-dark .lga-breadcrumb span:last-child { color: var(--text); }
body.lga-dark .lga-bc-sep { color: var(--text-muted); }

/* ── Dark: Misc ── */
body.lga-dark .lga-title-option { background: var(--bg-card); border-color: var(--border); color: var(--text); }
body.lga-dark .lga-title-option:hover { border-color: #475569; }
body.lga-dark .lga-guide-vote { background: var(--bg-card); border-color: var(--border); color: var(--text-muted); }
body.lga-dark .lga-empty-state { color: var(--text-muted); }
body.lga-dark .lga-empty-state p { color: var(--text-muted); }
body.lga-dark .lga-pagination a { color: var(--text-muted); border-color: var(--border); }
body.lga-dark .lga-pagination .current { background: var(--accent-dusty); color: #fff; }
body.lga-dark .lga-search-suggest { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-suggest-item:hover { background: var(--bg-card-hover); }
body.lga-dark .lga-suggest-title { color: var(--text); }
body.lga-dark .lga-level-badge { color: var(--text); }
body.lga-dark .lga-star { color: var(--text-muted); }
body.lga-dark .lga-review-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-review-author { color: var(--text-muted); }
body.lga-dark .lga-review-body { color: var(--text); }
body.lga-dark .lga-contrib-row span:first-child { color: var(--text-muted); }

/* ── Dark: Modals ── */
body.lga-dark .lga-modal-content { background: var(--bg-card); border-color: var(--border); color: var(--text); }
body.lga-dark .lga-modal-content h2 { color: #fff; }
body.lga-dark .lga-modal-content input[type="text"],
body.lga-dark .lga-modal-content input[type="file"],
body.lga-dark .lga-modal-content select { background: var(--bg); color: var(--text); border-color: var(--border); }
body.lga-dark .lga-share-modal-content { background: var(--bg-card); border-color: var(--border); color: var(--text); }

/* ── Dark: Card hover shadows ── */
body.lga-dark .lga-explore-card:hover,
body.lga-dark .lga-crosslink-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.3); border-color: #475569; }
body.lga-dark .lga-game-card:hover,
body.lga-dark .lga-hub-card:hover,
body.lga-dark .lga-lfg-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
body.lga-dark .lga-collection-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.3); border-color: #475569; }

/* ── Dark: Form containers ── */
body.lga-dark .lga-form-group input,
body.lga-dark .lga-form-group textarea,
body.lga-dark .lga-form-group select,
body.lga-dark .lga-field input,
body.lga-dark .lga-field textarea,
body.lga-dark .lga-field select,
body.lga-dark .lga-auth-field input { background: var(--bg); color: var(--text); border-color: var(--border); }
body.lga-dark .lga-form-group label,
body.lga-dark .lga-field label,
body.lga-dark .lga-auth-field label { color: var(--text); }

/* ── Focus-visible for accessibility ── */
.lga-btn:focus-visible { outline: 2px solid var(--accent-dusty, #8899AA); outline-offset: 2px; }
.lga-game-card:focus-visible,
.lga-hub-card:focus-visible,
.lga-vault-card:focus-visible,
.lga-guide-card:focus-visible,
.lga-lfg-card:focus-visible,
.lga-event-card:focus-visible,
.lga-event-card-v2:focus-visible,
.lga-collection-card:focus-visible,
.lga-crosslink-card:focus-visible,
.lga-explore-card:focus-visible { outline: 2px solid var(--accent-dusty, #8899AA); outline-offset: 2px; }

/* ── Dark: No-results ── */
body.lga-dark .lga-no-results { color: var(--text-muted); }
body.lga-dark .lga-no-results p { color: var(--text-muted); }

/* ── Modal + mobile responsiveness ── */
@media (max-width: 480px) {
    .lga-modal-content { max-width: calc(100vw - 32px); margin: 16px; }
    .lga-share-modal-content { max-width: calc(100vw - 32px); }
    .lga-404-title { font-size: 36px; }
    .lga-404-text { font-size: 16px; }
    .lga-404-wrap { padding: 48px 16px; }
    .lga-rec-grid-sm { grid-template-columns: 1fr; }
    .lga-rec-grid { grid-template-columns: 1fr; }
    .lga-top-game-card { min-width: 0; flex: 1 1 100%; }
    .lga-step-number { font-size: 32px; }
}

/* ═══════════════════════════════════════
   GAME TIMELINE
   ═══════════════════════════════════════ */
.lga-game-timeline {
    position: relative; padding-left: 28px;
}
.lga-game-timeline::before {
    content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px;
    width: 2px; background: linear-gradient(to bottom, var(--accent-dusty), var(--accent-sage));
    border-radius: 1px;
}
.lga-gt-entry {
    position: relative; padding-bottom: 20px;
}
.lga-gt-entry:last-child { padding-bottom: 0; }
.lga-gt-dot {
    position: absolute; left: -25px; top: 6px;
    width: 12px; height: 12px; border-radius: 50%;
    background: #fff; border: 3px solid var(--accent-dusty);
}
.lga-gt-date {
    font-size: 12px; font-weight: 600; color: var(--accent-mustard);
    text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px;
}
.lga-gt-label {
    font-size: 15px; font-weight: 700; color: #222; margin-bottom: 3px;
    font-family: 'Playfair Display', serif;
}
.lga-gt-desc {
    font-size: 13px; color: #666; line-height: 1.5;
}
body.lga-dark .lga-gt-label { color: var(--text); }
body.lga-dark .lga-gt-desc { color: var(--text-muted); }
body.lga-dark .lga-gt-dot { background: var(--bg-card); }

/* ═══════════════════════════════════════
   GAME COLLECTIONS
   ═══════════════════════════════════════ */
.lga-collections-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
/* collection-card base styles defined in page-collections section below */
.lga-collection-name {
    font-size: 16px; font-weight: 700; color: #222; margin-bottom: 4px;
    font-family: 'Playfair Display', serif;
}
.lga-collection-desc { font-size: 13px; color: #888; margin-bottom: 10px; }
.lga-collection-count {
    font-size: 12px; color: var(--accent-dusty); font-weight: 600;
}
.lga-collection-games {
    display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap;
}
.lga-collection-thumb {
    width: 48px; height: 48px; border-radius: 8px; overflow: hidden;
}
.lga-collection-thumb img { width: 100%; height: 100%; object-fit: cover; }
body.lga-dark .lga-collection-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-collection-name { color: var(--text); }

/* ═══════════════════════════════════════
   MESSAGING
   ═══════════════════════════════════════ */
.lga-msg-layout { display: grid; grid-template-columns: 280px 1fr; gap: 0; min-height: 500px; border-radius: 14px; overflow: hidden; border: 1px solid #E5E7EB; }
.lga-msg-sidebar { background: #F8FAFC; border-right: 1px solid #E5E7EB; overflow-y: auto; }
.lga-msg-sidebar-header {
    padding: 14px 16px; font-weight: 700; font-size: 15px;
    border-bottom: 1px solid #E5E7EB; display: flex; align-items: center; justify-content: space-between;
}
.lga-msg-convo {
    display: flex; align-items: center; gap: 10px; padding: 12px 16px;
    cursor: pointer; transition: background 0.15s; border-bottom: 1px solid #F0F0F0;
}
.lga-msg-convo:hover { background: #EEF2F7; }
.lga-msg-convo.is-active { background: #E2EAEF; }
.lga-msg-convo-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.lga-msg-convo-body { flex: 1; min-width: 0; }
.lga-msg-convo-name { font-size: 13px; font-weight: 600; color: #222; }
.lga-msg-convo-preview { font-size: 12px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lga-msg-convo-time { font-size: 11px; color: #aaa; white-space: nowrap; }
.lga-msg-convo-unread {
    display: inline-block; padding: 1px 6px; border-radius: 999px;
    background: var(--accent-dusty); color: #fff; font-size: 10px; font-weight: 700;
}
.lga-msg-main { display: flex; flex-direction: column; background: #fff; }
.lga-msg-header {
    padding: 12px 16px; border-bottom: 1px solid #E5E7EB;
    display: flex; align-items: center; gap: 10px; font-weight: 600;
}
.lga-msg-header img { width: 32px; height: 32px; border-radius: 50%; }
.lga-msg-thread { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.lga-msg-bubble {
    max-width: 70%; padding: 10px 14px; border-radius: 14px;
    font-size: 14px; line-height: 1.5; word-break: break-word;
}
.lga-msg-bubble.is-mine {
    align-self: flex-end; background: var(--accent-dusty); color: #fff;
    border-bottom-right-radius: 4px;
}
.lga-msg-bubble.is-theirs {
    align-self: flex-start; background: #F0F3F7; color: #333;
    border-bottom-left-radius: 4px;
}
.lga-msg-bubble-time { font-size: 10px; opacity: 0.6; margin-top: 4px; }
.lga-msg-compose {
    padding: 12px 16px; border-top: 1px solid #E5E7EB;
    display: flex; gap: 8px;
}
.lga-msg-compose input {
    flex: 1; padding: 10px 14px; border: 1px solid #E5E7EB; border-radius: 999px;
    font-size: 14px; outline: none;
}
.lga-msg-compose input:focus { border-color: var(--accent-dusty); }
.lga-msg-compose button {
    padding: 10px 20px; border-radius: 999px; background: var(--accent-dusty);
    color: #fff; font-weight: 600; font-size: 14px; border: none; cursor: pointer;
}
.lga-msg-empty { text-align: center; color: #888; padding: 40px; font-size: 14px; }
body.lga-dark .lga-msg-layout { border-color: var(--border); }
body.lga-dark .lga-msg-sidebar { background: #12141D; border-right-color: var(--border); }
body.lga-dark .lga-msg-sidebar-header { border-bottom-color: var(--border); color: var(--text); }
body.lga-dark .lga-msg-convo { border-bottom-color: var(--border); }
body.lga-dark .lga-msg-convo:hover { background: #1A1D27; }
body.lga-dark .lga-msg-convo.is-active { background: #22263A; }
body.lga-dark .lga-msg-convo-name { color: var(--text); }
body.lga-dark .lga-msg-main { background: var(--bg-card); }
body.lga-dark .lga-msg-header { border-bottom-color: var(--border); color: var(--text); }
body.lga-dark .lga-msg-bubble.is-theirs { background: #2D3348; color: var(--text); }
body.lga-dark .lga-msg-compose { border-top-color: var(--border); }
body.lga-dark .lga-msg-compose input { background: var(--bg); color: var(--text); border-color: var(--border); }

@media (max-width: 768px) {
    .lga-msg-layout { grid-template-columns: 1fr; min-height: auto; }
    .lga-msg-sidebar { max-height: 250px; }
}

/* ═══════════════════════════════════════
   COMPARE TABLE
   ═══════════════════════════════════════ */
.lga-compare-table {
    width: 100%; border-collapse: collapse;
}
.lga-compare-table th,
.lga-compare-table td {
    padding: 12px 16px; border-bottom: 1px solid #E5E7EB;
    font-size: 14px; vertical-align: middle;
}
.lga-compare-table th { background: #F8FAFC; font-weight: 700; }
.lga-compare-table tbody tr:hover { background: #FAFBFC; }
body.lga-dark .lga-compare-table th { background: #1A1D27; color: var(--text); }
body.lga-dark .lga-compare-table td { border-bottom-color: var(--border); color: var(--text); }
body.lga-dark .lga-compare-table tbody tr:hover { background: #22263A; }

/* ═══════════════════════════════════════
   GAME STATUS / SHELF
   ═══════════════════════════════════════ */
.lga-status-selector {
    display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; justify-content: center;
}
.lga-status-btn {
    padding: 5px 12px; border-radius: 999px; border: 2px solid #E5E7EB;
    background: #fff; font-size: 12px; font-weight: 600; cursor: pointer;
    transition: all 0.2s; display: flex; align-items: center; gap: 4px;
}
.lga-status-btn:hover { border-color: #999; }
.lga-status-btn.is-active { color: #fff; }
.lga-status-btn .lga-status-icon { font-size: 14px; }

.lga-shelf-section { margin-top: 20px; }
.lga-shelf-label {
    font-size: 14px; font-weight: 700; margin-bottom: 10px;
    display: flex; align-items: center; gap: 6px;
}
.lga-shelf-games {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px;
}
.lga-shelf-game {
    position: relative; border-radius: 10px; overflow: hidden;
    border: 1px solid #E5E7EB; transition: transform 0.2s;
}
.lga-shelf-game:hover { transform: translateY(-2px); }
.lga-shelf-game img { width: 100%; height: 100px; object-fit: cover; display: block; }
.lga-shelf-game-title {
    padding: 6px 8px; font-size: 11px; font-weight: 600; color: #333;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.lga-dark .lga-status-btn { background: var(--bg-card); border-color: var(--border); color: var(--text); }
body.lga-dark .lga-shelf-game { border-color: var(--border); }
body.lga-dark .lga-shelf-game-title { color: var(--text); }

/* ═══════════════════════════════════════
   DISCUSSION THREADS
   ═══════════════════════════════════════ */
.lga-discussion { margin-top: 20px; }
.lga-comment {
    display: flex; gap: 12px; padding: 14px 0;
    border-bottom: 1px solid #F0F0F0;
}
.lga-comment-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.lga-comment-body { flex: 1; }
.lga-comment-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.lga-comment-delete {
    margin-left: auto;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 2px 8px;
    border-radius: 999px;
    transition: all .2s;
}
.lga-comment-delete:hover { background: rgba(239,68,68,.1); color: #EF4444; }
.lga-comment { transition: opacity .2s; }
.lga-comment-author { font-weight: 600; font-size: 13px; color: #222; }
.lga-comment-time { font-size: 12px; color: #999; }
.lga-comment-text { font-size: 14px; color: #444; line-height: 1.6; }
.lga-comment-actions { margin-top: 6px; display: flex; gap: 12px; }
.lga-comment-action {
    font-size: 12px; color: #888; cursor: pointer; background: none; border: none;
    padding: 0; transition: color 0.2s;
}
.lga-comment-action:hover { color: var(--accent-dusty); }
.lga-comment-replies { margin-left: 48px; }
.lga-comment-form { margin-top: 16px; }
.lga-comment-form textarea {
    width: 100%; padding: 10px 14px; border: 1px solid #E5E7EB; border-radius: 10px;
    font-size: 14px; resize: vertical; min-height: 60px;
}
body.lga-dark .lga-comment { border-bottom-color: var(--border); }
body.lga-dark .lga-comment-author { color: var(--text); }
body.lga-dark .lga-comment-text { color: var(--text-muted); }
body.lga-dark .lga-comment-form textarea { background: var(--bg); color: var(--text); border-color: var(--border); }

/* ═══════════════════════════════════════
   TRENDING / POPULAR
   ═══════════════════════════════════════ */
.lga-trending-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px;
}
.lga-trending-card {
    position: relative; border-radius: 14px; overflow: hidden;
    border: 1px solid #E5E7EB; background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}
.lga-trending-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.lga-trending-img { width: 100%; height: 130px; object-fit: cover; display: block; }
.lga-trending-body { padding: 12px 14px; }
.lga-trending-rank {
    position: absolute; top: 8px; left: 8px;
    padding: 2px 8px; border-radius: 999px; background: rgba(0,0,0,0.65);
    color: #fff; font-size: 11px; font-weight: 700;
}
.lga-trending-name { font-size: 14px; font-weight: 700; color: #222; margin-bottom: 3px; }
.lga-trending-meta { font-size: 12px; color: #888; }
body.lga-dark .lga-trending-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-trending-name { color: var(--text); }

/* ═══════════════════════════════════════
   SEARCH SUGGESTIONS
   ═══════════════════════════════════════ */
.lga-search-suggest {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 100;
    background: #fff; border: 1px solid #E5E7EB; border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12); margin-top: 4px;
    max-height: 400px; overflow-y: auto;
}
.lga-suggest-item {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    text-decoration: none; color: #333; transition: background 0.15s;
    border-bottom: 1px solid #F5F5F5;
}
.lga-suggest-item:hover { background: #F8FAFC; }
.lga-suggest-item:last-child { border-bottom: none; }
.lga-suggest-thumb { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.lga-suggest-info { flex: 1; min-width: 0; }
.lga-suggest-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lga-suggest-meta { font-size: 11px; color: #888; }
.lga-suggest-all { display: block; text-align: center; padding: 10px; font-size: 13px; color: var(--accent-dusty); font-weight: 600; text-decoration: none; }
.lga-suggest-all:hover { background: #F8FAFC; }
body.lga-dark .lga-search-suggest { background: #1A1D27; border-color: var(--border); }
body.lga-dark .lga-suggest-item { color: var(--text); border-bottom-color: var(--border); }
body.lga-dark .lga-suggest-item:hover { background: #22263A; }

/* ═══════════════════════════════════════
   SUBMIT A GAME — MULTI-STEP FORM
   ═══════════════════════════════════════ */
.lga-submit-wrap { max-width: 720px; margin: 0 auto; }
.lga-submit-steps {
    display: flex; gap: 0; margin-bottom: 32px;
    border-bottom: 2px solid #E5E7EB;
}
.lga-submit-step {
    flex: 1; text-align: center; padding: 12px 8px;
    font-size: 13px; font-weight: 600; color: #999;
    position: relative; cursor: default; transition: color 0.2s;
}
.lga-submit-step::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
    height: 2px; background: transparent; transition: background 0.2s;
}
.lga-submit-step.is-active { color: var(--accent-dusty, #8899AA); }
.lga-submit-step.is-active::after { background: var(--accent-dusty, #8899AA); }
.lga-submit-step.is-done { color: #10B981; }
.lga-submit-step.is-done::after { background: #10B981; }
.lga-step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; border-radius: 50%; font-size: 12px;
    background: #E5E7EB; color: #666; margin-right: 6px;
    transition: background 0.2s, color 0.2s;
}
.lga-submit-step.is-active .lga-step-num { background: var(--accent-dusty, #8899AA); color: #fff; }
.lga-submit-step.is-done .lga-step-num { background: #10B981; color: #fff; }

.lga-submit-panel { display: none; }
.lga-submit-panel.is-active { display: block; animation: lgaFadeIn 0.25s ease; }

.lga-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .lga-field-row { grid-template-columns: 1fr; } }

.lga-field-hint { font-size: 12px; color: #999; margin-top: 4px; }

/* Cover upload */
.lga-cover-upload {
    border: 2px dashed #D1D5DB; border-radius: 14px; padding: 24px;
    cursor: pointer; text-align: center; transition: border-color 0.2s, background 0.2s;
    position: relative; overflow: hidden;
}
.lga-cover-upload:hover, .lga-cover-upload.is-dragover {
    border-color: var(--accent-dusty, #8899AA); background: rgba(136,153,170,0.05);
}
.lga-cover-preview {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: #999; font-size: 14px;
}
.lga-cover-hint { font-size: 12px; color: #bbb; }
.lga-cover-img {
    max-width: 200px; max-height: 280px; border-radius: 10px;
    object-fit: cover; margin: 0 auto; display: block;
}

/* Tag picker (checkbox/radio pills) */
.lga-tag-picker {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.lga-tag-option {
    display: flex; align-items: center; cursor: pointer;
}
.lga-tag-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.lga-tag-option span {
    display: inline-block; padding: 6px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 500; border: 1px solid #D1D5DB;
    background: #fff; color: #555; transition: all 0.15s;
}
.lga-tag-option:hover span { border-color: var(--accent-dusty, #8899AA); color: #333; }
.lga-tag-option input:checked + span {
    background: var(--accent-dusty, #8899AA); border-color: var(--accent-dusty, #8899AA);
    color: #fff;
}

/* Submit nav */
.lga-submit-nav {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 28px; padding-top: 20px; border-top: 1px solid #E5E7EB;
}

/* Preview card */
.lga-submit-preview {
    background: #fff; border: 1px solid #E5E7EB; border-radius: 14px;
    padding: 24px; margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.lga-sp-header { display: flex; gap: 20px; margin-bottom: 16px; }
.lga-sp-cover { flex-shrink: 0; width: 120px; }
.lga-sp-cover img { width: 100%; border-radius: 10px; object-fit: cover; }
.lga-sp-no-cover {
    width: 120px; height: 160px; border-radius: 10px; background: #F3F4F6;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: #bbb;
}
.lga-sp-info { flex: 1; min-width: 0; }
.lga-sp-title { font-family: 'Playfair Display', serif; font-size: 22px; margin: 0 0 6px; color: #222; }
.lga-sp-meta { font-size: 13px; color: #888; margin-bottom: 8px; }
.lga-sp-summary { font-size: 14px; color: #555; line-height: 1.5; margin: 0; }
.lga-sp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.lga-sp-tags .lga-tag { background: #EEF2F7; color: #555; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.lga-sp-body { font-size: 14px; color: #555; line-height: 1.6; }

/* Success state */
.lga-submit-success { text-align: center; padding: 20px 0; }
.lga-submit-success h2 { font-family: 'Playfair Display', serif; font-size: 24px; margin: 12px 0 8px; }
.lga-submit-success p { color: #555; font-size: 15px; max-width: 400px; margin: 0 auto; }

/* Dark mode */
body.lga-dark .lga-submit-steps { border-bottom-color: var(--border); }
body.lga-dark .lga-submit-step { color: #777; }
body.lga-dark .lga-submit-step.is-active { color: var(--accent-dusty); }
body.lga-dark .lga-step-num { background: #2A2D3A; color: #999; }
body.lga-dark .lga-cover-upload { border-color: var(--border); }
body.lga-dark .lga-cover-upload:hover { background: rgba(136,153,170,0.08); }
body.lga-dark .lga-tag-option span { background: var(--bg-card); border-color: var(--border); color: #ccc; }
body.lga-dark .lga-tag-option input:checked + span { background: var(--accent-dusty); color: #fff; }
body.lga-dark .lga-submit-nav { border-top-color: var(--border); }
body.lga-dark .lga-submit-preview { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-sp-title { color: var(--text); }
body.lga-dark .lga-sp-no-cover { background: #1A1D27; color: #555; }
body.lga-dark .lga-sp-tags .lga-tag { background: #1A1D27; color: #aaa; }

/* Submit wizard enhancements */
.lga-autosave-hint {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: #10B981; margin-top: -20px; margin-bottom: 12px;
    animation: lgaFadeIn 0.3s ease;
}
.lga-dupe-check { margin-top: 6px; }
.lga-dupe-warn { color: #DC6A45; font-weight: 500; }
.lga-dupe-info { color: var(--text-muted); }
.lga-tag-search {
    width: 100%; padding: 7px 12px; border: 1px solid #D1D5DB; border-radius: 999px;
    font-size: 13px; margin-bottom: 10px; background: #fff;
    outline: none; transition: border-color 0.2s;
}
.lga-tag-search:focus { border-color: var(--accent-dusty, #8899AA); }
.lga-submit-form input.is-invalid,
.lga-submit-form textarea.is-invalid,
.lga-submit-form select.is-invalid {
    border-color: #DC6A45 !important; box-shadow: 0 0 0 2px rgba(220,106,69,0.15);
}
body.lga-dark .lga-tag-search { background: var(--bg-card); border-color: var(--border); color: var(--text); }
body.lga-dark .lga-dupe-warn { color: #E87C5C; }

/* ═══════════════════════════════════════
   REPORT MODAL
   ═══════════════════════════════════════ */
.lga-report-modal {
    position: fixed; inset: 0; z-index: 9999;
    align-items: center; justify-content: center;
    display: none;
}
.lga-report-modal:not([hidden]) {
    display: flex;
}
.lga-report-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.5);
}
.lga-report-box {
    position: relative; background: #fff; border-radius: 16px;
    padding: 28px; width: 90%; max-width: 440px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
.lga-report-box h3 { font-family: 'Playfair Display', serif; margin: 0 0 16px; font-size: 20px; }
.lga-report-status { font-size: 13px; margin-top: 10px; }
.lga-report-status.is-success { color: #10B981; }
.lga-report-status.is-error { color: #EF4444; }
body.lga-dark .lga-report-box { background: var(--bg-card); }
body.lga-dark .lga-report-box h3 { color: var(--text); }

/* Report button (inline, small) */
.lga-report-btn {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; color: #999; cursor: pointer;
    background: none; border: none; padding: 4px 8px;
    border-radius: 999px; transition: color 0.15s, background 0.15s;
}
.lga-report-btn:hover { color: #EF4444; background: rgba(239,68,68,0.08); }
.lga-report-btn svg { width: 14px; height: 14px; }

/* ═══════════════════════════════════════
   USER BADGES
   ═══════════════════════════════════════ */
.lga-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lga-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
    background: color-mix(in srgb, var(--badge-color) 12%, transparent);
    color: var(--badge-color); border: 1px solid color-mix(in srgb, var(--badge-color) 25%, transparent);
    cursor: default;
}
.lga-badge-icon { font-size: 13px; }
.lga-badge-name { white-space: nowrap; }

/* Badge grid (My Account) */
.lga-badges-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.lga-badge-card {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 14px 10px; border-radius: 12px; text-align: center;
    background: #F8FAFC; border: 1px solid #E5E7EB; transition: transform 0.15s;
}
.lga-badge-card:hover { transform: translateY(-2px); }
.lga-badge-card.is-locked { opacity: 0.35; filter: grayscale(1); }
.lga-badge-card-icon {
    font-size: 28px; width: 48px; height: 48px; display: flex;
    align-items: center; justify-content: center; border-radius: 50%;
    background: color-mix(in srgb, var(--badge-color) 10%, transparent);
}
.lga-badge-card-name { font-size: 12px; font-weight: 700; color: #333; }
.lga-badge-card-date { font-size: 11px; color: #999; }

body.lga-dark .lga-badge-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-badge-card-name { color: var(--text); }

/* ═══════════════════════════════════════
   STATS DASHBOARD
   ═══════════════════════════════════════ */
.lga-stats-hero {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px; margin-bottom: 28px;
}
.lga-stat-card {
    background: #fff; border: 1px solid #E5E7EB; border-radius: 14px;
    padding: 24px 16px; text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.lga-stat-number {
    display: block; font-family: 'Playfair Display', serif;
    font-size: 32px; font-weight: 700; color: var(--accent-dusty, #8899AA);
    line-height: 1;
}
.lga-stat-label { font-size: 13px; color: #888; margin-top: 4px; display: block; }

.lga-stats-month {
    display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
    padding: 16px 0; border-top: 1px solid #E5E7EB;
}
.lga-stat-mini { font-size: 14px; color: #666; display: flex; align-items: center; gap: 6px; }
.lga-stat-mini-num { font-weight: 700; color: #333; font-size: 18px; }

.lga-stats-taxonomy-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.lga-stats-col-title { font-family: 'Playfair Display', serif; font-size: 18px; margin-bottom: 12px; }
.lga-stats-bar-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; border-radius: 10px; text-decoration: none; color: #333;
    transition: background 0.15s;
}
.lga-stats-bar-item:hover { background: #fff; }
.lga-stats-bar-rank { font-size: 12px; font-weight: 700; color: #999; min-width: 20px; text-align: center; }
.lga-stats-bar-name { flex: 1; font-size: 14px; font-weight: 500; }
.lga-stats-bar-count { font-size: 13px; color: #888; font-weight: 600; }

/* Leaderboard table */
.lga-leaderboard-table { display: flex; flex-direction: column; gap: 4px; }
.lga-lb-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px; border-radius: 12px; text-decoration: none; color: #333;
    transition: background 0.15s;
}
.lga-lb-row:hover { background: #F8FAFC; }
.lga-lb-row.is-top { background: #FFFBEB; }
.lga-lb-rank { font-size: 14px; font-weight: 700; color: #999; min-width: 28px; text-align: center; }
.lga-lb-row.is-top .lga-lb-rank { color: #F59E0B; }
.lga-lb-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.lga-lb-name { flex: 1; font-weight: 600; font-size: 14px; }
.lga-lb-level { font-size: 12px; color: #888; font-weight: 600; }
.lga-lb-xp { font-size: 13px; color: var(--accent-dusty, #8899AA); font-weight: 700; }

body.lga-dark .lga-stat-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-stat-number { color: var(--accent-dusty); }
body.lga-dark .lga-stat-mini-num { color: var(--text); }
body.lga-dark .lga-stats-month { border-top-color: var(--border); }
body.lga-dark .lga-stats-bar-item { color: var(--text); }
body.lga-dark .lga-stats-bar-item:hover { background: var(--bg-card); }
body.lga-dark .lga-lb-row { color: var(--text); }
body.lga-dark .lga-lb-row:hover { background: var(--bg-card); }
body.lga-dark .lga-lb-row.is-top { background: rgba(245,158,11,0.08); }

/* ═══════════════════════════════════════
   CHANGELOG
   ═══════════════════════════════════════ */
.lga-changelog { display: flex; flex-direction: column; gap: 32px; }
.lga-cl-entry {
    border-left: 3px solid var(--accent-dusty, #8899AA);
    padding-left: 20px;
}
.lga-cl-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.lga-cl-version {
    font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: #222;
}
.lga-cl-date { font-size: 13px; color: #888; }
.lga-cl-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.lga-cl-items li { font-size: 14px; color: #555; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.lga-cl-tag {
    display: inline-block; padding: 2px 8px; border-radius: 999px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; flex-shrink: 0;
    margin-top: 2px;
}
.lga-tag-new { background: #ECFDF5; color: #065F46; }
.lga-tag-improved { background: #EFF6FF; color: #1D4ED8; }
.lga-tag-fixed { background: #FEF3C7; color: #92400E; }

body.lga-dark .lga-cl-version { color: var(--text); }
body.lga-dark .lga-cl-items li { color: #bbb; }
body.lga-dark .lga-tag-new { background: rgba(16,185,129,0.1); color: #6EE7B7; }
body.lga-dark .lga-tag-improved { background: rgba(59,130,246,0.1); color: #93C5FD; }
body.lga-dark .lga-tag-fixed { background: rgba(245,158,11,0.1); color: #FCD34D; }

/* ═══════════════════════════════════════
   GAME HUBS GRID (single-game.php)
   ═══════════════════════════════════════ */
.lga-game-hubs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.lga-game-hub-card {
    display: flex; gap: 14px; padding: 16px; border-radius: 14px;
    background: #fff; border: 1px solid #E5E7EB; text-decoration: none; color: #333;
    transition: transform 0.15s, box-shadow 0.15s;
}
.lga-game-hub-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.lga-game-hub-thumb { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.lga-game-hub-body { flex: 1; min-width: 0; }
.lga-game-hub-header { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.lga-game-hub-name { font-weight: 700; font-size: 15px; }
.lga-game-hub-desc { font-size: 13px; color: #666; line-height: 1.4; margin: 0 0 6px; }
.lga-game-hub-meta { display: flex; gap: 12px; font-size: 12px; color: #999; }

body.lga-dark .lga-game-hub-card { background: var(--bg-card); border-color: var(--border); color: var(--text); }
body.lga-dark .lga-game-hub-desc { color: #aaa; }

/* Events & LFG grid on game pages */
.lga-events-lfg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.lga-ev-lfg-card {
    display: flex; flex-direction: column; gap: 4px;
    padding: 14px 16px; border-radius: 12px; text-decoration: none; color: #333;
    background: #fff; border: 1px solid #E5E7EB; transition: transform 0.15s;
}
.lga-ev-lfg-card:hover { transform: translateY(-2px); }
.lga-ev-lfg-title { font-weight: 600; font-size: 14px; }
.lga-ev-lfg-meta { font-size: 12px; color: #888; }
.lga-tag-event { background: #EFF6FF; color: #1D4ED8; }
.lga-tag-lfg { background: #F3E8FF; color: #7C3AED; }

body.lga-dark .lga-ev-lfg-card { background: var(--bg-card); border-color: var(--border); color: var(--text); }

/* Hub member count */
.lga-hub-members-count { font-size: 12px; color: #888; margin-top: 6px; }

/* ═══════════════════════════════════════
   ONBOARDING WIZARD
   ═══════════════════════════════════════ */
.lga-onboarding {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
}
.lga-ob-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.lga-ob-wizard {
    position: relative; background: #fff; border-radius: 20px;
    padding: 40px; width: 90%; max-width: 520px; text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-height: 90vh; overflow-y: auto;
}
.lga-ob-wizard h2 { font-family: 'Playfair Display', serif; font-size: 24px; margin: 0 0 8px; }
.lga-ob-wizard p { color: #666; font-size: 15px; margin-bottom: 16px; }
.lga-ob-step { display: none; }
.lga-ob-step.is-active { display: block; animation: lgaFadeIn 0.25s ease; }

.lga-ob-games {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px;
    max-height: 320px; overflow-y: auto; padding: 4px;
}
.lga-ob-game-card {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    border: 1px solid #E5E7EB; border-radius: 12px; font-size: 13px; font-weight: 600;
}
.lga-ob-game-card img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.lga-ob-game-card span { flex: 1; text-align: left; }
.lga-ob-add-btn {
    width: 28px; height: 28px; border-radius: 50%; border: 2px solid #D1D5DB;
    background: #fff; color: #999; font-size: 16px; cursor: pointer; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s;
}
.lga-ob-add-btn:hover { border-color: var(--accent-dusty); color: var(--accent-dusty); }
.lga-ob-add-btn.is-added {
    background: #10B981; border-color: #10B981; color: #fff;
}

body.lga-dark .lga-ob-wizard { background: #1A1D27; }
body.lga-dark .lga-ob-wizard h2 { color: #fff; }
body.lga-dark .lga-ob-game-card { border-color: var(--border); }

/* ═══════════════════════════════════════
   SOCIAL SHARING
   ═══════════════════════════════════════ */
.lga-share-bar {
    display: inline-flex; align-items: center; gap: 6px;
}
.lga-share-label { font-size: 12px; color: #999; font-weight: 600; }
.lga-share-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid #E5E7EB;
    background: #fff; color: #666; text-decoration: none; cursor: pointer;
    transition: all 0.15s;
}
.lga-share-btn:hover { border-color: var(--accent-dusty); color: var(--accent-dusty); background: #F8FAFC; }
body.lga-dark .lga-share-btn { background: var(--bg-card); border-color: var(--border); color: #aaa; }
body.lga-dark .lga-share-btn:hover { color: var(--accent-dusty); }

/* ═══════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════ */
.lga-faq-list { display: flex; flex-direction: column; gap: 8px; }
.lga-faq-item {
    border: 1px solid #E5E7EB; border-radius: 12px; overflow: hidden;
    background: #fff; transition: box-shadow 0.15s;
}
.lga-faq-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.lga-faq-question {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 16px 20px; background: none; border: none;
    font-size: 15px; font-weight: 600; color: #222; cursor: pointer;
    text-align: left; gap: 12px;
}
.lga-faq-chevron { flex-shrink: 0; transition: transform 0.2s; color: #999; }
.lga-faq-item.is-open .lga-faq-chevron { transform: rotate(180deg); }
.lga-faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.lga-faq-item.is-open .lga-faq-answer { max-height: 300px; }
.lga-faq-answer p {
    padding: 0 20px 16px; margin: 0;
    font-size: 14px; color: #555; line-height: 1.6;
}

body.lga-dark .lga-faq-item { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-faq-question { color: var(--text); }
body.lga-dark .lga-faq-answer p { color: #bbb; }

/* ── 404 Enhanced ── */
.lga-404-icon { margin-bottom: 16px; opacity: 0.6; }
.lga-404-title { font-size: 2.5rem; }
.lga-404-random { display: flex; justify-content: center; margin-top: 16px; }
.lga-404-game-card {
    max-width: 340px; text-align: left;
    display: flex; flex-direction: column;
}
.lga-404-game-card .lga-card-thumb img {
    width: 100%; height: 200px; object-fit: cover;
    border-radius: 12px 12px 0 0;
}
.lga-404-game-card .lga-card-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.lga-404-game-card .lga-card-excerpt {
    font-size: 13px; color: #777; margin-top: 8px; line-height: 1.5;
}

body.lga-dark .lga-404-icon svg { stroke: var(--accent, #8899AA); }
body.lga-dark .lga-404-game-card .lga-card-excerpt { color: #999; }

/* ── LFG Single ── */
.lga-lfg-single-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
.lga-lfg-single-header { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.lga-lfg-single-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; margin: 0; flex: 1 1 100%; }
.lga-lfg-single-meta { font-size: 13px; color: #777; display: flex; gap: 8px; margin-bottom: 16px; }
.lga-lfg-single-meta a { color: var(--accent, #8899AA); }
.lga-lfg-details-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px;
    padding: 16px; background: #F8F9FB; border-radius: 10px; margin-bottom: 16px;
}
.lga-lfg-detail-label { font-size: 11px; text-transform: uppercase; color: #999; letter-spacing: 0.05em; }
.lga-lfg-detail-value { font-size: 14px; font-weight: 600; color: #333; margin-top: 2px; }
.lga-lfg-single-body { font-size: 15px; line-height: 1.7; color: #444; }
.lga-lfg-single-body p { margin-bottom: 12px; }
.lga-lfg-actions { margin-top: 16px; padding-top: 16px; border-top: 1px solid #E5E7EB; }
.lga-lfg-author-card { display: flex; align-items: center; gap: 10px; }
.lga-lfg-author-avatar { width: 48px; height: 48px; border-radius: 50%; }
.lga-lfg-author-name { font-weight: 600; color: #222; }
.lga-lfg-game-link { display: flex; align-items: center; gap: 10px; color: #333; text-decoration: none; }
.lga-lfg-game-link:hover { color: var(--accent, #8899AA); }
.lga-lfg-game-thumb { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.lga-lfg-game-year { font-size: 13px; color: #777; }
.lga-lfg-related-link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid #F0F0F0; font-size: 14px;
    color: #333; text-decoration: none;
}
.lga-lfg-related-link:last-child { border-bottom: 0; }
.lga-lfg-related-link:hover { color: var(--accent, #8899AA); }
.lga-lfg-related-meta { font-size: 12px; color: #999; }

@media (max-width: 768px) {
    .lga-lfg-single-grid { grid-template-columns: 1fr; }
}

body.lga-dark .lga-lfg-details-grid { background: rgba(255,255,255,0.04); }
body.lga-dark .lga-lfg-detail-value { color: #ddd; }
body.lga-dark .lga-lfg-single-body { color: #ccc; }
body.lga-dark .lga-lfg-author-name { color: #eee; }
body.lga-dark .lga-lfg-game-link { color: #ddd; }
body.lga-dark .lga-lfg-related-link { color: #ccc; border-color: rgba(255,255,255,0.06); }

/* ── Game Guides ── */
.lga-guide-card {
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
}
.lga-guide-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.lga-guide-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.lga-guide-card-time { font-size: 12px; color: #999; }
.lga-guide-card-game { font-size: 13px; color: var(--accent, #8899AA); margin-top: 2px; }
.lga-guide-card-author { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #777; margin-top: auto; padding-top: 10px; }
.lga-guide-card-author img { width: 20px; height: 20px; border-radius: 50%; }
.lga-tag-guide-type {
    background: #E8EFF5; color: #556677; font-size: 11px; font-weight: 600;
    padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em;
}

/* Guide Single */
.lga-guide-single-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
.lga-guide-header { margin-bottom: 20px; }
.lga-guide-title { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin: 8px 0 12px; }
.lga-guide-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #777; flex-wrap: wrap; }
.lga-guide-meta img { width: 24px; height: 24px; border-radius: 50%; }
.lga-guide-meta a { color: var(--accent, #8899AA); }
.lga-guide-content { font-size: 15px; line-height: 1.8; color: #333; }
.lga-guide-content h2, .lga-guide-content h3 { margin-top: 24px; margin-bottom: 8px; }
.lga-guide-content ul, .lga-guide-content ol { margin-bottom: 16px; padding-left: 20px; }
.lga-guide-content p { margin-bottom: 14px; }
.lga-guide-game-link { display: flex; align-items: center; gap: 10px; color: #333; text-decoration: none; }
.lga-guide-game-link:hover { color: var(--accent, #8899AA); }
.lga-guide-game-thumb { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.lga-guide-author-card { display: flex; align-items: center; gap: 10px; }
.lga-guide-author-card img { width: 48px; height: 48px; border-radius: 50%; }
.lga-guide-related-link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid #F0F0F0; font-size: 14px;
    color: #333; text-decoration: none;
}
.lga-guide-related-link:last-child { border-bottom: 0; }
.lga-guide-related-link:hover { color: var(--accent, #8899AA); }
.lga-guide-related-meta { font-size: 12px; color: #999; }

@media (max-width: 768px) {
    .lga-guide-single-grid { grid-template-columns: 1fr; }
}

body.lga-dark .lga-tag-guide-type { background: rgba(255,255,255,0.08); color: #aab; }
body.lga-dark .lga-guide-content { color: #ccc; }
body.lga-dark .lga-guide-game-link { color: #ddd; }
body.lga-dark .lga-guide-related-link { color: #ccc; border-color: rgba(255,255,255,0.06); }
body.lga-dark .lga-guide-card-game { color: var(--accent, #8899AA); }

/* ── Guide Submit ── */
.lga-field-counter { font-size: 12px; color: #999; text-align: right; margin-top: 4px; }
.lga-field-hint { font-size: 12px; color: #888; margin-top: 4px; }
.lga-submit-status { font-size: 13px; margin-top: 8px; }
.lga-submit-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ── Collections ── */
.lga-collection-card { overflow: hidden; }
.lga-collection-thumbs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
    height: 120px; overflow: hidden;
}
.lga-collection-thumbs img {
    width: 100%; height: 60px; object-fit: cover;
}
.lga-collection-thumb-empty {
    background: #E8ECF0; height: 60px;
}
.lga-collection-meta {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; color: #777; margin-top: 8px;
}
.lga-collection-meta a { color: var(--accent, #8899AA); }

body.lga-dark .lga-collection-thumb-empty { background: rgba(255,255,255,0.06); }

/* ── Series ── */
.lga-series-card { text-decoration: none; color: inherit; transition: transform 0.15s, box-shadow 0.15s; }
.lga-series-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.lga-series-card .lga-card-thumb img { width: 100%; height: 160px; object-fit: cover; border-radius: 12px 12px 0 0; }

/* ── Section Header (title + action) ── */
.lga-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.lga-section-header .lga-section-title { margin-bottom: 0; }

/* ── Game Card Rating ── */
.lga-game-card-rating { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.lga-stars-mini { display: inline-flex; gap: 1px; }
.lga-star-full, .lga-star-half {
    display: inline-block; width: 12px; height: 12px;
    background: #E5A100;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/%3E%3C/svg%3E") center/contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.lga-star-half {
    mask-image: linear-gradient(to right, black 50%, transparent 50%),
                url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/%3E%3C/svg%3E");
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 50%),
                url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/%3E%3C/svg%3E");
    -webkit-mask-composite: source-in;
}
.lga-rating-text { font-size: 12px; color: #888; }

/* ── Nav Dropdown ── */
.lga-nav-dropdown { position: relative; }
.lga-nav-dropdown > button {
    background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 4px;
}
.lga-nav-dropdown-menu {
    position: absolute; top: 100%; left: 0; z-index: 100;
    background: #fff; border: 1px solid #E5E7EB; border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08); padding: 6px 0;
    min-width: 180px; display: none;
}
.lga-nav-dropdown.is-open .lga-nav-dropdown-menu { display: block; }
.lga-nav-dropdown-menu a {
    display: block; padding: 8px 16px; font-size: 14px; color: #333;
    text-decoration: none; white-space: nowrap;
}
.lga-nav-dropdown-menu a:hover { background: #F4F6F8; color: var(--accent, #8899AA); }

body.lga-dark .lga-nav-dropdown-menu { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-nav-dropdown-menu a { color: var(--text); }
body.lga-dark .lga-nav-dropdown-menu a:hover { background: rgba(255,255,255,0.05); }

/* ── Review Helpful Votes ── */
.lga-review-footer {
    display: flex; align-items: center; gap: 12px;
    margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line);
}
.lga-review-helpful {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: 999px; border: 1px solid var(--cardBorder);
    background: transparent; cursor: pointer; font-size: 12px; color: var(--text-muted);
    font-family: var(--font); transition: all 0.2s;
}
.lga-review-helpful:hover { border-color: var(--sage); color: var(--sage); }
.lga-review-helpful.is-voted { border-color: var(--sage); color: var(--sage); background: rgba(112,136,120,0.08); }
.lga-review-helpful-static {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; color: var(--text-muted);
}
.lga-review-footer .lga-report-btn {
    margin-left: auto; background: none; border: none; cursor: pointer;
    font-size: 11px; color: var(--text-muted); opacity: 0.5; transition: opacity 0.2s;
    font-family: var(--font);
}
.lga-review-footer .lga-report-btn:hover { opacity: 1; color: var(--muted-red); }

/* ── Community Highlights (front page) ── */
.lga-highlights-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px;
}
.lga-highlight-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.lga-highlight-col .lga-activity-heading { grid-column: 1 / -1; }
.lga-highlight-col .lga-activity-item { margin-bottom: 0; }
.lga-view-all-link {
    display: inline-block; font-size: 13px; font-weight: 500;
    color: var(--dusty-blue); margin-top: 4px;
}
.lga-view-all-link:hover { text-decoration: underline; }
@media (max-width: 768px) {
    .lga-highlights-grid { grid-template-columns: 1fr; }
}

/* ── Daily Quests ── */
.lga-daily-quests { display: flex; flex-direction: column; gap: 8px; }
.lga-daily-quests-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;
}
.lga-daily-quests-header h3 { font-size: 15px; font-weight: 600; margin: 0; }
.lga-daily-quests-timer { font-size: 11px; color: var(--text-muted); }
.lga-daily-quest {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; border-radius: 12px;
    background: var(--card2); border: 1px solid var(--cardBorder);
    transition: border-color 0.2s;
}
.lga-daily-quest.is-done { opacity: 0.6; }
.lga-daily-quest.is-done .lga-daily-quest-title { text-decoration: line-through; }
.lga-daily-quest-check {
    width: 24px; height: 24px; border-radius: 50%;
    border: 2px solid var(--cardBorder); display: flex;
    align-items: center; justify-content: center;
    font-size: 12px; color: var(--sage); flex-shrink: 0;
}
.lga-daily-quest.is-done .lga-daily-quest-check {
    background: var(--sage); border-color: var(--sage); color: #fff;
}
.lga-daily-quest-info { flex: 1; min-width: 0; }
.lga-daily-quest-title { font-size: 13px; font-weight: 600; color: var(--text); }
.lga-daily-quest-desc { font-size: 11px; color: var(--text-muted); }
.lga-daily-quest-xp {
    font-size: 12px; font-weight: 700; color: var(--mustard);
    white-space: nowrap;
}
.lga-daily-quest.is-done .lga-daily-quest-xp { color: var(--sage); }

/* ── Activity Timeline ── */
.lga-timeline { display: flex; flex-direction: column; gap: 0; }
.lga-timeline-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid var(--line);
    position: relative;
}
.lga-timeline-item:last-child { border-bottom: none; }
.lga-timeline-icon {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--card2); border: 1px solid var(--cardBorder);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; flex-shrink: 0;
}
.lga-timeline-content { flex: 1; min-width: 0; }
.lga-timeline-label {
    display: block; font-size: 13px; font-weight: 500;
    color: var(--text); text-decoration: none;
}
a.lga-timeline-label:hover { color: var(--dusty-blue); }
.lga-timeline-time { font-size: 11px; color: var(--text-muted); }

/* ── Dark mode for new components ── */
body.lga-dark .lga-review-helpful { border-color: var(--border); color: var(--text-muted); }
body.lga-dark .lga-review-helpful:hover,
body.lga-dark .lga-review-helpful.is-voted { border-color: var(--sage); color: var(--sage); }
body.lga-dark .lga-daily-quest-check { border-color: var(--border); }
body.lga-dark .lga-timeline-icon { background: var(--bg-card); border-color: var(--border); }

/* ── Trending Tags ── */
.lga-trending-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
    justify-content: center; margin-top: 16px;
}
.lga-trending-tag {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 6px 14px; border-radius: 999px;
    background: var(--card2); border: 1px solid var(--cardBorder);
    font-size: 13px; font-weight: 500; color: var(--text);
    text-decoration: none; transition: all .2s;
}
.lga-trending-tag:hover {
    background: var(--dusty-blue); color: #fff;
    border-color: var(--dusty-blue);
}
.lga-trending-tag-count {
    font-size: 11px; font-weight: 600; color: var(--text-muted);
    background: rgba(0,0,0,.06); border-radius: 999px;
    padding: 1px 6px; min-width: 18px; text-align: center;
}
.lga-trending-tag:hover .lga-trending-tag-count {
    background: rgba(255,255,255,.25); color: #fff;
}

/* ── Notification Inbox (My Account) ── */
.lga-notif-inbox { display: flex; flex-direction: column; gap: 0; max-height: 400px; overflow-y: auto; }
.lga-notif-inbox-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 14px; border-bottom: 1px solid var(--line);
    text-decoration: none; color: var(--text); transition: background .15s;
}
.lga-notif-inbox-item:last-child { border-bottom: none; }
.lga-notif-inbox-item:hover { background: rgba(0,0,0,.02); }
.lga-notif-inbox-item.is-unread { background: rgba(136,153,170,.06); }
.lga-notif-inbox-icon {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--card2); border: 1px solid var(--cardBorder);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; flex-shrink: 0;
}
.lga-notif-inbox-item.is-unread .lga-notif-inbox-icon {
    background: var(--dusty-blue); border-color: var(--dusty-blue); color: #fff;
}
.lga-notif-inbox-text { flex: 1; min-width: 0; font-size: 13px; line-height: 1.4; }
.lga-notif-inbox-time { font-size: 11px; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }
.lga-notif-inbox-empty { padding: 24px; text-align: center; color: var(--text-muted); font-size: 13px; }

/* ── Dark mode: trending tags + notification inbox ── */
body.lga-dark .lga-trending-tag { background: var(--bg-card); border-color: var(--border); color: var(--text); }
body.lga-dark .lga-trending-tag:hover { background: var(--dusty-blue); color: #fff; border-color: var(--dusty-blue); }
body.lga-dark .lga-trending-tag-count { background: rgba(255,255,255,.1); }
body.lga-dark .lga-notif-inbox-item:hover { background: rgba(255,255,255,.03); }
body.lga-dark .lga-notif-inbox-item.is-unread { background: rgba(136,153,170,.1); }
body.lga-dark .lga-notif-inbox-icon { background: var(--bg-card); border-color: var(--border); }

/* ── Compare (archive + page) ── */
.lga-compare-check {
    position: absolute; top: 8px; right: 8px; z-index: 3;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,0.9); border: 1px solid var(--cardBorder);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; transition: opacity .2s;
    font-size: 14px; color: var(--text-muted);
}
.lga-game-card:hover .lga-compare-check { opacity: 1; }
.lga-compare-check:has(input:checked) { opacity: 1; background: var(--dusty-blue); color: #fff; border-color: var(--dusty-blue); }
.lga-compare-check input { position: absolute; opacity: 0; pointer-events: none; }
.lga-compare-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
    background: var(--card2); border-top: 1px solid var(--cardBorder);
    padding: 10px 0; box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.lga-compare-table-wrap { margin-top: 24px; }
.lga-compare-table {
    width: 100%; border-collapse: collapse;
    background: var(--card2); border: 1px solid var(--cardBorder); border-radius: 12px;
    overflow: hidden;
}
.lga-compare-table th,
.lga-compare-table td {
    padding: 10px 16px; border-bottom: 1px solid var(--line);
    font-size: 13px; vertical-align: middle;
}
.lga-compare-table th { background: rgba(0,0,0,.02); font-weight: 600; }
.lga-compare-table tr:last-child td { border-bottom: none; }

body.lga-dark .lga-compare-check { background: rgba(30,38,48,0.9); }
body.lga-dark .lga-compare-bar { background: var(--bg-card); border-color: var(--border); }

/* ── Enhanced Author Profile Stats ── */
.lga-profile-stats-row { padding: 16px 0; background: var(--bg); }
.lga-player-stats-grid {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px;
}
.lga-player-stat-card {
    background: var(--card2); border: 1px solid var(--cardBorder);
    border-radius: 12px; padding: 14px 10px; text-align: center;
}
.lga-player-stat-value { font-size: 20px; font-weight: 800; color: var(--text); line-height: 1.2; }
.lga-player-stat-label { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.lga-profile-top-games { padding: 16px 0 0; }
.lga-top-games-row { display: flex; gap: 12px; flex-wrap: wrap; }
.lga-top-game-card {
    display: flex; gap: 12px; align-items: center;
    background: var(--card2); border: 1px solid var(--cardBorder);
    border-radius: 12px; padding: 10px 14px; text-decoration: none;
    color: var(--text); transition: all .2s; flex: 1; min-width: 200px;
}
.lga-top-game-card:hover { border-color: var(--dusty-blue); transform: translateY(-1px); }
.lga-top-game-thumb { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.lga-top-game-info { display: flex; flex-direction: column; }
.lga-top-game-name { font-size: 14px; font-weight: 600; }
.lga-top-game-meta { font-size: 11px; color: var(--text-muted); }

@media (max-width: 768px) {
    .lga-player-stats-grid { grid-template-columns: repeat(4, 1fr); }
    .lga-top-games-row { flex-direction: column; }
}
@media (max-width: 480px) {
    .lga-player-stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Hub Live Strip ── */
.lga-hub-live-strip { padding: 16px 0; background: linear-gradient(135deg, #FEF2F2 0%, #FFF7ED 100%); }
.lga-hub-live-card {
    display: flex; flex-direction: column; gap: 2px;
    background: #fff; border: 1px solid #FCA5A5; border-radius: 12px;
    padding: 10px 14px; min-width: 180px; text-decoration: none; color: var(--text);
    transition: all .2s; flex-shrink: 0;
}
.lga-hub-live-card:hover { border-color: #EF4444; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(239,68,68,0.15); }
.lga-hub-live-name { font-size: 13px; font-weight: 600; }
.lga-hub-live-game { font-size: 11px; color: var(--text-muted); }
.lga-hub-live-count { font-size: 10px; color: #EF4444; font-weight: 600; }
@keyframes lga-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
body.lga-dark .lga-hub-live-strip { background: linear-gradient(135deg, rgba(127,29,29,.15) 0%, rgba(120,53,15,.1) 100%); }
body.lga-dark .lga-hub-live-card { background: var(--bg-card); border-color: rgba(239,68,68,.3); }

/* ── Recommendation Reason + Streak Inline Badge ── */
.lga-rec-reason {
    display: block; font-size: 10px; color: var(--dusty-blue);
    font-weight: 500; font-style: italic; margin-top: 1px;
}
.lga-streak-badge-inline {
    display: inline-flex; align-items: center; gap: 2px;
    font-size: 12px; font-weight: 600; color: var(--mustard);
}

/* ── @Mention Autocomplete ── */
.lga-mention-dropdown {
    position: absolute; z-index: 200;
    background: var(--card2); border: 1px solid var(--cardBorder);
    border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-height: 240px; overflow-y: auto;
}
.lga-mention-dropdown[hidden] { display: none; }
.lga-mention-item {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 12px; width: 100%; border: none; background: none;
    cursor: pointer; font-size: 13px; color: var(--text); text-align: left;
}
.lga-mention-item:hover { background: rgba(136,153,170,0.1); }
.lga-mention { color: var(--dusty-blue); font-weight: 600; text-decoration: none; }
.lga-mention:hover { text-decoration: underline; }

/* ── Keyboard Shortcuts Modal ── */
.lga-shortcuts-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.lga-shortcuts-modal[hidden] { display: none; }
.lga-shortcuts-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.lga-shortcuts-content {
    position: relative; background: var(--card2); border: 1px solid var(--cardBorder);
    border-radius: 16px; padding: 28px 32px; max-width: 480px; width: 90%;
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.lga-shortcuts-close {
    position: absolute; top: 12px; right: 16px; background: none; border: none;
    font-size: 24px; color: var(--text-muted); cursor: pointer;
}
.lga-shortcuts-content h2 { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.lga-shortcuts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lga-shortcut { font-size: 13px; color: var(--text); padding: 4px 0; }
.lga-shortcut kbd {
    display: inline-block; padding: 2px 6px; border-radius: 4px;
    background: rgba(0,0,0,0.06); border: 1px solid var(--cardBorder);
    font-family: monospace; font-size: 12px; font-weight: 600;
    min-width: 20px; text-align: center;
}

/* ── Game Share Modal ── */
.lga-share-modal {
    position: fixed; inset: 0; z-index: 9999;
    display: none; align-items: center; justify-content: center;
}
.lga-share-modal.is-open { display: flex; }
.lga-share-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.lga-share-modal-content {
    position: relative; background: var(--card2); border: 1px solid var(--cardBorder);
    border-radius: 16px; padding: 24px; max-width: 360px; width: 90%;
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.lga-share-modal-close {
    position: absolute; top: 10px; right: 14px; background: none; border: none;
    font-size: 20px; color: var(--text-muted); cursor: pointer;
}

/* ── Moderation Queue ── */
.lga-mod-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.lga-mod-table th { text-align: left; padding: 10px 12px; background: rgba(0,0,0,0.03); font-weight: 600; border-bottom: 2px solid var(--line); }
.lga-mod-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lga-mod-table tr:hover { background: rgba(136,153,170,0.04); }
.lga-mod-status { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.lga-mod-status-pending { background: #FEF3C7; color: #92400E; }
.lga-mod-status-approved { background: #D1FAE5; color: #065F46; }
.lga-mod-status-dismissed { background: #E5E7EB; color: #374151; }
.lga-mod-status-removed { background: #FEE2E2; color: #991B1B; }

body.lga-dark .lga-mention-dropdown { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-shortcuts-content { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-shortcut kbd { background: rgba(255,255,255,0.08); }
body.lga-dark .lga-share-modal-content { background: var(--bg-card); border-color: var(--border); }

/* ── Collections Page ── */
.lga-collections-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}
.lga-collection-card {
  background: var(--card2, #fff); border: 1px solid var(--cardBorder, #E5E7EB);
  border-radius: var(--r, 18px); padding: 16px; transition: transform 0.2s, box-shadow 0.2s;
}
.lga-collection-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm, 0 4px 16px rgba(0,0,0,0.06)); }
.lga-collection-covers {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 12px;
  border-radius: 10px; overflow: hidden; aspect-ratio: 2/1;
}
.lga-collection-covers img {
  width: 100%; height: 100%; object-fit: cover;
}
.lga-collection-cover-empty {
  background: rgba(136,153,170,0.08); width: 100%; height: 100%;
}
.lga-collection-name { font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.lga-collection-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.lga-collection-meta a { color: var(--dusty-blue); text-decoration: none; }
.lga-collection-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.lga-collection-actions { display: flex; gap: 8px; margin-top: 10px; }

/* ── Reviews Hub ── */
.lga-reviews-list { display: flex; flex-direction: column; gap: 12px; }
.lga-review-card {
  background: var(--card2, #fff); border: 1px solid var(--cardBorder, #E5E7EB);
  border-radius: 12px; padding: 14px 16px;
}
.lga-review-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.lga-review-card-text { font-size: 13px; line-height: 1.5; color: var(--text); margin-bottom: 6px; }
.lga-review-card-date { font-size: 11px; color: var(--text-muted); }

/* ── Trophy Case ── */
.lga-trophy-case {
  display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0;
}
.lga-trophy-item {
  display: flex; align-items: center; gap: 6px; padding: 8px 14px;
  background: linear-gradient(135deg, rgba(160,148,112,0.1), rgba(136,153,170,0.1));
  border: 1px solid rgba(160,148,112,0.25); border-radius: 10px;
}
.lga-trophy-icon { font-size: 20px; }
.lga-trophy-name { font-size: 12px; font-weight: 600; color: var(--text); }
.lga-trophy-pinned {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  background: rgba(160,148,112,0.1); border: 1px solid rgba(160,148,112,0.3);
  border-radius: 999px; font-size: 13px; font-weight: 500;
}
.lga-trophy-pinned:hover { background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.3); }
.lga-badge-card.is-pinned { border-color: var(--dusty-blue); box-shadow: 0 0 0 2px rgba(136,153,170,0.2); }
.lga-badge-pin-indicator { font-size: 10px; position: absolute; top: 4px; right: 4px; }
.lga-badge-card { position: relative; }

/* ── Search enhancements ── */
.lga-search-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 14px; }
.lga-search-tab {
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  text-decoration: none; color: var(--text-muted); background: rgba(0,0,0,0.03);
  transition: all 0.15s;
}
.lga-search-tab:hover { background: rgba(136,153,170,0.1); color: var(--text); }
.lga-search-tab.is-active { background: var(--dusty-blue); color: #fff; }
.lga-search-tab-count { font-size: 11px; opacity: 0.7; margin-left: 2px; }
.lga-search-results { display: flex; flex-direction: column; gap: 12px; }
.lga-search-result {
  display: flex; gap: 14px; padding: 14px 16px;
  background: var(--card2, #fff); border: 1px solid var(--cardBorder, #E5E7EB);
  border-radius: 12px; transition: box-shadow 0.2s;
}
.lga-search-result:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.lga-search-result-thumb { flex-shrink: 0; }
.lga-search-result-thumb img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.lga-search-result-body { flex: 1; min-width: 0; }
.lga-search-result-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.lga-search-result-title { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.lga-search-result-title a { color: var(--text); text-decoration: none; }
.lga-search-result-title a:hover { color: var(--dusty-blue); }
.lga-search-result-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.4; margin: 0; }
.lga-search-result-meta { font-size: 12px; color: var(--text-muted); }
.lga-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: rgba(136,153,170,0.12); color: var(--dusty-blue); }
.lga-tag-hub { background: rgba(16,185,129,0.1); color: #059669; }
.lga-tag-vault { background: rgba(160,148,112,0.12); color: #8B7E5E; }
.lga-tag-event { background: rgba(139,92,246,0.1); color: #7C3AED; }
.lga-tag-member { background: rgba(59,130,246,0.1); color: #2563EB; }

/* ── Dark mode for batch 21 ── */
body.lga-dark .lga-collection-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-review-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-search-result { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-search-tab { background: rgba(255,255,255,0.05); color: var(--text-muted); }
body.lga-dark .lga-search-tab.is-active { background: var(--dusty-blue); color: #fff; }
body.lga-dark .lga-trophy-item { background: rgba(160,148,112,0.08); border-color: rgba(160,148,112,0.2); }
body.lga-dark .lga-collection-cover-empty { background: rgba(255,255,255,0.04); }

/* ── Community Challenges ── */
.lga-challenges-grid { display: flex; flex-direction: column; gap: 14px; }
.lga-challenge-card {
  background: var(--card2, #fff); border: 1px solid var(--cardBorder, #E5E7EB);
  border-radius: 14px; padding: 18px 20px;
}
.lga-challenge-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.lga-challenge-title { font-size: 16px; font-weight: 700; margin: 4px 0 0; }
.lga-challenge-xp {
  font-size: 14px; font-weight: 700; color: var(--dusty-blue);
  white-space: nowrap; background: rgba(136,153,170,0.08);
  padding: 4px 10px; border-radius: 999px;
}
.lga-challenge-desc { font-size: 13px; color: var(--text-muted); line-height: 1.4; margin: 8px 0; }
.lga-challenge-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.lga-challenge-stats { font-size: 12px; color: var(--text-muted); display: flex; gap: 6px; flex-wrap: wrap; }
.lga-challenge-actions { display: flex; gap: 6px; }
.lga-challenge-bar { height: 4px; background: rgba(0,0,0,0.06); border-radius: 4px; margin-top: 12px; overflow: hidden; }
.lga-challenge-bar-fill { height: 100%; border-radius: 4px; transition: width 0.3s; }

/* ── Game Timeline ── */
.lga-game-timeline-section { padding: 24px 0; }
.lga-game-timeline { position: relative; padding-left: 28px; }
.lga-game-timeline::before {
  content: ''; position: absolute; left: 10px; top: 0; bottom: 0;
  width: 2px; background: var(--line, #E5E7EB);
}
.lga-game-tl-item {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; position: relative;
}
.lga-game-tl-icon {
  width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; background: var(--card2, #fff); border: 2px solid var(--line, #E5E7EB);
  border-radius: 50%; position: absolute; left: -28px; z-index: 1;
}
.lga-game-tl-content { display: flex; flex-direction: column; gap: 2px; }
.lga-game-tl-text { font-size: 14px; font-weight: 500; }
.lga-game-tl-date { font-size: 12px; color: var(--text-muted); }

/* ── Changelog enhancements ── */
.lga-cl-item-date { font-size: 11px; color: var(--text-muted); margin-left: 6px; }
.lga-cl-tag { display: inline-block; padding: 1px 6px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; margin-right: 4px; }
.lga-tag-new { background: #D1FAE5; color: #065F46; }
.lga-tag-improved { background: #DBEAFE; color: #1E40AF; }
.lga-tag-fixed { background: #FEF3C7; color: #92400E; }

/* ── Dark mode batch 22 ── */
body.lga-dark .lga-challenge-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-challenge-bar { background: rgba(255,255,255,0.06); }
body.lga-dark .lga-game-tl-icon { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-game-timeline::before { background: var(--border); }

@media (max-width: 768px) {
  .lga-collections-grid { grid-template-columns: 1fr; }
  .lga-review-card-header { flex-direction: column; align-items: flex-start; }
  .lga-search-result { flex-direction: column; gap: 8px; }
  .lga-trophy-case { gap: 8px; }
  .lga-challenge-footer { flex-direction: column; align-items: flex-start; }
  .lga-rating-chart { flex-direction: column; }
}

/* ── Spotlight Cards ── */
.lga-spotlight-card {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  background: var(--card2, #fff); border: 1px solid var(--cardBorder, #E5E7EB);
  border-radius: 14px; text-decoration: none; color: var(--text);
  transition: box-shadow 0.2s, transform 0.15s;
}
.lga-spotlight-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); transform: translateY(-1px); }
.lga-spotlight-thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.lga-spotlight-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.lga-spotlight-tag {
  display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--dusty-blue); margin-bottom: 2px;
}
.lga-spotlight-title { font-size: 14px; font-weight: 600; }
.lga-spotlight-meta { font-size: 12px; color: var(--text-muted); }

/* ── Rating Distribution Chart ── */
.lga-rating-chart {
  display: flex; gap: 24px; align-items: center; padding: 16px;
  background: var(--card2, #fff); border: 1px solid var(--cardBorder, #E5E7EB);
  border-radius: 14px; margin-bottom: 20px;
}
.lga-rating-chart-summary { text-align: center; min-width: 80px; }
.lga-rating-chart-avg { font-size: 32px; font-weight: 700; color: var(--text); line-height: 1; }
.lga-rating-chart-total { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.lga-rating-chart-bars { flex: 1; }
.lga-rating-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.lga-rating-bar-label { font-size: 12px; width: 14px; text-align: right; color: var(--text-muted); }
.lga-rating-bar-track { flex: 1; height: 8px; background: rgba(0,0,0,0.06); border-radius: 4px; overflow: hidden; }
.lga-rating-bar-fill { height: 100%; background: var(--dusty-blue); border-radius: 4px; transition: width 0.3s; }
.lga-rating-bar-count { font-size: 11px; color: var(--text-muted); width: 24px; }

/* ── Dark mode batch 23 ── */
body.lga-dark .lga-spotlight-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-rating-chart { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-rating-bar-track { background: rgba(255,255,255,0.06); }

/* ── Game Quick Stats ── */
.lga-game-qstats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.lga-game-qstat {
  text-align: center; padding: 8px 4px;
  background: rgba(136,153,170,0.04); border-radius: 8px;
}
.lga-game-qstat-val { display: block; font-size: 18px; font-weight: 700; color: var(--text); }
.lga-game-qstat-lbl { display: block; font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; }

/* ── Welcome Modal ── */
.lga-welcome-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
}
.lga-welcome-content {
  background: var(--card2, #fff); border: 1px solid var(--cardBorder, #E5E7EB);
  border-radius: 20px; padding: 28px; max-width: 420px; width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2); animation: lga-modal-in 0.3s ease-out;
}
@keyframes lga-modal-in { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: none; } }
.lga-welcome-features { display: flex; flex-direction: column; gap: 12px; }
.lga-welcome-feat {
  display: flex; gap: 12px; align-items: flex-start; padding: 10px;
  background: rgba(136,153,170,0.04); border-radius: 10px;
}

/* ── Dark mode batch 24 ── */
body.lga-dark .lga-welcome-content { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-game-qstat { background: rgba(255,255,255,0.04); }
body.lga-dark .lga-welcome-feat { background: rgba(255,255,255,0.04); }

/* ═══════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════ */
.lga-toast-container {
    position: fixed; bottom: 24px; right: 24px; z-index: 10000;
    display: flex; flex-direction: column-reverse; gap: 10px;
    pointer-events: none; max-width: 380px;
}
.lga-toast {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border-radius: 12px;
    font-size: 14px; font-weight: 500; line-height: 1.4;
    background: #fff; color: #333;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid #8899AA;
    pointer-events: auto;
    transform: translateX(110%); opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.lga-toast.is-visible { transform: translateX(0); opacity: 1; }
.lga-toast.is-leaving { transform: translateX(110%); opacity: 0; transition-timing-function: ease-in; }
.lga-toast svg { flex-shrink: 0; }
.lga-toast span { flex: 1; }
.lga-toast-close {
    background: none; border: none; font-size: 18px; cursor: pointer;
    color: #999; padding: 0 0 0 8px; line-height: 1;
}
.lga-toast-close:hover { color: #555; }
.lga-toast-success { border-left-color: #10B981; }
.lga-toast-success svg { color: #10B981; }
.lga-toast-error { border-left-color: #EF4444; }
.lga-toast-error svg { color: #EF4444; }
.lga-toast-warning { border-left-color: #F59E0B; }
.lga-toast-warning svg { color: #F59E0B; }
.lga-toast-info svg { color: #8899AA; }

body.lga-dark .lga-toast {
    background: #1E2130; color: #E0E0E0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
body.lga-dark .lga-toast-close { color: #666; }
body.lga-dark .lga-toast-close:hover { color: #aaa; }

@media (max-width: 768px) {
    .lga-toast-container { bottom: 16px; right: 16px; left: 16px; max-width: none; }
}

/* ═══════════════════════════════════════
   COMPARE GAMES PAGE
   ═══════════════════════════════════════ */
.lga-compare-search { max-width: 520px; margin: 32px auto; text-align: center; }
.lga-compare-input {
    width: 100%; padding: 10px 16px; border: 1px solid #D1D5DB; border-radius: 999px;
    font-size: 15px; outline: none; transition: border-color 0.2s;
}
.lga-compare-input:focus { border-color: var(--dusty-blue); }
.lga-compare-results { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lga-compare-result-item {
    display: flex; align-items: center; gap: 8px; padding: 6px 12px;
    border: 1px solid #E5E7EB; border-radius: 999px; background: #fff;
    cursor: pointer; font-size: 13px; transition: all 0.15s;
}
.lga-compare-result-item:hover { border-color: var(--dusty-blue); background: rgba(136,153,170,0.06); }
.lga-compare-result-img { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; }
.lga-compare-selected { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; justify-content: center; }
.lga-compare-tag {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 14px; background: var(--dusty-blue); color: #fff;
    border-radius: 999px; font-size: 13px; font-weight: 500;
}
.lga-compare-tag-img { width: 20px; height: 20px; border-radius: 4px; object-fit: cover; }
.lga-compare-tag-remove { background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.7); font-size: 16px; line-height: 1; }
.lga-compare-tag-remove:hover { color: #fff; }

.lga-compare-headers {
    display: grid; gap: 16px; margin-bottom: 0;
    padding: 20px 0; border-bottom: 1px solid #E5E7EB;
}
.lga-compare-game-card {
    display: flex; flex-direction: column; align-items: center;
    text-decoration: none; color: var(--text); transition: transform 0.15s;
}
.lga-compare-game-card:hover { transform: translateY(-2px); }
.lga-compare-game-img {
    width: 90px; height: 120px; object-fit: cover; border-radius: 10px;
    margin-bottom: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.lga-compare-no-img {
    display: flex; align-items: center; justify-content: center;
    background: #F3F4F6; color: #bbb; font-size: 11px;
}
.lga-compare-game-name { font-size: 14px; font-weight: 600; text-align: center; margin: 0; }
.lga-compare-game-rating { font-size: 12px; color: var(--mustard); margin-top: 4px; }
.lga-compare-stars { letter-spacing: 1px; }

.lga-compare-table-wrap { overflow-x: auto; margin-top: 0; }
.lga-compare-table { width: 100%; border-collapse: collapse; }
.lga-compare-table tr { border-bottom: 1px solid #F0F0F0; }
.lga-compare-table tr:last-child { border-bottom: none; }
.lga-compare-label {
    font-weight: 600; color: #555; white-space: nowrap; padding: 12px 16px 12px 0;
    font-size: 13px; width: 160px; vertical-align: top;
}
.lga-compare-val {
    text-align: center; padding: 12px 10px; font-size: 14px;
    vertical-align: top; transition: background 0.2s;
}
.lga-compare-val.is-match { background: rgba(16,185,129,0.06); }
.lga-compare-val.is-best { background: rgba(136,153,170,0.08); }
.lga-compare-na { color: #ccc; font-size: 13px; }
.lga-compare-pill {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    font-size: 12px; margin: 2px; background: #F3F4F6; color: #555;
}
.lga-compare-pill.is-shared { background: var(--dusty-blue); color: #fff; }

body.lga-dark .lga-compare-input { background: var(--bg-card); border-color: var(--border); color: var(--text); }
body.lga-dark .lga-compare-result-item { background: var(--bg-card); border-color: var(--border); color: var(--text); }
body.lga-dark .lga-compare-table tr { border-bottom-color: var(--border); }
body.lga-dark .lga-compare-label { color: #aaa; }
body.lga-dark .lga-compare-val.is-match { background: rgba(16,185,129,0.08); }
body.lga-dark .lga-compare-val.is-best { background: rgba(136,153,170,0.1); }
body.lga-dark .lga-compare-no-img { background: #1A1D27; }
body.lga-dark .lga-compare-pill { background: #1A1D27; color: #aaa; }
body.lga-dark .lga-compare-pill.is-shared { background: var(--dusty-blue); color: #fff; }

@media (max-width: 768px) {
    .lga-compare-headers { grid-template-columns: 1fr !important; }
    .lga-compare-headers > div:first-child { display: none; }
    .lga-compare-label { width: auto; font-size: 12px; }
    .lga-compare-val { font-size: 13px; padding: 8px 6px; }
}

/* Activity totals */
.lga-activity-totals { text-align: center; margin-top: 16px; font-size: 13px; color: var(--text-muted); }
.lga-activity-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.lga-online-badge { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* Series timeline */
.lga-series-timeline { display: flex; flex-direction: column; gap: 0; }
.lga-series-entry {
    display: flex; align-items: center; gap: 14px;
    padding: 10px 14px; text-decoration: none; color: var(--text);
    border-bottom: 1px solid #E5E7EB; transition: background 0.15s;
}
.lga-series-entry:last-child { border-bottom: none; }
.lga-series-entry:hover { background: rgba(136,153,170,0.06); }
.lga-series-entry-img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.lga-series-entry-noimg {
    display: flex; align-items: center; justify-content: center;
    background: #E5E7EB; color: #888; font-size: 11px; font-weight: 600;
}
.lga-series-entry-info { flex: 1; min-width: 0; }
.lga-series-entry-info strong { display: block; font-size: 14px; }
.lga-series-entry-meta { font-size: 12px; color: var(--text-muted); }
.lga-series-entry-status {
    display: inline-block; padding: 1px 8px; border-radius: 999px;
    font-size: 11px; background: #E5E7EB; margin-left: 6px;
}
body.lga-dark .lga-series-entry { border-bottom-color: var(--border); }
body.lga-dark .lga-series-entry:hover { background: rgba(255,255,255,0.04); }
body.lga-dark .lga-series-entry-noimg { background: #1A1D27; color: #666; }
body.lga-dark .lga-series-entry-status { background: #2A2D3A; color: #aaa; }

/* Recommendation cards */
.lga-rec-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.lga-rec-grid-sm { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lga-rec-card {
    display: flex; flex-direction: column; text-decoration: none; color: var(--text);
    background: var(--card); border: 1px solid var(--cardBorder);
    border-radius: var(--radius-sm); overflow: hidden;
    backdrop-filter: blur(var(--blur)); transition: transform 0.15s, box-shadow 0.15s;
}
.lga-rec-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.lga-rec-thumb { aspect-ratio: 3/4; overflow: hidden; }
.lga-rec-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lga-rec-body { padding: 12px; }
.lga-rec-title { font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.lga-rec-year { font-size: 12px; color: var(--text-muted); }
.lga-rec-reason {
    display: block; font-size: 11px; color: var(--dusty-blue); margin-top: 4px;
    font-weight: 500;
}

body.lga-dark .lga-rec-card { background: var(--bg-card); border-color: var(--border); }

@media (max-width: 768px) {
    .lga-rec-grid { grid-template-columns: repeat(2, 1fr); }
    .lga-rec-grid-sm { grid-template-columns: repeat(2, 1fr); }
}

/* Archive filter pills + count */
.lga-active-filters {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px;
}
.lga-filter-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; background: var(--dusty-blue); color: #fff;
    border-radius: 999px; font-size: 12px; font-weight: 500;
}
.lga-filter-pill-x {
    color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; line-height: 1;
}
.lga-filter-pill-x:hover { color: #fff; }
.lga-filter-clear { font-size: 12px; color: var(--text-muted); text-decoration: underline; margin-left: 4px; }
.lga-archive-count { font-size: 13px; color: var(--text-muted); }

/* ═══════════════════════════════════════════
   ARCHIVE — EDITORIAL LAYOUT (V3)
   ═══════════════════════════════════════════ */

/* Toolbar: count + per-page */
.lga-archive-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.lga-archive-perpage {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}
.lga-perpage-opt {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.55);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all .15s;
}
.lga-perpage-opt:hover {
    background: rgba(255,255,255,.75);
}
.lga-perpage-opt.is-active {
    background: rgba(143,163,184,.18);
    border-color: rgba(143,163,184,.45);
    color: var(--text);
}

/* Archive stats bar (frosted glass, Option D) */
.lga-archive-stats-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-muted, #64748b);
}
.lga-archive-stats-bar-left {
    display: inline-flex;
    gap: 16px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(248,252,255,.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--cardBorder, #e2e8f0);
}
.lga-archive-stats-bar-left strong { color: var(--text); font-weight: 700; }
.lga-archive-stats-bar-right { font-size: 12px; }
body.lga-dark .lga-archive-stats-bar-left { background: rgba(30,41,59,.72); border-color: var(--border); }

/* Two-column layout */
.lga-archive-two-col {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

/* Archive card (prototype style) */
.lga-arc-card {
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    transition: transform .15s, box-shadow .15s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.lga-arc-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Card image */
.lga-arc-card-img {
    height: 120px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(136,153,170,.15), rgba(160,148,112,.1));
}
.lga-arc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lga-arc-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.15));
    pointer-events: none;
}
.lga-arc-card-img-empty {
    height: 60px;
}

/* Card body */
.lga-arc-card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.lga-arc-card-body h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}
.lga-arc-card-year {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 13px;
}
.lga-arc-card-desc {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    flex: 1;
}

/* Card footer */
.lga-arc-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}
.lga-arc-card-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}
.lga-arc-card-rating {
    font-weight: 600;
    color: var(--mustard);
}
.lga-arc-card-hubs {
    font-weight: 500;
}
.lga-arc-card-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.50);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
}
.lga-arc-card-pill-live {
    background: rgba(112,136,120,.08);
    border-color: rgba(112,136,120,.15);
    color: var(--sage);
}
.lga-arc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sage);
    box-shadow: 0 0 0 2px rgba(112,136,120,.15);
    display: inline-block;
    animation: lga-arc-pulse 2.5s ease infinite;
}
@keyframes lga-arc-pulse { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }

/* Sidebar */
.lga-archive-sidebar {
    position: sticky;
    top: 84px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.lga-arc-sidebar-card {
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    padding: 18px;
    overflow: hidden;
}
.lga-arc-sidebar-label {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 12px;
}
.lga-arc-sidebar-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.lga-arc-sidebar-stat {
    text-align: center;
    flex: 1;
    min-width: 70px;
}
.lga-arc-sidebar-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}
.lga-arc-sidebar-slab {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .10em;
    color: var(--text-muted);
    font-weight: 600;
}
.lga-arc-sidebar-divider {
    height: 1px;
    background: var(--line);
    margin: 14px 0;
}
.lga-arc-sidebar-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.58);
    box-shadow: 0 8px 18px rgba(0,0,0,.06);
    margin-bottom: 8px;
}
.lga-arc-sidebar-user:last-of-type {
    margin-bottom: 0;
}
.lga-arc-sidebar-user-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lga-arc-sidebar-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg);
}
.lga-arc-sidebar-username {
    font-weight: 700;
    font-size: 13px;
    color: var(--text);
}
.lga-arc-sidebar-usermeta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Watcher Avatars (on game cards) */
.lga-game-card-watchers {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,.06);
}
.lga-watcher-avatars {
    display: flex;
    align-items: center;
}
.lga-watcher-av {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg);
    margin-left: -8px;
}
.lga-watcher-av:first-child {
    margin-left: 0;
}
.lga-watcher-more {
    font-size: 11px;
    color: var(--text-muted);
    margin-left: 8px;
    font-weight: 600;
}
.lga-watcher-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(112,136,120,.15);
    background: rgba(112,136,120,.06);
    font-size: 11px;
    font-weight: 600;
    color: var(--sage);
}
.lga-watcher-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sage);
    box-shadow: 0 0 0 2px rgba(112,136,120,.15);
    display: inline-block;
    animation: lga-arc-pulse 2.5s ease infinite;
}
body.lga-dark .lga-game-card-watchers {
    border-top-color: var(--border);
}
body.lga-dark .lga-watcher-av {
    border-color: var(--bg-card);
}
body.lga-dark .lga-watcher-status {
    background: rgba(112,136,120,.10);
    border-color: rgba(112,136,120,.25);
}

/* Archive Dark Mode */
body.lga-dark .lga-arc-card {
    background: var(--bg-card);
    border-color: var(--border);
}
body.lga-dark .lga-arc-card:hover {
    box-shadow: 0 14px 34px rgba(0,0,0,.3);
}
body.lga-dark .lga-arc-card-body h3 { color: var(--text); }
body.lga-dark .lga-arc-card-desc { color: var(--text-muted); }
body.lga-dark .lga-arc-card-pill {
    background: rgba(255,255,255,.06);
    border-color: var(--border);
    color: var(--text-muted);
}
body.lga-dark .lga-arc-card-pill-live {
    background: rgba(112,136,120,.12);
    border-color: rgba(112,136,120,.25);
}
body.lga-dark .lga-arc-card-img {
    background: linear-gradient(135deg, rgba(136,153,170,.08), rgba(160,148,112,.05));
}
body.lga-dark .lga-arc-sidebar-card {
    background: var(--bg-card);
    border-color: var(--border);
}
body.lga-dark .lga-arc-sidebar-user {
    background: rgba(255,255,255,.04);
    border-color: var(--border);
}
body.lga-dark .lga-arc-sidebar-num { color: var(--text); }
body.lga-dark .lga-arc-sidebar-divider { background: var(--border); }
body.lga-dark .lga-perpage-opt {
    background: rgba(255,255,255,.06);
    border-color: var(--border);
    color: var(--text-muted);
}
body.lga-dark .lga-perpage-opt.is-active {
    background: rgba(143,163,184,.15);
    border-color: rgba(143,163,184,.35);
    color: var(--text);
}

/* Archive Responsive */
@media (max-width: 1100px) {
    .lga-archive-two-col {
        grid-template-columns: 1fr;
    }
    .lga-archive-sidebar {
        position: relative;
        top: auto;
    }
}

/* Contribution bars (author.php) */
.lga-contrib-bars { display: flex; flex-direction: column; gap: 8px; }
.lga-contrib-row { display: flex; align-items: center; gap: 10px; }
.lga-contrib-label { font-size: 13px; color: var(--text-muted); width: 120px; flex-shrink: 0; }
.lga-contrib-bar {
    flex: 1; height: 8px; background: #E5E7EB; border-radius: 4px; overflow: hidden;
}
.lga-contrib-fill { height: 100%; border-radius: 4px; transition: width 0.4s ease; }
.lga-contrib-num { font-size: 13px; font-weight: 600; width: 30px; text-align: right; }
body.lga-dark .lga-contrib-bar { background: #2A2D3A; }

/* Game of the Day */
.lga-gotd-section { padding: 32px 0; }
.lga-gotd-card {
    display: flex; gap: 24px; text-decoration: none; color: var(--text);
    background: var(--card); border: 1px solid var(--cardBorder);
    border-radius: var(--radius-lg); overflow: hidden;
    backdrop-filter: blur(var(--blur)); transition: transform 0.2s, box-shadow 0.2s;
}
.lga-gotd-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lga-gotd-cover { width: 220px; flex-shrink: 0; }
.lga-gotd-cover img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.lga-gotd-body { padding: 28px 28px 28px 0; display: flex; flex-direction: column; justify-content: center; }
.lga-gotd-title { font-family: var(--font-serif); font-size: 26px; margin: 0 0 8px; }
.lga-gotd-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.lga-gotd-rating { color: #000; font-weight: 600; margin-left: 8px; }
.lga-gotd-summary { font-size: 15px; color: var(--text-secondary); line-height: 1.6; margin: 0 0 12px; }
.lga-gotd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.lga-gotd-tags .lga-tag { background: #EEF2F7; color: #555; font-size: 12px; }
.lga-gotd-cta { font-size: 14px; font-weight: 600; color: var(--dusty-blue); text-decoration: none; transition: color .2s; }
.lga-gotd-cta:hover { color: #000; text-decoration: none; }

body.lga-dark .lga-gotd-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-gotd-tags .lga-tag { background: #1A1D27; color: #aaa; }

@media (max-width: 768px) {
    .lga-gotd-card { flex-direction: column; }
    .lga-gotd-cover { width: 100%; max-height: 200px; }
    .lga-gotd-body { padding: 20px; }
    .lga-gotd-title { font-size: 22px; }
}

/* ─── Preservation Timeline ─── */
.lga-pres-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.lga-pres-header h2 { margin: 0; font-family: 'Playfair Display', serif; font-size: 24px; }
.lga-pres-form { background: var(--card, #fff); border: 1px solid var(--cardBorder, #e0e0e0); border-radius: 12px; padding: 20px; margin-bottom: 24px; }
.lga-pres-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; margin-top: 12px; color: #555; }
.lga-pres-form label:first-child { margin-top: 0; }
.lga-pres-form input[type="text"],
.lga-pres-form input[type="date"],
.lga-pres-form select,
.lga-pres-form textarea { width: 100%; padding: 8px 12px; border: 1px solid #d0d5dd; border-radius: 8px; font-size: 14px; font-family: inherit; background: #fff; }
.lga-pres-form textarea { resize: vertical; }
.lga-pres-form .lga-btn { margin-top: 12px; }
.lga-pres-timeline { position: relative; padding-left: 28px; }
.lga-pres-timeline::before { content: ''; position: absolute; left: 9px; top: 0; bottom: 0; width: 2px; background: #d0d5dd; border-radius: 2px; }
.lga-pres-item { position: relative; margin-bottom: 20px; }
.lga-pres-dot { position: absolute; left: -28px; top: 4px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px #d0d5dd; }
.lga-pres-card { background: var(--card, #fff); border: 1px solid var(--cardBorder, #e0e0e0); border-radius: 10px; padding: 14px 18px; }
.lga-pres-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.lga-pres-icon { font-size: 16px; }
.lga-pres-card-top strong { font-size: 15px; flex: 1; }
.lga-pres-date { font-size: 12px; color: #888; white-space: nowrap; }
.lga-pres-desc { font-size: 13px; color: #555; margin: 4px 0 0; line-height: 1.5; }
.lga-pres-by { font-size: 11px; color: #aaa; margin-top: 8px; display: block; }
.lga-pres-del { background: none; border: none; color: #ccc; font-size: 18px; cursor: pointer; padding: 2px 6px; border-radius: 4px; }
.lga-pres-del:hover { color: #e74c3c; background: #fef2f2; }
.lga-pres-pending { margin-top: 16px; }
.lga-pres-pending h4 { font-size: 14px; color: #A09470; margin-bottom: 8px; }
.lga-pres-pending-item { background: #FFFBF0; border: 1px solid #E8D5A3; border-radius: 8px; padding: 12px 16px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lga-pres-pending-item strong { flex: 1; font-size: 14px; }
.lga-pres-pending-item .lga-btn { font-size: 12px; padding: 4px 12px; }

body.lga-dark .lga-pres-form { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-pres-form input,
body.lga-dark .lga-pres-form select,
body.lga-dark .lga-pres-form textarea { background: #1A1D27; border-color: #333; color: #ddd; }
body.lga-dark .lga-pres-timeline::before { background: #333; }
body.lga-dark .lga-pres-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-pres-dot { border-color: #1A1D27; box-shadow: 0 0 0 2px #333; }
body.lga-dark .lga-pres-desc { color: #aaa; }
body.lga-dark .lga-pres-del:hover { background: #2a1a1a; }
body.lga-dark .lga-pres-pending-item { background: #1E1B14; border-color: #3D3520; }

/* ─── Memory Wall ─── */
.lga-memory-submit { margin-bottom: 20px; }
.lga-memory-submit textarea { width: 100%; padding: 12px 14px; border: 1px solid #d0d5dd; border-radius: 10px; font-size: 14px; font-family: inherit; resize: vertical; background: #fff; }
.lga-memory-submit textarea:focus { border-color: var(--dusty-blue, #8899AA); outline: none; box-shadow: 0 0 0 3px rgba(136,153,170,0.15); }
.lga-memory-submit .lga-btn { margin-top: 8px; }
.lga-memory-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.lga-memory-card { background: var(--card, #fff); border: 1px solid var(--cardBorder, #e0e0e0); border-radius: 12px; padding: 18px; position: relative; transition: box-shadow 0.2s, opacity 0.2s; }
.lga-memory-delete {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 2px 8px;
    border-radius: 999px;
    transition: all .2s;
    z-index: 2;
}
.lga-memory-delete:hover { background: rgba(239,68,68,.1); color: #EF4444; }
.lga-memory-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.lga-memory-text { font-size: 14px; line-height: 1.6; color: #444; font-style: italic; margin-bottom: 12px; }
.lga-memory-text::before { content: '\201C'; font-size: 28px; color: var(--dusty-blue, #8899AA); font-family: 'Playfair Display', serif; line-height: 0; vertical-align: -8px; margin-right: 2px; }
.lga-memory-footer { display: flex; align-items: center; justify-content: space-between; }
.lga-memory-author { display: flex; align-items: center; gap: 8px; }
.lga-memory-author img { width: 28px; height: 28px; border-radius: 50%; }
.lga-memory-author span { font-size: 12px; color: #888; }
.lga-memory-vote { background: none; border: 1px solid #e0e0e0; border-radius: 999px; padding: 4px 12px; font-size: 13px; cursor: pointer; color: #888; transition: all 0.2s; display: flex; align-items: center; gap: 4px; }
.lga-memory-vote:hover { border-color: #e74c3c; color: #e74c3c; }
.lga-memory-vote.is-voted { background: #fef2f2; border-color: #e74c3c; color: #e74c3c; }

body.lga-dark .lga-memory-submit textarea { background: #1A1D27; border-color: #333; color: #ddd; }
body.lga-dark .lga-memory-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-memory-text { color: #ccc; }
body.lga-dark .lga-memory-vote { border-color: #333; color: #777; }
body.lga-dark .lga-memory-vote:hover { border-color: #e74c3c; color: #e74c3c; }
body.lga-dark .lga-memory-vote.is-voted { background: #2a1a1a; border-color: #e74c3c; }

/* ─── Game DNA Fingerprint ─── */
.lga-dna-wrap { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.lga-dna-chart { flex: 1; min-width: 280px; display: flex; justify-content: center; }
.lga-dna-chart svg { max-width: 100%; height: auto; }
.lga-dna-vote { flex: 1; min-width: 260px; background: var(--card, #fff); border: 1px solid var(--cardBorder, #e0e0e0); border-radius: 12px; padding: 20px; }
.lga-dna-vote h4 { margin: 0 0 14px; font-size: 15px; font-weight: 600; }
.lga-dna-slider-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.lga-dna-slider-row label { min-width: 90px; font-size: 13px; font-weight: 500; color: #555; }
.lga-dna-slider { flex: 1; accent-color: var(--dusty-blue, #8899AA); }
.lga-dna-slider-val { min-width: 24px; text-align: center; font-size: 13px; font-weight: 600; color: var(--dusty-blue, #8899AA); }
.lga-dna-vote .lga-btn { margin-top: 8px; }

body.lga-dark .lga-dna-vote { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-dna-slider-row label { color: #aaa; }

@media (max-width: 640px) {
    .lga-dna-wrap { flex-direction: column; }
    .lga-dna-chart { min-width: unset; width: 100%; }
    .lga-dna-vote { min-width: unset; width: 100%; }
}

/* ─── Revival Campaign ─── */
.lga-campaign-section { padding: 40px 0; }
.lga-campaign-card { background: var(--card, #fff); border: 1px solid var(--cardBorder, #e0e0e0); border-radius: 14px; padding: 28px; max-width: 600px; margin: 0 auto; text-align: center; }
.lga-campaign-badge { display: inline-block; background: linear-gradient(135deg, #708878, #8899AA); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; margin-bottom: 12px; }
.lga-campaign-title { font-family: 'Playfair Display', serif; font-size: 22px; margin: 0 0 8px; }
.lga-campaign-desc { font-size: 14px; color: #555; line-height: 1.5; margin: 0 0 18px; }
.lga-campaign-bar { background: #e9ecef; border-radius: 999px; height: 12px; overflow: hidden; margin-bottom: 10px; }
.lga-campaign-fill { height: 100%; background: linear-gradient(90deg, var(--sage, #708878), var(--dusty-blue, #8899AA)); border-radius: 999px; transition: width 0.5s ease; min-width: 2%; }
.lga-campaign-stats { font-size: 13px; color: #888; margin-bottom: 16px; }
.lga-campaign-stats strong { color: #333; }
.lga-campaign-supported { display: inline-block; color: var(--sage, #708878); font-size: 13px; font-weight: 600; margin-top: 8px; }
.lga-campaign-by { display: block; font-size: 11px; color: #aaa; margin-top: 12px; }
.lga-campaign-start { margin: 20px; text-align: center; }
.lga-campaign-start p { font-size: 13px; color: #888; margin-bottom: 8px; }
#lga-campaign-form input[type="text"],
#lga-campaign-form textarea { width: 100%; padding: 8px 12px; border: 1px solid #d0d5dd; border-radius: 8px; font-size: 14px; font-family: inherit; margin-bottom: 8px; background: #fff; }
#lga-campaign-form textarea { resize: vertical; }
#lga-campaign-form input[type="number"] { width: 120px; padding: 8px 12px; border: 1px solid #d0d5dd; border-radius: 8px; font-size: 14px; margin-bottom: 8px; }
#lga-campaign-form label { display: block; font-size: 12px; font-weight: 600; color: #555; margin-bottom: 4px; margin-top: 8px; }

body.lga-dark .lga-campaign-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-campaign-desc { color: #aaa; }
body.lga-dark .lga-campaign-bar { background: #2a2d35; }
body.lga-dark .lga-campaign-stats strong { color: #ddd; }
body.lga-dark #lga-campaign-form input,
body.lga-dark #lga-campaign-form textarea { background: #1A1D27; border-color: #333; color: #ddd; }

@media (max-width: 768px) {
    .lga-pres-header { flex-direction: column; gap: 8px; align-items: flex-start; }
    .lga-memory-wall { grid-template-columns: 1fr; }
    .lga-campaign-card { padding: 20px; }
    .lga-campaign-title { font-size: 18px; }
}

/* ─── Lost Lore Wiki ─── */
.lga-lore-header { margin-bottom: 18px; }
.lga-lore-header h2 { font-family: 'Playfair Display', serif; font-size: 24px; margin: 0 0 4px; }
.lga-lore-subtitle { font-size: 14px; color: #888; margin: 0 0 12px; }
.lga-lore-header .lga-btn { float: right; margin-top: -36px; }
.lga-lore-form { background: var(--card, #fff); border: 1px solid var(--cardBorder, #e0e0e0); border-radius: 12px; padding: 20px; margin-bottom: 24px; }
.lga-lore-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 12px; }
.lga-lore-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: #555; }
.lga-lore-form input,
.lga-lore-form select,
.lga-lore-form textarea { width: 100%; padding: 8px 12px; border: 1px solid #d0d5dd; border-radius: 8px; font-size: 14px; font-family: inherit; background: #fff; }
.lga-lore-form textarea { resize: vertical; }
.lga-lore-charcount { font-size: 12px; color: #aaa; }
.lga-lore-filters { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.lga-lore-filter { background: none; border: 1px solid #d0d5dd; border-radius: 999px; padding: 5px 14px; font-size: 13px; cursor: pointer; color: #666; transition: all 0.2s; }
.lga-lore-filter:hover { border-color: var(--dusty-blue, #8899AA); color: var(--dusty-blue, #8899AA); }
.lga-lore-filter.is-active { background: var(--dusty-blue, #8899AA); border-color: var(--dusty-blue, #8899AA); color: #fff; }
.lga-lore-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.lga-lore-card { background: var(--card, #fff); border: 1px solid var(--cardBorder, #e0e0e0); border-radius: 12px; padding: 18px; transition: box-shadow 0.2s; }
.lga-lore-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.lga-lore-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.lga-lore-cat-badge { font-size: 11px; font-weight: 600; color: var(--dusty-blue, #8899AA); text-transform: uppercase; letter-spacing: 0.5px; }
.lga-lore-del { background: none; border: none; color: #ccc; font-size: 18px; cursor: pointer; padding: 2px 6px; border-radius: 4px; }
.lga-lore-del:hover { color: #e74c3c; background: #fef2f2; }
.lga-lore-card-title { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.lga-lore-card-body { font-size: 13px; color: #555; line-height: 1.6; margin: 0 0 12px; }
.lga-lore-card-foot { display: flex; align-items: center; justify-content: space-between; }
.lga-lore-author { font-size: 11px; color: #aaa; }
.lga-lore-vote { background: none; border: 1px solid #e0e0e0; border-radius: 999px; padding: 3px 10px; font-size: 13px; cursor: pointer; color: #A09470; transition: all 0.2s; }
.lga-lore-vote:hover { border-color: #A09470; background: #FFFBF0; }
.lga-lore-vote.is-voted { background: #FFFBF0; border-color: #A09470; }

body.lga-dark .lga-lore-form { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-lore-form input,
body.lga-dark .lga-lore-form select,
body.lga-dark .lga-lore-form textarea { background: #1A1D27; border-color: #333; color: #ddd; }
body.lga-dark .lga-lore-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-lore-card-body { color: #bbb; }
body.lga-dark .lga-lore-filter { border-color: #333; color: #999; }
body.lga-dark .lga-lore-filter.is-active { background: var(--dusty-blue, #8899AA); border-color: var(--dusty-blue, #8899AA); color: #fff; }
body.lga-dark .lga-lore-vote { border-color: #333; }
body.lga-dark .lga-lore-vote:hover,
body.lga-dark .lga-lore-vote.is-voted { background: #1E1B14; border-color: #A09470; }

/* ─── Game Soundtrack ─── */
.lga-soundtrack-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.lga-soundtrack-header h2 { font-family: 'Playfair Display', serif; font-size: 24px; margin: 0; }
.lga-track-form { background: var(--card, #fff); border: 1px solid var(--cardBorder, #e0e0e0); border-radius: 12px; padding: 20px; margin-bottom: 24px; }
.lga-track-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lga-track-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: #555; }
.lga-track-form input { width: 100%; padding: 8px 12px; border: 1px solid #d0d5dd; border-radius: 8px; font-size: 14px; font-family: inherit; background: #fff; }
.lga-soundtrack-list { display: flex; flex-direction: column; gap: 12px; }
.lga-track-card { background: var(--card, #fff); border: 1px solid var(--cardBorder, #e0e0e0); border-radius: 10px; overflow: hidden; display: flex; align-items: stretch; }
.lga-track-embed { width: 200px; min-height: 112px; flex-shrink: 0; }
.lga-track-embed iframe { width: 100%; height: 100%; display: block; }
.lga-track-info { flex: 1; padding: 14px 18px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.lga-track-platform { font-size: 11px; font-weight: 600; color: var(--dusty-blue, #8899AA); text-transform: uppercase; letter-spacing: 0.5px; }
.lga-track-title { font-size: 15px; font-weight: 600; color: #333; text-decoration: none; }
.lga-track-title:hover { color: var(--dusty-blue, #8899AA); }
.lga-track-by { font-size: 11px; color: #aaa; }
.lga-track-del { background: none; border: none; color: #ccc; font-size: 20px; cursor: pointer; padding: 0 14px; align-self: stretch; display: flex; align-items: center; }
.lga-track-del:hover { color: #e74c3c; background: #fef2f2; }

body.lga-dark .lga-soundtrack-section { background: #12141C !important; }
body.lga-dark .lga-track-form { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-track-form input { background: #1A1D27; border-color: #333; color: #ddd; }
body.lga-dark .lga-track-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-track-title { color: #ddd; }

/* ─── Game Connections ─── */
.lga-reviews-sidebar #connections { padding: 12px 14px; margin: 20px 0; }
.lga-conn-header { margin-bottom: 18px; }
.lga-conn-header h2 { font-family: 'Playfair Display', serif; font-size: 24px; margin: 0 0 4px; }
.lga-conn-subtitle { font-size: 14px; color: #888; margin: 0 0 12px; }
.lga-conn-header .lga-btn { float: right; margin-top: -36px; }
.lga-conn-form { background: var(--card, #fff); border: 1px solid var(--cardBorder, #e0e0e0); border-radius: 12px; padding: 20px; margin-bottom: 24px; }
.lga-conn-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lga-conn-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: #555; }
.lga-conn-form input,
.lga-conn-form select { width: 100%; padding: 8px 12px; border: 1px solid #d0d5dd; border-radius: 8px; font-size: 14px; font-family: inherit; background: #fff; }
.lga-conn-results { position: absolute; background: #fff; border: 1px solid #d0d5dd; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.12); max-height: 200px; overflow-y: auto; z-index: 50; width: calc(100% - 2px); margin-top: 2px; }
.lga-conn-form-grid > div:first-child { position: relative; }
.lga-conn-result { display: flex; align-items: center; gap: 10px; padding: 8px 12px; cursor: pointer; font-size: 14px; }
.lga-conn-result:hover { background: #F0F4F8; }
.lga-conn-result img { width: 32px; height: 32px; border-radius: 4px; object-fit: cover; }
.lga-conn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.lga-conn-card { display: flex; align-items: center; gap: 12px; background: var(--card, #fff); border: 1px solid var(--cardBorder, #e0e0e0); border-radius: 10px; padding: 12px 16px; text-decoration: none; color: inherit; transition: box-shadow 0.2s; position: relative; }
.lga-conn-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.lga-conn-thumb { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.lga-conn-no-thumb { background: #F0F4F8; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.lga-conn-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.lga-conn-type-badge { font-size: 10px; font-weight: 600; color: var(--sage, #708878); text-transform: uppercase; letter-spacing: 0.5px; }
.lga-conn-name { font-size: 14px; font-weight: 600; color: #333; }
.lga-conn-del { position: absolute; top: 4px; right: 6px; background: none; border: none; color: #ccc; font-size: 16px; cursor: pointer; padding: 2px 6px; border-radius: 4px; }
.lga-conn-del:hover { color: #e74c3c; background: #fef2f2; }

body.lga-dark .lga-conn-form { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-conn-form input,
body.lga-dark .lga-conn-form select { background: #1A1D27; border-color: #333; color: #ddd; }
body.lga-dark .lga-conn-results { background: #1A1D27; border-color: #333; }
body.lga-dark .lga-conn-result:hover { background: #22252E; }
body.lga-dark .lga-conn-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-conn-name { color: #ddd; }
body.lga-dark .lga-conn-no-thumb { background: #1A1D27; }

/* ─── Community Challenges ─── */
.lga-challenges-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.lga-challenges-grid-sm { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.lga-challenge-card { background: var(--card, #fff); border: 1px solid var(--cardBorder, #e0e0e0); border-radius: 12px; padding: 18px; transition: box-shadow 0.2s; }
.lga-challenge-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.lga-challenge-card.is-completed { border-color: var(--sage, #708878); }
.lga-challenge-type { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--mustard, #A09470); margin-bottom: 6px; }
.lga-challenge-name { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.lga-challenge-desc { font-size: 13px; color: #666; line-height: 1.5; margin: 0 0 12px; }
.lga-challenge-bar { background: #e9ecef; border-radius: 999px; height: 8px; overflow: hidden; margin-bottom: 8px; }
.lga-challenge-fill { height: 100%; background: linear-gradient(90deg, var(--mustard, #A09470), var(--sage, #708878)); border-radius: 999px; transition: width 0.5s ease; min-width: 2%; }
.lga-challenge-card.is-completed .lga-challenge-fill { background: var(--sage, #708878); }
.lga-challenge-meta { display: flex; justify-content: space-between; font-size: 12px; color: #888; }
.lga-challenge-reward { font-weight: 600; color: var(--mustard, #A09470); }
.lga-challenge-claimed { display: inline-block; font-size: 12px; color: var(--sage, #708878); font-weight: 600; margin-top: 6px; }

body.lga-dark .lga-challenge-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-challenge-card.is-completed { border-color: var(--sage, #708878); }
body.lga-dark .lga-challenge-desc { color: #aaa; }
body.lga-dark .lga-challenge-bar { background: #2a2d35; }
body.lga-dark .lga-challenge-meta { color: #999; }

/* ── Dark mode: game page sections (lore, soundtracks, connections, preservation, memories, campaigns) ── */
body.lga-dark .lga-avatar-upload:hover { background: var(--bg-card, #1E2028); }
body.lga-dark .lga-campaign-by { color: #888; }
body.lga-dark .lga-campaign-stats { color: #999; }
body.lga-dark .lga-campaign-start p { color: #999; }
body.lga-dark .lga-lore-author { color: #888; }
body.lga-dark .lga-lore-charcount { color: #888; }
body.lga-dark .lga-lore-filter { border-color: #444; color: #999; }
body.lga-dark .lga-lore-filter:hover { border-color: var(--dusty-blue); color: var(--dusty-blue); }
body.lga-dark .lga-track-by { color: #888; }
body.lga-dark .lga-pres-by { color: #888; }
body.lga-dark .lga-pres-date { color: #999; }
body.lga-dark .lga-memory-author span { color: #999; }
body.lga-dark .lga-memory-vote { border-color: #444; color: #999; }
body.lga-dark .lga-conn-subtitle { color: #999; }
body.lga-dark .lga-rating-text { color: #999; }
body.lga-dark .lga-field-hint { color: #888; }
body.lga-dark .lga-lfg-form label { color: #ddd; }

@media (max-width: 768px) {
    .lga-lore-header .lga-btn { float: none; margin-top: 0; }
    .lga-lore-form-grid { grid-template-columns: 1fr; }
    .lga-lore-grid { grid-template-columns: 1fr; }
    .lga-track-form-grid { grid-template-columns: 1fr; }
    .lga-track-card { flex-direction: column; }
    .lga-track-embed { width: 100%; min-height: 180px; }
    .lga-conn-header .lga-btn { float: none; margin-top: 0; }
    .lga-conn-form-grid { grid-template-columns: 1fr; }
    .lga-conn-grid { grid-template-columns: 1fr 1fr; }
    .lga-challenges-grid { grid-template-columns: 1fr; }
}

/* ─── LFG Enhancements ─── */
.lga-lfg-title { text-decoration: none; color: #0f172a; font-weight: 600; font-size: 16px; }
.lga-lfg-title:hover { color: var(--dusty-blue, #8899AA); }
.lga-lfg-resp-count { font-size: 12px; color: var(--dusty-blue, #8899AA); font-weight: 600; }

/* LFG Responses */
.lga-lfg-responses-section { margin-top: 20px; }
.lga-lfg-resp-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; border-radius: 999px; background: var(--dusty-blue, #8899AA); color: #fff; font-size: 12px; font-weight: 700; margin-left: 8px; padding: 0 6px; }
.lga-lfg-respond-hint { font-size: 13px; color: #888; margin-bottom: 12px; line-height: 1.5; }
.lga-lfg-respond-hint a { color: var(--dusty-blue, #8899AA); font-weight: 600; }
.lga-lfg-respond-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #d0d5dd; border-radius: 10px; font-size: 14px; font-family: inherit; resize: vertical; background: #fff; }
.lga-lfg-respond-form textarea:focus { border-color: var(--dusty-blue, #8899AA); outline: none; box-shadow: 0 0 0 3px rgba(136,153,170,0.15); }
.lga-lfg-respond-charcount { font-size: 12px; color: #aaa; }
.lga-lfg-responses-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.lga-lfg-response { background: #F8FAFC; border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px 16px; }
.lga-lfg-response.is-accepted { border-color: var(--sage, #708878); background: #F0F8F4; }
.lga-lfg-response.is-declined { opacity: 0.5; }
.lga-lfg-response-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.lga-lfg-response-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.lga-lfg-response-info { flex: 1; }
.lga-lfg-response-name { font-size: 14px; font-weight: 600; color: #333; text-decoration: none; display: block; }
.lga-lfg-response-name:hover { color: var(--dusty-blue, #8899AA); }
.lga-lfg-response-time { font-size: 11px; color: #aaa; }
.lga-lfg-response-status { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 10px; border-radius: 999px; }
.lga-lfg-response.is-accepted .lga-lfg-response-status { background: #DEF7EC; color: #065F46; }
.lga-lfg-response.is-declined .lga-lfg-response-status { background: #FEE2E2; color: #991B1B; }
.lga-lfg-response-body { font-size: 14px; color: #444; line-height: 1.6; }
.lga-lfg-response-actions { display: flex; gap: 8px; margin-top: 10px; }

body.lga-dark .lga-lfg-title { color: #fff; }
body.lga-dark .lga-lfg-respond-form textarea { background: var(--bg); border-color: var(--border); color: var(--text); }
body.lga-dark .lga-lfg-response { background: var(--bg); border-color: var(--border); }
body.lga-dark .lga-lfg-response.is-accepted { background: #0F1F17; border-color: #22543D; }
body.lga-dark .lga-lfg-response-name { color: var(--text); }
body.lga-dark .lga-lfg-response-body { color: var(--text); }
body.lga-dark .lga-lfg-respond-hint { color: var(--text-muted); }

/* ═══════════════════════════════════════
   SINGLE EVENT v3 — Big Hero + Split-Flap
   ═══════════════════════════════════════ */

/* ── Hero (full-width) ── */
.lga-ev3-hero {
    position: relative; width: 100%; min-height: 380px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 60%, #475569 100%);
    background-size: cover; background-position: center;
    display: flex; align-items: flex-end;
    overflow: hidden;
}
.lga-ev3-hero.has-banner { min-height: 420px; }
.lga-ev3-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top,
        rgba(0,0,0,.82) 0%,
        rgba(0,0,0,.55) 35%,
        rgba(0,0,0,.2) 65%,
        rgba(0,0,0,.05) 100%
    );
    z-index: 1;
}
.lga-ev3-hero-inner {
    position: relative; z-index: 2;
    padding: 60px 0 56px;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
}
.lga-ev3-badge {
    display: inline-block; padding: 5px 16px; border-radius: 999px;
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .14em; margin-bottom: 14px;
}
.lga-ev3-badge.upcoming { background: rgba(74,222,128,.18); color: #4ade80; border: 1px solid rgba(74,222,128,.3); }
.lga-ev3-badge.past { background: rgba(148,163,184,.2); color: #94a3b8; border: 1px solid rgba(148,163,184,.3); }
.lga-ev3-title {
    font-family: var(--font-serif, 'Playfair Display', serif);
    font-size: 44px; font-weight: 700; color: #fff;
    margin: 0 0 10px; line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
    max-width: 780px;
}
.lga-ev3-game-tag {
    display: inline-block; padding: 4px 14px; border-radius: 999px;
    background: rgba(255,255,255,.12); color: rgba(255,255,255,.85);
    font-size: 12px; font-weight: 600; text-decoration: none;
    border: 1px solid rgba(255,255,255,.15);
    margin-bottom: 20px; transition: background .2s;
}
.lga-ev3-game-tag:hover { background: rgba(255,255,255,.2); color: #fff; }
.lga-ev3-ended {
    font-size: 15px; color: rgba(255,255,255,.6);
    font-weight: 600; margin-top: 8px;
}

/* ── Split-Flap Countdown (Solari Board) ── */
.lga-flap-wrap {
    display: inline-flex; align-items: flex-start; gap: 6px;
    margin-top: 4px;
}
.lga-flap-unit {
    display: flex; flex-direction: column; align-items: center;
}
.lga-flap-card {
    position: relative; width: 72px; height: 80px;
    perspective: 300px;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow:
        0 2px 6px rgba(0,0,0,.45),
        0 8px 20px rgba(0,0,0,.3),
        inset 0 1px 0 rgba(255,255,255,.08);
}
/* Top and bottom halves */
.lga-flap-card::before,
.lga-flap-card::after {
    content: ''; position: absolute; left: 0; right: 0; height: 50%;
    pointer-events: none;
}
.lga-flap-card::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,.06) 0%, transparent 100%);
    border-bottom: 1px solid rgba(0,0,0,.4);
    z-index: 3;
}
.lga-flap-card::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,.15) 0%, transparent 100%);
    z-index: 3;
}
/* The center split line (mechanical gap) */
.lga-flap-num {
    position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    font-size: 40px; font-weight: 800;
    color: #e0e0e0;
    font-variant-numeric: tabular-nums;
    font-family: 'Inter', 'SF Mono', 'Consolas', monospace;
    letter-spacing: .05em;
    text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
/* Flip animation */
@keyframes flapFlip {
    0% { transform: rotateX(0deg); }
    50% { transform: rotateX(-90deg); }
    51% { transform: rotateX(90deg); }
    100% { transform: rotateX(0deg); }
}
.lga-flap-card.flap-flip .lga-flap-num {
    animation: flapFlip .35s ease-in-out;
    transform-origin: center center;
}
/* Separator colon */
.lga-flap-sep {
    font-size: 32px; font-weight: 800; color: rgba(255,255,255,.5);
    line-height: 80px; margin: 0 2px;
    text-shadow: 0 0 10px rgba(255,255,255,.15);
}
/* Label under each card */
.lga-flap-label {
    display: block; margin-top: 8px;
    font-size: 9px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .18em; color: rgba(255,255,255,.45);
}

/* ── Info Strip (overlaps hero bottom) ── */
.lga-ev3-info-strip {
    position: relative; z-index: 3;
    margin-top: -36px;
    padding: 0 0 24px;
}
.lga-ev3-info-card {
    background: rgba(248,252,255,.88);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-radius: 18px; padding: 20px 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
    border: 1px solid rgba(255,255,255,.6);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.lga-ev3-info-items {
    display: flex; flex-wrap: wrap; gap: 12px 28px;
}
.lga-ev3-info-item {
    display: flex; align-items: center; gap: 10px;
    color: #475569;
}
.lga-ev3-info-item svg { flex-shrink: 0; color: var(--dusty-blue, #8899AA); }
.lga-ev3-info-label {
    font-size: 9px; text-transform: uppercase; letter-spacing: .14em;
    color: var(--dusty-blue, #8899AA); font-weight: 700;
}
.lga-ev3-info-val { font-size: 14px; font-weight: 600; color: #1e293b; }
.lga-ev3-info-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ── Content Grid ── */
.lga-ev3-content { padding: 12px 0 48px; }
.lga-ev3-grid {
    display: grid; grid-template-columns: 1fr 320px;
    gap: 24px; align-items: start;
}
.lga-ev3-main {}
.lga-ev3-main h2 {
    font-family: var(--font-serif, 'Playfair Display', serif);
    font-size: 22px; font-weight: 700; margin: 0 0 14px;
}

/* ── Sidebar ── */
.lga-ev3-sidebar {
    display: flex; flex-direction: column; gap: 16px;
    position: sticky; top: 80px;
}
.lga-ev3-side-card {
    background: var(--card, #fff);
    border: 1px solid var(--cardBorder, #e2e8f0);
    border-radius: 14px; padding: 16px;
}
.lga-ev3-side-label {
    font-size: 10px; text-transform: uppercase; letter-spacing: .14em;
    color: var(--text-muted, #94a3b8); font-weight: 700; margin-bottom: 12px;
}

/* Session Host */
.lga-ev3-host { display: flex; align-items: center; gap: 12px; }
.lga-ev3-host-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.lga-ev3-host-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.lga-ev3-role-badge {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    background: rgba(136,153,170,.1); border: 1px solid rgba(136,153,170,.25);
    color: var(--dusty-blue, #8899AA);
}

/* Quick Stats */
.lga-ev3-qstats { display: flex; gap: 16px; }
.lga-ev3-qstat { text-align: center; flex: 1; }
.lga-ev3-qstat-num {
    display: block; font-size: 28px; font-weight: 800; color: var(--text, #1e293b);
    line-height: 1; font-variant-numeric: tabular-nums;
}
.lga-ev3-qstat-lbl {
    display: block; font-size: 9px; text-transform: uppercase;
    letter-spacing: .12em; color: var(--text-muted, #94a3b8);
    margin-top: 4px; font-weight: 600;
}

/* Voice Channel */
.lga-ev3-voice {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 600; color: var(--text, #1e293b);
}
.lga-ev3-voice-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74,222,128,.5);
    animation: voicePulse 2s infinite;
}
@keyframes voicePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

/* Other Sessions */
.lga-ev3-others { display: flex; flex-direction: column; gap: 8px; }
.lga-ev3-other {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--text, #1e293b); padding: 8px 10px;
    border-radius: 10px; border: 1px solid var(--cardBorder, #e2e8f0);
    transition: background .15s;
}
.lga-ev3-other:hover { background: rgba(0,0,0,.02); }
.lga-ev3-other-date { text-align: center; min-width: 36px; }
.lga-ev3-other-dow {
    display: block; font-size: 10px; text-transform: uppercase;
    letter-spacing: .08em; color: var(--dusty-blue, #8899AA); font-weight: 700;
}
.lga-ev3-other-day { display: block; font-size: 20px; font-weight: 700; line-height: 1.1; }
.lga-ev3-other-title { font-weight: 600; font-size: 13px; }
.lga-ev3-other-time { font-size: 11px; color: var(--text-muted, #94a3b8); }

/* ── Related Game (bigger card in main column) ── */
.lga-ev3-related-game { margin-top: 24px; }
.lga-ev3-game-big {
    display: flex; align-items: center; gap: 20px;
    text-decoration: none; color: var(--text, #1e293b);
    padding: 16px; border-radius: 14px;
    background: var(--card, #fff);
    border: 1px solid var(--cardBorder, #e2e8f0);
    transition: transform .15s, box-shadow .15s;
}
.lga-ev3-game-big:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.lga-ev3-game-big-img {
    width: 100px; height: 100px; border-radius: 12px;
    object-fit: cover; flex-shrink: 0;
}
.lga-ev3-game-big-info { flex: 1; }
.lga-ev3-game-big-title { font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.lga-ev3-game-big-meta { font-size: 13px; color: var(--text-muted, #94a3b8); }
body.lga-dark .lga-ev3-game-big { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-ev3-game-big:hover { box-shadow: 0 8px 24px rgba(0,0,0,.3); }

/* Related Game (sidebar) */
.lga-ev3-game-card {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--text, #1e293b); font-weight: 600; font-size: 14px;
    padding: 8px; border-radius: 10px; background: rgba(0,0,0,.02);
    transition: background .15s;
}
.lga-ev3-game-card:hover { background: rgba(0,0,0,.05); }
.lga-ev3-game-img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }

/* ── Requirements ── */
.lga-ev3-requirements {
    font-size: 15px; color: var(--text, #1e293b); margin: 20px 0 0; line-height: 1.6;
}
.lga-ev3-requirements strong { font-weight: 700; }

/* ── Roster (frosted glass card under session details) ── */
.lga-ev3-roster-glass {
    margin-top: 28px;
    background: rgba(248,252,255,.72);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-radius: 18px; padding: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
    border: 1px solid rgba(255,255,255,.5);
}
.lga-ev3-roster-label {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .14em; color: var(--dusty-blue, #8899AA);
    margin-bottom: 16px;
}
.lga-ev3-roster-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
    margin-top: 12px;
}
.lga-ev3-roster-card {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; border-radius: 14px;
    border: 1px solid var(--cardBorder, #e2e8f0);
    background: var(--card, #fff);
    transition: background .15s;
}
.lga-ev3-roster-card:hover { background: rgba(0,0,0,.015); }
.lga-ev3-roster-right { display: flex; align-items: center; gap: 8px; }
.lga-ev3-curator-btn {
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(136,153,170,.1); border: 1px solid rgba(136,153,170,.25);
    color: var(--dusty-blue, #8899AA); font-size: 14px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all .15s; line-height: 1;
}
.lga-ev3-curator-btn:hover { background: rgba(136,153,170,.2); }
.lga-ev3-curator-btn.is-curator { background: rgba(220,80,80,.1); border-color: rgba(220,80,80,.25); color: #dc5050; }
.lga-ev3-roster-left { display: flex; align-items: center; gap: 10px; }
.lga-ev3-roster-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.lga-ev3-roster-name { font-weight: 700; font-size: 13px; }
.lga-ev3-roster-status { font-size: 11px; color: var(--text-muted, #94a3b8); }

/* ── Dark Mode ── */
body.lga-dark .lga-ev3-info-card {
    background: rgba(30,35,50,.85);
    border-color: rgba(255,255,255,.08);
}
body.lga-dark .lga-ev3-info-item { color: var(--text-muted); }
body.lga-dark .lga-ev3-info-val { color: var(--text); }
body.lga-dark .lga-ev3-side-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-ev3-roster-glass {
    background: rgba(30,35,50,.7); border-color: rgba(255,255,255,.08);
}
body.lga-dark .lga-ev3-roster-card { background: var(--bg-card); border-color: var(--border); }
body.lga-dark .lga-ev3-roster-card:hover { background: rgba(255,255,255,.03); }
body.lga-dark .lga-ev3-role-badge { background: rgba(136,153,170,.15); border-color: rgba(136,153,170,.25); }
body.lga-dark .lga-ev3-other { border-color: var(--border); }
body.lga-dark .lga-ev3-other:hover { background: rgba(255,255,255,.04); }
body.lga-dark .lga-ev3-game-card { background: rgba(255,255,255,.04); }
body.lga-dark .lga-ev3-game-card:hover { background: rgba(255,255,255,.08); }
body.lga-dark .lga-flap-card {
    background: #0f0f0f;
    box-shadow: 0 2px 6px rgba(0,0,0,.6), 0 8px 20px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .lga-ev3-hero { min-height: 280px; }
    .lga-ev3-hero.has-banner { min-height: 300px; }
    .lga-ev3-hero-inner { padding: 40px 0 44px; }
    .lga-ev3-title { font-size: 28px; }
    .lga-ev3-grid { grid-template-columns: 1fr; }
    .lga-ev3-sidebar { position: static; }
    .lga-ev3-roster-grid { grid-template-columns: 1fr; }
    .lga-ev3-info-card { flex-direction: column; align-items: stretch; }
    .lga-ev3-info-actions { justify-content: center; }
    .lga-flap-card { width: 56px; height: 64px; }
    .lga-flap-num { font-size: 30px; }
    .lga-flap-sep { font-size: 24px; line-height: 64px; }
    .lga-flap-label { font-size: 8px; }
}
@media (max-width: 480px) {
    .lga-ev3-title { font-size: 22px; }
    .lga-flap-card { width: 46px; height: 54px; }
    .lga-flap-num { font-size: 24px; }
    .lga-flap-sep { font-size: 20px; line-height: 54px; }
    .lga-ev3-info-items { gap: 10px 16px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   THE UNIVERSE — Interactive Game Galaxy Star Map
   ═══════════════════════════════════════════════════════════════════════════ */
.lga-universe {
    position: relative;
    width: 100%;
    height: calc(100vh - 64px);
    background: #040608;
    overflow: hidden;
    user-select: none;
}
.lga-universe-canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
}
.lga-universe-canvas:active { cursor: grabbing; }

/* Top bar */
.lga-universe-topbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(180deg, rgba(4,6,8,0.9) 0%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}
.lga-universe-topbar > * { pointer-events: auto; }
.lga-universe-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.lga-universe-title-icon { opacity: 0.7; }
.lga-universe-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-left: auto;
    white-space: nowrap;
}
.lga-universe-stats strong { color: rgba(255,255,255,0.8); }

/* Search */
.lga-universe-search-wrap {
    position: relative;
    flex: 0 1 300px;
}
.lga-universe-search {
    width: 100%;
    padding: 8px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.lga-universe-search::placeholder { color: rgba(255,255,255,0.35); }
.lga-universe-search:focus {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
}
.lga-universe-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: rgba(13,17,23,0.96);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    backdrop-filter: blur(16px);
    overflow: hidden;
    z-index: 20;
}
.lga-universe-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}
.lga-universe-search-item:hover { background: rgba(255,255,255,0.08); }
.lga-universe-search-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.lga-universe-search-meta {
    margin-left: auto;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}
.lga-universe-search-empty {
    padding: 16px;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

/* Zoom controls */
.lga-universe-controls {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 10;
}
.lga-universe-controls button {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.15s;
}
.lga-universe-controls button:hover { background: rgba(255,255,255,0.15); }
.lga-universe-zoom-level {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    padding: 4px 0;
}

/* Legend */
.lga-universe-legend {
    position: absolute;
    bottom: 60px;
    left: 20px;
    z-index: 10;
}
.lga-universe-legend-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s;
}
.lga-universe-legend-toggle:hover { background: rgba(255,255,255,0.15); }
.lga-universe-legend-panel {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: rgba(13,17,23,0.95);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    backdrop-filter: blur(16px);
    padding: 8px 0;
    max-height: 320px;
    overflow-y: auto;
}
.lga-universe-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}
.lga-universe-legend-item:hover { background: rgba(255,255,255,0.06); }
.lga-universe-legend-item.is-active { background: rgba(255,255,255,0.1); color: #fff; }
.lga-universe-legend-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px currentColor;
}
.lga-universe-legend-count {
    margin-left: auto;
    font-size: 11px;
    color: rgba(255,255,255,0.35);
}

/* Tooltip */
.lga-universe-tooltip {
    position: absolute;
    pointer-events: none;
    background: rgba(13,17,23,0.92);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 8px 12px;
    z-index: 15;
    backdrop-filter: blur(12px);
    max-width: 250px;
}
.lga-universe-tooltip-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}
.lga-universe-tooltip-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

/* Game card popup */
.lga-universe-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    background: rgba(13,17,23,0.96);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    z-index: 20;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: universeCardIn 0.25s ease-out;
}
@keyframes universeCardIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.lga-universe-card-close {
    position: absolute;
    top: 10px; right: 10px;
    width: 30px; height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
}
.lga-universe-card-img {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: rgba(255,255,255,0.05);
}
.lga-universe-card-body { padding: 16px; }
.lga-universe-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.lga-universe-card-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}
.lga-universe-card-summary {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    margin: 0 0 14px;
}
.lga-universe-card-link {
    display: inline-flex;
    border-radius: 999px;
}

/* Hint */
.lga-universe-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    z-index: 10;
    pointer-events: none;
    white-space: nowrap;
}

/* Universe responsive */
@media (max-width: 768px) {
    .lga-universe-topbar { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
    .lga-universe-search-wrap { flex: 1 1 100%; order: 10; }
    .lga-universe-stats { font-size: 11px; gap: 10px; }
    .lga-universe-controls { right: 12px; }
    .lga-universe-legend { left: 12px; bottom: 50px; }
    .lga-universe-card { width: calc(100% - 32px); }
    .lga-universe-hint { font-size: 11px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   THE GRAVEYARD — Memorial for Lost & Dead Games
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero */
.lga-graveyard-hero {
    position: relative;
    padding: 80px 20px 100px;
    text-align: center;
    background: linear-gradient(180deg, #0a0c10 0%, #111520 40%, #151a24 100%);
    overflow: hidden;
}
.lga-graveyard-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    display: block;
}
.lga-graveyard-fog {
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(0deg, rgba(21,26,36,1) 0%, rgba(21,26,36,0.8) 30%, rgba(21,26,36,0.3) 60%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}
.lga-graveyard-fog::before {
    content: '';
    position: absolute;
    bottom: 0; left: -10%; right: -10%;
    height: 100px;
    background: radial-gradient(ellipse at 30% 100%, rgba(251,191,36,0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 100%, rgba(239,68,68,0.04) 0%, transparent 60%);
    animation: fogDrift 8s ease-in-out infinite alternate;
}
@keyframes fogDrift {
    0% { transform: translateX(-3%); opacity: 0.7; }
    100% { transform: translateX(3%); opacity: 1; }
}
.lga-graveyard-hero-inner {
    position: relative;
    z-index: 3;
}
.lga-graveyard-icon {
    margin-bottom: 16px;
    color: #fbbf24;
    filter: drop-shadow(0 0 12px rgba(251,191,36,0.4));
    animation: graveyardGlow 3s ease-in-out infinite;
}
@keyframes graveyardGlow {
    0%, 100% { filter: drop-shadow(0 0 12px rgba(251,191,36,0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(251,191,36,0.6)); }
}
.lga-graveyard-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: 1px;
}
.lga-graveyard-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    font-style: italic;
    margin: 0 0 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.lga-graveyard-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.45);
}
.lga-graveyard-hero-stats strong { color: rgba(255,255,255,0.75); }
.lga-graveyard-hero-sep { opacity: 0.3; }

/* Filters */
.lga-graveyard-filters {
    background: #151a24;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lga-graveyard-filter-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.lga-graveyard-filter {
    padding: 7px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.lga-graveyard-filter:hover { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }
.lga-graveyard-filter.is-active {
    background: rgba(251,191,36,0.15);
    border-color: rgba(251,191,36,0.3);
    color: #fbbf24;
}

/* Grid */
.lga-graveyard-grid-section {
    position: relative;
    background: #151a24;
    padding: 40px 0 80px;
    min-height: 400px;
}
.lga-graveyard-grid-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 150px;
    background: linear-gradient(0deg, rgba(10,12,16,0.9) 0%, transparent 100%);
    pointer-events: none;
}
.lga-graveyard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Tombstone card */
.lga-graveyard-stone {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.lga-graveyard-stone:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    border-color: rgba(251,191,36,0.15);
}

/* Stone top (image + candle) */
.lga-graveyard-stone-top {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1f2e 0%, #111520 100%);
}
.lga-graveyard-stone-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(60%) brightness(0.7);
    transition: filter 0.3s;
}
.lga-graveyard-stone:hover .lga-graveyard-stone-img {
    filter: grayscale(30%) brightness(0.85);
}
.lga-graveyard-stone-img-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Candle */
.lga-graveyard-candle-wrap {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 36px;
}
.lga-graveyard-candle {
    position: relative;
    width: 8px;
    height: 20px;
    background: linear-gradient(180deg, #ddd 0%, #bbb 100%);
    border-radius: 2px 2px 0 0;
    margin: 16px auto 0;
}
.lga-graveyard-flame-glow,
.lga-graveyard-flame-inner {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.5s;
}
.lga-graveyard-candle.is-lit .lga-graveyard-flame-glow,
.lga-graveyard-candle.is-lit .lga-graveyard-flame-inner {
    opacity: 1;
}
.lga-graveyard-flame-glow {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(251,191,36,0.6) 0%, transparent 70%);
    border-radius: 50%;
    animation: candleFlicker 2s ease-in-out infinite;
}
.lga-graveyard-flame-inner {
    width: 6px;
    height: 12px;
    background: linear-gradient(0deg, #fbbf24 0%, #f97316 50%, transparent 100%);
    border-radius: 50% 50% 20% 20%;
    animation: candleFlicker 1.5s ease-in-out infinite alternate;
}
@keyframes candleFlicker {
    0%, 100% { transform: translateX(-50%) scaleY(1) scaleX(1); }
    25% { transform: translateX(-50%) scaleY(1.1) scaleX(0.9); }
    50% { transform: translateX(-50%) scaleY(0.95) scaleX(1.05); }
    75% { transform: translateX(-50%) scaleY(1.05) scaleX(0.95); }
}

/* Stone body */
.lga-graveyard-stone-body { padding: 16px; }
.lga-graveyard-stone-name {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 6px;
}
.lga-graveyard-stone-name a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.2s;
}
.lga-graveyard-stone-name a:hover { color: #fbbf24; }
.lga-graveyard-stone-dates {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 6px;
    font-style: italic;
}
.lga-graveyard-stone-cause { color: rgba(255,255,255,0.3); }
.lga-graveyard-stone-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 8px;
}
.lga-graveyard-stone-epitaph {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    margin: 0 0 12px;
}

/* Stone footer */
.lga-graveyard-stone-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.lga-graveyard-light-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.2);
    border-radius: 999px;
    color: #fbbf24;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.lga-graveyard-light-btn:hover {
    background: rgba(251,191,36,0.2);
    border-color: rgba(251,191,36,0.4);
}
.lga-graveyard-light-btn.is-lit {
    background: rgba(251,191,36,0.2);
    border-color: rgba(251,191,36,0.3);
    cursor: default;
}
.lga-graveyard-light-btn:disabled {
    opacity: 0.7;
    cursor: default;
}
.lga-graveyard-candle-count {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* Empty state */
.lga-graveyard-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255,255,255,0.4);
    font-style: italic;
}
.lga-graveyard-empty p { margin: 0 0 8px; }

/* Bottom CTA */
.lga-graveyard-cta {
    background: linear-gradient(180deg, #151a24 0%, #0a0c10 100%);
    padding: 60px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.lga-graveyard-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #fff;
    margin: 0 0 10px;
}
.lga-graveyard-cta p {
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    margin: 0 0 24px;
}

/* Graveyard responsive */
@media (max-width: 768px) {
    .lga-graveyard-hero { padding: 50px 16px 70px; }
    .lga-graveyard-title { font-size: 30px; }
    .lga-graveyard-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 480px) {
    .lga-graveyard-title { font-size: 26px; }
    .lga-graveyard-grid { grid-template-columns: 1fr; }
    .lga-graveyard-hero-stats { flex-direction: column; gap: 6px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   GAME DNA — Radar Chart & Score Bars on Game Pages
   ═══════════════════════════════════════════════════════════════════════════ */
.lga-dna-card { text-align: center; }
.lga-dna-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    letter-spacing: 0.5px;
}
.lga-dna-chart {
    width: 100%;
    max-width: 220px;
    margin: 0 auto 12px;
}
.lga-dna-chart-small-resizable {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    flex: none !important;
    min-width: 0 !important;
}
.lga-dna-scores {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}
.lga-dna-score-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.lga-dna-score-label {
    flex: 0 0 72px;
    font-size: 11px;
    color: #8899AA;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.lga-dna-score-bar {
    flex: 1;
    height: 5px;
    background: rgba(136,153,170,0.12);
    border-radius: 999px;
    overflow: hidden;
}
.lga-dna-score-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 999px;
    transition: width 0.6s ease-out;
}
.lga-dna-score-val {
    flex: 0 0 26px;
    font-size: 11px;
    font-weight: 600;
    color: #667eea;
    text-align: right;
}
/* Dark mode */
body.lga-dark .lga-dna-score-bar { background: rgba(255,255,255,0.08); }

/* ═══════════════════════════════════════════════════════════════════════════
   TIME MACHINE — Immersive Era Browser
   ═══════════════════════════════════════════════════════════════════════════ */
.lga-tm { background: #0a0a0a; }

/* Intro */
.lga-tm-intro {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, #151a24 0%, #0a0a0a 70%);
    overflow: hidden;
}
.lga-tm-intro-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.lga-tm-intro-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
}
.lga-tm-intro-icon {
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
    animation: tmClockPulse 4s ease-in-out infinite;
}
@keyframes tmClockPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.08); opacity: 1; }
}
.lga-tm-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: 1px;
}
.lga-tm-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.45);
    margin: 0 0 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.lga-tm-scroll-hint {
    color: rgba(255,255,255,0.3);
    animation: tmBounce 2s ease-in-out infinite;
}
@keyframes tmBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Era navigation (fixed sidebar dots) */
.lga-tm-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.lga-tm-nav.is-visible { opacity: 1; pointer-events: auto; }
.lga-tm-nav-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
    position: relative;
    text-decoration: none;
}
.lga-tm-nav-dot:hover,
.lga-tm-nav-dot.is-active {
    background: var(--era-color);
    border-color: var(--era-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--era-color);
}
.lga-tm-nav-label {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}
.lga-tm-nav-dot:hover .lga-tm-nav-label { opacity: 1; }

/* Era section */
.lga-tm-era {
    position: relative;
    min-height: 100vh;
    padding: 100px 0 80px;
    background: var(--era-bg);
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.lga-tm-era.is-visible { opacity: 1; transform: translateY(0); }
.lga-tm-era-fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Era-specific visual effects */
.lga-tm-era-phosphor .lga-tm-era-fx {
    background:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(51,255,51,0.015) 2px, rgba(51,255,51,0.015) 4px);
}
.lga-tm-era-phosphor { text-shadow: 0 0 8px rgba(51,255,51,0.3); }

.lga-tm-era-arcade .lga-tm-era-fx {
    background:
        repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(0,0,0,0.08) 1px, rgba(0,0,0,0.08) 2px);
    animation: tmScanlines 0.1s linear infinite;
}
@keyframes tmScanlines {
    0% { background-position: 0 0; }
    100% { background-position: 0 2px; }
}

.lga-tm-era-retro16 .lga-tm-era-fx {
    background:
        radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.3) 100%);
}

.lga-tm-era-cyber .lga-tm-era-fx {
    background:
        linear-gradient(180deg, transparent 97%, rgba(67,233,123,0.05) 97%, transparent 100%);
    background-size: 100% 4px;
}

.lga-tm-era-neon .lga-tm-era-fx {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(161,140,209,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(251,194,235,0.06) 0%, transparent 50%);
}

/* Era inner content */
.lga-tm-era-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.lga-tm-era-header {
    text-align: center;
    margin-bottom: 48px;
}
.lga-tm-era-years {
    display: inline-block;
    padding: 4px 16px;
    border: 1px solid var(--era-color);
    border-radius: 999px;
    color: var(--era-color);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 16px;
    opacity: 0.8;
}
.lga-tm-era-name {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
}
.lga-tm-era-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Game grid */
.lga-tm-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.lga-tm-game-card {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    opacity: 0;
    transform: translateY(20px);
}
.lga-tm-game-card.is-visible { opacity: 1; transform: translateY(0); }
.lga-tm-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 20px color-mix(in srgb, var(--era-color) 15%, transparent);
    border-color: color-mix(in srgb, var(--era-color) 30%, transparent);
}
.lga-tm-game-img {
    width: 100%;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    background-color: rgba(255,255,255,0.03);
}
.lga-tm-game-img-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
}
.lga-tm-game-info { padding: 10px 12px; }
.lga-tm-game-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}
.lga-tm-game-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

/* Era empty state */
.lga-tm-era-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255,255,255,0.35);
    font-style: italic;
}

/* Era footer */
.lga-tm-era-footer {
    text-align: center;
    margin-top: 32px;
}

/* Outro */
.lga-tm-outro {
    background: linear-gradient(180deg, #0a0a0a, #151a24);
    padding: 80px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.lga-tm-outro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    color: #fff;
    margin: 0 0 12px;
}
.lga-tm-outro p {
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    margin: 0 0 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .lga-tm-title { font-size: 34px; }
    .lga-tm-era { padding: 60px 0 50px; }
    .lga-tm-era-name { font-size: 28px; }
    .lga-tm-game-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .lga-tm-nav { right: 10px; gap: 12px; }
    .lga-tm-nav-dot { width: 10px; height: 10px; }
}
@media (max-width: 480px) {
    .lga-tm-title { font-size: 28px; }
    .lga-tm-era-name { font-size: 24px; }
    .lga-tm-game-grid { grid-template-columns: 1fr 1fr; }
    .lga-tm-nav-label { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SIGNAL FLARE — Collaborative Lost Game Recovery
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero */
.lga-flare-hero {
    position: relative;
    padding: 70px 20px 80px;
    text-align: center;
    background: linear-gradient(180deg, #1a0f0a 0%, #F4F6F8 100%);
    overflow: hidden;
}
.lga-flare-hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: flareGlow 4s ease-in-out infinite;
}
@keyframes flareGlow {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}
.lga-flare-hero-inner { position: relative; z-index: 2; }
.lga-flare-hero-icon {
    color: #f59e0b;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 12px rgba(245,158,11,0.4));
}
.lga-flare-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}
.lga-flare-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.55);
    margin: 0 0 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.lga-flare-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}
.lga-flare-hero-stats strong { color: rgba(255,255,255,0.7); }

/* Layout */
.lga-flare-layout { padding: 32px 0 60px; }
.lga-flare-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}

/* Flare cards */
.lga-flare-main { display: flex; flex-direction: column; gap: 20px; }
.lga-flare-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.lga-flare-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.lga-flare-status-found { border-left: 4px solid #22c55e; }
.lga-flare-status-cold { opacity: 0.65; }

.lga-flare-card-header { padding: 16px 20px 0; }
.lga-flare-card-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.lga-flare-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.lga-flare-badge-active { background: rgba(245,158,11,0.12); color: #d97706; }
.lga-flare-badge-found { background: rgba(34,197,94,0.12); color: #16a34a; }
.lga-flare-badge-cold { background: rgba(107,114,128,0.12); color: #6b7280; }
.lga-flare-era {
    font-size: 11px;
    color: #8899AA;
    background: rgba(136,153,170,0.08);
    padding: 2px 8px;
    border-radius: 999px;
}

.lga-flare-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 6px;
}
.lga-flare-card-meta {
    font-size: 12px;
    color: #8899AA;
    display: flex;
    gap: 6px;
}

.lga-flare-card-body { padding: 12px 20px; }
.lga-flare-card-desc {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin: 0;
}
.lga-flare-card-clues {
    margin-top: 12px;
    padding: 12px 14px;
    background: rgba(245,158,11,0.06);
    border-left: 3px solid rgba(245,158,11,0.3);
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: #555;
}
.lga-flare-card-clues strong { color: #d97706; }
.lga-flare-card-clues p { margin: 4px 0 0; }

/* Response thread */
.lga-flare-thread {
    border-top: 1px solid #f0f0f0;
    padding: 12px 20px;
}
.lga-flare-thread-title {
    font-size: 13px;
    font-weight: 600;
    color: #8899AA;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
}
.lga-flare-response {
    padding: 10px 12px;
    margin-bottom: 8px;
    background: rgba(136,153,170,0.04);
    border-radius: 10px;
    border-left: 3px solid #E5E7EB;
}
.lga-flare-resp-clue { border-left-color: #3b82f6; }
.lga-flare-resp-link { border-left-color: #8b5cf6; }
.lga-flare-resp-memory { border-left-color: #ec4899; }
.lga-flare-resp-identification { border-left-color: #22c55e; }

.lga-flare-resp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 12px;
}
.lga-flare-resp-type { font-weight: 600; color: #555; }
.lga-flare-resp-author { color: #8899AA; }
.lga-flare-resp-time { color: #bbb; margin-left: auto; }
.lga-flare-resp-text {
    font-size: 13px;
    color: #444;
    line-height: 1.5;
    margin: 0;
}

/* Actions bar */
.lga-flare-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-top: 1px solid #f0f0f0;
}
.lga-flare-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.15);
    border-radius: 999px;
    color: #d97706;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.lga-flare-vote-btn:hover:not(:disabled) { background: rgba(245,158,11,0.15); }
.lga-flare-vote-btn.is-voted { background: rgba(245,158,11,0.2); cursor: default; }
.lga-flare-vote-btn:disabled { opacity: 0.5; cursor: default; }

.lga-flare-respond-toggle {
    padding: 5px 14px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.15);
    border-radius: 999px;
    color: #3b82f6;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.lga-flare-respond-toggle:hover { background: rgba(59,130,246,0.15); }

.lga-flare-found-btn {
    padding: 5px 14px;
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.15);
    border-radius: 999px;
    color: #16a34a;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.lga-flare-cold-btn {
    padding: 5px 14px;
    background: rgba(107,114,128,0.08);
    border: 1px solid rgba(107,114,128,0.15);
    border-radius: 999px;
    color: #6b7280;
    font-size: 12px;
    cursor: pointer;
}

/* Response form */
.lga-flare-respond-form {
    padding: 12px 20px 16px;
    border-top: 1px solid #f0f0f0;
}
.lga-flare-resp-types {
    display: flex;
    gap: 14px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #555;
}
.lga-flare-resp-types input { margin-right: 4px; }
.lga-flare-respond-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 13px;
    resize: vertical;
    margin-bottom: 8px;
}

/* Sidebar */
.lga-flare-sidebar { display: flex; flex-direction: column; gap: 20px; }
.lga-flare-submit-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 20px;
}
.lga-flare-submit-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    margin: 0 0 6px;
    color: #1a1a2e;
}
.lga-flare-submit-card p {
    font-size: 13px;
    color: #8899AA;
    margin: 0 0 14px;
}
.lga-flare-submit-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
    margin-top: 10px;
}
.lga-flare-submit-form input[type="text"],
.lga-flare-submit-form textarea,
.lga-flare-submit-form select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 13px;
}

.lga-flare-tips-card {
    background: rgba(245,158,11,0.04);
    border: 1px solid rgba(245,158,11,0.12);
    border-radius: 16px;
    padding: 16px 20px;
}
.lga-flare-tips-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #d97706;
    margin: 0 0 10px;
}
.lga-flare-tips-card ul {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

/* Empty state */
.lga-flare-empty {
    text-align: center;
    padding: 60px 20px;
    color: #8899AA;
    font-style: italic;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
}

/* Dark mode */
body.lga-dark .lga-flare-card { background: #1a1f2e; border-color: rgba(255,255,255,0.08); }
body.lga-dark .lga-flare-card-title { color: #fff; }
body.lga-dark .lga-flare-card-desc { color: rgba(255,255,255,0.7); }
body.lga-dark .lga-flare-submit-card { background: #1a1f2e; border-color: rgba(255,255,255,0.08); }
body.lga-dark .lga-flare-submit-card h3 { color: #fff; }
body.lga-dark .lga-flare-thread { border-top-color: rgba(255,255,255,0.06); }
body.lga-dark .lga-flare-response { background: rgba(255,255,255,0.03); }
body.lga-dark .lga-flare-respond-form textarea,
body.lga-dark .lga-flare-submit-form input,
body.lga-dark .lga-flare-submit-form textarea,
body.lga-dark .lga-flare-submit-form select {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: #fff;
}

/* Signal Flare responsive */
@media (max-width: 900px) {
    .lga-flare-grid { grid-template-columns: 1fr; }
    .lga-flare-sidebar { order: -1; }
}
@media (max-width: 480px) {
    .lga-flare-title { font-size: 28px; }
    .lga-flare-hero-stats { flex-wrap: wrap; justify-content: center; }
    .lga-flare-resp-types { flex-wrap: wrap; gap: 8px; }
}

/* Utility */
.lga-text-center { text-align: center; }

/* Spotlight grid */
.lga-spotlight-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px;
}

/* ═══════════════════════════════════════════════
   COLLECTION DROPDOWN
   ═══════════════════════════════════════════════ */
.lga-col-dropdown { position: relative; display: inline-block; }
.lga-col-dropdown-menu {
    position: absolute; top: 100%; left: 0; z-index: 10;
    background: var(--card, #fff);
    border: 1px solid var(--cardBorder, #E5E7EB);
    border-radius: 10px;
    padding: 6px 0;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 4px;
}
.lga-col-item {
    display: block; width: 100%; text-align: left;
    padding: 8px 14px; border: none; background: none;
    cursor: pointer; font-size: 13px;
    color: var(--text, #333);
    transition: background 0.15s;
}
.lga-col-item:hover { background: var(--bg-hover, #F3F4F6); }
body.lga-dark .lga-col-dropdown-menu { background: #1a1f2e; border-color: #333; box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
body.lga-dark .lga-col-item { color: #D1D5DB; }
body.lga-dark .lga-col-item:hover { background: #2a2f3e; }

/* ═══════════════════════════════════════════════
   ALT SECTION BACKGROUND (replaces inline #F8FAFC)
   ═══════════════════════════════════════════════ */
.lga-section-alt { background: #F8FAFC; }
body.lga-dark .lga-section-alt { background: var(--bg-card, #1a1f2e); }

/* ═══════════════════════════════════════════════
   DARK MODE BATCH — SINGLE-GAME.PHP GAPS
   ═══════════════════════════════════════════════ */
body.lga-dark .lga-soundtrack-header { color: #D1D5DB; }
body.lga-dark .lga-soundtrack-card { background: #1E2630; border-color: #333; }
body.lga-dark .lga-soundtrack-link { color: #60A5FA; }
body.lga-dark .lga-guide-card { background: var(--bg-card, #1E2630); border-color: #333; }
body.lga-dark .lga-guide-vote { color: #9CA3AF; }
body.lga-dark .lga-guide-vote:hover { color: #60A5FA; }
body.lga-dark .lga-pres-card { background: var(--bg-card, #1E2630); border-color: #333; }
body.lga-dark .lga-discussion-card { background: var(--bg-card, #1E2630); border-color: #333; }
body.lga-dark .lga-discussion-card textarea { background: #151a21; border-color: #333; color: #D1D5DB; }
body.lga-dark .lga-review-card { background: var(--bg-card, #1E2630); border-color: #333; }
body.lga-dark .lga-review-card .lga-review-text { color: #D1D5DB; }
body.lga-dark .lga-submit-form input,
body.lga-dark .lga-submit-form select,
body.lga-dark .lga-submit-form textarea {
    background: #151a21; border-color: #333; color: #D1D5DB;
}
body.lga-dark .lga-submit-form label { color: #D1D5DB; }
body.lga-dark .lga-tab-btn { color: #9CA3AF; border-color: transparent; }
body.lga-dark .lga-tab-btn.is-active { color: #60A5FA; border-color: #60A5FA; }
body.lga-dark .lga-report-btn { color: #9CA3AF; }
body.lga-dark .lga-report-btn:hover { color: #EF4444; }

/* ═══════════════════════════════════════════════
   DARK MODE BATCH — AUTHOR.PHP GAPS
   ═══════════════════════════════════════════════ */
body.lga-dark .lga-profile-hero { border-color: #333; }
body.lga-dark .lga-profile-stat { color: #D1D5DB; }
body.lga-dark .lga-profile-stat small { color: #888; }
body.lga-dark .lga-profile-section { background: var(--bg-card, #1E2630); border-color: #333; }
body.lga-dark .lga-profile-section h3 { color: #F9FAFB; }
body.lga-dark .lga-profile-badges .lga-badge-item { background: #1E2630; border-color: #333; }
body.lga-dark .lga-profile-follow-btn { border-color: #444; color: #D1D5DB; }
body.lga-dark .lga-profile-follow-btn:hover { border-color: #60A5FA; color: #60A5FA; }
body.lga-dark .lga-contrib-bar-track { background: #1E2630; }
.lga-profile-hero { position: relative; overflow: hidden; }
.lga-profile-hero-overlay { background: rgba(0,0,0,0.45); position: absolute; inset: 0; border-radius: inherit; }
.lga-profile-hero-inner { position: relative; }
.lga-profile-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.lga-profile-actions .lga-btn,
.lga-profile-actions .lga-follow-btn,
.lga-profile-actions .lga-report-btn { transition: all 0.2s ease; }
.lga-profile-actions .lga-btn:hover,
.lga-profile-actions .lga-follow-btn:hover { transform: translateY(-1px); }

/* ═══════════════════════════════════════════════
   DARK MODE BATCH — ARCHIVE-GAME.PHP GAPS
   ═══════════════════════════════════════════════ */
/* Compare bar layout */
.lga-compare-inner { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.lga-compare-names { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.lga-compare-actions { display: flex; gap: 8px; align-items: center; }
.lga-compare-count { font-size: 12px; color: var(--text-muted); }
body.lga-dark .lga-compare-bar { background: #1a1f2e; border-color: #333; }
body.lga-dark .lga-compare-bar .lga-btn { border-color: #444; }
body.lga-dark .lga-no-results { color: #999; }
body.lga-dark .lga-crosslinks-row .lga-crosslink-card { background: var(--bg-card, #1E2630); border-color: #333; }
body.lga-dark .lga-filter-row select { background: #1E2630; border-color: #333; color: #D1D5DB; }
body.lga-dark .lga-filter-row input { background: #1E2630; border-color: #333; color: #D1D5DB; }
body.lga-dark .lga-active-filters .lga-pill { background: #1E2630; border-color: #444; color: #D1D5DB; }

/* ═══════════════════════════════════════════════
   DARK MODE BATCH — PAGE-MY-ACCOUNT.PHP GAPS
   ═══════════════════════════════════════════════ */
body.lga-dark .lga-ob-overlay { background: rgba(0,0,0,0.85); }
body.lga-dark .lga-ob-step { background: #1a1f2e; color: #D1D5DB; }
body.lga-dark .lga-ob-step h2 { color: #F9FAFB; }
body.lga-dark .lga-ob-step input,
body.lga-dark .lga-ob-step textarea,
body.lga-dark .lga-ob-step select { background: #151a21; border-color: #333; color: #D1D5DB; }
body.lga-dark .lga-msg-sidebar { background: #111820; border-color: #333; }
body.lga-dark .lga-msg-item { border-bottom-color: #333; }
body.lga-dark .lga-msg-item:hover { background: #1E2630; }
body.lga-dark .lga-msg-preview { color: #888; }
body.lga-dark .lga-msg-time { color: #666; }
body.lga-dark .lga-chat-bubble { background: #1E2630; color: #D1D5DB; }
body.lga-dark .lga-chat-bubble.is-mine { background: #1E3A5F; }
body.lga-dark .lga-chat-timestamp { color: #666; }
body.lga-dark .lga-streak-bar { background: #1E2630; }
body.lga-dark .lga-daily-quest { background: #1E2630; border-color: #333; }
body.lga-dark .lga-daily-quest-title { color: #D1D5DB; }
body.lga-dark .lga-xp-bar-track { background: #1E2630; }
body.lga-dark .lga-account-card { background: var(--bg-card, #1E2630); border-color: #333; }
body.lga-dark .lga-account-card h3 { color: #F9FAFB; }
body.lga-dark .lga-tag-picker .lga-tag-option { background: #1E2630; border-color: #444; color: #D1D5DB; }
body.lga-dark .lga-tag-picker .lga-tag-option.is-selected { background: #1E3A5F; border-color: #3B82F6; color: #fff; }
/* Override inline #888/#999 colors in dark mode for account + profile pages */
body.lga-dark .lga-profile-content [style*="color:#888"],
body.lga-dark .lga-profile-content [style*="color: #888"],
body.lga-dark .lga-profile-content [style*="color:#999"],
body.lga-dark .lga-profile-content [style*="color: #999"] { color: #9CA3AF !important; }
body.lga-dark .lga-profile-content [style*="background:#EEF2F7"],
body.lga-dark .lga-profile-content [style*="background: #EEF2F7"] { background: #1E2630 !important; }
body.lga-dark .lga-acct-label { color: #9CA3AF; }
body.lga-dark .lga-acct-val { color: #D1D5DB; }
body.lga-dark .lga-acct-row { border-color: #333; }

/* ═══════════════════════════════════════════════
   DARK MODE BATCH — FRONT-PAGE.PHP GAPS
   ═══════════════════════════════════════════════ */
body.lga-dark .lga-spotlight-card { background: var(--bg-card, #1E2630); border-color: #333; }
body.lga-dark .lga-spotlight-badge { background: #1E3A5F; color: #60A5FA; }
body.lga-dark .lga-challenge-card { background: var(--bg-card, #1E2630); border-color: #333; }
body.lga-dark .lga-challenge-fill { background: #3B82F6; }
body.lga-dark .lga-challenge-track { background: #151a21; }
body.lga-dark .lga-explore-card { background: var(--bg-card, #1E2630); border-color: #333; }
body.lga-dark .lga-explore-card:hover { border-color: var(--dusty-blue, #8899AA); }
.lga-hub-fallback {
    background: #E8ECF1; display: flex; align-items: center;
    justify-content: center; color: #999; font-size: 32px;
}
body.lga-dark .lga-hub-fallback { background: #1E2630; color: #666; }

/* ═══════════════════════════════════════════════
   VISUAL POLISH — SCROLL REVEAL + CARD ENTRANCES
   ═══════════════════════════════════════════════ */
@keyframes lgaSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.lga-section { animation: lgaSlideUp 0.5s ease-out both; }
.lga-section:nth-child(2) { animation-delay: 0.05s; }
.lga-section:nth-child(3) { animation-delay: 0.1s; }
.lga-section:nth-child(4) { animation-delay: 0.15s; }

/* Subtle section divider */
.lga-section + .lga-section { border-top: 1px solid var(--cardBorder, #E5E7EB); }
body.lga-dark .lga-section + .lga-section { border-top-color: rgba(255,255,255,0.06); }

/* Enhanced card lift on hover */
.lga-game-card:hover, .lga-hub-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
body.lga-dark .lga-game-card:hover,
body.lga-dark .lga-hub-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* Smooth image reveal */
.lga-game-card img, .lga-hub-card img, .lga-vault-card img {
    transition: transform 0.3s ease, filter 0.3s ease;
}
.lga-game-card:hover img, .lga-hub-card:hover img {
    transform: scale(1.03);
}

/* Button micro-interactions */
.lga-btn { transition: all 0.2s ease; }
.lga-btn:active { transform: scale(0.97); }
.lga-btn-primary:hover { box-shadow: 0 4px 16px rgba(59,130,246,0.3); }
.lga-btn-ghost:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
body.lga-dark .lga-btn-ghost:hover { box-shadow: 0 2px 8px rgba(255,255,255,0.06); }

/* Live indicator pulse */
.lga-live-indicator { position: relative; }
.lga-live-indicator::after {
    content: ''; position: absolute; top: -2px; right: -2px;
    width: 8px; height: 8px; background: #EF4444;
    border-radius: 50%; border: 2px solid var(--bg, #fff);
    animation: lga-dot-ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes lga-dot-ping {
    0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.6); }
    75%, 100% { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE FIXES — MOBILE GAPS
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
    .lga-compare-bar { flex-direction: column; gap: 8px; text-align: center; }
    .lga-col-dropdown-menu { min-width: 160px; }
    .lga-profile-hero { min-height: 140px; }
    .lga-spotlight-card { flex-direction: column; }
}
@media (max-width: 480px) {
    .lga-col-dropdown-menu { left: auto; right: 0; }
    .lga-msg-sidebar { width: 100% !important; }
    .lga-profile-actions { flex-wrap: wrap; gap: 6px; }
    .lga-profile-actions .lga-btn { font-size: 12px; padding: 6px 10px; }
}

/* ═══════════════════════════════════════════════
   DARK MODE BATCH — EVENT + VAULT + REVIEWS + CHALLENGES + TAXONOMY + ADMIN
   ═══════════════════════════════════════════════ */

/* Event pages */
body.lga-dark .lga-event-card-banner { filter: brightness(0.8); }
body.lga-dark .lga-ev3-info-val { color: var(--text, #D1D5DB); }
body.lga-dark .lga-ev3-info-item { color: #9CA3AF; }

/* Vault pages */
body.lga-dark .lga-vault-hero { background: var(--bg-card, #1a1f2e); }
body.lga-dark .lga-vault-meta { color: #9CA3AF; }
body.lga-dark .lga-vault-game-strip a { background: var(--bg-card, #1E2630); border-color: #333; }
body.lga-dark .lga-vault-game-strip a:hover { border-color: var(--dusty-blue, #8899AA); }

/* Reviews page */
body.lga-dark .lga-review-bar-track { background: rgba(255,255,255,0.06); }
body.lga-dark .lga-reviews-sidebar { background: var(--bg-card, #1E2630); border-color: #333; }
body.lga-dark .lga-reviews-sidebar h3 { color: #F9FAFB; }

/* Challenges page */
body.lga-dark .lga-challenge-card { background: var(--bg-card, #1E2630); border-color: #333; }
body.lga-dark .lga-challenge-card h3 { color: #F9FAFB; }
body.lga-dark .lga-challenge-track { background: rgba(255,255,255,0.04); }
body.lga-dark .lga-challenge-meta { color: #9CA3AF; }

/* Taxonomy page */
body.lga-dark .lga-series-section { background: var(--bg-card, #1a1f2e) !important; }
body.lga-dark .lga-series-entry { background: var(--bg-card, #1E2630); border-color: #333; }
body.lga-dark .lga-series-entry-noimg { background: #1E2630; }

/* Admin dashboard */
body.lga-dark .lga-admin-live-bar { background: rgba(16,185,129,0.06); border-color: rgba(16,185,129,0.15); }
body.lga-dark .lga-admin-stat-card { background: var(--bg-card, #1E2630); border-color: #333; }
body.lga-dark .lga-admin-stat-card h3 { color: #F9FAFB; }
body.lga-dark .lga-admin-action-card { background: var(--bg-card, #1E2630); border-color: #333; }
body.lga-dark .lga-admin-action-card:hover { border-color: var(--dusty-blue, #8899AA); }

/* Join/Submit pages */
body.lga-dark .lga-auth-step { background: var(--bg-card, #1E2630); }
body.lga-dark .lga-auth-step input,
body.lga-dark .lga-auth-step textarea,
body.lga-dark .lga-auth-step select { background: #151a21; border-color: #333; color: #D1D5DB; }
body.lga-dark .lga-submit-preview { background: var(--bg-card, #1E2630); border-color: #333; }

/* Generic: fix inline-color elements globally */
body.lga-dark [style*="color:#888"],
body.lga-dark [style*="color: #888"] { color: #9CA3AF !important; }
body.lga-dark [style*="color:#999"],
body.lga-dark [style*="color: #999"] { color: #9CA3AF !important; }
body.lga-dark [style*="color:#333"],
body.lga-dark [style*="color: #333"] { color: #D1D5DB !important; }
body.lga-dark [style*="background:#F8FAFC"],
body.lga-dark [style*="background: #F8FAFC"] { background: var(--bg-card, #1a1f2e) !important; }
body.lga-dark [style*="background:#EEF2F7"],
body.lga-dark [style*="background: #EEF2F7"] { background: #1E2630 !important; }

/* ═══════════════════════════════════════
   REVIEWS HUB — page-reviews.php
   ═══════════════════════════════════════ */
.lga-reviews-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.lga-reviews-layout { display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: start; }
.lga-reviews-filter { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.lga-review-game-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lga-review-game-thumb { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.lga-review-game-title { font-weight: 600; font-size: 14px; color: var(--text); }
.lga-review-game-stars { font-size: 12px; color: var(--dusty-blue); }
.lga-review-author-link { display: flex; align-items: center; gap: 6px; text-decoration: none; margin-left: auto; }
.lga-review-author-av { width: 24px; height: 24px; border-radius: 50%; }
.lga-review-author-name { font-size: 13px; color: var(--text-muted); }
.lga-review-empty { color: var(--text-muted); padding: 24px 0; }
.lga-reviews-pager { margin-top: 20px; }
.lga-reviews-pager-num { font-size: 13px; color: var(--text-muted); }
.lga-reviews-sidebar-card { padding: 16px; margin-bottom: 16px; }
.lga-rating-dist-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.lga-rating-dist-label { font-size: 12px; width: 20px; text-align: right; }
.lga-rating-dist-track { flex: 1; height: 8px; background: rgba(0,0,0,0.06); border-radius: 4px; overflow: hidden; }
.lga-rating-dist-fill { height: 100%; background: var(--dusty-blue); border-radius: 4px; }
.lga-rating-dist-count { font-size: 11px; color: var(--text-muted); width: 30px; }
.lga-top-reviewer-link { display: flex; align-items: center; gap: 8px; padding: 6px 0; text-decoration: none; }
.lga-top-reviewer-av { width: 28px; height: 28px; border-radius: 50%; }
.lga-top-reviewer-info { flex: 1; }
.lga-top-reviewer-name { font-size: 13px; font-weight: 500; color: var(--text); }
.lga-top-reviewer-level { font-size: 11px; color: var(--text-muted); }
.lga-top-reviewer-count { font-size: 12px; font-weight: 600; color: var(--dusty-blue); }

body.lga-dark .lga-rating-dist-track { background: rgba(255,255,255,0.06); }

@media (max-width: 768px) {
    .lga-reviews-layout { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   CHALLENGES — page-challenges.php
   ═══════════════════════════════════════ */
.lga-challenges-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.lga-challenge-cat { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.lga-challenge-title { font-size: 16px; font-weight: 700; margin: 2px 0 0; color: var(--text); }
.lga-challenge-desc { font-size: 13px; color: var(--text-muted); margin: 6px 0 10px; }
.lga-challenge-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.lga-challenge-stats { display: flex; gap: 6px; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; }
.lga-challenge-actions { display: flex; gap: 6px; }
.lga-challenge-bar { height: 4px; background: rgba(0,0,0,0.06); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.lga-challenge-bar-fill { height: 100%; border-radius: 2px; transition: width 0.3s; }
.lga-challenge-xp { font-size: 13px; font-weight: 700; color: var(--mustard); white-space: nowrap; }
.lga-challenge-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.lga-challenges-past { opacity: 0.7; }
.lga-challenge-urgent { color: #EF4444; }
.lga-challenge-completed-badge { color: #10B981; pointer-events: none; }

/* Category accent colors */
.lga-challenge-card[data-cat="general"]     { border-left: 3px solid #8899AA; }
.lga-challenge-card[data-cat="exploration"] { border-left: 3px solid #10B981; }
.lga-challenge-card[data-cat="social"]      { border-left: 3px solid #3B82F6; }
.lga-challenge-card[data-cat="creative"]    { border-left: 3px solid #8B5CF6; }
.lga-challenge-card[data-cat="competitive"] { border-left: 3px solid #EF4444; }
.lga-challenge-card[data-cat="general"]     .lga-challenge-cat { color: #8899AA; }
.lga-challenge-card[data-cat="exploration"] .lga-challenge-cat { color: #10B981; }
.lga-challenge-card[data-cat="social"]      .lga-challenge-cat { color: #3B82F6; }
.lga-challenge-card[data-cat="creative"]    .lga-challenge-cat { color: #8B5CF6; }
.lga-challenge-card[data-cat="competitive"] .lga-challenge-cat { color: #EF4444; }
.lga-challenge-card[data-cat="general"]     .lga-challenge-bar-fill { background: #8899AA; }
.lga-challenge-card[data-cat="exploration"] .lga-challenge-bar-fill { background: #10B981; }
.lga-challenge-card[data-cat="social"]      .lga-challenge-bar-fill { background: #3B82F6; }
.lga-challenge-card[data-cat="creative"]    .lga-challenge-bar-fill { background: #8B5CF6; }
.lga-challenge-card[data-cat="competitive"] .lga-challenge-bar-fill { background: #EF4444; }

body.lga-dark .lga-challenge-bar { background: rgba(255,255,255,0.06); }

/* ═══════════════════════════════════════
   ADMIN DASHBOARD — page-admin-dashboard.php
   ═══════════════════════════════════════ */
.lga-admin-live-bar {
    display: flex; gap: 16px; align-items: center; margin-bottom: 24px;
    padding: 12px 16px; background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.2); border-radius: 12px;
}
.lga-admin-live-item { display: flex; align-items: center; gap: 6px; }
.lga-admin-live-dot {
    width: 8px; height: 8px; border-radius: 50%; display: inline-block;
}
.lga-admin-live-dot.green { background: #10B981; }
.lga-admin-live-dot.red { background: #EF4444; animation: lga-pulse 1.5s infinite; }
.lga-admin-live-num { font-size: 14px; font-weight: 700; }
.lga-admin-live-label { font-size: 12px; color: var(--text-muted); }
.lga-admin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.lga-admin-actions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 24px; }
.lga-admin-members-wrap { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.lga-admin-member-btn { display: inline-flex; align-items: center; gap: 4px; }
.lga-admin-member-av { width: 20px; height: 20px; border-radius: 50%; }
.lga-admin-member-time { font-size: 10px; color: var(--text-muted); }

@media (max-width: 768px) {
    .lga-admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .lga-admin-stats-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   SUBMIT GAME — page-submit-a-game.php
   ═══════════════════════════════════════ */
.lga-submit-success-actions { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.lga-cover-upload-icon { color: var(--text-muted); }
body.lga-dark .lga-cover-upload-icon { color: #6B7280; }
/* ═══════════════════════════════════════════════════════
   CHROME HERO — shared monitor chrome header
   Used by: Archive, Nexus, Vault, Blog, Advertise
   ═══════════════════════════════════════════════════════ */
.lga-chrome-hero {
    background: rgba(255,255,255,.97);
    border-radius: 16px;
    border: 1.5px solid #D1D5DB;
    box-shadow:
        0 1px 2px rgba(10,20,30,.06),
        0 4px 8px rgba(10,20,30,.04),
        0 12px 24px rgba(10,20,30,.06),
        0 24px 48px rgba(10,20,30,.08);
    overflow: hidden;
    margin-bottom: 28px;
}
.lga-chrome-hero-bar {
    background: #EAEDF2;
    border-bottom: 1px solid #D1D5DB;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.lga-chrome-hero-dots { display: flex; gap: 6px; }
.lga-chrome-hero-dots .dot { width: 11px; height: 11px; border-radius: 50%; }
.lga-chrome-hero-dots .dot.r { background: #FF6058; }
.lga-chrome-hero-dots .dot.y { background: #FFC02E; }
.lga-chrome-hero-dots .dot.g { background: #27CA40; }
.lga-chrome-hero-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #8090A4;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lga-chrome-hero-body {
    padding: 48px 56px 44px;
    background: #FAFCFE;
}
.lga-chrome-hero-prompt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #B0BCCC;
    margin-bottom: 20px;
}
.lga-chrome-hero-prompt .g { color: #708878; }
.lga-chrome-hero-h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 44px;
    font-weight: 700;
    color: #2C333D;
    margin: 0 0 12px 0;
    line-height: .95;
    letter-spacing: -0.02em;
}
.lga-chrome-hero-cursor {
    display: inline-block;
    width: 12px;
    height: 3px;
    background: #2C333D;
    margin-left: 4px;
    vertical-align: baseline;
    animation: lgaChromeHeroBlink 1s step-end infinite;
}
@keyframes lgaChromeHeroBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.lga-chrome-hero-sub {
    font-size: 15px;
    color: #5A6070;
    max-width: 520px;
    line-height: 1.55;
    margin: 0 0 24px;
}
.lga-chrome-hero-stats {
    display: flex;
    gap: 32px;
}
.lga-chrome-hero-stat-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: 700;
    color: #2C333D;
}
.lga-chrome-hero-stat-lbl {
    font-size: 11px;
    color: #8090A4;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    margin-top: 2px;
}

/* ── Top contributors inside hero ── */
.lga-chrome-hero-contrib {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,.06);
}
.lga-chrome-hero-contrib-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #B0BCCC;
    margin-bottom: 10px;
}
.lga-chrome-hero-contrib-list {
    display: flex;
    gap: 16px;
}
.lga-chrome-hero-contrib-user {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #2C333D;
    font-size: 12px;
    font-weight: 600;
    transition: color .15s;
}
.lga-chrome-hero-contrib-user:hover { color: #8899AA; }
.lga-chrome-hero-contrib-user img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .lga-chrome-hero-body { padding: 28px 24px 24px; }
    .lga-chrome-hero-h1 { font-size: 32px; }
    .lga-chrome-hero-stats { gap: 20px; }
    .lga-chrome-hero-contrib-list { flex-wrap: wrap; gap: 10px; }
}

/* ═══════════════════════════════════════════════════════
   BLOG — "The Signal" — Terminal Chrome Aesthetic
   ═══════════════════════════════════════════════════════ */

/* ── Shared chrome bar (matches forum) ── */
.lga-blog-chrome {
    background: #EAEDF2;
    border-bottom: 1px solid #D1D5DB;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.lga-blog-dots { display: flex; gap: 6px; }
.lga-blog-dots .dot { width: 11px; height: 11px; border-radius: 50%; }
.lga-blog-dots .dot.r { background: #FF6058; }
.lga-blog-dots .dot.y { background: #FFC02E; }
.lga-blog-dots .dot.g { background: #27CA40; }
.lga-blog-chrome-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #8090A4;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Blog Hero (matches forum monitor chrome) ── */
.lga-blog-hero-monitor {
    background: rgba(255,255,255,.97);
    border-radius: 16px;
    border: 1.5px solid #D1D5DB;
    box-shadow:
        0 1px 2px rgba(10,20,30,.06),
        0 4px 8px rgba(10,20,30,.04),
        0 12px 24px rgba(10,20,30,.06),
        0 24px 48px rgba(10,20,30,.08);
    overflow: hidden;
    margin-bottom: 0;
}
.lga-blog-hero-body {
    padding: 48px 56px 44px;
    background: #FAFCFE;
}
.lga-blog-prompt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #B0BCCC;
    margin-bottom: 20px;
}
.lga-blog-prompt .g { color: #708878; }
.lga-blog-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 44px;
    font-weight: 700;
    color: #2C333D;
    margin: 0 0 12px 0;
    line-height: .95;
    letter-spacing: -0.02em;
}
.lga-blog-cursor {
    display: inline-block;
    width: 12px;
    height: 3px;
    background: #2C333D;
    margin-left: 4px;
    vertical-align: baseline;
    animation: lgaBlogBlink 1s step-end infinite;
}
@keyframes lgaBlogBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.lga-blog-tagline {
    font-size: 15px;
    color: #5A6070;
    max-width: 520px;
    line-height: 1.55;
    margin: 0 0 24px;
}
.lga-blog-hero-stats {
    display: flex;
    gap: 32px;
}
.lga-blog-stat-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: 700;
    color: #2C333D;
}
.lga-blog-stat-lbl {
    font-size: 11px;
    color: #8090A4;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    margin-top: 2px;
}

/* ── Filter Bar ── */
.lga-blog-filterbar {
    background: rgba(255,255,255,.97);
    border-radius: 12px;
    border: 1.5px solid #D1D5DB;
    box-shadow:
        0 1px 2px rgba(10,20,30,.06),
        0 4px 8px rgba(10,20,30,.04),
        0 12px 24px rgba(10,20,30,.06),
        0 24px 48px rgba(10,20,30,.08);
    padding: 10px 18px;
    margin: 20px 0 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.lga-blog-filter-prompt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #B0BCCC;
}
.lga-blog-filter-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.lga-blog-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #8090A4;
    text-decoration: none;
    transition: all .15s;
}
.lga-blog-pill:hover { background: rgba(0,0,0,.04); color: #2C333D; }
.lga-blog-pill.active {
    background: #2C333D;
    color: #fff;
    border-color: #2C333D;
}

/* ── Featured Post ── */
.lga-blog-featured {
    background: rgba(255,255,255,.97);
    border-radius: 16px;
    border: 1.5px solid #D1D5DB;
    box-shadow:
        0 1px 2px rgba(10,20,30,.06),
        0 4px 8px rgba(10,20,30,.04),
        0 12px 24px rgba(10,20,30,.06),
        0 24px 48px rgba(10,20,30,.08);
    overflow: hidden;
    margin-bottom: 28px;
    transition: transform .2s, box-shadow .2s;
}
.lga-blog-featured:hover {
    transform: translateY(-3px);
    box-shadow:
        0 2px 4px rgba(10,20,30,.08),
        0 8px 16px rgba(10,20,30,.06),
        0 20px 40px rgba(10,20,30,.10),
        0 36px 64px rgba(10,20,30,.12);
}
.lga-blog-featured-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-decoration: none;
    color: inherit;
}
.lga-blog-featured-img {
    overflow: hidden;
    max-height: 320px;
}
.lga-blog-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.lga-blog-featured:hover .lga-blog-featured-img img {
    transform: scale(1.03);
}
.lga-blog-featured-content {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.lga-blog-featured-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.lga-blog-cat-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #fff;
    background: #8899AA;
    padding: 3px 10px;
    border-radius: 999px;
}
.lga-blog-date {
    font-size: 12px;
    color: #8090A4;
}
.lga-blog-featured-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: #2C333D;
    line-height: 1.25;
    margin-bottom: 12px;
}
.lga-blog-featured-excerpt {
    font-size: 14px;
    color: #5A6070;
    line-height: 1.6;
    margin-bottom: 16px;
}
.lga-blog-read-more {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    color: #8899AA;
    transition: color .15s;
}
.lga-blog-featured:hover .lga-blog-read-more,
.lga-blog-card:hover .lga-blog-read-more { color: #2C333D; }

/* ── Blog Layout ── */
.lga-blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    margin-bottom: 40px;
}

/* ── Blog Grid ── */
.lga-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

/* ── Blog Cards ── */
.lga-blog-card {
    background: rgba(255,255,255,.97);
    border-radius: 16px;
    border: 1.5px solid #D1D5DB;
    box-shadow:
        0 1px 2px rgba(10,20,30,.06),
        0 4px 8px rgba(10,20,30,.04),
        0 12px 24px rgba(10,20,30,.06),
        0 24px 48px rgba(10,20,30,.08);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.lga-blog-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 2px 4px rgba(10,20,30,.08),
        0 8px 16px rgba(10,20,30,.06),
        0 20px 40px rgba(10,20,30,.10),
        0 36px 64px rgba(10,20,30,.12);
}
.lga-blog-card-chrome {
    padding: 6px 12px;
}
.lga-blog-card-inner {
    display: block;
    text-decoration: none;
    color: inherit;
}
.lga-blog-card-img {
    overflow: hidden;
    height: 180px;
}
.lga-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.lga-blog-card:hover .lga-blog-card-img img {
    transform: scale(1.05);
}
.lga-blog-card-img-placeholder {
    background: linear-gradient(135deg, #EAEDF2, #D1D5DB);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lga-blog-card-ascii {
    font-family: 'JetBrains Mono', monospace;
    font-size: 28px;
    color: #8090A4;
    opacity: .5;
}
.lga-blog-card-body { padding: 16px 18px 20px; }
.lga-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.lga-blog-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    color: #2C333D;
    line-height: 1.3;
    margin-bottom: 6px;
}
.lga-blog-card-excerpt {
    font-size: 13px;
    color: #5A6070;
    line-height: 1.5;
    margin-bottom: 12px;
}

/* ── Sidebar ── */
.lga-blog-sidebar-card {
    background: rgba(255,255,255,.97);
    border-radius: 16px;
    border: 1.5px solid #D1D5DB;
    box-shadow:
        0 1px 2px rgba(10,20,30,.06),
        0 4px 8px rgba(10,20,30,.04),
        0 12px 24px rgba(10,20,30,.06),
        0 24px 48px rgba(10,20,30,.08);
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform .15s, box-shadow .15s;
}
.lga-blog-sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 2px 4px rgba(10,20,30,.08),
        0 8px 16px rgba(10,20,30,.06),
        0 20px 40px rgba(10,20,30,.10),
        0 36px 64px rgba(10,20,30,.12);
}
.lga-blog-sidebar-body {
    padding: 16px 18px;
    font-size: 13px;
    color: #5A6070;
    line-height: 1.6;
}
.lga-blog-sidebar-label {
    font-weight: 700;
    font-size: 14px;
    color: #2C333D;
    margin-bottom: 10px;
}
.lga-blog-popular-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,.04);
    text-decoration: none;
    transition: background .15s;
}
.lga-blog-popular-item:last-child { border-bottom: none; }
.lga-blog-popular-item:hover { background: rgba(0,0,0,.02); }
.lga-blog-popular-rank {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #B0BCCC;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    padding-top: 1px;
}
.lga-blog-popular-title {
    font-size: 13px;
    font-weight: 600;
    color: #2C333D;
    line-height: 1.3;
}
.lga-blog-cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.lga-blog-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid #D1D5DB;
    font-size: 12px;
    color: #5A6070;
    text-decoration: none;
    transition: all .15s;
}
.lga-blog-cat-chip:hover { background: #2C333D; color: #fff; border-color: #2C333D; }
.lga-blog-cat-chip:hover .lga-blog-cat-count { background: rgba(255,255,255,.2); color: #fff; }
.lga-blog-cat-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    background: rgba(0,0,0,.06);
    padding: 1px 6px;
    border-radius: 999px;
    color: #8090A4;
}

/* ── Blog Stats Widget ── */
.lga-blog-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.lga-blog-stats-item { text-align: center; }
.lga-blog-stats-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #2C333D;
    line-height: 1.2;
}
.lga-blog-stats-lbl {
    font-size: 10px;
    color: #8090A4;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}
.lga-blog-stats-link {
    display: block;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #8899AA;
    text-decoration: none;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,.06);
    transition: color .15s;
}
.lga-blog-stats-link:hover { color: #2C333D; }

/* ── Pagination ── */
.lga-blog-pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 32px;
    padding: 16px 0;
}
.lga-blog-pagination a,
.lga-blog-pagination span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #5A6070;
    border: 1px solid #D1D5DB;
    transition: all .15s;
}
.lga-blog-pagination a:hover { background: #2C333D; color: #fff; border-color: #2C333D; }
.lga-blog-pagination .current { background: #2C333D; color: #fff; border-color: #2C333D; }

/* ═══════════════════════════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════════════════════════ */
.lga-single-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    padding-top: 28px;
}
.lga-single-article {
    background: rgba(255,255,255,.97);
    border-radius: 16px;
    border: 1.5px solid #D1D5DB;
    box-shadow:
        0 1px 2px rgba(10,20,30,.06),
        0 4px 8px rgba(10,20,30,.04),
        0 12px 24px rgba(10,20,30,.06),
        0 24px 48px rgba(10,20,30,.08);
    overflow: hidden;
    margin-bottom: 40px;
}
.lga-single-body { padding: 32px 40px 40px; }
.lga-single-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.lga-single-date { font-size: 13px; color: #8090A4; }
.lga-single-reading {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #B0BCCC;
    padding: 2px 8px;
    background: rgba(0,0,0,.03);
    border-radius: 4px;
}
.lga-single-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    color: #2C333D;
    line-height: 1.2;
    margin-bottom: 20px;
}
.lga-single-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.lga-single-author-avatar img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
.lga-single-author-name { font-weight: 600; font-size: 14px; color: #2C333D; }
.lga-single-author-role { font-size: 12px; color: #8090A4; }
.lga-single-featured-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
}
.lga-single-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}
.lga-single-content { margin-bottom: 32px; }
.lga-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,.06);
}
.lga-single-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.04);
    color: #5A6070;
    text-decoration: none;
    transition: all .15s;
}
.lga-single-tag:hover { background: #2C333D; color: #fff; }
.lga-single-share {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,.06);
}
.lga-single-share-label { font-size: 13px; color: #8090A4; }
.lga-single-share-btn {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #D1D5DB;
    background: transparent;
    color: #5A6070;
    cursor: pointer;
    text-decoration: none;
    transition: all .15s;
}
.lga-single-share-btn:hover { background: #2C333D; color: #fff; border-color: #2C333D; }

/* ═══════════════════════════════════════════════════════
   AD SYSTEM
   ═══════════════════════════════════════════════════════ */
.lga-ad-slot {
    margin: 20px 0;
    text-align: center;
}
.lga-ad-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #B0BCCC;
    margin-bottom: 4px;
}
.lga-ad-content {
    background: rgba(255,255,255,.97);
    border: 1.5px dashed #D1D5DB;
    border-radius: 12px;
    overflow: hidden;
}
.lga-ad-placeholder {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #B0BCCC;
    padding: 24px;
}
.lga-ad-leaderboard .lga-ad-content { min-height: 90px; display: flex; align-items: center; justify-content: center; }
.lga-ad-sidebar .lga-ad-content { min-height: 250px; display: flex; align-items: center; justify-content: center; }
.lga-ad-sidebar { margin-bottom: 20px; }
.lga-ad-sticky { position: sticky; top: 80px; }
.lga-ad-inline {
    grid-column: 1 / -1;
}
.lga-ad-inline .lga-ad-content { min-height: 100px; display: flex; align-items: center; justify-content: center; }
.lga-ad-article { margin: 24px 0; }
.lga-ad-article .lga-ad-content { min-height: 100px; display: flex; align-items: center; justify-content: center; }

/* ── Empty ad slots — collapsed thin line ── */
.lga-ad-slot.lga-ad-empty {
    margin: 12px 0;
    padding: 0;
    border-top: 1px solid rgba(0,0,0,.06);
    position: relative;
}
.lga-ad-slot.lga-ad-empty .lga-ad-label,
.lga-ad-slot.lga-ad-empty .lga-ad-content { display: none; }
.lga-ad-placeholder-link {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #C8D0DA;
    text-decoration: none;
    padding: 4px 12px;
    position: relative;
    top: -1px;
    transition: color .15s;
}
.lga-ad-placeholder-link:hover { color: #8899AA; }
.lga-ad-inline.lga-ad-empty { grid-column: 1 / -1; }
.lga-ad-sidebar.lga-ad-empty { margin-bottom: 12px; }
.lga-ad-sticky.lga-ad-empty { position: static; }

/* ═══════════════════════════════════════════════════════
   ADVERTISE / MEDIA KIT PAGE
   ═══════════════════════════════════════════════════════ */
.lga-ad-kit-section { margin-top: 48px; }
.lga-ad-kit-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: #2C333D;
    margin-bottom: 24px;
}
.lga-ad-kit-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.lga-ad-kit-feature {
    background: rgba(255,255,255,.97);
    border-radius: 16px;
    border: 1.5px solid #D1D5DB;
    box-shadow:
        0 1px 2px rgba(10,20,30,.06),
        0 4px 8px rgba(10,20,30,.04),
        0 12px 24px rgba(10,20,30,.06);
    padding: 28px 24px;
    transition: transform .2s, box-shadow .2s;
}
.lga-ad-kit-feature:hover {
    transform: translateY(-3px);
    box-shadow:
        0 2px 4px rgba(10,20,30,.08),
        0 8px 16px rgba(10,20,30,.06),
        0 20px 40px rgba(10,20,30,.10);
}
.lga-ad-kit-feature-icon { font-size: 32px; margin-bottom: 12px; }
.lga-ad-kit-feature h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: #2C333D;
    margin-bottom: 8px;
}
.lga-ad-kit-feature p { font-size: 13px; color: #5A6070; line-height: 1.6; }

/* ── Placement cards ── */
.lga-ad-kit-placement {
    background: rgba(255,255,255,.97);
    border-radius: 16px;
    border: 1.5px solid #D1D5DB;
    box-shadow:
        0 1px 2px rgba(10,20,30,.06),
        0 4px 8px rgba(10,20,30,.04),
        0 12px 24px rgba(10,20,30,.06),
        0 24px 48px rgba(10,20,30,.08);
    overflow: hidden;
    margin-bottom: 24px;
    transition: transform .2s, box-shadow .2s;
}
.lga-ad-kit-placement:hover {
    transform: translateY(-2px);
    box-shadow:
        0 2px 4px rgba(10,20,30,.08),
        0 8px 16px rgba(10,20,30,.06),
        0 20px 40px rgba(10,20,30,.10),
        0 36px 64px rgba(10,20,30,.12);
}
.lga-ad-kit-placement-body {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
}
.lga-ad-kit-placement-demo {
    background: #F4F6F8;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(0,0,0,.06);
}
.lga-ad-kit-demo-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #8090A4;
    margin-bottom: 12px;
}
.lga-ad-kit-demo-box {
    border: 2px dashed #8899AA;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #8899AA;
    background: rgba(136,153,170,.06);
}
.lga-ad-kit-demo-leaderboard { width: 220px; height: 28px; }
.lga-ad-kit-demo-sidebar { width: 150px; height: 125px; }
.lga-ad-kit-demo-infeed { width: 220px; height: 48px; }
.lga-ad-kit-demo-article { width: 220px; height: 48px; }
.lga-ad-kit-placement-info {
    padding: 28px 32px;
}
.lga-ad-kit-placement-info h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #2C333D;
    margin-bottom: 12px;
}
.lga-ad-kit-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.lga-ad-kit-spec {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #5A6070;
    background: rgba(0,0,0,.04);
    padding: 4px 10px;
    border-radius: 6px;
}
.lga-ad-kit-spec strong { color: #2C333D; }
.lga-ad-kit-placement-info p { font-size: 13px; color: #5A6070; line-height: 1.6; }

/* ── Layout demo ── */
.lga-ad-kit-layout-demo {
    background: rgba(255,255,255,.97);
    border-radius: 16px;
    border: 1.5px solid #D1D5DB;
    box-shadow:
        0 1px 2px rgba(10,20,30,.06),
        0 4px 8px rgba(10,20,30,.04),
        0 12px 24px rgba(10,20,30,.06),
        0 24px 48px rgba(10,20,30,.08);
    overflow: hidden;
}
.lga-ad-kit-layout-body { padding: 24px; }
.lga-ad-kit-layout-row {
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
}
.lga-ad-kit-layout-hero {
    background: #F0F3F7;
    color: #8090A4;
    padding: 24px;
}
.lga-ad-kit-layout-spot {
    background: rgba(136,153,170,.12);
    border: 2px dashed #8899AA;
    color: #8899AA;
    font-weight: 600;
}
.lga-ad-kit-layout-cols {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 8px;
    margin-bottom: 8px;
}
.lga-ad-kit-layout-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.lga-ad-kit-layout-card {
    background: #F0F3F7;
    border-radius: 6px;
    height: 60px;
}
.lga-ad-kit-layout-side {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lga-ad-kit-layout-sideblock {
    background: #F0F3F7;
    border-radius: 6px;
    flex: 1;
}
.lga-ad-kit-layout-side .lga-ad-kit-layout-spot {
    padding: 16px 8px;
    font-size: 10px;
}

/* ── CTA ── */
.lga-ad-kit-cta {
    background: rgba(255,255,255,.97);
    border-radius: 16px;
    border: 1.5px solid #D1D5DB;
    box-shadow:
        0 1px 2px rgba(10,20,30,.06),
        0 4px 8px rgba(10,20,30,.04),
        0 12px 24px rgba(10,20,30,.06),
        0 24px 48px rgba(10,20,30,.08);
    overflow: hidden;
}
.lga-ad-kit-cta-body {
    padding: 40px 48px;
    background: #FAFCFE;
}
.lga-ad-kit-cta-body h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: #2C333D;
    text-align: center;
    margin-bottom: 12px;
}
.lga-ad-kit-cta-body > p {
    text-align: center;
    font-size: 15px;
    color: #5A6070;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 32px;
}
.lga-ad-kit-cta-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.lga-ad-kit-cta-option {
    background: rgba(255,255,255,.8);
    border-radius: 12px;
    border: 1px solid #D1D5DB;
    padding: 24px 20px;
    text-align: center;
}
.lga-ad-kit-cta-option h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    font-weight: 700;
    color: #2C333D;
    margin-bottom: 8px;
}
.lga-ad-kit-cta-option p { font-size: 13px; color: #5A6070; line-height: 1.5; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .lga-blog-layout,
    .lga-single-layout { grid-template-columns: 1fr; }
    .lga-blog-grid { grid-template-columns: 1fr; }
    .lga-blog-featured-inner { grid-template-columns: 1fr; }
    .lga-blog-featured-img { max-height: 200px; }
    .lga-single-body { padding: 20px 20px 28px; }
    .lga-single-title { font-size: 26px; }
    .lga-blog-title { font-size: 32px; }
    .lga-blog-hero-body { padding: 28px 24px 24px; }
    .lga-blog-hero-stats { gap: 20px; }
    .lga-ad-leaderboard:not(.lga-ad-empty) { display: none; }
    .lga-ad-kit-features { grid-template-columns: 1fr; }
    .lga-ad-kit-placement-body { grid-template-columns: 1fr; }
    .lga-ad-kit-placement-demo { border-right: none; border-bottom: 1px solid rgba(0,0,0,.06); }
    .lga-ad-kit-layout-cols { grid-template-columns: 1fr; }
    .lga-ad-kit-cta-options { grid-template-columns: 1fr; }
    .lga-ad-kit-cta-body { padding: 24px 20px; }
}

/* ═══════════════════════════════════════════════════════
   NEXUS DIRECTORY — Retro Arcade / Neon Theme
   Scoped to .post-type-archive-hub (directory page only)
   ═══════════════════════════════════════════════════════ */

/* --- Neon CSS Variables --- */
.post-type-archive-hub {
    --nx-bg: #0A0A14;
    --nx-bg-card: #0E0E1C;
    --nx-neon-pink: #FF2D78;
    --nx-neon-cyan: #00E5FF;
    --nx-neon-yellow: #FFE744;
    --nx-neon-green: #39FF14;
    --nx-neon-purple: #BF40FF;
    --nx-text: #E8E8F0;
    --nx-text-sec: #7878A0;
    --nx-text-muted: #44445A;
    --nx-border: rgba(255,255,255,.06);
    --nx-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Page background: white on Nexus */
body.post-type-archive-hub {
    background: #fff !important;
}

/* Header: use normal site header, no neon override */
/* Header and footer: use normal site styles, no neon override */

/* Main content: normal V3 light */

/* Breadcrumbs: use normal site styles */

/* ═══ NEON HERO — self-contained dark section ═══ */
.nx-hero {
    padding: 70px 24px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255,45,120,.08) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 50%, rgba(0,229,255,.04) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 50%, rgba(191,64,255,.04) 0%, transparent 40%),
        #0A0A14;
    border-bottom: 1px solid rgba(255,45,120,.15);
}
/* Scanline effect only on hero */
.nx-hero::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.06) 2px, rgba(0,0,0,.06) 4px);
    pointer-events: none; z-index: 0;
}
.nx-hero > * { position: relative; z-index: 1; }
.nx-hero-label {
    font-family: var(--nx-mono);
    font-size: 12px; color: var(--nx-neon-cyan);
    text-transform: uppercase; letter-spacing: .3em; margin-bottom: 16px;
    text-shadow: 0 0 8px rgba(0,229,255,.4);
}
.nx-hero-title {
    font-family: Inter, system-ui, sans-serif;
    font-size: 60px; font-weight: 800; text-transform: uppercase;
    letter-spacing: .05em;
    color: #fff;
    text-shadow:
        0 0 10px rgba(255,45,120,.8),
        0 0 20px rgba(255,45,120,.6),
        0 0 40px rgba(255,45,120,.4),
        0 0 80px rgba(255,45,120,.2);
    margin-bottom: 12px;
    line-height: 1;
}
.nx-hero-sub {
    font-family: Inter, system-ui, sans-serif;
    font-size: 15px; color: var(--nx-text-sec);
    max-width: 480px; margin: 0 auto 36px;
}

/* High Score Stats Table */
.nx-stats-table {
    display: inline-block; text-align: left;
    margin-bottom: 32px;
    font-family: var(--nx-mono);
}
.nx-stat-row {
    display: flex; align-items: center; gap: 8px;
    padding: 4px 0; font-size: 14px;
}
.nx-stat-label {
    color: var(--nx-text-muted); width: 160px;
    text-transform: uppercase; letter-spacing: .05em;
}
.nx-stat-dots {
    flex: 1; color: var(--nx-text-muted); overflow: hidden;
    white-space: nowrap; letter-spacing: .2em; min-width: 40px;
}
.nx-stat-val {
    font-weight: 700; min-width: 40px; text-align: right;
}
.nx-stat-val.pink { color: var(--nx-neon-pink); text-shadow: 0 0 6px rgba(255,45,120,.4); }
.nx-stat-val.cyan { color: var(--nx-neon-cyan); text-shadow: 0 0 6px rgba(0,229,255,.4); }
.nx-stat-val.yellow { color: var(--nx-neon-yellow); text-shadow: 0 0 6px rgba(255,231,68,.4); }
.nx-stat-val.green { color: var(--nx-neon-green); text-shadow: 0 0 6px rgba(57,255,20,.4); }

/* Create Hub CTA */
.nx-btn-create {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; font-size: 14px; font-weight: 700;
    font-family: var(--nx-mono);
    background: transparent; color: var(--nx-neon-cyan); text-transform: uppercase;
    letter-spacing: .1em; text-decoration: none;
    border: 2px solid var(--nx-neon-cyan); cursor: pointer;
    transition: all .2s;
    box-shadow: 0 0 10px rgba(0,229,255,.2), inset 0 0 10px rgba(0,229,255,.1);
}
.nx-btn-create:hover {
    background: var(--nx-neon-cyan); color: var(--nx-bg);
    box-shadow: 0 0 30px rgba(0,229,255,.4);
}

/* ═══ FILTER BAR / Command Console ═══ */
.nx-filter-bar {
    max-width: 1100px; margin: 0 auto 24px; padding: 0 24px;
}
.nx-filter-inner {
    background: rgba(248,252,255,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 14px;
    padding: 10px 14px; display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap;
}
.nx-filter-select {
    background: #fff; border: 1px solid rgba(0,0,0,.10);
    color: var(--v3-text, #1A1D22); font-family: var(--nx-mono); font-size: 11px;
    padding: 6px 10px; outline: none; cursor: pointer;
    text-transform: uppercase; border-radius: 8px;
}
.nx-filter-select:focus { border-color: var(--nx-neon-pink); }
.nx-filter-search {
    flex: 1; min-width: 120px;
    background: #fff; border: 1px solid rgba(0,0,0,.10);
    color: var(--v3-text, #1A1D22); font-family: var(--nx-mono); font-size: 11px;
    padding: 6px 10px; outline: none; text-transform: uppercase; border-radius: 8px;
}
.nx-filter-search::placeholder { color: #999; text-transform: uppercase; }
.nx-filter-btn {
    background: transparent; border: 1px solid rgba(0,0,0,.10);
    color: #6B7280; font-family: var(--nx-mono); font-size: 10px;
    padding: 5px 10px; cursor: pointer; text-transform: uppercase;
    transition: all .15s; border-radius: 8px;
}
.nx-filter-btn:hover,
.nx-filter-btn.active {
    border-color: var(--nx-neon-pink); color: var(--nx-neon-pink);
}

/* ═══ RESULTS BAR ═══ */
.nx-results-bar {
    max-width: 1100px; margin: 0 auto 18px; padding: 0 24px;
    display: flex; align-items: center; gap: 20px;
    font-family: var(--nx-mono); font-size: 12px; color: #888;
    text-transform: uppercase; letter-spacing: .04em;
}
.nx-results-bar strong { color: #333; font-weight: 700; }
.nx-results-right { margin-left: auto; color: #aaa; }

/* ═══ HUB GRID ═══ */
.nx-hub-grid {
    max-width: 1100px; margin: 0 auto; padding: 0 24px 60px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .nx-hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .nx-hub-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════
   HUB CARD — Image-forward, V3 frosted
   ═══════════════════════════════════════ */
.nx-card {
    display: flex; flex-direction: column;
    background: var(--card, #fff);
    border: 1px solid var(--cardBorder, rgba(0,0,0,.08));
    border-radius: var(--radius-lg, 18px);
    overflow: hidden;
    text-decoration: none; color: inherit;
    backdrop-filter: blur(var(--blur, 14px));
    -webkit-backdrop-filter: blur(var(--blur, 14px));
    box-shadow:
        0 1px 2px rgba(0,0,0,.04),
        0 4px 12px rgba(0,0,0,.06),
        0 12px 28px rgba(0,0,0,.08);
    transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s;
    cursor: pointer;
}
.nx-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 2px 4px rgba(0,0,0,.04),
        0 8px 24px rgba(0,0,0,.1),
        0 20px 48px rgba(0,0,0,.12);
}
.nx-card:hover .nx-card-img img {
    transform: scale(1.04);
}

/* LIVE card gets neon glow */
.nx-card-live {
    border-color: rgba(255,45,120,.2);
    box-shadow:
        0 1px 2px rgba(0,0,0,.04),
        0 4px 12px rgba(0,0,0,.06),
        0 12px 28px rgba(0,0,0,.08),
        0 0 20px rgba(255,45,120,.08);
}
.nx-card-live:hover {
    box-shadow:
        0 2px 4px rgba(0,0,0,.04),
        0 8px 24px rgba(0,0,0,.1),
        0 20px 48px rgba(0,0,0,.12),
        0 0 32px rgba(255,45,120,.15);
}

/* ═══ IMAGE SECTION ═══ */
.nx-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #1a1a2e;
}
.nx-card-img img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .35s ease;
}
.nx-card-img-grad {
    width: 100%; height: 100%;
}

/* LIVE badge on image — flicker + glow pulse */
.nx-card-live-badge {
    position: absolute; top: 12px; left: 12px;
    font-family: var(--nx-mono); font-size: 11px; font-weight: 800;
    color: #fff; background: var(--nx-neon-pink);
    padding: 4px 14px; border-radius: 999px;
    text-transform: uppercase; letter-spacing: .12em;
    box-shadow: 0 0 16px rgba(255,45,120,.5);
    animation: nxLiveFlicker 3s ease infinite;
    z-index: 2;
}
@keyframes nxLiveFlicker {
    0%, 100% { opacity: 1; box-shadow: 0 0 16px rgba(255,45,120,.5); }
    45% { opacity: 1; box-shadow: 0 0 28px rgba(255,45,120,.7), 0 0 48px rgba(255,45,120,.3); }
    50% { opacity: 1; box-shadow: 0 0 16px rgba(255,45,120,.5); }
    88% { opacity: 1; }
    90% { opacity: .35; }
    92% { opacity: 1; }
    95% { opacity: .5; }
    97% { opacity: 1; }
}

/* Online count on image */
.nx-card-online-badge {
    position: absolute; top: 12px; right: 12px;
    font-family: var(--nx-mono); font-size: 10px; font-weight: 700;
    color: #fff; background: rgba(0,0,0,.55);
    padding: 4px 10px; border-radius: 999px;
    backdrop-filter: blur(8px); z-index: 2;
    display: flex; align-items: center; gap: 5px;
    text-transform: uppercase; letter-spacing: .06em;
}
.nx-card-online-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--nx-neon-green);
    box-shadow: 0 0 6px rgba(57,255,20,.6);
    display: inline-block;
}

/* Neon accent line at bottom of image */
.nx-card-img-accent {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; z-index: 2;
}
.nx-accent-bar-pink { background: var(--nx-neon-pink); box-shadow: 0 0 12px var(--nx-neon-pink); }
.nx-accent-bar-cyan { background: var(--nx-neon-cyan); box-shadow: 0 0 12px var(--nx-neon-cyan); }
.nx-accent-bar-yellow { background: var(--nx-neon-yellow); box-shadow: 0 0 12px var(--nx-neon-yellow); }
.nx-accent-bar-purple { background: var(--nx-neon-purple); box-shadow: 0 0 12px var(--nx-neon-purple); }
.nx-accent-bar-green { background: var(--nx-neon-green); box-shadow: 0 0 12px var(--nx-neon-green); }
/* LIVE cards — accent line pulses */
.nx-card-live .nx-card-img-accent {
    height: 4px;
    animation: nxAccentPulse 2s ease infinite;
}
@keyframes nxAccentPulse {
    0%, 100% { box-shadow: 0 0 12px var(--nx-neon-pink); opacity: 1; }
    50% { box-shadow: 0 0 24px var(--nx-neon-pink), 0 0 48px var(--nx-neon-pink); opacity: .7; }
}

/* ═══ CARD BODY ═══ */
.nx-card-body {
    padding: 20px 20px 0;
    display: flex; flex-direction: column;
    flex: 1;
}

/* Status dots row — members + hubs + type */
.nx-card-dots-row {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 4px;
}
.nx-card-hub-status {
    display: flex; align-items: center; gap: 6px;
    font-family: var(--font, Inter, -apple-system, sans-serif);
    font-size: 12px; color: var(--text-muted, #888);
}
.nx-card-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.nx-card-dot-green { background: #3ddc84; box-shadow: 0 0 6px rgba(61,220,132,.5); }
.nx-card-dot-purple { background: #8e5eff; box-shadow: 0 0 6px rgba(142,94,255,.4); }
.nx-card-dot-cyan { background: #00b8d4; box-shadow: 0 0 6px rgba(0,184,212,.4); }
.nx-card-dot-gray { background: #b0b8c1; }
.nx-card-type-pill {
    margin-left: auto;
    font-family: var(--font, Inter, -apple-system, sans-serif);
    font-size: 11px; font-weight: 600;
    color: var(--text-muted, #888); background: rgba(0,0,0,.04);
    padding: 2px 8px; border-radius: 999px;
    text-transform: uppercase; letter-spacing: .04em;
}

/* Title — matches archive game cards */
.nx-card-title {
    font-family: var(--font, Inter, -apple-system, sans-serif);
    font-size: 18px; font-weight: 700;
    color: var(--text, #1A1D22);
    line-height: 1.3; margin: 0 0 6px;
}

/* Game name — matches archive .lga-game-meta */
.nx-card-game {
    font-family: var(--font, Inter, -apple-system, sans-serif);
    font-size: 14px; font-weight: 400;
    color: var(--text-muted, #888);
    margin-bottom: 8px;
}

/* Description — matches archive .lga-game-summary */
.nx-card-desc {
    font-family: var(--font, Inter, -apple-system, sans-serif);
    font-size: 16px; color: var(--text-secondary, #5A6370);
    line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden; margin: 0 0 12px;
}

/* Member avatars + last active */
.nx-card-members {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px; margin-top: auto;
    padding: 10px 0 14px;
    border-top: 1px solid rgba(0,0,0,.06);
}
.nx-card-avatars {
    display: flex; align-items: center;
}
.nx-card-av {
    width: 26px; height: 26px; border-radius: 50%;
    object-fit: cover; border: 2px solid #fff;
    margin-left: -6px;
}
.nx-card-av:first-child { margin-left: 0; }
.nx-card-av-more {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: #F0F2F5; color: #666;
    font-size: 10px; font-weight: 700;
    margin-left: -6px; border: 2px solid #fff;
}
.nx-card-active {
    font-family: var(--font, Inter, -apple-system, sans-serif);
    font-size: 11px; color: var(--text-muted, #888);
}
.nx-card-active.live {
    color: #1D9910; font-weight: 600;
}

/* ═══ STATS FOOTER — always pinned to bottom ═══ */
.nx-card-footer {
    display: flex;
    border-top: 2px solid rgba(0,0,0,.06);
    background: linear-gradient(180deg, #F0F2F5 0%, #E8EAEE 100%);
    margin-top: auto;
    box-shadow: inset 0 3px 6px rgba(0,0,0,.04);
    border-radius: 0 0 var(--radius-lg, 18px) var(--radius-lg, 18px);
}
.nx-card-fstat {
    flex: 1; text-align: center;
    padding: 16px 8px;
    border-right: 1px solid rgba(0,0,0,.06);
}
.nx-card-fstat:last-child { border-right: none; }
.nx-card-fnum {
    display: block;
    font-family: var(--nx-mono); font-size: 22px; font-weight: 800;
    line-height: 1;
}
.nx-fc-pink { color: var(--nx-neon-pink); }
.nx-fc-cyan { color: #0099BB; }
.nx-fc-green { color: #1D9910; }
.nx-card-flbl {
    display: block;
    font-size: 9px; font-weight: 700;
    color: #6B7280;
    text-transform: uppercase; letter-spacing: .1em;
    margin-top: 4px;
}

/* ═══ PAGINATION ═══ */
.post-type-archive-hub .lga-pagination { text-align: center; padding: 0 24px 48px; }

/* ═══ EMPTY STATE ═══ */
.post-type-archive-hub .lga-empty-state {
    text-align: center; padding: 60px 24px;
}

/* ═══ Responsive ═══ */
@media (max-width: 600px) {
    .nx-hero-title { font-size: 36px; }
    .nx-stat-label { width: 120px; font-size: 11px; }
    .nx-stat-val { font-size: 13px; }
    .nx-card-img { height: 150px; }
    .nx-card-title { font-size: 18px; }
    .nx-card-fnum { font-size: 16px; }
    .nx-results-bar { flex-wrap: wrap; gap: 10px; font-size: 11px; }
}

/* ═══════════════════════════════════════════════════════
   REVIEWS PAGE
   ═══════════════════════════════════════════════════════ */
.lga-reviews-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
}
.lga-reviews-layout {
    display: grid; grid-template-columns: 1fr 280px; gap: 32px;
}
@media (max-width: 900px) { .lga-reviews-layout { grid-template-columns: 1fr; } }

.lga-reviews-filter {
    display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px;
}
.lga-reviews-list { display: flex; flex-direction: column; gap: 16px; }
.lga-review-card {
    background: var(--card, #fff); border: 1px solid var(--line, rgba(0,0,0,.08));
    border-radius: var(--radius-lg, 18px); padding: 20px;
    backdrop-filter: blur(var(--blur, 14px));
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    transition: box-shadow .2s, transform .2s;
}
.lga-review-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    transform: translateY(-1px);
}
.lga-review-card-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 10px;
}
.lga-review-game-link {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: inherit;
}
.lga-review-game-thumb {
    width: 48px; height: 48px; border-radius: 10px;
    object-fit: cover; flex-shrink: 0;
}
.lga-review-game-title {
    font-weight: 600; font-size: 15px; color: var(--text, #1A1D22);
    line-height: 1.3;
}
.lga-review-game-stars {
    color: #F59E0B; font-size: 14px; letter-spacing: 1px;
}
.lga-review-author-link {
    display: flex; align-items: center; gap: 6px;
    text-decoration: none; flex-shrink: 0;
}
.lga-review-author-av {
    width: 24px; height: 24px; border-radius: 50%; object-fit: cover;
}
.lga-review-author-name {
    font-size: 12px; color: var(--text-muted, #888); font-weight: 500;
}
.lga-review-card-text {
    font-size: 14px; color: var(--text-secondary, #5A6370);
    line-height: 1.6; margin-bottom: 8px;
}
.lga-review-card-date {
    font-size: 11px; color: var(--text-muted, #888);
}
.lga-review-empty {
    text-align: center; padding: 48px 20px;
    color: var(--text-muted, #888); font-size: 15px;
}
.lga-reviews-pager {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; margin-top: 24px;
}
.lga-reviews-pager-num { font-size: 13px; color: var(--text-muted, #888); }

.lga-reviews-sidebar { position: sticky; top: 80px; }
.lga-reviews-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}
.lga-rev-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.55);
    cursor: pointer;
    transition: all .2s;
    font-family: var(--font);
}
.lga-rev-page-btn:hover {
    border-color: rgba(0,0,0,.25);
    color: var(--text);
}
.lga-rev-page-btn.is-active {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}
.lga-rev-page-nav {
    padding: 0 14px;
    width: auto;
}
body.lga-dark .lga-rev-page-btn {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.12);
    color: #9CA3AF;
}
body.lga-dark .lga-rev-page-btn:hover { color: #E5E7EB; }
body.lga-dark .lga-rev-page-btn.is-active { background: #E5E7EB; color: #1A1D22; }
.lga-reviews-sidebar .lga-sidebar-card { padding: 14px 16px; margin-bottom: 10px; }
.lga-reviews-sidebar .lga-sidebar-card h3 { font-size: 12px; margin-bottom: 8px; }
.lga-reviews-sidebar .lga-sidebar-card p { font-size: 12px; margin-bottom: 6px; }
.lga-reviews-sidebar .lga-section { padding: 0; margin: 0; }
.lga-reviews-sidebar .lga-section .lga-container { padding: 0; }
.lga-reviews-sidebar .lga-section-title { font-size: 14px; }
.lga-reviews-sidebar .lga-section-subtitle { font-size: 11px; }

/* Reviews sidebar */
.lga-reviews-sidebar-card {
    padding: 20px; margin-bottom: 16px;
}
.lga-rating-dist-row {
    display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.lga-rating-dist-label {
    font-size: 13px; font-weight: 600; width: 32px;
    color: var(--text, #1A1D22);
}
.lga-rating-dist-track {
    flex: 1; height: 8px; background: var(--line, rgba(0,0,0,.06));
    border-radius: 4px; overflow: hidden;
}
.lga-rating-dist-fill {
    height: 100%; background: #F59E0B; border-radius: 4px;
    min-width: 2px; transition: width .3s;
}
.lga-rating-dist-count {
    font-size: 12px; color: var(--text-muted, #888);
    width: 24px; text-align: right;
}
.lga-top-reviewer-link {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0; text-decoration: none; color: inherit;
    border-bottom: 1px solid var(--line, rgba(0,0,0,.06));
}
.lga-top-reviewer-link:last-child { border-bottom: none; }
.lga-top-reviewer-av {
    width: 32px; height: 32px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
}
.lga-top-reviewer-info { flex: 1; min-width: 0; }
.lga-top-reviewer-name {
    font-size: 13px; font-weight: 600; color: var(--text, #1A1D22);
}
.lga-top-reviewer-level {
    font-size: 11px; color: var(--text-muted, #888);
}
.lga-top-reviewer-count {
    font-size: 14px; font-weight: 700; color: var(--dusty-blue, #8899AA);
}

/* ═══════════════════════════════════════════════════════
   COLLECTIONS PAGE
   ═══════════════════════════════════════════════════════ */
.lga-collections-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.lga-collection-card {
    background: var(--card, #fff); border: 1px solid var(--line, rgba(0,0,0,.08));
    border-radius: var(--radius-lg, 18px); padding: 16px;
    backdrop-filter: blur(var(--blur, 14px));
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    transition: box-shadow .2s, transform .2s;
}
.lga-collection-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    transform: translateY(-1px);
}
.lga-collection-covers {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    margin-bottom: 12px; border-radius: 10px; overflow: hidden;
    aspect-ratio: 2/1;
}
.lga-collection-covers img {
    width: 100%; height: 100%; object-fit: cover;
}
.lga-collection-cover-empty {
    background: var(--line, rgba(0,0,0,.06));
}
.lga-collection-info { margin-bottom: 10px; }
.lga-collection-name {
    font-size: 15px; font-weight: 600; color: var(--text, #1A1D22);
    margin-bottom: 4px;
}
.lga-collection-meta {
    font-size: 12px; color: var(--text-muted, #888);
}
.lga-collection-meta a { color: var(--dusty-blue, #8899AA); text-decoration: none; }
.lga-collection-meta a:hover { text-decoration: underline; }
.lga-collection-desc {
    font-size: 13px; color: var(--text-secondary, #5A6370);
    line-height: 1.5; margin-top: 6px;
}
.lga-collection-actions {
    display: flex; gap: 8px; margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════
   MODERATION PAGE
   ═══════════════════════════════════════════════════════ */
.lga-mod-table {
    width: 100%; border-collapse: collapse;
    font-size: 13px;
}
.lga-mod-table thead {
    background: var(--card2, #F6F7F9);
}
.lga-mod-table th {
    padding: 10px 12px; text-align: left;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
    color: var(--text-muted, #888);
    border-bottom: 2px solid var(--line, rgba(0,0,0,.08));
}
.lga-mod-table td {
    padding: 12px; border-bottom: 1px solid var(--line, rgba(0,0,0,.06));
    vertical-align: middle;
}
.lga-mod-table tr:hover td {
    background: rgba(0,0,0,.015);
}
.lga-mod-table a { color: var(--dusty-blue, #8899AA); text-decoration: none; }
.lga-mod-table a:hover { text-decoration: underline; }
.lga-mod-status {
    display: inline-block; padding: 2px 10px;
    border-radius: 999px; font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .04em;
}
.lga-mod-status-pending { background: #FEF3C7; color: #92400E; }
.lga-mod-status-resolved { background: #D1FAE5; color: #065F46; }
.lga-mod-status-dismissed { background: #F3F4F6; color: #6B7280; }

/* ═══════════════════════════════════════════════════════
   ADMIN DASHBOARD PAGE
   ═══════════════════════════════════════════════════════ */
.lga-admin-live-bar {
    display: flex; gap: 24px; align-items: center;
    padding: 16px 24px; margin-bottom: 28px;
    background: var(--card, #fff); border: 1px solid var(--line, rgba(0,0,0,.08));
    border-radius: var(--radius-lg, 18px);
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.lga-admin-live-item {
    display: flex; align-items: center; gap: 8px;
}
.lga-admin-live-dot {
    width: 10px; height: 10px; border-radius: 50%;
}
.lga-admin-live-dot.green {
    background: #10B981; box-shadow: 0 0 8px rgba(16,185,129,.4);
    animation: lga-pulse-dot 2s ease infinite;
}
.lga-admin-live-dot.red {
    background: #EF4444; box-shadow: 0 0 8px rgba(239,68,68,.4);
    animation: lga-pulse-dot 2s ease infinite;
}
@keyframes lga-pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
.lga-admin-live-num { font-size: 20px; font-weight: 800; color: var(--text, #1A1D22); }
.lga-admin-live-label { font-size: 13px; color: var(--text-muted, #888); }

.lga-admin-stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 12px; margin-bottom: 32px;
}
@media (max-width: 900px) { .lga-admin-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lga-admin-stats-grid { grid-template-columns: 1fr; } }

.lga-admin-actions-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px; margin-bottom: 32px;
}

.lga-admin-members-wrap {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px;
}
.lga-admin-member-btn {
    display: inline-flex; align-items: center; gap: 6px;
}
.lga-admin-member-av {
    width: 20px; height: 20px; border-radius: 50%; object-fit: cover;
}
.lga-admin-member-time {
    font-size: 10px; color: var(--text-muted, #888); margin-left: 2px;
}

/* ═══════════════════════════════════════════════════════
   LOGIN GATE (for submit pages when not logged in)
   ═══════════════════════════════════════════════════════ */
.lga-login-gate {
    text-align: center; padding: 40px 24px;
    max-width: 500px; margin: 0 auto;
}
.lga-login-gate > p {
    font-size: 16px; color: var(--text-secondary, #5A6370);
    margin-bottom: 20px;
}
.lga-login-gate-actions {
    display: flex; gap: 12px; justify-content: center;
    margin-bottom: 28px;
}
.lga-login-gate-info {
    text-align: left; padding: 20px 24px;
    background: var(--card, #fff); border: 1px solid var(--line, rgba(0,0,0,.08));
    border-radius: var(--radius-lg, 18px);
}
.lga-login-gate-info h3 {
    font-size: 14px; font-weight: 700; margin: 0 0 10px;
    color: var(--text, #1A1D22);
}
.lga-login-gate-info ul {
    margin: 0; padding: 0 0 0 20px;
    font-size: 14px; color: var(--text-secondary, #5A6370);
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════
   DARK MODE — Reviews, Collections, Moderation, Admin
   ═══════════════════════════════════════════════════════ */
body.lga-dark .lga-review-card { background: var(--card); border-color: var(--line); }
body.lga-dark .lga-review-game-title { color: #E5E7EB; }
body.lga-dark .lga-review-card-text { color: #9CA3AF; }
body.lga-dark .lga-collection-card { background: var(--card); border-color: var(--line); }
body.lga-dark .lga-collection-name { color: #E5E7EB; }
body.lga-dark .lga-collection-cover-empty { background: rgba(255,255,255,.06); }
body.lga-dark .lga-mod-table thead { background: rgba(255,255,255,.04); }
body.lga-dark .lga-mod-table th { color: #9CA3AF; border-color: rgba(255,255,255,.08); }
body.lga-dark .lga-mod-table td { border-color: rgba(255,255,255,.06); }
body.lga-dark .lga-mod-table tr:hover td { background: rgba(255,255,255,.02); }
body.lga-dark .lga-mod-status-pending { background: #78350F; color: #FCD34D; }
body.lga-dark .lga-mod-status-resolved { background: #064E3B; color: #6EE7B7; }
body.lga-dark .lga-mod-status-dismissed { background: #374151; color: #9CA3AF; }
body.lga-dark .lga-admin-live-bar { background: var(--card); border-color: var(--line); }
body.lga-dark .lga-admin-live-num { color: #E5E7EB; }
body.lga-dark .lga-rating-dist-label { color: #E5E7EB; }
body.lga-dark .lga-rating-dist-track { background: rgba(255,255,255,.08); }
body.lga-dark .lga-top-reviewer-name { color: #E5E7EB; }
body.lga-dark .lga-top-reviewer-link { border-color: rgba(255,255,255,.06); }
body.lga-dark .lga-login-gate-info { background: var(--card); border-color: var(--line); }
body.lga-dark .lga-login-gate-info h3 { color: #E5E7EB; }

/* ═══════════════════════════════════════════════════════
   TIME MACHINE PAGE
   ═══════════════════════════════════════════════════════ */
.lga-tm { background: #0a0a0a; color: #e0e0e0; }

/* Intro */
.lga-tm-intro {
  position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0a 70%); overflow: hidden;
}
.lga-tm-intro-particles {
  position: absolute; inset: 0; z-index: 0;
}
.lga-tm-intro-particles canvas,
.lga-tm-intro-particles { width: 100%; height: 100%; }
.lga-tm-intro-inner {
  position: relative; z-index: 1; text-align: center; padding: 60px 20px;
}
.lga-tm-intro-icon {
  color: #667eea; margin-bottom: 24px; opacity: .8;
  animation: tmPulse 3s ease-in-out infinite;
}
@keyframes tmPulse { 0%,100%{opacity:.6;transform:scale(1)} 50%{opacity:1;transform:scale(1.05)} }
.lga-tm-title {
  font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700;
  color: #fff; margin: 0 0 12px; letter-spacing: 1px;
}
.lga-tm-subtitle {
  font-size: 1.15rem; color: rgba(255,255,255,.6); max-width: 500px; margin: 0 auto 40px;
}
.lga-tm-scroll-hint {
  color: rgba(255,255,255,.3); animation: tmBounce 2s ease-in-out infinite;
}
@keyframes tmBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* Era Navigation */
.lga-tm-nav {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  z-index: 100; display: flex; flex-direction: column; gap: 16px;
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.lga-tm-nav.is-visible { opacity: 1; pointer-events: auto; }
.lga-tm-nav-dot {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--era-color, #667eea);
  background: transparent; cursor: pointer; position: relative; transition: all .3s;
  text-decoration: none;
}
.lga-tm-nav-dot.is-active { background: var(--era-color, #667eea); box-shadow: 0 0 8px var(--era-color); }
.lga-tm-nav-label {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; font-size: 11px; color: rgba(255,255,255,.5);
  opacity: 0; transition: opacity .2s; pointer-events: none;
}
.lga-tm-nav-dot:hover .lga-tm-nav-label { opacity: 1; }

/* Era Sections */
.lga-tm-era {
  position: relative; min-height: 80vh; padding: 80px 0;
  background: var(--era-bg, #0a0a0a); overflow: hidden;
  opacity: 0; transform: translateY(40px); transition: opacity .8s, transform .8s;
}
.lga-tm-era.is-visible { opacity: 1; transform: translateY(0); }
.lga-tm-era-fx {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.03) 2px, rgba(0,0,0,.03) 4px);
}
.lga-tm-era-inner {
  position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; padding: 0 24px;
}
.lga-tm-era-header { text-align: center; margin-bottom: 48px; }
.lga-tm-era-years {
  display: inline-block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--era-color); border: 1px solid var(--era-color); padding: 4px 16px;
  border-radius: 999px; margin-bottom: 16px; opacity: .8;
}
.lga-tm-era-name {
  font-family: 'Playfair Display', serif; font-size: 2.4rem; color: #fff;
  margin: 0 0 12px; text-shadow: 0 0 30px var(--era-color);
}
.lga-tm-era-desc {
  font-size: 1.05rem; color: rgba(255,255,255,.55); max-width: 600px; margin: 0 auto;
  line-height: 1.7;
}

/* Era Theme Variants */
.lga-tm-era-phosphor .lga-tm-era-fx {
  background: repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(51,255,51,.02) 1px, rgba(51,255,51,.02) 2px);
}
.lga-tm-era-arcade .lga-tm-era-fx {
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255,107,107,.015) 3px, rgba(255,107,107,.015) 4px);
}

/* Game Grid */
.lga-tm-game-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.lga-tm-game-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s, border-color .25s, box-shadow .25s;
}
.lga-tm-game-card.is-visible { opacity: 1; transform: translateY(0); }
.lga-tm-game-card:hover {
  transform: translateY(-4px); border-color: var(--era-color);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.lga-tm-game-img {
  width: 100%; height: 140px; background-size: cover; background-position: center;
  background-color: rgba(255,255,255,.03);
}
.lga-tm-game-img-empty {
  display: flex; align-items: center; justify-content: center;
}
.lga-tm-game-info { padding: 12px 14px; }
.lga-tm-game-title {
  display: block; font-size: 14px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lga-tm-game-meta {
  display: block; font-size: 12px; color: rgba(255,255,255,.4); margin-top: 4px;
}

/* Empty Era */
.lga-tm-era-empty {
  text-align: center; padding: 48px 20px; color: rgba(255,255,255,.4);
  border: 1px dashed rgba(255,255,255,.1); border-radius: 12px;
}

/* Era Footer */
.lga-tm-era-footer { text-align: center; margin-top: 32px; }

/* Outro */
.lga-tm-outro {
  padding: 80px 0; background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
  color: #fff;
}
.lga-tm-outro h2 {
  font-family: 'Playfair Display', serif; font-size: 2rem; margin: 0 0 12px;
}
.lga-tm-outro p { color: rgba(255,255,255,.5); margin-bottom: 24px; }

/* Time Machine Responsive */
@media (max-width: 768px) {
  .lga-tm-title { font-size: 2rem; }
  .lga-tm-era-name { font-size: 1.8rem; }
  .lga-tm-era { padding: 48px 0; min-height: auto; }
  .lga-tm-game-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .lga-tm-game-img { height: 100px; }
  .lga-tm-nav { display: none; }
  .lga-tm-intro { min-height: 60vh; }
}
@media (max-width: 480px) {
  .lga-tm-game-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════
   SIGNAL FLARE PAGE
   ═══════════════════════════════════════════════════════ */

/* Hero */
.lga-flare-hero {
  position: relative; padding: 80px 0 60px; text-align: center;
  background: linear-gradient(135deg, #1a1025 0%, #0f1923 50%, #0a0a14 100%);
  overflow: hidden;
}
.lga-flare-hero-glow {
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,.12) 0%, transparent 70%);
  pointer-events: none;
}
.lga-flare-hero-inner { position: relative; z-index: 1; }
.lga-flare-hero-icon {
  color: #FBBF24; margin-bottom: 20px;
  animation: flarePulse 2s ease-in-out infinite;
}
@keyframes flarePulse { 0%,100%{opacity:.7;transform:scale(1)} 50%{opacity:1;transform:scale(1.1)} }
.lga-flare-title {
  font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 700;
  color: #fff; margin: 0 0 10px;
}
.lga-flare-subtitle {
  font-size: 1.1rem; color: rgba(255,255,255,.55); max-width: 480px; margin: 0 auto 24px;
}
.lga-flare-hero-stats {
  display: flex; gap: 12px; justify-content: center; align-items: center;
  font-size: 14px; color: rgba(255,255,255,.4); flex-wrap: wrap;
}
.lga-flare-hero-stats strong { color: #FBBF24; }

/* Layout */
.lga-flare-layout { padding: 40px 0 60px; background: var(--bg, #F4F6F8); }
.lga-flare-grid { display: grid; grid-template-columns: 1fr 300px; gap: 28px; }

/* Flare Cards */
.lga-flare-card {
  background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius-lg, 16px);
  padding: 24px; margin-bottom: 20px;
  backdrop-filter: blur(var(--blur, 14px));
  transition: box-shadow .2s;
}
.lga-flare-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.lga-flare-status-found { border-left: 4px solid #10B981; }
.lga-flare-status-cold { opacity: .7; }
.lga-flare-card-header { margin-bottom: 14px; }
.lga-flare-card-status { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.lga-flare-badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
}
.lga-flare-badge-active { background: #FEF3C7; color: #92400E; }
.lga-flare-badge-found { background: #D1FAE5; color: #065F46; }
.lga-flare-badge-cold { background: #E5E7EB; color: #6B7280; }
.lga-flare-era {
  font-size: 11px; color: var(--text-muted, #8899AA); background: rgba(0,0,0,.04);
  padding: 2px 8px; border-radius: 999px;
}
.lga-flare-card-title {
  font-size: 1.15rem; font-weight: 700; color: var(--text, #1A2B3C); margin: 0 0 6px;
}
.lga-flare-card-meta {
  font-size: 13px; color: var(--text-muted, #8899AA);
  display: flex; gap: 4px; flex-wrap: wrap;
}
.lga-flare-card-body { margin-bottom: 14px; }
.lga-flare-card-desc { font-size: 14px; line-height: 1.65; color: var(--text-secondary, #5A6B7C); margin: 0; }
.lga-flare-card-clues {
  margin-top: 12px; padding: 12px 16px; background: rgba(251,191,36,.06);
  border-radius: 8px; border-left: 3px solid #FBBF24;
  font-size: 13px; color: var(--text-secondary, #5A6B7C);
}
.lga-flare-card-clues strong { color: var(--text, #1A2B3C); }

/* Response Thread */
.lga-flare-thread {
  border-top: 1px solid rgba(0,0,0,.06); padding-top: 14px; margin-top: 14px;
}
.lga-flare-thread-title {
  font-size: 13px; font-weight: 700; color: var(--text-muted, #8899AA);
  text-transform: uppercase; letter-spacing: .5px; margin: 0 0 12px;
}
.lga-flare-response {
  padding: 10px 14px; margin-bottom: 8px; border-radius: 8px;
  background: rgba(0,0,0,.02); border-left: 3px solid #D1D5DB;
}
.lga-flare-resp-clue { border-left-color: #60A5FA; }
.lga-flare-resp-link { border-left-color: #34D399; }
.lga-flare-resp-memory { border-left-color: #A78BFA; }
.lga-flare-resp-identification { border-left-color: #FBBF24; }
.lga-flare-resp-header {
  display: flex; gap: 8px; align-items: center; font-size: 12px;
  color: var(--text-muted, #8899AA); margin-bottom: 4px;
}
.lga-flare-resp-type { font-weight: 600; }
.lga-flare-resp-text { font-size: 13px; color: var(--text-secondary, #5A6B7C); margin: 0; line-height: 1.5; }

/* Actions */
.lga-flare-card-actions {
  display: flex; gap: 8px; align-items: center; padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.06); margin-top: 14px; flex-wrap: wrap;
}
.lga-flare-vote-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px;
  border: 1px solid rgba(0,0,0,.1); border-radius: 999px; background: transparent;
  font-size: 13px; color: var(--text-muted, #8899AA); cursor: pointer; transition: all .2s;
}
.lga-flare-vote-btn:hover:not(:disabled) { border-color: #FBBF24; color: #FBBF24; }
.lga-flare-vote-btn.is-voted { border-color: #FBBF24; color: #FBBF24; background: rgba(251,191,36,.06); }
.lga-flare-vote-btn:disabled { opacity: .5; cursor: default; }
.lga-flare-respond-toggle,
.lga-flare-found-btn,
.lga-flare-cold-btn {
  padding: 5px 12px; border: 1px solid rgba(0,0,0,.1); border-radius: 999px;
  background: transparent; font-size: 13px; cursor: pointer; transition: all .2s;
  color: var(--text-muted, #8899AA);
}
.lga-flare-respond-toggle:hover { border-color: #60A5FA; color: #60A5FA; }
.lga-flare-found-btn:hover { border-color: #10B981; color: #10B981; }
.lga-flare-cold-btn:hover { border-color: #6B7280; color: #6B7280; }

/* Response Form */
.lga-flare-respond-form {
  padding: 16px; margin-top: 14px; background: rgba(0,0,0,.02);
  border-radius: 8px; border: 1px solid rgba(0,0,0,.06);
}
.lga-flare-resp-types {
  display: flex; gap: 14px; margin-bottom: 10px; font-size: 13px;
  color: var(--text-secondary, #5A6B7C); flex-wrap: wrap;
}
.lga-flare-resp-types label { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.lga-flare-respond-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid rgba(0,0,0,.1);
  border-radius: 8px; font-size: 14px; resize: vertical; margin-bottom: 8px;
  background: #fff; box-sizing: border-box;
}

/* Sidebar */
.lga-flare-sidebar { position: sticky; top: 80px; }
.lga-flare-submit-card {
  background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius-lg, 16px);
  padding: 24px; margin-bottom: 20px;
}
.lga-flare-submit-card h3 {
  font-family: 'Playfair Display', serif; font-size: 1.15rem; margin: 0 0 8px;
  color: var(--text, #1A2B3C);
}
.lga-flare-submit-card p { font-size: 14px; color: var(--text-muted, #8899AA); margin: 0 0 16px; }
.lga-flare-submit-form label {
  display: block; font-size: 13px; font-weight: 600; color: var(--text, #1A2B3C);
  margin-bottom: 4px; margin-top: 12px;
}
.lga-flare-submit-form label:first-of-type { margin-top: 0; }
.lga-flare-submit-form input[type="text"],
.lga-flare-submit-form textarea,
.lga-flare-submit-form select {
  width: 100%; padding: 8px 12px; border: 1px solid rgba(0,0,0,.1);
  border-radius: 8px; font-size: 14px; box-sizing: border-box;
  background: #fff;
}
.lga-flare-submit-form textarea { resize: vertical; }
.lga-flare-tips-card {
  background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius-lg, 16px);
  padding: 24px;
}
.lga-flare-tips-card h4 {
  font-size: 14px; font-weight: 700; color: var(--text, #1A2B3C); margin: 0 0 12px;
}
.lga-flare-tips-card ul {
  margin: 0; padding-left: 18px; font-size: 13px; color: var(--text-secondary, #5A6B7C);
}
.lga-flare-tips-card li { margin-bottom: 6px; line-height: 1.5; }
.lga-flare-empty {
  text-align: center; padding: 48px 20px; color: var(--text-muted, #8899AA);
  border: 1px dashed rgba(0,0,0,.1); border-radius: 12px;
}

/* Signal Flare Responsive */
@media (max-width: 768px) {
  .lga-flare-grid { grid-template-columns: 1fr; }
  .lga-flare-sidebar { position: static; }
  .lga-flare-title { font-size: 2rem; }
  .lga-flare-hero { padding: 48px 20px 40px; }
}

/* ═══════════════════════════════════════════════════════
   TIME MACHINE + SIGNAL FLARE — DARK MODE
   ═══════════════════════════════════════════════════════ */
/* Time Machine is inherently dark, no dark overrides needed */
/* Signal Flare dark mode */
body.lga-dark .lga-flare-layout { background: var(--bg, #0F1419); }
body.lga-dark .lga-flare-card { background: var(--card, #1E2630); border-color: var(--line, #2A3440); }
body.lga-dark .lga-flare-card-title { color: #E5E7EB; }
body.lga-dark .lga-flare-card-desc { color: #9CA3AF; }
body.lga-dark .lga-flare-card-clues { background: rgba(251,191,36,.08); }
body.lga-dark .lga-flare-card-clues strong { color: #E5E7EB; }
body.lga-dark .lga-flare-thread { border-color: rgba(255,255,255,.06); }
body.lga-dark .lga-flare-response { background: rgba(255,255,255,.03); }
body.lga-dark .lga-flare-card-actions { border-color: rgba(255,255,255,.06); }
body.lga-dark .lga-flare-vote-btn { border-color: rgba(255,255,255,.1); color: #9CA3AF; }
body.lga-dark .lga-flare-respond-toggle,
body.lga-dark .lga-flare-found-btn,
body.lga-dark .lga-flare-cold-btn { border-color: rgba(255,255,255,.1); color: #9CA3AF; }
body.lga-dark .lga-flare-respond-form { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.06); }
body.lga-dark .lga-flare-respond-form textarea { background: var(--card, #1E2630); border-color: rgba(255,255,255,.1); color: #E5E7EB; }
body.lga-dark .lga-flare-submit-card,
body.lga-dark .lga-flare-tips-card { background: var(--card, #1E2630); border-color: var(--line, #2A3440); }
body.lga-dark .lga-flare-submit-card h3,
body.lga-dark .lga-flare-tips-card h4 { color: #E5E7EB; }
body.lga-dark .lga-flare-submit-form input,
body.lga-dark .lga-flare-submit-form textarea,
body.lga-dark .lga-flare-submit-form select { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: #E5E7EB; }
body.lga-dark .lga-flare-empty { border-color: rgba(255,255,255,.1); }
body.lga-dark .lga-flare-badge-active { background: #78350F; color: #FCD34D; }
body.lga-dark .lga-flare-badge-found { background: #064E3B; color: #6EE7B7; }
body.lga-dark .lga-flare-badge-cold { background: #374151; color: #9CA3AF; }

/* =============================================================
   DONATE PAGE
   ============================================================= */
.lga-donate-hero {
    padding: 120px 24px 60px;
    text-align: center;
}
.lga-donate-hero-inner { max-width: 600px; margin: 0 auto; }
.lga-donate-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 12px;
}
.lga-donate-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    margin: 0;
}
.lga-donate-body {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px 80px;
}
.lga-donate-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 40px;
}
.lga-donate-card {
    background: rgba(255,255,255,.68);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 16px;
    padding: 32px;
}
.lga-donate-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 14px;
}
.lga-donate-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
    margin: 0 0 14px;
}
.lga-donate-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.lga-donate-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.lga-donate-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}
.lga-donate-list li strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 2px;
}
.lga-donate-list li span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}
.lga-donate-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}
.lga-donate-amt {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.12);
    background: rgba(255,255,255,.68);
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font);
    color: var(--text);
    cursor: pointer;
    transition: all .2s;
}
.lga-donate-amt:hover {
    border-color: #8899AA;
    background: rgba(136,153,170,.08);
}
.lga-donate-amt.is-selected {
    background: #8899AA;
    color: #fff;
    border-color: #8899AA;
}
.lga-donate-custom-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.68);
    padding: 0 14px;
}
.lga-donate-dollar {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-muted);
}
.lga-donate-custom {
    border: none;
    background: transparent;
    outline: none;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font);
    color: var(--text);
    width: 80px;
    padding: 10px 4px;
}
.lga-donate-custom::placeholder { color: var(--text-muted); font-weight: 500; }
.lga-donate-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    margin: 24px 0 16px;
}
.lga-donate-note {
    font-size: 12px !important;
    color: var(--text-muted) !important;
    text-align: center;
}
.lga-donate-other {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,.06);
}
.lga-donate-other p { margin: 0 0 8px; }
.lga-donate-other ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lga-donate-other li {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
}
.lga-donate-other li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #8899AA;
}
.lga-donate-other a { color: #8899AA; text-decoration: underline; }
.lga-donate-other a:hover { color: var(--heading); }
.lga-donate-transparency {
    background: rgba(255,255,255,.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0,0,0,.04);
    border-radius: 12px;
    padding: 24px 28px;
    text-align: center;
}
.lga-donate-transparency h3 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 8px;
}
.lga-donate-transparency p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
    max-width: 700px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .lga-donate-wrap { grid-template-columns: 1fr; }
    .lga-donate-hero { padding: 100px 20px 40px; }
}

/* Donate — Dark Mode */
body.lga-dark .lga-donate-card { background: var(--card, rgba(30,38,48,.68)); border-color: var(--border, rgba(255,255,255,.08)); }
body.lga-dark .lga-donate-amt { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: #E5E7EB; }
body.lga-dark .lga-donate-amt:hover { border-color: #8899AA; background: rgba(136,153,170,.12); }
body.lga-dark .lga-donate-amt.is-selected { background: #8899AA; color: #fff; }
body.lga-dark .lga-donate-custom-wrap { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
body.lga-dark .lga-donate-custom { color: #E5E7EB; }
body.lga-dark .lga-donate-transparency { background: rgba(30,38,48,.45); border-color: rgba(255,255,255,.06); }
body.lga-dark .lga-donate-other { border-top-color: rgba(255,255,255,.08); }
