/**
 * SocialeTicket Panel Theme - Obsidian Cyber Gaming HUD & Edge Lighting
 * 
 * DESIGN SPECIFICATION:
 * 1. LOCAL GAMING FONTS:
 *    - Orbitron (500-900): Chiselled cybernetic display font for game titles, ranks, telemetry headers.
 *    - Rajdhani (500-700): High-energy tactical esports HUD font for action buttons, tabs, pill labels.
 *    - Oxanium (500-800): 45-degree chamfered sci-fi gaming geometry for secondary HUD badges.
 *    - Plus Jakarta Sans (400-800): Crystal clear, high-contrast readable cyber text for comments/feed copy.
 *    - JetBrains Mono (400-800): Tactical cyber console typography for balances, hashes, coordinates.
 *    Self-hosted locally from /fonts/gaming-fonts.css & /fonts/noir-fonts.css (zero external latency).
 * 
 * 2. EDGY GAMING & PRISMATIC EDGE-LIGHTING EFFECTS:
 *    - Volcanic obsidian crystalline void canvas with cyan/violet nebula glows and 40px HUD laser grid.
 *    - Razor-sharp dual-tone edge lighting (Electric Cyan #00f0ff top blade, Cyber Ultraviolet #a855f7 base rim).
 *    - Multi-layered edge bloom & laser glow reflections on all cards, modals, and interactive controls.
 *    - Dynamic hover reactions: Laser edge pulse, prismatic outer bloom, and tactile gaming depress feel.
 *    - High-contrast cockpit HUD typography (pure glowing white text, zero faded gray leaks).
 *    - Chamfered gaming micro-radiuses (14px -> 10px -> 8px -> 6px -> 4px).
 */

@import url('/fonts/gaming-fonts.css');
@import url('/fonts/noir-fonts.css');

:root {
    /* Landing Page & Header Sync Tokens */
    --header-bg: #080e1e;
    --header-text: #ffffff;
    --header-border: #60a5fa;
    --mobile-nav-bg: #ffffff;
    --mobile-nav-text: #0f172a;
    --mobile-nav-border: #e2e8f0;

    --panel-theme-name: 'obsidian';

    /* ==========================================================================
       CHAMFERED GAMING CORNER RADIUS HIERARCHY
       ========================================================================== */
    --radius-2xl: 14px;   /* Major chassis panels, modals, floating hero containers */
    --radius-xl: 10px;    /* Feed post cards, glass cards, poll cards, consensus widgets */
    --radius-lg: 8px;     /* Nested option cards, reaction bar capsule, dropdown menus */
    --radius-md: 6px;     /* Primary/secondary buttons, form inputs, textareas */
    --radius-sm: 4px;     /* Badges, code pills, status chips, inner tags */
    --radius-full: 9999px;/* Avatars, round toggle buttons, trait filter pills */

    /* ==========================================================================
       TACTICAL GAMING TYPOGRAPHY HIERARCHY (LOCAL FONTS)
       ========================================================================== */
    --font-heading: 'Orbitron', 'Oxanium', 'Rajdhani', sans-serif;
    --font-display: 'Orbitron', 'Oxanium', sans-serif;
    --font-tactical: 'Rajdhani', 'Oxanium', sans-serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

    /* ==========================================================================
       OBSIDIAN CRYSTAL VOID FOUNDATION
       ========================================================================== */
    --bg-deep: #020409;
    --obsidian-void: #020409;
    --obsidian-space: #050814;
    --obsidian-surface: #070c18;
    --obsidian-card: rgba(8, 14, 28, 0.90);
    --obsidian-card-hover: rgba(12, 20, 38, 0.95);
    --obsidian-elevated: rgba(16, 24, 46, 0.92);

    --glass-panel: rgba(8, 14, 28, 0.90);
    --glass-border: rgba(0, 240, 255, 0.22);
    --glass-border-hover: #00f0ff;

    /* Surface Hierarchy Aliases */
    --surface-bg: #020409;
    --surface-card: rgba(8, 14, 28, 0.90);
    --surface-card-border: rgba(0, 240, 255, 0.22);
    --surface-card-border-hover: #00f0ff;
    --surface-header: rgba(8, 14, 30, 0.98);
    --surface-item: rgba(12, 18, 36, 0.85);
    --surface-item-hover: rgba(18, 28, 54, 0.92);
    --surface-border-subtle: rgba(0, 240, 255, 0.12);
    --surface-border-medium: rgba(0, 240, 255, 0.25);
    --surface-border-strong: #00f0ff;

    /* ==========================================================================
       EDGY NEON LASER EDGE-LIGHTING PALETTE
       ========================================================================== */
    --laser-cyan: #00f0ff;           /* Electric Cyan Primary Edge Pulse */
    --laser-cyan-glow: rgba(0, 240, 255, 0.45);
    --laser-cyan-subtle: rgba(0, 240, 255, 0.15);
    --laser-cyan-border: rgba(0, 240, 255, 0.35);

    --laser-violet: #a855f7;         /* Cyber Ultraviolet Secondary Edge */
    --laser-violet-glow: rgba(168, 85, 247, 0.45);
    --laser-violet-subtle: rgba(168, 85, 247, 0.15);
    --laser-violet-border: rgba(168, 85, 247, 0.35);

    --laser-magenta: #f43f5e;        /* Plasma Crimson Hazard Edge */
    --laser-magenta-glow: rgba(244, 63, 94, 0.45);

    --laser-emerald: #00ff9d;        /* Tactical Matrix Green Edge */
    --laser-emerald-glow: rgba(0, 255, 157, 0.45);

    --laser-gold: #fbbf24;           /* Legendary Ingot Gold Edge */
    --laser-gold-glow: rgba(251, 191, 36, 0.45);

    /* ==========================================================================
       HIGH-CONTRAST COCKPIT HUD TYPOGRAPHY (PURE VIVID LEGIBILITY)
       ========================================================================== */
    --text-primary: #f8fafc;         /* Pure Crystal Holo White (100% Contrast) */
    --text-secondary: #cbd5e1;       /* Tactical Silver (95% Contrast) */
    --text-tertiary: #94a3b8;        /* Cyan Slate (85% Contrast) */
    --text-muted: #64748b;           /* Cockpit Dim Neutral (70% Contrast) */
    --text-subtle: #475569;          /* Deep Sub-Label */
    --text-cyan: #00f0ff;            /* Electric Laser Highlight */
    --text-violet: #c084fc;          /* Cyber Ultraviolet Highlight */
    --text-emerald: #00ff9d;         /* Matrix Green Highlight */

    /* Avatar & Profile Tokens */
    --avatar-border: #00f0ff;
    --avatar-bg: #040814;
    --avatar-glow: rgba(0, 240, 255, 0.50);
    --user-name-color: #ffffff;
    --user-name-hover: #00f0ff;
    --mobile-nav-bg: rgba(6, 10, 22, 0.98);
    --mobile-nav-border: rgba(0, 240, 255, 0.30);
    --mobile-nav-active: #00f0ff;

    /* Global Accent Mappings */
    --accent-cyan: #00f0ff;
    --accent-amber: #fbbf24;
    --accent-emerald: #00ff9d;
    --accent-rose: #f43f5e;
    --accent-sky: #38bdf8;
    --accent-violet: #a855f7;
}

