/* ================================================
   KlinikumOSINT — UI Design System
   Dark, minimal, human-designed.
   ================================================ */

/* ── Fonts ───────────────────────────────────────── */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('../fonts/PlusJakartaSans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('../fonts/PlusJakartaSans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('../fonts/JetBrainsMono-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('../fonts/JetBrainsMono-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Variables ───────────────────────────────────── */
:root {
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;

    --sidebar-w: 240px;

    --bg:          #08080d;
    --surface:     #0d0d13;
    --surface-2:   #121219;
    --border:      rgba(255,255,255,0.07);
    --border-soft: rgba(255,255,255,0.038);

    --text:        #e2e0ed;
    --text-dim:    #484965;
    --text-muted:  #808196;

    --neon:        #7dd3fc;
    --green:       #22c55e;
    --red:         #ef4444;
    --amber:       #f59e0b;
    --purple:      #a78bfa;
    --indigo:      #818cf8;

    /* compat aliases used by shop.css + JS-rendered content */
    --bg-main:          var(--bg);
    --bg-card:          var(--surface);
    --bg-glass:         rgba(255,255,255,0.03);
    --bg-glass-heavy:   rgba(255,255,255,0.055);
    --border-glass:     var(--border);
    --text-high:        var(--text);
    --text-mid:         var(--text-muted);
    --text-low:         var(--text-dim);
    --accent:           var(--text);
    --accent-light:     #d8d6e2;
    --accent-glow:      rgba(236,234,244,0.04);
    --success:          var(--green);
    --error:            var(--red);
    --neon-dim:         rgba(125,211,252,0.08);
    --neon-glow:        rgba(125,211,252,0.15);
    --neon-border:      rgba(125,211,252,0.25);
    --neon-strong:      rgba(125,211,252,0.5);
    --radius-full: 100px;
    --radius-lg:   24px;
    --radius-md:   14px;
    --radius-sm:   10px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --transition: all 0.18s ease;
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── Animated Wave Background ───────────────────── */
.wave-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 300'%3E%3Cpath fill='%23a5f3eb' fill-opacity='0.08' d='M0,150 C150,50 350,250 500,150 C650,50 850,250 1000,150 L1000,300 L0,300 Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: 50% 100%;
    animation: waveAnim 35s linear infinite;
    transform-origin: center bottom;
}

.wave1 {
    animation-duration: 45s;
    opacity: 0.25;
    z-index: 1000;
}

.wave2 {
    animation-duration: 35s;
    opacity: 0.15;
    z-index: 999;
    animation-direction: reverse;
    bottom: 10px;
}

.wave3 {
    animation-duration: 25s;
    opacity: 0.1;
    z-index: 998;
    bottom: 20px;
}

.wave4 {
    animation-duration: 20s;
    opacity: 0.05;
    z-index: 997;
    animation-direction: reverse;
    bottom: 30px;
}

@keyframes waveAnim {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font-family: inherit; }
img, svg { display: block; }
p { line-height: 1.65; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 99px; }
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.08) transparent; }


/* ── Custom cursor ───────────────────────────────── */
.cursor-dot, .cursor-outline { display: none; pointer-events: none; }
@media (pointer: fine) {
    .cursor-dot {
        display: block; position: fixed;
        width: 5px; height: 5px;
        background: var(--text); border-radius: 50%;
        transform: translate(-50%,-50%);
        transition: opacity 0.2s; z-index: 9999;
    }
    .cursor-outline {
        display: block; position: fixed;
        width: 28px; height: 28px;
        border: 1px solid rgba(255,255,255,0.18); border-radius: 50%;
        transform: translate(-50%,-50%);
        transition: width 0.2s, height 0.2s, opacity 0.2s; z-index: 9998;
    }
}


/* ── Background blobs ────────────────────────────── */
.bg-elements { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.04; }
.blob-1 { width: 500px; height: 500px; background: #4f46e5; top: -140px; left: -120px; }
.blob-2 { width: 380px; height: 380px; background: #0ea5e9; bottom: -80px; right: -60px; }


/* ── Theme toggle ────────────────────────────────── */
.theme-toggle {
    position: fixed; top: 20px; right: 20px; z-index: 200;
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--surface); border: 1px solid var(--border);
    color: var(--text-muted); display: flex; align-items: center; justify-content: center;
    transition: color 0.15s, background 0.15s;
}
.theme-toggle:hover { color: var(--text); background: var(--surface-2); }
.theme-toggle .sun-icon, .theme-toggle .moon-icon { width: 16px; height: 16px; }
body:not(.light-theme) .sun-icon { display: none; }
body.light-theme .moon-icon { display: none; }


/* ═══════════════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════════════ */
.login-page {
    min-height: 100vh;
    display: flex; align-items: stretch;
    background: var(--bg);
    position: relative;
}

.auth-split {
    display: flex; width: 100%; min-height: 100vh;
    position: relative; z-index: 1;
}

/* Brand panel left */
.auth-brand-panel {
    flex: 0 0 44%;
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    padding: 48px; position: relative; overflow: hidden;
}
.auth-brand-panel::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 40px 40px; pointer-events: none;
}

.auth-brand-inner { max-width: 360px; width: 100%; position: relative; }
.auth-brand-logo { margin-bottom: 48px; }

.auth-logo-icon {
    width: 50px; height: 50px; border-radius: 13px;
    background: var(--surface-2); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text); margin-bottom: 20px;
}
.auth-logo-icon i { width: 21px; height: 21px; }

.login-title {
    font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em;
    line-height: 1; margin-bottom: 8px; color: var(--text);
}
.login-title .accent { color: var(--neon); }

.auth-brand-sub { font-size: 0.78rem; color: var(--text-dim); font-weight: 400; }

.auth-feature-list {
    list-style: none; display: flex; flex-direction: column;
    gap: 14px; margin-bottom: 40px;
}
.auth-feature-list li { display: flex; align-items: flex-start; gap: 13px; }
.feat-icon {
    width: 32px; height: 32px; border-radius: 8px;
    background: var(--surface-2); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); flex-shrink: 0; margin-top: 1px;
}
.feat-icon i { width: 13px; height: 13px; }
.feat-text strong { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.feat-text span   { font-size: 0.73rem; color: var(--text-dim); line-height: 1.4; }

.auth-status-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.74rem; font-weight: 500; color: var(--text-muted);
    padding: 7px 14px; border-radius: 99px;
    border: 1px solid var(--border); background: var(--surface-2);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* Auth card right */
.login-container {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 48px 32px;
}
.login-card {
    width: 100%; max-width: 400px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 18px; padding: 32px; position: relative;
}
.auth-card-head { margin-bottom: 24px; }
.auth-card-eyebrow {
    display: block; font-size: 0.67rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--text-dim); margin-bottom: 6px;
}
.auth-card-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }

/* compat stubs for JS-referenced login elements no longer shown */
.login-logo-section, .login-icon-ring, .login-tagline, .cursor,
.login-stats, .login-stat, .login-stat-dot, .login-stat-sep,
.login-title-section { display: none !important; }

/* Auth tabs */
.auth-tabs {
    display: flex; gap: 2px; background: var(--surface-2);
    border: 1px solid var(--border); border-radius: 10px;
    padding: 3px; margin-bottom: 24px;
}
.auth-tab {
    flex: 1; padding: 8px 6px; border: none; background: transparent;
    color: var(--text-dim); font-size: 0.77rem; font-weight: 600;
    border-radius: 7px; transition: background 0.14s, color 0.14s;
    display: flex; align-items: center; justify-content: center; gap: 5px;
}
.auth-tab:hover { color: var(--text-muted); }
.auth-tab.active {
    background: var(--surface); color: var(--text);
    border: 1px solid var(--border); box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}


/* ═══════════════════════════════════════════════════
   FORMS & INPUTS
   ═══════════════════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.73rem; font-weight: 600; color: var(--text-muted); }

.input-wrapper { position: relative; display: flex; align-items: center; }
.input-prefix-icon {
    position: absolute; left: 14px;
    width: 16px; height: 16px; color: var(--text-dim);
    pointer-events: none; flex-shrink: 0;
}
.input-wrapper input {
    width: 100%; padding: 13px 14px 13px 40px;
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 12px; color: var(--text); font-size: 0.88rem;
    font-weight: 400; outline: none; transition: all 0.2s ease;
    box-shadow: inset 2px 4px 8px rgba(0,0,0,0.2);
}
.input-wrapper input:focus { 
    border-color: rgba(94, 234, 212, 0.3); 
    box-shadow: inset 2px 4px 8px rgba(0,0,0,0.2), 0 0 0 3px rgba(94, 234, 212, 0.05);
}
.input-wrapper input::placeholder { color: var(--text-dim); }

.input-toggle {
    position: absolute; right: 10px; background: none; border: none;
    color: var(--text-dim); padding: 4px;
    display: flex; align-items: center; transition: color 0.14s;
}
.input-toggle:hover { color: var(--text-muted); }
.input-toggle i { width: 14px; height: 14px; }


/* ═══════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════ */
.btn-primary {
    width: 100%; margin-top: 8px; padding: 14px;
    background: #7dd3fc; color: #080810;
    border: none; border-radius: 12px;
    font-size: 0.92rem; font-weight: 700; font-family: var(--font-sans);
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
    box-shadow: 0 4px 15px rgba(125, 211, 252, 0.25);
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}
.btn-primary:hover:not(:disabled) { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(125, 211, 252, 0.35);
    filter: brightness(1.05);
}
.btn-primary:active:not(:disabled) { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.38; cursor: not-allowed; }
.btn-primary i { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary span { line-height: 1; margin-top: 1px; }

.btn-discord {
    width: 100%; margin-top: 10px; padding: 11px 16px;
    background: linear-gradient(135deg, #6370f4 0%, #5865F2 100%);
    color: #ffffff;
    border: none; border-radius: 10px;
    font-size: 0.88rem; font-weight: 700; font-family: var(--font-sans);
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.25);
    text-decoration: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}
.btn-discord:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.35);
    background: linear-gradient(135deg, #7a85ff 0%, #6370f4 100%);
}
.btn-discord:active { transform: scale(0.98); }
.btn-discord i, .btn-discord svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-discord span { line-height: 1; margin-top: 1px; }

.btn-discord.linked {
    background: #22c55e !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.25) !important;
    pointer-events: none;
    opacity: 0.9;
}

.btn-discord-mini {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 12px; background: #6370f4; color: #fff;
    border-radius: 8px; font-size: 0.72rem; font-weight: 700;
    text-decoration: none; transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.2);
    line-height: 1;
}
.btn-discord-mini:hover {
    background: #7a85ff; transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}
.btn-discord-mini i { width: 14px; height: 14px; flex-shrink: 0; }
.btn-discord-mini span { line-height: 1; }

.auth-divider {
    display: flex; align-items: center; gap: 10px;
    margin: 16px 0; color: var(--text-dim); font-size: 0.72rem;
    text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.6;
}
.auth-divider::before, .auth-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
}

