#MoreScreen:has(> astra-hull-details) {
    box-sizing: border-box;
    padding: 0 0 40px;
    overflow: hidden;
    height: auto;
    min-height: 0;
}
#MoreScreen.MoreFullScreen:has(> astra-hull-details) { max-width: 370px; height: auto; min-height: 0; }
#MoreScreen:not(.MoreFullScreen):has(> astra-hull-details) {
    left: var(--hull-left) !important;
    top: var(--hull-top);
    bottom: auto;
    width: var(--hull-width) !important;
}
astra-hull-details {
    display: block;
    color: #ddd;
}
.hull-flow { display: flow-root; }
.hull-flow.paged { column-count: 1; column-gap: 0; column-fill: auto; overflow: hidden; }
.hull-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(125px, 1fr);
    align-items: stretch;
    break-inside: avoid;
}
astra-model-preview {
    display: block;
    position: relative;
    background: #080808;
}
.hull-preview { min-height: 125px; }
astra-model-preview img, astra-model-preview canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
astra-model-preview canvas { visibility: hidden; touch-action: none; }
.hull-specs, .hull-costs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
    gap: 2px 12px;
    margin: 8px 12px;
}
.hull-specs .BuildPartProp {
    display: flex;
    justify-content: space-between;
    width: auto;
}
.hull-specs label { color: #aaa; }
.hull-abilities { padding: 0 12px 8px; }
.hull-abilities .hullability { margin: 8px 0 0; line-height: 1.45; }
.hull-costs h3 { grid-column: 1 / -1; }
.hull-costs { padding: 6px 0; break-inside: avoid; }
.hull-costs h3 { font: inherit; color: #fff; font-weight: bold; margin: 0 0 3px; }
.hull-costs .lval { white-space: nowrap; }
.hull-pages:not([hidden]) { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 4px; }
.hull-pages button { background: linear-gradient(#444, #222); border: 0; border-radius: 4px; color: #eee; }
.hull-pages button:disabled { opacity: .45; }
#MoreScreen:has(> astra-hull-details) .MoreTitle .hull { margin-inline-end: .45em; font-weight: 900; }
