.xh-svip-page {
  max-width: 1120px;
  margin: 0 auto 32px;
  color: #27162f;
}

.xh-svip-page * {
  box-sizing: border-box;
}

#footer .wuai-footer-brand + .text-muted {
  display: none !important;
}

.xh-svip-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 14px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid rgba(126, 34, 206, .13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 247, 245, .95) 52%, rgba(248, 245, 255, .96)),
    linear-gradient(135deg, rgba(225, 29, 72, .08), rgba(245, 158, 11, .08), rgba(124, 58, 237, .1));
  box-shadow: 0 14px 34px rgba(55, 37, 82, .08);
}

.xh-svip-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(225, 29, 72, .1);
  color: #be123c;
  font-size: 12px;
  font-weight: 800;
}

.xh-svip-hero h1 {
  margin: 12px 0 8px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.xh-svip-hero p {
  max-width: 560px;
  margin: 0;
  color: #6f6079;
  font-size: 15px;
  line-height: 1.65;
}

.xh-svip-hero-actions,
.xh-svip-order-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 16px;
}

.xh-svip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
}

.xh-svip-btn-primary {
  background: linear-gradient(135deg, #e11d48, #f59e0b 120%);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(225, 29, 72, .18);
}

.xh-svip-btn-soft {
  background: #fff;
  border-color: rgba(124, 58, 237, .2);
  color: #6d28d9 !important;
}

.xh-svip-btn[disabled] {
  cursor: not-allowed;
  opacity: .62;
  box-shadow: none;
}

.xh-svip-hero-card,
.xh-svip-identity-panel,
.xh-svip-growth-panel,
.xh-svip-monthly-card,
.xh-svip-lottery-entry-card,
.xh-svip-level-card,
.xh-svip-plan-card,
.xh-svip-empty-card,
.xh-svip-order-item,
.xh-svip-growth-item {
  border: 1px solid rgba(124, 58, 237, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
}

.xh-svip-hero-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 18px;
}

.xh-svip-hero-card span,
.xh-svip-hero-card em,
.xh-svip-panel-head span,
.xh-svip-identity-row span,
.xh-svip-growth-copy span,
.xh-svip-route-node span,
.xh-svip-section-head span,
.xh-svip-buy-summary span,
.xh-svip-plan-top span,
.xh-svip-plan-prices span,
.xh-svip-plan-card p,
.xh-svip-plan-actions span,
.xh-svip-level-card li span,
.xh-svip-monthly-main span,
.xh-svip-monthly-action span,
.xh-svip-lottery-entry-main span,
.xh-svip-lottery-entry-note span,
.xh-svip-order-item span,
.xh-svip-growth-item span,
.xh-svip-growth-item em,
.xh-svip-empty-card,
.xh-svip-login-box span {
  color: #776784;
}

.xh-svip-hero-card strong {
  display: block;
  margin-top: 8px;
  color: #be123c;
  font-size: 24px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.xh-svip-hero-card em {
  margin-top: 8px;
  font-style: normal;
}

.xh-svip-alert {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 158, 11, .28);
  border-radius: 8px;
  background: #fff7ed;
  color: #92400e;
}

.xh-svip-expiry-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 158, 11, .28);
  border-radius: 8px;
  background: #fff7ed;
  color: #7c2d12;
}

.xh-svip-expiry-alert.is-expired {
  border-color: rgba(225, 29, 72, .24);
  background: #fff1f2;
  color: #881337;
}

.xh-svip-expiry-alert strong,
.xh-svip-expiry-alert span {
  min-width: 0;
}

.xh-svip-expiry-alert span {
  overflow-wrap: anywhere;
}

.xh-svip-dashboard {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr);
  gap: 14px;
  margin-top: 16px;
}

.xh-svip-identity-panel,
.xh-svip-growth-panel,
.xh-svip-monthly-card,
.xh-svip-lottery-entry-card {
  min-width: 0;
  padding: 16px;
}

.xh-svip-panel-head,
.xh-svip-section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 12px;
}

.xh-svip-panel-head strong {
  color: #2f174d;
  font-size: 16px;
}

