/* ========================================
   CLIPD by blrr — Loom-inspired Dark UI
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg-body: #0c0c14;
  --bg-sidebar: #101018;
  --bg-surface: #16161f;
  --bg-card: #1a1a25;
  --bg-hover: #1f1f2c;
  --bg-input: #13131c;
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --cyan-dark: #0891b2;
  --cyan-subtle: rgba(6, 182, 212, 0.08);
  --red: #ef4444;
  --red-light: #f87171;
  --red-dark: #dc2626;
  --green: #22c55e;
  --white: #ffffff;
  --text-primary: rgba(255, 255, 255, 0.90);
  --text-secondary: rgba(255, 255, 255, 0.50);
  --text-muted: rgba(255, 255, 255, 0.25);
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(255, 255, 255, 0.12);
  --radius: 10px;
  --radius-lg: 14px;
  --radius-sm: 6px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.3);
  --transition: 0.15s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  min-height: 100vh;
  overflow: hidden;
}

/* ========== APP LAYOUT (Sidebar + Main) ========== */
.app-layout {
  display: flex;
  height: 100vh;
}

/* ========== SIDEBAR ========== */
.sidebar {
  width: 240px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: relative;
}

.sidebar-top {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 0 4px;
}

.sidebar-logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--cyan-light), var(--cyan-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.sidebar-logo-text {
  display: flex;
  flex-direction: column;
}

.sidebar-brand {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--text-primary);
  line-height: 1;
}

.sidebar-byline {
  font-size: 9px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 1px;
  opacity: 0.5;
  margin-top: 2px;
}

/* New Recording Button */
.new-record-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border: none;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.new-record-btn:hover {
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
  transform: translateY(-1px);
}

/* Sidebar Nav */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
}

.nav-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.nav-item.active {
  background: var(--cyan-subtle);
  color: var(--cyan-light);
}

.nav-item.active svg { color: var(--cyan); }

/* ========== SIDEBAR USER ========== */
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cyan-subtle);
  border: 1px solid rgba(6, 182, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  flex-shrink: 0;
}

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

.user-name {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-email {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-logout {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  transition: all var(--transition);
  flex-shrink: 0;
}

.user-logout:hover {
  color: var(--red-light);
  background: rgba(239, 68, 68, 0.1);
}

/* ========== RECORDING CONFIG PANEL ========== */
.record-config {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  animation: slideConfig 0.2s ease;
}

.record-config.open { display: flex; }

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

.config-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.config-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  transition: all var(--transition);
}

.config-close:hover { color: var(--text-primary); background: var(--bg-hover); }

.config-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.config-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 0 2px;
}

.config-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-hover);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.config-option.active {
  border-color: rgba(6, 182, 212, 0.25);
  background: var(--cyan-subtle);
  color: var(--cyan-light);
}

.config-option.active svg { color: var(--cyan); }

.config-option-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-hover);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.config-option-toggle:hover { border-color: var(--border-hover); }

.config-option-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.config-option-toggle input { display: none; }

.toggle-switch {
  width: 32px;
  height: 18px;
  background: rgba(255,255,255,0.08);
  border-radius: 9px;
  position: relative;
  transition: background var(--transition);
  flex-shrink: 0;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-muted);
  top: 2px;
  left: 2px;
  transition: all var(--transition);
}

.config-option-toggle input:checked ~ .toggle-switch {
  background: rgba(6, 182, 212, 0.35);
}

.config-option-toggle input:checked ~ .toggle-switch::after {
  left: 16px;
  background: var(--cyan);
}

/* Config Title Input */
.config-input {
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  outline: none;
  transition: border-color var(--transition);
}

.config-input::placeholder { color: var(--text-muted); }
.config-input:focus { border-color: rgba(6, 182, 212, 0.4); }

.start-record-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
  margin-top: 4px;
}

.start-record-btn:hover {
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
  transform: translateY(-1px);
}

/* ========== MAIN AREA ========== */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Top Bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.page-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--radius);
  background: var(--bg-input);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
  min-width: 220px;
}

.search-box:focus-within {
  border-color: rgba(6, 182, 212, 0.4);
}

.search-box svg { color: var(--text-muted); flex-shrink: 0; }

.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 13px;
  font-family: inherit;
  width: 100%;
}

.search-box input::placeholder { color: var(--text-muted); }

.view-toggles {
  display: flex;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.view-btn {
  padding: 6px 10px;
  background: var(--bg-input);
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all var(--transition);
}

.view-btn:first-child { border-right: 1px solid var(--border); }

.view-btn:hover { color: var(--text-secondary); }
.view-btn.active { color: var(--cyan); background: var(--cyan-subtle); }

/* ========== VIDEOS GRID ========== */
.videos-grid {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  align-content: start;
}

.videos-grid.list-view {
  grid-template-columns: 1fr;
  gap: 4px;
}

/* Scrollbar */
.videos-grid::-webkit-scrollbar { width: 6px; }
.videos-grid::-webkit-scrollbar-track { background: transparent; }
.videos-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
.videos-grid::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.14); }

