/* ==========================================================================
   03-menu-troi MENU TRỜI (ALL BUTTON)
   Tách từ index.html: <style> dòng 254–331 (giữ nguyên 100% nội dung).
   Nút tròn thả nổi + bảng menu toàn trang.
   ========================================================================== */
/* ============ ALL BUTTON ============ */
.all-btn {
  position: fixed;
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--navy);
  display: grid; place-items: center;
  cursor: grab; z-index: 300;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.08);
  user-select: none; -webkit-user-select: none;
  touch-action: none;
  transition: background 0.2s ease, transform 0.15s ease;
  will-change: left, top;
  padding: 0;
  border: none;
}
.all-btn:active { cursor: grabbing; }
.all-btn:hover { background: var(--navy-bright); transform: scale(1.04); }
.all-btn.dragging { transition: none; cursor: grabbing; }
.all-btn img {
  width: 18px; height: 18px;
  pointer-events: none;
  user-select: none;
  display: block;
  opacity: 0.95;
}

.all-panel-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 290;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}
.all-panel-overlay.open { opacity: 1; visibility: visible; }
.all-panel {
  position: fixed; z-index: 295;
  width: 320px; max-height: 78vh;
  overflow-y: auto;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 14px;
  opacity: 0; visibility: hidden;
  transform: scale(0.96) translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.all-panel::-webkit-scrollbar { width: 4px; }
.all-panel::-webkit-scrollbar-track { background: transparent; }
.all-panel::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }
.all-panel.open { opacity: 1; visibility: visible; transform: scale(1) translateY(0); }
.all-panel h3 {
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-4);
  margin: 14px 10px 4px; font-weight: 600;
}
.all-panel h3:first-child { margin-top: 2px; }
.all-panel a {
  display: flex; align-items: center;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-2); text-decoration: none;
  font-size: 13px; font-weight: 500;
  transition: all 0.15s ease;
  letter-spacing: -0.005em;
}
.all-panel a:hover { background: #1a1a1a; color: var(--text); }
.all-panel .divider {
  height: 1px;
  background: var(--border);
  margin: 8px 10px;
}
