#MoreScreen .order-choices {
    display: grid; gap: 5px; padding: 6px; min-width: 0;
}
#MoreScreen .order-choices::after { display: none; }
.defeated-races-heading {
    grid-column: 1 / -1; clear: both; margin: 10px 6px 4px; color: #bbb; font: inherit; font-weight: 600;
}
#MoreScreen :is(.base-orders, .compact-orders) { grid-template-columns: repeat(auto-fit, minmax(min(128px, 100%), 1fr)); }
.base-orders h3, .base-orders .CancelOrderButton { grid-column: 1 / -1; }
#MoreScreen .base-orders h3 { font: 600 13px/1.4 "Segoe UI", sans-serif; color: #ccc; margin: 6px 2px 0; }
.order-choice {
    min-width: 0; display: flex; align-items: stretch; overflow: hidden; border-radius: 7px;
    background: linear-gradient(#333, #202020 85%); position: relative;
}
.order-choice.is-current, .code-priorities button[aria-pressed="true"],
.friendly-code-picker .code-editor.is-current, #MoreScreen .SelectBox.SelectedBox:not(.OrangeBox, .RedBox, .GreenBox) {
    background: linear-gradient(#315e39, #203c29 85%);
    color: #fff;
}
.order-choice button {
    color: #eee; background: transparent; border: 0; cursor: pointer; font: 14px/1.25 "Segoe UI", sans-serif;
}
.order-pick { display: flex; align-items: center; flex: 1; min-width: 0; gap: 9px; padding: 8px; text-align: left; }
.order-icon {
    display: grid; place-items: center; width: 29px; height: 29px; flex: none; border-radius: 6px;
    background: linear-gradient(#292929, #191919); color: #ccc; font-size: 16px;
}
.order-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.order-copy { min-width: 0; flex: 1; white-space: normal; overflow-wrap: anywhere; }
.order-copy strong { display: block; font-weight: 600; }
.order-copy small { display: block; margin-top: 2px; color: #bbb; font-size: 12px; line-height: 1.35; }
.order-choice.is-current .order-copy small { color: #d3e6d5; }
.order-choice .order-help { padding: 0 7px; color: #bbb; }
.compact-orders .order-pick, .base-orders .order-pick { gap: 6px; min-height: 44px; padding: 7px; }
.compact-orders .order-icon, .base-orders .order-icon { width: 22px; height: 24px; font-size: 14px; background: none; }
.compact-orders .order-copy strong { font-size: 13px; }
.compact-orders .order-copy small { font-size: 11px; }
#MoreScreen:not(.MoreFullScreen):has(.ship-missions) { min-height: 0; }
#MoreScreen .ship-missions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    --mission-spacing: 6px;
    gap: var(--mission-spacing);
    padding: var(--mission-spacing);
}
:is(.ship-missions, .base-orders, .player-choices, .friendly-code-picker) .order-pick {
    display: block;
    align-content: start;
}
:is(.ship-missions, .base-orders) .order-pick { padding: 8px; }
#LeftContent :is(#Friendlybar, #StarbaseFriendlybar):has(+ .build-report-button, > .build-report-button) {
    anchor-name: --friendly-code; width: max-content;
}
#LeftContent :is(#Friendlybar, #StarbaseFriendlybar):has(+ .build-report-button, > .build-report-button) .fcv {
    min-width: 0; width: max-content; margin-right: 0;
}
.build-report-button {
    position: absolute; z-index: 2; display: grid; place-items: center; box-sizing: border-box;
    width: 38px; height: 34px; padding: 0; border: 0; border-radius: 6px; font-size: 15px;
    background: linear-gradient(#393939, #202020); color: #ddd; cursor: pointer;
}
#LeftContent .LeftBox + .build-report-button {
    position-anchor: --friendly-code; left: calc(anchor(right) + 14px); bottom: anchor(bottom);
}
#LeftContent .LeftBox > .build-report-button { left: calc(100% + 14px); bottom: 0; }
.build-report-button.hud-build-report { bottom: 145px; width: 44px; height: 44px; }
astra-build-report { display: block; padding: 8px; color: #eee; }
:is(#MoreScreen, #BuildQueueReport) astra-build-report p { max-width: none; margin: 0; padding: 4px 6px; }
:is(#MoreScreen, #BuildQueueReport) astra-build-report h3 { font: bold 13px/1.4 Arial, sans-serif; padding: 8px 6px 4px; margin: 0; color: #ddd; }
:is(#MoreScreen, #BuildQueueReport) .build-report-row { box-sizing: border-box; }
.MoreTitle .build-report-popout {
    height: 100%; margin: 0; padding: 0; border: 0; background: transparent;
    display: grid; place-items: center; font-size: 15px;
}
.MoreTitle .build-report-popout:is(:hover, :focus-visible) { color: #fff; }
astra-build-report { container-type: inline-size; }
.build-report-item {
    display: grid; grid-template-columns: minmax(0, 1fr) repeat(2, 30px);
    gap: 2px; margin-block: 3px;
}
@container (max-width: 220px) {
    .build-report-item { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .build-report-row { grid-column: 1 / -1; }
    .build-priority-arrow { min-height: 32px; }
}
.build-report-item .build-report-row { min-width: 0; margin: 0; }
.build-priority-arrow {
    padding: 0; color: #ddd; border: 0; border-radius: 5px;
    background: linear-gradient(#363636, #242424); cursor: pointer;
}
.build-priority-arrow:enabled:is(:hover, :focus-visible) { background: linear-gradient(#515151, #333); }
.build-priority-arrow:disabled { color: #666; cursor: default; }
.build-report-row {
    width: 100%; border: 0; border-radius: 5px; padding: 8px 6px; margin-block: 2px; cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    font: inherit; text-align: left; color: #eee; background: linear-gradient(#303030, #202020);
}
.build-report-row strong, .build-report-row small { display: block; overflow-wrap: anywhere; }
.build-report-row .build-target { flex: 1; min-width: 0; }
.build-report-row img { width: 42px; height: 42px; object-fit: contain; }
.build-report-row small { color: #ccc; }
.build-report-row:is(:hover, :focus-visible), .build-report-button:is(:hover, :focus-visible) { background: linear-gradient(#494949, #303030); }
body:has(#MoreScreen astra-build-report) .build-report-button { outline: none; border: 0; box-shadow: none; }
#MoreScreen.MoreFullScreen:has(astra-build-report) { top: auto; bottom: 12px; height: min(45%, 360px); min-height: 0; }
body:has(#MoreScreen astra-build-report) #BlurScreen { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; pointer-events: none; }
:is(.ship-missions, .base-orders, .player-choices, .friendly-code-picker) .order-icon { float: right; margin-inline-start: 6px; }
:is(.ship-missions, .base-orders, .player-choices, .friendly-code-picker) .order-copy { display: block; }
.friendly-code-picker .code-editor {
    display: flex; align-items: center; gap: 12px; justify-content: space-between;
    margin: 6px; padding: 7px 10px; border-radius: 7px; color: #ddd;
    background: linear-gradient(#333, #202020); font: 600 13px "Segoe UI", sans-serif;
}
.code-editor #PlanetFCText { float: none; margin: 0; width: 4ch; height: auto; line-height: 1.3;
    padding: 3px 8px; border: 0; border-radius: 4px; color: #fff; background: #181818; font: 600 18px/1.3 monospace; }
.code-editor label { margin: 0; }
.code-editor .code-random { display: inline-flex; align-items: center; gap: 6px; align-self: stretch; padding: 4px 8px;
    margin-left: auto; border: 0; border-radius: 5px; color: #ddd; cursor: pointer; background: linear-gradient(#444, #292929); }
.code-priorities { min-width: 0; margin: 3px 6px 6px; padding: 6px 9px 9px; border: 0; border-radius: 7px;
    background: linear-gradient(#303030, #202020); }
.code-priorities legend { float: left; width: 100%; margin: 0 0 5px; color: #ddd; font: 600 13px "Segoe UI", sans-serif; }
.code-priorities > div { clear: both; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 3px; }
.code-priorities button { min-width: 0; padding-inline: 0; min-height: 32px; border: 0; border-radius: 4px; cursor: pointer;
    color: #ddd; background: linear-gradient(#404040, #282828); font: 600 13px "Segoe UI", sans-serif; }
.friendly-code-picker,
.friendly-code-picker :is(.code-editor, #PlanetFCText, button, legend) { font-family: Arial, sans-serif; }
.order-choice button:focus-visible, .hull-picker-image:focus-visible { outline: 2px solid #eee; outline-offset: -3px; }
.hull-picker-image { border: 0; padding: 0; background: transparent; display: block; cursor: pointer; }
.hull-picker-image img { display: block; }
#MoreScreen .SelectBox {
    border: 0; border-radius: 6px; height: auto; min-height: 42px; box-sizing: border-box;
    padding: 4px; overflow-wrap: anywhere; font-weight: 600;
    background-image: linear-gradient(to bottom, rgb(255 255 255 / 8%), transparent 80%);
}
#MoreScreen .SelectBox span { font-weight: 400; }
#MoreScreen .quantity-choices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
}
#MoreScreen #ShipMissions.quantity-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#MoreScreen .quantity-choices::after { display: none; }
#MoreScreen .quantity-choices > .SelectBox { width: auto; margin: 0; }
#MoreScreen .SelectBox.SelectedBox { background-image: linear-gradient(rgb(255 255 255 / 25%), rgb(255 255 255 / 12%)); }
#MoreScreen [id^='WarpSpeed'].SelectBox::before {
    font: 900 11px "Font Awesome 6 Free"; margin-inline-end: 4px;
}
#MoreScreen [id^='WarpSpeed'].SelectBox::before { content: "\f3fd"; }
@media (hover: hover) and (pointer: fine) {
    .order-choice button:hover, .code-priorities button:not([aria-pressed=true]):hover { background-image: linear-gradient(rgb(153 204 204 / 15%), rgb(153 204 204 / 5%)); }
    #MoreScreen .SelectBox:not(.SelectedBox):hover, .code-editor .code-random:hover {
        background-image: linear-gradient(rgb(255 255 255 / 18%), rgb(255 255 255 / 6%));
    }
    .hull-picker-image:hover img { filter: brightness(1.18); }
}
