/* Felt, cream and a gold signal; the cue changes instantly, never animates. */
.rt-shell{--rt-gold:#ffd878;--rt-ink:#173f34;--rt-paper:#fff5dc;max-width:600px;margin:auto;padding:22px 24px 38px;color:var(--rt-paper);text-align:center;min-height:80vh}.rt-header{display:flex;justify-content:space-between;margin-bottom:26px}.rt-header a{color:inherit;text-underline-offset:4px}.rt-shell h1{font:700 clamp(2rem,7vw,3rem) Georgia,serif;margin:0 0 12px}.rt-lede{line-height:1.5;margin:0 0 24px}.rt-hud{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-block:1px solid #ffffff30;font-size:.9rem}.rt-input{display:block;margin:20px 0}.rt-input select{font:inherit;background:var(--rt-paper);color:var(--rt-ink);border-radius:8px;padding:10px;margin-left:8px;max-width:100%}.rt-pad{border:2px solid #fff5dc55;border-radius:24px;min-height:240px;padding:28px 20px;margin:22px 0 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#0d3026;color:var(--rt-paper);touch-action:none;user-select:none;cursor:default}.rt-pad.waiting{background:#233e36;border-style:dashed}.rt-pad.cue{background:var(--rt-gold);color:var(--rt-ink);border-color:var(--rt-gold);cursor:pointer}.rt-symbol{font:700 3.4rem Georgia,serif;line-height:1}.rt-pad h2{font-size:clamp(1.6rem,7vw,2.5rem);margin:16px 0 8px}.rt-pad p{font-size:.95rem;max-width:330px;line-height:1.5;margin:0}.rt-shell button{display:block;font:inherit;font-weight:700;background:var(--rt-gold);color:var(--rt-ink);border:0;border-radius:12px;padding:16px 28px;margin:16px auto;min-height:48px;cursor:pointer;touch-action:manipulation}.rt-shell :focus-visible{outline:3px solid #fff;outline-offset:5px}.rt-trials{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;list-style:none;padding:0;margin:28px 0 18px}.rt-trials li{padding:12px 4px;border:1px solid #fff5dc33;border-radius:10px}.rt-trials span{display:block;font-size:.8rem;color:#e0c88d;margin-bottom:8px}.rt-trials strong{font-size:.85rem;white-space:nowrap}.rt-meta,.rt-best,.rt-live-hint{font-size:.85rem;line-height:1.5}.rt-result strong{display:block;font:700 3.4rem Georgia,serif;color:var(--rt-gold);margin:24px 0 8px}.rt-result span{font-size:.95rem}.rt-message{font-size:.9rem;line-height:1.5}.rt-caveat{border-top:1px solid #ffffff30;margin-top:28px;padding-top:20px;font-size:.82rem;line-height:1.6;color:#e8dfc5}.rt-notice{background:#0b2e24;border:1px solid #e3c99380;border-radius:10px;padding:12px;font-size:.88rem}body[data-page-game="reaction"] #app{background:radial-gradient(ellipse at top,#245443,#143c30)}@media(max-width:400px){.rt-shell{padding:16px}.rt-header{margin-bottom:20px}.rt-pad{min-height:215px;padding:20px 14px}.rt-hud{font-size:.8rem}.rt-trials{grid-template-columns:repeat(3,minmax(0,1fr))}.rt-trials strong{font-size:.8rem}}@media(prefers-reduced-motion:reduce){.rt-shell *{animation:none!important;transition:none!important}}

/* Setup has a first action above the practice panel. Live cues keep their full size. */
.rt-header{margin-bottom:12px}.rt-shell h1{font-size:clamp(1.75rem,5vw,2rem);margin-bottom:12px}.rt-hud{padding:8px 0}.rt-input{margin:12px 0}.rt-pad.ready{min-height:96px;margin:12px 0;padding:16px}.rt-pad.ready .rt-symbol{display:none}.rt-pad.ready h2{font-size:1.2rem;margin:0 0 8px}.rt-help{border-top:1px solid #ffffff30;margin:20px 0 0;padding-top:14px;font-size:.85rem;line-height:1.5;color:#e8dfc5}.rt-help summary{cursor:pointer;text-decoration:underline;text-underline-offset:4px}.rt-help .rt-lede{margin:12px 0}.rt-help .rt-caveat{border:0;padding:0;margin:12px 0}.rt-message:empty{display:none}@media(max-width:400px){.rt-input{display:flex;align-items:center;justify-content:center;gap:8px}.rt-input select{min-width:0;margin-left:0;min-height:44px}.rt-pad.ready{min-height:88px;padding:12px}.rt-header{margin-bottom:12px}}

/* Keep native help above trial reflow so focus-away cannot move a pressed summary. */
.rt-help{border-top:0;margin:0 0 8px;padding-top:0}
