/* ===== SPECTRAL VIEWER — CSS ===== */
/* Retro Windows 98/XP Horror Aesthetic */

/* --- Fonts & Reset --- */
@import url('https://fonts.googleapis.com/css2?family=VT323&family=IBM+Plex+Mono:wght@400;600&family=Press+Start+2P&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Retro OS Colors */
    --win-bg: #008080;
    --win-chrome: #c0c0c0;
    --win-chrome-dark: #808080;
    --win-chrome-light: #dfdfdf;
    --win-titlebar: #000080;
    --win-titlebar-text: #ffffff;
    --win-body-bg: #c0c0c0;
    --win-border-raised: #ffffff #808080 #808080 #ffffff;
    --win-border-sunken: #808080 #ffffff #ffffff #808080;

    /* Horror Accent Colors */
    --horror-green: #39ff14;
    --horror-red: #ff1744;
    --horror-dim: #1a3a1a;
    --horror-glow: rgba(57, 255, 20, 0.15);
    --horror-dark: #0a0f0a;
    --horror-text: #b8ffb0;
    --horror-muted: #556b55;

    /* Typography */
    --font-pixel: 'Press Start 2P', monospace;
    --font-terminal: 'VT323', monospace;
    --font-mono: 'IBM Plex Mono', monospace;

    /* Sizing */
    --taskbar-height: 36px;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: var(--font-mono);
    background: var(--win-bg);
    color: #000;
}

/* --- CRT Scanline Overlay --- */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px);
}

.crt-overlay::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center,
            transparent 60%,
            rgba(0, 0, 0, 0.25) 100%);
}

/* --- Screen Management --- */
.screen {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.screen.active {
    display: flex;
    flex-direction: column;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
}

.hidden {
    display: none !important;
}

/* --- Window Chrome (Retro OS) --- */
.window {
    background: var(--win-chrome);
    border: 2px solid;
    border-color: var(--win-border-raised);
    box-shadow: 1px 1px 0 #000;
    display: flex;
    flex-direction: column;
}

.window-titlebar {
    background: linear-gradient(90deg, #000080, #1084d0);
    color: var(--win-titlebar-text);
    padding: 3px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    min-height: 24px;
}

.titlebar-left {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
}

.window-icon {
    font-size: 14px;
    line-height: 1;
}

.titlebar-buttons {
    display: flex;
    gap: 2px;
}

.tb-btn {
    width: 18px;
    height: 18px;
    background: var(--win-chrome);
    border: 2px solid;
    border-color: var(--win-border-raised);
    font-size: 10px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-mono);
    color: #000;
}

.tb-btn:active {
    border-color: var(--win-border-sunken);
}

.tb-btn.close:hover {
    background: #ff4444;
    color: #fff;
}

.window-menubar {
    background: var(--win-chrome);
    border-bottom: 1px solid var(--win-chrome-dark);
    padding: 2px 4px;
    display: flex;
    gap: 12px;
    font-size: 12px;
    font-family: var(--font-mono);
}

.window-menubar span {
    cursor: pointer;
    padding: 1px 6px;
}

.window-menubar span:hover {
    background: var(--win-titlebar);
    color: #fff;
}

.window-body {
    background: #fff;
    border: 2px solid;
    border-color: var(--win-border-sunken);
    margin: 2px;
    overflow: auto;
    flex: 1;
}

/* --- Retro Buttons --- */
.retro-btn {
    font-family: var(--font-mono);
    font-size: 13px;
    padding: 6px 20px;
    border: 2px solid;
    border-color: var(--win-border-raised);
    background: var(--win-chrome);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: none;
    color: #000;
}

.retro-btn:hover {
    background: var(--win-chrome-light);
}

.retro-btn:active {
    border-color: var(--win-border-sunken);
    padding: 7px 19px 5px 21px;
}

.retro-btn.primary {
    font-weight: 600;
    box-shadow: 0 0 0 1px #000;
}

.retro-btn:disabled {
    color: var(--win-chrome-dark);
    cursor: not-allowed;
}

/* --- LANDING PAGE --- */
.landing-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--win-bg);
    position: relative;
}

.landing-window {
    width: 520px;
    max-width: 95vw;
    z-index: 10;
}

