/* ════════════════════════════
   NICT8 — Main Stylesheet
   v8
════════════════════════════ */

/* ── Dark theme (default) ── */
:root {
  --bg: #0a0a0f; --bg2: #0f0f18; --bg3: #141420;
  --border: #2e2e3e; --border2: #3a3a4e;
  --text: #e8e4dc; --text2: #aaa; --text3: #666;
  --red: #c0392b; --red2: #e74c3c;
  --mono: 'Courier New', monospace;
  --sans: 'Segoe UI', system-ui, sans-serif;
  --focus-bg: #05050a;
  --focus-before: #4a4a5a;
  --focus-after: #d0ccc4;
  --focus-btn-border: #2a2a3a;
  --focus-btn-color: #666;
  --focus-bar-bg: #1a1a2a;
  --focus-label-color: #555;
}

/* ── Light theme ── */
[data-theme="light"] {
  --bg: #f5f3ef; --bg2: #eeecea; --bg3: #e5e3df;
  --border: #d0cec8; --border2: #b8b6b0;
  --text: #1a1a20; --text2: #555; --text3: #999;
  --red: #c0392b; --red2: #e74c3c;
  --focus-bg: #f0ede8;
  --focus-before: #aaa;
  --focus-after: #333;
  --focus-btn-border: #ccc;
  --focus-btn-color: #888;
  --focus-bar-bg: #ddd;
  --focus-label-color: #aaa;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); min-height: 100vh; display: flex; flex-direction: column; align-items: center; transition: background .3s, color .3s; }

/* ── Splash ── */
#splash { position: fixed; inset: 0; background: #0a0a0f; z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity .6s ease; }
#splash.fade-out { opacity: 0; pointer-events: none; }
#splash svg { width: min(280px, 70vw); height: auto; }

/* ── Screens ── */
.screen { display: none; flex-direction: column; align-items: center; width: 100%; min-height: 100vh; }
.screen.active { display: flex; }

/* ── Header ── */
.app-header { width: 100%; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.logo { font-family: var(--mono); font-size: 14px; letter-spacing: 4px; color: var(--text); }
.logo span { color: var(--red); }
.icon-btn { background: none; border: none; color: var(--text3); font-size: 18px; cursor: pointer; padding: 4px 8px; border-radius: 2px; transition: color .2s; }
.icon-btn:hover { color: var(--text2); }

/* ── Buttons ── */
.btn { background: var(--red); color: #fff; border: none; padding: 11px 24px; font-family: var(--mono); font-size: 11px; letter-spacing: 3px; cursor: pointer; border-radius: 2px; transition: background .2s; text-transform: uppercase; }
.btn:hover { background: var(--red2); }
.btn-ghost { background: transparent; color: var(--text3); border: 1px solid var(--border); padding: 11px 20px; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; cursor: pointer; border-radius: 2px; transition: all .2s; }
.btn-ghost:hover { color: var(--text2); border-color: var(--border2); }

/* ═══════════════════════════════
   SCREEN 1 — LIBRARY
═══════════════════════════════ */
#screen-library { background: var(--bg); }
#screen-library .content { width: 100%; max-width: 700px; padding: 32px 20px; display: flex; flex-direction: column; gap: 24px; flex: 1; }

.library-empty { text-align: center; padding: 60px 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.library-empty .empty-icon { font-size: 48px; opacity: .3; }
.library-empty p { font-size: 13px; color: var(--text3); letter-spacing: 1px; }

.book-grid { display: flex; flex-direction: column; gap: 8px; }
.book-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 3px; padding: 16px 18px; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.book-card:hover { border-color: var(--border2); background: var(--bg3); }
.book-card-info { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.book-card-title { font-size: 14px; color: var(--text); font-family: var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.book-card-meta { font-size: 11px; color: var(--text3); letter-spacing: 1px; }
.book-card-progress { height: 2px; background: var(--bg3); border-radius: 1px; margin-top: 4px; }
.book-card-progress-fill { height: 100%; background: var(--red); border-radius: 1px; }
.book-card-del { background: none; border: none; color: var(--text3); font-size: 16px; cursor: pointer; padding: 4px 8px; flex-shrink: 0; border-radius: 2px; transition: color .15s; }
.book-card-del:hover { color: var(--red); }

.add-btn-wrap { display: flex; justify-content: center; padding-bottom: 20px; }
.add-btn { background: var(--bg2); border: 1px dashed var(--border2); color: var(--text2); font-family: var(--mono); font-size: 12px; letter-spacing: 3px; padding: 16px 40px; cursor: pointer; border-radius: 3px; transition: all .2s; text-transform: uppercase; }
.add-btn:hover { border-color: var(--red); color: var(--text); background: var(--bg3); }

/* ── Modals ── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 100; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal { background: var(--bg2); border: 1px solid var(--border2); border-radius: 4px; width: 100%; max-width: 560px; display: flex; flex-direction: column; overflow: hidden; max-height: 90vh; overflow-y: auto; }
.modal-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.modal-title { font-family: var(--mono); font-size: 12px; letter-spacing: 3px; color: var(--text2); text-transform: uppercase; }
.modal-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }

.add-option { background: var(--bg3); border: 1px solid var(--border); border-radius: 3px; padding: 16px 20px; cursor: pointer; display: flex; align-items: center; gap: 16px; transition: all .2s; }
.add-option:hover { border-color: var(--border2); }
.add-option-icon { font-size: 24px; flex-shrink: 0; }
.add-option-text { display: flex; flex-direction: column; gap: 4px; }
.add-option-label { font-family: var(--mono); font-size: 13px; color: var(--text); letter-spacing: 1px; }
.add-option-desc { font-size: 11px; color: var(--text3); letter-spacing: 1px; }

.add-panel { display: none; flex-direction: column; gap: 12px; }
.add-panel.active { display: flex; }
.add-back { background: none; border: none; color: var(--text3); font-family: var(--mono); font-size: 11px; letter-spacing: 2px; cursor: pointer; padding: 0; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; transition: color .2s; }
.add-back:hover { color: var(--text2); }

textarea.add-textarea { width: 100%; background: var(--bg3); border: 1px solid var(--border); color: var(--text); font-family: Georgia, serif; font-size: 14px; line-height: 1.7; padding: 14px; resize: vertical; outline: none; border-radius: 2px; min-height: 140px; }
textarea.add-textarea:focus { border-color: var(--border2); }
textarea.add-textarea::placeholder { color: var(--text3); }

.title-input { width: 100%; background: var(--bg3); border: 1px solid var(--border); color: var(--text); font-family: var(--mono); font-size: 13px; padding: 10px 14px; outline: none; border-radius: 2px; letter-spacing: 1px; }
.title-input:focus { border-color: var(--border2); }
.title-input::placeholder { color: var(--text3); }

.drop-zone { border: 1px dashed var(--border2); border-radius: 2px; padding: 32px 20px; text-align: center; cursor: pointer; transition: all .2s; position: relative; }
.drop-zone:hover, .drop-zone.drag-over { border-color: var(--red); background: rgba(192,57,43,.04); }
.drop-zone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.drop-zone p { font-size: 12px; letter-spacing: 2px; color: var(--text3); margin-top: 6px; }
.drop-zone .dz-icon { font-size: 28px; }
.drop-zone .dz-filename { font-size: 12px; color: var(--red); margin-top: 8px; font-family: var(--mono); }

.search-input-row { display: flex; gap: 8px; }
.search-input { flex: 1; background: var(--bg3); border: 1px solid var(--border); color: var(--text); font-family: var(--sans); font-size: 13px; padding: 10px 14px; outline: none; border-radius: 2px; }
.search-input:focus { border-color: var(--border2); }
.search-input::placeholder { color: var(--text3); }
.search-results { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow-y: auto; }
.search-result { background: var(--bg3); border: 1px solid var(--border); border-radius: 2px; padding: 12px 14px; cursor: pointer; transition: all .2s; display: flex; flex-direction: column; gap: 4px; }
.search-result:hover { border-color: var(--border2); }
.search-result-title { font-size: 13px; color: var(--text); font-family: var(--mono); }
.search-result-author { font-size: 11px; color: var(--text3); letter-spacing: 1px; }
.search-spinner { display: none; width: 20px; height: 20px; border: 2px solid var(--border2); border-top-color: var(--red); border-radius: 50%; animation: spin .7s linear infinite; margin: 16px auto; }
.search-spinner.visible { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.search-timeout { display: none; text-align: center; padding: 12px; }
.search-timeout.visible { display: block; }
.search-timeout p { font-size: 12px; color: var(--text3); font-family: var(--mono); letter-spacing: 1px; margin-bottom: 10px; }
.search-msg { font-size: 11px; color: var(--text3); font-family: var(--mono); letter-spacing: 1px; text-align: center; padding: 12px; }

/* ═══════════════════════════════
   SCREEN 2 — READER
═══════════════════════════════ */
#screen-reader { background: var(--bg); }
#screen-reader .content { width: 100%; max-width: 700px; padding: 24px 20px; display: flex; flex-direction: column; gap: 20px; flex: 1; }

#currently-reading { font-family: var(--mono); font-size: 11px; color: var(--text3); letter-spacing: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#currently-reading span { color: var(--text2); }

.word-box { background: var(--bg2); border: 1px solid var(--border); border-radius: 2px; padding: 52px 24px; text-align: center; position: relative; overflow: hidden; }
.orp-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(to bottom, transparent 0%, rgba(192,57,43,.3) 30%, rgba(192,57,43,.3) 70%, transparent 100%); transform: translateX(-50%); }
.orp-tick-top, .orp-tick-bottom { position: absolute; left: 50%; width: 2px; height: 10px; background: var(--red); transform: translateX(-50%); }
.orp-tick-top { top: 0; } .orp-tick-bottom { bottom: 0; }
.word-display { font-family: var(--mono); font-size: clamp(32px, 7vw, 58px); display: flex; align-items: center; justify-content: center; min-height: 72px; line-height: 1; position: relative; z-index: 1; }
.w-before { color: #5a5a6a; min-width: 3ch; text-align: right; }
.w-focus { color: var(--red); position: relative; }
.w-focus::after { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.w-after { color: var(--text); min-width: 6ch; text-align: left; }
.w-done { color: var(--red); font-size: 18px; letter-spacing: 6px; }

.progress-wrap { display: flex; flex-direction: column; gap: 6px; }
.progress-bar { height: 2px; background: var(--bg3); border-radius: 1px; cursor: pointer; position: relative; transition: height .15s; }
.progress-bar:hover { height: 4px; }
.progress-fill { height: 100%; background: var(--red); border-radius: 1px; transition: width .1s linear; }
.progress-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--text3); font-family: var(--mono); letter-spacing: 1px; }

.nav-row { display: flex; gap: 6px; align-items: center; justify-content: center; flex-wrap: wrap; }
.nav-btn { background: transparent; border: 1px solid var(--border); color: var(--text3); font-family: var(--mono); font-size: 10px; letter-spacing: 1px; padding: 7px 12px; cursor: pointer; border-radius: 2px; transition: all .2s; }
.nav-btn:hover { color: var(--text2); border-color: var(--border2); }
.nav-btn.bm-btn { color: var(--red); border-color: #3a1a18; }
.nav-btn.bm-btn:hover { border-color: var(--red); }

.main-controls { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }

.wpm-section { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.wpm-toggle { background: none; border: 1px solid var(--border); color: var(--text3); font-family: var(--mono); font-size: 11px; letter-spacing: 2px; padding: 8px 16px; cursor: pointer; border-radius: 2px; transition: all .2s; display: flex; align-items: center; gap: 8px; width: 100%; justify-content: center; }
.wpm-toggle:hover { color: var(--text2); border-color: var(--border2); }
.wpm-toggle .wpm-current { color: var(--red); font-size: 15px; }
.wpm-expanded { display: none; flex-direction: column; gap: 10px; padding: 14px; background: var(--bg2); border: 1px solid var(--border); border-radius: 2px; }
.wpm-expanded.open { display: flex; }
.wpm-row { display: flex; align-items: center; gap: 10px; }
.wpm-hints { display: flex; justify-content: space-between; font-size: 10px; color: var(--text3); font-family: var(--mono); }
input[type=range] { flex: 1; accent-color: var(--red); cursor: pointer; }

.stats-panel { width: 100%; background: var(--bg2); border: 1px solid var(--border); border-radius: 2px; padding: 16px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; text-align: center; }
.stat-val { font-family: var(--mono); font-size: 20px; color: var(--text); }
.stat-lbl { font-size: 10px; letter-spacing: 2px; color: var(--text3); margin-top: 4px; text-transform: uppercase; }

.bm-panel { display: none; width: 100%; background: var(--bg2); border: 1px solid var(--border); border-radius: 2px; flex-direction: column; overflow: hidden; }
.bm-panel.visible { display: flex; }
.bm-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--text3); text-transform: uppercase; }
.bm-list { display: flex; flex-direction: column; }
.bm-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--border); gap: 12px; cursor: pointer; transition: background .15s; }
.bm-item:last-child { border-bottom: none; }
.bm-item:hover { background: var(--bg3); }
.bm-item-info { display: flex; flex-direction: column; gap: 3px; }
.bm-item-label { font-size: 12px; color: var(--text); font-family: var(--mono); }
.bm-item-meta { font-size: 10px; color: var(--text3); letter-spacing: 1px; }
.bm-item-del { background: none; border: none; color: var(--text3); font-size: 14px; cursor: pointer; padding: 4px 8px; border-radius: 2px; transition: color .15s; flex-shrink: 0; }
.bm-item-del:hover { color: var(--red); }
.bm-empty { padding: 16px 14px; font-size: 11px; color: var(--text3); font-family: var(--mono); letter-spacing: 1px; }

#resume-banner { display: none; width: 100%; background: var(--bg2); border: 1px solid var(--border2); border-left: 3px solid var(--red); border-radius: 2px; padding: 14px 18px; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
#resume-banner.visible { display: flex; }
.resume-text { font-size: 12px; color: var(--text2); font-family: var(--mono); letter-spacing: 1px; }
.resume-text strong { color: var(--text); }
.resume-btns { display: flex; gap: 8px; }

.font-selector { display: flex; gap: 4px; background: var(--bg2); border: 1px solid var(--border); border-radius: 2px; padding: 3px; }
.font-btn { flex: 1; background: transparent; border: none; color: var(--text3); font-size: 11px; letter-spacing: 1px; padding: 6px 10px; cursor: pointer; border-radius: 2px; transition: all .2s; }
.font-btn:hover { color: var(--text2); }
.font-btn.active { background: var(--bg3); color: var(--text); border: 1px solid var(--border2); }

/* ═══════════════════════════════
   FOCUS MODE
═══════════════════════════════ */
#focus-overlay { display: none; position: fixed; inset: 0; background: var(--focus-bg); z-index: 1000; flex-direction: column; align-items: center; animation: fadeIn .25s ease; }
#focus-overlay.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.focus-word-area { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.focus-orp-wrap { display: flex; flex-direction: column; align-items: center; }
.focus-tick { width: 2px; height: 14px; background: var(--red); }
.focus-word-row { display: flex; align-items: center; font-family: var(--mono); font-size: clamp(48px, 12vw, 96px); line-height: 1; }
.focus-before { color: var(--focus-before); min-width: 4ch; text-align: right; }
.focus-focus { color: var(--red); }
.focus-after { color: var(--focus-after); min-width: 8ch; text-align: left; }
.focus-bottom { width: 100%; padding: 24px 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.focus-progress { width: min(560px, 80vw); display: flex; flex-direction: column; gap: 8px; }
.focus-bar { height: 1px; background: var(--focus-bar-bg); }
.focus-fill { height: 100%; background: var(--red); transition: width .1s linear; }
.focus-labels { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--focus-label-color); letter-spacing: 1px; }
.focus-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; }
.focus-btn { background: transparent; border: 1px solid var(--focus-btn-border); color: var(--focus-btn-color); font-family: var(--mono); font-size: 11px; letter-spacing: 3px; padding: 10px 20px; cursor: pointer; border-radius: 2px; transition: all .2s; }
.focus-btn:hover { color: var(--text2); border-color: #444; }
.focus-btn.primary { border-color: #5a1a18; color: #a03020; }
.focus-btn.primary:hover { border-color: var(--red); color: var(--red); }
.focus-esc { position: fixed; top: 20px; right: 24px; font-family: var(--mono); font-size: 10px; letter-spacing: 3px; color: #444; cursor: pointer; background: none; border: none; transition: color .2s; }
.focus-esc:hover { color: #777; }
.focus-font-selector { display: flex; gap: 4px; }
.focus-font-btn { background: transparent; border: 1px solid var(--focus-btn-border); color: var(--focus-btn-color); font-size: 10px; letter-spacing: 2px; padding: 5px 10px; cursor: pointer; border-radius: 2px; transition: all .2s; }
.focus-font-btn:hover { color: #888; border-color: #3a3a4a; }
.focus-font-btn.active { color: #888; border-color: #444; }

/* ═══════════════════════════════
   SETTINGS MODAL
═══════════════════════════════ */
.settings-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); gap: 12px; }
.settings-row:last-child { border-bottom: none; }
.settings-label { font-size: 13px; color: var(--text2); letter-spacing: 1px; }
.settings-val { font-family: var(--mono); font-size: 12px; color: var(--text3); }

/* ── Toggle switch ── */
.toggle-wrap { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--text3); letter-spacing: 1px; }
.toggle { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--border2); border-radius: 22px; cursor: pointer; transition: background .2s; }
.toggle-slider:before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; bottom: 3px; background: var(--text3); border-radius: 50%; transition: transform .2s, background .2s; }
.toggle input:checked + .toggle-slider { background: var(--red); }
.toggle input:checked + .toggle-slider:before { transform: translateX(18px); background: #fff; }

/* ═══════════════════════════════
   ONBOARDING
═══════════════════════════════ */
#screen-onboarding { background: var(--bg); justify-content: center; }
#screen-onboarding .content { width: 100%; max-width: 600px; padding: 40px 24px; display: flex; flex-direction: column; gap: 32px; align-items: center; }
.wizard-step { display: none; flex-direction: column; align-items: center; gap: 24px; text-align: center; width: 100%; }
.wizard-step.active { display: flex; }
.wizard-label { font-family: var(--mono); font-size: 10px; letter-spacing: 4px; color: var(--red); text-transform: uppercase; }
.wizard-title { font-size: clamp(20px, 4vw, 28px); color: var(--text); font-family: var(--mono); letter-spacing: 2px; line-height: 1.4; }
.wizard-sub { font-size: 13px; color: var(--text3); letter-spacing: 1px; line-height: 1.7; max-width: 480px; }
.classic-text { background: var(--bg2); border: 1px solid var(--border); border-radius: 3px; padding: 24px 28px; font-family: Georgia, serif; font-size: 16px; line-height: 1.8; color: var(--text); text-align: left; width: 100%; }
.classic-timer { font-family: var(--mono); font-size: 28px; color: var(--red); letter-spacing: 2px; }
.classic-timer-label { font-size: 10px; color: var(--text3); letter-spacing: 3px; text-transform: uppercase; }
.rsvp-preview { background: var(--bg2); border: 1px solid var(--border); border-radius: 3px; padding: 40px 24px; width: 100%; text-align: center; position: relative; }
.rsvp-preview .orp-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(to bottom, transparent, rgba(192,57,43,.3), transparent); transform: translateX(-50%); }
.rsvp-preview .orp-tick { position: absolute; left: 50%; width: 2px; height: 8px; background: var(--red); transform: translateX(-50%); }
.rsvp-preview .orp-tick.top { top: 0; } .rsvp-preview .orp-tick.bottom { bottom: 0; }
.rsvp-word { font-family: var(--mono); font-size: clamp(28px, 6vw, 52px); display: flex; align-items: center; justify-content: center; min-height: 64px; }
.rsvp-progress-wrap { width: 100%; margin-top: 16px; }
.rsvp-progress-bar { height: 2px; background: var(--bg3); border-radius: 1px; }
.rsvp-progress-fill { height: 100%; background: var(--red); border-radius: 1px; transition: width .1s linear; }
.rsvp-wpm-label { font-family: var(--mono); font-size: 11px; color: var(--text3); letter-spacing: 2px; margin-top: 8px; }
.quiz-question { font-size: 15px; color: var(--text); font-family: var(--mono); letter-spacing: 1px; line-height: 1.5; text-align: left; width: 100%; }
.quiz-options { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.quiz-option { background: var(--bg2); border: 1px solid var(--border); border-radius: 2px; padding: 12px 16px; cursor: pointer; font-size: 13px; color: var(--text2); text-align: left; transition: all .2s; font-family: var(--sans); }
.quiz-option:hover { border-color: var(--border2); color: var(--text); }
.quiz-option.correct { border-color: #2a7a3a; background: #0a1a0f; color: #4aaa5a; }
.quiz-option.wrong { border-color: var(--red); background: #1a0a0a; color: #c06060; }
.quiz-counter { font-family: var(--mono); font-size: 11px; color: var(--text3); letter-spacing: 2px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
.result-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 3px; padding: 20px; text-align: center; }
.result-val { font-family: var(--mono); font-size: 32px; color: var(--red); }
.result-lbl { font-size: 10px; color: var(--text3); letter-spacing: 2px; text-transform: uppercase; margin-top: 6px; }
.result-highlight { background: var(--bg2); border: 1px solid var(--border2); border-left: 3px solid var(--red); border-radius: 2px; padding: 16px 20px; font-size: 13px; color: var(--text2); font-family: var(--mono); letter-spacing: 1px; line-height: 1.6; width: 100%; text-align: left; }
.wizard-dots { display: flex; gap: 8px; }
.wizard-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border2); transition: background .3s; }
.wizard-dot.active { background: var(--red); }
.wizard-skip { position: fixed; top: 20px; right: 24px; font-family: var(--mono); font-size: 10px; letter-spacing: 3px; color: var(--text3); background: none; border: none; cursor: pointer; transition: color .2s; }
.wizard-skip:hover { color: var(--text2); }

/* ── Misc ── */
.msg { font-size: 12px; color: var(--text3); font-family: var(--mono); letter-spacing: 1px; min-height: 16px; }
.msg.error { color: var(--red); }

@media (max-width: 600px) {
  .app-header { padding: 14px 16px; }
  .stats-panel { grid-template-columns: repeat(3, 1fr); }
  .focus-bottom { padding: 20px 16px; }
}
