/* ============================================
   REPLAY - Premium TV Experience
   A cinematic interface for watching YouTube
   ============================================ */

/* --- CSS Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* OKLCH Color System - Monochrome Dominant */
  --black: oklch(0% 0 0);
  --gray-950: oklch(10% 0 0);
  --gray-900: oklch(15% 0 0);
  --gray-850: oklch(18% 0 0);
  --gray-800: oklch(22% 0 0);
  --gray-700: oklch(30% 0 0);
  --gray-600: oklch(40% 0 0);
  --gray-500: oklch(50% 0 0);
  --gray-400: oklch(60% 0 0);
  --gray-300: oklch(70% 0 0);
  --gray-200: oklch(80% 0 0);
  --gray-100: oklch(90% 0 0);
  --white: oklch(98% 0 0);

  /* Primary Accent - Lime (Electric Green) */
  --lime-500: oklch(76.8% 0.204 131);
  --lime-400: oklch(82% 0.19 131);
  --lime-300: oklch(88% 0.16 131);
  --lime-600: oklch(68% 0.22 131);

  /* Status Colors */
  --red: oklch(65% 0.2 25);
  --green: oklch(70% 0.18 145);
  --blue: oklch(65% 0.15 250);

  /* Semantic */
  --bg-primary: var(--black);
  --bg-secondary: var(--gray-950);
  --bg-tertiary: var(--gray-900);
  --bg-elevated: var(--gray-850);
  
  --text-primary: var(--white);
  --text-secondary: var(--gray-400);
  --text-tertiary: var(--gray-500);
  --text-muted: var(--gray-600);
  
  --border-subtle: var(--gray-800);
  --border-default: var(--gray-700);
  
  --accent: var(--lime-500);
  --accent-hover: var(--lime-400);
  --accent-dim: oklch(76.8% 0.204 131 / 0.15);

  /* Spacing Scale (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* Typography */
  --font-display: 'Space Mono', 'SF Mono', monospace;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 5rem;

  /* Effects */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --shadow-glow: 0 0 40px oklch(76.8% 0.204 131 / 0.25);
  --shadow-soft: 0 4px 24px oklch(0% 0 0 / 0.5);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

/* --- CRT Scanline Effect --- */
.crt-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    oklch(0% 0 0 / 0.03) 2px,
    oklch(0% 0 0 / 0.03) 4px
  );
  opacity: 0.5;
}

.crt-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(
    ellipse at center,
    transparent 50%,
    oklch(0% 0 0 / 0.4) 100%
  );
}

/* --- TV Static Effect --- */
.tv-static {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--black);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s;
}

.tv-static.active {
  opacity: 1;
  animation: staticNoise 0.15s steps(10) infinite;
}

.tv-static::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.4;
}

@keyframes staticNoise {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-2%, -2%); }
  20% { transform: translate(2%, 2%); }
  30% { transform: translate(-1%, 1%); }
  40% { transform: translate(1%, -1%); }
  50% { transform: translate(-2%, 1%); }
  60% { transform: translate(2%, -2%); }
  70% { transform: translate(-1%, -1%); }
  80% { transform: translate(1%, 1%); }
  90% { transform: translate(-2%, 2%); }
}

/* --- Main Video Container --- */
.video-container {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

/* YouTube Overlay Blocker - Prevents native controls on mobile */
.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Allow pointer events on iframe only when guide/settings open */
.guide-panel.open ~ .video-container .video-wrapper iframe,
.settings-panel.open ~ .video-container .video-wrapper iframe {
  pointer-events: auto;
}

/* Hide YouTube branding that might peek through */
.video-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--black) 0%, transparent 100%);
  pointer-events: none;
  z-index: 4;
}

.video-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, var(--black) 0%, transparent 100%);
  pointer-events: none;
  z-index: 4;
}

/* --- Channel Info Overlay --- */
.channel-info {
  position: fixed;
  bottom: var(--space-8);
  left: var(--space-8);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-out);
  pointer-events: none;
}

.channel-info.visible {
  opacity: 1;
  transform: translateY(0);
}

.channel-number-display {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  text-shadow: var(--shadow-glow);
  letter-spacing: -0.02em;
}

.channel-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.channel-name {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--text-primary);
}

.channel-category {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.channel-handle {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

/* --- Navigation Hint --- */
.nav-hint {
  position: fixed;
  right: var(--space-8);
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  pointer-events: none;
}

.nav-hint.visible {
  opacity: 1;
}

.nav-arrow {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-out);
}

.nav-arrow:hover {
  background: var(--gray-800);
  color: var(--text-primary);
  border-color: var(--border-default);
}

.nav-arrow i {
  font-size: var(--text-xl);
}

.channel-counter {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  text-align: center;
}

/* --- Top Bar --- */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  background: linear-gradient(to bottom, oklch(0% 0 0 / 0.8) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(-20px);
  transition: all var(--duration-normal) var(--ease-out);
}

.top-bar.visible {
  opacity: 1;
  transform: translateY(0);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: var(--radius-md);
  color: var(--black);
}

.logo-icon i {
  font-size: var(--text-xl);
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.action-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.action-btn:hover {
  background: var(--gray-800);
  color: var(--text-primary);
  border-color: var(--border-default);
}

.action-btn.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.action-btn i {
  font-size: var(--text-lg);
}

/* --- Guide Panel --- */
.guide-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 400px;
  max-width: 90vw;
  z-index: 200;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
  transform: translateX(-100%);
  transition: transform var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.guide-panel.open {
  transform: translateX(0);
}

.guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.guide-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.guide-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.guide-close:hover {
  background: var(--gray-800);
  color: var(--text-primary);
}

/* --- Category Filter --- */
.category-filter {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  overflow-x: auto;
  flex-shrink: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-filter::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex-shrink: 0;
  padding: var(--space-2) var(--space-3);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-fast);
  white-space: nowrap;
}

.category-chip:hover {
  background: var(--gray-800);
  color: var(--text-primary);
}

.category-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}

