/* PartyRust New Year homepage v4 - scoped to body.ny-v4 */

body.ny-v4 .snow { z-index: 4; }

/* ---------- Under-tree privilege cards: art lives inside one rounded panel ---------- */
body.ny-v4 .ny-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 8px;
}

body.ny-v4 .priv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(42, 28, 78, 0.55) 0%, rgba(16, 10, 32, 0.96) 42%, rgba(12, 8, 26, 0.98) 100%);
  border: 1px solid rgba(200, 176, 255, 0.18);
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    0 18px 40px rgba(6, 0, 18, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  min-height: 0;
}

body.ny-v4 .priv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 130, 255, 0.45);
  box-shadow:
    0 22px 48px rgba(155, 47, 232, 0.22),
    0 0 0 1px rgba(200, 130, 255, 0.18);
}

body.ny-v4 .priv-card .gift-bow {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 52px;
  height: 30px;
  transform: translateX(-50%);
  z-index: 3;
  filter: drop-shadow(0 4px 8px rgba(155, 47, 232, 0.45));
  pointer-events: none;
}

body.ny-v4 .priv-card .gift-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 58%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #E8A6FF 0%, #9B2FE8 70%, transparent 100%);
  opacity: 0.28;
  z-index: 2;
  pointer-events: none;
}

body.ny-v4 .priv-art {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(155, 47, 232, 0.22), transparent 62%),
    #0a0614;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

body.ny-v4 .priv-art::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(12, 8, 26, 0.92));
  pointer-events: none;
}

body.ny-v4 .priv-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

body.ny-v4 .priv-card .badge-hit {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  background: linear-gradient(135deg, #DF5CFF, #9B2FE8);
  color: #F7F1FF;
  font-family: Unbounded, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(155, 47, 232, 0.45);
}

body.ny-v4 .priv-card.is-hit {
  border-color: rgba(223, 92, 255, 0.55);
  box-shadow:
    0 18px 44px rgba(155, 47, 232, 0.32),
    0 0 0 1px rgba(223, 92, 255, 0.28),
    inset 0 0 40px rgba(155, 47, 232, 0.08);
}

body.ny-v4 .priv-body {
  position: relative;
  z-index: 3;
  padding: 4px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

body.ny-v4 .priv-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

body.ny-v4 .priv-card h3 {
  margin: 0;
  font-family: Unbounded, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #F7F1FF;
  line-height: 1.1;
}

body.ny-v4 .priv-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

body.ny-v4 .priv-meta .dur,
body.ny-v4 .gift-title-row .dur {
  color: #C4B0E0;
  font-size: 13px;
  font-weight: 600;
}

body.ny-v4 .price-lg {
  font-family: Unbounded, sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #F7F1FF;
  letter-spacing: -0.02em;
}

body.ny-v4 .priv-card .perks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

body.ny-v4 .priv-card .perks li {
  position: relative;
  padding-left: 12px;
  color: #C4B0E0;
  font-size: 12.5px;
  line-height: 1.35;
}

body.ny-v4 .priv-card .perks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #C882FF;
  box-shadow: 0 0 6px #C882FF;
}

body.ny-v4 .priv-card .btn-buy,
body.ny-v4 .gift .btn-buy,
body.ny-v4 .priv-modal .btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #C45CFF 0%, #9B2FE8 100%);
  color: #F7F1FF;
  font-family: Unbounded, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(155, 47, 232, 0.35);
}

