:root {
  color-scheme: dark;
  --bg: #070909;
  --panel: #111414;
  --panel-2: #171b1a;
  --line: rgba(255, 255, 255, .1);
  --text: #f8f7f2;
  --muted: #b9b8ae;
  --red: #cf003a;
  --red-soft: rgba(207, 0, 58, .18);
  --gold: #ffd21e;
  --emerald: #37d873;
  --cyan: #58d9ff;
  --shadow: 0 24px 90px rgba(0, 0, 0, .55);
  font-family: Inter, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-width: 320px;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 72px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(18px, 4vw, 54px);
  background: rgba(7, 9, 9, .86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark, .hero-logo {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--red), #46000f 58%, var(--gold));
  box-shadow: 0 0 28px rgba(207, 0, 58, .38);
  color: white;
  font-weight: 950;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.server-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 16px var(--emerald);
}

.desktop-nav {
  justify-self: end;
  display: none;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 750;
}

.desktop-nav a:hover { color: white; }

.icon-button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  color: white;
  cursor: pointer;
}

.menu-button {
  display: grid;
  justify-self: end;
  place-items: center;
  gap: 5px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  transition: transform .18s ease, opacity .18s ease;
}

.menu-button.open {
  border-color: rgba(255,210,30,.55);
  background: rgba(255,210,30,.1);
  box-shadow: 0 0 0 3px rgba(255,210,30,.08);
}

.menu-button.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.open span:nth-child(2) {
  opacity: 0;
}

.menu-button.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  z-index: 21;
  top: 82px;
  right: clamp(18px, 4vw, 54px);
  width: min(330px, calc(100vw - 28px));
  display: none;
  padding: 10px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255,210,30,.12), transparent 34%),
    rgba(12, 14, 14, .98);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mobile-drawer.open { display: grid; }
.mobile-drawer a {
  padding: 14px 16px;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  font-weight: 850;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.mobile-drawer a:hover {
  color: white;
  background: rgba(255,255,255,.055);
  transform: translateX(3px);
}
.mobile-drawer a:last-child { border-bottom: 0; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 120px 22px 132px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .54;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(207, 0, 58, .1), transparent 34%),
    linear-gradient(180deg, rgba(7, 9, 9, .3), #070909 90%),
    linear-gradient(90deg, rgba(7, 9, 9, .82), rgba(7, 9, 9, .18), rgba(7, 9, 9, .86));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(850px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-logo {
  width: 108px;
  height: 108px;
  border-radius: 18px;
  margin-bottom: 26px;
  font-size: 38px;
}

h1, h2, h3, p { margin: 0; }
h1 {
  font-size: clamp(54px, 8vw, 112px);
  line-height: .9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p {
  max-width: 720px;
  margin-top: 24px;
  color: #deddd6;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.28;
}

.hero-actions, .shop-tools {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions { margin-top: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  color: white;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button.primary {
  border-color: rgba(207, 0, 58, .7);
  background: var(--red);
  box-shadow: 0 18px 48px rgba(207, 0, 58, .34);
}
.button.secondary, .button.compact {
  background: rgba(255, 255, 255, .05);
}
.button.compact {
  min-height: 44px;
  padding: 0 16px;
}
.button.full { width: 100%; }

.button-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  background: currentColor;
  flex: 0 0 auto;
}
.cart-icon { clip-path: polygon(0 6%, 16% 6%, 25% 62%, 82% 62%, 94% 23%, 23% 23%, 20% 12%, 0 12%, 0 6%, 28% 72%, 78% 72%, 78% 83%, 29% 83%, 29% 72%, 28% 72%); }
.trophy-icon { clip-path: polygon(25% 8%, 75% 8%, 75% 22%, 96% 22%, 88% 53%, 68% 62%, 60% 75%, 75% 75%, 75% 90%, 25% 90%, 25% 75%, 40% 75%, 32% 62%, 12% 53%, 4% 22%, 25% 22%); }
.card-icon { clip-path: polygon(5% 18%, 95% 18%, 95% 82%, 5% 82%, 5% 18%, 5% 35%, 95% 35%, 95% 45%, 5% 45%); }

.server-copy {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.server-copy button {
  color: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  padding: 10px 14px;
  cursor: pointer;
}

.promo-showcase {
  width: min(1180px, calc(100% - 36px));
  margin: 96px auto 0;
  scroll-margin-top: 94px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(255, 210, 30, .2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,210,30,.1), rgba(207,0,58,.06), rgba(88,217,255,.04)),
    #101313;
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
}

.promo-showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
}

.promo-showcase h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  text-transform: uppercase;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  justify-items: stretch;
}

.promo-deal {
  min-height: 220px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  grid-template-areas:
    "copy character"
    "timer character";
  gap: 12px 16px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 132, 28, .82), rgba(255, 210, 30, .76)),
    #18110a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.promo-deal:not(.top) {
  grid-template-columns: minmax(0, 1fr) 210px;
  grid-template-areas:
    "copy character"
    "timer character";
  background:
    linear-gradient(135deg, rgba(88,217,255,.11), rgba(55,216,115,.08)),
    #101313;
}

.promo-deal.top {
  grid-column: 1 / -1;
  width: min(880px, 100%);
  min-height: 228px;
  justify-self: center;
  grid-template-columns: minmax(0, 1fr) 250px;
  background:
    linear-gradient(135deg, rgba(255, 132, 28, .9), rgba(255, 210, 30, .82) 62%, rgba(207,0,58,.18)),
    #18110a;
  box-shadow: 0 26px 80px rgba(255,132,28,.16), inset 0 0 0 1px rgba(255,255,255,.1);
}

.promo-rank,
.promo-deal-tag {
  position: absolute;
  z-index: 3;
  top: 12px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.promo-rank {
  left: 12px;
  padding: 0 11px;
  color: #111;
  background: white;
}

.promo-deal-tag {
  right: 12px;
  padding: 0 12px;
  color: white;
  background: var(--red);
}

.promo-deal-tag.new {
  color: #111;
  background: var(--gold);
}

.promo-copy {
  grid-area: copy;
  position: relative;
  z-index: 2;
  align-self: end;
  padding-top: 34px;
}

.promo-copy strong {
  display: block;
  max-width: 540px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: .98;
  text-transform: uppercase;
}

.promo-deal:not(.top) .promo-copy strong {
  font-size: clamp(20px, 2vw, 26px);
}

.promo-copy small {
  display: inline-flex;
  margin-top: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #111;
  background: rgba(255,255,255,.86);
  font-weight: 950;
}

.promo-copy p {
  margin-top: 8px;
  color: rgba(255,255,255,.82);
  line-height: 1.5;
}

.promo-price-line {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.promo-price-line span {
  color: rgba(255,255,255,.6);
  text-decoration: line-through;
  font-weight: 850;
}

.promo-price-line b {
  font-size: 24px;
  color: white;
}

.promo-price-line em {
  padding: 5px 9px;
  border-radius: 999px;
  color: #111;
  background: var(--gold);
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}

.promo-countdown {
  grid-area: timer;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: end;
  gap: 7px;
}

.promo-countdown span {
  min-width: 54px;
  min-height: 52px;
  display: grid;
  place-items: center;
  padding: 6px;
  border-radius: 8px;
  color: white;
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.14);
}

.promo-countdown b {
  font-size: 20px;
  line-height: 1;
}

.promo-countdown small {
  color: rgba(255,255,255,.7);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.promo-character {
  grid-area: character;
  position: relative;
  z-index: 2;
  width: 220px;
  height: 210px;
  align-self: center;
  justify-self: center;
  filter: drop-shadow(0 28px 30px rgba(0,0,0,.38));
}

.promo-character::before {
  content: none;
}

.promo-render img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
}

.promo-deal.top .promo-render {
  width: 270px;
  height: 248px;
  transform: translateY(4px);
}

.promo-deal:not(.top) .promo-render {
  width: 210px;
  height: 205px;
}

.promo-deal:not(.top) .promo-character {
  display: block;
}

.promo-character span {
  position: absolute;
  display: block;
  border-radius: 3px;
}

.pc-head {
  left: 62px;
  top: 0;
  width: 50px;
  height: 48px;
  background: linear-gradient(180deg, #714934 0 28%, #b57b55 28%);
  box-shadow: inset 11px 0 #2a1a12, inset -9px 11px rgba(255,255,255,.18), 0 8px 0 rgba(0,0,0,.16);
}

.pc-body {
  left: 52px;
  top: 50px;
  width: 72px;
  height: 62px;
  background: linear-gradient(180deg, #cf003a, #541022);
  box-shadow: inset 0 -18px #ffd21e, inset -11px 0 rgba(0,0,0,.2);
}

.pc-arm {
  top: 58px;
  width: 25px;
  height: 68px;
  background: linear-gradient(180deg, #cf003a 0 56%, #b57b55 56%);
}

.pc-arm.left { left: 26px; transform: rotate(17deg); }
.pc-arm.right { right: 24px; transform: rotate(-31deg); }

.pc-leg {
  top: 110px;
  width: 30px;
  height: 54px;
  background: #2d2f7f;
}

.pc-leg.left { left: 55px; }
.pc-leg.right { left: 90px; }

.pc-crate {
  right: 2px;
  top: 86px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #37d873, #145a31);
  transform: rotate(45deg);
  box-shadow: 0 0 28px rgba(55,216,115,.45);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  letter-spacing: 0;
  transition: color .2s ease, opacity .2s ease;
}

.scroll-cue:hover {
  color: rgba(255, 255, 255, .85);
}

.scroll-cue i {
  display: block;
  width: 30px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, .46);
  border-radius: 999px;
}

.section {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-head {
  width: min(1180px, 100%);
  margin: 0 auto 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.section h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.trailer-section {
  background:
    radial-gradient(circle at 20% 28%, rgba(88, 217, 255, .09), transparent 28%),
    radial-gradient(circle at 72% 62%, rgba(207, 0, 58, .1), transparent 32%),
    #080a0a;
}

.trailer-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, .82fr);
  grid-template-areas:
    "head copy"
    "video copy";
  gap: 24px 38px;
  align-items: center;
}

.trailer-head {
  grid-area: head;
}

.trailer-head h2 span {
  color: var(--red);
}

.trailer-player {
  grid-area: video;
  min-height: 360px;
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(88, 217, 255, .18);
  border-radius: 8px;
  background: #101313;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .42);
}

.trailer-player img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transform: scale(1.02);
  opacity: .78;
  transition: transform .24s ease, opacity .24s ease;
}

.trailer-player:hover img {
  transform: scale(1.055);
  opacity: .9;
}

.trailer-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, transparent 0 18%, rgba(0,0,0,.18) 34%, rgba(0,0,0,.68) 100%),
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.72));
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78px;
  height: 78px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 12px rgba(207, 0, 58, .16), 0 18px 50px rgba(207, 0, 58, .45);
}

.play-button::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 24px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 23px solid white;
}

.trailer-meta {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.trailer-meta strong {
  font-size: clamp(20px, 3vw, 30px);
}

.trailer-meta small {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.trailer-copy {
  grid-area: copy;
  display: grid;
  gap: 18px;
}

.trailer-copy h3 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.trailer-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.section-note {
  max-width: 390px;
  color: var(--muted);
  line-height: 1.55;
}

.segmented {
  min-height: 44px;
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
}

.segmented:empty {
  display: none;
}

.segmented button {
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.segmented button.active {
  color: white;
  background: var(--red);
}

.product-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.shop-locked {
  grid-column: 1 / -1;
  min-height: 280px;
  display: grid;
  place-items: center;
  justify-items: center;
  gap: 14px;
  padding: clamp(28px, 5vw, 54px);
  text-align: center;
  border: 1px solid rgba(88, 217, 255, .18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 30%, rgba(88, 217, 255, .12), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
}

.shop-locked h3 {
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase;
}

.shop-locked p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.6;
}

.product-card, .rank-row, .podium-card, .vote-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}

.product-card {
  min-height: 430px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 18px;
  overflow: hidden;
  position: relative;
}

.product-card.featured {
  border-color: rgba(255, 210, 30, .52);
  box-shadow: inset 0 0 0 1px rgba(255, 210, 30, .08), 0 22px 80px rgba(207, 0, 58, .13);
}

.product-card.unavailable {
  border-color: rgba(255,255,255,.13);
}

.product-card.mode-locked {
  border-color: rgba(255,210,30,.26);
  background:
    linear-gradient(135deg, rgba(255,210,30,.045), rgba(207,0,58,.045)),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
}

.mode-lock-tag {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 112px);
  padding: 8px 13px 8px 14px;
  border: 1px solid rgba(255,210,30,.42);
  border-radius: 6px 999px 999px 6px;
  color: var(--gold);
  background:
    linear-gradient(135deg, rgba(255,210,30,.16), rgba(18,16,8,.92) 48%),
    rgba(18,16,8,.86);
  box-shadow: 0 14px 34px rgba(0,0,0,.26);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.mode-lock-tag::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 13px;
  height: 13px;
  border-radius: 6px 0 4px 0;
  background:
    linear-gradient(135deg, rgba(255,210,30,.85) 0 48%, rgba(70,54,9,.85) 50% 100%);
  box-shadow: 2px 2px 5px rgba(0,0,0,.22);
}

.product-card.unavailable .product-art,
.product-card.unavailable .feature-list,
.product-card.unavailable .price {
  opacity: .78;
}

.product-card.targeted-product {
  border-color: rgba(255, 210, 30, .95);
  box-shadow: 0 0 0 2px rgba(255, 210, 30, .28), 0 28px 90px rgba(255, 210, 30, .16);
  animation: targetProductPulse 1.6s ease-in-out 2;
}

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

.product-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.product-art {
  min-height: 260px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  position: relative;
}

.product-art svg {
  width: 78px;
  height: 78px;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.45));
}

