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

:root {
    --bg: #f5efe8;
    --surface: rgba(255, 252, 248, 0.45);
    --text: #1a1510;
    --text-dim: #7a6e65;
    --accent: #2a2018;
    --accent-warm: #c4956a;
    --accent-glow: rgba(196, 149, 106, 0.35);
    --danger: #b03a2e;
    --success: #4a7c59;
    --gold: #a0783c;
    --border: rgba(30, 20, 10, 0.12);
    --radius: 16px;
    --radius-lg: 24px;
}

/* ===== DARK MODE ===== */
body.dark {
    --bg: #0e0c0a;
    --surface: rgba(15, 10, 6, 0.7);
    --text: #f0ebe4;
    --text-dim: #8a7f74;
    --accent: #e8ddd0;
    --accent-warm: #c4956a;
    --border: rgba(255, 240, 220, 0.1);
}
body.dark .bg-canvas { background-image: url('bg-dark.png'); }
body.dark .liquid-glass {
    background: rgba(18, 12, 7, 0.78) !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.05), 0 4px 24px rgba(0,0,0,0.6) !important;
}
body.dark .liquid-glass::before {
    background: linear-gradient(160deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 50%, rgba(196,149,106,0.04) 100%) !important;
}
body.dark .logo, body.dark .logo-sm, body.dark h1, body.dark h2, body.dark h3, body.dark .search-text { color: var(--text); }
body.dark .hero-sub, body.dark .step-card p, body.dark .safety-section li, body.dark .system-msg { color: var(--text-dim); }
body.dark .primary-btn { background: #c4956a !important; color: #0e0c0a !important; }
body.dark .primary-btn:hover { background: #d4a57a !important; }
body.dark .secondary-btn { background: rgba(255,255,255,0.05) !important; color: var(--text-dim) !important; border-color: var(--border) !important; }
body.dark .icon-btn { background: rgba(255,255,255,0.04) !important; border-color: rgba(255,255,255,0.1) !important; color: var(--text-dim) !important; }
body.dark .icon-btn:hover { background: rgba(255,255,255,0.09) !important; color: var(--text) !important; }
body.dark .icon-btn.active { border-color: var(--accent-warm) !important; color: var(--accent-warm) !important; }
body.dark .msg.stranger { background: rgba(255,255,255,0.07) !important; color: var(--text) !important; }
body.dark .msg.you { background: linear-gradient(135deg, rgba(196,149,106,0.35), rgba(120,80,40,0.35)) !important; color: var(--text) !important; }
body.dark .chat-input { color: var(--text) !important; }
body.dark .input-field { background: rgba(255,255,255,0.06) !important; color: var(--text) !important; }
body.dark .input-field option { background: #1a1208; }
body.dark .footer, body.dark .footer-links a { color: var(--text-dim) !important; }
body.dark .video-label { background: rgba(0,0,0,0.7) !important; color: var(--text) !important; }
body.dark .setting-row { border-color: var(--border) !important; color: var(--text) !important; }
body.dark .skip-btn { background: rgba(176,58,46,0.15) !important; }
body.dark .chat-input-bar, body.dark .chat-bottom-bar { background: rgba(10,6,3,0.5) !important; }
body.dark .warning-box { background: rgba(196,149,106,0.08) !important; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    min-height: 100vh;
}

a { color: var(--accent-warm); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }
input, select { font-family: inherit; outline: none; border: none; }
ul { list-style: none; }

/* ===== BACKGROUND ===== */
.bg-canvas {
    position: fixed; inset: 0; z-index: -2;
    background: url('bg.png') center center / cover no-repeat;
}
#particles { width: 100%; height: 100%; display: none; }

/* ===== LIQUID GLASS - light mode ===== */
.liquid-glass {
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.8),
        inset 0 -1px 1px rgba(0,0,0,0.04),
        0 4px 24px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}
.liquid-glass::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(160deg,
        rgba(255,255,255,0.9) 0%,
        rgba(255,255,255,0.3) 40%,
        rgba(200,180,160,0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

/* ===== SCREENS ===== */
.screen { display: none; min-height: 100vh; animation: fadeIn 0.4s ease; }
.screen.active { display: flex; flex-direction: column; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroSlide { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes stagger1 { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ===== TOP BAR ===== */
.top-bar { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 2.5rem; }
.logo, .logo-sm { font-size: 1.8rem; font-weight: 800; letter-spacing: -1.5px; color: var(--text); }
.logo span, .logo-sm span { color: var(--accent-warm); }
.logo-sm { font-size: 1.3rem; }
.top-right { display: flex; align-items: center; gap: 0.8rem; }
.online-badge { padding: 0.5rem 1rem; border-radius: 100px; display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--text-dim); }

/* ===== PULSE DOT ===== */
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; animation: pulse-glow 2s infinite; flex-shrink: 0; }
.pulse-dot.green { background: var(--success); box-shadow: 0 0 6px var(--success); }
.pulse-dot.red { background: var(--danger); box-shadow: 0 0 6px var(--danger); }
@keyframes pulse-glow { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

/* ===== BUTTONS ===== */
.icon-btn {
    background: rgba(255,255,255,0.5);
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 0.6rem 0.9rem; border-radius: 12px;
    font-size: 1rem; font-weight: 600; transition: all 0.2s ease;
}
.icon-btn:hover { background: rgba(255,255,255,0.8); color: var(--text); transform: translateY(-1px); }
.icon-btn.active { border-color: var(--accent-warm); color: var(--accent-warm); }

.primary-btn {
    padding: 1.1rem 3rem; border-radius: var(--radius);
    color: white; font-weight: 700; font-size: 1.1rem;
    background: var(--accent);
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.primary-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); background: #2f2518; }

.secondary-btn {
    padding: 1rem 2.5rem; border-radius: var(--radius);
    color: var(--text-dim); font-weight: 600; font-size: 1rem;
    background: rgba(255,255,255,0.5); border: 1px solid var(--border);
    transition: all 0.2s;
}
.secondary-btn:hover { background: rgba(255,255,255,0.8); color: var(--text); }
.danger-text { color: var(--danger) !important; }

/* ===== HERO ===== */
.hero { text-align: left; padding: 8rem 2.5rem 4rem; }
.hero-title { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; line-height: 1.05; margin-bottom: 1.2rem; color: var(--text); letter-spacing: -2px; animation: heroSlide 0.8s ease; }
.hero-title span { color: var(--accent-warm); display: block; }
.hero-sub { color: var(--text-dim); font-size: 1.1rem; max-width: 480px; margin: 0 0 2.5rem; line-height: 1.6; }
.hero-actions { display: flex; gap: 1rem; justify-content: flex-start; flex-wrap: wrap; }

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 3rem 2.5rem; text-align: left; }
.how-it-works h2 { font-size: 1.6rem; margin-bottom: 2rem; color: var(--text); font-weight: 700; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; max-width: 900px; }
.step-card { padding: 2rem; border-radius: var(--radius-lg); text-align: left; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.step-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.step-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.step-card h3 { margin-bottom: 0.4rem; font-size: 1.1rem; font-weight: 700; }
.step-card p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.5; }

/* ===== SAFETY ===== */
.safety-section { max-width: 680px; margin: 2rem 2.5rem; padding: 1.8rem; border-radius: var(--radius-lg); }
.safety-section h2 { margin-bottom: 1rem; font-size: 1.2rem; font-weight: 700; }
.safety-section ul { margin-left: 1.5rem; list-style: disc; }
.safety-section li { margin-bottom: 0.4rem; color: var(--text-dim); font-size: 0.9rem; line-height: 1.5; }
.privacy-note { margin-top: 1rem; color: var(--accent-warm); font-weight: 500; font-size: 0.85rem; }

/* ===== FOOTER ===== */
.footer { padding: 2rem 2.5rem; text-align: left; color: var(--text-dim); font-size: 0.82rem; margin-top: auto; }
.footer-links { display: flex; gap: 1.5rem; justify-content: flex-start; margin-bottom: 0.6rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); text-decoration: none; }

/* ===== MODALS ===== */
.centered-modal { width: 90%; max-width: 480px; margin: auto; padding: 2.5rem; border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 1.5rem; text-align: center; }
.modal-header { display: flex; justify-content: space-between; align-items: center; }
.modal-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.warning-box { background: rgba(160, 120, 60, 0.08); border: 1px solid rgba(160, 120, 60, 0.2); padding: 1rem; border-radius: 12px; text-align: left; font-size: 0.88rem; color: var(--gold); }
.modal-overlay { position: fixed; inset: 0; background: rgba(240,230,220,0.45); backdrop-filter: blur(12px); z-index: 100; display: flex; justify-content: center; align-items: center; animation: fadeIn 0.2s; }
.modal-overlay.hidden { display: none; }
.hidden { display: none !important; }

/* ===== PREFS ===== */
.prefs-modal { max-width: 540px; text-align: left; }
.pref-group { display: flex; flex-direction: column; gap: 0.6rem; }
.pref-group label { font-weight: 600; color: var(--text-dim); font-size: 0.88rem; }
.hint { font-weight: 400; font-size: 0.78rem; }
.mode-selector { display: flex; gap: 0.6rem; }
.mode-btn { padding: 0.7rem 1.2rem; border-radius: 12px; font-weight: 600; color: var(--text-dim); background: rgba(255,255,255,0.5); border: 1px solid var(--border); transition: all 0.2s; }
.mode-btn.active { color: var(--accent-warm); border-color: var(--accent-warm) !important; background: rgba(196,149,106,0.08); }
.tags-container { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag-btn { padding: 0.45rem 0.9rem; border-radius: 100px; font-size: 0.82rem; color: var(--text-dim); font-weight: 500; background: rgba(255,255,255,0.5); border: 1px solid var(--border); transition: all 0.2s; }
.tag-btn.active { color: var(--accent-warm); border-color: var(--accent-warm) !important; background: rgba(196,149,106,0.1); }
.input-field { width: 100%; padding: 0.9rem 1rem; border-radius: 12px; color: var(--text); font-size: 0.95rem; background: rgba(255,255,255,0.6); border: 1px solid var(--border); }
.input-field option { background: #f5efe8; }

/* ===== SEARCH / LOADING ===== */
.search-container { margin: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: 2rem; }
.search-spinner { position: relative; width: 80px; height: 80px; }
.spinner-ring { position: absolute; inset: 0; border: 2px solid transparent; border-top-color: var(--accent); border-radius: 50%; animation: spin 1.2s linear infinite; }
.spinner-ring.delay-1 { inset: 10px; border-top-color: rgba(30,20,10,0.4); animation-delay: 0.15s; }
.spinner-ring.delay-2 { inset: 20px; border-top-color: rgba(30,20,10,0.2); animation-delay: 0.3s; }
@keyframes spin { to { transform: rotate(360deg); } }
.search-text { font-size: 1.4rem; font-weight: 700; color: var(--text); }
.dots::after { content: ''; animation: dots-anim 1.5s infinite steps(4); }
@keyframes dots-anim { 0%{content:'';} 25%{content:'.';} 50%{content:'..';} 75%{content:'...';} }
.search-sub { color: var(--text-dim); font-size: 0.9rem; }
.model-progress { display: flex; align-items: center; gap: 1rem; width: 100%; max-width: 300px; }
.progress-bar { flex-grow: 1; height: 4px; border-radius: 4px; background: var(--border); overflow: visible; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent-warm), var(--accent)); border-radius: 4px; width: 0%; transition: width 0.4s ease; box-shadow: 0 0 8px var(--accent-glow); }
#progress-label { font-size: 0.82rem; color: var(--text-dim); font-weight: 600; white-space: nowrap; }

/* ===== CHAT SCREEN ===== */
#screen-chat.active { height: 100vh; overflow: hidden; }
.chat-top-bar { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1.5rem; border-radius: 0; }
.connection-status { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.88rem; color: var(--text-dim); }
.conn-quality { color: var(--success); font-size: 0.65rem; letter-spacing: 2px; margin-left: 0.3rem; }
.chat-top-actions { display: flex; gap: 0.5rem; }
.chat-body { display: flex; flex-grow: 1; overflow: hidden; height: calc(100vh - 120px); }

/* ===== VIDEO ===== */
.video-section { width: 55%; display: flex; flex-direction: column; gap: 0.8rem; padding: 0.8rem; position: relative; }
.video-panel { flex: 1; border-radius: var(--radius-lg); position: relative; display: flex; align-items: flex-end; justify-content: center; padding: 1rem; min-height: 0; overflow: hidden; }
.real-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; transform: scaleX(-1); z-index: 0; }
.face-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border-radius: inherit; z-index: 1;
    pointer-events: none;
    /* No CSS mirror - we flip coords manually so text renders correctly */
}
.video-feed { position: absolute; inset: 0; border-radius: inherit; z-index: 0; }
.mock-feed-stranger { background: linear-gradient(135deg, #d4c4b0 0%, #c8b8a4 40%, #b8a898 100%); opacity: 0.6; }
.video-label { position: absolute; top: 0.8rem; left: 0.8rem; padding: 0.3rem 0.8rem; border-radius: 8px; font-size: 0.75rem; font-weight: 700; background: rgba(255,255,255,0.7); backdrop-filter: blur(8px); color: var(--text); z-index: 3; letter-spacing: 0.5px; text-transform: uppercase; }
.no-camera-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(240,230,220,0.7); border-radius: inherit; z-index: 4; }
.placeholder-icon { font-size: 3rem; margin-bottom: 0.5rem; opacity: 0.4; }
.no-camera-placeholder p { color: var(--text-dim); font-size: 0.9rem; }

.score-overlay { padding: 0.7rem 1.8rem; border-radius: 16px; display: flex; flex-direction: column; align-items: center; gap: 2px; z-index: 3; position: relative; transition: all 0.3s ease; }
.score-inner { display: flex; align-items: baseline; gap: 2px; }
.rating { font-size: 2.8rem; font-weight: 800; transition: all 0.4s ease; color: var(--text); }
.max { font-size: 1rem; color: var(--text-dim); }
.score-label { font-size: 0.7rem; color: var(--text-dim); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.score-overlay.score-low .rating { color: var(--danger); }
.score-overlay.score-mid .rating { color: var(--gold); }
.score-overlay.score-high .rating { color: var(--success); }
.score-overlay.score-elite .rating { color: var(--accent-warm); }

.scanning-laser { position: absolute; width: 100%; height: 1px; background: var(--accent); opacity: 0.25; top: 0; animation: scan 4s infinite linear; }
@keyframes scan { 0%{top:0;opacity:0;} 10%{opacity:0.4;} 90%{opacity:0.4;} 100%{top:100%;opacity:0;} }
.video-controls { display: flex; gap: 0.6rem; padding: 0.6rem; border-radius: var(--radius); justify-content: center; align-items: center; flex-wrap: wrap; }
.ai-status { padding: 0.4rem 0.8rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600; display: flex; align-items: center; gap: 0.4rem; color: var(--text-dim); }
.ai-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-dim); display: inline-block; }
.ai-status.active .ai-dot { background: var(--success); animation: pulse-glow 2s infinite; }
.ai-status.active { color: var(--success); }
.ai-status.scanning .ai-dot { background: var(--accent-warm); animation: pulse-glow 1s infinite; }
.ai-status.scanning { color: var(--accent-warm); }

/* ===== TEXT CHAT ===== */
.text-section { width: 45%; display: flex; flex-direction: column; border-left: 1px solid var(--border); }
.messages-container { flex-grow: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; scroll-behavior: smooth; }
.messages-container::-webkit-scrollbar { width: 4px; }
.messages-container::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.msg { max-width: 80%; padding: 0.75rem 1.1rem; border-radius: 16px; font-size: 0.92rem; line-height: 1.4; animation: msgPop 0.25s ease; word-wrap: break-word; }
@keyframes msgPop { from{opacity:0;transform:translateY(6px) scale(0.97);} to{opacity:1;transform:translateY(0) scale(1);} }
.msg.you { align-self: flex-end; background: var(--accent); color: white; border-bottom-right-radius: 4px; }
.msg.stranger { align-self: flex-start; background: rgba(255,255,255,0.65); color: var(--text); border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.msg .msg-time { display: block; font-size: 0.68rem; opacity: 0.6; margin-top: 0.3rem; }
.system-msg { text-align: center; font-size: 0.78rem; color: var(--text-dim); padding: 0.4rem; }
.typing-indicator { padding: 0.5rem 1rem; font-size: 0.82rem; color: var(--text-dim); display: flex; align-items: center; gap: 0.3rem; }
.typing-dots span { animation: typeDot 1.4s infinite; display: inline-block; }
.typing-dots span:nth-child(2){animation-delay:0.2s;} .typing-dots span:nth-child(3){animation-delay:0.4s;}
@keyframes typeDot { 0%,60%,100%{opacity:0.3;} 30%{opacity:1;} }
.chat-input-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem; border-top: 1px solid var(--border); background: rgba(255,255,255,0.4); }
.chat-input { flex-grow: 1; background: transparent; color: var(--text); font-size: 0.95rem; padding: 0.4rem 0; }
.chat-input::placeholder { color: var(--text-dim); opacity: 0.6; }
.send-btn { color: var(--accent-warm) !important; border-color: var(--accent-warm) !important; }
.emoji-picker { position: absolute; bottom: 110px; right: 10px; left: auto; padding: 0.8rem; border-radius: var(--radius); display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.3rem; z-index: 50; }
.emoji-pick { background: none; border: none; font-size: 1.3rem; cursor: pointer; padding: 0.3rem; border-radius: 8px; transition: background 0.15s; }
.emoji-pick:hover { background: rgba(0,0,0,0.06); }

/* ===== BOTTOM BAR ===== */
.chat-bottom-bar { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 0.7rem 1rem; border-top: 1px solid var(--border); background: rgba(255,255,255,0.3); }
.skip-btn { background: rgba(176,58,46,0.08) !important; color: var(--danger); font-weight: 700; padding: 0.65rem 2rem; border-radius: 12px; border: 1px solid rgba(176,58,46,0.2); transition: all 0.2s; }
.skip-btn:hover { background: rgba(176,58,46,0.15) !important; }
.skip-cooldown { font-size: 0.82rem; color: var(--danger); font-weight: 600; }

/* ===== REPORT ===== */
.report-reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.reason-btn { padding: 0.8rem; border-radius: 12px; font-weight: 600; color: var(--text-dim); background: rgba(255,255,255,0.5); border: 1px solid var(--border); transition: all 0.2s; }
.reason-btn:hover { color: var(--danger); border-color: var(--danger) !important; }

/* ===== SETTINGS ===== */
.settings-modal { text-align: left; }
.settings-content { display: flex; flex-direction: column; gap: 0.6rem; }
.setting-row { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.setting-row:last-child { border-bottom: none; }
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; inset: 0; background: rgba(0,0,0,0.12); border-radius: 24px; cursor: pointer; transition: 0.3s; }
.slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; bottom: 3px; background: white; border-radius: 50%; transition: 0.3s; box-shadow: 0 1px 4px rgba(0,0,0,0.2); }
.toggle input:checked + .slider { background: var(--accent); }
.toggle input:checked + .slider::before { transform: translateX(20px); }

/* ===== TOAST ===== */
.toast { position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%); padding: 0.7rem 2rem; border-radius: 100px; font-weight: 600; z-index: 200; color: var(--text); font-size: 0.9rem; }
.toast.hidden { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .chat-body { flex-direction: column; }
    .video-section { width: 100%; height: 50%; }
    .text-section { width: 100%; height: 50%; border-left: none; border-top: 1px solid var(--border); }
    .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .top-bar { padding: 0.8rem 1.2rem; }
    .hero { padding: 3rem 1.2rem 2rem; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .primary-btn, .secondary-btn { width: 100%; max-width: 300px; }
    .centered-modal { padding: 1.5rem; }
}

/* ===== MATCH TIMER ===== */
.match-timer {
  position: fixed; top: 5rem; left: 50%; transform: translateX(-50%);
  padding: 0.5rem 1.5rem; border-radius: 100px; font-size: 1.2rem;
  font-weight: 800; z-index: 150; color: var(--text); letter-spacing: 1px;
  transition: color 0.3s;
}
.match-timer.urgent { color: var(--danger); animation: pulse-glow 0.8s infinite; }

body.dark .modal-overlay { background: rgba(8,5,2,0.55) !important; }
body.dark .reason-btn { background: rgba(255,255,255,0.04) !important; }
body.dark .no-camera-placeholder { background: rgba(15,10,6,0.8) !important; }
body.dark .online-badge { color: var(--text-dim) !important; }
body.dark .mock-feed-stranger { background: linear-gradient(135deg, #2a2018, #1a1510) !important; }
body.dark .emoji-pick:hover { background: rgba(255,255,255,0.08) !important; }
body.dark .conn-quality { color: var(--success) !important; }
body.dark .match-timer { color: var(--text) !important; }

/* ===== PROFILES ===== */
.profile-cards {
  display: flex; align-items: center; justify-content: center;
  gap: 0.8rem; padding: 1rem; margin: 0.5rem 0; animation: fadeIn 0.5s ease;
}
.profile-card {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 1rem; border-radius: 14px; flex-shrink: 0;
}
.pfp {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--accent-warm); flex-shrink: 0;
  background: var(--surface);
}
.profile-card strong { font-size: 0.85rem; color: var(--text); display: block; }
.profile-stat { font-size: 0.7rem; color: var(--text-dim); display: block; letter-spacing: 0.3px; }
.vs-badge {
  font-size: 0.75rem; font-weight: 800; color: var(--accent-warm);
  letter-spacing: 2px; text-transform: uppercase;
}
body.dark .pfp { border-color: var(--accent-warm); }
