/* Sleep — daily sleep tracker with circular 24h clock visualization
 * Palette: indigo-night + silver-moonlight + dream-pink
 * © אופיר ברנס (Ofir Baranes) 2026 - כל הזכויות שמורות
 */

* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --bg-1: #0a0612;
  --bg-2: #110a26;
  --bg-3: #1a1240;
  --ind-100: #eef2ff;
  --ind-200: #e0e7ff;
  --ind-300: #c7d2fe;
  --ind-400: #a5b4fc;
  --ind-500: #818cf8;
  --ind-600: #6366f1;
  --ind-700: #4f46e5;
  --ind-800: #312e81;
  --lav-300: #ddd6fe;
  --lav-400: #c4b5fd;
  --lav-500: #a78bfa;
  --silv-100: #f1f5f9;
  --silv-200: #e2e8f0;
  --silv-300: #cbd5e1;
  --silv-400: #94a3b8;
  --pink-300: #fda4af;
  --pink-400: #fb7185;
  --cream: #fef9c3;
  --green: #86efac;
  --rose: #f43f5e;
  --text-primary: #eef2ff;
  --text-secondary: rgba(238,242,255,0.7);
  --text-muted: rgba(238,242,255,0.42);
  --surface: rgba(238,242,255,0.05);
  --surface-strong: rgba(238,242,255,0.09);
  --surface-input: rgba(10,6,18,0.5);
  --border: rgba(165,180,252,0.14);
  --border-strong: rgba(165,180,252,0.26);
  --shadow-glass: 0 30px 60px -25px rgba(5,3,12,0.85);
  --shadow-glow: 0 0 40px rgba(165,180,252,0.20);
  --bezier: cubic-bezier(.34,1.56,.64,1);
  --bezier-soft: cubic-bezier(.4,0,.2,1);
}

html, body {
  background: var(--bg-1);
  color: var(--text-primary);
  font-family: 'Heebo', system-ui, sans-serif;
  font-weight: 400;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(ellipse 700px 800px at 80% -10%, rgba(99,102,241,0.20), transparent 60%),
    radial-gradient(ellipse 500px 600px at -10% 60%, rgba(253,164,175,0.10), transparent 65%),
    radial-gradient(ellipse 800px 1000px at 50% 110%, rgba(49,46,129,0.30), transparent 70%),
    linear-gradient(180deg, #0a0612 0%, #0f0a22 60%, #15103a 110%);
  background-attachment: fixed;
  position: relative;
  padding-bottom: 84px;
  font-feature-settings: 'tnum' 0;
}

.mono { font-family: 'IBM Plex Mono', monospace; font-variant-numeric: tabular-nums; }

/* ===== Ambient layer ===== */
.ambient-bg {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.40;
}
.orb-blur.o1 { width: 440px; height: 440px; top: -130px; right: -120px; background: radial-gradient(circle, #6366f1 0%, transparent 70%); animation: drift1 28s ease-in-out infinite; }
.orb-blur.o2 { width: 340px; height: 340px; bottom: 5%; left: -100px; background: radial-gradient(circle, #fda4af 0%, transparent 70%); opacity: 0.22; animation: drift2 34s ease-in-out infinite; }
.orb-blur.o3 { width: 280px; height: 280px; top: 38%; right: 28%; background: radial-gradient(circle, #c4b5fd 0%, transparent 70%); opacity: 0.22; animation: drift3 40s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,40px) scale(1.1); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.08); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-25px,-35px) scale(1.12); } }

/* Stars */
.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}
.star {
  position: absolute;
  background: var(--cream);
  border-radius: 50%;
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

/* ===== Topbar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  padding-top: max(14px, env(safe-area-inset-top));
  background: linear-gradient(180deg, rgba(10,6,18,0.9) 0%, rgba(10,6,18,0.55) 100%);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ind-100);
  letter-spacing: -0.01em;
}
.mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #a5b4fc, #c4b5fd 60%, #fda4af);
  color: var(--bg-1);
  box-shadow: 0 0 22px rgba(165,180,252,0.55);
}
.mark svg { width: 18px; height: 18px; }
.header-actions { display: flex; gap: 8px; }
.icon-btn, .install-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  border-radius: 12px;
  padding: 7px 12px;
  cursor: pointer;
  transition: all 0.2s var(--bezier-soft);
  backdrop-filter: blur(10px);
}
.icon-btn { padding: 7px 9px; font-size: 16px; }
.icon-btn:hover, .install-btn:hover {
  background: var(--surface-strong);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.install-btn {
  background: linear-gradient(135deg, var(--ind-400), var(--pink-300));
  border: none;
  color: var(--bg-1);
  font-weight: 700;
}

main {
  position: relative;
  z-index: 1;
  padding: 22px 18px;
  max-width: 720px;
  margin: 0 auto;
}
.hidden { display: none !important; }

/* ===== Hero card ===== */
.hero-card {
  background: linear-gradient(135deg, rgba(99,102,241,0.18) 0%, rgba(253,164,175,0.10) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 20px 22px;
  margin-bottom: 22px;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content:'';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,181,253,0.30) 0%, transparent 65%);
  pointer-events: none;
}
.hc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  position: relative;
}
.hc-kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ind-300);
}
.hc-emoji { font-size: 28px; line-height: 1; }
.hc-title {
  font-family: 'Frank Ruhl Libre', 'Heebo', serif;
  font-size: clamp(26px, 6vw, 34px);
  font-weight: 700;
  color: var(--ind-100);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 6px;
}
.hc-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.hc-sub .mono { color: var(--ind-200); font-weight: 500; }
.hc-cta {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--ind-500), var(--ind-700));
  color: white;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(99,102,241,0.40);
  transition: all 0.25s var(--bezier);
}
.hc-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(99,102,241,0.55); }

