/* =====================================================================
   falco-theme.css
   Sistema visual PORTADO TAL CUAL de los prototipos aprobados
   (falcoscan-prototipo-home/ficha/lector.html). Archivo nuevo,
   independiente de app.css — no lo reemplaza ni lo modifica, así que
   revertir es simplemente sacar el <link> de layout/main.blade.php.

   Se aplica solo a las vistas reconstruidas (home, ficha, lector,
   proyectos, header/footer compartido). El resto del sitio (login,
   register, ranking, manager) sigue usando app.css sin cambios.
   ===================================================================== */

:root {
  --bg: #0b0b0d;
  --surface: #17171a;
  --surface-2: #1e1e22;
  --border: #2a2a2e;
  --text: #f2f2f3;
  --text-dim: #9a9aa0;
  --accent: #e21c4d;
  --accent-dim: #b8153d;
  --radius: 10px;
}

.falco-v2 a { color: inherit; text-decoration: none; }
.falco-v2 img { max-width: 100%; display: block; }
.falco-v2 * { box-sizing: border-box; }

.main-wrapper { position: relative; z-index: 0; }

/* ---------- NAVBAR (home / ficha / proyectos) ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px 32px;
  background: rgba(13, 13, 16, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-left { grid-column: 1; display: flex; align-items: center; justify-self: start; }
header.nav .logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Teko', 'Jost', sans-serif; font-weight: 700; font-size: 1.65rem;
  letter-spacing: .5px; font-style: italic; line-height: 1;
}
header.nav .logo > span:last-child { position: relative; top: 3px; }
header.nav .logo .logo-mark { width: 32px; height: 29.4px; display: block; }
header.nav .logo .logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
header.nav .logo .logo-a { color: #fff; }
header.nav .logo .logo-b { color: var(--accent); }

.nav-links { grid-column: 2; display: flex; gap: 22px; font-size: .92rem; color: var(--text-dim); justify-self: center; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); }
.nav-right { grid-column: 3; display: flex; align-items: center; gap: 14px; justify-self: end; }
.nav-right .nav-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 14px; font-size: .85rem; color: var(--text-dim);
  min-width: 200px; cursor: text;
}
.nav-right .nav-search input {
  background: transparent; border: none; outline: none; color: var(--text);
  font-size: .85rem; width: 100%;
}
.nav-right .nav-search input::placeholder { color: var(--text-dim); }
.btn {
  padding: 8px 16px; border-radius: 8px; font-size: .85rem; font-weight: 600; border: 1px solid var(--border);
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.btn-ghost { background: transparent; color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); border-color: #3a3a42; }
.btn-accent { background: var(--accent); color: #fff; border-color: transparent; }
.btn-accent:hover { filter: brightness(1.08); }

/* ---------- MENÚ MÓVIL (hamburguesa + panel off-canvas) ---------- */
.hamburger-btn {
  display: none; width: 38px; height: 38px; border-radius: 8px;
  align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-size: 1.05rem; cursor: pointer;
}
.mobile-panel-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, .6);
  z-index: 90; opacity: 0; transition: opacity .25s ease;
}
.mobile-panel-backdrop.open { display: block; opacity: 1; }
.mobile-panel {
  position: fixed; top: 0; right: 0; height: 100%; width: 78%; max-width: 320px;
  background: var(--surface); border-left: 1px solid var(--border);
  z-index: 91; transform: translateX(100%); transition: transform .25s ease;
  padding: 20px; display: flex; flex-direction: column; gap: 2px;
}
.mobile-panel.open { transform: translateX(0); }
.mobile-panel .close-btn {
  align-self: flex-end; background: none; border: none; color: var(--text-dim);
  font-size: 1.3rem; cursor: pointer; margin-bottom: 14px; padding: 6px;
}
.mobile-panel .panel-search {
  display: flex; align-items: center; gap: 8px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 999px; padding: 9px 14px;
  margin-bottom: 18px; color: var(--text-dim); font-size: .85rem;
}
.mobile-panel a { padding: 13px 4px; font-size: 1rem; color: var(--text); border-bottom: 1px solid var(--border); display: block; }
.mobile-panel a.active { color: var(--accent); font-weight: 700; }
.mobile-panel .panel-actions { display: flex; gap: 10px; margin-top: 18px; }
.mobile-panel .panel-actions .btn { flex: 1; text-align: center; justify-content: center; }

