/* =========================================================
   LK New Design — CSS
   Scoped under body.lk-v2 to avoid conflicts
   ========================================================= */

/* ===========================================
   1. DESIGN TOKENS
   =========================================== */
:root {
  /* Background tones */
  --bg-0: #0a0a14;
  --bg-1: #10101e;
  --bg-2: #15162c;
  --bg-3: #1a1b33;
  --bg-card: rgba(22, 22, 42, 0.78);
  --bg-card-2: rgba(28, 28, 52, 0.6);
  --bg-elev: rgba(40, 38, 75, 0.45);
  --bg-row-hover: rgba(124, 92, 252, 0.05);

  /* Border / divider */
  --border-1: rgba(124, 92, 252, 0.1);
  --border-2: rgba(255, 255, 255, 0.07);
  --border-3: rgba(255, 255, 255, 0.04);
  --border-strong: rgba(124, 92, 252, 0.32);

  /* Text */
  --text-1: #f5f4ff;
  --text-2: #c8c5e0;
  --text-3: #918fae;
  --text-muted: #6c6a85;
  --focus-ring: rgba(124, 92, 252, 0.55);

  /* Brand accent */
  --accent-1: #8a6dfe;
  --accent-2: #b548f2;
  --accent-3: #5a8df7;
  --accent-glow: rgba(124, 92, 252, 0.35);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #7c5cfc 0%, #b548f2 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(124, 92, 252, 0.14) 0%, rgba(181, 72, 242, 0.14) 100%);
  --gradient-hero: radial-gradient(900px 500px at 15% -10%, rgba(124, 92, 252, 0.16) 0%, transparent 65%),
                   radial-gradient(700px 400px at 90% 5%, rgba(181, 72, 242, 0.1) 0%, transparent 70%);

  /* Status colors */
  --c-success: #34d399;
  --c-success-bg: rgba(52, 211, 153, 0.12);
  --c-warn: #fbbf24;
  --c-warn-bg: rgba(251, 191, 36, 0.12);
  --c-info: #38bdf8;
  --c-info-bg: rgba(56, 189, 248, 0.12);
  --c-danger: #f87171;
  --c-danger-bg: rgba(248, 113, 113, 0.12);
  --c-stars: #fbbf24;

  /* Tier colors */
  --tier-start: #64748b;
  --tier-silver: #cbd5e1;
  --tier-gold: #fbbf24;
  --tier-platinum: #a5f3fc;
  --tier-diamond: #c4b5fd;

  /* Shadows */
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 14px 36px -22px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 10px 32px -14px rgba(124, 92, 252, 0.45);
  --shadow-glow-soft: 0 8px 22px -14px rgba(124, 92, 252, 0.3);

  /* Radius */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;

  /* Type */
  --font-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}


/* ===========================================
   2. KEYFRAMES (file-scope, not under body.lk-v2)
   =========================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes sheetUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

@keyframes toastIn {
  from { transform: translateX(-50%) translateY(20px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0);    opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

@keyframes pulse {
  0%   { transform: scale(0.9); opacity: 0.3; }
  100% { transform: scale(1.6); opacity: 0; }
}


/* ===========================================
   3. BASE
   =========================================== */
body.lk-v2 {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  min-height: 100vh;
}

body.lk-v2.loading .page-content {
  visibility: hidden;
}

body.lk-v2 *,
body.lk-v2 *::before,
body.lk-v2 *::after {
  box-sizing: border-box;
}


/* ===========================================
   4. LOADER (preserved from old design)
   =========================================== */
body.lk-v2 #mini-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #3B2A7A;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

body.lk-v2 #mini-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

body.lk-v2 .loader {
  width: 132px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3B2A7A;
  padding: 18px;
  border-radius: 22px;
  box-sizing: border-box;
}

body.lk-v2 .loader img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  animation: loaderPulse 1.2s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(0.96); }
  50% { transform: scale(1.05); }
}


/* ===========================================
   5. CONTAINER
   =========================================== */
body.lk-v2 .lk-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}


/* ===========================================
   6. APP SHELL
   =========================================== */
body.lk-v2 .app-shell {
  position: relative;
  min-height: 100vh;
  background: var(--bg-0);
  background-image: var(--gradient-hero);
}

body.lk-v2 .app-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.025) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(700px 500px at 50% 0%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(700px 500px at 50% 0%, black, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

body.lk-v2 .app-shell > * {
  position: relative;
  z-index: 1;
}


/* ===========================================
   7. HEADER
   =========================================== */
body.lk-v2 .header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 10, 20, 0.78);
  border-bottom: 1px solid var(--border-2);
}

body.lk-v2 .header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
}

/* Logo */
body.lk-v2 .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

body.lk-v2 .logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

body.lk-v2 .logo-mark svg {
  width: 20px;
  height: 20px;
}

body.lk-v2 .logo-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.01em;
}

body.lk-v2 .logo-text .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav */
body.lk-v2 .nav {
  display: flex;
  gap: 2px;
  margin-left: 4px;
}

body.lk-v2 .nav-item {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

body.lk-v2 .nav-item:hover {
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.04);
}

body.lk-v2 .nav-item.active {
  color: var(--text-1);
  background: var(--gradient-brand-soft);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

/* Header right */
body.lk-v2 .header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Icon button (bell) */
body.lk-v2 .icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

body.lk-v2 .icon-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-strong);
  color: var(--text-1);
}

body.lk-v2 .icon-btn svg {
  width: 18px;
  height: 18px;
}

body.lk-v2 .badge-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  min-width: 14px;
  height: 14px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent-2);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Divider */
body.lk-v2 .divider-v {
  width: 1px;
  height: 24px;
  background: var(--border-2);
  flex-shrink: 0;
}

/* Lang switch */
body.lk-v2 .lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 3px;
  height: 32px;
}

body.lk-v2 .lang-switch button {
  padding: 0 10px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-3);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

body.lk-v2 .lang-switch button.active {
  background: rgba(124, 92, 252, 0.18);
  color: var(--text-1);
}

/* Profile chip */
body.lk-v2 .profile-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-2);
  cursor: pointer;
  transition: border-color 0.15s;
}

body.lk-v2 .profile-chip:hover {
  border-color: var(--border-strong);
}

body.lk-v2 .profile-chip .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 13px;
}

body.lk-v2 .profile-chip .username {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-1);
}


/* ===========================================
   8. AUTH SCREEN
   =========================================== */
body.lk-v2 .auth-screen {
  min-height: calc(100vh - 73px);
  display: grid;
  place-items: center;
  padding: 20px;
}

body.lk-v2 .auth-card {
  max-width: 460px;
  width: 100%;
  padding: 40px 32px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
  overflow: hidden;
}

body.lk-v2 .auth-card::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124, 92, 252, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

body.lk-v2 .auth-icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin: 0 auto 24px;
  position: relative;
}

body.lk-v2 .auth-icon svg {
  width: 42px;
  height: 42px;
}

body.lk-v2 .auth-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-1);
  margin: 0 0 10px;
}

body.lk-v2 .auth-desc {
  font-size: 14px;
  color: var(--text-2);
  margin: 0 0 24px;
  line-height: 1.55;
}

