.smp{--ac:#9B1B5A;--ac2:#FCE7F3;--acg:linear-gradient(90deg,#9B1B5A,#DB2777 50%,#CA8A04)}
.smp [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(155,27,90,.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:#9B1B5A;line-height:1.7}
.doc{margin-top:10px;padding:12px 14px;border-radius:16px;border:2px solid #E2E8F0;background:#fff}
.doc.wk{border-color:#FDF2F7;background:#FDF2F7}
.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%,#FBCFE8 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,#9B1B5A,#6B0F3C);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 26px rgba(155,27,90,.3)}
.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:10px;padding:14px;border:0;border-radius:16px;background:#9B1B5A;color:#fff;font:inherit;font-size:15px;font-weight:900;cursor:pointer;touch-action:manipulation}
.go2:disabled{background:#E2E8F0;color:#94A3B8;cursor:default}
.hint{margin:10px 0 0;text-align:center;font-size:11px;color:var(--mut);line-height:1.6}
.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)}
.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:700;color:#2A0A19;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)}

/* 頼みごとの見出しとメモ */
.smp-hd{padding:9px 12px;border-radius:16px;background:#9B1B5A;color:#fff}
.smp-hd b{display:block;font-size:14.5px;font-weight:900;line-height:1.45}
.smp-hd small{display:block;font-size:11.5px;font-weight:700;color:#FCE7F3;line-height:1.5}
.smp-memo{position:relative;margin-top:8px;padding:9px 12px 10px;border-radius:14px;background:#FFFBEB;border:1px solid #FDE68A;box-shadow:0 2px 0 #FDE68A}
.smp-memo small{display:block;font-size:11px;font-weight:900;color:#92400E}
.smp-memo p{margin:2px 0 0;font-size:13.5px;font-weight:800;line-height:1.6;color:#1C1917}
/* 向こう岸 */
.smp-far{position:relative;margin-top:8px;padding:8px 8px 34px;border-radius:18px 18px 0 0;background:linear-gradient(180deg,#DCFCE7 0,#BBF7D0 60%,#86EFAC 100%);overflow:hidden}
.smp-ppl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;align-items:end}
.smp-pp{min-width:0;text-align:center;padding:4px 2px;border-radius:12px;transition:background .2s,transform .3s}
.smp-av{display:block;font-size:26px;line-height:1.2}
.smp-pp b{display:block;font-size:12px;font-weight:900;color:#14532D;line-height:1.3}
.smp-pp small{display:block;font-size:10px;font-weight:700;color:#166534;line-height:1.35;overflow-wrap:anywhere}
.smp-pp.smp-near{transform:scale(1.08)}
.smp-pp.smp-rdg{background:#fff;box-shadow:0 0 0 3px #9B1B5A}.smp-pp.smp-rdg small{color:#9B1B5A;font-weight:900}
.smp-pp.smp-run{animation:smprun .9s ease-in-out 2}.smp-pp.smp-hmm{animation:smphm .6s ease-in-out 2}
@keyframes smprun{30%{transform:translateY(-8px)}60%{transform:translateY(0) translateX(6px)}}
@keyframes smphm{25%{transform:rotate(-6deg)}75%{transform:rotate(6deg)}}
.smp-bub{position:relative;z-index:2;margin:8px 2px 0;padding:8px 10px;border-radius:14px;background:#fff;box-shadow:0 6px 16px rgba(20,83,45,.18);font-size:12.5px;font-weight:800;line-height:1.55;color:#1E293B;animation:smpin .25s ease-out}
.smp-bub::before{content:'';position:absolute;left:50%;top:-6px;width:12px;height:12px;margin-left:-6px;background:#fff;transform:rotate(45deg)}
.smp-bub.smp-hm{background:#FFF7ED}.smp-bub.smp-hm::before{background:#FFF7ED}
.smp-bub i{display:block;font-style:normal;font-size:11px;font-weight:700;color:#9A3412}
.smp-bub em{display:block;margin-top:4px;font-style:normal;font-size:13px;font-weight:900}
.smp-cs{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.smp-cs span{padding:2px 8px;border-radius:99px;font-size:12px;font-weight:900;line-height:1.5}
.smp-ok{color:#166534}.smp-cs .smp-ok{background:#DCFCE7}.smp-ng{color:#B91C1C}.smp-cs .smp-ng{background:#FEE2E2}
@keyframes smpin{from{opacity:0;transform:translateY(6px)}}
.smp-rv{position:absolute;left:0;right:0;bottom:0;height:28px;background:linear-gradient(180deg,#38BDF8,#0284C7);overflow:hidden}
.smp-rv i{position:absolute;top:8px;left:-40%;width:180%;height:6px;border-radius:99px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.55) 0 18px,transparent 18px 46px);animation:smpwv 6s linear infinite}
.smp-rv i:nth-child(2){top:16px;animation-duration:9s;opacity:.6}.smp-rv i:nth-child(3){top:2px;animation-duration:12s;opacity:.4}
@keyframes smpwv{to{transform:translateX(25%)}}
.smp-fly{position:absolute;left:50%;bottom:0;z-index:3;display:flex;align-items:center;gap:4px;padding:3px 10px 3px 4px;border-radius:99px;background:#9B1B5A;color:#fff;font-size:12px;font-weight:900;white-space:nowrap;transform:translate(-50%,0);opacity:0;pointer-events:none}
.smp-fly .smp-mi{width:26px;height:26px;background:#fff;border-radius:50%}
.smp-fly.smp-go{animation:smpfl var(--t,.7s) ease-out forwards}
@keyframes smpfl{0%{opacity:0;transform:translate(-50%,10px) scale(.8)}20%{opacity:1}80%{opacity:1;transform:translate(-50%,-70px) scale(1)}100%{opacity:0;transform:translate(-50%,-84px) scale(.9)}}
/* 手旗の人（手前の岸） */
.smp-st{position:relative;padding:4px 0 0;border-radius:0 0 20px 20px;background:linear-gradient(180deg,#FDF2F7 0,#FCE7F3 100%);touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;cursor:pointer}
.smp-st::after{content:'';position:absolute;left:50%;top:10px;bottom:46px;border-left:2px dashed rgba(155,27,90,.15);pointer-events:none}
.smp-fig{display:block;width:100%;max-width:340px;height:auto;margin:0 auto;fill:none;stroke:none;overflow:visible}
.smp-arm{transform-box:view-box;transform-origin:0 0;transition:transform .18s ease-out}
.smp-lb{position:relative;z-index:1;display:flex;justify-content:center;align-items:baseline;flex-wrap:wrap;gap:4px 8px;min-height:44px;margin:0;padding:6px 10px 10px;text-align:center;font-size:12.5px;font-weight:800;color:#64748B;line-height:1.4}
.smp-lb small{font-size:11px;font-weight:800;color:#9B1B5A}
.smp-lb b{font-size:22px;font-weight:900;color:#1C1917}
.smp-lb em{padding:1px 8px;border-radius:99px;background:#9B1B5A;color:#fff;font-style:normal;font-size:11px;font-weight:900}
.smp-ab{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.smp-ab>div{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:3px;border-radius:14px;background:#F8FAFC;border:1px solid #E2E8F0}
.smp-ab small{font-size:11px;font-weight:800;color:#475569;text-align:center;min-width:0}
.smp-rot{flex:none;width:44px;height:44px;border:0;border-radius:12px;background:#fff;box-shadow:0 1px 0 #CBD5E1,0 0 0 1px #E2E8F0;font:inherit;font-size:20px;font-weight:900;color:#9B1B5A;cursor:pointer;touch-action:manipulation}
.smp-rot:focus-visible,.smp-w:focus-visible,.smp-dn:focus-visible{outline:3px solid #F9A8D4;outline-offset:2px}
/* 送った合図 */
.smp-sl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:10px 0 0;padding:0;list-style:none}
.smp-sl li{position:relative;display:grid;justify-items:center;align-content:center;min-width:0;min-height:62px;padding:4px 2px;border-radius:12px;border:2px dashed #E2E8F0;color:#94A3B8;text-align:center}
.smp-sl li small{position:absolute;left:5px;top:2px;font-size:10px;font-weight:900}
.smp-sl li b{font-size:11px;font-weight:900;line-height:1.3;overflow-wrap:anywhere}
.smp-sl li.smp-sf{border:2px solid #9B1B5A;background:#FDF2F7;color:#1C1917;animation:smpin .25s ease-out}
.smp-sl .smp-mi{width:32px;height:32px}
.smp-bt{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:8px;margin-top:10px}
.smp-bt .go2{margin:0;padding:12px 8px;min-height:52px}
.smp-dn{min-height:52px;padding:8px;border:2px solid #9B1B5A;border-radius:16px;background:#fff;color:#9B1B5A;font:inherit;font-size:14px;font-weight:900;cursor:pointer;touch-action:manipulation}
.smp-dn:disabled{border-color:#E2E8F0;color:#94A3B8;cursor:default}
/* 合図の表 */
.smp-cb{margin-top:12px;padding:10px;border-radius:16px;background:#FDF2F7;border:1px solid #FBCFE8}
.smp-cbh{margin:0;font-size:13.5px;font-weight:900;color:#6B0F3C}.smp-cbh small{font-size:11px;font-weight:700;color:#9D174D}
.smp-ct{margin:8px 0 4px;font-size:11.5px;font-weight:900;color:#9B1B5A}
.smp-wg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.smp-w{display:grid;justify-items:center;gap:1px;min-width:0;min-height:64px;padding:4px 2px 5px;border:2px solid transparent;border-radius:12px;background:#fff;font:inherit;color:#1C1917;cursor:pointer;touch-action:manipulation}
.smp-w span{font-size:11px;font-weight:800;line-height:1.3;overflow-wrap:anywhere}
.smp-w.smp-gk{border-color:#FACC15;background:#FEFCE8}
.smp-w.smp-on{border-color:#9B1B5A;background:#FCE7F3;box-shadow:0 0 0 2px rgba(155,27,90,.18)}
.smp-mi{display:block;width:40px;height:40px;fill:none;stroke:none}
/* 1つの結果 */
.smp-res{margin-top:12px;border-radius:16px;padding:14px;font-size:13px;line-height:1.7;animation:pop .35s;scroll-margin-bottom:110px}
.smp-res.smp-rg{background:#F0FDF4}.smp-res.smp-rm{background:#FFFBEB}.smp-res.smp-rx{background:#FEF2F2}
.smp-rh{margin:0;font-size:12px;font-weight:800;color:#475569}
.smp-rb{display:block;font-size:18px;font-weight:900;line-height:1.5}.smp-rg .smp-rb{color:#166534}.smp-rm .smp-rb{color:#B45309}.smp-rx .smp-rb{color:#DC2626}
.smp-tw{display:grid;grid-template-columns:4.6em minmax(0,1fr) minmax(0,1fr);gap:6px;margin-top:6px;padding:0 9px;font-size:10.5px;font-weight:800;color:#64748B}
.smp-tw small:first-child{grid-column:2}
.smp-rl{display:grid;gap:5px;margin:2px 0 0;padding:0;list-style:none}
.smp-rl li{display:grid;grid-template-columns:4.6em minmax(0,1fr) minmax(0,1fr);gap:6px;align-items:center;padding:6px 9px;border-radius:12px;background:#fff;border-left:4px solid #CBD5E1;font-size:12px;line-height:1.45}
.smp-rl li span{font-weight:900;color:#334155}.smp-rl li b{font-weight:900;color:#0F172A;overflow-wrap:anywhere}.smp-rl li em{font-style:normal;font-weight:800;overflow-wrap:anywhere}
.smp-rl li.smp-lg{border-color:#16A34A}.smp-lg em{color:#166534}.smp-rl li.smp-lb{border-color:#DC2626}.smp-lb em{color:#B91C1C}
.smp-rs{margin:8px 0 0;font-size:12px;line-height:1.6}.smp-rs>small{display:block;font-size:11px;font-weight:900;color:#475569}.smp-rs>b{font-weight:900;color:#9B1B5A}
.smp-rai>small{color:#4338CA}.smp-rbest>small{color:#166534}
.smp-sq{display:inline-flex;flex-wrap:wrap;align-items:center;gap:3px}
.smp-sq i{padding:1px 8px;border-radius:99px;background:#fff;border:1px solid #E2E8F0;font-style:normal;font-weight:800;color:#1C1917}
.smp-sq em{font-style:normal;font-size:10px;color:#94A3B8}
.smp-rbest .smp-sq i{border-color:#86EFAC;background:#F0FDF4}
.smp-rw{margin:8px 0 0;font-size:12px;line-height:1.65;color:#475569}
.smp-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}
/* 結果のタイプと大きな数字 */
.smp-ty{margin:14px 0 4px;padding:16px 14px;border-radius:20px;background:#2A0A19;color:#FCE7F3;text-align:center}
.smp-tyl{margin:0;font-size:12px;font-weight:800;color:#F9A8D4}
.smp-tyn{margin:4px 0 0;font-size:22px;font-weight:900;color:#fff;line-height:1.4}.smp-tyn span{margin-right:6px}
.smp-tyd{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.7}
.smp-kp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed rgba(252,231,243,.25)}
.smp-kp>div{min-width:0;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.07)}
.smp-kp small{display:block;font-size:11.5px;font-weight:800;line-height:1.45;color:#FBCFE8}
.smp-kp b{display:block;margin-top:2px;font-size:clamp(38px,12vw,56px);font-weight:900;line-height:1.1;color:#F9A8D4;font-variant-numeric:tabular-nums}.smp-kp b i{margin-left:2px;font-style:normal;font-size:.4em;color:#fff}
.smp-kp em{display:block;margin-top:2px;font-style:normal;font-size:11.5px;font-weight:700;line-height:1.5;color:#FCE7F3}
.smp-ai{margin:10px 0 0;font-size:12px;font-weight:700;line-height:1.65;color:#FBCFE8}.smp-ai b{color:#fff}
/* ふりかえり */
.smp-tb{width:100%;border-collapse:collapse;font-size:12px;line-height:1.4}
.smp-tb th,.smp-tb td{padding:6px 4px;border-bottom:1px solid #F1F5F9;text-align:left;vertical-align:top}
.smp-tb thead th{font-size:11px;color:#64748B}
.smp-tb tbody th{font-weight:900;color:#334155}.smp-tb th small{display:block;font-size:10.5px;font-weight:700;color:#64748B}
.smp-tb td b{font-size:14px;font-variant-numeric:tabular-nums}
.smp-bar{display:block;height:6px;margin-top:3px;border-radius:99px;background:#E2E8F0;overflow:hidden}.smp-bar i{display:block;height:100%;border-radius:99px;background:#9B1B5A}.smp-bai i{background:#94A3B8}
.smp-rvs{margin-top:12px;padding:10px;border-radius:14px;background:#F8FAFC}
.smp-rvt{margin:0;font-size:12.5px;font-weight:900;color:#9B1B5A}
.smp-rvm{margin:2px 0 0;font-size:12px;font-weight:700;line-height:1.6;color:#334155}
@media(max-width:360px){.game{padding:12px}.ghud{gap:4px;font-size:10.5px;letter-spacing:-.02em}.ghud b{font-size:14px}.smp-hd{padding:8px 10px}
 .smp-wg{gap:4px}.smp-w span{font-size:10px}.smp-mi{width:34px;height:34px}.smp-lb b{font-size:19px}.smp-rot{width:40px;height:44px}
 .smp-rl li,.smp-tw{grid-template-columns:3.8em minmax(0,1fr) minmax(0,1fr);gap:4px;padding-left:7px;padding-right:7px}.smp-dn{font-size:13px}.aiad{padding:10px}.aiad .av{width:34px;height:34px;font-size:22px}.smp-tb{font-size:11px}}
@media(prefers-reduced-motion:reduce){.end,.smp-res,.smp-bub,.smp-sl li.smp-sf{animation:none}.smp-rv i{animation:none}.smp-arm{transition:none}}