.product-render-art {
  overflow: visible;
}

.product-render-art::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: min(72%, 190px);
  height: 38px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.42), transparent 68%);
  filter: blur(4px);
}

.product-render-art img {
  position: relative;
  z-index: 1;
  width: min(100%, 272px);
  height: 272px;
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(0,0,0,.48));
}

.product-duration {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(255,210,30,.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 94% 12%, rgba(255,210,30,.16), transparent 26%),
    linear-gradient(135deg, rgba(207,0,58,.08), rgba(88,217,255,.055)),
    rgba(255,255,255,.03);
}

.duration-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.duration-head span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.duration-head strong {
  color: var(--gold);
  font-size: 13px;
}

.duration-slider {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 14px;
  margin: 14px 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.13);
  background:
    linear-gradient(90deg, var(--gold) 0 var(--range-progress, 50%), rgba(255,255,255,.16) var(--range-progress, 50%) 100%);
  box-shadow: inset 0 2px 8px rgba(0,0,0,.42);
  cursor: pointer;
}

.duration-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 36px;
  height: 36px;
  border: 2px solid #101313;
  border-radius: 10px;
  background: #ffd21e url("assets/brand/nevacraft-slider-thumb.png") center / cover no-repeat;
  box-shadow:
    0 8px 22px rgba(255,210,30,.34),
    0 0 0 2px rgba(255,210,30,.9),
    inset 0 0 0 1px rgba(255,255,255,.38);
  box-sizing: border-box;
}

.duration-slider::-moz-range-track {
  height: 14px;
  border-radius: 999px;
  background: transparent;
}

.duration-slider::-moz-range-thumb {
  width: 34px;
  height: 34px;
  border: 2px solid #101313;
  border-radius: 10px;
  background: #ffd21e url("assets/brand/nevacraft-slider-thumb.png") center / cover no-repeat;
  box-shadow:
    0 8px 22px rgba(255,210,30,.34),
    0 0 0 2px rgba(255,210,30,.9),
    inset 0 0 0 1px rgba(255,255,255,.38);
  box-sizing: border-box;
}

.duration-scale {
  display: grid;
  grid-template-columns: repeat(var(--duration-columns, 4), minmax(0, 1fr));
  gap: 8px;
}

.duration-scale span {
  min-height: 50px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(10,12,12,.48);
  text-align: center;
}

.duration-scale span.active {
  border-color: rgba(255,210,30,.72);
  background: linear-gradient(135deg, rgba(255,210,30,.14), rgba(207,0,58,.08));
}

.duration-scale b {
  color: var(--text);
  font-size: 12px;
  font-weight: 950;
}

.duration-scale small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.duration-scale em {
  color: rgba(230,238,234,.55);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  text-decoration: line-through;
}

.rank-info {
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(88,217,255,.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(88,217,255,.1), rgba(255,210,30,.045)),
    rgba(255,255,255,.028);
}

.rank-info span {
  display: inline-flex;
  margin-bottom: 5px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.rank-info p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.45;
}

.product-config {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(255,210,30,.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 18%, rgba(255,210,30,.18), transparent 30%),
    linear-gradient(135deg, rgba(88,217,255,.08), rgba(255,210,30,.05)),
    rgba(255,255,255,.035);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
}

.product-config.currency {
  border-color: rgba(255,210,30,.34);
}

.product-config.keys {
  border-color: rgba(88,217,255,.28);
}

.config-head,
.config-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.config-head span {
  color: var(--muted);
  font-weight: 850;
}

.config-head strong {
  color: var(--gold);
  font-size: 18px;
  text-align: right;
}

.config-tier {
  min-height: 42px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255,210,30,.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 50%, rgba(255,210,30,.18), transparent 34%),
    rgba(0,0,0,.18);
}

.config-tier span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #111;
  background: var(--gold);
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(255,210,30,.22);
}

.config-tier b {
  color: var(--text);
  font-size: 14px;
}

.product-config input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 14px;
  margin: 18px 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(90deg, var(--gold) 0 var(--range-progress, 50%), rgba(255,255,255,.16) var(--range-progress, 50%) 100%);
  box-shadow: inset 0 2px 8px rgba(0,0,0,.42);
  cursor: pointer;
}

.product-config.keys input[type="range"] {
  background:
    linear-gradient(90deg, var(--cyan) 0 var(--range-progress, 50%), rgba(255,255,255,.16) var(--range-progress, 50%) 100%);
}

.product-config input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 36px;
  height: 36px;
  border: 2px solid #101313;
  border-radius: 10px;
  background: #ffd21e url("assets/brand/nevacraft-slider-thumb.png") center / cover no-repeat;
  box-shadow:
    0 8px 22px rgba(255,210,30,.34),
    0 0 0 2px rgba(255,210,30,.9),
    inset 0 0 0 1px rgba(255,255,255,.38);
  box-sizing: border-box;
}

.product-config.keys input[type="range"]::-webkit-slider-thumb {
  background: #ffd21e url("assets/brand/nevacraft-slider-thumb.png") center / cover no-repeat;
  box-shadow:
    0 8px 22px rgba(88,217,255,.3),
    0 0 0 2px rgba(88,217,255,.9),
    inset 0 0 0 1px rgba(255,255,255,.38);
}

.product-config input[type="range"]::-moz-range-track {
  height: 14px;
  border-radius: 999px;
  background: transparent;
}

.product-config input[type="range"]::-moz-range-thumb {
  width: 34px;
  height: 34px;
  border: 2px solid #101313;
  border-radius: 10px;
  background: #ffd21e url("assets/brand/nevacraft-slider-thumb.png") center / cover no-repeat;
  box-shadow:
    0 8px 22px rgba(255,210,30,.34),
    0 0 0 2px rgba(255,210,30,.9),
    inset 0 0 0 1px rgba(255,255,255,.38);
  box-sizing: border-box;
}

.product-config.keys input[type="range"]::-moz-range-thumb {
  box-shadow:
    0 8px 22px rgba(88,217,255,.3),
    0 0 0 2px rgba(88,217,255,.9),
    inset 0 0 0 1px rgba(255,255,255,.38);
}

.config-scale {
  color: rgba(255,255,255,.45);
  font-size: 12px;
  font-weight: 850;
}

.config-tier-list {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.config-tier-list span {
  min-height: 50px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 8px;
  background: rgba(0,0,0,.18);
}

.config-tier-list span.active {
  border-color: rgba(255,210,30,.65);
  background:
    linear-gradient(135deg, rgba(255,210,30,.18), rgba(255,255,255,.04));
}

.config-tier-list b {
  color: var(--gold);
  font-size: 13px;
}

.config-tier-list small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.product-mini-icon {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(10,12,12,.68);
  backdrop-filter: blur(8px);
}

.product-mini-icon svg {
  width: 30px;
  height: 30px;
}

.badge {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 210, 30, .12);
  border: 1px solid rgba(255, 210, 30, .42);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card h3 {
  margin-top: 12px;
  font-size: 26px;
  line-height: 1.03;
}

.product-card p {
  margin: 18px 0;
  color: var(--muted);
  line-height: 1.55;
}

.feature-list {
  display: grid;
  gap: 8px;
  color: #e7e4da;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: var(--emerald);
  border-radius: 99px;
}

.product-buy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.price small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 800;
}

.old-price {
  color: rgba(255,255,255,.45);
  text-decoration: line-through;
  margin-right: 8px;
}

.current-price {
  color: var(--gold);
  font-weight: 950;
  font-size: 28px;
}

.buy-button {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 8px;
  color: #111;
  background: var(--gold);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px rgba(255, 210, 30, .28);
}

.buy-button .cart-icon { width: 24px; height: 24px; }

.buy-button.disabled {
  width: auto;
  min-width: 96px;
  padding: 0 16px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: none;
  cursor: not-allowed;
}

.soon-text {
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.discount-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255,210,30,.28);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255,210,30,.08);
  font-weight: 900;
}

.admin-pill.ready {
  border-color: rgba(55,216,115,.34);
  color: #37d873;
  background: rgba(55,216,115,.08);
}

.admin-pill.missing {
  border-color: rgba(255,210,30,.3);
  color: var(--gold);
  background: rgba(255,210,30,.08);
}

.discount-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.mode-sales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  width: 100%;
}

.mode-sale-card {
  min-height: 250px;
  position: relative;
  display: grid;
  grid-template-rows: 118px auto auto;
  align-items: end;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.mode-sale-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,210,30,.65);
}

.mode-sale-card .mode-logo {
  width: 100%;
  height: 118px;
  border-radius: 8px;
  background: rgba(0,0,0,.2);
}

.mode-sale-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-sale-card b,
.mode-sale-card small {
  display: block;
}

.mode-sale-card b {
  color: var(--text);
  font-weight: 950;
}

.mode-sale-card small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 850;
}

.mode-sale-switch {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #07110d;
  background: var(--gold);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.mode-sale-card.enabled {
  border-color: rgba(55,216,115,.38);
  background:
    radial-gradient(circle at 20% 0%, rgba(55,216,115,.18), transparent 42%),
    rgba(255,255,255,.04);
}

.mode-sale-card.disabled {
  border-color: rgba(255,210,30,.28);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,210,30,.12), transparent 42%),
    rgba(255,255,255,.025);
}

.product-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 14px;
  width: 100%;
}

.product-badge-card {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.product-badge-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-badge-card legend {
  padding: 0 8px;
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
}

.product-badge-row {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 136px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(0,0,0,.16);
}

.product-badge-row b,
.product-badge-row small {
  display: block;
}

.product-badge-row b {
  color: var(--text);
  font-size: 14px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.product-badge-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.choice-picker,
.badge-picker {
  display: grid;
  gap: 8px;
  width: 100%;
}

.choice-picker.two,
.badge-picker {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-mode-picker,
.catalog-product-picker,
.catalog-badge-picker {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.choice-picker button,
.badge-picker button {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.015)),
    rgba(0,0,0,.22);
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.choice-picker button:hover,
.badge-picker button:hover {
  transform: translateY(-1px);
  border-color: rgba(255,210,30,.52);
}

.choice-picker button.active,
.badge-picker button.active {
  border-color: rgba(255,210,30,.95);
  color: #07110d;
  background:
    radial-gradient(circle at 90% 0%, rgba(255,255,255,.28), transparent 34%),
    var(--gold);
  box-shadow: 0 12px 28px rgba(255,210,30,.13);
}

.catalog-product-picker {
  max-height: 280px;
  overflow: auto;
  padding-right: 4px;
}

.picker-label {
  min-width: 0;
}

.discount-card {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.discount-card legend {
  padding: 0 8px;
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
}

.discount-card label {
  display: grid;
  grid-template-columns: 1fr 88px 20px;
  align-items: center;
  gap: 10px;
}

.discount-card label span {
  font-weight: 850;
}

.discount-card input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: var(--text);
  background: rgba(0,0,0,.24);
  text-align: center;
  font-weight: 950;
}

.discount-card input::-webkit-outer-spin-button,
.discount-card input::-webkit-inner-spin-button,
.catalog-card input::-webkit-outer-spin-button,
.catalog-card input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.discount-card input[type="number"],
.catalog-card input[type="number"] {
  appearance: textfield;
}

.discount-card em {
  color: var(--gold);
  font-style: normal;
  font-weight: 950;
}

.payment-admin-form {
  grid-template-columns: 1fr;
}

.admin-provider-field {
  display: grid;
  gap: 12px;
}

.admin-provider-field > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
}

.payment-provider-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.payment-provider-picker button {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255,255,255,.035);
  text-align: left;
  cursor: pointer;
}

.payment-provider-picker button.active {
  border-color: rgba(255,210,30,.9);
  background:
    radial-gradient(circle at 10% 0%, rgba(255,210,30,.18), transparent 46%),
    rgba(255,210,30,.06);
}

.payment-enable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.payment-enable-grid button {
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.01)),
    rgba(0,0,0,.22);
  text-align: left;
  cursor: pointer;
}

