/* Wreckyard v3.1 — phone layout pass, controls hint, explicit car pick, high-contrast touch controls */
.wy-ctl-hint{font:600 11px/1.5 'Segoe UI',system-ui,sans-serif;color:#c9cfb8;margin:8px 0 0;letter-spacing:.02em;max-width:460px}
.wy-ctl-hint b{color:#f0c27a;font-weight:800}
.wy-ctl-hint .touch-only{display:none}
@media (pointer:coarse){.wy-ctl-hint .touch-only{display:inline}.wy-ctl-hint .kb-only{display:none}}
.wy-ctl-hint .c-gas{color:#6fe07a}.wy-ctl-hint .c-brake{color:#ff8a6a}.wy-ctl-hint .c-drift{color:#8cc4ff}
.wy-driving-car{font:700 11px/1.3 'Segoe UI',system-ui,sans-serif;letter-spacing:.12em;color:#f0c27a;margin:10px 0 0;text-transform:uppercase}
.wy-use{margin-top:12px;font-size:11px!important;padding:9px 14px!important;background:#e3a85622!important;border:1px solid #e3a856!important;color:#f3d9a8!important;letter-spacing:.08em;cursor:pointer;pointer-events:auto}
.wy-use.mine{border-color:#7fbf6a!important;color:#a9e39a!important;background:#2f4a2a66!important;cursor:default}
.vt-short{display:none}
@media(max-width:700px){.vt-short{display:inline}}
.wy-build.ver-tag{font:600 10px/1.2 'Segoe UI',system-ui,sans-serif;letter-spacing:.14em;color:#e3b06a;opacity:1;margin:0;text-shadow:none}

/* touch controls: colour-coded, high contrast (v2.5 palette) with a crisp outline for sun glare */
.tbtn{box-shadow:0 3px 0 rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.35);text-shadow:0 1px 2px rgba(0,0,0,.6)}
.tbtn.gas{border-color:#0d3a14}.tbtn.brake{border-color:#4a0f06}.tbtn.drift{border-color:#0c2550}

/* in-game HUD on phones: speed moves to the top-right under the minimap, tip to the top centre */
.wy-touch .wy-telemetry{top:calc(max(8px,env(safe-area-inset-top)) + 140px);right:max(10px,env(safe-area-inset-right));left:auto;bottom:auto;transform:none;padding:4px 9px;border-left:0;border-right:3px solid var(--accent)}
.wy-touch .wy-speed b{font-size:22px}
.wy-touch #wyTip{top:calc(max(8px,env(safe-area-inset-top)) + 104px);bottom:auto;font-size:11px;max-width:min(78vw,320px);white-space:normal;text-align:center;pointer-events:none}
.wy-touch #wyContact{top:30%}

@media(max-width:700px){
  #title .logo{font-size:min(70px,calc((100vw - 52px) / 6.4))!important;white-space:nowrap;max-width:100%}
  #title .tagline{margin-bottom:290px}
  .vt-long{display:none}
  .wy-masthead>.btn{flex:none}
  .wy-car-caption h2{padding-right:120px}
  .wy-use{position:absolute;right:0;top:12px;margin:0}
  .wy-ctl-hint{font-size:10px;text-align:center;max-width:none}
  .wy-driving-car{text-align:center;margin-top:8px}
}
@media(max-width:700px) and (max-height:700px){#title .logo{font-size:min(54px,calc((100vw - 52px) / 6.4))!important}}
/* landscape phones */
@media(max-height:480px){
  .wy-touch .wy-telemetry{top:auto;bottom:calc(max(8px,env(safe-area-inset-bottom)) + 4px);right:auto;left:50%;transform:translateX(-50%)}
  .wy-touch #wyTip{display:none}
  .wy-ctl-hint{display:none}
}
