:root{--app-bg40:#141218}
html,body{background:var(--app-bg40)!important}body header,body .mobile-wordmark,body .subbar{background:var(--app-bg40)!important}body .mobile-wordmark{position:relative!important;top:auto!important;height:48px!important;padding:2px 0!important;margin:0!important;transform:none!important}body .mobile-wordmark img,body .brand-image{animation:none!important;transform:none!important;transition:none!important;object-fit:contain!important;filter:none!important}
body button,body input{outline:none}body button:focus:not(:focus-visible),body input:focus:not(:focus-visible){outline:none!important;box-shadow:none!important}body button:focus-visible,body a:focus-visible{outline:1px solid #b7adc9;outline-offset:3px}body input:focus-visible{outline:none!important;box-shadow:none!important}body .close{background:none!important;border:0!important;box-shadow:none!important;outline:none!important;border-radius:0!important}
.upgrade-balance39{flex:1;justify-content:center;gap:12px;width:100%;padding:8px 0}.upgrade-balance39 label{width:100%;gap:8px;justify-content:center}.upgrade-balance39 label img{width:30px;height:30px;flex:0 0 30px}.upgrade-balance39 input{width:95px;text-align:left;font-size:33px;line-height:1.2;padding:4px 0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important;outline:0!important}.upgrade-balance39>div{gap:20px}.upgrade-balance39 button{padding:4px 12px;font-size:12px;background:#ffffff05;border-radius:12px}.upgrade-choice39{background:#1d1923!important;box-shadow:none!important}.upgrade-caption39{background:#16131c}.upgrade-presets39 button{border:0!important}.upgrade-v39 .upgrade-grid38>button{border:0!important}.upgrade-v39 .upgrade-grid38>button.selected{box-shadow:inset 0 -3px #b896e8}
.gift-pages40{display:flex;align-items:center;justify-content:space-between;padding:12px 3px 1px;gap:15px}.gift-pages40 button{width:36px;height:36px;border:0;border-radius:50%;background:#27212f;color:#c7b6da;font-size:26px;line-height:1}.gift-pages40 button:disabled{opacity:.25}.gift-pages40 span{font-size:12px;color:#9e91ac;font-variant-numeric:tabular-nums}
.gift-vector canvas{display:block!important;width:100%!important;height:100%!important}.gift-media>.gift-vector{overflow:visible}.gift-media.vector-ready>img{visibility:hidden}
body .site-footer{border:0!important;margin:30px auto 0;max-width:640px;padding:24px 20px 110px!important;background:none!important;display:flex;align-items:center;justify-content:space-between;gap:20px}body .footer-brand{width:105px;opacity:.7}body .footer-brand img{width:105px;height:auto}body .footer-links{display:flex;gap:10px;flex-wrap:wrap}body .footer-links a{font-size:12px;padding:10px 13px;background:#1e1925;border-radius:18px;text-decoration:none;color:#bbb0c9}body .footer-links img{height:16px;width:16px}
@media(max-width:700px){body{padding-top:0!important}html.tg-app body,html.tg-app body[data-view=upgrade]{padding-top:var(--tg-top,0px)!important}html.tg-app .launch-screen{padding-top:var(--tg-top,0px)!important}body[data-view=upgrade]{padding-top:0!important}body[data-view=upgrade] .mobile-wordmark{display:none!important}body header .account{border:0!important;box-shadow:none!important;background:#201c27!important;border-radius:20px!important}body[data-view=upgrade] header .account{background:var(--app-bg40)!important}body .site-footer{flex-direction:column;gap:12px;padding-bottom:110px!important}body .footer-links a{padding:11px 17px}body header nav.dock-v38{bottom:max(12px,var(--tg-bottom,0px))!important}body .upgrade-dial39{margin-top:22px}}
body .live-strip{overflow:visible;height:106px!important;min-height:106px!important}body .live-track{padding:17px 8px 12px!important;height:106px!important;overflow-x:auto;overflow-y:hidden;gap:9px}body .live-drop{background:linear-gradient(140deg,color-mix(in srgb,var(--rarity-color) 85%,white),var(--rarity-color))!important;width:70px;min-width:70px;flex-basis:70px;height:72px;min-height:72px;border-radius:20px}body .live-drop:before{content:'';position:absolute;inset:0;opacity:.1;border-radius:inherit;background-image:url('assets/profile-v37/gift.svg');background-size:22px;pointer-events:none}body .live-drop:after{left:24px;bottom:-6px}body .live-drop .live-tile{width:70px;height:69px;padding:6px 4px 8px}body .live-drop .live-name{font-size:8px;top:4px;left:6px;line-height:10px}body .live-drop .live-user{font-size:6px;line-height:11px;bottom:3px;color:#fff;background:#15131aac}body .live-top40{box-shadow:0 0 13px #ffc23d88,0 0 28px #ffc23d33!important}body .live-top40:after{background:#ffda62;box-shadow:0 0 8px #ffdb60}body .live-top40 .live-user{color:#ffeb9d}.live-crown40{position:absolute;width:19px;height:15px;left:25px;top:-14px;color:#ffce46;filter:drop-shadow(0 0 5px #ffbe31aa);z-index:2}
.source-case40{display:flex;align-items:center;justify-content:center;height:260px!important;margin:8px auto;background:none!important;box-shadow:none!important;transform:none!important}.source-case40 img{width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important;animation:none!important;filter:none!important}.source-pack40 img{max-width:205px}.case-preview .source-case40{height:300px!important}.case-preview .source-pack40 img{max-width:230px}@media(max-width:700px){.catalog .source-case40{height:175px!important;margin:4px auto}.catalog .source-pack40 img{max-width:140px}.case-preview .source-case40{height:245px!important}}.filters{overflow-x:auto;white-space:nowrap;scrollbar-width:none}.gift-deposit40{text-align:center;padding:22px 4px}.gift-deposit40>img{width:65px;height:65px;opacity:.7}.gift-deposit40 p{font-size:12px;line-height:1.65;color:#b7abbf;margin:14px 0}.gift-deposit40 a{display:inline-block;margin-top:16px;color:#c7a4fb}.deposit-input{border:0!important;background:#201b28!important;box-shadow:none!important}.deposit-input input{border:0!important;background:transparent!important;box-shadow:none!important}.payment-method{border:0!important}.payment-method[aria-pressed=true]{box-shadow:inset 0 -2px #af83ec!important}.amount-presets button{border:0!important}.amount-presets button.selected{background:#392c4a!important}
.source-case40{width:100%!important;padding:0!important}.source-case40 img{padding:0!important}
/* Compact catalogue controls, aligned with the filter row. */
.catalog-toolbar40{display:flex!important;align-items:center;gap:20px!important;flex-wrap:nowrap!important}.catalog-toolbar40 .filters{flex:1;min-width:0;margin:0}.catalog-tools40{display:flex;align-items:center;gap:8px;flex-shrink:0}.catalog-tools40 .catalog-count{margin-right:12px}.catalog-icon40{width:36px;height:36px;display:grid;place-items:center;padding:7px!important;border:0!important;border-radius:10px;background:transparent!important;color:#9e97ad;transition:color .18s,background .18s}.catalog-icon40:hover,.catalog-icon40[aria-expanded=true]{color:#eee6fb;background:#ffffff08!important}.catalog-icon40 svg,.catalog-search40 svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.catalog-icon40[data-order=asc] .sort-up40,.catalog-icon40[data-order=desc] .sort-down40{stroke:#c39bfc}.catalog-icon40[data-order=asc] .sort-down40,.catalog-icon40[data-order=desc] .sort-up40{opacity:.3}.catalog-search40{display:flex;align-items:center;gap:12px;background:#211d29;border-radius:14px;padding:0 12px;margin:0 0 18px;color:#8d829e;max-width:430px;margin-left:auto;height:46px}.catalog-search40[hidden]{display:none!important}.catalog-search40 input{min-width:0;width:100%;border:0!important;background:none!important;color:#ede6f7;padding:12px 0!important;font:inherit;font-size:14px;box-shadow:none!important}.catalog-search40 input::-webkit-search-cancel-button{display:none}.catalog-search40 button{display:grid;place-items:center;border:0!important;background:none!important;width:32px;height:32px;padding:4px;color:#a89bb9;box-shadow:none!important}.catalog-search40>svg{flex-shrink:0;width:19px;height:19px}.catalog-sort-status40{display:block;text-align:right;color:#9e90ae;font-size:11px;min-height:0;margin:-6px 0 12px}.catalog-sort-status40:empty{display:none}.catalog-group40{grid-column:1/-1;font-size:17px!important;font-weight:650;letter-spacing:-.3px!important;margin:20px 0 0!important;color:#e2dbea}.catalog-group40:first-child{margin-top:0!important}.catalog-empty40{grid-column:1/-1;text-align:center;padding:70px 15px;color:#94889e}.catalog-empty40>span svg{width:30px;height:30px;stroke:currentColor;fill:none;stroke-width:1.3;stroke-linecap:round}.catalog-empty40 h2{font-size:18px;color:#d6cddd}.catalog-empty40 p{font-size:13px}
@media(max-width:700px){.catalog-toolbar40{gap:6px!important}.catalog-tools40{gap:0}.catalog-tools40 .catalog-count{display:none}.catalog-toolbar40 .filters{gap:16px!important}.catalog-toolbar40 .filters button{font-size:11px;flex-shrink:0}.catalog-icon40{width:31px;height:36px;padding:5px!important}.catalog-search40{max-width:none;margin-bottom:16px}.catalog-group40{font-size:16px!important;margin-top:16px!important}}
/* Keep the original three-promo layout. Align the wordmark within its own row. */
body .mobile-wordmark{left:auto!important;right:auto!important;width:100%!important;max-width:none!important;justify-content:center!important;overflow:visible}body .mobile-wordmark img{display:block;width:138px!important;height:44px!important;max-width:100%!important;position:static!important;margin:0 auto!important}
/* Original NFT backdrops in LIVE; source below the gift. */
body .live-drop:before{display:none!important}body .live-drop{background:#292430!important;border-radius:18px}body .live-drop .live-tile{padding:0!important;border-radius:18px;overflow:hidden}body .live-drop .live-tile .gift-media{width:100%!important;height:100%!important;display:block;border-radius:inherit}body .live-drop .gift-media>img{width:100%;height:100%;object-fit:cover}body .live-drop .live-user{max-width:64px;min-width:0;padding:0 5px;font-size:7px;line-height:13px;bottom:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;background:#16141ccd;border-radius:8px}body .live-top40{box-shadow:0 0 12px #efb84455,0 0 22px #efb84420!important}.live-crown40{width:18px;height:14px;top:-12px;left:26px;color:#ffd975;filter:drop-shadow(0 1px 2px #bf771455)}
/* Foil packs share one visible size and a seven-degree lean.
   The older purple master already contains that lean in its pixels. */
body .catalog .foil-pack40,body .case-preview .foil-pack40{display:flex;justify-content:center;align-items:center;height:280px!important;min-height:280px;width:100%!important;max-width:none!important;padding:0!important;margin:0 auto!important;transform:none!important;animation:none!important;background:none!important;overflow:visible}
body .catalog .foil-pack40 img,body .case-preview .foil-pack40 img{position:static!important;width:205px!important;height:260px!important;max-width:none!important;max-height:none!important;object-fit:contain!important;padding:0!important;transform:rotate(-7deg)!important;animation:none!important}
body .catalog .foil-legacy40 img,body .case-preview .foil-legacy40 img{width:286px!important;height:286px!important;transform:none!important}
@media(max-width:700px){body .catalog .foil-pack40{height:185px!important;min-height:185px}body .catalog .foil-pack40 img{width:130px!important;height:166px!important}body .catalog .foil-legacy40 img{width:186px!important;height:186px!important}}
/* Keep the artwork flush with the card; currency is a separate, bounded icon. */
@media(min-width:701px) and (max-width:900px){body .catalog{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(min-width:901px) and (max-width:1150px){body .catalog{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){body .live-strip{margin-left:0!important;margin-right:0!important}body .live-track{mask-image:none!important;-webkit-mask-image:none!important}}
body .live-drop .live-tile{position:absolute;inset:0;width:100%!important;height:100%!important;margin:0!important;padding:0!important;background:none!important;box-shadow:none;transform:none!important}
body .live-drop .live-tile .gift-media{position:absolute;inset:0;margin:0!important;transform:none!important;overflow:hidden;border-radius:inherit}
body .live-drop .gift-vector{inset:0!important;margin:0!important;transform:none!important}
body .live-drop .gift-vector>canvas,body .live-drop .gift-vector>svg{display:block;width:100%!important;height:100%!important;margin:0!important;transform:none!important}
body .live-drop .live-coin40{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 38%,#3f7993,#203a52 80%)}
body .live-drop .live-coin40>img{display:block;width:34px!important;height:34px!important;max-width:34px;margin:0 0 2px!important;object-fit:contain;transform:none!important}
body .live-drop .live-name,body .live-drop .live-user{z-index:2}
.gift-vector>svg{display:block;width:100%!important;height:100%!important}
@media(min-width:701px){body header nav.dock-v38{gap:20px}body header nav.dock-v38 .dock-rail38{gap:20px}body header nav.dock-v38 button{white-space:nowrap}}
@media(max-width:700px){body header{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:6px 12px!important;box-sizing:border-box}body header .account{width:100%!important;min-width:0;max-width:100%;gap:10px!important;padding:10px 12px!important;box-sizing:border-box}body header .wallet-balance{flex:1;min-width:0}body header .balance-amount{gap:5px;white-space:nowrap}body header .deposit-button{flex-shrink:0;font-size:12px;padding:11px 13px!important}body .live-strip{max-width:100%;width:100%;box-sizing:border-box;padding-left:10px!important;padding-right:6px!important}body .live-track{min-width:0;flex:1}body #main{min-width:0;max-width:100%;box-sizing:border-box}body .case-card{min-width:0}body .case-toolbar40{min-width:0}}
@media(max-width:360px){body header .account{gap:7px!important;padding:9px!important}body header .avatar{width:38px!important;height:38px!important;flex:0 0 38px}body header .balance-amount b{font-size:17px!important}body header .deposit-button{font-size:11px!important;padding:10px!important}body header .deposit-button svg{width:16px}body .live-badge{width:22px!important;min-width:22px!important}}

/* Local v41: faceted pointer with a precise inward-facing tip. */
body .upgrade-dial39 .upgrade-needle38 svg.upgrade-pointer41{width:24px;height:30px;left:calc(50% - 12px);top:-5px;stroke:none;filter:drop-shadow(0 2px 3px #130a2190) drop-shadow(0 0 5px #b780ef40)}
body .upgrade-dial39 .dial-top39{top:-24px}