body.ny-v4 .priv-card.is-hit .btn-buy {
  background: linear-gradient(180deg, #E070FF 0%, #B13AFF 100%);
  box-shadow: 0 8px 24px rgba(223, 92, 255, 0.45);
}

/* Lower shop privilege cards: price once, button just Купить */
body.ny-v4 .gift-grid .gift .gift-tag { display: none; }

body.ny-v4 .gift-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

body.ny-v4 .gift-title-row .price-lg { font-size: 18px; }

/* ---------- Privilege detail modal ---------- */
body.ny-v4 .modal-layer:not([hidden]) {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 36px 24px 48px;
  overflow: auto;
}

body.ny-v4 .priv-modal {
  position: relative;
  width: 1080px;
  max-width: calc(100vw - 48px);
  background:
    linear-gradient(180deg, #1e1438 0%, #140c28 40%, #100a20 100%);
  border: 1px solid rgba(200, 130, 255, 0.28);
  border-radius: 24px;
  padding: 28px 28px 22px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 80px rgba(155, 47, 232, 0.18);
  color: #F7F1FF;
}

body.ny-v4 .priv-modal > .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

body.ny-v4 .priv-modal-top {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

body.ny-v4 .priv-modal-art {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(155, 47, 232, 0.28), transparent 65%),
    #0a0614;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(200, 130, 255, 0.16);
}

body.ny-v4 .priv-modal-art img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

body.ny-v4 .priv-modal-info h2 {
  margin: 0 0 8px;
  font-family: Unbounded, sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.ny-v4 .priv-lead {
  margin: 0 0 16px;
  color: #C4B0E0;
  font-size: 14px;
  line-height: 1.5;
}

body.ny-v4 .perk-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.ny-v4 .perk-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(200, 130, 255, 0.12);
  border-radius: 12px;
  padding: 9px 14px;
  min-height: 52px;
}

body.ny-v4 .perk-ico {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(155, 47, 232, 0.18);
  overflow: hidden;
}

body.ny-v4 .perk-ico img,
body.ny-v4 .perk-ico svg {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

body.ny-v4 .perk-ico.ico-discord {
  background: #5865F2;
}

body.ny-v4 .perk-ico.ico-discord svg { color: #fff; }

body.ny-v4 .perk-label {
  font-size: 14.5px;
  color: #F7F1FF;
  line-height: 1.35;
}

body.ny-v4 .priv-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(200, 130, 255, 0.14);
}

body.ny-v4 .priv-buy-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body.ny-v4 .priv-buy-meta .dur {
  color: #C4B0E0;
  font-size: 13px;
  font-weight: 600;
}

body.ny-v4 .priv-buy-meta .price-lg {
  font-size: 28px;
  line-height: 1.1;
}

body.ny-v4 .priv-modal .btn-buy {
  width: auto;
  min-width: 180px;
  margin-top: 0;
  padding: 14px 28px;
  font-size: 15px;
}

body.ny-v4 .priv-note {
  margin: 10px 0 0;
  color: #8E79A8;
  font-size: 12px;
}

body.ny-v4 .kits {
  margin-top: 26px;
  padding-top: 8px;
  border-top: 1px solid rgba(200, 130, 255, 0.12);
}

body.ny-v4 .kit-block { margin-bottom: 18px; }

body.ny-v4 .kit-block h3 {
  margin: 0 0 10px;
  font-family: Unbounded, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #F7F1FF;
}

body.ny-v4 .kit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.ny-v4 .kit-item {
  position: relative;
  width: 68px;
  height: 68px;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(80, 50, 130, 0.45), #151024 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.ny-v4 .kit-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

body.ny-v4 .kit-qty {
  position: absolute;
  right: 4px;
  bottom: 3px;
  font-size: 11px;
  font-weight: 800;
  color: #F7F1FF;
  text-shadow: 0 1px 3px #000, 0 0 6px rgba(0, 0, 0, 0.8);
  letter-spacing: -0.02em;
  line-height: 1;
}

/* ---------- Premium Колесо удачи ---------- */
body.ny-v4 .luck {
  position: relative;
  padding: 72px 0 80px;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(155, 47, 232, 0.22), transparent 52%),
    linear-gradient(180deg, #100826 0%, #120924 40%, #0c0718 100%);
}

body.ny-v4 .luck-head { text-align: center; margin-bottom: 28px; }
body.ny-v4 .luck-head h2 {
  margin: 0 0 8px;
  font-family: Unbounded, sans-serif;
  font-size: 36px;
}
body.ny-v4 .luck-head .section-sub {
  margin: 0 auto;
  max-width: 720px;
  color: #C4B0E0;
}

body.ny-v4 .luck-stage {
  position: relative;
  max-width: 980px;
  margin: 0 auto 8px;
  padding: 8px 0 0;
}

body.ny-v4 .luck-wheel-wrap {
  position: relative;
  width: 900px;
  max-width: 100%;
  margin: 0 auto;
}

body.ny-v4 .luck-wheel-wrap svg.luck-wheel {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.55));
}

body.ny-v4 .luck-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: -8px 0 22px;
  position: relative;
  z-index: 2;
}

body.ny-v4 .btn-spin-lg {
  min-width: 320px;
  padding: 16px 36px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #E070FF 0%, #9B2FE8 100%);
  color: #F7F1FF;
  font-family: Unbounded, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 12px 36px rgba(155, 47, 232, 0.5),
    0 0 40px rgba(223, 92, 255, 0.28);
  cursor: pointer;
}

body.ny-v4 .btn-spin-lg.is-wait {
  background: linear-gradient(180deg, #4a2a72 0%, #2e184c 100%);
  box-shadow:
    0 0 0 1px rgba(200, 130, 255, 0.28),
    0 10px 28px rgba(0, 0, 0, 0.35);
  opacity: 0.92;
}

body.ny-v4 .spin-hint {
  color: #C4B0E0;
  font-size: 13px;
}

body.ny-v4 .luck-binds {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 auto 28px;
}

body.ny-v4 .bind-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 130, 255, 0.2);
  color: #F7F1FF;
  font-size: 13px;
  font-weight: 600;
}

