@font-face{font-family:EVInter;src:url("/assets/ev-downloads-inter-medium.ttf") format("truetype");font-weight:400 500;font-display:swap}
@font-face{font-family:EVInter;src:url("/assets/ev-downloads-inter-semibold.ttf") format("truetype");font-weight:600 800;font-display:swap}
@font-face{font-family:EVDlSora;src:url("/assets/ev-downloads-sora.woff2") format("woff2");font-weight:100 900;font-display:swap}
/* Downloads: the same quiet black-and-white surface as the mobile home. */
html.ev-downloads-page,
html.ev-downloads-page body { min-height: 100%; margin: 0; background: #0a0a0c; }
.ev-dl-root [hidden],
.ev-dl-picker [hidden],
.ev-dl-player [hidden] { display: none !important; }
.ev-dl-root,
.ev-dl-picker,
.ev-dl-player {
  --ev-dl-bg: #0a0a0c;
  --ev-dl-surface: #141416;
  --ev-dl-text: #f7f7f9;
  --ev-dl-muted: #96969f;
  --ev-dl-line: #ffffff0e;
  color: var(--ev-dl-text);
  background: var(--ev-dl-bg);
  font-family: var(--ev-ui, EVInter, Inter), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}

.ev-dl-root *,
.ev-dl-picker *,
.ev-dl-player * { box-sizing: border-box; }

.ev-dl-root button,
.ev-dl-picker button,
.ev-dl-player button {
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.ev-dl-root button:disabled,
.ev-dl-picker button:disabled { cursor: default; opacity: .45; }

.ev-dl-root :focus-visible,
.ev-dl-picker :focus-visible,
.ev-dl-player :focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.ev-dl-root svg,
.ev-dl-picker svg,
.ev-dl-player svg { flex-shrink: 0; }

.ev-dl-shell {
  width: 100%;
  max-width: 760px;
  min-height: 100vh;
  min-height: 100dvh;
  margin-inline: auto;
  padding: calc(16px + env(safe-area-inset-top)) 20px calc(108px + env(safe-area-inset-bottom));
}

.ev-dl-head {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 8px;
}

.ev-dl-head h1 {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  color: #f7f7f9;
  font-family: var(--ev-display, EVDlSora, Sora), sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.15;
}

.ev-dl-brand { display: block; grid-column: 1; grid-row: 1; width: 20px; height: 25px; justify-self: start; color: #fff; }
.ev-dl-brand svg,
.ev-dl-brand img { display: block; width: 100%; height: 100%; object-fit: contain; }

.ev-dl-add,
.ev-dl-close-x {
  display: inline-grid;
  place-items: center;
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff12;
  border-radius: 50%;
  background: #ffffff06;
  color: #f7f7f9;
}
.ev-dl-head > .ev-dl-add { grid-column: 3; grid-row: 1; }
.ev-dl-add svg { display: block; width: 22px; height: 22px; }
.ev-dl-close-x { font-size: 26px; line-height: 1; }
.ev-dl-intro { max-width: 36em; margin: 0 0 25px; color: var(--ev-dl-muted, #96969f); font-size: 14px; line-height: 1.55; }

.ev-dl-storage {
  margin-bottom: 28px;
  padding: 16px;
  border: 1px solid #ffffff09;
  border-radius: 18px;
  background: #141416;
}
.ev-dl-storage-head,
.ev-dl-storage > :first-child { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.ev-dl-storage-label { display: inline-flex; align-items: center; gap: 9px; color: #e8e8ed; font-size: 13px; }
.ev-dl-storage-label svg { width: 20px; height: 20px; color: #a9a9b1; }
.ev-dl-storage-value { color: #f1f1f4; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ev-dl-storage-track { height: 3px; margin: 14px 0 10px; overflow: hidden; border-radius: 3px; background: #ffffff15; }
.ev-dl-storage-track i { display: block; width: 0; max-width: 100%; height: 100%; border-radius: inherit; background: #ededf1; transition: width .25s ease; }
.ev-dl-storage-caption { margin: 0; color: #898992; font-size: 12px; line-height: 1.45; }
.ev-dl-storage-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px 10px; }
.ev-dl-empty-note { margin-top: 15px; color: #777780; font-size: 11px; line-height: 1.5; }
.ev-dl-illustration > svg { display: block; width: 100%; height: 100%; }
.ev-dl-offline { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 20px; color: #b6b6bf; font-size: 12px; line-height: 1.5; }
.ev-dl-offline svg { width: 18px; height: 18px; }

.ev-dl-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.ev-dl-section-head h2 { margin: 0; color: #f3f3f6; font-size: 18px; font-weight: 700; letter-spacing: -.025em; }
.ev-dl-count { color: #8e8e97; font-size: 12px; font-variant-numeric: tabular-nums; }

.ev-dl-empty { display: flex; flex-direction: column; align-items: center; padding: 32px 8px 25px; text-align: center; }
.ev-dl-illustration { display: block; width: 140px; height: 122px; margin-bottom: 22px; overflow: visible; color: #f6f6f8; }
.ev-dl-empty h2 { max-width: 290px; margin: 0 0 11px; font-family: var(--ev-display, EVDlSora, Sora), sans-serif; font-size: 25px; font-weight: 700; letter-spacing: -.045em; line-height: 1.2; }
.ev-dl-empty p { max-width: 280px; margin: 0 0 25px; color: #96969f; font-size: 14px; line-height: 1.6; }
.ev-dl-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  max-width: 300px;
  min-height: 50px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  background: #f7f7f9;
  color: #111113;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.ev-dl-primary svg { display: block; width: 20px; height: 20px; }
.ev-dl-primary:active { background: #dedee3; }

.ev-dl-help { margin-top: 17px; border-top: 1px solid #ffffff0e; }
.ev-dl-help summary { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 15px 0; color: #c5c5cd; font-size: 14px; font-weight: 500; list-style: none; cursor: pointer; }
.ev-dl-help summary::marker { content: ""; }
.ev-dl-help summary::-webkit-details-marker { display: none; }
.ev-dl-help summary > svg { width: 20px; height: 20px; color: #91919a; }
.ev-dl-help summary > svg:last-child:not(:first-child) { width: 17px; height: 17px; margin-left: auto; transition: transform .18s ease; }
.ev-dl-help[open] summary > svg:last-child:not(:first-child) { transform: rotate(180deg); }
.ev-dl-help p,
.ev-dl-help ul,
.ev-dl-help ol { margin: 0 0 17px; color: #96969f; font-size: 13px; line-height: 1.7; }
.ev-dl-help ul,
.ev-dl-help ol { padding-left: 19px; }
.ev-dl-help li + li { margin-top: 7px; }

.ev-dl-list { min-width: 0; }
.ev-dl-item { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: start; gap: 15px; padding: 18px 0; border-bottom: 1px solid #ffffff0e; }
.ev-dl-item > :not(.ev-dl-poster) { min-width: 0; }
.ev-dl-poster { display: grid; place-items: center; width: 100px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 12px; background: #19191d; color: #777781; object-fit: cover; }
.ev-dl-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ev-dl-poster svg { width: 28px; height: 28px; }
.ev-dl-item-title { display: -webkit-box; margin: 1px 0 7px; overflow: hidden; color: #f1f1f5; font-size: 15px; font-weight: 700; line-height: 1.35; letter-spacing: -.015em; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.ev-dl-sub { display: block; margin: 0; color: #96969f; font-size: 12px; line-height: 1.55; }
.ev-dl-sub.is-ready { display: flex; align-items: center; gap: 5px; color: #d5d5dc; }
.ev-dl-sub svg { width: 13px; height: 13px; }
.ev-dl-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.ev-dl-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 35px; max-width: 100%; padding: 8px 12px; border: 1px solid #ffffff15; border-radius: 999px; background: #ffffff08; color: #e5e5eb; font-size: 12px; font-weight: 600; line-height: 1.2; }
.ev-dl-actions button svg { width: 14px; height: 14px; }
.ev-dl-actions button[data-act="play"] { border-color: #f7f7f9; background: #f7f7f9; color: #111113; }
.ev-dl-actions button[data-act="remove"] { color: #96969f; }
.ev-dl-progress { height: 3px; margin-top: 13px; overflow: hidden; border-radius: 3px; background: #ffffff13; }
.ev-dl-progress i { display: block; width: 0; max-width: 100%; height: 100%; border-radius: inherit; background: #eeeef3; transition: width .25s ease; }
.ev-dl-error { margin: 8px 0 0; color: #bbb9c0; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.ev-dl-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.ev-dl-filters button { min-height: 35px; padding: 8px 13px; border: 1px solid #ffffff10; border-radius: 999px; background: #ffffff06; color: #96969f; font-size: 12px; font-weight: 600; line-height: 1.3; }
.ev-dl-filters button.is-on,
.ev-dl-filters button[aria-pressed="true"] { border-color: #ffffff26; background: #ffffff12; color: #f7f7f9; }

.ev-dl-bottomnav { position: fixed; z-index: 90; left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: stretch; height: 62px; max-width: 440px; margin-inline: auto; padding: 0 4px; border: 1px solid #ffffff0d; border-radius: 23px; background: #0c0c0e; box-shadow: 0 8px 28px #0009, inset 0 1px 0 #ffffff03; }
.ev-dl-bottomnav button,
.ev-dl-bottomnav a { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 0; padding: 4px 0 11px; border: 0; border-radius: 18px; background: transparent; color: #96969f; text-decoration: none; font-family: var(--ev-ui, EVInter, Inter), sans-serif; font-size: 11px; font-weight: 500; line-height: 1.2; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ev-dl-bottomnav svg { display: block; width: 22px; height: 22px; }
.ev-dl-bottomnav img { display: block; width: 23px; height: 23px; border-radius: 50%; object-fit: cover; }
.ev-dl-bottomnav .is-on,
.ev-dl-bottomnav [aria-current="page"] { color: #fff; font-weight: 600; }
.ev-dl-bottomnav .is-on::after,
.ev-dl-bottomnav [aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 22px; height: 3px; margin-left: -11px; border-radius: 2px; background: #fff; }
.ev-dl-bottomnav button:active,
.ev-dl-bottomnav a:active { background: #ffffff0b; }
.ev-dl-online-dot { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: #8db79b; vertical-align: middle; }

.ev-dl-picker { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; width: 100%; height: 100vh; height: 100dvh; padding-bottom: env(safe-area-inset-bottom); overflow: hidden; overscroll-behavior: contain; background: #0a0a0c; }
.ev-dl-picker-head { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 760px; margin-inline: auto; padding: calc(12px + env(safe-area-inset-top)) 12px 0; }
.ev-dl-picker-head h2 { margin: 0; color: #f7f7f9; font-family: var(--ev-display, EVDlSora, Sora), sans-serif; font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.035em; }
.ev-dl-picker-head button { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #f1f1f5; }
.ev-dl-picker-head button svg { width: 22px; height: 22px; }
.ev-dl-searchbar { display: flex; align-items: center; flex-shrink: 0; gap: 10px; min-height: 49px; margin: 14px 20px 12px; padding: 0 15px; border: 1px solid #ffffff0a; border-radius: 999px; background: #19191c; color: #95959f; }
.ev-dl-searchbar svg { width: 20px; height: 20px; }
.ev-dl-searchbar input { width: 100%; min-width: 0; height: 47px; padding: 0; border: 0; outline: 0; background: transparent; color: #f1f1f5; font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; }
.ev-dl-searchbar input::placeholder { color: #85858f; opacity: 1; }
.ev-dl-searchbar:focus-within { border-color: #ffffff5c; }
.ev-dl-searchbar input:focus-visible { outline: 0; }
.ev-dl-picker-note { flex-shrink: 0; margin: 0 0 10px; padding: 0 20px; color: #92929d; font-size: 13px; line-height: 1.55; }
.ev-dl-picker-list { flex: 1; width: 100%; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.ev-dl-choice { display: grid; grid-template-columns: 64px minmax(0, 1fr) 44px; align-items: center; gap: 12px; max-width: 760px; margin-inline: auto; padding: 12px 20px; border-bottom: 1px solid #ffffff0c; }
.ev-dl-choice > :not(.ev-dl-choice-poster) { min-width: 0; }
.ev-dl-choice-poster { display: grid; place-items: center; width: 64px; height: 86px; overflow: hidden; border-radius: 8px; background: #19191d; color: #6f6f79; object-fit: cover; }
.ev-dl-choice-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ev-dl-choice-poster svg { width: 22px; height: 22px; }
.ev-dl-choice-title { display: -webkit-box; margin: 0 0 6px; overflow: hidden; color: #f2f2f6; font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: -.015em; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.ev-dl-choice-sub { margin: 0; color: #92929c; font-size: 12px; line-height: 1.5; }
.ev-dl-choice button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff24; border-radius: 50%; background: #ffffff06; color: #f4f4f7; }
.ev-dl-choice button svg { width: 20px; height: 20px; }
.ev-dl-choice button:active { background: #ffffff15; }
.ev-dl-choice button[aria-busy="true"] { color: #a0a0aa; }
.ev-dl-alert { margin: 12px 0; padding: 12px 14px; border: 1px solid #ffffff19; border-radius: 12px; background: #ffffff05; color: #c5c5cd; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.ev-dl-picker > .ev-dl-alert { flex-shrink: 0; margin-inline: 20px; }
.ev-dl-status { padding: 30px 20px; color: #96969f; font-size: 14px; line-height: 1.6; text-align: center; }

.ev-dl-player { position: fixed; inset: 0; z-index: 160; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: #050506; }
.ev-dl-player video { display: block; width: min(100%, 1100px); max-height: 78vh; max-height: 78dvh; border-radius: 10px; background: #000; }
.ev-dl-player .ev-dl-close { min-height: 44px; padding: 11px 24px; border: 1px solid #ffffff20; border-radius: 999px; background: #ffffff0b; color: #f4f4f7; font-size: 14px; font-weight: 600; }

.ev-app-downloads.ev-dl-live { position: fixed; inset: 0; z-index: 80; display: block !important; min-height: 100%; padding: 0 !important; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; background: #0a0a0c !important; -webkit-overflow-scrolling: touch; }

@media (hover: hover) {
  .ev-dl-add:hover,
  .ev-dl-close-x:hover,
  .ev-dl-actions button:hover,
  .ev-dl-choice button:hover { background: #ffffff12; }
  .ev-dl-actions button[data-act="play"]:hover,
  .ev-dl-primary:hover { background: #e2e2e7; }
}

@media (max-width: 360px) {
  .ev-dl-shell { padding-inline: 16px; }
  .ev-dl-head { gap: 9px; }
  .ev-dl-head h1 { font-size: 23px; }
  .ev-dl-intro { font-size: 13px; }
  .ev-dl-storage { padding: 14px; }
  .ev-dl-storage-head,
  .ev-dl-storage > :first-child { gap: 7px; }
  .ev-dl-storage-label { font-size: 12px; }
  .ev-dl-storage-value { font-size: 11px; }
  .ev-dl-item { grid-template-columns: 86px minmax(0, 1fr); gap: 12px; }
  .ev-dl-poster { width: 86px; }
  .ev-dl-choice { grid-template-columns: 56px minmax(0, 1fr) 44px; gap: 10px; padding-inline: 16px; }
  .ev-dl-choice-poster { width: 56px; height: 76px; }
  .ev-dl-choice-title { font-size: 14px; }
  .ev-dl-searchbar { margin-inline: 16px; }
  .ev-dl-picker-note { padding-inline: 16px; }
}

@media (min-width: 700px) {
  .ev-dl-shell { padding: calc(30px + env(safe-area-inset-top)) 32px calc(116px + env(safe-area-inset-bottom)); }
  .ev-dl-head { margin-bottom: 10px; }
  .ev-dl-intro { margin-bottom: 30px; }
  .ev-dl-storage { margin-bottom: 32px; padding: 19px 20px; }
  .ev-dl-empty { padding-top: 52px; padding-bottom: 40px; }
  .ev-dl-illustration { width: 155px; height: 136px; margin-bottom: 26px; }
  .ev-dl-help { margin-top: 22px; }
  .ev-dl-picker-head { padding-inline: 24px; }
  .ev-dl-picker > .ev-dl-searchbar,
  .ev-dl-picker > .ev-dl-picker-note,
  .ev-dl-picker > .ev-dl-alert { width: calc(100% - 64px); max-width: 696px; margin-inline: auto; }
  .ev-dl-picker > .ev-dl-picker-note { padding-inline: 0; }
  .ev-dl-choice { padding-inline: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .ev-dl-root *,
  .ev-dl-picker *,
  .ev-dl-player * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.ev-dl-install { display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin:0 0 20px; padding:18px; border:1px solid #ffffff10; border-radius:20px; background:#151518; }
.ev-dl-install div {flex:1;min-width:160px}.ev-dl-install strong {font-size:14px}.ev-dl-install p {font-size:12px;color:#9999a3;margin:5px 0 0}.ev-dl-install .ev-dl-primary {font-size:12px;padding:11px 15px;min-height:42px}

.ev-dl-access{display:flex;align-items:center;gap:14px;margin:0 0 18px;padding:15px 16px;border:1px solid #ffffff10;border-radius:16px;background:#141416}.ev-dl-access p{flex:1;margin:0;color:#bcbcc5;font-size:12px;line-height:1.5}.ev-dl-access a{flex:none;color:#f5f5f7;font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:3px}.ev-dl-access.is-active{background:transparent;border:0;padding:0 2px}.ev-dl-access.is-active p{color:#bdbdc6}
