.rbr{--ac:#C026D4;--ac2:#FAE8FF;--acg:linear-gradient(90deg,#C026D4,#D946EF 50%,#22C55E)}
.rbr [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(192,38,212,.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,#A21CAF,#C026D4);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(192,38,212,.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:#A21CAF}
.aiad p{margin:4px 0 0;font-size:13.5px;line-height:1.65;font-weight:700;color:#2A0A2E}
.aiput{margin-top:8px;min-height:40px;padding:8px 14px;border:0;border-radius:99px;background:#A21CAF;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,#16A34A,#22C55E);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;touch-action:manipulation;box-shadow:0 8px 20px rgba(22,163,74,.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:#C026D4}.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:#2A0A2E;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)}
/* はじめの説明 */
.rbr-kd{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}
.rbr-kd p{margin:0;padding:8px 10px;border-radius:12px;background:#F8FAFC;border:1px solid #E2E8F0;font-size:12px;font-weight:700;line-height:1.5;color:#334155}
.rbr-kd span{display:block;font-size:18px;line-height:1.2}.rbr-kd b{display:block;font-size:12.5px;font-weight:900;color:#2A0A2E}
.rbr-who{margin:10px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.rbr-who li{min-width:0;display:grid;grid-template-columns:32px 1fr;gap:0 6px;padding:8px;border-radius:12px;background:#FDF4FF;border:1px solid #F5D0FE}
.rbr-who span{grid-row:span 2;font-size:24px;line-height:1.2}.rbr-who b{font-size:13px;font-weight:900;color:#2A0A2E;line-height:1.4}.rbr-who b small{margin-left:4px;font-size:10.5px;color:#A21CAF}
.rbr-who em{font-style:normal;font-size:11px;font-weight:700;color:#475569;line-height:1.5}
.rbr-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}
/* その期の出来事 */
.rbr-qc{padding:12px 14px;border-radius:18px;background:#2A0A2E;color:#FAE8FF}.rbr-qc>b{display:block;font-size:16px;font-weight:900;color:#fff;line-height:1.5}
.rbr-qc p{margin:6px 0 0;font-size:13.5px;line-height:1.75;font-weight:700}.rbr-qc p b{color:#FDE68A;font-weight:900}
/* ゴムかけ板 */
.rbr-bw{position:relative;margin-top:12px;border-radius:18px;overflow:hidden;box-shadow:inset 0 0 0 2px rgba(120,53,15,.18)}
.rbr-bw svg.rbr-bd{display:block;width:100%!important;height:auto!important;stroke:none;fill:none;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;outline:none}
.rbr-bw svg.rbr-bd:focus-visible{box-shadow:0 0 0 3px #C026D4}
.rbr-wood{fill:#F3E3C7}
.rbr-lane{fill:rgba(255,255,255,.28);stroke:none}.rbr-lane-on{fill:rgba(255,255,255,.6)}
.rbr-lv{font-size:9px;font-weight:800;fill:#A16207;stroke:none;text-anchor:middle}
.rbr-peg{fill:#B45309;stroke:#FDE68A;stroke-width:1}
.rbr-anc{fill:#78350F;stroke:#FDE68A;stroke-width:1.5}
.rbr-band{fill:none;stroke-linejoin:round;stroke-linecap:round;transition:stroke .2s}
.rbr-top{fill:#fff;stroke-width:3}
.rbr-zap{font-size:13px;font-weight:900;fill:#B45309;stroke:#fff;stroke-width:3px;paint-order:stroke;text-anchor:middle}
.rbr-boom{font-size:22px;stroke:none;fill:#000;text-anchor:middle}
.rbr-warn{font-size:11px;font-weight:900;fill:#DC2626;stroke:#fff;stroke-width:3px;paint-order:stroke}
.rbr-shk{animation:rbrshk .12s linear infinite}
@keyframes rbrshk{0%{transform:translateX(-1px)}50%{transform:translateX(1px)}100%{transform:translateX(-1px)}}
.rbr-bd.rbr-pop{animation:rbrpop .45s var(--ease)}
@keyframes rbrpop{0%{transform:translateX(0)}20%{transform:translateX(-5px)}40%{transform:translateX(5px)}60%{transform:translateX(-3px)}80%{transform:translateX(2px)}100%{transform:translateX(0)}}
.rbr-dh{position:absolute;left:50%;top:8px;transform:translateX(-50%);margin:0;padding:5px 12px;border-radius:99px;background:rgba(42,10,46,.85);color:#fff;font-size:12px;font-weight:800;white-space:nowrap;pointer-events:none;transition:opacity .3s}
.rbr-dh.rbr-hide{opacity:0}
/* 4人のカード（板の列と同じ並び） */
.rbr-cards{margin:8px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.rbr-pc{min-width:0;display:flex;flex-direction:column;align-items:center;padding:6px 3px 5px;border-radius:14px;background:#F8FAFC;border:2px solid #E2E8F0;text-align:center;transition:background .2s,border-color .2s}
.rbr-pc.rbr-z-loose{background:#F5F3FF;border-color:#DDD6FE}
.rbr-pc.rbr-z-good{background:#F0FDF4;border-color:#86EFAC}
.rbr-pc.rbr-z-tight{background:#FFF7ED;border-color:#FDBA74}
.rbr-pc.rbr-z-over{background:#FEF2F2;border-color:#F87171}
.rbr-pc.rbr-z-brk{background:#F1F5F9;border-color:#CBD5E1}
.rbr-fc{font-size:24px;line-height:1.1}
.rbr-pc>b{max-width:100%;font-size:12.5px;font-weight:900;color:#2A0A2E;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rbr-pc>small{max-width:100%;font-size:10px;font-weight:800;color:#A21CAF;line-height:1.3;overflow-wrap:anywhere}
.rbr-hr{margin-top:2px;font-size:10.5px;font-weight:800;color:#475569;line-height:1.3}.rbr-hr b{font-size:14px;color:#2A0A2E;font-variant-numeric:tabular-nums}
.rbr-zl{font-style:normal;font-size:10.5px;font-weight:900;line-height:1.35;color:#7C3AED}
.rbr-z-good .rbr-zl{color:#16A34A}.rbr-z-tight .rbr-zl{color:#EA580C}.rbr-z-over .rbr-zl{color:#DC2626}.rbr-z-brk .rbr-zl{color:#64748B}
.rbr-ud{display:grid;grid-template-columns:1fr 1fr;gap:3px;width:100%;margin-top:4px}
.rbr-ub{height:44px;min-width:0;padding:0;border:2px solid #F5D0FE;border-radius:10px;background:#fff;color:#A21CAF;font:inherit;font-size:15px;font-weight:900;line-height:1;cursor:pointer;touch-action:manipulation}
.rbr-ub:disabled{opacity:.35;cursor:default}
/* 1期の結果 */
.rbr-rt{margin:6px 0 0;font-size:12px;font-weight:800;color:#64748B}
.rbr-ln{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:6px}
.rbr-ln li{display:grid;grid-template-columns:28px 1fr;gap:2px 8px;padding:7px 10px;border-radius:12px;background:#fff;border-left:4px solid #94A3B8}
.rbr-ln li.rbr-l-ok{border-left-color:#16A34A}.rbr-ln li.rbr-l-mid{border-left-color:#D97706}.rbr-ln li.rbr-l-bad{border-left-color:#DC2626}
.rbr-ln li>span{grid-row:span 2;font-size:20px;line-height:1.3}
.rbr-ln li>b{font-size:13px;line-height:1.45}.rbr-ln b small{margin-left:5px;font-size:11px;color:#A21CAF}
.rbr-ln li>em{font-style:normal;font-size:12.5px;line-height:1.6;color:var(--ink2)}.rbr-ln em i{margin-left:6px;font-style:normal;font-weight:900;color:#A21CAF;white-space:nowrap}
.rbr-why{margin:8px 0 0;font-size:11.5px;color:#64748B}
/* 1年の記録 */
.rbr-hs{margin-top:12px;padding:10px 10px 8px;border-radius:16px;background:#F8FAFC;border:1px solid #E2E8F0}
.rbr-hst{margin:0 0 6px;font-size:12px;font-weight:900;color:#701A75}
.rbr-hl{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.rbr-hl li{min-width:0;padding:5px 2px;border-radius:10px;background:#fff;border:1px solid #E2E8F0;text-align:center;line-height:1.3}
.rbr-hl small{display:block;font-size:10.5px;font-weight:800;color:#64748B}.rbr-hl b{display:block;font-size:13px;font-weight:900;color:#2A0A2E;font-variant-numeric:tabular-nums}
.rbr-hl i{display:block;min-height:14px;font-style:normal;font-size:10px;letter-spacing:-.1em;word-break:break-all}
.rbr-hl li.rbr-hg{background:#F0FDF4;border-color:#86EFAC}.rbr-hl li.rbr-hm{background:#FFFBEB;border-color:#FCD34D}.rbr-hl li.rbr-hb{background:#FEF2F2;border-color:#FCA5A5}
.rbr-hl li.rbr-hnow{border:2px solid #C026D4}
/* 結果：タイプと大きな数字 */
.rbr-ty{margin:14px 0 4px;padding:16px 14px;border-radius:20px;background:#2A0A2E;color:#FAE8FF;text-align:center}
.rbr-tyl{margin:0;font-size:12px;font-weight:800;color:#F0ABFC}
.rbr-tyn{margin:4px 0 0;font-size:22px;font-weight:900;color:#fff;line-height:1.4}.rbr-tyn span{margin-right:6px}
.rbr-tyd{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.7}
.rbr-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)}
.rbr-kp>div{min-width:0;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.07)}
.rbr-kp small{display:block;font-size:11.5px;font-weight:800;line-height:1.45;color:#F5D0FE}
.rbr-kp b{display:block;margin-top:4px;font-size:clamp(34px,11vw,50px);font-weight:900;line-height:1.05;color:#86EFAC;font-variant-numeric:tabular-nums}.rbr-kp div+div b{color:#FDE68A}
.rbr-kp b i{margin-left:2px;font-style:normal;font-size:.42em}
.rbr-kp em{display:block;margin-top:4px;font-style:normal;font-size:11px;font-weight:700;color:#FAE8FF;line-height:1.5}
.rbr-ai{margin:10px 0 0;font-size:12px;font-weight:700;line-height:1.6;color:#F5D0FE}.rbr-ai b{color:#fff}
/* ふりかえり */
.rbr-bxw{display:grid;gap:12px}
.rbr-bx{margin:0;padding:10px;border-radius:14px;background:#F8FAFC;border:1px solid #E2E8F0}
.rbr-bx figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin-bottom:6px;font-size:13px;font-weight:900;color:#2A0A2E}.rbr-bx figcaption b{font-size:16px;color:#C026D4}.rbr-bx figcaption span{font-size:11px;color:#64748B;font-weight:800}
.rbr-tb{width:100%;border-collapse:separate;border-spacing:3px;font-size:12.5px;table-layout:fixed}
.rbr-tb th,.rbr-tb td{padding:5px 2px;text-align:center;line-height:1.3}
.rbr-tb thead th{font-size:11px;color:#64748B;font-weight:800}
.rbr-tb thead th:first-child,.rbr-tb tbody th{width:30%}
.rbr-tb tbody th{text-align:left;font-weight:900;color:#2A0A2E;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
.rbr-tb td{border-radius:8px;font-weight:900;font-size:14px;color:#2A0A2E;font-variant-numeric:tabular-nums}
.rbr-tb td sup{font-size:9px}.rbr-tb td small{display:block;font-size:9px;line-height:1}
.rbr-c-loose{background:#EDE9FE}.rbr-c-good{background:#BBF7D0}.rbr-c-tight{background:#FED7AA}.rbr-c-over,.rbr-c-brk{background:#E2E8F0}
.rbr .sbd-tl{grid-template-columns:repeat(4,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}.rbr-cards{gap:3px}.rbr-pc{padding:5px 2px}.rbr-pc>b{font-size:11.5px}.rbr-hr{font-size:9.5px}.rbr-hr b{font-size:12.5px}.rbr-zl{font-size:9.5px}.rbr-kp b{font-size:32px}.rbr-who{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.res,.end{animation:none}.rbr-shk,.rbr-bd.rbr-pop{animation:none}.rbr-band,.rbr-pc{transition:none}}
