html[data-ouou-tv] { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 24px; }
html[data-ouou-tv] *, html[data-ouou-tv] *::before, html[data-ouou-tv] *::after { box-sizing: border-box; }
.ouou-tv-page { --tv-notice: 60px; --tv-rail: 240px; margin: 0; padding: 0; background: #141414; color: #f2f2f2; font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.ouou-tv-page [hidden] { display: none !important; }
.ouou-tv-page button, .ouou-tv-page input { font: inherit; }
.ouou-tv-page button, .ouou-tv-page a { -webkit-tap-highlight-color: transparent; }
.ouou-tv-page button { cursor: pointer; }
.ouou-tv-page a { color: inherit; text-decoration: none; }
.ouou-tv-page svg { display: block; width: 18px; height: 18px; flex: 0 0 auto; }
.ouou-tv-page h2 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 500; }
.ouou-tv-page :is(button, a, input, summary):focus-visible { outline: 2px solid #68cbe0; outline-offset: 4px; }
.ouou-tv-announcement { position: relative; z-index: 20; display: flex; align-items: center; justify-content: center; gap: 24px; height: var(--tv-notice); width: 100%; padding: 0 60px; background: linear-gradient(105deg, #071c29, #08666f 60%, #0a2633); color: #e6fafc; font-size: 15px; }
.ouou-tv-announcement > a { display: flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 7px; background: #edf8f8; color: #18292e; font-size: 13px; }
.ouou-tv-announcement > button { position: absolute; right: 16px; top: 14px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #fff; }
.ouou-tv-announcement > button:hover { background: #ffffff15; }
.ouou-tv-page.ouou-tv-notice-closed { --tv-notice: 0px; }
.ouou-tv-sidebar { position: fixed; z-index: 10; inset: var(--tv-notice) auto 0 0; display: flex; flex-direction: column; width: var(--tv-rail); padding: 0 12px 12px; border-right: 1px solid #292929; background: #161616; overflow-y: auto; }
.ouou-tv-brand { display: flex; align-items: center; gap: 7px; height: 64px; min-height: 64px; padding-left: 10px; font-size: 17px; font-style: italic; letter-spacing: -.6px; }
.ouou-tv-brand strong { font-size: 18px; letter-spacing: -.8px; }
.ouou-tv-brand-mark { width: 20px; height: 13px; border: 3px solid #ececec; transform: skewX(-16deg); }
.ouou-tv-sidebar nav { display: grid; gap: 2px; }
.ouou-tv-nav-entry, .ouou-tv-plugins > summary { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 32px; padding: 5px 8px; border: 0; border-radius: 6px; background: transparent; color: #c8c8c8; text-align: left; font: inherit; }
.ouou-tv-nav-entry svg, .ouou-tv-plugins > summary > svg { width: 18px; height: 18px; }
.ouou-tv-nav-entry:hover, .ouou-tv-plugins > summary:hover, .ouou-tv-nav-entry[aria-current="page"] { background: #ffffff09; color: #f7f7f7; }
.ouou-tv-plugins > summary { list-style: none; cursor: pointer; }
.ouou-tv-plugins > summary::-webkit-details-marker { display: none; }
.ouou-tv-plugins > summary > svg:last-child { width: 12px; height: 12px; margin-left: auto; transition: transform .15s; }
.ouou-tv-plugins[open] > summary > svg:last-child { transform: rotate(90deg); }
.ouou-tv-plugins > div { padding: 4px 0 4px 26px; }
.ouou-tv-nav-heading { margin: 18px 8px 8px; color: #707070; font-size: 13px; }
.ouou-tv-sidebar-bottom { margin-top: auto; padding-top: 24px; }
.ouou-tv-return { display: flex; align-items: center; justify-content: space-between; min-height: 36px; padding: 0 8px; color: #949494 !important; font-size: 13px; }
.ouou-tv-content { margin-left: var(--tv-rail); padding: 0 40px 64px; }
.ouou-tv-header { display: flex; align-items: center; justify-content: flex-end; height: 64px; }
.ouou-tv-header-actions { display: flex; align-items: center; gap: 8px; }
.ouou-tv-benefit { display: flex; align-items: center; justify-content: center; gap: 5px; height: 32px; padding: 0 10px; border: 1px solid #303030; border-radius: 8px; background: #1a1a1a; color: #c7c7c7 !important; font-size: 13px; }
.ouou-tv-benefit svg { width: 15px; height: 15px; color: #6cc8de; }
.ouou-tv-benefit:hover { background: #292929; }
.ouou-tv-header .avatar { display: flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 12px; border-radius: 7px; background: #f7f7f7; color: #171717; font-weight: 500; }
.ouou-tv-mobile-navigation, .ouou-tv-mobile-brand, .ouou-tv-navigation-close, .ouou-tv-navigation-backdrop { display: none; }
.ouou-tv-new-canvas { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 160px; border: 1px solid #444; border-radius: 12px; background: radial-gradient(circle, #595959 1px, transparent 1px) 0 0/18px 18px, linear-gradient(#1c1c1c, #363636); }
.ouou-tv-new-canvas > span { display: grid; place-items: center; width: 86px; height: 50px; border-radius: 16px; background: linear-gradient(#fff, #e2e2e2); color: #171717; box-shadow: 0 5px 30px #ffffff15; }
.ouou-tv-new-canvas svg { width: 28px; height: 28px; stroke-width: 2; }
.ouou-tv-new-canvas strong { font-size: 16px; font-weight: 500; }
.ouou-tv-new-canvas:hover { border-color: #777; filter: brightness(1.07); }
.ouou-tv-shortcuts { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.ouou-tv-shortcut { display: flex; flex-direction: column; align-items: center; gap: 9px; min-width: 0; padding: 0; border: 0; background: transparent; color: #ececec; }
.ouou-tv-shortcut-icon { display: grid; place-items: center; width: min(98px, 100%); height: 56px; border: 1px solid #ffffff02; border-radius: 16px; background: linear-gradient(110deg, #262626, #303030); }
.ouou-tv-shortcut-icon svg { width: 24px; height: 24px; }
.ouou-tv-shortcut-icon img { display: block; width: 28px; height: 28px; object-fit: contain; }
.ouou-tv-shortcut-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ouou-tv-shortcut:hover .ouou-tv-shortcut-icon { background: #3a3a3a; }
.ouou-tv-shortcut:disabled { cursor: default; color: #858585; }
.ouou-tv-shortcut:disabled .ouou-tv-shortcut-icon { opacity: .6; }
#ououTvMoreFeatures { display: none; }
.ouou-tv-features { margin-top: 42px; scroll-margin-top: 24px; }
.ouou-tv-feature-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.ouou-tv-feature { display: block; min-width: 0; padding: 0; border: 0; color: #e5e5e5; background: transparent; text-align: left; }
.ouou-tv-feature-image { position: relative; display: block; aspect-ratio: 1.765625; overflow: hidden; border: 1px solid #ffffff16; border-radius: 16px; background: #242424; }
.ouou-tv-feature-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.ouou-tv-feature:hover img { transform: scale(1.025); }
.ouou-tv-feature-go { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #1717178c; opacity: 0; transition: opacity .15s; }
.ouou-tv-feature:hover .ouou-tv-feature-go, .ouou-tv-feature:focus-visible .ouou-tv-feature-go { opacity: 1; }
.ouou-tv-feature-label { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: 10px; padding: 0 8px; font-size: 14px; }
.ouou-tv-feature-label > svg { width: 13px; height: 13px; color: #777; }
.ouou-tv-shows { margin-top: 42px; scroll-margin-top: 24px; }
.ouou-tv-show-toolbar { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.ouou-tv-categories { display: flex; flex: 1; min-width: 0; gap: 24px; overflow-x: auto; border-bottom: 1px solid #292929; scrollbar-width: none; }
.ouou-tv-categories::-webkit-scrollbar { display: none; }
.ouou-tv-categories button { position: relative; flex: 0 0 auto; min-height: 40px; padding: 0; border: 0; background: transparent; color: #909090; font-size: 13px; }
.ouou-tv-categories button[aria-selected="true"] { color: #f2f2f2; }
.ouou-tv-categories button[aria-selected="true"]::after { position: absolute; inset: auto 0 0; height: 1px; background: #eee; content: ""; }
.ouou-tv-show-search { display: flex; align-items: center; width: 280px; height: 40px; padding: 0 14px 0 16px; border: 1px solid #505050; border-radius: 24px; color: #aaa; }
.ouou-tv-show-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #ececec; font-size: 13px; }
.ouou-tv-show-search:focus-within { border-color: #999; }
.ouou-tv-show-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 20px; }
.ouou-tv-show-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 200px; padding: 32px 16px; border: 1px dashed #363636; border-radius: 14px; color: #949494; text-align: center; }
.ouou-tv-show-empty > span { margin-bottom: 14px; }
.ouou-tv-show-empty > span svg { width: 28px; height: 28px; }
.ouou-tv-show-empty strong { color: #d4d4d4; font-size: 15px; font-weight: 500; }
.ouou-tv-show-empty p { margin: 8px 0 18px; font-size: 13px; }
.ouou-tv-show-empty > a { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid #454545; border-radius: 7px; color: #e5e5e5; }
.ouou-tv-dialog { width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 24px; border: 1px solid #414141; border-radius: 16px; background: #222; color: #eee; box-shadow: 0 24px 80px #0006; }
.ouou-tv-dialog::backdrop { background: #0008; }
.ouou-tv-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ouou-tv-dialog header button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: #303030; color: #bbb; }
.ouou-tv-dialog p { color: #aaa; }
#ououTvPickerList { display: grid; gap: 8px; max-height: 340px; overflow-y: auto; }
#ououTvPickerList a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 10px 12px; border: 1px solid #383838; border-radius: 8px; background: #292929; overflow-wrap: anywhere; }
#ououTvPickerList a:hover { border-color: #666; }
#ououTvPickerCreate { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding: 10px 12px; border-radius: 8px; background: #eee; color: #161616; }
.ouou-tv-notice > button { float: right; padding: 8px 16px; border: 0; border-radius: 7px; background: #f1f1f1; color: #181818; }
html[data-ouou-tv][data-ouou-secondary-account] #accountMenuTrigger:not([data-account-state="authenticated"]) { min-width: 82px; min-height: 32px; height: 32px; border-radius: 7px; background: #f4f4f4; color: #151515; font-size: 13px; font-weight: 500; }
html[data-ouou-tv][data-ouou-secondary-account] #accountMenuTrigger[data-account-state="loading"], html[data-ouou-tv][data-ouou-secondary-account] #accountMenuTrigger[data-account-state="unavailable"] { background: #282828; color: #aaa; }
html[data-ouou-tv][data-ouou-secondary-account] #topCreditSummary { border-color: #373737; background: #232323; color: #d5d5d5; }
html[data-ouou-tv][data-ouou-secondary-account] #homeAccountMenu { color-scheme: light; color: #34383e; }
@media (max-width: 1100px) and (min-width: 768px) { .ouou-tv-content { padding-right: 24px; padding-left: 24px; } .ouou-tv-shortcuts { gap: 8px; } .ouou-tv-shortcut-name { font-size: 12px; } .ouou-tv-feature-grid { gap: 12px; } .ouou-tv-feature-label { padding: 0; font-size: 12px; } .ouou-tv-show-search { width: 210px; } }
@media (max-width: 767px) {
  .ouou-tv-page { --tv-notice: 0px; --tv-rail: 0px; }
  .ouou-tv-announcement, .ouou-tv-sidebar { display: none; }
  .ouou-tv-mobile-navigation { display: flex; align-items: center; gap: 10px; }
  .ouou-tv-navigation-toggle, .ouou-tv-navigation-close { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #303030; border-radius: 8px; background: transparent; color: #d8d8d8; }
  .ouou-tv-navigation-toggle:hover, .ouou-tv-navigation-close:hover { background: #ffffff09; }
  .ouou-tv-navigation-close { position: absolute; top: 16px; right: 12px; }
  .ouou-tv-navigation-open { overflow: hidden; }
  .ouou-tv-navigation-open .ouou-tv-sidebar { display: flex; z-index: 41; top: 0; bottom: 0; width: min(240px, calc(100vw - 48px)); overscroll-behavior: contain; }
  .ouou-tv-navigation-backdrop { position: fixed; z-index: 40; inset: 0; display: block; background: #0008; touch-action: none; }
  .ouou-tv-sidebar .ouou-tv-brand { padding-right: 36px; }
  .ouou-tv-content { margin: 0; padding: 0 20px 40px; }
  .ouou-tv-header { justify-content: space-between; }
  .ouou-tv-mobile-brand { display: block; font-size: 15px; letter-spacing: -.4px; }
  .ouou-tv-header-actions { gap: 6px; }
  .ouou-tv-credit-store { display: none; }
  .ouou-tv-benefit { padding: 0 8px; font-size: 12px; }
  .ouou-tv-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px; margin-top: 24px; }
  .ouou-tv-shortcut-icon { width: 98px; }
  .ouou-tv-shortcuts:not(.ouou-tv-more-open) > :nth-child(n+6):not(#ououTvMoreFeatures) { display: none; }
  #ououTvMoreFeatures { display: flex; }
  .ouou-tv-shortcuts.ouou-tv-more-open #ououTvMoreFeatures { order: 10; }
  .ouou-tv-features { margin-top: 28px; }
  .ouou-tv-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; margin-top: 12px; }
  .ouou-tv-feature-label { margin-top: 8px; padding: 0 2px; font-size: 12px; }
  .ouou-tv-feature-image { border-radius: 12px; }
  .ouou-tv-shows { margin-top: 28px; }
  .ouou-tv-show-toolbar { display: block; }
  .ouou-tv-categories { gap: 20px; }
  .ouou-tv-show-search { width: 100%; margin-top: 12px; }
  .ouou-tv-show-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  html[data-ouou-tv][data-ouou-secondary-account] #accountMenuTrigger:not([data-account-state="authenticated"]) { min-width: 78px; padding: 0 10px; font-size: 12px; }
  html[data-ouou-tv][data-ouou-secondary-account] #homeAccountMenu { position: fixed; top: 64px; right: 12px; width: calc(100vw - 24px); max-height: calc(100dvh - 84px); }
}
@media (prefers-reduced-motion: reduce) { html[data-ouou-tv] { scroll-behavior: auto; } .ouou-tv-page * { transition: none !important; } }