/* --- Channel List --- */
.channel-list {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-2) 0;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.channel-item:hover {
  background: var(--bg-elevated);
}

.channel-item.active {
  background: var(--accent-dim);
}

.channel-item-number {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--accent);
  min-width: 40px;
}

.channel-item-info {
  flex: 1;
  min-width: 0;
}

.channel-item-name {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-item-category {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.channel-item-yt {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration-fast);
  flex-shrink: 0;
  text-decoration: none;
}

.channel-item-yt:hover {
  color: var(--red);
}

.channel-item-yt i {
  font-size: var(--text-lg);
}

.channel-item-fav {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration-fast);
  flex-shrink: 0;
}

.channel-item-fav:hover {
  color: var(--accent);
}

.channel-item-fav.favorited {
  color: var(--accent);
}

/* --- Quick Dial --- */
.quick-dial {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast);
}

.quick-dial.active {
  opacity: 1;
}

.quick-dial-number {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--accent);
  text-shadow: var(--shadow-glow);
  min-width: 200px;
  text-align: center;
}

.quick-dial-hint {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* --- Mobile Remote Control --- */
.mobile-remote {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: var(--space-4) var(--space-6);
  padding-bottom: calc(var(--space-6) + env(safe-area-inset-bottom));
  background: linear-gradient(to top, oklch(0% 0 0 / 0.95) 0%, oklch(0% 0 0 / 0.8) 80%, transparent 100%);
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-out);
}

.mobile-remote.visible {
  opacity: 1;
  transform: translateY(0);
}

.remote-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.remote-btn {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

.remote-btn:active {
  transform: scale(0.95);
  background: var(--gray-700);
}

.remote-btn i {
  font-size: var(--text-xl);
}

.remote-btn.primary {
  width: 72px;
  height: 72px;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}

.remote-btn.primary:active {
  background: var(--lime-600);
}

/* --- Settings Panel --- */
.settings-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 360px;
  max-width: 90vw;
  z-index: 200;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-subtle);
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.settings-panel.open {
  transform: translateX(0);
}

.settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
}

.settings-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.settings-content {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-5);
}

.settings-section {
  margin-bottom: var(--space-8);
}

.settings-section-title {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.settings-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
}

.settings-option-label {
  font-size: var(--text-base);
  color: var(--text-primary);
}

.settings-option-desc {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-top: var(--space-1);
}

/* Toggle Switch */
.toggle {
  position: relative;
  width: 48px;
  height: 28px;
  background: var(--gray-700);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--duration-fast);
  flex-shrink: 0;
}

.toggle.active {
  background: var(--accent);
}

.toggle::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--duration-fast) var(--ease-spring);
}

.toggle.active::after {
  transform: translateX(20px);
}

/* --- Backdrop --- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: oklch(0% 0 0 / 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal);
}

.backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* --- Loading State --- */
.loading-state {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--black);
  gap: var(--space-4);
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--gray-800);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

/* --- Keyboard Shortcuts Modal --- */
.shortcuts-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 300;
  width: 480px;
  max-width: 90vw;
  max-height: 80vh;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-out);
}

.shortcuts-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.shortcuts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
}

.shortcuts-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
}

.shortcuts-content {
  padding: var(--space-5);
  overflow-y: auto;
  max-height: 60vh;
}

.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) 0;
}

.shortcut-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.shortcut-keys {
  display: flex;
  gap: var(--space-1);
}

.kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 var(--space-2);
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--text-primary);
}

/* --- Ambient Mode --- */
body.ambient-mode .top-bar,
body.ambient-mode .channel-info,
body.ambient-mode .nav-hint,
body.ambient-mode .mobile-remote {
  opacity: 0 !important;
  pointer-events: none !important;
}

body.ambient-mode:hover .top-bar.visible,
body.ambient-mode:hover .channel-info.visible,
body.ambient-mode:hover .nav-hint.visible,
body.ambient-mode:hover .mobile-remote.visible {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .mobile-remote {
    display: block;
  }
  
  .nav-hint {
    display: none;
  }
  
  .channel-info {
    bottom: calc(100px + env(safe-area-inset-bottom));
    left: var(--space-5);
    right: var(--space-5);
  }
  
  .channel-number-display {
    font-size: var(--text-4xl);
  }
  
  .channel-name {
    font-size: var(--text-xl);
  }
  
  .top-bar {
    padding: var(--space-3) var(--space-4);
  }
  
  .logo-text {
    display: none;
  }
  
  .action-btn {
    width: 40px;
    height: 40px;
  }
  
  .guide-panel {
    width: 100%;
    max-width: 100%;
  }
  
  .settings-panel {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .channel-number-display {
    font-size: var(--text-3xl);
  }
  
  .channel-name {
    font-size: var(--text-lg);
  }
  
  .remote-btn {
    width: 48px;
    height: 48px;
  }
  
  .remote-btn.primary {
    width: 64px;
    height: 64px;
  }
}

/* --- Animations --- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* --- Scrollbar Styling --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--gray-700);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-600);
}

/* --- Focus States --- */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button:focus:not(:focus-visible) {
  outline: none;
}

/* --- Selection --- */
::selection {
  background: var(--accent);
  color: var(--black);
}
