/* Shop Page Styles — Redesigned */
:root {
  --shop-surface: rgba(12, 16, 26, 0.9);
  --shop-border: rgba(255, 255, 255, 0.07);
  --shop-blur: 0px;
  --shop-highlight: rgba(90, 212, 255, 0.32);
  --shop-gradient: radial-gradient(120% 120% at 0% 0%, rgba(90, 212, 255, 0.22), transparent 55%), radial-gradient(120% 120% at 100% 0%, rgba(185, 146, 255, 0.22), transparent 60%), linear-gradient(180deg, #050912, #080e1a);
}

/* Shop preview emoji badges v4 */
.shop-badge-verified,
.shop-badge-premium,
.shop-badge-vip,
.shop-badge-champion,
.shop-badge-legend,
.shop-badge-master,
.shop-badge-ninja,
.shop-badge-dragon,
.shop-badge-phoenix,
.shop-badge-robot,
.shop-badge-astronaut,
.shop-badge-shadow-master,
.shop-badge-pro-player,
.shop-badge-streamer,
.shop-badge-coach,
.shop-badge-team-captain,
.shop-badge-tournament-winner,
.shop-badge-early-supporter,
.shop-badge-beta-tester,
.shop-badge-community-leader,
.shop-badge-content-creator,
.shop-badge-moderator,
.shop-badge-diamond,
.shop-badge-crown,
.shop-badge-star,
.shop-badge-flame,
.shop-badge-lightning,
.shop-badge-shield,
.shop-badge-sword,
.shop-badge-trophy,
.shop-badge-medal,
.shop-badge-gem,
.shop-badge-space-explorer,
.shop-badge-ninja-master,
.shop-badge-samurai,
.shop-badge-wizard,
.shop-badge-knight,
.shop-badge-snowflake,
.shop-badge-santa {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  filter: drop-shadow(0 0 8px rgba(255, 215, 105, 0.52)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.42)) !important;
  animation: shopBadgeFloat 2.8s ease-in-out infinite !important;
}

/* Daily case widget absolute end v14 */
.shop-case-widget {
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 22px !important;
  min-height: 210px !important;
  padding: 28px 32px !important;
  border-radius: 28px !important;
}

.shop-case-art {
  width: 150px !important;
  height: 150px !important;
  min-width: 150px !important;
  padding: 10px !important;
  border-radius: 22px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  background: rgba(5, 10, 18, 0.34) !important;
  border: 1px solid rgba(143, 213, 255, 0.14) !important;
}

.shop-case-art::before {
  inset: 8px !important;
  border-radius: 18px !important;
}

.shop-case-art img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
}

.shop-case-title {
  font-size: clamp(34px, 4.8vw, 58px) !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
}

.shop-case-action {
  justify-self: end !important;
  min-width: 148px !important;
}

@media (max-width: 760px) {
  .shop-case-widget {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
    padding: 22px !important;
  }

  .shop-case-art {
    width: 132px !important;
    height: 132px !important;
    min-width: 132px !important;
  }

  .shop-case-action {
    justify-self: stretch !important;
    width: 100% !important;
  }
}

/* Daily case compact final lock v15. */
@media (min-width: 761px) {
  .shop-hero-compact { padding: 14px 18px !important; border-radius: 20px !important; }
  .shop-case-widget {
    grid-template-columns: 96px minmax(0, 1fr) 124px !important;
    gap: 18px !important;
    min-height: 0 !important;
    padding: 10px 12px !important;
    border-radius: 18px !important;
  }
  .shop-case-art {
    width: 96px !important;
    height: 96px !important;
    min-width: 96px !important;
    padding: 7px !important;
    border-radius: 18px !important;
  }
  .shop-case-title { font-size: clamp(28px, 3vw, 38px) !important; line-height: 1.05 !important; }
  .shop-case-kicker { margin-bottom: 5px !important; font-size: 10px !important; }
  .shop-case-meta { margin-top: 10px !important; gap: 6px !important; }
  .shop-case-meta span { min-height: 29px !important; padding: 0 10px !important; font-size: 11px !important; }
  .shop-case-action { min-width: 124px !important; height: 42px !important; border-radius: 14px !important; }
}

@media (max-width: 760px) {
  .shop-hero-compact { padding: 12px !important; border-radius: 20px !important; }
  .shop-case-widget {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    justify-items: stretch !important;
    align-items: center !important;
    gap: 9px 11px !important;
    min-height: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }
  .shop-case-art {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    padding: 6px !important;
    border-radius: 16px !important;
  }
  .shop-case-copy { width: 100% !important; min-width: 0 !important; }
  .shop-case-kicker { margin-bottom: 4px !important; font-size: 9px !important; letter-spacing: 0.14em !important; }
  .shop-case-title { max-width: 100% !important; font-size: clamp(22px, 7vw, 28px) !important; line-height: 1.02 !important; }
  .shop-case-meta { display: flex !important; gap: 5px !important; margin-top: 7px !important; }
  .shop-case-meta span { min-width: 0 !important; min-height: 25px !important; padding: 0 8px !important; font-size: 10px !important; }
  .shop-case-action {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 40px !important;
    margin-top: 0 !important;
    border-radius: 14px !important;
  }
}

/* Daily case compact layout v15. */
@media (min-width: 761px) {
  .shop-hero-compact {
    padding: 14px 18px !important;
    border-radius: 20px !important;
  }

  .shop-case-widget {
    grid-template-columns: 96px minmax(0, 1fr) 124px !important;
    gap: 18px !important;
    min-height: 0 !important;
    padding: 10px 12px !important;
    border-radius: 18px !important;
  }

  .shop-case-art {
    width: 96px !important;
    height: 96px !important;
    min-width: 96px !important;
    padding: 7px !important;
    border-radius: 18px !important;
  }

  .shop-case-title {
    font-size: clamp(28px, 3vw, 38px) !important;
    line-height: 1.05 !important;
  }

  .shop-case-kicker {
    margin-bottom: 5px !important;
    font-size: 10px !important;
  }

  .shop-case-meta {
    margin-top: 10px !important;
    gap: 6px !important;
  }

  .shop-case-meta span {
    min-height: 29px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }

  .shop-case-action {
    min-width: 124px !important;
    height: 42px !important;
    border-radius: 14px !important;
  }
}

@media (max-width: 760px) {
  .shop-hero-compact {
    padding: 12px !important;
    border-radius: 20px !important;
  }

  .shop-case-widget {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    justify-items: stretch !important;
    align-items: center !important;
    gap: 9px 11px !important;
    min-height: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .shop-case-art {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    padding: 6px !important;
    border-radius: 16px !important;
  }

  .shop-case-copy {
    width: 100% !important;
    min-width: 0 !important;
  }

  .shop-case-kicker {
    margin-bottom: 4px !important;
    font-size: 9px !important;
    letter-spacing: 0.14em !important;
  }

  .shop-case-title {
    max-width: 100% !important;
    font-size: clamp(22px, 7vw, 28px) !important;
    line-height: 1.02 !important;
  }

  .shop-case-meta {
    display: flex !important;
    gap: 5px !important;
    margin-top: 7px !important;
  }

  .shop-case-meta span {
    min-width: 0 !important;
    min-height: 25px !important;
    padding: 0 8px !important;
    font-size: 10px !important;
  }

  .shop-case-action {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 40px !important;
    margin-top: 0 !important;
    border-radius: 14px !important;
  }
}

/* Daily case widget crop fix v13 final */
.shop-case-widget {
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 22px !important;
  min-height: 210px !important;
  padding: 28px 32px !important;
  border-radius: 28px !important;
}

.shop-case-art {
  width: 150px !important;
  height: 150px !important;
  min-width: 150px !important;
  padding: 10px !important;
  border-radius: 22px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  background: rgba(5, 10, 18, 0.34) !important;
  border: 1px solid rgba(143, 213, 255, 0.14) !important;
}

.shop-case-art::before {
  inset: 8px !important;
  border-radius: 18px !important;
}

.shop-case-art img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
}

.shop-case-copy {
  min-width: 0 !important;
}

.shop-case-title {
  font-size: clamp(34px, 4.8vw, 58px) !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
}

.shop-case-meta {
  flex-wrap: wrap !important;
}

.shop-case-action {
  justify-self: end !important;
  min-width: 148px !important;
}

@media (max-width: 760px) {
  .shop-case-widget {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
    padding: 22px !important;
  }

  .shop-case-art {
    width: 132px !important;
    height: 132px !important;
    min-width: 132px !important;
  }

  .shop-case-action {
    justify-self: stretch !important;
    width: 100% !important;
  }
}

/* Daily case widget crop fix v13 */
.shop-case-widget {
  grid-template-columns: 170px minmax(0, 1fr) auto !important;
  min-height: 190px !important;
  align-items: center !important;
}

.shop-case-art {
  width: 140px !important;
  height: 140px !important;
  border-radius: 24px !important;
  overflow: visible !important;
  background:
    radial-gradient(circle at 50% 62%, rgba(90, 212, 255, 0.18), transparent 52%),
    rgba(8, 12, 22, 0.72) !important;
}

.shop-case-art::before {
  inset: -10px !important;
  border-radius: 30px !important;
  opacity: 0.55 !important;
}

.shop-case-art img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 10px !important;
  transform: none !important;
}

.shop-case-title {
  font-size: clamp(38px, 4vw, 58px) !important;
}

@media (max-width: 760px) {
  .shop-case-widget {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
  }

  .shop-case-action {
    width: min(260px, 100%) !important;
  }
}

/* ===== Organized Catalog Container ===== */
#shop-organized-catalog {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== Category Sections ===== */
.shop-category-section {
  padding: clamp(20px, 3vw, 32px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 20, 32, 0.82);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
  
  -webkit-
}

.shop-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.shop-category-header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.shop-category-header .shop-section-note {
  margin-top: 4px;
}

.shop-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.shop-category-hidden {
  display: none;
}

.shop-category-hidden.visible {
  display: contents;
}

.shop-show-more-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 14px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(232, 241, 255, 0.85);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.shop-show-more-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(90, 212, 255, 0.35);
  transform: translateY(-1px);
}

/* ===== Compact Toolbar ===== */
.shop-toolbar-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 0 0 8px;
}

.shop-toolbar-compact .shop-search {
  flex: 1 1 240px;
}

.shop-toolbar-compact .shop-category-rail {
  flex: 1 1 auto;
}

.shop-toolbar-compact .shop-balance-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: linear-gradient(120deg, rgba(90, 212, 255, 0.14), rgba(185, 146, 255, 0.12));
  border: 1px solid rgba(90, 212, 255, 0.25);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.shop-toolbar-compact .shop-balance-inline:hover {
  transform: translateY(-1px);
  border-color: rgba(90, 212, 255, 0.45);
}

.shop-balance-inline .shop-balance-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(232, 241, 255, 0.6);
}

.shop-balance-inline .shop-balance-value {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Compact Hero ===== */
.shop-hero-compact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 40px);
  background: linear-gradient(135deg, rgba(15, 22, 36, 0.95), rgba(8, 13, 22, 0.88));
  border: 1px solid var(--shop-border);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  
  -webkit-
}

.shop-hero-compact::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(90, 212, 255, 0.15), transparent 55%), radial-gradient(circle at 80% 0%, rgba(185, 146, 255, 0.15), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.shop-hero-compact > * {
  position: relative;
  z-index: 1;
}

.shop-hero-compact .shop-title {
  font-size: clamp(28px, 5vw, 44px);
  margin: 0;
}

.shop-hero-compact .shop-subtitle {
  margin: 0;
  max-width: 520px;
}

.shop-case-widget {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  min-height: 112px;
}

.shop-case-art {
  position: relative;
  width: clamp(116px, 13vw, 168px);
  height: clamp(96px, 11vw, 138px);
  display: grid;
  place-items: center;
  border-radius: 24px;
  border: 1px solid rgba(123, 226, 255, 0.18);
  background:
    radial-gradient(circle at 50% 65%, rgba(93, 221, 255, 0.18), transparent 62%),
    linear-gradient(145deg, rgba(16, 29, 49, 0.76), rgba(9, 12, 24, 0.94));
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.shop-case-art::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 2px;
  height: 16px;
  border-radius: 999px;
  background: rgba(90, 212, 255, 0.18);
}

.shop-case-art img {
  position: relative;
  z-index: 1;
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 56%;
  mix-blend-mode: screen;
}

.shop-case-copy {
  min-width: 0;
}

.shop-case-kicker {
  margin: 0 0 8px;
  color: rgba(154, 236, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.shop-case-title {
  margin: 0;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 0.95;
  color: #f8fbff;
  letter-spacing: -0.02em;
}

.shop-case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.shop-case-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  padding: 0 13px;
  color: rgba(232, 241, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.shop-case-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(154, 236, 255, 0.36);
  background:
    linear-gradient(135deg, rgba(90, 212, 255, 0.28), rgba(185, 146, 255, 0.20)),
    rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(90, 212, 255, 0.16);
}

.shop-case-action:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 216, 107, 0.52);
}

.shop-case-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.shop-case-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.shop-case-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 14, 0.78);
  -webkit-}

.shop-case-dialog {
  position: relative;
  width: min(460px, 100%);
  border-radius: 28px;
  border: 1px solid rgba(123, 226, 255, 0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(90, 212, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(16, 29, 49, 0.98), rgba(7, 11, 21, 0.98));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.58);
  padding: 24px;
  overflow: hidden;
  text-align: center;
}

.shop-case-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.shop-case-modal-art {
  width: min(260px, 72vw);
  height: 190px;
  margin: 4px auto 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(145deg, rgba(16, 29, 49, 0.70), rgba(8, 11, 22, 0.96));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 42px rgba(0, 0, 0, 0.34);
}

.shop-case-modal-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
}

.shop-case-modal-copy h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1;
}

.shop-case-modal-copy p:not(.shop-case-kicker) {
  margin: 12px auto 0;
  max-width: 320px;
  color: rgba(232, 241, 255, 0.72);
}

.shop-case-result {
  margin: 18px 0 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 216, 107, 0.24);
  background: rgba(255, 216, 107, 0.08);
  padding: 14px;
  color: #fff4c8;
  font-weight: 800;
}

.shop-case-open-btn {
  width: 100%;
  height: 50px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd86b, #65e8ff 52%, #b994ff);
  color: #07111d;
  font-weight: 950;
  cursor: pointer;
}

.shop-case-open-btn:disabled {
  opacity: 0.54;
  cursor: not-allowed;
}


