/* =========================
   HEADER
   ========================= */

.vth-header-main {
  position: relative;
  z-index: 50;

  padding: 34px 24px 0;

  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}

.vth-header-inner {
  max-width: 1540px;
  margin: 0 auto;
}

.vth-mobile-top {
  display: none;
}

.vth-header-grid {
  display: grid;
  grid-template-columns: minmax(260px, 350px) 320px minmax(260px, 350px);
  align-items: start;
  justify-content: center;
  gap: 104px;
}

.vth-header-side {
  width: 100%;

  display: flex;
  align-items: flex-start;
}

.vth-header-side-left {
  justify-content: flex-end;
  padding-top: 92px;
}

.vth-header-side-right {
  justify-content: flex-start;
  padding-top: 92px;
}


/* =========================
   CARDS
   ========================= */

.vth-side-card,
.vth-mini-card {
  position: relative;
  overflow: hidden;

  border: 1px solid rgba(190, 132, 255, 0.30);
  border-radius: 18px;

  background:
    radial-gradient(circle at 14% 0%, rgba(190, 132, 255, 0.14), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(125, 44, 255, 0.10), transparent 42%),
    linear-gradient(180deg, rgba(24, 13, 38, 0.92), rgba(7, 5, 12, 0.96));

  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.52),
    0 0 26px rgba(125, 44, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -16px 30px rgba(0, 0, 0, 0.20);

  backdrop-filter: blur(10px);

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.vth-side-card::before,
.vth-mini-card::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;

  height: 40%;
  border-radius: 17px 17px 32px 32px;

  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent);

  pointer-events: none;
}

.vth-side-card::after,
.vth-mini-card::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(125, 44, 255, 0.55),
      rgba(218, 184, 255, 0.74),
      rgba(255, 211, 106, 0.22),
      rgba(218, 184, 255, 0.74),
      rgba(125, 44, 255, 0.55),
      transparent
    );

  opacity: 0.68;
  pointer-events: none;
}

.vth-side-card:hover,
.vth-mini-card:hover {
  transform: translateY(-2px);
  border-color: rgba(218, 184, 255, 0.52);

  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.58),
    0 0 34px rgba(125, 44, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -16px 30px rgba(0, 0, 0, 0.24);
}


/* =========================
   CONÉCTATE
   ========================= */

.vth-side-card {
  width: 100%;
  max-width: 350px;
  padding: 18px;
}

.vth-side-title {
  position: relative;
  z-index: 2;

  width: 100%;
  margin-bottom: 16px;

  color: #e2ccff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;

  text-shadow:
    0 0 12px rgba(168, 117, 255, 0.26);
}

.vth-ip-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vth-server-state {
  width: 100%;
  margin: 8px 0 12px;
}

.vth-server-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vth-server-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vth-server-badge.online {
  color: #86efac;
}

.vth-server-badge.offline {
  color: #fca5a5;
}

.vth-server-badge.checking {
  color: #c4b5fd;
}

.vth-server-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.vth-server-players {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}
.vth-ip-pill {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 12px;

  width: 100%;
  min-height: 44px;
  padding: 10px 0;

  border: 0;
  border-bottom: 1px solid rgba(190, 132, 255, 0.14);
  border-radius: 0;

  background: transparent;
  color: #f6edff;

  cursor: pointer;
  box-shadow: none;

  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.vth-ip-pill:last-child {
  border-bottom: 0;
}

.vth-ip-pill:hover {
  transform: none;
  color: #ffffff;
  box-shadow: none;
}

.vth-ip-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 0;
  min-height: 24px;
  padding: 4px 8px;

  border-radius: 8px;
  background: rgba(125, 44, 255, 0.22);

  color: #d8bbff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.vth-ip-pill strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  text-align: left;
}


/* =========================
   LOGO
   ========================= */

.vth-header-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.vth-logo-frame {
  position: relative;
  isolation: isolate;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 304px;
  height: 304px;

  border-radius: 50%;
  text-decoration: none;
}

.vth-logo-ring {
  position: absolute;
  inset: -6px;

  border: 1px solid rgba(178, 118, 255, 0.28);
  border-radius: 50%;

  box-shadow:
    0 0 14px rgba(125, 44, 255, 0.18),
    0 0 34px rgba(125, 44, 255, 0.10),
    inset 0 0 18px rgba(125, 44, 255, 0.07);

  pointer-events: none;
}

