@font-face {
  font-family: "Geist Sans";
  src: url("/fonts/geist-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --text-color: #f5f5f7;
  color-scheme: dark;
  font-family:
    "Geist Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #0a0a0a;
  color: var(--text-color);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible {
  outline: 2px solid #aaa;
  outline-offset: 6px;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
input:focus-visible {
  outline: 2px solid #8fd9ff;
  outline-offset: 3px;
}
canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
}
[hidden] {
  display: none !important;
}

.glass-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.glass {
  position: relative;
  isolation: isolate;
  border: 1px solid transparent;
  background: none;
  box-shadow:
    0 6px 16px #0003,
    0 1px 3px #0002;
}
.glass::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  clip-path: border-box;
  background: var(--glass-tint, #ffffff1a);
  /* Rim light follows the vertical edge normal, like macOS Liquid Glass: bright top and bottom, faint sides. */
  box-shadow:
    inset 0 1px 0 #ffffff59,
    inset 0 -1px 0 #ffffff59,
    inset 0 4px 6px -3px #ffffff1f,
    inset 0 -4px 6px -3px #ffffff1f;
  /* glass.js sets --glass-filter only in Chromium. Other browsers drop the whole backdrop-filter for SVG URLs. */
  -webkit-backdrop-filter: blur(var(--glass-blur, 3px)) saturate(150%);
  backdrop-filter: var(--glass-filter,) blur(var(--glass-blur, 3px))
    saturate(150%);
  transition: background-color 0.15s;
}

header {
  max-width: 1200px;
  height: 120px;
  padding: 0 48px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  position: relative;
  display: grid;
  place-items: center;
  margin-left: -10px;
  border-radius: 14px;
}
.logo img {
  display: block;
  width: 40px;
  height: auto;
}
.logo.ready img {
  opacity: 0;
}
.logo canvas {
  position: absolute;
  inset: 0;
  mask: url("/images/about-logo.svg") center / contain no-repeat;
  pointer-events: none;
}
.logo.ready canvas {
  opacity: 1;
}
.github {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border-radius: 50%;
  color: #b6b6bc;
  transition: color 0.15s;
}
.github:hover {
  color: white;
}
.github svg {
  width: 23px;
  height: 23px;
}

main {
  max-width: 1200px;
  margin-top: 90px;
  margin-inline: auto;
  padding: 0 48px 120px;
}
h1,
h2 {
  margin: 0;
  font-size: clamp(36px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(34px, 3.2vw, 46px);
  font-weight: 600;
  color: #a0a0a0;
}
.hero h2 a:hover {
  color: var(--text-color);
}
.vlc-icon {
  width: 0.85em;
  height: 0.85em;
  vertical-align: -0.08em;
}
.download {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  margin-top: 32px;
  padding: 13px 22px;
  min-height: 48px;
  border: 1px solid #ffffff29;
  border-radius: 28px;
  background: #f0f0f0;
  color: #161617;
  box-shadow:
    inset 0 1px 0 #ffffff16,
    0 4px 18px #0004;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition:
    background 0.15s,
    transform 0.15s;
}
.download:hover {
  background: white;
}
.download:active {
  transform: scale(0.97);
}
.download-content {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
  white-space: nowrap;
}
.download-content > * {
  flex: none;
}
.download-content > span {
  position: relative;
  top: 1px;
}
.download > canvas[data-dw-skip] {
  opacity: 1;
}
.download svg {
  width: 18px;
  height: 18px;
}
.download-size {
  color: #999999;
}
.requires {
  margin: 16px 0 0;
  color: #8e8e93;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.player-stage {
  --player-width: min(1200px, calc(100vw - 96px), calc(80svh * 16 / 9));
  display: grid;
  justify-items: center;
  align-items: start;
  width: 100vw;
  height: calc(var(--player-width) * 9 / 16);
  margin-inline: calc(50% - 50vw);
  margin-top: 120px;
  overflow-anchor: none;
}
.player {
  position: relative;
  width: min(1104px, calc(100vw - 96px), calc(var(--player-width) * 0.94));
  aspect-ratio: 16 / 9;
  overflow: clip;
  border: 1px solid #ffffff24;
  border-radius: 15px;
  background: #000;
  box-shadow:
    0 28px 80px #0009,
    0 8px 24px #0006,
    inset 0 1px 0 #ffffff0c;
  container-type: inline-size;
  anchor-name: --player;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.player-stage.expanded .player {
  width: var(--player-width);
}
.player-stage .player:fullscreen {
  width: 100vw;
  height: 100dvh;
  border: 0;
  border-radius: 0;
  transition: none;
}
.player.controls-hidden {
  cursor: none;
}
.fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.player.ready canvas {
  position: relative;
  opacity: 1;
}
.player:not([data-view="prism"]) .fallback,
.player:not([data-view="prism"]) canvas {
  visibility: hidden;
}

.trailer,
.playback,
.playback-surface {
  position: absolute;
  inset: 0;
}
.trailer {
  background: #000;
}
.trailer iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.window-ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: top left;
}

.playback {
  z-index: 1;
}
.playback::before,
.playback::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}
.playback::before {
  top: 0;
  height: 105px;
  background: linear-gradient(#000a, #0000);
}
.playback::after {
  bottom: 0;
  height: 130px;
  background: linear-gradient(#0000, #000b);
}
.playback::before,
.playback::after,
.transport,
.player[data-view="trailer"] .traffic,
.player[data-view="trailer"] .window-title,
.trailer-close {
  transition: opacity 0.2s ease-out;
}
.controls-hidden .playback::before,
.controls-hidden .playback::after,
.controls-hidden .transport,
.controls-hidden .traffic,
.controls-hidden .window-title,
.controls-hidden .trailer-close {
  opacity: 0;
  pointer-events: none;
}
.playback-surface {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: default;
}
.controls-hidden .playback-surface {
  cursor: none;
}
.playback-surface svg {
  width: 64px;
  height: 64px;
  opacity: 0;
  filter: drop-shadow(0 2px 12px #0005);
}
.playback.paused .playback-surface svg {
  opacity: 0.9;
}
.playback-status {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 12px 20px;
  font-size: 14px;
  text-align: center;
  pointer-events: none;
}
.trailer-external {
  display: block;
  margin-top: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  pointer-events: auto;
}

.transport {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 1100px);
  padding: 20px 28px 22px;
  color: #ffffffe6;
  font:
    500 11px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-variant-numeric: tabular-nums;
}
.transport button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
}
.transport button:hover {
  color: white;
}
.transport button:disabled {
  opacity: 0.35;
  cursor: default;
}
.transport svg,
.trailer-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.volume-control,
.captions-control {
  position: relative;
}
.muted .volume-waves,
.volume-slash {
  display: none;
}
.muted .volume-slash {
  display: block;
}
.playback-panel {
  --glass-tint: #151719b3;
  --glass-blur: 16px;
  position: absolute;
  bottom: 54px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 12px;
  border-radius: 18px;
}
.volume-panel {
  --glass-tint: #55505a66;
  --glass-blur: 20px;
  bottom: 42px;
  width: 56px;
  border: 0;
  color: white;
  box-shadow: none;
}
.volume-panel::after {
  inset: 0 0 -12px;
  border-radius: 0;
  clip-path: url(#volume-clip);
  box-shadow: none;
}
.volume-panel .volume-outline {
  position: absolute;
  inset: 0;
  width: 56px;
  height: 248px;
  pointer-events: none;
  filter: drop-shadow(0 3px 8px #0006);
}
.volume-panel output {
  font:
    400 10px/12px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.volume-panel input {
  --volume: 100%;
  writing-mode: vertical-lr;
  direction: rtl;
  appearance: none;
  width: 32px;
  height: 132px;
  margin: 0;
  border: 0;
  border-radius: 16px;
  background: none;
  cursor: default;
}
.volume-panel input::-webkit-slider-runnable-track {
  width: 6px;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(
    to top,
    #fff var(--volume),
    #ffffff26 var(--volume)
  );
}
.volume-panel input::-moz-range-track {
  width: 6px;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(
    to top,
    #fff var(--volume),
    #ffffff26 var(--volume)
  );
}
.volume-panel input::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 20px;
  margin-left: -5px;
  border-radius: 10px;
  background: #e5e5e5;
  box-shadow: 0 1px 3px #0002;
}
.volume-panel input::-moz-range-thumb {
  width: 16px;
  height: 20px;
  border: 0;
  border-radius: 10px;
  background: #e5e5e5;
  box-shadow: 0 1px 3px #0002;
}
.volume-panel .mute-button {
  width: 32px;
}
.volume-panel .mute-button:active {
  opacity: 0.6;
}
.volume-panel .mute-button svg {
  width: 16px;
  height: 16px;
}
.captions-panel {
  left: 0;
  transform: none;
  width: 160px;
}
.captions-panel select {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 6px;
  font: inherit;
}
.elapsed {
  min-width: 38px;
  text-align: right;
}
.timeline {
  --progress: 0%;
  flex: 1;
  min-width: 0;
  height: 16px;
  margin: 0;
  appearance: none;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(
      to right,
      #fff var(--progress),
      #ffffff26 var(--progress)
    )
    center / 100% 6px no-repeat;
  cursor: pointer;
}
.timeline::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 16px;
  border-radius: 12px;
  background: #ddd;
  box-shadow: 0 1px 6px #0004;
}
.timeline::-moz-range-thumb {
  width: 20px;
  height: 16px;
  border: 0;
  border-radius: 12px;
  background: #ddd;
}
.duration {
  min-width: 44px;
}

.gallery,
.library {
  position: absolute;
  inset: 0;
}
.gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(#00000026, #000c);
  pointer-events: none;
}
.gallery .backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
}
.gallery-track {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: var(--gallery-top) 40px 96px 80px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 80px;
  cursor: grab;
}
.gallery-track.dragging {
  cursor: grabbing;
  user-select: none;
}
.gallery-track:focus-visible {
  outline: 2px solid #8fd9ff;
  outline-offset: -3px;
}
.gallery-track::-webkit-scrollbar,
.description-scroll::-webkit-scrollbar,
.library::-webkit-scrollbar,
#about::-webkit-scrollbar {
  display: none;
}
.gallery-track a {
  cursor: pointer;
}
.details {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  gap: 40px;
  height: var(--card-height);
}
.details .poster {
  flex-shrink: 0;
  width: var(--poster-width);
  height: var(--card-height);
  margin-right: var(--poster-gap);
  object-fit: cover;
  border: 1px solid #ffffff2e;
  border-radius: 16px;
  box-shadow: 0 4px 8px #0003;
  transform: scale(1.15);
}
.description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: var(--info-width);
  height: 100%;
  padding-top: 4px;
}
.description-scroll {
  min-height: 0;
  padding-bottom: 16px;
  overflow: auto;
  scrollbar-width: none;
  mask-image: linear-gradient(#000 calc(100% - 16px), #0000);
}
.details h2 {
  color: white;
  font-size: var(--heading-size);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.metadata {
  margin: 10px 0 16px;
  color: #ffffff80;
  font-size: 13px;
}
.overview {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffffd9;
}
.credits {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 16px;
  margin: 0;
  font-size: 12px;
  line-height: 1.25;
  color: #ffffffd9;
}
.credits dt,
.credits .remaining {
  color: #ffffff73;
}
.credits dd {
  display: flex;
  gap: 6px;
  margin: 0;
  min-width: 0;
}
.credits .names {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.credits .remaining {
  flex-shrink: 0;
}
.media-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
}
.media-action {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}
.media-action:hover {
  --glass-tint: #ffffff26;
}
.media-action:active {
  --glass-tint: #ffffff40;
}
.media-action svg {
  width: 16px;
  height: 16px;
}
.tmdb-link img {
  width: 22px;
  height: 16px;
  object-fit: contain;
}
.tmdb-link span {
  color: #ffffffb3;
  margin-left: 2px;
}
.media-card {
  flex: 0 0 var(--card-width);
  min-width: 0;
  border-radius: 24px;
}
.media-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid #ffffff2e;
  border-radius: 24px;
  background: #171719;
}
.media-card:hover img {
  filter: brightness(1.08);
}
.media-card strong {
  display: block;
  margin: 14px 4px 0;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
}

.library {
  background: #0b0b0c;
  padding: 52px 40px 64px;
  overflow: auto;
  scrollbar-width: none;
}
.library-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(420px, 80%);
  padding: 10px 14px;
  border-radius: 28px;
}
.search svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #aaa;
  stroke-width: 1.5;
}
.search input {
  background: none;
  border: 0;
  color: white;
  width: 100%;
  min-width: 0;
  font-size: 13px;
}
.search input:focus-visible {
  outline: none;
}
.count {
  color: #888;
  font-size: 12px;
}
.posters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px 20px;
}
.library-card {
  padding: 0;
  border: 0;
  text-align: left;
  background: none;
  min-width: 0;
  border-radius: 10px;
}
.library-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  border: 1px solid #ffffff20;
  object-fit: cover;
  transition: filter 0.15s;
}
.library-card:hover img {
  filter: brightness(1.12);
}
.library-card strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-top: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.library-card span {
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 3px;
}
.no-results {
  text-align: center;
  color: #888;
  margin: 60px 0;
  font-size: 14px;
}