body.lk-v2 .auth-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

body.lk-v2 .auth-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 12px;
  font-size: 12.5px;
  color: var(--text-2);
  text-align: left;
  line-height: 1.5;
}

body.lk-v2 .auth-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--c-info);
}


/* ===========================================
   9. WELCOME BLOCK
   =========================================== */
body.lk-v2 .welcome-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

body.lk-v2 .welcome-block::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  top: -170px;
  right: -60px;
  background: radial-gradient(circle, rgba(181, 72, 242, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

body.lk-v2 .welcome-meta {
  min-width: 0;
}

body.lk-v2 .welcome-hi {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

body.lk-v2 .welcome-hi h1 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-1);
  margin: 0;
  line-height: 1.2;
}

body.lk-v2 .welcome-hi .uname,
body.lk-v2 .uname {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.lk-v2 .welcome-sub {
  color: var(--text-2);
  font-size: 14px;
  max-width: 540px;
  margin: 8px 0 14px;
  line-height: 1.5;
}

body.lk-v2 .welcome-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.lk-v2 .meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-2);
  white-space: nowrap;
}

body.lk-v2 .meta-pill svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

body.lk-v2 .meta-pill strong {
  font-weight: 600;
}


/* ===========================================
   10. AVATAR
   =========================================== */
body.lk-v2 .avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #5a8df7, #b548f2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
  overflow: hidden;
}

body.lk-v2 .avatar.xl {
  width: 72px;
  height: 72px;
  font-size: 28px;
  border-radius: 20px;
}

body.lk-v2 .avatar img,
body.lk-v2 .profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s;
}

body.lk-v2 .avatar img.loaded,
body.lk-v2 .profile-avatar img.loaded {
  opacity: 1;
}


/* ===========================================
   11. CTA GRID
   =========================================== */
body.lk-v2 .cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

body.lk-v2 .cta-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-2);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-align: left;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
  min-height: 88px;
  background: none;
}

body.lk-v2 .cta-card:hover {
  transform: translateY(-2px);
}

body.lk-v2 .cta-card:active {
  transform: translateY(0);
}

/* Primary CTA */
body.lk-v2 .cta-card.primary {
  background: linear-gradient(135deg, #5e44d8 0%, #8438c8 100%);
  border-color: transparent;
  box-shadow: 0 10px 28px -16px rgba(94, 68, 216, 0.5);
  color: #fff;
}

body.lk-v2 .cta-card.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

body.lk-v2 .cta-card.primary::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  bottom: -100px;
  right: -60px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

body.lk-v2 .cta-card.primary:hover {
  box-shadow: 0 14px 36px -12px rgba(94, 68, 216, 0.6);
}

body.lk-v2 .cta-card.primary.variant-premium {
  background: linear-gradient(135deg, #4530a8 0%, #6c4cd8 100%);
}

/* Secondary CTA */
body.lk-v2 .cta-card.secondary {
  background: rgba(28, 26, 56, 0.45);
  border-color: var(--border-1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-card);
}

body.lk-v2 .cta-card.secondary:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow-soft);
}

/* CTA icon wrap */
body.lk-v2 .cta-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.lk-v2 .cta-icon-wrap svg {
  width: 20px;
  height: 20px;
}

body.lk-v2 .cta-card.primary .cta-icon-wrap {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

body.lk-v2 .cta-card.secondary .cta-icon-wrap {
  background: var(--gradient-brand-soft);
  border: 1px solid var(--border-1);
  color: var(--accent-1);
}

/* CTA body */
body.lk-v2 .cta-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

body.lk-v2 .cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.lk-v2 .cta-card.primary .cta-title {
  color: #fff;
}

body.lk-v2 .cta-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

body.lk-v2 .cta-card.secondary .cta-sub {
  color: var(--text-3);
}

/* CTA arrow */
body.lk-v2 .cta-arrow {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

body.lk-v2 .cta-arrow svg {
  width: 18px;
  height: 18px;
}


/* ===========================================
   12. STATS GRID
   =========================================== */
body.lk-v2 .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

body.lk-v2 .stat-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-card);
}

body.lk-v2 .stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #fff;
}

body.lk-v2 .stat-icon svg {
  width: 22px;
  height: 22px;
}

body.lk-v2 .stat-card[data-tone="purple"] .stat-icon {
  background: linear-gradient(135deg, #7c5cfc, #b548f2);
}

body.lk-v2 .stat-card[data-tone="gold"] .stat-icon {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

body.lk-v2 .stat-card[data-tone="pink"] .stat-icon {
  background: linear-gradient(135deg, #ec4899, #b548f2);
}

body.lk-v2 .stat-label {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 6px;
}

body.lk-v2 .stat-value,
body.lk-v2 p.stat-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-1);
  margin: 0;
  line-height: 1.2;
}

body.lk-v2 .stat-value .unit {
  font-size: 15px;
  color: var(--text-3);
}

body.lk-v2 .stat-trend {
  font-size: 12.5px;
  color: var(--c-success);
  margin-top: 6px;
}


/* ===========================================
   13. PANEL
   =========================================== */
body.lk-v2 .panel {
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

body.lk-v2 .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}

body.lk-v2 .section-head h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-1);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.lk-v2 .section-head .text-muted {
  color: var(--text-muted);
  font-size: 13px;
}


/* ===========================================
   14. LOYALTY / BONUS PROGRAM
   =========================================== */
body.lk-v2 .loyalty-headline {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin: 14px 0 6px;
}

body.lk-v2 .loyalty-headline .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.lk-v2 .loyalty-sub {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 18px;
}

/* Progress bar */
body.lk-v2 .progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 99px;
  position: relative;
  overflow: visible;
}

body.lk-v2 .progress-fill {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: 99px;
  transition: width 0.6s ease;
  position: relative;
}

body.lk-v2 .progress-fill::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.32);
}

/* Progress marks */
body.lk-v2 .progress-marks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 10px;
}

body.lk-v2 .progress-mark {
  font-size: 11.5px;
  color: var(--text-3);
  text-align: center;
  position: relative;
}

body.lk-v2 .progress-mark::before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
  margin: 0 auto 6px;
}

body.lk-v2 .progress-mark.active {
  color: var(--text-2);
}

body.lk-v2 .progress-mark.active::before {
  background: var(--text-2);
}

body.lk-v2 .progress-mark.current {
  color: var(--accent-1);
  font-weight: 600;
}

body.lk-v2 .progress-mark.current::before {
  background: var(--accent-1);
}

/* Tier cards */
body.lk-v2 .tier-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 14px;
}

