/* Compact home, full filtering and metadata remain available in Explore. */
.home-mobile-only { display: none; }
.home-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.catalog-heading-home { display: none; }
.home-section-heading h2 { margin: 0; font-size: 18px; }
.home-text-link { min-height: 44px; padding: 0 4px; color: var(--muted); border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 12px; white-space: nowrap; }
.home-continue { margin: 18px 0 22px; }
.home-continue-rail { display: flex; gap: 12px; overflow-x: auto; padding: 2px 0 8px; scroll-snap-type: x proximity; }
.home-resume-card { display: flex; flex-direction: column; gap: 5px; flex: 0 0 184px; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--text); text-align: start; cursor: pointer; scroll-snap-align: start; }
.home-resume-art { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #183329; }
.home-resume-art img { width: 100%; height: 100%; object-fit: cover; }
.home-resume-play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(transparent,#0006); color: #fff; font-size: 20px; }
.home-resume-time { position: absolute; bottom: 8px; right: 8px; border-radius: 4px; background: #000b; padding: 2px 5px; font-size: 11px; color: #fff; }
.home-resume-track { position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: #ffffff44; }
.home-resume-track span { display: block; height: 100%; background: var(--accent); }
.home-resume-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.home-resume-episode { font-size: 11px; color: var(--muted); }
.home-resume-card:focus-visible, .home-text-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 8px; }
@media (max-width: 600px) {
  .viewer-home .home-mobile-only { display: inline-flex; }
  .viewer-home .home-desktop-only, .viewer-home .catalog-filters { display: none !important; }
  .viewer-home .apk-banner { justify-content: flex-end; padding: 0; background: transparent; border: 0; margin: 0 0 4px; }
  .viewer-home .apk-banner-copy { display: none; }
  .viewer-home .apk-banner-actions .btn { background: transparent; border: 0; color: var(--muted); min-height: 36px; }
  .viewer-home .hero-card { position: relative; height: 268px; border: 0; margin-bottom: 14px; }
  .viewer-home .hero-art { height: 100%; padding: 12px; border: 0; }
  .viewer-home .hero-art > .row:not(:last-child) { display: none; }
  .viewer-home .hero-art > .row:last-child { margin: 0; justify-content: flex-start !important; }
  .viewer-home .hero-art > .row:last-child .badge-neutral { display: none; }
  .viewer-home .hero-art > .row:last-child .badge-ok { background: #0006; border: 0; color: #e0e8e6; font-weight: 400; }
  .viewer-home .hero-body { position: absolute; inset: auto 0 0; padding: 12px 14px; background: linear-gradient(transparent,#000d); }
  .viewer-home .hero-title { font-size: 23px; margin-bottom: 12px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .viewer-home .hero-synopsis { display: none; }
  .viewer-home .hero-body .btn { min-height: 40px; }
  .viewer-home .hero-body [data-act=bookmark] { background: #15191dcc; }
  .viewer-home #catalog-section { padding: 0; border: 0; background: transparent; }
  .viewer-home .catalog-heading-full { display: none; }
  .viewer-home .catalog-heading-home { display: flex; }
  .viewer-home #catalog-grid > section { margin-top: 14px !important; }
  .viewer-home #catalog-grid h3 { margin: 0 0 10px; font-size: 16px; }
  .viewer-home #catalog-grid .card-grid { display: flex; gap: 12px; overflow-x: auto; padding: 0 0 8px; scroll-snap-type: x proximity; }
  .viewer-home #catalog-grid .story-card { flex: 0 0 72%; max-width: 280px; gap: 7px; padding: 0; background: transparent; border: 0; scroll-snap-align: start; justify-content: flex-start; }
  .viewer-home #catalog-grid .story-thumb { padding: 0; margin: 0; background: transparent; font-size: 11px; }
  .viewer-home #catalog-grid .story-thumb .badge { padding: 0; border: 0; background: transparent; font-size: 10px; }
  .viewer-home #catalog-grid .story-meta, .viewer-home #catalog-grid .story-body > .badge { display: none; }
  .viewer-home #catalog-grid .story-title { margin: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .viewer-home .home-continue { margin: 12px 0 16px; }
  .viewer-home .home-section-heading { margin-bottom: 4px; }
  .viewer-home .home-section-heading h2 { font-size: 17px; }
  .viewer-home .home-resume-card { flex-basis: 156px; }
}
