/* =====================================================================
   Темы v2–v4 — одинаковая палитра, разный визуал
   Палитра: #ff5e10 (orange), #cdabf5 (lilac), #fcebd9 (cream),
            #114e46 (teal), #1e1e1e (ink)
   ===================================================================== */

/* ───────────────────── v2: Neobrutalism ───────────────────── */
.theme-v2 {
  --bg: #fcebd9;
  --ink: #1e1e1e;
  --accent: #ff5e10;
  --lilac: #1e1e1e;
  --teal: #114e46;
}
.theme-v2 body { background: #fcebd9; }

.theme-v2   .brand-logo {
  position: relative; width: 200px; display: inline-block;
}
.theme-v2   .brand-logo::before {
  display: none;
}
.theme-v2   .brand-logo img { display: block; width: 100%; height: auto; position: relative; z-index: 1; }

.theme-v2   .section { gap: 12px; }
.theme-v2   .section-title {
  font-size: 14px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0;
  display: inline-block; padding: 4px 14px; margin-left: 0;
  position: relative; z-index: 1; color: #fff;
  background: transparent; border: none; box-shadow: none;
}
.theme-v2   .section-title::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  inset: 0; background: #ff5e10;
}
.theme-v2   .section-title::after {
  content: ''; position: absolute; z-index: -2; pointer-events: none;
  top: 6px; left: 6px; width: 100%; height: 100%;
  background: #1e1e1e;
  clip-path: polygon(
    0% 25%, 12% 0%, 35% 15%, 55% 5%, 75% 12%, 90% 0%, 100% 20%,
    100% 80%, 88% 100%, 65% 88%, 45% 95%, 25% 85%, 8% 100%, 0% 75%
  );
}

.theme-v2   .spotlight {
  background: transparent; border: none; border-radius: 6px;
  padding: 16px; position: relative; z-index: 1;
}
.theme-v2   .spotlight::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  inset: 0; background: #fff;
  border: 3px solid #1e1e1e; border-radius: 6px;
}
.theme-v2   .spotlight::after {
  content: ''; position: absolute; z-index: -2; pointer-events: none;
  top: 10px; left: 10px; width: 100%; height: 100%;
  background: #1e1e1e; border-radius: 6px;
  clip-path: polygon(
    0% 15%, 12% 0%, 32% 8%, 50% 2%, 68% 7%, 88% 0%, 100% 12%,
    100% 88%, 90% 100%, 72% 94%, 52% 98%, 30% 92%, 10% 100%, 0% 85%
  );
}
.theme-v2   .spot-ava {
  background: #ff5e10; color: #fff; border-radius: 4px;
  border: 2px solid #1e1e1e; font-weight: 800;
}
.theme-v2   .spot-crown { filter: none; font-size: 24px; }
.theme-v2   .spot-name { font-weight: 800; }
.theme-v2   .spotlight.teams .spot-ava { display: none; }
.theme-v2   .spot-points {
  background: #ff5e10; color: #fff; border-radius: 4px;
  padding: 4px 10px; font-weight: 700; white-space: nowrap;
}

