/* styles.css */

/* Global theme variables */
:root {
  --bg: #161F38;
  --bg-2: #1A2643;
  --surface: #1E2D52;
  --card: #22345E;
  --text: #EAF1FF;
  --muted: #C3CEEC;
  --line: rgba(255,255,255,0.12);
  
  --primary: #5b67e0;
  --primary-2: #3aa7e6;
  
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;
  
  --shadow: 0 10px 28px rgba(0,0,0,0.28);
  
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  
  --pad: 18px;
  --pad-lg: 28px;
  
  --header-h: 72px;
  
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  
  /* Inputs (used on login/activate) */
  --input-bg: color-mix(in srgb, var(--surface) 60%, transparent);
  --input-bg-focus: color-mix(in srgb, var(--surface) 80%, transparent);
}

/* ================================
Base / Reset
================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
  radial-gradient(1000px 500px at 80% -10%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 60%),
  radial-gradient(700px 350px at 10% -10%, color-mix(in srgb, var(--primary-2) 16%, transparent), transparent 60%),
  linear-gradient(180deg, var(--bg), var(--bg-2));
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }

/* ================================
Header / Navigation
================================ */
.site-header {
  position: sticky; top: 0; z-index: 9999; isolation: isolate;
  backdrop-filter: saturate(120%) blur(12px);
  background: color-mix(in srgb, var(--bg-2) 80%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px; min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.2px; min-width: 0; }
.brand img { height: 36px; width: auto; max-width: 160px; object-fit: contain; }
.brand .logotype {
  font-size: 22px; line-height: 1;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 18px color-mix(in srgb, var(--primary) 25%, transparent);
}
.nav-links { display: flex; gap: 16px; align-items: center; }
.nav-links a { padding: 10px 12px; border-radius: 10px; color: var(--muted); }
.nav-links a:hover, .nav-links a:focus { color: var(--text); background: color-mix(in srgb, var(--surface) 40%, transparent); outline: none; }
.nav-cta { display: flex; gap: 10px; align-items: center; }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 5px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 30%, transparent);
  color: var(--text);
  cursor: pointer;
}
.menu-toggle:focus-visible { outline: 2px solid color-mix(in srgb, var(--primary) 50%, white); outline-offset: 2px; }
.menu-toggle svg { width: 26px; height: 26px; }

/* Slide-out mobile drawer (below top bar) */
.drawer {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: auto;
  width: min(84vw, 250px);
  transform: translateX(100%);
  transition: transform .25s ease;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 90%, transparent), color-mix(in srgb, var(--surface) 95%, transparent));
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 50px rgba(0,0,0,.1);
  z-index: 9998; /* below .site-header */
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 16px;
}
.drawer.open { transform: translateX(0); }
.drawer a { padding: 12px 10px; border-radius: 10px; color: var(--text); }
.drawer a:hover { background: color-mix(in srgb, var(--surface) 40%, transparent); }
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 9997; /* keep scrim below top bar */
}
.scrim.show { opacity: 1; pointer-events: auto; }

/* ================================
Buttons / Chips
================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 85%, transparent), color-mix(in srgb, var(--surface) 60%, transparent));
  color: var(--text); box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid color-mix(in srgb, var(--primary) 50%, white); outline-offset: 2px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 85%, #0b1220 15%), color-mix(in srgb, var(--primary-2) 75%, #0b1220 25%));
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  color: #ffffff; font-weight: 700;
  box-shadow:
  0 10px 28px color-mix(in srgb, var(--primary) 18%, transparent),
  0 8px 22px color-mix(in srgb, var(--primary-2) 14%, transparent);
}
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-sm { padding: 8px 10px; border-radius: 10px; font-size: 14px; line-height: 1.1; }
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 30%, transparent);
  color: var(--muted); cursor: pointer;
}
.btn-icon:hover { color: var(--text); }
.btn-block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 999px; font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 30%, transparent);
}

/* ================================
Hero, Sections, Cards, Glass
================================ */
.hero { padding: 70px 0 30px; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.05; margin: 12px 0 14px; letter-spacing: -0.02em; }
.hero p.lead { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.hero-head { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); }