body.lk-v2 .tier-card {
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

body.lk-v2 .tier-card.active {
  background: linear-gradient(160deg, rgba(124, 92, 252, 0.18), rgba(181, 72, 242, 0.1));
  border-color: var(--border-strong);
}

body.lk-v2 .tier-card.locked {
  opacity: 0.55;
}

body.lk-v2 .tc-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

body.lk-v2 .tc-dot svg {
  width: 12px;
  height: 12px;
}

body.lk-v2 .tier-card[data-tier="start"] .tc-dot   { background: var(--tier-start); }
body.lk-v2 .tier-card[data-tier="silver"] .tc-dot  { background: var(--tier-silver); color: #1a1b33; }
body.lk-v2 .tier-card[data-tier="gold"] .tc-dot    { background: var(--tier-gold); color: #1a1b33; }
body.lk-v2 .tier-card[data-tier="platinum"] .tc-dot { background: var(--tier-platinum); color: #1a1b33; }
body.lk-v2 .tier-card[data-tier="diamond"] .tc-dot  { background: var(--tier-diamond); color: #1a1b33; }

body.lk-v2 .tier-card.active .tc-dot {
  background: var(--gradient-brand);
  color: #fff;
}

body.lk-v2 .tc-name {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 2px;
}

body.lk-v2 .tc-range {
  font-size: 10.5px;
  color: var(--text-3);
  margin-bottom: 4px;
}

body.lk-v2 .tc-disc {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-1);
}

body.lk-v2 .tier-card[data-tier="start"] .tc-disc   { color: var(--tier-start); }
body.lk-v2 .tier-card[data-tier="silver"] .tc-disc  { color: var(--tier-silver); }
body.lk-v2 .tier-card[data-tier="gold"] .tc-disc    { color: var(--tier-gold); }
body.lk-v2 .tier-card[data-tier="platinum"] .tc-disc { color: var(--tier-platinum); }
body.lk-v2 .tier-card[data-tier="diamond"] .tc-disc  { color: var(--tier-diamond); }

/* Loyalty CTA */
body.lk-v2 .loyalty-cta {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

/* Loyalty note */
body.lk-v2 .loyalty-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 14px;
}

body.lk-v2 .loyalty-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.6;
}


/* ===========================================
   15. DISCOUNT PANEL
   =========================================== */
body.lk-v2 .discount-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  background: linear-gradient(160deg, rgba(124, 92, 252, 0.14), rgba(181, 72, 242, 0.06));
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  margin-bottom: 16px;
}

body.lk-v2 .discount-percent {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
}

body.lk-v2 .dh-text {
  min-width: 0;
}

body.lk-v2 .dh-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
}

body.lk-v2 .dh-text span,
body.lk-v2 .dh-text p {
  font-size: 13px;
  color: var(--text-2);
  margin: 0;
}

/* Discount rows */
body.lk-v2 .discount-rows {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-2);
  overflow: hidden;
  margin-bottom: 12px;
}

body.lk-v2 .dr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--border-3);
}

body.lk-v2 .dr-row:last-child {
  border-bottom: none;
}

body.lk-v2 .dr-row .lbl {
  font-size: 13px;
  color: var(--text-3);
}

body.lk-v2 .dr-row .val {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-1);
}

/* Discount promo */
body.lk-v2 .discount-promo {
  font-size: 12.5px;
  color: var(--text-2);
  padding: 11px 13px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-3);
}


/* ===========================================
   16. HISTORY SECTION (filters)
   =========================================== */
body.lk-v2 .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

/* Search input */
body.lk-v2 .search-input {
  flex: 1;
  min-width: 240px;
  position: relative;
}

body.lk-v2 .search-input svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-3);
  pointer-events: none;
}

body.lk-v2 .search-input input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  color: var(--text-1);
  font-size: 14px;
  font-family: var(--font-body);
  min-height: 44px;
  outline: none;
  transition: border-color 0.15s;
}

body.lk-v2 .search-input input::placeholder {
  color: var(--text-muted);
}

body.lk-v2 .search-input input:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

/* Filter chip */
body.lk-v2 .filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  min-height: 40px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

body.lk-v2 .filter-chip:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  color: var(--text-1);
}

body.lk-v2 .filter-chip.active {
  background: var(--gradient-brand-soft);
  border-color: var(--border-strong);
  color: var(--text-1);
}

body.lk-v2 .filter-chip svg {
  width: 13px;
  height: 13px;
}

body.lk-v2 .desktop-only {
  /* shown by default */
}

body.lk-v2 .btn-filters-mobile {
  display: none;
}


/* ===========================================
   17. HISTORY TABLE
   =========================================== */
body.lk-v2 .history-table {
  width: 100%;
  border-collapse: collapse;
}

body.lk-v2 .history-table thead th {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-2);
}

body.lk-v2 .history-table tbody tr.row-main {
  cursor: pointer;
  transition: background 0.15s;
}

body.lk-v2 .history-table tbody tr.row-main:hover {
  background: var(--bg-row-hover);
}

body.lk-v2 .history-table tbody tr {
  border-bottom: 1px solid var(--border-3);
}

body.lk-v2 .history-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-2);
  vertical-align: middle;
}

/* Order type */
body.lk-v2 .order-type {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body.lk-v2 .order-type-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

body.lk-v2 .order-type-icon svg {
  width: 14px;
  height: 14px;
}

body.lk-v2 .order-type-icon.stars {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

body.lk-v2 .order-type-icon.premium {
  background: linear-gradient(135deg, #7c5cfc, #b548f2);
}

body.lk-v2 .order-type-info {
  min-width: 0;
}

body.lk-v2 .ot-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-1);
}

body.lk-v2 .ot-qty {
  font-size: 12px;
  color: var(--text-3);
}

/* Recipient */
body.lk-v2 .recipient {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 200px;
}

body.lk-v2 .recipient .av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5a8df7, #b548f2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

body.lk-v2 .rcn {
  font-size: 13.5px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Amount */
body.lk-v2 .amount {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
}


/* ===========================================
   18. STATUS BADGES
   =========================================== */
body.lk-v2 .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

body.lk-v2 .status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

body.lk-v2 .status.success {
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
}

body.lk-v2 .status.warn {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
}

body.lk-v2 .status.info {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
}

body.lk-v2 .status.danger {
  color: #f87171;
  background: rgba(248, 113, 113, 0.12);
}

body.lk-v2 .status.muted {
  color: #918fae;
  background: rgba(255, 255, 255, 0.04);
}

/* Status stack */
body.lk-v2 .status-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.lk-v2 .status-action {
  font-size: 12px;
  color: var(--accent-1);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
}

body.lk-v2 .status-action:hover {
  color: var(--accent-2);
}

body.lk-v2 .status-action svg {
  width: 11px;
  height: 11px;
}


/* ===========================================
   19. COMPACT CARDS (mobile order history)
   =========================================== */
body.lk-v2 .compact-cards {
  display: none;
  flex-direction: column;
  gap: 8px;
}

body.lk-v2 .compact-order {
  padding: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  cursor: pointer;
}

body.lk-v2 .compact-order .top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

body.lk-v2 .compact-order .bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-3);
  margin-top: 10px;
}

body.lk-v2 .compact-order .co-id {
  font-size: 12px;
  color: var(--text-3);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}


/* ===========================================
   20. PROFILE PANEL
   =========================================== */
body.lk-v2 .profile-header {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  align-items: flex-start;
}

body.lk-v2 .profile-name h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  margin: 0 0 2px;
}

body.lk-v2 .profile-name .uname {
  font-size: 13.5px;
  color: var(--text-2);
  display: block;
  margin-bottom: 6px;
}

