/* ========== DESIGN TOKENS ========== */
:root {
  /* Color */
  --bg: #0a0a0f;
  --bg-elev-1: #12121a;
  --bg-elev-2: #1a1a24;
  --bg-elev-3: #242432;
  --text: #f3f4f8;
  --text-dim: #a4a9bb;
  --text-faint: #6b7088;
  --accent: #ff2d55;
  --accent-2: #22d3ee;
  --success: #4ade80;
  --warn: #fbbf24;
  --danger: #f87171;
  --scrim-top: linear-gradient(to bottom, rgba(10,10,15,.85), transparent);
  --scrim-bottom: linear-gradient(to top, #0a0a0f 5%, transparent 80%);
  --glass: rgba(18,18,26,.72);

  /* Typography */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-weight-400: 400;
  --font-weight-600: 600;
  --font-weight-800: 800;
  --tracking-tight: -0.01em;
  --tracking-wider: +0.08em;

  /* Spacing (4-px grid) */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;

  /* Radius */
  --radius-6: 6px;
  --radius-10: 10px;
  --radius-16: 16px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-card: 0 8px 24px rgba(0,0,0,.45);
  --shadow-card-hover: 0 18px 40px rgba(0,0,0,.65);
  --shadow-modal: 0 30px 80px rgba(0,0,0,.7);

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);
  --duration-fast: 120ms;
  --duration-normal: 200ms;
  --duration-slow: 320ms;
}

/* ========== BASE ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
body {
  font-family: var(--font-sans);
  font-size: clamp(13px, 0.9rem, 15px);
  font-weight: var(--font-weight-400);
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
ul { list-style: none; }
input { font: inherit; }

/* ========== UTILITIES ========== */
.page { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--space-16); }
.section { padding: var(--space-32) 0; }
.hidden, [hidden] { display: none !important; }
.text-dim { color: var(--text-dim); }
.smallcaps { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); }
.mb-8 { margin-bottom: var(--space-8); }
.mt-8 { margin-top: var(--space-8); }
.display-1 { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: var(--font-weight-800); line-height: 1.1; }
.display-2 { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: var(--font-weight-800); line-height: 1.15; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8);
  padding: 10px 18px; border-radius: var(--radius-10);
  font-weight: var(--font-weight-600); font-size: .9rem;
  transition: transform var(--duration-fast) var(--ease), background var(--duration-fast) var(--ease), opacity var(--duration-fast) var(--ease);
  white-space: nowrap; min-height: 44px;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); color: #fff; }
.btn-glass { background: rgba(255,255,255,.12); color: var(--text); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.18); }
.btn-lg { padding: 12px 22px; font-size: 1rem; }
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; min-height: 40px; padding: 0;
  border-radius: var(--radius-full); background: rgba(255,255,255,.08); color: var(--text);
}
.btn-icon:hover { background: rgba(255,255,255,.16); }
.btn-speed { padding: 4px 8px; font-size: .75rem; border-radius: 6px; color: var(--text-dim); background: rgba(255,255,255,.06); min-height: auto; }
.btn-speed.active, .btn-speed:hover { color: #fff; background: var(--accent); }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 10px 0;
  background: linear-gradient(to bottom, rgba(10,10,15,.9), rgba(10,10,15,.35) 70%, transparent);
  transition: background var(--duration-normal) var(--ease), box-shadow var(--duration-normal) var(--ease);
}
.navbar.scrolled { background: rgba(10,10,15,.92); backdrop-filter: blur(10px); box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.navbar .page { display: flex; align-items: center; gap: var(--space-12); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--font-weight-800); letter-spacing: .04em; color: var(--text); font-size: 1rem; }
.logo:hover { color: var(--text); }
.logo-icon { color: var(--accent-2); flex: 0 0 auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 8px 12px; border-radius: var(--radius-full); color: var(--text-dim);
  font-size: .85rem; font-weight: var(--font-weight-600);
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255,255,255,.08); }
.search-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-full); color: var(--text-dim); cursor: pointer;
}
.search-btn:hover { color: var(--text); background: rgba(255,255,255,.08); }
.menu-btn {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: var(--radius-full); color: var(--text);
}
.menu-btn:hover { background: rgba(255,255,255,.08); }

/* Mobile nav drawer (toggled by menu button) */
.mobile-nav {
  display: none; position: fixed; top: 56px; left: 0; right: 0; z-index: 99;
  background: rgba(10,10,15,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08); padding: 8px var(--space-16) 12px;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 4px; color: var(--text-dim); font-weight: 600; border-radius: 8px; }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--text); }

