/* ==========================================================
   MatchMate - Valorant Store (daily skins, bundles, night market)
   ========================================================== */

:root {
  --val-bg: #0b111e;
  --val-card-bg: rgba(18, 26, 43, 0.85);
  --val-card-border: rgba(255, 70, 85, 0.2);
  --val-red: #ff4655;
  --val-red-glow: rgba(255, 70, 85, 0.4);
  --val-cyan: #00f5d4;
  --val-gold: #f5b041;
  --val-text-main: #ece8e1;
  --val-text-muted: #8b97a8;
  --val-vp: #ffd700;
  --val-rad: #ff4655;
  --val-kc: #63d9ff;
}

/* Flex/grid display rules would otherwise win over the hidden attribute. */
.val-container [hidden],
.val-modal-overlay [hidden] { display: none !important; }

body.valorant-store-page {
  background-color: var(--val-bg);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 70, 85, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 245, 212, 0.06) 0%, transparent 40%),
    linear-gradient(to bottom, #070b13 0%, #0c121e 100%);
  background-attachment: fixed;
  color: var(--val-text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.val-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 120px;
}

/* ---------------------------------------------------------- page header */
.val-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-bottom: 18px;
}

.val-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.val-icon-box {
  width: 46px;
  height: 46px;
  flex: none;
  background: linear-gradient(135deg, #ff4655 0%, #b82b37 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 70, 85, 0.35);
}

.val-icon-box svg { width: 26px; height: 26px; fill: #fff; }

.val-title-wrap h1 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0 0 4px 0;
  text-transform: uppercase;
  color: #fff;
}

.val-title-wrap p { margin: 0; font-size: 13px; color: var(--val-text-muted); }

.val-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------- account */
.val-id-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.val-account {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(8, 14, 26, 0.8);
  border: 1px solid rgba(0, 245, 212, 0.25);
  border-radius: 30px;
  padding: 6px 16px 6px 6px;
}

.val-account-card {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.val-account-nick { font-size: 13px; font-weight: 800; color: #fff; line-height: 1.2; }
.val-account-sub { font-size: 11px; color: var(--val-cyan); font-weight: 600; }

/* -------------------------------------------------------------- wallet */
.val-wallet {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(8, 14, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 8px 18px;
}

.val-wallet-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

.val-cur { font-size: 11px; font-weight: 700; }
.val-cur-vp { color: var(--val-vp); }
.val-cur-rp { color: var(--val-rad); }
.val-cur-kc { color: var(--val-kc); }

.val-vp-icon,
.val-rad-icon,
.val-kc-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex: none;
}

.val-vp-icon { background: var(--val-vp); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); }
.val-rad-icon { background: var(--val-rad); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
.val-kc-icon { background: var(--val-kc); clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); }
.val-vp-lg { width: 22px; height: 22px; }

/* ------------------------------------------------------- connect button */
.btn-val-connect {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff4655 0%, #d82b3a 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(255, 70, 85, 0.35);
}

.btn-val-connect:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 70, 85, 0.5);
}

.val-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-val-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-val-icon:hover { background: rgba(0, 245, 212, 0.16); border-color: var(--val-cyan); }
.btn-val-icon:disabled { opacity: 0.6; cursor: default; }
.btn-val-code { border-color: rgba(90, 212, 255, 0.28); }
.btn-val-code:hover { color: #fff; }

/* This page carries its own navigation; the app's bottom bar only gets in the way. */
body.valorant-store-page .bottom-nav { display: none !important; }

/* ---------------------------------------------------------------- tabs */
.val-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.val-tabs::-webkit-scrollbar { display: none; }

.val-tab {
  flex: none;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--val-text-muted);
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.val-tab:hover { color: #fff; border-color: rgba(255, 70, 85, 0.4); }

.val-tab.is-active {
  background: var(--val-red);
  border-color: var(--val-red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 70, 85, 0.3);
}

.val-tab-link { display: inline-flex; align-items: center; }

/* -------------------------------------------------------- timer banner */
.val-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: linear-gradient(90deg, rgba(255, 70, 85, 0.12) 0%, rgba(18, 26, 43, 0.6) 100%);
  border-left: 4px solid var(--val-red);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 22px;
}

.val-banner-loadout {
  background: linear-gradient(90deg, rgba(0, 245, 212, 0.12) 0%, rgba(18, 26, 43, 0.6) 100%);
  border-left-color: var(--val-cyan);
}

.val-banner-inventory {
  background: linear-gradient(90deg, rgba(245, 176, 65, 0.12) 0%, rgba(18, 26, 43, 0.6) 100%);
  border-left-color: var(--val-gold);
}

.val-skin-owned {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.val-banner-night {
  background: linear-gradient(90deg, rgba(0, 245, 212, 0.12) 0%, rgba(18, 26, 43, 0.6) 100%);
  border-left-color: var(--val-cyan);
}

.val-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}

.val-timer {
  font-family: 'Roboto Mono', monospace;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 70, 85, 0.3);
  color: var(--val-cyan);
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
}

/* ------------------------------------------------- collection filters */
.val-filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.val-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.val-filter-row::-webkit-scrollbar { display: none; }

.val-fchip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--val-text-muted);
  border-radius: 9px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
}

.val-fchip:hover { color: #fff; border-color: rgba(255, 255, 255, 0.2); }

.val-fchip-n {
  font-size: 11px;
  font-weight: 800;
  color: var(--val-text-muted);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 1px 5px;
}

.val-fchip.is-active {
  background: rgba(255, 70, 85, 0.16);
  border-color: var(--val-red);
  color: #fff;
}

.val-fchip.is-active .val-fchip-n { background: rgba(255, 70, 85, 0.3); color: #fff; }

/* Rarity chips carry their own tier colour. */
.val-fchip-tier { color: var(--tier, var(--val-text-muted)); }

.val-fchip-ico {
  width: 15px;
  height: 15px;
  object-fit: contain;
  flex: none;
}

.val-fchip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tier, currentColor);
  flex: none;
}

