.mob{--ac:#0E7490;--ac2:#CFFAFE;--acg:linear-gradient(90deg,#0E7490,#0891B2 50%,#F59E0B)}
.mob [hidden]{display:none!important}
.ghero{position:relative;text-align:center;padding:5svh 0 18px}
.game{position:relative;background:#fff;border-radius:28px;padding:16px;box-shadow:0 1px 2px rgba(14,17,22,.05),0 20px 50px rgba(14,116,144,.16);overflow:hidden}
.gtop{margin-bottom:12px}
.ghud{display:flex;justify-content:space-between;gap:6px;font-size:12px;font-weight:800;color:var(--ink2);white-space:nowrap}.ghud b{font-size:16px;font-variant-numeric:tabular-nums}
/* はじめの説明 */
.il{margin:0 0 10px;font-size:13px;font-weight:800;color:#164E63;line-height:1.7}
.doc{margin-top:10px;padding:12px 14px;border-radius:16px;border:2px solid #E2E8F0;background:#fff}
.doc.wk{border-color:#E0F7FA;background:#E0F7FA}
.doc h4{margin:0 0 6px;font-size:14px;font-weight:900}
.doc ul{margin:0;padding:0;list-style:none}.doc li{display:grid;grid-template-columns:1.8em 1fr;gap:6px;padding:5px 0;border-top:1px dashed rgba(15,23,42,.1);font-size:13px;line-height:1.65;font-weight:600;color:var(--ink)}.doc li:first-child{border-top:0}
.doc li b{font-size:11.5px;color:var(--ink2);padding-top:1px}
.doc mark{background:linear-gradient(transparent 55%,#A5F3FC 55%);color:inherit;font-weight:800}
.intro .go{display:block;width:100%;margin-top:14px;height:56px;border:0;border-radius:999px;background:linear-gradient(90deg,#0E7490,#0891B2);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(14,116,144,.3)}
/* 今週の事情 */
.mob-day{padding:12px 14px;border-radius:18px;background:#083344;color:#CFFAFE}.mob-day>b{display:flex;gap:6px;align-items:center;font-size:16px;font-weight:900;color:#fff}
.mob-day p#motx{margin:6px 0 0;font-size:13.5px;line-height:1.75;font-weight:700}.mob-day p#motx b{color:#FCD34D;font-weight:900}
.mob-nts{display:flex;flex-direction:column;gap:4px;margin-top:6px}
.mob-nt{display:block;padding:4px 10px;border-radius:10px;background:rgba(34,197,94,.18);color:#DCFCE7;font-size:12.5px;line-height:1.55}.mob-nt.mob-ntd{background:rgba(239,68,68,.2);color:#FEE2E2}
.mob-caps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:8px;padding-top:8px;border-top:1px dashed rgba(207,250,254,.25)}
.mob-caps span{display:flex;flex-direction:column;align-items:center;padding:4px 2px;border-radius:10px;background:rgba(255,255,255,.08);font-size:11px;font-weight:800;color:#A5F3FC;line-height:1.3;min-width:0;white-space:nowrap}
.mob-caps i{font-style:normal;font-size:13px}.mob-caps b{font-size:16px;color:#fff;font-variant-numeric:tabular-nums}.mob-caps b::before{content:'持てる ';font-size:10px;color:#A5F3FC;font-weight:800}
/* いまの様子 */
.mob-bal{display:flex;flex-wrap:wrap;gap:4px 10px;justify-content:center;margin:10px 0 8px;padding:7px 10px;border-radius:14px;background:#ECFEFF;border:1px solid #A5F3FC;font-size:12px;font-weight:800;color:#155E75}
.mob-bal span{white-space:nowrap}.mob-bal b{font-size:15px;color:#0E7490;font-variant-numeric:tabular-nums}.mob-bal .mob-bad b{color:#DC2626}
/* モビール */
.mob-mw{position:relative;border-radius:18px;overflow:hidden;background:linear-gradient(#F0FDFF,#E0F2FE);box-shadow:inset 0 0 0 2px rgba(14,116,144,.15)}
.mob-mw svg.mob-svg,.mob .mob-ms svg{display:block;width:100%!important;height:auto!important;stroke:none;fill:none;overflow:visible}
.mob-svg{touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
:where(.mob-svg,.mob-ms) text{fill:#0f172a;stroke:none;text-anchor:middle}
.mob-ceil{fill:#94A3B8}
.mob-str{stroke:#64748B!important;stroke-width:1.3}
.mob-bm{stroke:#0E7490!important;stroke-width:5;stroke-linecap:round}.mob-bmt{stroke-width:6.5}
.mob-pv{fill:#fff;stroke:#0E7490!important;stroke-width:2}
.mob-mm{cursor:pointer;outline:none}
.mob-hit{fill:transparent}
.mob-bdy{stroke-width:2.6!important;transition:stroke-width .15s}
.mob-mm.mob-tg .mob-hit{fill:rgba(14,116,144,.08);stroke:#0E7490!important;stroke-width:1.2;stroke-dasharray:3 3}
.mob-mm.mob-hv .mob-hit{fill:rgba(245,158,11,.22);stroke:#F59E0B!important;stroke-width:2.2;stroke-dasharray:none}
.mob-mm:focus-visible .mob-hit{stroke:#0E7490!important;stroke-width:2}
.mob-fc{pointer-events:none}
.mob-nm{font-size:11px;font-weight:900;fill:#083344!important;paint-order:stroke;stroke:#F0FDFF!important;stroke-width:3px;stroke-linejoin:round}
.mob-bb{fill:#E2E8F0}.mob-bf{fill:#22C55E}.mob-bf.mob-md{fill:#EAB308}.mob-bf.mob-hi{fill:#F97316}.mob-bf.mob-ov{fill:#DC2626}
.mob-bl{stroke:#334155!important;stroke-width:1;stroke-dasharray:1.5 1}
.mob-pc{font-size:10px;font-weight:900;fill:#15803D!important}.mob-pc.mob-md{fill:#A16207!important}.mob-pc.mob-hi{fill:#C2410C!important}.mob-pc.mob-ov{fill:#DC2626!important}
.mob-ch{stroke:rgba(15,23,42,.35)!important;stroke-width:.8}
.mob-cht{font-size:9.5px;font-weight:900;pointer-events:none}
.mob-bub rect{fill:#DC2626}.mob-bub text{fill:#fff!important;font-size:11px;font-weight:900}
.mob-say{position:absolute;left:8px;right:8px;bottom:8px;margin:0;padding:6px 10px;border-radius:10px;background:rgba(8,51,68,.92);color:#fff;font-size:12px;font-weight:800;line-height:1.5;text-align:center;opacity:0;transform:translateY(6px);transition:opacity .2s,transform .2s;pointer-events:none}
.mob-say.mob-show{opacity:1;transform:none}
.mob-warn{margin:8px 0 0;padding:8px 12px;border-radius:12px;background:#FEF2F2;border:1px solid #FECACA;font-size:12.5px;font-weight:700;line-height:1.6;color:#991B1B}
/* おもり置き場 */
.mob-trw{margin-top:10px;padding:10px 8px 8px;border-radius:16px;background:#FFFBEB;border:2px dashed #FCD34D}
.mob-trh{margin:0 4px 6px;font-size:12.5px;font-weight:900;color:#92400E}.mob-trh small{margin-left:4px;font-size:11.5px;color:#B45309}
.mob-tray{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:6px 4px;min-height:56px}
.mob-wt{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;width:84px;min-height:60px;padding:4px 2px;border:0;border-radius:14px;background:transparent;font:inherit;cursor:grab;touch-action:none;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
.mob-wt:disabled{opacity:.5;cursor:default}
.mob-wb{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50% 50% 46% 46%;box-shadow:inset 0 -4px 0 rgba(15,23,42,.12),0 3px 8px rgba(15,23,42,.15);border:2px solid rgba(15,23,42,.25)}
.mob-wb::before{content:'';position:absolute;top:-7px;left:50%;width:12px;height:9px;margin-left:-6px;border:2.5px solid #64748B;border-bottom:0;border-radius:8px 8px 0 0}
.mob-wb i{font-style:normal;font-size:17px;line-height:1}.mob-wb b{font-size:15px;font-weight:900;color:#0f172a;line-height:1.1;font-variant-numeric:tabular-nums}
.mob-wb em{position:absolute;right:-6px;top:-4px;font-style:normal;font-size:14px}
.mob-wt small{font-size:10.5px;font-weight:800;color:#334155;line-height:1.3;text-align:center;word-break:keep-all;overflow-wrap:anywhere}
.mob-wt.mob-sl .mob-wb{outline:3px solid #0E7490;outline-offset:3px}
.mob-wt.mob-drg{opacity:.35}
.mob-wt:focus-visible{outline:2px solid #0E7490}
.mob-ghost{position:fixed;left:0;top:0;z-index:60;pointer-events:none}.mob-ghost .mob-wb{transform:translate(-50%,-70%) scale(1.12);box-shadow:0 10px 24px rgba(15,23,42,.3)}
.mob-tr0{margin:6px 0;font-size:13px;font-weight:800;color:#92400E;text-align:center;line-height:1.6}
.mob-tb{display:flex;justify-content:flex-end;margin-top:8px}
.ghost2{padding:8px 12px;min-height:40px;border:2px solid #CBD5E1;border-radius:14px;background:#fff;font:inherit;font-size:12px;font-weight:800;color:#334155;cursor:pointer;touch-action:manipulation;white-space:nowrap}
.ghost2:disabled{opacity:.45;cursor:default}
/* カード */
.mob-card{margin-top:10px;padding:12px 14px;border-radius:16px;background:#F0FDFF;border:2px solid #A5F3FC}
.mob-cd0{margin:0;font-size:13px;font-weight:700;line-height:1.7;color:#155E75}
.mob-cdh{display:flex;gap:10px;align-items:center}
.mob-cic{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-size:24px;box-shadow:0 0 0 2px #A5F3FC}
.mob-cdh b{display:block;font-size:15.5px;font-weight:900;color:#083344;line-height:1.4}.mob-cdh small{display:block;font-size:12px;font-weight:800;color:#475569}.mob-cdh em{font-style:normal;font-size:14px;color:#0E7490}
.mob-cdp{margin:8px 0 0;font-size:13px;font-weight:700;line-height:1.7;color:#164E63}.mob-cdg{padding:6px 10px;border-radius:10px;background:#DCFCE7;color:#166534}
.mob-cdq{margin:10px 0 6px;font-size:12.5px;font-weight:900;color:#083344}
.mob-to{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.mob-to button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:52px;padding:7px 9px;border:2px solid var(--c);border-radius:12px;background:#fff;font:inherit;text-align:left;cursor:pointer;touch-action:manipulation;min-width:0}
.mob-to button:disabled{opacity:.5;cursor:default}
.mob-to b{font-size:13px;font-weight:900;color:#0f172a}.mob-to small{font-size:11px;font-weight:800;color:#475569;line-height:1.4}
.mob-to em,.mob-cdh em.mob-ok{font-style:normal}
em.mob-ok{color:#15803D!important}em.mob-md{color:#A16207!important}em.mob-hi{color:#C2410C!important}em.mob-ov{color:#DC2626!important}
.mob-back{margin:8px 6px 0 0}
.mob-tl{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:6px}
.mob-tl li{display:flex;gap:6px;align-items:center}
.mob-tn{flex:1;min-width:0;min-height:40px;padding:6px 10px;border:1px solid #CBD5E1;border-radius:12px;background:#fff;font:inherit;font-size:13px;font-weight:800;color:#0f172a;text-align:left;cursor:pointer}
.mob-tn small{font-size:11px;color:#64748B}
/* AIのやり方 */
.aiad{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:10px 12px;border-radius:18px;background:#E0F7FA;border:1px solid #A5F3FC}
.aiad .av{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-size:26px;line-height:1;background:#fff;box-shadow:0 0 0 2px #A5F3FC}
.aiad div{min-width:0}.aiad small{font-size:11px;font-weight:800;color:#0E7490}
.aiad p{margin:4px 0 0;font-size:13.5px;line-height:1.65;font-weight:700;color:#083344}
.aiput{margin-top:8px;min-height:40px;padding:8px 14px;border:0;border-radius:99px;background:#0E7490;color:#fff;font:inherit;font-size:13px;font-weight:900;cursor:pointer;touch-action:manipulation}.aiput:disabled{opacity:.4;cursor:default}
.go2{display:block;width:100%;margin-top:14px;padding:14px;border:0;border-radius:16px;background:linear-gradient(90deg,#D97706,#F59E0B);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;touch-action:manipulation;box-shadow:0 8px 20px rgba(217,119,6,.28)}
.go2:disabled{background:#E2E8F0;color:#94A3B8;cursor:default;box-shadow:none}
/* 答え合わせ */
.res{margin-top:12px;border-radius:16px;padding:14px;font-size:13px;line-height:1.75;animation:pop .35s}
.res.right{background:#F0FDF4}.res.wrong{background:#FEF2F2}.res.half{background:#FFFBEB}
.res>b{display:block;font-size:16px;line-height:1.55}.res.right>b{color:#16A34A}.res.wrong>b{color:#DC2626}.res.half>b{color:#B45309}
.mob-cmp{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:10px 0 4px}.mob-cmp div{padding:7px 4px;border-radius:12px;background:#fff;border:1px solid #E2E8F0;text-align:center;min-width:0}
.mob-cmp small{display:block;font-size:10.5px;font-weight:800;color:var(--mut);line-height:1.4}.mob-cmp b{display:block;margin:2px 0 0;font-size:16px;font-weight:900;color:#0a0a0a;font-variant-numeric:tabular-nums;white-space:nowrap}
.mob-cmp em{display:block;font-style:normal;font-size:10px;font-weight:700;color:#64748B;line-height:1.45}
.mob-cmp .mob-cp{background:#E0F7FA;border-color:#67E8F9}.mob-cmp .mob-cp b{color:#0E7490}
.mob-ans{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:8px}
.mob-ans li{padding:9px 12px;border-radius:12px;background:#F8FAFC;border-left:4px solid #94A3B8}
.mob-ans li.mob-a-ok{border-left-color:#16A34A}.mob-ans li.mob-a-hi{border-left-color:#F97316}.mob-ans li.mob-a-ng{border-left-color:#DC2626}
.mob-ans li.mob-a-sum{border-left-color:#0E7490;background:#fff}.mob-ans li.mob-a-gd{border-left-color:#F59E0B;background:#fff}
.mob-ans li>b{display:block;font-size:13.5px;line-height:1.6;color:var(--ink)}.mob-ans b small{font-size:11.5px;color:#64748B;font-weight:800}
.mob-ans span{display:block;margin-top:2px;font-size:13px;line-height:1.75;color:var(--ink2)}
.mob-ans span.mob-why{margin-top:6px;padding-top:6px;border-top:1px dashed #E2E8F0}
.res .nx{display:block;width:100%;margin-top:12px;height:52px;border:0;border-radius:999px;background:var(--ink);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer}
.res,.nx{scroll-margin-bottom:110px}
.hint{margin:10px 0 0;text-align:center;font-size:11px;color:var(--mut);line-height:1.6}
.fx{position:absolute;left:50%;top:22%;transform:translateX(-50%);z-index:6;font-size:clamp(18px,6vw,26px);font-weight:900;white-space:nowrap;pointer-events:none;text-shadow:0 2px 0 #fff,0 4px 14px rgba(0,0,0,.15);animation:fx 1.3s var(--ease) forwards}
.fx.A{color:#16A34A}.fx.B{color:#0E7490}.fx.C{color:#DC2626}
@keyframes fx{0%{opacity:0;transform:translate(-50%,10px) scale(.7)}25%{opacity:1;transform:translate(-50%,0) scale(1.08)}75%{opacity:1}100%{opacity:0;transform:translate(-50%,-24px)}}
.end{margin-top:4px;animation:pop .4s var(--ease)}
/* 結果：つり合い度とタイプ */
.mob-ty{margin:14px 0 4px;padding:16px 14px;border-radius:20px;background:#083344;color:#CFFAFE;text-align:center}
.mob-tyl{margin:0;font-size:12px;font-weight:800;color:#67E8F9}.mob-tyl2{margin-top:12px;padding-top:12px;border-top:1px dashed rgba(207,250,254,.25)}
.mob-big{margin:2px 0 0;font-size:clamp(46px,15vw,64px);font-weight:900;line-height:1.1;color:#FCD34D;font-variant-numeric:tabular-nums}.mob-big small{font-size:.45em;margin-left:2px}
.mob-vs{margin:4px 0 0;font-size:12.5px;font-weight:800;color:#A5F3FC}.mob-vs b{color:#fff}
.mob-tyn{margin:4px 0 0;font-size:22px;font-weight:900;color:#fff;line-height:1.4}.mob-tyn span{margin-right:6px}
.mob-tyd{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.7}
/* ふりかえり */
.mob-rv{padding:14px 0;border-bottom:1px solid #F1F5F9}.mob-rv>b{display:block;font-size:14px;line-height:1.6}
.mob-pr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px}
.mob-mf{margin:0;min-width:0}
.mob-ms{border-radius:10px;overflow:hidden;background:linear-gradient(#F0FDFF,#E0F2FE)}
.mob-mf figcaption{margin-top:4px;font-size:11.5px;font-weight:800;color:#334155;text-align:center;line-height:1.4}.mob-mf figcaption b{display:block;font-size:14px;color:#0E7490;font-variant-numeric:tabular-nums}.mob-mf figcaption span{display:block;font-size:10.5px;color:#64748B}
.mob-df{margin:8px 0 0;padding:8px 10px;border-radius:10px;background:#F0FDFF;font-size:12.5px;font-weight:700;color:#164E63;line-height:1.7}
.mob-rv p.q{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.75;color:#083344}
.rvw{display:grid;grid-template-columns:28px 1fr;gap:4px 10px;padding:14px 0;border-bottom:1px solid #F1F5F9}.rvw:last-child{border-bottom:0}.rvw .mk{font-size:18px}.rvw b{font-size:13.5px;line-height:1.6}
.rvw p{grid-column:2;margin:0;font-size:12.5px;color:var(--ink2);line-height:1.75}.rvw p.q{font-size:13.5px;font-weight:700;color:#083344;margin:4px 0}
.tips{margin:0;padding-left:1.3em;color:#C9CCD6;font-size:14px;line-height:1.8}.tips li{margin:0 0 12px}.tips b{display:block;color:#fff}
.mt0{margin:0 0 10px;font-size:13px;color:var(--ink2);line-height:1.75}
.ctap{color:#C9CCD6;font-size:14px;margin:0 0 16px;line-height:1.75}.cta-c h3{color:var(--ac2)}
.mob .sbd-tl{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:360px){.game{padding:12px}.ghud{gap:4px;font-size:10.5px;letter-spacing:-.02em}.ghud b{font-size:14px}.mob-day p#motx{font-size:13px}.mob-bal{gap:2px 8px;font-size:11px}.mob-bal b{font-size:14px}.mob-wt{width:74px}.mob-cmp b{font-size:14px}.mob-to button{padding:6px 7px}.mob-to b{font-size:12px}.mob-caps span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.res,.end{animation:none}.mob-say,.mob-bdy{transition:none}}