.payment-enable-grid button.enabled {
  border-color: rgba(55,216,115,.48);
  background:
    radial-gradient(circle at 14% 0%, rgba(55,216,115,.2), transparent 45%),
    rgba(55,216,115,.07);
}

.payment-enable-grid b,
.payment-enable-grid small {
  display: block;
}

.payment-enable-grid small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.provider-config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.provider-config-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.provider-config-card legend {
  padding: 0 8px;
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
}

.payment-provider-picker b,
.payment-provider-picker small {
  display: block;
}

.payment-provider-picker b {
  font-size: 18px;
  font-weight: 950;
}

.payment-provider-picker small {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 750;
}

.catalog-grid {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(320px, 1.28fr);
  gap: 16px;
  width: 100%;
}

.catalog-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.catalog-preview {
  min-height: 156px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,210,30,.08), transparent 52%),
    rgba(0,0,0,.2);
  overflow: hidden;
}

.catalog-preview img {
  width: 100%;
  max-width: 300px;
  max-height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,.42));
}

.catalog-preview span {
  color: var(--muted);
  font-weight: 850;
}

.file-plus {
  min-height: 52px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px dashed rgba(255,210,30,.52);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255,210,30,.055);
  cursor: pointer;
}

.file-plus input {
  display: none;
}

.file-plus span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #07110d;
  background: var(--gold);
  font-weight: 950;
}

.button.danger {
  border-color: rgba(220,0,64,.45);
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(220,0,64,.16), transparent 45%),
    rgba(255,255,255,.035);
}

.catalog-card legend {
  padding: 0 8px;
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
}

.catalog-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.catalog-card input,
.catalog-card select,
.catalog-card textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: var(--text);
  background: rgba(0,0,0,.24);
  font: inherit;
  font-weight: 800;
}

.catalog-card input,
.catalog-card select {
  min-height: 48px;
  padding: 0 14px;
}

.catalog-card textarea {
  min-height: 110px;
  padding: 14px;
  resize: vertical;
}

.catalog-card .catalog-wide,
.catalog-card .catalog-toggle {
  grid-column: 1 / -1;
}

.catalog-toggle {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.catalog-toggle input {
  width: 20px;
  min-height: 20px;
}

.admin-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 130px 24px 80px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,210,30,.14), transparent 30%),
    radial-gradient(circle at 78% 22%, rgba(207,0,58,.18), transparent 34%),
    #050707;
}

.admin-login-shell[hidden],
[data-admin-content][hidden] {
  display: none;
}

.admin-login-card {
  width: min(560px, 100%);
  display: grid;
  gap: 16px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(207,0,58,.12), transparent 38%, rgba(55,216,115,.07)),
    rgba(255,255,255,.035);
  box-shadow: 0 36px 90px rgba(0,0,0,.42);
}

.admin-login-card h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: .9;
}

.admin-login-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.admin-login-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.admin-login-card input {
  min-height: 52px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: var(--text);
  background: rgba(0,0,0,.3);
  font: inherit;
  font-weight: 900;
  padding: 0 16px;
}

.admin-account-card {
  min-width: 230px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255,210,30,.24);
  border-radius: 8px;
  background: rgba(255,210,30,.06);
}

.admin-account-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-account-card strong {
  font-size: 24px;
}

.admin-account-card small {
  color: var(--muted);
  font-weight: 850;
}

.admin-account-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.admin-quick-nav {
  width: min(1180px, calc(100% - 48px));
  margin: 18px auto 34px;
  position: sticky;
  top: 74px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,210,30,.12), transparent 34%),
    rgba(8,12,12,.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
}

.admin-quick-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.035);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.admin-quick-nav a:hover {
  transform: translateY(-2px);
  border-color: rgba(255,210,30,.7);
  color: #07110d;
  background: var(--gold);
}

.totp-qr {
  width: 164px;
  height: 164px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}

.admin-users-grid,
.admin-blocks-grid {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(340px, 1.15fr);
  gap: 16px;
  width: 100%;
}

.permission-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(0,0,0,.18);
}

.permission-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.permission-grid input {
  width: 18px;
  min-height: 18px;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-list article {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.admin-list span,
.admin-list small,
.admin-list em {
  grid-column: 1;
}

.admin-list span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-list strong {
  grid-column: 1;
  color: var(--text);
  font-size: 22px;
}

.admin-list small {
  color: var(--muted);
  font-weight: 750;
}

.admin-list em {
  color: #37d873;
  font-style: normal;
  font-weight: 900;
}

.button.danger,
.button.ghost.danger {
  border-color: rgba(207,0,58,.5);
  color: #ff5f8b;
}

.orders-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.orders-summary-grid article,
.orders-stat-card,
.order-row {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.015)),
    rgba(0,0,0,.18);
}

.orders-summary-grid article {
  padding: 18px;
}

.orders-summary-grid article.positive {
  border-color: rgba(55,216,115,.42);
  background:
    radial-gradient(circle at 100% 0%, rgba(55,216,115,.15), transparent 38%),
    rgba(255,255,255,.035);
}

.orders-summary-grid article.negative {
  border-color: rgba(255,95,139,.45);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,95,139,.14), transparent 38%),
    rgba(255,255,255,.035);
}

.orders-summary-grid span,
.order-row span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.orders-summary-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.orders-summary-grid small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.orders-stats-grid {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr);
  gap: 16px;
}

.orders-stat-card {
  padding: 22px;
}

.orders-stat-card h2 {
  margin: 10px 0;
  font-size: clamp(34px, 5vw, 56px);
}

.orders-stat-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.stat-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.stat-flow span {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0,0,0,.18);
  font-size: 12px;
  font-weight: 950;
}

.stat-flow .positive {
  color: #37d873;
  border-color: rgba(55,216,115,.34);
  background: rgba(55,216,115,.08);
}

.stat-flow .negative {
  color: #ff5f8b;
  border-color: rgba(255,95,139,.34);
  background: rgba(255,95,139,.08);
}

.orders-maintenance {
  grid-column: 1 / -1;
}

.orders-clear-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.orders-clear-actions button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255,210,30,.28);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255,210,30,.08);
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.orders-clear-actions button.danger {
  border-color: rgba(255,95,139,.42);
  color: #ff5f8b;
  background: rgba(255,95,139,.08);
}

.method-bar {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.method-bar b {
  color: var(--text);
  font-weight: 950;
}

.method-bar span {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.method-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #cf003a);
}

.method-bar em {
  color: var(--gold);
  font-style: normal;
  font-weight: 950;
}

.orders-list {
  display: grid;
  gap: 12px;
}

.order-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(120px, .55fr)) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
}

.order-row strong,
.order-row small {
  display: block;
}

.order-row strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 950;
}

.order-row small,
.order-row time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.order-row.paid {
  border-color: rgba(55,216,115,.32);
}

.order-row.pending {
  border-color: rgba(255,210,30,.34);
}

.order-row.failed {
  border-color: rgba(207,0,58,.38);
}

.site-blocked {
  overflow: hidden;
}

.blocked-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 20%, rgba(207,0,58,.22), transparent 34%),
    rgba(0,0,0,.92);
}

.blocked-overlay article {
  width: min(620px, 100%);
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  text-align: center;
}

.blocked-overlay h1 {
  margin: 22px 0 12px;
  font-size: clamp(42px, 8vw, 84px);
  line-height: .9;
}

.blocked-overlay p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.orders-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid rgba(255,210,30,.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,210,30,.12), transparent 40%),
    rgba(0,0,0,.2);
}

.orders-search label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
}

.orders-search input {
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255,255,255,.055);
  font: inherit;
  font-weight: 900;
}

.payment-gateway-board {
  display: grid;
  gap: 12px;
}

.payment-gateway-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,210,30,.08), transparent 34%),
    rgba(255,255,255,.035);
}

.payment-gateway-card.enabled {
  border-color: rgba(55,216,115,.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(55,216,115,.16), transparent 36%),
    rgba(255,255,255,.04);
}

.payment-admin-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.payment-default-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255,210,30,.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,210,30,.12), transparent 42%),
    rgba(255,255,255,.035);
}

.payment-provider-picker {
  display: grid;
  gap: 8px;
}

.payment-provider-picker button {
  min-height: 62px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: var(--text);
  background: rgba(0,0,0,.22);
  text-align: left;
  cursor: pointer;
}

.payment-provider-picker button.active {
  border-color: rgba(255,210,30,.72);
  background: rgba(255,210,30,.1);
}

.payment-provider-picker button span,
.payment-gateway-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #07110d;
  background: linear-gradient(135deg, var(--gold), #37d873);
  font-size: 12px;
  font-weight: 950;
}

.payment-provider-picker button b,
.payment-provider-picker button small {
  grid-column: 2;
}

.payment-gateway-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.payment-gateway-head i {
  color: var(--gold);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-gateway-card b,
.payment-gateway-card small {
  display: block;
}

.payment-gateway-card b {
  color: var(--text);
  font-size: 20px;
  font-weight: 950;
}

.payment-gateway-card small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.gateway-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255,210,30,.38);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255,210,30,.08);
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.gateway-toggle.enabled {
  border-color: rgba(55,216,115,.46);
  color: #37d873;
  background: rgba(55,216,115,.1);
}

.gateway-config-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.gateway-config-fields label,
.catalog-card label,
.admin-editor-card label {
  min-width: 0;
}

.gateway-config-fields input,
.catalog-card input,
.catalog-card textarea,
.admin-editor-card input {
  min-height: 50px;
  width: 100%;
  padding-inline: 14px;
  border-radius: 8px;
}

.catalog-card textarea {
  padding-top: 14px;
  resize: vertical;
}

.catalog-grid {
  align-items: start;
}

.catalog-card .button {
  min-height: 54px;
}

.catalog-card input[type="number"] {
  appearance: textfield;
}

.catalog-card input[type="number"]::-webkit-outer-spin-button,
.catalog-card input[type="number"]::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.admin-editor-card {
  gap: 14px;
}

.admin-editor-card .button.primary {
  width: min(260px, 100%);
  min-height: 56px;
}

.file-plus {
  min-height: 128px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.mode-sale-card {
  cursor: default;
}

.mode-sale-switch {
  border: 0;
  cursor: pointer;
}

.admin-user-list article {
  grid-template-columns: minmax(230px, .9fr) minmax(260px, 1fr) auto;
  align-items: stretch;
  gap: 18px;
  min-height: 150px;
  padding: 18px;
}

.admin-user-main {
  display: grid;
  align-content: center;
  gap: 6px;
}

.admin-user-list article.owner {
  border-color: rgba(255,210,30,.42);
  background:
    radial-gradient(circle at 0% 0%, rgba(255,210,30,.14), transparent 38%),
    rgba(255,255,255,.04);
}

.admin-user-perms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 7px;
}

.admin-user-perms i {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0,0,0,.2);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(0,0,0,.16);
}

.permission-grid label {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  color: var(--text);
  font-weight: 950;
}

.permission-grid input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.admin-user-actions {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 122px;
}

.admin-lock-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255,210,30,.08);
  font-size: 12px;
  font-weight: 950;
}

.admin-list em.blocked {
  color: #ff5f8b;
}

.admin-list em.active {
  color: #37d873;
}

.permission-grid {
  align-items: center;
}

.ranking-band {
  background:
    radial-gradient(circle at 22% 22%, rgba(88, 217, 255, .12), transparent 28%),
    radial-gradient(circle at 72% 34%, rgba(55, 216, 115, .1), transparent 30%),
    linear-gradient(135deg, rgba(207, 0, 58, .1), transparent 38%, rgba(88, 217, 255, .075)),
    #0a0d0d;
}

.ranking-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

.podium {
  display: grid;
  grid-template-columns: minmax(180px, .84fr) minmax(220px, 1.18fr) minmax(180px, .84fr);
  gap: clamp(14px, 3vw, 30px);
  align-items: end;
  max-width: 900px;
  margin: 0 auto;
}

.podium-card {
  min-height: 360px;
  padding: 24px 18px 26px;
  text-align: center;
  display: grid;
  align-content: center;
  gap: 10px;
  position: relative;
  overflow: visible;
  background:
    linear-gradient(135deg, rgba(88, 217, 255, .08), transparent 34%),
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.072), transparent 46%),
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.018));
  box-shadow: 0 30px 90px rgba(0,0,0,.34);
  isolation: isolate;
}

.podium-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(88, 217, 255, .12);
  border-radius: 8px;
  clip-path: polygon(0 0, 44% 0, 50% 9px, 56% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.podium-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(88, 217, 255, .72), rgba(55, 216, 115, .62), transparent);
  opacity: .55;
}

.podium-card.first {
  min-height: 460px;
  border-color: rgba(255, 210, 30, .62);
  background:
    linear-gradient(135deg, rgba(255, 210, 30, .13), transparent 28%),
    radial-gradient(circle at 50% 36%, rgba(55, 216, 115, .14), transparent 38%),
    linear-gradient(180deg, rgba(207, 0, 58, .12), rgba(255,255,255,.025));
  box-shadow: 0 34px 110px rgba(55, 216, 115, .14);
}

