
:root{--green:#b9cfff;--dim:#9caecb;--edge:#344157;--yellow:#e8bd83;--muted:#aebacf;--lcars-blue:#93b9e9;--lcars-lavender:#b2a0d2;--lcars-amber:#e7b383}
html{scroll-padding-top:24px}body{background:#05070b;color:#e5eaf3;font:15px/1.7 "Segoe UI",system-ui,sans-serif}a{color:#b9d6ff}a:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid #e7b383;outline-offset:5px}
.site{max-width:1380px;color:#a9b9d0;letter-spacing:.12em;align-items:center;flex-wrap:wrap}.brand{color:#e6ecf6;font-size:17px}.site span:last-child{font-size:11px}
.console{position:relative;max-width:1330px;border:0;border-top:10px solid #7e8dab;border-left:14px solid var(--lcars-lavender);border-radius:42px 0 0 0;padding:16px 24px 24px;background:#080b11;box-shadow:none;margin:0 auto 32px}
.inner{border:0;padding:0 12px 16px}.mast{min-height:100px;gap:22px;margin:0;padding:14px 0 22px;background:none;border-bottom:6px solid var(--lcars-blue);border-radius:0 0 0 24px}.back{background:var(--lcars-amber);color:#121821;border-radius:0 20px 20px 0;padding:12px 18px;font-size:11px;letter-spacing:.08em}.heading h1{color:#eef1f9;font-size:clamp(25px,3vw,38px);font-weight:600;letter-spacing:.04em}.heading p{color:var(--lcars-blue);letter-spacing:.15em}.badge{padding:7px 13px;border-radius:18px;background:#292337;color:#d5c5ef;letter-spacing:.08em}
.hero{gap:26px;margin-top:28px}.image-area{background:#05070b;border-radius:14px;overflow:hidden}.image-area figcaption{color:#b0bdd1;letter-spacing:.07em;font-size:10px}.image-area .affiliation-badge{background:#0c1520;border-color:#3b5068}.image-area #overview{border-color:#344157;padding:16px 13px}.image-area #overview h2{color:#dfd5ef;font-size:16px;font-weight:600}.image-area #overview p{color:#c3cddd;font-size:13px;line-height:1.75}.ship-overview-more summary{color:var(--lcars-blue)}
.side{clip-path:none;background:#0c111a;border:1px solid #344157;border-top:7px solid var(--lcars-blue);border-radius:24px 8px 8px 8px;padding:22px}.eyebrow{color:#a9bedc;font-size:10px}.side h2{color:#dbe6fa;font-size:23px;margin-bottom:20px}.side dt,.spec dt,.full-spec dt{color:#a8bad5}.side dd,.spec dd{color:#e8edf6}.spec,.full-spec{border-color:#29364a}.side .basis,.basis{color:#99acc8}.record-note{color:#a5b5cd}.fact-note{color:#c4cddd}.side .quick-stats{border-color:#344157;border-radius:8px;overflow:hidden;background:#080d15}.side .quick-stats div{border-color:#344157}.quick-stats strong{color:var(--lcars-amber)}.quick-stats span{color:#b4c4dc}
.divider{height:9px;border:0;clip-path:none;background:linear-gradient(90deg,var(--lcars-lavender) 0 18%,transparent 18% 18.5%,#7e8dab 18.5% 55%,transparent 55% 55.5%,var(--lcars-amber) 55.5% 70%,transparent 70% 70.5%,var(--lcars-blue) 70.5%);border-radius:8px 0 0 8px;margin:26px 0}
.body-grid{grid-template-columns:150px minmax(0,1fr);gap:28px}.body-grid>div{min-width:0}.rail{padding:0;border:0;background:none}.rail strong{background:var(--lcars-lavender);color:#15111e;border-radius:22px 0 0 0;padding:17px 14px;font-size:11px}.rail strong br{display:block}.rail a{margin-top:5px;padding:10px 12px;min-height:40px;border-radius:0 18px 18px 0;color:#101722;background:#91abd0;font-size:12px;font-weight:600;line-height:1.4}.rail a:nth-of-type(3n+2){background:#b6a5cf}.rail a:nth-of-type(3n){background:#deb18a}.rail a:hover{filter:brightness(1.12);text-decoration:none}
.full-section{border:0;padding:0;margin:0 0 14px}.ship-section-expand{--section-accent:var(--lcars-blue);border:1px solid #344157;border-left:8px solid var(--section-accent);border-radius:0 22px 8px 8px;background:#0c111a;margin:0}.ship-section-expand>summary{padding:18px 46px 18px 20px;min-height:78px}.ship-section-expand>summary::after{right:20px;color:var(--section-accent);font-size:25px}.ship-section-expand>summary .section-kicker{color:#a3b2cc;font-size:10px;letter-spacing:.1em;margin:0 0 5px}.ship-section-expand>summary h2{font-size:19px;color:#e5ebf6;letter-spacing:normal;line-height:1.4}.ship-section-content{padding:4px 20px 22px}.section-intro,.event p{color:#bdc9da}.section-kicker{color:#b0c0d8}.scope{color:#c4b8da}.crew-card{background:#111a27;border-color:#344157}.crew-card h3,.crew-card a{color:#bed6fb}.data-table th,.data-table td{border-color:#344157}.data-table th{color:#c3d5ee}.alert-note{background:#201b16;border-color:#8e7152;color:#dac6ac}.event{border-color:#5d7293}.event .year{color:var(--lcars-amber)}
#weapons>.ship-section-expand,#history>.ship-section-expand{--section-accent:var(--lcars-amber)}#propulsion>.ship-section-expand,#crew>.ship-section-expand,#variants>.ship-section-expand{--section-accent:var(--lcars-lavender)}
.appearance-filter{background:#0a101a;border-color:#536b90;color:#e2eafa}.footer{color:#a7b8ce}footer{color:#a7b8ce}.table-wrap{max-width:100%;overflow-x:auto}
@media(max-width:900px){.mast{flex-wrap:wrap}.heading{text-align:left;min-width:0}.badge{margin-left:auto}.hero{grid-template-columns:minmax(150px,25%) minmax(0,1fr)}.body-grid{grid-template-columns:1fr}.rail{position:static;display:flex;flex-wrap:wrap;gap:6px}.rail strong{width:100%;border-radius:12px 12px 0 0;padding:10px 14px}.rail a{border-radius:16px;margin:0;padding:9px 14px}.side .specs{grid-template-columns:1fr}.side .quick-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.site{padding:16px;gap:5px}.site span:last-child{width:100%;font-size:10px}.console{margin:0 8px 20px;border-left-width:6px;border-top-width:7px;border-radius:26px 0 0 0;padding:12px 9px 16px}.inner{padding:0 3px}.mast{display:grid;grid-template-columns:minmax(0,1fr);padding:4px 0 15px;gap:13px;border-bottom-width:4px}.back{justify-self:start;padding:9px 14px}.heading h1{font-size:25px;overflow-wrap:anywhere}.heading p{font-size:10px;letter-spacing:.09em}.badge{display:none}.hero{grid-template-columns:1fr;gap:18px;margin-top:20px}.image-area{width:100%}.image-area img{width:50%;margin-inline:auto}.image-area .affiliation-badge{flex-wrap:nowrap;margin-top:8px}.image-area #overview{padding:14px 16px}.side{padding:17px 14px;border-top-width:5px}.side .specs{display:block}.side .spec{grid-template-columns:105px minmax(0,1fr)}.side .full-spec{grid-template-columns:1fr;gap:3px}.side dl div{min-width:0}.side dd{margin-left:0}.side .quick-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.side .quick-stats div{padding:11px}.side .quick-stats span{font-size:9px}.divider{margin:20px 0}.rail a{font-size:11px}.ship-section-expand>summary{padding:15px 35px 15px 12px;min-height:78px}.ship-section-expand>summary h2{font-size:17px}.ship-section-expand>summary::after{right:12px}.ship-section-content{padding:4px 12px 18px}.full-spec{grid-template-columns:1fr}.crew-grid{grid-template-columns:1fr}.event{grid-template-columns:1fr;gap:5px}.appearance-list{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}


.registry-page{max-width:1150px;margin:22px auto 38px;background:#080b11;border-top:7px solid #7e8dab;border-left:10px solid #b2a0d2;border-radius:32px 0 0 0;padding:25px 30px 45px;min-width:0}
.registry-page>nav{display:flex;flex-wrap:wrap;align-items:center;gap:9px;color:#aebacf;font-size:12px;margin-bottom:25px}
.registry-page>nav a{display:inline-block;padding:9px 14px;background:#93b9e9;color:#111923;border-radius:0 18px 18px 0;font-weight:600;text-decoration:none;min-height:40px}
.registry-page>nav a:nth-of-type(2n){background:#b2a0d2}.registry-page>nav a:nth-of-type(3n){background:#e7b383}
.registry-page>header{border:0;border-bottom:5px solid #93b9e9;border-radius:0 0 0 22px;padding:10px 0 24px;margin-bottom:25px}
.registry-page .kicker{color:#a8bcda;font-size:11px;letter-spacing:.12em}.registry-page h1{color:#edf1f9;font-weight:650;letter-spacing:-.025em;line-height:1.15;font-size:clamp(30px,4vw,46px);overflow-wrap:anywhere;margin:15px 0}
.registry-page header p{color:#becbdf}.registry-page h2{color:#d8d1e9;font-size:23px;letter-spacing:normal;line-height:1.4}
.registry-page>h2{border-left:6px solid #b2a0d2;padding:12px 16px;background:#0e1420;border-radius:0 18px 4px 0;margin:26px 0 16px}
.registry-page table{max-width:100%;width:100%;border-collapse:collapse}.registry-page th,.registry-page td{border-color:#2d3b50;overflow-wrap:anywhere}.registry-page th{color:#bdcfea}.registry-page td{color:#e0e8f3}.registry-page small{color:#a6b7cf}
.registry-page .episode-section{border:1px solid #344157;border-left:7px solid #93b9e9;border-radius:0 22px 8px 8px;background:#0c111a;padding:0 20px;margin:18px 0}
.registry-page #cast.episode-section{border-left-color:#b2a0d2}.registry-page .episode-section>summary{padding-top:18px;padding-bottom:18px;min-height:68px}.registry-page .episode-section>summary h2{color:#e1e8f5;font-size:22px}.registry-page .episode-section>summary::after{color:#b2a0d2}
.registry-page #cast tr[data-credit-id]{border-color:#344157}.registry-page #cast td:first-child{color:#ddd5ef}.registry-page footer{color:#a6b7cf;border-color:#344157}
.registry-page ul,.registry-page ol{padding-left:24px}.registry-page li{margin:7px 0;overflow-wrap:anywhere}.registry-page details>summary{cursor:pointer}.registry-page img{max-width:100%;height:auto}
@media(max-width:600px){.registry-page{margin:10px 8px 24px;border-left-width:6px;border-top-width:6px;border-radius:24px 0 0 0;padding:18px 14px 30px;font-size:16px}.registry-page>nav{gap:6px;margin-bottom:18px}.registry-page>nav a{font-size:11px;padding:9px 11px}.registry-page h1{font-size:30px}.registry-page .kicker{font-size:10px}.registry-page>header{padding-bottom:18px}.registry-page .episode-section{padding:0 12px;border-left-width:5px}.registry-page .episode-section>summary h2{font-size:19px}.registry-page th,.registry-page td{padding:10px 8px}.registry-page #cast tr[data-credit-id]{background:#111827}.registry-page #cast td{padding:5px 0}.registry-page #cast td:not(:first-child)::before{color:#a8b9d3}.registry-page .table-wrap{max-width:100%;overflow-x:auto}.registry-page #cast .table-wrap{overflow:visible}}

/* section switcher */
.registry-section-switcher .body-grid .full-section[hidden]{display:none!important}
.ship-section-panel{--section-accent:var(--lcars-blue,#93b9e9);border:1px solid #344157;border-left:8px solid var(--section-accent);border-radius:0 22px 8px 8px;background:#0c111a}
.ship-panel-heading{padding:20px 20px 14px}
.ship-panel-heading .section-kicker{color:#a3b2cc;font-size:10px;letter-spacing:.1em;margin:0 0 5px}
.ship-panel-heading h2{font-size:21px;color:#e5ebf6;letter-spacing:normal;line-height:1.4;margin:0}
.ship-panel-heading h2:focus{outline:none}
.ship-panel-heading h2:focus-visible{outline:2px solid #e7b383;outline-offset:5px}
#weapons>.ship-section-panel,#history>.ship-section-panel{--section-accent:var(--lcars-amber,#e7b383)}
#propulsion>.ship-section-panel,#crew>.ship-section-panel,#variants>.ship-section-panel{--section-accent:var(--lcars-lavender,#b2a0d2)}
.registry-section-switcher .rail a[aria-current="location"]{outline:2px solid #eef1f9;outline-offset:-3px;box-shadow:inset 5px 0 0 #eef1f9}
@media(max-width:600px){.ship-panel-heading{padding:17px 12px 12px}.ship-panel-heading h2{font-size:19px}.ship-section-panel{border-left-width:5px}}
@media print{.registry-section-switcher .body-grid .full-section[hidden]{display:block!important}}

/* identification panel */

.ship-directory-workspace,.ship-panel-area{min-width:0}
.hero:has(>.ship-directory-workspace){grid-template-columns:minmax(165px,19%) minmax(0,1fr);align-items:start}
.ship-directory-workspace .body-grid{margin:0;align-items:start}
.identification-section .vessel-identification-content{border:0;background:none;clip-path:none;border-radius:0;padding:0}
.vessel-identification-content .registry-id{color:#dbe6fa;font-size:23px;font-weight:500;margin:0 0 20px}
.ship-directory-workspace .full-section{margin-bottom:0}
@media(max-width:1050px){.hero:has(>.ship-directory-workspace){grid-template-columns:1fr}.hero:has(>.ship-directory-workspace)>.image-area{width:100%}.hero:has(>.ship-directory-workspace)>.image-area img{width:30%;max-width:260px;margin-inline:auto}.hero:has(>.ship-directory-workspace)>.image-area #overview{max-width:640px;align-self:center}.ship-directory-workspace .body-grid{grid-template-columns:1fr}.ship-directory-workspace .rail{position:static;display:flex;flex-wrap:wrap;gap:6px}.ship-directory-workspace .rail strong{width:100%;border-radius:12px 12px 0 0;padding:10px 14px}.ship-directory-workspace .rail strong br{display:none}.ship-directory-workspace .rail a{border-radius:16px;margin:0;padding:9px 14px}}
@media(max-width:600px){.hero:has(>.ship-directory-workspace)>.image-area img{width:50%}.vessel-identification-content .registry-id{font-size:20px}}

/* panel typography */
:root{--registry-font:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;--registry-text:#e1e8f3;--registry-secondary:#bac8dc;--registry-label:#a9bedb;--registry-link:#b9d6ff;--registry-note:#a8b8ce}
body,input,button,select,textarea,table{font-family:var(--registry-font)}
.ship-section-panel,.ship-section-content,.registry-page,.side,.crew-card{font-family:var(--registry-font);color:var(--registry-text)}
.ship-panel-heading h2,.ship-section-expand>summary h2,.registry-page h2{font-family:var(--registry-font);font-size:22px;font-weight:600;line-height:1.4;letter-spacing:normal;color:#e4eaf5}
.ship-section-content p,.section-intro,.event p,.notes p,.panel p{font-size:14px;line-height:1.8;color:var(--registry-secondary)}
.full-spec dt,.spec dt,.side dt{font-size:13px;line-height:1.6;font-weight:600;color:var(--registry-label)}
.full-spec dd,.spec dd,.side dd{font-size:15px;line-height:1.7;color:var(--registry-text)}
.basis,.record-note,.fact-note,.source-note,.muted{font-family:var(--registry-font);font-size:12px;line-height:1.75;color:var(--registry-note)}
.basis a,.ship-section-content a,.crew-card a,.appearance-list a,.data-table a,.registry-page a:not(nav a){color:var(--registry-link);text-underline-offset:3px}
.scope{font-family:var(--registry-font);font-size:10px;line-height:1.5;letter-spacing:.06em;color:#d0c1e6;background:#252033;border-radius:4px;width:fit-content;max-width:100%;padding:3px 7px;margin-top:6px}
.crew-card{border-color:#344157;background:#111a27}.crew-card h3{font-size:16px;line-height:1.5;font-weight:600;color:#d7d0e9}.crew-card h3 a{color:#bfd8fc}.crew-card p{font-size:13px;line-height:1.7;color:var(--registry-secondary)}.crew-card .service{font-size:12px;color:#e7b383}
.event h3{font-family:var(--registry-font);font-size:17px;line-height:1.45;font-weight:600;color:#ddd3ed}.event .year{font-family:var(--registry-font);font-size:13px;color:#e7b383}.event p{font-size:14px;color:var(--registry-secondary)}
.data-table{font-family:var(--registry-font);font-size:14px;line-height:1.7}.data-table th{font-size:11px;line-height:1.5;font-weight:600;color:#c3d5ee;background:#131d2b;border-color:#344157;letter-spacing:.06em}.data-table td{font-size:14px;line-height:1.7;color:var(--registry-text);border-color:#344157}.data-table td:first-child{color:#d8cce9}.data-table caption{font-size:12px;line-height:1.7;color:var(--registry-note)}
.appearance-group h3{font-family:var(--registry-font);font-size:16px;font-weight:600;line-height:1.5;color:#dbd0ec}.appearance-list li{font-size:14px;line-height:1.75;color:var(--registry-text)}.appearance-list small{font-size:12px;color:var(--registry-note);line-height:1.65}.appearance-filter{font-family:var(--registry-font);font-size:14px;color:var(--registry-text);background:#0a101a;border-color:#536b90}.appearance-filter::placeholder{color:#acbdd4}
.alert-note{font-family:var(--registry-font);font-size:13px;line-height:1.8;background:#211b15;border-color:#b28a5e;color:#e5cfb3}.alert-note strong{color:#f0d6b5}
.registry-page table{font-family:var(--registry-font);font-size:15px;line-height:1.7}.registry-page td{color:var(--registry-text)}.registry-page th{color:var(--registry-label);font-weight:600}.registry-page small{font-size:12px;color:var(--registry-note)}
.image-area #overview p{font-family:var(--registry-font);font-size:14px;color:var(--registry-secondary)}.ship-overview-more summary{font-family:var(--registry-font);font-size:13px;color:var(--registry-link)}
@media(max-width:600px){.ship-panel-heading h2,.ship-section-expand>summary h2,.registry-page .episode-section>summary h2{font-size:19px}.crew-card h3{font-size:16px}.appearance-list li,.data-table td{font-size:14px}.registry-page #cast td:first-child{font-size:18px;font-weight:600}.registry-page #cast td:not(:first-child){font-size:15px}}

/* shared ship layout */
.registry-ship-page{margin:22px auto 32px;max-width:1330px;width:calc(100% - 32px);padding:20px 24px 28px;color:#e1e8f3;font:14px/1.8 "Segoe UI",system-ui,sans-serif}
.registry-ship-page *{box-sizing:border-box}.registry-ship-page .inner{padding:0 12px 16px}
.registry-ship-page .registry-ship-breadcrumb{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px;padding:0;font-size:12px}
.registry-ship-page .registry-ship-breadcrumb a{background:#93b9e9;color:#101722;padding:8px 12px;border-radius:0 18px 18px 0;text-decoration:none}
.registry-ship-page .mast{display:flex;justify-content:space-between;align-items:center;border-top:0;gap:20px;padding:12px 0 24px;margin:0;border-bottom:6px solid #93b9e9;background:none}
.registry-ship-page .heading{min-width:0}.registry-ship-page .heading h1{margin:8px 0 10px;font-size:clamp(25px,3vw,38px);line-height:1.2;color:#eef1f9;font-weight:600;letter-spacing:.03em}
.registry-ship-page .heading p{font-size:11px;color:#a9bedb;margin:0;letter-spacing:.1em}.registry-ship-page .badge{font-size:10px;white-space:nowrap}
.registry-ship-page .hero{display:grid;grid-template-columns:minmax(165px,19%) minmax(0,1fr);gap:26px;margin-top:28px;align-items:start}
.registry-ship-page .image-area{margin:0;min-width:0;max-width:100%;background:#05070b;border-radius:14px;overflow:hidden}
.registry-ship-placeholder{height:118px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:linear-gradient(140deg,#0b1520,#05070b);color:#a9bedb;font-size:9px;letter-spacing:.08em;border:1px solid #29384c}
.registry-placeholder-mark{font-size:42px;color:#93b9e9;line-height:1.2}.registry-ship-page figcaption{padding:14px 10px;text-align:center;overflow-wrap:anywhere}
.registry-ship-page .affiliation-badge{display:flex;flex-direction:column;align-items:flex-start;border:1px solid #3b5068;padding:12px 10px;background:#0c1520;gap:3px}
.registry-ship-page .affiliation-label{font-size:10px;color:#b2a0d2;letter-spacing:.09em}.registry-ship-page .affiliation-name{font-size:12px;color:#dbe6fa;overflow-wrap:anywhere}
.affiliation-badge .affiliation-timeline{display:block;font:11px/1.6 "Segoe UI",system-ui,sans-serif;color:#e1e8f3;margin-top:5px;overflow-wrap:anywhere}
.affiliation-badge .affiliation-pair{display:flex;flex-direction:column;width:100%;padding:5px 0}.affiliation-badge .affiliation-pair+.affiliation-pair{border-top:1px solid #344157;margin-top:6px;padding-top:10px}
.registry-page .class-scope-label{display:inline;color:#bac8dc;font-size:13px;font-weight:500;margin-left:5px}.registry-page .class-scope-note{margin:6px 0 16px;font-size:13px;line-height:1.7;color:#a8b8ce}
.registry-game-origin{display:inline;font:500 14px/1.6 "Segoe UI",system-ui,sans-serif;letter-spacing:0;color:#e1e8f3;overflow-wrap:anywhere}
.class-affiliation-controls{display:grid;grid-template-columns:auto minmax(180px,320px) 1fr;align-items:center;gap:12px 16px;padding:16px 18px;margin:24px 0;border:1px solid #344157;border-left:5px solid #b2a0d2;border-radius:0 18px 6px 6px;background:#0c111a}
.class-affiliation-controls label{font-size:14px;font-weight:600;color:#dbe6fa;margin:0}.class-affiliation-controls select{font:14px "Segoe UI",system-ui,sans-serif;background:#111b27;color:#e1e8f3;border:1px solid #60758f;border-radius:5px;padding:10px 12px;min-height:44px;max-width:100%;width:100%}.class-affiliation-controls .class-filter-count{font-size:13px;color:#bac8dc;margin:0}.class-directory-list>li[hidden]{display:none!important}
@media(max-width:600px){.class-affiliation-controls{grid-template-columns:1fr;gap:8px;padding:14px}.class-affiliation-controls select{min-width:0}.class-affiliation-controls .class-filter-count{margin-top:2px}}
.registry-ship-page #overview{font-size:13px;line-height:1.8;border-top:1px solid #344157;margin:18px 0 0;padding:16px 12px;color:#bac8dc}
.registry-ship-page .body-grid{display:grid;grid-template-columns:150px minmax(0,1fr);gap:28px;align-items:start;margin:0}
.registry-ship-page .rail{display:flex;flex-direction:column;gap:5px;margin:0;padding:0;min-width:0}.registry-ship-page .rail strong{display:block;line-height:1.4}.registry-ship-page .rail a{display:block;margin:0;text-decoration:none;white-space:normal}
.registry-ship-page .ship-panel-area{min-width:0}.registry-ship-page .full-section[hidden]{display:none!important}
.registry-ship-page .ship-section-panel{padding:24px 20px;border:1px solid #344157;border-left:7px solid #b2a0d2;border-radius:0 24px 8px 8px;background:#0c111a}
.registry-ship-page .ship-panel-heading h2{font:600 22px/1.4 "Segoe UI",system-ui,sans-serif;color:#e1e8f3;margin:0 0 25px}
.registry-ship-page .ship-section-content{font-size:14px;color:#bac8dc;line-height:1.8}.registry-ship-page .ship-section-content>h2{font-size:17px;color:#c5b7dd;margin:22px 0 12px}
.registry-ship-page .registry-record-kind{font-size:12px;color:#a9bedb}.registry-ship-identity{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px}.registry-ship-identity dt{color:#a9bedb;font-weight:600}.registry-ship-identity dd{margin:0;color:#e1e8f3;overflow-wrap:anywhere}
.registry-ship-page .registry-ship-fact-group{margin:20px 0 0}.registry-ship-page .registry-ship-fact-group h3{font-size:15px;color:#c5b7dd;line-height:1.5;margin:0 0 10px}.registry-ship-page .registry-group-context{font-size:12px;color:#a8b8ce;margin:0 0 10px}
.registry-ship-page table{width:100%;border-collapse:collapse;table-layout:fixed;font:14px/1.75 "Segoe UI",system-ui,sans-serif;background:none}
.registry-ship-page th,.registry-ship-page td{padding:12px 8px;border:0;border-bottom:1px solid #29384c;text-align:left;vertical-align:top;overflow-wrap:anywhere;background:none;color:#e1e8f3}
.registry-ship-page th{width:34%;font-size:13px;font-weight:600;color:#a9bedb}.registry-ship-page td small{display:block;font-size:12px;line-height:1.7;color:#a8b8ce;margin-top:5px}
.registry-ship-page a{color:#b9d6ff}.registry-ship-page .rail a{color:#101722}.registry-ship-page .note{color:#bac8dc;font-size:13px}.registry-ship-page .field-group{margin:18px 0}.registry-ship-page .field-group h3{font-size:13px;color:#a9bedb;text-transform:capitalize}.registry-ship-page .value{font-size:15px;line-height:1.8;overflow-wrap:anywhere}
@media(max-width:1050px){.registry-ship-page .hero{grid-template-columns:1fr}.registry-ship-page .image-area{max-width:100%;display:grid;grid-template-columns:180px minmax(0,1fr);align-items:start}.registry-ship-page .image-area figcaption{grid-column:1}.registry-ship-page .image-area .affiliation-badge{grid-column:2;grid-row:1}.registry-ship-page #overview{grid-column:2;grid-row:2;margin:0}.registry-ship-page .body-grid{grid-template-columns:1fr;gap:18px}.registry-ship-page .rail{flex-direction:row;flex-wrap:wrap;gap:6px}.registry-ship-page .rail strong{width:100%}.registry-ship-page .rail a{min-height:44px;padding:11px 14px}}
@media(max-width:600px){.registry-ship-page{width:calc(100% - 16px);padding:16px 10px;border-left-width:7px;border-top-width:7px;border-radius:25px 0 0 0}.registry-ship-page .inner{padding:0}.registry-ship-page .mast{align-items:flex-start;flex-direction:column;gap:8px}.registry-ship-page .heading h1{font-size:28px;overflow-wrap:anywhere}.registry-ship-page .hero{gap:18px;margin-top:20px}.registry-ship-page .image-area{grid-template-columns:118px minmax(0,1fr)}.registry-ship-placeholder{height:100px;font-size:8px}.registry-placeholder-mark{font-size:32px}.registry-ship-page #overview{padding:10px;font-size:12px}.registry-ship-page .ship-section-panel{padding:18px 12px;border-left-width:5px}.registry-ship-page .ship-panel-heading h2{font-size:19px}.registry-ship-page th{width:38%}.registry-ship-page th,.registry-ship-page td{padding:10px 5px}.registry-ship-page .rail a{font-size:12px}}

.full-registry-body{background:#05070b;color:#e1e8f3;font-family:"Segoe UI",system-ui,sans-serif}
.full-registry-body>header{background:#080b11;border:0;padding:18px max(20px,calc((100vw - 1150px)/2));font-family:inherit}
.full-registry-body .brand span{color:#b2a0d2}
.full-registry-page{max-width:1250px;padding:26px 28px 40px}
.full-registry-page>h1{border-bottom:5px solid #93b9e9;border-radius:0 0 0 22px;padding:12px 0 24px;margin:10px 0 20px}
.full-registry-page .registry-directory-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:start;margin-top:24px}
.full-registry-page .registry-directory-menu{display:flex;flex-direction:column;gap:6px;margin:0;position:sticky;top:18px}
.registry-directory-menu strong{display:block;background:#b2a0d2;color:#101722;border-radius:22px 0 0 0;padding:18px 12px;font-size:12px;letter-spacing:.05em;text-transform:uppercase}
.registry-directory-menu a{display:block;background:#93b9e9;color:#101722;border-radius:0 22px 22px 0;padding:12px;font-size:13px;font-weight:600;text-decoration:none;min-height:44px}
.registry-directory-menu a:nth-of-type(2n){background:#b2a0d2}.registry-directory-menu a:nth-of-type(3n){background:#e7b383}
.registry-directory-menu a[aria-current]{background:#f1c59e;outline:2px solid #f9dfc8;outline-offset:-3px}
.registry-directory-panels{min-width:0}.registry-directory-panels>section.block{margin:0;background:#0c111a;border:1px solid #344157;border-left:7px solid #b2a0d2;border-radius:0 24px 9px 9px;padding:24px}
.registry-directory-panels>section[hidden]{display:none!important}
.full-registry-page .block h2{font-size:22px;color:#e1e8f3;margin-top:0}.full-registry-page .field-group h3{font-size:13px;color:#a9bedb;text-transform:capitalize}
.full-registry-page .facts article,.full-registry-page .card{background:#111b27;border-color:#344157;border-radius:2px}
.full-registry-page .value{font-size:15px;line-height:1.8;color:#e1e8f3}.full-registry-page a{color:#b9d6ff}.full-registry-page>nav a,.full-registry-page .registry-directory-menu a{color:#101722}
.full-registry-page .notice{color:#d7c6b9;background:#211c17;border-left-color:#e7b383;font-size:13px}
.full-registry-page .pill,.full-registry-page .muted,.full-registry-page small{color:#a8b8ce}.full-registry-page .pill{background:#171c2a;border-color:#344157}
.full-registry-page .stats{color:#b2a0d2}.full-registry-page .component{border-left-color:#b2a0d2}
.full-registry-page .controls{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr)}
@media(max-width:700px){.full-registry-page{padding:18px 14px 30px}.full-registry-page .registry-directory-layout{grid-template-columns:1fr;gap:16px}.full-registry-page .registry-directory-menu{position:static;flex-direction:row;flex-wrap:wrap;gap:6px}.registry-directory-menu strong{width:100%;border-radius:18px 0 0 0;padding:13px}.registry-directory-menu a{padding:11px 13px}.registry-directory-panels>section.block{padding:18px 14px;border-left-width:5px}.full-registry-page .controls{grid-template-columns:1fr}.full-registry-page .facts{grid-template-columns:1fr}}

/* Reader navigation, search controls, and narrow-screen tables. */
.reference-skip{position:absolute;top:-120px;left:12px;z-index:10000;background:#ffdbaf;color:#10131b;padding:12px 18px;border-radius:6px}
.reference-skip:focus{top:8px}.reference-breadcrumb{display:flex;gap:10px 24px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #46516a;font-size:14px}
.reference-table-scroll{width:100%;max-width:100%;overflow-x:auto;margin:12px 0;overscroll-behavior-x:contain}
.reference-table-scroll:focus-visible{outline:3px solid #e6bc91;outline-offset:3px}
.reference-search-tools{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:16px 0}
.reference-search-tools>div{flex:1 1 230px}.reference-search-tools button{min-height:46px}
#page-jump-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 18px 18px}
#page-jump-form label{margin:0}#page-jump{width:90px}.reference-guide-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:16px}
.reference-guide-card{border:1px solid #52617c;border-radius:12px;padding:20px;background:#111b2d}.reference-guide-card h3{margin-top:0;font-size:20px}
.reference-guide-card ul{padding-left:20px}.reference-guide-card li{margin:10px 0}.reference-guide-card p{color:#c1cddd}
.reference-guide-links{display:flex;gap:12px;flex-wrap:wrap}.reference-guide-links a{padding:10px 16px;border:1px solid #6f87a8;border-radius:7px}
.reference-search-hint{font-size:14px;color:#bcc9db}.source-format{border-bottom:1px dotted #677d98}
@media(max-width:600px){.reference-breadcrumb{gap:8px 16px}.reference-search-tools{align-items:stretch}.reference-search-tools button{width:100%}.pager{gap:8px!important}.reference-guide-card{padding:16px}}
@media print{.reference-skip,.reference-breadcrumb{display:none}.reference-table-scroll{overflow:visible}}

/* Legacy anchors must not occupy portrait grid cells. */
.character-profile-portraits{position:relative}.character-profile-portraits>.legacy-credit-anchor{position:absolute;inline-size:0;block-size:0;pointer-events:none}

/* Group character service facts and personal details in one consistent layout. */
.character-fact-set{border:1px solid #46516a;border-radius:12px;background:#101723;padding:20px;margin:24px 0}
.character-fact-set>h3{font-size:1.18rem;color:#e6bc91;margin:0 0 18px;line-height:1.35}
.character-facts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.character-facts-grid>.field-group{margin:0;min-width:0}
.character-fact-set h4{font-size:1rem;color:#b9d5ed;margin:0 0 8px}
.character-fact-set h5{font-size:.95rem;color:#b9d5ed;margin:0 0 8px}
.character-facts-grid>.character-fact-wide{grid-column:1/-1}
.character-facts-grid>.field-group>.facts{display:block}
.character-fact-set .facts article{margin:0 0 8px;min-width:0}
@media(max-width:700px){.character-facts-grid{grid-template-columns:1fr;gap:16px}.character-fact-set{padding:16px}}
