/* Phase 5 · single list page (BN-BR), in AU's look, with BG's top + blurb (review.css) and BM's cards (lists-page.css). */

.list-title { font-family: "Archivo Black", sans-serif; font-weight: 400; font-size: clamp(2.2rem, 6vw, 5rem); line-height: 0.92; letter-spacing: -0.04em; max-width: 18ch; margin: 0.4rem auto 0.5rem; }
.sec-h { font-family: "Archivo Black", sans-serif; font-weight: 400; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.03em; margin-bottom: 1.2rem; }
.more-lists { color: #fff; }

/* shared bits of one film */
.e-film { font-family: "Archivo", sans-serif; font-weight: 900; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: -0.035em; }
.e-film .yr { font-family: var(--type); font-style: normal; font-weight: 400; font-size: 0.4em; letter-spacing: 0; vertical-align: middle; }
.e-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 1rem; font-family: var(--type); font-size: 0.8rem; margin: 0.45rem 0 0.7rem; }
.e-meta .stars { font-size: 1.05rem; }
.unrev { border: 2px dashed currentColor; border-radius: 999px; padding: 0 0.55rem; font-size: 0.72rem; }
.e-note { font-size: 1.05rem; line-height: 1.6; max-width: 56ch; }
.btn-pill { margin-top: 0.9rem; }
.btn-pill--off { opacity: 0.55; border-style: dashed; cursor: default; }
.btn-pill--off:hover { background: #fff; }

/* ======================================================= BN · numbered cards on blue */
.ecards { display: flex; flex-direction: column; gap: 1rem; }
.ecard { position: relative; display: grid; grid-template-columns: 7rem minmax(10rem, 15rem) minmax(0, 1fr); gap: 1.6rem; align-items: center; background: #fff; color: var(--ink); border: 4px solid var(--ink); border-radius: var(--r); padding: 1.2rem 1.6rem 1.2rem 1.2rem; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.ecard:hover { background: var(--c1); transform: translateY(-3px); box-shadow: 0 6px 0 var(--ink); }
.ecard__n { font-family: "Archivo Black", sans-serif; font-size: clamp(4rem, 8vw, 6.5rem); line-height: 0.85; letter-spacing: -0.06em; text-align: center; color: var(--c1); -webkit-text-stroke: 3px var(--ink); transition: color 0.2s; }
.ecard:hover .ecard__n { color: var(--c3); }
.ecard__pic { aspect-ratio: 3 / 4; overflow: hidden; border: 3px solid var(--ink); border-radius: calc(var(--r) - 10px); }
.ecard__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.ecard:hover .ecard__pic img { transform: scale(1.06); }

/* ======================================================= BO · poster grid */
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.4rem; }
.gcard a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 4px solid var(--ink); border-radius: var(--r); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s, background 0.25s; }
.gcard a:hover { transform: translateY(-4px); box-shadow: 0 6px 0 var(--ink); background: var(--c1); }
.gcard figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; margin: 0.6rem 0.6rem 0; border-radius: calc(var(--r) - 10px); border: 3px solid var(--ink); }
.gcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gcard a:hover img { transform: scale(1.06); }
.gcard .n { position: absolute; top: 0.6rem; left: 0.6rem; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--c1); border: 3px solid var(--ink); font-family: "Archivo Black", sans-serif; font-size: 1.4rem; }
.gcard__b { padding: 1rem 1.2rem 1.3rem; }
.gcard .e-film { font-size: 1.5rem; }
.gcard .e-note { font-size: 0.95rem; }