.xh-svip-section {
  margin-top: 20px;
}

.xh-svip-section-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: 0;
}

.xh-svip-identity-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 110px;
  gap: 10px;
}

.xh-svip-identity-row > div,
.xh-svip-buy-summary > div,
.xh-svip-plan-prices > div,
.xh-svip-monthly-main > div,
.xh-svip-lottery-entry-main > div {
  min-width: 0;
  padding: 11px;
  border-radius: 8px;
  background: #faf7ff;
}

.xh-svip-identity-main {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.xh-svip-identity-main strong,
.xh-svip-identity-row strong,
.xh-svip-buy-summary strong,
.xh-svip-plan-prices strong,
.xh-svip-monthly-main strong,
.xh-svip-lottery-entry-main strong {
  display: block;
  margin-top: 4px;
  color: #2f174d;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.xh-svip-identity-main strong {
  margin-top: 0;
  color: #be123c;
  font-size: 18px;
}

.xh-svip-login-box {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.xh-svip-login-box strong,
.xh-svip-login-box span {
  display: block;
}

.xh-svip-growth-panel {
  position: relative;
  overflow: hidden;
}

.xh-svip-growth-panel .xh-svip-panel-head strong {
  color: #be123c;
  font-size: 28px;
  line-height: 1;
}

.xh-svip-growth-copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 12px;
}

.xh-svip-growth-copy strong {
  color: #2f174d;
  font-size: 17px;
}

.xh-svip-progress {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #f3eaff;
}

.xh-svip-progress > div {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #e11d48, #f59e0b, #7c3aed);
  transition: width .9s cubic-bezier(.2, .8, .2, 1);
}

.xh-svip-route {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 2px 2px;
  scroll-snap-type: x proximity;
}

.xh-svip-route-node {
  position: relative;
  flex: 0 0 102px;
  scroll-snap-align: start;
  display: grid;
  gap: 4px;
  justify-items: center;
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid rgba(124, 58, 237, .16);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.xh-svip-route-node i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1eef6;
  color: #7a6a92;
  font-style: normal;
  font-weight: 900;
}

.xh-svip-route-node strong {
  color: #2f174d;
  font-size: 13px;
}

.xh-svip-route-node span {
  font-size: 12px;
}

.xh-svip-route-node.is-done i {
  background: linear-gradient(135deg, #e11d48, #f59e0b);
  color: #fff;
}

.xh-svip-route-node.is-current {
  border-color: rgba(225, 29, 72, .34);
  background: #fff7fb;
  box-shadow: inset 0 0 0 1px rgba(225, 29, 72, .1);
}

.xh-svip-route-node.is-step-pulse {
  animation: xhSvipRoutePulse .72s ease both;
}

@keyframes xhSvipRoutePulse {
  0% { transform: translateY(0); box-shadow: none; }
  42% { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(225, 29, 72, .14); }
  100% { transform: translateY(0); box-shadow: none; }
}

.xh-svip-buy-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.xh-svip-current-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.xh-svip-plan-card {
  min-width: 0;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 247, 251, .85), rgba(255, 255, 255, .96) 44%),
    #fff;
}

.xh-svip-plan-card.is-disabled {
  opacity: .68;
}

.xh-svip-plan-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.xh-svip-plan-top span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff1f2;
  color: #be123c;
  font-weight: 900;
}

.xh-svip-plan-top strong {
  color: #7c3aed;
  font-size: 13px;
  text-align: right;
}

.xh-svip-plan-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.xh-svip-plan-card p {
  min-height: 36px;
  margin: 10px 0;
  font-size: 12px;
  line-height: 1.55;
}

.xh-svip-plan-actions {
  display: grid;
  gap: 8px;
}

.xh-svip-plan-actions form {
  min-width: 0;
  margin: 0;
}

.xh-svip-plan-actions .xh-svip-btn {
  width: 100%;
}

.xh-svip-plan-actions span {
  display: block;
  min-height: 17px;
  margin-top: 5px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.xh-svip-level-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
}

.xh-svip-level-card {
  flex: 0 0 212px;
  min-width: 0;
  padding: 14px;
  scroll-snap-align: start;
}

