/* ═══════════════════════════════════════════════════════════
   Dividend Watcher · Surface UI (production)
   Tesla-inspired · dark / light via html[data-theme]
   Manrope linked in HTML — no @import here
   ═══════════════════════════════════════════════════════════ */

/* ── Theme tokens ───────────────────────────────────────── */
html[data-theme="dark"] {
  --bg: #000;
  --bg-elev: #111;
  --bg-soft: #171717;
  --fg: #fff;
  --mute: #8e8e8e;
  --soft: #b0b0b0;
  --line: rgba(255, 255, 255, 0.12);
  --nav-bg: rgba(0, 0, 0, 0.82);
  --hero-glow: rgba(62, 106, 225, 0.2);
  --ghost-btn: rgba(255, 255, 255, 0.12);
  --map-empty: #1a1a1a;
  --map-heat: #243056;
  --ping-bg: #141414;
  --ok: #12c48b;
  --wait: #f5a623;
  --err: #e85d5d;
  --blue: #3e6ae1;
  --shadow: none;
}

html[data-theme="light"] {
  --bg: #f4f4f4;
  --bg-elev: #ffffff;
  --bg-soft: #ececec;
  --fg: #171a20;
  --mute: #5c5e62;
  --soft: #393c41;
  --line: rgba(0, 0, 0, 0.1);
  --nav-bg: rgba(244, 244, 244, 0.88);
  --hero-glow: rgba(62, 106, 225, 0.12);
  --ghost-btn: rgba(0, 0, 0, 0.06);
  --map-empty: #e4e4e4;
  --map-heat: #c8d4f0;
  --ping-bg: #f0f0f0;
  --ok: #0f9d68;
  --wait: #c27803;
  --err: #c0392b;
  --blue: #3e6ae1;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* ── Base ───────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.45;
  font-size: 15px;
  transition: background 0.25s, color 0.25s;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

.mono {
  font-variant-numeric: tabular-nums;
}

.hidden,
[hidden] {
  display: none !important;
}

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.5rem;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--mute);
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-actions {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  border: 0;
  border-radius: 4px;
  padding: 0.58rem 1rem;
  font-weight: 600;
  font-size: 0.82rem;
  transition: opacity 0.15s, transform 0.15s, background 0.15s;
}

.btn:hover:not(:disabled) {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-ghost {
  background: var(--ghost-btn);
  color: var(--fg);
}

.btn-lg {
  min-width: 180px;
  padding: 0.85rem 1.4rem;
}

.btn-sm {
  padding: 0.4rem 0.7rem;
  font-size: 0.75rem;
}

.theme-toggle,
.lang-toggle {
  height: 36px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--ghost-btn);
  color: var(--fg);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0 0.65rem;
  min-width: 40px;
}

.theme-toggle {
  font-size: 1rem;
}

.theme-toggle:hover:not(:disabled),
.lang-toggle:hover:not(:disabled) {
  border-color: var(--mute);
}

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: -2px;
}

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

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.25rem 2.5rem;
  background:
    radial-gradient(ellipse 70% 45% at 50% 100%, var(--hero-glow), transparent 60%),
    var(--bg);
}

.hero-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ok);
  margin-bottom: 1.15rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero-sub {
  margin-top: 1rem;
  max-width: 32rem;
  color: var(--mute);
  font-size: 1.1rem;
}

.hero-ctas {
  margin-top: 2rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Specs bar ──────────────────────────────────────────── */
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
}

.spec {
  padding: 1.6rem 1rem;
  text-align: center;
  border-right: 1px solid var(--line);
}

.spec:last-child {
  border-right: 0;
}

.spec-val {
  font-size: clamp(1.6rem, 3.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.spec-val em {
  font-style: normal;
  color: var(--mute);
  font-weight: 500;
  font-size: 0.72em;
}

.spec-val.ok {
  color: var(--ok);
}

.spec-val.wait {
  color: var(--wait);
}

.spec-lab {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.04em;
}

/* ── Anomaly banner ─────────────────────────────────────── */
.anomaly-banner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.9rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--err) 40%, var(--line));
  border-radius: 4px;
  background: color-mix(in srgb, var(--err) 10%, var(--bg-elev));
  color: var(--err);
  font-size: 0.88rem;
  font-weight: 600;
}

.band > .anomaly-banner {
  margin-bottom: 1.5rem;
}

