#reactorDialog{position:fixed;z-index:18;inset:auto var(--hud-space-3) auto auto;top:calc(196px + var(--sat,0px));right:calc(var(--hud-space-3) + var(--sar,0px));margin:0;width:min(240px,70vw);max-height:calc(100dvh - 380px - var(--sat,0px) - var(--sab,0px));box-sizing:border-box;overflow:auto;overscroll-behavior:contain;}
#reactorDialog h2,#reactorDialog p{margin:0;}
.reactorHeading{position:sticky;top:0;z-index:1;background:var(--hud-surface-overlay);padding-block:var(--hud-space-1);justify-content:space-between;}
.reactorChoices{display:grid;grid-template-columns:1fr;gap:var(--hud-space-2);}
.reactorChoice{display:grid;grid-template-columns:40px 1fr;align-items:start;gap:var(--hud-space-1) var(--hud-space-2);min-height:var(--hud-target);}.reactorChoice small,.reactorChoice .hud-choice-action{grid-column:2;}
.reactorChoice .reactorIcon{width:40px;height:40px;grid-row:1/4;align-self:start;}
.reactorChoice .hud-choice-action{margin-top:auto;}
.reactorHeading h2{flex:1;min-width:0;}
.reactorIcon{display:inline-block;position:relative;overflow:hidden;width:48px;height:48px;flex:none;vertical-align:middle;}
.reactorIcon img{position:absolute;width:400%;height:300%;max-width:none;image-rendering:pixelated;}
.reactorBuild{display:flex;flex-wrap:wrap;gap:var(--hud-space-2);}
.reactorBuild span{display:inline-flex;align-items:center;gap:var(--hud-space-1);}
.reactorBuild .reactorIcon{width:32px;height:32px;}
#reactorEntry{width:100%;min-height:var(--hud-target);}
#btnHudOptions[data-reactors]::after{content:attr(data-reactors);position:absolute;right:0;bottom:0;min-width:var(--hud-space-4);background:var(--hud-accent);color:var(--hud-text-on-accent);font:var(--hud-text-xs)/var(--hud-leading) var(--hud-font-label);border-radius:var(--hud-radius);}
body.touch #reactorDialog{top:calc(216px + var(--sat,0px));}
@media(max-height:440px){#reactorDialog,body.touch #reactorDialog{top:calc(var(--hud-space-2) + var(--sat,0px));right:calc(112px + var(--sar,0px));max-height:calc(100dvh - var(--hud-space-4) - var(--sat,0px) - var(--sab,0px));width:min(220px,40vw);}}
