.bou{--ac:#2E3F99;--ac2:#DDE3FF;--acg:linear-gradient(90deg,#2E3F99,#4F5FD1 50%,#F59E0B)}
.bou [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(46,63,153,.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:#1E2A6B;line-height:1.7}
.doc{margin-top:10px;padding:12px 14px;border-radius:16px;border:2px solid #E2E8F0;background:#fff}
.doc.wk{border-color:#EEF1FF;background:#EEF1FF}
.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%,#C7D0FF 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,#2E3F99,#4F5FD1);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(46,63,153,.3)}
.aiad{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:10px 12px;border-radius:18px;background:#EEF1FF;border:1px solid #C7D0FF}
.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 #C7D0FF}
.aiad div{min-width:0}.aiad small{font-size:11px;font-weight:800;color:#2E3F99}
.aiad p{margin:4px 0 0;font-size:13.5px;line-height:1.65;font-weight:700;color:#111A47}
.aiput{margin-top:8px;min-height:40px;padding:8px 14px;border:0;border-radius:99px;background:#2E3F99;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%;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}
.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:#111A47;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)}
/* はじめの説明（ホールドの種類） */
.bou-kd{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}
.bou-kd p{display:grid;grid-template-columns:34px 1fr;column-gap:8px;align-items:center;margin:0;padding:8px 10px;border-radius:12px;background:#F8FAFC;border:1px solid #E2E8F0;font-size:11.5px;font-weight:700;line-height:1.45;color:#334155}
.bou-kd b{display:block;font-size:12.5px;font-weight:900;color:#111A47}
.bou-k{grid-row:span 2;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-size:18px;line-height:1}
.bou-ks{background:#C9A27E;box-shadow:inset 0 -3px 0 rgba(0,0,0,.18)}.bou-kf{background:#FEF3C7;box-shadow:0 0 0 2px #F59E0B}.bou-kr{background:#6EE7B7;box-shadow:0 0 0 3px #10B981}.bou-kg{background:#FDE68A;box-shadow:0 0 0 3px #EAB308}
.bou-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}
/* 壁の名前 */
.bou-wh{padding:12px 14px;border-radius:18px;background:#111A47;color:#DDE3FF}.bou-wh>b{display:block;font-size:16px;font-weight:900;color:#fff;line-height:1.5}
.bou-wh p{margin:6px 0 0;font-size:13px;line-height:1.75;font-weight:700}.bou-wh p b{color:#FCD34D;font-weight:900}
.bou-wh p span{display:block;margin-top:4px;color:#A5B4FC;font-weight:800}
/* 体力・手・高さ */
.bou-st{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin:10px 0 8px;padding:8px 10px;border-radius:14px;background:#F8FAFC;border:1px solid #E2E8F0}
.bou-hd{font-size:12.5px;font-weight:800;color:#334155;line-height:1.35;min-width:5.6em}.bou-hd b{font-size:15px;color:#2E3F99}.bou-hd.bou-R b{color:#B45309}.bou-hd small{display:block;font-size:10.5px;color:#DC2626}
.bou-sb{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px;min-width:0}
.bou-sb small,.bou-ht small{font-size:10.5px;font-weight:800;color:var(--ink2);white-space:nowrap}
.bou-gg{position:relative;height:12px;border-radius:99px;background:#E2E8F0;overflow:hidden}.bou-gg i{position:absolute;left:0;top:0;bottom:0;border-radius:99px;background:linear-gradient(90deg,#10B981,#34D399);transition:width .35s}.bou-gg i.bou-low{background:linear-gradient(90deg,#DC2626,#F97316)}
.bou-sb b{font-size:16px;font-weight:900;color:#111A47;font-variant-numeric:tabular-nums;min-width:1.8em;text-align:right}
.bou-ht{text-align:right;line-height:1.2}.bou-ht b{display:block;font-size:17px;font-weight:900;color:#2E3F99;font-variant-numeric:tabular-nums}
/* 壁 */
.bou-ww{position:relative;border-radius:18px;overflow:hidden;background:#3A2F2A;box-shadow:inset 0 0 0 2px rgba(46,63,153,.25)}
.bou-ww svg.bou-wall,.bou svg.bou-mini{display:block;width:100%!important;height:auto!important;stroke:none;fill:none;overflow:hidden}
:where(.bou-wall,.bou-mini) text{fill:#000;stroke:none;text-anchor:middle}
.bou-wall{touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;cursor:pointer;outline:none}
.bou-wall:focus-visible{box-shadow:inset 0 0 0 3px #FCD34D}
.bou-wb{fill:#E9DFD2}.bou-dt{fill:#CDBEAA;stroke:none}
.bou-gl{stroke:#C8B79F;stroke-width:.3;stroke-dasharray:1.2 1.2;fill:none}
.bou .bou-gm{font-size:2.8px;font-weight:800;fill:#8A7560;text-anchor:start}
.bou-gd{fill:#7C6A58}
.bou-rc{fill:rgba(46,63,153,.13);stroke:#2E3F99;stroke-width:.5;stroke-dasharray:1.4 1.1}
.bou-h{transition:opacity .2s}
.bou-hc{stroke-width:.6}
.bou-ts .bou-hc{fill:#B98B63;stroke:#7A5535}
.bou-tf .bou-hc{fill:#FEF3C7;stroke:#F59E0B;stroke-width:.75;stroke-dasharray:1.3 .7}
.bou-tr .bou-hc{fill:#6EE7B7;stroke:#059669;stroke-width:1}
.bou-tg .bou-hc{fill:#FDE68A;stroke:#CA8A04;stroke-width:1}
.bou-h.bou-dim{opacity:.42}
.bou-h.bou-ok .bou-hc{stroke:#fff;stroke-width:1.1;stroke-dasharray:none;filter:drop-shadow(0 0 1.6px #FDE047)}
.bou-h.bou-ok.bou-tf .bou-hc{stroke:#F97316}
.bou-h.bou-used.bou-tr .bou-hc{fill:#A7F3D0}
.bou-sr{fill:none;stroke:#2E3F99;stroke-width:1.1;animation:bousel 1s ease-in-out infinite alternate}
@keyframes bousel{from{stroke-opacity:1}to{stroke-opacity:.35}}
.bou .bou-aib{text-anchor:middle}
.bou-crk{animation:boucrk .55s ease-in forwards}
@keyframes boucrk{0%,30%{opacity:1}100%{opacity:0}}
.bou-crk .bou-hc{fill:#FCA5A5;stroke:#DC2626}
.bou-arm{stroke:#2E3F99;stroke-width:1.5;stroke-linecap:round;fill:none}
.bou-bd{stroke:#111A47;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none}
.bou-hdc{fill:#FCD9B6;stroke:#111A47;stroke-width:.6}
.bou-hl{fill:#2E3F99;stroke:#fff;stroke-width:.4}.bou-hr{fill:#D97706;stroke:#fff;stroke-width:.4}
.bou-man{pointer-events:none}
#buman{pointer-events:none}
.bou-bnr{position:absolute;left:50%;top:8px;transform:translate(-50%,0) scale(.85);max-width:92%;margin:0;padding:7px 14px;border-radius:14px;font-size:13.5px;font-weight:900;text-align:center;line-height:1.45;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s}
.bou-bnr.bou-bad{opacity:1;transform:translate(-50%,0);background:#DC2626;color:#fff;box-shadow:0 10px 30px rgba(220,38,38,.4)}
.bou-bnr.bou-good{opacity:1;transform:translate(-50%,0);background:#15803D;color:#fff;box-shadow:0 10px 30px rgba(21,128,61,.35)}
.bou-bnr.bou-mid{opacity:1;transform:translate(-50%,0);background:#B45309;color:#fff;box-shadow:0 10px 30px rgba(180,83,9,.35)}
/* 選んだホールドの説明 */
.bou-in{display:flex;gap:10px;align-items:flex-start;min-height:62px;margin-top:10px;padding:10px 12px;border-radius:14px;background:#F8FAFC;border:1px solid #E2E8F0}
.bou-in>div{min-width:0}
.bou-ih{margin:0;font-size:12.5px;font-weight:700;line-height:1.65;color:#334155}.bou-ih.bou-no{color:#DC2626}
.bou-ii{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;font-size:21px;line-height:1;background:#B98B63}
.bou-ii.bou-tf{background:#FEF3C7;box-shadow:0 0 0 2px #F59E0B}.bou-ii.bou-tr{background:#6EE7B7}.bou-ii.bou-tg{background:#FDE68A}
.bou-in b{display:block;font-size:14px;font-weight:900;color:#111A47;line-height:1.45}
.bou-in small{display:block;font-size:11.5px;font-weight:700;color:var(--ink2);line-height:1.5}.bou-in small em{font-style:normal;font-weight:900;color:#2E3F99}
.bou-in i{display:block;margin-top:3px;font-style:normal;font-size:11.5px;font-weight:800;line-height:1.5}
.bou-wbad{color:#DC2626}.bou-wmid{color:#B45309}.bou-wok{color:#15803D}
.bou-bt{display:grid;grid-template-columns:1fr 76px;gap:8px;margin-top:10px}
.bou-stop{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:52px;padding:4px;border:2px solid #E2E8F0;border-radius:16px;background:#fff;font:inherit;font-size:18px;line-height:1.1;cursor:pointer;touch-action:manipulation;color:#334155}
.bou-stop small{font-size:10.5px;font-weight:800;margin-top:2px}.bou-stop:disabled{opacity:.4;cursor:default}
/* 1つの壁の結果 */
.bou-rcp{margin:2px 0 0;font-size:11.5px;font-weight:700;color:#7F1D1D}
.bou-rs{margin:6px 0 0;font-size:12.5px;font-weight:700;line-height:1.6;color:#334155}.bou-rs b{color:#DC2626}
/* 結果：タイプと大きな数字 */
.bou-ty{margin:14px 0 4px;padding:16px 14px;border-radius:20px;background:#111A47;color:#DDE3FF;text-align:center}
.bou-tyl{margin:0;font-size:12px;font-weight:800;color:#A5B4FC}
.bou-tyn{margin:4px 0 0;font-size:22px;font-weight:900;color:#fff;line-height:1.4}.bou-tyn span{margin-right:6px}
.bou-tyd{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.7}
.bou-kp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed rgba(221,227,255,.25)}
.bou-kp>div{min-width:0;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.07)}
.bou-kp small{display:block;font-size:11.5px;font-weight:800;line-height:1.45;color:#C7D0FF}
.bou-kp b{display:block;margin-top:4px;font-size:clamp(34px,11vw,50px);font-weight:900;line-height:1.05;color:#FCD34D;font-variant-numeric:tabular-nums}.bou-kp div+div b{color:#A5B4FC}
.bou-kp b i{margin-left:2px;font-style:normal;font-size:.42em}
.bou-kp em{display:block;margin-top:4px;font-style:normal;font-size:11px;font-weight:700;color:#DDE3FF;line-height:1.5}
.bou-ai{margin:10px 0 0;font-size:12px;font-weight:700;line-height:1.6;color:#C7D0FF}.bou-ai b{color:#fff}
/* ふりかえり */
.bou-cy{color:#B45309}.bou-cg{color:#15803D}.bou-cr{color:#DC2626}
.bou-rv{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:6px}
.bou-fg{margin:0;min-width:0;padding:6px;border-radius:14px;background:#F8FAFC;border:1px solid #E2E8F0}
.bou-fg figcaption{display:flex;flex-direction:column;gap:1px;margin-bottom:5px;font-size:10.5px;font-weight:800;line-height:1.4}
.bou-fg figcaption b{font-size:12px;color:#111A47}
.bou-mini{border-radius:8px}
.bou-md{stroke:none}.bou-md.bou-ts{fill:#B98B63}.bou-md.bou-tf{fill:#FCD34D}.bou-md.bou-tr{fill:#34D399}.bou-md.bou-tg{fill:#EAB308}
.bou-ly{fill:none;stroke:#D97706;stroke-width:1.9;stroke-linejoin:round;stroke-linecap:round}
.bou-lg{fill:none;stroke:#16A34A;stroke-width:1.6;stroke-dasharray:2.4 1.6;stroke-linejoin:round}
.bou-lr{fill:none;stroke:#DC2626;stroke-width:1.3;stroke-linejoin:round;opacity:.85}
.bou .bou-x{font-size:7px;font-weight:900;fill:#DC2626}
.bou .sbd-tl{grid-template-columns:repeat(3,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}.bou-st{gap:6px;padding:7px 8px}.bou-hd{min-width:4.8em;font-size:11.5px}.bou-hd b{font-size:13.5px}.bou-ht b{font-size:15px}.bou-sb b{font-size:14px}.bou-bt{grid-template-columns:1fr 64px}.bou-kp b{font-size:32px}.bou-kd p{grid-template-columns:28px 1fr;padding:7px 8px}.bou-k{width:28px;height:28px;font-size:15px}}
@media(prefers-reduced-motion:reduce){.res,.end{animation:none}.bou-sr,.bou-crk{animation:none}.bou-gg i,.bou-h{transition:none}}
