* {
  box-sizing: border-box;
}

:root {
  --bg: #fbf1f4;
  --bg-soft: #fff8fa;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-solid: #ffffff;
  --border: rgba(168, 96, 123, 0.18);
  --text: #40323a;
  --muted: #76636c;
  --faint: #9d8792;
  --pink: #e9a7bb;
  --pink-dark: #c97895;
  --pink-deep: #9f5570;
  --rose: #f7d7e1;
  --cream: #fffaf7;
  --shadow: 0 22px 70px rgba(127, 76, 96, 0.13);
  --soft-shadow: 0 12px 35px rgba(127, 76, 96, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Nunito", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(233, 167, 187, 0.32), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(247, 215, 225, 0.52), transparent 24%),
    linear-gradient(180deg, #fff9fb 0%, #fbf1f4 46%, #f7e6ec 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.42;
  background-image:
    radial-gradient(circle, rgba(159, 85, 112, 0.18) 1px, transparent 1.2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.70) 1px, transparent 1.2px);
  background-size: 34px 34px, 58px 58px;
  background-position: 0 0, 12px 18px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(168, 96, 123, 0.12);
  background: rgba(255, 248, 250, 0.90);
  backdrop-filter: blur(18px);
}

.nav-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 23px;
  font-weight: 950;
  letter-spacing: -0.045em;
  color: var(--text);
}

.logo::before {
  content: "✦";
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(145deg, var(--pink), var(--pink-deep));
  box-shadow: var(--soft-shadow);
  font-size: 15px;
}

.logo span {
  color: var(--pink-deep);
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(168, 96, 123, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 8px 24px rgba(127, 76, 96, 0.06);
}

.nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  transition: 0.18s ease;
}

.nav-links a:hover {
  color: var(--pink-deep);
  background: rgba(247, 215, 225, 0.62);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.username-pill {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid rgba(168, 96, 123, 0.16);
  border-radius: 999px;
  padding: 10px 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.cart-btn,
.primary-btn,
.secondary-btn,
.danger-btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 950;
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cart-btn,
.primary-btn {
  color: white;
  background: linear-gradient(145deg, #e9a7bb 0%, #c97895 62%, #a9647f 100%);
  box-shadow: 0 14px 30px rgba(159, 85, 112, 0.20);
}

.secondary-btn {
  color: var(--pink-deep);
  border: 1px solid rgba(168, 96, 123, 0.20);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(127, 76, 96, 0.08);
}

.danger-btn {
  color: white;
  background: linear-gradient(145deg, #e7899f 0%, #c95d7a 100%);
}

.cart-btn:hover,
.primary-btn:hover,
.secondary-btn:hover,
.danger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(159, 85, 112, 0.22);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none !important;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.store-shell {
  padding: 32px 0 26px;
  display: grid;
  grid-template-columns: 250px 1fr 280px;
  gap: 20px;
  align-items: start;
}

.side-panel {
  position: sticky;
  top: 96px;
  padding: 18px;
}

.side-title {
  margin: 0 0 14px;
  color: var(--pink-deep);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.side-menu {
  display: grid;
  gap: 9px;
}

.side-menu a,
.social-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(168, 96, 123, 0.14);
  border-radius: 17px;
  padding: 12px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  font-weight: 900;
  transition: 0.18s ease;
}

.side-menu a:hover,
.social-pill:hover {
  color: var(--pink-deep);
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.92);
}

.panel {
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero {
  padding: 0;
  text-align: left;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 245, 248, 0.94)),
    radial-gradient(circle at 82% 18%, rgba(233, 167, 187, 0.38), transparent 32%);
  border: 1px solid rgba(168, 96, 123, 0.16);
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.24) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,0.18) 25%, transparent 25%);
  background-size: 44px 44px;
  opacity: 0.28;
  pointer-events: none;
}

.hero-card::after {
  content: "♡";
  position: absolute;
  right: 34px;
  top: 22px;
  color: rgba(159, 85, 112, 0.16);
  font-size: 120px;
  line-height: 1;
  transform: rotate(12deg);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 58px 44px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--pink-deep);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  color: var(--text);
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.045em;
  color: var(--text);
}

h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-text,
.page-text {
  max-width: 750px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.username-box {
  margin-top: 18px;
  padding: 20px;
  text-align: left;
}

.username-box label {
  display: block;
  margin-bottom: 10px;
  color: var(--pink-deep);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.username-row {
  display: flex;
  gap: 10px;
}

.username-row input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(168, 96, 123, 0.18);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--text);
  outline: none;
  background: rgba(255, 255, 255, 0.78);
}

.username-row input::placeholder {
  color: var(--faint);
}

.username-row input:focus {
  border-color: rgba(159, 85, 112, 0.46);
  box-shadow: 0 0 0 4px rgba(233, 167, 187, 0.16);
}

.status {
  min-height: 20px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.feature-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  padding: 20px;
}

.feature-card h3 {
  font-size: 19px;
}

.feature-card p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.page-header {
  padding: 44px 0 12px;
}

.packages-section {
  padding: 28px 0 70px;
}

.category-block {
  margin-bottom: 44px;
}

