/* ODA110 hipodrom */
.casino-game-switch{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 13px}
#casinoTab .casino-game-switch button{background:#15384b;color:#d8ebf5;border:1px solid #3b6982;border-radius:9px;padding:13px 8px;font-size:15px;font-weight:900}
#casinoTab .casino-game-switch button.game-active{background:#f1cb70;color:#1b2e35;border-color:#fff0a7}
#casinoTab .horse-shell{background:linear-gradient(170deg,#123f3d,#092b33 52%,#0d263e);border:1px solid #417969;padding:16px;border-radius:14px}
.horse-top{display:flex;gap:9px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.horse-top h2{margin:0;color:#ffdd96;font-size:clamp(20px,4.5vw,27px)}
.horse-top p{color:#b6d7d0;font-size:12px;margin:5px 0}
.horse-wallet{border:1px solid #a6ae74;border-radius:9px;padding:10px;background:#143a36;color:#ffdf95;font-weight:900;font-size:13px}
.horse-info{padding:12px;border-radius:8px;margin:10px 0;background:#294b41;color:#fff;font-size:13px}
#casinoTab .horse-info button{padding:6px 9px;margin:5px;background:#e7c577}
.horse-intro{display:flex;justify-content:space-between;gap:9px;flex-wrap:wrap;padding:12px 0;color:#d0e7d6;font-size:12px}
.horse-intro strong{color:#ffe5a4}
.horse-course{position:relative;overflow:hidden;background:repeating-linear-gradient(180deg,#2f704e 0,#2f704e 60px,#286143 60px,#286143 120px);border:5px solid #a47d48;border-radius:10px;padding-right:26px;box-shadow:inset 0 3px 14px #061d138a}
.horse-lane{display:grid;grid-template-columns:106px minmax(0,1fr);min-height:60px;border-bottom:2px dashed #e4f0c955}
.horse-lane:last-child{border-bottom:none}
.horse-lane-name{z-index:1;background:#092c2ac9;display:flex;align-items:center;gap:5px;padding:5px;font-weight:800;color:#fff;text-shadow:0 1px 2px #000;font-size:12px}
.horse-lane-tag{display:inline-flex;align-items:center;justify-content:center;border-radius:5px;min-width:25px;height:25px;color:#fff;font-size:14px;border:1px solid #fff6}
.horse-track{position:relative;min-width:0}
.horse-runner{position:absolute;left:0;top:50%;transform:translate(0,-50%);font-size:32px;line-height:1;filter:drop-shadow(1px 2px 2px #071e20);will-change:left;transition:left 4.5s cubic-bezier(.38,.09,.73,.98)}
.horse-runner.podium{filter:drop-shadow(0 0 8px #ffe78c)}
.horse-finish{position:absolute;right:24px;top:0;bottom:0;width:7px;background:repeating-conic-gradient(#fff 0% 25%,#152c32 0% 50%) 0 0/12px 12px;z-index:3;box-shadow:0 0 4px #fff7}
.horse-finish span{position:absolute;top:8px;right:-18px;font-size:9px;writing-mode:vertical-rl;font-weight:900;color:#fff;text-shadow:0 1px #000}
.horse-status{text-align:center;min-height:26px;font-size:13px;color:#e1efcc;font-weight:800}
.horse-winner{border:1px solid #d7af66;color:#ffe09b;background:#365138;padding:12px;text-align:center;border-radius:8px;font-weight:900;font-size:16px}
.horse-bets{display:grid;grid-template-columns:1.25fr 1fr;gap:16px;margin-top:12px}
.horse-bets h3{font-size:15px;color:#fce1a4;margin:0 0 9px}
.horse-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px}
#casinoTab .horse-choice{display:flex;align-items:center;gap:8px;background:#214e4c;color:#fff;padding:10px 7px;border:1px solid #548177;border-radius:7px;font-weight:850;text-align:left;font-size:13px}
#casinoTab .horse-choice.active{outline:3px solid #ffe397;background:#366155}
.horse-choice .horse-n{font-size:12px;border:1px solid #fff8;border-radius:50%;padding:3px 6px;min-width:24px;text-align:center}
.horse-stakes{border:1px solid #416e66;border-radius:9px;padding:12px;background:#183c3b}
.horse-stakes label{font-size:11px;color:#bad8ce}
#casinoTab #horseStake{font-weight:900;font-size:19px}
.horse-chips{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px}
#casinoTab .horse-chips button{background:#274f5c;color:#fff;border:1px solid #698b90;border-radius:9px;padding:8px;font-size:11px;font-weight:800}
.horse-note{font-size:11px;line-height:1.5;color:#b4d1ce}
#casinoTab .horse-start{width:100%;background:#f2ca67;color:#153438;border:1px solid #fff3af;border-radius:7px;font-weight:950;font-size:15px;padding:12px}
.horse-history{border-top:1px solid #557b69;padding-top:13px;margin-top:18px}
.horse-history h3{font-size:14px;margin:0 0 10px}
.horse-history-row{padding:9px;margin:6px 0;border:1px solid #36605b;border-radius:7px;background:#193e3b;display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:12px}
.horse-history-row b{color:#f5dc9b}
@media(max-width:610px){#casinoTab .horse-shell{padding:9px}.horse-bets{grid-template-columns:1fr}.horse-lane{grid-template-columns:83px minmax(0,1fr);min-height:53px}.horse-lane-name{font-size:10px;padding:4px;gap:3px}.horse-runner{font-size:28px}.horse-choices{gap:5px}}
@media(prefers-reduced-motion:reduce){.horse-runner{transition-duration:.01s!important}}


/* Star ratings, odds and finishing table */
.horse-lane-detail{display:flex;flex-direction:column;gap:2px;min-width:0;overflow:hidden}
.horse-lane-detail strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.horse-lane-detail small{font-size:10px;color:#ffdf7c;letter-spacing:-1.8px;white-space:nowrap;text-shadow:0 1px #000}
.horse-choice-info{min-width:0;display:flex;flex-direction:column;gap:3px;flex:1}
.horse-choice-info strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.horse-rating{display:block;white-space:nowrap;color:#ffd769;letter-spacing:-1px;font-size:14px;text-shadow:0 1px 2px #000}
.horse-choice-info small{font-size:10px;color:#d9e8de;white-space:nowrap}
#casinoTab .horse-odds{font-size:16px;color:#ffe39b!important;font-weight:950;white-space:nowrap;text-align:right}
#casinoTab .horse-choice.active{outline:3px solid #f5ce78;outline-offset:-1px;background:#376b59;border-color:#ffd98d}
.horse-choices{gap:9px}
#casinoTab .horse-choice{min-height:76px;padding:10px 8px;border-radius:10px;gap:7px;box-shadow:0 2px 8px #061f1b55}
.horse-choice .horse-n{min-width:28px;min-height:28px;font-size:14px;font-weight:900;border-radius:7px}
.horse-return{margin:9px 0;padding:10px;background:#294f43;border:1px solid #638775;border-radius:8px;color:#ffe8ac;font-size:13px;font-weight:900}
.horse-placings{margin:10px 0;padding:10px;background:#162e2a;border:1px solid #5b886e;border-radius:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.horse-place{display:flex;align-items:center;gap:6px;padding:8px;background:#23453a;border:1px solid #3e6750;border-radius:7px;min-width:0}
.horse-place span{min-width:26px;height:26px;display:inline-flex;justify-content:center;align-items:center;color:#fff;border-radius:5px;font-weight:900}
.horse-place strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.horse-place.winner{border-color:#ffdc75;background:#51633c}
.horse-course{border-color:#b6a163;box-shadow:0 8px 17px #0007,inset 0 3px 14px #061d138a}
.horse-course:before{content:"🏁  🏇   🏁   🏇   🏁   🏇   🏁   🏇   🏁";display:block;height:22px;text-align:center;white-space:nowrap;overflow:hidden;font-size:13px;background:linear-gradient(#8ba1a9,#bac7c9);letter-spacing:8px;border-bottom:3px solid #fff9}
.horse-track{background:repeating-linear-gradient(90deg,transparent 0,transparent 36px,#ffffff0c 37px,transparent 38px)}
@media(max-width:610px){
 .horse-choices{grid-template-columns:1fr}
 #casinoTab .horse-choice{min-height:63px}
 .horse-choice-info strong{font-size:13px}
 .horse-lane{grid-template-columns:96px minmax(0,1fr)}
 .horse-lane-name{font-size:10px}
 .horse-placings{grid-template-columns:repeat(2,minmax(0,1fr))}
}
