.upv2-card {
  height: 100%;
}

/* Opt-in: keep legacy card dimensions until the profile chooses a height. */
.upv2-page.upv2-custom-card-height .sound-container > .upv2-card {
  height: auto !important;
  min-height: var(--upv2-interaction-card-height) !important;
}
.upv2-page.upv2-custom-card-height .sound-container .upv2-card-body {
  flex: 1 0 auto;
}
.upv2-page.upv2-custom-card-height .sound-container .upv2-card-media-trigger.is-image {
  flex-shrink: 0;
}
.upv2-page.upv2-custom-card-height .sound-container .upv2-card-media-image {
  height: max(52px, calc(var(--upv2-interaction-card-height) - 170px)) !important;
  object-fit: contain !important;
}

.upv2-card {
  --upv2-card-shell-top-source: var(--upv2-interacao);
  --upv2-card-shell-bottom-source: var(--upv2-interacao-bottom, #12121b);
  --upv2-card-shell-top: var(--upv2-card-shell-top-rgba);
  --upv2-card-shell-bottom: var(--upv2-card-shell-bottom-rgba);
  --upv2-card-shell-glow: rgba(141, 75, 255, 0.16);
  background: linear-gradient(
    160deg,
    rgba(26, 26, 34, 0.98) 0%,
    rgba(24, 24, 34, 0.92) 42%,
    rgba(15, 15, 22, 0.94) 100%
  );
  background: linear-gradient(
    160deg,
    var(--upv2-card-shell-top) 0%,
    color-mix(in srgb, var(--upv2-card-shell-top) 54%, var(--upv2-card-shell-bottom) 46%) 46%,
    var(--upv2-card-shell-bottom) 100%
  );
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-radius: 16px;
  padding: 10px 8px 10px;
  border: 1px solid color-mix(in srgb, var(--upv2-card-shell-top-source) 24%, rgba(255, 255, 255, 0.14) 76%);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.04) inset,
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 2px 12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  position: relative;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease;
}

.upv2-card::before {
  content: none;
}

.upv2-card:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: color-mix(in srgb, var(--upv2-card-shell-top-source) 30%, rgba(255, 255, 255, 0.2) 70%);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 4px 16px var(--upv2-card-shell-glow);
}

.upv2-card-glow {
  display: none;
}

.upv2-card:hover .upv2-card-glow {
  opacity: 1.4;
}

.upv2-glow-bits {
  background: radial-gradient(
    ellipse at center,
    rgba(145, 70, 255, 0.18) 0%,
    rgba(192, 132, 252, 0.06) 40%,
    transparent 70%
  );
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--upv2-card-shell-top-source) 28%, #9146ff 72%) 0%,
    color-mix(in srgb, var(--upv2-card-shell-bottom-source) 14%, #c084fc 86%) 40%,
    transparent 70%
  );
}

.upv2-glow-kicks {
  background: radial-gradient(
    ellipse at center,
    rgba(83, 252, 24, 0.14) 0%,
    rgba(101, 245, 140, 0.05) 40%,
    transparent 70%
  );
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--upv2-card-shell-top-source) 32%, #53fc18 68%) 0%,
    color-mix(in srgb, var(--upv2-card-shell-bottom-source) 15%, #65f58c 85%) 40%,
    transparent 70%
  );
}

.upv2-glow-shop {
  background: radial-gradient(
    ellipse at center,
    rgba(251, 191, 36, 0.14) 0%,
    rgba(245, 158, 11, 0.05) 40%,
    transparent 70%
  );
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--upv2-card-shell-top-source) 30%, #fbbf24 70%) 0%,
    color-mix(in srgb, var(--upv2-card-shell-bottom-source) 14%, #f59e0b 86%) 40%,
    transparent 70%
  );
}

.upv2-glow-roleta {
  background: radial-gradient(
    ellipse at center,
    rgba(56, 189, 248, 0.16) 0%,
    rgba(14, 165, 233, 0.06) 40%,
    transparent 70%
  );
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--upv2-card-shell-top-source) 28%, #38bdf8 72%) 0%,
    color-mix(in srgb, var(--upv2-card-shell-bottom-source) 12%, #0ea5e9 88%) 40%,
    transparent 70%
  );
}

.upv2-card-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 36px;
  z-index: 1;
}

.upv2-card-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--upv2-card-shell-top-source) 76%, rgba(255, 255, 255, 0.24) 24%),
    color-mix(in srgb, var(--upv2-card-shell-bottom-source) 86%, rgba(0, 0, 0, 0.14) 14%)
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-color: color-mix(in srgb, var(--upv2-card-shell-top-source) 48%, rgba(255, 255, 255, 0.28) 52%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--upv2-card-shell-bottom-source) 58%, rgba(0, 0, 0, 0.28) 42%);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.upv2-card:hover .upv2-card-avatar {
  border-color: color-mix(in srgb, var(--upv2-card-shell-top-source) 58%, rgba(255, 255, 255, 0.3) 42%);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--upv2-card-shell-top-source) 46%, rgba(255, 255, 255, 0.1) 54%);
}