.vth-logo-ring::before {
  content: "";
  position: absolute;
  inset: -5px;

  border-radius: 50%;

  background:
    conic-gradient(
      from 0deg,
      rgba(125, 44, 255, 0) 0deg,
      rgba(125, 44, 255, 0) 205deg,
      rgba(125, 44, 255, 0.10) 238deg,
      rgba(177, 108, 255, 0.36) 266deg,
      rgba(255, 211, 106, 0.88) 294deg,
      rgba(217, 158, 255, 0.54) 318deg,
      rgba(125, 44, 255, 0.16) 342deg,
      rgba(125, 44, 255, 0) 360deg
    );

  filter: blur(2.4px);
  animation: vthRingSweep 5.4s linear infinite;
  will-change: transform;

  -webkit-mask:
    radial-gradient(circle, transparent 69%, #000 70%, #000 76%, transparent 77%);
  mask:
    radial-gradient(circle, transparent 69%, #000 70%, #000 76%, transparent 77%);
}

.vth-logo-ring::after {
  content: "";
  position: absolute;
  inset: 3px;

  border-radius: 50%;

  background:
    conic-gradient(
      from 180deg,
      rgba(168, 117, 255, 0.20),
      rgba(125, 44, 255, 0.04),
      rgba(255, 211, 106, 0.18),
      rgba(125, 44, 255, 0.04),
      rgba(168, 117, 255, 0.20)
    );

  opacity: 0.55;

  -webkit-mask:
    radial-gradient(circle, transparent 71%, #000 72%, #000 73%, transparent 74%);
  mask:
    radial-gradient(circle, transparent 71%, #000 72%, #000 73%, transparent 74%);
}

.vth-logo-frame::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;

  border-radius: 50%;

  background:
    radial-gradient(circle, rgba(125, 44, 255, 0.17), rgba(125, 44, 255, 0.055) 44%, transparent 70%);

  filter: blur(8px);
  opacity: 0.82;
  pointer-events: none;
}

.vth-logo-frame::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 36px;
  right: 36px;

  height: 26%;
  border-radius: 999px;

  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));

  filter: blur(10px);
  opacity: 0.32;
  pointer-events: none;
}

.vth-logo-image {
  position: relative;
  z-index: 2;

  display: block;

  width: 100%;
  max-width: 292px;
  height: auto;

  object-fit: contain;

  filter:
    drop-shadow(0 0 10px rgba(125, 44, 255, 0.28))
    drop-shadow(0 0 24px rgba(125, 44, 255, 0.12));
}

.vth-logo-text {
  position: relative;
  z-index: 2;

  color: #f4eaff;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  text-shadow:
    0 0 12px rgba(125, 44, 255, 0.55),
    0 0 26px rgba(125, 44, 255, 0.22);
}


/* =========================
   COLUMNA DERECHA
   ========================= */

.vth-right-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;

  width: 100%;
  max-width: 350px;
}

.vth-right-site-link-wrap {
  display: flex;
  justify-content: flex-end;

  margin-top: 2px;
}


/* =========================
   CUENTA
   ========================= */

.vth-account-card {
  position: relative;

  width: auto;
  min-width: 318px;
  align-self: flex-end;
  padding: 13px 16px;

  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  justify-content: center;
  column-gap: 12px;
}

.vth-player-box {
  position: relative;
  z-index: 2;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;

  width: 100%;
  min-width: 0;
}

.vth-player-main,
.vth-player-login {
  position: relative;
  z-index: 2;

  display: grid !important;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-width: 0;
  min-height: auto;
  margin: 0 auto;
  padding: 0;

  border: 0;
  border-radius: 0;

  background: transparent;
  color: #f5ebff !important;

  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none;
}

.site-header-top .log-in {
  --btn-icon: url("https://template-assets.tebex.io/images/user.svg");
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.vth-player-main:hover,
.vth-player-login:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.vth-player-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;

  min-width: 0;
  margin: 0;
  padding: 0;

  line-height: 1.05;
}

.vth-player-label {
  color: #cdb2f4;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.vth-player-info strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;

  text-shadow:
    0 0 10px rgba(168, 117, 255, 0.26);
}

