:root { --bg:#fff7e6; --bg2:#ffe9c2; --ink:#3a2a1a; --pri:#ff8a00; --pri2:#ffb347; --ok:#2fb344; --bad:#e5484d; --card:#ffffff; --line:#f0d9b0; --mute:#8a6a3a; }
* { box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html,body { margin:0; min-height:100%; background:linear-gradient(180deg,var(--bg),var(--bg2)); color:var(--ink); font-family:"Zen Maru Gothic","Hiragino Maru Gothic ProN","Hiragino Sans","BIZ UDPGothic","Yu Gothic UI","Yu Gothic",Meiryo,"PingFang SC","Microsoft YaHei",sans-serif; -webkit-text-size-adjust:100%; }
#app { max-width:820px; margin:0 auto; padding:14px 16px calc(28px + env(safe-area-inset-bottom)); min-height:100vh; }
h1 { font-size:28px; margin:6px 0; text-align:center; }
button { font-family:inherit; color:inherit; cursor:pointer; }
.btn { display:block; width:100%; border:0; border-radius:22px; padding:17px 20px; font-size:24px; font-weight:700; background:var(--pri); color:#fff; box-shadow:0 5px 0 #c96a00; margin:12px 0; position:relative; }
.btn:active { transform:translateY(4px); box-shadow:0 1px 0 #c96a00; }
.btn.sec { background:#fff; color:var(--ink); box-shadow:0 5px 0 var(--line); border:2px solid var(--line); }
.btn.ok { background:var(--ok); box-shadow:0 5px 0 #1f7a2e; }
.btn.mic { background:#e11d48; box-shadow:0 5px 0 #9f1239; }
.btn.small { font-size:18px; }
.btn.small:not(.sec) { color:#fff; }   /* 第127批：小号按钮被通用的 .small（灰字）盖住，选中变绿后字看不清 */
.sqp { word-break:keep-all; overflow-wrap:anywhere; }   /* 第129批：算数の問題文は 分かち書きの すきまで 改行（「2」と「こ」が 別の行に ならない）。長すぎる語だけは 途中で 折る */
.btn:disabled { opacity:.45; }
.btn em { font-style:normal; font-size:15px; background:#fff; color:var(--pri); border-radius:10px; padding:2px 8px; margin-left:6px; vertical-align:middle; }
.row { display:flex; gap:12px; } .row .btn { flex:1; }
.row4 { display:grid; grid-template-columns:repeat(auto-fit,minmax(104px,1fr)); gap:10px; margin:8px 0; }
.topic { border:3px solid var(--line); border-radius:22px; background:#fff; padding:14px 4px; font-size:20px; font-weight:800; display:flex; flex-direction:column; align-items:center; gap:4px; box-shadow:0 4px 0 var(--line); }
.topic span { font-size:40px; } .topic:active { transform:translateY(3px); box-shadow:none; background:#fff0d0; }
.panel { background:var(--card); border:2px solid var(--line); border-radius:22px; padding:16px 18px; margin:12px 0; box-shadow:0 3px 10px #0001; }
.panel.left { text-align:left; }
.hdr { display:flex; align-items:center; gap:14px; margin:4px 0 10px; } .hdr h1 { text-align:left; margin:0; font-size:30px; }
.mascot { font-size:76px; line-height:1; animation:bob 2.4s ease-in-out infinite; } @keyframes bob { 50% { transform:translateY(-6px) rotate(-3deg); } }
.stats { display:grid; grid-template-columns:repeat(4,1fr); text-align:center; font-size:15px; padding:12px 6px; }
.stats b { display:block; font-size:28px; color:var(--pri); }
.sech { font-size:22px; font-weight:800; margin:18px 0 6px; display:flex; align-items:center; gap:10px; }
.badge { font-size:14px; background:var(--bad); color:#fff; border-radius:12px; padding:2px 10px; font-weight:700; }
.small { font-size:15px; color:var(--mute); text-align:center; margin:6px 0; }
.big { font-size:21px; text-align:center; margin:10px 0; } .center { text-align:center; }
.err { color:#c0392b; text-align:center; font-size:16px; }
/* 学习界面 */
.top { display:flex; align-items:center; gap:12px; margin-bottom:6px; min-height:44px; }
.x { background:#fff; border:2px solid var(--line); border-radius:50%; width:44px; height:44px; font-size:20px; flex:none; }
.bar { flex:1; height:16px; background:#fff; border:2px solid var(--line); border-radius:10px; overflow:hidden; }
.bar i { display:block; height:100%; background:linear-gradient(90deg,var(--pri2),var(--pri)); border-radius:8px; transition:width .5s; }
.ttl { flex:1; text-align:center; font-weight:800; font-size:20px; } .mini { font-weight:800; font-size:18px; flex:none; }
.stage { animation:rise .35s ease; } @keyframes rise { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
.kicker { text-align:center; font-size:22px; font-weight:800; margin:8px 0; color:var(--pri); }
.big-emoji { font-size:92px; text-align:center; line-height:1.15; }
.bigspk { display:block; margin:10px auto; width:130px; height:130px; border-radius:50%; border:0; font-size:60px; background:var(--pri2); box-shadow:0 7px 0 #d98a1f; } .bigspk:active { transform:translateY(5px); box-shadow:0 2px 0 #d98a1f; }
.bubble { background:#fff; border:3px solid var(--pri2); border-radius:24px; padding:14px 20px; margin:10px 0; text-align:center; }
.bubble .zh { font-size:36px; font-weight:800; line-height:1.4; } .bubble .py { font-size:21px; color:var(--mute); margin-top:2px; } .bubble .ja { font-size:19px; color:#4f7a1f; margin-top:4px; } .bubble .ja.big { font-size:28px; margin:2px 0; font-weight:700; }
.hide-py .py { display:none; } .hide-ja .ja:not(.big) { display:none; } .hide-ja .opt .ja { display:inline; }
.fillzh .blank { display:inline-block; min-width:70px; border-bottom:5px dashed var(--pri); color:var(--pri); } .fillzh .blank.good { color:var(--ok); border-color:var(--ok); } .fillzh .blank.bad { color:var(--bad); border-color:var(--bad); }
.opts { display:flex; flex-direction:column; gap:12px; margin:12px 0; }
.opts .opt { border:3px solid var(--line); background:#fff; border-radius:22px; padding:14px 18px; font-size:24px; font-weight:700; text-align:left; display:flex; align-items:center; gap:12px; box-shadow:0 4px 0 var(--line); }
.opt .e { font-size:46px; } .opt .ja { font-size:20px; font-weight:700; }
.opts.row3 { flex-direction:row; } .opts.row3 .opt { flex:1; flex-direction:column; justify-content:center; text-align:center; gap:2px; }
.opt.word b { font-size:30px; } .opt.word small { font-size:15px; color:var(--mute); font-weight:500; }
.opt.right { background:#dcfce7; border-color:var(--ok); box-shadow:0 4px 0 #86d99a; animation:pop .4s; }
.opt.wrong { background:#fee2e2; border-color:var(--bad); animation:shake .4s; box-shadow:0 4px 0 #f1a6a9; }
@keyframes pop { 50% { transform:scale(1.04); } } @keyframes shake { 20%,60% { transform:translateX(-7px); } 40%,80% { transform:translateX(7px); } }
.chunks { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin:12px 0; }
.chunk { border:3px solid var(--pri2); background:#fff; border-radius:18px; padding:8px 16px; display:flex; flex-direction:column; align-items:center; box-shadow:0 4px 0 #e6b25a; min-width:64px; }
.chunk b { font-size:30px; } .chunk small { font-size:14px; color:var(--mute); } .hide-py .chunk small, .hide-py .slot small, .hide-py .word small { display:none; }
.chunk:active { transform:translateY(3px); box-shadow:none; }
.slots { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin:14px 0; min-height:76px; }
.slot { min-width:70px; min-height:76px; border:3px dashed var(--line); background:#fffbf2; border-radius:18px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:6px 12px; }
.slot.full { border-style:solid; border-color:var(--pri2); background:#fff; } .slot b { font-size:30px; } .slot small { font-size:14px; color:var(--mute); }
.slot.right { border-color:var(--ok); background:#dcfce7; } .slot.wrong { border-color:var(--bad); background:#fee2e2; animation:shake .4s; }
.fb { text-align:center; font-size:24px; font-weight:800; padding:12px; border-radius:18px; margin:10px 0; }
.fb.good { background:#dcfce7; color:#15803d; } .fb.bad { background:#fff1f2; color:#9f1239; font-size:20px; }
.stars { font-size:60px; text-align:center; letter-spacing:6px; }
.sline { display:flex; justify-content:space-between; gap:10px; padding:8px 0; border-bottom:1px dashed var(--line); font-size:20px; } .sline small { color:var(--mute); font-size:15px; text-align:right; }
.toggles { display:flex; gap:10px; justify-content:center; margin:14px 0 4px; }
.toggles button { border:2px solid var(--line); background:#fff; border-radius:14px; padding:8px 14px; font-size:16px; } .toggles button.on { background:var(--pri2); border-color:var(--pri); }
/* 聊天 */
.talk { display:flex; align-items:flex-start; gap:10px; } .talk .face { font-size:64px; } .talk .bubble { flex:1; margin:0; text-align:left; }
.talk .bubble .zh { font-size:30px; }
.spk { border:0; background:var(--pri2); border-radius:50%; width:52px; height:52px; font-size:26px; flex:none; }
.choice { text-align:left; background:#fff; border:3px solid var(--line); border-radius:20px; padding:14px 18px; margin:10px 0; width:100%; box-shadow:0 4px 0 var(--line); }
.choice:active { background:#fff0d0; } .choice .zh { font-size:28px; font-weight:700; } .choice .py { font-size:18px; color:var(--mute); } .choice .ja { font-size:16px; color:#4f7a1f; }
.hide-ja .choice .ja { display:none; }
/* 句子本 / 家长 */
.blist { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:10px; }
.bitem { display:flex; align-items:center; gap:10px; text-align:left; background:#fff; border:2px solid var(--line); border-radius:16px; padding:10px 12px; } .bitem b { font-size:22px; display:block; } .bitem small { display:block; color:var(--mute); font-size:14px; } .bitem .bi { font-size:30px; }
.hide-py .bitem .py { display:none; } .hide-ja .bitem .ja { display:none; }
table { width:100%; border-collapse:collapse; margin-top:6px; } th,td { text-align:left; padding:6px 4px; border-bottom:1px dashed var(--line); font-size:17px; } th { color:var(--mute); font-size:14px; }
.kv { margin:6px 0; font-size:17px; } .ans { display:block; margin:12px auto; width:140px; font-size:32px; text-align:center; padding:8px; border:3px solid var(--line); border-radius:16px; }
/* 卡片 */
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:12px; }
.grid > div, .kgrid > .kcell, .avgrid > .avopt, .blist > .bitem { content-visibility:auto; }
.grid > div { contain-intrinsic-size:180px 330px; } .kgrid > .kcell { contain-intrinsic-size:66px 64px; } .avgrid > .avopt { contain-intrinsic-size:96px 96px; }
.card { position:relative; border-radius:18px; padding:10px; text-align:center; border:4px solid #bbb; background:#fff; }
.card .em { font-size:56px; } .card .nm { font-size:20px; font-weight:800; } .card .cpy { font-size:13px; color:#777; } .card .cz { font-size:15px; margin-top:6px; font-weight:600; }
.card .rt { position:absolute; top:6px; left:8px; font-size:13px; font-weight:800; z-index:1; background:#fffc; border-radius:8px; padding:0 6px; }
.card .art { width:100%; aspect-ratio:5/7; object-fit:contain; border-radius:6px; display:block; background:#0001; }
.card.R { border-color:#3b82f6; background:#eef5ff; } .card.SR { border-color:#a855f7; background:#f6eeff; }
.card.UR { border-color:#f5b800; background:linear-gradient(135deg,#fff6c9,#ffe0f0,#d9f0ff); animation:shine 2s linear infinite; }
@keyframes shine { 50% { box-shadow:0 0 28px #f5b800; } }
.card.locked { filter:grayscale(1); opacity:.35; min-height:120px; display:flex; align-items:center; justify-content:center; font-size:40px; }
[data-id] > .cnt { position:absolute; top:8px; right:10px; font-size:14px; background:#fffd; border-radius:10px; padding:0 8px; font-weight:700; z-index:2; }
.pack { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin:12px 0; } .pack > div { width:30%; min-width:170px; cursor:pointer; } .pack .card { width:100%; }
.back { background:repeating-linear-gradient(45deg,#ff8a00,#ff8a00 12px,#ffb347 12px,#ffb347 24px); border-color:#c96a00; display:flex; align-items:center; justify-content:center; font-size:60px; color:#fff; min-height:260px; }
.flip { animation:flip .5s; } @keyframes flip { from { transform:rotateY(90deg); } to { transform:none; } }
.cardbig { max-width:360px; margin:12px auto; } .cardbig .nm { font-size:30px; } .cardbig .cz { font-size:24px; } .cardbig .cpy { font-size:16px; }
.confetti { position:fixed; inset:0; pointer-events:none; z-index:50; }
@media (max-width:560px) { .row4 { gap:6px; } .topic { font-size:17px; } .bubble .zh { font-size:30px; } .opts.row3 .opt b { font-size:24px; } }
ruby { ruby-position:over; } rt { font-size:.5em; font-weight:500; letter-spacing:0; }
.bubble .ja, .opt .ja, .choice .ja, .bitem .ja, .sline small, .fb { line-height:1.9; }
.bubble .ja.big { line-height:2.1; }
.bubble .ja { margin-top:12px; font-size:20px; } rt { font-size:.55em; }

.mathbox .expr { font-size:56px; font-weight:800; color:var(--pri); letter-spacing:2px; } .mathbox .zh { font-size:28px; }

.langs { display:flex; gap:10px; margin:6px 0 10px; } .langs button { flex:1; font-size:21px; font-weight:800; border:3px solid var(--line); background:#fff; border-radius:18px; padding:10px 6px; box-shadow:0 4px 0 var(--line); } .langs button.on { background:var(--pri2); border-color:var(--pri); box-shadow:0 4px 0 #d98a1f; }

.who-grid { display:flex; gap:16px; margin:20px 0; } .whobtn { flex:1; background:#fff; border:3px solid var(--line); border-radius:28px; padding:22px 8px; box-shadow:0 6px 0 var(--line); display:flex; flex-direction:column; align-items:center; gap:4px; }
.whobtn span { font-size:84px; line-height:1.1; } .whobtn b { font-size:30px; } .whobtn small { color:var(--mute); font-size:17px; } .whobtn:active { transform:translateY(4px); box-shadow:none; }
.who { display:block; margin:0 auto 6px; border:2px solid var(--line); background:#fff; border-radius:16px; padding:6px 16px; font-size:17px; font-weight:700; }
.young .bubble .zh { font-size:46px; } .young .opt .e { font-size:70px; } .young .opts .opt { padding:18px 20px; } .young .big-emoji { font-size:120px; } .young .btn { font-size:28px; padding:20px; }
.young .opt .ja { font-size:24px; } .young .kicker { font-size:26px; } .young .chunk b { font-size:36px; }

.kanji-big { font-size:130px; text-align:center; line-height:1.1; font-weight:800; margin:4px 0; } .kanji-big.sub { color:#8a6a3a; }
.kana-pair { display:flex; justify-content:center; gap:30px; } .hl { color:var(--pri); }
.yomi { font-size:22px; color:var(--mute); margin-top:2px; } .kopt { font-size:34px; }
.opts.row3 .opt.word .kopt { font-size:54px; } .young .kopt { font-size:44px; }
.kgrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(66px,1fr)); gap:8px; margin:12px 0; }
.kcell { background:#fff; border:2px solid var(--line); border-radius:14px; padding:6px 2px; display:flex; flex-direction:column; align-items:center; } .kcell.focus { border-color:var(--pri); background:#fff4d6; }
.kcell .kk { font-size:30px; font-weight:700; } .kcell .ki { font-size:14px; }
.kcell { position:relative; } .kcell.miss::after, .kmiss-dot { content:''; display:inline-block; width:10px; height:10px; border-radius:50%; background:#e03131; } .kcell.miss::after { position:absolute; top:5px; right:6px; }
.kdetail .kyomi { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; font-size:20px; margin:6px 0 10px; } .kdetail .kyomi b { font-size:24px; }
.kword { display:flex; align-items:center; gap:10px; width:100%; margin:6px 0; padding:10px 14px; background:#fff; border:2px solid var(--line); border-radius:14px; font:inherit; color:inherit; cursor:pointer; text-align:left; }
.kword b { font-size:28px; } .kword small { font-size:18px; color:var(--mute); flex:1; } .kword span { font-size:22px; }
.kta { width:100%; font-size:24px; padding:10px; border:3px solid var(--line); border-radius:14px; font-family:inherit; margin:6px 0; }

.av { display:inline-block; border-radius:50%; overflow:hidden; background:#fff; border:3px solid var(--pri2); vertical-align:middle; flex:none; }
.av.lg { width:124px; height:124px; border-width:4px; } .av.md { width:86px; height:86px; } .av.sm { width:28px; height:28px; border-width:2px; margin-right:2px; }
.av img { width:100%; height:100%; object-fit:cover; object-position:50% 27%; display:block; }
.av.emo { display:inline-flex; align-items:center; justify-content:center; background:#fff7e6; } .av.emo.lg { font-size:72px; } .av.emo.sm { font-size:17px; } .av.emo.md { font-size:48px; }
.whocol { flex:1; display:flex; flex-direction:column; gap:8px; } .whocol .whobtn { width:100%; }
.avchg { border:0; background:transparent; color:var(--mute); font-size:15px; padding:6px; text-decoration:underline; }
.avgrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(96px,1fr)); gap:10px; margin:14px 0; justify-items:center; } .avopt { background:transparent; border:0; padding:4px; } .avopt:active .av { transform:scale(.92); border-color:var(--pri); }
.young .who .av.sm { width:34px; height:34px; }

.langs button { font-size:17px; padding:9px 2px; } @media (max-width:560px) { .langs button { font-size:15px; } }
.hissan { font-family:ui-monospace,Menlo,Consolas,monospace; font-size:44px; line-height:1.25; text-align:right; display:inline-block; background:#fff; border:3px solid var(--line); border-radius:16px; padding:10px 22px; margin:0; }
.sqfig { text-align:center; margin:8px 0; } .emogrid { font-size:44px; line-height:1.3; letter-spacing:3px; background:#fff; border:3px solid var(--line); border-radius:18px; padding:10px 14px; display:inline-block; max-width:100%; word-break:break-all; }
.emogrid .gone { opacity:.6; } .young .emogrid { font-size:54px; }
.topic.focus { border-color:var(--pri); background:#fff4d6; } .sqgrid .topic { font-size:17px; padding:12px 4px; } .sqgrid .topic span { font-size:34px; }
.sqchecks { display:flex; flex-direction:column; gap:6px; margin:8px 0; } .sqchk { display:flex; align-items:center; gap:8px; font-size:18px; background:#fffbf2; border:2px solid var(--line); border-radius:12px; padding:8px 10px; } .sqchk input { width:22px; height:22px; } .sqchk small { color:var(--mute); margin-left:auto; }
.opts.row3 .opt.word .kopt { font-size:34px; }

/* 全屏 / 应用模式 */
html, body { overscroll-behavior:none; -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; touch-action:manipulation; }
input, textarea { -webkit-user-select:text; user-select:text; }
#app { padding-top:calc(14px + env(safe-area-inset-top)); padding-left:calc(16px + env(safe-area-inset-left)); padding-right:calc(16px + env(safe-area-inset-right)); }
.fsbtn { position:fixed; right:calc(10px + env(safe-area-inset-right)); top:calc(8px + env(safe-area-inset-top)); z-index:20; border:2px solid var(--line); background:#fffd; border-radius:14px; width:46px; height:46px; font-size:22px; box-shadow:0 3px 0 var(--line); }
.standalone .fsbtn { display:none; }

/* ===== 固定外壳：页面本体不能拖动，内容超出一屏时才在内部滚动 ===== */
html, body { position:fixed; inset:0; width:100%; height:100%; overflow:hidden; }
#app { position:absolute; top:0; bottom:0; left:0; right:0; margin:0 auto; min-height:0; overflow-y:auto; overflow-x:hidden; -webkit-overflow-scrolling:touch; overscroll-behavior:none; scrollbar-width:none; }
#app::-webkit-scrollbar { display:none; }
@media (hover:hover) and (pointer:fine) {   /* 电脑（鼠标）：显示细滚动条，看得出下面还有内容 */
  #app { scrollbar-width:thin; scrollbar-color:#e3c48f transparent; }
  #app::-webkit-scrollbar { display:block; width:8px; } #app::-webkit-scrollbar-thumb { background:#e3c48f; border-radius:4px; }
}
@supports (height:100dvh) { html, body { height:100dvh; } }
/* 屏幕高度不够（iPad 横屏）时，把学习页压紧，尽量一屏放下 */
@media (max-height:860px) {
  .big-emoji { font-size:62px; } .kanji-big { font-size:92px; } .young .big-emoji { font-size:76px; }
  .kicker { font-size:19px; margin:2px 0; } .bubble { padding:8px 14px; margin:6px 0; } .bubble .zh { font-size:30px; } .bubble .py { font-size:18px; }
  .btn { padding:11px 16px; font-size:21px; margin:7px 0; } .opts { gap:8px; margin:8px 0; } .opts .opt { padding:9px 14px; font-size:21px; } .opt .e { font-size:36px; }
  .chunk b { font-size:24px; } .slot { min-height:58px; } .slots { margin:8px 0; min-height:60px; } .bigspk { width:84px; height:84px; font-size:38px; margin:4px auto; }
  .toggles { margin:6px 0 0; } .toggles button { padding:5px 10px; font-size:14px; } .hdr .mascot { font-size:54px; } h1 { font-size:22px; } .stats { padding:6px 4px; } .stats b { font-size:22px; }
  .fb { padding:8px; font-size:20px; margin:6px 0; } .top { margin-bottom:2px; } .young .bubble .zh { font-size:36px; } .young .opt .e { font-size:52px; } .hissan { font-size:34px; padding:6px 16px; }
  .emogrid { font-size:34px; } .mathbox .expr { font-size:44px; } .young .btn { font-size:22px; padding:13px; }
}

/* 三选一的卡包 */
.pickone { gap:14px; align-items:flex-start; } .pickone > div { width:30%; min-width:130px; }
.pickable { cursor:pointer; animation:bob 2.2s ease-in-out infinite; } .pickable:nth-child(2) { animation-delay:.3s; } .pickable:nth-child(3) { animation-delay:.6s; }
.pickable .back { min-height:230px; } .pickable:active { transform:scale(.96); }
.vanish { animation:vanish .55s ease-in forwards !important; pointer-events:none; }
@keyframes vanish { 0% { opacity:1; } 100% { opacity:0; transform:scale(.3) translateY(40px) rotate(14deg); } }
.lift { animation:lift .6s ease-out forwards !important; z-index:3; position:relative; pointer-events:none; }
@keyframes lift { 0% { transform:scale(1); } 60% { transform:scale(1.25) rotate(-3deg); filter:drop-shadow(0 0 26px #ffcf33); } 100% { transform:scale(1.15); filter:drop-shadow(0 0 20px #ffcf33); } }
.reveal { animation:reveal .9s ease both; max-width:330px; margin:0 auto; width:100%; filter:drop-shadow(0 0 18px #ffcf33); }
@keyframes reveal { 0% { transform:rotateY(90deg) scale(.5); opacity:0; } 55% { transform:rotateY(0) scale(1.14); opacity:1; } 100% { transform:scale(1); } }
.reveal .card .nm { font-size:26px; } .reveal .card .cz { font-size:20px; }

/* ===== 开卡特效 ===== */
.pickable.dim { opacity:.35; filter:grayscale(.4); transform:scale(.9); pointer-events:none; transition:all .5s; animation:none !important; }
.pickable.charge { animation:charge .22s linear infinite !important; filter:drop-shadow(0 0 26px var(--glow)) drop-shadow(0 0 50px var(--glow)); }
@keyframes charge { 0% { transform:scale(1.15) translate(-3px,1px) rotate(-2deg); } 25% { transform:scale(1.2) translate(3px,-2px) rotate(2deg); } 50% { transform:scale(1.15) translate(-2px,-3px) rotate(-1deg); } 75% { transform:scale(1.22) translate(2px,2px) rotate(2deg); } 100% { transform:scale(1.15) translate(-3px,1px) rotate(-2deg); } }
.flashfx { position:fixed; inset:0; z-index:60; pointer-events:none; animation:flashout .7s ease-out forwards; } @keyframes flashout { 0% { opacity:.95; } 100% { opacity:0; } }
.stagefx { position:relative; display:flex; justify-content:center; padding:18px 0; }
.stagefx.rays::before { content:''; position:absolute; left:50%; top:50%; width:150%; aspect-ratio:1; transform:translate(-50%,-50%); border-radius:50%; z-index:0; animation:spin 6s linear infinite; opacity:.85; background:repeating-conic-gradient(from 0deg, rgba(255,255,255,0) 0 12deg, var(--ray,#cfe0ff) 12deg 20deg); -webkit-mask-image:radial-gradient(circle, #000 20%, transparent 68%); mask-image:radial-gradient(circle, #000 20%, transparent 68%); }
.stagefx.r-R { --ray:#9ec5ff; } .stagefx.r-SR { --ray:#d9b3ff; } .stagefx.r-UR { --ray:#ffe27a; } .stagefx.r-UR::before { background:repeating-conic-gradient(from 0deg, #ff7a7a 0 10deg, #ffd45a 10deg 20deg, #7affb0 20deg 30deg, #7ac8ff 30deg 40deg, #c98aff 40deg 50deg, #ff7ad9 50deg 60deg); }
@keyframes spin { to { transform:translate(-50%,-50%) rotate(360deg); } }
.reveal { position:relative; z-index:1; }
.rv-R { filter:drop-shadow(0 0 20px #3b82f6); } .rv-SR { filter:drop-shadow(0 0 26px #a855f7); } .rv-UR { filter:drop-shadow(0 0 34px #ffcf33) drop-shadow(0 0 60px #ff9ad5); animation:reveal .9s ease both, pulse 1.6s ease-in-out .9s infinite; }
@keyframes pulse { 50% { transform:scale(1.04); } }
.holo { position:absolute; inset:0; border-radius:18px; pointer-events:none; mix-blend-mode:screen; opacity:.55; overflow:hidden; }
.holo::before { content:''; position:absolute; inset:-15% -120%; background:linear-gradient(115deg, transparent 38%, rgba(255,255,255,.85) 45%, rgba(255,120,255,.5) 49%, rgba(120,220,255,.5) 53%, transparent 60%); animation:holo 2.4s ease-in-out infinite; will-change:transform; }
@keyframes holo { 0% { transform:translate3d(28%,0,0); } 100% { transform:translate3d(-28%,0,0); } }
.rarebanner { font-size:34px; font-weight:900; margin:6px 0 2px; text-shadow:0 2px 0 #fff, 0 0 18px currentColor; animation:bannerin .7s cubic-bezier(.2,1.6,.4,1) both; }
.rarebanner.b-UR { font-size:40px; background:linear-gradient(90deg,#ff5e5e,#ffb02e,#35d07f,#38b6ff,#b266ff); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; text-shadow:none; animation:bannerin .7s cubic-bezier(.2,1.6,.4,1) both, hue 2s linear infinite; }
@keyframes bannerin { 0% { transform:scale(.2) rotate(-12deg); opacity:0; } 100% { transform:scale(1) rotate(0); opacity:1; } } @keyframes hue { to { filter:hue-rotate(360deg); } }
.shk1 { animation:shk 0.5s ease; } .shk2 { animation:shk 0.7s ease; } @keyframes shk { 10%,50%,90% { transform:translate(-5px,2px); } 30%,70% { transform:translate(6px,-3px); } }
.goldback { background:repeating-linear-gradient(45deg,#ffcf33,#ffcf33 12px,#fff1a8 12px,#fff1a8 24px) !important; border-color:#d9a400 !important; box-shadow:0 0 22px #ffcf33; }
.packtitle.rare { background:linear-gradient(90deg,#ff7a18,#ffcf33,#ff7a18); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation:hue 3s linear infinite; }
.rarebg { background:radial-gradient(circle at 50% 30%, rgba(255,214,102,.55), transparent 60%); border-radius:24px; }

/* ===== 卡片放大 ===== */
.card[data-cid] { cursor:zoom-in; }
.zoomov { position:fixed; inset:0; z-index:80; background:rgba(18,10,2,.9); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:10px 12px calc(10px + env(safe-area-inset-bottom)); animation:zin .25s ease; overflow:auto; -webkit-user-select:none; }
@keyframes zin { from { opacity:0; transform:scale(.92); } to { opacity:1; transform:none; } }
/* 周さん 11-21「卡片库里打开卡片显示不全」：小知识が増えて縦にあふれると、center 寄せのため上（カードの絵）が画面外に出てスクロールでも戻れなかった → 上から並べ、余白は前後の伸びる空白で中央寄せ */
.zoomov { justify-content:flex-start; } .zoomov::before, .zoomov::after { content:''; flex:1 0 0; }
.zx { position:absolute; right:calc(12px + env(safe-area-inset-right)); top:calc(12px + env(safe-area-inset-top)); z-index:2; width:48px; height:48px; border-radius:50%; border:0; background:#fffd; font-size:22px; }
.zwrap { perspective:900px; touch-action:none; }
.ztilt { position:relative; border-radius:16px; transition:transform .12s ease-out; transform-style:preserve-3d; box-shadow:0 0 30px #ffffff30; line-height:0; }
.ztilt.r-R { box-shadow:0 0 36px #3b82f6aa; } .ztilt.r-SR { box-shadow:0 0 44px #a855f7cc; } .ztilt.r-UR { box-shadow:0 0 54px #ffcf33, 0 0 90px #ff9ad588; }
.zimg { max-height:64vh; max-width:88vw; width:auto; height:auto; border-radius:16px; display:block; background:#222; }
.zholo { position:absolute; inset:0; border-radius:16px; pointer-events:none; mix-blend-mode:screen; opacity:0; background:linear-gradient(115deg, transparent 15%, rgba(255,255,255,.8) 30%, rgba(255,110,255,.55) 42%, rgba(110,220,255,.55) 54%, transparent 70%); background-size:260% 260%; background-position:50% 50%; transition:background-position .1s; }
.zholo.on { opacity:.55; }
.zinfo { text-align:center; color:#fff7e6; line-height:1.35; max-width:min(92vw,560px); }
.znm { font-size:24px; font-weight:800; } .znm small { font-size:15px; font-weight:500; opacity:.8; } .zsen { font-size:24px; font-weight:700; margin-top:2px; } .zpy { font-size:16px; opacity:.85; } .zja { font-size:17px; opacity:.9; margin-top:2px; }
.zsay { display:inline-block !important; width:auto !important; padding:8px 26px !important; font-size:20px !important; margin:8px 0 2px !important; } .zhint { font-size:13px; opacity:.6; }
@media (max-height:700px) { .zimg { max-height:52vh; } .zsen { font-size:20px; } }

.nopy .py { display:none !important; }
.lvline { display:flex; gap:8px; justify-content:center; margin:2px 0 8px; } .lvb { font-size:14px; font-weight:800; background:#fff; border:2px solid var(--pri2); color:#b45f00; border-radius:12px; padding:2px 12px; }
.lvrow { display:flex; justify-content:space-between; align-items:center; padding:6px 0; border-bottom:1px dashed var(--line); font-size:17px; } .lvrow button { width:36px; height:36px; border-radius:10px; border:2px solid var(--line); background:#fff; font-size:20px; font-weight:800; } .lvrow b { display:inline-block; min-width:52px; text-align:center; }

.lvtag { font-size:12px; font-weight:800; background:#fff; border:1.5px solid var(--pri2); color:#b45f00; border-radius:10px; padding:0 7px; margin-left:4px; vertical-align:middle; }
.topic .lvtag { display:block; margin:2px auto 0; width:fit-content; }
.flashnote { text-align:center; font-size:17px; font-weight:800; color:#b45f00; background:#fff4d6; border:2px solid var(--pri2); border-radius:14px; padding:6px 10px; margin:4px 0; animation:bannerin .5s ease both; }

.newbanner { position:relative; text-align:center; font-size:19px; font-weight:800; color:#92400e; background:linear-gradient(90deg,#fff1b8,#ffe0f0,#d9f0ff); border:3px solid #f5b800; border-radius:18px; padding:10px 40px 10px 14px; margin:0 0 10px; animation:bannerin .6s cubic-bezier(.2,1.6,.4,1) both, shine 2.4s linear infinite; }
.newbanner small { font-weight:600; font-size:14px; } .newbanner button { position:absolute; right:8px; top:8px; width:30px; height:30px; border-radius:50%; border:0; background:#fffc; }

/* 低配平板（内存≤4GB 或 核心≤4）：去掉最吃 GPU 的特效，保证流畅 */
.lite .holo, .lite .zholo, .lite .mascot { animation:none !important; } .lite .holo, .lite .zholo { display:none; }
.lite .stagefx.rays::before { animation:none; -webkit-mask-image:none; mask-image:none; opacity:.35; }
.lite .pickable:not(.lift):not(.vanish), .lite .pickable.charge { animation:none !important; }
.lite .pickable.charge { transform:scale(1.15); }
.lite .pickable.charge, .lite .reveal, .lite .rv-R, .lite .rv-SR, .lite .rv-UR, .lite .lift, .lite .ztilt { filter:none !important; }
.lite .rv-UR { animation:reveal .7s ease both; }
.lite .card.UR { animation:none; } .lite .newbanner, .lite .rarebanner.b-UR, .lite .packtitle.rare { animation:none; -webkit-text-fill-color:currentColor; }
.lite .card, .lite .btn, .lite .panel { box-shadow:none; }
@media (prefers-reduced-motion:reduce) { .stage, .bar i, .ztilt, .zholo { transition:none; } }
.uilang { margin-left:auto; width:46px; height:46px; border-radius:50%; border:3px solid #f5b800; background:#fff8db; font-size:20px; font-weight:900; color:#92400e; flex:none; }

.ailog { max-height:260px; overflow-y:auto; -webkit-overflow-scrolling:touch; }

.daily3 { display:flex; flex-wrap:wrap; align-items:center; gap:8px; background:#fffdf3; border:3px solid #f5d77a; border-radius:18px; padding:8px 10px; margin:6px 0; }
.daily3 b { font-size:17px; } .daily3 .d3 { border:2px solid #e8d7a8; background:#fff; border-radius:14px; padding:6px 12px; font-size:16px; font-weight:700; }
.daily3 .d3.ok { background:#e8f8e8; border-color:#7bc47b; color:#2f7a2f; } .daily3 .d3n { margin-left:auto; font-weight:800; color:#92400e; }

.daily3 .big10 { flex:1 1 100%; font-size:22px; padding:14px; margin:0 0 4px; }
.daily3 span.d3 { border:2px solid #e8d7a8; background:#fff; border-radius:14px; padding:5px 10px; font-size:15px; font-weight:700; }
.daily3 span.d3.ok { background:#e8f8e8; border-color:#7bc47b; color:#2f7a2f; } .daily3.done { background:#effbe9; border-color:#9bd48f; }
/* 周さん 11-26：自家の子は 中文が まだなら 中文タブ・チップを 目立たせる */
.langs button.nx:not(.on) { border-color:#e11d48; box-shadow:0 4px 0 #be123c; animation:nxp 1.6s ease-in-out infinite; } .daily3 span.d3.nx { border-color:#e11d48; color:#be123c; }
@keyframes nxp { 50% { transform:translateY(-3px); } } @media (prefers-reduced-motion:reduce) { .langs button.nx { animation:none; } }
.btn.big10 { font-size:21px; }

/* カードこうかん */
.trrow { display:flex; align-items:center; justify-content:center; gap:10px; margin:8px 0; }
.trslot { flex:0 1 44%; text-align:center; } .trslot .card { margin:0 auto; }
.trname { font-weight:800; font-size:18px; margin-bottom:4px; }
.trarrow { font-size:40px; font-weight:900; color:#ff8a00; }
.card.trwait { display:flex; align-items:center; justify-content:center; font-size:56px; min-height:180px; background:#fff8ea; border:3px dashed #e8d7a8; }
.trstat { text-align:center; font-size:20px; font-weight:800; margin:6px 0 10px; color:#8a5a00; }
.trpick { border-radius:16px; } .trpick.on { outline:5px solid #ff8a00; outline-offset:2px; }
.trinvite { position:fixed; inset:0; background:rgba(0,0,0,.45); display:flex; align-items:center; justify-content:center; z-index:50; }
.trinvite .trbox { background:#fff; border-radius:26px; padding:22px; width:min(90vw,420px); text-align:center; font-size:22px; }
.trinvite .trbox { max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; }   /* Fable R2 D27：高い ダイアログでも 下の ボタンまで スクロールできる */

/* Lv.6〜7：造句・填空的词块也不显示拼音/片假名 */
.nopy .chunk small, .nopy .slot small, .nopy .opt.word small { display:none !important; }

/* ログイン：4けたの パスワード */
.pindots { display:flex; justify-content:center; gap:16px; margin:14px 0 8px; }
.pindots span { width:22px; height:22px; border-radius:50%; border:3px solid #e8a33d; background:#fff; }
.pindots span.on { background:#ff8a00; border-color:#ff8a00; }
.pinpad { display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; max-width:330px; margin:14px auto 0; }
.pinkey { font-size:30px; font-weight:800; padding:16px 0; border-radius:20px; border:2px solid var(--line); background:#fff; color:var(--ink); box-shadow:0 4px 0 var(--line); }
.pinkey:active { transform:translateY(3px); box-shadow:0 1px 0 var(--line); }
.acctrow { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; padding:8px 0; border-bottom:1px dashed var(--line); }
.acctrow input, .acctadd input, .acctadd select { font-size:18px; padding:6px 8px; border:2px solid var(--line); border-radius:10px; width:7em; }
.acctadd { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:8px; }
.regbtns { display:flex; flex-direction:column; gap:10px; max-width:420px; margin:18px auto 6px; }
.regkid { border-bottom:1px dashed var(--line); padding-bottom:8px; }
.acctadd[hidden] { display:none; }
.agree { display:block; margin:12px 0; font-size:16px; line-height:1.6; } .agree input { width:20px; height:20px; vertical-align:middle; margin-right:6px; }
.legal { margin-top:14px; } .legal a { color:inherit; }
.emo-art { aspect-ratio:5/7; display:flex; align-items:center; justify-content:center; font-size:72px; line-height:1; background:radial-gradient(circle at 50% 40%, #fff 0, #f3ead9 70%); }
.card.R .emo-art { background:radial-gradient(circle at 50% 40%, #fff 0, #d6e6ff 70%); } .card.SR .emo-art { background:radial-gradient(circle at 50% 40%, #fff 0, #e9d6ff 70%); }
.card.UR .emo-art { background:radial-gradient(circle at 50% 40%, #fffbe6 0, #ffe7a3 45%, #ffd1ec 75%, #cfe9ff 100%); }
.card.big .emo-art, .reveal .card .emo-art { font-size:128px; } .avgrid .av.emo { font-size:40px; }
.zimg.zemo { position:relative; aspect-ratio:5/7; height:min(64vh, 500px); width:auto; max-width:88vw; line-height:1.3; box-sizing:border-box; border-radius:18px; border:6px solid #f5b800; background:radial-gradient(circle at 50% 40%, #fff 0, #f3ead9 75%); display:flex; flex-direction:column; align-items:center; justify-content:center; color:#3a2e22; }
.r-R .zemo { border-color:#3b82f6; } .r-SR .zemo { border-color:#a855f7; } .r-C .zemo { border-color:#bbb; }
.zimg.zemo .rt { position:absolute; top:10px; left:12px; font-weight:800; } .zemo-art { font-size:150px; line-height:1.1; } .zemo-nm { font-size:34px; font-weight:800; } .zemo-en { font-size:18px; color:#8a7560; }
@media (max-height:700px) { .zimg.zemo { height:52vh; } .zemo-art { font-size:110px; } }
.gifttoast { position:fixed; left:50%; top:calc(16px + env(safe-area-inset-top, 0px)); transform:translateX(-50%); z-index:60; background:#fff7e0; border:3px solid #f5b800; border-radius:999px; padding:10px 22px; font-size:22px; font-weight:800; box-shadow:0 6px 20px #0002; }
.vmail { position:fixed; right:max(16px, env(safe-area-inset-right, 0px)); bottom:calc(16px + env(safe-area-inset-bottom, 0px)); z-index:55; border:3px solid #f59ec0; background:#fff0f6; color:#7a2950; border-radius:22px; padding:12px 18px; font:inherit; font-size:20px; font-weight:800; box-shadow:0 6px 20px #0002; cursor:pointer; animation:vmbob 1.6s ease-in-out infinite; }
.vmail small { display:block; font-size:14px; font-weight:600; } @keyframes vmbob { 50% { transform:translateY(-6px); } } .lite .vmail { animation:none; }
.vmlist { display:flex; flex-direction:column; gap:8px; margin:12px 0; } .vmlist .btn small { margin-left:10px; font-size:14px; font-weight:600; }
.pron { font-size:34px; font-weight:800; letter-spacing:.06em; margin:6px 0; } .pm.ok { color:#16a34a; } .pm.ng { color:#dc2626; text-decoration:underline wavy #dc262688; }
.clockfig { display:block; margin:6px auto; }
.sqfig { display:block; margin:6px auto; max-width:100%; height:auto; }
.plang { display:flex; justify-content:flex-end; gap:6px; } .plang button { font:inherit; font-size:14px; border:1px solid var(--line); background:#fff; border-radius:999px; padding:3px 12px; cursor:pointer; } .plang button.on { background:#f59f00; color:#fff; border-color:#f59f00; }
.feats { margin:6px 0 0; padding-left:1.3em; font-size:16px; line-height:1.6; } .feats li { margin:3px 0; }
.introdots { display:flex; justify-content:center; gap:8px; margin:10px 0; } .introdots span { width:10px; height:10px; border-radius:50%; background:#e8d7a8; } .introdots span.on { background:#ff8a00; }
.trq { font-size:20px; color:#6b4f2a; margin-top:6px; min-height:0; } .trq:empty { display:none; }
/* 按下时按钮往下移 3〜5px：点在按钮上沿时，手指抬起的位置已经不在按钮上，这一下就“点不到”。按下期间把可点范围往上补回来 */
.topic, .chunk, .whobtn, .pinkey, .bigspk { position:relative; }
.btn:active::after, .topic:active::after, .chunk:active::after, .whobtn:active::after, .pinkey:active::after, .bigspk:active::after { content:''; position:absolute; left:0; right:0; top:-8px; bottom:0; }
/* 读音反馈按钮：做题画面上面一行，小而不抢眼 */
.sayfb { flex:none; border:2px solid var(--line); background:#fff; color:var(--mute); border-radius:999px; padding:4px 10px; font-size:14px; font-weight:700; white-space:nowrap; }
.sayfb:disabled { color:#4f7a1f; border-color:#bfe3a8; background:#f2fbe9; }
/* 小1：ならんだ どうぶつ・コップ（1ぎょうに おさめる） */
.emogrid.g1row { font-size:clamp(16px, 5vw, 34px); white-space:nowrap; letter-spacing:0; padding:10px 8px; }
.emogrid .rowlab { font-size:16px; font-weight:700; color:var(--mute); vertical-align:middle; margin:0 6px; }

/* 商用版：日语下面一行小字中文（在日华人家庭） */
.zhsub, .jasub { display:block; font-size:.78em; font-weight:500; opacity:.75; margin-top:2px; letter-spacing:0; }
.regbtns .btn { min-width:min(340px, 100%); }
.masimg { width:1.15em; height:1.15em; display:inline-block; vertical-align:middle; }
#app .acctadd input[style*="16em"] { width:min(24em, 100%) !important; }
.card img.art[src^="cards_cn/"] { object-fit:contain; background:#fff8ee; }   /* 中国风卡片・昆虫卡：正方形の図を切らずに全体を表示（周さん 11-21「卡片打开后图片显示不全」。以前は cover で左右が切れていた） */
.topic .jasub, .topic .zhsub { font-size:12px; line-height:1.2; }   /* 今日任务的小按钮：对照文字不要太大 */
.freebox { display:inline-block; margin:10px auto 0; padding:8px 16px; border-radius:14px; background:#e8f7ec; border:2px solid #9fd8ae; color:#1e6b35; font-size:15px; }
.freebox b { display:block; font-size:17px; }
[hidden] { display:none !important; }   /* hidden 属性优先（.btn 的 display 不能盖过它） */

/* 配色（2026-10-27 周さん承認）：男の子＝みどり、女の子＝ピンク。html[data-theme] で切り替え（性別で自動、家長設定で変更可） */
html[data-theme="green"] { --bg:#eaf7ee; --bg2:#cfeedb; --ink:#1f3d2b; --pri:#2fa35b; --pri2:#7bd39a; --line:#bfe3cc; --mute:#4f7a62; }
html[data-theme="green"] .btn { box-shadow:0 5px 0 #1d7a42; }
html[data-theme="green"] .btn.sec { box-shadow:0 5px 0 var(--line); }
html[data-theme="green"] .btn.ok { background:#2fa35b; }
html[data-theme="green"] #chat { background:#f59e0b; box-shadow:0 5px 0 #b87408; }
html[data-theme="green"] .topic { border-radius:28px; }
html[data-theme="pink"] { --bg:#fff0f6; --bg2:#ffd9e8; --ink:#4a1f35; --pri:#ec4899; --pri2:#f9a8d4; --line:#f6c9dc; --mute:#9a5577; --ok:#a855f7; }
html[data-theme="pink"] .btn { box-shadow:0 5px 0 #b8307a; }
html[data-theme="pink"] .btn.sec { box-shadow:0 5px 0 var(--line); }
html[data-theme="pink"] .btn.ok { background:#a855f7; box-shadow:0 5px 0 #7e22ce; }
html[data-theme="pink"] #chat { background:#f472b6; box-shadow:0 5px 0 #c2417f; }
html[data-theme="pink"] .topic { border-radius:28px; }
html[data-theme="pink"] .bar i { background:linear-gradient(90deg,#f9a8d4,#ec4899); }

/* 首页话题列表折叠（2026-10-27 周さん承認 Q41） */
button.sech.fold { width:100%; background:#fff; border:2px solid var(--line); border-radius:18px; padding:10px 14px; font-family:inherit; color:inherit; cursor:pointer; box-shadow:0 3px 0 var(--line); }
button.sech.fold .car { margin-left:auto; font-size:15px; color:var(--mute); font-weight:700; }
.row4[hidden] { display:none; }

/* 入门测验的提示卡 */
.placecard { display:flex; align-items:center; gap:8px; margin:6px 0; padding:8px 10px; border:2px dashed #7bc47b; border-radius:16px; background:#f3fbef; font-size:14px; font-weight:700; text-align:left; }   /* 第1批：入门测验改成一行 */
.placecard > span { flex:1; } .placecard .zhsub { font-size:11px; }
.placecard button { border:2px solid #7bc47b; background:#fff; border-radius:12px; padding:4px 10px; font-weight:800; font-size:14px; white-space:nowrap; }
.placecard .pcgo { background:#4caf50; border-color:#3a9a3e; color:#fff; } .placecard .pcgo .zhsub { color:#eaffea; }
.gcard { margin-top:14px; border:2px dashed var(--accent, #4caf50); }   /* 先试玩：给家长的结果卡 */
.gcard ul { margin:6px 0 10px; padding-left:1.2em; }
.gcard li { margin:2px 0; }
.gcard .btn { width:100%; margin-top:4px; }
.micok { position:fixed; inset:0; z-index:50; background:rgba(0,0,0,.45); display:flex; align-items:center; justify-content:center; padding:16px; }   /* 先试玩：用麦克风前的家长确认 */
.micok .panel { max-width:460px; width:100%; }
.micok p { font-size:15px; line-height:1.6; }
.micok .btn { width:100%; margin-top:6px; }

/* 中文科目：中文句子・拼音・词块用中文字体（日文字体会把汉字写成日本字形），日文意思照样用圆体 */
.subj-zh .zh, .subj-zh .fillzh, .subj-zh .py, .subj-zh .chunk b, .subj-zh .chunk small, .subj-zh .slot b, .subj-zh .slot small, .subj-zh .opt.word b, .subj-zh .opt.word small, .subj-zh .pron { font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC","Source Han Sans SC",sans-serif; }

/* 商用版欢迎页下面的家长介绍 */
.lp { text-align:left; max-width:560px; margin:28px auto 8px; padding-top:18px; border-top:2px dashed var(--line); }
.lp h2 { text-align:center; font-size:22px; margin:18px 0 10px; }
.lp-pain { list-style:none; padding:0; margin:0 0 12px; }
.lp-pain li { background:var(--card); border:2px solid var(--line); border-radius:16px; padding:10px 14px; margin:8px 0; font-weight:700; }
.lp-pain li::before { content:'💭 '; }
.lp-lead { font-size:16px; line-height:1.7; }
.lp-feat { display:flex; gap:14px; align-items:center; background:var(--card); border:2px solid var(--line); border-radius:20px; padding:12px; margin:12px 0; }
.lp-feat img { width:38%; max-width:180px; height:auto; border-radius:14px; border:1px solid var(--line); flex:none; }
.lp-feat h3 { margin:0 0 6px; font-size:17px; }
.lp-feat p { margin:0; font-size:14px; line-height:1.6; }
.lp-faq { background:var(--card); border:2px solid var(--line); border-radius:16px; padding:10px 14px; margin:8px 0; }
.lp-faq summary { font-weight:700; cursor:pointer; }
.lp-faq p { margin:8px 0 2px; font-size:14px; line-height:1.6; }
.lp-cta { margin-top:16px; }
@media (max-width:420px) { .lp-feat { flex-direction:column; text-align:center; } .lp-feat img { width:60%; max-width:220px; } }

/* 今天学了几分钟（目标 20 分钟） */
.todaybar { margin:8px 0 2px; font-size:15px; font-weight:700; text-align:left; }
.todaybar .zhsub { display:inline; margin-left:6px; font-size:12px; }
.todaybar i { display:block; height:10px; border-radius:6px; background:var(--line); overflow:hidden; margin-top:4px; }
.todaybar i b { display:block; height:100%; background:#4caf50; border-radius:6px; transition:width .4s; }
.todaybar.full i b { background:linear-gradient(90deg,#f6c445,#4caf50); }

/* ---- 第1批（10-30）：孩子首页整理 ---- */
.hdr { margin:0 0 6px; gap:10px; } .hdr .mascot { font-size:58px; } .hdr h1 { font-size:26px; }
.hdr h1 .jasub, .hdr h1 .zhsub { display:none; }   /* 标题下面不再重复「よほ学習・ちゅうごくご」 */
.hdr .small { text-align:left; font-size:15px; }
.who { font-size:14px; padding:4px 12px; border-radius:999px; margin:0 0 8px auto; display:flex; align-items:center; gap:6px; width:max-content; }
.who .jasub, .who .zhsub { display:none; }
.todaybar > span:first-child { display:inline; } .todaybar { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; }
.todaybar > span:first-child { flex:1 1 13em; }   /* 第285批：国语首页有两个 Lv 徽章时文字被挤成一字一行（周さん 11-07 截图），给文字留 13em，放不下徽章就换到下一行 */ .todaybar .lvline { margin:0; flex-wrap:wrap; } .todaybar i { flex:1 1 100%; }
/* 第3批：首页复习提醒 */
.duebtn { display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; width:100%; margin:6px 0; padding:10px; border:2px solid #f0a95b; background:#fff6ea; color:#9a4d00; border-radius:16px; font-size:18px; font-weight:800; box-shadow:0 3px 0 #f3cf9f; }
.duebtn .zhsub { display:inline; font-size:12px; color:#9a4d00; }
/* 第5批：7 天小日历 */
.wstrip { display:flex; align-items:center; gap:4px; margin:6px 0 4px; }
.wsd { flex:1; display:flex; flex-direction:column; align-items:center; font-size:11px; font-weight:700; color:#8a8a8a; background:#fff; border:2px solid var(--line); border-radius:12px; padding:3px 0; }
.wsd i { font-style:normal; font-size:16px; line-height:1.3; } .wsd.on { background:#fff8db; border-color:#f5d77a; color:#92400e; } .wsd.td { border-color:#4caf50; border-width:3px; }
.wsn { flex:0 0 auto; margin-left:4px; font-size:18px; color:#c2410c; text-align:center; line-height:1.1; } .wsn small { display:block; font-size:11px; } .wsn .zhsub { display:block; font-size:10px; }
/* 第9批：任务完成页 */
.donecard { background:#fff; border:3px solid #f5d77a; border-radius:24px; padding:10px 12px 12px; box-shadow:0 5px 0 #f3e2a6; margin-bottom:10px; }
.donecard .big-emoji { font-size:56px; } .donecard h1 { margin:0; } .donecard .stars { font-size:48px; }
.donenums { display:flex; justify-content:center; gap:28px; margin:4px 0; } .donenums span { display:flex; flex-direction:column; font-size:14px; color:var(--mute); font-weight:700; } .donenums b { font-size:30px; color:#2f7a2f; }
.lvnote { display:inline-block; margin-top:6px; padding:4px 14px; border-radius:999px; background:#effbe9; border:2px solid #9bd48f; font-weight:800; font-size:17px; }
.donesents summary { cursor:pointer; font-weight:800; font-size:17px; } .donesents[open] summary { margin-bottom:6px; }
.gotline { font-size:18px; font-weight:800; margin:8px 0; color:#92400e; }
/* 第13批：图鉴 */
.albbar { height:12px; border-radius:8px; background:var(--line); overflow:hidden; margin:2px 0 8px; } .albbar i { display:block; height:100%; background:linear-gradient(90deg,#f6c445,#4caf50); }
.albtools { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-bottom:8px; } .albtools button { border:2px solid var(--line); background:#fff; border-radius:999px; padding:4px 12px; font-weight:800; font-size:14px; } .albtools button.on { background:#4caf50; border-color:#3a9a3e; color:#fff; } .albtools .zhsub { display:inline; margin-left:4px; font-size:11px; } .albtools button.on .zhsub { color:#eaffea; }
.albcell { cursor:pointer; }
/* 第6批：家长区两页 */
.ptabs { display:flex; gap:6px; margin:8px 0; position:sticky; top:0; z-index:5; background:var(--bg, #eef8ef); padding:4px 0; }
.ptabs button { flex:1; border:2px solid var(--line); background:#fff; border-radius:14px; padding:10px 6px; font-size:17px; font-weight:800; }
.ptabs button.on { background:#4caf50; border-color:#3a9a3e; color:#fff; }
/* 第10批：不常用的按钮（おてがみ・声音检查）缩小，不和主要按钮抢位置 */
#fbk, #snd { display:block; width:auto; margin:6px auto; padding:6px 14px; font-size:14px; min-height:0; box-shadow:none; border-width:2px; border-radius:999px; }
#fbk .zhsub, #snd .zhsub, #fbk .jasub, #snd .jasub { display:inline; margin-left:4px; font-size:11px; }
/* 第10批：算数单元按钮的中文对照被图标的 34px 规则放大了 → 和其他按钮一样小 */
.sqgrid .topic .zhsub, .sqgrid .topic .jasub { font-size:12px; line-height:1.2; display:block; margin-top:2px; }
/* 第27批：时钟两个并排 */
.clock2 { display:flex; align-items:center; justify-content:center; gap:6px; margin:6px 0; } .clock2 svg { width:130px; height:130px; } .clock2 b { font-size:26px; color:#555; }
/* 第31批：ならんだ 絵（ゆいさんに 色、人が 多くても 1行に おさめる） */
.emogrid.g1row { font-size:clamp(13px, 3.7vw, 34px); max-width:100%; box-sizing:border-box; overflow:hidden; } .g1row .me { background:#ffe066; border-radius:8px; padding:0 2px; } .g1row .rowlab { font-size:12px; }
/* 第35批：いま 何問目か */
.top .barn { flex:0 0 auto; font-size:13px; font-weight:800; color:#2f7a2f; margin-left:-4px; min-width:34px; }
/* 第37批：英語の タスク画面は 日本語が 主、中国語は 小さく（中国語の 画面と 同じ 部品なので 表示だけ 入れかえ） */
.subj-en .kicker { display:flex; flex-direction:column-reverse; align-items:center; font-size:12px; font-weight:500; opacity:.85; }
.subj-en .kicker .jasub { font-size:21px; font-weight:800; opacity:1; margin:0 0 2px; }
.subj-en #next { display:flex; flex-direction:column-reverse; align-items:center; font-size:13px; }
.subj-en #next .jasub { font-size:22px; font-weight:800; opacity:1; }
.subj-en .stage > .small { display:flex; flex-direction:column-reverse; align-items:center; font-size:11px; }
.subj-en .stage > .small .jasub { font-size:15px; opacity:1; }
.subj-en .stage .row .btn.sec { display:flex; flex-direction:column-reverse; align-items:center; font-size:12px; }
.subj-en .stage .row .btn.sec .jasub { font-size:19px; font-weight:800; opacity:1; }
/* 第39批：iPad など 広い 画面では 問題の 図を 大きく */
@media (min-width:700px) {
  .stage svg.sqfig { width:min(480px, 92%) !important; height:auto !important; }
  .stage svg.clockfig { width:250px !important; height:250px !important; }
  .stage .clock2 svg { width:200px !important; height:200px !important; }
  .stage .emogrid.g1row { font-size:34px; }
}
.phoneqr summary { cursor:pointer; } .qrrow { display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-top:8px; } .qrrow .qr { flex:none; border:1px solid var(--line); border-radius:8px; } .qrrow > div { flex:1; min-width:160px; } .qrurl { word-break:break-all; color:var(--mute); }
.netbar { position:fixed; left:50%; bottom:max(14px, env(safe-area-inset-bottom)); transform:translateX(-50%); width:min(92vw, 520px); z-index:9999; padding:10px 14px; border-radius:14px; background:#343a40; color:#fff; font-size:15px; text-align:center; box-shadow:0 4px 14px #0004; } .netbar.ok { background:#2b8a3e; } .netbar .zhsub { color:#dee2e6; }
/* 第56批：キーボード操作の とき、いま どこに いるか 見える */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline:3px solid #1c7ed6; outline-offset:2px; }
.cmpblocks { display:flex; gap:10px; justify-content:center; } .cmpblocks > div { text-align:center; flex:1 1 0; min-width:0; max-width:200px; } .cmpblocks svg { width:100%; height:auto; } .cmpblocks b { display:block; font-size:20px; }
.fb .efig { margin:8px auto 0; background:#fff; border-radius:12px; padding:4px; }
/* 第81批：右上の 全屏ボタン（.fsbtn）が「あ／中」ボタンや 🔥 に かさならないように、その ぶん 右を あける */
html:not(.standalone) .hdr, html:not(.standalone) .top { padding-right:54px; }
@media (max-width:480px) { html:not(.standalone) .top .mini { display:none; } }   /* スマホの 問題画面：🔥は 家の 画面で 見られるので、進みぐあいの バーを 広く */
@media (max-width:480px) { html:not(.standalone) .hdr { padding-right:48px; } .hdr > div:not(.mascot) { min-width:0; } .hdr h1 { font-size:clamp(19px, 6vw, 26px); } }

/* 第302批：算数文章题的关键词（中文意思） */
.sqkw { font-size:16px; color:#6b4f2a; margin-top:6px; } .sqkw b { color:#b45f00; }
/* 11-21 問題画面を iPad の 1画面に おさめる（周さん「一个屏幕都能显示完」）：図に 高さの 上限、まちがえた ときの 説明の 図は 小さめ、横向きは 長い 選択肢を 2れつ */
.stage svg.sqfig, .stage .clock2 svg, .stage svg.clockfig { max-height:38vh !important; }
.stage div.sqfig > svg.sqfig:not(:only-child) { display:inline-block; vertical-align:bottom; width:min(300px, 44%) !important; margin:6px 2%; }
.stage #fb svg.sqfig, .stage #fb .clock2 svg, .stage #fb svg.clockfig { max-height:24vh !important; }
.stage:has(#fb .fb.bad) > .sqfig svg { max-height:20vh !important; }
.stage:has(#fb .efig) > .sqfig { display:none; }   /* まちがえた とき：説明の 図（おなじ 図に 答えを かいた もの）が 出るので、上の 問題の 図は しまう */
#fb .fb .row .btn { padding:6px 12px; font-size:17px; margin:4px 0; } #fb .fb .efig { margin-top:4px; padding:2px; }
@media (max-height:860px) {
  .stage svg.sqfig, .stage .clock2 svg, .stage svg.clockfig { max-height:32vh !important; }
  .stage #fb svg.sqfig, .stage #fb .clock2 svg, .stage #fb svg.clockfig { max-height:20vh !important; }
  .stage > .row .btn.sec .zhsub, .stage > .row .btn.sec .jasub, #fb .btn .zhsub, #fb .btn .jasub { display:inline; margin:0 0 0 8px; }   /* 「🔊 もんだいを きく 听题」「つぎへ 下一步」を 1行に */
}
@media (min-width:700px) {
  .stage .opts:not(.row3) { display:grid; grid-template-columns:1fr 1fr; }
}
@media (max-height:860px) {   /* 漢字の「あたらしい かんじ」：よみの パネルと ことばの 吹き出しを つめる */
  .stage > .panel.center { padding:6px 12px; margin:6px 0; } .stage > .panel.center .kv { margin:2px 0; } .stage .bubble .yomi { margin-top:0; font-size:20px; }
}
@media (max-height:860px), (max-width:480px) {   /* iPad の 横向き・スマホ */
  .stage .kanji-big { font-size:80px; } .stage .big-emoji, .young .stage .big-emoji { font-size:56px; }
  .stage > .btn, .young .stage > .btn, .stage > .row .btn { padding:9px 14px; margin:6px 0; }
  .stage > .btn .jasub, .stage > .btn .zhsub { display:inline; margin:0 0 0 8px; }
}
@media (max-height:1100px) {   /* 小さい iPad の たて向き（1024px）も ボタンの 日本語・中文を 1行に */
  .stage > .btn .jasub, .stage > .btn .zhsub, .stage > .row .btn.sec .zhsub, .stage > .row .btn.sec .jasub { display:inline; margin:0 0 0 8px; }
}

/* Fable 11-14：首页「もっと」折叠 */
details.more { margin:10px 0; }
details.more > summary.sech.fold { list-style:none; background:#fff; border:2px solid var(--line); border-radius:18px; padding:10px 14px; cursor:pointer; box-shadow:0 3px 0 var(--line); }
details.more > summary::-webkit-details-marker { display:none; }

.lp-vs { background:#fff; border:2px dashed var(--line); border-radius:14px; padding:10px 12px; font-weight:700; }
.static-lp ul { text-align:left; max-width:640px; margin:12px auto; }

/* 11-14 欢迎页第一屏的精简说明 */
.qintro { max-width:560px; margin:12px auto; text-align:left; background:#fff; border:2px solid var(--line); border-radius:18px; padding:12px 14px; }
.qwho div { font-size:15px; margin-top:4px; }
.qfeat { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:10px 0 6px; }
.qfeat > div { background:#fff7e6; border-radius:12px; padding:8px; font-size:14px; text-align:center; }
.qfeat small { display:block; color:var(--mute); font-size:12px; margin-top:2px; }
.qmore { display:block; text-align:center; font-size:14px; margin-top:6px; }
.freebox.fb1 { padding:6px 12px; margin:8px auto; }
.qintro { margin:8px auto; padding:10px 12px; }
.qfeat > div { padding:6px; font-size:13px; }
.qwho div { font-size:14px; }

/* ---------- 首页新版（?lp=2，signup.js 的 lp2Home）---------- */
.lp2 { text-align:left; max-width:760px; margin:0 auto; animation:rise .35s ease; line-height:1.5; --l2soft:color-mix(in srgb, var(--pri) 12%, #fff); }
.lp2 .bi { display:flex; flex-direction:column; min-width:0; }
.lp2 .bi > .z { font-size:.82em; font-weight:500; color:var(--mute); margin-top:.12em; letter-spacing:0; }
.lp2 [lang="zh-CN"] { font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC","Noto Sans CJK SC",sans-serif; }
.lp2[data-lead="zh"] .bi { flex-direction:column-reverse; }
.lp2[data-lead="zh"] .bi > .z { font-size:1em; font-weight:inherit; color:inherit; margin-top:0; }
.lp2[data-lead="zh"] .bi > .j { font-size:.82em; font-weight:500; color:var(--mute); margin-top:.12em; }
.lp2 .btn .bi > * { color:inherit !important; } .lp2 .btn .bi { align-items:center; }
.lp2 .btn.ok .bi > .z, .lp2[data-lead="zh"] .btn.ok .bi > .j { opacity:.9; }
.lp2[data-lead="zh"] .btn.ok .bi > .z { opacity:1; }
.l2top { display:flex; align-items:center; gap:8px; min-height:46px; }
html:not(.standalone) .l2top { padding-right:54px; }
.l2brand { display:flex; align-items:center; gap:8px; margin-right:auto; font-size:19px; font-weight:700; line-height:1.15; }
.l2brand img { width:40px; height:40px; flex:none; }
.l2brand small { display:block; font-size:11px; color:var(--mute); letter-spacing:.06em; }
.l2lead { display:flex; flex:none; border:2px solid var(--line); border-radius:999px; background:#fff; padding:2px; }
.l2lead button { border:0; background:none; border-radius:999px; padding:5px 10px; font:inherit; font-size:13px; font-weight:700; color:var(--mute); cursor:pointer; }
.l2lead button[aria-pressed="true"] { background:var(--ink); color:#fff; }
.l2hero { margin-top:10px; }
.l2who { display:inline-block; background:var(--ink); color:#fff; border-radius:12px; padding:5px 12px; font-size:13px; font-weight:700; }
.l2who .bi > * { color:inherit !important; } .l2who .bi > .z, .lp2[data-lead="zh"] .l2who .bi > .j { opacity:.85; }
.l2hero h1 { text-align:left; font-size:clamp(27px, 7.7vw, 38px); line-height:1.22; margin:10px 0 12px; letter-spacing:.01em; }
.l2hero h1 span span, .l2end h2 span span { display:inline-block; }
.l2hero h1 .bi > .z, .lp2[data-lead="zh"] .l2hero h1 .bi > .j { font-size:.55em; font-weight:700; color:var(--ink); opacity:.8; margin-top:.3em; }
.lp2[data-lead="zh"] .l2hero h1 .bi > .z { font-size:1em; opacity:1; margin-top:0; }
.l2demo { background:#fff; border:2px solid var(--line); border-radius:20px; padding:8px 12px 4px; box-shadow:0 4px 0 var(--line); }
.l2say { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:700; padding-bottom:6px; }
.l2say img { width:40px; height:40px; flex:none; }
.l2row { display:grid; grid-template-columns:42px minmax(0,1fr) 14px minmax(0,1fr); align-items:center; gap:8px; padding:7px 0; border-top:2px dashed var(--line); }
.l2row i { font-style:normal; font-size:12px; font-weight:700; text-align:center; border-radius:8px; padding:3px 0; color:#fff; background:var(--ink); }
.l2row i.t1 { background:#7c5cd6; } .l2row i.t2 { background:#d9701a; } .l2row i.t3 { background:#d6453d; }
.l2row b { display:block; font-size:18px; line-height:1.2; }
.l2row small { display:block; font-size:11px; color:var(--mute); line-height:1.3; }
.l2row u { text-decoration:none; color:var(--mute); font-weight:700; text-align:center; }
.l2free { margin:12px 0 0; font-size:15px; font-weight:700; color:#1e6b35; display:flex; gap:6px; align-items:baseline; }
.l2btns .btn { margin:10px 0 0; }
.l2go { font-size:23px; padding:14px 16px; } .l2go .bi > .z, .lp2[data-lead="zh"] .l2go .bi > .j { font-size:.66em; }
.l2note { margin:10px 0 0; font-size:12.5px; color:var(--mute); text-align:center; } .l2note .bi { align-items:center; }
.l2sub { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.l2sub .btn { font-size:15px; padding:9px 6px; border-radius:16px; box-shadow:0 3px 0 var(--line); }
.l2back { font-size:16px; padding:9px; }
.l2phones { display:none; }
.l2phone { border:6px solid var(--ink); border-radius:26px; overflow:hidden; background:#fff; box-shadow:0 10px 24px #0002; }
.l2phone img { display:block; width:100%; height:auto; }
.l2sec { margin-top:34px; }
.l2sec h2, .l2end h2 { font-size:23px; line-height:1.3; margin:0 0 10px; text-align:left; }
.l2sec h2 .bi > .z, .lp2[data-lead="zh"] .l2sec h2 .bi > .j { font-size:.62em; }
.lp2[data-lead="zh"] .l2sec h2 .bi > .z { font-size:1em; }
.l2lede { margin:0 0 12px; font-size:15px; line-height:1.65; }
.l2fine { margin:8px 0 0; font-size:12px; color:var(--mute); }
.l2cmp { background:#fff; border:2px solid var(--line); border-radius:18px; overflow:hidden; }
.l2cr { display:grid; grid-template-columns:minmax(0,1fr) 64px 72px 74px; align-items:stretch; border-top:2px dashed var(--line); }
.l2cr.hd { border-top:0; font-size:12px; font-weight:700; white-space:nowrap; }
.l2cr > span { padding:9px 4px; display:flex; align-items:center; justify-content:center; text-align:center; }
.l2cr > span:first-child { justify-content:flex-start; text-align:left; padding-left:12px; font-size:14px; font-weight:700; }
.l2cr .bi { align-items:flex-start; } .l2cr.hd .bi { align-items:center; }
.l2cr .me { background:var(--l2soft); font-weight:700; }
.l2yes { color:var(--ok); font-size:22px; line-height:1; } .l2no { color:var(--mute); opacity:.6; }
.l2feats { display:grid; gap:12px; }
.l2feat { background:#fff; border:2px solid var(--line); border-radius:20px; padding:12px; }
.l2feat h3 { display:flex; align-items:center; gap:8px; margin:0 0 10px; font-size:18px; line-height:1.3; }
.l2feat h3 i { font-style:normal; flex:none; width:38px; height:38px; border-radius:12px; background:var(--l2soft); display:grid; place-items:center; font-size:21px; }
.l2fb { display:flex; gap:12px; align-items:flex-start; }
.l2fb img { width:31%; max-width:150px; height:auto; flex:none; border-radius:12px; border:2px solid var(--line); }
.l2fb ul { margin:0; padding:0; list-style:none; flex:1; min-width:0; }
.l2fb li { font-size:14px; line-height:1.5; padding:0 0 8px 16px; position:relative; }
.l2fb li::before { content:''; position:absolute; left:2px; top:.5em; width:7px; height:7px; border-radius:50%; background:var(--ok); }
.l2steps { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.l2steps li { display:flex; gap:12px; align-items:center; background:#fff; border:2px solid var(--line); border-radius:16px; padding:10px 12px; }
.l2steps i { font-style:normal; flex:none; width:34px; height:34px; border-radius:50%; background:var(--ink); color:#fff; font-weight:700; display:grid; place-items:center; font-size:17px; }
.l2steps b { display:block; font-size:16px; line-height:1.35; } .l2steps small { display:block; font-size:13px; color:var(--mute); margin-top:3px; }
.l2price { background:#e8f7ec; border:2px solid #9fd8ae; border-radius:20px; padding:14px 16px; color:#1e6b35; }
.l2price h2 { margin-bottom:6px; } .l2price p { margin:0; font-size:14px; line-height:1.65; } .l2price .bi > .z, .lp2[data-lead="zh"] .l2price .bi > .j { color:inherit; opacity:.85; }
.l2res { background:#fff; border:2px dashed var(--line); border-radius:18px; padding:12px; }
.l2res > b { display:block; font-size:15px; }
.l2res > div { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:10px; }
.l2res a { display:flex; justify-content:space-between; align-items:center; gap:6px; background:var(--l2soft); border-radius:12px; padding:8px 10px; font-size:14px; font-weight:700; color:var(--ink); text-decoration:none; }
.l2res a::after { content:'›'; color:var(--mute); }
.l2faq { background:#fff; border:2px solid var(--line); border-radius:16px; padding:11px 14px; margin:8px 0; }
.l2faq summary { font-weight:700; font-size:15px; cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:10px; align-items:center; }
.l2faq summary::-webkit-details-marker { display:none; }
.l2faq summary::after { content:'＋'; flex:none; color:var(--mute); font-weight:700; } .l2faq[open] summary::after { content:'－'; }
.l2faq p { margin:10px 0 2px; font-size:14px; line-height:1.65; }
.l2end { margin-top:34px; text-align:center; background:#fff; border:2px solid var(--line); border-radius:24px; padding:18px 16px; }
.l2end img { width:72px; height:72px; } .l2end h2 { text-align:center; margin:4px 0 4px; } .l2end .bi { align-items:center; }
.l2end .btn { max-width:420px; margin:12px auto 0; } .l2end .btn.sec { font-size:16px; padding:10px; }
.l2foot { text-align:center; margin-top:18px; padding-bottom:76px; }
.l2stick { position:sticky; bottom:calc(8px + env(safe-area-inset-bottom)); z-index:15; margin-top:-64px; height:56px; pointer-events:none; opacity:0; transform:translateY(16px); transition:opacity .2s, transform .2s; }
.l2stick.on { opacity:1; transform:none; }
.l2stick .btn { margin:0 auto; max-width:420px; font-size:18px; padding:9px 14px; pointer-events:none; box-shadow:0 4px 0 #1f7a2e, 0 8px 20px #0003; }
.l2stick.on .btn { pointer-events:auto; }
.l2stick .bi { flex-direction:row !important; justify-content:center; align-items:baseline !important; gap:8px; flex-wrap:wrap; } .l2stick .bi > * { margin-top:0 !important; }
@media (max-width:359px) { .l2lead button { padding:5px 7px; font-size:12px; } .l2brand { font-size:17px; } .l2row { grid-template-columns:38px minmax(0,1fr) 10px minmax(0,1fr); gap:6px; } .l2row b { font-size:16px; } .l2cr { grid-template-columns:minmax(0,1fr) 58px 66px 66px; } .l2cr.hd { font-size:11px; } }
@media (min-width:700px) {
  .lp2 { max-width:788px; }
  .l2hero { display:grid; grid-template-columns:minmax(0,1fr) 290px; gap:28px; align-items:center; margin-top:22px; }
  .l2hero h1 { font-size:40px; margin:14px 0 16px; }
  .l2who { font-size:15px; } .l2say { font-size:15px; } .l2row b { font-size:21px; } .l2row small { font-size:12.5px; } .l2row { grid-template-columns:50px minmax(0,1fr) 16px minmax(0,1fr); padding:9px 0; } .l2row i { font-size:13px; }
  .l2free { font-size:17px; margin-top:16px; } .l2go { font-size:26px; padding:17px 18px; } .l2note { font-size:14px; } .l2sub .btn { font-size:17px; padding:11px 8px; }
  .l2phones { display:block; position:relative; height:500px; }
  .l2phone { position:absolute; width:205px; } .l2phone.p1 { left:0; top:0; transform:rotate(-4deg); } .l2phone.p2 { right:0; bottom:0; transform:rotate(3deg); }
  .l2sec, .l2end { margin-top:48px; } .l2sec h2, .l2end h2 { font-size:28px; } .l2lede { font-size:17px; }
  .l2cr { grid-template-columns:minmax(0,1fr) 120px 120px 130px; } .l2cr.hd { font-size:14px; } .l2cr > span:first-child { font-size:16px; padding-left:16px; }
  .l2feats { grid-template-columns:1fr 1fr; gap:14px; } .l2fb img { width:34%; } .l2feat h3 { font-size:19px; }
  .l2steps { grid-template-columns:repeat(3, 1fr); } .l2steps li { flex-direction:column; align-items:flex-start; padding:14px; }
  .l2res > div { grid-template-columns:repeat(4, 1fr); } .l2price { padding:18px 22px; } .l2price p { font-size:15px; }
  .l2faq summary { font-size:16px; } .l2faq p { font-size:15px; }
}
@media (prefers-reduced-motion:reduce) { .lp2, .l2stick { animation:none; transition:none; } }
.lp2[data-lead="zh"] .l2stick .bi { flex-direction:row-reverse !important; }

/* 11-15 昆虫卡：小知识と写真の署名 */
.zoomov { overflow-y:auto; }
.zfacts { max-width:560px; margin:10px auto; text-align:left; background:rgba(25,20,12,.92); color:#fff; border-radius:14px; padding:10px 14px; }
.zfact { margin:6px 0; font-size:16px; line-height:1.5; }
.zfact small { display:block; opacity:.8; font-size:13px; }
.zcred { margin-top:8px; font-size:11px; opacity:.75; }
.zcred a { color:inherit; }
.card .cjn { font-size:14px; font-weight:700; color:#7a4a12; line-height:1.25; margin-top:2px; }   /* 11-23 周さん「卡片的标题只有中文吗」：日本語名を 目立たせる */
.zinfo .zjn { font-size:20px; font-weight:800; color:#7a4a12; margin:2px 0 4px; }   /* 11-21：カードに日本語の名前 */
/* ===== カード拡大：iPad 向け（周さん 11-21「卡片打开后文字部分很小不方便看…只显示中间就显得小」）===== */
@media (min-width:700px) {
  .zoomov { background:rgba(18,10,2,.97); }
  .zimg { max-height:max(26vh, min(37vh, calc(100vh - 720px))); max-width:70vw; }   /* 縦の iPad：画面の高さに合わせて絵を小さく（文字は 1 画面に） */
  .zinfo { max-width:min(92vw, 860px); }
  .znm { font-size:36px; } .znm small { font-size:22px; }
  .zsen { font-size:34px; } .zpy { font-size:21px; } .zja { font-size:24px; margin-top:4px; }
  .zfacts { max-width:min(92vw, 860px); padding:14px 20px; } .zfacts b { font-size:22px; }
  .zfact { font-size:22px; margin:7px 0; line-height:1.4; } .zfact small { font-size:18px; }
  .zsay { font-size:24px !important; padding:10px 34px !important; } .zhint { font-size:15px; } .zcred { font-size:13px; }
}
/* iPad を横に持ったとき：左にカード、右に大きな文字（1 画面に おさまる） */
@media (min-width:900px) and (orientation:landscape) {
  .zoomov { flex-direction:row; align-items:center; justify-content:center; gap:3vw; padding:2vh 3vw; overflow:hidden; }
  .zoomov::before, .zoomov::after { display:none; }
  .zwrap { flex:0 0 auto; }
  .zimg { max-height:86vh; max-width:44vw; }
  .zinfo { flex:0 1 50vw; max-width:50vw; max-height:92vh; overflow-y:auto; text-align:left; }
  .zfacts { max-width:none; margin:12px 0; }
}
/* 今日は ここまで 画面（11-21） */
.stopday { text-align:center; padding:8vh 24px; max-width:640px; margin:0 auto; }
.stopday .sd-emo { font-size:96px; }
.stopday h1 { font-size:34px; margin:12px 0; }
.stopday p { font-size:22px; line-height:1.7; margin:10px 0; }
.stopday .sd-big { font-size:26px; font-weight:700; }
.stopday .sd-zh { font-size:16px; opacity:.7; }
.stopday .btn { margin-top:28px; }
/* 11-21 小さい子が あわてて まちがえたら、つぎは 2 秒 よく みてから */
.opts.sqwait { pointer-events:none; opacity:.45; transition:opacity .3s; }
.sqwaitnote { text-align:center; font-size:20px; font-weight:700; color:var(--pri); margin:6px 0; }
/* ===== えほん 绘本（ehon.js・2026-11-22 试做）：全屏读书画面。iPad 竖 820x1180／横 1180x820 不滚动；横屏＝左图右文 ===== */
.ehon { position:fixed; inset:0; z-index:30; display:flex; flex-direction:column; box-sizing:border-box; padding:max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background:linear-gradient(180deg,var(--bg),var(--bg2)); overflow:hidden; }
.ehtop { display:flex; align-items:center; gap:10px; flex:none; min-height:48px; }
.ehttl { flex:1; min-width:0; font-size:20px; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ehcnt { min-width:52px; text-align:right; font-size:18px; font-weight:800; color:var(--mute); white-space:nowrap; }
.ehlangs { display:flex; gap:6px; justify-content:center; }
.ehlangs button { border:2px solid var(--line); background:#fff; border-radius:14px; padding:7px 12px; font-size:17px; font-weight:700; color:var(--ink); }
.ehlangs button.on { background:var(--pri2); border-color:var(--pri); }
.ehbody { flex:1; min-height:0; display:flex; flex-direction:column; gap:10px; margin-top:6px; }
.ehpic { flex:none; display:flex; justify-content:center; align-items:center; touch-action:pan-y; }
.ehpic img { display:block; width:auto; height:auto; max-width:100%; max-height:56vh; border-radius:20px; box-shadow:0 4px 14px #0002; -webkit-user-select:none; user-select:none; -webkit-user-drag:none; }
.ehtext { flex:1; min-height:0; overflow:auto; display:flex; flex-direction:column; justify-content:center; gap:8px; background:#fff; border:3px solid var(--line); border-radius:22px; padding:12px 16px; }
.ehs { padding:8px 12px; border-radius:14px; cursor:pointer; text-align:center; transition:background .2s; }
.ehs:active, .ehs.on { background:#fff2c8; box-shadow:0 0 0 3px var(--pri2) inset; }
.ehtx { font-size:calc(30px * var(--ehs, 1)); font-weight:700; line-height:1.5; } .ehtx-zh { font-size:calc(34px * var(--ehs, 1)); } .ehtx ruby rt { font-size:.45em; }
.ehpy { display:block; font-size:calc(20px * var(--ehs, 1)); font-weight:500; color:var(--mute); line-height:1.35; }
.ehread { align-self:center; border:0; background:var(--pri2); color:var(--ink); border-radius:18px; padding:10px 26px; font-size:22px; font-weight:800; box-shadow:0 4px 0 #d98a1f; margin-top:4px; }
.ehread:active { transform:translateY(3px); box-shadow:0 1px 0 #d98a1f; }
.ehcover { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; }
.ehs.big { font-size:36px; font-weight:800; line-height:1.4; } .ehs.big ruby rt { font-size:.45em; }
.ehgo { max-width:340px; }
.ehnav { flex:none; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:10px; }
.ehbtn { width:96px; height:64px; border:0; border-radius:20px; background:var(--pri); color:#fff; font-size:30px; box-shadow:0 5px 0 #c96a00; }
.ehbtn:active { transform:translateY(4px); box-shadow:0 1px 0 #c96a00; } .ehbtn:disabled { opacity:.3; }
.ehdots { display:flex; gap:8px; flex-wrap:wrap; justify-content:center; } .ehdots i { width:12px; height:12px; border-radius:50%; background:var(--line); } .ehdots i.on { background:var(--pri); transform:scale(1.3); }
.ehquiz { flex:1; min-height:0; overflow:auto; display:flex; flex-direction:column; justify-content:center; width:100%; max-width:780px; margin:0 auto; }
.ehq { background:#fff; border:3px solid var(--pri2); font-size:32px; }
.ehopts { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:8px; }
.ehopt { background:#fff; border:3px solid var(--line); border-radius:24px; padding:16px 8px; display:flex; flex-direction:column; align-items:center; gap:6px; box-shadow:0 5px 0 var(--line); font-size:24px; font-weight:800; color:var(--ink); }
.ehopt:active { transform:translateY(3px); box-shadow:0 2px 0 var(--line); }
.ehopt.right { background:#dcfce7; border-color:var(--ok); box-shadow:0 5px 0 #86d99a; animation:pop .4s; } .ehopt.wrong { background:#fee2e2; border-color:var(--bad); box-shadow:0 5px 0 #f1a6a9; animation:shake .4s; }
.ehemo { font-size:72px; line-height:1.1; } .ehol .ehpy { font-size:16px; }
.ehfb { text-align:center; font-size:24px; font-weight:800; min-height:36px; margin-top:12px; }
.ehfin { flex:1; min-height:0; overflow:auto; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; width:100%; max-width:640px; margin:0 auto; }
.ehfinimg { max-width:100%; max-height:34vh; border-radius:20px; box-shadow:0 4px 14px #0002; }
/* 11-24 冒险丛书（章节书）：书架上单独一排・一册的目录（章名＋✓）・章的封面「第 N 章」 */
.ehser { margin:10px 0 4px; padding:10px 12px 2px; border:3px dashed var(--line); border-radius:24px; background:#fff8; }
.ehserh { font-size:24px; margin:0 0 2px; color:var(--pri); }
.ehvol .ehlv { font-size:15px; font-weight:800; } .ehvolp { font-size:15px; font-weight:800; color:var(--mute); } .ehvol.lock { opacity:.55; } .ehvol.lock img { filter:grayscale(.7); }
.ehvmenu { flex:1; min-height:0; overflow:auto; display:flex; flex-direction:column; align-items:center; gap:10px; margin-top:6px; }
.ehvcov { width:100%; max-width:560px; max-height:30vh; object-fit:cover; border-radius:20px; box-shadow:0 4px 14px #0002; }
.ehvside { width:100%; max-width:640px; display:flex; flex-direction:column; align-items:stretch; gap:6px; text-align:center; }
.ehvlist { font-size:20px; margin:6px 0 0; color:var(--mute); }
.ehchs { display:flex; flex-direction:column; gap:8px; }
.ehch { display:flex; align-items:center; gap:10px; text-align:left; background:#fff; border:3px solid var(--line); border-radius:16px; padding:10px 14px; font-size:20px; box-shadow:0 3px 0 var(--line); }
.ehch:active { transform:translateY(2px); box-shadow:0 1px 0 var(--line); } .ehch.ok { border-color:var(--ok); } .ehch.lock { opacity:.5; }
.ehchn { font-weight:900; color:var(--pri); white-space:nowrap; font-size:16px; } .ehcht { flex:1; font-weight:800; } .ehchm { font-size:15px; font-weight:800; color:var(--ok); white-space:nowrap; }
.ehchno { font-size:22px; font-weight:900; color:var(--pri); letter-spacing:.05em; }
.ehfint { font-size:40px; font-weight:900; color:var(--pri); margin-top:10px; } .ehfing { font-size:24px; font-weight:700; margin:4px 0 6px; } .ehfinbtns { width:100%; }
.ehshelf { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:16px; margin:14px 0; }
.ehbook { position:relative; background:#fff; border:3px solid var(--line); border-radius:22px; padding:10px; box-shadow:0 5px 0 var(--line); display:flex; flex-direction:column; align-items:center; gap:4px; color:var(--ink); }
.ehbook:active { transform:translateY(3px); box-shadow:0 2px 0 var(--line); }
.ehbook img { width:100%; aspect-ratio:3/2; object-fit:cover; border-radius:14px; background:var(--bg2); } .ehbook b { font-size:22px; } .ehbook .py { font-size:15px; color:var(--mute); }
.ehdone, .ehnew { position:absolute; top:2px; right:6px; font-size:30px; }
/* Lv2（7〜9 岁・字多）：字小一点、句子间距紧一点；还放不下时 ehonFit() 调 --ehs 缩小 */
.ehlv2 .ehtx { font-size:calc(26px * var(--ehs, 1)); line-height:1.45; } .ehlv2 .ehtx-zh { font-size:calc(29px * var(--ehs, 1)); } .ehlv2 .ehpy { font-size:calc(17px * var(--ehs, 1)); }
.ehlv2 .ehtext { gap:4px; } .ehlv2 .ehs { padding:6px 10px; }
.ehlv { position:absolute; top:16px; left:18px; background:#fffe; border-radius:12px; padding:2px 8px; font-size:16px; box-shadow:0 2px 6px #0002; }
.ehlvtag { font-size:18px; color:var(--mute); font-weight:700; margin-bottom:4px; }
.ehwhy { align-self:center; font-size:18px; font-weight:800; color:var(--pri); margin-bottom:4px; }
.ehopts.long { grid-template-columns:1fr; gap:10px; } .ehopts.long .ehopt { flex-direction:row; justify-content:flex-start; text-align:left; padding:10px 18px; gap:16px; } .ehopts.long .ehemo { font-size:48px; }
/* 读后理解题（11-23）：答错后的正确答案＋故事里的那句话、结束时的成绩 */
.ehopt:disabled { opacity:1; } .ehopt:disabled:not(.right):not(.wrong) { opacity:.45; }
.ehex { background:#fff8e1; border:2px dashed var(--pri2); border-radius:16px; padding:8px 14px; margin-top:8px; text-align:center; } .ehex > small { display:block; color:var(--mute); font-size:15px; font-weight:700; } .ehex .ehtx { font-size:22px; } .ehex .ehtx-zh { font-size:24px; } .ehex .ehpy { font-size:15px; }
.ehnext { max-width:340px; margin:10px auto 0; padding:12px 20px; font-size:22px; }
/* Fable 11-26：选项的 🔊（B19）、书架的下载中（B8）、结束画面「つぎの ほん」（B9） */
.ehoptw { position:relative; display:flex; } .ehoptw > .ehopt { flex:1; min-width:0; }
.ehospk { position:absolute; top:6px; right:6px; width:42px; height:42px; border-radius:50%; border:0; background:var(--pri2); font-size:20px; line-height:42px; padding:0; box-shadow:0 2px 0 var(--line); }
.ehospk.on { background:var(--pri); } .ehopts.long .ehopt { padding-right:58px; } .ehopts.long .ehospk { top:50%; transform:translateY(-50%); }
.ehloading { text-align:center; font-size:22px; font-weight:700; color:var(--mute); margin:40px 0; } .ehloading .btn { margin-top:16px; }
.ehspin { display:inline-block; font-size:56px; animation:ehbob 1s ease-in-out infinite alternate; } @keyframes ehbob { from { transform:translateY(0); } to { transform:translateY(-10px); } } @media (prefers-reduced-motion:reduce) { .ehspin { animation:none; } }
.ehnextbook { display:flex; flex-direction:column; align-items:center; gap:2px; } .ehnbt { font-size:15px; font-weight:600; opacity:.85; }
.ehscore { font-size:28px; font-weight:900; color:var(--ok); margin:2px 0; } .ehbest { position:absolute; top:40px; right:6px; font-size:13px; font-weight:800; background:#fffe; border-radius:10px; padding:1px 6px; }
@media (orientation:landscape) and (min-width:700px) {   /* 横屏：左图右文 */
  .ehvmenu { flex-direction:row; align-items:flex-start; } .ehvcov { width:44%; max-height:70vh; position:sticky; top:0; } .ehvside { flex:1; }
  .ehbody { flex-direction:row; align-items:center; gap:14px; }
  .ehpic { flex:0 1 auto; max-width:62%; }
  .ehpic img { max-height:calc(100vh - 170px); }
  .ehtext { flex:1; align-self:stretch; }
  .ehcover { align-self:stretch; }
  .ehlv2 .ehpic { max-width:56%; }
  .ehfinimg { max-height:28vh; }
}
@media (max-width:560px) {   /* 手机：可以滚动，字小一点 */
  .ehospk { width:32px; height:32px; line-height:32px; font-size:15px; top:3px; right:3px; } .ehopts:not(.long) .ehopt { padding-top:22px; } .ehopts.long .ehopt { padding-right:44px; }
  .ehon { overflow:auto; }
  .ehttl { display:none; } .ehtop { justify-content:space-between; }
  .ehlangs button { padding:6px 8px; font-size:15px; }
  .ehbody, .ehtext, .ehquiz, .ehfin, .ehcover { flex:none; }
  .ehpic img { max-height:none; border-radius:14px; }
  .ehtext { padding:8px 10px; }
  .ehtx { font-size:22px; } .ehtx-zh { font-size:26px; } .ehpy { font-size:16px; } .ehs.big { font-size:28px; }
  .ehbtn { width:76px; height:56px; font-size:26px; }
  .ehq { font-size:24px; } .ehopts { gap:8px; } .ehopt { padding:10px 4px; font-size:18px; border-radius:18px; } .ehemo { font-size:52px; }
  .ehfint { font-size:32px; } .ehfing { font-size:20px; }
  .ehex .ehtx { font-size:18px; } .ehex .ehtx-zh { font-size:20px; } .ehnext { font-size:19px; } .ehscore { font-size:22px; }
  .ehlv2 .ehtx { font-size:20px; } .ehlv2 .ehtx-zh { font-size:23px; } .ehlv2 .ehpy { font-size:15px; } .ehopts.long .ehemo { font-size:38px; } .ehopts.long .ehopt { padding:8px 12px; }
}
/* 11-23 カード拡大：文・小知识を タップで 読む */
.zoomov .zs { cursor:pointer; } .zoomov .zs:active { opacity:.6; } .zfact small.zs { display:block; }

.albcell .giftnew { position:absolute; top:-6px; left:-4px; background:#ff5a5f; color:#fff; font-size:11px; font-weight:800; padding:2px 6px; border-radius:10px; box-shadow:0 1px 3px rgba(0,0,0,.25); z-index:2; }   /* 11-25：プレゼントで もらった カード */

.ehcred { margin:10px auto 0; max-width:560px; font-size:12px; color:#666; text-align:left; }
.ehcred summary { cursor:pointer; text-align:center; }
.ehcred ul { margin:6px 0 0; padding-left:18px; }
.ehcred li { margin:3px 0; word-break:break-all; }
.ehcred a { color:#2a6fb0; }   /* 11-25 写真絵本の 出典 */
.topic .g3tag { display:inline-block; margin-left:4px; font-size:10px; font-weight:800; color:#fff; background:#e8743b; border-radius:8px; padding:0 5px; vertical-align:middle; }   /* 11-26：小2 で まざる 小3 単元 */
.partsfig .pgrp { display:inline-block; border:3px dashed #e8743b; border-radius:14px; padding:2px 6px; margin-right:6px; }   /* 11-26：いくつといくつ Lv1 かこみ */
.partsfig .prest { display:inline-block; padding:2px 6px; }
/* Fable R2 D29/A6：小さい ボタンも 指で おしやすく（44px 以上） */
.toggles button, .sayfb, .plang button, .l2lead button, .avchg, .who { min-height:44px; }
.sayfb, .plang button, .l2lead button { padding-left:12px; padding-right:12px; }
.avchg { padding:6px 12px; }
.acctadd label { display:inline-flex; align-items:center; gap:6px; flex-wrap:wrap; font-size:15px; color:var(--mute); }   /* Fable R2 O4：生まれた年月の 入力に 見える ラベル */
.acctadd label .zhsub { display:inline; margin:0; }
/* 🀄 汉字（hanzi_ui.js） */
.hzrow { margin:6px 0; } .hzbtn { font-size:26px; padding:14px 16px; background:#c0392b; box-shadow:0 5px 0 #8e2a1f; display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; }
.hzbtn .hzic { font-size:34px; } .hzbtn .hzn { font-size:18px; background:rgba(255,255,255,.22); border-radius:12px; padding:2px 10px; }
.hzopts { display:grid; grid-template-columns:1fr 1fr; gap:10px; } .hzopts .opt { justify-content:center; text-align:center; min-height:64px; padding:10px 8px; } .hzopts .opt b { font-size:32px; }
.hzopts.n3 { grid-template-columns:1fr 1fr 1fr; } .hzopts.n3 .opt b { font-size:28px; } .hzopts.hzpy { grid-template-columns:1fr; } .hzopts.hzpy .opt b { font-size:28px; color:var(--ink); }
.hzopts .opt b[lang="zh-CN"], .hzcard .zh, .hzwords .zh, .hzbig, .hzans .zh { font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC","Source Han Sans SC",sans-serif; }
[lang="ja"].nm, .hzopts .opt b[lang="ja"] { font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo","Noto Sans JP",sans-serif; }
.hzcard .kanji-big { margin:0; } .bubble .hzbig { font-size:64px; font-weight:800; line-height:1.3; }
.hzwords { display:flex; flex-direction:column; gap:8px; padding:8px; }
.hzword { display:flex; align-items:center; gap:10px; flex-wrap:wrap; min-height:56px; border:2px solid var(--line); border-radius:16px; background:#fff; padding:6px 12px; text-align:left; }
.hzword .zh { font-size:30px; } .hzword .py { font-size:18px; color:var(--mute); } .hzword .hzja { font-size:17px; color:#4f7a1f; flex:1; } .hzword .hzspk { font-size:22px; }
.hzjp { display:flex; align-items:center; justify-content:center; gap:14px; } .hzjpc { display:flex; flex-direction:column; align-items:center; } .hzjpc small { font-size:14px; color:var(--mute); }
.hzjp .hzjpc b { font-size:56px; line-height:1.2; } .hzar { font-size:30px; color:var(--pri); }
.hzans { display:block; margin-top:4px; } .hzans .zh { font-size:26px; } .hzans .py { color:var(--mute); }
/* Fable R4 P0：「拼音を かくす」「日本語を かくす」でも 汉字の 拼音の 選択肢・おぼえる カードの 拼音と いみ・ことば・こたえは けさない */
.hide-py .hzopts.hzpy .opt b.py { display:inline; } .hide-py .hzcard .py { display:block; } .hide-py .hzword .py, .hide-py .hzans .py { display:inline; } .hide-ja .hzcard .ja { display:block; }
/* Fable R5：汉字・短文・古诗 は 1行に 3つの タイル（アイコンの 下に なまえ＋しんちょく）。⚡ しってる字 テスト は 汉字タイルの 下に 小さく */
.hzrow { display:grid; grid-auto-columns:minmax(0,1fr); gap:10px; margin:8px 0; }
.hzrow > .hzbtn, .hzrow > .dwbtn, .hzrow > .gsbtn { grid-row:1; margin:0; flex-direction:column; flex-wrap:nowrap; gap:4px; min-height:112px; padding:10px 4px; font-size:21px; line-height:1.15; }
.hzrow .hzic { font-size:34px; line-height:1; } .hzrow .hzl { display:flex; flex-direction:column; align-items:center; font-weight:800; } .hzrow .hzl small { font-size:13px; font-weight:600; opacity:.85; }
.hzrow .hzn { font-size:14px; padding:2px 8px; white-space:nowrap; max-width:100%; overflow:hidden; text-overflow:ellipsis; }
.hzrow .btn.hzfast { grid-row:2; grid-column:1; margin:0; padding:4px 4px; min-height:44px; font-size:14px; line-height:1.2; box-shadow:0 3px 0 var(--line); border-radius:14px; }
.hzrow .btn.hzfast .zhsub { font-size:11px; }
@media (min-width:561px) { .hzrow > .hzbtn, .hzrow > .dwbtn, .hzrow > .gsbtn { min-height:140px; font-size:26px; } .hzrow .hzic { font-size:44px; } .hzrow .hzl small { font-size:15px; } .hzrow .hzn { font-size:16px; } .hzrow .btn.hzfast { font-size:16px; } }
/* 📖 短文（duwen_ui.js） */
.dwbtn { font-size:26px; padding:14px 16px; background:#2f7d6d; box-shadow:0 5px 0 #1f574c; display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; }
.dwbtn .hzic { font-size:34px; } .dwbtn .hzn { font-size:18px; background:rgba(255,255,255,.22); border-radius:12px; padding:2px 10px; }
.dwlist { display:flex; flex-direction:column; gap:8px; margin:8px 0 14px; } .dwlvh { margin-top:8px; }
.dwitem { display:flex; align-items:center; gap:12px; text-align:left; border:2px solid var(--line); border-radius:16px; background:#fff; padding:8px 14px; min-height:60px; }
.dwitem .dwe { font-size:34px; } .dwitem .dwt { flex:1; display:flex; flex-direction:column; } .dwitem .zh { font-size:24px; font-weight:800; } .dwitem .py { font-size:15px; color:var(--mute); } .dwitem .ja { font-size:15px; color:#4f7a1f; }
.dwitem.done { background:#f0fdf4; border-color:var(--ok); } .dwitem.lock { opacity:.5; } .dwitem .dwst { font-size:22px; }
.dwtitle { cursor:pointer; } .dwtitle .dwe, .stage .bubble > .dwe { font-size:40px; } .bubble .dwtz { font-size:30px; }
.dwsents { display:flex; flex-direction:column; gap:6px; }
.dwline { display:flex; align-items:center; gap:10px; width:100%; margin:0; padding:8px 14px; text-align:left; font:inherit; color:var(--ink); }
.dwline .dwtx { flex:1; } .dwline .zh { font-size:28px; } .dwline .py { font-size:17px; } .dwline .ja { font-size:16px; margin-top:2px; }
.dwline .dwno { font-size:15px; font-weight:800; color:var(--mute); } .dwline .dwspk { font-size:22px; opacity:.5; } .dwline.heard .dwspk { opacity:1; } .dwline.on { border-color:var(--pri); background:#fff8e1; }
.dwq { cursor:pointer; } .dwq .zh { font-size:30px; }
.dwopts { display:flex; flex-direction:column; gap:10px; margin:10px 0; } .dwoptw { position:relative; display:flex; }
.dwopt { flex:1; min-width:0; display:flex; align-items:center; gap:14px; text-align:left; background:#fff; border:3px solid var(--line); border-radius:20px; padding:10px 58px 10px 16px; box-shadow:0 4px 0 var(--line); font:inherit; color:var(--ink); }
.dwopt .dwoe { font-size:40px; } .dwopt .dwol { flex:1; } .dwopt .zh { font-size:26px; font-weight:800; } .dwopt .py { font-size:15px; color:var(--mute); } .dwopt .ja { font-size:15px; color:#4f7a1f; }
.dwopt.right { background:#dcfce7; border-color:var(--ok); } .dwopt.wrong { background:#fee2e2; border-color:var(--bad); } .dwopt:disabled { opacity:1; } .dwopt:disabled:not(.right):not(.wrong) { opacity:.5; }
.dwoptw .ehospk { top:50%; transform:translateY(-50%); }
.young .dwline .zh, .young .dwq .zh { font-size:34px; }
@media (max-width:560px) { .dwline .zh { font-size:24px; } .dwline { padding:6px 10px; } .stage .dwtitle { padding:6px 14px; } .dwtitle .dwe { font-size:30px; } }
.dwex { cursor:pointer; } .dwex .zh { font-size:24px; font-weight:800; } .dwex .py { font-size:15px; color:var(--mute); } .dwex .ja { font-size:15px; color:#4f7a1f; }
/* 📜 古诗（gushi_ui.js）11-26 */
.gsbtn { font-size:26px; padding:14px 16px; background:#8e5a2b; box-shadow:0 5px 0 #613c1c; display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; }
.gsbtn .hzic { font-size:34px; } .gsbtn .hzn { font-size:18px; background:rgba(255,255,255,.22); border-radius:12px; padding:2px 10px; }
.hide-ja .ja.gsy { display:block; }
.gswho { font-size:16px; color:var(--mute); margin-top:4px; } .gswho small { font-size:14px; }
.gsline .zh { letter-spacing:.06em; }
.gsnote { text-align:left; font-size:15px; background:#fffbeb; border:2px dashed var(--line); border-radius:14px; padding:8px 12px; margin:8px 0; }
.gsnote .zhsub { display:block; } .gsjp { background:#fdf2f8; }
.gspoem { text-align:center; } .gspoem .gspl { font-size:24px; color:var(--mute); line-height:1.6; } .gspoem .gsfl { margin:4px 0; } .gspoem .gsfl .zh { font-size:32px; }
.gsopts { display:flex; justify-content:center; gap:14px; margin:12px 0; }
.gsopt { width:92px; height:92px; font-size:52px; font-weight:800; border:3px solid var(--line); border-radius:22px; background:#fff; box-shadow:0 4px 0 var(--line); color:var(--ink); padding:0; }
.gsopt.right { background:#dcfce7; border-color:var(--ok); } .gsopt.wrong { background:#fee2e2; border-color:var(--bad); } .gsopt:disabled { opacity:1; } .gsopt:disabled:not(.right):not(.wrong) { opacity:.5; }
.gsslots { display:flex; flex-direction:column; gap:4px; margin:8px 0; }
.gsslot { display:flex; align-items:center; gap:10px; min-height:44px; border:2px dashed var(--line); border-radius:14px; padding:4px 12px; background:#fff; }
.gsslot.got { border-style:solid; border-color:var(--ok); background:#f0fdf4; } .gsslot .zh { font-size:24px; } .gsslot .gsq { font-size:22px; color:var(--mute); }
.gscards { display:flex; flex-direction:column; gap:8px; }
.gscard { width:100%; margin:0; padding:8px 14px; text-align:left; font:inherit; color:var(--ink); }
.gscard .zh { font-size:28px; } .gscard .py { font-size:16px; } .gscard .ja { font-size:15px; }
.young .gscard .zh, .young .gsline .zh { font-size:34px; }
@media (max-width:560px) { .gsopt { width:78px; height:78px; font-size:44px; } .gscard .zh { font-size:24px; } .gspoem .gsfl .zh { font-size:28px; } }
/* 📖 よみとり（yomitori_ui.js・国語の 読みとり）11-26 */
.ytrow { margin:6px 0; } .ytbtn { font-size:24px; padding:12px 16px; background:#3d6fb6; box-shadow:0 5px 0 #284c80; display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; width:100%; }
.ytbtn .ytic { font-size:30px; } .ytbtn .ytn { font-size:17px; background:rgba(255,255,255,.22); border-radius:12px; padding:2px 10px; }
.ytlist { display:flex; flex-direction:column; gap:8px; margin:8px 0 14px; } .ytlvh { margin-top:8px; }
.ytitem { display:flex; align-items:center; gap:12px; text-align:left; border:2px solid var(--line); border-radius:16px; background:#fff; padding:8px 14px; min-height:60px; font:inherit; color:var(--ink); }
.ytitem .yte { font-size:34px; } .ytitem .ytt { flex:1; display:flex; flex-direction:column; } .ytitem .ytti { font-size:22px; font-weight:800; } .ytitem .ytg { font-size:14px; color:var(--mute); } .ytitem .ytst { font-size:22px; }
.ytitem.done { background:#f0fdf4; border-color:var(--ok); } .ytitem.lock { opacity:.5; }
.ytzh { font-size:14px; color:#4f7a1f; } .ytzhw { margin-top:2px; } .ytzhb { display:inline-block; font-size:13px; opacity:.75; border:1px dashed currentColor; border-radius:8px; padding:0 6px; cursor:pointer; }
.yttitle { cursor:pointer; display:flex; align-items:center; gap:10px; flex-wrap:wrap; } .yttitle .yte { font-size:40px; } .yttitle .ytti { font-size:28px; font-weight:800; }
.ytsents { display:flex; flex-direction:column; gap:6px; }
.ytline { display:flex; align-items:center; gap:10px; width:100%; margin:0; padding:8px 14px; text-align:left; font:inherit; color:var(--ink); }
.ytline .yttx { flex:1; } .ytline .ytja { font-size:24px; line-height:1.9; } .ytlv1 .ytline .ytja { font-size:28px; }
.ytline .ytno { font-size:15px; font-weight:800; color:var(--mute); } .ytline .ytspk { font-size:20px; opacity:.6; } .ytline.on { border-color:var(--pri); background:#fff8e1; }
.ytline.hint { border:3px solid #f59e0b; background:#fef3c7; }
.ytq { cursor:pointer; } .ytq .ytja { font-size:24px; font-weight:800; line-height:1.9; } .ytq .ytspk { font-size:20px; }
.ytopts { display:flex; flex-direction:column; gap:10px; margin:10px 0; } .ytoptw { position:relative; display:flex; }
.ytopt { flex:1; min-width:0; text-align:left; background:#fff; border:3px solid var(--line); border-radius:20px; padding:10px 58px 10px 16px; box-shadow:0 4px 0 var(--line); font:inherit; color:var(--ink); }
.ytopt .ytja { font-size:22px; font-weight:700; line-height:1.8; }
.ytopt.right { background:#dcfce7; border-color:var(--ok); } .ytopt.wrong { background:#fee2e2; border-color:var(--bad); } .ytopt:disabled { opacity:1; } .ytopt:disabled:not(.right):not(.wrong) { opacity:.5; }
.ytoptw .ehospk { top:50%; transform:translateY(-50%); }
.ytex { cursor:pointer; text-align:left; } .ytex .ytja { font-size:21px; font-weight:700; line-height:1.9; }
.ytfin .ytti { font-size:26px; font-weight:800; } .ytfin .yte { font-size:36px; }
@media (max-width:560px) { .ytline .ytja, .ytlv1 .ytline .ytja { font-size:21px; } .ytline { padding:6px 10px; } .yttitle .ytti { font-size:24px; } .ytopt .ytja { font-size:19px; } .ytbtn { font-size:21px; } }

/* Fable R5：「きょうの 10ぷん」の 中の 2つは ボタンに 見えない ✓ の しるし（クリックは もともと なし）。スマホは かつどうの タイルを 上に（よう日の 行は かくす） */
.daily3 span.d3, .daily3 .d3 { border:0; background:none; border-radius:0; padding:0 2px; font-size:15px; font-weight:700; color:var(--mute); box-shadow:none; }
.daily3 span.d3.ok, .daily3 .d3.ok { background:none; color:#2f7a2f; } .daily3 span.d3.nx { color:#be123c; }
.daily3 span.d3 .zhsub { display:inline; margin-left:4px; font-size:11px; }
@media (max-width:560px) {
  .wstrip { display:none; }
  .daily3 { padding:5px 8px; gap:0 12px; margin:4px 0; }
  .daily3 .big10 { font-size:20px; padding:10px 12px; margin:0 0 4px; }
  .daily3 span.d3 { font-size:14px; }
  .todaybar { margin:4px 0 0; font-size:13px; gap:2px 6px; } .todaybar .zhsub { font-size:11px; margin-left:4px; } .todaybar > span:first-child { flex:1 1 auto; }
  .todaybar .lvb { font-size:13px; padding:2px 8px; } .todaybar i { height:8px; margin-top:2px; }
  .daily3 .big10 { padding:8px 12px; }
  .hzrow { margin:6px 0; }
  .who { margin-bottom:4px; } .langs { margin:4px 0 6px; }
}
/* 🎵 声调（tone_ui.js）11-26：ホームの タイルは 汉字・短文・古诗の 行の 4つめ（スマホで 4つ ならぶ ときは 2×2） */
.tnbtn { font-size:26px; padding:14px 16px; background:#7b4bb7; box-shadow:0 5px 0 #553284; display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; }
.tnbtn .hzic { font-size:34px; } .tnbtn .hzn { font-size:18px; background:rgba(255,255,255,.22); border-radius:12px; padding:2px 10px; }
.hzrow > .tnbtn { grid-row:1; margin:0; flex-direction:column; flex-wrap:nowrap; gap:4px; min-height:112px; padding:10px 4px; font-size:21px; line-height:1.15; }
@media (min-width:561px) { .hzrow > .tnbtn { min-height:140px; font-size:26px; } }
@media (max-width:560px) {
  .hzrow.hz4 { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .hzrow.hz4 > .btn { grid-row:auto; min-height:0; flex-direction:row; flex-wrap:wrap; justify-content:center; gap:2px 8px; padding:8px 4px; }
  .hzrow.hz4 .hzic { font-size:30px; } .hzrow.hz4 .hzn { flex-basis:100%; max-width:none; background:none; padding:0; }
  .hzrow.hz4 > .btn.hzfast { order:9; grid-column:1 / -1; min-height:40px; }
}
.tncard { text-align:center; min-height:92px; display:flex; flex-direction:column; justify-content:center; }
.tncard .zh { font-size:44px; font-weight:800; } .tncard .tnwho { font-size:44px; color:var(--mute); font-weight:800; }
.tncard.good { border-color:var(--ok); background:#f0fdf4; } .tncard.bad { border-color:var(--bad); }
.tnpy { font-size:22px; font-weight:700; color:#5b3d99; } .tnja { font-size:16px; color:#4f7a1f; }
.tnnote { text-align:left; font-size:15px; background:#fffbeb; border:2px dashed var(--line); border-radius:14px; padding:6px 10px; margin-top:6px; } .tnnote .zhsub { display:block; }
.tnplay { background:#7b4bb7; box-shadow:0 5px 0 #553284; }
.tnopts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:12px 0; } .tnopts.tn2 { grid-template-columns:repeat(2,minmax(0,1fr)); } .tnopts.tn3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.tnopt { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; min-height:96px; padding:8px 4px; border:3px solid var(--line); border-radius:20px; background:#fff; box-shadow:0 4px 0 var(--line); font:inherit; color:var(--ink); }
.tnopt.right { background:#dcfce7; border-color:var(--ok); } .tnopt.wrong { background:#fee2e2; border-color:var(--bad); } .tnopt:disabled { opacity:1; } .tnopt:disabled:not(.right):not(.wrong) { opacity:.5; }
.tnsv { width:56px; height:40px; fill:#7b4bb7; stroke:#7b4bb7; stroke-width:4; stroke-linecap:round; stroke-linejoin:round; } .tnsv path { fill:none; } .tnsv .tnbase { stroke:var(--line); stroke-width:2; }
.tnopt .tnmk { font-size:28px; line-height:1; color:#5b3d99; } .tnopt .tnnm { font-size:17px; font-weight:800; } .tnopt .tnnm .zhsub { display:block; font-size:12px; } .tnopt .tnhd { font-size:14px; color:var(--mute); }
.tnopt .tnpy { font-size:34px; } .tnopt .tnpr { display:flex; gap:2px; } .tnopt .tnpr .tnsv { width:48px; }
.tncmp .btn .zh { font-size:22px; }
@media (max-width:560px) { .tnopts { grid-template-columns:repeat(2,minmax(0,1fr)); } .tnopts.tn3 { grid-template-columns:repeat(3,minmax(0,1fr)); } .tnopt { min-height:84px; } .tnopt .tnhd { font-size:12px; white-space:nowrap; } .tncard .zh { font-size:38px; } }
/* 11-26 えほん Lv3（ながい おはなし）：字が 多い ページ・4択は 2×2・もんだいの しゅるい ラベル・ほんだなの Lv3 らん */
.ehlv3 .ehtx { font-size:calc(23px * var(--ehs, 1)); line-height:1.55; } .ehlv3 .ehtx-zh { font-size:calc(26px * var(--ehs, 1)); } .ehlv3 .ehpy { font-size:calc(16px * var(--ehs, 1)); }
.ehlv3 .ehtext { gap:3px; justify-content:flex-start; } .ehlv3 .ehs { padding:4px 8px; }
.ehopts.ehopts4, .ehopts.long.ehopts4 { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.ehqtype { align-self:center; display:inline-block; font-size:16px; font-weight:800; color:#fff; background:var(--pri); border-radius:999px; padding:2px 12px; margin-bottom:4px; }
.ehqt-why { background:#e8743b; } .ehqt-order { background:#4c8bd6; } .ehqt-vocab { background:#3f9d5a; }
.ehlv3sec .ehserh .zhsub { font-size:15px; color:var(--mute); }
.ehlv3hint { font-size:16px; font-weight:700; color:var(--ink); background:#fff8e1; border:2px dashed var(--pri2); border-radius:14px; padding:6px 12px; margin:4px 0; } .ehlv3hint small { display:block; color:var(--mute); font-size:14px; margin-top:2px; }
.ehbook.lock { opacity:.55; box-shadow:none; } .ehbook.lock img { filter:grayscale(.7); }
@media (orientation:landscape) and (min-width:700px) { .ehlv3 .ehpic { max-width:50%; } }
@media (max-width:560px) { .ehlv3 .ehtx { font-size:18px; } .ehlv3 .ehtx-zh { font-size:21px; } .ehlv3 .ehpy { font-size:14px; } .ehopts.ehopts4 { gap:8px; } }
/* Fable r6 P1-5：ホームの「🎁 カード・📖 ずかん・📚 えほん」の 行（.home3、app.js home3()）。スマホは 字を 小さく、絵文字は 1行目、ことばの とちゅうで おりかえさない */
.home3 .h3ic { margin-right:4px; }
@media (max-width:480px) {
  .home3 { gap:8px; }
  .home3 .btn { font-size:16px; padding:12px 4px; word-break:keep-all; line-break:strict; overflow-wrap:normal; line-height:1.25; min-width:0; }
  .home3 .h3ic { display:block; font-size:24px; line-height:1.15; margin:0 0 2px; }
  .home3 .btn .zhsub, .home3 .btn .jasub { font-size:12px; margin-top:1px; }
}
/* Fable r7：iPad たて（768px）でも 4つ ならぶ とき（きょうだいの 🔁こうかん）、ことばの とちゅうで おりかえさない */
@media (min-width:481px) and (max-width:900px) {
  .home3 .btn { word-break:keep-all; line-break:strict; min-width:0; padding-left:6px; padding-right:6px; }
  .home3 .h3ic { display:block; margin:0 0 2px; }
}
/* Fable r6 B1：英語ホームの 🔤 ABC・💬 しつもん タイル（app.js enHomeRow、中文ホームの .hzrow と おなじ 形） */
.enbtn { display:flex; align-items:center; justify-content:center; color:#fff; }
.enbtn.enabc { background:#2563eb; box-shadow:0 5px 0 #1e40af; } .enbtn.enqa { background:#d9480f; box-shadow:0 5px 0 #9c3408; }
.hzrow > .enbtn { grid-row:1; margin:0; flex-direction:column; flex-wrap:nowrap; gap:4px; min-height:112px; padding:10px 4px; font-size:21px; line-height:1.15; }
.enbtn .hzn { background:rgba(255,255,255,.22); border-radius:12px; }
@media (min-width:561px) { .hzrow > .enbtn { min-height:140px; font-size:26px; } }
@media (max-width:560px) {
  .hzrow.enrow > .enbtn { min-height:0; flex-direction:row; flex-wrap:wrap; gap:2px 8px; padding:8px 4px; }
  .hzrow.enrow .hzic { font-size:30px; } .hzrow.enrow .hzn { flex-basis:100%; max-width:none; background:none; padding:0; }
}
/* Fable r6 P1-5：ホームの 話題タイルも ことばの とちゅうで おりかえさない（スペースで おりかえす。入らない ときだけ とちゅうで） */
@media (max-width:480px) {
  .row4 .topic, .sqgrid .topic { word-break:keep-all; line-break:strict; overflow-wrap:anywhere; }
}
/* 11-26：スマホで ボタンの ことばが とちゅうで おりかえさない（スペース・<wbr> の 位置で おりかえす。どうしても 入らない ときだけ とちゅうで） */
.langs button, .sqgrid .topic, .row4 .topic, #kbook, #parent, #fbk, #snd, #tfold, #go10 { word-break:keep-all; line-break:strict; overflow-wrap:anywhere; }
.langs button .jasub, .langs button .zhsub { overflow-wrap:normal; }
#tfold .car { white-space:nowrap; flex:none; padding-left:8px; }
#fbk, #snd { min-height:44px; }
@media (max-width:400px) {
  .langs { gap:6px; } .langs button { padding:8px 1px; }
  .langs button .jasub, .langs button .zhsub { font-size:11px; letter-spacing:-.02em; }
}
/* 11-26 やる気：こんしゅう 5にち の 目標（1行＋ほそい バー。スマホでも 出す）・家長の 具体的な ひとこと */
.wgoal { display:flex; flex-wrap:wrap; align-items:center; gap:2px 6px; margin:4px 0 2px; font-size:14px; font-weight:700; color:#7c2d12; text-align:left; }
.wgoal > span { flex:1 1 100%; } .wgoal .wgn { flex:none; font-size:12px; color:#c2410c; line-height:1; } .wgoal .zhsub { display:inline; margin-left:4px; font-size:11px; }
.wgoal i { flex:1 1 auto; display:block; height:6px; border-radius:4px; background:var(--line); overflow:hidden; }
.wgoal i b { display:block; height:100%; background:linear-gradient(90deg,#f6c445,#f97316); border-radius:4px; transition:width .4s; }
.wgoal.full { color:#2f7a2f; } .wgoal.full i b { background:#4caf50; }
.pnudge { margin:6px 0 8px; padding:8px 10px; border-radius:12px; background:#fff8db; border:2px solid #f5d77a; font-size:15px; font-weight:700; line-height:1.45; text-align:left; }
.pnudge .zhsub { font-weight:500; margin-top:4px; }
.talkt #ttsay { margin:0 0 0 6px; padding:2px 10px; font-size:14px; vertical-align:middle; }
@media (max-width:560px) { .wgoal { font-size:12.5px; margin:2px 0 0; letter-spacing:-.02em; } .wgoal .zhsub { font-size:10.5px; margin-left:3px; } .wgoal i { height:5px; } .wgoal .wgn { font-size:11px; } }
.wgoal em { font-style:normal; }
@media (max-width:420px) { .wgoal .wgg { display:none; } .wgoal { letter-spacing:-.03em; } }
/* 11-26 🪐 うちゅうの うごき（space_ui.js）：アニメ（SVG）・メニュー・クイズ・ホームの「きょうの うちゅう」 */
.spw .zhsub { display:block; }
.spmenu h1 { margin:4px 0 10px; }
.spgrid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin:8px 0 12px; }
@media (min-width:700px) { .spgrid { grid-template-columns:repeat(3,1fr); } }
.sptile { position:relative; min-height:118px; border:3px solid var(--line); border-radius:22px; background:#fff; padding:12px 6px; font-size:18px; font-weight:800; color:var(--ink); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; box-shadow:0 4px 0 var(--line); word-break:keep-all; line-break:strict; overflow-wrap:anywhere; }
.sptile .spic { font-size:40px; line-height:1.1; } .sptile .zhsub { font-size:13px; font-weight:600; color:var(--mute); }
.sptile .spok { position:absolute; top:6px; right:8px; font-style:normal; font-size:12px; font-weight:800; color:#fff; background:var(--ok); border-radius:10px; padding:1px 7px; }
.spinfo { font-size:15px; font-weight:700; text-align:center; margin:6px 0; } .spinfo .zhsub { font-weight:500; font-size:13px; }
.sphd { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 8px; font-size:20px; margin:2px 0 6px; } .sphd .spic { font-size:26px; } .sphd .zhsub { display:inline; font-size:14px; color:var(--mute); }
.spstage { position:relative; border-radius:18px; overflow:hidden; background:#0b1026; box-shadow:0 3px 10px #0003; }
.spstage svg { display:block; width:100%; height:auto; max-height:58vh; margin:0 auto; touch-action:manipulation; cursor:pointer; user-select:none; -webkit-user-select:none; }
.spl { fill:#e2e8f0; font-size:13px; font-weight:700; paint-order:stroke; stroke:#0b1026; stroke-width:3px; } .spl.sm { font-size:11.5px; } .spl.xs { font-size:10px; stroke-width:2.5px; }
.sppl { cursor:pointer; }
.sphint { position:absolute; left:50%; bottom:10px; transform:translateX(-50%); background:#0009; color:#fff; border-radius:14px; padding:4px 12px; font-size:14px; font-weight:700; pointer-events:none; text-align:center; }
.sphint .zhsub { color:#cbd5e1; font-size:11px; }
.spread { min-height:48px; margin:8px 0 4px; padding:6px 10px; border-radius:14px; background:#eef2ff; color:#1e1b4b; font-size:16px; font-weight:700; line-height:1.5; }
.spread .zhsub { font-size:13px; font-weight:500; color:#4338ca; }
.spctl { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:6px 0; }
.spb { min-width:56px; min-height:52px; border:2px solid var(--line); border-radius:16px; background:#fff; font-size:22px; font-weight:800; display:flex; flex-direction:column; align-items:center; justify-content:center; line-height:1.05; padding:2px 8px; box-shadow:0 3px 0 var(--line); color:var(--ink); }
.spb small { font-size:11px; font-weight:700; color:var(--mute); }
.spb.spplay { min-width:72px; background:var(--pri); color:#fff; border-color:var(--pri); box-shadow:0 3px 0 #c96a00; font-size:26px; }
.spspd { flex:1 1 150px; display:flex; align-items:center; gap:8px; font-size:15px; font-weight:800; min-height:52px; }
.spspd .zhsub { display:inline; font-size:11px; color:var(--mute); }
.spspd input { flex:1; min-width:90px; height:44px; accent-color:var(--pri); }
.spspd b { min-width:36px; text-align:right; }
.spx .btn { font-size:17px; padding:12px 6px; margin:6px 0; }
.spchips { display:flex; flex-wrap:wrap; gap:6px; margin:6px 0; }
.spchip { min-height:44px; border:2px solid var(--line); border-radius:22px; background:#fff; padding:4px 12px; font-size:15px; font-weight:800; display:flex; align-items:center; gap:6px; color:var(--ink); }
.spchip i { width:14px; height:14px; border-radius:50%; display:inline-block; }
.spchip.on { border-color:#eab308; background:#fef9c3; }
.spplinfo:not(:empty) { margin:4px 0 8px; padding:8px 12px; border-radius:14px; background:#fef9c3; border:2px solid #fde047; font-size:16px; line-height:1.5; }
.spplinfo [lang] { margin-left:6px; color:var(--mute); font-weight:700; }
.spsay { margin:8px 0; padding:10px 12px; border-radius:16px; background:#fff; border:2px solid var(--line); }
.spja { font-size:18px; line-height:1.7; font-weight:600; } .spsay > .zhsub { font-size:14px; line-height:1.5; margin-top:4px; color:var(--mute); }
.spsay .row .btn { font-size:17px; padding:10px 6px; margin:8px 0 2px; }
.spnote { font-size:14px; line-height:1.55; color:var(--mute); margin:6px 2px; } .spnote .zhsub { font-size:12px; }
.spnote.spwarn { color:#b91c1c; font-weight:700; } .spnote.spcal { color:var(--ink); }
.spnav .btn { font-size:16px; padding:12px 4px; word-break:keep-all; } .spnav .btn:disabled { opacity:.4; }
.spqq { font-size:21px; font-weight:700; line-height:1.6; } .spqq .zhsub { font-size:15px; font-weight:500; }
.spopts { display:flex; flex-direction:column; gap:10px; margin:10px 0; }
.spopt { min-height:56px; border:3px solid var(--line); background:#fff; border-radius:20px; padding:10px 16px; font-size:20px; font-weight:700; text-align:left; box-shadow:0 4px 0 var(--line); color:var(--ink); }
.spopt .zhsub { font-size:13px; font-weight:500; color:var(--mute); }
.spopt.right { border-color:var(--ok); background:#e8f8ec; } .spopt.wrong { border-color:var(--bad); background:#fdecec; }
.spfav { display:flex; align-items:center; gap:10px; width:100%; margin:8px 0; padding:10px 14px; min-height:64px; border:0; border-radius:20px; background:linear-gradient(120deg,#1e1b4b,#312e81 60%,#4c1d95); color:#fff; text-align:left; box-shadow:0 4px 0 #1e1b4b; }
.spfav .spfic { font-size:34px; } .spfav .spft { flex:1; min-width:0; font-size:15px; line-height:1.35; }
.spfav .spft > b { font-size:16px; } .spfav .zhsub { display:inline; margin-left:6px; font-size:12px; color:#c7d2fe; }
.spfav .spfn { display:block; font-size:18px; font-weight:800; color:#fde68a; } .spfav .spfn .zhsub { color:#e0e7ff; }
.spfav .spfgo { font-size:22px; color:#fde68a; }
.sprow .btn { margin-top:0; }
@media (max-width:560px) {
  .sptile { min-height:104px; font-size:16px; } .sptile .spic { font-size:34px; }
  .spja { font-size:16.5px; } .spread { font-size:14.5px; } .spb { min-width:50px; font-size:20px; } .spb.spplay { min-width:62px; }
  .spspd { flex-basis:100%; } .spqq { font-size:19px; } .spopt { font-size:18px; }
}
@media (orientation:landscape) and (min-width:900px) {
  .spscene { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); column-gap:16px; align-items:start; }
  .spscene > .sphd { grid-column:1 / -1; } .spscene > .spstage { grid-column:1; grid-row:2 / span 20; } .spscene > :not(.spstage):not(.sphd) { grid-column:2; }
  .spscene > .spstage svg { max-height:70vh; }
}
@media (prefers-reduced-motion: reduce) { .spfav, .sptile { transition:none; } }

/* 🔷 ずけい（zukei_ui.js）11-26：空間の 見方（かたち あつめ・つみき・上前横・てんかい図・まわす・点つなぎ・なまえ） */
.zkbtn { display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap; background:#3b5bdb; box-shadow:0 5px 0 #233a99; font-size:24px; padding:14px 16px; }
.zkbtn:active { box-shadow:0 1px 0 #233a99; }
.zkbtn .zkic { font-size:32px; line-height:1; } .zkbtn .zkl small { display:block; font-size:13px; font-weight:600; opacity:.85; } .zkbtn .zkn { font-size:17px; background:rgba(255,255,255,.22); border-radius:12px; padding:2px 10px; }
.zktiles { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:10px 0; }
.zktile { position:relative; min-height:44px; border:3px solid var(--line); border-radius:20px; background:#fff; box-shadow:0 4px 0 var(--line); padding:14px 6px 10px; display:flex; flex-direction:column; align-items:center; gap:4px; font:inherit; color:var(--ink); text-align:center; transition:transform .12s; }
.zktile:active { transform:translateY(3px); box-shadow:0 1px 0 var(--line); }
.zkti { font-size:34px; line-height:1; } .zktn { font-size:18px; font-weight:800; line-height:1.25; } .zktn .zhsub { font-size:12px; } .zktd { font-size:13px; color:var(--mute); line-height:1.3; } .zktd .zhsub { font-size:11px; }
.zktile .lvtag { position:absolute; top:6px; right:6px; margin:0; }
.zkk { font-size:19px; } .zkq { padding:10px 12px; } .zkq > .zhsub { font-size:14px; }
.zkqt { display:flex; align-items:center; justify-content:center; gap:8px; font-size:20px; font-weight:800; line-height:1.6; text-align:left; }
.zkqt ruby rt { font-size:.5em; font-weight:600; }
.zksay { flex:none; width:44px; height:44px; border-radius:50%; border:2px solid var(--line); background:#fff; font-size:20px; padding:0; }
.zkfigw { display:flex; justify-content:center; margin:8px 0; } .zkfigw svg { max-width:100%; height:auto; }
.zkopts { display:grid; gap:10px; margin:12px 0; grid-template-columns:repeat(3,minmax(0,1fr)); }
.zkopts.zk4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.zkopt { min-height:72px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; padding:10px 4px; border:3px solid var(--line); border-radius:20px; background:#fff; box-shadow:0 4px 0 var(--line); font:inherit; color:var(--ink); transition:transform .12s, background-color .12s; }
.zkopt svg { max-width:100%; height:auto; display:block; }
.zkopt.sel { border-color:#3b5bdb; background:#edf2ff; transform:translateY(2px); box-shadow:0 2px 0 #91a7ff; }
.zkopt.right { background:#dcfce7; border-color:var(--ok); } .zkopt.wrong { background:#fee2e2; border-color:var(--bad); }
.zkopt:disabled { opacity:1; } .zkopt:disabled:not(.right):not(.wrong) { opacity:.5; }
.zktxt .zkopt { font-size:24px; font-weight:800; } .zkopt .zhsub { font-size:13px; } .zkbig { font-size:38px; line-height:1.1; }
.zkhint { font-weight:700; }
.zkex { background:#fffbeb; border:2px dashed var(--line); border-radius:14px; padding:10px 12px; margin:8px 0; font-size:17px; text-align:left; line-height:1.55; }
.zkex .zkfigw { margin-top:6px; }
.zkdraw { display:flex; flex-direction:column; align-items:center; gap:6px; margin:6px 0; }
.zkmodelw { width:150px; text-align:center; } .zkmodelw .small { margin:0; } .zkmodelw svg { width:100%; height:auto; display:block; background:#fff; border:2px solid var(--line); border-radius:12px; }
.zkpad { width:100%; } .zkpad svg { width:100%; height:auto; display:block; touch-action:none; background:#fff; border:2px solid var(--line); border-radius:16px; cursor:pointer; }
.zkgrid .zkdot { fill:#868e96; } .zkgrid .zkdot.on { fill:#e8590c; } .zkgrid line { stroke-linecap:round; }
.zkgrid .zkdrw { stroke:#e8590c; stroke-width:7; } .zkgrid .zkgiv { stroke:#1c7ed6; stroke-width:7; } .zkgrid .zkmod { stroke:#1c7ed6; stroke-width:8; }
.zkgrid .zkans { stroke:#2fb344; stroke-width:14; opacity:.45; } .zkgrid .zkax { stroke:#e5484d; stroke-width:3; stroke-dasharray:10 8; }
.zkdbtn { gap:8px; } .zkdbtn .btn { font-size:18px; padding:12px 4px; margin:6px 0; min-height:44px; }
@media (min-width:640px) {
  .zktiles { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .zkopts.zk4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .zkdraw { flex-direction:row; align-items:flex-start; justify-content:center; gap:16px; }
  .zkmodelw { width:190px; }
  .zk-cnt .zkfigw svg, .zk-view .zkfigw svg, .zk-net .zkfigw svg, .zk-rot .zkfigw svg, .zk-name .zkfigw svg { zoom:1.45; }   /* iPad：つみき・てんかい図を 大きく（かたち あつめは お手本と ピースの 大きさを そろえるので そのまま） */
  .zk-view .zkopt svg, .zk-net .zkopt svg, .zk-rot .zkopt svg { zoom:1.3; }
}
@media (prefers-reduced-motion:reduce) { .zkopt, .zktile { transition:none; } .zkopt.sel, .zktile:active { transform:none; } }
/* 段階1（Q499）：中文の ない 家庭＝中文の 小さい 字は かくす（英語の 家庭は 英訳 .ensub だけ 出す・ui_en.js） */
body.hl-nozh .zhsub:not(.ensub) { display:none !important; }

/* 11-27 九九の 文しょうだい：① しき → ② こたえ。絵は 1行＝1つ分（きいろの 行が 1つ分）、行の 数＝いくつ分 */
.kwrows { display:inline-block; text-align:left; background:#fff; border:2px solid var(--line); border-radius:14px; padding:6px 10px; max-width:100%; }
.kwr { display:flex; align-items:center; gap:6px; padding:1px 6px; border-radius:8px; line-height:1.25; }
.kwr1 { background:#fff3bf; outline:2px solid #fcc419; }
.kwg { font-size:20px; flex:0 0 auto; } .kwi { font-size:18px; letter-spacing:1px; word-break:break-all; }
.kwcap { font-size:13px; color:#946c00; text-align:right; margin-top:2px; }
#fb .kwrows { padding:3px 8px; } #fb .kwg { font-size:16px; } #fb .kwi { font-size:14px; }
.sqstep { text-align:center; font-size:22px; font-weight:800; color:var(--pri); margin:8px 0 2px; }
#s1fb .fb { font-size:19px; padding:8px; margin:6px 0; } #s1fb .btn { margin:2px auto 6px; display:block; }
.s1note { font-weight:800; margin-bottom:4px; }

/* 11-28 首页 第3版（?lp=3 下書き）：首屏は ひとこと・画面 1 枚・大きな ボタンだけ */
.lp3 .l3hero { text-align:center; margin:14px auto 6px; max-width:560px; }
.lp3 .l3who { display:inline-block; background:var(--ink); color:#fff; border-radius:999px; padding:4px 14px; font-size:13px; font-weight:700; }
.lp3 .l3hero h1 { font-size:clamp(26px, 7.4vw, 40px); line-height:1.25; margin:14px 0 8px; }
.lp3 .l3hero h1 span { display:block; }
.lp3 .l3sub { font-size:15px; line-height:1.7; color:var(--mute); margin:0 auto 12px; max-width:480px; }
.lp3 .l3shot img { width:min(62vw, 250px); height:auto; border-radius:26px; border:6px solid #1f2a2a; box-shadow:0 10px 30px rgba(0,0,0,.18); }
.lp3 .l3go { display:block; width:100%; max-width:460px; margin:16px auto 6px; font-size:21px; padding:16px; }
.lp3 .l3note { font-size:13px; color:var(--mute); margin:0 0 8px; }
.lp3 .l3more { max-width:560px; margin:10px auto 16px; background:#fff; border:2px solid var(--line); border-radius:16px; padding:10px 14px; }
.lp3 .l3more summary { font-weight:800; cursor:pointer; text-align:center; }
.lp3 .l3more ul { text-align:left; line-height:1.9; margin:10px 0; padding-left:20px; }

/* 11-28 新版本の おしらせ（とちゅうでも タップで 更新） */
.updbar { position:fixed; top:8px; left:50%; transform:translateX(-50%); z-index:95; border:0; border-radius:999px; padding:8px 16px; background:#2563eb; color:#fff; font-weight:800; font-size:14px; box-shadow:0 4px 14px rgba(0,0,0,.25); cursor:pointer; max-width:92vw; }
.updbar .zhsub { display:block; font-size:11px; color:#dbeafe; }

/* 11-28 カードの 字：ピンインを 大きく・English の 名前 */
.card .cpy { font-size:15px; color:#555; } .card .cen { font-size:13px; color:#3b6ea8; font-weight:700; } .zinfo .zen { font-size:15px; color:#3b6ea8; font-weight:700; margin:2px 0 4px; }

/* 11-28 周さん「有的卡片尺寸不一致」：ずかんの カードを ぜんぶ 同じ 大きさに（絵は 5:7、名前は 1 行、文は 2 行まで） */
.grid > .albcell, .grid > .card.locked { aspect-ratio:5 / 9.3; min-height:0; }
.grid > .albcell > .card { height:100%; box-sizing:border-box; display:flex; flex-direction:column; overflow:hidden; }
.grid > .albcell > .card > .art, .grid > .albcell > .card > .emo-art { flex:none; }
.grid .card .nm { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.grid .card .cpy, .grid .card .cjn, .grid .card .cen { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.grid .card .cz { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.grid > .card.locked { box-sizing:border-box; }
/* 11-28 周さん「卡片的宽度我感觉有点宽」：ずかんは 1 列を せまく（iPad で 5〜6 まい、スマホで 3 まい） */
.grid:not(.trgrid) { grid-template-columns:repeat(auto-fill, minmax(128px, 1fr)); gap:10px; }
@media (max-width:420px) { .grid:not(.trgrid) { grid-template-columns:repeat(3, 1fr); gap:6px; } .grid .card .nm { font-size:16px; } .grid .card .cz { font-size:12px; } }
.grid:not(.trgrid) > * { min-width:0; }
.grid:not(.trgrid) { grid-template-columns:repeat(auto-fill, minmax(min(128px, 100%), 1fr)); }
@media (max-width:420px) { .grid:not(.trgrid) { grid-template-columns:repeat(3, minmax(0, 1fr)); } .grid .card { padding:6px; border-width:3px; } .grid .card .cpy, .grid .card .cjn, .grid .card .cen { font-size:11px; } }
@media (max-width:420px) { .grid .card .cz { display:none; } .grid > .albcell, .grid > .card.locked { aspect-ratio:5 / 8.2; } .grid .card .cjn, .grid .card .cpy { line-height:1.35; } }
.grid > .albcell > .card > div:not(.art):not(.emo-art) { flex:none; }
@media (max-width:420px) { .grid > .albcell > .card > .art, .grid > .albcell > .card > .emo-art { aspect-ratio:1 / 1; } .grid > .albcell, .grid > .card.locked { aspect-ratio:5 / 7.4; } }
@media (min-width:421px) { .grid > .albcell > .card > .art, .grid > .albcell > .card > .emo-art { aspect-ratio:5 / 5.6; } }
/* 保護者ヘルパー（问问我们・2026-11-28）：ホームだけ 右下の 丸い ボタン＋パネル（helper.js） */
.hlpbtn { position:fixed; right:max(14px, env(safe-area-inset-right, 0px)); bottom:calc(14px + env(safe-area-inset-bottom, 0px)); z-index:45; border:2px solid #e8c79a; background:#fff7ea; color:#6b4a1f; border-radius:999px; padding:10px 16px; font:inherit; font-size:16px; font-weight:700; box-shadow:0 4px 14px rgba(0,0,0,.18); cursor:pointer; }
.hlpbtn.up { bottom:calc(84px + env(safe-area-inset-bottom, 0px)); }
.hlpbtn.dot::after { content:''; position:absolute; top:-3px; right:-3px; width:14px; height:14px; border-radius:50%; background:#e53935; border:2px solid #fff; }
body.hlp-on #app { padding-bottom:calc(84px + env(safe-area-inset-bottom, 0px)); }
.hlpov { position:fixed; inset:0; z-index:90; background:rgba(40,28,14,.55); display:flex; align-items:center; justify-content:center; padding:16px; }
.hlpbox { background:#fffaf2; color:#3a2e22; border-radius:18px; max-width:560px; width:100%; max-height:calc(100% - 8px); display:flex; flex-direction:column; padding:16px 16px 12px; box-shadow:0 10px 40px rgba(0,0,0,.25); font-size:16px; line-height:1.6; box-sizing:border-box; }
.hlpbox h2 { margin:0 0 4px; font-size:19px; }
.hlpnote { font-size:13px; opacity:.75; }
.hlpmsgs { flex:1 1 auto; min-height:120px; overflow-y:auto; display:flex; flex-direction:column; gap:8px; margin:10px 0; padding:8px; border:2px solid #ecdcc4; border-radius:14px; background:#fff; }
.hlpm { max-width:85%; padding:6px 12px; border-radius:14px; background:#f4efe6; align-self:flex-start; white-space:pre-wrap; word-break:break-word; }
.hlpm.me { align-self:flex-end; background:#e8f4ff; }
.hlpm.staff { background:#eaf7e8; }
.hlpwho { display:block; font-size:12px; opacity:.7; }
.hlpm time { display:block; font-size:11px; opacity:.5; }
.hlpempty { opacity:.6; font-size:14px; text-align:center; margin:auto; }
.hlpbox textarea { width:100%; box-sizing:border-box; min-height:72px; resize:vertical; border:2px solid #ecdcc4; border-radius:12px; padding:8px 10px; font:inherit; font-size:16px; background:#fff; color:#3a2e22; }
.hlperr { min-height:1.2em; color:#b4441c; font-size:14px; }
.hlprow { display:flex; gap:10px; margin-top:6px; }
.hlprow button { flex:1; border:0; border-radius:14px; padding:11px; font:inherit; font-size:16px; font-weight:700; cursor:pointer; }
.hlpgo { background:#e07b1a; color:#fff; } .hlpno { background:#efe4d4; color:#3a2e22; }

/* 2026-11-28 周さん「B」：首页上部＝名前チップ＋中・全屏、その下に 吉祥物の 吹き出しカード */
.hdrb { display:flex; align-items:center; gap:8px; margin:0 0 8px; padding-right:52px; min-height:48px; }
.hdrb .who { margin:0; font-size:15px; }
.hdrb .whocar { color:#2f9e57; font-size:13px; }
.standalone .hdrb { padding-right:0; }
.hdrcard { display:flex; align-items:center; gap:10px; background:#fff; border:2px solid var(--line); border-radius:20px; padding:8px 12px; margin:0 0 8px; }
.hdrcard .mascot { font-size:64px; flex:none; }
.hdrcard .bub { flex:1; background:#fff7e6; border-radius:16px; padding:8px 12px; text-align:left; position:relative; }
.hdrcard .bub::before { content:''; position:absolute; left:-8px; top:50%; margin-top:-8px; border:8px solid transparent; border-left:0; border-right-color:#fff7e6; }
.hdrcard .bub b { display:block; font-size:17px; line-height:1.35; }
.hdrcard .bub small { display:block; font-size:12px; color:#6a7f70; margin-top:2px; }

/* 2026-11-28 もどってきた 子：きょうの 10ぷん を まんなかに（c10hero・あと N つで カードパック・ほかも みる）＋ 🚩 へんかも？ */
.daily3 .big10.c10hero { font-size:26px; padding:18px 14px; border-radius:22px; animation:c10bob 2.4s ease-in-out infinite; }
.daily3 .big10 .zhsub { font-size:13px; }
@keyframes c10bob { 0%, 100% { transform:translateY(0); } 50% { transform:translateY(-4px); } }
.lite .daily3 .big10.c10hero { animation:none; }
@media (prefers-reduced-motion:reduce) { .daily3 .big10.c10hero { animation:none; } }
@media (max-width:560px) { .daily3 .big10.c10hero { font-size:23px; padding:14px 10px; } }
.c10gift { flex:1 1 100%; text-align:center; font-size:16px; font-weight:800; color:#92400e; margin:0 0 2px; }
.c10gift .zhsub { font-size:12px; }
.c10alb { margin:0 0 10px; }
details.c10more { margin:6px 0; }
details.c10more > summary.sech.fold { list-style:none; cursor:pointer; min-height:44px; flex-direction:column; justify-content:center; gap:0; font-size:18px; margin:10px 0 6px; background:#fff; border:2px solid var(--line); border-radius:18px; padding:8px 14px; box-shadow:0 3px 0 var(--line); }
details.c10more > summary::-webkit-details-marker { display:none; }
details.c10more[open] > summary { opacity:.7; }
.qflag { line-height:1.1; padding-top:3px; padding-bottom:3px; }
.qflag .zhsub { font-size:10px; margin-top:0; }
.qfbox h2 { font-size:22px; margin:0 0 10px; }
.qftypes { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:0 0 10px; }
.qftypes .qft { margin:0; font-size:18px; padding:10px 6px; }
.qftypes .qft.on { border-color:#e07b1a; background:#fff1df; box-shadow:0 3px 0 #e07b1a; }
.qfbox input { width:100%; box-sizing:border-box; border:2px solid var(--line); border-radius:12px; padding:10px; font-size:16px; font-family:inherit; }
.qfmsg { min-height:1.2em; font-size:14px; color:var(--mute); }
.qfbox .row .btn:disabled { opacity:.45; }