.upv2-avatar-bits {
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.2), rgba(192, 132, 252, 0.1));
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--upv2-card-shell-top-source) 78%, #9146ff 22%),
    color-mix(in srgb, var(--upv2-card-shell-bottom-source) 84%, #c084fc 16%)
  );
  border-color: color-mix(in srgb, var(--upv2-card-shell-top-source) 44%, rgba(145, 70, 255, 0.36) 56%);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--upv2-card-shell-top-source) 44%, rgba(145, 70, 255, 0.22) 56%);
}

.upv2-card:hover .upv2-avatar-bits {
  border-color: color-mix(in srgb, var(--upv2-card-shell-top-source) 42%, rgba(145, 70, 255, 0.52) 58%);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--upv2-card-shell-top-source) 36%, rgba(145, 70, 255, 0.34) 64%);
}

.upv2-avatar-kicks {
  background: linear-gradient(135deg, rgba(83, 252, 24, 0.18), rgba(101, 245, 140, 0.08));
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--upv2-card-shell-top-source) 80%, #53fc18 20%),
    color-mix(in srgb, var(--upv2-card-shell-bottom-source) 84%, #65f58c 16%)
  );
  border-color: color-mix(in srgb, var(--upv2-card-shell-top-source) 44%, rgba(83, 252, 24, 0.34) 56%);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--upv2-card-shell-top-source) 44%, rgba(83, 252, 24, 0.2) 56%);
}

.upv2-card:hover .upv2-avatar-kicks {
  border-color: color-mix(in srgb, var(--upv2-card-shell-top-source) 40%, rgba(83, 252, 24, 0.48) 60%);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--upv2-card-shell-top-source) 36%, rgba(83, 252, 24, 0.3) 64%);
}

.upv2-card-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--upv2-muted);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.04);
  z-index: 1;
}

.upv2-card-badge.is-money {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.1);
}

.upv2-card-badge.is-bits {
  color: #c084fc;
  border-color: rgba(192, 132, 252, 0.4);
  background: rgba(192, 132, 252, 0.08);
  box-shadow: 0 0 8px rgba(192, 132, 252, 0.1);
}

.upv2-card-badge.is-kicks {
  color: #65f58c;
  border-color: rgba(101, 245, 140, 0.35);
  background: rgba(101, 245, 140, 0.08);
  box-shadow: 0 0 8px rgba(101, 245, 140, 0.1);
}

.upv2-card-title {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  max-width: 100%;
  letter-spacing: 0.01em;
}

.upv2-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  z-index: 1;
}

.upv2-card-media-trigger {
  width: 92%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  background: color-mix(in srgb, var(--upv2-card-shell-bottom-source) 24%, rgba(0, 0, 0, 0.42) 76%);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.upv2-card-media-trigger:hover,
.upv2-card-media-trigger:focus {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.upv2-card-media-trigger.is-image {
  min-height: 52px;
}

.upv2-card-media-image {
  width: 100%;
  height: 52px;
  object-fit: cover;
  display: block;
  filter: brightness(0.95) contrast(1.05);
  transition: filter 0.2s ease;
}

.upv2-card-media-trigger:hover .upv2-card-media-image {
  filter: brightness(1.05) contrast(1.08);
}

.upv2-card-media-trigger.is-video {
  min-height: 52px;
  background: linear-gradient(135deg, rgba(13, 13, 22, 0.95), rgba(30, 30, 50, 0.85));
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--upv2-card-shell-top-source) 42%, #0b0b12 58%),
    color-mix(in srgb, var(--upv2-card-shell-bottom-source) 20%, #1e1e32 80%)
  );
}

.upv2-card-media-video-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(232, 227, 255, 0.9);
  font-size: 11px;
  font-weight: 600;
}

.upv2-card-subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.upv2-card-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 92%;
  margin: 0 auto;
  margin-top: auto;
  z-index: 1;
}

.upv2-card.no-audio .upv2-card-controls {
  visibility: hidden;
}

.upv2-card-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.upv2-card-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.16);
  transform: scale(1.08);
}

.upv2-card-volume {
  width: 30px;
  height: 28px;
}

.upv2-card-volume-wrap {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 2;
}