/* ===== Extras compact grid ===== */
.shop-extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.shop-extras-card {
  padding: clamp(18px, 2.5vw, 28px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(16, 22, 34, 0.82);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  
  -webkit-
}

.shop-extras-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.shop-extras-card p {
  margin: 0 0 12px;
  color: rgba(232, 241, 255, 0.7);
  font-size: 14px;
}

@media (max-width: 860px) {
  .shop-category-grid {
    grid-template-columns: 1fr;
  }
  .shop-toolbar-compact {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-extras-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shop-category-section {
    padding: 18px;
    border-radius: 22px;
  }
}

.shop-page {
  min-height: 0 !important;
  height: auto !important;
  padding: clamp(20px, 4vw, 40px) clamp(16px, 5vw, 48px) 16px !important;
  background: transparent;
  position: relative;
  overflow: visible;
}

.shop-page::before {
  display: none;
}

.shop-shell {
  position: relative;
  z-index: 1;
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 0 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.shop-quick-categories {
  padding: clamp(20px, 3vw, 32px);
  border-radius: 28px;
  border: 1px solid var(--shop-border);
  background: rgba(8, 12, 20, 0.82);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.shop-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}


.shop-market-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(240px, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 0 0 12px;
}

.shop-toolbar-primary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shop-category-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-toolbar-utility {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shop-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-quick-link {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(232, 241, 255, 0.85);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.shop-quick-link:hover {
  border-color: rgba(90, 212, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.shop-search {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 260px;
  font-size: 13px;
  color: rgba(232, 241, 255, 0.7);
}

.shop-search input {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.shop-search input::placeholder {
  color: rgba(232, 241, 255, 0.5);
}

.shop-search input:focus {
  outline: none;
  border-color: rgba(90, 212, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.shop-section-head {
  padding: 24px 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 21, 33, 0.82);
  
  -webkit-
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.shop-price-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 700;
  color: rgba(232, 241, 255, 0.9);
}

.shop-price-chip svg,
.shop-price-chip span {
  display: inline-flex;
  align-items: center;
}

.shop-meta-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: rgba(232, 241, 255, 0.7);
}

.shop-toolbar-utility .shop-balance-card {
  width: 100%;
}

.shop-hero-block {
  display: block;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, rgba(15, 22, 36, 0.95), rgba(8, 13, 22, 0.88));
  border: 1px solid var(--shop-border);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.55);
  
  -webkit-
}

.shop-hero-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(90, 212, 255, 0.18), transparent 55%), radial-gradient(circle at 80% 0%, rgba(185, 146, 255, 0.2), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.shop-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 1040px) {
  .shop-hero-layout {
    grid-template-columns: 1fr;
  }
}

.shop-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.shop-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.shop-pill {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 241, 255, 0.65);
}

.shop-eyebrow {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(232, 241, 255, 0.55);
  margin: 0 0 12px;
}

.shop-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-hero-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.shop-hero-stat {
  flex: 1 1 160px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  padding: 14px 16px;
}

.shop-hero-stat strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.shop-hero-stat span {
  font-size: 13px;
  color: rgba(232, 241, 255, 0.72);
}

.shop-hero-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.shop-hero-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.shop-btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 14px 26px;
  font-weight: 600;
  font-size: 14px;
  color: rgba(232, 241, 255, 0.92);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  background: transparent;
}

.shop-btn.primary {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #081018;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(90, 212, 255, 0.35);
}

.shop-btn.ghost:hover,
.shop-btn.primary:hover {
  transform: translateY(-2px);
  border-color: rgba(90, 212, 255, 0.5);
}

.shop-mini-btn {
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(232, 241, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.shop-mini-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.shop-mini-btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
}

.shop-mini-btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #081018;
  box-shadow: 0 10px 24px rgba(90, 212, 255, 0.25);
}

.shop-mini-btn.primary:hover {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
}

.shop-balance-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: linear-gradient(120deg, rgba(90, 212, 255, 0.18), rgba(185, 146, 255, 0.16));
  border: 1px solid rgba(90, 212, 255, 0.3);
  border-radius: 20px;
  -webkit-  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.shop-balance-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(90, 212, 255, 0.25);
  border-color: rgba(90, 212, 255, 0.45);
}

.shop-balance-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shop-balance-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 241, 255, 0.7);
}

.shop-balance-value {
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shop-balance-trend {
  margin-left: auto;
  font-size: 12px;
  color: rgba(232, 241, 255, 0.7);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.shop-balance-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.shop-balance-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(90, 212, 255, 0.45));
}

.shop-hero-visual {
  min-height: 260px;
  padding: 12px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  z-index: 0;
}

.orb-1 {
  width: 220px;
  height: 220px;
  top: 0;
  right: 12%;
  background: radial-gradient(circle, rgba(90, 212, 255, 0.35), transparent 60%);
  animation: floatOrb 10s ease-in-out infinite;
}

.orb-2 {
  width: 260px;
  height: 260px;
  bottom: -40px;
  right: -10px;
  background: radial-gradient(circle, rgba(185, 146, 255, 0.3), transparent 60%);
  animation: floatOrbReverse 12s ease-in-out infinite;
}

.shop-hero-card {
  position: relative;
  z-index: 1;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-hero-card.neon {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.18), rgba(255, 0, 255, 0.22));
}

.shop-hero-card.aurora {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(136, 0, 255, 0.18));
}

.hero-chip {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
}

.shop-hero-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.shop-hero-card p {
  margin: 0;
  color: rgba(232, 241, 255, 0.75);
}

.shop-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.shop-stat-card {
  padding: 20px;
  background: rgba(8, 12, 20, 0.75);
  border: 1px solid var(--shop-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.shop-stat-card span {
  font-size: 22px;
}

.shop-stat-card strong {
  font-size: 18px;
}

.shop-stat-card p {
  margin: 0;
  color: rgba(232, 241, 255, 0.65);
  font-size: 13px;
}

.shop-collection-strip {
  padding: clamp(20px, 3vw, 32px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, rgba(18, 24, 36, 0.9), rgba(10, 14, 24, 0.85));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  
  -webkit-
}

.shop-collection-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.collection-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.collection-card {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.04);
}

.collection-card.neon {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(255, 0, 255, 0.1));
}

.collection-card.aurora {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.12), rgba(0, 255, 255, 0.1));
}

.collection-card.fire {
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.12), rgba(255, 140, 0, 0.1));
}

.feature-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(232, 241, 255, 0.6);
}

.collection-card h3 {
  margin: 0;
  font-size: 20px;
}

.collection-card p {
  margin: 0;
  color: rgba(232, 241, 255, 0.7);
}

.collection-meta {
  list-style: none;
  padding: 0;
  margin: 4px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(232, 241, 255, 0.75);
}

.collection-meta li {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.shop-category-panel,
.shop-grid-section {
  padding: clamp(20px, 3vw, 32px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 20, 32, 0.82);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
  
  -webkit-
}

.shop-category-panel .shop-categories {
  margin-bottom: 0;
  gap: 10px;
}

.seasonal-drops,
.interactive-extras,
.booster-lab,
.coop-gifts,
.mystery-drop,
.soundtrack-lounge,
.achievement-skins {
  padding: clamp(20px, 3vw, 32px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(16, 22, 34, 0.82);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  
  -webkit-
}

.seasonal-head,
.section-headline,
.seasonal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.seasonal-scroll {
  margin-top: 20px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.seasonal-card {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: radial-gradient(circle at top, rgba(90, 212, 255, 0.12), rgba(5, 8, 14, 0.9));
  min-height: 240px;
  position: relative;
}

.seasonal-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: rgba(232, 241, 255, 0.7);
}

.seasonal-label {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  color: rgba(232, 241, 255, 0.8);
}

.seasonal-items {
  margin: 0;
  padding-left: 16px;
  color: rgba(232, 241, 255, 0.75);
  font-size: 13px;
}

.seasonal-progress {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.seasonal-progress span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  width: 40%;
}

.seasonal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.seasonal-timer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: rgba(232, 241, 255, 0.85);
}

.seasonal-card.seasonal-expired {
  opacity: 0.55;
}

.toy-grid,
.booster-grid,
.coop-grid,
.soundtrack-grid,
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.toy-card,
.booster-card,
.coop-card,
.soundtrack-card,
.achievement-card {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  background: rgba(5, 8, 14, 0.92);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.03);
}

.toy-card .shop-price-chip,
.booster-card .shop-price-chip,
.coop-card .shop-price-chip,
.soundtrack-card .shop-price-chip {
  align-self: flex-start;
}

.toy-actions,
.booster-card .shop-card-actions,
.coop-card .shop-card-actions,
.soundtrack-card .shop-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.booster-card .shop-card-actions button,
.coop-card .shop-card-actions button,
.soundtrack-card .shop-card-actions button {
  flex: 1;
}

.shop-card-actions .shop-mini-btn {
  min-width: 140px;
}

.toy-preview {
  height: 120px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}

.toy-preview.sparkburst span {
  position: absolute;
  width: 6px;
  height: 20px;
  background: linear-gradient(var(--primary), transparent);
  top: 50%;
  left: 50%;
  transform-origin: top center;
  animation: spark 1.6s linear infinite;
}

.toy-preview.sparkburst span:nth-child(1) { transform: rotate(0deg); }
.toy-preview.sparkburst span:nth-child(2) { transform: rotate(90deg); }
.toy-preview.sparkburst span:nth-child(3) { transform: rotate(180deg); }
.toy-preview.sparkburst span:nth-child(4) { transform: rotate(270deg); }

.toy-preview.orbiter span {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(90, 212, 255, 0.6);
  top: 50%;
  left: 50%;
  animation: orbit 3s linear infinite;
}

.toy-preview.pixeltrail span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: trail 1s linear infinite;
}

.toy-preview.pixeltrail span:nth-child(2) { animation-delay: 0.2s; }
.toy-preview.pixeltrail span:nth-child(3) { animation-delay: 0.4s; }
.toy-preview.pixeltrail span:nth-child(4) { animation-delay: 0.6s; }

.toy-card.preview-active .toy-preview {
  box-shadow: 0 0 18px rgba(90, 212, 255, 0.4);
}

.booster-meta {
  display: flex;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(232, 241, 255, 0.6);
}

.coop-preview {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  height: 120px;
}

.coop-preview .avatar {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.coop-preview .avatar.glow {
  box-shadow: 0 0 20px rgba(90, 212, 255, 0.6);
}

.coop-preview.badge span {
  font-size: 48px;
}

.mystery-drop {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 24px;
  align-items: center;
  background: radial-gradient(circle at left, rgba(255, 107, 122, 0.15), rgba(5, 8, 14, 0.95));
}

.mystery-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mystery-stats ul {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  font-size: 14px;
  color: rgba(232, 241, 255, 0.75);
}

.mystery-result {
  min-height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mystery-result.visible {
  opacity: 1;
  transform: translateY(0);
}

.soundtrack-card {
  position: relative;
  overflow: hidden;
}

.soundtrack-wave {
  height: 80px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.soundtrack-wave::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15) 2px, transparent 2px, transparent 6px);
  animation: waveFlow 4s linear infinite;
}

.soundtrack-wave.aurora { background: linear-gradient(135deg, rgba(90, 212, 255, 0.2), rgba(185, 146, 255, 0.2)); }
.soundtrack-wave.cyber { background: linear-gradient(135deg, rgba(255, 0, 128, 0.2), rgba(0, 255, 255, 0.2)); }
.soundtrack-wave.lofi { background: linear-gradient(135deg, rgba(255, 200, 150, 0.2), rgba(120, 90, 70, 0.2)); }

.soundtrack-card.soundtrack-playing {
  box-shadow: 0 0 25px rgba(90, 212, 255, 0.25);
}

.soundtrack-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.achievement-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.achievement-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5ad4ff, #b992ff);
  width: 0;
}

.shop-panel-head,
.shop-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 18px;
}

.shop-panel-actions,
.shop-section-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-section-note {
  display: block;
  margin-top: 6px;
  color: rgba(232, 241, 255, 0.55);
  font-size: 13px;
}

.shop-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(11, 16, 28, 0.95), rgba(7, 10, 18, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  -webkit-  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.shop-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}

.shop-subtitle {
  font-size: 16px;
  color: rgba(232, 241, 255, 0.7);
  margin: 0 0 24px;
}

.shop-balance {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(90, 212, 255, 0.15), rgba(185, 146, 255, 0.12));
  border: 1px solid rgba(90, 212, 255, 0.3);
  border-radius: 16px;
  -webkit-  transition: all 0.25s ease;
  cursor: pointer;
}

.shop-balance:hover {
  background: linear-gradient(135deg, rgba(90, 212, 255, 0.22), rgba(185, 146, 255, 0.18));
  border-color: rgba(90, 212, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(90, 212, 255, 0.2);
}

.shop-balance-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.shop-balance-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 6px rgba(90, 212, 255, 0.5));
}

