@font-face{font-family:Barlow Condensed;src:url(/fonts/barlow-condensed-black-italic.ttf) format("truetype");font-style:italic;font-weight:900;font-display:swap}@font-face{font-family:Barlow Condensed;src:url(/fonts/barlow-condensed-semibold.ttf) format("truetype");font-style:normal;font-weight:600;font-display:swap}@font-face{font-family:IBM Plex Mono;src:url(/fonts/ibm-plex-mono.ttf) format("truetype");font-style:normal;font-weight:400;font-display:swap}:root{--bg:#ffffff;--surface:#f4f5f7;--text:#1b1f23;--muted:#666f79;--line:#e6e9ee;--strong-line:#cad0d8;--red:#ed302b;--focus:#006cac;--success:#15794c;color-scheme:light;--display:"Barlow Condensed",Impact,sans-serif;--mono:"IBM Plex Mono",monospace}:root[data-theme=dark]{--bg:#0f141b;--surface:#161d27;--text:#e2e9f2;--muted:#a8b4c3;--line:#263141;--strong-line:#3a4a60;--focus:#ff9a3d;--success:#75e0ae;color-scheme:dark}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body,html{background:var(--bg)}body{margin:0;color:var(--text);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a,button{touch-action:manipulation}button{font:inherit;color:inherit}a:focus-visible,button:focus-visible{outline:3px solid var(--focus);outline-offset:5px}button{-webkit-user-select:none;user-select:none}button:disabled{cursor:default}.app-shell{width:min(100%,640px);margin:0 auto;padding:max(24px,env(safe-area-inset-top)) max(28px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(28px,env(safe-area-inset-left))}.app-header{justify-content:space-between;margin-bottom:28px}.app-header,.brand{display:flex;align-items:center}.brand{border:0;padding:0;background:transparent;cursor:pointer;gap:16px;color:var(--text);text-decoration:none;font-family:var(--mono);font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.24em}.brand img{border:1px solid var(--strong-line);border-radius:10px;width:44px;height:44px}.theme-toggle{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--strong-line);background:transparent;border-radius:50%;cursor:pointer}.theme-toggle:hover{background:var(--surface)}.theme-toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.theme-toggle .moon-icon{display:none;fill:currentColor;stroke:none}[data-theme=dark] .theme-toggle .sun-icon{display:none}[data-theme=dark] .theme-toggle .moon-icon{display:block}.intro h1{margin:0 0 14px -3px;font-family:var(--display);font-weight:900;font-style:italic;text-transform:uppercase;font-size:clamp(56px,13vw,94px);letter-spacing:-.025em;line-height:.87}.intro h1 span{color:var(--red)}.intro p{color:var(--muted);font-size:20px;letter-spacing:-.025em;margin:0}.intro{margin-bottom:30px}.mode-selector{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-bottom:1px solid var(--strong-line)}.mode-option{display:flex;align-items:center;justify-content:center;gap:14px;border:0;border-bottom:3px solid transparent;margin-bottom:-1px;padding:14px 4px;background:transparent;color:var(--muted);font:600 16px var(--display);letter-spacing:.13em;text-transform:uppercase;cursor:pointer}.mode-number{font:12px var(--mono);letter-spacing:.03em;color:var(--muted)}.mode-option.is-active{color:var(--text);border-bottom-color:var(--red)}.mode-option:not(.is-active):hover:not(:disabled){color:var(--text);background:var(--surface)}.mode-option:disabled:not(.is-active){opacity:.45}.game-surface{padding-top:24px}.light-sequence{display:grid;grid-template-columns:repeat(5,1fr);gap:clamp(6px,2vw,18px);position:relative;padding-top:0;isolation:isolate}.light-sequence:before{content:"";position:absolute;left:-1%;right:-1%;top:5%;height:10%;background:linear-gradient(#3b4247,#171c21 48%,#31383f 50%,#15191c);border:1px solid #484e53;border-radius:2px;z-index:-1}.light-column{display:block;width:100%;padding:0;margin:0;border:0;background:transparent;position:relative;border-radius:4px}.light-unit{display:block;aspect-ratio:852/1844;background:url(/images/light-off.png) 50%/contain no-repeat}.light-unit:after{content:"";position:absolute;inset:0;background:url(/images/light-on.png) 50%/contain no-repeat;opacity:0}.is-active .light-unit:after{opacity:1}[data-theme=dark] .light-sequence:after{content:"";position:absolute;inset:-6px -8px;z-index:-2;pointer-events:none;border:1px solid #c0e9f2;border-radius:6px;background:linear-gradient(135deg,#b4d9e3,#81acbc)}[data-theme=dark] .light-unit{filter:drop-shadow(0 2px 2px #07101880)}[data-theme=dark] .light-sequence:before{background:linear-gradient(#68798b,#344151 48%,#586b7e 50%,#293543);border-color:#8293a6}.is-interactive .light-column:not(:disabled){cursor:pointer}.is-interactive .light-column:active:not(:disabled){transform:translateY(1px)}.status-message{min-height:42px;display:flex;justify-content:center;align-items:center;text-align:center;margin:10px 0 14px;font:12px/1.5 var(--mono);color:var(--muted)}.phase-go .status-message{color:var(--success)}.phase-false_start .status-message,.phase-paused_warning .status-message{color:var(--red)}.phase-result .status-message{color:var(--text);font-size:14px}.control-button{width:100%;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 25px;border:0;border-radius:5px;color:#fff;background:var(--red);cursor:pointer;font:italic 900 34px/.95 var(--display);text-transform:uppercase;letter-spacing:.025em;box-shadow:0 3px 0 #b61f1b}.control-button>span{flex:1 1;padding-left:30px}.control-button svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2;flex-shrink:0}.control-button:hover:not(:disabled){background:#da2520}.control-button:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 #b61f1b}.control-button:disabled{background:var(--surface);color:var(--muted);box-shadow:none;border:1px solid var(--line)}.control-button.is-go{background:#148451;box-shadow:0 3px 0 #0c5534}.control-button.is-go:hover{background:#0c7344}.play-hint{margin:16px 0 25px;text-align:center;font:11px/1.5 var(--mono);color:var(--muted)}.stats-strip{display:grid;grid-template-columns:repeat(3,1fr);margin:0;padding:18px 0;border-top:1px solid var(--strong-line);border-bottom:1px solid var(--strong-line)}.stat{text-align:center;padding:0 6px}.stat+.stat{border-left:1px solid var(--line)}.stat dt{font:600 14px var(--display);text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:8px}.stat dd{font:italic 900 30px/1 var(--display);margin:0;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.stat dd small{font:13px var(--mono);margin-left:6px}.session-detail{text-align:center;font:10px/1.4 var(--mono);color:var(--muted);min-height:14px;margin:12px 0 0}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:24px;font:10px/1.5 var(--mono);color:var(--muted)}.chequered{width:38px;height:18px;flex-shrink:0;background:repeating-conic-gradient(var(--muted) 0 25%,transparent 0 50%) 0 0 /12px 12px;transform:skew(-25deg);opacity:.8}.sprint-stage{position:relative}.sprint-clock{text-align:center;margin:8px 0 -7px;font:italic 900 24px/1 var(--display);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.sprint-clock small{margin-left:3px;font:12px var(--mono);color:var(--muted)}.notice{font:11px/1.5 var(--mono);text-align:center;color:var(--muted)}.notice.warning{color:var(--red)}@media (min-width:1000px){.app-shell{padding-top:36px;padding-bottom:36px}}@media (max-width:500px){.app-shell{padding:max(18px,env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left))}.app-header{margin-bottom:22px}.brand{gap:12px;font-size:11px;letter-spacing:.23em}.brand img{width:38px;height:38px;border-radius:8px}.theme-toggle{width:40px;height:40px}.intro h1{font-size:clamp(49px,14.5vw,71px);margin-bottom:12px}.intro p{font-size:17px}.intro{margin-bottom:19px}.mode-option{font-size:14px;gap:10px;padding:12px 0;letter-spacing:.08em}.mode-number{font-size:10px}.game-surface{padding-top:19px}.light-sequence{gap:9px}.status-message{font-size:10px;min-height:32px;margin:6px 0 11px}.phase-result .status-message{font-size:12px}.control-button{min-height:62px;padding:12px 18px;font-size:28px}.control-button svg{width:23px;height:23px}.control-button>span{padding-left:23px}.play-hint{margin:13px 0 19px;font-size:9px}.stats-strip{padding:13px 0}.stat dt{font-size:12px;margin-bottom:6px}.stat dd{font-size:26px}.stat dd small{font-size:11px}.session-detail{font-size:9px;margin-top:10px}.app-footer{font-size:9px;padding-top:18px}}@media (max-width:500px) and (max-height:700px){.app-header{margin-bottom:16px}.intro h1{font-size:clamp(46px,13.7vw,64px)}.intro{margin-bottom:12px}.game-surface{padding-top:15px}.light-sequence{max-width:305px;margin-inline:auto}.play-hint{margin-bottom:15px}.app-footer{padding-top:14px}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (min-width:501px){.app-shell{max-width:560px}.intro h1{font-size:108px}.app-header{margin-bottom:22px}.intro{margin-bottom:24px}.game-surface{padding-top:20px}}@media (max-width:500px){.intro h1{font-size:clamp(58px,18.8vw,86px)}.intro{margin-bottom:16px}.game-surface{padding-top:16px}.status-message{font-size:11px}.play-hint{font-size:10px}.stat dt{font-size:14px}.app-footer{font-size:10px;padding-top:14px}}@media (max-width:500px) and (max-height:700px){.app-shell{padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}.app-header{margin-bottom:12px}.intro h1{font-size:clamp(52px,18.3vw,76px);margin-bottom:9px}.intro p{font-size:15px}.intro{margin-bottom:10px}.light-sequence{max-width:270px}.game-surface{padding-top:14px}.session-detail{display:none}.play-hint{margin:12px 0 14px}.stats-strip{padding:12px 0}.app-footer{padding-top:14px}}@media (max-width:350px) and (max-height:620px){.app-shell{padding-inline:18px}.app-header{margin-bottom:10px}.brand img{width:32px;height:32px}.intro h1{font-size:56px}.light-sequence{max-width:230px}.status-message{font-size:10px;min-height:30px;margin:4px 0 8px}.control-button{min-height:54px}.app-footer{font-size:8px;padding-top:12px}}@media (min-width:1000px){.app-shell{padding-top:30px;padding-bottom:24px}}@media (max-width:350px) and (max-height:620px){.app-header{margin-bottom:6px}.intro h1{font-size:52px}.game-surface{padding-top:10px}.stats-strip{padding:9px 0}.app-footer{padding-top:8px}}.phase-result .status-message{gap:12px}.reaction-time{font:italic 900 40px/1 var(--display);color:var(--text)}.reaction-time small{font:13px var(--mono)}@media (max-width:500px){.reaction-time{font-size:32px}}