:root {
  --blue: #1c5eb4;
  --blue-soft: #eaf4fb;
  --ink: #25313b;
  --muted: #718899;
  --teal: #159d91;
  --gold: #f2c94c;
  --line: #d8e6ef;
  color-scheme: light;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Avenir Next", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; color: var(--ink); background: #f7fafc; }
button, input { font: inherit; }
.shell { width: 100%; max-width: 620px; min-height: 100vh; margin: 0 auto; background: #fff; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.brand { color: var(--blue); font-weight: 800; font-size: 18px; }
.unit { color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.main { padding: 18px 18px 30px; }
.visual { display: grid; place-items: center; min-height: 205px; background: var(--blue-soft); border-radius: 8px; overflow: hidden; }
.visual img { display: block; max-width: 82%; max-height: 190px; object-fit: contain; }
h1 { margin: 18px 0 2px; color: var(--blue); text-align: center; font-size: 34px; line-height: 1.15; letter-spacing: 0; }
.meaning { margin: 0 0 18px; color: var(--muted); text-align: center; font-size: 15px; }
.audio-list { display: grid; gap: 10px; }
.audio-button { width: 100%; min-height: 52px; padding: 10px 14px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; text-align: left; cursor: pointer; }
.audio-button:active, .audio-button.is-playing { border-color: var(--teal); background: #f0fbf9; }
.play { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 14px; }
.audio-button.is-playing .play { background: var(--teal); }
.audio-label { display: block; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.audio-copy { display: block; margin-top: 2px; font-size: 15px; line-height: 1.35; }
.section { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.section-title { margin: 0 0 8px; color: var(--teal); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.section p { margin: 4px 0; line-height: 1.55; }
.cn { color: var(--muted); font-size: 14px; }
.talk { margin-top: 14px; padding: 14px; border-radius: 8px; background: #f4d35e; color: var(--ink); }
.talk .section-title { color: var(--blue); }
.talk .cn { color: #52606d; }
.footer { padding: 18px; color: var(--muted); font-size: 11px; text-align: center; }
.index-shell { width: 100%; max-width: 860px; margin: 0 auto; padding: 24px 18px 40px; }
.index-head { display: flex; gap: 14px; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.index-head h1 { margin: 0; text-align: left; font-size: 28px; }
.search { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; outline: none; }
.search:focus { border-color: var(--blue); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 16px; }
.card-link { padding: 14px; border: 1px solid var(--line); border-radius: 8px; color: inherit; text-decoration: none; }
.card-link:hover { border-color: var(--blue); background: var(--blue-soft); }
.card-word { display: block; color: var(--blue); font-size: 18px; font-weight: 800; }
.card-meta { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
@media (max-width: 420px) {
  .main { padding-inline: 14px; }
  h1 { font-size: 30px; }
  .visual { min-height: 185px; }
}
