/* Remove reserved scrollbar strips and align table edges across sections. */
.table-wrap,.catalog-table-wrap,.personnel-table-wrap,.skill-target-scroll,.distance-chart-wrap{scrollbar-gutter:auto!important;box-sizing:border-box;padding:0}
.compact-compare-wrap{width:100%;max-width:100%;background:transparent}
.compact-compare-wrap>table{width:100%!important;margin:0;border-spacing:0!important;border-collapse:collapse!important}
.compact-compare-table .catalog-name-cell img{max-width:160px;height:82px!important}
.compact-compare-table .catalog-name-cell strong{line-height:1.65}
.compact-compare-table .personnel-commander-identity{display:block!important;position:relative;min-height:112px;width:100%;padding:4px 48px 3px 48px;box-sizing:border-box;text-align:center}
.commander-main-identity{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0}
.compact-compare-table .personnel-commander-identity .commander-portrait{display:block;width:78px;height:78px;flex:none;margin:0 auto;object-fit:contain}
.compact-compare-table .commander-main-identity strong{display:block;width:100%;font-size:14px;font-weight:500;overflow-wrap:anywhere;line-height:1.65;text-align:center}
.commander-insignia{position:absolute;right:0;top:10px;width:47px;display:flex;flex-direction:column;align-items:center;gap:7px}
.compact-compare-table .personnel-commander-identity .commander-unit-insignia{width:46px;height:46px;flex:none;object-fit:contain;margin:0;filter:none}
#characters-content .commander-gold-stars{display:block;font-size:14px;line-height:1.4;letter-spacing:1px;color:#e9c36d!important;white-space:nowrap}
.personnel-main-zones{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}
.personnel-kind-zone{position:relative;isolation:isolate;overflow:hidden;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;text-align:left;padding:18px 22px;min-height:150px;border:1px solid #627d8b;color:#e0e8ea;background:#203b4c;cursor:pointer;font:inherit}
.personnel-kind-zone:before{content:'';position:absolute;z-index:-2;inset:0;background-image:var(--personnel-zone-art);background-repeat:no-repeat;background-position:right 12px center;background-size:auto 170px;opacity:.92}
.personnel-kind-zone:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(17,36,49,.98),rgba(17,36,49,.75) 46%,rgba(17,36,49,.12))}
.personnel-kind-zone .zone-register{font-size:9px;letter-spacing:1.6px;color:#aac4d1}.personnel-kind-zone strong{font-size:27px;line-height:1.4;font-weight:600;color:#eaf0f1}.personnel-kind-zone small{font-size:12px;color:#b8ced7}.personnel-kind-zone .zone-open{position:absolute;right:14px;bottom:12px;color:#dccb99;font-size:18px}.personnel-kind-zone.active{border-color:#d2bc81;box-shadow:inset 3px 0 #d2bc81}.personnel-kind-zone.active strong{color:#f0dfab}.personnel-kind-zone:hover{border-color:#b4c7ca}
#view-characters>.page-title,#equipment-overview-title{background-image:linear-gradient(90deg,rgba(12,28,42,.95) 0%,rgba(12,28,42,.83) 36%,rgba(12,28,42,.33) 73%,rgba(12,28,42,.48)),url('assets/tcr/bridge-star-map-screen.png');background-position:center,center 48%;background-size:cover;background-repeat:no-repeat;border:1px solid #647b8d77;border-left:3px solid #b7a987;padding:23px 24px;min-height:146px;margin:20px 0;overflow:hidden;box-sizing:border-box}
#view-characters>.page-title h1{font-size:30px;margin:5px 0 7px;text-shadow:0 2px 10px #0009}#view-characters>.page-title p{color:#c6d2db;text-shadow:0 1px 5px #0009}#view-characters>.page-title .data-count{background:rgba(18,38,52,.8);backdrop-filter:blur(5px)}
/* Detail content stays complete while reducing framing and repeated spacing. */
.personnel-detail-header{padding:17px 20px 12px}.personnel-detail-header h2{font-size:28px;margin:5px 0}.personnel-detail-header p{font-size:12px;margin:5px 0}
.personnel-detail-hero{grid-template-columns:230px minmax(0,1fr);padding:0 20px 18px;gap:18px;align-items:start}
.personnel-portrait-stage{height:320px;min-height:0;padding:7px}.personnel-portrait-variants{margin-top:7px;gap:5px}.personnel-portrait-variants button{font-size:10px;padding:6px 8px}.personnel-full-link{margin-top:5px;font-size:10px}.personnel-insignia{gap:10px;margin-top:9px;padding-top:8px}.personnel-insignia img{height:58px}.personnel-insignia figcaption{font-size:9px}
.personnel-game-bio{font-size:12px;line-height:1.8}.personnel-game-bio h3,.personnel-base h3{font-size:14px;margin:0 0 8px}.personnel-game-bio p{margin:5px 0}.personnel-base{margin-top:14px;padding-top:12px}.personnel-attributes{gap:5px}.personnel-attributes>div{padding:8px 10px}.personnel-attributes dt{font-size:10px}.personnel-attributes dd{font-size:21px;margin-top:3px}.personnel-service-stats{margin:11px 0;gap:6px 12px}.personnel-service-stats dt{font-size:10px}.personnel-service-stats dd{font-size:13px}
.personnel-basis-note{font-size:10px;line-height:1.75;margin-top:7px}.personnel-promotion-summary{gap:8px 20px;padding:10px 12px;margin:11px 0!important}.personnel-promotion-summary strong{font-size:22px}.personnel-promotion-summary>div>span{font-size:10px}.personnel-promotion-summary>details{font-size:11px;padding-top:6px}.personnel-acquisition{font-size:11px;line-height:1.8;margin:8px 0}.personnel-unlock-details{padding:8px 10px;margin:8px 0;font-size:11px}.personnel-unlock-details p{margin:7px 0}.personnel-unlock-details :is(th,td){font-size:11px;padding:6px}.personnel-fold{margin:0 20px 12px;font-size:11px}.personnel-fold>summary{padding:9px 11px}.personnel-fold>p{margin:9px 11px}.personnel-skills{padding:16px 20px}.personnel-section-heading>h2{font-size:18px}.personnel-perk-copy>p{font-size:11px;line-height:1.7}.personnel-perk h4{font-size:14px}.personnel-planner{padding:11px 13px;margin-bottom:12px}.personnel-planner h3{font-size:14px}.personnel-planner-totals{gap:6px 17px;margin-top:8px;padding-top:8px}.personnel-planner-total strong{font-size:22px}.personnel-planner-header p{font-size:10px}
.personnel-growth{padding:11px 12px;margin:12px 0}.personnel-growth h3{font-size:15px;margin-bottom:6px}.personnel-growth>p{font-size:11px;line-height:1.7;margin:6px 0}.personnel-growth>.growth-controls{display:flex;gap:10px;margin:9px 0}.growth-controls label{font-size:10px}.growth-controls input[type=number]{width:90px}.growth-advanced{border-top:1px solid #4c6471;font-size:11px;padding-top:5px}.growth-advanced>summary,.growth-full-results>summary{cursor:pointer;font-size:11px;color:#bacdd7;padding:5px 0}.growth-advanced>.growth-controls{margin:9px 0}.growth-run-bar{margin:9px 0;gap:8px}.growth-run-bar button{padding:7px 10px;font-size:11px}.growth-run-bar span{font-size:9px}.growth-basic-results table{min-width:0!important;width:100%;table-layout:fixed}.growth-basic-results :is(th,td){padding:7px!important;min-width:0;overflow-wrap:anywhere;font-size:11px}.growth-result-note{font-size:10px}.growth-explanation{font-size:11px;margin-top:8px;padding-top:5px}.growth-explanation>summary{font-size:11px}.growth-full-results{margin-top:8px}.growth-inputs{font-size:11px}.growth-inputs>summary{font-size:11px}
.personnel-detail>.personnel-growth{margin:0 20px 14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 15px}.personnel-detail>.personnel-growth>h3,.personnel-detail>.personnel-growth>p{grid-column:1/-1}.personnel-detail>.personnel-growth>.growth-controls{grid-column:1;grid-row:3;margin:5px 0}.personnel-detail>.personnel-growth>.growth-run-bar{grid-column:2;grid-row:3;margin:5px 0;align-self:end}.personnel-detail>.personnel-growth>.growth-advanced{grid-column:1/-1;grid-row:4}.personnel-detail>.personnel-growth>[data-growth-results]{grid-column:1/-1;grid-row:5;min-width:0}.personnel-detail>.personnel-growth>.growth-explanation{grid-column:1/-1;grid-row:6}
.pincer-range-detail{border:1px solid #536c7b;background:rgba(20,42,55,.5);padding:13px;margin:10px 0}.pincer-range-detail h4{font-size:15px;color:#e1d0a0;margin:0 0 10px}.pincer-range-values{display:flex;flex-wrap:wrap;gap:8px 20px;color:#bad0dc;font-size:12px;margin:8px 0}.pincer-range-values b{color:#ead193;font-size:15px;font-weight:500;margin-left:5px}.pincer-range-detail>p{font-size:12px;line-height:1.85;color:#c3d3dc}.pincer-scenarios{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.pincer-example{margin:0;padding:10px;background:rgba(22,43,57,.7);border:1px solid #536d7a}.pincer-example h5{font-size:12px;color:#aaceb5;margin:0 0 7px}.pincer-example.invalid h5{color:#e0ad92}.pincer-grid{display:block;width:100%;height:auto;max-width:350px;margin:auto}.pincer-cell{fill:#203542;stroke:#415966;stroke-width:.65}.pincer-cell.search{fill:#365c6b;stroke:#7aa6b8}.pincer-cell.owner{fill:#285986;stroke:#b4d6ec}.pincer-cell.enemy{fill:#7c3b44;stroke:#e2a0a4}.pincer-cell.ally{fill:#37694c;stroke:#a7d1ad}.pincer-cell.invalid{fill:#765036;stroke:#dfb78a}.pincer-grid text{fill:#f2eee1;font-size:11px}.pincer-grid .pincer-tick{fill:#b3c7d0;font-size:10px}.pincer-example figcaption{font-size:11px;line-height:1.8;color:#b9cdd8;margin-top:6px}.pincer-legend{display:flex;flex-wrap:wrap;gap:6px 17px;font-size:10px;color:#acc4d1}
@media(max-width:1120px) and (min-width:1001px){.compact-compare-table .personnel-commander-identity{display:block!important;padding:4px 41px;min-height:103px}.compact-compare-table .personnel-commander-identity .commander-portrait{width:65px;height:65px}.commander-insignia{width:39px;top:8px}.compact-compare-table .personnel-commander-identity .commander-unit-insignia{width:37px;height:37px}.compact-compare-table .commander-main-identity strong{font-size:12px}.commander-gold-stars{font-size:12px!important}}
@media(max-width:1000px){
 .compact-compare-table .personnel-commander-identity{padding:5px 65px;min-height:127px}.compact-compare-table .personnel-commander-identity .commander-portrait{width:89px;height:89px;flex:none;margin:0 auto}.compact-compare-table .commander-main-identity strong{font-size:16px}.commander-insignia{width:58px;right:8px;top:14px}.compact-compare-table .personnel-commander-identity .commander-unit-insignia{width:55px;height:55px}.commander-gold-stars{font-size:15px!important}
 .compact-compare-table .catalog-name-cell img{width:125px!important;height:72px!important;flex-basis:125px;max-width:36%}.personnel-main-zones{gap:9px}.personnel-kind-zone{padding:14px;min-height:133px}.personnel-kind-zone strong{font-size:23px}.personnel-kind-zone small{font-size:10px}.personnel-kind-zone:before{background-position:right -9px center;background-size:auto 150px}.personnel-kind-zone:after{background:linear-gradient(90deg,rgba(17,36,49,.97),rgba(17,36,49,.70) 52%,rgba(17,36,49,.1))}
 .personnel-detail-hero{grid-template-columns:200px minmax(0,1fr);padding:0 14px 14px;gap:14px}.personnel-portrait-stage{height:285px}.personnel-attributes{grid-template-columns:repeat(3,minmax(0,1fr))}.personnel-fold{margin-left:14px;margin-right:14px}.personnel-skills{padding:14px}.personnel-profile{min-width:0}.personnel-growth>.growth-controls{display:flex;flex-wrap:wrap}.personnel-growth>.growth-controls label{flex:1 1 100px}.personnel-growth>.growth-controls input{width:100%;box-sizing:border-box}
 .personnel-detail>.personnel-growth{margin:0 14px 12px;display:block}.personnel-detail>.personnel-growth>.growth-run-bar{display:flex;margin:8px 0}
}
@media(max-width:760px){
 .pincer-scenarios{grid-template-columns:1fr}.pincer-range-detail{padding:10px}.pincer-range-values{gap:7px 13px;font-size:11px}
 #view-characters>.page-title,#equipment-overview-title{padding:18px 16px;min-height:138px;gap:10px;margin:14px 0;background-position:center,61% center}#view-characters>.page-title h1{font-size:25px}#view-characters>.page-title .data-count{font-size:10px}.personnel-main-zones{grid-template-columns:repeat(2,minmax(0,1fr))}.personnel-kind-zone{min-height:132px;gap:7px}.personnel-kind-zone strong{font-size:21px}.personnel-kind-zone .zone-register{font-size:7px;letter-spacing:.7px}.personnel-kind-zone small{max-width:92px;line-height:1.6}.personnel-kind-zone:before{background-position:right -18px center;opacity:.75}.personnel-kind-zone .zone-open{font-size:15px;right:9px;bottom:8px}.personnel-detail-header{padding:14px}.personnel-detail-header h2{font-size:25px}.personnel-detail-hero{display:block;padding:0 14px 14px}.personnel-portrait-panel{max-width:265px;margin:0 auto 16px}.personnel-portrait-stage{height:295px}.personnel-insignia{justify-content:center}.personnel-insignia img{height:50px}.personnel-game-bio{font-size:12px}.personnel-planner-header{gap:8px}.growth-run-bar{align-items:center}.growth-run-bar span{flex:1 1 100%;line-height:1.7}.personnel-promotion-summary{gap:8px 16px}.personnel-service-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.personnel-service-stats>div{align-items:center;gap:7px}.personnel-service-stats dt{font-size:10px}.personnel-service-stats dd{font-size:12px}.personnel-growth input{font-size:14px!important}
}
