.atlas-switcher{display:flex;min-width:0;justify-content:center;gap:0}
.atlas-nav-control{display:flex;align-items:center;flex-shrink:0;border-radius:6px;overflow:hidden}
.atlas-nav-control:has(.active){background:var(--gold);color:#06131c}
.atlas-nav-control .nav-tab{border-radius:0;padding-right:8px}
.atlas-view-trigger{position:relative;display:grid;place-items:center;width:30px;height:42px;color:var(--gold-light);border-left:1px solid #8ca9ad30;cursor:pointer}
.atlas-nav-control:has(.active) .atlas-view-trigger{color:#06131c;border-color:#06131c30}
.atlas-view-trigger select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.atlas-view-trigger:focus-within{outline:2px solid var(--aqua-soft);outline-offset:-3px}
@media(min-width:1081px){.topbar{grid-template-columns:195px minmax(490px,1fr) minmax(260px,430px);gap:12px}.primary-nav .nav-tab{padding-left:11px;padding-right:11px}}
@media(max-width:1080px){.atlas-switcher{width:100%;justify-self:stretch}.primary-nav{width:100%;max-width:100%;overflow-x:auto;scrollbar-width:thin}.atlas-view-trigger{height:34px}.atlas-switcher .primary-nav{order:0}}
.collection-page{position:absolute;inset:0;z-index:45;overflow:auto;overscroll-behavior:contain;background:var(--bg-deep,#040c12);color:var(--text,#d8e1df);scrollbar-gutter:stable;padding:28px 30px 48px}
.collection-page *{letter-spacing:0;box-sizing:border-box}
.collection-active .player-deck-dock,.collection-active .player-deck-map,.collection-active .minimap-wrap,.collection-active .atlas-hud{display:none}
.collection-inner{max-width:1480px;margin:auto}
.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.collection-heading h1{font:500 32px/1.2 Georgia,serif;color:var(--gold-light);margin:5px 0 8px}
.collection-heading p{font-size:12px;color:#93adaf;margin:0}
.collection-backup{display:flex;gap:8px;flex-wrap:wrap}
.collection-page button{cursor:pointer}
.collection-page button:disabled{opacity:.4;cursor:default}
.collection-page :is(button,input,select,summary):focus-visible{outline:2px solid var(--aqua-soft,#2ac7bd);outline-offset:3px}
.collection-page .outline-button{padding:9px 13px;font-size:12px;min-height:38px;border-radius:4px}
.collection-summary{display:flex;flex-wrap:wrap;gap:24px 50px;padding:16px 0}
.collection-summary>div{display:flex;flex-direction:column;gap:6px}
.collection-summary strong{font:500 29px/1 Georgia,serif;color:var(--gold-light)}
.collection-summary strong small{font-size:17px}
.collection-summary span{font-size:12px;color:#a3bcbb}
.collection-progress{border-block:1px solid var(--line);margin-bottom:16px}
.collection-progress summary{padding:13px 0;cursor:pointer;font-size:13px;color:var(--gold-light)}
.collection-progress summary span{margin-left:12px;color:#8fa8aa;font-size:11px}
.collection-progress [data-progress]{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px 32px;padding:10px 0 22px}
.collection-set{display:grid;grid-template-columns:1fr auto;gap:7px;font-size:12px;color:#b8ccca}
.collection-set b,.collection-set small{font-variant-numeric:tabular-nums;font-weight:400}
.collection-set progress{width:100%;height:6px;align-self:center;accent-color:#3db99d;border:0;border-radius:3px;overflow:hidden;background:#203436}
.collection-set progress::-webkit-progress-bar{background:#203436}.collection-set progress::-webkit-progress-value{background:#3db99d}
.collection-search-row{display:flex;gap:14px;align-items:center;margin-bottom:16px}
.collection-search-row input{height:46px;flex:1;min-width:0;border:1px solid #456369;border-radius:4px;background:rgba(var(--panel-rgb),.85);padding:0 14px;color:#e3edeb;font-size:14px}
.collection-search-row input::placeholder{color:#8ca7aa}
.collection-scope{display:flex;flex-shrink:0;border:1px solid #456369;border-radius:4px;padding:3px}
.collection-scope button{height:38px;min-width:80px;padding:0 12px;border:0;background:transparent;color:#acc1c0;font-size:12px;border-radius:2px}
.collection-scope button[aria-pressed=true]{background:#245449;color:#eff9f4}
.collection-filters{display:grid;grid-template-columns:repeat(7,minmax(95px,1fr)) auto;gap:10px;align-items:end}
.collection-filter-panel{border-bottom:1px solid var(--line);padding-bottom:10px}
.collection-filter-panel summary{cursor:pointer;font-size:13px;color:var(--gold-light);padding:3px 0 5px}
.collection-filter-panel summary span{margin-left:8px;color:#93c8b4;font-size:11px}
.collection-filter-panel[open] .collection-filters{padding-top:10px}
.collection-filters .filter-field{min-width:0}.collection-filters .filter-field>span{font-size:11px;color:#a7bcbd}
.collection-page select{max-width:100%;min-width:0;background:var(--panel,#091a23);color:#dce8e4;border:1px solid #345059;border-radius:4px;min-height:38px;padding:6px 24px 6px 9px;font-size:12px}
.collection-results-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 0;font-size:12px;color:#acc1c0;scroll-margin-top:14px}
.collection-results-bar label{display:flex;align-items:center;gap:8px}
.collection-notice{font-size:12px;min-height:18px;line-height:1.5;margin:10px 0;color:#93c8b4}.collection-notice.error{color:#f4b2a6}
.collection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:22px 16px}
.collection-card{min-width:0;border:1px solid #2b4349;background:#0a1c23;border-radius:6px;overflow:hidden;display:flex;flex-direction:column;transition:border-color .15s}
.collection-card.owned{border-color:#417b68}.collection-card:hover{border-color:#b59b59}
.collection-art{border:0;border-bottom:1px solid #294046;width:100%;aspect-ratio:744/1039;display:grid;place-items:center;padding:7px;background:#071318;color:#93adaf;overflow:hidden}
.collection-art img{display:block;width:100%;height:100%;object-fit:contain;min-height:0}
.collection-card-copy{padding:10px 10px 8px;display:flex;flex:1;flex-direction:column;gap:5px;min-height:102px}
.collection-card-copy strong{font-size:13px;line-height:1.4;color:#e6e7db;overflow-wrap:anywhere}
.collection-card-copy span{font-size:11px;line-height:1.35;color:#9fb7b7}.collection-card-copy small{font-size:10px;line-height:1.35;color:#c4ac70}
.collection-quantity{order:-1;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;border-bottom:1px solid #2b4349;background:#0b2428}
.collection-quantity button{height:40px;font:500 22px/1 Arial,sans-serif;color:#d6ede4;border:0;background:transparent}
.collection-quantity button:hover:not(:disabled){background:#255447}
.collection-quantity output{text-align:center;font-size:14px;font-variant-numeric:tabular-nums;color:#e7f6ee;overflow-wrap:anywhere}
.collection-empty{grid-column:1/-1;text-align:center;padding:50px 16px}.collection-empty h2{font:500 23px/1.3 Georgia,serif;color:var(--gold-light)}
.collection-empty .gold-button{width:auto;padding:12px 20px;font-size:13px}
.collection-pagination{display:flex;align-items:center;justify-content:center;gap:22px;padding-top:30px;color:#b7ceca;font-size:13px}
.collection-pagination button{min-width:44px}
.drawer-collection{display:grid;grid-template-columns:minmax(0,1fr) 32px 36px 32px auto;gap:4px;align-items:center;margin-top:16px;padding-top:12px;border-top:1px solid var(--line);font-size:12px;color:#abc9bf}
.drawer-collection button{min-height:34px;border:1px solid #3b615a;background:#0b2428;color:#d6ede4;border-radius:3px;cursor:pointer}
.drawer-collection button:last-child{padding-inline:8px;font-size:11px}
.drawer-collection button:disabled{opacity:.4;cursor:default}.drawer-collection button:focus-visible{outline:2px solid var(--aqua-soft);outline-offset:2px}
.drawer-collection output{text-align:center;font-variant-numeric:tabular-nums}.drawer-collection-status{font-size:11px;color:#b7cfa2;line-height:1.4;margin:7px 0}
@media(max-width:1200px){.collection-filters{grid-template-columns:repeat(4,minmax(100px,1fr))}}
@media(max-width:760px){.collection-page{padding:18px 14px 32px}.collection-heading{align-items:flex-start;flex-direction:column}.collection-heading h1{font-size:28px}.collection-summary{gap:20px}.collection-summary strong{font-size:25px}.collection-summary span{font-size:11px}.collection-search-row{flex-wrap:wrap}.collection-search-row input{flex-basis:100%;font-size:13px}.collection-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.collection-results-bar{align-items:flex-start}.collection-results-bar select{max-width:165px}.collection-card-copy{padding:8px}.collection-card-copy strong{font-size:12px}.collection-quantity{grid-template-columns:44px minmax(0,1fr) 44px}.collection-quantity button{height:44px}}
@media(max-width:760px){
  #app:has(.collection-active) .topbar{min-height:106px;grid-template-columns:40px minmax(0,1fr);grid-template-areas:"brand actions" "nav nav"}
  #app:has(.collection-active) .topbar .brand{width:40px}
  #app:has(.collection-active) .topbar .search-wrap{display:none}
  #app:has(.collection-active) .topbar .top-actions{width:100%;min-width:0}
}