.btn-secondary {
    padding: 8px 14px; background: transparent;
    border: 1px solid var(--border); border-radius: 8px;
    color: var(--text-muted); font-size: 0.79rem; font-weight: 600;
    font-family: var(--font-sans);
    display: inline-flex; align-items: center; gap: 7px;
    transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.btn-secondary:hover { background: var(--surface-2); color: var(--text); border-color: rgba(255,255,255,0.12); }

.btn-icon {
    width: 34px; height: 34px; border-radius: 8px;
    background: transparent; border: 1px solid var(--border);
    color: var(--text-muted); display: flex; align-items: center; justify-content: center;
    transition: background 0.14s, color 0.14s;
}
.btn-icon:hover { background: var(--surface-2); color: var(--text); }
.btn-icon i { width: 14px; height: 14px; }

.spinner {
    width: 15px; height: 15px;
    border: 2px solid rgba(0,0,0,0.15);
    border-top-color: var(--bg);
    border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Error / success banner */
.error-banner {
    margin-top: 12px; padding: 10px 14px; border-radius: 8px;
    font-size: 0.79rem; display: flex; align-items: center; gap: 9px;
    background: rgba(239,68,68,0.07); border: 1px solid rgba(239,68,68,0.2); color: var(--red);
}
.error-banner i { width: 14px; height: 14px; flex-shrink: 0; }

.redeem-info {
    display: flex; align-items: center; gap: 8px; font-size: 0.77rem;
    color: var(--text-muted); background: rgba(125,211,252,0.05);
    border: 1px solid rgba(125,211,252,0.12); border-radius: 8px;
    padding: 10px 12px; margin-bottom: 18px;
}

.legal-note {
    margin-top: 20px; font-size: 0.69rem; color: var(--text-dim);
    text-align: center; display: flex; align-items: center; justify-content: center; gap: 5px;
}
.legal-note i { width: 11px; height: 11px; }

.accent { color: var(--neon); }


/* ═══════════════════════════════════════════════════
   DASHBOARD LAYOUT
   ═══════════════════════════════════════════════════ */
.dashboard-page {
    display: flex; min-height: 100vh;
    background: var(--bg); position: relative;
}
.dashboard-page > .bg-elements { z-index: 0; }


/* ── Sidebar ─────────────────────────────────────── */
.sidebar {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: var(--sidebar-w);
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex; flex-direction: column;
    z-index: 100; overflow: hidden;
}
.sidebar::after {
    content: ''; position: absolute; top: 0; right: -1px; bottom: 0; width: 1px;
    background: linear-gradient(to bottom, transparent 0%, rgba(125,211,252,.1) 35%, rgba(125,211,252,.06) 65%, transparent 100%);
    pointer-events: none;
}

.sidebar-header {
    display: flex; align-items: center; gap: 11px;
    padding: 16px 14px 15px; border-bottom: 1px solid var(--border-soft);
    flex-shrink: 0;
}
.sidebar-logo {
    width: 32px; height: 32px; border-radius: 9px;
    object-fit: cover;
    flex-shrink: 0;
}
.logo-icon {
    width: 32px; height: 32px; border-radius: 9px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.logo-icon i { width: 14px; height: 14px; }
.logo-text-block { display: flex; flex-direction: column; gap: 1px; }
.logo-name { font-size: 1.1rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; line-height: 1.2; }
.logo-name .accent { color: var(--neon); }
.logo-ver  { font-size: 0.57rem; font-weight: 500; color: var(--text-dim); font-family: var(--font-mono); opacity: 0.6; }

.sidebar-nav {
    flex: 1; padding: 10px 8px 6px;
    display: flex; flex-direction: column; gap: 1px;
    overflow-y: auto; scrollbar-width: none;
}
.sidebar-nav::-webkit-scrollbar { display: none; }

.nav-section-label {
    display: block; font-size: 0.55rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--text-dim); padding: 12px 8px 4px; opacity: 0.55;
}
.nav-section-label:first-child { padding-top: 4px; }

.nav-item {
    display: flex; align-items: center; gap: 9px;
    padding: 8px 10px; border-radius: 9px;
    background: transparent; border: none;
    color: var(--text-dim); font-size: 0.8rem; font-weight: 500;
    width: 100%; text-align: left;
    transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
    cursor: pointer; position: relative; white-space: nowrap;
}
.nav-item i { width: 15px; height: 15px; flex-shrink: 0; transition: color 0.18s, transform 0.2s; opacity: 0.65; }
.nav-item span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.nav-item:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text);
    transform: translateX(3px);
}
.nav-item:hover i { opacity: 1; transform: scale(1.12); color: var(--text-muted); }

.nav-item.active {
    background: linear-gradient(135deg, rgba(125,211,252,.1) 0%, rgba(125,211,252,.04) 100%);
    color: var(--text); font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(125,211,252,.08);
}
.nav-item.active i { color: var(--neon); opacity: 1; }
.nav-item.active::before {
    content: ''; position: absolute; left: 0; top: 6px; bottom: 6px;
    width: 2.5px; background: var(--neon); border-radius: 0 3px 3px 0;
    box-shadow: 0 0 8px rgba(125,211,252,.55), 0 0 18px rgba(125,211,252,.18);
}

.nav-danger { color: rgba(239,68,68,0.5); }
.nav-danger:hover { background: rgba(239,68,68,0.07); color: var(--red); }
.nav-danger:hover i { color: var(--red) !important; }

.sidebar-bottom {
    padding: 8px 8px 12px;
    border-top: 1px solid var(--border-soft);
    display: flex; flex-direction: column; gap: 2px; flex-shrink: 0;
}

/* Uses meter */
.uses-meter {
    background: var(--surface-2); border: 1px solid var(--border-soft);
    border-radius: 10px; padding: 10px 12px; margin: 3px 0 5px;
}
.uses-meter-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.uses-meter-label { font-size: 0.68rem; font-weight: 700; color: var(--text-muted); }
.uses-meter-count {
    font-size: 0.64rem; font-weight: 600; color: var(--text-dim);
    font-family: var(--font-mono);
    background: rgba(255,255,255,.04); border: 1px solid var(--border);
    padding: 1px 7px; border-radius: 5px;
}
.uses-meter-bar { height: 4px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.uses-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon) 0%, rgba(125,211,252,.45) 100%);
    border-radius: 99px; transition: width 0.6s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 0 8px rgba(125,211,252,.28);
}

.sidebar-plan-badge {
    font-size: 0.66rem; font-weight: 700; padding: 5px 10px;
    border-radius: 8px; text-transform: uppercase; letter-spacing: 0.8px;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border);
    color: var(--text-dim); margin: 1px 0 3px; text-align: center;
}

.sidebar-status {
    display: flex; align-items: center; gap: 7px;
    font-size: 0.66rem; color: var(--text-dim);
    padding: 4px 10px 0;
}

/* Compact utility toolbar */
.sb-tools {
    display: flex; gap: 3px; padding: 7px 0 0;
    border-top: 1px solid var(--border-soft); margin-top: 5px;
}
.sb-tool-btn {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 8px 6px; border-radius: 9px;
    background: transparent; border: none; cursor: pointer;
    color: var(--text-dim);
    transition: background 0.16s, color 0.16s, transform 0.18s;
}
.sb-tool-btn:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
    transform: scale(1.12);
}
.sb-tool-btn i { width: 14px; height: 14px; }

/* Admin nav item */
.nav-admin { background: rgba(220,38,38,0.06) !important; border: 1px solid rgba(220,38,38,0.14) !important; color: #ef4444 !important; }
.nav-admin:hover { background: rgba(220,38,38,0.10) !important; }
.nav-admin i { color: #ef4444 !important; opacity: 1 !important; }

/* Sun/moon icon visibility for compact theme toggle */
body:not(.light-theme) .icon-sun { display: none; }
body.light-theme .icon-moon { display: none; }

.status-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green); flex-shrink: 0;
    box-shadow: 0 0 6px rgba(34,197,94,.5);
}
.status-dot.pulse { animation: statusPulse 2.5s ease-in-out infinite; }
@keyframes statusPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(34,197,94,.5); }
    50% { opacity: 0.5; box-shadow: 0 0 2px rgba(34,197,94,.2); }
}


/* ── Content area ────────────────────────────────── */
.content-area {
    margin-left: var(--sidebar-w); flex: 1;
    display: flex; flex-direction: column;
    min-height: 100vh; position: relative; z-index: 1;
}

.view-panel { display: none; flex-direction: column; flex: 1; min-height: 0; }
.view-panel.active { display: flex; animation: panelEnter 0.28s cubic-bezier(0.22,1,0.36,1) both; }
@keyframes panelEnter {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}


/* ── Panel header ────────────────────────────────── */
.panel-header {
    padding: 24px 40px 20px;
    border-bottom: 1px solid var(--border-soft);
    flex-shrink: 0; display: flex;
    align-items: flex-start; justify-content: space-between; gap: 16px;
}
.panel-greeting {
    font-size: 0.61rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.4px; color: var(--text-dim); margin-bottom: 8px; opacity: 0.85;
}
.panel-header h1 { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--text); }
.panel-header p  { font-size: 0.78rem; color: var(--text-dim); font-weight: 400; margin-top: 5px; line-height: 1.5; }

.panel-header-right {
    display: flex; flex-direction: column; align-items: flex-end;
    gap: 5px; flex-shrink: 0; padding-top: 4px;
}
.header-clock { font-family: var(--font-mono); font-size: 1.1rem; font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
.header-status { display: flex; align-items: center; gap: 6px; font-size: 0.71rem; color: var(--text-dim); }
.header-clock-card {
  width: 200px;
  height: 70px;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.08) 0%, rgba(13, 148, 136, 0.05) 100%);
  border-radius: 12px;
  border: 1px solid rgba(94, 234, 212, 0.15);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  position: relative;
  flex-shrink: 0;
}
.header-clock-time {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.header-clock-sub {
  font-size: 0.6rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-left: 2px;
}
.header-clock-date {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.header-clock-icon {
  width: 18px;
  height: 18px;
  color: #5eead4;
  margin-left: auto;
  flex-shrink: 0;
}
.header-info { display: flex; flex-direction: row; align-items: center; gap: 12px; }
.mini-stat { text-align: right; }
.mini-stat-value { display: block; font-family: var(--font-mono); font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1; }
.mini-stat-label { display: block; font-size: 0.6rem; font-weight: 600; color: var(--text-dim); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.5px; }


/* ── Panel scroll ────────────────────────────────── */
.panel-scroll { flex: 1; overflow-y: auto; padding: 32px 40px 60px; }


/* ═══════════════════════════════════════════════════
   DASHBOARD — Stats
   ═══════════════════════════════════════════════════ */
.stats-row {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0; margin-bottom: 28px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; overflow: hidden;
}
.stat-box {
    padding: 14px 20px;
    display: flex; align-items: center; gap: 12px;
    transition: background 0.15s;
    position: relative;
    border-right: 1px solid var(--border);
}
.stat-box:last-child { border-right: none; }
.stat-box::after {
    content: ''; position: absolute; left: 0; top: 20%; bottom: 20%;
    width: 2px; border-radius: 2px;
    background: transparent; transition: background 0.2s;
}
.stat-box.stat-neon::after   { background: rgba(125,211,252,0.5); }
.stat-box.stat-green::after  { background: rgba(34,197,94,0.5); }
.stat-box.stat-purple::after { background: rgba(167,139,250,0.5); }
.stat-box:hover { background: var(--surface-2); }

.stat-box-icon {
    width: 34px; height: 34px; border-radius: 8px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim); flex-shrink: 0;
}
.stat-box.stat-neon   .stat-box-icon { color: var(--neon);   border-color: rgba(125,211,252,0.18); background: rgba(125,211,252,0.06); }
.stat-box.stat-green  .stat-box-icon { color: var(--green);  border-color: rgba(34,197,94,0.18);    background: rgba(34,197,94,0.06); }
.stat-box.stat-purple .stat-box-icon { color: var(--purple); border-color: rgba(167,139,250,0.18);  background: rgba(167,139,250,0.06); }
.stat-box-icon i { width: 15px; height: 15px; }
.stat-box-icon.accent  { background: rgba(167,139,250,0.06); border-color: rgba(167,139,250,0.18); color: var(--purple); }
.stat-box-icon.success { background: rgba(34,197,94,0.06);   border-color: rgba(34,197,94,0.18);   color: var(--green); }
.stat-box-icon.veritas { background: rgba(245,158,11,0.06);  border-color: rgba(245,158,11,0.18);  color: var(--amber); }

.stat-box-label { font-size: 0.59rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.7px; color: var(--text-dim); opacity: 0.7; }
.stat-box-value { font-family: var(--font-mono); font-size: 1.0rem; font-weight: 700; margin-top: 2px; letter-spacing: -0.03em; color: var(--text); }
.stat-box-value.accent  { color: var(--purple); }
.stat-box-value.success { color: var(--green); }
.stat-box-value.veritas { color: var(--amber); }


/* ═══════════════════════════════════════════════════
   DASHBOARD — Quick Actions
   ═══════════════════════════════════════════════════ */
.dash-section-label {
    font-size: 0.57rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.2px; color: var(--text-dim); margin: 18px 0 8px; opacity: 0.5;
    display: flex; align-items: center; gap: 8px;
}
.dash-section-label::after {
    content: ''; flex: 1; height: 1px;
    background: var(--border-soft);
}

.dash-actions-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; overflow: hidden;
}
.dash-action-card {
    display: flex; align-items: center; gap: 12px; padding: 13px 16px;
    background: transparent; border: none;
    border-right: 1px solid var(--border);
    font-family: var(--font-sans); color: var(--text);
    cursor: pointer; text-align: left;
    transition: background 0.14s;
    position: relative;
}
.dash-action-card:last-child { border-right: none; }
.dash-action-card:hover { background: var(--surface-2); }
.dash-action-card:active { background: rgba(255,255,255,0.04); }