.val-fchip-tier.is-active {
  background: color-mix(in srgb, var(--tier, #ffffff) 20%, transparent);
  border-color: var(--tier, var(--val-red));
  color: var(--tier, #fff);
}

.val-filter-input {
  width: 100%;
  background: rgba(8, 14, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s;
}

.val-filter-input::placeholder { color: rgba(139, 151, 168, 0.75); font-weight: 500; }
.val-filter-input:focus { border-color: var(--val-cyan); }

/* --------------------------------------------------------- skins grid */
.val-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.val-empty-state {
  grid-column: 1 / -1;
  background: var(--val-card-bg);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 44px 24px;
  text-align: center;
}

.val-empty-title { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 8px; }

.val-empty-text {
  font-size: 13px;
  color: var(--val-text-muted);
  line-height: 1.5;
  max-width: 460px;
  margin: 0 auto 18px;
}

.val-skin-card {
  position: relative;
  background: var(--val-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--tier, rgba(255, 255, 255, 0.1));
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.val-skin-card:hover {
  transform: translateY(-6px);
  border-color: var(--tier, var(--val-red));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 22px color-mix(in srgb, var(--tier, #ff4655) 35%, transparent);
}

.val-skin-preview {
  position: relative;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--tier, #ffffff) 16%, transparent) 0%, transparent 70%),
    radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
}

.val-skin-img {
  max-width: 92%;
  max-height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.6));
  transition: transform 0.35s ease;
}

.val-skin-card:hover .val-skin-img { transform: scale(1.08) rotate(-2deg); }

.val-skin-noimg {
  font-size: 12px;
  color: var(--val-text-muted);
}

/* ---------------------------------------------------------- tier badge */
.val-tier-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--tier, #fff);
  background: color-mix(in srgb, var(--tier, #ffffff) 18%, rgba(4, 8, 16, 0.85));
  border: 1px solid color-mix(in srgb, var(--tier, #ffffff) 55%, transparent);
  backdrop-filter: blur(4px);
}

.val-tier-badge img { width: 15px; height: 15px; object-fit: contain; }
.val-tier-name { line-height: 1; }

/* ---------------------------------------------------------- card body */
.val-skin-info {
  padding: 14px 16px 16px;
  background: rgba(10, 16, 28, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.val-weapon-type {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--val-text-muted);
  margin-bottom: 4px;
}

.val-skin-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.val-skin-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.val-skin-price {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--val-vp);
  flex-wrap: wrap;
}

.val-price-old {
  color: var(--val-text-muted);
  font-size: 12px;
  font-weight: 600;
}

.val-discount {
  background: var(--val-cyan);
  color: #05221d;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 800;
}

.val-btn-view {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 8px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.val-btn-view:hover { background: var(--val-red); border-color: var(--val-red); }

.val-btn-primary {
  background: var(--val-red);
  border-color: var(--val-red);
  padding: 10px 18px;
  font-size: 13px;
}

/* ------------------------------------------------------------- bundles */
.val-bundle {
  background: var(--val-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 26px;
}

.val-bundle-art {
  position: relative;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.val-bundle-overlay {
  width: 100%;
  padding: 26px;
  background: linear-gradient(to top, rgba(4, 8, 16, 0.95) 10%, rgba(4, 8, 16, 0.55) 55%, transparent 100%);
}

.val-bundle-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--val-cyan);
  margin-bottom: 6px;
}

.val-bundle-name {
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px 0;
  line-height: 1.1;
}

.val-bundle-desc {
  font-size: 13px;
  color: rgba(236, 232, 225, 0.8);
  max-width: 560px;
  line-height: 1.5;
  margin: 0 0 14px 0;
}

.val-bundle-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.val-bundle-price {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 900;
  color: var(--val-vp);
}

.val-bundle-timer {
  font-family: 'Roboto Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--val-cyan);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(0, 245, 212, 0.25);
  border-radius: 8px;
  padding: 6px 12px;
}

.val-bundle-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  padding: 18px;
}

.val-bundle-item {
  background: rgba(10, 16, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 2px solid var(--tier, rgba(255, 255, 255, 0.1));
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s;
}

.val-bundle-item:hover {
  transform: translateY(-3px);
  border-color: var(--tier, var(--val-red));
}

.val-bundle-item img {
  width: 100%;
  height: 58px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.6));
}

.val-bundle-item-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.val-bundle-item-price {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  color: var(--val-vp);
}

/* ---------------------------------------------------------- accessories */
.val-acc-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.val-acc-card { cursor: default; }
.val-acc-card:hover { transform: none; }

.val-acc-preview { height: 150px; }

.val-acc-img {
  max-width: 78%;
  max-height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.6));
}

.val-acc-title-text {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  padding: 0 12px;
  line-height: 1.35;
}

.val-acc-price { color: var(--val-kc); }

.val-acc-qty {
  font-size: 12px;
  font-weight: 800;
  color: var(--val-text-muted);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 3px 8px;
}

/* ---------------------------------------------------------- info card */
.val-info-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.val-info-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; color: #fff; }
.val-info-text { font-size: 13px; color: var(--val-text-muted); }
.val-info-actions { display: flex; gap: 10px; }

/* --------------------------------------------------------- disclaimer */
.val-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 70, 85, 0.07);
  border: 1px solid rgba(255, 70, 85, 0.22);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--val-text-muted);
}

.val-disclaimer strong { color: var(--val-text-main); }

.val-disclaimer-mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--val-red);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.val-disclaimer-modal {
  margin-top: 14px;
  text-align: left;
  font-size: 11.5px;
}

/* Shown when the saved snapshot predates the catalogue rewrite. */
.val-stale-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(245, 176, 65, 0.1);
  border: 1px solid rgba(245, 176, 65, 0.35);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--val-text-main);
}

.val-stale-notice .val-disclaimer-mark { background: var(--val-gold); color: #241803; }

.val-stale-btn {
  background: var(--val-gold);
  border: none;
  color: #241803;
  border-radius: 7px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.val-stale-btn:hover { filter: brightness(1.1); }

.val-stale-link {
  color: var(--val-gold);
  font-weight: 800;
  text-decoration: underline;
}

/* -------------------------------------------------------------- modals */
.val-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 16px;
  overflow-y: auto;
}

.val-modal-overlay.active { opacity: 1; pointer-events: auto; }

/* theme.css pins every direct child of body with
   `body:not(.home):not(.aimlab-body) > :where(...)`, which outranks the class
   above and drops the overlays into the page flow. Re-assert positioning only,
   so the opacity/pointer-events pair keeps working. */
body.valorant-store-page > .val-modal-overlay {
  position: fixed;
  inset: 0;
  /* The app header is fixed at z-index 99999 on phones. */
  z-index: 100000;
}

.val-modal-card {
  background: #111827;
  border: 1px solid rgba(255, 70, 85, 0.3);
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 28px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 70, 85, 0.2);
  text-align: center;
  max-height: 92vh;
  overflow-y: auto;
}

.val-modal-title { font-size: 20px; font-weight: 800; margin: 0 0 6px 0; text-transform: uppercase; }
.val-modal-sub { font-size: 13px; color: var(--val-text-muted); }

.val-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #aaa;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2;
}

