.damage-badge{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:3px 7px;border:1px solid color-mix(in srgb,var(--school-color) 40%,transparent);border-radius:5px;color:var(--school-color);background:#0a1528;font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap}
.damage-badge svg{width:14px;height:14px;flex:none}
.spell-guide{padding:9px 10px;margin:8px 0;border:1px solid #3e465c;border-radius:8px;background:linear-gradient(115deg,#1a223b,#101b2b);display:flex;flex-wrap:wrap;align-items:center;gap:6px 9px}
.spell-guide>span:not(.damage-badge){font-size:10px;color:#b1bfd1}.spell-guide>b{font-size:12px;color:#edf4ff;width:100%}.spell-guide>small{font-size:10px;line-height:1.65;color:#bccada}
.roster-tile>.damage-badge{position:absolute;left:5px;top:5px;z-index:2;padding:3px 4px;font-size:9px;background:#09192eed}.roster-tile>.damage-badge svg{width:12px;height:12px}
.crew-card[data-school]{border-left-color:var(--school-color);border-left-width:3px}.crew-card[data-school] .skill-ready .action-meter i{background:var(--school-color)}
.formation-library .formation-filters{display:flex;flex-direction:column;flex-wrap:nowrap;gap:4px}.formation-filter-tabs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#7999ab #13293b;touch-action:pan-x;max-width:100%;padding-bottom:3px}.formation-library .formation-filters button{min-height:44px;min-width:44px;flex:1 0 44px;padding:4px 5px}.formation-library .formation-filters input{flex-basis:auto;min-height:36px;margin:0}
@media(max-width:1020px) and (orientation:landscape){.formation-library .formation-filters button{font-size:10px}.spell-guide{padding:7px;margin:6px 0}}
