:root {
  --bg: #0b0c10;
  --panel: #13151c;
  --panel-2: #1a1d26;
  --panel-3: #222633;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ece9e2;
  --muted: #9aa0ad;
  --muted-2: #737a88;
  --accent: #d8a657;
  --accent-soft: rgba(216, 166, 87, 0.16);
  --ok: #74cf9a;
  --danger: #e08a8a;
  --radius: 14px;
  --shadow: 0 22px 55px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

#app {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

/* ---------- stage ---------- */

.stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, #151823 0%, #0b0c10 55%, #08090d 100%);
  touch-action: pan-y;
}

.stage.fit-width {
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.page-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.stage.fit-width .page-layer {
  position: relative;
  inset: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100%;
  padding: 18px 18px calc(110px + env(safe-area-inset-bottom));
}

.page-layer.spread {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.stage.fit-width .page-layer.spread {
  align-items: flex-start;
}

.page-layer canvas {
  display: block;
  border-radius: 3px;
  background: #fff;
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.page-layer.enter-right {
  opacity: 0;
  transform: translateX(46px);
}

.page-layer.enter-left {
  opacity: 0;
  transform: translateX(-46px);
}

.page-layer.settle {
  opacity: 1;
  transform: none;
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.18s ease;
}

.page-layer.exit-left {
  opacity: 0;
  transform: translateX(-38px);
  transition:
    transform 0.24s ease,
    opacity 0.18s ease;
}

.page-layer.exit-right {
  opacity: 0;
  transform: translateX(38px);
  transition:
    transform 0.24s ease,
    opacity 0.18s ease;
}

.page-layer.fade-out {
  opacity: 0;
  transition: opacity 0.16s ease;
}

/* ---------- chrome ---------- */

.chrome {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 20;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.topbar {
  top: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding:
    calc(10px + env(safe-area-inset-top))
    calc(14px + env(safe-area-inset-right))
    26px
    calc(14px + env(safe-area-inset-left));
  background: none;
}

.bottombar {
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding:
    26px
    calc(16px + env(safe-area-inset-right))
    calc(12px + env(safe-area-inset-bottom))
    calc(16px + env(safe-area-inset-left));
  background: none;
}

.chrome.hidden {
  opacity: 0;
  pointer-events: none;
}

.topbar.hidden {
  transform: translateY(-14px);
}

.bottombar.hidden {
  transform: translateY(14px);
}

.doc-title {
  min-width: 0;
  max-width: 100%;
  justify-self: center;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(18, 20, 27, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(18, 20, 27, 0.82);
  color: var(--text);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.icon-btn svg {
  width: 22px;
  height: 22px;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line);
  outline: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(20, 22, 29, 0.72);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
}

.pill:hover {
  background: var(--panel-3);
  color: var(--text);
}

.pill:disabled {
  opacity: 0.6;
  cursor: default;
}

.pill[hidden] {
  display: none;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted-2);
}

.pill.live .pill-dot {
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(116, 207, 154, 0.14);
}

.pill.warn .pill-dot {
  background: var(--accent);
}

.nav-btn {
  flex: none;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(22, 25, 33, 0.82);
  color: var(--text);
  transition:
    background 0.15s ease,
    transform 0.1s ease;
}

.nav-btn svg {
  width: 26px;
  height: 26px;
}

.nav-btn:hover {
  background: var(--panel-3);
}

.nav-btn:active {
  transform: scale(0.96);
}

.page-ctl {
  flex: 0 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 16px 4px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(18, 20, 27, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.page-readout {
  border: 0;
  background: transparent;
  padding: 2px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.page-readout:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.page-readout .slash {
  margin: 0 6px;
  color: var(--muted-2);
}

.page-slider {
  width: min(560px, 100%);
  accent-color: var(--accent);
  height: 26px;
}

.page-slider:disabled {
  opacity: 0.35;
}

.nav-btn:disabled {
  opacity: 0.32;
  cursor: default;
  transform: none;
}

.btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* ---------- empty state ---------- */

.empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 72px 20px;
  overflow-y: auto;
}

.empty[hidden] {
  display: none;
}

.empty-card {
  width: min(580px, 100%);
  padding: 34px 34px 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(90% 120% at 20% 0%, rgba(216, 166, 87, 0.09), transparent 60%),
    linear-gradient(180deg, rgba(26, 29, 38, 0.92), rgba(15, 17, 23, 0.96));
  box-shadow: var(--shadow);
}

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

.logo {
  flex: none;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: linear-gradient(160deg, #e9bd74, #b9853c);
  color: #191307;
  box-shadow: 0 10px 28px rgba(216, 166, 87, 0.22);
}

.logo svg {
  width: 32px;
  height: 32px;
}

h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.tagline {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.features {
  list-style: none;
  margin: 26px 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.features li {
  position: relative;
  padding-left: 26px;
  color: #c6c3bc;
  font-size: 14px;
}

.features li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.features strong {
  color: var(--text);
  font-weight: 600;
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--panel-3);
  color: var(--text);
  border-radius: 13px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 560;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.08s ease;
}

.btn:hover {
  background: #2b3040;
}

.btn:active {
  transform: scale(0.985);
}

.btn.primary {
  background: linear-gradient(160deg, #e4b76b, #c3903f);
  border-color: rgba(255, 255, 255, 0.18);
  color: #1c1408;
}

.btn.primary:hover {
  background: linear-gradient(160deg, #eec27a, #c99645);
}

.btn.quiet {
  background: transparent;
  color: #d6d2ca;
}

.btn.quiet:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn.small {
  padding: 9px 13px;
  font-size: 13.5px;
  border-radius: 11px;
}

.btn.danger {
  color: var(--danger);
  border-color: rgba(224, 138, 138, 0.28);
  background: rgba(224, 138, 138, 0.06);
}

.recents {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.recents[hidden] {
  display: none;
}

.recents h2 {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  font-weight: 600;
}

.recents ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.recent {
  display: flex;
  align-items: center;
  gap: 8px;
}

.recent-open {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  text-align: left;
}

.recent-open:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

.recent-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.recent-meta {
  flex: none;
  color: var(--muted-2);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.recent-remove {
  flex: none;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted-2);
  font-size: 18px;
  line-height: 1;
}

.recent-remove:hover {
  background: rgba(224, 138, 138, 0.12);
  color: var(--danger);
}

.fineprint {
  margin: 24px 0 0;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.55;
}

/* ---------- settings ---------- */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.scrim[hidden] {
  display: none;
}

.settings {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  width: min(432px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
  transform: translateX(102%);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.28s;
  visibility: hidden;
}

.settings.open {
  transform: none;
  visibility: visible;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.settings-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding:
    calc(12px + env(safe-area-inset-top))
    calc(18px + env(safe-area-inset-right))
    12px
    calc(22px + env(safe-area-inset-left));
  border-bottom: 1px solid var(--line);
}

.settings-head h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.settings-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding:
    6px
    calc(20px + env(safe-area-inset-right))
    calc(30px + env(safe-area-inset-bottom))
    calc(20px + env(safe-area-inset-left));
}

.group {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
}

.group:last-child {
  border-bottom: 0;
}

.group h3,
.group-head h3 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted-2);
}

.group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.status-text {
  font-size: 12px;
  color: var(--muted-2);
}

.status-text.live {
  color: var(--ok);
}

.status-text.warn {
  color: var(--accent);
}

.status-line {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--muted-2);
}

.status-line.warn {
  color: var(--accent);
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.switch-row {
  align-items: flex-start;
  cursor: pointer;
}

.row-title {
  display: block;
  font-size: 14.5px;
  color: var(--text);
}

.row-hint {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted-2);
}

.switch {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  position: relative;
  width: 46px;
  height: 28px;
  margin-top: 2px;
  border-radius: 999px;
  background: #2a2e3a;
  border: 1px solid var(--line);
  transition: background 0.18s ease;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8e5de;
  transition: transform 0.18s ease, background 0.18s ease;
}

.switch:checked {
  background: var(--accent);
  border-color: rgba(216, 166, 87, 0.6);
}

.switch:checked::after {
  transform: translateX(18px);
  background: #1b1409;
}

.switch:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.button-row {
  justify-content: flex-start;
  gap: 10px;
  padding-top: 4px;
}

.preview-wrap {
  position: relative;
  margin: 4px 0 12px;
  border-radius: 13px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}

.preview-wrap[hidden] {
  display: none;
}

.preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.preview-badge {
  position: absolute;
  left: 9px;
  bottom: 9px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(10, 11, 15, 0.72);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.meters {
  display: grid;
  gap: 11px;
  margin: 12px 0;
  padding: 14px;
  border-radius: 13px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.meter {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
}

.meter-name {
  font-size: 11.5px;
  color: var(--muted-2);
}

.meter-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.05) 25%,
      rgba(216, 166, 87, 0.22) 25%,
      rgba(216, 166, 87, 0.22) 75%,
      rgba(255, 255, 255, 0.05) 75%,
      rgba(255, 255, 255, 0.05) 100%
    );
  transition: background 0.2s ease;
}

.meter-center {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.meter-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #7d8492;
  transform: translate(-50%, -50%);
  transition: background 0.12s ease, box-shadow 0.12s ease;
}

.meter[data-state="pending"] .meter-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(216, 166, 87, 0.18);
}

.meter[data-state="held"] .meter-dot {
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(116, 207, 154, 0.18);
}

.meter-num {
  text-align: right;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  color: var(--muted-2);
}

.last-gesture {
  margin: 4px 0 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.mapping {
  margin: 8px 0 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
}

.mapping-head {
  display: flex;
  justify-content: space-between;
  padding: 9px 13px;
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.mapping-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 13px;
  font-size: 13.5px;
  color: #cfccc5;
}

.mapping-row + .mapping-row {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

select {
  appearance: none;
  -webkit-appearance: none;
  min-width: 132px;
  padding: 7px 30px 7px 11px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 16px)
      calc(50% + 1px) / 5px 5px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 11px)
      calc(50% + 1px) / 5px 5px no-repeat,
    var(--panel-2);
  color: var(--text);
  font-size: 13px;
}

select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.slider-row {
  display: grid;
  gap: 7px;
  padding: 11px 0;
}

.slider-row .row-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: #cfccc5;
}

output {
  color: var(--muted-2);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  height: 26px;
  margin: 0;
}

.segmented {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.segmented button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 11px;
  border-radius: 7px;
  font-size: 12.5px;
}

.segmented button[aria-pressed="true"] {
  background: var(--panel-3);
  color: var(--text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted-2);
}

.shortcuts {
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
}

.shortcuts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
}

.shortcuts dt {
  color: var(--muted);
}

.shortcuts dd {
  margin: 0;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

/* ---------- overlays ---------- */

.dim-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(112px + env(safe-area-inset-bottom));
  z-index: 50;
  max-width: min(88vw, 520px);
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(20, 22, 29, 0.96);
  color: var(--text);
  font-size: 13.5px;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.busy {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  background: rgba(11, 12, 16, 0.62);
  color: var(--muted);
  font-size: 13px;
}

.busy[hidden] {
  display: none;
}

.spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.drop-hint {
  position: fixed;
  inset: 14px;
  z-index: 45;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(216, 166, 87, 0.55);
  border-radius: 24px;
  background: rgba(11, 12, 16, 0.72);
  color: var(--text);
  font-size: 18px;
}

.drop-hint[hidden] {
  display: none;
}

.track-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- responsive ---------- */

@media (max-width: 620px) {
  .empty-card {
    padding: 26px 22px 22px;
    border-radius: 22px;
  }

  h1 {
    font-size: 26px;
  }

  .doc-title {
    display: none;
  }

  .bottombar {
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .nav-btn {
    width: 50px;
    height: 52px;
    border-radius: 15px;
  }

  .settings-body {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .empty {
    padding: 40px 20px;
  }

  .empty-card {
    padding: 20px 24px;
  }

  .features {
    margin: 16px 0;
    gap: 8px;
  }

  .fineprint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
