.sbc{--ac:#9C6B12;--ac2:#FEF3C7;--acg:linear-gradient(90deg,#9C6B12,#CA8A04 50%,#EA580C)}
.sbc [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(161,98,7,.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:#713F12;line-height:1.7}
.doc{margin-top:10px;padding:12px 14px;border-radius:16px;border:2px solid #E2E8F0;background:#fff}
.doc.wk{border-color:#FFFBEB;background:#FFFBEB}
.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%,#FDE68A 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,#9C6B12,#CA8A04);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(161,98,7,.3)}
.aiad{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:10px 12px;border-radius:18px;background:#FFFBEB;border:1px solid #FDE68A}
.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 #FDE68A}
.aiad div{min-width:0}.aiad small{font-size:11px;font-weight:800;color:#9C6B12}
.aiad p{margin:4px 0 0;font-size:13.5px;line-height:1.65;font-weight:700;color:#1C1306}
.aiput{margin-top:8px;padding:8px 14px;border:0;border-radius:99px;background:#9C6B12;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,#78350F,#9C6B12);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;touch-action:manipulation;box-shadow:0 8px 20px rgba(120,53,15,.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:#9C6B12}.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:#1C1306;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)}
/* はじめの説明（そろばんの読み方・判断のきまり） */
.sbc-kd{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}
.sbc-kd p{margin:0;padding:8px 10px;border-radius:12px;background:#FFFBEB;border:1px solid #FDE68A;font-size:12px;font-weight:700;line-height:1.5;color:#44403C}
.sbc-kd b{display:block;font-size:12.5px;font-weight:900;color:#1C1306}
.sbc-kb{display:block;width:34px;height:16px;margin:2px 0 4px;background:linear-gradient(180deg,#F59E0B,#B45309);clip-path:polygon(0 50%,24% 0,76% 0,100% 50%,76% 100%,24% 100%)}
.sbc-kb.sbc-k5{background:linear-gradient(180deg,#FCD34D,#D97706)}
.sbc-kn{display:block;margin-bottom:2px;font-size:15px;font-weight:900;color:#9C6B12;letter-spacing:.06em;line-height:1.3}
.sbc-kr{margin-top:10px;padding:10px 12px;border-radius:12px;background:#1C1306;color:#FEF3C7}
.sbc-kr>b{display:block;font-size:13px;font-weight:900;color:#FCD34D}.sbc-kr p{margin:4px 0 0;font-size:12.5px;font-weight:700;line-height:1.7}.sbc-kr p b{color:#fff}
.sbc-tip{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:#FFF7ED;font-size:12.5px;font-weight:700;line-height:1.7;color:#7C2D12}
/* その日の会議 */
.sbc-day{padding:12px 14px;border-radius:18px;background:#1C1306;color:#FEF3C7}.sbc-day>b{display:block;font-size:16px;font-weight:900;color:#fff;line-height:1.5}
.sbc-day p{margin:6px 0 0;font-size:13.5px;line-height:1.75;font-weight:700}
.sbc-card{margin-top:10px;padding:12px;border-radius:18px;background:#fff;border:2px solid #FDE68A;box-shadow:0 6px 18px rgba(161,98,7,.08)}
.sbc-mt{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:8px;align-items:center;padding-bottom:10px;border-bottom:1px dashed #FDE68A}
.sbc-mic{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:24px;background:#FEF3C7}
.sbc-mn{min-width:0}.sbc-mn b{display:block;font-size:14.5px;font-weight:900;color:#1C1306;line-height:1.35}.sbc-mn small{display:inline-block;margin-top:2px;padding:1px 8px;border-radius:99px;background:#FEF3C7;font-size:11px;font-weight:900;color:#854D0E}
.sbc-vl{text-align:right;line-height:1.25}.sbc-vl small{display:block;font-size:10px;font-weight:800;color:#78716C;max-width:7.5em;margin-left:auto}.sbc-vl b{display:block;margin-top:2px;font-size:16px;font-weight:900;color:#15803D;font-variant-numeric:tabular-nums;white-space:nowrap}
.sbc-it{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:6px}
.sbc-it li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px;align-items:start;padding:7px 8px;border-radius:12px;background:#FAFAF9}
.sbc-ki{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-size:17px;background:#fff;box-shadow:0 0 0 1px #E7E5E4}
.sbc-it li>div{min-width:0}.sbc-it b{display:block;font-size:12.5px;font-weight:900;color:#1C1917;line-height:1.45}
.sbc-fc{display:block;font-size:14px;line-height:1.3;letter-spacing:-.08em;word-break:break-all}
.sbc-it em{display:block;font-style:normal;font-size:13px;font-weight:800;color:#9C6B12;font-variant-numeric:tabular-nums;line-height:1.5}
.sbc-it li.sbc-k-join{background:#FFFBEB}
.sbc-vs{margin:6px 0 0;font-size:10.5px;font-weight:700;color:#78716C;text-align:right}
/* そろばん */
.sbc-ab{margin-top:12px;padding:10px;border-radius:20px;background:#FEF3C7}
.sbc-vw{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:2px 6px 8px}
.sbc-vw small{font-size:11.5px;font-weight:900;color:#854D0E}
.sbc-vw p{margin:0;font-weight:900;color:#1C1306;line-height:1.1}.sbc-vw b{font-size:30px;font-variant-numeric:tabular-nums;letter-spacing:.01em}.sbc-vw span{margin:0 2px;font-size:15px}
.sbc-fr{padding:8px 8px 4px;border-radius:16px;background:#FFFBEB;border:6px solid #78350F;box-shadow:inset 0 2px 6px rgba(120,53,15,.18);transition:opacity .2s}
.sbc-fr.sbc-lock{opacity:.72}
.sbc-rods{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}
.sbc-rods::after{content:'';position:absolute;left:-8px;right:-8px;top:64px;height:8px;background:#78350F;border-radius:2px;z-index:1;pointer-events:none}
.sbc-rod{position:relative;height:282px;min-width:0}
.sbc-ax{position:absolute;left:50%;top:0;width:4px;height:236px;margin-left:-2px;border-radius:2px;background:#9C6B12}
.sbc-bd{position:absolute;top:0;left:0;right:0;z-index:2;width:min(52px,calc(100% - 4px));height:32px;margin:0 auto;padding:0;border:0;background:none;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;transition:transform .14s var(--ease)}
.sbc-bd::before{content:'';position:absolute;left:0;right:0;top:2px;height:28px;background:linear-gradient(180deg,#D97706,#92400E);clip-path:polygon(0 50%,22% 0,78% 0,100% 50%,78% 100%,22% 100%);transition:background .15s}
.sbc-bd.sbc-on::before{background:linear-gradient(180deg,#FCD34D,#D97706)}
.sbc-bd:focus-visible{outline:3px solid #2563EB;outline-offset:-2px;border-radius:8px}
.sbc-fr.sbc-ans .sbc-bd.sbc-on::before{background:linear-gradient(180deg,#86EFAC,#15803D)}
.sbc-bd:disabled{cursor:default}
.sbc-dg{position:absolute;left:0;right:0;top:240px;text-align:center;line-height:1.15}
.sbc-dg b{display:block;font-size:18px;font-weight:900;color:#1C1306;font-variant-numeric:tabular-nums}
.sbc-dg small{display:block;font-size:11px;font-weight:900;color:#9C6B12;white-space:nowrap}
.sbc-rod.sbc-tk .sbc-dg b{animation:sbcpop .3s var(--ease)}
@keyframes sbcpop{0%{transform:scale(1)}40%{transform:scale(1.35);color:#D97706}100%{transform:scale(1)}}
.sbc-al{margin:8px 0 0;padding:6px 10px;border-radius:10px;background:#DCFCE7;color:#166534;font-size:12px;font-weight:900;text-align:center}
.sbc-lg{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
.sbc-lg span{font-size:11.5px;font-weight:800;color:#78350F;line-height:1.5}
.sbc-clr{flex:none;min-height:40px;padding:0 12px;border:2px solid #D6D3D1;border-radius:12px;background:#fff;color:#44403C;font:inherit;font-size:12px;font-weight:900;cursor:pointer;touch-action:manipulation}.sbc-clr:disabled{opacity:.45;cursor:default}
/* 判断 */
.sbc-dec{margin-top:12px;padding:12px;border-radius:18px;background:#fff;border:2px solid #9C6B12;animation:pop .3s}
.sbc-dq{margin:0;font-size:15px;font-weight:900;color:#1C1306}
.sbc-dv{margin:4px 0 0;font-size:13px;font-weight:800;color:#44403C}.sbc-dv b{color:#9C6B12;font-size:15px;white-space:nowrap}
.sbc-dr{margin:6px 0 0;padding:8px 10px;border-radius:10px;background:#FFFBEB;font-size:12px;font-weight:700;line-height:1.65;color:#57534E}.sbc-dr b{color:#1C1306}
.sbc-db{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}
.sbc-db button{min-height:76px;padding:6px 2px;border:2px solid #FDE68A;border-radius:14px;background:#FFFBEB;color:#1C1306;font:inherit;font-size:20px;line-height:1.2;cursor:pointer;touch-action:manipulation}
.sbc-db button b{display:block;margin-top:3px;font-size:13px;font-weight:900}.sbc-db button small{display:block;font-size:10.5px;font-weight:800;color:#78716C}
.sbc-db button:disabled{opacity:.45;cursor:default}.sbc-db button.sbc-pk{opacity:1;background:#9C6B12;border-color:#9C6B12;color:#fff}.sbc-db button.sbc-pk small{color:#FEF3C7}
/* 1日の結果 */
.sbc-rv{margin:6px 0 0;font-size:13px;font-weight:800;color:#292524}.sbc-rv b{font-size:15px}.sbc-rv span{display:block;font-size:12px;color:#78716C}
.sbc-bk{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:6px}
.sbc-bk li{padding:7px 10px;border-radius:12px;background:#fff;border-left:4px solid #9C6B12}
.sbc-bk li.sbc-out{border-left-color:#DC2626}
.sbc-bl{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.sbc-bl b{min-width:0;font-size:12.5px;line-height:1.45}.sbc-bl em{flex:none;font-style:normal;font-size:13.5px;font-weight:900;font-variant-numeric:tabular-nums}
.sbc-br{display:block;height:6px;margin-top:4px;border-radius:99px;background:#F5F5F4;overflow:hidden}.sbc-br i{display:block;height:100%;border-radius:99px;background:#9C6B12}
.sbc-bk li.sbc-out .sbc-br i{background:#F87171}
.sbc-bk small{display:block;margin-top:2px;font-size:11px;font-weight:900;color:#9C6B12}.sbc-bk li.sbc-out small{color:#DC2626}
.sbc-hd{margin:8px 0 0;font-size:13px;font-weight:800;color:#991B1B}
.sbc-dc{margin:8px 0 0;font-size:13.5px;font-weight:900;color:#1C1306}
.sbc-wy{margin:2px 0 0;font-size:12.5px;color:var(--ink2)}
.sbc-pt{margin:6px 0 0;font-size:12.5px;font-weight:800;color:#57534E}
/* 1週間の記録 */
.sbc-hs{margin-top:12px;padding:10px 10px 8px;border-radius:16px;background:#FAFAF9;border:1px solid #E7E5E4}
.sbc-hst{margin:0 0 6px;font-size:12px;font-weight:900;color:#713F12}
.sbc-hl{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.sbc-hl li{min-width:0;padding:5px 2px;border-radius:9px;background:#fff;border:1px solid #E7E5E4;text-align:center;line-height:1.3}
.sbc-hl small{display:block;font-size:10.5px;font-weight:800;color:#78716C}.sbc-hl b{display:block;font-size:12px;font-weight:900;color:#1C1306}
.sbc-hl em{display:block;font-style:normal;font-size:10.5px;font-weight:800;color:#57534E;font-variant-numeric:tabular-nums}
.sbc-hl li.sbc-hg{background:#F0FDF4;border-color:#86EFAC}.sbc-hl li.sbc-hm{background:#FFFBEB;border-color:#FCD34D}.sbc-hl li.sbc-hb{background:#FEF2F2;border-color:#FCA5A5}
.sbc-hl li.sbc-hnow{border:2px solid #9C6B12}
/* 結果：タイプと大きな数字 */
.sbc-ty{margin:14px 0 4px;padding:16px 14px;border-radius:20px;background:#1C1306;color:#FEF3C7;text-align:center}
.sbc-tyl{margin:0;font-size:12px;font-weight:800;color:#FCD34D}
.sbc-tyn{margin:4px 0 0;font-size:22px;font-weight:900;color:#fff;line-height:1.4}.sbc-tyn span{margin-right:6px}
.sbc-tyd{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.7}
.sbc-kp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed rgba(254,243,199,.25)}
.sbc-kp>div{min-width:0;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.07)}
.sbc-kp small{display:block;font-size:11.5px;font-weight:800;line-height:1.45;color:#FDE68A}
.sbc-kp b{display:block;margin-top:4px;font-size:clamp(32px,11vw,46px);font-weight:900;line-height:1.05;color:#FCD34D;font-variant-numeric:tabular-nums;white-space:nowrap}.sbc-kp div+div b{color:#FDBA74}
.sbc-kp b i{margin-left:2px;font-style:normal;font-size:.4em}
.sbc-kp em{display:block;margin-top:4px;font-style:normal;font-size:11px;font-weight:700;color:#FEF3C7;line-height:1.5}
.sbc-ai{margin:10px 0 0;font-size:12px;font-weight:700;line-height:1.6;color:#FDE68A}.sbc-ai b{color:#fff}
/* ふりかえり */
.sbc-tbw{overflow-x:auto}
.sbc-tb{width:100%;border-collapse:collapse;font-size:12.5px}
.sbc-tb th,.sbc-tb td{padding:7px 4px;border-bottom:1px solid #E7E5E4;text-align:left;vertical-align:top;line-height:1.45}
.sbc-tb thead th{font-size:11.5px;color:#78716C}
.sbc-tb tbody th{font-weight:900;color:#1C1306}.sbc-tb small{display:block;font-size:10.5px;color:#78716C;font-weight:700}
.sbc-tb td b{font-size:13px;color:#1C1306;white-space:nowrap;font-variant-numeric:tabular-nums}.sbc-tb td b.sbc-ok{color:#15803D}.sbc-tb td b.sbc-ng{color:#DC2626}
.sbc-st{margin-top:12px;padding:10px 12px;border-radius:14px;background:#FFFBEB;display:grid;gap:6px}
.sbc-stl{display:flex;flex-wrap:wrap;gap:4px 12px;margin:0;font-size:11.5px;font-weight:800;color:#57534E}.sbc-stl span{display:inline-flex;align-items:center;gap:4px}.sbc-stl i{display:inline-block;width:14px;height:10px;border-radius:3px}
.sbc-stl .sbc-in i,.sbc-sr i.sbc-in{background:#9C6B12}.sbc-stl .sbc-out i,.sbc-sr i.sbc-out{background:#FCA5A5}
.sbc-sr{display:grid;grid-template-columns:3em minmax(0,1fr);gap:6px;align-items:center}.sbc-sr small{font-size:11px;font-weight:900;color:#57534E}
.sbc-sr>span{display:flex;height:14px;border-radius:4px;overflow:hidden}.sbc-sr i.sbc-out{flex:1}
@media(max-width:360px){.game{padding:12px}.ghud{gap:4px;font-size:10.5px;letter-spacing:-.02em}.ghud b{font-size:14px}.sbc-vw b{font-size:26px}.sbc-ab{padding:8px}.sbc-fr{padding:6px 4px 2px;border-width:5px}.sbc-mt{grid-template-columns:34px minmax(0,1fr) auto}.sbc-mic{width:34px;height:34px;font-size:20px}.sbc-db button b{font-size:12px}.sbc-kp b{font-size:30px}.sbc-lg span{font-size:10.5px}}
@media(prefers-reduced-motion:reduce){.res,.end,.sbc-dec{animation:none}.sbc-bd,.sbc-bd::before,.sbc-fr{transition:none}.sbc-rod.sbc-tk .sbc-dg b{animation:none}}