.landing-body {
    padding: 30px;
    background: var(--horror-dark) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Logo Glitch Effect */
.landing-logo {
    text-align: center;
}

.logo-glitch {
    font-family: var(--font-pixel);
    font-size: 36px;
    color: var(--horror-green);
    text-shadow:
        2px 0 var(--horror-red),
        -2px 0 #00ffff,
        0 0 20px var(--horror-green),
        0 0 40px rgba(57, 255, 20, 0.3);
    letter-spacing: 4px;
    animation: glitch 3s infinite;
    position: relative;
}

@keyframes glitch {

    0%,
    90%,
    100% {
        transform: translate(0);
        opacity: 1;
    }

    91% {
        transform: translate(-2px, 1px);
        opacity: 0.8;
    }

    92% {
        transform: translate(2px, -1px);
        opacity: 0.9;
    }

    93% {
        transform: translate(0);
        opacity: 1;
    }

    94% {
        transform: translate(1px, 2px);
        opacity: 0.7;
    }

    95% {
        transform: translate(-1px, -2px);
        opacity: 1;
    }
}

.logo-sub {
    font-family: var(--font-terminal);
    font-size: 28px;
    color: var(--horror-text);
    letter-spacing: 12px;
    margin-top: 4px;
}

.logo-version {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--horror-muted);
    margin-top: 8px;
}

.landing-description {
    text-align: center;
}

.typewriter {
    font-family: var(--font-terminal);
    font-size: 20px;
    color: var(--horror-green);
    border-right: 2px solid var(--horror-green);
    animation: blink-cursor 1s step-end infinite;
    display: inline-block;
}

@keyframes blink-cursor {
    50% {
        border-color: transparent;
    }
}

.landing-tagline {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--horror-muted);
    margin-top: 8px;
    font-style: italic;
}

.landing-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 280px;
}

.landing-buttons .retro-btn {
    width: 100%;
    padding: 10px 20px;
    font-size: 14px;
}

.landing-buttons .retro-btn.primary {
    background: #1a5a1a;
    color: var(--horror-green);
    border-color: var(--horror-green) #0a2e0a #0a2e0a var(--horror-green);
    animation: pulse-glow 2s ease-in-out infinite;
}

.landing-buttons .retro-btn.primary:hover {
    background: #2a7a2a;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(57, 255, 20, 0.2);
    }

    50% {
        box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
    }
}

.landing-footer {
    font-family: var(--font-terminal);
    font-size: 14px;
    color: var(--horror-muted);
}

.blink {
    animation: blink 1s step-end infinite;
    color: var(--horror-green);
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Desktop Icons */
.desktop-icons {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 4px;
}

.desktop-icon .icon-img {
    font-size: 32px;
    filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.5));
}

.desktop-icon span {
    font-size: 11px;
    color: #fff;
    text-shadow: 1px 1px 0 #000;
    font-family: var(--font-mono);
}

.desktop-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* --- TASKBAR --- */
.taskbar {
    height: var(--taskbar-height);
    background: var(--win-chrome);
    border-top: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    display: flex;
    align-items: center;
    padding: 2px 4px;
    gap: 4px;
    z-index: 100;
    flex-shrink: 0;
}

.start-btn {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border: 2px solid;
    border-color: var(--win-border-raised);
    background: var(--win-chrome);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 28px;
}

.start-btn:active {
    border-color: var(--win-border-sunken);
}

.start-icon {
    font-size: 16px;
}

.taskbar-divider {
    width: 2px;
    height: 24px;
    border-left: 1px solid #fff;
    border-right: 1px solid #808080;
    margin: 0 2px;
}

.taskbar-active {
    flex: 1;
    display: flex;
    gap: 2px;
}

.taskbar-app {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 2px 12px;
    border: 2px solid;
    border-color: var(--win-border-sunken);
    background: var(--win-chrome-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 26px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.taskbar-tray {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 2px solid;
    border-color: var(--win-border-sunken);
    padding: 1px 8px;
    height: 26px;
    font-size: 11px;
    font-family: var(--font-mono);
}

.tray-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    line-height: 1;
}

.tray-clock {
    color: #000;
}

/* --- TUTORIAL --- */
.tutorial-window {
    width: 600px;
    max-width: 95vw;
    max-height: 80vh;
}

.tutorial-body {
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
    overflow-y: auto;
    background: #ffffee !important;
}

.tutorial-content h2 {
    font-size: 15px;
    font-family: var(--font-mono);
    margin-bottom: 8px;
}

.tutorial-content h3 {
    font-size: 13px;
    margin: 12px 0 6px;
}

.tutorial-section {
    margin-bottom: 12px;
}

.tutorial-content ol,
.tutorial-content ul {
    padding-left: 24px;
}

.tutorial-content li {
    margin-bottom: 4px;
}

.tutorial-content hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 12px 0;
}

.tutorial-warning {
    color: var(--horror-red);
    font-weight: 600;
    background: #fff0f0;
    padding: 8px;
    border: 1px solid var(--horror-red);
}

/* --- WORKSPACE --- */
.workspace-layout {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4px;
    padding: 4px;
    overflow: hidden;
    background: var(--win-bg);
}

.canvas-window {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.canvas-body {
    display: flex;
    flex-direction: column;
    background: #1a1a2e !important;
}

.canvas-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    background: var(--win-chrome);
    border-bottom: 1px solid var(--win-chrome-dark);
}

