body {
    background-color: #0d0e11;
    color: #f0f0f2;
    background-image:
        radial-gradient(circle at 50% 0%, rgba(230, 57, 70, 0.08) 0%, transparent 55%),
        linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 100% 100%, 36px 36px, 36px 36px;
    overflow-x: hidden;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.redacted {
    position: relative;
    display: inline-block;
    background-color: #050507;
    color: transparent;
    border: 1px solid #2a2e37;
    padding: 0 6px;
    margin: 0 2px;
    border-radius: 3px;
    cursor: pointer;
    user-select: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
}

.redacted::after {
    content: '████████';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1c1e24;
    font-size: 0.75em;
    letter-spacing: -1px;
    overflow: hidden;
    transition: opacity 0.2s ease;
}

.redacted:hover,
.redacted.revealed {
    background-color: rgba(245, 197, 24, 0.14);
    color: #f5c518;
    border-color: rgba(245, 197, 24, 0.45);
    user-select: text;
}

.redacted:hover::after,
.redacted.revealed::after {
    opacity: 0;
    pointer-events: none;
}

.stamp {
    border: 2px solid #e63946;
    color: #e63946;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    letter-spacing: 0.12em;
    transform: rotate(-3deg);
    box-shadow: 0 0 18px rgba(230, 57, 70, 0.18);
}

.glitch-hover:hover {
    text-shadow: 2px 0 #e63946, -2px 0 #f5c518;
}

.hazard-bar {
    background: repeating-linear-gradient(
        -45deg,
        rgba(245, 197, 24, 0.12),
        rgba(245, 197, 24, 0.12) 10px,
        rgba(13, 14, 17, 0.4) 10px,
        rgba(13, 14, 17, 0.4) 20px
    );
}

@keyframes scanline {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}
.progress-sheen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    animation: scanline 2.5s infinite linear;
}
