.tgl{--ac:#C2410D;--ac2:#FFEDD5;--acg:linear-gradient(90deg,#C2410D,#EA580C 50%,#0D9488)}
.tgl [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(194,65,13,.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:#7C2D12;line-height:1.7}
.doc{margin-top:10px;padding:12px 14px;border-radius:16px;border:2px solid #E2E8F0;background:#fff}
.doc.wk{border-color:#FFF7ED;background:#FFF7ED}
.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%,#FED7AA 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,#C2410D,#EA580C);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(194,65,13,.3)}
.aiad{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:10px 12px;border-radius:18px;background:#FFF7ED;border:1px solid #FED7AA}
.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 #FED7AA}
.aiad div{min-width:0}.aiad small{font-size:11px;font-weight:800;color:#C2410D}
.aiad p{margin:4px 0 0;font-size:13.5px;line-height:1.65;font-weight:700;color:#2A1408}
.aiput{margin-top:8px;padding:8px 14px;border:0;border-radius:99px;background:#C2410D;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,#0F766E,#0D9488);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;touch-action:manipulation;box-shadow:0 8px 20px rgba(13,148,136,.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}
.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:#C2410D}.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)}
.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:#2A1408;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)}
/* はじめの説明 */
.tgl-tip{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:#FFFBEB;font-size:12.5px;font-weight:700;line-height:1.7;color:#78350F}
/* 場面の説明 */
.tgl-sc{padding:12px 14px;border-radius:18px;background:#2A1408;color:#FFEDD5}.tgl-sc>b{display:block;font-size:16px;font-weight:900;color:#fff;line-height:1.5}
.tgl-sc p{margin:6px 0 0;font-size:13.5px;line-height:1.75;font-weight:700}.tgl-sc p b{color:#FDBA74;font-weight:900}
/* 誤解の数と時計 */
.tgl-bar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 10px;margin:10px 0 8px}
.tgl-mis{margin:0;display:flex;flex-wrap:wrap;gap:2px 10px;font-size:13px;font-weight:900;line-height:1.5;color:#334155}
.tgl-mis b{font-size:17px;font-variant-numeric:tabular-nums}.tgl-mis .tgl-bad{color:#DC2626}.tgl-mis .tgl-ok{color:#0F766E}.tgl-mis .tgl-now{color:#64748B;font-size:12px}.tgl-now b{font-size:14px;color:#C2410D}
.tgl-tmr{margin:0;font-size:13px;font-weight:900;color:#334155;font-variant-numeric:tabular-nums;line-height:1.4}.tgl-tmr small{font-size:11px;color:#64748B}
.tgl-tmr em{display:block;font-style:normal;font-size:10.5px;color:#DC2626}.tgl-tmr.tgl-late{color:#DC2626}
/* 盤 */
.tgl-bw{position:relative;border-radius:20px;overflow:hidden;background:#FFF7ED;box-shadow:inset 0 0 0 2px rgba(194,65,13,.16)}
.tgl-bw svg.tgl-bd{display:block;width:100%!important;max-width:420px;height:auto!important;margin:0 auto;stroke:none!important;fill:none!important;touch-action:pan-y;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;outline:none}
.tgl-bg{fill:#FFF7ED}
.tgl-dot{fill:#FDBA74;opacity:.7}
.tgl-e{fill:none;stroke:#0D9488;stroke-width:1.15;stroke-linecap:round;transition:stroke .2s}
.tgl-e.tgl-u{stroke:#EA580C;stroke-width:2.6}
.tgl-e.tgl-bad{stroke:#F87171}.tgl-e.tgl-u.tgl-bad{stroke:#DC2626}
.tgl-et{stroke:#7C3AED!important;stroke-dasharray:2.4 1.8}
.tgl-tri{font-size:5.5px;text-anchor:middle;stroke:none}
.tgl-x{fill:rgba(239,68,68,.28);stroke:#EF4444!important;stroke-width:.9;transform-box:fill-box;transform-origin:center;animation:tglx 1.1s ease-in-out infinite}
.tgl-x.tgl-xu{fill:rgba(220,38,38,.42);stroke-width:1.3}
@keyframes tglx{0%,100%{transform:scale(.85);opacity:.75}50%{transform:scale(1.2);opacity:1}}
.tgl-pt{fill:#14B8A6;stroke:#fff!important;stroke-width:.5}
.tgl-bd.tgl-go .tgl-pt{fill:#F59E0B}
.tgl-n{cursor:grab;outline:none;touch-action:none}
.tgl-n.tgl-fx{cursor:not-allowed}
.tgl-hit{fill:transparent}
.tgl-nc{fill:#fff;stroke:#C2410D!important;stroke-width:1.1;transition:fill .2s}
.tgl-fx .tgl-nc{fill:#FEF3C7;stroke:#B45309!important;stroke-dasharray:1.6 1}
.tgl-hot .tgl-nc{fill:#FEE2E2;stroke:#DC2626!important;stroke-width:1.5}
.tgl-sel .tgl-nc{fill:#FFEDD5;stroke:#7C2D12!important;stroke-width:1.8}
.tgl-n:focus-visible .tgl-nc{stroke:#2563EB!important;stroke-width:1.8}
.tgl-ne{fill:#000;font-size:7.2px;text-anchor:middle;stroke:none;pointer-events:none}
.tgl-lk{fill:#000;font-size:4px;text-anchor:middle;stroke:none;pointer-events:none}
.tgl-nl{font-size:4.1px;font-weight:900;text-anchor:middle;fill:#2A1408;paint-order:stroke;stroke:#FFF7ED!important;stroke-width:1.4px;stroke-linejoin:round;pointer-events:none}
.tgl-drg .tgl-sel{cursor:grabbing}
.tgl-drg .tgl-sel .tgl-nc{fill:#FED7AA}
.tgl-lock .tgl-n{cursor:default}
.tgl-pop{font-size:4.6px;font-weight:900;text-anchor:middle;fill:#0F766E;paint-order:stroke;stroke:#fff!important;stroke-width:1.4px;animation:tglpop 1.1s ease-out forwards}
@keyframes tglpop{0%{opacity:0;transform:translateY(2px)}20%{opacity:1}100%{opacity:0;transform:translateY(-6px)}}
.tgl-dh{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);margin:0;padding:5px 12px;border-radius:99px;background:rgba(42,20,8,.85);color:#fff;font-size:12px;font-weight:800;white-space:nowrap;pointer-events:none;transition:opacity .3s}
.tgl-dh.tgl-hide{opacity:0}
/* 道具のボタン */
.tgl-tl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.tgl-bt{min-height:48px;padding:8px 10px;border:2px solid #FED7AA;border-radius:14px;background:#fff;color:#7C2D12;font:inherit;font-size:13px;font-weight:900;line-height:1.3;cursor:pointer;touch-action:manipulation}
.tgl-bt small{display:block;font-size:10.5px;font-weight:800;color:#9A3412}
.tgl-bt:disabled{opacity:.45;cursor:default}
.tgl-trb.tgl-tron{background:#7C3AED;border-color:#7C3AED;color:#fff}.tgl-trb.tgl-tron small{color:#EDE9FE}
.tgl-toast{position:absolute;left:12px;right:12px;top:34%;z-index:7;padding:10px 14px;border-radius:14px;background:rgba(42,20,8,.92);color:#fff;font-size:13px;font-weight:800;line-height:1.6;text-align:center;pointer-events:none;animation:pop .3s}
/* 1場面の結果 */
.tgl-bk{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:4px}
.tgl-bk li{display:flex;justify-content:space-between;gap:8px;padding:6px 10px;border-radius:10px;background:#fff;font-size:12.5px;font-weight:800;line-height:1.5;color:#334155}.tgl-bk b{color:#B91C1C;white-space:nowrap;font-variant-numeric:tabular-nums}
.tgl-rt{margin:8px 0 0;font-size:12px;font-weight:800;color:#475569}
.tgl-why{margin:6px 0 0;font-size:11.5px;color:#64748B}
/* 5場面の記録 */
.tgl-hs{margin-top:12px;padding:10px 10px 8px;border-radius:16px;background:#F8FAFC;border:1px solid #E2E8F0}
.tgl-hst{margin:0 0 6px;font-size:12px;font-weight:900;color:#7C2D12}
.tgl-hl{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.tgl-hl li{min-width:0;padding:4px 2px;border-radius:9px;background:#fff;border:1px solid #E2E8F0;text-align:center;line-height:1.3}
.tgl-hl span{display:block;font-size:15px}.tgl-hl b{display:block;font-size:11px;font-weight:900;color:#2A1408;white-space:nowrap}.tgl-hl em{display:block;min-height:13px;font-style:normal;font-size:10px;font-weight:800;color:#DC2626}
.tgl-hl li.tgl-hg{background:#F0FDFA;border-color:#5EEAD4}.tgl-hl li.tgl-hm{background:#FFFBEB;border-color:#FCD34D}.tgl-hl li.tgl-hb{background:#FEF2F2;border-color:#FCA5A5}
.tgl-hl li.tgl-hnow{border:2px solid #C2410D}
/* 結果：タイプと大きな数字 */
.tgl-ty{margin:14px 0 4px;padding:16px 14px;border-radius:20px;background:#2A1408;color:#FFEDD5;text-align:center}
.tgl-tyl{margin:0;font-size:12px;font-weight:800;color:#FDBA74}
.tgl-tyn{margin:4px 0 0;font-size:22px;font-weight:900;color:#fff;line-height:1.4}.tgl-tyn span{margin-right:6px}
.tgl-tyd{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.7}
.tgl-kp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed rgba(255,237,213,.25)}
.tgl-kp>div{min-width:0;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.07)}
.tgl-kp small{display:block;font-size:11.5px;font-weight:800;line-height:1.45;color:#FED7AA}
.tgl-kp b{display:block;margin-top:4px;font-size:clamp(36px,12vw,50px);font-weight:900;line-height:1.05;color:#FCA5A5;font-variant-numeric:tabular-nums}.tgl-kp div+div b{color:#5EEAD4}
.tgl-kp b i{margin-left:2px;font-style:normal;font-size:.42em}
.tgl-kp em{display:block;margin-top:4px;font-style:normal;font-size:11px;font-weight:700;color:#FFEDD5;line-height:1.5}
.tgl-ai{margin:10px 0 0;font-size:12px;font-weight:700;line-height:1.6;color:#FED7AA}.tgl-ai b{color:#fff}
/* ふりかえり */
.tgl-rvl{display:grid;gap:12px}
.tgl-rv{padding:10px;border-radius:14px;background:#F8FAFC;border:1px solid #E2E8F0}
.tgl-rv h4{margin:0 0 6px;font-size:13.5px;font-weight:900;color:#2A1408}
.tgl-rvp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.tgl-rvp figure{margin:0;min-width:0}
.tgl-rvp figcaption{font-size:12px;font-weight:900;color:#2A1408;line-height:1.4;margin-bottom:4px}.tgl-rvp figcaption span{display:block;font-size:10.5px;color:#64748B;font-weight:800}
.tgl-rvp svg.tgl-mini{display:block;width:100%!important;height:auto!important;border-radius:10px;background:#FFF7ED;stroke:none!important;fill:none!important}
.tgl-mini .tgl-x{animation:none}
.tgl .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}.tgl-bt{font-size:12px;padding:7px 6px}.tgl-mis{font-size:12px}.tgl-kp b{font-size:34px}.tgl-rvp{gap:6px}}
@media(prefers-reduced-motion:reduce){.res,.end{animation:none}.tgl-x,.tgl-pop{animation:none}.tgl-e,.tgl-nc{transition:none}}
