@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=Orbitron:wght@600;700;800&display=swap');

:root {
  --bg: #050505;
  --bg-2: #0c0c0e;
  --panel: rgba(10, 10, 14, 0.72);
  --panel-solid: #121216;
  --border: rgba(255, 0, 100, 0.35);
  --pink: #ff0066;
  --pink-2: #ff2d8a;
  --pink-glow: rgba(255, 0, 102, 0.45);
  --red: #c4002b;
  --text: #f2f2f5;
  --muted: #9a9aa8;
  --ok: #22c55e;
  --warn: #f59e0b;
  --danger: #ef4444;
  --radius: 14px;
  --max: 1180px;
  --font: 'Be Vietnam Pro', 'Segoe UI', Tahoma, sans-serif;
  --display: 'Orbitron', 'Be Vietnam Pro', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; touch-action: manipulation; }
body {
  font-family: var(--font);
  background-color: #050505;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.45;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  /* Nền tối sạch — glow đỏ nhẹ, không lưới */
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(140, 0, 45, 0.42), transparent 58%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(80, 0, 30, 0.25), transparent 55%),
    radial-gradient(ellipse 40% 35% at 10% 60%, rgba(40, 0, 20, 0.2), transparent 50%),
    linear-gradient(180deg, #08080a 0%, #050505 40%, #030303 100%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
img:not([src]), img[src=""], img.img-empty, img.img-broken {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
img.img-loading {
  opacity: 0.01;
}
img.img-ready {
  opacity: 1;
  visibility: visible;
}
button, input, select, textarea, label, .btn, th, td, .form-hint, .badge, .admin-nav a, .admin-top h1, .panel h2, .panel h3 {
  font-family: var(--font) !important;
}
ul { list-style: none; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* ===== NAV ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(0,0,0,0.72);
  border-bottom: 1px solid rgba(255,0,100,0.18);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px;
}
.logo {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  max-width: 220px;
}
.logo img {
  height: 36px !important;
  width: auto !important;
  max-width: 180px;
  object-fit: contain;
  border-radius: 6px;
}
.logo span { color: var(--pink); }
.nav-links {
  display: flex; gap: 1.35rem; align-items: center;
  font-weight: 600; font-size: 1.05rem; text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav-links a { opacity: 0.85; transition: 0.2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--pink-2); }
.nav-right { display: flex; align-items: center; gap: 0.65rem; }
.game-icons { display: flex; gap: 0.4rem; }
.game-icon {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: #1a1a1f; overflow: hidden;
  display: grid; place-items: center;
  font-size: 0.7rem; font-weight: 700;
}
.cart-btn, .icon-btn {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,0,102,0.12);
  color: var(--pink-2);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 0 16px var(--pink-glow);
  transition: 0.2s;
}
.cart-btn:hover, .icon-btn:hover { background: rgba(255,0,102,0.25); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.55rem 1.1rem; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  cursor: pointer; transition: 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--red));
  color: #fff;
  box-shadow: 0 0 20px var(--pink-glow);
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; border-color: var(--border); color: var(--text);
}
.btn-ghost:hover { border-color: var(--pink); color: var(--pink-2); }
.btn-sm { padding: 0.35rem 0.75rem; font-size: 0.9rem; border-radius: 8px; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,0,102,0.12);
  color: var(--pink-2);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  place-items: center;
  flex-shrink: 0;
}
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
.mobile-nav-drawer[hidden] { display: none !important; }
.mobile-nav-drawer:not([hidden]) { pointer-events: auto; }
.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
}
.mobile-nav-close {
  position: absolute;
  top: calc(0.75rem + env(safe-area-inset-top, 0px));
  right: calc(0.75rem + env(safe-area-inset-right, 0px));
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 320px);
  height: 100%;
  padding: calc(4rem + env(safe-area-inset-top, 0px)) 1rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  background: rgba(10,10,14,0.98);
  border-left: 1px solid var(--border);
  box-shadow: -8px 0 32px rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow-y: auto;
}
.mobile-nav-panel a {
  display: block;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}