.val-modal-close:hover { background: var(--val-red); color: #fff; }

/* ------------------------------------------------------------ QR modal */
.val-qr-box {
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  display: inline-block;
  margin: 18px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  position: relative;
}

.val-qr-box img { display: block; width: 200px; height: 200px; }

.val-qr-loader {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  font-size: 13px;
}

.val-qr-timer { font-size: 14px; font-weight: 700; color: var(--val-cyan); margin-bottom: 16px; }
.val-qr-status { font-size: 12px; color: var(--val-cyan); font-weight: normal; margin-top: 4px; }

.val-qr-instruction {
  font-size: 13px;
  color: var(--val-text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.btn-open-riotmobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #ff4655;
  color: #fff;
  text-decoration: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s;
  margin-bottom: 12px;
}

.btn-open-riotmobile:hover { background: #e03241; }

.val-qr-alt {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: var(--val-text-muted);
}

/* ------------------------------------------------------- inspect modal */
.val-inspect-card { max-width: 620px; text-align: left; }

.val-inspect-head { margin-bottom: 14px; }

.val-inspect-head .val-tier-badge {
  position: static;
  display: inline-flex;
  margin-bottom: 10px;
}

.val-inspect-weapon {
  font-size: 12px;
  font-weight: 700;
  color: var(--val-text-muted);
  text-transform: uppercase;
}

.val-inspect-name { font-size: 23px; font-weight: 800; margin: 4px 0 0 0; color: #fff; }

.val-inspect-stage {
  background: radial-gradient(circle, rgba(255, 70, 85, 0.12) 0%, transparent 70%);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  margin-bottom: 18px;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.val-inspect-video {
  width: 100%;
  max-height: 260px;
  border-radius: 12px;
  background: #000;
}

.val-inspect-img {
  max-width: 100%;
  max-height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.8));
}

.val-inspect-row { margin-bottom: 16px; }

.val-inspect-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
  color: var(--val-text-muted);
  margin-bottom: 8px;
}

.val-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.val-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.val-chip:hover { border-color: var(--val-red); }
.val-chip.is-active { background: var(--val-red); border-color: var(--val-red); }

.val-swatch-row { display: flex; flex-wrap: wrap; gap: 10px; }

.val-swatch {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s;
}

.val-swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.val-swatch-blank { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #2a3344, #47536b); }
.val-swatch:hover { transform: scale(1.06); }
.val-swatch.is-active { border-color: var(--val-cyan); box-shadow: 0 0 12px rgba(0, 245, 212, 0.45); }

.val-inspect-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.val-inspect-price {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 900;
  color: var(--val-vp);
}

.val-inspect-note { font-size: 12px; color: var(--val-text-muted); }

/* ------------------------------------------------------------- mobile */
/* Tabs stay reachable while scrolling a long store. */
.val-tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(to bottom, var(--val-bg) 60%, rgba(11, 17, 30, 0));
  padding-top: 8px;
}

@media (max-width: 720px) {
  /* Sits right under the app header; no bottom bar to reserve space for. */
  .val-container { padding: 0 12px 28px; }

  /* Store actions: two icon buttons and a wide refresh button in one row. */
  .val-header-actions { gap: 8px; }

  .btn-val-connect,
  .btn-val-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 13px;
    justify-content: center;
    box-shadow: none;
  }

  .btn-val-connect svg,
  .btn-val-icon svg { width: 20px; height: 20px; }

  .btn-val-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
  }

  .btn-val-connect:hover { transform: none; }
  .btn-val-label { display: none; }

  /* Riot Mobile reads as a plain vertical list: one big card per row. */
  .val-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .val-skin-preview { height: 168px; }
  .val-skin-img { max-height: 132px; }
  .val-skin-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
  .val-skin-price { font-size: 16px; }
  /* Tapping the card opens the inspector, so only that button is redundant. */
  .val-skin-card .val-btn-view { display: none; }

  .val-acc-grid { grid-template-columns: minmax(0, 1fr); }
  .val-acc-preview { height: 150px; }
  .val-acc-img { max-height: 108px; }

  /* Inspect takes the whole screen; the QR sheet stays anchored to the bottom. */
  #skinDetailModal { align-items: stretch; }

  /* A column that fills the screen: head on top, video as the hero, the rest
     stacked under it and the price pinned to the bottom. No inner scrolling. */
  #skinDetailModal .val-modal-card {
    max-height: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
  }

  #skinDetailModal .val-inspect-head {
    flex: none;
    margin: 0;
    /* Keep the title clear of the close button. */
    padding-right: 54px;
  }

  #skinDetailModal .val-inspect-head .val-tier-badge { margin-bottom: 8px; }
  #skinDetailModal .val-inspect-name { font-size: 20px; }

  /* Full-bleed 16:9 frame, so the clip fills it edge to edge without cropping. */
  #skinDetailModal .val-inspect-stage {
    flex: none;
    margin: 0 -16px;
    padding: 0;
    border-radius: 0;
    aspect-ratio: 16 / 9;
    min-height: 0;
    overflow: hidden;
  }

  #skinDetailModal .val-inspect-video,
  #skinDetailModal .val-inspect-img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
    object-fit: cover;
  }

  /* A still image should not be cropped the way footage can be. */
  #skinDetailModal .val-inspect-img { object-fit: contain; padding: 10px; }

  #skinDetailModal .val-inspect-row { flex: none; margin: 0; }
  #skinDetailModal .val-inspect-foot { flex: none; margin-top: auto; padding-top: 14px; }

  /* Pinned to the viewport: an absolute button scrolls away with the content. */
  #skinDetailModal .val-modal-close {
    position: fixed;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 21px;
    background: rgba(8, 12, 20, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    z-index: 3;
  }


  /* Header: title, then one compact row of account + wallet, then the action. */
  .val-header {
    padding: 12px;
    gap: 10px;
    border-radius: 14px;
    margin-bottom: 12px;
  }

  .val-title-group { gap: 10px; width: 100%; }
  .val-icon-box { width: 38px; height: 38px; border-radius: 10px; }
  .val-icon-box svg { width: 22px; height: 22px; }
  /* Must stay on one line next to the two icon buttons. */
  .val-title-wrap h1 {
    font-size: 14px;
    letter-spacing: 0.2px;
    margin-bottom: 0;
    white-space: nowrap;
  }
  /* The account chip right below already shows nickname and sync state. */
  .val-title-wrap p { display: none; }

  .val-top-actions { width: 100%; gap: 8px; }

  /* Riot ID and the balance share one row. */
  .val-id-row {
    width: 100%;
    align-items: stretch;
    gap: 8px;
  }

  .val-account {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 38%;
    padding: 5px 8px 5px 5px;
    gap: 6px;
    border-radius: 12px;
  }

  .val-account-card { width: 30px; height: 30px; }
  .val-account-meta { min-width: 0; }

  .val-account-nick {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .val-account-sub { font-size: 10px; }

  .val-wallet {
    flex: 1 1 0;
    min-width: 0;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow: hidden;
    padding: 6px 7px;
    gap: 3px;
    border-radius: 12px;
  }

  /* Amounts must never break onto a second line ("3 120" -> "3" / "120"). */
  .val-wallet-item {
    font-size: 11px;
    gap: 2px;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .val-cur { font-size: 8px; }

  .val-vp-icon,
  .val-rad-icon,
  .val-kc-icon { width: 11px; height: 11px; }

  .btn-val-connect {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 12px;
    font-size: 13px;
  }

  .val-filters { gap: 8px; margin-bottom: 14px; }
  .val-filter-row { gap: 6px; }
  .val-fchip { padding: 6px 11px; font-size: 11.5px; gap: 5px; }
  .val-fchip-n { font-size: 10px; padding: 1px 4px; }
  .val-filter-input { padding: 9px 12px; font-size: 12.5px; }

  .val-tabs { gap: 6px; margin-bottom: 12px; }
  .val-tab { padding: 8px 14px; font-size: 12px; border-radius: 9px; }

  .val-banner {
    padding: 10px 12px;
    gap: 8px;
    margin-bottom: 14px;
    border-radius: 10px;
  }

  .val-banner-left { font-size: 12px; gap: 8px; }
  .val-banner-left svg { width: 16px; height: 16px; flex: none; }
  .val-timer { font-size: 14px; padding: 4px 10px; }

  .val-skin-card { border-radius: 14px; margin-bottom: 0; }
  .val-skin-info { padding: 12px 14px 14px; gap: 8px; }
  .val-weapon-type { font-size: 10px; margin-bottom: 3px; }
  .val-skin-name { font-size: 15px; }

  .val-tier-badge { top: 9px; right: 9px; font-size: 10px; padding: 3px 8px 3px 5px; gap: 4px; }
  .val-tier-badge img { width: 13px; height: 13px; }

  /* Bundle art is a wide banner; give it a workable aspect on a phone. */
  .val-bundle { border-radius: 14px; margin-bottom: 18px; }
  .val-bundle-art { min-height: 168px; }
  .val-bundle-overlay { padding: 14px; }
  .val-bundle-kicker { font-size: 10px; }
  .val-bundle-name { font-size: 19px; }
  .val-bundle-desc { font-size: 12px; margin-bottom: 10px; }
  .val-bundle-price { font-size: 18px; }
  .val-bundle-timer { font-size: 11px; padding: 5px 9px; }
  .val-bundle-items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; }
  .val-bundle-item { padding: 8px; border-radius: 10px; }
  .val-bundle-item img { height: 42px; margin-bottom: 6px; }
  .val-bundle-item-name { font-size: 10px; margin-bottom: 4px; }
  .val-bundle-item-price { font-size: 10px; }

  .val-disclaimer { padding: 12px 14px; font-size: 11.5px; gap: 10px; }

  /* Modals become near full-screen sheets so nothing is cut off. */
  .val-modal-overlay { padding: 0; align-items: flex-end; }

  .val-modal-card {
    max-width: 100%;
    max-height: 92vh;
    padding: 20px 16px 24px;
    border-radius: 18px 18px 0 0;
    border-bottom: none;
  }

  .val-modal-title { font-size: 17px; }
  .val-modal-sub { font-size: 12px; }
  .val-qr-box { padding: 12px; margin: 14px 0; }
  .val-qr-box img { width: 168px; height: 168px; }
  .val-qr-instruction { font-size: 12px; margin-bottom: 14px; }

  .val-inspect-name { font-size: 18px; }
  .val-swatch { width: 38px; height: 38px; }
  .val-chip { padding: 6px 11px; font-size: 11px; }
  .val-inspect-price { font-size: 19px; }
  .val-inspect-foot { gap: 8px; }
  .val-inspect-note { font-size: 11px; }
}

