/* ============================================================
   Brivtex — Modern design system
   Fonts loaded via <link> in base.html
   ============================================================ */

/* ── 1. CSS Custom Properties ─────────────────────────────── */
:root {
  /* Brand */
  --color-primary:        #1868DB;
  --color-primary-hover:  #14509f;
  --color-primary-light:  #6ea8f0;   /* on dark surfaces */
  --color-primary-subtle: rgba(24, 104, 219, 0.08);

  /* Text */
  --color-ink:            #1c1c28;
  --color-ink-secondary:  #3d3d4d;
  --color-ink-muted:      #6b6b7b;

  /* Surfaces */
  --color-canvas:         #ffffff;
  --color-parchment:      #f8f8fa;
  --color-pearl:          #f8f8fa;
  --color-hero-bg:        #080b18;

  /* Borders */
  --color-hairline:       #ececf3;
  --color-hairline-hover: #c9c9d6;
  --color-divider-soft:   #ececf3;

  /* On-dark */
  --color-on-dark:        #ffffff;
  --color-on-dark-muted:  rgba(255, 255, 255, 0.55);
  --color-on-dark-subtle: rgba(255, 255, 255, 0.08);

  /* Status colors */
  --color-status-new:         #6b7280;
  --color-status-queued:      #f59e0b;
  --color-status-summarizing: #1868DB;
  --color-status-completed:   #10b981;
  --color-status-failed:      #ef4444;

  /* Typography */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing (8px base grid) */
  --space-xxs:     4px;
  --space-xs:      8px;
  --space-sm:     12px;
  --space-md:     16px;
  --space-lg:     24px;
  --space-xl:     32px;
  --space-xxl:    48px;
  --space-section: 88px;

  /* Border radius */
  --radius-xs:    4px;
  --radius-sm:    8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 9999px;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(15, 14, 26, 0.05), 0 1px 3px rgba(15, 14, 26, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 14, 26, 0.08), 0 1px 3px rgba(15, 14, 26, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 14, 26, 0.10), 0 2px 6px rgba(15, 14, 26, 0.06);
  --shadow-lg: 0 8px 32px rgba(15, 14, 26, 0.12), 0 3px 12px rgba(15, 14, 26, 0.08);

  /* Transitions */
  --transition-fast: 0.12s ease;
  --transition-std:  0.20s ease;
  --transition-slow: 0.35s ease;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-ink);
  background-color: var(--color-canvas);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ── 3. Global Navigation ─────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(8, 11, 24, 0.90);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  height: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  gap: var(--space-lg);
}