/* ==========================================================================
   1. GLOBAL OBSIDIAN VOID CANVAS & HUD LASER GRID
   ========================================================================== */
body,
body.admin-page,
html.admin-page,
[data-admin-page="true"],
.admin-main {
    background-color: #020409 !important;
    background-image:
        radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 0% 50%, rgba(0, 255, 157, 0.05) 0%, transparent 45%),
        linear-gradient(rgba(0, 240, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.025) 1px, transparent 1px),
        linear-gradient(160deg, #050814 0%, #020409 100%) !important;
    background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px, 100% 100% !important;
    background-attachment: fixed !important;
    color: var(--text-primary) !important;
    font-family: var(--font-sans) !important;
    letter-spacing: -0.012em !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Tabular Coordinates & Telemetry Metrics (JetBrains Mono) */
code, kbd, samp, pre, .font-mono, [class*="font-mono"] {
    font-family: var(--font-mono) !important;
    font-feature-settings: 'tnum' on, 'zero' on, 'cv05' on !important;
    letter-spacing: -0.015em !important;
}

/* Chiselled Cyber Headings (Orbitron + Oxanium) */
h1, h2, h3, h4, h5, h6,
.modal-title,
.panel-header,
[data-composer-label="title"],
#user-menu-dossier-name {
    font-family: var(--font-heading) !important;
    color: var(--text-primary) !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.40) !important;
    line-height: 1.25 !important;
}

/* Card Titles & Esports Headers */
.feed-post h1,
.feed-post h2,
.feed-post h3,
.feed-post .card-title,
.card-title,
.st-editorial-title {
    font-family: var(--font-tactical) !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.30) !important;
}

/* Post Body Copy & Reader Commentary (High-Contrast Pure White) */
p, span, li, a, input, textarea, button, select, label {
    font-family: var(--font-sans);
}

.feed-post p,
p.text-slate-200,
p.text-slate-300,
[id*="comment-content-"] {
    color: var(--text-primary) !important;
    line-height: 1.62 !important;
    font-weight: 450 !important;
}

/* Metadata, Timestamps & Subtle Labels */
.text-slate-400,
.text-slate-500,
.post-timestamp,
.text-xs.text-slate-400 {
    color: var(--text-tertiary) !important;
}

/* Text Selection: Electric Cyan & Deep Obsidian Void */
::selection {
    background: #00f0ff !important;
    color: #020409 !important;
}

/* ==========================================================================
   2. RAZOR-SHARP LASER EDGE LIGHTING & DUAL-TONE RIM BLOOM
   ========================================================================== */
.shadow-2xl, [class*="shadow-2xl"] {
    box-shadow: 
        0 0 0 1px rgba(0, 240, 255, 0.20),
        0 12px 40px -4px rgba(0, 0, 0, 0.90),
        0 0 25px rgba(0, 240, 255, 0.20) !important;
}

.shadow-xl, [class*="shadow-xl"] {
    box-shadow: 
        0 0 0 1px rgba(0, 240, 255, 0.16),
        0 8px 30px -4px rgba(0, 0, 0, 0.85),
        0 0 20px rgba(0, 240, 255, 0.15) !important;
}

.shadow-lg, [class*="shadow-lg"] {
    box-shadow: 
        0 0 0 1px rgba(0, 240, 255, 0.14),
        0 6px 20px -2px rgba(0, 0, 0, 0.80),
        0 0 15px rgba(0, 240, 255, 0.12) !important;
}

.shadow-md, [class*="shadow-md"] {
    box-shadow: 
        0 0 0 1px rgba(0, 240, 255, 0.10),
        0 4px 14px -1px rgba(0, 0, 0, 0.70) !important;
}

.shadow-sm, [class*="shadow-sm"] {
    box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.08), 0 2px 6px rgba(0, 0, 0, 0.60) !important;
}

.shadow-inner, [class*="shadow-inner"] {
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.85), inset 0 0 10px rgba(0, 240, 255, 0.08) !important;
}

[class*="shadow-black"],
[class*="shadow-cyan-950"],
[class*="shadow-amber-950"],
[class*="shadow-rose-950"],
[class*="shadow-slate-950"] {
    box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.18), 0 10px 32px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 240, 255, 0.16) !important;
}

/* ==========================================================================
   3. VOLCANIC OBSIDIAN GLASS CONTAINERS & EDGE-LIT HUD CARDS
   ========================================================================== */