.dac-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dac-icon i { width: 14px; height: 14px; }
.dac-icon-blue   { background: rgba(99,102,241,0.08);   border: 1px solid rgba(99,102,241,0.18);  color: #818cf8; }
.dac-icon-green  { background: rgba(34,197,94,0.07);    border: 1px solid rgba(34,197,94,0.17);   color: #4ade80; }
.dac-icon-amber  { background: rgba(245,158,11,0.07);   border: 1px solid rgba(245,158,11,0.17);  color: #fbbf24; }
.dac-icon-purple { background: rgba(167,139,250,0.07);  border: 1px solid rgba(167,139,250,0.17); color: var(--purple); }

.dac-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dac-body strong { font-size: 0.78rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dac-body span   { font-size: 0.65rem; color: var(--text-dim); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dac-arrow { width: 12px; height: 12px; color: rgba(255,255,255,0.2); flex-shrink: 0; transition: color 0.14s, transform 0.16s; }
.dash-action-card:hover .dac-arrow { color: var(--text-dim); transform: translateX(2px); }

/* light theme overrides */
body.light-theme .stats-row,
body.light-theme .dash-actions-grid,
body.light-theme .dash-info-row { background: rgba(0,0,0,0.02); }
body.light-theme .dac-icon-blue   { background: rgba(99,102,241,0.06); }
body.light-theme .dac-icon-green  { background: rgba(34,197,94,0.04); }
body.light-theme .dac-icon-amber  { background: rgba(245,158,11,0.04); }
body.light-theme .dac-icon-purple { background: rgba(167,139,250,0.04); }


/* ═══════════════════════════════════════════════════
   DASHBOARD — Terminal / Live Feed
   ═══════════════════════════════════════════════════ */
.dash-terminal-card {
    background: rgba(8,8,13,0.95); border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden; margin-top: 4px;
}
.dtc-header {
    display: flex; align-items: center; gap: 10px; padding: 10px 16px;
    background: var(--surface-2); border-bottom: 1px solid var(--border-soft);
}
.hv-topbar-dots { display: flex; gap: 6px; flex-shrink: 0; }
.hv-dot { width: 11px; height: 11px; border-radius: 50%; }
.hv-dot-red    { background: rgba(239,68,68,0.5); }
.hv-dot-yellow { background: rgba(245,158,11,0.5); }
.hv-dot-green  { background: rgba(34,197,94,0.5); }

.dtc-title { font-size: 0.72rem; font-family: var(--font-mono); color: var(--text-dim); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dtc-badge { display: flex; align-items: center; gap: 5px; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--green); }

.hv-feed.dtc-feed {
    padding: 4px 0 8px; min-height: 140px; max-height: 300px;
    overflow-y: auto; font-family: var(--font-mono);
    display: flex; flex-direction: column;
    justify-content: flex-end;
    font-size: 0.71rem; line-height: 1.5; color: var(--text-dim);
    scrollbar-width: thin; scrollbar-color: var(--border) transparent;
    overflow-anchor: auto;
}

/* Feed entry row */
.hv-entry {
    display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
    padding: 5px 18px; border-bottom: 1px solid rgba(255,255,255,0.018);
    animation: feedSlideIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
    flex-shrink: 0;
}
.hv-entry:first-child { border-top: none; }
.hv-entry:last-child  { border-bottom: none; }

.fe-ts {
    color: rgba(125,211,252,0.38); font-size: 0.63rem; flex-shrink: 0;
    letter-spacing: 0.3px; min-width: 52px;
}
.fe-fields { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; flex: 1; }
.fe-sep   { color: rgba(255,255,255,0.12); font-size: 0.62rem; }
.fe-id    { color: rgba(125,211,252,0.55); font-size: 0.69rem; }
.fe-ip    { color: rgba(251,191,36,0.65);  font-size: 0.69rem; }
.fe-name  { color: rgba(255,255,255,0.88); font-size: 0.7rem; font-weight: 500; }
.fe-steam { color: rgba(167,139,250,0.6);  font-size: 0.69rem; }
.fe-hash  { color: rgba(255,255,255,0.25); font-size: 0.67rem; }
.fe-raw   { color: rgba(255,255,255,0.72); font-size: 0.69rem; word-break: break-all; flex: 1; }
.fe-placeholder {
    color: rgba(125,211,252,0.25); font-family: var(--font-mono);
    font-size: 0.69rem; padding: 20px 18px; font-style: italic;
    align-self: flex-start;
}

.dtc-footer { display: flex; gap: 8px; padding: 9px 16px 11px; border-top: 1px solid var(--border-soft); }
.hv-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.62rem; font-weight: 600; color: var(--text-dim); }
.hv-badge i { width: 10px; height: 10px; }

/* Konto info row */
.dash-info-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    margin-bottom: 28px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; overflow: hidden;
}
.dash-info-card {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    background: transparent;
    border-right: 1px solid var(--border);
    transition: background 0.14s;
}
.dash-info-card:last-child { border-right: none; }
.dash-info-card:hover { background: var(--surface-2); }
.dic-icon {
    width: 30px; height: 30px; border-radius: 7px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(125,211,252,0.06); border: 1px solid rgba(125,211,252,0.14); color: var(--neon);
}
.dic-icon i { width: 13px; height: 13px; }
.dic-icon.dic-icon-amber  { background: rgba(245,158,11,0.06);  border-color: rgba(245,158,11,0.14);  color: var(--amber); }
.dic-icon.dic-icon-green  { background: rgba(34,197,94,0.06);   border-color: rgba(34,197,94,0.14);   color: var(--green); }
.dic-icon.dic-icon-purple { background: rgba(167,139,250,0.06); border-color: rgba(167,139,250,0.14); color: var(--purple); }
.dic-body { min-width: 0; }
.dic-label { font-size: 0.59rem; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 2px; opacity: 0.7; }
.dic-value { font-size: 0.82rem; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .dash-info-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .dash-info-row { grid-template-columns: 1fr; } }

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-actions .btn-primary { width: auto; margin-top: 0; padding: 10px 18px; font-size: 0.81rem; }

/* ═══════════════════════════════════════════════════
   DASHBOARD — KPI Row (new)
   ═══════════════════════════════════════════════════ */
.kpi-row {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 14px; margin-bottom: 14px;
}
.kpi-card {
    background: var(--surface); padding: 22px 24px 20px;
    display: flex; flex-direction: column; gap: 3px;
    position: relative; overflow: hidden;
    border: 1px solid var(--border); border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    animation: fadeUp 0.5s ease both;
}
.kpi-card:nth-child(1) { animation-delay: 0ms; }
.kpi-card:nth-child(2) { animation-delay: 60ms; }
.kpi-card:nth-child(3) { animation-delay: 120ms; }
.kpi-card:nth-child(4) { animation-delay: 180ms; }
.kpi-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,0.32); }
.kpi-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
}
.kpi-blue::before   { background: var(--neon); }
.kpi-green::before  { background: var(--green); }
.kpi-purple::before { background: var(--purple); }
.kpi-amber::before  { background: var(--amber); }

.kpi-label { font-size: 0.57rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.9px; color: var(--text-dim); opacity: 0.65; margin-bottom: 4px; }
.kpi-value { font-family: var(--font-mono); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.kpi-blue   .kpi-value { color: var(--neon); }
.kpi-green  .kpi-value { color: var(--green); }
.kpi-purple .kpi-value { color: var(--purple); }
.kpi-amber  .kpi-value { color: var(--amber); }
.kpi-sub { font-size: 0.63rem; color: var(--text-dim); margin-top: 5px; }

@media (max-width: 860px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }

/* ═══════════════════════════════════════════════════
   DASHBOARD — Quick strip (new)
   ═══════════════════════════════════════════════════ */
.dash-quick-strip {
    display: flex; align-items: stretch;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; overflow: hidden; margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    animation: fadeUp 0.5s ease 0.22s both;
}
.dqs-item {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 11px 12px; background: transparent; border: none;
    font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600;
    color: var(--text-dim); cursor: pointer;
    transition: background 0.15s, color 0.15s; white-space: nowrap;
}
.dqs-item i { width: 13px; height: 13px; flex-shrink: 0; }
.dqs-item:hover { background: var(--surface-2); color: var(--text); }
.dqs-sep { width: 1px; background: var(--border); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════
   DASHBOARD — Main 2-col grid (new)
   ═══════════════════════════════════════════════════ */
.dash-main-grid {
    display: grid; grid-template-columns: 1fr 230px;
    gap: 14px; align-items: start;
    animation: fadeUp 0.5s ease 0.28s both;
}
@media (max-width: 900px) { .dash-main-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════
   DASHBOARD — Account sidebar card (new)
   ═══════════════════════════════════════════════════ */
.dash-account-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.20);
}
.dac-head {
    font-size: 0.57rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--text-dim);
    padding: 14px 16px 10px; border-bottom: 1px solid var(--border-soft);
}
.dac-field {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 11px 16px; border-bottom: 1px solid var(--border-soft);
}
.dac-field:last-of-type { border-bottom: none; }
.dac-fl { font-size: 0.68rem; color: var(--text-dim); font-weight: 500; flex-shrink: 0; }
.dac-fv {
    font-size: 0.75rem; font-weight: 700; color: var(--text);
    text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dac-actions {
    padding: 12px 16px; border-top: 1px solid var(--border-soft); margin-top: auto;
}
.dac-btn {
    width: 100%; border-radius: 8px; border: 1px solid var(--border) !important;
    justify-content: center; background: rgba(255,255,255,0.03) !important;
    font-size: 0.72rem !important; padding: 8px 12px !important;
    transition: background 0.15s, color 0.15s, border-color 0.15s !important;
}
.dac-btn:hover { background: rgba(255,255,255,0.07) !important; color: var(--text) !important; border-color: rgba(255,255,255,0.12) !important; }

/* live feed height in 2-col layout */
.dash-main-grid .dash-terminal-card { border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,0.22); }
.dash-main-grid .hv-feed.dtc-feed { max-height: 360px; min-height: 240px; }


/* ═══════════════════════════════════════════════════
   SEARCH VIEW
   ═══════════════════════════════════════════════════ */

