/* ═══════════════════════════════════════════════════════════
   Room Sense Live — Design System
   "The Green Room After Midnight"
   ═══════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
    /* Base palette */
    --bg-deep: #0a0a0f;
    --bg-surface: #141419;
    --bg-elevated: #1c1c24;
    --bg-glass: rgba(20, 20, 25, 0.7);

    /* Accent colors */
    --amber: #f5a623;
    --magenta: #e84393;
    --blue: #74b9ff;
    --red-orange: #ff6b6b;
    --orange: #ffa94d;
    --gold: #ffd43b;
    --pink: #ff8ed4;
    --cream: #e8e0d4;
    --muted: #6b6b7b;

    /* Typography */
    --font-ui: 'Inter', -apple-system, sans-serif;
    --font-data: 'JetBrains Mono', monospace;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-ui);
    background: var(--bg-deep);
    color: var(--cream);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* ═══════════════════════════════════════════════════════════
   MODE NAVIGATION
   ═══════════════════════════════════════════════════════════ */

.mode-nav {
    position: fixed;
    top: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: auto;
}

.mode-pill {
    display: flex;
    gap: 2px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 3px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.mode-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 11px;
    background: transparent;
    color: var(--muted);
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.mode-btn:hover {
    color: var(--cream);
    background: rgba(255, 255, 255, 0.04);
}

.mode-btn.active {
    color: var(--cream);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.mode-icon {
    font-size: 0.9rem;
}

.mode-label {
    letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════
   MODE CONTAINERS
   ═══════════════════════════════════════════════════════════ */

.mode-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mode-container.active {
    opacity: 1;
    pointer-events: auto;
}

/* Prevent inactive mode bottom-bars from stealing clicks */
.mode-container:not(.active) .bottom-bar {
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   VIDEO BACKGROUND (shared structure)
   ═══════════════════════════════════════════════════════════ */

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg-deep);
}

.crowd-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    filter: brightness(1) contrast(1) sepia(0);
    transition: filter 0.15s ease-out;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

.video-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 200, 150, 0.15);
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* SFX Flash overlay */
.sfx-flash {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

/* Energy band */
.energy-band {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 5;
    transition: background 0.1s linear;
}

/* ═══════════════════════════════════════════════════════════
   PERFORMANCE MODE
   ═══════════════════════════════════════════════════════════ */

#performance-mode .room-ui {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Bottom bar — shared Live/Off Air for all modes */
.bottom-bar {
    position: fixed;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    pointer-events: auto;
}

/* Record Button */
.record-btn {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    padding: 8px 18px;
    border-radius: 20px;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s var(--ease-out);
}

.record-btn:hover {
    background: rgba(0, 0, 0, 0.6);
    color: var(--cream);
    border-color: rgba(255, 255, 255, 0.12);
}

.record-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted);
    transition: all 0.3s var(--ease-out);
}

.record-btn.active .record-dot {
    background: #ff3333;
    box-shadow: 0 0 8px #ff3333, 0 0 16px rgba(255, 51, 51, 0.3);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.record-btn.active {
    color: var(--cream);
    border-color: rgba(255, 51, 51, 0.2);
    background: rgba(255, 51, 51, 0.08);
}

.record-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* Subtitles */
.subtitle-area {
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 80px;
}

.subtitle {
    font-family: var(--font-ui);
    font-size: 1.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 80%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   COMPARE MODE
   ═══════════════════════════════════════════════════════════ */

.compare-layout {
    display: flex;
    width: 100vw;
    height: 100vh;
    gap: 2px;
}

.compare-room {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.room-label {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.room-icon {
    font-size: 0.85rem;
}

/* Compare Mode — Reaction Bubbles (hero element for comedian readability) */
.room-bubble {
    position: absolute;
    z-index: 15;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-family: var(--font-ui);
    font-weight: 600;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.room-bubble.visible {
    opacity: 1;
    transform: scale(1);
}

/* 8 slot positions — varied sizes for depth */
.room-bubble.slot-0 {
    top: 15%;
    left: 12%;
    font-size: 1.35rem;
}

.room-bubble.slot-1 {
    top: 12%;
    left: 52%;
    font-size: 1.5rem;
}

.room-bubble.slot-2 {
    top: 35%;
    left: 8%;
    font-size: 1.25rem;
}

.room-bubble.slot-3 {
    top: 30%;
    left: 58%;
    font-size: 1.4rem;
}

.room-bubble.slot-4 {
    top: 52%;
    left: 15%;
    font-size: 1.3rem;
}

.room-bubble.slot-5 {
    top: 48%;
    left: 55%;
    font-size: 1.45rem;
}

.room-bubble.slot-6 {
    top: 68%;
    left: 20%;
    font-size: 1.2rem;
}

.room-bubble.slot-7 {
    top: 64%;
    left: 60%;
    font-size: 1.35rem;
}

/* ═══════════════════════════════════════════════════════════
   ANALYSIS MODE — Face Grid
   ═══════════════════════════════════════════════════════════ */

#analysis-mode {
    background: var(--bg-deep);
}

.analysis-content {
    position: relative;
    z-index: 10;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px var(--space-xl) 100px;
}

/* Face Grid — 2×2 */
.face-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-md);
    width: 100%;
    max-width: 900px;
    height: 100%;
    max-height: 600px;
}

.face-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    cursor: pointer;
}

