/* v31 — Selected Magic starters remain expanded above the full owned deck. */
.magic-deck-builder .magic-deck-expanded-selection{display:block;padding:14px;border-color:#9572b16b;background:linear-gradient(140deg,#30203fbd,#14232bb3)}
.magic-deck-expanded-selection .magic-deck-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
.magic-deck-expanded-selection .magic-deck-slots>.magic-deck-slot.is-filled{display:block;min-width:0;min-height:0;padding:10px;border-radius:15px;background:linear-gradient(155deg,#34505885,#32223f9e);border-color:#89e5d58c;cursor:default}
.magic-deck-expanded-selection .magic-deck-slot.is-filled:hover{background:linear-gradient(155deg,#34505885,#32223f9e);border-color:#89e5d58c}
.magic-deck-expanded-selection .magic-deck-featured-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:1px 2px 10px}
.magic-deck-expanded-selection .magic-deck-featured-heading>small{margin:0;font-size:11px;letter-spacing:.1em;font-weight:850;color:#a4f5e5}
.magic-deck-expanded-selection .magic-deck-featured-remove{display:flex;align-items:center;gap:7px;background:#12182399;border:1px solid #87b9b661;border-radius:8px;min-height:34px;padding:6px 10px;color:#c7e9e3;font-size:12px;font-weight:700;cursor:pointer}
.magic-deck-featured-remove:focus-visible{outline:3px solid #a0f7e4;outline-offset:3px}
.magic-deck-featured-remove:hover{background:#344753;color:#fff}
.magic-deck-expanded-selection .magic-deck-featured-remove>span{font-size:17px;line-height:1}
.magic-deck-expanded-selection .magic-deck-slot>.magic-card{width:100%;margin:0;min-width:0}
.magic-deck-expanded-selection .magic-card-header{padding:15px 13px;min-height:90px;gap:10px}
.magic-deck-expanded-selection .magic-card-header strong{font-size:clamp(26px,2.2vw,37px);line-height:1.04;font-weight:800;overflow-wrap:anywhere}
.magic-deck-expanded-selection .magic-card-header small{font-size:11px;letter-spacing:.055em;color:#d6bfec;margin:6px 0 0;font-weight:500}
.magic-deck-expanded-selection .magic-card-art{height:clamp(180px,19vw,285px)}
.magic-deck-expanded-selection .magic-card-type{font-size:12px}
.magic-deck-expanded-selection .magic-card-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.75fr) minmax(0,1fr);padding:16px 12px;gap:8px;align-items:center}
.magic-deck-expanded-selection .magic-combat-stat{min-width:0}
.magic-deck-expanded-selection .magic-combat-value{gap:4px;min-width:0}
.magic-deck-expanded-selection .magic-combat-value strong{font-size:clamp(30px,3vw,44px);line-height:1.05}
.magic-deck-expanded-selection .magic-combat-stat small{font-size:11px;color:inherit;margin:6px 0 0}
.magic-deck-expanded-selection .magic-card-overall strong{font-size:27px}
.magic-deck-expanded-selection .magic-card-overall small{font-size:9px;color:inherit;margin:4px 0 0}
.magic-deck-expanded-selection .magic-card-attributes>summary{font-size:13px;padding:13px 11px}
.magic-deck-expanded-selection .magic-card-attributes .magic-card-rules{display:block;padding:14px;background:#1c1729a6;font-size:15px;line-height:1.6}
.magic-deck-expanded-selection .magic-rules-heading{font-size:10px;letter-spacing:.1em;color:#c1abcf;margin-bottom:9px}
.magic-deck-expanded-selection .ability-summary{gap:6px;margin:0 0 12px}
.magic-deck-expanded-selection .ability-summary-chip{font-size:11px;padding:5px 7px;line-height:1.25}
.magic-deck-expanded-selection .magic-attribute{display:block;font-size:15px;line-height:1.55;padding:12px 0;border-bottom:1px solid #a18bb72e}
.magic-deck-expanded-selection .magic-attribute:last-of-type{border-bottom:0;padding-bottom:0}
.magic-deck-expanded-selection .magic-attribute>b{display:block;font-size:13px;letter-spacing:.035em;color:#f2dcff;margin:0 0 6px}
.magic-deck-expanded-selection .magic-attribute strong{display:inline;font-size:inherit;line-height:inherit}
.magic-deck-expanded-selection .ability-paragraphs{display:grid;gap:7px}
.magic-deck-expanded-selection .ability-paragraph{display:block}
.magic-deck-expanded-selection .magic-lore{display:none}
.magic-deck-expanded-selection .magic-deck-wildcard{margin-top:12px;justify-content:flex-start;padding:11px 14px;gap:13px;border-style:solid;border-color:#ab8aca45;background:#251a334d}
.magic-deck-expanded-selection .magic-deck-wildcard>span{font-size:25px}
.magic-deck-expanded-selection .magic-deck-wildcard>div{display:flex;flex-wrap:wrap;gap:5px 13px;align-items:center}
.magic-deck-expanded-selection .magic-deck-wildcard small{margin:0;font-size:12px}
.magic-deck-expanded-selection .magic-deck-slots>.magic-deck-slot.is-empty{display:flex;align-items:center;justify-content:center;min-height:300px;padding:24px;gap:16px}
.magic-deck-expanded-selection .magic-deck-slot.is-empty strong{font-size:23px;margin:7px 0;color:#d3c3e2}
.magic-deck-expanded-selection .magic-deck-slot.is-empty small{font-size:11px}
.magic-deck-expanded-selection .magic-deck-empty-hint{display:block;font-size:13px;line-height:1.45;margin-top:8px;color:#a998ba}
.magic-deck-available-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:28px 0 14px}
.magic-deck-available-heading h3{margin:0;font-size:27px;color:#f4eaff}
.magic-deck-available-heading>span{font-size:12px;color:#c4b0d4}

/* Main spell effects are large; supporting details remain readable and grouped. */
.combat-draft-spells .combat-section-heading h3{font-size:clamp(32px,3.1vw,46px);margin:8px 0 0}
.combat-draft-spells .combat-section-heading{margin-bottom:20px}
.combat-draft-spells .combat-spell-choice{min-width:0;display:flex;flex-direction:column;text-align:left;overflow:hidden}
.combat-draft-spells .combat-spell-choice>strong{font-size:clamp(27px,2.5vw,39px);line-height:1.12;margin-top:13px;color:#ffe697}
.combat-draft-spells .combat-spell-bullets{display:grid;gap:10px;list-style:none;margin:16px 0 22px;padding:0;font-size:17px;line-height:1.55;color:#dce4ec;flex:1}
.combat-draft-spells .combat-spell-bullets>li{padding-left:14px;border-left:2px solid #a68bc04d}
.combat-draft-spells .combat-spell-bullets>li:first-child{padding:14px 15px;margin-bottom:4px;border:1px solid #78d7cf55;border-radius:10px;background:linear-gradient(100deg,#19464b83,#14313c55);font-size:21px;line-height:1.4;font-weight:750;color:#dbfff6}
.combat-draft-spells .combat-spell-bullets .ability-token{font-size:inherit;font-weight:850}
.combat-draft-spells .combat-spell-bullets>li:not(:first-child) .ability-token{color:#f4e6ff}
.combat-draft-spells .combat-spell-choice-confirm{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:16px;border-top:1px solid #b69ace55;font-size:18px;font-weight:850}
.combat-draft-spells .combat-spell-choice-confirm>small{font-size:14px;font-weight:750;color:#ffe091}
.combat-phase-label{display:flex;align-items:baseline;gap:14px;margin:0 0 14px;font-family:var(--font-display,'Barlow Condensed',sans-serif);font-size:30px;line-height:1;font-weight:800;color:#fff0ff}
.combat-phase-label>span{font-family:inherit;font-size:12px;letter-spacing:.13em;color:#bd9cd8}
@media(max-width:1050px){
 .magic-deck-expanded-selection .magic-deck-slots{gap:10px}
 .magic-deck-expanded-selection .magic-deck-slots>.magic-deck-slot.is-filled{padding:7px}
 .magic-deck-expanded-selection .magic-card-header{padding:11px 9px;min-height:88px;gap:7px}
 .magic-deck-expanded-selection .magic-card-header strong{font-size:25px}
 .magic-deck-expanded-selection .magic-card-cost{width:27px;height:36px;flex-basis:27px;font-size:25px}
 .magic-deck-expanded-selection .magic-card-art{height:210px}
 .magic-deck-expanded-selection .magic-card-footer{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 10px}
 .magic-deck-expanded-selection .magic-card-overall,.magic-deck-expanded-selection .magic-card-seal{display:none}
 .magic-deck-expanded-selection .magic-combat-value strong{font-size:34px}
 .magic-deck-expanded-selection .magic-card-attributes .magic-card-rules{padding:11px}
 .magic-deck-expanded-selection .magic-attribute{font-size:14px}
 .combat-draft-spells .combat-spell-bullets{font-size:16px}
 .combat-draft-spells .combat-spell-bullets>li:first-child{font-size:19px;padding:12px}
}
@media(max-width:720px){
 .magic-deck-builder .magic-deck-expanded-selection{padding:10px}
 .magic-deck-expanded-selection .magic-deck-slots{grid-template-columns:minmax(0,1fr);gap:16px}
 .magic-deck-expanded-selection .magic-deck-slots>.magic-deck-slot.is-filled{padding:9px}
 .magic-deck-expanded-selection .magic-card-header{min-height:76px;padding:14px 13px;gap:11px}
 .magic-deck-expanded-selection .magic-card-header strong{font-size:32px}
 .magic-deck-expanded-selection .magic-card-header small{font-size:11px}
 .magic-deck-expanded-selection .magic-card-art{height:220px}
 .magic-deck-expanded-selection .magic-card-cost{width:32px;height:41px;flex-basis:32px;font-size:29px}
 .magic-deck-expanded-selection .magic-card-footer{padding:15px 13px}
 .magic-deck-expanded-selection .magic-combat-value strong{font-size:38px}
 .magic-deck-expanded-selection .magic-card-attributes .magic-card-rules{padding:14px}
 .magic-deck-expanded-selection .magic-attribute{font-size:16px}
 .magic-deck-expanded-selection .magic-attribute>b{font-size:13px}
 .magic-deck-expanded-selection .magic-deck-slots>.magic-deck-slot.is-empty{min-height:120px}
 .magic-deck-available-heading{display:block;margin-top:25px}
 .magic-deck-available-heading>span{display:block;margin-top:6px;font-size:12px}
 .combat-draft-spells .combat-spell-bullets{font-size:16px}
 .combat-draft-spells .combat-spell-bullets>li:first-child{font-size:20px}
 .combat-draft-spells .combat-spell-choice-confirm{font-size:17px}
 .combat-draft-spells .combat-spell-choice-confirm>small{font-size:14px}
 .combat-phase-label{font-size:27px;gap:10px}
 .combat-phase-label>span{font-size:10px}
}
