/* RC3.2: structured story workflow, single crew section, separate hangar. */
.rc3-shell .rc4-opening-art{position:relative;isolation:isolate;flex:none;width:138px;height:116px;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;border-radius:4px;background:radial-gradient(ellipse at 56% 42%,#357b8660,#12374435 51%,transparent 75%)}
.rc4-opening-art:before{content:'';position:absolute;inset:13px 19px;background:linear-gradient(150deg,#d6d7b0 0%,#678b93 50%,#213c53 90%);clip-path:polygon(50% 0,92% 70%,50% 53%,8% 70%);opacity:.72;filter:drop-shadow(0 0 10px #b9dce4)}
.rc4-opening-art .rc4-art-orbit{position:absolute;border:1px solid #9dc5ca6c;border-radius:50%;height:78px;width:132px;transform:rotate(-30deg)}
.rc4-opening-art .rc4-orbit-b{height:108px;width:70px;transform:rotate(36deg);opacity:.45}
.rc4-opening-art .rc4-art-star{font-family:Georgia,serif;font-size:23px;color:#fff8dd;z-index:2;text-shadow:0 0 15px #d2edee;transform:translateY(4px)}
.rc4-opening-art small{z-index:2;position:absolute;bottom:4px;text-align:center;font:600 6px/1.45 system-ui,sans-serif;color:#9bc1c3;letter-spacing:.17em}
.rc3-shell .rc4-episode-brief{display:block}.rc3-shell .rc4-episode-report{display:none}
.rc3-shell .rc2-story-body[data-step=brief] .rc4-episode-report{display:none!important}
.rc3-shell .rc2-story-body[data-step=brief] .r47-origin-pick,.rc3-shell .rc2-story-body[data-step=brief] .r473-fleet-progress,.rc3-shell .rc2-story-body[data-step=brief] .r47-fleet{display:none!important}
.rc3-shell .rc2-story-body[data-step=report] .rc4-episode-brief{display:none!important}
.rc3-shell .rc2-story-body[data-step=report] .rc4-episode-report{display:block!important}
.rc3-shell .rc2-story-body[data-step=report] .r43-kpis,.rc3-shell .rc2-story-body[data-step=report] .r47-origin-set,.rc3-shell .rc2-story-body[data-step=report] .r473-fleet-progress,.rc3-shell .rc2-story-body[data-step=report] .r47-fleet,.rc3-shell .rc2-story-body[data-step=report] .r451-coop-guide,.rc3-shell .rc2-story-body[data-step=report] .r45-unified-note,.rc3-shell .rc2-story-body[data-step=report] .r43-standards,.rc3-shell .rc2-story-body[data-step=report] .r410-memory,.rc3-shell .rc2-story-body[data-step=report] .r49-long-memory{display:none!important}
.rc3-shell .rc2-story-body[data-step=result] .r43-page>*:not(.r43-toolbar):not(.r43-error){display:none!important}
.rc3-shell .rc2-story-body .rc4-result-pane{display:none!important}
.rc3-shell .rc2-story-body[data-step=result] .rc4-result-pane{display:block!important}
.rc3-shell .rc2-story-body[data-step=result] .rc3-report-guide,.rc3-shell .rc2-story-body[data-step=result] .rc4-stage-notice{display:none!important}
.rc3-shell .rc2-story-body[data-step=brief] .rc3-report-guide{display:none!important}
.rc3-shell .rc2-story-body[data-step=report] .r43-page>.r43-hero{display:none!important}
.rc3-shell .rc2-story-body .rc4-stage-notice{display:none}
.rc3-shell .rc2-story-body[data-step=report] .rc4-stage-notice{display:block;color:#9dc9ce;font-size:12px;border-top:1px solid #36505b;margin:18px 0;padding-top:13px}
.rc3-shell .rc2-story-body .rc4-stage-notice:empty{display:none}
.rc3-shell .rc2-story-body .r43-page .rc4-episode{padding:24px!important}
.rc3-shell .rc4-episode-report .r43-field label{color:#d8e3df}
.rc4-result-pane{padding:27px;background:linear-gradient(145deg,#1b3441,#0c1b27);border:1px solid #6a73728a;border-radius:5px;color:#e1e9e4}
.rc4-result-kicker{font-size:10px;font-weight:800;letter-spacing:.19em;color:#e4c18a}
.rc4-result-pane h2{font-size:clamp(25px,3vw,39px);font-family:Georgia,serif;font-weight:500;color:#f9eadd;margin:13px 0}
.rc4-result-pane p{line-height:1.75;max-width:740px;font-size:14px;color:#c2d0d1}
.rc4-result-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}
.rc4-result-facts>div{border:1px solid #4a666c;background:#173441;padding:13px;min-width:0}
.rc4-result-facts small{display:block;font-size:9px;letter-spacing:.11em;color:#9bc3c7;margin-bottom:9px}
.rc4-result-facts strong{font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.rc4-result-pane blockquote{margin:16px 0;border-left:3px solid #d7bc89;padding:14px;background:#142e37;color:#c8dada}
.rc4-result-actions{display:flex;gap:10px;flex-wrap:wrap}
.rc4-secondary-btn,.rc4-introduce{border:1px solid #5b7b83;background:#213e4b;color:#f2f8f2;padding:11px 15px;border-radius:5px;cursor:pointer;font:650 12px/1.4 system-ui,sans-serif}
.rc4-secondary-btn:hover,.rc4-introduce:hover{background:#315260}
.rc4-result-pane .rc4-hint{font-size:11px;color:#a7bcbc;margin-top:18px}
.rc4-crew-intro{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:16px}
.rc4-crew-members{display:grid;gap:13px}
.rc4-crew-person{padding:24px;display:flex;gap:18px;align-items:center;border:1px solid #51717c;background:linear-gradient(120deg,#204a60,#17313e);border-left:3px solid #a9d8d9}
.rc4-crew-person:nth-child(2){background:linear-gradient(120deg,#3a3f46,#1c343f);border-left-color:#d5b17d}
.rc4-crew-symbol{width:63px;height:63px;border:1px solid #6799a6;background:#2a657f;display:grid;place-items:center;border-radius:8px;color:#fff6dc;font-size:29px;flex:none}
.rc4-crew-person:nth-child(2) .rc4-crew-symbol{background:#7a5c4b;border-color:#d5a56d}
.rc4-crew-person small,.rc4-crew-aside>span{font:700 9px/1.5 system-ui;letter-spacing:.13em;color:#b5d9de}
.rc4-crew-person h2{font:700 29px/1.25 system-ui;margin:3px 0 4px;color:#f2f5f0}
.rc4-crew-person p{font-size:13px;margin:0 0 13px;color:#d1dede}
.rc4-crew-progress{height:5px;background:#446777;margin-bottom:9px;overflow:hidden;border-radius:4px}.rc4-crew-progress span{display:block;height:100%;background:#83d6e6}
.rc4-crew-aside{padding:23px;border:1px solid #4c6976;background:#152e3d;display:flex;align-items:flex-start;flex-direction:column;gap:12px}
.rc4-crew-aside h3{font-size:21px;margin:0;color:#eaf1ee}.rc4-crew-aside p{font-size:13px;line-height:1.75;margin:0;color:#bcced2}.rc4-crew-aside button{width:100%;text-align:left}
.rc4-hangar-hero{position:relative;overflow:hidden;background:linear-gradient(100deg,#081822f5,#132f3cdb),radial-gradient(ellipse at 90% 40%,#507988,#0a1e2b);border:1px solid #516c75;padding:35px 37px;min-height:220px;display:flex;flex-direction:column;justify-content:center}
.rc4-hangar-hero:after{content:'◈';position:absolute;right:7%;top:8%;font-size:150px;color:#d8c79b14;font-family:Georgia;transform:rotate(-16deg)}
.rc4-hangar-hero h1{font-size:clamp(35px,5vw,59px);font-weight:500;font-family:Georgia,serif;color:#f7f0e6;line-height:1.15;margin:12px 0 9px}
.rc4-hangar-hero p{max-width:625px;color:#b5cbd0;line-height:1.65;font-size:13px;margin:0}
.rc4-hangar-meta{position:absolute;right:35px;bottom:24px;display:grid;text-align:right;color:#e8d49d}
.rc4-hangar-meta strong{font:500 45px/1 Georgia,serif}.rc4-hangar-meta span{font:700 8px/1.7 system-ui;letter-spacing:.17em}
.rc4-role-switch{display:flex;gap:9px;margin:18px 0 8px;flex-wrap:wrap}.rc4-role-switch button{border:1px solid #3c6c81;color:#c3dbe1;background:#173444;padding:12px 16px;font-weight:700;border-radius:5px;cursor:pointer}.rc4-role-switch button.active{color:#fff3d7;background:#2d657e;border-color:#a4d4e4}
.rc4-hangar-note,.rc4-hangar-footer{font-size:11px;color:#a8c0c6;line-height:1.65;max-width:850px}
.rc4-ship-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0 25px}
.rc4-ship-card{min-width:0;background:#112835;border:1px solid #456875;box-shadow:0 8px 25px #0003;display:flex;flex-direction:column;overflow:hidden}
.rc4-ship-media{position:relative;aspect-ratio:16/9;background:radial-gradient(circle at 60% 30%,#49606d,#122936 65%);overflow:hidden}
.rc4-ship-media img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:center;display:block;transition:transform .3s ease}
.rc4-ship-card:hover img{transform:scale(1.025)}
.rc4-ship-media.unavailable img{display:none}.rc4-ship-fallback{position:absolute;inset:0;display:grid;place-content:center;text-align:center;gap:10px;font-size:28px;color:#91b9bd}.rc4-ship-fallback small{font-size:11px}
.rc4-ship-photo-label{position:absolute;z-index:1;bottom:0;left:0;right:0;font-size:10px;color:#edf0e9;background:linear-gradient(transparent,#081822f0);padding:23px 15px 10px}
.rc4-ship-details{padding:20px;display:flex;flex-direction:column;flex:1;gap:11px}
.rc4-ship-overline{font-size:9px;letter-spacing:.12em;color:#d8bf96;text-transform:uppercase;font-weight:750}.rc4-ship-details h2{font:500 clamp(22px,2.4vw,29px)/1.2 Georgia,serif;color:#f6e9da;margin:0}.rc4-ship-details p{font-size:12px;line-height:1.7;color:#bbcdd2;margin:0;min-height:62px}
.rc4-ship-state{display:flex;justify-content:space-between;align-items:center;gap:9px;flex-wrap:wrap;margin:auto 0 0;padding-top:12px;border-top:1px solid #355762;font-size:10px;color:#a9c6cc}.rc4-ship-state a{color:#d6d0ae;text-underline-offset:3px}
.rc4-status-label{display:grid;gap:7px;font-size:11px;color:#a9ced7}.rc4-status-label select{width:100%;min-height:42px;border:1px solid #507f91;background:#183747;color:#eef8fc;border-radius:4px;padding:9px}
.rc4-fleet-confirm{font-size:11px;display:flex;gap:7px;align-items:center;color:#cbd4d4}.rc4-introduce{width:100%;text-align:center}
.r4-fleet-arc{padding:15px 18px;border-left:3px solid #bead7f;background:#1a323e;margin:16px 0}.r4-fleet-arc strong{font-size:13px;color:#f2d8b3}.r4-fleet-arc p{margin:7px 0;line-height:1.7;color:#d8ded9}.r4-fleet-arc small{font-size:11px;color:#a9c5cb}
.rc3-shell .r473-fleet-progress,.rc3-shell .r47-fleet{display:none!important} /* fleet details now live in Hangar */
@media(max-width:850px){.rc4-crew-intro{grid-template-columns:1fr}.rc4-hangar-meta{position:static;text-align:left;margin-top:16px}.rc4-hangar-meta strong{font-size:30px}}
@media(max-width:650px){.rc3-shell .rc4-opening-art{display:none}.rc4-ship-grid{grid-template-columns:1fr}.rc4-hangar-hero{padding:23px;min-height:210px}.rc4-hangar-hero h1{font-size:38px}.rc4-result-facts{grid-template-columns:1fr}.rc4-crew-person{padding:16px}.rc4-crew-person h2{font-size:23px}.rc4-crew-symbol{width:48px;height:48px}.rc4-ship-details{padding:16px}.rc4-role-switch button{flex:1}.rc3-shell .rc2-story-body .r43-page .rc4-episode{padding:14px!important}}
@media(prefers-reduced-motion:reduce){.rc4-ship-media img{transition:none!important}}
