/* RG34: fast opening, short prompts, an unobstructed 3D world. */
.opening34-hud{position:absolute;z-index:23;top:94px;left:50%;transform:translateX(-50%);width:min(580px,calc(100vw - 30px));padding:11px 14px 8px;color:#f9edda;border:1px solid #d1bc7c77;border-left:3px solid #ffc576;border-radius:12px;background:linear-gradient(120deg,#092735ee,#0b202aeb);box-shadow:0 9px 34px #0005;pointer-events:none;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.opening34-steps{display:flex;align-items:center;gap:8px;color:#81a5a9;font-size:8px;font-weight:900;letter-spacing:.09em;margin-bottom:9px;white-space:nowrap}
.opening34-steps i{flex:1;height:1px;background:#698a854a}.opening34-steps .is-active{color:#ffd18c}.opening34-steps .is-done{color:#83e9c9}
.opening34-main{display:flex;align-items:center;gap:10px}.opening34-main>div{flex:1;min-width:0}.opening34-alert{font-size:27px;line-height:1;color:#ffc37f;flex:none;width:30px;text-align:center}
.opening34-main small{display:block;font-size:8px;letter-spacing:.10em;color:#a6c4c2;font-weight:800;margin-bottom:4px}.opening34-main h2{font-size:17px;font-weight:950;letter-spacing:-.015em;line-height:1.15;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.opening34-main>strong{font-size:23px;color:#ffd292;white-space:nowrap;font-variant-numeric:tabular-nums}.opening34-main>button{pointer-events:auto;min-width:40px;min-height:40px;border-radius:8px;border:1px solid #7cacaa77;background:#173b45;color:#dcefe9;font-weight:900;font-size:17px;cursor:pointer;touch-action:manipulation}
.opening34-meter{height:3px;background:#ffffff13;border-radius:3px;overflow:hidden;margin:10px 0 7px}.opening34-meter i{display:block;width:100%;height:100%;background:#8ae2bd;transition:width .15s linear}
.opening34-status{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:10px;line-height:1.35;color:#bed5d3}.opening34-status b{white-space:nowrap;color:#f3d29f;font-size:9px;letter-spacing:.025em}
.opening34-tools{display:flex;align-items:center;justify-content:space-between;gap:9px}.opening34-tools:has(button:not(.hidden)),.opening34-tools:has(span:not(:empty)){margin-top:8px}
.opening34-tools button{pointer-events:auto;border:1px solid #91c7b67d;border-radius:7px;background:#16414b;color:#e6f7ed;font-size:9px;font-weight:900;letter-spacing:.035em;min-height:35px;padding:5px 11px;cursor:pointer;touch-action:manipulation}
.opening34-tools button:disabled{opacity:.48;cursor:default}.opening34-tools span{font-size:9px;font-weight:850;color:#c7dfd8;letter-spacing:.035em;text-align:right}
.opening34-hud[data-danger="true"]{border-color:#ee997b}.opening34-hud[data-danger="true"] .opening34-meter i{background:#ee9471}.opening34-hud[data-danger="true"] .opening34-main>strong{color:#ffa27b}
.opening34-hit{box-shadow:0 0 30px #e3664666}.opening34-dialog{position:absolute;inset:0;z-index:75;display:grid;place-items:center;padding:20px;background:#061722b8;pointer-events:auto;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.opening34-dialog-card{width:min(435px,100%);max-height:calc(100dvh - 36px);overflow-y:auto;border:1px solid #8ebdbb96;border-radius:18px;padding:29px 26px;background:linear-gradient(145deg,#173d47,#0b2231);box-shadow:0 28px 70px #0009}
.opening34-dialog-kicker{font-size:9px;letter-spacing:.13em;color:#9ce7cc;font-weight:900}.opening34-dialog-card h2{font-size:clamp(27px,5vw,41px);letter-spacing:-.045em;line-height:1.05;margin:18px 0 12px;color:#fff0d8;font-weight:970}.opening34-dialog-card p{font-size:13px;line-height:1.6;color:#c4dcd6;margin:0 0 22px}
.opening34-result-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 17px}.opening34-result-stats>div{border-radius:8px;background:#94c9c00d;border:1px solid #91bfb52c;padding:13px 4px;text-align:center}.opening34-result-stats small{display:block;font-size:8px;color:#a5c8c1;font-weight:900;letter-spacing:.035em}.opening34-result-stats b{display:block;margin-top:8px;font-size:21px;color:#ffce8a;font-variant-numeric:tabular-nums}
.opening34-dialog-card>button{display:block;width:100%;min-height:46px;padding:10px 13px;margin-top:9px;border:1px solid #ffdb9f;border-radius:9px;font-size:11px;font-weight:950;letter-spacing:.06em;background:linear-gradient(105deg,#ffe0a3,#eeb06d);color:#0e2c34;cursor:pointer;touch-action:manipulation}
.opening34-dialog-card>button.opening34-secondary{background:#214953;color:#eff6de;border-color:#8dc5b6}.opening34-dialog-card>button.opening34-quiet{background:transparent;border-color:#72979b55;color:#c3d9d3}.opening34-dialog button:focus-visible,.opening34-hud button:focus-visible{outline:3px solid #ffe6ae;outline-offset:3px}
.opening34-launch .launch16-tile-icon{background:#583b2f;color:#ffcb88}
body[data-opening34]:not([data-opening34="off"]) .mission-card,
body[data-opening34]:not([data-opening34="off"]) .statline,
body[data-opening34]:not([data-opening34="off"]) .weather-pill,
body[data-opening34]:not([data-opening34="off"]) .career-status,
body[data-opening34]:not([data-opening34="off"]) .hint,
body[data-opening34]:not([data-opening34="off"]) .worksite-launch,
body[data-opening34]:not([data-opening34="off"]) .defense-readout,
body[data-opening34]:not([data-opening34="off"]) #activityDock,
body[data-opening34]:not([data-opening34="off"]) #rgMenuBtn{display:none!important}
body[data-opening34]:not([data-opening34="off"]) .controls{z-index:22}
body[data-opening34="combat"] #joystick,body[data-opening34="combat"] #runBtn,body[data-opening34="combat"] #viewBtn{visibility:hidden!important}
body[data-opening34="combat"] .main-action{color:#332b22;border-color:#ffe4b3;background:radial-gradient(circle at 35% 20%,#ffe3a9,#de9259);box-shadow:0 0 30px #e9a46833}
body[data-opening34-paused="true"] .controls{pointer-events:none!important;opacity:.3!important}
body[data-opening34]:not([data-opening34="off"]) .toast{bottom:150px;max-width:min(520px,74vw);font-size:11px;white-space:normal;text-align:center}
@media(max-width:760px){
 .opening34-hud{top:51px;left:8px;right:8px;transform:none;width:auto;max-width:none;padding:8px 10px 7px;border-radius:10px;background:#09252fe6}
 .opening34-steps{font-size:7px;gap:6px;margin-bottom:7px;letter-spacing:.045em}
 .opening34-main{gap:7px}.opening34-alert{font-size:22px;width:23px}.opening34-main small{font-size:7px;letter-spacing:.04em;margin-bottom:3px}.opening34-main h2{font-size:12px}.opening34-main>strong{font-size:19px}.opening34-main>button{min-width:36px;min-height:36px;font-size:15px}
 .opening34-status{font-size:9px;line-height:1.3;gap:7px}.opening34-status b{font-size:8px}.opening34-meter{margin:8px 0 6px}
 .opening34-tools button{font-size:8px;min-height:32px;padding:4px 9px}.opening34-tools span{font-size:8px}
 .opening34-dialog{padding:13px}.opening34-dialog-card{padding:22px 19px}.opening34-dialog-card h2{font-size:30px}.opening34-dialog-card p{font-size:12px}
 body[data-opening34]:not([data-opening34="off"]) .toast{bottom:122px;font-size:10px}
}
@media(max-width:350px){.opening34-main h2{font-size:10px}.opening34-main small{font-size:6px}.opening34-main>strong{font-size:16px}.opening34-status{font-size:8px}.opening34-status b{font-size:7px}.opening34-steps{font-size:6px}}
@media(max-height:520px) and (orientation:landscape){
 .opening34-hud{top:9px;left:50%;right:auto;transform:translateX(-50%);width:min(500px,60vw);padding:6px 10px}.opening34-steps{margin-bottom:5px}.opening34-main h2{font-size:12px}.opening34-main small{font-size:6px}.opening34-main>strong{font-size:17px}.opening34-main>button{min-height:32px;min-width:32px}.opening34-status{font-size:8px}.opening34-tools button{min-height:29px;font-size:7px}.opening34-tools span{font-size:7px}.opening34-tools:has(button:not(.hidden)){margin-top:5px}
 .opening34-dialog-card{padding:16px 18px;max-height:calc(100dvh - 22px)}.opening34-dialog-card h2{font-size:26px;margin:10px 0}.opening34-dialog-card p{font-size:11px;margin-bottom:12px}.opening34-result-stats{margin-bottom:10px}.opening34-result-stats>div{padding:7px 4px}.opening34-result-stats b{font-size:17px;margin-top:5px}.opening34-dialog-card>button{min-height:36px;font-size:10px;margin-top:6px}
}
@media(prefers-reduced-motion:reduce){.opening34-meter i{transition:none}.opening34-hit{box-shadow:0 9px 34px #0005}}
