:root {
  --brand: #e53935;
  --brand-dark: #c62828;
  --brand-soft: #ffebee;
  --text: #1f2329;
  --muted: #8a8f98;
  --line: #e8ebf0;
  --bg: #f3f5f7;
  --card: #fff;
  --radius: 12px;
  --max: 1200px;
  --header-h: 56px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-tap-highlight-color: rgba(229, 57, 53, .12);
}
body.nav-open { overflow: hidden; touch-action: none; }
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, a { -webkit-tap-highlight-color: transparent; }
mark.kw {
  background: linear-gradient(transparent 60%, #ffe082 60%);
  color: inherit;
  padding: 0 .1em;
  font-weight: 600;
}
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}
.empty { text-align: center; color: var(--muted); padding: 40px 12px; }

/* ========== Header（移动端优先） ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand toggle"
    "search search";
  align-items: center;
  gap: 6px 8px;
  padding: 6px 10px 8px;
  box-sizing: border-box;
}
.brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: var(--brand);
  min-width: 0;
  padding: 4px 0;
}
.brand-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-sub {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
  max-width: 70vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-toggle {
  grid-area: toggle;
  display: inline-flex;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: #f3f4f6;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  background: #333;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-search {
  grid-area: search;
  display: flex;
  align-items: stretch;
  width: 100%;
  background: #f3f4f6;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid transparent;
}
.header-search:focus-within {
  border-color: #ffcdd2;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(229,57,53,.08);
}
.header-search input {
  border: 0;
  background: transparent;
  outline: none;
  padding: 11px 14px;
  flex: 1;
  min-width: 0;
  /* ≥16px 避免 iOS 聚焦自动放大 */
  font-size: 16px;
  color: var(--text);
}
.header-search button {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 0 16px;
  min-width: 64px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

/* 移动端抽屉导航 */
.nav-mask {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 18, 24, .45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.nav-mask.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.main-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: min(82vw, 320px);
  height: 100%;
  height: 100dvh;
  background: #fff;
  box-shadow: -8px 0 28px rgba(0,0,0,.12);
  padding: calc(12px + env(safe-area-inset-top, 0px)) 0 calc(20px + var(--safe-bottom));
  transform: translateX(105%);
  transition: transform .24s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.main-nav.open { transform: translateX(0); }
.main-nav .nav-panel-title {
  margin: 0 16px 10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 14px 14px;
  border-radius: 10px;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}
.main-nav li.active > a,
.main-nav a:active { color: var(--brand); background: var(--brand-soft); }

.site-main {
  padding: 10px 0 calc(24px + var(--safe-bottom));
  min-height: 40vh;
}

/* Breadcrumb — 移动端重点 */
.breadcrumb {
  margin: 0 0 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.breadcrumb::-webkit-scrollbar { display: none; }
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 10px 12px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--line);
  white-space: nowrap;
  font-size: 13px;
  width: max-content;
  min-width: 100%;
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: #c0c4cc;
  margin-left: 6px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb .current {
  color: var(--text);
  font-weight: 700;
  max-width: 52vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Home sections */
.home-block { margin-bottom: 22px; }
.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 10px;
}
.block-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.block-title::before {
  content: "";
  width: 3px;
  height: 1em;
  border-radius: 2px;
  background: var(--brand);
  flex-shrink: 0;
}
.block-more {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  padding: 6px 0 6px 8px;
}
.block-more span { font-size: 15px; }

/* Poster cards — 手机默认 3 列，一屏能看完一块 */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
.poster-card {
  display: block;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  background: #2a2a2a;
  min-width: 0;
}
.poster-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #e9ecef;
  overflow: hidden;
}
@supports not (aspect-ratio: 3 / 4) {
  .poster-cover { height: 0; padding-bottom: 133.333%; }
}
.poster-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #e9ecef;
}
.poster-badge {
  position: absolute;
  left: 4px;
  top: 4px;
  z-index: 2;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  padding: 1px 5px;
  border-radius: 3px;
  line-height: 1.35;
}
.poster-badge.new { background: var(--brand); }
.poster-badge.hot { background: #ff8f00; }
.poster-badge.txt { left: auto; right: 4px; background: rgba(33,150,243,.92); }
.poster-shade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 16px 6px 6px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.62) 45%, rgba(0,0,0,.9) 100%);
  color: #fff;
}
.poster-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  word-break: break-all;
}
.poster-desc,
.poster-meta { display: none; }
.poster-grid.compact .poster-desc,
.poster-grid.compact .poster-meta { display: none; }