.category-title {
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.category-title::before {
  content: "✦";
  color: var(--pink-dark);
  font-size: 18px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.package-card {
  overflow: hidden;
  padding: 15px;
  background: rgba(255, 255, 255, 0.76);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.package-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 70px rgba(127, 76, 96, 0.16);
}

.package-image {
  width: 100%;
  height: 172px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 15px;
  background:
    linear-gradient(135deg, rgba(247, 215, 225, 0.7), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(168, 96, 123, 0.10);
}

.package-desc {
  margin: 10px 0 0;
  min-height: 66px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.package-bottom {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.price {
  color: var(--pink-deep);
  font-size: 19px;
  font-weight: 950;
}

.content-grid {
  margin: 20px 0 60px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.info-card,
.side-card {
  padding: 26px;
}

.info-card p,
.side-card p {
  color: var(--muted);
  line-height: 1.7;
}

.bullet-list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.85;
}

.social-row {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.stat-card {
  display: grid;
  gap: 12px;
}

.top-customer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(168, 96, 123, 0.12);
}

.avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: white;
  background: linear-gradient(145deg, var(--pink), var(--pink-deep));
  font-weight: 950;
}

.goal-bar {
  width: 100%;
  height: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(168, 96, 123, 0.12);
  margin-top: 14px;
}

.goal-fill {
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e9a7bb, #c97895, #9f5570);
}

.cart-layout {
  padding: 40px 0 70px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
}

.cart-items {
  display: grid;
  gap: 14px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.cart-item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.summary {
  height: fit-content;
  padding: 22px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(168, 96, 123, 0.14);
  color: var(--muted);
}

.summary-row strong {
  color: var(--text);
}

.summary-total {
  margin-top: 18px;
  color: var(--pink-deep);
  font-size: 28px;
  font-weight: 950;
}

.summary .primary-btn,
.summary .secondary-btn {
  width: 100%;
  margin-top: 14px;
}

.notice-page {
  padding: 86px 0;
  text-align: center;
}

.notice-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 42px;
}

.notice-card p {
  color: var(--muted);
  line-height: 1.7;
}

.small-note {
  margin-top: 12px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
}

.empty {
  padding: 24px;
  color: var(--muted);
}

.footer {
  padding: 22px 0 40px;
  color: var(--faint);
  text-align: center;
  font-size: 13px;
}

.hidden {
  display: none !important;
}

@media (max-width: 1120px) {
  .store-shell {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }

  .right-panel {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav-inner {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .username-pill {
    display: none;
  }

  .feature-grid,
  .package-grid,
  .cart-layout,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .username-row {
    flex-direction: column;
  }

  .cart-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-content {
    padding: 44px 24px;
  }
}


/* =====================================================
   V3 POLISH: soft movement, hover pop, flowers, sparkles
   ===================================================== */

body {
  background-attachment: fixed;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.42;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.55) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 18%, rgba(233, 167, 187, 0.32) 0 3px, transparent 4px),
    radial-gradient(circle at 84% 68%, rgba(255, 255, 255, 0.45) 0 2px, transparent 3px),
    radial-gradient(circle at 28% 82%, rgba(201, 120, 149, 0.20) 0 3px, transparent 4px);
  background-size: 260px 260px, 340px 340px, 300px 300px, 380px 380px;
  animation: dreamyDrift 24s ease-in-out infinite alternate;
}

@keyframes dreamyDrift {
  from {
    transform: translate3d(-10px, -8px, 0) scale(1);
  }

  to {
    transform: translate3d(18px, 12px, 0) scale(1.025);
  }
}

.logo::before {
  animation: logoFloat 4.2s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0) rotate(-4deg);
  }

  50% {
    transform: translateY(-4px) rotate(4deg);
  }
}

.navbar {
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.navbar:hover {
  box-shadow: 0 12px 34px rgba(127, 76, 96, 0.08);
}

.cart-btn,
.primary-btn,
.secondary-btn,
.danger-btn,
.side-menu a,
.social-pill {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cart-btn::before,
.primary-btn::before,
.secondary-btn::before,
.danger-btn::before,
.side-menu a::before,
.social-pill::before {
  content: "";
  position: absolute;
  inset: -80% auto -80% -65%;
  width: 50%;
  transform: rotate(24deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  opacity: 0;
  z-index: -1;
}

.cart-btn:hover::before,
.primary-btn:hover::before,
.secondary-btn:hover::before,
.danger-btn:hover::before,
.side-menu a:hover::before,
.social-pill:hover::before {
  opacity: 1;
  animation: buttonShine 0.78s ease forwards;
}

@keyframes buttonShine {
  from {
    left: -65%;
  }

  to {
    left: 130%;
  }
}

.cart-btn:hover,
.primary-btn:hover,
.secondary-btn:hover,
.danger-btn:hover {
  transform: translateY(-4px) scale(1.045);
}

.cart-btn:active,
.primary-btn:active,
.secondary-btn:active,
.danger-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.primary-btn::after,
.cart-btn::after,
.secondary-btn::after {
  content: "✿";
  position: absolute;
  right: 11px;
  top: 50%;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  opacity: 0;
  transform: translateY(-50%) translateX(10px) rotate(-20deg) scale(0.65);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.secondary-btn::after {
  color: rgba(159, 85, 112, 0.55);
}

.primary-btn:hover::after,
.cart-btn:hover::after,
.secondary-btn:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0) rotate(12deg) scale(1);
}

.hero-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 90px rgba(127, 76, 96, 0.17);
}

.hero-card::after {
  animation: heartFloat 5.5s ease-in-out infinite;
}

@keyframes heartFloat {
  0%, 100% {
    transform: translateY(0) rotate(12deg) scale(1);
  }

  50% {
    transform: translateY(-8px) rotate(7deg) scale(1.04);
  }
}

.panel {
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover,
.info-card:hover,
.side-card:hover,
.side-panel:hover,
.summary:hover,
.username-box:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.90);
  border-color: rgba(159, 85, 112, 0.24);
  box-shadow: 0 28px 80px rgba(127, 76, 96, 0.14);
}

.package-card {
  position: relative;
}

.package-card::before {
  content: "✿";
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(145deg, rgba(233, 167, 187, 0.92), rgba(159, 85, 112, 0.90));
  box-shadow: 0 12px 28px rgba(159, 85, 112, 0.18);
  opacity: 0;
  transform: translateY(8px) rotate(-22deg) scale(0.72);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.package-card:hover::before {
  opacity: 1;
  transform: translateY(0) rotate(10deg) scale(1);
}

.package-card:hover .package-image {
  transform: scale(1.025);
  filter: saturate(1.04) brightness(1.02);
}

.package-image {
  transition: transform 0.35s ease, filter 0.35s ease;
}

.package-bottom .primary-btn {
  padding-right: 38px;
}

.username-row input {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.username-row input:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
}

.username-row input:focus {
  transform: translateY(-2px);
}

.goal-fill {
  position: relative;
  overflow: hidden;
}

.goal-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.44), transparent);
  animation: goalShimmer 2.8s ease-in-out infinite;
}

@keyframes goalShimmer {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(140%);
  }
}

.avatar {
  animation: avatarPulse 3.5s ease-in-out infinite;
}

@keyframes avatarPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 24px rgba(159, 85, 112, 0.16);
  }

  50% {
    transform: scale(1.06);
    box-shadow: 0 16px 34px rgba(159, 85, 112, 0.24);
  }
}

.sparkle-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

.flower-pop {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  color: var(--pink-deep);
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  filter: drop-shadow(0 8px 12px rgba(159, 85, 112, 0.18));
  animation: flowerPop 850ms ease-out forwards;
}

@keyframes flowerPop {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.45);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--flower-x), var(--flower-y), 0) rotate(var(--flower-r)) scale(1.15);
  }
}

.floaty {
  animation: softFloat 5.5s ease-in-out infinite;
}

.floaty:nth-child(2n) {
  animation-delay: -1.1s;
}

.floaty:nth-child(3n) {
  animation-delay: -2.2s;
}

@keyframes softFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* =====================================================
   V4 CLEAN PACKAGE CARDS
   Fixes long cards, aligns buttons, improves store polish
   ===================================================== */

.page-header {
  position: relative;
  margin-bottom: 14px;
}

.page-header::after {
  content: "";
  display: block;
  width: 92px;
  height: 5px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--pink-deep), transparent);
}

.packages-section {
  position: relative;
}

.category-block {
  position: relative;
}

.category-title {
  width: 100%;
  padding: 0 4px 2px;
  font-size: clamp(30px, 4vw, 44px);
}

.package-grid {
  align-items: stretch;
}

.package-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 30px;
}

.package-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 29px;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 34%),
    radial-gradient(circle at 50% 0%, rgba(233, 167, 187, 0.18), transparent 34%);
  opacity: 0.85;
}

.package-card > * {
  position: relative;
  z-index: 2;
}

.package-image {
  height: 170px;
  min-height: 170px;
  width: 100%;
  border-radius: 23px;
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(168, 96, 123, 0.10);
}

.package-card h3 {
  min-height: 32px;
  display: flex;
  align-items: center;
  font-size: 23px;
}

.package-desc {
  position: relative;
  min-height: unset;
  max-height: 118px;
  overflow: hidden;
  margin-top: 10px;
  color: rgba(64, 50, 58, 0.72);
  font-size: 14.5px;
  line-height: 1.55;
}

.package-desc::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38px;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.94));
}

.package-bottom {
  margin-top: auto;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
}

.price {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  color: var(--pink-deep);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.price::before {
  content: "Price";
  margin-bottom: 5px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.package-bottom .primary-btn {
  min-width: 82px;
  min-height: 46px;
  padding: 12px 22px;
  display: inline-grid;
  place-items: center;
}

.package-card:hover {
  transform: translateY(-8px);
}

.package-card:hover h3 {
  color: var(--pink-deep);
}

.package-card:hover .price {
  transform: translateY(-1px);
}

.side-panel {
  max-height: calc(100vh - 112px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(159, 85, 112, 0.28) transparent;
}

.side-panel::-webkit-scrollbar {
  width: 8px;
}

.side-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(159, 85, 112, 0.25);
}

.right-panel {
  padding-bottom: 20px;
}

.right-panel .primary-btn {
  margin-top: 10px;
}

.store-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 0;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(168, 96, 123, 0.14);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 900;
}

.store-badge::before {
  content: "✦";
  color: var(--pink-deep);
}

.cart-btn {
  padding-left: 18px;
  padding-right: 18px;
}

.empty.panel,
.empty {
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.82), rgba(255,245,248,0.90));
}

.cart-item {
  align-items: stretch;
}

.cart-item > div {
  flex: 1;
}

.summary {
  border-radius: 30px;
}

@media (min-width: 901px) {
  .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1179px) and (min-width: 720px) {
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .package-card {
    min-height: 390px;
  }

  .package-image {
    height: 150px;
    min-height: 150px;
  }

  .package-bottom {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .package-bottom .primary-btn {
    width: 100%;
  }
}


/* =====================================================
   V5 DETAILS POPOUT
   Keeps cards clean while showing full perks on hover/click
   ===================================================== */

.package-card {
  cursor: default;
}

.package-card .details-btn {
  margin-top: 12px;
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(168, 96, 123, 0.16);
  border-radius: 999px;
  color: var(--pink-deep);
  background: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.package-card .details-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(127, 76, 96, 0.10);
}

.package-card .details-btn::after {
  content: " ✿";
  opacity: 0.75;
}

.package-card .package-desc {
  max-height: 94px;
}

.package-card::before {
  pointer-events: none;
}

.details-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  background: rgba(64, 50, 58, 0.18);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.details-backdrop.active {
  display: block;
  opacity: 1;
}

.package-popout {
  position: fixed;
  z-index: 9999;
  width: min(420px, calc(100vw - 28px));
  max-height: min(620px, calc(100vh - 28px));
  overflow: hidden;
  display: none;
  border: 1px solid rgba(168, 96, 123, 0.20);
  border-radius: 30px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 246, 249, 0.97));
  box-shadow: 0 34px 110px rgba(64, 50, 58, 0.24);
  transform: translateY(8px) scale(0.96);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.package-popout.active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.package-popout-inner {
  padding: 18px;
}

