.brk{--ac:#7C2D12;--ac2:#FFEDD5;--acg:linear-gradient(90deg,#7C2D12,#C2410C 50%,#F59E0B)}
.brk [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(124,45,18,.16);overflow:hidden}
.gtop{margin-bottom:12px}
.ghud{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 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,#7C2D12,#C2410C);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(124,45,18,.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:#9A3412}
.aiad p{margin:4px 0 0;font-size:13px;line-height:1.65;font-weight:700;color:#1C0F0A}
.aiput{margin-top:8px;min-height:44px;padding:8px 14px;border:0;border-radius:99px;background:#7C2D12;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,#C2410C,#F59E0B);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;touch-action:manipulation;box-shadow:0 8px 20px rgba(194,65,12,.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:#C2410C}.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:#1C0F0A;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)}
/* はじめの説明 */
.brk-kd{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}
.brk-kd p{margin:0;padding:8px 10px;border-radius:12px;background:#F8FAFC;border:1px solid #E2E8F0;font-size:11.5px;font-weight:700;line-height:1.5;color:#334155}
.brk-kd span{display:block;font-size:18px;line-height:1.2}.brk-kd b{display:block;font-size:12.5px;font-weight:900;color:#1C0F0A}
.brk-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}
/* その日 */
.brk-dh{padding:12px 14px;border-radius:18px;background:#1C0F0A;color:#FED7AA}.brk-dh>b{display:block;font-size:16px;font-weight:900;color:#fff;line-height:1.5}
.brk-dh p{margin:6px 0 0;font-size:13px;line-height:1.75;font-weight:700}.brk-dh p b{color:#FDE047;font-weight:900}
/* 予定表 */
.brk-ttw{margin-top:10px;padding:8px 8px 6px;border-radius:16px;background:#F8FAFC;border:1px solid #E2E8F0}
.brk-tth{margin:0 0 4px;font-size:11.5px;font-weight:900;color:#7C2D12;line-height:1.5}
.brk-tt{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px;font-variant-numeric:tabular-nums}
.brk-tt th,.brk-tt td{padding:3px 0;text-align:center;border-bottom:1px solid #E2E8F0;line-height:1.3}
.brk-tt caption{caption-side:top;padding:0 0 4px;font-size:10.5px;font-weight:800;color:#57534E;text-align:left;line-height:1.5}
.brk-tt tbody th{width:30px;text-align:center;font-size:12px;font-weight:800;color:#334155}
.brk-tt caption span{display:inline-block;margin-right:8px;white-space:nowrap}
.brk-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.brk-tt thead th{font-size:10.5px;font-weight:900;color:#64748B}.brk-tt thead th:first-child{width:30px}
.brk-tt td{font-weight:900;color:#C2410C}
.brk-tt .brk-now{background:#FFEDD5;color:#7C2D12}.brk-tt thead .brk-now{border-radius:6px 6px 0 0;color:#7C2D12}
.brk-tt .brk-past{opacity:.45}
.brk-tt tr.brk-rr td,.brk-tt tr.brk-rr th{border-bottom:0}.brk-tt tr.brk-rr td.brk-past{opacity:1;font-size:11px}
/* 時計とメーター */
.brk-clk{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin:10px 0 8px;padding:8px 14px;border-radius:14px;background:#FFF7ED;border:1px solid #FED7AA}
.brk-clk small{display:block;font-size:11px;font-weight:800;color:#9A3412;line-height:1.3}
.brk-clk b{display:block;font-size:20px;font-weight:900;color:#1C0F0A;font-variant-numeric:tabular-nums;line-height:1.2;white-space:nowrap}
.brk-clk>div:first-child b{white-space:normal}
.brk-mtr{text-align:right}.brk-mtr b{font-size:22px;color:#C2410C}
.brk-mtr em{display:block;font-style:normal;font-size:10.5px;font-weight:800;color:#64748B;white-space:nowrap}
/* 見取り図 */
.brk-mw{position:relative;border-radius:18px;overflow:hidden;background:#E7E5E4;box-shadow:inset 0 0 0 2px rgba(124,45,18,.15)}
.brk-mw svg.brk-map{display:block;width:100%!important;height:auto!important;stroke:none!important;fill:none!important;user-select:none;-webkit-user-select:none}
.brk-map text{stroke:none}
.brk-map .brk-pp,.brk-map .brk-ic,.brk-map .brk-wx,.brk-map .brk-mk{fill:#1C1917}
.brk-rf{transition:fill .3s}
.brk-lit .brk-rf{fill:#FEF9C3;stroke:#E7C46A!important;stroke-width:1.2}
.brk-drk .brk-rf{fill:#292524;stroke:#44403C!important;stroke-width:1.2}
.brk-srv .brk-rf{fill:#E0F2FE;stroke:#93C5FD!important;stroke-width:1.2}
.brk-rl{font-size:10px;font-weight:900;fill:#57534E}.brk-drk .brk-rl{fill:#A8A29E}
.brk-sky .brk-skr{fill:#BAE6FD;stroke:#7DD3FC!important;stroke-width:1.2;transition:fill .4s}.brk-sky.brk-nt .brk-skr{fill:#1E293B;stroke:#334155!important}.brk-sky.brk-nt .brk-rl{fill:#94A3B8}
.brk-wx{font-size:24px;text-anchor:middle}
.brk-dk{fill:#D6D3D1}
.brk-pp{font-size:12px;text-anchor:middle}
.brk-pc{font-size:10.5px;font-weight:900;fill:#7C2D12}
.brk-ic{font-size:10px;text-anchor:middle}
.brk-ac rect{fill:#E7E5E4;stroke:#A8A29E!important;stroke-width:1}
.brk-wind{stroke:transparent!important;stroke-width:1.6;stroke-linecap:round;fill:none}
.brk-ac.brk-acon rect{fill:#E0F2FE;stroke:#38BDF8!important}.brk-ac.brk-acon .brk-wind{stroke:#38BDF8!important;stroke-dasharray:3 3;animation:brkwind .8s linear infinite}
@keyframes brkwind{to{stroke-dashoffset:-12}}
.brk-dv rect{fill:#D6D3D1;stroke:#78716C!important;stroke-width:1}
.brk-dv.brk-dvon rect{fill:#DCFCE7;stroke:#16A34A!important}
.brk-tb{fill:#D6D3D1}
.brk-mon{fill:#1C1917;stroke:#57534E!important;stroke-width:1;transition:fill .3s}.brk-mon.brk-monon{fill:#60A5FA;stroke:#2563EB!important}
.brk-rk{fill:#334155}
.brk-led{transition:fill .3s}.brk-ledon{fill:#4ADE80;animation:brkled 1.2s steps(2) infinite}.brk-ledoff{fill:#EF4444}
@keyframes brkled{50%{fill:#166534}}
.brk-sh{stroke:#A8A29E!important;stroke-width:2;fill:none}
.brk-mk{font-size:12px;text-anchor:middle}.brk-mkb{animation:brkblink 1s ease-in-out infinite}
@keyframes brkblink{50%{opacity:.35}}
.brk-mw.brk-ff::after{content:"⏩";position:absolute;right:10px;top:8px;padding:4px 10px;border-radius:99px;background:rgba(28,15,10,.82);color:#fff;font-size:14px;font-weight:900;animation:brkblink .5s infinite}
.brk-mw.brk-ff svg{filter:saturate(1.15)}
.brk-sum{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 12px;margin-top:8px;font-size:12px;font-weight:800;color:#334155;text-align:center;line-height:1.5}
.brk-sum b{font-size:15px;color:#C2410C;font-variant-numeric:tabular-nums}.brk-sum .brk-bad,.brk-sum .brk-bad b{color:#DC2626}
/* 分電盤 */
.brk-pnl{margin-top:10px;padding:10px;border-radius:18px;background:linear-gradient(180deg,#57534E,#44403C);box-shadow:inset 0 2px 0 rgba(255,255,255,.12),0 6px 16px rgba(28,25,23,.25)}
.brk-pnh{margin:0 0 8px;font-size:12px;font-weight:900;color:#FED7AA;text-align:center}
.brk-sws{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.brk-sw{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto auto auto;gap:2px 6px;align-items:center;min-width:0;min-height:96px;padding:7px 6px 7px 7px;border:0;border-radius:12px;background:#F5F5F4;color:#1C1917;font:inherit;text-align:left;cursor:pointer;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;box-shadow:inset 0 -3px 0 rgba(0,0,0,.12)}
.brk-sw:focus-visible{outline:3px solid #FDBA74;outline-offset:2px}
.brk-sw:disabled{cursor:default;opacity:.75}
.brk-lv{grid-column:1;grid-row:2/4;position:relative;width:30px;height:58px;border-radius:9px;background:#292524;box-shadow:inset 0 2px 4px rgba(0,0,0,.5);touch-action:none}
.brk-lv i{position:absolute;left:4px;right:4px;top:30px;height:24px;border-radius:6px;background:linear-gradient(180deg,#A8A29E,#78716C);box-shadow:0 2px 0 rgba(0,0,0,.35);transition:top .14s cubic-bezier(.3,1.6,.5,1),background .14s}
.brk-up .brk-lv i{top:4px;background:linear-gradient(180deg,#FCD34D,#F59E0B)}
.brk-nm{grid-column:1/3;min-width:0;font-size:11.5px;font-weight:900;line-height:1.25;overflow-wrap:anywhere}.brk-nm em{font-style:normal;margin-right:2px}
.brk-sw small{grid-column:2;grid-row:2;align-self:end;min-width:0;font-size:9.5px;font-weight:700;color:#78716C;line-height:1.3}
.brk-st{grid-column:2;grid-row:3;align-self:start;justify-self:start;padding:1px 7px;border-radius:99px;background:#44403C;color:#E7E5E4;font-size:10.5px;font-weight:900;letter-spacing:.04em}
.brk-up .brk-st{background:#F59E0B;color:#1C0F0A}
.brk-sw.brk-up{background:#FFFBEB}
.brk-sv{background:#FEE2E2;box-shadow:inset 0 0 0 2px #EF4444,inset 0 -3px 0 rgba(0,0,0,.12)}.brk-sv.brk-up{background:#FEF2F2}.brk-sv small{color:#DC2626;font-weight:900}
.brk-snap .brk-lv{animation:brksnap .22s ease-out}
.brk-snap::after{content:"";position:absolute;left:4px;top:62%;width:36px;height:36px;margin-top:-18px;border-radius:50%;background:radial-gradient(circle,rgba(253,224,71,.9),rgba(253,224,71,0) 70%);pointer-events:none;animation:brkflash .3s ease-out forwards}
@keyframes brksnap{0%{transform:scale(1)}40%{transform:scale(.9) translateY(1px)}100%{transform:scale(1)}}
@keyframes brkflash{0%{opacity:1;transform:scale(.4)}100%{opacity:0;transform:scale(1.4)}}
/* 1つの時間の結果 */
.brk-log{margin-top:10px;padding:10px 12px;border-radius:16px;background:#F8FAFC;border:1px solid #E2E8F0;animation:pop .3s}
.brk-lh{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 8px;margin:0 0 6px;font-size:12.5px;font-weight:900;color:#1C0F0A}.brk-lh span{color:#C2410C;font-variant-numeric:tabular-nums}
.brk-log ul{margin:0;padding:0;list-style:none;display:grid;gap:4px}
.brk-log li{display:grid;grid-template-columns:22px 1fr auto;gap:0 6px;align-items:baseline;padding:5px 8px;border-radius:10px;background:#fff;border-left:4px solid #94A3B8;font-size:12px;line-height:1.5}
.brk-log li b{grid-column:2;font-size:12px}.brk-log li em{grid-column:2;font-style:normal;color:var(--ink2);font-weight:700}.brk-log li i{grid-column:3;grid-row:1/3;font-style:normal;font-weight:900;color:#B91C1C;white-space:nowrap}
.brk-log li span{grid-row:1/3;font-size:15px}
.brk-log li.brk-lb{border-left-color:#DC2626;background:#FEF2F2}.brk-log li.brk-lw{border-left-color:#D97706;background:#FFFBEB}.brk-log li.brk-lo{border-left-color:#16A34A}
.brk-log li.brk-lp,.brk-log li.brk-lx{grid-template-columns:1fr;border-left-color:#E2E8F0}.brk-log li.brk-lp em,.brk-log li.brk-lx em{grid-column:1;font-size:11.5px;color:#64748B}
.brk-dy{margin:6px 0 0;font-size:12.5px;font-weight:700;color:#334155;line-height:1.6}.brk-dy b{color:#C2410C;font-variant-numeric:tabular-nums}.brk-dy small{font-size:11.5px;color:#64748B}
.brk-ch{margin:8px 0 0;padding:8px;border-radius:12px;background:#fff;border:1px solid #E2E8F0}
.brk-ch figcaption,.brk-bx figcaption{font-size:11px;font-weight:800;color:#64748B;margin-bottom:4px}
.brk-ch svg,.brk-bx svg{display:block;width:100%!important;height:auto!important;stroke:none!important;fill:none!important}
.brk-cb{fill:#FB923C}.brk-cbb{fill:#EF4444}
.brk-cl{fill:none;stroke:#78716C!important;stroke-width:1.2;stroke-dasharray:3 2}
.brk-ct{font-size:8.5px;font-weight:800;fill:#64748B;text-anchor:middle}.brk-cd{text-anchor:start;font-size:10px;fill:#334155}
/* 結果：タイプと大きな数字 */
.brk-ty{margin:14px 0 4px;padding:16px 14px;border-radius:20px;background:#1C0F0A;color:#FED7AA;text-align:center}
.brk-tyl{margin:0;font-size:12px;font-weight:800;color:#FDBA74}
.brk-tyn{margin:4px 0 0;font-size:22px;font-weight:900;color:#fff;line-height:1.4}.brk-tyn span{margin-right:6px}
.brk-tyd{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.7}
.brk-kp{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed rgba(254,215,170,.25)}
.brk-kp>div{min-width:0;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.07)}
.brk-kp small{display:block;font-size:11.5px;font-weight:800;line-height:1.45;color:#FDBA74}
.brk-kp b{display:block;margin-top:4px;font-size:clamp(26px,8.6vw,42px);font-weight:900;line-height:1.1;color:#FDE047;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.brk-kp div+div b{color:#FDBA74;font-size:clamp(34px,11vw,48px)}
.brk-kp b i{margin-left:2px;font-style:normal;font-size:.42em}
.brk-kp em{display:block;margin-top:4px;font-style:normal;font-size:11px;font-weight:700;color:#FED7AA;line-height:1.5}
.brk-ai{margin:10px 0 0;font-size:12px;font-weight:700;line-height:1.6;color:#FDBA74}.brk-ai b{color:#fff}
/* ふりかえり */
.brk-bdw{display:grid;gap:12px}
.brk-bx{margin:0;padding:10px;border-radius:14px;background:#F8FAFC;border:1px solid #E2E8F0}
.brk-bx figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;font-size:13px;font-weight:900;color:#1C0F0A}.brk-bx figcaption b{font-size:16px;color:#C2410C}.brk-bx figcaption span{font-size:11px;color:#64748B;font-weight:800}
.brk-tbw{margin-top:12px;overflow-x:auto}
.brk-tbl{width:100%;border-collapse:collapse;font-size:12.5px}
.brk-tbl th,.brk-tbl td{padding:7px 5px;border-bottom:1px solid #E2E8F0;text-align:left;vertical-align:top;line-height:1.45}
.brk-tbl thead th{font-size:11.5px;color:#64748B}
.brk-tbl tbody th{font-weight:900;color:#1C0F0A}.brk-tbl small{display:block;font-size:10.5px;color:#64748B;font-weight:700}
.brk-tbl td b{font-size:14px;color:#C2410C;white-space:nowrap}
.brk-gw2{margin-top:12px;padding:10px;border-radius:14px;background:#FFF7ED}
.brk-gh{margin:0;font-size:13px;font-weight:900;color:#7C2D12}.brk-gl,.brk-gt{margin:2px 0 6px;font-size:10.5px;font-weight:700;color:#64748B}.brk-gt{margin:4px 0 0;text-align:right}
.brk-gg{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;max-width:420px}.brk-gg p{margin:0 0 2px;font-size:11.5px;font-weight:900;color:#1C0F0A}
.brk-gd{width:100%;border-collapse:collapse;table-layout:fixed;font-size:10px}
.brk-gd th{width:42%;text-align:left;font-size:10.5px;font-weight:800;color:#334155;padding:1px 0;line-height:1.3}.brk-gd th span{margin-left:2px}
.brk-gd td{text-align:center;padding:1px 0;line-height:1.3}.brk-gd td.brk-g1{color:#C2410C}.brk-gd td.brk-g0{color:#A8A29E}
.brk-gd td.brk-gb{background:#FECACA;color:#B91C1C}.brk-gd td.brk-gw{background:#FEF08A}
.brk .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}.brk-clk{padding:8px 10px}.brk-clk b{font-size:17px}.brk-mtr b{font-size:19px}.brk-pnl{padding:8px}.brk-sws{gap:5px}.brk-sw{grid-template-columns:26px minmax(0,1fr);gap:2px 5px;padding:6px 5px}.brk-lv{width:26px}.brk-nm{font-size:10.5px}.brk-sw small{font-size:9px}.brk-kp b{font-size:26px}}
@media(prefers-reduced-motion:reduce){.res,.end,.brk-log{animation:none}.brk-lv i,.brk-rf,.brk-mon,.brk-led{transition:none}.brk-ledon,.brk-mkb,.brk-ac.brk-acon .brk-wind,.brk-snap .brk-lv,.brk-snap::after,.brk-mw.brk-ff::after{animation:none}}