.podium-card.empty {
  cursor: default;
}

.podium-card.empty:hover {
  transform: none;
}

.place {
  position: absolute;
  top: 22px;
  left: 20px;
  width: auto;
  height: auto;
  margin: 0;
  display: block;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .22);
  font-size: 26px;
  font-weight: 950;
}

.skin-stage {
  height: 210px;
  display: grid;
  place-items: end center;
  margin-top: 12px;
  position: relative;
}

.promo-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  min-width: 72px;
  display: inline-flex;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

.promo-tag.new {
  color: #10110a;
  background: var(--gold);
  border: 1px solid rgba(255, 210, 30, .7);
}

.promo-tag.sale {
  color: white;
  background: var(--red);
  border: 1px solid rgba(207, 0, 58, .78);
  box-shadow: 0 14px 34px rgba(207, 0, 58, .28);
}

.sale-burst {
  position: absolute;
  z-index: 3;
  top: 56px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(255,210,30,.5);
  border-radius: 999px;
  color: #10110a;
  background: var(--gold);
  box-shadow: 0 12px 30px rgba(255,210,30,.24);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.skin-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: min(86%, 210px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(88, 217, 255, .16), transparent 58%),
    conic-gradient(from 140deg, rgba(88, 217, 255, .05), rgba(55, 216, 115, .36), rgba(255, 210, 30, .12), rgba(88, 217, 255, .05));
  filter: blur(.2px);
  opacity: .72;
}

.podium-card.first .skin-stage {
  height: 292px;
}

.skin-stage img {
  position: relative;
  z-index: 1;
  max-width: min(74%, 170px);
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 36px rgba(0,0,0,.72));
}

.podium-card.first .skin-stage img {
  max-width: min(80%, 225px);
}

.skin-stage img.skin-fallback {
  width: 104px;
  height: 104px;
  max-width: 104px;
  max-height: 104px;
  border-radius: 8px;
  object-fit: cover;
  image-rendering: pixelated;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
}

.podium-card.first .skin-stage img.skin-fallback {
  width: 124px;
  height: 124px;
  max-width: 124px;
  max-height: 124px;
}

.empty-minecraft-skin {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: min(82%, 172px);
  height: 100%;
  margin: 0 auto;
  overflow: visible;
  filter:
    grayscale(1)
    brightness(.08)
    contrast(1.35)
    drop-shadow(0 26px 30px rgba(0,0,0,.84))
    drop-shadow(0 0 18px rgba(255,255,255,.08));
}

.podium-card.first .empty-minecraft-skin {
  width: min(86%, 220px);
}

.empty-minecraft-skin img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
  opacity: .94;
}

.vote-podium-card .empty-minecraft-skin {
  width: min(78%, 185px);
  height: 210px;
}

.vote-podium-card.first .empty-minecraft-skin {
  width: min(82%, 235px);
  height: 285px;
}

.empty-avatar {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: rgba(255,255,255,.5);
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent 45%),
    #080808;
  font-weight: 950;
}

.podium-crown {
  position: absolute;
  top: -31px;
  left: 50%;
  width: 52px;
  height: 46px;
  transform: translateX(-50%);
  background: var(--gold);
  clip-path: polygon(8% 82%, 92% 82%, 84% 34%, 66% 58%, 50% 12%, 34% 58%, 16% 34%);
  filter: drop-shadow(0 0 22px rgba(255, 210, 30, .78));
}

.podium-card strong { font-size: 25px; }
.podium-card.first strong { font-size: 30px; }
.podium-card span, .rank-row span { color: var(--muted); }

.supporter-label {
  width: fit-content;
  margin: 0 auto -2px;
  padding: 6px 10px;
  border: 1px solid rgba(55, 216, 115, .28);
  border-radius: 999px;
  color: var(--emerald);
  background: rgba(55, 216, 115, .08);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ranking-list {
  width: min(860px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.rank-row {
  min-height: 70px;
  display: grid;
  grid-template-columns: 52px 48px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
}

.rank-row img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  image-rendering: pixelated;
  background: rgba(255,255,255,.06);
}

.rank-row b {
  font-size: 18px;
}

.vote-section {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .76fr 1.24fr;
  gap: 34px;
  align-items: center;
}

.vote-copy p, .info-section p {
  color: var(--muted);
  line-height: 1.6;
  margin-top: 18px;
}

.vote-grid { display: grid; gap: 16px; }
.vote-sites {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.vote-card {
  min-height: 154px;
  padding: 18px;
  display: grid;
  align-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.vote-card::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 30, .22), transparent 64%);
}

.vote-card:hover {
  border-color: rgba(55, 216, 115, .5);
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(55,216,115,.095), rgba(255,255,255,.03));
}

.vote-card span {
  color: var(--gold);
  font-weight: 950;
}
.vote-card strong {
  font-size: 22px;
  line-height: 1.05;
}
.vote-card small {
  color: var(--muted);
  line-height: 1.4;
}

.vote-card em {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--emerald);
  background: rgba(55, 216, 115, .1);
  border: 1px solid rgba(55, 216, 115, .24);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.vote-claim {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 22px;
}

.vote-claim input {
  min-height: 54px;
  color: white;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.065);
  padding: 0 16px;
  outline: none;
}

.vote-claim input:focus {
  border-color: rgba(255, 210, 30, .68);
  box-shadow: 0 0 0 3px rgba(255, 210, 30, .12);
}

.vote-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vote-option {
  min-height: 86px;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 4px 10px;
  padding: 12px;
  color: white;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.vote-option:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 210, 30, .38);
}

.vote-option.active {
  border-color: rgba(255, 210, 30, .68);
  background: linear-gradient(135deg, rgba(255,210,30,.14), rgba(207,0,58,.12));
  box-shadow: 0 16px 42px rgba(255, 210, 30, .09);
}

.vote-option span {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #111;
  background: var(--gold);
  font-weight: 950;
}

.vote-option b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vote-option small {
  color: var(--muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vote-page-section {
  background:
    radial-gradient(circle at 22% 16%, rgba(88, 217, 255, .1), transparent 28%),
    radial-gradient(circle at 78% 36%, rgba(55, 216, 115, .08), transparent 30%),
    #080a0a;
}

.vote-page-layout {
  width: min(1180px, 100%);
  margin: 0 auto 76px;
  display: grid;
  grid-template-columns: minmax(380px, .9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: start;
}

.vote-panel,
.vote-links-panel {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(88, 217, 255, .18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(15, 21, 20, .98), rgba(11, 14, 14, .98)),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 28px 90px rgba(0,0,0,.32);
}

.vote-panel {
  position: relative;
  z-index: 2;
  border-color: rgba(255, 210, 30, .22);
  background:
    linear-gradient(145deg, rgba(17, 20, 20, .98), rgba(10, 11, 11, .98)),
    linear-gradient(135deg, rgba(255,210,30,.08), rgba(207,0,58,.05));
}

.vote-links-panel {
  position: relative;
  z-index: 1;
}

.vote-panel h2,
.vote-links-panel h2 {
  font-size: clamp(30px, 4vw, 48px);
  text-transform: uppercase;
}

.vote-list-select {
  display: grid;
  gap: 10px;
}

.vote-select-shell {
  position: relative;
  display: grid;
  gap: 10px;
}

.vote-select-trigger {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 4px 14px;
  padding: 13px 16px;
  color: white;
  text-align: left;
  border: 1px solid rgba(255, 210, 30, .4);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,210,30,.12), rgba(207,0,58,.06)),
    #101313;
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(255, 210, 30, .08);
}

.vote-select-trigger::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / 3;
  width: 12px;
  height: 12px;
  justify-self: center;
  border-right: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .18s ease;
}

.vote-select-shell.open .vote-select-trigger::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.vote-select-trigger span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.vote-select-trigger b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
}

.vote-select-shell .vote-list-select {
  position: static;
  z-index: 8;
  max-height: 332px;
  overflow: auto;
  padding: 10px 10px 10px 0;
  border: 1px solid rgba(255, 210, 30, .28);
  border-radius: 8px;
  background: rgba(10, 12, 12, .98);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 22px 70px rgba(0,0,0,.42);
}

.vote-list-option {
  min-height: 74px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  grid-template-areas:
    "icon name tag"
    "icon reward tag";
  align-items: center;
  gap: 4px 14px;
  padding: 12px 14px;
  color: white;
  text-align: left;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 96% 18%, rgba(255,210,30,.1), transparent 28%),
    linear-gradient(90deg, rgba(255,255,255,.065), rgba(255,255,255,.025)),
    #101313;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.vote-list-option:hover {
  transform: translateX(5px);
  border-color: rgba(88, 217, 255, .45);
  box-shadow: 0 14px 34px rgba(88, 217, 255, .08);
}

.vote-list-option.active {
  border-color: rgba(255, 210, 30, .75);
  background:
    linear-gradient(90deg, rgba(255,210,30,.16), rgba(207,0,58,.08)),
    #111414;
  box-shadow: 0 18px 44px rgba(255, 210, 30, .08);
}

.vote-list-option span {
  grid-area: icon;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #111;
  background: var(--gold);
  font-weight: 950;
}

.vote-list-option b {
  grid-area: name;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
}

.vote-list-option small {
  grid-area: reward;
  color: var(--muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vote-list-option em {
  grid-area: tag;
  align-self: center;
  justify-self: end;
  min-width: 70px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--emerald);
  background: rgba(55, 216, 115, .12);
  border: 1px solid rgba(55, 216, 115, .28);
  font-style: normal;
  font-size: 11px;
  font-weight: 950;
  text-align: center;
}

.vote-sites-list {
  grid-template-columns: 1fr;
  margin-top: 16px;
  max-height: none;
  overflow: visible;
  padding: 0;
}

.vote-sites-list .vote-card {
  min-height: 88px;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  grid-template-areas:
    "number name type"
    "number reward type";
  align-items: center;
  align-content: center;
  gap: 5px 18px;
  padding: 14px 16px;
  border-color: rgba(88,217,255,.16);
  background:
    linear-gradient(90deg, rgba(255,255,255,.065), rgba(55,216,115,.06)),
    #101313;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 14px 40px rgba(0,0,0,.22);
}

.vote-sites-list .vote-card:hover {
  border-color: rgba(255, 210, 30, .56);
  transform: translateX(4px);
}

.vote-sites-list .vote-card span {
  grid-area: number;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #111;
  background: var(--gold);
  font-size: 15px;
  font-weight: 950;
}

.vote-sites-list .vote-card strong {
  grid-area: name;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
}

.vote-sites-list .vote-card small {
  grid-area: reward;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vote-sites-list .vote-card em {
  grid-area: type;
  justify-self: end;
}

.vote-links-spotlight {
  margin-top: 18px;
  margin-bottom: 16px;
  min-height: 126px;
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 210, 30, .18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,210,30,.11), rgba(88,217,255,.05)),
    #101313;
  overflow: hidden;
}

.vote-links-spotlight strong {
  display: block;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.05;
}

.vote-links-spotlight p {
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.5;
}

.minecraft-helper {
  position: relative;
  width: 104px;
  height: 104px;
  justify-self: center;
  image-rendering: pixelated;
  transform: scale(.92);
}

.minecraft-helper span {
  position: absolute;
  display: block;
  border-radius: 3px;
}

