/* 42.1 Clear Road: HUD declutter (state set on body[data-wchud]) */
.wch-fold{display:none!important}
.wch-chip{pointer-events:auto;display:none;align-items:center;gap:4px;min-height:32px;padding:0 10px;border-radius:999px;border:2px solid #16273b;background:#fff;color:#16273b;font:800 12px "Atkinson Hyperlegible",sans-serif;cursor:pointer;flex:0 0 auto}
.wch-chip b{font-size:11px}
.wch-more{pointer-events:none;padding:8px 10px;font-size:12px;line-height:1.35;border-radius:12px}
/* ---------- compact job pill (driving + on foot, collapsed) ---------- */
body[data-wchud=driving]:not(.wch-x) #hJob,body[data-wchud=onfoot]:not(.wch-x) #hJob{display:flex!important;flex-direction:row;align-items:center;gap:6px;padding:4px 5px 4px 4px!important;min-height:0!important;border-radius:999px!important}
body[data-wchud=driving]:not(.wch-x) #hJob>*:not(#wcObj):not(#wchChip),body[data-wchud=onfoot]:not(.wch-x) #hJob>*:not(#wcObj):not(#wchChip){display:none!important}
body[data-wchud=driving]:not(.wch-x) #wcObj,body[data-wchud=onfoot]:not(.wch-x) #wcObj{margin:0!important;padding:2px 8px 2px 2px!important;gap:6px!important;flex:1 1 auto;min-width:0;border-radius:999px;animation:none!important}
body[data-wchud=driving]:not(.wch-x) #wcObj .wc-arrow,body[data-wchud=onfoot]:not(.wch-x) #wcObj .wc-arrow{width:26px!important;height:26px!important;flex:0 0 26px}
body[data-wchud=driving]:not(.wch-x) #wcObj .wc-arrow svg,body[data-wchud=onfoot]:not(.wch-x) #wcObj .wc-arrow svg{width:26px;height:26px}
body[data-wchud=driving]:not(.wch-x) .wc-obj-txt,body[data-wchud=onfoot]:not(.wch-x) .wc-obj-txt{display:flex!important;align-items:baseline;gap:6px;min-width:0;flex:1 1 auto}
body[data-wchud=driving]:not(.wch-x) #wcObjText,body[data-wchud=onfoot]:not(.wch-x) #wcObjText{font-size:13px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1 1 auto}
body[data-wchud=driving]:not(.wch-x) #wcObjDist,body[data-wchud=onfoot]:not(.wch-x) #wcObjDist{white-space:nowrap;font-weight:800;flex:0 0 auto}
body[data-wchud=driving] .wch-chip,body[data-wchud=onfoot] .wch-chip{display:inline-flex}
body.wch-x #hJob{pointer-events:auto}
/* ---------- driving: only nav pill, minimap, speed, controls ---------- */
body[data-wchud=driving]:not(.wch-x) #hRight,body[data-wchud=onfoot]:not(.wch-x) #hRight,
body[data-wchud=driving]:not(.wch-x) #wcSense,
body[data-wchud=driving]:not(.wch-x) #wcOSBtn,
body[data-wchud=driving] #dotFieldDockV25,
body[data-wchud=driving] #wcScan,body[data-wchud=driving] #wcScanBtn,
body[data-wchud=driving] #wcHose,body[data-wchud=driving] #wcCrank,body[data-wchud=driving] #wcSoak,
body[data-wchud=driving] #dotActionHint,
body[data-wchud=driving] #dlwNearbyV231,
body[data-wchud=driving].wch-fast #pA{display:none!important}
/* mission banners become one compact line while driving */
body[data-wchud=driving] .wch-slot:is(#wcSchool,#wcPRun,#wcUplink,#wcDry,#wcFlood,#wcBudget,#wcHeat,#wcTrace,#wcHold){min-width:0!important;padding:4px 10px!important;font-size:12px!important;border-radius:12px!important;box-sizing:border-box}
body[data-wchud=driving] .wch-slot:is(#wcPRun,#wcUplink,#wcDry,#wcSchool) small,body[data-wchud=driving] #wcTrace svg{display:none!important}
body[data-wchud=driving] #wcHeat.wch-slot{display:flex!important;align-items:center;gap:8px}
body[data-wchud=driving] #wcHeat.wch-slot>div{flex:1}
/* popups: small, brief, out of the road */
.wc-pops.wch-slot{justify-items:start!important;gap:4px!important}
.wch-slot .wc-pop,body[data-wchud] .wc-pops .wc-pop{animation:wchPop 1.4s ease forwards!important}
body[data-wchud=driving] .wc-pops .wc-pop,body[data-wchud=onfoot] .wc-pops .wc-pop{font-size:13px!important;padding:4px 10px!important;transform:none}
body[data-wchud=driving] .wc-pops .wc-pop b,body[data-wchud=onfoot] .wc-pops .wc-pop b{font-size:15px!important}
body[data-wchud=driving] #toast.wch-slot,body[data-wchud=onfoot] #toast.wch-slot{width:auto!important;justify-items:start!important;gap:2px!important;animation:wchPop 1.4s ease forwards}
body[data-wchud=driving] #toast.wch-slot *,body[data-wchud=onfoot] #toast.wch-slot *{font-size:14px!important;line-height:1.15!important;padding:0!important;margin:0!important}
body[data-wchud=driving] #banner.wch-slot,body[data-wchud=onfoot] #banner.wch-slot{font-size:12px!important;padding:5px 10px!important;text-align:left}
@keyframes wchPop{0%{opacity:0;transform:translateY(-4px)}12%{opacity:1;transform:none}80%{opacity:1}100%{opacity:0}}
/* ---------- on foot: compact garden dock ---------- */
body[data-wchud=onfoot] #dotFieldDockV25.wch-slot{padding:7px 9px!important;max-height:none!important;overflow:visible!important;border-radius:14px!important;box-sizing:border-box}
body[data-wchud=onfoot] #dotFieldDockV25 #df25Objective{font-size:13px!important;margin:4px 0!important}
body[data-wchud=onfoot] #dotFieldDockV25 .df25-action-row{gap:6px!important}
body[data-wchud=onfoot] #dotFieldDockV25 .df25-action-row button{font-size:12px!important;min-height:38px!important;padding:5px 9px!important}
body[data-wchud=onfoot] #dotFieldDockV25 .df25-message{font-size:11px!important;margin:3px 0!important}
body[data-wchud=onfoot] #dotFieldDockV25 .df25-message:empty{display:none}
body[data-wchud=onfoot] #dotFieldDockV25 details summary{font-size:11px}
body[data-wchud=onfoot] #wcScan.wch-slot{padding:6px 10px!important;box-sizing:border-box}
body[data-wchud=onfoot] .wch-slot:is(#wcSense,#wcOSBtn){width:auto!important}
/* minigame / cinematic: the world HUD steps back */
body[data-wchud=cinematic] #hud>*:not(#count),body[data-wchud=cinematic] #pad,body[data-wchud=cinematic] #dotFieldDockV25{visibility:hidden!important}
body[data-wchud=minigame] #dotFieldDockV25,body[data-wchud=minigame] .wc-pops{visibility:hidden!important}
/* Core Sync: key letters only on keyboards */
.cs-lanes button kbd{font:inherit}
.cs-lanes button .cs-dot{display:none;width:18px;height:18px;border-radius:50%;background:currentColor;opacity:.85}
@media (hover:none),(pointer:coarse){.cs-lanes button kbd{display:none}.cs-lanes button .cs-dot{display:inline-block}}

.wch-dest{display:none}
body[data-wchud=driving]:not(.wch-x) #wcObjText,body[data-wchud=onfoot]:not(.wch-x) #wcObjText{display:none!important}
body[data-wchud=driving]:not(.wch-x) .wch-dest,body[data-wchud=onfoot]:not(.wch-x) .wch-dest{display:block;font-size:14px;line-height:1.2;color:var(--wc-ink,#16273b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1 1 auto}
body[data-wchud=onfoot]:not(.wch-x) .wch-dest{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px}
body[data-wchud=onfoot]:not(.wch-x) #hJob{border-radius:18px!important}
#wchChip{order:2}
