/* Hybrid Tweaks — darker black / purple atmosphere on top of Hybrid Tweaks motion system */
:root {
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --primary-dark: #05030a;
  --accent-blue: #8b5cf6;
  --accent-purple: #a78bfa;
  --accent-pink: #c084fc;
  --bg: #05030a;
  --bg-dark: #020108;
  --card-bg: rgba(167, 139, 250, 0.06);
  --glass-bg: rgba(124, 58, 237, 0.08);
  --glass-border: rgba(167, 139, 250, 0.14);
}

.bg-gradient {
  background:
    radial-gradient(ellipse 80% 55% at 15% 10%, rgba(124, 58, 237, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(76, 29, 149, 0.35), transparent 50%),
    radial-gradient(ellipse 60% 45% at 50% 85%, rgba(88, 28, 135, 0.22), transparent 55%),
    linear-gradient(180deg, #05030a 0%, #0a0614 45%, #05030a 100%) !important;
}

.bg-orbs .orb-1 { background: rgba(124, 58, 237, 0.45) !important; }
.bg-orbs .orb-2 { background: rgba(76, 29, 149, 0.4) !important; }
.bg-orbs .orb-3 { background: rgba(91, 33, 182, 0.35) !important; }

.nav-logo-text { font-size: 15px; letter-spacing: -0.02em; }
.nav-logo-img,
.footer-logo,
.hero-brand-logo {
  display: block;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}
.nav-logo-img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.footer-logo {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.nav-tools span { white-space: nowrap; }

.dash-preview-section {
  padding: 20px 0 80px;
  position: relative;
  z-index: 1;
}

.dash-preview-note {
  max-width: 560px;
  margin: 12px auto 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.dash-preview-note code {
  font-size: 12px;
  color: var(--primary-light);
  background: rgba(124, 58, 237, 0.15);
  padding: 2px 8px;
  border-radius: 6px;
}

.dash-preview-frame {
  margin-top: 36px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(124, 58, 237, 0.08);
}

.dash-preview-frame > img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.products-grid-view:has(.pgrid-card:only-child),
#productsGrid:has(.pgrid-card:only-child) {
  display: grid;
  grid-template-columns: minmax(280px, 420px);
  justify-content: center;
}

.ht-dashboard-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 120px 20px 80px;
  text-align: center;
}

.ht-dashboard-page .ht-dash-card {
  padding: 48px 36px;
  border-radius: var(--radius);
  margin-top: 28px;
}

.ht-dashboard-page h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin: 0 0 12px;
}

.ht-dashboard-page p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 28px;
}

.ht-dash-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.status-game-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 14px;
}

@media (max-width: 768px) {
  .dash-preview-section { padding: 10px 0 56px; }
  .home-product-section { padding: 10px 0 56px; }
  .nav-tools span { display: none; }
}

/* —— Hero title redesign (no Hybrid Tweaks cutout box) —— */
.hero-title-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 8px 0 28px;
  padding: 0 12px;
}

.hero-title-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(520px, 90vw);
  height: 160px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.28) 0%, rgba(76, 29, 149, 0.12) 42%, transparent 72%);
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}

.hero-title {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0;
  text-align: center;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: clamp(15px, 2.2vw, 20px);
  font-weight: 700;
  letter-spacing: 0.42em;
  text-indent: 0;
  text-transform: uppercase;
  color: #c4b5fd;
  text-shadow: 0 0 28px rgba(167, 139, 250, 0.35);
}
.hero-brand-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.hero-line {
  display: block;
  width: 72px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #a78bfa 20%, #c4b5fd 50%, #7c3aed 80%, transparent);
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.55);
}

.hero-hook {
  display: block;
  font-size: clamp(34px, 6.2vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  text-wrap: balance;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.35),
    0 0 40px rgba(124, 58, 237, 0.25);
}

@media (max-width: 768px) {
  .hero-brand {
    letter-spacing: 0.28em;
    text-indent: 0;
    font-size: 13px;
  }
  .hero-brand-logo {
    width: 26px;
    height: 26px;
  }
  .hero-hook {
    font-size: clamp(28px, 9vw, 40px);
  }
  .hero-line { width: 56px; }
}

/* Official game logos on status cards */
.anticheat-logo-wrap {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.14) !important;
}

.anticheat-logo {
  object-fit: contain !important;
  object-position: center !important;
  padding: 7px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
}



.pgrid-game-tags img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: -3px;
  margin-right: 4px;
}
/* —— Homepage product showcase —— */
.home-product-section {
  padding: 20px 0 80px;
  position: relative;
  z-index: 1;
}
.home-product-section .container {
  max-width: 1240px;
}

.home-product-lead {
  max-width: 520px;
  margin: 12px auto 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.home-product-stage {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(260px, 0.78fr);
  gap: 0;
  align-items: stretch;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.16);
  background: #08040f;
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.home-product-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #08040f;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-product-media-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fde68a;
  background: rgba(146, 64, 14, 0.55);
  border: 1px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.home-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-height: 0;
  pointer-events: none;
}
.home-product-media img[hidden] { display: none; }
.home-product-media-slot {
  flex: 1;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  border-right: 1px dashed rgba(167, 139, 250, 0.22);
  color: rgba(196, 181, 253, 0.75);
}
.home-product-media-slot span {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}
.home-product-media-slot small {
  font-size: 12px;
  color: rgba(196, 181, 253, 0.55);
}
.home-product-media-slot code {
  font-size: 11px;
  color: #c4b5fd;
}
.home-product-media.has-image {
  width: 100%;
  height: auto;
  min-height: 0;
  align-self: stretch;
}
.home-product-media.has-image .home-product-media-slot { display: none; }
.home-product-media.has-image img,
.home-product-media.has-image img[hidden] {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.home-product-info {
  padding: 28px 26px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  background: rgba(12, 8, 22, 0.92);
  border-left: 1px solid rgba(167, 139, 250, 0.12);
  min-width: 0;
  min-height: 100%;
  align-self: stretch;
}

.home-product-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c4b5fd;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.28);
  margin-bottom: 14px;
}