.glass {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: var(--pad-lg);
  background:
  radial-gradient(1200px 400px at 90% -30%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 60%),
  radial-gradient(900px 300px at 10% -20%, color-mix(in srgb, var(--primary-2) 14%, transparent), transparent 60%),
  linear-gradient(180deg, color-mix(in srgb, var(--surface) 50%, transparent), color-mix(in srgb, var(--surface) 80%, transparent));
  box-shadow: 0 30px 60px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.05);
}

section { padding: 40px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.01em; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--pad-lg);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 60%, transparent), color-mix(in srgb, var(--surface) 85%, transparent));
  box-shadow: var(--shadow);
  display: grid; gap: 12px;
}
.card h3 { margin: 0; font-size: 20px; }
.card .desc { color: var(--muted); }
.card .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.card .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--pad-lg); background: color-mix(in srgb, var(--surface) 50%, transparent); display: grid; gap: 8px; }
.feature .f-title { font-weight: 700; }
.feature .f-desc { color: var(--muted); }

/* Support grid */
.support-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.support-card {
  display: grid; gap: 8px; align-content: start; padding: 18px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 45%, transparent);
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.support-card:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  border-color: color-mix(in srgb, var(--primary) 30%, var(--line));
}
.support-card .row { display: flex; gap: 10px; align-items: center; }
.support-icon {
  width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 35%, transparent);
  color: #bfe8ff; flex: 0 0 auto;
}
.support-card .title { font-weight: 700; }
.support-card .desc { color: var(--muted); font-size: 14px; }

/* CTA */
.cta {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: calc(var(--pad-lg) + 8px);
  background:
  radial-gradient(900px 300px at 10% -20%, color-mix(in srgb, var(--primary-2) 12%, transparent), transparent 60%),
  linear-gradient(180deg, color-mix(in srgb, var(--surface) 40%, transparent), color-mix(in srgb, var(--surface) 70%, transparent));
  display: grid; gap: 10px; text-align: center;
}

/* App icons */
.app-icon-xl {
  width: 120px; height: 120px;
  border-radius: 50%; overflow: hidden; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  display: grid; place-items: center;
}
.app-icon-xl img { width: 100%; height: 100%; object-fit: cover; }
.app-icon-round {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 40%, transparent);
  flex: 0 0 auto;
}
.app-icon-round img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-icon-square {
  width: 44px; height: 44px; overflow: hidden;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 40%, transparent);
  flex: 0 0 auto;
}
.app-icon-square img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Link rows (used on app pages) */
.link-row { display: grid; gap: 10px; }
.link-item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 30%, transparent); }
.link-item img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

/* ================================
Footer
================================ */
footer { border-top: 1px solid var(--line); padding: 20px 0 60px; color: var(--muted); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 10px; align-items: center; }
.social {
  display: inline-flex; width: 34px; height: 34px; border-radius: 10px; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 30%, transparent); color: #bcd7ff;
}
.social:hover { color: #e8f3ff; transform: translateY(-1px); }

/* ================================
Modals (shared)
================================ */
.modal-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.80);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 10000; 
}
.modal-scrim.show {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(560px, calc(100% - 32px));
  transform: translate(-50%, -46%) scale(.98);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 10001;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
  radial-gradient(900px 300px at 10% -20%, color-mix(in srgb, var(--primary-2) 12%, transparent), transparent 60%),
  linear-gradient(180deg, color-mix(in srgb, var(--surface) 50%, transparent), color-mix(in srgb, var(--surface) 80%, transparent));
  box-shadow: 0 30px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);
  padding: calc(var(--pad-lg) + 4px);
}
.modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.modal h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.modal p { margin: 0; color: var(--muted); }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }

/* ================================
General form controls
================================ */
.input, .select {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 35%, transparent); color: var(--text);
}
.select select {
  background: transparent; border: 0; color: var(--text); outline: none;
}

