@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Nunito:wght@500;600;700;800&display=swap");

:root {
  --bg-sky: #dff3ff;
  --bg-app: #f3faff;
  --bg-surface: #f7fbff;
  --bg-card: #ffffff;
  --bg-elevated: #eaf6ff;
  --bg-input: #ffffff;

  --border: #bfe3fa;
  --border-strong: #8ec9f5;

  --text-primary: #14324e;
  --text-secondary: #2d5173;
  --text-muted: #5a7a99;

  --primary: #0ea5e9;
  --primary-strong: #0369a1;
  --primary-soft: #e0f2fe;

  --gold: #d97706;
  --gold-bright: #fbbf24;
  --gold-strong: #b45309;
  --gold-soft: #fff7db;

  --success: #16a34a;
  --success-soft: #dcfce7;

  --warning: #d97706;
  --warning-soft: #fef3c7;

  --danger: #dc2626;
  --danger-soft: #fee2e2;

  --info: #0284c7;
  --info-soft: #e0f2fe;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-card: 0 4px 0 #cde8fb, 0 10px 24px rgba(14, 116, 184, 0.08);
  --shadow-modal: 0 18px 50px rgba(15, 55, 95, 0.28);
  --font-display: "Baloo 2", "Nunito", "Segoe UI", Tahoma, sans-serif;
  --font-sans: "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  max-width: 100%;
  overflow-x: clip;
  touch-action: manipulation;
  background-color: var(--bg-app);
  background-image:
    linear-gradient(to right, rgba(14, 165, 233, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 165, 233, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #d8f1ff 0%, #eff9ff 36%, #fffdf7 100%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
.brand-title,
.section-title,
.card-title,
.modal-title {
  font-family: var(--font-display);
}

.hidden {
  display: none !important;
}

.text-muted {
  color: var(--text-muted);
}

.text-gold {
  color: var(--gold-strong);
  font-weight: 800;
}

.text-success {
  color: var(--success);
}

.text-danger {
  color: var(--danger);
}

.text-primary {
  color: var(--primary-strong);
}

.mono {
  font-family: Consolas, "Cascadia Mono", "Courier New", monospace;
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Khung cố định trên cùng: Header + Hàng menu 4 tab đi theo khi cuộn */
.top-frame-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
}

.app-header {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #27b5ff 0%, #0d8de6 100%);
  border-bottom: 3px solid #0663a8;
  box-shadow: 0 4px 14px rgba(13, 141, 230, 0.2);
  color: #ffffff;
}

.sticky-nav-wrap {
  background: rgba(255, 252, 238, 0.96);
  border-bottom: 2px solid #f7dc88;
  box-shadow: 0 6px 18px rgba(180, 120, 14, 0.1);
  padding: 8px 0;
}

.sticky-nav-wrap .nav-tabs {
  margin-bottom: 0;
}

.brand-home-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.brand-home-link:hover .brand-logo {
  transform: translateY(-2px) scale(1.04);
  border-color: #ffd43b;
  box-shadow: 0 4px 0 #075985, 0 0 12px rgba(255, 212, 59, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: 10px 18px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

  .brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: linear-gradient(180deg, #ffffff 0%, #dff3ff 100%);
    border: 2px solid #075985;
    box-shadow: 0 3px 0 #075985;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    flex-shrink: 0;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 0 rgba(6, 78, 134, 0.55);
}

.brand-sub {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e6f6ff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid #076aa8;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  box-shadow: 0 2px 0 rgba(6, 78, 134, 0.25);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8;
  flex-shrink: 0;
}

.status-dot.online {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.24);
}

.status-dot.connecting {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.24);
}

.status-dot.offline {
  background: #ef4444;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #fffbeb;
  border: 2px solid #d97706;
  color: #451a03;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 2px 0 #b45309;
}

.user-balance {
  color: #b45309;
  font-weight: 800;
}

/* Main Content */
.main-content {
  padding: 20px 18px 44px;
}

/* Thú cưng chỉ đi trong lề hoặc dải riêng của menu, không phủ lên sản phẩm. */
.game-pet-trails,
.game-pet-lane {
  display: none;
  pointer-events: none;
}

.game-pet {
  position: absolute;
  width: var(--pet-size);
  height: var(--pet-size);
}

.game-pet span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--pet-image) no-repeat 0 0 / 600% 100%;
  filter: drop-shadow(0 2px 2px #0f375044);
  animation: game-pet-step 720ms steps(6) infinite;
}

.game-pet-rabbit {
  --pet-image: url('/assets/pet-rabbit-walk.png');
  --pet-duration: 12s;
  --pet-delay: -2s;
  --pet-position: 16%;
}

.game-pet-frog {
  --pet-image: url('/assets/pet-frog-walk.png');
  --pet-duration: 16s;
  --pet-delay: -9s;
  --pet-position: 46%;
}

.game-pet-panda {
  --pet-image: url('/assets/pet-panda-walk.png');
  --pet-duration: 19s;
  --pet-delay: -13s;
  --pet-position: 76%;
}

@keyframes game-pet-step {
  to { background-position-x: calc(-6 * var(--pet-size)); }
}

@media (min-width: 1280px) {
  .game-pet-trails {
    --pet-size: 42px;
    --pet-gutter: max(4px, calc((100% - 1140px) / 4 - var(--pet-size) / 2));
    position: fixed;
    display: block;
    inset: min(180px, 32vh) 0 10px;
    z-index: 3;
    overflow: hidden;
  }

  .game-pet-trails .game-pet {
    left: var(--pet-gutter);
    top: var(--pet-position);
    animation: game-pet-edge var(--pet-duration) var(--pet-delay) ease-in-out infinite alternate;
  }

  .game-pet-trails .game-pet-frog {
    left: auto;
    right: var(--pet-gutter);
  }

  .game-pet-trails .game-pet-panda {
    animation-direction: alternate-reverse;
  }

  @keyframes game-pet-edge {
    from { top: 4px; transform: scaleX(-1); }
    to { top: calc(100% - var(--pet-size) - 4px); transform: scaleX(1); }
  }
}

@media (width < 1280px) {
  .sticky-nav-wrap .nav-tabs:has(.game-pet-lane) {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .game-pet-lane {
    --pet-size: 26px;
    display: block;
    position: relative;
    grid-column: 1 / -1;
    height: var(--pet-size);
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(180deg, #dff3ff 0% 66%, #95d364 66%, #74bc45 100%);
    box-shadow: inset 0 -2px #5ba131;
  }

  .game-pet-flora {
    position: absolute;
    inset: 0 8px 1px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 0;
  }

  .game-pet-flora img {
    height: 14px;
    width: auto;
    opacity: 0.92;
  }

  .game-pet-flora .flora-tall {
    height: 22px;
  }

  .game-pet-lane .game-pet {
    top: 0;
    z-index: 1;
    left: var(--pet-position);
    animation: game-pet-lap var(--pet-duration) var(--pet-delay) linear infinite;
  }

  @keyframes game-pet-lap {
    0%, 100% { left: 4px; transform: scaleX(1); }
    49.9% { left: calc(100% - var(--pet-size) - 4px); transform: scaleX(1); }
    50% { left: calc(100% - var(--pet-size) - 4px); transform: scaleX(-1); }
    99.9% { left: 4px; transform: scaleX(-1); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-pet-trails .game-pet,
  .game-pet-lane .game-pet,
  .game-pet span {
    animation: none;
  }
}

/* Boom Welcome Strip */
.boom-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  margin-bottom: 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #e7f6ff 55%, #fff6dc 100%);
  border: 2px solid #8ac8f6;
  box-shadow: 0 5px 0 #bce2fc, 0 12px 26px rgba(14, 116, 184, 0.1);
  overflow: hidden;
}

.boom-hero-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.boom-hero-bubbles .bubble {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(56, 189, 248, 0.22));
  border: 1.5px solid rgba(56, 189, 248, 0.35);
}

.boom-hero-bubbles .b1 {
  width: 72px;
  height: 72px;
  right: 190px;
  top: -22px;
}

.boom-hero-bubbles .b2 {
  width: 44px;
  height: 44px;
  right: 120px;
  bottom: -14px;
}

.boom-hero-bubbles .b3 {
  width: 28px;
  height: 28px;
  left: 44%;
  top: 12px;
}

.boom-hero-left {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
}

.boom-hero-art {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-items: center;
  gap: 2px 10px;
  flex-shrink: 0;
  pointer-events: none;
}

.boom-hero-pets {
  grid-column: 1 / -1;
  display: flex;
  gap: 6px;
}

.boom-pet {
  display: block;
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 2px rgba(15, 55, 95, 0.18));
}

.boom-pet-cat {
  transform: rotate(-9deg);
}

.boom-pet-duck {
  transform: rotate(9deg);
}

@media (prefers-reduced-motion: reduce) {
  .boom-hero-art .boom-float-bomb {
    animation: none;
  }
}

.boom-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}

.boom-hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.hero-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid #bae6fd;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e4b70;
}