.chrome {
  font-size: 15px;
  -webkit-user-select: none;
  user-select: none;
}
.traffic {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 9px;
}
.traffic i {
  width: 14px;
  height: 14px;
  border: 1px solid #ffffff21;
  border-radius: 50%;
  background: #ffffff80;
  box-shadow:
    inset 0 0.5px 0.5px #fff5,
    0 0.5px 1px #0005;
  backdrop-filter: blur(12px);
}
.window-title {
  position: absolute;
  top: 0;
  left: 126px;
  right: 126px;
  height: 32px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #fffc;
  text-shadow: 0 1px 5px #000;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player[data-view="trailer"] .window-title {
  z-index: 2;
}
.trailer-close {
  --glass-tint: transparent;
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
}
.trailer-close svg {
  width: 14px;
  height: 14px;
}
.info {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50%;
  color: #ddd;
  font:
    bold 14px Georgia,
    serif;
}
.info:hover {
  --glass-tint: #ffffff26;
  color: white;
}
.player[data-view="trailer"] .info,
.player[data-view="trailer"] .dock {
  display: none;
}
.dock {
  position: absolute;
  z-index: 3;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 8px;
  border-radius: 28px;
  color: #e0e0e5;
}
.dock button,
.dock a {
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  padding: 0;
  width: 32px;
  height: 36px;
  border-radius: 50%;
}
.dock button:hover,
.dock a:hover {
  color: white;
}
.dock button:disabled {
  opacity: 0.3;
  cursor: default;
}
.dock .page-dot {
  width: 24px;
  outline: none;
}
.dock i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff5c;
  transition: background 0.15s;
}
.dock .selected i {
  background: #fff;
}
.library-toggle[aria-pressed="true"] {
  color: white;
}
.dock svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
.dock .divider {
  width: 1px;
  height: 20px;
  background: #ffffff26;
  margin: 0 5px;
}

