/* A sunlit prehistoric clubhouse. The race stays mounted through live updates. */
:root{--ink:#163f35;--muted:#63776a;--cream:#fffdf1;--gold:#ffd66a;--forest:#174b3e}
body{color:var(--ink);background-color:#eaf1df;font-family:'DM Sans',sans-serif}
button,input,select{font:inherit}
button{touch-action:manipulation;transition:background .18s,box-shadow .18s,scale .18s,filter .18s}
button:not(:disabled):hover{filter:brightness(1.04)}
button:not(:disabled):active{scale:.96}
button:focus-visible,summary:focus-visible{outline:3px solid #e29824;outline-offset:4px}
button:disabled{cursor:not-allowed}
header{padding:12px 24px;background:linear-gradient(110deg,#153f34,#23624d);border-bottom:3px solid #e2b64b;box-shadow:0 5px 22px #153f3420}
.brand{letter-spacing:-1px}.brand small{letter-spacing:1.8px;font-size:9px;color:#cde3c4}
header .icon{height:36px;min-width:36px;border-radius:12px;background:#ffffff0c;border:1px solid #ffffff28}
header .icon:hover{background:#ffffff20}
.game{max-width:1600px;padding:10px 24px 74px}
.game-top{margin-bottom:8px;font-size:10px;opacity:.8}
.game-layout{grid-template-columns:minmax(0,1fr)245px;gap:14px;align-items:start}
.main-board{gap:10px;min-width:0}
.panel{border:1px solid #bfd2b3;border-radius:19px;background:#fffdf2eF;box-shadow:0 5px 0 #164a3510,0 10px 24px #24453209}
.section-head{align-items:center;gap:12px}.section-head h2{font-size:16px;letter-spacing:-.4px}
.section-head small,.section-head>span{font-size:10px;color:var(--muted)}
.turn-hud{position:relative;min-height:75px;padding:10px 16px;background:var(--forest);color:#fffdf1;border:2px solid #356b55;border-radius:18px;gap:13px;box-shadow:0 5px 0 #123d2912}
.turn-hud.your-turn{background:linear-gradient(100deg,#ffefad,#ffe080);border:2px solid #f0b62f;color:#403315;box-shadow:0 0 0 4px #ffd56b32,0 6px 20px #d6a43125;animation:turnHalo 2.5s ease-in-out infinite}
.turn-hud .turn-label{font-size:11px;line-height:1.25;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:inherit;display:block;margin:0 0 3px}
.turn-copy{flex:1}.turn-copy strong{font-family:Outfit,sans-serif;font-size:22px;line-height:1.1;display:block}.turn-copy small{font-size:10px;opacity:.75;margin-top:4px;display:block}
.turn-avatar{position:relative;flex:0 0 48px;width:48px;height:48px;background:var(--dino);border:3px solid #ffffff99;border-radius:16px;rotate:-5deg;overflow:visible}
.turn-avatar img{width:100%;height:100%;object-fit:cover;border-radius:12px}
.turn-avatar i{position:absolute;right:-4px;bottom:-4px;width:13px;height:13px;background:#ffd363;border:3px solid #fff6dc;border-radius:50%;animation:beacon 1.8s infinite}
.up-next{border-left:1px solid #ffffff30;padding-left:15px;max-width:180px;text-align:right}.your-turn .up-next{border-color:#b2872a40}.up-next small{display:block;font-size:9px;opacity:.75}.up-next b{display:block;font-size:12px;margin-top:3px;overflow-wrap:anywhere}
.track-panel{padding:14px 16px 10px;isolation:isolate;border-color:#b4cba2;overflow:hidden}
.track-panel::before{opacity:.86;background-position:center 45%}.track-panel::after{inset:48px 12px 55px;background:#fffef0a8;border:1px solid #fffcdf;border-radius:13px;backdrop-filter:blur(1px)}
.track-panel .section-head{margin-bottom:8px;position:relative;z-index:1}.track-panel .section-head h2{font-size:18px;color:#194535;text-shadow:0 1px #fff9}
.track-panel .section-head>span{color:#184c3b;background:#fff9d9;border-radius:20px;padding:5px 10px;font-weight:800}
.track-ruler{font-size:10px;font-weight:800;margin:0 0 4px;color:#245641}
.lane{height:60px;border-bottom:1px dashed #355d3b35;background:color-mix(in srgb,var(--dino) 12%,transparent);border-radius:8px;margin-bottom:1px}
.lane-grid{opacity:.28}.lane-name{left:7px;top:5px;font-size:10px;font-weight:800;opacity:.6;pointer-events:none}.lane-name small{font-size:8px}
.runner{top:4px;width:62px;height:50px;margin-left:-31px;transition:left .72s cubic-bezier(.22,.75,.27,1),transform .72s cubic-bezier(.22,.75,.27,1);border:0;overflow:visible;filter:drop-shadow(0 4px 3px #28402d35);z-index:4}
.runner img{border:3px solid #fffef0;border-radius:15px;object-fit:cover;box-shadow:0 2px 0 #173e3920;transition:scale .2s,rotate .2s}
.runner:hover img{scale:1.09;rotate:-4deg}.runner:active img{scale:.92}.runner span{font-size:8px;bottom:-2px;left:4px;right:4px;width:auto;border-radius:5px;color:#164333;background:#ffffecf2;padding:1px 3px;white-space:nowrap}
.runner.hopping img{animation:raceGallop .66s ease-in-out}.runner.backstep img{animation:penaltyWobble .66s ease-in-out}.runner.overtake{z-index:8}.runner.overtake img{box-shadow:0 0 0 3px #ffd866,0 0 22px #ffd866}
.runner .move-pop{position:absolute;left:45%;top:-15px;z-index:10;color:#1d653b;background:#fff6b6;border:1px solid #ddbb46;border-radius:12px;padding:1px 6px;font-size:12px;font-weight:900;animation:moveScore .9s both;pointer-events:none}.runner.backstep .move-pop{color:#b64038}
.finish-line{width:12px;opacity:.75;border-radius:3px}.checkpoint-row{margin-top:8px;align-items:center}.checkpoint{max-width:70px;justify-self:center;width:100%;border-radius:10px;transition:scale .2s,box-shadow .2s}.checkpoint:hover{scale:1.08}.checkpoint-art{aspect-ratio:1.4;object-fit:contain}.checkpoint small{font-size:8px}
.race-leaders{display:flex;gap:6px;margin:9px 0 6px;position:relative;z-index:1;justify-content:center}
.leader-chip{display:flex;align-items:center;gap:5px;min-width:0;background:#fffdf0e8;border:1px solid color-mix(in srgb,var(--dino) 60%,#fff);padding:4px 7px;border-radius:11px;flex:1;font-size:10px;font-weight:800;max-width:180px}
.leader-chip>b{color:var(--dino);font-size:14px}.leader-chip img{width:26px;height:26px;border-radius:8px;object-fit:cover}.leader-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leader-chip small{display:block;font-size:8px;opacity:.6;font-weight:600}
.track-caption{font-size:9px;gap:10px;opacity:.85;line-height:1.35}
.market{padding:11px 14px;border-color:#b9cda9}.market .section-head{margin-bottom:8px}.market-guidance{flex:1;font-size:10px!important;font-weight:600}.market-tray{gap:12px;align-items:center;min-height:80px}.market-cards{gap:8px;justify-content:flex-start;flex-wrap:wrap}
.race-card{width:65px;border-radius:13px;box-shadow:0 3px 0 #244f3820;position:relative;transition:scale .18s,translate .18s,box-shadow .18s;overflow:hidden}.race-card img{height:68px;width:100%;object-fit:cover}.race-card span{padding:3px;font-size:10px}.race-card:disabled{opacity:.82;filter:saturate(.85)}
.race-card.pickable:not(:disabled){border:2px solid #e6b440;box-shadow:0 0 0 3px #ffe5a650;animation:cardInvite 2.4s infinite}.race-card.pickable:not(:disabled):hover{translate:0 -6px;scale:1.05;box-shadow:0 7px 0 #c3952520,0 0 0 3px #ffd763}.race-card.chosen{animation:chosenCard .3s both}
.reveal-deck{width:95px;min-height:86px;border-radius:15px;background:linear-gradient(135deg,#236448,#174632);color:#fff6bf;border:2px solid #ffd46c;box-shadow:0 4px 0 #133b28;transition:translate .2s,box-shadow .2s}.reveal-deck .deck-symbol{font-size:25px}.reveal-deck strong{font-size:11px}.reveal-deck small{font-size:9px}.reveal-deck:disabled{opacity:.55;filter:saturate(.5);box-shadow:none}.reveal-deck:not(:disabled):hover{translate:0 -3px;box-shadow:0 7px 0 #133b28,0 0 20px #ffd46b60}.your-reveal .reveal-deck{animation:deckGlow 2s infinite}
.collection{padding:10px 14px}.collection .section-head{margin-bottom:5px}.collection-cards{gap:6px}.collection-item{border:1px solid color-mix(in srgb,var(--dino) 30%,#fff);border-radius:12px;background:color-mix(in srgb,var(--dino) 7%,#fffdf3);padding:5px;grid-template-columns:38px 1fr;gap:0 7px}.collection-item img{width:38px;height:38px;border-radius:9px;object-fit:cover;grid-row:span 2}.collection-item b{font-size:16px}.collection-item small{font-size:9px}
.race-sidebar{gap:12px}.standings{padding:12px}.standings .section-head{margin-bottom:7px}.standings h2{font-size:15px}.player{position:relative;align-items:center;gap:9px;padding:10px 8px;margin:5px 0;border:1px solid #dee6d5;border-radius:13px;background:#fafcf2;min-height:70px;width:100%;text-align:left;transition:background .2s,box-shadow .2s;overflow:hidden}
.player:hover{background:#f1f6e6}.player.self{border-color:#accba6}.player.active-player{background:linear-gradient(110deg,#fff3b5,#fff8df);border:2px solid #e8b440;box-shadow:0 0 0 3px #ffd86b2c;animation:crewGlow 2.5s infinite}.player.active-player::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:#e3a627}
.crew-avatar{position:relative;flex:0 0 37px;height:40px}.crew-avatar img{width:37px;height:37px;object-fit:cover;border-radius:11px;border:2px solid var(--player-color)}.crew-avatar small{position:absolute;bottom:-2px;right:-3px;background:#fffdf1;border:1px solid #a8b99d;border-radius:50%;width:15px;height:15px;text-align:center;font-size:9px;font-weight:800}
.player-copy{flex:1;min-width:0}.player-copy b{font-size:12px;display:block;overflow-wrap:anywhere;line-height:1.3}.player-copy>small{font-size:9px;display:block;color:#617463;line-height:1.45}.player-turn-tag,.player-next-tag{display:inline-block;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.4px;padding:2px 5px;border-radius:5px;background:#edbb45;color:#45310b;margin-top:3px}.player-next-tag{background:#dfead8;color:#42634b}
.player>strong{font-family:Outfit,sans-serif;font-size:24px;line-height:1;text-align:center}.player>strong small{display:block;font-family:'DM Sans',sans-serif;font-size:8px;font-weight:500;margin-top:3px}.crew-hint{font-size:9px;color:#72806c;text-align:center;padding-top:6px}
.diary{padding:12px}.diary summary{cursor:pointer;font-weight:800;font-size:13px;list-style:none;display:flex;justify-content:space-between}.diary summary::-webkit-details-marker{display:none}.diary summary span{transition:rotate .2s}.diary[open] summary span{rotate:90deg}.diary-list{max-height:230px;margin-top:10px}.diary-list>div{padding:7px 0;border-bottom:1px dashed #d6dfcc}.diary-list small{font-size:10px}
.campfire{position:fixed;right:20px;bottom:16px;z-index:35}.chat-launcher{display:flex;align-items:center;gap:9px;height:44px;border-radius:16px;border:1px solid #9db98d;padding:0 15px;background:var(--forest);color:#fff4cf;box-shadow:0 4px 0 #123d2d,0 8px 22px #163e3325;font-size:13px;font-weight:800}.chat-launcher i{font-style:normal;font-size:19px}.unread{background:#ffda66;color:#3b3519;border-radius:50%;min-width:21px;height:21px;display:grid;place-items:center;font-size:11px;animation:badgePop .3s}
.chat-drawer{position:absolute;right:0;bottom:58px;width:340px;max-width:calc(100vw - 28px);height:420px;max-height:calc(100dvh - 120px);display:flex;flex-direction:column;padding:14px;opacity:0;visibility:hidden;translate:0 14px;scale:.97;transform-origin:bottom right;transition:opacity .2s,translate .25s,scale .25s,visibility .25s;box-shadow:0 16px 60px #173f3540;border:2px solid #aec594;background:#fffdf4}
.is-open .chat-drawer{opacity:1;visibility:visible;translate:0 0;scale:1}.chat-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e3e8d6;padding-bottom:10px}.chat-heading h2{font-size:17px;margin:0}.chat-heading small{font-size:9px;color:#71806c}.chat-heading .icon{width:32px;height:32px;background:#eaf0df;color:#284f3b;font-size:21px}.chat .messages{flex:1;min-height:0;height:auto;max-height:none;padding:10px 0;overflow:auto}.messages p{background:#edf3e5;border-radius:11px;padding:8px 10px;margin:0 12px 7px 0;overflow-wrap:anywhere;line-height:1.4}.messages p b{display:block;color:#30664b;font-size:10px;margin-bottom:2px}.messages p span{font-size:12px}.messages p.own-message{margin-left:12px;margin-right:0;background:#fff0b3}.chat-welcome{height:100%;display:grid;place-content:center;text-align:center;font-size:40px;color:#75866c}.chat-welcome p{font-size:12px;margin-top:8px}.chat .reactions{display:flex;gap:5px;padding:7px 0}.reactions button{flex:1;min-height:33px;background:#f0f4e6;border:1px solid #d8e3c9;border-radius:9px;font-size:17px}.reactions button:hover{scale:1.15;rotate:-6deg}.chat form{display:flex;gap:6px;margin-top:3px}.chat form input{min-width:0;flex:1;height:40px;border:1px solid #bdcda9;border-radius:11px;padding:0 10px;font-size:12px}.chat form button{width:40px;height:40px;border-radius:11px;background:#245d44;color:#fff1b7;font-size:20px}
.your-turn-notice{position:fixed;top:85px;left:50%;translate:-50% 0;z-index:45;background:#fff3bb;color:#493917;border:2px solid #e4ae2e;border-radius:19px;padding:13px 22px;box-shadow:0 9px 35px #133d3930;display:flex;align-items:center;gap:12px;pointer-events:none;animation:turnArrival 3.8s both}.your-turn-notice>span{font-size:33px;animation:noticeWiggle .8s ease-in-out 2}.your-turn-notice b{font-family:Outfit,sans-serif;font-size:25px}.your-turn-notice small{display:block;font-size:11px}
#race-event{z-index:30;max-width:440px;pointer-events:none;border-radius:23px}#race-event.visible{animation:eventArrival .25s both}#race-event .event-copy h3{font-family:Outfit,sans-serif}.results{border:2px solid #d7b246;background:linear-gradient(125deg,#fff6b9,#f4f8e2);padding:16px}.results h2{font-size:25px}.podium{gap:8px}.podium img{border-radius:14px}.primary{background:#226348;border:1px solid #174633;box-shadow:0 4px 0 #133b2a;border-radius:13px}.primary:hover{translate:0 -2px}.hero{padding-bottom:30px}.hero h1{color:#174936}.home-card,.lobby{border-radius:24px;border-color:#b5ca9e}.crew-row{border-radius:14px}.crew-row:nth-child(odd){background:#eef4e4}.loading{color:#315e43}
@keyframes turnHalo{50%{box-shadow:0 0 0 5px #ffd56b42,0 6px 26px #d6a43135}}
@keyframes crewGlow{50%{border-color:#f2c958;box-shadow:0 0 0 3px #ffd86b50}}
@keyframes beacon{50%{box-shadow:0 0 0 5px #ffdf6850}}
@keyframes raceGallop{0%,100%{translate:0 0;rotate:0deg}25%{translate:0 -10px;rotate:-7deg}60%{translate:0 -3px;rotate:7deg}80%{translate:0 -7px;rotate:-3deg}}
@keyframes penaltyWobble{25%{rotate:-12deg}60%{rotate:10deg}85%{rotate:-5deg}}
@keyframes moveScore{0%{opacity:0;translate:0 8px}20%{opacity:1}100%{opacity:0;translate:0 -17px}}
@keyframes cardInvite{50%{box-shadow:0 0 0 3px #ffdf7870,0 4px 10px #b18d2920}}
@keyframes chosenCard{to{scale:.85;translate:0 -14px;opacity:.3}}
@keyframes deckGlow{50%{box-shadow:0 4px 0 #133b28,0 0 0 4px #ffd66a50}}
@keyframes badgePop{from{scale:.3}75%{scale:1.2}}
@keyframes turnArrival{0%{opacity:0;translate:-50% -18px;scale:.9}10%,85%{opacity:1;translate:-50% 0;scale:1}100%{opacity:0;translate:-50% -8px}}
@keyframes noticeWiggle{30%{rotate:-12deg}70%{rotate:10deg}}
@keyframes eventArrival{from{opacity:0;scale:.9;translate:-50% 12px}to{opacity:1;scale:1;translate:-50% 0}}
@media(min-width:1000px) and (max-height:950px){header{padding:8px 22px}.game{padding-top:7px}.turn-hud{min-height:64px;padding:7px 13px}.turn-copy strong{font-size:19px}.turn-avatar{width:41px;height:41px;flex-basis:41px}.lane{height:45px}.runner{height:39px;width:49px;margin-left:-24px;top:2px}.runner span{font-size:7px}.track-panel{padding:10px 13px 7px}.track-panel .section-head{margin-bottom:5px}.checkpoint{max-width:51px}.race-leaders{margin:6px 0 4px}.leader-chip{padding:3px 5px}.leader-chip img{width:21px;height:21px}.market{padding:8px 12px}.market-tray{min-height:67px}.race-card{width:54px}.race-card img{height:54px}.reveal-deck{width:90px;min-height:70px}.collection{padding:7px 12px}.collection-item img{height:31px;width:31px}.collection-item{grid-template-columns:31px 1fr}.player{min-height:64px;padding:8px 7px}}
@media(min-width:1400px) and (min-height:950px){.lane{height:74px}.runner{height:62px;width:75px;margin-left:-37px}.race-card{width:78px}.race-card img{height:80px}.turn-hud{min-height:85px}.game{padding-top:15px}}
@media(max-width:1050px){.game-layout{grid-template-columns:minmax(0,1fr)215px}.game{padding-left:14px;padding-right:14px}.player{gap:6px}.crew-avatar{flex-basis:31px}.crew-avatar img{width:31px;height:34px}.market-guidance{display:none}.leader-chip{gap:3px;padding:4px}.leader-chip img{width:23px;height:23px}.leader-chip>span{font-size:9px}.track-panel{padding-left:10px;padding-right:10px}}
@media(max-width:760px){header{padding:9px 12px;gap:6px}header .brand{font-size:20px}header nav{gap:4px}header #soundtrack{max-width:90px;font-size:9px}header #volume{width:62px}header .icon{min-width:31px;height:32px}.game{padding:9px 10px 76px}.game-layout{display:flex;flex-direction:column;gap:12px}.main-board{width:100%;gap:9px}.turn-hud{min-height:72px;padding:9px 11px;gap:10px}.turn-copy strong{font-size:19px}.turn-copy small{font-size:9px}.turn-avatar{width:40px;height:40px;flex-basis:40px}.up-next{max-width:100px;padding-left:8px}.up-next small{font-size:8px}.up-next b{font-size:10px}.track-panel{padding:11px 8px 9px}.track-panel .section-head h2{font-size:15px}.track-panel .section-head>span{font-size:9px;padding:4px 6px}.track-panel::after{inset:42px 5px 53px}.lane{height:50px;margin-bottom:2px}.runner{width:41px;height:40px;margin-left:-20px;top:4px}.runner img{border-width:2px;border-radius:11px}.runner span{font-size:6px;bottom:0;left:1px;right:1px}.lane-name{font-size:8px;left:3px}.lane-name small{font-size:6px}.finish-line{width:7px}.checkpoint-row{gap:3px;margin-top:6px}.checkpoint{border-radius:5px;max-width:45px}.checkpoint small{font-size:7px}.track-ruler{font-size:8px;gap:3px}.race-leaders{gap:3px;margin-top:7px}.leader-chip{flex-direction:column;gap:1px;padding:4px 2px;position:relative}.leader-chip>b{position:absolute;left:3px;top:2px;font-size:10px}.leader-chip img{width:25px;height:25px}.leader-chip>span{font-size:8px;text-align:center}.leader-chip small{font-size:7px}.track-caption{font-size:8px;line-height:1.4}.track-caption span{max-width:50%}.market{padding:9px 10px}.market .section-head h2{font-size:15px}.market-cards{gap:5px;flex:1}.race-card{width:49px;min-width:0}.race-card img{height:49px}.race-card span{font-size:9px}.reveal-deck{width:83px;min-height:80px;flex-shrink:0}.market-tray{gap:8px;min-height:70px}.collection{padding:10px}.collection .section-head h2{font-size:14px}.collection .section-head small{font-size:8px;max-width:140px;text-align:right}.collection-cards{gap:4px}.collection-item{display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 2px}.collection-item img{width:33px;height:33px}.collection-item b{font-size:15px}.collection-item small{font-size:8px}.race-sidebar{display:flex;width:100%;gap:9px}.standings{width:100%;padding:10px}.standings .section-head{margin-bottom:4px}.player{display:inline-flex;width:calc(50% - 4px);margin:3px 2px;min-height:70px;padding:8px;vertical-align:top}.player-copy b{font-size:11px}.player>strong{font-size:21px}.crew-hint{font-size:8px}.diary{width:100%;box-sizing:border-box}.campfire{right:12px;bottom:12px}.chat-launcher{height:43px;font-size:12px}.chat-drawer{height:390px}.your-turn-notice{top:95px;width:max-content;max-width:calc(100vw - 40px);padding:11px 17px}.your-turn-notice b{font-size:23px}#race-event{bottom:68px;width:calc(100% - 28px);padding:12px;max-width:420px}#race-event .event-art{width:90px}.results h2{font-size:22px}.hero h1{font-size:44px}}
@media(max-width:380px){.turn-avatar{display:none}.up-next{max-width:90px}.runner{width:35px;height:35px;margin-left:-17px}.lane{height:44px}.leader-chip>span{font-size:7px}.market-tray{gap:5px}.race-card{width:43px}.race-card img{height:44px}.reveal-deck{width:73px}.player{padding:6px;gap:5px}.crew-avatar{flex-basis:28px}.crew-avatar img{width:28px;height:30px}.player-copy b{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.your-turn-notice{opacity:1;translate:-50% 0}}

.diary{min-height:0;max-height:none}.diary:not([open]){height:auto}.race-card:disabled{opacity:.85}.race-leaders .leader-chip:first-child{border-color:#d7ad3e;background:#fff5c5}.audio-settings{position:relative}.audio-settings summary{list-style:none;cursor:pointer;border:1px solid #ffffff30;border-radius:11px;height:34px;width:34px;display:grid;place-items:center;color:#ffe6a6;font-size:20px}.audio-settings summary::-webkit-details-marker{display:none}.audio-popover{position:absolute;right:0;top:45px;z-index:60;display:grid;gap:9px;width:230px;background:#fffdf1;color:#214d3c;padding:16px;border:1px solid #b8cba4;border-radius:17px;box-shadow:0 10px 35px #123d3235}.audio-popover label{font-size:11px;font-weight:800}.audio-popover #soundtrack{width:100%;max-width:none;font-size:12px;background:#edf3e3;color:#23583d;border:1px solid #bdcfaa;padding:8px}.audio-popover #volume{width:100%;accent-color:#2b704d;margin:4px 0}.player-copy>small{overflow-wrap:anywhere}.player-copy .player-turn-tag,.player-copy .player-next-tag{font-size:8px}.race-sidebar .standings{grid-row:auto}.audio-settings[open] summary{background:#ffffff20}.track-caption{margin-top:5px}.collection-cards{margin-top:3px}
@keyframes eventArrival{from{opacity:0;scale:.9}to{opacity:1;scale:1}}
@media(max-width:760px){.race-sidebar{flex-direction:column}.audio-popover{right:-38px}.turn-hud.your-turn{padding:9px 11px}.turn-hud strong{font-size:19px}.turn-hud .turn-copy small{max-width:none}.reveal-deck{min-height:82px}.race-card{min-height:68px}.checkpoint{aspect-ratio:1.4!important;min-height:0}.chat .reactions button{min-height:36px}.chat .messages p b{font-size:10px}.chat .messages p span{font-size:12px}}
@media(min-width:1000px) and (max-height:740px){.lane{height:38px}.runner{width:44px;height:33px;margin-left:-22px;top:2px}.track-caption{font-size:8px}.checkpoint{max-width:43px}.race-leaders{margin:5px 0 3px}.turn-hud{min-height:57px}.turn-copy strong{font-size:18px}.game-top{margin-bottom:5px}.game{padding-bottom:60px}.market-tray{min-height:61px}.reveal-deck{min-height:65px}.main-board{gap:7px}}

.collection-item{text-align:left;display:flex;align-items:center;gap:8px;min-width:0}.collection-item>div{min-width:0}.collection-item b{display:inline-block;line-height:1.1}.collection-rate{display:block;font-size:10px;font-weight:800;white-space:nowrap;color:#25553a}.collection-item small{display:block!important;font-size:8px;white-space:nowrap;color:#718069}.projected-score{font-family:'DM Sans',sans-serif;font-size:10px;color:#456344;font-weight:800;display:inline-block;background:#e6efd4;padding:3px 7px;border-radius:9px;margin-left:6px}.collection-item:hover{border-color:var(--dino);box-shadow:0 0 0 2px color-mix(in srgb,var(--dino) 20%,transparent)}.scoring-profile{display:flex;gap:18px;align-items:center}.scoring-profile img{width:95px;aspect-ratio:1;object-fit:cover;border:3px solid var(--dino);border-radius:20px}.scoring-profile h2{font-size:30px}.scoring-profile p{margin:5px 0;font-size:12px}.scoring-places{display:flex;gap:7px;margin:20px 0}.scoring-places>div{flex:1;text-align:center;background:#edf3e4;border:1px solid #cddabf;border-radius:13px;padding:12px 3px}.scoring-places span{display:block;font-size:23px}.scoring-places b{display:block;font:800 26px Outfit}.scoring-places small{font-size:9px}.scoring-places .current-rank{background:#fff1b3;border:2px solid #deb642}.scoring-estimate{display:flex;gap:9px;align-items:center;justify-content:center;padding:13px;background:#edf4df;border-radius:13px;font-size:12px}.scoring-estimate b{font-size:23px}.scoring-note{font-size:11px;color:#6c7d64}.leader-chip small{font-size:8px}
@media(max-width:1050px){.collection-item{gap:5px}.collection-item img{width:31px;height:34px}.collection-rate{font-size:9px}}
@media(max-width:760px){.collection-item{flex-direction:column;gap:4px;text-align:center;min-height:90px}.collection-item img{width:32px;height:32px}.collection-item small{font-size:7px}.collection-rate{font-size:8px}.collection .section-head{flex-wrap:wrap;gap:4px}.projected-score{font-size:9px}.leader-chip small{font-size:6px;letter-spacing:-.15px}.scoring-profile{gap:12px}.scoring-profile img{width:75px}.scoring-estimate{font-size:10px;gap:5px;flex-wrap:wrap}.scoring-places{gap:4px}.scoring-places b{font-size:22px}}

@media(min-width:761px){.game{padding-bottom:20px}}

.crew-summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;gap:8px;min-height:29px}.crew-summary::-webkit-details-marker{display:none}.crew-summary>span{font-size:10px;color:#657f5f;white-space:nowrap}.crew-summary i{font-style:normal;display:inline-block;transition:rotate .2s}.standings[open] .crew-summary i{rotate:180deg}.crew-content{padding-top:4px}.market-tray .reveal-deck{flex:0 0 95px}.market-tray .race-card{width:65px;max-width:65px;min-width:0;flex:0 0 65px;transform:none}.market-tray .race-card.pickable:hover:not(:disabled){transform:none}.race-card.pickable:disabled{animation:none}.collection-item>div{line-height:1.3}
@media(min-width:1000px) and (max-height:950px){.market-tray .reveal-deck{flex-basis:95px}.market-tray .race-card{width:54px;max-width:54px;flex-basis:54px}}
@media(max-width:760px){.market-tray .reveal-deck{flex-basis:83px;display:flex;flex-direction:column;align-items:center;gap:1px;text-align:center;padding:5px}.market-tray .reveal-deck strong{font-size:10px}.market-tray .reveal-deck small{font-size:8px}.market-tray .reveal-deck .deck-symbol{font-size:21px}.market-tray .race-card{width:49px;max-width:49px;flex-basis:49px}.market-tray .market-cards{gap:5px;min-height:68px}.race-card img{height:49px}.crew-summary{min-height:30px}.standings:not([open]){padding-top:8px;padding-bottom:8px}.game-top .eyebrow{font-size:7px}.chat-launcher{padding:0 12px}.player{margin:3px 2px}.leader-chip small{white-space:normal;line-height:1.2}.your-turn-notice{top:75px}}

.chat-launcher:hover:not(:disabled){background:#28684c;color:#fff4cf}.chat-launcher:active:not(:disabled){background:#174b3e}

.market-tray .market-cards{min-height:0}.market-tray .empty-table{min-height:0}.turn-banner.turn-hud.your-turn{padding:10px 16px}@media(min-width:1000px) and (max-height:740px){.turn-banner.turn-hud,.turn-banner.turn-hud.your-turn{min-height:55px;padding:6px 12px}.turn-hud .turn-avatar{height:36px;width:36px;flex-basis:36px}.turn-copy small{margin-top:2px}.lane{height:35px}.runner{height:31px;width:42px;margin-left:-21px}.market .section-head{margin-bottom:4px}.market-tray{margin-top:3px;min-height:61px}.market-tray .reveal-deck{min-height:61px}.collection{padding:6px 11px}.collection-item{padding:4px}.collection-item b{font-size:14px}.collection .section-head h2{font-size:14px}.collection-cards{margin-top:0}.track-panel .section-head h2{font-size:16px}.track-panel .section-head{margin-bottom:3px}.track-panel{padding-top:8px}.game{padding-bottom:10px}}

.market-tray .reveal-deck{flex-basis:118px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;padding:6px}.reveal-deck .deck-symbol{line-height:1;font-size:23px}.reveal-deck strong{line-height:1.2;white-space:nowrap}.reveal-deck small{line-height:1.3}.market-tray .reveal-deck kbd{font-size:8px}#toast:not(.show){transform:none;visibility:hidden;pointer-events:none}@media(max-width:760px){.market-tray .reveal-deck{flex-basis:94px}.reveal-deck strong{font-size:9px}.reveal-deck small{font-size:7px}}@media(min-width:1000px) and (max-height:740px){.turn-hud .turn-label{font-size:9px;margin-bottom:2px}.turn-hud .turn-copy strong{font-size:17px}.turn-hud .turn-copy small{font-size:9px;line-height:1.1}.market-tray .reveal-deck{min-height:65px}.collection .section-head{margin-bottom:2px}}

header .language:hover:not(:disabled){background:#fff0ba;color:#174b3e}

#race-event:not(.visible){visibility:hidden}#race-event.visible{visibility:visible}

.audio-popover .sfx-preview{font-size:11px;background:#e6f0d8;border:1px solid #b5cca0;border-radius:10px;padding:9px;color:#23583d;min-height:38px}.sfx-credit{font-size:9px;color:#758467;text-align:center}