.nav-logo {
  color: var(--color-on-dark);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.nav-logo:hover {
  text-decoration: none;
  opacity: 0.75;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a,
.nav-link {
  color: var(--color-on-dark-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.1px;
  text-decoration: none;
  transition: color var(--transition-std);
}

.nav-links a:hover,
.nav-link:hover {
  color: var(--color-on-dark);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* ── 4. Buttons ───────────────────────────────────────────── */

/* Primary */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.15px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(24, 104, 219, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  box-shadow: 0 3px 12px rgba(24, 104, 219, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #fff;
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

.btn-primary:disabled,
.btn-primary[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Secondary */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.15px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-secondary:hover {
  background-color: var(--color-primary-subtle);
  text-decoration: none;
  color: var(--color-primary);
}

.btn-secondary:active {
  transform: scale(0.97);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

/* On dark backgrounds */

/* Ghost */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--color-parchment);
  color: var(--color-ink);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-ghost:hover {
  background-color: var(--color-hairline);
  text-decoration: none;
}

.btn-ghost:active {
  transform: scale(0.97);
}

/* Danger */
.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--color-status-failed);
  border: 1.5px solid rgba(239, 68, 68, 0.30);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-danger:hover {
  background-color: rgba(239, 68, 68, 0.06);
  border-color: var(--color-status-failed);
  text-decoration: none;
}

.btn-danger:active {
  transform: scale(0.97);
}

.btn-danger:disabled,
.btn-danger[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-danger:disabled:hover,
.btn-danger[disabled]:hover {
  background-color: transparent;
  border-color: rgba(239, 68, 68, 0.30);
}

.btn-danger:disabled:active,
.btn-danger[disabled]:active {
  transform: none;
}

/* Small modifier */
.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

/* Nav button (on dark surface) */
.btn-nav {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.09);
  color: var(--color-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-nav:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
  text-decoration: none;
  color: var(--color-on-dark);
}

.btn-nav:active {
  transform: scale(0.97);
}

.btn-nav--ghost {
  background-color: transparent;
  border-color: transparent;
  color: var(--color-on-dark-muted);
}

.btn-nav--ghost:hover {
  background-color: transparent;
  border-color: transparent;
  color: var(--color-on-dark);
}

/* ── OCR button (amber accent for silent-video summarization) ── */

/* Wrapper keeps the tooltip positioned relative to the button */

.btn-ocr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #d97706;
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.1px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(217, 119, 6, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.btn-ocr:hover {
  background-color: #b45309;
  box-shadow: 0 3px 12px rgba(217, 119, 6, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-ocr:active {
  transform: scale(0.97);
}

.btn-ocr:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* Tooltip bubble — hidden by default, shown when wrapper is hovered */

/* Tooltip arrow */

/* Show tooltip when hovering the wrapper */

/* ── 9. Page Backgrounds ──────────────────────────────────── */

/* ── 10. Containers ───────────────────────────────────────── */
.container {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.container-narrow {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

/* ── 11. Sections ─────────────────────────────────────────── */
.section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.section-sm {
  padding-top: var(--space-xxl);
  padding-bottom: var(--space-xxl);
}

/* ── 12. Hero ─────────────────────────────────────────────── */

/* Radial glow */

/* Dot grid */

/* Bigger hero CTA buttons */

/* ── 13. Cards ────────────────────────────────────────────── */
.card {
  background-color: var(--color-canvas);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-hairline);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-std), box-shadow var(--transition-std), border-color var(--transition-std);
}

.card:hover {
  border-color: var(--color-hairline-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* ── 14. Video Card ───────────────────────────────────────── */
.video-card {
  background-color: var(--color-canvas);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-hairline);
  padding: var(--space-lg);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-std), box-shadow var(--transition-std), border-color var(--transition-std);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

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

/* ── Move-to-basket dropdown ──────────────────────────────── */
.card-move-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px dashed rgba(24, 104, 219, 0.35);
  border-radius: var(--radius-pill);
  background: none;
  color: var(--color-ink-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.card-move-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(24, 104, 219, 0.04);
}

.card-move-dropdown {
  position: fixed;
  z-index: 1000;
  min-width: 200px;
  max-width: 260px;
  background: #0d1228;
  border: 1px solid rgba(110, 168, 240, 0.22);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  animation: card-move-fade-in 0.12s ease;
}

@keyframes card-move-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card-move-dropdown-header {
  padding: 10px 14px 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.45);
}

.card-move-dropdown-list {
  max-height: 220px;
  overflow-y: auto;
  padding: 4px 0 6px;
}

.card-move-dropdown-item {
  display: block;
  width: 100%;
  padding: 8px 14px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: background 0.1s;
}

.card-move-dropdown-item:hover {
  background: rgba(110, 168, 240, 0.12);
  color: #fff;
}

.card-move-dropdown-empty {
  padding: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

.video-card-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.15px;
  color: var(--color-ink);
  word-break: break-word;
}

.video-card-title--editable {
  cursor: text;
  border-radius: 4px;
  transition: background 0.15s;
}

.video-card-title--editable:hover {
  background: rgba(255, 255, 255, 0.06);
}

.video-card-title-input {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.15px;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-primary, #1868DB);
  border-radius: 4px;
  padding: 2px 6px;
  width: 100%;
  outline: none;
}

.video-card-url {
  font-size: 12px;
  color: var(--color-ink-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  display: block;
  opacity: 0.75;
}

/* ── Video Card Tags ─────────────────────────────────────── */
.video-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: var(--space-xxs);
}

.video-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  background: rgba(24, 104, 219, 0.10);
  color: var(--color-primary);
  white-space: nowrap;
}

.video-card-tag .video-card-tag-remove {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  margin-left: 1px;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.video-card-tag .video-card-tag-remove:hover {
  opacity: 1;
}

.video-card-tag-add-btn {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border: 1px dashed rgba(24, 104, 219, 0.4);
  border-radius: var(--radius-pill);
  background: none;
  color: var(--color-ink-muted);
  font-size: 11px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.video-card-tag-add-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.video-card-tag-input {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid var(--color-hairline-hover);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-family: var(--font-body);
  outline: none;
  max-width: 120px;
  background: var(--color-canvas);
  color: var(--color-ink);
}

.video-card-tag-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(24, 104, 219, 0.15);
}

.video-card-meta {
  font-size: 12px;
  color: var(--color-ink-muted);
}

.video-card-actions {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--space-xs);
}

.video-card-error {
  font-size: 13px;
  color: var(--color-status-failed);
  padding: var(--space-xs) var(--space-sm);
  background-color: rgba(239, 68, 68, 0.06);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-status-failed);
}

/* ── 15. Status Badges ────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-spinner {
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: brivtex-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 2px;
}

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

.status-badge::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: currentColor;
  flex-shrink: 0;
}

.status-badge.status-new,
.status-new {
  background-color: rgba(107, 114, 128, 0.10);
  color: var(--color-status-new);
}

.status-badge.status-queued,
.status-queued {
  background-color: rgba(245, 158, 11, 0.12);
  color: var(--color-status-queued);
}

.status-badge.status-summarizing,
.status-summarizing {
  background-color: rgba(24, 104, 219, 0.10);
  color: var(--color-status-summarizing);
}

.status-badge.status-completed,
.status-completed {
  background-color: rgba(16, 185, 129, 0.10);
  color: var(--color-status-completed);
}

.status-badge.status-failed,
.status-failed {
  background-color: rgba(239, 68, 68, 0.10);
  color: var(--color-status-failed);
}

/* Standalone status dot */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.status-new         { background-color: var(--color-status-new); }
.status-dot.status-queued      { background-color: var(--color-status-queued); }
.status-dot.status-summarizing { background-color: var(--color-status-summarizing); }
.status-dot.status-completed   { background-color: var(--color-status-completed); }
.status-dot.status-failed      { background-color: var(--color-status-failed); }

/* ── 16. Forms ────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xxs);
  margin-bottom: var(--space-lg);
}

.form-group label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-ink-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  display: block;
  width: 100%;
  border: 1.5px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: 11px 15px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-ink);
  background-color: var(--color-canvas);
  transition: border-color var(--transition-std), box-shadow var(--transition-std);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-ink-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(24, 104, 219, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Form errors */
.form-error,
.errorlist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.form-error,
.errorlist li {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-status-failed);
  margin-top: var(--space-xxs);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

.form-footer {
  margin-top: var(--space-lg);
  font-size: 14px;
  color: var(--color-ink-muted);
}

.form-footer a {
  color: var(--color-primary);
}

.form-card {
  background-color: var(--color-canvas);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-hairline);
  padding: 44px var(--space-xl);
  box-shadow: var(--shadow-sm);
}

/* ── 17. Alerts ───────────────────────────────────────────── */
.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 400;
  margin-bottom: var(--space-md);
  border-left: 3px solid transparent;
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.08);
  border-left-color: var(--color-status-completed);
  color: #065f46;
}

.alert-error,
.alert-danger {
  background-color: rgba(239, 68, 68, 0.07);
  border-left-color: var(--color-status-failed);
  color: #991b1b;
}

.alert-warning {
  background-color: rgba(245, 158, 11, 0.08);
  border-left-color: var(--color-status-queued);
  color: #92400e;
}

.alert-info {
  background-color: rgba(24, 104, 219, 0.07);
  border-left-color: var(--color-primary);
  color: #14509f;
}

.messages-container {
  padding: var(--space-md) 0 0;
}

/* ── 18. Empty State ──────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 96px var(--space-lg);
  color: var(--color-ink-muted);
}

.empty-state-icon {
  font-size: 52px;
  margin-bottom: var(--space-lg);
  opacity: 0.35;
  display: block;
}

.empty-state-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--color-ink);
  margin-bottom: var(--space-sm);
}

.empty-state-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-xl);
}

/* ── 19. Summary Section ──────────────────────────────────── */
.summary-section {
  margin-bottom: var(--space-xl);
}

.summary-section h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--color-ink);
  margin-bottom: var(--space-md);
}

.summary-section p,
.summary-section .summary-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-ink);
}

/* Key Points */
.key-points-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.key-points-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-ink);
}