.glass-panel,
.glass-card,
.modal-content,
#admin-heuristics-suite,
.feed-post,
article.feed-post,
.st-card {
    background: linear-gradient(135deg, rgba(8, 14, 28, 0.88) 0%, rgba(3, 6, 15, 0.94) 100%) !important;
    border: 1px solid rgba(0, 240, 255, 0.22) !important;
    border-top: 1.5px solid rgba(0, 240, 255, 0.80) !important;
    border-bottom: 1.5px solid rgba(168, 85, 247, 0.50) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: 
        0 0 0 1px rgba(0, 240, 255, 0.12),
        0 8px 32px -4px rgba(0, 0, 0, 0.85),
        0 0 20px -5px rgba(0, 240, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.20s ease !important;
    position: relative;
    overflow: hidden;
}

/* Card Hover Elevation: Laser Edge Bloom & Prismatic Dispersion */
.feed-post:hover,
.glass-card:hover,
.st-card:hover {
    transform: translateY(-3px) scale(1.002) !important;
    border-color: rgba(0, 240, 255, 0.65) !important;
    border-top-color: #00f0ff !important;
    box-shadow: 
        0 0 0 1px rgba(0, 240, 255, 0.50),
        0 16px 48px -8px rgba(0, 0, 0, 0.95),
        0 0 35px rgba(0, 240, 255, 0.35),
        0 0 15px rgba(168, 85, 247, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 0 20px rgba(0, 240, 255, 0.08) !important;
}

/* Top Laser Line Shimmer Animation for Featured Cards */
.glass-card::before,
.feed-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #00f0ff, #ffffff, #a855f7, transparent);
    transition: left 0.75s ease;
    pointer-events: none;
    z-index: 2;
}

.glass-card:hover::before,
.feed-post:hover::before {
    left: 140%;
}

/* Inner Divider Lines between Post Sections */
.feed-post .border-b,
.feed-post .border-t,
.glass-card .border-b,
.glass-card .border-t {
    border-color: rgba(0, 240, 255, 0.15) !important;
}

/* ==========================================================================
   4. CHASSIS HEADER & ASIDE NAVIGATION (CYAN LASER MOLDING)
   ========================================================================== */
header,
aside {
    background: linear-gradient(180deg, rgba(8, 14, 30, 0.98) 0%, rgba(3, 6, 16, 0.99) 100%) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
    backdrop-filter: blur(20px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
}

header {
    border-bottom: 2px solid #00f0ff !important;
    box-shadow: 0 4px 30px rgba(0, 240, 255, 0.25), 0 10px 40px rgba(0, 0, 0, 0.9) !important;
}

aside {
    border-right: 2px solid rgba(0, 240, 255, 0.35) !important;
    box-shadow: 6px 0 30px rgba(0, 0, 0, 0.8) !important;
}

/* Header & Aside Title Typography */
header h1, header h2, header h3,
header span.font-bold,
aside h1, aside h2, aside h3 {
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    letter-spacing: 0.08em !important;
    text-shadow: 0 0 14px rgba(0, 240, 255, 0.5) !important;
}

/* Aside Nav Items: Tactical Cockpit HUD */
aside nav a {
    border-radius: var(--radius-md) !important;
    color: var(--text-secondary) !important;
    transition: all 0.20s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid transparent !important;
    font-family: var(--font-tactical) !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

aside nav a:hover {
    background: rgba(0, 240, 255, 0.08) !important;
    color: #00f0ff !important;
    border-color: rgba(0, 240, 255, 0.35) !important;
    transform: translateX(4px) !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.25) !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.6) !important;
}

aside nav a.active,
aside nav a[class*="active"] {
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.24) 0%, rgba(168, 85, 247, 0.12) 100%) !important;
    color: #ffffff !important;
    border: 1px solid #00f0ff !important;
    border-left: 3.5px solid #00f0ff !important;
    font-weight: 800 !important;
    box-shadow: 
        0 0 18px rgba(0, 240, 255, 0.45),
        inset 0 0 12px rgba(0, 240, 255, 0.15) !important;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.8) !important;
}

aside nav a.active i,
aside nav a.active span,
aside nav a.active svg {
    color: #00f0ff !important;
}

/* ==========================================================================
   5. TACTICAL GAMING ACTIONS & EDGE-LIT BUTTONS
   ========================================================================== */

/* Primary Action Buttons (Electric Cyan Laser Rim & Cyber Gradient) */
button[class*="from-amber-500"],
button[class*="bg-amber-500"],
button[class*="bg-amber-600"],
button[class*="bg-cyan-500"],
.btn-primary,
#btn-submit-post,
#post-btn-full,
button.bg-primary,
button[type="submit"]:not([class*="bg-white"]):not([class*="bg-transparent"]) {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.25) 0%, rgba(168, 85, 247, 0.35) 100%), #040914 !important;
    color: #ffffff !important;
    border: 1.5px solid #00f0ff !important;
    font-family: var(--font-tactical) !important;
    font-weight: 700 !important;
    letter-spacing: 0.10em !important;
    text-transform: uppercase !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 
        0 0 15px rgba(0, 240, 255, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.6) !important;
    transition: all 0.20s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}

button[class*="from-amber-500"] *,
button[class*="bg-amber-500"] *,
button[class*="bg-amber-600"] *,
button[class*="bg-cyan-500"] *,
.btn-primary *,
#btn-submit-post *,
#post-btn-full *,
button.bg-primary *,
button[type="submit"]:not([class*="bg-white"]):not([class*="bg-transparent"]) * {
    color: #ffffff !important;
}