.face-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.face-grid.in-conversation .face-card:not(.focused) {
    opacity: 0.3;
    transform: scale(0.95);
    pointer-events: none;
}

.face-grid.in-conversation .face-card.focused {
    transform: scale(1.02);
    border-color: var(--blue);
    box-shadow: 0 0 40px rgba(116, 185, 255, 0.15);
    z-index: 20;
}

.face-card.speaking {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.04);
}

/* Face Video */
.face-video-wrap {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.face-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) saturate(0.8);
    transition: filter 0.4s var(--ease-out);
}

.face-card.speaking .face-video {
    filter: brightness(1) saturate(1);
}

.face-video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--bg-surface) 0%, transparent 100%);
    pointer-events: none;
}

/* Face Info */
.face-info {
    padding: var(--space-sm) var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 8px;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.face-name {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.6;
}

/* Thought Bubble — the hero text element */
.face-bubble {
    font-family: var(--font-ui);
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    min-height: 1.5em;
    /* reserve space */
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.face-bubble.visible {
    opacity: 1;
    transform: translateY(0);
}

.face-card.speaking .face-info {
    background: rgba(255, 255, 255, 0.03);
}

/* ═══════════════════════════════════════════════════════════
   SFX FLASH KEYFRAMES
   ═══════════════════════════════════════════════════════════ */

@keyframes flash-small {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 0.15;
    }

    100% {
        opacity: 0;
    }
}

@keyframes flash-medium {
    0% {
        opacity: 0;
    }

    15% {
        opacity: 0.35;
    }

    60% {
        opacity: 0.12;
    }

    100% {
        opacity: 0;
    }
}

@keyframes flash-big {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 0.7;
    }

    25% {
        opacity: 0.25;
    }

    60% {
        opacity: 0.1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes flash-big-oof {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    30% {
        opacity: 0.2;
    }

    100% {
        opacity: 0;
    }
}

@keyframes flash-small-oof {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 0.2;
    }

    100% {
        opacity: 0;
    }
}

@keyframes flash-clap {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 0.5;
    }

    20% {
        opacity: 0.1;
    }

    40% {
        opacity: 0.45;
    }

    55% {
        opacity: 0.08;
    }

    100% {
        opacity: 0;
    }
}

@keyframes flash-aww {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 0.2;
    }

    70% {
        opacity: 0.15;
    }

    100% {
        opacity: 0;
    }
}

/* Flash classes */
.sfx-flash.flash-small_laugh {
    background: radial-gradient(ellipse at center, rgba(100, 180, 255, 0.5) 0%, rgba(60, 120, 220, 0.2) 50%, transparent 80%);
    animation: flash-small 0.35s ease-out forwards;
}

.sfx-flash.flash-medium_laugh {
    background: radial-gradient(ellipse at center, rgba(255, 200, 80, 0.6) 0%, rgba(255, 150, 50, 0.25) 50%, transparent 80%);
    animation: flash-medium 0.55s ease-out forwards;
}

.sfx-flash.flash-big_laugh {
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.9) 0%, rgba(255, 100, 180, 0.35) 40%, transparent 75%);
    animation: flash-big 0.75s ease-out forwards;
}

.sfx-flash.flash-big_oof {
    background: radial-gradient(ellipse at center, rgba(255, 80, 30, 0.7) 0%, rgba(200, 50, 10, 0.3) 45%, transparent 75%);
    animation: flash-big-oof 0.5s ease-out forwards;
}

.sfx-flash.flash-small_oof {
    background: radial-gradient(ellipse at center, rgba(255, 160, 60, 0.4) 0%, rgba(200, 100, 30, 0.15) 50%, transparent 80%);
    animation: flash-small-oof 0.4s ease-out forwards;
}

.sfx-flash.flash-clap {
    background: radial-gradient(ellipse at center, rgba(255, 255, 240, 0.8) 0%, rgba(255, 220, 100, 0.3) 45%, transparent 75%);
    animation: flash-clap 0.5s ease-out forwards;
}

.sfx-flash.flash-aww {
    background: radial-gradient(ellipse at center, rgba(255, 180, 200, 0.45) 0%, rgba(255, 130, 170, 0.2) 50%, transparent 80%);
    animation: flash-aww 0.8s ease-out forwards;
}

/* ═══════════════════════════════════════════════════════════
   SHAKE KEYFRAMES
   ═══════════════════════════════════════════════════════════ */

@keyframes shake-medium-laugh {

    0%,
    100% {
        transform: translateX(0);
    }

    15% {
        transform: translateX(-2px);
    }

    30% {
        transform: translateX(2px);
    }

    45% {
        transform: translateX(-1.5px);
    }

    60% {
        transform: translateX(1.5px);
    }

    80% {
        transform: translateX(-0.5px);
    }
}

