*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

:root {
  /* TechConChris Design System */
  --primary: #66FCF1;   /* tech.accent — cian brillante */
  --accent: #45A29E;    /* tech.muted — cian apagado (variante B) */
  --bg: #0B0C10;        /* tech.dark — fondo principal */
  --surface: #1F2833;   /* tech.panel — tarjetas, navbar, paneles */
  --muted: #45A29E;     /* tech.muted — bordes, texto secundario, scrollbar */
  --light: #C5C6C7;     /* tech.light — texto secundario */
  /* Texto */
  --text: #FFFFFF;      /* títulos y texto principal */
  --gray-300: #C5C6C7;
  --gray-400: #C5C6C7;
  --gray-500: #45A29E;
  --gray-700: #1F2833;
  /* Colores de apoyo */
  --purple: #8B5CF6;    /* purple-500 — gradientes hero */
  --red: #EF4444;       /* red-500 — icono YouTube */
  --red-600: #DC2626;   /* red-600 — badge GRATIS */
  --green: #4ADE80;     /* green-400 — etiqueta DRM-Free */
  --green-500: #22C55E; /* green-500 — puntos en línea */
  --yellow: #EAB308;    /* yellow-500 — punto terminal */
  --radius: 16px;       /* rounded-2xl */
  --r-sm: 8px;          /* rounded-lg */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(31, 40, 51, 0.7);
  --glass-border: rgba(102, 252, 241, 0.1);
  --primary-g: rgba(102, 252, 241, 0.3);
  --accent-g: rgba(69, 162, 158, 0.4);
  --glow: 0 0 30px rgba(102, 252, 241, 0.1);
}

html {
  height: 100%;
}

body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
}

#app {
  display: flex; flex-direction: column; height: 100vh;
  animation: fadeInUp 0.6s ease-out both;
}

/* ========== AMBIENT BACKGROUND (3 layers) ========== */
.bg-ambient {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
  background-color: #0B0C10;
}

.tech-blob {
  position: absolute;
  border-radius: 9999px; filter: blur(100px);
  mix-blend-mode: screen;
  opacity: 0.1;
  animation: blob 7s infinite;
}

.blob-1 { width: 500px; height: 500px; top: -40px; left: -40px; background-color: #66FCF1; animation-delay: 0s; }
.blob-2 { width: 450px; height: 450px; top: 33.33%; right: -40px; background-color: #a855f7; animation-delay: 2.5s; }
.blob-3 { width: 350px; height: 350px; bottom: -32px; left: 33.33%; background-color: #45A29E; animation-delay: 4.5s; }

@keyframes blob {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -50px) scale(1.1); }
  66%  { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--muted); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ========== GLASS CARD ========== */
.tech-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
}

/* ========== HEADER ========== */
.app-header {
  display: flex; align-items: center; justify-content: center;
  padding: 16px 20px;
  flex-shrink: 0;
}

@media (min-width: 640px)  { .app-header { padding-top: 24px; padding-bottom: 24px; } }
@media (min-width: 1024px) { .app-header { padding-top: 32px; padding-bottom: 32px; } }

.header-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
}

.app-header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 30px; font-weight: 800; line-height: 1.15;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.app-header h1 a {
  font-family: 'Orbitron', sans-serif;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: filter var(--transition), opacity var(--transition);
}

.app-header h1 a:hover { filter: brightness(1.25); }

/* ========== MODE TOGGLE ========== */
.mode-toggle {
  display: flex; gap: 0;
  padding: 4px;
  background: var(--bg);
  border: 1px solid rgba(69, 162, 158, 0.2);
  border-radius: 12px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  width: 100%;
  flex: 0 0 auto;
}

.mode-btn {
  flex: 1;
  padding: 10px 24px;
  border: none; border-radius: 8px;
  background: transparent;
  color: rgba(197, 198, 199, 0.6);
  font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: all 300ms;
}

.mode-btn:hover { color: #fff; }

.mode-btn.active {
  background: var(--primary); color: var(--bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
  .mode-toggle { width: auto; }
  .mode-btn   { flex: none; }
}

/* ========== MAIN LAYOUT ========== */
.app-main {
  display: flex; flex: 1; overflow: hidden;
}

/* ========== LEFT REGION ========== */
.left-region {
  display: flex; flex-direction: column; flex-shrink: 0;
  /* AD SPACE (desactivado temporalmente — restaurar para separar el panel del viewer)
  border-right: 1px solid var(--glass-border);
  */
}

/* ========== LEFT PANEL ========== */
.left-panel {
  flex: 1; width: 280px; min-width: 280px;
  margin-top: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glow);
  display: flex; flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  transition: width var(--transition), min-width var(--transition), opacity var(--transition);
}

#edit-view {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
}

