/* Outdoor gameplay UI is independent of ship/Greg presentation. */
.range-reticle{position:absolute;left:50%;top:50%;width:17px;height:17px;transform:translate(-50%,-50%);border:1px solid #dbf6e8a0;border-radius:50%;pointer-events:none;z-index:2;box-shadow:0 0 2px #10251f}
.range-reticle::after{content:"";position:absolute;left:7px;top:7px;width:1px;height:1px;background:#fff;box-shadow:0 0 3px #fff}
.aboard .range-reticle{display:none}
.world-status{margin:0;font-size:10px;line-height:1.6;color:#bdcfbf}
.world-status[data-alert="2"],.world-status[data-alert="3"]{color:#ffd09b}
#craft-upgrade{font-size:10px;line-height:1.55}
#stand-down{border-color:#bbd7bd85}
#reset-world{border-color:#d5ba9785}
.activity-status #objective{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
@media(pointer:coarse),(max-width:760px){.map-panel:not(.expanded){width:106px}}
@media(max-height:520px) and (pointer:coarse){.map-panel:not(.expanded){top:106px;left:16px;right:auto;width:105px}.map-panel:not(.expanded) canvas{display:none}}
.ground-controls{display:grid;gap:6px;padding-bottom:5px;border-bottom:1px solid var(--line)}
.ground-controls #ground-status{font-size:10px;line-height:1.5;color:#edf0d9;text-shadow:0 1px 4px #000}
.ground-controls #ground-status:empty{display:none}
.ground-controls button{min-height:44px}
.on-foot .touch-alt [data-action="up"],.on-foot .touch-alt [data-action="down"],.on-foot .touch-alt [data-action="turnLeft"],.on-foot .touch-alt [data-action="turnRight"],.on-foot .ability-meter,.on-foot .keyboard-hint{display:none}
.on-foot .touch-alt{grid-template-columns:repeat(2,48px)}
.walking-hint{display:none;position:absolute;right:24px;bottom:30px;max-width:500px;font-size:10px;color:#fff6dc;text-shadow:0 1px 5px #000;line-height:2;pointer-events:none}
.walking-hint span{margin:0 10px}
.on-foot .walking-hint{display:block}
.aboard .ground-controls{display:none}
.on-foot .range-reticle{display:none}
.on-foot.greg-laser-equipped .range-reticle{display:block;border-color:#96f3d5;box-shadow:0 0 4px #153e33}
.greg-laser-status{margin:0;font-size:10px;line-height:1.5;color:#c7f1df;text-shadow:0 1px 4px #000}
.greg-laser-equipped #ability-fire{touch-action:none;-webkit-user-select:none;user-select:none;border-color:#92daba}
.greg-laser-equipped #ability-fire.pressed{background:#325d49}
.on-foot #relocate:disabled,.craft-grounded #relocate:disabled{cursor:default}
@media(pointer:coarse),(max-width:760px){.ground-controls{gap:5px}.ground-controls #ground-status{font-size:9px;line-height:1.45}.on-foot .walking-hint{display:none}}
@media(max-width:390px){.on-foot .touch-alt{grid-template-columns:repeat(2,44px)}}
/* Keep content guidance visible before entry, including the embedded game. */
.player-guidance{max-width:54ch;margin:22px 0;padding:16px 18px;border:1px solid #e2c38a75;border-left:3px solid #e2c38a;background:#15221df2;color:#eef1df;font-size:13px;line-height:1.6}
.player-guidance h2,.player-guidance h3{margin:0 0 8px;font-size:14px;font-weight:600;line-height:1.5;letter-spacing:0;color:#f4dca9}
.player-guidance p{margin:8px 0 0}
.player-guidance p:last-child{color:#cad5c6}
@media(max-width:700px){.player-guidance{padding:14px;font-size:12px}}

/* Contextual ship objects and optional exploration journal. */
.ship-activities-panel{position:fixed;z-index:35;inset:5rem auto auto 1rem;width:min(29rem,calc(100vw - 2rem));max-height:calc(100dvh - 11rem);overflow:auto;padding:1rem;border:1px solid #607b85;border-radius:.6rem;background:#10232bf5;color:#e5eeeb;box-shadow:0 .7rem 2rem #0008}.ship-activities-panel[hidden]{display:none}.ship-activity-heading{display:flex;gap:1rem;align-items:center;justify-content:space-between}.ship-activity-heading h2{margin:0;font-size:1.05rem}.ship-activity-controls{display:flex;gap:.5rem;flex-wrap:wrap}.ship-activities-panel button{min-height:44px}.ship-activities-panel [data-journal] article{padding:.7rem 0;border-top:1px solid #52656c}.ship-activities-panel [data-journal] h3{font-size:1rem;margin:.2rem 0}.ship-activities-panel summary{cursor:pointer;padding:1rem 0}.ship-activity-controls [aria-pressed=true]{outline:2px solid #d5c580}@media(max-width:600px){.ship-activities-panel{inset:4rem .6rem auto;width:auto;max-height:calc(100dvh - 16rem)}}

/* Keep the working object visible while its controls are open. */
#app.ship-object-open #interior-panel{visibility:hidden;pointer-events:none}
