/* ═══════════════════════════════════════════════════════════════
   LOKALE BEVEILIGINGSTEST — ANIMATED UI STYLESHEET
   Geen externe dependencies. Puur lokaal.
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Variables ──────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #1a2035;
    --bg-card-hover: #1f2847;
    --accent: #3b82f6;
    --accent-glow: #60a5fa;
    --accent-dim: #1e3a5f;
    --success: #10b981;
    --success-glow: #34d399;
    --danger: #ef4444;
    --danger-glow: #f87171;
    --warning: #f59e0b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #475569;
    --border: #1e293b;
    --border-light: #334155;
    --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Particle Canvas ────────────────────────────────────────── */
#particleCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ── View System ────────────────────────────────────────────── */
.view {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95) translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow), visibility 0s var(--transition-slow);
}

.view.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    transition: opacity var(--transition-slow), transform var(--transition-slow), visibility 0s 0s;
}

.view.exit {
    opacity: 0;
    transform: scale(1.05) translateY(-20px);
}

/* ══════════════════════════════════════════════════════════════
   LANDING VIEW
   ══════════════════════════════════════════════════════════════ */
.landing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 20px;
    max-width: 600px;
    width: 100%;
}

/* ── Logo Ring Animation ────────────────────────────────────── */
.logo-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 8px;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.ring-outer {
    inset: 0;
    border-top-color: var(--accent);
    border-right-color: var(--accent);
    animation: spin 3s linear infinite;
}

.ring-middle {
    inset: 12px;
    border-bottom-color: var(--success);
    border-left-color: var(--success);
    animation: spin 2s linear infinite reverse;
}

.ring-inner {
    inset: 24px;
    border-top-color: var(--accent-glow);
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.logo-icon {
    position: absolute;
    inset: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-glow);
    animation: pulse-icon 2s ease-in-out infinite;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* ── Title with Glitch Effect ───────────────────────────────── */
.title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-glow) 50%, var(--text-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer-text 4s linear infinite;
    text-align: center;
}

@keyframes shimmer-text {
    to { background-position: 200% center; }
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-glow) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    pointer-events: none;
}

.glitch::before {
    animation: glitch-1 4s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch::after {
    animation: glitch-2 4s infinite linear alternate;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
    0%, 95% { transform: translateX(0); }
    96% { transform: translateX(-3px); }
    97% { transform: translateX(3px); }
    98% { transform: translateX(-1px); }
    99% { transform: translateX(2px); }
    100% { transform: translateX(0); }
}

@keyframes glitch-2 {
    0%, 95% { transform: translateX(0); }
    96% { transform: translateX(2px); }
    97% { transform: translateX(-2px); }
    98% { transform: translateX(3px); }
    99% { transform: translateX(-1px); }
    100% { transform: translateX(0); }
}

/* ── Typewriter subtitle ────────────────────────────────────── */
.subtitle {
    font-family: var(--font-mono);
    font-size: clamp(0.75rem, 2vw, 0.95rem);
    color: var(--text-secondary);
    overflow: hidden;
    border-right: 2px solid var(--accent);
    white-space: nowrap;
    animation: typewriter 2.5s steps(40) 0.5s forwards, blink-caret 0.75s step-end infinite;
    width: 0;
    max-width: 100%;
}

@keyframes typewriter {
    to { width: 100%; }
}

@keyframes blink-caret {
    50% { border-color: transparent; }
}

/* ── Session Badge ──────────────────────────────────────────── */
.session-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--success);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

/* ── Permission Cards ───────────────────────────────────────── */
.permission-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.perm-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.perm-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.03) 100%);
    opacity: 0;
    transition: opacity var(--transition);
}

.perm-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.perm-card:hover::before {
    opacity: 1;
}

.perm-card.granted {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.perm-card.denied {
    border-color: rgba(239, 68, 68, 0.3);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(239, 68, 68, 0.05) 100%);
}

.perm-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--accent-glow);
    transition: color var(--transition);
}

.perm-card.granted .perm-icon { color: var(--success); }
.perm-card.denied .perm-icon { color: var(--danger); }

.perm-icon svg {
    width: 100%;
    height: 100%;
}

.perm-info {
    flex: 1;
}

.perm-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.perm-status {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    transition: color var(--transition);
}

.perm-card.granted .perm-status { color: var(--success); }
.perm-card.denied .perm-status { color: var(--danger); }

.perm-indicator {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicator-ring {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    transition: all var(--transition);
}

.perm-card.granted .indicator-ring {
    border-color: var(--success);
    background: var(--success);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

.perm-card.denied .indicator-ring {
    border-color: var(--danger);
    background: var(--danger);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
}

/* ── Buttons ────────────────────────────────────────────────── */
.action-buttons {
    display: flex;
    gap: 12px;
    width: 100%;
}

.btn {
    position: relative;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    overflow: hidden;
    transition: all var(--transition);
    flex: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #2563eb 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent), var(--accent-glow), var(--accent));
    z-index: -1;
    opacity: 0;
    filter: blur(8px);
    transition: opacity var(--transition);
}

.btn-glow:hover::after {
    opacity: 0.5;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ── Info Footer ────────────────────────────────────────────── */
.info-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 8px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ══════════════════════════════════════════════════════════════
   LIVE VIEW
   ══════════════════════════════════════════════════════════════ */
.live-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 12px;
}

/* ── Live Header ────────────────────────────────────────────── */
.live-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--danger);
    padding: 4px 12px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 100px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.rec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger);
    animation: rec-blink 1s ease infinite;
}

