@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#213e35;background:#f5f5ef;font-synthesis:none;--green:#194d3c;--muted:#7c8881;--border:#e1e5db}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;transition:background .18s,transform .18s;white-space:nowrap}button:focus-visible,a:focus-visible{outline:3px solid #d29c38;outline-offset:4px}button:disabled{cursor:wait;opacity:.65}button:hover:not(:disabled){filter:brightness(.96)}button:active:not(:disabled){transform:translateY(1px)}.topbar{height:98px;padding:0 4.8%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);background:#fafaf6}.brand{color:#173e32;text-decoration:none;font:800 30px/1 'Manrope',sans-serif;display:flex;align-items:center;gap:12px;letter-spacing:-1.6px}.brand small{display:block;font:600 9px/1.8 'DM Sans',sans-serif;letter-spacing:2.5px;margin-top:7px}.brand-dot{color:#e0a844}.brand-icon{font-size:23px;line-height:.55;transform:skew(-12deg);letter-spacing:0;background:#e9eee3;padding:14px 12px;border-radius:12px}.top-description{font-size:13px;color:#8a938b}.demo-badge{font-size:10px;font-weight:700;letter-spacing:1.3px;display:flex;align-items:center;gap:8px}.demo-badge i,.live-dot{width:6px;height:6px;border-radius:50%;background:#64b57c;display:inline-block}main{max-width:1640px;margin:0 auto;padding:39px 4.8% 20px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:29px}.eyebrow{font-size:9px;font-weight:800;letter-spacing:2px;color:#7e8b7c;margin:0 0 10px}h1{font:800 46px/1.2 'Manrope',sans-serif;letter-spacing:-2px;margin:0;color:#193e31}.subtitle{font-size:13px;color:#7d887f;margin:12px 0 0}.species-switch{display:flex;background:#e9ece3;padding:5px;border:1px solid #e1e5d9;border-radius:13px;gap:3px}.species{border:0;background:transparent;color:#7a887d;padding:12px 22px;border-radius:9px;font-weight:700;font-size:13px;display:flex;gap:9px;align-items:center}.species span{font-size:23px;line-height:1}.species.active{color:#fff;background:var(--green);box-shadow:0 2px 5px #12362220}.race-layout{display:grid;grid-template-columns:minmax(0,1fr) 308px;gap:20px}.scene-card{position:relative;border-radius:17px;overflow:hidden;min-width:0;background:#a6c9d2;height:482px;border:1px solid #d4ded0}.scene-card:fullscreen{width:100vw;height:100vh;border-radius:0}#viewport{width:100%;height:100%;position:absolute;inset:0}canvas{display:block;width:100%;height:100%}.scene-top{position:absolute;top:20px;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;gap:10px}.track-badge{display:flex;align-items:center;gap:9px;background:#173f35dd;color:#fff;padding:11px 13px;border-radius:7px;font-size:9px;font-weight:700;letter-spacing:1.15px;backdrop-filter:blur(10px)}.track-separator{color:#a3bbad}.weather{font-size:10px;color:#294e43;background:#ffffffe0;padding:10px 12px;border-radius:7px}.scene-bottom{position:absolute;bottom:18px;left:20px;right:20px;display:flex;justify-content:space-between;align-items:center}.scene-note{background:#163f35b8;color:#fff;font-size:10px;border-radius:6px;padding:10px 12px;backdrop-filter:blur(8px);display:flex;align-items:center;gap:7px}.scene-note i{width:5px;height:5px;border-radius:50%;background:#e7c474}.glass-button{background:#ffffffdf;border:0;border-radius:8px;width:34px;height:34px;color:#254c3e;font-size:22px}.standings-card{border:1px solid var(--border);border-radius:17px;background:#fffefa;padding:22px 20px 18px;display:flex;flex-direction:column}.panel-heading{display:flex;justify-content:space-between;align-items:center}.panel-heading .eyebrow{font-size:8px;letter-spacing:1.6px;margin-bottom:7px}.panel-heading h2{font:800 18px 'Manrope',sans-serif;letter-spacing:-.6px;margin:0}.runners-badge{font-size:8px;letter-spacing:.6px;color:#8a9489;border:1px solid #e8ebdf;border-radius:4px;padding:5px}.standings-labels{font-size:8px;font-weight:700;letter-spacing:1.1px;color:#99a193;display:flex;justify-content:space-between;margin-top:25px;padding-bottom:10px;border-bottom:1px solid #e9ece3}.standings{list-style:none;padding:0;margin:2px 0 0;flex:1}.runner-row{display:flex;align-items:center;gap:10px;height:48px;border-bottom:1px solid #eef0e8}.runner-row:last-child{border-bottom:0}.runner-row.first{background:#edf3e8;margin:3px -7px 0;padding:0 7px;border-radius:7px;height:45px}.runner-position{font-size:10px;color:#9ba396;width:11px;font-variant-numeric:tabular-nums}.runner-number{height:25px;width:25px;border-radius:6px;display:grid;place-items:center;color:white;font-size:11px;font-weight:800;box-shadow:inset 0 0 0 1px #00000008}.runner-info{flex:1;min-width:0}.runner-name{font-size:11px;font-weight:700;display:block}.runner-subtitle{font-size:8px;color:#9aa291;display:block;margin-top:3px}.runner-value{font-size:9px;color:#8e9b87;font-variant-numeric:tabular-nums}.race-summary{margin-top:17px;display:flex;justify-content:space-between;font-size:9px;align-items:center}.race-summary>span{display:flex;align-items:center;gap:5px;color:#7e8c78}.race-summary b{font-size:11px;letter-spacing:.4px;font-variant-numeric:tabular-nums}.summary-dot{background:#b2bd9f;width:5px;height:5px;border-radius:50%}.progress-track{height:4px;border-radius:5px;background:#edf0e7;margin-top:13px;overflow:hidden}.progress-track>div{height:100%;width:0;background:#6b9767;transition:width .15s}.progress-label{display:flex;justify-content:space-between;color:#98a18f;font-size:8px;margin-top:8px}.controls-card{display:flex;align-items:center;gap:25px;margin-top:17px;padding:17px 20px;background:#fffefa;border:1px solid var(--border);border-radius:13px}.race-actions{display:flex;gap:9px}.start-button{border:0;background:var(--green);color:#fff;border-radius:8px;padding:13px 24px;font-size:12px;font-weight:700;min-width:146px}.start-button span{font-size:10px;margin-right:9px}.reset-button{border:1px solid #e3e7dd;background:transparent;border-radius:8px;color:#677d67;width:43px;font-size:22px}.control-divider{height:32px;width:1px;background:#e7eadf}.camera-control{display:flex;align-items:center;gap:15px}.control-label{font-size:8px;letter-spacing:1.2px;color:#95a08f;font-weight:700}.camera-buttons{display:flex;gap:4px}.camera{background:transparent;border:0;border-radius:6px;padding:9px 13px;font-size:10px;color:#7f8f7b}.camera.active{background:#e9efe1;color:#34583c;font-weight:700}.speed-control{display:flex;align-items:center;gap:12px;margin-left:auto}#speed{border:1px solid #e6e9dd;background:transparent;padding:8px 10px;border-radius:6px;color:#58714f;font-size:11px;min-width:55px}#speed span{margin-left:9px;color:#9ba592}.sound-button{background:transparent;border:0;color:#83917b;font-size:17px;display:flex;gap:7px;align-items:center}.sound-button span{font-size:10px}footer{margin-top:22px;display:flex;align-items:center;justify-content:space-between;color:#97a08f;font-size:9px}footer p{margin:0}.footer-mark{font-size:15px;color:#6a8a5c;margin-right:6px}footer>span{font-size:8px;letter-spacing:.2px}.sinhala-note{text-align:center;color:#8c9785;font-size:10px;margin:22px 0 0;line-height:1.8}.countdown{pointer-events:none;position:absolute;inset:0;display:grid;place-items:center;font:800 100px 'Manrope',sans-serif;color:#fff;text-shadow:0 4px 30px #183e3570}.countdown:empty{display:none}.winner-banner{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:22px 30px;text-align:center;min-width:265px;border-radius:12px;background:#fffdf3ed;box-shadow:0 15px 60px #1d493d33;backdrop-filter:blur(10px)}.winner-banner[hidden]{display:none}.winner-banner>span{font-size:8px;letter-spacing:2px;color:#899376}.winner-banner h2{font:800 28px 'Manrope';margin:9px 0;color:#214c39;letter-spacing:-1px}.winner-banner p{font-size:11px;color:#829071;margin:0}#loading{display:flex;align-items:center;justify-content:center;gap:12px;flex-direction:column;position:absolute;inset:0;color:#315749;font-size:13px;background:#cbdcd0}#loading span{font-size:10px;color:#6c8977}.loader{width:28px;height:28px;border:2px solid #a7bfac;border-top-color:#315b40;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.asset-credit{text-align:center;color:#a0a99c;font-size:9px;margin:10px 0 0;line-height:1.6}.asset-credit a{color:inherit;text-decoration:underline}.scene-notes{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.camera-note{letter-spacing:.7px;font-size:9px}.camera-note>span:first-child{color:#d2e3ae}.camera-control{min-width:0}.camera-buttons{flex-wrap:wrap}.track-picker{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 17px;margin-bottom:16px;background:#fffefa;border:1px solid #e1e5db;border-radius:12px}.track-picker p{font-size:11px;margin:5px 0 0;color:#829080}.track-buttons{display:flex;gap:6px;flex-wrap:wrap}.track{border:1px solid #e5e9df;background:#f9faf5;padding:10px 14px;border-radius:7px;color:#667d69;font-size:11px;font-weight:700}.track span{font-size:9px;color:#a0ad99;margin-right:5px}.track.active{background:#e7efe2;border-color:#bdcfb8;color:#234e38}.track.active span{color:#719475}@media(max-width:650px){.track-picker{align-items:flex-start;flex-direction:column}.track-buttons{width:100%}.track{flex:1;padding:9px 6px;font-size:10px}.track-picker p{display:none}}
@media(min-width:1500px){.scene-card{height:560px}.runner-row{height:58px}.runner-row.first{height:55px}.standings-card{padding-top:28px}}@media(max-width:1100px){.top-description{display:none}.race-layout{grid-template-columns:minmax(0,1fr) 270px;gap:14px}.standings-card{padding:19px 16px}.controls-card{gap:14px}.camera-control{gap:8px}.camera{padding:9px}.control-divider{display:none}.speed-control .control-label{display:none}.scene-top{left:13px;right:13px}.weather{display:none}}@media(max-width:800px){.topbar{height:80px;padding:0 5%}.brand{font-size:25px}.demo-badge{font-size:8px;letter-spacing:.5px}main{padding:26px 5% 20px}.intro{align-items:flex-start;gap:15px;margin-bottom:22px}h1{font-size:36px}.subtitle{font-size:11px;max-width:220px;line-height:1.6}.species{padding:10px 12px;font-size:10px;gap:4px}.species span{font-size:19px}.species-switch{margin-top:15px}.race-layout{grid-template-columns:1fr}.scene-card{height:420px}.standings-card{padding:18px}.standings{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.runner-row{height:48px}.runner-row.first{height:45px}.standings-labels{margin-top:17px}.race-summary{margin-top:14px}.controls-card{flex-wrap:wrap;gap:15px;justify-content:space-between;padding:15px}.camera-control{order:3;width:100%;justify-content:center;border-top:1px solid #edf0e6;padding-top:12px}.speed-control{margin-left:auto}.sound-button span{display:none}.start-button{padding:12px 17px;min-width:130px}footer{gap:16px;line-height:1.5}footer>span{text-align:right;max-width:130px}.sinhala-note{font-size:9px}}@media(max-width:420px){.intro{flex-direction:column}.species-switch{margin-top:0}.scene-card{height:340px}.standings{gap:0 12px}.runner-row{gap:7px}.runner-name{font-size:10px}.runner-value{font-size:8px}.track-badge{font-size:8px}.scene-note{font-size:8px}.demo-badge{max-width:95px;line-height:1.6}.eyebrow{font-size:8px}.winner-banner{min-width:235px}.start-button{min-width:120px}.controls-card{gap:9px}}
.race-series,.history-card{background:#fff;border:1px solid #e1e5dc;border-radius:18px;padding:24px;margin-top:20px}.race-series{display:flex;justify-content:space-between;align-items:center;gap:20px}.race-series p{margin:7px 0 0;color:#1b4b3d}.series-actions{display:flex;align-items:center;gap:20px}.series-actions span{font-size:13px;color:#697568}.series-actions b{display:block;font-size:20px;color:#1b4b3d}.series-actions button{border:1px solid #cad8c5;border-radius:10px;padding:12px;background:#eaf0e5;color:#1b4b3d;cursor:pointer}.history-card h2{margin:6px 0}.history-note,.history-empty{color:#768071;font-size:13px}.result-race{border-top:1px solid #e1e5dc;padding:17px 0}.result-race summary{cursor:pointer;font-weight:600;color:#244c40}.result-race summary span{display:block;margin:7px 0 0 18px;font-size:13px;color:#73806f}.result-race ol{list-style:none;padding:0;margin-bottom:0}.result-race li{display:flex;gap:14px;padding:10px;background:#f5f7f1;margin-top:4px;border-radius:7px;font-size:13px}.result-race li strong{margin-left:auto}@media(max-width:650px){.race-series{align-items:flex-start;flex-direction:column}.series-actions{width:100%;justify-content:space-between}}
/* Broadcast presentation */
:root{background:#0a1716;color:#e3ebe5;--border:#29403a;--muted:#9cafa2}.topbar{height:70px;background:#0c211d;border-color:#29403a}.brand{color:#e9f2dc;font-size:25px}.brand-icon{background:#233c2c}.top-description,.demo-badge{color:#abc19f}main{max-width:1840px;padding:22px 3%}.intro{margin-bottom:16px}h1{font-size:28px;color:#f0f4df;letter-spacing:-1px}.subtitle{margin-top:5px;color:#9bad9d}.eyebrow{color:#9cae81}.track-picker{background:#122b25;border-color:#29483b;padding:12px 18px;margin-bottom:14px}.track-picker p{color:#b8c9ae}.track{background:#18382d;color:#b9ceb0;border-color:#31513d}.track.active,.species.active{background:#c9d978;color:#142719}.species-switch{background:#132b25;border-color:#29443a}.species{color:#bbcab7}.race-layout{grid-template-columns:minmax(0,1fr) 285px;gap:12px}.scene-card{height:clamp(460px,65vh,850px);border-radius:8px;border-color:#345044}.standings-card{background:#102b24;border-color:#31513d;border-radius:8px;padding:20px 16px}.runner-row{border-color:#274538}.runner-row.first{background:#234b36}.runner-name,.panel-heading h2{color:#e8efd9}.runner-value,.runner-subtitle,.race-summary>span{color:#aac09d}.runner-row{height:54px}.scene-top{top:14px;left:14px;right:14px}.track-badge{font-size:11px;border-radius:3px;background:#0d3527ee}.weather{border-radius:3px}.scene-bottom{bottom:62px}.broadcast-status{position:absolute;top:63px;left:14px;background:#102c24d9;padding:8px 12px;display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:1px}.broadcast-status b{color:#eff5db}#replayTag{color:#ffdd8c;margin-left:12px}.position-ticker{position:absolute;bottom:0;left:0;right:0;display:flex;background:#0a241bf2;border-top:2px solid #d2d77d;overflow-x:auto;padding:10px 14px;gap:18px;white-space:nowrap}.position-ticker>span{display:flex;align-items:center;gap:7px;font-size:11px;color:#eff3df}.position-ticker b,.podium b{display:grid;place-items:center;width:28px;height:28px;border-radius:3px;color:white;font-size:16px}.position-ticker small{color:#a6bc8c}.last-result{display:flex;gap:25px;padding:14px 18px;background:#153a2c;border:1px solid #34533b;margin-top:10px;border-radius:5px;align-items:center;font-size:12px}.last-result small{color:#d2d984;letter-spacing:1px;white-space:nowrap}.last-result strong{color:#dce9ce;font-weight:500}.controls-card,.race-series,.history-card{background:#102923;border-color:#29463b}.camera,.sound-button,#speed,.reset-button{color:#b4c7a3}.camera.active{background:#c8d77b;color:#14271d}.start-button{background:#c8d77b;color:#14271d}.control-divider{background:#34513e}.race-series p,.series-actions b,.history-card h2{color:#e0edc5}.series-actions button{background:#244a32;color:#e6edbd;border-color:#4f6a42}.result-race{border-color:#294636}.result-race summary{color:#d9e8c6}.result-race li{background:#19392b;color:#d9e8c6}.runner-intro{position:absolute;bottom:114px;left:25px;display:flex;gap:15px;align-items:center;background:#0b251ef0;border-left:4px solid #d3dc82;padding:17px 26px;border-radius:4px}.runner-intro>b{font-size:40px;min-width:60px;text-align:center;color:white;border-radius:5px}.runner-intro small{display:block;font-size:9px;color:#c6d789;letter-spacing:2px}.runner-intro strong{display:block;font-size:24px;margin-top:5px;color:#f0f4df}.podium{position:absolute;right:18px;top:80px;background:#0c271eea;min-width:260px;padding:14px;border-top:3px solid #d9d985}.podium>span{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:12px;color:#edf3df}.podium small{width:24px;color:#d9d985}.podium strong{margin-left:auto}.podium[hidden],.runner-intro[hidden],#replayTag[hidden]{display:none}.winner-banner{display:none!important}@media(max-width:1000px){.race-layout{grid-template-columns:1fr}.standings-card{display:block}.scene-card{height:58vw;min-height:390px}.standings{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.controls-card{flex-wrap:wrap}}@media(max-width:600px){.top-description,.intro .subtitle{display:none}.scene-card{min-height:365px}.podium{min-width:210px;right:10px;top:90px;padding:8px}.podium>span{font-size:10px}.last-result{align-items:flex-start;flex-direction:column;gap:7px}.runner-intro{left:12px;padding:12px;bottom:108px}.runner-intro strong{font-size:18px}.broadcast-status{font-size:8px}.controls-card{gap:10px}.camera-buttons{flex-wrap:wrap}}
.camera-control{min-width:0;flex-wrap:wrap}.scene-notes{max-width:calc(100% - 45px);flex-wrap:wrap}.last-result strong{overflow-wrap:anywhere}.result-race summary{overflow-wrap:anywhere}.controls-card{min-width:0}.position-ticker{max-width:100%}
@media(max-width:1000px){.position-ticker{justify-content:space-between;gap:6px}.position-ticker>span{font-size:0;gap:4px}.position-ticker small{font-size:9px}.position-ticker b{font-size:16px}}
/* Reference-style pre-race card and full-screen results */
.race-layout{grid-template-columns:250px minmax(0,1fr);gap:0;border:2px solid #527557;background:#124334;border-radius:4px;overflow:hidden}.race-layout .standings-card{grid-column:1;grid-row:1;border-radius:0;border:0;border-right:2px solid #527557;background:linear-gradient(110deg,#174f3c,#0d3429)}.race-layout .scene-card{grid-column:2;grid-row:1;border:0;border-radius:0;height:clamp(500px,65vh,740px)}.race-layout[data-phase="running"],.race-layout[data-phase="countdown"],.race-layout[data-phase="finished"],.race-layout[data-phase="results"]{grid-template-columns:1fr}.race-layout[data-phase="running"] .standings-card,.race-layout[data-phase="countdown"] .standings-card,.race-layout[data-phase="finished"] .standings-card,.race-layout[data-phase="results"] .standings-card{display:none}.race-layout[data-phase="running"] .scene-card,.race-layout[data-phase="countdown"] .scene-card,.race-layout[data-phase="finished"] .scene-card,.race-layout[data-phase="results"] .scene-card{grid-column:1}.race-layout[data-phase="presentation"] .position-ticker,.race-layout[data-phase="ready"] .position-ticker{display:none}.scene-card>.last-result{position:absolute;left:0;right:0;bottom:0;height:116px;margin:0;border:0;border-radius:0;border-top:2px solid #62805b;background:linear-gradient(100deg,#123d30,#1d5942);display:block;padding:7px 14px}.previous-title{display:flex;justify-content:space-between;align-items:center;color:#e7d56a;font-size:12px;border-bottom:1px solid #63815a;padding-bottom:4px}.previous-rows{display:flex;flex-direction:column;gap:3px;padding-top:4px}.previous-rows>span{display:flex;align-items:center;gap:8px;font-size:11px}.previous-rows small{color:#bdc7a1;width:10px}.previous-rows b{width:22px;height:20px;text-align:center;padding:2px;color:#fff}.previous-rows strong{font-size:11px;font-weight:600}.previous-rows em{margin-left:auto;color:#1a3525;background:#e5cd59;padding:2px 10px;font-style:normal;font-weight:700;min-width:67px;text-align:center}.race-layout:not([data-phase="presentation"]):not([data-phase="ready"]) .last-result{display:none}.runner-intro{bottom:116px;left:0;right:0;height:67px;padding:8px 14px;gap:12px;border:0;border-top:2px solid #c6ba61;border-radius:0;background:linear-gradient(100deg,#0d3328,#285c3b)}.runner-intro>b{min-width:45px;font-size:30px;line-height:46px;border-radius:0}.runner-intro small{font-size:8px}.runner-intro strong{font-size:20px;margin:0;text-transform:uppercase;letter-spacing:.5px}.runner-intro #introDetails{color:#ced7a9;font-size:9px}.race-layout[data-phase="presentation"] .scene-bottom,.race-layout[data-phase="ready"] .scene-bottom{bottom:193px}.race-layout[data-phase="presentation"] .scene-note:first-child{display:none}.result-screen{position:absolute;inset:0;z-index:10;background:radial-gradient(ellipse at top right,#367453,#174a36 65%,#123e30);color:#ecf0d9;overflow:auto}.result-screen[hidden]{display:none}.result-screen>header{display:flex;align-items:center;gap:17px;padding:20px 26px;background:#123d30;border-bottom:2px solid #b7b25a;font-size:16px}.result-screen>header>b{color:#fff;font-size:22px}.result-screen>header>strong{color:#e7cf54}.result-screen>header>span{margin-left:auto;font-size:10px;letter-spacing:1px;color:#b8cba2}.result-screen-inner{max-width:1000px;margin:auto;padding:18px 6%}.result-screen h2{font-size:22px;margin:0 0 12px;color:#e8d463}.result-screen table{width:100%;border-collapse:collapse}.result-screen th{text-align:left;font-size:10px;color:#e7d766;letter-spacing:1px;padding:5px 10px}.result-screen td{padding:8px 10px;border-top:1px solid #608160;font-size:15px}.result-screen tr:first-child td{background:#336447;font-weight:700}.result-screen td:nth-child(2){display:flex;gap:13px;align-items:center;text-transform:uppercase}.result-screen td b{display:grid;place-items:center;width:32px;height:29px;color:white}.result-screen td:nth-child(3),.result-screen td:nth-child(4){color:#142f20;background:#e1c958;font-variant-numeric:tabular-nums;border:3px solid #22573e;text-align:right;font-weight:700}.finish-order{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #91a165;margin-top:14px;padding-top:12px}.finish-order>small{color:#d7ce72;letter-spacing:1px}.finish-order>div{display:flex;gap:18px}.finish-order span{display:flex;gap:7px;align-items:center}.finish-order small{font-size:10px}.finish-order b{padding:5px 10px;color:#fff}.result-screen footer{font-size:9px;margin-top:18px;color:#c7d2aa}.result-screen footer b{color:#e5d36a;font-size:11px}.race-layout[data-phase="results"] .scene-bottom,.race-layout[data-phase="results"] .position-ticker,.race-layout[data-phase="results"] .broadcast-status{display:none}@media(max-width:1000px){.race-layout{grid-template-columns:180px minmax(0,1fr)}.race-layout .standings-card{padding:14px 9px}.race-layout .standings{display:block}.race-layout .runner-subtitle{display:none}.race-layout .runner-row{gap:5px;height:48px}.race-layout .runner-name{font-size:9px}.race-layout .runner-number{width:22px;height:24px;flex-shrink:0}.race-layout .runner-value{font-size:8px}.race-layout .scene-card{height:510px}.race-layout .panel-heading h2{font-size:16px}.race-layout .runners-badge{display:none}.scene-top .weather{display:none}.runner-intro strong{font-size:15px}.runner-intro #introDetails{font-size:8px}.result-screen>header{padding:15px;gap:10px}.result-screen>header>b{font-size:17px}.result-screen>header>strong{font-size:13px}.result-screen td{font-size:12px}.result-screen-inner{padding:16px 4%}}@media(max-width:550px){.race-layout{grid-template-columns:132px minmax(0,1fr)}.race-layout .scene-card{height:470px}.race-layout .standings-labels{font-size:7px}.race-layout .runner-position{display:none}.race-layout .runner-name{font-size:8px}.race-layout .runner-value{display:none}.runner-intro{padding:7px;gap:7px}.runner-intro>b{min-width:30px;font-size:23px}.runner-intro strong{font-size:11px}.runner-intro small{font-size:7px}.runner-intro #introDetails{font-size:7px}.previous-rows strong{font-size:8px}.previous-rows em{padding:2px 3px;min-width:45px}.previous-title{font-size:9px}.previous-title small{font-size:8px}.result-screen>header>span{display:none}.result-screen td{padding:7px 4px;font-size:10px}.result-screen td:nth-child(2){gap:5px}.finish-order>div{gap:8px}.result-screen footer{gap:10px}.scene-top{left:7px}.broadcast-status{left:7px}.track-badge{font-size:8px;padding:8px;gap:5px}}
.runner-row.profile-selected{background:#3a6845;box-shadow:inset 3px 0 #e2cc59}.race-layout[data-phase="presentation"] .runner-row.first:not(.profile-selected){background:transparent}
.result-screen tr:first-child td:nth-child(3),.result-screen tr:first-child td:nth-child(4){background:#f1d56c;color:#142f20}
.race-layout[data-phase="presentation"] .scene-top,.race-layout[data-phase="presentation"] .broadcast-status{display:none}
.series-heading{color:#d8d682;background:#173b2c;border:1px solid #36543c;padding:11px 16px;margin:0 0 10px;font-size:11px;letter-spacing:1px}.track-buttons{flex-wrap:wrap;justify-content:flex-end}.track-picker{gap:15px}.runner-intro{height:84px}.runner-intro #introDetails,.runner-intro #introVenue{display:block;color:#d4ddbc;font-size:10px;line-height:1.5}.race-layout[data-phase="presentation"] .scene-bottom{bottom:210px}.runner-intro strong{font-size:18px}.schedule-card{margin:18px 0;background:#123328;border:1px solid #36543c;border-radius:8px;padding:18px}.schedule-card summary{cursor:pointer;color:#e4d974}.schedule-scroll{overflow:auto;max-height:430px;margin-top:16px}.schedule-card table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.schedule-card th{text-align:left;color:#a9bf91;font-size:9px;padding:10px}.schedule-card td{padding:10px;border-top:1px solid #2d4b39}.scheduled-current{background:#34583c;color:#f0e6a1}.result-screen footer b{max-width:60%;text-align:right}@media(max-width:1000px){.track-picker{align-items:flex-start;flex-direction:column}.track-buttons{justify-content:flex-start}.runner-intro #introDetails,.runner-intro #introVenue{font-size:8px}.runner-intro strong{font-size:15px}.runner-subtitle{display:block!important;font-size:7px!important}}@media(max-width:550px){.runner-intro strong{font-size:11px}.runner-intro #introDetails,.runner-intro #introVenue{font-size:7px}.runner-intro{height:90px}.runner-intro small{font-size:6px}.series-heading{font-size:9px}}
/* Twelve-runner race cards and fixed decimal odds */
.race-layout{grid-template-columns:315px minmax(0,1fr)}.race-layout .scene-card{height:680px}.race-layout .standings-card{padding:16px 12px}.race-layout .runner-row{height:37px;gap:6px}.race-layout .standings-labels{margin-top:12px}.race-layout .runner-name{font-size:10px}.race-layout .runner-subtitle{font-size:7px}.race-layout .runner-position{font-size:8px;width:10px}.race-layout .runner-number{width:25px;height:25px;flex-shrink:0}.race-summary{margin-top:10px}.odds-pair{display:grid;grid-template-columns:38px 38px;gap:3px;flex-shrink:0}.odds-pair b{background:#e8cf5e;color:#143526;font-size:10px;text-align:center;padding:4px 2px;border-radius:1px;font-variant-numeric:tabular-nums}.odds-note{font-size:10px;color:#aebd95;margin:0 0 10px}.intro-odds{display:flex;gap:6px;margin-left:auto;flex-shrink:0}.intro-odds>span{background:#e4cb5a;color:#173620;min-width:60px;padding:5px 9px;text-align:center}.intro-odds small{color:#345338;font-size:9px}.intro-odds b{font-size:21px}.runner-intro{height:106px;align-items:center}.runner-intro>div:not(.intro-odds){min-width:0}.runner-intro #introDetails{font-size:9px}.field-review{position:absolute;left:0;right:0;bottom:116px;background:#174832;border-top:2px solid #d9ca65;padding:20px 16px;color:#e7d66e}.field-review b{display:block;font-size:16px}.field-review span{display:block;color:#c5d2af;font-size:11px;margin-top:6px}.field-review[hidden]{display:none}.race-layout[data-phase="presentation"] .scene-bottom{bottom:232px}.result-screen td:nth-child(n+3){background:#e1c958;color:#142f20;text-align:right;font-weight:700;border:3px solid #22573e;font-variant-numeric:tabular-nums}.result-screen td{padding:5px 8px;font-size:12px}.result-screen th{font-size:9px}.result-screen td b{width:27px;height:25px}.result-screen-inner{padding:12px 4%}.result-screen footer{margin-top:10px}.position-ticker{gap:10px}.position-ticker>span{font-size:10px}.position-ticker b{min-width:25px;font-size:13px}@media(max-width:1000px){.race-layout{grid-template-columns:230px minmax(0,1fr)}.race-layout .scene-card{height:680px}.race-layout .runner-row{height:37px;gap:4px}.race-layout .standings-card{padding:12px 7px}.race-layout .runner-position{display:none}.race-layout .runner-number{width:21px;height:24px}.race-layout .runner-name{font-size:8px}.race-layout .runner-subtitle{font-size:6px!important}.odds-pair{grid-template-columns:33px 33px;gap:2px}.odds-pair b{font-size:9px}.runner-intro{height:120px;align-content:center;gap:8px;flex-wrap:wrap;padding:8px}.intro-odds{margin-left:0}.intro-odds>span{padding:3px 8px;min-width:55px}.intro-odds b{font-size:16px}.intro-odds small{display:inline;margin-right:6px;font-size:8px}.runner-intro strong{font-size:12px}.runner-intro #introDetails,.runner-intro #introVenue{font-size:7px}.race-layout[data-phase="presentation"] .scene-bottom{bottom:246px}.position-ticker{flex-wrap:wrap;justify-content:flex-start;gap:5px}.position-ticker>span{font-size:0}.position-ticker small{font-size:7px}.position-ticker b{width:24px;height:23px}.result-screen td{font-size:10px;padding:5px 3px}.result-screen td:nth-child(2){gap:4px}.result-screen th{font-size:8px;padding:4px}.result-screen td b{width:23px;min-width:23px;height:23px}.result-screen>header>span{display:none}}@media(max-width:550px){.race-layout{grid-template-columns:190px minmax(0,1fr)}.race-layout .runner-name{font-size:7px}.race-layout .runner-number{width:18px;height:21px;font-size:9px}.odds-pair{grid-template-columns:29px 29px}.odds-pair b{font-size:8px;padding:3px 1px}.race-layout .runner-subtitle{font-size:6px!important}.runner-intro>div:not(.intro-odds){flex:1}.runner-intro>b{min-width:23px;font-size:20px}.runner-intro #introDetails{font-size:6px}.result-screen td{font-size:8px}.result-screen td b{width:18px;min-width:18px;font-size:9px}.field-review b{font-size:12px}.field-review span{font-size:9px}}
.archived-odds{display:block;margin-top:4px;color:#c7d1a9;font-size:10px}
.race-layout:fullscreen{width:100vw;height:100vh;max-width:none;border:0;border-radius:0;background:#123328}.race-layout:fullscreen .scene-card{height:100vh}.race-layout:fullscreen .standings-card{height:100vh;justify-content:flex-start}.race-layout:fullscreen .standings{flex:0}.race-layout:fullscreen .runner-row{height:clamp(37px,5.5vh,60px)}.race-layout:fullscreen .runner-name{font-size:12px}.race-layout:fullscreen .runner-subtitle{font-size:9px}.race-layout:fullscreen .odds-pair b{font-size:11px}.race-layout:fullscreen .race-summary{margin-top:auto}.race-layout:fullscreen .runner-intro strong{font-size:22px}

.result-screen{background:radial-gradient(ellipse at 50% 0,#2c684b,#102f26 75%)}.result-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.result-title h2{margin:0;font-size:24px;color:#fff5c7;letter-spacing:-.5px}.result-title>span{font-size:8px;letter-spacing:1.5px;color:#a9c3ab}.result-champions{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:10px;margin-bottom:16px}.champion-card{border:1px solid #71977c55;border-radius:9px;background:linear-gradient(130deg,#2b5540,#163c2d);padding:12px 14px;min-width:0;box-shadow:0 8px 20px #061d1822}.champion-card>small{font-size:8px;letter-spacing:1.5px;color:#b8d0c2}.champion-card>div{display:flex;align-items:center;justify-content:space-between;margin:4px 0}.champion-rank{font-size:30px;font-weight:800;letter-spacing:-1px;color:#d4e1e5}.champion-card div>b{display:grid;place-items:center;width:32px;height:32px;border-radius:6px;font-size:19px;color:white}.champion-card>strong{display:block;font-size:13px;color:#f3f5e6;overflow-wrap:anywhere}.champion-1{border-color:#e6c76c;background:linear-gradient(125deg,#6c622b,#30472a)}.champion-1>small,.champion-1 .champion-rank{color:#ffe195}.champion-3 .champion-rank{color:#e2b78f}.result-screen table{border-collapse:separate;border-spacing:0 3px}.result-screen td{border:0!important;background:#ffffff06;padding:5px 10px}.result-screen tr:first-child td{background:#cfb65b20}.result-screen td:nth-child(n+3){background:#cfb65b17;color:#f2d887;width:15%;text-align:center;border-radius:4px}.result-screen th:nth-child(n+3){text-align:center}.result-place{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;color:#9eb6a3;font-size:11px}.result-place.place-1{background:#edce78;color:#293a24}.result-place.place-2{background:#c9d8db;color:#253b31}.result-place.place-3{background:#c79a76;color:#233b2d}.result-screen td:nth-child(2)>b{border-radius:4px}.result-screen .finish-order{display:none}.result-screen footer{border-top:1px solid #91a16555;padding-top:12px}.result-race li:nth-child(-n+3){border-left:3px solid #d9c575}.result-race summary span{color:#dbcb81}.previous-rows em{min-width:45px;border-radius:3px}.podium strong{display:none}@media(max-width:700px){.result-title>span{display:none}.result-title h2{font-size:20px}.champion-card{padding:9px 8px}.champion-card>small{font-size:6px;letter-spacing:.8px}.champion-card>strong{font-size:10px}.champion-rank{font-size:24px}.champion-card div>b{width:26px;height:26px;font-size:15px}.result-champions{gap:6px;margin-bottom:10px}.result-screen td{padding:4px 6px}.result-screen>header{padding:13px 15px}.result-screen footer{font-size:8px}}

.archive-page-link{display:inline-flex;align-items:center;gap:35px;background:#dfcc78;color:#173829;padding:14px 20px;border-radius:7px;text-decoration:none;font-size:13px;font-weight:700;margin-top:10px}.archive-page-link span{font-size:19px}
.combination-markets{margin-top:18px;padding:22px;border:1px solid #55734b;border-radius:9px;background:linear-gradient(110deg,#1d4b354d,#123427b3);color:#e7edd6}.market-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.market-heading h2{margin:4px 0 15px;font-size:22px;color:#f1e9bc}.market-heading>span{font-size:9px;color:#b3c493;letter-spacing:1px}.market-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:18px}.market-tabs button{background:#133225;border:1px solid #516746;color:#c5d4af;border-radius:5px;padding:10px 20px;font-size:12px}.market-tabs button[aria-pressed=true]{background:#ddca76;color:#1b3524;border-color:#ddca76;font-weight:700}.market-builder{display:flex;gap:25px;align-items:stretch}.market-selection{flex:1;min-width:0}#marketRule{font-size:12px;color:#d3dfbe;margin:0 0 12px}.market-picks{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.market-picks label{display:flex;flex-direction:column;gap:7px;font-size:9px;letter-spacing:1px;color:#a9bc91}.market-picks select{background:#102c22;color:#ecf0dc;border:1px solid #526c46;border-radius:5px;padding:11px 8px;font-size:12px;max-width:100%;min-width:0}.market-picks select:disabled{opacity:.8}.market-box{display:flex;align-items:center;gap:7px;font-size:11px;color:#b8cba1;margin-top:15px}.market-box[hidden]{display:none}.market-price{background:#ddca7610;border:1px solid #ddca764d;min-width:230px;max-width:320px;padding:14px 20px;border-radius:7px}.market-price>small{font-size:8px;color:#c8c38f;letter-spacing:1.1px}.market-price>span{display:block;font-size:13px;color:#d4e1c1;margin:8px 0}.market-price>strong{display:block;font-size:34px;letter-spacing:-1px;color:#ead385}.market-price p{font-size:10px;color:#b0c399;line-height:1.5;margin-bottom:0}.market-disclaimer{font-size:9px;line-height:1.7;color:#96ac88;margin:17px 0 0}.market-outcome{padding:12px;background:#71574333;border-left:3px solid #b89d6d;font-size:11px}.market-outcome[data-hit=true]{background:#496c3033;border-color:#c3d67d}.settled-markets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}.settled-markets>div{padding:10px;border:1px solid #a2b56b44;border-radius:5px;background:#08291c55}.settled-markets small{display:block;color:#b9c498;font-size:9px}.settled-markets strong{display:block;color:#e2e9ca;font-size:11px;margin:6px 0}.settled-markets b{font-size:14px;color:#eed888}@media(max-width:800px){.market-builder{flex-direction:column}.market-price{max-width:none}.market-heading{align-items:flex-start;flex-direction:column;gap:0}.market-heading>span{margin-bottom:15px}.market-tabs button{flex:1;padding:10px 8px}.settled-markets{grid-template-columns:repeat(2,minmax(0,1fr))}.combination-markets{padding:16px}}
/* Broadcast final odds board: top three and four winning combinations. */
.result-screen .result-champions{display:none}.result-screen-inner{max-width:1120px;padding:14px 4%}.result-screen>header{padding:14px 24px}.result-screen .result-title{margin-bottom:12px}.result-screen .result-title h2{font-size:28px}.result-screen .result-title>span{display:block;color:#c9d5b0;font-size:9px;letter-spacing:1px}.result-screen table{border-spacing:0 5px}.result-screen th{font-size:11px;padding:5px 12px}.result-screen td{padding:9px 12px;font-size:19px}.result-screen td:nth-child(2){font-size:16px;gap:14px;min-height:45px}.result-screen td:nth-child(2)>b{width:37px;height:36px;font-size:23px;flex-shrink:0}.result-screen td:nth-child(n+3){width:20%;font-size:25px;background:#dfc86b!important;color:#183723!important;border:0!important;border-radius:4px;text-align:center}.result-screen .result-place{font-size:13px;width:27px;height:27px}.final-exotic-heading{display:flex;justify-content:space-between;margin:15px 0 6px;padding:0 3px;color:#c6d3a8;font-size:9px;letter-spacing:1px}.final-exotic-heading small{font-size:8px}.result-screen .settled-markets{display:flex;flex-direction:column;gap:6px;margin-top:0}.result-screen .settled-markets>.final-market-row{display:grid;grid-template-columns:180px 1fr minmax(165px,24%);align-items:center;gap:15px;padding:6px 10px;background:#173b2b99;border:1px solid #91aa6c44;border-radius:5px}.result-screen .final-market-row>small{font-size:17px;color:#e2e9d1;font-weight:600}.result-screen .final-market-row>strong{display:flex;align-items:center;gap:8px;margin:0}.result-screen .final-market-row .final-runner-number{display:grid;place-items:center;min-width:34px;height:33px;color:#fff;font-size:20px;border-radius:4px;text-shadow:0 1px 2px #0006}.combination-separator{color:#b6c79a;font-size:13px}.result-screen .final-market-row>.final-market-odds{font-size:25px;text-align:center;background:#e3ce7c;color:#183723;padding:7px 8px;border-radius:3px;font-variant-numeric:tabular-nums}.result-screen footer{margin-top:12px;font-size:8px}.race-layout:fullscreen .result-screen-inner{max-width:1350px;padding-top:26px}.race-layout:fullscreen .result-screen td{padding-top:15px;padding-bottom:15px}.race-layout:fullscreen .result-screen td:nth-child(n+3){font-size:34px}.race-layout:fullscreen .result-screen .final-market-row{padding:11px 16px}.race-layout:fullscreen .result-screen .final-market-row>.final-market-odds{font-size:32px}.race-layout:fullscreen .final-exotic-heading{margin-top:24px}@media(max-width:800px){.result-screen .result-title h2{font-size:23px}.result-screen .result-title>span{font-size:7px;max-width:45%;text-align:right}.result-screen td{font-size:14px;padding:8px}.result-screen td:nth-child(2){font-size:11px;gap:8px}.result-screen td:nth-child(2)>b{width:28px;height:30px;font-size:18px}.result-screen td:nth-child(n+3){font-size:20px;width:21%}.result-screen .settled-markets>.final-market-row{grid-template-columns:95px 1fr minmax(100px,24%);gap:8px;padding:7px}.result-screen .final-market-row>small{font-size:12px}.result-screen .final-market-row>strong{gap:4px}.result-screen .final-market-row .final-runner-number{min-width:25px;height:29px;font-size:16px}.result-screen .final-market-row>.final-market-odds{font-size:18px}.final-exotic-heading{font-size:7px}.final-exotic-heading small{font-size:6px}.combination-separator{font-size:10px}}@media(max-width:450px){.result-screen .settled-markets>.final-market-row{grid-template-columns:75px 1fr 95px;gap:5px}.result-screen .final-market-row>small{font-size:10px}.result-screen .final-market-row .final-runner-number{min-width:19px;height:25px;font-size:13px}.result-screen .final-market-row>strong{gap:2px}.result-screen .final-market-row>.final-market-odds{font-size:15px;padding:7px 3px}.result-screen td:nth-child(2){font-size:9px}.result-screen th{font-size:8px;padding:4px}.result-screen td:nth-child(n+3){font-size:17px}.result-screen .result-place{font-size:10px;width:20px;height:20px}}
/* Expanded previous-race odds beneath the runner preview. */
.race-layout{--previous-panel-height:250px;--profile-panel-height:106px}.race-layout[data-phase="ready"] .scene-card,.race-layout[data-phase="presentation"] .scene-card{height:880px}.scene-card>.last-result{height:var(--previous-panel-height);padding:12px 16px;background:linear-gradient(105deg,#0c3428f5,#23513af2);border-top:2px solid #b7ba6f}.previous-title{font-size:14px;padding-bottom:8px}.previous-title>small{font-size:10px;letter-spacing:1.4px}.previous-title>b{font-size:17px;color:#f0d67f}.previous-result-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:24px;margin-top:10px}.previous-column-head,.previous-payout-row{display:grid;grid-template-columns:minmax(0,1fr) 64px 64px;gap:6px;align-items:center}.previous-column-head{font-size:8px;color:#a7bd95;margin-bottom:8px;letter-spacing:1px}.previous-column-head>span:not(:first-child){text-align:center}.previous-payout-row{margin:7px 0}.previous-finisher{display:flex;align-items:center;gap:7px;min-width:0}.previous-finisher>small{font-size:9px;color:#c7d5b0}.previous-finisher>b,.previous-exotics span>b{display:grid;place-items:center;width:30px;height:30px;color:#fff;font-size:17px;flex-shrink:0;border-radius:3px;text-shadow:0 1px 2px #0006}.previous-finisher>strong{font-size:12px;line-height:1.25;overflow-wrap:anywhere}.previous-payout-row>em,.previous-exotics em{font-size:16px;font-style:normal;font-weight:800;background:#e4cc75;color:#193722;padding:7px 4px;text-align:center;border-radius:3px;font-variant-numeric:tabular-nums}.previous-exotics{border-left:1px solid #a7bd9555;padding-left:20px;display:flex;flex-direction:column;gap:6px}.previous-exotics>div{display:grid;grid-template-columns:76px 1fr 92px;gap:6px;align-items:center}.previous-exotics>div>small{font-size:10px;color:#d0dcbd}.previous-exotics span{display:flex;align-items:center;gap:4px}.previous-exotics span>b{width:23px;height:25px;font-size:14px}.previous-exotics span>i{font-size:9px;color:#b3c69c;font-style:normal}.previous-exotics em{font-size:14px;padding:5px 4px}.previous-odds-note{display:block;font-size:8px;color:#a8bb95;margin-top:9px;letter-spacing:.5px}.runner-intro{bottom:var(--previous-panel-height);height:var(--profile-panel-height)}.field-review{bottom:var(--previous-panel-height);height:var(--profile-panel-height)}.race-layout[data-phase="ready"] #viewport{height:calc(100% - var(--previous-panel-height));bottom:var(--previous-panel-height)}.race-layout[data-phase="presentation"] #viewport{height:calc(100% - var(--previous-panel-height) - var(--profile-panel-height));bottom:calc(var(--previous-panel-height) + var(--profile-panel-height))}.race-layout[data-phase="ready"] .scene-bottom{bottom:calc(var(--previous-panel-height) + 15px)}.race-layout[data-phase="presentation"] .scene-bottom{bottom:calc(var(--previous-panel-height) + var(--profile-panel-height) + 15px)}.race-layout:fullscreen[data-phase="ready"] .scene-card,.race-layout:fullscreen[data-phase="presentation"] .scene-card{height:100vh}
/* Large live cards for the front and rear of the field. */
.live-field-focus{position:absolute;left:18px;right:18px;bottom:88px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;pointer-events:none}.live-field-focus[hidden]{display:none}.live-focus-card{padding:12px 15px;background:linear-gradient(120deg,#143d2dec,#0a271ee8);border:1px solid #7c966466;border-top:3px solid #b6c675;border-radius:7px;backdrop-filter:blur(12px);box-shadow:0 5px 16px #08231644}.focus-last{border-top-color:#779186}.live-focus-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:9px}.live-focus-heading>small{color:#d8d78d;font-size:10px;font-weight:700;letter-spacing:1px}.live-focus-heading>span{font-size:10px;color:#b1c49e}.live-focus-runner{display:flex;align-items:center;gap:12px}.live-focus-runner>b{width:43px;height:43px;display:grid;place-items:center;flex-shrink:0;border-radius:5px;font-size:26px;color:#fff;text-shadow:0 1px 2px #0006}.live-focus-runner>div{flex:1;min-width:0}.live-focus-runner strong{display:block;font-size:19px;color:#f1f1db;line-height:1.2}.live-focus-runner small{display:block;font-size:9px;line-height:1.5;color:#b7c99f;margin-top:4px}.live-focus-runner>em{font-style:normal;font-weight:700;font-size:19px;color:#e9d68c;white-space:nowrap}.live-focus-footer{display:flex;justify-content:space-between;gap:8px;margin-top:10px;border-top:1px solid #7a956338;padding-top:8px;font-size:10px;color:#afc299}.live-focus-footer b{color:#e8d88c;font-size:12px}.live-focus-footer>strong{color:#c8d6b0;font-size:9px}.position-ticker>span{font-size:12px}.position-ticker b{min-width:29px;height:29px;font-size:17px}.position-ticker small{font-size:10px}@media(max-width:1300px){.race-layout{--previous-panel-height:370px;--profile-panel-height:120px}.race-layout[data-phase="ready"] .scene-card,.race-layout[data-phase="presentation"] .scene-card{height:950px}.previous-result-grid{grid-template-columns:1fr;gap:8px;margin-top:8px}.previous-exotics{border-left:0;border-top:1px solid #a7bd9533;padding:9px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.previous-exotics>div{grid-template-columns:70px 1fr 86px}.previous-finisher>strong{font-size:12px}.previous-payout-row{margin:5px 0}.previous-exotics span>b{width:20px;height:23px;font-size:12px}.previous-exotics span{gap:3px}.previous-exotics em{font-size:12px}.previous-payout-row>em{padding:5px;font-size:15px}.previous-column-head{margin-bottom:4px}.live-field-focus{gap:10px;left:12px;right:12px}.live-focus-card{padding:10px}.live-focus-runner{gap:8px}.live-focus-runner strong{font-size:15px}.live-focus-runner>em{font-size:15px}.live-focus-runner>b{width:34px;height:36px;font-size:22px}}
@media(max-width:1000px){.previous-exotics{display:flex;gap:5px}.previous-exotics>div{grid-template-columns:75px 1fr 90px}.previous-title>b{font-size:14px}.previous-finisher>small{font-size:8px}.previous-finisher>b{width:25px;height:26px;font-size:15px}.previous-finisher>strong{font-size:10px}.scene-card>.last-result{padding:10px}.previous-odds-note{font-size:7px}.live-field-focus{bottom:96px;gap:8px}.live-focus-heading>small{font-size:8px;letter-spacing:.5px}.live-focus-heading>span{font-size:8px}.live-focus-runner{flex-wrap:wrap}.live-focus-runner>em{font-size:14px;margin-left:auto}.live-focus-runner small{font-size:7px}.live-focus-footer{flex-wrap:wrap;font-size:8px}.live-focus-footer b{font-size:10px}.live-focus-runner strong{font-size:13px}.live-focus-footer>strong{font-size:8px}}
@media(max-width:550px){.race-layout{--previous-panel-height:385px}.previous-column-head,.previous-payout-row{grid-template-columns:minmax(0,1fr) 42px 42px;gap:4px}.previous-finisher{gap:4px}.previous-finisher>small{font-size:7px}.previous-finisher>strong{font-size:8px}.previous-payout-row>em{font-size:12px}.previous-exotics>div{grid-template-columns:58px 1fr 70px;gap:4px}.previous-exotics>div>small{font-size:8px}.previous-exotics em{font-size:11px}.previous-exotics span>b{width:17px;height:22px;font-size:11px}.previous-exotics span{gap:2px}.previous-exotics span>i{font-size:7px}.previous-title>small{font-size:7px}.live-field-focus{left:7px;right:7px;gap:6px}.live-focus-card{padding:8px}.live-focus-runner>b{width:29px;height:31px;font-size:20px}.live-focus-runner strong{font-size:11px}.live-focus-runner small{font-size:6px}.live-focus-heading>small{font-size:7px}.live-focus-footer>strong{font-size:7px}}
@media(max-width:1000px){.position-ticker>span{font-size:0;gap:4px}.position-ticker small{font-size:8px}.position-ticker b{min-width:25px;width:25px;height:26px;font-size:15px}.live-field-focus{bottom:95px}}

/* Preserve the original live running-order ticker. */
.position-ticker{gap:10px}.position-ticker>span{font-size:10px}.position-ticker b{min-width:25px;width:28px;height:28px;font-size:13px}.position-ticker small{font-size:inherit}
@media(max-width:1000px){.position-ticker{flex-wrap:wrap;justify-content:flex-start;gap:5px}.position-ticker>span{font-size:0;gap:7px}.position-ticker small{font-size:7px}.position-ticker b{width:24px;min-width:25px;height:23px;font-size:13px}}
.pre-race-clock{position:absolute;top:20px;left:50%;transform:translateX(-50%);z-index:4;min-width:250px;text-align:center;padding:12px 24px;background:linear-gradient(120deg,#123c2ce8,#08291ee8);border:1px solid #e0ce7e88;border-radius:8px;backdrop-filter:blur(14px);box-shadow:0 5px 22px #07221444;pointer-events:none}.pre-race-clock[hidden]{display:none}.pre-race-clock>small{display:block;color:#d8d398;font-size:10px;letter-spacing:2px;font-weight:700}.pre-race-clock>strong{display:block;color:#f5de91;font-size:44px;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:2px;margin:3px 0}.pre-race-clock>span{display:block;color:#b7cc9f;font-size:9px;letter-spacing:.8px}.countdown.selling-close{font-size:clamp(24px,5vw,66px);letter-spacing:2px;text-align:center;color:#f8df92;background:#09291c40}.race-layout[data-phase="presentation"] .broadcast-status{display:none}@media(max-width:1000px){.pre-race-clock{top:14px;min-width:200px;padding:9px 14px}.pre-race-clock>strong{font-size:35px}.pre-race-clock>small{font-size:8px}.pre-race-clock>span{font-size:7px}}@media(max-width:550px){.pre-race-clock{min-width:150px;padding:8px;max-width:95%}.pre-race-clock>strong{font-size:29px}.pre-race-clock>span{font-size:6px}}
.pre-race-clock{left:auto;right:18px;transform:none}@media(max-width:550px){.pre-race-clock{right:8px}}
.replay-transition{position:absolute;inset:0;background:#09241c;opacity:0;pointer-events:none;z-index:8}.result-screen{animation:result-reveal .5s ease-out}@keyframes result-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.result-screen{animation:none}}
.intro-record{display:grid;grid-template-columns:auto auto;align-items:center;gap:4px 14px;border-left:1px solid #c8d38b44;padding-left:22px;margin-left:auto;min-width:235px}.intro-record>small{grid-column:1/-1;font-size:8px;color:#c6d28e;letter-spacing:1.1px}.intro-record>b{font-size:24px;color:#efd687;line-height:1.1}.intro-record>span{font-size:10px;color:#c3d5b2}.intro-record>em{grid-column:1/-1;font-style:normal;font-size:9px;color:#b9cba3}.runner-intro .intro-odds{margin-left:18px}.runner-intro #introRecord{flex:none;min-width:235px}.race-layout:fullscreen .intro-record>b{font-size:28px}@media(max-width:1300px){.race-layout{--profile-panel-height:160px}.runner-intro{height:var(--profile-panel-height)}.intro-record{padding-left:12px;gap:3px 10px}.runner-intro #introRecord{min-width:200px}.intro-record>b{font-size:21px}.intro-record>span{font-size:8px}}@media(max-width:1000px){.race-layout{--profile-panel-height:190px}.runner-intro #introRecord{order:4;flex-basis:100%;min-width:0;grid-template-columns:auto 1fr;margin-left:0;padding:7px 0 0;border-left:0;border-top:1px solid #c8d38b44}.intro-record>small{font-size:7px}.intro-record>b{font-size:20px}.intro-record>em{font-size:8px}.runner-intro .intro-odds{margin-left:auto}.race-layout:fullscreen .intro-record>b{font-size:23px}}
/* Monetary returns use a RS 10 display unit; stored odds remain unchanged. */
.race-layout{grid-template-columns:360px minmax(0,1fr)}.odds-pair{grid-template-columns:66px 66px}.odds-pair b{font-size:10px;white-space:nowrap}.intro-odds>span{min-width:90px}.intro-odds b{font-size:21px}.previous-column-head,.previous-payout-row{grid-template-columns:minmax(0,1fr) 92px 92px}.previous-exotics>div{grid-template-columns:76px 1fr 128px}.previous-payout-row>em{font-size:15px}.previous-exotics em{font-size:13px}.result-screen .final-market-row>.final-market-odds{white-space:nowrap}.market-price{min-width:260px}.market-price>strong{font-size:31px}@media(max-width:1300px){.previous-exotics>div{grid-template-columns:70px 1fr 115px}}@media(max-width:1000px){.race-layout{grid-template-columns:250px minmax(0,1fr)}.odds-pair{grid-template-columns:54px 54px}.odds-pair b{font-size:8px}.race-layout .runner-name{font-size:8px}.previous-column-head,.previous-payout-row{grid-template-columns:minmax(0,1fr) 73px 73px}.previous-payout-row>em{font-size:12px}.previous-exotics>div{grid-template-columns:68px 1fr 115px}.previous-exotics em{font-size:12px}.intro-odds b{font-size:17px}.intro-odds>span{min-width:80px}.result-screen .final-market-row>.final-market-odds{font-size:16px}}@media(max-width:550px){.race-layout{grid-template-columns:210px minmax(0,1fr)}.odds-pair{grid-template-columns:47px 47px}.odds-pair b{font-size:7px}.race-layout .runner-name{font-size:7px}.previous-column-head,.previous-payout-row{grid-template-columns:minmax(0,1fr) 61px 61px}.previous-payout-row>em{font-size:10px}.previous-exotics>div{grid-template-columns:52px 1fr 94px}.previous-exotics em{font-size:10px}.intro-odds b{font-size:14px}.intro-odds>span{min-width:70px}.result-screen .final-market-row>.final-market-odds{font-size:13px}}
.pre-race-clock.countdown-urgent{background:linear-gradient(120deg,#5b1818f5,#301014f2);border-color:#ff8b7e;box-shadow:0 0 20px #ff574433}.pre-race-clock.countdown-urgent>strong{color:#ffd6ce}.pre-race-clock.countdown-urgent>small,.pre-race-clock.countdown-urgent>span{color:#ffc1b8}.pre-race-clock.countdown-urgent>strong{animation:countdown-glow 1.4s ease-in-out infinite}@keyframes countdown-glow{0%,100%{opacity:1;text-shadow:0 0 7px #ff665544}50%{opacity:.65;text-shadow:0 0 18px #ff6655aa}}@media(prefers-reduced-motion:reduce){.pre-race-clock.countdown-urgent>strong{animation:none}}
.demo-top-link{padding:10px 13px;border:1px solid #a4b77966;border-radius:6px;font-size:11px;color:#e4d58f;text-decoration:none;background:#29432d55}@media(max-width:650px){.topbar>.demo-badge{display:none}.demo-top-link{font-size:10px;padding:9px 10px}}

.finish-freeze{padding:0;gap:0;background:#081c16;overflow:hidden;display:flex;align-items:center;justify-content:center}.finish-freeze .finish-line-photo{width:100%;height:100%;object-fit:contain;aspect-ratio:auto}.finish-freeze header{position:absolute;top:20px;left:20px;right:20px;display:flex;justify-content:space-between;gap:10px;background:#0c2d22e8;border:1px solid #b8b473;padding:12px 16px;border-radius:5px;font-size:clamp(11px,1.3vw,18px);letter-spacing:2px}.finish-freeze .freeze-caption{position:absolute;bottom:50px;left:20px;right:20px;display:flex;align-items:center;gap:14px;padding:16px;background:#123e30eb;border-left:4px solid #e0cc7f;border-radius:4px;font-size:clamp(14px,2vw,25px)}.freeze-caption>strong{color:#e5cf86}.freeze-caption>b{display:grid;place-items:center;width:43px;height:43px;border-radius:5px;color:#fff}.freeze-steps{position:absolute;bottom:24px;display:flex;gap:7px}.freeze-steps i{width:35px;height:3px;background:#4b6855}.freeze-steps i.active{background:#f1d77c}

.photo-finish{position:absolute;inset:0;z-index:30;color:#f5edca}.photo-finish[hidden]{display:none}
@media(prefers-reduced-motion:no-preference){.finish-line-photo{animation:shutter-reveal .18s ease-out}@keyframes shutter-reveal{from{filter:brightness(1.4)}to{filter:brightness(1)}}}