/* ========== BOTTOM TAB BAR (mobile) ========== */
.bottom-tab-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  background: rgba(10,10,15,.96); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
}
.bottom-tab-bar .tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 6px 4px; min-height: 48px;
  color: var(--text-faint); font-size: .68rem; font-weight: 600;
  border-radius: 10px; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.bottom-tab-bar .tab svg { width: 22px; height: 22px; stroke: currentColor; }
.bottom-tab-bar .tab.active, .bottom-tab-bar .tab:active { color: var(--accent); }

/* ========== MAIN / SCREENS ========== */
main#main { padding-top: 64px; min-height: 100vh; }
.screen { min-height: 40vh; }
#homeScreen { padding: 0; }
#homeScreen > .section, #homeScreen .section { padding-left: 0; padding-right: 0; }

/* ========== HERO ========== */
.hero, .collection-hero {
  position: relative; min-height: min(70vh, 520px);
  display: flex; align-items: flex-end;
  padding: 80px var(--space-16) 32px;
  margin: 0 calc(var(--space-16) * -1) var(--space-16);
  overflow: hidden; border-radius: 0 0 var(--radius-16) var(--radius-16);
  background: linear-gradient(135deg, #1a1025 0%, #0a1520 50%, #0a0a0f 100%);
}
.hero-bg, .collection-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(255,45,85,.18), transparent 55%),
              radial-gradient(ellipse at 20% 80%, rgba(34,211,238,.12), transparent 50%);
}
.hero-bg img, .collection-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.hero::after, .collection-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, var(--bg) 0%, rgba(10,10,15,.6) 45%, rgba(10,10,15,.15) 100%);
  pointer-events: none;
}
.hero-content, .collection-hero-content { position: relative; z-index: 2; max-width: 720px; width: 100%; }
.hero-title, .collection-hero-title {
  font-size: clamp(1.75rem, 6vw, 3.25rem); font-weight: var(--font-weight-800);
  line-height: 1.08; margin-bottom: 8px; text-shadow: 0 4px 20px rgba(0,0,0,.5);
}
.hero-meta, .collection-hero-meta { color: var(--text-dim); font-size: .9rem; margin-bottom: 6px; }
.hero-desc { color: var(--text-dim); font-size: .95rem; margin-bottom: 16px; max-width: 560px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-buttons, .collection-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* ========== ROW / CAROUSEL ========== */
.row { margin-bottom: var(--space-24); position: relative; }
.row-title { font-size: 1.05rem; font-weight: var(--font-weight-600); margin-bottom: 12px; padding: 0 2px; }
.row-track, .row {
  /* row can also be the track container in this app */
}
.row-scroll {
  display: flex; overflow-x: auto; gap: 12px; padding: 4px 2px 12px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--bg-elev-3) transparent;
}
.row-scroll::-webkit-scrollbar { height: 6px; }
.row-scroll::-webkit-scrollbar-thumb { background: var(--bg-elev-3); border-radius: 3px; }
.row-scroll > * { scroll-snap-align: start; flex: 0 0 auto; }

/* Collection grid (fallback if row renders as grid of cards) */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }

/* ========== CARDS ========== */
.collection-card, .video-card, .folder-card, .card {
  position: relative; background: var(--bg-elev-2); border-radius: var(--radius-10);
  overflow: hidden; cursor: pointer; min-width: 150px;
  transition: transform var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.collection-card:hover, .video-card:hover, .folder-card:hover, .card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-card);
}
.collection-card { width: clamp(150px, 42vw, 220px); }
.collection-card .poster, .video-card .poster, .folder-card .poster {
  width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--bg-elev-3), var(--bg-elev-1));
  position: relative; overflow: hidden;
}
.collection-card .poster img, .video-card .poster img { width: 100%; height: 100%; object-fit: cover; }
.collection-card .info, .video-card .info, .folder-card .info { padding: 10px; }
.collection-card .title, .video-card .title, .folder-card .title {
  font-size: .88rem; font-weight: 600; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.collection-card .meta, .video-card .meta, .folder-card .meta { font-size: .72rem; color: var(--text-faint); margin-top: 3px; }
.card-badge, .badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  padding: 2px 7px; border-radius: 999px; font-size: .65rem; font-weight: 700;
  background: rgba(10,10,15,.75); color: #fff; backdrop-filter: blur(4px);
}
.card-badge.accent, .badge.accent { background: var(--accent); }
.folder-card .poster { display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--accent-2); }

/* Dimmed non-playable */
.is-dimmed, .dimmed { opacity: .55; }
.file-card { cursor: default; }