/* ================================
Page-specific: Kik Live viewer
================================ */
.viewer { display: grid; gap: 12px; align-items: start; }
.viewer-area {
  display: grid; place-items: center; min-height: 480px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 35%, transparent);
  padding: 10px;
}
#rive_player,
lottie-player,
#gift_img {
  width: min(380px, 100%) !important;
  height: auto !important;
  max-height: 58vh !important;
  max-width: 100%;
}
.viewer-meta { display: grid; gap: 10px; }
.viewer-meta .btn { width: 100%; max-width: 420px; }
.variant-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
pre { margin: 0; white-space: pre-wrap; color: var(--muted); }

/* Kik Live grid of gifts */
.gift-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.gift-card {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; min-height: 120px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 60%, transparent), color-mix(in srgb, var(--surface) 85%, transparent));
  box-shadow: var(--shadow); padding: 14px;
}
.gift-card .preview {
  width: 64px !important; height: 64px !important;
  border-radius: 50%; overflow: hidden; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 30%, transparent);
  display: grid; place-items: center;
}
.gift-card .preview img { width: 100%; height: 100%; object-fit: cover; }
.gift-card h3 { margin: 0; font-size: 16px; letter-spacing: -0.01em; }
.gift-card .meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.gift-card .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.gift-card .actions { margin-top: 4px; }
.gift-card.selected { outline: 2px solid color-mix(in srgb, var(--primary) 60%, white); outline-offset: 2px; }

/* Kik Live controls layout */
.kiklive-controls {
  display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; align-items: center; margin-top: 12px;
}

/* ================================
Page-specific: FAQ accordion
================================ */
.accordion { display: grid; gap: 12px; }
details.faq {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 45%, transparent);
  box-shadow: var(--shadow); overflow: hidden;
}
details.faq[open] { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.faq-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  list-style: none; padding: 16px 18px; cursor: pointer; font-weight: 700;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-body { padding: 0 18px 18px; color: var(--muted); }
.chev { flex: 0 0 auto; width: 18px; height: 18px; color: #cfe1ff; opacity: .9; transition: transform .2s ease; }
details[open] .chev { transform: rotate(180deg); }

/* ================================
Page-specific: Search (bluekik/search)
================================ */
.search-toolbar {
  position: sticky; top: var(--header-h); z-index: 999;
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(120%) blur(10px);
  background: color-mix(in srgb, var(--bg-2) 80%, transparent);
}
.search-toolbar .wrap {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 0;
}
.search-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 85%, transparent), color-mix(in srgb, var(--surface) 60%, transparent));
  box-shadow: var(--shadow);
}
.search-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 30%, transparent);
  color: var(--muted); flex: 0 0 auto;
}
.search-input {
  flex: 1; background: transparent; border: 0; color: var(--text);
  font-size: 16px; outline: none; min-width: 0;
}
.search-actions { display: inline-flex; gap: 6px; align-items: center; }

.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.12);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Search controls */
.search-toolbar .controls {
  display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end;
}
.search-toolbar .select, .toggle {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 85%, transparent), color-mix(in srgb, var(--surface) 60%, transparent));
  color: var(--text); min-height: 40px;
}
.search-toolbar .select select { background: transparent; border: 0; color: var(--text); outline: none; }
.toggle input { accent-color: var(--primary); }

/* Layout: featured tags + results */
.main-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 16px; align-items: start; padding: 18px 0 0;
}

/* Featured area */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 60%, transparent), color-mix(in srgb, var(--surface) 85%, transparent));
  box-shadow: var(--shadow);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.panel-title { font-weight: 800; letter-spacing: -0.01em; }

.tags-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 12px; }
.tag-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: color-mix(in srgb, var(--surface) 50%, transparent); display: grid; gap: 8px; }
.tag-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tag-left { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.cat-icon { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); object-fit: cover; flex: 0 0 auto; }
.tag-name { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag-actions { display: inline-flex; gap: 8px; align-items: center; }

.expander {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 30%, transparent);
  color: var(--muted);
  cursor: pointer; flex: 0 0 auto;
}
.expander svg { width: 20px; height: 20px; transition: transform .2s ease; }
.tag-card.open .expander svg { transform: rotate(90deg); }

