/* ==========================================================================
   NHỊP SỐNG VIỆT - OPEN WORLD 3D HUD & ANIMATED 3D LOGIN STYLES (src/styles/v5.css)
   ========================================================================== */

/* 1. Animated 3D Landing & Login Screen */
.login-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.login-webgl-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0b388c 0%, #1e78d6 55%, #4d9e56 100%);
  z-index: 1;
}

.landing-topnav {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 68px;
  padding: 0 28px;
  background: rgba(11, 19, 38, 0.86);
  border-bottom: 1.5px solid rgba(250, 204, 21, 0.35);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 12;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  font-size: 19px;
  font-weight: 900;
}

.landing-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.landing-nav-links {
  display: flex;
  gap: 8px;
}

.landing-nav-links button {
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: transparent;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 800;
}

.landing-nav-links button.active,
.landing-nav-links button:hover {
  background: rgba(56, 189, 248, 0.18);
  color: #facc15;
  border-bottom: 2px solid #facc15;
}

.landing-top-actions {
  display: flex;
  gap: 10px;
}

.top-btn-outline {
  height: 40px;
  padding: 0 18px;
  border-radius: 99px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  border: 1.5px solid #94a3b8;
  font-size: 13px;
  font-weight: 800;
}

.top-btn-gold {
  height: 40px;
  padding: 0 20px;
  border-radius: 99px;
  background: linear-gradient(180deg, #fde047 0%, #eab308 100%);
  color: #0b1326;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.4);
}

.game-brand-card {
  position: absolute;
  left: clamp(24px, 5vw, 76px);
  top: 52%;
  transform: translateY(-50%);
  width: min(580px, 52vw);
  z-index: 10;
  background: rgba(11, 19, 38, 0.62);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  padding: 24px 28px;
  backdrop-filter: blur(10px);
  color: #ffffff;
}

.hero-master-logo {
  width: 240px;
  height: auto;
  display: block;
  margin-bottom: 8px;
}

.hero-3d-heading {
  font-size: clamp(36px, 4.2vw, 56px) !important;
  line-height: 1.08 !important;
  margin: 0 0 12px !important;
  color: #ffffff !important;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.65) !important;
}

.hero-3d-heading span {
  color: #facc15 !important;
}

.game-brand-card .lead {
  color: #e2e8f0 !important;
  font-size: 15px !important;
  margin: 10px 0 18px !important;
}

.landing-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gold-pill-cta {
  height: 54px !important;
  padding: 0 26px !important;
  border-radius: 99px !important;
  background: linear-gradient(180deg, #fde047 0%, #f59e0b 100%) !important;
  color: #0b1326 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  box-shadow: 0 6px 0 #b45309, 0 12px 24px rgba(245, 158, 11, 0.4) !important;
}

.blue-pill-cta {
  height: 54px !important;
  padding: 0 26px !important;
  border-radius: 99px !important;
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  box-shadow: 0 6px 0 #0369a1, 0 12px 24px rgba(2, 132, 199, 0.4) !important;
}

.landing-feature-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.feat-badge {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(19, 41, 82, 0.88);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 800;
}

.feat-badge:hover {
  border-color: #facc15;
  color: #facc15;
}

.landing-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52px;
  padding: 0 28px;
  background: rgba(11, 19, 38, 0.9);
  border-top: 1.5px solid rgba(250, 204, 21, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #cbd5e1;
  font-size: 13px;
  z-index: 12;
}

.footer-left-brand b {
  color: #facc15;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links a {
  color: #f8fafc;
  text-decoration: none;
  font-weight: 700;
}

.footer-links a:hover {
  color: #facc15;
}

/* Auth & OTP Panel */
.auth-panel {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  top: 52%;
  transform: translateY(-50%);
  width: min(420px, calc(100vw - 32px));
  max-height: 82vh;
  overflow-y: auto;
  background: rgba(15, 23, 42, 0.96);
  color: #f1f5f9;
  border: 2px solid #eab308;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  z-index: 35;
}

.auth-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.auth-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-head small {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #facc15;
}

.auth-head h3 {
  margin: 2px 0 0;
  font-size: 20px;
  color: #ffffff;
}

.auth-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #24324a;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.auth-tabs {
  display: flex;
  gap: 6px;
  background: #09101d;
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.auth-tab {
  flex: 1;
  height: 34px;
  border-radius: 8px;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
}

.auth-tab.active {
  background: #1d4ed8;
  color: #ffffff;
}

.auth-alert {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  background: #1e293b;
  color: #e2e8f0;
  border: 1px solid #475569;
}

.auth-alert.error {
  background: #451a1f;
  color: #fecdd3;
  border-color: #ef4444;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid #334155;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  background: #09101d;
  color: #ffffff;
}

.pw-field-wrap {
  display: flex;
  gap: 6px;
}

.pw-toggle {
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  background: #1e293b;
  color: #facc15;
  font-size: 11px;
  font-weight: 800;
}

.auth-checkbox {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 8px !important;
  font-size: 12px !important;
}

.auth-checkbox a {
  color: #facc15;
}

.auth-submit {
  height: 44px;
  border-radius: 10px;
  background: #facc15;
  color: #0b1326;
  font-weight: 900;
  font-size: 13px;
}

.auth-secondary {
  height: 38px;
  border-radius: 10px;
  background: #24324a;
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  padding: 0 12px;
}

.auth-row-btns {
  display: flex;
  gap: 8px;
}

.auth-row-btns .auth-submit {
  flex: 1;
}

.otp-notice {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #cbd5e1;
  background: #09101d;
  padding: 10px;
  border-radius: 8px;
}

/* ==========================================================================
   2. PROFESSIONAL OPEN WORLD 3D HUD LAYOUT (Part VIII Specification)
   - Top-Left: Avatar, Name, Level, XP
   - Top-Center: Event/Announcement Banner
   - Top-Right: Money, Inventory, Control Center, Settings
   - Left: Chat & Community
   - Right: Quests Tracker
   - Bottom: Action Toolbar
   - Center: 3D World + Floating Player Nameplate
   ========================================================================== */

.world-3d-viewport {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  background: #0b1326;
}

#worldCanvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  outline: none;
}

.player-3d-nameplate {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -100%);
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(11, 19, 38, 0.82);
  border: 1.5px solid #facc15;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
  z-index: 12;
  white-space: nowrap;
}