/* ========== BREADCRUMB ========== */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 8px 0 4px; font-size: .8rem; color: var(--text-dim); margin-bottom: 8px;
}
.breadcrumb a { color: var(--accent-2); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span + span::before { content: '›'; margin-right: 6px; color: var(--text-faint); }

/* ========== CHIPS ========== */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0 12px; }
.chip {
  padding: 8px 14px; min-height: 36px; font-size: .78rem; font-weight: 600;
  border-radius: var(--radius-full); color: var(--text-dim); background: var(--bg-elev-1);
  cursor: pointer; border: 1px solid rgba(255,255,255,.06);
  transition: all var(--duration-fast) var(--ease); -webkit-tap-highlight-color: transparent;
}
.chip.active { color: #fff; background: var(--accent); border-color: transparent; }
.chip:hover:not(.active) { color: var(--text); background: var(--bg-elev-2); }

/* ========== MODALS / OVERLAYS ========== */
.modal {
  position: relative; width: 100%; max-width: 980px; max-height: 92vh;
  background: var(--bg-elev-1); border-radius: var(--radius-16);
  box-shadow: var(--shadow-modal); overflow: hidden;
}
.modal-close {
  position: absolute; top: 10px; right: 10px; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.5); color: #fff; font-size: 1.2rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.modal-close::before { content: '×'; }
.modal-close:hover { background: rgba(255,255,255,.15); }

/* ========== PLAYER OVERLAY ========== */
.player-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(0,0,0,.88);
}
.player-overlay[style*="display: none"], .player-overlay.hidden { display: none !important; }
.player-overlay .modal { max-width: 1100px; width: 100%; background: #000; }
.player-stage { position: relative; width: 100%; background: #000; aspect-ratio: 16/9; max-height: 72vh; }
.player-video { width: 100%; height: 100%; background: #000; object-fit: contain; }
.player-controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0));
  flex-wrap: wrap;
}
.player-controls .btn-icon { width: 36px; height: 36px; min-height: 36px; background: rgba(255,255,255,.1); }
.player-controls .progress-wrapper { flex: 1 1 120px; min-width: 80px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.2); position: relative; cursor: pointer; }
.player-controls .progress-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--accent); border-radius: 3px; }
.player-time { font-size: .75rem; color: rgba(255,255,255,.85); white-space: nowrap; }
.player-speed { display: flex; gap: 4px; }
.player-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; background: var(--bg-elev-1); flex-wrap: wrap;
}
.player-title { font-weight: 700; font-size: .95rem; }
.player-meta { color: var(--text-dim); font-size: .8rem; }
.player-actions { display: flex; align-items: center; gap: 8px; }
.episode-text { font-size: .8rem; color: var(--text-dim); }

/* End card */
.end-card { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.8); padding: 16px; }
.end-card[style*="display: none"], .end-card.hidden { display: none !important; }
.end-card .modal { background: var(--bg-elev-1); max-width: 420px; padding: 24px; text-align: center; }
.end-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.end-desc { color: var(--text-dim); margin-bottom: 16px; }
.end-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ========== DRAWER ========== */
.player-drawer { position: fixed; inset: 0; z-index: 210; display: flex; }
.player-drawer[style*="display: none"] { display: none !important; }
.drawer-bg { flex: 1; background: rgba(0,0,0,.5); }
.drawer-content { width: min(420px, 92vw); background: var(--bg-elev-1); overflow-y: auto; padding: 16px; position: relative; }
.drawer-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.08); }
.drawer-close::before { content: '×'; font-size: 1.2rem; }

/* ========== ADMIN OVERLAY ========== */
.admin-overlay { position: fixed; inset: 0; z-index: 220; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.75); }
.admin-overlay[style*="display: none"] { display: none !important; }
.admin-form { width: 100%; max-width: 380px; background: var(--bg-elev-1); border-radius: var(--radius-16); padding: 24px; box-shadow: var(--shadow-modal); }
.form-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.form-desc { color: var(--text-dim); font-size: .9rem; margin-bottom: 14px; }
.admin-form input[type="password"], .admin-form input[type="text"] {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12);
  background: var(--bg-elev-2); color: var(--text); margin-bottom: 14px; min-height: 44px;
}
.admin-form input:focus { outline: 2px solid var(--accent-2); border-color: transparent; }
.form-actions { display: flex; gap: 10px; }

/* ========== SEARCH PAGE ========== */
.search-page { padding: 8px 0 32px; }
.search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; }
.search-group-title { grid-column: 1 / -1; font-size: .85rem; font-weight: 700; color: var(--text-dim); margin-top: 8px; text-transform: uppercase; letter-spacing: .04em; }
.search-highlight { color: var(--accent-2); font-weight: 700; }
mark { background: rgba(34,211,238,.18); color: var(--accent-2); padding: 0 2px; border-radius: 2px; }