.mobile-nav-panel a:hover,
.mobile-nav-panel a.active {
  color: var(--pink-2);
  border-color: rgba(255,0,102,0.35);
  background: rgba(255,0,102,0.08);
}
body.mobile-nav-open { overflow: hidden; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: clamp(420px, 68vh, 620px);
  display: grid; align-items: end;
  border-bottom: 1px solid rgba(255,0,100,0.2);
  background: #0a0508;
}
/* clip riêng media — tránh overflow:hidden trên .hero làm đứng GIF */
.hero-media-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-media-wrap.is-empty .hero-media,
.hero-media-wrap.is-empty {
  visibility: hidden;
  pointer-events: none;
}
.hero-media-wrap.is-empty {
  opacity: 0;
}
.hero-media-wrap:not(.is-empty) {
  display: block;
}
.hero-media-wrap[hidden] {
  display: none !important;
}
.hero-media {
  position: absolute; inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.hero-media.is-gif {
  /* một số máy ổn định hơn khi không ép cover quá mạnh */
  image-rendering: auto;
}
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.88) 100%),
    radial-gradient(circle at 70% 40%, rgba(180,0,40,0.25), transparent 50%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 2.5rem 0 2rem;
  display: flex; align-items: flex-end; justify-content: center; gap: 1.5rem;
  flex-wrap: wrap; text-align: center;
}
.hero h1 {
  font-family: var(--font);
  font-size: clamp(1.35rem, 3.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 0 24px rgba(255,0,80,0.35);
}
.hero-badge {
  width: 84px; height: 84px; border-radius: 16px;
  border: 2px solid var(--pink);
  background: rgba(0,0,0,0.55);
  box-shadow: 0 0 24px var(--pink-glow);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 0.55rem; font-weight: 700; color: var(--pink-2);
  text-align: center; line-height: 1.2; padding: 0.4rem;
  overflow: hidden;
}
.hero-badge.has-icon { padding: 0; }
.hero-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== CARDS ROW ===== */
.feature-row {
  padding: 1.5rem 0 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.glass {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255,0,100,0.05), 0 10px 40px rgba(0,0,0,0.45);
  overflow: hidden;
}
.acc-card { display: flex; flex-direction: column; min-height: 260px; }
.acc-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 180px;
  background: linear-gradient(145deg, #2a0010, #0a0a0c 60%);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.acc-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 2;
}
.price-tag {
  position: absolute; right: 10px; bottom: 10px;
  background: var(--pink); color: #fff; font-weight: 800;
  padding: 0.2rem 0.55rem; border-radius: 4px; font-size: 0.95rem;
  box-shadow: 0 0 12px var(--pink-glow);
}
.acc-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding: 0.75rem 0.9rem;
  background: rgba(0,0,0,0.65);
  border-top: 1px solid rgba(255,0,100,0.2);
  font-weight: 700; font-size: 0.98rem;
}
.card-title {
  padding: 0.85rem 1rem 0.4rem;
  font-family: var(--display);
  font-size: 0.78rem; letter-spacing: 0.04em; color: var(--pink-2);
}
.skin-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.35rem;
  padding: 0.5rem 0.85rem 1rem;
}
.skin-item {
  aspect-ratio: 3/5; border-radius: 8px;
  background: linear-gradient(180deg, #3a1020, #111);
  border: 1px solid rgba(255,255,255,0.12);
  position: relative; overflow: hidden;
}
.skin-item::after {
  content: attr(data-tier);
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  font-size: 0.65rem; font-weight: 800; color: gold;
  text-shadow: 0 0 6px rgba(0,0,0,0.8);
}
.stats-body {
  display: grid; grid-template-columns: 110px 1fr; gap: 0.75rem;
  padding: 0.5rem 1rem 1rem; align-items: center;
}
.rank-badge {
  width: 96px; height: 96px; margin: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe08a, #c48a1a 45%, #4a2a00);
  border: 3px solid #f0c14b;
  box-shadow: 0 0 20px rgba(240,193,75,0.35);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 0.55rem; text-align: center; color: #1a1000;
  font-weight: 800;
}
.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 0.75rem;
  font-size: 0.92rem; font-weight: 600;
}
.stats-grid span { color: var(--muted); font-weight: 500; }