/* Button Hover: Hyper Laser Surge */
button[class*="from-amber-500"]:hover,
button[class*="bg-amber-500"]:hover,
button[class*="bg-amber-600"]:hover,
button[class*="bg-cyan-500"]:hover,
.btn-primary:hover,
#btn-submit-post:hover,
#post-btn-full:hover,
button.bg-primary:hover {
    background: linear-gradient(135deg, #00f0ff 0%, #a855f7 100%) !important;
    color: #020409 !important;
    border-color: #ffffff !important;
    box-shadow: 
        0 0 25px rgba(0, 240, 255, 0.85),
        0 0 45px rgba(168, 85, 247, 0.60) !important;
    text-shadow: none !important;
    transform: translateY(-2px) scale(1.02) !important;
}

button[class*="from-amber-500"]:hover *,
button[class*="bg-amber-500"]:hover *,
button[class*="bg-cyan-500"]:hover *,
.btn-primary:hover * {
    color: #020409 !important;
}

/* Tactile Active Press */
button[class*="from-amber-500"]:active,
button[class*="bg-amber-500"]:active,
.btn-primary:active,
#btn-submit-post:active,
#post-btn-full:active {
    transform: scale(0.96) translateY(0) !important;
}

/* Secondary Actions: Stealth Cockpit Wireframe */
button[class*="bg-white/5"],
button[class*="bg-white/10"],
button[class*="bg-slate-900"],
button[class*="bg-slate-800"],
.btn-secondary {
    background: rgba(12, 18, 36, 0.70) !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-tactical) !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.50) !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

button[class*="bg-white/5"]:hover,
button[class*="bg-white/10"]:hover,
button[class*="bg-slate-900"]:hover,
button[class*="bg-slate-800"]:hover,
.btn-secondary:hover {
    background: rgba(18, 28, 54, 0.90) !important;
    border-color: #00f0ff !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.35) !important;
    transform: translateY(-1px) !important;
}

button[class*="bg-white/5"]:active,
.btn-secondary:active {
    transform: scale(0.97) !important;
}

/* Activity Filter Chips */
.activity-chip:not(.active) {
    background-color: rgba(8, 14, 28, 0.80) !important;
    color: var(--text-secondary) !important;
    border: 1px solid rgba(0, 240, 255, 0.20) !important;
    border-radius: var(--radius-md) !important;
    font-family: var(--font-tactical) !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    transition: all 0.18s ease !important;
}

.activity-chip:not(.active):hover {
    background-color: rgba(16, 26, 48, 0.90) !important;
    border-color: #00f0ff !important;
    color: #00f0ff !important;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.30) !important;
    transform: translateY(-1px) !important;
}

.activity-chip.active {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.30) 0%, rgba(168, 85, 247, 0.35) 100%), #040914 !important;
    color: #ffffff !important;
    border: 1.5px solid #00f0ff !important;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.50), inset 0 0 8px rgba(0, 240, 255, 0.20) !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.7) !important;
    border-radius: var(--radius-md) !important;
    font-weight: 700 !important;
}

.activity-chip.active * {
    color: #ffffff !important;
}

/* ==========================================================================
   6. COCKPIT HUD FORM CONTROLS & EDGE-LIT INPUTS
   ========================================================================== */
input, textarea, select,
.form-input, .auth-input, .scl-input, .premium-input,
#searchInput,
#top-wallets-search,
#admin-drawer-search,
#bottomGoToPageInput,
#goToPageInput,
#composer-textarea {
    background-color: #040814 !important;
    color: var(--text-primary) !important;
    font-family: var(--font-sans) !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.85) !important;
    transition: border-color 0.20s ease, box-shadow 0.20s ease !important;
}

input:focus, textarea:focus, select:focus,
.form-input:focus, .auth-input:focus, .scl-input:focus, .premium-input:focus,
#searchInput:focus, #top-wallets-search:focus, #admin-drawer-search:focus,
#bottomGoToPageInput:focus, #goToPageInput:focus, #composer-textarea:focus,
input[type="text"]:focus, input[type="search"]:focus {
    background-color: #060c20 !important;
    color: #ffffff !important;
    border-color: #00f0ff !important;
    outline: none !important;
    box-shadow: 
        0 0 0 2px rgba(0, 240, 255, 0.35),
        0 0 20px rgba(0, 240, 255, 0.30),
        inset 0 0 8px rgba(0, 240, 255, 0.15) !important;
}

::placeholder {
    color: var(--text-muted) !important;
    font-weight: 400 !important;
}

/* Code Pills & Terminal Coordinates */
code,
.font-mono.px-1,
.font-mono.px-1\.5,
.font-mono.px-2 {
    background-color: rgba(0, 240, 255, 0.10) !important;
    color: #00f0ff !important;
    border: 1px solid rgba(0, 240, 255, 0.30) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 700 !important;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.15) !important;
}