/* ========== TOAST ========== */
.toast-container {
  position: fixed; bottom: 16px; right: 16px; left: 16px; z-index: 300;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none;
}
.toast {
  pointer-events: auto; background: var(--bg-elev-2); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 10px 14px; font-size: .88rem;
  display: flex; align-items: center; gap: 8px; max-width: 420px; width: max-content;
  box-shadow: var(--shadow-card); animation: slideIn var(--duration-fast) var(--ease);
}
.toast.success { border-color: rgba(74,222,128,.35); }
.toast.error { border-color: rgba(248,113,113,.35); }
.toast.warn { border-color: rgba(251,191,36,.35); }
@keyframes slideIn { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ========== EMPTY / ERROR STATES ========== */
.empty-state, .error-state { text-align: center; padding: 48px 16px; color: var(--text-dim); }
.empty-state .icon, .error-state .icon { font-size: 2.5rem; margin-bottom: 10px; }
.empty-state .title, .error-state .title { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.empty-state .desc, .error-state .desc { font-size: .9rem; }
.error-state .title { color: var(--danger); }

/* ========== SKELETON ========== */
.skeleton {
  background: linear-gradient(90deg, var(--bg-elev-1) 25%, var(--bg-elev-2) 50%, var(--bg-elev-1) 75%);
  background-size: 200% 100%; animation: skeletonShine 1.2s var(--ease) infinite; border-radius: 6px;
}
@keyframes skeletonShine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card { aspect-ratio: 16/9; width: 100%; border-radius: var(--radius-10); }
.skeleton-text { height: 12px; width: 70%; margin-top: 8px; }

/* ========== SKIP LINK ========== */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; z-index: 999;
}
.skip-link:focus {
  position: fixed; left: 12px; top: 12px; width: auto; height: auto;
  padding: 10px 14px; background: var(--accent); color: #fff; border-radius: 8px;
}

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

/* ========== RESPONSIVE: MOBILE ========== */
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .search-btn { display: none; }
  .menu-btn { display: flex; }
  .bottom-tab-bar { display: flex; }

  main#main { padding-top: 56px; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .page { padding-left: 12px; padding-right: 12px; }

  .hero, .collection-hero {
    min-height: min(56vh, 380px);
    padding: 70px 12px 20px;
    margin: 0 -12px 12px;
    border-radius: 0 0 14px 14px;
  }
  .hero-title, .collection-hero-title { font-size: clamp(1.5rem, 7.5vw, 2.2rem); }
  .hero-desc { -webkit-line-clamp: 2; font-size: .9rem; }
  .hero-buttons .btn, .collection-hero-actions .btn { flex: 1 1 auto; min-width: 0; }

  .section { padding: 20px 0; }
  .row-title { font-size: .98rem; margin-bottom: 10px; }
  .collection-card { width: clamp(140px, 44vw, 190px); }

  .player-overlay { padding: 0; align-items: stretch; }
  .player-overlay .modal { max-width: none; max-height: none; height: 100%; border-radius: 0; display: flex; flex-direction: column; }
  .player-stage { max-height: none; flex: 0 0 auto; }
  .player-bottom { flex: 1 0 auto; }
  .player-controls { gap: 6px; padding: 8px 10px; }
  .player-speed { display: none; } /* simplify on small screens */
  .player-time { font-size: .7rem; }

  .toast-container { left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom, 0px) + 8px); align-items: stretch; }
  .toast { width: 100%; max-width: none; }

  .search-results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chips { gap: 6px; }
  .chip { padding: 8px 12px; font-size: .74rem; }
  .breadcrumb { font-size: .75rem; }
}

@media (max-width: 400px) {
  .hero, .collection-hero { min-height: 300px; padding-top: 64px; }
  .hero-buttons, .collection-hero-actions { flex-direction: column; }
  .hero-buttons .btn, .collection-hero-actions .btn { width: 100%; }
  .collection-card { width: calc(50vw - 18px); min-width: 130px; }
  .search-results, .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-controls .btn-icon#playerPiPBtn,
  .player-controls .btn-icon#playerPrevBtn,
  .player-controls .btn-icon#playerNextBtn { display: none; }
}

@media (min-width: 769px) {
  .mobile-nav { display: none !important; }
  .hero, .collection-hero { margin-left: 0; margin-right: 0; padding-left: 32px; padding-right: 32px; }
  .search-results { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