.shop-balance-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shop-balance-label {
  font-size: 12px;
  color: rgba(232, 241, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.shop-balance-value {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

/* Categories */
.shop-categories {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}

.shop-category-btn {
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(232, 241, 255, 0.8);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.shop-category-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(90, 212, 255, 0.3);
  color: var(--text);
}

.shop-category-btn.active {
  background: linear-gradient(135deg, rgba(90, 212, 255, 0.2), rgba(185, 146, 255, 0.2));
  border-color: rgba(90, 212, 255, 0.4);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(90, 212, 255, 0.2);
}

.shop-grid-heading {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-grid-heading h3 {
  margin: 4px 0 0;
}

.shop-grid-heading .shop-section-note {
  margin-top: 4px;
}

.shop-grid-heading .shop-mini-btn {
  flex-shrink: 0;
}

.shop-item {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(11, 16, 28, 0.92), rgba(5, 8, 14, 0.92));
  border: 1px solid var(--shop-border);
  border-radius: 22px;
  padding: 22px 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  -webkit-  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.shop-item:hover {
  transform: translateY(-4px);
  border-color: rgba(90, 212, 255, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.shop-item::before {
  content: none;
}

.shop-item-focus {
  animation: shopItemGlow 1.2s ease;
  border-color: rgba(255, 215, 0, 0.6) !important;
}

.shop-item-focus::before {
  opacity: 1;
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

.shop-item-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #081018;
  font-weight: 800;
  font-size: 11px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(90, 212, 255, 0.4);

  top: 12px !important;
  right: 12px !important;
}

.shop-item-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  min-height: 100px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

/* Profile Frames */
.shop-item-preview-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  position: relative;
  background: linear-gradient(135deg, rgba(90, 212, 255, 0.2), rgba(185, 146, 255, 0.2));
}

.shop-frame-gold {
  border: 4px solid #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5), inset 0 0 20px rgba(255, 215, 0, 0.2);
}

.shop-frame-platinum {
  border: 4px solid #e5e4e2;
  box-shadow: 0 0 24px rgba(229, 228, 226, 0.6), inset 0 0 24px rgba(229, 228, 226, 0.3);
  animation: platinumGlow 3s ease-in-out infinite;
}

@keyframes platinumGlow {
  0%, 100% { box-shadow: 0 0 24px rgba(229, 228, 226, 0.6), inset 0 0 24px rgba(229, 228, 226, 0.3); }
  50% { box-shadow: 0 0 32px rgba(229, 228, 226, 0.8), inset 0 0 32px rgba(229, 228, 226, 0.4); }
}

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.65; }
  50% { transform: translate3d(-10px, 15px, 0); opacity: 0.9; }
}

@keyframes floatOrbReverse {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.65; }
  50% { transform: translate3d(12px, -18px, 0); opacity: 0.85; }
}

@keyframes shopItemGlow {
  0% { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
  50% { box-shadow: 0 30px 70px rgba(255, 215, 0, 0.35); }
  100% { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
}

.shop-frame-rainbow {
  border: 4px solid;
  border-image: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3) 1;
  animation: rainbowRotate 3s linear infinite;
  box-shadow: 0 0 30px rgba(90, 212, 255, 0.5);
}

.shop-frame-neon {
  border: 4px solid #00f0ff;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.8), 0 0 50px rgba(0, 240, 255, 0.4), inset 0 0 25px rgba(0, 240, 255, 0.3);
  animation: neonPulse 2s ease-in-out infinite;
}

.shop-frame-fire {
  border: 4px solid;
  border-image: linear-gradient(45deg, #ff4500, #ff6347, #ff8c00, #ff4500) 1;
  box-shadow: 0 0 30px rgba(255, 69, 0, 0.7), 0 0 60px rgba(255, 140, 0, 0.4), inset 0 0 30px rgba(255, 69, 0, 0.3);
  animation: fireGlow 2s ease-in-out infinite;
}

.shop-frame-ice {
  border: 4px solid #87ceeb;
  box-shadow: 0 0 25px rgba(135, 206, 235, 0.8), 0 0 50px rgba(135, 206, 235, 0.4), inset 0 0 25px rgba(173, 216, 230, 0.3);
  animation: iceShimmer 3s ease-in-out infinite;
}

.shop-frame-cosmic {
  border: 4px solid;
  border-image: linear-gradient(45deg, #1a1a2e, #16213e, #0f3460, #533483, #1a1a2e) 1;
  box-shadow: 0 0 35px rgba(83, 52, 131, 0.8), 0 0 70px rgba(83, 52, 131, 0.4), inset 0 0 35px rgba(83, 52, 131, 0.3);
  animation: cosmicPulse 4s ease-in-out infinite;
}

@keyframes rainbowRotate {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* Nickname Colors */
.shop-item-preview-nick {
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  min-width: 200px;
}

.shop-nick-gold {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #081018;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.shop-nick-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #081018;
  box-shadow: 0 4px 20px rgba(90, 212, 255, 0.4);
  animation: gradientShift 3s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.shop-nick-neon {
  background: linear-gradient(135deg, #00f0ff, #ff00ff);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.6), 0 0 40px rgba(255, 0, 255, 0.4);
  animation: neonPulse 2s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.shop-nick-rainbow {
  background: linear-gradient(135deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: rainbowRotate 3s linear infinite;
  display: inline-block;
}

.shop-nick-fire {
  background: linear-gradient(135deg, #ff4500, #ff6347, #ff8c00, #ff4500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: fireGlow 2s ease-in-out infinite;
  display: inline-block;
}

.shop-nick-ice {
  background: linear-gradient(135deg, #87ceeb, #b0e0e6, #add8e6, #87ceeb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: iceShimmer 3s ease-in-out infinite;
  display: inline-block;
}

.shop-nick-cosmic {
  background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #4facfe);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: cosmicPulse 4s ease-in-out infinite;
  display: inline-block;
}

@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.6), 0 0 40px rgba(255, 0, 255, 0.4); }
  50% { box-shadow: 0 0 30px rgba(0, 240, 255, 0.8), 0 0 60px rgba(255, 0, 255, 0.6); }
}

@keyframes spark {
  0% { opacity: 1; transform: scaleY(0.2); }
  50% { opacity: 0.7; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0.2); }
}

@keyframes orbit {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes trail {
  0% { transform: translate(10%, 20%); opacity: 1; }
  100% { transform: translate(80%, 60%); opacity: 0; }
}

/* Badges */
.shop-item-preview-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto;
}

.shop-badge-verified {
  background: linear-gradient(135deg, #2ed573, #7bed9f);
  color: #081018;
  box-shadow: 0 4px 20px rgba(46, 213, 115, 0.4);
}

.shop-badge-premium {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #081018;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
  animation: premiumRotate 4s linear infinite;
}

@keyframes premiumRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.shop-badge-vip {
  background: linear-gradient(135deg, #ff6b7a, #ff4757);
  color: #ffffff;
  box-shadow: 0 4px 24px rgba(255, 107, 122, 0.5), 0 0 40px rgba(255, 71, 87, 0.3);
  animation: vipPulse 2s ease-in-out infinite;
}

.shop-badge-champion {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #081018;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.6);
  animation: championGlow 2s ease-in-out infinite;
}

.shop-badge-legend {
  background: linear-gradient(135deg, #ff6b7a, #ff4757, #ff8c00);
  color: #ffffff;
  box-shadow: 0 4px 25px rgba(255, 107, 122, 0.6), 0 0 50px rgba(255, 140, 0, 0.4);
  animation: legendPulse 3s ease-in-out infinite;
}

.shop-badge-master {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #ffffff;
  box-shadow: 0 4px 22px rgba(102, 126, 234, 0.6);
  animation: masterRotate 4s linear infinite;
}

.shop-badge-ninja {
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 52, 96, 0.7), 0 0 40px rgba(22, 33, 62, 0.4);
  animation: ninjaShadow 2s ease-in-out infinite;
}

@keyframes vipPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 24px rgba(255, 107, 122, 0.5), 0 0 40px rgba(255, 71, 87, 0.3); }
  50% { transform: scale(1.1); box-shadow: 0 6px 32px rgba(255, 107, 122, 0.7), 0 0 60px rgba(255, 71, 87, 0.5); }
}

@keyframes fireGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(255, 69, 0, 0.7), 0 0 60px rgba(255, 140, 0, 0.4); filter: brightness(1); }
  50% { box-shadow: 0 0 40px rgba(255, 69, 0, 0.9), 0 0 80px rgba(255, 140, 0, 0.6); filter: brightness(1.2); }
}

@keyframes iceShimmer {
  0%, 100% { box-shadow: 0 0 25px rgba(135, 206, 235, 0.8), 0 0 50px rgba(135, 206, 235, 0.4); filter: brightness(1); }
  50% { box-shadow: 0 0 35px rgba(135, 206, 235, 1), 0 0 70px rgba(173, 216, 230, 0.6); filter: brightness(1.3); }
}

@keyframes cosmicPulse {
  0%, 100% { box-shadow: 0 0 35px rgba(83, 52, 131, 0.8), 0 0 70px rgba(83, 52, 131, 0.4); opacity: 1; }
  50% { box-shadow: 0 0 50px rgba(83, 52, 131, 1), 0 0 100px rgba(102, 126, 234, 0.6); opacity: 0.9; }
}

@keyframes championGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.3); transform: scale(1); }
  50% { box-shadow: 0 6px 30px rgba(255, 215, 0, 0.8), 0 0 50px rgba(255, 215, 0, 0.5); transform: scale(1.05); }
}

@keyframes legendPulse {
  0%, 100% { box-shadow: 0 4px 25px rgba(255, 107, 122, 0.6), 0 0 50px rgba(255, 140, 0, 0.4); transform: scale(1); }
  50% { box-shadow: 0 6px 35px rgba(255, 107, 122, 0.8), 0 0 70px rgba(255, 140, 0, 0.6); transform: scale(1.08); }
}

@keyframes masterRotate {
  0% { transform: rotate(0deg); box-shadow: 0 4px 22px rgba(102, 126, 234, 0.6); }
  100% { transform: rotate(360deg); box-shadow: 0 4px 22px rgba(118, 75, 162, 0.6); }
}

@keyframes ninjaShadow {
  0%, 100% { box-shadow: 0 4px 20px rgba(15, 52, 96, 0.7), 0 0 40px rgba(22, 33, 62, 0.4); opacity: 1; }
  50% { box-shadow: 0 6px 30px rgba(15, 52, 96, 0.9), 0 0 60px rgba(22, 33, 62, 0.6); opacity: 0.8; }
}

@keyframes electricPulse {
  0%, 100% { 
    box-shadow: 0 0 40px rgba(0, 255, 255, 1), 0 0 80px rgba(0, 255, 255, 0.6), 0 0 120px rgba(0, 255, 255, 0.3);
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 60px rgba(0, 255, 255, 1), 0 0 120px rgba(0, 255, 255, 0.8), 0 0 180px rgba(0, 255, 255, 0.5);
    filter: brightness(1.3);
  }
}

@keyframes stardustShimmer {
  0%, 100% { 
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.9), 0 0 100px rgba(255, 248, 220, 0.5);
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 70px rgba(255, 215, 0, 1), 0 0 140px rgba(255, 248, 220, 0.7);
    filter: brightness(1.4);
  }
}

@keyframes pulseGlow {
  0%, 100% { 
    box-shadow: 0 0 45px rgba(255, 0, 255, 0.9), 0 0 90px rgba(255, 0, 255, 0.5);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 65px rgba(255, 0, 255, 1), 0 0 130px rgba(255, 0, 255, 0.7);
    transform: scale(1.02);
  }
}

@keyframes hologramShift {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

@keyframes lavaFlow {
  0%, 100% { 
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.9), 0 0 100px rgba(255, 69, 0, 0.6);
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 70px rgba(255, 0, 0, 1), 0 0 140px rgba(255, 69, 0, 0.8);
    filter: brightness(1.3);
  }
}

@keyframes waveFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes sparkleShine {
  0%, 100% { background-position: 0% 50%; filter: brightness(1); }
  50% { background-position: 100% 50%; filter: brightness(1.5); }
}

@keyframes neonGlowPulse {
  0%, 100% { 
    background-position: 0% 50%;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 0 0 40px rgba(255, 0, 255, 0.6);
  }
  50% { 
    background-position: 100% 50%;
    text-shadow: 0 0 30px rgba(0, 255, 255, 1), 0 0 60px rgba(255, 0, 255, 0.8);
  }
}

@keyframes hologramText {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes electricFlash {
  0%, 100% { 
    background-position: 0% 50%;
    text-shadow: 0 0 15px rgba(0, 255, 255, 1), 0 0 30px rgba(0, 255, 255, 0.8);
  }
  50% { 
    background-position: 100% 50%;
    text-shadow: 0 0 25px rgba(0, 255, 255, 1), 0 0 50px rgba(0, 255, 255, 1);
  }
}

@keyframes dragonFlame {
  0%, 100% { 
    box-shadow: 0 4px 25px rgba(255, 107, 53, 0.7), 0 0 50px rgba(247, 147, 30, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 6px 35px rgba(255, 107, 53, 0.9), 0 0 70px rgba(247, 147, 30, 0.6);
    transform: scale(1.06);
  }
}

@keyframes phoenixRise {
  0%, 100% { 
    box-shadow: 0 4px 30px rgba(255, 0, 0, 0.8), 0 0 60px rgba(255, 69, 0, 0.5);
    transform: scale(1) translateY(0);
  }
  50% { 
    box-shadow: 0 6px 40px rgba(255, 0, 0, 1), 0 0 80px rgba(255, 69, 0, 0.7);
    transform: scale(1.08) translateY(-2px);
  }
}

@keyframes robotScan {
  0% { 
    box-shadow: 0 4px 28px rgba(102, 126, 234, 0.7), 0 0 55px rgba(118, 75, 162, 0.4);
    filter: hue-rotate(0deg);
  }
  100% { 
    box-shadow: 0 4px 28px rgba(102, 126, 234, 0.7), 0 0 55px rgba(118, 75, 162, 0.4);
    filter: hue-rotate(360deg);
  }
}

@keyframes astronautFloat {
  0%, 100% { 
    box-shadow: 0 4px 26px rgba(0, 201, 255, 0.7), 0 0 52px rgba(146, 254, 157, 0.4);
    transform: translateY(0);
  }
  50% { 
    box-shadow: 0 6px 36px rgba(0, 201, 255, 0.9), 0 0 72px rgba(146, 254, 157, 0.6);
    transform: translateY(-3px);
  }
}

@keyframes shadowMaster {
  0%, 100% { 
    box-shadow: 0 4px 32px rgba(15, 52, 96, 0.9), 0 0 64px rgba(22, 33, 62, 0.6);
    opacity: 1;
  }
  50% { 
    box-shadow: 0 6px 42px rgba(15, 52, 96, 1), 0 0 84px rgba(22, 33, 62, 0.8);
    opacity: 0.9;
  }
}

/* Новые крутые рамки для превью */
.shop-frame-electric {
  border: 4px solid #00ffff;
  box-shadow: 0 0 40px rgba(0, 255, 255, 1), 0 0 80px rgba(0, 255, 255, 0.6), 0 0 120px rgba(0, 255, 255, 0.3), inset 0 0 40px rgba(0, 255, 255, 0.4);
  animation: electricPulse 1.5s ease-in-out infinite;
}

.shop-frame-stardust {
  border: 4px solid;
  border-image: linear-gradient(45deg, #ffd700, #fff8dc, #ffd700, #fffacd, #ffd700) 1;
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.9), 0 0 100px rgba(255, 248, 220, 0.5), inset 0 0 50px rgba(255, 215, 0, 0.3);
  animation: stardustShimmer 3s ease-in-out infinite;
}

.shop-frame-pulse {
  border: 4px solid #ff00ff;
  box-shadow: 0 0 45px rgba(255, 0, 255, 0.9), 0 0 90px rgba(255, 0, 255, 0.5), inset 0 0 45px rgba(255, 0, 255, 0.4);
  animation: pulseGlow 2s ease-in-out infinite;
}

.shop-frame-hologram {
  border: 4px solid;
  border-image: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00, #00ffff) 1;
  box-shadow: 0 0 50px rgba(0, 255, 255, 0.8), 0 0 100px rgba(255, 0, 255, 0.4), inset 0 0 50px rgba(255, 255, 0, 0.3);
  animation: hologramShift 4s linear infinite;
}

.shop-frame-lava {
  border: 4px solid;
  border-image: linear-gradient(45deg, #ff0000, #ff4500, #ff6347, #ff0000) 1;
  box-shadow: 0 0 50px rgba(255, 0, 0, 0.9), 0 0 100px rgba(255, 69, 0, 0.6), inset 0 0 50px rgba(255, 0, 0, 0.4);
  animation: lavaFlow 3s ease-in-out infinite;
}

/* Новые крутые цвета ника для превью */
.shop-nick-wave {
  background: linear-gradient(135deg, #00c9ff, #92fe9d, #00c9ff, #92fe9d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 300% 300%;
  animation: waveFlow 4s ease-in-out infinite;
  display: inline-block;
}

.shop-nick-sparkle {
  background: linear-gradient(135deg, #ffd700, #fff8dc, #ffd700, #fffacd, #ffd700);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: sparkleShine 3s ease-in-out infinite;
  display: inline-block;
}

.shop-nick-neon-glow {
  background: linear-gradient(135deg, #00ffff, #ff00ff, #ffff00, #00ffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 300% 300%;
  animation: neonGlowPulse 2s ease-in-out infinite;
  display: inline-block;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 0 0 40px rgba(255, 0, 255, 0.6);
}

.shop-nick-hologram {
  background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #4facfe, #667eea);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 400% 400%;
  animation: hologramText 5s linear infinite;
  display: inline-block;
}

.shop-nick-electric {
  background: linear-gradient(135deg, #00ffff, #ffffff, #00ffff, #ffffff, #00ffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: electricFlash 1.5s ease-in-out infinite;
  display: inline-block;
  text-shadow: 0 0 15px rgba(0, 255, 255, 1), 0 0 30px rgba(0, 255, 255, 0.8);
}

/* Новые крутые значки для превью */
.shop-badge-dragon {
  background: linear-gradient(135deg, #ff6b35, #f7931e, #ff6b35);
  color: #ffffff;
  box-shadow: 0 4px 25px rgba(255, 107, 53, 0.7), 0 0 50px rgba(247, 147, 30, 0.4);
  animation: dragonFlame 2.5s ease-in-out infinite;
}

.shop-badge-phoenix {
  background: linear-gradient(135deg, #ff0000, #ff4500, #ff6347, #ff0000);
  color: #ffffff;
  box-shadow: 0 4px 30px rgba(255, 0, 0, 0.8), 0 0 60px rgba(255, 69, 0, 0.5);
  animation: phoenixRise 3s ease-in-out infinite;
}

.shop-badge-robot {
  background: linear-gradient(135deg, #667eea, #764ba2, #667eea);
  color: #ffffff;
  box-shadow: 0 4px 28px rgba(102, 126, 234, 0.7), 0 0 55px rgba(118, 75, 162, 0.4);
  animation: robotScan 4s linear infinite;
}

.shop-badge-astronaut {
  background: linear-gradient(135deg, #00c9ff, #92fe9d, #00c9ff);
  color: #081018;
  box-shadow: 0 4px 26px rgba(0, 201, 255, 0.7), 0 0 52px rgba(146, 254, 157, 0.4);
  animation: astronautFloat 3.5s ease-in-out infinite;
}

.shop-badge-shadow-master {
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460, #1a1a2e);
  color: #ffffff;
  box-shadow: 0 4px 32px rgba(15, 52, 96, 0.9), 0 0 64px rgba(22, 33, 62, 0.6);
  animation: shadowMaster 2s ease-in-out infinite;
}

/* Item Info */
.shop-item-info {
  display: flex;
  flex-direction: column;
  gap: 12px;

  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.shop-item-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.shop-item-desc {
  font-size: 14px;
  color: rgba(232, 241, 255, 0.7);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}

.shop-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);

  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.shop-item-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-price-icon {
  font-size: 20px;
  filter: drop-shadow(0 0 4px rgba(90, 212, 255, 0.6));
}

.shop-price-value {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shop-buy-btn {
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #081018;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(90, 212, 255, 0.3);
}

.shop-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(90, 212, 255, 0.4);
}

.shop-buy-btn:active {
  transform: translateY(0);
}

.shop-item-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.shop-item-actions .shop-buy-btn,
.shop-item-actions .shop-try-btn {
  flex: 1 1 112px;
  min-height: 44px;
}

.shop-try-btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(90, 212, 255, 0.34);
  background: linear-gradient(135deg, rgba(90, 212, 255, 0.12), rgba(119, 255, 190, 0.08));
  color: rgba(232, 241, 255, 0.92);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.shop-try-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(119, 255, 190, 0.55);
  background: linear-gradient(135deg, rgba(90, 212, 255, 0.2), rgba(119, 255, 190, 0.16));
  box-shadow: 0 14px 30px rgba(90, 212, 255, 0.18);
}

.shop-buy-btn:disabled {
  background: linear-gradient(135deg, rgba(35, 138, 93, 0.4), rgba(81, 190, 131, 0.32));
  color: rgba(200, 255, 226, 0.9);
  font-weight: 700;
  cursor: not-allowed;
  box-shadow: inset 0 0 0 1px rgba(81, 190, 131, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.shop-buy-btn:disabled::before {
  content: none;
}

.btn-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 800;
}

.shop-buy-btn:disabled:hover {
  transform: none;
  box-shadow: 0 12px 26px rgba(46, 213, 115, 0.35);
}



.shop-item.owned {
  border: 1px solid rgba(255, 213, 79, 0.35);
  background: linear-gradient(135deg, rgba(8, 11, 19, 0.97), rgba(4, 6, 12, 0.92));
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.46);
  overflow: hidden;
}

.shop-item.owned::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(255, 213, 79, 0.12) 25%, transparent 25%, transparent 50%, rgba(255, 213, 79, 0.12) 50%, rgba(255, 213, 79, 0.12) 75%, transparent 75%, transparent);
  background-size: 26px 26px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.shop-item.owned::after {
  content: '\2713  В ИНВЕНТАРЕ';
  position: absolute;
  top: 16px;
  right: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffd54f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.shop-item.owned .shop-item-footer {
  opacity: 1;

  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.shop-item.owned .shop-item-price {
  opacity: 0.5;
}

/* ===== Try-on modal ===== */
.shop-try-open {
  overflow: hidden;
}

.shop-try-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s ease;
}

.shop-try-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.shop-try-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 5, 12, 0.76);
  -webkit-}

.shop-try-dialog {
  position: relative;
  width: min(1060px, 100%);
  max-height: min(820px, calc(100vh - 28px));
  overflow: auto;
  border-radius: 28px;
  border: 1px solid rgba(148, 180, 220, 0.24);
  background:
    radial-gradient(110% 90% at 8% 0%, rgba(90, 212, 255, 0.16), transparent 48%),
    radial-gradient(80% 70% at 100% 12%, rgba(255, 213, 96, 0.1), transparent 45%),
    linear-gradient(145deg, rgba(13, 18, 30, 0.98), rgba(5, 8, 16, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62);
  padding: clamp(18px, 3vw, 30px);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.24s ease;
}

.shop-try-modal.open .shop-try-dialog {
  transform: translateY(0) scale(1);
}

.shop-try-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.shop-try-head h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.05;
}

#shop-try-subtitle {
  display: block;
  margin-top: 8px;
  color: rgba(232, 241, 255, 0.66);
  font-size: 15px;
}

.shop-try-close {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(232, 241, 255, 0.9);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.shop-try-close:hover {
  transform: translateY(-1px);
  border-color: rgba(90, 212, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

.shop-try-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 20px;
  align-items: stretch;
}

.shop-try-profile-card {
  position: relative;
  overflow: visible;
  min-height: 0;
  border-radius: 24px;
  border: 1px solid rgba(90, 212, 255, 0.18);
  background:
    radial-gradient(circle at 18% 20%, rgba(90, 212, 255, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(13, 20, 33, 0.98), rgba(7, 11, 20, 0.98));
  padding: clamp(20px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 36px rgba(255, 255, 255, 0.03), 0 24px 60px rgba(0, 0, 0, 0.35);
}

.shop-try-profile-card::before {
  content: none;
  position: absolute;
  inset: -30%;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.12), transparent 60%);
  transform: translateX(-45%) rotate(12deg);
  animation: tryCardShine 5.5s ease-in-out infinite;
  pointer-events: none;
}

.shop-try-status,
.shop-try-profile-main,
.shop-try-live-demo {
  position: relative;
  z-index: 1;
}

.shop-try-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(119, 255, 190, 0.22);
  background: rgba(2, 18, 15, 0.62);
  color: rgba(201, 255, 226, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.shop-try-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #31f59a;
  box-shadow: 0 0 16px rgba(49, 245, 154, 0.85);
}

.shop-try-profile-main {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 28px 0;
}

.shop-try-avatar {
  width: 142px;
  height: 142px;
  border-radius: 32px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(90, 212, 255, 0.2), rgba(119, 255, 190, 0.12));
  color: #f5f9ff;
  font-size: 54px;
  font-weight: 900;
}

.shop-try-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.shop-try-identity {
  min-width: 0;
}

.shop-try-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.shop-try-name-row h3 {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.shop-try-group {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(90, 212, 255, 0.45);
  background: rgba(90, 212, 255, 0.11);
  color: #5ad4ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shop-try-name-row .profile-badge {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.shop-try-name-row .profile-badge[hidden],
.shop-try-group[hidden],
#shop-try-avatar-img[hidden],
#shop-try-avatar-letter[hidden] {
  display: none !important;
}

#shop-try-meta {
  margin: 10px 0 0;
  color: rgba(205, 221, 245, 0.72);
  font-size: 16px;
}

/* Shop preview emoji badges v4 final cascade */
.shop-badge-verified,
.shop-badge-premium,
.shop-badge-vip,
.shop-badge-champion,
.shop-badge-legend,
.shop-badge-master,
.shop-badge-ninja,
.shop-badge-dragon,
.shop-badge-phoenix,
.shop-badge-robot,
.shop-badge-astronaut,
.shop-badge-shadow-master,
.shop-badge-pro-player,
.shop-badge-streamer,
.shop-badge-coach,
.shop-badge-team-captain,
.shop-badge-tournament-winner,
.shop-badge-early-supporter,
.shop-badge-beta-tester,
.shop-badge-community-leader,
.shop-badge-content-creator,
.shop-badge-moderator,
.shop-badge-diamond,
.shop-badge-crown,
.shop-badge-star,
.shop-badge-flame,
.shop-badge-lightning,
.shop-badge-shield,
.shop-badge-sword,
.shop-badge-trophy,
.shop-badge-medal,
.shop-badge-gem,
.shop-badge-space-explorer,
.shop-badge-ninja-master,
.shop-badge-samurai,
.shop-badge-wizard,
.shop-badge-knight,
.shop-badge-snowflake,
.shop-badge-santa {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  filter: drop-shadow(0 0 8px rgba(255, 215, 105, 0.52)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.42)) !important;
  animation: shopBadgeFloat 2.8s ease-in-out infinite !important;
}

.shop-try-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.shop-try-chips span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(232, 241, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.shop-try-live-demo {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(2, 6, 13, 0.5);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.shop-try-live-title {
  color: rgba(232, 241, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-try-swipe-preview {
  position: relative;
  width: 140px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(49, 245, 154, 0.22), rgba(90, 212, 255, 0.14));
  border: 1px solid rgba(119, 255, 190, 0.35);
  color: #dffff0;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.shop-try-swipe-preview::after {
  content: '';
  position: absolute;
  inset: auto -30% -15px 12%;
  height: 12px;
  border-radius: 999px;
  background: rgba(119, 255, 190, 0.45);
}

.shop-try-live-demo[data-try-swipe-fx="firetrail"] .shop-try-swipe-preview {
  background: linear-gradient(135deg, rgba(255, 96, 45, 0.34), rgba(255, 202, 91, 0.22));
  border-color: rgba(255, 169, 73, 0.52);
}

.shop-try-live-demo[data-try-swipe-fx="lightning"] .shop-try-swipe-preview {
  background: linear-gradient(135deg, rgba(89, 214, 255, 0.34), rgba(255, 245, 122, 0.2));
  border-color: rgba(255, 245, 122, 0.56);
}

.shop-try-live-demo[data-try-swipe-fx="glitch"] .shop-try-swipe-preview {
  background: linear-gradient(135deg, rgba(255, 65, 151, 0.3), rgba(55, 246, 255, 0.24));
  text-shadow: 2px 0 #ff4096, -2px 0 #40e9ff;
}

.shop-try-live-demo[data-try-music="1"] {
  border-color: rgba(255, 213, 96, 0.26);
  background: linear-gradient(135deg, rgba(255, 213, 96, 0.12), rgba(90, 212, 255, 0.08));
}

.shop-try-live-demo[data-try-music="1"] .shop-try-live-title::after {
  content: ' · музыка';
  color: #ffd560;
}

.shop-try-profile-card[data-try-card-theme="fire"] {
  border-color: rgba(255, 127, 69, 0.5);
  box-shadow: inset 0 0 44px rgba(255, 103, 45, 0.08), 0 0 46px rgba(255, 103, 45, 0.16);
}

.shop-try-profile-card[data-try-card-theme="neon"] {
  border-color: rgba(90, 212, 255, 0.58);
  box-shadow: inset 0 0 48px rgba(90, 212, 255, 0.09), 0 0 52px rgba(185, 146, 255, 0.18);
}

.shop-try-profile-card[data-try-profile-bg="neon-city"] {
  background:
    linear-gradient(180deg, rgba(6, 10, 23, 0.5), rgba(2, 5, 12, 0.92)),
    radial-gradient(circle at 18% 14%, rgba(255, 55, 150, 0.3), transparent 34%),
    radial-gradient(circle at 82% 24%, rgba(55, 232, 255, 0.28), transparent 34%),
    linear-gradient(145deg, #0a1020, #030712);
}

.shop-try-profile-card[data-try-profile-bg="sakura"] {
  background:
    linear-gradient(180deg, rgba(8, 8, 16, 0.46), rgba(5, 8, 16, 0.92)),
    radial-gradient(circle at 20% 12%, rgba(255, 148, 181, 0.32), transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(255, 218, 147, 0.16), transparent 34%),
    linear-gradient(145deg, #15101c, #060812);
}

.shop-try-profile-card[data-try-profile-bg="midnight"] {
  background:
    radial-gradient(circle at 18% 20%, rgba(90, 212, 255, 0.12), transparent 38%),
    radial-gradient(circle at 84% 0%, rgba(31, 64, 128, 0.28), transparent 42%),
    linear-gradient(145deg, #020612, #091120 62%, #02050d);
}

.shop-try-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.shop-try-info-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  padding: 20px;
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.025);
}

.shop-try-info-card.muted {
  background: rgba(90, 212, 255, 0.055);
  border-color: rgba(90, 212, 255, 0.14);
}

.shop-try-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(232, 241, 255, 0.56);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.shop-try-info-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.18;
  color: #f4f8ff;
}

.shop-try-info-card p {
  margin: 12px 0 0;
  color: rgba(213, 225, 245, 0.72);
  line-height: 1.55;
}

.shop-try-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.shop-try-summary span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(232, 241, 255, 0.86);
  font-size: 13px;
  font-weight: 900;
}

.shop-try-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.shop-try-actions .shop-btn {
  min-width: 170px;
}

.shop-try-actions .shop-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

@keyframes tryCardShine {
  0%, 55%, 100% { transform: translateX(-58%) rotate(12deg); opacity: 0; }
  72% { transform: translateX(45%) rotate(12deg); opacity: 1; }
}

/* Responsive */
@media (max-width: 860px) {
  .shop-shell {
    gap: 32px;
    padding: 0 18px 64px;
  }

  .shop-hero-block {
    padding: 24px;
  }

  .shop-hero-layout {
    grid-template-columns: 1fr;
  }

  .shop-hero-actions {
    flex-direction: column;
  }

  .collection-row {
    grid-template-columns: 1fr;
  }

  .shop-market-toolbar {
    grid-template-columns: 1fr;
  }

  .shop-toolbar-utility .shop-balance-card {
    width: 100%;
  }

  .shop-toolbar-primary,
  .shop-toolbar-utility {
    gap: 8px;
  }

  .shop-category-rail,
  .shop-quick-links {
    justify-content: flex-start;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .seasonal-scroll {
    grid-auto-columns: minmax(240px, 85%);
  }

  .mystery-drop {
    grid-template-columns: 1fr;
  }

  .mystery-actions {
    flex-direction: column;
  }

  .shop-item-footer {
    flex-direction: column;
    align-items: stretch;
  
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

  .shop-item-actions {
    width: 100%;
  }

  .shop-buy-btn,
  .shop-try-btn {
    width: 100%;
  }

  .shop-try-content {
    grid-template-columns: 1fr;
  }

  .shop-try-profile-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .shop-try-avatar {
    margin: 0 auto;
  }

  .shop-try-name-row,
  .shop-try-chips {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .shop-page {
    padding: 14px 12px calc(110px + env(safe-area-inset-bottom, 0px));
  }

  .shop-collection-strip,
  .shop-grid-section {
    padding: 20px;
    border-radius: 22px;
  }

  .shop-section-head,
  .shop-panel-head {
    flex-direction: column;
  }

  .shop-section-actions,
  .shop-panel-actions,
  .shop-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .shop-mini-btn,
  .shop-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .shop-case-widget {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
  }

  .shop-case-art {
    width: 92px;
    height: 76px;
    border-radius: 18px;
  }

  .shop-case-title {
    font-size: 28px;
  }

  .shop-case-meta {
    margin-top: 10px;
    gap: 6px;
  }

  .shop-case-meta span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }

  .shop-case-action {
    grid-column: 1 / -1;
    width: 100%;
    height: 44px;
  }

  .shop-grid-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .shop-try-modal {
    padding: 10px;
  }

  .shop-try-dialog {
    border-radius: 22px;
  }

  .shop-try-head {
    align-items: flex-start;
  }

  .shop-try-close {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .shop-try-profile-card {
    min-height: 0;
  }

  .shop-try-avatar {
    width: 118px;
    height: 118px;
    border-radius: 26px;
  }

  .shop-try-live-demo {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-try-swipe-preview {
    width: 100%;
  }

  .shop-try-actions .shop-btn {
    width: 100%;
  }
}

/* Inventory Styles */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.inventory-item {
  background: linear-gradient(135deg, rgba(11, 16, 28, 0.95), rgba(7, 10, 18, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px;
  transition: all 0.3s ease;
  -webkit-  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.inventory-item:hover {
  transform: translateY(-4px);
  border-color: rgba(90, 212, 255, 0.3);
}

.inventory-item.active {
  border-color: rgba(46, 213, 115, 0.5);
  background: linear-gradient(135deg, rgba(11, 16, 28, 0.98), rgba(7, 10, 18, 0.98));
  box-shadow: 0 8px 32px rgba(46, 213, 115, 0.2);
}

.inventory-item-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  min-height: 100px;
}

.inventory-preview-avatar,
.inventory-preview-nick,
.inventory-preview-badge {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inventory-preview-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  background: linear-gradient(135deg, rgba(90, 212, 255, 0.2), rgba(185, 146, 255, 0.2));
}

.inventory-preview-nick {
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 800;
  min-width: 180px;
}

.inventory-preview-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-size: 36px;
  margin: 0 auto;
}

.inventory-item-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inventory-item-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.inventory-item-status {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  text-align: center;
}

.status-active {
  background: linear-gradient(135deg, rgba(46, 213, 115, 0.2), rgba(123, 237, 159, 0.2));
  border: 1px solid rgba(46, 213, 115, 0.4);
  color: #ccffdd;
}

.status-inactive {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(232, 241, 255, 0.7);
}

.inventory-apply-btn {
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #081018;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(90, 212, 255, 0.3);
}

.inventory-apply-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(90, 212, 255, 0.4);
}

.inventory-apply-btn:disabled,
.inventory-apply-btn.applied {
  background: linear-gradient(135deg, #2ed573, #7bed9f);
  color: #081018;
  cursor: not-allowed;
  opacity: 0.8;
}

.inventory-item-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.inventory-remove-btn,
.inventory-delete-btn {
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  flex: 1;
}

.inventory-remove-btn {
  background: linear-gradient(135deg, #ffa726, #ff9800);
  color: #081018;
  box-shadow: 0 4px 16px rgba(255, 167, 38, 0.3);
}

.inventory-remove-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 167, 38, 0.4);
}

.inventory-delete-btn {
  background: linear-gradient(135deg, #ef5350, #e53935);
  color: #fff;
  box-shadow: 0 4px 16px rgba(239, 83, 80, 0.3);
}

.inventory-delete-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(239, 83, 80, 0.4);
}

.inventory-remove-btn:disabled,
.inventory-delete-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.inventory-loading,
.inventory-empty,
.inventory-error {
  text-align: center;
  padding: 60px 20px;
  color: rgba(232, 241, 255, 0.7);
  font-size: 16px;
}

.inventory-empty a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-left: 8px;
}

.inventory-empty a:hover {
  text-decoration: underline;
}

@media (max-width: 860px) {
  .inventory-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================
   НОВЫЕ РАМКИ - ПРЕВЬЮ В МАГАЗИНЕ
   ============================================ */

.shop-frame-diamond {
  border: 4px solid #b9f2ff;
  box-shadow: 0 0 60px rgba(185, 242, 255, 1), 0 0 120px rgba(185, 242, 255, 0.6), inset 0 0 60px rgba(185, 242, 255, 0.4);
  animation: diamondShine 3s ease-in-out infinite;
}

.shop-frame-galaxy {
  border: 4px solid;
  border-image: linear-gradient(45deg, #1a1a2e, #16213e, #0f3460, #533483, #e94560, #1a1a2e) 1;
  box-shadow: 0 0 70px rgba(83, 52, 131, 1), 0 0 140px rgba(233, 69, 96, 0.6), inset 0 0 70px rgba(83, 52, 131, 0.4);
  animation: galaxyFlow 5s ease-in-out infinite;
}

.shop-frame-matrix {
  border: 4px solid #00ff41;
  box-shadow: 0 0 50px rgba(0, 255, 65, 1), 0 0 100px rgba(0, 255, 65, 0.6), inset 0 0 50px rgba(0, 255, 65, 0.3);
  animation: matrixScan 2s linear infinite;
}

.shop-frame-neon-city {
  border: 4px solid;
  border-image: linear-gradient(45deg, #ff0080, #00ffff, #ff0080, #00ffff) 1;
  box-shadow: 0 0 60px rgba(255, 0, 128, 0.9), 0 0 120px rgba(0, 255, 255, 0.6), inset 0 0 60px rgba(255, 0, 128, 0.4);
  animation: neonCityPulse 2.5s ease-in-out infinite;
}

.shop-frame-aurora {
  border: 4px solid;
  border-image: linear-gradient(45deg, #00ff88, #00ffff, #0088ff, #8800ff, #00ff88) 1;
  box-shadow: 0 0 65px rgba(0, 255, 136, 0.9), 0 0 130px rgba(136, 0, 255, 0.6), inset 0 0 65px rgba(0, 255, 136, 0.4);
  animation: auroraWave 4s ease-in-out infinite;
}

.shop-frame-cyberpunk {
  border: 4px solid;
  border-image: linear-gradient(45deg, #ff0080, #00ffff, #ffff00, #ff0080) 1;
  box-shadow: 0 0 70px rgba(255, 0, 128, 1), 0 0 140px rgba(0, 255, 255, 0.7), inset 0 0 70px rgba(255, 255, 0, 0.4);
  animation: cyberpunkGlitch 3s ease-in-out infinite;
}

.shop-frame-golden-hour {
  border: 4px solid;
  border-image: linear-gradient(45deg, #ff6b35, #f7931e, #ffd23f, #ff6b35) 1;
  box-shadow: 0 0 55px rgba(255, 107, 53, 0.9), 0 0 110px rgba(255, 210, 63, 0.6), inset 0 0 55px rgba(255, 107, 53, 0.4);
  animation: goldenHourGlow 3.5s ease-in-out infinite;
}

.shop-frame-ocean-wave {
  border: 4px solid;
  border-image: linear-gradient(45deg, #00c9ff, #92fe9d, #00c9ff, #92fe9d) 1;
  box-shadow: 0 0 60px rgba(0, 201, 255, 0.9), 0 0 120px rgba(146, 254, 157, 0.6), inset 0 0 60px rgba(0, 201, 255, 0.4);
  animation: oceanWaveFlow 4s ease-in-out infinite;
}

.shop-frame-glitch {
  border: 4px solid;
  border-image: linear-gradient(45deg, #ff0000, #00ff00, #0000ff, #ff0000) 1;
  box-shadow: 0 0 50px rgba(255, 0, 0, 0.9), 0 0 100px rgba(0, 255, 0, 0.6), inset 0 0 50px rgba(0, 0, 255, 0.4);
  animation: glitchEffect 0.5s linear infinite;
}

.shop-frame-holographic {
  border: 4px solid;
  border-image: linear-gradient(45deg, #ff006e, #8338ec, #3a86ff, #06ffa5, #ff006e) 1;
  box-shadow: 0 0 65px rgba(255, 0, 110, 0.9), 0 0 130px rgba(131, 56, 236, 0.6), inset 0 0 65px rgba(58, 134, 255, 0.4);
  animation: holographicShift 4s linear infinite;
}

.shop-frame-crystal {
  border: 4px solid #e0f2fe;
  box-shadow: 0 0 70px rgba(224, 242, 254, 1), 0 0 140px rgba(224, 242, 254, 0.6), inset 0 0 70px rgba(224, 242, 254, 0.4);
  animation: crystalRefract 3s ease-in-out infinite;
}

.shop-frame-shadow {
  border: 4px solid #1a1a1a;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.9), 0 0 160px rgba(0, 0, 0, 0.6), inset 0 0 80px rgba(0, 0, 0, 0.4);
  animation: shadowPulse 2.5s ease-in-out infinite;
}

.shop-frame-new-year {
  border: 4px solid;
  border-image: linear-gradient(45deg, #ffd700, #ff0000, #ffffff, #ffd700) 1;
  box-shadow: 0 0 60px rgba(255, 215, 0, 1), 0 0 120px rgba(255, 0, 0, 0.7), inset 0 0 60px rgba(255, 255, 255, 0.4);
  animation: newYearSparkle 2s ease-in-out infinite;
}

/* ============================================
   НОВЫЕ ЦВЕТА НИКА - ПРЕВЬЮ В МАГАЗИНЕ
   ============================================ */

.shop-nick-sunset {
  background: linear-gradient(135deg, #ff6b35, #f7931e, #ffd23f, #ff6b35);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: sunsetGlow 4s ease-in-out infinite;
  display: inline-block;
}

.shop-nick-ocean {
  background: linear-gradient(135deg, #00c9ff, #92fe9d, #00c9ff, #92fe9d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 300% 300%;
  animation: oceanFlow 4s ease-in-out infinite;
  display: inline-block;
}

.shop-nick-forest {
  background: linear-gradient(135deg, #134e5e, #71b280, #134e5e, #71b280);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: forestRustle 3.5s ease-in-out infinite;
  display: inline-block;
}

.shop-nick-galaxy {
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460, #533483, #e94560);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: galaxyFlow 5s ease-in-out infinite;
  display: inline-block;
}

.shop-nick-fire-ice {
  background: linear-gradient(135deg, #ff0000, #ffffff, #0000ff, #ff0000);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: fireIceContrast 3s ease-in-out infinite;
  display: inline-block;
}

.shop-nick-typing {
  background: linear-gradient(135deg, #00ff41, #ffffff, #00ff41, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: typingEffect 2s linear infinite;
  display: inline-block;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

.shop-nick-glitch {
  background: linear-gradient(135deg, #ff0000, #00ff00, #0000ff, #ff0000);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 400% 400%;
  animation: glitchText 0.5s linear infinite;
  display: inline-block;
}

.shop-nick-neon-pulse {
  background: linear-gradient(135deg, #ff0080, #00ffff, #ff0080, #00ffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: neonPulseText 2s ease-in-out infinite;
  display: inline-block;
  text-shadow: 0 0 20px rgba(255, 0, 128, 0.8), 0 0 40px rgba(0, 255, 255, 0.6);
}

.shop-nick-rainbow-wave {
  background: linear-gradient(135deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3, #ff0000);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: rainbowWaveFlow 3s linear infinite;
  display: inline-block;
}

.shop-nick-sparkle-trail {
  background: linear-gradient(135deg, #ffd700, #fff8dc, #ffd700, #fffacd, #ffd700);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: sparkleTrail 3s ease-in-out infinite;
  display: inline-block;
}

.shop-nick-chrome {
  background: linear-gradient(135deg, #c0c0c0, #ffffff, #c0c0c0, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: chromeShine 2s ease-in-out infinite;
  display: inline-block;
}

.shop-nick-gold-leaf {
  background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: goldLeafShimmer 3s ease-in-out infinite;
  display: inline-block;
}

.shop-nick-silver-mirror {
  background: linear-gradient(135deg, #e5e4e2, #ffffff, #e5e4e2, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: silverMirrorReflect 2.5s ease-in-out infinite;
  display: inline-block;
}

.shop-nick-prism {
  background: linear-gradient(135deg, #ff006e, #8338ec, #3a86ff, #06ffa5, #ff006e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 400% 400%;
  animation: prismRefract 4s linear infinite;
  display: inline-block;
}

.shop-nick-glow {
  background: linear-gradient(135deg, #5ad4ff, #b992ff, #5ad4ff, #b992ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: softGlow 3s ease-in-out infinite;
  display: inline-block;
  text-shadow: 0 0 15px rgba(90, 212, 255, 0.6), 0 0 30px rgba(185, 146, 255, 0.4);
}

.shop-nick-christmas {
  background: linear-gradient(135deg, #ff0000, #ffffff, #00ff00, #ff0000);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: christmasSparkle 2s ease-in-out infinite;
  display: inline-block;
}

/* ============================================
   НОВЫЕ ЗНАЧКИ - ПРЕВЬЮ В МАГАЗИНЕ
   ============================================ */

.shop-badge-pro-player {
  background: linear-gradient(135deg, rgba(90, 212, 255, 0.3), rgba(90, 212, 255, 0.2));
  color: #5ad4ff;
  box-shadow: 0 0 15px rgba(90, 212, 255, 0.6);
}

.shop-badge-streamer {
  background: linear-gradient(135deg, rgba(255, 0, 128, 0.3), rgba(255, 0, 128, 0.2));
  color: #ff0080;
  box-shadow: 0 0 15px rgba(255, 0, 128, 0.6);
}

.shop-badge-coach {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.2));
  color: #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.shop-badge-team-captain {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
  color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.shop-badge-tournament-winner {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), rgba(255, 215, 0, 0.3));
  color: #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  animation: trophyGlow 2s ease-in-out infinite;
}

.shop-badge-early-supporter {
  background: linear-gradient(135deg, rgba(185, 242, 255, 0.4), rgba(185, 242, 255, 0.3));
  color: #b9f2ff;
  box-shadow: 0 0 20px rgba(185, 242, 255, 0.8);
  animation: diamondShine 3s ease-in-out infinite;
}

.shop-badge-beta-tester {
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.3), rgba(0, 255, 65, 0.2));
  color: #00ff41;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.6);
}

.shop-badge-community-leader {
  background: linear-gradient(135deg, rgba(90, 212, 255, 0.35), rgba(90, 212, 255, 0.25));
  color: #5ad4ff;
  box-shadow: 0 0 18px rgba(90, 212, 255, 0.7);
}

.shop-badge-content-creator {
  background: linear-gradient(135deg, rgba(255, 0, 128, 0.35), rgba(255, 0, 128, 0.25));
  color: #ff0080;
  box-shadow: 0 0 18px rgba(255, 0, 128, 0.7);
}

.shop-badge-moderator {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.3));
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  animation: shieldGlow 2s ease-in-out infinite;
}

.shop-badge-diamond {
  background: linear-gradient(135deg, rgba(185, 242, 255, 0.5), rgba(185, 242, 255, 0.4));
  color: #b9f2ff;
  box-shadow: 0 0 25px rgba(185, 242, 255, 1);
  animation: diamondShine 3s ease-in-out infinite;
}

.shop-badge-crown {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.5), rgba(255, 215, 0, 0.4));
  color: #ffd700;
  box-shadow: 0 0 25px rgba(255, 215, 0, 1);
  animation: crownGlow 2.5s ease-in-out infinite;
}

.shop-badge-star {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.2));
  color: #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  animation: starTwinkle 1.5s ease-in-out infinite;
}

.shop-badge-flame {
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.35), rgba(255, 69, 0, 0.25));
  color: #ff4500;
  box-shadow: 0 0 18px rgba(255, 69, 0, 0.7);
  animation: flameFlicker 1s ease-in-out infinite;
}

.shop-badge-lightning {
  background: linear-gradient(135deg, rgba(255, 255, 0, 0.4), rgba(255, 255, 0, 0.3));
  color: #ffff00;
  box-shadow: 0 0 20px rgba(255, 255, 0, 0.8);
  animation: lightningFlash 0.5s linear infinite;
}

.shop-badge-shield {
  background: linear-gradient(135deg, rgba(90, 212, 255, 0.35), rgba(90, 212, 255, 0.25));
  color: #5ad4ff;
  box-shadow: 0 0 18px rgba(90, 212, 255, 0.7);
  animation: shieldGlow 2s ease-in-out infinite;
}

.shop-badge-sword {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.35), rgba(192, 192, 192, 0.25));
  color: #c0c0c0;
  box-shadow: 0 0 18px rgba(192, 192, 192, 0.7);
  animation: swordGleam 2s ease-in-out infinite;
}

.shop-badge-trophy {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), rgba(255, 215, 0, 0.3));
  color: #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  animation: trophyGlow 2s ease-in-out infinite;
}

.shop-badge-medal {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.35), rgba(255, 215, 0, 0.25));
  color: #ffd700;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.7);
  animation: medalShine 2.5s ease-in-out infinite;
}

.shop-badge-gem {
  background: linear-gradient(135deg, rgba(185, 242, 255, 0.45), rgba(185, 242, 255, 0.35));
  color: #b9f2ff;
  box-shadow: 0 0 22px rgba(185, 242, 255, 0.9);
  animation: gemSparkle 3s ease-in-out infinite;
}

.shop-badge-space-explorer {
  background: linear-gradient(135deg, rgba(90, 212, 255, 0.4), rgba(90, 212, 255, 0.3));
  color: #5ad4ff;
  box-shadow: 0 0 20px rgba(90, 212, 255, 0.8);
  animation: spaceFloat 3s ease-in-out infinite;
}

.shop-badge-ninja-master {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.4), rgba(26, 26, 46, 0.3));
  color: #1a1a2e;
  box-shadow: 0 0 18px rgba(26, 26, 46, 0.8);
  animation: ninjaShadow 2s ease-in-out infinite;
}

.shop-badge-samurai {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.4), rgba(192, 192, 192, 0.3));
  color: #c0c0c0;
  box-shadow: 0 0 20px rgba(192, 192, 192, 0.8);
  animation: samuraiHonor 2.5s ease-in-out infinite;
}

.shop-badge-wizard {
  background: linear-gradient(135deg, rgba(131, 56, 236, 0.45), rgba(131, 56, 236, 0.35));
  color: #8338ec;
  box-shadow: 0 0 22px rgba(131, 56, 236, 0.9);
  animation: wizardMagic 3s ease-in-out infinite;
}

.shop-badge-knight {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.4), rgba(192, 192, 192, 0.3));
  color: #c0c0c0;
  box-shadow: 0 0 20px rgba(192, 192, 192, 0.8);
  animation: knightValor 2.5s ease-in-out infinite;
}

.shop-badge-snowflake {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.35));
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
  animation: snowflakeFall 3s ease-in-out infinite;
}

.shop-badge-santa {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.45), rgba(255, 0, 0, 0.35));
  color: #ff0000;
  box-shadow: 0 0 22px rgba(255, 0, 0, 0.9);
  animation: santaHoHo 2s ease-in-out infinite;
}

/* Анимации для новых эффектов */
@keyframes diamondShine {
  0%, 100% { 
    box-shadow: 0 0 60px rgba(185, 242, 255, 1), 0 0 120px rgba(185, 242, 255, 0.6);
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 80px rgba(185, 242, 255, 1), 0 0 160px rgba(185, 242, 255, 0.8);
    filter: brightness(1.4);
  }
}

@keyframes galaxyFlow {
  0%, 100% { 
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }
  50% { 
    background-position: 100% 50%;
    filter: hue-rotate(180deg);
  }
}

@keyframes matrixScan {
  0% { 
    box-shadow: 0 0 50px rgba(0, 255, 65, 1), 0 0 100px rgba(0, 255, 65, 0.6);
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 70px rgba(0, 255, 65, 1), 0 0 140px rgba(0, 255, 65, 0.8);
    filter: brightness(1.5);
  }
  100% { 
    box-shadow: 0 0 50px rgba(0, 255, 65, 1), 0 0 100px rgba(0, 255, 65, 0.6);
    filter: brightness(1);
  }
}

@keyframes neonCityPulse {
  0%, 100% { 
    box-shadow: 0 0 60px rgba(255, 0, 128, 0.9), 0 0 120px rgba(0, 255, 255, 0.6);
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 80px rgba(255, 0, 128, 1), 0 0 160px rgba(0, 255, 255, 0.8);
    filter: brightness(1.3);
  }
}

@keyframes auroraWave {
  0%, 100% { 
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }
  50% { 
    background-position: 100% 50%;
    filter: hue-rotate(90deg);
  }
}

@keyframes cyberpunkGlitch {
  0%, 100% { 
    box-shadow: 0 0 70px rgba(255, 0, 128, 1), 0 0 140px rgba(0, 255, 255, 0.7);
    filter: brightness(1) hue-rotate(0deg);
  }
  25% { 
    filter: brightness(1.2) hue-rotate(90deg);
  }
  50% { 
    box-shadow: 0 0 90px rgba(255, 0, 128, 1), 0 0 180px rgba(0, 255, 255, 0.9);
    filter: brightness(1.4) hue-rotate(180deg);
  }
  75% { 
    filter: brightness(1.2) hue-rotate(270deg);
  }
}

@keyframes goldenHourGlow {
  0%, 100% { 
    box-shadow: 0 0 55px rgba(255, 107, 53, 0.9), 0 0 110px rgba(255, 210, 63, 0.6);
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 75px rgba(255, 107, 53, 1), 0 0 150px rgba(255, 210, 63, 0.8);
    filter: brightness(1.3);
  }
}

@keyframes oceanWaveFlow {
  0%, 100% { 
    background-position: 0% 50%;
  }
  50% { 
    background-position: 100% 50%;
  }
}

@keyframes glitchEffect {
  0%, 100% { 
    transform: translate(0);
    filter: hue-rotate(0deg);
  }
  20% { 
    transform: translate(-2px, 2px);
    filter: hue-rotate(90deg);
  }
  40% { 
    transform: translate(-2px, -2px);
    filter: hue-rotate(180deg);
  }
  60% { 
    transform: translate(2px, 2px);
    filter: hue-rotate(270deg);
  }
  80% { 
    transform: translate(2px, -2px);
    filter: hue-rotate(360deg);
  }
}

@keyframes holographicShift {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

@keyframes crystalRefract {
  0%, 100% { 
    box-shadow: 0 0 70px rgba(224, 242, 254, 1), 0 0 140px rgba(224, 242, 254, 0.6);
    filter: brightness(1) hue-rotate(0deg);
  }
  50% { 
    box-shadow: 0 0 90px rgba(224, 242, 254, 1), 0 0 180px rgba(224, 242, 254, 0.8);
    filter: brightness(1.4) hue-rotate(180deg);
  }
}

@keyframes shadowPulse {
  0%, 100% { 
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.9), 0 0 160px rgba(0, 0, 0, 0.6);
    opacity: 1;
  }
  50% { 
    box-shadow: 0 0 100px rgba(0, 0, 0, 1), 0 0 200px rgba(0, 0, 0, 0.8);
    opacity: 0.9;
  }
}

@keyframes newYearSparkle {
  0%, 100% { 
    box-shadow: 0 0 60px rgba(255, 215, 0, 1), 0 0 120px rgba(255, 0, 0, 0.7);
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 80px rgba(255, 215, 0, 1), 0 0 160px rgba(255, 0, 0, 0.9);
    filter: brightness(1.3);
  }
}

@keyframes sunsetGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes oceanFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes forestRustle {
  0%, 100% { background-position: 0% 50%; filter: brightness(1); }
  50% { background-position: 100% 50%; filter: brightness(1.2); }
}

@keyframes fireIceContrast {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes typingEffect {
  0%, 100% { 
    background-position: 0% 50%;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
  }
  50% { 
    background-position: 100% 50%;
    text-shadow: 0 0 20px rgba(0, 255, 65, 1);
  }
}

@keyframes glitchText {
  0%, 100% { 
    background-position: 0% 0%;
    transform: translate(0);
  }
  20% { 
    transform: translate(-1px, 1px);
  }
  40% { 
    transform: translate(-1px, -1px);
  }
  60% { 
    transform: translate(1px, 1px);
  }
  80% { 
    transform: translate(1px, -1px);
  }
}

@keyframes neonPulseText {
  0%, 100% { 
    background-position: 0% 50%;
    text-shadow: 0 0 20px rgba(255, 0, 128, 0.8), 0 0 40px rgba(0, 255, 255, 0.6);
  }
  50% { 
    background-position: 100% 50%;
    text-shadow: 0 0 30px rgba(255, 0, 128, 1), 0 0 60px rgba(0, 255, 255, 0.8);
  }
}

@keyframes rainbowWaveFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes sparkleTrail {
  0%, 100% { 
    background-position: 0% 50%;
    filter: brightness(1);
  }
  50% { 
    background-position: 100% 50%;
    filter: brightness(1.5);
  }
}

@keyframes chromeShine {
  0%, 100% { 
    background-position: 0% 50%;
    filter: brightness(1);
  }
  50% { 
    background-position: 100% 50%;
    filter: brightness(1.3);
  }
}

@keyframes goldLeafShimmer {
  0%, 100% { 
    background-position: 0% 50%;
    filter: brightness(1);
  }
  50% { 
    background-position: 100% 50%;
    filter: brightness(1.4);
  }
}

@keyframes silverMirrorReflect {
  0%, 100% { 
    background-position: 0% 50%;
    filter: brightness(1);
  }
  50% { 
    background-position: 100% 50%;
    filter: brightness(1.3);
  }
}

@keyframes prismRefract {
  0% { background-position: 0% 0%; filter: hue-rotate(0deg); }
  100% { background-position: 400% 400%; filter: hue-rotate(360deg); }
}

@keyframes softGlow {
  0%, 100% { 
    background-position: 0% 50%;
    text-shadow: 0 0 15px rgba(90, 212, 255, 0.6), 0 0 30px rgba(185, 146, 255, 0.4);
  }
  50% { 
    background-position: 100% 50%;
    text-shadow: 0 0 25px rgba(90, 212, 255, 0.8), 0 0 50px rgba(185, 146, 255, 0.6);
  }
}

@keyframes christmasSparkle {
  0%, 100% { 
    background-position: 0% 50%;
    filter: brightness(1);
  }
  50% { 
    background-position: 100% 50%;
    filter: brightness(1.3);
  }
}

@keyframes trophyGlow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 30px rgba(255, 215, 0, 1);
    transform: scale(1.05);
  }
}

@keyframes shieldGlow {
  0%, 100% { 
    box-shadow: 0 0 18px rgba(90, 212, 255, 0.7);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 28px rgba(90, 212, 255, 0.9);
    transform: scale(1.03);
  }
}

@keyframes crownGlow {
  0%, 100% { 
    box-shadow: 0 0 25px rgba(255, 215, 0, 1);
    transform: scale(1) rotate(0deg);
  }
  50% { 
    box-shadow: 0 0 35px rgba(255, 215, 0, 1);
    transform: scale(1.05) rotate(5deg);
  }
}

@keyframes starTwinkle {
  0%, 100% { 
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    opacity: 1;
  }
  50% { 
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.9);
    opacity: 0.8;
  }
}

@keyframes flameFlicker {
  0%, 100% { 
    box-shadow: 0 0 18px rgba(255, 69, 0, 0.7);
    transform: scale(1);
  }
  25% { 
    transform: scale(1.05);
  }
  50% { 
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.9);
    transform: scale(1.1);
  }
  75% { 
    transform: scale(1.05);
  }
}

@keyframes lightningFlash {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(255, 255, 0, 0.8);
    opacity: 1;
  }
  50% { 
    box-shadow: 0 0 40px rgba(255, 255, 0, 1);
    opacity: 0.7;
  }
}

@keyframes swordGleam {
  0%, 100% { 
    box-shadow: 0 0 18px rgba(192, 192, 192, 0.7);
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 28px rgba(192, 192, 192, 0.9);
    filter: brightness(1.3);
  }
}

@keyframes medalShine {
  0%, 100% { 
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.7);
    transform: scale(1) rotate(0deg);
  }
  50% { 
    box-shadow: 0 0 28px rgba(255, 215, 0, 0.9);
    transform: scale(1.05) rotate(10deg);
  }
}

@keyframes gemSparkle {
  0%, 100% { 
    box-shadow: 0 0 22px rgba(185, 242, 255, 0.9);
    filter: brightness(1) hue-rotate(0deg);
  }
  50% { 
    box-shadow: 0 0 32px rgba(185, 242, 255, 1);
    filter: brightness(1.4) hue-rotate(180deg);
  }
}

@keyframes spaceFloat {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(90, 212, 255, 0.8);
    transform: translateY(0);
  }
  50% { 
    box-shadow: 0 0 30px rgba(90, 212, 255, 1);
    transform: translateY(-3px);
  }
}

@keyframes samuraiHonor {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.8);
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 30px rgba(192, 192, 192, 1);
    filter: brightness(1.3);
  }
}

@keyframes wizardMagic {
  0%, 100% { 
    box-shadow: 0 0 22px rgba(131, 56, 236, 0.9);
    filter: brightness(1) hue-rotate(0deg);
  }
  50% { 
    box-shadow: 0 0 32px rgba(131, 56, 236, 1);
    filter: brightness(1.4) hue-rotate(180deg);
  }
}

@keyframes knightValor {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.8);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 30px rgba(192, 192, 192, 1);
    transform: scale(1.05);
  }
}