.home-product-name {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.home-product-desc {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.home-product-games {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.home-product-games span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.home-product-games img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.home-product-games-more {
  color: rgba(196, 181, 253, 0.9) !important;
  border-color: rgba(167, 139, 250, 0.28) !important;
  background: rgba(124, 58, 237, 0.12) !important;
}



.home-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.home-product-price {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.home-product-price span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 2px;
}

@media (max-width: 900px) {
  .home-product-stage {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
  .home-product-info {
    border-left: none;
    border-top: 1px solid rgba(167, 139, 250, 0.12);
    padding: 28px 22px 30px;
  }
  .home-product-media,
  .home-product-media.has-image {
    min-height: 0;
    aspect-ratio: 16 / 9;
    height: auto;
    align-self: stretch;
  }
  .home-product-media img,
  .home-product-media.has-image img {
    object-fit: cover;
    min-height: 0;
    max-height: none;
  }
}

/* Product / checkout preview — full banner in the left box, never over the plan card */
.pd-hero {
  align-items: start;
}
.pd-hero-left {
  min-width: 0;
}
.pd-video.pd-hero-shot {
  padding-bottom: 0;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: hidden;
  isolation: isolate;
  background: #07040e;
  border-radius: 12px;
}
.pd-video.pd-hero-shot img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}
.pd-pricing-card {
  min-width: 0;
}
/* —— Reviews: glass cards, 3 across, full width —— */
.ht-reviews-plain-page .rv-typing-container {
  opacity: 0.85;
}
.rv-content-notice { display: none !important; }

.ht-reviews-plain-page .rv-section-container {
  max-width: 1280px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

.ht-reviews-rows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.ht-reviews-plain {
  display: block !important;
}

.ht-reviews-plain .ht-reviews-rows .rv-review-card,
.ht-reviews-rows .rv-review-card {
  margin: 0 !important;
  width: 100% !important;
  min-height: 100%;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(48px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(48px) saturate(180%) !important;
  padding: 1.45rem !important;
}

.ht-reviews-rows .rv-review-card::before {
  display: block !important;
  border-radius: 22px;
}

.ht-reviews-rows .rv-review-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(167, 139, 250, 0.35) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.ht-reviews-rows .rv-review-avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.ht-reviews-rows .rv-review-name {
  font-size: 14px !important;
}

.ht-reviews-rows .rv-review-message {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.86) !important;
}

.ht-reviews-rows .rv-review-date,
.ht-reviews-rows .rv-date-divider,
.ht-reviews-rows .rv-staff-response-date {
  display: none !important;
}

.ht-reviews-rows .rv-review-responses {
  display: block !important;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(167, 139, 250, 0.14);
}

.ht-reviews-rows .rv-staff-response {
  display: block !important;
  margin: 0;
  padding: 12px 12px 10px;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.18);
  background: rgba(124, 58, 237, 0.1);
}

.ht-reviews-rows .rv-staff-response-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.ht-reviews-rows .rv-staff-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.28);
}

.ht-reviews-rows .rv-staff-response-name {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.ht-reviews-rows .rv-staff-response-message {
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

.ht-reviews-total-note {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(196, 181, 253, 0.7);
}

.ht-reviews-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px auto 8px;
  flex-wrap: wrap;
}

.ht-reviews-page-btn,
.ht-reviews-page-arrow {
  appearance: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
  font: 700 13px/1 inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.ht-reviews-page-btn:hover,
.ht-reviews-page-arrow:hover:not(:disabled) {
  background: rgba(124, 58, 237, 0.28);
  border-color: rgba(167, 139, 250, 0.4);
  color: #fff;
}

.ht-reviews-page-btn.active {
  background: rgba(124, 58, 237, 0.55);
  border-color: rgba(196, 181, 253, 0.55);
  color: #fff;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.28);
}

.ht-reviews-page-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.page-reviews .rv-view-more-wrapper {
  display: none !important;
}

@media (max-width: 980px) {
  .ht-reviews-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .ht-reviews-rows { grid-template-columns: 1fr; }
}
.ht-reviews-rows .rv-review-message,
.ht-reviews-rows .rv-review-message * {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.ht-reviews-rows .rv-review-header {
  margin-bottom: 10px;
}
.ht-reviews-rows .rv-review-stars {
  margin: 2px 0 10px !important;
  letter-spacing: 1px;
  color: #fbbf24 !important;
  font-size: 13px !important;
}
.ht-reviews-plain-page .rv-section-title-wrapper {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  padding: 1.1rem 2rem !important;
  border-radius: 20px !important;
}
.ht-reviews-plain-page .rv-section-title {
  font-size: clamp(28px, 4vw, 40px) !important;
}
.anticheat-card img[src*="/img/games/fortnite"],
.pgrid-game-tags img[src*="/img/games/fortnite"],
.home-product-games img[src*="/img/games/fortnite"] {
  filter: none !important;
  object-fit: contain !important;
  background: transparent !important;
}
.anticheat-card img[src*="/img/games/apex"],
.pgrid-game-tags img[src*="/img/games/apex"],
.home-product-games img[src*="/img/games/apex"] {
  filter: none !important;
  object-fit: contain !important;
  background: transparent !important;
}
.anticheat-card img[src*="/img/games/rust"],
.pgrid-game-tags img[src*="/img/games/rust"],
.home-product-games img[src*="/img/games/rust"] {
  filter: none !important;
  object-fit: contain !important;
  background: transparent !important;
}
.anticheat-card img[src*="/img/games/cs2"],
.pgrid-game-tags img[src*="/img/games/cs2"],
.home-product-games img[src*="/img/games/cs2"] {
  filter: none !important;
  object-fit: contain !important;
  background: transparent !important;
}
.anticheat-card img[src*="/img/games/valorant"],
.pgrid-game-tags img[src*="/img/games/valorant"],
.home-product-games img[src*="/img/games/valorant"] {
  filter: none !important;
  object-fit: contain !important;
  background: transparent !important;
}
.anticheat-card img[src*="/img/games/roblox"],
.pgrid-game-tags img[src*="/img/games/roblox"],
.home-product-games img[src*="/img/games/roblox"] {
  filter: none !important;
  object-fit: contain !important;
  background: transparent !important;
}
.anticheat-card img[src*="/img/games/overwatch"],
.pgrid-game-tags img[src*="/img/games/overwatch"],
.home-product-games img[src*="/img/games/overwatch"] {
  filter: none !important;
  object-fit: contain !important;
  background: transparent !important;
}
.anticheat-card img[src*="/img/games/cod"],
.pgrid-game-tags img[src*="/img/games/cod"],
.home-product-games img[src*="/img/games/cod"] {
  filter: none !important;
  object-fit: contain !important;
  background: transparent !important;
}

/* —— PC Tweaks plan guide (product page) —— */
.ht-plan-guide {
  margin: 28px 0 8px;
  padding: 28px 0 8px;
  border-top: 1px solid rgba(167, 139, 250, 0.12);
}

.ht-plan-guide-intro {
  max-width: 640px;
  margin-bottom: 22px;
}

.ht-plan-guide-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4b5fd;
  margin-bottom: 8px;
}

.ht-plan-guide-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.ht-plan-guide-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.ht-plan-tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.ht-plan-tier {
  padding: 18px 16px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.ht-plan-tier-ultra {
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(124, 58, 237, 0.08);
}

.ht-plan-tier-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.ht-plan-tier-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.ht-plan-tier-price {
  font-size: 12px;
  font-weight: 600;
  color: #c4b5fd;
}

.ht-plan-tier-desc {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.ht-plan-tier-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ht-plan-tier-list li {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.ht-plan-tier-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a78bfa;
}

.ht-plan-choose {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.18);
  background: rgba(124, 58, 237, 0.06);
}

.ht-plan-choose-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c4b5fd;
  margin-bottom: 14px;
}

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

.ht-plan-choose-grid div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ht-plan-choose-grid strong {
  font-size: 13px;
  color: #fff;
}

.ht-plan-choose-grid span {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-secondary);
}

@media (max-width: 1000px) {
  .ht-plan-tiers,
  .ht-plan-choose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ht-plan-tiers,
  .ht-plan-choose-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Nav: logo | centered links | dashboard CTA —— */
.nav-inner {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px);
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
  align-items: center;
  gap: 12px 20px;
  box-sizing: border-box;
}
.nav-logo {
  justify-self: start;
  min-width: 0;
}
.nav-links {
  justify-self: center;
  gap: 4px;
}
.nav-actions {
  justify-self: end;
  margin-left: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-toggle {
  justify-self: end;
  grid-column: 3;
}
.nav-dashboard-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(91, 33, 182, 0.95));
  border: 1px solid rgba(196, 181, 253, 0.35);
  box-shadow: 0 6px 20px rgba(91, 33, 182, 0.28);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-dashboard-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(91, 33, 182, 0.4);
  color: #fff;
}
.nav-dashboard-cta svg { opacity: 0.9; }

@media (max-width: 768px) {
  .nav-inner {
    display: flex;
    justify-content: space-between;
    max-width: none;
  }
  .nav-toggle {
    grid-column: auto;
    justify-self: auto;
  }
}

/* Admin + Authenticator rail */
.ht-dash-nav-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
}
.ht-dash-nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(196, 181, 253, 0.75);
  padding: 8px 10px 4px;
}
.ht-dash-app--admin .ht-dash-rail {
  width: auto;
  min-height: calc(100vh - 72px);
}
.ht-dash-rail-section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ht-dash-rail-foot--slim {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ht-dash-rail-hint {
  font-size: 11px;
  color: rgba(196, 181, 253, 0.45);
  padding: 0 8px;
}
.ht-dash-app--admin .ht-dash-shell {
  min-height: calc(100vh - 72px);
}
.ht-dash-app--admin .ht-dash-main {
  padding: 32px 36px 48px;
}
.ht-dash-nav-btn {
  padding: 11px 14px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ht-dash-nav {
  gap: 6px;
  padding: 4px 0 12px;
}
.ht-auth-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.ht-auth-input,
.ht-auth-generate input,
.ht-auth-generate select,
.ht-auth-generate textarea {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 10px;
  color: #fff;
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
}
.ht-auth-input { min-width: 220px; flex: 1; }
.ht-auth-generate {
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid rgba(167, 139, 250, 0.16);
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.06);
}
.ht-auth-generate h3 {
  margin: 0 0 12px;
  font-size: 15px;
}
.ht-auth-gen-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}
.ht-auth-gen-row label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  min-width: 0;
}
.ht-auth-gen-row input,
.ht-auth-gen-row select {
  width: 100%;
  box-sizing: border-box;
  height: 40px;
  min-width: 0;
}
.ht-auth-gen-row .btn {
  height: 40px;
  padding: 0 18px;
  white-space: nowrap;
  align-self: end;
}
@media (max-width: 800px) {
  .ht-auth-gen-row {
    grid-template-columns: 1fr 1fr;
  }
  .ht-auth-gen-row .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}