/* ===== FOOTER ===== */
.site-footer {
  margin-top: auto;
  background: #0a0a0c;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0.95rem 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  font-size: 0.95rem; color: var(--muted);
}
.pay-row, .contact-row { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
.pay-chip {
  padding: 0.15rem 0.45rem; border-radius: 4px;
  background: #1c1c22; border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
}

/* ===== LAYOUT PAGES ===== */
.page { padding: 1.75rem 0 3rem; }
.page-head {
  margin-bottom: 1.35rem;
}
.page-head h1 {
  font-family: var(--font);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  margin-bottom: 0.25rem;
  font-weight: 700;
}
.page-head p { color: var(--muted); font-size: 1.05rem; }

.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-accounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }

.panel { padding: 1.25rem; }
.panel h2, .panel h3 {
  font-family: var(--font);
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--pink-2);
  letter-spacing: 0;
  font-weight: 700;
}

.form-group { margin-bottom: 0.9rem; }
.form-group label {
  display: block; margin-bottom: 0.3rem;
  font-weight: 600; font-size: 0.98rem; color: #ccc;
}
.form-control {
  width: 100%;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  outline: none;
  transition: 0.2s;
  color: #f2f2f5 !important;
  caret-color: var(--pink-2);
  color-scheme: dark;
  -webkit-text-fill-color: #f2f2f5;
}
.form-control::placeholder {
  color: #8a8a98;
  opacity: 1;
  -webkit-text-fill-color: #8a8a98;
}
.form-control:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255,0,102,0.15);
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}
select.form-control option {
  background: #121216;
  color: #f2f2f5;
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.45;
}
/* Mọi ô nhập trên admin / form tối */
input:not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea {
  color: #f2f2f5;
  background-color: rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}
