.msj{--ac:#16A34B;--ac2:#DCFCE7;--acg:linear-gradient(90deg,#16A34B,#22C55E 50%,#F59E0B)}
.msj [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(22,163,75,.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:#14532D;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}
.intro .go{display:block;width:100%;margin-top:14px;height:56px;border:0;border-radius:999px;background:linear-gradient(90deg,#16A34B,#22C55E);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(22,163,75,.3)}
.aiad{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:10px 12px;border-radius:18px;background:#F0FDF4;border:1px solid #BBF7D0}
.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 #BBF7D0}
.aiad div{min-width:0}.aiad small{font-size:11px;font-weight:800;color:#15803D}
.aiad p{margin:4px 0 0;font-size:13.5px;line-height:1.65;font-weight:700;color:#052E16}
.go2{display:block;width:100%;margin-top:14px;padding:14px;border:0;border-radius:16px;background:linear-gradient(90deg,#D97706,#F59E0B);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;touch-action:manipulation;box-shadow:0 8px 20px rgba(217,119,6,.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:#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)}}
.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:#052E16;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)}
.msj-tip{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:#FFFBEB;font-size:12.5px;font-weight:700;line-height:1.7;color:#78350F}
/* 来た人 */
.msj-who{display:grid;grid-template-columns:48px 1fr;gap:10px;align-items:start;padding:10px 12px;border-radius:18px;background:#052E16;color:#DCFCE7}
.msj-fc{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-size:30px;line-height:1;background:#fff}
.msj-who>div{min-width:0}.msj-who b{display:block;font-size:15px;font-weight:900;color:#fff;line-height:1.4}.msj-who b small{margin-left:6px;font-size:11.5px;color:#86EFAC;font-weight:800}
.msj-say{margin:3px 0 0;font-size:14.5px;font-weight:900;color:#FDE68A;line-height:1.5}
.msj-tx{margin:3px 0 0;font-size:12px;font-weight:700;line-height:1.6;color:#BBF7D0}
/* 時間・向き */
.msj-bar{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;margin-top:10px}
.msj-tm{min-width:0;font-size:14.5px;font-weight:900;color:#14532D;font-variant-numeric:tabular-nums;line-height:1.3}.msj-tm.msj-low{color:#DC2626}
.msj-vw{font-size:11.5px;font-weight:800;color:#64748B;white-space:nowrap}
.msj-flip{min-height:44px;padding:0 12px;border:2px solid #BBF7D0;border-radius:14px;background:#fff;color:#15803D;font:inherit;font-size:13px;font-weight:900;cursor:pointer;touch-action:manipulation;white-space:nowrap}.msj-flip:disabled{opacity:.45;cursor:default}
/* こりメーター */
.msj-mt{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}
.msj-m{min-width:0;padding:6px 9px;border-radius:12px;background:#FEF2F2;border:1px solid #FECACA;display:grid;grid-template-columns:1fr auto;gap:2px 6px;align-items:center}
.msj-m small{grid-column:1/-1;font-size:11px;font-weight:900;color:#991B1B;line-height:1.35}
.msj-m>i{display:block;height:8px;border-radius:99px;background:#fff;overflow:hidden}.msj-m>i>i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#F87171,#DC2626)}
.msj-m b{font-size:15px;font-weight:900;color:#991B1B;font-variant-numeric:tabular-nums;min-width:2ch;text-align:right}
.msj-mc{background:#FFF7ED;border-color:#FED7AA}.msj-mc small,.msj-mc b{color:#9A3412}.msj-mc>i>i{background:linear-gradient(90deg,#FB923C,#EA580C)}
.msj-mn{background:#F8FAFC;border-color:#E2E8F0}.msj-mn small{color:#475569}.msj-mn em{grid-column:1/-1;font-style:normal;font-size:11.5px;font-weight:800;color:#64748B;line-height:1.4}
/* 体の図 */
.msj-fw{position:relative;margin-top:8px;border-radius:20px;background:radial-gradient(circle at 50% 40%,#F0FDF4,#DCFCE7);box-shadow:inset 0 0 0 2px rgba(22,163,75,.15);overflow:hidden}
.msj-fw svg.msj-fig{display:block;margin:0 auto;width:100%!important;max-width:min(300px,calc(52svh * 200 / 270));height:auto!important;stroke:none;fill:none;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;cursor:pointer}
.msj-fw.msj-ouch svg.msj-fig{animation:msjshk .3s}
@keyframes msjshk{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.msj-sp .msj-dot{fill:rgba(255,255,255,.45);stroke:#94A3B8;stroke-width:1.2;stroke-dasharray:2.5 2}
.msj-sp .msj-gl{fill:#EF4444;opacity:0;transition:opacity .2s}
.msj-sp.msj-said .msj-gl{animation:msjpl 1.6s ease-in-out infinite}
.msj-sp.msj-cause .msj-gl{fill:#F97316}
.msj-sp.msj-said .msj-dot{stroke:#DC2626;stroke-dasharray:none;stroke-width:1.6}
.msj-sp.msj-cause .msj-dot{stroke:#EA580C;stroke-dasharray:none;stroke-width:1.6}
.msj-sp.msj-soft .msj-gl{fill:#22C55E}.msj-sp.msj-soft .msj-dot{stroke:#16A34B}
.msj-sp.msj-on .msj-dot{stroke:#16A34B;stroke-width:2.6;stroke-dasharray:none}
.msj-lb{font-size:9.5px;font-weight:900;fill:#052E16;stroke:#fff;stroke-width:2.6px;paint-order:stroke;stroke-linejoin:round}
@keyframes msjpl{0%,100%{transform:scale(1)}50%{transform:scale(1.15)}}
.msj-gl{transform-box:fill-box;transform-origin:center}
.msj-rp circle{fill:none;stroke:#EA580C;stroke-width:2;transform-box:fill-box;transform-origin:center;animation:msjrp .9s ease-out forwards}
.msj-rp text{font-size:11px;font-weight:900;fill:#EA580C;stroke:#fff;stroke-width:2.6px;paint-order:stroke;text-anchor:middle;animation:msjup .9s ease-out forwards}
@keyframes msjrp{from{transform:scale(.6);opacity:1}to{transform:scale(2.2);opacity:0}}
@keyframes msjup{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-8px)}}
.msj-fin{pointer-events:none;transition:opacity .2s}
.msj-fr{animation:msjci .7s linear infinite}
.msj-fr circle{fill:rgba(22,163,75,.35);stroke:#16A34B;stroke-width:1.6}
@keyframes msjci{from{transform:rotate(0) translate(6px) rotate(0)}to{transform:rotate(360deg) translate(6px) rotate(-360deg)}}
.msj-bub{position:absolute;left:8px;right:8px;top:8px;margin:0;text-align:center;font-size:13px;font-weight:900;line-height:1.45;color:#052E16;pointer-events:none;min-height:1.45em}
.msj-bub.msj-pop{animation:msjbp .35s var(--ease)}
.msj-b-ouch{color:#DC2626;font-size:16px}.msj-b-twitch{color:#C2410C}.msj-b-soft{color:#15803D}.msj-b-back{color:#7C2D12}.msj-b-stiff{color:#B91C1C}
@keyframes msjbp{from{transform:scale(.85);opacity:.3}to{transform:scale(1);opacity:1}}
.msj-dh{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);margin:0;padding:5px 12px;border-radius:99px;background:rgba(5,46,22,.85);color:#fff;font-size:12px;font-weight:800;white-space:nowrap;pointer-events:none;transition:opacity .3s}
.msj-dh.msj-hide{opacity:0}
/* 速さメーター */
.msj-spd{margin-top:8px}
.msj-spd>small{display:block;font-size:11px;font-weight:900;color:#475569;margin-bottom:3px}
.msj-sb{position:relative;display:grid;grid-template-columns:1fr 2.2fr 1.4fr;height:26px;border-radius:99px;overflow:hidden;font-size:10.5px;font-weight:900;line-height:26px;text-align:center}
.msj-sb span{white-space:nowrap;overflow:hidden}
.msj-sb span:nth-child(1){background:#E2E8F0;color:#475569}.msj-sb span:nth-child(2){background:#BBF7D0;color:#14532D}.msj-sb span:nth-child(3){background:#FECACA;color:#991B1B}
.msj-sb i{position:absolute;top:2px;bottom:2px;left:0;width:6px;margin-left:-3px;border-radius:3px;background:#052E16;box-shadow:0 0 0 2px #fff;transition:left .08s linear}
.msj-spd[data-z="2"] .msj-sb i{background:#DC2626}
.msj-hold{display:block;width:100%;min-height:48px;margin-top:8px;padding:6px 12px;border:2px dashed #86EFAC;border-radius:14px;background:#fff;color:#15803D;font:inherit;font-size:13px;font-weight:900;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.msj-hold small{font-size:11.5px;color:#64748B}.msj-hold:active{background:#F0FDF4}.msj-hold:disabled{opacity:.45;cursor:default}
/* 直し方 */
.msj-fix{margin-top:12px;display:grid;gap:8px}
.msj-fh{margin:0;font-size:14px;font-weight:900;color:#14532D;line-height:1.5}
.msj-fb{min-height:52px;padding:10px 14px;border:2px solid #BBF7D0;border-radius:14px;background:#fff;color:#052E16;font:inherit;font-size:14px;font-weight:800;line-height:1.5;text-align:left;cursor:pointer;touch-action:manipulation}
.msj-fb:disabled{cursor:default;opacity:.55}.msj-fb.msj-fsel{opacity:1;border-color:#16A34B;background:#F0FDF4}
.msj-rl{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:3px}.msj-rl li{font-size:13px;font-weight:700;line-height:1.6;color:#1F2937}
.msj-why{margin:8px 0 0;padding:8px 10px;border-radius:10px;background:#fff;font-size:12.5px;font-weight:700;line-height:1.7;color:#334155}
.msj-brk{margin:8px 0 0;font-size:11.5px;color:#64748B;line-height:1.6}
/* 結果：タイプと大きな数字 */
.msj-ty{margin:14px 0 4px;padding:16px 14px;border-radius:20px;background:#052E16;color:#DCFCE7;text-align:center}
.msj-tyl{margin:0;font-size:12px;font-weight:800;color:#86EFAC}
.msj-tyn{margin:4px 0 0;font-size:22px;font-weight:900;color:#fff;line-height:1.4}.msj-tyn span{margin-right:6px}
.msj-tyd{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.7}
.msj-kp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed rgba(220,252,231,.25)}
.msj-kp>div{min-width:0;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.07)}
.msj-kp small{display:block;font-size:11.5px;font-weight:800;line-height:1.45;color:#BBF7D0}
.msj-kp b{display:block;margin-top:4px;font-size:clamp(36px,12vw,50px);font-weight:900;line-height:1.05;color:#FDE68A;font-variant-numeric:tabular-nums}.msj-kp div+div b{color:#FCA5A5}
.msj-kp b i{margin-left:2px;font-style:normal;font-size:.42em}
.msj-kp em{display:block;margin-top:4px;font-style:normal;font-size:11px;font-weight:700;color:#DCFCE7;line-height:1.5}
.msj-ai{margin:10px 0 0;font-size:12px;font-weight:700;line-height:1.6;color:#BBF7D0}.msj-ai b{color:#fff}
/* ふりかえり */
.msj-tbw{overflow-x:auto}
.msj-tb{width:100%;border-collapse:collapse;font-size:12px}
.msj-tb th,.msj-tb td{padding:7px 5px;border-bottom:1px solid #E2E8F0;text-align:left;vertical-align:top;line-height:1.45}
.msj-tb thead th{font-size:11px;color:#64748B}
.msj-tb tbody th{font-weight:900;color:#052E16;min-width:6.5em}.msj-tb small{display:block;font-size:10.5px;color:#64748B;font-weight:700}
.msj-tb td b{font-size:14px;color:#15803D}.msj-tb td.msj-g{background:#F0FDF4}
.msj .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}.msj-who{grid-template-columns:40px 1fr;padding:9px 10px}.msj-fc{width:40px;height:40px;font-size:25px}.msj-flip{padding:0 9px;font-size:12px}.msj-tm{font-size:13.5px}.msj-tb{font-size:11px}.msj-sb{font-size:9.5px}}
@media(prefers-reduced-motion:reduce){.res,.end,.msj-bub.msj-pop{animation:none}.msj-sp.msj-said .msj-gl,.msj-fr,.msj-fw.msj-ouch svg.msj-fig{animation:none}.msj-rp circle,.msj-rp text{animation-duration:.01s}}
