/* MeteorWeather — мобильная колонка; на ПК — сетка: слева сейчас, справа прогноз + блок */

:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-2: #334155;
  --border: rgba(148, 163, 184, 0.22);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --header-h: 56px;
  --radius: 10px;
  --font: "Inter", system-ui, sans-serif;
  --content-max: 1200px;
  --gap: 1.25rem;
  --windy-h: 360px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg);
}

body.motion-on {
  background-image: radial-gradient(ellipse 120% 60% at 70% -15%, rgba(59, 130, 246, 0.09), transparent 50%),
    radial-gradient(ellipse 80% 50% at 10% 20%, rgba(6, 182, 212, 0.05), transparent 45%);
}

body.prefs-cosmic.motion-on {
  background-image: radial-gradient(ellipse 45% 38% at 82% 96%, rgba(167, 139, 250, 0.14), transparent 52%),
    radial-gradient(ellipse 120% 60% at 70% -15%, rgba(59, 130, 246, 0.09), transparent 50%),
    radial-gradient(ellipse 80% 50% at 10% 20%, rgba(6, 182, 212, 0.05), transparent 45%);
}

body.prefs-cosmic:not(.motion-on) {
  background-image: radial-gradient(ellipse 50% 42% at 78% 88%, rgba(167, 139, 250, 0.11), transparent 55%);
}

body.prefs-neon {
  --accent: #22d3ee;
  --accent-hover: #06b6d4;
}

body.prefs-compact {
  --gap: 0.85rem;
}

body.prefs-compact .block {
  padding: clamp(12px, 1.5vw, 18px);
}