input[type="file"] {
  color: var(--muted);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-hint { font-size: 0.88rem; color: var(--muted); margin-top: 0.25rem; }
.auth-wrap {
  min-height: calc(100vh - 130px);
  display: grid; place-items: center;
  padding: 2rem 0;
}
.auth-card {
  width: min(100%, 420px);
  padding: 1.75rem;
}
.auth-card .logo { text-align: center; margin-bottom: 0.35rem; font-size: 1.05rem; }
.auth-card .sub { text-align: center; color: var(--muted); margin-bottom: 1.25rem; }
.auth-links { text-align: center; margin-top: 1rem; color: var(--muted); }
.auth-links a { color: var(--pink-2); font-weight: 700; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
th, td {
  text-align: left; padding: 0.75rem 0.65rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
th {
  color: var(--muted); font-weight: 600; text-transform: uppercase;
  font-size: 0.82rem; letter-spacing: 0.05em;
}
.badge {
  display: inline-flex; align-items: center;
  padding: 0.15rem 0.5rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700;
}
.badge-ok { background: rgba(34,197,94,0.15); color: var(--ok); }
.badge-warn { background: rgba(245,158,11,0.15); color: var(--warn); }
.badge-danger { background: rgba(239,68,68,0.15); color: var(--danger); }
.badge-info { background: rgba(255,0,102,0.15); color: var(--pink-2); }

.balance-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 0, 100, 0.4);
  background: rgba(255, 0, 102, 0.12);
  color: #ffd0e4;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}
.balance-chip strong {
  color: #fff;
  font-weight: 800;
}
.mobile-balance-slot {
  display: none;
}
.mobile-balance-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 0, 100, 0.45);
  background: rgba(255, 0, 102, 0.15);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.user-chip {
  font-weight: 700;
  margin: 0 0.15rem;
  color: #eee;
}
.bal-strong { color: var(--pink-2) !important; }

.stock-pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-top: 0.75rem;
}
.stock-pick-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.stock-pick-card:hover {
  border-color: rgba(255, 0, 100, 0.45);
  transform: translateY(-2px);
}
.stock-pick-card.is-selected {
  border-color: var(--pink);
  box-shadow: 0 0 0 1px rgba(255, 0, 102, 0.35);
}
.stock-pick-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #2a0010, #0a0a0c 60%);
  overflow: hidden;
  color: var(--muted);
  font-weight: 800;
  display: grid;
  place-items: center;
}
.stock-pick-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.stock-pick-body {
  padding: 0.75rem;
  display: grid;
  gap: 0.35rem;
}
.stock-pick-title { font-weight: 800; color: #fff; }
.stock-pick-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--pink-2);
  letter-spacing: 0.01em;
}
.stock-pick-meta { font-size: 0.9rem; color: #ddd; }
.stock-pick-meta strong { color: #fff; }
.stock-pick-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.35;
  min-height: 2.4em;
}
.stock-pick-body .btn { width: 100%; margin-top: 0.35rem; }

.nap-notif-list {
  display: grid;
  gap: 0.65rem;
  max-height: 280px;
  overflow: auto;
  padding-right: 0.25rem;
}
.nap-notif-item {
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
}
.nap-notif-item.is-new {
  border-color: rgba(255, 0, 100, 0.35);
  background: rgba(255, 0, 102, 0.08);
}
.nap-notif-title { font-weight: 700; margin-bottom: 0.2rem; }
.nap-notif-body { color: #ddd; font-size: 0.92rem; }
.nap-notif-time { color: var(--muted); font-size: 0.8rem; margin-top: 0.35rem; }

.qr-box {
  width: 220px; height: 220px; margin: 0 auto 1rem;
  border-radius: 12px; border: 1px dashed var(--border);
  background:
    linear-gradient(#fff 0 0) center/70% 8% no-repeat,
    linear-gradient(#fff 0 0) center/8% 70% no-repeat,
    repeating-conic-gradient(#111 0% 25%, #eee 0% 50%) 0 0 / 16px 16px;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; background: #fff; }

.feat-toggle-list { display: grid; gap: 0.65rem; }
.feat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.28);
}
.feat-label {
  display: grid;
  gap: 0.15rem;
  font-weight: 700;
  color: #eee;
}
.feat-label small { color: var(--muted); font-weight: 500; }
.feat-switch {
  position: relative;
  min-width: 72px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: #2a2a32;
  cursor: pointer;
  color: #bbb;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0 0.55rem 0 1.7rem;
  transition: 0.2s ease;
}
.feat-switch.is-on {
  background: linear-gradient(135deg, var(--pink), var(--red));
  border-color: transparent;
  color: #fff;
  padding: 0 1.7rem 0 0.55rem;
}
.feat-knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: 0.2s ease;
}
.feat-switch.is-on .feat-knob { left: calc(100% - 28px); }
.bank-info { display: grid; gap: 0.5rem; }
.bank-info div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0.7rem; border-radius: 8px; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.bank-info strong { color: var(--pink-2); }

/* Chat widget */
.chat-widget {
  position: fixed; right: 18px; bottom: 18px; z-index: 200;
}
.lobby-game-btn {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 199;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 0, 100, 0.45);
  cursor: pointer;
  background: rgba(12, 10, 14, 0.92);
  color: #ff6aa8;
  font-size: 1.35rem;
  line-height: 52px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.lobby-game-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lobby-game-btn:hover {
  border-color: var(--pink);
  transform: scale(1.05);
  box-shadow: 0 10px 28px rgba(255, 0, 102, 0.35);
}
.lobby-music-btn {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 190;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 0, 100, 0.45);
  cursor: pointer;
  background: rgba(12, 10, 14, 0.88);
  color: #ff6aa8;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.lobby-music-btn:hover {
  color: #fff;
  border-color: var(--pink);
  transform: scale(1.05);
}
.lobby-music-btn.is-on {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--red));
  border-color: transparent;
  animation: musicPulse 1.6s ease-in-out infinite;
}
.lobby-music-btn.is-waiting {
  animation: musicPulse 1.2s ease-in-out infinite;
  border-color: var(--pink);
}
@keyframes musicPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(255, 0, 102, 0.25); }
  50% { box-shadow: 0 8px 32px rgba(255, 0, 102, 0.55); }
}

