.umb{--ac:#15803E;--ac2:#DCFCE7;--acg:linear-gradient(90deg,#15803E,#22A35A 50%,#0284C7)}
.umb [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(21,128,62,.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:#15803E;line-height:1.7}
.doc{margin-top:10px;padding:12px 14px;border-radius:16px;border:2px solid #E2E8F0;background:#fff}
.doc.wk{border-color:#F0FDF4;background:#F0FDF4}
.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%,#BBF7D0 55%);color:inherit;font-weight:800}
.umb-kd{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}
.umb-kd p{display:grid;grid-template-columns:22px 1fr;gap:0 6px;align-items:center;margin:0;padding:7px 9px;border-radius:12px;background:#F8FAFC;border:1px solid #E2E8F0;font-size:12px;font-weight:800;line-height:1.4;color:#334155}
.umb-kd p>span{grid-row:1/4;display:block;width:16px;height:20px;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;justify-self:center}
.umb-kd .umb-d0{background:#2563EB}.umb-kd .umb-d1{background:#94A3B8}.umb-kd .umb-d2{background:#9333EA}.umb-kd .umb-dsun{width:auto;height:auto;background:none;font-size:17px;line-height:1}
.umb-kd b{font-size:12.5px;font-weight:900;color:#0F172A}.umb-kd small{font-size:10.5px;font-weight:700;color:#64748B}
.umb-tip{margin:10px 0 0;padding:9px 11px;border-radius:14px;background:#EEF2FF;font-size:12.5px;font-weight:700;line-height:1.65;color:#1E1B4B}
.intro .go{display:block;width:100%;margin-top:14px;height:56px;border:0;border-radius:999px;background:linear-gradient(90deg,#15803E,#0F5F2E);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 26px rgba(21,128,62,.3)}
/* 遊ぶ画面 */
.umb-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border-radius:16px;background:#14532D;color:#fff;font-size:13px;font-weight:800}
.umb-top>b{font-size:15px;font-weight:900;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.umb-top>span{flex:none;color:#BBF7D0}.umb-top>span b{font-size:17px;color:#fff;font-variant-numeric:tabular-nums}
.umb-mt{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.umb-st,.umb-wk{min-width:0;padding:7px 10px;border-radius:14px;background:#F0FDF4;border:2px solid #BBF7D0;transition:background .3s,border-color .3s}
.umb-st p,.umb-wk p{display:flex;align-items:baseline;gap:3px;margin:0;line-height:1.1}
.umb-st small,.umb-wk small{margin-right:auto;font-size:11px;font-weight:900;color:#334155;white-space:nowrap}
.umb-st b,.umb-wk b{font-size:24px;font-weight:900;font-variant-numeric:tabular-nums;color:#15803E}
.umb-st p>span,.umb-wk p>span{font-size:12px;font-weight:900;color:#15803E}
.umb-bar{display:block;height:8px;margin-top:5px;border-radius:99px;background:rgba(15,23,42,.08);overflow:hidden}
.umb-bar i{display:block;height:100%;width:100%;border-radius:99px;background:#22C55E;transition:width .15s linear}
.umb-mt[data-lv="b"] .umb-st{background:#FFFBEB;border-color:#FCD34D}.umb-mt[data-lv="b"] .umb-st b,.umb-mt[data-lv="b"] .umb-st p>span{color:#B45309}.umb-mt[data-lv="b"] .umb-bar i{background:#F59E0B}
.umb-mt[data-lv="c"] .umb-st{background:#FEF2F2;border-color:#FCA5A5}.umb-mt[data-lv="c"] .umb-st b,.umb-mt[data-lv="c"] .umb-st p>span{color:#B91C1C}.umb-mt[data-lv="c"] .umb-bar i{background:#EF4444}
.umb-wk{background:#EFF6FF;border-color:#BFDBFE}.umb-wk b,.umb-wk p>span{color:#1D4ED8}
.umb-dots{display:flex;flex-wrap:wrap;gap:3px;margin-top:5px}
.umb-dots i{display:block;width:9px;height:9px;border-radius:50%;background:#DBEAFE;border:1px solid #93C5FD;box-sizing:border-box}
.umb-dots i.umb-on{background:#2563EB;border-color:#2563EB}
.umb-wrap{position:relative;margin-top:8px;border-radius:18px;overflow:hidden;border:1px solid #CFE8D8;background:#DCEEFB;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.umb-cv{display:block;width:100%;max-width:max(260px,calc(64svh*100/112));height:auto;margin:0 auto;aspect-ratio:100/112;touch-action:none;cursor:ew-resize;-webkit-tap-highlight-color:transparent}
.umb-cv:focus-visible{outline:3px solid #15803E;outline-offset:-3px}
.umb-ov{position:absolute;inset:0;display:grid;place-items:center;padding:12px;background:rgba(5,46,22,.42)}
.umb-ov>div{width:100%;max-width:340px;padding:14px;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.25);text-align:center}
.umb-ov b{display:block;font-size:19px;font-weight:900;color:#14532D}
.umb-ov p{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.65;color:#334155;text-align:left}
.umb-ov p.umb-ovn{margin-top:8px;padding:6px 8px;border-radius:10px;background:#EFF6FF;font-size:12.5px;font-weight:800;color:#1D4ED8;text-align:center}
.umb-ov .go2{margin-top:10px}
.umb-tog{display:grid;place-items:center;gap:1px;width:100%;min-height:58px;margin-top:8px;padding:6px 10px;border:3px solid #15803E;border-radius:16px;background:#fff;color:#15803E;font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;transition:background .15s,color .15s}
.umb-tog>span{font-size:17px;font-weight:900;line-height:1.3}
.umb-tog small{font-size:10.5px;font-weight:800;color:#64748B}
.umb-tog.umb-tgon{background:#15803E;color:#fff}.umb-tog.umb-tgon small{color:#DCFCE7}
.umb-tog:active{transform:scale(.98)}
.umb-play:not(.umb-run) .umb-tog{opacity:.5}
.umb-cap{margin:6px 0 0;text-align:center;font-size:11.5px;font-weight:800;color:#15803E}
/* 1日の結果 */
.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}
.umb-ln{margin:6px 0 0;padding:0;list-style:none}
.umb-ln li{padding:4px 0;border-top:1px dashed rgba(15,23,42,.1);font-size:12.5px;font-weight:700;line-height:1.6;color:#1E293B}
.umb-ln li:first-child{border-top:0}
.umb-ln li.umb-lai{color:#4338CA}
/* AIのことば */
.aiad{display:flex;gap:10px;align-items:flex-start;margin-top:10px;padding:10px 12px;border-radius:18px;background:#EEF2FF;border:1px solid #C7D2FE}
.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 #C7D2FE}
.aiad div{min-width:0}.aiad small{font-size:11px;font-weight:800;color:#4338CA}
.aiad p{margin:2px 0 0;font-size:13px;line-height:1.65;font-weight:700;color:#1E1B4B}
.go2{display:block;width:100%;margin-top:12px;padding:14px;border:0;border-radius:16px;background:#15803E;color:#fff;font:inherit;font-size:15px;font-weight:900;cursor:pointer;touch-action:manipulation}
.go2:disabled{background:#E2E8F0;color:#94A3B8;cursor:default}
/* 5日の記録 */
.umb-hs{margin-top:10px}
.umb-hst{margin:0 0 6px;font-size:12px;font-weight:900;color:#334155}
.umb-hl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:0;padding:0;list-style:none}
.umb-hl li{display:grid;justify-items:center;padding:5px 2px;border-radius:10px;background:#F8FAFC;border:1px solid #E2E8F0;min-width:0;text-align:center}
.umb-hl small{font-size:10.5px;font-weight:800;color:#64748B;max-width:100%;overflow-wrap:anywhere;line-height:1.3}
.umb-hl b{font-size:14px;font-weight:900;font-variant-numeric:tabular-nums;line-height:1.4}
.umb-hl em{font-style:normal;font-size:10.5px;font-weight:800;color:#1D4ED8;min-height:1.3em}
.umb-hl .umb-hn{border-color:#15803E;box-shadow:0 0 0 2px #BBF7D0}
.umb-hl .umb-hg{background:#F0FDF4;border-color:#BBF7D0}.umb-hl .umb-hg b{color:#15803E}
.umb-hl .umb-hb{background:#FEF2F2;border-color:#FECACA}.umb-hl .umb-hb b{color:#B91C1C}
.umb-hl .umb-hs{opacity:.5}
.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(16px,5.4vw,24px);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) both}
.fx.A{color:#15803E}.fx.B{color:#B45309}.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)}}
.game.shake{animation:shk .45s}@keyframes shk{20%{transform:translateX(-6px)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(3px)}}
.end{margin-top:4px;animation:pop .4s var(--ease)}
/* 結果の大きな数字 */
.umb-big{margin:14px 0 4px;padding:14px;border-radius:18px;background:#052E16;color:#DCFCE7;text-align:center}
.umb-big>small{display:block;font-size:12.5px;font-weight:800;color:#FDE68A}
.umb-big>b{display:block;margin-top:2px;font-size:clamp(46px,15vw,70px);font-weight:900;line-height:1.1;color:#86EFAC;font-variant-numeric:tabular-nums}.umb-big>b span{font-size:.4em;margin-left:2px;color:#fff}
.umb-big>em{display:block;font-style:normal;font-size:13px;font-weight:800;color:#FCA5A5}
.umb-ty{margin:12px 0 0;padding:10px;border-radius:14px;background:rgba(255,255,255,.08)}
.umb-ty small{display:block;font-size:11px;font-weight:800;color:#FDE68A}.umb-ty b{display:block;font-size:20px;font-weight:900;color:#fff}.umb-ty span{display:block;margin-top:2px;font-size:12.5px;font-weight:700;line-height:1.6;color:#DCFCE7}
.umb-vs{margin:8px 0 0;font-size:12.5px;font-weight:800;color:#BBF7D0}.umb-vs b{color:#fff;white-space:nowrap}
/* ふりかえり */
.umb-ch{margin:0 0 6px;padding:8px 8px 6px;border-radius:14px;background:#F0FDF4}
.umb-ch figcaption{font-size:12px;font-weight:900;color:#14532D;line-height:1.5}
.umb-ch svg.umb-cs{display:block;width:100%;height:auto;margin-top:4px;fill:none;stroke:none}
.umb-gl{stroke:#CBD5E1;stroke-width:1}.umb-gd{stroke:#E2E8F0;stroke-width:1;stroke-dasharray:3 3}
.umb-gt{fill:#475569;font-size:10px;font-weight:800}
.umb-ly{stroke:#16A34A;stroke-width:2.6;stroke-linejoin:round;fill:none}.umb-la{stroke:#94A3B8;stroke-width:2;stroke-dasharray:5 4;stroke-linejoin:round;fill:none}
.umb-lg{display:flex;flex-wrap:wrap;gap:4px 14px;margin:4px 0 0;font-size:11.5px;font-weight:800;color:#334155}
.umb-lg span::before{content:"";display:inline-block;width:18px;height:3px;margin-right:5px;vertical-align:middle;border-radius:2px}
.umb-lgy::before{background:#16A34A}.umb-lga::before{background:repeating-linear-gradient(90deg,#94A3B8 0 5px,transparent 5px 8px)}
.umb-tbw{overflow-x:auto;margin:8px 0 4px}
.umb-tb{width:100%;border-collapse:collapse;font-size:12px;line-height:1.4}
.umb-tb th,.umb-tb td{padding:5px 4px;border-bottom:1px solid #F1F5F9;text-align:center;font-variant-numeric:tabular-nums}
.umb-tb thead th{font-size:11px;color:#64748B;font-weight:800}.umb-tb thead small{display:block;font-size:10px}
.umb-tb tbody th{text-align:left;font-weight:800;color:#334155;white-space:nowrap}
.umb-tb td b{display:block;font-size:14px;font-weight:900;color:#15803E}.umb-tb td b.umb-q{color:#B91C1C;font-size:12.5px}
.umb-tb td small{display:block;font-size:10.5px;font-weight:700;color:#64748B;white-space:nowrap}
.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:13px;font-weight:800;color:#166534;margin:4px 0 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)}
.umb .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}
 .umb-kd{grid-template-columns:1fr}.umb-st b,.umb-wk b{font-size:20px}.umb-st small,.umb-wk small{font-size:10px}.umb-st,.umb-wk{padding:6px 8px}
 .umb-top{padding:7px 10px;font-size:12px}.umb-ov>div{padding:12px}.umb-ov p{font-size:12px}.umb-ov b{font-size:17px}
 .aiad{padding:10px}.aiad .av{width:34px;height:34px;font-size:22px}.umb-tb{font-size:11px}.umb-hl small,.umb-hl em{font-size:9.5px}}
@media(prefers-reduced-motion:reduce){.res,.end,.fx{animation:none}.umb-bar i,.umb-tog{transition:none}}