/* ---------- NAV COMPACTA DEL LECTOR (sin grid, sin panel) ---------- */
header.reader-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 32px;
  background: rgba(13, 13, 16, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
header.reader-nav .logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Teko', 'Jost', sans-serif; font-weight: 700; font-size: 1.4rem;
  letter-spacing: .5px; font-style: italic; line-height: 1;
}
header.reader-nav .logo > span:last-child { position: relative; top: 3px; }
header.reader-nav .logo .logo-mark { width: 28px; height: 26px; display: block; }
header.reader-nav .logo .logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
header.reader-nav .logo .logo-a { color: #fff; }
header.reader-nav .logo .logo-b { color: var(--accent); }

/* ---------- LAYOUT BASE ---------- */
.falco-main { max-width: 1240px; margin: 0 auto; padding: 32px; }
.falco-main > section { margin-bottom: 56px; }

/* ---------- APOYANOS ---------- */
.support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 40px 0 8px; }
.support-btn {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; font-size: .85rem; font-weight: 600;
  transition: border-color .15s ease, transform .15s ease;
  min-width: 0;
}
.support-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.support-btn .icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.support-btn .icon svg { width: 20px; height: 20px; fill: #fff; }
.icon.discord { background: #5865F2; }
.icon.patreon { background: #000; }
.icon.random { background: var(--accent); }

/* ---------- HERO / DESTACADOS ---------- */
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.section-title h2 { font-size: 1.15rem; letter-spacing: .3px; color: var(--text); }
.section-title .see-all { font-size: .82rem; color: var(--text-dim); }
.section-title .see-all:hover { color: var(--accent); }

.hero-viewport { overflow: hidden; cursor: grab; touch-action: pan-y; }
.hero-viewport.dragging { cursor: grabbing; }
.hero-grid { display: flex; gap: 16px; user-select: none; -webkit-user-select: none; }
.hero-grid a { -webkit-user-drag: none; }
.hero-grid img { pointer-events: none; -webkit-user-drag: none; }
.hero-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  flex: 0 0 calc(25% - 12px); aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--surface-2), var(--surface)) center/cover;
  border: 1px solid var(--border);
  display: flex; align-items: flex-end;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.hero-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.hero-card .overlay { width: 100%; padding: 14px; background: linear-gradient(0deg, rgba(0, 0, 0, .92), rgba(0, 0, 0, .5) 55%, transparent 100%); }
.hero-card .overlay h3 {
  font-size: .95rem; margin-bottom: 6px; color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 2px 8px rgba(0, 0, 0, .6);
}
.falco-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.falco-tag { font-size: .66rem; padding: 2px 7px; border-radius: 5px; background: rgba(255, 255, 255, .08); color: var(--text-dim); }
.hero-dots { display: flex; justify-content: center; gap: 7px; margin-top: 18px; }
.hero-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--border); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.hero-dots span.active { background: var(--accent); transform: scale(1.25); }

/* ---------- GRID DE SERIES (home + proyectos) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.falco-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.falco-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 8px 18px rgba(0, 0, 0, .3); }
.falco-card .cover { aspect-ratio: 2/3; background: linear-gradient(160deg, var(--surface-2), #101014) center/cover; }
.falco-card .info { padding: 10px 12px; }
.falco-card .info h4 { font-size: .85rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.falco-card .info .ep { font-size: .72rem; color: var(--text-dim); }

/* ---------- PILLS DE GÉNERO ---------- */
.genres { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0; }
.genre-pill { padding: 7px 16px; border-radius: 999px; font-size: .8rem; background: var(--surface); border: 1px solid var(--border); color: var(--text-dim); }
.genre-pill:hover { color: var(--text); border-color: var(--accent); }

/* ---------- FICHA DE SERIE ---------- */
.series-hero-bg {
  position: absolute; top: 0; left: 0; right: 0; height: 640px;
  z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(2, 9, 7, .68) 0%, rgba(2, 9, 7, .8) 40%, rgba(2, 9, 7, .97) 78%, #020907 100%),
    var(--cover-bg) center 20% / cover no-repeat;
  filter: blur(1.5px);
}
.series-hero { display: grid; grid-template-columns: 260px 1fr 300px; gap: 32px; margin-bottom: 48px; }
.series-cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 2/3; background: var(--surface-2) center/cover; }
.series-main h1 { font-size: 1.8rem; margin-bottom: 14px; color: var(--text); }
.series-main .falco-tags { margin-bottom: 20px; }
.series-main .falco-tag { font-size: .72rem; padding: 4px 11px; border-radius: 999px; }
.series-main h2 { font-size: 1rem; margin-bottom: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; }
.series-main p.desc { color: var(--text-dim); margin-bottom: 26px; max-width: 60ch; line-height: 1.6; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-lg { padding: 12px 22px; border-radius: 8px; font-weight: 700; font-size: .92rem; border: 1px solid transparent; cursor: pointer; display: inline-block; }
.btn-lg.primary { background: var(--accent); color: #fff; }
.btn-lg.primary:hover { filter: brightness(1.08); }
.btn-lg.secondary { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-lg.secondary:hover { border-color: var(--accent); }

.info-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; height: fit-content; }
.info-panel h3 { font-size: 1rem; margin-bottom: 16px; color: var(--text); }
.info-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .85rem; }
.info-row:last-child { border-bottom: none; }
.info-row .label { color: var(--text-dim); }
.info-row .value { text-align: right; color: var(--text); }
.info-row .value.views { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.info-row .value.views svg { width: 16px; height: 16px; }

.chapters-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.chapter-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px; cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.chapter-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 8px 18px rgba(0, 0, 0, .3); }
.chapter-card .thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: 8px; background: var(--surface-2) center/cover; }
.chapter-card .ch-name { font-size: .9rem; font-weight: 600; display: flex; align-items: center; gap: 8px; color: var(--text); }
.chapter-card .ch-name .read-badge { font-size: .65rem; color: var(--accent); font-weight: 700; }
.chapter-card .ch-date { font-size: .75rem; color: var(--text-dim); margin-top: 2px; }

