[data-robot-character]{--robot-accent:#efa65c;position:relative;color:var(--robot-accent)}
[data-robot-character="scout"]{--robot-accent:#82ddd1}
[data-robot-character="engineer"]{--robot-accent:#d0b276}
[data-robot-character="support"]{--robot-accent:#d3a9ec}
.robot-character-image{display:block;opacity:0;user-select:none;pointer-events:none}
.robot-art-ready>.robot-character-image{opacity:1}
.robot-art-fallback{position:absolute;inset:0;display:grid;place-items:center;opacity:.75;pointer-events:none}
.robot-portrait>.robot-art-fallback,.robot-figure>.robot-art-fallback{display:grid;place-items:center}
.robot-portrait>.robot-art-fallback>svg,.robot-figure>.robot-art-fallback>svg{display:block;width:72%;height:89%;fill:currentColor;stroke:none}
.robot-fallback-light{fill:#17333c}
.robot-fallback-orbit{fill:none;stroke:currentColor;stroke-width:2}
.robot-art-ready>.robot-art-fallback{visibility:hidden}
.portrait.robot-portrait{isolation:isolate;overflow:hidden;flex-shrink:0;background:radial-gradient(ellipse at 50% 90%,#35434a 0,transparent 65%),#15202a}
.portrait.robot-portrait>.robot-character-image{width:100%;height:100%;object-fit:cover;object-position:var(--robot-face-position,50% 18%);transform:scale(1.8);transform-origin:50% 20%;filter:drop-shadow(0 2px 3px #0005)}
.robot-portrait>.robot-art-fallback{transform:scale(1.8);transform-origin:50% 20%}
.robot-portrait.big>.robot-character-image{transform:scale(1.2)}
.robot-portrait.big>.robot-art-fallback{transform:scale(1.2)}
.robot-figure{display:block;isolation:isolate;width:150px;height:184px;flex-shrink:0;min-width:0}
.robot-figure>.robot-character-image{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 9px #0005)}
.robot-design-label{display:block;color:var(--robot-accent,#c4d6d1);font-size:10px;line-height:1.7;letter-spacing:.04em;margin-bottom:6px}
.roster-card-head{min-height:184px;gap:16px;align-items:center}
.roster-card-head>div{min-width:0;flex:1}
.roster-character-art{width:150px;height:184px;flex-shrink:0;padding:0;position:relative;border:0;border-radius:6px;background:radial-gradient(ellipse at 50% 68%,#30424b66,transparent 67%)}
.roster-character-art:after{content:'';position:absolute;left:15%;right:15%;bottom:3px;height:1px;background:linear-gradient(90deg,transparent,#506b77,transparent)}
.roster-character-art:hover{background-color:#ffffff04}
.roster-character-art:focus-visible{outline:2px solid var(--mint);outline-offset:3px}
.roster-card-head .roster-meta{flex-wrap:wrap;gap:5px 8px}
.roster-card-head .crew-status{font-size:9px;line-height:1.8;flex-wrap:wrap}
.colonist-detail-header{align-items:center;gap:20px}
.colonist-detail-header>.robot-figure{width:170px;height:208px;background:radial-gradient(ellipse at 50% 68%,#30424b66,transparent 70%)}
.colonist-detail-header>div{min-width:0}
.colonist-detail-header .robot-design-label{font-size:11px;margin-bottom:8px}
.development-overview>header.development-character-header{display:grid;grid-template-columns:176px minmax(0,1fr);column-gap:24px;row-gap:16px;align-items:center}
.development-character-header>.robot-figure{width:176px;height:214px;grid-row:1/3;background:radial-gradient(ellipse at 50% 68%,#30424b66,transparent 70%)}
.development-character-header>.development-character-copy{min-width:0}
.development-character-header>.development-overview-links{grid-column:2;align-items:flex-start;flex-direction:row;flex-wrap:wrap;margin:0;gap:12px 18px}
.development-character-copy>.robot-design-label{font-size:11px}
@media(max-width:1100px){.roster-character-art,.roster-character-art>.robot-figure{width:138px;height:180px}.roster-card-head{gap:12px;min-height:180px}.development-overview>header.development-character-header{grid-template-columns:160px minmax(0,1fr);gap:16px}.development-character-header>.robot-figure{width:160px;height:206px}.development-character-header>.development-overview-links{flex-direction:column;gap:10px}}
@media(max-width:650px){.roster-character-art,.roster-character-art>.robot-figure{width:144px;height:184px}.roster-card-head{gap:12px;min-height:184px}.roster-card-head .robot-design-label{font-size:9px}.colonist-detail-header{gap:14px}.colonist-detail-header>.robot-figure{width:146px;height:188px}.colonist-detail-header .robot-design-label{font-size:10px}.development-overview>header.development-character-header{grid-template-columns:136px minmax(0,1fr);gap:16px 12px}.development-character-header>.robot-figure{grid-row:1;width:136px;height:184px}.development-character-header>.development-overview-links{grid-column:1/-1;align-items:flex-start;flex-direction:row;justify-content:flex-start;gap:12px}.development-character-copy>.robot-design-label{font-size:10px}.development-character-header h2{font-size:21px;line-height:1.5}.development-character-header h2 small{white-space:normal}.development-character-header>.development-character-copy>p{font-size:10px;line-height:1.8}}
@media(max-width:370px){.roster-card{padding:16px}.roster-character-art,.roster-character-art>.robot-figure{width:116px;height:164px}.roster-card-head{gap:10px;min-height:164px}.roster-card-head h3{font-size:14px}.roster-card-head .roster-meta{font-size:9px}.roster-card-head .crew-status{font-size:8px}.colonist-detail-header{gap:10px}.colonist-detail-header>.robot-figure{width:112px;height:164px}.colonist-detail-header h3{font-size:21px}.colonist-detail-header p{font-size:10px}.development-overview>header.development-character-header{grid-template-columns:110px minmax(0,1fr);gap:14px 10px}.development-character-header>.robot-figure{width:110px;height:164px}.development-character-header h2{font-size:19px}.development-character-header>.development-character-copy>p{font-size:9px}}
