

@layer sections {

  

  .live {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: var(--n-cat-w) var(--n-ch-w) minmax(0, 1fr);
  }

  
  
  @media (min-width: 700px) {
    .live {
      grid-template-areas: "groups channels stage";
    }
    .live > [data-pane="groups"] { grid-area: groups; }
    .live > [data-pane="channels"] { grid-area: channels; }
    
    .live > .guide,
    .live > .find,
    .live > .guide-now,
    .live > .player,
    .live > .nowbar { grid-area: stage; }
  }

  
  .live[hidden] { display: none; }

  
  
  
  
  .pane {
    background: none;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    
    position: relative;
  }
  
  html:not([data-shell="tv"]) .pane::after,
  html:not([data-shell="tv"]) .pane:first-child::before,
  html:not([data-shell="tv"]) .cats-pane::after,
  html:not([data-shell="tv"]) .cats-pane::before {
    content: "";
    position: absolute; top: 14px; bottom: 14px; right: 0;
    width: 2px; pointer-events: none; z-index: 4;
    
    background: linear-gradient(180deg,
      transparent 0,
      var(--n-seam) var(--n-fade),
      var(--n-seam) calc(100% - var(--n-fade)),
      transparent 100%);
  }
  html:not([data-shell="tv"]) .pane:first-child::before,
  html:not([data-shell="tv"]) .cats-pane::before { right: auto; left: 0; }

  
  html:not([data-shell="tv"]) .cats-pane { position: relative; }
  


  .pane-head {
    display: flex;
    align-items: center;
    gap: var(--n-s2);
    
    
    padding: var(--n-s3) calc(14px + var(--n-sbw, 0px)) var(--n-s3) 14px;
    
    position: relative;
    flex: 0 0 auto;
  }
  html:not([data-shell="tv"]) .pane-head::after {
    content: "";
    position: absolute; left: var(--n-s4); right: var(--n-s4); bottom: 0;
    height: 1px; pointer-events: none;
    
    background: linear-gradient(90deg,
      transparent 0,
      var(--n-seam) var(--n-fade),
      var(--n-seam) calc(100% - var(--n-fade)),
      transparent 100%);
  }
  .pane-head h2 {
    
    line-height: var(--n-lh-cap);
    font-size: var(--n-fs-cap);
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    
    color: var(--n-text-2, var(--n-text));
  }
  .pane-head .bar-gap { min-width: var(--n-s2); }

  .pane-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  
  .row {
    display: flex;
    align-items: center;
    gap: var(--n-s3);
    width: 100%;
    min-height: var(--n-row-h);
    padding: var(--n-s2) var(--n-s4);
    text-align: left;
    color: var(--n-text);
    position: relative;
    transition: background var(--n-t-panel) var(--n-ease);
  }
  .row-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--n-fs-body);
  }
  .row-count,
  .row-chip {
    flex: 0 0 auto;
    font-family: var(--n-font-data);
    font-size: var(--n-fs-meta);
    color: var(--n-muted);
    font-variant-numeric: tabular-nums;
  }
  .row-chip {
    border: 1px solid var(--n-line);
    border-radius: var(--n-r-chip);
    padding: 1px 5px;
  }

  
  body:not(.is-touch) .row:hover:not(.is-on) {
    background: var(--n-panel);
    box-shadow: inset 3px 0 0 var(--n-hue);
  }
  
  .row:active:not(.is-on) { box-shadow: inset 3px 0 0 var(--n-hue); }

  
  .row.is-on {
    background: color-mix(in srgb, var(--n-hue) 16%, var(--n-panel));
    box-shadow: inset 3px 0 0 var(--n-hue);
  }

  
  .row.is-playing .row-name::after {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    margin-left: var(--n-s2);
    border-radius: 50%;
    background: var(--n-hue);
    vertical-align: middle;
  }

  .row-drag {
    flex: 0 0 auto;
    color: var(--n-line-2, var(--n-line));
    font-size: 11px;
    letter-spacing: -2px;
  }

  

  .player {
    position: relative;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .player-art,
  
  .player-blur {
    position: absolute;
    inset: -6%;
    width: 112%;
    height: 112%;
    object-fit: cover;
    filter: blur(26px) saturate(115%) brightness(.5);
    z-index: 0;
  }
  .player-art { z-index: 1; opacity: .55; }

  
  .player-hold {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
  .player-hold[hidden] { display: none; }

  
  .player-video {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    display: none;
  }
  .player.is-playing .player-video { display: block; }

  
  .player.is-playing .player-art,
  .player.is-playing .player-blur { display: none; }

  
  .player.is-playing .player-scrim {
    z-index: 3;
    background: linear-gradient(to top, var(--n-bg) 0%,
      color-mix(in srgb, var(--n-bg) 55%, transparent) 22%, transparent 46%);
  }
  .player.is-playing .player-body { z-index: 4; }

  
  .player:has(.player-banner.is-shown) .player-body { opacity: 0; }
  .player-body { transition: opacity var(--n-t-fade, 180ms) var(--n-ease, ease); }

  
  .player.is-playing .player-body h2 { font-size: clamp(16px, 1.3vw, 22px); }
  .player.is-playing .nownext { display: none; }

  .player-note {
    position: relative;
    z-index: 4;
    margin: var(--n-s3) 0 0;
    color: var(--n-muted);
    font-size: var(--n-fs-cap);
  }
  .player-note strong { color: var(--n-text); font-weight: 600; display: block; }

  
  
  .player.has-failed {
    position: relative;
    min-height: min(60vh, 460px);
  }

  .player-failed {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--n-s3);
    padding: var(--n-s4);
    text-align: center;
    background: rgba(8, 10, 14, .82);
  }
  .player-failed strong {
    color: var(--n-text);
    font-weight: 600;
    font-size: clamp(17px, 1.5vw, 24px);
  }
  .player-failed p {
    margin: 0;
    color: var(--n-muted);
    font-size: clamp(14px, 1.1vw, 18px);
  }
  
  .player-failed-out,
  .player-failed-anyway {
    border: 0;
    border-radius: 999px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, .16);
    color: var(--n-text);
    font: inherit;
    font-size: clamp(14px, 1.1vw, 18px);
    cursor: pointer;
  }
  .player-failed-out:hover,
  .player-failed-out:focus-visible,
  .player-failed-anyway:hover,
  .player-failed-anyway:focus-visible { background: rgba(255, 255, 255, .26); }

  
  html[data-shell="tv"] .player-failed strong { font-size: 30px; }
  html[data-shell="tv"] .player-failed p { font-size: 22px; }
  html[data-shell="tv"] .player-failed-out,
  html[data-shell="tv"] .player-failed-anyway { font-size: 22px; padding: 14px 30px; }

  
  .player-scrim,
  .player-art,
  .player-blur,
  .player-hold { pointer-events: none; }

  .player-scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, var(--n-bg) 6%,
      color-mix(in srgb, var(--n-bg) 70%, transparent) 46%, transparent 84%);
  }

  .player-body {
    position: relative;
    z-index: 3;
    margin-top: auto;
    padding: var(--n-s6) var(--n-s6) var(--n-s5);
  }
  .player-body h2 {
    font-size: clamp(24px, 2.4vw, 40px);
    margin-bottom: var(--n-s2);
  }

  
  .player {
    background:
      radial-gradient(120% 90% at 12% 30%,
        color-mix(in srgb, var(--n-hue) 16%, transparent), transparent 62%),
      linear-gradient(180deg,
        color-mix(in srgb, var(--n-hue) 4%, #050d17),
        #01060c);
  }

  
  .player-meta {
    font-family: var(--n-font-data);
    font-size: var(--n-fs-meta);
    color: var(--n-muted);
    margin-bottom: var(--n-s4);
  }

  
  .nownext {
    display: flex;
    gap: var(--n-s6);
    margin-bottom: var(--n-s4);
  }
  .nownext div { min-width: 0; }
  .nownext dt {
    font-family: var(--n-font-data);
    font-size: 10.5px;
    letter-spacing: .12em;
    color: var(--n-muted);
    margin-bottom: 2px;
  }
  .nownext dd {
    margin: 0;
    font-size: var(--n-fs-body);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .player-acts { display: flex; gap: var(--n-s3); flex-wrap: wrap; }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--n-s2);
    height: 44px;
    padding: 0 var(--n-s5);
    border-radius: var(--n-r-pill);
    border: 1px solid var(--n-line);
    background: var(--n-panel);
    color: var(--n-text);
    font-size: var(--n-fs-body);
    white-space: nowrap;
  }
  .btn-play {
    background: var(--n-hue);
    border-color: transparent;
    color: var(--n-bg);
    
    justify-content: center;
    font-weight: 600;
  }

  
  .jumpback {
    position: relative;
    z-index: 3;
    padding: 0 var(--n-s6) var(--n-s5);
  }
  .jumpback h3 {
    font-size: var(--n-fs-cap);
    font-weight: 600;
    color: var(--n-muted);
    margin-bottom: var(--n-s3);
  }
  .jumpback-row { display: flex; gap: var(--n-s3); overflow-x: auto; }
  .jumpback-item {
    flex: 0 0 148px;
    aspect-ratio: 16 / 9;
    border-radius: var(--n-r-card);
    border: 1px solid var(--n-line);
    background: var(--n-panel);
    display: flex;
    align-items: flex-end;
    padding: var(--n-s2);
    font-size: var(--n-fs-meta);
    color: var(--n-text);
    text-align: left;
  }

  .empty {
    margin: auto;
    padding: var(--n-gutter);
    color: var(--n-muted);
    text-align: center;
    max-width: 42ch;
  }
  .empty a { color: var(--n-hue); }

  
  .crow {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    height: 64px;
    
    padding: 8px 8px 8px 14px;   
    border-radius: 12px;
    text-align: left;
    color: var(--n-text);
    position: relative;
  }
  
  body:not(.is-touch) .crow:hover:not(.is-playing),
  .crow.is-hot:not(.is-playing) {
    box-shadow: inset 3px 0 0 0 var(--n-hue);
  }

  
  body.is-touch .grow:focus-visible,
  body.is-touch .crow:focus-visible { outline: none; }

  .crow-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }

  .crow-top { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
  .crow-name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: calc(15px * var(--ts));
    font-weight: 550;
    line-height: 1.25;
    color: var(--n-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .crow-live { flex: 0 0 auto; color: var(--n-hue); font-size: calc(12px * var(--ts)); }

  
  
  
  .crow-source {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 18px;
    text-align: center;
    font-size: 11px;
    line-height: 1;
    margin-right: var(--n-s2);
    font-family: system-ui, -apple-system, "Segoe UI Symbol", sans-serif;
  }
  .crow-source.is-new { color: rgb(110, 193, 119); }
  .crow-source.is-old { color: rgb(214, 106, 106); }
  html[data-shell="tv"] .crow-source { width: 26px; font-size: 15px; }

  .grow-source {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 18px;
    text-align: center;
    font-size: 11px;
    line-height: 1;
    margin-left: var(--n-s2);
    
    font-family: system-ui, -apple-system, "Segoe UI Symbol", sans-serif;
  }

  
  .grow-source.is-new { color: rgb(110, 193, 119); }
  .grow-source.is-old { color: rgb(214, 106, 106); }

  
  html[data-shell="tv"] .grow-source {
    width: 26px;
    font-size: 15px;
  }

  .tag-region {
    flex: 0 0 auto;
    overflow: hidden;
    white-space: nowrap;
    
    
    box-sizing: border-box;
    min-width: 30px;
    text-align: center;
    font-size: calc(10px * var(--ts));
    letter-spacing: .06em;
    color: var(--n-muted);
    border: 1px solid var(--n-line);
    border-radius: 4px;
    padding: 2px 5px;
  }

  .crow-now { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
  .crow-prog {
    flex: 1 1 auto;
    min-width: 0;
    font-size: calc(12.5px * var(--ts));
    color: var(--n-text);
    opacity: .78;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .crow-prog.is-none { opacity: .38; font-style: italic; }
  .crow-until {
    flex: 0 0 auto;
    font-size: calc(11px * var(--ts));
    color: var(--n-muted);
    font-variant-numeric: tabular-nums;
  }
  .crow-qual {
    flex: 0 0 auto;
    font-size: calc(9.5px * var(--ts));
    font-weight: 700;
    letter-spacing: .03em;
    color: #8fd0ff;
    border: 1px solid rgba(143, 208, 255, .3);
    border-radius: 4px;
    padding: 1px 4px;
    white-space: nowrap;
  }

  
  .crow-acts { flex: 0 0 auto; display: flex; align-items: center; gap: 2px; }
  .crow-act {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    line-height: 1;
  }
  .crow-pen { color: var(--n-muted); font-size: calc(13px * var(--ts)); }
  .crow-pen:hover { background: rgba(255, 255, 255, .12); color: var(--n-text); }
  .crow-star { color: #55606f; font-size: calc(15px * var(--ts)); }
  .crow-star:hover { background: rgba(255, 255, 255, .12); color: #f5c451; }
  .crow-star.is-fav { color: #f5c451; }

  
  .crow-forget { color: #55606f; font-size: calc(13px * var(--ts)); }
  .crow-forget:hover { background: rgba(255, 255, 255, .12); color: #e2705f; }

  
  .crow-clearall {
    display: block;
    width: 100%;
    margin: calc(8px * var(--ts)) 0 0;
    padding: calc(11px * var(--ts)) calc(14px * var(--ts));
    background: none;
    border: 0;
    border-radius: 10px;
    text-align: left;
    font: inherit;
    font-size: calc(13px * var(--ts));
    color: var(--n-muted);
    cursor: pointer;
  }
  .crow-clearall:hover { background: rgba(255, 255, 255, .08); color: #e2705f; }

  .crow-bar {
    display: block;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .10);
    overflow: hidden;
  }
  .crow-bar i { display: block; height: 100%; border-radius: 2px; background: var(--n-hue); }

  
  

  
  .crow.is-playing,
  .grow.is-playing {
    background: color-mix(in srgb, var(--n-hue) 10%, transparent);
    color: var(--n-text);
    box-shadow: inset 3px 0 0 0 var(--n-hue);
    border-radius: 12px;
  }

  
  
  .crow,
  .grow {
    border-radius: 12px;
    
    position: relative;
  }
  html:not([data-shell="tv"]) .crow::after,
  html:not([data-shell="tv"]) .grow::after {
    content: "";
    position: absolute; left: var(--n-s4); right: var(--n-s4); bottom: 0;
    height: 1px; pointer-events: none;
    
    background: linear-gradient(90deg,
      transparent 0,
      var(--n-seam) var(--n-fade),
      var(--n-seam) calc(100% - var(--n-fade)),
      transparent 100%);
  }
  
  .crow:last-child::after,
  .grow:last-child::after,
  .crow.is-playing::after,
  .grow.is-playing::after,
  .crow:has(+ .crow.is-playing)::after,
  .grow:has(+ .grow.is-playing)::after { display: none; }

  
  html[data-shell="tv"] .crow,
  html[data-shell="tv"] .grow { border-bottom: 1px solid var(--n-seam); }

  
  
  
  .grow {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    
    height: var(--n-row-h);
    padding: 0 14px;
    text-align: left;
    color: var(--n-text);
    position: relative;
  }
  
  
  body:not(.is-touch) .grow:hover:not(.is-playing),
  .grow.is-hot:not(.is-playing) {
    box-shadow: inset 3px 0 0 0 var(--n-hue);
  }
  
  
  
  
  .grow-sign {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: var(--n-muted);
    font-size: 15px;
  }
  .grow.is-playing .grow-sign { color: var(--n-hue); }
  .grow-sign.is-blank { background: none; box-shadow: none; }
  
  .grow-sign svg { width: 14px; height: 14px; display: block; }
  
  .grow-name {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--n-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .grow-count {
    flex: 0 0 auto;
    width: 34px;                        
    text-align: right;
    font-size: var(--n-fs-meta);
    font-variant-numeric: tabular-nums;
    color: var(--n-muted);
  }

  

  
  .row-grip {
    flex: 0 0 auto;
    display: grid;
    align-content: center;
    gap: 3px;
    width: 34px;
    height: 34px;
    
    padding: 0 1px 0 17px;
    
    border-radius: 8px;
    box-sizing: border-box;
    
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: grab;
  }
  .row-grip i {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--n-text-2, var(--n-text));
    opacity: .55;
  }
  .row-grip:hover i { opacity: .9; }
  .is-dragging .row-grip { cursor: grabbing; }

  
  
  .grow.is-carried,
  .crow.is-carried {
    opacity: .45;
    border-bottom-color: transparent;
  }

  
  .is-dragging,
  .is-dragging .grow,
  .is-dragging .crow {
    user-select: none;
    -webkit-user-select: none;
  }
  .is-dragging .grow:hover:not(.is-carried),
  .is-dragging .crow:hover:not(.is-carried) { background: transparent; }

  

  
  .is-reordering .grow,
  .is-reordering .crow {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
  }

  
  .grow.drop-above,
  .crow.drop-above { box-shadow: inset 0 3px 0 0 var(--n-hue); }
  .grow.drop-below,
  .crow.drop-below { box-shadow: inset 0 -3px 0 0 var(--n-hue); }

  
  
  .live.is-swiping[data-view] .pane[data-pane="groups"] {
    display: flex;
    z-index: 0;
  }
  .live.is-swiping .pane[data-pane="channels"] {
    z-index: 1;
    background: var(--n-bg);
    box-shadow: -12px 0 28px rgba(0, 0, 0, .45);
    will-change: transform;
  }
  
  .live.is-swiping .grow,
  .live.is-swiping .crow { pointer-events: none; }

  
  .is-reordering .grow,
  .is-reordering .crow { cursor: default; }
  .is-reordering .crow-acts { display: none; }

  
  
  
  .nowbar {
    
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - var(--n-s4) * 2);
    
    bottom: calc(var(--n-pill-h) + 6px + var(--n-sab));
    z-index: 15;
    display: flex;
    align-items: center;
    gap: var(--n-s2);
    padding: 0 5px 0 11px;
    height: 38px;
    border-radius: 12px;
    background: var(--n-pill-bg);
    border: 1px solid var(--n-pill-line);
    box-shadow: var(--n-pill-shadow);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    overflow: hidden;
  }
  .nowbar[hidden] { display: none; }
  .nowbar-face {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: var(--n-s3);
    text-align: left;
    height: 100%;
  }
  .nowbar-text { min-width: 0; display: flex; flex-direction: column; gap: 0; }
  .nowbar-text b {
    font-size: calc(11.5px * var(--ts));
    font-weight: 600;
    line-height: 1.25;
    color: var(--n-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nowbar-text span {
    font-size: calc(10px * var(--ts));
    line-height: 1.25;
    color: var(--n-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .nowbar-stop {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--n-line);
    background: rgba(255, 255, 255, .06);
    color: var(--n-hue);
    font-size: 9px;
  }
  .nowbar-stop:hover { background: rgba(255, 255, 255, .12); }
  .nowbar-bar {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: rgba(255, 255, 255, .08);
  }
  .nowbar-bar i { display: block; height: 100%; background: var(--n-hue); }

  
  
  @media (min-width: 700px) and (min-height: 501px) {
    .nowbar { display: none; }
  }

  
  @media (max-width: 699px) {
    .live {
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: auto auto minmax(0, 1fr);
      
    }

    
    .live[data-view="groups"] .player { display: none; }
    .live[data-view="groups"] .pane[data-pane="channels"] { display: none; }

    
    .live[data-view="channels"] .pane[data-pane="groups"] { display: none; }

    
    .player { display: none; }
    .live.is-playing .player {
      display: flex;
      grid-row: 1;
      aspect-ratio: 16 / 9;
      flex: 0 0 auto;
      border-bottom: 1px solid var(--n-seam);
    }
    
    .player-body { padding: var(--n-s3); }
    .player-body h2 { font-size: 15px; margin-bottom: 1px; }
    .player-meta { margin-bottom: 0; font-size: var(--n-fs-meta); }
    .nownext { display: none; }
    .jumpback { display: none; }
    .player-acts { display: none; }

    .pane {
      grid-row: 3;
      grid-column: 1;
      border-right: 0;
    }
    .pane-head { display: none; }        
    .pane[hidden] { display: none; }

    
  }

  
  @media (max-width: 940px) and (orientation: landscape) and (max-height: 500px) {
    .live {
      grid-template-columns: 42% minmax(0, 1fr);
      grid-template-rows: auto minmax(0, 1fr);
    }

    
    .live[data-view="groups"] .pane[data-pane="channels"] { display: none; }
    .live[data-view="channels"] .pane[data-pane="groups"] { display: none; }

    
    .live[data-view="groups"] .pane { grid-row: 1 / span 2; }

    .pane {
      grid-row: 2;
      grid-column: 1;
      border-right: 1px solid var(--n-seam);
    }
    .pane-head { display: none; }        

    
    .player {
      display: flex;
      grid-row: 1 / span 2;
      grid-column: 2;
      aspect-ratio: auto;
      border-bottom: 0;
    }
    

    
    .player-body { padding-bottom: var(--n-pill-clear); }
  }
  
  @media (min-width: 700px) and (max-width: 1199px) and (min-height: 501px) {
    .live { grid-template-columns: 200px 260px minmax(0, 1fr); }
  }

  
  @media (min-width: 2400px) {
    .live { grid-template-columns: 420px 520px minmax(0, 1fr); }
    .row { min-height: 64px; }
    .btn { height: 60px; padding: 0 var(--n-s6); }
    .jumpback-item { flex-basis: 260px; }
  }
  
  .player-ctl {
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    
    flex-wrap: wrap;
    gap: var(--n-s2);
    padding: var(--n-s3) var(--n-s4) calc(var(--n-s3) + var(--n-sab));
    background: linear-gradient(180deg, transparent, rgba(2, 5, 9, .82) 60%);
    opacity: 0;
    transition: opacity var(--n-t-fade, 180ms) var(--n-ease, ease);
  }
  .player-ctl[hidden] { display: none; }

  
  .player-ctl:hover,
  
  .player-ctl:has(:focus-visible),
  
  .player.is-paused > .player-ctl,
  .player-ctl.is-shown { opacity: 1; }

  .pbtn {
    flex: 0 0 auto;
    width: 44px; height: 44px;      
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--n-text);
    background: rgba(0, 0, 0, .55);
    border: 1px solid transparent;
  }
  .pbtn svg { width: 21px; height: 21px; display: block; }
  .pbtn[hidden] { display: none; }
  body:not(.is-touch) .pbtn:hover { background: rgba(0, 0, 0, .78); }
  
  .pbtn:focus-visible {
    outline: none;
    border-color: var(--n-hue);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--n-hue) 45%, transparent);
  }
  .pbtn-text {
    width: auto;
    min-width: 44px;
    padding: 0 var(--n-s3);
    border-radius: 22px;
    font-family: var(--n-font-data);
    font-size: var(--n-fs-meta);
    letter-spacing: .04em;
  }
  
  
  .pspace { order: 1; flex: 1 1 auto; }
  
  [data-role="pfit"], [data-role="ppip"], [data-role="pair"],
  [data-role="psafari"], [data-role="pfull"] { order: 2; }
  
  .pbreak { order: 3; flex: 0 0 100%; height: 0; }
  
  [data-role="pplay"] { order: 4; }

  
  
  .pscrub {
    order: 5;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: var(--n-s3);
  }
  .pscrub[hidden] { display: none; }

  
  .pvol { display: none; }

  html:not([data-shell="tv"]) body:not(.is-touch) .pvol {
    order: 4;
    display: flex;
    align-items: center;
    gap: var(--n-s2);
    flex: 0 0 auto;
  }

  
  .pvolr {
    -webkit-appearance: none;
    appearance: none;
    width: 110px;                   
    height: 20px;                   
    background: transparent;
    border: 0;
    margin: 0;
    cursor: pointer;
  }
  .pvolr::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .28);
  }
  .pvolr::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .28);
  }
  .pvolr::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px; height: 12px;
    margin-top: -4px;               
    border-radius: 50%;
    background: var(--n-text);
    border: 0;
  }
  .pvolr::-moz-range-thumb {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--n-text);
    border: 0;
  }
  .pvolr:focus-visible { outline: 2px solid var(--n-text); outline-offset: 3px; }

  
  .player.is-quiet { cursor: none; }
  .ptime {
    flex: 0 0 auto;
    font-family: var(--n-font-data);
    font-size: var(--n-fs-meta);
    color: var(--n-text);
    font-variant-numeric: tabular-nums;
  }
  .ptrack {
    position: relative;
    flex: 1 1 auto;
    height: 30px;                   
    display: flex;
    align-items: center;
    cursor: pointer;
    touch-action: none;             
  }
  .ptrack::before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .22);
  }
  
  .ptrack-loaded,
  .ptrack-played {
    position: absolute;
    left: 0;
    height: 4px;
    border-radius: 2px;
  }
  .ptrack-loaded { background: rgba(255, 255, 255, .34); }
  .ptrack-played { background: var(--n-hue); }
  .ptrack-knob {
    position: absolute;
    width: 13px; height: 13px;
    margin-left: -6px;
    border-radius: 50%;
    background: var(--n-hue);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
  }
  .ptrack:focus-visible { outline: none; }
  .ptrack:focus-visible .ptrack-knob {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--n-hue) 45%, transparent);
  }

  
  
  
  .player-banner {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 4;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px 24px;
    padding-bottom: calc(24px + var(--n-sab, 0px));
    background: linear-gradient(to top, rgba(0, 0, 0, .9), transparent);
    opacity: 0;
    transition: opacity var(--n-t-fade, 180ms) var(--n-ease, ease);
  }
  .player-banner[hidden] { display: none; }
  .player-banner.is-shown { opacity: 1; }

  
  .player-format {
    position: absolute;
    
    top: calc(96px + var(--n-sat, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    pointer-events: none;
    display: flex;
    align-items: baseline;
    gap: 10px;
    max-width: calc(100% - 32px);
    
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
    color: var(--n-text);
    font-family: var(--n-font-data);
    font-size: 25px;
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
    opacity: 0;
    transition: opacity var(--n-t-fade, 180ms) var(--n-ease, ease);
  }
  .player-format.is-shown { opacity: 1; }
  
  .player-format-was {
    font-size: 17px;
    font-weight: 500;
    color: rgb(232, 192, 115);
  }
  
  html[data-shell="tv"] .player-format { font-size: 34px; padding: 16px 30px; }
  html[data-shell="tv"] .player-format-was { font-size: 23px; }
  
  @media (max-width: 560px) {
    .player-format { font-size: 20px; padding: 10px 18px; }
    .player-format-was { font-size: 14px; }
  }
  
  .player.is-paused .player-banner { opacity: 1; }
  
  body.is-vod .banner-prog { display: none; }
  
  body.is-vod .player-banner {
    top: 0;
    bottom: auto;
    padding-top: calc(var(--n-s3) + var(--n-sat));
    padding-bottom: var(--n-s4);
    padding-left: calc(var(--n-s2) + 40px + var(--n-s3));
    background: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent);
  }
  
  .banner-logo {
    flex: 0 0 68px;
    width: 68px; height: 68px;
    object-fit: contain;
    
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6));
  }
  .banner-logo[hidden] { display: none; }
  .banner-text { flex: 1 1 auto; min-width: 0; }
  .banner-prog {
    font-size: calc(22px * var(--ts));
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  
  .banner-prog.is-none { opacity: .55; font-weight: 400; }
  .banner-line {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    font-size: calc(15px * var(--ts));
    min-width: 0;
  }
  .banner-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .banner-chips { display: flex; gap: 8px; flex-wrap: wrap; }
  .banner-chips .chip {
    font-size: calc(12px * var(--ts));
    letter-spacing: .04em;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .16);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }

  
  .player-video.fit-fit  { object-fit: contain; }
  .player-video.fit-fill { object-fit: cover; }

  
  body.css-fullscreen .player {
    position: fixed;
    inset: 0;
    z-index: 200;
    aspect-ratio: auto;
    max-height: none;
  }
  body.css-fullscreen .rail,
  body.css-fullscreen .pane { display: none; }

  
  @media (min-width: 1200px) and (pointer: coarse), (min-width: 1600px) {
    .pbtn { width: 56px; height: 56px; }
    .pbtn svg { width: 26px; height: 26px; }
    .pbtn-text { min-width: 56px; font-size: var(--n-fs-body); }
    .banner-prog { font-size: var(--n-fs-body-lg); }
    .banner-logo { width: 60px; height: 60px; }
  }

  
  .store {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: var(--n-pill-clear);
    
    line-height: 1.45;
  }
  .store[hidden] { display: none; }

  
  .hero {
    position: relative;
    min-height: 52vh;
    
    display: flex;
    align-items: flex-end;
    
    margin: var(--n-s3) var(--n-s3) var(--n-s4);
    border-radius: 20px;
    overflow: hidden;
    
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  }
  .hero[hidden] { display: none; }
  .hero-art {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center 20%;
  }
  
  .hero-fill { display: none; }
  
  .hero-poster { display: none; }
  
  
  
  
  .hero-scrim { display: none; }
  
  
  html:not([data-shell="tv"]) .hero-title {
    text-shadow:
      0 1px 2px rgba(0, 0, 0, .92),
      0 1px 6px rgba(0, 0, 0, .62);
  }
  html:not([data-shell="tv"]) .hero-meta {
    
    text-shadow:
      0 1px 2px rgba(0, 0, 0, .9),
      0 1px 5px rgba(0, 0, 0, .55);
  }
  
  .hero-body {
    text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 2px 10px rgba(0, 0, 0, .45);
    
    position: relative;
    z-index: 1;
    width: max-content;
    
    max-width: min(52ch, 58%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    
    padding: var(--n-s5);
  }
  
  .hero-body::before {
    content: "";
    position: absolute;
    
    inset: -8% -14% -6% -8%;
    border-radius: 10px;
    background: linear-gradient(to top,
      rgba(6, 10, 16, .62) 0%,
      rgba(6, 10, 16, .50) 55%,
      rgba(6, 10, 16, .34) 100%);
    -webkit-backdrop-filter: blur(14px) saturate(1.05);
    backdrop-filter: blur(14px) saturate(1.05);
    -webkit-mask-image:
      linear-gradient(to top, #000 0%, #000 62%, transparent 100%),
      linear-gradient(to right, #000 0%, #000 66%, transparent 100%);
    mask-image:
      linear-gradient(to top, #000 0%, #000 62%, transparent 100%),
      linear-gradient(to right, #000 0%, #000 66%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    pointer-events: none;
    z-index: 0;
  }
  
  .hero-body > * { position: relative; z-index: 1; }
  
  .hero-title {
    
    font-size: clamp(23px, 3.6vw, 46px);

    font-weight: 600;
    letter-spacing: -.022em;
    line-height: 1.12;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .6);
    margin-bottom: var(--n-s2);
  }
  
  .hero-meta {
    
    font-size: calc(13.5px * var(--ts));
    color: rgba(255, 255, 255, .72);
    margin-bottom: var(--n-s3);
  }
  .hero-plot { color: var(--n-text-2, var(--n-muted)); margin-bottom: var(--n-s3); }
  .hero-acts { display: flex; gap: var(--n-s3); flex-wrap: wrap; }

  
  .rows { padding: 0 0 var(--n-s5); }
  .row-strip { margin-bottom: var(--n-s5); }
  .strip-head {
    display: flex;
    align-items: baseline;
    gap: var(--n-s3);
    padding: 0 var(--n-s5) var(--n-s3);
  }
  
  .strip-head h3 {
    font-size: calc(19px * var(--ts));
    font-weight: 600;
    line-height: 1.45;
  }
  
  .strip-all {
    font-size: var(--n-fs-body);
    color: var(--n-text);
    opacity: .78;
    min-height: 32px;
    padding: 4px 10px;
    border-radius: var(--n-r-chip);
  }
  body:not(.is-touch) .strip-all:hover { opacity: 1; background: var(--n-panel); }
  
  .strip-name {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    text-align: left;
  }
  .strip-chev { color: var(--n-muted); font-weight: 400; }
  body:not(.is-touch) .strip-name:hover .strip-chev { color: var(--n-text); }

  
  
  .strip {
    display: flex;
    gap: var(--n-s3);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding: 10px var(--n-s5) 22px;
    
    scroll-padding-left: var(--n-s5);
    scrollbar-width: none;
  }
  .strip::-webkit-scrollbar { display: none; }

  
  
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--n-card-min, 132px), 1fr));
    gap: var(--n-s4) var(--n-card-gap, var(--n-s3));
    padding: 10px var(--n-s5) var(--n-s5);
  }
  .card {
    
    position: relative;
    flex: 0 0 auto;
    width: var(--n-card-w);
    scroll-snap-align: start;
    text-align: left;
    color: var(--n-text);
  }
  .cards .card { width: auto; }
  
  .card-shot {
    display: block;
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(155deg, var(--n-panel-2), var(--n-panel));
    box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
    transition: transform .16s ease, box-shadow .16s ease;
    
    margin-bottom: 8px;
  }
  
  .card-art {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity .25s ease;
  }
  .card-art.is-ready { opacity: 1; }

  
  .card-art.was-already-here {
    transition: none;
    opacity: 1;
  }

  
  .card-shot::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(115deg,
      transparent 30%, rgba(255, 255, 255, .14) 46%, transparent 62%);
    transform: translateX(-120%);
    transition: transform .55s cubic-bezier(.22, .61, .36, 1);
  }
  
  
  
  body:not(.is-touch) .card:hover .card-shot::before,
  .card:active .card-shot::before { transform: translateX(120%); }

  @media (prefers-reduced-motion: reduce) {
    .card-shot::before { transition: none; }
  }

  
  
  body:not(.is-touch) .card:hover .card-shot {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .6);
  }
  
  .card:active .card-shot {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .6);
  }
  
  .card:focus-visible .card-shot {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .6);
  }
  
  body.is-touch .card:focus-visible .card-shot { outline: none; }
  
  
  .card-bare {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
    font-size: calc(12px * var(--ts));
    line-height: 1.3;
    color: var(--n-text-2, var(--n-muted));
  }

  .card-shot.is-bare::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(160deg, var(--n-panel-2), var(--n-panel));
  }
  
  
  .card-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  
  .card-name {
    height: calc(2em * 1.25);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .strip { align-items: flex-start; }
  .card-sub {
    display: flex;
    gap: 8px;
    min-width: 0;
    color: var(--n-muted);
    
    font-size: calc(10px * var(--ts));
    line-height: 1.45;
    font-variant-numeric: tabular-nums;
  }
  .card-note { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  
  .card-left { color: var(--n-hue); white-space: nowrap; }

  
  .card-ep { white-space: nowrap; }

  
  .card-tick {
    position: absolute;
    right: 6px; top: 6px;
    width: 21px; height: 21px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--n-hue);
    color: var(--n-on-hue, #06111f);
    font-size: 12px;
    font-weight: 700;
  }

  
  
  .card-prog {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: rgba(0, 0, 0, .55);
  }
  .card-prog-fill {
    display: block;
    height: 100%;
    background: var(--n-hue);
  }

  
  .card-forget {
    position: absolute;
    top: 6px; left: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .72);
    color: #fff;
    font-size: calc(11px * var(--ts));
    line-height: 1.2;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .12s ease;
  }
  
  .card-forget { display: none !important; }

  
  .title-qual { margin-bottom: var(--n-s4); }
  .title-qual[hidden] { display: none; }
  .qual-lab {
    display: block;
    font-size: var(--n-fs-meta);
    color: var(--n-muted);
    margin-bottom: var(--n-s2);
  }
  .qual-row { display: flex; gap: var(--n-s2); flex-wrap: wrap; }
  
  .qbtn {
    font-size: calc(13px * var(--ts));
    font-weight: 550;
    line-height: 1.45;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--n-line);
    color: var(--n-muted);
  }
  
  .qfact {
    font-size: calc(13px * var(--ts));
    font-weight: 550;
    line-height: 1.45;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1px solid var(--n-line);
    color: var(--n-text);
    font-variant-numeric: tabular-nums;
  }

  .qbtn.is-on {
    color: var(--n-text);
    border-color: var(--n-hue);
    background: color-mix(in srgb, var(--n-hue) 14%, transparent);
  }
  
  .qfact {
    color: var(--n-text);
    border-color: var(--n-hue);
    background: color-mix(in srgb, var(--n-hue) 14%, transparent);
  }

  
  
  .hero-dots {
    position: absolute;
    right: var(--n-s5);
    bottom: var(--n-s5);
    z-index: 2;
    display: flex;
    gap: 7px;
    padding: 0;
  }
  .hero-dots[hidden] { display: none; }
  .hdot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--n-line);
    transition: background .15s ease, transform .15s ease;
  }
  .hdot.is-on { background: var(--n-hue); transform: scale(1.25); }
  
  
  .card-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    
    font-size: calc(11.5px * var(--ts));
    font-weight: 500;
    line-height: 1.25;
  }
  
  .card:focus-visible .card-shot {
    outline: 2px solid var(--n-hue);
    outline-offset: 2px;
  }
  
  body:not(.is-touch) .card:focus:not(:focus-visible) .card-shot { outline: none; }

  
  .card.is-skeleton { pointer-events: none; }
  .sk-line {
    display: block;
    height: 11px;
    border-radius: 4px;
    background: var(--n-panel);
    width: 70%;
  }
  .strip-head .sk-line { height: 15px; width: 160px; }
  
  
  .hero.is-waiting { background: var(--n-panel); }
  .hero.is-waiting > * { visibility: hidden; }

  
  .seg { display: flex; gap: 4px; margin-right: auto; }
  
  body.is-mine [data-role="categories"],
  body.is-mine [data-role="filter"] { display: none; }
  
  .bar.is-searching .seg { display: none; }
  .seg[hidden] { display: none; }
  .seg-item {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: var(--n-fs-cap);
    color: var(--n-muted);
    white-space: nowrap;
  }
  .seg-item.is-on {
    color: var(--n-text);
    background: color-mix(in srgb, var(--n-hue) 18%, transparent);
  }
  body:not(.is-touch) .seg-item:hover { color: var(--n-text); }

  
  
  .card.is-wide { width: calc(var(--n-card-w) * 1.78); }
  .cards .card.is-wide { width: auto; }
  .card.is-wide .card-shot { aspect-ratio: 16 / 9; }

  @media (max-width: 699px) {
    .card.is-wide { width: calc(var(--n-card-w) * 1.74); }
  }
  
  .cats-pane[hidden] { display: none; }

  
  
  
  @media (min-width: 1200px) {
    .shell .store,
    .shell .store-shelf, .shell .store-grid, .shell .title-page,
    .shell .cats-list, .shell .cats-pane,
    .shell .pane-list { padding-bottom: var(--n-s5); }
  }

  
  @media (min-width: 1440px) {
    .store-shelf, .store-grid, .title-page {
      max-height: 100%;
      overflow-y: auto;
      padding-bottom: var(--n-pill-clear);
    }
  }

  
  body.is-cats [data-role="categories"],
  body.is-cats [data-role="filter"] { display: none; }

  

  
  
  .cats-list.is-reordering .grow-count,
  .is-reordering .grow-count { display: none; }

  
  

  .cats-list {
    font-size: var(--n-fs-body);
    padding-bottom: var(--n-pill-clear);
  }

  
  .store-grid[hidden], .store-shelf[hidden], .title-page[hidden] { display: none; }
  .grid-head {
    display: flex;
    align-items: center;
    gap: var(--n-s3);
    padding: var(--n-s4) var(--n-s5) var(--n-s3);
  }
  .grid-head h2 { font-size: var(--n-fs-body-lg); font-weight: 600; }
  .grid-count {
    font-family: var(--n-font-data);
    font-size: var(--n-fs-meta);
    color: var(--n-muted);
  }
  .grid-more { display: flex; justify-content: center; padding: 0 0 var(--n-s6); }

  
  .title-page { position: relative; min-height: 100%; }
  
  .title-art.is-portrait {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
  }
  .title-art.is-portrait::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--behind);
    background-size: cover;
    background-position: center;
    filter: blur(38px) saturate(1.3);
    transform: scale(1.2);
  }

  .title-art {
    position: absolute; inset: 0 0 auto;
    height: 52vh;
    background-size: cover;
    background-position: center 20%;
  }
  .title-scrim {
    position: absolute; inset: 0 0 auto;
    height: 52vh;
    background: linear-gradient(180deg,
      rgba(6, 10, 16, .35) 0%, rgba(6, 10, 16, .70) 60%, var(--n-bg) 100%);
  }
  
  
  .title-back { display: none; }
  .title-body {
    position: relative;
    z-index: 2;
    display: flex;
    gap: var(--n-s5);
    padding: 26vh var(--n-s5) var(--n-s6);
  }
  .title-poster {
    flex: 0 0 auto;
    width: 168px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .5);
  }
  .title-poster[hidden] { display: none; }
  
  .title-poster, .title-art { transition: opacity .18s ease-out; }
  
  .title-poster.is-waiting, .title-art.is-waiting { opacity: 0; transition: none; }
  
  [data-title].is-swapping * { visibility: hidden; }
  @media (prefers-reduced-motion: reduce) {
    .title-poster, .title-art { transition: none; }
  }
  .title-text { flex: 1 1 auto; min-width: 0; max-width: 68ch; }
  
  .title-text h2 {
    font-size: clamp(26px, 3.4vw, 46px);
    font-weight: 700;
    line-height: 1.08;
  }
  
  .title-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: calc(13px * var(--ts));
    font-weight: 400;
    color: var(--n-text);
    margin: var(--n-s2) 0 var(--n-s3);
  }
  .title-score {
    flex: 0 0 auto;
    background: var(--n-hue);
    color: var(--n-bg);
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 7px;
    font-size: calc(13px * var(--ts));
    font-variant-numeric: tabular-nums;
  }
  .title-score[hidden] { display: none; }
  
  .title-score.is-good { background: #6ec177; }
  .title-score.is-fair { background: #d8a94a; }
  .title-score.is-poor { background: #cf6a5e; }
  .title-score.is-good,
  .title-score.is-fair,
  .title-score.is-poor { color: #10141a; }

  
  .title-facts { margin-bottom: var(--n-s3); }
  .title-facts[hidden] { display: none; }
  
  .tfact {
    display: flex;
    gap: 10px;
    
    font-size: calc(13.5px * var(--ts));
    font-weight: 400;
    margin-bottom: 5px;
    line-height: 1.5;
  }
  .tfact-lab { flex: 0 0 66px; color: var(--n-muted); font-weight: 400; }
  .tfact-val { flex: 1 1 auto; min-width: 0; font-weight: 400; }

  
  .title-file { margin-top: var(--n-s4); }
  .title-file[hidden] { display: none; }
  .file-cont {
    display: block;
    color: var(--n-muted);
    font-size: calc(12px * var(--ts));
    letter-spacing: .02em;
  }
  .file-name {
    display: block;
    margin-top: 4px;
    color: var(--n-muted);
    font-size: calc(11px * var(--ts));
    opacity: .62;
    word-break: break-word;
  }
  .title-plot {
    color: var(--n-text-2, var(--n-muted));
    
    font-size: calc(14.5px * var(--ts));
    font-weight: 400;
    line-height: 1.62;
    max-width: 78ch;
    margin: 0 0 var(--n-s4);
  }
  .title-cast {
    font-size: var(--n-fs-meta);
    color: var(--n-muted);
    margin-bottom: var(--n-s4);
  }
  
  
  .title-acts {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: var(--n-s4);
  }

  
  
  .upnext {
    margin-top: var(--n-s4);
    margin-bottom: var(--n-s4);
  }
  .upnext[hidden] { display: none; }
  
  .upnext-head {
    margin: 0 0 var(--n-s2);
    font-size: calc(12.5px * var(--ts));
    font-weight: 650;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--n-muted);
  }
  .upnext-row {
    
    display: grid;
    grid-template-columns: minmax(0, max-content);
    max-width: min(560px, 100%);
  }
  
  .upnext .ecard.is-resume { box-shadow: none; }
  .upnext .ecard { margin-bottom: 0; }
  
  
  .title-fileline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: var(--n-s5);
    row-gap: 6px;
    margin-bottom: var(--n-s3);
  }
  .title-fileline .title-qual {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
  }
  .title-fileline .qual-lab {
    display: inline;
    margin: 0;
    color: var(--n-muted);
    font-size: calc(13.5px * var(--ts));
    font-weight: 400;
  }
  
  .title-fileline .title-qual:first-child .qual-lab { flex: 0 0 66px; }
  .title-fileline .qual-row { display: inline-flex; flex-wrap: wrap; gap: var(--n-s2); }
  
  .title-fileline .qbtn {
    padding: 3px 9px;
    border-radius: 7px;
  }
  
  
  .title-acts .btn,
  
  .hero-acts .btn {
    height: auto;
    gap: 6px;
    padding: 9px 17px;
    border-radius: 9px;
    font-size: calc(13px * var(--ts));
    font-weight: 550;
  }
  
  
  
  .hero-acts .btn {
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: calc(13px * var(--ts));
    background: transparent;
    border-color: rgba(255, 255, 255, .38);
    color: #fff;
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
  }
  
  html:not([data-shell="tv"]) .hero-acts .btn {
    background: rgba(8, 12, 18, .34);
    border-color: rgba(255, 255, 255, .55);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .85);
  }
  body:not(.is-touch) .hero-acts .btn:hover {
    background: rgba(255, 255, 255, .2);
  }
  .title-acts .btn-play svg,
  .hero-acts .btn svg { width: 15px; height: 15px; }
  .btn.is-on { border-color: var(--n-hue); color: var(--n-hue); }
  
  .btn.is-danger,
  .btn.is-danger:hover,
  .btn.is-danger:focus,
  .btn.is-danger:focus-visible {
    border-color: var(--n-danger);
    color: var(--n-danger);
    
    justify-content: center;
  }

  
  .ecard {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, .035);
    color: var(--n-text);
    margin-bottom: var(--n-s2);
  }
  body:not(.is-touch) .ecard:hover { background: rgba(255, 255, 255, .075); }
  .ecard:focus-visible { outline: 2px solid var(--n-hue); outline-offset: 1px; }
  
  .ecard.is-resume { box-shadow: inset 3px 0 0 0 var(--n-hue); }
  
  .ecard.is-selected {
    background: rgba(255, 255, 255, .105);
    border-color: rgba(255, 255, 255, .17);
  }
  body:not(.is-touch) .ecard.is-selected:hover { background: rgba(255, 255, 255, .13); }

  
  .srcs-scope { color: var(--n-muted); font-weight: 500; }

  .eshot {
    position: relative;
    flex: 0 0 168px;
    width: 168px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #131a23;
  }
  .eshot-art {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity .25s ease;
  }
  .eshot-art.is-ready { opacity: 1; }
  
  .eplate {
    position: absolute; inset: 0;
    display: grid;
    place-items: center;
    color: var(--n-muted);
    font-size: calc(17px * var(--ts));
    font-weight: 650;
    letter-spacing: .04em;
  }

  .etext { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
  .ehead { display: flex; gap: 9px; align-items: baseline; min-width: 0; }
  .enum {
    flex: 0 0 auto;
    color: var(--n-muted);
    font-size: calc(12px * var(--ts));
    font-weight: 650;
    font-variant-numeric: tabular-nums;
  }
  .etitle {
    font-size: calc(14.5px * var(--ts));
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .esub {
    display: flex;
    gap: 10px;
    color: var(--n-muted);
    font-size: calc(12px * var(--ts));
  }
  
  .eseen { color: var(--n-hue); font-weight: 650; white-space: nowrap; }
  .eplot {
    color: var(--n-muted);
    font-size: calc(12.5px * var(--ts));
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  
  @media (max-width: 699px) {
    .eshot { flex-basis: 128px; width: 128px; }
    .ecard { gap: 10px; }
  }

  
  .seasons[hidden] { display: none; }
  
  .seasons { margin-top: var(--n-s4); }
  .season-tabs { display: flex; gap: var(--n-s2); flex-wrap: wrap; margin-bottom: var(--n-s3); }
  
  .season-tab {
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--n-line);
    font-size: calc(12.5px * var(--ts));
    color: var(--n-muted);
  }
  .season-tab.is-on {
    color: var(--n-text);
    border-color: var(--n-hue);
    background: color-mix(in srgb, var(--n-hue) 14%, transparent);
  }
  .episode {
    display: flex;
    align-items: flex-start;
    gap: var(--n-s3);
    width: 100%;
    text-align: left;
    padding: var(--n-s3);
    border-radius: 10px;
    border-bottom: 1px solid var(--n-seam);
    color: var(--n-text);
  }
  .episode:last-child { border-bottom: 0; }

  
  body:not(.is-touch) .episode:hover,
  .episode:focus-visible {
    background: var(--n-panel);
    box-shadow: inset 3px 0 0 0 var(--n-hue);
    outline: none;
  }
  
  .episode:active { box-shadow: inset 3px 0 0 0 var(--n-hue); }
  .ep-num {
    flex: 0 0 auto;
    width: 30px;
    font-family: var(--n-font-data);
    color: var(--n-muted);
    font-variant-numeric: tabular-nums;
  }
  .ep-text { flex: 1 1 auto; min-width: 0; }
  .ep-text b { display: block; font-weight: 600; font-size: var(--n-fs-body); }
  .ep-text span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: var(--n-fs-meta);
    color: var(--n-muted);
  }
  
  .episode.is-resume { box-shadow: inset 3px 0 0 0 var(--n-hue); }
  .ep-here {
    flex: 0 0 auto;
    align-self: center;
    font-size: var(--n-fs-meta);
    color: var(--n-hue);
    white-space: nowrap;
  }

  .ep-len {
    flex: 0 0 auto;
    font-family: var(--n-font-data);
    font-size: var(--n-fs-meta);
    color: var(--n-muted);
  }

  
  
  body.is-vod .live .player.is-solo,
  .player.is-solo {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: flex;
    aspect-ratio: auto;
    max-height: none;
    max-width: none;
    border: 0;
    border-bottom: 0;
    border-radius: 0;
  }
  
  body.is-vod .player-body { display: none; }

  
  

  
  .player.is-starting .player-banner {
    left: 50%;
    right: auto;
    top: 50%;
    
    bottom: auto;
    background: rgba(6, 10, 16, .82);
    gap: var(--n-s3);
    
    transform: translate(-50%, -96px);
    width: max-content;
    max-width: 80%;
    padding: var(--n-s3) var(--n-s4);
    border-radius: 999px;
    text-align: center;
    justify-content: center;
  }
  .player.is-starting .player-banner.is-shown { transform: translate(-50%, -96px); }
  .player.is-starting .banner-prog { font-size: calc(16px * var(--ts)); }
  .player.is-starting .banner-name { font-size: calc(13px * var(--ts)); }

  
  @media (max-width: 699px) {
  
  
  
  
  html:not([data-shell="tv"]) body:not(.is-vod) .player:not(.is-solo) .banner-prog {
    font-size: calc(16px * var(--ts));
  }
  html:not([data-shell="tv"]) body:not(.is-vod) .player:not(.is-solo) .banner-name {
    font-size: calc(13px * var(--ts));
  }
  html:not([data-shell="tv"]) body:not(.is-vod) .player:not(.is-solo) .player-banner {
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: max-content;
    padding: var(--n-s3) var(--n-s4);
    background: rgba(6, 10, 16, .82);
    gap: var(--n-s3);
    text-align: center;
    justify-content: center;
  }
  html:not([data-shell="tv"]) .player.is-starting .player-banner,
  html:not([data-shell="tv"]) body:not(.is-vod) .player:not(.is-solo) .player-banner {
    flex-direction: column;
    align-items: center;
    
    padding-right: var(--n-s4);
    
    border-radius: 20px;
    
    max-width: min(88%, 30rem);
  }
  html:not([data-shell="tv"]) .player.is-starting .banner-text,
  html:not([data-shell="tv"]) body:not(.is-vod) .player:not(.is-solo) .banner-text { width: 100%; min-width: 0; }
  
  html:not([data-shell="tv"]) .player.is-starting .banner-line,
  html:not([data-shell="tv"]) body:not(.is-vod) .player:not(.is-solo) .banner-line {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--n-s2);
  }
  
  
  html:not([data-shell="tv"]) .player.is-starting .banner-name,
  html:not([data-shell="tv"]) body:not(.is-vod) .player:not(.is-solo) .banner-name,
  html:not([data-shell="tv"]) .player.is-starting .banner-prog,
  html:not([data-shell="tv"]) body:not(.is-vod) .player:not(.is-solo) .banner-prog {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    text-overflow: clip;
    line-height: 1.28;
    padding-bottom: .14em;
    text-align: center;
  }
  }
  
  
  html:not([data-shell="tv"]) .banner-prog.is-none { display: none; }

  .player.is-starting::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 34px; height: 34px;
    margin: -17px 0 0 -17px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .22);
    border-top-color: var(--n-hue);
    animation: aerial-start 0.9s linear infinite;
    pointer-events: none;
  }
  @keyframes aerial-start { to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce) {
    .player.is-starting::after { animation: none; }
  }

  
  .player-back {
    position: absolute;
    top: calc(var(--n-s3) + var(--n-sat));
    left: var(--n-s2);
    z-index: 6;
    color: #fff;
    opacity: 0;
    transition: opacity .18s ease;
    pointer-events: none;
  }
  .player-back[hidden] { display: none; }
  
  .player:has(.player-ctl.is-shown) .player-back,
  .player:hover .player-back {
    opacity: 1;
    pointer-events: auto;
  }
  
  .player.is-solo .player-back {
    opacity: 1;
    pointer-events: auto;
  }
  .player-back:focus-visible { opacity: 1; pointer-events: auto; }
  
  body.is-vod .rail { display: none; }
  
  body.is-vod .bar { display: none; }

  
  
  body.is-vod .live[hidden] { display: block; }
  body.is-vod .live > *:not(.player) { display: none; }

  
  
  @media (min-width: 1200px) {
    .hero {
      aspect-ratio: 16 / 7;
      min-height: 68vh;
      margin: var(--n-s4) var(--n-s4) var(--n-s5);
      border-radius: 24px;
    }
  }

  
  @media (orientation: landscape) and (max-height: 560px) {
    .hero {
      min-height: 74vh;
      margin: var(--n-s2) var(--n-s3) var(--n-s3);
      border-radius: 14px;
    }
    
    .hero-art { background-position: center 30%; }
  }

  
  @media (max-width: 699px) {
    
    .hero-title {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      
      line-height: 1.22;
      max-height: calc(2 * 1.22em + .08em);
      
      padding-bottom: .14em;
    }

    
    .hero-body::before { display: none; }

    
    .hero-body {
      text-shadow:
        0 1px 1px rgba(0, 0, 0, .85),
        0 2px 4px rgba(0, 0, 0, .65),
        0 6px 22px rgba(0, 0, 0, .5);
    }
    .hero-meta { color: rgba(255, 255, 255, .88); }

    
    .hero { min-height: 46vh; border-radius: 16px; }
    .hero-body { padding: var(--n-s4) var(--n-s4) var(--n-s3); }
    
    .strip-head, .strip, .cards, .grid-head {
      padding-left: var(--n-s3);
      padding-right: var(--n-s3);
    }
    
    .strip { scroll-padding-left: var(--n-s3); }
    .card { width: var(--n-card-w); }
    .cards { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
    .title-body { flex-direction: column; padding: 22vh var(--n-s4) var(--n-s6); }
    .title-poster { width: 124px; }
  }

}