.xh-svip-level-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.xh-svip-level-top strong {
  color: #2f174d;
  font-size: 16px;
}

.xh-svip-level-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.xh-svip-level-card li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid rgba(124, 58, 237, .1);
  font-size: 13px;
}

.xh-svip-level-card li strong {
  color: #2f174d;
  text-align: right;
  overflow-wrap: anywhere;
}

.xh-svip-benefit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.xh-svip-benefit-row .xh-svip-section-head {
  margin-bottom: 10px;
}

.xh-svip-monthly-main,
.xh-svip-lottery-entry-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.xh-svip-monthly-card.is-available {
  border-color: rgba(225, 29, 72, .22);
  background: #fff7fb;
}

.xh-svip-monthly-action {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.xh-svip-monthly-action form {
  margin: 0;
}

.xh-svip-monthly-action span {
  font-size: 12px;
}

.xh-svip-lottery-entry-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

.xh-svip-lottery-entry-note span {
  font-size: 12px;
  line-height: 1.6;
}

.xh-svip-order-list,
.xh-svip-growth-list {
  display: grid;
  gap: 10px;
}

.xh-svip-order-item {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 120px 86px 78px 150px;
  gap: 10px;
  align-items: center;
  padding: 12px;
}

.xh-svip-order-item strong,
.xh-svip-order-item span {
  display: block;
  overflow-wrap: anywhere;
}

.xh-svip-growth-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 145px;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
}

.xh-svip-growth-item strong {
  color: #be123c;
}

.xh-svip-growth-item em {
  font-style: normal;
  text-align: right;
}

.xh-svip-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.xh-svip-rule-grid > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(124, 58, 237, .14);
  border-radius: 8px;
  background: #fff;
}

.xh-svip-rule-grid strong,
.xh-svip-rule-grid span {
  display: block;
}

.xh-svip-rule-grid strong {
  color: #2f174d;
}

.xh-svip-rule-grid span {
  margin-top: 5px;
  color: #776784;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.xh-svip-empty-card {
  padding: 16px;
  text-align: center;
}

.xh-svip-order-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(26, 18, 40, .48);
}

.xh-svip-order-modal[hidden] {
  display: none;
}

.xh-svip-order-modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(25, 16, 42, .24);
}

.xh-svip-order-modal-mark {
  display: inline-grid;
  place-items: center;
  min-width: 62px;
  min-height: 62px;
  border-radius: 50%;
  background: #fff7ed;
  color: #be123c;
  font-weight: 900;
}

.xh-svip-order-modal-card h3 {
  margin: 12px 0;
  color: #2f174d;
  font-size: 22px;
}

.xh-svip-order-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #f5f3ff;
  color: #4c1d95;
  font-size: 20px;
  line-height: 1;
}

.xh-svip-order-result {
  display: grid;
  gap: 8px;
}

.xh-svip-order-result > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #faf7ff;
}

.xh-svip-order-result span {
  color: #776784;
}