.helper-head {
  left: 42px;
  top: 8px;
  width: 36px;
  height: 34px;
  background: linear-gradient(180deg, #b98255 0 62%, #8d5d3b 62%);
  box-shadow: inset 8px 0 #3b2418, inset -8px 10px rgba(255,255,255,.12);
}

.helper-body {
  left: 35px;
  top: 42px;
  width: 50px;
  height: 42px;
  background: linear-gradient(180deg, var(--cyan), #1f6b7a);
  box-shadow: inset 0 -12px #2448a5;
}

.helper-arm {
  top: 46px;
  width: 18px;
  height: 46px;
  background: linear-gradient(180deg, var(--cyan) 0 58%, #b98255 58%);
}

.helper-arm.left {
  left: 18px;
  transform: rotate(10deg);
}

.helper-arm.right {
  right: 17px;
  transform: rotate(-24deg);
}

.helper-leg {
  top: 82px;
  width: 22px;
  height: 34px;
  background: #2448a5;
}

.helper-leg.left { left: 36px; }
.helper-leg.right { left: 62px; }

.helper-item {
  right: 7px;
  top: 70px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #59f0a1, #127543);
  transform: rotate(45deg);
  box-shadow: 0 0 24px rgba(55,216,115,.38);
}

.vote-podium-block {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.vote-podium {
  display: grid;
  grid-template-columns: minmax(180px, .84fr) minmax(220px, 1.18fr) minmax(180px, .84fr);
  gap: clamp(14px, 3vw, 30px);
  align-items: end;
  max-width: 960px;
  margin: 10px auto 26px;
}

.vote-podium-card {
  pointer-events: auto;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  min-height: 372px;
  align-content: stretch;
  grid-template-rows: auto minmax(155px, 1fr) auto;
  gap: 8px;
  overflow: hidden;
  padding: 24px 18px 24px;
}

.vote-podium-card:hover {
  transform: translateY(-8px);
  border-color: rgba(88, 217, 255, .75);
  box-shadow: 0 34px 110px rgba(88, 217, 255, .16), 0 0 0 2px rgba(55, 216, 115, .18);
}

.vote-podium-card .skin-stage {
  height: 165px;
  margin: 34px 0 20px;
  align-self: end;
}

.vote-podium-card.first {
  min-height: 430px;
}

.vote-podium-card.first .skin-stage {
  height: 220px;
  margin-top: 42px;
  margin-bottom: 22px;
}

.vote-podium-card .skin-stage img {
  max-width: min(58%, 126px);
  max-height: 100%;
}

.vote-podium-card.first .skin-stage img {
  max-width: min(60%, 168px);
}

.podium-card .skin-stage .empty-minecraft-skin img,
.vote-podium-card .skin-stage .empty-minecraft-skin img,
.podium-card.first .skin-stage .empty-minecraft-skin img,
.vote-podium-card.first .skin-stage .empty-minecraft-skin img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
}

.vote-podium-card .supporter-label,
.vote-podium-card strong,
.vote-podium-card span:not(.supporter-label),
.vote-podium-card small {
  position: relative;
  z-index: 2;
}

.vote-podium-card .supporter-label {
  margin: 0 auto 7px;
}

.vote-podium-card strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.05;
}

.vote-podium-card span:not(.supporter-label) {
  color: var(--text);
  font-weight: 850;
}

.vote-player-info {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 5px;
  min-height: 118px;
  align-content: end;
  padding: 16px 10px 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(7,9,9,.12), rgba(7,9,9,.72));
}

.vote-podium-card.first:hover {
  border-color: rgba(255, 210, 30, .9);
  box-shadow: 0 38px 120px rgba(255, 210, 30, .16), 0 0 0 2px rgba(255, 210, 30, .24);
}

.vote-ranking-wide {
  width: min(760px, 100%);
  margin: 0 auto;
}

.vote-ranking-wide .vote-person {
  min-height: 66px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  padding: 10px 16px 10px 10px;
  background:
    linear-gradient(90deg, rgba(88,217,255,.055), rgba(255,255,255,.025));
}

.vote-ranking-wide .vote-person b {
  font-size: 18px;
}

.vote-person-avatar {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  image-rendering: pixelated;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(88,217,255,.18);
}

.vote-top {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  padding: 18px;
}

.vote-top-head,
.vote-person {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vote-top-head {
  margin-bottom: 14px;
}

.vote-top-head strong {
  color: var(--gold);
  font-size: 28px;
}

.vote-ranking {
  display: grid;
  gap: 10px;
}

.vote-person {
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.vote-person b {
  display: block;
}

.vote-person small {
  color: var(--muted);
}

.vote-person strong {
  color: var(--emerald);
}

.vote-ranking-wide .vote-person {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 70px;
  padding: 10px 16px 10px 10px;
}

.vote-ranking-wide .vote-person b,
.vote-ranking-wide .vote-person small {
  min-width: 0;
}

.info-section,
.purchase-faq {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 70px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(207, 0, 58, .14), rgba(55, 216, 115, .07));
}

.purchase-faq {
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(88,217,255,.055), rgba(55,216,115,.045)),
    #0d1010;
}

.faq-copy {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,210,30,.09), rgba(207,0,58,.08)),
    #101313;
}

.faq-copy h2 {
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: .95;
  text-transform: uppercase;
}

.faq-copy p {
  max-width: 460px;
  font-size: 16px;
}

.faq-steps {
  display: grid;
  gap: 9px;
  margin-top: 24px;
}

.faq-steps span {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  color: white;
  background: rgba(255,255,255,.04);
  font-weight: 900;
}

.faq-steps b {
  color: #111;
  background: var(--gold);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
}

.faq-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.faq-list details {
  border: 1px solid rgba(88,217,255,.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    #111414;
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.faq-list details[open] {
  border-color: rgba(255, 210, 30, .38);
  background:
    linear-gradient(135deg, rgba(255,210,30,.075), rgba(88,217,255,.04)),
    #111414;
}

.faq-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 950;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #111;
  background: var(--gold);
  flex: 0 0 auto;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  line-height: 1.6;
}

.setup-list {
  display: grid;
  gap: 10px;
  min-width: 280px;
}
.setup-list span {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}

.cart-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  justify-content: end;
  background: rgba(0,0,0,.62);
}
.cart-panel.open { display: flex; }
.cart-box {
  width: min(440px, 100%);
  height: 100%;
  padding: 22px;
  background: #0d1010;
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: auto;
}
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.cart-head h2 { font-size: 34px; }
.cart-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cart-clear {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.045);
  font-weight: 850;
  cursor: pointer;
}
.cart-clear:hover {
  color: white;
  border-color: rgba(255,210,30,.45);
}
.close-button::before, .close-button::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: white;
  transform: translate(-50%, -50%) rotate(45deg);
}
.close-button { position: relative; }
.close-button::after { transform: translate(-50%, -50%) rotate(-45deg); }

.checkout-form { display: grid; gap: 16px; }
.checkout-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 750;
}
.checkout-form input {
  min-height: 48px;
  color: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  padding: 0 14px;
}
.checkout-form input:focus {
  outline: 2px solid rgba(255, 210, 30, .38);
  border-color: rgba(255, 210, 30, .55);
}

.checkout-payment-methods {
  display: grid;
  gap: 10px;
}

.checkout-payment-methods > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.checkout-method-grid {
  display: grid;
  gap: 10px;
}

.checkout-method {
  position: relative;
  min-height: 78px;
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  align-content: center;
  gap: 8px 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,210,30,.06), transparent 45%),
    rgba(255,255,255,.035);
  cursor: pointer;
}

.checkout-method input {
  grid-row: 1 / span 2;
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--gold);
  align-self: center;
}

.checkout-method b,
.checkout-method small {
  display: block;
  min-width: 0;
}

.checkout-method b {
  color: var(--text);
  font-size: 16px;
}

.checkout-method small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.checkout-method.active {
  border-color: rgba(255,210,30,.82);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,210,30,.18), transparent 44%),
    rgba(255,210,30,.06);
}

.cart-items {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}
.cart-item button {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: white;
  background: transparent;
  cursor: pointer;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.cart-total strong {
  color: var(--gold);
  font-size: 26px;
}
.checkout-status {
  min-height: 22px;
  color: var(--muted);
  line-height: 1.4;
}

.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 24px);
  max-width: min(480px, calc(100vw - 30px));
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(14, 16, 16, .96);
  color: white;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1040px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .section-head, .vote-section, .info-section, .purchase-faq { grid-template-columns: 1fr; }
  .trailer-wrap {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "video"
      "copy";
  }
  .section-head { align-items: start; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ranking-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header {
    height: 66px;
    gap: 10px;
    padding-inline: 14px;
  }
  .brand span:last-child { display: none; }
  .mobile-drawer {
    top: 76px;
    right: 14px;
  }
  .server-pill { padding: 9px 11px; font-size: 14px; }
  .hero { min-height: 88vh; padding-top: 100px; }
  .hero-logo { width: 86px; height: 86px; font-size: 30px; }
  .hero-actions, .shop-tools, .server-copy { width: 100%; }
  .hero-actions .button { width: 100%; max-width: 360px; }
  .server-copy { justify-content: center; flex-wrap: wrap; }
  .section { padding-inline: 14px; }
  .shop-tools { justify-content: start; }
  .segmented {
    width: 100%;
    overflow-x: auto;
    justify-content: start;
  }
  .product-grid, .podium, .vote-sites, .vote-picker { grid-template-columns: 1fr; }
  .trailer-player, .trailer-player img { min-height: 250px; }
  .trailer-meta {
    align-items: start;
    flex-direction: column;
  }
  .play-button {
    width: 64px;
    height: 64px;
  }
  .play-button::before {
    left: 26px;
    top: 20px;
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 19px;
  }
  .product-top { grid-template-columns: 106px 1fr; }
  .product-card { min-height: auto; }
  .podium-card, .podium-card.first { min-height: 310px; }
  .podium-card.first .skin-stage, .skin-stage { height: 180px; }
  .rank-row { grid-template-columns: 42px 42px 1fr; }
  .rank-row strong { grid-column: 3; }
  .info-section, .purchase-faq { width: calc(100% - 28px); padding: 22px; }
  .setup-list { min-width: 0; }
}

@media (max-width: 430px) {
  h1 { font-size: 48px; }
  .section h2 { font-size: 32px; }
  .current-price { font-size: 23px; }
  .product-buy { align-items: center; }
}

@keyframes scrollPulse {
  0%, 100% { transform: translateY(0); opacity: .45; }
  50% { transform: translateY(10px); opacity: 1; }
}

@keyframes podiumFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg); }
  50% { transform: translateY(-8px) rotateX(2deg); }
}