/* Hero search zone */
.srch-hero {
    max-width: 840px;
    margin: 0 auto 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: fadeUp 0.4s ease both;
}
/* Source row */
.srch-source-row {
    display: flex; align-items: center; gap: 10px;
}
.srch-source-label {
    font-size: 0.66rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.9px; color: var(--text-dim); white-space: nowrap;
}
.srch-source-tabs {
    display: flex; gap: 4px; padding: 3px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px;
}
.source-option { display: flex; align-items: center; cursor: pointer; position: relative; }
.source-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.srch-tab-inner {
    display: flex; align-items: center; gap: 7px;
    padding: 7px 15px; border-radius: 7px;
    background: transparent; border: 1px solid transparent;
    color: var(--text-dim); font-weight: 600; font-size: 0.78rem;
    transition: all 0.15s ease; user-select: none; white-space: nowrap;
}
.srch-tab-inner i { width: 13px; height: 13px; }
.source-option:hover .srch-tab-inner { color: var(--text-muted); background: rgba(255,255,255,0.03); }
.source-option[data-src="oathnet"] input:checked + .srch-tab-inner  { background: rgba(125, 211, 252, 0.15); border-color: rgba(125, 211, 252, 0.3); color: #7dd3fc; }
.source-option[data-src="wave"] input:checked + .srch-tab-inner { background: rgba(125, 211, 252, 0.15); border-color: rgba(125, 211, 252, 0.3); color: #7dd3fc; }

.srch-bar-wrap { position: relative; width: 100%; }

/* Search bar */
.search-bar {
    display: flex; align-items: center; gap: 10px;
    padding: 5px 5px 5px 20px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; transition: border-color 0.18s, box-shadow 0.18s;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    width: 100%;
}
.search-bar:focus-within {
    border-color: rgba(125,211,252,0.38);
    box-shadow: 0 0 0 3px rgba(125,211,252,0.08), 0 8px 32px rgba(0,0,0,0.28);
}
.search-bar-icon { color: var(--text-dim); width: 16px; height: 16px; flex-shrink: 0; }
.search-bar input {
    flex: 1; background: none; border: none; outline: none;
    color: var(--text); font-size: 0.96rem;
    font-family: var(--font-sans); padding: 14px 0; font-weight: 400;
}
.search-bar input::placeholder { color: var(--text-dim); }

#searchBtn, #cfxLookupBtn {
    background: var(--neon); border: none; border-radius: 11px;
    padding: 11px 22px; color: #080810; font-size: 0.82rem; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; gap: 7px;
    transition: all 0.2s ease;
    font-family: var(--font-sans); flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(125,211,252,0.18);
}
#searchBtn i, #cfxLookupBtn i { width: 13px; height: 13px; }
#searchBtn:hover:not(:disabled), #cfxLookupBtn:hover:not(:disabled) { opacity: 0.87; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(125,211,252,0.28); }
#searchBtn:active:not(:disabled), #cfxLookupBtn:active:not(:disabled) { transform: translateY(0); }
#searchBtn:disabled, #cfxLookupBtn:disabled { opacity: 0.35; cursor: not-allowed; box-shadow: none; }

/* Source row */
.srch-source-row {
    display: flex; align-items: center; gap: 10px;
}
.srch-source-label {
    font-size: 0.66rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.9px; color: var(--text-dim); white-space: nowrap;
}
.srch-source-tabs {
    display: flex; gap: 4px; padding: 3px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px;
}
.source-option { display: flex; align-items: center; cursor: pointer; position: relative; }
.source-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.srch-tab-inner {
    display: flex; align-items: center; gap: 7px;
    padding: 7px 15px; border-radius: 7px;
    background: transparent; border: 1px solid transparent;
    color: var(--text-dim); font-weight: 600; font-size: 0.78rem;
    transition: all 0.15s ease; user-select: none; white-space: nowrap;
}
.srch-tab-inner i { width: 13px; height: 13px; }
.source-option:hover .srch-tab-inner { color: var(--text-muted); background: rgba(255,255,255,0.03); }
.source-option[data-src="oathnet"] input:checked + .srch-tab-inner  { background: rgba(125, 211, 252, 0.15); border-color: rgba(125, 211, 252, 0.3); color: #7dd3fc; }
.source-option[data-src="wave"] input:checked + .srch-tab-inner { background: rgba(125, 211, 252, 0.15); border-color: rgba(125, 211, 252, 0.3); color: #7dd3fc; }

.source-option.source-locked {
    cursor: not-allowed !important;
}
.source-option.source-locked .srch-tab-inner {
    opacity: 0.5;
    filter: grayscale(1);
    pointer-events: none;
}

/* Search loading spinner */
.spin-btn {
    display: inline-block;
    width: 14px; height: 14px;
    border: 2px solid rgba(0,0,0,0.3);
    border-top-color: rgba(0,0,0,0.85);
    border-radius: 50%;
    animation: spin-anim 0.65s linear infinite;
    vertical-align: middle;
}
@keyframes spin-anim { to { transform: rotate(360deg); } }

/* Suggestions */
.suggestion-box {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; overflow: hidden; z-index: 200; display: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}
.suggestion-box.open { display: block; animation: dropIn 0.14s ease; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.suggestion-item {
    display: flex; align-items: center; gap: 10px; padding: 10px 16px;
    cursor: pointer; font-size: 0.82rem; transition: background 0.1s;
    border-bottom: 1px solid var(--border-soft); color: var(--text-muted);
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover, .suggestion-item.active { background: var(--surface-2); color: var(--text); }
.suggestion-item i { width: 13px; height: 13px; flex-shrink: 0; color: var(--text-dim); }
.suggestion-type { font-size: 0.59rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-dim); margin-left: auto; }

/* Query Types Section */
.srch-types-section {
    max-width: 840px;
    margin: 0 auto 28px;
    animation: fadeUp 0.4s 0.08s ease both;
}
.srch-types-header {
    display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding-left: 2px;
    font-size: 0.67rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.9px; color: var(--text-dim);
}
.srch-types-header i { width: 12px; height: 12px; }
.srch-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.srch-type-chip {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 16px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.16s, transform 0.16s, box-shadow 0.16s;
    cursor: default;
}
.srch-type-chip:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.stc-icon {
    width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.stc-icon i { width: 15px; height: 15px; }
.stc-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.stc-name { font-size: 0.79rem; font-weight: 600; color: var(--text-muted); }
.stc-ex {
    font-family: var(--font-mono); font-size: 0.67rem; color: var(--text-dim);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    background: none; padding: 0;
}
/* Type accent colors */
.srch-type-email  .stc-icon { background: rgba(125,211,252,0.08); color: var(--neon);   border: 1px solid rgba(125,211,252,0.16); }
.srch-type-email:hover  { border-color: rgba(125,211,252,0.22); }
.srch-type-phone  .stc-icon { background: rgba(34,197,94,0.08);  color: #4ade80;        border: 1px solid rgba(34,197,94,0.16); }
.srch-type-phone:hover  { border-color: rgba(34,197,94,0.22); }
.srch-type-ip     .stc-icon { background: rgba(249,115,22,0.08); color: #fb923c;        border: 1px solid rgba(249,115,22,0.16); }
.srch-type-ip:hover     { border-color: rgba(249,115,22,0.22); }
.srch-type-user   .stc-icon { background: rgba(167,139,250,0.08); color: var(--purple); border: 1px solid rgba(167,139,250,0.16); }
.srch-type-user:hover   { border-color: rgba(167,139,250,0.22); }
.srch-type-domain .stc-icon { background: rgba(245,158,11,0.08); color: var(--amber);  border: 1px solid rgba(245,158,11,0.16); }
.srch-type-domain:hover { border-color: rgba(245,158,11,0.22); }
.srch-type-discord .stc-icon { background: rgba(99,102,241,0.08); color: var(--indigo); border: 1px solid rgba(99,102,241,0.16); }
.srch-type-discord:hover { border-color: rgba(99,102,241,0.22); }

/* Results */
#resultsSection { animation: fadeUp 0.22s ease both; }

.results-header-bar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px; gap: 12px;
    padding-bottom: 14px; border-bottom: 1px solid var(--border-soft);
}
.results-title { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 600; color: var(--text-muted); }
.results-title i { width: 14px; height: 14px; }
.results-count {
    font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px;
    color: var(--neon); background: rgba(125,211,252,0.07); border: 1px solid rgba(47, 241, 241, 0.795);
    padding: 4px 12px; border-radius: 99px;
}

.results-grid { display: flex; flex-direction: column; gap: 10px; }

.empty-results {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    padding: 64px 0; color: var(--text-dim);
}
.empty-results i { width: 40px; height: 40px; opacity: 0.18; }
.empty-results p { font-size: 0.82rem; }


/* ═══════════════════════════════════════════════════
   RESULT CARDS
   ═══════════════════════════════════════════════════ */
/* Card entry animation (driven by data-animate + JS stagger) */
.result-card[data-animate] {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.28s ease, transform 0.28s ease, border-color 0.18s, box-shadow 0.18s;
}
.result-card[data-animate].visible {
    opacity: 1;
    transform: none;
}

.result-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden;
    transition: border-color 0.18s, box-shadow 0.2s, transform 0.2s;
}
.result-card:hover {
    border-color: rgba(255,255,255,0.14);
    box-shadow: 0 6px 24px rgba(0,0,0,0.26);
    transform: translateY(-2px);
}

.result-card.source-local   { border-left: 3px solid rgba(34,197,94,0.45); }
.result-card.source-oath    { border-left: 3px solid rgba(99,102,241,0.45); }
.result-card.source-veritas { border-left: 3px solid rgba(245,158,11,0.45); }
.result-card.source-autodb  { border-left: 3px solid rgba(167,139,250,0.45); }

.card-top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; padding: 10px 16px;
    background: rgba(255,255,255,0.012);
    border-bottom: 1px solid var(--border-soft);
}
.card-source-label {
    font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600;
    color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em;
    opacity: 0.75;
}

.card-entry-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 16px 12px;
    border-bottom: 1px solid var(--border-soft);
    background: rgba(255,255,255,0.02);
}
.card-entry-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-high, #f4f4f5);
    line-height: 1.35;
}
.card-entry-foot {
    font-size: 0.65rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.result-badge { font-size: 0.59rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 9px; border-radius: 99px; }
.badge-local   { background: rgba(34,197,94,0.08);   color: #4ade80;       border: 1px solid rgba(34,197,94,0.2); }
.badge-oath    { background: rgba(99,102,241,0.08);  color: var(--indigo); border: 1px solid rgba(99,102,241,0.2); }
.badge-veritas { background: rgba(245,158,11,0.08);  color: var(--amber);  border: 1px solid rgba(245,158,11,0.2); }
.badge-autodb  { background: rgba(167,139,250,0.08); color: var(--purple); border: 1px solid rgba(167,139,250,0.2); }
.badge-generic { background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid var(--border); }

.card-fields { display: flex; flex-direction: column; }
.no-fields {
    display: flex; align-items: center; gap: 9px;
    padding: 16px; color: var(--text-dim); font-size: 0.77rem; font-style: italic;
}
.no-fields i { width: 13px; height: 13px; flex-shrink: 0; opacity: 0.35; }

.result-field {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 9px 16px; border-bottom: 1px solid var(--border-soft);
    transition: background 0.12s; min-height: 36px;
}
.result-field:last-child { border-bottom: none; }
.result-field:hover { background: rgba(255,255,255,0.025); }

.field-icon { width: 12px; height: 12px; color: var(--text-dim); flex-shrink: 0; margin-top: 3px; }

.field-label {
    font-size: 0.59rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.6px; color: var(--text-dim);
    width: 80px; flex-shrink: 0; padding-top: 2px; opacity: 0.8;
}

.field-value {
    font-family: var(--font-mono); font-size: 0.77rem; color: var(--text);
    word-break: break-word; overflow-wrap: anywhere; flex: 1; line-height: 1.55; opacity: 0.9;
}

.pw-masked   { color: var(--text-dim); letter-spacing: 2px; font-size: 0.7rem; }
.pw-revealed { color: var(--amber) !important; letter-spacing: normal; }
.val-name     { color: var(--text); }
.val-ip       { color: var(--neon); }
.val-disc     { color: var(--indigo); }
.val-url      { color: var(--neon); word-break: break-all; }
.val-location { color: var(--green); }
.val-hash     { color: var(--text-dim); font-size: 0.68rem; letter-spacing: 0.3px; }
.val-service  { color: var(--amber); font-weight: 600; text-transform: uppercase; font-size: 0.67rem; letter-spacing: 0.5px; }

.field-copy-btn {
    flex-shrink: 0; background: none; border: none; color: var(--text-dim);
    padding: 2px 4px; border-radius: 4px; cursor: pointer;
    display: flex; align-items: center; transition: color 0.1s; opacity: 0;
}
.result-field:hover .field-copy-btn { opacity: 1; }
.field-copy-btn:hover { color: var(--text-muted); }
.field-copy-btn i { width: 11px; height: 11px; }

/* Field value row with copy button */
.field-value-row {
    display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0;
}
.field-value-row .field-value { flex: 1; }

.copy-btn {
    background: none; border: 1px solid var(--border); border-radius: 6px;
    padding: 3px 5px; color: var(--text-dim); cursor: pointer;
    display: flex; align-items: center; flex-shrink: 0;
    opacity: 0; transition: all 0.15s ease; font-family: var(--font-sans);
}
.result-field:hover .copy-btn { opacity: 1; }
.copy-btn:hover { color: var(--green); border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.06); }
.copy-btn.copied { color: var(--green); border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.06); opacity: 1 !important; }
.copy-btn i { width: 11px; height: 11px; }
.pw-toggle { opacity: 1 !important; }
.pw-toggle:hover { color: var(--amber) !important; border-color: rgba(245,158,11,0.4) !important; background: rgba(245,158,11,0.06) !important; }

/* Raw data collapsible */
.card-raw { border-top: 1px solid var(--border-soft); }
.card-raw summary {
    display: flex; align-items: center; gap: 8px; cursor: pointer;
    font-size: 0.62rem; font-weight: 700; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 0.5px;
    padding: 10px 16px; list-style: none; user-select: none;
    outline: none; transition: color 0.14s, background 0.14s;
}
.card-raw summary:hover { color: var(--text-muted); background: rgba(255,255,255,0.015); }
.card-raw summary::-webkit-details-marker { display: none; }
.card-raw summary i { width: 12px; height: 12px; flex-shrink: 0; }
.raw-chevron { margin-left: auto; transition: transform 0.2s ease; }
details.card-raw[open] .raw-chevron { transform: rotate(180deg); }
.card-raw-value {
    font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim);
    line-height: 1.55; word-break: break-all; padding: 0 16px 14px;
    white-space: pre-wrap;
}

/* Success / password color */
.success { color: var(--amber); }

/* ---- Discord Profile Block ---- */
.dc-profile {
    margin: 0 12px 12px; border-radius: 10px; overflow: hidden;
    background: rgba(88,101,242,0.06); border: 1px solid rgba(88,101,242,0.18);
}
.dc-banner { width: 100%; height: 72px; overflow: hidden; }
.dc-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dc-avatar-row {
    display: flex; align-items: center; gap: 12px; padding: 10px 14px;
}
.dc-avatar {
    width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
    border: 2px solid rgba(88,101,242,0.45); flex-shrink: 0;
    background: #5865f2; margin-top: -22px;
}
.dc-avatar-init {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; color: rgba(255,255,255,0.92);
    border: 2px solid rgba(255,255,255,0.12); margin-top: -22px;
}
.dc-profile:not(:has(.dc-banner)) .dc-avatar,
.dc-profile:not(:has(.dc-banner)) .dc-avatar-init { margin-top: 0; }
.dc-user-details { display: flex; flex-direction: column; gap: 2px; overflow: hidden; min-width: 0; }
.dc-username {
    font-family: var(--font-mono); font-size: 0.82rem; color: var(--indigo);
    font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dc-id { font-family: var(--font-mono); font-size: 0.63rem; color: var(--text-dim); letter-spacing: 0.3px; }

/* Alternate card layout (card-header style) */
.card-title-area { display: flex; align-items: center; gap: 9px; }
.card-primary-name { font-size: 0.85rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 7px; letter-spacing: -0.01em; }
.card-header { padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-soft); gap: 10px; }
.card-type-icon { width: 28px; height: 28px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-dim); flex-shrink: 0; }
.card-type-icon i { width: 12px; height: 12px; }
.card-source-badge { font-size: 0.57rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.6px; background: rgba(255,255,255,0.04); color: var(--text-dim); border: 1px solid var(--border); }
.card-sub-info { font-size: 0.69rem; color: var(--text-dim); font-weight: 400; margin-top: 1px; }
.highlight { color: var(--neon); opacity: 1 !important; }


/* ═══════════════════════════════════════════════════
   REDEEM VIEW
   ═══════════════════════════════════════════════════ */
.redeem-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 16px;
    max-width: 820px;
    align-items: start;
    animation: fadeUp 0.4s ease both;
}
.redeem-card {
    width: 100%; background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; padding: 28px;
    display: flex; flex-direction: column; gap: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.22);
}
.redeem-card-hero {
    display: flex; align-items: flex-start; gap: 14px;
    margin-bottom: 24px;
}
.redeem-icon-wrap {
    width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
    background: rgba(125,211,252,0.09); border: 1px solid rgba(125,211,252,0.2);
    display: flex; align-items: center; justify-content: center; color: var(--neon);
}
.redeem-icon-wrap i { width: 18px; height: 18px; }
.redeem-card h2 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 5px; }
.redeem-sub { font-size: 0.78rem; color: var(--text-dim); line-height: 1.55; }