body.prefs-wide {
  --content-max: 1320px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.logo-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.logo-name {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

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

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

.btn-icon--lg {
  font-size: 1.1rem;
}

.main-area {
  padding-top: calc(var(--header-h) + clamp(16px, 2.5vw, 28px));
  padding-bottom: clamp(24px, 4vw, 40px);
}

.dashboard {
  display: grid;
  gap: var(--gap);
}

.dash-row {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
}

@media (min-width: 640px) {
  .dash-row > .panel {
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .dash-row > .panel > .block {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .dash-row .panel--compact-env #env-mount {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
  }

  .dash-row .block-title {
    flex-shrink: 0;
  }
}

@media (min-width: 900px) {
  .dash-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
    align-items: stretch;
  }

  .dash-row:has(#panel-env[hidden]):has(#insights-panel[hidden]) {
    grid-template-columns: 1fr;
  }

  .dash-row:has(#panel-env[hidden]):not(:has(#insights-panel[hidden])) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }

  .dash-row:has(#insights-panel[hidden]):not(:has(#panel-env[hidden])) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }
}

/* Ближайшие дни (компакт) */
.block-days--compact.block {
  padding: clamp(12px, 1.6vw, 18px);
}

.block-days--compact .block-title {
  margin-bottom: 10px;
}

.panel--compact-days .days {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.panel--compact-days .day {
  padding: 10px 12px;
}

.panel--compact-days .day-label {
  font-size: 12px;
}

.panel--compact-days .day-date {
  font-size: 11px;
}

.panel--compact-days .day-range {
  margin-top: 6px;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
}

.panel--compact-days .day-periods {
  margin-top: 8px;
  gap: 6px;
}

.panel--compact-days .day-part {
  font-size: 11px;
  grid-template-columns: 44px 36px 1fr;
  gap: 6px 8px;
}

.panel--compact-days .day-desc {
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.4;
}

/* Компактные блоки нижнего ряда: дни | воздух | ветер/пыльца */
.block-env--compact.block {
  padding: clamp(12px, 1.6vw, 18px);
}

.block-env--compact .block-title {
  margin-bottom: 8px;
}

.panel--compact-env .env-note {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.35;
}

.panel--compact-env .env-section {
  margin-bottom: 10px;
}

.panel--compact-env .env-section h3 {
  font-size: 10px;
  margin-bottom: 6px;
}

.panel--compact-env .env-dl {
  font-size: 12px;
  gap: 4px 10px;
}

.block-insights--compact.block {
  padding: clamp(12px, 1.6vw, 18px);
}

@media (min-width: 900px) {
  .dash-row .compass-face {
    width: 96px;
    height: 96px;
  }

  .dash-row .compass-arrow {
    height: 32px;
    margin-top: -30px;
  }

  .dash-row .pollen-wheel-wrap {
    width: 140px;
    height: 140px;
  }

  .dash-row .pollen-map-row {
    gap: 12px;
  }

  .dash-row .ins-card {
    padding: 10px;
  }
}

@media (min-width: 900px) {
  .dashboard {
    grid-template-columns: minmax(0, 1fr) minmax(300px, min(46vw, 520px));
    grid-template-areas:
      "tool tool"
      "hero windy"
      "hourly hourly"
      "side side";
    align-items: stretch;
  }

  .dashboard > .panel-toolbar {
    grid-area: tool;
  }

  .dashboard > .panel-main {
    grid-area: hero;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .dashboard > .panel-main .block-now {
    flex: 1;
    background: radial-gradient(ellipse 85% 55% at 85% 20%, rgba(59, 130, 246, 0.08), transparent 55%),
      radial-gradient(ellipse 60% 40% at 10% 90%, rgba(6, 182, 212, 0.05), transparent 50%);
  }

  .dashboard > .panel-windy {
    grid-area: windy;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .dashboard > .panel-windy .block-windy {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: clamp(10px, 1.2vw, 14px);
  }

  .dashboard > .panel-windy .windy-embed-shell {
    flex: 1;
    min-height: var(--windy-h);
    height: auto;
    max-height: none;
  }

  .dashboard > .panel-hourly {
    grid-area: hourly;
  }

  .dashboard > .dash-row {
    grid-area: side;
  }
}

.panel {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

body.glass-on .panel {
  background: rgba(30, 41, 59, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body:not(.glass-on) .panel {
  background: var(--surface);
}

.panel-toolbar {
  padding: 14px clamp(14px, 2vw, 20px);
  background: rgba(0, 0, 0, 0.14);
}

.toolbar {
  display: flex;
  gap: 10px;
  max-width: 720px;
}

@media (min-width: 900px) {
  .toolbar {
    max-width: none;
  }
}

.toolbar input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.5);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

.toolbar input::placeholder {
  color: var(--muted);
}

.toolbar input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.55);
}

.btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 10px 18px;
  flex-shrink: 0;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
}

.block {
  padding: clamp(16px, 2.2vw, 24px);
}

.panel-windy .block-windy {
  padding-bottom: clamp(14px, 2vw, 20px);
}

.windy-embed-shell {
  position: relative;
  height: var(--windy-h);
  max-height: min(var(--windy-h), 52vh);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #0b1220;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  touch-action: manipulation;
  overscroll-behavior: contain;
}

.windy-embed-iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.block-insights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.block-title--insights {
  margin-bottom: 4px;
}

.panel-insights .ins-card:last-child {
  margin-bottom: 0;
}

.ins-card {
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.12);
  padding: 12px;
  background: rgba(15, 23, 42, 0.35);
}

.ins-title {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.ins-muted {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.ins-muted.small {
  font-size: 11px;
  margin-bottom: 8px;
}

.compass-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.compass-face {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 2px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at 45% 35%, rgba(59, 130, 246, 0.12), transparent 55%);
  flex-shrink: 0;
}

.compass-n {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.compass-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 38px;
  margin-left: -2px;
  margin-top: -36px;
  background: linear-gradient(180deg, #38bdf8, #0369a1);
  border-radius: 2px;
  transform-origin: 50% 100%;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}

.compass-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--text);
  border: 2px solid var(--surface);
}

.compass-text strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.pollen-map-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  margin-top: 4px;
}

.pollen-wheel-wrap {
  position: relative;
  width: 168px;
  height: 168px;
  flex-shrink: 0;
}

.pollen-wheel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#334155 0deg 360deg);
  box-shadow:
    inset 0 0 48px rgba(0, 0, 0, 0.35),
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(148, 163, 184, 0.2);
}

.pollen-wheel-center {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.99));
  border: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pollen-wheel-sum {
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

.pollen-wheel-label {
  margin-top: 2px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.pollen-legend {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pollen-leg-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  min-width: 0;
}

.pollen-leg-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.pollen-leg-name {
  flex: 1;
  min-width: 0;
  color: #e2e8f0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pollen-leg-val {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--muted);
  font-size: 11px;
}

.block-days .block-title {
  margin-bottom: 14px;
}

.block-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.now-head {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
}

.cond-hero {
  margin: 0;
  flex: 1 1 220px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 28ch;
}

.now-temps {
  flex: 0 0 auto;
  text-align: right;
}

.now-temps .temp-line {
  margin-top: 0;
  font-size: clamp(2.2rem, 3.5vw + 1rem, 3.5rem);
}

.now-temps .feels {
  margin-top: 4px;
}

.now-temps .temp-line .deg {
  font-size: 0.45em;
  font-weight: 600;
  color: var(--muted);
  margin-left: 2px;
  vertical-align: super;
}

.block-hourly .block-title {
  margin-bottom: 10px;
}

.hourly-scroller {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.hourly-scroller::-webkit-scrollbar {
  height: 6px;
}

.hourly-scroller::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 99px;
}

.hour-slot {
  flex: 0 0 auto;
  width: 76px;
  scroll-snap-align: start;
  padding: 10px 8px;
  text-align: center;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
}

.hour-slot:last-child {
  border-right: none;
}

.hour-empty {
  display: block;
  padding: 12px 8px;
  font-size: 13px;
  color: var(--muted);
}

.hour-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.hour-ico {
  margin: 6px 0 4px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.hour-t {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hour-c {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.25;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.hour-pop {
  margin-top: 4px;
  font-size: 10px;
  color: #7dd3fc;
  font-variant-numeric: tabular-nums;
}

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

.env-section {
  margin-bottom: 14px;
}

.env-section:last-child {
  margin-bottom: 0;
}

.env-section h3 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.env-dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  font-size: 13px;
}

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

.env-dl dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.loc {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.metrics {
  margin: clamp(18px, 2.5vw, 28px) 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 640px) {
  .metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 14px;
  }
}

.metrics > div {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.1);
  min-width: 0;
}

.metrics dt {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
}

.metrics dd {
  margin: 6px 0 0;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

.days {
  display: grid;
  gap: 14px;
}

@media (min-width: 900px) {
  .days {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 899px) {
  .days {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .days {
    grid-template-columns: 1fr;
  }
}

.day {
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(0, 0, 0, 0.1);
}

.day-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.day-date {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.day-range {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.day-periods {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.day-part {
  display: grid;
  grid-template-columns: 52px minmax(0, 44px) 1fr;
  align-items: start;
  gap: 8px 10px;
  font-size: 12px;
  line-height: 1.35;
}

.day-part-name {
  font-weight: 600;
  color: #cbd5e1;
}

.day-part-t {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  text-align: right;
}

.day-part-c {
  color: var(--muted);
  min-width: 0;
}

.day-desc {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.site-footer {
  padding: 0 0 32px;
  text-align: center;
}

.footer-inner {
  max-width: var(--content-max);
}

.footer-update {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.footer-note {
  margin: 14px auto 0;
  max-width: 52rem;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.credit {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.credit strong {
  color: #cbd5e1;
  font-weight: 600;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 6, 23, 0.45);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 210;
  width: min(340px, 92vw);
  height: 100dvh;
  padding: 18px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.25);
}

body.glass-on .drawer {
  background: rgba(30, 41, 59, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.drawer.open {
  transform: none;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
}

.drawer-credit {
  margin: 12px 0 18px;
  font-size: 13px;
  color: var(--muted);
}

.drawer-subhead {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.drawer-credit + .drawer-subhead {
  margin-top: 0;
}

.drawer-subhead ~ .drawer-subhead {
  margin-top: 18px;
}

.drawer-mood {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.45;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  cursor: pointer;
}

.toggle input {
  accent-color: var(--accent);
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 14px;
  max-width: min(90vw, 480px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body.drawer-open {
  overflow: hidden;
}

body.motion-on .rise {
  animation: fade-up 0.4s ease backwards;
  animation-delay: var(--d, 0s);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.motion-on .rise {
    animation: none;
  }
  body.motion-on:not(.prefs-cosmic) {
    background-image: none;
  }
  body.prefs-cosmic {
    background-image: radial-gradient(ellipse 45% 35% at 80% 100%, rgba(167, 139, 250, 0.1), transparent 50%);
  }
}