/* Top-Left HUD */
.hud-top-left {
  position: absolute;
  left: 16px;
  top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 20;
}

.hud-avatar-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid #334155;
  border-radius: 16px;
  color: #ffffff;
  text-align: left;
}

.hud-avatar-ring {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #1e3a8a;
  position: relative;
  overflow: hidden;
  display: block;
}

.hud-player-meta strong {
  display: block;
  font-size: 14px;
}

.hud-lv-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #fde047;
  margin-top: 3px;
}

.hud-lv-row .xp {
  width: 78px;
  height: 7px;
  background: #1e293b;
  border: 1px solid #475569;
}

.hud-zone-pill {
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid #334155;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
}

.hud-zone-pill b {
  color: #facc15;
}

/* Top-Center Event Banner */
.hud-top-center {
  position: absolute;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  padding: 7px 18px;
  border-radius: 99px;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(250, 204, 21, 0.45);
  color: #fef08a;
  font-size: 12px;
  font-weight: 800;
  z-index: 18;
  pointer-events: none;
  white-space: nowrap;
}

/* Top-Right HUD */
.hud-top-right {
  position: absolute;
  right: 16px;
  top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
}

.hud-resource-pill {
  padding: 6px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid #eab308;
  color: #ffffff;
}

.hud-resource-pill small {
  display: block;
  font-size: 9px;
  font-weight: 900;
  color: #fde047;
}

.hud-resource-pill b {
  font-size: 14px;
}

.hud-icon-btn {
  height: 40px;
  padding: 0 13px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid #334155;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 800;
}

.hud-icon-btn:hover {
  border-color: #facc15;
  color: #facc15;
}

/* Collapsible Control Center Popover */
.control-center-panel {
  position: absolute;
  right: 16px;
  top: 64px;
  width: 280px;
  background: rgba(15, 23, 42, 0.95);
  border: 1.5px solid #eab308;
  border-radius: 16px;
  padding: 14px;
  color: #f8fafc;
  z-index: 30;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.cc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
}

