/* somente o builder Trench Crusade; fluxo visual alinhado ao builder 40K. */
#tcModule .tc-builder-view{max-width:1510px;margin-inline:auto}
#tcModule .tc-builder-40k-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(350px,.88fr);gap:16px;align-items:start;margin-top:14px}
#tcModule .tc-builder-40k-layout>.tc-catalog-stack{grid-column:1;grid-row:1;min-width:0;gap:12px}
#tcModule .tc-builder-40k-layout>.tc-roster-panel{grid-column:2;grid-row:1;position:sticky;top:12px;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#tcModule .tc-builder-nav{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;border-radius:4px}
#tcModule .tc-builder-40k-layout .tc-catalog-panel,#tcModule .tc-builder-40k-layout .tc-roster-panel{border-radius:4px}
#tcModule .tc-builder-40k-layout .tc-catalog-panel{min-height:unset}
#tcModule .tc-builder-40k-layout .tc-catalog-head{border-bottom:1px solid var(--tc-edge);padding-bottom:12px;margin-bottom:12px}
#tcModule .tc-catalog-shortcuts{display:flex;flex-wrap:wrap;gap:7px;margin:4px 0 16px}
#tcModule .tc-catalog-shortcuts a{display:inline-flex;align-items:center;min-height:36px;padding:8px 12px;box-sizing:border-box;border:1px solid var(--tc-edge);color:var(--tc-ink);background:var(--tc-card);font-size:11px;font-weight:800;letter-spacing:.035em;text-decoration:none;border-radius:4px}
#tcModule .tc-catalog-shortcuts a:hover,#tcModule .tc-catalog-shortcuts a:focus-visible{border-color:var(--tc-gold);outline-offset:2px}
#tcModule .tc-category{scroll-margin-top:18px;border-top:1px solid var(--tc-edge);padding-top:12px;margin-top:16px}
#tcModule .tc-category h4{font-size:12px;letter-spacing:.09em;margin:0 0 12px}
#tcModule .tc-unit-card{border-radius:4px;margin:8px 0;padding:12px}
#tcModule .tc-unit-main{align-items:flex-start}
#tcModule .tc-unit-foot{flex-wrap:wrap}
#tcModule .tc-unit-foot button,#tcModule .tc-qty button{border-radius:4px}
#tcModule .tc-unit-stats{gap:5px}
#tcModule .tc-roster-panel .tc-total{position:relative;align-items:center;flex-wrap:wrap;gap:8px}
#tcModule .tc-roster-panel .tc-warband-meta{grid-template-columns:minmax(0,1fr);gap:8px}
#tcModule .tc-save-warband,#tcModule .tc-roster-sheet-open{width:100%;min-height:42px}
#tcModule .tc-roster-panel .tc-game-launch{display:grid;gap:5px}
#tcModule .tc-roster-panel .tc-game-launch button{width:100%;min-height:42px}
#tcModule .tc-roster-panel .tc-roster-unit{padding:12px 0}
#tcModule .tc-roster-panel .tc-roster-unit-head{flex-wrap:wrap}
#tcModule .tc-kit-grid{min-width:0}
#tcModule .tc-kit-grid select{width:100%;min-width:0}
@media(max-width:1100px){#tcModule .tc-builder-40k-layout{grid-template-columns:minmax(0,1fr)}#tcModule .tc-builder-40k-layout>.tc-catalog-stack,#tcModule .tc-builder-40k-layout>.tc-roster-panel{grid-column:1;grid-row:auto}#tcModule .tc-builder-40k-layout>.tc-roster-panel{grid-row:1;position:static;max-height:none;overflow:visible;scrollbar-gutter:auto}#tcModule .tc-builder-40k-layout>.tc-catalog-stack{grid-row:2}}
@media(max-width:700px){#tcModule .tc-builder-40k-layout{gap:10px}#tcModule .tc-builder-40k-layout .tc-catalog-panel,#tcModule .tc-builder-40k-layout .tc-roster-panel{padding:12px}#tcModule .tc-catalog-shortcuts{gap:5px}#tcModule .tc-catalog-shortcuts a{font-size:10px;min-height:40px;padding:9px}#tcModule .tc-unit-main{flex-wrap:wrap}#tcModule .tc-unit-stats span{min-width:48px}#tcModule .tc-roster-panel h3{overflow-wrap:anywhere}}