body.lk-v2 .profile-sync {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
}

body.lk-v2 .profile-sync .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
  flex-shrink: 0;
}

/* Profile rows */
body.lk-v2 .profile-rows {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border-2);
}

body.lk-v2 .profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--border-3);
}

body.lk-v2 .profile-row:last-child {
  border-bottom: none;
}

body.lk-v2 .pr-label {
  font-size: 13px;
  color: var(--text-3);
}

body.lk-v2 .pr-value {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-1);
}

body.lk-v2 .pr-value.code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

/* Toggle row */
body.lk-v2 .profile-toggle-row {
  padding: 14px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--border-3);
}

body.lk-v2 .profile-toggle-row:last-child {
  border-bottom: none;
}

body.lk-v2 .profile-toggle-row .tr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

body.lk-v2 .profile-toggle-row .tr-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-1);
}

body.lk-v2 .profile-toggle-row .tr-desc {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.45;
}

/* Toggle */
body.lk-v2 .toggle {
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

body.lk-v2 .toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

body.lk-v2 .toggle.on {
  background: var(--gradient-brand);
}

body.lk-v2 .toggle.on::after {
  transform: translateX(18px);
}

/* Profile footer */
body.lk-v2 .profile-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-3);
}


/* ===========================================
   21. NOTIFICATIONS PANEL
   =========================================== */
body.lk-v2 .notif-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  padding: 3px;
  border-radius: 11px;
  margin-bottom: 14px;
}

body.lk-v2 .notif-tab {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  background: transparent;
  border: none;
  cursor: pointer;
  flex: 1;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  transition: background 0.15s, color 0.15s;
}

body.lk-v2 .notif-tab:hover {
  color: var(--text-2);
}

body.lk-v2 .notif-tab.active {
  background: rgba(124, 92, 252, 0.18);
  color: var(--text-1);
}

body.lk-v2 .nt-count {
  background: rgba(124, 92, 252, 0.4);
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-1);
}

/* Notification list */
body.lk-v2 .notif-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
}

body.lk-v2 .notif {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-2);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  position: relative;
  text-align: left;
  width: 100%;
}

body.lk-v2 .notif:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-1);
}

body.lk-v2 .notif.unread {
  background: rgba(124, 92, 252, 0.07);
  border-color: var(--border-1);
}

body.lk-v2 .notif.unread::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 6px rgba(181, 72, 242, 0.4);
}

/* Notification icon */
body.lk-v2 .notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

body.lk-v2 .notif-icon svg {
  width: 16px;
  height: 16px;
}

body.lk-v2 .notif-icon.success { background: linear-gradient(135deg, #10b981, #34d399); }
body.lk-v2 .notif-icon.info    { background: linear-gradient(135deg, #38bdf8, #5a8df7); }
body.lk-v2 .notif-icon.tier    { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
body.lk-v2 .notif-icon.brand   { background: var(--gradient-brand); }
body.lk-v2 .notif-icon.danger  { background: linear-gradient(135deg, #ef4444, #f87171); }
body.lk-v2 .notif-icon.account { background: linear-gradient(135deg, #8b5cf6, #6366f1); }

/* Notification body */
body.lk-v2 .notif-body {
  min-width: 0;
  flex: 1;
}

body.lk-v2 .notif-body .nt {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 3px;
  line-height: 1.4;
}

body.lk-v2 .notif-body .nm {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 4px;
}

body.lk-v2 .notif-action {
  font-size: 12px;
  color: var(--accent-1);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
}

body.lk-v2 .notif-action svg {
  width: 11px;
  height: 11px;
}


/* ===========================================
   22. MODAL SHELL
   =========================================== */
body.lk-v2 .modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 12, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fadein 0.18s ease;
}

body.lk-v2 .modal-backdrop.hidden {
  display: none !important;
}

body.lk-v2 .hidden {
  display: none !important;
}

body.lk-v2 .modal {
  background: var(--bg-1);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  animation: rise 0.22s ease;
  position: relative;
}

body.lk-v2 .modal.sm { max-width: 420px; }
body.lk-v2 .modal.md { max-width: 500px; }
body.lk-v2 .modal.lg { max-width: 680px; }

body.lk-v2 .modal-head {
  padding: 22px 26px 0;
  position: relative;
}

body.lk-v2 .modal-head h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-1);
  margin: 0;
  padding-right: 36px;
}

body.lk-v2 .modal-sub {
  color: var(--text-2);
  font-size: 13.5px;
  margin: 6px 0 0;
}

/* Modal steps */
body.lk-v2 .modal-steps {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

body.lk-v2 .modal-step {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

body.lk-v2 .modal-step.done::after,
body.lk-v2 .modal-step.active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  border-radius: 2px;
}

/* Modal close */
body.lk-v2 .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  z-index: 1;
}

body.lk-v2 .modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-1);
}

body.lk-v2 .modal-close svg {
  width: 16px;
  height: 16px;
}

/* Modal body */
body.lk-v2 .modal-body {
  padding: 20px 26px 26px;
}


/* ===========================================
   23. FORM COMPONENTS
   =========================================== */
body.lk-v2 .form-row {
  margin-bottom: 16px;
}

body.lk-v2 .form-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

body.lk-v2 .input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border-2);
  border-radius: 12px;
  color: var(--text-1);
  font-size: 14px;
  font-family: var(--font-body);
  min-height: 48px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

body.lk-v2 .input::placeholder {
  color: var(--text-muted);
}

body.lk-v2 .input:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

body.lk-v2 .input.has-error {
  border-color: var(--c-danger);
}

body.lk-v2 .input.has-error:focus {
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2);
}

body.lk-v2 .input-hint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 5px;
}

body.lk-v2 .input-hint.error {
  color: var(--c-danger);
}

body.lk-v2 .input-hint svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}


/* ===========================================
   24. PACKAGE GRID (Stars)
   =========================================== */
body.lk-v2 .pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

body.lk-v2 .pkg-tile {
  position: relative;
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border-2);
  border-radius: 12px;
  text-align: center;
  min-height: 70px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: border-color 0.15s, background 0.15s;
}

body.lk-v2 .pkg-tile:hover {
  border-color: var(--border-strong);
}

body.lk-v2 .pkg-tile.selected {
  border-color: var(--accent-1);
  background: var(--gradient-brand-soft);
}

body.lk-v2 .pk-badge {
  position: absolute;
  top: -7px;
  right: 8px;
  padding: 2px 7px;
  background: var(--gradient-brand);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

body.lk-v2 .pk-amt {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

body.lk-v2 .pk-amt svg {
  width: 13px;
  height: 13px;
  color: var(--c-stars);
}

body.lk-v2 .pk-price {
  font-size: 12px;
  color: var(--text-3);
}


/* ===========================================
   25. TERM GRID (Premium)
   =========================================== */
body.lk-v2 .term-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

body.lk-v2 .term-tile {
  position: relative;
  padding: 14px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border-2);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: border-color 0.15s, background 0.15s;
}

body.lk-v2 .term-tile:hover {
  border-color: var(--border-strong);
}

body.lk-v2 .term-tile.selected {
  border-color: var(--accent-1);
  background: var(--gradient-brand-soft);
}

body.lk-v2 .tt-badge {
  position: absolute;
  top: -7px;
  right: 8px;
  padding: 2px 7px;
  background: var(--gradient-brand);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

body.lk-v2 .tt-mo {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-1);
}

body.lk-v2 .tt-lbl {
  font-size: 11px;
  color: var(--text-3);
}

body.lk-v2 .tt-price {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  margin-top: 2px;
}


/* ===========================================
   26. SELF SUGGEST
   =========================================== */
body.lk-v2 .self-suggest {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  width: 100%;
  text-align: left;
}

body.lk-v2 .self-suggest:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-1);
}