.upv2-card-volume-range {
  position: absolute;
  right: 0;
  bottom: 32px;
  width: 90px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 3;
  height: 20px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.upv2-card.is-playing .upv2-card-volume-range,
.upv2-card-volume-wrap:hover .upv2-card-volume-range,
.upv2-card-volume-wrap.is-open .upv2-card-volume-range,
.upv2-card-volume-wrap:focus-within .upv2-card-volume-range {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.upv2-card-volume-range::-webkit-slider-runnable-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.upv2-card-volume-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(141, 75, 255, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
  margin-top: -4px;
  transition: box-shadow 0.2s ease;
}

.upv2-card-volume-range::-moz-range-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.upv2-card-volume-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 0 10px rgba(141, 75, 255, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
}

.upv2-card-volume-range:focus {
  outline: none;
}

.upv2-card-progress {
  display: flex;
  gap: 4px;
  flex: 1;
}

.upv2-card-progress span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  display: inline-block;
  transform-origin: bottom;
  transition: background 0.2s ease;
}

.upv2-card.is-playing .upv2-card-progress span {
  background: rgba(52, 211, 153, 0.7);
  animation: upv2-eq 0.9s ease-in-out infinite;
}

.upv2-card.is-playing .upv2-card-progress span:nth-child(2) {
  animation-delay: 0.12s;
}

.upv2-card.is-playing .upv2-card-progress span:nth-child(3) {
  animation-delay: 0.24s;
}

.upv2-card.is-playing .upv2-card-progress span:nth-child(4) {
  animation-delay: 0.36s;
}

@keyframes upv2-eq {
  0%,
  100% {
    transform: scaleY(0.4);
    opacity: 0.5;
  }

  50% {
    transform: scaleY(1.6);
    opacity: 1;
  }
}

.upv2-card-cta {
  margin-top: 8px;
  background: linear-gradient(135deg, rgba(16, 200, 152, 0.95), rgba(12, 166, 128, 0.95));
  color: #fff;
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  align-self: center;
  width: 92%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow:
    0 4px 12px rgba(14, 186, 142, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.upv2-card-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}

.upv2-card-cta:hover {
  transform: translateY(-1px) scale(1.02);
  border-color: rgba(52, 211, 153, 0.7);
  box-shadow:
    0 6px 18px rgba(14, 186, 142, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.upv2-card-cta:active {
  transform: translateY(0) scale(0.98);
}

.upv2-card-cta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.upv2-card-cta-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.upv2-card-cta.is-bits {
  background: linear-gradient(135deg, #9146ff, #7b2fff);
  border-color: rgba(145, 70, 255, 0.5);
  box-shadow:
    0 4px 16px rgba(145, 70, 255, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.upv2-card-cta.is-bits:hover {
  border-color: rgba(145, 70, 255, 0.75);
  box-shadow:
    0 6px 24px rgba(145, 70, 255, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.upv2-card-cta.is-kicks {
  background: linear-gradient(135deg, #53fc18, #3fd911);
  color: #08150a;
  border-color: rgba(83, 252, 24, 0.4);
  box-shadow:
    0 4px 16px rgba(83, 252, 24, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.upv2-card-cta.is-kicks:hover {
  border-color: rgba(83, 252, 24, 0.65);
  box-shadow:
    0 6px 24px rgba(83, 252, 24, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.upv2-product-card {
  background: transparent;
  max-width: 260px;
  width: 100%;
  justify-self: center;
}

.upv2-product-inner {
  padding: 0 0 18px;
  gap: 10px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.upv2-product-carousel {
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.upv2-product-carousel img,
.upv2-product-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.upv2-product-image {
  filter: brightness(0.95) contrast(1.04);
  transition: filter 0.3s ease, transform 0.4s ease;
  cursor: pointer;
}

.upv2-product-inner:hover .upv2-product-image {
  filter: brightness(1.02) contrast(1.06);
  transform: scale(1.03);
}

.upv2-carousel-dots li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease;
}

.upv2-carousel-dots li.active {
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.upv2-product-carousel .carousel-control-prev,
.upv2-product-carousel .carousel-control-next {
  width: 30px;
  background-image: none;
  text-shadow: none;
}

.upv2-carousel-arrow {
  width: 34px;
  height: 56px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  opacity: 0.72;
}

.upv2-product-carousel .carousel-control-prev.upv2-carousel-arrow,
.upv2-product-carousel .carousel-control-next.upv2-carousel-arrow {
  top: 50%;
  bottom: auto;
  width: 34px;
  height: 56px;
  transform: translateY(-50%);
  opacity: 1;
}

.upv2-product-carousel .carousel-control-prev.upv2-carousel-arrow {
  left: 2px;
}

.upv2-product-carousel .carousel-control-next.upv2-carousel-arrow {
  right: 2px;
}

.upv2-carousel-arrow:hover {
  background: transparent;
  transform: translateY(-50%) scale(1.03);
  opacity: 1;
}

.upv2-carousel-arrow .carousel-control-custom-icon {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff;
  font-size: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.upv2-carousel-arrow-icon {
  font-size: 34px;
  line-height: 1;
  font-weight: 300;
  opacity: 0.92;
  transform: translateX(0);
  text-rendering: geometricPrecision;
}

.upv2-product-carousel .carousel-control-prev.upv2-carousel-arrow .upv2-carousel-arrow-icon {
  transform: translateX(-1px);
}

.upv2-product-carousel .carousel-control-next.upv2-carousel-arrow .upv2-carousel-arrow-icon {
  transform: translateX(1px);
}

.upv2-product-name {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  margin: 12px 10px 4px;
  letter-spacing: 0.01em;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.upv2-product-price {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, #34d399, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.upv2-product-progress-wrap {
  padding: 0 12px;
  margin-bottom: 8px;
}

.upv2-product-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.upv2-product-progress-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #34d399, #22d3ee);
  font-size: 0;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.3);
}

.upv2-product-progress-empty {
  background: rgba(255, 255, 255, 0.04);
}

.upv2-product-meta {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-top: 4px;
  min-height: 16px;
  letter-spacing: 0.02em;
}

.upv2-product-meta-empty {
  color: transparent;
}

.upv2-product-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 8px;
}

.upv2-product-actions {
  margin-top: auto;
  text-align: center;
  padding: 6px 12px 0;
  z-index: 1;
  position: relative;
}

.upv2-product-btn {
  background: linear-gradient(135deg, rgba(16, 200, 152, 0.95), rgba(12, 166, 128, 0.95));
  color: #fff;
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 12px rgba(14, 186, 142, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}

.upv2-product-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}

.upv2-product-btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 6px 18px rgba(14, 186, 142, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.upv2-product-btn:active {
  transform: translateY(0) scale(0.98);
}

.upv2-points-card-wrap {
  width: 210px;
  max-width: 100%;
  justify-self: center;
}

.upv2-points-reward-card {
  --upv2-card-shell-top-source: #211a3a;
  --upv2-card-shell-bottom-source: #070712;
  width: 100%;
  min-height: 286px;
  padding: 12px;
  gap: 10px;
  align-items: stretch;
}

.upv2-glow-points {
  background: radial-gradient(
    ellipse at center,
    rgba(45, 212, 191, 0.18) 0%,
    rgba(168, 85, 247, 0.07) 42%,
    transparent 72%
  );
}

.upv2-points-media {
  height: 118px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.upv2-points-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.upv2-points-placeholder {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(45, 212, 191, 0.95);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(168, 85, 247, 0.12));
  border: 1px solid rgba(45, 212, 191, 0.22);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  font-size: 22px;
}

.upv2-points-chip {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: calc(100% - 16px);
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(8, 148, 120, 0.84);
  border: 1px solid rgba(45, 212, 191, 0.45);
  color: rgba(240, 253, 250, 0.95);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.upv2-points-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-height: 82px;
  text-align: center;
}

.upv2-points-title {
  width: 100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  word-break: break-word;
}

.upv2-points-price {
  color: #2dd4bf;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.upv2-points-meta {
  min-height: 14px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
}

.upv2-points-meta.is-empty {
  visibility: hidden;
}

.upv2-points-reward-btn {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 38px;
  margin-top: auto;
  border: 1px solid rgba(45, 212, 191, 0.45);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.96), rgba(13, 148, 136, 0.96));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow:
    0 8px 18px rgba(20, 184, 166, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.13) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.upv2-points-reward-btn:hover {
  color: #fff;
  border-color: rgba(94, 234, 212, 0.7);
  transform: translateY(-1px);
  box-shadow:
    0 10px 24px rgba(20, 184, 166, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.16) inset;
}

.upv2-points-reward-btn:disabled,
.upv2-points-reward-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

@media (max-width: 640px) {
  .upv2-points-card-wrap {
    width: 100%;
  }

  .upv2-points-reward-card {
    min-height: 270px;
  }
}

@media (max-width: 760px) {
  .upv2-card-badge {
    display: none;
  }
}

.upv2-compact-card {
  padding: 16px 12px;
  min-height: 220px !important;
  gap: 8px !important;
  text-align: center;
  align-items: center;
}

.upv2-roleta-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.12);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  z-index: 1;
  position: relative;
}

.upv2-compact-card:hover .upv2-roleta-icon-wrapper {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 32px rgba(56, 189, 248, 0.2);
  transform: scale(1.05);
}

.upv2-roleta-icon-wrapper i {
  font-size: 22px;
}

.upv2-roleta-btn {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #fff;
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 16px rgba(56, 189, 248, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}

.upv2-roleta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}

.upv2-roleta-btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 6px 24px rgba(56, 189, 248, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.upv2-roleta-btn:active {
  transform: translateY(0) scale(0.98);
}
