@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Chakra+Petch:wght@500;600;700;800&family=Montserrat:wght@600;700;800;900&family=Orbitron:wght@600;700;800;900&family=Rajdhani:wght@600;700;800&family=Syne:wght@700;800&display=swap');

:root {
  /* HIGH-END GAMING / CYBERPUNK CUSTOM FONT PAIRING */
  --font-brand: 'Orbitron', 'Chakra Petch', sans-serif;
  --font-display: 'Syne', 'Montserrat', sans-serif;
  --font-body: 'Be Vietnam Pro', sans-serif;
  --font-mono: 'Rajdhani', 'Chakra Petch', monospace;

  --neon-pink: #ff2d87;
  --neon-magenta: #d946ef;
  --neon-purple: #9333ea;
  --neon-cyan: #00f2fe;
  --neon-gold: #fbbf24;
  --neon-green: #10b981;
  --neon-red: #ef4444;

  /* ULTRA-CLEAN OBSIDIAN CRYSTAL LIQUID GLASS */
  --liquid-glass-bg: linear-gradient(135deg, rgba(15, 23, 42, 0.78) 0%, rgba(2, 6, 23, 0.84) 100%);
  --liquid-glass-card: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(2, 6, 23, 0.88) 100%);
  --liquid-glass-input: rgba(0, 0, 0, 0.45);

  --liquid-border: rgba(255, 255, 255, 0.12);
  --liquid-border-highlight: rgba(255, 255, 255, 0.28);
  --liquid-border-pink: rgba(56, 189, 248, 0.45);

  --liquid-shadow-deep:
    0 16px 36px -8px rgba(0, 0, 0, 0.55),
    0 0 16px rgba(255, 255, 255, 0.02),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.35);

  --liquid-shadow-hover:
    0 22px 48px -6px rgba(0, 0, 0, 0.65),
    0 0 24px rgba(56, 189, 248, 0.25),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.45);

  /* Silky smooth crisp blur */
  --blur-crystal: blur(16px) saturate(170%);
  --blur-input: blur(8px);
  --bg-elevated: rgba(255, 255, 255, 0.06);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

body {
  font-family: var(--font-body);
  background-color: #0b071a;
  background-image: url('/images/bg-pc.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: scroll;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   PC WEB EXPERIENCE (DESKTOP ANIME WALLPAPER SCROLLING)
   ========================================================================== */
body.is-pc {
  background-color: #0b071a !important;
  background-image: url('/images/bg-pc.jpg') !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: cover !important;
  background-attachment: scroll !important;
}

body.is-pc .mobile-bg-fixed {
  display: none !important;
}

body.is-pc .navbar {
  display: flex !important;
}

body.is-pc .mobile-top-bar,
body.is-pc .mobile-bottom-dock,
body.is-pc .mobile-only {
  display: none !important;
}

body.is-pc .pc-only {
  display: block !important;
}

body.is-pc .auth-hero-showcase {
  display: flex !important;
}

body.is-pc .auth-split-layout {
  display: grid !important;
  grid-template-columns: 460px 1fr !important;
  max-width: 1080px !important;
  gap: 48px !important;
  align-items: center !important;
}

/* ==========================================================================
   MOBILE WEB EXPERIENCE (FIXED CAPYBARA WALLPAPER & INDEPENDENT CONTENT SCROLL)
   ========================================================================== */
.mobile-bg-fixed {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bg-fixed {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #080512 url('/images/bg-mobile.jpg') no-repeat center center !important;
    background-size: cover !important;
    pointer-events: none !important;
    z-index: -9999 !important;
  }

  body:not(.is-pc) {
    background-color: #080512 !important;
    background-image: url('/images/bg-mobile.jpg') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
  }
}

body.is-mobile .mobile-bg-fixed {
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #080512 url('/images/bg-mobile.jpg') no-repeat center center !important;
  background-size: cover !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}

body.is-mobile {
  background-color: #080512 !important;
  background-image: url('/images/bg-mobile.jpg') !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  background-attachment: fixed !important;
  padding-bottom: 120px !important;
}

body.is-mobile .navbar {
  display: none !important;
}

body.is-mobile .mobile-top-bar {
  display: flex !important;
}

body.is-mobile .mobile-bottom-dock {
  display: grid !important;
}

body.is-mobile .pc-only {
  display: none !important;
}

body.is-mobile .mobile-only {
  display: block !important;
}

body.is-mobile .auth-page {
  padding: 20px 14px 40px !important;
  align-items: center !important;
  justify-content: center !important;
}

body.is-mobile .auth-split-layout {
  display: flex !important;
  flex-direction: column !important;
  max-width: 440px !important;
  width: 100% !important;
  gap: 16px !important;
  margin: 0 auto !important;
}

body.is-mobile .auth-panel-glass {
  padding: 28px 20px !important;
  border-radius: 20px !important;
  width: 100% !important;
}

body.is-mobile .auth-hero-showcase {
  display: none !important;
}

/* Remove fixed moving orbs that muddy up the background and follow scrolling */
body::before,
body::after {
  display: none !important;
}

@keyframes ambientFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(40px, 30px) scale(1.12);
  }
}

.navbar,
.container,
.auth-page,
.modal-overlay {
  position: relative;
  z-index: 1;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: #fff;
  text-shadow: 0 0 16px var(--neon-cyan);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1220px;
  margin: 18px auto 0;
  width: calc(100% - 48px);
  padding: 12px 28px;
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--blur-crystal);
  border: 1px solid var(--liquid-border);
  border-top: 1px solid var(--liquid-border-highlight);
  border-radius: var(--radius-pill);
  box-shadow: var(--liquid-shadow-deep);
  position: sticky;
  top: 18px;
  z-index: 100;
}

.nav-brand {
  font-family: var(--font-brand);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 45, 135, 0.7);
}

.nav-brand-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-brand-img:hover {
  transform: scale(1.06);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.7);
}