.key-points-list li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 9px;
}

/* Prose */
.prose {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-ink);
  white-space: pre-wrap;
  word-break: break-word;
}

/* Transcript collapsible */

/* Summary header row */
.summary-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}

.summary-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-hairline);
}

/* ── 20. Dashboard ────────────────────────────────────────── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

/* ── Search bar ───────────────────────────────────────────── */
.search-bar {
  position: relative;
  max-width: 340px;
  width: 100%;
  flex-shrink: 0;
}

.search-bar input {
  display: block;
  width: 100%;
  padding: 9px 16px 9px 46px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-ink);
  background-color: var(--color-canvas);
  border: 1.5px solid var(--color-hairline);
  border-radius: var(--radius-pill);
  outline: none;
  transition: border-color var(--transition-std), box-shadow var(--transition-std);
}

.search-bar input::placeholder {
  color: var(--color-ink-muted);
}

.search-bar input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(24, 104, 219, 0.12);
}

.search-bar::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--color-ink-muted);
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.62;
}

.search-bar::after {
  content: '';
  position: absolute;
  left: 29px;
  top: calc(50% + 8px);
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  color: var(--color-ink-muted);
  opacity: 0.62;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: left center;
  pointer-events: none;
}

/* Hide non-matching items during search */
.channel-grid .channel-card.search-hidden,
.video-feed-grid .feed-card.search-hidden {
  display: none;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.6px;
  color: var(--color-ink);
}