.scroll-cue i::after {
  content: "";
  display: block;
  width: 6px;
  height: 10px;
  margin: 8px auto 0;
  border-radius: 99px;
  background: white;
  animation: scrollPulse 1.45s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.subpage-hero {
  min-height: 54vh;
  padding: 128px clamp(18px, 5vw, 72px) 58px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  background:
    radial-gradient(circle at 22% 30%, rgba(88, 217, 255, .13), transparent 30%),
    radial-gradient(circle at 74% 34%, rgba(207, 0, 58, .12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent),
    #080a0a;
}

.subpage-hero > div {
  width: min(820px, 100%);
}

.subpage-hero h1 {
  font-size: clamp(46px, 6vw, 86px);
}

.subpage-hero p {
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

.mode-tabs {
  width: min(1180px, 100%);
  margin: -10px auto 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(88, 217, 255, .12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(88, 217, 255, .12), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
}

.mode-tab {
  min-height: 292px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 210px auto;
  align-items: start;
  gap: 12px;
  padding: 12px 16px 16px;
  color: white;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.062), rgba(255,255,255,.018));
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.mode-tab::after {
  content: "";
  position: absolute;
  inset: auto -34px -44px auto;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 217, 255, .16), transparent 64%);
  opacity: 0;
  transition: opacity .18s ease;
}

.mode-tab:hover {
  transform: translateY(-3px);
  border-color: rgba(88, 217, 255, .45);
}

.mode-tab:hover::after,
.mode-tab.active::after {
  opacity: 1;
}

.mode-tab.active {
  border-color: rgba(255, 210, 30, .7);
  background:
    linear-gradient(135deg, rgba(255,210,30,.14), rgba(55,216,115,.1));
  box-shadow: 0 20px 55px rgba(255, 210, 30, .08);
}

.mode-tab.locked {
  border-color: rgba(255,210,30,.24);
  background:
    linear-gradient(135deg, rgba(255,210,30,.075), rgba(207,0,58,.045));
}

.mode-tab.locked .mode-logo,
.mode-tab.locked b {
  opacity: .9;
}

.mode-tab.locked em {
  color: var(--gold);
  background: rgba(255,210,30,.1);
}

.mode-logo {
  grid-row: auto;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #07100c;
  background: var(--gold);
  font-weight: 950;
}

.mode-logo.rendered {
  width: 100%;
  height: 210px;
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.mode-logo.rendered img {
  width: auto;
  height: 210px;
  max-width: 100%;
  max-height: 210px;
  justify-self: center;
  align-self: center;
  display: block;
  object-fit: contain;
  object-position: center;
  transform: none;
  filter: drop-shadow(0 16px 18px rgba(0,0,0,.36));
}

.mode-tab:nth-child(1) .mode-logo.rendered img,
.mode-tab:nth-child(2) .mode-logo.rendered img {
  transform: none;
}

.mode-tab:nth-child(3) .mode-logo.rendered img {
  width: min(100%, 256px);
  height: 210px;
  max-width: 256px;
  max-height: 210px;
  object-fit: fill;
  object-position: center;
  justify-self: center;
  transform: none;
}

.mode-logo svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.mode-logo.sword { background: linear-gradient(145deg, #37d873, #ffd21e); }
.mode-logo.axe { background: linear-gradient(145deg, #cf003a, #ffd21e); }
.mode-logo.island { background: linear-gradient(145deg, #58d9ff, #37d873); }
.mode-logo.block { background: linear-gradient(145deg, #ffd21e, #f8f7f2); }

.mode-tab-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
  align-content: start;
}

.mode-tab b {
  line-height: 1.1;
  font-size: 18px;
}

.mode-tab small {
  color: var(--muted);
  font-weight: 800;
}

.mode-tab em {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255,210,30,.08);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.shop-tools-page {
  width: min(1180px, 100%);
  margin: 0 auto 22px;
  justify-content: space-between;
}

.sort-tabs {
  min-height: 50px;
  display: grid;
  grid-template-columns: repeat(4, minmax(116px, 1fr));
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    radial-gradient(circle at 100% 50%, rgba(255,210,30,.08), transparent 35%),
    rgba(255, 255, 255, .045);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}

.sort-tabs:empty {
  display: none;
}

.sort-tabs button {
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  min-height: 40px;
  color: var(--muted);
  background: transparent;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.sort-tabs button:hover {
  color: var(--text);
  background: rgba(255,255,255,.065);
}

.sort-tabs button.active {
  color: #111;
  background: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255,210,30,.2);
}

.mode-pill {
  display: inline-flex;
  width: fit-content;
  margin: 0 8px 8px 0;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(88, 217, 255, .09);
  border: 1px solid rgba(88, 217, 255, .2);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-podium-card {
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.payment-podium-card:hover {
  animation: podiumFloat 1.8s ease-in-out infinite;
  border-color: rgba(88, 217, 255, .75);
  box-shadow: 0 34px 110px rgba(88, 217, 255, .14), 0 0 0 2px rgba(55, 216, 115, .18);
}

.payment-podium-card.first:hover {
  border-color: rgba(255, 210, 30, .9);
  box-shadow: 0 38px 120px rgba(255, 210, 30, .16), 0 0 0 2px rgba(255, 210, 30, .24);
}

.payment-podium-card:focus-visible {
  outline: 3px solid rgba(88, 217, 255, .5);
  outline-offset: 4px;
}

.payment-preview-page {
  min-height: 100vh;
  padding: 120px clamp(18px, 5vw, 72px) 70px;
  background:
    radial-gradient(circle at 14% 18%, rgba(88,217,255,.14), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(207,0,58,.18), transparent 28%),
    radial-gradient(circle at 54% 86%, rgba(55,216,115,.1), transparent 30%),
    #070909;
}

.payment-preview-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(390px, .95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: stretch;
}

.payment-preview-summary,
.payment-preview-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(18,22,21,.96), rgba(9,11,11,.98)),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 30px 100px rgba(0,0,0,.42);
}

.payment-preview-summary {
  min-height: 520px;
  padding: clamp(26px, 4vw, 42px);
  display: grid;
  align-content: start;
  gap: clamp(32px, 7vw, 86px);
  overflow: hidden;
  position: relative;
}

.payment-preview-summary::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -72px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,210,30,.22), transparent 66%);
}

.payment-preview-summary h1 {
  margin: 10px 0 14px;
  max-width: 100%;
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.02;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.payment-preview-summary p {
  color: var(--muted);
  line-height: 1.55;
}

.payment-service-summary {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid rgba(255,210,30,.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 96% 10%, rgba(255,210,30,.22), transparent 34%),
    linear-gradient(135deg, rgba(255,210,30,.08), rgba(88,217,255,.035)),
    rgba(255,255,255,.04);
  position: relative;
  z-index: 1;
  box-shadow: 0 22px 70px rgba(255,210,30,.08);
}

.payment-service-summary:empty {
  display: none;
}

.payment-service-summary span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-service-summary strong {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
}

.payment-service-summary small,
.payment-service-summary em,
.payment-service-summary p {
  color: var(--muted);
  line-height: 1.45;
  font-style: normal;
}

.payment-service-summary p {
  margin: 0;
  color: rgba(248,247,242,.86);
}

.service-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0;
}

.service-metrics div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(0,0,0,.2);
}

.service-metrics b {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--gold);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.05;
}

.service-metrics small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-service-summary ul {
  display: grid;
  gap: 6px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.payment-service-summary li {
  position: relative;
  padding-left: 16px;
  color: rgba(248,247,242,.92);
  line-height: 1.4;
}

.payment-service-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
}

.payment-preview-card {
  padding: clamp(22px, 3vw, 34px);
  display: grid;
  gap: 18px;
}

.payment-preview-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.payment-preview-head > div,
.payment-preview-total,
.payment-operator,
.payment-preview-discount {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
}

.payment-preview-head span,
.payment-preview-total span,
.payment-operator span,
.payment-preview-discount span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-preview-head strong {
  overflow-wrap: anywhere;
  font-size: 18px;
}

.payment-preview-items {
  display: grid;
  gap: 10px;
}

.payment-preview-item {
  min-height: 86px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 94% 18%, rgba(255,210,30,.1), transparent 26%),
    rgba(255,255,255,.035);
}

.payment-preview-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}

.payment-preview-item b {
  display: block;
  font-size: 17px;
  line-height: 1.15;
}

.payment-preview-item small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.payment-preview-item strong,
.payment-preview-total strong,
.payment-preview-discount strong {
  color: var(--gold);
  font-size: 24px;
  white-space: nowrap;
}

.payment-preview-total,
.payment-preview-discount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-color: rgba(255,210,30,.24);
  background: linear-gradient(90deg, rgba(255,210,30,.1), rgba(207,0,58,.06));
}

.payment-operator {
  display: grid;
  gap: 4px;
  border-color: rgba(88,217,255,.22);
  background:
    radial-gradient(circle at 96% 18%, rgba(88,217,255,.14), transparent 30%),
    rgba(255,255,255,.04);
}

.payment-operator strong {
  font-size: 20px;
  overflow-wrap: anywhere;
}

.payment-operator small {
  color: var(--muted);
  line-height: 1.45;
}

.payment-preview-discount {
  border-color: rgba(55,216,115,.28);
  background: linear-gradient(90deg, rgba(55,216,115,.1), rgba(255,255,255,.03));
}

.payment-preview-discount strong {
  color: var(--emerald);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.payment-method {
  min-height: 88px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon note";
  align-items: center;
  gap: 3px 12px;
  padding: 14px;
  color: white;
  text-align: left;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  cursor: pointer;
}

.payment-method.active {
  border-color: rgba(255,210,30,.62);
  box-shadow: 0 16px 46px rgba(255,210,30,.08);
}

.payment-method:hover {
  border-color: rgba(88,217,255,.38);
}

.payment-method-icon {
  grid-area: icon;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background-color: var(--gold);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 22px;
}

.payment-method b {
  grid-area: title;
  min-width: 0;
}

.payment-method small {
  grid-area: note;
  color: var(--muted);
  line-height: 1.35;
}

.online-payment-box {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(88,217,255,.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 18%, rgba(88,217,255,.12), transparent 30%),
    rgba(255,255,255,.04);
}

.online-payment-box[hidden],
.voucher-box[hidden],
.payment-preview-discount[hidden] {
  display: none;
}

.online-payment-box > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.online-payment-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.online-payment-option {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px;
  color: white;
  text-align: left;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(0,0,0,.18);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.online-payment-option:hover {
  transform: translateY(-2px);
  border-color: rgba(88,217,255,.44);
}

.online-payment-option.active {
  border-color: rgba(255,210,30,.72);
  background:
    linear-gradient(135deg, rgba(255,210,30,.14), rgba(88,217,255,.08)),
    rgba(0,0,0,.18);
  box-shadow: 0 16px 44px rgba(255,210,30,.08);
}

.online-payment-option b {
  font-size: 18px;
}

.online-payment-option small {
  color: var(--muted);
  line-height: 1.35;
}

.voucher-icon {
  position: relative;
  clip-path: polygon(7% 24%, 93% 24%, 93% 39%, 84% 50%, 93% 61%, 93% 76%, 7% 76%, 7% 61%, 16% 50%, 7% 39%);
}

.voucher-box {
  padding: 16px;
  border: 1px solid rgba(255,210,30,.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 20%, rgba(255,210,30,.12), transparent 30%),
    rgba(255,255,255,.04);
}

.voucher-box label {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.voucher-box label span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.voucher-box input {
  min-height: 46px;
  min-width: 0;
  color: white;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(0,0,0,.22);
  padding: 0 14px;
  outline: none;
}

.voucher-box input:focus {
  border-color: rgba(255,210,30,.66);
  box-shadow: 0 0 0 3px rgba(255,210,30,.1);
}

.voucher-box p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .payment-preview-shell {
    grid-template-columns: 1fr;
  }

  .payment-preview-summary {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .payment-preview-head,
  .payment-methods,
  .online-payment-options {
    grid-template-columns: 1fr;
  }
  .admin-form,
  .admin-status-grid {
    grid-template-columns: 1fr;
  }

  .payment-preview-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .payment-preview-item strong {
    grid-column: 2;
  }

  .payment-preview-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-metrics {
    grid-template-columns: 1fr;
  }

  .voucher-box label span {
    grid-template-columns: 1fr;
  }
}

.podium-card {
  align-content: end;
  padding-bottom: 34px;
}

.podium-card.first {
  padding-bottom: 38px;
}

.skin-stage {
  margin-bottom: 8px;
}

.podium-card strong {
  overflow-wrap: anywhere;
  text-shadow: 0 8px 24px rgba(0,0,0,.42);
}

.player-modal {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
}

.player-modal.open {
  display: grid;
}

.player-modal-box {
  width: min(980px, 100%);
  max-height: min(860px, calc(100vh - 32px));
  overflow: auto;
  position: relative;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid rgba(88, 217, 255, .18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 18%, rgba(88,217,255,.1), transparent 30%),
    radial-gradient(circle at 75% 24%, rgba(207,0,58,.12), transparent 34%),
    #070909;
  box-shadow: 0 40px 140px rgba(0,0,0,.65);
}

.player-modal-box .close-button {
  position: absolute;
  top: 16px;
  right: 16px;
}

.player-modal-hero {
  display: grid;
  grid-template-columns: minmax(180px, 330px) 1fr;
  align-items: center;
  gap: clamp(22px, 5vw, 54px);
}

.player-modal-hero img {
  width: min(100%, 300px);
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 36px 48px rgba(0,0,0,.76));
}

.player-rank {
  display: inline-flex;
  padding: 8px 18px;
  border-radius: 999px;
  color: #111;
  background: var(--gold);
  font-weight: 950;
}

.player-modal h2 {
  margin-top: 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .92;
}

.player-modal p {
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 20px;
}

.player-modal h3 {
  margin-top: 34px;
  font-size: clamp(30px, 4vw, 48px);
  text-transform: uppercase;
}

.player-modal h3 span {
  color: var(--red);
}

.player-stat-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.player-stat-grid div {
  min-height: 118px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.player-stat-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-stat-grid strong {
  font-size: 28px;
}

.rules-tabs {
  width: min(1120px, calc(100% - 36px));
  margin: -32px auto 34px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 0%, rgba(255,210,30,.13), transparent 36%),
    rgba(9, 11, 11, .88);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
}

.rules-tabs button,
.rules-tabs a {
  min-width: 136px;
  min-height: 50px;
  text-align: center;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}

.rules-tabs button:hover,
.rules-tabs button.active,
.rules-tabs a:hover {
  color: white;
  border-color: rgba(255, 210, 30, .42);
  background: rgba(255,210,30,.1);
  transform: translateY(-2px);
}

.rules-tabs button.active {
  color: #111;
  border-color: rgba(255, 210, 30, .85);
  background: var(--gold);
  box-shadow: 0 16px 42px rgba(255, 210, 30, .16);
}

.rules-grid {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto 80px;
  display: grid;
  gap: 16px;
}

.rule-card {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
}

.rule-card h2 {
  font-size: clamp(30px, 4vw, 52px);
  text-transform: uppercase;
}

.rule-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.rules-board {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 88px;
  display: grid;
  grid-template-columns: minmax(300px, .36fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.rules-side {
  position: sticky;
  top: 92px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(255,210,30,.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 10%, rgba(255,210,30,.16), transparent 34%),
    radial-gradient(circle at 0% 90%, rgba(88,217,255,.1), transparent 36%),
    linear-gradient(160deg, rgba(255,210,30,.09), rgba(207,0,58,.05) 42%, rgba(88,217,255,.035)),
    #101313;
  min-height: 420px;
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
}

.rules-side strong {
  display: block;
  margin-top: 14px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  text-transform: uppercase;
}

.rules-side p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.rules-meta {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.rules-meta span {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255,255,255,.035);
  font-size: 13px;
  font-weight: 800;
}

.rules-side-note {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(88,217,255,.16);
  border-radius: 8px;
  background: rgba(88,217,255,.05);
}

.rules-side-note b {
  color: var(--gold);
  text-transform: uppercase;
}

.rules-side-note p {
  margin-top: 6px;
  font-size: 14px;
}

.rule-message {
  display: none;
  align-content: start;
  gap: 24px;
  background:
    radial-gradient(circle at 96% 0%, rgba(88,217,255,.12), transparent 30%),
    linear-gradient(135deg, rgba(88,217,255,.055), rgba(55,216,115,.026)),
    #0d1010;
  border-color: rgba(88,217,255,.16);
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
}

.rule-message.active {
  display: grid;
  animation: ruleMessageIn .22s ease both;
}

.rule-message[hidden] {
  display: none;
}

@keyframes ruleMessageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.document-header {
  padding: 4px 0 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.document-header h2 {
  font-size: clamp(44px, 5vw, 76px);
  line-height: .96;
  text-transform: uppercase;
}

.document-header p {
  max-width: 780px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.rules-hero {
  min-height: 58vh;
  background:
    radial-gradient(circle at 16% 22%, rgba(88,217,255,.16), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(207,0,58,.2), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 62%),
    #080a0a;
}

.rules-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.rules-hero-stats span {
  min-width: 120px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
}

.rules-hero-stats b {
  display: block;
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
}

.rules-hero-stats small {
  color: var(--muted);
  font-weight: 850;
  text-transform: uppercase;
}

.doc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.doc-list section {
  min-height: 156px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num body";
  gap: 6px 14px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 96% 14%, rgba(255,210,30,.08), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.018)),
    #101313;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.doc-list section:hover {
  transform: translateY(-3px);
  border-color: rgba(255,210,30,.34);
}

.doc-list b {
  grid-area: num;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 8px;
  background: var(--gold);
  color: #111;
  font-size: 15px;
  font-weight: 950;
}

.doc-list strong {
  grid-area: title;
  display: block;
  align-self: end;
  font-size: 21px;
  line-height: 1.15;
}

.doc-list p {
  grid-area: body;
  margin-top: 0;
  color: var(--muted);
  line-height: 1.58;
}

/* legacy text blocks keep their spacing when used outside the document grid */
.doc-list > b {
  color: var(--gold);
  font-size: 14px;
}

.site-footer {
  padding: clamp(82px, 9vw, 128px) clamp(18px, 5vw, 72px) 38px;
  background:
    radial-gradient(circle at 16% 30%, rgba(207, 0, 58, .08), transparent 24%),
    #070808;
  border-top: 1px solid var(--line);
}

.admin-panel {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 80px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
}

.theme-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.theme-picker button {
  min-height: 104px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px;
  color: white;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  cursor: pointer;
}

.theme-picker button.active {
  border-color: rgba(255, 210, 30, .72);
  background: linear-gradient(135deg, rgba(255,210,30,.15), rgba(55,216,115,.09));
}

.theme-picker span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #111;
  background: var(--gold);
  font-weight: 950;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 850;
}

.admin-form input,
.admin-form select {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255,255,255,.055);
}

.admin-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-status-grid article,
.admin-note-card {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 210, 30, .12), transparent 28%),
    rgba(255,255,255,.04);
}

.admin-status-grid article.ready {
  border-color: rgba(55, 216, 115, .35);
}

.admin-status-grid article.missing {
  border-color: rgba(207, 0, 58, .35);
}

.admin-status-grid span,
.admin-note-card span {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  background: rgba(255,255,255,.1);
}

.admin-status-grid .ready span,
.admin-note-card .ready {
  color: #101312;
  background: var(--emerald);
}

.admin-status-grid .missing span,
.admin-note-card .missing {
  color: white;
  background: var(--red);
}

.admin-status-grid strong,
.admin-note-card b {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: 20px;
}

.admin-status-grid p,
.admin-note-card p {
  color: var(--muted);
  line-height: 1.55;
}

.admin-note-card code {
  display: block;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(0,0,0,.22);
  overflow-wrap: anywhere;
}

body[data-theme="children"] {
  --red: #ff4f8b;
  --gold: #ffe45c;
  --emerald: #69f0ae;
  --cyan: #65dcff;
}

body[data-theme="christmas"] {
  --red: #d6093b;
  --gold: #f7d45a;
  --emerald: #1dd67d;
  --cyan: #d8f7ff;
}

body[data-theme="halloween"] {
  --red: #ff6a00;
  --gold: #ffb000;
  --emerald: #9dff4f;
  --cyan: #a46cff;
}

body[data-theme="easter"] {
  --red: #ff7fb7;
  --gold: #ffe680;
  --emerald: #83efc5;
  --cyan: #9edbff;
}

body[data-theme="children"] .hero-shade,
body[data-theme="christmas"] .hero-shade,
body[data-theme="halloween"] .hero-shade,
body[data-theme="easter"] .hero-shade {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 210, 30, .12), transparent 28%),
    radial-gradient(circle at 78% 34%, rgba(88, 217, 255, .12), transparent 30%),
    linear-gradient(180deg, rgba(7, 9, 9, .28), #070909 90%);
}