.redeem-form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.redeem-form-group label { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.02em; }
.redeem-input-wrap { position: relative; display: flex; align-items: center; }
.redeem-input-icon { position: absolute; left: 12px; width: 14px; height: 14px; color: var(--text-dim); pointer-events: none; }
#redeemKeyInput {
    width: 100%; padding: 12px 12px 12px 34px;
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 10px; color: var(--text); font-size: 0.82rem;
    font-family: var(--font-mono); letter-spacing: 0.05em;
    text-transform: uppercase; outline: none;
    transition: border-color 0.16s, box-shadow 0.16s;
}
#redeemKeyInput:focus {
    border-color: rgba(125,211,252,0.3);
    box-shadow: 0 0 0 3px rgba(125,211,252,0.06);
}
#redeemKeyInput::placeholder { color: var(--text-dim); text-transform: none; letter-spacing: 0; }

.redeem-feedback {
    padding: 10px 14px; border-radius: 8px; font-size: 0.79rem;
    margin-bottom: 12px; border: 1px solid var(--border);
    background: var(--surface-2); color: var(--text-muted);
}

.redeem-submit-btn {
    width: 100%; padding: 13px;
    background: var(--neon); border: none;
    border-radius: 10px; color: #080810; font-size: 0.86rem; font-weight: 700;
    font-family: var(--font-sans); cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: opacity 0.14s, transform 0.14s, box-shadow 0.15s; margin-top: 4px;
    box-shadow: 0 2px 14px rgba(125,211,252,0.18);
}
.redeem-submit-btn:hover { opacity: 0.88; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(125,211,252,0.28); }
.redeem-submit-btn:active { transform: translateY(0); }
.redeem-submit-btn i { width: 15px; height: 15px; }

/* Redeem info card (right column) */
.redeem-info-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 14px; padding: 20px;
    display: flex; flex-direction: column; gap: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.16);
    animation: fadeUp 0.4s 0.08s ease both;
}
.ric-header {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.76rem; font-weight: 600; color: var(--text-muted);
    margin-bottom: 16px; padding-bottom: 13px;
    border-bottom: 1px solid var(--border-soft);
}
.ric-header i { width: 13px; height: 13px; color: var(--text-dim); }
.ric-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.ric-step { display: flex; align-items: flex-start; gap: 11px; }
.ric-step-n {
    width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
    background: var(--surface-2); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.62rem; font-weight: 800; color: var(--text-dim);
    font-family: var(--font-mono);
}
.ric-step-t { font-size: 0.77rem; color: var(--text-muted); line-height: 1.5; padding-top: 2px; }
.ric-step-t strong { color: var(--text); font-weight: 700; }
.ric-step-t code {
    font-family: var(--font-mono); font-size: 0.72rem;
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 4px; padding: 1px 5px; color: var(--neon);
}
.ric-shop-btn {
    width: 100%; padding: 10px 14px;
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 9px; color: var(--text-muted); font-size: 0.79rem; font-weight: 600;
    font-family: var(--font-sans); cursor: pointer;
    display: flex; align-items: center; gap: 8px; margin-top: auto;
    transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.ric-shop-btn:hover { background: rgba(255,255,255,0.05); color: var(--text); border-color: rgba(255,255,255,0.1); }
.ric-shop-btn i { width: 13px; height: 13px; }
.ric-arrow { margin-left: auto !important; opacity: 0.4; width: 12px !important; height: 12px !important; }


/* ═══════════════════════════════════════════════════
   PRICING VIEW
   ═══════════════════════════════════════════════════ */

/* Intro header */
.pricing-intro {
    max-width: 900px; text-align: center;
    margin-bottom: 28px; padding: 0 8px;
    animation: fadeUp 0.4s ease both;
}
.pi-badge {
    display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px;
    font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    color: var(--neon); background: rgba(125,211,252,0.07); border: 1px solid rgba(125,211,252,0.18);
    padding: 4px 12px; border-radius: 99px;
}
.pi-badge i { width: 11px; height: 11px; }
.pi-title { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text); margin-bottom: 8px; }
.pi-sub { font-size: 0.8rem; color: var(--text-dim); line-height: 1.6; max-width: 520px; margin: 0 auto; }

/* ── Pricing grid ──────────────────────────────────── */
.pricing-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 900px;
    margin-bottom: 24px;
    align-items: stretch;
}

/* ── Base card ─────────────────────────────────────── */
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,.18);
    transition:
        border-color .24s,
        transform .3s cubic-bezier(.34,1.35,.64,1),
        box-shadow .24s;
    animation: fadeUp 0.5s ease both;
    will-change: transform;
}
.pricing-card:nth-child(1) { animation-delay: 0ms; }
.pricing-card:nth-child(2) { animation-delay: 80ms; }
.pricing-card:nth-child(3) { animation-delay: 160ms; }

/* Hover lift effect */
.pricing-card:hover {
    border-color: rgba(255,255,255,.12);
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 18px 50px rgba(0,0,0,.32);
    z-index: 2;
}

/* Featured card base */
.pricing-card-featured {
    border-color: rgba(167,139,250,.28);
    background: linear-gradient(160deg, var(--surface) 60%, rgba(167,139,250,.03) 100%);
    box-shadow: 0 4px 28px rgba(167,139,250,.10);
}
.pricing-card-featured:hover {
    border-color: rgba(167,139,250,.55);
    box-shadow: 0 18px 52px rgba(167,139,250,.22);
}

/* ── Accent stripe ─────────────────────────────────── */
.pc-stripe { height: 2px; flex-shrink: 0; }
.pc-stripe-green  { background: linear-gradient(90deg, rgba(34,197,94,.5)   0%, transparent 100%); }
.pc-stripe-blue   { background: linear-gradient(90deg, rgba(125,211,252,.5) 0%, transparent 100%); }
.pc-stripe-purple { background: linear-gradient(90deg, rgba(167,139,250,.7) 0%, transparent 100%); }

/* ── Diagonal ribbon ───────────────────────────────── */
.pricing-popular {
    position: absolute; top: 14px; right: -24px;
    background: linear-gradient(135deg, #a78bfa, #818cf8);
    color: #fff; font-size: 0.58rem; font-weight: 800;
    padding: 3px 30px; transform: rotate(35deg);
    letter-spacing: .07em; text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(167,139,250,.35);
    white-space: nowrap; pointer-events: none;
}

/* ── Card body ─────────────────────────────────────── */
.pc-body { padding: 18px 20px 12px; display: flex; flex-direction: column; gap: 10px; }
.pc-header { display: flex; align-items: center; justify-content: space-between; }

/* ── Current plan badge ────────────────────────────── */
.pricing-current-badge {
    font-size: 0.61rem; font-weight: 700;
    background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: var(--green);
    padding: 3px 10px; border-radius: 99px; text-transform: uppercase;
    letter-spacing: .6px; width: fit-content;
}
.pricing-current-badge-green  { background: rgba(34,197,94,.1);   border-color: rgba(34,197,94,.3);   color: var(--green); }
.pricing-current-badge-purple { background: rgba(167,139,250,.1); border-color: rgba(167,139,250,.3); color: var(--purple); }

/* ── Plan type badge ───────────────────────────────── */
.pricing-badge {
    font-size: 0.63rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
    padding: 3px 10px; border-radius: 99px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: var(--text-dim);
}
.pricing-badge-green  { background: rgba(34,197,94,.09);  border-color: rgba(34,197,94,.2);   color: #4ade80; }
.pricing-badge-purple { background: rgba(167,139,250,.1); border-color: rgba(167,139,250,.22); color: #c4b5fd; }

/* ── Icon box ──────────────────────────────────────── */
.pricing-icon-bg {
    width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted);
    transition: transform .28s cubic-bezier(.34,1.35,.64,1);
}
.pricing-icon-bg i { width: 14px; height: 14px; }
.pricing-card:hover .pricing-icon-bg { transform: scale(1.18); }
.pricing-icon-green  { background: rgba(34,197,94,.08);   border-color: rgba(34,197,94,.2);    color: var(--green); }
.pricing-icon-blue   { background: rgba(125,211,252,.07); border-color: rgba(125,211,252,.15); color: var(--neon); }
.pricing-icon-purple { background: rgba(167,139,250,.08); border-color: rgba(167,139,250,.18); color: #c4b5fd; }

/* ── Price ─────────────────────────────────────────── */
.pricing-price    { display: flex; align-items: baseline; gap: 3px; flex-wrap: wrap; }
.pricing-amount   { font-size: 1.75rem; font-weight: 900; letter-spacing: -.04em; color: var(--text); transition: font-size .26s ease; }
.pricing-card:hover .pricing-amount { font-size: 2.1rem; }
.pricing-currency { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); margin-left: 1px; }
.pricing-period   { font-size: 0.73rem; color: var(--text-dim); margin-left: 2px; }

.pricing-desc { font-size: 0.77rem; color: var(--text-dim); line-height: 1.55; }

/* ── Content section (always visible) ─────────────── */
.pc-expand { display: block; }
.pc-expand-inner { }

.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 7px; padding: 12px 20px 0; }
.pricing-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.77rem; color: var(--text-muted); line-height: 1.4; }
.pricing-features li i { width: 12px; height: 12px; flex-shrink: 0; margin-top: 1px; color: var(--green); }
.pricing-feature-dim { opacity: 0.38; }
.pricing-feature-dim i { color: var(--text-dim) !important; }

/* ── CTA ───────────────────────────────────────────── */
.pricing-cta { padding: 14px 20px 18px; display: flex; flex-direction: column; gap: 7px; }

.pricing-btn {
    width: 100%; padding: 10px 14px;
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 9px; color: var(--text-muted);
    font-size: 0.81rem; font-weight: 700; font-family: var(--font-sans); cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: background .14s, color .14s, border-color .14s, transform .14s;
}
.pricing-btn:hover { background: rgba(255,255,255,.07); color: var(--text); border-color: rgba(255,255,255,.13); transform: translateY(-1px); }
.pricing-btn i { width: 13px; height: 13px; }
.pricing-btn-green  { background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.22); color: #4ade80; }
.pricing-btn-green:hover  { background: rgba(34,197,94,.14); }
.pricing-btn-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); border: none; color: #fff; }
.pricing-btn-purple:hover { background: linear-gradient(135deg, #7c3aed, #6d28d9); box-shadow: 0 4px 20px rgba(139,92,246,.35); transform: translateY(-1px); }

.pricing-cta-label { font-size: 0.65rem; color: var(--text-dim); text-align: center; line-height: 1.4; }
.priority-tag { font-size: 0.57rem; font-weight: 800; background: rgba(167,139,250,.1); border: 1px solid rgba(167,139,250,.2); color: var(--purple); padding: 1px 6px; border-radius: 4px; text-transform: uppercase; }

/* ── Collapsed hint (hidden) ───────────────────────── */
.pc-hint { display: none; }

/* ── Info banner ───────────────────────────────────── */
.pricing-info-banner { display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; font-size: 0.79rem; color: var(--text-muted); max-width: 540px; line-height: 1.5; }
.pricing-info-banner i { width: 13px; height: 13px; flex-shrink: 0; color: var(--text-dim); margin-top: 2px; }

/* Plan badge colors (sidebar) */
.sidebar-plan-free     { color: var(--text-dim);   background: rgba(255,255,255,0.03); border-color: var(--border); }
.sidebar-plan-starter  { color: var(--indigo);     background: rgba(99,102,241,0.07);  border-color: rgba(99,102,241,0.2); }
.sidebar-plan-lifetime { color: var(--purple);     background: rgba(167,139,250,0.07); border-color: rgba(167,139,250,0.2); }
.sidebar-plan-admin    { display: none !important; }


/* ═══════════════════════════════════════════════════
   MUSIC PLAYER WIDGET
   ═══════════════════════════════════════════════════ */
.music-player-widget {
    position: fixed; bottom: 24px; right: 24px; width: 272px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden; z-index: 500;
    display: none; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.music-player-widget.visible,
.music-player-widget.active { display: block; }

.mp-header { display: flex; align-items: center; gap: 9px; padding: 11px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border-soft); font-size: 0.77rem; font-weight: 600; color: var(--text-muted); }
.mp-header i { width: 13px; height: 13px; }
.mp-close { margin-left: auto; background: none; border: none; color: var(--text-dim); display: flex; padding: 2px; transition: color 0.14s; }
.mp-close:hover { color: var(--text-muted); }
.mp-close i { width: 14px; height: 14px; }

.mp-content { padding: 14px; }
.mp-info { margin-bottom: 12px; }
.mp-title  { font-size: 0.81rem; font-weight: 600; color: var(--text); }
.mp-status { font-size: 0.69rem; color: var(--text-dim); margin-top: 2px; }

.mp-controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; }
.mp-btn { width: 32px; height: 32px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted); display: flex; align-items: center; justify-content: center; transition: background 0.14s, color 0.14s; }
.mp-btn:hover { background: rgba(255,255,255,0.07); color: var(--text); }
.mp-btn i { width: 13px; height: 13px; }
.mp-btn.mp-play { width: 36px; height: 36px; background: var(--text); border-color: transparent; color: var(--bg); border-radius: 9px; }
.mp-btn.mp-play:hover { opacity: 0.87; }