@layer sections {

  
  .guide[hidden] { display: none; }

  .guide {
    
    --n-guide-name: 380px;
    
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 6px;
    min-height: 0;
    min-width: 0;
  }

  
  
  
  .guide-head {
    display: grid;
    grid-template-columns: var(--n-guide-name) minmax(0, 1fr);
    align-items: end;
    gap: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--n-seam);
  }
  .guide-chan {
    font-size: var(--n-fs-cap);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--n-muted);
  }
  .guide-times { position: relative; height: 1.4em; }
  
  .guide-time {
    position: absolute;
    top: 0;
    padding-left: 8px;
    box-sizing: border-box;
    font-size: var(--n-fs-cap);
    font-variant-numeric: tabular-nums;
    color: var(--n-muted);
  }

  
  .guide-tick {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--n-guide-name) + 8px);
    width: 0;
    pointer-events: none;
    z-index: 6;
  }
  .guide-tick[hidden] { display: none; }
  .guide-tick::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--at, 0%);
    width: 2px;
    background: var(--n-hue);
    opacity: .8;
  }

  .guide-rows {
    display: flex;
    flex-direction: column;
    
    gap: 2px;
    overflow-y: auto;
    min-height: 0;
  }

  .guide-row {
    display: grid;
    grid-template-columns: var(--n-guide-name) minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
    
    border-bottom: 1px solid var(--n-seam);
    padding-bottom: 6px;
  }
  .guide-row:has(:focus-visible) { border-bottom-color: transparent; }

  .guide-name {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    background: var(--n-panel);
    border-radius: 4px;
    min-width: 0;
  }
  .guide-logo {
    width: 56px;
    height: 40px;
    flex: 0 0 56px;
    object-fit: contain;
    
    background: transparent;
  }

  .guide-num {
    font-variant-numeric: tabular-nums;
    color: var(--n-muted);
    font-size: var(--n-fs-cap);
    min-width: 2.4em;
  }
  .guide-title {
    font-size: var(--n-fs-body-lg);
    color: var(--n-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  
  
  
  .guide-track {
    position: relative;
    min-height: 64px;
    background: color-mix(in srgb, var(--n-panel) 55%, transparent);
    border-radius: 4px;
  }

  .guide-cell {
    position: absolute;
    top: 0;
    bottom: 0;
    
    margin-right: 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 0 10px;
    background: var(--n-panel);
    border: 0;
    border-radius: 4px;
    text-align: left;
    font: inherit;
    color: var(--n-muted);
    overflow: hidden;
  }
  .guide-cell-name {
    font-size: var(--n-fs-body-lg);
    color: var(--n-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .guide-cell-time {
    font-size: var(--n-fs-cap);
    font-variant-numeric: tabular-nums;
    color: var(--n-dim, var(--n-muted));
  }

  
  .guide-cell.is-now {
    background: var(--n-panel-2);
    box-shadow: inset 3px 0 0 0 var(--n-hue);
  }

  .guide-cell.is-bare { color: var(--n-muted); }
  .guide-cell.is-bare .guide-cell-name { color: var(--n-muted); }

  
  
  
  html[data-shell="tv"] .guide-cell:focus-visible {
    outline: none;
    z-index: 2;
  }


}


@layer sections {

  

  
  html[data-shell="tv"] {
    
    --n-tv-safe-y: 32px;
    --n-tv-safe-x: 48px;
    
    --n-pill-clear: 0px;
    --n-rail-gap: var(--n-s5);
    --n-card-min: 250px;
    --n-card-w: 250px;
    --n-card-gap: 26px;
    
    --n-tv-row: 84px;
    
    
    --n-tv-stage: 401px;
    
    --n-tv-head: 37px;
    --n-gutter: 56px;
  }

  
  html[data-shell="tv"] .rail {
    justify-content: center;
    padding-block: var(--n-tv-safe-y);
    gap: var(--n-s2);
    
    background: transparent;
    
    overflow: hidden;
  }

  
  html[data-shell="tv"] .bar {
    padding-top: 12px;
    

    
    min-height: 40px;
  }

  
  html[data-shell="tv"] .store {
    padding-bottom: var(--n-tv-safe-y);
  }

  

  
  
  html[data-shell="tv"] .shell { grid-template-columns: 108px minmax(0, 1fr); }
  html[data-shell="tv"] .shell > .rail { width: 108px; }

  
  
  
  
  html[data-shell="tv"] .shell { overflow: hidden; }
  html[data-shell="tv"] .shell > .content {
    transition: transform var(--n-t-panel) var(--n-ease);
    will-change: transform;
  }
  html[data-shell="tv"] .shell:has(.rail.is-open) > .content,
  html[data-shell="tv"] .shell:has(.rail :focus-visible) > .content {
    
    transform: translateX(152px);
  }
  @media (prefers-reduced-motion: reduce) {
    html[data-shell="tv"] .shell > .content { transition: none; }
  }
  html[data-shell="tv"] .shell > .rail {
    transition: width var(--n-t-panel) var(--n-ease);
  }
  html[data-shell="tv"] .shell > .rail.is-open,
  html[data-shell="tv"] .shell > .rail:has(:focus-visible) {
    width: 260px;
  }
  
  
  html[data-shell="tv"] .rail-item {
    transition: padding var(--n-t-panel) var(--n-ease),
      gap var(--n-t-panel) var(--n-ease);
  }
  @media (prefers-reduced-motion: reduce) {
    html[data-shell="tv"] .shell,
    html[data-shell="tv"] .shell > .rail,
    html[data-shell="tv"] .rail-label,
    html[data-shell="tv"] .rail-item { transition: none; }
  }

  html[data-shell="tv"] .rail-item {
    position: relative;
    
    min-height: 0;
    padding: var(--n-s2) 0;
    justify-content: center;
    gap: 0;
    border-radius: 8px;
  }
  html[data-shell="tv"] .rail-glyph { width: 42px; height: 42px; flex: 0 0 42px; }

  
  html[data-shell="tv"] .rail-item.is-on .rail-glyph,
  html[data-shell="tv"] .rail-item.is-on .rail-label {
    color: var(--n-text);
  }
  html[data-shell="tv"] .rail-item.is-on::before { background: var(--n-text); }

  
  html[data-shell="tv"] .rail { padding-inline: var(--n-s3); }

  
  .rail-you { display: none; }
  html[data-shell="tv"] .rail-you { display: flex; }

  

  
  html[data-shell="tv"] .rail:not(.is-open):not(:has(:focus-visible)) .rail-label {
    position: absolute;
    opacity: 0;
  }

  
  
  html[data-shell="tv"] .rail.is-open .rail-item,
  html[data-shell="tv"] .rail:has(:focus-visible) .rail-item {
    padding: var(--n-s2) var(--n-s2);
    justify-content: center;
    gap: var(--n-s3);
  }
  html[data-shell="tv"] .rail.is-open .rail-label,
  html[data-shell="tv"] .rail:has(:focus-visible) .rail-label {
    position: static;
    opacity: 1;
    font-size: 30px;
  }

  

  
  html[data-shell="tv"] .live {
    display: grid;
    
    grid-template-columns: 400px 713px minmax(0, 1fr);
    grid-template-rows: var(--n-tv-stage) minmax(0, 1fr);
    
    grid-template-areas:
      "groups stage now"
      "groups guide guide";
    gap: var(--n-s4);
    align-items: start;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    
    padding-right: var(--n-s3);
    
    padding-bottom: 0;
  }

  html[data-shell="tv"] .live > [data-pane="groups"] {
    grid-area: groups;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    
    overflow: clip;
  }

  html[data-shell="tv"] [data-groups] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: var(--n-tv-safe-y);
  }

  
  html[data-shell="tv"] .live > [data-pane="channels"] { display: none; }

  html[data-shell="tv"] .live > .player {
    grid-area: stage;
    align-self: start;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--n-line);
    display: grid;
    place-items: center;
    background:
      radial-gradient(120% 90% at 50% 0%,
        color-mix(in srgb, var(--n-hue) 22%, transparent), transparent 70%),
      var(--n-panel);
  }

  
  html[data-shell="tv"] .live > .find { grid-area: guide; }

  html[data-shell="tv"] .live > .guide-now { grid-area: now; }
  html[data-shell="tv"] .live > [data-guide] {
    grid-area: guide;
    align-self: stretch;
    min-height: 0;
  }

  
  html[data-shell="tv"] [data-ctl],
  html[data-shell="tv"] .nowbar,
  html[data-shell="tv"] .player-banner,
  html[data-shell="tv"] [data-role="pback"] { display: none !important; }

  

  html[data-shell="tv"] .guide { min-height: 0; --n-guide-name: 620px; }

  html[data-shell="tv"] .guide-head,
  html[data-shell="tv"] .guide-row {
    
    grid-template-columns: var(--n-guide-name) minmax(0, 1fr);
  }

  
  
  html[data-shell="tv"] .guide-row { scroll-margin-block: 52px 52px; }

  
  html[data-shell="tv"] .guide-cell { scroll-margin-block: 52px 52px; }

  
  html[data-shell="tv"] .grow { scroll-margin-block: 52px 52px; }

  html[data-shell="tv"] .guide-rows {
    overflow-y: auto;
    overscroll-behavior: contain;
    min-height: 0;
    padding-bottom: var(--n-tv-safe-y);
  }

  
  html[data-shell="tv"] .guide-track { min-height: var(--n-tv-row); }
  html[data-shell="tv"] .guide-row {
    padding-bottom: 0;
    min-height: var(--n-tv-row);
  }
  html[data-shell="tv"] [data-guide-rows] { gap: 0; }

  
  html[data-shell="tv"] .guide-cell {
    top: 3px;
    bottom: 3px;
  }
  html[data-shell="tv"] [data-groups] .grow,
  html[data-shell="tv"] [data-channels] .crow { min-height: var(--n-tv-row); }

  

  
  
  

  
  html[data-shell="tv"] [data-pane="groups"] .pane-head {
    height: var(--n-tv-head);
    min-height: 0;
    padding-block: 0 4px;
    align-items: end;
  }

  
  
  html[data-shell="tv"] [data-pane="groups"] .pane-head [data-role="reorder"] {
    height: var(--n-lh-cap);
    width: 34px;
  }

  
  
  .pane-head [data-role="reorder"] {
    
    height: 34px;
    width: 34px;
    margin-left: auto;
    color: var(--n-text-2, var(--n-text));
  }

  
  
  .pane-head [data-role="reorder"] svg { width: 34px; height: 20px; }

  
  .pane-head [data-role="reorder"][aria-pressed="true"] {
    background: transparent;
    color: var(--n-text);
  }

  
  
  [data-role="reorder"] .reorder-mark .reorder-core { stroke-width: 1; }
  [data-role="reorder"][aria-pressed="true"] .reorder-mark .reorder-core { stroke-width: 0; }
  body:not(.is-touch) .pane-head [data-role="reorder"]:hover {
    background: transparent;
    color: var(--n-text);
  }

  
  html[data-shell="tv"] [data-pane="groups"] [data-groups] {
    margin-top: 6px;
  }

  html[data-shell="tv"] .rail,
  html[data-shell="tv"] .live > [data-pane="groups"] {
    border-right: 0;
    box-shadow: none;
    position: relative;
  }
  
  html[data-shell="tv"] .rail::after,
  html[data-shell="tv"] .live > [data-pane="groups"]::after {
    content: "";
    position: absolute;
    top: 14px; bottom: 14px; right: 0;
    width: 2px;
    pointer-events: none;
    z-index: 4;
    background: linear-gradient(180deg,
      transparent,
      rgba(0, 0, 0, .6) 10%,
      rgba(0, 0, 0, .6) 90%,
      transparent);
  }

    html[data-shell="tv"] .guide-logo { width: 68px; height: 48px; flex: 0 0 68px; }
  html[data-shell="tv"] .guide-title { font-size: 28px; }
  html[data-shell="tv"] .guide-cell-name { font-size: 26px; }
  html[data-shell="tv"] .guide-cell-time,
  html[data-shell="tv"] .guide-time { font-size: 20px; }

  html[data-shell="tv"] .guide-now-name { font-size: 34px; }
  html[data-shell="tv"] .guide-now-prog { font-size: 22px; }
  
  html[data-shell="tv"] [data-player].is-showing {
    background: transparent;
    border-color: transparent;
  }
  html[data-shell="tv"] [data-player].is-showing > * { display: none; }

  html[data-shell="tv"] .preview-name { font-size: 30px; }
  html[data-shell="tv"] .preview-prog { font-size: 22px; }

  
  

  html[data-shell="tv"] .chan-sound,
  html[data-shell="tv"] .chan-qual {
    flex: 0 0 auto;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .03em;
    color: #8fd0ff;
    border: 1px solid rgba(143, 208, 255, .3);
    border-radius: 5px;
    padding: 1px 7px;
    white-space: nowrap;
  }
  html[data-shell="tv"] .guide-name .tag-region {
    font-size: 17px;
  }
  
  html[data-shell="tv"] .guide-name { gap: var(--n-s2); }
  
  html[data-shell="tv"] .guide-title { flex: 1 1 auto; min-width: 0; }

  
  html[data-shell="tv"] .preview-head {
    display: flex;
    align-items: center;
    gap: var(--n-s2);
    flex-wrap: wrap;
  }
  
  

  

  
  html[data-shell="tv"] [data-groups] .grow,
  html[data-shell="tv"] [data-channels] .crow {
    min-height: 84px;
    min-width: 0;
    padding-block: var(--n-s3);
    gap: var(--n-s3);
  }
  html[data-shell="tv"] .grow-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 28px;
  }
  html[data-shell="tv"] .grow .n,
  html[data-shell="tv"] .grow-count { font-size: 22px; }

  
  
  
  
  

  
  html[data-shell="tv"] [data-groups] .grow:focus-visible,
  html[data-shell="tv"] .cats-list .grow:focus-visible,
  html[data-shell="tv"] .guide-row:has(.guide-cell:focus-visible) .guide-name {
    background: transparent;
    box-shadow: inset 3px 0 0 0 var(--n-hue);
    border-radius: 12px;
  }

  
  
  html[data-shell="tv"] [data-groups] .grow.is-here,
  html[data-shell="tv"] .cats-list .grow.is-here,
  html[data-shell="tv"] .guide-row.is-playing .guide-name {
    background: color-mix(in srgb, var(--n-hue) 16%, transparent);
    box-shadow: none;
    border-radius: 12px;
  }
  
  html[data-shell="tv"] [data-groups] .grow.is-playing:not(.is-here) {
    background: transparent;
    box-shadow: none;
  }

  
  html[data-shell="tv"] .cats-list,
  html[data-shell="tv"] [data-groups] {
    padding-left: 10px;
    padding-right: 10px;
  }

  
  html[data-shell="tv"] [data-groups] .grow.is-here:focus-visible,
  html[data-shell="tv"] .cats-list .grow.is-here:focus-visible,
  html[data-shell="tv"] .guide-row.is-playing:has(.guide-cell:focus-visible) .guide-name {
    background: color-mix(in srgb, var(--n-hue) 16%, transparent);
    box-shadow: inset 3px 0 0 0 var(--n-hue);
  }

  
  html[data-shell="tv"] [data-groups] .grow:focus-visible,
  html[data-shell="tv"] [data-groups] .grow.is-here,
  html[data-shell="tv"] [data-groups] .grow.is-here:focus-visible,
  html[data-shell="tv"] .cats-list .grow:focus-visible,
  html[data-shell="tv"] .cats-list .grow.is-here,
  html[data-shell="tv"] .cats-list .grow.is-here:focus-visible {
    color: var(--n-text);
  }
  html[data-shell="tv"] [data-groups] .grow:focus-visible *,
  html[data-shell="tv"] [data-groups] .grow.is-here *,
  html[data-shell="tv"] .cats-list .grow:focus-visible *,
  html[data-shell="tv"] .cats-list .grow.is-here * {
    color: inherit;
  }

  
  
  html[data-shell="tv"] .guide-cell,
  html[data-shell="tv"] .guide-cell.is-now {
    box-shadow: none;
    outline: none;
  }

  
  html[data-shell="tv"] .guide-cell:focus-visible {
    background: rgba(255, 255, 255, .05);
    color: var(--n-muted);
    box-shadow: none;
    outline: none;
  }
  html[data-shell="tv"] .guide-cell.is-now:focus-visible {
    background: rgba(255, 255, 255, .085);
  }
  html[data-shell="tv"] .guide-cell:focus-visible .guide-cell-name {
    color: var(--n-text);
  }
  html[data-shell="tv"] .guide-cell:focus-visible .guide-cell-time {
    color: var(--n-dim, var(--n-muted));
  }

  
  
  
  html[data-shell="tv"] .guide-row {
    border-radius: 12px;
    border-bottom-color: var(--n-seam);
  }

  
  html[data-shell="tv"] .guide-row:has(+ .guide-row:has(.guide-cell:focus-visible)),
  html[data-shell="tv"] .guide-row:has(+ .guide-row.is-playing) {
    border-bottom-color: transparent;
  }

  html[data-shell="tv"] .guide-name { background: transparent; }

  
  html[data-shell="tv"] .guide-cell {
    background: rgba(255, 255, 255, .05);
  }
  
  html[data-shell="tv"] .guide-cell.is-bare {
    background: rgba(255, 255, 255, .022);
  }

  
  
  html[data-shell="tv"] .guide-row.is-playing .guide-title::after {
    content: "B6";
    margin-left: 10px;
    font-size: 18px;
    color: var(--n-hue);
    vertical-align: middle;
  }

  
  html[data-shell="tv"] .guide-cell.is-now { box-shadow: none; }

  
  
  
  

  
  html[data-shell="tv"] .grow:focus-visible,
  html[data-shell="tv"] .crow:focus-visible,
  html[data-shell="tv"] .ecard:focus-visible,
  html[data-shell="tv"] .catrow:focus-visible,
  html[data-shell="tv"] .rail-item:focus-visible {
    transform: none;
    outline: none;
    border-bottom-color: transparent;
    background: color-mix(in srgb, var(--n-hue) 10%, transparent);
    color: var(--n-text);
    box-shadow: inset 3px 0 0 0 var(--n-hue);
    border-radius: 12px;
  }
  
  html[data-shell="tv"] .guide-cell,
  html[data-shell="tv"] .guide-cell.is-now,
  html[data-shell="tv"] .guide-cell:focus-visible {
    box-shadow: none;
    outline: none;
  }

  
  html[data-shell="tv"] .grow:focus-visible *,
  html[data-shell="tv"] .crow:focus-visible *,
  html[data-shell="tv"] .ecard:focus-visible *,
  html[data-shell="tv"] .catrow:focus-visible *,
  html[data-shell="tv"] .rail-item:focus-visible *,
  html[data-shell="tv"] .guide-cell:focus-visible * { color: var(--n-text); }

  

  

  
  html[data-shell="tv"] .store { display: block; }
  html[data-shell="tv"] .cats-pane[hidden] { display: none; }
  
  
  html[data-shell="tv"] .cats-pane {
    border-right: 0;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 430px;
    
    z-index: 15;
    overflow-y: auto;
    padding: var(--n-s5) var(--n-s4);
    
    
    background: linear-gradient(180deg, var(--n-top, var(--n-bg)), var(--n-bg) 58%);
    box-shadow: 24px 0 60px -20px rgba(0, 0, 0, .9);
    
    transform: translateX(-100%);
    transition: transform 200ms var(--n-ease);
    
    will-change: transform;
    backface-visibility: hidden;
  }
  html[data-shell="tv"] .cats-pane.is-slid { transform: translateX(0); }

  
  html[data-shell="tv"] .cats-pane {
    transition: transform var(--n-t-panel) var(--n-ease),
      left var(--n-t-panel) var(--n-ease);
  }
  

  
  html[data-shell="tv"] body:not([data-section="live"]) .cats-pane {
    
    background: linear-gradient(180deg,
      rgba(8, 12, 18, .90) 0%,
      rgba(8, 12, 18, .96) 100%);
    -webkit-backdrop-filter: blur(26px) saturate(1.15);
    backdrop-filter: blur(26px) saturate(1.15);
    border-right: 1px solid rgba(255, 255, 255, .10);
    opacity: 0;
    
    transition: transform var(--n-t-panel) var(--n-ease),
      opacity var(--n-t-panel) var(--n-ease),
      left var(--n-t-panel) var(--n-ease);
  }
  html[data-shell="tv"] body:not([data-section="live"]) .cats-pane.is-slid {
    opacity: 1;
  }

  
  html[data-shell="tv"] .cats-list .grow.is-filter {
    
    border-bottom: 1px solid var(--n-seam);
    margin-bottom: var(--n-s3);
  }

  
  html[data-shell="tv"] .cats-list .grow {
    min-height: var(--n-tv-row);
    min-width: 0;
    padding-block: var(--n-s3);
    gap: var(--n-s3);
  }
  html[data-shell="tv"] .cats-list .grow-name { font-size: 28px; }
  html[data-shell="tv"] .cats-list .grow-count,
  html[data-shell="tv"] .cats-list .grow .n { font-size: 22px; }
  html[data-shell="tv"] .cats-list { font-size: 28px; }

  
  html[data-shell="tv"] body[data-section="live"] .bar-tools,
  html[data-shell="tv"] body[data-section="live"] .search,
  html[data-shell="tv"] body[data-section="live"] .avatar { display: none; }

  
  html[data-shell="tv"] body:not([data-section="live"]) .bar { min-height: 74px; }
  html[data-shell="tv"] body:not([data-section="live"]) .bar-tools { gap: var(--n-s3); }
  html[data-shell="tv"] body:not([data-section="live"]) .chip,
  
  
  html[data-shell="tv"] body:not([data-section="live"]) .search-field {
    font-size: 26px;
    min-height: 58px;
  }
  html[data-shell="tv"] body:not([data-section="live"]) .search.is-open .search-field {
    width: 720px;
  }
  html[data-shell="tv"] body:not([data-section="live"]) .chip { padding-inline: var(--n-s4); }

  
  
  
  html[data-shell="tv"] body:not([data-section="live"]) .avatar {
    display: none;
  }
  html[data-shell="tv"] body:not([data-section="live"]) .avatar-unused {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  
  
  
  html[data-shell="tv"] .hero {
    
    
    width: auto;
    margin-inline: var(--n-s5);
    height: 74vh;
    min-height: 0;
    aspect-ratio: auto;
    
    border-radius: 24px;
    overflow: hidden;
    isolation: isolate;
    
    box-shadow:
      0 40px 110px -30px rgba(0, 0, 0, .95),
      0 12px 34px -12px rgba(0, 0, 0, .7),
      inset 0 1px 0 0 rgba(255, 255, 255, .08),
      0 0 0 1px rgba(255, 255, 255, .05);
  }

  
  
  
  
  html[data-shell="tv"] .hero .btn {
    scroll-margin-top: 80vh;
    min-height: 68px;
    padding-inline: var(--n-s5);
    font-size: 24px;
  }

  
  html[data-shell="tv"] .hero-scrim {
    background:
      linear-gradient(90deg,
        rgba(6, 10, 16, .92) 0%,
        rgba(6, 10, 16, .74) 26%,
        rgba(6, 10, 16, .18) 58%,
        rgba(6, 10, 16, 0) 78%),
      linear-gradient(180deg,
        rgba(6, 10, 16, .34) 0%,
        rgba(6, 10, 16, 0) 34%,
        rgba(6, 10, 16, .55) 100%);
  }

  
  
  
  @keyframes n-hero-drift {
    from { background-size: 100% auto; }
    to   { background-size: 106% auto; }
  }
  html[data-shell="tv"] .hero-art {
    
    background-position: center 42%;
    animation: n-hero-drift 20s ease-in-out infinite alternate;
  }
  @media (prefers-reduced-motion: reduce) {
    html[data-shell="tv"] .hero-art { animation: none; }
  }

  
  html[data-shell="tv"] .hero-dots {
    right: var(--n-s6);
    bottom: var(--n-s6);
    gap: 14px;
  }
  html[data-shell="tv"] .hdot { width: 13px; height: 13px; }
  html[data-shell="tv"] .store-shelf > .rows:first-of-type { margin-top: var(--n-s5); }
  html[data-shell="tv"] .hero-body {
    justify-content: center;
    padding-bottom: var(--n-s7);
  }
  html[data-shell="tv"] .strip-head { margin-bottom: var(--n-s2); }
  
  html[data-shell="tv"] .card { scroll-margin-top: 150px; }
  
  html[data-shell="tv"] .store-shelf { padding-top: 6px; }
  html[data-shell="tv"] .hero { margin-top: 0; }
  html[data-shell="tv"] body:not([data-section="live"]) .bar {
    min-height: 64px;
    padding-top: 6px;
  }

  html[data-shell="tv"] .card-name {
    font-size: var(--n-fs-body-lg);
    line-height: 1.25;
  }
  
  html[data-shell="tv"] .card-meta { font-size: 22px; }

  
  html[data-shell="tv"] .card-sub { font-size: 22px; gap: 12px; }
  html[data-shell="tv"] .card-year,
  
  html[data-shell="tv"] .card-ep,
  html[data-shell="tv"] .card-left { font-size: 22px; }

  
  html[data-shell="tv"] .strip-head h3,
  html[data-shell="tv"] .strip-head h2 { font-size: 32px; }

  
  html[data-shell="tv"] .card-prog { height: 8px; }
  html[data-shell="tv"] .hero-meta {
    font-size: 26px;
    margin-bottom: var(--n-s4);
  }
  html[data-shell="tv"] .hero-plot { font-size: 24px; }
  html[data-shell="tv"] .card-shot { margin-bottom: var(--n-s3); }

  
  html[data-shell="tv"] .card:focus-visible {
    background: none;
    box-shadow: none;
    position: relative;
    z-index: 3;
  }
  
  
  
  html[data-shell="tv"] .card:focus-visible .card-shot {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .62);
  }
  
  
  html[data-shell="tv"] .strip {
    padding-top: 20px;
    scroll-padding-top: 20px;
  }

  html[data-shell="tv"] .card-shot { position: relative; }
  html[data-shell="tv"] .card:focus-visible .card-shot::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 4px solid var(--sec, var(--n-hue));
    border-radius: inherit;
    pointer-events: none;
    z-index: 4;
  }
  
  html[data-shell="tv"] .card:focus-visible .card-shot::before {
    transform: translateX(120%);
  }
  html[data-shell="tv"] .card:hover:not(:focus-visible) .card-shot {
    transform: none;
    box-shadow: none;
  }
  
  
  html[data-shell="tv"] .card:not(:focus-visible) .card-shot::before {
    transition: none;
  }

  html[data-shell="tv"] .card:hover:not(:focus-visible) .card-shot::before,
  html[data-shell="tv"] .card:active:not(:focus-visible) .card-shot::before {
    transform: translateX(-120%);
  }
  html[data-shell="tv"] .card { scroll-margin-inline: var(--n-s8); }

  

  
  html[data-shell="tv"] .title-poster { display: none; }

  
  html[data-shell="tv"] .title-art,
  html[data-shell="tv"] .title-scrim {
    position: fixed;
    inset: 0;
    height: auto;
  }

  
  
  html[data-shell="tv"] .title-art {
    left: 0;
    right: 0;
    background-position: center 30%;
    
    -webkit-mask-image: linear-gradient(45deg,
      transparent 0%, rgba(0, 0, 0, .18) 20%, rgba(0, 0, 0, .72) 44%, #000 62%);
    mask-image: linear-gradient(45deg,
      transparent 0%, rgba(0, 0, 0, .18) 20%, rgba(0, 0, 0, .72) 44%, #000 62%);
  }
  

  
  html[data-shell="tv"] .title-card {
    background: linear-gradient(180deg,
      rgba(8, 12, 18, .30) 0%,
      rgba(8, 12, 18, .48) 100%);
    border-color: rgba(255, 255, 255, .07);
  }
  
  html[data-shell="tv"] .title-page::before { display: none; }
  
  
  html[data-shell="tv"] .title-scrim {
    background: linear-gradient(180deg,
      rgba(6, 10, 16, .34) 0%,
      rgba(6, 10, 16, 0) 22%,
      rgba(6, 10, 16, 0) 58%,
      rgba(6, 10, 16, .58) 100%);
  }

  
  
  
  
  html[data-shell="tv"] .title-body {
    min-height: 100vh;
    align-items: flex-start;
    padding: 30vh var(--n-s5) var(--n-s6);
  }
  html[data-shell="tv"] .title-text { max-width: none; }
  
  
  
  html[data-shell="tv"] .title-text { max-width: none; }
  
  
  
  html[data-shell="tv"] .title-card {
    width: 1040px;
    height: 460px;
    overflow: hidden;
    padding: var(--n-s5);
    margin-bottom: var(--n-s4);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, .09);
    
    
    background: linear-gradient(180deg,
      rgba(8, 12, 18, .60) 0%,
      rgba(8, 12, 18, .76) 100%);
    
    -webkit-backdrop-filter: blur(22px) saturate(1.15);
    backdrop-filter: blur(22px) saturate(1.15);
    box-shadow: 0 26px 64px rgba(0, 0, 0, .44);
  }
  
  html[data-shell="tv"] .title-card .title-plot { margin-bottom: 0; }

  
  html[data-shell="tv"] .title-card [data-title-name] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    
    line-height: 1.12;
  }
  
  
  html[data-shell="tv"] .title-card .title-facts {
    
    
    max-height: 120px;
    overflow: hidden;
  }
  html[data-shell="tv"] .title-card .tfact { font-size: 24px; }
  html[data-shell="tv"] .title-card .tfact { margin-bottom: 8px; }
  html[data-shell="tv"] .title-card .tfact-lab { flex: 0 0 132px; }
  html[data-shell="tv"] .title-card .tfact-val {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  html[data-shell="tv"] [data-title-name],
  html[data-shell="tv"] .title-meta,
  html[data-shell="tv"] .title-facts,
  html[data-shell="tv"] .title-plot { max-width: 980px; }

  
  html[data-shell="tv"] .store .bar-back,
  html[data-shell="tv"] body.is-title .bar-back { display: none; }
  
  html[data-shell="tv"] .bar-back:not(.player-back) { display: none; }

  
  
  html[data-shell="tv"] body.is-title .rail {
    visibility: hidden;
    width: 0;
    padding-inline: 0;
    overflow: hidden;
  }
  html[data-shell="tv"] body.is-title .bar { display: none; }
  html[data-shell="tv"] body.is-title .shell {
    grid-template-columns: 0 minmax(0, 1fr);
  }
  html[data-shell="tv"] body.is-title .store {
    padding-right: 0;
  }
  
  
  html[data-shell="tv"] body.is-title .title-body {
    padding-left: var(--n-s7);
  }

  
  html[data-shell="tv"] .title-quiet { margin-top: var(--n-s4); }
  html[data-shell="tv"] .btn-quiet {
    min-height: 68px;
    font-size: 24px;
    padding-inline: var(--n-s5);
  }

  html[data-shell="tv"] .title-page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,
      rgba(10, 14, 19, .96) 0%,
      rgba(10, 14, 19, .88) 34%,
      rgba(10, 14, 19, 0) 66%);
    pointer-events: none;
  }
  
  
  html[data-shell="tv"] .title-body {
    position: relative;
    z-index: 2;
    max-width: none;
    padding-top: calc(100vh - var(--n-s6)
      - 460px - var(--n-s4) - 68px - var(--n-s4) - 68px);
  }
  
  html[data-shell="tv"] .title-acts { min-height: 68px; }
  html[data-shell="tv"] .title-quiet { min-height: 68px; }
  
  html[data-shell="tv"] .upnext-row { max-width: none; }
  html[data-shell="tv"] .upnext-head { font-size: 22px; }
  html[data-shell="tv"] [data-title-name] { font-size: 56px; line-height: 1.02; }
  html[data-shell="tv"] .title-meta { font-size: 24px; }
  
  html[data-shell="tv"] .title-score {
    font-size: 24px;
    padding: 4px 14px;
    border-radius: 10px;
  }
  html[data-shell="tv"] .title-plot {
    font-size: 24px;
    line-height: 1.45;
    display: -webkit-box;
    
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  
  html[data-shell="tv"] .episodes {
    display: flex;
    flex-direction: row;
    gap: var(--n-card-gap, 26px);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    
    padding: 10px 0 var(--n-s4);
    scrollbar-width: none;
    
    scroll-padding-inline: var(--n-tv-safe-x);
  }
  html[data-shell="tv"] .episodes::-webkit-scrollbar { display: none; }
  html[data-shell="tv"] .ecard {
    flex: 0 0 320px;
    width: 320px;
    flex-direction: column;
    align-items: stretch;
    gap: var(--n-s3);
    padding: 0;
    background: none;
    scroll-snap-align: start;
  }
  html[data-shell="tv"] .ecard .eshot {
    flex: 0 0 auto;
    width: 320px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
  }
  html[data-shell="tv"] .ecard .etext { gap: 4px; }
  html[data-shell="tv"] .ecard .ehead { display: block; }
  html[data-shell="tv"] .ecard .etitle {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  html[data-shell="tv"] .ecard .eplot { display: none; }

  
  html[data-shell="tv"] .seasons {
    width: 1400px;
    max-width: 100%;
  }
  
  html[data-shell="tv"] .ecard {
    padding: var(--n-s3);
    gap: var(--n-s4);
    align-items: center;
  }
  html[data-shell="tv"] .eshot { flex: 0 0 300px; width: 300px; }
  
  html[data-shell="tv"] .ehead { font-size: 30px; }
  
  html[data-shell="tv"] .enum {
    font-size: 24px;
    font-weight: 600;
    color: var(--n-muted);
    letter-spacing: .04em;
  }
  html[data-shell="tv"] .etitle { font-size: 30px; font-weight: 600; }
  html[data-shell="tv"] .esub,
  html[data-shell="tv"] .eplot { font-size: 22px; }
  
  html[data-shell="tv"] .eshot .card-tick {
    width: 34px; height: 34px;
    right: 10px; top: 10px;
    font-size: 19px;
  }
  
  html[data-shell="tv"] .esub {
    flex-direction: column;
    gap: 2px;
  }
  
  html[data-shell="tv"] .season-tab {
    padding: var(--n-s2) var(--n-s4);
    font-size: 22px;
    background: rgba(8, 12, 18, .72);
    border-color: rgba(255, 255, 255, .22);
    color: var(--n-text);
  }
  
  html[data-shell="tv"] .season-tab.is-on {
    background: color-mix(in srgb, var(--n-hue) 26%, rgba(8, 12, 18, .86));
    border-color: var(--n-hue);
    color: var(--n-text);
  }
  html[data-shell="tv"] .season-tabs { gap: var(--n-s3); margin-bottom: var(--n-s4); }

  
  

  
  html[data-shell="tv"] .title-acts {
    flex-wrap: nowrap;
    gap: var(--n-s3);
    align-items: center;
  }
  
  html[data-shell="tv"] .title-card .title-fileline .qual-lab { font-size: 24px; }
  html[data-shell="tv"] .title-card .title-fileline .title-qual:first-child .qual-lab { flex: 0 0 132px; }
  html[data-shell="tv"] .title-card .title-fileline { margin-bottom: 8px; }

  
  html[data-shell="tv"] .title-card .title-file {
    margin-top: auto;
    margin-bottom: 0;
  }
  html[data-shell="tv"] .title-card { display: flex; flex-direction: column; }
  
  html[data-shell="tv"] .title-card .title-plot { -webkit-line-clamp: 3; }
  html[data-shell="tv"] .title-acts .btn {
    min-height: 68px;
    padding-inline: var(--n-s5);
    font-size: 24px;
    white-space: nowrap;
  }
  html[data-shell="tv"] .qbtn {
    min-height: 44px;
    padding-inline: var(--n-s4);
    font-size: 20px;
  }
  
  html[data-shell="tv"] .qfact {
    min-height: 44px;
    padding-inline: var(--n-s4);
    font-size: 20px;
    display: inline-flex;
    align-items: center;
  }

}



@layer sections {

  
  
  .find { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
  .find[hidden] { display: none; }
  .find-head {
    display: flex;
    align-items: center;
    gap: var(--n-s3);
    padding-bottom: var(--n-s2);
    border-bottom: 1px solid var(--n-seam);
  }
  .find-field {
    flex: 1 1 auto;
    min-width: 0;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--n-line);
    border-radius: 12px;
    color: var(--n-text);
    font: inherit;
    padding: var(--n-s2) var(--n-s3);
  }
  .find-count { color: var(--n-muted); font-size: var(--n-fs-cap); white-space: nowrap; }
  .find-rows { overflow-y: auto; min-height: 0; }
  .find-empty { color: var(--n-muted); padding: var(--n-s5) var(--n-s3); }

  html[data-shell="tv"] .live > [data-find] {
    grid-area: guide;
    align-self: stretch;
    min-height: 0;
  }
  html[data-shell="tv"] .find-field {
    font-size: 28px;
    padding: 14px 20px;
    border-radius: 14px;
  }
  html[data-shell="tv"] .find-field:focus-visible {
    outline: none;
    border-color: var(--n-hue);
    box-shadow: inset 3px 0 0 0 var(--n-hue);
  }
  html[data-shell="tv"] .find-count { font-size: 20px; }
  html[data-shell="tv"] .find-rows {
    overscroll-behavior: contain;
    padding-bottom: var(--n-tv-safe-y);
  }
  html[data-shell="tv"] .find-rows .crow { min-height: var(--n-tv-row); }
  html[data-shell="tv"] .find-empty { font-size: 26px; }
  
  html[data-shell="tv"] .find-rows .crow-name { font-size: 28px; }
  html[data-shell="tv"] .find-rows .crow-prog { font-size: 22px; }
  html[data-shell="tv"] .find-rows .crow-until,
  html[data-shell="tv"] .find-rows .crow-qual,
  html[data-shell="tv"] .find-rows .crow-live { font-size: 17px; }
  

}

@layer theme {

  
  
  html[data-shell="tv"] .guide-cell,
  html[data-shell="tv"] .guide-cell.is-now,
  html[data-shell="tv"] .guide-cell:focus-visible,
  html[data-shell="tv"] .guide-cell.is-now:focus-visible,
  html[data-shell="tv"] .guide-cell:hover,
  html[data-shell="tv"] .guide-cell:active {
    background: rgba(255, 255, 255, .05);
    box-shadow: none;
    outline: none;
    color: var(--n-muted);
  }
  html[data-shell="tv"] .guide-cell.is-bare,
  html[data-shell="tv"] .guide-cell.is-bare:focus-visible {
    background: rgba(255, 255, 255, .022);
  }
  html[data-shell="tv"] .guide-cell .guide-cell-name,
  html[data-shell="tv"] .guide-cell:focus-visible .guide-cell-name {
    color: var(--n-text);
  }
  html[data-shell="tv"] .guide-cell.is-bare .guide-cell-name {
    color: var(--n-muted);
  }

  

  
  html[data-shell="tv"] [data-groups] .grow:focus-visible,
  html[data-shell="tv"] .cats-list .grow:focus-visible,
  html[data-shell="tv"] .guide-row:has(.guide-cell:focus-visible) .guide-name {
    background: transparent;
    box-shadow: inset 3px 0 0 0 var(--n-hue);
    border-radius: 12px;
    outline: none;
  }

  
  html[data-shell="tv"] [data-groups] .grow.is-here,
  html[data-shell="tv"] .cats-list .grow.is-here,
  html[data-shell="tv"] .guide-row.is-playing .guide-name {
    background: color-mix(in srgb, var(--n-hue) 16%, transparent);
    box-shadow: none;
    border-radius: 12px;
  }
  
  html[data-shell="tv"] [data-groups] .grow.is-playing:not(.is-here) {
    background: transparent;
    box-shadow: none;
  }

  
  
  
  html[data-shell="tv"] .crow:focus-visible,
  html[data-shell="tv"] .catrow:focus-visible {
    background: transparent;
    box-shadow: inset 3px 0 0 0 var(--n-hue);
    border-radius: 12px;
    outline: none;
  }

  
  
  html[data-shell="tv"] .ecard:focus-visible {
    background: none;
    box-shadow: none;
    outline: none;
  }
  html[data-shell="tv"] .ecard:focus-visible .eshot {
    box-shadow: 0 0 0 3px var(--n-hue),
      0 18px 40px -18px rgba(0, 0, 0, .8);
  }
  
  html[data-shell="tv"] .ecard:hover { background: none; }
  html[data-shell="tv"] .ecard.is-resume {
    background: color-mix(in srgb, var(--n-hue) 16%, transparent);
    box-shadow: inset 4px 0 0 0 var(--n-hue);
    border-radius: 14px;
  }
  html[data-shell="tv"] .ecard.is-resume:focus-visible {
    background: color-mix(in srgb, var(--n-hue) 20%, transparent);
    box-shadow: inset 4px 0 0 0 var(--n-hue),
      0 0 0 3px var(--n-hue),
      0 18px 40px -18px rgba(0, 0, 0, .8);
  }

  
  
  html[data-shell="tv"] .ecard:focus-visible * { color: inherit; }
  
  html[data-shell="tv"] .ecard:focus-visible .etext,
  html[data-shell="tv"] .ecard:focus-visible .etitle { color: var(--n-text); }
  html[data-shell="tv"] .ecard:focus-visible .enum,
  html[data-shell="tv"] .ecard:focus-visible .esub,
  html[data-shell="tv"] .ecard:focus-visible .eplot,
  html[data-shell="tv"] .ecard:focus-visible .eplate { color: var(--n-muted); }
  html[data-shell="tv"] .crow:focus-visible *,
  html[data-shell="tv"] .catrow:focus-visible * { color: inherit; }

  
  html[data-shell="tv"] [data-groups] .grow.is-here:focus-visible,
  html[data-shell="tv"] .cats-list .grow.is-here:focus-visible,
  html[data-shell="tv"] .guide-row.is-playing:has(.guide-cell:focus-visible) .guide-name {
    background: color-mix(in srgb, var(--n-hue) 16%, transparent);
    box-shadow: inset 3px 0 0 0 var(--n-hue);
  }

  
  html[data-shell="tv"] [data-groups] .grow,
  html[data-shell="tv"] [data-groups] .grow:focus-visible,
  html[data-shell="tv"] [data-groups] .grow.is-here,
  html[data-shell="tv"] [data-groups] .grow.is-here:focus-visible,
  html[data-shell="tv"] .cats-list .grow,
  html[data-shell="tv"] .cats-list .grow:focus-visible,
  html[data-shell="tv"] .cats-list .grow.is-here,
  html[data-shell="tv"] .cats-list .grow.is-here:focus-visible,
  html[data-shell="tv"] .guide-row .guide-name,
  html[data-shell="tv"] .guide-row.is-playing .guide-name,
  html[data-shell="tv"] .crow,
  html[data-shell="tv"] .crow:focus-visible,
  html[data-shell="tv"] .catrow,
  html[data-shell="tv"] .catrow:focus-visible,
  html[data-shell="tv"] .ecard,
  html[data-shell="tv"] .ecard:focus-visible,
  html[data-shell="tv"] .ecard.is-resume,
  html[data-shell="tv"] .ecard.is-resume:focus-visible {
    color: var(--n-text);
  }
  html[data-shell="tv"] [data-groups] .grow *,
  html[data-shell="tv"] .cats-list .grow *,
  html[data-shell="tv"] .crow *,
  html[data-shell="tv"] .catrow *,
  html[data-shell="tv"] .guide-row .guide-name * {
    color: inherit;
  }
  
  html[data-shell="tv"] .ecard:focus-visible .eshot { opacity: 1; }

  
  
  html[data-shell="tv"] .card:focus-visible {
    background: none;
    box-shadow: none;
  }


  
  
  html[data-shell="tv"] .sheet-card {
    width: 780px;
    
    background: linear-gradient(180deg,
      rgba(8, 12, 18, .58) 0%,
      rgba(8, 12, 18, .74) 100%);
    -webkit-backdrop-filter: blur(26px) saturate(1.15);
    backdrop-filter: blur(26px) saturate(1.15);
    border-left: 1px solid rgba(255, 255, 255, .10);
  }

  
  html[data-shell="tv"] .srow {
    min-height: var(--n-tv-row);
    padding: var(--n-s3) var(--n-s5);
    gap: var(--n-s4);
  }
  html[data-shell="tv"] .srow-text b { font-size: 26px; }
  html[data-shell="tv"] .srow-text span { font-size: 21px; margin-top: 3px; }
  html[data-shell="tv"] .srow-go { font-size: 26px; }

  html[data-shell="tv"] .sheet-head { padding: var(--n-s5) var(--n-s5) var(--n-s3); }
  html[data-shell="tv"] .sheet-head h2 { font-size: 38px; }
  html[data-shell="tv"] .sheet-body { padding-bottom: var(--n-tv-safe-y); }

  
  
  html[data-shell="tv"] .sheet-body .sheet-label {
    font-size: 20px;
    padding-inline: var(--n-s5);
  }
  html[data-shell="tv"] .sheet-body .sheet-note {
    font-size: 21px;
    padding-inline: var(--n-s5);
  }

  
  html[data-shell="tv"] .srow:focus-visible {
    background: color-mix(in srgb, var(--n-hue) 10%, transparent);
    box-shadow: inset 3px 0 0 0 var(--n-hue);
    color: var(--n-text);
    outline: none;
    border-radius: 12px;
  }
  html[data-shell="tv"] .srow:focus-visible * { color: inherit; }
  html[data-shell="tv"] .srow:focus-visible .srow-text span { color: var(--n-muted); }

}


@layer components {
  .filter-pane {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--n-s5);
    background: rgba(4, 7, 11, .62);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .filter-pane[hidden] { display: none; }

  .filter-card {
    width: min(1400px, 100%);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    gap: var(--n-s4);
    padding: var(--n-s5);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .09);
    
    background: linear-gradient(180deg,
      rgba(8, 12, 18, .90) 0%,
      rgba(8, 12, 18, .96) 100%);
    box-shadow: 0 40px 110px -30px rgba(0, 0, 0, .9);
  }

  .filter-head {
    display: flex;
    align-items: baseline;
    gap: var(--n-s4);
    flex-wrap: wrap;
  }
  .filter-head h2 { font-size: calc(20px * var(--ts)); font-weight: 700; }
  
  .filter-say {
    color: var(--n-hue);
    font-size: calc(13px * var(--ts));
    font-variant-numeric: tabular-nums;
  }

  .filter-groups {
    display: flex;
    flex-direction: column;
    gap: var(--n-s4);
    overflow-y: auto;
    min-height: 0;
    
    scroll-padding-block: 44px;
  }
  .filter-row { scroll-margin-block: 44px; }
  .filter-lab {
    margin: 0 0 var(--n-s2);
    font-size: calc(12px * var(--ts));
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--n-muted);
    font-weight: 600;
  }
  
  .filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--n-s2);
  }
  .filter-opt {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    color: var(--n-text);
    border-radius: 10px;
    padding: var(--n-s2) var(--n-s4);
    font-size: calc(14px * var(--ts));
    font-weight: 600;
    cursor: pointer;
    font-variant-numeric: tabular-nums;
  }
  
  .filter-opt.is-on {
    background: color-mix(in srgb, var(--n-hue) 18%, transparent);
    border-color: var(--n-hue);
    color: var(--n-text);
  }
  .filter-acts {
    display: flex;
    gap: var(--n-s3);
    flex-wrap: wrap;
    padding-top: var(--n-s2);
    border-top: 1px solid var(--n-seam);
  }
}