body.lk-v2 .ss-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5a8df7, #b548f2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

body.lk-v2 .ss-info {
  flex: 1;
  min-width: 0;
}

body.lk-v2 .ss-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-1);
}

body.lk-v2 .ss-username {
  font-size: 13px;
  color: var(--text-3);
}

body.lk-v2 .ss-hint {
  font-size: 11.5px;
  color: var(--text-3);
  padding: 4px 10px;
  background: var(--gradient-brand-soft);
  border: 1px solid var(--border-1);
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}


/* ===========================================
   27. PRICE SUMMARY
   =========================================== */
body.lk-v2 .price-summary {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-2);
}

body.lk-v2 .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-2);
}

body.lk-v2 .price-row .lbl {
  color: var(--text-3);
}

body.lk-v2 .price-row .amount {
  font-size: 14px;
  font-weight: 600;
}

body.lk-v2 .price-row.discount {
  color: var(--c-success);
}

body.lk-v2 .price-row.discount .lbl {
  color: var(--c-success);
}

body.lk-v2 .price-row.total {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-2);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-1);
}

body.lk-v2 .price-row.total .lbl {
  color: var(--text-1);
  font-weight: 600;
}


/* ===========================================
   28. CONFIRM RECIPIENT
   =========================================== */
body.lk-v2 .confirm-recipient {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-2);
  margin-bottom: 12px;
}

body.lk-v2 .confirm-recipient .ci {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #5a8df7, #b548f2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

body.lk-v2 .confirm-recipient .info .name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-1);
}

body.lk-v2 .confirm-recipient .info .sub {
  font-size: 12px;
  color: var(--text-3);
}


/* ===========================================
   29. CONFIRM CARD
   =========================================== */
body.lk-v2 .confirm-card {
  padding: 16px;
  border-radius: var(--r-md);
  background: rgba(124, 92, 252, 0.05);
  border: 1px solid var(--border-1);
}

body.lk-v2 .cc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
}

body.lk-v2 .cc-row .lbl {
  font-size: 13px;
  color: var(--text-3);
}

body.lk-v2 .cc-row .val {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-1);
}


/* ===========================================
   30. PAYMENT METHODS
   =========================================== */
body.lk-v2 .payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

body.lk-v2 .payment-method {
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border-2);
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  transition: border-color 0.15s, background 0.15s;
}

body.lk-v2 .payment-method:hover {
  border-color: var(--border-strong);
}

body.lk-v2 .payment-method.selected,
body.lk-v2 .payment-method.border-primary {
  border-color: var(--accent-1);
  background: var(--gradient-brand-soft);
  color: var(--text-1);
}

body.lk-v2 .payment-method svg {
  width: 18px;
  height: 18px;
}


/* ===========================================
   31. MODAL ALERT
   =========================================== */
body.lk-v2 .modal-alert {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 14px;
}

body.lk-v2 .modal-alert svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

body.lk-v2 .modal-alert.warn {
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.22);
  color: var(--c-warn);
}

body.lk-v2 .modal-alert.info {
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: var(--c-info);
}

body.lk-v2 .modal-alert.danger {
  background: rgba(248, 113, 113, 0.06);
  border: 1px solid rgba(248, 113, 113, 0.22);
  color: var(--c-danger);
}


/* ===========================================
   32. MODAL SAFE NOTE
   =========================================== */
body.lk-v2 .modal-safe-note {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-3);
  line-height: 1.5;
}

body.lk-v2 .modal-safe-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--text-muted);
}


/* ===========================================
   33. TIMELINE
   =========================================== */
body.lk-v2 .timeline {
  display: flex;
  flex-direction: column;
  padding-left: 4px;
}

body.lk-v2 .timeline-step {
  display: flex;
  gap: 14px;
  padding: 6px 0;
  position: relative;
}

/* Vertical line between dots */
body.lk-v2 .timeline-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 28px;
  bottom: -6px;
  width: 2px;
  background: var(--border-2);
}

body.lk-v2 .timeline-step.done:not(:last-child)::before {
  background: var(--c-success);
  opacity: 0.3;
}

/* Timeline dot */
body.lk-v2 .timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border-2);
  color: var(--text-muted);
  font-size: 10px;
}

body.lk-v2 .timeline-dot svg {
  width: 12px;
  height: 12px;
}

body.lk-v2 .timeline-step.done .timeline-dot {
  background: var(--c-success);
  border-color: var(--c-success);
  color: #fff;
}

body.lk-v2 .timeline-step.current .timeline-dot {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(124, 92, 252, 0.2);
  position: relative;
}

body.lk-v2 .timeline-step.current .timeline-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent-1);
  animation: pulse 1.6s ease-out infinite;
}

/* Timeline text */
body.lk-v2 .timeline-text {
  min-width: 0;
}

body.lk-v2 .ts-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-1);
}

body.lk-v2 .ts-time {
  font-size: 11.5px;
  color: var(--text-3);
}


/* ===========================================
   34. ORDER DETAIL GRID
   =========================================== */
body.lk-v2 .order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

body.lk-v2 .detail-list {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  border: 1px solid var(--border-2);
  overflow: hidden;
}

body.lk-v2 .dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--border-3);
}

body.lk-v2 .dl-row:last-child {
  border-bottom: none;
}

body.lk-v2 .dl-row .lbl {
  font-size: 12.5px;
  color: var(--text-3);
}

body.lk-v2 .dl-row .val {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
}

body.lk-v2 .dl-row .val.mono {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}


/* ===========================================
   35. TOAST
   =========================================== */
body.lk-v2 .toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 12px 18px;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  font-size: 14px;
  box-shadow: 0 14px 36px -12px rgba(0, 0, 0, 0.5);
  animation: toastIn 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--text-1);
}

body.lk-v2 .toast svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

body.lk-v2 .toast.success {
  color: var(--c-success);
  border-color: rgba(52, 211, 153, 0.4);
}

body.lk-v2 .toast.error {
  color: var(--c-danger);
  border-color: rgba(248, 113, 113, 0.4);
}


/* ===========================================
   36. BOTTOM SHEET
   =========================================== */
body.lk-v2 .bottom-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 5, 12, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  animation: fadein 0.18s ease;
}

body.lk-v2 .bottom-sheet {
  width: 100%;
  background: var(--bg-1);
  border-top: 1px solid var(--border-1);
  border-radius: 24px 24px 0 0;
  padding: 8px 18px 28px;
  max-height: 85vh;
  overflow-y: auto;
  animation: sheetUp 0.25s ease;
}