.left-panel.panel-hidden {
  width: 0; min-width: 0; opacity: 0; overflow: hidden;
}

/* AD SPACE (desactivado temporalmente — restaurar eliminando este bloque de comentarios)
========== BANNER ==========
.banner {
  flex-shrink: 0; width: 100%; display: flex; justify-content: center;
  padding: 10px 0;
}

.banner.hidden { display: none; }

.banner-inner {
  width: 250px; height: 800px;
  background: var(--glass-bg);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--gray-400); user-select: none;
  overflow: hidden;
}

.banner-inner.has-image { border: none; }

.banner-inner a {
  display: block; width: 100%; height: 100%; cursor: pointer;
}

.banner-inner a:hover img { filter: brightness(1.08); }

.banner-inner img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-sm); display: block;
}
========== fin de bloque comentado
*/

/* Panel sections */
.panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--glass-border); flex-shrink: 0;
}

.panel-header h2 { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 500; }

.panel-divider { height: 1px; background: var(--glass-border); flex-shrink: 0; }

.panel-section {
  padding: 12px 16px; flex-shrink: 0;
}

.slide-list {
  flex: 1; overflow-y: auto; padding: 8px 12px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 0;
}

/* Slide item */
.slide-item {
  background: rgba(11, 12, 16, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm); padding: 10px 12px;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.slide-item:hover { border-color: var(--primary); }
.slide-item.active { border-color: var(--primary); box-shadow: 0 0 12px var(--primary-g); }
.slide-item.voted-a { border-left: 3px solid var(--primary); }
.slide-item.voted-b { border-left: 3px solid var(--accent); }

.slide-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px;
}

.slide-num { font-size: 11px; font-weight: 600; color: var(--gray-400); }

.slide-thumbs {
  display: flex; gap: 6px; margin-bottom: 8px;
}

.thumb {
  flex: 1; aspect-ratio: 1; border-radius: 4px; overflow: hidden; position: relative;
  background: var(--gray-700); display: flex; align-items: center; justify-content: center;
}

.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.thumb:hover img { transform: scale(1.05); }
.thumb .badge { position: absolute; bottom: 2px; right: 3px; font-size: 8px; font-weight: 700; color: rgba(255,255,255,0.85); background: rgba(0,0,0,0.55); padding: 0 3px; border-radius: 2px; }
.thumb.empty span { color: var(--gray-400); font-size: 10px; }

.slide-files {
  display: flex; flex-direction: column; gap: 5px;
}

.file-row {
  display: flex; align-items: center; gap: 6px;
}

.file-row .name-input {
  flex: 1;
  padding: 3px 6px; font-size: 11px; font-family: inherit;
  background: rgba(11, 12, 16, 0.5);
  border: 1px solid var(--glass-border); border-radius: 4px;
  color: var(--text); outline: none;
  transition: border-color var(--transition);
}

.file-row .name-input:focus { border-color: var(--primary); }

.file-btn {
  flex-shrink: 0; display: flex; align-items: center; gap: 3px;
  padding: 3px 8px; font-size: 10px; font-weight: 600;
  color: var(--gray-400); background: var(--gray-700); border: none; border-radius: 4px;
  cursor: pointer; font-family: inherit; white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}

.file-btn:hover { background: var(--primary); color: var(--bg); }
.file-btn input { display: none; }

.file-btn .dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
  background: var(--gray-700);
}

.file-btn .dot.loaded-a { background: var(--primary); }
.file-btn .dot.loaded-b { background: var(--accent); }

/* Duration & mode */
.dur-row {
  display: flex; gap: 10px;
}

.dur-label {
  flex: 1; font-size: 11px; color: var(--gray-400); display: flex; flex-direction: column; gap: 4px;
}

.input-wrap {
  display: flex; align-items: center;
  background: rgba(11, 12, 16, 0.5); border: 1px solid var(--glass-border); border-radius: 5px; overflow: hidden;
}

.input-wrap input {
  width: 46px; padding: 4px 6px; border: none; background: transparent;
  color: var(--text); font-size: 12px; font-weight: 600; text-align: center;
  font-family: inherit; outline: none;
  -moz-appearance: textfield;
}

.input-wrap input::-webkit-inner-spin-button, .input-wrap input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.input-wrap span { padding: 4px 6px 4px 0; font-size: 11px; color: var(--gray-400); }

.mode-row {
  margin-top: 8px;
}

.mode-row label { font-size: 11px; color: var(--gray-400); display: flex; flex-direction: column; gap: 4px; }

.select-wrap select {
  width: 100%; padding: 5px 8px;
  background: rgba(11, 12, 16, 0.5); border: 1px solid var(--glass-border); border-radius: 5px;
  color: var(--text); font-size: 11px; font-family: inherit; cursor: pointer; outline: none;
  appearance: none; -webkit-appearance: none;
}

