:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --card: #ffffff;
  --surface: #f5f5f7;
  --surface-strong: #ececf0;
  --ink: #1d1d1f;
  --ink2: #6e6e73;
  --ink3: #86868b;
  --line: rgba(0, 0, 0, .09);
  --brand: #0071e3;
  --brand-strong: #0066cc;
  --brand-soft: #eaf4ff;
  --accent: #ff9f0a;
  --ok: #248a3d;
  --chip: #f2f2f7;
  --hl: #fff1a8;
  --shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 12px 38px rgba(0, 0, 0, .06);
  --shadow-hover: 0 16px 45px rgba(0, 0, 0, .1);
  --radius: 28px;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro SC", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --font-display: "SF Pro Display", "SF Pro SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  --font-serif: "New York", "New York Small", "Iowan Old Style", "Songti SC", "STSong", Georgia, serif;
  --font-rounded: "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #000000;
    --card: #1c1c1e;
    --surface: #2c2c2e;
    --surface-strong: #3a3a3c;
    --ink: #f5f5f7;
    --ink2: #a1a1a6;
    --ink3: #8e8e93;
    --line: rgba(255, 255, 255, .12);
    --brand: #2997ff;
    --brand-strong: #64b5ff;
    --brand-soft: rgba(41, 151, 255, .14);
    --accent: #ffb340;
    --ok: #30d158;
    --chip: #2c2c2e;
    --hl: #5a4c00;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 50px rgba(0, 0, 0, .38);
    --shadow-hover: 0 20px 55px rgba(0, 0, 0, .5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.55 var(--font-text);
  letter-spacing: -.008em;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 420px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% -20%, rgba(0, 113, 227, .09), transparent 64%);
}

button, input, select, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(100%, 1180px); margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
}
@media (prefers-color-scheme: dark) { .topbar { background: rgba(22, 22, 23, .78); } }

.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { min-width: 0; display: flex; align-items: center; gap: 12px; }
.brand > div { min-width: 0; }
.logo {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font-family: var(--font-rounded);
  font-size: 20px;
  font-weight: 750;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.26), 0 5px 15px rgba(0, 102, 204, .18);
}
.logo img { display: block; width: 100%; height: 100%; }
.topbar h1 { margin: 0; font-family: var(--font-display); font-size: 17px; line-height: 1.3; font-weight: 650; letter-spacing: -.025em; }
.sub { margin: 2px 0 0; overflow: hidden; color: var(--ink2); font-size: 11.5px; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.header-actions { flex: none; display: flex; align-items: center; gap: 10px; }
.tabs { flex: none; display: flex; align-items: center; gap: 3px; }
.tab {
  position: relative;
  min-height: 38px;
  padding: 7px 13px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink2);
  font-family: var(--font-display);
  cursor: pointer;
  font-size: 13px;
  transition: color .2s ease, background .2s ease;
}
.tab:hover { background: var(--surface); color: var(--ink); }
.tab.active { background: var(--surface); color: var(--ink); font-weight: 600; }
.tab.active::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 4px;
  left: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.lang-switch { display: flex; padding: 3px; border-radius: 10px; background: var(--surface); }
.lang-option { min-width: 38px; height: 31px; padding: 0 9px; border: 0; border-radius: 8px; background: transparent; color: var(--ink3); cursor: pointer; font-family: var(--font-display); font-size: 11px; font-weight: 600; transition: color .18s ease, background .18s ease, box-shadow .18s ease; }
.lang-option:hover { color: var(--ink); }
.lang-option.active { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.tab:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(0, 113, 227, .28);
  outline-offset: 2px;
}