body.lk-v2 .handle {
  width: 38px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 auto 12px;
}

body.lk-v2 .bs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

body.lk-v2 .bs-head h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-1);
  margin: 0;
}

body.lk-v2 .bs-section {
  margin-bottom: 18px;
}

body.lk-v2 .bs-section-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 8px;
}

body.lk-v2 .bs-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}


/* ===========================================
   37. MOBILE BOTTOM NAV
   =========================================== */
body.lk-v2 .mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(10, 10, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-2);
  padding: 6px 6px 14px;
}

body.lk-v2 .mbn-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  max-width: 480px;
  margin: 0 auto;
}

body.lk-v2 .mbn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 10px;
  font-size: 10.5px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  min-height: 52px;
  cursor: pointer;
  background: none;
  border: none;
}

body.lk-v2 .mbn-item svg {
  width: 22px;
  height: 22px;
}

body.lk-v2 .mbn-item.active {
  color: var(--text-1);
  background: var(--gradient-brand-soft);
}


/* ===========================================
   38. STICKY BUY BUTTON
   =========================================== */
body.lk-v2 .sticky-buy {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 39;
}

body.lk-v2 .sticky-buy .btn {
  width: 100%;
  padding: 14px;
  box-shadow: var(--shadow-glow);
}


/* ===========================================
   39. BUTTON SYSTEM
   =========================================== */
body.lk-v2 .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
  min-height: 44px;
  text-decoration: none;
  line-height: 1.3;
}

body.lk-v2 .btn:active {
  transform: scale(0.97);
}

body.lk-v2 .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

body.lk-v2 .btn:disabled:active {
  transform: none;
}

/* Primary */
body.lk-v2 .btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-glow-soft);
}

body.lk-v2 .btn-primary:hover {
  box-shadow: var(--shadow-glow);
}

/* Ghost */
body.lk-v2 .btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-2);
  color: var(--text-1);
}

body.lk-v2 .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-strong);
}

/* Outline */
body.lk-v2 .btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-1);
}

body.lk-v2 .btn-outline:hover {
  background: rgba(124, 92, 252, 0.08);
}

/* Quiet */
body.lk-v2 .btn-quiet {
  background: transparent;
  border: none;
  color: var(--text-2);
  padding: 8px 4px;
  min-height: 0;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
}

body.lk-v2 .btn-quiet:hover {
  color: var(--text-1);
}

/* Danger quiet */
body.lk-v2 .btn-danger-quiet {
  background: transparent;
  border: none;
  color: var(--c-danger);
  padding: 8px 4px;
  min-height: 0;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.lk-v2 .btn-danger-quiet:hover {
  opacity: 0.8;
}

body.lk-v2 .btn-danger-quiet svg {
  width: 14px;
  height: 14px;
}

/* Size variants */
body.lk-v2 .btn-lg {
  padding: 15px 24px;
  min-height: 50px;
}

body.lk-v2 .btn-sm {
  padding: 7px 12px;
  min-height: 34px;
  font-size: 13px;
}

body.lk-v2 .btn-block {
  width: 100%;
}

body.lk-v2 .btn svg {
  flex-shrink: 0;
}


/* ===========================================
   40. SPINNER
   =========================================== */
body.lk-v2 .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}


/* ===========================================
   41. EMPTY STATES
   =========================================== */
body.lk-v2 .empty-state {
  text-align: center;
  padding: 50px 20px;
}

body.lk-v2 .empty-state .ei {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--gradient-brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--accent-1);
}

body.lk-v2 .empty-state .ei svg {
  width: 28px;
  height: 28px;
}

body.lk-v2 .empty-state h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  margin: 0 0 8px;
}

body.lk-v2 .empty-state p {
  font-size: 13.5px;
  color: var(--text-3);
  margin: 0 0 18px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

body.lk-v2 .empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}


/* ===========================================
   42. ERROR STATES
   =========================================== */
body.lk-v2 .error-state {
  text-align: center;
  padding: 40px 20px;
}

body.lk-v2 .error-state .ei {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--c-danger-bg);
  border: 1px solid rgba(248, 113, 113, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--c-danger);
}

body.lk-v2 .error-state .ei svg {
  width: 28px;
  height: 28px;
}

body.lk-v2 .error-state h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  margin: 0 0 8px;
}

body.lk-v2 .error-state p {
  font-size: 13.5px;
  color: var(--text-3);
  margin: 0 0 18px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Error illustration (in modals) */
body.lk-v2 .error-illustration {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--c-danger-bg);
  border: 1px solid rgba(248, 113, 113, 0.3);
  display: grid;
  place-items: center;
  color: var(--c-danger);
  margin: 0 auto 16px;
}

body.lk-v2 .error-illustration svg {
  width: 28px;
  height: 28px;
}


/* ===========================================
   43. TAG
   =========================================== */
body.lk-v2 .tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: var(--gradient-brand-soft);
  color: var(--accent-1);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}


/* ===========================================
   44. UTILITY
   =========================================== */
body.lk-v2 .text-muted {
  color: var(--text-muted);
}

body.lk-v2 .text-sm {
  font-size: 13px;
}

body.lk-v2 .mono {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

body.lk-v2 .code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}


/* ===========================================
   45. SKELETON LOADING
   =========================================== */
body.lk-v2 .skeleton {
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: var(--r-sm);
  height: 14px;
}

body.lk-v2 .skel-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  border-bottom: 1px solid var(--border-3);
}


/* ===========================================
   46-53. POPUP OVERLAY RESTYLING
   =========================================== */

/* Hidden state for popup overlays (must be above display rules for ID specificity) */
body.lk-v2 #starsPopupOverlay.hidden,
body.lk-v2 #premiumPopupOverlay.hidden {
  display: none !important;
}

/* Stars Popup Overlay */
body.lk-v2 #starsPopupOverlay:not(.hidden) {
  background: rgba(5, 5, 12, 0.7) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid !important;
  place-items: center;
  padding: 20px;
}

body.lk-v2 #starsPopupOverlay > .w-full,
body.lk-v2 #starsPopupOverlay > div:first-child {
  max-width: 500px;
  width: 100%;
  background: var(--bg-1) !important;
  border: 1px solid var(--border-1) !important;
  border-radius: var(--r-xl) !important;
  box-shadow: var(--shadow-card) !important;
  animation: rise 0.22s ease;
  max-height: 92vh;
  overflow-y: auto;
}

/* Premium Popup Overlay */
body.lk-v2 #premiumPopupOverlay:not(.hidden) {
  background: rgba(5, 5, 12, 0.7) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid !important;
  place-items: center;
  padding: 20px;
}

body.lk-v2 #premiumPopupOverlay > .w-full,
body.lk-v2 #premiumPopupOverlay > div:first-child {
  max-width: 500px;
  width: 100%;
  background: var(--bg-1) !important;
  border: 1px solid var(--border-1) !important;
  border-radius: var(--r-xl) !important;
  box-shadow: var(--shadow-card) !important;
  animation: rise 0.22s ease;
  max-height: 92vh;
  overflow-y: auto;
}