.tag-summary { color: var(--muted); font-size: 13px; }
.sublist { display: none; grid-template-columns: 1fr; gap: 8px; }
.tag-card.open .sublist { display: grid; }
.sub-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px; border-radius: 10px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 35%, transparent);
}
.sub-left { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.sub-left img { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); object-fit: cover; }
.sub-name {
  font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Results panel */
.results-panel .results-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.result-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px;
  background: color-mix(in srgb, var(--surface) 50%, transparent);
  display: grid; gap: 8px;
}
.result-row { display: flex; gap: 10px; align-items: center; }

/* Scoped avatar for search results to avoid conflicts */
.result-card .avatar {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  position: relative;
}
.result-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.result-card .avatar.nsfw img { filter: blur(10px) saturate(0.7) brightness(0.85); }
.nsfw-pill {
  position: absolute; bottom: 4px; left: 4px;
  background: #ad4ff3; color: #ffffff;
  font-weight: 800; font-size: 10px; padding: 2px 2px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.35);
}

.result-info { flex: 1 1 auto; min-width: 0; max-width: 100%; }
.meta { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; flex-wrap: wrap; margin-top: 2px; }
.meta .dot { opacity: .6; }

.group-name { font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.group-hashtag { color: var(--muted); font-size: 13px; }
.group-name.marquee, .group-hashtag.marquee { position: relative; overflow: hidden; }
.group-name.marquee:hover .marquee-inner,
.group-name.marquee:focus .marquee-inner,
.group-hashtag.marquee:hover .marquee-inner,
.group-hashtag.marquee:focus .marquee-inner { animation-play-state: running; }
@keyframes marquee-x {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--overflow, 0px))); }
}

.result-actions { display: flex; justify-content: flex-end; gap: 8px; align-items: center; margin-top: 4px; }
.empty {
  padding: 28px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; color: var(--muted);
}
.more { display: flex; align-items: center; justify-content: center; margin: 14px 0; }

/* Extras (search challenge box) */
.challenge-box {
  display: grid; gap: 12px; border: 1px dashed var(--line); border-radius: var(--radius);
  padding: var(--pad); background: color-mix(in srgb, var(--surface) 55%, transparent);
  align-items: center; justify-items: center; text-align: center;
}
.challenge-title { font-weight: 800; }
.challenge-desc { color: var(--muted); font-size: 14px; }
.challenge-mount { width: 100%; min-height: 100px; display: grid; place-items: center; }

/* ================================
Page-specific: Blog post
================================ */
.post {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(18px, 4vw, var(--pad-lg));
  background:
  radial-gradient(900px 300px at 10% -20%, color-mix(in srgb, var(--primary-2) 10%, transparent), transparent 60%),
  linear-gradient(180deg, color-mix(in srgb, var(--surface) 40%, transparent), color-mix(in srgb, var(--surface) 70%, transparent));
  box-shadow: var(--shadow);
}
.post-title {
  font-size: clamp(28px, 5vw, 40px); line-height: 1.1; letter-spacing: -0.02em; margin: 4px 0 8px;
}
.post-meta {
  display: flex; flex-wrap: wrap; gap: 10px 14px; color: var(--muted); font-size: 14px;
  border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px;
}
.post-meta .dot { opacity: .6; }
.post-content {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(16px, 3.5vw, 22px);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.post-content > * + * { margin-top: 1em; }
.post-content p { margin: 0; color: var(--text); font-size: 18px; line-height: 1.7; }
.post-content h2 { margin: 0; font-size: 26px; letter-spacing: -0.01em; }
.post-content h3 { margin: 0; font-size: 22px; letter-spacing: -0.01em; }
.post-content a { color: #cfe2ff; text-decoration: underline; text-decoration-color: color-mix(in srgb, #cfe2ff 60%, transparent); }
.post-content ul, .post-content ol { margin: 0; padding-left: 22px; color: var(--text); }
.post-content blockquote {
  margin: 0; padding: 12px 14px; border-left: 3px solid color-mix(in srgb, var(--primary) 50%, transparent);
  background: color-mix(in srgb, var(--surface) 40%, transparent); border-radius: 0 10px 10px 0; color: var(--muted);
}
.post-content img { border-radius: 12px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 30%, transparent); }
.post-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.95em; background: color-mix(in srgb, var(--surface) 45%, transparent);
  border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px;
}
.post-content pre {
  margin: 0; padding: 12px 14px; overflow: auto; border: 1px solid var(--line); border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
}
.post-content pre code { border: 0; padding: 0; background: transparent; }