.hero-stat-pill strong {
  color: #0369a1;
}

.hero-stat-x2 {
  background: linear-gradient(135deg, #fef08a 0%, #fde047 100%);
  border-color: #d97706;
  color: #713f12;
}

.hero-stat-x2 strong {
  color: #92400e;
}

.hero-stat-live {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border-color: #22c55e;
  color: #14532d;
}

.hero-stat-live strong {
  color: #15803d;
}

/* Dải nổi bật Up Vàng/Exp X2 Realtime */
.x2-spotlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 55%, #0e4a78 100%);
  border: 2px solid #38bdf8;
  box-shadow: 0 5px 0 #075985, 0 10px 22px rgba(3, 105, 161, 0.18);
  color: #ffffff;
}

.x2-spotlight-main {
  flex: 1 1 auto;
  min-width: 0;
}

.x2-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #facc15;
  color: #451a03;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.x2-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.x2-desc {
  margin: 4px 0 0;
  font-size: 0.84rem;
  color: #e0f2fe;
  font-weight: 600;
  line-height: 1.4;
}

.x2-spotlight-side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.x2-metric-chip {
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(186, 230, 253, 0.45);
  text-align: center;
  min-width: 106px;
}

.x2-metric-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.96rem;
  color: #fde047;
  line-height: 1.15;
}

.x2-metric-chip span {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #e0f2fe;
}

.x2-spotlight .btn-primary {
  background: linear-gradient(180deg, #fde047 0%, #f59e0b 100%);
  border-color: #b45309;
  box-shadow: 0 3px 0 #92400e;
  color: #451a03;
  text-shadow: none;
}

/* Trust Strip (4 cam kết) */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid #b6e0fe;
  box-shadow: 0 3px 0 #d5ecfc;
}

.trust-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  box-shadow: 0 2px 0 #075985;
}