.nav-brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(255, 45, 135, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.nav-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.8px;
  padding: 3px 9px;
  background: rgba(255, 45, 135, 0.2);
  border: 1px solid rgba(255, 45, 135, 0.5);
  border-radius: var(--radius-pill);
  color: #ff99cc;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 6px;
  background: rgba(10, 6, 18, 0.4);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--liquid-border);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.nav-item {
  font-family: var(--font-body);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  transition: var(--transition-smooth);
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(255, 45, 135, 0.35), rgba(147, 51, 234, 0.35));
  color: #fff;
  border: 1px solid rgba(255, 45, 135, 0.6);
  box-shadow: 0 4px 16px rgba(255, 45, 135, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notif-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: var(--blur-crystal);
  border: 1px solid var(--liquid-border);
  border-top: 1px solid var(--liquid-border-highlight);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.notif-btn:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 0 18px rgba(255, 45, 135, 0.5);
  transform: translateY(-2px);
}

.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: linear-gradient(135deg, var(--neon-pink), #ef4444);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #080511;
  box-shadow: 0 0 8px rgba(255, 45, 135, 0.8);
}

.user-balance-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #34d399;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-logout {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  padding: 7px 15px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-logout:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: var(--neon-red);
  color: #fff;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.4);
}

.container {
  max-width: 1220px;
  margin: 32px auto;
  padding: 0 24px;
  width: 100%;
}

.hero-box {
  padding: 32px 38px;
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--blur-crystal);
  border: 1px solid var(--liquid-border);
  border-top: 1px solid var(--liquid-border-highlight);
  border-radius: var(--radius-lg);
  box-shadow: var(--liquid-shadow-deep);
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.hero-box::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 45, 135, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.3px;
  line-height: 1.35;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ffffff 40%, #ff80bf 80%, #d946ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(255, 45, 135, 0.4));
}

.hero-desc {
  font-family: var(--font-body);
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.6;
}

.hero-desc b {
  color: #fde047;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(253, 224, 71, 0.35);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.stat-card {
  background: var(--liquid-glass-card);
  backdrop-filter: var(--blur-crystal);
  border: 1px solid var(--liquid-border);
  border-top: 1px solid var(--liquid-border-highlight);
  box-shadow: var(--liquid-shadow-deep);
  padding: 20px 22px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--liquid-border-pink);
  box-shadow: var(--liquid-shadow-hover);
}

.stat-label {
  color: #94a3b8;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.stat-value {
  font-family: var(--font-brand);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.stat-value.green {
  color: #34d399;
  text-shadow: 0 0 16px rgba(52, 211, 153, 0.5);
}

.stat-value.gold {
  color: #fbbf24;
  text-shadow: 0 0 16px rgba(251, 191, 36, 0.5);
}

.stat-value.blue {
  color: var(--neon-cyan);
  text-shadow: 0 0 16px rgba(0, 242, 254, 0.5);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.card {
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--blur-crystal);
  border: 1px solid var(--liquid-border);
  border-top: 1px solid var(--liquid-border-highlight);
  box-shadow: var(--liquid-shadow-deep);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 26px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--liquid-border);
}

.card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #fff;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.pkg-card {
  background: var(--liquid-glass-card);
  backdrop-filter: var(--blur-crystal);
  border: 1px solid var(--liquid-border);
  border-top: 1px solid var(--liquid-border-highlight);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--liquid-shadow-deep);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pkg-card:hover {
  transform: translateY(-6px);
  border-color: var(--neon-pink);
  box-shadow: var(--liquid-shadow-hover);
}

.pkg-card.popular {
  border-color: rgba(255, 45, 135, 0.6);
  box-shadow: 0 16px 40px rgba(255, 45, 135, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.pkg-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-magenta));
  color: #fff;
  font-family: var(--font-brand);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 10px rgba(255, 45, 135, 0.6);
  letter-spacing: 0.5px;
}

.pkg-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.pkg-likes {
  font-family: var(--font-brand);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffffff, #ff99cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pkg-price {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--neon-gold);
  margin-bottom: 14px;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

.pkg-card p {
  flex: 1;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #cbd5e1;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  background: var(--liquid-glass-input);
  backdrop-filter: var(--blur-input);
  border: 1px solid var(--liquid-border);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-smooth);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.form-control:focus {
  border-color: var(--neon-pink);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(255, 45, 135, 0.25), 0 0 20px rgba(255, 45, 135, 0.4);
}

.form-control option {
  background: #140d25;
  color: #fff;
}

.btn-primary {
  width: 100%;
  padding: 13px 24px;
  background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-magenta) 50%, var(--neon-purple) 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.8px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 45, 135, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.6);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 45, 135, 0.65), inset 0 1px 2px rgba(255, 255, 255, 0.7);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.8);
  transform: none;
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.auth-box {
  width: 100%;
  max-width: 480px;
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--blur-crystal);
  border: 1px solid var(--liquid-border);
  border-top: 1px solid var(--liquid-border-highlight);
  box-shadow: var(--liquid-shadow-deep);
  border-radius: var(--radius-lg);
  padding: 42px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.auth-split-layout {
  width: 100%;
  max-width: 1080px;
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 48px;
  align-items: center;
}

.auth-panel-glass {
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--blur-crystal);
  border: 1px solid var(--liquid-border);
  border-top: 1px solid var(--liquid-border-highlight);
  box-shadow: var(--liquid-shadow-deep);
  border-radius: var(--radius-lg);
  padding: 42px 36px;
  position: relative;
  overflow: hidden;
}

.auth-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ff99cc;
  padding: 4px 12px;
  background: rgba(255, 45, 135, 0.16);
  border: 1px solid rgba(255, 45, 135, 0.45);
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

.auth-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.2px;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffffff 40%, #ff80bf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(255, 45, 135, 0.4));
}

.auth-subtitle {
  font-family: var(--font-body);
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 22px;
}