/* ======================================================= BP · one per screen */
.screens { display: grid; gap: var(--gap); grid-column: 1 / -1; }
.screen-e { min-height: calc(100svh - var(--bar, 88px) - var(--gap)); display: flex; align-items: center; padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 6vw, 6rem); scroll-margin-top: var(--bar, 88px); }
.screen-e:nth-child(4n+1) { background: var(--c2); color: #fff; }
.screen-e:nth-child(4n+2) { background: var(--c5); }
.screen-e:nth-child(4n+3) { background: var(--c3); color: #fff; }
.screen-e:nth-child(4n) { background: var(--c1); }
.screen-e__in { width: 100%; max-width: 72rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.screen-e__pic { aspect-ratio: 3 / 4; max-height: 72svh; overflow: hidden; border: 4px solid var(--ink); border-radius: var(--r); box-shadow: 10px 10px 0 var(--ink); }
.screen-e__pic img { width: 100%; height: 100%; object-fit: cover; }
.screen-e__n { display: block; font-family: "Archivo Black", sans-serif; font-size: clamp(5rem, 13vw, 10rem); line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 3px currentColor; margin-bottom: 0.6rem; }
.screen-e .e-film { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.screen-e .e-note { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.screen-e:nth-child(4n+1) .btn-pill, .screen-e:nth-child(4n+3) .btn-pill { border-color: var(--ink); }
.dots { position: fixed; right: 0.9rem; top: 50%; transform: translate(150%, -50%); z-index: 40; opacity: 0; transition: transform 0.3s, opacity 0.3s; }
.dots.is-on { transform: translate(0, -50%); opacity: 1; }
.dots ol { display: flex; flex-direction: column; gap: 0.35rem; }
.dots a { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); font-family: var(--type); font-weight: 700; font-size: 0.75rem; transition: background 0.2s, transform 0.2s; }
.dots a:hover { background: var(--c1); }
.dots a[aria-current] { background: var(--ink); color: var(--c1); transform: scale(1.15); }

/* ======================================================= BQ · index rail + reader */
.listpage .lrail-wrap { grid-template-columns: 23.4rem minmax(0, 1fr); }
.lindex { position: sticky; top: calc(var(--bar, 88px) + 1.4rem); }
.lindex .lbl { margin-bottom: 0.8rem; }
.lindex ol { display: flex; flex-direction: column; gap: 0.35rem; }
.lindex a { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: 0.6rem; align-items: center; padding: 0.4rem 0.7rem 0.4rem 0.4rem; border: 2px solid transparent; border-radius: 999px; transition: background 0.2s, border-color 0.2s; }
.lindex a:hover { background: #fff; border-color: var(--ink); }
.lindex a[aria-current] { background: var(--ink); color: var(--c1); }
.ix-n { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--ink); background: var(--c1); color: var(--ink); font-family: "Archivo Black", sans-serif; font-size: 0.85rem; }
.ix-t { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 0.95rem; line-height: 1.15; }
.ix-y { font-family: var(--type); font-size: 0.72rem; opacity: 0.75; }
.rentries { max-width: 46rem; display: flex; flex-direction: column; gap: 3.2rem; }
.rentry { scroll-margin-top: calc(var(--bar, 88px) + 1.5rem); }
.rentry__pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 4px solid var(--ink); border-radius: var(--r); margin-bottom: 1rem; }
.rentry__pic img { width: 100%; height: 100%; object-fit: cover; }
.rentry__pic .n { position: absolute; top: 0.8rem; left: 0.8rem; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--c1); border: 3px solid var(--ink); font-family: "Archivo Black", sans-serif; font-size: 1.5rem; }

/* ======================================================= BR · watch checklist */
.tally { background: var(--c1); position: sticky; top: var(--bar, 88px); z-index: 20; padding-block: 1rem; border-bottom: 6px solid var(--ink); --done: 0; }
.tally__t { font-family: "Archivo Black", sans-serif; font-size: clamp(1.3rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; }
.tally__t strong { font-weight: 400; color: var(--c3); }
.tally__bar { height: 16px; margin: 0.5rem 0 0.4rem; border: 3px solid var(--ink); border-radius: 999px; background: #fff; overflow: hidden; }
.tally__bar span { display: block; height: 100%; width: calc(var(--done) * 100%); background: var(--c3); border-radius: 999px; transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.tally__msg { font-family: var(--type); font-size: 0.85rem; }
.checklist { display: flex; flex-direction: column; gap: 0.8rem; }
.crow-e { color: var(--ink); display: grid; grid-template-columns: auto 3.4rem 6.5rem minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; background: #fff; border: 4px solid var(--ink); border-radius: var(--r); padding: 0.8rem 1.2rem; transition: background 0.2s; }
.crow-e.is-seen { background: #e9f7ef; }
.crow-e .btn-pill { margin-top: 0; white-space: nowrap; }
.crow-e__n { font-family: "Archivo Black", sans-serif; font-size: 2.6rem; line-height: 1; text-align: center; color: var(--c1); -webkit-text-stroke: 2px var(--ink); }
.crow-e figure { aspect-ratio: 3 / 4; overflow: hidden; border: 3px solid var(--ink); border-radius: 14px; }
.crow-e img { width: 100%; height: 100%; object-fit: cover; }
.crow-e.is-seen figure { filter: grayscale(0.6); }
.crow-e .e-film { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.crow-e .e-meta { margin: 0.3rem 0 0.4rem; }
.crow-e .e-note { font-size: 0.95rem; }
.seen { position: relative; display: grid; place-items: center; cursor: pointer; }
.seen input { position: absolute; opacity: 0; width: 2.6rem; height: 2.6rem; margin: 0; cursor: pointer; }
.seen__box { width: 2.6rem; height: 2.6rem; border: 3px solid var(--ink); border-radius: 12px; background: #fff; display: grid; place-items: center; transition: background 0.15s, transform 0.15s; }
.seen__box::after { content: "✓"; font-weight: 900; font-size: 1.5rem; color: #fff; transform: scale(0); transition: transform 0.15s; }
.seen input:checked + .seen__box { background: #1f9d55; }
.seen input:checked + .seen__box::after { transform: scale(1); }
.seen input:focus-visible + .seen__box { outline: 3px solid var(--c2); outline-offset: 2px; }
.seen:hover .seen__box { transform: rotate(-4deg); }

/* ---------- responsive */
@media (max-width: 64em) {
  .ecard { grid-template-columns: 5rem minmax(8rem, 11rem) minmax(0, 1fr); gap: 1.1rem; }
  .listpage .lrail-wrap { grid-template-columns: minmax(0, 1fr); }
  .lindex { position: static; }
  .lindex ol { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .lindex a { grid-template-columns: 2.2rem auto; white-space: nowrap; }
  .lindex .ix-y { display: none; }
  .crow-e { grid-template-columns: auto 2.6rem 5rem minmax(0, 1fr); }
  .crow-e .btn-pill { grid-column: 3 / -1; justify-self: start; }
}
@media (max-width: 52em) {
  .screen-e__in { grid-template-columns: minmax(0, 1fr); }
  .screen-e__pic { max-width: 20rem; max-height: none; }
  .dots { right: 0.4rem; }
  .dots a { width: 1.6rem; height: 1.6rem; font-size: 0.65rem; }
}
@media (max-width: 44em) {
  .ecard { grid-template-columns: 3.6rem minmax(0, 1fr); padding: 1rem; gap: 0.8rem 1rem; }
  .ecard__n { -webkit-text-stroke-width: 2px; grid-row: span 1; }
  .ecard__pic { grid-column: 2; max-width: 11rem; }
  .ecard__b { grid-column: 1 / -1; }
  .gcards { grid-template-columns: minmax(0, 1fr); }
  .crow-e { grid-template-columns: auto 4.5rem minmax(0, 1fr); padding: 0.8rem; gap: 0.8rem; }
  .crow-e__n { display: none; }
  .crow-e .e-note { display: none; }
  .crow-e .btn-pill { grid-column: 1 / -1; }
  .tally__t { font-size: 1.2rem; }
}

/* BR round 2: red "In short" (so it doesn't run into the blue list); the tally sticks to the bottom of the screen inside the list */
.blurb--red { background: var(--c3); }
.lres > .tally { position: sticky; top: auto; bottom: 0.9rem; z-index: 20; margin-top: 1.4rem; padding: 0.9rem 1.3rem; color: var(--ink); background: var(--c1); border: 4px solid var(--ink); border-radius: var(--r); box-shadow: 0 6px 0 var(--ink); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.2rem 1.4rem; align-items: center; }
.lres > .tally .tally__t { grid-row: span 2; white-space: nowrap; }
.lres > .tally .tally__bar { margin: 0; }
@media (max-width: 44em) {
  .lres > .tally { grid-template-columns: minmax(0, 1fr); padding: 0.7rem 1rem; bottom: 0.6rem; }
  .lres > .tally .tally__t { grid-row: auto; }
}

/* BS: "In short" inside the off-white top section, under the title */
.inshort { max-width: 40rem; margin: 1.6rem auto 0; padding-top: 1.4rem; border-top: 3px solid var(--ink); text-align: left; }
.inshort h2 { font-family: "Archivo Black", sans-serif; font-weight: 400; font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.inshort p { font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.5; font-weight: 600; }