/* List */
.list-toolbar { margin-bottom: 10px; }
.page-h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}
.cat-filter {
  display: flex;
  gap: 6px;
  margin: 0 0 12px;
  padding: 2px 0 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex-wrap: nowrap;
  max-width: 100%;
}
.cat-filter::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #555;
  font-size: 12px;
  line-height: 1.2;
}
.chip.on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 700;
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.pager a {
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 10px;
  color: #333;
  font-size: 14px;
  min-width: 88px;
  text-align: center;
}
.pager-info { color: var(--muted); font-size: 13px; }

/* Detail */
.detail-page {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  max-width: 100%;
}
.detail-head {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.detail-cover img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: #f0f2f5;
}
.detail-info { min-width: 0; }
.detail-info h1 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.3;
  word-break: break-word;
}
.detail-info .sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 10px;
}
.tags-line { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.tag-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
}
.tag-pill.disk { background: #fff3e8; color: #d46b08; }
.summary {
  color: #444;
  margin-bottom: 12px;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.summary.is-open {
  display: block;
  -webkit-line-clamp: unset;
}
.summary-toggle {
  display: inline-block;
  margin: -6px 0 12px;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 13px;
  padding: 0;
  cursor: pointer;
}
.btn-primary {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 11px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  width: 100%;
}
.download-box, .article-body, .tag-cloud { margin-top: 22px; }
.download-box h2, .article-body h2, .tag-cloud h3 {
  margin: 0 0 12px;
  font-size: 17px;
  padding-left: 10px;
  border-left: 3px solid var(--brand);
}
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dl-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fafbfc;
}
.dl-type { font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.dl-link {
  word-break: break-all;
  font-size: 13px;
  display: inline-block;
  padding: 6px 0;
  line-height: 1.45;
}
.dl-code {
  margin-top: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.copy-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
  min-height: 36px;
}
.rich-content {
  font-size: 15px;
  color: #333;
  overflow-wrap: anywhere;
}
.rich-content img { border-radius: 8px; margin: 8px 0; }
.rich-content h2 { font-size: 17px; margin: 20px 0 10px; }
.rich-content h3 { font-size: 15px; margin: 16px 0 8px; }
.rich-content p { margin: 0 0 12px; }
.rich-content table { display: block; overflow-x: auto; max-width: 100%; }

/* 移动端底部固定下载条 */
.m-download-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: flex;
  gap: 10px;
  padding: 10px 12px calc(10px + var(--safe-bottom));
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(0,0,0,.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.m-download-bar .btn-primary { width: auto; flex: 1; }
.m-download-bar .btn-ghost {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #fff;
  color: #333;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
}
body.has-mbar .site-main {
  padding-bottom: calc(88px + var(--safe-bottom));
}
body.has-mbar .site-footer { padding-bottom: 8px; }

/* 内链 */
.inlink-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0 8px;
}
.inlink-pager .pager-item {
  display: block;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafbfc;
  color: inherit;
}
.inlink-pager .pager-item.is-empty {
  visibility: hidden;
  pointer-events: none;
}
.inlink-pager .pager-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.inlink-pager .pager-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.inlink-pager .next { text-align: right; }
.inlink-text-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.inlink-text-list li + li { border-top: 1px solid var(--line); }
.inlink-text-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  color: inherit;
}
.inlink-text-list .t {
  font-size: 14px;
  font-weight: 600;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #222;
}
.inlink-text-list .m {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--muted);
}
.inlink-text-list a:active .t,
.inlink-text-list a:hover .t { color: var(--brand); }
.detail-cats { margin-top: 4px; }
.tag-pill { text-decoration: none; }
.tag-pill.on {
  background: var(--brand);
  color: #fff;
}
.tag-pill.ghost {
  background: #fff;
  border: 1px dashed var(--line);
  color: var(--muted);
}
.tag-pill em {
  font-style: normal;
  margin-left: 4px;
  opacity: .75;
  font-size: 11px;
}
.tag-search-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.tag-search-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 8px;
}
.tag-search-box .tags-line { margin: 0; gap: 6px; }