.page-header-sub {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-ink-muted);
  margin-top: var(--space-xxs);
}

/* Section headlines */

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xxs);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: var(--space-lg);
  transition: opacity var(--transition-std);
}

.back-link:hover {
  opacity: 0.75;
  text-decoration: none;
}

/* Caption text */
.text-caption {
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-ink-muted);
}

/* Inline form */
.inline-form {
  display: inline;
  margin: 0;
  padding: 0;
}

/* ── 21. Google Button ────────────────────────────────────── */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background-color: var(--color-canvas);
  color: var(--color-ink);
  border: 1.5px solid var(--color-hairline);
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-std);
  margin-bottom: var(--space-lg);
}

.btn-google:hover {
  border-color: #9ca3af;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--color-ink);
}

.btn-google:active {
  transform: scale(0.98);
}

.btn-google--sm {
  width: auto;
  padding: 8px 16px;
  font-size: 13px;
  margin-bottom: 0;
}

/* Auth divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  color: var(--color-ink-muted);
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--color-hairline);
}

/* ── 22. YouTube Connect Banner ───────────────────────────── */
.yt-connect-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(24, 104, 219, 0.05) 0%, rgba(24, 104, 219, 0.02) 100%);
  border: 1px solid rgba(24, 104, 219, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-xl);
}

.yt-connect-banner-text {
  font-size: 15px;
  color: var(--color-ink);
  line-height: 1.5;
}

/* ── 23. Channel / Subscription Grid ─────────────────────── */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: var(--space-xl);
}

.channel-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-std);
}

.channel-card:hover {
  border-color: var(--color-hairline-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}

.channel-thumbnail {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background-color: var(--color-parchment);
}

.channel-thumbnail--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--color-ink-muted);
}

.channel-card-body {
  padding: var(--space-md);
}

.channel-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--space-xxs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-card-desc {
  font-size: 12px;
  color: var(--color-ink-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 24. Video Feed Grid ──────────────────────────────────── */
.video-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: var(--space-xl);
}

.feed-card {
  background-color: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-std);
}

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

.feed-card-thumb-link {
  display: block;
  flex-shrink: 0;
}

.feed-card-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background-color: var(--color-parchment);
}

.feed-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.feed-card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-card-title-link {
  color: inherit;
  text-decoration: none;
}

.feed-card-title-link:hover {
  color: var(--color-primary);
}

.feed-card-date {
  font-size: 12px;
  color: var(--color-ink-muted);
}

