.main-content { position: relative; padding-top: 0; }
.main-content::before { content: ""; position: absolute; left: 50%; top: 0; z-index: -1; width: 100vw; height: 300px; background: radial-gradient(760px 260px at 30% 0, rgba(224,185,78,.16), transparent 70%), radial-gradient(700px 260px at 85% 0, rgba(85,128,247,.16), transparent 70%); transform: translateX(-50%); pointer-events: none; }
.bx { --bx-width: min(1340px, 100vw - 60px); display: block; width: var(--bx-width); margin: 0 calc((100% - var(--bx-width)) / 2); padding-top: 30px; color: #f8f4ea; }
.bx a { text-decoration: none; }
.bx-clear { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border: 1px solid rgba(224,185,78,0.22); border-radius: 11px; color: #f8f4ea; font-size: .875rem; font-weight: 700; }
.bx-clear:hover { border-color: #e0b94e; color: #f8f4ea; }
.bx-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.bx-top h1 { margin: 0; font-size: 2.5rem; line-height: 1.1; letter-spacing: -1px; }
.bx-top h1 span { background: linear-gradient(90deg, #f2dc96, #e0b94e 50%, #8c6a1f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bx-top p { margin: 4px 0 0; color: #c7cfe3; font-size: .94rem; }
.bx-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.bx-tools .site-pick { width: 200px; }
.bx-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 16px; margin-top: 22px; }
.bx-card { min-width: 0; }
.bx-card > a { display: block; color: inherit; }
.bx-pic { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 14px; background: #141d37; transition: box-shadow .15s ease; }
.bx-pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bx-card:hover .bx-pic, .bx-card.is-open .bx-pic { box-shadow: 0 0 0 2px #e0b94e, 0 16px 40px rgba(224,185,78,.3); }
.bx-state, .bx-rate { position: absolute; top: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 8px; background: rgba(9,15,32,.86); font-size: .75rem; font-weight: 700; }
.bx-state { left: 8px; color: #f8f4ea; }
.bx-state i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; }
.bx-state.is-completed i { background: #96aae0; }
.bx-state.is-hiatus i { background: linear-gradient(135deg,#fff3c4 0%,#f7cf5a 24%,#d99a1e 52%,#f5c94a 76%,#fff0b8 100%); }
.bx-state.is-dropped i { background: #f87171; }
.bx-rate { right: 8px; padding: 4px 8px; color: #e9c766; font-size: .78rem; font-weight: 800; }
.bx-card b { display: -webkit-box; margin-top: 10px; overflow: hidden; font-size: .94rem; line-height: 1.28; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.bx-card:hover b { color: #f1dc9b; }
.bx-card small { display: block; margin-top: 4px; color: #c7cfe3; font-size: .8rem; }
.bx-foot { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; color: #c7cfe3; font-size: .875rem; }
.bx-more { padding: 12px 30px; border: 1px solid rgba(224,185,78,0.26); border-radius: 99px; color: #f8f4ea; font-size: .9rem; font-weight: 700; }
.bx-more:hover { border-color: #e0b94e; color: #f8f4ea; }
.bx-more[aria-busy="true"] { opacity: .55; pointer-events: none; }
.bx-empty { padding: 60px 16px; color: #c7cfe3; text-align: center; }
.bx-empty .bx-clear { display: inline-flex; align-items: center; justify-content: center; padding-inline: 26px; line-height: 1; }
@media (max-width: 1240px) { .bx-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1060px) { .bx-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 880px) {
  .bx { --bx-width: calc(100vw - 32px); padding-top: 20px; }
  .bx-top { align-items: stretch; flex-direction: column; }
  .bx-top h1 { font-size: 2rem; }
  .bx-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bx-tools .site-pick { width: 100%; }
  .bx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) { .bx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; } }
/* Short wide screens (laptops at 125-150%): a compact header (title on one line, the four
   filters in one row) so the first row of covers is seen whole when the page opens. */
@media (min-width: 981px) and (max-height: 720px) {
  .bx { padding-top: 14px; }
  .bx-top { align-items: center; }
  .bx-top h1 { font-size: 1.9rem; white-space: nowrap; }
  .bx-top p { margin-top: 2px; font-size: .85rem; }
  .bx-tools { flex-wrap: nowrap; gap: 8px; }
  .bx-tools .site-pick { width: auto; flex: 0 0 auto; }
  .bx-tools .site-pick-btn { width: auto; padding: 0 10px 0 12px; font-size: .84rem; white-space: nowrap; }
  .bx-tools .site-pick-btn * { overflow: visible; text-overflow: clip; }
  .bx-grid { margin-top: 14px; }
}