@layer sections {
  html[data-shell="tv"] .filter-card {
    padding: var(--n-s6);
    gap: var(--n-s5);
    border-radius: 28px;
  }
  html[data-shell="tv"] .filter-head h2 { font-size: 40px; }
  html[data-shell="tv"] .filter-say { font-size: 24px; }
  html[data-shell="tv"] .filter-lab { font-size: 20px; }
  html[data-shell="tv"] .filter-groups { gap: var(--n-s5); }
  html[data-shell="tv"] .filter-row { gap: var(--n-s3); }
  html[data-shell="tv"] .filter-opt {
    font-size: 24px;
    padding: var(--n-s3) var(--n-s5);
    min-height: 60px;
    border-radius: 12px;
  }
  
  html[data-shell="tv"] .filter-opt:not(:first-child) { min-width: 0; }
}


@layer components {
  .card-all {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--n-s2);
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    color: var(--n-muted);
    cursor: pointer;
    padding: var(--n-s4);
  }
  .card-all-name {
    font-size: calc(14px * var(--ts));
    font-weight: 600;
    color: var(--n-text);
  }
  .card-all-note {
    font-size: calc(12px * var(--ts));
    color: var(--n-muted);
  }
}

@layer sections {
  
  html[data-shell="tv"] .card-all {
    
    width: auto;
    min-width: 190px;
    align-self: center;
    height: auto;
    border-radius: 999px;
    padding: var(--n-s5) var(--n-s5);
  }
  html[data-shell="tv"] .card-all.is-wide { width: auto; }
  html[data-shell="tv"] .card-all-name { font-size: 26px; }
  html[data-shell="tv"] .card-all-note { font-size: 20px; }
  
  
  html[data-shell="tv"] .card-all:focus-visible {
    outline: 4px solid var(--sec, var(--n-hue));
    outline-offset: 3px;
    border-style: solid;
    border-color: transparent;
    box-shadow: none;
  }
}


