/* ZION-030 OPEN CITY v28 · Immersive 3D game mode, not a static render. */
#world-play .stage{isolation:isolate}
#world-play .oc-entry{position:absolute;z-index:15;top:66px;left:14px;border:1px solid #92e9ff;background:linear-gradient(112deg,#0b6d81,#0a3648);color:#f4feff;padding:13px 20px;font:900 13px/1.25 system-ui,-apple-system,sans-serif;letter-spacing:.055em;border-radius:12px;box-shadow:0 0 0 4px #042a3b77,0 10px 32px #0008,0 0 27px #19b3bd55;cursor:pointer;transition:transform .2s,filter .2s}
#world-play .oc-entry:hover{transform:translateY(-2px);filter:brightness(1.16)}
#world-play .oc-entry:focus-visible{outline:3px solid white;outline-offset:3px}
#world-play .oc-entry:disabled{opacity:.72;cursor:not-allowed}
.oc-stage-active{position:fixed!important;inset:0!important;z-index:99999!important;width:100vw!important;height:100dvh!important;max-width:none!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;background:#041321!important;isolation:isolate!important}
body.oc-body-active{overflow:hidden!important}
.oc-stage-active>:not(.oc-shell):not(.oc-entry){visibility:hidden!important;pointer-events:none!important}
.oc-stage-active>.oc-entry{position:fixed!important;z-index:100000!important;top:auto!important;left:auto!important;right:20px!important;bottom:22px!important;background:#061e30f5!important;border-color:#558da5!important;font-size:11px!important;padding:10px 14px!important;opacity:0;pointer-events:none}
.oc-shell,.oc-shell *{box-sizing:border-box}
.oc-shell[hidden],.oc-shell [hidden]{display:none!important}
.oc-shell{position:absolute;z-index:80;inset:0;overflow:hidden;color:#f2faff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;background:#071725;--oc-aqua:#64eddf;--oc-cyan:#46d6ef;--oc-orange:#ff985a;--oc-ink:#0a1e2c;--oc-border:#5481987a;letter-spacing:0}
.oc-shell .oc-viewport{position:absolute;inset:0;overflow:hidden;touch-action:none;cursor:grab;background:radial-gradient(ellipse at 50% 25%,#34526e,#0a182a 70%)}
.oc-shell .oc-viewport:active{cursor:grabbing}
.oc-shell .oc-render{display:block;width:100%;height:100%;object-fit:cover;touch-action:none}
.oc-shell .oc-grain,.oc-shell .oc-vignette{pointer-events:none;position:absolute;inset:0;z-index:2}
.oc-shell .oc-grain{opacity:.19;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.48' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.19'/%3E%3C/svg%3E");background-size:180px}
.oc-shell .oc-vignette{background:linear-gradient(180deg,#010c1ac4,transparent 20%,transparent 74%,#01111dbf),radial-gradient(ellipse at 50% 50%,transparent 34%,#010b18a6 100%)}
.oc-shell .oc-crosshair{position:absolute;z-index:3;top:50%;left:50%;width:11px;height:11px;border:1px solid #e8ffff75;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}
.oc-shell .oc-crosshair i{display:block;position:absolute;inset:4px;background:#ecffffc7;border-radius:50%;box-shadow:0 0 10px #d6fdff}
.oc-shell .oc-header{position:absolute;z-index:12;top:0;left:0;right:0;padding:clamp(13px,2vw,25px) clamp(16px,2.4vw,42px);display:flex;align-items:flex-start;justify-content:space-between;gap:20px;pointer-events:none}
.oc-shell .oc-brand{display:flex;align-items:center;gap:14px;filter:drop-shadow(0 2px 7px #0009)}
.oc-shell .oc-diamond{width:46px;height:46px;display:grid;place-items:center;background:#0c5160aa;border:1px solid #60e6f080;border-radius:12px;font-size:27px;color:#74fff1;box-shadow:0 0 25px #02f0d420}
.oc-shell .oc-brand strong{display:block;font-size:clamp(17px,1.55vw,25px);letter-spacing:.08em;font-weight:950;line-height:1.2}
.oc-shell .oc-brand small{display:block;margin-top:5px;color:#b1cddd;font-size:10px;font-weight:850;letter-spacing:.19em}
.oc-shell .oc-top-right{display:flex;gap:13px;align-items:center;pointer-events:auto}
.oc-shell .oc-live{background:#071f2bd7;padding:11px 16px;border-radius:10px;border:1px solid #397a86;font-size:11px;font-weight:900;letter-spacing:.13em;white-space:nowrap}
.oc-shell .oc-live b{display:inline-block;width:8px;height:8px;border-radius:50%;background:#6fffc7;margin-right:7px;box-shadow:0 0 8px #69f7ce}
.oc-shell button{font-family:inherit;touch-action:manipulation;cursor:pointer}
.oc-shell button:focus-visible{outline:3px solid #fff!important;outline-offset:3px}
.oc-shell .oc-glass{background:#092333e8;border:1px solid #4a8195;color:#effdff;border-radius:9px;padding:11px 16px;font-size:12px;font-weight:900;letter-spacing:.04em}
.oc-shell .oc-glass:hover{background:#185064}
.oc-shell .oc-objective{position:absolute;z-index:9;top:115px;left:clamp(16px,2.4vw,42px);width:min(348px,28vw);border:1px solid #699caa80;border-radius:14px;padding:20px 20px 15px;background:linear-gradient(153deg,#062637e8,#04121ecf);box-shadow:0 20px 55px #0006,0 0 50px #0f90991d;backdrop-filter:blur(15px)}
.oc-shell .oc-eyebrow{font-size:11px;color:#59ecdf;font-weight:900;letter-spacing:.14em;line-height:1.45}
.oc-shell .oc-objective>strong{display:block;font-size:clamp(20px,2vw,27px);line-height:1.13;letter-spacing:-.025em;margin:10px 0 7px;font-weight:950}
.oc-shell .oc-objective p{font-size:13px;color:#c1dbe8;line-height:1.55;margin:0 0 19px}
.oc-shell .oc-progress{height:7px;border-radius:6px;overflow:hidden;background:#082538;border:1px solid #3b6b79}
.oc-shell .oc-progress>span{display:block;width:0;height:100%;border-radius:6px;background:linear-gradient(90deg,#18b3c7,#80f5bc);box-shadow:0 0 12px #45ffd9;transition:width .42s ease}
.oc-shell .oc-progress-label{display:flex;justify-content:space-between;gap:8px;margin-top:12px;color:#c9f9ff;font-size:11px;letter-spacing:.045em;font-weight:950}
.oc-shell .oc-progress-label span:last-child{color:#9bb7c5}
.oc-shell .oc-right-hud{position:absolute;z-index:9;right:clamp(16px,2.4vw,42px);top:115px;width:205px;display:flex;flex-direction:column;gap:12px}
.oc-shell .oc-map-frame{padding:12px 12px 10px;border:1px solid #5888988c;border-radius:14px;background:linear-gradient(150deg,#092438ef,#061722d9);box-shadow:0 14px 43px #0007}
.oc-shell .oc-map-frame canvas{width:100%;height:auto;display:block;aspect-ratio:1;background:#0b2a3b;border:1px solid #396779;border-radius:7px}
.oc-shell .oc-map-frame>span{display:block;text-align:center;font-size:10px;color:#b7d6e3;font-weight:900;letter-spacing:.075em;margin-top:9px}
.oc-shell .oc-weather{display:flex;align-items:center;gap:6px;padding:11px 12px;border-radius:11px;border:1px solid #375e78;background:#071c2bdc;color:#f6ae78}
.oc-shell .oc-weather strong{font-size:19px}.oc-shell .oc-weather small{margin-left:auto;color:#b4c8d1;font-size:9px;font-weight:850;letter-spacing:.04em}
.oc-shell .oc-location{position:absolute;z-index:9;bottom:125px;left:clamp(16px,2.4vw,42px);display:flex;align-items:center;gap:12px;background:#041c2beb;border:1px solid #3f8393a8;border-radius:12px;padding:12px 18px;box-shadow:0 12px 29px #0008;min-width:258px}
.oc-shell .oc-target-icon{font-size:34px;color:#ff9e67;line-height:1}
.oc-shell .oc-location small{display:block;color:#96c1ce;font-size:10px;font-weight:900;letter-spacing:.14em}
.oc-shell .oc-location strong{display:block;font-size:16px;letter-spacing:.02em;margin:4px 0 2px;font-weight:950}
.oc-shell .oc-location em{display:block;color:#ffb689;font-size:11px;font-weight:850;font-style:normal}
.oc-shell .oc-toolbar{position:absolute;z-index:10;left:50%;transform:translateX(-50%);bottom:32px;display:flex;align-items:stretch;gap:6px;border-radius:14px;background:#051a28e8;border:1px solid #51839391;padding:7px;box-shadow:0 15px 34px #000a;backdrop-filter:blur(11px)}
.oc-shell .oc-toolbar button{display:flex;align-items:center;gap:10px;color:#b9d1d9;background:transparent;border:1px solid transparent;border-radius:10px;padding:12px 16px;font-size:21px;white-space:nowrap;transition:background .18s,border-color .18s}
.oc-shell .oc-toolbar button:hover{background:#163e4b}
.oc-shell .oc-toolbar button[aria-pressed="true"]{color:#efffff;border-color:#53dacb;background:linear-gradient(155deg,#136377,#0b3c4a);box-shadow:inset 0 0 12px #52f5e21f}
.oc-shell .oc-toolbar button>span{color:#8ab7c5;display:grid;place-items:center;border:1px solid #508296;border-radius:5px;font-size:10px;font-weight:950;width:20px;height:20px}
.oc-shell .oc-toolbar button>b{font-size:11px;letter-spacing:.05em;font-weight:950}
.oc-shell .oc-interact{position:absolute;z-index:10;bottom:115px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:13px;background:#062c33f2;border:1px solid #5dedd9;border-radius:12px;padding:11px 21px;color:#f2ffff;font-size:12px;font-weight:950;white-space:nowrap;box-shadow:0 0 25px #31ddba42}
.oc-shell kbd{font-family:inherit;color:#fff;background:#1b4f62;border:1px solid #6fadb8;border-bottom-width:3px;border-radius:6px;padding:5px 8px;font-size:11px;font-weight:950}
.oc-shell .oc-interact kbd{font-size:17px;padding:7px 13px;background:#247a70}
.oc-shell .oc-controls{position:absolute;z-index:8;right:clamp(16px,2.4vw,42px);bottom:33px;display:flex;flex-direction:column;gap:7px;color:#bed0d9;font-size:10px;font-weight:850}
.oc-shell .oc-controls>span{display:flex;align-items:center;gap:7px}
.oc-shell .oc-controls kbd{font-size:9px;padding:3px 6px;min-width:46px;text-align:center}
.oc-shell .oc-world-message{position:absolute;z-index:11;top:27%;left:50%;transform:translate(-50%,-12px);background:#063b3ff4;border:1px solid #6afbd0;border-radius:10px;padding:15px 25px;color:#eafff6;font-size:clamp(13px,1.5vw,19px);font-weight:950;text-align:center;opacity:0;transition:opacity .25s,transform .25s;pointer-events:none;white-space:nowrap}
.oc-shell .oc-world-message.oc-visible{opacity:1;transform:translate(-50%,0)}
.oc-shell .oc-start,.oc-shell .oc-complete{position:absolute;z-index:30;inset:0;display:grid;place-items:center;padding:25px;background:radial-gradient(ellipse at 60% 50%,#052a3e8c,transparent 67%),#010916b9;backdrop-filter:blur(9px)}
.oc-shell .oc-start-panel,.oc-shell .oc-complete>div{width:min(590px,100%);max-height:95%;overflow:auto;border-radius:22px;padding:clamp(24px,3vw,47px);background:linear-gradient(155deg,#12344af2,#051827f4 73%);border:1px solid #6dc8d79c;box-shadow:0 26px 90px #000b,0 0 80px #00b9db1c}
.oc-shell .oc-start h2,.oc-shell .oc-complete h2{font-weight:1000;font-size:clamp(49px,5vw,82px);line-height:.99;letter-spacing:-.065em;margin:23px 0 16px!important;color:#effaff;text-shadow:0 4px 25px #0008}
.oc-shell .oc-start h2 em,.oc-shell .oc-complete h2 em{font-style:normal;background:linear-gradient(110deg,#4bdeeb,#a4ffd0);-webkit-background-clip:text;background-clip:text;color:transparent}
.oc-shell .oc-start p,.oc-shell .oc-complete p{color:#c4dce4;max-width:460px;font-size:15px;line-height:1.65;margin:0 0 22px}
.oc-shell .oc-start-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 24px}
.oc-shell .oc-start-grid>span{color:#5cddde;border-radius:11px;padding:13px 10px;border:1px solid #3b7380;background:#0b33418c;font-size:23px;line-height:1.1}
.oc-shell .oc-start-grid b{display:block;color:#e8fbff;font-size:10px;line-height:1.35;margin-top:10px;letter-spacing:.05em}
.oc-shell .oc-start-grid small{display:block;color:#9dc5d1;font-size:10px;line-height:1.4;margin-top:4px}
.oc-shell #oc-start-play,.oc-shell .oc-complete button{display:flex;justify-content:space-between;align-items:center;gap:30px;width:100%;border:1px solid #a7ffee;border-radius:12px;padding:18px 22px;background:linear-gradient(110deg,#159ea1,#0c6477);color:white;font-size:15px;font-weight:950;letter-spacing:.055em;box-shadow:0 7px 30px #00cbb83f}
.oc-shell #oc-start-play:hover,.oc-shell .oc-complete button:hover{filter:brightness(1.13)}
.oc-shell #oc-start-play span{font-size:26px}
.oc-shell .oc-start-foot{display:block;margin-top:15px;color:#8bb5bf;font-size:11px;line-height:1.6}
.oc-shell .oc-complete button{margin-top:9px;justify-content:center}
.oc-shell .oc-complete button+button{background:#0b293c;border-color:#547f91;box-shadow:none}
.oc-shell .oc-joystick{display:none}
.oc-shell .oc-action{display:none}
@media(max-width:1100px){
  .oc-shell .oc-objective{width:min(285px,31vw);padding:15px}
  .oc-shell .oc-objective p{font-size:12px}
  .oc-shell .oc-right-hud{width:156px}
  .oc-shell .oc-weather{flex-wrap:wrap;font-size:12px}
  .oc-shell .oc-weather strong{font-size:16px}
  .oc-shell .oc-weather small{font-size:8px}
  .oc-shell .oc-controls{display:none}
  .oc-shell .oc-toolbar{bottom:16px}
  .oc-shell .oc-location{bottom:106px}
}
@media(max-width:760px){
  #world-play .oc-entry{font-size:13px;top:65px;left:12px;padding:11px 14px;right:auto;max-width:calc(100% - 22px)}
  .oc-shell .oc-header{padding:11px 12px}
  .oc-shell .oc-diamond{width:35px;height:35px;font-size:21px;border-radius:9px}
  .oc-shell .oc-brand{gap:7px}
  .oc-shell .oc-brand strong{font-size:12px;letter-spacing:.04em}
  .oc-shell .oc-brand small{font-size:8px;margin-top:2px;letter-spacing:.065em}
  .oc-shell .oc-live{display:none}
  .oc-shell .oc-glass{padding:9px 9px;font-size:12px}
  .oc-shell .oc-glass span{display:none}
  .oc-shell .oc-objective{top:58px;left:9px;width:204px;padding:10px 12px;border-radius:10px}
  .oc-shell .oc-objective .oc-eyebrow{font-size:8px;letter-spacing:.05em}
  .oc-shell .oc-objective>strong{font-size:14px;line-height:1.1;margin:5px 0 8px}
  .oc-shell .oc-objective p{display:none}
  .oc-shell .oc-progress{height:5px}
  .oc-shell .oc-progress-label{font-size:9px;margin-top:6px}
  .oc-shell .oc-right-hud{top:60px;right:8px;width:108px;gap:3px}
  .oc-shell .oc-map-frame{padding:5px;border-radius:8px}
  .oc-shell .oc-map-frame>span{font-size:6px;margin-top:4px;letter-spacing:0}
  .oc-shell .oc-weather{font-size:10px;padding:5px;gap:4px}
  .oc-shell .oc-weather strong{font-size:14px}
  .oc-shell .oc-weather small{font-size:7px}
  .oc-shell .oc-crosshair{display:none}
  .oc-shell .oc-location{bottom:174px;left:10px;min-width:0;width:min(205px,57vw);padding:8px 10px;gap:7px}
  .oc-shell .oc-target-icon{font-size:21px}
  .oc-shell .oc-location small{font-size:8px}
  .oc-shell .oc-location strong{font-size:12px;margin:2px 0}
  .oc-shell .oc-location em{font-size:9px}
  .oc-shell .oc-toolbar{bottom:max(9px,env(safe-area-inset-bottom));gap:3px;padding:4px;max-width:calc(100vw - 22px)}
  .oc-shell .oc-toolbar button{padding:10px 7px;gap:5px;font-size:17px}
  .oc-shell .oc-toolbar button b{font-size:9px}
  .oc-shell .oc-toolbar button>span{display:none}
  .oc-shell .oc-interact{bottom:155px;left:auto;right:12px;transform:none;max-width:45vw;white-space:normal;padding:7px 10px;font-size:10px;gap:6px}
  .oc-shell .oc-interact kbd{display:none}
  .oc-shell .oc-joystick{position:absolute;bottom:72px;left:25px;z-index:17;display:block;width:116px;height:116px;border:2px solid #6fdce387;border-radius:50%;background:radial-gradient(circle,#32c0cc3d,#11314696 76%);touch-action:none;box-shadow:0 0 28px #0dd8d32a}
  .oc-shell .oc-joystick:before,.oc-shell .oc-joystick:after{position:absolute;content:"";background:#a8f5eb55;pointer-events:none}
  .oc-shell .oc-joystick:before{width:1px;height:65%;top:17%;left:50%}
  .oc-shell .oc-joystick:after{height:1px;width:65%;left:17%;top:50%}
  .oc-shell .oc-joystick>div{position:absolute;z-index:3;left:calc(50% - 23px);top:calc(50% - 23px);width:46px;height:46px;border-radius:50%;border:2px solid #c3fffb;background:linear-gradient(#33a2b0,#125566);box-shadow:0 4px 20px #0009}
  .oc-shell .oc-action:not([hidden]){display:block;position:absolute;z-index:17;bottom:90px;right:24px;width:118px;height:62px;border-radius:15px;border:1px solid #99ffde;background:linear-gradient(130deg,#0da591,#08787a);color:white;font-size:13px;font-weight:950;box-shadow:0 0 27px #09e0ae58}
  .oc-shell .oc-start,.oc-shell .oc-complete{padding:10px}
  .oc-shell .oc-start-panel,.oc-shell .oc-complete>div{padding:24px 18px;border-radius:16px}
  .oc-shell .oc-start h2,.oc-shell .oc-complete h2{font-size:clamp(37px,11vw,58px);margin:14px 0!important}
  .oc-shell .oc-start p,.oc-shell .oc-complete p{font-size:13px;margin-bottom:16px}
  .oc-shell .oc-start-grid{gap:5px;margin-bottom:16px}
  .oc-shell .oc-start-grid>span{padding:10px 6px;font-size:18px}
  .oc-shell .oc-start-grid b{font-size:9px;margin-top:6px}
  .oc-shell .oc-start-grid small{font-size:8px}
  .oc-shell #oc-start-play,.oc-shell .oc-complete button{padding:14px;font-size:12px}
  .oc-shell .oc-world-message{top:27%;font-size:11px;padding:12px;width:max-content;max-width:calc(100vw - 35px);white-space:normal}
}
@media(max-height:640px) and (min-width:761px){
  .oc-shell .oc-objective{top:90px;padding:10px 14px}
  .oc-shell .oc-objective p{display:none}
  .oc-shell .oc-right-hud{top:85px;width:150px}
  .oc-shell .oc-location{bottom:88px}
  .oc-shell .oc-toolbar{bottom:15px}
}
@media(prefers-reduced-motion:reduce){.oc-shell *,#world-play .oc-entry{transition:none!important;animation:none!important}.oc-shell .oc-grain{display:none}}

/* ZION-030 v28 · playable open-world HUD and polished traffic interface. */
.oc-shell .oc-contract{position:absolute;z-index:9;top:344px;left:clamp(16px,2.4vw,42px);width:min(348px,28vw);padding:16px 18px 15px;border:1px solid #4d8998ab;border-radius:13px;background:linear-gradient(150deg,#052b38e8,#041724da);backdrop-filter:blur(15px);box-shadow:0 12px 38px #0008}
.oc-shell .oc-contract-head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:9px;font-size:10px;font-weight:950;letter-spacing:.12em;color:#69deec}
.oc-shell .oc-contract-head strong{border:1px solid #4397a6;background:#0b5268;padding:4px 7px;border-radius:6px;color:#f6ffff;font-size:11px}
.oc-shell .oc-contract>strong{display:block;color:#f2fdff;font-size:clamp(15px,1.3vw,19px);font-weight:950;line-height:1.27;margin:3px 0 8px}
.oc-shell .oc-contract>p{margin:0 0 12px;color:#a8ced9;font-size:12px;line-height:1.5}
.oc-shell .oc-contract-stats{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:11px}
.oc-shell .oc-contract-stats>span{font-size:10px;font-weight:850;letter-spacing:.035em;color:#e1c394;background:#0d2a3b;border-radius:7px;padding:6px 7px}
.oc-shell .oc-contract-stats b{font-size:12px;color:#fff}
.oc-shell #oc-upgrade{display:block;width:100%;min-height:35px;border:1px solid #58b6a8;background:linear-gradient(100deg,#115d67,#0e3f51);color:#eafff9;border-radius:8px;padding:8px 10px;font-size:10px;letter-spacing:.025em;font-weight:950}
.oc-shell #oc-upgrade:disabled{background:#102837;border-color:#376373;color:#8fb6c1;cursor:not-allowed}
.oc-shell .oc-status-bar{position:absolute;z-index:11;top:clamp(82px,8.4vh,105px);left:50%;transform:translateX(-50%);display:flex;gap:6px;padding:5px;border:1px solid #54869b9e;border-radius:11px;background:#061b2ae7;backdrop-filter:blur(16px);box-shadow:0 13px 32px #0006}
.oc-shell .oc-status-bar button{border:1px solid transparent;background:#12354695;color:#d2edf4;padding:9px 12px;border-radius:8px;font-weight:950;font-size:10px;letter-spacing:.07em;white-space:nowrap;min-width:76px}
.oc-shell .oc-status-bar button[aria-pressed="true"]{background:#15617c;color:white;border-color:#5ad8e3}
.oc-shell .oc-status-bar button:hover{background:#176276}
.oc-shell .oc-drive-hud{position:absolute;z-index:10;left:50%;transform:translateX(-50%);bottom:125px;padding:11px 22px 10px;border:1px solid #f6c77c9a;border-radius:13px;background:linear-gradient(140deg,#0d2435ea,#122936e6);text-align:center;min-width:258px;box-shadow:0 18px 40px #0009}
.oc-shell .oc-drive-hud>span{font-size:10px;letter-spacing:.1em;font-weight:950;color:#b5d6e3}
.oc-shell .oc-drive-hud>strong{display:block;color:#fff3c8;font-size:37px;font-weight:950;line-height:1.1;letter-spacing:-.04em;margin:4px 0}
.oc-shell .oc-drive-hud strong small{font-size:13px;letter-spacing:0;color:#b8ccd5}
.oc-shell .oc-charge{font-size:11px;color:#52e2cc;font-weight:950;letter-spacing:.06em}
.oc-shell .oc-charge b{font-size:9px;color:#9abfc9;margin-left:7px}
.oc-shell .oc-drive-hud>small{display:block;color:#acccd6;font-size:9px;margin-top:5px;font-weight:700}
.oc-shell .oc-drive-action{display:none}
@media(max-height:850px) and (min-width:761px){
  .oc-shell .oc-contract{top:300px;padding:11px 14px 10px}
  .oc-shell .oc-contract>p{display:none}
  .oc-shell .oc-contract-head{margin-bottom:6px}
  .oc-shell .oc-contract-stats{margin-bottom:6px}
  .oc-shell .oc-objective{padding:14px 16px 12px}
  .oc-shell .oc-objective p{margin-bottom:11px}
}
@media(max-width:1100px){
  .oc-shell .oc-contract{width:min(285px,31vw);top:330px}
  .oc-shell .oc-contract>strong{font-size:15px}
  .oc-shell .oc-contract>p{font-size:11px}
  .oc-shell .oc-contract-stats span{font-size:9px}
  .oc-shell .oc-status-bar{top:88px}
}
@media(max-width:760px){
  .oc-shell .oc-contract{top:169px;left:9px;width:min(204px,56vw);padding:8px 9px;border-radius:9px}
  .oc-shell .oc-contract-head{font-size:8px;letter-spacing:.03em;margin-bottom:5px}
  .oc-shell .oc-contract-head strong{font-size:9px;padding:2px 4px}
  .oc-shell .oc-contract>strong{font-size:12px;line-height:1.15;margin:3px 0 5px}
  .oc-shell .oc-contract>p{display:none}
  .oc-shell .oc-contract-stats{margin-bottom:5px;gap:3px}
  .oc-shell .oc-contract-stats>span{padding:3px 4px;font-size:8px}
  .oc-shell .oc-contract-stats b{font-size:9px}
  .oc-shell #oc-upgrade{min-height:28px;padding:5px 4px;font-size:8px}
  .oc-shell .oc-status-bar{top:auto;bottom:clamp(250px,34vh,290px);left:auto;transform:none;right:8px;gap:3px;padding:3px;flex-wrap:wrap;max-width:142px;justify-content:flex-end}
  .oc-shell .oc-status-bar button{min-width:0;padding:7px 8px;font-size:8px}
  .oc-shell .oc-drive-hud{bottom:165px;left:50%;width:155px;min-width:0;padding:7px 5px;border-radius:9px}
  .oc-shell .oc-drive-hud>span{font-size:8px}
  .oc-shell .oc-drive-hud>strong{font-size:25px;margin:2px 0}
  .oc-shell .oc-charge{font-size:8px}
  .oc-shell .oc-charge b,.oc-shell .oc-drive-hud>small{display:none}
  .oc-shell .oc-drive-action:not([hidden]){display:block;position:absolute;z-index:17;right:17px;bottom:92px;min-height:61px;width:120px;border:1px solid #ffe4a4;border-radius:13px;background:linear-gradient(120deg,#1a616e,#124258);font-size:12px;font-weight:950;color:#fff;box-shadow:0 0 21px #32c5df38}
  .oc-shell .oc-joystick{bottom:72px}
  .oc-shell .oc-location{bottom:177px}
}
@media(max-width:370px){
  .oc-shell .oc-contract{width:calc(100vw - 145px)}
  .oc-shell .oc-contract-stats>span:last-child{display:none}
  .oc-shell .oc-objective{width:calc(100vw - 145px)}
}
@media(prefers-reduced-motion:reduce){.oc-shell .oc-drive-hud,.oc-shell .oc-status-bar,.oc-shell .oc-contract{transition:none!important}}
.oc-shell #oc-nav-mode{display:block;width:100%;margin-top:6px;min-height:30px;background:#113a50;border:1px solid #4d96a2;border-radius:8px;color:#a8eff6;font-size:10px;font-weight:950;letter-spacing:.07em}
.oc-shell #oc-nav-mode:hover{background:#19556b;color:white}
@media(max-width:760px){.oc-shell #oc-nav-mode{font-size:9px;min-height:26px;margin-top:4px}}

/* Fast and legible UI on devices using reduced-motion mode or software rendering. */
@media(prefers-reduced-motion:reduce){.oc-shell .oc-objective,.oc-shell .oc-contract,.oc-shell .oc-status-bar,.oc-shell .oc-toolbar,.oc-shell .oc-start,.oc-shell .oc-complete{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.oc-shell .oc-grain{display:none!important}}
/* v29 | Cinematic City: story, input, advanced urban HUD. */
.oc-shell .oc-journal-trigger,.oc-shell .oc-pause-trigger{
  position:absolute;z-index:17;top:24px;right:255px;border:1px solid #67b8c0aa;
  background:linear-gradient(135deg,#072a3aee,#0b4354ed);color:#e9feff;border-radius:10px;
  min-height:43px;padding:8px 15px;font-size:12px;letter-spacing:.035em;font-weight:900;
  box-shadow:0 10px 24px #0007;white-space:nowrap;
}
.oc-shell .oc-journal-trigger kbd{margin-left:8px;padding:3px 6px;font-size:10px}
.oc-shell .oc-pause-trigger{right:423px}
.oc-shell .oc-journal-trigger:hover,.oc-shell .oc-pause-trigger:hover{background:#186178}
.oc-shell .oc-chapter{position:absolute;z-index:10;top:79px;left:clamp(16px,2.4vw,42px);pointer-events:none;text-shadow:0 2px 10px #000}
.oc-shell .oc-chapter small{display:block;color:#65f0e5;font-size:9px;font-weight:950;letter-spacing:.2em}
.oc-shell .oc-chapter strong{display:block;margin-top:2px;color:#e7ffff;font-size:12px;font-weight:950;letter-spacing:.08em}
.oc-shell .oc-career{position:absolute;z-index:10;left:clamp(16px,2.4vw,42px);bottom:235px;
  width:210px;padding:10px 13px;border:1px solid #437e91;border-radius:10px;
  background:linear-gradient(150deg,#061c2be8,#0b3541ed);pointer-events:none}
.oc-shell .oc-career>span{display:flex;justify-content:space-between;gap:8px;font-size:10px;font-weight:900;color:#c1e8ed;letter-spacing:.08em}
.oc-shell .oc-career b{font-size:12px;color:#f8ffec}
.oc-shell .oc-meter{height:6px;border-radius:5px;background:#071d2b;overflow:hidden;margin:7px 0 9px;border:1px solid #316277}
.oc-shell .oc-meter>i{height:100%;display:block;width:100%;background:linear-gradient(90deg,#25abc5,#86f5c3);transition:width .15s ease}
.oc-shell .oc-radio{position:absolute;z-index:16;left:50%;bottom:210px;transform:translate(-50%,7px);min-width:240px;max-width:480px;
  border:1px solid #71d6e29c;border-radius:10px;padding:10px 15px;background:#061f30ed;box-shadow:0 13px 40px #000a;
  opacity:0;pointer-events:none;transition:opacity .25s,transform .25s}
.oc-shell .oc-radio-active{opacity:1;transform:translate(-50%,0)}
.oc-shell .oc-radio>span{display:block;font-size:10px;color:#76eddd;letter-spacing:.14em;font-weight:950;margin-bottom:4px}
.oc-shell .oc-radio>p{margin:0;color:#eaffff;font-size:14px;line-height:1.42;font-weight:850}
.oc-shell .oc-vehicle-charge{position:absolute;z-index:10;right:clamp(16px,2.4vw,42px);bottom:135px;width:145px;
  background:#071e2de8;border:1px solid #4cb8a6b3;border-radius:10px;padding:10px 12px}
.oc-shell .oc-vehicle-charge>span{color:#7debd3;font-size:10px;font-weight:900}
.oc-shell .oc-vehicle-charge strong{float:right;color:#f8fdff;font-size:15px}
.oc-shell .oc-vehicle-charge .oc-meter{clear:both;margin:8px 0 0}
.oc-shell .oc-journal,.oc-shell .oc-pause{position:absolute;z-index:60;inset:0;display:grid;place-items:center;overflow:auto;
  background:#010b14e9;backdrop-filter:blur(12px);padding:32px max(18px,env(safe-area-inset-left));color:#f4fdff}
.oc-shell .oc-modal-card{width:min(930px,100%);max-height:min(900px,calc(100dvh - 40px));overflow:auto;
  background:linear-gradient(155deg,#0c293b,#061421);border:1px solid #6597a6;border-radius:19px;padding:clamp(18px,3vw,36px);box-shadow:0 32px 110px #000b}
.oc-shell .oc-modal-card>header{display:flex;gap:12px;justify-content:space-between;align-items:center}
.oc-shell .oc-modal-card h2{margin:5px 0;font-size:clamp(22px,3.3vw,36px);letter-spacing:.035em}
.oc-shell .oc-modal-card header small,.oc-shell .oc-pause-card>small:first-child{font-size:11px;font-weight:950;color:#80ebdf;letter-spacing:.17em}
.oc-shell .oc-modal-card header button{height:41px;width:44px;flex:none;border-radius:10px;background:#133e52;border:1px solid #5599a8;color:#fff;font-size:18px}
.oc-shell .oc-modal-sub{font-size:14px;line-height:1.55;color:#bfd5df;margin:13px 0 20px}
.oc-shell .oc-journal-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.oc-shell .oc-quest-row{display:grid;grid-template-columns:1fr auto;column-gap:12px;row-gap:7px;text-align:left;min-height:95px;
  padding:16px;border:1px solid #3a7489;border-radius:11px;background:linear-gradient(145deg,#0b3143,#082335);color:#ebfbff}
.oc-shell .oc-quest-row strong{font-size:16px;line-height:1.2}
.oc-shell .oc-quest-row span{grid-column:1/2;font-size:12px;color:#accbd5;line-height:1.4}
.oc-shell .oc-quest-row small{grid-column:2;grid-row:1/-1;align-self:center;color:#f7d38e;font-size:13px;font-weight:950}
.oc-shell .oc-quest-row[aria-pressed='true']{border-color:#9bf5da;background:#115161;box-shadow:inset 0 0 17px #23b6bc3b}
.oc-shell .oc-quest-row:hover{border-color:#b2faff}
.oc-shell .oc-garage{border-top:1px solid #416b7d;margin-top:19px;padding-top:17px}
.oc-shell .oc-garage h3{font-size:17px;letter-spacing:.07em;margin:0 0 6px}
.oc-shell .oc-garage p{font-size:13px;color:#a8cad4;line-height:1.45;margin:0 0 11px}
.oc-shell .oc-garage-options{display:flex;flex-wrap:wrap;gap:9px}
.oc-shell .oc-garage-options button{min-height:46px;padding:12px 16px;color:white;background:#10566a;border:1px solid #69cfc5;border-radius:10px;font-size:13px;font-weight:950}
.oc-shell .oc-garage-options button:disabled{opacity:.45;cursor:not-allowed}
.oc-shell .oc-modal-main,.oc-shell .oc-pause-card button{min-height:50px;padding:12px 20px;background:#137c83;border:1px solid #8bfde7;border-radius:12px;color:#fff;font-size:15px;font-weight:950}
.oc-shell .oc-modal-main{width:100%;margin-top:20px}
.oc-shell .oc-pause-card{width:min(500px,95vw);display:flex;flex-direction:column;gap:13px;text-align:center;
  padding:clamp(22px,4vw,40px);border:1px solid #79bfbe;border-radius:20px;background:linear-gradient(145deg,#0a3547,#061723);box-shadow:0 20px 100px #000c}
.oc-shell .oc-pause-card h2{font-size:clamp(30px,5vw,52px);margin:5px 0}
.oc-shell .oc-pause-card p{margin:0 0 9px;font-size:14px;color:#c0dce6;line-height:1.5}
.oc-shell .oc-pause-card #oc-exit-to-map{background:#15374b;border-color:#6695a8}
.oc-shell .oc-pause-card>small:last-child{color:#82abb9;font-size:11px;line-height:1.6}
.oc-shell .oc-view-button,.oc-shell .oc-jump-button{display:none}
.oc-shell.oc-map-expanded .oc-right-hud{z-index:35;top:75px;right:50%;transform:translateX(50%);width:min(470px,85vw);pointer-events:none}
.oc-shell.oc-map-expanded .oc-map-frame canvas{max-height:min(65vh,440px);width:100%;object-fit:contain}
.oc-shell.oc-map-expanded .oc-map-frame{box-shadow:0 0 0 800px #0007,0 24px 80px #000e}
@media(max-width:1250px) and (min-width:761px){
 .oc-shell .oc-pause-trigger{right:343px}.oc-shell .oc-journal-trigger{right:188px}
 .oc-shell .oc-pause-trigger,.oc-shell .oc-journal-trigger{padding:8px 10px;font-size:10px}
 .oc-shell .oc-career{bottom:216px;width:185px}
}
@media(max-width:760px){
 .oc-shell .oc-contract{display:none!important}
 .oc-shell .oc-objective{max-width:200px}
 .oc-shell .oc-chapter{top:187px;left:10px;max-width:195px}
 .oc-shell .oc-chapter small{font-size:8px}.oc-shell .oc-chapter strong{font-size:10px}
 .oc-shell .oc-career{top:225px;bottom:auto;left:10px;width:min(200px,55vw);padding:7px 9px}
 .oc-shell .oc-career>span{font-size:8px}.oc-shell .oc-career b{font-size:10px}
 .oc-shell .oc-journal-trigger,.oc-shell .oc-pause-trigger{right:10px;top:226px;padding:7px 9px;min-height:35px;font-size:10px;border-radius:8px}
 .oc-shell .oc-journal-trigger{top:268px}.oc-shell .oc-journal-trigger kbd{font-size:9px;padding:2px 3px;margin-left:4px}
 .oc-shell .oc-radio{bottom:284px;width:min(95vw,340px);max-width:calc(100vw - 20px);padding:8px 10px}
 .oc-shell .oc-radio>p{font-size:12px}.oc-shell .oc-radio>span{font-size:9px}
 .oc-shell .oc-vehicle-charge{right:10px;bottom:233px;width:116px;padding:6px 8px}
 .oc-shell .oc-vehicle-charge>span{font-size:9px}.oc-shell .oc-vehicle-charge strong{font-size:12px}
 .oc-shell .oc-view-button,.oc-shell .oc-jump-button{display:block;position:absolute;z-index:18;right:10px;min-width:112px;min-height:41px;
   color:#f7ffff;background:#0b4254e8;border:1px solid #88cad2;border-radius:10px;font-size:10px;font-weight:950}
 .oc-shell .oc-view-button{bottom:334px}.oc-shell .oc-jump-button{bottom:218px}
 .oc-shell .oc-pause,.oc-shell .oc-journal{padding:10px;z-index:90}
 .oc-shell .oc-modal-card{padding:15px;max-height:calc(100dvh - 16px);border-radius:14px}
 .oc-shell .oc-modal-card h2{font-size:19px}.oc-shell .oc-modal-sub{font-size:12px;margin:9px 0 13px}
 .oc-shell .oc-journal-list{grid-template-columns:1fr;gap:7px}
 .oc-shell .oc-quest-row{min-height:68px;padding:10px;gap:4px}
 .oc-shell .oc-quest-row strong{font-size:14px}.oc-shell .oc-quest-row span{font-size:11px}.oc-shell .oc-quest-row small{font-size:10px}
 .oc-shell .oc-garage{padding-top:10px;margin-top:12px}.oc-shell .oc-garage h3{font-size:14px}.oc-shell .oc-garage p{font-size:11px}
 .oc-shell .oc-garage-options button{padding:8px 9px;min-height:40px;font-size:11px}
 .oc-shell .oc-modal-main{min-height:42px;margin-top:12px;font-size:12px}
 .oc-shell .oc-journal-trigger kbd{display:none}
 .oc-shell.oc-map-expanded .oc-right-hud{top:90px;width:min(300px,83vw)}
}
@media(max-height:680px) and (min-width:761px){.oc-shell .oc-career{display:none}.oc-shell .oc-chapter{display:none}.oc-shell .oc-radio{bottom:175px}}
@media(prefers-reduced-motion:reduce){.oc-shell .oc-radio,.oc-shell .oc-career .oc-meter>i{transition:none!important}
 .oc-shell .oc-journal,.oc-shell .oc-pause{backdrop-filter:none}}

/* v29.1: mobile-first navigation and all three garage upgrades remain reachable. */
.oc-shell #oc-nav-mobile{display:none}
.oc-shell .oc-garage-balance{font-size:13px;font-weight:900;color:#8bf3df;padding:7px 10px;margin:0 0 11px;border-radius:8px;background:#0d3445;border:1px solid #377184}
@media(max-width:760px){
  .oc-shell #oc-nav-mobile{display:block;position:absolute;z-index:22;right:10px;top:310px;width:126px;min-height:36px;padding:7px 8px;border:1px solid #7ad3cb;border-radius:9px;background:#08374bdc;color:#e3ffff;font-size:10px;font-weight:950;letter-spacing:.015em}
  .oc-shell #oc-nav-mobile:focus-visible{outline:3px solid #d7ffff;outline-offset:2px}
  .oc-shell .oc-garage-balance{font-size:11px}
  .oc-shell .oc-garage-options button{min-height:44px}
}

/* Keep mobile quality/weather controls clear of the camera and GPS buttons. */
@media(max-width:760px){
  .oc-shell .oc-status-bar{top:354px;bottom:auto;right:8px}
}