.tool-btn {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 2px 8px;
    border: 2px solid;
    border-color: var(--win-border-raised);
    background: var(--win-chrome);
    cursor: pointer;
    height: 24px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tool-btn:active {
    border-color: var(--win-border-sunken);
}

.toolbar-divider {
    width: 2px;
    height: 18px;
    border-left: 1px solid #808080;
    border-right: 1px solid #fff;
    margin: 0 4px;
}

.zoom-display {
    font-family: var(--font-mono);
    font-size: 11px;
    min-width: 40px;
    text-align: center;
    border: 2px solid;
    border-color: var(--win-border-sunken);
    padding: 1px 4px;
    background: #fff;
    height: 20px;
    line-height: 18px;
}

.canvas-container {
    flex: 1;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background:
        linear-gradient(45deg, #111 25%, transparent 25%),
        linear-gradient(-45deg, #111 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #111 75%),
        linear-gradient(-45deg, transparent 75%, #111 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
    background-color: #1a1a2e;
}

#photo-canvas {
    max-width: 100%;
    max-height: 100%;
    image-rendering: auto;
    cursor: crosshair;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease;
}

/* Canvas Glitch Effect — triggers when anomaly is revealed */
.canvas-glitch {
    animation: canvas-shake 0.15s ease-in-out 3 !important;
}

@keyframes canvas-shake {
    0% {
        transform: translate(0, 0) scale(var(--zoom, 1));
        filter: none;
    }

    15% {
        transform: translate(-4px, 2px) scale(var(--zoom, 1));
        filter: hue-rotate(90deg) saturate(3);
    }

    30% {
        transform: translate(3px, -3px) scale(var(--zoom, 1));
        filter: invert(0.1);
    }

    45% {
        transform: translate(-2px, 1px) scale(var(--zoom, 1));
        filter: hue-rotate(-45deg) brightness(1.3);
    }

    60% {
        transform: translate(4px, -1px) scale(var(--zoom, 1));
        filter: saturate(5) contrast(1.5);
    }

    75% {
        transform: translate(-3px, 3px) scale(var(--zoom, 1));
        filter: hue-rotate(180deg);
    }

    100% {
        transform: translate(0, 0) scale(var(--zoom, 1));
        filter: none;
    }
}

/* Anomaly status indicator in status bar */
.status-anomaly {
    color: var(--horror-red);
    font-weight: 600;
    animation: blink 0.5s step-end infinite;
    font-size: 10px;
}

.status-anomaly.safe {
    color: var(--horror-green);
    animation: none;
}

.canvas-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--horror-green);
    font-family: var(--font-terminal);
    font-size: 18px;
    background: rgba(0, 0, 0, 0.8);
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--horror-dim);
    border-top-color: var(--horror-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.canvas-statusbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 2px 8px;
    background: var(--win-chrome);
    border-top: 1px solid var(--win-chrome-dark);
    font-size: 11px;
    font-family: var(--font-mono);
    min-height: 22px;
}

.status-caption {
    flex: 1;
    color: #333;
    font-style: italic;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- CONTROLS PANEL --- */
.controls-window {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    max-height: 100%;
}

.controls-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--win-chrome) !important;
    border-color: var(--win-chrome-dark) !important;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.control-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-mono);
}

.section-label {
    justify-content: flex-start;
    gap: 4px;
}

.control-value {
    font-family: var(--font-terminal);
    font-size: 16px;
    color: var(--win-titlebar);
    background: #fff;
    border: 2px solid;
    border-color: var(--win-border-sunken);
    padding: 0 6px;
    min-width: 48px;
    text-align: center;
}

.control-divider {
    border: none;
    border-top: 1px solid #808080;
    border-bottom: 1px solid #fff;
    margin: 4px 0;
}

/* Retro Slider */
.retro-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 22px;
    background: transparent;
    cursor: pointer;
}

.retro-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: #fff;
    border: 2px solid;
    border-color: var(--win-border-sunken);
}

.retro-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 22px;
    background: var(--win-chrome);
    border: 2px solid;
    border-color: var(--win-border-raised);
    margin-top: -10px;
    cursor: grab;
}

.retro-slider::-moz-range-track {
    width: 100%;
    height: 6px;
    background: #fff;
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
}

.retro-slider::-moz-range-thumb {
    width: 14px;
    height: 22px;
    background: var(--win-chrome);
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    border-radius: 0;
    cursor: grab;
}

/* Progress Bar */
.progress-group {
    gap: 4px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-family: var(--font-mono);
}

.progress-label {
    font-weight: 600;
}

.progress-count {
    color: var(--win-titlebar);
}

.progress-bar-container {
    height: 18px;
    border: 2px solid;
    border-color: var(--win-border-sunken);
    background: #fff;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: repeating-linear-gradient(90deg,
            #000080 0px,
            #000080 8px,
            #1084d0 8px,
            #1084d0 16px);
    transition: width 0.3s ease;
}

