
body:not(:has(#v-store.on)) .store-categories,
body:not(:has(#v-store.on)) .store-account { display: none !important; }
body:has(#v-store.on) .nlinks,
body:has(#v-store.on) #mnav,
body:has(#v-store.on) .burger { display: none !important; }
body:has(#v-store.on) header nav {
  width: 100%; max-width: 1500px; min-height: 70px; height: auto;
  padding: 10px clamp(18px, 4vw, 56px); gap: 22px;
}
body:has(#v-store.on) .brand { flex: 0 0 auto; }
body:has(#v-store.on) .nright {
  display: flex; align-items: center; flex: 1 1 auto; min-width: 0;
  gap: clamp(12px, 2vw, 28px); margin-left: auto;
}
body:has(#v-store.on) .store-categories {
  display: flex; align-items: center; justify-content: center; flex: 1 1 auto;
  min-width: 0; gap: 8px;
}
body:has(#v-store.on) .store-categories button {
  flex: 0 0 auto; border: 0 !important; border-radius: 6px; padding: 8px 11px;
  background: transparent !important; box-shadow: none !important; color: #858b95 !important;
  -webkit-text-fill-color: #858b95 !important; font: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: color .15s ease;
}
body:has(#v-store.on) .store-categories button:hover,
body:has(#v-store.on) .store-categories button.active {
  color: #fff !important; -webkit-text-fill-color: #fff !important;
}
body:has(#v-store.on) .store-account { display: flex; flex: 0 0 auto; width: auto; max-width: 410px; min-height: 40px; margin: 0 0 0 auto; align-items: center; justify-content: flex-end; }
body:has(#v-store.on) .store-target-row { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
body:has(#v-store.on) .shopping-as { color: #9298a2; font-size: 12px; white-space: nowrap; }
body:has(#v-store.on) .store-target-input { width: clamp(150px,18vw,220px); height: 42px; font-size: 13px; }
body:has(#v-store.on) .store-face { width: 32px; height: 40px; flex: 0 0 32px; object-fit: contain; image-rendering: pixelated; }
body:has(#v-store.on) .account-message { position: absolute; top: calc(100% + 1px); right: clamp(18px,4vw,56px); color: #f08080; font-size: 11px; }

.store-wrap { max-width: 1280px; padding-top: 28px; }
.store-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 8px 0 18px; }
.store-search-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.store-search { width: min(100%, 360px); height: 42px; padding: 0 14px; border: 1px solid #363941; border-radius: 8px; background: #1b1d22; color: #f4f4f5; font: inherit; font-size: 14px; }
.store-search::placeholder { color: #898f99; }
.store-search:focus { outline: none; border-color: #484d56; }
.basket-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 15px; border: 1px solid #3b4149 !important; border-radius: 8px; background: #202329 !important; color: #f3f5f7 !important; -webkit-text-fill-color: #f3f5f7 !important; box-shadow: none !important; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.basket-toggle span { display: grid; min-width: 22px; height: 22px; place-items: center; border-radius: 11px; background: #2c9858; color: #fff; font-size: 11px; }
.store-basket { position: fixed; z-index: 90; top: 82px; right: max(20px,calc((100vw - 1280px)/2)); width: min(410px,calc(100vw - 32px)); max-height: calc(100vh - 100px); overflow: auto; padding: 20px; border: 1px solid #383d46; border-radius: 14px; background: #181a1f; box-shadow: 0 20px 60px #0009; }
.store-basket[hidden],
body:not(:has(#v-store.on)) .store-basket { display: none !important; }
.basket-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.basket-heading h2 { font-size: 20px; }
.store-basket button#store-basket-close { width: 32px; height: 32px; border: 0 !important; background: transparent !important; box-shadow: none !important; color: #aeb4bf !important; font-size: 26px; line-height: 1; cursor: pointer; }
.basket-recipient { margin: 12px 0; color: #aab1bd; font-size: 13px; }
.basket-recipient strong { color: #f3f5f7; }
.basket-lines { display: grid; gap: 10px; }
.basket-line { display: grid; grid-template-columns:minmax(0,1fr) auto; gap: 4px 12px; padding: 12px 0; border-top: 1px solid #ffffff14; }
.basket-line-name { color: #f2f4f7; font-size: 14px; font-weight: 700; }
.basket-line-meta { color: #999faa; font-size: 12px; }
.basket-line-controls { display: flex; align-items: center; justify-content: flex-end; gap: 6px; grid-row: span 2; }
.basket-line-controls button { min-width: 30px; height: 30px; border: 1px solid #3a4049 !important; border-radius: 6px; background: #252930 !important; color: #f4f5f7 !important; box-shadow: none !important; font-weight: 700; cursor: pointer; }
.basket-line-controls button.remove { min-width: 0; margin-left: 4px; padding: 0 6px; color: #f08080 !important; }
.basket-empty { margin: 16px 0; color: #969daa; font-size: 13px; text-align: center; }
.basket-message { min-height: 18px; margin: 10px 0; color: #f1c976; font-size: 12px; }
.basket-checkout { width: 100%; min-height: 43px; border: 1px solid #239b52 !important; border-radius: 8px; background: #239b52 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; box-shadow: none !important; font: inherit; font-weight: 700; cursor: pointer; }
.basket-checkout:disabled { opacity: .55; cursor: default; }
.basket-note { margin-top: 10px; color: #9299a4; font-size: 11px; line-height: 1.45; }
.cosmetics-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; padding: 0 0 80px; }
.cosmetic-card { display: block; text-decoration: none; min-width: 0; overflow: hidden; border: 1px solid #ffffff0c; border-radius: 12px; background: #1b1d22; transition: none !important; animation: none !important; transform: none !important; }
.cosmetic-card:hover { background: #1b1d22 !important; transform: none !important; box-shadow: none !important; }
.cosmetic-art { display: grid; place-items: center; min-height: 220px; overflow: hidden; background: radial-gradient(ellipse at 50% 80%,#ffffff14,transparent 65%),linear-gradient(145deg,#262a34,#181a20 75%); }
.cosmetic-icon { display: block; width: min(74%,220px); aspect-ratio: 1; object-fit: contain; }
.cosmetic-price-was { display:block; margin-bottom:2px; color:#9299a4; font-size:.78em; font-weight:500; }
.cosmetic-emote { width: min(200%,480px); max-width: none; aspect-ratio: 1; height: auto; object-fit: cover; object-position: center; border-radius: 9px; }
.cosmetic-info { display: flex; flex-direction: column; align-items: stretch; gap: 13px; padding: 14px 16px 16px; }
.cosmetic-info h2 { min-height: 27px; margin: 0; color: #c3c8d0; font-size: 18px; font-weight: 700; letter-spacing: -.02em; text-align: center; }
.cosmetic-info h2.rarity-common { color: #c0c5ce; }
.cosmetic-info h2.rarity-rare { color: #58b4ff; }
.cosmetic-info h2.rarity-epic { color: #c28cff; }
.cosmetic-info h2.rarity-legendary { color: #f1c95c; }
.cosmetics-grid button.cosmetic-price { width: 100%; min-height: 38px; border: 1px solid #239b52 !important; border-radius: 7px; background: #239b52 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; box-shadow: none !important; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.cosmetics-grid button.cosmetic-price:hover:not(:disabled) { border-color: #35b866 !important; background: #2aa85c !important; }
.cosmetics-grid button.cosmetic-price:disabled { cursor: default; opacity: .58; }
.cosmetic-price-label { min-height: 15px; margin: -8px 0 0; color: #9aa1ac; font-size: 11px; text-align: center; }
.catalogue-status { grid-column: 1/-1; margin: 32px 0; color: var(--tx-2); text-align: center; }
#store-toast { z-index: 80; }
button, .btn { font-weight: 700; }
body:has(#v-store.on) .store-categories button { font-weight: 700; }

@media(max-width:1100px) {
  body:has(#v-store.on) header nav { gap: 14px; }
  body:has(#v-store.on) .nright { gap: 10px; }
  body:has(#v-store.on) .store-categories { gap: 2px; }
  body:has(#v-store.on) .store-categories button { padding: 8px 7px; font-size: 13px; }
  .cosmetics-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:780px) {
  body:has(#v-store.on) header nav { flex-wrap: wrap; gap: 10px; padding: 12px 18px; }
  body:has(#v-store.on) .brand { order: 0; }
  body:has(#v-store.on) .nright { display: contents; }
  body:has(#v-store.on) .store-account { order: 1; margin-left: auto; }
  body:has(#v-store.on) .store-categories { order: 2; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; }
  body:has(#v-store.on) .account-message { top: auto; bottom: -15px; right: 18px; }
  .cosmetics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .cosmetic-art { min-height: 180px; }
}
@media(max-width:480px) {
  body:has(#v-store.on) header nav { padding-inline: 13px; }
  body:has(#v-store.on) .store-account { max-width: 68vw; }
  body:has(#v-store.on) .store-target-row { gap: 5px; }
  body:has(#v-store.on) .shopping-as { font-size: 10px; }
  body:has(#v-store.on) .store-target-input { width: clamp(125px,34vw,190px); font-size: 12px; }
  body:has(#v-store.on) .store-face { width: 28px; height: 34px; flex-basis: 28px; }
  body:has(#v-store.on) .store-categories button { padding: 7px 8px; font-size: 12px; }
  .store-wrap { padding-inline: 14px; }
  .store-toolbar { padding-top: 5px; }
  .cosmetic-art { min-height: 145px; }
  .cosmetic-icon { width: 76%; }
  .cosmetic-emote { width: min(200%,480px); }
  .cosmetic-info { padding: 12px 10px; gap: 10px; }
  .cosmetic-info h2 { font-size: 15px; }
  .cosmetic-price { min-height: 35px; font-size: 12px; }
}


body:has(#v-store.on), body:has(#v-store.on) main, #v-store.view.on { background: #101114 !important; background-image: none !important; }
body:has(#v-store.on) .shopping-as { color: #f4f5f7; font-size: 13px; }
body:has(#v-store.on) .shopping-as strong { font-weight: 800; }
body:has(#v-store.on) .store-identity { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
body:has(#v-store.on) .store-identity-person { display: flex; align-items: center; gap: 8px; min-height: 34px; color: #f4f5f7; font-weight: 800; }
body:has(#v-store.on) .store-face { width: 34px; height: 42px; flex-basis: 34px; object-fit: contain; image-rendering: pixelated; }
body:has(#v-store.on) .store-logout { min-height: 0; padding: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; color: #ef666c !important; -webkit-text-fill-color: #ef666c !important; font: inherit; font-size: 12px; font-weight: 800; text-align: left; cursor: pointer; }
.store-basket { position: fixed; z-index: 80; left: max(18px,calc((100vw - 1280px)/2)); right: auto; top: auto; bottom: 18px; width: min(310px,calc(100vw - 36px)); max-height: min(48vh,420px); overflow: auto; padding: 15px; border: 0; border-radius: 12px; background: #191b20; box-shadow: 0 12px 36px #0008; }
.basket-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.basket-count { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; font-size: 14px; }
.basket-count strong,.basket-count span { color: #65aaff; font-weight: 800; }
.store-toolbar { justify-content: flex-end; }
.cosmetics-grid { padding-bottom: 150px; }
body:has(#v-store.on) .cosmetic-card, body:has(#v-store.on) .cosmetic-card:hover { border: 0 !important; background: #191b20 !important; box-shadow: none !important; transform: none !important; cursor: pointer; }
.cosmetic-art { background: #17191d; }
.cosmetic-emote { width: min(72%,190px); max-width: 190px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.cosmetic-info { display: flex; flex-direction: column; gap: 7px; padding: 12px 15px 15px; }
.cosmetic-title-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cosmetic-info h2 { min-height: 0; margin: 0; color: #c3c8d0; font-size: 16px; font-weight: 700; text-align: left; }
.cosmetic-card-price { flex: 0 0 auto; color: #e6e8eb; font-size: 14px; font-weight: 700; white-space: nowrap; }
.cosmetic-price-label { display: none; }
.cosmetic-card-tags,.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cosmetic-tag { display: inline-flex; align-items: center; min-height: 21px; padding: 2px 7px; border-radius: 999px; background: #22262d; color: #aeb8c6; font-size: 10px; font-weight: 700; text-transform: capitalize; }
.cosmetic-product-info { margin: 4px 0 24px; padding-bottom: 20px; }
.product-back { display: block; margin: 0 0 clamp(26px, 3vw, 36px); padding: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; color: #aab4c2 !important; -webkit-text-fill-color: #aab4c2 !important; font: inherit; font-weight: 700; cursor: pointer; }
.product-info-layout { display: grid; grid-template-columns: minmax(320px,1.15fr) minmax(260px,.85fr); gap: clamp(22px,4vw,56px); align-items: center; }
.product-preview-frame { position: relative; display: grid; min-height: 460px; overflow: hidden; place-items: center; border-radius: 14px; background: #191b20; }
#cosmetic-preview-canvas { display: block; width: 100%; height: 460px; }
.product-preview-status { position: absolute; right: 12px; bottom: 10px; left: 12px; margin: 0; color: #858d99; font-size: 11px; text-align: center; pointer-events: none; }
.product-details { display: grid; gap: 14px; align-content: center; }
.product-title-line { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.product-title-line h1 { margin: 0; font-size: clamp(24px,3vw,36px); }
.product-title-line strong { color: #e8eaed; font-size: 18px; white-space: nowrap; }
.product-description { margin: 0; color: #aeb4be; line-height: 1.55; }
.product-add-to-basket { min-height: 44px; border-radius: 8px; background: #229b54 !important; color: #fff !important; font-weight: 800; }
.product-basket-message { color: #e7c775; font-size: 12px; }
@media(max-width:780px) { .product-info-layout { grid-template-columns: 1fr; } .product-preview-frame { min-height: 340px; } #cosmetic-preview-canvas { height: 340px; } }
@media(max-width:480px) { .store-basket { left: 10px; bottom: 10px; width: 240px; padding: 12px; } .cosmetic-emote { width: min(72%,170px); } }


body:has(#v-store.on) .store-search { border: 0 !important; outline: none !important; box-shadow: none !important; }
body:has(#v-store.on) .store-basket { z-index: 9999 !important; }


body:has(#v-store.on) .store-target-row { align-items:center; }
body:has(#v-store.on) .shopping-as { display:none; }
body:has(#v-store.on) .store-identity { align-items:flex-start; }
body:has(#v-store.on) .store-identity-person { align-items:center; }
body:has(#v-store.on) .store-face { width:38px; height:44px; object-fit:contain; background:transparent!important; image-rendering:pixelated; }
.product-info-layout { grid-template-columns:minmax(260px,.82fr) minmax(340px,1.18fr); align-items:start; }
.product-preview-frame { grid-column:2; grid-row:1; }
.product-details { grid-column:1; grid-row:1; align-content:start; padding-top:0; }
.product-title-line { transform:translateY(-5px); }
.product-title-line h1.rarity-common { color:#c0c5ce; }
.product-title-line h1.rarity-rare { color:#58b4ff; }
.product-title-line h1.rarity-epic { color:#c28cff; }
.product-title-line h1.rarity-legendary { color:#f1c95c; }
#cosmetic-preview-canvas { cursor:grab; touch-action:none; }
#cosmetic-preview-canvas.is-dragging { cursor:grabbing; }
.basket-actions { margin:0; }
.basket-line { transition: opacity .18s ease, transform .18s ease; }
.basket-line.is-removing { opacity:0; transform:translateX(8px); }
.basket-line-controls button.remove { opacity:.72; transition:opacity .18s ease, color .18s ease; }
.basket-line-controls button.remove:hover,.basket-line-controls button.remove:focus-visible { opacity:1; }
.basket-count { margin:0; white-space:nowrap; }
.basket-checkout { width:auto; min-width:128px; min-height:36px; padding:0 16px; }
.store-basket { width:min(340px,calc(100vw - 36px)); }
.cosmetic-emote { width:min(92%,220px); max-width:220px; margin:auto; object-fit:cover; object-position:center; }
@media(max-width:780px) { .product-preview-frame { grid-column:1; grid-row:1; } .product-details { grid-column:1; grid-row:2; } }
@media(max-width:480px) { .store-basket { width:min(320px,calc(100vw - 20px)); } .basket-checkout { min-width:108px; } .cosmetic-emote { width:min(92%,190px); } }


.product-tags .cosmetic-tag { border-radius:5px; }
.product-back,.product-back:hover,.product-back:focus,.product-back:focus-visible { padding:0; border:0!important; outline:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; color:#aab4c2!important; -webkit-text-fill-color:#aab4c2!important; }
.basket-actions { align-items:center; }
.basket-count { align-items:center; min-height:36px; line-height:1; }
.basket-count strong,.basket-count span { line-height:1; }
body:has(#v-store.on) .store-face { width:46px; height:52px; flex-basis:46px; object-fit:contain; object-position:center; image-rendering:pixelated; background:transparent!important; }
body:has(#v-store.on) .shopping-as { display:inline-flex!important; align-items:center; color:#f4f5f7; white-space:nowrap; }
body:has(#v-store.on) .shopping-as strong { font-weight:800; }
body:has(#v-store.on) .store-basket { position:fixed!important; left:18px!important; right:auto!important; top:auto!important; bottom:18px!important; }
.basket-line-controls { grid-row:auto; }
.basket-line-controls button.remove { min-width:0; height:auto; margin:0; padding:0; border:0!important; background:transparent!important; box-shadow:none!important; color:#f08080!important; font-weight:700; }
body:has(#v-store.on) .shopping-as { align-self:flex-start; margin-top:8px; }
.basket-actions { display:flex; align-items:center!important; }
.basket-count,.basket-checkout { align-self:center; margin-block:0!important; }
.basket-count { min-height:36px; }
.basket-checkout { height:36px; }


body:has(#v-store.on) header nav { position:relative; min-height:70px; align-items:center; }
body:has(#v-store.on) .store-categories,
body:has(#v-store.on) .store-account,
body:has(#v-store.on) .store-target-row,
body:has(#v-store.on) .store-identity,
body:has(#v-store.on) .store-identity-person { align-items:center; }
body:has(#v-store.on) .store-account { position:relative; min-height:50px; padding-right:58px; }
body:has(#v-store.on) .store-target-row { min-height:50px; }
body:has(#v-store.on) .store-identity { flex-direction:row; gap:8px; }
body:has(#v-store.on) .store-identity-person { min-height:50px; }
body:has(#v-store.on) .store-logout { align-self:center; }
body:has(#v-store.on) .store-avatar-canvas { position:absolute; right:0; bottom:0; display:block; width:54px; height:92px; pointer-events:none; }
body:has(#v-store.on) .store-avatar-canvas[hidden] { display:none!important; }
body:has(#v-store.on) .store-account:has(.store-avatar-canvas:not([hidden])) { padding-right:58px; }
.cosmetic-icon { width:min(82%,180px); height:auto; object-fit:contain; image-rendering:pixelated; }
.cosmetic-art { display:grid; place-items:center; }
.cosmetic-emote { width:min(72%,190px); height:auto; aspect-ratio:1; object-fit:cover; object-position:center; }
.product-details { display:flex; flex-direction:column; min-height:460px; align-self:stretch; }
.product-add-to-basket { margin-top:auto; }
.product-basket-message { min-height:0; margin:0; }
.basket-actions { display:flex; align-items:center!important; min-height:44px; }
.basket-count,.basket-checkout { align-self:center; }
.basket-count { min-height:40px; margin:0!important; }

.basket-checkout { height:40px; margin:0!important; }
@media(max-width:780px) {
  body:has(#v-store.on) .store-account { min-height:42px; padding-right:0; }
  body:has(#v-store.on) .store-target-row { min-height:42px; }
  body:has(#v-store.on) .store-identity-person { min-height:42px; }
  body:has(#v-store.on) .store-avatar-canvas { width:42px; height:72px; }
  .product-details { min-height:0; }
  .product-add-to-basket { margin-top:18px; }
}
body:has(#v-store.on) .store-avatar-canvas { bottom:-19px; }
body:has(#v-store.on) header,
body:has(#v-store.on) header nav { overflow:visible; }
body:has(#v-store.on) .store-account:has(.store-avatar-canvas:not([hidden])) .store-face { display:none!important; }
.product-details { position:relative; }
.product-basket-message { position:absolute; right:0; bottom:0; left:0; min-height:0; height:auto; margin:0!important; line-height:1.2; }
#product-basket-message { position:absolute; right:0; bottom:0; left:0; min-height:0; height:auto; margin:0!important; line-height:1.2; }


#product-preview-status[hidden] { display:none!important; }
#product-add-to-basket,
#product-add-to-basket:hover,
#product-add-to-basket:focus { border:0!important; background:#239b52!important; color:#fff!important; -webkit-text-fill-color:#fff!important; box-shadow:none!important; }
#product-add-to-basket:disabled { opacity:.55; }
.basket-checkout,
.basket-checkout:hover,
.basket-checkout:focus { border:0!important; background:#239b52!important; color:#fff!important; -webkit-text-fill-color:#fff!important; box-shadow:none!important; }
.basket-checkout:disabled { opacity:.55; }
#store-checkout,#store-checkout:hover,#store-checkout:focus { background:#239b52!important; background-color:#239b52!important; background-image:none!important; border-color:#239b52!important; color:#fff!important; -webkit-text-fill-color:#fff!important; }
.basket-message:empty,#product-preview-status:empty { display:none!important; }
.cosmetic-card-price,#product-price,.basket-line-meta { color:#fff!important; }
.cosmetic-cloak-icon { transform-origin:center; }
.cosmetic-cloak-icon { image-rendering:auto; }
.basket-line { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:8px 12px; padding:10px 12px; border:1px solid #2b3038; border-radius:9px; background:#202329; }
.basket-line-name { grid-column:1; grid-row:1; align-self:center; }
.basket-line-meta { grid-column:2; grid-row:1; align-self:center; white-space:nowrap; }
.basket-line-controls { grid-column:3; grid-row:1; align-self:center; }
#cosmetic-back:hover,#cosmetic-back:focus-visible { color:#fff!important; -webkit-text-fill-color:#fff!important; }
#cosmetic-back,#cosmetic-back:hover,#cosmetic-back:focus,#cosmetic-back:focus-visible,
.basket-line-controls button.remove,.basket-line-controls button.remove:hover,.basket-line-controls button.remove:focus {
  appearance:none!important; border:0!important; outline:0!important; border-radius:0!important;
  background:transparent!important; box-shadow:none!important; padding:0!important;
}
body:has(#v-store.on) .store-account { align-self:center; }
body:has(#v-store.on) .shopping-as { align-self:center!important; margin-top:0!important; }
body:has(#v-store.on) .store-identity { flex-direction:column!important; align-items:flex-start!important; gap:0!important; }
body:has(#v-store.on) .store-identity-person { min-height:28px; }
body:has(#v-store.on) .store-logout { align-self:flex-start!important; margin:0 0 0 0; }
body:has(#v-store.on) .store-avatar-canvas { width:52px; height:92px; bottom:-19px; }


body:has(#v-store.on) header { position:fixed!important; inset:0 0 auto; z-index:1000!important; width:100%; }
body:has(#v-store.on) main { padding-top:70px; }
body:has(#v-store.on) header nav { position:relative; width:100%; max-width:1500px; margin:0 auto; }
body:has(#v-store.on) .store-categories { flex:1 1 auto; min-width:0; justify-content:center; }
body:has(#v-store.on) .store-basket { min-height:176px; padding:18px; }
body:has(#v-store.on) .basket-actions { min-height:42px; margin:0 0 16px; align-items:flex-start!important; transform:translateY(-4px); }
body:has(#v-store.on) .basket-count { align-self:flex-start!important; margin-top:1px!important; }
body:has(#v-store.on) .basket-checkout { align-self:flex-start!important; }
.basket-line { grid-template-columns:minmax(0,1fr) auto auto; gap:8px 12px; }
.basket-line-name,.basket-line-meta,.basket-line-controls { grid-row:1; align-self:center; }
.basket-line-name { grid-column:1; }
.basket-line-meta { grid-column:2; white-space:nowrap; }
.basket-line-controls { grid-column:3; }
body:has(#v-store.on) #v-store:has(#cosmetic-product-info:not([hidden])) .store-toolbar { display:none!important; }


body:has(#v-store.on) .store-account { align-self:center!important; }
body:has(#v-store.on) .store-target-row { min-height:50px; align-items:center!important; }
body:has(#v-store.on) .shopping-as { align-self:center!important; margin:0!important; line-height:1; }
body:has(#v-store.on) .store-account { position:static!important; padding-right:0!important; }
body:has(#v-store.on) .store-identity { position:relative; min-height:50px; justify-content:center; }
body:has(#v-store.on) .store-identity-person { min-height:20px!important; gap:7px; }
body:has(#v-store.on) .store-logout { position:absolute; top:calc(50% + 13px); left:0; margin:0; line-height:1; }
body:has(#v-store.on) .store-avatar-canvas,
body:has(#v-store.on) .store-face { position:static; width:42px; height:42px; flex:0 0 42px; }
body:has(#v-store.on) .store-face { width:28px; height:28px; flex-basis:28px; }
body:has(#v-store.on) .store-identity[hidden],
body:has(#v-store.on) .store-target-input[hidden],
body:has(#v-store.on) .store-login[hidden],
body:has(#v-store.on) .store-face[hidden],
#cosmetic-preview-canvas[hidden] { display:none!important; }


.cosmetic-emote {
  display: block;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover !important;
  object-position: center;

  image-rendering: auto !important;
}
.cosmetic-emote { width: min(100%, 220px); max-width: none; }
@media(max-width:780px) {
  body:has(#v-store.on) main { padding-top:116px; }
  body:has(#v-store.on) header { max-height:116px; }
}

body:has(#v-store.on) .store-login {
  padding: 6px 8px;
  white-space: nowrap;
  font-size: 13px;
  color: #aeb6c2;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body:has(#v-store.on) .store-login:hover { color: #fff; }
body:has(#v-store.on) .store-login:focus-visible { outline: 2px solid #7eb7ef; outline-offset: 2px; }
body:has(#v-store.on) header > nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}
body:has(#v-store.on) .nright { display: contents; }
body:has(#v-store.on) .store-categories { grid-column: 2; justify-content: center; }
body:has(#v-store.on) .store-account { grid-column: 3; justify-self: end; margin: 0; }
body:has(#v-store.on) .store-target-input { width: clamp(128px, 13vw, 195px); }
@media (max-width: 1050px) {
  body:has(#v-store.on) header > nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
  }
  body:has(#v-store.on) .store-account { grid-area: 1 / 2; }
  body:has(#v-store.on) .store-categories {
    grid-area: 2 / 1 / 3 / -1;
    justify-content: safe center;
    overflow-x: auto;
  }
  body:has(#v-store.on) main { padding-top: 116px; }
}
@media (max-width: 440px) {
  body:has(#v-store.on) .store-account:has(.store-target-input:not([hidden])) .shopping-as { display: none; }
}

#cosmetic-preview-poster { display:block; width:100%; max-height:460px; object-fit:contain; }
#cosmetic-preview-poster[hidden] { display:none; }
.product-preview-frame .product-preview-status:not(:empty) { position:static; padding:24px; }

.cosmetic-art > .cosmetic-emote { width: min(calc(100% - 24px), 196px); margin: 12px auto; }
#cosmetic-preview-poster.emote-preview-gif { width: min(100%, 420px); aspect-ratio: 1; border-radius: 9px; }

#product-add-to-basket:not(:disabled):hover { background: #2cb96a !important; }
#product-add-to-basket:not(:disabled) { cursor: pointer; }
#product-add-to-basket:disabled { background: #494c53 !important; opacity: 1; cursor: not-allowed; }

.basket-checkout.is-checking-out { display: grid; place-items: center; cursor: progress; }
.basket-checkout.is-checking-out::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgb(255 255 255 / 35%);
  border-top-color: white;
  border-radius: 50%;
  animation: checkout-spin .65s linear infinite;
}
@keyframes checkout-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .basket-checkout.is-checking-out::before { animation-duration: 1.6s; }
}

.basket-line { border: 0; }

body:has(#v-store.on) .store-account { position: relative !important; max-width: 100%; min-width: 0; }
body:has(#v-store.on) .store-target-row { height: 50px; min-width: 0; }
body:has(#v-store.on) .shopping-as { white-space: nowrap; }
body:has(#v-store.on) .store-target-row:has(.store-target-input:not([hidden])) .shopping-as { display: none; }
body:has(#v-store.on) .store-identity { min-width: 0; max-width: 100%; height: 50px; }
body:has(#v-store.on) .store-identity-person { min-width: 0; }
body:has(#v-store.on) #store-display-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body:has(#v-store.on) .store-avatar-canvas { width: 36px; height: 36px; flex-basis: 36px; }
body:has(#v-store.on) .store-logout { top: auto; bottom: -1px; }
body:has(#v-store.on) .account-message { top: calc(100% - 2px); bottom: auto; right: 0; color: #ff7983; text-align: left; }
body:has(#v-store.on) .account-message:empty { display: none; }
.store-target-input.store-name-pulse { animation: store-name-pulse 1.25s ease-out; }
@keyframes store-name-pulse {
  from { outline: 2px solid #ff626d; box-shadow: 0 0 13px #ff626da0; }
  to { outline: 2px solid transparent; box-shadow: 0 0 0 transparent; }
}
@media (max-width: 540px) {
  body:has(#v-store.on) .store-identity-person { max-width: 48vw; }
  body:has(#v-store.on) .store-account .shopping-as { display: none; }
}
.store-success { box-sizing: border-box; margin-inline: auto; max-width: 660px; padding: clamp(32px, 8vw, 76px) 20px; text-align: center; }
.store-success > img { display: block; width: min(224px, 60vw); height: auto; margin: 0 auto 24px; }
.store-success h1 { font-size: clamp(28px, 5vw, 42px); margin: 0 0 18px; }
.store-success #purchase-payment { margin: 20px auto; }
.store-success .purchase-order { margin: 8px auto 16px; }
#purchase-order-id { max-width: 100%; overflow-wrap: anywhere; }

#v-purchase-success.on { display: grid; place-items: center; min-height: min(68vh, 720px); }
#v-purchase-success .store-success { display: grid; justify-items: center; width: min(100%, 660px); text-align: center; }
#v-purchase-success .store-success > * { justify-self: center; }
#cosmetic-recommendations { margin-top: 32px; }
#cosmetic-recommendations h2 { margin-bottom: 16px; }
#cosmetic-related-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media(max-width: 760px) { #cosmetic-related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

#cosmetics-grid[hidden], #cosmetic-recommendations[hidden] { display: none !important; }
.store-success .store-help a { color: #47a0fb; }
.store-success .store-help a:hover { color: #83c1ff; }
.store-success #purchase-payment { width: min(100%, 360px); }
.purchase-order button#purchase-order-id {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  outline: none;
  box-shadow: none;
  background: #1b1d22;
  color: #f4f4f5;
  font: inherit;
  font-size: 14px;
  text-align: left;
}
.purchase-order button#purchase-order-id:not(:disabled):hover { border: 0; box-shadow: none; background: #25282f; }
.purchase-order button#purchase-order-id:focus-visible { background: #2a3443; }
.purchase-order button#purchase-order-id.copied { color: #59d98c; }

body:has(#v-store.on) .store-wrap {
  width: calc(100% - clamp(360px, 28vw, 440px) - 64px);
  max-width: 1400px;
  margin: 0 32px 0 clamp(360px, 28vw, 440px);
  padding-top: 28px;
}
body:has(#v-store.on) .store-basket {
  position: fixed !important;
  inset: 92px auto 20px 18px !important;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: clamp(300px, 23vw, 360px);
  max-height: none !important;
  min-height: 0;
  padding: 20px;
  border: 1px solid #30343c;
  border-radius: 14px;
  background: #191b20;
}
body:has(#v-store.on) .store-basket[hidden] { display: none !important; }
.basket-title { margin: 0 0 14px; color: #f3f5f7; font-size: 20px; }
#store-basket-items { flex: 1 1 auto; align-content: start; min-height: 120px; overflow: auto; }
#store-basket-items[hidden] { display: none !important; }
#store-basket-empty { display: grid; flex: 1 1 auto; place-items: center; min-height: 150px; margin: 0; border-block: 1px solid #ffffff12; color: #9299a4; }
#store-basket-empty[hidden] { display: none !important; }

body:has(#v-store.on) #store-basket-items .basket-line,
body:has(#v-store.on) #store-basket-items .basket-line:hover,
body:has(#v-store.on) #store-basket-items .basket-line:focus-within {
  background:#222 !important; border-color:transparent !important; box-shadow:none !important;
}
body:has(#v-store.on) #store-basket-items .basket-line-controls button.remove,
body:has(#v-store.on) #store-basket-items .basket-line-controls button.remove:hover,
body:has(#v-store.on) #store-basket-items .basket-line-controls button.remove:focus,
body:has(#v-store.on) #store-basket-items .basket-line-controls button.remove:focus-visible {
  appearance:none !important; min-width:0; height:auto; margin:0; padding:0 !important;
  border:0 !important; border-radius:0; outline:0 !important; background:transparent !important;
  box-shadow:none !important; color:#98a0ab !important; -webkit-text-fill-color:#98a0ab !important;
  font:inherit; cursor:pointer; transition:color .15s ease;
}
body:has(#v-store.on) #store-basket-items .basket-line-controls button.remove:hover,
body:has(#v-store.on) #store-basket-items .basket-line-controls button.remove:focus-visible {
  background:transparent !important; color:#ef6b73 !important; -webkit-text-fill-color:#ef6b73 !important;
}
body:has(#v-store.on) .basket-actions { flex: 0 0 auto; margin-top: auto; padding-top: 16px; }
body:has(#v-store.on) .basket-checkout { width: 132px; }
.cosmetic-emote, #cosmetic-preview-poster.emote-preview-gif { display: block; visibility: visible; opacity: 1; }
@media(max-width:900px) {
  body:has(#v-store.on) .store-wrap { width: auto; margin: 0 18px; padding-top: 22px; padding-bottom: 42vh; }
  body:has(#v-store.on) .store-basket { inset: auto 16px 16px !important; width: auto; max-height: 38vh !important; padding: 14px; }
  .basket-title { margin-bottom: 8px; font-size: 17px; }
  #store-basket-empty { min-height: 64px; }
}

body:has(#v-store.on) .store-basket {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
#store-basket-empty {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.store-logout[hidden], #store-display-name[hidden] { display: none !important; }

.store-search,
.purchase-order button#purchase-order-id { border-color: #404040; background: #2a2a2a; color: #fff; }
.store-search::placeholder { color: #888; }
.store-search:focus { border-color: #606060; }
body:has(#v-store.on), body:has(#v-store.on) main, #v-store.view.on { background: #141414 !important; background-image: none !important; }
.store-basket, body:has(#v-store.on) .store-basket, body:has(#v-store.on) .cosmetic-card,
body:has(#v-store.on) .cosmetic-card:hover, .product-preview-frame { background: #1a1a1a !important; }
body:has(#v-store.on) .store-basket { border: 0 !important; outline: 0 !important; box-shadow: none !important; }
body:has(#v-store.on) .store-search { border: 1px solid #404040 !important; background: #2a2a2a !important; color: #fff !important; }
.cosmetic-art, .basket-line-controls button, .cosmetic-tag,
.purchase-order button#purchase-order-id:not(:disabled):hover { background: #2a2a2a !important; }
body:has(#v-store.on) .shopping-as, body:has(#v-store.on) .store-identity-person, .basket-title { color: #fff; }
.cosmetic-info h2 { color: #c3c8d0; }
.cosmetic-card-price { color: #e6e8eb; }
.cosmetic-tag { color: #b8b8b8; }
.cosmetic-art { background: #1a1a1a !important; }
.cosmetic-info { background: #222 !important; }
.basket-line { background: #1a1a1a !important; border-color: #404040 !important; }
body:has(#v-store.on) #store-basket-items .basket-line { padding:12px !important; border:1px solid #3b4654 !important; border-radius:9px; background:#28313c !important; }
body:has(#v-store.on) #store-basket-items .basket-line:hover { background:#303b48 !important; }
body:has(#v-store.on) #store-basket-items .basket-line-name { color:#fff !important; }
body:has(#v-store.on) #store-basket-items .basket-line-controls button { border-color:#465362 !important; background:#364250 !important; }



html:has(#v-store.on), body:has(#v-store.on) { overflow-x: clip !important; }
body:has(#v-store.on) .store-wrap, body:has(#v-store.on) .store-basket, body:has(#v-store.on) #store-basket-items { min-width: 0; overflow-x: clip; }
body:has(#v-store.on) .basket-count { min-width: 0; flex-wrap: wrap; white-space: normal; color: #fff !important; }
body:has(#v-store.on) .basket-count strong, body:has(#v-store.on) .basket-count span { color: #fff !important; }
body:has(#v-store.on) .basket-line { min-width: 0; grid-template-columns: minmax(0,1fr) auto auto !important; }
body:has(#v-store.on) .basket-line-name { min-width: 0; overflow-wrap: anywhere; }
body:has(#v-store.on) #store-basket-items .basket-line,
body:has(#v-store.on) #store-basket-items .basket-line:hover,
body:has(#v-store.on) #store-basket-items .basket-line:focus-within {
  border: 0 !important; outline: 0 !important; box-shadow: none !important;
  background: #383b40 !important;
}
body:has(#v-store.on) #store-basket-items .basket-line-meta { font-weight: 700 !important; color: #fff !important; }
.product-description { margin-top: 8px; }
body:has(#v-store.on) #store-basket-items .basket-line-controls button.remove {
  opacity: .72;
  transition: opacity .18s ease, color .18s ease;
}
body:has(#v-store.on) #store-basket-items .basket-line-controls button.remove:hover,
body:has(#v-store.on) #store-basket-items .basket-line-controls button.remove:focus-visible { opacity: 1; }
