@media (min-width: 768px) and (min-height: 601px), (min-width: 768px) and (pointer: fine) {
  :where(html.klino-web-redesign:not(.klino-native-app)) {
    --desktop-gutter: clamp(1.5rem, 4vw, 5rem);
    --desktop-nav-surface: rgba(19, 20, 24, .94);
    --desktop-nav-border: rgba(255, 255, 255, .2);
    --desktop-nav-text: #f7f7fa;
    --desktop-nav-hover: rgba(255, 255, 255, .13);
    --desktop-nav-selected: #f4f4f7;
    --desktop-nav-selected-text: #111217;
    --featured-tile-width: clamp(13rem, 22vw, 28rem);
  }

  :where(html.klino-web-redesign:not(.klino-native-app)).light-theme {
    --desktop-nav-surface: rgba(250, 250, 252, .96);
    --desktop-nav-border: rgba(17, 18, 23, .15);
    --desktop-nav-text: #1d1e25;
    --desktop-nav-hover: rgba(17, 18, 23, .09);
    --desktop-nav-selected: #21222b;
    --desktop-nav-selected-text: #fff;
  }

  html.klino-web-redesign:not(.klino-native-app) #navbar {
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #navbar > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    max-width: none;
    height: 5rem;
    padding-inline: var(--desktop-gutter);
    column-gap: .75rem;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #navbar > div > div:first-child {
    display: contents;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #navbar > div > div:last-child {
    justify-self: end;
    pointer-events: auto;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #navbar > div > div:last-child > div {
    width: clamp(4.85rem, 11vw, 12rem);
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #navbar > div > div:first-child > a,
  :where(html.klino-web-redesign:not(.klino-native-app)) #navbar nav,
  :where(html.klino-web-redesign:not(.klino-native-app)) #navbar #search-input,
  :where(html.klino-web-redesign:not(.klino-native-app)) #navbar #nav-account-button {
    color: var(--desktop-nav-text) !important;
    background: var(--desktop-nav-surface) !important;
    border: 1px solid var(--desktop-nav-border) !important;
    border-radius: 999px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .18);
    backdrop-filter: blur(14px);
    pointer-events: auto;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #navbar > div > div:first-child > a {
    justify-self: start;
    padding: .25rem .7rem .25rem .25rem;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #navbar a > img {
    width: 1.8rem;
    height: 1.8rem;
    margin-right: .4rem;
    border-radius: 50%;
  }

  html.klino-web-redesign:not(.klino-native-app) #navbar .metallic-title {
    font-size: .9rem;
    background: none !important;
    color: var(--desktop-nav-text) !important;
    -webkit-text-fill-color: currentColor !important;
    filter: none;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #navbar nav {
    display: flex;
    justify-self: center;
    overflow: visible;
    gap: .15rem;
    padding: .22rem;
  }

  html.klino-web-redesign:not(.klino-native-app) #navbar nav .nav-tab {
    color: var(--desktop-nav-text) !important;
    background: transparent !important;
    border-radius: 999px;
    padding: .58rem clamp(.45rem, .92vw, 1rem);
    font-size: .82rem;
    line-height: 1.15;
    transition: color 180ms ease, background-color 180ms ease;
  }

  html.klino-web-redesign:not(.klino-native-app) #navbar nav .nav-tab:is(:hover, :focus-visible) {
    background: var(--desktop-nav-hover) !important;
  }

  html.klino-web-redesign:not(.klino-native-app) #navbar nav .nav-tab:is([aria-current="page"], [class~="bg-white/10"]) {
    color: var(--desktop-nav-selected-text) !important;
    background: var(--desktop-nav-selected) !important;
  }

  html.klino-web-redesign:not(.klino-native-app) #navbar nav .nav-tab i {
    color: inherit !important;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #header-search-field .search-field-icon {
    color: var(--desktop-nav-text);
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #navbar #desktop-category-menu {
    margin-top: 0;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #navbar :is(a, button, input):focus-visible {
    outline-color: #5087f6 !important;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #main-content:has(#hero-banner:not(.hidden)) {
    padding-top: 0;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #hero-banner:not(.hidden) {
    align-items: end;
    height: auto;
    min-height: clamp(26rem, 86vh, 56rem);
    min-height: clamp(26rem, 86svh, 56rem);
    max-height: none;
    overflow: hidden;
    isolation: isolate;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #hero-artwork {
    background: #0c0d10;
    pointer-events: none;
  }

  html.klino-web-redesign:not(.klino-native-app) #hero-banner .hero-bg {
    object-fit: contain;
    object-position: right center;
    filter: none !important;
    transform: none;
  }

  html.klino-web-redesign:not(.klino-native-app) #hero-banner .hero-gradient {
    background:
      linear-gradient(180deg, #0c0d104d, transparent 24%, transparent 55%, #0c0d10db),
      linear-gradient(90deg, #0c0d10 3%, #0c0d10e0 21%, #0c0d1080 41%, transparent 67%);
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #hero-banner #hero-content {
    max-width: none;
    padding: 6rem var(--desktop-gutter) clamp(3.9rem, 9vh, 6.25rem);
    gap: .75rem;
  }

  html.klino-web-redesign:not(.klino-native-app) #hero-banner #hero-title {
    color: #fff !important;
    max-width: min(44rem, 53vw);
    overflow-wrap: anywhere;
    font-size: clamp(2.4rem, 4.35vw, 5rem);
    font-weight: 800;
    line-height: 1.02;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .65);
  }

  html.klino-web-redesign:not(.klino-native-app) #hero-banner .hero-metadata {
    max-width: min(37rem, 55vw);
    gap: .35rem .6rem;
    color: #f1f1f5 !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
  }

  html.klino-web-redesign:not(.klino-native-app) #hero-banner :is(#hero-kind, #hero-genre:not(:empty)) {
    display: inline !important;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #hero-banner #hero-genre:not(:empty)::before {
    content: "·";
    margin-inline-end: .6rem;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #hero-banner #hero-synopsis:not(:empty) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-width: min(35ch, 48vw);
    overflow: hidden;
    overflow-wrap: anywhere;
    margin: .2rem 0;
    color: #ececf1;
    font-size: clamp(.93rem, 1.16vw, 1.2rem);
    line-height: 1.42;
    text-shadow: 0 1px 6px #000;
  }

  html.klino-web-redesign:not(.klino-native-app) #hero-banner #hero-age {
    color: #fff !important;
    background: rgba(17, 17, 20, .85) !important;
    border-color: rgba(255, 255, 255, .42) !important;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #hero-banner .hero-actions > button {
    justify-content: center;
    min-height: 3rem;
    border-radius: 999px;
  }

  html.klino-web-redesign:not(.klino-native-app) #hero-banner #hero-watchlist-btn {
    width: 3rem;
    padding: 0;
    color: #fff !important;
    background: rgba(25, 25, 30, .85) !important;
    border-color: rgba(255, 255, 255, .36) !important;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #hero-watchlist-text {
    display: none;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #hero-banner #hero-carousel-controls {
    position: absolute;
    inset-inline: 0;
    bottom: .75rem;
    justify-content: center;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #hero-carousel-controls > .hero-arrow {
    width: 2.25rem;
    height: 2.25rem;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #hero-banner button:focus-visible {
    outline-color: #fff !important;
  }

  /* Featured hero: restore the original floating, transparent navigation while keeping the text clear of the artwork. */
  /* The header floats in its original position over the featured hero.
     Only the individual navigation pills have their existing translucent surfaces. */
  html.klino-web-redesign:not(.klino-native-app) body:has(#hero-banner:not(.hidden)) #navbar:not(.klino-header-solid) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    pointer-events: none;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #main-content:has(#hero-banner:not(.hidden)) {
    padding-top: 0;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #hero-banner:not(.hidden) {
    min-height: clamp(35rem, 82svh, 52rem);
    height: auto;
    align-items: stretch;
    background: #0c0d10;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #hero-artwork {
    left: 42%;
    background: #0c0d10;
  }

  html.klino-web-redesign:not(.klino-native-app) #hero-banner .hero-bg {
    object-fit: contain;
    object-position: center;
  }

  html.klino-web-redesign:not(.klino-native-app) #hero-banner .hero-gradient {
    background: linear-gradient(90deg, #0c0d10 0%, #0c0d1066 6%, transparent 19%);
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #hero-banner #hero-content {
    width: 42%;
    max-width: none;
    margin: 0;
    min-height: clamp(35rem, 82svh, 52rem);
    justify-content: center;
    align-items: flex-start;
    gap: .9rem;
    padding: 7.5rem 1.5rem 4.5rem var(--desktop-gutter);
  }

  html.klino-web-redesign:not(.klino-native-app) #hero-banner #hero-title {
    max-width: 100%;
    font-size: clamp(2rem, 3.5vw, 4rem);
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  html.klino-web-redesign:not(.klino-native-app) #hero-banner .hero-metadata {
    max-width: 100%;
    line-height: 1.55;
    gap: .3rem .55rem;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #hero-banner #hero-synopsis:not(:empty) {
    max-width: 100%;
    overflow-wrap: break-word;
    -webkit-line-clamp: 4;
    font-size: clamp(.875rem, 1.05vw, 1.08rem);
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #hero-banner .hero-actions {
    max-width: 100%;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #row-featured:not(.hidden) {
    max-width: none;
    padding: 1.25rem var(--desktop-gutter) .55rem;
  }

  html.klino-web-redesign:not(.klino-native-app) #row-featured h2 {
    color: var(--text-main);
    font-size: clamp(1.18rem, 1.65vw, 1.65rem);
    font-weight: 700;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #row-featured button:not(.featured-tile) {
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid;
    border-radius: 50%;
    background: var(--bg-hover);
    color: var(--text-main);
    border-color: var(--border-color);
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #row-featured #featured-list {
    display: flex;
    gap: clamp(.65rem, 1.25vw, 1.35rem);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    padding-block: .3rem .7rem;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #featured-list .featured-tile {
    position: relative;
    isolation: isolate;
    flex: 0 0 var(--featured-tile-width);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, .23);
    border-radius: .8rem;
    background: #0c0d10;
    color: #fff !important;
    text-align: start;
    transition: border-color 180ms ease;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #featured-list .featured-tile:is(:hover, :focus-visible, [aria-pressed="true"]) {
    border-color: #fff;
    outline-offset: -3px !important;
    outline-color: #fff !important;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #featured-list .featured-tile::before {
    position: absolute;
    inset: 25% 0 0;
    z-index: 1;
    content: "";
    background: linear-gradient(transparent, rgba(0, 0, 0, .82));
    pointer-events: none;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #featured-list .featured-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #featured-list .featured-tile span {
    position: absolute;
    z-index: 2;
    inset: auto .8rem .65rem;
    overflow: hidden;
    color: #fff !important;
    font-size: clamp(.8rem, 1vw, 1rem);
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #catalog-container {
    max-width: none;
    padding-inline: var(--desktop-gutter);
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) #catalog-container .catalog-row h2 {
    letter-spacing: -.02em;
  }

  :where(html.klino-web-redesign:not(.klino-native-app)) :is(.movie-poster-card, .continue-poster-card, .featured-tile) {
    box-shadow: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1080px) and (min-height: 601px), (min-width: 768px) and (max-width: 1080px) and (pointer: fine) {
  :where(html.klino-web-redesign:not(.klino-native-app)) #navbar nav .nav-tab i:not(.fa-chevron-down) {
    display: none;
  }
  :where(html.klino-web-redesign:not(.klino-native-app)) #navbar > div > div:last-child > div {
    width: clamp(4.75rem, 10vw, 6.75rem);
  }
}
