.astra-briefing{display:grid;grid-template-columns:minmax(100px,.42fr) minmax(0,1fr);gap:clamp(10px,2vw,24px);align-items:start;padding:clamp(8px,1.5vw,20px)}
.astra-briefing figure{margin:0;overflow:hidden;border:1px solid #4c91a1;background:#091825}
.astra-briefing figure img{display:block;width:100%;max-height:42dvh;object-fit:cover;object-position:center 35%}
.astra-briefing figcaption{padding:6px;text-align:center;font-size:10px;color:#9adddf}
.astra-briefing h2,.astra-briefing p{margin:0 0 6px}
.astra-stage{color:#77d4e9;font-size:11px}
.astra-goals{list-style:none;padding:0;margin:6px 0;font-size:12px}
.astra-goals li{display:flex;justify-content:space-between;gap:8px;margin:3px 0}
.astra-briefing .actions{margin:8px 0 0}
.astra-briefing .quest-rewards{margin:6px 0}
.astra-focus{outline:2px solid #79ffeb!important;outline-offset:2px}
#gameSurface .astra-building-target {
 outline:2px solid #79ffeb;outline-offset:3px;
 box-shadow:0 0 14px #31dbc3b3;
}
#gameSurface #scene #buildingLabels .astra-building-target.distant .name {display:block}
#gameSurface #app > footer #quest-hud.quest-tutorial-ready {
 outline:2px solid #ffd88c;outline-offset:2px;
}
#quest-hud.quest-tutorial-ready #quest-hud-icon {animation:astra-reward-glow 1.4s ease-in-out infinite}
#quest-hud.quest-tutorial-ready #quest-hud-title {color:#ffe2a5}
@keyframes astra-reward-glow {50%{filter:drop-shadow(0 0 7px #ffc65a)}}
.astra-marker{position:fixed;width:14px;height:14px;transform:translate(-50%,-65%);border:2px solid #78ffe8;border-radius:50%;pointer-events:none;z-index:110;box-shadow:0 0 12px #41ffed;animation:astra-pulse 1.5s ease-in-out infinite}
@keyframes astra-pulse{50%{opacity:.4;transform:translate(-50%,-65%) scale(1.5)}}
.client-native-benefits{overflow:auto}
@media(max-height:450px){.astra-briefing{padding:7px 12px;gap:10px}.astra-briefing figure img{max-height:33dvh}.astra-briefing h2{font-size:16px}.astra-briefing p{font-size:12px}}

#overlay.astra-screen {justify-content:flex-end;background:linear-gradient(90deg,transparent 15%,#02111a50 57%,#020a15ce)}
.astra-screen #panel {width:min(570px,67cqw);max-height:calc(100cqh - 16px)}
.astra-screen #panelBody {padding:6px}
.astra-briefing .astra-expression {animation:astra-expression .35s ease-out}
@keyframes astra-expression {from{opacity:.6}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.astra-briefing .astra-expression{animation:none}}
@media(prefers-reduced-motion:reduce){#quest-hud.quest-tutorial-ready #quest-hud-icon{animation:none}}

#overlay.astra-screen {backdrop-filter:none}
@container game-frame (max-height:450px) {
 .astra-screen #panel .panel-head {min-height:44px;padding:0 8px}
 .astra-screen #panelBody .astra-briefing {padding:3px;gap:8px}
 .astra-screen #panelBody .astra-briefing p {line-height:1.22;margin:0 0 5px}
 .astra-screen .astra-briefing .quest-rewards {gap:3px;margin:4px 0}
 .astra-screen .astra-briefing .quest-rewards li {font-size:10px;padding:2px 3px}
 .astra-screen .astra-briefing .quest-rewards img {width:14px;height:14px}
 .astra-screen .astra-briefing .actions {margin-top:4px}
}

.astra-screen #panel {height:min(500px,calc(100cqh - 16px));display:flex;flex-direction:column;overflow:hidden}
.astra-screen .panel-head {flex:none}
.astra-screen #panelBody {flex:1;min-height:0;overflow:hidden}
.astra-screen .astra-briefing {height:100%;min-height:0}
.astra-screen .astra-briefing>section {height:100%;min-height:0;display:flex;flex-direction:column}
.astra-screen .astra-copy {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
.astra-screen .astra-briefing .actions {flex:none}

#overlay.astra-screen {padding:0;align-items:stretch;background:none;overflow:hidden}
#overlay.astra-screen #panel {
 width:100%;height:100%;max-width:none;max-height:none;
 background:transparent;border:0;box-shadow:none;scrollbar-gutter:auto;
}
.astra-screen .astra-mask {position:absolute;inset:0;overflow:hidden;background:#020a15b3;pointer-events:none}
.astra-screen .astra-mask-ready {background:none}
.astra-screen .astra-mask span {position:absolute;display:none;border:1px solid #9afcff;border-radius:14px}
.astra-screen .astra-mask-ready span {display:block;box-shadow:0 0 0 250vmax #020a15b3,inset 0 0 14px #6affdf4d}
.astra-screen #panel .panel-head,
.astra-screen #panelBody .astra-briefing,
.astra-screen #panelError {
 position:relative;z-index:1;margin-inline-start:auto;width:min(100%, max(53%, 1080px * var(--ui-scale)));
 background:#061a29f5;border:1px solid #4c91a1;box-shadow:0 8px 26px #0008;
}
.astra-screen #panel .panel-head {margin-top:clamp(5px,3cqh,36px);margin-inline-end:clamp(4px,3cqw,48px)}
.astra-screen #panelBody {padding:0 clamp(4px,3cqw,48px) 8px 0}
.astra-screen #panelBody .astra-briefing {height:min(100%,600px * var(--ui-scale));min-height:0}
.astra-screen #panelBody .astra-briefing figure img {max-height:calc(240px * var(--ui-scale))}