/* ---------- LECTOR ---------- */
.reader-main { max-width: 880px; margin: 0 auto; padding: 24px 16px 60px; }
.reader-head { text-align: center; margin-bottom: 22px; }
.reader-head h1 { font-size: 1.3rem; margin-bottom: 4px; color: var(--text); }
.reader-head .chapter-sub { color: var(--text-dim); font-size: .85rem; }

.reader-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.chapter-select { position: relative; }
.chapter-select > button, .chapter-select > .btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  padding: 9px 16px; border-radius: 8px; font-size: .85rem; font-weight: 600; cursor: pointer;
}
.chapter-select > button:hover, .chapter-select > .btn:hover { border-color: var(--accent); }
.chapter-dropdown {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  max-height: 260px; overflow-y: auto; min-width: 180px; z-index: 20;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .4);
}
.chapter-dropdown.open { display: block; }
.chapter-dropdown a { display: block; padding: 10px 16px; font-size: .83rem; color: var(--text-dim); border-bottom: 1px solid var(--border); }
.chapter-dropdown a:last-child { border-bottom: none; }
.chapter-dropdown a:hover { background: var(--surface-2); color: var(--text); }
.chapter-dropdown a.active { color: var(--accent); font-weight: 700; }

.nav-arrows { display: flex; gap: 8px; }
.nav-arrows a { width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.nav-arrows a:hover { border-color: var(--accent); color: var(--accent); }
.nav-arrows a.text-btn { width: auto; padding: 0 16px; gap: 6px; font-size: .85rem; font-weight: 600; }

.reader-pages { display: flex; flex-direction: column; align-items: center; gap: 0; user-select: none; }
.reader-pages canvas, .reader-pages img { width: 100%; max-width: 720px; display: block; }

.reader-bottom { display: flex; justify-content: center; gap: 14px; margin-top: 30px; }
.reader-bottom .btn { padding: 11px 22px; }

/* ---------- PROYECTOS (sin prototipo dedicado — mismo sistema) ---------- */
.list-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.filter-panel, .ranking-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
}
.filter-panel h2, .ranking-panel h2 { font-size: 1.1rem; margin-bottom: 20px; color: var(--text); }
.filter-panel + .ranking-panel, .ranking-panel { margin-top: 24px; }

.alpha-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.alpha-filter a {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 600; color: var(--text);
}
.alpha-filter a:hover, .alpha-filter a.active { color: var(--accent); border-color: var(--accent); }

.filter-select-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-select {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px;
  padding: 9px 14px; font-size: .82rem; font-weight: 600; color: var(--text-dim);
  display: flex; align-items: center; gap: 8px; cursor: pointer;
}
.filter-select:hover { color: var(--text); border-color: var(--accent); }

/* Dropdown de géneros/status: sigue usando el mecanismo de Bootstrap
   (data-bs-toggle) pero app.css no trae tema oscuro para
   .dropdown-menu genérico — sin esto se ve blanco por defecto. */
.filter-panel .dropdown-menu {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px;
  padding: 6px; max-height: 260px; overflow-y: auto;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .4);
}
.filter-panel .dropdown-item {
  color: var(--text-dim); font-size: .82rem; padding: 8px 10px; border-radius: 6px;
}
.filter-panel .dropdown-item:hover, .filter-panel .dropdown-item:focus {
  background: var(--surface); color: var(--text);
}