/* Nốt nhạc bay khi đang phát */
.music-notes-layer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 220px;
  height: 320px;
  z-index: 185;
  pointer-events: none;
  overflow: visible;
}
.music-note {
  position: absolute;
  left: 28px;
  bottom: 56px;
  font-size: 1.1rem;
  line-height: 1;
  color: #ff6aa8;
  text-shadow: 0 0 10px rgba(255, 0, 102, 0.55);
  opacity: 0;
  will-change: transform, opacity;
  animation-name: musicNoteFly;
  animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
  animation-fill-mode: forwards;
  user-select: none;
}
.music-note.alt { color: #ffd0e4; }
.music-note.hot { color: #ff2d8a; font-size: 1.35rem; }

@keyframes musicNoteFly {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(0.55) rotate(-12deg);
  }
  12% { opacity: 1; }
  70% { opacity: 0.95; }
  100% {
    opacity: 0;
    transform: translate3d(var(--dx), var(--dy), 0) scale(var(--sc)) rotate(var(--rot));
  }
}

/* Màn hình vào sảnh — mở nhạc bằng 1 lần nhấn thật (trình duyệt bắt buộc) */
.lobby-enter-gate {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(180, 0, 50, 0.28), transparent 55%),
    linear-gradient(180deg, rgba(5, 4, 8, 0.92), rgba(5, 4, 8, 0.97));
  backdrop-filter: blur(6px);
  animation: lobbyGateIn 0.35s ease;
}
.lobby-enter-gate[hidden] { display: none !important; }
.lobby-enter-hit {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: center;
  padding: 2rem 1.5rem;
  width: min(420px, 92vw);
  display: grid;
  gap: 0.85rem;
  justify-items: center;
}
.lobby-enter-brand {
  font-family: var(--display, Orbitron, sans-serif);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 0 28px rgba(255, 0, 102, 0.45);
}
.lobby-enter-brand span { color: var(--pink-2); }
.lobby-enter-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 0, 100, 0.55);
  background: linear-gradient(135deg, var(--pink), var(--red));
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(255, 0, 102, 0.35);
  animation: lobbyCtaPulse 1.5s ease-in-out infinite;
}
.lobby-enter-sub {
  color: var(--muted);
  font-size: 0.95rem;
}
@keyframes lobbyGateIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes lobbyCtaPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(255, 0, 102, 0.35); }
  50% { transform: scale(1.03); box-shadow: 0 14px 36px rgba(255, 0, 102, 0.5); }
}
.chat-toggle {
  width: 58px; height: 58px; border-radius: 50%;
  border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--pink), var(--red));
  color: #fff; font-size: 1.4rem;
  box-shadow: 0 8px 28px var(--pink-glow);
  position: relative;
}
.chat-unread-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--pink);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}
.chat-unread-dot[hidden] { display: none !important; }
.chat-toggle.has-unread {
  animation: chatPulse 1.5s ease-in-out infinite;
}
@keyframes chatPulse {
  0%, 100% { box-shadow: 0 8px 28px var(--pink-glow); }
  50% { box-shadow: 0 8px 36px rgba(255, 0, 102, 0.75); }
}
.chat-panel {
  position: absolute; right: 0; bottom: 70px;
  width: min(360px, calc(100vw - 2rem));
  height: 460px;
  display: none; flex-direction: column;
  background: #0e0e12;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
}
.chat-panel.open { display: flex; }
.chat-head {
  padding: 0.85rem 1rem;
  background: linear-gradient(90deg, rgba(255,0,102,0.25), transparent);
  border-bottom: 1px solid rgba(255,0,100,0.2);
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700;
}
.chat-body {
  flex: 1; overflow-y: auto; padding: 0.9rem;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.msg {
  max-width: 82%; padding: 0.55rem 0.75rem; border-radius: 12px;
  font-size: 0.95rem;
}
.msg-in { align-self: flex-start; background: #1a1a22; }
.msg-out { align-self: flex-end; background: rgba(255,0,102,0.22); border: 1px solid rgba(255,0,102,0.25); }
.chat-foot {
  display: flex; gap: 0.4rem; padding: 0.7rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.chat-foot input { flex: 1; }

/* ===== ADMIN ===== */
.admin-body { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: #070709; color: var(--text); }
.admin-body input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.admin-body select,
.admin-body textarea {
  color: #f2f2f5 !important;
  -webkit-text-fill-color: #f2f2f5;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
}
.admin-body textarea {
  line-height: 1.45;
}
.admin-side {
  background: #0c0c10;
  border-right: 1px solid rgba(255,0,100,0.18);
  padding: 1.25rem 0.85rem;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-brand {
  font-family: var(--font);
  font-size: 0.95rem; font-weight: 800;
  padding: 0.4rem 0.6rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 0.9rem;
  letter-spacing: 0.02em;
}
.admin-nav a {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.65rem 0.7rem; border-radius: 10px;
  color: var(--muted); font-weight: 600; margin-bottom: 0.2rem;
  font-family: var(--font);
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,0,102,0.12); color: #fff;
}
.admin-main { padding: 1.25rem 1.5rem 2rem; font-family: var(--font); min-width: 0; }
.admin-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 0, 100, 0.35);
  background: rgba(255, 0, 102, 0.12);
  color: var(--pink-2);
  font-size: 1.2rem;
  cursor: pointer;
  place-items: center;
  flex-shrink: 0;
}
.admin-side-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 280;
  background: rgba(0, 0, 0, 0.55);
}
body.admin-nav-open .admin-side-backdrop { display: block; }

.admin-chat-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 1rem;
  min-height: 520px;
}
.admin-chat-list,
.admin-chat-pane {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.admin-chat-list-head,
.admin-chat-thread-head {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
}
.admin-chat-thread-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(255,0,102,0.25), transparent);
}
.admin-chat-back { display: none; }
.admin-thread-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
}
.admin-thread-item {
  padding: 0.85rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.15s ease;
}
.admin-thread-item:hover,
.admin-thread-item.is-active {
  background: rgba(255, 0, 102, 0.12);
  border-left: 3px solid var(--pink);
}
.admin-thread-preview {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-thread-empty,
.admin-chat-placeholder {
  padding: 1rem;
  color: var(--muted);
}
.admin-chat-pane .chat-body {
  flex: 1;
  min-height: 280px;
}
.admin-main .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.admin-main table {
  min-width: 520px;
}
.admin-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap;
}
.admin-top h1 {
  font-family: var(--font); font-size: 1.25rem; font-weight: 700;
}
.stat-card .value {
  font-family: var(--font); font-size: 1.45rem; margin-top: 0.2rem;
  color: var(--pink-2); font-weight: 700;
}
.admin-body h2, .admin-body h3, .admin-body .panel h2, .admin-body .panel h3 {
  font-family: var(--font) !important;
  font-weight: 700;
  letter-spacing: 0;
}
.stat-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem;
  margin-bottom: 1.25rem;
}
.stat-card {
  padding: 1rem 1.1rem;
  background: var(--panel-solid);
  border: 1px solid rgba(255,0,100,0.2);
  border-radius: 12px;
}
.stat-card .label { color: var(--muted); font-size: 0.9rem; }
.admin-thread-item.has-unread {
  background: rgba(255, 0, 102, 0.18);
  border-left: 3px solid var(--pink);
}
.admin-thread-unread {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}
.admin-chat-notif-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 0, 100, 0.45);
  background: rgba(255, 0, 102, 0.12);
  color: #ffd0e4;
  font-weight: 600;
}
.admin-chat-notif-bar[hidden] { display: none !important; }
.admin-chat-notif-bar strong { color: #fff; }
.notif-bell.has-alert {
  border-color: var(--pink);
  box-shadow: 0 0 12px rgba(255, 0, 102, 0.45);
}
.notif-bell .notif-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}
.upload-zone {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  background: rgba(255,0,102,0.04);
  cursor: pointer;
}
.upload-zone:hover { background: rgba(255,0,102,0.08); }
.upload-preview {
  width: 140px; height: 140px; margin: 0.75rem auto 0;
  border-radius: 12px; background: #111; border: 1px solid rgba(255,255,255,0.1);
  display: grid; place-items: center; overflow: hidden;
}
.upload-preview img { width: 100%; height: 100%; object-fit: contain; }
.media-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.9rem;
}
.media-item {
  background: #111; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; overflow: hidden;
}
.media-item .thumb {
  aspect-ratio: 16/10; background: #1a1a1f;
  display: grid; place-items: center; color: var(--muted);
}
.media-item .meta { padding: 0.65rem; font-size: 0.9rem; }
.toast {
  position: fixed; top: 18px; right: 18px; z-index: 300;
  background: #15151c; border: 1px solid var(--pink);
  border-radius: 12px; padding: 0.85rem 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: none; min-width: 260px;
}
.toast.show { display: block; animation: slideIn 0.3s ease; }
@keyframes slideIn {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.hub-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem;
}
.hub-card {
  padding: 1.25rem; transition: 0.2s;
}
.hub-card:hover {
  border-color: var(--pink);
  box-shadow: 0 0 24px var(--pink-glow);
  transform: translateY(-2px);
}
.hub-card h3 { margin-bottom: 0.35rem; color: #fff; font-size: 1.15rem; }
.hub-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.9rem; }
.tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  padding: 0.15rem 0.45rem; border-radius: 6px;
  background: rgba(255,0,102,0.15); color: var(--pink-2);
  margin-bottom: 0.55rem; text-transform: uppercase;
}