pre, pre code {
    background-color: #040814 !important;
    color: #00f0ff !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}

/* ==========================================================================
   7. NAVIGATION, USER DRAWER & EDGE-LIT GAMING MODALS
   ========================================================================== */
nav.glass-panel,
header.glass-panel {
    background: linear-gradient(180deg, rgba(8, 14, 30, 0.98) 0%, rgba(3, 6, 16, 0.99) 100%) !important;
    border-bottom: 2px solid #00f0ff !important;
    backdrop-filter: blur(20px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
    box-shadow: 0 4px 25px rgba(0, 240, 255, 0.22) !important;
}

/* Navigation Dropdown Menus */
.nav-dropdown-menu,
.menu-anchor,
.fast-dropdown-menu,
#post-type-filter-menu,
#composer-type-menu {
    background: linear-gradient(180deg, #0b1224 0%, #050814 100%) !important;
    border: 1px solid rgba(0, 240, 255, 0.35) !important;
    border-top: 3px solid #00f0ff !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 240, 255, 0.25) !important;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu button:hover,
.menu-anchor a:hover,
.menu-anchor button:hover {
    background-color: rgba(0, 240, 255, 0.12) !important;
    color: #00f0ff !important;
}

/* User Drawer Menu (Cybernetic Command Bunker) */
#user-menu {
    background: linear-gradient(180deg, #090e20 0%, #03050c 100%) !important;
    border-left: 2px solid #00f0ff !important;
    border-top-left-radius: var(--radius-2xl) !important;
    border-bottom-left-radius: var(--radius-2xl) !important;
    box-shadow: -10px 0 45px rgba(0, 240, 255, 0.25), -20px 0 60px rgba(0, 0, 0, 0.9) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#user-menu h1, #user-menu h2, #user-menu h3,
#user-menu span, #user-menu p {
    color: #ffffff !important;
}

#user-menu .text-slate-400,
#user-menu .text-slate-500 {
    color: var(--text-tertiary) !important;
}

#user-menu a:hover,
#user-menu button:hover {
    background-color: rgba(0, 240, 255, 0.12) !important;
    color: #00f0ff !important;
}

#user-menu-backdrop {
    background: rgba(2, 4, 11, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: opacity 0.25s ease, backdrop-filter 0.25s ease !important;
}

/* Edge-Lit Gaming Modals */
.modal-container .modal-content {
    background: linear-gradient(180deg, #0a1022 0%, #040712 100%) !important;
    border: 1px solid rgba(0, 240, 255, 0.35) !important;
    border-top: 3px solid #00f0ff !important;
    border-radius: var(--radius-2xl) !important;
    box-shadow: 
        0 24px 60px -12px rgba(0, 0, 0, 0.95),
        0 0 35px rgba(0, 240, 255, 0.30) !important;
}

.modal-container {
    background: rgba(2, 4, 11, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

/* User Registry Table (Cyber Arena Standings) */
table thead,
thead[class*="bg-slate-900"] {
    background: #090f22 !important;
    border-bottom: 2px solid #00f0ff !important;
}

table thead th {
    color: #00f0ff !important;
    font-family: var(--font-tactical) !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

table tbody tr {
    border-bottom: 1px solid rgba(0, 240, 255, 0.10) !important;
    transition: background-color 0.15s ease !important;
}

table tbody tr:hover {
    background-color: rgba(0, 240, 255, 0.08) !important;
}

/* Player Avatars: Prismatic Laser Rings */
#my-avatar-desktop,
#my-avatar-mobile,
#menu-avatar,
.user-avatar,
img.user-avatar,
.admin-user-avatar {
    border: 2px solid #00f0ff !important;
    background-color: #040814 !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.50) !important;
    border-radius: var(--radius-full) !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.2s ease,
                box-shadow 0.2s ease !important;
}

#my-avatar-desktop:hover,
#my-avatar-mobile:hover,
#menu-avatar:hover {
    border-color: #ffffff !important;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.85), 0 0 15px rgba(168, 85, 247, 0.6) !important;
    transform: scale(1.10) !important;
}

/* Live Status Pulse Indicator */
@keyframes cyber-pulse {
    0%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 6px #00ff9d);
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        filter: drop-shadow(0 0 14px #00ff9d);
        transform: scale(1.15);
    }
}

#my-online-status-desktop {
    color: #00ff9d !important;
    animation: cyber-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

/* ==========================================================================
   8. MOBILE BOTTOM GAMING CONTROLLER NAVIGATION
   ========================================================================== */
.mobile-bottom-nav,
#global-nav,
#mobile-bottom-nav,
nav.mobile-bottom-nav {
    background: linear-gradient(180deg, rgba(8, 14, 30, 0.98) 0%, rgba(3, 6, 16, 0.99) 100%) !important;
    border-top: 2px solid #00f0ff !important;
    backdrop-filter: blur(20px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
    box-shadow: 0 -4px 30px rgba(0, 240, 255, 0.30), 0 -10px 40px rgba(0, 0, 0, 0.9) !important;
}

.mobile-bottom-nav a,
#global-nav a,
#mobile-bottom-nav a {
    color: var(--text-tertiary) !important;
    transition: color 0.15s ease, transform 0.15s ease !important;
}

.mobile-bottom-nav a.text-cyan-400,
.mobile-bottom-nav a.active,
#global-nav a.active,
#global-nav a.text-cyan-400 {
    color: #00f0ff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.8) !important;
}

.mobile-bottom-nav a.active i,
#global-nav a.active i {
    transform: translateY(-2px) scale(1.1) !important;
    color: #00f0ff !important;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.9)) !important;
}

/* ==========================================================================
   9. DATA STAT CARDS & ESPORTS LEADERBOARD WIDGETS
   ========================================================================== */
.stat-card-gold {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(8, 14, 28, 0.90) 100%) !important;
    border: 1px solid rgba(251, 191, 36, 0.40) !important;
    border-top: 2.5px solid #fbbf24 !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.20) !important;
}

.stat-card-gold .stat-value {
    color: #fbbf24 !important;
    font-weight: 800 !important;
    font-family: var(--font-display) !important;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.6) !important;
}

.stat-card-cyan {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.12) 0%, rgba(8, 14, 28, 0.90) 100%) !important;
    border: 1px solid rgba(0, 240, 255, 0.40) !important;
    border-top: 2.5px solid #00f0ff !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.20) !important;
}

.stat-card-cyan .stat-value {
    color: #00f0ff !important;
    font-weight: 800 !important;
    font-family: var(--font-display) !important;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.6) !important;
}

/* Tabs & Switchers */
.tab-container {
    background-color: #040814 !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    border-radius: var(--radius-md) !important;
    padding: 3px !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8) !important;
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.35) 0%, rgba(168, 85, 247, 0.35) 100%), #040914 !important;
    color: #ffffff !important;
    border: 1px solid #00f0ff !important;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.45) !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.7) !important;
    font-weight: 700 !important;
    border-radius: var(--radius-sm) !important;
}

.tab-btn.active * {
    color: #ffffff !important;
}

/* Wallet & Financial Telemetry Blocks */
.wallet-balance-box {
    background: linear-gradient(135deg, rgba(8, 14, 28, 0.90) 0%, rgba(3, 6, 15, 0.94) 100%) !important;
    border: 1px solid rgba(0, 240, 255, 0.30) !important;
    border-top: 2.5px solid #00f0ff !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.18) !important;
}