.cc-head button {
  padding: 4px 8px;
  border-radius: 6px;
  background: #1e293b;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 800;
}

.cc-grid {
  display: grid;
  gap: 6px;
  font-size: 12px;
  margin-bottom: 10px;
}

.cc-grid div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px;
  background: #09101d;
  border-radius: 8px;
}

.cc-grid kbd {
  padding: 2px 7px;
  border-radius: 5px;
  background: #1d4ed8;
  color: #ffffff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
}

.cc-config-btn {
  width: 100%;
  height: 34px;
  border-radius: 8px;
  background: #eab308;
  color: #0b1326;
  font-size: 11px;
  font-weight: 900;
}

/* Right HUD: Collapsible Quest Tracker */
.hud-right-quests {
  position: absolute;
  right: 16px;
  top: 105px;
  width: 245px;
  background: rgba(15, 23, 42, 0.88);
  border: 1.5px solid #334155;
  border-radius: 14px;
  padding: 10px 12px;
  color: #f8fafc;
  z-index: 16;
}

.qt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #facc15;
}

.qt-head button {
  background: #1e293b;
  color: #fff;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 11px;
}

.qt-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.qt-item {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(9, 16, 29, 0.75);
  font-size: 11px;
}

.qt-item b {
  display: block;
  color: #38bdf8;
}

.qt-item span {
  color: #cbd5e1;
}

/* Left HUD: Multiplayer & Chat Dock */
.mp-dock {
  position: absolute;
  left: 16px;
  bottom: 74px;
  width: min(320px, calc(100vw - 32px));
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  border: 1.5px solid #334155;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 16;
}

.mp-dock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.mp-mini-btn {
  background: #1d4ed8;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  margin-left: 4px;
}

.mp-players-list {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 3px;
  font-size: 11px;
}

.mp-player-chip {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 6px;
  background: #14532d;
  border: 1px solid #22c55e;
  color: #dcfce7;
  font-weight: 800;
}

.mp-chat-log {
  height: 72px;
  overflow-y: auto;
  background: #09101d;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mp-chat-line b {
  color: #38bdf8;
}

.mp-chat-form {
  display: flex;
  gap: 6px;
}

.mp-chat-form input {
  flex: 1;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #09101d;
  color: #ffffff;
  padding: 0 10px;
  font-size: 12px;
}

.mp-chat-form button {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: #eab308;
  color: #0b1326;
  font-weight: 900;
  font-size: 12px;
}

/* Bottom Action Toolbar */
.hud-bottom-bar {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.92);
  border: 1.5px solid #334155;
  border-radius: 16px;
  z-index: 20;
  width: max-content;
  max-width: calc(100vw - 24px);
  overflow-x: auto;
  scrollbar-width: none;
}
.hud-bottom-bar::-webkit-scrollbar {
  display: none;
}

.hud-bottom-bar button {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 13px;
  border-radius: 10px;
  background: #1e293b;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 800;
}

.hud-bottom-bar button.active,
.hud-bottom-bar button:hover {
  background: #eab308;
  color: #0b1326;
}

.hud-interact-prompt {
  position: absolute;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  border: 2px solid #facc15;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 14px;
  z-index: 22;
}

.webgl-fallback-banner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #141c2b;
  color: #ffffff;
  border: 2px solid #eab308;
  border-radius: 16px;
  padding: 24px;
  max-width: 480px;
  text-align: center;
  z-index: 25;
}

/* Mobile Controls */
.mobile-controls {
  position: absolute;
  right: 16px;
  bottom: 72px;
  display: none;
  align-items: flex-end;
  gap: 14px;
  z-index: 18;
}

.virtual-joystick {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  border: 2px solid #475569;
  position: relative;
  touch-action: none;
}

.joystick-knob {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #facc15;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.mobile-action-btns {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 6px;
}

.mob-btn {
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  border: 1.5px solid #475569;
  font-size: 11px;
  font-weight: 900;
}

.mob-btn.primary {
  background: #eab308;
  color: #0b1326;
  grid-column: 1 / 3;
}

