/* One table layout across all races keeps the next action in a familiar place. */
:root{--table-cream:#fff6dc;--table-ink:#233c30;--table-gold:#efd18c}
body[data-playing=yes] #app .game{height:auto!important;min-height:calc(100dvh - 60px);padding:10px 66px 16px 18px!important}
body[data-playing=yes] header{height:60px!important;min-height:60px!important;background:#173d33!important;box-shadow:none!important}
#app .game .game-top{height:24px!important;min-height:24px!important;margin-bottom:6px!important}
body[data-playing=yes] #app .game .main-board{height:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto minmax(250px,calc(100dvh - 480px)) auto auto!important;grid-template-areas:'crew' 'turn' 'track' 'market' 'pocket'!important;gap:10px!important}
#app .game .crew-ribbon{grid-area:crew;justify-content:flex-start;gap:8px;min-height:48px;padding:0}
#app .game .ribbon-player{max-width:none;padding:5px 10px;border:1px solid #bdc7ad66;border-radius:10px;box-shadow:none;background:#173d33ef;min-height:48px;animation:none}
#app .game .ribbon-player.active{border:2px solid #efd18c;box-shadow:none;background:#2c5443}
#app .game .ribbon-avatar{width:36px;flex-basis:36px;min-height:36px}.ribbon-avatar .avatar-model{height:40px!important;width:36px!important}
#app .game .ribbon-player b{font-size:13px;max-width:none}#app .game .ribbon-player strong{font-size:16px}#app .game .ribbon-pulse{display:none}
#app .game .turn-hud{grid-area:turn;width:100%!important;min-height:62px!important;height:auto!important;justify-self:stretch;align-self:stretch;border:1px solid #dac396!important;border-radius:12px!important;background:#fff1cb!important;color:#293e30!important;box-shadow:none!important;padding:8px 14px!important;animation:none!important}
#app .game .turn-hud.your-turn{border-left:6px solid #42784e!important}
#app .game .turn-copy strong{font-size:23px!important;line-height:1.2!important;text-shadow:none!important;color:#293e30!important}
#app .game .turn-label{font-size:11px!important;color:#526348!important;line-height:1.2}
#app .game .turn-copy small{font-size:12px!important;color:#526348!important}
#app .game .turn-avatar{width:42px!important;height:42px!important;flex-basis:42px!important}
#app .game .up-next{min-width:125px;padding-left:15px;color:#435742}
#app .game .cinematic-stage{grid-area:track;min-height:250px!important;padding:10px 12px!important;background:#163c31ce!important;border-radius:14px!important;overflow:visible;border:1px solid #b9c8a744!important}
#app .game .cinematic-stage .track{min-height:190px;padding-top:5px}
#app .game .cinematic-stage .section-head{background:none;color:#fff3d4;height:25px;min-height:25px}
#app .game .cinematic-stage .lane{min-height:30px!important}
#app .game .cinematic-stage .runner{width:72px!important;height:58px!important;margin-left:-36px!important;min-height:0!important;padding:0!important;box-shadow:none!important}
#app .game .cinematic-stage .runner .racer-character{width:100%!important;height:100%!important}
#app .game .cinematic-stage .lane-name{width:110px!important;min-width:110px;font-size:12px;box-shadow:none!important;border:1px solid #bcb58c88!important;border-radius:8px!important;background:#244b3fe6!important}
#app .game .cinematic-stage .lane-name strong{color:#fff1d4!important;font-size:12px!important}.cinematic-stage .lane-name small{font-size:9px!important}
#app .game .cinematic-stage{--badge-width:115px}.cinematic-stage .track-caption{font-size:10px;color:#e3e8ce}.cinematic-stage .race-leaders{display:none!important}
#app .game .market{grid-area:market!important;width:100%!important;padding:12px 14px!important;background:#fff5ddf5!important;color:#273f31!important;border:1px solid #d5c9a8!important;border-radius:14px!important;box-shadow:none!important;min-height:0!important;overflow:visible!important}
#app .game .market .section-head{height:auto!important;min-height:24px;margin:0 0 8px!important;color:#273f31!important;display:flex!important;gap:10px;align-items:center;flex-wrap:wrap}
#app .game .market h2{font-size:17px!important}.market-guidance{font-size:12px!important;color:#3b6046!important;display:block!important}.market .section-head>small{margin-left:auto;color:#53634e}
#app .game .market-tray{display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;align-items:center!important;gap:14px!important;padding:0!important;max-height:none!important}
#app .game .market-cards{display:grid!important;grid-template-columns:repeat(var(--card-count),minmax(0,1fr))!important;grid-template-rows:auto!important;align-items:center!important;justify-content:center!important;gap:10px!important;padding:5px 3px!important;min-height:170px!important;max-height:none!important;overflow:visible!important;scrollbar-width:auto}
#app .game .market-tray .race-card{width:100%!important;max-width:180px!important;min-width:0!important;flex:none!important;justify-self:center;aspect-ratio:375/525!important;height:auto!important;padding:0!important;border:2px solid #d7c7a1!important;border-radius:10px!important;overflow:visible!important;background:#fff9e8!important;box-shadow:0 3px 0 #9f997c44!important;transform:none!important;animation:none!important;position:relative;opacity:1!important}
#app .game .market-tray .race-card img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:375/525!important;object-fit:contain!important;max-height:none!important;border-radius:8px!important;margin:0!important;padding:0!important;filter:none!important}
#app .game .market .race-card .card-name{display:none!important}.race-card:after{display:none!important}
#app .game .market .race-card:disabled{opacity:.85!important;filter:none!important;cursor:default}
#app .game .market .race-card.pickable{border:3px solid #487849!important;box-shadow:0 3px 0 #2a573c55!important;cursor:pointer}
#app .game .market .race-card.pickable:hover,#app .game .market .race-card.pickable:focus-visible{transform:translateY(-6px) scale(1.025)!important;z-index:3;box-shadow:0 10px 20px #30452c33!important}
#app .game .market .race-card.chosen{transform:translateY(-8px)!important;border-color:#d99624!important}
#app .game .reveal-deck{width:110px!important;height:160px!important;min-height:44px!important;padding:10px 8px!important;aspect-ratio:auto!important;border-radius:12px!important;border:2px solid #47744e!important;background:#325f45!important;color:#fff5d3!important;box-shadow:0 4px 0 #214731!important;animation:none!important;transform:none!important}
#app .game .reveal-deck strong{font-size:14px!important;line-height:1.4;color:inherit!important}.reveal-deck small{font-size:10px;color:inherit!important}.reveal-deck .deck-symbol{font-size:36px!important;color:inherit!important}
#app .game .reveal-deck:disabled{background:#e5e4d1!important;border-color:#b4b69e!important;color:#626955!important;box-shadow:none!important;opacity:1!important}
#app .game .pocket-collection{grid-area:pocket!important;display:flex!important;align-items:center;gap:14px;padding:8px 12px!important;background:#173d33ef!important;border:1px solid #a2b79b55!important;color:#fff3d4!important;border-radius:12px!important;box-shadow:none!important;min-height:0!important;width:100%!important}
#app .game .pocket-collection h2{font-size:13px!important;min-width:135px;display:flex;align-items:center;gap:5px;margin:0!important}.pocket-collection h2 button{min-width:38px;min-height:38px}
#app .game .pocket-collection>div{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));flex:1;gap:8px;margin:0!important}
#app .game .pocket-collection>div button{display:flex;justify-content:center;align-items:center;gap:8px;min-height:44px;background:#315442!important;color:#fff4d3!important;border:1px solid #94aa8b77!important;border-radius:8px;padding:3px 8px!important;box-shadow:none}
#app .game .pocket-collection img{width:50px!important;height:34px!important;object-fit:contain!important}.pocket-collection>small{font-size:10px!important;max-width:155px;display:block!important}
#app .game .results{grid-column:1;grid-row:4;background:#fff5df!important;color:#263c30!important;width:100%;max-width:none!important;margin:0!important;padding:20px!important}
#app .side-tools{gap:7px}.side-tools button{width:42px!important;height:42px!important;background:#173d33!important;color:#fff2d3!important;border:1px solid #c3c7a788;border-radius:10px;box-shadow:none!important}
#app .lobby{max-width:1100px;gap:36px;padding:24px;margin:24px auto}.lobby .lobby-card{padding:24px;background:#fff6df}.lobby .crew-member{min-height:55px}.lobby .options{display:grid;gap:10px;text-align:left}.lobby .options label{min-height:60px;border:1px solid #c3ccae;border-radius:10px;padding:12px;background:#edf0df}.lobby .options b{font-size:14px}.lobby .options small{font-size:12px;color:#526044}.lobby .lobby-card>button.primary{width:100%;min-height:48px;font-size:17px;margin-top:15px}.lobby .crew-actions button{min-height:44px}.lobby .plush-picker button{min-height:68px}
.game-side-panel{max-height:calc(100dvh - 25px);overflow-y:auto}.collection-overlay .collection-item img{object-fit:contain!important;max-height:none!important}.collection-overlay{overflow:auto!important}
@media(min-width:1000px) and (max-height:800px){body[data-playing=yes] #app .game{padding-top:5px!important}.game .game-top{display:none!important}body[data-playing=yes] #app .game .main-board{grid-template-rows:44px 58px minmax(215px,1fr) auto auto!important;gap:7px!important}.game .cinematic-stage{min-height:215px!important}.game .cinematic-stage .track{min-height:155px!important}#app .game .market-tray .race-card{max-width:140px!important}#app .game .market-cards{min-height:150px!important}.game .market{padding:8px 12px!important}.game .market .section-head{margin-bottom:5px!important}.game .pocket-collection>small{display:none!important}}
@media(max-width:999px){body[data-playing=yes] #app .game{padding:10px 14px 75px!important}.side-tools{position:fixed!important;right:12px!important;bottom:12px!important;top:auto!important;display:flex!important;flex-direction:row!important;z-index:20}.game .market-tray{grid-template-columns:90px minmax(0,1fr)!important;gap:10px!important}#app .game .reveal-deck{width:90px!important;height:140px!important}.game .crew-ribbon{flex-wrap:wrap!important}.game .ribbon-player{flex:1 1 120px!important}.game .pocket-collection>small{display:none!important}.game .up-next{min-width:100px}}
@media(max-width:700px){body[data-playing=yes] header{height:auto!important;min-height:55px!important;padding:6px 10px!important;flex-wrap:wrap;gap:4px}header nav{flex-wrap:wrap;gap:4px}.volume-control{min-width:100px}body[data-playing=yes] #app .game{padding:8px 8px 68px!important}body[data-playing=yes] #app .game .main-board{grid-template-rows:auto auto minmax(280px,auto) auto auto!important;gap:8px!important}.game .game-top{font-size:10px!important}.game .crew-ribbon{gap:5px!important}.game .ribbon-player{flex:1 1 95px!important;padding:4px 6px!important;min-height:44px!important}.game .ribbon-avatar{width:28px!important;flex-basis:28px!important}.game .ribbon-player b{font-size:11px!important}.game .ribbon-player strong{font-size:13px!important}.game .turn-avatar{display:none!important}.game .up-next{display:none!important}#app .game .turn-copy strong{font-size:19px!important}#app .game .turn-copy small{font-size:11px!important}.game .cinematic-stage{--badge-width:73px!important;padding:8px 5px!important;min-height:280px!important}.game .cinematic-stage .lane-name{width:68px!important;min-width:68px!important;padding:3px!important}.game .cinematic-stage .lane-name strong{font-size:9px!important}.game .cinematic-stage .lane-name b,.game .cinematic-stage .lane-name small{display:none!important}#app .game .cinematic-stage .runner{width:46px!important;height:43px!important;margin-left:-23px!important}.game .race-space{font-size:9px!important}.game .cinematic-stage .checkpoint-row{gap:4px;margin-right:5px!important}.game .checkpoint small{font-size:9px!important}.game .track-caption span:last-child{display:none!important}.game .market-tray{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important}#app .game .reveal-deck{width:100%!important;height:52px!important;min-height:52px!important;display:flex;align-items:center;justify-content:center;gap:10px}#app .game .reveal-deck .deck-symbol{font-size:25px!important}.game .reveal-deck small{display:none!important}#app .game .market-cards{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;min-height:125px!important;overflow:visible!important}#app .game .market-tray .race-card{max-width:none!important;border-radius:8px!important}.game .market-guidance{display:none!important}.game .market .section-head h2{font-size:15px!important}.game .pocket-collection{display:block!important;padding:8px!important}.game .pocket-collection h2{margin-bottom:5px!important}.game .pocket-collection>div{gap:4px!important}.game .pocket-collection>div button{padding:3px!important;flex-direction:column;gap:1px!important}.game .pocket-collection img{width:42px!important;height:30px!important}.game .pocket-collection b{font-size:13px!important}.lobby{grid-template-columns:1fr!important}.lobby .lobby-dino{display:none}.lobby .lobby-card{padding:18px}.lobby .plush-picker>div{gap:4px}.lobby .plush-picker button{min-width:0}.lobby .plush-picker small{font-size:9px}.game-side-panel{width:min(360px,calc(100vw - 20px))!important}.collection-overlay{width:calc(100vw - 20px)!important}.collection-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(prefers-reduced-motion:reduce){#app .race-card,#app .reveal-deck,#app .ribbon-player,#app .turn-hud{animation:none!important;transition:none!important}.race-card:hover{transform:none!important}}
body[data-playing=yes][data-scene] #app .game .main-board{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:48px auto minmax(235px,calc(100dvh - 585px)) auto auto!important;grid-template-areas:'crew' 'turn' 'track' 'market' 'pocket'!important;height:auto!important}
body[data-playing=yes][data-scene] #app .game .crew-ribbon{height:48px!important;min-height:48px!important;overflow:visible}
body[data-playing=yes][data-scene] #app .game .ribbon-player{height:48px!important;min-height:48px!important;max-height:48px!important}.ribbon-player .ribbon-avatar{height:36px!important;align-self:center!important}.ribbon-player .avatar-model{height:36px!important}
body[data-playing=yes][data-scene] #app .game .market{height:auto!important;display:block!important;min-height:0!important}
body[data-playing=yes][data-scene] #app .game .market-tray{display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;flex-direction:row!important;height:auto!important;min-height:0!important;max-height:none!important}
body[data-playing=yes][data-scene] #app .game .market-tray .market-cards{display:grid!important;grid-template-columns:repeat(var(--card-count),minmax(0,1fr))!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;min-height:155px!important}
body[data-playing=yes][data-scene] #app .game .market-tray .race-card{width:100%!important;max-width:165px!important;height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:375/525!important;rotate:none!important;scale:1!important;transform:none!important}
body[data-playing=yes][data-scene] #app .game .market-tray .race-card img{height:auto!important;max-height:none!important;width:100%!important;aspect-ratio:375/525!important;object-fit:contain!important}
body[data-playing=yes][data-scene] #app .game .market-tray .reveal-deck{width:110px!important;height:150px!important;min-height:0!important;max-height:none!important;padding:10px 6px!important;flex-direction:column!important}
body[data-playing=yes][data-scene] #app .game .reveal-deck strong{white-space:normal!important;overflow-wrap:anywhere;font-size:13px!important;text-align:center}
body[data-playing=yes][data-scene] #app .game .pocket-collection{height:auto!important;min-height:56px!important;display:flex!important;flex-direction:row!important}
body[data-playing=yes][data-scene] #app .game .pocket-collection h2{font-size:13px!important;line-height:1.3!important}.pocket-collection h2 button{flex-shrink:0}
body[data-playing=yes][data-scene] #app .game .turn-hud{height:auto!important;min-height:62px!important;background:#fff1cb!important;color:#293e30!important;animation:none!important}
body[data-playing=yes][data-scene] #app .game .turn-copy{min-width:0!important;flex:1}.turn-copy strong,.turn-copy small,.up-next b{overflow-wrap:anywhere;white-space:normal!important}
body[data-playing=yes][data-scene] #app .game .turn-label{color:#526348!important;font-size:11px!important}
body[data-playing=yes][data-scene] #app .game .turn-copy strong{color:#293e30!important;font-size:22px!important;line-height:1.25!important;text-shadow:none!important}
body[data-playing=yes][data-scene] #app .game .track-caption{display:flex;gap:10px;flex-wrap:wrap;justify-content:space-between;padding-top:5px;font-size:10px;line-height:1.4}
body[data-playing=yes][data-scene] #app .cinematic-stage .section-head h2{color:#fff3d4!important;text-shadow:none!important}
@media(min-width:1000px) and (max-height:800px){body[data-playing=yes][data-scene] #app .game .main-board{grid-template-rows:44px auto minmax(215px,auto) auto auto!important;gap:7px!important}body[data-playing=yes][data-scene] #app .game .market-tray .race-card{max-width:135px!important}}
@media(max-width:999px){body[data-playing=yes][data-scene] #app .game .main-board{grid-template-rows:auto auto minmax(280px,auto) auto auto!important}body[data-playing=yes][data-scene] #app .game .crew-ribbon{height:auto!important;flex-wrap:wrap!important}body[data-playing=yes][data-scene] #app .game .market-tray{grid-template-columns:90px minmax(0,1fr)!important}body[data-playing=yes][data-scene] #app .game .market-tray .reveal-deck{width:90px!important;height:140px!important}}
@media(max-width:700px){body[data-playing=yes][data-scene] #app .game .market-tray{display:flex!important;flex-direction:column!important;align-items:stretch!important}body[data-playing=yes][data-scene] #app .game .market-tray .market-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;min-height:135px!important;gap:9px!important}body[data-playing=yes][data-scene] #app .game .market-tray .race-card{max-width:150px!important}body[data-playing=yes][data-scene] #app .game .market-tray .reveal-deck{width:100%!important;height:52px!important;min-height:52px!important;flex-direction:row!important}body[data-playing=yes][data-scene] #app .game .pocket-collection{display:block!important}.game .turn-copy strong{font-size:19px!important}.game .market .section-head>small{font-size:10px}.ribbon-player b{max-width:100px!important}}
header{background:#173d33!important;border-bottom:1px solid #66806b!important;color:#fff3d4}.brand{color:#fff3d4!important}header nav button,header .audio-settings summary{background:#315544!important;color:#fff3d4!important;border:1px solid #8d9f8166!important;min-height:40px;min-width:40px;box-shadow:none!important}header nav button:hover{background:#496e51!important}.volume-control,.volume-control label,.volume-control output{color:#eee6c9!important}.audio-popover{background:#fff4d8!important;color:#243e30!important;border-color:#bbb68d!important}.audio-popover button{background:#315544!important;color:#fff3d4!important}body:not([data-playing=yes]){background:#edf0e2!important;color:#243e30}.landing .hero-copy{background:#fff6dce8!important;border-color:#c9c6a2!important;color:#243e30!important}.hero-copy h1{color:#233f30!important;text-shadow:none!important}.hero-copy h1 em{color:#886127!important}.hero-copy p{color:#455844!important}.primary{background:#315e42!important;color:#fff8df!important;border-color:#315e42!important;box-shadow:0 3px 0 #214431!important}.primary:hover{background:#44764f!important}.lobby .options label{display:flex;align-items:flex-start;gap:10px;line-height:1.4}.lobby .options input{flex:0 0 20px;margin-top:2px}.lobby .options span{min-width:0;flex:1}.lobby .options small{display:block;line-height:1.5;white-space:normal}.crew-member strong{min-width:0;overflow-wrap:anywhere;flex:1}.crew-member small{flex-shrink:0;font-size:11px}.crew-member .status{flex-shrink:0}.lobby-card h1{line-height:1.15}.game-side-panel,.collection-overlay{background:#fff4db!important;color:#263f31!important;border-color:#c9bd9c!important}.collection-overlay .collection{background:#fff4db!important;color:#263f31!important}.collection-overlay .collection-item{display:flex;flex-direction:column;gap:8px;background:#f4edd3!important;color:#263f31!important}.collection-overlay .collection-item .collection-race-art{width:min(170px,100%)!important;height:auto!important;aspect-ratio:375/525!important;object-fit:contain!important}.collection-overlay .collection-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.collection-overlay .collection-item>div{width:100%;display:flex;flex-wrap:wrap;gap:4px 10px;justify-content:center}.collection-overlay .collection-item small{width:100%;text-align:center}.collection-overlay .section-head h2{line-height:1.4}.close-side{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;background:#315544!important;color:#fff3d4!important}dialog{max-width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;color:#263f31!important;background:#fff4db!important}dialog p{color:#465841!important}button,summary{touch-action:manipulation}.game-logo{object-fit:contain!important}header .language-picker summary{border-color:#bfb68c!important}
@media(max-width:700px){header{padding:8px 10px!important;flex-wrap:wrap!important;justify-content:center;gap:7px!important}header nav{justify-content:center;flex-wrap:wrap;max-width:100%;gap:5px!important}.game-logo{width:105px!important;height:40px!important}.volume-control{display:flex!important;align-items:center;gap:4px}.volume-control input{width:62px!important}.volume-control label{font-size:10px}.volume-control output{font-size:10px;min-width:25px}.lobby{margin:12px auto!important;padding:10px!important;gap:15px!important}.lobby .plush-picker>div{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px!important}.lobby .plush-picker button{padding:4px!important;min-width:0;width:100%!important}.lobby .crew-actions{flex-wrap:wrap}.lobby .crew-actions button{flex:1 1 130px}.landing{padding:22px 12px!important;min-height:0!important}.hero-copy h1{font-size:42px!important;letter-spacing:-1px!important}.join-box .actions{flex-wrap:wrap}.join-box .actions button{min-height:46px}.landing .join-plushies{max-width:100%;overflow:hidden}.collection-overlay .collection-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
body[data-playing=yes][data-scene] #app .game .cinematic-stage .track{min-height:0!important;flex:1;gap:0!important}
body[data-playing=yes][data-scene] #app .game .turn-hud{padding:6px 12px!important;gap:10px!important}.turn-hud::before,.turn-hud::after{display:none!important}
body[data-playing=yes][data-scene] #app .game .turn-copy strong{font-size:21px!important;line-height:1.15!important}.turn-copy small{line-height:1.3!important}.turn-label{line-height:1.2!important}
body[data-playing=yes][data-scene] #app .game .market-tray{margin:0!important}.market-cards{padding:5px 3px!important}
@media(min-width:1000px){body[data-playing=yes][data-scene] #app .game .main-board{grid-template-rows:48px auto minmax(235px,calc(100dvh - 655px)) auto auto!important}}
@media(min-width:1000px) and (max-height:800px){body[data-playing=yes][data-scene] #app .game .main-board{grid-template-rows:44px auto 215px auto auto!important;gap:7px!important}body[data-playing=yes][data-scene] #app .game .cinematic-stage{min-height:215px!important}.game .market .section-head{margin-bottom:4px!important}.game .track-caption{padding-top:2px!important}}
@media(max-width:700px){body[data-playing=yes][data-scene] #app .game .main-board{grid-template-rows:auto auto 280px auto auto!important}body[data-playing=yes][data-scene] #app .game .cinematic-stage{min-height:280px!important;max-height:280px!important}body[data-playing=yes][data-scene] #app .game .market-tray .reveal-deck{flex:none!important;height:52px!important;min-height:52px!important}body[data-playing=yes][data-scene] #app .game .pocket-collection>div button{height:auto!important;min-height:58px!important;max-height:none!important}.game .pocket-collection h2{min-width:0!important}}
.music-level-control{display:grid;grid-template-columns:1fr 35px;gap:7px;font-size:13px;color:#263f31!important;line-height:1.4;margin:10px 0}.music-level-control input{grid-column:1;width:100%!important;height:32px!important;accent-color:#315e42}.music-level-control output{grid-column:2;align-self:center;text-align:right;color:#263f31!important;font-variant-numeric:tabular-nums}.audio-popover{width:260px!important;max-width:calc(100vw - 20px);padding:16px!important}.volume-control label{display:block!important;font-size:10px}.game .ribbon-player b{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

#app .game .ribbon-player{min-width:0!important;overflow:hidden!important}#app .game .ribbon-player>span:last-of-type{min-width:0!important;flex:1}#app .game .ribbon-player b{display:block!important;width:100%!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

body #app>header{position:relative!important;z-index:100!important;overflow:visible!important}body #app>header nav{overflow:visible!important}.audio-settings[open]{z-index:110!important}.audio-popover{z-index:120!important;background:#fff5dd!important;box-shadow:0 14px 35px #102c3355!important}#app .game .reveal-deck:not(:disabled){background:#efd18c!important;color:#263f31!important;border-color:#315e42!important}#app .game .reveal-deck strong,#app .game .reveal-deck small{color:inherit!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.35!important}

body #app>header{z-index:2000!important}.your-turn-notice{z-index:50!important;pointer-events:none!important}

body[data-playing=yes][data-scene] #app .game .market{background:#fff5ddf5!important;color:#273f31!important}body[data-playing=yes][data-scene] #app .game .cinematic-stage .track{display:grid!important;grid-template-rows:repeat(5,minmax(0,1fr)) 35px!important;gap:0!important;padding-top:0!important}body[data-playing=yes][data-scene] #app .game .cinematic-stage .lane{min-height:0!important;height:auto!important}body[data-playing=yes][data-scene] #app .game .cinematic-stage .checkpoint-row{height:35px!important;min-height:35px!important;margin-top:0!important}body[data-playing=yes][data-scene] #app .game .cinematic-stage .track-caption{position:static!important;flex:none!important;height:auto!important;min-height:15px!important;padding:2px 0 0!important;margin:0!important;font-size:9px!important;line-height:1.3!important}

body[data-playing=yes][data-scene] #app .game .ribbon-player{background:#173d33ef!important;color:#fff1cb!important}body[data-playing=yes][data-scene] #app .game .ribbon-player.active{background:#2c5443!important}body[data-playing=yes][data-scene] #app .game .ribbon-player b,body[data-playing=yes][data-scene] #app .game .ribbon-player strong{color:#fff1cb!important}body[data-playing=yes][data-scene] #app header nav button,body[data-playing=yes][data-scene] #app .side-tools button{background:#315448!important;color:#fff1cb!important;border-color:#839981!important}

body[data-playing=yes][data-scene] #app .game .runner .racer-character{height:auto!important;aspect-ratio:1/2!important;width:100%!important;bottom:-43%!important;top:auto!important}.lane-card-count{font-style:normal;font-size:11px!important;background:#fff1cb;color:#264a40!important;border-radius:4px;padding:1px 4px;margin-left:4px;display:inline-block;line-height:1.2;vertical-align:middle}#app .game .lane-name strong{white-space:nowrap!important}@media(max-width:700px){#app .game .lane-name strong{font-size:8px!important}.lane-card-count{font-size:9px!important;padding:1px 2px;margin-left:2px}}

body[data-playing=yes][data-scene] #app .game .main-board{grid-template-areas:'crew' 'track' 'market' 'pocket'!important;grid-template-rows:auto minmax(250px,calc(100dvh - 565px)) auto auto!important}body[data-playing=yes][data-scene] #app .game .market .turn-hud{grid-area:auto!important;padding:4px 0 8px!important;margin:0!important;min-height:0!important;background:transparent!important;border:0!important;box-shadow:none!important;gap:8px!important}#app .game .market .turn-avatar,#app .game .market .turn-label,#app .game .market .up-next,#app .game .market .market-guidance{display:none!important}body[data-playing=yes][data-scene] #app .game .market .turn-copy strong{font-size:16px!important;line-height:1.25!important}#app .game .market .turn-copy small{font-size:11px!important;display:block!important;margin-top:2px}@media(min-width:1000px) and (max-height:800px){body[data-playing=yes][data-scene] #app .game .main-board{grid-template-rows:48px 250px auto auto!important}}@media(max-width:700px){body[data-playing=yes][data-scene] #app .game .main-board{grid-template-rows:auto 280px auto auto!important}}

body[data-playing=yes][data-scene] #app .game .cinematic-stage .runner{width:var(--piece-size,38px)!important;height:var(--piece-size,38px)!important;margin:0!important;translate:-50% -50%!important}body[data-playing=yes][data-scene] #app .game .runner .racer-character{bottom:-50%!important}.game .race-space:not(.start-space):not(.finish-space){transform:translate(12px,7px)!important;font-size:10px!important;line-height:1!important;background:#173d33dd;color:#fff5dd!important;border-radius:3px;padding:2px!important;z-index:12!important;pointer-events:none}.game .market{position:relative}.idle-card-reminder{position:absolute;left:50%;top:8px;translate:-50% -100%;z-index:30;background:#fff1cb;color:#264a40;border:2px solid #d7b35f;border-radius:14px;padding:9px 15px;font-weight:700;box-shadow:0 5px 15px #173d3333;pointer-events:none;animation:reminder-arrive .22s ease-out}@keyframes reminder-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.idle-card-reminder{animation:none}}

body[data-playing=yes][data-scene] #app .game .race-space:not(.start-space):not(.finish-space){width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;max-width:25px!important;display:inline-block!important;transform:translate(14px,9px)!important;border:0!important;box-shadow:none!important}

body[data-playing=yes][data-scene] #app .game .cinematic-stage .runner{translate:-50% -65%!important}body[data-playing=yes][data-scene] #app .game .race-space:not(.start-space):not(.finish-space){transform:translate(24px,12px)!important;font-size:11px!important;padding:2px 3px!important;background:#173d33ee!important}body[data-playing=yes][data-scene] #app .game .cinematic-stage .runner .racer-character{filter:drop-shadow(0 3px 2px #16382c55)!important}@media(max-width:700px){body[data-playing=yes][data-scene] #app .game .race-space:not(.start-space):not(.finish-space){transform:translate(10px,14px)!important;font-size:9px!important}}

body[data-playing=yes][data-scene] #app .game .race-space:not(.start-space):not(.finish-space){transform:translate(var(--number-offset,24px),12px)!important}