/* --- FILTER TABS --- */
.filter-tabs {
    display: flex;
    border: 2px solid;
    border-color: var(--win-border-sunken);
    background: #fff;
    overflow: hidden;
}

.filter-tab {
    flex: 1;
    padding: 5px 4px;
    border: none;
    background: var(--win-chrome);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    border-right: 1px solid var(--win-chrome-dark);
    color: #333;
    white-space: nowrap;
}

.filter-tab:last-child {
    border-right: none;
}

.filter-tab:hover {
    background: var(--win-chrome-light);
}

.filter-tab.active {
    background: var(--win-titlebar);
    color: #fff;
}

/* --- CLASSIFICATION CHECKLIST --- */
.classify-warning {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 6px 8px;
    background: #fffff0;
    border: 1px solid #e0c050;
    font-size: 10px;
    font-family: var(--font-mono);
    color: #665500;
    line-height: 1.3;
}

.warn-icon {
    font-size: 16px;
    flex-shrink: 0;
    line-height: 1;
}

.classification-checklist {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: 2px solid;
    border-color: var(--win-border-sunken);
    background: #fff;
    padding: 6px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 6px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 13px;
    user-select: none;
}

.checklist-item:hover {
    background: #e8e8f8;
}

.checklist-checkbox {
    width: 14px;
    height: 14px;
    border: 2px solid;
    border-color: var(--win-border-sunken);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 10px;
    line-height: 1;
}

.checklist-item.checked .checklist-checkbox {
    background: #fff;
    color: #000;
}

.checklist-item.checked .checklist-checkbox::after {
    content: '✓';
    font-weight: 900;
    font-size: 12px;
}

.classify-loading-text {
    font-family: var(--font-mono);
    font-size: 10px;
    color: #0066cc;
    text-align: center;
    padding: 4px;
    font-style: italic;
}

/* Submit / Finish Buttons */
.submit-btn {
    width: 100%;
    padding: 8px 16px;
    font-size: 13px;
    margin-top: 2px;
}

.finish-btn {
    width: 100%;
    padding: 8px 16px;
    font-size: 12px;
    margin-top: 2px;
    background: #1a5a1a;
    color: var(--horror-green);
    border-color: var(--horror-green) #0a2e0a #0a2e0a var(--horror-green);
}

