/* ========== Bunny的英语乐园 · 童趣风格 ========== */
:root {
  --sky: #e8f6ff;
  --ink: #3b3355;
  --muted: #8a84a3;
  --white: #fff;
  --orange: #ff9f43;  --orange-d: #e67e22;
  --purple: #a55eea;  --purple-d: #8854d0;
  --green: #2ecc71;   --green-d: #20a35a;
  --blue: #45aaf2;    --blue-d: #2d8fd5;
  --pink: #ff6b9d;    --pink-d: #e0457b;
  --yellow: #ffd32a;  --yellow-d: #f0b800;
  --red: #ff5e57;     --red-d: #d63a33;
  --radius: 22px;
  --en: "Chalkboard SE", "Comic Sans MS", "Arial Rounded MT Bold", "PingFang SC", "Microsoft YaHei", sans-serif;
  --cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Chalkboard SE", sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  font-family: var(--cn);
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, #fff 0 38px, transparent 39px),
    radial-gradient(circle at 15% 6%, #fff 0 28px, transparent 29px),
    radial-gradient(circle at 88% 14%, #fff 0 34px, transparent 35px),
    radial-gradient(circle at 92% 12%, #fff 0 24px, transparent 25px),
    linear-gradient(180deg, #bfe6ff 0%, #e8f6ff 45%, #fff8e6 100%);
  background-attachment: fixed;
  min-height: 100vh;
  font-size: 17px;
  line-height: 1.6;
}
.en { font-family: var(--en); }
button { font-family: inherit; cursor: pointer; }
input { font-family: var(--en); }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  border-bottom: 4px solid #ffe08a;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 22px; color: var(--ink); text-decoration: none; }
.logo .badge { background: var(--orange); color: #fff; border-radius: 12px; padding: 0 10px; font-family: var(--en); box-shadow: 0 3px 0 var(--orange-d); }
.topbar .spacer { flex: 1; }
.star-count { background: #fff6d6; border: 3px solid var(--yellow); border-radius: 999px; padding: 2px 14px; font-weight: 800; font-size: 18px; }
.back-btn { border: none; background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 16px; font-weight: 700; color: var(--ink); box-shadow: 0 3px 0 #d9d4ea; }
.back-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #d9d4ea; }

main { max-width: 1040px; margin: 0 auto; padding: 18px 16px 40px; }
.crumb { color: var(--muted); font-size: 15px; margin: 2px 4px 10px; }
.crumb a { color: var(--blue-d); text-decoration: none; }
h1.page-title { font-size: 28px; margin: 6px 4px 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
h1.page-title small { font-size: 16px; color: var(--muted); font-weight: 600; }
h2.sec { font-size: 21px; margin: 26px 4px 12px; }

/* ---------- 首页 ---------- */
.hero { text-align: center; padding: 10px 0 6px; }
.hero h1 { font-size: 34px; margin: 6px 0 2px; }
.hero p { margin: 0; color: var(--muted); }
.mascot { font-size: 64px; display: inline-block; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-4deg); } }

/* 季节 = 文件夹标签，选中的标签和下方面板连成一体（和单元卡片明显区分） */
.season-label { font-weight: 800; color: var(--muted); margin: 22px 6px 6px; font-size: 15px; }
.season-tabs { display: flex; gap: 8px; padding: 0 14px; align-items: flex-end; position: relative; z-index: 2; }
.season-tab {
  --c: #ffb142; --d: #c97a12; --t: #fff3dc;
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap;
  border: 4px solid transparent; border-bottom: none; border-radius: 20px 20px 0 0;
  padding: 8px 8px 10px; margin-bottom: -4px;
  background: rgba(255,255,255,.55); color: #8a84a3; font-size: 17px; font-weight: 800;
  transition: background .15s, padding .15s;
}
.season-tab:hover { background: rgba(255,255,255,.9); color: var(--d); }
.season-tab .ico { font-size: 22px; }
.season-tab small { font-size: 12px; font-weight: 600; opacity: .85; }
.season-tab.summer { --c: #ffb142; --d: #c97a12; --t: #fff3dc; }
.season-tab.autumn { --c: #ff7f50; --d: #d4521f; --t: #ffeae1; }
.season-tab.winter { --c: #7ec8e3; --d: #2f88ab; --t: #e7f6fc; }
.season-tab.spring { --c: #ff8fb1; --d: #d9547f; --t: #ffebf2; }
.season-tab.active {
  background: var(--t); color: var(--d); border-color: var(--c);
  padding-top: 14px; font-size: 20px;
}
.season-tab.active .ico { font-size: 28px; }
.season-tab.locked:not(.active) { color: #b9b4cc; }
.season-tab.locked:not(.active) .ico { filter: grayscale(.7); opacity: .6; }
.season-panel {
  --c: #ffb142; --d: #c97a12; --t: #fff3dc;
  background: var(--t); border: 4px solid var(--c); border-radius: 28px; padding: 16px 16px 20px;
  position: relative; z-index: 1;
}
.season-panel.summer { --c: #ffb142; --d: #c97a12; --t: #fff3dc; }
.season-panel.autumn { --c: #ff7f50; --d: #d4521f; --t: #ffeae1; }
.season-panel.winter { --c: #7ec8e3; --d: #2f88ab; --t: #e7f6fc; }
.season-panel.spring { --c: #ff8fb1; --d: #d9547f; --t: #ffebf2; }
.season-panel .panel-head { font-size: 20px; font-weight: 900; color: var(--d); margin: 0 4px 14px; }
.season-panel .panel-head small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.season-panel .coming { box-shadow: none; background: rgba(255,255,255,.7); }

.unit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.unit-card {
  position: relative; display: block; text-decoration: none; color: var(--ink);
  background: #fff; border-radius: var(--radius); padding: 16px 16px 14px;
  border: 4px solid #fff; box-shadow: 0 6px 0 #dcd6ef, 0 10px 24px rgba(80,60,140,.08);
  transition: transform .15s;
}
.unit-card:hover { transform: translateY(-4px) rotate(-.5deg); }
.unit-card .u-no { display: inline-block; font-family: var(--en); font-weight: 900; color: #fff; border-radius: 12px; padding: 0 10px; font-size: 15px; }
.unit-card.summer .u-no { background: var(--orange); }
.unit-card.autumn .u-no { background: #ff7f50; }
.unit-card.review { background: #fffbea; border-color: #ffe08a; }
.unit-card .u-emoji { position: absolute; right: 14px; top: 10px; font-size: 40px; }
.unit-card .u-title { font-family: var(--en); font-size: 20px; font-weight: 800; margin-top: 8px; line-height: 1.25; padding-right: 40px; }
.unit-card .u-cn { color: var(--muted); font-size: 14px; }
.unit-card .u-stars { margin-top: 6px; font-size: 14px; color: var(--yellow-d); font-weight: 700; }

.coming { text-align: center; background: #fff; border-radius: var(--radius); padding: 40px 20px; font-size: 20px; box-shadow: 0 6px 0 #dcd6ef; }
.coming .big { font-size: 70px; }

/* ---------- 首页：年级卡片 ---------- */
.level-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 300px)); justify-content: center; gap: 24px; margin: 24px 0 8px; }
.level-card {
  position: relative; border: none; border-radius: 30px; padding: 22px 14px 18px; color: #fff;
  background: var(--c); box-shadow: 0 8px 0 var(--d), 0 14px 30px rgba(80,60,140,.12);
  display: flex; flex-direction: column; align-items: center; gap: 2px; transition: transform .15s;
}
.level-card:hover { transform: translateY(-5px) rotate(-1deg); }
.level-card .lv-ico { font-size: 58px; line-height: 1.1; }
.level-card .lv-id { font-family: var(--en); font-size: 46px; font-weight: 900; line-height: 1.1; text-shadow: 0 3px 0 rgba(0,0,0,.12); }
.level-card .lv-grade { font-size: 18px; font-weight: 800; }
.level-card .lv-sub { margin-top: 8px; background: rgba(255,255,255,.28); border-radius: 999px; padding: 3px 14px; font-size: 15px; font-weight: 700; }
.level-card .lv-stars { position: absolute; top: 12px; right: 14px; background: #fff; color: var(--yellow-d); border-radius: 999px; padding: 0 10px; font-weight: 800; font-size: 14px; }
.level-card.locked { filter: grayscale(.65); opacity: .6; }
.level-card.locked:hover { transform: none; }
.level-banner {
  display: flex; align-items: center; gap: 16px; background: var(--c); color: #fff; border-radius: 26px;
  padding: 14px 22px; box-shadow: 0 7px 0 var(--d); margin-bottom: 6px;
}
.level-banner .lb-ico { font-size: 54px; }
.level-banner .lb-id { font-family: var(--en); font-size: 40px; font-weight: 900; margin-right: 12px; }
.level-banner .lb-grade { font-size: 19px; font-weight: 800; }

/* ---------- 单元页：四大模块 ---------- */
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.module-tile {
  border: none; border-radius: 26px; padding: 22px 16px; color: #fff; text-align: left; text-decoration: none;
  display: flex; flex-direction: column; gap: 4px; min-height: 150px; transition: transform .15s;
}
.module-tile:hover { transform: translateY(-4px); }
.module-tile .m-ico { font-size: 46px; line-height: 1; }
.module-tile .m-name { font-size: 26px; font-weight: 900; }
.module-tile .m-desc { font-size: 14px; opacity: .95; }
.m-words   { background: var(--orange); box-shadow: 0 7px 0 var(--orange-d); }
.m-grammar { background: var(--purple); box-shadow: 0 7px 0 var(--purple-d); }
.m-reading { background: var(--green);  box-shadow: 0 7px 0 var(--green-d); }
.m-phonics { background: var(--blue);   box-shadow: 0 7px 0 var(--blue-d); }

/* ---------- 通用卡片 / 按钮 ---------- */
.card { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: 0 6px 0 #e4dff3, 0 10px 24px rgba(80,60,140,.06); margin-bottom: 16px; }
.btn {
  border: none; border-radius: 999px; padding: 10px 22px; font-size: 18px; font-weight: 800; color: #fff;
  background: var(--blue); box-shadow: 0 5px 0 var(--blue-d); transition: transform .08s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--blue-d); }
.btn.orange { background: var(--orange); box-shadow: 0 5px 0 var(--orange-d); }
.btn.purple { background: var(--purple); box-shadow: 0 5px 0 var(--purple-d); }
.btn.green  { background: var(--green);  box-shadow: 0 5px 0 var(--green-d); }
.btn.pink   { background: var(--pink);   box-shadow: 0 5px 0 var(--pink-d); }
.btn.gray   { background: #b8b3cc; box-shadow: 0 5px 0 #948fab; }
.btn.big { font-size: 22px; padding: 14px 32px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.icon-btn {
  border: none; width: 46px; height: 46px; border-radius: 50%; font-size: 22px; flex: none;
  background: #eaf5ff; box-shadow: 0 4px 0 #bcdcf5; display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #bcdcf5; }
.icon-btn.slow { background: #f0fff4; box-shadow: 0 4px 0 #bfe9cc; }
.icon-btn.mic  { background: #fff0f5; box-shadow: 0 4px 0 #f6c3d5; }
.icon-btn.mic.recording { background: var(--red); color: #fff; animation: pulse 1s infinite; box-shadow: 0 4px 0 var(--red-d); }
.icon-btn.play-me { background: #fff8e1; box-shadow: 0 4px 0 #f3dd99; }
.icon-btn.sm { width: 36px; height: 36px; font-size: 17px; }
@keyframes pulse { 50% { transform: scale(1.12); } }

.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; }
.tab { border: none; border-radius: 999px; padding: 9px 20px; font-size: 17px; font-weight: 800; background: #fff; color: var(--ink); box-shadow: 0 4px 0 #dcd6ef; }
.tab.active { background: var(--ink); color: #fff; box-shadow: 0 4px 0 #1f1a33; }

/* ---------- 单词卡 ---------- */
.word-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.word-card { background: #fff; border-radius: var(--radius); padding: 14px 16px; box-shadow: 0 5px 0 #ffe0bf; border: 3px solid #ffe8cf; }
.word-card .top { display: flex; align-items: center; gap: 8px; }
.word-card .num { width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.word-card .w { font-family: var(--en); font-size: 25px; font-weight: 800; flex: 1; line-height: 1.2; }
.word-card .ipa { font-family: "Lucida Sans Unicode", "Arial Unicode MS", "Segoe UI", sans-serif; color: var(--blue-d); font-size: 16px; }
.word-card .meaning { font-size: 16px; }
.word-card .pos { color: var(--pink-d); font-weight: 700; margin-right: 4px; font-family: var(--en); }
.word-card .btns { display: flex; gap: 8px; margin-top: 8px; align-items: center; flex-wrap: wrap; }
.ext-list { margin: 10px 0 0; padding: 8px 10px; background: #fff8ef; border-radius: 14px; list-style: none; }
.ext-list li { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 15px; }
.ext-list .e-txt { flex: 1; min-width: 0; }
.ext-list .e-en { font-family: var(--en); font-weight: 700; margin-right: 6px; }
.ext-list .e-cn { color: var(--muted); }
.feedback-line { font-size: 14px; min-height: 0; }
.feedback-line .ok { color: var(--green-d); font-weight: 700; }
.feedback-line .no { color: var(--red-d); font-weight: 700; }

/* ---------- 练习（听写/填空/语法/音标） ---------- */
.quiz-wrap { max-width: 720px; margin: 0 auto; }
.progress { height: 16px; background: #fff; border-radius: 999px; overflow: hidden; box-shadow: inset 0 2px 0 #e9e5f5; margin-bottom: 14px; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--yellow), var(--orange)); border-radius: 999px; transition: width .3s; }
.q-card { background: #fff; border-radius: 28px; padding: 24px 22px; box-shadow: 0 7px 0 #e4dff3, 0 12px 30px rgba(80,60,140,.08); text-align: center; position: relative; }
.q-index { position: absolute; left: 18px; top: 14px; font-weight: 800; color: var(--muted); font-size: 15px; }
.q-hint { color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.q-text { font-family: var(--en); font-size: 25px; font-weight: 700; margin: 18px 0 10px; line-height: 1.45; }
.q-text .blank { display: inline-block; min-width: 80px; border-bottom: 4px solid var(--purple); margin: 0 4px; color: var(--purple); }
.q-cn { color: var(--muted); font-size: 17px; }
.big-speaker { font-size: 56px; width: 110px; height: 110px; border-radius: 50%; border: none; background: var(--orange); color: #fff; box-shadow: 0 7px 0 var(--orange-d); margin: 10px auto; display: flex; align-items: center; justify-content: center; }
.big-speaker:active { transform: translateY(4px); box-shadow: 0 3px 0 var(--orange-d); }
.answer-input {
  width: 100%; max-width: 420px; font-size: 26px; text-align: center; padding: 10px 14px; border-radius: 18px;
  border: 4px solid #d9d2f0; outline: none; margin: 12px auto 4px; display: block; color: var(--ink);
}
.answer-input:focus { border-color: var(--purple); }
.answer-input.right { border-color: var(--green); background: #effff5; }
.answer-input.wrong { border-color: var(--red); background: #fff1f0; }
.opts { display: grid; gap: 12px; margin: 16px 0 6px; }
.opt {
  border: 4px solid #e4dff3; background: #fff; border-radius: 20px; padding: 12px 16px; font-size: 22px; font-weight: 700;
  font-family: var(--en); color: var(--ink); text-align: left; display: flex; align-items: center; gap: 12px; transition: transform .08s;
}
.opt:hover { border-color: var(--purple); }
.opt .letter { width: 34px; height: 34px; border-radius: 50%; background: #f1ecff; color: var(--purple-d); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.opt.right { border-color: var(--green); background: #effff5; }
.opt.right .letter { background: var(--green); color: #fff; }
.opt.wrong { border-color: var(--red); background: #fff1f0; animation: shake .35s; }
.opt.wrong .letter { background: var(--red); color: #fff; }
.opt.disabled { pointer-events: none; }
.opts.row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.opts.row .opt { justify-content: center; text-align: center; flex-direction: column; gap: 4px; font-size: 30px; padding: 14px 10px; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.verdict { margin-top: 14px; border-radius: 18px; padding: 12px 16px; text-align: left; font-size: 17px; }
.verdict.ok { background: #e9fbef; border: 3px solid #b6efc9; }
.verdict.no { background: #fff1f0; border: 3px solid #ffc9c5; }
.verdict .v-title { font-size: 20px; font-weight: 900; }
.verdict .v-ans { font-family: var(--en); font-weight: 800; color: var(--green-d); }
.q-actions { display: flex; justify-content: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

/* 成绩单 */
.result-card { text-align: center; }
.result-card .stars { font-size: 54px; letter-spacing: 6px; }
.result-card .score { font-size: 42px; font-weight: 900; font-family: var(--en); }
.result-card .msg { font-size: 20px; margin-bottom: 8px; }
.review-list { text-align: left; margin-top: 16px; }
.review-item { border-radius: 16px; padding: 10px 14px; margin-bottom: 10px; background: #faf8ff; border-left: 8px solid var(--green); }
.review-item.bad { border-left-color: var(--red); background: #fff6f5; }
.review-item .ri-q { font-family: var(--en); font-weight: 700; font-size: 18px; }
.review-item .ri-a { font-size: 15px; margin-top: 2px; }
.review-item .ri-a b { font-family: var(--en); }
.review-item .ri-why { font-size: 14px; color: #6b6487; margin-top: 4px; }
.mark { font-weight: 900; margin-right: 6px; }
.mark.ok { color: var(--green-d); } .mark.no { color: var(--red-d); }

/* ---------- 语法讲解 ---------- */
.g-point-list { display: grid; gap: 14px; }
.g-point { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--ink); box-shadow: 0 6px 0 #e3d6f7; border: 3px solid #efe6ff; }
.g-point .gp-emoji { font-size: 40px; }
.g-point .gp-title { font-size: 20px; font-weight: 800; }
.g-point .gp-sub { color: var(--muted); font-size: 14px; }
.g-point .gp-go { margin-left: auto; font-size: 26px; }
.explain-card { background: #fff; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; box-shadow: 0 6px 0 #e3d6f7; border-top: 8px solid var(--purple); }
.explain-card h3 { margin: 0 0 8px; color: var(--purple-d); font-size: 21px; }
.explain-card p { margin: 6px 0; }
.explain-card .hl { background: linear-gradient(transparent 55%, #ffe58a 55%); font-weight: 800; padding: 0 2px; }
.table-scroll { overflow-x: auto; margin: 10px 0; }
.g-table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 16px; border-radius: 14px; overflow: hidden; border: 3px solid #e6dcfa; }
.g-table th, .g-table td { padding: 8px 10px; text-align: center; border-bottom: 2px solid #f0eaff; border-right: 2px solid #f0eaff; }
.g-table th { background: #f4eeff; color: var(--purple-d); white-space: nowrap; }
.g-table td { font-family: var(--en); }
.g-table tr:last-child td, .g-table tr:last-child th { border-bottom: none; }
.example { background: #f6fbff; border-radius: 14px; padding: 8px 12px; margin: 8px 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.example .say { font-family: var(--en); font-weight: 700; font-size: 18px; }
.say-wrap { display: inline-flex; align-items: center; gap: 6px; }
.tips { background: #fffbea; border: 3px dashed #ffd96a; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 16px; }
.tips li { margin: 4px 0; }

/* ---------- 阅读 ---------- */
.mind-map { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.mm-node { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 5px 0 #cdeedb; border: 3px solid #d7f5e3; }
.mm-node h4 { margin: 0; padding: 8px 14px; color: #fff; font-family: var(--en); font-size: 18px; }
.mm-node ul { margin: 0; padding: 10px 14px 12px 30px; font-family: var(--en); font-size: 15px; }
.mm-node:nth-child(4n+1) h4 { background: var(--purple); }
.mm-node:nth-child(4n+2) h4 { background: var(--green); }
.mm-node:nth-child(4n+3) h4 { background: var(--orange); }
.mm-node:nth-child(4n+4) h4 { background: var(--blue); }
.mm-root { text-align: center; margin-bottom: 14px; }
.mm-root span { display: inline-block; background: var(--ink); color: #fff; font-family: var(--en); font-size: 22px; font-weight: 800; padding: 8px 22px; border-radius: 16px; box-shadow: 0 5px 0 #1f1a33; }
.sentence { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 20px; padding: 14px 16px; margin-bottom: 12px; box-shadow: 0 5px 0 #cdeedb; }
.sentence .s-num { width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; margin-top: 4px; }
.sentence .s-body { flex: 1; min-width: 0; }
.sentence .s-en { font-family: var(--en); font-size: 21px; font-weight: 700; line-height: 1.4; }
.sentence .s-en .wd { border-radius: 6px; padding: 0 1px; transition: background .2s; }
.sentence .s-en .wd.hit { background: #c9f7d9; }
.sentence .s-en .wd.miss { background: #ffd6d3; }
.sentence .s-cn { color: var(--muted); font-size: 15px; }
.sentence .btns { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 8px 6px 16px; box-shadow: 0 4px 0 #cdeedb; font-size: 15px; }
.chip b { font-family: var(--en); font-size: 17px; }
.chip span { color: var(--muted); }
.intro-box { background: #effcf4; border-radius: 18px; padding: 12px 16px; margin-bottom: 14px; border: 3px dashed #9fe3b9; }

/* ---------- 音标 ---------- */
.phonics-hero { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.phonics-hero .big-ipa { font-family: "Lucida Sans Unicode", "Arial Unicode MS", sans-serif; font-size: 52px; font-weight: 800; color: #fff; background: var(--blue); border-radius: 26px; padding: 8px 26px; box-shadow: 0 7px 0 var(--blue-d); }
.phonics-hero .rule { flex: 1; min-width: 220px; font-size: 18px; }
.ph-words { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.ph-word { background: #fff; border-radius: 20px; padding: 12px 14px; box-shadow: 0 5px 0 #c6e3f7; text-align: center; }
.ph-word .pw { font-family: var(--en); font-size: 30px; font-weight: 800; }
.ph-word .btns { display: flex; gap: 8px; justify-content: center; margin-top: 6px; }
u.snd, .pw u, .opt u, .q-text u { text-decoration: none; color: var(--red); border-bottom: 4px solid var(--red); }

/* ---------- 跟读评分提示 ---------- */
.score-pop { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #f4f1ff; }
.score-pop.good { background: #e3fbea; color: var(--green-d); }
.score-pop.ok { background: #fff6d6; color: #b07d00; }
.score-pop.try { background: #ffe9e7; color: var(--red-d); }

/* ---------- 彩带 & 小提示 ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(120px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 700; z-index: 99; transition: transform .3s; max-width: 90vw; text-align: center; }
.toast.show { transform: translateX(-50%) translateY(0); }
.confetti { position: fixed; top: -20px; width: 12px; height: 18px; z-index: 100; pointer-events: none; border-radius: 3px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }
.pop-emoji { position: fixed; font-size: 80px; z-index: 101; pointer-events: none; left: 50%; top: 40%; transform: translate(-50%,-50%) scale(0); animation: popin .9s ease-out forwards; }
@keyframes popin { 30% { transform: translate(-50%,-50%) scale(1.3); opacity: 1; } 100% { transform: translate(-50%,-90%) scale(1); opacity: 0; } }

.site-footer { text-align: center; font-size: 13px; color: var(--muted); padding: 0 16px 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.note { font-size: 14px; color: var(--muted); text-align: center; margin-top: 18px; }
.empty { text-align: center; color: var(--muted); padding: 30px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .season-tabs { padding: 0 4px; gap: 4px; }
  .season-tab { font-size: 14px; padding: 6px 2px 8px; }
  .season-tab small { display: none; }
  .season-tab.active { font-size: 16px; }
  .season-panel { padding: 12px 10px 16px; border-radius: 20px; }
  .q-text { font-size: 21px; }
  .opt { font-size: 19px; }
  .word-list { grid-template-columns: 1fr; }
  h1.page-title { font-size: 24px; }
  .logo .t { display: none; }
}