.footer-main {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 1.55fr) repeat(3, minmax(150px, .65fr));
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-brand strong {
  display: block;
  font-size: clamp(34px, 4vw, 48px);
  line-height: .96;
  text-transform: uppercase;
}

.footer-brand p,
.footer-main p,
.footer-main a,
.footer-bottom {
  color: rgba(255,255,255,.46);
  line-height: 1.6;
}

.footer-main h3 {
  margin: 0 0 16px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.footer-main h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 10px;
  background: var(--red);
}

.footer-main a {
  display: block;
  margin: 9px 0;
}

.footer-main a:hover {
  color: white;
}

.footer-bottom {
  width: min(1320px, 100%);
  margin: 76px auto 0;
  padding-top: 34px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  font-size: 13px;
}

.footer-legal {
  width: min(760px, 100%);
  display: grid;
  gap: 5px;
  color: rgba(255,255,255,.28);
}

.footer-copy {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 1040px) {
  .mode-tabs,
  .mode-sales-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-tools-page { justify-content: start; }
  .theme-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .vote-page-layout { grid-template-columns: 1fr; }
  .rules-board { grid-template-columns: 1fr; }
  .rules-side { min-height: auto; position: static; }
  .promo-showcase-head { grid-template-columns: 1fr; justify-items: start; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo-deal,
  .promo-deal.top {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 210px;
  }
  .promo-deal:not(.top) {
    grid-template-columns: minmax(0, 1fr) 210px;
    grid-template-areas:
      "copy character"
      "timer character";
  }
  .promo-deal:not(.top) .promo-character {
    display: block;
    transform: none;
  }
  .purchase-faq { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .subpage-hero { align-items: start; flex-direction: column; padding-top: 104px; }
  .mode-tabs, .mode-sales-grid, .product-badge-grid, .player-stat-grid, .footer-main, .theme-picker, .catalog-grid, .catalog-card, .admin-users-grid, .admin-blocks-grid { grid-template-columns: 1fr; }
  .sort-tabs {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 8px;
  }
  .config-tier-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-modal-hero { grid-template-columns: 1fr; text-align: center; }
  .player-modal-hero img { margin: 0 auto; max-height: 300px; }
  .vote-podium { grid-template-columns: 1fr; }
  .vote-podium-card,
  .vote-podium-card.first {
    min-height: 360px;
    grid-template-rows: auto 170px auto;
  }
  .vote-podium-card .skin-stage,
  .vote-podium-card.first .skin-stage {
    height: 170px;
    margin: 28px 0 4px;
  }
  .vote-podium-card .skin-stage img,
  .vote-podium-card.first .skin-stage img {
    max-width: min(48%, 132px);
  }
  .vote-list-option {
    grid-template-columns: 52px 1fr;
    grid-template-areas:
      "icon name"
      "icon reward"
      "icon tag";
  }
  .vote-list-option em { justify-self: start; width: fit-content; }
  .vote-sites-list .vote-card {
    grid-template-columns: 46px 1fr;
    grid-template-areas:
      "number name"
      "number reward"
      "number type";
  }
  .vote-sites-list .vote-card em { justify-self: start; }
  .vote-links-spotlight { grid-template-columns: 1fr; }
  .minecraft-helper { justify-self: start; }
  .vote-select-shell .vote-list-select { max-height: 300px; }
  .vote-ranking-wide .vote-person {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }
  .rules-tabs {
    justify-content: start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }
  .rules-tabs button {
    min-width: max-content;
  }
  .rule-message {
    min-height: auto;
  }
  .doc-list {
    grid-template-columns: 1fr;
  }
  .doc-list section {
    grid-template-columns: 46px minmax(0, 1fr);
  }
  .doc-list { grid-template-columns: 1fr; }
  .promo-deal,
  .promo-deal.top,
  .promo-deal:not(.top) {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "character"
      "timer";
  }
  .promo-character,
  .promo-deal:not(.top) .promo-character {
    justify-self: start;
    transform: scale(.84);
    transform-origin: left center;
  }
  .promo-countdown { justify-content: start; flex-wrap: wrap; }
}

.payment-result-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 18px 56px;
  background:
    radial-gradient(circle at 20% 22%, rgba(55, 216, 115, .14), transparent 25%),
    radial-gradient(circle at 78% 18%, rgba(207, 0, 58, .16), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(255, 210, 30, .12), transparent 30%),
    #050807;
}

.failed-result {
  background:
    radial-gradient(circle at 22% 20%, rgba(207, 0, 58, .2), transparent 26%),
    radial-gradient(circle at 82% 72%, rgba(255, 122, 47, .13), transparent 28%),
    #050807;
}

.payment-result-card {
  width: min(760px, 100%);
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    rgba(6, 10, 9, .94);
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

.payment-result-card h1 {
  margin: 12px 0 16px;
  font-size: clamp(46px, 8vw, 86px);
  line-height: .9;
  text-transform: uppercase;
}

.payment-result-card > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 620px;
}

.result-icon {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.success-icon { background: linear-gradient(135deg, var(--emerald), var(--gold)); }
.failed-icon {
  position: relative;
  background: linear-gradient(135deg, var(--red), #ff7a2f);
}

.success-icon::before {
  content: "";
  width: 34px;
  height: 18px;
  border-left: 7px solid #07100b;
  border-bottom: 7px solid #07100b;
  transform: rotate(-45deg) translate(2px, -2px);
}

.failed-icon::before,
.failed-icon::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 7px;
  border-radius: 999px;
  background: white;
}

.failed-icon::before { transform: rotate(45deg); }
.failed-icon::after { transform: rotate(-45deg); }

.result-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0;
}

.result-details > div,
.failed-help {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
}

.result-details span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.result-details strong {
  color: var(--gold);
  font-size: 20px;
  overflow-wrap: anywhere;
}

.result-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0;
}

.result-timeline > div {
  min-height: 94px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.result-timeline b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}

.result-timeline .done b,
.result-timeline .active b {
  color: #101312;
  background: var(--gold);
}

.result-timeline span {
  color: var(--muted);
  font-weight: 850;
}

.failed-help {
  margin: 24px 0;
}

.failed-help b {
  color: var(--text);
  font-size: 20px;
}

.failed-help p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Admin polish pass */
.payment-admin-layout {
  grid-template-columns: minmax(250px, 280px) minmax(620px, 1fr);
  gap: 22px;
  overflow: visible;
}

.payment-default-panel {
  align-self: start;
}

.payment-gateway-board {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  align-items: start;
  gap: 16px;
}

.payment-gateway-card {
  min-width: 0;
  padding: 16px;
  overflow: visible;
}

.payment-gateway-head {
  grid-template-columns: 42px minmax(0, 1fr) 34px;
  padding-right: 104px;
}

.payment-gateway-head i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(255,210,30,.28);
  border-radius: 8px;
  background: rgba(255,210,30,.08);
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}

.gateway-toggle {
  min-width: 88px;
  min-height: 30px;
  padding: 0 10px;
  font-size: 10px;
  top: 16px;
  right: 16px;
}

.gateway-config-fields {
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 12px 14px;
}

.gateway-config-fields label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.12;
  font-weight: 950;
}

.gateway-config-fields input {
  min-height: 46px;
  font-size: 13px;
}

.product-badge-grid {
  grid-template-columns: minmax(0, 860px);
  align-items: start;
}

.product-badge-card {
  width: 100%;
  padding: 18px;
}

.product-badge-items {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 12px;
}

.product-badge-row {
  min-height: 82px;
  grid-template-columns: minmax(150px, 1fr) 144px;
  padding: 12px;
}

.product-badge-row b {
  font-size: 13px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

.badge-picker {
  gap: 6px;
}

.badge-picker button {
  min-height: 38px;
  padding: 8px 10px;
  text-align: center;
  font-size: 12px;
}

.mode-sale-card {
  min-height: 250px;
  align-content: end;
}

.mode-sale-card .mode-logo,
.catalog-preview img {
  object-fit: contain;
  object-position: center;
}

.mode-sale-card .mode-logo {
  max-height: 106px;
  margin: 4px auto 20px;
  transform: none;
}

.file-plus {
  min-height: 76px;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 14px;
  text-align: left;
}

.file-plus span {
  flex: 0 0 auto;
}

.catalog-toggle {
  justify-content: flex-start;
  min-height: 46px;
  padding: 10px 0;
}

.catalog-toggle input,
.permission-grid input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex: 0 0 auto;
  accent-color: var(--gold);
}

.catalog-card .catalog-toggle {
  display: flex !important;
  grid-column: 1 / -1;
  justify-content: flex-start;
  gap: 12px;
}