.select-wrap { position: relative; }
.select-wrap::after {
  content: '▾'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  color: var(--gray-400); font-size: 9px; pointer-events: none;
}

/* Playback in edit */
.panel-playback {
  display: flex; flex-direction: column; gap: 8px;
  padding-bottom: 14px;
}

.playback-buttons {
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

.playback-info {
  display: flex; align-items: center; justify-content: center; gap: 10px;
}

/* ========== CONTROL BAR ========== */
.control-bar {
  position: fixed; top: 16px; right: 16px;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  z-index: 15;
  opacity: 1; transform: translateY(0);
  transition: opacity var(--transition), transform var(--transition);
}

.control-bar.control-bar-hidden {
  opacity: 0; transform: translateY(-10px); pointer-events: none;
}

.control-bar .playback-buttons {
  display: flex; align-items: center; gap: 6px;
}

/* ========== COUNTER OVERLAY ========== */
.counter-overlay {
  position: absolute; top: 16px; right: 16px;
  background: rgba(11, 12, 16, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; font-weight: 700; color: var(--primary);
  border: 1px solid rgba(102, 252, 241, 0.3);
  user-select: none; z-index: 5; pointer-events: none;
}

/* ========== TOGGLE LABEL ========== */
.toggle-label {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px; font-size: 12px; color: var(--gray-400); cursor: pointer;
}

.toggle-label input[type="checkbox"] {
  accent-color: var(--primary); width: 14px; height: 14px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  border: none; border-radius: var(--r-sm); cursor: pointer;
  font-family: inherit; font-weight: 600;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.btn:active { transform: scale(0.95); }

.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-tiny { padding: 4px 10px; font-size: 11px; border-radius: 5px; background: rgba(255,255,255,0.06); color: var(--gray-400); }
.btn-tiny:hover { background: var(--primary); color: var(--bg); }

.btn-primary { background: var(--primary); color: var(--bg); box-shadow: var(--glow); }
.btn-primary:hover { filter: brightness(0.9); box-shadow: 0 0 16px var(--primary-g); }

.btn-icon-round {
  width: 38px; height: 38px; font-size: 17px;
  background: rgba(255,255,255,0.06); color: var(--text); border-radius: 50%;
}

.btn-icon-round:hover { background: var(--primary); color: var(--bg); box-shadow: 0 0 12px var(--primary-g); }

.btn-play-sm {
  width: 46px; height: 46px; font-size: 20px; line-height: 1;
  background: var(--primary); color: var(--bg); border-radius: 50%;
  box-shadow: var(--glow);
}

.btn-play-sm:hover { filter: brightness(0.9); box-shadow: 0 0 20px var(--primary-g); }

/* ========== VIEWER AREA ========== */
.viewer-area {
  flex: 1; display: flex; flex-direction: column;
  padding: 16px; gap: 10px; min-width: 0;
  position: relative;
}

.viewer-container {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glow);
  overflow: hidden; position: relative;
  min-height: 0;
}

.viewer {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 16px;
  width: 100%; padding: 12px; min-height: 0;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* ========== SLIDE IMAGE ========== */
.slide-image {
  position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden; border-radius: var(--r-sm);
  background: var(--gray-700); user-select: none;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease, border-color 0.3s;
  cursor: pointer;
}

.slide-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.slide-image .placeholder {
  color: var(--gray-400); font-size: 15px; font-weight: 600; text-align: center; padding: 10px;
}

/* Vote indicator */
.slide-image.selected-a {
  box-shadow: 0 0 0 3px var(--primary), 0 0 30px var(--primary-g);
}

.slide-image.selected-b {
  box-shadow: 0 0 0 3px var(--accent), 0 0 30px var(--accent-g);
}

.vote-check {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4); z-index: 5;
  animation: popIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.slide-image.selected-a .vote-check,
.slide-image.selected-b .vote-check {
  display: flex;
}

.slide-image.selected-a .vote-check { background: var(--primary); color: var(--bg); }
.slide-image.selected-b .vote-check { background: var(--accent); color: var(--bg); }

@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Label (custom name) */
.name-label {
  position: absolute; bottom: 14px; padding: 6px 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; font-weight: 700;
  border-radius: 6px;
  animation: labelIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 3px 12px rgba(0,0,0,0.5);
  white-space: nowrap;
  max-width: calc(100% - 24px);
  overflow: hidden; text-overflow: ellipsis;
}

.name-label.label-a { background: var(--primary); color: var(--bg); left: 12px; }
.name-label.label-b { background: var(--accent); color: var(--bg); right: 12px; }

@keyframes labelIn {
  from { transform: scale(0) rotate(-15deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Empty state */
.empty-state { text-align: center; color: var(--gray-400); }
.empty-icon { font-size: 48px; margin-bottom: 8px; opacity: 0.5; }
.empty-state p { font-size: 14px; }

/* ========== PROGRESS ========== */
.progress-container {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0; width: 100%; padding: 0 20px 12px;
}

.progress-track {
  flex: 1; height: 5px; background: var(--gray-700); border-radius: 3px; overflow: hidden;
}

.progress-fill {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 3px;
  transform-origin: left center;
  transform: scaleX(1);
  transition: none;
}

/* ========== DISPLAY MODES ========== */
.viewer.side-by-side .slide-image { width: 46%; max-width: 700px; max-height: 92%; aspect-ratio: 3/4; }

.viewer.horizontal .slide-image { width: 48%; max-width: 800px; max-height: 88%; aspect-ratio: 4/3; }

.viewer.tilted-right .slide-image { width: 43%; max-width: 600px; max-height: 88%; aspect-ratio: 3/4; }
.viewer.tilted-right .image-a { transform: rotate(9deg); box-shadow: -4px 4px 20px rgba(0,0,0,0.5); }
.viewer.tilted-right .image-b { transform: rotate(9deg); box-shadow: 4px 4px 20px rgba(0,0,0,0.5); }

.viewer.tilted-inward .slide-image { width: 43%; max-width: 600px; max-height: 88%; aspect-ratio: 3/4; }
.viewer.tilted-inward .image-a { transform: rotate(8deg); box-shadow: -4px 4px 20px rgba(0,0,0,0.5); }
.viewer.tilted-inward .image-b { transform: rotate(-8deg); box-shadow: 4px 4px 20px rgba(0,0,0,0.5); }

.viewer.tilted-outward .slide-image { width: 43%; max-width: 600px; max-height: 88%; aspect-ratio: 3/4; }
.viewer.tilted-outward .image-a { transform: rotate(-8deg); box-shadow: -4px 4px 20px rgba(0,0,0,0.5); }
.viewer.tilted-outward .image-b { transform: rotate(8deg); box-shadow: 4px 4px 20px rgba(0,0,0,0.5); }

.viewer.stacked { flex-direction: column; gap: 8px; }
.viewer.stacked .slide-image { width: 70%; max-width: 650px; max-height: 48%; aspect-ratio: 16/9; }

.viewer.diptych { gap: 4px; }
.viewer.diptych .slide-image { width: 46%; max-width: 680px; max-height: 90%; aspect-ratio: 3/4; border: 3px solid var(--gray-700); border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 8px 32px rgba(0,0,0,0.5); }

.viewer.perspective { perspective: 1200px; }
.viewer.perspective .slide-image { width: 43%; max-width: 600px; max-height: 88%; aspect-ratio: 3/4; }
.viewer.perspective .image-a { transform: rotateY(15deg) scale(0.92); box-shadow: -4px 4px 24px rgba(0,0,0,0.5); }
.viewer.perspective .image-b { transform: rotateY(-15deg) scale(0.92); box-shadow: 4px 4px 24px rgba(0,0,0,0.5); }

.viewer.polaroid .slide-image { width: 38%; max-width: 500px; max-height: 82%; aspect-ratio: 3/4; padding: 10px 10px 44px 10px; background: #f0f0f0; border-radius: 3px; box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
.viewer.polaroid .slide-image img { border-radius: 2px; }
.viewer.polaroid .placeholder { color: #999 !important; }
.viewer.polaroid .image-a { transform: rotate(-5deg); }
.viewer.polaroid .image-b { transform: rotate(5deg); }

.viewer.overlap { position: relative; justify-content: center; }
.viewer.overlap .slide-image { width: 48%; max-width: 620px; max-height: 88%; aspect-ratio: 3/4; }
.viewer.overlap .image-a { transform: translateX(8%) rotate(-3deg); z-index: 1; box-shadow: -4px 4px 24px rgba(0,0,0,0.5); }
.viewer.overlap .image-b { transform: translateX(-8%) rotate(3deg); z-index: 2; box-shadow: 4px 4px 24px rgba(0,0,0,0.5); }

.viewer.floating .slide-image { width: 43%; max-width: 580px; max-height: 82%; aspect-ratio: 3/4; }
.viewer.floating .image-a { transform: translateY(-10px); box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.viewer.floating .image-b { transform: translateY(10px); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .left-panel { width: 240px; min-width: 240px; }
}

@media (max-width: 700px) {
  .app-main { flex-direction: column; }
  .left-panel { width: 100%; min-width: unset; max-height: 180px; border-right: none; border-bottom: 1px solid var(--glass-border); }
  .left-panel.panel-hidden { width: 0; min-width: 0; max-height: 0; }
  .slide-list { flex-direction: row; overflow-x: auto; overflow-y: hidden; }
  .slide-item { min-width: 150px; flex-shrink: 0; }
}