.hc-meta {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
  font-size: 12px;
}
.hc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
}
.hc-meta-item .mono { color: var(--ind-200); font-weight: 500; }

/* ===== Clock section ===== */
.clock-section {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  padding: 6px;
}
.clock-stage {
  position: relative;
  width: min(86vw, 320px);
  aspect-ratio: 1;
  filter: drop-shadow(0 18px 36px rgba(99,102,241,0.30));
}
.clock-stage svg {
  width: 100%;
  height: 100%;
}
.clock-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  text-align: center;
}
.cc-duration {
  font-size: clamp(38px, 9vw, 50px);
  font-weight: 600;
  color: var(--ind-100);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 2px 18px rgba(165,180,252,0.40);
}
.cc-label {
  font-size: 12px;
  color: var(--ind-300);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
}
.cc-cycles {
  margin-top: 6px;
  font-size: 11px;
  color: var(--pink-300);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
}

/* ===== Stats row ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.stat {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 8px;
  text-align: center;
  transition: all 0.3s var(--bezier-soft);
}
.stat:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.stat-num {
  font-size: 26px;
  font-weight: 600;
  color: var(--ind-100);
  margin-bottom: 4px;
  line-height: 1;
}
.stat-num.accent {
  background: linear-gradient(135deg, var(--ind-300), var(--pink-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== Chart card ===== */
.chart-card {
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow-glass);
  margin-bottom: 22px;
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}
.chart-title {
  font-family: 'Frank Ruhl Libre', 'Heebo', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ind-100);
  letter-spacing: -0.015em;
}
.chart-meta {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.chart-wrap {
  position: relative;
}
#weekSvg {
  width: 100%;
  height: 160px;
  overflow: visible;
}
.chart-x-labels {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}
.chart-x-labels span.today {
  color: var(--ind-300);
  font-weight: 600;
}

/* SVG bar styles */
.bar-rect { fill: url(#barGrad); transition: opacity 0.3s; }
.bar-rect.empty { fill: rgba(165,180,252,0.10); }
.bar-rect:hover { opacity: 0.85; }
.bar-target-line {
  stroke: var(--pink-300);
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
  opacity: 0.55;
}

/* ===== Suggestion card ===== */
.suggestion-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(196,181,253,0.14) 0%, rgba(253,164,175,0.08) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 16px 18px;
  margin-bottom: 22px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.sg-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ind-500), var(--lav-500));
  border-radius: 14px;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(99,102,241,0.35);
}
.sg-body { flex: 1; min-width: 0; }
.sg-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ind-300);
  margin-bottom: 4px;
}
.sg-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.4;
  font-weight: 500;
}
.sg-text .mono { color: var(--pink-300); font-weight: 600; }

/* ===== FAB ===== */
.fab {
  position: fixed;
  bottom: max(22px, env(safe-area-inset-bottom));
  left: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ind-500), var(--lav-500) 70%, var(--pink-300));
  border: none;
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(99,102,241,0.50), 0 0 24px rgba(165,180,252,0.30);
  transition: all 0.3s var(--bezier);
  z-index: 90;
}
.fab svg { width: 24px; height: 24px; }
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab:active { transform: translateY(0) scale(0.96); }

/* ===== Modal ===== */
.modal {
  position: fixed; inset: 0;
  background: rgba(5,3,12,0.72);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: modal-fade 0.25s var(--bezier-soft);
}
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  width: 100%;
  max-width: 540px;
  background: linear-gradient(180deg, #1a1240 0%, #0f0a22 100%);
  border: 1px solid var(--border-strong);
  border-bottom: none;
  border-radius: 28px 28px 0 0;
  padding: 20px 22px 32px;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  animation: modal-slide 0.4s var(--bezier);
  max-height: 92vh;
  overflow-y: auto;
}
@keyframes modal-slide {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.handle {
  width: 38px; height: 4px;
  background: var(--border-strong);
  border-radius: 4px;
  margin: 0 auto 16px;
}
.modal-card h3 {
  font-family: 'Frank Ruhl Libre', 'Heebo', serif;
  color: var(--ind-100);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.modal-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.mark-big {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ind-400), var(--lav-400) 60%, var(--pink-300));
  border-radius: 18px;
  color: var(--bg-1);
  margin: 4px auto 14px;
  box-shadow: 0 0 30px rgba(165,180,252,0.40);
}
.mark-big svg { width: 32px; height: 32px; }

