:root {
  color-scheme: dark;
  --ink: #f3f6f9;
  --muted: #bbc7d3;
  --blue: #a5dcfc;
  --action: #a5dcfc;
  --mist: #101a23;
  --frost: #0c141d;
  --line: #344250;
  --edge: #718394;
  --white: #070c11;
  --glass-sheen: linear-gradient(155deg, #ffffff24, #ffffff05 40%, #02080e24 72%, #c5e9ff18);
  color: var(--ink);
  background: #060b10;
  font-family: Arial, "Helvetica Neue", "Segoe UI", sans-serif;
  font-synthesis: none;
}
body { margin: 0; background: #060b10; color: var(--ink); }
.skip-link { background: #bce6ff; color: #09151f; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid #bce8ff;
  outline-offset: 5px;
}
.header {
  position: absolute;
  z-index: 50;
  inset: 12px 4.75% auto;
  height: 57px;
  border: 1px solid #e0f1ff42;
  border-radius: 30px;
  background: var(--glass-sheen), #0a162354;
  box-shadow: inset 0 1px 0 #ffffff3b, inset 0 -1px 0 #a7d6f226, 0 8px 28px #0005;
  -webkit-backdrop-filter: blur(20px) saturate(155%) brightness(1.08);
  backdrop-filter: blur(20px) saturate(155%) brightness(1.08);
}
.header::before, .cover-arrow::before, .film-detail::before, .watch-now::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, #ffffffad, #ffffff14 30%, #ffffff00 55%, #cceaff91 82%, #ffffff38);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.header::after { content: ""; position: absolute; inset: 2px; border-radius: inherit; pointer-events: none; box-shadow: inset 0 2px 5px #ffffff0d, inset 0 -2px 5px #c2e5ff0d; }
.header-inner.container {
  width: 100%; max-width: none; height: 55px; min-height: 55px;
  padding: 0 22px; margin: 0; display: flex; align-items: center; gap: 38px; flex-wrap: nowrap;
}
.header .brand {
  display: inline-flex; align-items: center; flex: 0 0 148px; gap: 14px; margin: 0;
  font-size: 16px; line-height: 1; color: #f2f5f8; letter-spacing: 4.5px; font-weight: 400;
}
.header .brand span { color: inherit; letter-spacing: inherit; }
.header .brand img { width: 27px; height: 31px; object-fit: contain; }
.header .navigation { display: flex; flex: 0 1 auto; gap: 48px; padding: 0; order: 0; }
.header .navigation > a {
  position: relative; min-height: 55px; display: inline-flex; align-items: center; padding: 0;
  font-size: 14px; color: #d1dbe6; font-weight: 400; white-space: nowrap;
}
.header .navigation > a:hover { color: #fff; background: transparent; }
.header .navigation > a.is-current { color: #f4f9ff; text-shadow: 0 0 12px #9ed9ff66; }
.header .navigation > a.is-current::before { content: ""; position: absolute; inset: 10px -14px; border-radius: 22px; background: #c5e7ff17; box-shadow: inset 0 1px 0 #ffffff26; pointer-events: none; }
.header .navigation > a.is-current::after {
  content: ""; position: absolute; bottom: 10px; left: 12px; right: 12px; height: 1px;
  background: #b9e6ff; border-radius: 2px;
}
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.search-toggle { width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.search-toggle svg { width: 24px; height: 24px; fill: none; stroke: #f3f6fa; stroke-width: 1.5; }
.library-menu { position: relative; }
.library-menu summary { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0; list-style: none; cursor: pointer; }
.library-menu summary::-webkit-details-marker { display: none; }
.library-menu summary::after { display: none; }
.library-dropdown.dropdown { left: auto; padding: 8px; top: 54px; }
.library-menu summary > svg { width: 18px; height: 18px; stroke: #edf4fa; stroke-width: 1.5; fill: none; }
.library-avatar { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #d1ebff73; border-radius: 50%; background: var(--glass-sheen), #172a3b66; box-shadow: inset 0 1px 1px #ffffff4a, inset 0 -1px 2px #9bd5fa26; color: #d3edff; font-size: 17px; font-weight: 600; }
.library-dropdown { position: absolute; top: 54px; right: 0; min-width: 240px; border: 1px solid #d3e9ff45; border-radius: 20px; padding: 8px; background: var(--glass-sheen), #0c1825e6; box-shadow: inset 0 1px 0 #ffffff38, 0 12px 32px #0008; -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%); }
.library-dropdown a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #e9f1f8; padding: 8px 12px; border-radius: 4px; font-size: .9rem; }
.library-dropdown a:hover { background: #263847; }
.header .menu-toggle { display: none; }
.header .search {
  display: none; position: absolute; z-index: 60; top: 66px; right: 75px; width: min(420px, calc(100vw - 48px)); height: 50px;
  border: 1px solid #d3e9ff55; border-radius: 25px; background: var(--glass-sheen), #0c1825e6; margin: 0; padding: 0; flex: none;
  box-shadow: inset 0 1px 0 #ffffff38, 0 8px 24px #0005; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.header .search.is-open { display: flex; }
.header .search input { color: #f4f7fa; height: 48px; padding: 0 16px; min-width: 0; background: transparent; border: 0; font-size: 16px; }
.header .search input::placeholder { color: #bdcbd8; }
.header .search button { height: 48px; min-height: 48px; min-width: 48px; color: #b5e4ff; background: transparent; }
.suggestions { top: 56px; left: 0; right: 0; min-width: 0; width: 100%; background: #111d28; border-color: #6a8092; color: #eaf1f7; }
.suggestions a, .suggestions .no-suggestion { color: #eaf1f7; }
.suggestions a:hover, .suggestions a:focus { background: #263847; color: #fff; }
.suggestions small { color: #bfccda; }
body:not(.is-home) #main { padding-top: 95px; }
.primary { background: #a5dcfc; color: #08141f; }
.primary:hover { color: #07131e; background: #c6ebff; }
.secondary { border-color: #718394; color: #e1ebf3; }
.secondary:hover { background: #243442; color: #fff; }
.tabs a, .tabs button, .rating-buttons button, .moods button { background: #0c151f; color: #c4d2df; }
.tabs a.active { color: #fff; }
.tabs button { color: #b5e4ff; }
.poster { background: #18232d; border-radius: 7px; }
.bookmark { background: #172634; color: #e2edf6; border: 1px solid #718394; }
.bookmark[aria-pressed=true] { color: #b1e1ff; }
.state, dialog { background: #111c27; color: #f0f5fa; border-color: #556b7e; }
dialog::backdrop { background: #000b; }
.filter-fields select { background: #0b141e; color: #eaf1f7; border-color: #718394; }
.icon-button { color: #eaf1f7; }
.footer { background: #0b131c; color: #bac8d5; }
.toast { background: #d7edfb; color: #0b1822; }
.toast .secondary { color: #0b1822; border-color: #526d81; }
.availability.available { color: #aedbfa; }
.player-toolbar select { background: #13212d; color: #e5eff7; border-color: #718394; }
.player-error { background: #1a2938; color: #f0f6fc; }
.rating-buttons button[aria-pressed=true], .moods button[aria-pressed=true] { color: #081b28; background: #a5dcfc; }
.about .primary { color: #091722; }
.is-home .footer { display: none; }
.orbit-home { position: relative; isolation: isolate; padding-bottom: 18px; }
.orbit-hero {
  --poster-width: clamp(238px, 21.69vw, 350px);
  --poster-height: calc(var(--poster-width) * 1.372);
  position: relative; padding-top: 88px; overflow: clip;
}
.orbit-atmosphere, .film-atmosphere, .orbit-scrim { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.orbit-atmosphere { background: url('assets/orbit-atmosphere.webp') center top / 100% auto no-repeat; }
.film-atmosphere { overflow: hidden; }
.film-atmosphere-image { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: center 38%; opacity: 0; mix-blend-mode: screen; transition: opacity 650ms ease; }
.film-atmosphere-image.is-visible { opacity: .075; }
.orbit-scrim { background: linear-gradient(to bottom, #03080c00 0%, #03080c05 50%, #03080c55 72%, #060b10 100%); }
.hot-label { display: flex; align-items: center; justify-content: center; gap: 20px; height: 18px; }
.hot-label p { margin: 0; font-size: 12px; font-weight: 400; letter-spacing: 4px; line-height: 18px; color: #e4edf6; }
.hot-label > span { width: 65px; height: 1px; background: linear-gradient(90deg, #c7d8e000, #c7d8e099); }
.hot-label > span:last-child { transform: rotate(180deg); }
.coverflow { position: relative; margin-top: 16px; }
/* Recessed posters must receive pointer hits through the stage's front plane. */
.coverflow-stage { height: var(--poster-height); position: relative; perspective: calc(var(--poster-width) * 3.5); perspective-origin: 50% 50%; touch-action: pan-y; user-select: none; cursor: grab; transform-style: preserve-3d; pointer-events: none; }
.is-dragging .coverflow-stage { cursor: grabbing; }
.cover-poster {
  position: absolute; top: 0; left: 50%; width: var(--poster-width); height: var(--poster-height);
  padding: 0; border: 0; border-radius: 5px; background: #101822; transform-origin: 50% 50%; transform-style: flat;
  cursor: inherit; box-shadow: 0 16px 30px #0008; outline-offset: 5px; pointer-events: auto;
}
.cover-art { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; pointer-events: none; }
.cover-poster:active { filter: none; }
.cover-placeholder { height: 100%; display: grid; place-content: center; padding: 20px; color: #d7e6f2; line-height: 1.6; font-size: 14px; }
.cover-placeholder[hidden], .cover-art[hidden] { display: none; }
.artwork-error .cover-reflection { display: none; }
.cover-shade { position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: var(--shade, 0); pointer-events: none; }
.cover-edge { position: absolute; inset: 0; border-radius: inherit; border: 1px solid #c3dbef85; pointer-events: none; }
.cover-edge::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 15px #9bdcff80, inset 0 0 0 1px #b1e2ff; opacity: var(--selection, 0); }
.cover-poster[aria-pressed=true] .cover-edge { border-color: #beeaff; }
.cover-reflection { position: absolute; display: block; top: calc(100% + 7px); left: 0; width: 100%; height: 42%; overflow: hidden; pointer-events: none; opacity: .23; -webkit-mask-image: linear-gradient(#0008, transparent 85%); mask-image: linear-gradient(#0008, transparent 85%); }
.cover-reflection img { display: block; width: 100%; height: var(--poster-height); object-fit: cover; transform: scaleY(-1); transform-origin: center; filter: blur(2px); }
.cover-arrow {
  position: absolute; z-index: 30; top: 56%; transform: translateY(-50%); width: 48px; height: 48px;
  display: grid; place-items: center; padding: 0; border: 1px solid #e1f1ff70; border-radius: 50%; color: #f6fbff;
  background: var(--glass-sheen), #09131b94; box-shadow: inset 0 1px 1px #ffffff4a, inset 0 -2px 4px #b3dcff26, 0 5px 16px #0005;
  -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%); cursor: pointer;
}
.cover-arrow:hover { background: var(--glass-sheen), #274052b3; border-color: #e2f4ff; }
.cover-arrow svg { width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.7; fill: none; }
.cover-previous { left: 24px; }
.cover-next { right: 24px; }
.active-film { position: relative; z-index: 4; display: grid; text-align: center; width: calc(100% - 48px); max-width: 1080px; margin: 10px auto 0; }
.film-information { grid-area: 1 / 1; opacity: 0; pointer-events: none; transition: opacity 280ms ease; }
.film-information.is-visible { opacity: 1; pointer-events: auto; }
.active-film-title { margin: 0; color: #f5f7fa; font-size: clamp(1.5rem, 2.27vw, 2.25rem); font-weight: 400; letter-spacing: .18em; text-transform: uppercase; line-height: 1.2; min-height: 43px; overflow-wrap: anywhere; }
.active-film-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin: 3px 0 0; color: #d2dce6; font-size: 14px; line-height: 20px; }
.active-film-meta span + span::before { content: "·"; padding: 0 12px; color: #b8c8d6; }
.active-film-summary { width: min(680px,100%); margin: 4px auto 0; color: #cbd5df; font-size: 14px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.active-film-actions { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.active-film-actions a { position: relative; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 24px; padding: 0 24px; font-size: 14px; line-height: 20px; }
.watch-now { min-width: 200px; gap: 12px; color: #07141e; font-weight: 600; background: linear-gradient(165deg, #daf3ff, #9bd8f7e6 48%, #8dc6e6ed 80%, #b7e5ffe6); border: 1px solid #d8f3ffb3; box-shadow: inset 0 2px 2px #ffffff7a, inset 0 -2px 3px #3d86ad40, 0 5px 18px #76c7ff26; -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%); }
.watch-now:hover { color: #06121b; background: linear-gradient(165deg, #ecfaff, #b1e4ff 55%, #9bd5f5); }
.watch-now svg { width: 17px; height: 17px; fill: currentColor; }
.film-detail { min-width: 123px; color: #f0f7fc; background: var(--glass-sheen), #1423318c; border: 1px solid #e0f1ff66; box-shadow: inset 0 1px 1px #ffffff40, inset 0 -2px 3px #a1cbe81f, 0 5px 16px #0004; -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); }
.film-detail:hover { color: #fff; background: var(--glass-sheen), #31495db3; }
.carousel-indicators { display: flex; align-items: center; justify-content: center; gap: 12px; height: 28px; margin-top: 12px; }
.carousel-indicators span { width: 10px; height: 5px; border-radius: 4px; background: #667787; transition: width 280ms ease, background 280ms ease; }
.carousel-indicators .is-active { width: 26px; background: #a6defe; }
.night-section { width: calc(100% - 100px); max-width: 1680px; margin: 4px auto 0; position: relative; }
.night-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.night-heading h2 { margin: 0; font-size: 20px; font-weight: 600; line-height: 26px; letter-spacing: 0; }
.night-heading > a { position: relative; display: flex; align-items: center; min-height: 26px; gap: 8px; font-size: 13px; color: #b3d1e8; white-space: nowrap; }
.night-heading > a::before { content: ""; position: absolute; inset: -9px 0; }
.night-heading > a svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.night-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin-top: 7px; }
.night-film { position: relative; aspect-ratio: 2.1; overflow: hidden; border-radius: 5px; background: #16232f; }
.night-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 5%, #02070ac9 58%, #02070af0); pointer-events: none; }
.night-film img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 220ms ease; }
.night-film:hover img { transform: scale(1.04); }
.night-film > span { position: absolute; z-index: 1; bottom: 14px; left: 14px; right: 14px; text-align: center; font-family: Georgia, serif; text-transform: uppercase; letter-spacing: 2px; font-size: clamp(.7rem, .9vw, 1rem); line-height: 1.3; color: #fff; text-shadow: 0 1px 8px #000; }
@media (max-width: 1100px) {
  .header-inner.container { gap: 18px; padding-inline: 18px; }
  .header .brand { flex-basis: 130px; font-size: 14px; letter-spacing: 3.8px; }
  .header .navigation { gap: 27px; }
  .header-tools { gap: 12px; }
  .orbit-atmosphere { background-size: auto 100%; }
  .night-section { width: calc(100% - 48px); }
}
@media (max-width: 899px) {
  .header { left: 16px; right: 16px; }
  .header-inner.container { gap: 12px; }
  .header .brand { flex-basis: auto; margin-right: auto; }
  .header .menu-toggle { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; border: 0; background: transparent; padding: 0 5px; font-size: 13px; }
  .menu-toggle svg { width: 21px; height: 21px; fill: none; stroke: #e5eef6; stroke-width: 1.6; }
  .header .navigation { display: none; position: absolute; top: 66px; left: 0; right: 0; gap: 4px; border: 1px solid #d3e9ff45; border-radius: 22px; padding: 8px; background: var(--glass-sheen), #0c1825e6; box-shadow: inset 0 1px 0 #ffffff38, 0 8px 24px #0005; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
  .header .navigation.open { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
  .header .navigation > a { justify-content: center; min-height: 44px; font-size: 13px; }
  .header .navigation > a.is-current::after { bottom: 1px; left: 15px; right: 15px; }
  .header .navigation > a.is-current::before { inset: 2px; }
  .orbit-hero { --poster-width: clamp(238px, 31vw, 280px); padding-top: 95px; }
  .active-film-title { letter-spacing: .11em; min-height: 35px; }
  .active-film-summary { max-width: 570px; }
  .night-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .night-section { margin-top: 12px; }
}
@media (max-width: 560px) {
  .header { left: 12px; right: 12px; top: 12px; height: 57px; }
  .header-inner.container { padding: 0 12px; gap: 6px; }
  .header .brand { gap: 8px; font-size: 13px; letter-spacing: 2.8px; }
  .header .brand img { width: 23px; height: 27px; }
  .header-tools { gap: 0; }
  .library-menu summary { gap: 5px; }
  .library-avatar { width: 33px; height: 33px; font-size: 14px; }
  .library-menu summary > svg { width: 13px; height: 13px; }
  .header .search { right: 0; left: 0; width: 100%; }
  .header .navigation.open { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .orbit-hero { --poster-width: clamp(204px, 62vw, 280px); padding-top: 94px; }
  .orbit-atmosphere { background-size: auto 690px; background-position: center top; }
  .hot-label { gap: 13px; }
  .hot-label p { font-size: 10px; letter-spacing: 3px; }
  .hot-label > span { width: 35px; }
  .coverflow { margin-top: 22px; }
  .cover-arrow { width: 44px; height: 44px; top: 55%; }
  .cover-previous { left: 12px; }
  .cover-next { right: 12px; }
  .active-film { width: calc(100% - 32px); margin-top: 21px; }
  .active-film-title { font-size: clamp(1.35rem, 5.9vw, 1.8rem); letter-spacing: .11em; min-height: 30px; line-height: 1.3; }
  .active-film-meta { font-size: 12px; margin-top: 5px; line-height: 19px; }
  .active-film-meta span + span::before { padding-inline: 8px; }
  .active-film-summary { font-size: 12px; line-height: 19px; margin-top: 8px; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 38px; }
  .active-film-actions { gap: 10px; margin-top: 15px; }
  .active-film-actions a { min-height: 46px; padding-inline: 18px; font-size: 13px; }
  .watch-now { min-width: 185px; gap: 8px; }
  .film-detail { min-width: 100px; }
  .carousel-indicators { margin-top: 14px; }
  .night-section { width: calc(100% - 32px); margin-top: 18px; }
  .night-heading { gap: 10px; }
  .night-heading h2 { font-size: 17px; line-height: 23px; }
  .night-heading > a { font-size: 11px; min-height: 44px; gap: 4px; }
  .night-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 8px; }
  .night-film { aspect-ratio: 1.65; }
  .night-film > span { font-size: 11px; bottom: 10px; left: 8px; right: 8px; letter-spacing: 1.2px; }
  .cover-reflection { opacity: .17; }
}
@media (prefers-reduced-motion: reduce) {
  .film-information, .film-atmosphere-image, .carousel-indicators span, .night-film img { transition: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header, .cover-arrow, .film-detail, .library-dropdown, .header .search, .header .navigation.open { background: #142331; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .header, .cover-arrow, .film-detail, .library-dropdown, .header .search, .header .navigation.open { background: #142331; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .watch-now { background: #a5dcfc; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header::before, .header::after, .cover-arrow::before, .film-detail::before, .watch-now::before { display: none; }
}
@media (forced-colors: active) {
  .header, .cover-arrow, .film-detail, .watch-now, .library-dropdown, .header .search, .header .navigation.open { background: Canvas; color: CanvasText; border-color: ButtonText; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header::before, .header::after, .cover-arrow::before, .film-detail::before, .watch-now::before { display: none; }
}
