/* ═══════════════════════════════════════════
   LATEST UPDATES — page styles (Nuevo_theme_acetoon/latest.html).
   Solo lo propio de esta página: tokens, reset, topnav,
   genre-tabs, .skel, .sb-* , footer y bnav viven en home.css,
   que el layout carga antes que este archivo.
   ═══════════════════════════════════════════ */
:root {
  --scrim: rgba(var(--veil), .96);
  --tabs-h: 39px;
  /* mobile genre-tabs strip height (sticky offset) */
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

main {
  min-width: 0;
}

/* la tira de géneros es el primer bloque bajo el topnav fijo */
.genre-tabs {
  margin-top: var(--nav-h);
}

.lu-wrap {
  margin-top: 0;
}

/* ── Page header ── */
.lu-head {
  padding: 26px 18px 6px;
}

.lu-h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  line-height: .95;
  letter-spacing: 2px;
  font-weight: 400;
}

.lu-sub {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  font-size: 11px;
  color: var(--grey);
  font-weight: 600;
  flex-wrap: wrap;
}

.lu-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  background: var(--green-lo);
  border: 1px solid var(--green-md);
  border-radius: 20px;
  padding: 3px 9px;
}

.lu-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .lu-live-dot {
    animation: livepulse 1.7s ease-in-out infinite;
  }

  @keyframes livepulse {
    0%, 100% { opacity: 1 }
    50% { opacity: .25 }
  }
}

/* ── Day separators (signature): giant Bebas, stroked, half-clipped ── */
.day-head {
  position: sticky;
  top: calc(var(--nav-h) + var(--tabs-h));
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 52px;
  margin-top: 22px;
  display: flex;
  align-items: flex-end;
}

.day-big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 86px;
  line-height: 1;
  letter-spacing: 4px;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--bg4);
  user-select: none;
  pointer-events: none;
  position: absolute;
  left: 14px;
  bottom: -30px;
  /* bottom half clipped by overflow:hidden — cinema divider */
}

.day-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 9px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 21px;
  letter-spacing: 2.5px;
  color: var(--white);
}

.day-label .day-n {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--green);
  background: var(--green-lo);
  border-radius: 4px;
  padding: 2px 6px;
  transform: translateY(-2px);
}

/* ── Feed rows ── */
.lu-feed {
  padding: 0 18px;
}

.upd {
  display: flex;
  gap: 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px;
  margin-top: 10px;
  transition: border-color .2s;
}

.upd:hover {
  border-color: var(--green);
}

.upd-thumb {
  flex-shrink: 0;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  width: 62px;
  height: 88px;
  background: var(--bg3);
}

.upd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upd-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.upd-toprow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.upd-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  transition: color .15s;
}

a.upd-title:hover {
  color: var(--green);
}

.upd-meta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
}

.upd-genre {
  color: var(--grey);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-size: 8.5px;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2px 7px;
  white-space: nowrap;
}

.upd-score {
  color: var(--gold);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.upd-score svg {
  width: 9px;
  height: 9px;
  fill: var(--gold);
}

.upd-chs {
  display: flex;
  flex-direction: column;
}

.upd-ch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  margin-left: -6px;
  border-radius: 7px;
  min-height: 28px;
  transition: background .15s;
}

.upd-ch:hover {
  background: var(--bg3);
}

.upd-ch:hover .upd-ch-num {
  color: var(--white);
}

@media (pointer: coarse) {
  .upd-ch {
    min-height: 44px;
  }
}

.upd-ch-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  min-width: 62px;
  transition: color .15s;
}

.upd-ch-time {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
}

.upd-ch .ch-new {
  margin-top: 0;
}

.upd-ch-arrow {
  margin-left: auto;
  width: 13px;
  height: 13px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity .15s;
}

.upd-ch:hover .upd-ch-arrow {
  opacity: 1;
}

/* ── Empty feed ── */
.lu-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 24px 70px;
}

.lu-empty-h {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.lu-empty-p {
  font-size: 12px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 320px;
}

/* ── Most followed (sidebar variant) ── */
.sb-fol-count {
  font-size: 9px;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
}

/* ── Pagination ── */
.lu-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 30px 18px 8px;
  flex-wrap: wrap;
}

.pg {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--grey);
  font-size: 13px;
  font-weight: 700;
  padding: 0 8px;
  transition: border-color .18s, color .18s;
}

.pg:hover {
  border-color: var(--muted);
  color: var(--white);
}

.pg[aria-current="page"] {
  background: var(--green);
  border-color: var(--green);
  color: #000;
}

.pg.gap,
.pg.off {
  background: none;
  border: none;
  pointer-events: none;
  min-width: 22px;
}

.pg.off {
  opacity: .35;
  min-width: 44px;
}

.pg svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Responsive ── */
@media (min-width:640px) {
  .upd-thumb {
    width: 70px;
    height: 100px;
  }
}

@media (min-width:900px) {
  :root {
    --tabs-h: 0px;
    /* genre-tabs hidden on desktop */
  }

  .lu-wrap {
    /* on desktop the genre-tabs strip (which carried the nav offset) is hidden */
    margin-top: var(--nav-h);
  }

  .lu-head {
    padding: 36px 40px 6px 48px;
  }

  .lu-h1 {
    font-size: 64px;
  }

  .lu-feed {
    padding: 0 40px 0 48px;
  }

  .day-head {
    height: 62px;
  }

  .day-big {
    font-size: 118px;
    bottom: -42px;
    left: 34px;
  }

  .day-label {
    padding: 0 48px 10px;
    font-size: 24px;
  }

  .lu-pager {
    padding: 34px 40px 8px 48px;
  }

  .upd {
    padding: 13px;
    gap: 14px;
  }
}

@media (min-width:1280px) {
  .lu-head {
    padding-left: 56px;
  }

  .lu-feed {
    padding-left: 56px;
  }

  .day-label {
    padding: 0 56px 10px;
  }

  .day-big {
    left: 42px;
  }

  .lu-pager {
    padding-left: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .upd,
  .upd-ch,
  .upd-ch-arrow {
    transition: none;
  }
}
