: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; } }
.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; }
.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; }

/* 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:cover; background:#fff8ee; }   /* 中国风卡片：正方形的图铺满 */
.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; }

/* 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; }