.auth-hero-showcase {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding-bottom: 20px;
}

.showcase-card {
  background: rgba(14, 9, 25, 0.42);
  backdrop-filter: var(--blur-crystal);
  border: 1px solid var(--liquid-border);
  border-top: 1px solid var(--liquid-border-highlight);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--liquid-shadow-deep);
  position: relative;
  overflow: hidden;
}

.showcase-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--neon-cyan);
  margin-bottom: 8px;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.showcase-features {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.feature-chip {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  color: #e2e8f0;
}

.btn-google {
  width: 100%;
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: var(--blur-input);
  border: 1px solid var(--liquid-border);
  border-top: 1px solid var(--liquid-border-highlight);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  margin-bottom: 18px;
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.google-icon {
  width: 18px;
  height: 18px;
}

.google-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: #94a3b8;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.google-divider::before,
.google-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--liquid-border);
}

.google-divider span {
  padding: 0 12px;
}

.auth-footer {
  margin-top: 20px;
  font-size: 13px;
  color: #94a3b8;
  text-align: center;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--liquid-border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

table th {
  padding: 13px 16px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94a3b8;
  background: rgba(10, 6, 18, 0.5);
  border-bottom: 1px solid var(--liquid-border);
}

table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
}

table tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.badge-success {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-pending {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-info {
  background: rgba(0, 242, 254, 0.16);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 242, 254, 0.4);
}

.qr-box {
  background: #ffffff;
  padding: 14px;
  border-radius: var(--radius-md);
  display: inline-block;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  margin-bottom: 14px;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.qr-img {
  width: 200px;
  height: 200px;
  display: block;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 2, 8, 0.75);
  backdrop-filter: blur(14px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  width: 100%;
  max-width: 520px;
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--blur-crystal);
  border: 1px solid var(--liquid-border);
  border-top: 1px solid var(--liquid-border-highlight);
  box-shadow: var(--liquid-shadow-deep);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--neon-pink);
  transform: scale(1.15);
}

.google-modal {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 18px;
  padding: 26px;
  color: #202124;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% {
    transform: scale(0.92);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.google-modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8eaed;
}

.google-modal-title {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: #202124;
}

.google-acc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 6px;
}

.google-acc-item:hover {
  background: #f1f3f4;
}

.google-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e8f0fe;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.google-acc-name {
  font-weight: 600;
  font-size: 14px;
  color: #202124;
}

.google-acc-email {
  font-size: 12px;
  color: #5f6368;
}

.notif-item {
  padding: 14px;
  background: rgba(10, 6, 18, 0.45);
  border: 1px solid var(--liquid-border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  transition: var(--transition-smooth);
}

.notif-item:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.notif-item-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--neon-pink);
  margin-bottom: 4px;
}

.notif-item-body {
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.5;
}

.notif-item-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #94a3b8;
  margin-top: 6px;
}

@media (max-width: 960px) {
  .auth-split-layout {
    grid-template-columns: 1fr;
    max-width: 460px;
    gap: 24px;
  }

  .auth-hero-showcase {
    display: none;
  }

  .navbar {
    width: calc(100% - 24px);
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 10px;
    border-radius: var(--radius-md);
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-around;
  }

  .nav-item {
    padding: 7px 10px;
    font-size: 12px;
  }

  .hero-box {
    padding: 22px 18px;
  }

  .hero-title {
    font-size: 20px;
  }

  .card {
    padding: 18px;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }
}

.security-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  opacity: 0;
  z-index: 9999999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: rgba(220, 38, 38, 0.4);
  backdrop-filter: blur(24px) saturate(220%);
  border: 1px solid rgba(239, 68, 68, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-pill);
  box-shadow: 0 16px 40px rgba(220, 38, 38, 0.5), 0 0 24px rgba(239, 68, 68, 0.4);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.security-toast.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.security-toast-icon {
  width: 26px;
  height: 26px;
  background: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 0 12px #ef4444;
  flex-shrink: 0;
}

.security-lock-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 4, 14, 0.9);
  backdrop-filter: blur(36px) saturate(200%);
  z-index: 99999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: lockScreenFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lockScreenFade {
  0% { opacity: 0; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1); }
}

.security-lock-modal {
  max-width: 520px;
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(220, 38, 38, 0.18) 50%, rgba(14, 8, 22, 0.9) 100%);
  backdrop-filter: var(--blur-crystal);
  border: 1px solid rgba(239, 68, 68, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(220, 38, 38, 0.45), 0 0 50px rgba(239, 68, 68, 0.3);
  padding: 40px 32px;
  text-align: center;
  position: relative;
}

.security-lock-icon-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  border: 2px solid rgba(239, 68, 68, 0.6);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.6);
  animation: alertPulse 1.5s infinite;
}

@keyframes alertPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 20px rgba(239, 68, 68, 0.5); }
  50% { transform: scale(1.08); box-shadow: 0 0 40px rgba(239, 68, 68, 0.9); }
  100% { transform: scale(0.95); box-shadow: 0 0 20px rgba(239, 68, 68, 0.5); }
}

.security-lock-title {
  font-family: var(--font-brand);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ff4d4f;
  margin-bottom: 12px;
  text-shadow: 0 0 16px rgba(255, 77, 79, 0.6);
}

.security-lock-msg {
  font-family: var(--font-body);
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 20px;
}

.security-lock-ip-chip {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #fca5a5;
  margin-bottom: 24px;
}

.btn-reload {
  width: 100%;
  padding: 13px 24px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.8px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.45);
  transition: var(--transition-smooth);
}

.btn-reload:hover {
  filter: brightness(1.2);
  box-shadow: 0 14px 32px rgba(239, 68, 68, 0.7);
  transform: translateY(-2px);
}

/* ========================================================
   DEDICATED MOBILE WEB APP & RESPONSIVE FORM SYSTEM
   (XÁC THỰC THIẾT BỊ PC HOẶC MOBILE & HIỂN THỊ FORM PHÙ HỢP)
   ======================================================== */

