/* ELEKTRONIKA BIBLE - CYBER-ELECTRONICS DESIGN SYSTEM */
:root {
  --bg-dark: #0a0e17;
  --bg-card: #111827;
  --bg-card-hover: #1f2937;
  --border-color: #374151;
  --border-focus: #00e5ff;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --cyan-glow: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.15);
  --green-success: #00e676;
  --green-glow: rgba(0, 230, 118, 0.2);
  --red-danger: #ff1744;
  --red-glow: rgba(255, 23, 68, 0.2);
  --amber-warning: #ffab00;
  --amber-glow: rgba(255, 171, 0, 0.2);
  --purple-accent: #b388ff;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition-fast: 0.2s ease;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HLAVIČKA */
.app-header {
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  font-size: 32px;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-glow);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.logo-text h1 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
}

.logo-text .subtitle {
  font-size: 12px;
  color: var(--cyan-glow);
  font-weight: 500;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gamification-badge {
  background: #1e293b;
  border: 1px solid #475569;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-rank {
  background: var(--cyan-glow);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  margin-left: 4px;
}

.streak-badge {
  background: rgba(255, 171, 0, 0.15);
  border: 1px solid var(--amber-warning);
  color: var(--amber-warning);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sound-toggle-btn {
  background: #1f2937;
  border: 1px solid var(--border-color);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sound-toggle-btn:hover {
  background: var(--border-color);
  border-color: var(--cyan-glow);
}

/* NAVIGACE */
.main-nav {
  display: flex;
  background: #111827;
  border-bottom: 1px solid var(--border-color);
  padding: 0 28px;
  gap: 8px;
  overflow-x: auto;
}

.nav-tab {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.nav-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.nav-tab.active {
  color: var(--cyan-glow);
  border-bottom-color: var(--cyan-glow);
  background: var(--cyan-dim);
}

.badge-count {
  background: var(--red-danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

/* HLAVNÍ OBSAH */
.app-content {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 24px auto;
  padding: 0 20px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.25s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* KARTY */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  margin-bottom: 24px;
}

.card-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.card-header p {
  color: var(--text-muted);
  font-size: 14px;
}

/* FORMULÁŘOVÉ PRVKY */
.setup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan-glow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  background: #0d1117;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 10px var(--cyan-dim);
}

.count-selector-group {
  display: flex;
  gap: 10px;
}

.hidden {
  display: none !important;
}

/* TLAČÍTKA */
.btn {
  background: #1f2937;
  color: #fff;
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:hover {
  background: var(--border-color);
}

.btn-primary {
  background: #0284c7;
  border-color: var(--cyan-glow);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

.btn-primary:hover {
  background: #0ea5e9;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.btn-secondary {
  background: #374151;
  border-color: #4b5563;
}

.btn-outline-danger {
  background: transparent;
  border-color: var(--red-danger);
  color: var(--red-danger);
}

.btn-outline-danger:hover {
  background: var(--red-glow);
}

.btn-large {
  font-size: 16px;
  padding: 14px 32px;
}

.btn-block {
  width: 100%;
}

.setup-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

/* TESTOVACÍ KARTA */
.quiz-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 20px;
}

.progress-info {
  flex: 1;
}

.progress-info span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.progress-bar-container {
  height: 8px;
  background: #1e293b;
  border-radius: 4px;
  margin-top: 6px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0284c7, var(--cyan-glow));
  transition: width 0.3s ease;
}

.quiz-meta-badges {
  display: flex;
  gap: 10px;
}

.badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
}

.badge-difficulty {
  background: rgba(179, 136, 255, 0.15);
  color: var(--purple-accent);
  border: 1px solid var(--purple-accent);
}

.badge-chapter {
  background: var(--cyan-dim);
  color: var(--cyan-glow);
  border: 1px solid var(--cyan-glow);
}

.badge-timer {
  background: var(--amber-glow);
  color: var(--amber-warning);
  border: 1px solid var(--amber-warning);
}

.question-container {
  background: #0d1117;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 24px;
}

.question-text {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}

/* MOŽNOSTI ODPOVĚDÍ */
.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.option-btn {
  background: #1f2937;
  border: 2px solid #374151;
  color: var(--text-main);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition-fast);
}

.option-btn:hover:not(:disabled) {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  transform: translateX(4px);
}

.option-btn .letter-badge {
  background: #374151;
  color: #fff;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

/* Stavy voleb */
.option-btn.selected-correct {
  background: rgba(0, 230, 118, 0.15);
  border-color: var(--green-success);
  color: #fff;
}
.option-btn.selected-correct .letter-badge {
  background: var(--green-success);
  color: #000;
}

.option-btn.selected-wrong {
  background: rgba(255, 23, 68, 0.15);
  border-color: var(--red-danger);
  color: #fff;
  animation: shake 0.4s ease;
}
.option-btn.selected-wrong .letter-badge {
  background: var(--red-danger);
  color: #fff;
}

.option-btn.reveal-correct {
  border-color: var(--green-success);
  background: rgba(0, 230, 118, 0.08);
}
.option-btn.reveal-correct .letter-badge {
  background: var(--green-success);
  color: #000;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* ŠKOLA HROU: VYSVĚTLOVACÍ PANEL */
.explanation-box {
  background: #0d1117;
  border: 1px solid var(--border-color);
  border-left: 6px solid var(--cyan-glow);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 20px;
  animation: fadeIn 0.3s ease;
}

.explanation-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.explanation-header h3 {
  font-size: 18px;
  color: #fff;
}

.explanation-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14.5px;
}

.explanation-correct-box {
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 14px;
  border-radius: var(--radius-md);
}

.explanation-wrong-box {
  background: rgba(255, 171, 0, 0.08);
  border: 1px solid rgba(255, 171, 0, 0.3);
  padding: 14px;
  border-radius: var(--radius-md);
}

.explanation-formula-box,
.explanation-mnemonic-box {
  background: #1e293b;
  border: 1px solid #334155;
  padding: 12px 14px;
  border-radius: var(--radius-md);
}

.explanation-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

/* ZÁVĚREČNÉ VYHODNOCENÍ */
.result-header {
  text-align: center;
  margin-bottom: 28px;
}

.result-trophy {
  font-size: 54px;
  margin-bottom: 12px;
}

.result-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.stat-box {
  background: #0d1117;
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--cyan-glow);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 380px;
  overflow-y: auto;
  margin-top: 14px;
}

.review-item {
  background: #1f2937;
  border: 1px solid var(--border-color);
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
}

.review-item.wrong {
  border-left: 4px solid var(--red-danger);
}

.review-item.correct {
  border-left: 4px solid var(--green-success);
}

.result-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 30px;
}

/* ENCYKLOPEDIE (BIBLE) */
.bible-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.search-box {
  flex: 1;
  min-width: 280px;
  max-width: 450px;
}

.chapter-nav-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.chip {
  background: #1f2937;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.chip:hover {
  background: #374151;
  color: #fff;
}

.chip.active {
  background: var(--cyan-glow);
  color: #000;
  border-color: var(--cyan-glow);
  font-weight: 700;
}

.subtopic-card {
  background: #0d1117;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 18px;
}

.subtopic-card h3 {
  color: var(--cyan-glow);
  font-size: 18px;
  margin-bottom: 8px;
}

.subtopic-summary {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.definition-item {
  background: #161f2e;
  border-left: 3px solid var(--purple-accent);
  padding: 10px 14px;
  margin: 10px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.definition-term {
  font-weight: 700;
  color: #fff;
}

.definition-formula {
  margin-top: 6px;
  color: var(--cyan-glow);
  font-size: 15px;
}

/* KALKULAČKY */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.calc-card h3 {
  font-size: 18px;
  color: #fff;
}

.calc-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.input-unit-row {
  display: flex;
  gap: 8px;
}

.unit-select {
  background: #1f2937;
  border: 1px solid var(--border-color);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 0 10px;
  font-weight: 600;
}

.calc-result {
  background: #0d1117;
  border: 1px solid var(--cyan-glow);
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-top: 10px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.calc-wide {
  grid-column: 1 / -1;
}

/* VIZUALIZACE BAREVNÉHO KÓDU */
.resistor-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.resistor-wire {
  height: 6px;
  width: 50px;
  background: #94a3b8;
}

.resistor-body {
  width: 240px;
  height: 64px;
  background: #e2e8f0;
  border-radius: 32px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: relative;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.4);
}

.resistor-band {
  width: 14px;
  height: 64px;
  border-radius: 2px;
}

.bands-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.resistor-readout {
  background: #0d1117;
  border: 1px solid var(--cyan-glow);
  padding: 14px;
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 18px;
  color: #fff;
}

/* MATURITNÍ TAHÁK */
.cheat-sheet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.cheat-box {
  background: #0d1117;
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius-md);
}

.cheat-box h3 {
  font-size: 16px;
  color: var(--cyan-glow);
  margin-bottom: 12px;
  border-bottom: 1px solid #1f2937;
  padding-bottom: 6px;
}

.cheat-box ul {
  list-style: none;
  font-size: 13.5px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cheat-box li strong {
  color: #fff;
}

/* PATA */
.app-footer {
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
  background: #111827;
}

/* RESPONZIVITA A MOBILNÍ OPTIMALIZACE */
.katex-display {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 0;
  -webkit-overflow-scrolling: touch;
}

.main-nav {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar {
  display: none;
}

.option-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  min-height: 52px;
}

.resistor-visual {
  max-width: 100%;
  overflow-x: auto;
  padding: 10px 0;
}

@media (max-width: 768px) {
  .app-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 16px;
  }
  .header-left {
    justify-content: flex-start;
  }
  .header-right {
    width: 100%;
    justify-content: space-between;
  }
  .main-nav {
    padding: 0 12px;
  }
  .nav-tab {
    padding: 12px 14px;
    font-size: 13.5px;
  }
  .app-content {
    padding: 0 10px;
    margin: 12px auto;
  }
  .card {
    padding: 16px;
    border-radius: var(--radius-md);
  }
  .question-container {
    padding: 16px;
  }
  .question-text {
    font-size: 16px;
  }
  .quiz-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .quiz-meta-badges {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .explanation-box {
    padding: 16px;
  }
  .explanation-actions button {
    width: 100%;
  }
  .result-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .result-actions {
    flex-direction: column;
  }
  .result-actions button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  .logo-text h1 {
    font-size: 17px;
  }
  .logo-text .subtitle {
    font-size: 11px;
  }
  .option-btn {
    padding: 12px 14px;
    font-size: 14px;
  }
  .stat-number {
    font-size: 26px;
  }
  .resistor-body {
    width: 200px;
    height: 52px;
  }
  .resistor-band {
    width: 11px;
    height: 52px;
  }
}


/* ==================== RYCHLOVKA ==================== */
.qq-wrap { max-width: 640px; margin: 0 auto; padding: 8px; display: flex; flex-direction: column; gap: 14px; }
.qq-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.qq-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.qq-progress { color: var(--text-muted); font-weight: 600; }
.qq-question { font-size: 1.25rem; line-height: 1.4; font-weight: 600; padding: 6px 2px; }
.qq-options { display: flex; flex-direction: column; gap: 10px; }
.qq-opt { display: flex; gap: 12px; align-items: center; text-align: left; width: 100%; min-height: 56px; padding: 12px 14px; font-size: 1.05rem; color: var(--text-main); background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); cursor: pointer; }
.qq-opt b { color: var(--cyan-glow); min-width: 1.2em; }
.qq-opt.ok { border-color: var(--green-success); background: var(--green-glow); }
.qq-opt.bad { border-color: var(--red-danger); background: var(--red-glow); }
.qq-hint { font-size: 1rem; color: var(--amber-warning); padding: 8px 4px; }
.qq-next { width: 100%; min-height: 54px; font-size: 1.1rem; font-weight: 700; color: #04121a; background: var(--cyan-glow); border: 0; border-radius: var(--radius-md); cursor: pointer; }
.qq-secondary { background: var(--bg-card-hover); color: var(--text-main); margin-top: 10px; }
.qq-result { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.qq-score { font-size: 2.2rem; font-weight: 800; padding: 24px 0; }
@media (max-width: 480px) { .app-header, .main-nav { position: static; } }

/* Přestávky v Rychlovce */
.qq-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); text-align: center; }
.qq-big { font-size: 3rem; }
.qq-card-title { font-weight: 700; color: var(--cyan-glow); }
.qq-card-text { font-size: 1.2rem; line-height: 1.4; }
.qq-small { color: var(--text-muted); font-size: .95rem; }
.qq-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 1.8rem; }
.qq-badge { filter: grayscale(1); opacity: .3; }
.qq-badge.on { filter: none; opacity: 1; }
.qq-pexeso { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.qq-pcard { min-height: 64px; font-size: 1rem; font-weight: 700; color: var(--text-main); background: var(--bg-card-hover); border: 1px solid var(--border-color); border-radius: var(--radius-md); cursor: pointer; }
.qq-pcard.up { border-color: var(--cyan-glow); background: var(--cyan-dim); }
.qq-pcard.done { border-color: var(--green-success); background: var(--green-glow); }
.qq-confetti { position: fixed; top: -40px; z-index: 9999; pointer-events: none; animation: qqFall linear forwards; }
@keyframes qqFall { to { transform: translateY(110vh) rotate(360deg); } }
.qq-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 9999; padding: 12px 18px; background: var(--bg-card); border: 1px solid var(--amber-warning); border-radius: var(--radius-md); font-weight: 700; }
.qq-question, .qq-hint { white-space: pre-line; }
.pf-overlay { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.7); }
.pf-dialog { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); }
.pf-dialog h3 { margin: 0; }
.pf-dialog p { margin: 0; color: var(--text-muted); }
.pf-code { font-size: 1.5rem; font-weight: 800; letter-spacing: .05em; text-align: center; padding: 12px; color: var(--cyan-glow); background: var(--cyan-dim); border-radius: var(--radius-md); user-select: all; }
.pf-msg { min-height: 1.2em; text-align: center; color: var(--amber-warning); }
