/* Collections sit inside the existing 1280 × 640 scaled game stage. */
.shop-tabs{grid-template-columns:repeat(9,minmax(0,1fr));gap:6px}
.shop-tabs [data-shop-tab=collections]{color:#e8c98c}
.collections-store{color:#f5ead3;text-align:right;direction:rtl}
/* Reclaim collection space without hiding the wallet or accessible headings. */
#lobbyStage #shop[data-category=collections] .shop-heading{height:36px;min-height:36px}
#lobbyStage #shop[data-category=collections] #shopTitle,#lobbyStage #shop[data-category=collections] #shopHint,.collections-store .collection-section-title{display:block;position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;padding:0;border:0}
#lobbyStage #shop[data-category=collections] #shopContent{padding-top:4px;padding-bottom:8px}
#lobbyStage #shop[data-category=collections] .collection-filters{margin-bottom:4px}
.collections-intro{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;margin-bottom:12px;border:1px solid #b9955040;border-radius:12px;background:linear-gradient(110deg,#42331c44,#111b27e8)}
.collections-intro small,.collection-info>small,.detail-edition,.uae-collection-banner small{font-size:11px;letter-spacing:2px;color:#cfb780}
.collections-intro h2{font-size:25px;margin:4px 0;color:#ffedc8}.collections-intro p{font-size:14px;line-height:1.7;color:#c4cbce;margin:0}
.collection-filters{display:flex;gap:8px;margin:0 0 4px;position:sticky;top:0;z-index:3;padding:7px 0;background:#0c2537f5}
.collection-filters button{min-height:40px;padding:7px 17px;font-size:15px;border:1px solid #82929e44;background:#101e2c;color:#d2dde2;box-shadow:none;border-radius:7px}
.collection-filters button[aria-pressed=true]{background:#dbc28a;color:#22221c;border-color:#efd7a3}
.collection-section-title{font-size:19px;margin:12px 0;display:flex;align-items:center;justify-content:space-between;gap:15px}
.collection-section-title>span{font-size:13px;font-weight:400;color:#aebdc6}
.collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding-bottom:12px}
.collection-tile{display:flex;flex-direction:column;text-align:right;min-width:0;padding:0;overflow:hidden;border:1px solid #a789514f;border-radius:12px;background:linear-gradient(#1c2630,#101a25);color:#f5ead5;box-shadow:0 6px 15px #0003;transition:border-color .15s,transform .15s}
.collection-tile:hover,.collection-tile:focus-visible{border-color:#efd390;transform:translateY(-2px)}.collection-tile:focus-visible{outline:2px solid #fff0c2;outline-offset:3px}.collection-tile.equipped{border-color:#e7ca83}
.collection-visual{display:flex;position:relative;align-items:center;justify-content:center;width:100%;height:133px;background:radial-gradient(ellipse at center,#46505755,#080e17 80%);isolation:isolate}
.collection-pack .collection-visual{height:155px}.collection-pack .table-pack-preview{border-radius:0}
.collection-card .back-preview{width:81px;height:122px;border-radius:7px;box-shadow:0 9px 15px #0008;border:1px solid #aa926844}
.collection-badge{position:absolute;z-index:2;top:10px;right:10px;font-size:10px;letter-spacing:.6px;line-height:1.5;border:1px solid #bca46770;background:#12181fe8;color:#efd5a0;border-radius:4px;padding:4px 7px;max-width:90%}
.collection-info{display:flex;flex-direction:column;gap:3px;padding:8px 12px 0;flex:1;min-width:0;width:100%;box-sizing:border-box}
.collection-info>small{text-align:right;font-size:10px;letter-spacing:1px}.collection-info>b{font-size:20px;line-height:1.4}.collection-slogan{font-size:14px;line-height:1.6;color:#c5cbd0;min-height:43px}
.collection-cta{display:flex;justify-content:space-between;gap:5px;align-items:center;font-size:13px;border-top:1px solid #9580573f;margin-top:auto;padding:12px 0;color:#dfcb9e}.collection-cta strong{white-space:nowrap;font-size:16px}
.collection-requirement{color:#e4c381;font-size:12px;line-height:1.6}.collection-footnote{color:#b3c5ce;font-size:14px;line-height:1.7}
.uae-collection-banner{display:grid;grid-template-columns:330px 1fr;gap:24px;width:100%;padding:14px 22px;border-radius:12px;min-height:145px;border:1px solid #c4a86b80;background:linear-gradient(110deg,#352d2177,#121d2bed);text-align:right;color:#e9d9b8;box-shadow:none}
.uae-collection-banner>span:last-child{display:flex;flex-direction:column;justify-content:center;gap:7px}.uae-collection-banner b{font-size:23px;color:#ffe3a8}.uae-collection-banner span>span{font-size:14px;color:#c3cad1}.uae-collection-banner strong{font-size:17px;color:#efd18c}
.collection-fan{display:block;width:100%;height:150px;position:relative;direction:ltr}.collection-fan img{position:absolute;left:calc(5% + var(--i) * 10.5%);top:10px;width:23%;height:130px;object-fit:cover;border:1px solid #c9a96277;border-radius:5px;box-shadow:-3px 3px 9px #0008;transform:rotate(calc((var(--i) - 3.5) * 2deg))}
.collection-fan img:last-child{z-index:1;top:0;height:144px;border-color:#f2dc9c}
#app>#cosmeticDialog .cosmetic-copy{grid-column:2;grid-row:2;text-align:right;min-width:0}
#app>#cosmeticDialog .detail-preview{grid-row:2!important;align-self:center}
#app>#cosmeticDialog.collections-detail[open]{width:1010px;grid-template-columns:420px 1fr;border-color:#bc9c64;background:linear-gradient(130deg,#182332,#0e1b2a)}
#cosmeticDialog.collections-detail .detail-preview{height:310px}
#cosmeticDialog.collections-detail .back-preview{height:300px;width:200px;border-radius:10px;border:1px solid #e0c89955;box-shadow:0 12px 30px #0008}
#cosmeticDialog.collections-detail .pack-detail .table-pack-preview{height:275px}
#cosmeticDialog.collections-detail .set-detail .collection-fan{height:230px}
#cosmeticDialog.collections-detail .set-detail .collection-fan img{height:175px;top:25px}.collections-detail .set-detail .collection-fan img:last-child{height:200px;top:12px}
#app>#cosmeticDialog .detail-slogan{font-size:22px;color:#f5dca8;font-weight:bold}
#app>#cosmeticDialog .cosmetic-copy p{font-size:14px;margin:8px 0;line-height:1.7}
#app>#cosmeticDialog .limited-dates{font-size:12px;color:#d4bd8f;padding:9px;border:1px solid #9c82484d;border-radius:6px;background:#43331c33}
.bundle-parts{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0}.bundle-parts span{border:1px solid #b196604f;background:#dbc0870c;color:#ead9b3;padding:5px 7px;font-size:11px;border-radius:4px}
.bundle-backs{display:grid;grid-template-columns:repeat(8,1fr);gap:5px;margin:10px 0}.bundle-backs img{width:100%;height:67px;object-fit:cover;border-radius:3px;border:1px solid #d6ba8155}.bundle-backs small{display:block;font-size:8px;color:#d8bf86;white-space:nowrap;text-align:center}
.black-joker-art{position:relative;overflow:hidden}.black-joker-art:after{content:'';position:absolute;inset:0;background:linear-gradient(115deg,transparent 20%,#e8efff25 47%,transparent 70%);transform:translateX(150%);pointer-events:none}.collection-tile:hover .black-joker-art:after,.collections-detail .black-joker-art:after{animation:collector-sheen 1.8s ease 1}
@keyframes collector-sheen{to{transform:translateX(-150%)}}
@media(prefers-reduced-motion:reduce){.collection-tile{transition:none}.black-joker-art:after{animation:none!important}}
/* Timed coin offers: the struck price is the regular quote, the bold one is charged. */
.was-price{font-size:.78em;font-weight:400;color:#9aa8b0;text-decoration-thickness:1px;margin-inline-end:2px}
.offer-badge{position:absolute;z-index:2;top:10px;left:10px;padding:3px 7px;border-radius:4px;font-size:12px;font-weight:800;line-height:1.4;background:#c8102e;color:#fff;box-shadow:0 2px 6px #0006}
.offer-chip{font-style:normal;font-size:11px;font-weight:800;line-height:1.5;margin-inline-start:3px;padding:0 5px;border-radius:3px;background:#c8102e;color:#fff;vertical-align:1px}
.offer-banner{display:flex;align-items:center;gap:12px;margin:2px 0 8px;padding:9px 14px;border:1px solid #3aa56f8c;border-radius:10px;background:linear-gradient(100deg,#0d3a2bd9,#111d2bf2 72%);text-align:right}
.offer-banner b{display:block;font-size:16px;line-height:1.5;color:#fff}.offer-banner small{display:block;font-size:13px;line-height:1.6;color:#cfe4d8}
.uae-flag{flex:none;display:inline-block;width:30px;height:20px;border-radius:2px;box-shadow:0 0 0 1px #ffffff40;background:linear-gradient(90deg,#c8102e 0 25%,transparent 25%),linear-gradient(#009739 0 33.34%,#fff 33.34% 66.67%,#000 66.67%)}
#app>#cosmeticDialog .offer-note{display:flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid #3aa56f66;border-radius:6px;background:#0d3a2b66;color:#e3f2e9;font-size:13px}
#lobbyStage .home-bottom>.identity-ad.offer-ad{border-color:#3aa56fb3;background:linear-gradient(115deg,#0f3d2ef2,#2c3a33ed)}
#lobbyStage .offer-ad .identity-ad-star .uae-flag{width:38px;height:25px}
#lobbyStage .offer-ad .identity-ad-cta{color:#fff}