@media (max-width: 960px) {
  .grid-2, .stat-cards { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .nav-links { display: none !important; }
  .menu-toggle { display: grid; }
  .nav {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  .logo {
    font-size: 0.78rem;
    max-width: 32vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-balance-slot {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    min-width: 0;
    padding: 0 0.25rem;
  }
  .mobile-balance-slot[hidden] {
    display: none !important;
  }
  .mobile-balance-chip {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-right {
    margin-left: auto;
    flex-shrink: 0;
    gap: 0.35rem;
  }
  .nav-right .btn-sm {
    padding: 0.3rem 0.5rem;
    font-size: 0.72rem;
  }
  .balance-chip {
    display: none;
  }
  .user-chip {
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
  }
  .cart-btn {
    width: 36px;
    height: 36px;
  }
  .admin-body { grid-template-columns: 1fr; }
  .admin-menu-toggle { display: grid; }
  .admin-top h1 { font-size: 1.05rem; }
  .admin-main { padding: 1rem 0.85rem 1.5rem; }
  .admin-side {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(280px, 88vw);
    height: 100vh;
    z-index: 290;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.45);
  }
  body.admin-nav-open .admin-side {
    transform: translateX(0);
  }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .admin-chat-layout {
    grid-template-columns: 1fr;
    min-height: calc(100dvh - 120px);
  }
  .admin-chat-layout.show-thread .admin-chat-list { display: none; }
  .admin-chat-layout:not(.show-thread) .admin-chat-pane { display: none; }
  .admin-chat-back { display: inline-flex; }
  .admin-chat-pane .chat-body {
    min-height: calc(100dvh - 240px);
  }
  .chat-panel {
    width: min(360px, calc(100vw - 1.25rem));
    height: min(460px, calc(100dvh - 100px));
  }
  .stats-body { grid-template-columns: 1fr; }
  .hero {
    min-height: 0;
    aspect-ratio: 2.35 / 1;
    max-height: 38vh;
  }
  .hero-media {
    object-position: center 35%;
  }
  .hero-content {
    display: none;
  }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.22) 55%, rgba(0,0,0,0.38) 100%);
  }
  .shop-stage {
    padding: 1.25rem 0 2rem;
  }
  .stock-pick-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .container { width: min(100% - 1.25rem, var(--max)); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { justify-content: center; text-align: center; }
  .site-header .nav {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .logo {
    font-size: 0.82rem;
    max-width: 52vw;
    line-height: 1.2;
  }
  .stat-cards { grid-template-columns: 1fr; }
  .admin-top {
    gap: 0.5rem;
  }
  .admin-top h1 {
    flex: 1;
    min-width: 0;
  }
  .nav-right {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .hero {
    aspect-ratio: 2.2 / 1;
    max-height: 34vh;
  }
  .hero-content {
    display: none;
  }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.92) 100%),
      radial-gradient(circle at 70% 40%, rgba(180,0,40,0.2), transparent 50%);
  }
  .music-notes-layer {
    opacity: 0.45;
  }
  .lobby-music-btn {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    left: calc(0.75rem + env(safe-area-inset-left, 0px));
  }
  .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.65rem 0 1rem;
    gap: 0.55rem;
  }
  .acc-card {
    min-height: auto;
  }
  .acc-card-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .acc-card-foot {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 0.45rem 0.5rem;
    gap: 0.4rem;
    font-size: 0.78rem;
  }
  .acc-card-foot span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .acc-card-foot .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.68rem;
    padding: 0.35rem 0.45rem;
  }
  .lobby-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .lobby-gallery img {
    aspect-ratio: 4/3;
  }
  .detail-hero-media {
    min-height: 220px;
    max-height: none;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ===== ACC DETAIL & LOBBY ===== */
.lobby-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}
.lobby-gallery img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 0 16px rgba(255,0,102,0.12);
}
.acc-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 2;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}
.detail-gallery {
  padding: 0 !important;
  overflow: hidden;
}
.detail-hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 280px;
  max-height: 480px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 24px rgba(255,0,102,0.18);
  background: linear-gradient(145deg, #2a0010, #0a0a0c 60%);
}
.detail-hero-media .detail-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.detail-hero-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
}
.detail-main-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #111;
}
.detail-thumbs {
  display: none;
}
.detail-thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
}
.detail-thumbs img.active,
.detail-thumbs img:hover { border-color: var(--pink); }
.admin-acc-row {
  display: grid;
  grid-template-columns: 56px 72px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.admin-acc-row img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  background: #111;
  display: block;
  position: relative;
  z-index: 2;
}
.admin-acc-thumb {
  width: 72px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1f;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.admin-acc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}