.feed-card-actions {
  margin-top: auto;
  padding-top: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

/* ── 25. Footer (v3: light) ───────────────────────────────── */
.footer {
  background-color: #fff;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid #ececf3;
}

.footer p,
.footer span {
  font-size: 13px;
  font-weight: 400;
  color: #9a9aab;
}

.footer a,
.footer-link {
  color: #6b6b7b;
  font-size: 13px;
  text-decoration: none;
}

.footer-link:hover {
  color: #1868DB;
}

/* ── 26. Responsive ───────────────────────────────────────── */

/* ── Hamburger button (hidden on desktop) ─────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  z-index: 1100;
}

.nav-hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-on-dark-muted);
  border-radius: 2px;
  transition: transform var(--transition-std), opacity var(--transition-std);
}

.nav-hamburger:hover .nav-hamburger-bar {
  background-color: var(--color-on-dark);
}

/* Animated X */
.nav-hamburger--open .nav-hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger--open .nav-hamburger-bar:nth-child(2) {
  opacity: 0;
}

.nav-hamburger--open .nav-hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Menu Overlay ──────────────────────────────────── */
.nav-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  background-color: rgba(8, 11, 24, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: var(--space-xxl) var(--space-lg);
  gap: var(--space-xl);
}

.nav-mobile-menu--open {
  display: flex;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-mobile-links .nav-link {
  font-size: 18px;
  font-weight: 600;
}

.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 260px;
}

/* Tablet portrait (≤ 833px) */
@media (max-width: 833px) {
  /* Hide desktop nav-links, show hamburger instead */
  .nav-links {
    display: none;
  }

  /* Hide desktop actions (username + sign out / sign in) */
  .nav-actions--desktop {
    display: none;
  }

  /* Show hamburger */
  .nav-hamburger {
    display: flex;
  }
}

/* Phone (≤ 640px) */
@media (max-width: 640px) {
  .nav-inner {
    padding: 0 var(--space-md);
  }

  .nav-actions {
    gap: var(--space-xxs);
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .form-card {
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
  }

  .container,
  .container-narrow {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .section {
    padding-top: var(--space-xxl);
    padding-bottom: var(--space-xxl);
  }

  .summary-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .video-card-actions {
    gap: var(--space-xxs);
  }

}

/* Small phone (≤ 419px) */
@media (max-width: 419px) {
  .hero-headline {
    font-size: 30px;
    letter-spacing: -0.5px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 18px;
    font-size: 14px;
  }
}

/* ── Basket colour variants ──────────────────────────────────────────────── */
.basket-color-1 { --basket-accent: 24, 104, 219; }
.basket-color-2 { --basket-accent: 20, 184, 166; }
.basket-color-3 { --basket-accent: 244, 63,  94; }
.basket-color-4 { --basket-accent: 245,158,  11; }
.basket-color-5 { --basket-accent: 24, 104, 219; }
.basket-color-6 { --basket-accent:  14,165, 233; }

/* Tags follow the row colour */
.basket-color-1 .basket-tag,
.basket-color-2 .basket-tag,
.basket-color-3 .basket-tag,
.basket-color-4 .basket-tag,
.basket-color-5 .basket-tag,
.basket-color-6 .basket-tag {
  background: rgba(var(--basket-accent), 0.18);
  color: rgba(var(--basket-accent), 1);
}

.basket-color-1 .tag-add-btn,
.basket-color-2 .tag-add-btn,
.basket-color-3 .tag-add-btn,
.basket-color-4 .tag-add-btn,
.basket-color-5 .tag-add-btn,
.basket-color-6 .tag-add-btn {
  border-color: rgba(var(--basket-accent), 0.6);
  color: rgba(var(--basket-accent), 0.9);
}

.basket-color-1 .tag-add-input,
.basket-color-2 .tag-add-input,
.basket-color-3 .tag-add-input,
.basket-color-4 .tag-add-input,
.basket-color-5 .tag-add-input,
.basket-color-6 .tag-add-input {
  border-color: rgba(var(--basket-accent), 0.7);
}

/* ── Baskets ─────────────────────────────────────────────────────────────── */
.basket-row {
  margin-bottom: 2rem;
}

.basket-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
  cursor: grab;
}

.basket-header:active { cursor: grabbing; }

.basket-uncategorised-row .basket-header { cursor: default; }

.basket-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary, #1a1a2e);
  margin-right: 4px;
}

.basket-video-count {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-primary, #1868DB);
  background: var(--color-primary-subtle, #e3edfb);
  border: 1px solid rgba(24, 104, 219, 0.2);
  border-radius: 99px;
  padding: 2px 9px;
  white-space: nowrap;
}

.basket-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.basket-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--color-primary-light, #e3edfb);
  color: var(--color-primary, #1868DB);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 500;
}

.basket-tag .tag-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
  padding: 0;
  color: inherit;
  opacity: 0.6;
}

.basket-tag .tag-remove:hover { opacity: 1; }

.tag-add-btn {
  background: none;
  border: 1px dashed var(--color-primary, #1868DB);
  color: var(--color-primary, #1868DB);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.75rem;
  cursor: pointer;
  opacity: 0.7;
}

.tag-add-btn:hover { opacity: 1; }

.tag-add-input {
  border: 1px solid var(--color-primary, #1868DB);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.75rem;
  outline: none;
  width: 120px;
}

.basket-actions {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

/* ── Basket cards: v3 grid (layout rules live in brivtex-v3.css) ── */
.basket-cards {
  display: grid;
  gap: 16px;
  min-height: 80px;
  padding: 4px 0;
}

.basket-empty-hint {
  color: #888;
  font-size: 0.85rem;
  padding: 16px 8px;
}

.video-card-channel {
  font-size: 0.78rem;
  color: #888;
  margin: 2px 0 4px;
}

/* New basket modal */
.basket-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* The display:flex above beats the UA stylesheet's [hidden] rule, so overlays
   toggled via the hidden attribute need this guard. dashboard-workspace.css
   carries its own copy; pages outside the dashboard rely on this one. */
.basket-modal-overlay[hidden] {
  display: none;
}

.basket-modal {
  background: #0d1228;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xl);
  padding: 36px 40px 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(24, 104, 219, 0.15);
  animation: modal-rise 0.2s cubic-bezier(0.34, 1.3, 0.64, 1) both;
}

@keyframes modal-rise {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.basket-modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-on-dark);
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}

.basket-modal-subtitle {
  font-size: 14px;
  color: var(--color-on-dark-muted);
  margin: 0 0 28px;
  line-height: 1.5;
}

.basket-modal-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
  margin-bottom: 8px;
}

.basket-modal-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-on-dark);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.basket-modal-input::placeholder { color: rgba(255, 255, 255, 0.22); }

.basket-modal-input:focus {
  border-color: var(--color-primary);
  background: rgba(24, 104, 219, 0.07);
}

.basket-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

/* Confirm-delete modal */
.confirm-delete-modal {
  background: #0d1228;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xl);
  padding: 36px 40px 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(239, 68, 68, 0.18);
  animation: modal-rise 0.2s cubic-bezier(0.34, 1.3, 0.64, 1) both;
}

.confirm-delete-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-status-failed);
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}