/* ==========================================================================
   10. REACTION BAR CAPSULE & MICRO-ANIMATED GAMING CONTROLS
   ========================================================================== */
.reaction-bar {
    background: rgba(6, 10, 22, 0.95) !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    border-radius: var(--radius-lg) !important;
    padding: 3px 6px !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15) !important;
}

.reaction-btn {
    border-radius: var(--radius-sm) !important;
    font-family: var(--font-mono) !important;
    font-weight: 700 !important;
    padding: 4px 8px !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid transparent !important;
    color: var(--text-secondary) !important;
}

.reaction-btn:hover {
    background: rgba(0, 240, 255, 0.12) !important;
    border-color: #00f0ff !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.35) !important;
    transform: translateY(-1.5px) scale(1.05) !important;
}

.reaction-btn:active {
    transform: scale(0.95) !important;
}

.reaction-btn i {
    transition: transform 0.20s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.reaction-btn:hover i {
    transform: scale(1.20) !important;
}

/* Active Reaction Button States with Neon Glow */
.reaction-btn[title="Love"].text-pink-500,
.reaction-btn.text-pink-500 {
    background: rgba(244, 63, 94, 0.18) !important;
    border-color: #f43f5e !important;
    color: #fb7185 !important;
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.4) !important;
}

.reaction-btn[title="Like"].text-sky-500,
.reaction-btn.text-sky-500 {
    background: rgba(56, 189, 248, 0.18) !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.4) !important;
}

.reaction-btn[title="Dislike"].text-orange-500,
.reaction-btn.text-orange-500 {
    background: rgba(249, 115, 22, 0.18) !important;
    border-color: #f97316 !important;
    color: #fb923c !important;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.4) !important;
}

.reaction-btn[title="Rebuke"].text-red-500,
.reaction-btn.text-red-500 {
    background: rgba(239, 68, 68, 0.18) !important;
    border-color: #ef4444 !important;
    color: #f87171 !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4) !important;
}

.reaction-btn[title="Best"].text-yellow-400,
.reaction-btn.text-yellow-400 {
    background: rgba(250, 204, 21, 0.18) !important;
    border-color: #facc15 !important;
    color: #fde047 !important;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.4) !important;
}

.reaction-btn[title="Interesting"].text-cyan-400,
.reaction-btn.text-cyan-400 {
    background: rgba(0, 240, 255, 0.18) !important;
    border-color: #00f0ff !important;
    color: #00f0ff !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5) !important;
}

.reaction-btn[title="Good"].text-emerald-400,
.reaction-btn.text-emerald-400 {
    background: rgba(0, 255, 157, 0.18) !important;
    border-color: #00ff9d !important;
    color: #00ff9d !important;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.5) !important;
}

.reaction-btn[title="Bad"].text-amber-500,
.reaction-btn.text-amber-500 {
    background: rgba(245, 158, 11, 0.18) !important;
    border-color: #f59e0b !important;
    color: #fbbf24 !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4) !important;
}

.reaction-btn[title="Worst"].text-rose-600,
.reaction-btn.text-rose-600 {
    background: rgba(225, 29, 72, 0.18) !important;
    border-color: #e11d48 !important;
    color: #fb7185 !important;
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.4) !important;
}

/* Comments Toggle Button Inside Reaction Bar */
button[onclick*="toggleComments"] {
    border-radius: var(--radius-sm) !important;
    background: rgba(12, 18, 36, 0.8) !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    color: var(--text-primary) !important;
    transition: all 0.18s ease !important;
}

button[onclick*="toggleComments"]:hover {
    background: rgba(18, 28, 54, 0.95) !important;
    border-color: #00f0ff !important;
    color: #00f0ff !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.35) !important;
    transform: translateY(-1px) !important;
}

/* Floating Reaction Menu Popup */
.reaction-menu-popup,
[id*="reaction-menu-"] {
    background: linear-gradient(180deg, #0b1224 0%, #050814 100%) !important;
    border: 1px solid rgba(0, 240, 255, 0.35) !important;
    border-top: 2.5px solid #00f0ff !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 240, 255, 0.25) !important;
}

/* ==========================================================================
   11. POLL TYPES, STATUSES & GAMING CONSENSUS WIDGETS
   ========================================================================== */

/* Community & Wager Poll Container */
.st-poll-card,
[data-poll-container] {
    background: linear-gradient(135deg, rgba(8, 14, 28, 0.90) 0%, rgba(3, 6, 15, 0.94) 100%) !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    border-top: 3px solid #00f0ff !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: 
        0 0 0 1px rgba(0, 240, 255, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.85),
        0 0 20px rgba(0, 240, 255, 0.18) !important;
    padding: 16px !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.st-poll-card:hover,
[data-poll-container]:hover {
    border-color: #00f0ff !important;
    transform: translateY(-2px) !important;
    box-shadow: 
        0 0 0 1px rgba(0, 240, 255, 0.40),
        0 14px 40px rgba(0, 0, 0, 0.95),
        0 0 30px rgba(0, 240, 255, 0.30) !important;
}

/* Poll Question Typography */
.st-poll-question,
[data-poll-container] p.text-amber-100,
[data-poll-container] p.font-semibold {
    color: #ffffff !important;
    font-family: var(--font-tactical) !important;
    font-weight: 700 !important;
    font-size: 1.02rem !important;
    letter-spacing: 0.02em !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4) !important;
}

/* Poll Status Badges */
.st-poll-type-badge,
[data-poll-container] .bg-amber-500\/15 {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.25) 0%, rgba(168, 85, 247, 0.25) 100%) !important;
    border: 1px solid #00f0ff !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-family: var(--font-mono) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.35) !important;
}

.st-poll-type-badge *,
[data-poll-container] .bg-amber-500\/15 * {
    color: #ffffff !important;
}