.poster-tooltip {
  position: absolute;
  z-index: 4;
  bottom: 58px;
  transform: translateX(-50%);
  width: 108px;
  height: 164px;
  pointer-events: none;
}
.poster-tooltip::before {
  content: "";
  position: absolute;
  inset: 0 0 8px;
  border-radius: 10px;
  backdrop-filter: blur(24px) saturate(150%);
}
.poster-tooltip svg {
  position: absolute;
  inset: 0;
  width: 108px;
  height: 164px;
}
.poster-tooltip .poster-shadow {
  z-index: -1;
  overflow: visible;
  transform: translateY(4px);
}
.poster-glass {
  position: absolute;
  inset: 0;
  padding: 6px 6px 14px;
  clip-path: url(#poster-clip);
  background: linear-gradient(145deg, #62626280, #303030b3);
}
.poster-tooltip img {
  display: block;
  width: 96px;
  height: 144px;
  object-fit: cover;
  border-radius: 6px;
}

#about {
  --about-scale: 0.92;
  --glass-tint: #12151a4d;
  --glass-blur: 4px;
  position: fixed;
  width: min(300px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: hidden auto;
  scrollbar-width: none;
  padding: 26px;
  border-color: #ffffff2e;
  border-radius: 22px;
  color: #eee;
  box-shadow: 0 20px 80px #0008;
  text-align: center;
  /* Fading the popover blocks its glass layers from sampling the page. */
  scale: var(--about-scale);
  transition:
    scale 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    display 0.3s allow-discrete,
    overlay 0.3s allow-discrete;
}
#about::after {
  inset: 0;
}
#about:popover-open {
  scale: 1;
}
#about::backdrop {
  background: #0004;
  opacity: 0;
  transition:
    opacity 0.2s ease-out,
    display 0.3s allow-discrete,
    overlay 0.3s allow-discrete;
}
#about:popover-open::backdrop {
  opacity: 1;
}
#about > img {
  display: block;
  margin: 0 auto 10px;
}
#about p {
  font-size: 12px;
  line-height: 1.5;
  color: #ffffffe6;
  text-shadow: 0 1px 3px #0008;
  text-wrap: balance;
}
#about p a {
  color: #eee;
  text-decoration: underline;
  text-decoration-color: #ffffff59;
  text-underline-offset: 2px;
}
#about p a:hover {
  text-decoration-color: currentColor;
}
#about > a {
  display: inline-block;
  margin-top: 8px;
}
@starting-style {
  #about:popover-open {
    scale: var(--about-scale);
  }
  #about:popover-open::backdrop {
    opacity: 0;
  }
}
/* Without anchor positioning the popover stays centered in the viewport. */
@supports (anchor-name: --player) {
  #about {
    position-anchor: --player;
    inset: anchor(center) auto auto anchor(center);
    margin: 0;
    translate: -50% -50%;
  }
}