/* Career Library Topbar */
.game-library {
  inset: 0 !important;
}

.library-topbar {
  padding: 16px 28px;
  background: #0b1326;
  border-bottom: 1px solid #1e293b;
}

/* Modals & 3D Mini-Game Shell */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(10, 15, 25, 0.84);
  display: grid;
  place-items: center;
  padding: 16px;
}

.mg-hub {
  width: min(1060px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #141c2b;
  color: #f1f5f9;
  border-radius: 20px;
  border: 2px solid #2e3d59;
  padding: 22px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
}

.mg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.mg-header small {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #eab308;
}

.mg-header h2 {
  margin: 4px 0 0;
  font-size: 22px;
  color: #ffffff;
}

.mg-close {
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  background: #24324a;
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
}

.mg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 12px;
}

.mg-card {
  background: #1c273b;
  border: 1.5px solid #2e3d59;
  border-radius: 14px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mg-card-bar {
  width: 42px;
  height: 6px;
  border-radius: 3px;
  background: var(--mgc, #3b66d6);
}

.mg-card small {
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
}

.mg-card h3 {
  margin: 0;
  font-size: 16px;
  color: #ffffff;
}

.mg-card p {
  margin: 0;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.45;
  flex: 1;
}

.mg-meta {
  font-size: 11px;
  font-weight: 800;
  color: #eab308;
}

.mg-start-btn {
  height: 38px;
  border-radius: 8px;
  background: #2b4c7e;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.mg-rules-box {
  background: #1c273b;
  border-radius: 14px;
  border: 1.5px solid #2e3d59;
  padding: 18px;
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.mg-rules-box p {
  margin: 4px 0 0;
  color: #cbd5e1;
  font-size: 13px;
}

.mg-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mg-hud-pills {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mg-pill {
  padding: 6px 12px;
  border-radius: 8px;
  background: #0d131f;
  border: 1px solid #334155;
  font-size: 12px;
  color: #e2e8f0;
}

.mg-viewport-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#mgCanvas3D {
  width: 100%;
  height: 380px;
  background: #0d131f;
  border-radius: 12px;
  border: 2px solid #2e3d59;
  display: block;
}

.mg-touch-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.mg-ctrl-btn {
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: #24324a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.mg-ctrl-btn.primary {
  background: #d99b38;
  color: #0d131f;
}

.career-tools-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.career-tools-bar::-webkit-scrollbar {
  display: none;
}

.tool-pill {
  padding: 6px 10px;
  border-radius: 10px;
  background: #141c2b;
  color: #f8fafc;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.admin-stat-card {
  background: #1c273b;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #2e3d59;
}

.admin-stat-card small {
  display: block;
  font-size: 10px;
  font-weight: 900;
  color: #94a3b8;
}

.admin-stat-card b {
  font-size: 22px;
  color: #ffffff;
}

.admin-sections {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-box {
  background: #1c273b;
  border-radius: 12px;
  border: 1px solid #2e3d59;
  padding: 14px;
}

.admin-box h3 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #eab308;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #2e3d59;
}

.admin-btn {
  padding: 5px 9px;
  border-radius: 6px;
  background: #2b4c7e;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  margin-right: 4px;
}

.badge-role {
  padding: 3px 8px;
  border-radius: 6px;
  background: #2b4c7e;
  color: #ffffff;
  font-weight: 800;
}

@media (max-width: 960px) {
  .landing-nav-links,
  .hud-top-center,
  .hud-right-quests,
  .mp-dock {
    display: none;
  }
  .game-brand-card {
    width: calc(100vw - 32px);
    left: 16px;
    top: 46%;
    padding: 18px;
  }
  .hero-master-logo {
    width: 175px;
  }
  .mobile-controls {
    display: flex;
    right: 12px;
    left: 12px;
    bottom: 66px;
    justify-content: space-between;
  }
  .hud-interact-prompt {
    bottom: 172px;
    width: calc(100vw - 32px);
    text-align: center;
    font-size: 12px;
    padding: 8px 12px;
  }
}

.world-bottom-toolbar::-webkit-scrollbar { display: none; }