.mobile-only {
  display: none !important;
}

.pc-only {
  display: block;
}

/* 1. Mobile Sticky Top App Bar */
.mobile-top-bar {
  display: none;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(10, 16, 31, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-brand);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}

.mobile-brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
}

.mobile-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.device-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.device-mode-badge:active {
  transform: scale(0.95);
  background: rgba(56, 189, 248, 0.2);
}

.mobile-balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: #34d399;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.mobile-balance-pill:active {
  transform: scale(0.96);
  background: rgba(16, 185, 129, 0.28);
}

.mobile-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.mobile-icon-btn:active {
  transform: scale(0.94);
  background: rgba(255, 255, 255, 0.16);
}

.mobile-icon-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 5px;
  border-radius: 999px;
  border: 1.5px solid #0f172a;
}

/* 2. Mobile App Floating Bottom Navigation Dock */
.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  height: 64px;
  padding: 4px 6px;
  background: rgba(11, 19, 36, 0.90);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(56, 189, 248, 0.08);
  z-index: 99999;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
}

.dock-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px 0;
  border-radius: 14px;
  transition: var(--transition-smooth);
  position: relative;
}

.dock-tab .dock-icon {
  font-size: 18px;
  margin-bottom: 2px;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dock-tab .dock-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.dock-tab.active {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.14) !important;
}

.dock-tab.active .dock-icon {
  transform: translateY(-2px) scale(1.12);
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
}

.dock-tab.active .dock-label {
  color: #38bdf8 !important;
  font-weight: 800 !important;
}

.dock-tab.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  width: 14px;
  height: 3px;
  background: #38bdf8;
  border-radius: 999px;
  box-shadow: 0 0 8px #38bdf8;
}

/* 3. Mobile Form Components */
.input-with-action {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-action .form-control {
  padding-right: 92px;
}

.input-action-btn {
  position: absolute;
  right: 6px;
  height: 36px;
  padding: 0 12px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 10px;
  color: #38bdf8;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-smooth);
}

.input-action-btn:active {
  transform: scale(0.94);
  background: rgba(56, 189, 248, 0.35);
}

/* Quick Like Chips for Mobile Form */
.quick-chips-title {
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.quick-like-chips-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.quick-chip {
  padding: 10px 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quick-chip .chip-likes {
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.quick-chip .chip-price {
  font-size: 11px;
  color: #f59e0b;
  font-weight: 600;
}

.quick-chip:active,
.quick-chip.active {
  background: rgba(56, 189, 248, 0.2) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35) !important;
  transform: translateY(-1px);
}

.quick-chip.active .chip-likes {
  color: #38bdf8 !important;
}

/* Mobile Bank Copy Grid */
.mobile-bank-copy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0;
}

.btn-bank-copy {
  padding: 11px 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  color: #38bdf8;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.btn-bank-copy:active {
  background: rgba(56, 189, 248, 0.28);
  transform: scale(0.96);
}

/* ========================================================
   APPLY MOBILE VIEW WHEN is-mobile OR SCREEN <= 768px
   ======================================================== */
@media (max-width: 768px) {
  body:not(.is-pc) .navbar {
    display: none !important;
  }

  body:not(.is-pc) .mobile-top-bar {
    display: flex !important;
  }

  body:not(.is-pc) .mobile-bottom-dock {
    display: grid !important;
  }

  body:not(.is-pc) .mobile-only {
    display: block !important;
  }

  body:not(.is-pc) .pc-only {
    display: none !important;
  }

  body:not(.is-pc) {
    padding-bottom: 120px !important;
  }

  body:not(.is-pc) .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 14px 20px !important;
  }

  body:not(.is-pc) .card {
    background: rgba(11, 19, 36, 0.82) !important;
    backdrop-filter: blur(20px) saturate(170%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(170%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45) !important;
    padding: 18px 16px !important;
    margin-bottom: 16px !important;
  }

  body:not(.is-pc) .hero-box {
    background: rgba(11, 19, 36, 0.82) !important;
    backdrop-filter: blur(20px) saturate(170%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(170%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 20px !important;
    padding: 18px 16px !important;
    margin-bottom: 16px !important;
  }

  body:not(.is-pc) .hero-title {
    font-size: 17px !important;
    letter-spacing: 0.2px !important;
    color: #fff !important;
  }

  body:not(.is-pc) .hero-desc {
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: #cbd5e1 !important;
  }

  body:not(.is-pc) .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
  }

  body:not(.is-pc) .stat-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
  }

  body:not(.is-pc) .stat-label {
    font-size: 10px !important;
    color: #94a3b8 !important;
  }

  body:not(.is-pc) .stat-value {
    font-size: 15px !important;
  }

  body:not(.is-pc) .form-control {
    height: 48px !important;
    font-size: 16px !important;
    border-radius: 14px !important;
    background: rgba(4, 9, 20, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
  }

  body:not(.is-pc) .form-control:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.3) !important;
  }

  body:not(.is-pc) .btn-primary {
    height: 50px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border-radius: 14px !important;
    padding: 12px 18px !important;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.35) !important;
    letter-spacing: 0.5px !important;
  }

  body:not(.is-pc) .packages-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body:not(.is-pc) .pkg-card {
    background: rgba(11, 19, 36, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 18px !important;
    padding: 18px 16px !important;
  }
}

/* Force Mobile View explicitly via class */
body.is-mobile .navbar {
  display: none !important;
}

body.is-mobile .mobile-top-bar {
  display: flex !important;
}

body.is-mobile .mobile-bottom-dock {
  display: grid !important;
}

body.is-mobile .mobile-only {
  display: block !important;
}

body.is-mobile .pc-only {
  display: none !important;
}

body.is-mobile {
  padding-bottom: 120px !important;
}

body.is-mobile .container {
  width: 100% !important;
  max-width: 580px !important;
  margin: 0 auto !important;
  padding: 14px 14px 24px !important;
}

body.is-mobile .card {
  background: rgba(11, 19, 36, 0.82) !important;
  backdrop-filter: blur(20px) saturate(170%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(170%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45) !important;
  padding: 18px 16px !important;
  margin-bottom: 16px !important;
}

body.is-mobile .hero-box {
  background: rgba(11, 19, 36, 0.82) !important;
  backdrop-filter: blur(20px) saturate(170%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(170%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 20px !important;
  padding: 18px 16px !important;
  margin-bottom: 16px !important;
}

body.is-mobile .hero-title {
  font-size: 17px !important;
  color: #fff !important;
}

body.is-mobile .hero-desc {
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #cbd5e1 !important;
}

body.is-mobile .stats-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
}

body.is-mobile .stat-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
}

body.is-mobile .stat-label {
  font-size: 10px !important;
  color: #94a3b8 !important;
}

body.is-mobile .stat-value {
  font-size: 15px !important;
}

body.is-mobile .form-control {
  height: 48px !important;
  font-size: 16px !important;
  border-radius: 14px !important;
  background: rgba(4, 9, 20, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

body.is-mobile .form-control:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.3) !important;
}

body.is-mobile .btn-primary {
  height: 50px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  border-radius: 14px !important;
  padding: 12px 18px !important;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.35) !important;
  letter-spacing: 0.5px !important;
}

body.is-mobile .packages-grid {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

body.is-mobile .pkg-card {
  background: rgba(11, 19, 36, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 18px !important;
  padding: 18px 16px !important;
}


/* ==========================================================================
   AUTO BUFF LIKE SCHEDULE STYLES
   ========================================================================== */
.badge-auto {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(16, 185, 129, 0.18));
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.45);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.auto-notice-box {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #e9d5ff;
  font-size: 13px;
  line-height: 1.5;
}

.auto-days-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin: 12px 0 16px;
}

.day-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.day-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.day-chip.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.18), rgba(79, 172, 254, 0.18));
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.3);
  transform: translateY(-2px);
}