.trust-item strong {
  display: block;
  font-size: 0.86rem;
  color: #0e3a5c;
  line-height: 1.2;
}

.trust-item span:last-child {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.3;
}

.boom-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #fef08a;
  border: 1.5px solid #d97706;
  color: #713f12;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.boom-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0e3a5c;
}

.boom-hero-desc {
  margin: 5px 0 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.boom-float-bomb {
  width: 44px;
  height: 44px;
  object-fit: contain;
  animation: boom-bob 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 6px rgba(2, 132, 199, 0.2));
}

.boom-float-bomb.delay {
  animation-delay: 1.1s;
  width: 38px;
  height: 38px;
}

.boom-mascot {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(15, 55, 95, 0.18));
}

@keyframes boom-bob {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Navigation Tabs (Desktop horizontal, Mobile bottom bar) */
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: linear-gradient(180deg, #fffdf2 0%, #fef5d4 100%);
  border: 2px solid #f6d57a;
  border-radius: 20px;
  box-shadow: 0 4px 0 #f2cc68;
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid #faecc0;
  border-radius: 14px;
  background: #fffbeb;
  color: #5c4312;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex: 1 1 auto;
  transition: transform 0.12s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.tab-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.tab-btn:hover {
  color: var(--primary-strong);
  background: #fef0b8;
  border-color: #f4c652;
}

.tab-btn.active {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff;
  border-color: #0369a1;
  box-shadow: 0 3px 0 #0369a1;
  text-shadow: 0 1px 0 rgba(3, 105, 161, 0.55);
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  background: #fde047;
  color: #713f12;
  border: 1.5px solid #ca8a04;
}

/* Cards & Sections */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.section-title {
  margin: 0;
  font-size: 1.32rem;
  font-weight: 800;
  color: #0e3a5c;
}

.section-desc {
  margin: 3px 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.card + .card {
  margin-top: 16px;
}

.card-header {
  padding: 14px 18px;
  background: linear-gradient(180deg, #f3faff 0%, #eaf6ff 100%);
  border-bottom: 2px solid #d5ecfc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.card-title {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
  color: #0f3d62;
}

.card-body {
  padding: 18px;
}

/* Grid helpers */
.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rental-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.rental-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
  align-items: start;
}

.rental-form-col {
  min-width: 0;
}

.m-gold-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 3px;
}

/* Stats cards */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.stat-card {
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 3px 0 #d5ecfc;
  padding: 14px 16px;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* Filter bar */
.filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-bar .form-group {
  margin-bottom: 0;
  min-width: 170px;
  flex: 1 1 170px;
}

/* Forms */
.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: var(--bg-input);
  color: var(--text-primary);
  font-weight: 600;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control::placeholder {
  color: #88a4be;
  font-weight: 500;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.16);
}

.form-hint {
  margin-top: 5px;
  font-size: 0.81rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Buttons kiểu game hoạt hình nảy 3D */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 12px;
  border: 2px solid transparent;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.15s ease, opacity 0.15s ease;
}

.btn:active:not(:disabled) {
  transform: translateY(2px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  border-color: #0369a1;
  box-shadow: 0 3px 0 #0369a1;
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(3, 105, 161, 0.5);
}

.btn-primary:hover:not(:disabled) {
  filter: brightness(1.05);
}

.btn-primary:active:not(:disabled) {
  box-shadow: 0 1px 0 #0369a1;
}

.btn-gold {
  background: linear-gradient(180deg, #fde047 0%, #f59e0b 100%);
  border-color: #b45309;
  box-shadow: 0 3px 0 #b45309;
  color: #451a03;
}

.btn-gold:hover:not(:disabled) {
  filter: brightness(1.04);
}

.btn-gold:active:not(:disabled) {
  box-shadow: 0 1px 0 #b45309;
}

.btn-secondary {
  background: #ffffff;
  border-color: #8bc7f5;
  box-shadow: 0 3px 0 #c5e5fc;
  color: #0e4a78;
}

.btn-secondary:hover:not(:disabled) {
  background: #f0f9ff;
}

.btn-secondary:active:not(:disabled) {
  box-shadow: 0 1px 0 #c5e5fc;
}

.btn-danger {
  background: #fff1f2;
  border-color: #fda4af;
  box-shadow: 0 2px 0 #fecdd3;
  color: #be123c;
}

.btn-danger:hover:not(:disabled) {
  background: #ffe4e6;
}

.btn-ghost {
  background: #f1f8ff;
  border-color: #cce7fb;
  color: var(--text-secondary);
}

.btn-ghost:hover:not(:disabled) {
  background: #e1f2ff;
}

.btn-sm {
  padding: 6px 11px;
  font-size: 0.81rem;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.badge-gold {
  background: #fef3c7;
  color: #92400e;
  border-color: #f59e0b;
}

.badge-success {
  background: #dcfce7;
  color: #166534;
  border-color: #4ade80;
}

.badge-warning {
  background: #ffedd5;
  color: #9a3412;
  border-color: #fb923c;
}

.badge-danger {
  background: #fee2e2;
  color: #991b1b;
  border-color: #f87171;
}

.badge-info {
  background: #e0f2fe;
  color: #075985;
  border-color: #7dd3fc;
}

.badge-muted {
  background: #f1f5f9;
  color: #475569;
  border-color: #cbd5e1;
}

/* Account shop card grid */
.acc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.acc-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #ffffff;
  border: 2px solid #a7d8f8;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 0 #d5ecfc;
  transition: border-color 0.14s ease, transform 0.14s ease, box-shadow 0.14s ease;
}

.acc-card:hover {
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #a7d8f8;
}

.acc-card.is-reserved {
  opacity: 0.78;
  background: #fbfdff;
}

.acc-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #0f172a;
  border-bottom: 2px solid #d5ecfc;
  overflow: hidden;
  flex-shrink: 0;
}

.acc-card-media-empty {
  background: linear-gradient(135deg, #eaf6ff 0%, #d8f0ff 100%);
}

.acc-thumb-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.acc-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.acc-thumb-btn:hover .acc-thumb-img {
  transform: scale(1.04);
}

.acc-zoom-hint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(14, 58, 92, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.acc-zoom-hint svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.acc-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  color: #4b7496;
  text-align: center;
}

.acc-thumb-placeholder svg {
  width: 34px;
  height: 34px;
  color: #38bdf8;
}

.acc-thumb-placeholder span {
  font-size: 0.8rem;
  font-weight: 800;
}

.acc-card-discount-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border: 1.5px solid #ffffff;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.1;
  box-shadow: 0 2px 6px rgba(185, 28, 28, 0.35);
  pointer-events: none;
}

.acc-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 9px;
  padding: 12px 13px 13px;
  min-width: 0;
}

.acc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}

.acc-card-title-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  flex: 1 1 auto;
}