/* ================================
Page-specific: Premium - Cropper
================================ */
#cropper-card { display: grid; gap: 18px; overflow: hidden; }
#crop_image {
  width: 100%; max-height: 70vh;
  border-radius: 12px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  object-fit: contain;
}
#cropper-card .cropper-container {
  width: 100% !important; max-width: 100% !important;
  border-radius: 12px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  overflow: hidden;
}
#cropper-card .cropper-wrap-box,
#cropper-card .cropper-canvas,
#cropper-card .cropper-drag-box,
#cropper-card .cropper-view-box { max-width: 100% !important; }

.actions { display: flex; gap: 10px; justify-content: flex-start; flex-wrap: wrap; }
.note { color: var(--muted); font-size: 14px; }

.premium-dashboard-bot-card {
  flex: 0 0 auto; width: 200px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 60%, transparent), color-mix(in srgb, var(--surface) 85%, transparent));
  box-shadow: var(--shadow); padding: 14px; display: grid; gap: 10px; align-content: start;
}
.premium-dashboard-bot-avatar {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 40%, transparent); margin: 0 auto; display: grid; place-items: center;
}
.premium-dashboard-bot-avatar img { width: 100%; height: 100%; object-fit: cover; }
.premium-dashboard-bot-username { text-align: center; font-weight: 700; }
.premium-dashboard-bot-display { text-align: center; color: var(--muted); font-size: 14px; }

.premium-dashboard-skeleton {
  animation: pulse 1.2s ease-in-out infinite;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.16), rgba(255,255,255,0.08));
  background-size: 200% 100%;
}
@keyframes pulse { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.premium-dashboard-skeleton-line { height: 12px; border-radius: 6px; }

#managed-bot-header { justify-content: center; }

/* ================================
Page-specific: Premium - Playground
================================ */
.kp-page { max-width: 980px; margin: 0 auto; padding: 20px; }
.kp-card {
  border-radius: var(--radius-lg);
  padding: var(--pad-lg);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 60%, transparent), color-mix(in srgb, var(--surface) 85%, transparent));
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: var(--shadow);
}
.kp-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.kp-input { flex: 1; min-width: 260px; }
.kp-input input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px;
  background: color-mix(in srgb, var(--surface) 30%, transparent); color: var(--text); outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.kp-input input::placeholder { color: var(--muted); }
.kp-input input:focus {
  border-color: color-mix(in srgb, var(--primary) 60%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent);
}
.kp-btn {
  padding: 12px 16px; border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 85%, #0b1220 15%), color-mix(in srgb, var(--primary-2) 75%, #0b1220 25%));
  color: #fff; font-weight: 700;
  box-shadow:
  0 10px 28px color-mix(in srgb, var(--primary) 18%, transparent),
  0 8px 22px color-mix(in srgb, var(--primary-2) 14%, transparent);
}
.kp-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.kp-secondary { background: color-mix(in srgb, var(--surface) 30%, transparent); border: 1px solid var(--line); color: var(--text); box-shadow: none; font-weight: 600; }
.kp-hint { color: var(--muted); font-size: 13px; margin-top: 8px; }