.package-popout-header {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 13px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(168, 96, 123, 0.13);
}

.package-popout-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 19px;
  border: 1px solid rgba(168, 96, 123, 0.12);
  background: linear-gradient(135deg, rgba(247, 215, 225, 0.65), rgba(255, 255, 255, 0.9));
}

.package-popout-title {
  min-width: 0;
}

.package-popout-title h3 {
  margin: 0;
  font-size: 24px;
  color: var(--text);
}

.package-popout-price {
  margin-top: 5px;
  color: var(--pink-deep);
  font-size: 18px;
  font-weight: 950;
}

.package-popout-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: var(--pink-deep);
  background: rgba(233, 167, 187, 0.14);
  cursor: pointer;
  font-size: 19px;
  font-weight: 950;
  transition: transform 0.18s ease, background 0.18s ease;
}

.package-popout-close:hover {
  transform: rotate(8deg) scale(1.06);
  background: rgba(233, 167, 187, 0.24);
}

.package-popout-body {
  max-height: 360px;
  overflow: auto;
  margin-top: 14px;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(159, 85, 112, 0.28) transparent;
}

.package-popout-body::-webkit-scrollbar {
  width: 8px;
}

.package-popout-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(159, 85, 112, 0.25);
}

.package-popout-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.package-popout-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.package-popout-body li {
  position: relative;
  padding: 10px 12px 10px 34px;
  border: 1px solid rgba(168, 96, 123, 0.11);
  border-radius: 17px;
  color: rgba(64, 50, 58, 0.78);
  background: rgba(255, 255, 255, 0.58);
  line-height: 1.45;
}

.package-popout-body li::before {
  content: "✿";
  position: absolute;
  left: 12px;
  top: 10px;
  color: var(--pink-deep);
  font-size: 13px;
}

.package-popout-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(168, 96, 123, 0.13);
}

.package-popout-actions .primary-btn {
  min-width: 110px;
}

.package-popout-note {
  color: var(--faint);
  font-size: 12px;
  line-height: 1.45;
}

.card-peek {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.card-peek span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(168, 96, 123, 0.11);
  border-radius: 999px;
  padding: 6px 8px;
  color: var(--pink-deep);
  background: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 900;
}

@media (hover: hover) and (pointer: fine) {
  .package-card:hover .details-btn {
    background: rgba(255, 255, 255, 0.98);
  }
}

@media (max-width: 719px) {
  .package-popout {
    left: 14px !important;
    right: 14px !important;
    top: 50% !important;
    width: auto;
    transform: translateY(-46%) scale(0.96);
  }

  .package-popout.active {
    transform: translateY(-50%) scale(1);
  }

  .package-popout-header {
    grid-template-columns: 56px 1fr auto;
  }

  .package-popout-img {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .package-popout-body {
    max-height: 320px;
  }

  .package-popout-actions {
    grid-template-columns: 1fr;
  }

  .package-popout-actions .primary-btn {
    width: 100%;
  }
}


/* =====================================================
   V6 CLEAN CARDS: no perk text on cards, popout only
   ===================================================== */

.package-card {
  min-height: 330px !important;
  justify-content: flex-start;
}

.package-card .package-desc,
.package-card .card-peek {
  display: none !important;
}

.package-card h3 {
  min-height: 34px;
  margin-bottom: 14px;
}

.package-card .details-btn {
  margin-top: 0;
  margin-bottom: 18px;
}

.package-bottom {
  margin-top: auto !important;
}

.package-image {
  height: 178px !important;
  min-height: 178px !important;
}

.package-grid {
  align-items: stretch;
}

.package-card:hover {
  transform: translateY(-7px) scale(1.01);
}

.package-popout-body {
  max-height: 420px;
}

.logo {
  white-space: nowrap;
}

.logo span {
  color: var(--pink-deep);
}

@media (max-width: 719px) {
  .package-card {
    min-height: 315px !important;
  }

  .package-image {
    height: 164px !important;
    min-height: 164px !important;
  }
}


/* =====================================================
   V7 BLESSINGS / TEXT / REPEAT BUY POLISH
   ===================================================== */

.package-bottom .add-btn,
.package-popout-actions .primary-btn {
  white-space: nowrap;
}


.page-text,
.hero-text,
.info-card p,
.side-card p,
.bullet-list,
.small-note {
  letter-spacing: 0.005em;
}

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

.package-popout-note::after {
  content: " You Can Add The Same Package More Than Once Unless Tebex Package Limits Block It.";
  display: block;
  margin-top: 6px;
  color: var(--faint);
}


/* =====================================================
   V8 BLESSINGS FILTER + POPOUT POLISH
   ===================================================== */

.package-popout {
  z-index: 10000;
}

.details-backdrop {
  z-index: 9999;
}

.package-popout.active {
  pointer-events: auto;
}

.package-popout-body {
  max-height: 330px;
}

.package-popout-actions {
  background: rgba(255, 246, 249, 0.97);
  position: sticky;
  bottom: 0;
}


@media (max-width: 719px) {
  .package-popout-body {
    max-height: 280px;
  }
}


/* =====================================================
   V9 BLESSINGS STRICT FILTER NOTE
   ===================================================== */



/* =====================================================
   V10 CLAIM BLOCKS + NOODLES LLC BRANDING
   ===================================================== */

.side-menu a[href="claimblocks.html"] span {
  color: var(--pink-deep);
}

body[data-page="claimblocks"] .category-title::after {
  content: "Claim Blocks Only";
  margin-left: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(168, 96, 123, 0.14);
  border-radius: 999px;
  color: var(--pink-deep);
  background: rgba(255,255,255,0.68);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.footer {
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid rgba(168, 96, 123, 0.14);
  line-height: 1.7;
}

.footer a,
.legal-link {
  color: var(--pink-deep);
  font-weight: 950;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1120px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 719px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================================
   V11 LIGHT PINK THEME
   Main requested color: #ffb6c1
   Softer / cleaner pink theme while keeping text readable
   ===================================================== */

:root {
  --bg: #fff6f8;
  --bg-soft: #fffafb;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-solid: #ffffff;
  --border: rgba(255, 182, 193, 0.36);
  --text: #3f3038;
  --muted: #765d67;
  --faint: #a58b96;

  /* Requested main color */
  --pink: #ffb6c1;

  /* Supporting shades made from the same palette */
  --pink-dark: #e88fa4;
  --pink-deep: #b96b83;
  --rose: #ffe1e7;
  --cream: #fffdfb;
  --shadow: 0 22px 70px rgba(185, 107, 131, 0.13);
  --soft-shadow: 0 12px 35px rgba(185, 107, 131, 0.10);
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 182, 193, 0.42), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(255, 225, 231, 0.74), transparent 26%),
    radial-gradient(circle at 50% 92%, rgba(255, 182, 193, 0.24), transparent 34%),
    linear-gradient(180deg, #fffafb 0%, #fff2f5 46%, #ffe8ee 100%) !important;
}

body::before {
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(185, 107, 131, 0.18) 1px, transparent 1.2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.76) 1px, transparent 1.2px);
}

.navbar {
  background: rgba(255, 248, 250, 0.92);
  border-bottom-color: rgba(255, 182, 193, 0.24);
}