.day-chip .chip-days {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.day-chip.active .chip-days {
  color: var(--neon-cyan);
}

.day-chip .chip-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.day-chip.active .chip-sub {
  color: #93c5fd;
}

.auto-calc-box {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.auto-calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.auto-calc-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.auto-calc-label {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auto-calc-value {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
}

.profile-card-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 12px;
}

.profile-avatar-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--neon-cyan);
  background: rgba(0, 0, 0, 0.4);
  object-fit: cover;
  flex-shrink: 0;
}

.profile-details {
  flex: 1;
  min-width: 0;
}

.profile-name {
  font-size: 15px;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #cbd5e1;
}

.profile-sub span b {
  color: #fff;
}


/* ==========================================================================
   ENHANCED BALANCED LAYOUTS, DEVICE DETECTION & VIETQR SYMMETRY
   ========================================================================== */

/* Device Mode Button - Deprecated & Hidden in favor of Auto-Detection */
.device-mode-badge {
  display: none !important;
}

/* Balanced Responsive Form Grid */
.form-grid-balanced {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .form-grid-balanced {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* Device Session Information Card in Account Tab */
.device-session-card {
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(0, 0, 0, 0.18) 100%) !important;
  backdrop-filter: blur(10px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(160%) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  border-top: 1px solid rgba(16, 185, 129, 0.70) !important;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.session-left-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.session-icon-box {
  font-size: 30px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.session-text-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.session-sub-title {
  font-size: 11px;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.session-device-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.session-detail-line {
  font-size: 12px;
  color: #94a3b8;
}

.session-right-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.session-badge-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.session-status-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  border-radius: 999px;
  color: #34d399;
  font-size: 12px;
  font-weight: 700;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  display: inline-block;
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Symmetrical VietQR Topup Layout */
.topup-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .topup-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

.topup-left-col,
.topup-right-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.topup-amount-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.btn-topup-amt {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-topup-amt:hover,
.btn-topup-amt.active {
  background: linear-gradient(135deg, rgba(255, 45, 135, 0.25), rgba(168, 85, 247, 0.25));
  border-color: var(--neon-pink);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 45, 135, 0.3);
}

.topup-placeholder-card {
  height: 100%;
  min-height: 280px;
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px dashed rgba(255, 255, 255, 0.25) !important;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.placeholder-icon {
  font-size: 42px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
}

.placeholder-title {
  font-size: 15px;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.placeholder-desc {
  font-size: 13px;
  color: #94a3b8;
  max-width: 320px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.bank-summary-pill {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.6;
  width: 100%;
  max-width: 340px;
}

/* Ensure Uniform Symmetry Across Grid Cards */
.stats-grid .stat-card {
  height: 100%;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.packages-grid .pkg-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lc79-shell {
  --lc-bg: #0b101b;
  --lc-surface: #121927;
  --lc-elevated: #172033;
  --lc-border: #232e42;
  --lc-text: #f1f5f9;
  --lc-muted: #8a99b2;
  --lc-tai: #f59e0b;
  --lc-xiu: #38bdf8;
  --lc-win: #10b981;
  --lc-lose: #ef4444;
  color: var(--lc-text);
  font-family: var(--font-body);
}

.lc79-mono {
  font-family: 'Chakra Petch', var(--font-mono), monospace;
  font-variant-numeric: tabular-nums;
}

.lc79-mut { color: var(--lc-muted); font-size: 13px; }
.lc79-ok { color: var(--lc-win); }
.lc79-bad { color: var(--lc-lose); }
.lc79-tai { color: var(--lc-tai); }
.lc79-xiu { color: var(--lc-xiu); }
.lc79-err { color: var(--lc-lose); font-size: 13px; min-height: 20px; margin: 8px 0 12px; }

.lc79-auth-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: 16px;
  padding: 28px;
}

.lc79-auth-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 20px;
  border-right: 1px solid var(--lc-border);
}

.lc79-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.lc79-brand-mark {
  background: var(--lc-tai);
  color: #0b101b;
  font-weight: 900;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
}

.lc79-engine-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--lc-xiu);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 10px;
  border-radius: 6px;
}

.lc79-auth-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--lc-text);
}

.lc79-auth-desc {
  font-size: 14px;
  color: var(--lc-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.lc79-spec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lc79-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  border-left: 2px solid var(--lc-border);
}

.lc79-spec-key {
  font-size: 12px;
  font-weight: 700;
  color: var(--lc-text);
}

.lc79-spec-val {
  font-size: 13px;
  color: var(--lc-muted);
}

.lc79-auth-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lc79-form-head { margin-bottom: 18px; }
.lc79-form-head h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.lc79-form-head p { font-size: 13px; color: var(--lc-muted); }

.lc79-field { margin-bottom: 14px; }
.lc79-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--lc-muted);
  margin-bottom: 6px;
}

.lc79-input {
  width: 100%;
  background: var(--lc-bg);
  border: 1px solid var(--lc-border);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--lc-text);
  font-size: 14px;
  outline: none;
  user-select: text;
  -webkit-user-select: text;
}

.lc79-input:focus { border-color: var(--lc-xiu); }

.lc79-pass-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.lc79-pass-wrap .lc79-input { padding-right: 64px; }

.lc79-pass-toggle {
  position: absolute;
  right: 8px;
  background: var(--lc-elevated);
  border: 1px solid var(--lc-border);
  color: var(--lc-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.lc79-primary-btn {
  width: 100%;
  background: var(--lc-xiu);
  color: #0b101b;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.lc79-primary-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.lc79-secondary-btn {
  background: var(--lc-elevated);
  color: var(--lc-text);
  border: 1px solid var(--lc-border);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.lc79-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.lc79-account-strip {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lc79-avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--lc-elevated);
  border: 1px solid var(--lc-border);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--lc-tai);
}

.lc79-account-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.lc79-live-dot {
  font-size: 11px;
  font-weight: 800;
  color: var(--lc-win);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 2px 8px;
  border-radius: 999px;
}

.lc79-balance-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.lc79-balance-val {
  font-family: 'Chakra Petch', monospace;
  font-size: 16px;
  font-weight: 800;
  color: var(--lc-text);
}

.lc79-pnl-chip {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--lc-bg);
  border: 1px solid var(--lc-border);
}

.lc79-pnl-chip.win { color: var(--lc-win); }
.lc79-pnl-chip.lose { color: var(--lc-lose); }

.lc79-nav-segment {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--lc-bg);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--lc-border);
}

