/* ============================================================
   style.css — 造句救星
   M7: UI 美化 + RWD + 無障礙
   ============================================================ */
:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #e0e7ff;
  --accent: #059669;
  --accent-light: #d1fae5;
  --orange: #ea580c;
  --orange-light: #fff7ed;
  --red: #dc2626;
  --green: #16a34a;
  --purple: #9333ea;
  --pink: #ec4899;
  --bg: #eef2ff;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', 'Microsoft JhengHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ---- Focus Ring (Accessibility) ---- */
:focus-visible {
  outline: 3px solid #6366f1;
  outline-offset: 2px;
  border-radius: 4px;
}
button:focus:not(:focus-visible),
input:focus:not(:focus-visible) {
  outline: none;
}

/* ---- Container ---- */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* ---- Header ---- */
.app-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--purple));
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.app-header h1 {
  font-size: 2.4rem;
  color: white;
  margin-bottom: 0.15rem;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.app-header p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  font-weight: 500;
}
.app-header .difficulty-hint {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}
.app-header .difficulty-hint span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ---- Mode Selector (Top) ---- */
.mode-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.mode-btn {
  padding: 1rem;
  border-radius: var(--radius);
  border: 3px solid var(--border);
  background: var(--card);
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.mode-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition);
}
.mode-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.mode-btn:hover::before {
  background: linear-gradient(90deg, var(--primary), var(--purple));
}
.mode-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--purple));
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.mode-btn.active::before { background: transparent; }
.mode-btn .mode-num { font-size: 1.3rem; font-weight: 800; }
.mode-btn .mode-title { font-size: 0.98rem; font-weight: 700; margin-top: 0.15rem; }
.mode-btn .mode-desc { font-size: 0.82rem; opacity: 0.75; margin-top: 0.1rem; }
.mode-btn .mode-diff {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(0,0,0,0.06);
}
.mode-btn.active .mode-diff { background: rgba(255,255,255,0.2); }

/* 5-button: 3 top + 2 bottom centered */
.mode-selector-5 {
  grid-template-columns: repeat(6, 1fr);
}
.mode-selector-5 .mode-btn:nth-child(1) { grid-column: 1 / 3; }
.mode-selector-5 .mode-btn:nth-child(2) { grid-column: 3 / 5; }
.mode-selector-5 .mode-btn:nth-child(3) { grid-column: 5 / 7; }
.mode-selector-5 .mode-btn:nth-child(4) { grid-column: 1 / 4; }
.mode-selector-5 .mode-btn:nth-child(5) { grid-column: 4 / 7; }

/* ---- Cards ---- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.2rem;
  overflow: hidden;
  animation: fadeInUp 0.3s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.card-header {
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: white;
}
.card-header.blue { background: linear-gradient(135deg, #3b82f6, var(--primary)); }
.card-header.green { background: linear-gradient(135deg, var(--accent), #0d9488); }
.card-header.purple { background: linear-gradient(135deg, var(--purple), var(--pink)); }
.card-header.red { background: linear-gradient(135deg, var(--red), var(--orange)); }
.card-header.indigo { background: linear-gradient(135deg, var(--primary), #2563eb); }
.card-body { padding: 1.2rem; }

/* ---- Grammar Mode Buttons (很/有/將) ---- */
.grammar-modes {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.grammar-btn {
  flex: 1;
  min-width: 80px;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: #f1f5f9;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 44px; /* touch target */
}
.grammar-btn:hover { border-color: var(--primary); background: var(--primary-light); }
.grammar-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(79,70,229,0.3);
  transform: scale(1.03);
}

/* ---- Rules Card ---- */
.rules-card {
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  border: 2px solid #a5b4fc;
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
  overflow: hidden;
}
.rules-header {
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: white;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  min-height: 44px;
}
.rules-header:hover { filter: brightness(1.05); }
.rules-header h3 { font-size: 1.1rem; }
.rules-header .toggle {
  font-size: 1.2rem;
  transition: transform 0.3s;
}
.rules-body { padding: 1rem 1.2rem; }
.rules-body.hidden { display: none; }
.rule-formula {
  background: white;
  border: 2px solid #a5b4fc;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 1rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.subject-verb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 0.4rem;
}
.subject-verb-item {
  background: white;
  border: 1px solid #c7d2fe;
  border-left: 4px solid var(--primary);
  border-radius: 6px;
  padding: 0.5rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition: background var(--transition);
}
.subject-verb-item:hover { background: #eef2ff; }
.plural-s { color: var(--red); font-weight: 800; }

/* ---- Vocabulary Grid ---- */
.vocab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 0.4rem;
  max-height: 320px;
  overflow-y: auto;
  padding: 0.5rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid var(--border);
  scroll-behavior: smooth;
}
.vocab-grid::-webkit-scrollbar { width: 6px; }
.vocab-grid::-webkit-scrollbar-track { background: transparent; }
.vocab-grid::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.vocab-grid::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.vocab-btn {
  padding: 0.45rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
  font-size: 0.84rem;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.vocab-btn:hover { border-color: var(--accent); color: var(--accent); background: #f0fdf4; }
.vocab-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 2px 6px rgba(5,150,105,0.3);
  transform: scale(1.03);
}
.vocab-btn .en { font-weight: 700; }
.vocab-btn .zh { font-size: 0.75rem; opacity: 0.8; }
.vocab-btn .syl {
  display: inline-block;
  background: rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 0 4px;
  font-size: 0.68rem;
  font-weight: 600;
  margin-left: 2px;
  vertical-align: middle;
}
.vocab-btn.active .syl { background: rgba(255,255,255,0.25); }

/* ---- Custom Word Input ---- */
.custom-input-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.custom-input-row input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 44px;
}
.custom-input-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(5,150,105,0.15);
}