.logo::before,
.avatar,
.package-card::before {
  background: linear-gradient(145deg, #ffb6c1, #e88fa4 58%, #b96b83) !important;
  box-shadow: 0 12px 28px rgba(185, 107, 131, 0.18);
}

.logo span,
.nav-links a:hover,
.side-title,
.username-box label,
.price,
.summary-total,
.package-popout-price,
.package-popout-close,
.side-menu a:hover,
.social-pill:hover,
.store-badge::before,
.category-title::before,
body[data-page="blessings"] .category-title::after,
body[data-page="claimblocks"] .category-title::after {
  color: var(--pink-deep) !important;
}

.nav-links {
  border-color: rgba(255, 182, 193, 0.22);
  background: rgba(255, 255, 255, 0.72);
}

.nav-links a:hover {
  background: rgba(255, 225, 231, 0.72);
}

.cart-btn,
.primary-btn {
  color: #ffffff;
  background: linear-gradient(145deg, #ffb6c1 0%, #e88fa4 55%, #bd7088 100%) !important;
  box-shadow: 0 14px 34px rgba(185, 107, 131, 0.24);
}

.cart-btn:hover,
.primary-btn:hover {
  box-shadow: 0 18px 46px rgba(185, 107, 131, 0.30);
}

.secondary-btn,
.package-card .details-btn,
.side-menu a,
.social-pill,
.store-badge,
.top-customer,
.package-popout-body li {
  border-color: rgba(255, 182, 193, 0.26) !important;
  background: rgba(255, 255, 255, 0.72);
}

.secondary-btn {
  color: var(--pink-deep);
}

.panel {
  border-color: rgba(255, 182, 193, 0.30);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.90), rgba(255,250,251,0.82));
  box-shadow: 0 24px 72px rgba(185, 107, 131, 0.13);
}

.hero-card {
  border-color: rgba(255, 182, 193, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 244, 247, 0.96)),
    radial-gradient(circle at 82% 18%, rgba(255, 182, 193, 0.42), transparent 34%) !important;
  box-shadow: 0 28px 84px rgba(185, 107, 131, 0.15);
}

.hero-card::after {
  color: rgba(185, 107, 131, 0.14);
}

.hero-content {
  background: transparent;
}

.eyebrow {
  color: var(--pink-deep);
}

.username-row input {
  border-color: rgba(255, 182, 193, 0.32);
  background: rgba(255, 255, 255, 0.86);
}

.username-row input:focus {
  border-color: rgba(185, 107, 131, 0.50);
  box-shadow: 0 0 0 4px rgba(255, 182, 193, 0.22);
}

.package-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,250,251,0.84)) !important;
  border-color: rgba(255, 182, 193, 0.30);
}

.package-card:hover,
.feature-card:hover,
.info-card:hover,
.side-card:hover,
.side-panel:hover,
.summary:hover,
.username-box:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.97), rgba(255,247,249,0.94)) !important;
  border-color: rgba(232, 143, 164, 0.36);
  box-shadow: 0 30px 90px rgba(185, 107, 131, 0.17);
}

.package-image,
.package-popout-img {
  background:
    linear-gradient(135deg, rgba(255, 225, 231, 0.86), rgba(255, 255, 255, 0.94)) !important;
  border-color: rgba(255, 182, 193, 0.24);
}

.goal-bar {
  background: rgba(255, 182, 193, 0.22);
}

.goal-fill {
  background: linear-gradient(90deg, #ffb6c1, #e88fa4, #b96b83) !important;
}

.page-header::after {
  background: linear-gradient(90deg, #ffb6c1, #e88fa4, transparent);
}

.package-popout {
  border-color: rgba(255, 182, 193, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 248, 0.98)) !important;
  box-shadow: 0 34px 110px rgba(185, 107, 131, 0.25);
}

.package-popout-actions {
  background: rgba(255, 246, 248, 0.98) !important;
}

.details-backdrop {
  background: rgba(63, 48, 56, 0.14);
}

.flower-pop {
  color: var(--pink-deep);
}

.footer {
  border-top-color: rgba(255, 182, 193, 0.28);
}


/* =====================================================
   V14 CART CLEANUP + FRESH CART SESSION FIX
   ===================================================== */

.cart-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.cart-items {
  gap: 10px;
}

.cart-item {
  min-height: 92px;
  padding: 12px 14px;
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center !important;
  gap: 12px;
  border-radius: 22px;
}

.cart-item-img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 182, 193, 0.28);
  background: linear-gradient(135deg, rgba(255, 225, 231, 0.86), rgba(255, 255, 255, 0.94));
}

.cart-item-placeholder {
  display: grid;
  place-items: center;
  color: var(--pink-deep);
  font-weight: 950;
}

.cart-item-info {
  min-width: 0;
}

.cart-item h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.18;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item p {
  margin: 5px 0 0;
  font-size: 12px;
}

.cart-remove-btn,
.cart-item .danger-btn {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 13px;
  border-radius: 999px;
}

.summary {
  padding: 18px;
  border-radius: 24px;
}

.summary h2 {
  font-size: 28px;
}

.summary-row {
  padding: 9px 0;
  font-size: 14px;
}

.summary-total {
  margin-top: 12px;
  font-size: 24px;
}

.summary .primary-btn,
.summary .secondary-btn {
  margin-top: 10px;
  min-height: 42px;
  padding: 11px 14px;
}

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .cart-item-img {
    width: 52px;
    height: 52px;
  }

  .cart-item .danger-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}


/* =====================================================
   V14.1 CART WRAP FIX
   Makes the cart item card wrap around the item instead
   of stretching across the whole cart area.
   ===================================================== */

.cart-items {
  justify-items: start;
  align-items: start;
}

.cart-item {
  width: fit-content !important;
  min-width: 440px;
  max-width: 560px;
  justify-self: start;
}

@media (max-width: 900px) {
  .cart-items {
    justify-items: stretch;
  }

  .cart-item {
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
  }
}


/* =====================================================
   V15 CART QUANTITY FIX
   Correct qty display + remove one/remove all controls
   ===================================================== */

.cart-item {
  grid-template-columns: 58px minmax(170px, 1fr) auto !important;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-actions .secondary-btn,
.cart-item-actions .danger-btn {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 12px;
  white-space: nowrap;
}

.cart-item-info p strong {
  color: var(--pink-deep);
  font-weight: 950;
}

@media (max-width: 900px) {
  .cart-item {
    grid-template-columns: 52px minmax(0, 1fr) !important;
  }

  .cart-item-actions {
    grid-column: 1 / -1;
    width: 100%;
  }

  .cart-item-actions .secondary-btn,
  .cart-item-actions .danger-btn {
    flex: 1;
  }
}


/* =====================================================
   V18 REMOVE BLESSINGS + ADD INSTAGRAM
   ===================================================== */

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1120px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 719px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================================
   V19 CLAIM CHUNKS RENAME
   ===================================================== */

.side-menu a[href="claimblocks.html"] span {
  color: var(--pink-deep);
}

body[data-page="claimblocks"] .category-title::after {
  content: "Claim Blocks Only";
  margin-left: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(168, 96, 123, 0.14);
  border-radius: 999px;
  color: var(--pink-deep);
  background: rgba(255,255,255,0.68);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}


/* V20 POLICY POPUP + FOOTER LINKS */
.footer-policy-links{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.footer-policy-links button{border:1px solid rgba(255,182,193,.32);border-radius:999px;padding:9px 13px;color:var(--pink-deep);background:rgba(255,255,255,.70);font-size:12px;font-weight:950;cursor:pointer;transition:.18s}
.footer-policy-links button:hover{transform:translateY(-2px);background:rgba(255,255,255,.95);box-shadow:0 12px 28px rgba(185,107,131,.12)}
.policy-locked{overflow:hidden}
.policy-overlay{position:fixed;inset:0;z-index:20000;display:grid;place-items:center;padding:18px;background:rgba(63,48,56,.36);backdrop-filter:blur(10px)}
.policy-modal{width:min(820px,calc(100vw - 24px));max-height:min(820px,calc(100vh - 24px));overflow:hidden;display:flex;flex-direction:column;border:1px solid rgba(255,182,193,.34);border-radius:32px;color:var(--text);background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,246,248,.98));box-shadow:0 34px 110px rgba(64,50,58,.28)}
.policy-top{display:flex;justify-content:space-between;gap:18px;padding:22px 24px 14px;border-bottom:1px solid rgba(255,182,193,.22)}
.policy-eyebrow{margin:0 0 7px;color:var(--pink-deep);font-size:12px;font-weight:950;letter-spacing:.18em;text-transform:uppercase}
.policy-title{margin:0;font-size:clamp(28px,4vw,42px)}
.policy-updated{margin:7px 0 0;color:var(--muted);font-size:13px;font-weight:800}
.policy-close{width:38px;height:38px;border:0;border-radius:999px;color:var(--pink-deep);background:rgba(255,182,193,.18);cursor:pointer;font-size:22px;font-weight:950}
.policy-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:14px 24px;border-bottom:1px solid rgba(255,182,193,.18)}
.policy-tab{border:1px solid rgba(255,182,193,.30);border-radius:999px;padding:9px 13px;color:var(--muted);background:rgba(255,255,255,.68);font-size:13px;font-weight:950;cursor:pointer}
.policy-tab.active{color:#fff;background:linear-gradient(145deg,#ffb6c1 0%,#e88fa4 55%,#bd7088 100%);box-shadow:0 14px 30px rgba(185,107,131,.16)}
.policy-body{overflow:auto;padding:20px 24px;line-height:1.65;color:var(--muted)}
.policy-body h3{margin:22px 0 8px;font-size:19px;color:var(--text)}
.policy-body p{margin:0 0 12px}
.policy-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:16px 24px;border-top:1px solid rgba(255,182,193,.20);background:rgba(255,246,248,.98)}
.policy-note{margin:0;padding:0 24px 18px;color:var(--faint);font-size:12px;font-weight:800}
.policy-denied{padding:34px;text-align:center}
.policy-denied p{color:var(--muted);line-height:1.7}
@media(max-width:719px){.policy-modal{border-radius:24px}.policy-top,.policy-tabs,.policy-body,.policy-actions{padding-left:16px;padding-right:16px}.policy-actions{display:grid;grid-template-columns:1fr}.policy-actions button{width:100%}}

