/**
 * =========================================
 * DRAWER - Bottom Sheet Component
 * =========================================
 *
 * Mobile drawer that slides up from bottom
 * Used for chat, leaderboard, and other secondary content
 *
 * States: closed, open, full-height
 * Supports: swipe gestures, backdrop, sticky header
 */

/* ============================================
 * DRAWER BACKDROP
 * ============================================ */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: var(--z-drawer-backdrop, 1099);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  backdrop-filter: blur(2px);
}

.drawer-backdrop.is-visible {
  opacity: 1;
  pointer-events: all;
}

/* ============================================
 * DRAWER CONTAINER
 * ============================================ */

.drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform var(--duration-base) var(--ease-out);
  z-index: var(--z-drawer, 1100);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.drawer.is-open {
  transform: translateY(0);
}

/* Full height variant */
.drawer--full {
  max-height: 95vh;
}

/* Hide on tablet and above (use sidebars instead) */
/* Exception: Chat drawer stays visible on desktop */
@media (min-width: 768px) {
  .drawer:not(.drawer--chat),
  .drawer-backdrop:not(#chat-backdrop) {
    display: none;
  }

  /* Chat drawer - positioned as side panel on desktop */
  .drawer--chat {
    left: auto;
    right: 0;
    top: 0;
    bottom: 0;
    width: 380px;
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
    transform: translateX(100%);
  }

  .drawer--chat.is-open {
    transform: translateX(0);
  }

  #chat-backdrop {
    display: block;
  }
}

/* ============================================
 * DRAWER HANDLE (Swipe Indicator)
 * ============================================ */

.drawer__handle {
  display: flex;
  justify-content: center;
  padding: var(--spacing-sm) 0;
  cursor: grab;
  touch-action: none; /* Prevent scroll while dragging */
}

.drawer__handle:active {
  cursor: grabbing;
}

.drawer__handle-bar {
  width: 40px;
  height: 4px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.drawer__handle:hover .drawer__handle-bar,
.drawer__handle:active .drawer__handle-bar {
  background: var(--color-text-tertiary);
}

/* ============================================
 * DRAWER HEADER
 * ============================================ */

.drawer__header {
  padding: 0 var(--spacing-lg) var(--spacing-md);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  background: var(--color-bg-primary);
  position: sticky;
  top: 0;
  z-index: 1;
}

.drawer__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin: 0;
  font-family: var(--font-display);
}

.drawer__subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin: var(--spacing-xs) 0 0;
}

.drawer__actions {
  display: flex;
  gap: var(--spacing-sm);
}

.drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: all var(--transition-fast);
  padding: 0;
}

.drawer__close:hover {
  background: var(--color-bg-hover);
  border-color: var(--color-accent-gold);
  transform: rotate(90deg);
}

/* ============================================
 * DRAWER CONTENT
 * ============================================ */

.drawer__content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--spacing-lg);
  -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
}

/* Custom scrollbar */
.drawer__content::-webkit-scrollbar {
  width: 8px;
}

.drawer__content::-webkit-scrollbar-track {
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-full);
}

.drawer__content::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-full);
}

.drawer__content::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-tertiary);
}

/* Empty state */
.drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xxl);
  text-align: center;
  color: var(--color-text-secondary);
}

.drawer__empty-icon {
  font-size: 48px;
  margin-bottom: var(--spacing-md);
  opacity: 0.5;
}

.drawer__empty-text {
  font-size: var(--font-size-md);
}

/* ============================================
 * DRAWER FOOTER (Optional)
 * ============================================ */

.drawer__footer {
  padding: var(--spacing-md) var(--spacing-lg);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-primary);
  flex-shrink: 0;
}

/* ============================================
 * DRAWER VARIANTS
 * ============================================ */

/* Chat drawer */
.drawer--chat .drawer__header {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(91, 72, 199, 0.1));
}

.drawer--chat .drawer__title {
  color: var(--color-accent-purple);
}

/* Leaderboard drawer */
.drawer--leaderboard .drawer__header {
  background: linear-gradient(135deg, rgba(252, 211, 77, 0.1), rgba(220, 188, 72, 0.1));
}

.drawer--leaderboard .drawer__title {
  color: var(--color-accent-gold);
}

.drawer--leaderboard .drawer__subtitle {
  font-size: var(--font-size-sm);
}

/* Old Questions drawer */
.drawer--old-questions .drawer__header {
  background: linear-gradient(135deg, rgba(147, 197, 253, 0.2), rgba(167, 139, 250, 0.2));
}