.acc-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  color: #0e3a5c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acc-code {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

.acc-card .badge {
  padding: 2px 8px;
  font-size: 0.72rem;
  max-width: 48%;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

.acc-card-metrics {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  align-items: stretch;
}

.acc-level-pill {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 11px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border: 2px solid #0284c7;
  box-shadow: 0 2px 0 #7dd3fc;
  color: #075985;
  white-space: nowrap;
  min-width: 0;
}

.acc-level-pill strong {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 900;
  color: #0369a1;
}

.acc-gold-pill {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 11px;
  background: linear-gradient(135deg, #fef9c3 0%, #fde047 100%);
  border: 2px solid #d97706;
  box-shadow: 0 2px 0 #f59e0b;
  color: #78350f;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.acc-gold-pill strong {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 900;
  color: #92400e;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acc-metric-label {
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  opacity: 0.85;
  flex-shrink: 0;
}

.acc-desc {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.38;
  color: var(--text-muted);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.24em;
}

.acc-card-foot {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1.5px dashed #d5ecfc;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.acc-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.acc-price-old-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
}

.acc-price-old {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: line-through;
  white-space: nowrap;
}

.acc-discount-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  font-size: 0.7rem;
  font-weight: 900;
  white-space: nowrap;
}

.acc-price {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 900;
  color: #0369a1;
  white-space: nowrap;
}

.acc-modal-shot-wrap {
  margin-bottom: 12px;
  border: 2px solid #bae6fd;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  text-align: center;
  cursor: zoom-in;
}

.acc-modal-shot-img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  display: block;
}

.modal.modal-image-preview {
  width: min(1360px, 96vw);
  max-width: 96vw;
  height: 92vh;
  max-height: 92vh;
}

.acc-lightbox-header {
  flex-wrap: wrap;
  padding: 12px 16px;
}

.acc-lightbox-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.acc-zoom-slider {
  width: 130px;
  accent-color: #0284c7;
  cursor: pointer;
}

.acc-zoom-level {
  min-width: 48px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 800;
  color: #0369a1;
}

.acc-lightbox-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.acc-lightbox-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  background: #0b1628;
  border-radius: 12px;
  border: 1px solid #94a3b8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.acc-lightbox-stage.is-zoomed {
  cursor: grab;
}

.acc-lightbox-stage.is-dragging {
  cursor: grabbing;
}

.acc-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.08s ease-out;
  will-change: transform;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.acc-lightbox-stage.is-interacting .acc-lightbox-img {
  transition: none;
}

.acc-lightbox-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 768px) {
  .modal.modal-image-preview {
    width: 98vw;
    max-width: 98vw;
    height: 90vh;
    max-height: 90vh;
  }

  .acc-zoom-slider {
    width: 96px;
  }

  .acc-lightbox-hint {
    font-size: 0.74rem;
  }
}

/* Package selector */
.package-list {
  display: grid;
  gap: 8px;
}

.package-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  background: #f7fbff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.package-option:hover {
  border-color: var(--primary);
  background: #edf7ff;
}

.package-option.selected {
  border-color: #0284c7;
  background: #e0f2fe;
  box-shadow: 0 2px 0 #9fd4f8;
}

.package-option input {
  display: none;
}

.package-price-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: #fffbeb;
  border: 2px solid #fcd34d;
  margin-bottom: 14px;
}

/* Tables & Progress */
.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.89rem;
}

.data-table th,
.data-table td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid #e2f1fc;
  vertical-align: middle;
}

.data-table th {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #2d5173;
  background: #eff8ff;
  white-space: nowrap;
}

.data-table td {
  font-size: 0.84rem;
}

.data-table tbody tr:hover {
  background: #f5fbff;
}

.progress-bar {
  width: 100%;
  min-width: 130px;
  height: 10px;
  border-radius: 999px;
  background: #e2effa;
  border: 1px solid #bfdcf2;
  overflow: hidden;
  margin: 6px 0 4px;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #facc15, #22c55e);
  transition: width 0.35s ease;
}

