:root {
  --bg: #fff8ef;
  --card: #ffffff;
  --ink: #2b2b33;
  --muted: #7a7480;
  --line: #f0e3d2;
  --accent: #ff8a3d;
  --accent-soft: #ffe7d6;
  --good: #23a565;
  --good-soft: #dcf5e8;
  --bad: #e5484d;
  --bad-soft: #fde3e3;
  --blue: #3d7fff;
  --blue-soft: #e3edff;
  --shadow: 0 2px 10px rgba(120, 80, 30, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1d1b20; --card: #28252c; --ink: #f2eef5; --muted: #a49eaa; --line: #3a3640;
    --accent: #ff9a52; --accent-soft: #4a3326; --good: #3ccf86; --good-soft: #1e3a2c;
    --bad: #ff6b6f; --bad-soft: #452628; --blue: #79a6ff; --blue-soft: #25314a;
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  --bg: #1d1b20; --card: #28252c; --ink: #f2eef5; --muted: #a49eaa; --line: #3a3640;
  --accent: #ff9a52; --accent-soft: #4a3326; --good: #3ccf86; --good-soft: #1e3a2c;
  --bad: #ff6b6f; --bad-soft: #452628; --blue: #79a6ff; --blue-soft: #25314a;
  --shadow: none;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--ink);
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 640px; margin: 0 auto; padding: 16px 16px 48px; }
h1 { font-size: 24px; margin: 4px 0 2px; }
h2 { font-size: 20px; margin: 0 0 8px; }
h3 { font-size: 17px; margin: 14px 0 6px; }
.muted { color: var(--muted); font-size: 15px; }
.small { font-size: 14px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 16px; margin: 12px 0; box-shadow: var(--shadow);
}
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }
.btn {
  appearance: none; border: 0; border-radius: 14px; padding: 12px 18px;
  font-size: 17px; font-weight: 600; cursor: pointer; background: var(--accent); color: #fff;
  touch-action: manipulation;
}
.btn:disabled { opacity: .45; cursor: default; }
.btn.ghost { background: var(--accent-soft); color: var(--ink); }
.btn.blue { background: var(--blue); }
.btn.green { background: var(--good); }
.btn.small { padding: 8px 12px; font-size: 15px; border-radius: 12px; }
.btn.wide { width: 100%; }
.link { background: none; border: 0; color: var(--blue); font-size: 15px; padding: 4px 0; cursor: pointer; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 13px; background: var(--accent-soft); }
.pill.new { background: var(--blue-soft); }
.pill.good { background: var(--good-soft); }
.pill.bad { background: var(--bad-soft); }

/* 首页任务 */
.task { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.task .ico { font-size: 34px; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; flex: none; }
.task .body { flex: 1; min-width: 0; }
.task .state { font-size: 22px; }
.progress { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--good); border-radius: 99px; transition: width .3s; }

/* 单词卡 */
.wordcard { text-align: center; }
.pic { font-size: 84px; line-height: 1.15; margin: 6px 0; }
.word { font-size: 40px; font-weight: 700; letter-spacing: .5px; word-break: break-word; }
.zh { font-size: 19px; color: var(--muted); }
.ex { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg); text-align: left; }
.dots { display: flex; gap: 6px; justify-content: center; margin: 10px 0; }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--accent); }
.slots { font-family: ui-monospace, Menlo, monospace; font-size: 26px; letter-spacing: 6px; margin: 6px 0 12px; }
input.answer, textarea.answer {
  width: 100%; font-size: 22px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line);
  background: var(--card); color: var(--ink); font-family: inherit;
}
textarea.answer { font-size: 19px; min-height: 96px; resize: vertical; }
input.answer:focus, textarea.answer:focus { outline: none; border-color: var(--accent); }
.result { margin-top: 12px; padding: 12px 14px; border-radius: 14px; }
.result.ok { background: var(--good-soft); }
.result.no { background: var(--bad-soft); }
.diff b { color: var(--bad); text-decoration: underline; }

/* 选择题 */
.q { font-size: 20px; font-weight: 600; margin: 4px 0 12px; }
.q u { text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.opts { display: grid; gap: 10px; }
.opt { text-align: left; background: var(--bg); color: var(--ink); border: 2px solid var(--line); font-weight: 500; }
.opt.right { border-color: var(--good); background: var(--good-soft); }
.opt.wrong { border-color: var(--bad); background: var(--bad-soft); }
.stars { font-size: 30px; letter-spacing: 4px; }
ul.checks { list-style: none; padding: 0; margin: 8px 0; }
ul.checks li { padding: 4px 0; }
.tipcards { display: grid; gap: 8px; }
.tipcard { padding: 8px 12px; border-radius: 12px; background: var(--bg); font-size: 15px; }
.tipcard b { color: var(--accent); }

/* 背诵 */
.sent { padding: 10px 12px; border-radius: 12px; background: var(--bg); margin: 8px 0; }
.sent.today { background: var(--accent-soft); }
.sent .en { font-size: 19px; font-weight: 600; }
.sent .hidden { color: transparent; text-shadow: 0 0 9px rgba(120,120,120,.6); cursor: pointer; user-select: none; }
.essay-list button { width: 100%; text-align: left; margin: 4px 0; }

/* 家长页 */
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: center; }
th:first-child, td:first-child { text-align: left; }
tr.click { cursor: pointer; }
.scroll { overflow-x: auto; }
.wrongitem { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
select { font-size: 16px; padding: 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); max-width: 100%; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg);
  padding: 10px 16px; border-radius: 12px; font-size: 15px; z-index: 9; }