/* Footer */
.site-footer {
  background: #1f2329;
  color: rgba(255,255,255,.72);
  margin-top: 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px 0 18px;
}
.fb-name { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.fb-sub { margin: 0 0 10px; font-size: 13px; color: rgba(255,255,255,.55); }
.footer-html { font-size: 13px; line-height: 1.7; }
.footer-html p { margin: 0 0 8px; }
.footer-html a { color: #ff8a80; }
.fn-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-left: 8px;
  border-left: 3px solid var(--brand);
}
.fn-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.fn-links a {
  color: rgba(255,255,255,.65);
  font-size: 13px;
  padding: 4px 0;
}
.fn-empty { font-size: 13px; color: rgba(255,255,255,.4); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 12px 0 calc(14px + var(--safe-bottom));
  font-size: 12px;
  color: rgba(255,255,255,.45);
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
.footer-bottom a { color: rgba(255,255,255,.45); }

/* Modal — 移动端底部抽屉 */
.modal[hidden] { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.modal-mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 18px 16px calc(18px + var(--safe-bottom));
  max-height: min(78vh, 640px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  animation: sheetUp .22s ease;
}
@keyframes sheetUp {
  from { transform: translateY(24px); opacity: .6; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  right: 8px;
  top: 8px;
  border: 0;
  background: #f3f4f6;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}
.modal-box h3 { margin: 4px 28px 14px 0; font-size: 17px; }
.modal-dl { border-top: 1px solid var(--line); padding: 12px 0; }
.modal-dl .t { font-weight: 700; margin-bottom: 6px; }
.modal-dl a {
  display: inline-block;
  word-break: break-all;
  padding: 6px 0;
  font-size: 14px;
}
.error-page {
  text-align: center;
  padding: 48px 12px;
  background: #fff;
  border-radius: 12px;
}
.error-page h1 { font-size: 48px; margin: 0; color: var(--brand); }

/* ========== 平板 ========== */
@media (min-width: 600px) {
  .container { padding: 0 14px; }
  .poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .poster-desc {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: rgba(255,255,255,.78);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .poster-meta {
    display: flex;
    margin-top: 5px;
    justify-content: space-between;
    gap: 6px;
    font-size: 10px;
    color: rgba(255,255,255,.68);
  }
  .detail-head { grid-template-columns: 130px minmax(0, 1fr); gap: 14px; }
  .detail-info h1 { font-size: 20px; }
  .btn-primary { width: auto; }
  .m-download-bar { display: none; }
  body.has-mbar .site-main { padding-bottom: 28px; }
  .summary { -webkit-line-clamp: unset; display: block; }
  .summary-toggle { display: none !important; }
}

/* ========== 桌面 ========== */
@media (min-width: 992px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    min-height: var(--header-h);
    padding: 0 16px;
    gap: 18px;
  }
  .brand, .nav-toggle, .header-search, .main-nav { grid-area: auto; }
  .nav-toggle, .nav-mask { display: none !important; }
  .nav-mask[hidden] { display: none !important; }
  .brand-text { font-size: 22px; }
  .header-search {
    width: auto;
    flex: 0 0 auto;
    border-radius: 999px;
  }
  .header-search input {
    width: 200px;
    font-size: 14px;
    padding: 9px 14px;
  }
  .header-search button {
    padding: 9px 16px;
    font-size: 13px;
    min-width: 0;
  }
  .main-nav {
    position: static;
    width: auto;
    height: auto;
    transform: none;
    box-shadow: none;
    padding: 0;
    overflow: visible;
    background: transparent;
    flex: 1;
    min-width: 0;
  }
  .main-nav .nav-panel-title { display: none; }
  .main-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    padding: 0;
  }
  .main-nav a {
    display: inline-block;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
  }
  .site-main { padding: 22px 0 48px; }
  .poster-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 12px; }
  .block-title { font-size: 20px; }
  .cat-filter {
    margin: 0 0 16px;
    padding: 0;
    flex-wrap: wrap;
    overflow: visible;
  }
  .detail-page { padding: 20px; }
  .detail-head { grid-template-columns: 160px minmax(0, 1fr); gap: 20px; }
  .detail-info h1 { font-size: 24px; }
  .inlink-pager { gap: 12px; }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
    padding: 36px 0 28px;
  }
  .modal { align-items: center; }
  .modal-box {
    width: min(92vw, 480px);
    border-radius: 12px;
    padding: 20px;
    max-height: 80vh;
    animation: none;
  }
  .poster-card {
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .poster-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(16,24,40,.12);
  }
  .poster-cover img { transition: transform .35s ease; }
  .poster-card:hover .poster-cover img { transform: scale(1.04); }
  .poster-title {
    white-space: nowrap;
    display: block;
    -webkit-line-clamp: unset;
  }
}

@media (min-width: 1200px) {
  .poster-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