.mp-volume { display: flex; align-items: center; gap: 8px; color: var(--text-dim); }
.mp-volume i { width: 12px; height: 12px; flex-shrink: 0; }
.mp-volume input[type="range"] { flex: 1; height: 3px; appearance: none; background: rgba(255,255,255,0.1); border-radius: 99px; outline: none; cursor: pointer; }
.mp-volume input[type="range"]::-webkit-slider-thumb { appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--text); cursor: pointer; }


/* ═══════════════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════════════ */
.toast {
    position: fixed; bottom: 24px; left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; padding: 11px 16px;
    display: flex; align-items: center; gap: 10px;
    font-size: 0.81rem; color: var(--text-muted); z-index: 1000;
    opacity: 0; transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none; max-width: 380px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.toast i { color: var(--red); width: 14px; height: 14px; flex-shrink: 0; }
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }


/* ═══════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════ */
[data-animate] { opacity: 0; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.22s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes cardEntrance { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes neonPing { 0% { opacity: 0.5; } 70%, 100% { opacity: 0; } } /* kept for compat */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes feedSlideIn {
    from { opacity: 0; transform: translateY(10px); filter: blur(3px); }
    to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes formSlideIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.form-entering {
    animation: formSlideIn 0.22s ease forwards;
}

/* ── Register multi-step ─────────────────────────── */
.reg-steps {
    display: flex; align-items: flex-start; gap: 0; margin-bottom: 18px; padding: 0 2px;
}
.reg-step {
    display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0;
}
.reg-step-circle {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--surface-2); border: 1.5px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 700; color: var(--text-dim);
    transition: background 0.22s, border-color 0.22s, color 0.22s;
}
.reg-step span {
    font-size: 0.58rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.6px; color: var(--text-dim); transition: color 0.22s;
}
.reg-step.active .reg-step-circle {
    background: rgba(125,211,252,0.08); border-color: rgba(125,211,252,0.45); color: var(--neon);
}
.reg-step.active span { color: var(--text-muted); }
.reg-step.done .reg-step-circle {
    background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.45); color: var(--green);
    font-size: 0.65rem;
}
.reg-step.done span { color: var(--green); opacity: 0.65; }

.reg-step-connector {
    flex: 1; height: 1.5px; background: var(--border);
    margin: 13px 8px 0; transition: background 0.3s ease;
}
.reg-step-connector.done { background: rgba(34,197,94,0.3); }

/* Step panels */
.reg-step-panel { display: flex; flex-direction: column; gap: 14px; }

.reg-step-eyebrow {
    font-size: 0.58rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.2px; color: var(--text-dim); margin-bottom: 5px;
}
.reg-step-title {
    font-size: 1rem; font-weight: 800; letter-spacing: -0.025em;
    color: var(--text); line-height: 1.2;
}
.reg-step-sub { font-size: 0.71rem; color: var(--text-dim); margin-top: 3px; line-height: 1.4; }

.reg-step-foot {
    display: flex; gap: 8px; align-items: center; margin-top: 2px;
}
.reg-next-btn { width: 100%; margin-top: 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
.reg-submit-btn { flex: 1; width: auto; margin-top: 0; }
.reg-back-btn { flex-shrink: 0; padding: 10px 14px; }

.reg-inline-error {
    font-size: 0.71rem; color: var(--red); margin-top: 6px;
    display: flex; align-items: center; gap: 5px; padding: 0 2px;
    animation: formSlideIn 0.15s ease;
}

@keyframes slideFromRight { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes slideFromLeft  { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.reg-slide-in-r { animation: slideFromRight 0.2s ease forwards; }
.reg-slide-in-l { animation: slideFromLeft  0.2s ease forwards; }

/* ── Password strength bar ───────────────────────── */
.pw-strength-wrap {
    display: flex; align-items: center; gap: 10px; margin-top: 7px;
}
.pw-strength-bar {
    flex: 1; height: 3px; background: rgba(255,255,255,0.06);
    border-radius: 99px; overflow: hidden;
}
.pw-strength-fill {
    height: 100%; width: 0; border-radius: 99px;
    transition: width 0.3s ease, background 0.3s ease;
}
.pw-strength-label {
    font-size: 0.62rem; font-weight: 700; min-width: 52px;
    text-align: right; transition: color 0.3s ease; color: var(--text-dim);
}


/* ═══════════════════════════════════════════════════
   ADMIN PANEL COMPONENTS
   ═══════════════════════════════════════════════════ */

/* Panel header layout */
.panel-header-left { flex: 1; min-width: 0; }
.panel-header-left h1 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; color: var(--text); }
.panel-header-left p  { font-size: 0.79rem; color: var(--text-dim); margin-top: 5px; }
.panel-greeting { font-size: 0.61rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; color: var(--text-dim); margin-bottom: 6px; }

/* Textarea + select global dark styling */
textarea {
    width: 100%; padding: 11px 14px;
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 9px; color: var(--text); font-size: 0.84rem;
    font-family: var(--font-sans); line-height: 1.6; outline: none;
    transition: border-color 0.14s; box-sizing: border-box; resize: vertical;
}
textarea:focus { border-color: rgba(255,255,255,0.18); }
textarea::placeholder { color: var(--text-dim); }
.input-wrapper select {
    width: 100%; height: 100%; padding: 11px 12px 11px 34px;
    background: var(--surface-2); border: none; outline: none;
    color: var(--text); font-size: 0.86rem; font-family: var(--font-sans);
    appearance: none; cursor: pointer;
}

/* Card grid layout */
.card-grid {
    display: flex; flex-direction: column; gap: 12px;
}

/* Section header (h3 + optional count) */
.section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px; gap: 12px;
}
.section-header h3 {
    font-size: 0.84rem; font-weight: 700; color: var(--text); letter-spacing: -0.015em;
}

/* Feature card */
.feature-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden;
    transition: border-color 0.18s, box-shadow 0.22s;
}
.feature-card:hover { border-color: rgba(255,255,255,0.11); box-shadow: 0 4px 20px rgba(0,0,0,0.16); }
.feature-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 13px 20px;
    background: var(--surface-2); border-bottom: 1px solid var(--border-soft);
}
.feature-header h3 {
    font-size: 0.83rem; font-weight: 700; color: var(--text);
    letter-spacing: -0.015em;
}
.feature-header-actions { display: flex; align-items: center; gap: 8px; }
.feature-body { padding: 18px; }
.feature-body .form-group { margin-bottom: 14px; }
.feature-body .form-group:last-child { margin-bottom: 0; }

/* Feature card icon (dashboard cards) */
.feature-card-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); margin-bottom: 6px; }
.feature-card-icon.accent { border-color: rgba(255,255,255,0.1); }
.feature-card p  { font-size: 0.79rem; color: var(--text-dim); line-height: 1.6; flex: 1; }

/* Admin table */
.admin-table-wrapper {
    width: 100%; overflow-x: auto;
    border-radius: 10px; border: 1px solid var(--border-soft);
}
.admin-table {
    width: 100%; border-collapse: collapse;
    font-size: 0.79rem; min-width: 600px;
}
.admin-table thead tr { background: var(--surface-2); border-bottom: 1px solid var(--border); }
.admin-table th {
    padding: 10px 16px; text-align: left; white-space: nowrap;
    font-size: 0.59rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.7px; color: var(--text-dim);
}
.admin-table td {
    padding: 10px 16px; border-bottom: 1px solid var(--border-soft);
    color: var(--text-muted); vertical-align: middle;
    transition: background 0.12s;
}
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr { transition: background 0.12s; }
.admin-table tbody tr:hover td { background: rgba(125,211,252,0.03); }
.admin-table td.mono { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Status pills */
.admin-status-pill {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.61rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; padding: 3px 9px; border-radius: 99px;
    white-space: nowrap;
}
.admin-status-dot {
    width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
}
.admin-status-pill.ok  { background: rgba(34,197,94,0.08);  border: 1px solid rgba(34,197,94,0.25);  color: #4ade80; }
.admin-status-pill.ok  .admin-status-dot { background: var(--green); }
.admin-status-pill.bad { background: rgba(239,68,68,0.08);  border: 1px solid rgba(239,68,68,0.25);  color: var(--red); }
.admin-status-pill.bad .admin-status-dot { background: var(--red); }

/* Admin action buttons */
.admin-action-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 11px; border-radius: 8px; border: 1px solid var(--border);
    background: var(--surface-2); color: var(--text-muted);
    font-size: 0.72rem; font-weight: 600; cursor: pointer;
    font-family: var(--font-sans); white-space: nowrap;
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s;
}
.admin-action-btn i { width: 12px; height: 12px; flex-shrink: 0; }
.admin-action-btn:hover { background: rgba(255,255,255,0.08); color: var(--text); border-color: rgba(255,255,255,0.16); transform: translateY(-1px); }
.admin-action-btn:active { transform: translateY(0); }
.admin-action-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.admin-action-btn.danger { background: rgba(239,68,68,0.06); border-color: rgba(239,68,68,0.2); color: rgba(239,68,68,0.75); }
.admin-action-btn.danger:hover { background: rgba(239,68,68,0.13); color: var(--red); border-color: rgba(239,68,68,0.38); }

/* Ghost button */
.btn-ghost {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border);
    background: transparent; color: var(--text-dim);
    font-size: 0.79rem; font-weight: 600; cursor: pointer;
    font-family: var(--font-sans);
    transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.btn-ghost:hover { background: var(--surface-2); color: var(--text-muted); border-color: rgba(255,255,255,0.1); }
.btn-ghost i { width: 13px; height: 13px; }

/* Results count badge (shared) */
.results-count { font-size: 0.67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-dim); background: var(--surface); border: 1px solid var(--border); padding: 4px 12px; border-radius: 99px; }

/* Bot / admin log box */
.admin-log-box {
    background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px;
    padding: 14px 16px; max-height: 300px; overflow-y: auto;
    font-family: var(--font-mono); font-size: 0.79rem; line-height: 1.7;
    white-space: pre-wrap; color: var(--text-dim); word-break: break-all;
}

/* shop panel selects / inputs inline */
#addKeyProduct, #prodId, #prodName, #prodDesc, #prodPrice, #addKeyValues {
    width: 100%; box-sizing: border-box;
    padding: 10px 13px;
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 9px; color: var(--text); font-size: 0.84rem;
    font-family: var(--font-sans); outline: none;
    transition: border-color 0.14s;
}
#addKeyProduct { appearance: none; cursor: pointer; height: 42px; }
#addKeyValues  { font-family: var(--font-mono); font-size: 0.79rem; resize: vertical; }
#addKeyProduct:focus, #prodId:focus, #prodName:focus, #prodDesc:focus, #prodPrice:focus { border-color: rgba(255,255,255,0.18); }

/* ═══════════════════════════════════════════════════
   SHARED / MISC
   ═══════════════════════════════════════════════════ */

.goto-btn { background: none; border: 1px solid var(--border); border-radius: 7px; padding: 6px 12px; color: var(--text-dim); font-size: 0.75rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; transition: background 0.14s, color 0.14s; font-family: var(--font-sans); }
.goto-btn:hover { background: var(--surface-2); color: var(--text-muted); }
.goto-btn i { width: 12px; height: 12px; }

#adminNavBtn a.nav-item { background: rgba(220,38,38,0.06); border: 1px solid rgba(220,38,38,0.14); }
#adminNavBtn a.nav-item:hover { background: rgba(220,38,38,0.1); }

.custom-select-container { position: relative; width: 100%; margin-bottom: 18px; }
.custom-select-container select { width: 100%; height: 42px; padding: 0 38px 0 13px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-family: var(--font-sans); font-size: 0.84rem; outline: none; appearance: none; cursor: pointer; transition: border-color 0.14s; }
.custom-select-container select:focus { border-color: rgba(255,255,255,0.18); }
.custom-select-caret { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-dim); width: 13px; height: 13px; }

#docsList { list-style: none; }
#docsList li a, #docsList li button { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 8px; font-size: 0.81rem; color: var(--text-muted); background: none; border: none; width: 100%; text-align: left; font-family: var(--font-sans); cursor: pointer; transition: background 0.12s, color 0.12s; }
#docsList li a:hover, #docsList li button:hover { background: rgba(255,255,255,0.04); color: var(--text); }

/* auth-split full-page login override */
.auth-split .login-card { border-color: var(--border); }


/* ═══════════════════════════════════════════════════
   LIGHT THEME
   ═══════════════════════════════════════════════════ */
body.light-theme {
    --bg:          #f3f3f6;
    --surface:     #ffffff;
    --surface-2:   #edecf2;
    --border:      rgba(0,0,0,0.09);
    --border-soft: rgba(0,0,0,0.045);
    --text:        #0e0e14;
    --text-muted:  #565770;
    --text-dim:    #9b9cae;
}
body.light-theme .blob { opacity: 0.02; }
body.light-theme .btn-primary,
body.light-theme .redeem-submit-btn,
body.light-theme #searchBtn { background: var(--text); color: var(--bg); }
body.light-theme .btn-discord-oauth {
    color: #fff;
    box-shadow: 0 4px 18px rgba(88, 101, 242, 0.35);
}
body.light-theme .spinner { border-color: rgba(53, 202, 207, 0.795); border-top-color: var(--bg); }