.theme-v2   .team-card, .theme-v2   .user-row {
  background: transparent; border: none; border-radius: 6px;
  padding: 12px 14px; position: relative; z-index: 1;
  transition: all 0.1s;
}
.theme-v2   .team-card::before, .theme-v2   .user-row::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  inset: 0; background: #fff;
  border: 3px solid #1e1e1e; border-radius: 6px;
}
.theme-v2   .team-card::after, .theme-v2   .user-row::after {
  content: ''; position: absolute; z-index: -2; pointer-events: none;
  top: 8px; left: 8px; width: 100%; height: 100%;
  background: #1e1e1e; border-radius: 6px;
  clip-path: polygon(
    0% 18%, 14% 0%, 35% 10%, 55% 2%, 75% 8%, 92% 0%, 100% 14%,
    100% 88%, 86% 100%, 68% 94%, 45% 100%, 25% 92%, 8% 100%, 0% 82%
  );
}
.theme-v2   .team-card:active, .theme-v2   .user-row:active {
  transform: translate(2px, 2px);
}
.theme-v2   .team-card:active::after, .theme-v2   .user-row:active::after {
  top: 6px; left: 6px;
}
.theme-v2   .team-medal, .theme-v2   .rank {
  background: #1e1e1e; color: #fff; border-radius: 4px;
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.theme-v2   .team-medal.m1 { background: #ff5e10; }
.theme-v2   .team-medal.m2 { background: #114e46; color: #fff; }
.theme-v2   .team-medal.m3 { background: #114e46; }
.theme-v2   .rank.m2 { background: #114e46; color: #fff; }
.theme-v2   .rank.m3 { background: #114e46; }

.theme-v2   .bar { height: 8px; background: #e0d6c8; border: 2px solid #1e1e1e; border-radius: 2px; overflow: hidden; }
.theme-v2   .bar-fill { background: #ff5e10; height: 100%; border-radius: 0; }
.theme-v2   .points-pill {
  background: #1e1e1e; color: #fff; border: none; border-radius: 4px;
  padding: 4px 10px; font-weight: 700;
}

.theme-v2   .sec-bar {
  background: #1e1e1e; border-radius: 6px; padding: 4px;
  display: flex; gap: 2px;
}
.theme-v2   .sec-chip {
  border-radius: 4px; color: #fff; font-weight: 600;
  padding: 8px 16px; transition: none;
}
.theme-v2   .sec-chip.active { background: #ff5e10; color: #fff; box-shadow: none; }

.theme-v2   .cat-bar { gap: 4px; }
.theme-v2   .cat-chip {
  background: #fff; border: 2px solid #1e1e1e; border-radius: 4px;
  font-weight: 600; box-shadow: 2px 2px 0 #1e1e1e;
}
.theme-v2   .cat-chip.active { background: #ff5e10; color: #fff; border-color: #1e1e1e; }

.theme-v2   .shop-card {
  background: #fff; border: 3px solid #1e1e1e; border-radius: 6px;
  position: relative; overflow: visible; box-shadow: 6px 6px 0 #1e1e1e;
}
.theme-v2   .shop-img {
  background: #fcebd9;
  border-bottom: 1.5px solid #1e1e1e;
}
.theme-v2   .shop-body { padding: 12px; }
.theme-v2   .shop-name { font-weight: 800; font-size: 15px; }

.theme-v2   .btn-buy:not([disabled]) {
  background: #ff5e10; color: #fff; border: 2px solid #1e1e1e;
  border-radius: 4px; font-weight: 700; box-shadow: 2px 2px 0 #1e1e1e;
  transition: all 0.1s;
}
.theme-v2   .btn-buy:not([disabled]):active {
  transform: translate(2px, 2px); box-shadow: none;
}

.theme-v2   .modal-card {
  background: #fff; border: 3px solid #1e1e1e; border-radius: 6px;
  box-shadow: 8px 8px 0 #1e1e1e;
}
.theme-v2   .btn-cancel { border: 2px solid #1e1e1e; border-radius: 4px; font-weight: 700; }
.theme-v2   .btn-confirm { background: #ff5e10; color: #fff; border: 2px solid #1e1e1e; border-radius: 4px; font-weight: 700; }

.theme-v2   .balance-bar {
  background: #1e1e1e; color: #fff; border-radius: 4px;
  padding: 8px 14px; font-weight: 700;
}
.theme-v2   .balance-bar b { color: #ff5e10; }


/* ───────────────────── v3: Clean / Fresh ───────────────────── */
.theme-v3 {
  --bg: #fcebd9;
  --ink: #1e1e1e;
  --accent: #ff5e10;
  --lilac: #cdabf5;
  --teal: #114e46;
}
.theme-v3 body { background: #fcebd9; }

.theme-v3   .section-title {
  font-size: 17px; font-weight: 700; letter-spacing: -0.3px;
  padding: 0; margin: 0 0 14px 0; gap: 10px;
}
.theme-v3   .section-title::after { height: 2px; opacity: 0.2; }

.theme-v3   .spotlight {
  background: #fff; border: 1px solid rgba(30,30,30,0.06);
  border-radius: 16px; padding: 18px 20px;
  box-shadow: 0 1px 4px rgba(30,30,30,0.03);
}
.theme-v3   .spot-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(30,30,30,0.25); font-weight: 600;
}
.theme-v3   .spot-ava {
  background: #ff5e10; color: #fff; border: none;
  border-radius: 14px; width: 48px; height: 48px; font-weight: 700;
}
.theme-v3   .spot-name { font-weight: 700; font-size: 20px; letter-spacing: -0.2px; }
.theme-v3   .spot-sub { font-size: 12px; color: rgba(30,30,30,0.35); }
.theme-v3   .spot-points { font-weight: 700; font-size: 20px; }
.theme-v3   .spot-crown { opacity: 0.3; top: 14px; right: 18px; font-size: 22px; }

.theme-v3   .team-card, .theme-v3   .user-row {
  background: #fff; border: 1px solid rgba(30,30,30,0.06);
  border-radius: 14px; padding: 12px 14px; margin-bottom: 8px;
  transition: all 0.15s;
}
.theme-v3   .team-card:hover, .theme-v3   .user-row:hover {
  border-color: rgba(255,94,16,0.15);
  box-shadow: 0 2px 8px rgba(255,94,16,0.04);
}
.theme-v3   .team-medal, .theme-v3   .rank {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; background: #f0e6d8; color: rgba(30,30,30,0.25);
}
.theme-v3   .team-medal.m1, .theme-v3   .rank.m1 { background: #ff5e10; color: #fff; }
.theme-v3   .team-medal.m2, .theme-v3   .rank.m2 { background: #cdabf5; color: #fff; }
.theme-v3   .team-medal.m3, .theme-v3   .rank.m3 { background: #114e46; color: #fff; }
.theme-v3   .team-ava, .theme-v3   .avatar {
  background: #f0e6d8; color: rgba(30,30,30,0.3); border: none;
  border-radius: 12px; width: 38px; height: 38px; font-weight: 600;
}
.theme-v3   .bar { height: 5px; background: #f0e6d8; border: none; border-radius: 3px; }
.theme-v3   .bar-fill { background: #ff5e10; border-radius: 3px; }
.theme-v3   .user-mini { border: none; height: 3px; background: #f0e6d8; border-radius: 2px; }
.theme-v3   .user-mini i { background: #ff5e10 !important; border-radius: 2px !important; }
.theme-v3   .points-pill {
  background: #f0e6d8; border: none; border-radius: 99px;
  padding: 4px 12px; font-weight: 600; font-size: 12px;
  color: rgba(30,30,30,0.5);
}

.theme-v3   .sec-bar {
  background: #fff; border-radius: 99px; padding: 3px;
  box-shadow: 0 1px 3px rgba(30,30,30,0.04);
  margin: 4px 0 14px;
}
.theme-v3   .sec-chip {
  border-radius: 99px; font-size: 13px; font-weight: 700;
  padding: 7px 14px; opacity: 0.35;
}
.theme-v3   .sec-chip.active { background: #1e1e1e; color: #fff; opacity: 1; box-shadow: 0 1px 4px rgba(30,30,30,0.1); }

.theme-v3   .cat-bar { gap: 5px; }
.theme-v3   .cat-chip {
  background: #fff; border: 1px solid rgba(30,30,30,0.06);
  border-radius: 99px; font-weight: 600; font-size: 12px;
  color: rgba(30,30,30,0.3); padding: 5px 14px;
}
.theme-v3   .cat-chip.active { background: #1e1e1e; color: #fff; border-color: #1e1e1e; }

.theme-v3   .shop-card {
  background: #fff; border: 1px solid rgba(30,30,30,0.06);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(30,30,30,0.02);
  margin-bottom: 10px;
}
.theme-v3   .shop-img { height: 92px; background: #f0e6d8; }
.theme-v3   .shop-body { padding: 12px 14px; }
.theme-v3   .shop-name { font-weight: 700; font-size: 16px; }
.theme-v3   .shop-desc { color: rgba(30,30,30,0.35); font-size: 12px; }
.theme-v3   .cat-badge { border-color: #cdabf5; color: #cdabf5; font-weight: 600; }
.theme-v3   .price-pill {
  border: 1px solid rgba(30,30,30,0.08); color: rgba(30,30,30,0.35);
  font-weight: 600; font-size: 12px; border-radius: 99px;
}
.theme-v3   .btn-buy:not([disabled]) {
  background: #ff5e10; color: #fff; border: none; border-radius: 99px;
  padding: 6px 16px; font-weight: 700; font-size: 12px;
}

.theme-v3   .modal-card { background: #fff; border: none; border-radius: 20px; box-shadow: 0 8px 32px rgba(30,30,30,0.12); }
.theme-v3   .modal-title { font-size: 18px; }
.theme-v3   .btn-cancel { background: #f0e6d8; border: none; border-radius: 99px; font-weight: 600; }
.theme-v3   .btn-confirm { background: #1e1e1e; color: #fff; border: none; border-radius: 99px; font-weight: 700; }

.theme-v3   .balance-bar {
  background: rgba(255,255,255,0.4); border: 1px solid rgba(30,30,30,0.04);
  border-radius: 99px; padding: 8px 16px; font-weight: 600; font-size: 13px;
}
.theme-v3   .balance-bar b { color: #ff5e10; }

.theme-v3   .app-content { padding: 12px 14px 18px; }
.theme-v3   .app-header { border-bottom-color: rgba(30,30,30,0.06); }


/* ───────────────────── v4: Contrast / Sharp ───────────────────── */
.theme-v4 {
  --bg: #fcebd9;
  --ink: #1e1e1e;
  --accent: #ff5e10;
  --lilac: #cdabf5;
  --teal: #114e46;
}
.theme-v4 body { background: #fcebd9; }

.theme-v4   .section-title {
  font-size: 15px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; padding: 0; margin: 0 0 14px 0; gap: 12px;
}
.theme-v4   .section-title::after { height: 2px; opacity: 0.4; background: #1e1e1e; }

.theme-v4   .spotlight {
  background: #fff; border-left: 4px solid #ff5e10;
  border-radius: 0 12px 12px 0; padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(30,30,30,0.03);
}
.theme-v4   .spot-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 2px;
  font-weight: 700; color: #ff5e10;
}
.theme-v4   .spot-ava {
  background: #1e1e1e; color: #fcebd9; border: none;
  border-radius: 50%; width: 46px; height: 46px; font-weight: 800;
}
.theme-v4   .spot-name { font-weight: 700; font-size: 19px; }
.theme-v4   .spot-sub { font-size: 12px; color: rgba(30,30,30,0.3); }
.theme-v4   .spot-points { font-weight: 800; font-size: 20px; color: #ff5e10; }
.theme-v4   .spot-crown { top: 12px; right: 16px; font-size: 20px; opacity: 0.25; }

.theme-v4   .team-card, .theme-v4   .user-row {
  background: #fff; border: none; border-radius: 0;
  padding: 12px 14px; margin-bottom: 6px;
  border-bottom: 1px solid rgba(30,30,30,0.04);
}
.theme-v4   .team-card:first-of-type, .theme-v4   .user-row:first-of-type { border-top: 1px solid rgba(30,30,30,0.04); }
.theme-v4   .team-medal, .theme-v4   .rank {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; color: rgba(30,30,30,0.15);
}
.theme-v4   .team-medal.m1, .theme-v4   .rank.m1 { color: #ff5e10; }
.theme-v4   .team-medal.m2, .theme-v4   .rank.m2 { color: #cdabf5; }
.theme-v4   .team-medal.m3, .theme-v4   .rank.m3 { color: #114e46; }
.theme-v4   .team-ava, .theme-v4   .avatar {
  background: #1e1e1e; color: #fcebd9; border-radius: 50%;
  width: 36px; height: 36px; font-weight: 800; font-size: 13px;
}
.theme-v4   .bar { height: 3px; background: rgba(30,30,30,0.06); border: none; border-radius: 0; }
.theme-v4   .bar-fill { background: #1e1e1e; border-radius: 0; }
.theme-v4   .user-mini { border: none; height: 3px; background: rgba(30,30,30,0.06); border-radius: 0; }
.theme-v4   .user-mini i { background: #1e1e1e !important; border-radius: 0 !important; }
.theme-v4   .points-pill {
  background: rgba(30,30,30,0.04); border: none; border-radius: 0;
  padding: 3px 10px; font-weight: 700; font-size: 11px;
}

.theme-v4   .sec-bar {
  background: #fff; border-radius: 0; padding: 0;
  margin: 4px 0 14px; display: flex;
}
.theme-v4   .sec-chip {
  border-radius: 0; font-size: 12px; font-weight: 700;
  padding: 8px 0; flex: 1; text-align: center;
  color: rgba(30,30,30,0.2); border-bottom: 2px solid transparent;
}
.theme-v4   .sec-chip.active {
  color: #1e1e1e; background: none; box-shadow: none;
  border-bottom-color: #1e1e1e;
}

.theme-v4   .cat-bar { gap: 4px; }
.theme-v4   .cat-chip {
  background: transparent; border: 1px solid rgba(30,30,30,0.06);
  color: rgba(30,30,30,0.2); border-radius: 0; font-weight: 700;
  font-size: 11px; padding: 4px 12px;
}
.theme-v4   .cat-chip.active { background: #1e1e1e; color: #fcebd9; border-color: #1e1e1e; }

.theme-v4   .shop-card {
  background: #fff; border: none; border-radius: 0;
  margin-bottom: 8px; display: flex; gap: 0;
  border-bottom: 1px solid rgba(30,30,30,0.04);
}
.theme-v4   .shop-img { width: 90px; height: 90px; flex: 0 0 auto; background: #f0e6d8; }
.theme-v4   .shop-img::after { display: none; }
.theme-v4   .shop-body { flex: 1; padding: 12px; }
.theme-v4   .shop-name { font-weight: 700; font-size: 15px; }
.theme-v4   .shop-desc { color: rgba(30,30,30,0.35); font-size: 11px; }
.theme-v4   .cat-badge { border-color: #cdabf5; color: #cdabf5; font-weight: 700; border-radius: 0; }
.theme-v4   .price-pill { border: none; color: #ff5e10; font-weight: 800; font-size: 12px; background: none; padding: 0; }
.theme-v4   .btn-buy:not([disabled]) {
  background: #1e1e1e; color: #fcebd9; border: none; border-radius: 0;
  font-weight: 700; font-size: 11px; padding: 5px 14px;
}

.theme-v4   .modal-card { background: #fff; border: none; border-radius: 0; box-shadow: 0 4px 20px rgba(30,30,30,0.08); }
.theme-v4   .modal-title { font-weight: 800; }
.theme-v4   .btn-cancel { background: transparent; border: 1px solid rgba(30,30,30,0.06); border-radius: 0; font-weight: 700; }
.theme-v4   .btn-confirm { background: #1e1e1e; color: #fcebd9; border: none; border-radius: 0; font-weight: 700; }

.theme-v4   .balance-bar {
  background: #fff; border: none; border-radius: 0;
  padding: 8px 14px; font-weight: 600; font-size: 13px;
  border-bottom: 1px solid rgba(30,30,30,0.04);
}
.theme-v4   .balance-bar b { color: #ff5e10; }

.theme-v4   .app-content { padding: 12px 14px 18px; }
.theme-v4   .app-header { border-bottom: 1px solid rgba(30,30,30,0.06); }


/* ───────────────────── v5: Lilac Blocks ───────────────────── */
.theme-v5 {
  --bg: #fcebd9;
  --ink: #1e1e1e;
  --accent: #ff5e10;
  --lilac: #cdabf5;
  --teal: #114e46;
}
.theme-v5 body { background: #fcebd9; }

.theme-v5   .section-title {
  font-size: 15px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; padding: 0; margin: 0 0 14px 0; gap: 10px;
  color: rgba(30,30,30,0.4);
}
.theme-v5   .section-title::after { height: 1px; opacity: 0.15; background: #1e1e1e; }

.theme-v5   .spotlight {
  background: #cdabf5; color: #1e1e1e; border: none; border-radius: 16px;
  padding: 18px 20px; position: relative; overflow: hidden;
}
.theme-v5   .spotlight::after {
  content: ''; position: absolute; top: -20px; right: -20px;
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.theme-v5   .spot-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 2px;
  font-weight: 700; color: rgba(30,30,30,0.4);
}
.theme-v5   .spot-ava {
  background: #fff; color: #cdabf5; border: none;
  border-radius: 14px; width: 48px; height: 48px; font-weight: 800;
}
.theme-v5   .spot-name { font-weight: 800; font-size: 20px; color: #1e1e1e; }
.theme-v5   .spot-sub { font-size: 12px; color: rgba(30,30,30,0.45); }
.theme-v5   .spot-points { font-weight: 800; font-size: 22px; color: #1e1e1e; }
.theme-v5   .spot-points small { opacity: 0.4; }
.theme-v5   .spot-crown { top: 14px; right: 16px; font-size: 24px; opacity: 0.2; }

.theme-v5   .team-card, .theme-v5   .user-row {
  background: #cdabf5; border: none; border-radius: 16px;
  padding: 12px 16px; margin-bottom: 10px;
  position: relative; transition: all 0.15s;
}
.theme-v5   .team-card:active, .theme-v5   .user-row:active { opacity: 0.9; }
.theme-v5   .team-medal, .theme-v5   .rank {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; background: rgba(255,255,255,0.25);
  color: rgba(30,30,30,0.5);
}
.theme-v5   .team-medal.m1, .theme-v5   .rank.m1 { background: #ff5e10; color: #fff; }
.theme-v5   .team-medal.m2, .theme-v5   .rank.m2 { background: #114e46; color: #fff; }
.theme-v5   .team-medal.m3, .theme-v5   .rank.m3 { background: rgba(30,30,30,0.15); }
.theme-v5   .team-ava, .theme-v5   .avatar {
  background: rgba(255,255,255,0.3); color: rgba(30,30,30,0.4);
  border-radius: 12px; width: 38px; height: 38px; font-weight: 700;
  border: none;
}
.theme-v5   .bar { height: 5px; background: rgba(255,255,255,0.2); border: none; border-radius: 3px; }
.theme-v5   .bar-fill { background: #ff5e10; border-radius: 3px; }
.theme-v5   .user-mini { border: none; height: 3px; background: rgba(255,255,255,0.2); border-radius: 2px; }
.theme-v5   .user-mini i { background: #ff5e10 !important; border-radius: 2px !important; }
.theme-v5   .points-pill {
  background: rgba(255,255,255,0.3); border: none; border-radius: 99px;
  padding: 4px 12px; font-weight: 700; font-size: 12px;
  color: rgba(30,30,30,0.5);
}
.theme-v5   .team-name { color: #1e1e1e; font-weight: 700; }
.theme-v5   .user-name { color: #1e1e1e; font-weight: 700; }
.theme-v5   .user-team { color: rgba(30,30,30,0.4); }

.theme-v5   .sec-bar {
  background: rgba(205,171,245,0.15); border-radius: 99px; padding: 3px;
  margin: 4px 0 14px;
}
.theme-v5   .sec-chip {
  border-radius: 99px; font-size: 13px; font-weight: 700;
  padding: 7px 14px; color: rgba(30,30,30,0.3);
}
.theme-v5   .sec-chip.active { background: #cdabf5; color: #1e1e1e; opacity: 1; box-shadow: none; }

.theme-v5   .cat-bar { gap: 5px; }
.theme-v5   .cat-chip {
  background: rgba(205,171,245,0.1); border: none; border-radius: 99px;
  font-weight: 600; font-size: 12px; color: rgba(30,30,30,0.3);
  padding: 5px 14px;
}
.theme-v5   .cat-chip.active { background: #cdabf5; color: #1e1e1e; }

.theme-v5   .shop-card {
  background: #cdabf5; border: none; border-radius: 18px; overflow: hidden;
  margin-bottom: 12px;
}
.theme-v5   .shop-img { height: 90px; background: rgba(255,255,255,0.2); }
.theme-v5   .shop-img::after { background: #cdabf5; }
.theme-v5   .shop-body { padding: 12px 14px; }
.theme-v5   .shop-name { font-weight: 800; font-size: 16px; color: #1e1e1e; }
.theme-v5   .shop-desc { color: rgba(30,30,30,0.35); font-size: 12px; }
.theme-v5   .cat-badge { background: rgba(255,255,255,0.2); border: none; color: rgba(30,30,30,0.4); border-radius: 99px; padding: 2px 10px; }
.theme-v5   .price-pill {
  background: rgba(255,255,255,0.2); border: none; border-radius: 99px;
  color: rgba(30,30,30,0.4); font-weight: 700; font-size: 12px; padding: 4px 12px;
}
.theme-v5   .btn-buy:not([disabled]) {
  background: #ff5e10; color: #fff; border: none; border-radius: 99px;
  padding: 7px 18px; font-weight: 700; font-size: 12px;
}

.theme-v5   .ribbon { background: #114e46; }

.theme-v5   .modal-card { background: #cdabf5; border: none; border-radius: 20px; }
.theme-v5   .modal-title { color: #1e1e1e; font-weight: 800; }
.theme-v5   .modal-text { color: rgba(30,30,30,0.45); }
.theme-v5   .btn-cancel { background: rgba(255,255,255,0.2); border: none; border-radius: 99px; font-weight: 700; color: rgba(30,30,30,0.4); }
.theme-v5   .btn-confirm { background: #ff5e10; color: #fff; border: none; border-radius: 99px; font-weight: 700; }

.theme-v5   .balance-bar {
  background: rgba(205,171,245,0.1); border: none; border-radius: 99px;
  padding: 8px 16px; font-weight: 600; font-size: 13px;
}
.theme-v5   .balance-bar b { color: #ff5e10; }

.theme-v5   .app-content { padding: 12px 14px 18px; }
.theme-v5   .app-header { border-bottom: 1px solid rgba(205,171,245,0.2); }
