/* Adapted from the Opus HomeFlix prototype: cinematic TV canvas, portrait phone
   feature, restrained white actions, blue focus and generous poster shelves. */
:root {
  --hf-page: 1.25rem;
  --hf-poster: 7.6rem;
  --hf-focus: 0 0 0 3px var(--volt-400), 0 0 0 7px #1f7aff33;
}
.hf-active #view {
  padding: 0 0 6rem;
}
.hf-root {
  position: relative;
  overflow: hidden;
}
.hf-root svg:not([class^='nu-']),
.hf-dialog svg:not([class^='nu-']),
.hfp svg:not([class^='nu-']) {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}
.hf-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(4.5rem + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  gap: 1rem;
}
.hf-tabs {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hf-tabs button {
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
  position: relative;
  padding: 0.8rem 0.65rem;
  color: var(--text-3);
}
.hf-tabs button:after {
  content: '';
  position: absolute;
  bottom: 0.1rem;
  left: 0.7rem;
  right: 0.7rem;
  height: 3px;
  border-radius: 3px;
  background: transparent;
}
.hf-tabs button.selected {
  color: var(--text);
}
.hf-tabs button.selected:after {
  background: var(--volt-500);
}
.hf-tools {
  display: flex;
  gap: 0.35rem;
}
.hf-tools button {
  background: transparent;
  border: 0;
  padding: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hf-tools button span {
  display: none;
}
.hf-feature-controls button[aria-disabled='true'] {
  opacity: 0.35;
}
.hf-hero {
  position: relative;
  /* Short phones keep Play above the bottom navigation. */
  height: max(25rem, min(32rem, calc(100vh - 9.5rem)));
  margin: 0.4rem var(--hf-page) 0;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #10141e;
}
.hf-hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hf-hero-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(0deg, #07080c 0%, #07080cee 22%, #07080c20 70%, transparent);
}
.hf-hero-copy {
  position: absolute;
  bottom: 3.6rem;
  left: 1.1rem;
  right: 1.1rem;
  text-align: center;
  z-index: 1;
}
.hf-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15em;
  font-size: 0.7rem;
  font-weight: var(--fw-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--volt-300);
}
.hf-eyebrow .nu-glyph {
  --mark: 1.7em;
  margin: -0.4em -0.2em -0.4em -0.4em;
  color: var(--volt-400);
}
.hf-hero h1,
.hf-detail-copy h1 {
  font-size: clamp(1.9rem, 9.5vw, 2.4rem);
  line-height: 1.06;
  letter-spacing: var(--track-display);
  font-weight: var(--fw-display);
  margin: 0.8rem 0;
  overflow-wrap: anywhere;
}
.hf-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-2);
}
.hf-rating {
  color: #e4dfc7;
}
.hf-badge {
  border: 1px solid #8ccdff66;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.65rem;
  color: var(--volt-300);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hf-hero-plot {
  display: none;
}
.hf-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.hf-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.9rem;
  font-size: 0.9rem;
  font-weight: var(--fw-title);
  border: 0;
  white-space: nowrap;
}
.hf-primary {
  background: #f5f6f8;
  color: #0a0b10;
}
.hf-secondary {
  background: #ffffff1c;
  color: var(--text);
}
.hf-feature-controls {
  position: absolute;
  bottom: 0.6rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.3rem;
  z-index: 2;
}
.hf-feature-controls button {
  background: transparent;
  border: 0;
  padding: 0.5rem;
  display: flex;
}
.hf-dots {
  display: flex;
  gap: 0.4rem;
}
.hf-dots i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 100%;
  background: #526071;
}
.hf-dots i.selected {
  width: 1.4rem;
  border-radius: 0.3rem;
  background: var(--volt-400);
}
.hf-content {
  padding: 0 var(--hf-page);
}
.hf-browse-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0 0.75rem;
  gap: 0.5rem;
}
.hf-section-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
}
.hf-text-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 0;
  padding: 0.5rem 0;
  color: var(--volt-300);
  font-size: 0.75rem;
  white-space: nowrap;
}
.hf-filterbar {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0 0 1.8rem;
  scroll-margin-top: calc(1rem + env(safe-area-inset-top));
}
.hf-search {
  position: relative;
  display: flex;
  align-items: center;
}
.hf-search svg {
  position: absolute;
  left: 0.9rem;
  color: var(--text-3);
}
.hf-search input {
  padding: 0.8rem 0.8rem 0.8rem 2.7rem;
  background: #0f121b;
  border-color: #ffffff13;
  font-size: 0.85rem;
}
.hf-filter-options {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.hf-root select,
.hf-dialog select,
.hfp select {
  background: #151b27;
  color: var(--text);
  font: inherit;
  border: 1px solid #ffffff1a;
  border-radius: 0.5rem;
  padding: 0.65rem;
  max-width: 100%;
}
.hf-filter-options select {
  font-size: 0.72rem;
  min-width: 0;
  max-width: 32%;
}
.hf-filter-options .hf-text-button {
  margin-left: auto;
}
.hf-shelf {
  margin-bottom: 1.6rem;
}
.hf-shelf-heading,
.hf-result-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.55rem;
}
.hf-shelf-heading h2,
.hf-result-heading h2 {
  font-size: 1.12rem;
  font-weight: var(--fw-title);
  letter-spacing: var(--track-title);
}
.hf-result-heading {
  padding-bottom: 1rem;
}
.hf-result-heading > span {
  font-size: 0.75rem;
  color: var(--text-3);
}
.hf-row {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.55rem var(--hf-page) 0.75rem;
  margin: 0 calc(-1 * var(--hf-page));
  scroll-padding-left: var(--hf-page);
  scrollbar-width: none;
  contain: layout paint;
  -webkit-overflow-scrolling: touch;
}
.hf-row::-webkit-scrollbar {
  display: none;
}
.hf-card {
  width: var(--hf-poster);
  flex-shrink: 0;
  border: 0;
  background: none;
  border-radius: 0.6rem;
  padding: 0;
  min-width: 0;
}
.hf-card-art {
  display: block;
  position: relative;
  padding-top: 150%;
  overflow: hidden;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, #17273e, #0d111a);
}
.hf-card-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform var(--motion-focus) var(--motion-ease);
}
.hf-card-fallback {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 1rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  color: #c5d6ee;
}
.hf-card-title {
  display: block;
  font-size: 0.76rem;
  font-weight: var(--fw-label);
  color: var(--text-2);
  padding: 0.5rem 0.1rem 0.1rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.hf-card-meta {
  display: block;
  font-size: 0.65rem;
  color: var(--text-3);
  padding: 0.15rem 0.1rem;
}
.hf-card-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  background: #07080cbd;
  border: 1px solid #ffffff33;
  font-size: 0.55rem;
  letter-spacing: 0.04em;
  font-weight: 800;
  border-radius: 0.2rem;
  padding: 0.15rem 0.35rem;
}
.hf-card-progress {
  position: absolute;
  bottom: 0.5rem;
  left: 0.6rem;
  right: 0.6rem;
  height: 3px;
  background: #ffffff66;
  z-index: 3;
}
.hf-card-progress i {
  display: block;
  height: 100%;
  background: var(--volt-500);
}
.hf-wide {
  width: 16rem;
}
.hf-wide .hf-card-art {
  padding-top: 56.25%;
}
.hf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem 0.6rem;
}
.hf-grid .hf-card {
  width: 100%;
}
.hf-pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 0;
}
.hf-footnote {
  font-size: 0.65rem;
  line-height: 1.6;
  color: var(--text-3);
  padding: 2rem 0;
}
.hf-loading,
.hf-empty {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem 1.5rem;
}
.hf-empty p,
.hf-loading p {
  color: var(--text-2);
  font-size: 0.9rem;
  max-width: 35rem;
  line-height: 1.6;
}
.hf-empty h1,
.hf-empty h2 {
  font-size: 1.6rem;
}
.hf-art-error {
  visibility: hidden;
}
.hf-modal-open {
  overflow: hidden;
}
.hf-dialog {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 65;
  background: var(--bg);
  overflow: hidden;
}
.hf-detail-scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.hf-detail-hero {
  position: relative;
  min-height: 40rem;
  padding: 20rem var(--hf-page) 1rem;
}
.hf-detail-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 28rem;
  object-fit: cover;
  object-position: center top;
}
.hf-detail-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(0deg, var(--bg) 0%, var(--bg) 20%, #07080caa 48%, transparent 80%);
}
.hf-detail-dismiss {
  position: absolute;
  top: calc(1rem + env(safe-area-inset-top));
  right: var(--hf-page);
  width: 44px;
  height: 44px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
  z-index: 2;
  background: #07080cb0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #ffffff25;
  font-size: 0.85rem;
}
.hf-detail-copy {
  position: relative;
  z-index: 1;
}
.hf-detail-copy .hf-eyebrow,
.hf-detail-copy .hf-meta,
.hf-detail-copy .hf-actions {
  justify-content: flex-start;
}
.hf-detail-copy .hf-actions {
  flex-wrap: wrap;
}
.hf-detail-copy h1 {
  font-size: 2.5rem;
}
.hf-detail-plot {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1rem;
}
.hf-version {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.3rem;
  font-size: 0.72rem;
  flex-wrap: wrap;
  color: var(--text-3);
}
.hf-version > span {
  font-size: 0.65rem;
}
.hf-detail-body {
  padding: 1rem var(--hf-page) 5rem;
}
.hf-episodes-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}
.hf-episodes-heading h2 {
  font-size: 1.25rem;
}
.hf-episodes-heading select {
  font-size: 0.8rem;
}
.hf-episode {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0;
  background: none;
  border: 0;
  border-bottom: 1px solid #ffffff12;
  border-radius: 0.5rem;
  width: 100%;
}
.hf-episode-number {
  display: none;
  color: var(--text-3);
  font-size: 1.3rem;
  min-width: 2rem;
  text-align: center;
}
.hf-episode-art {
  width: 7.5rem;
  height: 4.25rem;
  flex-shrink: 0;
  position: relative;
  background: #162031;
  border-radius: 0.45rem;
  overflow: hidden;
}
.hf-episode-art img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hf-episode-art svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 2px 3px #000);
}
.hf-episode-copy {
  min-width: 0;
}
.hf-episode-copy strong {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}
.hf-episode-copy small {
  font-size: 0.7rem;
  margin-top: 0.4rem;
}
.hf-episode-copy > span {
  display: none;
}
.hf-about {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0;
}
.hf-about h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.hf-about p,
.hf-about dl {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.65;
}
.hf-about dl {
  margin: 0;
}
.hf-about dt {
  color: var(--text-3);
}
.hf-about dd {
  margin: 0 0 1rem;
}
.hfp {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #000;
  z-index: 80;
  color: white;
}
.hfp video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hfp-chrome {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  transition: opacity var(--motion-exit);
}
.hfp-chrome > * {
  pointer-events: auto;
}
.hfp header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: calc(1rem + env(safe-area-inset-top)) 1rem 3rem;
  background: linear-gradient(#000b, transparent);
}
.hfp header > div {
  flex: 1;
  min-width: 0;
}
.hfp-title {
  display: block;
  font-size: 1rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.hfp-episode {
  display: block;
  color: #b4b9c6;
  font-size: 0.75rem;
  margin-top: 0.4rem;
}
.hfp-quality {
  font-size: 0.65rem;
  color: #8ccdff;
}
.hfp button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #151b27d0;
  border: 0;
  font-size: 0.8rem;
  min-height: 2.5rem;
}
.hfp-status {
  margin: auto;
  max-width: 90%;
  text-align: center;
  background: #0c1422dd;
  border-radius: 1rem;
  padding: 1.4rem;
  font-size: 1rem;
  line-height: 1.5;
}
.hfp-recovery {
  text-align: center;
  padding: 1rem;
}
.hfp footer {
  padding: 4rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, #000d);
}
.hfp-time {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  margin-bottom: 1.3rem;
}
.hfp-time input {
  flex: 1;
  width: 0;
  padding: 0;
  accent-color: var(--volt-500);
  cursor: pointer;
}
.hfp-buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.hfp-spacer {
  flex: 1;
}
.hfp-toggle {
  background: #f5f6f8 !important;
  color: #07080c;
  min-width: 5rem;
  font-weight: var(--fw-title);
}
.hfp-hidden-controls .hfp-chrome {
  opacity: 0;
  pointer-events: none;
}
.hfp-hidden-controls .hfp-chrome > * {
  pointer-events: none;
}
.hfp-options {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: calc(100% - 2rem);
  max-width: 28rem;
  background: #101725;
  border: 1px solid #ffffff22;
  border-radius: 1rem;
  padding: 1.25rem;
  z-index: 2;
}
.hfp-options header {
  padding: 0 0 1rem;
  background: none;
  justify-content: space-between;
}
.hfp-options h2 {
  font-size: 1.3rem;
}
.hfp-options label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.hfp-options p {
  color: #b4b9c6;
  font-size: 0.8rem;
  line-height: 1.4;
}
.hfp-options select,
.hfp-options input {
  width: 100%;
}
.hfp-upnext {
  position: absolute;
  bottom: 9rem;
  right: 2rem;
  background: #101725ed;
  border: 1px solid #ffffff22;
  border-radius: 1rem;
  padding: 1.5rem;
}
.hfp-upnext h2 {
  font-size: 1.4rem;
  margin: 0.5rem 0 1rem;
}
.hfp-upnext p {
  color: #8ccdff;
}
.hfp video::cue {
  background: rgba(0, 0, 0, 0.76);
  color: white;
  font-family: Arial, sans-serif;
}
.hfp[data-caption-size='small'] video::cue {
  font-size: 18px;
}
.hfp[data-caption-size='medium'] video::cue {
  font-size: 25px;
}
.hfp[data-caption-size='large'] video::cue {
  font-size: 34px;
}
.hf-root button:focus-visible,
.hf-dialog button:focus-visible,
.hfp button:focus-visible,
.hf-root input:focus-visible,
.hf-root select:focus-visible,
.hf-dialog select:focus-visible,
.hfp input:focus-visible,
.hfp select:focus-visible {
  outline: none;
  box-shadow: var(--hf-focus);
}
.tv .hf-root button:focus,
.tv .hf-dialog button:focus,
.tv .hfp button:focus,
.tv .hf-root input:focus,
.tv .hf-root select:focus,
.tv .hf-dialog select:focus,
.tv .hfp input:focus,
.tv .hfp select:focus {
  outline: none;
  box-shadow: var(--hf-focus);
}
.hf-card:focus .hf-card-image {
  transform: scale(1.045);
}
.hf-card:focus .hf-card-title {
  color: white;
}
@media (min-width: 600px) and (max-width: 959px) {
  .hf-hero {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hf-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  :root {
    --hf-page: 5.5rem;
    --hf-poster: 13.5rem;
  }
  .hf-active #view {
    padding: 0 0 5rem;
  }
  .hf-header {
    position: absolute;
    top: 0;
    left: 10.75rem;
    right: 5.5rem;
    height: 8.5rem;
    padding: 0;
  }
  .hf-tabs {
    gap: 1rem;
  }
  .hf-tabs button {
    font-size: 1.55rem;
    padding: 1.4rem 2.2rem;
    border-radius: 0.75rem;
    background: #0b101c88;
  }
  .hf-tabs button:after {
    left: 2.2rem;
    right: 2.2rem;
    bottom: 0.65rem;
  }
  .hf-tools {
    position: absolute;
    right: 0;
    gap: 0.9rem;
  }
  .hf-tools button {
    padding: 0.8rem;
    font-size: 1.2rem;
  }
  .hf-tools button span {
    display: inline;
  }
  .hf-hero {
    margin: 0;
    border-radius: 0;
    height: 52rem;
    background: var(--bg);
  }
  .hf-hero-image {
    width: 82%;
    object-position: center 22%;
  }
  .hf-hero-shade {
    background:
      linear-gradient(
        90deg,
        #07080c 0%,
        #07080c 16%,
        #07080ce6 28%,
        #07080c59 52%,
        transparent 72%
      ),
      linear-gradient(0deg, #07080c 0%, #07080cb3 16%, transparent 42%),
      linear-gradient(180deg, #07080cbf 0%, transparent 24%);
  }
  .hf-hero-copy {
    left: 10.75rem;
    right: auto;
    bottom: 7rem;
    width: 51rem;
    text-align: left;
  }
  .hf-eyebrow {
    font-size: 1.05rem;
    justify-content: flex-start;
  }
  .hf-hero h1 {
    font-size: 5.6rem;
    line-height: 0.98;
    margin: 1.2rem 0;
    max-width: 49rem;
  }
  .hf-meta {
    justify-content: flex-start;
    gap: 1rem;
    font-size: 1.25rem;
  }
  .hf-badge {
    font-size: 0.9rem;
    padding: 0.2rem 0.55rem;
  }
  .hf-hero-plot {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.3rem;
    line-height: 1.55;
    color: var(--text-2);
    margin-top: 1.3rem;
    max-width: 45rem;
  }
  .hf-actions {
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 1.7rem;
  }
  .hf-button {
    min-height: 4rem;
    padding: 1rem 2rem;
    gap: 0.8rem;
    font-size: 1.3rem;
    border-radius: 0.8rem;
  }
  .hf-primary {
    min-width: 13rem;
  }
  .hf-feature-controls {
    bottom: 1.5rem;
    gap: 1.5rem;
  }
  .hf-feature-controls button {
    width: 3.5rem;
    height: 3.5rem;
    justify-content: center;
    background: #ffffff08;
    border-radius: 100%;
    font-size: 1.4rem;
  }
  .hf-dots {
    gap: 0.6rem;
  }
  .hf-dots i {
    width: 0.55rem;
    height: 0.55rem;
  }
  .hf-dots i.selected {
    width: 2rem;
  }
  .hf-content {
    padding-left: 10.75rem;
    padding-right: 5.5rem;
  }
  .hf-browse-heading {
    padding: 1rem 0 1.5rem;
  }
  .hf-section-kicker {
    font-size: 0.9rem;
  }
  .hf-text-button {
    font-size: 1.1rem;
  }
  .hf-filterbar {
    flex-direction: row;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 2rem;
  }
  .hf-search {
    flex: 1;
    max-width: 45rem;
  }
  .hf-search input {
    font-size: 1.15rem;
    padding: 1.1rem 1.1rem 1.1rem 3.4rem;
  }
  .hf-search svg {
    left: 1.2rem;
    font-size: 1.2rem;
  }
  .hf-filter-options {
    gap: 0.9rem;
    flex-wrap: nowrap;
    flex: 1;
    justify-content: flex-end;
  }
  .hf-filter-options select {
    font-size: 1rem;
    max-width: 15rem;
    padding: 0.85rem;
  }
  .hf-filter-options .hf-text-button {
    margin-left: 0.3rem;
  }
  .hf-shelf {
    margin-bottom: 2.8rem;
  }
  .hf-shelf-heading {
    margin-bottom: 0.8rem;
  }
  .hf-shelf-heading h2,
  .hf-result-heading h2 {
    font-size: 1.8rem;
  }
  .hf-result-heading > span {
    font-size: 1.1rem;
  }
  .hf-row {
    gap: 1.1rem;
    padding-top: 0.7rem;
    padding-bottom: 1rem;
  }
  .hf-card-title {
    font-size: 1.05rem;
    padding-top: 0.7rem;
  }
  .hf-card-meta {
    font-size: 0.85rem;
  }
  .hf-card-art {
    border-radius: 0.75rem;
  }
  .hf-card-badge {
    top: 0.7rem;
    left: 0.7rem;
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
  }
  .hf-wide {
    width: 25rem;
  }
  .hf-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2.2rem 1.1rem;
  }
  .hf-footnote {
    font-size: 0.9rem;
  }
  .hf-loading,
  .hf-empty {
    min-height: 60rem;
    padding: 10rem;
  }
  .hf-empty h1,
  .hf-empty h2 {
    font-size: 3rem;
  }
  .hf-empty p,
  .hf-loading p {
    font-size: 1.3rem;
  }
  .hf-detail-hero {
    min-height: 53rem;
    padding: 17rem 8rem 3rem;
  }
  .hf-detail-image {
    height: 54rem;
    width: 85%;
    left: auto;
    right: 0;
  }
  .hf-detail-shade {
    background:
      linear-gradient(90deg, #07080c 0%, #07080cdb 28%, #07080c44 65%, transparent),
      linear-gradient(0deg, #07080c, transparent 75%);
  }
  .hf-detail-dismiss {
    top: 3rem;
    right: 5rem;
  }
  .hf-detail-copy {
    max-width: 60rem;
  }
  .hf-detail-copy h1 {
    font-size: 5.2rem;
    max-width: 58rem;
  }
  .hf-detail-plot {
    font-size: 1.35rem;
    max-width: 56rem;
    margin-top: 1.4rem;
  }
  .hf-version {
    font-size: 1.1rem;
    margin-top: 1.8rem;
  }
  .hf-version > span {
    font-size: 0.95rem;
  }
  .hf-detail-body {
    padding: 1rem 8rem 6rem;
  }
  .hf-episodes-heading h2 {
    font-size: 2rem;
  }
  .hf-episodes-heading select {
    font-size: 1.25rem;
  }
  .hf-episode {
    padding: 1.5rem;
    gap: 2rem;
  }
  .hf-episode-number {
    display: block;
  }
  .hf-episode-art {
    width: 17rem;
    height: 9.56rem;
  }
  .hf-episode-copy strong {
    font-size: 1.45rem;
  }
  .hf-episode-copy small {
    font-size: 1.05rem;
  }
  .hf-episode-copy > span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-2);
    font-size: 1.1rem;
    line-height: 1.5;
    margin-top: 0.6rem;
  }
  .hf-about {
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    padding: 4rem 0;
  }
  .hf-about h2 {
    font-size: 2.1rem;
  }
  .hf-about p,
  .hf-about dl {
    font-size: 1.2rem;
  }
  .hfp header {
    padding: 3rem 4rem 7rem;
    gap: 2rem;
  }
  .hfp-title {
    font-size: 2rem;
  }
  .hfp-episode,
  .hfp-quality {
    font-size: 1.2rem;
  }
  .hfp button {
    min-height: 4rem;
    font-size: 1.3rem;
    padding: 1rem 1.4rem;
  }
  .hfp footer {
    padding: 7rem 5rem 3rem;
  }
  .hfp-time {
    font-size: 1.3rem;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }
  .hfp-buttons {
    gap: 1.2rem;
  }
  .hfp-toggle {
    min-width: 9rem;
  }
  .hfp-status {
    font-size: 1.5rem;
  }
  .hfp-options {
    right: 5rem;
    bottom: 4rem;
    width: 35rem;
    max-width: none;
    padding: 2rem;
  }
  .hfp-options h2 {
    font-size: 2rem;
  }
  .hfp-options label {
    font-size: 1.25rem;
  }
  .hfp-options p {
    font-size: 1.1rem;
  }
  .hfp-upnext {
    bottom: 15rem;
    right: 5rem;
    padding: 2.5rem;
  }
  .hfp-upnext h2 {
    font-size: 2rem;
  }
  .hfp[data-caption-size='small'] video::cue {
    font-size: 2.5rem;
  }
  .hfp[data-caption-size='medium'] video::cue {
    font-size: 3.3rem;
  }
  .hfp[data-caption-size='large'] video::cue {
    font-size: 4.2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hf-root *,
  .hf-dialog *,
  .hfp * {
    animation: none !important;
    transition: none !important;
  }
  .hf-card:focus .hf-card-image {
    transform: none;
  }
}