.lc79-seg-btn {
  background: transparent;
  border: 0;
  color: var(--lc-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.lc79-seg-btn.active {
  background: var(--lc-elevated);
  color: var(--lc-text);
}

.lc79-seg-btn.exit { color: var(--lc-lose); }

.lc79-workspace {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 16px;
  align-items: start;
}

.lc79-col-main,
.lc79-col-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lc79-panel {
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: 14px;
  padding: 20px;
}

.lc79-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.lc79-panel-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--lc-text);
}

.lc79-panel-sub {
  font-size: 13px;
  color: var(--lc-muted);
  margin-top: 2px;
}

.lc79-status-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.lc79-status-pill.running {
  background: rgba(16, 185, 129, 0.16);
  color: var(--lc-win);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.lc79-status-pill.idle {
  background: var(--lc-bg);
  color: var(--lc-muted);
  border: 1px solid var(--lc-border);
}

.lc79-signal-center {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px;
  background: var(--lc-bg);
  border: 1px solid var(--lc-border);
  border-radius: 12px;
  margin-bottom: 16px;
}

.lc79-side-orb {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1px;
}

.lc79-side-orb.tai {
  color: var(--lc-tai);
  background: rgba(245, 158, 11, 0.12);
  border: 2px solid var(--lc-tai);
}

.lc79-side-orb.xiu {
  color: var(--lc-xiu);
  background: rgba(56, 189, 248, 0.12);
  border: 2px solid var(--lc-xiu);
}

.lc79-telemetry-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lc79-tele-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lc79-tele-label { font-size: 12px; color: var(--lc-muted); }
.lc79-tele-item strong { font-size: 16px; font-weight: 800; color: var(--lc-text); }

.lc79-prob-wrap { margin-bottom: 14px; }
.lc79-prob-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.lc79-prob-track {
  height: 8px;
  background: var(--lc-xiu);
  border-radius: 999px;
  overflow: hidden;
}

.lc79-prob-fill {
  height: 100%;
  background: var(--lc-tai);
}

.lc79-status-bar {
  font-size: 13px;
  color: var(--lc-muted);
  background: var(--lc-bg);
  border: 1px solid var(--lc-border);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.lc79-auto-btn {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.lc79-auto-btn.start { background: var(--lc-win); color: #052e16; }
.lc79-auto-btn.stop { background: var(--lc-lose); color: #ffffff; }

.lc79-road-summary {
  display: flex;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}

.lc79-beads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lc79-bead {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #0b101b;
}

.lc79-bead.TAI { background: var(--lc-tai); }
.lc79-bead.XIU { background: var(--lc-xiu); }
.lc79-bead.latest { box-shadow: 0 0 0 2px #0b101b, 0 0 0 4px #ffffff; }

.lc79-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lc79-kpi-strip.four {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 16px;
}

.lc79-kpi {
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lc79-kpi span { font-size: 12px; color: var(--lc-muted); }
.lc79-kpi strong { font-size: 20px; font-weight: 800; color: var(--lc-text); }

.lc79-table-scroll {
  overflow-x: auto;
  max-height: 410px;
  overflow-y: auto;
}

.lc79-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.lc79-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--lc-muted);
  padding: 8px 6px;
  border-bottom: 1px solid var(--lc-border);
  background: var(--lc-surface);
  position: sticky;
  top: 0;
}

.lc79-table td {
  padding: 10px 6px;
  border-bottom: 1px solid rgba(35, 46, 66, 0.65);
  white-space: nowrap;
}

.lc79-side-tag {
  font-weight: 800;
  font-size: 12px;
}

.lc79-side-tag.tai { color: var(--lc-tai); }
.lc79-side-tag.xiu { color: var(--lc-xiu); }

.lc79-pat-sub {
  font-size: 12px;
  color: var(--lc-muted);
  margin-left: 6px;
}

.lc79-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.lc79-pill.win { background: rgba(16, 185, 129, 0.16); color: var(--lc-win); }
.lc79-pill.lose { background: rgba(239, 68, 68, 0.16); color: var(--lc-lose); }
.lc79-pill.wait { background: var(--lc-bg); color: var(--lc-muted); border: 1px solid var(--lc-border); }

.lc79-empty {
  text-align: center;
  color: var(--lc-muted);
  padding: 24px 8px;
}

.lc79-text-btn {
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lc79-text-btn.danger { color: var(--lc-lose); }

.lc79-log-list {
  background: var(--lc-bg);
  border: 1px solid var(--lc-border);
  border-radius: 10px;
  padding: 12px;
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lc79-log-item {
  display: flex;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(35, 46, 66, 0.5);
  padding-bottom: 6px;
}

.lc79-log-time {
  font-family: 'Chakra Petch', monospace;
  color: var(--lc-muted);
  flex-shrink: 0;
}

.lc79-log-text { color: var(--lc-text); }

.lc79-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lc79-stepper {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 8px;
}

.lc79-stepper button {
  background: var(--lc-elevated);
  border: 1px solid var(--lc-border);
  border-radius: 10px;
  color: var(--lc-text);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.lc79-stepper input { text-align: center; }

.lc79-settings-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.lc79-footer-btns {
  display: flex;
  gap: 12px;
}

.lc79-footer-btns .lc79-primary-btn { width: auto; min-width: 160px; }

@media (max-width: 900px) {
  .lc79-auth-grid,
  .lc79-workspace,
  .lc79-settings-grid {
    grid-template-columns: 1fr;
  }
  .lc79-auth-info {
    padding-right: 0;
    padding-bottom: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--lc-border);
  }
  .lc79-signal-center {
    flex-direction: column;
    text-align: center;
  }
  .lc79-telemetry-grid { width: 100%; }
  .lc79-kpi-strip.four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .lc79-auth-grid { padding: 18px; }
  .lc79-telemetry-grid { grid-template-columns: 1fr; }
  .lc79-kpi-strip { grid-template-columns: 1fr; }
  .lc79-footer-btns { width: 100%; flex-direction: column; }
  .lc79-footer-btns .lc79-primary-btn,
  .lc79-footer-btns .lc79-secondary-btn { width: 100%; }
}

.lc79-acc-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.lc79-acc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.lc79-acc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lc-bg);
  border: 1px solid var(--lc-border);
  border-radius: 8px;
  padding: 7px 12px;
  color: var(--lc-text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lc79-acc-chip.active {
  border-color: var(--lc-xiu);
  background: rgba(56, 189, 248, 0.12);
}

.lc79-acc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #475569;
}

.lc79-acc-dot.on { background: var(--lc-win); }

.lc79-acc-chip-bal {
  font-size: 12px;
  color: var(--lc-tai);
}

.lc79-acc-add {
  background: transparent;
  border: 1px dashed var(--lc-xiu);
  color: var(--lc-xiu);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lc79-acc-add.active {
  background: rgba(56, 189, 248, 0.14);
}

.lc79-auth-actions {
  display: flex;
  gap: 10px;
}

@keyframes lc79Pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

@keyframes lc79GlowTai {
  0%, 100% { box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.55), 0 12px 32px rgba(245, 158, 11, 0.16); }
  50% { box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.9), 0 16px 40px rgba(245, 158, 11, 0.28); }
}

@keyframes lc79GlowXiu {
  0%, 100% { box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.55), 0 12px 32px rgba(56, 189, 248, 0.16); }
  50% { box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.9), 0 16px 40px rgba(56, 189, 248, 0.28); }
}

.lc79-auth-stage {
  position: relative;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.45), rgba(35, 46, 66, 0.4), rgba(56, 189, 248, 0.45));
  max-width: 940px;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.lc79-auth-stage .lc79-auth-grid {
  border: 0;
  border-radius: 16px;
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.08), transparent 45%),
              radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.08), transparent 45%),
              #0e1524;
}

