/* Selection owners: regional atlas/checklist, caravan packs and practice binder/sets. */
.exp-modal:is(.modal-boosters,.modal-boosterList){gap:12px;padding-inline:var(--pm-ui-gutter,16px)}
.exp-modal:is(.modal-boosters,.modal-boosterList)>h2{font-size:var(--pm-ui-title-size,28px);line-height:1.15}
.exp-modal:is(.modal-boosters,.modal-boosterList) :is(.booster-guide-intro,.booster-list-intro){font-size:14px;line-height:1.5}
.booster-region-select,.booster-search-label{font-size:13px}
.booster-region-select select,.booster-search-label input{min-height:48px;font-size:16px}
.booster-atlas-grid{gap:20px}
.booster-atlas-grid>[data-selection-pack]{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px 16px;padding:0 0 20px;border:0;border-bottom:1px solid var(--pm-ui-line,#3c505b);border-radius:0;background:none;box-shadow:none}
.booster-atlas-grid>[data-selection-pack]>.booster-atlas-emblem{width:100px;height:134px;border:0;border-radius:9px;overflow:hidden;background:none;align-self:start;padding:0}
.booster-atlas-emblem :is(.art,.foil-art,img){display:block;max-width:100%;width:100%;height:100%;object-fit:cover;overflow:hidden}
.booster-atlas-grid>[data-selection-pack] h3{font-size:20px;line-height:1.2;margin:6px 0 8px}
.booster-atlas-grid>[data-selection-pack] small{font-size:13px;line-height:1.4}
.booster-atlas-grid>[data-selection-pack]>.exp-button{grid-column:1/-1;min-height:48px;font-size:15px}
.selection-pack-details{border:0;border-radius:0;background:none;min-width:0;text-align:left}
.selection-pack-details>summary{min-height:44px;padding:10px 0;box-sizing:border-box;font-size:14px;line-height:24px;cursor:pointer;color:var(--pm-ui-muted,#b7c8c8)}
.selection-pack-details .themed-pack-identity{border:0;border-radius:0;background:none;padding:0;margin:0}
.selection-pack-details :is(p,.set-detail){font-size:14px!important;line-height:1.5!important;margin:8px 0!important}
.modal-boosterList .booster-card-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
.modal-boosterList .booster-card-row{display:flex;flex-direction:column;align-items:stretch;gap:6px;border:0;border-radius:0;background:none;padding:0;text-align:left;min-width:0}
.modal-boosterList .booster-card-row>.selection-card-art{display:block;width:100%;height:auto;aspect-ratio:3/4;overflow:hidden;border-radius:9px;flex:none;background:var(--pm-ui-surface-raised)}
.selection-card-art :is(.art,.foil-art,img){display:block;max-width:100%;width:100%;height:100%;max-height:100%;object-fit:cover;overflow:hidden}
.modal-boosterList .booster-card-row>span:not(.selection-card-art){display:grid;gap:5px;min-width:0}
.modal-boosterList .booster-card-row strong{font-size:15px;line-height:1.3;overflow-wrap:anywhere}
.modal-boosterList .booster-card-row small,.modal-boosterList .booster-owned-count{font-size:12px;line-height:1.4;align-self:start;margin:0}
.modal-boosterList .booster-checklist-status{font-size:13px;line-height:1.5}
.modal-boosterList .booster-pool-summary{border:0;border-radius:0;background:none}
.modal-boosterList .booster-pool-summary>summary{min-height:44px;font-size:14px;line-height:24px;padding:10px 0}
.modal-boosterList .booster-pool-summary :is(p,small){font-size:14px;line-height:1.5}
.modal-boosterList .exp-screen-footer{position:sticky;bottom:0;background:var(--pm-ui-surface);padding-block:8px;z-index:3}
.exp-shop-item[data-selection-pack]{border:0;border-radius:0;background:none;box-shadow:none;padding:12px 0;border-bottom:1px solid var(--pm-ui-line,#3c505b);gap:10px}
.exp-shop-item[data-selection-pack] h3{font-size:22px;line-height:1.2}
.exp-shop-item[data-selection-pack] :is(p,.journey-offer-status,.shop-balance-preview){font-size:14px;line-height:1.5}
.exp-shop-item[data-selection-pack] .exp-button{min-height:48px;font-size:15px}
[data-selection-binder]{display:flex!important;flex-direction:column;min-height:0;gap:12px;padding:32px 16px 16px;overflow:hidden}
[data-selection-binder]>h2{font-size:28px;line-height:1.15;margin:0}
[data-selection-binder] .binder-controls{flex:none;min-height:48px;gap:8px}
[data-selection-binder] .binder-controls select{min-height:48px;font-size:14px;padding:10px}
[data-selection-binder] .binder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:auto;overflow-y:auto;overflow-x:hidden;gap:20px 12px;align-content:start;overscroll-behavior:contain;padding:0 2px 12px}
[data-selection-binder] .binder-card{height:auto;min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;gap:4px;overflow:visible;text-align:left}
[data-selection-binder] .binder-card>div{height:auto;min-height:0;aspect-ratio:3/4;flex:none;border-radius:9px;overflow:hidden;position:relative}
[data-selection-binder] .binder-card>div :is(.art,.foil-art,img){display:block;width:100%;max-width:100%;height:100%;max-height:100%;object-fit:cover;overflow:hidden}
[data-selection-binder] .binder-card strong{font-size:15px;line-height:1.3;min-height:0;margin:4px 0 0;text-align:left;display:block}
[data-selection-binder] .binder-card small,[data-selection-binder] .binder-card>span{font-size:12px;line-height:1.4;margin:0;text-align:left}
[data-selection-binder] .collection-bottom{flex:none;min-height:48px;gap:8px}
[data-selection-binder] .collection-bottom .ghost{min-height:48px;font-size:14px;padding:10px}
[data-selection-binder] .legacy-pager button{width:44px;height:44px}
[data-selection-expansions]{display:flex!important;flex-direction:column;gap:12px;overflow-y:auto;overflow-x:hidden;max-height:100%;padding:32px 16px 16px}
[data-selection-expansions]>h2{font-size:28px;line-height:1.2;margin:0}
[data-selection-expansions] .expansion-intro{font-size:14px;line-height:1.5;margin:0}
[data-selection-expansions] .expansion-gallery{flex:none;min-height:0;height:auto}
[data-selection-expansions] .expansion-product{display:flex;flex-direction:column;align-items:center;gap:12px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
[data-selection-expansions] .expansion-product>h3{font-size:24px;margin:0}
[data-selection-expansions] .expansion-product>p{font-size:15px;line-height:1.5;margin:0}
[data-selection-expansions] .expansion-product .booster-box-stage{height:240px;width:100%;padding:8px 24px}
[data-selection-expansions] .booster-box{width:170px;height:220px}
[data-selection-expansions] .selection-pack-details{width:100%}
[data-selection-expansions] :is(.reward-choice,.browse-set,.core-reward,.expansion-launch .end-turn){font-size:14px;min-height:48px}
[data-selection-expansions] .expansion-launch{border:0;background:none;gap:12px;padding:12px 0;font-size:14px}
[data-selection-expansions] .expansion-launch :is(b,p){font-size:14px;line-height:1.5}
@media(min-width:650px){.modal-boosterList .booster-card-list{grid-template-columns:repeat(3,minmax(0,1fr))}[data-selection-binder] .binder-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.booster-atlas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1000px){[data-selection-binder] .binder-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}

.exp-shop-item[data-selection-pack]>.selection-caravan-art{display:block;align-self:center;width:110px;height:146px;min-height:146px;border-radius:9px;overflow:hidden;padding:0;background:var(--pm-ui-surface-raised)}
.selection-caravan-art :is(.art,.foil-art,img){display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover;overflow:hidden}

/* Lifetime discovery history is an art-led album, separate from playable ownership. */
.exp-modal.modal-discovery-journal{width:min(820px,100%);gap:12px;padding:34px 16px 16px}
.modal-discovery-journal>h2{font-size:var(--pm-ui-title-size,28px);line-height:1.15}
.modal-discovery-journal .discovery-journal-intro{font-size:14px;line-height:1.5}
.modal-discovery-journal .discovery-journal-summary{font-size:14px;line-height:1.5;font-weight:600}
.modal-discovery-journal .discovery-journal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px;align-items:start}
.modal-discovery-journal .discovery-journal-card{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.modal-discovery-journal .discovery-journal-art{width:100%;height:auto;aspect-ratio:3/4;box-sizing:border-box;border:0;border-radius:9px;overflow:hidden;background:var(--pm-ui-surface-raised)}
.modal-discovery-journal .discovery-journal-art :is(img,.art,.foil-art){display:block;max-width:100%;width:100%;max-height:100%;height:100%;object-fit:cover;overflow:hidden}
.modal-discovery-journal .discovery-journal-card h3{font-size:15px;line-height:1.3;margin:4px 0 8px}
.modal-discovery-journal .discovery-journal-card small{font-size:12px;line-height:1.4}
.modal-discovery-journal .discovery-journal-finishes{gap:4px 10px}
.modal-discovery-journal .discovery-journal-finishes span{font-size:13px;line-height:1.4;border:0;border-radius:0;background:none;padding:0;color:var(--pm-ui-text);font-weight:500}
.modal-discovery-journal .discovery-journal-empty{grid-column:1/-1}
.modal-discovery-journal .discovery-journal-empty p{font-size:15px;line-height:1.5}
.modal-discovery-journal .discovery-journal-footer{box-shadow:none;gap:8px}
.modal-discovery-journal .discovery-journal-footer>small{font-size:13px;line-height:1.4}
.modal-discovery-journal .discovery-journal-footer>.exp-button{min-height:48px;font-size:14px;padding-inline:12px}
@media(min-width:600px){.modal-discovery-journal .discovery-journal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-height:500px) and (min-width:600px){.exp-modal.modal-discovery-journal{gap:8px;padding:20px 16px 12px}.modal-discovery-journal .discovery-journal-intro{font-size:13px;line-height:1.4}.modal-discovery-journal .discovery-journal-summary{font-size:13px}.modal-discovery-journal>h2{font-size:24px}}

/* Selection chrome participates in both themes; images and rarity stay authored. */
.exp-modal:is(.modal-boosters,.modal-boosterList,.modal-discovery-journal),[data-selection-binder],[data-selection-expansions]{background:var(--pm-ui-surface);color:var(--pm-ui-text);border-color:var(--pm-ui-line)}
.exp-modal:is(.modal-boosters,.modal-boosterList) :is(h2,h3,.booster-card-row strong,.booster-owned-count,.booster-region-select,.booster-search-label){color:var(--pm-ui-text)}
.exp-modal:is(.modal-boosters,.modal-boosterList) :is(.booster-guide-intro,.booster-list-intro,.booster-card-row small,.booster-checklist-status,.booster-atlas-grid small,.booster-complete){color:var(--pm-ui-muted)}
.exp-modal:is(.modal-boosters,.modal-boosterList) :is(input,select){background:var(--pm-ui-surface-raised);color:var(--pm-ui-text);border-color:var(--pm-ui-line)}
.exp-modal:is(.modal-boosters,.modal-boosterList) input::placeholder{color:var(--pm-ui-muted);opacity:1}
.exp-modal:is(.modal-boosters,.modal-boosterList) .exp-button{background:var(--pm-ui-surface-raised);color:var(--pm-ui-text);border-color:var(--pm-ui-line)}
.exp-modal:is(.modal-boosters,.modal-boosterList) .exp-icon-button:first-child{background:var(--pm-ui-surface-raised);color:var(--pm-ui-text)}
.selection-pack-details :is(p,.themed-pack-badge,.themed-pack-identity p){color:var(--pm-ui-muted)!important;background:none;border-color:var(--pm-ui-line)}
.modal-boosterList .booster-pool-summary :is(summary,p,small){color:var(--pm-ui-text)}
.modal-discovery-journal :is(h2,h3,.discovery-journal-summary){color:var(--pm-ui-text)}
.modal-discovery-journal :is(.discovery-journal-intro,.discovery-journal-card small,.discovery-journal-empty,.discovery-journal-empty p,.discovery-journal-footer>small){color:var(--pm-ui-muted)}
.modal-discovery-journal .discovery-journal-footer{border-color:var(--pm-ui-line)}
.modal-discovery-journal .discovery-journal-footer>.exp-button{background:var(--pm-ui-surface-raised);color:var(--pm-ui-text);border-color:var(--pm-ui-line)}
[data-selection-binder] :is(h2,.binder-card strong,.binder-card>span){color:var(--pm-ui-text)}
[data-selection-binder] :is(.binder-card small,.binder-empty){color:var(--pm-ui-muted)}
[data-selection-binder] .binder-card.unowned{filter:none;opacity:1}
[data-selection-binder] .binder-card.unowned>div{filter:grayscale(.7);opacity:.65}
[data-selection-binder] :is(.binder-controls select,.collection-bottom .ghost,.legacy-pager button){background:var(--pm-ui-surface-raised);color:var(--pm-ui-text);border-color:var(--pm-ui-line)}
[data-selection-expansions] :is(h2,h3,.expansion-product>p,.expansion-launch b){color:var(--pm-ui-text)}
[data-selection-expansions] :is(.expansion-intro,.set-progress,.expansion-launch p,.core-reward,.browse-set){color:var(--pm-ui-muted)}
[data-selection-expansions] :is(.reward-choice,.expansion-launch .end-turn){background:var(--pm-ui-accent);color:var(--pm-ui-on-accent);border-color:var(--pm-ui-accent)}
[data-selection-expansions] :is(.core-reward,.browse-set){background:var(--pm-ui-surface-raised);border-color:var(--pm-ui-line)}
.exp-shop-item[data-selection-pack]{color:var(--pm-ui-text)}
.exp-shop-item[data-selection-pack] :is(h3,.journey-offer-kind){color:var(--pm-ui-text)}
.exp-shop-item[data-selection-pack] :is(p,.journey-offer-status,.shop-balance-preview){color:var(--pm-ui-muted)}

/* Opaque reading surfaces isolate light-theme text from the dark world art. */
:root[data-theme="light"] .exp-modal:is(.modal-boosters,.modal-boosterList,.modal-discovery-journal){background:var(--pm-ui-surface);box-shadow:0 12px 40px var(--pm-ui-shadow)}
:root[data-theme="light"] .modal-boosterList .exp-screen-footer,:root[data-theme="light"] .modal-discovery-journal .discovery-journal-footer{background:var(--pm-ui-surface)}
:root[data-theme="light"] [data-selection-binder],:root[data-theme="light"] [data-selection-expansions]{background:var(--pm-ui-surface)}

/* Featured pack tiles float on the album canvas instead of dashboard rows. */
.booster-atlas-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}
.booster-atlas-grid>[data-selection-pack]{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:0;border:0;background:none;box-shadow:none;min-width:0}
.booster-atlas-grid>[data-selection-pack]>.booster-atlas-emblem{width:100%;height:auto;aspect-ratio:3/4;min-height:0;align-self:center;border-radius:10px;box-shadow:0 8px 18px var(--pm-ui-shadow)}
.booster-atlas-grid>[data-selection-pack] h3{font-size:18px;line-height:1.25;margin:0 0 6px}
.booster-atlas-grid>[data-selection-pack] small{font-size:12px;line-height:1.4}
.booster-atlas-grid>[data-selection-pack]>.exp-button{width:100%;min-height:48px;border:0;border-radius:26px;font-size:14px;padding:10px;background:var(--pm-ui-surface-raised);color:var(--pm-ui-text)}
.selection-region-details{border:0;background:none;margin:0}
.selection-region-details>summary{min-height:44px;padding:10px 0;box-sizing:border-box;font-size:14px;line-height:24px;color:var(--pm-ui-muted);cursor:pointer}
.selection-region-details .booster-guide-intro{padding-bottom:12px}
.modal-boosterList .booster-search-label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.modal-boosterList .booster-search-label input{border:0;border-radius:26px;background:var(--pm-ui-surface-raised);padding:12px 16px}
.modal-boosterList .booster-checklist-tools .exp-button{border:0;border-radius:24px;padding-inline:16px}
.modal-boosterList .booster-pool-summary>summary{color:var(--pm-ui-muted)}
.modal-boosterList .booster-card-row small.booster-card-tags{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.exp-shop-item[data-selection-pack]{align-items:center;text-align:center;border:0;gap:12px;padding:16px 0 24px}
.exp-shop-item[data-selection-pack]>.selection-caravan-art{width:150px;height:200px;min-height:200px;border-radius:10px;box-shadow:0 10px 24px var(--pm-ui-shadow)}
.exp-shop-item[data-selection-pack]>.exp-button{width:100%;max-width:300px;border:0;border-radius:28px;background:var(--pm-ui-accent);color:var(--pm-ui-on-accent)}
.exp-shop-item[data-selection-pack] .regional-box-preview{width:100%;border:0;border-radius:0;background:none;padding:0}
.exp-shop-item[data-selection-pack] .regional-box-preview>details{border:0;background:none}
.exp-shop-item[data-selection-pack] .selection-pack-details{width:100%;text-align:center}
.exp-shop-item[data-selection-pack] .selection-pack-details>summary{border-radius:24px}
.exp-shop-item[data-selection-pack] .shop-balance-preview{font-size:13px}
[data-selection-binder] .binder-controls select{border:0;border-radius:24px}
[data-selection-binder] .collection-bottom .ghost{border:0;border-radius:24px}
[data-selection-expansions] :is(.reward-choice,.browse-set,.core-reward,.expansion-launch .end-turn){border:0;border-radius:26px}
@media(min-width:700px){.booster-atlas-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
