.cxw{--ac:#3730A3;--ac2:#E0E7FF;--acg:linear-gradient(90deg,#3730A3,#4F46E5 50%,#EC4899)}
.cxw [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(55,48,163,.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:#312E81;line-height:1.7}
.doc{margin-top:10px;padding:12px 14px;border-radius:16px;border:2px solid #E2E8F0;background:#fff}
.doc.wk{border-color:#EEF2FF;background:#EEF2FF}
.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%,#C7D2FE 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,#3730A3,#4F46E5);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(55,48,163,.3)}
.aiad{display:flex;gap:10px;align-items:flex-start;margin-top:12px;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:#3730A3}
.aiad p{margin:4px 0 0;font-size:13.5px;line-height:1.65;font-weight:700;color:#1E1B4B}
.aiput{margin-top:8px;min-height:40px;padding:8px 14px;border:0;border-radius:99px;background:#3730A3;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,#DB2777,#EC4899);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;touch-action:manipulation;box-shadow:0 8px 20px rgba(219,39,119,.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:#3730A3}.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:#1E1B4B;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)}
/* はじめの説明（色の見かた） */
.cxw-kd{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}
.cxw-kd p{display:flex;align-items:center;gap:6px;margin:0;padding:7px 8px;border-radius:12px;background:#F8FAFF;border:1px solid #E0E7FF;font-size:11.5px;font-weight:800;line-height:1.35;color:#1E1B4B;min-width:0}
.cxw-kd i{flex:none;width:14px;height:14px;border-radius:4px;background:var(--c)}
.cxw-tip{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:#FDF2F8;font-size:12.5px;font-weight:700;line-height:1.7;color:#831843}
/* その回の仕事 */
.cxw-rd{padding:12px 14px;border-radius:18px;background:#1E1B4B;color:#E0E7FF}
.cxw-rd>b{display:block;font-size:16px;font-weight:900;color:#fff;line-height:1.5}
.cxw-rd>p{margin:6px 0 0;font-size:13.5px;line-height:1.75;font-weight:700}.cxw-rd p b{color:#F9A8D4;font-weight:900}
.cxw-rd .cxw-ask{margin-top:8px;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.09)}
.cxw-ask small{display:block;font-size:11px;font-weight:800;color:#A5B4FC}.cxw-ask span{font-weight:900;color:#fff}
/* ビンとコップ */
.cxw-st{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:12px;padding:12px 10px 34px;border-radius:20px;background:#EEF2FF;border:1px solid #C7D2FE}
.cxw-bv,.cxw-cw{display:flex;flex-direction:column;align-items:center;min-width:0}
.cxw-bn,.cxw-cl{margin:0 0 6px;min-height:3.9em;text-align:center;font-size:12px;font-weight:900;line-height:1.3;color:#1E1B4B;overflow-wrap:anywhere}
.cxw-bn span{margin-right:3px}.cxw-bn small{display:inline-block;margin-top:2px;padding:1px 7px;border-radius:99px;background:var(--c);color:#fff;font-size:10px;font-weight:900}
.cxw-cl{color:#3730A3}
.cxw-bt{position:relative;width:100%;max-width:150px;height:240px;margin-top:16px;border:3px solid #3730A3;border-radius:24px 24px 18px 18px;background:#fff;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;outline:none;transform-origin:50% 80%;transition:transform .2s,opacity .2s}
.cxw-bt::before{content:"";position:absolute;left:50%;top:-17px;width:38%;height:15px;transform:translateX(-50%);border:3px solid #3730A3;border-bottom:0;border-radius:7px 7px 0 0;background:#fff}
.cxw-bt:focus-visible{box-shadow:0 0 0 3px #EC4899}
.cxw-bt.cxw-lift{opacity:.4}
.cxw-bt.cxw-tlt{transform:rotate(16deg)}
.cxw-liq{position:absolute;left:0;right:0;bottom:0;border-radius:0 0 15px 15px;background:var(--c);opacity:.82}
.cxw-bt.cxw-sumd .cxw-liq{background-image:repeating-linear-gradient(45deg,rgba(255,255,255,.38) 0 6px,transparent 6px 12px)}
.cxw-fcs{position:absolute;top:8px;bottom:8px;left:5px;right:5px}
.cxw-fc{position:absolute;left:0;right:0;padding:3px 5px;border-radius:8px;background:rgba(255,255,255,.94);box-shadow:0 1px 3px rgba(30,27,75,.25);font-size:10.5px;font-weight:800;line-height:1.3;color:#1E1B4B;text-align:center;overflow-wrap:anywhere;pointer-events:none}
.cxw-fc.cxw-cut{color:#94A3B8;text-decoration:line-through}.cxw-fc small{display:block;font-size:9px;color:#DC2626;text-decoration:none}
.cxw-vol{margin:6px 0 0;font-size:11.5px;font-weight:800;color:#3730A3;font-variant-numeric:tabular-nums}
.cxw-sm{margin-top:6px;width:100%;max-width:160px;min-height:44px;padding:4px 6px;border:2px dashed #A5B4FC;border-radius:12px;background:#fff;color:#3730A3;font:inherit;font-size:11px;font-weight:900;line-height:1.3;cursor:pointer;touch-action:manipulation}
.cxw-sm[aria-pressed="true"]{border-style:solid;border-color:#3730A3;background:#3730A3;color:#fff}
.cxw-sm:disabled{opacity:.55;cursor:default}
.cxw-cup{position:relative;width:100%;max-width:150px;height:256px;border:3px solid #3730A3;border-top:0;border-radius:0 0 28px 28px;background:linear-gradient(#fff,#F5F7FF);overflow:hidden;box-shadow:inset 0 3px 0 rgba(55,48,163,.18)}
.cxw-cup.cxw-full{border-color:#DB2777}
.cxw-cup.cxw-full.cxw-pouring{animation:cxwsh .35s infinite}
@keyframes cxwsh{0%,100%{transform:translateX(0)}25%{transform:translateX(-2px)}75%{transform:translateX(2px)}}
.cxw-cup.cxw-think{animation:cxwth .8s var(--ease)}
@keyframes cxwth{0%{box-shadow:0 0 0 0 rgba(236,72,153,.0)}50%{box-shadow:0 0 0 8px rgba(236,72,153,.35)}100%{box-shadow:0 0 0 0 rgba(236,72,153,0)}}
.cxw-lays{position:absolute;inset:0}
.cxw-ly{position:absolute;left:0;right:0;opacity:.88;border-top:1px solid rgba(255,255,255,.7)}
.cxw-lsm{background-image:repeating-linear-gradient(45deg,rgba(255,255,255,.38) 0 5px,transparent 5px 10px)}
.cxw-dt{position:absolute;left:50%;width:10px;height:10px;margin:0 0 -5px -5px;border-radius:50%;background:#fff;border:2px solid #1E1B4B}
.cxw-max{position:absolute;top:3px;right:8px;font-size:10px;font-weight:900;color:#6366F1}
.cxw-str{position:absolute;top:0;left:50%;z-index:2;width:8px;margin-left:-4px;border-radius:0 0 4px 4px;background:var(--c,#6366F1);opacity:0;transition:opacity .1s}
.cxw-pouring .cxw-str{opacity:.9;background-image:repeating-linear-gradient(180deg,rgba(255,255,255,.4) 0 6px,transparent 6px 14px);background-size:100% 28px;animation:cxwfl .4s linear infinite}
@keyframes cxwfl{from{background-position:0 0}to{background-position:0 28px}}
.cxw-amt{margin:6px 0 0;font-size:12px;font-weight:800;color:#334155;font-variant-numeric:tabular-nums}.cxw-amt b{font-size:20px;color:#3730A3}
.cxw-dh{position:absolute;left:50%;bottom:6px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 16px);margin:0;padding:4px 12px;border-radius:99px;background:rgba(30,27,75,.88);color:#fff;font-size:11.5px;font-weight:800;line-height:1.35;text-align:center;pointer-events:none;transition:opacity .3s}
.cxw-dh.cxw-hide{opacity:0}
.cxw-toast{position:absolute;left:8px;right:8px;top:8px;z-index:5;margin:0;padding:7px 10px;border-radius:12px;background:rgba(30,27,75,.94);color:#fff;font-size:12px;font-weight:800;line-height:1.5;text-align:center;opacity:0;transform:translateY(-6px);transition:opacity .2s,transform .2s;pointer-events:none}
.cxw-toast.cxw-on{opacity:1;transform:none}
/* つかんだビン（指についてくる） */
.cxw-gh{position:fixed;left:0;top:0;z-index:60;pointer-events:none;will-change:transform}
.cxw-gb{position:relative;width:48px;height:78px;border:3px solid #3730A3;border-radius:14px 14px 12px 12px;background:linear-gradient(#fff 24%,var(--c) 24%);display:grid;place-items:center;font-size:22px;line-height:1;box-shadow:0 10px 24px rgba(30,27,75,.3);transform-origin:50% 75%;transition:transform .18s}
.cxw-gb::before{content:"";position:absolute;left:50%;top:-12px;width:20px;height:10px;transform:translateX(-50%);border:3px solid #3730A3;border-bottom:0;border-radius:5px 5px 0 0;background:#fff}
.cxw-gh.cxw-tilt .cxw-gb{transform:rotate(118deg)}
/* 注ぐボタンと、ビンの棚 */
.cxw-ctl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:10px}
.cxw-hold{min-height:52px;padding:6px 10px;border:0;border-radius:16px;background:linear-gradient(90deg,#3730A3,#4F46E5);color:#fff;font:inherit;font-size:15px;font-weight:900;line-height:1.3;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.cxw-hold:active{filter:brightness(1.15)}
.cxw-rst{min-height:52px;padding:4px 12px;border:2px solid #C7D2FE;border-radius:16px;background:#fff;color:#3730A3;font:inherit;font-size:12.5px;font-weight:900;line-height:1.3;cursor:pointer;touch-action:manipulation}
.cxw-hold:disabled,.cxw-rst:disabled{opacity:.45;cursor:default}
.cxw-shl{margin:12px 0 6px;font-size:12px;font-weight:900;color:#312E81}
.cxw-shelf{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.cxw-shelf li{min-width:0}
.cxw-sb{width:100%;height:100%;min-height:78px;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 4px 5px;border:2px solid #E0E7FF;border-top:6px solid var(--c);border-radius:12px;background:#fff;font:inherit;color:#1E1B4B;cursor:pointer;touch-action:manipulation}
.cxw-sb.cxw-on{border-color:#3730A3;border-top-color:var(--c);background:#EEF2FF;box-shadow:0 4px 12px rgba(55,48,163,.2)}
.cxw-sb:disabled{cursor:default}
.cxw-si{font-size:18px;line-height:1.1}
.cxw-sn{font-size:10.5px;font-weight:800;line-height:1.3;text-align:center;overflow-wrap:anywhere}
.cxw-sv{display:block;width:100%;height:5px;margin-top:auto;border-radius:9px;background:#E0E7FF;overflow:hidden}.cxw-sv i{display:block;height:100%;background:var(--c)}
.cxw-sb small{font-size:10px;font-weight:800;color:#64748B;font-variant-numeric:tabular-nums}
/* AIが覚えていること */
.cxw-mem{margin-top:12px;padding:10px 12px;border-radius:16px;background:#fff;border:1px solid #E0E7FF}
.cxw-mh{margin:0 0 6px;font-size:12px;font-weight:900;color:#312E81}.cxw-mhx{margin-top:10px;color:#B91C1C}
.cxw-ml{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:5px}
.cxw-ml li{max-width:100%;padding:4px 8px;border-radius:8px;background:#F8FAFF;border-left:4px solid var(--c);font-size:11.5px;font-weight:800;line-height:1.4;color:#1E1B4B;overflow-wrap:anywhere}
.cxw-mlx li{color:#94A3B8;background:#F8FAFC;text-decoration:line-through}
.cxw-mn{margin:0;font-size:12px;color:#94A3B8}
/* AIの答え */
.cxw-ans{margin-top:8px;padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #E2E8F0}
.cxw-ah{margin:0 0 6px;font-size:12.5px;font-weight:900;color:#312E81;line-height:1.5}
.cxw-ans ul{margin:0;padding:0;list-style:none;display:grid;gap:4px}
.cxw-ans li{font-size:12.5px;line-height:1.55;font-weight:700;color:#1E1B4B}.cxw-ans li.cxw-ang{color:#B91C1C}.cxw-ans li.cxw-awn{color:#B45309}
.cxw-awn i{margin-left:6px;font-style:normal;font-weight:900;white-space:nowrap}
.cxw-rt{margin:8px 0 0;font-size:12px;font-weight:800;color:#334155}.cxw-rt span{display:block;font-size:11.5px;color:#64748B}
.cxw-why{margin:8px 0 0;font-size:11.5px;color:#64748B}
/* 5回の記録・小さなコップ */
.cxw-hs{margin-top:12px;padding:10px 10px 8px;border-radius:16px;background:#F8FAFF;border:1px solid #E0E7FF}
.cxw-hst{margin:0 0 6px;font-size:12px;font-weight:900;color:#312E81}
.cxw-hl{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.cxw-hl li{min-width:0;padding:4px 2px;border-radius:10px;background:#fff;border:1px solid #E0E7FF;text-align:center;line-height:1.25}
.cxw-hl small,.cxw-rcs small{display:block;font-size:10px;font-weight:800;color:#64748B}.cxw-hl em,.cxw-rcs em{display:block;font-style:normal;font-size:11px;font-weight:900;color:#1E1B4B}
.cxw-hl li.cxw-hg{background:#FDF2F8;border-color:#F9A8D4}.cxw-hl li.cxw-hm{background:#FFFBEB;border-color:#FCD34D}.cxw-hl li.cxw-hb{background:#FEF2F2;border-color:#FCA5A5}
.cxw-hl li.cxw-hnow{border:2px solid #3730A3}
.cxw-mc{position:relative;display:block;width:30px;height:44px;margin:3px auto;border:2px solid #3730A3;border-top:0;border-radius:0 0 9px 9px;background:#fff;overflow:hidden}
.cxw-mc i{position:absolute;left:0;right:0;border-top:1px solid rgba(255,255,255,.7)}
.cxw-mc i.cxw-lsm{background-image:repeating-linear-gradient(45deg,rgba(255,255,255,.4) 0 3px,transparent 3px 6px)}
.cxw-mc.cxw-mce{display:grid;place-items:center;border-style:dashed;border-top:0;font-size:14px;line-height:1}
/* 結果：タイプと大きな数字 */
.cxw-ty{margin:14px 0 4px;padding:16px 14px;border-radius:20px;background:#1E1B4B;color:#E0E7FF;text-align:center}
.cxw-tyl{margin:0;font-size:12px;font-weight:800;color:#A5B4FC}
.cxw-tyn{margin:4px 0 0;font-size:22px;font-weight:900;color:#fff;line-height:1.4}.cxw-tyn span{margin-right:6px}
.cxw-tyd{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.7}
.cxw-kp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed rgba(224,231,255,.25)}
.cxw-kp>div{min-width:0;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.07)}
.cxw-kp small{display:block;font-size:11.5px;font-weight:800;line-height:1.45;color:#C7D2FE}
.cxw-kp b{display:block;margin-top:4px;font-size:clamp(36px,12vw,50px);font-weight:900;line-height:1.05;color:#F9A8D4;font-variant-numeric:tabular-nums}.cxw-kp div+div b{color:#A5B4FC}
.cxw-kp b i{margin-left:2px;font-style:normal;font-size:.42em}
.cxw-kp em{display:block;margin-top:4px;font-style:normal;font-size:11px;font-weight:700;color:#E0E7FF;line-height:1.5}
.cxw-ai{margin:10px 0 0;font-size:12px;font-weight:700;line-height:1.6;color:#C7D2FE}.cxw-ai b{color:#fff}
/* ふりかえり */
.cxw-rw{display:grid;gap:10px}
.cxw-rx{margin:0;padding:10px;border-radius:14px;background:#F8FAFF;border:1px solid #E0E7FF}
.cxw-rx figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin-bottom:6px;font-size:13px;font-weight:900;color:#1E1B4B}.cxw-rx figcaption b{font-size:16px;color:#3730A3}.cxw-rx figcaption span{font-size:11px;color:#64748B;font-weight:800}
.cxw-rcs{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;text-align:center}
.cxw-rcs li{min-width:0}
.cxw-gd{margin:12px 0 0;padding:10px 12px;list-style:none;border-radius:14px;background:#EEF2FF;display:grid;gap:10px}
.cxw-gd li{font-size:12.5px;line-height:1.6}.cxw-gd b{display:block;color:#312E81}.cxw-gd span{display:block;color:#334155;font-weight:700}
.cxw-gd small{display:block;font-size:11.5px;color:#B91C1C;font-weight:700}.cxw-gd .cxw-gs{color:#3730A3;font-size:12px}
.cxw .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}.cxw-st{gap:6px;padding:10px 6px 32px}.cxw-bt{height:226px}.cxw-cup{height:242px}.cxw-fc{font-size:9.5px;padding:2px 3px}.cxw-bn,.cxw-cl{font-size:11px}.cxw-kd{grid-template-columns:repeat(2,minmax(0,1fr))}.cxw-hold{font-size:14px}.cxw-sn{font-size:10px}.cxw-kp b{font-size:34px}.cxw-dh{font-size:10.5px;padding:4px 8px}}
@media(prefers-reduced-motion:reduce){.res,.end{animation:none}.cxw-cup.cxw-think,.cxw-cup.cxw-full.cxw-pouring,.cxw-pouring .cxw-str{animation:none}.cxw-bt,.cxw-gb,.cxw-toast{transition:none}}