@keyframes rec-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.session-timer {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

/* ── Control Buttons ────────────────────────────────────────── */
.ctrl-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    padding: 6px;
}

.ctrl-btn:hover {
    border-color: var(--border-light);
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

.ctrl-btn.active {
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--success);
    background: rgba(16, 185, 129, 0.08);
}

.ctrl-btn.active:hover {
    background: rgba(16, 185, 129, 0.15);
}

.ctrl-btn.danger {
    border-color: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.ctrl-btn.danger:hover {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.1);
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.2);
}

.ctrl-btn svg {
    width: 100%;
    height: 100%;
}

/* ── Live Grid ──────────────────────────────────────────────── */
.live-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 12px;
    flex: 1;
    min-height: 0;
}

@media (max-width: 768px) {
    .live-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }
}

/* ── Feed Panel ─────────────────────────────────────────────── */
.feed-panel {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    overflow: hidden;
}

.panel-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.panel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.camera-dot { background: var(--accent-glow); box-shadow: 0 0 6px var(--accent); }
.mic-dot { background: var(--success-glow); box-shadow: 0 0 6px var(--success); }

/* ── Video Wrapper ──────────────────────────────────────────── */
.video-wrapper {
    position: relative;
    flex: 1;
    background: #000;
    overflow: hidden;
    min-height: 0;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% { top: -2px; }
    100% { top: 100%; }
}

.corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--accent-glow);
    border-style: solid;
    border-width: 0;
    opacity: 0.6;
}

.corner.tl { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; }
.corner.tr { top: 8px; right: 8px; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { bottom: 8px; left: 8px; border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; }

.video-off-msg, .audio-off-msg {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
    background: rgba(10, 14, 23, 0.9);
}

.video-off-msg.visible, .audio-off-msg.visible {
    display: flex;
}

.video-off-msg svg, .audio-off-msg svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.video-off-msg span, .audio-off-msg span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

/* ── Feed Info ──────────────────────────────────────────────── */
.feed-info {
    display: flex;
    gap: 16px;
    padding: 8px 16px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ── Audio Wrapper ──────────────────────────────────────────── */
.audio-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #000;
    min-height: 0;
}

#waveformCanvas, #frequencyCanvas {
    width: 100%;
    flex: 1;
    display: block;
    min-height: 0;
}

.volume-meter {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
}

.meter-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    flex-shrink: 0;
}

.meter-bar-container {
    flex: 1;
    height: 6px;
    background: var(--bg-primary);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.meter-bar {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--success), var(--warning), var(--danger));
    transition: width 50ms linear;
}

.meter-peak {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--text-primary);
    border-radius: 1px;
    left: 0%;
    transition: left 100ms linear;
}

.meter-value {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-secondary);
    min-width: 50px;
    text-align: right;
    flex-shrink: 0;
}

/* ── Live Footer ────────────────────────────────────────────── */
.live-footer {
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.status-items {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.status-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
}

.chip-dot.active { background: var(--success); box-shadow: 0 0 6px rgba(16, 185, 129, 0.5); }
.chip-dot.safe { background: var(--success); box-shadow: 0 0 6px rgba(16, 185, 129, 0.5); }
.chip-dot.inactive { background: var(--danger); box-shadow: 0 0 6px rgba(239, 68, 68, 0.5); }

/* ══════════════════════════════════════════════════════════════
   SHUTDOWN VIEW
   ══════════════════════════════════════════════════════════════ */
.shutdown-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    text-align: center;
}

.shutdown-icon {
    width: 100px;
    height: 100px;
    color: var(--success);
}

.shutdown-icon svg {
    width: 100%;
    height: 100%;
}

.shutdown-circle {
    stroke-dasharray: 226;
    stroke-dashoffset: 226;
    animation: draw-circle 0.8s ease-out 0.2s forwards;
}

@keyframes draw-circle {
    to { stroke-dashoffset: 0; }
}

.shutdown-check {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: draw-check 0.5s ease-out 0.8s forwards;
    fill: none;
}

@keyframes draw-check {
    to { stroke-dashoffset: 0; }
}

.shutdown-title {
    font-size: 1.8rem;
    font-weight: 700;
    animation: fade-in-up 0.5s ease-out 1s both;
}

.shutdown-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    animation: fade-in-up 0.5s ease-out 1.2s both;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shutdown-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    animation: fade-in-up 0.5s ease-out 1.4s both;
    min-width: 300px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .landing-container {
        gap: 16px;
        padding: 16px;
    }

    .logo-ring {
        width: 90px;
        height: 90px;
    }

    .perm-card {
        padding: 14px 16px;
    }

    .perm-icon {
        width: 36px;
        height: 36px;
    }

    .live-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .shutdown-stats {
        gap: 20px;
        min-width: auto;
    }

    .info-footer {
        flex-direction: column;
        align-items: center;
    }

    .status-items {
        gap: 8px;
    }
}

/* ── Utility animations ─────────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: slideInUp 0.5s ease-out both;
}

.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.2s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
.animate-in:nth-child(4) { animation-delay: 0.4s; }
.animate-in:nth-child(5) { animation-delay: 0.5s; }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