/* Topup / VietQR */
.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 2px solid #9fd4f8;
  box-shadow: 0 4px 0 #d5ecfc;
  color: #14324e;
  text-align: center;
  max-width: 280px;
  margin: 0 auto 14px;
}

.qr-box img,
.qr-box svg {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
}

.bank-info-list {
  display: grid;
  gap: 10px;
}

.bank-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  background: #f5fbff;
  border: 2px solid #d5ecfc;
  flex-wrap: wrap;
}

/* Alerts & Empty state */
.alert {
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.alert-info {
  background: #e8f5ff;
  border-color: #93d0fa;
  color: #0c4a6e;
}

.alert-warning {
  background: #fff7db;
  border-color: #fcd34d;
  color: #78350f;
}

.alert-success {
  background: #e8fbef;
  border-color: #86efac;
  color: #14532d;
}

.empty-state {
  padding: 36px 16px;
  text-align: center;
  color: var(--text-muted);
  font-weight: 700;
}

.empty-state-icon {
  font-size: 2.1rem;
  margin-bottom: 8px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(12, 45, 78, 0.48);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border: 3px solid #6ec1f7;
  border-radius: 22px;
  box-shadow: var(--shadow-modal);
  overflow: hidden;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 15px 18px;
  background: linear-gradient(180deg, #e7f6ff 0%, #d8f0ff 100%);
  border-bottom: 2px solid #b6e0fe;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.modal-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0e3a5c;
}

.modal-body {
  padding: 18px;
  overflow-y: auto;
}

.modal-footer {
  padding: 14px 18px;
  background: #f5fbff;
  border-top: 2px solid #d5ecfc;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

/* Toast notifications */
.toast-container {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
  width: calc(100% - 32px);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  padding: 12px 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 2px solid #9fd4f8;
  box-shadow: 0 6px 20px rgba(14, 74, 120, 0.16);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.toast.success {
  border-left: 6px solid #22c55e;
}

.toast.error {
  border-left: 6px solid #ef4444;
}

.toast.info {
  border-left: 6px solid #0ea5e9;
}

.toast.warning {
  border-left: 6px solid #f59e0b;
}

/* Credential box */
.cred-box {
  background: #f3faff;
  border: 2px solid #b6e0fe;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: grid;
  gap: 8px;
}

.cred-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Responsive Tablet & Mobile */
@media (max-width: 1024px) {
  .rental-layout {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body:not(.adm-body) {
    padding-bottom: calc(111px + env(safe-area-inset-bottom, 0px));
  }

  body:not(.adm-body) .top-frame-sticky {
    position: static;
  }

  body:not(.adm-body) .workspace-main-anchor {
    scroll-margin-top: 12px;
  }

  body:not(.adm-body) .form-control,
  body:not(.adm-body) input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),
  body:not(.adm-body) select,
  body:not(.adm-body) textarea {
    font-size: 16px !important;
  }

  body:not(.adm-body).kb-open {
    padding-bottom: 14px;
  }

  body:not(.adm-body).kb-open .nav-tabs {
    display: none;
  }

  body:not(.adm-body) .modal-backdrop {
    align-items: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px;
    height: 100dvh;
  }

  body:not(.adm-body) .modal {
    margin: auto 0;
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
  }

  body:not(.adm-body) .modal-body {
    padding: 14px;
    -webkit-overflow-scrolling: touch;
  }

  body:not(.adm-body) .modal-header,
  body:not(.adm-body) .modal-footer {
    padding: 12px 14px;
  }

  .container {
    padding: 0 12px;
  }

  .main-content {
    padding: 14px 12px 24px;
  }

  .header-inner {
    min-height: 54px;
    padding: 8px 12px;
    gap: 8px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .brand-sub {
    display: none;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }

  .header-status {
    gap: 5px;
  }

  .status-pill {
    padding: 3px 8px;
    font-size: 0.72rem;
  }

  .user-chip {
    padding: 5px 10px;
    font-size: 0.8rem;
  }

  .boom-hero {
    padding: 14px;
    border-radius: 18px;
  }

  .boom-hero-title {
    font-size: 1.15rem;
  }

  .boom-hero-desc {
    font-size: 0.84rem;
  }

  .boom-hero-art {
    grid-template-columns: auto;
  }

  .boom-hero-pets {
    gap: 3px;
  }

  .boom-pet {
    width: 22px;
    height: 22px;
  }

  .boom-mascot {
    width: 58px;
    height: 58px;
  }

  .boom-float-bomb {
    display: none;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .filter-bar {
    gap: 8px;
  }

  .filter-bar .form-group {
    flex: 1 1 calc(50% - 4px);
    min-width: 130px;
  }

  .filter-bar .form-group:first-child {
    flex: 1 1 100%;
  }

  .acc-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .acc-card {
    border-radius: 13px;
  }

  .acc-card-discount-tag {
    top: 6px;
    left: 6px;
    padding: 2px 7px;
    font-size: 0.68rem;
  }

  .acc-zoom-hint {
    right: 6px;
    bottom: 6px;
    padding: 3px 6px;
    font-size: 0.64rem;
  }

  .acc-thumb-placeholder svg {
    width: 26px;
    height: 26px;
  }

  .acc-thumb-placeholder span {
    font-size: 0.72rem;
  }

  .acc-card-body {
    padding: 9px 9px 10px;
    gap: 7px;
  }

  .acc-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .acc-card-title-row {
    width: 100%;
  }

  .acc-name {
    font-size: 0.88rem;
  }

  .acc-code {
    font-size: 0.72rem;
  }

  .acc-card .badge {
    max-width: 100%;
    padding: 2px 7px;
    font-size: 0.68rem;
  }

  .acc-card-metrics {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .acc-level-pill,
  .acc-gold-pill {
    justify-content: space-between;
    padding: 4px 8px;
    border-radius: 9px;
    border-width: 1.5px;
  }

  .acc-level-pill strong,
  .acc-gold-pill strong {
    font-size: 0.84rem;
  }

  .acc-metric-label {
    font-size: 0.6rem;
  }

  .acc-desc {
    font-size: 0.74rem;
    line-height: 1.32;
    min-height: 2.64em;
  }

  .acc-card-foot {
    padding-top: 7px;
    gap: 6px;
  }

  .acc-price-old {
    font-size: 0.7rem;
  }

  .acc-discount-badge {
    font-size: 0.64rem;
    padding: 1px 5px;
  }

  .acc-price {
    font-size: 0.96rem;
  }

  .btn-buy-acc {
    padding: 8px 10px;
    font-size: 0.82rem;
    border-radius: 10px;
  }

  .stats-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .stat-card {
    padding: 10px 8px;
    text-align: center;
  }

  .stat-label {
    font-size: 0.73rem;
  }

  .stat-value {
    font-size: 1.05rem;
  }

  .card-header,
  .card-body {
    padding: 13px 14px;
  }

  body:not(.adm-body) .nav-tabs {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    margin: 0;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    border-radius: 20px 20px 0 0;
    background: rgba(255, 251, 232, 0.97);
    backdrop-filter: blur(10px);
    border: 2px solid #f5cf6b;
    border-bottom: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    box-shadow: 0 -6px 24px rgba(180, 120, 14, 0.14);
  }

  body:not(.adm-body) .nav-tabs:has(.game-pet-lane) {
    row-gap: 3px;
  }

  body:not(.adm-body) .game-pet-lane {
    --pet-size: 24px;
  }

  body:not(.adm-body) .tab-btn {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 3px;
    padding: 7px 4px;
    font-size: 0.72rem;
    line-height: 1.2;
    border-radius: 12px;
    position: relative;
  }

  body:not(.adm-body) .tab-icon {
    width: 18px;
    height: 18px;
  }

  body:not(.adm-body) .tab-badge {
    position: absolute;
    top: 2px;
    right: 5px;
    font-size: 0.65rem;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
  }

  body:not(.adm-body) .toast-container {
    left: 50%;
    right: auto;
    bottom: calc(111px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    max-width: 496px;
    width: calc(100% - 24px);
  }

  .data-table th,
  .data-table td {
    padding: 9px 8px;
    font-size: 0.83rem;
  }
}

/* Quick Filter Chips */
.quick-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 2px dashed #d8eefc;
}

.quick-filter-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.quick-chip {
  border: 1.5px solid #bae6fd;
  background: #f3faff;
  color: #0e3a5c;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.14s ease;
}

.quick-chip:hover {
  border-color: #0ea5e9;
  background: #e0f2fe;
}

.quick-chip.active {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff;
  border-color: #0369a1;
}

/* Rental Estimate & Tips & Live Machines */
.rental-right-col {
  min-width: 0;
}

.rental-estimate-box {
  background: #f3faff;
  border: 1.5px solid #bae6fd;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  display: grid;
  gap: 4px;
  font-size: 0.85rem;
}

.estimate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.estimate-row span {
  color: var(--text-muted);
  font-weight: 600;
}

.estimate-row strong {
  color: #0369a1;
}

.rental-tips-box {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  color: #78350f;
  font-size: 0.82rem;
}

.rental-tips-box strong {
  display: block;
  margin-bottom: 4px;
}

.rental-tips-box ul {
  margin: 0;
  padding-left: 18px;
}

.rental-tips-box li {
  margin-bottom: 3px;
}

.machine-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.machine-chip-card {
  border: 1.5px solid #bae6fd;
  background: #f8fcff;
  border-radius: 12px;
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.machine-chip-card.is-busy {
  border-color: #fcd34d;
  background: #fffdf2;
}

.machine-chip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.machine-chip-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: #0e3a5c;
}

.machine-chip-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topup-equiv-box {
  margin-top: 10px;
  padding: 8px 11px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  font-size: 0.83rem;
  color: #78350f;
  font-weight: 600;
}

/* FAQ & Footer */
.faq-section {
  margin-top: 24px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.faq-item {
  border: 1.5px solid #c7e6fc;
  border-radius: 14px;
  background: #f8fcff;
  padding: 11px 14px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: #0e3a5c;
  font-size: 0.9rem;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-weight: 900;
  color: #0284c7;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 8px 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.45;
}

.app-footer {
  background: linear-gradient(180deg, #e7f6ff 0%, #d4eeff 100%);
  border-top: 2px solid #9fd4f8;
  padding: 20px 0 28px;
  margin-top: 16px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
}

.footer-col strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: #0e3a5c;
  margin-bottom: 6px;
}

.footer-col p {
  margin: 0 0 4px;
  font-size: 0.83rem;
  color: #365d80;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.footer-link-btn {
  border: none;
  background: transparent;
  padding: 2px 0;
  color: #0369a1;
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
}

.footer-link-btn:hover {
  text-decoration: underline;
}

/* Header user chip clickable */
.user-chip-btn {
  cursor: pointer;
  font: inherit;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.user-chip-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.form-control[readonly] {
  background: #f0f9ff;
  border-color: #93c5fd;
  color: #0e3a5c;
  font-weight: 700;
  cursor: default;
}

/* Subtabs & Profile trong mục Tài Khoản */
.account-subtabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: #e6f4ff;
  border: 2px solid #9ad3fb;
}

.subtab-btn {
  border: none;
  background: transparent;
  color: #164e78;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.subtab-btn:hover {
  background: rgba(255, 255, 255, 0.7);
}

.subtab-btn.active {
  background: linear-gradient(180deg, #1ea7fd 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 3px 0 #075985;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 18px;
  align-items: start;
}

.profile-hero-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.profile-avatar {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%);
  border: 2px solid #0284c7;
  box-shadow: 0 3px 0 #7dd3fc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.profile-username {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #0e3a5c;
  line-height: 1.2;
}

.profile-joined {
  font-size: 0.82rem;
  margin-top: 3px;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-stat-box {
  padding: 10px 12px;
  border-radius: 14px;
  background: #f5fbff;
  border: 1.5px solid #bae6fd;
}

.profile-stat-box span {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #4b7496;
}

.profile-stat-box strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 900;
  color: #0e3a5c;
}

@media (max-width: 768px) {
  .x2-spotlight {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 13px 14px;
  }

  .x2-spotlight-side {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .x2-metric-chip {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  .x2-spotlight-side .btn {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .quick-filter-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .machine-chip-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .account-subtabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .subtab-btn {
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .app-footer {
    padding-bottom: 92px;
  }
}

/* Lịch Sử Giao Dịch tách mục trên /tai-khoan */
.profile-stat-jump {
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.profile-stat-jump:hover {
  background: #e0f2fe;
  border-color: #0284c7;
  transform: translateY(-1px);
}

.history-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.history-subtabs {
  margin-bottom: 0;
  flex-wrap: wrap;
}

.hist-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  margin-left: 5px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  background: rgba(14, 58, 92, 0.12);
  color: #0e3a5c;
}

.subtab-btn.active .hist-tab-count {
  background: #ffd43b;
  color: #5c3c00;
}

.history-panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 18px;
  background: #f8fcff;
  border-bottom: 1.5px solid #dbeafe;
}

.history-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 18px 4px;
  background: #f8fcff;
}

.history-kpi-chip {
  padding: 10px 12px;
  border-radius: 13px;
  background: #ffffff;
  border: 1.5px solid #bae6fd;
}

.history-kpi-chip span {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #4b7496;
}

.history-kpi-chip strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 900;
  color: #0e3a5c;
}

.before-after-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.84rem;
}

.ba-line {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ba-label {
  display: inline-block;
  min-width: 44px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #64748b;
}

.delta-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde047;
}

.delta-pill.delta-exp {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #7dd3fc;
}

.time-pair-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.81rem;
  white-space: nowrap;
}

.time-pair-box .time-tag {
  display: inline-block;
  min-width: 72px;
  font-weight: 700;
  color: #64748b;
}

.duration-hint {
  font-size: 0.75rem;
  font-weight: 800;
  color: #0284c7;
}

.detail-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

#history-detail-modal .modal {
  max-width: 600px;
}

#history-detail-footer {
  flex-wrap: wrap;
  gap: 8px;
}

.detail-kv-card {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5fbff;
  border: 1.5px solid #bae6fd;
}

.detail-kv-card span {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #4b7496;
}

.detail-kv-card strong {
  display: block;
  margin-top: 3px;
  font-size: 0.96rem;
  font-weight: 800;
  color: #0e3a5c;
}

.rental-shots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.rental-shots-grid .rental-before-box {
  margin-top: 0;
}

.rental-shots-cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  body:not(.adm-body) .rental-form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  body:not(.adm-body) .m-gold-meta {
    justify-content: flex-end;
  }

  body:not(.adm-body) .rental-shots-cell {
    align-items: flex-end;
  }
}

.rental-before-box {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5fbff;
  border: 1.5px solid #bae6fd;
}

.rental-before-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0e3a5c;
}

.rental-before-thumb {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  cursor: zoom-in;
  display: block;
}

@media (max-width: 768px) {
  .history-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-subtabs {
    display: flex;
    width: 100%;
  }

  .history-subtabs .subtab-btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .detail-grid-2 {
    grid-template-columns: 1fr;
  }

  .sticky-nav-wrap {
    padding: 0;
    border-bottom: none;
    background: transparent;
    box-shadow: none;
  }
}

/* Telegram pill & link */
.tg-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #ffffff;
  background: rgba(6, 78, 134, 0.42);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  font-weight: 800;
  transition: transform 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}

.tg-header-pill:hover {
  background: #ffd43b;
  color: #083344;
  border-color: #f59f00;
  transform: translateY(-1px);
}

.footer-tg-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-weight: 800;
  color: #0284c7;
  background: #e0f2fe;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #7dd3fc;
  text-decoration: none;
}

.footer-tg-link:hover {
  background: #bae6fd;
  color: #0369a1;
}

.workspace-main-anchor {
  height: 1px;
  margin-top: -1px;
  scroll-margin-top: 150px;
}

/* Cột tên sản phẩm & Popup Xem thông tin tài khoản (có icon copy từng dòng) */
.product-title-main {
  font-weight: 800;
  color: #0e3a5c;
  font-size: 0.92rem;
}

.product-title-sub {
  font-size: 0.79rem;
  color: #52738e;
  margin-top: 2px;
}

.cred-secret-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f0f9ff;
  border: 2px solid #7dd3fc;
}

