/* Mashwar v2.1 — responsive mobile-first launch cockpit. Isolated to start panel. */
#start-panel{padding:clamp(12px,2.5vh,28px);background:linear-gradient(135deg,rgba(4,17,28,.92),rgba(5,25,38,.71));backdrop-filter:blur(8px)}
#start-panel .launch-shell{direction:rtl;text-align:right;display:flex;flex-direction:column;width:min(100%,680px);height:min(90dvh,865px);max-height:none;overflow:hidden;padding:0;border-radius:27px;border:1px solid rgba(204,238,248,.18);background:#091f30;box-shadow:0 22px 90px rgba(0,8,20,.68)}
#start-panel .launch-topbar{padding:15px 23px;display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:12px;background:#0a2738;border-bottom:1px solid rgba(255,255,255,.09)}
#start-panel .launch-identity{display:flex;align-items:center;gap:10px;min-width:0}
#start-panel .launch-logo{display:grid;place-items:center;width:41px;height:41px;flex-shrink:0;border-radius:13px;background:linear-gradient(155deg,#ffe0a5,#fba463);color:#163046;font-size:25px;font-weight:900;box-shadow:0 6px 16px rgba(228,153,74,.13)}
#start-panel .launch-identity strong{font-size:20px;display:block;color:#fff;line-height:1.2;letter-spacing:-.3px}
#start-panel .launch-identity small{display:block;font-size:10px;color:#acc5cf;margin-top:3px}
#start-panel .launch-build-tag{white-space:nowrap;display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:#143848;color:#d3eee7;font-size:10px;font-weight:700;border:1px solid #3d827d5a}
#start-panel .launch-build-tag i{display:inline-block;width:6px;height:6px;background:#74dec4;box-shadow:0 0 7px #67dfbe;border-radius:100%}
#start-panel .launch-scroll{padding:18px 24px 20px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#46697c transparent;-webkit-overflow-scrolling:touch}
#start-panel .launch-hero{position:relative;display:flex;align-items:center;min-height:174px;padding:22px 22px;margin-bottom:18px;overflow:hidden;border-radius:20px;background:radial-gradient(circle at 18% 7%,#38617b 0%,transparent 41%),linear-gradient(110deg,#163c50,#0b2b43 59%,#123c50);border:1px solid #65909d34}
#start-panel .launch-hero-copy{position:relative;z-index:2;width:70%;pointer-events:none}
#start-panel .launch-overline{display:inline-block;font-size:10px;color:#abede1;letter-spacing:.2px;margin-bottom:11px;font-weight:700}
#start-panel .launch-hero h1{font-size:clamp(25px,4.5vw,37px);line-height:1.32;margin:0 0 7px;color:#fff;letter-spacing:-.75px}
#start-panel .launch-hero h1 em{font-style:normal;color:#ffd394}
#start-panel .launch-hero p{font-size:11px;line-height:1.8;max-width:290px;margin:0;color:#b8d3de}
#start-panel .launch-hero-art{pointer-events:none;position:absolute;inset:0 45% 0 0;overflow:hidden;background:radial-gradient(circle at 39% 24%,#e8ae7466,transparent 29%)}
#start-panel .cityline{position:absolute;bottom:31%;height:30%;left:9%;width:78%;background:linear-gradient(90deg,transparent 0 10%,#09283d 10% 23%,transparent 23% 27%,#0c2f42 27% 45%,transparent 45% 49%,#0f3d50 49% 61%,transparent 61% 67%,#10384b 67% 90%,transparent 90%);opacity:.9}
#start-panel .cityline-two{bottom:25%;left:23%;height:20%;transform:scaleX(-1);opacity:.75}
#start-panel .launch-road-art{position:absolute;bottom:-39%;left:18%;height:97%;width:60%;transform:perspective(150px) rotateX(58deg) rotate(-15deg);background:linear-gradient(90deg,transparent 0 9%,#eec28b 9% 11%,#1b3445 11% 88%,#eec28b 88% 90%,transparent 90%);border-radius:40% 40% 3% 3%}
#start-panel .launch-road-art:after{content:"";position:absolute;left:48%;top:0;height:100%;width:3px;background:repeating-linear-gradient(to bottom,#ffebc2 0 11px,transparent 11px 24px);opacity:.83}
#start-panel .launch-car-art{position:absolute;bottom:24%;left:37%;font-size:49px;filter:drop-shadow(0 12px 8px #0006);transform:rotate(-14deg)}
#start-panel .launch-section-heading{display:flex;justify-content:space-between;align-items:center;gap:6px;margin:16px 1px 11px;color:#f3fbff}
#start-panel .launch-section-heading>div{display:flex;align-items:center;gap:9px}
#start-panel .launch-section-heading strong{font-size:14px;letter-spacing:-.15px}
#start-panel .launch-section-heading small{font-size:10px;color:#98b6c3;white-space:nowrap}
#start-panel .launch-step{display:grid;place-items:center;width:26px;height:26px;flex-shrink:0;border-radius:9px;background:#153f50;border:1px solid #39748365;color:#99e2d9;font-size:10px;font-weight:900;direction:ltr}
#start-panel .launch-choices{display:grid;grid-template-columns:1fr 1fr;gap:11px}
#start-panel .launch-choice{display:flex;align-items:center;gap:11px;width:100%;min-width:0;min-height:87px;margin:0;padding:13px;border-radius:17px;background:#102f42;border:1px solid #43697a74;box-shadow:none;transition:background .15s,transform .15s,border-color .15s;color:#e7f6fb;text-align:right}
#start-panel .launch-choice:active{transform:scale(.985);background:#18485b}
#start-panel .launch-choice:focus-visible{outline:2px solid #f8cf87;outline-offset:2px}
#start-panel .launch-choice-icon{display:grid;place-items:center;width:40px;height:42px;flex-shrink:0;border-radius:13px;background:#275164;font-size:22px}
#start-panel .mission-choice-icon{background:#51423b}
#start-panel .launch-choice-body{flex:1;min-width:0;display:block}
#start-panel .launch-choice-body>small{font-size:10px;color:#b5c7d0;display:block;font-weight:400}
#start-panel .launch-choice-body>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;color:#fff;margin:3px 0;line-height:1.4}
#start-panel .launch-choice-body>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:400;color:#aed0d4}
#start-panel .launch-choice-body b{color:#f9cb87}
#start-panel .launch-choice-arrow{font-size:28px;font-weight:300;color:#f2c884;line-height:1;flex-shrink:0}
#start-panel .launch-fleet{min-width:0}
#start-panel .vehicle-grid{display:flex;direction:rtl;gap:10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:3px;padding:3px 2px 12px;margin:0;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#43687b transparent}
#start-panel .vehicle-card{position:relative;display:flex;flex-direction:column;flex:0 0 159px;min-width:0;min-height:151px;gap:3px;padding:11px 12px 12px;text-align:right;scroll-snap-align:start;background:linear-gradient(155deg,#173c50,#112a3c);border:1px solid #4565797f;border-radius:17px;color:#edfaff;box-shadow:none;transform:none;transition:background .14s,border-color .14s;touch-action:pan-x pan-y}
#start-panel .vehicle-card.selected{background:linear-gradient(145deg,#244e5b,#1d3546);border:2px solid #f9ca80;box-shadow:0 0 0 2px #ffce7f11;transform:none;padding:10px 11px 11px}
#start-panel .vehicle-card.selected:after{content:'✓';display:grid;place-items:center;position:absolute;left:9px;top:9px;width:21px;height:21px;background:#ffd49b;color:#213c48;border-radius:50%;font-size:12px;font-weight:900}
#start-panel .vehicle-preview{display:grid;place-items:center;align-self:stretch;height:49px;font-size:37px;line-height:1;background:radial-gradient(ellipse at center,#58829369,transparent 66%);filter:drop-shadow(0 4px 7px #0004)}
#start-panel .vehicle-card[data-vehicle="chevy"] .vehicle-preview{background:radial-gradient(ellipse at center,#b1855a57,transparent 66%)}
#start-panel .vehicle-card[data-vehicle="microbus"] .vehicle-preview{background:radial-gradient(ellipse at center,#799c8c57,transparent 66%)}
#start-panel .vehicle-badge{font-size:9px;color:#ffd59a;border:0;background:transparent;padding:0;align-self:flex-start;line-height:1.5}
#start-panel .vehicle-card strong{font-size:13px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}
#start-panel .vehicle-card small{font-size:10px;color:#9fb9c5;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#start-panel .launch-active-car{display:flex;align-items:center;gap:6px;font-size:10px;color:#b8d0da;padding:3px 2px 0;line-height:1.6}
#start-panel .launch-active-car>span{color:#88e2c2;font-weight:900;font-size:14px}
#start-panel .launch-active-car b{color:#fff2ce;white-space:nowrap;max-width:62%;overflow:hidden;text-overflow:ellipsis}
#start-panel .launch-progress-title{margin-top:18px}
#start-panel .launch-meta-row{display:grid;grid-template-columns:150px 1fr;gap:10px;align-items:stretch}
#start-panel .launch-money,#start-panel .career-box{min-width:0;min-height:76px;padding:11px 13px;border:1px solid #3d627366;border-radius:15px;background:#102e40;margin:0;box-shadow:none}
#start-panel .launch-money span{display:block;font-size:10px;color:#a4c4cb;margin-bottom:7px}
#start-panel .launch-money strong{font-size:24px;color:#ffe0aa;line-height:1;direction:rtl;display:block;font-variant-numeric:tabular-nums}
#start-panel .launch-money small{font-size:11px;color:#f1d8b0}
#start-panel .career-box strong{font-size:12px;color:#f4f9fc;line-height:1.4}
#start-panel .career-box small{font-size:10px;color:#9ebec7;line-height:1.45}
#start-panel .career-progress{height:5px;margin-top:5px}
#start-panel .launch-garage{display:flex;align-items:center;gap:11px;width:100%;margin-top:12px;padding:13px 15px;min-height:62px;border:1px solid #4f889486;border-radius:16px;background:linear-gradient(105deg,#163d4b,#123444);color:#eefbff;text-align:right;font-size:14px;font-weight:700;box-shadow:none}
#start-panel .launch-garage>span:first-child{font-size:23px}
#start-panel .launch-garage>span:nth-child(2){flex:1}
#start-panel .launch-garage small{display:block;color:#9dbdc7;font-size:10px;margin-top:4px;font-weight:400}
#start-panel .launch-help{margin-top:15px;border:1px solid #35566b6c;border-radius:12px;padding:10px 13px;font-size:11px;color:#d8e9ed;background:#0c2a3a}
#start-panel .launch-help summary{cursor:pointer;list-style:none;font-weight:700;min-height:25px;display:flex;align-items:center;justify-content:space-between}
#start-panel .launch-help summary:after{content:'⌄';font-size:21px;color:#f9c988}
#start-panel .launch-help[open] summary:after{transform:rotate(180deg)}
#start-panel .launch-help summary::-webkit-details-marker{display:none}
#start-panel .launch-help>div{line-height:1.9;color:#aec7d3;margin-top:10px}
#start-panel .launch-disclaimer{font-size:10px;line-height:1.65;color:#86a6b7;margin:12px 1px 0}
#start-panel .launch-disclaimer a{color:#b6e8dd}
#start-panel .launch-footer{background:#0a2535;flex-shrink:0;box-shadow:0 -10px 30px rgba(4,18,30,.24);border-top:1px solid #61839635;padding:12px 24px 16px;display:flex;align-items:center;gap:16px;justify-content:space-between}
#start-panel .launch-footer-details{flex:1;min-width:0}
#start-panel .launch-footer-details>span{display:block;color:#a0bfca;font-size:10px;margin-bottom:4px}
#start-panel .launch-footer-details strong{display:block;font-size:12px;color:#f7f9f7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#start-panel .launch-dot{color:#e7b777;margin:0 6px}
#start-panel .launch-start{flex:0 0 225px;display:flex;align-items:center;justify-content:space-between;min-height:52px;margin:0;padding:13px 18px;border-radius:15px;background:linear-gradient(115deg,#ffdca0,#f3ab6d);font-size:16px;box-shadow:0 7px 16px #edab6540;white-space:nowrap}
#start-panel .launch-start-arrow{font-size:23px;line-height:1}
#start-panel .launch-start:active{transform:scale(.985)}
/* Keep route and mission selectors stylistically coherent and touch-friendly. */
#routes-panel .routes-shell,#missions-panel .missions-shell{box-shadow:0 25px 80px #0009;border-color:#a2c4ca4d}
#routes-panel .route-card,#missions-panel .mission-card{transition:transform .12s,background .12s;min-height:85px}
#routes-panel .route-card:active,#missions-panel .mission-card:active{transform:scale(.985)}
@media(max-width:680px){
  #start-panel{padding:0;align-items:stretch;justify-content:stretch;background:#071e2c}
  #start-panel .launch-shell{width:100%;height:100dvh;max-height:none;border:0;border-radius:0}
  #start-panel .launch-topbar{padding:calc(12px + env(safe-area-inset-top)) 18px 12px}
  #start-panel .launch-scroll{padding:14px 17px 19px}
  #start-panel .launch-footer{padding:10px 17px calc(12px + env(safe-area-inset-bottom));gap:9px}
  #start-panel .launch-start{flex-basis:185px;font-size:15px}
  #start-panel .launch-hero{min-height:163px;padding:20px 16px}
  #start-panel .launch-hero-copy{width:79%}
  #start-panel .launch-hero h1{font-size:clamp(24px,6.7vw,32px)}
  #start-panel .launch-hero-art{inset:0 48% 0 0;opacity:.75}
  #start-panel .launch-hero p{max-width:240px}
  #start-panel .launch-choices{grid-template-columns:1fr 1fr;gap:8px}
  #start-panel .launch-choice{min-height:89px;padding:10px 8px;gap:7px}
  #start-panel .launch-choice-icon{width:34px;height:38px;font-size:18px}
  #start-panel .launch-choice-body>strong{font-size:13px}
  #start-panel .launch-choice-body>span{font-size:9px}
  #start-panel .launch-choice-arrow{font-size:22px}
  #start-panel .vehicle-card{flex-basis:144px}
}
@media(max-width:375px){
  #start-panel .launch-scroll{padding:12px 12px 20px}
  #start-panel .launch-footer{padding-right:12px;padding-left:12px}
  #start-panel .launch-hero{min-height:156px}
  #start-panel .launch-hero-copy{width:83%}
  #start-panel .launch-choices{grid-template-columns:1fr}
  #start-panel .launch-choice{min-height:66px;padding:9px 13px}
  #start-panel .launch-footer-details strong{font-size:11px}
  #start-panel .launch-start{flex-basis:155px;font-size:14px;padding-inline:12px}
  #start-panel .launch-meta-row{grid-template-columns:125px 1fr;gap:7px}
}
@media(max-height:650px) and (min-width:681px){#start-panel .launch-shell{height:95dvh}#start-panel .launch-scroll{padding-top:12px}#start-panel .launch-hero{min-height:125px}}
@media(orientation:landscape) and (max-height:540px) and (max-width:680px){#start-panel .launch-topbar{padding-top:8px}#start-panel .launch-scroll{padding-top:6px}#start-panel .launch-hero{min-height:116px}#start-panel .launch-footer{padding-bottom:7px}#start-panel .launch-build-tag{padding:5px 8px}}
@media(prefers-reduced-motion:reduce){#start-panel *,#routes-panel *,#missions-panel *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