/* Select items as grid */
body.lk-v2 .select-items {
  position: static !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Premium dropdown — hide trigger button, show items as grid */
body.lk-v2 #premiumDropdownButton {
  display: none !important;
}

body.lk-v2 #premiumDropdownMenu {
  position: static !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

body.lk-v2 .select-selected {
  display: none !important;
}

/* Select items as tiles */
body.lk-v2 .select-item:not(.custom-input) {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70px;
  padding: 14px 10px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1.5px solid var(--border-2) !important;
  border-radius: 12px !important;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  color: var(--text-1) !important;
  font-family: var(--font-display);
  font-weight: 700;
}

body.lk-v2 .select-item:not(.custom-input):hover {
  border-color: var(--border-strong) !important;
}

/* Selected state via Tailwind bg class */
body.lk-v2 .select-item.bg-\[\#1A1A2E\],
body.lk-v2 .select-item.same-as-selected,
body.lk-v2 .select-item.selected {
  border-color: var(--accent-1) !important;
  background: var(--gradient-brand-soft) !important;
}

/* Override Tailwind background/border colors inside popups for new design */
body.lk-v2 #starsPopupOverlay .bg-\[\#1A1A2E\],
body.lk-v2 #premiumPopupOverlay .bg-\[\#1A1A2E\],
body.lk-v2 #premiumPopupOverlay .premium-popup-card {
  background: var(--bg-1) !important;
  border-color: var(--border-1) !important;
  border-radius: var(--r-xl) !important;
  box-shadow: var(--shadow-card) !important;
}

body.lk-v2 #starsPopupOverlay .bg-\[\#0F0F1A\],
body.lk-v2 #premiumPopupOverlay .bg-\[\#0F0F1A\] {
  background: rgba(255, 255, 255, 0.03) !important;
}

body.lk-v2 #starsPopupOverlay .border-\[\#2D2D3A\],
body.lk-v2 #premiumPopupOverlay .border-\[\#2D2D3A\] {
  border-color: var(--border-2) !important;
}

body.lk-v2 #starsPopupOverlay label,
body.lk-v2 #premiumPopupOverlay label {
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text-2) !important;
}

/* Payment method restyling in popup context */
body.lk-v2 .payment-method {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1.5px solid var(--border-2) !important;
  border-radius: 12px !important;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

body.lk-v2 .payment-method:hover {
  border-color: var(--border-strong) !important;
}

body.lk-v2 .payment-method.border-primary {
  border-color: var(--accent-1) !important;
  background: var(--gradient-brand-soft) !important;
}

/* Popup close buttons */
body.lk-v2 #closeStarsPopup,
body.lk-v2 #closePremiumPopup {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--border-2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--text-3) !important;
  cursor: pointer;
  padding: 0 !important;
  transition: background 0.15s, color 0.15s;
  z-index: 1;
}

body.lk-v2 #closeStarsPopup:hover,
body.lk-v2 #closePremiumPopup:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--text-1) !important;
}

/* Popup titles */
body.lk-v2 #starsPopupOverlay h3,
body.lk-v2 #premiumPopupOverlay h3 {
  font-family: var(--font-display) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--text-1) !important;
  margin: 0 !important;
}

/* Popup inputs */
body.lk-v2 #starsPopupOverlay input[type="text"],
body.lk-v2 #premiumPopupOverlay input[type="text"] {
  width: 100%;
  padding: 13px 16px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1.5px solid var(--border-2) !important;
  border-radius: 12px !important;
  color: var(--text-1) !important;
  font-size: 14px !important;
  font-family: var(--font-body) !important;
  min-height: 48px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

body.lk-v2 #starsPopupOverlay input[type="text"]:focus,
body.lk-v2 #premiumPopupOverlay input[type="text"]:focus {
  border-color: var(--accent-1) !important;
  box-shadow: 0 0 0 3px var(--focus-ring) !important;
}

body.lk-v2 #starsPopupOverlay input[type="text"]::placeholder,
body.lk-v2 #premiumPopupOverlay input[type="text"]::placeholder {
  color: var(--text-muted) !important;
}

/* Buy button inside popups */
body.lk-v2 #buyNowButton,
body.lk-v2 #buyPremiumButton {
  background: var(--gradient-brand) !important;
  border: none !important;
  border-radius: 14px !important;
  padding: 16px 24px !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #fff !important;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}

body.lk-v2 #buyNowButton:hover,
body.lk-v2 #buyPremiumButton:hover {
  opacity: 0.9;
}

/* Price display in popups */
body.lk-v2 #totalPrice,
body.lk-v2 #premiumTotalPrice {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  color: var(--text-1) !important;
}

/* Report button in popups */
body.lk-v2 #reportPaymentIssueButton,
body.lk-v2 #reportPremiumPaymentIssueButton {
  background: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  border-radius: 10px !important;
  color: #fca5a5 !important;
  font-size: 11px !important;
}

/* Legal text in popups */
body.lk-v2 #starsPopupOverlay .text-gray-400,
body.lk-v2 #premiumPopupOverlay .text-gray-400 {
  color: var(--text-3) !important;
}

body.lk-v2 #starsPopupOverlay .text-primary,
body.lk-v2 #premiumPopupOverlay .text-primary {
  color: var(--accent-1) !important;
}

/* Number input in stars popup */
body.lk-v2 #customStarsInput {
  width: 100%;
  padding: 10px 12px !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1.5px solid var(--border-2) !important;
  color: var(--text-1) !important;
  font-size: 14px !important;
  outline: none;
}

body.lk-v2 #customStarsInput:focus {
  border-bottom-color: var(--accent-1) !important;
}

/* Telegram profile preview in popups */
body.lk-v2 .telegramProfilePreview {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border-2) !important;
  border-radius: 12px !important;
}

/* Card warning overlay in popup */
body.lk-v2 #cardWarningOverlay {
  background: rgba(10, 10, 20, 0.95) !important;
  border: 1px solid var(--border-1) !important;
  border-radius: var(--r-xl) !important;
}


/* ===========================================
   FADE-UP ANIMATION CLASSES
   =========================================== */
body.lk-v2 .fade-up {
  animation: fadeUp 0.5s ease both;
}

body.lk-v2 .delay-1 { animation-delay: 0.04s; }
body.lk-v2 .delay-2 { animation-delay: 0.08s; }
body.lk-v2 .delay-3 { animation-delay: 0.12s; }
body.lk-v2 .delay-4 { animation-delay: 0.16s; }
body.lk-v2 .delay-5 { animation-delay: 0.20s; }


/* ===========================================
   STATE DEMO PANEL (dev tool)
   =========================================== */
body.lk-v2 .state-demo-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-glow);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s;
}

body.lk-v2 .state-demo-fab:hover {
  transform: scale(1.05);
}

body.lk-v2 .state-demo-fab svg {
  width: 20px;
  height: 20px;
}

body.lk-v2 .state-demo-panel {
  position: fixed;
  bottom: 84px;
  right: 24px;
  z-index: 60;
  width: 280px;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--shadow-card);
}

