/* Left off-canvas mobile drawer — links + auth actions. */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(6, 14, 16, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 56;
  width: min(320px, 84vw);
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--bg-1);
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.drawer-head .brand { font-size: 1.05rem; }

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  font-size: 16px;
  display: grid;
  place-items: center;
}
.drawer-close:hover { background: var(--surface-2); color: var(--ink); }

.drawer-links { display: flex; flex-direction: column; gap: 4px; }
.drawer-links a {
  padding: 13px 14px;
  border-radius: 12px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.drawer-links a:hover { background: var(--surface); color: var(--ink); }

.drawer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.drawer-guest, .drawer-authed { display: flex; flex-direction: column; gap: 10px; }
