.xnv-vip-renewal-slot {
  box-sizing: border-box;
  width: 100%;
  padding: 0;
}

.xnv-vip-renewal-slot[hidden],
.xnv-vip-renewal[hidden] { display: none !important; }

.xnv-vip-renewal {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) clamp(82px, 27vw, 104px) 30px;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 8px;
  overflow: hidden;
  border: 1px solid #ffc72c;
  background: #090909;
  color: #fff;
  transition: transform .18s ease, opacity .18s ease;
}

.xnv-vip-renewal::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 199, 44, .36);
  pointer-events: none;
}

.xnv-vip-renewal.is-dragging { transition: none; }
.xnv-vip-renewal.is-dismissing {
  transform: translate3d(var(--xnv-vip-exit-x, 110%), 0, 0);
  opacity: 0;
  pointer-events: none;
}

.xnv-vip-renewal__badge {
  box-sizing: border-box;
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: #ffc72c;
  color: #050505;
  font: 900 10px/1 system-ui, sans-serif;
  letter-spacing: .04em;
  clip-path: polygon(50% 0,61% 8%,75% 4%,83% 17%,96% 23%,92% 38%,100% 50%,92% 62%,96% 77%,83% 83%,75% 96%,61% 92%,50% 100%,39% 92%,25% 96%,17% 83%,4% 77%,8% 62%,0 50%,8% 38%,4% 23%,17% 17%,25% 4%,39% 8%);
}

.xnv-vip-renewal__badge::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid #050505;
  border-radius: 50%;
}

.xnv-vip-renewal__copy { min-width: 0; }

.xnv-vip-renewal__title {
  display: block;
  color: #fff;
  font: 850 13px/1.17 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}

.xnv-vip-renewal__description {
  display: block;
  margin-top: 3px;
  color: #cfcfcf;
  font: 600 10px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}

.xnv-vip-renewal__cta {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 38px;
  padding: 6px 5px;
  border: 1px solid #ffc72c;
  border-radius: 6px;
  background: #ffc72c;
  color: #050505 !important;
  font: 900 clamp(11px, 3.3vw, 13px)/1.12 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: .01em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.xnv-vip-renewal__cta:hover { border-color: #fff1ba; background: #fff1ba; }

.xnv-vip-renewal__close {
  box-sizing: border-box;
  display: grid;
  width: 30px;
  min-height: 40px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font: 800 21px/1 system-ui, sans-serif;
  cursor: pointer;
}

.xnv-vip-renewal__close:hover { background: rgba(255, 255, 255, .12); }
.xnv-vip-renewal__close:focus-visible,
.xnv-vip-renewal__cta:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }

@media (max-width: 767px) {
  .xnv-vip-renewal { touch-action: pan-y; }
  .xnv-vip-renewal.is-fixed {
    position: fixed;
    top: var(--xnv-vip-header-bottom, 54px);
    left: 0;
    right: 0;
    width: auto;
    z-index: 8990;
  }
}

@media (max-width: 359px) {
  .xnv-vip-renewal { grid-template-columns: 32px minmax(0, 1fr) 82px 28px; gap: 5px; padding: 7px; }
  .xnv-vip-renewal__badge { width: 32px; height: 32px; }
  .xnv-vip-renewal__description { display: none; }
  .xnv-vip-renewal__close { width: 28px; }
}

@media (min-width: 768px) {
  .xnv-vip-renewal-slot { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .xnv-vip-renewal { transition: none; }
}
