/* Keep weapon action in normal document flow; old mobile grid/flex offsets must not clip it. */
body.workspace91 .overview91 .weapon-slot.has-weapon290.weapon-bg291{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto!important;grid-auto-flow:row!important;gap:4px!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;height:auto!important;max-height:none!important;align-content:start!important}
body.workspace91 .overview91 .weapon-slot.weapon-bg291>:is(strong,small,.slot-label,.weapon-action,.dual-weapons){grid-column:1!important;grid-row:auto!important;position:relative!important;inset:auto!important;transform:none!important;float:none!important;min-width:0!important;max-width:100%!important;width:auto!important;box-sizing:border-box!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.workspace91 .overview91 .weapon-slot.weapon-bg291>.weapon-action{display:block!important;width:100%!important;min-height:40px!important;justify-self:stretch!important;padding:6px 8px!important;z-index:1}
body.workspace91 .overview91 .weapon-slot.weapon-bg291>.weapon-action[hidden],body.workspace91 .overview91 .weapon-slot.weapon-bg291>.dual-weapons[hidden]{display:none!important}
body.workspace91 .overview91 .weapon-slot.weapon-bg291>.weapon-preview183{font-size:10px!important;line-height:1.3!important}
body.workspace91 .overview91 .dual-weapons{min-width:0!important;max-width:100%!important;flex-wrap:wrap!important}
body.workspace91 .overview91 .dual-weapon-slot{min-width:0!important;flex:1 1 120px!important;box-sizing:border-box!important;overflow-wrap:anywhere}
body.workspace91 .overview91 .dual-weapon-slot button{position:relative!important;inset:auto!important;transform:none!important;margin:4px 0 0!important;max-width:100%!important;width:100%!important;white-space:normal!important;min-height:36px}
/* Filters and the existing start action sit between the two portraits. */
#setup-dialog .selection-stage290{grid-template-columns:minmax(0,1fr) 190px minmax(0,1fr)!important;gap:10px!important;margin:4px 0 6px!important;align-items:stretch}
.selection-controls292{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:6px 0}
.selection-controls292 .complexity290,.selection-controls292 .archetypes291{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px!important;margin:0!important;width:100%;min-width:0}
.selection-controls292 .complexity290 button,.selection-controls292 .archetypes291 button{min-width:0!important;min-height:32px!important;padding:5px 2px!important;font-size:12px!important;white-space:nowrap}
.selection-controls292 .archetypes291 button:last-child{grid-column:1/-1}
#setup-dialog .selection-controls292 #start-button{min-height:40px!important;margin:0!important;padding:6px!important;white-space:normal}
#setup-dialog .selected290{grid-template-columns:minmax(100px,43%) minmax(0,1fr);padding:7px!important;gap:6px 8px!important}
#setup-dialog .selected290 .large-portrait290{height:145px;aspect-ratio:auto}
#setup-dialog .selected-copy290 strong{font-size:16px}
#setup-dialog .selected-copy290 p{max-height:70px;overflow:auto;line-height:1.4;font-size:12px}
.combo292{display:inline-block;width:max-content;padding:1px 7px;border:1px solid #bda2da;background:#463451;color:#f4e7ff;border-radius:10px;font-size:11px;cursor:pointer;margin:0 0 4px;line-height:1.5}
.combo292:focus-visible{outline:2px solid #efd4ff}.combo-tip292{display:block;line-height:1.4;font-size:11px;color:var(--ink263,#eee1c6)}
#setup-dialog [data-random-deck]{display:none!important}
#expedition240 .expedition-stage292{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:12px;width:100%;max-width:800px;margin:0 auto 8px}
#expedition240 .expedition-stage292 .expedition-selected290{width:100%;box-sizing:border-box}
#expedition240 .expedition-roster263{max-height:min(48dvh,520px)!important}
@media(max-width:720px){
 #setup-dialog .selection-stage290{grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr)!important;gap:4px!important}
 #setup-dialog .setup-card{padding:7px!important;gap:4px!important}
 #setup-dialog .selected290{padding:4px!important;gap:4px!important}
 #setup-dialog .selected290 .large-portrait290{height:82px!important;min-height:0!important;width:100%}
 #setup-dialog .large-portrait290>span{font-size:10px;padding:3px}
 #setup-dialog .selected-copy290 strong{font-size:11px;line-height:1.3;overflow-wrap:anywhere}
 #setup-dialog .selected-copy290 p{max-height:48px;font-size:10px;line-height:1.3}
 #setup-dialog .complexity-caption290{font-size:9px;line-height:1.3;margin:3px 0}
 #setup-dialog .select-side290,#setup-dialog .selected-deck290{width:100%;min-height:30px!important;padding:4px 1px!important;font-size:10px!important;white-space:normal}
 .selection-controls292{gap:7px;padding:0}
 .selection-controls292 .complexity290 button,.selection-controls292 .archetypes291 button{font-size:10px!important;min-height:30px!important;padding:3px 0!important;letter-spacing:-.4px}
 .selection-controls292 .archetypes291{grid-template-columns:1fr}
 #setup-dialog .selection-controls292 #start-button{font-size:12px!important;min-height:38px!important}
 .combo292{font-size:10px;padding:0 5px}
 #expedition240 .expedition-stage292{grid-template-columns:minmax(0,1fr) 110px;gap:6px}
 #expedition240 .expedition-selected290{display:flex;padding:5px;gap:4px}
 #expedition240 .expedition-selected290 .large-portrait290{height:90px;width:100%;grid-row:auto}
 #expedition240 .selected-copy290 strong{font-size:13px}
 #expedition240 .expedition-selected290 .selected-copy290 p{max-height:42px;overflow:auto;font-size:10px}
}