.cred-secret-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 11px;
  background: #ffffff;
  border: 1.5px solid #dbeafe;
}

.cred-secret-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cred-secret-label {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.cred-secret-val {
  font-size: 1rem;
  font-weight: 900;
  color: #0e3a5c;
  word-break: break-all;
}

.cred-secret-val.is-pass {
  color: #b45309;
}

.btn-copy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: 10px;
  border: 1.5px solid #7dd3fc;
  background: #e0f2fe;
  color: #0369a1;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.12s ease, background 0.14s ease, border-color 0.14s ease;
}

.btn-copy-icon:hover {
  background: #0284c7;
  border-color: #0369a1;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-copy-icon svg,
.btn-with-icon svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.m-gold-flow {
  font-size: 0.82rem;
  white-space: nowrap;
}

.m-msg-cell {
  min-width: 180px;
}

/* Chế độ thẻ dọc trên điện thoại cho toàn bộ bảng Lịch sử mua acc / Thuê up / Nạp tiền / Biến động ví */
@media (max-width: 768px) {
  body:not(.adm-body) .table-wrap {
    overflow-x: visible;
    padding: 10px 12px 14px;
  }

  body:not(.adm-body) .data-table,
  body:not(.adm-body) .data-table tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }

  body:not(.adm-body) .data-table thead {
    display: none;
  }

  body:not(.adm-body) .data-table tbody tr.m-card-row {
    display: block;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #ffffff;
    border: 2px solid #bae6fd;
    box-shadow: 0 3px 0 #dbeafe;
  }

  body:not(.adm-body) .data-table tbody tr.m-card-row:last-child {
    margin-bottom: 0;
  }

  body:not(.adm-body) .data-table tbody tr.m-card-row td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px dashed #e2f1fc;
    text-align: right;
    min-width: 0;
  }

  body:not(.adm-body) .data-table tbody tr.m-card-row td:last-child {
    border-bottom: none;
    padding-bottom: 2px;
  }

  body:not(.adm-body) .data-table tbody tr.m-card-row td::before {
    content: attr(data-label);
    font-size: 0.76rem;
    font-weight: 800;
    color: #52738e;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: left;
    flex: 0 0 38%;
    padding-top: 1px;
  }

  body:not(.adm-body) .data-table tbody tr.m-card-row td > * {
    max-width: 64%;
  }

  body:not(.adm-body) .m-cell-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
  }

  body:not(.adm-body) .m-gold-stack {
    width: 100%;
    min-width: 0;
  }

  body:not(.adm-body) .progress-bar {
    min-width: 0;
    width: 100%;
  }

  body:not(.adm-body) .data-table tbody tr.m-card-row td.m-action-cell {
    align-items: center;
    padding-top: 10px;
  }

  body:not(.adm-body) .data-table tbody tr.m-card-row td.m-action-cell > * {
    max-width: none;
    margin-left: auto;
    justify-content: flex-end;
  }

  body:not(.adm-body) .before-after-box,
  body:not(.adm-body) .time-pair-box {
    align-items: flex-end;
    text-align: right;
    white-space: normal;
  }

  body:not(.adm-body) .ba-line {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  body:not(.adm-body) .delta-pill {
    align-self: flex-end;
  }

  body:not(.adm-body) .m-gold-flow {
    white-space: normal;
  }

  body:not(.adm-body) .m-msg-cell {
    min-width: 0;
  }
}

