/* PixDance intl — Apple dark language, system font stack, no neon. */
:root {
  color-scheme: dark;
  --bg: #000000;
  --card: #1c1c1e;
  --flat: rgba(120, 120, 128, .12);
  --text: #f5f5f7;
  --muted: #98989d;
  --soft: #6e6e73;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .18);
  --accent: #0a84ff;
  --accent-text: #409cff;
  --danger: #ff453a;
  --ok: #30d158;
  --ease: cubic-bezier(.32, .72, .35, 1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "PingFang SC", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .4; }

a { color: var(--accent-text); text-decoration: none; }

.shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

/* ---------- top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand-dot { color: #ff9f0a; }
.topbar-actions { display: flex; align-items: center; gap: .6rem; }

.btn {
  min-height: 32px;
  padding: 0 16px;
  border: 0;
  border-radius: 980px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.1); }
.btn:active { filter: brightness(.92); }
.btn.secondary { background: var(--flat); color: var(--accent-text); }
.btn.ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--text); }
.btn.big { min-height: 44px; padding: 0 26px; font-size: 15px; font-weight: 600; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3.5px rgba(10, 132, 255, .35);
}

.lang-switch {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.lang-switch:hover { color: var(--text); background: var(--flat); }

/* ---------- hero ---------- */
.hero {
  padding: clamp(3rem, 9vh, 6rem) 0 3rem;
  text-align: center;
}
.hero h1 {
  margin: 0 0 .8rem;
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.025em;
}
.hero p {
  margin: 0 auto 1.8rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
}
.hero .note { margin-top: 1rem; font-size: 12.5px; color: var(--soft); }

/* ---------- feature cards ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: .75rem;
  padding-bottom: 4rem;
}
.feature-card {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  text-align: left;
  transition: border-color .15s ease, transform .15s ease;
}
.feature-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature-card h3 { margin: 0 0 .3rem; font-size: 15px; font-weight: 600; }
.feature-card p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }

/* ---------- auth sheet ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  animation: fadeIn .18s ease-out;
}
.sheet {
  width: min(400px, 100%);
  padding: 26px 26px 24px;
  border: .5px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
  animation: sheetIn .26s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }

.sheet-head { position: relative; margin-bottom: 1.1rem; }
.sheet-head h2 { margin: 0 0 .25rem; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.sheet-head p { margin: 0; color: var(--muted); font-size: 13px; }
.sheet-close {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(118, 118, 128, .16);
  color: var(--muted);
  transition: background .15s ease, color .15s ease;
}
.sheet-close:hover { background: rgba(118, 118, 128, .28); color: var(--text); }

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 2px;
  border-radius: 10px;
  background: rgba(118, 118, 128, .14);
  margin-bottom: 1rem;
}
.seg button {
  min-height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: background .18s ease, color .18s ease;
}
.seg button.on { background: #4a4a4e; color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.35); }

.field { display: grid; gap: 6px; margin-bottom: .85rem; }
.field > span { color: var(--muted); font-size: 12px; font-weight: 500; }
.control {
  display: flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(118, 118, 128, .12);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.control:focus-within {
  border-color: var(--accent);
  background: rgba(118, 118, 128, .16);
  box-shadow: 0 0 0 3.5px rgba(10, 132, 255, .28);
}
.control input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}
.control input::placeholder { color: var(--soft); }
.code-btn {
  flex: 0 0 auto;
  min-width: 92px;
  height: 30px;
  margin-right: 6px;
  border: 0;
  border-radius: 8px;
  background: rgba(10, 132, 255, .16);
  color: var(--accent-text);
  font-size: 12.5px;
  font-weight: 500;
  transition: background .15s ease;
}
.code-btn:not(:disabled):hover { background: rgba(10, 132, 255, .26); }
.code-btn:disabled { color: var(--soft); background: rgba(118, 118, 128, .12); }

.form-error { margin: .2rem 0 0; color: var(--danger); font-size: 12px; line-height: 1.55; min-height: 1.2em; }
.form-notice { margin: .2rem 0 0; color: var(--ok); font-size: 12px; line-height: 1.55; }
.form-hint { margin: .4rem 0 0; color: var(--soft); font-size: 12px; line-height: 1.55; }

.submit {
  width: 100%;
  min-height: 42px;
  margin-top: .4rem;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: filter .15s ease;
}
.submit:not(:disabled):hover { filter: brightness(1.1); }

/* ---------- studio ---------- */
.studio-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0 1.2rem;
}
.studio-head h1 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.credit-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--flat);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.composer {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  margin-bottom: 1.4rem;
}
.composer textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(118, 118, 128, .1);
  color: var(--text);
  padding: 12px 14px;
  font-size: 14.5px;
  line-height: 1.55;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.composer textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3.5px rgba(10,132,255,.22); }
.composer textarea::placeholder { color: var(--soft); }

