/* Replay80 V110: original V7 track and artwork, accessible navigation and safe areas. */
html,body{height:100%;overflow:hidden;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.topbar{min-width:0}.hud{min-width:0}.toolbar{align-items:center}.toolbar select{color:#fae9c9;background:#1c2b36;border:1px solid #746247;border-radius:6px;font:600 12px system-ui;min-height:36px;max-width:54px}
.toolbar button{min-width:36px;min-height:36px}.brand{color:#b0ff18;text-shadow:none;display:flex;align-items:center;min-height:40px}.brand span{color:#b0ff18}.keyboard-hint{white-space:normal}.menu{overscroll-behavior:contain}#toast{max-width:95%;white-space:normal;text-align:center}
@media(pointer:coarse){.toolbar button,.toolbar select{min-height:44px;min-width:44px}.topbar{min-height:46px}main{grid-template-rows:48px minmax(0,1fr)}.wheel-zone,.wheel{width:138px;height:138px}.cockpit{height:138px}.pedal{width:88px;height:100px}.pedal small{font-size:8px}.recover{bottom:148px}}
@media(max-width:1000px){.brand{display:flex;min-width:32px;font-size:0}.brand::before{content:'‹';font:32px system-ui}.brand span{display:none}.topbar{gap:7px}h1{font-size:16px}.hud{gap:10px}.toolbar{gap:3px}}
@media(max-width:600px) and (orientation:portrait){main{grid-template-rows:86px minmax(0,1fr)}.topbar{display:grid;grid-template-columns:32px minmax(0,1fr) auto;grid-template-rows:42px 34px;gap:0 4px}.brand{grid-column:1;grid-row:1}h1{grid-column:2;grid-row:1;font-size:14px;white-space:normal;line-height:1.05}.toolbar{grid-column:3;grid-row:1}.hud{grid-column:1/4;grid-row:2;justify-content:space-between}.toolbar button,.toolbar select{min-width:36px;min-height:38px;width:36px;height:38px}.toolbar select{width:42px}.menu{padding:14px 12px}.menu h2{font-size:26px}.menu p{font-size:12px}.level-card{height:64px}.howto{gap:8px;flex-wrap:wrap}.howto span{max-width:100px}.cockpit{height:124px}.wheel-zone,.wheel{width:124px;height:124px}.pedals{gap:7px}.pedal{width:72px;height:92px}.pedal span{font-size:17px}.pedal small{font-size:6px;letter-spacing:0}.recover{bottom:134px}}
@media(max-height:500px) and (orientation:landscape){main{grid-template-rows:40px minmax(0,1fr)}.topbar h1{display:none}.toolbar button,.toolbar select{min-width:36px;min-height:36px;height:36px;width:36px}.toolbar select{width:42px}.hud{gap:10px}.score b,.timer{font-size:21px}.timer{min-width:50px}.round{min-width:70px}.wheel-zone,.wheel{width:104px;height:104px}.cockpit{height:104px}.pedal{width:80px;height:78px}.menu{max-height:100%;padding:10px 15px}.recover{bottom:112px}.menu h2{font-size:23px}.howto{gap:10px}.howto span{max-width:140px}}
html.native-dernier-tour .brand,html.native-dernier-tour [data-language-select],html.native-dernier-tour #fullscreen{display:none!important}
@media(max-width:600px) and (orientation:portrait){html.native-dernier-tour .topbar{grid-template-columns:minmax(0,1fr) auto}html.native-dernier-tour h1{grid-column:1}html.native-dernier-tour .toolbar{grid-column:2}html.native-dernier-tour .hud{grid-column:1/3}}

.toolbar select{appearance:none;-webkit-appearance:none;height:36px;padding:0 8px;text-align:center}
@media(pointer:coarse){.toolbar select{height:44px}}
@media(max-width:600px) and (orientation:portrait){.toolbar select{height:38px;padding:0 4px}}
@media(max-height:500px) and (orientation:landscape){.toolbar select{height:36px;padding:0 4px}}
