/* Chip reference: consistent insets, compact comparisons and explicit priorities. */
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330{width:min(1060px,calc(100% - 32px));max-height:calc(100dvh - 32px);border-radius:16px;scroll-padding-top:100px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .formation-dialog-head{padding:16px 22px;gap:16px;align-items:center}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .formation-dialog-head>div:first-child{min-width:0;flex:1}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 #detail-title{font-size:21px;line-height:1.3;margin:0;overflow-wrap:break-word}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 #detail-sub{margin:4px 0 0;line-height:1.5}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .dialog-actions{align-self:center;flex:none;flex-direction:row;margin:0}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 #close{padding:9px 15px;min-width:64px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 #trooper-detail-body{padding:22px;min-width:0}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .htd-item-heading{align-items:center;gap:14px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .htd-item-heading>div{min-width:0}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .htd-item-heading h3{font-size:20px;line-height:1.35;overflow-wrap:break-word}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .htd-inspector :is(p,.htd-source-card){font-size:14px;line-height:1.6}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .htd-reward-group>:not(summary){margin-inline:16px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .htd-reward-group>.htd-source-card{padding:12px 0}
body.site-ui.site-refresh[data-page="troopers"] :is(.cg489-reference,.cg489-advice){--cg-line:#344e60;--cg-muted:#acc2d0;color:#deebf3;min-width:0;font-size:14px;line-height:1.55}
body.site-ui.site-refresh[data-page="troopers"] :is(.cg489-reference,.cg489-advice) :is(p,li){font-size:14px;line-height:1.6;margin:8px 0}
body.site-ui.site-refresh[data-page="troopers"] :is(.cg489-reference,.cg489-advice) h3{font-size:18px!important;line-height:1.4;margin:0 0 12px!important;color:#edf5fa}
body.site-ui.site-refresh[data-page="troopers"] :is(.cg489-reference,.cg489-advice) h4{font-size:14px;line-height:1.4;margin:0 0 6px;color:#e8f4f7}
body.site-ui.site-refresh[data-page="troopers"] .cg489-reference .or-reference{margin:0 0 28px;padding:0;border:0;background:transparent}
body.site-ui.site-refresh[data-page="troopers"] .cg489-jumps{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px;padding:0 0 18px;border-bottom:1px solid var(--cg-line)}
body.site-ui.site-refresh[data-page="troopers"] .cg489-jumps button{min-height:40px!important;padding:8px 12px;font-size:13px!important;line-height:1.4;background:#193342!important;border:1px solid #3e6073!important;box-shadow:none}
body.site-ui.site-refresh[data-page="troopers"] .cg489-core-intro{display:flex;gap:18px;align-items:center;padding:18px;background:linear-gradient(115deg,#1e3b49,#122936);border:1px solid #385a69;border-radius:12px;margin:12px 0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-core-intro>img{flex:none;width:64px;height:64px;object-fit:contain;margin:0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-core-intro>div{min-width:0;flex:1}
body.site-ui.site-refresh[data-page="troopers"] .cg489-core-intro .trooper-skill{margin:4px 0!important;padding:0!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-core-intro .trooper-skill p{margin:4px 0!important;line-height:1.6;font-size:14px!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-kicker{font-size:10px;font-weight:750;letter-spacing:.11em;color:#8ed5c4}
body.site-ui.site-refresh[data-page="troopers"] .cg489-muted{color:var(--cg-muted)!important;font-size:12px!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-role{padding:12px 14px;border-inline-start:3px solid #7cc3b2;background:#122d38;border-radius:0 8px 8px 0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-role strong{margin-inline-end:6px;color:#b5e7d9}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .tv340-table-help{font-size:12px;margin:10px 0 7px;color:#a9c0cf}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-table{font-size:13px!important;margin:0;line-height:1.5}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-table :is(th,td){padding:11px 12px!important;line-height:1.5!important;font-size:13px!important;vertical-align:middle!important;overflow-wrap:normal}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-table caption{font-size:14px!important;padding:12px!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .cg489-core-table{min-width:530px!important;table-layout:fixed!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .cg489-core-table :is(th,td):first-child{width:23%;background:#173240!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .cg489-core-table td{background:#122a37!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-core .tv340-scroll{max-height:none;overflow-y:visible;border-color:#3b5969}
body.site-ui.site-refresh[data-page="troopers"] .cg489-quality{display:inline-flex;align-items:center;font-size:12px;line-height:1.3;font-weight:650;border-radius:6px;color:#c6dae6;background:#263f4d}
body.site-ui.site-refresh[data-page="troopers"] .cg489-quality.q5{color:#f5dba0;background:#493d28}
body.site-ui.site-refresh[data-page="troopers"] .cg489-quality.q4{color:#e2c6ff;background:#3d3152}
body.site-ui.site-refresh[data-page="troopers"] .cg489-quality.q3{color:#c0e1ff;background:#203c58}
body.site-ui.site-refresh[data-page="troopers"] .cg489-quality.q2{color:#bee7c8;background:#243f32}
body.site-ui.site-refresh[data-page="troopers"] .cg489-quality a{padding:9px 10px;min-height:40px;display:inline-flex;align-items:center;color:inherit!important;text-decoration:none!important;font-size:12px!important;line-height:1.3;box-sizing:border-box}
body.site-ui.site-refresh[data-page="troopers"] .cg489-quality a:hover{text-decoration:underline!important;background:#ffffff0b}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-table thead .cg489-quality{background:none;padding:0;color:inherit;font-size:12px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-slot-map{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 22px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-slot-map article{padding:14px;background:#142e3c;border:1px solid var(--cg-line)}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-slot-name{gap:10px;align-items:center}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-slot-name img{flex:none}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-slot-name p{font-size:12px!important;color:#b1cad7;margin:3px 0 0}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-slot-links{gap:6px;margin-top:12px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-advice{padding:22px!important;margin:26px 0!important;background:linear-gradient(130deg,#152e3c,#102632)!important;border:1px solid var(--cg-line)!important;border-radius:14px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-family-focus{padding:12px 14px;margin:14px 0;background:#1d3b46;border-inline-start:3px solid #e2c581;border-radius:0 8px 8px 0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-family-focus strong{font-size:12px;color:#f0d8a4}
body.site-ui.site-refresh[data-page="troopers"] .cg489-family-focus p{margin:4px 0 0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-slot-advice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;border-block:1px solid var(--cg-line);padding:18px 0;margin:20px 0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-slot-advice article{display:flex;align-items:flex-start;gap:10px;min-width:0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-slot-index{display:grid;place-items:center;flex:none;min-width:32px;height:32px;background:#234550;border-radius:7px;color:#a8dfcf;font-size:11px;font-weight:750}
body.site-ui.site-refresh[data-page="troopers"] .cg489-slot-advice p{font-size:13px;margin:0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-subheading{margin:22px 0 8px!important;font-size:15px!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-branches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-branches article{min-width:0;background:#1a3442;border:1px solid #385562;border-top:3px solid #8aac67;border-radius:8px;padding:14px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-branches article[data-force=navy]{border-top-color:#5ba7d9}
body.site-ui.site-refresh[data-page="troopers"] .cg489-branches article[data-force=air]{border-top-color:#c3a9e8}
body.site-ui.site-refresh[data-page="troopers"] .cg489-branches h4{display:flex;align-items:center;gap:8px;font-size:15px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-branches svg{width:26px;height:26px;flex:none;color:#b6d6e3}
body.site-ui.site-refresh[data-page="troopers"] .cg489-branches p{font-size:13px;margin:8px 0 0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-purposes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-purposes article{padding:12px 0;border-bottom:1px solid var(--cg-line)}
body.site-ui.site-refresh[data-page="troopers"] .cg489-purposes p{font-size:13px;margin:0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-test{font-size:13px!important;padding:12px 0;margin:10px 0!important;color:#c0d4df}
body.site-ui.site-refresh[data-page="troopers"] .cg489-sources{border:0!important;border-top:1px solid var(--cg-line)!important;border-radius:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;margin:0!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-sources>summary{background:transparent!important;border:0!important;padding:12px 28px 12px 0!important;font-size:12px!important;min-height:44px!important;color:#9fc1ce!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-sources>:not(summary){margin:0!important;padding:0!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-sources :is(p,li,a){font-size:12px!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-sources ul{padding-inline-start:18px;margin:10px 0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-sources a{color:#a5d9e2;text-underline-offset:3px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-upgrade{border-top:1px solid var(--cg-line);padding-top:22px;margin-top:26px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .cg489-upgrade .or-calculator{padding:0!important;background:#152f3d;border:1px solid #3b5a6b;margin:12px 0 0}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .cg489-upgrade .or-calculator>summary{margin:0!important;border:0!important;border-radius:8px;background:transparent!important;padding:14px 40px 14px 16px!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .cg489-upgrade .or-calculator>:not(summary){margin:14px 16px!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .cg489-upgrade .htd-quality-panel{padding:0!important;border:0!important;display:block;background:transparent;max-width:340px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .cg489-upgrade :is(.htp-level-fields,.htp-total){padding:0;background:none;border:0}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .cg489-upgrade select{font-size:16px;min-height:44px;padding:9px 12px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-restriction{padding:12px 15px;border:1px solid #7c6747;border-radius:8px;background:#342f25;color:#ecd9b7;margin-bottom:18px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-restriction p{margin:4px 0 0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-guide-link{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;margin:0 0 22px;background:#183c46;color:#c1eee2;border:1px solid #3f6a71;border-radius:10px;font-size:14px;text-align:start;line-height:1.5}
body.site-ui.site-refresh[data-page="troopers"] :is(.cg489-jumps button,.cg489-guide-link,.cg489-quality a):focus-visible{outline:2px solid #c4eddd;outline-offset:3px}
@media(max-width:760px){body.site-ui.site-refresh[data-page="troopers"] .cg489-slot-advice{grid-template-columns:1fr;gap:16px}body.site-ui.site-refresh[data-page="troopers"] .cg489-branches{grid-template-columns:1fr}body.site-ui.site-refresh[data-page="troopers"] .cg489-branches article{padding:12px 14px}body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-slot-map{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:12px;scrollbar-gutter:auto}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .formation-dialog-head{padding:13px 14px;gap:10px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 #trooper-detail-body{padding:16px 14px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 #detail-title{font-size:19px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-jumps{gap:6px;margin-bottom:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
body.site-ui.site-refresh[data-page="troopers"] .cg489-jumps button{padding:9px 6px;font-size:12px!important;min-height:42px!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-core-intro{padding:14px;gap:12px;align-items:flex-start}
body.site-ui.site-refresh[data-page="troopers"] .cg489-core-intro>img{width:44px;height:44px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-advice{padding:16px!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-purposes{grid-template-columns:1fr}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-slot-map{grid-template-columns:1fr}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-slot-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-slot-links .cg489-quality{display:flex}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-slot-links a{justify-content:center;flex:1;padding:9px 5px}
}
@media(prefers-reduced-motion:no-preference){body.site-ui.site-refresh[data-page="troopers"] :is(.cg489-jumps button,.cg489-guide-link,.cg489-quality a){transition:background-color .15s,border-color .15s}}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-quality a{padding:9px 10px!important;min-height:42px!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-core-intro>img{width:64px!important;height:64px!important}
@media(max-width:600px){body.site-ui.site-refresh[data-page="troopers"] .cg489-core-intro>img{width:44px!important;height:44px!important}}
/* Keep each level range on one line; numeric columns scroll as a single table. */
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail #cg489-levels .or-table{min-width:560px!important;table-layout:fixed!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail #cg489-levels .or-table :is(th,td):first-child{width:70px!important;white-space:nowrap!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail #cg489-levels .or-table tbody :is(th,td){white-space:nowrap!important}
/* Item detail content uses the dialog inset, without an unpadded inner panel. */
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 #htd-item-panel{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 #htd-item-panel .detail-note{font-size:12px!important;line-height:1.6}

/* Compact chip reference: explicit type sizes override the wider guide typography. */
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .formation-dialog-head{padding:12px 20px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 #detail-title{font-size:19px!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 #detail-sub{font-size:12px!important;line-height:1.4!important;margin-top:2px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 #trooper-detail-body{padding:18px 20px}
body.site-ui.site-refresh[data-page="troopers"] :is(.cg489-reference,.cg489-advice) :is(p,li){font-size:13.5px!important;line-height:1.5!important;margin-block:6px}
body.site-ui.site-refresh[data-page="troopers"] :is(.cg489-reference,.cg489-advice) h3{font-size:16px!important;line-height:1.35!important;margin-bottom:9px!important}
body.site-ui.site-refresh[data-page="troopers"] :is(.cg489-reference,.cg489-advice) h4{font-size:13.5px!important;line-height:1.4!important;margin-bottom:4px}
body.site-ui.site-refresh[data-page="troopers"] :is(.cg489-reference,.cg489-advice) .cg489-muted{font-size:12px!important;line-height:1.5!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-reference .or-reference{margin-bottom:20px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-jumps{gap:6px;margin-bottom:18px;padding-bottom:12px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-core-intro{padding:12px 14px;gap:14px;margin:10px 0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-core-intro>img{width:52px!important;height:52px!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-core-intro .trooper-skill p{font-size:13.5px!important;line-height:1.5!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-role{padding:9px 12px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-table :is(th,td){padding:7px 10px!important;font-size:12.5px!important;line-height:1.45!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-table caption{font-size:13px!important;padding:9px 10px!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-advice{padding:16px!important;margin:20px 0!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-family-focus{padding:9px 12px;margin:10px 0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-family-focus p{margin:3px 0 0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-slot-advice{gap:14px;padding:12px 0;margin:14px 0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-slot-advice article{gap:8px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-slot-advice p{margin:0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-slot-index{min-width:28px;height:28px;border-radius:6px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-subheading{margin:16px 0 6px!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-branches{gap:10px;margin:10px 0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-branches article{padding:10px 12px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-branches svg{width:22px;height:22px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-branches p{margin:4px 0 0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-purposes{gap:0 20px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-purposes article{padding:9px 0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-purposes p{margin:0}
body.site-ui.site-refresh[data-page="troopers"] .cg489-test{padding:8px 0;margin:6px 0!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-sources :is(p,li,a){font-size:12px!important;line-height:1.5!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-upgrade{padding-top:16px;margin-top:20px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-slot-map{gap:10px;margin:12px 0 16px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-slot-map article{padding:10px 12px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-reference .or-slot-links{margin-top:8px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .cg489-upgrade .or-calculator>summary{font-size:13px!important;padding:12px 36px 12px 14px!important;min-height:44px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .cg489-upgrade .or-calculator>:not(summary){margin:12px 14px!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .cg489-upgrade .htp-total strong{font-size:26px!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .htd-item-heading{gap:10px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .htd-item-heading h3{font-size:18px!important;line-height:1.35!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .htd-inspector :is(p,.htd-source-card){font-size:13.5px!important;line-height:1.5!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 #htd-item-panel .detail-note{font-size:12px!important;line-height:1.5!important}
@media(max-width:760px){
body.site-ui.site-refresh[data-page="troopers"] .cg489-slot-advice{gap:12px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-branches{gap:8px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-branches article{padding:9px 12px}
}
@media(max-width:600px){
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .formation-dialog-head{padding:10px 14px}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 #detail-title{font-size:18px!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 #trooper-detail-body{padding:14px}
body.site-ui.site-refresh[data-page="troopers"] :is(.cg489-reference,.cg489-advice) :is(p,li){font-size:13px!important;line-height:1.5!important}
body.site-ui.site-refresh[data-page="troopers"] :is(.cg489-reference,.cg489-advice) .cg489-muted{font-size:12px!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-core-intro{padding:10px 12px;gap:10px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-core-intro>img{width:40px!important;height:40px!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-core-intro .trooper-skill p{font-size:13px!important;line-height:1.5!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-jumps{margin-bottom:16px;padding-bottom:12px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-jumps button{padding:8px 6px;min-height:42px!important}
/* Use the dialog's inset once, leaving more width for readable advice. */
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-advice{padding:14px 0!important;border-inline:0!important;border-radius:0;background:none!important}
body.site-ui.site-refresh[data-page="troopers"] .cg489-family-focus{padding:8px 10px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-slot-advice article+article{border-top:1px solid #344e6080;padding-top:10px}
body.site-ui.site-refresh[data-page="troopers"] .cg489-branches article{border-top-width:1px;border-inline-start-width:3px;border-inline-start-color:#8aac67}
body.site-ui.site-refresh[data-page="troopers"] .cg489-branches article[data-force=navy]{border-top-color:#385562;border-inline-start-color:#5ba7d9}
body.site-ui.site-refresh[data-page="troopers"] .cg489-branches article[data-force=air]{border-top-color:#385562;border-inline-start-color:#c3a9e8}
body.site-ui.site-refresh[data-page="troopers"] .cg489-purposes article{padding:8px 0}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330 .htd-inspector :is(p,.htd-source-card){font-size:13px!important;line-height:1.5!important}
}

/* Public reference image rules are ID-scoped; keep the chip artwork compact too. */
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-core-intro>img{width:52px!important;height:52px!important;max-width:52px!important}
@media(max-width:600px){body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-core-intro>img{width:40px!important;height:40px!important;max-width:40px!important}}

body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330{scroll-padding-top:86px}
@media(max-width:600px){body.site-ui.site-refresh[data-page="troopers"] #trooper-detail.htd-v330{scroll-padding-top:80px}}

/* Game artwork is a cropped sprite inside a 72px frame. Scale the frame contents,
   rather than resizing the atlas image and losing the intended crop. */
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-core-intro>.trooper-art{width:52px!important;height:52px!important;flex:none;display:block!important;overflow:hidden}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-core-intro>.trooper-art>.sprite-fit{transform:scale(.7222222222);transform-origin:top left}
@media(max-width:600px){
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-core-intro>.trooper-art{width:40px!important;height:40px!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail .cg489-core-intro>.trooper-art>.sprite-fit{transform:scale(.5555555556)}
}

/* Set bonuses are prose, not the single-line numbers used by level tables. */
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail #cg489-core .cg489-core-table{min-width:600px!important;width:100%!important;table-layout:fixed!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail #cg489-core .cg489-core-table :is(th,td){white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
body.site-ui.site-refresh[data-page="troopers"] #trooper-detail #cg489-core .cg489-core-table :is(th,td):first-child{width:124px!important;min-width:124px!important}