/* V21 LIVE STATS / MONTHLY GOAL */
.goal-money{display:inline-block;margin-top:6px;color:var(--pink-deep);font-size:13px;font-weight:950}
.recent-purchase strong{display:block;color:var(--text);font-size:14px}
.recent-purchase small{display:block;margin-top:3px;color:var(--faint);font-size:11px;line-height:1.3}
.top-customer h3{max-width:170px;overflow:hidden;text-overflow:ellipsis}
.goal-fill{width:0%;transition:width .8s ease}


/* =====================================================
   V22 TOP CUSTOMER AVATAR
   ===================================================== */

.avatar-img {
  display: block;
  object-fit: cover;
  image-rendering: pixelated;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 182, 193, 0.22);
  background: linear-gradient(145deg, #ffb6c1, #e88fa4 58%, #b96b83);
  box-shadow: 0 12px 28px rgba(185, 107, 131, 0.18);
}


/* =====================================================
   V23 TEBEX DESCRIPTION FORMAT FIX
   Shows package details using Tebex's own description
   formatting instead of splitting text into messy boxes.
   ===================================================== */

.package-popout-body {
  padding-right: 8px;
}

.package-popout-body .tebex-description {
  display: block;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.package-popout-body .tebex-description > *:first-child {
  margin-top: 0;
}

.package-popout-body .tebex-description > *:last-child {
  margin-bottom: 0;
}

.package-popout-body .tebex-description p,
.package-popout-body .tebex-description div {
  margin: 0 0 12px;
}

.package-popout-body .tebex-description ul,
.package-popout-body .tebex-description ol {
  margin: 10px 0 14px;
  padding-left: 22px;
  display: block;
}

.package-popout-body .tebex-description li {
  display: list-item;
  padding: 0;
  margin: 7px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  line-height: 1.55;
}

.package-popout-body .tebex-description li::before {
  content: none;
}

.package-popout-body .tebex-description strong,
.package-popout-body .tebex-description b {
  color: var(--text);
  font-weight: 950;
}

.package-popout-body .tebex-description em,
.package-popout-body .tebex-description i {
  color: var(--pink-deep);
}

.package-popout-body .tebex-description a {
  color: var(--pink-deep);
  font-weight: 950;
  text-decoration: underline;
}

.package-popout-body .tebex-description br {
  display: block;
  content: "";
  margin-top: 6px;
}

.package-popout-body .tebex-description table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}

.package-popout-body .tebex-description td,
.package-popout-body .tebex-description th {
  border: 1px solid rgba(255, 182, 193, 0.24);
  padding: 8px;
}

.package-popout-body .tebex-description img {
  max-width: 100%;
  border-radius: 16px;
}


/* =====================================================
   V24 CLAIM BLOCKS RENAME
   ===================================================== */

.side-menu a[href="claimblocks.html"] span {
  color: var(--pink-deep);
}

body[data-page="claimblocks"] .category-title::after {
  content: "Claim Blocks Only";
}


/* =====================================================
   V25 PACKAGE DESCRIPTION HEADING FIX
   Keeps Tebex formatting but prevents huge headings
   from blowing up the package popout.
   ===================================================== */

.package-popout-body .tebex-description h1,
.package-popout-body .tebex-description h2,
.package-popout-body .tebex-description h3,
.package-popout-body .tebex-description h4,
.package-popout-body .tebex-description h5,
.package-popout-body .tebex-description h6 {
  margin: 12px 0 10px;
  color: var(--text);
  font-weight: 950;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.package-popout-body .tebex-description h1 {
  font-size: clamp(24px, 3vw, 32px);
}

.package-popout-body .tebex-description h2 {
  font-size: clamp(22px, 2.7vw, 28px);
}

.package-popout-body .tebex-description h3 {
  font-size: clamp(19px, 2.2vw, 23px);
}

.package-popout-body .tebex-description h4,
.package-popout-body .tebex-description h5,
.package-popout-body .tebex-description h6 {
  font-size: 17px;
}

.package-popout-body .tebex-description {
  word-break: normal;
  overflow-wrap: anywhere;
}

.package-popout-body .tebex-description p {
  font-size: 15px;
}

.package-popout-body .tebex-description .ql-size-huge,
.package-popout-body .tebex-description .ql-size-large {
  font-size: 22px !important;
  line-height: 1.25;
}

.package-popout-body .tebex-description center,
.package-popout-body .tebex-description [align="center"] {
  text-align: left;
}

.package-popout-body .tebex-description blockquote {
  margin: 12px 0;
  padding: 12px 14px;
  border-left: 4px solid var(--pink);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}


/* =====================================================
   V26 TOP CUSTOMER FULL AVATAR
   Removes spend total and shows more of the Minecraft
   player avatar instead of only the head.
   ===================================================== */

.top-customer {
  align-items: center;
}

.avatar-player-img {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: contain;
  image-rendering: pixelated;
  padding: 4px;
  border-radius: 18px;
  border: 1px solid rgba(255, 182, 193, 0.24);
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(255,240,244,0.96));
  box-shadow: 0 12px 28px rgba(185, 107, 131, 0.14);
}

.top-customer .small-note {
  margin-top: 4px;
}


/* =====================================================
   V27 BIGGER TOP CUSTOMER AVATAR + LITTLE DANCE
   ===================================================== */

.top-customer {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 126px;
}

.avatar-player-img {
  width: 98px;
  height: 98px;
  display: block;
  object-fit: contain;
  image-rendering: pixelated;
  padding: 2px;
  border-radius: 22px;
  border: 1px solid rgba(255, 182, 193, 0.24);
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(255,240,244,0.96));
  box-shadow: 0 12px 28px rgba(185, 107, 131, 0.14);
  animation: topCustomerDance 2.2s ease-in-out infinite;
  transform-origin: center bottom;
}

.top-customer .small-note {
  margin-top: 4px;
}

@keyframes topCustomerDance {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  20% {
    transform: translateY(-4px) rotate(-2deg) scale(1.02);
  }
  40% {
    transform: translateY(0px) rotate(2deg) scale(1.03);
  }
  60% {
    transform: translateY(-3px) rotate(-1deg) scale(1.02);
  }
  80% {
    transform: translateY(0px) rotate(1deg) scale(1.01);
  }
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
}


/* =====================================================
   V28 TOP CUSTOMER REAL DANCE
   Articulated Minecraft-style dancer with moving
   head, arms, and legs.
   ===================================================== */

.top-customer-dance {
  gap: 18px;
  min-height: 138px;
}

.mc-dancer {
  position: relative;
  width: 110px;
  height: 112px;
  flex: 0 0 110px;
}

.mc-shadow {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 64px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(185, 107, 131, 0.22) 0%, rgba(185, 107, 131, 0.08) 60%, transparent 80%);
  transform: translateX(-50%);
  animation: mcShadowDance 1.15s ease-in-out infinite;
}