@keyframes snowflakeFall {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
    transform: translateY(0) rotate(0deg);
  }
  50% { 
    box-shadow: 0 0 30px rgba(255, 255, 255, 1);
    transform: translateY(-5px) rotate(180deg);
  }
}

@keyframes santaHoHo {
  0%, 100% { 
    box-shadow: 0 0 22px rgba(255, 0, 0, 0.9);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 32px rgba(255, 0, 0, 1);
    transform: scale(1.08);
  }
}

/* Mobile shop cleanup v10: remove empty vertical gap and make catalog immediate. */
@media (max-width: 640px) {
  body:has(.shop-page) {
    background:
      radial-gradient(circle at 52% 8%, rgba(90, 212, 255, 0.12), transparent 30%),
      radial-gradient(circle at 92% 28%, rgba(185, 146, 255, 0.16), transparent 32%),
      #050914;
  }

  .shop-page {
    min-height: auto;
    padding: 10px 0 calc(94px + env(safe-area-inset-bottom, 0px)) !important;
    overflow: visible;
  }

  .shop-page::before {
    display: none;
  }

  .shop-shell {
    width: 100%;
    gap: 12px !important;
    padding: 0 12px 18px !important;
  }

  .shop-hero-compact {
    padding: 14px !important;
    border-radius: 24px !important;
    min-height: 0 !important;
    background:
      radial-gradient(circle at 8% 0%, rgba(90, 212, 255, 0.22), transparent 46%),
      radial-gradient(circle at 100% 12%, rgba(185, 146, 255, 0.18), transparent 42%),
      linear-gradient(160deg, rgba(13, 24, 39, 0.96), rgba(8, 10, 20, 0.96)) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42) !important;
  }

  .shop-case-widget {
    grid-template-columns: 84px minmax(0, 1fr) !important;
    gap: 11px !important;
    align-items: center !important;
    min-height: 0 !important;
  }

  .shop-case-art {
    width: 84px !important;
    height: 72px !important;
    border-radius: 18px !important;
  }

  .shop-case-art img {
    width: 116% !important;
    height: 116% !important;
    object-position: 50% 54% !important;
  }

  .shop-case-kicker {
    margin-bottom: 5px !important;
    font-size: 10px !important;
    letter-spacing: 0.18em !important;
  }

  .shop-case-title {
    max-width: 190px;
    font-size: clamp(28px, 8.4vw, 34px) !important;
    line-height: 0.94 !important;
  }

  .shop-case-meta {
    gap: 5px !important;
    margin-top: 9px !important;
  }

  .shop-case-meta span {
    min-height: 28px !important;
    max-width: 100%;
    padding: 0 10px !important;
    font-size: 11px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .shop-case-action {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 44px !important;
    margin-top: 4px !important;
    border-radius: 16px !important;
    background:
      linear-gradient(135deg, rgba(90, 212, 255, 0.34), rgba(185, 146, 255, 0.25)),
      rgba(255, 255, 255, 0.08) !important;
  }

  #shop-catalog {
    margin-top: 0 !important;
  }

  .shop-toolbar-compact {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 0 !important;
  }

  .shop-toolbar-compact .shop-search {
    flex: none !important;
    width: 100% !important;
  }

  .shop-search input {
    min-height: 54px !important;
    border-radius: 18px !important;
    background: rgba(12, 18, 29, 0.8) !important;
  }

  .shop-category-rail {
    display: flex !important;
    gap: 8px !important;
    margin: 0 -12px !important;
    padding: 0 12px 2px !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
  }

  .shop-category-rail::-webkit-scrollbar {
    display: none;
  }

  .shop-category-btn {
    flex: 0 0 auto !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    border-radius: 15px !important;
    font-size: 13px !important;
  }

  .shop-toolbar-compact .shop-balance-inline {
    display: none !important;
  }

  #shop-organized-catalog {
    gap: 12px !important;
    margin-top: 2px !important;
  }

  .shop-category-section {
    padding: 14px !important;
    border-radius: 22px !important;
    background: rgba(8, 13, 23, 0.88) !important;
  }

  .shop-category-header {
    margin-bottom: 12px !important;
  }

  .shop-category-header h3 {
    font-size: 18px !important;
  }

  .shop-section-note {
    font-size: 12px !important;
  }

  .shop-category-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* Shop polish v11: cleaner product system, less generated-looking UI. */