.img-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.img-chip { position: relative; width: 88px; }
.img-chip img {
  width: 88px;
  height: 66px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
}
.img-chip .ord {
  position: absolute; left: 4px; top: 4px;
  background: var(--pink); color: #fff;
  font-size: 0.7rem; font-weight: 800;
  padding: 0 4px; border-radius: 4px;
}
.img-chip .rm {
  position: absolute; right: 2px; top: 2px;
  border: none; background: rgba(0,0,0,0.7); color: #fff;
  border-radius: 4px; cursor: pointer; width: 22px; height: 22px;
}
@media (max-width: 960px) {
  .detail-layout { grid-template-columns: 1fr; }
}

/* ===== Ảnh nền khu danh mục Acc ===== */
.shop-stage {
  position: relative;
  isolation: isolate;
  padding: 1.75rem 0 2.75rem;
  overflow: hidden;
}
.shop-stage-bg.is-empty .shop-stage-media {
  display: none !important;
}
.shop-stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #08060a;
}
.shop-stage-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.shop-stage-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,8,0.55) 0%, rgba(5,5,8,0.72) 45%, rgba(5,5,8,0.92) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.45), transparent 30%, transparent 70%, rgba(0,0,0,0.45));
  pointer-events: none;
}
.shop-stage > .container {
  position: relative;
  z-index: 1;
}
.shop-stage .feature-row {
  padding-top: 0.5rem;
  padding-bottom: 1.25rem;
}
.shop-stage .glass {
  background: rgba(8, 8, 12, 0.78);
  backdrop-filter: blur(12px);
}