body.lk-v2 .state-demo-panel h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.lk-v2 .state-demo-panel .sub {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 12px;
}

body.lk-v2 .demo-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.lk-v2 .demo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  font-size: 12.5px;
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
  text-align: left;
}

body.lk-v2 .demo-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

body.lk-v2 .demo-item.active {
  background: rgba(124, 92, 252, 0.12);
  border-color: var(--border-strong);
  color: var(--text-1);
}

body.lk-v2 .demo-item .ico {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(124, 92, 252, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-1);
  flex-shrink: 0;
}

body.lk-v2 .demo-item .ico svg {
  width: 12px;
  height: 12px;
}


/* ===========================================
   REVIEWS BADGE
   =========================================== */
body.lk-v2 .reviews-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-card-2);
  border: 1px solid var(--border-3);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-2);
  margin-top: 12px;
}

body.lk-v2 .reviews-badge a {
  color: var(--accent-1);
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.lk-v2 .reviews-badge a:hover {
  color: var(--accent-2);
}


/* ===========================================
   PROMO CARDS
   =========================================== */
body.lk-v2 .promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

body.lk-v2 .promo-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-2);
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

body.lk-v2 .promo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-soft);
}

body.lk-v2 .promo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

body.lk-v2 .promo-card .promo-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

body.lk-v2 .promo-card .promo-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

body.lk-v2 .promo-card .promo-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}


/* ===========================================
   ACCORDION TOGGLE (legacy bonus header)
   =========================================== */
body.lk-v2 .bonus-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

body.lk-v2 .bonus-toggle i,
body.lk-v2 .bonus-toggle .bonus-arrow {
  transition: transform 0.25s;
  color: var(--text-muted);
  font-size: 18px;
}

body.lk-v2 .bonus-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-card-2);
  border: 1px solid var(--border-3);
  border-radius: var(--r-md);
  margin-bottom: 6px;
}

body.lk-v2 .bonus-row-label {
  font-size: 13px;
  color: var(--text-3);
}

body.lk-v2 .bonus-row-value {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
}


/* =========================================================
   RESPONSIVE — 1100px
   ========================================================= */
@media (max-width: 1100px) {
  body.lk-v2 .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.lk-v2 .tier-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  body.lk-v2 .order-detail-grid {
    grid-template-columns: 1fr;
  }

  body.lk-v2 .nav {
    display: none;
  }

  body.lk-v2 .profile-chip .username {
    display: none;
  }

  body.lk-v2 .profile-chip {
    padding: 4px;
  }
}


/* =========================================================
   RESPONSIVE — 768px
   ========================================================= */
@media (max-width: 768px) {
  body.lk-v2 {
    padding-bottom: 80px;
  }

  /* Container */
  body.lk-v2 .lk-container {
    padding: 0 16px;
  }

  /* Header */
  body.lk-v2 .header-inner {
    gap: 12px;
    padding: 10px 0;
  }

  body.lk-v2 .nav {
    display: none;
  }

  body.lk-v2 .lang-switch {
    display: none;
  }

  body.lk-v2 .profile-chip .username {
    display: none;
  }

  body.lk-v2 .profile-chip {
    padding: 4px;
  }

  body.lk-v2 .divider-v {
    display: none;
  }

  /* Welcome block */
  body.lk-v2 .welcome-block {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 14px;
  }

  body.lk-v2 .welcome-block .avatar.xl {
    width: 56px;
    height: 56px;
    font-size: 22px;
    border-radius: 16px;
  }

  body.lk-v2 .welcome-hi h1 {
    font-size: 22px;
  }

  /* CTA grid */
  body.lk-v2 .cta-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.lk-v2 .cta-card {
    padding: 14px 16px;
    min-height: 0;
  }

  /* Stats grid */
  body.lk-v2 .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  body.lk-v2 .stat-card {
    padding: 16px;
  }

  body.lk-v2 .stat-value,
  body.lk-v2 p.stat-value {
    font-size: 22px;
  }

  /* Tier cards — horizontal strip */
  body.lk-v2 .tier-cards {
    grid-template-columns: repeat(5, minmax(96px, 1fr));
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.lk-v2 .tc-range {
    display: none;
  }

  body.lk-v2 .tier-card {
    padding: 10px 6px;
  }

  /* History table hidden, compact shown */
  body.lk-v2 .history-table {
    display: none;
  }

  body.lk-v2 .compact-cards {
    display: flex;
  }

  /* Mobile nav hidden */
  body.lk-v2 .mobile-bottom-nav {
    display: none;
  }

  /* Sticky buy shown */
  body.lk-v2 .sticky-buy {
    display: block;
  }

  /* Panel */
  body.lk-v2 .panel {
    padding: 18px;
  }

  /* Package grid */
  body.lk-v2 .pkg-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Term grid stays 3 columns */
  body.lk-v2 .term-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Modals */
  body.lk-v2 .modal-head {
    padding: 18px 20px 0;
  }

  body.lk-v2 .modal-body {
    padding: 16px 20px 20px;
  }

  body.lk-v2 .modal.lg {
    max-width: 100%;
  }

  /* Progress marks hidden */
  body.lk-v2 .progress-marks {
    display: none;
  }

  /* Desktop-only hidden */
  body.lk-v2 .desktop-only {
    display: none;
  }

  /* Mobile filter button shown */
  body.lk-v2 .btn-filters-mobile {
    display: inline-flex;
  }

  /* Search input full width */
  body.lk-v2 .search-input {
    min-width: 100%;
  }

  /* Loyalty headline */
  body.lk-v2 .loyalty-headline {
    font-size: 19px;
  }

  /* Discount percent */
  body.lk-v2 .discount-percent {
    font-size: 48px;
  }

  /* Promo grid */
  body.lk-v2 .promo-grid {
    grid-template-columns: 1fr;
  }

  /* Toast position */
  body.lk-v2 .toast {
    bottom: 150px;
  }

  /* State demo FAB */
  body.lk-v2 .state-demo-fab {
    bottom: 90px;
    right: 16px;
  }

  body.lk-v2 .state-demo-panel {
    bottom: 150px;
    right: 16px;
  }

  /* Select items in popup: 2 columns on mobile */
  body.lk-v2 .select-items {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}


/* =========================================================
   RESPONSIVE — 420px (small phones)
   ========================================================= */
@media (max-width: 420px) {
  body.lk-v2 .tier-cards {
    grid-template-columns: repeat(5, minmax(72px, 1fr));
    gap: 4px;
  }

  body.lk-v2 .tc-name {
    font-size: 11px;
  }

  body.lk-v2 .tc-disc {
    font-size: 12px;
  }

  body.lk-v2 .welcome-hi h1 {
    font-size: 20px;
  }

  body.lk-v2 .stat-value,
  body.lk-v2 p.stat-value {
    font-size: 20px;
  }

  body.lk-v2 .discount-hero {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  body.lk-v2 .payment-methods {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
}

/* Fix: pay button overflow in popup confirmation step */
body.lk-v2 #starsPayBtn,
body.lk-v2 #premPayBtn {
  min-width: 0;
  white-space: normal;
  text-align: center;
}