.finish-btn:hover {
    background: #2a7a2a;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

/* --- MEDIA LIBRARY --- */
.media-library {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-library-window {
    width: 700px;
    max-width: 95vw;
    max-height: 80vh;
}

.media-library-body {
    padding: 12px;
    background: var(--win-chrome) !important;
    overflow-y: auto;
    max-height: 65vh;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.library-thumb {
    border: 2px solid;
    border-color: var(--win-border-raised);
    background: #1a1a2e;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.library-thumb:hover {
    border-color: var(--win-titlebar);
    box-shadow: 0 0 8px rgba(0, 0, 128, 0.3);
}

.library-thumb.active {
    border-color: var(--horror-green);
    box-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
}

.library-thumb.submitted {
    border-color: #ffcc00;
}

.library-thumb-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    background: #111;
}

.library-thumb-info {
    padding: 3px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9px;
    font-family: var(--font-mono);
    background: var(--win-chrome);
    border-top: 1px solid var(--win-chrome-dark);
}

.library-thumb-status {
    font-size: 10px;
}

/* Results actions */
.results-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.results-actions .retro-btn {
    min-width: 160px;
}

.results-actions .retro-btn.primary {
    background: #1a5a1a;
    color: var(--horror-green);
    border-color: var(--horror-green) #0a2e0a #0a2e0a var(--horror-green);
}

.results-detail-header {
    font-family: var(--font-terminal);
    font-size: 16px;
    color: var(--horror-green);
    margin-bottom: 8px;
}

/* Results stat items */
.stat-item {
    text-align: center;
    padding: 16px 10px;
    border: 2px solid;
    border-color: var(--win-border-sunken);
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-item .stat-number {
    font-family: var(--font-terminal);
    font-size: 36px;
    color: var(--horror-green);
}

.stat-item .stat-label {
    font-size: 10px;
    color: var(--horror-muted);
    font-family: var(--font-mono);
    text-transform: uppercase;
}

/* Result detail tags */
.result-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.result-tag {
    font-size: 9px;
    padding: 1px 5px;
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.3);
    color: var(--horror-green);
    font-family: var(--font-mono);
}

.result-tag.normal-tag {
    background: rgba(128, 128, 128, 0.1);
    border-color: rgba(128, 128, 128, 0.3);
    color: var(--horror-muted);
}

/* --- FEEDBACK DIALOG --- */
.dialog-window {
    width: 400px;
    max-width: 90vw;
    animation: dialog-appear 0.15s ease-out;
}

@keyframes dialog-appear {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.dialog-body {
    padding: 24px;
    background: var(--win-chrome) !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dialog-content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.dialog-icon-large {
    font-size: 40px;
    line-height: 1;
    flex-shrink: 0;
}

.dialog-text {
    flex: 1;
}

.dialog-main-text {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.dialog-detail-text {
    font-size: 12px;
    color: #444;
    line-height: 1.4;
}

.dialog-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* Correct/Wrong dialog styling */
.dialog-body.correct .dialog-main-text {
    color: #006600;
}

.dialog-body.wrong .dialog-main-text {
    color: #990000;
}

/* --- RESULTS SCREEN --- */
.results-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--win-bg);
    overflow-y: auto;
    padding: 20px;
}

.results-window {
    width: 650px;
    max-width: 95vw;
    max-height: 90vh;
}

.results-body {
    padding: 24px;
    background: var(--horror-dark) !important;
    color: var(--horror-text);
    overflow-y: auto;
}

.results-header {
    text-align: center;
    margin-bottom: 20px;
}

.results-header h2 {
    font-family: var(--font-terminal);
    font-size: 24px;
    color: var(--horror-green);
}

.results-subtitle {
    font-size: 12px;
    color: var(--horror-muted);
    margin-top: 6px;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    text-align: center;
    padding: 16px 10px;
    border: 2px solid;
    border-color: var(--win-border-sunken);
    background: rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-family: var(--font-terminal);
    font-size: 36px;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 11px;
    color: var(--horror-muted);
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.stat-card.correct .stat-number {
    color: var(--horror-green);
}

.stat-card.wrong .stat-number {
    color: var(--horror-red);
}

.stat-card.total .stat-number {
    color: #ffcc00;
}

.results-rank {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--horror-green);
    background: rgba(57, 255, 20, 0.05);
    margin-bottom: 20px;
}

.rank-icon {
    font-size: 36px;
}

.rank-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rank-title {
    font-family: var(--font-terminal);
    font-size: 20px;
    color: var(--horror-green);
}

.rank-desc {
    font-size: 12px;
    color: var(--horror-muted);
}

.results-detail {
    margin-bottom: 20px;
    max-height: 200px;
    overflow-y: auto;
    border: 2px solid;
    border-color: var(--win-border-sunken);
    background: rgba(0, 0, 0, 0.2);
}

.result-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    font-size: 12px;
    font-family: var(--font-mono);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.result-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.result-row .result-num {
    color: var(--horror-muted);
    min-width: 50px;
}

.result-row .result-answer {
    flex: 1;
}

.result-row .result-icon {
    font-size: 14px;
}

.result-row.correct {
    color: var(--horror-green);
}

.result-row.wrong {
    color: var(--horror-red);
}

.results-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.results-buttons .retro-btn {
    min-width: 160px;
}

.results-buttons .retro-btn.primary {
    background: #1a5a1a;
    color: var(--horror-green);
    border-color: var(--horror-green) #0a2e0a #0a2e0a var(--horror-green);
}

/* --- SCROLLBAR (Retro) --- */
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-track {
    background: repeating-linear-gradient(135deg,
            var(--win-chrome) 0px,
            var(--win-chrome) 2px,
            #fff 2px,
            #fff 4px);
}

::-webkit-scrollbar-thumb {
    background: var(--win-chrome);
    border: 2px solid;
    border-color: var(--win-border-raised);
}

::-webkit-scrollbar-button {
    background: var(--win-chrome);
    border: 2px solid;
    border-color: var(--win-border-raised);
    width: 16px;
    height: 16px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .workspace-layout {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
    }

    .controls-window {
        max-height: 45vh;
    }

    .logo-glitch {
        font-size: 24px;
    }

    .logo-sub {
        font-size: 20px;
        letter-spacing: 8px;
    }

    .landing-window {
        width: 95vw;
    }

    .results-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .stat-number {
        font-size: 28px;
    }

    .desktop-icons {
        display: none;
    }
}

@media (max-width: 480px) {
    .landing-body {
        padding: 20px 16px;
    }

    .logo-glitch {
        font-size: 20px;
    }

    .logo-sub {
        font-size: 16px;
        letter-spacing: 6px;
    }

    .classification-options {
        gap: 3px;
    }

    .classify-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* ================================================================
   HORROR ENGINE — Psychological Horror UI
   ================================================================ */

/* ── Landing Greeting Lines ───────────────────────────────────── */
.horror-greeting-line {
    font-family: var(--font-terminal);
    font-size: 15px;
    color: var(--horror-green);
    opacity: 0;
    transform: translateY(4px);
    animation: horror-line-in 0.6s ease forwards;
    line-height: 1.6;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
}

.horror-greeting-line strong {
    color: #fff;
    font-style: normal;
}

@keyframes horror-line-in {
    to {
        opacity: 1;
        transform: none;
    }
}

/* ── Floating Horror HUD ──────────────────────────────────────── */
.horror-hud {
    position: fixed;
    bottom: 52px;
    /* just above taskbar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 9500;
    min-width: 320px;
    max-width: min(600px, 92vw);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.horror-hud--visible {
    pointer-events: none;
    opacity: 1;
}

.horror-hud--fade-out {
    opacity: 0;
}

.horror-hud--subtle {
    --hud-accent: var(--horror-muted);
    --hud-text: #8ab88a;
}

.horror-hud--medium {
    --hud-accent: var(--horror-green);
    --hud-text: var(--horror-text);
}

.horror-hud--intense {
    --hud-accent: var(--horror-red);
    --hud-text: #ffb0b0;
}

.horror-line {
    display: block;
    font-family: var(--font-terminal);
    font-size: 18px;
    color: var(--hud-text, var(--horror-text));
    text-align: center;
    line-height: 1.5;
    opacity: 0;
    animation: horror-line-in 0.5s ease forwards;
    padding: 3px 0;
    text-shadow: 0 0 12px var(--hud-accent, var(--horror-green));
}

.horror-line strong {
    color: #fff;
    text-shadow: 0 0 16px var(--hud-accent, var(--horror-green));
}

/* ── Webcam Indicator in Titlebar ─────────────────────────────── */
.horror-webcam-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-family: var(--font-mono);
    color: transparent;
    /* hidden by default */
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 0 8px;
    pointer-events: none;
    user-select: none;
}

.horror-webcam-indicator.horror-webcam--active {
    opacity: 1;
    color: #ff4444;
    pointer-events: auto;
}

.horror-webcam-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.horror-webcam--active .horror-webcam-dot {
    background: #ff2222;
    box-shadow: 0 0 6px #ff0000;
    animation: webcam-pulse 1.2s ease-in-out infinite;
}

@keyframes webcam-pulse {

    0%,
    100% {
        box-shadow: 0 0 4px #ff0000;
        opacity: 1;
    }

    50% {
        box-shadow: 0 0 14px #ff5555;
        opacity: 0.7;
    }
}

.horror-webcam-label {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 9px;
}

/* ── Fake Webcam Permission Dialog ────────────────────────────── */
.horror-dialog {
    position: fixed;
    inset: 0;
    z-index: 9800;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    animation: dialog-fade-in 0.25s ease;
}

.horror-dialog.horror-dialog--visible {
    display: flex;
}

@keyframes dialog-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.horror-dialog__box {
    background: var(--win-chrome);
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    box-shadow: 2px 2px 0 #000, 0 0 40px rgba(255, 34, 34, 0.3);
    padding: 20px 28px 16px;
    max-width: 380px;
    width: 90%;
    font-family: var(--font-mono);
    animation: dialog-shake 0.4s ease;
}

@keyframes dialog-shake {
    0% {
        transform: translate(0, 0);
    }

    20% {
        transform: translate(-3px, 2px);
    }

    40% {
        transform: translate(3px, -2px);
    }

    60% {
        transform: translate(-2px, 1px);
    }

    80% {
        transform: translate(2px, -1px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.horror-dialog__icon {
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.6));
    animation: webcam-pulse 2s ease-in-out infinite;
}

.horror-dialog__title {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 6px;
    line-height: 1.4;
}

.horror-dialog__sub {
    font-size: 11px;
    color: #555;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.4;
}

.horror-dialog__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.horror-dialog__btn {
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 5px 20px;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    background: var(--win-chrome);
    cursor: pointer;
    min-width: 80px;
}

.horror-dialog__btn:active {
    border-color: #808080 #ffffff #ffffff #808080;
    padding: 6px 19px 4px 21px;
}

.horror-dialog__btn--allow {
    background: #1a3a1a;
    color: #39ff14;
    border-color: #39ff14 #0a2e0a #0a2e0a #39ff14;
}

.horror-dialog__btn--deny {
    background: var(--win-chrome);
    color: #000;
}

/* ================================================================
   JUMPSCARE SYSTEM — UI Corruption + Cooldown
   ================================================================ */

/* ── Jumpscare Flash Overlay ──────────────────────────────────── */
.jumpscare-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
    opacity: 0;
    pointer-events: none;
    transition: none;
}

.jumpscare-overlay.active {
    opacity: 1;
    animation: jumpscare-flash 0.6s ease-out forwards;
}

@keyframes jumpscare-flash {
    0% {
        opacity: 1;
        transform: scale(1.3);
        filter: brightness(3) contrast(2);
    }

    20% {
        opacity: 1;
        transform: scale(1.05);
        filter: brightness(1.5) saturate(3) hue-rotate(-30deg);
    }

    60% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1);
    }

    100% {
        opacity: 0;
        transform: scale(1);
        filter: brightness(0);
    }
}

/* ── UI Corruption (body class) ───────────────────────────────── */
body.jumpscare-corrupted {
    background: #0a0000 !important;
    animation: corruption-flicker 0.3s step-end infinite;
}

body.jumpscare-corrupted * {
    color: #ff2222 !important;
    border-color: #440000 !important;
    transition: none !important;
}

body.jumpscare-corrupted .window-titlebar {
    background: linear-gradient(90deg, #330000, #660000) !important;
}

body.jumpscare-corrupted .window-body,
body.jumpscare-corrupted .controls-body {
    background: #0a0000 !important;
}

body.jumpscare-corrupted .canvas-container {
    background-color: #1a0000 !important;
    filter: hue-rotate(320deg) saturate(3) brightness(0.3);
}

body.jumpscare-corrupted .retro-btn {
    background: #220000 !important;
    color: #ff4444 !important;
    border-color: #550000 !important;
}

body.jumpscare-corrupted .taskbar {
    background: #1a0000 !important;
    border-color: #440000 !important;
}

body.jumpscare-corrupted .crt-overlay {
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 1px,
            rgba(255, 0, 0, 0.08) 1px,
            rgba(255, 0, 0, 0.08) 3px) !important;
}

@keyframes corruption-flicker {
    0% {
        filter: none;
    }

    15% {
        filter: brightness(0.6) hue-rotate(-10deg);
    }

    30% {
        filter: brightness(1.2);
    }

    50% {
        filter: brightness(0.4) contrast(1.4);
    }

    70% {
        filter: brightness(1);
    }

    85% {
        filter: brightness(0.7) saturate(2);
    }

    100% {
        filter: none;
    }
}

/* ── Cooldown Overlay ─────────────────────────────────────────── */
.jumpscare-cooldown {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    pointer-events: all;
}

.jumpscare-cooldown.active {
    display: flex;
    animation: cooldown-in 0.5s ease;
}

@keyframes cooldown-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.jumpscare-cooldown__content {
    text-align: center;
    padding: 40px;
    max-width: 500px;
    animation: corruption-flicker 0.5s step-end infinite;
}

.jumpscare-cooldown__glitch {
    font-family: var(--font-pixel);
    font-size: 28px;
    color: #ff1744;
    text-shadow:
        3px 0 #ff0000,
        -3px 0 #00ffff,
        0 0 20px #ff0000,
        0 0 60px rgba(255, 23, 68, 0.5);
    letter-spacing: 6px;
    margin-bottom: 24px;
    animation: glitch 0.8s infinite;
}

.jumpscare-cooldown__warning {
    font-family: var(--font-terminal);
    font-size: 24px;
    color: #ff4444;
    margin-bottom: 20px;
    line-height: 1.6;
    text-shadow: 0 0 12px rgba(255, 0, 0, 0.8);
    animation: warning-pulse 1s ease-in-out infinite;
}

@keyframes warning-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.jumpscare-cooldown__timer {
    font-family: var(--font-terminal);
    font-size: 18px;
    color: #882222;
}

.jumpscare-cooldown__count {
    font-size: 48px;
    font-family: var(--font-pixel);
    color: #ff0000;
    text-shadow: 0 0 20px #ff0000;
    display: inline-block;
    padding: 0 8px;
}

/* ── Paranoia Level Visual Effects ────────────────────────────── */
body.paranoia-lvl-1 {
    filter: saturate(1.1);
}

body.paranoia-lvl-2 {
    filter: saturate(1.2) brightness(0.95);
}

body.paranoia-lvl-3 {
    filter: saturate(1.3) brightness(0.9) contrast(1.05);
}

body.paranoia-lvl-4 {
    filter: saturate(1.5) brightness(0.85) contrast(1.1) hue-rotate(-3deg);
    animation: paranoia-shake 0.15s ease-in-out infinite;
}

@keyframes paranoia-shake {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-1px, 1px);
    }

    50% {
        transform: translate(1px, -1px);
    }

    75% {
        transform: translate(-1px, 0);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* ── Achievement Toast ────────────────────────────────────────── */
.achievement-toast {
    position: fixed;
    bottom: 50px;
    right: 16px;
    z-index: 9000;
    background: var(--horror-dark);
    border: 2px solid var(--horror-green);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--horror-text);
    font-family: var(--font-mono);
    font-size: 12px;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    max-width: 340px;
}

.achievement-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.achievement-icon {
    font-size: 24px;
}

.achievement-content h4 {
    color: var(--horror-green);
    margin-bottom: 2px;
    font-size: 13px;
}

.achievement-content p {
    color: var(--horror-muted);
    font-size: 11px;
}

/* ================================================================
   FALSE GLITCH EVENT — Random Horror Disruption
   ================================================================ */

/* ── Overlay Base ─────────────────────────────────────────────── */
.false-glitch-overlay {
    position: fixed;
    inset: 0;
    z-index: 99997;
    background: #050000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    cursor: none;
}

.false-glitch-overlay.active {
    display: flex;
    animation: false-glitch-in 0.15s steps(4) forwards;
}

@keyframes false-glitch-in {
    0% {
        opacity: 0;
        transform: skewX(10deg);
    }

    25% {
        opacity: 0.5;
        transform: skewX(-5deg);
    }

    50% {
        opacity: 0.8;
        transform: skewX(3deg);
    }

    100% {
        opacity: 1;
        transform: skewX(0);
    }
}

/* Scanlines inside overlay */
.false-glitch-overlay__scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(255, 0, 0, 0.04) 2px,
            rgba(255, 0, 0, 0.04) 4px);
    pointer-events: none;
    animation: scanline-drift 0.1s linear infinite;
}

