/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.hidden{display:none}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{color:#f5eedb;font-synthesis:none;background:#071b24;font-family:Vazirmatn,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline-offset:2px;outline:2px solid #f5bd64}button:disabled{cursor:not-allowed;opacity:.6}.app-shell{color:#f5eedb;background:#081c26;min-height:100dvh;overflow:hidden}.primary-button{color:#142a31;background:#e9b76c;border:0;border-radius:14px;justify-content:center;align-items:center;gap:10px;min-height:48px;padding:10px 18px;font-weight:900;display:flex}.primary-button:hover:not(:disabled){background:#ffd398}.eyebrow{color:#d8b77e;font-size:14px;font-weight:800}.home-screen{isolation:isolate;min-height:100dvh;padding:calc(24px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom));background:radial-gradient(at 50% 43%,#1c5143,#102e32 35%,#081b26 78%);flex-direction:column;display:flex;position:relative;overflow:hidden}.home-glow{z-index:-1;pointer-events:none;background:repeating-linear-gradient(0deg,#0000 0,#0000 39px,#d5ad6820,#d5ad6820 41px),linear-gradient(#0b3b3500,#0b3b35);height:46%;position:absolute;top:50%;left:-10%;right:-10%;transform:perspective(240px)rotateX(56deg)}.home-top{color:#d7bd87;align-items:center;gap:10px;font-size:14px;font-weight:700;display:flex}.brand-mark,.mini-star{color:#183338;background:#dfaa62;border-radius:10px;place-items:center;width:33px;height:33px;font-size:19px;display:inline-grid}.home-center{text-align:center;width:100%;max-width:530px;margin:auto;padding:30px 0 20px}.home-center h1{margin:8px 0 0;font-size:clamp(58px,15vw,112px);font-weight:950;line-height:1.25}.home-center h1 em{color:#eab66c;font-style:normal}.home-center>p{color:#c8d2cd;margin:5px 0 18px;font-size:16px}.home-illustration{color:#edbb78;filter:drop-shadow(0 15px 9px #06151b);justify-content:center;align-items:center;gap:17px;height:90px;font-size:66px;display:flex;transform:scaleX(-1)}.home-illustration span:first-child{transform:translateY(12px)scale(.8)}.home-illustration span:nth-child(2){transform:translateY(-12px)scale(1.18)}.home-illustration span:last-child{transform:translateY(7px)scale(.88)}.home-start{width:100%;max-width:320px;min-height:56px;margin:18px auto 8px;font-size:17px}.quiet-button{color:#f2dfbc;background:0 0;border:0;justify-content:center;align-items:center;gap:8px;min-height:44px;margin:0 auto;padding:8px;display:flex}.quiet-button:hover{color:#fff}.home-guide{text-align:right;background:#173841e8;border:1px solid #51716a;border-radius:16px;max-width:450px;margin:10px auto 0;padding:16px;font-size:14px;line-height:1.9}.home-guide p{color:#d0dcd5;margin:4px 0 0}.home-foot{text-align:center;color:#a7bbb5;padding-top:20px;font-size:13px}.race-screen{max-width:1100px;height:100dvh;padding-top:env(safe-area-inset-top);background:#081c26;flex-direction:column;margin:auto;display:flex;position:relative}.race-header{border-bottom:1px solid #29404a;flex:none;justify-content:space-between;align-items:center;gap:5px;min-height:56px;padding:0 10px;display:flex}.header-title{white-space:nowrap;align-items:center;gap:7px;font-size:16px;font-weight:900;display:flex}.header-title small{color:#aabcb6;font-size:11px;font-weight:500;line-height:1.25;display:block}.mini-star{width:29px;height:29px}.header-actions{align-items:center;gap:5px;display:flex}.balance-pill{background:#173b3b;border:1px solid #496750;border-radius:12px;flex-direction:column;align-items:center;min-width:57px;padding:4px 7px;line-height:1.15;display:flex}.balance-pill span{color:#b6c9bd;font-size:11px}.balance-pill b{color:#f8cb84;font-size:16px}.icon-button{color:#e7e4d7;background:#1b3540;border:1px solid #35505a;border-radius:11px;place-items:center;width:42px;height:44px;display:grid}.icon-button:hover{background:#2a4a51}.sound-popover{z-index:12;top:calc(55px + env(safe-area-inset-top));background:#19323d;border:1px solid #5d766e;border-radius:14px;width:220px;padding:7px;position:absolute;left:10px;box-shadow:0 12px 32px #0009}.sound-popover button{color:#fff;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;width:100%;min-height:44px;padding:7px;font-size:14px;display:flex}.sound-popover button:hover{background:#34535a}.sound-popover b{color:#e8bc78}.race-status{color:#b9c9bf;flex:none;align-items:center;gap:12px;height:30px;padding:0 14px;font-size:12px;display:flex}.race-status strong{color:#f8e8c2;font-variant-numeric:tabular-nums;margin-right:auto;font-size:17px}.live-dot{color:#77d3a9;font-weight:800}.course-zone{flex-direction:column;flex:1;min-height:208px;padding:0 8px;display:flex;overflow:hidden}.stadium{background:linear-gradient(#112d3a,#1d4a47);border:1px solid #375755;border-bottom:0;border-radius:14px 14px 0 0;flex:none;height:48px;position:relative;overflow:hidden}.stadium-lights{justify-content:space-around;display:flex;position:absolute;top:0;right:0;bottom:0;left:0}.stadium-lights i{background:#ffe2a0;border-radius:50%;width:8px;height:8px;display:block;box-shadow:0 0 14px 8px #edbc7280}.crowd{opacity:.75;justify-content:space-around;align-items:end;height:26px;display:flex;position:absolute;bottom:1px;left:0;right:0;overflow:hidden}.crowd i{background:#739b89;border-radius:5px 5px 0 0;width:5px;height:10px;box-shadow:0 -4px 0 1px #8ca79a}.crowd i:nth-child(3n){background:#d0a77b}.crowd i:nth-child(5n){background:#6882a4}.stadium-label{color:#f3e2bb;text-shadow:0 2px 6px #071a20;justify-content:space-between;font-size:12px;font-weight:800;display:flex;position:absolute;top:11px;left:12px;right:12px}.track-wrap{background:#19483d;border:1px solid #476656;border-top:3px solid #e6bb78;border-radius:0 0 10px 10px;flex:1;min-height:0;display:flex;overflow:hidden}.lane-labels{background:#0c302e;border-left:1px solid #44685c;flex-direction:column;flex:none;width:28px;display:flex}.lane-labels>div{border-bottom:1px solid #3a5b50;place-items:center;height:12.5%;display:grid}.track-canvas{flex:1;width:calc(100% - 28px);min-width:0;height:100%;display:block}.horse-badge{background:var(--horse);color:#0d2029;border:2px solid var(--horse-light);border-radius:10px;flex:none;place-items:center;width:33px;height:33px;font-size:15px;font-weight:900;display:inline-grid;position:relative;overflow:hidden}.horse-badge-small{border-radius:7px;width:24px;height:24px;font-size:12px}.badge-mark{opacity:.55;position:absolute;top:0;right:0;bottom:0;left:0}.pattern-0{background:repeating-linear-gradient(90deg,transparent 0 5px,var(--horse-light) 5px 7px)}.pattern-1{background:linear-gradient(130deg,transparent 38%,var(--horse-light) 39% 57%,transparent 58%)}.pattern-2{background:radial-gradient(circle at 65% 30%,var(--horse-light) 0 5px,transparent 6px)}.pattern-3{background:repeating-linear-gradient(0deg,transparent 0 5px,var(--horse-light) 5px 7px)}.pattern-4{background:linear-gradient(45deg,transparent 33%,var(--horse-light) 34% 50%,transparent 51%)}.pattern-5{background:radial-gradient(circle at 30% 65%,var(--horse-light) 0 5px,transparent 6px)}.pattern-6{background:repeating-linear-gradient(120deg,transparent 0 5px,var(--horse-light) 5px 7px)}.pattern-7{background:linear-gradient(90deg,var(--horse-light) 0 25%,transparent 25% 75%,var(--horse-light) 75%)}.horse-badge>span:last-child{z-index:1;text-shadow:0 1px #fffa}.course-comment{color:#eed8ad;flex:none;align-items:center;gap:9px;min-width:0;height:32px;padding:0 7px;font-size:13px;font-weight:700;display:flex}.comment-flash{color:#eec277}.comment-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.course-meta{color:#aebfb9;flex:none;justify-content:space-between;height:22px;padding:0 8px;font-size:12px;display:flex}.course-meta b{color:#d8e9d6}.bet-panel{padding:8px 9px calc(8px + env(safe-area-inset-bottom));background:#102d35;border-top:1px solid #55716d;border-radius:18px 18px 0 0;flex:none;min-height:0;max-height:calc(100dvh - 300px);overflow-y:auto;box-shadow:0 -12px 36px #06192080}.panel-bar{justify-content:space-between;align-items:center;gap:8px;margin-bottom:5px;display:flex}.panel-overline{color:#deb576;font-size:11px;font-weight:700}.panel-bar h2{margin:1px 0 0;font-size:16px;line-height:1.3}.panel-shortcuts{align-items:center;gap:5px;display:flex}.panel-shortcuts button{color:#ecf1e7;background:#203e43;border:1px solid #49635d;border-radius:10px;min-height:44px;padding:5px 8px;font-size:12px}.panel-shortcuts button:hover,.panel-shortcuts .selected{background:#3a5c59}.panel-shortcuts button span{color:#193139;background:#d7ac6b;border-radius:6px;margin-right:3px;padding:0 5px}.panel-shortcuts .help-button{place-items:center;width:44px;display:grid}.panel-content{width:100%}.market-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.market-tabs button{color:#c7d5cc;background:#1b3b40;border:1px solid #43615d;border-radius:9px;min-height:44px;padding:3px 2px;font-size:12px;font-weight:700}.market-tabs button.active{color:#16333a;background:#dbaf70;border-color:#f6cf8e}.market-tabs button:hover{filter:brightness(1.13)}.market-tabs button span{font-size:10px}.lock-strip{color:#d9c7a5;justify-content:space-between;align-items:center;gap:8px;min-height:26px;margin:4px 0;font-size:12px;display:flex}.lock-strip b{color:#ffcf84;font-variant-numeric:tabular-nums}.lock-strip.locked,.lock-strip.locked b{color:#edae9e}.horse-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;max-height:98px;display:grid;overflow:auto}.horse-picker button{text-align:right;color:#f5f0e1;background:#1b3d42;border:1px solid #496761;border-radius:10px;align-items:center;gap:3px;min-width:0;min-height:44px;padding:3px;display:flex}.horse-picker button.active{background:#315954;border-color:#f1be74;box-shadow:inset 0 0 0 1px #f1be74}.horse-picker button:hover{background:#325454}.horse-picker button>span:nth-child(2){white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:12px;font-weight:800;overflow:hidden}.horse-picker button small{display:none}.stake-row{color:#c7d9cf;justify-content:space-between;align-items:center;margin:5px 0;font-size:13px;display:flex}.stake-row>div{gap:5px;display:flex}.stake-row button{color:#ecf0e6;background:#1c3940;border:1px solid #4c6964;border-radius:8px;width:55px;min-height:44px;font-weight:800}.stake-row button.active{color:#173138;background:#e0b477;border-color:#e0b477}.return-row{color:#b9c9bf;background:#0c252e;border-radius:9px;justify-content:space-between;gap:4px;padding:6px;font-size:11px;display:flex}.return-row span{flex-direction:column;display:flex}.return-row b{color:#f1d09a;font-size:14px}.confirm-button{width:100%;min-height:44px;margin-top:6px;padding:6px;font-size:14px}.bets-list,.help-content{max-height:220px;overflow:auto}.active-bet{background:#1b3c43;border:1px solid #44615e;border-radius:10px;align-items:center;gap:8px;margin-bottom:6px;padding:7px;display:flex}.active-bet>span:nth-child(2){flex-direction:column;flex:1;min-width:0;font-size:13px;display:flex}.active-bet small{color:#c5d1c7;font-size:12px}.active-bet>svg{color:#91d4aa}.empty-text{color:#c9d3cb;text-align:center;padding:16px 0;font-size:14px}.back-link,.help-content button{color:#f0bd75;background:0 0;border:0;align-items:center;gap:3px;min-height:44px;font-size:13px;display:flex}.help-content p{color:#e1e9dd;margin:0;font-size:14px;line-height:1.9}.pause-overlay{z-index:15;text-align:center;background:#061821dd;place-items:center;padding:20px;display:grid;position:absolute;top:0;right:0;bottom:0;left:0}.pause-overlay>div{background:#193b43;border:1px solid #6d8070;border-radius:20px;width:100%;max-width:340px;padding:26px}.pause-overlay svg{color:#f0c382}.pause-overlay h2{margin:8px 0;font-size:22px}.pause-overlay p{color:#c3d3c8;margin-bottom:22px}.pause-overlay button{width:100%}.tutorial-card{z-index:8;top:calc(95px + env(safe-area-inset-top));color:#1a3437;background:#f5e9cb;border:2px solid #f0be6d;border-radius:15px;max-width:460px;margin:auto;padding:10px 13px;position:absolute;left:10px;right:10px;box-shadow:0 10px 35px #0008}.tutorial-head{justify-content:space-between;align-items:center;font-size:13px;font-weight:900;display:flex}.tutorial-head button{color:#506362;background:0 0;border:0;align-items:center;gap:3px;min-height:36px;font-size:12px;display:flex}.tutorial-card p{margin:3px 0 5px;font-size:14px;line-height:1.6}.tutorial-card>button{color:#0c5551;background:0 0;border:0;align-items:center;gap:3px;min-height:40px;padding:0;font-size:13px;font-weight:900;display:flex}.tutorial-hint{color:#28615c;font-size:12px;font-weight:800}.result-screen{max-width:760px;min-height:100dvh;padding:calc(20px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));background:radial-gradient(circle at 50% -10%,#235046,#0b222b 48%,#081c26 90%);margin:auto}.result-top{justify-content:space-between;align-items:center;display:flex}.seed-label{color:#93aaa4;font-size:12px}.result-hero{text-align:center;padding:16px 0 15px}.result-icon{color:#173136;background:#e9ba74;border-radius:17px;place-items:center;width:56px;height:56px;margin:0 auto 9px;display:grid}.result-hero h1{margin:0;font-size:28px}.result-hero p{color:#c4d2c6;margin:6px 0;font-size:14px}.result-card{background:#17343d;border:1px solid #3e5d5b;border-radius:15px;margin:9px 0;padding:12px 14px}.result-card h2{color:#efcf96;margin:0 0 9px;font-size:15px}.finish-order{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.finish-chip{white-space:nowrap;background:#23434a;border-radius:8px;align-items:center;gap:5px;min-width:0;padding:5px;font-size:13px;display:flex;overflow:hidden}.finish-chip>b{color:#d5b57f}.finish-chip .horse-badge{width:21px;height:21px;font-size:10px}.ledger-row,.standing{border-top:1px solid #36535a;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;font-size:13px;display:flex}.ledger-row:first-of-type,.standing:first-of-type{border-top:0}.ledger-row>span{flex-direction:column;min-width:0;display:flex}.ledger-row small{color:#b6c9c0;font-size:12px}.ledger-row strong{white-space:nowrap}.won{color:#8dddaf}.lost{color:#e2b0a1}.standing small{color:#9db9b0;margin-right:5px}.standing-you{color:#f1ca91}.best-record{text-align:center;color:#d8c69b;font-size:14px}.result-continue{width:100%;margin-top:16px}.room-screen{max-width:900px;min-height:100dvh;padding:calc(16px + env(safe-area-inset-top)) 12px calc(20px + env(safe-area-inset-bottom));flex-direction:column;gap:10px;margin:auto;display:flex}.room-heading{justify-content:space-between;align-items:center;gap:5px;display:flex}.room-heading h1{align-items:center;gap:6px;margin:0;font-size:18px;display:flex}.room-back{color:#f2cf96;background:0 0;border:0;align-items:center;gap:4px;min-height:44px;font-size:12px;display:flex}.room-entry,.room-message{background:#17343d;border:1px solid #48665e;border-radius:18px;width:100%;max-width:480px;margin:20px auto;padding:20px;line-height:1.8}.room-entry p,.room-message p{color:#d5ded5;font-size:14px}.room-entry label{flex-direction:column;gap:5px;margin:10px 0;font-size:14px;display:flex}.room-entry input{color:#fff;background:#0c2730;border:1px solid #6f8e7f;border-radius:10px;width:100%;min-height:48px;padding:10px;font-size:16px}.room-entry .primary-button,.room-entry .room-secondary,.room-message .primary-button{width:100%;margin-top:10px}.room-divider{text-align:center;color:#c2bdab;margin-top:16px}.room-secondary{color:#fff;background:#204449;border:1px solid #709083;border-radius:11px;min-height:46px}.room-summary{background:#17343d;border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px;padding:8px;font-size:13px;display:flex}.room-summary b{color:#f4c881;margin:0 4px;font-size:18px}.room-summary strong{color:#f4c881;margin-right:auto}.room-summary button{color:#fff;background:#25464c;border:1px solid #607872;border-radius:8px;align-items:center;gap:4px;min-height:44px;display:flex}.room-players{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.room-players>div{background:#204046;border-radius:9px;justify-content:space-between;gap:4px;padding:7px;font-size:12px;display:flex}.room-players b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.room-players span{color:#f5c67f}.room-comment{background:#20453f;border-radius:10px;justify-content:space-between;gap:6px;padding:7px 10px;font-size:13px;display:flex}.room-comment span{color:#f4c67e;white-space:nowrap}.room-track{border:2px solid #a68352;border-radius:12px;flex:none;height:clamp(196px,36dvh,390px);overflow:hidden}.room-lane{background:#1b4a3e;border-bottom:1px solid #557665;align-items:center;height:12.5%;padding-right:3px;display:flex}.room-lane:nth-child(2n){background:#163d37}.room-lane-course{background:repeating-linear-gradient(90deg,#0000 0,#0000 18%,#fff1 18.3%,#fff1 18.5%);flex:1;min-width:0;height:100%;margin-right:5px;position:relative}.room-runner{color:#f7d19a;text-shadow:0 1px 3px #000;align-items:center;gap:1px;transition:right .15s linear;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.room-runner-shape{font-size:clamp(22px,5vw,38px);line-height:1}.room-runner b{background:#0d2528;border-radius:50%;padding:0 4px;font-size:13px}.room-finish{color:#0000;background:repeating-linear-gradient(0deg,#f1e7cb 0,#f1e7cb 5px,#183635 5px,#183635 10px);width:14px;height:100%;position:absolute;top:0;left:0}.room-betting{background:#13333b;border:1px solid #4d7067;border-radius:15px;flex-direction:column;gap:7px;padding:9px;display:flex}.room-lock{color:#ecca98;margin:0;font-size:13px}.room-horses{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;display:grid}.room-horses button{color:#fff;background:#214248;border:1px solid #547064;border-radius:8px;align-items:center;gap:3px;min-width:0;min-height:44px;padding:3px;font-size:12px;display:flex;overflow:hidden}.room-horses button.active,.room-stakes button.active{background:#45635d;border-color:#ffd18c}.room-horses button small{display:none}.room-stakes{justify-content:space-between;align-items:center;gap:6px;font-size:13px;display:flex}.room-stakes button{color:#fff;background:#214248;border:1px solid #547064;border-radius:9px;min-width:50px;min-height:44px}.room-my-bets{border-top:1px solid #48685e;max-height:90px;padding-top:5px;font-size:13px;overflow:auto}.room-my-bets p{color:#d0dfd4;margin:2px 0}.room-error{color:#fff;z-index:5;background:#662f31;border-radius:12px;padding:12px;font-size:14px;position:sticky;bottom:8px}.room-error button{color:#fff;background:#81494a;border:0;min-height:40px;margin-right:8px}@media(min-width:600px){.race-header{padding:0 25px}.course-zone{padding:0 24px}.stadium{height:75px}.bet-panel{padding-left:24px;padding-right:24px}.horse-picker{grid-template-columns:repeat(8,minmax(0,1fr));max-height:none}.horse-picker button{text-align:center;flex-direction:column;justify-content:center;min-height:65px;display:flex}.horse-picker button small{color:#bdd0c6;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:11px;display:block;overflow:hidden}.bet-panel .panel-content{max-width:980px;margin:auto}.finish-order{grid-template-columns:repeat(4,minmax(0,1fr))}.room-horses{grid-template-columns:repeat(8,minmax(0,1fr))}.room-horses button{flex-direction:column}.room-horses button small{display:block}}@media(max-height:700px){.stadium{height:30px}.course-zone{min-height:190px}.course-comment{height:26px}.course-meta{height:18px}.race-status{height:26px}.bet-panel{max-height:calc(100dvh - 280px)}.panel-overline{display:none}.panel-bar h2{font-size:14px}.horse-picker{max-height:92px}.room-track{height:192px}.tutorial-card{top:calc(80px + env(safe-area-inset-top))}}@media(max-width:370px){.race-header{padding:0 7px}.header-title{font-size:14px}.header-title .mini-star{display:none}.icon-button{width:38px}.bet-panel{padding-left:6px;padding-right:6px}.horse-picker button>span:nth-child(2){font-size:11px}.horse-badge-small{width:21px;height:21px;font-size:10px}.return-row{font-size:10px}.return-row b{font-size:12px}.room-summary strong{margin-right:0}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.track-stage{position:relative;flex:1;min-width:0;height:100%;overflow:hidden}.track-stage .track-canvas{width:100%;height:100%}.finish-caption{position:absolute;z-index:2;left:2px;top:50%;transform:translateY(-50%) rotate(-90deg);transform-origin:center;background:#f2bb65;color:#153138;border:1px solid #ffe0a1;border-radius:6px;padding:2px 7px;font-size:10px;font-weight:950;white-space:nowrap;box-shadow:0 2px 10px #081719aa;pointer-events:none}.position-strip{height:30px;flex:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px 1px 0}.position-strip span{min-width:0;display:flex;align-items:center;gap:4px;border:1px solid #385b54;background:#15383a;border-radius:8px;padding:2px 6px;color:#e8e9dc;font-size:11px;white-space:nowrap;overflow:hidden}.position-strip span.first{border-color:#d9a85f;background:#3b4a39;color:#ffe2a6}.position-strip b{display:grid;place-items:center;width:18px;height:18px;flex:none;border-radius:50%;background:#0b272d;color:#f6d499}.position-strip small{margin-right:auto;color:#a9c8b9;font-variant-numeric:tabular-nums}.menu-home-button,.result-home,.pause-home-button{min-height:44px;border:1px solid #49645e;background:#183943;color:#f4d19a;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:6px}.menu-home-button{width:42px;padding:0}.result-home{padding:6px 11px}.pause-home-button{width:100%;margin-top:9px;background:transparent}.continue-button{background:#efbd70}.new-cup-button{margin-top:4px;background:#21444a;color:#f5e9d1;border:1px solid #668078}.new-cup-button:hover:not(:disabled){background:#31565b}.room-track{display:flex}.room-track .track-stage,.room-track .lane-labels{height:100%}.result-top{min-height:44px}.result-hero .eyebrow{display:block;margin:8px 0 2px}@media(max-height:700px){.position-strip{height:26px;padding-top:2px}.position-strip span{font-size:10px;padding:1px 4px}.course-comment{height:24px}.stadium-label{top:7px}.finish-caption{font-size:9px}.bet-panel{max-height:calc(100dvh - 300px)}}@media(max-width:370px){.header-title>span:last-child{font-size:13px}.position-strip span{gap:2px;padding:1px 3px}.position-strip small{display:none}.finish-caption{left:-4px}.home-center{padding-top:14px}.home-center h1{font-size:54px}}@media(prefers-reduced-motion:reduce){.track-canvas{scroll-behavior:auto}.home-illustration span{animation:none!important}}