/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .dash-actions-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-wrapper   { grid-template-columns: 1fr 1fr; max-width: 620px; }
}

@media (max-width: 860px) {
    :root { --sidebar-w: 0px; }
    .sidebar { width: 220px; transform: translateX(-100%); transition: transform 0.22s ease; }
    .sidebar.open { transform: translateX(0); }
    .content-area { margin-left: 0; }
    .auth-brand-panel { display: none; }
    .login-container { padding: 32px 20px; }
    .panel-header { padding: 20px 20px 14px; }
    .panel-scroll { padding: 20px 20px 48px; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .pricing-wrapper { grid-template-columns: 1fr; max-width: 360px; }
}

@media (max-width: 580px) {
    .stats-row, .dash-actions-grid { grid-template-columns: 1fr; }
    .pricing-wrapper { grid-template-columns: 1fr; }
    .panel-header { flex-direction: column; gap: 8px; }
    .panel-header-right { align-items: flex-start; }
    .search-wrapper { max-width: 100%; }
    .music-player-widget { width: calc(100vw - 32px); right: 16px; bottom: 16px; }
}

/* ═══════════════════════════════════════════════════
   ADMIN SPLASH SCREEN
═══════════════════════════════════════════════════ */
.admin-splash {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.38s ease, visibility 0.38s ease;
}
.admin-splash.splash-out { opacity: 0; visibility: hidden; pointer-events: none; }

.admin-splash-inner {
    display: flex; flex-direction: column; align-items: center; gap: 22px;
    animation: splashFadeIn 0.35s ease both;
}
@keyframes splashFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

/* Spinning ring */
.admin-splash-ring {
    width: 52px; height: 52px; border-radius: 50%;
    border: 3px solid var(--border);
    border-top-color: var(--neon);
    animation: splashRingSpin 0.8s linear infinite;
}
@keyframes splashRingSpin {
    to { transform: rotate(360deg); }
}

/* Brand text below ring */
.admin-splash-brand {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.admin-splash-name {
    font-size: 1.15rem; font-weight: 700; color: var(--text);
    letter-spacing: -0.025em;
}
.admin-splash-role {
    font-size: 0.7rem; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   DASHBOARD LOADING OVERLAY
═══════════════════════════════════════════════════ */
.dash-load-overlay {
    position: fixed; inset: 0; z-index: 9990;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}
.dash-load-overlay.hidden {
    opacity: 0; visibility: hidden; pointer-events: none;
}
.dash-load-inner {
    display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.loading-wave {
    width: 140px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
}
.loading-bar {
    width: 16px;
    height: 12px;
    background: linear-gradient(180deg, #5eead4 0%, #0d9488 100%);
    border-radius: 8px;
    animation: loading-wave-animation 1s ease-in-out infinite;
}
.loading-bar:nth-child(2) {
    animation-delay: 0.1s;
}
.loading-bar:nth-child(3) {
    animation-delay: 0.2s;
}
.loading-bar:nth-child(4) {
    animation-delay: 0.3s;
}
@keyframes loading-wave-animation {
    0% { height: 10px; }
    50% { height: 50px; }
    100% { height: 10px; }
}
.dash-load-logo {
    font-family: var(--font-sans); font-size: 1.5rem; font-weight: 800;
    color: var(--text); letter-spacing: -0.5px;
}
.dash-load-logo span { color: var(--neon); }
.dash-load-sub {
    font-size: 0.8rem; color: var(--text-dim); margin-top: -8px;
    letter-spacing: 0.5px;
}

/* Count-up animation flash */
@keyframes statCountFlash {
    0%   { color: var(--neon); }
    100% { color: inherit; }
}
.stat-counting { animation: statCountFlash 0.6s ease-out; }

/* Live feed new-entry animation */
@keyframes feedSlideIn {
    from { opacity: 0; transform: translateY(10px); filter: blur(3px); }
    to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* ═══════════════════════════════════════════════════
   LOGIN LOADING OVERLAY
═══════════════════════════════════════════════════ */
.login-loading-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    animation: splashFadeIn 0.25s ease both;
}
.login-loading-inner {
    display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.login-loading-overlay .loading-wave {
    width: 120px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 7px;
}
.login-loading-overlay .loading-bar {
    width: 14px;
    height: 10px;
    background: linear-gradient(180deg, #5eead4 0%, #0d9488 100%);
    border-radius: 7px;
    animation: loading-wave-animation 1s ease-in-out infinite;
}
.login-loading-overlay .loading-bar:nth-child(2) {
    animation-delay: 0.1s;
}
.login-loading-overlay .loading-bar:nth-child(3) {
    animation-delay: 0.2s;
}
.login-loading-overlay .loading-bar:nth-child(4) {
    animation-delay: 0.3s;
}
.login-loading-text {
    font-size: 0.92rem; font-weight: 600; color: var(--text);
}
.login-loading-sub {
    font-size: 0.76rem; color: var(--text-dim);
    margin-top: -8px;
}

/* ═══════════════════════════════════════════════════
   REGISTRATION SUCCESS ANIMATION
═══════════════════════════════════════════════════ */
.reg-success-anim {
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    padding: 24px 0;
}
.reg-success-circle {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(34,197,94,0.10); border: 2px solid var(--green);
    display: flex; align-items: center; justify-content: center;
    color: var(--green);
    animation: regSuccessScaleIn 0.4s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes regSuccessScaleIn {
    from { opacity: 0; transform: scale(0.6); }
    to   { opacity: 1; transform: scale(1); }
}
.reg-success-circle i { width: 28px; height: 28px; }
.reg-success-title {
    font-size: 1rem; font-weight: 700; color: var(--text);
    animation: regSuccessFadeUp 0.35s 0.15s ease both;
}
.reg-success-sub {
    font-size: 0.78rem; color: var(--text-dim); text-align: center; 
    animation: regSuccessFadeUp 0.35s 0.25s ease both;
}
.reg-success-bar-wrap {
    width: 140px; height: 3px; background: var(--border);
    border-radius: 99px; overflow: hidden;
    animation: regSuccessFadeUp 0.35s 0.3s ease both;
}
.reg-success-bar {
    height: 100%; width: 0; border-radius: 99px;
    background: var(--green);
    animation: regSuccessBarFill 2s 0.4s linear forwards;
}
@keyframes regSuccessBarFill {
    from { width: 0%; }
    to   { width: 100%; }
}
@keyframes regSuccessFadeUp {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

/* Registrieren-Tab: „oder“ + Discord (OAuth) */
.reg-discord-footer {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}
.auth-or-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}
.auth-or-line {
    flex: 1;
    height: 1px;
    background: var(--border);
    opacity: 0.75;
}
.auth-or-pill {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.045);
    padding: 5px 14px;
    border-radius: 999px;
    flex-shrink: 0;
}
/* Discord — gleiche Maße/Typo wie .btn-primary, Farbe Discord-Lila */
.btn-discord-oauth {
    width: 100%;
    margin-top: 8px;
    padding: 11px 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: var(--font-sans);
    letter-spacing: -0.01em;
    color: #f6f7ff;
    background: linear-gradient(180deg, #7a85ff 0%, #6370f4 55%, #5865F2 100%);
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.28);
    transition: all 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.btn-discord-oauth:hover:not(:disabled) {
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
    filter: brightness(1.04);
}
.btn-discord-oauth:active:not(:disabled) {
    transform: scale(0.98);
}
.btn-discord-oauth:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.btn-discord-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: inherit;
}
.reg-discord-footer .btn-discord-oauth {
    margin-top: 0;
}
.login-container .btn-discord-oauth {
    margin-top: 8px;
}
.reg-discord-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

/* ═══════════════════════════════════════════════════
   USERS TABLE – AVATAR + ROLE + COMPACT ACTIONS
═══════════════════════════════════════════════════ */
.user-row-cell {
    display: flex; align-items: center; gap: 10px;
}
.user-avatar {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
    background: rgba(125,211,252,0.10); border: 1px solid rgba(125,211,252,0.22);
    color: var(--av-color, var(--neon));
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700; font-family: var(--font-sans);
}
.user-name-text {
    font-size: 0.8rem; font-weight: 600; color: var(--text);
    font-family: var(--font-mono);
}

/* Role pill display */
.role-pill {
    display: inline-block; padding: 2px 9px; border-radius: 99px;
    font-size: 0.67rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em;
}
.role-pill-user   { background: rgba(255,255,255,0.05); color: var(--text-dim); border: 1px solid var(--border); }
.role-pill-admin  { background: rgba(125, 211, 252, 0.08); color: #7dd3fc; border: 1px solid rgba(125, 211, 252, 0.2); }
.role-pill-vip    { background: rgba(245, 158, 11, 0.08); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.2); }
.role-pill-owner  { background: rgba(239, 68, 68, 0.08); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }

/* Custom role dropdown */
.role-dd { position: relative; display: inline-flex; }

.role-dd-trigger {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 9px; border-radius: 8px;
    background: var(--surface-2); border: 1px solid var(--border);
    cursor: pointer; transition: border-color 0.14s, background 0.14s;
    font-family: var(--font-sans);
}
.role-dd-trigger:hover { border-color: rgba(255,255,255,0.14); background: var(--surface); }
.role-dd.is-open .role-dd-trigger { border-color: rgba(125,211,252,0.28); }

.role-dd-chevron {
    color: var(--text-dim); flex-shrink: 0;
    transition: transform 0.18s;
}
.role-dd.is-open .role-dd-chevron { transform: rotate(180deg); }

.role-dd-menu {
    position: absolute; top: calc(100% + 5px); left: 0; z-index: 200;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; padding: 5px;
    display: none; flex-direction: column; gap: 2px;
    min-width: 120px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.2);
}
.role-dd.is-open .role-dd-menu {
    display: flex;
    animation: roleDDOpen 0.14s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes roleDDOpen {
    from { opacity: 0; transform: translateY(-4px) scale(0.97); }
    to   { opacity: 1; transform: none; }
}

.role-dd-item {
    display: flex; align-items: center; padding: 6px 10px;
    border-radius: 7px; border: none; background: transparent;
    cursor: pointer; font-family: var(--font-sans);
    transition: background 0.12s;
    text-align: left; width: 100%;
}
.role-dd-item:hover { background: rgba(255,255,255,0.05); }
.role-dd-item.is-active { background: rgba(255,255,255,0.04); }
.role-dd-item.is-active::after {
    content: '✓'; margin-left: auto; font-size: 0.7rem;
    color: var(--text-dim); padding-left: 8px;
}

/* Plan badge */
.plan-badge {
    display: inline-block; padding: 2px 8px; border-radius: 6px;
    font-size: 0.72rem; font-weight: 600;
    background: rgba(0, 247, 255, 0.795); border: 1px solid var(--border-soft);
    color: var(--text-muted);
}

/* Icon-only action buttons */
.admin-action-btn.icon-only {
    padding: 5px 7px; min-width: 0;
}
.admin-action-btn.icon-only i { width: 13px; height: 13px; margin: 0; }

/* Actions cell group */
.user-actions { display: flex; align-items: center; gap: 5px; }




/* 
   SHOP / ORDERS / KEYS VIEWS
    */

/* Loading state */
.shop-loading {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; padding: 80px 24px; gap: 16px;
    color: var(--text-dim); font-size: 0.82rem;
}
.shop-spin-icon {
    width: 28px; height: 28px; color: var(--neon); opacity: 0.7;
    animation: spin 1s linear infinite;
}

/* Empty / error state */
.shop-empty-state {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; padding: 80px 24px; gap: 0;
    color: var(--text-dim); font-size: 0.84rem; text-align: center;
}
.shop-empty-state p { margin-top: 14px; line-height: 1.5; }
.shop-empty-cta { cursor: pointer; }

/* LTC badge bar above product grid */
.shop-ltc-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 99px;
    background: var(--surface); border: 1px solid var(--border);
    font-size: 0.74rem; font-weight: 600; color: var(--text-muted);
    margin-bottom: 20px; animation: fadeUp 0.35s ease both;
}
.shop-rate-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.66rem; font-weight: 700; color: var(--green);
    background: rgba(34,197,94,0.07); border: 1px solid rgba(34,197,94,0.2);
    padding: 2px 9px; border-radius: 99px; margin-left: 6px;
}
.spc-ltc-sub {
    font-family: var(--font-mono); font-size: 0.69rem;
    color: var(--text-dim); margin-bottom: 10px; letter-spacing: 0.3px;
}

/* Back row */
.shop-back-row { margin-bottom: 20px; animation: fadeUp 0.3s ease both; }

/* Checkout card */
.shop-checkout-card {
    max-width: 480px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 16px; padding: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.22);
    animation: fadeUp 0.35s ease both;
}
.scc-title {
    font-size: 1.05rem; font-weight: 800; letter-spacing: -0.025em;
    color: var(--text); margin-bottom: 18px;
}
.scc-product-row {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 12px; margin-bottom: 10px;
}
.scc-product-name { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.scc-product-price { display: flex; align-items: baseline; gap: 5px; flex-shrink: 0; }
.scc-price-eur { font-size: 0.75rem; color: var(--text-dim); font-weight: 500; }
.scc-price-big { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 800; color: var(--neon); letter-spacing: -0.03em; }
.scc-price-unit { font-size: 0.68rem; font-weight: 700; color: var(--neon); opacity: 0.7; }
.scc-desc { font-size: 0.78rem; color: var(--text-dim); line-height: 1.55; margin-bottom: 16px; }
.scc-divider { border: none; border-top: 1px solid var(--border-soft); margin: 16px 0; }
.scc-info-row {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.77rem; color: var(--text-dim); line-height: 1.5; margin-bottom: 20px;
}
.scc-confirm-btn { margin-top: 0; }
.scc-err { font-size: 0.78rem; color: var(--red); margin-top: 10px; min-height: 1em; }

/* Payment card */
.shop-payment-card {
    max-width: 520px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.22);
    animation: fadeUp 0.35s ease both;
}
.spc2-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 14px 20px;
    background: var(--surface-2); border-bottom: 1px solid var(--border-soft);
}
.spc2-status-row { display: flex; align-items: center; gap: 8px; font-size: 0.79rem; font-weight: 600; color: var(--text-muted); }
.spc2-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.spc2-dot-pending { background: var(--amber); }
.spc2-dot-paid    { background: var(--green); }
.spc2-order-id { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-dim); }

.spc2-amount-block {
    padding: 24px 20px 20px;
    border-bottom: 1px solid var(--border-soft); text-align: center;
}
.spc2-amount-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-dim); margin-bottom: 8px; }
.spc2-amount-val {
    font-family: var(--font-mono); font-size: 1.9rem; font-weight: 800;
    letter-spacing: -0.04em; color: var(--neon);
    cursor: pointer; transition: opacity 0.14s;
}
.spc2-amount-val:hover { opacity: 0.75; }
.spc2-amount-sub { font-size: 0.72rem; color: var(--text-dim); margin-top: 5px; }
.spc2-amount-warn {
    font-size: 0.71rem; color: var(--amber); margin-top: 10px;
    padding: 7px 12px; border-radius: 7px;
    background: rgba(245,158,11,0.07); border: 1px solid rgba(245,158,11,0.18);
    display: inline-block;
}

