body > .tool-page.tool-page--reaction-test { width: 100%; max-width: none; margin: 0; padding: 0; overflow-x: hidden; }
.reaction-workspace { width: min(100% - 32px, 1050px); margin: 0 auto; padding: 24px 0 42px; text-align: left; }
.reaction-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--eyy-border, #101010); }
.reaction-header > div { min-width: 0; }
.reaction-header > button { flex-shrink: 0; }
.reaction-header h1 { margin: 0; font-size: 1.4rem; }
.reaction-header p { margin: 8px 0 0; color: #bdbbc8; }
.reaction-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 18px 0; }
.reaction-stats > div { display: grid; gap: 7px; min-width: 0; }
.reaction-stats span { color: #bdbbc8; }
.reaction-stats strong { color: #f5f5f8; font-size: 1.45rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.reaction-stats > div:first-child strong { color: #f3b85d; }
.tool-page.tool-page--reaction-test .reaction-target:not(.default) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; width: 100%; height: clamp(250px, 43vh, 430px); padding: 24px; border: 0; border-block: 2px solid #242428; border-radius: 0; background: #000; color: #f5f5f8; text-align: center; cursor: pointer; touch-action: manipulation; transition: none; }
.tool-page.tool-page--reaction-test .reaction-target[data-state="waiting"]:not(.default) { border-color: #793f42; background: #200e12; }
.tool-page.tool-page--reaction-test .reaction-target[data-state="ready"]:not(.default) { border-color: #35d9b5; background: #084b3d; }
.tool-page.tool-page--reaction-test .reaction-target[data-state="early"]:not(.default) { border-color: #b96d72; }
.tool-page.tool-page--reaction-test .reaction-target:focus { outline: none; }
.tool-page.tool-page--reaction-test .reaction-target:focus-visible { border-color: #f3b85d; }
.reaction-signal { width: 24px; height: 24px; box-sizing: border-box; border: 2px solid #f3b85d; border-radius: 50%; }
.reaction-target[data-state="waiting"] .reaction-signal { border-color: #dc8188; }
.reaction-target[data-state="ready"] .reaction-signal { border-color: #70ffe0; background: #70ffe0; box-shadow: 0 0 14px #35d9b5; }
.reaction-target[data-state="early"] .reaction-signal { border-color: #e19296; }
.reaction-message { min-height: 1.3em; font-size: 1.6rem; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; }
.reaction-hint { min-height: 1.5em; color: #c4c2cb; line-height: 1.5; }
.reaction-target[data-state="ready"] .reaction-hint { color: #dbfff6; }
.reaction-instructions { margin: 12px 0 0; color: #aaaab7; }
.tool-page.tool-page--reaction-test .reaction-header button:not(.default) { min-height: 34px; padding: 6px 10px; font-size: .8rem; }
@media (max-width: 600px) {
    .reaction-workspace { width: auto; margin: 0; padding: 16px 16px 32px 10px; }
    .reaction-header { align-items: flex-start; }
    .reaction-stats { gap: 8px; }
    .reaction-stats strong { font-size: 1.2rem; }
    .reaction-stats span { font-size: .73rem; }
}
@media (max-width: 360px) {
    .reaction-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
}