@keyframes scanline-drift {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(4px);
    }
}

/* ── Content ──────────────────────────────────────────────────── */
.false-glitch-overlay__content {
    text-align: center;
    padding: 40px;
    max-width: 600px;
    z-index: 1;
}

.false-glitch-overlay__error {
    font-family: var(--font-pixel);
    font-size: 32px;
    color: #ff0000;
    letter-spacing: 8px;
    margin-bottom: 30px;
    text-shadow:
        4px 0 #ff0000,
        -4px 0 #00ffff,
        0 0 30px #ff0000,
        0 0 80px rgba(255, 0, 0, 0.5);
    animation: glitch-text 0.5s infinite;
}

@keyframes glitch-text {
    0% {
        transform: translate(0, 0) skewX(0deg);
    }

    10% {
        transform: translate(-3px, 1px) skewX(-2deg);
    }

    20% {
        transform: translate(2px, -1px) skewX(1deg);
    }

    30% {
        transform: translate(0, 0);
    }

    40% {
        transform: translate(4px, 2px) skewX(3deg);
    }

    50% {
        transform: translate(-2px, 0) skewX(-1deg);
    }

    60% {
        transform: translate(0, 0);
    }

    70% {
        transform: translate(1px, -2px) skewX(2deg);
    }

    80% {
        transform: translate(-3px, 1px) skewX(-3deg);
    }

    90% {
        transform: translate(2px, 0);
    }

    100% {
        transform: translate(0, 0) skewX(0deg);
    }
}