.st-poll-voted-badge {
    background: rgba(0, 255, 157, 0.18) !important;
    border: 1px solid #00ff9d !important;
    color: #00ff9d !important;
    font-weight: 800 !important;
    font-family: var(--font-mono) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.35) !important;
}

.st-poll-status-badge,
[data-poll-container] .bg-amber-500\/10 {
    background: rgba(12, 18, 36, 0.8) !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    color: #00f0ff !important;
    font-weight: 700 !important;
    font-family: var(--font-mono) !important;
    border-radius: var(--radius-sm) !important;
}

/* Poll Option Buttons */
.st-poll-option,
[data-poll-container] button {
    background: #040814 !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.8) !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.st-poll-option:hover:not([disabled]),
[data-poll-container] button:hover:not([disabled]) {
    background: rgba(8, 16, 36, 0.9) !important;
    border-color: #00f0ff !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.35) !important;
    transform: translateX(3px) !important;
}

/* Selected Poll Option: Electric Cyan Rim */
.st-poll-option-selected,
[data-poll-container] button.border-amber-500,
[data-poll-container] button[class*="border-amber-500"] {
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.20) 0%, rgba(168, 85, 247, 0.15) 100%), #040814 !important;
    border: 1.5px solid #00f0ff !important;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.45), inset 0 0 10px rgba(0, 240, 255, 0.15) !important;
}

.st-poll-option-label,
[data-poll-container] button span.text-slate-200,
[data-poll-container] button .font-medium {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.st-poll-option-selected .st-poll-option-label,
[data-poll-container] button.border-amber-500 .st-poll-option-label,
[data-poll-container] button[class*="border-amber-500"] .st-poll-option-label {
    color: #00f0ff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.6) !important;
}

/* Laser Progress Fill Bar */
.st-poll-progress-fill,
[data-poll-container] div[class*="from-amber-500"] {
    background: linear-gradient(90deg, #00f0ff 0%, #38bdf8 50%, #a855f7 100%) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.70) !important;
}

.st-poll-percentage,
[data-poll-container] button .font-mono.text-amber-400,
[data-poll-container] button span[class*="text-amber-400"] {
    color: #00f0ff !important;
    font-weight: 800 !important;
    font-family: var(--font-mono) !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.6) !important;
}

/* Factuality Consensus Widget (Truth vs Untruth) */
.st-factuality-card,
[data-fact-voting-container],
div:has(> button[onclick*="toggleVote"][onclick*="TRUTH"]) {
    background: linear-gradient(135deg, rgba(8, 14, 28, 0.90) 0%, rgba(3, 6, 15, 0.94) 100%) !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    border-top: 3px solid #00ff9d !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.18) !important;
}

[data-fact-voting-container] button[onclick*="TRUTH"] {
    background: rgba(0, 255, 157, 0.12) !important;
    border: 1.5px solid #00ff9d !important;
    color: #00ff9d !important;
    border-radius: var(--radius-lg) !important;
    font-family: var(--font-tactical) !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    box-shadow: 0 0 14px rgba(0, 255, 157, 0.35) !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-fact-voting-container] button[onclick*="TRUTH"]:hover {
    background: #00ff9d !important;
    color: #020409 !important;
    box-shadow: 0 0 25px rgba(0, 255, 157, 0.8) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

[data-fact-voting-container] button[onclick*="UNTRUTH"] {
    background: rgba(244, 63, 94, 0.12) !important;
    border: 1.5px solid #f43f5e !important;
    color: #f43f5e !important;
    border-radius: var(--radius-lg) !important;
    font-family: var(--font-tactical) !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    box-shadow: 0 0 14px rgba(244, 63, 94, 0.35) !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-fact-voting-container] button[onclick*="UNTRUTH"]:hover {
    background: #f43f5e !important;
    color: #ffffff !important;
    box-shadow: 0 0 25px rgba(244, 63, 94, 0.8) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

/* Opinion Consensus Widget (Agree vs Disagree) */
.st-opinion-card,
[data-opinion-voting-container],
div:has(> button[onclick*="toggleVote"][onclick*="AGREE"]) {
    background: linear-gradient(135deg, rgba(8, 14, 28, 0.90) 0%, rgba(3, 6, 15, 0.94) 100%) !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    border-top: 3px solid #38bdf8 !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.18) !important;
}

[data-opinion-voting-container] button[onclick*="AGREE"] {
    background: rgba(56, 189, 248, 0.12) !important;
    border: 1.5px solid #38bdf8 !important;
    color: #38bdf8 !important;
    border-radius: var(--radius-lg) !important;
    font-family: var(--font-tactical) !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.35) !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-opinion-voting-container] button[onclick*="AGREE"]:hover {
    background: #38bdf8 !important;
    color: #020409 !important;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.8) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

[data-opinion-voting-container] button[onclick*="DISAGREE"] {
    background: rgba(168, 85, 247, 0.12) !important;
    border: 1.5px solid #a855f7 !important;
    color: #c084fc !important;
    border-radius: var(--radius-lg) !important;
    font-family: var(--font-tactical) !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.35) !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-opinion-voting-container] button[onclick*="DISAGREE"]:hover {
    background: #a855f7 !important;
    color: #ffffff !important;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.8) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

/* ==========================================================================
   12. POST RIBBON BADGES & ESPORTS SEALS
   ========================================================================== */
span.rounded-md.border:has(i.ph-chart-bar),
span[class*="text-amber-300"]:has(i.ph-chart-bar) {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.20) 0%, rgba(0, 240, 255, 0.15) 100%) !important;
    border: 1px solid #fbbf24 !important;
    color: #fbbf24 !important;
    font-weight: 800 !important;
    font-family: var(--font-mono) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.35) !important;
}

span.rounded-md.border:has(i.ph-chart-bar) *,
span[class*="text-amber-300"]:has(i.ph-chart-bar) * {
    color: #fbbf24 !important;
}