.features {
  display: grid;
  gap: 1px;
  width: 90%;
  margin-inline: auto;
  margin-top: clamp(48px, 8vw, 96px);
  padding-block: clamp(24px, 4vw, 48px);
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #d4d4d6;
}
.features h2 {
  grid-column: 1 / -1;
  padding: 0 16px 30px;
  font-size: 24px;
  font-weight: 500;
  color: #d4d4d6;
}
.features > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  min-height: 104px;
  padding: 16px;
  outline: 1px solid #626264;
  background: linear-gradient(140deg, #ffffff06, #ffffff02);
}
.features svg,
.features img {
  flex: none;
  width: 20px;
  height: 20px;
}
.features svg {
  color: var(--text-color);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.features img {
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.feature-value {
  font-size: 18px;
  font-weight: 600;
  line-height: 20px;
  color: var(--text-color);
}
.features p {
  grid-column: 1 / -1;
  align-self: center;
  margin: 0;
  padding: 16px;
  line-height: 1.5;
  color: #888;
  text-wrap: pretty;
}
@media (min-width: 1000px) {
  .features {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .features > div:nth-of-type(7) {
    grid-column-start: 2;
  }
  .features > div:nth-of-type(11) {
    grid-column-start: 1;
  }
  .features p {
    grid-column: 3 / -1;
  }
}
@media (max-width: 999px) {
  .features {
    width: 100%;
  }
  .features > div {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding-block: 12px;
    outline: none;
    border-bottom: 1px solid #222;
  }
  .features > div:first-of-type {
    border-top: 1px solid #222;
  }
  .features p br {
    display: none;
  }
}

footer {
  display: flex;
  align-items: center;
  justify-content: start;
  max-width: 1200px;
  margin-inline: auto;
  gap: 4px;
  padding: 0 48px 64px;
  color: #888888;
}
footer svg {
  flex-shrink: 0;
}
footer p {
  margin: 0 0 0 auto;
  padding-left: 20px;
  font-size: 14px;
  text-align: right;
  line-height: 1;
}
footer p a {
  border-bottom: 1px dashed currentColor;
}
footer p a:hover {
  color: #eee;
}

@media (max-width: 600px) {
  header {
    height: 80px;
    padding: 0 20px;
  }
  .logo {
    margin-left: -9px;
  }
  .logo img {
    width: 36px;
  }
  main {
    margin-top: 32px;
    padding: 0 20px 56px;
  }
  .hero h1,
  .hero h2 {
    font-size: clamp(32px, 8.5vw, 40px);
  }
  .hero h2 {
    max-width: 16ch;
    text-wrap: balance;
  }
  .download {
    margin-top: 28px;
  }
  .requires {
    max-width: 34ch;
    font-size: 14px;
    line-height: 1.6;
    text-wrap: pretty;
  }
  .player-stage {
    --player-width: min(calc(100vw - 32px), calc(80svh * 16 / 9));
    margin-top: 48px;
  }
  .player {
    width: var(--player-width);
    border-radius: 10px;
    transition: none;
  }
  .player > canvas {
    display: none;
  }
  .features p {
    font-size: 14px;
  }
  .features h2 {
    padding: 0 16px 24px;
  }
  footer {
    flex-wrap: wrap;
    gap: 16px 4px;
    padding: 0 20px 32px;
  }
  footer p {
    flex-basis: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    text-align: left;
  }
  footer p > span {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glass::after,
  .github,
  .download,
  .player,
  .playback::before,
  .playback::after,
  .transport,
  .media-action,
  .library-card img,
  .player[data-view="trailer"] .traffic,
  .player[data-view="trailer"] .window-title,
  .trailer-close,
  .dock i,
  #about {
    transition: none;
  }
  .download:active {
    transform: none;
  }
  #about::backdrop {
    transition-duration: 0.12s;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .glass::after,
  .poster-glass {
    background: #242426;
  }
  .glass::after,
  .traffic i,
  .poster-tooltip::before {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  .github,
  .requires {
    color: #eee;
  }
  .download {
    border-color: #aaa;
  }
  .glass::after {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #202022;
    box-shadow: inset 0 0 0 1px #aaa;
  }
  .volume-outline use:last-child {
    stroke: #aaa;
    stroke-width: 1;
  }
}