.lc79-preview-dice-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(8, 12, 22, 0.7);
  border: 1px solid var(--lc-border);
  border-radius: 12px;
  margin-bottom: 18px;
}

.lc79-preview-meta {
  display: flex;
  flex-direction: column;
  margin-left: 6px;
}

.lc79-preview-label { font-size: 11px; color: var(--lc-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.lc79-preview-meta strong { font-size: 13px; color: var(--lc-text); }

.lc79-pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lc-win);
  margin-right: 6px;
  animation: lc79Pulse 1.4s ease-in-out infinite;
}

.lc79-acc-count { font-size: 12px; color: var(--lc-muted); font-weight: 600; }

.lc79-table-stage {
  background: radial-gradient(ellipse at 50% 0%, rgba(16, 42, 66, 0.85) 0%, #0d1524 55%, #090e19 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.lc79-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lc79-stage-id {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.lc79-stage-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--lc-tai);
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 3px 9px;
  border-radius: 6px;
}

.lc79-stage-id strong {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.lc79-stage-pat {
  font-size: 13px;
  color: var(--lc-muted);
  padding-left: 10px;
  border-left: 1px solid var(--lc-border);
}

.lc79-arena {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.lc79-bet-wing {
  position: relative;
  border-radius: 16px;
  padding: 20px;
  background: rgba(11, 16, 27, 0.72);
  border: 1px solid var(--lc-border);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.lc79-bet-wing.tai.selected {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.18), rgba(11, 16, 27, 0.85));
  border-color: var(--lc-tai);
  animation: lc79GlowTai 2.2s ease-in-out infinite;
  transform: translateY(-2px);
}

.lc79-bet-wing.xiu.selected {
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.18), rgba(11, 16, 27, 0.85));
  border-color: var(--lc-xiu);
  animation: lc79GlowXiu 2.2s ease-in-out infinite;
  transform: translateY(-2px);
}

