.trp{--ac:#7A2BB8;--ac2:#F3E8FF;--acg:linear-gradient(90deg,#7A2BB8,#A855F7 50%,#F59E0B)}
.trp [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(126,34,206,.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:#581C87;line-height:1.7}
.doc{margin-top:10px;padding:12px 14px;border-radius:16px;border:2px solid #E2E8F0;background:#fff}
.doc.wk{border-color:#FAF5FF;background:#FAF5FF}
.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%,#E9D5FF 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,#7A2BB8,#9333EA);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(126,34,206,.3)}
.aiad{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:10px 12px;border-radius:18px;background:#FAF5FF;border:1px solid #E9D5FF}
.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 #E9D5FF}
.aiad div{min-width:0}.aiad small{font-size:11px;font-weight:800;color:#7A2BB8}
.aiad p{margin:4px 0 0;font-size:13.5px;line-height:1.65;font-weight:700;color:#1E0B33}
.aiput{margin-top:8px;padding:8px 14px;border:0;border-radius:99px;background:#7A2BB8;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:#7A2BB8}.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:#1E0B33;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)}
/* はじめの説明（3つの返事） */
.trp-kd{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}
.trp-kd p{margin:0;padding:8px 6px;border-radius:12px;background:#F8FAFC;border:1px solid #E2E8F0;font-size:11.5px;font-weight:700;line-height:1.45;color:#334155;text-align:center}
.trp-kd p:nth-child(1){border-color:#BAE6FD;background:#F0F9FF}.trp-kd p:nth-child(2){border-color:#E9D5FF;background:#FAF5FF}.trp-kd p:nth-child(3){border-color:#FDE68A;background:#FFFBEB}
.trp-kd span{display:block;font-size:20px;line-height:1.2}.trp-kd b{display:block;font-size:13px;font-weight:900;color:#1E0B33}
.trp-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}
/* 相手のカード */
.trp-who{--pc:#7A2BB8;display:grid;grid-template-columns:46px 1fr auto;gap:10px;align-items:start;padding:10px 12px;border-radius:18px;background:#1E0B33;color:#F3E8FF;border-left:6px solid var(--pc)}
.trp-av{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font-size:28px;line-height:1;background:rgba(255,255,255,.12)}
.trp-who>div{min-width:0}.trp-who b{display:block;font-size:14.5px;font-weight:900;line-height:1.45;color:#fff}.trp-who b small{margin-left:6px;font-size:11.5px;font-weight:800;color:#D8B4FE}
.trp-who p{margin:3px 0 0;font-size:12.5px;font-weight:700;line-height:1.6;color:#F3E8FF}.trp-who p b{display:inline;font-size:inherit;color:#FCD34D}
.trp-ht{font-size:12px;letter-spacing:-.05em;white-space:nowrap;padding-top:2px}
/* 相手の言葉と風 */
.trp-q{position:relative;margin-top:10px;padding:12px 14px;border-radius:18px;background:#FAF5FF;border:2px solid #E9D5FF}
.trp-qn{display:inline-block;padding:2px 8px;border-radius:99px;background:#7A2BB8;color:#fff;font-size:11px;font-weight:900}
.trp-q b{display:block;margin-top:6px;font-size:17px;font-weight:900;line-height:1.5;color:#1E0B33}
.trp-q small{display:block;margin-top:4px;font-size:12px;font-weight:700;line-height:1.5;color:#6B21A8}
.trp-wd{margin:8px 0 6px;font-size:12.5px;font-weight:900;line-height:1.4}.trp-wdl{color:#0369A1}.trp-wdr{color:#B45309;text-align:right}
/* 綱の絵 */
.trp-sw{position:relative;border-radius:18px;overflow:hidden;background:#F5EEFF;box-shadow:inset 0 0 0 1px #E9D5FF;touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:ew-resize}
.trp-sc{display:block;width:100%!important;height:auto!important;fill:none!important;stroke:none!important;stroke-width:0;touch-action:pan-y}
.trp-sc:focus-visible,.trp-mt:focus-visible{outline:3px solid #A855F7;outline-offset:2px}
.trp-sc text{stroke:none;fill:#1E0B33;text-anchor:middle;font-weight:900}
.trp-city rect{fill:#E9D5FF}
.trp-post{stroke:#6B21A8;stroke-width:5;stroke-linecap:round}
.trp-rope{stroke:#5B3A7A;stroke-width:2.6;stroke-linecap:round;fill:none}
.trp-dot{fill:#fff;stroke:#7A2BB8;stroke-width:1.6}.trp-dot.trp-done{fill:#7A2BB8}
.trp-fp{stroke:#1E0B33;stroke-width:2}
.trp-wn{stroke-width:2.4;stroke-linecap:round;opacity:.85;animation:trp-wgo 1.2s linear infinite}
.trp-wgl{stroke:#38BDF8;animation-name:trp-wbk}.trp-wgr{stroke:#F59E0B}
@keyframes trp-wgo{0%{transform:translateX(-40px);opacity:0}15%{opacity:.9}85%{opacity:.9}100%{transform:translateX(330px);opacity:0}}
@keyframes trp-wbk{0%{transform:translateX(330px);opacity:0}15%{opacity:.9}85%{opacity:.9}100%{transform:translateX(-40px);opacity:0}}
.trp-leg,.trp-tor{stroke:#1E0B33;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round;fill:none}
.trp-head{fill:#FDE68A;stroke:#1E0B33;stroke-width:2}
.trp-arm{stroke:#1E0B33;stroke-width:2.4;stroke-linecap:round}
.trp-pl{stroke:#B45309;stroke-width:3.2;stroke-linecap:round}
.trp-plw{stroke:#1E0B33;stroke-width:1.4}.trp-plL{fill:#0EA5E9}.trp-plR{fill:#F59E0B}
.trp-dh{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);margin:0;padding:4px 10px;border-radius:99px;background:rgba(30,11,51,.78);color:#fff;font-size:11.5px;font-weight:800;white-space:nowrap;pointer-events:none;transition:opacity .3s}
.trp-dh.trp-hide{opacity:0}
/* メーター */
.trp-mw{margin-top:10px}
.trp-mt{position:relative;display:flex;height:26px;border-radius:99px;overflow:hidden;touch-action:pan-y;cursor:ew-resize;box-shadow:inset 0 0 0 1px rgba(15,23,42,.12)}
.trp-mt i{display:block;height:100%}
.trp-mx{flex:0 0 14.2857%;background:repeating-linear-gradient(135deg,#FECACA 0 6px,#FCA5A5 6px 12px)}
.trp-m0{flex:0 0 23.2143%;background:#BAE6FD}.trp-m1{flex:0 0 25%;background:#E9D5FF}.trp-m2{flex:0 0 23.2143%;background:#FDE68A}
.trp-nd{position:absolute;top:-2px;bottom:-2px;left:50%;width:8px;margin-left:-4px;border-radius:99px;background:#1E0B33;box-shadow:0 0 0 2px #fff;transition:left .08s linear}
.trp-nd.trp-ndx{background:#DC2626}
.trp-ml{display:grid;grid-template-columns:14.2857% 23.2143% 25% 23.2143% 14.2857%;margin:4px 0 0;font-size:11px;font-weight:900;text-align:center;color:#334155}
.trp-ml span:first-child,.trp-ml span:last-child{color:#DC2626}
/* 返事と ◀▶ */
.trp-ctl{display:grid;grid-template-columns:52px 1fr 52px;gap:8px;align-items:stretch;margin-top:10px}
.trp-ar{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:64px;padding:4px;border:0;border-radius:16px;background:#F3E8FF;color:#581C87;font:inherit;font-size:20px;font-weight:900;cursor:pointer;touch-action:manipulation;user-select:none;-webkit-user-select:none}
.trp-ar small{font-size:10px;font-weight:900;line-height:1.2;text-align:center;overflow-wrap:anywhere}
.trp-ar:disabled{opacity:.4;cursor:default}
.trp-re{min-width:0;padding:8px 12px;border-radius:16px;border:2px solid #E9D5FF;background:#fff;transition:border-color .2s,background .2s}
.trp-re p{margin:4px 0 0;font-size:13.5px;font-weight:800;line-height:1.6;color:#1E0B33}
.trp-zt{display:inline-flex;align-items:baseline;gap:6px;padding:2px 10px;border-radius:99px;color:#fff;font-size:12px;font-weight:900}.trp-zt small{font-size:10.5px;font-weight:800;opacity:.9}
.trp-z0{border-color:#7DD3FC;background:#F0F9FF}.trp-z0 .trp-zt{background:#0284C7}
.trp-z1{border-color:#D8B4FE;background:#FAF5FF}.trp-z1 .trp-zt{background:#7A2BB8}
.trp-z2{border-color:#FCD34D;background:#FFFBEB}.trp-z2 .trp-zt{background:#D97706}
.trp-re em{display:block;margin-top:4px;font-style:normal;font-size:12px;font-weight:900;color:#DC2626}
.trp-re.trp-dg{border-color:#F87171;background:#FEF2F2}
/* 1歩の結果 */
.trp-hd{display:inline-block;margin-top:2px;padding:1px 8px;border-radius:99px;background:#FEE2E2;color:#B91C1C;font-size:12px;font-weight:900}
.trp-said{margin:8px 0 0;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.75);font-size:13px;font-weight:700;line-height:1.6;color:#1E0B33}.trp-said small{display:block;font-size:11px;font-weight:900;color:#6B21A8}
.trp-rq{display:flex;gap:8px;align-items:flex-start;margin:8px 0 0;font-size:13.5px;font-weight:800;line-height:1.6;color:#1E0B33}.trp-rq span{flex:none;font-size:22px;line-height:1.2}
.trp-goal{margin:10px 0 0;padding:8px 10px;border-radius:12px;background:#1E0B33;color:#FCD34D;font-size:13.5px;font-weight:900;line-height:1.55}
/* 5人×5歩の記録 */
.trp-hs{margin-top:14px;padding-top:12px;border-top:1px dashed #E9D5FF}
.trp-hst{margin:0 0 8px;font-size:12px;font-weight:900;color:#581C87}
.trp-tr{margin:0;padding:0;list-style:none;display:grid;gap:4px}
.trp-tr li{display:grid;grid-template-columns:28px repeat(5,minmax(0,1fr));gap:4px;align-items:center;padding:3px 6px;border-radius:10px}
.trp-tr li.trp-tnow{background:#FAF5FF;box-shadow:inset 0 0 0 1px #E9D5FF}
.trp-tr span{font-size:18px;line-height:1;text-align:center}
.trp-tr i{display:grid;place-items:center;height:20px;border-radius:6px;background:#F1F5F9;font-style:normal;font-size:11px;line-height:1}
.trp-tr i.trp-tg{background:#86EFAC}.trp-tr i.trp-tm{background:#FDE68A}.trp-tr i.trp-tb{background:#FECACA}.trp-tr i.trp-tc{background:#fff;box-shadow:inset 0 0 0 2px #7A2BB8}
/* 結果 */
.trp .sbd-tl{grid-template-columns:repeat(5,minmax(0,1fr))}
.trp-ty{margin:14px 0 4px;padding:16px 14px;border-radius:20px;background:#1E0B33;color:#F3E8FF;text-align:center}
.trp-tyl{margin:0;font-size:12px;font-weight:800;color:#D8B4FE}
.trp-tyn{margin:4px 0 0;font-size:22px;font-weight:900;color:#fff;line-height:1.4}.trp-tyn span{margin-right:6px}
.trp-tyd{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.7}
.trp-kp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed rgba(243,232,255,.25)}
.trp-kp>div{min-width:0;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.07)}
.trp-kp small{display:block;font-size:11.5px;font-weight:800;line-height:1.45;color:#E9D5FF}
.trp-kp b{display:block;margin-top:4px;font-size:clamp(36px,12vw,50px);font-weight:900;line-height:1.05;color:#FCD34D;font-variant-numeric:tabular-nums}.trp-kp div+div b{color:#E9D5FF}
.trp-kp b i{margin-left:2px;font-style:normal;font-size:.42em}
.trp-kp em{display:block;margin-top:4px;font-style:normal;font-size:11px;font-weight:700;color:#F3E8FF;line-height:1.5}
.trp-ai{margin:10px 0 0;font-size:12px;font-weight:700;line-height:1.6;color:#E9D5FF}.trp-ai b{color:#fff}
/* ふりかえり */
.trp-rb{margin:0 0 12px;padding:10px 12px;border-radius:14px;background:#FAFAFF;border:1px solid #EDE9FE}
.trp-rh{margin:0 0 6px;padding-left:8px;border-left:5px solid var(--pc);font-size:14px;font-weight:900;color:#1E0B33}
.trp-rb ol{margin:0;padding:0;list-style:none;display:grid;gap:6px}
.trp-rb li{padding:7px 9px;border-radius:10px;background:#fff;border-left:4px solid #CBD5E1;font-size:12.5px;line-height:1.6}
.trp-rb li.trp-rg{border-left-color:#22C55E}.trp-rb li.trp-rm{border-left-color:#F59E0B}.trp-rb li.trp-rx{border-left-color:#EF4444}
.trp-rb li>b{display:block;color:#1E0B33}
.trp-ry,.trp-ri{display:block;font-weight:700;color:#334155}
.trp-rb li i{display:inline-block;padding:0 7px;border-radius:99px;font-style:normal;font-size:11px;font-weight:900;color:#fff}
.trp-c0{background:#0284C7}.trp-c1{background:#7A2BB8}.trp-c2{background:#D97706}
@media(max-width:360px){.game{padding:12px}.ghud{gap:4px;font-size:10.5px;letter-spacing:-.02em}.ghud b{font-size:14px}.trp-who{grid-template-columns:40px 1fr;padding:9px 10px}.trp-av{width:40px;height:40px;font-size:24px}.trp-ht{grid-column:1/-1;grid-row:2}.trp-q b{font-size:15.5px}.trp-ctl{grid-template-columns:46px 1fr 46px;gap:6px}.trp-re p{font-size:12.5px}.trp-ml{font-size:9.5px}.trp-kp b{font-size:34px}.trp-kd p{font-size:10.5px}}
@media(prefers-reduced-motion:reduce){.res,.end{animation:none}.trp-wn{animation:none;opacity:.6}.trp-nd,.trp-re,.trp-dh{transition:none}}