.mc-character {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 72px;
  height: 92px;
  transform: translateX(-50%);
  animation: mcBodyBounce 1.15s ease-in-out infinite;
}

.mc-head,
.mc-body,
.mc-arm,
.mc-leg {
  position: absolute;
  background-image: var(--skin-url);
  background-repeat: no-repeat;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 16px rgba(185, 107, 131, 0.12));
}

.mc-head {
  left: 22px;
  top: 0;
  width: 28px;
  height: 28px;
  background-size: 224px 224px;
  background-position: -28px -28px;
  transform-origin: center 85%;
  animation: mcHeadNod 1.15s ease-in-out infinite;
}

.mc-body {
  left: 22px;
  top: 28px;
  width: 28px;
  height: 42px;
  background-size: 224px 224px;
  background-position: -70px -70px;
}

.mc-arm {
  top: 28px;
  width: 14px;
  height: 42px;
  background-size: 224px 224px;
  background-position: -154px -70px;
}

.mc-arm.left {
  left: 8px;
  transform-origin: 50% 10%;
  animation: mcArmLeft 1.15s ease-in-out infinite;
}

.mc-arm.right {
  left: 50px;
  transform-origin: 50% 10%;
  animation: mcArmRight 1.15s ease-in-out infinite;
}

.mc-leg {
  top: 70px;
  width: 14px;
  height: 42px;
  background-size: 224px 224px;
  background-position: -14px -70px;
}

.mc-leg.left {
  left: 22px;
  transform-origin: 50% 8%;
  animation: mcLegLeft 1.15s ease-in-out infinite;
}

.mc-leg.right {
  left: 36px;
  transform-origin: 50% 8%;
  animation: mcLegRight 1.15s ease-in-out infinite;
}

@keyframes mcBodyBounce {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateX(-50%) translateY(-4px) rotate(-2deg) scale(1.02); }
  50% { transform: translateX(-50%) translateY(1px) rotate(2deg) scale(1.01); }
  75% { transform: translateX(-50%) translateY(-3px) rotate(-1deg) scale(1.02); }
}

@keyframes mcHeadNod {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg) translateY(-1px); }
  50% { transform: rotate(10deg) translateY(0); }
  75% { transform: rotate(-6deg) translateY(-1px); }
}

@keyframes mcArmLeft {
  0%, 100% { transform: rotate(18deg) translateY(0); }
  25% { transform: rotate(-34deg) translateY(-2px); }
  50% { transform: rotate(26deg) translateY(0); }
  75% { transform: rotate(-22deg) translateY(-1px); }
}

@keyframes mcArmRight {
  0%, 100% { transform: rotate(-18deg) translateY(0); }
  25% { transform: rotate(34deg) translateY(-2px); }
  50% { transform: rotate(-26deg) translateY(0); }
  75% { transform: rotate(22deg) translateY(-1px); }
}

@keyframes mcLegLeft {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  25% { transform: rotate(20deg) translateY(-2px); }
  50% { transform: rotate(-14deg) translateY(0); }
  75% { transform: rotate(14deg) translateY(-1px); }
}

@keyframes mcLegRight {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  25% { transform: rotate(-20deg) translateY(-2px); }
  50% { transform: rotate(14deg) translateY(0); }
  75% { transform: rotate(-14deg) translateY(-1px); }
}

@keyframes mcShadowDance {
  0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 0.8; }
  25% { transform: translateX(-50%) scaleX(0.9); opacity: 0.65; }
  50% { transform: translateX(-50%) scaleX(1.05); opacity: 0.8; }
  75% { transform: translateX(-50%) scaleX(0.92); opacity: 0.68; }
}


/* =====================================================
   V29 MAKE-IT-RAIN STYLE TOP CUSTOMER DANCE
   Inspired by the vibe of a "make it rain" emote:
   raised arms, stepping legs, bigger bounce, money fall.
   ===================================================== */

.make-it-rain-dancer {
  width: 128px;
  height: 128px;
  flex-basis: 128px;
  overflow: visible;
}

.make-it-rain-dancer .mc-character {
  bottom: 16px;
  animation: makeRainBodyBounce 0.95s ease-in-out infinite;
}

.make-it-rain-dancer .mc-head {
  animation: makeRainHeadGroove 0.95s ease-in-out infinite;
}

.make-it-rain-dancer .mc-arm.left {
  animation: makeRainLeftArm 0.95s ease-in-out infinite;
}

.make-it-rain-dancer .mc-arm.right {
  animation: makeRainRightArm 0.95s ease-in-out infinite;
}

.make-it-rain-dancer .mc-leg.left {
  animation: makeRainLeftLeg 0.95s ease-in-out infinite;
}

.make-it-rain-dancer .mc-leg.right {
  animation: makeRainRightLeg 0.95s ease-in-out infinite;
}

.make-it-rain-dancer .mc-shadow {
  animation: makeRainShadow 0.95s ease-in-out infinite;
}

.mc-money-rain {
  position: absolute;
  inset: -8px -4px 0 -4px;
  z-index: 4;
  pointer-events: none;
  overflow: visible;
}

.mc-money-rain span {
  position: absolute;
  top: -18px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 12px;
  border-radius: 3px;
  color: #5a7d52;
  background: linear-gradient(135deg, #e8ffd9, #a8df8e);
  border: 1px solid rgba(90, 125, 82, 0.22);
  font-size: 9px;
  font-weight: 950;
  box-shadow: 0 6px 14px rgba(90, 125, 82, 0.12);
  animation: moneyFall 1.8s linear infinite;
}

.mc-money-rain span:nth-child(1) {
  left: 8px;
  animation-delay: -0.2s;
}

.mc-money-rain span:nth-child(2) {
  left: 32px;
  animation-delay: -0.75s;
  animation-duration: 1.55s;
}

.mc-money-rain span:nth-child(3) {
  left: 58px;
  animation-delay: -0.45s;
  animation-duration: 1.95s;
}

.mc-money-rain span:nth-child(4) {
  left: 82px;
  animation-delay: -1.1s;
  animation-duration: 1.7s;
}

.mc-money-rain span:nth-child(5) {
  left: 104px;
  animation-delay: -0.95s;
  animation-duration: 1.6s;
}

.mc-money-rain span:nth-child(6) {
  left: 46px;
  animation-delay: -1.35s;
  animation-duration: 2.05s;
}

@keyframes moneyFall {
  0% {
    opacity: 0;
    transform: translateY(-14px) translateX(0) rotate(0deg) scale(0.85);
  }

  12% {
    opacity: 1;
  }

  50% {
    transform: translateY(56px) translateX(10px) rotate(105deg) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(126px) translateX(-10px) rotate(220deg) scale(0.9);
  }
}

@keyframes makeRainBodyBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0) rotate(0deg) scale(1);
  }

  20% {
    transform: translateX(-50%) translateY(-7px) rotate(-4deg) scale(1.04);
  }

  40% {
    transform: translateX(-50%) translateY(1px) rotate(4deg) scale(1.02);
  }

  60% {
    transform: translateX(-50%) translateY(-5px) rotate(-2deg) scale(1.04);
  }

  80% {
    transform: translateX(-50%) translateY(1px) rotate(3deg) scale(1.02);
  }
}

@keyframes makeRainHeadGroove {
  0%, 100% {
    transform: rotate(0deg) translateY(0);
  }

  20% {
    transform: rotate(-14deg) translateY(-2px);
  }

  40% {
    transform: rotate(12deg) translateY(0);
  }

  60% {
    transform: rotate(-10deg) translateY(-2px);
  }

  80% {
    transform: rotate(10deg) translateY(0);
  }
}

@keyframes makeRainLeftArm {
  0%, 100% {
    transform: rotate(-118deg) translateY(-8px) translateX(-2px);
  }

  20% {
    transform: rotate(-72deg) translateY(-16px) translateX(-7px);
  }

  40% {
    transform: rotate(-132deg) translateY(-9px) translateX(-2px);
  }

  60% {
    transform: rotate(-62deg) translateY(-17px) translateX(-8px);
  }

  80% {
    transform: rotate(-122deg) translateY(-10px) translateX(-3px);
  }
}

@keyframes makeRainRightArm {
  0%, 100% {
    transform: rotate(118deg) translateY(-8px) translateX(2px);
  }

  20% {
    transform: rotate(72deg) translateY(-16px) translateX(7px);
  }

  40% {
    transform: rotate(132deg) translateY(-9px) translateX(2px);
  }

  60% {
    transform: rotate(62deg) translateY(-17px) translateX(8px);
  }

  80% {
    transform: rotate(122deg) translateY(-10px) translateX(3px);
  }
}