.quick-gold-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.quick-gold-chip {
  appearance: none;
  border: 1.5px solid #bfe0f7;
  background: #f3f9ff;
  color: #0e4a73;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.quick-gold-chip:hover {
  background: #e2f1fe;
  border-color: #60a5fa;
}

.quick-gold-chip.active {
  background: linear-gradient(180deg, #0ea5e9, #0284c7);
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.m-gold-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Bảo vệ số vàng, level, giá: không thể tô xanh, không thể copy, không kéo thả */
.pv-slot,
.pv-canvas,
.pv-lock,
.acc-card,
.acc-card *,
.acc-card-metrics,
.acc-price-wrap,
.m-gold-flow,
.before-after-box,
.package-price-summary,
.rental-estimate-box,
.user-balance,
.profile-stat-box,
.detail-kv-card,
.cred-box,
#rental-gold-rate-hint,
#rental-price-discount-note,
#add-gold-discount-note,
#hist-rental-gold-gained,
.data-table td[data-label*="Vàng"],
.data-table td[data-label*="Level"],
.data-table td[data-label*="Giá"],
.data-table td[data-label*="Số tiền"],
.data-table td[data-label*="Số dư"],
.data-table td[data-label*="Chi phí"] {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  -webkit-touch-callout: none !important;
}

.pv-slot::selection,
.pv-slot *::selection,
.pv-lock::selection,
.pv-lock *::selection,
.acc-card::selection,
.acc-card *::selection,
.m-gold-flow::selection,
.m-gold-flow *::selection,
.before-after-box::selection,
.before-after-box *::selection,
.package-price-summary::selection,
.package-price-summary *::selection,
.detail-kv-card::selection,
.detail-kv-card *::selection,
.cred-box::selection,
.cred-box *::selection {
  background: transparent !important;
}

.pv-slot {
  display: inline;
  line-height: inherit;
  vertical-align: baseline;
}

.pv-canvas {
  display: inline-block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}