.admin-account {
  width: min(360px, 100%);
  align-self: start;
  margin-left: auto;
}

.admin-account-card {
  min-width: 0;
  padding: 16px;
  gap: 6px;
}

.admin-account-card strong {
  font-size: 22px;
}

.admin-account-card .button {
  min-height: 42px;
  padding: 0 18px;
}

.admin-editor-hint {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: var(--muted);
  line-height: 1.45;
}

.admin-user-list article {
  min-height: 0;
  grid-template-columns: minmax(220px, .75fr) minmax(260px, 1fr) auto;
  gap: 16px;
}

.admin-user-perms {
  grid-template-columns: repeat(2, minmax(120px, 1fr));
}

.admin-user-perms i {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-user-actions .button {
  min-height: 42px;
  padding: 0 14px;
  font-size: 12px;
}

.permission-grid label {
  min-height: 48px;
  gap: 12px;
  padding: 10px 12px;
}

.toplist-reset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.toplist-reset-grid article {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,210,30,.12), transparent 36%),
    rgba(255,255,255,.035);
}

.toplist-reset-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.toplist-reset-grid strong {
  font-size: 22px;
}

.toplist-reset-grid p {
  color: var(--muted);
  line-height: 1.45;
}

.orders-stats-grid {
  grid-template-columns: minmax(260px, .8fr) minmax(320px, 1fr) minmax(260px, .75fr);
}

.orders-info-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.orders-info-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(0,0,0,.18);
}

.orders-info-list b {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.orders-info-list strong.positive { color: #37d873; }
.orders-info-list strong.negative { color: #ff5f8b; }

/* Final admin layout cleanup */
.admin-page-hero {
  align-items: center;
}

.admin-account {
  width: min(320px, 100%);
  justify-self: end;
}

.admin-account-card {
  min-height: 0;
  border-color: rgba(255,210,30,.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,210,30,.12), transparent 34%),
    rgba(255,255,255,.035);
}

.admin-account-card span {
  color: var(--gold);
  font-size: 11px;
  line-height: 1;
}

.admin-account-card .button {
  width: 100%;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.admin-quick-nav {
  position: relative;
  z-index: 5;
  margin-top: -18px;
}

.admin-form:has(.payment-admin-layout),
.admin-form:has(.product-badge-grid),
.admin-form:has(.mode-sales-grid),
.admin-form:has(.catalog-grid),
.admin-form:has(.admin-users-grid),
.admin-form:has(.admin-blocks-grid),
.admin-form:has(.toplist-reset-grid) {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.admin-form:has(.payment-admin-layout) > .button,
.admin-form:has(.product-badge-grid) > .button,
.admin-form:has(.mode-sales-grid) > .button,
.admin-form:has(.catalog-grid) > .button,
.admin-form:has(.admin-users-grid) > .button {
  justify-self: start;
  min-width: 260px;
}

.payment-admin-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.payment-default-panel {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,210,30,.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,210,30,.11), transparent 40%),
    rgba(255,255,255,.035);
}

.payment-provider-picker {
  gap: 8px;
}

.payment-provider-picker button {
  min-height: 64px;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 9px;
  border-radius: 8px;
}

.payment-provider-picker span,
.payment-gateway-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  font-size: 12px;
}

.payment-provider-picker b,
.payment-provider-picker small,
.payment-gateway-head b,
.payment-gateway-head small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.payment-gateway-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(340px, 1fr));
  gap: 14px;
}

.payment-gateway-card {
  min-width: 0;
  padding: 14px;
  border-radius: 8px;
}

.payment-gateway-head {
  min-height: 54px;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 10px;
  padding: 0 104px 0 0;
}

.payment-gateway-head i {
  width: 28px;
  height: 28px;
}

.gateway-toggle {
  top: 14px;
  right: 14px;
  min-width: 82px;
  height: 28px;
  min-height: 28px;
  padding: 0 8px;
  font-size: 9px;
}

.gateway-config-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 12px;
}

.gateway-config-fields label {
  font-size: 11px;
  line-height: 1.15;
}

.gateway-config-fields input {
  min-width: 0;
  min-height: 42px;
  padding: 0 10px;
  font-size: 12px;
}

.product-badge-grid {
  width: min(100%, 1120px);
  grid-template-columns: 1fr;
}

.product-badge-card {
  padding: 18px;
}

.product-badge-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-badge-row {
  min-height: 96px;
  grid-template-columns: minmax(120px, 1fr) minmax(172px, 190px);
  gap: 12px;
}

.product-badge-row span {
  min-width: 0;
}

.product-badge-row b {
  display: block;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.05;
  white-space: normal;
  overflow-wrap: break-word;
}

.product-badge-row small {
  font-size: 12px;
}

.badge-picker {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.badge-picker button {
  min-width: 0;
  min-height: 36px;
  border-radius: 7px;
}

.mode-sale-card {
  min-height: 246px;
  padding: 16px;
}

.mode-sale-card .mode-logo {
  width: min(100%, 230px);
  height: 116px;
  max-height: 116px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 18px;
}

.file-plus {
  min-height: 74px;
  border-style: dashed;
  border-color: rgba(255,210,30,.5);
  background: rgba(255,210,30,.055);
}

.file-plus span {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--gold);
  color: #111;
  display: grid;
  place-items: center;
}

.catalog-toggle {
  width: fit-content;
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
}

.catalog-toggle input,
.permission-grid input {
  width: 18px;
  height: 18px;
  min-height: 18px;
}

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

.permission-grid label {
  min-height: 54px;
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.admin-user-list {
  gap: 12px;
}

.admin-user-list article {
  min-height: 220px;
  padding: 20px;
  grid-template-columns: minmax(210px, .7fr) minmax(240px, 1fr) 150px;
  align-items: end;
}

.admin-user-perms {
  align-self: end;
}

.admin-user-actions {
  display: grid;
  gap: 8px;
  align-self: end;
}

.admin-user-actions .button {
  width: 100%;
  border-radius: 999px;
}

.catalog-card.admin-editor-card {
  align-content: start;
}

.orders-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.orders-stat-card.info {
  grid-column: span 2;
}

.orders-info-list div {
  align-items: center;
}

.toplist-reset-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vote-select-shell:not(.open) .vote-list-select {
  display: none;
}

.vote-select-shell.open .vote-list-select {
  display: grid;
  max-height: 360px;
  overflow: auto;
  margin-top: 10px;
}

.vote-select-trigger {
  text-align: left;
}

.vote-list-option {
  min-height: 72px;
}

.vote-links-spotlight {
  overflow: hidden;
}

.rules-board {
  grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
}

.rules-side {
  min-height: 500px;
}

.rule-card {
  min-width: 0;
}

.doc-list section {
  min-height: 172px;
}

@media (max-width: 1180px) {
  .payment-admin-layout,
  .rules-board {
    grid-template-columns: 1fr;
  }

  .payment-default-panel,
  .rules-side {
    position: static;
  }

  .payment-gateway-board,
  .orders-stats-grid,
  .toplist-reset-grid {
    grid-template-columns: 1fr;
  }

  .orders-stat-card.info {
    grid-column: auto;
  }

  .admin-user-list article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .product-badge-items,
  .permission-grid,
  .doc-list {
    grid-template-columns: 1fr;
  }

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

  .badge-picker {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .player-modal-hero {
    grid-template-columns: 1fr;
  }
}

/* Final layout fixes: payment admin, cart checkout and empty podium states. */
.payment-default-panel {
  align-self: start;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.payment-provider-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-width: 0;
}

.payment-provider-picker button {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.payment-provider-picker b,
.payment-provider-picker small,
.payment-gateway-head b,
.payment-gateway-head small,
.online-payment-option b,
.online-payment-option small {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.payment-provider-picker small,
.payment-gateway-head small {
  font-size: 11px;
  line-height: 1.2;
}

.payment-gateway-board {
  min-width: 0;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.checkout-payment-methods {
  display: none !important;
}

.online-payment-options {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.online-payment-option {
  min-width: 0;
  box-sizing: border-box;
}

.podium-demo-note {
  max-width: 680px;
  margin: 20px auto 0;
  text-align: center;
}

@media (max-width: 540px) {
  .payment-provider-picker button {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .online-payment-options {
    grid-template-columns: 1fr;
  }
}

.vote-helper-render {
  width: 118px;
  height: 118px;
  object-fit: contain;
  justify-self: center;
  filter: drop-shadow(0 22px 32px rgba(0,0,0,.5));
}

.player-modal-box {
  width: min(1040px, 100%);
}

.player-modal-hero {
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  align-items: center;
}

.player-modal-hero img {
  max-height: 360px;
  justify-self: center;
}

.player-rank-cta {
  max-width: 430px;
  margin: 0 0 14px !important;
  color: var(--muted);
  font-size: 16px !important;
  line-height: 1.45;
}

.player-stat-grid {
  gap: 16px;
}

.player-stat-grid div {
  min-height: 104px;
  padding: 18px;
  place-items: start;
  align-content: space-between;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,210,30,.08), transparent 34%),
    rgba(255,255,255,.035);
}

.player-stat-grid div:nth-child(2n) {
  border-color: rgba(88,217,255,.2);
  background:
    radial-gradient(circle at 100% 0%, rgba(88,217,255,.09), transparent 34%),
    rgba(255,255,255,.035);
}

.player-stat-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.player-stat-grid strong {
  color: var(--text);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
}

@media (max-width: 720px) {
  .admin-quick-nav {
    width: calc(100% - 28px);
    margin-top: -12px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .admin-quick-nav a {
    min-width: max-content;
  }

  .product-badge-row,
  .admin-users-grid,
  .admin-blocks-grid,
  .orders-stats-grid,
  .order-row {
    grid-template-columns: 1fr;
  }

  .orders-summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .method-bar {
    grid-template-columns: 1fr;
  }

  .result-details,
  .result-timeline,
  .result-actions {
    grid-template-columns: 1fr;
  }
}

/* Polish text and admin payment polish pass. Keep this block last so it wins over older panel rules. */
.admin-quick-nav {
  position: sticky;
  top: 76px;
  z-index: 60;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 34px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,210,30,.14), transparent 36%),
    linear-gradient(90deg, rgba(255,210,30,.07), rgba(0,0,0,.24)),
    rgba(8,12,12,.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
}

.admin-quick-nav a {
  min-height: 38px;
  padding: 0 15px;
  white-space: nowrap;
}

.payment-admin-layout {
  grid-template-columns: minmax(280px, 340px) minmax(520px, 1fr);
  gap: 24px;
  align-items: start;
}

.payment-default-panel {
  position: sticky;
  top: 152px;
  align-self: start;
  max-height: calc(100vh - 176px);
  overflow: auto;
  padding: 16px;
  border-color: rgba(255,210,30,.34);
  background:
    radial-gradient(circle at 0% 0%, rgba(255,210,30,.15), transparent 36%),
    linear-gradient(145deg, rgba(255,210,30,.05), rgba(255,255,255,.025)),
    rgba(10,14,14,.96);
}

.payment-provider-picker {
  gap: 10px;
}

.payment-provider-picker button {
  min-height: 74px;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 13px;
  row-gap: 2px;
  padding: 12px;
  border-radius: 8px;
  overflow: hidden;
}

.payment-provider-picker button span {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
}

.payment-provider-picker button b {
  align-self: end;
  font-size: 19px;
  line-height: 1.05;
}

.payment-provider-picker button small {
  align-self: start;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.25;
}

.payment-default-panel label {
  min-width: 0;
}

.payment-default-panel input {
  width: 100%;
  min-width: 0;
}

.payment-gateway-board {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 16px;
  min-width: 0;
}

.payment-gateway-card {
  min-width: 0;
  overflow: hidden;
  padding: 16px;
}

.payment-gateway-head {
  min-height: 58px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 0 100px 0 0;
}

.payment-gateway-icon {
  width: 38px;
  height: 38px;
}

.payment-gateway-head b {
  font-size: 20px;
  line-height: 1.05;
}

.payment-gateway-head small {
  font-size: 12px;
  line-height: 1.2;
}

.payment-gateway-head i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 26px;
  border: 1px solid rgba(255,210,30,.38);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255,210,30,.08);
  font-size: 10px;
}

.gateway-toggle {
  top: 16px;
  right: 16px;
  min-width: 88px;
  height: 28px;
  min-height: 28px;
  padding: 0 10px;
  font-size: 10px;
  line-height: 1;
}

.gateway-config-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gateway-config-fields label {
  min-width: 0;
  font-size: 12px;
  line-height: 1.2;
}

.gateway-config-fields input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .admin-quick-nav {
    top: 70px;
    width: calc(100% - 28px);
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .payment-admin-layout {
    grid-template-columns: 1fr;
  }

  .payment-default-panel {
    position: static;
    max-height: none;
  }

  .payment-gateway-board {
    grid-template-columns: 1fr;
  }
}