@layer components {
  .filter-spin {
    display: inline-flex;
    align-items: center;
    gap: var(--n-s3);
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    color: var(--n-text);
    border-radius: 10px;
    padding: var(--n-s2) var(--n-s4);
    font-weight: 600;
    cursor: pointer;
  }
  .spin-val {
    min-width: 5ch;
    text-align: center;
    font-size: calc(15px * var(--ts));
    font-variant-numeric: tabular-nums;
  }
  .spin-arrow {
    font-size: calc(9px * var(--ts));
    color: var(--n-muted);
    line-height: 1;
  }
  .spin-hint {
    font-size: calc(11px * var(--ts));
    color: var(--n-muted);
    font-weight: 400;
    margin-left: var(--n-s2);
  }
  
  .filter-spin.is-on {
    background: color-mix(in srgb, var(--n-hue) 18%, transparent);
    border-color: var(--n-hue);
  }
  
  .filter-spin.is-tuning {
    border-color: var(--n-hue);
    box-shadow: inset 0 0 0 2px var(--n-hue);
  }
  .filter-spin.is-tuning .spin-arrow { color: var(--n-hue); }
}

@layer sections {
  html[data-shell="tv"] .filter-spin {
    padding: var(--n-s3) var(--n-s5);
    min-height: 60px;
    border-radius: 12px;
    gap: var(--n-s4);
  }
  html[data-shell="tv"] .spin-val { font-size: 30px; min-width: 6ch; }
  html[data-shell="tv"] .spin-arrow { font-size: 16px; }
  html[data-shell="tv"] .spin-hint { font-size: 20px; }
}


