.jgl{--ac:#86198F;--ac2:#FAE8FF;--acg:linear-gradient(90deg,#86198F,#C026D3 55%,#F59E0B)}
.jgl [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(134,25,143,.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:#701A75;line-height:1.7}
.doc{margin-top:10px;padding:12px 14px;border-radius:16px;border:2px solid #E2E8F0;background:#fff}
.doc.wk{border-color:#FDF4FF;background:#FDF4FF}
.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%,#F5D0FE 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,#86198F,#C026D3);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(134,25,143,.3)}
.aiad{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:10px 12px;border-radius:18px;background:#FDF4FF;border:1px solid #F5D0FE}
.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 #F5D0FE}
.aiad div{min-width:0}.aiad small{font-size:11px;font-weight:800;color:#86198F}
.aiad p{margin:4px 0 0;font-size:13.5px;line-height:1.65;font-weight:700;color:#3B0A45}
.aiput{margin-top:8px;padding:8px 14px;border:0;border-radius:99px;background:#86198F;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,#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:#86198F}.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:#3B0A45;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)}
/* はじめの説明 */
.jgl-kd{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}
.jgl-kd p{margin:0;padding:8px 10px;border-radius:12px;background:#FDF4FF;border:1px solid #F5D0FE;font-size:12px;font-weight:700;line-height:1.5;color:#4A044E}
.jgl-kd span{display:block;font-size:18px;line-height:1.2}.jgl-kd b{display:block;font-size:13px;font-weight:900;color:#3B0A45}
.jgl-lg{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;margin:10px 0 0;font-size:11.5px;font-weight:800;color:#6B21A8}
.jgl-lg i{display:inline-block;width:26px;height:7px;border-radius:9px}
.jgl-l1{background:#34D399}.jgl-l2{background:#A3E635}.jgl-l3{background:#FBBF24}.jgl-l4{background:#F97316}.jgl-l5{background:#DC2626}
.jgl-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}
/* 体力と風の予報 */
.jgl-sta{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:8px 12px;border-radius:14px;background:#3B0A45;color:#FAE8FF;font-size:12.5px;font-weight:900}
.jgl-sta b{min-width:2.2em;text-align:right;font-size:18px;color:#fff;font-variant-numeric:tabular-nums}
.jgl-sbw{height:12px;border-radius:99px;background:rgba(255,255,255,.15);overflow:hidden}
.jgl-sbw i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#34D399,#A3E635);transition:width .4s var(--ease)}
.jgl-sbw i.jgl-md{background:linear-gradient(90deg,#F59E0B,#FBBF24)}.jgl-sbw i.jgl-lo{background:linear-gradient(90deg,#DC2626,#F87171)}
.jgl-kn{margin:6px 2px 0;font-size:11.5px;font-weight:800;line-height:1.5;color:#86198F}
.jgl-wf{margin-top:8px;padding:9px 12px;border-radius:14px;background:#FFF7ED;border:2px dashed #F97316;color:#7C2D12;animation:pop .35s}
.jgl-wf p{margin:0;font-size:13.5px;font-weight:800;line-height:1.55}.jgl-wf b{color:#C2410C}
.jgl-wf small{display:block;margin-top:3px;font-size:11.5px;font-weight:700;line-height:1.55}
/* ジャングルジム */
.jgl-gw{max-width:440px;margin:10px auto 0}
.jgl-ch{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:4px}
.jgl-ch span{min-width:0;text-align:center;font-size:10.5px;font-weight:900;line-height:1.25;color:#4A044E;overflow-wrap:anywhere}
.jgl-ch i{display:block;font-style:normal;font-size:17px;line-height:1.2}
.jgl-gw svg.jgl-gym{display:block;width:100%!important;height:auto!important;stroke:none!important;fill:none!important;overflow:hidden;border-radius:16px;background:#FDF4FF;box-shadow:inset 0 0 0 2px rgba(134,25,143,.15);user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.jgl-gym text{stroke:none;white-space:normal}
.jgl-wrap{transition:transform .5s var(--ease)}
.jgl-c0{fill:#FDF4FF}.jgl-c1{fill:#FAE8FF}
.jgl-lka{fill:rgba(100,116,139,.06)}
.jgl-lkl{fill:none;stroke:#A21CAF;stroke-width:1.5;stroke-dasharray:5 5;opacity:.6}
.jgl-lkt{fill:#86198F;font-size:10.5px;font-weight:900;text-anchor:end;paint-order:stroke;stroke:#FDF4FF!important;stroke-width:3px}
.jgl-hm{fill:#A21CAF;font-size:9px;font-weight:800;opacity:.7}
.jgl-pole{fill:none;stroke:#D8B4FE;stroke-width:5;stroke-linecap:round}
.jgl-gnd{fill:#D9F99D}
.jgl-bar{fill:none;stroke-linecap:round}
.jgl-gone{fill:none;stroke:#CBD5E1;stroke-width:2.5;stroke-dasharray:3 5;stroke-linecap:round}
.jgl-wob{stroke-dasharray:8 5;filter:drop-shadow(0 0 3px #F97316);transform-box:fill-box;transform-origin:center;animation:jglwob .45s ease-in-out infinite alternate}
@keyframes jglwob{from{transform:rotate(-5deg)}to{transform:rotate(5deg)}}
.jgl-drop{animation:jgldrop .8s ease-in forwards}
@keyframes jgldrop{to{transform:translateY(70px) rotate(28deg);opacity:0}}
.jgl-trail{fill:none;stroke:#C026D3;stroke-width:3;stroke-dasharray:2 6;stroke-linecap:round;stroke-linejoin:round;opacity:.55}
.jgl-tg{cursor:pointer;outline:none}
.jgl-hit{fill:rgba(232,121,249,.13);stroke:#E879F9;stroke-width:2;stroke-dasharray:6 4;transition:fill .15s}
.jgl-tg:hover .jgl-hit,.jgl-tg:focus-visible .jgl-hit{fill:rgba(232,121,249,.3)}
.jgl-tg:focus-visible .jgl-hit{stroke:#3B0A45;stroke-width:3;stroke-dasharray:none}
.jgl-tgl{fill:none;stroke:#F0ABFC;stroke-width:15;stroke-linecap:round;opacity:.5;animation:jglglow 1s ease-in-out infinite alternate}
@keyframes jglglow{from{opacity:.25}to{opacity:.65}}
.jgl-pill{fill:#86198F}
.jgl-pt{fill:#fff;font-size:12px;font-weight:900;text-anchor:middle;font-variant-numeric:tabular-nums}
.jgl-plus .jgl-pill{fill:#059669}.jgl-plus .jgl-hit{stroke:#34D399;fill:rgba(52,211,153,.13)}
.jgl-warn .jgl-pill{fill:#DC2626}.jgl-warn .jgl-hit{stroke:#F87171;fill:rgba(248,113,113,.12)}
.jgl-lk{cursor:not-allowed}.jgl-lk .jgl-pill{fill:#94A3B8}.jgl-lk .jgl-hit{stroke:#CBD5E1;fill:rgba(148,163,184,.1)}.jgl-lk .jgl-tgl{display:none}
.jgl-ai{fill:#000;font-size:13px;text-anchor:end}
.jgl-off{pointer-events:none}.jgl-off .jgl-pill,.jgl-off .jgl-pt,.jgl-off .jgl-ai{opacity:.3}.jgl-off .jgl-tgl{animation:none;opacity:.15}
.jgl-me{transition:transform .38s var(--ease)}
.jgl-me.jgl-fall{transition:transform .45s cubic-bezier(.55,0,1,.55)}
.jgl-mec{fill:#fff;stroke:#C026D3!important;stroke-width:2.5}
.jgl-mee{fill:#000;font-size:22px;text-anchor:middle}
.jgl-arm{fill:none;stroke:#86198F;stroke-width:5;stroke-linecap:round;stroke-dasharray:200;stroke-dashoffset:200;animation:jglarm .3s ease-out forwards}
@keyframes jglarm{to{stroke-dashoffset:0}}
.jgl-ws{fill:none;stroke:rgba(134,25,143,.45);stroke-width:4;stroke-linecap:round;animation:jglws .75s linear forwards;opacity:0}
@keyframes jglws{0%{opacity:0;transform:translateX(0)}20%{opacity:1}100%{opacity:0;transform:translateX(470px)}}
.jgl-rest{display:block;width:100%;margin-top:10px;padding:13px;border:0;border-radius:14px;background:#059669;color:#fff;font:inherit;font-size:15px;font-weight:900;cursor:pointer;touch-action:manipulation}
.jgl-log{min-height:2.4em;margin-top:8px}
.jgl-ln{margin:0;padding:9px 12px;border-radius:14px;background:#F8FAFC;border:1px solid #E2E8F0;font-size:12.5px;font-weight:700;line-height:1.7;color:#334155;animation:pop .3s}
.jgl-ln>b{color:#3B0A45;margin-right:4px}.jgl-ln i{margin-left:6px;font-style:normal;font-size:11.5px;color:#86198F;font-weight:900;white-space:nowrap}
.jgl-bad{color:#DC2626;font-weight:900}.jgl-good{color:#047857;font-weight:900}.jgl-wsafe{color:#C2410C;font-weight:800}
/* 20年の記録 */
.jgl-tw{margin-top:12px}
.jgl-twh{margin:0 0 6px;font-size:12px;font-weight:800;color:#4A044E}
.jgl-tl{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:3px}
.jgl-tl li{min-width:0;padding:3px 0 4px;border-radius:8px;background:#F8FAFC;border:1px solid #E2E8F0;text-align:center;line-height:1.15}
.jgl-tl small{display:block;font-size:9px;font-weight:800;color:#94A3B8}
.jgl-tl b{display:block;font-size:13px;line-height:1.3}
.jgl-tl em{display:block;font-style:normal;font-size:9.5px;font-weight:900;color:#86198F;font-variant-numeric:tabular-nums}
.jgl-tl .jgl-tw2{border-color:#FDBA74;background:#FFF7ED}
.jgl-tl .jgl-tg2{background:#F0FDF4;border-color:#BBF7D0}.jgl-tl .jgl-tm{background:#FDF4FF;border-color:#F5D0FE}.jgl-tl .jgl-tb{background:#FEF2F2;border-color:#FECACA}
.jgl-tl .jgl-tnow{border:2px solid #86198F;background:#fff}
/* 結果：タイプと大きな数字 */
.jgl-ty{margin:14px 0 4px;padding:16px 14px;border-radius:20px;background:#3B0A45;color:#FAE8FF;text-align:center}
.jgl-tyl{margin:0;font-size:12px;font-weight:800;color:#F0ABFC}
.jgl-tyn{margin:4px 0 0;font-size:22px;font-weight:900;color:#fff;line-height:1.4}.jgl-tyn span{margin-right:6px}
.jgl-tyd{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.7}
.jgl-kp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed rgba(250,232,255,.25)}
.jgl-kp>div{min-width:0;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.07)}
.jgl-kp small{display:block;font-size:11.5px;font-weight:800;line-height:1.45;color:#F5D0FE}
.jgl-kp b{display:block;margin-top:4px;font-size:clamp(40px,13vw,56px);font-weight:900;line-height:1.05;color:#FCD34D;font-variant-numeric:tabular-nums}.jgl-kp div+div b{color:#F0ABFC}
.jgl-kp b i{margin-left:2px;font-style:normal;font-size:.42em}
.jgl-kp em{display:block;margin-top:4px;font-style:normal;font-size:11px;font-weight:700;color:#FAE8FF;line-height:1.5;overflow-wrap:anywhere}
.jgl-aiv{margin:10px 0 0;font-size:12px;font-weight:700;line-height:1.6;color:#F5D0FE}.jgl-aiv b{color:#fff}
/* ふりかえり */
.jgl-mw{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.jgl-mf{margin:0;min-width:0;padding:8px;border-radius:14px;background:#FDF4FF;border:1px solid #F5D0FE}
.jgl-mf figcaption{display:flex;flex-direction:column;gap:1px;margin-bottom:6px;font-size:11.5px;font-weight:900;color:#3B0A45;line-height:1.35}
.jgl-mf figcaption b{font-size:16px;color:#86198F}.jgl-mf figcaption span{font-size:10px;color:#64748B;font-weight:800}
.jgl-mf svg{display:block;width:100%!important;height:auto!important;stroke:none!important;fill:none!important}
.jgl-mf text{stroke:none}
.jgl-mp{fill:none;stroke:#E9D5FF;stroke-width:1.5}
.jgl-mb{fill:none;stroke:#C4B5FD;stroke-width:2;stroke-linecap:round}
.jgl-mg{fill:none;stroke:#E2E8F0;stroke-width:1.2;stroke-dasharray:2 2}
.jgl-ml{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.jgl-ml.jgl-you{stroke:#C026D3}.jgl-ml.jgl-aib{stroke:#64748B}.jgl-ml.jgl-best{stroke:#059669}
.jgl-me2.jgl-you{fill:#C026D3}.jgl-me2.jgl-aib{fill:#64748B}.jgl-me2.jgl-best{fill:#059669}
.jgl-mx{fill:#DC2626;font-size:10px;font-weight:900;text-anchor:middle}
.jgl-gd{margin:12px 0 4px;padding:10px 12px;border-radius:14px;background:#F0FDF4}
.jgl-gd>b{display:block;font-size:12.5px;color:#065F46;margin-bottom:6px}
.jgl-gd ol{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:3px}
.jgl-gd li{min-width:0;text-align:center;line-height:1.2}.jgl-gd small{display:block;font-size:9px;color:#64748B;font-weight:800}.jgl-gd span{display:block;font-size:13px}.jgl-gd em{display:block;font-style:normal;font-size:9.5px;font-weight:900;color:#047857}
.jgl .sbd-tl{grid-template-columns:repeat(10,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}.jgl-ch span{font-size:9.5px}.jgl-ch i{font-size:15px}.jgl-mw{gap:5px}.jgl-mf{padding:6px}.jgl-kp b{font-size:38px}}
@media(prefers-reduced-motion:reduce){.res,.end,.jgl-wf,.jgl-ln{animation:none}.jgl-wob,.jgl-tgl,.jgl-arm,.jgl-ws,.jgl-drop{animation:none}.jgl-wrap,.jgl-me,.jgl-sbw i{transition:none}}