.kp-results { margin-top: 18px; display: grid; grid-template-columns: 1fr; gap: 16px; }
.kp-user {
  display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: start; width: 100%;
  padding: 12px; border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 55%, transparent), color-mix(in srgb, var(--surface) 80%, transparent));
  color: var(--text);
}
.kp-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: color-mix(in srgb, var(--surface) 40%, transparent); border: 1px solid var(--line); }
.kp-user h2, .kp-user h3 { margin: 0 0 8px; color: var(--text); }
.kp-meta { font-size: 13px; color: var(--muted); line-height: 1.6; }
.kp-actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }

.kp-pre {
  background: #0f172a; color: #e2e8f0; padding: 12px; border-radius: 10px; border: 1px solid var(--line);
  overflow: auto; font-size: 12px;
}
.kp-loading { display: none; margin-top: 12px; color: var(--muted); }

.kp-banner {
  width: 100%; max-height: 220px; aspect-ratio: 3 / 1; object-fit: cover; object-position: center;
  border-radius: 10px; margin-bottom: 12px; display: none; border: 1px solid var(--line);
}
.kp-empty {
  padding: 14px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); background: transparent;
}

.kp-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: color-mix(in srgb, var(--surface) 30%, transparent);
}
.kp-toggle button { border: 0; background: transparent; color: var(--muted); padding: 8px 12px; font-weight: 600; }
.kp-toggle button.active { background: color-mix(in srgb, var(--surface) 50%, transparent); color: var(--text); }

.kp-section-title {
  margin: 8px 0 6px 0; font-size: 14px; color: var(--muted); font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.kp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.kp-tile {
  padding: 12px; border-radius: 12px; border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 40%, transparent), color-mix(in srgb, var(--surface) 70%, transparent));
  text-align: center; cursor: pointer; transition: transform .12s ease;
}
.kp-tile:hover { transform: translateY(-1px); }

.kp-avatar-wrap { position: relative; width: 72px; height: 72px; margin-inline: auto; }
.kp-tile img.kp-tile-avatar,
.kp-avatar-wrap > img.kp-avatar {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 40%, transparent);
}
.kp-badge {
  position: absolute; right: -4px; bottom: -4px; width: 26px; height: 26px; border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  border: 2px solid var(--bg-2); box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
}
.kp-badge img { width: 18px; height: 18px; display: block; }
.kp-emoji-badge {
  position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  border: 2px solid var(--bg-2); box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1; overflow: hidden;
}
.kp-name {
  margin-top: 8px; font-size: 13px; color: var(--text); line-height: 1.2; max-height: 2.4em; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word;
}
.kp-uname { color: var(--muted); font-size: 12px; margin-top: 4px; word-break: break-word; }
.kp-json-wrap { position: relative; }
.kp-copy-btn {
  position: absolute; top: 10px; right: 10px; width: 38px; height: 38px;
  border-radius: 12px; border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 30%, transparent), color-mix(in srgb, var(--primary-2) 26%, transparent));
  color: #dbe4ff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow:
  0 10px 28px color-mix(in srgb, var(--primary) 20%, transparent),
  0 8px 22px color-mix(in srgb, var(--primary-2) 16%, transparent);
  cursor: pointer; transition: transform .12s ease, background .2s ease, box-shadow .2s ease; backdrop-filter: blur(6px) saturate(120%);
}
.kp-copy-btn:hover { transform: translateY(-1px); }
.kp-copy-btn:active { transform: translateY(0); }
.kp-copy-btn svg { width: 18px; height: 18px; display: block; fill: #eaf1ff; }

/* Deactivated alert */
.kp-alert { margin-top: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; line-height: 1.4; border: 1px solid var(--line); }
.kp-alert-danger {
  border-color: color-mix(in srgb, var(--danger) 40%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--danger) 12%, transparent), color-mix(in srgb, var(--danger) 8%, transparent));
  color: #ffe5e5;
}
.kp-alert-danger strong { color: #ffb4b4; }

/* SweetAlert dark adjustments */
.swal2-popup {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 70%, transparent), color-mix(in srgb, var(--surface) 90%, transparent)) !important;
  border: 1px solid var(--line) !important;
  color: var(--text) !important;
  border-radius: 14px !important;
}
.swal2-title { color: var(--text) !important; }
.swal2-html-container { color: var(--text) !important; }