@keyframes makeRainLeftLeg {
  0%, 100% {
    transform: rotate(-10deg) translateY(0);
  }

  25% {
    transform: rotate(26deg) translateY(-3px) translateX(2px);
  }

  50% {
    transform: rotate(-18deg) translateY(1px);
  }

  75% {
    transform: rotate(18deg) translateY(-2px) translateX(2px);
  }
}

@keyframes makeRainRightLeg {
  0%, 100% {
    transform: rotate(10deg) translateY(0);
  }

  25% {
    transform: rotate(-26deg) translateY(-3px) translateX(-2px);
  }

  50% {
    transform: rotate(18deg) translateY(1px);
  }

  75% {
    transform: rotate(-18deg) translateY(-2px) translateX(-2px);
  }
}

@keyframes makeRainShadow {
  0%, 100% {
    transform: translateX(-50%) scaleX(1.08);
    opacity: 0.78;
  }

  25% {
    transform: translateX(-50%) scaleX(0.82);
    opacity: 0.52;
  }

  50% {
    transform: translateX(-50%) scaleX(1.16);
    opacity: 0.74;
  }

  75% {
    transform: translateX(-50%) scaleX(0.9);
    opacity: 0.56;
  }
}


/* =====================================================
   V30 BETTER MAKE-IT-RAIN STYLE EMOTE
   4.4s loop, arms throw money upward, body rocks,
   bills spray from both hands then fall.
   ===================================================== */

.make-it-rain-dancer {
  width: 142px;
  height: 138px;
  flex-basis: 142px;
  overflow: visible;
}

.make-it-rain-dancer .mc-character {
  left: 50%;
  bottom: 16px;
  animation: rainEmoteBody 4.4s cubic-bezier(.42, 0, .2, 1) infinite;
}

.make-it-rain-dancer .mc-head {
  animation: rainEmoteHead 4.4s cubic-bezier(.42, 0, .2, 1) infinite;
}

.make-it-rain-dancer .mc-arm.left {
  animation: rainEmoteLeftArm 4.4s cubic-bezier(.42, 0, .2, 1) infinite;
}

.make-it-rain-dancer .mc-arm.right {
  animation: rainEmoteRightArm 4.4s cubic-bezier(.42, 0, .2, 1) infinite;
}

.make-it-rain-dancer .mc-leg.left {
  animation: rainEmoteLeftLeg 4.4s cubic-bezier(.42, 0, .2, 1) infinite;
}

.make-it-rain-dancer .mc-leg.right {
  animation: rainEmoteRightLeg 4.4s cubic-bezier(.42, 0, .2, 1) infinite;
}

.make-it-rain-dancer .mc-shadow {
  animation: rainEmoteShadow 4.4s ease-in-out infinite;
}

.mc-money-rain {
  position: absolute;
  inset: -16px -10px -4px -10px;
  z-index: 8;
  pointer-events: none;
  overflow: visible;
}

.mc-money-rain .bill {
  position: absolute;
  left: 50%;
  top: 72px;
  width: 20px;
  height: 12px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  color: #50734a;
  background: linear-gradient(135deg, #efffe4, #a9df91);
  border: 1px solid rgba(72, 112, 62, 0.24);
  font-size: 9px;
  font-weight: 950;
  box-shadow: 0 6px 14px rgba(72, 112, 62, 0.13);
  opacity: 0;
  transform-origin: center;
  animation-name: rainBillThrow;
  animation-duration: 4.4s;
  animation-timing-function: cubic-bezier(.2,.8,.25,1);
  animation-iteration-count: infinite;
}

/* Bills alternate between left-hand and right-hand throws */
.mc-money-rain .bill:nth-child(1)  { --sx: -42px; --sy: 34px; --mx: -64px; --my: -36px; --ex: -72px; --ey: 124px; --r1: -50deg; --r2: 180deg; animation-delay: 0.10s; }
.mc-money-rain .bill:nth-child(2)  { --sx:  40px; --sy: 34px; --mx:  64px; --my: -38px; --ex:  76px; --ey: 126px; --r1:  52deg; --r2: -170deg; animation-delay: 0.28s; }
.mc-money-rain .bill:nth-child(3)  { --sx: -38px; --sy: 28px; --mx: -28px; --my: -58px; --ex: -18px; --ey: 130px; --r1: -35deg; --r2: 220deg; animation-delay: 0.54s; }
.mc-money-rain .bill:nth-child(4)  { --sx:  38px; --sy: 28px; --mx:  28px; --my: -58px; --ex:  16px; --ey: 132px; --r1:  35deg; --r2: -220deg; animation-delay: 0.74s; }
.mc-money-rain .bill:nth-child(5)  { --sx: -46px; --sy: 36px; --mx: -82px; --my: -22px; --ex: -96px; --ey: 116px; --r1: -70deg; --r2: 170deg; animation-delay: 1.05s; }
.mc-money-rain .bill:nth-child(6)  { --sx:  46px; --sy: 36px; --mx:  82px; --my: -24px; --ex:  96px; --ey: 118px; --r1:  70deg; --r2: -160deg; animation-delay: 1.25s; }
.mc-money-rain .bill:nth-child(7)  { --sx: -34px; --sy: 24px; --mx: -16px; --my: -66px; --ex: -44px; --ey: 132px; --r1: -20deg; --r2: 260deg; animation-delay: 1.65s; }
.mc-money-rain .bill:nth-child(8)  { --sx:  34px; --sy: 24px; --mx:  16px; --my: -66px; --ex:  44px; --ey: 130px; --r1:  20deg; --r2: -260deg; animation-delay: 1.82s; }
.mc-money-rain .bill:nth-child(9)  { --sx: -42px; --sy: 34px; --mx: -62px; --my: -34px; --ex: -58px; --ey: 122px; --r1: -58deg; --r2: 200deg; animation-delay: 2.36s; }
.mc-money-rain .bill:nth-child(10) { --sx:  42px; --sy: 34px; --mx:  62px; --my: -34px; --ex:  58px; --ey: 122px; --r1:  58deg; --r2: -200deg; animation-delay: 2.56s; }
.mc-money-rain .bill:nth-child(11) { --sx: -30px; --sy: 26px; --mx: -10px; --my: -62px; --ex: -4px;  --ey: 128px; --r1: -18deg; --r2: 240deg; animation-delay: 3.20s; }
.mc-money-rain .bill:nth-child(12) { --sx:  30px; --sy: 26px; --mx:  10px; --my: -62px; --ex:  4px;  --ey: 128px; --r1:  18deg; --r2: -240deg; animation-delay: 3.38s; }

@keyframes rainBillThrow {
  0% {
    opacity: 0;
    transform: translate(var(--sx), var(--sy)) rotate(0deg) scale(0.65);
  }
  7% {
    opacity: 1;
    transform: translate(var(--sx), var(--sy)) rotate(var(--r1)) scale(1);
  }
  23% {
    opacity: 1;
    transform: translate(var(--mx), var(--my)) rotate(var(--r1)) scale(1.05);
  }
  72% {
    opacity: 0.95;
    transform: translate(var(--ex), var(--ey)) rotate(var(--r2)) scale(0.9);
  }
  100% {
    opacity: 0;
    transform: translate(var(--ex), var(--ey)) rotate(var(--r2)) scale(0.72);
  }
}

@keyframes rainEmoteBody {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(0deg) scale(1); }
  8% { transform: translateX(-50%) translateY(-5px) rotate(-4deg) scale(1.03); }
  16% { transform: translateX(-50%) translateY(0) rotate(4deg) scale(1.01); }
  24% { transform: translateX(-50%) translateY(-4px) rotate(-3deg) scale(1.03); }
  32% { transform: translateX(-50%) translateY(0) rotate(3deg) scale(1.01); }
  44% { transform: translateX(-50%) translateY(-6px) rotate(-5deg) scale(1.04); }
  56% { transform: translateX(-50%) translateY(1px) rotate(5deg) scale(1.01); }
  68% { transform: translateX(-50%) translateY(-4px) rotate(-3deg) scale(1.03); }
  80% { transform: translateX(-50%) translateY(0) rotate(3deg) scale(1.01); }
  92% { transform: translateX(-50%) translateY(-3px) rotate(-2deg) scale(1.02); }
}

