:root {
  color-scheme: dark;
  --bg: #101014;
  --panel: #19191f;
  --panel2: #202027;
  --line: #2b2a34;
  --text: #f3f1f8;
  --muted: #898795;
  --purple: #9870ff;
  --purple2: #7044dc;
  --radius: 18px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
.app { max-width: 720px; margin: auto; min-height: 100vh; padding: 0 18px; }
.topbar {
  height: 76px; display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-icon {
  width: 39px; height: 39px; border-radius: 12px;
  display: grid; place-items: center; font-size: 23px; font-weight: 900;
  background: linear-gradient(145deg, #a27aff, #6036c4);
  box-shadow: 0 5px 22px #7950d544;
}
.brand-name { font-size: 17px; font-weight: 850; letter-spacing: 1.4px; }
.brand-name span, .footer-mark span { color: var(--purple); }
.brand-subtitle { font-size: 9px; color: var(--muted); letter-spacing: 2px; margin-top: 3px; }
.status { color: var(--muted); font-size: 11px; display: flex; align-items: center; gap: 7px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #e4a64d; }
.status.saved i { background: #55d69a; }
.status.error i { background: #ff626f; }
.intro { padding: 36px 2px 29px; }
.eyebrow, .section-heading {
  color: var(--purple); font-size: 10px; font-weight: 750; letter-spacing: 1.7px;
}
h1 { font-size: clamp(36px, 9vw, 53px); line-height: .99; letter-spacing: -2px; margin: 14px 0; }
h1 span { color: var(--purple); }
.intro p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }
.section-heading { display: flex; justify-content: space-between; color: var(--muted); margin: 0 2px 13px; }
.tabs {
  display: flex; gap: 7px; overflow-x: auto; padding: 0 0 15px;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; border: 1px solid var(--line); border-radius: 11px;
  background: var(--panel); color: var(--muted); padding: 11px 14px;
  font-size: 12px; font-weight: 650;
}
.tab.active { color: white; border-color: #7653c8; background: #302344; }
.filters { display: grid; gap: 12px; padding-bottom: 30px; }
.filter-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 17px;
}
.filter-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.filter-title { font-size: 14px; font-weight: 720; }
.filter-hint { color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 6px; }
.switch {
  flex: 0 0 auto; width: 43px; height: 25px; border: 0; border-radius: 20px;
  padding: 3px; background: #393842; transition: .2s;
}
.switch::after {
  content: ""; display: block; width: 19px; height: 19px; border-radius: 50%;
  background: #aaa8b4; transition: .2s;
}
.switch.on { background: var(--purple2); }
.switch.on::after { transform: translateX(18px); background: white; }
.params { margin-top: 17px; display: grid; gap: 17px; }
.param-top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.param-label { font-size: 12px; color: #d7d4df; }
.param-value { font-size: 12px; color: var(--purple); font-weight: 750; font-variant-numeric: tabular-nums; }
input[type=range] {
  display: block; width: 100%; height: 4px; margin: 0;
  accent-color: var(--purple); cursor: pointer;
}
.param-hint { color: #777582; font-size: 10px; line-height: 1.4; margin-top: 7px; }
.empty { padding: 28px 15px; color: var(--muted); text-align: center; font-size: 13px; }
.banner-note {
  padding: 14px; border: 1px dashed #51416f; border-radius: 13px;
  color: #b7a4e7; font-size: 11px; line-height: 1.6; margin-top: 12px;
}
footer { border-top: 1px solid var(--line); padding: 20px 2px 30px; color: var(--muted); font-size: 10px; }
.footer-mark { font-weight: 850; letter-spacing: 1.5px; color: white; margin-bottom: 6px; }
.loading { padding: 30px; text-align: center; color: var(--muted); }
@media (min-width: 600px) {
  .app { padding: 0 28px; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro { padding-top: 48px; }
}