.shop-shell {
  max-width: 1320px;
}

.shop-hero-compact,
.shop-category-section,
.shop-toolbar-compact {
  isolation: isolate;
}

.shop-hero-compact {
  border-color: rgba(126, 177, 221, 0.18);
  background:
    radial-gradient(circle at 12% 0%, rgba(90, 212, 255, 0.18), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(185, 146, 255, 0.13), transparent 38%),
    linear-gradient(145deg, rgba(13, 24, 39, 0.94), rgba(7, 10, 19, 0.96));
}

.shop-toolbar-compact {
  position: sticky;
  top: 92px;
  z-index: 15;
  padding: 10px;
  border: 1px solid rgba(122, 163, 205, 0.16);
  border-radius: 24px;
  background: rgba(6, 10, 18, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  -webkit-}

.shop-search input {
  min-height: 54px;
  border-radius: 18px;
  background: rgba(12, 18, 31, 0.88);
  border-color: rgba(126, 177, 221, 0.18);
}

.shop-search input:focus {
  border-color: rgba(90, 212, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(90, 212, 255, 0.1);
}

.shop-category-btn {
  border-radius: 16px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(226, 236, 249, 0.78);
}

.shop-category-btn.active {
  background:
    linear-gradient(135deg, rgba(90, 212, 255, 0.22), rgba(185, 146, 255, 0.16)),
    rgba(255, 255, 255, 0.07);
  border-color: rgba(90, 212, 255, 0.38);
  color: #f4fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(90, 212, 255, 0.12);
}

.shop-category-section {
  content-visibility: auto;
  contain-intrinsic-size: 820px;
  border-radius: 26px;
  border-color: rgba(126, 177, 221, 0.14);
  background:
    linear-gradient(180deg, rgba(12, 18, 30, 0.92), rgba(7, 11, 20, 0.94)),
    rgba(8, 12, 21, 0.92);
}

.shop-category-header {
  align-items: end;
}

.shop-category-header h3 {
  letter-spacing: -0.03em;
}

.shop-section-note {
  color: rgba(190, 204, 226, 0.72);
}

.shop-category-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.shop-item {
  content-visibility: auto;
  contain-intrinsic-size: 260px;
  border-radius: 20px;
  border: 1px solid rgba(126, 177, 221, 0.14);
  background:
    radial-gradient(circle at 50% 0%, rgba(90, 212, 255, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(15, 21, 34, 0.94), rgba(7, 10, 18, 0.96));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.shop-item:hover {
  transform: translateY(-3px);
  border-color: rgba(90, 212, 255, 0.32);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(90, 212, 255, 0.08);
}

.shop-item-preview {
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(4, 8, 15, 0.52);
}

.shop-item-title {
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.shop-item-desc {
  color: rgba(198, 210, 230, 0.74);
  line-height: 1.45;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}

.shop-item-footer {
  padding-top: 14px;

  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.shop-price-value {
  font-size: 21px;
}

.shop-buy-btn,
.shop-try-btn,
.shop-show-more-btn {
  will-change: transform;
}

.shop-buy-btn {
  min-height: 44px;
  border-radius: 15px;
  box-shadow: none;
}

.shop-try-btn {
  min-height: 44px;
  border-radius: 15px;
}

@media (max-width: 860px) {
  .shop-toolbar-compact {
    top: 76px;
    border-radius: 20px;
  }
}

@media (max-width: 640px) {
  .shop-toolbar-compact {
    position: static;
    padding: 0 !important;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .shop-category-section {
    contain-intrinsic-size: 620px;
  }

  .shop-item {
    contain-intrinsic-size: 300px;
    border-radius: 21px;
  }

  .shop-item:hover {
    transform: none;
  }
}

/* Shop preview emoji badges v4 absolute final */
.shop-badge-verified,
.shop-badge-premium,
.shop-badge-vip,
.shop-badge-champion,
.shop-badge-legend,
.shop-badge-master,
.shop-badge-ninja,
.shop-badge-dragon,
.shop-badge-phoenix,
.shop-badge-robot,
.shop-badge-astronaut,
.shop-badge-shadow-master,
.shop-badge-pro-player,
.shop-badge-streamer,
.shop-badge-coach,
.shop-badge-team-captain,
.shop-badge-tournament-winner,
.shop-badge-early-supporter,
.shop-badge-beta-tester,
.shop-badge-community-leader,
.shop-badge-content-creator,
.shop-badge-moderator,
.shop-badge-diamond,
.shop-badge-crown,
.shop-badge-star,
.shop-badge-flame,
.shop-badge-lightning,
.shop-badge-shield,
.shop-badge-sword,
.shop-badge-trophy,
.shop-badge-medal,
.shop-badge-gem,
.shop-badge-space-explorer,
.shop-badge-ninja-master,
.shop-badge-samurai,
.shop-badge-wizard,
.shop-badge-knight,
.shop-badge-snowflake,
.shop-badge-santa {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  filter: drop-shadow(0 0 8px rgba(255, 215, 105, 0.52)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.42)) !important;
  animation: shopBadgeFloat 2.8s ease-in-out infinite !important;
}

/* Daily case compact final lock v15. */
.shop-case-art::before { inset: 8px !important; border-radius: 16px !important; }
.shop-case-art img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
}

@media (min-width: 761px) {
  .shop-hero-compact { padding: 14px 18px !important; border-radius: 20px !important; }
  .shop-case-widget {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) 124px !important;
    align-items: center !important;
    gap: 18px !important;
    min-height: 0 !important;
    padding: 10px 12px !important;
    border-radius: 18px !important;
  }
  .shop-case-art {
    width: 96px !important;
    height: 96px !important;
    min-width: 96px !important;
    padding: 7px !important;
    border-radius: 18px !important;
  }
  .shop-case-title { font-size: clamp(28px, 3vw, 38px) !important; line-height: 1.05 !important; letter-spacing: 0 !important; }
  .shop-case-kicker { margin-bottom: 5px !important; font-size: 10px !important; }
  .shop-case-meta { margin-top: 10px !important; gap: 6px !important; }
  .shop-case-meta span { min-height: 29px !important; padding: 0 10px !important; font-size: 11px !important; }
  .shop-case-action { justify-self: end !important; min-width: 124px !important; height: 42px !important; border-radius: 14px !important; }
}

@media (max-width: 760px) {
  .shop-hero-compact { padding: 12px !important; border-radius: 20px !important; }
  .shop-case-widget {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    justify-items: stretch !important;
    align-items: center !important;
    gap: 9px 11px !important;
    min-height: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }
  .shop-case-art {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    padding: 6px !important;
    border-radius: 16px !important;
  }
  .shop-case-copy { width: 100% !important; min-width: 0 !important; }
  .shop-case-kicker { margin-bottom: 4px !important; font-size: 9px !important; letter-spacing: 0.14em !important; }
  .shop-case-title { max-width: 100% !important; font-size: clamp(22px, 7vw, 28px) !important; line-height: 1.02 !important; }
  .shop-case-meta { display: flex !important; gap: 5px !important; margin-top: 7px !important; }
  .shop-case-meta span { min-width: 0 !important; min-height: 25px !important; padding: 0 8px !important; font-size: 10px !important; }
  .shop-case-action {
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    width: 100% !important;
    height: 40px !important;
    margin-top: 0 !important;
    border-radius: 14px !important;
  }
}

/* Desktop performance pass v21.
   The catalog contains many animated previews. Keep the look, but only animate
   the card the player is actively inspecting. */
@media (min-width: 861px) {
  body:has(.shop-page) {
    background-attachment: scroll !important;
  }

  .shop-category-section {
    contain: layout paint style;
    content-visibility: auto;
    contain-intrinsic-size: 820px;
  }

  .shop-item {
    contain: layout paint style;
    content-visibility: auto;
    contain-intrinsic-size: 300px;
  }

  .shop-item :is(
    .shop-item-preview-avatar,
    .shop-item-preview-nick,
    .shop-item-preview-badge,
    .shop-item-badge
  ) {
    animation-play-state: paused !important;
  }

  .shop-item:is(:hover, :focus-within) :is(
    .shop-item-preview-avatar,
    .shop-item-preview-nick,
    .shop-item-preview-badge
  ) {
    animation-play-state: running !important;
  }

  .shop-item-badge {
    animation: none !important;
  }

  .shop-price-icon {
    filter: none !important;
    text-shadow: 0 0 10px rgba(90, 212, 255, 0.44);
  }

  .shop-buy-btn,
  .shop-try-btn,
  .shop-show-more-btn {
    will-change: auto !important;
  }

  .shop-toolbar-compact,
  .shop-category-section,
  .shop-item {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-page *,
  .shop-page *::before,
  .shop-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Paginated catalog and continuous MatchMate background v23. */
body:has(.shop-page) {
  background:
    linear-gradient(180deg, rgba(4, 8, 17, 0.64), rgba(4, 8, 17, 0.84) 54%, rgba(2, 5, 11, 0.92)),
    url('../1343590.jpg') center center / cover no-repeat fixed,
    #050914 !important;
  background-attachment: fixed, fixed, fixed !important;
  background-repeat: no-repeat !important;
}

.shop-page {
  min-height: 0 !important;
  height: auto !important;
  background:
    radial-gradient(circle at 12% 2%, rgba(66, 196, 255, 0.11), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(157, 113, 255, 0.08), transparent 38rem),
    linear-gradient(180deg, rgba(8, 17, 30, 0.18), rgba(3, 6, 13, 0.42)) !important;
}

.shop-page::before {
  display: none !important;
}

#shop-catalog {
  scroll-margin-top: 88px;
}

.shop-toolbar-compact {
  position: relative !important;
  top: auto !important;
  display: grid !important;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 10px 12px !important;
  padding: 12px !important;
  border-radius: 20px !important;
  background: rgba(7, 12, 21, 0.94) !important;
}

.shop-toolbar-compact .shop-search {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.shop-toolbar-compact .shop-search input {
  min-height: 46px;
}

.shop-toolbar-compact .shop-category-rail {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 7px;
  width: 100%;
  padding: 1px 0 3px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(98, 220, 255, 0.28) transparent;
}

.shop-toolbar-compact .shop-category-btn {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 13px;
}

.shop-toolbar-compact .shop-balance-inline {
  grid-column: 2;
  grid-row: 1;
  min-width: 112px;
  min-height: 46px;
  justify-content: center;
  padding: 7px 14px;
}

#shop-organized-catalog {
  min-height: 0 !important;
}

.shop-catalog-panel {
  padding: 22px;
  border: 1px solid rgba(126, 177, 221, 0.16);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(11, 18, 30, 0.96), rgba(6, 10, 18, 0.98));
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28);
}

.shop-catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.shop-catalog-heading h2 {
  margin: 4px 0 0;
  color: #f4f8ff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.shop-catalog-label {
  color: #62dcff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shop-catalog-count {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(98, 220, 255, 0.2);
  border-radius: 999px;
  background: rgba(98, 220, 255, 0.07);
  color: rgba(226, 239, 252, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.shop-category-count {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(227, 238, 252, 0.66);
  font-size: 10px;
  font-weight: 850;
}

.shop-category-btn.active .shop-category-count {
  background: rgba(98, 220, 255, 0.16);
  color: #e9fbff;
}

.shop-page-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 14px !important;
}

.shop-page-grid .shop-item {
  min-width: 0;
  height: 100%;
  content-visibility: visible;
}

.shop-catalog-empty {
  padding: 48px 20px;
  border: 1px dashed rgba(126, 177, 221, 0.2);
  border-radius: 20px;
  color: rgba(199, 212, 231, 0.7);
  text-align: center;
}

.shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.shop-pagination[hidden] {
  display: none !important;
}

.shop-page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(126, 177, 221, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(224, 235, 250, 0.76);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.shop-page-btn:hover:not(:disabled),
.shop-page-btn:focus-visible {
  border-color: rgba(98, 220, 255, 0.42);
  background: rgba(98, 220, 255, 0.1);
  color: #fff;
  transform: translateY(-1px);
}

.shop-page-btn.active {
  border-color: transparent;
  background: linear-gradient(135deg, #36c9f1, #8d77ff);
  color: #06101a;
  box-shadow: 0 8px 22px rgba(61, 201, 241, 0.2);
}

.shop-page-btn:disabled {
  opacity: 0.32;
  cursor: default;
}

.shop-page-gap {
  min-width: 20px;
  color: rgba(205, 217, 235, 0.45);
  text-align: center;
}

@media (max-width: 1080px) {
  .shop-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .shop-toolbar-compact {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px !important;
    border: 1px solid rgba(126, 177, 221, 0.14) !important;
    background: rgba(7, 12, 21, 0.94) !important;
  }

  .shop-catalog-panel {
    padding: 16px;
    border-radius: 22px;
  }

  .shop-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .shop-page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 11px;
  }
}

@media (max-width: 520px) {
  .shop-toolbar-compact {
    grid-template-columns: 1fr;
  }

  .shop-toolbar-compact .shop-balance-inline {
    display: none !important;
  }

  .shop-toolbar-compact .shop-search {
    grid-column: 1;
  }

  .shop-catalog-heading {
    align-items: flex-start;
  }

  .shop-page-grid {
    grid-template-columns: 1fr !important;
  }

  .shop-pagination {
    gap: 5px;
  }

  .shop-page-btn {
    min-width: 36px;
    padding: 0 9px;
    font-size: 12px;
  }
}
/* Compact seasonal and achievement shelves v24. */
.seasonal-drops,
.achievement-skins {
  padding: 16px 18px !important;
  border-radius: 22px !important;
}

.seasonal-head,
.achievement-skins .section-headline {
  align-items: center !important;
}

.seasonal-head h2,
.achievement-skins .section-headline h2 {
  margin: 3px 0 0;
  font-size: clamp(21px, 2.2vw, 27px);
}

.seasonal-head .shop-section-note,
.achievement-skins .shop-section-note {
  margin-top: 4px;
  font-size: 11px;
}

.seasonal-scroll,
.achievement-grid {
  margin-top: 12px !important;
  gap: 12px !important;
}

.seasonal-scroll {
  grid-auto-columns: minmax(230px, 1fr) !important;
}

.seasonal-card,
.achievement-card {
  min-height: 0 !important;
  padding: 14px !important;
  gap: 8px !important;
  border-radius: 17px !important;
}

.seasonal-card h3,
.achievement-card h3 {
  margin: 0;
  font-size: 16px;
}

.seasonal-card > p,
.achievement-card > p {
  margin: 0;
  color: rgba(213, 224, 240, 0.68);
  font-size: 12px;
  line-height: 1.4;
}

.seasonal-card > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.seasonal-items {
  display: none !important;
}

.seasonal-card-head {
  font-size: 11px !important;
}

.seasonal-label {
  font-size: 9px !important;
  letter-spacing: 0.2em !important;
}

.seasonal-footer {
  margin-top: 2px;
}

.seasonal-timer {
  font-size: 12px !important;
}

.seasonal-footer .shop-btn,
.achievement-card .shop-mini-btn {
  min-height: 36px !important;
  padding: 0 13px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
}

.achievement-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 760px) {
  .seasonal-drops,
  .achievement-skins {
    padding: 14px !important;
  }

  .achievement-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Shop v25: clear background, denser catalog, compact previews and animated daily case. */
body:has(.shop-page) {
  background:
    linear-gradient(180deg, rgba(3, 7, 14, 0.24), rgba(3, 7, 14, 0.48)),
    url('../1343590.jpg') center / cover no-repeat fixed,
    #050914 !important;
}

body:has(.shop-page)::before,
body:has(.shop-page)::after,
.shop-page,
.shop-shell,
.shop-hero-compact,
.shop-toolbar-compact,
.shop-catalog-panel,
.shop-item,
.shop-case-widget {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}

.shop-page {
  background: linear-gradient(180deg, rgba(5, 12, 22, 0.08), rgba(2, 6, 12, 0.28)) !important;
}

.seasonal-drops { display: none !important; }

@media (min-width: 761px) {
  .shop-hero-compact { padding: 10px 14px !important; }
  .shop-case-widget {
    grid-template-columns: 82px minmax(0, 1fr) 122px !important;
    gap: 14px !important;
    min-height: 104px !important;
    padding: 6px 8px !important;
  }
  .shop-case-art { width: 82px !important; height: 82px !important; min-width: 82px !important; }
  .shop-case-title { font-size: clamp(25px, 2.4vw, 34px) !important; }
}

.shop-case-dialog {
  width: min(560px, calc(100vw - 28px)) !important;
  padding: 20px !important;
  border-radius: 20px !important;
}

.shop-case-modal-art {
  width: 116px !important;
  height: 90px !important;
  margin: 0 auto 10px !important;
  border-radius: 16px !important;
}

.shop-case-modal-art img { object-fit: contain !important; }
.shop-case-modal-copy h2 { font-size: clamp(24px, 4vw, 34px) !important; }
.shop-case-modal-copy p:not(.shop-case-kicker) { margin-top: 7px !important; font-size: 13px !important; }

.shop-case-reel {
  position: relative;
  width: 100%;
  height: 76px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(91, 216, 255, 0.22);
  border-radius: 16px;
  background: rgba(4, 10, 19, 0.88);
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.52);
}

.shop-case-reel::before,
.shop-case-reel::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 3;
  width: 24%;
  pointer-events: none;
  background: linear-gradient(90deg, #07111d, transparent);
}

.shop-case-reel::after { left: auto; right: 0; transform: scaleX(-1); }

.shop-case-reel-pointer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 4;
  width: 2px;
  transform: translateX(-50%);
  background: #61e3ff;
  box-shadow: 0 0 14px rgba(97, 227, 255, 0.85);
}

.shop-case-reel-track {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 8px;
  transform: translate3d(-18%, 0, 0);
  will-change: transform;
}

.shop-case-reel-track span {
  width: 126px;
  min-width: 126px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 6px;
  border: 1px solid rgba(130, 185, 218, 0.18);
  border-radius: 12px;
  color: #dff6ff;
  background: linear-gradient(145deg, rgba(21, 48, 70, 0.92), rgba(10, 20, 34, 0.96));
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
  text-align: center;
}

.shop-case-reel.is-spinning .shop-case-reel-track {
  animation: shopCaseSpin 1.1s cubic-bezier(.12,.68,.16,1) both;
}

.shop-case-reel.is-complete { border-color: rgba(68, 235, 174, 0.50); }

@keyframes shopCaseSpin {
  0% { transform: translate3d(-4%, 0, 0); }
  58% { transform: translate3d(-62%, 0, 0); }
  100% { transform: translate3d(-48%, 0, 0); }
}

.shop-case-result { margin-top: 10px !important; padding: 10px !important; border-radius: 12px !important; }
.shop-case-open-btn { height: 46px !important; margin-top: 10px !important; border-radius: 14px !important; }

@media (max-width: 640px) {
  .shop-case-dialog { max-height: calc(100dvh - 20px) !important; padding: 16px 14px !important; }
  .shop-case-modal-art { width: 86px !important; height: 68px !important; }
  .shop-case-reel { height: 66px; }
  .shop-case-reel-track span { width: 106px; min-width: 106px; height: 50px; font-size: 10px; }

  .shop-try-dialog {
    width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 12px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    border: 0 !important;
    border-radius: 0 !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    overflow: hidden !important;
  }
  .shop-try-head { padding: 0 0 10px !important; }
  .shop-try-head span { display: none !important; }
  .shop-try-head h2 { font-size: 22px !important; }
  .shop-try-content {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    min-height: 0 !important;
    overflow-y: auto !important;
  }
  .shop-try-profile-card { min-height: 0 !important; padding: 14px !important; }
  .shop-try-live-demo { display: none !important; }
  .shop-try-profile-main { padding: 8px 0 !important; }
  .shop-try-avatar { width: 96px !important; height: 96px !important; }
  .shop-try-info { display: block !important; }
  .shop-try-info-card { padding: 13px !important; }
  .shop-try-info-card.muted { display: none !important; }
  .shop-try-info-card p { margin-bottom: 8px !important; }
  .shop-try-actions {
    position: static !important;
    display: grid !important;
    grid-template-columns: 1fr 1.35fr !important;
    gap: 8px !important;
    padding: 10px 0 0 !important;
    background: #07101b !important;
  }
  .shop-try-actions .shop-btn { min-height: 48px !important; }
}

/* Shop v26: compact daily drop and one-pass hardware-accelerated reel. */
html body .shop-page .shop-hero-compact {
  width: min(100%, 1080px) !important;
  margin: 0 auto 16px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body .shop-page .shop-case-widget {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 68px minmax(0, 1fr) 132px !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  min-height: 88px !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(99, 210, 249, 0.24) !important;
  border-radius: 18px !important;
  background: rgba(6, 14, 25, 0.96) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  overflow: hidden !important;
}

html body .shop-page .shop-case-widget::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 3px !important;
  background: linear-gradient(180deg, #55ddff, #75f0c1) !important;
}

html body .shop-page .shop-case-art {
  width: 68px !important;
  height: 68px !important;
  min-width: 68px !important;
  padding: 7px !important;
  border: 1px solid rgba(105, 215, 250, 0.18) !important;
  border-radius: 15px !important;
  background: rgba(9, 24, 39, 0.92) !important;
}

html body .shop-page .shop-case-art::before { display: none !important; }
html body .shop-page .shop-case-art img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transform: none !important;
}

html body .shop-page .shop-case-copy { min-width: 0 !important; }
html body .shop-page .shop-case-kicker {
  margin: 0 0 4px !important;
  color: #78dfff !important;
  font-size: 10px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

html body .shop-page .shop-case-title {
  margin: 0 0 7px !important;
  color: #f3f8ff !important;
  font-size: 23px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

html body .shop-page .shop-case-meta { gap: 6px !important; }
html body .shop-page .shop-case-meta span {
  min-height: 25px !important;
  padding: 0 9px !important;
  border-radius: 9px !important;
  font-size: 10px !important;
}

html body .shop-page .shop-case-action {
  justify-self: end !important;
  width: 132px !important;
  min-width: 132px !important;
  height: 44px !important;
  border-radius: 13px !important;
  color: #05121c !important;
  background: linear-gradient(135deg, #60d8ff, #98a5ff) !important;
  box-shadow: 0 10px 24px rgba(70, 191, 238, 0.22) !important;
}

.shop-case-reel {
  contain: layout paint !important;
  isolation: isolate !important;
}

.shop-case-reel-track {
  transform: translate3d(0, 0, 0);
  animation: none !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.shop-case-reel.is-spinning .shop-case-reel-track,
.shop-case-reel.is-rolling .shop-case-reel-track { animation: none !important; }

.shop-case-reel-track span {
  flex: 0 0 126px !important;
  width: 126px !important;
  min-width: 126px !important;
  letter-spacing: 0 !important;
  transform: translateZ(0);
}

.shop-case-reel.is-complete .shop-case-reel-track span.is-winner {
  border-color: rgba(103, 241, 188, 0.70) !important;
  color: #ecfff8 !important;
  background: linear-gradient(145deg, rgba(21, 80, 67, 0.98), rgba(8, 31, 36, 0.98)) !important;
  box-shadow: inset 0 0 0 1px rgba(103, 241, 188, 0.18) !important;
}

@media (max-width: 640px) {
  html body .shop-page .shop-hero-compact { margin-bottom: 10px !important; }
  html body .shop-page .shop-case-widget {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 10px !important;
    min-height: 0 !important;
    padding: 10px !important;
    border-radius: 16px !important;
  }
  html body .shop-page .shop-case-art {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    border-radius: 13px !important;
  }
  html body .shop-page .shop-case-title { margin-bottom: 6px !important; font-size: 19px !important; }
  html body .shop-page .shop-case-meta span { min-height: 23px !important; padding: 0 7px !important; font-size: 9px !important; }
  html body .shop-page .shop-case-action {
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
  }
  .shop-case-reel-track span {
    flex-basis: 106px !important;
    width: 106px !important;
    min-width: 106px !important;
  }
}

/* ─── v43: Restore Wallpaper, Remove Empty Space ─── */
html body.shop-body,
html body:has(.shop-page),
body.shop-body,
body.shop-page-active {
  /* Restore the original background wallpaper (1343590.jpg) */
  background-color: transparent !important;
  /* Remove the padding-bottom that creates empty scrollable space at the bottom */
  padding-bottom: 0 !important;
}

html .shop-page,
body.shop-body .shop-page {
  background: transparent !important;
  min-height: 0 !important;
  height: auto !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-top: clamp(16px, 3vw, 28px) !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  overflow: visible !important;
}

html .shop-shell {
  min-height: 0 !important;
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  gap: 24px !important;
}

.achievement-skins {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.shop-category-section,
.shop-counterstrike-banner,
.shop-footer {
  display: none !important;
}

/* Ensure catalog items are visible immediately */
#shop-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 16px !important;
}

#shop-grid:empty {
  display: none !important;
}

/* Idle dialogs must stay outside the document flow. */
html body.shop-body > .shop-case-modal,
html body.shop-body > .shop-try-modal {
  position: fixed !important;
  inset: 0 !important;
  height: 100dvh !important;
  min-height: 0 !important;
  margin: 0 !important;
  z-index: 1300 !important;
}

html body.shop-body > .shop-case-modal:not(.active),
html body.shop-body > .shop-try-modal:not(.open) {
  visibility: hidden !important;
  pointer-events: none !important;
}

html body.shop-body > .shop-case-modal.active,
html body.shop-body > .shop-try-modal.open {
  visibility: visible !important;
}