@keyframes rainEmoteHead {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  10% { transform: rotate(-12deg) translateY(-2px); }
  20% { transform: rotate(10deg) translateY(0); }
  34% { transform: rotate(-8deg) translateY(-1px); }
  50% { transform: rotate(13deg) translateY(-1px); }
  66% { transform: rotate(-10deg) translateY(-2px); }
  82% { transform: rotate(8deg) translateY(0); }
}

@keyframes rainEmoteLeftArm {
  0%, 100% { transform: rotate(-44deg) translateY(-4px) translateX(-5px); }
  10% { transform: rotate(-132deg) translateY(-18px) translateX(-8px); }
  18% { transform: rotate(-70deg) translateY(-12px) translateX(-8px); }
  30% { transform: rotate(-128deg) translateY(-18px) translateX(-8px); }
  42% { transform: rotate(-52deg) translateY(-7px) translateX(-6px); }
  54% { transform: rotate(-138deg) translateY(-19px) translateX(-9px); }
  68% { transform: rotate(-68deg) translateY(-12px) translateX(-8px); }
  82% { transform: rotate(-132deg) translateY(-18px) translateX(-8px); }
}

@keyframes rainEmoteRightArm {
  0%, 100% { transform: rotate(44deg) translateY(-4px) translateX(5px); }
  10% { transform: rotate(132deg) translateY(-18px) translateX(8px); }
  18% { transform: rotate(70deg) translateY(-12px) translateX(8px); }
  30% { transform: rotate(128deg) translateY(-18px) translateX(8px); }
  42% { transform: rotate(52deg) translateY(-7px) translateX(6px); }
  54% { transform: rotate(138deg) translateY(-19px) translateX(9px); }
  68% { transform: rotate(68deg) translateY(-12px) translateX(8px); }
  82% { transform: rotate(132deg) translateY(-18px) translateX(8px); }
}

@keyframes rainEmoteLeftLeg {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  15% { transform: rotate(20deg) translateY(-3px) translateX(3px); }
  30% { transform: rotate(-12deg) translateY(1px); }
  45% { transform: rotate(22deg) translateY(-3px) translateX(3px); }
  60% { transform: rotate(-14deg) translateY(0); }
  78% { transform: rotate(18deg) translateY(-2px) translateX(2px); }
}

@keyframes rainEmoteRightLeg {
  0%, 100% { transform: rotate(7deg) translateY(0); }
  15% { transform: rotate(-20deg) translateY(-3px) translateX(-3px); }
  30% { transform: rotate(12deg) translateY(1px); }
  45% { transform: rotate(-22deg) translateY(-3px) translateX(-3px); }
  60% { transform: rotate(14deg) translateY(0); }
  78% { transform: rotate(-18deg) translateY(-2px) translateX(-2px); }
}

@keyframes rainEmoteShadow {
  0%, 100% { transform: translateX(-50%) scaleX(1.08); opacity: 0.76; }
  20% { transform: translateX(-50%) scaleX(0.86); opacity: 0.52; }
  40% { transform: translateX(-50%) scaleX(1.16); opacity: 0.72; }
  60% { transform: translateX(-50%) scaleX(0.84); opacity: 0.5; }
  80% { transform: translateX(-50%) scaleX(1.12); opacity: 0.72; }
}


/* =====================================================
   V31 STATIC TOP CUSTOMER AVATAR
   Removes dancing/money effects and shows a clean,
   still Minecraft avatar render.
   ===================================================== */

.top-customer {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 116px;
}

.avatar-static-img,
.avatar-player-img {
  width: 96px;
  height: 96px;
  display: block;
  object-fit: contain;
  image-rendering: pixelated;
  padding: 2px;
  border-radius: 22px;
  border: 1px solid rgba(255, 182, 193, 0.24);
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(255,240,244,0.96));
  box-shadow: 0 12px 28px rgba(185, 107, 131, 0.14);
  animation: none !important;
  transform: none !important;
}

.mc-dancer,
.make-it-rain-dancer,
.mc-character,
.mc-money-rain,
.mc-shadow,
.mc-head,
.mc-body,
.mc-arm,
.mc-leg {
  animation: none !important;
}

.mc-money-rain {
  display: none !important;
}


/* =====================================================
   V32 BEDROCK USERNAME SUPPORT
   ===================================================== */

.bedrock-login-note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.bedrock-login-note strong {
  color: var(--pink-deep);
  font-weight: 950;
}

.username-panel input::placeholder,
.login-panel input::placeholder {
  color: rgba(91, 71, 83, 0.62);
}




/* =====================================================
   V35 REQUIRED POLICY GATE WITH FULL POLICY TEXT
   ===================================================== */

html.policy-locked,
body.policy-locked {
  overflow: hidden !important;
}

.policy-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 182, 193, 0.45), transparent 34%),
    radial-gradient(circle at 80% 80%, rgba(255, 138, 164, 0.32), transparent 36%),
    rgba(255, 245, 248, 0.94);
  backdrop-filter: blur(12px);
}

.policy-gate-card,
.policy-blocked-card {
  width: min(720px, 100%);
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(255, 182, 193, 0.5);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 90px rgba(185, 107, 131, 0.24);
  color: var(--text);
  text-align: left;
}

.policy-gate-card-wide {
  max-height: calc(100vh - 44px);
  display: flex;
  flex-direction: column;
}

.policy-gate-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.policy-gate-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: white;
  font-weight: 950;
  box-shadow: 0 14px 34px rgba(185, 107, 131, 0.24);
}

.policy-gate-card h2,
.policy-blocked-card h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text);
}

.policy-gate-card p,
.policy-blocked-card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 12px;
}

.policy-gate-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.policy-gate-tab {
  border: 1px solid rgba(255, 182, 193, 0.48);
  background: rgba(255, 245, 248, 0.78);
  color: var(--muted);
  cursor: pointer;
  font-weight: 950;
  border-radius: 999px;
  padding: 10px 14px;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.policy-gate-tab:hover {
  transform: translateY(-1px);
}

.policy-gate-tab.active {
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(185, 107, 131, 0.18);
}

.policy-gate-text {
  max-height: 320px;
  overflow: auto;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 182, 193, 0.42);
  background: rgba(255, 245, 248, 0.72);
  scrollbar-color: var(--pink-deep) rgba(255, 182, 193, 0.24);
}

.policy-gate-text h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 22px;
}

.policy-gate-text p {
  margin-bottom: 12px;
}

.policy-gate-text strong {
  color: var(--pink-deep);
}

.policy-gate-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.45;
}

.policy-gate-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--pink-deep);
}

.policy-gate-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.policy-accept-btn,
.policy-decline-btn {
  border: 0;
  cursor: pointer;
  font-weight: 950;
  border-radius: 999px;
  padding: 14px 20px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.policy-accept-btn {
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  box-shadow: 0 16px 32px rgba(185, 107, 131, 0.24);
}

.policy-accept-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

.policy-decline-btn {
  color: var(--muted);
  background: rgba(255, 245, 248, 0.9);
  border: 1px solid rgba(255, 182, 193, 0.42);
}

.policy-accept-btn:not(:disabled):hover,
.policy-decline-btn:hover {
  transform: translateY(-2px);
}

.policy-gate-small {
  margin-top: 14px !important;
  font-size: 12px;
}

.policy-blocked-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 182, 193, 0.45), transparent 34%),
    radial-gradient(circle at 80% 80%, rgba(255, 138, 164, 0.32), transparent 36%),
    #fff5f8;
}

.policy-blocked-card {
  text-align: center;
}

.policy-blocked-card .policy-gate-icon {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 14px;
}

@media (max-width: 560px) {
  .policy-gate-overlay {
    padding: 14px;
  }

  .policy-gate-card,
  .policy-blocked-card {
    padding: 22px;
    border-radius: 24px;
  }

  .policy-gate-top {
    flex-direction: column;
  }

  .policy-gate-text {
    max-height: 280px;
  }

  .policy-gate-actions {
    flex-direction: column;
  }

  .policy-accept-btn,
  .policy-decline-btn {
    width: 100%;
  }
}


/* =====================================================
   V37 POLICY POPUP EACH VISIT
   Uses session-based acceptance, so the policy gate
   appears again after the tab/browser is closed.
   ===================================================== */
