/* Race and family driver selection, accessible on an iPad. */
.crewQuickSelect{background:#132f24;border:1px solid #668a66;border-radius:12px;margin:7px 0 14px;padding:10px 12px}
.crewTitle{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#edffce;font-size:13px}
.crewTitle small{font-size:10px;font-weight:400;color:#d1dac5}
.crewPortraits{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-inline:contain;padding:8px 2px 5px;touch-action:pan-x;scrollbar-width:thin}
.crewPortraits button{flex:0 0 76px!important;height:89px;display:flex!important;align-items:center;justify-content:flex-start;flex-direction:column;padding:4px!important;margin:0;border:2px solid #5a8172;background:#203e35;border-radius:10px;color:#f0fbef;min-width:0!important}
.crewPortraits button.selected{border-color:#dfff7c;box-shadow:0 0 0 2px #dfff7c40;background:#315742}
.crewPortraits img{display:block;height:57px;width:58px;object-fit:cover;object-position:50% 18%;border-radius:7px;pointer-events:none}
.crewPortraits span{font-size:10px;line-height:15px;white-space:nowrap}
.raceIntro{display:grid;gap:6px;color:#f9f6d7;border:1px solid #e9bc74;background:linear-gradient(115deg,#57301c,#25382d);padding:11px;border-radius:12px;margin:8px 0 11px;font-size:12px}
.raceIntro[hidden]{display:none!important}
.raceIntro label{display:flex;align-items:center;gap:10px;font-weight:800}
.raceIntro select{max-width:172px;padding:5px;color:#183225;background:#ebffba;border-radius:8px;font-weight:700}
body.racePlaying #raceTrackHud{display:flex}
#raceTrackHud{position:fixed;top:clamp(81px,11vh,112px);left:50%;transform:translateX(-50%);z-index:5;display:none;justify-content:center;align-items:center;padding:9px 14px;background:#123127df;border:1px solid #b9fa69;color:#e7ffa8;border-radius:12px;font:bold 13px Arial,sans-serif;white-space:nowrap;pointer-events:none;box-shadow:0 3px 15px #101b1899}
@media(max-height:550px){.crewPortraits button{flex-basis:62px!important;height:74px}.crewPortraits img{height:43px;width:45px}.crewQuickSelect{padding:5px}.raceIntro{font-size:10px}.crewTitle small{display:none}#raceTrackHud{top:49px;font-size:10px}}