span.rounded-md.border:has(i.ph-check-circle),
span[class*="text-emerald-300"]:has(i.ph-check-circle) {
    background: rgba(0, 255, 157, 0.15) !important;
    border: 1px solid #00ff9d !important;
    color: #00ff9d !important;
    font-weight: 800 !important;
    font-family: var(--font-mono) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.35) !important;
}

span.rounded-md.border:has(i.ph-quotes),
span[class*="text-purple-300"]:has(i.ph-quotes) {
    background: rgba(168, 85, 247, 0.15) !important;
    border: 1px solid #a855f7 !important;
    color: #c084fc !important;
    font-weight: 800 !important;
    font-family: var(--font-mono) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.35) !important;
}

span.rounded-md.border:has(i.ph-broadcast),
span[class*="text-amber-300"]:has(i.ph-broadcast) {
    background: rgba(0, 240, 255, 0.15) !important;
    border: 1px solid #00f0ff !important;
    color: #00f0ff !important;
    font-weight: 800 !important;
    font-family: var(--font-mono) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.35) !important;
}

/* ==========================================================================
   13. POST COMPOSER HUD DESK
   ========================================================================== */
#input-group-poll {
    background: linear-gradient(135deg, rgba(8, 14, 28, 0.90) 0%, rgba(3, 6, 15, 0.94) 100%) !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    border-top: 3px solid #00f0ff !important;
    border-radius: var(--radius-xl) !important;
    padding: 16px !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.18) !important;
}

#poll-question {
    background: #040814 !important;
    border: 1px solid rgba(0, 240, 255, 0.30) !important;
    color: #ffffff !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
    font-family: var(--font-sans) !important;
}

#poll-question:focus {
    border-color: #00f0ff !important;
    box-shadow: 0 0 0 1.5px #00f0ff, 0 0 15px rgba(0, 240, 255, 0.35) !important;
}

.poll-option {
    background: #040814 !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    color: #ffffff !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 500 !important;
}

.poll-option:focus {
    border-color: #00f0ff !important;
    box-shadow: 0 0 0 1.5px #00f0ff, 0 0 15px rgba(0, 240, 255, 0.35) !important;
}

button[onclick*="addPollOption"] {
    background: rgba(0, 240, 255, 0.10) !important;
    border: 1px solid rgba(0, 240, 255, 0.35) !important;
    color: #00f0ff !important;
    font-family: var(--font-tactical) !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    border-radius: var(--radius-sm) !important;
    transition: all 0.18s ease !important;
}

button[onclick*="addPollOption"]:hover {
    background: #00f0ff !important;
    color: #020409 !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.6) !important;
    transform: translateY(-1px) !important;
}

/* Wager Controls */
#poll-wager-toggle {
    accent-color: #00f0ff !important;
}

#poll-wager-input {
    background: rgba(8, 14, 28, 0.8) !important;
    border: 1px solid rgba(0, 240, 255, 0.3) !important;
    border-radius: var(--radius-md) !important;
}

#poll-wager-amount {
    background: #040814 !important;
    border: 1px solid rgba(0, 240, 255, 0.3) !important;
    color: #00f0ff !important;
    font-weight: 700 !important;
    font-family: var(--font-mono) !important;
}

/* ==========================================================================
   14. HIGH-CONTRAST GAMING ICON SYSTEM (NEON GLOW EMITTERS)
   ========================================================================== */
i.ph-heart, i.ph-fill.ph-heart, .text-pink-500 i.ph-heart {
    color: #f43f5e !important;
    filter: drop-shadow(0 0 8px rgba(244, 63, 94, 0.75)) !important;
}
i.ph-thumbs-up, .text-sky-500 i.ph-thumbs-up {
    color: #00f0ff !important;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.75)) !important;
}
i.ph-thumbs-down, .text-orange-500 i.ph-thumbs-down {
    color: #ff5500 !important;
    filter: drop-shadow(0 0 8px rgba(255, 85, 0, 0.75)) !important;
}
i.ph-trophy, .text-yellow-400 i.ph-trophy, i.ph-coins {
    color: #fbbf24 !important;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.75)) !important;
}
i.ph-lightbulb, .text-cyan-400 i.ph-lightbulb {
    color: #00f0ff !important;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.75)) !important;
}
i.ph-scales {
    color: #c084fc !important;
    filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.75)) !important;
}
i.ph-check-circle, .text-emerald-400 i.ph-check-circle {
    color: #00ff9d !important;
    filter: drop-shadow(0 0 8px rgba(0, 255, 157, 0.75)) !important;
}
i.ph-x-circle, .text-rose-400 i.ph-x-circle {
    color: #f43f5e !important;
    filter: drop-shadow(0 0 8px rgba(244, 63, 94, 0.75)) !important;
}
i.ph-chat-circle, i.ph-chats {
    color: #38bdf8 !important;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.75)) !important;
}
i.ph-funnel {
    color: #00f0ff !important;
}

/* Optical Alignment & Spring Micro-Animation */
i[class*="ph-"],
i[class*="ph "] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: -0.125em !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), filter 0.16s ease !important;
}

button:hover i[class*="ph-"],
a:hover i[class*="ph-"],
.reaction-btn:hover i[class*="ph-"] {
    transform: scale(1.15) !important;
}

/* ==========================================================================
   15. CUSTOM CYBERNETIC SCROLLBAR (ELECTRIC CYAN LASER THUMB)
   ========================================================================== */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: #020409 !important;
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.35) !important;
    border: 1px solid rgba(0, 240, 255, 0.5) !important;
    border-radius: var(--radius-full);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.4) !important;
}
::-webkit-scrollbar-thumb:hover {
    background: #00f0ff !important;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.9) !important;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.35) !important;
    border-radius: var(--radius-full);
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #00f0ff !important;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.9) !important;
}

/* ==========================================================================
   16. MOBILE SEAMLESS GAMING LAYOUT
   ========================================================================== */
@media (max-width: 768px) {
    main {
        bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
        padding-bottom: 0 !important;
    }
}