.composer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .8rem;
  margin-top: .9rem;
}
.composer-row .field { margin-bottom: 0; }
.composer select {
  min-height: 38px;
  padding: 0 32px 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(118, 118, 128, .12);
  color: var(--text);
  font-size: 13px;
  outline: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.composer select:focus { border-color: var(--accent); }
.audio-toggle { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; padding-bottom: 8px; }
.audio-toggle input { accent-color: var(--accent); width: 16px; height: 16px; }
.composer .submit { width: auto; margin: 0 0 0 auto; min-height: 38px; padding: 0 22px; font-size: 14px; }

/* ---------- task cards ---------- */
.tasks { display: grid; gap: .75rem; padding-bottom: 4rem; }
.task-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .8rem;
  align-items: center;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.task-card .prompt {
  margin: 0 0 .3rem;
  font-size: 13.5px;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.task-meta { color: var(--soft); font-size: 11.5px; }
.task-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; }
.task-status::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.task-status.running { color: #ffd60a; }
.task-status.succeeded { color: var(--ok); }
.task-status.failed { color: var(--danger); }
.task-card video {
  width: 280px;
  max-width: 100%;
  border-radius: 10px;
  background: #000;
}
.task-side { display: grid; gap: .5rem; justify-items: end; }

.empty { padding: 3rem 1rem; text-align: center; color: var(--soft); font-size: 13px; }

.footer {
  padding: 2rem 0 3rem;
  color: var(--soft);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 720px) {
  .task-card { grid-template-columns: 1fr; }
  .task-side { justify-items: start; }
  .task-card video { width: 100%; }
  .composer .submit { width: 100%; }
}

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

/* ===== 首页信息架构（欢迎区/继续创作/工具/新鲜事/影厅） ===== */
.eyebrow {
  display: block;
  color: var(--soft);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.section { margin: 2.2rem 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .9rem;
}
.section-head h2 { margin: 0; font-size: 16px; font-weight: 600; }
.section-head > p { margin: 0; max-width: 24rem; color: var(--muted); font-size: 12px; text-align: right; }

.hero { padding: 1.6rem 0 1.1rem; }
.hero-clock { margin: 0 0 .5rem; color: var(--soft); font-size: 12px; font-variant-numeric: tabular-nums; }
.hero-clock .rec {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--danger);
  margin-right: 7px;
  vertical-align: 1px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.12;
}
.hero h1 em { font-style: normal; color: #ff9f0a; }
.hero-sub { margin: .5rem 0 0; color: var(--muted); font-size: 14px; }
.take-chip {
  display: inline-flex;
  align-items: center;
  margin-left: .5rem;
  padding: 2px 9px;
  border-radius: 7px;
  background: var(--flat);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}

.continue-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: .4rem 0 0;
  padding: .8rem .95rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  text-align: left;
  transition: border-color .15s ease, transform .15s ease;
}
.continue-card:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.continue-media {
  position: relative;
  flex: 0 0 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(145deg, #2c2c2e, #1c1c1e);
  overflow: hidden;
}
.continue-media i {
  position: absolute;
  border-radius: 999px;
  background: rgba(10, 132, 255, .5);
}
.continue-media i:nth-child(1) { width: 26px; height: 26px; left: 6px; top: 10px; filter: blur(6px); }
.continue-media i:nth-child(2) { width: 14px; height: 14px; right: 7px; top: 7px; background: rgba(255, 159, 10, .55); filter: blur(4px); }
.continue-media i:nth-child(3) { width: 8px; height: 8px; right: 10px; bottom: 8px; background: rgba(255, 255, 255, .5); }
.continue-copy { display: grid; gap: 1px; min-width: 0; }
.continue-copy small { color: var(--soft); font-size: 11.5px; }
.continue-copy strong { font-size: 15px; font-weight: 600; }
.continue-copy em { color: var(--muted); font-size: 12px; font-style: normal; }
.continue-arrow { margin-left: auto; color: var(--soft); font-size: 18px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: .75rem;
}
.feature-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .6rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.feature-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature-card.is-soon { cursor: default; opacity: .82; }
.feature-copy h3 { margin: 0 0 .25rem; font-size: 14.5px; font-weight: 600; }
.feature-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.feature-tag {
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(48, 209, 88, .14);
  color: var(--ok);
  font-size: 10.5px;
  font-weight: 500;
  vertical-align: 2px;
}
.soon-chip {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--flat);
  color: var(--soft);
  font-size: 10.5px;
}

/* ---------- 新鲜事：3D 公告卡 + 右栏 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .68fr);
  gap: .75rem;
}
.news-card {
  --news-rx: 0deg;
  --news-ry: 0deg;
  --news-gx: 50%;
  --news-gy: 50%;
  --news-lift: 0;
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border: .5px solid var(--line);
  border-radius: 20px;
  background: #141416;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .42);
  transform: perspective(1300px) rotateX(var(--news-rx)) rotateY(var(--news-ry)) translateZ(0);
  transition: transform .22s var(--ease), box-shadow .22s ease;
  will-change: transform;
}
.news-card:hover { box-shadow: 0 26px 70px rgba(0, 0, 0, .52); }
.news-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(460px circle at var(--news-gx) var(--news-gy), rgba(255, 255, 255, .08), transparent 62%);
  opacity: var(--news-lift);
  transition: opacity .2s ease;
}
.news-slides { position: absolute; inset: 0; }
.news-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
.news-slide.is-active { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.news-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(46px) saturate(1.15) brightness(.55);
  transform: scale(1.3);
  transition: transform .6s var(--ease);
}
.news-card:hover .news-art { transform: scale(1.36); }
.news-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  height: 100%;
  padding: 26px 26px 22px;
  background: linear-gradient(180deg, transparent 52%, rgba(10, 10, 12, .45) 88%, rgba(10, 10, 12, .58) 100%);
}
.news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: rgba(245, 245, 247, .92);
  font-size: 11.5px;
  font-weight: 500;
}
.news-content h3 { margin: 0; font-size: 24px; font-weight: 650; letter-spacing: -.01em; }
.news-content p { margin: 0; max-width: 460px; color: rgba(245, 245, 247, .66); font-size: 13px; line-height: 1.6; }
.news-actions { display: flex; gap: 10px; margin-top: 8px; }
.news-primary, .news-secondary {
  min-height: 34px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  transition: filter .15s ease, background .15s ease;
}
.news-primary { background: var(--accent); color: #fff; }
.news-primary:hover { filter: brightness(1.12); }
.news-secondary { background: rgba(255, 255, 255, .12); color: var(--text); }
.news-secondary:hover { background: rgba(255, 255, 255, .2); }
.news-dots {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  gap: 6px;
}
.news-dot {
  width: 6px; height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .32);
  cursor: pointer;
  transition: width .22s var(--ease), background .22s ease;
}
.news-dot.active { width: 18px; background: rgba(255, 255, 255, .92); }

.news-rail {
  padding: 14px;
  border: .5px solid var(--line);
  border-radius: 20px;
  background: #141416;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.insight-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 2px;
  border-radius: 10px;
  background: rgba(118, 118, 128, .14);
}
.insight-tabs button {
  min-height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(245, 245, 247, .6);
  font-size: 13px;
  font-weight: 500;
  transition: background .18s ease, color .18s ease;
}
.insight-tabs button.active { background: #4a4a4e; color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.rail-title { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px; }
.rail-title h3 { margin: 0; font-size: 14px; font-weight: 600; }
.rail-title small, .rail-all { color: var(--soft); font-size: 11.5px; }
.rail-all { border: 0; background: transparent; color: var(--accent-text); cursor: pointer; padding: 0; }
.rail-list { display: flex; flex-direction: column; }
.rail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 6px;
  border: 0;
  border-bottom: .5px solid rgba(255, 255, 255, .07);
  background: transparent;
  text-align: left;
  cursor: pointer;
  border-radius: 10px;
  transition: background .15s ease, transform .15s ease;
}
.rail-row:last-child { border-bottom: 0; }
.rail-row:hover { background: rgba(118, 118, 128, .1); transform: translateY(-1px); }
.rail-icon {
  width: 34px; height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
  background: rgba(10, 132, 255, .14);
  position: relative;
}
.rail-icon::after {
  content: "";
  position: absolute;
  inset: 11px 9px 9px 11px;
  border: 2px solid var(--accent-text);
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
}
.rail-copy { display: grid; gap: 2px; min-width: 0; }
.rail-copy strong { font-size: 13.5px; font-weight: 600; }
.rail-copy i { font-style: normal; font-size: 11px; color: rgba(245, 245, 247, .45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-row > b { margin-left: auto; color: rgba(245, 245, 247, .35); font-weight: 400; }
.rail-row time { flex: 0 0 auto; color: rgba(245, 245, 247, .35); font-size: 11.5px; font-variant-numeric: tabular-nums; }

/* ---------- 灵感影厅 ---------- */
.poster-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: .75rem;
  overflow-x: auto;
  padding-bottom: .4rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(118,118,128,.4) transparent;
}
.poster-card {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  scroll-snap-align: start;
  transition: transform .18s ease, border-color .18s ease;
}
.poster-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.poster-card img { display: block; width: 100%; height: auto; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 60;
  padding: 10px 18px;
  border: .5px solid var(--line);
  border-radius: 999px;
  background: rgba(28, 28, 30, .92);
  color: var(--text);
  font-size: 13px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
  backdrop-filter: blur(14px);
  animation: toastIn .22s var(--ease);
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } }

@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section-head { align-items: flex-start; flex-direction: column; }
  .section-head > p { text-align: left; }
  .news-card { min-height: 340px; }
  .news-content h3 { font-size: 20px; }
}