/* ---------- 搜索 ---------- */
.searchbar {
  position: relative;
  display: flex;
  gap: 8px;
  margin: 46px 0 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.searchbar:focus-within { border-color: rgba(0, 113, 227, .35); box-shadow: 0 0 0 4px rgba(0, 113, 227, .08), var(--shadow); }
.searchbar input {
  min-width: 0;
  height: 50px;
  flex: 1;
  padding: 0 16px;
  border: 0;
  border-radius: 15px;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -.015em;
}
.searchbar input::placeholder { color: var(--ink3); }
.searchbar button {
  height: 50px;
  padding: 0 23px;
  border: 0;
  border-radius: 15px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: transform .18s ease, background .18s ease;
}
.searchbar button:hover { background: var(--brand-strong); transform: scale(1.015); }
.searchbar button:active { transform: scale(.98); }
.searchbar button span { display: inline-block; margin-left: 4px; transition: transform .18s ease; }
.searchbar button:hover span { transform: translateX(2px); }
.searchbar button.ghost { padding: 0 17px; background: var(--surface); color: var(--ink); }
.searchbar button.ghost:hover { background: var(--surface-strong); }

.suggest { position: relative; }
.suggest ul {
  position: absolute;
  z-index: 40;
  top: 1px;
  right: 190px;
  left: 8px;
  max-height: 340px;
  margin: 0;
  padding: 7px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 50px rgba(0,0,0,.14);
  list-style: none;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
@media (prefers-color-scheme: dark) { .suggest ul { background: rgba(36,36,38,.94); } }
.suggest li { display: flex; justify-content: space-between; gap: 18px; padding: 11px 13px; border-radius: 12px; cursor: pointer; transition: background .15s ease; }
.suggest li:hover, .suggest li.on { background: var(--brand-soft); }
.suggest .sw { font-weight: 620; }
.suggest .sc { color: var(--ink2); font-size: 13px; }
.status { min-height: 23px; margin: 0 12px 20px; color: var(--ink2); font-size: 12.5px; }
.status b { color: var(--ink); font-weight: 620; }

/* ---------- 首屏 ---------- */
.welcome {
  position: relative;
  min-height: 530px;
  margin: 18px 0 42px;
  padding: 88px 64px 52px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 17% 0%, rgba(41, 151, 255, .14), transparent 36%),
    radial-gradient(circle at 88% 18%, rgba(191, 90, 242, .1), transparent 30%),
    var(--card);
  box-shadow: 0 24px 70px rgba(0,0,0,.06);
  isolation: isolate;
}
.welcome::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  width: 620px;
  height: 360px;
  transform: translateX(-50%);
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,113,227,.14), transparent 68%);
  filter: blur(24px);
  z-index: -1;
}
.welcome-copy { position: relative; z-index: 1; max-width: 850px; margin: 0 auto; text-align: center; }
.eyebrow { color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.welcome h2 {
  max-width: 820px;
  margin: 14px auto 16px;
  background: linear-gradient(112deg, var(--ink) 10%, #164e91 64%, #7a3fb1 118%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 66px);
  line-height: 1.08;
  font-weight: 720;
  letter-spacing: -.06em;
  text-wrap: balance;
}
@media (prefers-color-scheme: dark) {
  .welcome h2 { background-image: linear-gradient(112deg, #f5f5f7 10%, #64b5ff 68%, #d59bff 118%); }
}
.welcome p { margin: 0; color: var(--ink2); font-size: clamp(17px, 2vw, 21px); letter-spacing: -.025em; }
.quick-words { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 28px; color: var(--ink3); font-size: 12px; }
.quick-word {
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  cursor: pointer;
  font: 600 12.5px/1.35 var(--font-serif);
  transition: transform .18s ease, background .18s ease;
}
.quick-word:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }
.feature-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 62px; }
.feature {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 8px 28px rgba(0,0,0,.04);
  text-align: left;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}
@media (prefers-color-scheme: dark) { .feature { background: rgba(44,44,46,.68); } }
.feature b { margin-bottom: 5px; font-family: var(--font-display); font-size: 16px; font-weight: 650; letter-spacing: -.025em; }
.feature span { color: var(--ink2); font-size: 13px; }

/* ---------- 页面标题 / 通用卡片 ---------- */
.page-heading { max-width: 800px; margin: 76px auto 34px; text-align: center; }
.page-heading h2 { margin: 12px 0 10px; font-family: var(--font-display); font-size: clamp(42px, 6vw, 62px); line-height: 1.08; font-weight: 720; letter-spacing: -.055em; text-wrap: balance; }
.page-heading p { margin: 0; color: var(--ink2); font-size: 19px; letter-spacing: -.02em; text-wrap: balance; }
.panel { margin: 18px 0; padding: 36px 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.panel h2 { margin: 0 0 7px; font-family: var(--font-display); font-size: 28px; letter-spacing: -.035em; }
.panel h3 { margin: 28px 0 11px; font-family: var(--font-display); font-size: 19px; letter-spacing: -.025em; }
.hint { margin: 5px 0 13px; color: var(--ink2); font-size: 13px; }
.page-panel { margin-bottom: 32px; }
#result > .panel { animation: card-in .45s cubic-bezier(.2,.8,.2,1) both; }
#result > .panel:nth-child(2) { animation-delay: .05s; }
#result > .panel:nth-child(3) { animation-delay: .1s; }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 单词概览 ---------- */
.word-overview { padding-top: 42px; }
.head-card { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.word { margin: 0 8px 0 0; font-family: var(--font-serif); font-size: clamp(42px, 6vw, 58px); line-height: 1; font-weight: 700; letter-spacing: -.045em; }
.ph { color: var(--ink2); font: 16px/1.5 var(--font-serif); }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px; border: 0; border-radius: 999px; background: var(--chip); color: var(--ink2); font-size: 12px; }
.tag.lv { background: var(--brand-soft); color: var(--brand); }
.tag.source-tag { background: #edf8f0; color: #248a3d; }
.tag.warn-tag { background: #fff3d6; color: #8a5a00; }
@media (prefers-color-scheme: dark) {
  .tag.source-tag { background: rgba(48, 209, 88, .14); color: #30d158; }
  .tag.warn-tag { background: #4a3700; color: #ffd479; }
}
.stars { margin-left: 5px; color: var(--accent); letter-spacing: 1px; font-size: 13px; }
.stars .off { color: var(--surface-strong); }

.gaokao { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 34px 0 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.gk-item { min-width: 0; padding: 22px 24px; }
.gk-item + .gk-item { border-left: 1px solid var(--line); }
.gk-item .k { overflow-wrap: anywhere; color: var(--ink2); font-size: 11.5px; }
.gk-item .v { margin: 4px 0 2px; color: var(--ink); font-family: var(--font-rounded); font-size: 28px; line-height: 1.25; font-weight: 700; letter-spacing: -.04em; }
.gk-item .v small { margin-left: 2px; color: var(--ink2); font-size: 12px; font-weight: 450; letter-spacing: 0; }
.gk-item .v.first-year { font-size: 22px; }
.gk-item .v.forms { font-size: 14px; line-height: 1.55; letter-spacing: -.01em; }
.bars { margin-top: 14px; padding: 20px 22px; border-radius: 20px; background: var(--surface); }
.word-overview > .bars:last-child { max-height: 320px; overflow: auto; scrollbar-gutter: stable; }
.bars-title { margin-bottom: 10px; color: var(--ink); font-size: 13px; font-weight: 630; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 40px; align-items: center; gap: 12px; margin: 7px 0; color: var(--ink2); font-size: 12px; }
.bar { height: 6px; overflow: hidden; border-radius: 999px; background: var(--surface-strong); }
.bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0071e3, #5ac8fa); }
.bar-row .n { text-align: right; color: var(--ink3); font-variant-numeric: tabular-nums; }

/* ---------- 释义与用法 ---------- */
.detail-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.detail-panel > .block { min-width: 0; margin: 0; padding: 24px; border-radius: 21px; background: var(--surface); }
.detail-panel > .senses-block { grid-column: 1 / -1; background: linear-gradient(135deg, var(--brand-soft), var(--surface)); }
.detail-panel.pending-panel { display: block; }
.detail-panel.pending-panel > .block { margin-top: 14px; }
.block { margin: 22px 0; }
.block > h4 { margin: 0 0 15px; color: var(--ink); font-family: var(--font-display); font-size: 16px; font-weight: 650; letter-spacing: -.025em; }
.senses { margin: 0; padding: 0; list-style: none; }
.senses li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.senses li:first-child { padding-top: 0; }
.senses li:last-child { padding-bottom: 0; border-bottom: 0; }
.pos { width: 52px; flex: none; color: var(--brand); font: 700 13px/1.6 var(--font-serif); }
.cn { font-size: 16px; font-weight: 620; }
.en { color: var(--ink2); font: italic 14px/1.65 var(--font-serif); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; border: 0; border-radius: 999px; background: var(--card); color: var(--ink); cursor: pointer; font-size: 13px; box-shadow: inset 0 0 0 1px var(--line); transition: color .18s ease, background .18s ease, transform .18s ease; }
.chip:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }
.chip.static { cursor: default; }
.chip.static:hover { background: var(--card); color: var(--ink); transform: none; }
ul.plain { margin: 0; padding-left: 18px; }
ul.plain li { margin: 8px 0; padding-left: 2px; }
.ce { font: 650 14px/1.6 var(--font-serif); }
.cc { color: var(--ink2); font-size: 13px; }
.conf { padding-left: 0 !important; list-style: none; }
.conf li { margin: 9px 0; line-height: 1.7; }
.cfx { display: inline-grid; width: 22px; height: 22px; margin: 0 7px; place-items: center; border-radius: 50%; background: var(--card); color: var(--brand); font-weight: 750; }

/* ---------- 真题原句 ---------- */
.examples-panel { padding-bottom: 28px; }
.examples-panel > .block { margin: 0; }
.examples-panel .block > h4 { margin-bottom: 20px; font-size: 21px; }
#sents { display: grid; gap: 12px; }
.sent { position: relative; margin: 0; padding: 22px 24px; border: 1px solid transparent; border-radius: 20px; background: var(--surface); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.sent:hover { border-color: var(--line); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0,0,0,.045); }
.sent .st { color: var(--ink); font: 16px/1.75 var(--font-serif); letter-spacing: -.005em; }
.sent mark { padding: 1px 3px; border-radius: 5px; background: var(--hl); color: inherit; font-weight: 720; }
.sent .meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 13px; color: var(--ink2); font-size: 11.5px; }
.badge { padding: 4px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.badge.item { background: var(--surface-strong); color: var(--ink2); }
.badge.mine { background: #fff0dc; color: #a45100; }
@media (prefers-color-scheme: dark) { .badge.mine { background: #47301a; color: #ffb66e; } }
.empty { padding: 54px 20px; color: var(--ink2); text-align: center; }
.empty p:first-child { color: var(--ink); font-size: 18px; }
.warn { padding: 15px 17px; border: 1px solid #f2d799; border-radius: 16px; background: #fff8e8; color: #6f5100; font-size: 13.5px; }
@media (prefers-color-scheme: dark) { .warn { border-color: #66511f; background: #332a13; color: #e4c876; } }

/* ---------- 词表 ---------- */
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.filters input, .filters select { min-height: 46px; padding: 0 14px; border: 1px solid transparent; border-radius: 14px; outline: 0; background: var(--surface); color: var(--ink); font-size: 13px; transition: border-color .18s ease, background .18s ease; }
.filters input { min-width: 240px; flex: 1; }
.filters input:focus, .filters select:focus { border-color: rgba(0,113,227,.4); background: var(--card); }
.count { margin-left: auto; color: var(--ink2); font-size: 12px; }
.wordlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.wl-item { width: 100%; min-width: 0; min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 17px; border: 1px solid transparent; border-radius: 18px; background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; text-align: left; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.wl-item:hover { border-color: var(--line); background: var(--card); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.07); }
.wl-item > span:first-child { min-width: 0; }
.wl-w { font-family: var(--font-serif); font-size: 17px; font-weight: 650; letter-spacing: -.02em; }
.wl-c { display: block; overflow: hidden; margin-top: 2px; color: var(--ink2); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.wl-r { flex: none; color: var(--ink3); font-size: 11px; white-space: nowrap; }
.result-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1080px; margin: 0 auto 8px; padding: 0 4px; color: var(--ink3); font-size: 11px; }
.result-toolbar button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--card); color: var(--brand); cursor: pointer; font-weight: 600; }
.list-more { display: block; min-width: 150px; height: 46px; margin: 24px auto 0; padding: 0 20px; border: 0; border-radius: 14px; background: var(--brand); color: #fff; cursor: pointer; font-weight: 600; transition: background .18s ease, transform .18s ease; }
.list-more:hover { background: var(--brand-strong); transform: translateY(-1px); }

/* ---------- 学习 / 复习 ---------- */
.word-actions { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; }
.word-action { min-height: 34px; padding: 6px 13px; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 600; }
.word-action.speak { width: 38px; padding: 0; color: var(--brand); }
.word-action.save { background: var(--brand); color: #fff; }
.word-action.save.saved { background: #edf8f0; color: var(--ok); }

.study-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 12px; }
.study-summary > div { min-height: 130px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border-radius: 24px; background: var(--card); }
.study-summary > div:first-child { background: var(--brand); color: #fff; }
.study-summary b { font: 700 42px/1 var(--font-rounded); letter-spacing: -.06em; }
.study-summary span { margin-top: 8px; color: var(--ink2); font-size: 12px; }
.study-summary > div:first-child span { color: rgba(255,255,255,.75); }
.study-actions { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; margin-bottom: 12px; }
.study-actions button { min-height: 58px; border: 0; border-radius: 999px; cursor: pointer; font-weight: 650; }
.study-primary { background: var(--ink); color: var(--card); }
.study-primary:disabled { opacity: .4; cursor: not-allowed; }
.study-secondary { background: var(--card); color: var(--ink); }
.study-panel { margin-top: 12px; }
.study-section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.study-section-head h3 { margin: 5px 0 0; font-size: 28px; }
.report-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.report-metrics > div { padding: 18px; border-radius: 18px; background: var(--surface); }
.report-metrics b { display: block; font: 700 28px/1.1 var(--font-rounded); }
.report-metrics span { display: block; margin-top: 5px; color: var(--ink2); font-size: 11px; }
.week-chart { height: 180px; display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.week-chart > div { height: 100%; display: grid; grid-template-rows: 1fr auto auto; align-items: end; justify-items: center; gap: 5px; }
.week-chart i { width: min(34px, 70%); min-height: 5px; border-radius: 999px 999px 5px 5px; background: linear-gradient(#2997ff, #0071e3); }
.week-chart b { font-size: 11px; }
.week-chart span { color: var(--ink3); font-size: 10px; }

.family-row { display: grid; grid-template-columns: 140px 40px 1fr; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.family-row:last-child { border-bottom: 0; }
.family-root { border: 0; background: transparent; color: var(--ink); cursor: pointer; font: 700 19px/1.3 var(--font-serif); text-align: left; }
.family-line { height: 1px; background: var(--line); }
.family-members { display: flex; flex-wrap: wrap; gap: 7px; }
.family-members button { padding: 6px 11px; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink2); cursor: pointer; }

.wordbook-list { display: grid; gap: 8px; }
.wordbook-item { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 9px; padding: 12px 14px; border-radius: 18px; background: var(--surface); }
.wordbook-main { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; border: 0; background: transparent; color: var(--ink); cursor: pointer; text-align: left; }
.wordbook-main b { font: 700 17px/1.3 var(--font-serif); }
.wordbook-main span { width: 100%; overflow: hidden; color: var(--ink2); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.wordbook-state { padding: 4px 9px; border-radius: 999px; background: var(--card); color: var(--brand); font-size: 10px; white-space: nowrap; }
.mini-action { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--card); color: var(--brand); cursor: pointer; }
.mini-action.danger { color: #d70015; }
.study-empty { padding: 36px 18px; border-radius: 18px; background: var(--surface); color: var(--ink2); text-align: center; }

.learning-shell { max-width: 900px; min-height: 560px; margin: 48px auto; }
.learning-top { display: grid; grid-template-columns: 36px auto 1fr; align-items: center; gap: 14px; }
.learning-top > button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 18px; }
.learning-top > span { color: var(--ink2); font-size: 12px; }
.learning-progress { height: 5px; overflow: hidden; border-radius: 999px; background: var(--surface); }
.learning-progress i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.learning-card { max-width: 680px; margin: 70px auto 0; text-align: center; }
.learning-prompt { margin: 18px auto 12px; color: var(--ink); font: 650 30px/1.4 var(--font-display); }
.learning-prompt.cloze { font: 20px/1.75 var(--font-serif); }
.learning-card > p { color: var(--ink2); }
#review-answer-form { display: flex; gap: 8px; margin: 28px auto 0; }
#review-answer-form input { min-width: 0; height: 54px; flex: 1; padding: 0 18px; border: 0; border-radius: 999px; outline: 0; background: var(--surface); color: var(--ink); font-size: 17px; }
#review-answer-form button { min-width: 110px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; cursor: pointer; font-weight: 650; }
.answer-result { display: grid; gap: 5px; margin-top: 20px; padding: 16px; border-radius: 18px; text-align: left; }
.answer-result.correct { background: #edf8f0; color: #176b31; }
.answer-result.wrong { background: #fff1f0; color: #a51c22; }
.answer-result span { font-size: 13px; }
.answer-result button { width: max-content; padding: 5px 10px; border: 0; border-radius: 999px; background: rgba(255,255,255,.8); color: inherit; cursor: pointer; }
.rating-row { display: grid; grid-template-columns: 1fr repeat(4, auto); align-items: center; gap: 7px; margin-top: 12px; }
.rating-row span { color: var(--ink2); font-size: 12px; text-align: left; }
.rating-row button { min-height: 38px; padding: 0 13px; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; }
.rating-row button.primary { background: var(--brand); color: #fff; }

.confusion-card h2 { margin: 18px 0 10px; font-size: 28px; }
.confusion-hint { margin: 20px 0 26px; padding: 22px; border-radius: 18px; background: var(--surface); font-size: 18px; }
.confusion-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.confusion-options button { min-height: 54px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--ink); cursor: pointer; font: 650 17px/1 var(--font-serif); }
.confusion-options button.correct { border-color: #30a14e; background: #edf8f0; color: #176b31; }
.confusion-options button.wrong { border-color: #d70015; background: #fff1f0; color: #a51c22; }
#confusion-feedback { margin-top: 18px; }
#confusion-feedback button, .session-complete button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; cursor: pointer; font-weight: 650; }
.session-complete { display: grid; min-height: 470px; place-content: center; justify-items: center; text-align: center; }
.session-complete > span { width: 86px; height: 86px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font: 700 30px/1 var(--font-rounded); }
.session-complete h2 { margin-top: 24px; font-size: 38px; }
.session-complete p { max-width: 520px; color: var(--ink2); }

@media (prefers-color-scheme: dark) {
  .word-action.save.saved, .answer-result.correct, .confusion-options button.correct { background: rgba(48,209,88,.14); color: #5ee577; }
  .answer-result.wrong, .confusion-options button.wrong { background: rgba(255,69,58,.14); color: #ff6961; }
}

/* ---------- 语料库 ---------- */
.statgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 6px 0 34px; }
.statgrid div { min-width: 0; padding: 22px 20px; border-radius: 20px; background: var(--surface); }
.statgrid b { display: block; color: var(--ink); font-family: var(--font-rounded); font-size: 34px; line-height: 1.1; letter-spacing: -.05em; }
.statgrid span { display: block; margin-top: 6px; color: var(--ink2); font-size: 11.5px; }
.doclist { max-height: 460px; overflow: auto; border-radius: 18px; background: var(--surface); }
.doclist .d { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.doclist .d:last-child { border-bottom: 0; }
.doclist .y { width: 64px; flex: none; color: var(--brand); font-weight: 650; font-variant-numeric: tabular-nums; }
.doclist .s { min-width: 0; display: flex; flex: 1; flex-wrap: wrap; gap: 5px; color: var(--ink2); }
.section-pill { padding: 3px 8px; border-radius: 999px; background: var(--card); font-size: 10.5px; white-space: nowrap; }
.section-pill b { color: var(--brand); font-weight: 650; }
.doclist .t { margin-left: auto; color: var(--ink3); font-size: 11px; text-align: right; }
.importrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.importrow input { min-height: 46px; flex: 1; padding: 0 14px; border: 1px solid transparent; border-radius: 14px; outline: 0; background: var(--surface); color: var(--ink); }
.importrow input:focus { border-color: rgba(0,113,227,.4); }
.importrow button, #btn-import { min-height: 44px; padding: 0 18px; border: 0; border-radius: 13px; background: var(--brand); color: #fff; cursor: pointer; font-weight: 600; }
.importrow button.ghost { background: var(--surface); color: var(--ink2); }
textarea { width: 100%; padding: 16px; border: 1px solid transparent; border-radius: 17px; outline: 0; background: var(--surface); color: var(--ink); font: 14px/1.7 var(--font-serif); resize: vertical; }
textarea:focus { border-color: rgba(0,113,227,.4); }

/* ---------- 关于 ---------- */
.prose { max-width: 960px; margin: 0 auto; color: var(--ink2); font-size: 15px; line-height: 1.75; }
.prose > p:first-child { color: var(--ink); font-size: 18px; line-height: 1.65; }
.prose h3 { margin: 44px 0 12px; color: var(--ink); font-family: var(--font-display); font-size: 23px; letter-spacing: -.035em; }
.prose ul { padding-left: 22px; }
.prose li { margin: 8px 0; }
.prose b { color: var(--ink); }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--surface); color: var(--ink); font-size: 12.5px; }
.prose pre { padding: 20px 22px; overflow: auto; border-radius: 18px; background: #1d1d1f; color: #f5f5f7; font-size: 12.5px; line-height: 1.7; }
.prose table { width: 100%; margin: 15px 0; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.prose td, .prose th { padding: 10px 13px; border-right: 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: var(--surface); color: var(--ink); }
.about-lead { padding: 42px; border-radius: 24px; background: linear-gradient(135deg, var(--brand-soft), var(--surface)); text-align: center; }
.about-kicker { color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.about-lead h3 { max-width: 720px; margin: 10px auto 13px; font-size: clamp(28px, 4vw, 40px); line-height: 1.2; text-wrap: balance; }
.about-lead p { max-width: 760px; margin: 0 auto; color: var(--ink2); font-size: 16px; }
.about-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 0; }
.about-metrics div { padding: 20px; border-radius: 18px; background: var(--surface); text-align: center; }
.about-metrics b { display: block; font-family: var(--font-rounded); font-size: 30px; line-height: 1.1; letter-spacing: -.05em; }
.about-metrics span { display: block; margin-top: 5px; color: var(--ink3); font-size: 11px; }
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.about-card { min-width: 0; padding: 22px; border-radius: 20px; background: var(--surface); }
.about-card b { display: block; margin-top: 9px; font-family: var(--font-display); font-size: 16px; }
.about-card p { margin: 5px 0 0; color: var(--ink2); font-size: 13.5px; }
.about-icon { min-width: 35px; height: 35px; display: inline-grid; padding: 0 8px; place-items: center; border-radius: 11px; background: var(--brand-soft); color: var(--brand); font-family: var(--font-serif); font-size: 15px; font-weight: 700; }
.about-steps { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; }
.about-steps > div { display: flex; gap: 13px; padding: 22px; }
.about-steps > div + div { border-left: 1px solid var(--line); }
.about-steps span { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-rounded); font-size: 12px; font-weight: 700; }
.about-steps p { margin: 0; color: var(--ink2); font-size: 13px; }
.about-steps b { color: var(--ink); font-family: var(--font-display); font-size: 15px; }
.about-notice, .about-open { padding: 22px 24px; border-radius: 20px; background: var(--brand-soft); }
.about-notice p, .about-open p { margin: 0; }
.about-notice p + p { margin-top: 8px; }
.privacy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.privacy-grid .about-card b { margin-top: 0; }
.about-limits { margin: 0; padding: 20px 24px 20px 42px !important; border-radius: 20px; background: var(--surface); }
.about-limits li { padding-left: 4px; }
.about-open a { color: var(--brand); font-weight: 650; text-decoration: none; }
.about-open a:hover { text-decoration: underline; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 30px; padding-bottom: 52px; color: var(--ink3); font-size: 11.5px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .topbar-inner { min-height: 70px; }
  .sub { max-width: 390px; }
  .welcome { min-height: auto; padding: 72px 42px 44px; }
  .feature-grid { margin-top: 48px; }
  .gaokao { grid-template-columns: repeat(2, 1fr); }
  .gk-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .gk-item:nth-child(4) { border-top: 1px solid var(--line); }
  .detail-panel { grid-template-columns: 1fr; }
  .detail-panel > .senses-block { grid-column: auto; }
  .statgrid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .wrap { padding-right: 16px; padding-left: 16px; }
  .topbar-inner { align-items: flex-start; flex-wrap: wrap; gap: 8px; padding-top: 10px; padding-bottom: 9px; }
  .brand { width: 100%; }
  .logo { width: 36px; height: 36px; border-radius: 10px; font-size: 18px; }
  .topbar h1 { font-size: 15px; }
  .sub { max-width: calc(100vw - 86px); font-size: 10.5px; }
  .tabs { width: 100%; overflow-x: auto; padding-bottom: 1px; scrollbar-width: none; }
  .header-actions { width: 100%; gap: 7px; }
  .header-actions .tabs { width: auto; flex: 1; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 1 0 auto; min-height: 33px; padding: 6px 9px; }
  .lang-switch { flex: none; }
  .searchbar { display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; padding: 7px; border-radius: 19px; }
  .searchbar input { grid-column: 1 / -1; height: 48px; padding: 0 12px; font-size: 16px; }
  .searchbar button { height: 44px; border-radius: 13px; }
  .suggest ul { right: 0; left: 0; }
  .status { margin-left: 6px; }
  .welcome { margin-top: 14px; padding: 58px 22px 26px; border-radius: 28px; }
  .welcome h2 { font-size: 42px; }
  .welcome p { font-size: 17px; }
  .quick-words > span { width: 100%; }
  .feature-grid { grid-template-columns: 1fr; gap: 9px; margin-top: 38px; }
  .feature { min-height: 90px; padding: 17px 18px; }
  .page-heading { margin-top: 50px; }
  .page-heading h2 { font-size: 42px; }
  .page-heading p { font-size: 16px; }
  .panel { padding: 26px 22px; border-radius: 23px; }
  .word-overview { padding-top: 30px; }
  .word { width: 100%; font-size: 43px; }
  .gaokao { grid-template-columns: 1fr; margin-top: 26px; }
  .gk-item + .gk-item { border-top: 1px solid var(--line); border-left: 0; }
  .bar-row { grid-template-columns: 100px 1fr 30px; gap: 8px; }
  .detail-panel { gap: 10px; }
  .detail-panel > .block { padding: 20px; }
  .sent { padding: 19px 18px; }
  .sent .st { font-size: 15px; }
  .filters > * { width: 100%; }
  .count { width: auto; margin: 2px 0 0; }
  .wordlist { grid-template-columns: 1fr; }
  .statgrid { grid-template-columns: repeat(2, 1fr); }
  .statgrid div { padding: 18px 16px; }
  .doclist .d { align-items: flex-start; flex-wrap: wrap; }
  .doclist .t { width: 100%; margin-left: 78px; text-align: left; }
  .importrow input { min-width: 100%; }
  .prose { font-size: 14px; }
  .prose h3 { font-size: 21px; }
  .about-lead { padding: 30px 20px; }
  .about-lead p { font-size: 14px; }
  .about-metrics { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .privacy-grid { grid-template-columns: 1fr; }
  .about-steps { grid-template-columns: 1fr; }
  .about-steps > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .foot { flex-direction: column; }
}

@media (max-width: 390px) {
  .welcome h2 { font-size: 36px; }
  .statgrid { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 88px 1fr 26px; font-size: 11px; }
}

/* ---------- Apple.com.cn 比例与节奏精修 ---------- */
.topbar {
  border-bottom: 0;
  background: rgba(22, 22, 23, .92);
  color: #f5f5f7;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.topbar .wrap { width: min(100%, 1040px); }
.topbar-inner { min-height: 44px; gap: 22px; }
.logo { width: 27px; height: 27px; border-radius: 8px; font-size: 14px; box-shadow: none; }
.brand { gap: 8px; }
.topbar h1 { color: #f5f5f7; font-size: 13px; font-weight: 550; letter-spacing: -.01em; white-space: nowrap; }
.topbar .sub { display: none; }
.header-actions { gap: 18px; }
.tabs { gap: 24px; }
.tab { min-height: 44px; padding: 0; border-radius: 0; color: #d2d2d7; font-size: 12px; font-weight: 400; }
.tab:hover { background: transparent; color: #fff; }
.tab.active { background: transparent; color: #fff; font-weight: 500; }
.tab.active::after { right: 0; bottom: 0; left: 0; height: 1px; background: #2997ff; }
.lang-switch { padding: 2px; border-radius: 999px; background: #2c2c2e; }
.lang-option { min-width: 34px; height: 28px; padding: 0 8px; border-radius: 999px; color: #a1a1a6; }
.lang-option.active { background: #f5f5f7; color: #1d1d1f; box-shadow: none; }

.searchbar { max-width: 980px; margin: 28px auto 8px; padding: 6px; border: 0; border-radius: 999px; box-shadow: 0 4px 22px rgba(0,0,0,.08); }
.searchbar:focus-within { border-color: transparent; box-shadow: 0 0 0 4px rgba(0,113,227,.16), 0 4px 22px rgba(0,0,0,.08); }
.searchbar input { height: 48px; padding-left: 20px; border-radius: 999px; }
.searchbar button { height: 48px; border-radius: 999px; }
.searchbar button.ghost { padding-right: 21px; padding-left: 21px; }
.status { max-width: 980px; margin: 0 auto 18px; padding: 0 12px; }

.welcome {
  width: 100vw;
  min-height: 640px;
  margin: 12px 0 12px calc(50% - 50vw);
  padding: 72px max(24px, calc((100vw - 980px) / 2)) 44px;
  border: 0;
  border-radius: 0;
  background: #000;
  color: #f5f5f7;
  box-shadow: none;
}
.welcome::before {
  content: "Aa";
  top: 210px;
  left: 50%;
  width: auto;
  height: auto;
  transform: translateX(-50%);
  background: none;
  color: rgba(255,255,255,.07);
  filter: none;
  font: 700 clamp(180px, 25vw, 340px)/1 var(--font-serif);
  letter-spacing: -.12em;
  white-space: nowrap;
}
.welcome::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 18%, rgba(41,151,255,.22), transparent 30%),
    radial-gradient(circle at 80% 34%, rgba(126,87,194,.18), transparent 31%);
}
.welcome .eyebrow { color: #6eb6ff; }
.welcome h2 { max-width: 880px; margin-top: 12px; background-image: linear-gradient(105deg, #fff 4%, #f5f5f7 56%, #78b8ff 108%); font-size: clamp(48px, 5vw, 64px); font-weight: 650; letter-spacing: -.055em; }
.welcome p { color: #f5f5f7; font-size: 24px; line-height: 1.35; }
.quick-words { color: #a1a1a6; }
.quick-word { background: #0071e3; color: #fff; }
.quick-word:hover { background: #0077ed; }
.feature-grid { max-width: 980px; margin: 72px auto 0; }
.feature { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.075); box-shadow: none; }
.feature b { color: #f5f5f7; }
.feature span { color: #a1a1a6; }

.page-heading { margin-top: 72px; margin-bottom: 42px; }
.page-heading h2 { font-size: clamp(48px, 5vw, 64px); font-weight: 650; }
.page-heading p { font-size: 21px; }
.panel { margin: 12px 0; padding: 44px 40px; border: 0; box-shadow: none; }
.word-overview { padding-top: 48px; }
.sent:hover { box-shadow: none; }
.wl-item:hover { box-shadow: none; }
.filters input, .filters select, .importrow input, textarea { border-color: transparent; }
.filters input, .filters select { border-radius: 999px; }
.list-more { border-radius: 999px; }
.foot { max-width: 980px; padding-top: 22px; }

@media (max-width: 900px) {
  .tabs { gap: 16px; }
  .welcome { padding-right: 34px; padding-left: 34px; }
}

@media (max-width: 680px) {
  .topbar .wrap { padding-right: 16px; padding-left: 16px; }
  .topbar-inner { min-height: 80px; align-items: center; gap: 0; padding: 5px 0 3px; }
  .brand { height: 34px; }
  .brand > div { display: flex; align-items: center; }
  .logo { width: 28px; height: 28px; border-radius: 8px; font-size: 15px; }
  .topbar h1 { font-size: 13px; }
  .header-actions { height: 38px; gap: 8px; }
  .header-actions .tabs { gap: 12px; }
  .tab { min-height: 36px; padding: 0; font-size: 12px; }
  .lang-option { min-width: 32px; height: 27px; }
  .searchbar { margin-top: 16px; border-radius: 20px; }
  .searchbar input { border-radius: 15px; }
  .searchbar button { border-radius: 999px; }
  .welcome { width: 100vw; min-height: 650px; margin-top: 12px; margin-left: calc(50% - 50vw); padding: 52px 20px 30px; border-radius: 0; }
  .welcome::before { top: 230px; font-size: 190px; }
  .welcome h2 { font-size: 40px; line-height: 1.08; }
  .welcome p { font-size: 19px; }
  .feature-grid { display: flex; gap: 10px; margin-top: 170px; padding-bottom: 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .feature-grid::-webkit-scrollbar { display: none; }
  .feature { min-height: 98px; flex: 0 0 250px; scroll-snap-align: center; }
  .page-heading { margin-top: 48px; margin-bottom: 30px; }
  .page-heading h2 { font-size: 40px; }
  .page-heading p { font-size: 17px; }
  .panel { margin: 12px 0; padding: 28px 22px; }
  .word-actions { width: 100%; margin: 5px 0 0; }
  .study-summary { grid-template-columns: repeat(2, 1fr); }
  .study-summary > div { min-height: 110px; padding: 18px; }
  .study-summary b { font-size: 36px; }
  .study-actions { grid-template-columns: 1fr; }
  .study-section-head h3 { font-size: 24px; }
  .report-metrics { grid-template-columns: 1fr; }
  .week-chart { gap: 5px; }
  .family-row { grid-template-columns: 1fr; gap: 9px; }
  .family-line { display: none; }
  .wordbook-item { grid-template-columns: minmax(0, 1fr) auto auto; }
  .wordbook-state { grid-column: 1; width: max-content; }
  .learning-shell { min-height: 610px; margin: 12px 0; }
  .learning-card { margin-top: 48px; }
  .learning-prompt { font-size: 25px; }
  #review-answer-form { display: grid; grid-template-columns: 1fr; }
  #review-answer-form button { min-height: 48px; }
  .rating-row { grid-template-columns: repeat(2, 1fr); }
  .rating-row span { grid-column: 1 / -1; text-align: center; }
  .confusion-options { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
