:root{--ink:#183541;--muted:#758c91;--mint:#a2ded2;--rose:#ff8eae;--deep:#102630;--gold:#efc878;--glass:rgba(8,35,45,.76)}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#102630;color:#fff;font-family:'Yu Gothic','Hiragino Kaku Gothic ProN',system-ui,-apple-system,sans-serif;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:3px solid #ffc9d9;outline-offset:3px}#app{width:100vw;height:100dvh;position:relative;overflow:hidden;isolation:isolate}#world{position:absolute;inset:0;width:100%;height:100%;display:block;background:#a8c9aa;touch-action:none}#vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,transparent 42%,rgba(9,18,27,.37) 130%)}#flash{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none;z-index:9;transition:opacity .16s}.hidden{display:none!important}.full-panel{position:absolute;inset:0;z-index:10}.render-error{position:absolute;z-index:40;inset:12px auto auto 12px;padding:18px;background:#5b1d25;color:white}
#titleScreen{background:radial-gradient(circle at 15% 48%,#e3f1dc 0%,#f5f7e9 38%,#f4f1e7 100%);color:var(--ink);overflow:auto}#titleScreen:after{content:"";position:absolute;width:55vw;height:55vw;left:-19vw;bottom:-39vw;background:#f9adc9;border-radius:50%;opacity:.35;pointer-events:none}.menu-decor{position:absolute;border-radius:50%;border:1px dashed #95c8bd;pointer-events:none}.menu-decor-a{width:320px;height:320px;top:-240px;right:7vw}.menu-decor-b{width:470px;height:470px;right:-350px;bottom:-300px}.title-content{position:relative;display:grid;grid-template-columns:minmax(210px,.38fr) minmax(0,.9fr);gap:clamp(16px,3vw,64px);max-width:1430px;min-height:100%;margin:auto;padding:clamp(18px,3vh,48px) clamp(20px,4vw,64px);align-items:center;z-index:1}.hero-side{height:clamp(340px,72vh,850px);display:flex;align-items:flex-end;justify-content:center;position:relative;align-self:center;border-radius:35% 35% 28% 28%;background:radial-gradient(ellipse at 45% 63%,#e0eac9 0%,#edf1da 55%,transparent 68%)}.hero-side img{max-width:100%;max-height:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;filter:drop-shadow(0 17px 16px #a6baaf55)}.hero-caption{position:absolute;bottom:2%;padding:9px 16px;color:#4b6260;font-size:12px;background:#ffffffb8;border-radius:20px;transform:rotate(-5deg);box-shadow:0 4px 15px #dae0d4}.title-side{max-width:770px;min-width:0}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em;color:#53847b;display:flex;align-items:center;gap:9px}.live-dot{width:8px;height:8px;border-radius:50%;background:#e99498;box-shadow:0 0 0 4px #e9949832}.title-side h1{font-size:clamp(32px,3.8vw,64px);letter-spacing:-.055em;white-space:nowrap;margin:12px 0 0;font-weight:900;line-height:1.2}.accent{color:#f4779b}.subtitle{font-weight:800;letter-spacing:.2em;color:#587c7d;margin:6px 0 20px;font-size:clamp(11px,1.2vw,17px)}.title-story{border-left:4px solid #f19cb5;padding:8px 16px;font-weight:600;font-size:clamp(11px,.94vw,14px);line-height:1.85;background:#ffffff76;border-radius:0 14px 14px 0}.title-story span{color:#e67891;font-weight:900}.vehicle-heading{margin:22px 0 10px;display:flex;align-items:baseline;gap:13px}.vehicle-heading span{font-family:Georgia,serif;letter-spacing:.16em;color:#8da4a1;font-size:11px;font-weight:bold}.vehicle-heading strong{font-size:14px}.vehicle-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.vehicle-card{min-width:0;text-align:center;background:#ffffffb4;border:2px solid #fff;border-radius:13px;padding:12px 4px 9px;color:#3b6166;transition:background .15s,border-color .15s,transform .15s;box-shadow:0 4px 10px #a6bdb21b}.vehicle-card:hover{transform:translateY(-2px)}.vehicle-card.selected{border-color:#f292a8;background:#fff4f6;box-shadow:0 5px 20px #ef9eb83a}.vehicle-card .symbol{display:block;font-size:clamp(19px,2.2vw,29px);line-height:1.18;filter:drop-shadow(0 2px 1px #aaa4)}.vehicle-card .v-name{display:block;font-size:clamp(10px,.9vw,13px);margin-top:6px;font-weight:800;white-space:nowrap}.vehicle-card .v-type{display:block;font-size:9px;color:#93a3a3;margin-top:2px}.vehicle-summary{margin-top:10px;border-radius:12px;background:#e2ede6;padding:10px 14px;display:flex;justify-content:space-between;align-items:center;gap:15px}.vehicle-summary>div:first-child{display:flex;flex-direction:column;gap:3px}.vehicle-summary #selectedRole{font-size:13px;font-weight:900}.vehicle-summary small{font-size:11px;color:#718888}.mini-bars{display:flex;flex-direction:column;gap:3px;flex:0 0 112px}.mini-bars .bar-row{display:flex;align-items:center;gap:5px;font-size:9px;color:#80928c}.mini-bars .bar-track{height:4px;width:72px;background:#bed4c7;border-radius:4px;overflow:hidden}.mini-bars .bar-value{height:100%;background:#e798ad;border-radius:4px}.title-actions{display:flex;gap:11px;margin-top:14px}.button{border:0;padding:13px 25px;font-weight:900;border-radius:13px;font-size:14px;box-shadow:0 4px 0 rgba(25,64,74,.11);min-height:46px}.button:active{transform:translateY(2px)}.button-primary{background:linear-gradient(115deg,#f781a5,#e86b97);color:white;box-shadow:0 5px 16px #e8759744}.button-outline{background:#fff;color:#64817e;border:1px solid #cfddd5}.title-actions .button-primary{flex:1}.title-foot{font-size:10px;color:#8daba8;margin-top:15px;line-height:1.7}.title-foot span{font-weight:900}.delayed.pending{animation:button-blink .32s ease-in-out infinite alternate;pointer-events:none}@keyframes button-blink{to{opacity:.28;filter:brightness(1.3)}}
#hud{position:absolute;inset:0;pointer-events:none;z-index:5;color:#fff}.hud-top{pointer-events:auto;position:absolute;left:12px;right:12px;top:10px;display:flex;align-items:center;gap:12px;padding:9px 13px;border:1px solid #ffffff2c;border-radius:13px;background:var(--glass);box-shadow:0 5px 26px #0f1a228c;backdrop-filter:blur(9px)}.hud-brand{display:flex;align-items:center;gap:9px;flex:1;min-width:150px}.brand-icon{background:#f4a6bf;color:#fff;border-radius:11px;width:39px;height:39px;display:grid;place-items:center;font-size:25px}.hud-brand strong{font-weight:900;font-size:14px;display:block;white-space:nowrap}.hud-brand small{font-size:8px;letter-spacing:.11em;color:#a9cbcc;display:block}.stat-block{min-width:125px;width:12vw;max-width:188px}.stat-block span{font-size:10px;color:#bdd5d5;font-weight:700}.stat-block strong{font-size:10px;margin-left:4px}.meter{margin-top:3px;height:7px;border-radius:9px;background:#0b1c25;border:1px solid #57717b88;overflow:hidden}.meter-fill{height:100%;transition:width .22s}.meter-fill.health{background:linear-gradient(90deg,#db7083,#ffa2b0)}.meter-fill.picnic{background:linear-gradient(90deg,#8bdb9f,#d0eba0)}.status-counters{display:flex;gap:13px;font-size:12px;font-weight:900;align-items:center;white-space:nowrap}.icon-button{border:1px solid #a1c2bb6e;background:#244653;padding:7px 13px;color:white;border-radius:9px;font-weight:800}.hud-left{position:absolute;left:12px;top:90px;width:235px;display:flex;flex-direction:column;gap:12px}.mission-card,.speech-card,.minimap-box,.camera-label,.vehicle-label{background:var(--glass);border:1px solid #ffffff2c;box-shadow:0 6px 22px #001a2880;border-radius:13px;padding:13px;backdrop-filter:blur(6px)}.mission-tag{font-size:10px;font-weight:900;color:#fb9eb7;letter-spacing:.15em;margin-bottom:5px}.mission-card>strong{font-size:14px;line-height:1.4}.mission-card p{font-size:11px;line-height:1.65;color:#b6d4d3;margin:8px 0 10px}.objective{font-size:11px;padding:5px 0;border-top:1px solid #ffffff1a;display:flex;justify-content:space-between}.objective b{color:#ffb5c7}.objective.done{color:#91dac4}.objective.done b{color:#8ce8bd}.speech-card{padding:6px;display:flex;gap:8px;align-items:center}.speech-card img{width:52px;height:54px;object-fit:cover;object-position:center 42%;border-radius:8px;background:#fff}.speech-card span{font-size:11px;line-height:1.55;flex:1;color:#fff8dd;font-weight:700}.speech-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.speech-copy strong{font-size:10px;letter-spacing:.08em;color:#ffd3de}.pilot-talk{position:absolute;left:12px;bottom:84px;width:min(320px,38vw);padding:8px 10px;pointer-events:none;z-index:6;display:flex!important}.pilot-talk img{width:76px!important;height:82px!important;border-radius:10px}.pilot-talk #speechText{font-size:12px;line-height:1.5}.hud-right{position:absolute;top:90px;right:12px;width:179px;display:flex;flex-direction:column;gap:9px}.minimap-box{padding:11px}.minimap-title{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:.08em;color:#c2d8da;font-weight:900;margin-bottom:7px}#minimap{width:100%;aspect-ratio:1;position:relative;border:1px solid #96bcac;background:linear-gradient(90deg,#ffffff1b 1px,transparent 1px),linear-gradient(#ffffff1b 1px,transparent 1px),#527b5b;background-size:10% 10%;overflow:hidden}#minimap:after{content:"";position:absolute;left:2%;top:2%;width:96%;height:96%;border:1px solid #cbe8c344;pointer-events:none}.map-dot{position:absolute;width:7px;height:7px;transform:translate(-50%,-50%);border-radius:50%;z-index:2}.map-dot.player{background:#fff;box-shadow:0 0 0 3px #fc9cb0,0 0 10px #fff}.map-dot.home{background:#ff9eb6;width:9px;height:9px;border:1px solid white}.map-dot.hq{background:#fa444e;width:10px;height:10px;border-radius:0;transform:translate(-50%,-50%) rotate(45deg);border:1px solid white}.map-dot.enemy{background:#ffb44c;width:5px;height:5px}.minimap-legend{display:flex;gap:6px;justify-content:space-between;margin-top:7px;font-size:9px;color:#b7d2cc}.camera-label,.vehicle-label{font-size:10px;display:flex;align-items:center;justify-content:space-between;padding:10px}.camera-label button{pointer-events:auto;background:#346675;color:#f5ffff;border:1px solid #628f96;border-radius:7px;padding:5px;font-size:10px}.vehicle-label{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.vehicle-label>span{font-weight:900;color:#ffd2db}.vehicle-label small{color:#bed1d4}.hud-bottom{position:absolute;bottom:12px;left:12px;right:12px;display:flex;justify-content:space-between;align-items:center;gap:9px}.key-help{background:var(--glass);border-radius:9px;padding:9px 14px;font-size:10px;color:#bdd6d8;letter-spacing:.015em}.key-help b{color:#fff}.distance-target{background:var(--glass);border:1px solid #ffffff33;border-radius:8px;padding:7px 15px;display:flex;gap:12px;align-items:center}.distance-target span{font-weight:900;color:#ff98b1;font-size:10px}.distance-target strong{font-size:12px}.game-message{position:absolute;left:50%;top:18%;transform:translate(-50%,-10px);text-align:center;min-width:170px;max-width:65vw;background:#0c2632d9;border:1px solid #ffb5bf7d;padding:12px 26px;font-weight:900;border-radius:15px;box-shadow:0 6px 25px #04142399;opacity:0;transition:opacity .25s,transform .25s;font-size:clamp(12px,1.6vw,22px)}.game-message.show{opacity:1;transform:translate(-50%,0)}#reticle{position:absolute;left:50%;top:50%;width:28px;height:28px;border:1px solid #ffffffaa;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;box-shadow:0 0 12px #fff5}#reticle span:first-child{position:absolute;width:1px;height:34px;left:13px;top:-4px;background:#ffffffa0}#reticle span:last-child{position:absolute;height:1px;width:34px;top:13px;left:-4px;background:#ffffffa0}.touch-ui{display:none}.orientation-hint{display:none}
.modal{background:#071d29c7;backdrop-filter:blur(9px);display:grid;place-items:center;padding:20px}.modal-box,.help-box{background:linear-gradient(155deg,#f6f6ea,#e8f1e6);color:#284c50;border:5px solid #fff;border-radius:24px;box-shadow:0 20px 90px #0009;padding:clamp(16px,3vw,37px);width:min(92vw,520px);text-align:center;max-height:92dvh;overflow:auto}.modal-box #overlayFace{width:118px;height:95px;object-fit:cover;object-position:center 37%;border-radius:14px;background:#fff;box-shadow:0 5px 15px #c0d5ca}.modal-eyebrow{font-size:12px;letter-spacing:.18em;font-weight:900;color:#e27d9f;margin-bottom:8px}.modal-box h2,.help-box h2{font-size:clamp(20px,3vw,30px);margin:10px 0;color:#355e5e}.modal-box>p{font-size:13px;line-height:1.8;color:#5c7672}.modal-actions{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin-top:19px}.modal-actions .button{font-size:12px}.help-box{width:min(92vw,780px);text-align:left}.help-box h2{font-size:21px}.help-scroll{display:flex;gap:20px;overflow:auto;max-height:55dvh}.help-pic{flex:0 0 29%;align-self:flex-start}.help-pic img{width:100%;height:auto;border-radius:10px;display:block}.help-pic div{color:#e57596;font-size:12px;font-weight:900;text-align:center;margin:7px}.help-copy{flex:1;font-size:12px;line-height:1.75;color:#526d69}.help-copy h3{color:#c16f87;font-size:14px;margin:11px 0 2px}.help-copy p{margin:4px 0}.help-box>button{display:block;margin:12px auto 0}.render-error.hidden{display:none}
@media(max-width:950px){.pilot-talk{width:min(280px,42vw);bottom:74px}.pilot-talk img{width:60px!important;height:68px!important}.pilot-talk #speechText{font-size:11px} .title-content{grid-template-columns:210px minmax(0,1fr);padding:15px;gap:12px}.hero-side{height:72vh}.title-side h1{font-size:clamp(28px,4vw,43px)}.title-story{font-size:11px}.vehicle-heading{margin-top:10px}.vehicle-card{padding:7px 1px}.title-foot{font-size:8px}.title-actions{margin-top:9px}.hud-brand{min-width:130px}.hud-brand strong{font-size:11px}.brand-icon{width:30px;height:30px}.hud-top{gap:6px;padding:7px}.stat-block{min-width:85px}.status-counters{font-size:10px}.hud-left{width:195px;top:72px}.hud-right{width:145px;top:72px}.mission-card{padding:9px}.mission-card strong{font-size:12px}.mission-card p{font-size:10px}.speech-card img{width:36px;height:42px}.speech-card span{font-size:10px}.key-help{font-size:9px}}
@media(max-height:720px){.title-content{padding-top:10px;padding-bottom:10px}.hero-side{height:85vh}.subtitle{margin-bottom:8px}.vehicle-heading{margin-top:8px;margin-bottom:7px}.vehicle-card{padding:5px 3px 4px}.vehicle-card .symbol{font-size:22px}.vehicle-card .v-name{margin-top:2px}.vehicle-summary{padding:6px 10px}.title-actions{margin-top:7px}.title-foot{margin-top:6px}.title-side h1{margin-top:5px}.title-story{padding:4px 12px}.hud-left{width:180px}.hud-right{width:126px}.hud-bottom{bottom:5px}.minimap-box{padding:6px}.mission-card p{margin:4px 0}.mission-card{padding:8px}.speech-card{display:none}}
@media(pointer:coarse){.pilot-talk{display:none!important}.touch-ui{display:flex;position:absolute;bottom:33px;left:20px;right:20px;justify-content:space-between;align-items:end;pointer-events:none}.joystick{pointer-events:auto;width:124px;height:124px;border-radius:50%;background:#bde0e45c;border:2px solid #c5edf6ac;position:relative;touch-action:none;box-shadow:inset 0 0 27px #071a2a6b}.stick{position:absolute;left:50%;top:50%;width:56px;height:56px;border-radius:50%;background:#f7becdd4;border:2px solid white;transform:translate(-50%,-50%);box-shadow:0 2px 16px #0004}.touch-buttons{display:flex;gap:12px;pointer-events:auto;align-items:end}.touch-buttons button{border-radius:50%;width:70px;height:70px;border:3px solid white;background:#ed85a4db;color:white;font-size:13px;font-weight:900;touch-action:none;box-shadow:0 4px 13px #1118}.touch-buttons #touchBomb{width:62px;height:62px;background:#354e69dc}.touch-buttons #touchMagic{display:none;background:#b084db}.key-help{display:none}.hud-bottom{bottom:5px;justify-content:end}.hud-left{top:65px}.hud-right{top:65px}#reticle{opacity:.7}}
@media(max-width:650px){.pilot-talk{display:none!important} .title-content{display:block;padding:12px 14px;max-width:500px}.hero-side{display:none}.title-side h1{font-size:clamp(28px,8vw,40px)}.subtitle{margin:5px 0 8px}.title-story{font-size:10px}.vehicle-grid{gap:5px}.vehicle-card{padding:7px 1px}.vehicle-card .symbol{font-size:23px}.vehicle-card .v-name{font-size:10px}.vehicle-summary{margin-top:5px}.vehicle-heading{margin-top:8px}.title-actions{margin-top:9px}.title-foot{font-size:9px}.hud-top{left:4px;right:4px;top:4px;padding:4px;gap:4px;flex-wrap:wrap}.hud-brand{flex:1;min-width:115px}.hud-brand strong{font-size:10px}.hud-brand small{font-size:6px}.stat-block{width:23%;max-width:110px;min-width:75px}.stat-block span,.stat-block strong{font-size:8px}.status-counters{font-size:9px}.icon-button{padding:5px}.hud-left{left:5px;top:84px;width:141px}.mission-card{padding:6px}.mission-card strong{font-size:11px}.mission-card p{font-size:9px}.mission-tag,.objective{font-size:9px}.hud-right{right:5px;top:84px;width:112px}.minimap-title{font-size:7px}.minimap-legend{font-size:7px}.vehicle-label,.camera-label{font-size:8px;padding:5px}.distance-target{padding:4px;font-size:9px}.distance-target strong{font-size:9px}.touch-ui{bottom:22px;left:9px;right:9px}.joystick{width:105px;height:105px}.touch-buttons{gap:5px}.touch-buttons button{width:59px;height:59px}.touch-buttons #touchBomb{width:53px;height:53px}.help-scroll{display:block}.help-pic{display:none}}
@media(orientation:portrait) and (pointer:coarse){.orientation-hint{display:block;position:absolute;z-index:6;bottom:5px;left:50%;transform:translateX(-50%);font-size:10px;padding:3px 9px;background:#051e2699;border-radius:10px;color:#fff;white-space:nowrap}.touch-ui{bottom:56px}.hud-top{height:auto}.hud-left{top:110px}.hud-right{top:110px}}


/* v.0.0.3 title integration */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#titleScreen{background:#9cd0ff;color:#fff;overflow:auto}
#titleScreen:after{display:none}
.title-bg{position:absolute;inset:0;z-index:0;overflow:hidden;background:#69b0ff}
.title-bg img{width:100%;height:100%;object-fit:cover;object-position:center center;display:block;filter:saturate(1.05) contrast(1.02)}
.title-overlay-layer{position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(4,22,40,.62) 0%,rgba(8,28,49,.30) 28%,rgba(10,30,52,.08) 48%,rgba(7,20,36,.12) 100%)}
.menu-decor-a,.menu-decor-b{border-color:rgba(255,255,255,.28)}
.title-content{position:relative;z-index:2;display:flex;align-items:center;justify-content:flex-start;max-width:none;min-height:100%;padding:clamp(14px,2.3vw,32px)}
.title-panel{width:min(100%,580px);margin:0;min-width:0;background:linear-gradient(180deg,rgba(8,25,41,.74),rgba(14,34,54,.82));border:1px solid rgba(255,255,255,.24);backdrop-filter:blur(12px);border-radius:28px;box-shadow:0 20px 55px rgba(0,0,0,.30);padding:clamp(16px,2vw,26px)}
.title-side{max-width:none;color:#fff}
.title-logo-image{display:block;width:min(100%,430px);margin:0 0 10px 0;filter:drop-shadow(0 8px 15px rgba(0,0,0,.32))}
.title-side h1{display:none}
.eyebrow{color:#c7ebff}
.live-dot{box-shadow:0 0 0 4px rgba(255,174,183,.22)}
.subtitle{color:#e5f2ff;letter-spacing:.15em;margin:2px 0 16px}
.title-story{background:rgba(255,255,255,.12);border-left:4px solid #ff98b9;color:#eff8ff;font-size:clamp(12px,1vw,15px)}
.title-story span{color:#ffdbe7}
.vehicle-heading span{color:#d4eafc}.vehicle-heading strong{color:#fff}
.vehicle-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.vehicle-card{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);color:#fff;box-shadow:0 6px 12px rgba(0,0,0,.14)}
.vehicle-card .v-type{color:#d6ecff}.vehicle-card.selected{background:rgba(255,166,197,.24);border-color:#ffd5e3;transform:translateY(-1px)}
.vehicle-summary{background:rgba(255,255,255,.13);color:#f7fbff;border:1px solid rgba(255,255,255,.18)}
.bar-track{background:rgba(255,255,255,.18)}
.bar-value{background:linear-gradient(90deg,#76ddff,#ff9dc0)}
.button-primary{box-shadow:0 10px 22px rgba(17,124,194,.30)}
.button-outline{background:rgba(255,255,255,.10);color:#fff;border-color:rgba(255,255,255,.34)}
.title-foot{color:#daedf8}
@media (max-width: 1100px){.title-content{justify-content:center;align-items:flex-end}.title-panel{width:min(100%,720px)}.title-bg img{object-position:64% center}.title-overlay-layer{background:linear-gradient(180deg,rgba(5,16,28,.08) 0%,rgba(7,21,37,.16) 44%,rgba(8,22,40,.78) 100%)}}
@media (max-width: 720px){.title-content{padding:12px}.title-panel{border-radius:22px;padding:14px}.title-logo-image{width:min(100%,310px);margin-inline:auto}.eyebrow,.subtitle{text-align:center;justify-content:center}.vehicle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.title-foot{text-align:center}.title-bg img{object-position:68% center}}


/* v.0.0.4 title re-layout: full title art, no separate title logo, no scrolling */
#titleScreen{background:linear-gradient(180deg,#92cbff 0%,#6eb3f7 100%);color:#fff;overflow:hidden;display:block}
#titleScreen .menu-decor,#titleScreen .title-overlay-layer,#titleScreen .title-logo-image{display:none!important}
.title-shell{position:absolute;inset:0;display:grid;grid-template-rows:minmax(170px,38vh) minmax(0,1fr);gap:8px;padding:10px 12px 12px;overflow:hidden}
.title-art-frame{position:relative;min-height:0;border-radius:20px;background:rgba(255,255,255,.18);box-shadow:0 10px 32px rgba(0,0,0,.16), inset 0 0 0 1px rgba(255,255,255,.28);overflow:hidden;display:flex;align-items:center;justify-content:center}
.title-art-frame img{display:block;width:100%;height:100%;object-fit:contain;object-position:center center;filter:saturate(1.02) contrast(1.01)}
.title-content{position:relative;z-index:1;display:block;min-height:0;padding:0;max-width:none}
.title-panel{width:min(100%,1220px);height:100%;margin:0 auto;padding:10px 12px 12px;border-radius:20px;background:linear-gradient(180deg,rgba(6,23,39,.72),rgba(10,31,49,.82));border:1px solid rgba(255,255,255,.20);backdrop-filter:blur(10px);box-shadow:0 18px 46px rgba(0,0,0,.24);display:grid;grid-template-rows:auto 1fr auto;gap:8px;color:#fff}
.eyebrow{font-size:11px;letter-spacing:.14em;color:#d7eeff;display:flex;align-items:center;gap:8px;line-height:1.2}.live-dot{width:8px;height:8px;border-radius:50%;background:#ff97b9;box-shadow:0 0 0 4px rgba(255,151,185,.25)}
.title-main-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.85fr);gap:12px;min-height:0;align-items:stretch}
.title-select-block,.title-side-info{min-height:0;display:flex;flex-direction:column}
.title-side-info{gap:8px}
.subtitle{margin:0;font-size:clamp(12px,1.05vw,15px);font-weight:900;line-height:1.35;color:#fff3f7}
.title-story{margin:0;padding:10px 12px;border-left:4px solid #ff9ebc;border-radius:14px;background:rgba(255,255,255,.12);font-size:clamp(11px,.95vw,14px);line-height:1.55;color:#eef7ff}.title-story span{font-weight:900;color:#ffd9e5}
.vehicle-heading{margin:0 0 6px;display:flex;align-items:baseline;gap:10px}.vehicle-heading span{font-size:11px;letter-spacing:.18em;color:#d3ecff}.vehicle-heading strong{font-size:14px;color:#fff}
.vehicle-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-height:0;align-content:start}
.vehicle-card{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;min-height:0;padding:6px 6px 7px;border-radius:16px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);color:#fff;box-shadow:0 6px 12px rgba(0,0,0,.12);transition:transform .15s ease, border-color .15s ease, background .15s ease}.vehicle-card:hover{transform:translateY(-1px)}.vehicle-card.selected{background:rgba(255,164,196,.24);border-color:#ffd3e2;transform:translateY(-1px);box-shadow:0 10px 18px rgba(0,0,0,.18)}
.vehicle-card .thumb{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1/1;border-radius:12px;background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.06));overflow:hidden}.vehicle-card .thumb img{width:100%;height:100%;object-fit:contain;display:block;padding:2px;pointer-events:none}.vehicle-card .symbol{display:none}.vehicle-card .v-name{font-size:11px;font-weight:900;line-height:1.15;text-align:center}.vehicle-card .v-type{font-size:9px;letter-spacing:.08em;color:#d9ecfb;font-weight:800;text-align:center}
.vehicle-summary{margin-top:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,170px);gap:12px;align-items:center;padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);color:#f7fbff}.vehicle-summary span{font-size:16px;font-weight:900;color:#fff}.vehicle-summary small{display:block;margin-top:4px;font-size:12px;line-height:1.35;color:#d9ecfb}.mini-bars{gap:8px}.bar-row{font-size:11px;color:#fff}.bar-track{background:rgba(255,255,255,.18)}.bar-value{background:linear-gradient(90deg,#76ddff,#ff9dc0)}
.title-actions{margin-top:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.title-actions .button{width:100%;min-height:52px;display:flex;align-items:center;justify-content:center}.button-primary{box-shadow:0 10px 22px rgba(17,124,194,.30)}.button-outline{background:rgba(255,255,255,.10);color:#fff;border-color:rgba(255,255,255,.34)}
.title-foot{margin:0;font-size:10px;line-height:1.35;color:#daedf8;text-align:center;padding-top:2px}
.overlay-logo{display:block;width:min(88%,250px);height:auto;margin:0 auto 8px;filter:drop-shadow(0 6px 10px rgba(0,0,0,.18))}
@media (max-width: 1024px){.title-shell{grid-template-rows:minmax(160px,34vh) minmax(0,1fr);gap:7px;padding:8px 10px 10px}.title-panel{padding:9px 10px 10px}.title-main-grid{grid-template-columns:minmax(0,1fr) minmax(250px,.84fr);gap:10px}.vehicle-grid{gap:7px}.vehicle-card .v-name{font-size:10px}.vehicle-card .v-type{font-size:8px}.vehicle-summary{grid-template-columns:minmax(0,1fr) 150px;gap:10px}}
@media (max-width: 760px){.title-shell{grid-template-rows:minmax(145px,27vh) minmax(0,1fr);gap:6px;padding:8px}.title-main-grid{grid-template-columns:1fr;gap:8px}.title-panel{padding:8px 8px 10px;border-radius:18px}.eyebrow{justify-content:center;text-align:center;font-size:9px}.subtitle{text-align:center;font-size:11px}.title-story{font-size:10px;padding:8px 10px}.vehicle-heading{justify-content:center;flex-wrap:wrap;gap:6px;margin-bottom:4px}.vehicle-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.vehicle-card{padding:5px 4px 6px;border-radius:12px}.vehicle-card .thumb{border-radius:10px}.vehicle-card .v-name{font-size:9px}.vehicle-card .v-type{display:none}.vehicle-summary{grid-template-columns:1fr;gap:6px;padding:8px 10px}.vehicle-summary span{text-align:center;font-size:15px}.vehicle-summary small{text-align:center;font-size:11px}.title-actions{grid-template-columns:1fr 1fr;gap:8px}.title-actions .button{min-height:46px;font-size:13px}.title-foot{font-size:9px}}
@media (max-width: 430px){.title-shell{grid-template-rows:minmax(136px,24vh) minmax(0,1fr);padding:6px;gap:5px}.title-panel{padding:7px 7px 8px;gap:6px}.eyebrow{font-size:8px}.subtitle{font-size:10px}.title-story{font-size:9px;line-height:1.45;padding:7px 9px}.vehicle-grid{gap:5px}.vehicle-card{padding:4px 3px 5px}.vehicle-card .v-name{font-size:8px;letter-spacing:-.02em}.vehicle-summary span{font-size:14px}.vehicle-summary small{font-size:10px}.bar-row{font-size:10px}.title-actions .button{min-height:42px;font-size:12px}.title-foot{font-size:8px}}

@media (max-height: 820px){.title-shell{grid-template-rows:minmax(145px,31vh) minmax(0,1fr)}.title-story{font-size:10px;padding:8px 10px}.title-actions .button{min-height:44px}.title-foot{font-size:9px}}
@media (max-height: 740px){.title-shell{grid-template-rows:minmax(128px,25vh) minmax(0,1fr);gap:5px}.title-panel{gap:5px;padding:7px 8px 8px}.title-story{display:none}.vehicle-heading{margin-bottom:3px}.vehicle-summary{padding:7px 9px}.title-actions{gap:7px}.title-actions .button{min-height:40px;font-size:12px}.title-foot{font-size:8px}}

/* v.0.3.0 - results/pause modal contrast and hitboxes: do not inherit transparent white title buttons. */
#overlay .modal-box {color:#183b48; position:relative;}
#overlay .modal-actions {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:stretch;}
#overlay .modal-actions .button {color:#183f4d!important; background:#f6ffff!important; border:2px solid #799fa6!important; box-shadow:0 4px 10px #274b5233!important; text-shadow:none!important; font-weight:900!important; min-width:0;min-height:48px;padding:8px 6px;line-height:1.35;visibility:visible!important;opacity:1;}
#overlay .modal-actions .button-primary {background:linear-gradient(120deg,#f080a3,#db5786)!important;color:#fff!important;border-color:#d85f87!important;}
#overlay .modal-actions .button.pending {animation:button-blink .32s ease-in-out infinite alternate;}
#overlay .modal-actions .button.hidden {display:none!important;}
#overlay .modal-actions .button:focus-visible {outline:3px solid #1f6370;outline-offset:2px;}
#overlay #overlayExtra {color:#2b5058;font-size:13px;font-weight:800;margin-top:9px;}
@media(max-width:480px){#overlay .modal-box{padding:12px;max-height:94dvh;}#overlay .modal-actions{gap:5px}#overlay .modal-actions .button{font-size:12px!important;min-height:44px;padding:7px 3px}}
@media(max-height:460px){#overlay .modal-box{padding:6px 12px;display:grid;grid-template-columns:75px 1fr;gap:2px 10px;align-items:center;max-height:98dvh}#overlay .modal-box .overlay-logo{display:none}#overlay .modal-box #overlayFace{width:70px;height:68px;grid-row:1/5}#overlay .modal-box h2{font-size:19px;margin:2px}#overlay .modal-box p{font-size:11px;margin:2px}#overlay .modal-box #overlayExtra{font-size:11px;margin:0}#overlay .modal-actions{grid-column:1/-1;margin-top:4px}}
#overlay .modal-actions:has(#resumeBtn.hidden) {grid-template-columns:repeat(2,minmax(0,1fr))}
#overlay .modal-actions .button {overflow-wrap:anywhere;white-space:normal;}

/* v.0.7.0 tactical pickup overlay: eight uniquely colored item classes. */
#mapPickups{position:absolute;inset:0;pointer-events:none;z-index:3;}
#minimap .map-dot.pickup{width:7px;height:7px;border:1px solid #fff8;border-radius:2px;box-shadow:0 0 6px currentColor,0 0 1px #fff;transform:translate(-50%,-50%) rotate(45deg);z-index:3;pointer-events:auto;}
.pickup-map-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 5px;margin-top:5px;font-size:9px;line-height:1.25;color:#e7f4fa;}
.pickup-map-legend span{white-space:nowrap;display:flex;align-items:center;gap:4px;min-width:0;}
.pickup-map-legend i{display:inline-block;width:7px;height:7px;flex:0 0 7px;background:var(--dot);border-radius:2px;box-shadow:0 0 5px var(--dot);}
@media(max-width:650px){.pilot-talk{display:none!important} .pickup-map-legend{font-size:7px;gap:2px}.pickup-map-legend i{width:5px;height:5px;flex-basis:5px;}#minimap .map-dot.pickup{width:6px;height:6px;}}
@media(max-height:450px){.pickup-map-legend{font-size:7px;line-height:1.1;gap:1px;}}

@media(max-height:460px) and (orientation:landscape){.hud-right{width:min(115px,20vw)!important;top:54px!important;gap:3px!important}.minimap-box{padding:4px!important}.minimap-title{margin-bottom:2px!important}.minimap-legend{font-size:7px!important;gap:2px;margin-top:2px!important}.pickup-map-legend{font-size:7px;line-height:1.05;gap:1px 2px}.camera-label,.vehicle-label{padding:3px!important}}

/* v.0.8.0 camera UI: two compact accessible controls in every viewport. */
.camera-label{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:5px;pointer-events:auto;padding:7px 8px}
.camera-row{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0}
.camera-row span{font-size:10px;font-weight:850;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}
.camera-row button{flex-shrink:0;padding:5px 7px;min-height:28px;border-radius:7px;background:#346675;color:#fff;touch-action:manipulation;cursor:pointer}
.camera-control-hint{display:block;font-size:9px;color:#b8e1dd;line-height:1.3;white-space:normal}
@media(max-width:750px){.camera-label{padding:6px 5px;gap:4px}.camera-row{gap:2px}.camera-row span{font-size:8px}.camera-row button{padding:4px 5px;min-height:26px;font-size:9px}.camera-control-hint{font-size:8px}}
@media(max-height:430px) and (pointer:coarse){.camera-label{gap:2px;padding:4px}.camera-row button{min-height:24px;padding:2px 4px}.camera-control-hint{font-size:7px}}

/* Compact mobile landscape: keep minimap, both camera buttons and ride label within height. */
@media(max-height:460px) and (orientation:landscape){
 .hud-right{top:53px!important;gap:3px!important;}
 .hud-right .minimap-box{padding:3px!important;}
 .hud-right #minimap{width:min(85px,100%);height:85px;aspect-ratio:auto;margin:2px auto;}
 .hud-right .minimap-legend{display:none;}
 .hud-right .pickup-map-legend{font-size:6.5px;line-height:1.05;gap:1px 2px;}
 .hud-right .camera-label{padding:4px!important;gap:2px;}
 .hud-right .camera-row button{font-size:9px;padding:2px 4px;min-height:23px;}
 .hud-right .camera-row span{font-size:8px;}
 .hud-right .camera-control-hint{font-size:7px;line-height:1.14;}
 .hud-right .vehicle-label{padding:4px!important;}
}

/* v0.14.0 player-hit feedback: brief red flash, no persistent obstruction. */
#damageFlash{position:absolute;inset:0;pointer-events:none;z-index:9;opacity:0;background:radial-gradient(ellipse at center,rgba(255,50,46,.15) 12%,rgba(227,0,20,.64) 100%)}
#damageFlash.active{animation:hit-red-pulse .42s ease-out both}
@keyframes hit-red-pulse{0%{opacity:0}12%{opacity:1}44%{opacity:.75}100%{opacity:0}}
#overlay[data-paused="true"] .modal-actions button{animation:none!important}