.drawer--old-questions .drawer__title {
  color: #3b82f6;
  font-weight: 600;
}

.drawer--old-questions .drawer__subtitle {
  font-size: var(--font-size-sm);
  color: #60a5fa;
}

.drawer--old-questions .drawer__content {
  padding: 0;
  background: linear-gradient(to bottom, #f1f5f9 0%, #ffffff 100%);
}

.drawer--old-questions .old-question-section {
  max-height: none;
  border: none;
  box-shadow: none;
  background: transparent;
  padding: var(--spacing-sm);
}

.drawer--old-questions .question-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.drawer--old-questions .question-content,
.drawer--old-questions .answer-text {
  color: #1e293b;
}

.drawer--old-questions .question-id,
.drawer--old-questions .question-label {
  color: #64748b;
}

.drawer--old-questions .timestamp {
  color: #94a3b8;
}

/* Responsive drawer header */
@media (max-width: 359px) {
  .drawer--leaderboard .drawer__title {
    font-size: 1.1em;
  }

  .drawer--leaderboard .drawer__subtitle {
    font-size: 0.75em;
  }

  .drawer--leaderboard .drawer__header {
    padding: 0 var(--spacing-md) var(--spacing-sm);
  }

  .drawer--old-questions .drawer__title {
    font-size: 1.1em;
  }

  .drawer--old-questions .drawer__subtitle {
    font-size: 0.75em;
  }

  .drawer--old-questions .drawer__header {
    padding: 0 var(--spacing-md) var(--spacing-sm);
  }
}

/* Leaderboard content styles - Modern Design */
.drawer--leaderboard .drawer__content {
  padding: 12px;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

/* Leaderboard list - Modern styling matching sidebar */
.history-list--leaderboard {
  list-style: none;
  margin: 0;
  padding: 0;
  /* Override conflicting .history-list styles */
  overflow-y: visible !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: none !important;
  max-height: none !important;
}

/* Import modern leaderboard styles for drawer */
.history-list--leaderboard .top-player-item {
  margin-bottom: 10px;
  padding: 14px 16px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.history-list--leaderboard .top-player-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #667eea, #764ba2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.history-list--leaderboard .top-player-item.today-player::before {
  background: linear-gradient(to bottom, #667eea, #764ba2);
}

.history-list--leaderboard .top-player-item.alltime-player::before {
  background: linear-gradient(to bottom, #f093fb, #f5576c);
}

/* Top 3 special styling - Premium Design */

/* 1st Place - Rich Gold */
.history-list--leaderboard .top-player-item:nth-child(1) {
  background: linear-gradient(135deg,
    rgba(191, 149, 63, 0.25) 0%,
    rgba(252, 246, 186, 0.15) 50%,
    rgba(179, 135, 40, 0.2) 100%);
  border: 2px solid rgba(219, 180, 0, 0.5);
  box-shadow:
    0 4px 20px rgba(219, 180, 0, 0.4),
    0 0 40px rgba(252, 246, 186, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.history-list--leaderboard .top-player-item:nth-child(1)::before {
  background: linear-gradient(to bottom,
    #BF953F,
    #FCF6BA,
    #B38728,
    #AA771C);
  opacity: 1;
  width: 6px;
  box-shadow: 0 0 10px rgba(191, 149, 63, 0.8);
}

/* 2nd Place - Premium Silver */
.history-list--leaderboard .top-player-item:nth-child(2) {
  background: linear-gradient(135deg,
    rgba(179, 182, 181, 0.2) 0%,
    rgba(215, 215, 215, 0.12) 50%,
    rgba(161, 162, 163, 0.18) 100%);
  border: 2px solid rgba(180, 180, 180, 0.45);
  box-shadow:
    0 3px 16px rgba(179, 182, 181, 0.35),
    0 0 30px rgba(215, 215, 215, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.history-list--leaderboard .top-player-item:nth-child(2)::before {
  background: linear-gradient(to bottom,
    #B3B6B5,
    #D7D7D7,
    #8E8D8D,
    #A1A2A3);
  opacity: 1;
  width: 5px;
  box-shadow: 0 0 8px rgba(179, 182, 181, 0.7);
}

/* 3rd Place - Rich Bronze */
.history-list--leaderboard .top-player-item:nth-child(3) {
  background: linear-gradient(135deg,
    rgba(173, 138, 86, 0.22) 0%,
    rgba(156, 122, 60, 0.14) 50%,
    rgba(128, 74, 0, 0.2) 100%);
  border: 2px solid rgba(176, 141, 87, 0.45);
  box-shadow:
    0 3px 14px rgba(173, 138, 86, 0.32),
    0 0 25px rgba(156, 122, 60, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.history-list--leaderboard .top-player-item:nth-child(3)::before {
  background: linear-gradient(to bottom,
    #B08D57,
    #9C7A3C,
    #895E1A,
    #804A00);
  opacity: 1;
  width: 5px;
  box-shadow: 0 0 8px rgba(176, 141, 87, 0.7);
}

.history-list--leaderboard .player-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.history-list--leaderboard .player-info strong {
  font-size: 1em;
  font-weight: 600;
  color: #1a1a2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-list--leaderboard .top-player-item:nth-child(1) .player-info strong {
  background: linear-gradient(135deg, #BF953F 0%, #D1AE15 50%, #AA771C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.history-list--leaderboard .top-player-item:nth-child(2) .player-info strong {
  background: linear-gradient(135deg, #A1A2A3 0%, #B3B6B5 50%, #8E8D8D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.history-list--leaderboard .top-player-item:nth-child(3) .player-info strong {
  background: linear-gradient(135deg, #B08D57 0%, #9C7A3C 50%, #804A00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.history-list--leaderboard .player-points {
  font-size: 0.85em;
  color: #64748b;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.history-list--leaderboard .player-points::before {
  content: '⭐';
  font-size: 0.9em;
  opacity: 0.7;
}

.history-list--leaderboard .player-position {
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 10px;
  font-size: 0.95em;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.history-list--leaderboard .player-position.today-position {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.history-list--leaderboard .player-position.alltime-position {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  box-shadow: 0 2px 8px rgba(245, 87, 108, 0.3);
}

/* Medal badges for top 3 - Premium gradients */
.history-list--leaderboard .top-player-item:nth-child(1) .player-position {
  background: linear-gradient(135deg,
    #BF953F 0%,
    #FCF6BA 25%,
    #F5D100 50%,
    #D1AE15 75%,
    #AA771C 100%);
  color: #1a1a1a;
  font-weight: 800;
  box-shadow:
    0 4px 12px rgba(219, 180, 0, 0.5),
    0 0 20px rgba(252, 246, 186, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(252, 246, 186, 0.3);
}

.history-list--leaderboard .top-player-item:nth-child(2) .player-position {
  background: linear-gradient(135deg,
    #B3B6B5 0%,
    #D7D7D7 30%,
    #B4B4B4 60%,
    #8E8D8D 100%);
  color: #1a1a1a;
  font-weight: 700;
  box-shadow:
    0 3px 10px rgba(180, 180, 180, 0.45),
    0 0 15px rgba(215, 215, 215, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(215, 215, 215, 0.3);
}

.history-list--leaderboard .top-player-item:nth-child(3) .player-position {
  background: linear-gradient(135deg,
    #B08D57 0%,
    #AD8A56 25%,
    #9C7A3C 50%,
    #A17419 75%,
    #804A00 100%);
  color: #fff;
  font-weight: 700;
  box-shadow:
    0 3px 10px rgba(176, 141, 87, 0.45),
    0 0 15px rgba(173, 138, 86, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(176, 141, 87, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.history-list--leaderboard .top-player-item:nth-child(1) .player-position::after {
  content: '🥇' !important;
  position: absolute;
  font-size: 1.5em !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.history-list--leaderboard .top-player-item:nth-child(2) .player-position::after {
  content: '🥈' !important;
  position: absolute;
  font-size: 1.5em !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.history-list--leaderboard .top-player-item:nth-child(3) .player-position::after {
  content: '🥉' !important;
  position: absolute;
  font-size: 1.5em !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* Top 3 positions have no text content (handled in JS), only medal via ::after */

.history-list--leaderboard .data-type-indicator {
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.85em;
  font-weight: 600;
  color: #475569;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.history-list--leaderboard .data-type-indicator.today-indicator {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.1));
  border-color: rgba(102, 126, 234, 0.3);
  color: #5b4bc6;
}

.history-list--leaderboard .data-type-indicator.alltime-indicator {
  background: linear-gradient(135deg, rgba(240, 147, 251, 0.15), rgba(245, 87, 108, 0.1));
  border-color: rgba(245, 87, 108, 0.3);
  color: #d14361;
}

.history-list--leaderboard .no-players-data {
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
}

.history-list--leaderboard .no-data-icon {
  font-size: 3.5em;
  margin-bottom: 16px;
  opacity: 0.6;
}

.history-list--leaderboard .no-data-message {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 8px;
  color: #475569;
}

.history-list--leaderboard .no-data-subtext {
  font-size: 0.9em;
  color: #94a3b8;
  font-style: italic;
}

/* Responsive adjustments for drawer leaderboard */
@media (max-width: 359px) {
  .history-list--leaderboard .top-player-item {
    padding: 8px 10px;
    gap: 6px;
    margin-bottom: 8px;
  }

  .history-list--leaderboard .player-info {
    gap: 2px;
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }

  .history-list--leaderboard .player-info strong {
    font-size: 0.8em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .history-list--leaderboard .player-points {
    font-size: 0.7em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .history-list--leaderboard .player-points::before {
    font-size: 0.85em;
  }

  .history-list--leaderboard .player-position {
    min-width: 34px;
    height: 34px;
    font-size: 0.8em;
    flex-shrink: 0;
  }

  .history-list--leaderboard .top-player-item:nth-child(1) .player-position::after,
  .history-list--leaderboard .top-player-item:nth-child(2) .player-position::after,
  .history-list--leaderboard .top-player-item:nth-child(3) .player-position::after {
    font-size: 1.2em;
  }

  .history-list--leaderboard .data-type-indicator {
    font-size: 0.75em;
    padding: 8px 10px;
    margin-top: 10px;
  }

  .history-list--leaderboard .no-data-icon {
    font-size: 2.5em;
  }

  .history-list--leaderboard .no-data-message {
    font-size: 0.95em;
  }

  .history-list--leaderboard .no-data-subtext {
    font-size: 0.8em;
  }
}

@media (min-width: 360px) and (max-width: 479px) {
  .history-list--leaderboard .top-player-item {
    padding: 10px 12px;
    gap: 8px;
  }

  .history-list--leaderboard .player-info strong {
    font-size: 0.9em;
  }

  .history-list--leaderboard .player-points {
    font-size: 0.75em;
  }

  .history-list--leaderboard .player-position {
    min-width: 38px;
    height: 38px;
    font-size: 0.9em;
  }

  .history-list--leaderboard .top-player-item:nth-child(1) .player-position::after,
  .history-list--leaderboard .top-player-item:nth-child(2) .player-position::after,
  .history-list--leaderboard .top-player-item:nth-child(3) .player-position::after {
    font-size: 1.3em;
  }
}

/* Settings drawer */
.drawer--settings .drawer__header {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.1), rgba(100, 116, 139, 0.1));
}

/* ============================================
 * DRAWER WITH TABS
 * ============================================ */

.drawer__tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-border);
  margin: 0 calc(var(--spacing-lg) * -1); /* Negative margin to extend to edges */
  padding: 0 var(--spacing-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.drawer__tab {
  padding: var(--spacing-md) var(--spacing-lg);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--color-text-secondary);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  font-family: var(--font-family-base);
}

.drawer__tab:hover {
  color: var(--color-text-primary);
  background: var(--color-bg-hover);
}

.drawer__tab.is-active {
  color: var(--color-accent-gold);
  border-bottom-color: var(--color-accent-gold);
}

.drawer__tab-content {
  display: none;
}

.drawer__tab-content.is-active {
  display: block;
}

/* ============================================
 * DRAWER STATES
 * ============================================ */

/* Loading state */
.drawer--loading .drawer__content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.drawer__spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-accent-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Error state */
.drawer--error .drawer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xxl);
  text-align: center;
}

.drawer__error-icon {
  font-size: 48px;
  color: var(--color-danger);
  margin-bottom: var(--spacing-md);
}

.drawer__error-text {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
}

/* ============================================
 * ANIMATIONS
 * ============================================ */

/* Slide up animation */
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Backdrop fade */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============================================
 * ACCESSIBILITY
 * ============================================ */

/* Focus management */
.drawer.is-open {
  outline: none;
}

.drawer__close:focus-visible {
  outline: 3px solid var(--color-accent-gold);
  outline-offset: 2px;
}

.drawer__tab:focus-visible {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: -2px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .drawer,
  .drawer-backdrop {
    transition: none;
  }

  .drawer__close:hover {
    transform: none;
  }

  .drawer__spinner {
    animation: none;
  }
}

/* ============================================
 * TOUCH GESTURES (Swipe to close)
 * ============================================ */

.drawer.is-dragging {
  transition: none;
}

.drawer[data-swipe-threshold] {
  /* JS will handle the transform */
}

/* Visual feedback during drag */
.drawer.is-dragging .drawer__handle-bar {
  background: var(--color-accent-gold);
  width: 60px;
}
