/* 简天气 — 样式 */

:root {
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --text: #fff;
  --text-2: rgba(255, 255, 255, .78);
  --text-3: rgba(255, 255, 255, .58);
  --card: rgba(255, 255, 255, .13);
  --card-hover: rgba(255, 255, 255, .19);
  --line: rgba(255, 255, 255, .16);
  --track: rgba(255, 255, 255, .2);
  --radius: 20px;
  --gutter: 16px;
  --sky-1: #2d6fc0;
  --sky-2: #5a9be0;
  --glow: rgba(255, 226, 150, .55);

  /* 搜索面板（不受天气背景影响） */
  --sheet-bg: #fff;
  --sheet-text: #16202e;
  --sheet-text-2: #5d6b7e;
  --sheet-line: #e6eaf0;
  --sheet-field: #f1f4f8;
  --sheet-hover: #eef3fa;
  --accent: #2d6fc0;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sheet-bg: #1a212d;
    --sheet-text: #e9eef5;
    --sheet-text-2: #95a3b6;
    --sheet-line: #2a3342;
    --sheet-field: #232c3a;
    --sheet-hover: #263142;
    --accent: #7fb1ff;
  }
}
:root[data-theme="dark"] {
  --sheet-bg: #1a212d;
  --sheet-text: #e9eef5;
  --sheet-text-2: #95a3b6;
  --sheet-line: #2a3342;
  --sheet-field: #232c3a;
  --sheet-hover: #263142;
  --accent: #7fb1ff;
}