/* ── Bands ──────────────────────────────────────────────── */
.band {
  padding: 4.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.band.alt {
  background: var(--bg-elev);
}

.band-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.band-inner.center {
  text-align: center;
  max-width: 36rem;
}

.band h2 {
  font-size: clamp(1.75rem, 3.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.band-lead {
  color: var(--mute);
  margin-bottom: 2rem;
  max-width: 40rem;
  font-size: 1.02rem;
}

.band-inner.center .band-lead {
  margin-left: auto;
  margin-right: auto;
}

.band-cta {
  margin-top: -1.25rem;
  margin-bottom: 1.75rem;
}

.donate-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}

/* ── Split announced / waiting ──────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-col {
  background: var(--bg);
  padding: 1.5rem 1.4rem;
}

html[data-theme="light"] .split-col {
  background: var(--bg-elev);
}

.split-col h3 {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  font-weight: 700;
}

.split-col.done h3 {
  color: var(--ok);
}

.split-col.miss h3 {
  color: var(--wait);
}

.fam-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.fam-row:last-child {
  border-bottom: 0;
}

.fam-name {
  font-weight: 650;
  font-size: 1.08rem;
}

.fam-note {
  color: var(--mute);
  font-size: 0.84rem;
  margin-top: 0.18rem;
}

.fam-date {
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.fam-date.est {
  color: var(--wait);
}

/* ── Calendar / drop map ────────────────────────────────── */
.cal-wrap {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.25rem;
  background: var(--bg);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

html[data-theme="light"] .cal-wrap {
  background: var(--bg-elev);
}

.cal {
  display: grid;
  grid-template-columns: 100px repeat(11, minmax(36px, 1fr));
  gap: 4px;
  min-width: 720px;
}

.cal-h,
.cal-lab {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--mute);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
}

.cal-lab {
  justify-content: flex-start;
  color: var(--soft);
}

.cal-h.today {
  color: var(--blue);
}

.c {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--map-empty);
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 700;
}

.c.heat {
  background: var(--map-heat);
}

.c.hit {
  background: var(--blue);
  color: #fff;
}

.c.est {
  background: transparent;
  border: 1.5px dashed var(--wait);
  color: var(--wait);
}

.c.today-col {
  box-shadow: inset 0 0 0 2px var(--blue);
}

.cal-legend {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.8rem;
  color: var(--mute);
}

.cal-legend i {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 2px;
  margin-right: 0.35rem;
  vertical-align: -1px;
}

/* ── Drop Watch cards ───────────────────────────────────── */
.watch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.85rem;
}

.watch {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.25rem 1.2rem 1.15rem;
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

html[data-theme="light"] .watch {
  background: var(--bg-elev);
}

.watch:hover {
  border-color: color-mix(in srgb, var(--blue) 45%, var(--line));
  transform: translateY(-2px);
}

.watch.done {
  border-color: color-mix(in srgb, var(--ok) 40%, var(--line));
}

.watch.hot {
  border-color: color-mix(in srgb, var(--blue) 50%, var(--line));
}

.watch.anomaly {
  border-color: color-mix(in srgb, var(--err) 45%, var(--line));
}

.watch-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.watch-status {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.watch.done .watch-status {
  color: var(--ok);
}

.watch.hot .watch-status {
  color: var(--blue);
}

.watch-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line);
}

.ws-val {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.ws-val.est {
  color: var(--wait);
}

.ws-lab {
  font-size: 0.68rem;
  color: var(--mute);
  margin-top: 0.15rem;
}

.pbar {
  margin-top: 1rem;
  height: 3px;
  background: var(--bg-soft);
  border-radius: 99px;
  overflow: hidden;
}

.pbar > i {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 99px;
}

.watch.done .pbar > i {
  background: var(--ok);
  width: 100% !important;
}

.p-lab {
  margin-top: 0.4rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--mute);
}

/* ── Family history cards ───────────────────────────────── */
.fh-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.fh {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow);
}

html[data-theme="light"] .fh {
  background: var(--bg-elev);
}

.fh-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.fh-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: var(--ghost-btn);
  color: var(--mute);
}

.tag.ok {
  background: color-mix(in srgb, var(--ok) 18%, transparent);
  color: var(--ok);
}

.tag.wait {
  background: color-mix(in srgb, var(--wait) 18%, transparent);
  color: var(--wait);
}

.tag.err {
  background: color-mix(in srgb, var(--err) 18%, transparent);
  color: var(--err);
}

.fh-k {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.fh-v {
  font-weight: 700;
  font-size: 1.05rem;
}

.fh-s {
  color: var(--mute);
  font-size: 0.82rem;
  margin: 0.15rem 0 0.85rem;
}

.tl {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tl-item {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 0.55rem;
  font-size: 0.82rem;
  align-items: start;
}

.tl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mute);
  opacity: 0.4;
  margin-top: 0.35rem;
}

.tl-dot.cur {
  background: var(--blue);
  opacity: 1;
}

