body.fx2:not(.is-bare) main.vip-club, main.vip-club {
  --vip-gutter: clamp(16px, 3vw, 48px);
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 0 0 64px;
}
.vip-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 300px;
  padding: 32px max(var(--vip-gutter), calc((100% - 1200px) / 2));
  background: #213545 url('/img/vip/club-trophy.webp') right center / auto 100% no-repeat;
}
.vip-hero #vip-progress { width: min(100%, 380px); }
.vip-hero #vip-progress > h2 { margin: 0 0 16px; font-size: 20px; }
.vip-section {
  width: min(calc(100% - 2 * var(--vip-gutter)), 1200px);
  min-width: 0;
  margin: clamp(40px, 5vw, 80px) auto 0;
  color: var(--text-2, #ecf3f9);
}
.vip-section[hidden] { display: none; }
.vip-section > h2 { margin: 0 0 12px; font: 700 22px/1.35 var(--font); }
.vip-section[aria-labelledby="vip-ranks-heading"] > p { text-align: center; }
.vip-rank-heading { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; }
.vip-rank-heading h2 { margin: 0; font: 700 22px/1.35 var(--font); }
.vip-rank-heading + p { margin-top: 12px; }
.vip-rank-controls { position: absolute; right: 0; display: flex; gap: 6px; }
.vip-rank-controls button {
  display: grid; place-items: center; width: 40px; height: 40px;
  padding: 0; border: 0; border-radius: 8px;
  color: var(--text-2, #ecf3f9); background: var(--edge, #304553);
  font: 600 20px/1 var(--font); cursor: pointer;
}
.vip-rank-controls button svg { width: 18px; height: 18px; }
.vip-tier[data-family="bronze"] { --vip-metal: #d69661; }
.vip-tier[data-family="silver"] { --vip-metal: #b6c8d4; }
.vip-tier[data-family="gold"] { --vip-metal: #ffc150; }
.vip-tier[data-family="platinum"] { --vip-metal: #48c4cf; }
.vip-tier[data-family="diamond"] { --vip-metal: #a6b8ff; }
.vip-tier[data-family="obsidian"] { --vip-metal: #bd96f0; }
.vip-section p, .vip-section small { color: var(--label, #b1c2d2); }
.vip-section > p { margin: 0 auto 24px; line-height: 1.55; }
.vip-tier-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 4);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.vip-tier-grid::-webkit-scrollbar { display: none; }
.vip-tier {
  position: relative;
  margin: 70px 0 0;
  padding: 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #213545;
  scroll-snap-align: center;
}
.vip-tier::before {
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  top: -42px;
  left: 24px;
  background: #2c4252;
}
.vip-tier:last-child::before { display: none; }
.vip-tier::after {
  content: '';
  position: absolute;
  left: -2px;
  top: -64px;
  width: 44px;
  height: 44px;
  border: 8px solid var(--bg);
  border-radius: 50%;
  box-sizing: content-box;
  background: radial-gradient(circle at center, var(--vip-metal, #a1b7c6) 0 4px, #213545 5px);
}
.vip-tier[aria-current="step"] { border-color: var(--vip-metal, #43c0d3); }
.vip-tier h3 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 16px;
  padding: 4px 8px 4px 5px;
  border-radius: 6px;
  background: var(--vip-metal, #acc5d8);
  color: #0a1d2a;
  font: 700 13px/20px var(--font);
}
.vip-tier h3 .vip-badge { width: 19px; height: 19px; }
.vip-tier strong, .vip-tier small { display: block; }
.vip-tier strong { font: 700 clamp(18px, 2vw, 26px)/1.3 var(--font); overflow-wrap: anywhere; }
.vip-tier small { margin-top: 4px; font-size: 14px; }
.vip-tier ul { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.vip-tier li { display: flex; align-items: baseline; gap: 8px; font-size: 14px; line-height: 1.4; }
.vip-tier li::before {
  content: '✓';
  display: inline-grid; place-items: center;
  flex: none; width: 15px; height: 15px;
  border-radius: 50%;
  color: #102435; background: var(--vip-metal, #abc4d7);
  font-size: 11px; font-weight: 800;
}
.vip-section details { padding: 0 16px; border-radius: 8px; background: #213545; }
.vip-section details + details { margin-top: 8px; }
.vip-section .vip-rank-thresholds { margin-top: 20px; }
.vip-threshold-scroll { max-width: 100%; overflow-x: auto; padding-bottom: 16px; }
.vip-section summary { padding: 16px 0; font-weight: 600; cursor: pointer; }
.vip-section details p { max-width: 82ch; margin: 0; padding-bottom: 16px; line-height: 1.55; }
.vip-section details p a { color: #b7dcff; }
.vip-section table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.vip-section :is(th,td) { padding: 10px 12px; text-align: right; white-space: nowrap; }
.vip-section :is(th,td):first-child { text-align: left; }
.vip-section tbody tr:nth-child(odd) { background: var(--bg); }
.vip-benefit {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 20px;
  padding: 20px; border-radius: 8px; background: #213545;
}
.vip-benefit + .vip-benefit, #vip-offers { margin-top: 12px; }
#vip-play:not([hidden]) { margin-bottom: 12px; }
.vip-benefit h3 { margin: 0 0 6px; font: 600 18px/24px var(--font); }
.vip-benefit p { margin: 0; overflow-wrap: anywhere; }
.vip-benefit small { display: block; margin-top: 5px; overflow-wrap: anywhere; }
.vip-note { flex-basis: 100%; font-size: 13px; line-height: 1.5; }
#vip-message { margin: 12px 0 0; }
#vip-message:empty { display: none; }
.vip-club button:disabled { cursor: default; opacity: .55; }
@media (max-width: 1100px) {
  .vip-tier-grid { grid-auto-columns: calc((100% - 32px) / 3); }
}
@media (max-width: 760px) {
  .vip-hero {
    min-height: 220px;
    background-size: auto 82%;
    background-position: right top;
  }
  .vip-tier-grid { grid-auto-columns: min(76%, 270px); gap: 12px; }
}
@media (max-width: 580px) {
  .vip-hero { align-items: end; padding-top: 72px; padding-bottom: 20px; background-size: auto 110px; }
  .vip-rank-heading { justify-content: space-between; }
  .vip-rank-controls { position: static; flex: none; }
  .vip-section[aria-labelledby="vip-ranks-heading"] > p { text-align: left; }
}