/* Very narrow phones: the bundle contents need one column less. */
@media (max-width: 340px) {
  .val-skin-preview { height: 148px; }
  .val-skin-img { max-height: 116px; }
  .val-bundle-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------ store rotation state */
.val-timer.is-updating {
  color: var(--val-gold);
  border-color: rgba(245, 176, 65, 0.45);
  letter-spacing: 0.2px;
  animation: val-pulse 1.2s ease-in-out infinite;
}

@keyframes val-pulse {
  50% { opacity: 0.55; }
}

.val-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 60;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  max-width: calc(100vw - 32px);
  background: rgba(18, 26, 43, 0.96);
  border: 1px solid rgba(0, 245, 212, 0.4);
  color: var(--val-text-main);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transition: opacity 0.25s, transform 0.25s;
}

.val-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------- statistics */
.val-tab-stats { display: inline-flex; align-items: center; gap: 6px; }

.val-banner-stats {
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.14) 0%, rgba(18, 26, 43, 0.6) 100%);
  border-left-color: #a78bfa;
}

.val-stats-updated {
  color: var(--val-text-muted);
  font-size: 13px;
  font-weight: 500;
}

.val-stats-summary {
  display: grid;
  /* Rank takes two cells, so eight cells make two even rows. */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.val-stat {
  background: var(--val-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  min-width: 0;
}

.val-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.val-stat-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--val-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 2px;
}

.val-stat-rank .val-stat-label,
.val-stat-agent .val-stat-label { margin: 0 0 2px; }

.val-stat-sub { font-size: 12px; color: var(--val-text-muted); margin-top: 2px; }

.val-stat-rank,
.val-stat-agent {
  display: flex;
  align-items: center;
  gap: 12px;
}

.val-stat-rank { grid-column: span 2; }
.val-stat-agent > div { min-width: 0; }

.val-stat-rank { border-color: color-mix(in srgb, var(--rank, #8b97a8) 45%, transparent); }
.val-stat-rank .val-stat-value { color: var(--rank, #fff); }
.val-stat-rank img { width: 52px; height: 52px; flex: none; }
.val-stat-agent img { width: 48px; height: 48px; flex: none; border-radius: 10px; background: rgba(0, 0, 0, 0.3); }

.val-match-list { display: flex; flex-direction: column; gap: 10px; }

.val-match {
  --result: var(--val-text-muted);
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1.6fr) 110px 120px repeat(3, 64px) 92px;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 10px 16px 10px 12px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--val-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--result);
  isolation: isolate;
}

/* The map art fades in from the right behind the row. */
.val-match::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg, rgba(18, 26, 43, 0.98) 35%, rgba(18, 26, 43, 0.72)), var(--map, none);
  background-size: cover;
  background-position: center;
}

.val-match.is-win { --result: #2ee6a6; }
.val-match.is-loss { --result: var(--val-red); }
.val-match.is-draw { --result: var(--val-gold); }

.val-match-agent img {
  width: 56px;
  height: 56px;
  display: block;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
}

.val-match-map {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.val-match-meta {
  margin-top: 3px;
  font-size: 12px;
  color: var(--val-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.val-match-mvp {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #241803;
  background: var(--val-gold);
  border-radius: 5px;
  padding: 2px 6px;
}

.val-match-mvp.is-team { background: rgba(245, 176, 65, 0.18); color: var(--val-gold); }

.val-match-score {
  font-family: 'Roboto Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.val-match-outcome {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--result);
}

.val-match-cell { display: flex; flex-direction: column; min-width: 0; }
.val-match-cell b { font-size: 15px; color: #fff; white-space: nowrap; }
.val-match-cell span { font-size: 11px; font-weight: 700; color: var(--val-text-muted); text-transform: uppercase; }

.val-match-rank {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.val-match-rank img { width: 30px; height: 30px; }
.val-match-rr { font-size: 13px; font-weight: 800; white-space: nowrap; }
.val-match-rr.is-up { color: #2ee6a6; }
.val-match-rr.is-down { color: var(--val-red); }

.val-match-skeleton {
  display: block;
  border-left-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(90deg, rgba(18, 26, 43, 0.85) 0%, rgba(40, 52, 76, 0.85) 50%, rgba(18, 26, 43, 0.85) 100%);
  background-size: 200% 100%;
  animation: val-shimmer 1.3s linear infinite;
}

.val-match-skeleton::before { display: none; }

/* первая загрузка матчей из Riot: подпись над скелетоном */
.val-matches-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(18, 26, 43, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #b9c4d6;
  font-size: 14px;
  font-weight: 600;
}
.val-matches-spin {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--val-red, #ff4655);
  animation: val-spin 0.8s linear infinite;
}

@keyframes val-shimmer {
  to { background-position: -200% 0; }
}

/* Narrow screens: agent, map and score on top, the numbers in a row below. */
@media (max-width: 900px) {
  .val-match {
    grid-template-columns: 48px minmax(0, 1fr) repeat(3, auto) auto;
    row-gap: 10px;
    column-gap: 12px;
  }
  .val-match-agent { grid-column: 1; grid-row: 1; }
  .val-match-agent img { width: 48px; height: 48px; }
  .val-match-main { grid-column: 2 / 5; grid-row: 1; }
  .val-match-result { grid-column: 5 / 7; grid-row: 1; text-align: right; }
  .val-match-kda { grid-column: 1 / 3; grid-row: 2; }
  .val-match-cell,
  .val-match-rank { grid-row: 2; }
}

@media (max-width: 640px) {
  .val-stats-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

@media (max-width: 480px) {
  .val-stat { padding: 12px; }
  .val-stat-value { font-size: 19px; }
  .val-match { padding: 10px 12px 10px 10px; column-gap: 10px; }
  .val-match-cell b { font-size: 13px; }
  .val-match-rank img { width: 24px; height: 24px; }
}

/* ==========================================================
   Valorant section: own navbar, sections, linking screen
   ========================================================== */
:root {
  --vnav-h: 68px;
  --val-ink: #0f1923;
  --val-display: 'Oswald', 'Inter', sans-serif;
}

.vnav [hidden],
.vtabbar [hidden] { display: none !important; }

/* The site stylesheet reserves room for its fixed header, which this page does not load. */
body.valorant-store-page { padding-top: 0 !important; }

/* theme.css pins every direct child of body to position:relative; z-index:1,
   which would stop the navbar sticking and the bar and toast floating. */
html body.valorant-store-page > .vnav { position: sticky; z-index: 40; }
html body.valorant-store-page > .val-toast { position: fixed; z-index: 100001; }

/* Six summary tiles: three per row. */
.val-stats-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ------------------------------------------------------------- navbar */
.vnav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--vnav-h);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 14px),
    linear-gradient(90deg, #ff4655 0%, #e8394a 60%, #c92c3c 100%);
  box-shadow: 0 6px 24px rgba(255, 70, 85, 0.28);
}

.vnav-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.vnav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  flex: none;
}

.vnav-logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--val-ink);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}

.vnav-logo svg { width: 24px; height: 24px; fill: #ff4655; }

.vnav-brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--val-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
}

.vnav-brand-text small {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 3px;
}

.vnav-links {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 4px;
}

.vnav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-family: var(--val-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}

.vnav-link svg,
.vtabbar-link svg,
.vnav-back svg,
.val-connect-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vnav-link:hover { color: #fff; background: rgba(15, 25, 35, 0.18); }

.vnav-link.is-active {
  color: #fff;
  background: var(--val-ink);
}

/* Valorant's angled marker under the active section. */
.vnav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 14px;
  height: 7px;
  transform: translateX(-50%);
  background: #ff4655;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.vnav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.vnav-wallet {
  background: rgba(15, 25, 35, 0.72);
  border-color: rgba(15, 25, 35, 0.4);
  padding: 7px 14px;
  gap: 12px;
}

.vnav-wallet .val-wallet-item { font-size: 13px; color: #fff; }

.vnav-account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 4px;
  background: var(--val-ink);
  color: #fff;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% 70%, calc(100% - 10px) 100%, 0 100%);
  min-width: 0;
}

.vnav-account-card {
  width: 38px;
  height: 38px;
  object-fit: cover;
  flex: none;
  background: rgba(255, 255, 255, 0.08);
}

.vnav-account-meta { display: flex; flex-direction: column; min-width: 0; }

.vnav-account-nick {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.vnav-account-sub { font-size: 11px; font-weight: 700; color: #ff8a94; }

.vnav-login {
  background: var(--val-ink);
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-family: var(--val-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 70%, calc(100% - 10px) 100%, 0 100%);
}

.vnav-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 14px 9px 10px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  text-decoration: none;
  font-family: var(--val-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.vnav-back:hover { background: #fff; color: #ff4655; }

/* Sub-tabs stick right under the navbar. */
.val-tabs { top: var(--vnav-h); }

/* ------------------------------------------------------ mobile tab bar */
.vtabbar { display: none; }

/* ------------------------------------------------------------ sections */
.val-container { padding-top: 24px; }

.val-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.val-section-title {
  margin: 0;
  font-family: var(--val-display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}

.val-section-sub { margin: 4px 0 0; font-size: 14px; color: var(--val-text-muted); }

/* --------------------------------------------------------- player hero */
.val-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  min-height: 150px;
  margin-bottom: 18px;
  padding: 24px 26px;
  overflow: hidden;
  border-left: 4px solid #ff4655;
  background:
    linear-gradient(90deg, rgba(15, 25, 35, 0.96) 0%, rgba(15, 25, 35, 0.78) 55%, rgba(15, 25, 35, 0.45) 100%),
    var(--hero-art, none) center / cover,
    var(--val-ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.val-hero-player { display: flex; align-items: center; gap: 18px; min-width: 0; }

.val-hero-card {
  width: 84px;
  height: 84px;
  object-fit: cover;
  flex: none;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.val-hero-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ff4655;
}

.val-hero-nick {
  font-family: var(--val-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.val-hero-sub { font-size: 13px; font-weight: 600; color: var(--val-text-muted); margin-top: 2px; }

.val-hero-rank {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid color-mix(in srgb, var(--rank, #8b97a8) 50%, transparent);
}

.val-hero-rank img { width: 60px; height: 60px; }

.val-hero-rank-name {
  font-family: var(--val-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rank, #fff);
}

/* ------------------------------------------------------ linking screen */
.val-connect { display: flex; justify-content: center; padding: 24px 0 40px; }

.val-connect-card {
  width: 100%;
  max-width: 560px;
  text-align: center;
  padding: 40px 32px 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 70, 85, 0.22) 0%, transparent 60%),
    var(--val-ink);
  border-top: 4px solid #ff4655;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.val-connect-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: #ff4655;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}

.val-connect-logo svg { width: 42px; height: 42px; fill: #fff; }

.val-connect-title {
  margin: 0;
  font-family: var(--val-display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
}

.val-connect-lead { margin: 10px auto 24px; max-width: 420px; font-size: 15px; line-height: 1.5; color: var(--val-text-muted); }

.val-connect-steps {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
  text-align: left;
}

.val-connect-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: var(--val-text-main);
}

.val-connect-steps b {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  background: #ff4655;
  color: #fff;
  font-family: var(--val-display);
  font-size: 16px;
}

.val-connect-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 20px;
  border: none;
  background: #ff4655;
  color: #fff;
  font-family: var(--val-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 70%, calc(100% - 14px) 100%, 0 100%);
  transition: background 0.2s, transform 0.2s;
}

.val-connect-btn:hover { background: #ff5a68; transform: translateY(-2px); }

.val-connect-perks {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 12px;
  color: var(--val-text-muted);
}

.val-connect-perks li::before { content: "✓ "; color: #2ee6a6; font-weight: 800; }

/* Not linked: nothing to navigate to yet. */
body.val-unlinked .vnav-links,
body.val-unlinked .vtabbar { display: none !important; }

/* ------------------------------------------------------------ loading */
.val-boot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 90px 0;
  color: var(--val-text-muted);
  font-size: 14px;
  font-weight: 600;
}

.val-boot-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 70, 85, 0.2);
  border-top-color: #ff4655;
  border-radius: 50%;
  animation: val-spin 0.8s linear infinite;
}

.val-boot.is-error .val-boot-spinner { display: none; }
.val-boot.is-error span::after { content: " Не получилось — обновите страницу."; }

@keyframes val-spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- phones */
.val-wallet-mobile { display: none; }

@media (max-width: 960px) {
  .vnav-wallet { display: none !important; }
  .val-wallet-mobile:not([hidden]) {
    display: flex;
    justify-content: space-around;
    margin-bottom: 14px;
    border-radius: 0;
    border-color: rgba(255, 70, 85, 0.25);
    background: var(--val-ink);
  }
}

@media (max-width: 720px) {
  :root { --vnav-h: 56px; }

  .vnav-inner { gap: 10px; padding: 0 12px; }
  .vnav-links { display: none; }
  .vnav-logo { width: 34px; height: 34px; }
  .vnav-logo svg { width: 20px; height: 20px; }
  .vnav-brand-text { font-size: 18px; }
  .vnav-account { padding-right: 10px; }
  .vnav-account-card { width: 32px; height: 32px; }
  .vnav-account-meta { display: none; }
  .vnav-back { padding: 7px 9px; }
  .vnav-back span { display: none; }
  .vnav-login { padding: 8px 12px; font-size: 13px; }

  html body.valorant-store-page > .vtabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--val-ink);
    border-top: 2px solid #ff4655;
  }

  .vtabbar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 9px 0 8px;
    color: var(--val-text-muted);
    text-decoration: none;
    font-family: var(--val-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
  }

  .vtabbar-link svg { width: 22px; height: 22px; }
  .vtabbar-link.is-active { color: #fff; background: rgba(255, 70, 85, 0.16); }
  .vtabbar-link.is-active svg { stroke: #ff4655; }

  /* Room for the bottom bar. */
  .val-container { padding: 16px 12px calc(96px + env(safe-area-inset-bottom)); }

  .val-section-title { font-size: 26px; }
  .val-section-head .val-header-actions { width: 100%; }
  .val-section-head .btn-val-connect { flex: 1; width: auto; gap: 8px; }
  .val-section-head .btn-val-connect .btn-val-label { display: inline; }

  .val-hero { padding: 18px; min-height: 0; }
  .val-hero-card { width: 60px; height: 60px; }
  .val-hero-nick { font-size: 26px; }
  .val-hero-rank { width: 100%; }
  .val-hero-rank img { width: 46px; height: 46px; }

  .val-connect { padding-top: 8px; }
  .val-connect-card { padding: 30px 18px 26px; }
  .val-connect-title { font-size: 26px; }
  .val-connect-btn { font-size: 16px; letter-spacing: 1px; padding: 15px 14px; }

  .val-stats-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================
   In-game look for the store and the collection (vx-*)
   ========================================================== */
:root {
  --vx-panel: #121c26;
  --vx-line: rgba(236, 232, 225, 0.1);
  --vx-text: #ece8e1;
  --vx-muted: rgba(236, 232, 225, 0.55);
}

/* ------------------------------------------------ sub-tabs: underline */
.val-section .val-tabs {
  position: sticky;
  top: var(--vnav-h);
  z-index: 20;
  display: flex;
  gap: 0;
  margin: 0 0 18px;
  padding: 0;
  background: linear-gradient(to bottom, #070b13 80%, rgba(7, 11, 19, 0));
  border-bottom: 1px solid var(--vx-line);
}

.val-section .val-tab {
  position: relative;
  flex: none;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 14px 20px 12px;
  font-family: var(--val-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--vx-muted);
}

.val-section .val-tab:hover { color: #fff; background: rgba(255, 255, 255, 0.03); border: 0; }

.val-section .val-tab.is-active { color: #fff; background: none; box-shadow: none; }

.val-section .val-tab.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 3px;
  background: #ff4655;
}

/* ------------------------------------------ strips: timers and counts */
.val-section .val-banner {
  background: rgba(15, 25, 35, 0.78);
  border: 1px solid var(--vx-line);
  border-left-width: 3px;
  border-radius: 0;
  padding: 10px 16px;
  margin-bottom: 16px;
  gap: 12px;
}

.val-section .val-banner-left {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(236, 232, 225, 0.78);
}

.val-section .val-banner-left strong { color: #fff; }

.val-section .val-timer {
  background: none;
  border: 0;
  padding: 0;
  font-size: 20px;
  color: #fff;
}

.vx-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(15, 25, 35, 0.85);
  border: 1px solid rgba(236, 232, 225, 0.16);
  color: var(--vx-text);
  font-family: var(--val-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.vx-share:hover { border-color: #ff4655; color: #fff; }
.vx-share svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------------------------------------------------------------- grid */
.val-section .val-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

#skinsGrid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.val-section .val-empty-state {
  border-radius: 0;
  background: rgba(15, 25, 35, 0.82);
  border: 1px dashed rgba(236, 232, 225, 0.16);
}

/* --------------------------------------------------------------- tiles */
.vx-card {
  --tier: #5b6b7c;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(236, 232, 225, 0.08);
  border-bottom: 3px solid var(--tier);
  background:
    radial-gradient(120% 85% at 50% 100%, color-mix(in srgb, var(--tier) 40%, transparent) 0%, transparent 68%),
    linear-gradient(180deg, #1b2733 0%, #111a23 100%);
  color: var(--vx-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: transform 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.vx-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--tier) 65%, transparent);
  filter: brightness(1.08);
}

.vx-card:active { transform: translateY(0) scale(0.99); }
.vx-card:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.vx-card-tier {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  width: 26px;
  height: 26px;
}

.vx-card-kind {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #63d9ff;
}

.vx-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  padding: 30px 18px 6px;
  box-sizing: border-box;
}

.vx-card-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
  transition: transform 0.25s ease;
}

.vx-card:hover .vx-card-media img { transform: scale(1.06) rotate(-2deg); }

.vx-card-noimg { font-size: 12px; color: rgba(236, 232, 225, 0.4); }

.vx-card-title-text {
  font-family: var(--val-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.vx-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding: 12px 14px 14px;
}

.vx-card-text { display: flex; flex-direction: column; min-width: 0; }

.vx-card-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--val-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.6px;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
}

.vx-card-sub {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--vx-muted);
}

.vx-card-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }

.vx-card-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.vx-card-deal { display: flex; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; }
.vx-card-deal s { color: rgba(236, 232, 225, 0.45); }
.vx-card-deal b { padding: 1px 5px; background: #00f5d4; color: #062a24; font-weight: 900; }

.vx-card-owned {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--tier);
  white-space: nowrap;
}

.vx-card-acc.is-card .vx-card-media { padding-top: 34px; }
.vx-card-acc.is-title .vx-card-media { padding: 34px 16px 10px; }

/* Small tiles inside a bundle. */
.vx-card-sm .vx-card-media { height: 112px; padding: 24px 12px 4px; }
.vx-card-sm .vx-card-tier { top: 9px; left: 9px; width: 20px; height: 20px; }
.vx-card-sm .vx-card-foot { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px 12px; }
.vx-card-sm .vx-card-meta { align-items: flex-start; }
.vx-card-sm .vx-card-name { font-size: 14px; }
.vx-card-sm .vx-card-price { font-size: 14px; }

/* ------------------------------------------------------------- bundles */
.vx-bundle {
  margin-bottom: 26px;
  background: var(--vx-panel);
  border: 1px solid rgba(236, 232, 225, 0.08);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.vx-bundle-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  min-height: 300px;
  padding: 28px;
  box-sizing: border-box;
  background:
    linear-gradient(90deg, rgba(15, 25, 35, 0.94) 0%, rgba(15, 25, 35, 0.55) 45%, rgba(15, 25, 35, 0.08) 100%),
    linear-gradient(0deg, rgba(15, 25, 35, 0.9) 0%, rgba(15, 25, 35, 0) 45%),
    var(--art, none) center / cover no-repeat,
    #0f1923;
}

.vx-bundle-info { max-width: 560px; min-width: 0; }

.vx-bundle-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #00f5d4;
}

.vx-bundle-name {
  margin: 6px 0 10px;
  font-family: var(--val-display);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  overflow-wrap: anywhere;
}

.vx-bundle-desc { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(236, 232, 225, 0.82); }

.vx-bundle-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

.vx-bundle-price {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(15, 25, 35, 0.88);
  border: 1px solid rgba(236, 232, 225, 0.16);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.vx-bundle-price .val-vp-icon { width: 20px; height: 20px; }
.vx-bundle-price s { font-size: 14px; font-weight: 600; color: rgba(236, 232, 225, 0.45); }
.vx-bundle-price b { padding: 2px 6px; font-size: 13px; background: #00f5d4; color: #062a24; }

.vx-bundle-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(15, 25, 35, 0.88);
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.vx-bundle-timer svg { width: 16px; height: 16px; fill: none; stroke: #ff4655; stroke-width: 2; stroke-linecap: round; }

.vx-bundle-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  padding: 16px;
}

/* ------------------------------------------------- collection filters */
.val-section .val-filters { gap: 12px; margin-bottom: 18px; }

.vx-cats,
.vx-tiers {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.vx-cats::-webkit-scrollbar,
.vx-tiers::-webkit-scrollbar { display: none; }

.vx-cat {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(15, 25, 35, 0.85);
  border: 1px solid var(--vx-line);
  color: rgba(236, 232, 225, 0.72);
  font-family: var(--val-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.vx-cat span { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 800; color: rgba(236, 232, 225, 0.45); }
.vx-cat:hover { color: #fff; border-color: rgba(255, 70, 85, 0.55); }
.vx-cat.is-active { background: #ff4655; border-color: #ff4655; color: #fff; }
.vx-cat.is-active span { color: rgba(255, 255, 255, 0.85); }

.vx-filter-sub { display: flex; align-items: center; gap: 10px; }

.vx-tierchip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(15, 25, 35, 0.85);
  border: 1px solid var(--vx-line);
  color: rgba(236, 232, 225, 0.72);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.vx-tierchip img { width: 18px; height: 18px; }
.vx-tierchip i { display: inline-block; width: 9px; height: 9px; background: var(--tier); transform: rotate(45deg); }
.vx-tierchip:hover { color: #fff; }

.vx-tierchip.is-active {
  color: #fff;
  border-color: var(--tier, #ece8e1);
  background: color-mix(in srgb, var(--tier, #ece8e1) 20%, rgba(15, 25, 35, 0.9));
}

.vx-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 260px;
  margin-left: auto;
  padding: 0 12px;
  background: rgba(15, 25, 35, 0.85);
  border: 1px solid rgba(236, 232, 225, 0.14);
  cursor: text;
}

.vx-search:focus-within { border-color: #ff4655; }
.vx-search svg { flex: none; width: 16px; height: 16px; fill: none; stroke: rgba(236, 232, 225, 0.5); stroke-width: 2; stroke-linecap: round; }

.vx-search .val-filter-input {
  width: 100%;
  margin: 0;
  padding: 10px 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  color: #fff;
  font-size: 13px;
}

/* ------------------------------------------------ linking screen legal */
.val-connect-legal {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0 0;
  padding: 12px 14px;
  background: rgba(255, 70, 85, 0.08);
  border: 1px solid rgba(255, 70, 85, 0.25);
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  color: rgba(236, 232, 225, 0.65);
}

.val-connect-legal .val-disclaimer-mark { flex: none; }

/* The same notice already sits in the linking card. */
body.val-unlinked .val-container > .val-disclaimer { display: none; }

.val-container > .val-disclaimer { border-radius: 0; }

/* ---------------------------------------------------------------- phones */
@media (max-width: 720px) {
  .val-section .val-tabs { margin: 0 -12px 14px; padding: 0 2px; overflow-x: auto; scrollbar-width: none; }
  .val-section .val-tabs::-webkit-scrollbar { display: none; }
  .val-section .val-tab { flex: 1 0 auto; padding: 13px 9px 11px; font-size: 13px; letter-spacing: 0.6px; }
  .val-section .val-tab.is-active::after { left: 8px; right: 8px; }

  /* Title and the share button share one row. */
  .val-section-head { flex-wrap: nowrap; align-items: flex-start; }
  .val-section-sub { font-size: 12px; }

  .val-section .val-banner { flex-wrap: nowrap; padding: 10px 12px; }
  .val-section .val-banner-left { min-width: 0; font-size: 11px; }
  .val-section .val-timer { flex: none; font-size: 17px; }

  .val-section .val-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #skinsGrid { grid-template-columns: minmax(0, 1fr); }

  .vx-card-media { height: 118px; padding: 28px 10px 4px; }
  .vx-card-foot { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 11px 12px; }
  .vx-card-meta { align-items: flex-start; }
  .vx-card-name { font-size: 14px; }
  .vx-card-price { font-size: 14px; }
  .vx-card-tier { top: 9px; left: 9px; width: 20px; height: 20px; }

  /* The daily offer keeps the wide in-game tile. */
  #skinsGrid .vx-card-media { height: 150px; }
  #skinsGrid .vx-card-foot { flex-direction: row; align-items: flex-end; padding: 12px 14px 14px; }
  #skinsGrid .vx-card-meta { align-items: flex-end; }
  #skinsGrid .vx-card-name { font-size: 17px; }
  #skinsGrid .vx-card-price { font-size: 16px; }

  .vx-bundle-art {
    min-height: 0;
    padding: 150px 16px 16px;
    background:
      linear-gradient(0deg, rgba(15, 25, 35, 0.98) 30%, rgba(15, 25, 35, 0) 75%),
      var(--art, none) center top / cover no-repeat,
      #0f1923;
  }

  .vx-bundle-name { font-size: 32px; }

  .vx-bundle-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
  }

  .vx-bundle-buy { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
  .vx-bundle-price { padding: 8px 12px; font-size: 20px; }
  .vx-bundle-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; }

  .vx-filter-sub { flex-direction: column; align-items: stretch; }
  .vx-search { order: -1; flex: none; margin-left: 0; }
  .vx-cats { margin: 0 -12px; padding: 0 12px; }
  .vx-tiers { margin: 0 -12px; padding: 0 12px; }

  .vx-share span { display: none; }
  .vx-share { padding: 9px 11px; }
}

/* ------------------------------------------------ strip: timer + share */
.vx-strip-end { display: flex; align-items: center; gap: 12px; flex: none; }
.vx-strip-end .vx-share { padding: 7px 12px; }

/* ============================================================ inspector */
#skinDetailModal .vx-inspect {
  --tier: #5b6b7c;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 760px;
  height: auto;
  max-height: 92vh;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  text-align: left;
  background: #0f1923;
  border: 1px solid rgba(236, 232, 225, 0.1);
  border-bottom: 3px solid var(--tier);
  border-radius: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.vx-inspect-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(15, 25, 35, 0.82);
  border: 1px solid rgba(236, 232, 225, 0.22);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.vx-inspect-close:hover { background: #ff4655; border-color: #ff4655; }
.vx-inspect-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

.vx-inspect-stage {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(70% 80% at 50% 62%, color-mix(in srgb, var(--tier) 45%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, #1b2733 0%, #0f1923 100%);
}

.vx-inspect-img {
  max-width: 84%;
  max-height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6));
}

.vx-inspect-video { width: 100%; height: 100%; object-fit: cover; background: #000; }

.vx-inspect-body { display: flex; flex-direction: column; gap: 16px; padding: 18px 22px 22px; }

.vx-inspect-head { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }

.vx-inspect-tier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 6px;
  background: color-mix(in srgb, var(--tier) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--tier) 55%, transparent);
  color: var(--tier);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.vx-inspect-tier img { width: 18px; height: 18px; }

.vx-inspect-name {
  margin: 6px 0 0;
  font-family: var(--val-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  overflow-wrap: anywhere;
}

.vx-inspect-weapon {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--vx-muted);
}

.vx-inspect-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }

.vx-inspect-label {
  min-width: 82px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--vx-muted);
}

.vx-levels,
.vx-swatches { display: flex; flex-wrap: wrap; gap: 8px; }

.vx-levels .val-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 46px;
  height: 42px;
  padding: 0 12px;
  background: rgba(236, 232, 225, 0.06);
  border: 1px solid rgba(236, 232, 225, 0.16);
  border-radius: 0;
  color: rgba(236, 232, 225, 0.82);
  font-family: var(--val-display);
  font-size: 17px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.vx-levels .val-chip b { font-weight: 600; }
.vx-levels .val-chip svg { width: 11px; height: 11px; fill: currentColor; opacity: 0.8; }
.vx-levels .val-chip:hover { border-color: var(--tier); color: #fff; }
.vx-levels .val-chip.is-active { background: #ff4655; border-color: #ff4655; color: #fff; }

.vx-swatches .val-swatch {
  width: 46px;
  height: 46px;
  padding: 0;
  overflow: hidden;
  background: #1b2733;
  border: 2px solid rgba(236, 232, 225, 0.16);
  border-radius: 0;
  cursor: pointer;
}

.vx-swatches .val-swatch.is-active { border-color: #fff; box-shadow: 0 0 0 2px #ff4655; }

.vx-inspect-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(236, 232, 225, 0.1);
}

.vx-inspect-price { display: flex; align-items: center; gap: 8px; font-size: 26px; font-weight: 800; color: #fff; }
.vx-inspect-price .val-vp-icon,
.vx-inspect-price .val-kc-icon { width: 20px; height: 20px; }
.vx-inspect-cur { font-size: 14px; font-weight: 800; color: var(--vx-muted); }
.vx-inspect-note { font-size: 12px; color: var(--vx-muted); }

/* Phones: a sheet that slides from the bottom and is only as tall as it needs. */
@media (max-width: 720px) {
  .vx-strip-end { gap: 8px; }

  #skinDetailModal.vx-inspect-overlay { align-items: flex-end; padding: 0; }

  #skinDetailModal .vx-inspect {
    max-width: none;
    height: auto;
    max-height: 94vh;
    gap: 0;
    padding: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-top: 3px solid var(--tier);
    clip-path: none;
  }

  .vx-inspect-close { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; }
  .vx-inspect-body { gap: 14px; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); }
  .vx-inspect-name { font-size: 24px; }
  .vx-inspect-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .vx-inspect-price { font-size: 22px; }
}

/* ========================================================= night market
   Face-down cards that flip open one by one, like in the game. */
/* Six offers: one row on wide screens, three by two below that. */
#nightGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (min-width: 1000px) {
  #nightGrid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  #nightGrid .vx-card-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  #nightGrid .vx-card-meta { align-items: flex-start; }
  #nightGrid .vx-card-name { font-size: 15px; }
}

/* The stamp already shows the discount. */
.vx-nm .vx-card-deal b { display: none; }

.vx-nm {
  position: relative;
  display: grid;
  perspective: 1100px;
}

.vx-nm > .vx-nm-back,
.vx-nm > .vx-nm-front {
  grid-area: 1 / 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1);
  transform-style: preserve-3d;
}

.vx-nm > .vx-nm-front { position: relative; transform: rotateY(180deg); }
.vx-nm.is-open > .vx-nm-back { transform: rotateY(-180deg); pointer-events: none; }
.vx-nm.is-open > .vx-nm-front { transform: rotateY(0deg); }
.vx-nm:not(.is-open) > .vx-nm-front { pointer-events: none; }

/* Card back: night-market purple with the Valorant mark. */
.vx-nm-back {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 250px;
  padding: 0;
  border: 1px solid rgba(160, 120, 255, 0.35);
  border-bottom: 3px solid #a78bfa;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 12px),
    radial-gradient(90% 70% at 50% 40%, rgba(167, 139, 250, 0.35) 0%, transparent 70%),
    linear-gradient(180deg, #221a3d 0%, #120f24 100%);
  color: #fff;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  -webkit-tap-highlight-color: transparent;
}

.vx-nm-back:hover { border-color: rgba(200, 170, 255, 0.7); }
.vx-nm-back:hover .vx-nm-mark { transform: scale(1.08) rotate(-4deg); }

.vx-nm-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  background: linear-gradient(135deg, #ff4655, #a78bfa);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  box-shadow: 0 0 30px rgba(167, 139, 250, 0.5);
  transition: transform 0.2s ease;
  animation: vx-nm-pulse 2.4s ease-in-out infinite;
}

.vx-nm-mark svg { width: 42px; height: 42px; fill: #fff; }

@keyframes vx-nm-pulse {
  50% { filter: brightness(1.25) drop-shadow(0 0 12px rgba(167, 139, 250, 0.8)); }
}

.vx-nm-hint {
  font-family: var(--val-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(236, 232, 225, 0.85);
}

/* The front re-uses the store tile and adds a big discount stamp. */
.vx-nm-front .vx-card { height: 100%; min-height: 250px; }

.vx-nm-off {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 9px;
  background: #00f5d4;
  color: #062a24;
  font-family: var(--val-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  pointer-events: none;
}

/* A flash of the rarity colour right as the card turns over. */
.vx-nm.is-revealing::after {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(60% 60% at 50% 50%, color-mix(in srgb, var(--tier) 70%, #fff) 0%, transparent 70%);
  animation: vx-nm-flash 0.9s ease-out forwards;
}

@keyframes vx-nm-flash {
  0% { opacity: 0; transform: scale(0.6); }
  35% { opacity: 0.9; }
  100% { opacity: 0; transform: scale(1.35); }
}

@media (prefers-reduced-motion: reduce) {
  .vx-nm > .vx-nm-back,
  .vx-nm > .vx-nm-front { transition: none; }
  .vx-nm-mark,
  .vx-nm.is-revealing::after { animation: none; }
}

@media (max-width: 720px) {
  #nightGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vx-nm-back,
  .vx-nm-front .vx-card { min-height: 214px; }
  .vx-nm-mark { width: 58px; height: 58px; }
  .vx-nm-mark svg { width: 32px; height: 32px; }
  .vx-nm-hint { font-size: 13px; }
  .vx-nm-off { font-size: 15px; top: 8px; right: 8px; }
  .vx-nm-all span { display: inline; }
}

/* ---------------------------------------------- night market card back v2
   Night sky with stars, a neon frame and a glowing crescent with "?". */
.vx-nm-back {
  gap: 0;
  justify-content: space-between;
  padding: 16px 12px 18px;
  border: 1px solid rgba(214, 120, 255, 0.35);
  border-bottom: 3px solid #d678ff;
  background:
    radial-gradient(1.2px 1.2px at 18% 22%, #fff 99%, transparent),
    radial-gradient(1px 1px at 72% 14%, rgba(255, 255, 255, 0.9) 99%, transparent),
    radial-gradient(1.4px 1.4px at 84% 38%, rgba(255, 255, 255, 0.85) 99%, transparent),
    radial-gradient(1px 1px at 30% 64%, rgba(255, 255, 255, 0.7) 99%, transparent),
    radial-gradient(1.2px 1.2px at 58% 82%, rgba(255, 255, 255, 0.75) 99%, transparent),
    radial-gradient(1px 1px at 12% 88%, rgba(255, 255, 255, 0.6) 99%, transparent),
    radial-gradient(1px 1px at 90% 72%, rgba(255, 255, 255, 0.6) 99%, transparent),
    radial-gradient(1px 1px at 44% 30%, rgba(255, 255, 255, 0.55) 99%, transparent),
    radial-gradient(70% 55% at 50% 48%, rgba(214, 120, 255, 0.34) 0%, transparent 70%),
    radial-gradient(120% 80% at 50% 110%, rgba(0, 245, 212, 0.16) 0%, transparent 60%),
    linear-gradient(180deg, #1c0f3c 0%, #0d0a24 55%, #070617 100%);
  box-shadow: inset 0 0 40px rgba(120, 60, 220, 0.25);
  transition: transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.vx-nm-back:hover {
  border-color: rgba(236, 170, 255, 0.8);
  box-shadow: inset 0 0 50px rgba(160, 80, 255, 0.4), 0 0 26px rgba(214, 120, 255, 0.35);
}

/* Thin neon inner frame with corner ticks. */
.vx-nm-frame {
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(214, 120, 255, 0.28);
  background:
    linear-gradient(#f0b8ff, #f0b8ff) top left / 14px 2px no-repeat,
    linear-gradient(#f0b8ff, #f0b8ff) top left / 2px 14px no-repeat,
    linear-gradient(#f0b8ff, #f0b8ff) bottom right / 14px 2px no-repeat,
    linear-gradient(#f0b8ff, #f0b8ff) bottom right / 2px 14px no-repeat;
}

.vx-nm-top {
  position: relative;
  font-family: var(--val-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(240, 200, 255, 0.75);
}

.vx-nm-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  animation: vx-nm-float 3.2s ease-in-out infinite;
}

.vx-nm-emblem svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #f0b8ff;
  stroke-width: 1.3;
  filter: drop-shadow(0 0 6px #d678ff) drop-shadow(0 0 16px rgba(214, 120, 255, 0.7));
}

.vx-nm-emblem b {
  position: relative;
  margin: 10px 0 0 14px;
  font-family: var(--val-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 8px #00f5d4, 0 0 22px rgba(0, 245, 212, 0.8);
}

.vx-nm-back:hover .vx-nm-emblem { animation-duration: 1.4s; }

@keyframes vx-nm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.vx-nm-hint {
  position: relative;
  font-family: var(--val-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(236, 232, 225, 0.9);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .vx-nm-emblem { animation: none; }
}

@media (max-width: 720px) {
  .vx-nm-emblem { width: 78px; height: 78px; }
  .vx-nm-emblem b { font-size: 32px; }
  .vx-nm-top { font-size: 10px; letter-spacing: 2px; }
  .vx-nm-hint { font-size: 11px; letter-spacing: 1px; }

  /* The tab already says "Night market": keep the strip to one line. */
  [data-panel="night"] .val-banner-left span { display: none; }
}

/* ------------------------------------------ items newer than the catalogue */
.vx-card-noimg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(236, 232, 225, 0.42);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-align: center;
}

.vx-card-noimg svg {
  width: 46px;
  height: 46px;
  fill: color-mix(in srgb, var(--tier, #ff4655) 55%, rgba(236, 232, 225, 0.25));
  opacity: 0.75;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

.vx-card-sm .vx-card-noimg svg { width: 36px; height: 36px; }
.vx-card-sm .vx-card-noimg span { display: none; }

.vx-card-new {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 3px 7px;
  background: #ff4655;
  color: #fff;
  font-family: var(--val-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Night market stamp owns that corner. */
.vx-nm .vx-card-new { top: auto; bottom: 64px; }

.vx-bundle-new { color: #ff4655; }

.vx-bundle-timer { white-space: nowrap; }

.vx-bundle-art.is-noart {
  background:
    radial-gradient(60% 90% at 85% 40%, rgba(255, 70, 85, 0.28) 0%, transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 16px),
    linear-gradient(90deg, #0f1923 0%, #1a2230 100%);
}

.vx-bundle-art.is-noart::after {
  content: "";
  position: absolute;
  right: 6%;
  top: 50%;
  width: 220px;
  height: 220px;
  transform: translateY(-50%);
  opacity: 0.16;
  pointer-events: none;
  background: #ff4655;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M2 4h3.6l8.6 10.8-1.9 2.4L2 4Z'/><path d='M22 4v9.2l-3.4 4.3h-5L22 4Z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M2 4h3.6l8.6 10.8-1.9 2.4L2 4Z'/><path d='M22 4v9.2l-3.4 4.3h-5L22 4Z'/></svg>") center / contain no-repeat;
}

.vx-bundle-art.is-noart > * { position: relative; z-index: 1; }

@media (max-width: 720px) {
  .vx-bundle-art.is-noart { padding-top: 110px; }
  .vx-bundle-art.is-noart::after { top: 18px; right: 50%; width: 110px; height: 110px; transform: translateX(50%); }
}

.vx-bundle-pending {
  display: inline-block;
  margin-top: 4px;
  padding: 8px 12px;
  border-left: 3px solid #ff4655;
  background: rgba(255, 70, 85, 0.1);
  color: rgba(236, 232, 225, 0.85);
  font-size: 13px;
}