@layer sections {
  
  html:not([data-shell="tv"]) body:not(.is-vod) .player-ctl {
    left: auto;
    right: 16px;
    top: auto;
    bottom: 14px;
    width: auto;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 0;
    background: none;
  }
  
  html:not([data-shell="tv"]) body:not(.is-vod) .player-banner {
    padding-right: 190px;
  }
  
  
  html:not([data-shell="tv"]) body:not(.is-vod) .player-ctl [data-role="pfit"],
  html:not([data-shell="tv"]) body:not(.is-vod) .player-ctl [data-role="ppip"] {
    display: none;
  }
  
  html:not([data-shell="tv"]) .player:has(.player-banner.is-shown) .player-ctl {
    opacity: 1;
  }
}


@layer sections {
  html:not([data-shell="tv"]) body:not(.is-vod) .player-ctl > .pspace,
  html:not([data-shell="tv"]) body:not(.is-vod) .player-ctl > .pbreak {
    display: none;
  }
  html:not([data-shell="tv"]) body:not(.is-vod) .player-ctl [data-role="pplay"] { order: 0; }
  html:not([data-shell="tv"]) body:not(.is-vod) .player-ctl [data-role="ppip"] { order: 1; }
  html:not([data-shell="tv"]) body:not(.is-vod) .player-ctl [data-role="pair"] { order: 2; }
  html:not([data-shell="tv"]) body:not(.is-vod) .player-ctl [data-role="pfull"] { order: 3; }
  html:not([data-shell="tv"]) body:not(.is-vod) .player-ctl .pbtn {
    width: 44px; height: 44px; flex: 0 0 44px;
  }

  
  html:not([data-shell="tv"]) body:not(.is-vod) .player-body { display: none; }
}