.vth-player-head {
  flex: 0 0 auto;

  width: 38px;
  height: 38px;
  margin: 0;

  border: 1px solid rgba(255, 211, 106, 0.50);
  border-radius: 10px;

  background: rgba(0, 0, 0, 0.45);

  object-fit: cover;
  image-rendering: pixelated;

  box-shadow:
    0 0 0 2px rgba(125, 44, 255, 0.14),
    0 0 16px rgba(125, 44, 255, 0.22);
}

.vth-player-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  min-width: 42px;
  height: 36px;
  min-height: 36px;
  padding: 0 12px;

  border: 1px solid rgba(190, 132, 255, 0.24);
  border-radius: 10px;

  background: rgba(12, 4, 22, 0.42);
  color: #d8c2f5 !important;

  font-size: 11px;
  font-weight: 900;
  text-decoration: none !important;

  box-shadow: none;

  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.vth-player-logout:hover {
  transform: translateY(-1px);

  border-color: rgba(255, 92, 92, 0.78);

  background:
    linear-gradient(180deg, rgba(120, 18, 32, 0.78), rgba(56, 6, 16, 0.86));

  color: #ffffff !important;

  box-shadow:
    0 0 16px rgba(255, 70, 70, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vth-account-theme {
  position: relative;
  z-index: 2;
  justify-self: end;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  width: 42px !important;
  min-width: 42px !important;
  height: 36px !important;
  min-height: 36px !important;
  margin-left: 12px !important;
  padding: 0 !important;

  border: 1px solid rgba(190, 132, 255, 0.28) !important;
  border-radius: 10px !important;

  background: rgba(14, 5, 25, 0.58) !important;
  color: #ffd36a !important;

  box-shadow: none !important;

  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.vth-account-theme:hover {
  transform: translateY(-1px);

  border-color: rgba(218, 184, 255, 0.62) !important;
  background: rgba(125, 44, 255, 0.18) !important;
}


/* =========================
   DISCORD
   ========================= */

.vth-discord-card {
  width: 100%;
  padding: 0;

  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.vth-discord-card::before,
.vth-discord-card::after {
  display: none;
}

.vth-discord-pill {
  position: relative;
  z-index: 2;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 58px;
  padding: 10px 18px;

  border: 1px solid rgba(190, 132, 255, 0.38);
  border-radius: 16px;

  background:
    radial-gradient(circle at 18% 0%, rgba(218, 184, 255, 0.12), transparent 30%),
    radial-gradient(circle at 90% 100%, rgba(125, 44, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(31, 15, 50, 0.96), rgba(10, 5, 18, 0.98));

  color: #f4eaff !important;

  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.035em;
  text-decoration: none !important;

  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.36),
    0 0 24px rgba(125, 44, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    inset 0 -14px 24px rgba(0, 0, 0, 0.18);

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.vth-discord-pill::before {
  content: "✦";
  margin-right: 9px;

  color: #ffd36a;

  text-shadow:
    0 0 8px rgba(255, 211, 106, 0.50),
    0 0 16px rgba(255, 211, 106, 0.20);
}

.vth-discord-pill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -45%;

  width: 36%;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(218, 184, 255, 0.14),
      rgba(255, 211, 106, 0.10),
      transparent
    );

  transform: skewX(-18deg);
  opacity: 0;

  transition:
    left 420ms ease,
    opacity 220ms ease;
}

.vth-discord-pill:hover {
  transform: translateY(-2px);

  border-color: rgba(218, 184, 255, 0.68);

  background:
    radial-gradient(circle at 18% 0%, rgba(255, 211, 106, 0.10), transparent 28%),
    radial-gradient(circle at 90% 100%, rgba(125, 44, 255, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(42, 19, 70, 0.98), rgba(13, 6, 24, 0.99));

  box-shadow:
    0 0 28px rgba(168, 117, 255, 0.30),
    0 18px 34px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -14px 24px rgba(0, 0, 0, 0.20);
}

.vth-discord-pill:hover::after {
  left: 110%;
  opacity: 1;
}


/* =========================
   BOTONES
   ========================= */

.vth-theme-button,
.vth-login-button,
.vth-basket-button,
.vth-user-button,
.vth-site-link,
.vth-mobile-menu {
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.vth-theme-button {
  border: 1px solid rgba(168, 117, 255, 0.34) !important;

  background:
    linear-gradient(180deg, rgba(24, 5, 44, 0.92), rgba(9, 1, 18, 0.96)) !important;

  color: #ffd36a !important;
}

.vth-login-button,
.vth-user-button,
.vth-basket-button,
.vth-site-link,
.vth-mobile-menu {
  border-radius: 10px !important;
}

.vth-navigation-area {
  position: relative;
  z-index: 40;
}


/* =========================
   ANIMACIONES
   ========================= */

@keyframes vthRingSweep {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vth-logo-ring::before {
    animation: none;
  }

  .vth-discord-pill::after {
    display: none;
  }
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 1180px) {
  .vth-header-grid {
    grid-template-columns: minmax(220px, 300px) 280px minmax(220px, 300px);
    gap: 58px;
  }

  .vth-header-side-left,
  .vth-header-side-right {
    padding-top: 76px;
  }

  .vth-logo-frame {
    width: 280px;
    height: 280px;
  }

  .vth-logo-image {
    max-width: 268px;
  }

  .vth-side-card,
  .vth-right-stack {
    max-width: 310px;
  }

  .vth-ip-pill strong {
    font-size: 12px;
  }

  .vth-account-card {
    min-width: 245px;
  }
}


/* =========================
   MÓVIL
   ========================= */

@media (max-width: 768px) {
  .vth-header-main {
    position: relative;
    padding: 14px 10px 8px !important;
  }

  .vth-header-inner {
    position: relative;

    width: 100% !important;
    max-width: 390px !important;
    margin: 0 auto !important;
  }

  .vth-header-grid {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    grid-template-areas:
      "logo logo"
      "controls connect"
      "account account";
    column-gap: 10px !important;
    row-gap: 14px !important;

    width: 100% !important;
    align-items: start !important;
  }

  .vth-header-center {
    grid-area: logo !important;

    width: 100% !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    margin: 0 auto !important;
  }

  .vth-logo-frame {
    width: 210px !important;
    height: 210px !important;
    margin: 0 auto !important;
  }

  .vth-logo-image {
    max-width: 200px !important;
  }

  .vth-mobile-top {
    grid-area: controls !important;
    position: static !important;
    z-index: 90 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    gap: 0 !important;
    width: 44px !important;
    max-width: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .vth-mobile-menu,
  .vth-mobile-top .vth-theme-button {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    margin: 0 auto !important;

    border: 1px solid rgba(190, 132, 255, 0.42) !important;
    border-radius: 11px !important;

    background:
      radial-gradient(circle at 35% 0%, rgba(218, 184, 255, 0.14), transparent 34%),
      linear-gradient(180deg, rgba(30, 13, 50, 0.96), rgba(8, 4, 16, 0.98)) !important;

    color: #f4eaff !important;

    box-shadow:
      0 0 16px rgba(125, 44, 255, 0.20),
      inset 0 1px 0 rgba(255, 255, 255, 0.065) !important;
  }

  .vth-theme-button,
  .color-scheme.vth-theme-button,
  .vth-mobile-top .color-scheme {
    display: none !important;
  }

  .vth-header-side-left {
    grid-area: connect !important;

    width: 100% !important;
    margin: 0 !important;
    padding-top: 0 !important;

    display: flex !important;
    justify-content: stretch !important;
    align-items: stretch !important;
  }

  .vth-side-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 14px !important;

    border-radius: 16px !important;
    box-sizing: border-box !important;
  }

  .vth-side-title {
    margin-bottom: 12px !important;

    font-size: 11px !important;
    text-align: center !important;
  }

  .vth-ip-pill {
    grid-template-columns: 62px minmax(0, 1fr) !important;
    gap: 10px !important;

    min-height: 38px !important;
    padding: 9px 0 !important;
  }

  .vth-ip-pill span {
    min-height: 22px !important;

    border-radius: 7px !important;

    font-size: 8px !important;
  }

  .vth-ip-pill strong {
    font-size: 11px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .vth-header-side-right {
    grid-area: account !important;

    width: 100% !important;
    margin: 0 !important;
    padding-top: 0 !important;

    display: flex !important;
    justify-content: stretch !important;
    align-items: stretch !important;
  }

  .vth-right-stack {
    width: 100% !important;
    max-width: none !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .vth-account-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 12px 14px !important;

    display: block !important;

    border-radius: 16px !important;
    box-sizing: border-box !important;
  }

  .vth-player-box {
    width: 100% !important;
    min-width: 0 !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .vth-player-main,
  .vth-player-login {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .vth-player-info {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .vth-player-label {
    font-size: 8px !important;
    letter-spacing: 0.08em !important;
  }

  .vth-player-info strong {
    display: block !important;
    max-width: 100% !important;

    font-size: 11px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .vth-player-head {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    margin: 0 !important;

    border-radius: 8px !important;
  }

  .vth-player-logout {
    width: auto !important;
    min-width: 68px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 10px !important;

    border-radius: 10px !important;

    font-size: 11px !important;
  }

  .vth-account-theme {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    margin-left: 0 !important;

    border-radius: 10px !important;
  }

  .vth-discord-card {
    width: 100% !important;
    max-width: none !important;
  }

  .vth-discord-pill {
    width: 100% !important;
    min-height: 48px !important;
    padding: 10px 14px !important;

    border-radius: 14px !important;

    font-size: 13px !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 420px) {
  .vth-header-main {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .vth-header-inner {
    max-width: 360px !important;
  }

  .vth-header-grid {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    column-gap: 8px !important;
    row-gap: 12px !important;
  }

  .vth-logo-frame {
    width: 196px !important;
    height: 196px !important;
  }

  .vth-logo-image {
    max-width: 186px !important;
  }

  .vth-mobile-top {
    width: 42px !important;
    max-width: 42px !important;
  }

  .vth-mobile-menu,
  .vth-mobile-top .vth-theme-button {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;

    border-radius: 10px !important;
  }

  .vth-side-card {
    padding: 12px !important;
  }

  .vth-ip-pill {
    grid-template-columns: 56px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .vth-ip-pill strong {
    font-size: 10px !important;
  }

  .vth-account-card {
    padding: 10px 12px !important;
  }

  .vth-player-info strong {
    font-size: 10px !important;
  }

  .vth-player-head {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
  }

  .vth-player-logout {
    min-width: 58px !important;
    font-size: 10px !important;
  }

  .vth-discord-pill {
    min-height: 46px !important;
    font-size: 12px !important;
  }
}

.vth-server-state {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0 12px;
}

.vth-server-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vth-server-badge.online {
  color: #86efac;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.18);
}

.vth-server-badge.offline {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.18);
}

.vth-server-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.vth-server-players {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  opacity: 0.75;
}
.vth-server-state {
  width: 100%;
  margin: 8px 0 12px;
}

.vth-server-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vth-server-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vth-server-badge.online {
  color: #86efac;
}

.vth-server-badge.offline {
  color: #fca5a5;
}

.vth-server-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.vth-server-players {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.vth-ip-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vth-ip-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vth-side-title {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f3e8ff;
  white-space: nowrap;
}

.vth-server-inline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.025);
}

.vth-server-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.vth-server-badge.online {
  color: #86efac;
}

.vth-server-badge.offline {
  color: #fca5a5;
}

.vth-server-badge.checking {
  color: #c4b5fd;
}

.vth-server-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  flex: 0 0 auto;
}

.vth-server-players {
  font-size: 10px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1;
  white-space: nowrap;
}

.vth-ip-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vth-ip-pill {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.vth-ip-pill:last-child {
  border-bottom: 0;
}

.vth-ip-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: 0 11px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #f3e8ff;
  background: rgba(124, 58, 237, 0.32);
  border: 1px solid rgba(168, 85, 247, 0.28);
}

.vth-ip-pill strong {
  font-size: 14px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  word-break: break-word;
}

.vth-ip-pill:hover {
  background: rgba(255, 255, 255, 0.035);
  border-radius: 12px;
}

@media (max-width: 768px) {
  .vth-ip-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .vth-server-inline {
    width: 100%;
    justify-content: space-between;
  }

  .vth-ip-pill {
    grid-template-columns: 74px 1fr;
  }

  .vth-ip-pill strong {
    font-size: 13px;
  }
}