/* ========== VIDEO CARD ========== */
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.video-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.video-card-thumb {
  aspect-ratio: 16 / 9;
  background: var(--bg-body);
  position: relative;
  overflow: hidden;
}

.video-card-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card:hover .thumb-overlay { opacity: 1; }

.thumb-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-body);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transform: scale(0.85);
  transition: transform 0.2s;
}

.video-card:hover .thumb-play { transform: scale(1); }

.thumb-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0,0,0,0.75);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  letter-spacing: 0.3px;
}

.video-card-body {
  padding: 12px 14px 10px;
}

.video-card-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  color: var(--text-primary);
}

.video-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.video-card-meta .dot { color: var(--text-muted); }

/* Card Actions (on hover) */
.video-card-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.15s;
}

.video-card:hover .video-card-actions { opacity: 1; }

.card-action {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: none;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.card-action:hover { background: rgba(0,0,0,0.85); color: white; }
.card-action.danger:hover { background: rgba(239,68,68,0.8); }

/* ========== LIST VIEW CARD ========== */
.videos-grid.list-view .video-card {
  display: flex;
  border-radius: var(--radius);
}

.videos-grid.list-view .video-card-thumb {
  width: 180px;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}

.videos-grid.list-view .video-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 16px;
}

.videos-grid.list-view .video-card-actions {
  position: relative;
  top: auto;
  right: auto;
  display: flex;
  align-items: center;
  padding-right: 12px;
  opacity: 0;
}

.videos-grid.list-view .video-card:hover .video-card-actions { opacity: 1; }

/* ========== EMPTY STATE ========== */
.empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.empty-state p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.5;
}

/* ========== RECORDING BAR (persistent top bar) ========== */
.recording-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  z-index: 9999;
  background: rgba(20, 8, 8, 0.95);
  border-bottom: 1px solid rgba(239, 68, 68, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.recording-bar.active {
  display: flex;
  animation: rbSlide 0.25s ease;
}

@keyframes rbSlide {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.rb-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rb-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.rb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1s infinite;
}

.rb-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--red-light);
  letter-spacing: 1px;
}

.rb-timer {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 60px;
  letter-spacing: 1px;
}

.rb-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rb-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-hover);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
}

.rb-btn:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.rb-pause {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.2);
  color: var(--cyan-light);
}

.rb-pause:hover { background: rgba(6, 182, 212, 0.2); }

.rb-stop {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-color: rgba(239, 68, 68, 0.4);
  color: white;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.rb-stop:hover {
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
  transform: translateY(-1px);
}

/* ========== VIEW PAGE ========== */
.viewer-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
}

.video-wrapper {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
}

.video-wrapper video {
  width: 100%;
  display: block;
  max-height: 70vh;
}

.video-info {
  margin-top: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.video-title-input {
  font-size: 20px;
  font-weight: 700;
  background: transparent;
  border: none;
  color: var(--text-primary);
  width: 100%;
  outline: none;
  letter-spacing: -0.3px;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: border-color var(--transition);
  font-family: inherit;
}

.video-title-input:focus { border-bottom-color: var(--cyan); }

.video-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.video-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

/* ========== BUTTONS (shared) ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  color: var(--white);
  border: 1px solid rgba(6,182,212,0.3);
}

.btn-primary:hover {
  box-shadow: 0 2px 12px rgba(6,182,212,0.3);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--bg-hover);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover { color: var(--text-primary); border-color: var(--border-hover); }

.btn-danger {
  background: rgba(239,68,68,0.1);
  color: var(--red-light);
  border: 1px solid rgba(239,68,68,0.15);
}

.btn-danger:hover { background: rgba(239,68,68,0.2); }

/* ========== UPLOAD OVERLAY ========== */
.upload-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12,12,20,0.9);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.upload-overlay.active { display: flex; }

.upload-card {
  text-align: center;
  padding: 44px;
  max-width: 340px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.upload-anim {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cyan-subtle);
  border: 1px solid rgba(6,182,212,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--cyan);
  animation: uploadFloat 2s ease-in-out infinite;
}

@keyframes uploadFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.upload-text { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.upload-sub { font-size: 12px; color: var(--text-muted); }

.progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.04);
  border-radius: 2px;
  margin-top: 20px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-light));
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s;
}

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 10001;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .sidebar { display: none; }

  body { overflow: auto; }

  .app-layout { flex-direction: column; height: auto; min-height: 100vh; }

  .main { height: auto; }

  /* Mobile header */
  .main::before {
    content: '';
    display: block;
  }

  .topbar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .topbar-right { width: 100%; }
  .search-box { min-width: 0; flex: 1; }

  .videos-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    padding: 16px 20px;
    overflow: visible;
  }
}

@media (max-width: 480px) {
  .videos-grid { grid-template-columns: 1fr; }
}