/* 天气主题：渐变由上到下 */
[data-sky="clear-day"]     { --sky-1: #2766b8; --sky-2: #5a9ee3; --glow: rgba(255, 224, 140, .6); }
[data-sky="clear-night"]   { --sky-1: #0b1530; --sky-2: #1d3563; --glow: rgba(160, 190, 255, .22); }
[data-sky="cloudy-day"]    { --sky-1: #3f6c9f; --sky-2: #7a9cc2; --glow: rgba(255, 236, 190, .35); }
[data-sky="cloudy-night"]  { --sky-1: #151f33; --sky-2: #2f405a; --glow: rgba(160, 190, 255, .15); }
[data-sky="overcast-day"]  { --sky-1: #56677c; --sky-2: #8394a8; --glow: rgba(255, 255, 255, .12); }
[data-sky="overcast-night"]{ --sky-1: #1b222c; --sky-2: #343e4c; --glow: rgba(255, 255, 255, .06); }
[data-sky="rain-day"]      { --sky-1: #3b4f66; --sky-2: #64788f; --glow: rgba(200, 220, 255, .14); }
[data-sky="rain-night"]    { --sky-1: #121a25; --sky-2: #2a3747; --glow: rgba(150, 180, 230, .1); }
[data-sky="storm-day"]     { --sky-1: #272b42; --sky-2: #4d5272; --glow: rgba(190, 170, 255, .18); }
[data-sky="storm-night"]   { --sky-1: #12131f; --sky-2: #2c2f45; --glow: rgba(170, 150, 255, .12); }
[data-sky="snow-day"]      { --sky-1: #5a7898; --sky-2: #91a9c2; --glow: rgba(255, 255, 255, .3); }
[data-sky="snow-night"]    { --sky-1: #1f2c40; --sky-2: #43566f; --glow: rgba(210, 225, 255, .14); }
[data-sky="fog-day"]       { --sky-1: #636b74; --sky-2: #8c939a; --glow: rgba(255, 255, 255, .16); }
[data-sky="fog-night"]     { --sky-1: #22262c; --sky-2: #3f444b; --glow: rgba(255, 255, 255, .06); }

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--sky-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
button { font: inherit; color: inherit; }
svg { display: block; }

/* ---------- 背景 ---------- */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.sky-layer {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.sky-layer.is-on { opacity: 1; }
.sky-glow {
  position: absolute;
  width: 70vmax; height: 70vmax;
  top: -32vmax; right: -22vmax;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 62%);
  transition: background 1.2s ease;
  pointer-events: none;
}

/* ---------- 布局 ---------- */
.app {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 max(var(--gutter), env(safe-area-inset-left)) calc(24px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-right));
}

.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(14px + env(safe-area-inset-top)) 0 10px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 17px; letter-spacing: .04em;
  text-decoration: none;
}
.brand svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.brand svg .cloud { fill: var(--sky-1); }
.topbar-actions { display: flex; gap: 8px; align-items: center; }

.pill-btn, .icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--card);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.pill-btn { padding: 0 14px 0 12px; font-size: 14px; color: var(--text-2); }
.icon-btn { width: 38px; padding: 0; }
.pill-btn:hover, .icon-btn:hover { background: var(--card-hover); }
.pill-btn:active, .icon-btn:active { transform: scale(.96); }
.pill-btn svg, .icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn.is-active { background: rgba(255, 255, 255, .92); color: var(--sky-1); border-color: transparent; }
.icon-btn.is-busy svg { animation: pulse 1s ease-in-out infinite; }

:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

main {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "hero" "hourly" "daily" "air" "details" "sun" "indices";
  transition: opacity .3s ease;
}
main.is-refreshing { opacity: .6; }
.hero { grid-area: hero; }
.hourly { grid-area: hourly; }
.daily { grid-area: daily; }
.air { grid-area: air; }
.details { grid-area: details; }
.sun { grid-area: sun; }
.indices { grid-area: indices; }

@media (min-width: 860px) {
  main {
    gap: 16px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-areas:
      "hero    daily"
      "hourly  hourly"
      "details details"
      "air     sun"
      "indices indices";
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  padding: 16px 18px;
  min-width: 0;
}
.card-title {
  display: flex; align-items: center; gap: 6px;
  margin: 0 0 12px;
  font-size: 13px; font-weight: 500;
  color: var(--text-3);
  letter-spacing: .02em;
}
.card-title svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 主信息 ---------- */
.hero { padding: 18px 2px 8px; min-width: 0; }
.place { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.place h1 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: .02em; line-height: 1.2; }
.loc-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; padding: 2px 8px 2px 6px;
  border-radius: 999px; background: rgba(255, 255, 255, .18); color: var(--text-2);
}
.loc-badge svg { width: 12px; height: 12px; fill: currentColor; }
.place-sub { margin: 2px 0 0; color: var(--text-2); font-size: 14px; }

.temp-row { display: flex; align-items: flex-start; margin-top: 10px; }
.temp {
  font-size: clamp(88px, 22vw, 128px);
  font-weight: 200;
  line-height: .95;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.temp-unit { font-size: clamp(36px, 8vw, 48px); font-weight: 200; margin-top: .25em; }
.temp-icon { margin-left: auto; font-size: clamp(64px, 16vw, 96px); line-height: 1; opacity: .95; padding-top: 4px; }

.cond { margin: 8px 0 0; font-size: 20px; font-weight: 500; }
.range { margin: 4px 0 0; color: var(--text-2); font-variant-numeric: tabular-nums; }
.nowcast {
  display: flex; align-items: center; gap: 8px;
  margin: 14px 0 0;
  font-size: 14px; color: var(--text-2);
}
.nowcast svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nowcast-bars { display: flex; align-items: flex-end; gap: 2px; height: 22px; margin-left: 4px; }
.nowcast-bars i { width: 3px; border-radius: 2px; background: rgba(255, 255, 255, .75); min-height: 2px; }

.alerts { display: grid; gap: 8px; margin-top: 14px; }
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  width: 100%;
  padding: 10px 12px;
  text-align: left;
  border: 1px solid var(--line);
  border-left: 4px solid var(--alert, #f5a623);
  border-radius: 14px;
  background: rgba(0, 0, 0, .16);
  cursor: pointer;
}
.alert:hover { background: rgba(0, 0, 0, .22); }
.alert-icon { flex: none; color: var(--alert, #f5a623); }
.alert-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.alert-text { min-width: 0; }
.alert strong { display: block; font-size: 14px; font-weight: 600; }
.alert-meta { display: block; font-size: 12px; color: var(--text-2); margin-top: 1px; }
.alert-body { display: none; font-size: 13px; color: var(--text-2); margin-top: 6px; line-height: 1.6; white-space: pre-line; }
.alert[aria-expanded="true"] .alert-body { display: block; }

.updated { margin: 16px 0 0; font-size: 12px; color: var(--text-3); }
.updated a { text-decoration: none; }
.updated a:hover { text-decoration: underline; }

/* ---------- 逐小时 ---------- */
.hourly { padding-left: 0; padding-right: 0; }
.hourly .card-title { padding: 0 18px; }
.hourly-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 0 10px 2px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
}
.hourly-scroll::-webkit-scrollbar { display: none; }
.hourly-track { position: relative; }
.hourly-chart { display: block; overflow: visible; }
.hourly-chart path.line { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 2; stroke-linecap: round; }
.hourly-chart path.area { fill: url(#hourly-fill); }
.hourly-chart circle { fill: #fff; }
.hourly-chart text { fill: #fff; font-size: 13px; font-weight: 500; text-anchor: middle; font-family: var(--font); }
.hourly-cols { display: grid; }
.hour { text-align: center; font-size: 12px; color: var(--text-2); }
.hour i { display: block; font-size: 24px; color: #fff; margin: 6px 0 4px; }
.hour .pop { color: #a8d8ff; min-height: 18px; }
.hour.is-now .t { color: #fff; font-weight: 600; }

/* ---------- 7 天 ---------- */
.day {
  display: grid;
  grid-template-columns: 3.4em 1.9em 2.6em 2.4em minmax(40px, 1fr) 2.4em;
  align-items: center; gap: 8px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.day:first-of-type { border-top: 0; padding-top: 2px; }
.day-name { font-weight: 500; white-space: nowrap; }
.day-icon { font-size: 22px; text-align: center; }
.day-pop { font-size: 12px; color: #a8d8ff; text-align: left; }
.day-min { color: var(--text-3); text-align: right; }
.day-max { text-align: right; }
.bar { position: relative; height: 5px; border-radius: 3px; background: var(--track); }
.bar-fill { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.bar-dot {
  position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(0, 0, 0, .18);
}

/* ---------- 详情网格 ---------- */
.details { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .details { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.tile { display: flex; flex-direction: column; min-height: 132px; padding: 14px 16px; }
.tile .card-title { margin-bottom: 8px; }
.tile-value { font-size: 28px; font-weight: 400; line-height: 1.15; font-variant-numeric: tabular-nums; }
.tile-value small { font-size: 15px; color: var(--text-2); margin-left: 2px; }
.tile-sub { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--text-2); }
.tile-wind { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.compass { width: 54px; height: 54px; flex: none; }
.compass circle { fill: none; stroke: var(--track); stroke-width: 1.5; }
.compass text { fill: var(--text-3); font-size: 8px; text-anchor: middle; font-family: var(--font); }
.compass .needle { fill: #fff; transition: transform .6s ease; transform-origin: 27px 27px; }
.meter { position: relative; height: 5px; border-radius: 3px; margin-top: 10px; }
.meter i { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(0, 0, 0, .2); }
.meter-uv { background: linear-gradient(90deg, #58c472, #f4d03f 30%, #f39c12 55%, #e74c3c 75%, #9b59b6); }
.meter-hum { background: linear-gradient(90deg, rgba(255, 255, 255, .25), #8fd0ff); }

/* ---------- 空气质量 ---------- */
.air-main { display: flex; align-items: baseline; gap: 12px; }
.air-aqi { font-size: 44px; font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
.air-cat {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #1b2430;
}
.air-scale {
  position: relative; height: 6px; margin: 16px 0 6px; border-radius: 3px;
  background: linear-gradient(90deg, #00e400 0 16.6%, #ffff00 16.6% 33.3%, #ff7e00 33.3% 50%, #ff0000 50% 66.6%, #99004c 66.6% 83.3%, #7e0023 83.3%);
}
.air-scale i { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(0, 0, 0, .2); }
.air-text { margin: 10px 0 0; font-size: 13px; color: var(--text-2); }
.pollutants { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.pollutant { padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.pollutant b { display: block; font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }
.pollutant span { font-size: 11px; color: var(--text-3); }
.muted { color: var(--text-3); font-size: 14px; margin: 0; }

/* ---------- 日出日落 ---------- */
.sun-arc { width: 100%; height: auto; overflow: visible; }
.sun-arc .track { fill: none; stroke: var(--track); stroke-width: 1.5; stroke-dasharray: 3 5; }
.sun-arc .done { fill: none; stroke: rgba(255, 220, 130, .9); stroke-width: 2; }
.sun-arc .horizon { stroke: var(--line); stroke-width: 1; }
.sun-arc .dot { fill: #ffd76a; filter: drop-shadow(0 0 6px rgba(255, 215, 106, .9)); }
.sun-times { display: flex; justify-content: space-between; margin-top: 6px; font-variant-numeric: tabular-nums; }
.sun-times div { font-size: 13px; color: var(--text-3); }
.sun-times b { display: block; font-size: 18px; font-weight: 500; color: var(--text); }
.sun-times div:last-child { text-align: right; }
.moon { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.moon i { font-size: 22px; color: #fff; }

/* ---------- 生活指数 ---------- */
.indices { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .indices { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.index { padding: 14px 16px; cursor: pointer; text-align: left; width: 100%; transition: background .2s ease; }
.index:hover { background: var(--card-hover); }
.index .card-title { margin-bottom: 4px; }
.index b { display: block; font-size: 17px; font-weight: 600; }
.index p {
  margin: 6px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--text-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.index[aria-expanded="true"] p { -webkit-line-clamp: unset; }

/* ---------- 页脚 ---------- */
.footer { margin-top: 28px; text-align: center; font-size: 12px; color: var(--text-3); }
.footer a { text-decoration: none; color: var(--text-2); }
.footer a:hover { text-decoration: underline; }

/* ---------- 加载 / 错误 ---------- */
.sk {
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .1) 25%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .1) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
.sk-line { height: 1rem; }
.sk-fill { height: 240px; }
.hourly .sk-fill { height: 150px; margin: 0 18px; }
.is-loading .details, .is-loading .air, .is-loading .sun, .is-loading .indices { display: none; }

.is-error > section:not(.hero) { display: none; }
.is-error > .hero { grid-column: 1 / -1; }
.error-panel { grid-column: 1 / -1; text-align: center; padding: 64px 16px; }
.error-panel h2 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.error-panel p { margin: 0 0 20px; color: var(--text-2); }
.solid-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px;
  border: 0; border-radius: 999px; background: #fff; color: var(--sky-1); font-weight: 600; cursor: pointer;
}

/* ---------- 搜索面板 ---------- */
.search {
  width: min(560px, calc(100vw - 32px));
  max-height: min(640px, calc(100dvh - 80px));
  margin: 72px auto auto;
  padding: 0;
  border: 0;
  border-radius: 22px;
  color: var(--sheet-text);
  background: var(--sheet-bg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
  overflow: hidden;
  color-scheme: light dark;
}
.search[open] { display: flex; flex-direction: column; animation: sheet-in .22s ease; }
.search::backdrop { background: rgba(8, 14, 24, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 600px) {
  .search { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
}
.search-head {
  display: flex; align-items: center; gap: 10px;
  padding: calc(14px + env(safe-area-inset-top)) 16px 12px;
  border-bottom: 1px solid var(--sheet-line);
}
.search-field {
  flex: 1; display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 12px;
  border-radius: 12px; background: var(--sheet-field);
}
.search-field svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--sheet-text-2); stroke-width: 1.8; stroke-linecap: round; }
.search-field input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 16px; color: var(--sheet-text);
}
.search-field input::placeholder { color: var(--sheet-text-2); }
.search-field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-field:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.text-btn { border: 0; background: none; color: var(--accent); font-size: 15px; cursor: pointer; padding: 8px 2px; }
.search :focus-visible { outline-color: var(--accent); }
.search-body { overflow-y: auto; padding: 8px 16px calc(20px + env(safe-area-inset-bottom)); }
.search-body h3 { margin: 16px 0 8px; font-size: 12px; font-weight: 500; color: var(--sheet-text-2); letter-spacing: .04em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--sheet-line); background: transparent; color: var(--sheet-text);
  padding: 6px 14px; border-radius: 999px; font-size: 14px; cursor: pointer;
}
.chip:hover { background: var(--sheet-hover); }
.locate-row, .result {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 10px; margin: 0 -10px; width: calc(100% + 20px);
  border: 0; border-radius: 12px; background: transparent; text-align: left; cursor: pointer; color: var(--sheet-text);
}
.locate-row { color: var(--accent); font-weight: 500; margin-top: 4px; }
.locate-row svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.locate-row:hover, .result:hover, .result.is-active { background: var(--sheet-hover); }
.results { list-style: none; margin: 4px 0 0; padding: 0; }
.result b { font-weight: 500; }
.result span { color: var(--sheet-text-2); font-size: 13px; margin-left: auto; text-align: right; }
.result mark { background: none; color: var(--accent); }
.search-empty { padding: 28px 0; text-align: center; color: var(--sheet-text-2); font-size: 14px; }

/* ---------- 提示 ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom));
  max-width: calc(100vw - 32px);
  transform: translate(-50%, 20px);
  padding: 10px 16px; border-radius: 14px;
  background: rgba(15, 20, 30, .86); color: #fff; font-size: 14px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 10;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.noscript { text-align: center; padding: 40px 16px; }

@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } }
.fade-in > * { animation: fade-up .45s ease both; }

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