.ranking-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); align-items: center; }
.ranking-item:last-child { border-bottom: none; }
.ranking-item img { width: 52px; height: 68px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.ranking-item h4 { font-size: .85rem; color: var(--text); margin-bottom: 4px; }
.ranking-item .falco-tags { gap: 4px; }
.ranking-item .falco-tag { font-size: .62rem; padding: 1px 6px; }

.list-count { font-size: .85rem; color: var(--text-dim); margin-bottom: 20px; }
.list-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ---------- FOOTER ---------- */
footer.falco-footer {
  border-top: 1px solid var(--border); margin-top: 50px; padding: 28px 32px;
  text-align: center; color: var(--text-dim); font-size: .78rem;
}
footer.falco-footer a { color: var(--accent); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .series-hero { grid-template-columns: 200px 1fr; }
  .info-panel { grid-column: 1 / -1; }
  .chapters-grid { grid-template-columns: repeat(2, 1fr); }
  .list-layout { grid-template-columns: 1fr; }
  .list-grid { grid-template-columns: repeat(3, 1fr); }
  .series-hero-bg { height: 820px; }
}

@media (max-width: 900px) {
  .card-grid, .list-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
  .hero-card { flex: 0 0 calc(33.333% - 11px); }
}

@media (max-width: 640px) {
  .falco-main, .reader-main { padding: 20px 16px; }
  header.nav, header.reader-nav { padding: 10px 14px; }
  header.nav .logo, header.reader-nav .logo { font-size: 1.35rem; gap: 8px; }
  header.nav .logo .logo-mark, header.reader-nav .logo .logo-mark { width: 26px; height: 26px; }
  .nav-right { gap: 8px; }
  .nav-right .nav-search { display: none; }
  .nav-right .btn-ghost, .nav-right .btn-accent { display: none; }
  .hamburger-btn { display: flex; }

  .support { grid-template-columns: 1fr 1fr; gap: 10px; }
  .support-btn.patreon-btn { grid-column: 1 / -1; order: -1; justify-content: center; padding: 16px; }

  .hero-card { flex: 0 0 calc(50% - 8px); }
  .hero-card .overlay h3 { font-size: 1rem; }

  .card-grid, .list-grid { grid-template-columns: repeat(2, 1fr); }

  .series-hero { grid-template-columns: 1fr; }
  .series-cover { width: 200px; margin: 0 auto; }
  .series-main { text-align: center; }
  .series-main .falco-tags { justify-content: center; }
  .btn-row { justify-content: center; }
  .chapters-grid { grid-template-columns: 1fr; }
  .series-hero-bg { height: 1080px; }

  .reader-controls { flex-wrap: wrap; }

  .auth-card { padding: 26px 20px; }
}

/* ---------- LOGIN / REGISTER ---------- */
.auth-page { display: flex; justify-content: center; padding-top: 48px; padding-bottom: 48px; }
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 32px;
}
.auth-card h1 { font-size: 1.3rem; text-align: center; margin-bottom: 24px; color: var(--text); }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.auth-form .form-label { font-size: .82rem; color: var(--text-dim); font-weight: 600; }
.auth-form .form-control,
.comment-form .form-control {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 14px; font-size: .9rem; color: var(--text);
  width: 100%; box-shadow: none; font-family: inherit; resize: vertical;
}
.auth-form .form-control:focus,
.comment-form .form-control:focus {
  outline: none; border-color: var(--accent); background: var(--surface-2); color: var(--text);
  box-shadow: 0 0 0 3px rgba(226, 28, 77, .15);
}
.auth-form .form-control::placeholder,
.comment-form .form-control::placeholder { color: var(--text-dim); }
.auth-submit { width: 100%; text-align: center; margin-top: 4px; border: none; }
.auth-switch { text-align: center; font-size: .82rem; color: var(--text-dim); margin-top: 20px; }
.auth-switch a { color: var(--accent); font-weight: 600; }

/* ---------- COMENTARIOS ---------- */
.comments-section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.comments-section h2 { font-size: 1.15rem; margin-bottom: 20px; color: var(--text); }
.comment-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.comment-form .btn-lg { align-self: flex-start; border: none; cursor: pointer; }
.comments-login-hint { color: var(--text-dim); font-size: .85rem; margin-bottom: 28px; }
.comments-login-hint a { color: var(--accent); font-weight: 600; }
.comments-list { display: flex; flex-direction: column; gap: 14px; }
.comment-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.comment-item.reply { background: var(--surface-2); }
.comment-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.comment-item-head strong { color: var(--text); font-size: .88rem; }
.comment-item-head small { color: var(--text-dim); font-size: .72rem; }
.comment-content { color: var(--text); font-size: .88rem; white-space: pre-wrap; line-height: 1.5; }
.comment-actions { display: flex; gap: 14px; margin-top: 10px; }
.text-btn { background: none; border: none; padding: 0; font-size: .78rem; font-weight: 600; color: var(--text-dim); cursor: pointer; }
.text-btn:hover { color: var(--accent); }
.text-btn.danger:hover { color: #ff5c5c; }
.reply-form { display: none; margin-top: 12px; }
.reply-form.open { display: flex; }
.comment-replies { margin-top: 14px; margin-left: 16px; display: flex; flex-direction: column; gap: 10px; padding-left: 14px; border-left: 2px solid var(--border); }
.comments-empty { color: var(--text-dim); font-size: .85rem; }