.false-glitch-overlay__warning {
    font-family: var(--font-terminal);
    font-size: 28px;
    color: #ff3333;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.9);
    margin-bottom: 16px;
    letter-spacing: 4px;
    animation: warning-blink 0.8s ease-in-out infinite;
}

@keyframes warning-blink {

    0%,
    100% {
        opacity: 1;
    }

    40% {
        opacity: 0.3;
    }

    60% {
        opacity: 1;
    }
}

.false-glitch-overlay__sub {
    font-family: var(--font-terminal);
    font-size: 14px;
    color: #661111;
    margin-bottom: 30px;
    font-style: italic;
    transition: opacity 0.3s;
}

.false-glitch-overlay__timer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.false-glitch-overlay__count {
    font-size: 72px;
    font-family: var(--font-pixel);
    color: #ff0000;
    text-shadow:
        0 0 30px #ff0000,
        0 0 60px rgba(255, 0, 0, 0.4);
    animation: count-pulse 1s ease-in-out infinite;
}

@keyframes count-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

/* ── Body Corruption (false-glitch-active) ────────────────────── */
body.false-glitch-active {
    background: #050000 !important;
}

body.false-glitch-active .workspace-area,
body.false-glitch-active .window-body,
body.false-glitch-active .controls-body {
    filter: brightness(0.1) saturate(0) !important;
}

body.false-glitch-active .taskbar {
    background: #0a0000 !important;
    border-color: #330000 !important;
}

/* ── Anime Variant ────────────────────────────────────────────── */
body.false-glitch-anime .false-glitch-overlay {
    background: #100010 !important;
}

body.false-glitch-anime .false-glitch-overlay__error {
    color: #ff69b4 !important;
    text-shadow:
        4px 0 #ff69b4,
        -4px 0 #69ffb4,
        0 0 30px #ff69b4 !important;
}

body.false-glitch-anime .false-glitch-overlay__warning {
    color: #ff99cc !important;
    text-shadow: 0 0 15px rgba(255, 105, 180, 0.9) !important;
}

body.false-glitch-anime .false-glitch-overlay__sub {
    color: #883366 !important;
}

body.false-glitch-anime .false-glitch-overlay__count {
    color: #ff69b4 !important;
    text-shadow: 0 0 30px #ff69b4 !important;
}

body.false-glitch-anime .false-glitch-overlay__scanlines {
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(255, 105, 180, 0.04) 2px,
            rgba(255, 105, 180, 0.04) 4px) !important;
}