.tl-mute {
  color: var(--mute);
  font-size: 0.75rem;
}

/* ── Months ─────────────────────────────────────────────── */
.months {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.month {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}

html[data-theme="light"] .month {
  background: var(--bg-elev);
}

.month-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.85rem;
}

.month-head h3 {
  font-size: 1.05rem;
}

.month-score {
  font-weight: 700;
  color: var(--mute);
}

.month-score.full {
  color: var(--ok);
}

.m-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.32rem 0;
  font-size: 0.88rem;
}

.ball {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--map-empty);
  flex-shrink: 0;
}

.m-row.on .ball {
  background: var(--ok);
}

.m-row .when {
  margin-left: auto;
  color: var(--mute);
  font-size: 0.76rem;
}

/* ── Telegram pings ─────────────────────────────────────── */
.ping {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  max-width: 100%;
}

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

.av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.78rem;
  border: 1px solid var(--line);
}

.ping-title {
  font-weight: 650;
}

.ping-meta {
  color: var(--mute);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

.ping-body {
  min-width: 0;
}
.ping-msg {
  margin-top: 0.5rem;
  color: var(--soft);
  font-size: 0.84rem;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  background: var(--ping-bg);
  padding: 0.75rem 0.85rem;
  border-radius: 4px;
}
.ping-link {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.ping-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-shrink: 0;
}
.fh-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fh-link:hover { opacity: 0.85; }
.spec-link {
  font-size: clamp(0.95rem, 2vw, 1.15rem) !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.spec-link a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

/* ── Runs ───────────────────────────────────────────────── */
.runs {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.run {
  display: grid;
  grid-template-columns: 140px 80px 1fr 70px 90px;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem 1.2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

html[data-theme="light"] .run {
  background: var(--bg-elev);
}

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

.run:hover {
  background: var(--bg-soft);
}

.run-h {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
  background: var(--bg-soft) !important;
}

.run .r-time {
  color: var(--mute);
  font-size: 0.82rem;
}

.run .r-res {
  font-weight: 600;
}

.run.hit {
  background: color-mix(in srgb, var(--wait) 6%, var(--bg));
}

/* ── Force panel ────────────────────────────────────────── */
.force-panel {
  display: none;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-soft);
  font-family: ui-monospace, "Cascadia Code", "SF Mono", monospace;
  font-size: 0.75rem;
  color: var(--soft);
  max-height: 160px;
  overflow: auto;
  white-space: pre-wrap;
}

.force-panel.show {
  display: block;
}

/* ── Footer ─────────────────────────────────────────────── */
footer,
.footer {
  padding: 2.5rem 1.5rem 3.5rem;
  text-align: center;
  color: var(--mute);
  font-size: 0.82rem;
}

footer a,
.footer a {
  color: var(--soft);
  font-weight: 600;
}

/* ── Toasts ─────────────────────────────────────────────── */
.toasts {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: min(380px, calc(100vw - 2rem));
  pointer-events: none;
}

.toast {
  padding: 0.85rem 1rem;
  border-radius: 4px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  pointer-events: auto;
  animation: toastIn 0.25s ease;
}

.toast.ok {
  border-color: color-mix(in srgb, var(--ok) 45%, var(--line));
}

.toast.err {
  border-color: color-mix(in srgb, var(--err) 45%, var(--line));
  color: var(--err);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── Modal ──────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.modal-backdrop[hidden],
.anomaly-banner[hidden] {
  display: none !important;
}

html[data-theme="light"] .modal-backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.modal {
  width: min(520px, 100%);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.modal-body {
  padding: 1rem 1.1rem;
  max-height: 40vh;
  overflow: auto;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", monospace;
  font-size: 0.78rem;
  color: var(--soft);
  white-space: pre-wrap;
  background: var(--bg-soft);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.9rem 1.1rem;
  border-top: 1px solid var(--line);
}

/* ── Empty / loading placeholders ───────────────────────── */
.empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--mute);
  font-size: 0.9rem;
  border: 1px dashed var(--line);
  border-radius: 4px;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .specs {
    grid-template-columns: 1fr 1fr;
  }

  .spec:nth-child(2) {
    border-right: 0;
  }

  .spec:nth-child(1),
  .spec:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .split {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .run,
  .run-h {
    grid-template-columns: 1fr 1fr;
  }

  .run-h span:nth-child(n + 3),
  .run > :nth-child(n + 3) {
    display: none;
  }

  .ping {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .ping-actions {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 56vh;
    padding-top: 3.5rem;
  }

  .nav-actions .btn-ghost:not(#btn-refresh) {
    display: none;
  }

  .toasts {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
}

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