@layer sections {
  html[data-shell="tv"] .live > .player > .player-body { display: none; }

  
  html[data-shell="tv"] .player-banner {
    display: flex !important;
    opacity: 1 !important;
    left: 0; right: 0; bottom: 0; top: auto;
    gap: var(--n-s4);
    padding: var(--n-s4) var(--n-s5) var(--n-s4);
    background: linear-gradient(to top, rgba(0, 0, 0, .92), transparent);
  }
  
  html[data-shell="tv"] .banner-logo { flex: 0 0 76px; width: 76px; height: 76px; }
  html[data-shell="tv"] .banner-prog { font-size: 30px; margin-bottom: 8px; }
  html[data-shell="tv"] .banner-line { font-size: 24px; gap: var(--n-s3); }
  html[data-shell="tv"] .banner-chips .chip { font-size: 19px; padding: 4px 10px; }
}


@layer sections {
  html:not([data-shell="tv"]) body:not(.is-vod) .player-scrim { display: none; }
}


@media (min-width: 1440px) {
  @layer sections {
    
    
    
    
    
    html:not([data-shell="tv"]) body:not([data-section="live"]) .bar-back:not(.player-back) {
      
      margin-left: calc(var(--n-s5) - var(--n-gutter) - 10px);
    }
  }
}


