.stir{--ac:#F97316;--ac2:#FFEDD5;--acg:linear-gradient(90deg,#EA580C,#F97316 50%,#FACC15)}
.stir [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(249,115,22,.18);overflow:hidden;overflow:clip}
.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:#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,#EA580C,#F97316);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 26px rgba(234,88,12,.3)}
.hint{margin:10px 0 0;text-align:center;font-size:11px;color:var(--mut);line-height:1.6}
.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:#C2410C}
.aiad p{margin:4px 0 0;font-size:13px;line-height:1.65;font-weight:700;color:#431407}
.go2{display:block;width:100%;margin-top:14px;padding:14px;border:0;border-radius:16px;background:linear-gradient(90deg,#EA580C,#F97316);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;touch-action:manipulation;box-shadow:0 8px 20px rgba(234,88,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;min-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}
.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:#EA580C}.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:#431407;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)}
.stir .sbd-tl{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.stir .sbd-tl span{font-size:20px}.stir .sbd-tl em{font-size:10px;white-space:nowrap}

/* ── このゲームだけの部品 ── */
/* はじめの説明：レシピのきほん */
.stir-kd{margin-top:10px;padding:10px 12px;border-radius:16px;background:#fff;border:2px solid #FED7AA}
.stir-kh{margin:0 0 6px;font-size:13px;font-weight:900;color:#7C2D12}
.stir-kd ol{display:flex;flex-wrap:wrap;gap:4px 2px;margin:0;padding:0;list-style:none;counter-reset:k}
.stir-kd li{display:inline-flex;align-items:center;gap:3px;padding:4px 8px 4px 6px;border-radius:99px;background:#FFF7ED;font-size:12px;font-weight:800;color:#431407;line-height:1.3}
.stir-kd li:not(:last-child)::after{content:'→';margin-left:4px;color:#F97316;font-weight:900}
.stir-kd li span{font-size:14px}
.stir-kn{margin:8px 0 0;font-size:12px;font-weight:700;line-height:1.65;color:#57534E}
.stir-tip{margin:10px 0 0;padding:9px 12px;border-radius:12px;background:#FEF3C7;font-size:13px;font-weight:800;line-height:1.6;color:#78350F}
/* 注文票 */
.stir-od{padding:12px 14px;border-radius:16px;background:#FFFBEB;border:2px dashed #FDBA74}
.stir-od>b{display:block;font-size:16px;font-weight:900;color:#431407;line-height:1.45}
.stir-od>small{display:block;font-size:11.5px;font-weight:900;color:#C2410C}
.stir-od>p{margin:4px 0 0;font-size:13px;font-weight:800;line-height:1.6;color:#1C1917}
.stir-od>p.stir-mh{margin-top:8px;font-size:11.5px;font-weight:900;color:#9A3412}
.stir-memo{margin:4px 0 0;padding:0;list-style:none;display:grid;gap:3px}
.stir-memo li{position:relative;padding:3px 0 3px 16px;font-size:12.5px;font-weight:700;line-height:1.55;color:#292524;border-bottom:1px dotted #FCD34D}
.stir-memo li::before{content:'・';position:absolute;left:2px;color:#EA580C;font-weight:900}
/* 材料のびん */
.stir-th{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin-top:12px}
.stir-th b{font-size:14px;font-weight:900;color:#431407}
.stir-th small{font-size:11px;font-weight:800;color:#78716C;line-height:1.5}.stir-th small.stir-lk{color:#B45309}
.stir-tray{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:6px}
.stir-jar{position:relative;display:grid;grid-template-columns:26px 1fr;gap:0 6px;align-content:start;min-height:64px;padding:7px 8px 16px;border-radius:14px;border:2px solid color-mix(in srgb,var(--c) 35%,#fff);background:#fff;font:inherit;text-align:left;cursor:pointer;box-shadow:0 3px 0 color-mix(in srgb,var(--c) 45%,#fff);touch-action:manipulation;-webkit-user-select:none;user-select:none}
.stir-jar:active{transform:translateY(2px);box-shadow:none}
.stir-jar.stir-on{background:color-mix(in srgb,var(--c) 10%,#fff)}
.stir-jar:disabled{cursor:default;transform:none;box-shadow:none;opacity:.55}
.stir-ji{grid-row:span 2;font-size:22px;line-height:1.2}
.stir-jar b{font-size:12px;font-weight:900;color:color-mix(in srgb,var(--c) 75%,#000);line-height:1.35}
.stir-jt{font-size:12px;font-weight:700;color:#1C1917;line-height:1.45;overflow-wrap:anywhere}
.stir-jt i{font-style:normal;font-size:10.5px;color:#78716C}
.stir-dots{position:absolute;right:8px;bottom:5px;display:flex;gap:3px}
.stir-dots em{width:7px;height:7px;border-radius:50%;background:#E7E5E4}.stir-dots em.stir-df{background:var(--c)}
/* なべの中の材料 */
.stir-in{margin-top:10px;padding:8px 10px;border-radius:14px;background:#F5F5F4}
.stir-in>small{display:block;font-size:11px;font-weight:900;color:#57534E}
.stir-in ol{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0 0;padding:0;list-style:none;min-height:26px}
.stir-in li{display:inline-flex;align-items:center;gap:2px;padding:2px 7px 2px 4px;border-radius:99px;background:#fff;border:2px solid var(--c);font-size:11px;font-weight:800;color:#292524;line-height:1.4;animation:stirIn .3s}
.stir-in li span{font-size:13px}
.stir-in li.stir-e0{border:0;background:none;color:#A8A29E;animation:none}
@keyframes stirIn{0%{transform:scale(.4);opacity:0}70%{transform:scale(1.15)}}
/* なべ */
.stir-pw{position:relative;margin:10px auto 0;max-width:280px}
.stir-pot{display:block;width:100%;height:auto;stroke:none;touch-action:none;cursor:default;-webkit-user-select:none;user-select:none;border-radius:50%;outline-offset:4px}
.stir-pot.stir-act{cursor:grab}.stir-pot.stir-act:active{cursor:grabbing}
.stir-pot.stir-srv{animation:stirSrv .6s}
@keyframes stirSrv{30%{transform:scale(1.05) rotate(-3deg)}60%{transform:scale(1.05) rotate(3deg)}}
.stir-dh{position:absolute;left:50%;bottom:-2px;transform:translateX(-50%);margin:0;padding:3px 10px;border-radius:99px;background:rgba(28,25,23,.78);color:#fff;font-size:11.5px;font-weight:800;white-space:nowrap;pointer-events:none;transition:opacity .3s}
.stir-dh.stir-hide{opacity:0}
.stir-drop{position:absolute;left:50%;top:0;font-size:28px;pointer-events:none;animation:stirDrop .65s ease-in forwards}
@keyframes stirDrop{0%{transform:translate(-50%,-10px);opacity:0}30%{opacity:1}100%{transform:translate(-50%,120px) scale(.5);opacity:0}}
.stir-sx{position:absolute;left:50%;top:38%;transform:translateX(-50%);padding:3px 10px;border-radius:99px;background:#0EA5E9;color:#fff;font-size:14px;font-weight:900;white-space:nowrap;pointer-events:none;animation:stirSx .8s forwards}
@keyframes stirSx{0%{opacity:0;transform:translate(-50%,6px) scale(.7)}25%{opacity:1;transform:translate(-50%,0) scale(1.1)}100%{opacity:0;transform:translate(-50%,-18px)}}
/* まぜメーター */
.stir-mt{margin-top:10px;padding:8px 10px;border-radius:14px;background:#fff;border:2px solid #FFEDD5}
.stir-mh2{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 8px;font-size:12.5px;font-weight:900;color:#431407}
.stir-mh2 b{font-size:20px;color:#EA580C;font-variant-numeric:tabular-nums}
.stir-spl{font-size:11.5px;color:#0284C7}
.stir-sp{font-size:11px;font-weight:800;color:#78716C}.stir-sp.stir-spf{color:#0284C7}
.stir-bar{position:relative;height:22px;margin-top:6px;border-radius:99px;background:#F5F5F4;overflow:hidden}
.stir-bar span{position:absolute;top:0;bottom:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.stir-bar i{font-style:normal;font-size:10px;font-weight:900;color:#fff;white-space:nowrap;text-shadow:0 1px 2px rgba(0,0,0,.3)}
.stir-zl{left:0;background:repeating-linear-gradient(45deg,#FCA5A5,#FCA5A5 6px,#F87171 6px,#F87171 12px)}
.stir-zo{background:#22C55E}
.stir-zg{background:linear-gradient(90deg,#A8A29E,#57534E)}
.stir-mk{position:absolute;top:-2px;bottom:-2px;width:6px;margin-left:-3px;border-radius:3px;background:#1C1917;box-shadow:0 0 0 2px #fff;transition:left .2s}
.stir-ms{margin:6px 0 0;font-size:12.5px;font-weight:800;line-height:1.5;color:#57534E}
.stir-ms.stir-mL{color:#DC2626}.stir-ms.stir-mO{color:#15803D}.stir-ms.stir-mG{color:#57534E}
.stir-bt{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}
.stir-b2{min-height:44px;padding:6px 8px;border-radius:12px;border:2px solid #E7E5E4;background:#fff;font:inherit;font-size:12.5px;font-weight:800;color:#44403C;cursor:pointer;touch-action:manipulation;line-height:1.35}
.stir-b2:disabled{opacity:.4;cursor:default}
/* 1品ごとの結果 */
.stir-ans{margin-top:8px;padding:10px 12px;border-radius:14px;background:#fff;border:2px solid #FED7AA}
.stir-ans small{display:block;font-size:11px;font-weight:900;color:#C2410C}
.stir-ans p{margin:4px 0 0;font-size:12.5px;font-weight:700;line-height:1.7;color:#1C1917;overflow-wrap:anywhere}
.stir-calc{margin:8px 0 0;font-size:12px;font-weight:700;line-height:1.6;color:#44403C}.stir-calc b{color:#C2410C}
.stir-ck{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:4px}
.stir-ck li{display:grid;grid-template-columns:22px 1fr;gap:4px;padding:6px 8px;border-radius:10px;font-size:12px;font-weight:700;line-height:1.6}
.stir-ck li span{font-size:14px;line-height:1.5}.stir-ck li p{margin:0;min-width:0}
.stir-ck li b{display:block;font-size:12.5px;font-weight:900}
.stir-cg{background:#F0FDF4;color:#14532D}.stir-cb{background:#FEF2F2;color:#7F1D1D}.stir-cm{background:#FFFBEB;color:#78350F}
.stir-ln{margin:8px 0 0;font-size:12.5px;font-weight:800;line-height:1.6;color:#292524}
.stir-ln small{display:block;font-size:11.5px;font-weight:700;color:#78716C}
.stir-aic{color:#C2410C}
/* 結果画面 */
.stir-ty{margin:14px 0 0;padding:16px 14px;border-radius:18px;background:#1C0F06;color:#FFEDD5;text-align:center}
.stir-tyl{margin:0;font-size:12px;font-weight:800;color:#FDBA74}
.stir-tyn{margin:2px 0 4px;font-size:21px;font-weight:900;color:#fff;line-height:1.4}.stir-tyn span{margin-right:6px}
.stir-tyd{margin:0;font-size:13px;font-weight:700;line-height:1.7}
.stir-kp{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.stir-kp>div{padding:10px 8px;border-radius:14px;background:rgba(255,255,255,.08)}
.stir-kp small{display:block;font-size:12px;font-weight:800;line-height:1.5}
.stir-kp b{display:block;white-space:nowrap;font-size:46px;font-weight:900;line-height:1.15;color:#FDE047;font-variant-numeric:tabular-nums}.stir-kp b i{font-style:normal;font-size:18px;margin-left:2px;color:#fff}
.stir-pots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:12px 0 0}
.stir-pots figure{margin:0;min-width:0}
.stir-mp{display:block;width:100%;height:auto;stroke:none}
.stir-pots figcaption{margin-top:3px;font-size:14px;line-height:1.3}.stir-pots figcaption b{display:block;font-size:11px;font-weight:900;color:#FDBA74;white-space:nowrap}
.stir-ai{margin:12px 0 0;font-size:12.5px;font-weight:700;line-height:1.6;color:#FED7AA}
/* ふりかえり */
.stir-tbw{border-radius:12px;background:#FAFAF9;overflow-x:auto}
.stir-tb{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.stir-tb th,.stir-tb td{padding:6px 3px;text-align:center;vertical-align:top;border-bottom:1px solid #E7E5E4}
.stir-tb thead th{font-size:11px;font-weight:900;color:#57534E}
.stir-tb tbody th{padding-left:6px;font-size:18px;text-align:left;width:4.2em}
.stir-tb tbody th small{display:block;font-size:10.5px;font-weight:800;color:#44403C;line-height:1.35}
.stir-tb tr:last-child th,.stir-tb tr:last-child td{border-bottom:0}
.stir-rc{display:flex;flex-direction:column;align-items:center;min-width:0}
.stir-rp{display:block;width:52px;height:52px;stroke:none}
.stir-rc b{font-size:13px;font-weight:900;color:#C2410C}
.stir-rc span{font-size:11px;line-height:1.35;letter-spacing:-.04em;overflow-wrap:anywhere;word-break:break-all}
.stir-rc small{font-size:10.5px;font-weight:800;color:#78716C}
.stir-lg{margin:8px 0 0;font-size:11.5px;font-weight:700;line-height:1.7;color:#57534E}
@media(max-width:360px){.game{padding:12px}.ghud{gap:4px;font-size:10.5px;letter-spacing:-.02em}.ghud b{font-size:14px}.stir-jar{grid-template-columns:22px 1fr;padding:6px 6px 15px;gap:0 4px}.stir-ji{font-size:19px}.stir-jt{font-size:11.5px}.stir-tray{gap:5px}.stir-kp b{font-size:38px}.stir-b2{font-size:11.5px}.stir-rp{width:44px;height:44px}.stir .sbd-tl{gap:4px}.stir-pots{gap:3px}}
@media(prefers-reduced-motion:reduce){.end,.stir-in li,.stir-pot.stir-srv,.stir-drop,.stir-sx{animation:none}.stir-mk,.stir-dh{transition:none}}
