
.cjc-manifest{background:radial-gradient(ellipse at 50% 0%,#1b3047,#060e19 78%);color:#e7e3d9;padding:14px;border:2px solid #b99853;border-radius:18px;font-family:system-ui,sans-serif;box-shadow:inset 0 0 35px #000,0 12px 40px #0004;max-width:100%;box-sizing:border-box}
.cjc-manifest *{box-sizing:border-box}
.cjc-manifest-banner{width:100%;aspect-ratio:1648/928;background:url('crew-manifest-banner.png') center center/contain no-repeat;border-radius:12px;border:1px solid #c7a667;box-shadow:0 0 24px #000b;max-height:none}
.cjc-manifest-header{text-align:center;border-bottom:1px solid #8c713e;padding:16px 4px 14px;margin-bottom:18px}
.cjc-manifest-header span,.cjc-manifest-roster-label{color:#d5b66f;letter-spacing:1px;font-size:11px}
.cjc-manifest-header h2{color:#f3dca7!important;font-size:clamp(19px,2.8vw,30px);margin:8px 0}
.cjc-manifest-header p{color:#bac8d3;margin:6px 0}
.cjc-manifest-header .cjc-manifest-page-label{color:#d5b66f;font-size:11px;letter-spacing:1.5px}
.cjc-manifest-columns{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;width:100%;min-width:0}
.cjc-manifest-column{min-width:0;display:flex;flex-direction:column}
.cjc-manifest-officer{border:1px solid #ac8849;background:linear-gradient(155deg,#233950,#0b1728);border-radius:11px;padding:7px;text-align:center;min-height:230px;box-shadow:inset 0 0 18px #0008,0 4px 10px #0006}
.cjc-manifest-officer img{display:block;width:100%;aspect-ratio:1/1;max-height:170px;object-fit:cover;border:1px solid #c4a361;border-radius:6px;background:#0b1724}
.cjc-manifest-officer h3{font-size:clamp(11px,1.1vw,16px)!important;color:#f4dba5!important;margin:9px 0 5px;overflow-wrap:anywhere;line-height:1.25}
.cjc-manifest-officer p{font-size:11px;color:#c1c9d0;margin:0;overflow-wrap:anywhere}
.cjc-manifest-roster{flex:1;margin-top:9px;padding:10px 5px;min-height:175px;background:#0c1b2a;border:1px solid #566071;border-radius:9px}
.cjc-manifest-roster-label{text-align:center;letter-spacing:.4px;margin-bottom:10px;line-height:1.4}
.cjc-manifest-empty{font-size:11px;color:#899baa;text-align:center}
.cjc-manifest-member{display:flex;gap:5px;align-items:center;background:#1b3042;border:1px solid #42536a;border-radius:7px;margin:7px 0;padding:5px;min-width:0}
.cjc-manifest-member img{width:32px;height:40px;flex:none;object-fit:cover;border-radius:4px}
.cjc-manifest-member div{min-width:0}
.cjc-manifest-member strong{display:block;font-size:12px;color:#f4dfa8;overflow-wrap:anywhere}
.cjc-manifest-member small{display:block;font-size:9px;color:#c1cbd5;overflow-wrap:anywhere}
.cjc-manifest-officer .cjc-officer-rank{color:#e8c47c;font-weight:700}
.cjc-manifest-pagination{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap;padding:20px 0 4px;color:#d7c49b;font-size:12px}
.cjc-manifest-page-button{background:linear-gradient(#c7a567,#8c672d);color:#091522!important;border:1px solid #f4d89c;border-radius:7px;padding:9px 18px;text-decoration:none!important;font-weight:700;box-shadow:0 3px 10px #0009}
.cjc-manifest-page-button:hover,.cjc-manifest-page-button:focus{background:#f2d28e;color:#091522!important}
.cjc-manifest footer{text-align:center;color:#d3b16c;letter-spacing:1px;font-size:11px;padding:16px 4px 5px}
@media(max-width:1050px){.cjc-manifest-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.cjc-manifest-officer{min-height:0}.cjc-manifest-officer h3{font-size:15px!important}}
@media(max-width:560px){.cjc-manifest{padding:9px}.cjc-manifest-banner{aspect-ratio:16/9}.cjc-manifest-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cjc-manifest-officer{padding:6px}.cjc-manifest-roster{min-height:120px}.cjc-manifest-header h2{font-size:20px!important}}

.cjc-manifest .cjc-officer-position{color:#e7c88b;font-size:12px;line-height:1.4;margin-top:7px;overflow-wrap:anywhere}

/* v0.9: Preserve the entire banner including its top heading. */
.cjc-manifest-banner{aspect-ratio:1648/928!important;max-height:none!important;background-size:100% 100%!important;background-position:center!important}

/* v1.4: show every consenting recruit, even if no division commander is assigned. */
.cjc-manifest-unassigned{margin-top:18px;border:1px solid #b99853;border-radius:12px;padding:16px;background:linear-gradient(145deg,#142538,#0b1524)}
.cjc-manifest-unassigned h3{color:#e8cb89!important;font-size:17px!important;margin:0 0 6px;text-align:center;letter-spacing:.08em}
.cjc-manifest-unassigned>p{text-align:center;color:#afc0d0;font-size:12px;margin:0 0 14px}
.cjc-manifest-unassigned-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}
.cjc-manifest-unassigned .cjc-manifest-member{margin:0;padding:9px}
.cjc-manifest-unassigned .cjc-manifest-member img{width:42px;height:48px}