/* Form */
.form-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ind-300);
  margin: 4px 0 8px;
  padding-right: 4px;
}
.modal-input {
  width: 100%;
  padding: 13px 16px;
  background: var(--surface-input);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--ind-100);
  font-family: 'Heebo', sans-serif;
  font-size: 15px;
  margin-bottom: 12px;
  transition: all 0.2s;
  text-align: right;
  direction: rtl;
}
.modal-input.mono { font-family: 'IBM Plex Mono', monospace; font-variant-numeric: tabular-nums; }
.modal-input:focus {
  outline: none;
  border-color: var(--ind-400);
  background: rgba(10,6,18,0.7);
  box-shadow: 0 0 0 3px rgba(165,180,252,0.12);
}
.modal-input::placeholder { color: var(--text-muted); }
input[type="time"], input[type="date"] {
  color-scheme: dark;
}

/* Date toggle */
.date-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.dt-btn {
  padding: 9px 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--bezier-soft);
}
.dt-btn:hover { background: var(--surface-strong); color: var(--ind-100); }
.dt-btn.active {
  background: linear-gradient(135deg, var(--ind-500), var(--ind-700));
  border-color: transparent;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35);
}

/* Form row */
.form-row.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}
.form-col .form-label {
  margin-top: 0;
}

/* Duration preview */
.duration-preview {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(165,180,252,0.10), rgba(253,164,175,0.06));
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  margin: 6px 0 18px;
  flex-wrap: wrap;
}
.dp-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ind-300);
}
.dp-value {
  font-size: 24px;
  font-weight: 600;
  color: var(--ind-100);
  letter-spacing: -0.02em;
}
.dp-cycles {
  font-size: 12px;
  color: var(--pink-300);
  font-weight: 500;
}

/* Quality picker */
.quality-picker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
.qp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 4px 9px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s var(--bezier);
  font-family: inherit;
  color: var(--text-secondary);
}
.qp-emoji { font-size: 22px; line-height: 1; }
.qp span:not(.qp-emoji) {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.qp:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.qp.active {
  border-color: var(--ind-400);
  background: color-mix(in srgb, var(--ind-400) 16%, transparent);
  color: var(--ind-100);
  box-shadow: 0 8px 20px rgba(165,180,252,0.25);
}
.qp.active .qp-emoji { transform: scale(1.15); }

/* Modal actions */
.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  align-items: stretch;
}
.btn-primary, .btn-secondary, .btn-mini {
  padding: 13px 18px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--bezier);
  border: none;
}
.btn-primary {
  flex: 1;
  background: linear-gradient(135deg, var(--ind-500), var(--ind-700));
  color: white;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(99,102,241,0.40);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(99,102,241,0.55); }
.btn-secondary {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ind-100);
}
.btn-secondary:hover { background: var(--surface-strong); }
.btn-mini {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 500;
}
.btn-mini:hover { background: var(--surface-strong); color: var(--ind-100); }
.btn-mini.danger {
  color: var(--pink-300);
  border-color: rgba(253,164,175,0.30);
}
.btn-mini.danger:hover { background: rgba(244,63,94,0.10); color: var(--rose); }

/* ===== History modal ===== */
.hist-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.hs-item {
  text-align: center;
  padding: 14px 6px;
  background: rgba(238,242,255,0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.hs-num {
  font-size: 20px;
  font-weight: 600;
  color: var(--ind-300);
}
.hs-label {
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.hist-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 50vh;
  overflow-y: auto;
}
.hist-list::-webkit-scrollbar { width: 4px; }
.hist-list::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }

.hist-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(238,242,255,0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.hist-row:hover { background: rgba(238,242,255,0.08); border-color: var(--border-strong); }

.hist-q {
  font-size: 22px;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}
.hist-body { flex: 1; min-width: 0; }
.hist-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--ind-200);
  margin-bottom: 2px;
}
.hist-times {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'IBM Plex Mono', monospace;
}
.hist-dur {
  text-align: left;
  font-family: 'IBM Plex Mono', monospace;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 600;
  color: var(--ind-100);
  flex-shrink: 0;
}
.hist-dur small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--pink-300);
  margin-top: 2px;
}

.hist-empty {
  text-align: center;
  padding: 30px 18px;
  color: var(--text-muted);
  font-size: 13px;
}

/* About modal text */
#aboutModal p { font-size: 14px; line-height: 1.7; }
#aboutModal strong { color: var(--ind-200); font-weight: 700; }

/* Responsive */
@media (max-width: 380px) {
  main { padding: 18px 14px; }
  .hero-card { padding: 16px 18px; }
  .stat { padding: 14px 6px; }
  .stat-num { font-size: 22px; }
  .quality-picker { gap: 4px; }
  .qp { padding: 10px 2px 7px; }
  .qp-emoji { font-size: 20px; }
}
