@font-face{font-family:DM;src:url('assets/dm-regular.woff') format('woff');font-weight:400 500;font-display:swap}@font-face{font-family:DM;src:url('assets/dm-semibold.woff') format('woff');font-weight:550 900;font-display:swap}@font-face{font-family:Cormorant;src:url('assets/cormorant.woff') format('woff');font-weight:400 800;font-display:swap}@font-face{font-family:Plex;src:url('assets/plex-mono.woff') format('woff');font-display:swap;font-weight:400 800}
:root{color-scheme:dark;--bg:#0c120f;--panel:#151c17;--gold:#d5b77c;--gold-hi:#e8cb93;--text:#f0eee5;--muted:#a8b0a8;--dim:#878f87;--line:#303831;--green:#8bcc9a;--serif:Cormorant,Georgia,serif;--sans:DM,system-ui,sans-serif;--mono:Plex,ui-monospace,monospace}
*{box-sizing:border-box}html{scroll-behavior:smooth;scrollbar-color:#465345 #101511}body{margin:0;min-width:300px;min-height:100vh;background:radial-gradient(ellipse at 48% 13%,#15201950 0,transparent 57%),var(--bg);color:var(--text);font:400 14px/1.45 var(--sans);-webkit-font-smoothing:antialiased}button,a{font:inherit;-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none}button{touch-action:manipulation}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #f2d494;outline-offset:4px}button:disabled:focus{outline:none}a{color:inherit}button,input{font-family:inherit}h1,h2,h3,p{margin:0}[hidden]{display:none!important}.icon{display:block;flex-shrink:0}[data-icon],[data-art]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.wrap{width:min(1512px,calc(100% - clamp(48px,7.6vw,128px)));margin-inline:auto}.skip{position:fixed;left:8px;top:-60px;background:var(--gold);color:#121c13;padding:10px;z-index:80}.skip:focus{top:5px}.masthead{border-bottom:1px solid #283029;background:#0e1511}.topbar{height:72px;display:flex;align-items:center;gap:clamp(28px,5.3vw,92px)}.brand{display:flex;align-items:center;gap:10px;color:var(--gold);text-decoration:none;flex-shrink:0}.club-crest{width:39px;height:43px}.brand-type{display:flex;flex-direction:column;align-items:center}.brand-type b{font:600 19.5px/.99 var(--serif);color:#e6d4b1;letter-spacing:.08em}.brand-type small{display:flex;align-items:center;gap:8px;font:500 8px/1 var(--sans);letter-spacing:.28em;color:#b5a07c;margin-top:5.5px}.brand-type small i{width:13px;height:1px;background:#6f6147}.main-nav{align-self:stretch;display:flex;gap:28px}.nav-item{position:relative;display:flex;align-items:center;gap:9px;padding:1px 0 0;font-size:13px;font-weight:500;color:#a1a99f;white-space:nowrap}.nav-item .icon{width:16px;height:16px}.nav-item.current{color:var(--gold-hi)}.nav-item.current:after{content:'';position:absolute;left:0;right:0;bottom:-1px;background:#cfb37b;height:2px;box-shadow:0 -2px 12px #c6ab6522}.nav-item:hover,.guide-link:hover,.sound-button:hover{color:#e9d1a3}.head-tools{margin-left:auto;display:flex;gap:18px;align-items:center}.guide-link,.sound-button{color:#bfc4ba;display:flex;align-items:center;gap:8px;font-size:12px;padding:7px 0;white-space:nowrap}.guide-link .icon,.sound-button .icon{width:16px;height:16px}.tool-rule{width:1px;height:18px;background:#343b33}.sound-button{color:#a0a99f;min-width:79px}.sound-button[aria-pressed=true]{color:var(--gold)}
.intro{display:flex;align-items:center;justify-content:space-between;padding:26px 0 23px;gap:20px}.breadcrumb{display:flex;align-items:center;gap:9px;font:500 9px/1.2 var(--mono);letter-spacing:.13em;color:#b6a784}.breadcrumb>span:last-child{color:#879287}.tiny-diamond{width:5px;height:5px;background:#c9a76e;transform:rotate(45deg);margin:0 2px 0 1px}.slash{color:#4b554b}.title-line{display:flex;align-items:center;gap:16px;margin-top:7px}h1{font:600 clamp(43px,3.7vw,60px)/.98 var(--serif);letter-spacing:-.04em}.edition{font:500 8.5px/1 var(--mono);letter-spacing:.135em;color:#d3b57b;border:1px solid #61543b;border-radius:4px;background:linear-gradient(120deg,#28291d,#1b2018);padding:6px 8px 5px;margin-top:7px;white-space:nowrap}.balance{display:flex;gap:12px;align-items:center;padding:8px 17px 8px 13px;background:linear-gradient(110deg,#24291e,#1b221b 65%);border:1px solid #434532;box-shadow:0 1px 0 #ffffff05 inset;border-radius:9px}.medal-art{width:42px}.balance small{font:500 8px/1.15 var(--mono);letter-spacing:.14em;color:#b5b7a3}.balance-total{display:flex;align-items:baseline;gap:7px;margin-top:1px}.balance-total b{font:600 24px/1.12 var(--sans);font-variant-numeric:tabular-nums;letter-spacing:-.04em;color:#f1e2bc}.balance-total>span{color:#acb09f;font-size:11px}.balance.bump{animation:balance-bump .45s ease}@keyframes balance-bump{50%{border-color:var(--gold);box-shadow:0 0 8px #d5b77c23}}
.machine-layout{display:grid;grid-template-columns:minmax(0,1fr) clamp(310px,26.2vw,393px);gap:18px;align-items:stretch}.cabinet-shell{position:relative;display:flex;min-width:0;flex-direction:column;overflow:hidden;border-radius:12px;border:1px solid #4c4d3b;background:#161d17;box-shadow:0 10px 28px #0003,0 0 0 1px #0002}.view-window{position:relative;flex:1;isolation:isolate;min-height:318px;overflow:hidden;background:#201910 url('assets/side-station.webp') center 10%/cover no-repeat}.view-window canvas{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:pan-y;cursor:grab}.view-window canvas:active{cursor:grabbing}.feed-shade{pointer-events:none;position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(1,5,2,.27),transparent 19%,transparent 72%,rgba(4,8,5,.48));box-shadow:inset 0 0 0 1px #f0d39909,inset 0 0 45px #1f160c14}.feed-top,.feed-bottom{position:absolute;left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;z-index:4}.feed-top{top:14px;align-items:flex-start}.feed-bottom{bottom:14px}.feed-top button,.feed-bottom button,.feed-bottom .popover{pointer-events:auto}.feed-ident{display:flex;align-items:center;gap:7px}.live-label,.cam-label{display:inline-flex;align-items:center;gap:7px;min-height:24px;padding:0 9px;border-radius:4px;background:#101510cf;backdrop-filter:blur(9px);border:1px solid #ffffff24;color:#f5f3e8;font:500 9px/1 var(--mono);letter-spacing:.085em}.live-label i{height:6px;width:6px;border-radius:50%;background:#e36958;box-shadow:0 0 7px #e452497d}.cam-label{color:#d2d2c8;font-size:8px;letter-spacing:.09em;background:#16190fa8;border-color:#ffffff16}.glass-square{display:grid;place-items:center;height:30px;width:31px;border:1px solid #f4efe22e;background:#151a14bb;backdrop-filter:blur(7px);border-radius:5px;color:#eceee2}.glass-square .icon{width:16px;height:16px}.glass-square:hover,.camera-button:hover{background:#182119f0;border-color:#dec3968a}.camera-wrap{position:relative}.camera-button{display:flex;align-items:center;gap:7px;background:#141b15cc;color:#f5f2e8;border:1px solid #ddd9c638;backdrop-filter:blur(9px);border-radius:5px;padding:7px 9px;font-size:11px;line-height:1.2}.camera-button .icon{width:14px;height:14px}.camera-button>span:last-child .icon{width:12px;height:12px}.feed-format{color:#e6e6d8bb;display:flex;align-items:center;gap:6px}.feed-format .icon{width:15px;height:15px}.feed-format>span:last-child{font:500 8px/1 var(--mono);border:1px solid #c7c9b27a;border-radius:2px;padding:2px 3px}.popover{position:absolute;z-index:10;border-radius:8px;background:#1a241d;border:1px solid #525a49;box-shadow:0 12px 28px #0009;overflow:hidden}.camera-menu{bottom:calc(100% + 7px);left:0;width:190px;padding:6px}.pop-label{font:500 8px/1 var(--mono);letter-spacing:.13em;color:#b6ac8e;padding:8px}.camera-menu button{width:100%;display:flex;align-items:center;gap:9px;text-align:left;color:#cbd1c5;padding:9px 7px;font-size:12px;border-radius:4px}.camera-menu .icon{width:15px;height:15px}.camera-menu i{font:500 9px var(--mono);margin-left:auto;color:#9a9f90}.camera-menu button:hover,.runner-menu button:hover{background:#2c372c}.camera-menu button.selected,.runner-menu button.selected{background:#353a29;color:var(--gold-hi)}
.race-strip{display:flex;align-items:center;gap:14px;min-height:69px;padding:12px 16px;background:linear-gradient(120deg,#1b241c,#192019);border-top:1px solid #4c4937}.race-ident{display:flex;align-items:center;gap:10px;white-space:nowrap}.flag-icon{height:34px;width:34px;display:grid;place-items:center;border-radius:6px;background:#303327;border:1px solid #494b37;color:#d7ba7f}.flag-icon .icon{height:21px;width:21px}.strip-title{font:600 20px/1.04 var(--serif);letter-spacing:-.025em}.strip-title b{font-weight:600}.strip-sub{font-size:10px;line-height:1.2;color:#a5ae9e;margin-top:4px}.strip-sub i{font-style:normal;padding:0 3px;color:#74816f}.phase-pill{padding:5px 8px;border:1px solid #405d41;border-radius:30px;display:flex;align-items:center;gap:6px;background:#263b2899;color:#a3d0a6;font-size:10px;line-height:1;white-space:nowrap}.phase-pill i,.station-badge i,.online i{width:5px;height:5px;border-radius:50%;background:#89bd8c;display:inline-block}.phase-pill.closed{color:#e5c68a;border-color:#6b5a35;background:#3b3323}.phase-pill.closed i{background:#e1bd79}.strip-spacer{flex:1}.race-timer{text-align:right;white-space:nowrap}.race-timer span{font:500 8px/1 var(--mono);display:block;letter-spacing:.10em;color:#afae95}.race-timer b{font:500 19px/1.2 var(--mono);color:#e9d5a8;display:block;margin-top:3px;letter-spacing:.015em}.skip-race{width:28px;height:30px;border:1px solid #464d40;border-radius:5px;display:grid;place-items:center;color:#babfae;margin-left:-4px}.skip-race .icon{width:14px;height:14px}.skip-race:hover{color:#ead09a;border-color:#a58d60}.race-announcement,.race-finish{pointer-events:none;position:absolute;z-index:3;background:#111d16ef;border:1px solid #988052a8;border-radius:8px;box-shadow:0 6px 20px #0004;backdrop-filter:blur(8px);text-align:center}.race-announcement{left:50%;top:43%;transform:translate(-50%,-50%);padding:10px 21px;font:500 10px/1.4 var(--mono);color:#dcc492;letter-spacing:.09em}.race-announcement b{display:block;font:600 36px/.98 var(--serif);color:#f5e4bd;margin-top:4px}.race-finish{left:50%;bottom:56px;transform:translateX(-50%);padding:11px 22px;color:var(--gold-hi)}.race-finish small{display:block;font:500 9px var(--mono);letter-spacing:.14em}.race-finish b{font:600 24px var(--serif);color:#f0eedf;white-space:nowrap}.full-bet-tools{display:none}.cabinet-shell:fullscreen,.cabinet-shell.immersive{width:100vw;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;background:#0d140e;display:flex}.cabinet-shell.immersive{position:fixed;z-index:40;inset:0}.cabinet-shell:fullscreen .full-bet-tools,.cabinet-shell.immersive .full-bet-tools{display:flex;justify-content:space-between;align-items:center;padding:9px 20px;border-top:1px solid var(--line);color:var(--dim);font:500 9px var(--mono);letter-spacing:.09em}.full-bet-tools button{display:flex;align-items:center;gap:8px;color:var(--gold);font:500 12px var(--sans);letter-spacing:0}.cabinet-shell:fullscreen .view-window,.cabinet-shell.immersive .view-window{min-height:0}.cabinet-shell:fullscreen .race-strip,.cabinet-shell.immersive .race-strip{padding-inline:22px}
.terminal{min-width:0;display:flex;flex-direction:column;background:linear-gradient(135deg,#19211b,#141c17 55%,#171f18);border:1px solid #374037;box-shadow:inset 0 1px 0 #d5cfaa08,0 6px 19px #0002;border-radius:12px;padding:19px 19px 0}.terminal-head{display:flex;align-items:center;justify-content:space-between;gap:7px}.terminal-title{display:flex;gap:9px;align-items:center}.terminal-title>[data-icon]{color:var(--gold);width:18px}.terminal-title h2{font:600 clamp(21px,1.65vw,27px)/1 var(--serif);letter-spacing:-.025em;white-space:nowrap}.station-badge{display:inline-flex;gap:6px;align-items:center;color:#b2bba8;font:500 8px/1 var(--mono);letter-spacing:.06em;border:1px solid #3d493c;border-radius:4px;padding:5px 6px;white-space:nowrap}.station-badge i{width:4px;height:4px}.market-pane{display:flex;flex-direction:column;flex:1}.market-tabs{display:flex;border:1px solid #323d32;border-radius:6px;padding:3px;background:#0e1611;margin:17px 0 17px;gap:3px}.market-tabs button{flex:1;border:1px solid transparent;border-radius:3px;padding:5px 3px;font-size:12px;font-weight:550;line-height:1.4;color:#9ea89b}.market-tabs button.active{color:#eddbac;background:#34392a;border-color:#55563b;box-shadow:0 1px 5px #0003}.market-tabs button:not(.active):hover{background:#223023;color:#e3e9dd}.field-label{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#a9b3a5;font:500 9px/1.3 var(--mono);letter-spacing:.11em}.field-label>span:last-child{font:400 11px/1.3 var(--sans);letter-spacing:0;color:#a4ad9f}.runner-picker{position:relative;margin-top:7px;z-index:5}.runner-choice{width:100%;min-height:46px;display:flex;align-items:center;gap:8px;justify-content:space-between;border:1px solid #434c3d;background:#1c251d;border-radius:6px;padding:7px 10px;text-align:left}.runner-choice:hover{border-color:#747857}.runner-choice>.icon,.runner-choice>[data-icon]{color:#b4bda9}.runner-choice>[data-icon] .icon{width:13px;height:13px}#choiceContent{display:flex;align-items:center;gap:9px;width:100%;min-width:0}.choice-name{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.runner-square{width:24px;height:24px;display:grid;place-items:center;border-radius:4px;flex:0 0 auto;font:600 13px/1 var(--serif);box-shadow:inset 0 0 0 1px #ffffff25;color:#f4f0e5}.choice-odds{font:500 11px/1 var(--mono);color:#d9c89d;margin-left:auto;white-space:nowrap}.choice-pair{display:flex;gap:3px;align-items:center}.choice-pair .runner-square{width:20px;height:22px}.runner-menu{top:calc(100% + 5px);left:0;right:0;padding:5px}.runner-menu button{width:100%;display:flex;align-items:center;gap:8px;border-radius:4px;padding:7px;text-align:left;font-size:12px}.runner-menu button .runner-square{width:21px;height:21px}.runner-menu .menu-odds{font:500 10px var(--mono);margin-left:auto;color:#cec7ab}.runner-menu>small{display:block;padding:6px 7px;color:#b6bba8;font-size:10px}.stake-field{margin-top:19px}.chips{display:grid;grid-template-columns:repeat(4,1fr);align-items:center;padding:9px 1px 6px;gap:6px}.chip{position:relative;display:grid;place-items:center;isolation:isolate;min-width:0;width:100%;height:57px}.chip svg{width:51px;height:51px;display:block;filter:drop-shadow(0 3px 2px #0006);transition:transform .16s,filter .16s}.chip.active:before{content:'';width:57px;height:57px;position:absolute;border:1px solid #d0b375;border-radius:50%;box-shadow:0 0 0 2px #d5b77c08;background:#d6bd7c0a}.chip.active svg{filter:drop-shadow(0 1px 2px #0004)}.chip:hover svg{transform:translateY(-2px)}.price-line{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #303b30;padding:15px 0 13px;margin-top:auto;gap:8px}.price-line>span{display:flex;gap:5px;align-items:center;color:#aeb7a9;font-size:12px}.mini-info{display:inline-flex;align-items:center;justify-content:center;padding:0;color:#87967e}.mini-info .icon{width:13px;height:13px}.price-line strong{font:500 18px/1 var(--mono);color:#e1c68b;white-space:nowrap}.price-line small{font:400 11px var(--sans);color:#aeaf97}.place-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:10px 13px;border:1px solid #ecce93;font-weight:650;background:linear-gradient(105deg,#d5b379,#e5c995 65%,#d5b47c);border-radius:6px;color:#25281c;box-shadow:inset 0 1px 0 #ffe7b9b3,0 2px 6px #0003;text-shadow:0 1px 0 #ead5ac47}.place-button>.icon,.place-button>[data-icon] .icon{width:17px;height:17px}.place-button .placed-cost{margin-left:auto;font:500 10.5px var(--mono);color:#494735}.place-button:hover:not(:disabled){filter:brightness(1.06);box-shadow:0 0 18px #ead39b12}.place-button:active:not(:disabled){transform:translateY(1px)}.place-button:disabled{filter:saturate(.3);opacity:.57}.place-button>span:last-child .icon{width:15px;height:15px}.my-bets{display:flex;align-items:center;gap:7px;padding:12px 0 13px;margin-top:15px;border-top:1px solid #343d32;text-align:left;color:#c9cfbf}.my-bets>[data-icon]{color:#99a68f}.my-bets .icon{width:15px;height:15px}.my-bets b{font-weight:500;font-size:12px}.my-bets em{font:500 9px/1 var(--mono);font-style:normal;padding:3px 5px;min-width:17px;text-align:center;background:#293328;border:1px solid #40483b;border-radius:4px;color:#b8bda9}.wager-summary{margin-left:auto;color:#9ea996;font-size:11px}.side-chevron{font:400 18px/10px var(--sans);color:#889580}.my-bets:hover b{color:#f1d79f}.watch-pane{flex:1;min-height:315px;display:flex;flex-direction:column;justify-content:center;padding:16px 0 0}.watch-caption{display:flex;align-items:center;justify-content:space-between;padding-bottom:8px;color:#d1bc8c;font:500 9px var(--mono);letter-spacing:.075em}.watch-row{display:flex;align-items:center;gap:9px;min-height:35px;border-bottom:1px solid #2d392e;font-size:12px}.watch-row>i{font:500 9px var(--mono);color:#979e8e;min-width:18px}.watch-row small{margin-left:auto;font:500 9px var(--mono);color:#b8c1ae}.watch-row .runner-square{width:20px;height:20px}.watch-row.lead{color:#ecd39c}.watch-progress{height:3px;border-radius:3px;background:#364233;margin:10px 0 12px;overflow:hidden}.watch-progress i{display:block;height:100%;background:#cab178;transition:width .15s}.watch-note{color:#a4af9b;font-size:11px;margin-bottom:6px}.watch-actions{display:flex;gap:8px;margin-top:15px}.watch-actions button{flex:1;border:1px solid #505a46;background:#272f23;border-radius:5px;padding:8px;font-size:11px;color:#d8cfaf}.gates-copy{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;min-height:230px;text-align:center}.gates-copy .icon{width:29px;height:29px;color:var(--gold)}.gates-copy h3{font:600 26px var(--serif)}.gates-copy p{color:#a8b49f;font-size:12px;max-width:235px}
.racecard-section{margin-top:25px}.section-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:13px}.section-kicker{font:500 8px/1 var(--mono);letter-spacing:.18em;color:#bcaa82}.section-title>div{display:flex;align-items:center;gap:12px;margin-top:3px}.section-title h2{font:600 30px/.98 var(--serif);letter-spacing:-.035em}.runner-count{font:500 8px/1 var(--mono);letter-spacing:.09em;padding:4px 6px 3px;border:1px solid #394238;border-radius:4px;color:#a9b3a3}.card-hint{display:flex;align-items:center;gap:7px;color:#95a28f;font-size:11px;padding-bottom:2px}.card-hint .icon{width:13px;height:13px}.runner-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.horse-card{--tint:128,133,117;position:relative;overflow:hidden;border:1px solid #343e34;border-radius:8px;min-width:0;text-align:left;padding:12px 13px 13px;background:radial-gradient(ellipse at 69% 24%,rgba(var(--tint),.115),transparent 66%),#151d17;box-shadow:inset 0 1px 0 #ffffff03;transition:border-color .14s,background-color .14s,transform .14s}.horse-card:hover{border-color:#737a62;background-color:#1a241c;transform:translateY(-2px)}.horse-card.selected{border-color:#b69b66;background-color:#20251b;box-shadow:inset 0 0 0 1px #c4a26518}.horse-card.selected:after{content:'';position:absolute;left:17%;right:17%;top:0;height:1px;background:linear-gradient(90deg,transparent,#d7bd86,transparent)}.card-top,.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px}.card-top .runner-square{width:21px;height:21px;border-radius:4px;font:600 13px var(--serif)}.card-price{color:#c8c6ae;font:500 12px/1 var(--mono);letter-spacing:-.03em}.card-price small{color:#85917e;font:400 8px/1 var(--mono);margin-right:4px;letter-spacing:.025em}.card-silk{height:49px;display:flex;align-items:center;justify-content:center;margin:0 0 4px}.card-silk .silk-art{width:81px;height:61px;filter:drop-shadow(0 3px 3px #0004)}.horse-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.017em;font:600 clamp(13px,1.03vw,17px)/1.35 var(--sans);color:#ebece0}.card-bottom{margin-top:3px}.card-style{font-size:10.5px;line-height:1.1;color:#9fab96}.choice-check{flex-shrink:0;display:grid;place-items:center;border:1px solid #55604e;border-radius:50%;width:13px;height:13px;background:#182019}.selected .choice-check{background:#d5b881;border-color:#d5b881;color:#24291c}.choice-check .icon{width:9px;height:9px;stroke-width:2.7}.foot{border-top:1px solid #28332a;display:flex;align-items:center;gap:13px;font-size:10px;color:#859380;padding:17px 1px 18px;margin-top:24px}.online{display:flex;align-items:center;gap:7px;color:#9daa94}.online i{background:#79a87a;width:4px;height:4px}.footer-split{color:#53604e}.foot button{display:flex;align-items:center;gap:6px;margin-left:auto;color:#98a48f;font-size:10px;padding:0}.foot button:hover{color:var(--gold)}.foot .icon{height:11px;width:11px}
.dialog{border:1px solid #58604a;border-radius:13px;background:linear-gradient(135deg,#1b261e,#121b15);color:var(--text);max-height:min(85dvh,820px);width:min(590px,calc(100% - 28px));padding:0;box-shadow:0 30px 90px #000a;overflow-y:auto}.dialog[open]{animation:modal-in .17s ease}.dialog::backdrop{background:#030906b8;backdrop-filter:blur(5px)}.dialog-frame{padding:22px 25px 25px}.dialog-top{display:flex;align-items:center;justify-content:space-between}.dialog-frame>h2{font:600 38px/1.05 var(--serif);letter-spacing:-.035em;margin:3px 0 17px}.icon-button{width:30px;height:30px;display:grid;place-items:center;border:1px solid #455140;border-radius:6px;background:#202a20}.icon-button .icon{width:15px;height:15px}.dialog-tabs{display:flex;gap:4px;padding:3px;border:1px solid #344135;border-radius:6px;background:#111a13;margin:0 0 18px}.dialog-tabs button{flex:1;padding:7px;font-size:12px;color:#a7b49f;border-radius:3px}.dialog-tabs button.on{background:#343a29;color:#e7d19e}.dialog-body p,.explainer{font-size:13px;line-height:1.65;color:#b4c0ab}.how-step{display:grid;grid-template-columns:27px 1fr;gap:11px;margin-bottom:14px}.step-no{display:grid;place-items:center;width:25px;height:25px;color:var(--gold);border:1px solid #5a5940;border-radius:50%;font:500 10px var(--mono);background:#2a3022}.how-step b{color:#e8ebde;font-weight:600;font-size:13px}.how-step p{font-size:12px;color:#adbba4;line-height:1.55;margin-top:2px}.help-markets{display:grid;gap:1px;background:#334032;border:1px solid #334032;border-radius:6px;overflow:hidden;margin:17px 0}.help-markets>div{display:grid;grid-template-columns:72px 1fr;gap:9px;background:#18221a;padding:9px 11px;font-size:12px}.help-markets b{color:var(--gold);font-weight:550}.help-markets span{color:#b9c5af}.help-note,.pause-note{color:#98a88f;font-size:11px;line-height:1.55}.pause-note{display:flex;align-items:center;gap:6px;margin-top:20px;border-top:1px solid #334033;padding-top:12px;font-size:10px}.pause-note .icon{width:12px;height:12px}.keys{margin:15px 0;line-height:2.1;color:#c0cbb6;font-size:11px}kbd{background:#101811;border:1px solid #4b5845;border-bottom-width:2px;border-radius:4px;padding:1px 4px;font:500 10px var(--mono);color:#dfd9bf;margin-right:2px}.ref-copy h3,.result-sheet h3{font:600 23px var(--serif);margin:12px 0 6px}.ref-copy p{font-size:13px;line-height:1.65;color:#b6c2ae}.ref-copy a,.inline-link{color:var(--gold);text-underline-offset:3px}.reference-list{list-style:none;padding:0;margin:13px 0 0}.reference-list li+li{margin-top:8px}.reference-list a{display:flex;align-items:center;justify-content:space-between;gap:7px;border:1px solid #3c4a39;border-radius:6px;background:#18221a;padding:9px 11px;text-decoration:none;font-size:12px}.reference-list a:hover{border-color:#91815a}.reference-list small{display:block;font-size:10px;color:#99a991;margin-top:2px}.empty-state{text-align:center;padding:22px 14px 25px}.empty-symbol{margin:0 auto 12px;display:grid;place-items:center;width:47px;height:47px;border-radius:50%;border:1px solid #50543c;color:var(--gold);background:#2b3224}.empty-symbol .icon{width:23px;height:23px}.empty-state h3{font:600 25px var(--serif);margin-bottom:5px}.empty-state p{font-size:12px;color:#a5b49d;max-width:330px;margin:0 auto;line-height:1.55}.dialog-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#d5b780;border:1px solid #e7cc96;color:#22291b;font-weight:600;border-radius:5px;padding:9px 14px;font-size:12px;margin-top:15px}.dialog-action .icon{width:14px;height:14px}.dialog-section-head{display:flex;justify-content:space-between;gap:10px;font:500 9px var(--mono);letter-spacing:.075em;color:#aeb99f;margin-bottom:9px}.ticket-item{display:flex;align-items:center;gap:10px;background:#1b271d;border:1px solid #3d4937;border-radius:7px;padding:12px;margin-top:8px}.ticket-item .runner-square{width:25px;height:25px}.ticket-copy{min-width:0;flex:1}.ticket-copy b{font-weight:600;font-size:13px}.ticket-copy small{display:block;font:500 9px/1.5 var(--mono);color:#a9b59e;margin-top:2px}.ticket-item>strong{font:500 12px var(--mono);color:var(--gold)}.remove-ticket{display:grid;place-items:center;border:1px solid #514f3d;padding:6px;border-radius:4px;color:#c2b399}.remove-ticket .icon{width:13px;height:13px}.ticket-total{display:flex;justify-content:space-between;padding:14px 1px;color:#bfccb3;font-size:12px}.ticket-total strong{color:var(--gold);font-family:var(--mono)}.ledger-record{margin:8px 0;background:#18241b;border:1px solid #394936;border-radius:7px;overflow:hidden}.ledger-record summary{display:flex;justify-content:space-between;align-items:center;list-style:none;cursor:pointer;gap:10px;padding:12px}.ledger-record summary::-webkit-details-marker{display:none}.ledger-record summary:after{content:'＋';color:#a4ae96}.ledger-record[open] summary:after{content:'−'}.ledger-record summary>div{flex:1}.ledger-record summary small{color:#a4b196;font:500 9px var(--mono);display:block}.ledger-record summary b{font-weight:600;font-size:13px}.ledger-record summary>em{font:500 10px var(--mono);color:#d3bd89}.record-detail{padding:0 13px 13px}.result-table{border-collapse:collapse;width:100%;font-size:11px}.result-table th{font:500 8px var(--mono);color:#9fac96;text-align:left;letter-spacing:.07em}.result-table th,.result-table td{padding:7px 4px;border-top:1px solid #344133}.result-table td:last-child,.result-table th:last-child{text-align:right}.result-table .runner-square{display:inline-grid;vertical-align:middle;margin-right:6px;width:17px;height:17px;font-size:11px}.stats-row{display:flex;justify-content:space-between;gap:10px;padding:11px 0 8px;font-size:11px;color:#acbba1}.stats-row b{color:#e2d1a7}.settlement-line{font-size:11.5px;line-height:1.5;padding:5px 0;color:#b2c1a7}.settlement-line.won{color:#a9d7a7}.toast{position:fixed;z-index:60;left:50%;bottom:24px;transform:translate(-50%,12px);opacity:0;pointer-events:none;display:flex;align-items:center;gap:9px;max-width:min(510px,94vw);padding:11px 15px;background:#223026f5;color:#e9eddf;border:1px solid #758263;box-shadow:0 6px 30px #0008;backdrop-filter:blur(8px);border-radius:7px;font-size:12px;transition:opacity .15s,transform .15s}.toast.shown{transform:translate(-50%,0);opacity:1}.toast .icon{width:15px;height:15px;color:#c4d5ad}.toast.bad{border-color:#927450}.nojs{position:fixed;top:0;background:#332f23;color:#f6dfb5;z-index:100;padding:12px}.dim{color:var(--dim)}@keyframes modal-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(min-width:1500px){.terminal{padding:23px 23px 0}.machine-layout{gap:22px}.market-tabs{margin:22px 0}.runner-choice{min-height:50px}.stake-field{margin-top:22px}.chips{padding-top:13px;padding-bottom:14px}.chip{height:62px}.chip svg{width:56px;height:56px}.chip.active:before{width:62px;height:62px}.price-line{padding-block:17px}.place-button{min-height:46px}.my-bets{padding-block:16px}.view-window{min-height:395px}.card-silk{height:56px}.card-silk .silk-art{width:93px;height:69px}.horse-card{padding:14px 16px 15px}.racecard-section{margin-top:29px}.race-strip{min-height:76px}.card-style{font-size:12px}}
@media(max-width:1100px){.wrap{width:calc(100% - 48px)}.topbar{gap:38px}.main-nav{gap:20px}.head-tools{gap:12px}.machine-layout{grid-template-columns:minmax(0,1fr) 302px;gap:13px}.terminal{padding:17px 15px 0}.race-strip{gap:9px;padding:11px 12px}.flag-icon{display:none}.phase-pill{font-size:9px;padding:5px 7px}.runner-grid{gap:8px}.horse-card{padding:10px}.card-price small{display:none}.intro{padding:24px 0 20px}.view-window{min-height:312px}.card-silk{height:47px}.chip svg{width:48px;height:48px}.chip.active:before{width:54px;height:54px}.foot{margin-top:19px}.sound-text{display:none}.sound-button{min-width:0}.racecard-section{margin-top:23px}}
@media(max-width:850px){.wrap{width:calc(100% - 34px)}.topbar{height:64px;gap:27px}.brand-type b{font-size:17px}.club-crest{width:33px;height:37px}.main-nav{gap:15px}.nav-item{font-size:12px;gap:6px}.guide-link span:last-child,.tool-rule{display:none}.head-tools{gap:15px}.machine-layout{grid-template-columns:minmax(0,1fr) 278px;gap:12px}.terminal{padding:15px 13px 0}.terminal-title{gap:6px}.terminal-title h2{font-size:20px}.station-badge{font-size:7px;gap:4px;padding:4px}.race-strip{flex-wrap:wrap;gap:8px;padding:10px}.strip-title{font-size:18px}.strip-sub{font-size:9px}.phase-pill{font-size:8px;gap:4px}.race-timer span{font-size:7px}.race-timer b{font-size:16px}.skip-race{width:23px;height:26px}.runner-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.horse-card{padding:12px 13px}.card-silk{height:42px}.horse-name{font-size:14px}.card-style{font-size:11px}.intro{padding:22px 0 18px}.feed-top,.feed-bottom{left:11px;right:11px}.feed-top{top:11px}.feed-bottom{bottom:11px}.live-label,.cam-label{font-size:8px;min-height:21px;padding:0 7px}.view-window{min-height:300px}.flag-icon{display:none}.choice-name{font-size:12px}}
@media(max-width:880px){.machine-layout{display:flex;flex-direction:column;gap:15px}.cabinet-shell,.terminal{border-radius:10px}.view-window{flex:none;min-height:0;aspect-ratio:1.86;width:100%}.race-strip{min-height:60px;flex-wrap:nowrap;padding:10px 13px;gap:10px}.flag-icon{display:grid;width:30px;height:30px}.strip-title{font-size:20px}.strip-sub{font-size:10px}.phase-pill{font-size:10px}.race-timer span{font-size:7px}.race-timer b{font-size:17px}.skip-race{width:26px;height:28px}.terminal{padding:17px 17px 0}.terminal-title h2{font-size:23px}.terminal-title{gap:8px}.station-badge{font-size:8px;padding:5px 6px}.market-pane{display:grid;grid-template-columns:1fr 1fr;column-gap:15px}.market-tabs{grid-column:1/-1;margin:14px 0}.selection-field{align-self:start}.stake-field{margin-top:0}.chips{gap:2px;padding:1px 0}.chip{height:48px}.chip svg{width:38px;height:38px}.chip.active:before{width:43px;height:43px}.price-line{margin-top:13px;grid-column:1/-1;padding:12px 0}.place-button{grid-column:1/-1;min-height:42px}.my-bets{padding:11px 0;margin-top:12px}.choice-name{font-size:13px}.runner-choice{min-height:42px}.racecard-section{margin-top:21px}.section-title h2{font-size:28px}.card-hint{font-size:10px}.card-hint .icon{display:none}.watch-pane{min-height:215px}.watch-row{min-height:31px}.gates-copy{min-height:170px}.watch-actions{margin-top:10px}.view-window canvas{touch-action:pan-y}.cabinet-shell:fullscreen .view-window,.cabinet-shell.immersive .view-window{flex:1;aspect-ratio:auto}.cabinet-shell:fullscreen .flag-icon,.cabinet-shell.immersive .flag-icon{display:grid}.race-finish{bottom:47px;padding:7px 14px}.race-finish b{font-size:20px}}
@media(max-width:540px){.wrap{width:calc(100% - 26px)}.topbar{gap:14px;height:59px}.club-crest{width:29px;height:33px}.brand{gap:6px}.brand-type b{font-size:15px;letter-spacing:.065em}.brand-type small{font-size:6px;gap:4px;letter-spacing:.21em;margin-top:4px}.brand-type small i{width:8px}.main-nav{margin-left:auto;gap:12px}.nav-item span:last-child{display:none}.nav-item{min-width:25px;justify-content:center}.nav-item .icon{width:17px;height:17px}.head-tools{margin-left:0;gap:10px}.sound-button,.guide-link{padding:7px 2px}.guide-link .icon,.sound-button .icon{width:16px;height:16px}.intro{padding:18px 0 15px;gap:10px}.breadcrumb{font-size:7px;gap:6px}.title-line{gap:9px;margin-top:6px}h1{font-size:38px}.edition{font-size:6.2px;letter-spacing:.08em;padding:4px;margin-top:5px}.balance{padding:6px 8px;gap:5px;border-radius:6px}.balance small{font-size:6px;letter-spacing:.085em}.medal-art{width:22px}.medal-art svg{height:25px;width:26px}.balance-total{gap:4px}.balance-total b{font-size:18px}.balance-total>span{font-size:8px}.view-window{aspect-ratio:1.60}.race-strip{padding:9px 10px;gap:7px;min-height:56px}.race-ident{gap:7px}.strip-title{font-size:18px}.flag-icon{display:none}.strip-sub{font-size:9px}.phase-pill{font-size:8.5px;padding:5px 6px}.race-timer span{font-size:6.5px}.race-timer b{font-size:16px}.skip-race{width:23px;height:24px}.live-label,.cam-label{min-height:19px;font-size:7px;padding:0 6px;gap:5px}.live-label i{width:5px;height:5px}.glass-square{height:25px;width:26px}.camera-button{font-size:10px;padding:5px 7px;gap:5px}.feed-format .icon{height:12px;width:12px}.feed-format>span:last-child{font-size:7px}.terminal{padding:15px 13px 0}.market-pane{column-gap:10px}.field-label{font-size:8px;gap:5px}.field-label>span:last-child{font-size:9px}.runner-choice{padding:6px 7px;gap:3px;min-height:40px}.choice-odds{display:none}.choice-name{font-size:11px}.runner-square{height:20px;width:20px}.runner-choice>[data-icon] .icon{width:11px;height:11px}#choiceContent{gap:5px}.chip{height:43px}.chip svg{width:31px;height:31px}.chip.active:before{width:36px;height:36px}.chips{margin-top:3px;gap:0}.market-tabs{margin:12px 0}.market-tabs button{padding:5px;font-size:11px}.price-line{margin-top:9px;padding:10px 0}.price-line>span{font-size:11px}.price-line strong{font-size:16px}.my-bets{margin-top:10px}.place-button{min-height:39px;font-size:13px}.runner-menu{width:max(100%,213px)}.racecard-section{margin-top:20px}.section-kicker{font-size:7px}.section-bar{align-items:center;margin-bottom:10px}.section-title>div{gap:7px}.section-title h2{font-size:26px}.runner-count{font-size:6.5px;padding:4px}.card-hint{font-size:9px;max-width:110px;text-align:right;line-height:1.4;align-self:flex-end;padding-bottom:1px}.runner-grid{gap:7px}.horse-card{padding:8px 8px 10px;border-radius:6px}.card-top .runner-square{width:17px;height:17px;font-size:11px}.card-price{font-size:10px}.card-silk{height:40px;margin-bottom:2px}.card-silk .silk-art{height:46px;width:64px}.horse-name{font-size:11.5px;line-height:1.35}.card-style{font-size:8.5px}.choice-check{width:10px;height:10px}.choice-check .icon{width:7px;height:7px}.foot{font-size:8px;gap:7px;margin-top:17px;padding-block:13px}.foot button{font-size:8px;gap:3px}.foot .icon{height:9px;width:9px}.dialog-frame{padding:16px}.dialog-frame>h2{font-size:32px}.toast{font-size:11px;bottom:13px}.dialog{max-height:88dvh}.dialog-top .section-kicker{font-size:7px}.place-button .placed-cost{font-size:10px}}
@media(max-width:359px){.wrap{width:calc(100% - 18px)}.edition{display:none}.balance{padding:5px 7px}.head-tools{gap:5px}.topbar{gap:8px}.main-nav{gap:6px}.market-pane{display:flex}.stake-field{margin-top:10px}.chips{margin-top:3px}.chip svg{width:35px;height:35px}.chip.active:before{width:41px;height:41px}.card-style{font-size:8px}.foot .footer-split,.foot .online{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Preserve the near rail and the player's real terminal even on wide displays. */
.cabinet-shell{container-type:inline-size}.runner-square,.card-top .runner-square{font-family:var(--mono);font-size:11px}.strip-title b{font-family:var(--mono);font-size:.72em;font-weight:500}.chip text{font-family:Georgia,serif;font-size:21px}.runner-count,.edition,.field-label,.station-badge,.breadcrumb{font-variant-numeric:lining-nums}
@media(min-width:881px){.view-window{min-height:46.8cqw}.terminal-title h2{font-size:clamp(23px,1.75vw,28px)}.terminal .field-label{font-size:9px}.market-tabs button{font-size:13px}.runner-choice{min-height:47px}.choice-name{font-size:14px}.chips{padding-top:10px;padding-bottom:10px}.stake-field{margin-top:20px}.card-price{font-size:13px}.racecard-section{margin-top:22px}.section-bar{margin-bottom:12px}.horse-name{font-size:clamp(14px,1.08vw,18px)}.horse-card{padding-bottom:13px}.card-style{font-size:11px}}
@media(max-width:540px){.title-line .edition{display:none}.title-line h1{white-space:nowrap}.card-top .runner-square{font-size:10px}.intro{padding-block:18px 16px}.balance small{font-size:7px}.balance{gap:7px;padding:6px 10px}}

.stake-adjust{display:flex;align-items:center;gap:8px;padding:6px 9px 6px 11px;background:#111a14;border:1px solid #313e32;border-radius:5px;margin:6px 0 12px}.stake-adjust>span{font-size:11px;color:#aab5a1;margin-right:auto}.stake-adjust b{font:500 12px var(--mono);text-align:center;min-width:24px;color:#e2dfcb}.stake-adjust button{display:grid;place-items:center;height:23px;width:24px;border:1px solid #49513e;background:#273123;border-radius:3px;color:#c6d0bc}.stake-adjust button:disabled{opacity:.4}.stake-adjust .icon{width:12px;height:12px}.stake-adjust button:hover:not(:disabled){border-color:var(--gold)}.orbit-tools{display:flex;align-items:center;gap:4px;pointer-events:auto;margin-left:auto;margin-right:14px}.orbit-tools small{font:500 8px var(--mono);color:#e9e2cf;text-shadow:0 1px 3px #000;margin-right:5px}.orbit-tools button{width:25px;height:25px;display:grid;place-items:center;background:#172018da;border:1px solid #e0dcc545;border-radius:3px}.orbit-tools .icon{width:12px;height:12px}#orbitCanvas{touch-action:none}#orbitCanvas:not([hidden]){z-index:0}.cabinet-shell:fullscreen .race-strip,.cabinet-shell.immersive .race-strip{flex-shrink:0}.chip text{font-family:DM,sans-serif;font-size:18px;font-weight:600}
@media(max-width:880px){.stake-adjust{display:none}}
@media(min-width:881px) and (max-height:860px){.topbar{height:60px}.intro{padding:16px 0 15px}.title-line{margin-top:5px}.title-line h1{font-size:43px}.balance{padding-block:5px}.terminal{padding:15px 16px 0}.terminal-title h2{font-size:22px}.market-tabs{margin:12px 0}.market-tabs button{padding-block:4px}.runner-choice{min-height:42px}.stake-field{margin-top:13px}.chips{padding:4px 0 2px}.chip{height:48px}.chip svg{width:43px;height:43px}.chip.active:before{width:48px;height:48px}.stake-adjust{margin:2px 0 7px;padding-block:3px}.stake-adjust button{height:20px;width:22px}.price-line{padding:10px 0}.place-button{min-height:38px;padding-block:8px}.my-bets{padding:9px 0;margin-top:10px}.view-window{min-height:43.4cqw}.race-strip{min-height:57px;padding-block:8px}.racecard-section{margin-top:16px}.section-bar{margin-bottom:10px}.section-title h2{font-size:27px}.horse-card{padding:9px 12px 10px}.card-silk{height:43px}.card-silk .silk-art{width:73px;height:54px}.foot{margin-top:17px;padding-block:13px}}

/* Preserve the real side station's aspect ratio: see the fascia AND the inset CRT. */
@media(min-width:881px){.view-window{min-height:52cqw}.card-silk{height:64px;margin-top:-3px;margin-bottom:5px}.horse-card{background:radial-gradient(ellipse at 54% 43%,rgba(var(--tint),.13),transparent 68%),#151d17}.horse-card.selected{background-color:#23291d}.card-silk .runner-portrait{height:74px}}
.runner-portrait{max-width:94%;height:100%;width:auto;object-fit:contain;filter:drop-shadow(0 3px 2px #04070477)}.card-silk{position:relative}.card-silk:before{content:'';position:absolute;background:radial-gradient(ellipse,#070c0877,transparent 68%);bottom:-3%;left:24%;right:23%;height:13%;pointer-events:none}.view-window canvas#tableCanvas{cursor:pointer}.camera-wrap .camera-menu{min-width:195px}.cabinet-shell:fullscreen .view-window,.cabinet-shell.immersive .view-window{min-height:0}#seatConsole{margin-left:auto;margin-right:20px}.full-bet-tools button:hover{color:#f7e5b1}
@media(min-width:881px) and (max-height:860px){.view-window{min-height:49.6cqw}.card-silk{height:55px}.card-silk .runner-portrait{height:63px}.racecard-section{margin-top:16px}.horse-card{padding-bottom:10px}}
@media(max-width:880px){.view-window{aspect-ratio:1.83}.card-silk{height:57px}.runner-portrait{height:61px}.cabinet-shell:fullscreen .view-window,.cabinet-shell.immersive .view-window{aspect-ratio:auto}}
@media(max-width:540px){.view-window{aspect-ratio:1.78}.card-silk{height:44px}.runner-portrait{height:48px}.full-bet-tools>span{display:none}.full-bet-tools #seatConsole{margin-left:0;margin-right:8px}.full-bet-tools button{font-size:10px}}

.feed-top{justify-content:flex-end;gap:8px}.feed-top .feed-ident{margin-left:auto}.seat-locator{display:flex;align-items:center;gap:12px;border:1px solid #343e31;background:linear-gradient(95deg,#20291e,#1b241b);border-radius:5px;text-align:left;padding:7px 11px;margin:0 0 13px;width:100%}.seat-locator:hover{border-color:#69745d}.seat-locator>span:not([data-icon]){display:flex;flex-direction:column;gap:3px}.seat-locator small{font:500 7px var(--mono);letter-spacing:.14em;color:#a1ac95}.seat-locator strong{font-size:11px;color:#d5d9c7;font-weight:500}.seat-locator i{font-style:normal;color:#a2926f;margin:0 2px}.seat-locator>[data-icon]{margin-left:auto;color:#8f9b84}.seat-locator .icon{width:13px;height:13px}.chip.active:before{box-shadow:0 0 0 2px #a18b5714,0 0 13px #b49a6210}
@media(max-width:880px){.seat-locator{display:none}}

.look-guide{display:none}.look-mode .look-guide{display:flex;align-items:center;gap:8px;position:absolute;pointer-events:none;z-index:2;left:50%;bottom:51px;transform:translateX(-50%);border-radius:30px;border:1px solid #e4ddb832;padding:5px 9px;background:#172018b8;color:#f1e9cf;font:500 10px DM,sans-serif;white-space:nowrap}.look-guide span{color:var(--gold)}.view-window.look-mode canvas#tableCanvas{touch-action:none;cursor:ew-resize}
@media(max-width:540px){.camera-wrap .camera-menu{width:min(310px,calc(100vw - 62px));min-width:0;display:grid;grid-template-columns:1fr 1fr;gap:1px}.camera-menu .pop-label{grid-column:1/-1;padding:5px 6px}.camera-menu button{font-size:10px;padding:7px 4px;gap:5px}.camera-menu i{font-size:7px}.camera-menu .icon{width:13px;height:13px}}
