/* Preparation keeps the three actual choices beside each other. No new modal. */
body[data-game=defense] footer #enhance[data-refit-dock=true]{flex:.9;min-width:0;min-height:48px;padding:5px 8px;border:1px solid #b6a2ca;border-radius:9px;background:#3c3551;color:#faf3ff;font-size:13px;font-weight:850;white-space:normal;line-height:1.2;box-shadow:0 3px 0 #28213b}
body[data-game=defense] footer #enhance[data-refit-dock=true]::after{content:attr(data-refit-gain);display:block;font-size:10px;font-weight:600;color:#e4d4f1;margin-top:4px}
body[data-game=defense] footer #enhance[data-refit-dock=true]:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 #28213b}
.tactical-upgrade:has(.refit-preview){flex-wrap:wrap;align-items:flex-start}
.refit-preview{flex-basis:100%;margin:0;white-space:pre-line;color:#d5e4dd;font-size:11px;line-height:1.55}
@media(max-width:649px){body[data-game=defense] footer #enhance[data-refit-dock=true]{font-size:11px;min-height:48px;padding:4px}body[data-game=defense] footer #enhance[data-refit-dock=true]::after{font-size:9px}.refit-preview{font-size:10px}}
@media(max-height:600px) and (min-width:650px){body[data-game=defense] footer #enhance[data-refit-dock=true]{min-height:44px;font-size:12px}body[data-game=defense] footer #enhance[data-refit-dock=true]::after{margin-top:2px}}