body.ny-v4 .bind-pill svg { width: 16px; height: 16px; }
body.ny-v4 .bind-pill small {
  display: block;
  color: #C4B0E0;
  font-weight: 500;
  font-size: 11px;
}

body.ny-v4 .bind-kicker {
  text-align: center;
  color: #C4B0E0;
  font-size: 13px;
  margin: 0 0 10px;
}

body.ny-v4 .prize-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  padding-top: 8px;
}

body.ny-v4 .prize-grid:has(.has-open-tip) {
  padding-top: 168px;
}

body.ny-v4 .prize-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px 12px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(40, 28, 70, 0.7), rgba(16, 10, 32, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: visible;
}

body.ny-v4 .prize-tile .rarity-bar {
  position: absolute;
  top: 0; left: 10px; right: 10px;
  height: 3px;
  border-radius: 0 0 3px 3px;
}

body.ny-v4 .prize-tile img.prize-ico,
body.ny-v4 .prize-tile .prize-bonus {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}

body.ny-v4 .prize-bonus {
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: Unbounded, sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #0c1a14;
  background: radial-gradient(circle at 35% 30%, #b8ffe0, #5dffb2 55%, #1aa86a);
  box-shadow: 0 0 18px rgba(93, 255, 178, 0.45);
}

body.ny-v4 .prize-tile .prize-qty {
  font-size: 11px;
  font-weight: 700;
  color: #C4B0E0;
}

body.ny-v4 .prize-tile .prize-name {
  font-size: 12px;
  font-weight: 700;
  color: #F7F1FF;
  text-align: center;
  line-height: 1.25;
}

body.ny-v4 .prize-tile .kind-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #C4B0E0;
}

body.ny-v4 .prize-tile.r-max { border-color: rgba(255, 196, 80, 0.35); }
body.ny-v4 .prize-tile.r-epic { border-color: rgba(223, 92, 255, 0.32); }
body.ny-v4 .prize-tile.r-rare { border-color: rgba(80, 180, 255, 0.28); }

body.ny-v4 .prize-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%);
  width: 200px;
  padding: 12px 14px 10px;
  background: #1a1234;
  border: 1px solid rgba(200, 130, 255, 0.35);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  z-index: 5;
  text-align: left;
}

body.ny-v4 .prize-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px; height: 10px;
  background: #1a1234;
  border-right: 1px solid rgba(200, 130, 255, 0.35);
  border-bottom: 1px solid rgba(200, 130, 255, 0.35);
  transform: translateX(-50%) rotate(45deg);
}