.confirm-delete-message {
  font-size: 14px;
  color: var(--color-on-dark-muted);
  margin: 0 0 28px;
  line-height: 1.5;
}

.confirm-delete-type-row {
  margin-bottom: 24px;
}

.confirm-delete-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
  margin-bottom: 8px;
}

.confirm-delete-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.confirm-delete-confirm-btn {
  padding: 10px 22px;
  font-size: 15px;
}

/* Cancellation disclosure modal (billing/manage). Carries more copy than the
   plain confirm-delete panel, so it is wider and scrolls inside itself. */
.confirm-delete-modal--facts {
  max-width: 540px;
  max-height: 86vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cancel-facts {
  display: grid;
  gap: 18px;
  margin: 0 0 26px;
  padding: 20px 0 0;
  border-top: 1px solid var(--color-on-dark-subtle);
}

.cancel-fact dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
  margin-bottom: 6px;
}

.cancel-fact dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.cancel-fact-list {
  margin: 0;
  padding-left: 18px;
}

.cancel-fact-list li + li {
  margin-top: 5px;
}

.cancel-confirm-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.cancel-confirm-check input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--color-status-failed);
  cursor: pointer;
}

/* Cancellation sits apart from the routine plan controls above it. */
.account-card--cancel {
  border-color: rgba(239, 68, 68, 0.28);
}

/* Toast */
.basket-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1a1a2e;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.basket-toast--error { background: #dc2626; }

/* ── New-video indicators ─────────────────────────────────── */
.channel-thumb-wrap {
  position: relative;
}

.new-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background-color: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

.feed-card-thumb-link {
  position: relative;
}

.new-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ef4444;
  pointer-events: none;
  z-index: 1;
}

.feed-card-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  line-height: 1.4;
  pointer-events: none;
  z-index: 1;
}