@layer sections {
  html:not([data-shell="tv"]) body:not(.is-touch) .card:not(:hover) .card-shot::before {
    transition: none;
  }
  
}


@layer sections {
  html:not([data-shell="tv"]) .card-name { font-size: 15px; }
  html:not([data-shell="tv"]) .card-year,
  html:not([data-shell="tv"]) .card-ep,
  html:not([data-shell="tv"]) .card-left,
  html:not([data-shell="tv"]) .card-note { font-size: 13px; }
}


@media (min-width: 1200px) {
  @layer sections {
    html:not([data-shell="tv"]) .shell > .rail {
      justify-content: center;
    }
    html:not([data-shell="tv"]) .rail-item {
      padding-block: var(--n-s3);
      gap: var(--n-s3);
    }
    html:not([data-shell="tv"]) .rail-glyph {
      width: 30px; height: 30px; flex: 0 0 30px;
    }
    html:not([data-shell="tv"]) .rail-label { font-size: 16px; }
  }
}


@layer sections {
  .btn,
  .btn-quiet,
  .qbtn,
  .qfact { border-radius: 10px; }
  
  
  .qbtn.is-on {
    background: color-mix(in srgb, var(--n-hue) 14%, transparent);
    border-color: var(--n-hue);
    color: var(--n-text);
  }
}


@layer sections {
  html:not([data-shell="tv"]) .title-scrim {
    background: linear-gradient(180deg,
      rgba(6, 10, 16, .30) 0%,
      rgba(6, 10, 16, .10) 30%,
      rgba(6, 10, 16, .45) 74%,
      var(--n-bg) 100%);
  }
}


@layer sections {
  .bar-back,
  .bar-icon,
  .avatar { border-radius: 10px; }
}


@layer sections {
  .hdot {
    background: rgba(255, 255, 255, .45);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .6);
  }
  .hdot.is-on {
    background: var(--n-hue);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--n-hue) 30%, transparent),
      0 1px 3px rgba(0, 0, 0, .6);
  }
}


@media (min-width: 1200px) {
  @layer sections {
    html:not([data-shell="tv"]) .rail-you { display: flex; }
    html:not([data-shell="tv"]) .bar .avatar { display: none; }
  }
}


@layer sections {
  .rail-item[data-goto="you"] { --sec: var(--n-hue); }
  .avatar { --sec: var(--n-hue); }
}


@media (min-width: 1200px) {
  @layer sections {
    html:not([data-shell="tv"]) .sheet-card { width: min(620px, 92%); }
    
    html:not([data-shell="tv"]) .sheet-scrim { background: rgba(4, 7, 10, .32); }
  }
}


@layer sections {
  html:not([data-shell="tv"]) .sheet-card {
    
    background: rgba(20, 33, 55, .68);
  }
}


@media (min-width: 1200px) {
  @layer sections {
    
    html:not([data-shell="tv"]) .hero {
      aspect-ratio: 16 / 9;
      min-height: 0;
      
      max-height: calc(100% - var(--n-s6));
      
      
      width: auto;
      
      max-width: calc(100% - var(--n-s3) * 2);
      margin-inline: auto;
      
      margin-bottom: var(--n-s3);
    }

    
    
    
    html:not([data-shell="tv"]) .hero-fill,
    html[data-shell="tv"] .hero-fill {
      display: block;
      background-size: cover;
      background-position: center;
      
      
      filter: blur(52px) saturate(1.1) brightness(.62);
      transform: scale(1.16);
      
      pointer-events: none;
    }

    
    html:not([data-shell="tv"]) .shell {
      grid-template-columns: 64px minmax(0, 1fr);
      transition: grid-template-columns var(--n-t-panel, 180ms) var(--n-ease, ease);
    }
    html:not([data-shell="tv"]) .shell > .rail {
      width: 64px;
      transition: width var(--n-t-panel, 180ms) var(--n-ease, ease);
    }
    html:not([data-shell="tv"]) .shell .rail-label {
      opacity: 0;
      transition: opacity var(--n-t-panel, 180ms) var(--n-ease, ease);
    }
    
    
    html:not([data-shell="tv"]) .shell { overflow: hidden; }
    html:not([data-shell="tv"]) .shell > .content {
      transition: transform var(--n-t-panel, 180ms) var(--n-ease, ease);
      will-change: transform;
    }
    html:not([data-shell="tv"]) .shell:has(.rail:hover) > .content,
    html:not([data-shell="tv"]) .shell:has(.rail :focus-visible) > .content {
      transform: translateX(52px);
    }
    @media (prefers-reduced-motion: reduce) {
      html:not([data-shell="tv"]) .shell > .content { transition: none; }
    }
    html:not([data-shell="tv"]) .shell:has(.rail:hover) > .rail,
    html:not([data-shell="tv"]) .shell:has(.rail :focus-visible) > .rail {
      width: 116px;
    }
    html:not([data-shell="tv"]) .shell > .rail:hover,
    html:not([data-shell="tv"]) .shell > .rail:has(:focus-visible) {
      width: 116px;
    }
    html:not([data-shell="tv"]) .rail:hover .rail-label,
    html:not([data-shell="tv"]) .rail:has(:focus-visible) .rail-label { opacity: 1; }
    @media (prefers-reduced-motion: reduce) {
      html:not([data-shell="tv"]) .shell,
      html:not([data-shell="tv"]) .shell > .rail,
      html:not([data-shell="tv"]) .shell .rail-label { transition: none; }
    }
  }
}



@media (min-width: 1200px) {
  @layer sections {
    html:not([data-shell="tv"]) .store {
      display: flex;
      align-items: stretch;
      overflow: hidden;
    }
    html:not([data-shell="tv"]) .store > .cats-pane {
      display: block;
      flex: 0 0 auto;
      
      order: -1;
      width: 0;
      min-width: 0;
      overflow-x: hidden;
      overflow-y: auto;
      padding: 0 0 var(--n-s5);
      
      border-right: 0;
      
      box-shadow: none;
      transition: width var(--n-t-panel, 180ms) var(--n-ease, ease);
    }
    
    html:not([data-shell="tv"]) .store > .cats-pane[hidden] { display: none; }
    html:not([data-shell="tv"]) body.is-catlane .store > .cats-pane {
      width: 300px;
    }
    html:not([data-shell="tv"]) .store > .cats-pane .cats-list {
      width: 300px;
    }
    html:not([data-shell="tv"]) .store > .store-shelf,
    html:not([data-shell="tv"]) .store > .store-grid,
    html:not([data-shell="tv"]) .store > .title-page,
    html:not([data-shell="tv"]) .store > .saved {
      flex: 1 1 auto;
      min-width: 0;
    }
    @media (prefers-reduced-motion: reduce) {
      html:not([data-shell="tv"]) .store > .cats-pane { transition: none; }
    }

    
    html:not([data-shell="tv"]) [data-role="categories"]:not([hidden]) {
      display: inline-flex;
    }
    
    html:not([data-shell="tv"]) body:not([data-section="live"]) [data-role="reorder"] {
      position: static;
      left: auto;
      top: auto;
    }
    
    html:not([data-shell="tv"]) body:not([data-section="live"]) .bar {
      padding-left: var(--n-gutter);
    }
  }
}


@media (min-width: 1200px) {
@layer sections {
  html:not([data-shell="tv"]) .hero,
  html[data-shell="tv"] .hero {
    display: grid;
    
    grid-template-rows: minmax(0, 1fr) auto;
    row-gap: var(--n-s5);
    align-items: stretch;
  }
  
  html:not([data-shell="tv"]) .hero-fill,
  html[data-shell="tv"] .hero-fill {
    display: block;
    grid-area: 1 / 1 / -1 / -1;
    z-index: 0;
  }
  html:not([data-shell="tv"]) .hero-body,
  html[data-shell="tv"] .hero-body {
    grid-area: 1 / 1 / 2 / 2;
    z-index: 1;
    
    width: auto;
    max-width: none;
    min-width: 0;
    justify-content: flex-start;
    gap: var(--n-s2);
  }
  html:not([data-shell="tv"]) .hero-body::before,
  html[data-shell="tv"] .hero-body::before { display: none; }
  
  html:not([data-shell="tv"]) .hero-body,
  html[data-shell="tv"] .hero-body {
    align-items: center;
    text-align: center;
    
    
    
    justify-content: flex-start;
    gap: var(--n-s5);
  }
  
  
  html:not([data-shell="tv"]) .hero-title,
  html[data-shell="tv"] .hero-title {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    
    margin-bottom: var(--n-s2);
  }
  
  
  html:not([data-shell="tv"]) .hero-title,
  html[data-shell="tv"] .hero-title {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    
    min-width: 0;
    max-width: 100%;
    
    margin-bottom: 0;
  }
  html:not([data-shell="tv"]) .hero-meta,
  html[data-shell="tv"] .hero-meta { margin-bottom: 0; }
  
  
  html:not([data-shell="tv"]) .hero-meta,
  html[data-shell="tv"] .hero-meta {
    height: calc(1em * 1.45);
    overflow: hidden;
  }
  
  
  
  
  
  html:not([data-shell="tv"]) .hero-acts,
  html[data-shell="tv"] .hero-acts {
    justify-content: center;
  }
  html:not([data-shell="tv"]) .hero-acts .btn,
  html[data-shell="tv"] .hero-acts .btn {
    max-width: 100%;
    white-space: normal;
  }
  
  
  html:not([data-shell="tv"]) .hero-acts .btn {
    font-size: clamp(16px, 1.25vw, 24px);
    min-height: clamp(44px, 3.55vw, 68px);
    padding-inline: var(--n-s5);
  }
  body:not(.is-touch) .hero-acts .btn:hover,
  .hero-acts .btn:focus-visible {
    background: var(--n-hue);
    border-color: var(--n-hue);
    color: var(--n-bg);
  }
  
  html:not([data-shell="tv"]) .hero-dots,
  html[data-shell="tv"] .hero-dots { justify-content: center; }

  
  
  html:not([data-shell="tv"]) .hero-poster,
  html[data-shell="tv"] .hero-poster {
    display: block;
    flex: 0 0 auto;
    
    width: 94%;
    aspect-ratio: 2 / 3;
    flex: 0 0 auto;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    
    
  }

  
  html:not([data-shell="tv"]) .hero-dots,
  html[data-shell="tv"] .hero-dots {
    position: static;
    grid-area: 2 / 1 / 3 / 2;
    z-index: 1;
    justify-content: center;
    
    padding: var(--n-s4) var(--n-s5) var(--n-s5);
  }

  
  html:not([data-shell="tv"]) .hero-art,
  html[data-shell="tv"] .hero-art {
    position: relative;
    inset: auto;
    grid-area: 1 / 2 / -1 / -1;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
  }
}
}


@media (min-width: 1200px) {
  @layer sections {
    html:not([data-shell="tv"]) .hero {
      
      
      
      
      
      
      
      aspect-ratio: calc(16 / 9 / 0.82);
      grid-template-columns: minmax(0, 1fr) min(82%, calc(80vh * 16 / 9));
      max-height: 80vh;
      
      width: calc(100% - var(--n-s5) * 2);
    }
    html:not([data-shell="tv"]) .hero-body { padding: var(--n-s5); }
    
    html:not([data-shell="tv"]) .hero-body { justify-content: center; }
    html:not([data-shell="tv"]) .hero-dots { gap: 14px; }
    html:not([data-shell="tv"]) .hdot { width: 13px; height: 13px; }
    
    html:not([data-shell="tv"]) .hero-dots { padding: 0 var(--n-s5) var(--n-s5); }
    
    html:not([data-shell="tv"]) .hero-poster { max-height: 52%; }
    
    html:not([data-shell="tv"]) .hero-poster { flex: 0 1 auto; min-height: 0; }
    html:not([data-shell="tv"]) .hero-title { min-height: calc(2 * 1.12 * 18px); }
  }
}