.lc79-wing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  min-height: 24px;
}

.lc79-wing-range {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--lc-muted);
}

.lc79-pick-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.lc79-pick-badge.tai { background: var(--lc-tai); color: #0b101b; }
.lc79-pick-badge.xiu { background: var(--lc-xiu); color: #0b101b; }

.lc79-wing-title {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 3px;
  line-height: 1.05;
  margin-bottom: 6px;
}

.lc79-bet-wing.tai .lc79-wing-title { color: var(--lc-tai); }
.lc79-bet-wing.xiu .lc79-wing-title { color: var(--lc-xiu); }

.lc79-wing-prob {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.lc79-wing-bar {
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.lc79-wing-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 0.45s ease;
}

.lc79-bet-wing.tai .lc79-wing-bar span { background: linear-gradient(90deg, #d97706, #fbbf24); }
.lc79-bet-wing.xiu .lc79-wing-bar span { background: linear-gradient(90deg, #0284c7, #38bdf8); }

.lc79-center-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lc79-clock-wrap {
  position: relative;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: radial-gradient(circle, #141f34 0%, #090e19 72%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.55);
}

.lc79-clock-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.lc79-clock-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 7;
}

.lc79-clock-ring {
  fill: none;
  stroke: var(--lc-xiu);
  stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.35s linear, stroke 0.25s ease;
}

.lc79-clock-wrap.urgent .lc79-clock-ring { stroke: var(--lc-lose); }
.lc79-clock-wrap.urgent .lc79-clock-sec { color: var(--lc-lose); animation: lc79Pulse 0.8s ease-in-out infinite; }
.lc79-clock-wrap.opening .lc79-clock-ring { stroke: var(--lc-tai); }

.lc79-clock-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lc79-clock-sec {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
}

.lc79-clock-unit {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--lc-muted);
  margin-top: 4px;
}

.lc79-clock-phase {
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  text-align: center;
}

.lc79-last-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  width: 100%;
  background: rgba(9, 14, 25, 0.78);
  border: 1px solid var(--lc-border);
  border-radius: 12px;
}

.lc79-dice-trio {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
}

.lc79-die {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: linear-gradient(145deg, #ffffff 0%, #dbe4f0 100%);
  box-shadow: inset 0 -2px 3px rgba(15, 23, 42, 0.25), 0 4px 10px rgba(0, 0, 0, 0.45);
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  place-items: center;
}

.lc79-pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: transparent;
}

.lc79-pip.on { background: #0f172a; }
.lc79-pip.on.red { background: #dc2626; }

.lc79-last-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: var(--lc-muted);
}

.lc79-last-meta strong {
  font-size: 12px;
  color: #f8fafc;
}

.lc79-stage-footer {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 14px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lc79-stage-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr)) 1.6fr;
  gap: 10px;
}

.lc79-mini-stat {
  background: rgba(9, 14, 25, 0.65);
  border: 1px solid var(--lc-border);
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lc79-mini-stat span { font-size: 11px; color: var(--lc-muted); }
.lc79-mini-stat strong { font-size: 13px; color: var(--lc-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lc79-beads-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px;
}

.lc79-bead-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 2px;
  border-radius: 10px;
  background: rgba(9, 14, 25, 0.55);
  border: 1px solid rgba(35, 46, 66, 0.6);
}

.lc79-bead-cell.latest {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

.lc79-bead-pt {
  font-size: 11px;
  font-weight: 700;
  color: var(--lc-muted);
}

.lc79-primary-btn:hover,
.lc79-auto-btn:hover,
.lc79-acc-chip:hover,
.lc79-seg-btn:hover {
  filter: brightness(1.08);
}

@media (max-width: 960px) {
  .lc79-arena {
    grid-template-columns: 1fr;
  }
  .lc79-center-hub {
    order: -1;
  }
  .lc79-stage-footer {
    grid-template-columns: 1fr;
  }
  .lc79-stage-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .lc79-beads-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .lc79-beads-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .lc79-stage-metrics {
    grid-template-columns: 1fr;
  }
}

.lc79-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
  cursor: pointer;
  margin-bottom: 6px;
}

.lc79-check-row input,
.lc79-toggle-247 input {
  width: 16px;
  height: 16px;
  accent-color: var(--lc-xiu);
  cursor: pointer;
}

.lc79-saved-box {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--lc-border);
}

.lc79-saved-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--lc-muted);
  margin-bottom: 8px;
}

.lc79-saved-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 150px;
  overflow-y: auto;
}

.lc79-saved-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(8, 12, 22, 0.72);
  border: 1px solid var(--lc-border);
  border-radius: 10px;
}

.lc79-saved-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lc79-saved-meta strong { font-size: 13px; color: var(--lc-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc79-saved-meta span { font-size: 11px; color: var(--lc-muted); }

.lc79-saved-btns { display: flex; gap: 6px; flex-shrink: 0; }

.lc79-quick-btn {
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: var(--lc-xiu);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lc79-del-btn {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: var(--lc-lose);
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lc79-auto-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lc79-toggle-247 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  cursor: pointer;
}

.lc79-toggle-247.locked { opacity: 0.7; cursor: not-allowed; }

.lc79-tag-247 {
  font-size: 10px;
  font-weight: 800;
  color: #052e16;
  background: var(--lc-win);
  padding: 1px 6px;
  border-radius: 999px;
}