.ht-auth-keys {
  margin-top: 12px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  font-size: 12px;
  white-space: pre-wrap;
  word-break: break-all;
  color: #c4b5fd;
}
.ht-auth-table .ht-auth-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.ht-auth-btn {
  appearance: none;
  margin: 0;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: none;
  transform: none;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}
.ht-auth-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  transform: none;
  box-shadow: none;
}
.ht-auth-btn:active {
  background: rgba(255, 255, 255, 0.08);
}
.ht-auth-btn--danger:hover {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.35);
}
.ht-auth-btn--whitelist {
  color: #86efac;
  border-color: rgba(74, 222, 128, 0.28);
}
.ht-auth-btn--whitelist:hover {
  color: #bbf7d0;
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(74, 222, 128, 0.08);
}
.ht-auth-user-row {
  cursor: pointer;
}
.ht-auth-user-row:hover td {
  background: rgba(255, 255, 255, 0.03);
}
.ht-dash-avatar--lg {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.ht-auth-profile-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 20px;
  margin: 0;
  padding: 0;
  border: 0;
}
.ht-auth-profile-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}
.ht-auth-profile-identity h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
  color: #fff;
}
.ht-auth-profile-identity p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}
.ht-auth-profile-badges {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.ht-auth-profile-actions {
  margin-left: auto;
}
.ht-auth-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
  align-items: start;
}
.ht-auth-box {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  min-width: 0;
}
.ht-auth-box--hero {
  margin-bottom: 0;
}
.ht-auth-box--wide {
  grid-column: 1 / -1;
}
.ht-auth-box h3 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.ht-auth-box-body {
  min-width: 0;
}
.ht-auth-section {
  margin: 0;
}
.ht-dash-table-wrap--inbox {
  border: 0;
  border-radius: 0;
  background: transparent;
  max-height: 240px;
  overflow: auto;
}
.ht-dash-pill--live {
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.ht-dash-pill--idle {
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 960px) {
  .ht-auth-profile-grid {
    grid-template-columns: 1fr;
  }
}
.ht-auth-kv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px 18px;
  margin: 0;
}
.ht-auth-kv {
  margin: 0;
}
.ht-auth-kv dt {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 3px;
}
.ht-auth-kv dd {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  word-break: break-word;
}
.ht-auth-note-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}
.ht-auth-note-form .ht-auth-input {
  flex: 1;
  min-width: 200px;
}
.ht-auth-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ht-auth-notes li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ht-auth-notes li:last-child { border-bottom: 0; }
.ht-auth-note-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}
.ht-auth-notes p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}
.ht-auth-notes-empty {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  border: 0 !important;
}
.ht-auth-tweak-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.ht-auth-tweak-cat strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #fff;
}
.ht-auth-tweak-cat ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ht-auth-tweak-cat li {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  padding: 3px 0;
}
.ht-auth-tweak-cat li.is-on {
  color: rgba(255, 255, 255, 0.85);
}
.ht-auth-overview-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 560px;
  margin: 8px auto 0;
}
.ht-auth-overview-simple .ht-auth-overview-circle {
  width: 100%;
  padding: 28px 24px;
}
.ht-auth-donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  justify-content: center;
}
.ht-auth-donut {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ht-auth-donut-hole {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #0c0e14;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.ht-auth-donut-hole strong {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.ht-auth-donut-hole span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ht-auth-donut-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ht-auth-donut-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.ht-auth-donut-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ht-auth-donut-legend i.ok { background: #34d399; }
.ht-auth-donut-legend i.idle { background: #60a5fa; }
.ht-auth-donut-legend i.off { background: rgba(255, 255, 255, 0.25); }
.ht-auth-donut-legend strong {
  margin-left: auto;
  color: #fff;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.ht-auth-donut--lg {
  width: 180px;
  height: 180px;
}
.ht-auth-donut--lg .ht-auth-donut-hole {
  width: 112px;
  height: 112px;
}
.ht-auth-donut--lg .ht-auth-donut-hole strong {
  font-size: 28px;
}
.ht-auth-donut--sm {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}
.ht-auth-donut--sm .ht-auth-donut-hole {
  width: 56px;
  height: 56px;
}
.ht-auth-donut--sm .ht-auth-donut-hole strong {
  font-size: 16px;
}
.ht-auth-donut-legend--row {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
}
.ht-auth-donut-legend--row li {
  gap: 6px;
}
.ht-auth-donut-legend--row strong {
  margin-left: 4px;
}
.ht-auth-overview-nums {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}
.ht-auth-num {
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}
.ht-auth-num strong {
  display: block;
  font-size: 22px;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.ht-auth-num strong.ok { color: #6ee7b7; }
.ht-auth-num span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ht-auth-kv-grid--tight {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}
.ht-auth-simple-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ht-auth-simple-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ht-auth-simple-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.ht-auth-simple-list span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  flex-shrink: 0;
}
.ht-auth-simple-list code,
.ht-auth-simple-list em {
  color: rgba(255, 255, 255, 0.85);
  font-style: normal;
  font-size: 13px;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ht-auth-license-block + .ht-auth-license-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ht-auth-profile-identity p code {
  font-size: 11px;
  word-break: break-all;
}
.ht-auth-tweak-summary {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ht-auth-tweak-cats-compact {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ht-auth-tweak-cats-compact li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.ht-auth-tweak-cats-compact strong {
  color: #fff;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 960px) {
  .ht-auth-overview-row {
    grid-template-columns: 1fr;
  }
  .ht-auth-overview-nums {
    grid-template-columns: 1fr 1fr;
  }
}
.ht-auth-user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ht-auth-user-cell div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ht-auth-user-cell span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}
.ht-dash-key-inline {
  font-size: 12px;
  color: #c4b5fd;
}
.ht-dash-admin-status.is-err { color: #f87171; }

/* —— Customer Dashboard app —— */
.page-dashboard .dashboard-page-wrapper {
  min-height: calc(100vh - 80px);
}
.ht-dash {
  max-width: 1100px;
  margin: 0 auto;
  padding: 110px 20px 72px;
}
.ht-dash-login-wrap {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 48px;
}
.ht-dash-login {
  width: 100%;
  max-width: 420px;
  margin: 0;
  padding: 40px 36px 32px;
  border-radius: 18px;
  text-align: center;
}
.ht-dash-login-icon {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  object-fit: contain;
  border-radius: 0;
}
.ht-dash-login h1 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.ht-dash-login-sub {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.ht-dash-demo-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(196, 181, 253, 0.75);
  font: 600 12px/1 inherit;
  margin-top: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ht-dash-demo-link:hover { color: #e9d5ff; }
.ht-dash-submit {
  width: 100%;
  margin-top: 16px;
  justify-content: center;
  gap: 8px;
}
.ht-dash-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 15px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
  outline: none;
  text-align: center;
}
.ht-dash-input:focus {
  border-color: rgba(167, 139, 250, 0.65);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}
.ht-dash-error {
  margin-top: 12px;
  font-size: 13px;
  color: #fca5a5;
  text-align: center;
}
.ht-dash-submit {
  width: 100%;
  margin-top: 16px;
  justify-content: center;
}
.ht-dash-login-hint {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--text-tertiary);
  text-align: center;
}
.ht-dash-login-hint a { color: #c4b5fd; font-weight: 600; }

/* Full-screen logged-in dashboard — hide site chrome */
body.dash-app-active .footer,
body.dash-app-active .navbar,
body.dash-app-active .mobile-menu,
body.dash-app-active .bg-orbs { display: none !important; }
body.dash-app-active .page-dashboard {
  padding: 0;
  margin: 0;
}
body.dash-app-active .page-dashboard .dashboard-page-wrapper {
  min-height: 100vh;
  margin-top: 0;
  padding: 0;
}
.ht-dash.ht-dash-app {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  background: #07050e;
}
.ht-dash.ht-dash-app--admin {
  grid-template-columns: 248px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
}
.ht-dash-modebar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px 20px;
  padding: 10px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(18, 12, 30, 0.98), rgba(8, 6, 14, 0.98));
}
.ht-dash-modebar-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}
.ht-dash-modebar-center {
  display: flex;
  justify-content: center;
}
.ht-dash-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ht-dash-home-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}
.ht-dash-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.ht-dash-modebar-tabs {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.ht-dash-mode-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 11px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.ht-dash-mode-btn:hover {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.05);
}
.ht-dash-mode-btn.active {
  color: #fff;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.38), rgba(109, 40, 217, 0.28));
  border-color: rgba(196, 181, 253, 0.35);
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.18),
    0 8px 20px rgba(76, 29, 149, 0.22);
}
.ht-dash-mode-btn.active .ht-dash-ico-badge--crown {
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.18);
  border-color: rgba(252, 211, 77, 0.45);
}
.ht-dash-mode-btn.active .ht-dash-ico-badge--key {
  color: #ddd6fe;
  background: rgba(167, 139, 250, 0.22);
  border-color: rgba(196, 181, 253, 0.5);
}
.ht-dash-ico-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  flex-shrink: 0;
}
.ht-dash-ico-badge--home {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.ht-dash-ico-badge--crown {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.28);
}
.ht-dash-ico-badge--key {
  color: #c4b5fd;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.28);
}
.ht-dash-mode-ico { display: none; }
.ht-dash-modebar-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
.ht-dash-modebar-user {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: right;
  min-width: 0;
}
.ht-dash-modebar-user strong {
  font-size: 13px;
  font-weight: 650;
  color: #fff;
  line-height: 1.2;
}
.ht-dash-modebar-handle {
  font-size: 11px;
  color: rgba(196, 181, 253, 0.7);
  font-weight: 500;
}
.ht-dash-plan-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.28);
  white-space: nowrap;
}
.ht-dash-logout--bar {
  margin: 0;
  padding: 7px 12px;
  width: auto;
  font-size: 12px;
  font-weight: 600;
}
.ht-dash-banner {
  margin: 0;
  padding: 10px 28px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.1);
  border: 0;
  border-bottom: 1px solid rgba(251, 191, 36, 0.22);
}
.ht-dash-rail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding: 28px 18px 20px;
  border-radius: 0;
  border-right: 1px solid rgba(167, 139, 250, 0.14);
  background: linear-gradient(180deg, #0e0a18 0%, #08060f 100%);
  position: sticky;
  top: 0;
  align-self: stretch;
  gap: 10px;
}
.ht-dash-rail-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 4px 8px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}
.ht-dash-rail-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 0;
  flex-shrink: 0;
}
.ht-dash-rail-brand strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.ht-dash-rail-brand span {
  display: block;
  font-size: 12px;
  color: #c4b5fd;
  margin-top: 2px;
  font-weight: 600;
}
.ht-dash-rail-plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 0 8px 16px;
}
.ht-dash-plan-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.28);
}
.ht-dash-key {
  appearance: none;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 10px;
  border-radius: 8px;
  word-break: break-all;
  text-align: left;
  cursor: pointer;
  text-shadow: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.ht-dash-key:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.ht-dash-key.is-copied {
  border-color: rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
}
.ht-dash-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.ht-dash-nav-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.ht-dash-nav-btn:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.ht-dash-nav-btn.active {
  background: rgba(124, 58, 237, 0.32);
  color: #f3e8ff;
  box-shadow: inset 3px 0 0 #a78bfa;
}
.ht-dash-rail-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ht-dash-rail-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 6px;
}
.ht-dash-rail-user strong {
  display: block;
  font-size: 13px;
  color: #fff;
}
.ht-dash-rail-user span {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.ht-dash-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(167, 139, 250, 0.45);
  background: rgba(124, 58, 237, 0.25);
}
.ht-dash-avatar--top { width: 34px; height: 34px; }
.ht-dash-avatar--lg { width: 64px; height: 64px; border-width: 3px; }
.ht-dash-avatar--fallback {
  background: linear-gradient(135deg, #5865f2, #7c3aed);
}
.ht-dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(167, 139, 250, 0.12);
  background: rgba(0, 0, 0, 0.18);
}
.ht-dash-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ht-dash-topbar-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.ht-dash-discord-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #c4b5fd;
  background: rgba(88, 101, 242, 0.18);
  border: 1px solid rgba(88, 101, 242, 0.35);
}
.ht-dash-discord-pill.muted {
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.ht-dash-discord-pill--mgmt {
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.12);
}
.ht-dash-role-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.ht-dash-role-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.ht-dash-role-item strong {
  color: #fff;
  font-weight: 700;
}
.ht-dash-role-item code {
  font-size: 11px;
  color: rgba(196, 181, 253, 0.85);
  word-break: break-all;
}
.ht-dash-role-item.muted {
  color: rgba(255,255,255,0.5);
}
.ht-dash-discord-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  margin-bottom: 20px;
  border-radius: 16px;
  border: 1px solid rgba(88, 101, 242, 0.28);
  background: rgba(88, 101, 242, 0.1);
  max-width: 560px;
}
.ht-dash-discord-card strong {
  display: block;
  font-size: 18px;
  color: #fff;
}
.ht-dash-discord-card span {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}
.ht-dash-discord-card .ht-dash-discord-pill { margin-top: 8px; }
.ht-dash-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
}
.ht-dash-profile {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.16);
  background: rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ht-dash-profile strong { color: #fff; font-size: 14px; }
.ht-dash-profile span {
  font-size: 12px;
  font-weight: 700;
  color: #34d399;
}
.ht-dash-profile.is-locked {
  opacity: 0.55;
}
.ht-dash-profile.is-locked span { color: #fbbf24; }
.ht-dash-login-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.ht-dash-login-card {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.ht-dash-login-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.ht-dash-login-card .ht-dash-key-inline {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}
.ht-dash-login-card-time {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.ht-dash-rail-product {
  padding: 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}
.ht-dash-logout {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.ht-dash-logout:hover { color: #fff; border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.04); }

.ht-dash-shell {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: calc(100vh - 64px);
  background: linear-gradient(180deg, rgba(14, 8, 28, 0.55) 0%, rgba(6, 4, 12, 0.35) 100%);
}
.ht-dash-main {
  flex: 1;
  min-height: 0;
  padding: 36px 40px 48px;
  border-radius: 0;
  border: 0;
  background: transparent;
}
.ht-dash-panel { max-width: 1100px; }
.ht-dash-panel-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}
.ht-dash-panel-head p,
.ht-dash-panel-lead {
  display: block !important;
  margin: 8px 0 20px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}
.ht-dash-section-title {
  margin: 4px 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.85);
}
.ht-dash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.ht-dash-stats--admin { margin-top: 0; }
.ht-dash-stat {
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.18);
  background: linear-gradient(165deg, rgba(124, 58, 237, 0.18), rgba(8, 5, 16, 0.72));
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.ht-dash-stat--accent {
  border-color: rgba(251, 191, 36, 0.28);
  background: linear-gradient(165deg, rgba(251, 191, 36, 0.14), rgba(8, 5, 16, 0.72));
}
.ht-dash-stat span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c4b5fd;
  margin-bottom: 10px;
  font-weight: 600;
}
.ht-dash-stat strong {
  font-size: 18px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  word-break: break-word;
}
.ht-dash-stat strong.ok { color: #34d399; }
.ht-dash-copy {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 22px;
  max-width: 720px;
}
.ht-dash-copy--soft {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}
.ht-dash-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ht-dash-loader-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.18);
  background: rgba(0, 0, 0, 0.28);
  margin-bottom: 24px;
  max-width: 720px;
}
.ht-dash-loader-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.ht-dash-loader-meta span {
  display: block;
  font-size: 12px;
  color: #c4b5fd;
  margin-bottom: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ht-dash-loader-meta strong { color: #fff; font-size: 16px; }
.ht-dash-steps {
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 2;
  max-width: 520px;
}
.ht-dash-table-wrap {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  width: 100%;
  max-width: 100%;
}
.ht-dash-table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 13px;
}
.ht-dash-table th,
.ht-dash-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.ht-dash-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(196, 181, 253, 0.85);
  font-weight: 650;
}
.ht-dash-table td { color: rgba(255, 255, 255, 0.88); }
.ht-dash-table tr:last-child td { border-bottom: 0; }
.ht-dash-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  background: none;
  padding: 0;
  white-space: nowrap;
}
.is-auth-mode .ht-dash-panel {
  max-width: none;
  width: 100%;
}
.is-auth-mode .ht-dash-main {
  padding-left: 28px;
  padding-right: 28px;
}
.ht-auth-table .ht-auth-actions {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}
.ht-auth-table--hw th:nth-child(1),
.ht-auth-table--hw td:nth-child(1) { width: 14%; }
.ht-auth-table--hw th:nth-child(2),
.ht-auth-table--hw td:nth-child(2) { width: 28%; }
.ht-auth-table--hw th:nth-child(3),
.ht-auth-table--hw td:nth-child(3) { width: 22%; }
.ht-auth-table--hw th:nth-child(4),
.ht-auth-table--hw td:nth-child(4) { width: 16%; }
.ht-auth-table--hw th:nth-child(5),
.ht-auth-table--hw td:nth-child(5) { width: 8%; }
.ht-auth-table--hw th:nth-child(6),
.ht-auth-table--hw td:nth-child(6) { width: 12%; }
.ht-dash-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
}
.ht-dash-updates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
}
.ht-dash-update-item,
.ht-dash-updates li {
  padding: 16px 0;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}