/* ================================
Page-specific: Premium - Login / Activate
================================ */
.auth-card { display: grid; gap: 14px; }
.auth-card h2 { margin: 0; font-size: 24px; }
.auth-desc { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.form-row { display: grid; gap: 10px; }
.premium-sep { text-align: center; color: var(--muted); font-size: 12px; margin: 2px 0; }

.input.input-auth {
  width: 100%; border-radius: 12px; border: 1px solid var(--line);
  background: var(--input-bg); color: var(--text);
  padding: 14px 14px; font-size: 16px; outline: none;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.input.input-auth:focus {
  background: var(--input-bg-focus);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}
.helper { color: var(--muted); font-size: 12px; margin-top: -2px; }
.actions .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.kik-cta { display: inline-flex; gap: 8px; align-items: center; color: #bfe8ff; font-size: 14px; }

/* ================================
Home page: apps mini list
================================ */
.apps-mini { display: grid; gap: 12px; }
.apps-mini .apps-mini-row {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 30%, transparent); gap: 12px;
}
.apps-mini .apps-mini-title { font-weight: 700; }
.apps-mini .apps-mini-meta {
  color: var(--muted);
  font-size: 14px;        /* restore smaller size from the old page */
  line-height: 1.2;       /* tighten spacing to match old look */
  margin-top: 2px;        /* small separation under title */
}


/* ================================
Responsive
================================ */
@media (max-width: 1100px) {
  .gift-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand img { height: 32px; max-width: 140px; }
  
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .support-grid { grid-template-columns: 1fr 1fr; }
  
  .search-toolbar .wrap { grid-template-columns: 1fr; }
  .search-toolbar .wrap .controls { justify-self: left; }
  .main-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  body[data-search-active="true"] .featured-area { display: none; }
}
@media (max-width: 800px) {
  .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .menu-toggle svg { width: 28px; height: 28px; }
  .cards, .features { grid-template-columns: 1fr; }
  
  .support-grid { grid-template-columns: 1fr; justify-items: center; }
  .support-card { width: 100%; max-width: 520px; }
  
  .hero { padding-top: 52px; }
  .brand img { height: 30px; max-width: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .support-card, .social, .drawer, .scrim, .modal, .modal-scrim,
  .chev, .expander svg, .result-card { transition: none; }
  .group-name.marquee .marquee-inner,
  .group-hashtag.marquee .marquee-inner { animation: none !important; }
}

/* Crop-specific */
.crop-title { font-size: clamp(22px, 4vw, 28px); margin: 0 0 6px 0; }
.crop-subtitle { color: var(--muted); margin: 0; }

#cropper-card {
  display: grid;
  gap: 18px;
  /* If Cropper briefly sizes wider during init, don't let it push the page width */
  overflow: hidden;
}
#crop_image {
  width: 100%;
  max-height: 70vh;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  object-fit: contain;
}

/* Keep the cropper container within the card/viewport */
#cropper-card .cropper-container {
  width: 100% !important;
  max-width: 100% !important;
  /* Mirror the original image styles so the look stays consistent after init */
  border-radius: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  overflow: hidden; /* clip any internal overflows */
}

/* Extra safety: inner layers should not exceed container width */
#cropper-card .cropper-wrap-box,
#cropper-card .cropper-canvas,
#cropper-card .cropper-drag-box,
#cropper-card .cropper-view-box {
  max-width: 100% !important;
}

/* Premium Dashboard Stuff */

/* ================================
Page-specific: Premium - Dashboard 
TODO fix these for dashboard!!!
================================ */

.premium-profile { display: grid; gap: 12px; justify-items: center; text-align: center; }
.premium-profile .avatar {
  width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 2px solid var(--line);
  background: color-mix(in srgb, var(--surface) 40%, transparent);
}
.profile .avatar img { width: 100%; height: 100%; object-fit: cover; }
.premium-welcome { font-size: 18px; color: var(--muted); }
.premium-title { font-size: clamp(28px, 5vw, 40px); margin: 8px 0 14px; }
.premium-subtitle { color: var(--muted); margin: 8px 0 12px; }