/* ---- Buttons ---- */
.btn {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  user-select: none;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); filter: brightness(0.95); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; filter: none; box-shadow: none; }
.btn-primary { background: var(--primary); color: white; }
.btn-green { background: var(--accent); color: white; }
.btn-red { background: var(--red); color: white; }
.btn-orange { background: var(--orange); color: white; }
.btn-blue { background: #3b82f6; color: white; }
.btn-gray { background: #6b7280; color: white; }
.btn-indigo { background: var(--primary); color: white; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* ---- Player Display ---- */
.player-display {
  background: linear-gradient(135deg, #faf5ff, #fce7f3);
  border: 2px solid #d8b4fe;
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  text-align: center;
  margin-bottom: 1rem;
}
.player-sentence {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 0.4rem;
  word-break: break-word;
  line-height: 1.4;
}
.player-structure {
  font-size: 0.88rem;
  color: var(--muted);
  font-family: 'Consolas', 'Courier New', monospace;
}
.player-controls {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0.8rem 0;
}
.player-nav {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ---- Progress Bar ---- */
.progress-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin: 0.6rem 0;
}
.progress-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  transition: width 0.4s ease;
  border-radius: 4px;
}

/* ---- Badge ---- */
.badge {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 700;
}
.badge-white { background: white; color: var(--purple); }
.badge-score { background: white; color: var(--red); }

/* ---- Combo List ---- */
.combo-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  max-height: 350px;
  overflow-y: auto;
}
.combo-list::-webkit-scrollbar { width: 6px; }
.combo-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.combo-item {
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: white;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  transition: all 0.15s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.combo-item:hover { border-color: var(--purple); background: #faf5ff; }
.combo-item.active { background: var(--purple); color: white; border-color: var(--purple); box-shadow: 0 2px 6px rgba(147,51,234,0.3); }

/* ---- Quiz ---- */
.quiz-sentence {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  padding: 1.2rem;
  background: #f8fafc;
  border-radius: 10px;
  border: 2px solid #c7d2fe;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.quiz-blank {
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 800;
  border-bottom: 3px dashed var(--primary);
  padding: 0 0.2rem;
}
.quiz-input {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1.1rem;
  border: 2px solid #a5b4fc;
  border-radius: 8px;
  outline: none;
  margin-bottom: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 44px;
}
.quiz-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.15);
}
.quiz-input:disabled { background: #f1f5f9; }

/* ---- Feedback ---- */
.feedback {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  animation: fadeInUp 0.3s ease;
}
.feedback.correct { background: #dcfce7; border: 2px solid #86efac; }
.feedback.wrong { background: #fee2e2; border: 2px solid #fca5a5; }
.feedback .fb-title { font-size: 1.1rem; font-weight: 800; }
.feedback.correct .fb-title { color: #15803d; }
.feedback.wrong .fb-title { color: #b91c1c; }
.feedback .fb-detail { margin-top: 0.6rem; color: var(--text); font-size: 0.92rem; }
.feedback .fb-structure {
  background: white;
  border-left: 4px solid var(--primary);
  padding: 0.5rem 0.8rem;
  margin-top: 0.5rem;
  border-radius: 0 6px 6px 0;
  font-family: 'Consolas', 'Courier New', monospace;
  color: var(--primary-dark);
}
.feedback .fb-answer { margin-top: 0.5rem; color: var(--primary-dark); font-weight: 600; }

/* ---- Scoreboard ---- */
.scoreboard {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  text-align: center;
  margin-bottom: 1rem;
}
.scoreboard .score-num { font-size: 2rem; font-weight: 800; }
.scoreboard .score-num.green { color: #15803d; }
.scoreboard .score-num.red { color: #b91c1c; }
.scoreboard .score-num.blue { color: var(--primary); }
.scoreboard .score-label { color: var(--muted); font-size: 0.85rem; }

/* ---- Section visibility ---- */
.hidden { display: none !important; }

/* ---- Mode 3: Subject Select ---- */
.subject-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 0.4rem;
}
.subject-select-btn {
  padding: 0.5rem 0.5rem;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: white;
  cursor: pointer;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.15s;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}
.subject-select-btn:hover { border-color: var(--primary); background: var(--primary-light); }
.subject-select-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(79,70,229,0.3);
  transform: scale(1.03);
}
.subject-select-btn .sub-label { font-size: 0.76rem; color: var(--muted); font-weight: 400; }
.subject-select-btn.active .sub-label { color: rgba(255,255,255,0.8); }

/* ---- Mode 3: Result Display ---- */
.m3-result-display {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 2px solid #86efac;
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  text-align: center;
}
.m3-result-sentence {
  font-size: 1.8rem;
  font-weight: 800;
  color: #065f46;
  margin-bottom: 0.4rem;
  word-break: break-word;
  line-height: 1.4;
}
.m3-result-translation {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.m3-result-structure {
  font-size: 0.88rem;
  color: var(--muted);
  font-family: 'Consolas', 'Courier New', monospace;
}

/* ---- Mode 3: History ---- */
.m3-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 250px;
  overflow-y: auto;
}
.m3-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0.7rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.86rem;
  transition: background 0.15s;
}
.m3-history-item:hover { background: #eef2ff; }
.m3-history-item .en { font-weight: 700; color: #065f46; }
.m3-history-item .zh { color: var(--muted); margin-left: 0.5rem; }
.m3-history-item button {
  padding: 0.2rem 0.5rem;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Mode 4/5: Sentence Builder ---- */
.m4-step { margin-bottom: 1rem; }
.m4-step-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.m4-subject-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.m4-subject-btn {
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  border: 2px solid var(--border);
  background: white;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.15s;
  min-height: 36px;
}
.m4-subject-btn:hover { border-color: var(--primary); background: var(--primary-light); }
.m4-subject-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 1px 4px rgba(79,70,229,0.3);
}

/* ---- Mode 4/5: Preview ---- */
.m4-preview-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  background: var(--primary-light);
  border-radius: 8px;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  animation: fadeInUp 0.2s ease;
}
.m4-preview-item .num { font-weight: 800; color: var(--primary); min-width: 20px; }
.m4-preview-item .sentence { font-weight: 600; }
.m4-preview-conj {
  text-align: center;
  font-weight: 700;
  color: var(--orange);
  padding: 0.15rem 0;
  font-size: 0.88rem;
}

/* ---- Mode 4/5: Grid ---- */
.m4-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.m4-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.m4-grid-cell {
  padding: 0.7rem 0.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  word-break: break-word;
}
.m4-grid-cell.subject { background: var(--primary-light); color: var(--primary-dark); }
.m4-grid-cell.verb { background: #fef3c7; color: #92400e; }
.m4-grid-cell.word { background: var(--accent-light); color: #065f46; }
.m4-grid-conj {
  grid-column: 1 / -1;
  text-align: center;
  padding: 0.3rem;
  font-weight: 800;
  color: var(--orange);
  background: var(--orange-light);
  border: 1px solid var(--border);
  font-size: 0.92rem;
}
.m4-full-sentence {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 0.4rem;
  word-break: break-word;
  line-height: 1.5;
}
.m4-full-translation {
  font-size: 1.05rem;
  color: var(--text);
  text-align: center;
  margin-bottom: 0.5rem;
}

/* ---- Checkbox Styling ---- */
input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* ---- Footer ---- */
.app-footer {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .mode-selector,
  .mode-selector-5 {
    grid-template-columns: 1fr 1fr;
  }
  .mode-selector-5 .mode-btn:nth-child(1),
  .mode-selector-5 .mode-btn:nth-child(2),
  .mode-selector-5 .mode-btn:nth-child(3),
  .mode-selector-5 .mode-btn:nth-child(4),
  .mode-selector-5 .mode-btn:nth-child(5) {
    grid-column: auto;
  }
  .app-header h1 { font-size: 1.8rem; }
}

@media (max-width: 520px) {
  .mode-selector,
  .mode-selector-5 {
    grid-template-columns: 1fr;
  }
  .container { padding: 1rem; }
  .combo-list { grid-template-columns: 1fr; }
  .player-sentence, .m3-result-sentence { font-size: 1.3rem; }
  .quiz-sentence { font-size: 1.1rem; padding: 1rem; }
  .quiz-blank { font-size: 1.3rem; }
  .m4-full-sentence { font-size: 1.1rem; }
  .scoreboard .score-num { font-size: 1.5rem; }
  .grammar-modes { gap: 0.4rem; }
  .grammar-btn { padding: 0.6rem 0.8rem; font-size: 0.9rem; min-width: 70px; }
  .m4-grid-cell { padding: 0.5rem 0.3rem; font-size: 0.82rem; }
  .subject-verb-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .subject-select-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}

/* ---- Print ---- */
@media print {
  .app-header { background: none; color: var(--text); box-shadow: none; }
  .app-header h1 { color: var(--text); text-shadow: none; }
  .mode-selector, .player-controls, .player-nav, .btn { display: none !important; }
}
