/* Season shop. Quiet surfaces keep the artwork, prices and next action readable. */
html body #hub-dialog#hub-dialog.academy-shop-open {
  width:100%;height:100%;max-width:none;max-height:none;inset:0;margin:0;
  border:0;border-radius:0;box-sizing:border-box;padding:12px 20px!important;
  display:flex!important;flex-direction:column;gap:12px!important;overflow:hidden;
  background:linear-gradient(#1b142cdd,#1b142ce8),url('art/academy-emporium.svg') center/cover!important;
}
html body #hub-dialog#hub-dialog.academy-shop-open>.hub-heading {height:52px!important;min-height:52px!important;padding:0!important;gap:14px!important;border:0!important;background:transparent!important;display:flex;align-items:center}
#hub-dialog.academy-shop-open .hub-heading h2{margin:0;font:700 28px Georgia;color:#eee5fa}
#hub-dialog.academy-shop-open #hub-wallet{margin-left:auto}
#hub-dialog.academy-shop-open #hub-wallet .wallet-shop{display:none}
#hub-dialog.academy-shop-open #hub-tabs{display:none!important}
html body #hub-dialog#hub-dialog.academy-shop-open #hub-content{flex:1;min-height:0;padding:0!important;overflow:hidden!important;display:block}
.academy-shop{height:100%;max-width:1500px;margin:auto;display:flex;flex-direction:column;gap:14px;color:#eee7f8;text-align:left;font-family:system-ui,sans-serif}
.academy-shop *{box-sizing:border-box}
/* Scope the button reset above the older full-screen menu rules. */
html body #hub-dialog.academy-shop-open .academy-shop button{min-height:44px!important;height:auto!important;padding:9px 14px!important;font:600 14px/1.2 system-ui!important;color:#e5ddef!important;text-shadow:none!important;letter-spacing:normal!important;border:1px solid #957c62!important;border-radius:10px!important;background:linear-gradient(#493556,#30233e)!important;box-shadow:inset 0 1px #dbbae51c!important;cursor:pointer!important;transform:none!important}
html body #hub-dialog.academy-shop-open .academy-shop button:disabled{opacity:.6!important;cursor:default!important}
html body #hub-dialog.academy-shop-open .academy-shop button:hover:not(:disabled){background:#443752!important;border-color:#aa91bd!important}
.academy-shop :is(button,select,a):focus-visible{outline:3px solid #eed099;outline-offset:2px}
.shop-tabs{display:flex;gap:6px;flex:none;padding:0 0 10px;border-bottom:1px solid #65547155;overflow-x:auto}
html body #hub-dialog.academy-shop-open .shop-tabs button{flex:1!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;white-space:nowrap!important;background:transparent!important;border-color:transparent!important}
.shop-tabs img{width:24px;height:24px;object-fit:contain}
html body #hub-dialog.academy-shop-open .shop-tabs button[aria-pressed=true]{background:linear-gradient(#654576,#402b53)!important;color:#fff0c9!important;border-color:#ebcd8b!important;box-shadow:inset 0 0 0 2px #50315f,inset 0 0 0 3px #d9b87577,0 0 0 1px #9161ab!important}
html body #hub-dialog.academy-shop-open .shop-tabs .shop-vault-tab{flex:0 0 auto!important;margin-left:10px!important;border-color:#625374!important}
.shop-vault-tab span{background:#51425f;border-radius:5px;color:#eee5f8;padding:2px 6px}
.shop-scroll{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;overflow:hidden;container-type:size;container-name:shop}
.shop-status{flex:none;font-size:13px;color:#e5d8b3}.shop-status:empty{display:none}
.shop-eyebrow,.shop-rarity{font:700 10px/1.3 system-ui;letter-spacing:1.4px;text-transform:uppercase;color:#bfb0d1}
.shop-eyebrow{color:#d4cbb2}
.shop-section-heading{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;min-height:28px}
.shop-section-heading h2{font:700 26px Georgia;margin:4px 0 0;color:#eee5fa}
.shop-price-note,.shop-footnote{font-size:11px;color:#beb0cb;line-height:1.4}.shop-footnote{margin:0;flex:none}
.shop-featured{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,25%);gap:16px;flex:1;min-height:0}
.shop-hero{display:grid;grid-template-columns:1.1fr 1fr;min-height:0;border:1px solid #655174;border-radius:18px;background:radial-gradient(ellipse at 85% 65%,#62518055,transparent 65%),#292237;overflow:hidden}
.shop-hero-copy{padding:32px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}
.shop-hero h2{font:700 clamp(26px,3.5vw,48px)/1.13 Georgia;margin:16px 0;color:#f1e7fc}
.shop-hero p{font-size:14px;line-height:1.6;color:#c3b5d0;max-width:30ch;margin:0 0 20px}
html body #hub-dialog.academy-shop-open .academy-shop .shop-main-action{display:inline-flex!important;align-items:center!important;gap:20px!important;background:linear-gradient(#79538e,#50325f)!important;border-color:#e4c17e!important;color:#fff0c9!important;font-weight:700!important}
.shop-hero-art{display:grid;place-items:center;min-height:0;min-width:0;overflow:hidden}.shop-duo canvas{width:100%;height:100%;object-fit:contain}.shop-orbit{display:none}
.shop-shortcuts{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:12px;min-height:0}
html body #hub-dialog.academy-shop-open .shop-shortcuts button{position:relative!important;overflow:hidden!important;padding:0!important;isolation:isolate!important;background:#30273e!important;border-color:#655174!important;text-align:left!important}
.shop-destination-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;opacity:.6}
.shop-shortcuts button>span{position:absolute;inset:auto 0 0;padding:14px;background:linear-gradient(transparent,#201a2ded 35%)}
.shop-shortcuts small{display:block;font-size:9px;letter-spacing:1px;color:#cbbbd7;margin-bottom:4px}.shop-shortcuts strong{font:700 21px Georgia;color:#f0e7f9}.shop-shortcuts b{display:none}
/* One collection at a time: no cropped prices or nested miniature carousels. */
.shop-collections{display:flex;gap:8px;flex:none}
html body #hub-dialog.academy-shop-open .shop-collections button{flex:1!important;background:#251f32!important;font-size:13px!important}
html body #hub-dialog.academy-shop-open .shop-collections button[aria-pressed=true]{background:linear-gradient(#654576,#402b53)!important;border-color:#ebcd8b!important;color:#fff0c9!important;box-shadow:inset 0 0 0 2px #50315f,inset 0 0 0 3px #d9b87577,0 0 0 1px #9161ab!important}
.shop-bundles{display:flex;flex:1;min-height:0}
.shop-bundle{width:100%;min-height:0;display:grid;grid-template-columns:minmax(180px,32%) minmax(0,1fr);border:1px solid #655174;border-radius:16px;overflow:hidden;background:#292237}
.shop-bundle-scene{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;min-height:0;padding:24px;background:radial-gradient(ellipse at 50% 50%,#76618b44,transparent 70%),#30283e;border-right:1px solid #65517455}
.hollowlight .shop-bundle-scene{background:radial-gradient(ellipse at 50% 50%,#588d8944,transparent 70%),#253337}.porcelain .shop-bundle-scene{background:radial-gradient(ellipse at 50% 50%,#638b9a55,transparent 70%),#24313f}
.shop-bundle-scene canvas{width:100%;height:100%;min-height:0;object-fit:contain}
.shop-bundle-scene h3{font:700 clamp(20px,2.5vw,34px)/1.1 Georgia;color:#eee5fa;text-align:center;margin:0;overflow-wrap:break-word}
.shop-bundle-copy{display:flex;flex-direction:column;justify-content:center;gap:16px;padding:24px;min-height:0;min-width:0}
.shop-bundle-copy>p{color:#bfb0cd;font-size:12px;margin:0}
.shop-bundle-items{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;min-height:0}
.porcelain .shop-bundle-items,.conservatory .shop-bundle-items{grid-template-columns:repeat(4,minmax(0,1fr))}
.shop-piece{display:grid;grid-template-rows:minmax(0,1fr) auto auto;gap:8px;min-width:0;min-height:0;padding:8px 5px;text-align:center;text-decoration:none;color:#e8def2;border:1px solid #65517466;border-radius:10px;background:#211c2e}
.shop-piece:hover{background:#3c3049;border-color:#af92c2}
.shop-piece canvas{width:100%;height:110px;min-height:0;object-fit:contain}
.shop-piece span{font:600 12px/1.25 system-ui;min-height:30px;display:grid;place-items:center;overflow-wrap:break-word}
.shop-piece small{font:10px/1.3 system-ui;color:#d7ceb5}
.shop-bundle-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #65517466;padding-top:16px}
.shop-bundle-bottom>span{display:flex;align-items:center;gap:14px}.shop-bundle-price{font:700 30px Georgia;color:#f1e9fa}.shop-bundle-bottom small{font:11px/1.5 system-ui;color:#bfb0cc}
/* Currency and chests share an aligned shelf and a steady footer. */
.shop-pack-shelf,.shop-chest-shelf,.shop-cosmetic-grid{display:flex;gap:14px;flex:1;min-height:0;overflow-x:auto;overflow-y:hidden;padding:0 0 6px;scroll-snap-type:x proximity;scrollbar-color:#827091 #211c30}
.shop-pack,.shop-chest{flex:1 0 210px;min-height:0;border:1px solid #655174;border-radius:16px;background:#292237;padding:18px;scroll-snap-align:start}
.shop-pack{display:grid;grid-template-rows:auto auto minmax(0,1fr) 44px auto;gap:10px;text-align:center}
.shop-pack h3{font:700 38px Georgia;margin:0;color:#e3f0d9}.shop-pack h3 small{display:block;font:700 10px system-ui;letter-spacing:2px;color:#b1c1aa;margin-top:4px}
.shop-pack-art{position:relative;min-height:0;overflow:hidden}.shop-pack-art svg{position:absolute;width:82px;height:104px;left:calc(50% - 41px);top:calc(50% - 52px);transform:translate(var(--shard-x),var(--shard-y)) rotate(var(--shard-r)) scale(var(--shard-s))}
html body #hub-dialog.academy-shop-open .shop-pack button{background:#42394e!important;color:#eee6f8!important;font-size:20px!important;opacity:1!important}.shop-pack button small{font-size:10px;color:#bfb0cd}.shop-pack-soon{font-size:11px;color:#baabc8}
.shop-chest{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto 44px;gap:10px}
.shop-chest[data-kind=uncommon]{border-top-color:#74a893}.shop-chest[data-kind=rare]{border-top-color:#80a5c9}.shop-chest[data-kind=epic]{border-top-color:#ba91d2}
.shop-chest-art{min-height:0;display:grid;place-items:center;overflow:hidden}.shop-chest-art img{width:100%;height:100%;min-height:0;object-fit:contain}
.shop-chest h3{font:700 20px Georgia;margin:0;color:#eee5f8}.shop-quantity{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#c5b7d2}
.shop-quantity select{height:44px;min-width:60px;padding:6px;border:1px solid #766386;border-radius:8px;background:#211b2e;color:#eee5f8;font:14px system-ui}
.shop-price-pair{display:grid;gap:6px}.shop-price-pair small{font-size:11px}.shop-currency{color:#edcf84}.shop-currency.arcaneShards{color:#a1ded0}
html body #hub-dialog.academy-shop-open .shop-odds-open{font-size:12px!important;background:transparent!important}
.shop-pass{display:grid;grid-template-columns:1fr 1.2fr;align-items:center;gap:24px;flex:1;min-height:0;padding:30px;border:1px solid #627b66;border-radius:18px;background:radial-gradient(ellipse at 25% 50%,#67896733,transparent 65%),#242c2c;overflow:hidden}
.shop-pass-emblem{height:100%;min-height:0;display:grid;place-items:center}.shop-pass-emblem img{width:220px;max-width:85%;max-height:80%;object-fit:contain}.shop-pass-emblem span{display:none}
.shop-pass h2{font:700 38px/1.15 Georgia;color:#edf1e5;margin:12px 0}.shop-pass p{color:#b9cbbd;font-size:14px;line-height:1.6}.shop-coming{display:block;color:#c0cfba;font-size:12px;margin:16px 0}.shop-pass-buy{margin-left:8px}
.shop-odds-panel{position:absolute;inset:0;z-index:5;background:#292237;border:1px solid #a68abd;border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:14px}
.shop-odds-panel header,.shop-odds-panel footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:none}.shop-odds-panel h3{font:700 24px Georgia;margin:0}.shop-odds-panel p{flex:1;min-height:0;margin:0;display:grid;align-content:center;font:14px/1.6 system-ui;color:#d8cbe3}.shop-odds-panel footer{font-size:12px}
.shop-filters{display:flex;gap:8px;flex:none}.shop-look{display:flex;flex-direction:column;flex:0 0 220px;min-height:0;text-align:left}.shop-look-art{flex:1;min-height:0}.shop-look-art>*{width:100%;height:100%;object-fit:contain}.shop-look strong{font:700 18px Georgia}.shop-preview-label{font-size:12px;color:#d8cfb6;margin-top:8px;display:flex;justify-content:space-between}
@media(max-height:550px),(max-width:850px){
 html body #hub-dialog#hub-dialog.academy-shop-open{padding:6px 12px!important;gap:6px!important}
 html body #hub-dialog#hub-dialog.academy-shop-open>.hub-heading{height:44px!important;min-height:44px!important}
 .academy-shop{gap:8px}.shop-tabs{padding-bottom:6px;gap:3px}.shop-tabs img{width:19px;height:19px}
 html body #hub-dialog.academy-shop-open .shop-tabs button{font-size:12px!important;padding:6px 8px!important;gap:5px!important}
 html body #hub-dialog.academy-shop-open .shop-tabs .shop-vault-tab{margin-left:4px!important}
 .shop-scroll{gap:8px}.shop-section-heading .shop-eyebrow{display:none}.shop-section-heading h2{font-size:21px;margin:0}
 .shop-featured{gap:10px;grid-template-columns:minmax(0,1fr) 25%}.shop-hero-copy{padding:20px}.shop-hero h2{font-size:28px;margin:10px 0}.shop-shortcuts{gap:8px}.shop-shortcuts strong{font-size:17px}.shop-shortcuts small{display:none}.shop-shortcuts button>span{padding:8px}
 .shop-bundle-scene{padding:14px}.shop-bundle-copy{padding:14px;gap:10px}.shop-piece{gap:4px}.shop-piece canvas{height:65px}.shop-piece span{font-size:10px;min-height:26px}.shop-piece small{font-size:9px}.shop-bundle-price{font-size:24px}.shop-bundle-bottom{padding-top:10px;gap:8px}.shop-bundle-bottom small{font-size:9px}.shop-bundle-bottom>span{gap:8px}
 .shop-pack{flex-basis:140px;padding:12px;gap:6px}.shop-pack h3{font-size:28px}.shop-footnote,.shop-price-note{font-size:10px}
}
@container shop (max-height:390px){
 .shop-hero p{display:none}.shop-hero h2{font-size:28px}.shop-hero-copy{padding:20px}.shop-shortcuts small{display:none}
 .shop-bundle{grid-template-columns:25% minmax(0,1fr)}.shop-bundle-scene{padding:12px;gap:4px}.shop-bundle-scene h3{font-size:21px}.shop-bundle-copy{padding:12px;gap:8px}.shop-bundle-copy>p{display:none}.shop-piece canvas{height:60px}.shop-piece span{font-size:10px;min-height:26px}.shop-piece small{font-size:9px}.shop-piece{gap:3px;padding:4px}.shop-bundle-bottom{padding-top:8px}.shop-bundle-price{font-size:24px}.shop-bundle-bottom small{font-size:10px}
 .shop-pack{gap:4px;padding:10px}.shop-pack h3{font-size:28px}.shop-pack-art svg{width:60px;height:76px;left:calc(50% - 30px);top:calc(50% - 38px)}
 .shop-section-heading>[data-vault]{display:none}
 .shop-chest{flex:0 0 440px;grid-template-columns:110px 1fr 1fr;grid-template-rows:14px 44px 44px;align-content:center;padding:12px;gap:8px}
 .shop-chest>.shop-rarity{grid-column:1/4;grid-row:1}.shop-chest-art{grid-column:1;grid-row:2/4}.shop-chest h3{display:none}.shop-quantity{grid-column:2;grid-row:2;font-size:11px}.shop-price-pair{display:contents}.shop-price-pair button:first-child{grid-column:2;grid-row:3}.shop-price-pair button:last-child{grid-column:3;grid-row:3}.shop-odds-open{grid-column:3;grid-row:2}
 .shop-pass{padding:18px;gap:16px;grid-template-columns:.65fr 1fr}.shop-pass h2{font-size:28px;margin:6px 0}.shop-pass p{font-size:12px;margin:6px 0}.shop-coming{margin:10px 0}.shop-pass .shop-eyebrow{display:none}
}
@container shop (max-height:240px){
 .shop-section-heading{min-height:20px}.shop-section-heading h2{font-size:18px}.shop-collections{gap:6px}
 .shop-bundle-scene .shop-rarity{display:none}.shop-bundle-scene{grid-template-rows:minmax(0,1fr) auto;padding:8px}.shop-bundle-scene h3{font-size:17px}.shop-bundle-copy{padding:8px;gap:4px}.shop-piece{gap:2px;padding:3px}.shop-piece canvas{height:32px}.shop-piece span{font-size:9px;min-height:23px}.shop-piece small{font-size:8px}.shop-bundle-bottom{padding-top:4px}.shop-bundle-bottom small{font-size:8px}.shop-bundle-price{font-size:21px}
 .shop-hero h2{font-size:23px}.shop-hero-copy{padding:14px}.shop-hero .shop-eyebrow{font-size:8px}.shop-shortcuts strong{font-size:14px}.shop-shortcuts button>span{padding:5px}
 .shop-pack{gap:2px;padding:7px}.shop-pack h3{font-size:24px}.shop-pack h3 small,.shop-pack-soon{display:none}.shop-pack{grid-template-rows:auto auto minmax(0,1fr) 44px}.shop-rarity{font-size:9px}.shop-pack-art svg{width:40px;height:50px;left:calc(50% - 20px);top:calc(50% - 25px);transform:translate(calc(var(--shard-x)*.6),calc(var(--shard-y)*.4)) rotate(var(--shard-r)) scale(var(--shard-s))}
 .shop-pass p{display:none}.shop-pass h2{font-size:25px}.shop-pass-emblem img{width:130px}.shop-odds-panel{padding:10px;gap:6px}.shop-odds-panel p{font-size:12px;line-height:1.4}
}

/* Separate owned rewards from shop destinations, with touch-sized wallet actions. */
#wallet .currency,#hub-wallet .reward-currency{display:inline-flex;align-items:center;gap:5px}
#wallet .wallet-plus,#hub-wallet .wallet-plus{display:inline-grid;place-items:center;flex:0 0 36px;width:36px;min-width:36px;height:40px;min-height:40px;padding:0;border:1px solid #bba4d9;border-radius:9px;background:linear-gradient(#68527e,#342943);color:#edffe1;font:bold 25px/1 sans-serif;box-shadow:inset 0 1px #d4c4e544,0 2px #171122}
#wallet .wallet-shop,#hub-wallet .wallet-shop{display:inline-grid;place-items:center;width:44px;min-width:44px;height:44px;padding:7px;border:1px solid #c6ab81;border-radius:12px;background:linear-gradient(#655273,#30273d);color:#e7dccb;box-shadow:0 3px #181222}
.wallet-shop svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#wallet .wallet-plus:focus-visible,#hub-wallet .wallet-plus:focus-visible,.wallet-shop:focus-visible{outline:2px solid #9ff3ed;outline-offset:2px}
.shop-tabs{overflow-x:auto;flex-shrink:0}.shop-tabs button{flex-shrink:0}
@media(max-height:500px){#wallet .currency{padding:0 0 0 5px!important;gap:3px}#wallet .wallet-plus{width:32px;min-width:32px;flex-basis:32px}#wallet .wallet-shop{width:40px;min-width:40px}#wallet{gap:4px!important}}


html body #hub-dialog.academy-shop-open .academy-shop h2,html body #hub-dialog.academy-shop-open .academy-shop h3{color:#eee5fa!important;text-shadow:none!important;letter-spacing:normal!important}
/* Overgrowth shares the season's greenhouse glass, rose and vine language. */
html body #hub-dialog.academy-shop-open .shop-tabs [data-shop-tab=pass]{background:#3c3023!important;border-color:#668652!important;color:#ece3cb!important}
html body #hub-dialog.academy-shop-open .shop-tabs [data-shop-tab=pass][aria-pressed=true]{background:linear-gradient(#654576,#402b53)!important;border-color:#ebcd8b!important;color:#fff0c9!important}
html body #hub-dialog.academy-shop-open .shop-shortcuts [data-shop-tab=pass]{border-color:#88a66b!important;background:#1b392e!important}
.shop-shortcuts [data-shop-tab=pass] .shop-destination-art{opacity:.9;object-position:center}
.shop-shortcuts [data-shop-tab=pass]>span{background:linear-gradient(transparent,#17382bed 35%)}
html body #hub-dialog.academy-shop-open .shop-pass .shop-main-action{position:relative;padding:12px 26px!important;background:linear-gradient(115deg,#594634,#3d3022)!important;border-color:#b8a87a!important;color:#f2e8ce!important}
.shop-pass .shop-main-action:before{content:'';position:absolute;inset:-3px;background:url('art/season-pass-border.svg') center/100% 100% no-repeat;pointer-events:none}

/* Academy framing stays quiet around the product art. */
.shop-tabs{border-bottom-color:#b898633f}
.shop-hero,.shop-bundle,.shop-pack,.shop-chest{border-color:#9d81555e;box-shadow:inset 0 0 0 1px #bd95d514}
.shop-bundle-scene{border-right-color:#b898633f}
.shop-bundle-bottom{border-top-color:#b898633f}
.shop-eyebrow{color:#d8bf92}
html body #hub-dialog.academy-shop-open .shop-tabs button:hover:not([aria-pressed=true]),html body #hub-dialog.academy-shop-open .shop-collections button:hover:not([aria-pressed=true]){background:#493451!important;border-color:#b89a69!important}
/* Only the two still previews crossfade; no ongoing cosmetic render loop. */
.shop-pass-emblem[data-pass-showcase]{position:relative;align-self:stretch;min-width:0}
.shop-pass-slide{position:absolute;inset:0;margin:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:10px;opacity:0;transition:opacity .5s ease;pointer-events:none}
.shop-pass-slide.is-visible{opacity:1}
.shop-pass-slide canvas{width:100%;height:100%;min-height:0;object-fit:contain}
.shop-pass-slide figcaption{font:600 12px/1.35 system-ui;color:#e3d3b1;text-align:center;padding:0 8px}
@container shop (max-height:240px){.shop-pass-slide{gap:3px}.shop-pass-slide figcaption{font-size:10px}}
@media(prefers-reduced-motion:reduce){.shop-pass-slide{transition:none}}

/* Main-menu shop plaque shares the academy's engraved gold trim. */
#hub-wallet .wallet-shop-label{display:none}
html body #lobby #wallet .wallet-shop{display:flex!important;align-items:center;justify-content:center;gap:9px;width:128px!important;min-width:128px!important;flex:0 0 128px;height:52px!important;min-height:44px;padding:8px 15px!important;border:1px solid #d3b477!important;border-bottom:3px solid #80613e!important;border-radius:12px 12px 8px 8px;background:radial-gradient(ellipse at 50% 0,#aa82d536,transparent 75%),linear-gradient(#59406b,#30213f)!important;box-shadow:inset 0 0 0 3px #22192e,inset 0 0 0 4px #d8b87866,0 3px 9px #100a2255!important;color:#f7dfac!important}
html body #lobby #wallet .wallet-shop-label{display:block!important;font:700 21px/1 Georgia,serif;letter-spacing:.025em;text-shadow:0 2px 2px #140b21}
html body #lobby #wallet .wallet-shop svg{width:27px;height:27px;flex:none}
html body #lobby #wallet .wallet-shop:hover{border-color:#ffe1a2!important;background:linear-gradient(#684c7c,#3c294c)!important}
html body #lobby #wallet .wallet-shop:focus-visible{outline:2px solid #ffe1a2;outline-offset:3px}
@media(max-width:900px),(max-height:500px){html body #lobby #wallet .wallet-shop{width:94px!important;min-width:94px!important;flex-basis:94px;height:44px!important;padding:6px 9px!important;gap:6px}html body #lobby #wallet .wallet-shop-label{font-size:18px}html body #lobby #wallet .wallet-shop svg{width:22px;height:22px}}

/* Engraved Academy controls: motion only during interaction, never a render loop. */
html body #hub-dialog.academy-shop-open .academy-shop button{transition:background .18s ease,border-color .18s ease,box-shadow .18s ease!important;border-radius:12px 12px 7px 7px!important;box-shadow:inset 0 0 0 2px #241a32,inset 0 0 0 3px #d8b87830,0 2px 0 #171020!important}
html body #hub-dialog.academy-shop-open .academy-shop button:hover:not(:disabled){border-color:#f3cf86!important;box-shadow:inset 0 0 0 2px #30203e,inset 0 0 0 3px #d8b87870,0 0 13px #a77cce30!important}
html body #hub-dialog.academy-shop-open .academy-shop button:active:not(:disabled){box-shadow:inset 0 2px 7px #110a28,inset 0 0 0 2px #d8b87855!important}
html body #hub-dialog.academy-shop-open .academy-shop button[aria-pressed=true]{border-color:#efcc86!important;color:#fff0c9!important;box-shadow:inset 0 0 0 2px #50315f,inset 0 0 0 3px #d9b87599,0 0 9px #996cc544!important}
.shop-tabs button img{transition:transform .22s ease;transform-origin:center}
.shop-tabs button:hover img,.shop-tabs button:focus-visible img{transform:rotate(-9deg) scale(1.12)}
.shop-tabs button[aria-pressed=true] img{animation:shop-seal-arrive .35s ease-out}
.shop-shortcuts b{transition:transform .2s ease,color .2s ease}
.shop-shortcuts button:hover b{transform:translateX(4px);color:#ffe0a0}
.shop-piece{transition:border-color .2s ease,background .2s ease,box-shadow .2s ease}
.shop-piece:hover,.shop-piece:focus-visible{border-color:#e6c17d;background:#463052;box-shadow:inset 0 0 0 2px #c7a36b35}
@keyframes shop-seal-arrive{from{transform:rotate(-14deg) scale(.85)}to{transform:rotate(0) scale(1)}}
@media(prefers-reduced-motion:reduce){html body #hub-dialog.academy-shop-open .academy-shop button,.shop-tabs button img,.shop-shortcuts b,.shop-piece{transition:none!important;animation:none!important}.shop-tabs button:hover img,.shop-tabs button:focus-visible img,.shop-shortcuts button:hover b{transform:none}}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-piece{display:grid!important;grid-template-rows:minmax(0,1fr) auto auto;gap:8px;min-width:0;min-height:0!important;padding:8px 5px!important;text-align:center;background:#211c2e!important}

/* Academy collection gallery: etched glass, velvet and a different light per display. */
html body #hub-dialog#hub-dialog.academy-shop-open{background:linear-gradient(#1b142c9e,#1b142ce0),url('art/academy-emporium.svg') center/cover!important}
.academy-shop{gap:10px}
.shop-tabs{padding:5px;gap:8px;background:#21172de8;border:1px solid #bfa06a66;border-radius:16px;flex-shrink:0}
html body #hub-dialog.academy-shop-open .shop-tabs button{min-height:50px!important;font-family:Georgia,serif!important;font-size:17px!important}
.shop-tabs img{width:29px;height:29px}
.shop-collections{gap:12px;padding:3px}
html body #hub-dialog.academy-shop-open .shop-collections button{font-family:Georgia,serif!important;border-radius:6px 16px 6px 16px!important;min-height:44px!important}
.shop-bundle{--display-light:#96734c;--display-dark:#302331;grid-template-columns:minmax(190px,35%) minmax(0,1fr);background:linear-gradient(125deg,#35283fe8,#221a30f5);border-color:#c6a37399;border-radius:22px 8px 22px 8px;box-shadow:inset 0 0 0 4px #21172b,inset 0 0 0 5px #bba16a33}
.shop-bundle.hollowlight{--display-light:#477f8b;--display-dark:#172c38}
.shop-bundle.conservatory{--display-light:#94687c;--display-dark:#20352d}
.shop-bundle-scene{position:relative;isolation:isolate;padding:18px 22px;background:radial-gradient(ellipse at 50% 38%,var(--display-light),transparent 72%),var(--display-dark);border-right:1px solid #c9ac7355;gap:6px}
.shop-bundle-scene:before{content:'';position:absolute;inset:8px;z-index:-1;background:url('art/shop-display-arch.svg') center/100% 100% no-repeat;pointer-events:none}
.shop-bundle-scene canvas{filter:drop-shadow(0 8px 8px #100a2244)}
.shop-bundle-scene h3{font-size:clamp(18px,2vw,27px);color:#f4dbab!important;margin-bottom:18px}
.shop-bundle-scene .shop-rarity{text-align:center;color:#eddbbb;padding:9px 0}
.shop-bundle-copy{padding:24px;gap:14px}
.shop-bundle-intro h2{font:700 clamp(23px,2.8vw,40px)/1.1 Georgia;margin:8px 0 10px!important}
.shop-bundle-intro p{font:14px/1.5 system-ui;color:#cfbfd6;margin:0;max-width:48ch}
.shop-bundle-includes{border-top:1px solid #c4a57244;padding-top:12px;color:#dfcdaa!important}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-piece{background:radial-gradient(ellipse at 50% 20%,#b790ce22,transparent 70%),#2a2037!important;border-radius:40px 40px 9px 9px!important;padding:10px 5px!important}
.shop-piece small{color:#e4c896;font-weight:700}
.shop-bundle-bottom{margin-top:4px;padding-top:16px;border-top:1px solid #c8aa7155}
.shop-bundle-bottom small{display:block;line-height:1.5;color:#bcaecb}
.shop-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 3px;color:#c6b8cd;font-size:11px;flex:none}
html body #hub-dialog.academy-shop-open .shop-footer button{min-height:32px!important;padding:5px 12px!important;font-size:12px!important;background:#251d32!important}
.shop-pack,.shop-chest{background:radial-gradient(ellipse at 50% 15%,#8664ab33,transparent 60%),#292039;border-radius:24px 24px 10px 10px}
.shop-pass{border-color:#b8a47788;background:radial-gradient(ellipse at 15% 60%,#71865366,transparent 65%),linear-gradient(120deg,#223b31,#282135)}
@container shop (max-height:410px){.shop-bundle-copy{padding:14px;gap:8px}.shop-bundle-intro h2{font-size:24px;margin:4px 0!important}.shop-bundle-intro p{font-size:12px}.shop-piece canvas{height:65px}.shop-bundle-scene h3{margin-bottom:5px}.shop-bundle-includes{padding-top:6px}.shop-bundle-bottom{padding-top:8px}}
@container shop (max-height:280px){.shop-bundle-intro p,.shop-bundle-intro .shop-eyebrow,.shop-bundle-includes{display:none}.shop-bundle-intro h2{font-size:19px}.shop-bundle-copy{padding:8px;gap:3px}.shop-piece canvas{height:35px}.shop-bundle-bottom{padding-top:4px}.shop-bundle-scene{padding:8px}.shop-bundle-scene h3{font-size:17px}}
@media(max-height:500px){.shop-footer>span{display:none}.shop-footer{justify-content:flex-end}.shop-tabs img{width:21px;height:21px}html body #hub-dialog.academy-shop-open .shop-tabs button{min-height:40px!important;font-size:13px!important}}
#hub-dialog [data-shop-return]{border:1px solid #c7a678;border-radius:9px;background:#41304f;color:#ffe3b0;padding:8px 12px;font:600 13px Georgia;min-height:40px}
@media(max-width:700px){#hub-dialog [data-shop-return]{font-size:11px;padding:6px}}

.shop-bundle-browser{display:flex;align-items:stretch;gap:8px;flex:none;min-width:0}
.shop-bundle-browser .shop-collections{display:flex;flex:1;min-width:0;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#bd9f6c #251b32;margin:0}
html body #hub-dialog.academy-shop-open .shop-collections button{display:flex!important;align-items:center;justify-content:center;gap:9px;flex:1 0 190px!important;scroll-snap-align:center;white-space:normal;min-width:0}
.shop-collections canvas{width:58px;height:58px;flex:none;object-fit:contain}
.shop-collections span{max-width:150px;text-align:left;font:700 14px/1.25 Georgia}
html body #hub-dialog.academy-shop-open [data-bundle-step]{font-size:30px!important;min-width:40px;padding:4px 10px!important}
.shop-pass-gallery{grid-template-columns:1fr 1fr;gap:32px;padding:26px;background:linear-gradient(115deg,#153529d9,#241a35f2),url('art/season-pass-greenhouse.svg') center/cover;border:1px solid #d6b779;box-shadow:inset 0 0 0 5px #211c2e,inset 0 0 0 6px #d6b77955;border-radius:28px 10px 28px 10px}
.shop-pass-gallery .shop-pass-emblem{background:radial-gradient(ellipse,#dac38738,transparent 65%),url('art/shop-display-arch.svg') center/100% 100% no-repeat;padding:16px;min-height:0}
.shop-pass-gallery .shop-pass-slide{inset:18px 15px 32px}
.shop-pass-copy{display:flex;flex-direction:column;align-items:stretch;min-width:0;gap:16px}
.shop-pass-gallery h2{font:700 clamp(28px,4vw,56px)/1.05 Georgia;margin:0!important}
.shop-pass-gallery p{font:15px/1.5 system-ui;color:#d6d8c3;margin:0;max-width:38ch}
.shop-pass-facts{display:flex;gap:12px}.shop-pass-facts>span{flex:1;background:#1c292dcc;border:1px solid #c7b87b55;padding:12px;border-radius:12px;color:#c9ccb8;font-size:12px}.shop-pass-facts strong{display:block;font:700 20px/1.4 Georgia;color:#f5dda4}
html body #hub-dialog.academy-shop-open .shop-pass-gallery .shop-main-action{width:100%;min-height:80px!important;justify-content:space-between!important;padding:16px 22px!important;background:linear-gradient(125deg,#74528a,#493354)!important;border:2px solid #e3c482!important;font:700 24px/1.15 Georgia!important;text-align:left;box-shadow:inset 0 0 0 3px #3a2949,0 4px #9c7947!important}
.shop-pass-gallery .shop-main-action:before{display:none}.shop-pass-gallery .shop-main-action small{display:block;font:12px/1.4 system-ui;color:#e3d5eb;margin-top:6px}.shop-pass-gallery .shop-main-action b{font-size:34px;transition:transform .2s}.shop-pass-gallery .shop-main-action:hover b{transform:translateX(5px)}
.shop-pass-price{font:16px Georgia;color:#ead4ac}.shop-pass-price small{font:11px system-ui;color:#beb0c7;margin-left:6px}
@container shop (max-height:410px){.shop-collections canvas{width:38px;height:38px}.shop-pass-gallery{padding:16px;gap:18px}.shop-pass-copy{gap:10px}.shop-pass-facts>span{padding:7px}.shop-pass-gallery h2{font-size:32px}.shop-pass-gallery p{font-size:12px}html body #hub-dialog.academy-shop-open .shop-pass-gallery .shop-main-action{min-height:64px!important;font-size:20px!important;padding:10px 16px!important}}
@container shop (max-height:270px){.shop-pass-facts,.shop-pass-copy>p,.shop-pass-copy>.shop-eyebrow{display:none}.shop-pass-gallery h2{font-size:25px}.shop-pass-gallery .shop-main-action small{display:none}.shop-pass-gallery .shop-pass-slide{inset:5px}.shop-collections canvas{width:28px;height:28px}.shop-collections span{font-size:12px}.shop-pass-copy{gap:9px}}
@media(prefers-reduced-motion:reduce){.shop-pass-gallery .shop-main-action b{transition:none;transform:none!important}}
/* Short landscape screens keep product contents readable instead of compressing rows. */
.shop-bundle-copy{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#bda073 #251b32}.shop-bundle-copy>*{flex-shrink:0}
@container shop (max-height:280px){.shop-bundle-intro{display:none}.shop-bundle-browser .shop-collections button{min-height:36px!important;padding:3px 6px!important}.shop-bundle-browser .shop-collections canvas{width:28px;height:28px}.shop-bundle-scene h3{font-size:14px;margin:0}.shop-bundle-bottom small{display:none}.shop-bundle-bottom{margin:0}.shop-bundle-price{font-size:21px}.shop-piece span{font-size:10px}}
@media(max-height:500px){.shop-footer{display:none}.shop-pass-gallery .shop-pass-copy{overflow-y:auto;max-height:100%}}

/* Keep a usable product canvas at short heights; scroll the gallery, never crush it. */
html body #hub-dialog.academy-shop-open .shop-scroll{overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#bc9c68 #241b30}
.shop-bundles{flex:1 0 330px;min-height:330px}
.shop-bundle{min-height:330px}
.shop-bundle-copy{justify-content:flex-start;overflow:visible;gap:12px}
.shop-bundle-items{flex:none;min-height:145px;align-items:stretch}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-piece{grid-template-rows:70px minmax(30px,auto) 18px!important;min-height:138px!important;gap:5px!important;padding:7px 4px!important}
.shop-piece canvas{height:70px!important;max-width:100%}
.shop-piece span{font-size:11px!important;min-height:30px;white-space:normal;overflow-wrap:anywhere}
.shop-bundle-bottom{flex:none;min-height:56px;margin-top:auto;align-items:center}
.shop-bundle-scene{min-height:0;grid-template-rows:auto minmax(120px,1fr) auto}
.shop-pass-gallery{flex:1 0 300px;min-height:300px}
@container shop (max-height:410px){.shop-bundles,.shop-bundle{min-height:290px;flex-basis:290px}.shop-bundle-copy{gap:8px;padding:12px}.shop-bundle-intro{display:none!important}.shop-bundle-scene{grid-template-rows:minmax(120px,1fr) auto}.shop-bundle-scene .shop-rarity{display:none}.shop-bundle-bottom{padding-top:8px}.shop-pass-gallery{min-height:280px;flex-basis:280px}}
@media(max-width:720px){.shop-bundle{grid-template-columns:minmax(110px,27%) minmax(0,1fr)}.shop-bundle-items,.conservatory .shop-bundle-items{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:8px;padding-bottom:6px}.shop-bundle-items .shop-piece{flex:0 0 108px;scroll-snap-align:start}.shop-bundle-copy{overflow:hidden}.shop-bundle-scene{padding:10px}.shop-bundle-scene h3{font-size:16px}.shop-pass-gallery{gap:14px;padding:14px}}
/* The bundle row is horizontal: its child must fill width, not inherit a height basis. */
.shop-bundles>.shop-bundle{flex:1 0 100%;width:100%;min-width:0}

/* Overview first: three complete collections, details only after choosing one. */
.shop-set-gallery{display:flex;gap:18px;flex:1;min-height:360px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#c5a471 #21192c;padding:4px 3px 12px}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-set-card{flex:1 0 calc((100% - 36px)/3);min-width:240px;display:flex!important;flex-direction:column;align-items:stretch;gap:10px;padding:18px!important;scroll-snap-align:start;text-align:center;border:1px solid #b99b70!important;border-radius:70px 70px 16px 16px!important;background:linear-gradient(#47313abb,#231b30f0),url('art/shop-display-arch.svg') center/100% 100% no-repeat,#392b3f!important}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-set-card.hollowlight{background:linear-gradient(#1e3f4caa,#191c32ec),url('art/shop-display-arch.svg') center/100% 100% no-repeat,#243544!important}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-set-card.conservatory{background:linear-gradient(#324c3faa,#302236ec),url('art/shop-display-arch.svg') center/100% 100% no-repeat,#344736!important}
.shop-set-card>.shop-rarity{font-size:9px;margin-top:14px;color:#dcc7a4;letter-spacing:1px}
.shop-set-art{flex:1;min-height:200px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:130px 75px;align-items:center;position:relative}
.shop-set-art canvas{width:100%;height:75px;object-fit:contain;min-width:0}.shop-set-art canvas:first-child{grid-column:1/5;width:100%;height:145px}.shop-set-card.conservatory .shop-set-art canvas:not(:first-child){grid-column:span 1}.shop-set-card.conservatory .shop-set-art{grid-template-columns:repeat(3,minmax(0,1fr))}.shop-set-card.conservatory .shop-set-art canvas:first-child{grid-column:1/4}
.shop-set-card h3{font:700 clamp(21px,2vw,30px)/1.1 Georgia;margin:8px 0!important;min-height:2.2em;display:grid;place-items:center}
.shop-set-price{font:700 24px Georgia;color:#f4d995}.shop-set-price small{font:10px system-ui;color:#c3b5ce}
.shop-set-open{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #c0a26a66;padding-top:12px;font:700 16px Georgia;color:#e9d7b0}.shop-set-open b{transition:transform .2s}.shop-set-card:hover .shop-set-open b{transform:translateX(4px)}
.shop-gallery-arrows{display:flex;gap:6px}.shop-detail-nav{display:flex;align-items:center;gap:16px;flex:none}.shop-detail-nav>span{font:700 18px Georgia;color:#e4d2ac}.shop-detail-nav+.shop-bundle-browser{display:none}
/* Chest cards keep one consistent reading order at every size. */
html body #hub-dialog.academy-shop-open .shop-chest-shelf{display:flex;align-items:stretch;flex:1 0 390px;min-height:390px;overflow-x:auto;gap:16px;padding:3px 2px 10px}
html body #hub-dialog.academy-shop-open .shop-chest{flex:1 0 235px;min-width:235px;display:grid;grid-template-columns:1fr;grid-template-rows:18px 125px 28px 44px 50px 40px;gap:8px;padding:18px;text-align:center;align-content:start}
html body #hub-dialog.academy-shop-open .shop-chest>*{grid-column:auto;grid-row:auto}
html body #hub-dialog.academy-shop-open .shop-chest h3{display:block;font-size:23px}
html body #hub-dialog.academy-shop-open .shop-chest-art{height:125px}.shop-chest-art img{max-height:125px}
html body #hub-dialog.academy-shop-open .shop-chest .shop-price-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html body #hub-dialog.academy-shop-open .shop-price-pair button{grid-column:auto;grid-row:auto;padding:7px!important;font-size:15px!important}.shop-price-pair small{display:block;font-size:10px}
@media(max-width:850px){html body #hub-dialog.academy-shop-open .academy-shop button.shop-set-card{flex:0 0 76%;max-width:340px}.shop-set-gallery{min-height:380px}.shop-set-card h3{font-size:24px}}
@media(prefers-reduced-motion:reduce){.shop-set-open b{transition:none;transform:none!important}}

/* Match the menu's tactile hover without changing layout or hit targets. */
html body #hub-dialog.academy-shop-open button{transition:transform .17s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease!important;transform-origin:center}
html body #hub-dialog.academy-shop-open button:hover:not(:disabled),html body #hub-dialog.academy-shop-open button:focus-visible:not(:disabled){transform:translateY(-2px) scale(1.015)!important}
html body #hub-dialog.academy-shop-open button:active:not(:disabled){transform:translateY(1px) scale(.985)!important}
.shop-set-gallery{padding-top:8px}.shop-tabs{padding-top:8px}.shop-set-art canvas{image-rendering:auto}
@media(prefers-reduced-motion:reduce){html body #hub-dialog.academy-shop-open button{transition:none!important}html body #hub-dialog.academy-shop-open button:hover:not(:disabled),html body #hub-dialog.academy-shop-open button:focus-visible:not(:disabled),html body #hub-dialog.academy-shop-open button:active:not(:disabled){transform:none!important}}

/* Every shop view fits its available height; browsing overflow is horizontal only. */
html body #hub-dialog.academy-shop-open .shop-scroll{overflow:hidden!important}
.shop-set-gallery{flex:1 1 0;min-height:0;overflow-y:hidden;align-items:stretch;padding:5px 3px 6px}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-set-card{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto auto auto;min-height:0!important;gap:5px;padding:12px!important}
.shop-set-card>.shop-rarity{margin:0;font-size:8px}.shop-set-art{display:grid;min-height:0;grid-template-rows:minmax(0,1.8fr) minmax(0,1fr);height:100%}
.shop-set-art canvas,.shop-set-art canvas:first-child{height:100%;min-height:0;width:100%;object-fit:contain}
.shop-set-card h3{min-height:0;font-size:clamp(17px,2vw,26px);margin:0!important}.shop-set-price{font-size:20px}.shop-set-open{padding-top:6px;font-size:13px}
.shop-bundles{flex:1 1 0;min-height:0}.shop-bundles>.shop-bundle{min-height:0;flex:1 0 100%}
.shop-bundle-copy{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;gap:8px;padding:12px}
.shop-bundle-items,.conservatory .shop-bundle-items{min-height:0;height:100%;overflow-y:hidden}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-piece{grid-template-rows:minmax(0,1fr) auto auto!important;min-height:0!important;gap:4px!important;padding:6px!important}
.shop-piece canvas{height:100%!important;min-height:0}.shop-piece span{min-height:0;font-size:10px!important}.shop-piece small{font-size:9px}
.shop-bundle-bottom{min-height:0;margin:0;padding-top:6px;gap:8px}.shop-bundle-scene{grid-template-rows:auto minmax(0,1fr) auto;min-height:0}.shop-bundle-scene h3{font-size:18px;margin:0}
.shop-pass-gallery{flex:1 1 0;min-height:0}.shop-pass-copy{max-height:100%;min-height:0;overflow:hidden!important}
html body #hub-dialog.academy-shop-open .shop-chest-shelf{flex:1 1 0;min-height:0;overflow-y:hidden}
html body #hub-dialog.academy-shop-open .shop-chest{grid-template-rows:auto minmax(0,1fr) auto 40px 44px 32px;min-height:0;gap:6px;padding:12px}
html body #hub-dialog.academy-shop-open .shop-chest-art{height:auto;min-height:0}.shop-chest-art img{max-height:100%}
@container shop (max-height:410px){.shop-bundle-copy{grid-template-rows:minmax(0,1fr) auto}.shop-bundle-intro,.shop-bundle-includes{display:none!important}.shop-bundle-scene{grid-template-rows:minmax(0,1fr) auto}.shop-bundle-scene .shop-rarity{display:none}.shop-bundles,.shop-bundles>.shop-bundle,.shop-pass-gallery{min-height:0;flex-basis:0}.shop-bundles>.shop-bundle{flex-basis:100%}.shop-set-card>.shop-rarity{display:none}html body #hub-dialog.academy-shop-open .academy-shop button.shop-set-card{grid-template-rows:minmax(0,1fr) auto auto auto;border-radius:30px 30px 10px 10px!important}.shop-set-card h3{font-size:18px}.shop-set-price{font-size:17px}.shop-pass-facts{display:none}}
@container shop (max-height:260px){.shop-section-heading .shop-eyebrow,.shop-footer,.shop-bundle-bottom small{display:none}.shop-section-heading h2{font-size:18px}.shop-set-card h3{font-size:15px}.shop-set-open{padding-top:3px;font-size:11px}.shop-set-price{font-size:15px}.shop-set-gallery{gap:10px}.shop-pass-gallery{padding:10px}.shop-pass-copy{gap:8px}.shop-pass-copy>p,.shop-pass-copy>.shop-eyebrow{display:none}html body #hub-dialog.academy-shop-open .shop-pass-gallery .shop-main-action{min-height:44px!important;font-size:17px!important}.shop-pass-price{font-size:12px}.shop-chest .shop-rarity{display:none}html body #hub-dialog.academy-shop-open .shop-chest{grid-template-rows:minmax(0,1fr) auto 34px 38px 28px;padding:8px;gap:3px}html body #hub-dialog.academy-shop-open .shop-chest button{min-height:28px!important;font-size:12px!important}.shop-quantity select{height:32px}.shop-chest h3{font-size:17px!important}}
@media(max-height:500px){html body #hub-dialog#hub-dialog.academy-shop-open{padding:6px 10px!important;gap:6px!important}.academy-shop{gap:6px}.shop-tabs{padding:3px}.shop-footer{display:none}.shop-detail-nav>span{display:none}.shop-detail-nav button{min-height:32px!important}.shop-bundle-scene h3{font-size:14px}}
.shop-gallery-navigation{display:flex;justify-content:flex-end;flex:none}.shop-gallery-navigation button{min-height:30px!important;padding:2px 13px!important}

/* Wallet tiles must fit the header rather than inherit the oversized menu tiles. */
html body #hub-dialog.academy-shop-open #hub-wallet{display:flex!important;align-items:center!important;gap:8px!important;height:48px!important;min-height:0!important;overflow:visible!important}
html body #hub-dialog.academy-shop-open #hub-wallet .reward-currency{display:inline-flex!important;align-items:center!important;gap:6px!important;height:44px!important;min-height:0!important;padding:3px 5px 3px 10px!important;border-radius:12px!important;box-sizing:border-box!important;font-size:20px!important;line-height:1!important}
html body #hub-dialog.academy-shop-open #hub-wallet .reward-currency img,html body #hub-dialog.academy-shop-open #hub-wallet .reward-currency>svg{width:26px!important;height:26px!important;object-fit:contain}
html body #hub-dialog.academy-shop-open #hub-wallet .wallet-plus{width:34px!important;min-width:34px!important;height:36px!important;min-height:36px!important;flex:0 0 34px!important;padding:0!important;font-size:24px!important}
html body #hub-dialog#hub-dialog.academy-shop-open>.hub-heading{overflow:visible!important;padding:3px 0!important;height:56px!important;min-height:56px!important;box-sizing:border-box}
@media(max-width:620px),(max-height:420px){html body #hub-dialog.academy-shop-open #hub-wallet{gap:4px!important}html body #hub-dialog.academy-shop-open #hub-wallet .reward-currency{height:38px!important;font-size:16px!important;padding:2px 4px!important;gap:3px!important}html body #hub-dialog.academy-shop-open #hub-wallet .wallet-plus{width:28px!important;min-width:28px!important;flex-basis:28px!important;height:30px!important;min-height:30px!important;font-size:20px!important}html body #hub-dialog.academy-shop-open #hub-wallet .reward-currency img,html body #hub-dialog.academy-shop-open #hub-wallet .reward-currency>svg{width:20px!important;height:20px!important}}

/* Cards keep their painted background on hover; inner motion cannot grow scroll bounds. */
html body #hub-dialog.academy-shop-open .academy-shop button.shop-set-card:hover:not(:disabled){background:linear-gradient(#47313abb,#231b30f0),url('art/shop-display-arch.svg') center/100% 100% no-repeat,#392b3f!important}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-set-card.hollowlight:hover:not(:disabled){background:linear-gradient(#1e3f4caa,#191c32ec),url('art/shop-display-arch.svg') center/100% 100% no-repeat,#243544!important}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-set-card.conservatory:hover:not(:disabled){background:linear-gradient(#324c3faa,#302236ec),url('art/shop-display-arch.svg') center/100% 100% no-repeat,#344736!important}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-set-card:hover:not(:disabled),html body #hub-dialog.academy-shop-open .academy-shop button.shop-set-card:focus-visible:not(:disabled){transform:translateY(-2px)!important}
.shop-set-card{overflow:hidden;contain:paint}.shop-set-art{overflow:hidden}.shop-set-gallery{padding-top:6px;padding-bottom:6px;overflow-y:hidden}
.shop-quick-look{width:min(640px,90vw);height:min(570px,88dvh);max-height:88dvh;padding:20px;border:1px solid #d9b97f;border-radius:24px;background:radial-gradient(ellipse at 50% 40%,#59416b,#241b32 75%);color:#f1dfbf;box-sizing:border-box;overflow:hidden}
.shop-quick-look[open]{display:flex;flex-direction:column;gap:12px}.shop-quick-look::backdrop{background:#100b20bd}.shop-quick-look header{display:flex;justify-content:space-between;align-items:center;gap:12px}.shop-quick-look h2{font:700 clamp(18px,3vw,28px) Georgia;margin:4px 0}.shop-quick-look small{text-transform:capitalize;color:#c7b2d5}.shop-quick-art{flex:1;min-height:0;display:grid;place-items:center}.shop-quick-art canvas,.shop-quick-art svg,.shop-quick-art img{width:100%;height:100%;min-height:0;object-fit:contain}.shop-quick-look p{font:12px/1.4 system-ui;margin:0;color:#d4c2db}.shop-quick-look button{min-height:40px;border:1px solid #b79a70;border-radius:9px;background:#503b61;color:#f4dfb5;padding:8px 14px;font:700 14px Georgia;cursor:pointer}
@media(max-height:440px){.shop-quick-look{height:94dvh;max-height:94dvh;padding:10px;gap:6px}.shop-quick-look p,.shop-quick-look small{display:none}.shop-quick-look h2{font-size:18px}.shop-quick-look button{min-height:32px;padding:5px 10px}}

.shop-quick-art .celebration-preview{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0}.shop-quick-art .celebration-preview:focus-visible{outline:2px solid #d9b97f;outline-offset:-3px}

/* A compact masthead leaves the available height to the products. */
html body #hub-dialog#hub-dialog.academy-shop-open>.hub-heading{flex:0 0 44px!important;height:44px!important;min-height:44px!important;gap:10px!important}
html body #hub-dialog#hub-dialog.academy-shop-open>.hub-heading button{height:38px!important;min-height:38px!important;min-width:38px!important;padding:4px 12px!important;font-size:16px!important}
html body #hub-dialog#hub-dialog.academy-shop-open #hub-close{width:auto!important;flex:0 0 auto!important}
html body #hub-dialog#hub-dialog.academy-shop-open #hub-title{font-size:24px!important;line-height:1!important}
html body #hub-dialog#hub-dialog.academy-shop-open .shop-tabs{padding:3px!important;gap:5px!important;min-height:0!important}
html body #hub-dialog#hub-dialog.academy-shop-open .shop-tabs button{min-height:36px!important;padding:5px 10px!important;font-size:15px!important}
html body #hub-dialog#hub-dialog.academy-shop-open .shop-tabs img{width:21px!important;height:21px!important}
/* Preview stage: artwork and one clear purchase action, with a quiet academy frame. */
html body #hub-dialog .shop-quick-look{background:radial-gradient(ellipse at 50% 38%,#72568b55,transparent 65%),linear-gradient(#241b34eb,#21172ff5),url('art/shop-display-arch.svg') center/100% 100%;border:1px solid #d5b774;box-shadow:inset 0 0 0 5px #35253f,inset 0 0 0 6px #a0845855,0 20px 70px #07030dbb;padding:20px;gap:10px}
html body #hub-dialog .shop-quick-look header{width:100%;text-align:left;flex-shrink:0}
html body #hub-dialog .shop-quick-look header small{display:block;font:600 10px/1.4 system-ui;letter-spacing:.8px;color:#c9b497}
html body #hub-dialog .shop-quick-art{position:relative;background:radial-gradient(ellipse at 50% 85%,#c7a5e522,transparent 52%);border-bottom:1px solid #bea27644}
html body #hub-dialog .shop-quick-art .celebration-preview{outline:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
html body #hub-dialog .shop-quick-art .celebration-preview:focus-visible{outline:2px solid #d9b97f!important}
html body #hub-dialog .shop-quick-purchase{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px 12px;flex-shrink:0;text-align:left}
html body #hub-dialog .shop-quick-purchase strong{display:block;font:700 24px Georgia;color:#f4d99c}
html body #hub-dialog .shop-quick-purchase small{display:block;font:12px system-ui;color:#cdbbdd}
html body #hub-dialog .shop-quick-purchase strong small{display:inline;font-size:10px}
html body #hub-dialog .shop-quick-purchase>span{grid-column:1/-1;font:11px system-ui;color:#c0afce}
html body #hub-dialog .shop-quick-purchase button{background:linear-gradient(#86619b,#573963)!important;border:1px solid #edca83!important;color:#fff0bd!important;opacity:1;cursor:pointer;box-shadow:inset 0 1px 0 #f6d5ff33,0 3px 0 #8b693c!important}
html body #hub-dialog .shop-quick-purchase button:not(:disabled):hover{background:linear-gradient(#9a73af,#684776)!important;border-color:#ffe6a7!important}
html body #hub-dialog .shop-quick-purchase button:focus-visible{outline:2px solid #fff0bd;outline-offset:3px}
html body #hub-dialog .shop-quick-purchase button:disabled{opacity:.45!important;cursor:default;box-shadow:none!important}
html body #hub-dialog .shop-quick-back{align-self:flex-start;background:transparent!important;border:0!important;box-shadow:none!important;padding:4px 0!important;min-height:28px!important;font-size:12px!important}
@media(max-height:500px){
 html body #hub-dialog#hub-dialog.academy-shop-open{gap:4px!important;padding:5px 10px!important}
 html body #hub-dialog#hub-dialog.academy-shop-open .academy-shop{gap:5px!important}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-scroll{gap:5px!important}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-section-heading{min-height:22px!important}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-section-heading h2{font-size:17px!important;margin:0!important}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-section-heading .shop-eyebrow{display:none!important}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest{flex:0 0 245px!important;min-width:245px!important;padding:8px!important;gap:5px!important;grid-template-columns:65px minmax(0,1fr)!important;grid-template-rows:minmax(32px,1fr) 34px 36px 28px!important;align-content:stretch!important}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest>.shop-rarity{display:none!important}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest .shop-chest-art{display:block!important;grid-column:1!important;grid-row:1/3!important;width:65px!important;height:100%!important}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest .shop-chest-art img{width:100%;height:100%;object-fit:contain}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest h3{grid-column:2!important;grid-row:1!important;font-size:17px!important;line-height:1.05!important;margin:0!important;align-self:center}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest .shop-quantity{grid-column:2!important;grid-row:2!important;font-size:12px!important;display:flex;align-items:center;justify-content:space-between;gap:5px}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest select{height:32px!important;min-height:32px!important;width:52px!important;padding:3px!important;font-size:13px!important}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest .shop-price-pair{grid-column:1/-1!important;grid-row:3!important}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest .shop-odds-open{grid-column:1/-1!important;grid-row:4!important}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest button{height:100%!important;min-height:0!important;padding:3px!important;font-size:12px!important}
 html body #hub-dialog .shop-quick-look{padding:12px 16px;gap:5px}
 html body #hub-dialog .shop-quick-look header small{display:none}
 html body #hub-dialog .shop-quick-purchase strong{font-size:19px}
 html body #hub-dialog .shop-quick-purchase small{display:inline;font-size:11px}
 html body #hub-dialog .shop-quick-purchase button{min-height:34px!important}
}

html body #hub-dialog .shop-quick-look :focus-visible{outline:2px solid #e1c28b!important;outline-offset:2px!important;box-shadow:0 0 0 4px #70508555!important}

/* Compact Academy chest counter: no native dropdown or overlay. */
html body #hub-dialog.academy-shop-open .shop-quantity-stepper{display:flex;align-items:center;gap:2px;flex-shrink:0;background:#20172f;border:1px solid #b99b65;border-radius:13px;padding:3px;box-shadow:inset 0 0 0 2px #6d508244}
html body #hub-dialog.academy-shop-open .shop-quantity-stepper button{display:grid!important;place-items:center;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;border-radius:9px!important;border:1px solid #bb9b69!important;background:linear-gradient(#76548e,#483255)!important;color:#ffe7a2!important;font:700 24px Georgia!important;line-height:1!important;box-shadow:0 2px 0 #281c36!important}
html body #hub-dialog.academy-shop-open .shop-quantity-stepper button:disabled{opacity:.35;transform:none!important;cursor:default}
html body #hub-dialog.academy-shop-open .shop-quantity-stepper output{display:block;min-width:30px;text-align:center;color:#ffe8ac;font:700 19px Georgia;font-variant-numeric:tabular-nums}
@container shop (max-height:300px){html body #hub-dialog.academy-shop-open .shop-quantity-stepper{padding:1px;gap:0}html body #hub-dialog.academy-shop-open .shop-quantity-stepper button{width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;font-size:20px!important}html body #hub-dialog.academy-shop-open .shop-quantity-stepper output{min-width:24px;font-size:16px}}

/* Reserve complete rows for both pass actions; decorative copy yields space. */
.shop-pass-gallery .shop-pass-copy{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;align-content:stretch;gap:clamp(6px,1.5cqh,14px);overflow:visible!important;min-height:0}
.shop-pass-gallery .shop-pass-copy>p,.shop-pass-gallery .shop-pass-facts{display:none}
.shop-pass-gallery .shop-pass-copy h2{align-self:center;font-size:clamp(24px,7cqh,48px);line-height:1.05}
.shop-pass-gallery [data-pass-purchase]{display:grid;gap:6px;min-height:0;margin:0}
.shop-pass-gallery [data-pass-purchase]>small{font:11px/1.25 system-ui}
html body #hub-dialog.academy-shop-open .shop-pass-gallery .shop-main-action{min-height:44px!important;height:auto!important;padding:clamp(8px,2cqh,14px) 16px!important;font-size:clamp(17px,4cqh,24px)!important;gap:10px!important;flex-shrink:0}
.shop-pass-gallery .pass-shard-cost{flex-shrink:0;white-space:nowrap}
@container shop (max-height:300px){.shop-pass-gallery .shop-pass-copy{grid-template-rows:minmax(0,1fr) auto auto;gap:6px}.shop-pass-gallery .shop-pass-copy>.shop-eyebrow{display:none}.shop-pass-gallery .shop-main-action small{display:none}.shop-pass-gallery [data-pass-purchase]>small:not(.pass-purchase-error){display:none}.shop-pass-gallery .shop-pass-copy h2{font-size:22px}}
/* Treasury artwork fits within the existing card stage at every screen height. */
.shop-pack-art>img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 4px #130d2480);transition:transform .22s ease}
.shop-pack:hover .shop-pack-art>img{transform:translateY(-3px)}
.shop-pack-vault{background:radial-gradient(ellipse at 50% 48%,#38777555,transparent 67%),linear-gradient(145deg,#453356,#221b32);border-color:#c4a16a}
.shop-pack-cache{background:radial-gradient(ellipse at 50% 48%,#4e608b44,transparent 65%),#292039}
.shop-currency>img{width:22px;height:25px;object-fit:contain;vertical-align:middle}
.shop-shard-cost{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;font-weight:700}
.shop-shard-cost>img{width:28px!important;height:32px!important;object-fit:contain;flex-shrink:0}
html body #hub-dialog .shop-shard-action,html body #hub-dialog.academy-shop-open .shop-pack [data-shard-checkout],.shard-cosmetic-confirm .shop-shard-action{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;min-height:52px!important;padding:10px 18px!important;border:2px solid #e3c482!important;border-radius:14px!important;background:linear-gradient(125deg,#815c97,#503657)!important;color:#fff0bd!important;font:700 clamp(17px,1.8vw,24px)/1.2 Georgia,serif!important;text-align:center!important;box-shadow:inset 0 0 0 3px #3a2949,0 4px 0 #9c7947!important;opacity:1!important;cursor:pointer!important}
html body #hub-dialog.academy-shop-open .shop-pack [data-shard-checkout]{justify-content:center!important;gap:7px!important;min-height:44px!important;padding:6px 12px!important}
html body #hub-dialog .shop-shard-action:hover:not(:disabled),html body #hub-dialog.academy-shop-open .shop-pack [data-shard-checkout]:hover:not(:disabled),.shard-cosmetic-confirm .shop-shard-action:hover:not(:disabled){background:linear-gradient(125deg,#986fae,#674470)!important;border-color:#fff0b7!important;transform:translateY(-2px)!important}
html body #hub-dialog .shop-shard-action:focus-visible,html body #hub-dialog.academy-shop-open .shop-pack [data-shard-checkout]:focus-visible,.shard-cosmetic-confirm .shop-shard-action:focus-visible{outline:2px solid #b7ffea;outline-offset:3px}
html body #hub-dialog .shop-shard-action:active:not(:disabled),html body #hub-dialog.academy-shop-open .shop-pack [data-shard-checkout]:active:not(:disabled){transform:translateY(2px)!important;box-shadow:inset 0 0 0 3px #3a2949,0 1px 0 #9c7947!important}
html body #hub-dialog .shop-shard-action:disabled,.shard-cosmetic-confirm .shop-shard-action:disabled{opacity:.5!important;cursor:default!important;transform:none!important}
.shop-bundle-bottom .shop-shard-action{flex:1;min-width:0}.shop-bundle-saving{font-size:13px}.shop-bundle-saving strong{display:block;color:#f7d895}.shop-bundle-saving small{display:block;line-height:1.4}.shop-set-price .shop-shard-cost{font-size:22px}
.shard-purchase-emblem{width:64px;height:64px;margin:0 auto 12px;display:grid;place-items:center;background:radial-gradient(#99ffe750,transparent 70%)}.shard-purchase-emblem img{height:54px;width:42px}.shard-cosmetic-confirm{text-align:center}.shard-cosmetic-confirm .purchase-actions{justify-content:center}.shard-cosmetic-confirm .purchase-actions button{flex:1 1 150px}.shop-return-item{font-size:13px!important;min-height:36px!important;padding:5px 10px!important}
@media(max-height:500px){html body #hub-dialog .shop-shard-action{min-height:40px!important;padding:7px 12px!important;font-size:16px!important}.shop-shard-cost>img{width:21px!important;height:24px!important}.shop-bundle-saving{font-size:11px}.shard-purchase-emblem{display:none}.shard-cosmetic-confirm{padding:18px!important}.shop-pack-art>img{max-height:100%}}
@media(prefers-reduced-motion:reduce){.shop-pack-art>img{transition:none}.shop-pack:hover .shop-pack-art>img{transform:none}html body #hub-dialog .shop-shard-action:hover:not(:disabled),html body #hub-dialog.academy-shop-open .shop-pack [data-shard-checkout]:hover:not(:disabled){transform:none!important}}

@media(max-height:420px){.shop-pack h3 small{display:block;font-size:9px;line-height:1.2}}
/* Reserve room for lift, focus and the gold base inside each scrolling rail. */
html body #hub-dialog.academy-shop-open button:hover:not(:disabled),html body #hub-dialog.academy-shop-open button:focus-visible:not(:disabled){transform:translateY(-2px)!important}
.shop-bundle-items,.conservatory .shop-bundle-items{box-sizing:border-box;padding:6px 4px 8px;overflow-y:hidden}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-piece{border:2px solid #e3c482!important;border-radius:14px!important;background:radial-gradient(ellipse at 50% 30%,#dbb7ff38,transparent 65%),linear-gradient(125deg,#684b7a,#392840)!important;box-shadow:inset 0 0 0 3px #3a2949,0 4px 0 #9c7947!important;overflow:hidden;contain:paint}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-piece:hover:not(:disabled),html body #hub-dialog.academy-shop-open .academy-shop button.shop-piece:focus-visible:not(:disabled){background:radial-gradient(ellipse at 50% 30%,#e4c6ff50,transparent 65%),linear-gradient(125deg,#79568d,#49324f)!important;border-color:#fff0b7!important;box-shadow:inset 0 0 0 3px #3a2949,0 4px 0 #9c7947!important;outline-offset:-5px}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-piece:active:not(:disabled){transform:translateY(1px)!important;box-shadow:inset 0 0 0 3px #3a2949,0 1px 0 #9c7947!important}
.shop-piece canvas{display:block;min-width:0;max-width:100%}
@media(prefers-reduced-motion:reduce){html body #hub-dialog.academy-shop-open button:hover:not(:disabled),html body #hub-dialog.academy-shop-open button:focus-visible:not(:disabled),html body #hub-dialog.academy-shop-open .academy-shop button.shop-piece:active:not(:disabled){transform:none!important}}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-piece:focus-visible{outline:2px solid #fff0b7!important;outline-offset:-5px!important}

/* Preserve readable proportions and scroll the collection instead of squeezing it. */
.shop-bundle-items,.conservatory .shop-bundle-items{display:flex;min-width:0;overflow-x:auto;overflow-y:hidden;gap:10px;scroll-snap-type:x proximity;scroll-padding-inline:4px;scrollbar-width:thin;scrollbar-color:#c4a36d #241b31;overscroll-behavior-x:contain}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-piece{flex:1 0 176px;min-width:176px;scroll-snap-align:start}
@media(max-height:500px){html body #hub-dialog.academy-shop-open .academy-shop button.shop-piece{flex-basis:144px;min-width:144px}}
/* Purchase actions keep the same gold frame as the cosmetic cards. */
html body #hub-dialog.academy-shop-open .academy-shop button.shop-shard-action{border:2px solid #e3c482!important;border-radius:14px!important;background:radial-gradient(ellipse at 50% 30%,#dbb7ff38,transparent 65%),linear-gradient(125deg,#815c97,#503657)!important;box-shadow:inset 0 0 0 3px #3a2949,0 4px 0 #9c7947!important;color:#fff0bd!important}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-shard-action:hover:not(:disabled),html body #hub-dialog.academy-shop-open .academy-shop button.shop-shard-action:focus-visible:not(:disabled){border-color:#fff0b7!important;box-shadow:inset 0 0 0 3px #3a2949,0 4px 0 #9c7947!important}

/* Phones: all four chests fit across (no clipped Epic card) and "My chests" stays reachable in the heading. */
@media(max-height:500px){
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-section-heading>[data-vault]{display:inline-flex!important;align-items:center;min-height:26px!important;height:26px;padding:2px 12px!important;font-size:12px!important;white-space:nowrap}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest-shelf{gap:8px!important}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest{flex:1 1 0!important;min-width:0!important;grid-template-columns:52px minmax(0,1fr)!important}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest .shop-chest-art{width:52px!important}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest h3{font-size:14px!important;overflow-wrap:anywhere}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest .shop-quantity{justify-content:flex-end}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest .shop-quantity>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest .shop-quantity-stepper button{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest .shop-quantity-stepper output{min-width:24px;font-size:16px}
 html body #hub-dialog#hub-dialog.academy-shop-open .shop-chest .shop-price-pair{gap:5px!important}
}

/* Contents & odds: a compact sheet sized to its content, Back top-left, everything on one page. */
html body #hub-dialog .shop-scroll{position:relative}
html body #hub-dialog .shop-odds-panel{inset:0 auto auto 50%!important;transform:translateX(-50%);width:min(560px,100%);height:auto;max-height:100%;overflow-y:auto;box-sizing:border-box;padding:14px 18px 16px!important;gap:10px!important;border:1px solid #c7a96d!important;border-bottom:4px solid #5f4734!important;border-radius:20px 10px 20px 10px!important;background:linear-gradient(#352844f7,#221a30fa)!important;box-shadow:0 18px 50px #0c0716cc,inset 0 0 0 3px #d1b98618;scrollbar-width:thin;scrollbar-color:#d6b878 #241a33}
html body #hub-dialog .shop-odds-panel>header{justify-content:flex-start!important;gap:14px!important;margin:0!important;padding:0!important;width:auto!important;min-height:0!important;height:auto!important;background:none!important;border:0!important;box-shadow:none!important}
html body #hub-dialog .shop-odds-panel>header h3{font:700 22px Georgia!important;color:#f3dfae}
html body #hub-dialog .shop-odds-panel>header [data-close]{order:-1;min-height:36px!important;padding:5px 16px!important;font-size:14px!important}
html body #hub-dialog .shop-odds-body{display:grid;gap:12px}
html body #hub-dialog .shop-odds-body h4{margin:0 0 5px;font:700 12px system-ui;letter-spacing:.14em;text-transform:uppercase;color:#d9bd7c}
html body #hub-dialog .shop-odds-body p{display:block!important;margin:0!important;font:14px/1.45 system-ui!important;color:#e6d8ec}
html body #hub-dialog .shop-odds-list{list-style:none;margin:0 0 8px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:6px}
html body #hub-dialog .shop-odds-list li{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:7px 11px;border:1px solid #b49a6866;border-radius:10px;background:#1b1427cc;color:#e9dcf1;font:13px system-ui}
html body #hub-dialog .shop-odds-list b{color:#ffe1a0;font:700 15px Georgia;font-variant-numeric:tabular-nums}
html body #hub-dialog .shop-odds-notes{margin:0;padding-left:18px;color:#cdbfd8;font:12px/1.45 system-ui}
@media(max-height:500px){html body #hub-dialog .shop-odds-panel{padding:8px 12px 10px!important;gap:6px!important;width:min(640px,100%)}html body #hub-dialog .shop-odds-panel>header h3{font-size:17px!important}html body #hub-dialog .shop-odds-panel>header [data-close]{min-height:32px!important;padding:3px 12px!important}html body #hub-dialog .shop-odds-body{gap:6px}html body #hub-dialog .shop-odds-body p{font-size:12px!important}html body #hub-dialog .shop-odds-list{margin-bottom:4px}html body #hub-dialog .shop-odds-list li{padding:4px 9px}html body #hub-dialog .shop-odds-notes{font-size:11px;line-height:1.3}}

/* The Greenstorm: deep forest glass under aurora light. */
.shop-bundle.overgrowth{--display-light:#5f7fb8;--display-dark:#151c38}
html body #hub-dialog.academy-shop-open .academy-shop button.shop-set-card.overgrowth,html body #hub-dialog.academy-shop-open .academy-shop button.shop-set-card.overgrowth:hover:not(:disabled){background:radial-gradient(120% 60% at 50% 18%,#ffd84a26,transparent 70%),linear-gradient(#2f4f6a99,#1f2240ee),url('art/shop-display-arch.svg') center/100% 100% no-repeat,#253552!important}