@media (min-width: 1200px) {
@layer sections {
  html[data-shell="tv"] .hero {
    
    grid-template-columns: minmax(0, 1fr) calc(74vh * 16 / 9);
  }
  html[data-shell="tv"] .hero-body {
    
    padding: var(--n-s5) var(--n-s5) 0;
    
    justify-content: flex-start;
    
  }
  html[data-shell="tv"] .hero-dots {
    right: auto;
    bottom: auto;
    
    justify-content: center;
    
    padding: 0 var(--n-s5) var(--n-s5);
  }
  
  html[data-shell="tv"] .hero-art { animation: none; }
  html[data-shell="tv"] .hero-fill {
    animation: n-hero-drift-fill 24s ease-in-out infinite alternate;
  }
  @keyframes n-hero-drift-fill {
    from { transform: scale(1.16); }
    to   { transform: scale(1.3); }
  }
  @media (prefers-reduced-motion: reduce) {
    html[data-shell="tv"] .hero-fill { animation: none; }
  }
}

  
  @media (min-width: 1200px) {
    html:not([data-shell="tv"]) body.is-title {
      
      
      --tc-w: min(840px, 46vw);
      
      --tc-h: min(460px, 42.6vh);
      --tc-name: min(50px, 4.7vh);
      --tc-text: min(22px, 2vh);
      --tc-btn: min(54px, 5vh);
    }

    
    html:not([data-shell="tv"]) .title-art,
    html:not([data-shell="tv"]) .title-scrim {
      position: fixed;
      inset: 0;
      height: auto;
      
      pointer-events: none;
    }
    
    html:not([data-shell="tv"]) .title-art {
      left: 0;
      right: 0;
      background-position: center 30%;
      -webkit-mask-image: linear-gradient(45deg,
        transparent 0%, rgba(0, 0, 0, .18) 20%, rgba(0, 0, 0, .72) 44%, #000 62%);
      mask-image: linear-gradient(45deg,
        transparent 0%, rgba(0, 0, 0, .18) 20%, rgba(0, 0, 0, .72) 44%, #000 62%);
    }
    
    html:not([data-shell="tv"]) .title-scrim {
      background: linear-gradient(180deg,
        rgba(6, 10, 16, .34) 0%,
        rgba(6, 10, 16, 0) 22%,
        rgba(6, 10, 16, 0) 58%,
        rgba(6, 10, 16, .58) 100%);
    }
    
    html:not([data-shell="tv"]) .title-page::before { display: none; }
    
    html:not([data-shell="tv"]) .title-poster { display: none; }

    
    html:not([data-shell="tv"]) .title-card {
      display: flex;
      flex-direction: column;
      width: var(--tc-w);
      
      height: auto;
      
      max-height: calc(100vh - var(--n-bar-h) - var(--n-s6) - var(--n-s4)
             - var(--tc-btn) - var(--n-s4) - var(--tc-btn) - var(--n-s4));
      overflow: hidden;
      padding: var(--n-s5);
      margin-bottom: var(--n-s4);
      border-radius: 28px;
      border: 1px solid rgba(255, 255, 255, .09);
      background: linear-gradient(180deg,
        rgba(8, 12, 18, .60) 0%,
        rgba(8, 12, 18, .76) 100%);
      
      -webkit-backdrop-filter: blur(22px) saturate(1.15);
      backdrop-filter: blur(22px) saturate(1.15);
      box-shadow: 0 26px 64px rgba(0, 0, 0, .44);
    }
    
    html:not([data-shell="tv"]) body.is-title .title-body {
      position: relative;
      z-index: 2;
      max-width: none;
      padding-left: var(--n-s7);
      
      
      align-items: flex-end;
      box-sizing: border-box;
      
      height: calc(100vh - var(--n-bar-h));
      padding-top: var(--n-s6);
      
      padding-bottom: var(--n-s4);
    }
    
    html:not([data-shell="tv"]) body.is-title .title-page {
      
      overflow: hidden;
      
      padding-bottom: 0;
    }
    
    html:not([data-shell="tv"]) body.is-title
      .title-page:has([data-seasons]:not([hidden])) {
      height: auto;
      min-height: 100%;
      
      overflow-y: auto;
      overflow-x: hidden;
      padding-bottom: var(--n-s6);
    }
    
    
    html:not([data-shell="tv"]) body.is-title
      .title-page:has([data-seasons]:not([hidden])) .title-body {
      height: auto;
      align-items: flex-start;
      
      padding-top: max(var(--n-s6), var(--title-push, 0px));
    }
    
    
    html:not([data-shell="tv"]) .episodes {
      display: grid;
      grid-template-columns: minmax(0, max-content);
      max-width: min(560px, 100%);
    }
    html:not([data-shell="tv"]) .esub {
      flex-direction: column;
      gap: 2px;
      font-size: calc(13px * var(--ts));
    }
    html:not([data-shell="tv"]) .etitle { font-size: calc(16px * var(--ts)); }
    html:not([data-shell="tv"]) .enum { font-size: calc(13px * var(--ts)); }
    
    html:not([data-shell="tv"]) .season-tab {
      background: rgba(8, 12, 18, .72);
      border-color: rgba(255, 255, 255, .22);
      color: var(--n-text);
    }
    
    html:not([data-shell="tv"]) .season-tab.is-on {
      background: color-mix(in srgb, var(--n-hue) 26%, rgba(8, 12, 18, .86));
      border-color: var(--n-hue);
      color: var(--n-text);
    }
    html:not([data-shell="tv"]) .title-text { max-width: none; }
    html:not([data-shell="tv"]) .title-acts { min-height: var(--tc-btn); }
    
    html:not([data-shell="tv"]) .title-acts {
      max-width: var(--tc-w);
      box-sizing: border-box;
    }
    html:not([data-shell="tv"]) .title-acts > .btn {
      flex: 1 1 auto;
      justify-content: center;
    }
    
    html:not([data-shell="tv"]) .title-acts > .is-last-line { flex-grow: 0; }
    html:not([data-shell="tv"]) .title-quiet {
      min-height: var(--tc-btn);
      margin-top: var(--n-s4);
    }
    
    html:not([data-shell="tv"]) .title-quiet:not(:has(> :not([hidden]))) {
      min-height: 0;
      margin-top: 0;
    }

    
    html:not([data-shell="tv"]) [data-title-name] {
      font-size: var(--tc-name);
      line-height: 1.02;
    }
    
    html:not([data-shell="tv"]) .title-card [data-title-name],
    html:not([data-shell="tv"]) .title-card .title-meta,
    html:not([data-shell="tv"]) .title-card .title-facts {
      flex: 0 0 auto;
    }
    html:not([data-shell="tv"]) .title-card [data-title-name] {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      
      line-height: 1.12;
      
      padding-bottom: .14em;
    }
    html:not([data-shell="tv"]) .title-meta { font-size: var(--tc-text); }
    
    html:not([data-shell="tv"]) .title-score {
      font-size: var(--tc-text);
      padding: 4px 14px;
      border-radius: 10px;
    }
    
    
    html:not([data-shell="tv"]) .title-card .tfact {
      font-size: var(--tc-text);
      margin-bottom: 8px;
    }
    
    html:not([data-shell="tv"]) .title-card .tfact-lab { flex: 0 0 92px; }
    
    html:not([data-shell="tv"]) .title-card .tfact-val {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    
    html:not([data-shell="tv"]) .title-card .title-plot {
      font-size: var(--tc-text);
      
      margin-bottom: 0;
      
      flex: 1 1 auto;
      min-height: 0;
    }
    
    html:not([data-shell="tv"]) .title-card .title-file {
      margin-top: auto;
      margin-bottom: 0;
    }
    
    html:not([data-shell="tv"]) [data-title-name],
    html:not([data-shell="tv"]) .title-meta,
    html:not([data-shell="tv"]) .title-facts,
    html:not([data-shell="tv"]) .title-plot {
      max-width: calc(var(--tc-w) - var(--n-s5) * 2);
    }
    
    html:not([data-shell="tv"]) .title-acts .btn,
    html:not([data-shell="tv"]) .btn-quiet {
      min-height: var(--tc-btn);
      font-size: var(--tc-text);
      padding-inline: var(--n-s5);
    }
    
    html:not([data-shell="tv"]) .title-card .title-fileline .qual-lab { font-size: var(--tc-text); }
    html:not([data-shell="tv"]) .title-card .title-fileline .title-qual:first-child .qual-lab { flex: 0 0 92px; }

    
    html:not([data-shell="tv"]) body.is-title .rail {
      visibility: hidden;
      width: 0;
      padding-inline: 0;
      overflow: hidden;
    }
    html:not([data-shell="tv"]) body.is-title .shell {
      grid-template-columns: 0 minmax(0, 1fr);
    }
    
    html:not([data-shell="tv"]) body.is-title .store {
      padding-right: 0;
      padding-bottom: 0;
    }
  }

  
  
  html:not([data-shell="tv"]) .strip {
      scrollbar-width: thin;
      scrollbar-color: transparent transparent;
    }
    html:not([data-shell="tv"]) .strip:hover {
      scrollbar-color: rgba(255, 255, 255, .30) transparent;
    }
    html:not([data-shell="tv"]) .strip::-webkit-scrollbar {
      display: block;
      height: 8px;
      width: auto;
    }
    html:not([data-shell="tv"]) .strip::-webkit-scrollbar-track {
      background: transparent;
    }
    html:not([data-shell="tv"]) .strip::-webkit-scrollbar-thumb {
      background: transparent;
      border-radius: 99px;
      border: 2px solid transparent;
      background-clip: padding-box;
    }
    
    html:not([data-shell="tv"]) .strip:hover::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, .30);
      background-clip: padding-box;
    }

  
  
  

  
  @media (min-width: 1200px) {
    html:not([data-shell="tv"]) .hero-title {
      -webkit-box-pack: center;
      line-height: 1.2;
      
      padding-bottom: .14em;
    }
  }

  
  
  html:not([data-shell="tv"]) body.is-vod .shell > .content {
    will-change: auto;
  }
}


html:not([data-shell="tv"]).is-scrolling .hero-body::before,
html:not([data-shell="tv"]).is-scrolling .hero-acts .btn,
html:not([data-shell="tv"]).is-scrolling .card-forget {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}





body.is-mine .bar-gap { display: none; }
.saved-bar[hidden] { display: none; }
.saved-bar {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--n-s5);
  padding-left: var(--n-s5);
}
.saved-title {
  font-size: calc(30px * var(--ts));
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1;
  margin: 0;
}


.saved-switch { display: inline-flex; gap: 10px; }
.saved-seg { align-items: center; }
.saved-n {
  font-family: var(--n-font-data, ui-monospace, monospace);
  font-size: .8em;
  font-weight: 500;
  color: var(--n-muted);
}
.saved-seg.is-on .saved-n { color: inherit; }

.saved-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.saved-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--n-text) 10%, transparent);
  background: color-mix(in srgb, var(--n-text) 4%, transparent);
  color: var(--n-text);
  font-size: calc(14px * var(--ts));
  font-weight: 550;
  white-space: nowrap;
}
body:not(.is-touch) .saved-act:hover { background: color-mix(in srgb, var(--n-text) 9%, transparent); }
.saved-act.is-on { border-color: var(--n-hue); color: var(--n-hue); }
.saved-ico, .saved-caret { display: inline-grid; place-items: center; }
.saved-ico svg { width: 18px; height: 18px; }
.saved-caret svg { width: 16px; height: 16px; opacity: .7; }
.saved-remove { height: auto; }
.saved-remove[disabled] { opacity: .5; cursor: default; }

.saved-sortwrap { position: relative; }
.saved-menu[hidden] { display: none; }
.saved-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  min-width: 200px;
  padding: 6px;
  border-radius: 12px;
  background: var(--n-panel);
  border: 1px solid var(--n-line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  display: grid;
  gap: 2px;
}
.saved-opt {
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: calc(14px * var(--ts));
  color: var(--n-text);
}
.saved-opt.is-on { color: var(--n-hue); background: color-mix(in srgb, var(--n-hue) 12%, transparent); }
body:not(.is-touch) .saved-opt:hover { background: color-mix(in srgb, var(--n-text) 7%, transparent); }

.saved-wrap { position: relative; }


.saved-grid {
  --n-card-min: 176px;
  gap: var(--n-s5) var(--n-s4);
  padding-top: var(--n-s5);
}
@media (min-width: 1200px) {
  html:not([data-shell="tv"]) .saved-grid { --n-card-min: 262px; }
}
@media (max-width: 699px) {
  
  .saved-bar { gap: 8px; padding-left: 12px; }
  .saved-title { display: none; }
  .saved-switch { gap: 6px; }
  
  .saved-act.saved-seg { width: auto; padding: 0 10px; gap: 5px; }
  .saved-actions { gap: 6px; }
  .saved-act { padding: 0; width: 38px; min-height: 38px; }
  .saved-act .saved-lab, .saved-caret { display: none; }
  .saved-done, .saved-remove { width: auto; padding: 0 10px; }
  .saved-grid { --n-card-min: 104px; }
}
html[data-shell="tv"] .saved-grid { --n-card-min: 300px; }
html[data-shell="tv"] .saved-title { font-size: 44px; }
html[data-shell="tv"] .saved-act { font-size: 22px; min-height: 60px; padding: 10px 20px; }
html[data-shell="tv"] .saved-ico svg { width: 26px; height: 26px; }
.saved-empty { padding: var(--n-s6) var(--n-s5); color: var(--n-muted); }


.saved-grid.is-editing .card-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  border: 2px dashed color-mix(in srgb, #fff 55%, transparent);
  pointer-events: none;
  
  background: none;
  transform: none;
  transition: none;
}
.saved-grid.is-editing .card.is-picked .card-shot::before { border: 4px solid var(--n-danger); }
.saved-grid.is-editing .card.is-picked .card-shot::after {
  content: "\2713";
  z-index: 3;
  position: absolute;
  right: 8px; top: 8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--n-danger);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}



@media (max-width: 699px) {
  .saved-bar { gap: 6px; padding-left: 6px; }
  .saved-switch { gap: 5px; }
  .saved-act.saved-seg { padding: 0 8px; gap: 4px; }
  .saved-actions { gap: 5px; }
  .saved-act:not(.saved-seg):not(.saved-done):not(.saved-remove) { width: 36px; min-height: 36px; }
  .saved-act.saved-seg { min-height: 36px; }
}


body.is-mine .saved-bar:not([hidden]) { display: contents; }


body.is-mine .bar-tools { order: 1; margin-left: auto; }
body.is-mine [data-role="saved-filter"] { order: 2; }
body.is-mine [data-role="saved-edit"] { order: 3; }

body.is-mine .saved-actions { order: 4; margin-left: 0; margin-right: 0; gap: var(--n-s3); }
body.is-mine .avatar { order: 5; margin-right: 0; }
@media (max-width: 699px) {
  body.is-mine .saved-actions { gap: 6px; }
  
  .bar.is-searching .saved-actions { display: none; }
}




.bar [data-role="saved-filter"][aria-pressed="true"],
.bar [data-role="saved-edit"][aria-pressed="true"],

.bar [data-role="filter"][aria-pressed="true"],
.bar [data-role="categories"][aria-pressed="true"],

.bar [data-role="reorder"][aria-pressed="true"] {
  background: color-mix(in srgb, var(--n-text) 14%, transparent);
  color: var(--n-text);
}


@media (max-width: 699px) {
  
  
  body.is-mine.is-saved-editing .bar-tools,
  body.is-mine.is-saved-editing .avatar,
  body.is-mine.is-saved-editing .saved-seg:first-child { display: none; }
  body.is-mine.is-saved-editing .saved-switch { margin-left: auto; }
  body.is-mine.is-saved-editing .saved-actions { margin-right: auto; }
}


html:not([data-shell="tv"]) .grow:focus-visible,
html:not([data-shell="tv"]) .crow:focus-visible { outline: none; }

@media (min-width: 700px) and (min-height: 501px) {
  html:not([data-shell="tv"]) [data-groups] .grow.is-here:not(.is-playing) {
    box-shadow: inset 3px 0 0 0 var(--n-hue);
  }
}



html:not([data-shell="tv"]) .rail::after,
html[data-shell="tv"] .rail::after {
  width: 4px;
}


html[data-shell="tv"] .rail:not(.is-open):not(:has(:focus-visible)) .rail-label {
  transition: none;
}
html[data-shell="tv"] .rail::after {
  transition: opacity 0s linear var(--n-t-panel);
}
html[data-shell="tv"] .rail.is-open::after,
html[data-shell="tv"] .rail:has(:focus-visible)::after {
  opacity: 0;
  transition: none;
}
html:not([data-shell="tv"]) .pane:first-child::before,
html:not([data-shell="tv"]) .cats-pane::before { display: none; }


html[data-shell="tv"] .shell > .rail.is-shut {
  width: 108px;
  transition: none;
}
html[data-shell="tv"] .shell:has(.rail.is-shut) > .content {
  transform: none;
  transition: none;
}
html[data-shell="tv"] .rail.is-shut .rail-item {
  padding: var(--n-s2) 0;
  gap: 0;
  transition: none;
}
html[data-shell="tv"] .rail.is-shut .rail-label {
  position: absolute;
  opacity: 0;
  transition: none;
}
html[data-shell="tv"] .rail.is-shut::after {
  opacity: 1;
  transition: none;
}


@media (max-width: 699px) {
  html:not([data-shell="tv"]) .row-strip {
    content-visibility: auto;
    contain-intrinsic-size: auto 341px;
  }
}


.player-rest {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}
.player-rest[hidden] { display: none; }
.rest-card {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--n-s5);
  width: max-content;
  max-width: calc(100% - 2 * clamp(28px, 4vw, 64px));
}
.rest-head {
  display: flex;
  align-items: center;
  gap: var(--n-s5);
  min-width: 0;
}
.rest-logo {
  flex: 0 0 auto;
  width: 104px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--n-text) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--n-text) 10%, transparent);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .35);
}
.rest-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rest-initial {
  font-family: var(--n-font-display);
  font-size: 44px;
  color: var(--n-text-2, var(--n-muted));
}
.rest-words {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}
.rest-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--n-hue);
}
.rest-name {
  margin: 0;
  font-family: var(--n-font-display);
  font-size: clamp(26px, 2.5vw, 42px);
  
  line-height: 1.3;
  padding-bottom: .1em;
  margin-bottom: -.1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rest-marks { display: flex; flex-wrap: wrap; gap: var(--n-s2); align-items: center; }
.rest-guide {
  display: flex;
  flex-direction: column;
  gap: var(--n-s3);
  width: 100%;
  min-width: 460px;
  max-width: 620px;
  padding: var(--n-s4) var(--n-s5);
  border-radius: 12px;
  background: color-mix(in srgb, var(--n-bg) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--n-text) 8%, transparent);
}
.rest-slot {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  column-gap: var(--n-s3);
  row-gap: 8px;
  align-items: baseline;
}
.rest-when {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--n-text-2, var(--n-muted));
}
.rest-slot.is-now .rest-when { color: var(--n-hue); }
.rest-title {
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rest-slot:not(.is-now) .rest-title { color: var(--n-text-2, var(--n-muted)); }
.rest-time {
  font-size: 14px;
  color: var(--n-text-2, var(--n-muted));
  font-variant-numeric: tabular-nums;
}
.rest-bar {
  grid-column: 2 / -1;
  height: 3px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--n-text) 12%, transparent);
  overflow: hidden;
}
.rest-fill { display: block; height: 100%; background: var(--n-hue); }
.rest-watch { min-width: 150px; }

.rest-marks .chan-qual,
.rest-marks .chan-sound {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  color: #8fd0ff;
  border: 1px solid rgba(143, 208, 255, .3);
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
}
.rest-marks .tag-region { font-size: 12px; padding: 2px 6px; }

  
  .copy-wrong {
    position: absolute;
    top: calc(26px + var(--n-sat, 0px));
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    z-index: 6;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    max-width: calc(100% - 32px);
    padding: 12px 18px;
    border-radius: 14px;
    
    background: rgba(58, 38, 4, .94);
    border: 1px solid rgba(245, 196, 81, .55);
    color: #ffe9bd;
    font-size: var(--n-fs-body);
    line-height: 1.3;
    opacity: 0;
    transition: opacity .18s ease, transform .18s ease;
  }
  .copy-wrong.is-shown { opacity: 1; transform: translateX(-50%) translateY(0); }

  .copy-wrong-says { font-weight: 600; }

  .copy-wrong-fix,
  .copy-wrong-shut {
    font: inherit;
    cursor: pointer;
    border-radius: 999px;
    padding: 7px 16px;
    
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .1);
    color: inherit;
  }
  .copy-wrong-fix {
    background: #f5c451;
    border-color: #f5c451;
    color: #241a04;
    font-weight: 600;
  }
  .copy-wrong-fix:focus-visible,
  .copy-wrong-shut:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

  @media (prefers-reduced-motion: reduce) {
    .copy-wrong { transition: none; }
  }