.cal { display: inline-flex; flex-direction: column; width: 110px; border-radius: 16px; overflow: hidden; border: 2px solid var(--line);
  background: var(--card); font-size: 34px; font-weight: 700; line-height: 1; vertical-align: middle; }
.cal i { display: block; height: 22px; background: var(--bad); }
.cal { padding-bottom: 16px; gap: 16px; }

/* 家长布置的任务 */
.task.todo .ico { background: var(--blue-soft); }
.task.todo .state { font-size: 14px; color: var(--blue); white-space: nowrap; }
.task.todo.done { opacity: .7; }
.task.todo.done .state { color: var(--good); }
.task.todo.done b { text-decoration: line-through; }
details { border-bottom: 1px solid var(--line); padding: 6px 0; }
summary { cursor: pointer; padding: 6px 0; }
.taskrow { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.taskrow .body { flex: 1; min-width: 0; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.seg label { padding: 6px 12px; font-size: 15px; cursor: pointer; }
.seg input { display: none; }
.seg label:has(input:checked) { background: var(--accent); color: #fff; }

/* ---------- 趣味样式 ---------- */
body { font-family: ui-rounded, "SF Pro Rounded", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg);
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 138, 61, .13) 1.5px, transparent 0);
  background-size: 22px 22px; }
.card { border-radius: 22px; }
.btn { box-shadow: 0 3px 0 rgba(0, 0, 0, .12); transition: transform .08s; }
.btn:active:not(:disabled) { transform: translateY(2px); box-shadow: none; }
.hero { border-radius: 26px; padding: 18px 18px 16px; margin: 4px 0 12px; color: #fff;
  background: linear-gradient(135deg, #ff8a3d 0%, #ff5d8f 55%, #a66bff 100%); box-shadow: 0 8px 22px rgba(255, 93, 143, .28); }
.hero .hello { font-size: 28px; font-weight: 800; }
.hero .sub { opacity: .9; font-size: 15px; }
.fire { background: rgba(255, 255, 255, .22); border-radius: 18px; padding: 6px 12px; text-align: center; line-height: 1.1; }
.fire span { font-size: 22px; } .fire b { font-size: 26px; margin-left: 2px; } .fire small { display: block; font-size: 12px; opacity: .9; }
.mascot { display: flex; align-items: center; gap: 10px; margin: 14px 0 12px; }
.apple { font-size: 46px; animation: bob 2.4s ease-in-out infinite; transform-origin: 50% 100%; }
.apple.jump { animation: jump .9s ease-in-out infinite; }
.bubble { position: relative; background: #fff; color: #2b2b33; border-radius: 16px; padding: 8px 12px; font-size: 15px; font-weight: 600; flex: 1; }
.bubble::before { content: ""; position: absolute; left: -7px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-left: 0; border-right-color: #fff; }
.lv { display: flex; gap: 10px; align-items: center; background: rgba(255, 255, 255, .18); border-radius: 18px; padding: 10px 12px; }
.lvico { font-size: 34px; }
.bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .35); overflow: hidden; margin: 4px 0; }
.bar i { display: block; height: 100%; background: #ffd23f; border-radius: 99px; transition: width .6s; }
@keyframes bob { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) translateY(-3px); } }
@keyframes jump { 0%, 100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-14px) scale(1.08); } 60% { transform: translateY(0) scale(.95, 1.05); } }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 10px; text-align: center; }
.wd .stk { height: 40px; border-radius: 14px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--muted); margin-top: 2px; }
.wd .stk b { font-size: 15px; color: var(--accent); }
.wd.today .stk { outline: 2px dashed var(--accent); }
.wd.full .stk { background: #fff3c4; font-size: 26px; animation: pop .4s; }
h2.sec { margin: 20px 0 6px; font-size: 19px; }
.road { display: flex; align-items: center; margin: 4px 0 6px; }
.road span { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--line); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.road span.on { background: #fff3c4; font-size: 17px; animation: pop .4s; }
.road span.gift { width: 38px; height: 38px; font-size: 22px; background: var(--accent-soft); }
.road span.gift.on { background: #fff3c4; animation: jump 1s ease-in-out infinite; }
.road i { flex: 1; height: 4px; background: var(--line); border-radius: 2px; }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.task { transition: transform .12s; border-left-width: 6px; }
.task:active { transform: scale(.98); }
.task .ico { transition: transform .2s; }
.task:hover .ico { transform: rotate(-8deg) scale(1.06); }
.task .go { display: inline-block; padding: 4px 10px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; }
.task.fin { background: linear-gradient(90deg, var(--good-soft), var(--card) 60%); }
.task .got { color: var(--good); font-weight: 600; }
.c-words { border-left-color: #ff8a3d; } .c-words .ico { background: #ffe7d6; }
.c-conf { border-left-color: #3d7fff; } .c-conf .ico { background: #e3edff; }
.c-grammar { border-left-color: #a66bff; } .c-grammar .ico { background: #efe4ff; }
.c-writing { border-left-color: #ff5d8f; } .c-writing .ico { background: #ffe1ea; }
.c-recite { border-left-color: #23a565; } .c-recite .ico { background: #dcf5e8; }
.c-report { border-left-color: #ffb300; } .c-report .ico { background: #fff3c4; }
.c-words .go { background: #ff8a3d; } .c-conf .go { background: #3d7fff; } .c-grammar .go { background: #a66bff; } .c-writing .go { background: #ff5d8f; } .c-recite .go { background: #23a565; }
.task.todo { border-left-color: #3d7fff; }
.task.todo .check { width: 34px; height: 34px; flex: none; border-radius: 10px; border: 3px solid #3d7fff; color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.task.todo.done .check { background: var(--good); border-color: var(--good); animation: pop .35s; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 8px; }
.wall div { background: #fff3c4; border-radius: 16px; text-align: center; padding: 6px 0 4px; }
.wall span { font-size: 32px; display: block; } .wall small { color: #7a6a3a; font-size: 12px; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 20; }
.stars { animation: pop .5s; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wd.full .stk, :root:not([data-theme="light"]) .road span.on, :root:not([data-theme="light"]) .wall div { background: #4a4020; }
  :root:not([data-theme="light"]) .c-conf .ico, :root:not([data-theme="light"]) .c-grammar .ico, :root:not([data-theme="light"]) .c-writing .ico, :root:not([data-theme="light"]) .c-recite .ico, :root:not([data-theme="light"]) .c-words .ico, :root:not([data-theme="light"]) .c-report .ico { background: var(--line); }
}
@media (prefers-reduced-motion: reduce) { .apple, .apple.jump, .road span.gift.on { animation: none; } }
.taskrow.editing { background: var(--accent-soft); border-radius: 12px; padding: 10px; }

/* 小橙子鼓励动画 */
.orange-pop { position: fixed; right: 14px; bottom: 18px; z-index: 30; display: flex; align-items: flex-end; gap: 6px; pointer-events: none;
  animation: orangeIn .45s cubic-bezier(.3, 1.6, .5, 1) both; }
.orange-pop.out { animation: orangeOut .35s ease-in both; }
.orange-pop .oc { position: relative; font-size: 64px; line-height: 1; filter: drop-shadow(0 4px 6px rgba(0,0,0,.18)); }
.orange-pop.ok .oc { animation: orangeJump .6s ease-in-out .3s 2; }
.orange-pop.no .oc { animation: orangeShake .5s ease-in-out .3s 1; }
.orange-pop .oc i { position: absolute; right: -6px; top: -6px; font-size: 24px; font-style: normal; }
.orange-pop .ob { max-width: 210px; background: #fff; color: #2b2b33; border: 3px solid #ff9a2e; border-radius: 18px 18px 4px 18px; padding: 8px 12px;
  font-size: 16px; font-weight: 700; margin-bottom: 40px; box-shadow: 0 4px 12px rgba(255, 140, 40, .25); }
.orange-pop.no .ob { border-color: #6aa8ff; }
@keyframes orangeIn { from { transform: translateY(120%) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes orangeOut { to { transform: translateY(120%) scale(.6); opacity: 0; } }
@keyframes orangeJump { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-22px) rotate(-12deg); } 60% { transform: translateY(0) rotate(8deg) scale(1.05, .95); } }
@keyframes orangeShake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 50% { transform: rotate(8deg); } 75% { transform: rotate(-5deg); } }

/* ---------- 首页 v3：大屏双栏 + 动画 ---------- */
.rise { animation: rise .55s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.hero { position: relative; overflow: hidden; background-size: 220% 220%; animation: rise .55s both, heroShift 12s ease-in-out infinite alternate; }
@keyframes heroShift { from { background-position: 0% 30%; } to { background-position: 100% 70%; } }
.hero-in { position: relative; z-index: 1; }
.hero .deco { position: absolute; opacity: .55; pointer-events: none; animation: floaty 6s ease-in-out infinite; }
.hero .d1 { top: 12px; left: 46%; font-size: 18px; } .hero .d2 { top: 58%; right: 8%; font-size: 22px; animation-delay: -2s; }
.hero .d3 { bottom: 8px; left: 8%; font-size: 26px; animation-delay: -4s; } .hero .d4 { top: 30%; left: 70%; font-size: 14px; animation-delay: -1s; }
.hero .d5 { bottom: 20%; left: 52%; font-size: 18px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(12deg); } }
.wave { display: inline-block; transform-origin: 70% 80%; animation: wave 2.6s ease-in-out infinite; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20%, 40% { transform: rotate(-8deg); } }
.flame { display: inline-block; animation: flicker 1.2s ease-in-out infinite alternate; }
@keyframes flicker { from { transform: scale(1) rotate(-3deg); } to { transform: scale(1.15) rotate(3deg); } }
.apple { animation: bob 2.4s ease-in-out infinite, blink 5s steps(1) infinite; }
@keyframes blink { 0%, 96% { filter: none; } 97% { filter: brightness(1.25); } }
.bar i { position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.75) 50%, transparent 80%); transform: translateX(-100%); animation: shine 2.8s ease-in-out infinite 1s; }
@keyframes shine { to { transform: translateX(100%); } }
.road span.cur { background: var(--accent); color: #fff; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 138, 61, .55); } 50% { box-shadow: 0 0 0 9px rgba(255, 138, 61, 0); } }

/* 练习方块 */
.tiles { display: grid; gap: 12px; margin-top: 8px; }
.tile { position: relative; display: flex; align-items: center; gap: 14px; cursor: pointer; background: var(--card); border: 1px solid var(--line);
  border-radius: 22px; padding: 16px; box-shadow: var(--shadow); border-left: 6px solid var(--line); transition: transform .18s, box-shadow .18s; overflow: hidden; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(120, 80, 30, .14); }
.tile:active { transform: scale(.98); }
.tile .ico { font-size: 34px; width: 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; flex: none; transition: transform .25s; }
.tile:hover .ico { animation: wiggle .5s ease-in-out; }
@keyframes wiggle { 25% { transform: rotate(-12deg) scale(1.1); } 75% { transform: rotate(10deg) scale(1.1); } }
.tile .body { flex: 1; min-width: 0; }
.tile .state { font-size: 13px; color: var(--muted); white-space: nowrap; }
.tile .go { display: inline-block; padding: 6px 12px; border-radius: 99px; color: #fff; font-size: 13px; font-weight: 800; background: var(--accent); }
.tile.next { box-shadow: 0 0 0 3px rgba(255, 138, 61, .35), var(--shadow); }
.tile.next .go { animation: pulse 1.6s ease-in-out infinite; }
.tile.fin { background: linear-gradient(90deg, var(--good-soft), var(--card) 65%); }
.tile .ribbon { position: absolute; top: 10px; right: -30px; transform: rotate(35deg); background: #ffd23f; color: #6a4a00; font-size: 11px; font-weight: 800; padding: 2px 34px; }
.tile .stamp { position: absolute; right: 56px; top: 50%; margin-top: -18px; border: 3px solid var(--good); color: var(--good); border-radius: 10px; padding: 2px 8px;
  font-weight: 900; font-size: 15px; transform: rotate(-14deg); opacity: .55; animation: stamp .4s cubic-bezier(.3, 1.8, .5, 1) both .3s; }
@keyframes stamp { from { transform: rotate(-14deg) scale(2.2); opacity: 0; } to { transform: rotate(-14deg) scale(1); opacity: .55; } }
.tile.c-words { border-left-color: #ff8a3d; } .tile.c-conf { border-left-color: #3d7fff; } .tile.c-grammar { border-left-color: #a66bff; }
.tile.c-writing { border-left-color: #ff5d8f; } .tile.c-recite { border-left-color: #23a565; }

@media (prefers-reduced-motion: reduce) {
  .rise, .hero, .wave, .flame, .apple, .bar i::after, .road span.cur, .tile.next .go, .hero .deco, .tile .stamp, .duo .orange { animation: none !important; }
}
.hero .fire { position: absolute; top: 16px; right: 16px; z-index: 2; }
.hero .hero-l { padding-right: 70px; }
.tile.c-report { border-left-color: #ffb300; } .tile.c-report .ico { background: #fff3c4; }
.nextpill { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: #ffd23f; color: #6a4a00; font-size: 12px; font-weight: 800; vertical-align: 2px; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
/* 苹果 + 小橙子 */
.duo { position: relative; width: 70px; height: 54px; flex: none; }
.duo .apple { position: absolute; left: 0; top: 0; font-size: 44px; }
.duo .orange { position: absolute; left: 32px; top: 18px; font-size: 32px; animation: bob 2.4s ease-in-out infinite -1.2s; transform-origin: 50% 100%; }
.duo.jump .apple, .duo.jump .orange { animation: jump .9s ease-in-out infinite; }
.duo.jump .orange { animation-delay: .3s; }
/* 小橙子卡通人物 */
.buddy { display: flex; align-items: center; gap: 6px; margin: 4px 0 6px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.buddy-svg { width: 92px; height: 115px; flex: none; overflow: visible; }
.buddy .b-body { animation: bBob 2.2s ease-in-out infinite; transform-origin: 60px 140px; }
.buddy .b-arm-r { animation: bWave 1.4s ease-in-out infinite; transform-origin: 91px 104px; transform-box: view-box; }
.buddy .b-eyes { animation: bBlink 4s infinite; transform-origin: 60px 54px; transform-box: view-box; }
.buddy .b-leaf { animation: bLeaf 3s ease-in-out infinite; transform-origin: 62px 12px; transform-box: view-box; }
.buddy.hop .b-body { animation: bHop .6s cubic-bezier(.3, 1.6, .5, 1); }
.bubble2 { position: relative; flex: 1; background: var(--card); border: 2px solid #ffb35c; border-radius: 18px; padding: 10px 14px; font-weight: 700; font-size: 16px; box-shadow: var(--shadow); }
.bubble2::before { content: ""; position: absolute; left: -10px; top: 50%; margin-top: -9px; border: 9px solid transparent; border-left: 0; border-right-color: #ffb35c; }
.bubble2::after { content: ""; position: absolute; left: -6px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-left: 0; border-right-color: var(--card); }
@keyframes bBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes bWave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-25deg); } 75% { transform: rotate(15deg); } }
@keyframes bBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes bLeaf { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-12deg); } }
@keyframes bHop { 0% { transform: translateY(0) scale(1); } 40% { transform: translateY(-20px) scale(1.04, .96); } 100% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .buddy .b-body, .buddy .b-arm-r, .buddy .b-eyes, .buddy .b-leaf { animation: none !important; } }

/* ---------- v4：Apple 卡通形象、挂件、贴纸等级、错题本、商店、金币 ---------- */
.wp-camp { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cg%20font-size%3D%2226%22%20opacity%3D%22.38%22%3E%3Ctext%20x%3D%2212%22%20y%3D%2240%22%3E%E2%AD%90%3C/text%3E%3Ctext%20x%3D%22104%22%20y%3D%2270%22%3E%F0%9F%8F%95%EF%B8%8F%3C/text%3E%3Ctext%20x%3D%2240%22%20y%3D%22128%22%3E%F0%9F%8C%99%3C/text%3E%3Ctext%20x%3D%22128%22%20y%3D%22162%22%3E%E2%9C%A8%3C/text%3E%3C/g%3E%3C/svg%3E") 0 0 / 180px 180px repeat, linear-gradient(160deg, #e9e4ff, #ffe9d6); }
.wp-ocean { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cg%20font-size%3D%2226%22%20opacity%3D%22.38%22%3E%3Ctext%20x%3D%2212%22%20y%3D%2240%22%3E%F0%9F%90%B3%3C/text%3E%3Ctext%20x%3D%22104%22%20y%3D%2270%22%3E%F0%9F%AB%A7%3C/text%3E%3Ctext%20x%3D%2240%22%20y%3D%22128%22%3E%F0%9F%90%A0%3C/text%3E%3Ctext%20x%3D%22128%22%20y%3D%22162%22%3E%F0%9F%90%9A%3C/text%3E%3C/g%3E%3C/svg%3E") 0 0 / 180px 180px repeat, linear-gradient(160deg, #d8f1ff, #eefaff); }
.wp-space { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cg%20font-size%3D%2226%22%20opacity%3D%22.38%22%3E%3Ctext%20x%3D%2212%22%20y%3D%2240%22%3E%F0%9F%9A%80%3C/text%3E%3Ctext%20x%3D%22104%22%20y%3D%2270%22%3E%F0%9F%AA%90%3C/text%3E%3Ctext%20x%3D%2240%22%20y%3D%22128%22%3E%E2%AD%90%3C/text%3E%3Ctext%20x%3D%22128%22%20y%3D%22162%22%3E%F0%9F%9B%B8%3C/text%3E%3C/g%3E%3C/svg%3E") 0 0 / 180px 180px repeat, linear-gradient(160deg, #e2e6ff, #f3eaff); }
.wp-forest { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cg%20font-size%3D%2226%22%20opacity%3D%22.38%22%3E%3Ctext%20x%3D%2212%22%20y%3D%2240%22%3E%F0%9F%8C%B2%3C/text%3E%3Ctext%20x%3D%22104%22%20y%3D%2270%22%3E%F0%9F%8D%84%3C/text%3E%3Ctext%20x%3D%2240%22%20y%3D%22128%22%3E%F0%9F%A6%94%3C/text%3E%3Ctext%20x%3D%22128%22%20y%3D%22162%22%3E%F0%9F%8D%83%3C/text%3E%3C/g%3E%3C/svg%3E") 0 0 / 180px 180px repeat, linear-gradient(160deg, #e2f6e3, #f6fbe9); }
.wp-balloon { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cg%20font-size%3D%2226%22%20opacity%3D%22.38%22%3E%3Ctext%20x%3D%2212%22%20y%3D%2240%22%3E%F0%9F%8E%88%3C/text%3E%3Ctext%20x%3D%22104%22%20y%3D%2270%22%3E%E2%98%81%EF%B8%8F%3C/text%3E%3Ctext%20x%3D%2240%22%20y%3D%22128%22%3E%F0%9F%AA%81%3C/text%3E%3Ctext%20x%3D%22128%22%20y%3D%22162%22%3E%E2%98%80%EF%B8%8F%3C/text%3E%3C/g%3E%3C/svg%3E") 0 0 / 180px 180px repeat, linear-gradient(160deg, #dff0ff, #fff6e3); }
.wp-dinoland { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cg%20font-size%3D%2226%22%20opacity%3D%22.38%22%3E%3Ctext%20x%3D%2212%22%20y%3D%2240%22%3E%F0%9F%A6%95%3C/text%3E%3Ctext%20x%3D%22104%22%20y%3D%2270%22%3E%F0%9F%8C%B4%3C/text%3E%3Ctext%20x%3D%2240%22%20y%3D%22128%22%3E%F0%9F%A6%96%3C/text%3E%3Ctext%20x%3D%22128%22%20y%3D%22162%22%3E%F0%9F%A5%9A%3C/text%3E%3C/g%3E%3C/svg%3E") 0 0 / 180px 180px repeat, linear-gradient(160deg, #e8f8d8, #fff8e0); }
.wp-snow { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cg%20font-size%3D%2226%22%20opacity%3D%22.38%22%3E%3Ctext%20x%3D%2212%22%20y%3D%2240%22%3E%E2%9B%84%3C/text%3E%3Ctext%20x%3D%22104%22%20y%3D%2270%22%3E%E2%9D%84%EF%B8%8F%3C/text%3E%3Ctext%20x%3D%2240%22%20y%3D%22128%22%3E%F0%9F%A7%A3%3C/text%3E%3Ctext%20x%3D%22128%22%20y%3D%22162%22%3E%E2%9D%84%EF%B8%8F%3C/text%3E%3C/g%3E%3C/svg%3E") 0 0 / 180px 180px repeat, linear-gradient(160deg, #e6f3ff, #f7fbff); }
.wp-train { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cg%20font-size%3D%2226%22%20opacity%3D%22.38%22%3E%3Ctext%20x%3D%2212%22%20y%3D%2240%22%3E%F0%9F%9A%82%3C/text%3E%3Ctext%20x%3D%22104%22%20y%3D%2270%22%3E%F0%9F%8C%88%3C/text%3E%3Ctext%20x%3D%2240%22%20y%3D%22128%22%3E%F0%9F%9A%83%3C/text%3E%3Ctext%20x%3D%22128%22%20y%3D%22162%22%3E%F0%9F%8C%BB%3C/text%3E%3C/g%3E%3C/svg%3E") 0 0 / 180px 180px repeat, linear-gradient(160deg, #fff1dc, #e9f6ff); }
body[class*="wp-"] { min-height: 100vh; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body[class*="wp-"]::before { content: ""; position: fixed; inset: 0; background: rgba(24, 22, 28, .78); z-index: -1; pointer-events: none; } }
:root[data-theme="dark"] body[class*="wp-"]::before { content: ""; position: fixed; inset: 0; background: rgba(24, 22, 28, .78); z-index: -1; pointer-events: none; }

.kid-svg { width: 96px; height: 128px; flex: none; overflow: visible; }
.buddy { position: relative; }
.buddy .kid-svg .b-arm-r { animation: bWave 1.4s ease-in-out infinite; transform-origin: 90px 102px; transform-box: view-box; }
.buddy .kid-svg .b-eyes { animation: none; }
.charm { position: absolute; left: 92px; top: 0; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; animation: charmSwing 2.6s ease-in-out infinite; pointer-events: none; }
.charm i { width: 2px; height: 26px; background: #c9a77c; border-radius: 2px; }
.charm span { font-size: 30px; line-height: 1; filter: drop-shadow(0 3px 3px rgba(0,0,0,.15)); }
@keyframes charmSwing { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg); } }
.buddy .bubble2 { margin-left: 34px; }

.tiers { display: flex; gap: 8px; margin: 10px 0 6px; flex-wrap: wrap; }
.tier { flex: 1 1 56px; min-width: 56px; text-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 6px 4px; }
.tier span { display: block; font-size: 24px; line-height: 1.1; filter: grayscale(.85); opacity: .55; }
.tier.got span, .tier.coin span { filter: none; opacity: 1; animation: tierPop 2.4s ease-in-out infinite; }
.tier b { display: block; font-size: 18px; }
.tier small { color: var(--muted); font-size: 11px; }
@keyframes tierPop { 0%, 80%, 100% { transform: scale(1); } 88% { transform: scale(1.25) rotate(-8deg); } }

.c-nb { border-left-color: #e5484d; } .c-nb .ico { background: #fde3e3; } .c-nb .go { background: #e5484d; }
.c-shop { border-left-color: #a66bff; } .c-shop .ico { background: #efe4ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-nb .ico, :root:not([data-theme="light"]) .c-shop .ico { background: var(--line); } }
.nbbtn { margin-left: auto; }
.nbbtn.on { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.nbitem { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--line); }
.nbitem:first-of-type { border-top: 0; }

.rw-task { display: inline-block; margin: 10px 0 4px; padding: 6px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-weight: 700; }
.essayview .sent.later { opacity: .72; }
.essayview .sent.learned { background: var(--good-soft); }
.qlist { margin: 6px 0 0; padding-left: 24px; }
.qlist li { padding: 6px 0; font-size: 17px; border-bottom: 1px dashed var(--line); }
.qlist li:last-child { border-bottom: 0; }
.qcard { border-top: 4px solid var(--blue); }
.acard { border-top: 4px solid var(--good); }
.acard .answers li { font-weight: 600; }

.shopgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.shopitem { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); text-align: center; }
.shopitem.own { border: 2px solid var(--good); }
.shopitem .si-ico { font-size: 34px; line-height: 1.1; }
.shopitem .btn { padding: 4px 10px; font-size: 13px; min-height: 0; }
.shopitem.wpprev b { background: rgba(255,255,255,.8); color: #2b2b33; border-radius: 8px; padding: 0 6px; }
.prize { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.prize:first-of-type { border-top: 0; }
.prize .si-ico { font-size: 34px; }

.coinrain { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.coinrain i { position: absolute; top: -50px; font-style: normal; animation: coinFall 1.6s cubic-bezier(.4, .1, .7, 1) forwards; }
@keyframes coinFall { 0% { transform: translateY(0) rotateY(0); opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(105vh) rotateY(720deg); opacity: 0; } }
.giftpop { position: fixed; inset: 0; z-index: 45; display: flex; align-items: center; justify-content: center; background: rgba(30, 20, 10, .35); animation: fadeIn .2s ease-out; padding: 16px; }
.giftpop.out { opacity: 0; transition: opacity .3s; }
.gp-card { background: var(--card); border-radius: 26px; padding: 22px 26px; text-align: center; max-width: 320px; width: 100%; box-shadow: 0 20px 50px rgba(0,0,0,.25); animation: gpIn .5s cubic-bezier(.3, 1.6, .5, 1); }
.gp-box { position: relative; font-size: 84px; line-height: 1; animation: gpShake .5s ease-in-out .3s 2; }
.gp-lid { position: absolute; left: 50%; top: -6px; font-size: 40px; transform: translateX(-50%); animation: gpLid .6s ease-out 1.1s forwards; }
.gp-t { font-size: 22px; font-weight: 800; margin-top: 10px; }
.gp-s { color: var(--muted); margin: 6px 0 14px; }
@keyframes gpIn { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes gpShake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
@keyframes gpLid { to { transform: translate(-50%, -60px) rotate(-25deg); opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.orange-pop .oc.kidpop { font-size: 0; }
.orange-pop .oc.kidpop .kid-svg { width: 78px; height: 104px; }
.orange-pop .oc.kidpop .b-arm-r { animation: bWave .7s ease-in-out infinite; transform-origin: 90px 102px; transform-box: view-box; }
.orange-pop .oc.kidpop i { font-size: 22px; right: -4px; top: 30px; }
@media (prefers-reduced-motion: reduce) { .charm, .tier span, .coinrain, .gp-box, .gp-lid, .buddy .kid-svg .b-arm-r { animation: none !important; } }
.picklist { max-height: 340px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; padding: 4px 10px; margin-top: 6px; }
.pickrow { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-bottom: 1px dashed var(--line); cursor: pointer; }
.pickrow:last-child { border-bottom: 0; }
.pickrow input { margin-top: 4px; width: 18px; height: 18px; flex: none; }

/* v5：小橙子 + Apple 一起出现，礼物可以拆 */
.pals { display: flex; align-items: flex-end; flex: none; }
.pal { position: relative; }
.pal .kid-svg { width: 84px; height: 112px; }
.pal .buddy-svg { width: 76px; height: 95px; margin-left: -6px; }
.pal .charm { left: -12px; right: auto; top: 58px; }
.pal .charm span { font-size: 24px; }
.pal .charm i { height: 18px; }
.buddy .bubble2 { margin-left: 4px; }
.buddy .kid-svg .b-eyes { animation: bBlink 4.6s infinite; transform-origin: 60px 66px; transform-box: view-box; }
.buddy .kid-svg .b-arm-r { animation: bWave 1.4s ease-in-out infinite; transform-origin: 80px 104px; transform-box: view-box; }
.buddy .pal + .pal .b-body { animation-delay: .5s; }
.orange-pop .oc.kidpop .b-arm-r { transform-origin: 80px 104px; }
@media (max-width: 380px) { .pal .kid-svg { width: 70px; height: 94px; } .pal .buddy-svg { width: 62px; height: 78px; } }

.road button.gift { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; padding: 0; cursor: pointer; font-size: 22px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; }
.road button.gift.ready { background: #fff3c4; box-shadow: 0 0 0 4px rgba(255, 179, 0, .35); animation: giftReady 1.1s ease-in-out infinite; }
.road button.gift.on { background: #fff3c4; animation: jump 1s ease-in-out infinite; }
.road button.gift.nope { animation: giftNope .45s ease-in-out; }
@keyframes giftReady { 0%, 100% { transform: scale(1) rotate(0); } 25% { transform: scale(1.15) rotate(-10deg); } 75% { transform: scale(1.15) rotate(10deg); } }
@keyframes giftNope { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.gifthint { text-align: center; font-weight: 700; color: #b26b00; background: #fff3c4; border-radius: 12px; padding: 6px 10px; margin: 2px 0 6px; animation: pulse 1.6s ease-in-out infinite; }

.gift3d { position: relative; width: 150px; height: 150px; margin: 12px auto 6px; display: block; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gift3d .g-box { position: absolute; left: 20px; right: 20px; bottom: 6px; height: 82px; border-radius: 10px; background: linear-gradient(90deg, transparent 43%, #ffd23f 43% 57%, transparent 57%), linear-gradient(160deg, #ff7aa2, #ff4f7e); box-shadow: inset 0 -8px 0 rgba(0,0,0,.08); }
.gift3d .g-lid { position: absolute; left: 12px; right: 12px; bottom: 82px; height: 28px; border-radius: 8px; background: linear-gradient(90deg, transparent 43%, #ffd23f 43% 57%, transparent 57%), linear-gradient(160deg, #ff8fb1, #ff5d8a); transition: transform .7s cubic-bezier(.3, 1.4, .5, 1), opacity .7s; z-index: 2; }
.gift3d .g-lid i { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); font-size: 40px; font-style: normal; }
.gift3d .g-prize { position: absolute; left: 50%; bottom: 40px; font-size: 64px; transform: translateX(-50%) scale(0); transition: transform .6s cubic-bezier(.3, 1.8, .5, 1) .2s, bottom .6s .2s; z-index: 1; }
.gift3d.shake1 { animation: gpShake .4s ease-in-out; }
.gift3d.shake2 { animation: gpShake .25s ease-in-out 2; }
.gift3d.open .g-lid { transform: translate(40px, -90px) rotate(35deg); opacity: 0; }
.gift3d.open .g-prize { transform: translateX(-50%) scale(1.3); bottom: 92px; }
.uw-pals { display: flex; justify-content: center; align-items: flex-end; gap: 4px; margin: 4px 0 10px; }
.uw-pals .kid-svg { width: 80px; height: 106px; } .uw-pals .buddy-svg { width: 70px; height: 88px; }
.uw-pals .b-arm-r { animation: bWave .8s ease-in-out infinite; transform-box: view-box; }
.uw-pals .kid-svg .b-arm-r { transform-origin: 80px 104px; } .uw-pals .buddy-svg .b-arm-r { transform-origin: 91px 104px; }
.uw-pals svg { animation: bHop .7s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .road button.gift, .gifthint, .gift3d, .uw-pals svg, .uw-pals .b-arm-r { animation: none !important; } }
.orange-pop .ob { max-width: 250px; }
.orange-pop .ob .oe { font-size: 13px; font-weight: 600; color: #6b6470; margin-top: 3px; line-height: 1.3; }
.orange-pop .ob .os { font-size: 11px; color: #a09aa6; margin-top: 2px; text-align: right; }
#duoTalk { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bubble .tapnext { font-size: 11px; font-weight: 600; color: #b0a8b4; margin-top: 2px; }
.bubble .be, .bubble2 .be { font-size: 13px; font-weight: 600; color: #6b6470; margin-top: 3px; line-height: 1.3; }
.bubble .bs, .bubble2 .bs { font-size: 11px; font-weight: 500; color: #a09aa6; margin-top: 2px; text-align: right; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bubble2 .be { color: var(--muted); } }
.swap { animation: bubbleSwap .35s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes bubbleSwap { from { transform: scale(.85); opacity: .3; } to { transform: scale(1); opacity: 1; } }
.duo.hop2 { animation: bHop .6s cubic-bezier(.3, 1.6, .5, 1); }
.hero .mascot { gap: 8px; margin-right: -70px; }
.hero .duo { flex: none; }
.hero .bubble { flex: 1 1 auto; max-width: none; line-height: 1.35; padding: 8px 14px; }
.hero .bubble .tapnext { display: inline; margin-left: 6px; }
.hero .fire { cursor: pointer; }
.firerow { margin: 6px 0 4px; padding: 6px 10px; border-radius: 12px; background: linear-gradient(90deg, #fff1e0, #ffe3e3); color: #8a3b00; font-size: 14px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .firerow { background: #4a3326; color: #ffcf9e; } }
.shopitem.locked .si-ico { filter: grayscale(1); opacity: .45; }
.rulebtn { border: 0; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.rulepop { position: fixed; inset: 0; z-index: 46; display: flex; align-items: center; justify-content: center; background: rgba(30, 20, 10, .35); padding: 16px; animation: fadeIn .2s ease-out; }
.rulepop.out { opacity: 0; transition: opacity .25s; }
.rp-card { position: relative; background: var(--card); color: var(--ink); border-radius: 22px; padding: 16px 18px 12px; width: 100%; max-width: 340px; max-height: 88vh; overflow-y: auto; box-shadow: 0 20px 50px rgba(0,0,0,.25); animation: gpIn .4s cubic-bezier(.3, 1.6, .5, 1); }
.rp-card h3 { margin: 6px 0 6px; font-size: 16px; }
.rp-x { position: absolute; right: 10px; top: 10px; border: 0; background: var(--bg); color: var(--muted); width: 30px; height: 30px; border-radius: 50%; font-size: 14px; cursor: pointer; }
.rstep { display: flex; align-items: center; gap: 8px; padding: 6px 8px; margin: 4px 0; border-radius: 12px; background: var(--bg); }
.rstep .rk { font-size: 24px; min-width: 44px; text-align: center; white-space: nowrap; }
.rstep .rk small { font-size: 12px; font-weight: 800; color: var(--accent); margin-left: 1px; }
.rstep .ra { color: var(--muted); font-weight: 700; }
.rstep .rl { flex: 1; font-size: 14px; font-weight: 600; }
.rstep.prog { background: linear-gradient(90deg, #fff1e0, #ffe9ef); } .rstep.prog .rk { min-width: 32px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rstep.prog { background: #4a3326; } }
.sayable { cursor: pointer; -webkit-tap-highlight-color: transparent; transition: box-shadow .2s; }
.sayable .en::after, li.sayable::after { content: " 🔊"; font-size: 13px; opacity: .35; }
.sayable.saying { box-shadow: 0 0 0 3px var(--blue); }
.sayable.saying .en::after, li.sayable.saying::after { opacity: 1; }
.ph { font-family: "Lucida Sans Unicode", "Arial Unicode MS", "Segoe UI", sans-serif; color: var(--blue); font-size: 17px; font-weight: 500; }
.wordcard .ph { display: block; margin: 2px 0 4px; font-size: 20px; }
.result .ph { display: inline; font-size: 15px; margin: 0; }
