/* Snooker V65: isolated navigation drawer styles.
   Snooker does not load global style.css, so fullscreen.js drawer appeared inline. */
body[data-game="snooker"]{--panel-bg:#10192b;--panel-border:#2e425a;--text-muted:#c0d4e0;--primary-accent:#78f1d1;--primary-accent-rgb:120,241,209;--secondary-accent:#78f1d1;--font-mono:"Share Tech Mono",monospace;--transition-smooth:all .2s ease;}
body[data-game="snooker"] .mobile-drawer-overlay{display:block!important;}
body[data-game="snooker"] .mobile-drawer{display:flex!important;}
body[data-game="snooker"] .mobile-drawer:not(.active){visibility:hidden!important;pointer-events:none!important;transform:translateX(105%)!important;}
body[data-game="snooker"] .mobile-drawer-overlay:not(.active){opacity:0!important;pointer-events:none!important;}
body[data-game="snooker"] .mobile-drawer-header img{display:block;max-width:160px;max-height:38px;width:auto;height:auto;}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--panel-bg);
  border-left: 1px solid var(--panel-border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
  transform: translateX(105%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  overflow-y: auto;
  padding: 24px;
  gap: 20px;
}

.mobile-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 16px;
}

.drawer-close-btn {
  background: transparent;
  border: 1px solid var(--panel-border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-smooth);
}

.drawer-close-btn:hover {
  color: var(--primary-accent);
  border-color: var(--primary-accent);
}

.mobile-drawer-player {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 12px;
}

.drawer-player-avatar {
  font-size: 28px;
}

.drawer-player-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.drawer-player-xp {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  color: var(--secondary-accent);
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.drawer-link:hover,
.drawer-link.active {
  color: var(--primary-accent);
  background: rgba(var(--primary-accent-rgb), 0.1);
  transform: translateX(4px);
}

.mobile-drawer-actions {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--panel-border);
}

.drawer-action-btn {
  width: 100%;
  background: rgba(var(--primary-accent-rgb), 0.15);
  border: 1px solid rgba(var(--primary-accent-rgb), 0.4);
  color: var(--primary-accent);
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.drawer-action-btn:hover {
  background: var(--primary-accent);
  color: #000;
}