.premium-btn-row { display: flex; flex-direction: column; gap: 10px; overflow: visible; padding-bottom: 0; }
.premium-btn-row .btn { flex: 0 0 auto; width: 100%; white-space: normal; }

.license-badge { color: var(--muted); font-size: 14px; opacity: 0.95; }
.premium-highlight { color: #5e92e8; font-weight: 800; }

.bot-row, 
.premium-dashboard-bot-row {
  display: flex; gap: 14px; padding-bottom: 8px;
  min-width: 0; max-width: 100%; overflow: hidden;
}
.bot-row.enable-scroll, 
.premium-dashboard-bot-row.enable-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.bot-row::-webkit-scrollbar, 
.premium-dashboard-bot-row::-webkit-scrollbar { 
  height: 8px; 
}
.bot-row::-webkit-scrollbar-thumb, 
.premium-dashboard-bot-row::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15); 
  border-radius: 8px; 
}
#premium-bots-card { 
  min-width: 0; overflow: hidden; 
}

.premium-dashboard-container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

.premium-dashboard-hero {
  padding: 70px 0 30px;
}

/* Single-column content area now */
.premium-dashboard-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.premium-dashboard-profile {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}
.premium-dashboard-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  overflow: hidden; border: 2px solid var(--line);
  background: color-mix(in srgb, var(--surface) 40%, transparent);
}
.premium-dashboard-avatar img { width: 100%; height: 100%; object-fit: cover; }
.premium-dashboard-welcome { font-size: 18px; color: var(--muted); }
.premium-dashboard-title { font-size: clamp(28px, 5vw, 40px); margin: 8px 0 14px; }
.premium-dashboard-subtitle { color: var(--muted); margin: 8px 0 12px; }

/* Section card */
.premium-dashboard-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad-lg);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 60%, transparent), color-mix(in srgb, var(--surface) 85%, transparent));
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

/* Small helper */
.premium-dashboard-highlight { color: #5e92e8; font-weight: 800; }

.premium-dashboard-hero > .premium-dashboard-title { text-align: center; }

.premium-dashboard-btn-row {
  display: flex;
  flex-direction: column;   /* each button on its own line */
  gap: 10px;                /* small vertical space between buttons */
  overflow: visible;        /* no horizontal scroll */
  padding-bottom: 0;
}
.premium-dashboard-btn-row::-webkit-scrollbar {
  height: 8px;
}
.premium-dashboard-btn-row::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
}
.premium-dashboard-btn-row .premium-dashboard-btn {
  flex: 0 0 auto;
  width: 100%;              /* make each button span the card width */
  white-space: normal;      /* allow label wrapping to avoid overflow */
}

/* Buttons (match homepage) */
.premium-dashboard-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 85%, transparent), color-mix(in srgb, var(--surface) 60%, transparent));
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.premium-dashboard-btn:hover { transform: translateY(-1px); }
.premium-dashboard-btn:active { transform: translateY(0); }
.premium-dashboard-btn-primary {
  background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 85%, #0b1220 15%), color-mix(in srgb, var(--primary-2) 75%, #0b1220 25%));
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  box-shadow:
  0 10px 28px color-mix(in srgb, var(--primary) 18%, transparent),
  0 8px 22px color-mix(in srgb, var(--primary-2) 14%, transparent);
  color: #ffffff;
  font-weight: 700;
}
.premium-dashboard-btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

/*

Uncomment to enable light mode - no plans to do so at this time

@media (prefers-color-scheme: light) {
:root {
--bg: #f9fbff;
--bg-2: #f1f5ff;
--surface: #ffffff;
--card: #ffffff;
--text: #0B1220;
--muted: #556385;
--line: rgba(0,0,0,0.08);
--shadow: 0 10px 30px rgba(10,15,30,0.08);
}
}*/