@keyframes shake-big-laugh {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    10% {
        transform: translate(-5px, 2px) rotate(-0.5deg);
    }

    20% {
        transform: translate(4px, -3px) rotate(0.4deg);
    }

    30% {
        transform: translate(-6px, 1px) rotate(-0.3deg);
    }

    40% {
        transform: translate(3px, -2px) rotate(0.5deg);
    }

    50% {
        transform: translate(-4px, 3px) rotate(-0.4deg);
    }

    65% {
        transform: translate(2px, -1px) rotate(0.2deg);
    }

    80% {
        transform: translate(-1px, 1px) rotate(-0.1deg);
    }
}

@keyframes shake-big-oof {

    0%,
    100% {
        transform: translate(0, 0);
    }

    15% {
        transform: translate(-4px, 3px);
    }

    35% {
        transform: translate(3px, -2px);
    }

    55% {
        transform: translate(-2px, 1px);
    }

    75% {
        transform: translate(1px, -0.5px);
    }
}

@keyframes shake-small-oof {

    0%,
    100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(2px);
    }

    50% {
        transform: translateY(-1px);
    }

    75% {
        transform: translateY(0.5px);
    }
}

.video-container.shake-medium_laugh {
    animation: shake-medium-laugh 0.4s ease-out;
}

.video-container.shake-big_laugh {
    animation: shake-big-laugh 0.6s ease-out;
}

.video-container.shake-big_oof {
    animation: shake-big-oof 0.45s ease-out;
}

.video-container.shake-small_oof {
    animation: shake-small-oof 0.35s ease-out;
}

/* ═══════════════════════════════════════════════════════════
   ZOOM KEYFRAMES
   ═══════════════════════════════════════════════════════════ */

@keyframes zoom-small-laugh {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes zoom-medium-laugh {
    0% {
        transform: scale(1);
    }

    20% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes zoom-big-laugh {
    0% {
        transform: scale(1);
    }

    12% {
        transform: scale(1.09);
    }

    40% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes zoom-big-oof {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.01) scaleY(0.97);
    }

    40% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes zoom-small-oof {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scaleY(0.99);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes zoom-clap {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes zoom-aww {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.crowd-video.zoom-small_laugh {
    animation: zoom-small-laugh 0.35s ease-out;
}

.crowd-video.zoom-medium_laugh {
    animation: zoom-medium-laugh 0.5s ease-out;
}

.crowd-video.zoom-big_laugh {
    animation: zoom-big-laugh 0.7s ease-out;
}

.crowd-video.zoom-big_oof {
    animation: zoom-big-oof 0.5s ease-out;
}

.crowd-video.zoom-small_oof {
    animation: zoom-small-oof 0.4s ease-out;
}

.crowd-video.zoom-clap {
    animation: zoom-clap 0.35s ease-out;
}

.crowd-video.zoom-aww {
    animation: zoom-aww 0.7s ease-out;
}

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ═══════════════════════════════════════════════════════════
   DEBUG MODE
   ═══════════════════════════════════════════════════════════ */

.debug-badge {
    position: fixed;
    top: var(--space-md);
    right: var(--space-md);
    z-index: 200;
    padding: 3px 10px;
    background: rgba(255, 180, 0, 0.15);
    border: 1px solid rgba(255, 180, 0, 0.3);
    border-radius: 6px;
    font-family: var(--font-data);
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 180, 0, 0.8);
    letter-spacing: 0.05em;
    pointer-events: none;
}

.debug-lines-btn {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-lg);
    z-index: 200;
    padding: 8px 16px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 180, 0, 0.2);
    border-radius: 16px;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 180, 0, 0.8);
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
}

.debug-lines-btn:hover {
    background: rgba(255, 180, 0, 0.12);
    border-color: rgba(255, 180, 0, 0.35);
    color: rgba(255, 200, 50, 1);
}

.debug-lines-btn.active {
    background: rgba(255, 180, 0, 0.15);
    border-color: rgba(255, 180, 0, 0.4);
    color: #ffb400;
}

.debug-panel {
    position: fixed;
    bottom: calc(var(--space-xl) + 48px);
    right: var(--space-lg);
    z-index: 199;
    width: 380px;
    max-height: 70vh;
    overflow-y: auto;
    background: rgba(18, 18, 24, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 180, 0, 0.15);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    padding: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.debug-panel.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.debug-panel-heading {
    padding: 6px 10px;
    font-family: var(--font-data);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 180, 0, 0.5);
}

.debug-line-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
    font-family: var(--font-ui);
}

.debug-line-item:hover {
    background: rgba(255, 180, 0, 0.08);
    border-color: rgba(255, 180, 0, 0.2);
}

.debug-line-item.sent {
    background: rgba(255, 180, 0, 0.15);
    border-color: rgba(255, 180, 0, 0.4);
}

.debug-line-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 180, 0, 0.7);
}

.debug-line-text {
    font-size: 0.82rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}