.xh-svip-order-result strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.xh-svip-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  min-width: 44px;
  max-width: 82px;
  padding: 0 7px;
  border-radius: 5px;
  background: linear-gradient(135deg, #e11d48, #f59e0b);
  color: #fff !important;
  font-size: 11px;
  line-height: 18px;
  font-weight: 800;
  letter-spacing: 0;
  vertical-align: middle;
  box-shadow: 0 4px 10px rgba(225, 29, 72, .18);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xh-svip-badge-img {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.xh-svip-badge-img img {
  display: block;
  max-height: 20px;
  max-width: 88px;
}

.xh-svip-lv1 { background: linear-gradient(135deg, #ef4444, #f97316); }
.xh-svip-lv2 { background: linear-gradient(135deg, #e11d48, #f59e0b); }
.xh-svip-lv3 { background: linear-gradient(135deg, #be123c, #7c3aed); }
.xh-svip-lv4 { background: linear-gradient(135deg, #b91c1c, #f59e0b); }
.xh-svip-lv5 { background: linear-gradient(135deg, #7c2d12, #fbbf24); }

.xh-svip-marker {
  display: none !important;
}

.xh-svip-name,
.xh-svip-name-target {
  color: var(--xh-svip-color, #e53935) !important;
}

.xh-svip-name-target.xh-svip-style-red-bold {
  font-weight: 800 !important;
}

.xh-svip-name-target.xh-svip-style-red-gradient,
.xh-svip-name-target.xh-svip-style-gold-gradient,
.xh-svip-name-target.xh-svip-style-shine,
.xh-svip-name.xh-svip-style-red-gradient,
.xh-svip-name.xh-svip-style-gold-gradient,
.xh-svip-name.xh-svip-style-shine {
  color: transparent !important;
  background-clip: text;
  -webkit-background-clip: text;
}

.xh-svip-name-target.xh-svip-style-red-gradient,
.xh-svip-name.xh-svip-style-red-gradient {
  background-image: linear-gradient(90deg, #dc2626, #e11d48, #7c3aed);
}

.xh-svip-name-target.xh-svip-style-gold-gradient,
.xh-svip-name.xh-svip-style-gold-gradient {
  background-image: linear-gradient(90deg, #b91c1c, #f97316, #f59e0b);
}

.xh-svip-name-target.xh-svip-style-shine,
.xh-svip-name.xh-svip-style-shine {
  background-image: linear-gradient(90deg, #be123c, #f59e0b, #7c3aed, #be123c);
  background-size: 220% 100%;
  animation: xhSvipShine 4.8s linear infinite;
}

@keyframes xhSvipShine {
  0% { background-position: 0 50%; }
  100% { background-position: 220% 50%; }
}

.xh-svip-mini-card,
.xh-svip-public-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(225, 29, 72, .14);
  border-radius: 8px;
  background: #fff7fb;
}

.xh-svip-mini-card strong,
.xh-svip-mini-card span {
  display: block;
}

.xh-svip-mini-card span,
.xh-svip-public-strip em {
  color: #7a6078;
  font-size: 12px;
  font-style: normal;
}

.xh-svip-mini-card a {
  color: #7c3aed;
  font-weight: 700;
  white-space: nowrap;
}

.xh-svip-public-strip {
  justify-content: flex-start;
}

.xh-svip-public-strip span {
  font-weight: 700;
  color: #7f1d1d;
}

.username .xh-svip-badge,
.wuai-post-name .xh-svip-badge,
.wuai-thread-author-line .xh-svip-badge {
  margin-left: 4px;
}

.wuai-public-badge-row .xh-svip-badge {
  margin: 2px 4px;
}

/* Theme thread-list variants may render both a direct marker call and the Xiuno hook. */
.xh-svip-badge + .xh-svip-marker + .xh-svip-badge {
  display: none !important;
}

@media (max-width: 992px) {
  .xh-svip-hero,
  .xh-svip-dashboard,
  .xh-svip-benefit-row {
    grid-template-columns: 1fr;
  }

  .xh-svip-current-package-grid {
    grid-template-columns: repeat(3, minmax(230px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .xh-svip-plan-card {
    scroll-snap-align: start;
  }

  .xh-svip-order-item {
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(90px, .45fr));
  }

  .xh-svip-rule-grid {
    grid-template-columns: 1fr;
  }

  .xh-svip-order-item > div:first-child,
  .xh-svip-order-item > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .xh-svip-page {
    padding: 0 8px;
    margin-bottom: 20px;
  }

  .xh-svip-hero {
    padding: 16px;
  }

  .xh-svip-hero h1 {
    font-size: 28px;
  }

  .xh-svip-hero-actions,
  .xh-svip-order-modal-actions,
  .xh-svip-login-box,
  .xh-svip-lottery-entry-note,
  .xh-svip-monthly-action,
  .xh-svip-expiry-alert {
    align-items: stretch;
    flex-direction: column;
  }

  .xh-svip-expiry-alert {
    display: flex;
  }

  .xh-svip-hero-actions .xh-svip-btn,
  .xh-svip-order-modal-actions .xh-svip-btn,
  .xh-svip-login-box .xh-svip-btn,
  .xh-svip-lottery-entry-note .xh-svip-btn,
  .xh-svip-monthly-action .xh-svip-btn,
  .xh-svip-monthly-action form,
  .xh-svip-expiry-alert .xh-svip-btn {
    width: 100%;
  }

  .xh-svip-section-head,
  .xh-svip-panel-head,
  .xh-svip-growth-copy {
    display: block;
  }

  .xh-svip-section-head span,
  .xh-svip-panel-head span,
  .xh-svip-growth-copy span {
    display: block;
    margin-top: 4px;
  }

  .xh-svip-identity-row,
  .xh-svip-buy-summary,
  .xh-svip-monthly-main,
  .xh-svip-lottery-entry-main,
  .xh-svip-plan-prices {
    grid-template-columns: 1fr;
  }

  .xh-svip-current-package-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .xh-svip-level-card {
    flex-basis: 82%;
  }

  .xh-svip-order-item,
  .xh-svip-growth-item {
    grid-template-columns: 1fr;
  }

  .xh-svip-growth-item em {
    text-align: left;
  }

  .xh-svip-btn {
    min-height: 40px;
    white-space: normal;
  }
}

@media (max-width: 380px) {
  .xh-svip-level-card {
    flex-basis: 88%;
  }

  .xh-svip-route-node {
    flex-basis: 94px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xh-svip-progress > div {
    transition: none;
  }

  .xh-svip-route-node.is-step-pulse {
    animation: none;
  }

  .xh-svip-name-target.xh-svip-style-shine,
  .xh-svip-name.xh-svip-style-shine {
    animation: none;
  }
}

/* Identity display closeout V1: one compact SVIP marker per scene. */
.xh-svip-badge[data-xh-svip-scene="thread_list"] {
  height: 16px !important;
  min-width: 34px !important;
  max-width: 58px !important;
  padding: 0 5px !important;
  margin: 0 2px !important;
  border-radius: 4px !important;
  font-size: 10px !important;
  line-height: 16px !important;
  box-shadow: none !important;
}

.xh-svip-badge-img[data-xh-svip-scene="thread_list"] {
  min-width: 0 !important;
  padding: 0 !important;
}

.xh-svip-badge-img[data-xh-svip-scene="thread_list"] img {
  max-width: 58px !important;
  max-height: 18px !important;
}

.xh-svip-badge[data-xh-svip-scene="comment"],
.xh-svip-badge[data-xh-svip-scene="thread_author"],
.xh-svip-badge[data-xh-svip-scene="public_profile"],
.xh-svip-badge[data-xh-svip-scene="my_aside"] {
  height: 18px !important;
  min-width: 38px !important;
  max-width: 72px !important;
  padding: 0 6px !important;
  margin: 0 2px !important;
  font-size: 10px !important;
  line-height: 18px !important;
}

.xh-svip-badge-img[data-xh-svip-scene="comment"],
.xh-svip-badge-img[data-xh-svip-scene="thread_author"],
.xh-svip-badge-img[data-xh-svip-scene="public_profile"],
.xh-svip-badge-img[data-xh-svip-scene="my_aside"] {
  min-width: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.xh-svip-badge-img[data-xh-svip-scene="comment"] img,
.xh-svip-badge-img[data-xh-svip-scene="thread_author"] img,
.xh-svip-badge-img[data-xh-svip-scene="public_profile"] img,
.xh-svip-badge-img[data-xh-svip-scene="my_aside"] img {
  max-width: 72px !important;
  max-height: 20px !important;
}

@media (max-width: 430px) {
  .xh-svip-badge[data-xh-svip-scene="thread_author"],
  .xh-svip-badge[data-xh-svip-scene="public_profile"],
  .xh-svip-badge[data-xh-svip-scene="my_aside"] {
    max-width: 64px !important;
  }

  .xh-svip-badge-img[data-xh-svip-scene="thread_author"] img,
  .xh-svip-badge-img[data-xh-svip-scene="public_profile"] img,
  .xh-svip-badge-img[data-xh-svip-scene="my_aside"] img {
    max-width: 64px !important;
  }
}