.spc2-addr-block { padding: 16px 20px; border-bottom: 1px solid var(--border-soft); }
.spc2-addr-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-dim); margin-bottom: 8px; }
.spc2-addr-row { display: flex; align-items: center; gap: 8px; }
.spc2-addr-val {
    flex: 1; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted);
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 8px; padding: 9px 12px;
    word-break: break-all; overflow-wrap: anywhere;
}
.spc2-copy-btn { flex-shrink: 0; }

.spc2-qr-block { padding: 20px; text-align: center; border-bottom: 1px solid var(--border-soft); }
.spc2-qr-img {
    width: 140px; height: 140px; border-radius: 10px;
    border: 1px solid var(--border); display: block; margin: 0 auto 10px;
    background: #fff;
}
.spc2-qr-hint { font-size: 0.69rem; color: var(--text-dim); }

.spc2-bottom { padding: 14px 20px; background: var(--surface-2); }
.spc2-timer-row {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.77rem; color: var(--text-muted); margin-bottom: 6px;
}
.spc2-countdown {
    font-family: var(--font-mono); font-size: 0.88rem; font-weight: 700;
    color: var(--amber); letter-spacing: 0.04em; margin-left: auto;
}
.spc2-poll-note { font-size: 0.67rem; color: var(--text-dim); line-height: 1.4; }

/* Success card */
.shop-success-card {
    max-width: 480px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px;
    text-align: center; box-shadow: 0 4px 24px rgba(0,0,0,0.22);
    animation: fadeUp 0.4s ease both;
}
.ssc-icon { margin-bottom: 16px; }
.ssc-title { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.025em; color: var(--text); margin-bottom: 6px; }
.ssc-sub { font-size: 0.79rem; color: var(--text-dim); line-height: 1.55; margin-bottom: 20px; }
.ssc-key-block {
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 10px; padding: 16px; margin-bottom: 20px; text-align: left;
}
.ssc-key-label { font-size: 0.63rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-dim); margin-bottom: 8px; }
.ssc-key-val {
    font-family: var(--font-mono); font-size: 0.8rem; color: var(--neon);
    word-break: break-all; line-height: 1.55; margin-bottom: 12px;
}
.ssc-copy-btn { margin-top: 0; }
.ssc-warn {
    display: flex; align-items: flex-start; gap: 9px;
    font-size: 0.77rem; color: var(--amber); line-height: 1.5;
    padding: 10px 14px; background: rgba(245,158,11,0.07);
    border: 1px solid rgba(245,158,11,0.2); border-radius: 8px; margin-bottom: 20px;
    text-align: left;
}
.ssc-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* Orders list */
.shop-orders-list {
    display: flex; flex-direction: column; gap: 0;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden; max-width: 720px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    animation: fadeUp 0.35s ease both;
}
.sol-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 14px 18px;
    border-bottom: 1px solid var(--border-soft);
    transition: background 0.12s;
}
.sol-row:last-child { border-bottom: none; }
.sol-row:hover { background: var(--surface-2); }
.sol-left { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sol-product { font-size: 0.84rem; font-weight: 700; color: var(--text); }
.sol-meta { display: flex; align-items: center; gap: 10px; }
.sol-amount { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim); }
.sol-date { font-size: 0.66rem; color: var(--text-dim); opacity: 0.7; }
.sol-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sol-status { font-size: 0.71rem; font-weight: 700; white-space: nowrap; }
.sol-pay-btn { flex-shrink: 0; }

/* Keys list */
.skl-header-note {
    display: flex; align-items: flex-start; gap: 9px;
    font-size: 0.77rem; color: var(--text-muted); line-height: 1.5;
    padding: 10px 14px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 10px;
    margin-bottom: 16px; max-width: 720px;
    animation: fadeUp 0.3s ease both;
}
.shop-keys-list {
    display: flex; flex-direction: column; gap: 0;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden; max-width: 720px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    animation: fadeUp 0.35s ease 0.08s both;
}
.skl-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 14px 18px;
    border-bottom: 1px solid var(--border-soft);
    transition: background 0.12s;
}
.skl-row:last-child { border-bottom: none; }
.skl-row:hover { background: var(--surface-2); }
.skl-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.skl-icon {
    width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
    background: rgba(125,211,252,0.07); border: 1px solid rgba(125,211,252,0.16);
    display: flex; align-items: center; justify-content: center; color: var(--neon);
}
.skl-icon i { width: 13px; height: 13px; }
.skl-product { font-size: 0.82rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.skl-date { font-size: 0.64rem; color: var(--text-dim); }
.skl-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; max-width: 50%; }
.skl-key {
    font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 200px;
}
.skl-copy-btn { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════
   STARS PARTICLE BACKGROUND
════════════════════════════════════════════════════ */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

#stars {
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow:
        501px 811px #7dd3fc, 1450px 1324px #7dd3fc, 1093px 1780px #7dd3fc, 1469px 678px #7dd3fc,
        904px 741px #7dd3fc, 1160px 781px #7dd3fc, 1841px 1962px #7dd3fc, 1630px 1667px #7dd3fc,
        1788px 676px #7dd3fc, 367px 1734px #7dd3fc, 1343px 156px #7dd3fc, 1283px 1142px #7dd3fc,
        1062px 378px #7dd3fc, 1395px 467px #7dd3fc, 1017px 1891px #7dd3fc, 137px 1114px #7dd3fc,
        1767px 1403px #7dd3fc, 1543px 11px #7dd3fc, 1078px 181px #7dd3fc, 1189px 1574px #7dd3fc,
        1697px 1551px #7dd3fc, 439px 472px #7dd3fc, 1491px 677px #7dd3fc, 1364px 599px #7dd3fc,
        34px 382px #7dd3fc, 1221px 1584px #7dd3fc, 1266px 1499px #7dd3fc, 169px 1907px #7dd3fc,
        1219px 1125px #7dd3fc, 659px 18px #7dd3fc, 1731px 1959px #7dd3fc, 332px 1216px #7dd3fc,
        1913px 788px #7dd3fc, 80px 712px #7dd3fc, 326px 1605px #7dd3fc, 574px 1502px #7dd3fc,
        473px 1653px #7dd3fc, 404px 975px #7dd3fc, 322px 1797px #7dd3fc, 425px 1321px #7dd3fc,
        1121px 1797px #7dd3fc, 731px 647px #7dd3fc, 891px 1584px #7dd3fc, 1523px 109px #7dd3fc,
        1379px 244px #7dd3fc, 865px 1064px #7dd3fc, 493px 956px #7dd3fc, 624px 1380px #7dd3fc,
        440px 619px #7dd3fc, 1630px 767px #7dd3fc, 955px 1196px #7dd3fc, 62px 729px #7dd3fc,
        126px 946px #7dd3fc, 1256px 896px #7dd3fc, 1444px 256px #7dd3fc, 661px 1628px #7dd3fc,
        1078px 1716px #7dd3fc, 300px 737px #7dd3fc, 1734px 413px #7dd3fc, 1296px 129px #7dd3fc,
        1771px 1678px #7dd3fc, 977px 1764px #7dd3fc, 1879px 549px #7dd3fc, 665px 1531px #7dd3fc;
    animation: animStar 200s linear infinite;
    opacity: 0.4;
}
#stars:after {
    content: " ";
    position: absolute;
    top: 2000px;
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow:
        501px 811px #7dd3fc, 1450px 1324px #7dd3fc, 1093px 1780px #7dd3fc, 1469px 678px #7dd3fc,
        904px 741px #7dd3fc, 1160px 781px #7dd3fc, 1841px 1962px #7dd3fc, 1630px 1667px #7dd3fc;
}

#stars2 {
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow:
        1925px 1320px #5eead4, 693px 1778px #5eead4, 1016px 711px #5eead4, 1171px 563px #5eead4,
        661px 1919px #5eead4, 1610px 44px #5eead4, 1275px 140px #5eead4, 1208px 1802px #5eead4,
        1473px 1587px #5eead4, 11px 1117px #5eead4, 853px 1757px #5eead4, 1149px 937px #5eead4,
        1353px 428px #5eead4, 270px 279px #5eead4, 258px 1404px #5eead4, 417px 1188px #5eead4,
        286px 561px #5eead4, 393px 1765px #5eead4, 147px 881px #5eead4, 666px 1097px #5eead4,
        1425px 1278px #5eead4, 806px 156px #5eead4, 1252px 561px #5eead4, 218px 52px #5eead4,
        1371px 1980px #5eead4, 171px 745px #5eead4, 1424px 89px #5eead4, 137px 244px #5eead4,
        939px 1922px #5eead4, 137px 1080px #5eead4, 1757px 50px #5eead4, 904px 536px #5eead4;
    animation: animStar 150s linear infinite;
    opacity: 0.3;
}
#stars2:after {
    content: " ";
    position: absolute;
    top: 2000px;
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow:
        1925px 1320px #5eead4, 693px 1778px #5eead4, 1016px 711px #5eead4, 1171px 563px #5eead4;
}

#stars3 {
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow:
        200px 981px #0d9488, 1731px 521px #0d9488, 132px 1039px #0d9488, 1888px 1547px #0d9488,
        899px 1226px #0d9488, 1887px 580px #0d9488, 1548px 1092px #0d9488, 1626px 689px #0d9488,
        254px 1072px #0d9488, 1684px 1211px #0d9488, 672px 1267px #0d9488, 939px 668px #0d9488,
        1969px 645px #0d9488, 1126px 983px #0d9488, 457px 568px #0d9488, 476px 876px #0d9488,
        829px 1896px #0d9488, 1364px 1846px #0d9488, 1507px 1120px #0d9488, 936px 1948px #0d9488;
    animation: animStar 100s linear infinite;
    opacity: 0.2;
}
#stars3:after {
    content: " ";
    position: absolute;
    top: 2000px;
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow:
        200px 981px #0d9488, 1731px 521px #0d9488, 132px 1039px #0d9488, 1888px 1547px #0d9488;
}

@keyframes animStar {
    from { transform: translateY(0px); }
    to { transform: translateY(-2000px); }
}

/* ═══════════════════════════════════════════════════
   USER BREACH MANAGER STYLES
   ═══════════════════════════════════════════════════ */
.breach-limit-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 99px;
    background: rgba(125, 211, 252, 0.08);
    border: 1px solid rgba(125, 211, 252, 0.2);
    color: var(--neon);
    font-size: 0.74rem;
    font-weight: 600;
    font-family: var(--font-mono);
}
.breach-limit-badge.limit-reached {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}
.breach-limit-badge span {
    font-weight: 700;
}
.breach-icon-small {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(125, 211, 252, 0.07);
    border: 1px solid rgba(125, 211, 252, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon);
}
.spinner-small {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--neon);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