body.ny-v4 .prize-tip dl { margin: 0; }
body.ny-v4 .prize-tip dt {
  font-size: 10px;
  color: #8E79A8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
body.ny-v4 .prize-tip dd {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #F7F1FF;
}

body.ny-v4 .luck-how, body.ny-v4 .luck-faq {
  max-width: 860px;
  margin: 36px auto 0;
}
body.ny-v4 .luck-how h3, body.ny-v4 .luck-faq h3 {
  font-family: Unbounded, sans-serif;
  font-size: 20px;
  margin: 0 0 12px;
}
body.ny-v4 .luck-how p {
  color: #C4B0E0;
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 10px;
}

body.ny-v4 .gift { position: relative; cursor: pointer; }
body.ny-v4 .gift .badge-hit {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  background: linear-gradient(135deg, #DF5CFF, #9B2FE8);
  color: #F7F1FF;
  font-family: Unbounded, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(155, 47, 232, 0.45);
}

body.ny-v4 .modal-open { overflow: hidden; }


/* v4 polish */
body.ny-v4 #gifts,
body.ny-v4 .square {
  padding-bottom: 36px;
}

body.ny-v4 .gift .badge-hit {
  right: auto;
  left: 12px;
  top: 12px;
}

body.ny-v4 .priv-modal.modal-card {
  max-height: none;
  overflow: visible;
  padding-bottom: 28px;
}

body.ny-v4 .kit-item {
  background:
    radial-gradient(ellipse at 50% 36%, rgba(120, 80, 180, 0.38), #1c1533 68%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.ny-v4 .prize-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

body.ny-v4 .luck-cta-row {
  margin: 4px 0 22px;
}

/* ===== v4 follow-up: stacked card headers, bullets, EXP shop, binds, prizes ===== */

body.ny-v4 .priv-top,
body.ny-v4 .gift-title-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  white-space: normal;
}

body.ny-v4 .priv-card .perks li,
body.ny-v4 .gift .perks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  padding-left: 0;
  line-height: 1.35;
}

body.ny-v4 .priv-card .perks li::before,
body.ny-v4 .gift .perks li::before {
  content: "";
  position: static;
  left: auto;
  top: auto;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: calc((1.35em - 8px) / 2);
  border-radius: 2px;
  background: linear-gradient(135deg, #F0C4FF 0%, #DF5CFF 42%, #9B2FE8 100%);
  box-shadow: 0 0 8px rgba(223, 92, 255, 0.95), 0 0 2px #F7F1FF;
  transform: rotate(45deg);
}

body.ny-v4 .perk-ico.ico-tp {
  background: rgba(155, 47, 232, 0.22);
}
body.ny-v4 .perk-ico.ico-tp img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Header: EXP balance next to user */
body.ny-v4 .exp-balance {
  border-color: rgba(157, 232, 255, 0.28);
  gap: 8px;
}
body.ny-v4 .exp-mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(180deg, #9B2FE8, #6d16c9);
  color: #F7F1FF;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-family: Unbounded, sans-serif;
}
body.ny-v4 .exp-balance b { color: #F7F1FF; }
body.ny-v4 .user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px 0 6px;
  border-radius: 999px;
  background: rgba(18, 9, 36, 0.7);
  border: 1px solid var(--line);
}
body.ny-v4 .user-ava {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #C45CFF, #9B2FE8);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
body.ny-v4 .user-name {
  font-size: 13px;
  font-weight: 700;
  color: #F7F1FF;
}

/* Currency toggle + EXP item shop */
body.ny-v4 .currency-toggle {
  display: flex;
  gap: 0;
  padding: 4px;
  border-radius: 12px;
  background: rgba(18, 10, 32, 0.8);
  border: 1px solid rgba(200, 130, 255, 0.25);
}
body.ny-v4 .cur-btn {
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #C4B0E0;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
body.ny-v4 .cur-btn.is-active {
  background: linear-gradient(180deg, #C45CFF, #9B2FE8);
  color: #F7F1FF;
  box-shadow: 0 4px 14px rgba(155, 47, 232, 0.4);
}
body.ny-v4 .catalog.currency-exp .price-rub,
body.ny-v4 .catalog.currency-rub .price-exp { display: none; }
body.ny-v4 .catalog.currency-rub .price-rub,
body.ny-v4 .catalog.currency-exp .price-exp { display: inline; }

body.ny-v4 .shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
body.ny-v4 .shop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 14px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(42, 28, 78, 0.7), rgba(16, 10, 32, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-align: center;
  min-width: 0;
}
body.ny-v4 .shop-card-art {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: radial-gradient(ellipse at 50% 36%, rgba(120, 80, 180, 0.35), #12091e 70%);
  border: 1px solid rgba(200, 130, 255, 0.16);
}
body.ny-v4 .shop-card-art img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
}
body.ny-v4 .shop-card h3 {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: #F7F1FF;
  line-height: 1.3;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.ny-v4 .shop-card .shop-cat {
  font-size: 11px;
  font-weight: 700;
  color: #C4B0E0;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}
body.ny-v4 .shop-price {
  font-family: Unbounded, sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #F7F1FF;
}
body.ny-v4 .shop-card .btn-buy {
  width: 100%;
  margin-top: 2px;
  justify-content: center;
  height: 36px;
  font-size: 12.5px;
}
body.ny-v4 .catalog-more {
  text-align: right;
  margin: 12px 0 0;
}

/* Товар дня за EXP */
body.ny-v4 .deals-board {
  margin: 8px 0 28px;
  padding: 22px 22px 20px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(223, 92, 255, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(36, 22, 68, 0.92), rgba(14, 8, 28, 0.96));
  border: 1px solid rgba(223, 92, 255, 0.35);
  box-shadow: 0 16px 40px rgba(155, 47, 232, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
body.ny-v4 .deal-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
body.ny-v4 .deal-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E8A6FF;
  margin-bottom: 4px;
}
body.ny-v4 .deal-head h3 {
  margin: 0;
  font-family: Unbounded, sans-serif;
  font-size: 22px;
  color: #F7F1FF;
}
body.ny-v4 .deal-head .section-sub { margin: 6px 0 0; max-width: 560px; }
body.ny-v4 .deal-timer {
  text-align: right;
  flex-shrink: 0;
}
body.ny-v4 .deal-timer .t-lab {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #C4B0E0;
  margin-bottom: 6px;
}
body.ny-v4 .t-segs { display: flex; align-items: center; gap: 4px; }
body.ny-v4 .t-seg {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
  padding: 8px 8px 6px;
  border-radius: 12px;
  background: #12091e;
  border: 1px solid rgba(200, 130, 255, 0.28);
}
body.ny-v4 .t-seg b {
  font-family: Unbounded, sans-serif;
  font-size: 20px;
  color: #F7F1FF;
  line-height: 1;
}
body.ny-v4 .t-seg small { font-size: 10px; color: #C4B0E0; font-weight: 700; margin-top: 2px; }
body.ny-v4 .t-col { color: #C882FF; font-size: 18px; font-weight: 800; padding-bottom: 10px; }
body.ny-v4 .deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
body.ny-v4 .deal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(48, 30, 88, 0.8), rgba(16, 10, 32, 0.96));
  border: 1px solid rgba(223, 92, 255, 0.28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  text-align: center;
}
body.ny-v4 .deal-off {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #DF5CFF, #9B2FE8);
  color: #fff;
  font-family: Unbounded, sans-serif;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(155, 47, 232, 0.45);
}
body.ny-v4 .deal-art {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
}
body.ny-v4 .deal-art img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45));
}
body.ny-v4 .deal-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #F7F1FF;
}
body.ny-v4 .deal-prices { display: flex; flex-direction: column; gap: 2px; align-items: center; }
body.ny-v4 .deal-prices s {
  color: #8E79A8;
  font-size: 13px;
  font-weight: 600;
}
body.ny-v4 .deal-prices strong {
  font-family: Unbounded, sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #F7F1FF;
}
body.ny-v4 .deal-card .btn-buy {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

/* Bind board under the spin button */
body.ny-v4 .bind-board {
  max-width: 980px;
  margin: 8px auto 28px;
  padding: 22px 22px 20px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(223, 92, 255, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(42, 22, 78, 0.95), rgba(16, 8, 32, 0.96));
  border: 1px solid rgba(223, 92, 255, 0.5);
  box-shadow:
    0 0 0 1px rgba(155, 47, 232, 0.2),
    0 16px 48px rgba(155, 47, 232, 0.28),
    0 0 40px rgba(223, 92, 255, 0.16);
}
body.ny-v4 .bind-board-head { text-align: center; margin-bottom: 16px; }
body.ny-v4 .bind-board-head h3 {
  margin: 0 0 6px;
  font-family: Unbounded, sans-serif;
  font-size: 22px;
  color: #F7F1FF;
}
body.ny-v4 .bind-board-head p {
  margin: 0;
  color: #C4B0E0;
  font-size: 14px;
}
body.ny-v4 .bind-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
body.ny-v4 .bind-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: rgba(12, 8, 26, 0.7);
  border: 1px solid rgba(200, 130, 255, 0.22);
}
body.ny-v4 .bind-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
body.ny-v4 .bind-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(155, 47, 232, 0.28);
  color: #F7F1FF;
}
body.ny-v4 .bind-ico svg { width: 22px; height: 22px; }
body.ny-v4 .bind-plus {
  font-family: Unbounded, sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #F7F1FF;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #DF5CFF, #9B2FE8);
  box-shadow: 0 4px 14px rgba(155, 47, 232, 0.45);
}
body.ny-v4 .bind-card h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #F7F1FF;
}
body.ny-v4 .btn-bind {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #E070FF, #9B2FE8);
  color: #F7F1FF;
  font-family: Unbounded, sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(155, 47, 232, 0.45), 0 0 16px rgba(223, 92, 255, 0.25);
}

/* Prize rarity stripes: gold only on legendary (recycler, mini) */
body.ny-v4 .prize-tile.r-max { border-color: rgba(255, 180, 74, 0.45); }
body.ny-v4 .prize-tile.r-epic { border-color: rgba(223, 92, 255, 0.4); }
body.ny-v4 .prize-tile.r-rare { border-color: rgba(155, 47, 232, 0.38); }

/* ===== DJ turntable deck ===== */
body.ny-v4 .dj-deck {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 28px;
  padding: 22px 22px 20px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(155, 47, 232, 0.16), transparent 46%),
    linear-gradient(180deg, #1a1328 0%, #0e0a16 55%, #0a0710 100%);
  border: 1px solid rgba(200, 130, 255, 0.28);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
body.ny-v4 .dj-platter { position: relative; }
body.ny-v4 .turntable {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
body.ny-v4 .dj-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
body.ny-v4 .dj-pad {
  height: 92px;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, #F0A0FF 0%, #DF5CFF 38%, #9B2FE8 100%);
  color: #F7F1FF;
  font-family: Unbounded, sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 0 0 2px rgba(247, 241, 255, 0.18),
    0 12px 32px rgba(155, 47, 232, 0.55),
    0 0 40px rgba(223, 92, 255, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.35);
}
body.ny-v4 .dj-deck .bind-board {
  margin: 0;
  max-width: none;
  padding: 16px 14px 14px;
}
body.ny-v4 .dj-deck .bind-board-head h3 { font-size: 18px; }
body.ny-v4 .dj-deck .bind-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.ny-v4 .dj-deck .bind-card {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  grid-template-areas: "ico name plus" "btn btn btn";
  align-items: center;
  gap: 6px 10px;
  padding: 10px 12px;
}
body.ny-v4 .dj-deck .bind-card-top { display: contents; }
body.ny-v4 .dj-deck .bind-ico { grid-area: ico; }
body.ny-v4 .dj-deck .bind-card h4 { grid-area: name; margin: 0; font-size: 13.5px; }
body.ny-v4 .dj-deck .bind-plus { grid-area: plus; }
body.ny-v4 .dj-deck .btn-bind { grid-area: btn; height: 36px; font-size: 13px; width: 100%; }
body.ny-v4 .disco-stage .stage-buy .price-lg { letter-spacing: 0; word-spacing: 0.12em; }

/* ===== Disco DJ-stage privilege modal ===== */
body.ny-v4 .priv-modal.disco-stage {
  padding: 0 0 20px;
  overflow: visible;
  max-height: none;
  background: #12091c;
  border: 1px solid rgba(223, 92, 255, 0.35);
}
body.ny-v4 .disco-stage > .modal-close { z-index: 5; }
body.ny-v4 .stage-hero {
  position: relative;
  padding: 28px 28px 18px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(223, 92, 255, 0.22), transparent 46%),
    radial-gradient(ellipse at 80% 0%, rgba(155, 47, 232, 0.18), transparent 42%),
    linear-gradient(180deg, #1c1034, #12091c 70%);
}
body.ny-v4 .stage-beams { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
body.ny-v4 .beam {
  position: absolute;
  top: -40px;
  width: 110px;
  height: 340px;
  background: linear-gradient(180deg, rgba(223, 92, 255, 0.5), rgba(155, 47, 232, 0.12), transparent);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  filter: blur(10px);
  opacity: 0.7;
}
body.ny-v4 .beam.b1 { left: 8%; transform: rotate(-12deg); }
body.ny-v4 .beam.b2 { left: 22%; width: 80px; background: linear-gradient(180deg, rgba(200, 130, 255, 0.4), transparent); transform: rotate(6deg); }
body.ny-v4 .beam.b3 { left: 36%; transform: rotate(16deg); opacity: 0.45; }
body.ny-v4 .stage-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 26px;
  align-items: start;
}
body.ny-v4 .stage-frame {
  position: relative;
  padding: 10px 10px 14px;
  border-radius: 22px;
  background: #0a0614;
  box-shadow:
    0 0 0 2px #9B2FE8,
    0 0 0 5px rgba(18, 9, 36, 0.95),
    0 0 0 7px #DF5CFF,
    0 0 36px rgba(223, 92, 255, 0.45),
    inset 0 0 24px rgba(155, 47, 232, 0.25);
}
body.ny-v4 .stage-bulbs {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: -7px;
  left: 16px;
  right: 16px;
  z-index: 2;
}
body.ny-v4 .stage-bulbs i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #F7F1FF;
  box-shadow: 0 0 10px #DF5CFF, 0 0 4px #F7F1FF;
}
body.ny-v4 .stage-bulbs i:nth-child(odd) { background: #DF5CFF; }
body.ny-v4 .stage-frame img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
}
body.ny-v4 .stage-info h2 {
  margin: 0 0 8px;
  font-family: Unbounded, sans-serif;
  font-size: 32px;
  font-weight: 800;
}
body.ny-v4 .disco-stage .priv-lead { margin: 0 0 14px; }
body.ny-v4 .perk-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
body.ny-v4 .perk-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(58, 22, 112, 0.45), rgba(18, 9, 36, 0.8));
  border: 1px solid rgba(223, 92, 255, 0.28);
  box-shadow: 0 0 12px rgba(155, 47, 232, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
body.ny-v4 .perk-chip .perk-ico {
  width: 34px;
  height: 34px;
}
body.ny-v4 .perk-chip .perk-label {
  font-size: 13px;
  font-weight: 600;
  color: #F7F1FF;
  line-height: 1.3;
}
body.ny-v4 .stage-buy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 16px;
}
body.ny-v4 .dur-sel {
  display: flex;
  gap: 0;
  padding: 4px;
  border-radius: 14px;
  background: rgba(10, 6, 20, 0.85);
  border: 1px solid rgba(200, 130, 255, 0.28);
}
body.ny-v4 .dur-btn {
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #C4B0E0;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
body.ny-v4 .dur-btn.is-on {
  background: linear-gradient(180deg, #E070FF, #9B2FE8);
  color: #F7F1FF;
  box-shadow: 0 4px 14px rgba(155, 47, 232, 0.4);
}
body.ny-v4 .disco-stage .stage-buy .price-lg {
  font-size: 30px;
  line-height: 1;
}
body.ny-v4 .disco-stage .stage-buy .btn-buy {
  width: auto;
  min-width: 180px;
  height: 50px;
  margin: 0;
  font-size: 16px;
  padding: 0 28px;
}
body.ny-v4 .disco-stage .priv-note { margin: 10px 0 0; }

/* Neon equipment racks */
body.ny-v4 .kit-racks {
  padding: 6px 22px 8px;
}
body.ny-v4 .kit-rack {
  margin-bottom: 14px;
  padding: 10px 12px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(22, 14, 40, 0.96), rgba(10, 6, 20, 0.98));
  border: 1px solid rgba(200, 130, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}
body.ny-v4 .rack-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 4px 4px 8px;
  border-bottom: 1px solid rgba(223, 92, 255, 0.18);
}
body.ny-v4 .rack-rail h3 {
  margin: 0;
  flex: 1;
  text-align: center;
  font-family: Unbounded, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #E8A6FF;
}
body.ny-v4 .rack-bolt {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #E8E0F8, #6A5A80);
  box-shadow: inset 0 -1px 1px #000;
}
body.ny-v4 .kit-rack .kit-grid { gap: 7px; }
body.ny-v4 .kit-rack .kit-item {
  width: 64px;
  height: 64px;
  border-radius: 8px;
}
body.ny-v4 .kit-rack.rack-gear .kit-item {
  background: radial-gradient(ellipse at 50% 36%, rgba(223, 92, 255, 0.28), #1a1028 70%);
  border-color: rgba(223, 92, 255, 0.28);
}
body.ny-v4 .kit-rack.rack-res .kit-item {
  background: radial-gradient(ellipse at 50% 36%, rgba(90, 70, 180, 0.4), #141028 70%);
  border-color: rgba(150, 130, 255, 0.28);
}
body.ny-v4 .kit-rack.rack-comp .kit-item {
  background: radial-gradient(ellipse at 50% 36%, rgba(155, 47, 232, 0.32), #160c28 70%);
  border-color: rgba(200, 130, 255, 0.26);
}


/* Gift cards: name above; price + duration pill on one line */
body.ny-v4 .priv-top,
body.ny-v4 .gift-title-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
}
body.ny-v4 .priv-card .priv-meta,
body.ny-v4 .gift-title-row .priv-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
body.ny-v4 .priv-card .dur,
body.ny-v4 .gift-title-row .dur {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  border: 0;
  background: #9B2FE8;
  color: #F7F1FF;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 12px rgba(155, 47, 232, 0.55);
}
body.ny-v4 .priv-card .price-lg,
body.ny-v4 .gift-title-row .price-lg {
  font-size: 22px;
  line-height: 1;
}


/* v4 layout pass: no bow/ribbon, cat top-left */
body.ny-v4 .priv-card .gift-bow,
body.ny-v4 .priv-card .gift-ribbon,
body.ny-v4 .gift .gift-bow,
body.ny-v4 .gift .gift-ribbon {
  display: none !important;
}

body.ny-v4 .shop-card {
  position: relative;
  padding-top: 40px;
}
body.ny-v4 .shop-card .shop-cat,
body.ny-v4 .deal-card .shop-cat,
body.ny-v4 .prize-tile .kind-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  margin: 0;
  align-self: flex-start;
}
body.ny-v4 .deal-card {
  padding-top: 44px;
}
body.ny-v4 .deal-card .shop-cat { top: 12px; left: 12px; }

body.ny-v4 .prize-tile {
  padding-top: 32px;
}
body.ny-v4 .prize-tile .kind-pill {
  top: 10px;
  left: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 10px;
}
