.pot{--ac:#0D7C8C;--ac2:#CFFAFE;--acg:linear-gradient(90deg,#0D7C8C,#0891B2 50%,#F97316)}
.pot [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:#155E75;line-height:1.7}
.doc{margin-top:10px;padding:12px 14px;border-radius:16px;border:2px solid #E2E8F0;background:#fff}
.doc.wk{border-color:#ECFEFF;background:#ECFEFF}
.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,#0D7C8C,#0891B2);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(14,116,144,.3)}
.aiad{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:10px 12px;border-radius:18px;background:#ECFEFF;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:#0D7C8C}
.aiad p{margin:4px 0 0;font-size:13.5px;line-height:1.65;font-weight:700;color:#083344}
.aiput{margin-top:8px;padding:8px 14px;border:0;border-radius:99px;background:#0D7C8C;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,#F97316);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:#0D7C8C}.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:#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)}
/* はじめの説明 */
.pot-kd{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}
.pot-kd p{margin:0;padding:8px 10px;border-radius:12px;background:#F8FAFC;border:1px solid #E2E8F0;font-size:12px;font-weight:700;line-height:1.5;color:#334155}
.pot-kd span{display:block;font-size:16px;line-height:1.2;color:#C2410C}.pot-kd p+p span{color:#0D7C8C}.pot-kd b{display:block;font-size:12.5px;font-weight:900;color:#083344}
.pot-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}
/* 仕事のカード */
.pot-job{padding:12px 14px;border-radius:18px;background:#083344;color:#CFFAFE}.pot-job>b{display:block;font-size:16px;font-weight:900;color:#fff;line-height:1.5}
.pot-job>small{display:block;margin-top:2px;font-size:11.5px;font-weight:800;color:#67E8F9}
.pot-job p{margin:6px 0 0;font-size:13.5px;line-height:1.7;font-weight:700}
.pot-job p.pot-aia{margin-top:8px;padding:7px 10px;border-radius:10px;background:rgba(255,255,255,.08);font-size:12.5px;color:#FED7AA}
.pot-mt{margin:10px 0 6px;font-size:13px;font-weight:800;color:#155E75;text-align:center}.pot-mt b{font-size:18px;color:#C2410C;font-variant-numeric:tabular-nums}
/* ろくろ */
.pot-wl{position:relative;border-radius:18px;overflow:hidden;background:linear-gradient(#ECFEFF,#F0F9FF 70%,#E0F2FE);box-shadow:inset 0 0 0 2px rgba(14,116,144,.15)}
.pot-wl svg.pot-svg{display:block;width:100%!important;height:auto!important;stroke:none!important;fill:none!important;overflow:visible;touch-action:pan-y;cursor:ew-resize;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
.pot-svg text{stroke:none}
.pot-whl{fill:#94A3B8}.pot-whl2{fill:#CBD5E1}
.pot-gl{fill:none;stroke:rgba(14,116,144,.16);stroke-width:1;stroke-dasharray:3 4}
.pot-bt{font-size:11px;font-weight:900;fill:#155E75;paint-order:stroke;stroke:#ECFEFF!important;stroke-width:3px;stroke-linejoin:round}
.pot-clay{fill:url(#pqcg);stroke:#7C2D12;stroke-width:1.5}
.pot-ln{fill:none;stroke:rgba(124,45,18,.22);stroke-width:1.6}
.pot-bl{fill:none;stroke:rgba(255,237,213,.45);stroke-width:1;stroke-dasharray:2 3}
.pot-shd{fill:rgba(67,20,7,.10)}
.pot-rim{fill:#7C2D12;stroke:#9A3412;stroke-width:1.5}
.pot-tg{fill:none;stroke:#0D7C8C;stroke-width:2.4;stroke-dasharray:6 5;stroke-linecap:round}
.pot-mk{font-size:13px;font-weight:900;text-anchor:end}.pot-m-ok{fill:#16A34A}.pot-m-fat{fill:#C2410C}.pot-m-thin{fill:#0369A1}
.pot-fgc{fill:rgba(14,116,144,.25);stroke:#0D7C8C;stroke-width:2}
.pot-rot{animation:potrot 1.1s linear infinite}
.pot-fast .pot-rot{animation-duration:.18s}
@keyframes potrot{from{transform:translateX(0)}to{transform:translateX(16px)}}
.pot-cg{transform-box:fill-box;transform-origin:50% 100%}
.pot-wob .pot-cg{animation:potwob .45s ease-in-out infinite}
@keyframes potwob{0%,100%{transform:skewX(0)}25%{transform:skewX(4deg)}75%{transform:skewX(-4deg)}}
.pot-crash .pot-cg{animation:potcrash .65s ease-in}
@keyframes potcrash{0%{transform:none}30%{transform:skewX(9deg) scaleY(.96)}60%{transform:skewX(-8deg) scaleY(.88)}100%{transform:scaleY(.94)}}
.pot-dh{position:absolute;left:50%;bottom:6px;transform:translateX(-50%);margin:0;padding:5px 12px;border-radius:99px;background:rgba(8,51,68,.85);color:#fff;font-size:12px;font-weight:800;white-space:nowrap;pointer-events:none;transition:opacity .3s}
.pot-dh.pot-hide{opacity:0}
/* 指示の量 */
.pot-am{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;margin-top:10px;font-size:12px;font-weight:900;color:#155E75}
.pot-ab{display:block;height:10px;border-radius:99px;background:#E2E8F0;overflow:hidden}
.pot-ab i{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,#22D3EE,#0D7C8C);transition:width .15s}
.pot-ab i.pot-near{background:linear-gradient(90deg,#FBBF24,#F97316)}.pot-ab i.pot-over{background:linear-gradient(90deg,#F97316,#DC2626)}
.pot-am b{min-width:3.2em;text-align:right;font-variant-numeric:tabular-nums;font-size:13px;color:#083344}
.pot-wn{margin:6px 0 0;min-height:2.9em;font-size:12px;font-weight:700;line-height:1.6;color:#475569}.pot-wn.pot-wnr{color:#DC2626;font-weight:900}
/* 帯ごとの行 */
.pot-list{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:5px}
.pot-r{display:grid;grid-template-columns:26px minmax(0,1fr) 44px 44px;gap:6px;align-items:center;padding:5px 6px 5px 8px;border-radius:14px;background:#F8FAFC;border:2px solid #E2E8F0;transition:background .2s,border-color .2s}
.pot-r.pot-r-ok{background:#F0FDF4;border-color:#BBF7D0}.pot-r.pot-r-fat{background:#FFF7ED;border-color:#FED7AA}.pot-r.pot-r-thin{background:#F0F9FF;border-color:#BAE6FD}
.pot-r.pot-ron{border-color:#0D7C8C}
.pot-ri{font-size:18px;line-height:1;text-align:center}
.pot-rn{min-width:0;line-height:1.35}.pot-rn b{display:block;font-size:13px;font-weight:900;color:#083344}
.pot-rn b em{margin-left:6px;font-style:normal;font-size:11.5px;font-weight:900;white-space:nowrap}
.pot-r-ok .pot-rn em{color:#16A34A}.pot-r-fat .pot-rn em{color:#C2410C}.pot-r-thin .pot-rn em{color:#0369A1}
.pot-rn small{display:block;font-size:11px;font-weight:700;color:#64748B}
.pot-rb{width:44px;height:44px;border:2px solid #A5F3FC;border-radius:12px;background:#fff;color:#0D7C8C;font:inherit;font-size:22px;font-weight:900;line-height:1;cursor:pointer;touch-action:manipulation;padding:0}
.pot-rb:disabled{opacity:.4;cursor:default}
/* ボタン */
.pot-bts{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:stretch;margin-top:12px}
.pot-bts .go2{margin-top:0;line-height:1.3}.go2 small{display:block;font-size:11.5px;font-weight:800;opacity:.9}
.pot-undo{min-width:80px;padding:0 12px;border:2px solid #CBD5E1;border-radius:16px;background:#fff;color:#334155;font:inherit;font-size:13px;font-weight:900;cursor:pointer;touch-action:manipulation}
.pot-undo:disabled{opacity:.4;cursor:default}
.pot-fin{display:block;width:100%;margin-top:8px;min-height:48px;padding:10px;border:2px solid #0D7C8C;border-radius:16px;background:#fff;color:#0D7C8C;font:inherit;font-size:14px;font-weight:900;cursor:pointer;touch-action:manipulation}
.pot-fin:disabled{border-color:#E2E8F0;color:#94A3B8;cursor:default}
.pot-log{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:3px}.pot-log:empty{display:none}
.pot-log li{padding:5px 10px;border-radius:10px;background:#ECFEFF;font-size:12.5px;font-weight:800;color:#155E75}.pot-log li.pot-lc{background:#FEF2F2;color:#B91C1C}
/* 1つの仕事の結果 */
.pot-fl{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:5px}
.pot-fl li{padding:6px 10px;border-radius:12px;background:#fff;border-left:4px solid #94A3B8;line-height:1.5}
.pot-fl li.pot-r-ok{border-left-color:#16A34A}.pot-fl li.pot-r-fat{border-left-color:#EA580C}.pot-fl li.pot-r-thin{border-left-color:#0284C7}
.pot-fl b{display:block;font-size:13px}.pot-fl small{display:block;font-size:11.5px;color:#64748B;font-weight:700}
.pot-rt{margin:8px 0 0;font-size:12.5px;font-weight:800;color:#334155}
.pot-why{margin:4px 0 0;font-size:11.5px;color:#64748B}
/* 5つの記録 */
.pot-hs{margin-top:12px;padding:10px 10px 8px;border-radius:16px;background:#F8FAFC;border:1px solid #E2E8F0}
.pot-hst{margin:0 0 6px;font-size:12px;font-weight:900;color:#155E75}
.pot-hl{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.pot-hl li{min-width:0;padding:4px 1px;border-radius:8px;background:#fff;border:1px solid #E2E8F0;text-align:center;line-height:1.25}
.pot-hl small{display:block;font-size:9.5px;font-weight:800;color:#64748B;white-space:nowrap;overflow:hidden}.pot-hl span{display:block;font-size:16px}
.pot-hl b{display:block;font-size:11px;font-weight:900;color:#083344;font-variant-numeric:tabular-nums}.pot-hl em{display:block;min-height:13px;font-style:normal;font-size:10px;font-weight:800;color:#334155}
.pot-hl li.pot-hg{background:#F0FDF4;border-color:#86EFAC}.pot-hl li.pot-hm{background:#FFFBEB;border-color:#FCD34D}.pot-hl li.pot-hb{background:#FEF2F2;border-color:#FCA5A5}
.pot-hl li.pot-hnow{border:2px solid #0D7C8C}
/* 結果：タイプと大きな数字 */
.pot-ty{margin:14px 0 4px;padding:16px 14px;border-radius:20px;background:#083344;color:#CFFAFE;text-align:center}
.pot-tyl{margin:0;font-size:12px;font-weight:800;color:#67E8F9}
.pot-tyn{margin:4px 0 0;font-size:22px;font-weight:900;color:#fff;line-height:1.4}.pot-tyn span{margin-right:6px}
.pot-tyd{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.7}
.pot-kp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed rgba(207,250,254,.25)}
.pot-kp>div{min-width:0;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.07)}
.pot-kp small{display:block;font-size:11.5px;font-weight:800;line-height:1.45;color:#A5F3FC}
.pot-kp b{display:block;margin-top:4px;font-size:clamp(36px,12vw,50px);font-weight:900;line-height:1.05;color:#FDBA74;font-variant-numeric:tabular-nums}.pot-kp div+div b{color:#67E8F9}
.pot-kp b i{margin-left:2px;font-style:normal;font-size:.42em}
.pot-kp em{display:block;margin-top:4px;font-style:normal;font-size:11px;font-weight:700;color:#CFFAFE;line-height:1.5}
.pot-ai{margin:10px 0 0;font-size:12px;font-weight:700;line-height:1.6;color:#A5F3FC}.pot-ai b{color:#fff}
/* ふりかえり */
.pot-lg{display:flex;flex-wrap:wrap;gap:4px 14px;margin:0 0 10px;font-size:12px;font-weight:800;color:#334155}
.pot-lg span::before{content:"";display:inline-block;width:18px;height:10px;margin-right:5px;border-radius:3px;vertical-align:-1px}
.pot-lg1::before{background:#F97316}.pot-lg2::before{border-top:2.5px dashed #0D7C8C;height:0!important;vertical-align:3px!important;border-radius:0!important}.pot-lg3::before{border-top:2px solid #64748B;height:0!important;vertical-align:3px!important;border-radius:0!important}
.pot-rvw{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.pot-rf{margin:0;padding:10px;border-radius:14px;background:#F8FAFC;border:1px solid #E2E8F0}
.pot-rf svg{display:block;width:100%!important;max-width:200px;height:auto!important;margin:0 auto;stroke:none!important;fill:none!important}
.pot-rc{fill:#FDBA74;stroke:#C2410C;stroke-width:1.5}
.pot-ra{fill:none;stroke:#64748B;stroke-width:2.2}
.pot-rf figcaption{margin-top:6px;line-height:1.45}.pot-rf figcaption b{display:block;font-size:12.5px;color:#083344}
.pot-rf figcaption span{display:flex;gap:10px;font-size:12px;font-weight:800;color:#64748B}.pot-rf figcaption em{font-style:normal;color:#C2410C}
.pot-rf ul{margin:6px 0 0;padding:0;list-style:none;font-size:11.5px;line-height:1.6;color:#334155}
.pot-rf ul b{font-weight:900}.pot-rf li.pot-r-ok b{color:#16A34A}.pot-rf li.pot-r-fat b{color:#C2410C}.pot-rf li.pot-r-thin b{color:#0369A1}
.pot .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}.pot-r{grid-template-columns:22px minmax(0,1fr) 44px 44px;gap:4px;padding:4px 4px 4px 6px}.pot-ri{font-size:15px}.pot-undo{min-width:64px;padding:0 8px;font-size:12px}.pot-kp b{font-size:34px}.pot-rvw{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.res,.end{animation:none}.pot-rot,.pot-wob .pot-cg,.pot-crash .pot-cg{animation:none}.pot-r,.pot-ab i{transition:none}}