.ht-dash-update-item:last-child,
.ht-dash-updates li:last-child {
  border-bottom: 0;
}
.ht-dash-update-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.ht-dash-update-top strong { color: #fff; font-size: 14px; font-weight: 650; }
.ht-dash-update-top span { color: rgba(255,255,255,0.45); font-size: 12px; }
.ht-dash-update-item p,
.ht-dash-updates li p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.5;
}
.ht-dash-update-bullets { display: none; }
.ht-dash-nav-btn--admin {
  color: #fde68a !important;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.08);
}
.ht-dash-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  max-width: 520px;
}
.ht-dash-admin-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.ht-dash-admin-card--solo {
  max-width: 480px;
  margin-top: 8px;
}
.ht-dash-optional {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
}
.ht-dash-file-label input[type="file"] {
  padding: 12px;
  cursor: pointer;
}
.ht-dash-file-label input[type="file"]::file-selector-button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  margin-right: 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.ht-dash-admin-card h3 {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 650;
}
.ht-dash-copy--tight {
  margin: 0;
  font-size: 13px;
}
.ht-dash-admin-send {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ht-dash-admin-send .btn {
  min-width: 96px;
}
.ht-dash-admin-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.ht-dash-admin-card input,
.ht-dash-admin-card textarea {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}
.ht-dash-admin-presets {
  display: none;
}
.ht-dash-admin-preset {
  display: none;
}
.ht-dash-admin-status {
  min-height: 1.2em;
  margin: 0;
  font-size: 13px;
  color: #c4b5fd;
}
@media (max-width: 900px) {
  .ht-dash-admin-grid { grid-template-columns: 1fr; }
}

.ht-dash-update-top span { color: var(--text-tertiary); font-size: 13px; }
.ht-dash-updates p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.ht-dash-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 960px;
}
.ht-dash-info-grid > div {
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.14);
  background: rgba(0, 0, 0, 0.22);
}
.ht-dash-info-grid h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #fff;
  font-weight: 700;
}
.ht-dash-info-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.ht-dash-info-grid a { color: #c4b5fd; }

@media (max-width: 960px) {
  .ht-dash.ht-dash-app { grid-template-columns: 1fr; }
  .ht-dash.ht-dash-app--admin { grid-template-rows: auto auto 1fr; }
  .ht-dash-modebar {
    grid-template-columns: 1fr;
    justify-items: stretch;
    padding: 12px 16px;
    gap: 10px;
  }
  .ht-dash-modebar-left,
  .ht-dash-modebar-center,
  .ht-dash-modebar-meta {
    justify-content: flex-start;
  }
  .ht-dash-mode-switch {
    width: 100%;
  }
  .ht-dash-mode-btn {
    flex: 1;
    justify-content: center;
  }
  .ht-dash-rail {
    position: static;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(167, 139, 250, 0.16);
  }
  .ht-dash-nav { flex-direction: row; flex-wrap: wrap; flex: 0; }
  .ht-dash-nav-btn { width: auto; box-shadow: none; }
  .ht-dash-nav-btn.active { box-shadow: none; }
  .ht-dash-rail-foot { margin-top: 12px; }
  .ht-dash-shell,
  .ht-dash-main { min-height: 0; }
  .ht-dash-main { padding: 24px 20px 40px; }
  .ht-dash-profile-grid { grid-template-columns: 1fr 1fr; }
  .ht-dash-topbar { padding: 12px 20px; }
  .ht-dash-stats,
  .ht-dash-loader-meta,
  .ht-dash-info-grid { grid-template-columns: 1fr 1fr; }
  .ht-dash-login { padding: 32px 22px 28px; }
  .ht-dash-login h1 { font-size: 24px; margin-bottom: 12px; }
}
@media (max-width: 560px) {
  .ht-dash-stats,
  .ht-dash-loader-meta,
  .ht-dash-info-grid,
  .ht-dash-profile-grid { grid-template-columns: 1fr; }
}

.dash-preview-note { display: none !important; }


/* —— SEE IT IN ACTION live dashboard mock —— */
.dash-preview-shell {
  max-width: 1380px;
  margin: 0 auto;
  padding: 18px 20px 8px;
  width: 100%;
  box-sizing: border-box;
}
.dash-preview-tilt {
  width: 100%;
  opacity: 0;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.dash-preview-tilt.is-in {
  opacity: 1;
  transform: none;
}
.dash-preview-frame {
  padding: 0;
  background: #0a0712;
  max-width: none;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.22);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.55),
    0 12px 28px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(76, 29, 149, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 0 0 1px rgba(124, 58, 237, 0.06);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}
.dash-preview-frame--art {
  position: relative;
  background: transparent;
  line-height: 0;
  border: 0;
  border-radius: 20px;
  box-shadow: none;
  overflow: hidden;
}
.dash-preview-frame--art > img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, rgba(0, 0, 0, 0.45) 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 58%, rgba(0, 0, 0, 0.45) 78%, transparent 100%);
}
.dash-preview-frame--art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 88%);
}
.dash-preview-frame > .ht-live-dash {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 720px;
  max-height: none;
  height: min(780px, 88vh);
  background: linear-gradient(180deg, #0c0914 0%, #09060f 100%);
  transform: translateZ(0);
}
.ht-live-side {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(167, 139, 250, 0.12);
  background: rgba(0, 0, 0, 0.28);
  min-height: 0;
  overflow: hidden;
}
.ht-live-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 16px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.ht-live-brand img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 0;
}
.ht-live-nav-scroll {
  flex: 1 1 auto;
  overflow-y: hidden;
  min-height: 0;
  padding: 2px 10px 8px;
  scrollbar-width: none;
}
.ht-live-nav-scroll::-webkit-scrollbar { display: none; }
.ht-live-group {
  margin: 8px 8px 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.55);
}
.ht-live-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: 600 12px/1.15 inherit;
  text-align: left;
  padding: 6.5px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.ht-live-nav-item:hover { background: rgba(255,255,255,0.04); color: #fff; }
.ht-live-nav-item.active {
  background: rgba(124, 58, 237, 0.28);
  color: #f3e8ff;
  box-shadow: inset 3px 0 0 #a78bfa;
}
.ht-live-ico {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
  background-color: rgba(196, 181, 253, 0.85);
  -webkit-mask: var(--ico) center / 14px 14px no-repeat;
  mask: var(--ico) center / 14px 14px no-repeat;
}
.ht-live-ico[data-ico="home"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M6 10.5V20h12v-9.5'/%3E%3C/svg%3E"); }
.ht-live-ico[data-ico="backups"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16v12H4z'/%3E%3Cpath d='M8 7V5h8v2'/%3E%3Cpath d='M8 13h8'/%3E%3C/svg%3E"); }
.ht-live-ico[data-ico="tweaks"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 3v2M12 19v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M3 12h2M19 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); }
.ht-live-ico[data-ico="help"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.6 2.2c-.8.5-1.6 1-1.6 2.3'/%3E%3Ccircle cx='12' cy='17' r='.7' fill='black'/%3E%3C/svg%3E"); }
.ht-live-ico[data-ico="gamemode"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12h4M8 10v4'/%3E%3Ccircle cx='16' cy='10.5' r='1'/%3E%3Ccircle cx='18.5' cy='13.5' r='1'/%3E%3Cpath d='M3 12c0-3 2-5 5-5h8c3 0 5 2 5 5s-2 5-5 5H8c-3 0-5-2-5-5z'/%3E%3C/svg%3E"); }
.ht-live-ico[data-ico="general"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h10'/%3E%3C/svg%3E"); }
.ht-live-ico[data-ico="hardware"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='5' width='14' height='14' rx='2'/%3E%3Cpath d='M9 5V3M15 5V3M9 21v-2M15 21v-2M5 9H3M5 15H3M21 9h-2M21 15h-2'/%3E%3C/svg%3E"); }
.ht-live-ico[data-ico="cleanup"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M9 7V5h6v2'/%3E%3Cpath d='M6 7l1 12h10l1-12'/%3E%3C/svg%3E"); }
.ht-live-ico[data-ico="network"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12a7 7 0 0 1 14 0'/%3E%3Cpath d='M8.5 12a3.5 3.5 0 0 1 7 0'/%3E%3Ccircle cx='12' cy='16' r='1.2' fill='black'/%3E%3Cpath d='M12 17v3'/%3E%3C/svg%3E"); }
.ht-live-ico[data-ico="advanced"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 7v5c0 5 3.5 8.5 8 9 4.5-.5 8-4 8-9V7l-8-4z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.ht-live-ico[data-ico="bios"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M7 9h10M7 12h6M7 15h4'/%3E%3C/svg%3E"); }
.ht-live-ico[data-ico="purchase"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.2'/%3E%3Ccircle cx='18' cy='20' r='1.2'/%3E%3Cpath d='M3 4h2l2.4 11h10.2L21 7H7'/%3E%3C/svg%3E"); }
.ht-live-ico[data-ico="panic"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 3 20h18L12 3z'/%3E%3Cpath d='M12 10v4'/%3E%3Ccircle cx='12' cy='17' r='.8' fill='black'/%3E%3C/svg%3E"); }
.ht-live-nav-item.active .ht-live-ico { background-color: #e9d5ff; }
.ht-live-lock-badge {
  margin-left: auto;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-color: rgba(251, 191, 36, 0.9);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ht-live-nav-panic { color: #fca5a5; }
.ht-live-nav-panic .ht-live-ico { background-color: #fca5a5; }
.ht-live-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.16);
  background: rgba(124, 58, 237, 0.12);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.ht-live-avatar {
  width: 36px;
  height: 36px;
  max-width: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.ht-live-user-meta {
  min-width: 0;
}
.ht-live-user-meta strong {
  display: block;
  font-size: 13px;
  color: #fff;
}
.ht-live-user-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 2px;
}
.ht-live-online {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.7);
  display: inline-block;
}
.ht-live-main {
  padding: 18px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
}
.ht-live-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 0;
}
.ht-live-view[hidden] { display: none !important; }
.ht-live-locked {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}
.ht-live-locked[hidden] { display: none !important; }
.ht-live-locked-blur {
  position: absolute;
  inset: 16px;
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.12);
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.12), rgba(0, 0, 0, 0.25)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 28px);
  filter: blur(7px);
  opacity: 0.85;
  pointer-events: none;
}
.ht-live-locked-rows {
  position: absolute;
  inset: 24px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.ht-live-locked-rows span {
  display: block;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.ht-live-locked-rows span:nth-child(2) { width: 78%; }
.ht-live-locked-rows span:nth-child(3) { width: 92%; }
.ht-live-locked-rows span:nth-child(5) { width: 64%; height: 120px; }
.ht-live-locked-panel {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 320px;
  padding: 28px 26px;
  border-radius: 18px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  background: rgba(10, 7, 18, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.ht-live-locked-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #e9d5ff;
  background: rgba(124, 58, 237, 0.22);
  border: 1px solid rgba(167, 139, 250, 0.35);
}
.ht-live-locked-panel h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.ht-live-locked-panel p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}
.ht-live-locked-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: rgba(124, 58, 237, 0.9);
  border: 1px solid rgba(167, 139, 250, 0.45);
}
.ht-live-locked-cta:hover { color: #fff; background: rgba(139, 92, 246, 0.95); }
.ht-live-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ht-live-welcome {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.ht-live-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0;
}
.ht-live-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ht-live-metric {
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.16);
  background: linear-gradient(180deg, rgba(124,58,237,0.14), rgba(255,255,255,0.03));
}
.ht-live-metric span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c4b5fd;
  margin-bottom: 8px;
}
.ht-live-metric strong {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.ht-live-actions-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.ht-live-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ht-live-action {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  font: 600 12px/1 inherit;
  padding: 9px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.ht-live-action.primary {
  background: rgba(124, 58, 237, 0.85);
  border-color: rgba(167, 139, 250, 0.45);
  color: #fff;
}
.ht-live-stats {
  flex: 1 1 auto;
  height: auto;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.14);
  background: rgba(0, 0, 0, 0.28);
  padding: 10px 12px 10px;
}
.ht-live-stats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.ht-live-stats-head h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.ht-live-tabs {
  display: flex;
  gap: 6px;
}
.ht-live-tabs button {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255,255,255,0.55);
  font: 600 11px/1 inherit;
  padding: 5px 9px;
  border-radius: 8px;
  cursor: pointer;
}
.ht-live-tabs button.active {
  color: #fff;
  background: rgba(124, 58, 237, 0.35);
  border-color: rgba(167, 139, 250, 0.3);
}
.ht-live-graph-wrap {
  flex: 1 1 auto;
  min-height: 240px;
  height: auto;
  border-radius: 10px;
  background: rgba(0,0,0,0.35);
  overflow: hidden;
}
.ht-live-graph-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  image-rendering: auto;
}
@media (max-width: 900px) {
  .dash-preview-shell {
    padding: 0 16px 16px;
  }
  .dash-preview-tilt {
    opacity: 0;
    transform: none;
  }
  .dash-preview-tilt.is-in {
    opacity: 1;
    transform: none;
  }
  .dash-preview-frame {
    box-shadow:
      0 18px 36px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.055);
  }
  .dash-preview-frame > .ht-live-dash {
    grid-template-columns: 1fr;
    max-height: none;
    min-height: 0;
    height: auto;
  }
  .ht-live-side {
    border-right: 0;
    border-bottom: 1px solid rgba(167, 139, 250, 0.12);
  }
  .ht-live-nav-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-height: 180px;
  }
  .ht-live-group { width: 100%; margin: 8px 4px 2px; }
  .ht-live-nav-item { width: auto; }
  .ht-live-metrics { grid-template-columns: 1fr; }
  .ht-live-locked {
    position: relative;
    min-height: 320px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ht-live-online { box-shadow: none; }
  .dash-preview-tilt,
  .dash-preview-tilt.is-in {
    opacity: 1 !important;
    transition: none !important;
    transform: none !important;
  }
}