@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/wp-content/uploads/elementor/google-fonts/fonts/dmsans-002a94d0.woff2") format("woff2");
}

:root {
  --accent: #8269f4;
  --accent-strong: #6650d6;
  --accent-on-dark: #a895ff;
  --blue: var(--accent);
  --blue-dark: var(--accent-strong);
  --yellow: #ffbd32;
  --yellow-ring: #ffd43b;
  --ink: #35383b;
  --muted: #96999c;
  --line: #c9cdd1;
  --results-bg: #5a6066;
  --surface: #ffffff;
  --home-bg: #465862;
  --home-footer: #303f48;
  --home-purple: var(--accent);
  --home-text: #f7f8fa;
  --home-muted: #a7b0b6;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
}

html {
  background: #fff;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(320px, 580px) minmax(140px, 1fr);
  align-items: center;
  gap: 28px;
  min-height: 136px;
  padding: 28px clamp(28px, 7vw, 92px) 20px;
}

.brand-mark {
  width: 142px;
  display: inline-flex;
  align-items: center;
}

.brand-mark img,
.hero-logo {
  width: 100%;
  height: auto;
  display: block;
}

.account-actions {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.button {
  min-width: 98px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--blue-dark);
}

.header-search-form,
.home-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px;
  overflow: hidden;
  background: var(--surface);
  border-radius: 999px;
}

.header-search-form {
  min-height: 55px;
  border: 8px solid #f6f7f9;
  box-shadow: 0 8px 14px rgba(40, 49, 58, 0.14);
}

.home-search-form {
  width: min(100%, 640px);
  min-height: 84px;
  margin-top: 72px;
  border: 10px solid var(--yellow-ring);
  box-shadow: 0 12px 15px rgba(150, 102, 0, 0.18);
}

.header-search-form input,
.home-search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 600;
}

.header-search-form input {
  padding: 0 12px 0 38px;
  color: #8c8f92;
  font-size: 20px;
  font-weight: 400;
}

.home-search-form input {
  padding: 0 14px 0 34px;
  font-size: 20px;
}

.header-search-form input::placeholder,
.home-search-form input::placeholder {
  color: #8d8f91;
  opacity: 1;
}

.search-submit {
  display: grid;
  place-items: center;
  min-width: 58px;
  border: 0;
  color: #aaadaf;
  background: #fff;
}

.search-submit svg {
  width: var(--interface-icon-size, 20px);
  height: var(--interface-icon-size, 20px);
  fill: none;
}

.search-submit:hover,
.search-submit:focus-visible {
  color: var(--blue);
  outline: 0;
}

.search-stage {
  width: calc(100% - 32px);
  max-width: 980px;
  margin: 63px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 320px;
  max-width: 74vw;
}

.results-shell {
  width: calc(100% - 40px);
  max-width: 1100px;
  margin: 6px auto 56px;
}

.results-layout {
  display: grid;
  grid-template-columns: 242px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.filters-sidebar {
  display: grid;
  gap: 28px;
  padding-top: 6px;
}

.filters-title {
  display: grid;
  grid-template-columns: 30px 1fr 18px;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #24272a;
  font-size: 22px;
  line-height: 1;
}

.filters-title svg {
  width: var(--interface-icon-size, 20px);
  height: var(--interface-icon-size, 20px);
  fill: #65696c;
}

.section-chevron {
  font-size: 34px;
  font-weight: 700;
  line-height: 0.7;
}

.sort-icon {
  color: #65696c;
  font-size: 20px;
  font-weight: 700;
}

.filter-group {
  padding-left: 40px;
}

.filter-group h3 {
  margin: 0 0 9px;
  padding-bottom: 8px;
  color: #b4b6b8;
  border-bottom: 1px solid #bfc2c4;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

.filter-options {
  display: grid;
  gap: 2px;
}

.filter-button {
  width: 100%;
  min-height: 37px;
  padding: 4px 8px;
  border: 0;
  border-radius: 3px;
  color: #555b61;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  text-align: right;
}

.filter-button:hover,
.filter-button:focus-visible {
  color: var(--blue-dark);
  background: #f2f6f9;
  outline: 0;
}

.filter-button.is-active {
  color: var(--blue);
  background: transparent;
}

.filter-button:disabled {
  color: #9ba0a4;
  background: transparent;
}

.sort-group {
  padding-left: 0;
}

.sort-group .filter-options {
  margin-top: 24px;
  padding-left: 40px;
}

.results-content {
  min-width: 0;
}

.status-region {
  min-height: 22px;
  margin-bottom: 12px;
  color: #777d82;
  font-size: 14px;
}

.results-sections {
  display: grid;
  gap: 22px;
}

.platform-results {
  min-width: 0;
  padding: 52px 16px 18px;
  background: var(--results-bg);
}

.platform-results h2 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.platform-heading {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.platform-scroll-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rail-range {
  min-width: 88px;
  color: #e3e6e8;
  font-size: 12px;
  text-align: right;
}

.rail-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid #8c9297;
  border-radius: 4px;
  color: #fff;
  background: #454b50;
  font-size: 26px;
  line-height: 1;
}

.rail-button:hover,
.rail-button:focus-visible {
  border-color: #fff;
  background: #30363a;
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.rail-button:disabled {
  color: #858b90;
  background: #555b60;
  border-color: #676d72;
}

.results-rail {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: #aeb4b9 #484e53;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}

.results-rail::-webkit-scrollbar {
  height: 8px;
}

.results-rail::-webkit-scrollbar-track {
  background: #484e53;
}

.results-rail::-webkit-scrollbar-thumb {
  background: #aeb4b9;
  border-radius: 4px;
}

.results-track {
  display: flex;
  align-items: stretch;
}

.results-page {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.loading-results > h2 {
  margin-bottom: 28px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px 20px;
}

.result-card {
  min-width: 0;
  min-height: 282px;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #dde0e2;
  border-radius: 7px;
}

.result-card:hover,
.result-card:focus-visible {
  border-color: #7ec4fa;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  outline: 3px solid rgba(0, 140, 255, 0.3);
  outline-offset: 1px;
}

.thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1f2428;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.duration {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 3px 5px;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 2px;
  font-size: 11px;
}

.card-body {
  min-width: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
  padding: 12px 12px 14px;
}

.result-title {
  margin: 0;
  overflow-wrap: anywhere;
  color: #34373a;
  font-size: 14px;
  line-height: 1.46;
  letter-spacing: 0;
}

.result-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  color: #9b9da0;
  font-size: 11px;
  line-height: 1.45;
}

.result-meta span,
.result-meta time {
  min-width: 0;
}

.result-meta time {
  text-align: right;
}

.empty-state {
  padding: 28px;
  color: #6f7579;
  background: #f4f5f6;
  border-radius: 6px;
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-card .thumbnail,
.skeleton-line {
  animation: pulse 1.25s ease-in-out infinite alternate;
  background: #d7dade;
}

.skeleton-line {
  display: block;
  width: 100%;
  height: 14px;
  border-radius: 3px;
}

.skeleton-line.short {
  width: 64%;
}

@keyframes pulse {
  to { opacity: 0.5; }
}

.footer {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding: 24px clamp(28px, 4vw, 50px) 16px;
  color: #1685d8;
  font-size: 14px;
  line-height: 1.35;
}

.view-home .brand-mark,
.view-home .header-search-form,
.view-home .results-shell {
  display: none;
}

.view-home .topbar {
  display: flex;
  justify-content: flex-end;
  min-height: 132px;
  padding: 22px 22px 18px;
}

.view-results {
  background: #fff;
}

.view-results .search-stage,
.view-results .footer {
  display: none;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 132px minmax(280px, 1fr);
    padding-inline: 24px;
  }

  .results-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 24px;
  }

  .filter-group {
    padding-left: 30px;
  }

  .results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .view-home .topbar {
    min-height: 96px;
    padding: 16px;
  }

  .account-actions {
    gap: 8px;
  }

  .button {
    min-width: 78px;
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }

  .search-stage {
    margin-top: 54px;
  }

  .hero-logo {
    width: 230px;
  }

  .home-search-form {
    grid-template-columns: minmax(0, 1fr) 58px;
    min-height: 68px;
    margin-top: 48px;
    border-width: 8px;
  }

  .home-search-form input {
    padding-left: 20px;
    font-size: 16px;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 4;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    min-height: 82px;
    padding: 14px 12px;
    background: #fff;
  }

  .brand-mark {
    width: 106px;
  }

  .header-search-form {
    grid-template-columns: minmax(0, 1fr) 48px;
    min-height: 48px;
    border-width: 6px;
  }

  .header-search-form input {
    padding-left: 14px;
    font-size: 15px;
  }

  .search-submit svg {
    width: var(--interface-icon-size, 20px);
    height: var(--interface-icon-size, 20px);
  }

  .results-shell {
    width: 100%;
    margin: 0 0 40px;
    padding: 0 12px;
  }

  .results-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .filters-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .filters-title {
    grid-column: 1 / -1;
  }

  .filter-group,
  .sort-group .filter-options {
    padding-left: 0;
  }

  .sort-group {
    grid-column: 1 / -1;
  }

  .sort-group .filter-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 12px;
  }

  .filter-button {
    font-size: 14px;
    text-align: left;
  }

  .platform-results {
    padding: 24px 12px 14px;
  }

  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .result-card {
    min-height: 260px;
  }

  .footer {
    padding-inline: 18px;
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .results-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .result-card {
    min-height: 0;
  }
}

/* Homepage redesign based on the Legion ClipScout homepage direction. */
html.view-home,
body.view-home {
  color: var(--home-text);
  background: var(--home-bg);
}

.view-home .app-shell {
  width: 100%;
  min-height: 100vh;
  background: var(--home-bg);
  font-family: "DM Sans", "Inter", system-ui, sans-serif;
}

.view-home .topbar {
  width: 100%;
  min-height: 150px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 48px clamp(44px, 5vw, 96px) 24px;
}

.view-home .brand-mark {
  width: 232px;
  height: 58px;
  display: block;
  flex: 0 0 auto;
}

.view-home .brand-logo-original {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.view-home .account-actions {
  min-height: 64px;
  align-items: center;
  gap: 30px;
}

.account-login {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  color: var(--home-text);
  background: transparent;
  font-size: 18px;
  font-weight: 500;
}

.account-login svg {
  width: var(--interface-icon-size, 20px);
  height: var(--interface-icon-size, 20px);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--interface-icon-stroke, 1.5);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.view-home .signup-button {
  width: 132px;
  min-width: 132px;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 0;
  color: #fff;
  background: #536873;
  font-size: 17px;
  font-weight: 600;
}

.inline-lds-icon {
  width: var(--interface-icon-size, 20px);
  height: var(--interface-icon-size, 20px);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--interface-icon-stroke, 1.5);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.view-home .account-login:hover,
.view-home .account-login:focus-visible {
  color: #cfc6ff;
  outline: 0;
}

.view-home .signup-button:hover,
.view-home .signup-button:focus-visible {
  color: #fff;
  background: #617984;
  outline: 2px solid #bdb2ff;
  outline-offset: 3px;
}

.view-home .header-search-form,
.view-home .results-shell {
  display: none;
}

.view-home main {
  width: 100%;
}

.view-home .search-stage {
  width: min(100% - 48px, 1580px);
  max-width: none;
  min-height: max(560px, min(970px, calc(78vh - 128px)));
  margin: 0 auto;
  padding: 126px 24px 124px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-copy {
  width: min(100%, 1120px);
  text-align: center;
}

.hero-kicker,
.profile-kicker {
  margin: 0;
  color: #c7bcff;
  font-family: "DM Sans", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero-headline {
  max-width: 1080px;
  margin: 22px auto 0;
  color: #fff;
  font-family: "DM Sans", "Inter", sans-serif;
  font-size: clamp(68px, 6.5vw, 106px);
  font-weight: 520;
  line-height: 0.88;
  letter-spacing: -0.062em;
  text-wrap: balance;
}

.hero-line {
  display: block;
}

.hero-line-accent {
  margin-top: 0.16em;
  color: #d4ccff;
  font-style: oblique 10deg;
  font-weight: 780;
  letter-spacing: -0.075em;
  text-shadow: 0 0 34px rgba(156, 132, 255, 0.14);
}

.hero-description {
  max-width: 620px;
  margin: 34px auto 0;
  color: #d3dde1;
  font-family: "DM Sans", "Inter", sans-serif;
  font-size: 16px;
  font-weight: 520;
  line-height: 1.4;
  letter-spacing: 0.035em;
  text-wrap: balance;
}

.view-home .home-search-form {
  width: min(100%, 940px);
  min-height: 92px;
  grid-template-columns: minmax(0, 1fr) 78px;
  margin-top: 52px;
  overflow: visible;
  padding: 8px;
  border: 1px solid rgba(217, 235, 239, 0.07);
  border-radius: 28px;
  background: var(--home-bg);
  box-shadow:
    -13px -13px 28px rgba(122, 153, 161, 0.19),
    16px 18px 36px rgba(17, 29, 37, 0.5),
    inset 1px 1px 0 rgba(239, 250, 252, 0.06);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.view-home .home-search-form:focus-within {
  box-shadow:
    -15px -15px 31px rgba(127, 162, 170, 0.23),
    18px 21px 40px rgba(17, 29, 37, 0.54),
    inset 1px 1px 0 rgba(239, 250, 252, 0.07);
  transform: translateY(-1px);
}

.view-home .home-search-form input {
  min-height: 74px;
  padding: 0 24px 0 32px;
  border-radius: 21px;
  color: #f7fafc;
  background: var(--home-bg);
  box-shadow:
    inset 7px 7px 15px rgba(18, 31, 39, 0.52),
    inset -6px -6px 13px rgba(121, 151, 159, 0.2);
  caret-color: var(--accent-on-dark);
  font-size: 19px;
  font-weight: 520;
  transition: box-shadow 150ms ease;
}

.view-home .home-search-form input::placeholder {
  color: #b6c0c6;
  opacity: 1;
}

.view-home .home-search-form:focus-within input {
  box-shadow:
    inset 0 0 0 1px rgba(168, 149, 255, 0.72),
    inset 7px 7px 15px rgba(18, 31, 39, 0.54),
    inset -6px -6px 13px rgba(121, 151, 159, 0.22);
}

.view-home input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

.view-home .search-submit {
  width: 62px;
  height: 62px;
  min-width: 62px;
  align-self: center;
  justify-self: center;
  border-radius: 18px;
  color: var(--accent-on-dark);
  background: transparent;
  box-shadow: none;
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.view-home .search-submit svg {
  width: var(--interface-icon-size, 20px);
  height: var(--interface-icon-size, 20px);
}

.view-home .search-submit:hover,
.view-home .search-submit:focus-visible {
  color: #d5ccff;
  background: rgba(130, 105, 244, 0.15);
  outline: 0;
  transform: translateY(-1px);
}

.view-home .search-submit:active {
  color: var(--accent-on-dark);
  background: rgba(130, 105, 244, 0.22);
  transform: translateY(0);
}

.profile-promise {
  width: min(100%, 940px);
  min-height: 92px;
  margin-top: 92px;
  padding: 26px 6px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  border-top: 1px solid rgba(215, 232, 237, 0.14);
  color: #fff;
  text-align: left;
}

.profile-promise h2,
.profile-promise a {
  font-family: "DM Sans", "Inter", sans-serif;
}

.profile-promise h2 {
  margin: 8px 0 0;
  font-size: 26px;
  font-style: oblique 8deg;
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.profile-promise a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 5px;
  border-bottom: 1px solid rgba(199, 188, 255, 0.58);
  color: #d4ccff;
  font-size: 15px;
  font-weight: 680;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-decoration: none;
  white-space: nowrap;
}

.profile-promise a span {
  font-size: 18px;
  font-weight: 400;
  line-height: 0.8;
  transition: transform 150ms ease;
}

.profile-promise a:hover,
.profile-promise a:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
  outline: 0;
}

.profile-promise a:hover span,
.profile-promise a:focus-visible span {
  transform: translate(2px, -2px);
}

.view-home .footer {
  min-height: 600px;
  display: block;
  margin: 0;
  padding: 96px clamp(44px, 5vw, 96px) 54px;
  color: var(--home-muted);
  background: var(--home-footer);
  font-size: 14px;
  line-height: 1.5;
}

.footer-content {
  width: min(100%, 1728px);
  min-height: 380px;
  display: grid;
  grid-template-columns: minmax(430px, 1.8fr) minmax(160px, 0.55fr) minmax(160px, 0.55fr);
  gap: 80px;
  margin: 0 auto;
}

.footer-signup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand {
  width: 236px;
  display: block;
  margin-bottom: 52px;
}

.footer-brand img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-signup label {
  margin-bottom: 12px;
  color: #b0b8bd;
  font-size: 14px;
}

.channel-signup {
  width: min(100%, 410px);
  height: 55px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 96px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #aab3b8;
  border-radius: 6px;
}

.channel-signup > span {
  display: flex;
  align-items: center;
  padding-left: 14px;
  color: #9da8ae;
  font-size: 13px;
}

.channel-signup input {
  min-width: 0;
  padding: 0 6px 0 2px;
  border: 0;
  outline: 0;
  color: #f6f8f9;
  background: transparent;
  font-size: 13px;
}

.channel-signup input::placeholder {
  color: #aeb7bd;
  opacity: 1;
}

.channel-signup button {
  border: 0;
  border-left: 1px solid #aab3b8;
  color: #f6f8f9;
  background: #43555f;
  font-size: 13px;
  font-weight: 600;
}

.channel-signup button:hover,
.channel-signup button:focus-visible {
  background: #536974;
  outline: 2px solid #bdb2ff;
  outline-offset: -3px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 44px;
}

.footer-links h2 {
  margin: 0 0 58px;
  color: #f6f8f9;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.footer-links a {
  margin-bottom: 18px;
  color: #9ba6ac;
  font-size: 16px;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
  outline: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-legal {
  width: min(100%, 1728px);
  margin: 0 auto;
  padding: 20px 0 0;
  border-top: 1px solid #485a64;
  color: #6f7c84;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .view-home .topbar {
    min-height: 128px;
    padding: 36px 42px 20px;
  }

  .view-home .brand-mark {
    width: 210px;
  }

  .view-home .search-stage {
    padding-top: 76px;
  }

  .hero-headline {
    font-size: clamp(60px, 7.5vw, 82px);
  }

  .hero-description {
    font-size: 16px;
  }

  .view-home .home-search-form {
    width: min(100%, 820px);
  }

  .footer-content {
    grid-template-columns: minmax(360px, 1.5fr) minmax(140px, 0.55fr) minmax(140px, 0.55fr);
    gap: 46px;
  }
}

@media (max-width: 700px) {
  .view-home .topbar {
    position: static;
    min-height: 96px;
    padding: 24px 20px 16px;
    background: transparent;
  }

  .view-home .brand-mark {
    width: 154px;
    height: 40px;
  }

  .view-home .account-actions {
    min-height: 44px;
    gap: 14px;
  }

  .account-login {
    gap: 7px;
    font-size: 15px;
  }

  .account-login svg {
    width: var(--interface-icon-size, 20px);
    height: var(--interface-icon-size, 20px);
  }

  .view-home .signup-button {
    width: 92px;
    min-width: 92px;
    min-height: 46px;
    padding: 0 13px;
    font-size: 14px;
  }

  .view-home .search-stage {
    width: calc(100% - 28px);
    min-height: 610px;
    padding: 46px 4px 86px;
  }

  .hero-kicker,
  .profile-kicker {
    font-size: 11px;
  }

  .hero-headline {
    max-width: 540px;
    margin-inline: auto;
    margin-top: 18px;
    font-size: clamp(42px, 11.2vw, 64px);
    line-height: 0.91;
  }

  .hero-description {
    max-width: 520px;
    margin-top: 26px;
    font-size: 14px;
    line-height: 1.4;
  }

  .hero-description br {
    display: none;
  }

  .view-home .home-search-form {
    min-height: 70px;
    grid-template-columns: minmax(0, 1fr) 58px;
    margin-top: 42px;
    padding: 6px;
    border-width: 1px;
    border-radius: 22px;
  }

  .view-home .home-search-form input {
    min-height: 58px;
    padding-left: 20px;
    border-radius: 17px;
    font-size: 16px;
  }

  .view-home .search-submit {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
  }

  .view-home .search-submit svg {
    width: var(--interface-icon-size, 20px);
    height: var(--interface-icon-size, 20px);
  }

  .profile-promise {
    max-width: 560px;
    min-height: 0;
    margin-top: 72px;
    padding-top: 22px;
    gap: 24px;
  }

  .profile-promise h2 {
    margin-top: 7px;
    font-size: 22px;
  }

  .profile-promise a {
    font-size: 14px;
  }

  .view-home .footer {
    min-height: 0;
    padding: 70px 24px 38px;
  }

  .footer-content {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px 36px;
  }

  .footer-signup {
    grid-column: 1 / -1;
  }

  .footer-brand {
    width: 205px;
    margin-bottom: 42px;
  }

  .footer-links {
    padding-top: 0;
  }

  .footer-links h2 {
    margin-bottom: 28px;
  }

  .footer-legal {
    margin-top: 64px;
  }
}

@media (max-width: 480px) {
  .view-home .topbar {
    padding-inline: 16px;
  }

  .view-home .brand-mark {
    width: 132px;
  }

  .view-home .account-actions {
    gap: 10px;
  }

  .view-home .signup-button {
    width: 78px;
    min-width: 78px;
  }

  .view-home .search-stage {
    min-height: 590px;
    padding-top: 40px;
  }

  .hero-headline {
    max-width: 360px;
    font-size: clamp(39px, 11.2vw, 44px);
  }

  .hero-description {
    font-size: 13px;
  }

  .view-home .home-search-form {
    grid-template-columns: minmax(0, 1fr) 52px;
    margin-top: 38px;
  }

  .view-home .home-search-form input {
    padding-left: 17px;
    font-size: 14px;
  }

  .profile-promise {
    margin-top: 68px;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .profile-promise h2 {
    font-size: 21px;
  }

  .footer-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }

  .footer-signup,
  .footer-links {
    grid-column: 1;
  }

  .channel-signup {
    grid-template-columns: auto minmax(0, 1fr) 78px;
  }

  .channel-signup > span,
  .channel-signup input,
  .channel-signup button {
    font-size: 11px;
  }
}

/* Unified search results redesign. Provider identity remains internal to playback. */
.sidebar-toggle {
  display: none;
}

html.view-results,
body.view-results {
  color: #f7f8fa;
  background: #263846;
  background-image: linear-gradient(145deg, #263846 0%, #2c4251 25%, #506f78 55%, #82afac 78%, #725979 100%);
  background-attachment: fixed;
  overflow-x: clip;
}

.view-results .app-shell {
  min-height: 100vh;
  color: #f7f8fa;
  background: transparent;
  font-family: "DM Sans", "Inter", system-ui, sans-serif;
}

.view-results .topbar {
  position: sticky;
  top: 0;
  z-index: 12;
  isolation: isolate;
  min-height: 156px;
  display: grid;
  grid-template-columns: 240px 420px minmax(360px, 940px) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  background: transparent;
}

.view-results .topbar::before {
  position: absolute;
  inset: 0 0 -160px;
  z-index: -1;
  content: "";
  background: linear-gradient(
    to bottom,
    rgba(38, 56, 70, 0.92) 0%,
    rgba(38, 56, 70, 0.88) 34%,
    rgba(38, 56, 70, 0.78) 48%,
    rgba(38, 56, 70, 0.62) 62%,
    rgba(38, 56, 70, 0.42) 74%,
    rgba(38, 56, 70, 0.24) 84%,
    rgba(38, 56, 70, 0.1) 93%,
    rgba(38, 56, 70, 0) 100%
  );
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 34%,
    rgba(0, 0, 0, 0.98) 44%,
    rgba(0, 0, 0, 0.9) 54%,
    rgba(0, 0, 0, 0.78) 64%,
    rgba(0, 0, 0, 0.62) 73%,
    rgba(0, 0, 0, 0.45) 81%,
    rgba(0, 0, 0, 0.28) 88%,
    rgba(0, 0, 0, 0.14) 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 34%,
    rgba(0, 0, 0, 0.98) 44%,
    rgba(0, 0, 0, 0.9) 54%,
    rgba(0, 0, 0, 0.78) 64%,
    rgba(0, 0, 0, 0.62) 73%,
    rgba(0, 0, 0, 0.45) 81%,
    rgba(0, 0, 0, 0.28) 88%,
    rgba(0, 0, 0, 0.14) 94%,
    transparent 100%
  );
  pointer-events: none;
}

.view-results .sidebar-toggle {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
  padding: 0;
  border: 1px solid rgba(204, 224, 231, 0.07);
  border-radius: 24px;
  color: rgba(212, 216, 219, 0.64);
  background: rgba(45, 69, 83, 0.035);
  -webkit-backdrop-filter: blur(7px) saturate(1.06);
  backdrop-filter: blur(7px) saturate(1.06);
  box-shadow:
    inset 0 0 0 1px rgba(193, 216, 224, 0.025),
    inset 0 0 14px rgba(130, 105, 244, 0.018),
    0 0 10px rgba(130, 105, 244, 0.045);
}

.view-results .sidebar-toggle svg {
  width: var(--interface-icon-size, 20px);
  height: var(--interface-icon-size, 20px);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: var(--interface-icon-stroke, 1.5);
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 3px rgba(151, 130, 255, 0.13));
}

.view-results .sidebar-toggle:hover,
.view-results .sidebar-toggle:focus-visible {
  color: #fff;
  background: rgba(61, 83, 98, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(189, 174, 255, 0.24),
    inset 0 0 22px rgba(130, 105, 244, 0.075),
    0 0 18px rgba(130, 105, 244, 0.18);
  outline: 2px solid rgba(168, 149, 255, 0.72);
  outline-offset: 2px;
}

.view-results .brand-mark {
  width: 230px;
  height: 48px;
  display: block;
  align-self: center;
  margin-left: 88px;
}

.view-results .brand-logo-original {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transform: translateY(-4px);
}

.view-results .header-search-form {
  width: 100%;
  min-height: 68px;
  grid-template-columns: minmax(0, 1fr) 74px;
  align-self: center;
  justify-self: center;
  padding: 5px 7px;
  border: 1px solid rgba(216, 235, 239, 0.065);
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(151, 186, 196, 0.055),
    rgba(48, 76, 90, 0.1) 42%,
    rgba(20, 41, 54, 0.065)
  );
  -webkit-backdrop-filter: blur(18px) saturate(1.24);
  backdrop-filter: blur(18px) saturate(1.24);
  box-shadow:
    -8px -8px 18px rgba(119, 154, 163, 0.18),
    10px 11px 24px rgba(12, 25, 34, 0.4),
    inset 1px 1px 0 rgba(235, 248, 250, 0.05);
  transition: box-shadow 140ms ease;
}

.view-results .header-search-form:focus-within {
  box-shadow:
    -9px -9px 20px rgba(125, 164, 172, 0.22),
    12px 13px 27px rgba(12, 25, 34, 0.44),
    inset 1px 1px 0 rgba(235, 248, 250, 0.06);
}

.view-results .header-search-form input {
  min-height: 56px;
  padding: 0 20px 0 38px;
  border-radius: 15px;
  color: #f8fbff;
  background: rgba(17, 37, 49, 0.14);
  -webkit-backdrop-filter: blur(11px) saturate(1.16);
  backdrop-filter: blur(11px) saturate(1.16);
  box-shadow:
    inset 5px 5px 11px rgba(12, 25, 34, 0.48),
    inset -4px -4px 9px rgba(142, 178, 187, 0.1);
  caret-color: var(--accent-on-dark);
  font-size: 17px;
  font-weight: 500;
  transition: box-shadow 140ms ease;
}

.view-results .header-search-form:focus-within input {
  box-shadow:
    inset 0 0 0 1px rgba(168, 149, 255, 0.68),
    inset 5px 5px 11px rgba(12, 25, 34, 0.5),
    inset -4px -4px 9px rgba(111, 147, 157, 0.18);
}

.view-results .header-search-form input::placeholder {
  color: #9da7ba;
}

.view-results input[type="search"]::-webkit-search-cancel-button {
  width: 18px;
  height: 18px;
  margin-left: 12px;
  -webkit-appearance: none;
  appearance: none;
  color: #f8fbff;
  background:
    linear-gradient(45deg, transparent 45%, currentColor 46%, currentColor 54%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, currentColor 46%, currentColor 54%, transparent 55%);
  border-radius: 3px;
  opacity: 0.86;
  filter: drop-shadow(0 0 4px rgba(168, 149, 255, 0.24));
  cursor: pointer;
}

.view-results input[type="search"]::-webkit-search-cancel-button:hover {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(168, 149, 255, 0.42));
}

.view-results ::selection {
  color: #fff;
  background: rgba(130, 105, 244, 0.58);
  text-shadow: 0 0 8px rgba(220, 211, 255, 0.24);
}

.view-results input::selection {
  color: #fff;
  background: rgba(151, 126, 255, 0.5);
}

.view-results .header-search-form .search-submit {
  width: 50px;
  height: 50px;
  min-width: 50px;
  align-self: center;
  justify-self: center;
  border-radius: 14px;
  color: var(--accent-on-dark);
  background: transparent;
  box-shadow: none;
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.view-results .header-search-form .search-submit:hover,
.view-results .header-search-form .search-submit:focus-visible {
  color: #c9bdff;
  background: rgba(130, 105, 244, 0.14);
  box-shadow: none;
  transform: translateY(-1px);
}

.view-results .header-search-form .search-submit:active {
  color: var(--accent-on-dark);
  background: rgba(130, 105, 244, 0.2);
  box-shadow: none;
  transform: translateY(0);
}

.view-results .header-search-form .search-submit svg {
  width: var(--interface-icon-size, 20px);
  height: var(--interface-icon-size, 20px);
}

.view-results .search-stage,
.view-results .footer {
  display: none;
}

.view-results .results-shell {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 137px);
  margin: 0;
  padding: 0;
}

.view-results .results-layout {
  min-height: calc(100vh - 137px);
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  transition: grid-template-columns 180ms ease;
}

.view-results .filters-sidebar {
  position: sticky;
  top: 178px;
  z-index: 13;
  min-width: 0;
  min-height: 0;
  max-height: calc(100vh - 202px);
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 40px;
  overflow-x: visible;
  overflow-y: auto;
  padding: 48px 18px 48px;
  color: #d6dce0;
  background: transparent;
  border-right: 0;
  box-shadow: none;
  scrollbar-width: none;
  opacity: 1;
  transition: opacity 140ms ease, padding 180ms ease;
}

.view-results .filters-sidebar::-webkit-scrollbar {
  display: none;
}

.view-results.filters-collapsed .results-layout {
  grid-template-columns: 0 minmax(0, 1fr);
}

.view-results.filters-collapsed .filters-sidebar {
  padding-inline: 0;
  border-right: 0;
  opacity: 0;
  pointer-events: none;
}

.view-results .filter-group {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 30px 24px 34px;
  border: 0;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(223, 239, 245, 0.09), rgba(33, 54, 68, 0.055) 52%, rgba(11, 24, 34, 0.1)),
    rgba(25, 46, 59, 0.12);
  -webkit-backdrop-filter: blur(11px) saturate(1.1);
  backdrop-filter: blur(11px) saturate(1.1);
  box-shadow:
    inset 0 1px rgba(238, 248, 251, 0.13),
    inset 1px 0 rgba(224, 240, 246, 0.07),
    inset 0 -1px rgba(4, 13, 19, 0.14),
    0 16px 36px rgba(3, 11, 17, 0.12);
}

.view-results .filter-group h2 {
  position: relative;
  margin: 0 0 12px;
  padding: 0 0 12px;
  color: #f4f6f8;
  border-bottom: 2px solid rgba(143, 166, 177, 0.42);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 21px;
  font-style: italic;
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-feature-settings: "ss01" 1, "cv02" 1;
  text-shadow: 0 2px 10px rgba(5, 13, 19, 0.24);
}

.view-results .filter-group h2::after {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 70%;
  height: 2px;
  content: "";
  background: #a88dff;
  box-shadow:
    0 0 5px rgba(207, 194, 255, 0.95),
    0 0 12px rgba(145, 112, 255, 0.9),
    0 0 24px rgba(112, 73, 255, 0.64);
}

.view-results .filter-heading-slash {
  display: inline-block;
  margin-right: 2px;
  color: #a88dff;
  font-style: normal;
  font-weight: 800;
  text-shadow: none;
}

.view-results .filter-options {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.view-results .filter-button {
  width: 100%;
  min-height: 34px;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  color: #d9d8ed;
  background: transparent;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 540;
  line-height: 1.28;
  letter-spacing: -0.022em;
  font-feature-settings: "ss01" 1, "cv02" 1;
  text-align: left;
}

.view-results .filter-button:hover,
.view-results .filter-button:focus-visible {
  color: #fff;
  background: transparent;
  outline: 0;
  text-decoration: underline;
  text-decoration-color: #b097ff;
  text-underline-offset: 4px;
  text-shadow: 0 0 10px rgba(145, 112, 255, 0.44);
}

.view-results .filter-button.is-active {
  color: #fff;
  font-weight: 730;
  letter-spacing: -0.03em;
}

.view-results .results-content {
  min-width: 0;
  min-height: calc(100vh - 137px);
  overflow-x: visible;
  padding: 64px 58px 180px;
  background: transparent;
}

.view-results .status-region {
  min-height: 18px;
  margin: 0 0 22px;
  color: #d5dade;
  font-size: 14px;
}

.view-results .status-region.is-degraded {
  width: fit-content;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255, 211, 58, 0.34);
  border-radius: 10px;
  background: rgba(21, 31, 36, 0.72);
  color: #f2e7ad;
}

.view-results .status-region:empty {
  display: none;
}

.view-results .results-sections {
  width: 100%;
  max-width: none;
  display: block;
}

.unified-results-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.unified-results-grid .result-row {
  position: relative;
  isolation: isolate;
  width: 100%;
  display: grid;
  gap: 64px;
  align-items: start;
}

.unified-results-grid .landscape-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.unified-results-grid .short-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 76px;
}

.unified-results-grid .result-card {
  --card-hover-rgb: 205, 218, 230;
  --card-hover-secondary-rgb: 237, 244, 248;
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 0;
  display: block;
  overflow: visible;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: rgba(218, 235, 242, 0.025);
  -webkit-backdrop-filter: blur(9px) saturate(1.18);
  backdrop-filter: blur(9px) saturate(1.18);
  box-shadow:
    0 5px 14px rgba(4, 12, 18, 0.21),
    0 17px 43px rgba(4, 12, 18, 0.32);
}

.unified-results-grid .result-card::before {
  position: absolute;
  inset: 0;
  z-index: 4;
  content: "";
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(238, 247, 250, 0.028), rgba(111, 148, 160, 0.004));
  box-shadow: none;
  pointer-events: none;
}

.unified-results-grid .result-card:hover,
.unified-results-grid .result-card:focus-within {
  box-shadow:
    0 6px 16px rgba(4, 11, 17, 0.23),
    0 19px 47px rgba(4, 11, 17, 0.35),
    0 0 0 1px rgba(var(--card-hover-rgb), 0.88),
    0 0 18px rgba(var(--card-hover-rgb), 0.72),
    0 0 44px rgba(var(--card-hover-secondary-rgb), 0.48);
  outline: 0;
}

.unified-results-grid .result-card:hover::before,
.unified-results-grid .result-card:focus-within::before {
  background: linear-gradient(
    145deg,
    rgba(var(--card-hover-secondary-rgb), 0.075),
    rgba(var(--card-hover-rgb), 0.035)
  );
  box-shadow: none;
}

.unified-results-grid .result-card.is-landscape {
  grid-column: auto;
  aspect-ratio: 16 / 9;
}

.unified-results-grid .result-card.is-short {
  grid-column: auto;
  aspect-ratio: 5 / 7;
}

.unified-results-grid .card-link {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  color: #fff;
  text-decoration: none;
}

.unified-results-grid .card-link::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(
    to bottom,
    rgba(8, 15, 22, 0) 20%,
    rgba(8, 15, 22, 0.035) 34%,
    rgba(8, 15, 22, 0.14) 50%,
    rgba(8, 15, 22, 0.3) 66%,
    rgba(8, 15, 22, 0.48) 84%,
    rgba(8, 15, 22, 0.6) 100%
  );
  pointer-events: none;
  transition: background-color 140ms ease;
}

.unified-results-grid .result-card:hover .card-link::after,
.unified-results-grid .result-card:focus-within .card-link::after {
  background-color: rgba(var(--card-hover-rgb), 0.12);
}

.unified-results-grid .thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  background: transparent;
}

.unified-results-grid .thumbnail-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.unified-results-grid .thumbnail-glass {
  z-index: -1;
  opacity: 0.68;
  filter: saturate(1.12) contrast(1.14) brightness(1.01);
}

.unified-results-grid .thumbnail-neon {
  z-index: 1;
  opacity: 0.34;
  filter: saturate(1.45) contrast(1.32) brightness(0.99);
  mix-blend-mode: soft-light;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 16%,
    rgba(0, 0, 0, 0.18) 30%,
    rgba(0, 0, 0, 0.68) 50%,
    #000 70%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 16%,
    rgba(0, 0, 0, 0.18) 30%,
    rgba(0, 0, 0, 0.68) 50%,
    #000 70%
  );
}

.unified-results-grid .card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-width: 0;
  z-index: 2;
  display: block;
  padding: 72px 68px 42px 22px;
  color: #fff;
  background: transparent;
}

.unified-results-grid .is-short .card-body {
  padding: 100px 58px 44px 20px;
}

.unified-results-grid .result-title {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-shadow: 0 2px 10px rgba(8, 14, 18, 0.82);
}

.unified-results-grid .result-description {
  display: none;
}

.unified-results-grid .view-count,
.unified-results-grid .duration {
  position: absolute;
  bottom: 17px;
  z-index: 2;
  padding: 0;
  color: #fff;
  background: transparent;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(4, 10, 15, 0.86);
}

.unified-results-grid .view-count {
  left: 22px;
  max-width: calc(100% - 96px);
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.unified-results-grid .duration {
  right: 18px;
  text-align: right;
}

.unified-results-grid .is-short .view-count {
  left: 20px;
}

.unified-results-grid .card-actions {
  position: absolute;
  top: 15px;
  right: 14px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.unified-results-grid .card-action {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #e5e1ff;
  background: rgba(0, 2, 63, 0.7);
}

.unified-results-grid .card-action[hidden] {
  display: none;
}

.unified-results-grid .card-action svg {
  width: var(--interface-icon-size, 20px);
  height: var(--interface-icon-size, 20px);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: var(--interface-icon-stroke, 1.5);
}

.unified-results-grid .card-action:hover,
.unified-results-grid .card-action.is-active {
  color: #fff;
  background: rgba(103, 81, 215, 0.68);
}

.unified-results-grid .card-action[data-action="favorite"].is-active svg {
  fill: currentColor;
  fill-opacity: 0.85;
}

.unified-results-grid .card-action[data-action="save"].is-active svg {
  fill: currentColor;
  fill-opacity: 0.85;
}

.unified-results-grid .card-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
}

.view-results .empty-state {
  max-width: 720px;
  padding: 28px 30px;
  color: #eef1f3;
  background: #334a56;
  border: 1px solid #617681;
  border-radius: 6px;
}

/*
 * CLIPSCOUT OFFICIAL LOADER — RATIFIED 2026-08-14
 * Contract: clipscout-official-loader-2026-08-14-r1
 * Status: the sole official and ratified ClipScout search-results loader.
 * Canonical specification and change control: docs/OFFICIAL_LOADER.md
 * Do not add alternate halos, rotate the ring geometry, translate the
 * butterfly container, or duplicate this block later in the cascade.
 */
.unified-results-grid.loading-results {
  --loader-slab: #151f24;
}

.unified-results-grid.loading-results .loading-group-state {
  margin-left: 9px;
  color: rgba(210, 220, 226, 0.4);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.unified-results-grid.loading-results .result-card {
  --aurora-a: 109 229 218;
  --aurora-b: 103 72 150;
  --aurora-c: 233 91 157;
  --aurora-d: 218 245 73;
  --aurora-speed: 8.5s;
  --aurora-delay: -3s;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: rgb(21 31 36 / 0.9);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
  backdrop-filter: blur(22px) saturate(1.12);
  box-shadow:
    inset 0 1px 0 rgb(218 243 248 / 0.07),
    inset 0 -1px 0 rgb(0 6 10 / 0.42),
    0 18px 38px rgb(0 5 9 / 0.3),
    0 42px 92px rgb(0 5 9 / 0.18);
  pointer-events: none;
}

.unified-results-grid.loading-results .result-card::before {
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 1px;
  border: 0;
  border-radius: inherit;
  content: "";
  background: conic-gradient(
    from 12deg,
    rgb(var(--aurora-a) / 0.64),
    rgb(var(--aurora-b) / 0.16) 19%,
    rgb(235 250 255 / 0.2) 36%,
    rgb(var(--aurora-c) / 0.58) 59%,
    rgb(var(--aurora-d) / 0.13) 77%,
    rgb(var(--aurora-a) / 0.64)
  );
  opacity: 0.12;
  -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;
  animation: scout-loader-contour 5.2s ease-in-out var(--aurora-delay) infinite;
}

.unified-results-grid.loading-results .thumbnail {
  isolation: isolate;
  overflow: hidden;
  border-radius: inherit;
  background: transparent;
  animation: none;
}

.unified-results-grid.loading-results .thumbnail::before {
  position: absolute;
  inset: 18%;
  z-index: 0;
  content: "";
  background:
    radial-gradient(circle at 42% 42%, rgb(214 245 93 / 0.09), transparent 40%),
    radial-gradient(circle at 61% 58%, rgb(123 80 151 / 0.08), transparent 55%);
  filter: blur(38px) saturate(1.05);
  opacity: 0.2;
  transform: scale(0.92);
  animation: scout-loader-ambient 5.8s ease-in-out var(--aurora-delay) infinite;
  will-change: transform, opacity;
}

.unified-results-grid.loading-results .skeleton-palette-ultraviolet {
  --aurora-speed: 9.2s;
}

.unified-results-grid.loading-results .skeleton-palette-lagoon {
  --aurora-speed: 7.8s;
  --aurora-delay: -8s;
}

.unified-results-grid.loading-results .skeleton-palette-ember {
  --aurora-speed: 8.7s;
  --aurora-delay: -5s;
}

.unified-results-grid.loading-results .skeleton-palette-sapphire {
  --aurora-speed: 7.4s;
  --aurora-delay: -4s;
}

.unified-results-grid.loading-results .skeleton-palette-orchid {
  --aurora-speed: 8.2s;
  --aurora-delay: -10s;
}

.unified-results-grid.loading-results .skeleton-palette-solar {
  --aurora-speed: 9.5s;
  --aurora-delay: -7s;
}

.unified-results-grid.loading-results .skeleton-palette-verdant {
  --aurora-speed: 7.7s;
  --aurora-delay: -9s;
}

.unified-results-grid.loading-results .skeleton-palette-ruby {
  --aurora-speed: 8.9s;
  --aurora-delay: -12s;
}

.unified-results-grid.loading-results .skeleton-palette-celestial {
  --aurora-speed: 9.8s;
  --aurora-delay: -6s;
}

.unified-results-grid.loading-results .skeleton-super-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: clamp(67px, 21%, 109px);
  aspect-ratio: 1;
  isolation: isolate;
  overflow: visible;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  transform: translate(-50%, -50%);
}

/* One directional light source defines the concavity: yellow-green exits at
   the upper-left and returns inside at the lower-right, while violet shadow
   mirrors it across the opposite diagonal. */
.unified-results-grid.loading-results .skeleton-super-orb::before,
.unified-results-grid.loading-results .skeleton-super-orb::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.unified-results-grid.loading-results .skeleton-super-orb::before {
  display: none;
}

.unified-results-grid.loading-results .skeleton-super-orb::after {
  inset: -0.5px;
  z-index: 3;
  padding: 1px;
  background: conic-gradient(
    from 220deg,
    rgb(38 235 216) 0%,
    rgb(55 245 163) 13%,
    rgb(211 255 34) 22%,
    rgb(255 188 45) 34%,
    rgb(255 74 144) 48%,
    rgb(156 66 195) 66%,
    rgb(73 80 181) 84%,
    rgb(38 235 216) 100%
  );
  filter:
    saturate(1.62)
    brightness(1.18)
    drop-shadow(-1px -1px 2px rgb(213 255 44 / 0.48))
    drop-shadow(1px 1px 2px rgb(96 42 149 / 0.42));
  -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;
  animation: scout-super-orb-rim var(--aurora-speed) ease-in-out var(--aurora-delay) infinite;
}

.unified-results-grid.loading-results .skeleton-super-orb::after {
  display: none;
}

.unified-results-grid.loading-results .result-card.is-featured .skeleton-super-orb {
  width: clamp(128px, 24.7%, 204px);
}

.unified-results-grid.loading-results .skeleton-orb-ring-stack {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.unified-results-grid.loading-results .skeleton-orb-ring-stack-core {
  z-index: 1;
  filter: blur(0.65px) saturate(1.1) brightness(1.06);
  animation: scout-orb-neon-variance 5.6s ease-in-out var(--aurora-delay) infinite;
  will-change: filter;
}

.unified-results-grid.loading-results .skeleton-orb-ring {
  position: absolute;
  inset: -50%;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}

.unified-results-grid.loading-results .skeleton-orb-spectrum,
.unified-results-grid.loading-results .skeleton-orb-glass,
.unified-results-grid.loading-results .skeleton-orb-butterfly {
  position: absolute;
}

.unified-results-grid.loading-results .skeleton-orb-spectrum {
  inset: 1px;
  z-index: 2;
  border-radius: 50%;
  /* Opposite-edge transmission: the exterior spectrum is rotated halfway
     around the disc, so each rim color casts a broad pool across the dish. */
  background: conic-gradient(
    from 40deg,
    rgb(72 183 182) 0%,
    rgb(91 198 151) 13%,
    rgb(181 211 76) 22%,
    rgb(220 159 82) 34%,
    rgb(196 76 127) 48%,
    rgb(119 72 148) 66%,
    rgb(73 92 144) 84%,
    rgb(72 183 182) 100%
  );
  filter: blur(8px) saturate(1.14) brightness(1.12);
  -webkit-mask: radial-gradient(
    circle closest-side,
    transparent 0 45%,
    rgb(0 0 0 / 0.01) 56%,
    rgb(0 0 0 / 0.035) 65%,
    rgb(0 0 0 / 0.08) 72%,
    rgb(0 0 0 / 0.16) 79%,
    rgb(0 0 0 / 0.28) 85%,
    rgb(0 0 0 / 0.43) 91%,
    rgb(0 0 0 / 0.58) 96%,
    rgb(0 0 0 / 0.72) 100%
  );
  mask: radial-gradient(
    circle closest-side,
    transparent 0 45%,
    rgb(0 0 0 / 0.01) 56%,
    rgb(0 0 0 / 0.035) 65%,
    rgb(0 0 0 / 0.08) 72%,
    rgb(0 0 0 / 0.16) 79%,
    rgb(0 0 0 / 0.28) 85%,
    rgb(0 0 0 / 0.43) 91%,
    rgb(0 0 0 / 0.58) 96%,
    rgb(0 0 0 / 0.72) 100%
  );
  mix-blend-mode: screen;
  opacity: 0.82;
  overflow: hidden;
  animation: scout-super-orb-breathe 5.4s ease-in-out var(--aurora-delay) infinite;
  will-change: transform;
}

.unified-results-grid.loading-results .skeleton-orb-spectrum::after {
  display: none;
}

.unified-results-grid.loading-results .skeleton-orb-glass {
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  background: var(--loader-slab);
  border: 0;
  box-shadow: none;
  animation: scout-super-orb-breathe 4.6s ease-in-out var(--aurora-delay) infinite;
  will-change: transform, opacity;
}

.unified-results-grid.loading-results .skeleton-orb-glass::before {
  display: none;
}

.unified-results-grid.loading-results .skeleton-orb-glass::after {
  display: none;
}

.unified-results-grid.loading-results .skeleton-orb-butterfly {
  top: 50%;
  left: 50%;
  z-index: 40;
  width: 34%;
  aspect-ratio: 1;
  opacity: 0.86;
  transform: translate(-50%, -50%);
  perspective: 180px;
  transform-style: preserve-3d;
  filter:
    drop-shadow(0 0 1px rgb(255 255 255 / 0.88))
    drop-shadow(0 0 4px rgb(255 255 255 / 0.52))
    drop-shadow(0 0 9px rgb(235 243 255 / 0.28));
  animation: scout-butterfly-breathe 2.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: opacity;
}

.unified-results-grid.loading-results .skeleton-orb-butterfly::before,
.unified-results-grid.loading-results .skeleton-orb-butterfly::after,
.unified-results-grid.loading-results .skeleton-orb-butterfly img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.unified-results-grid.loading-results .skeleton-orb-butterfly::before {
  content: "";
  z-index: 4;
  background: conic-gradient(
    from 220deg,
    rgb(38 235 216) 0%,
    rgb(55 245 163) 18%,
    rgb(211 255 34) 31%,
    rgb(255 74 144) 55%,
    rgb(156 66 195) 76%,
    rgb(38 235 216) 100%
  );
  opacity: 0.1;
  -webkit-mask: url("/favicon_ClipScout_butterfly-purple.svg") center / contain no-repeat;
  mask: url("/favicon_ClipScout_butterfly-purple.svg") center / contain no-repeat;
  animation: scout-butterfly-neon-bleed 5.6s ease-in-out var(--aurora-delay) infinite;
  will-change: filter, opacity;
}

.unified-results-grid.loading-results .skeleton-orb-butterfly::after {
  content: "";
  z-index: 5;
  background: linear-gradient(
    108deg,
    transparent 26%,
    rgb(232 224 255 / 0.08) 38%,
    rgb(255 255 255 / 0.72) 48%,
    rgb(193 171 255 / 0.14) 57%,
    transparent 68%
  );
  background-position: 150% 0;
  background-size: 250% 100%;
  -webkit-mask: url("/favicon_ClipScout_butterfly-purple.svg") center / contain no-repeat;
  mask: url("/favicon_ClipScout_butterfly-purple.svg") center / contain no-repeat;
  animation: scout-butterfly-glint 6.4s ease-in-out infinite;
}

.unified-results-grid.loading-results .skeleton-butterfly-wing,
.unified-results-grid.loading-results .skeleton-butterfly-crease {
  object-fit: contain;
  filter: grayscale(1) brightness(2.4) contrast(1.05);
}

.unified-results-grid.loading-results .skeleton-butterfly-wing-left {
  clip-path: inset(0 49.2% 0 0);
  transform-origin: 50.8% 50%;
  animation: scout-butterfly-left-wing 2.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.unified-results-grid.loading-results .skeleton-butterfly-wing-right {
  clip-path: inset(0 0 0 49.2%);
  transform-origin: 49.2% 50%;
  animation: scout-butterfly-right-wing 2.8s cubic-bezier(0.45, 0, 0.55, 1) 80ms infinite;
}

.unified-results-grid.loading-results .skeleton-butterfly-crease {
  z-index: 3;
  clip-path: inset(0 47.8% 0 47.8%);
}

.unified-results-grid.loading-results .skeleton-motion-rise .skeleton-super-orb {
  transform: translate(-50%, -50%);
}

@keyframes scout-super-orb-rim {
  0%, 100% { opacity: 0.82; }
  50% { opacity: 1; }
}

/* Vary color on the existing rasterized spectrum without moving its geometry.
   Because the complete stack shares one filter, opposite color regions remain
   synchronized while the sampled ring positions stay fixed. */
@keyframes scout-orb-neon-variance {
  0%, 18%, 100% { filter: blur(0.65px) saturate(1.1) brightness(1.06) hue-rotate(0deg); }
  48%, 68% { filter: blur(0.65px) saturate(1.28) brightness(1.12) hue-rotate(78deg); }
}

@keyframes scout-super-orb-aura {
  0%, 100% { opacity: 0.84; transform: scale(0.99); }
  50% { opacity: 1; transform: scale(1.015); }
}

@keyframes scout-super-orb-breathe {
  0%, 100% { opacity: 0.94; transform: scale(0.995); }
  50% { opacity: 1; transform: scale(1.008); }
}

@keyframes scout-butterfly-breathe {
  0%, 100% { opacity: 0.82; }
  50% { opacity: 0.94; }
}

@keyframes scout-butterfly-neon-bleed {
  0%, 18%, 100% { opacity: 0.1; filter: saturate(1.1) hue-rotate(0deg); }
  48%, 68% { opacity: 0.18; filter: saturate(1.28) hue-rotate(78deg); }
}

@keyframes scout-butterfly-left-wing {
  0%, 100% { transform: rotateY(0deg); }
  50% { transform: rotateY(-5deg); }
}

@keyframes scout-butterfly-right-wing {
  0%, 100% { transform: rotateY(0deg); }
  50% { transform: rotateY(4deg); }
}

@keyframes scout-butterfly-glint {
  0%, 62% { background-position: 150% 0; opacity: 0; }
  68% { opacity: 0.72; }
  78% { background-position: -70% 0; opacity: 0; }
  100% { background-position: -70% 0; opacity: 0; }
}

@keyframes scout-loader-ambient {
  0%, 100% { opacity: 0.34; transform: scale(0.86); }
  50% { opacity: 0.62; transform: scale(1.08); }
}

@keyframes scout-loader-contour {
  0%, 100% { opacity: 0.42; }
  50% { opacity: 0.82; }
}

@media (prefers-reduced-motion: reduce) {
  .unified-results-grid.loading-results .thumbnail::before,
  .unified-results-grid.loading-results .result-card::before,
  .unified-results-grid.loading-results .skeleton-super-orb::before,
  .unified-results-grid.loading-results .skeleton-super-orb::after,
  .unified-results-grid.loading-results .skeleton-orb-ring-stack-core,
  .unified-results-grid.loading-results .skeleton-orb-spectrum,
  .unified-results-grid.loading-results .skeleton-orb-glass,
  .unified-results-grid.loading-results .skeleton-orb-butterfly,
  .unified-results-grid.loading-results .skeleton-orb-butterfly::before,
  .unified-results-grid.loading-results .skeleton-orb-butterfly::after,
  .unified-results-grid.loading-results .skeleton-butterfly-wing {
    animation: none !important;
  }

  .unified-results-grid.loading-results .skeleton-orb-butterfly {
    opacity: 0.88;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 1500px) {
  .view-results .topbar {
    grid-template-columns: 220px 320px minmax(300px, 1fr) 60px;
  }

  .view-results .sidebar-toggle {
    width: 72px;
    height: 72px;
  }

  .view-results .brand-mark {
    width: 190px;
    margin-left: 62px;
  }

  .view-results .header-search-form {
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr) 76px;
  }

  .view-results .header-search-form input {
    font-size: 17px;
  }

  .view-results .header-search-form .search-submit svg {
    width: var(--interface-icon-size, 20px);
    height: var(--interface-icon-size, 20px);
  }

  .view-results .results-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .view-results .filters-sidebar {
    padding-inline: 14px;
  }

  .view-results .filter-group {
    width: 100%;
    padding-inline: 22px;
  }

  .view-results .results-content {
    padding-inline: 54px;
  }

  .unified-results-grid {
    gap: 36px;
  }

  .unified-results-grid .result-row {
    gap: 34px;
  }

  .unified-results-grid .short-row {
    column-gap: 34px;
  }

  .unified-results-grid .result-title {
    font-size: 21px;
  }

  .unified-results-grid .result-description {
    font-size: 14px;
  }
}

@media (min-width: 1101px) {
  .view-results .brand-mark {
    width: 160px;
    margin-left: 16px;
  }

  .view-results .header-search-form {
    position: absolute;
    left: 50%;
    width: clamp(320px, calc(100vw - 860px), 940px);
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .view-results .topbar {
    grid-template-columns: 88px 150px minmax(280px, 1fr) 170px;
  }

  .view-results .sidebar-toggle {
    width: 66px;
    height: 66px;
  }

  .view-results .brand-mark {
    width: 140px;
    margin-left: 0;
  }

  .view-results .results-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .view-results .filters-sidebar {
    padding-inline: 10px;
  }

  .view-results .filter-group {
    width: 100%;
    padding-inline: 14px;
  }

  .view-results .results-content {
    padding: 42px 34px 140px;
  }

  .unified-results-grid,
  .unified-results-grid .result-row {
    gap: 30px;
  }

  .unified-results-grid .landscape-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .unified-results-grid .short-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .unified-results-grid .result-title {
    font-size: 19px;
  }

  .unified-results-grid .result-description {
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  .view-results .topbar {
    position: sticky;
    top: 0;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    grid-template-rows: 58px 66px;
    min-height: 132px;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .view-results .sidebar-toggle {
    grid-column: 1;
    grid-row: 1;
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .view-results .sidebar-toggle svg {
    width: var(--interface-icon-size, 20px);
    height: var(--interface-icon-size, 20px);
  }

  .view-results .brand-mark {
    grid-column: 2;
    grid-row: 1;
    width: 132px;
    height: 34px;
    margin-left: 12px;
  }

  .view-results .brand-logo-original {
    transform: translateY(-3px);
  }

  .view-results .header-search-form {
    grid-column: 1 / -1;
    grid-row: 2;
    width: calc(100% - 28px);
    min-height: 54px;
    grid-template-columns: minmax(0, 1fr) 52px;
    margin: 0 14px 10px;
    padding: 4px;
  }

  .view-results .header-account-actions {
    grid-column: 3;
    grid-row: 1;
    margin-right: 8px;
  }

  .view-results .header-search-form input {
    padding-left: 18px;
    font-size: 14px;
  }

  .view-results .header-search-form .search-submit {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .view-results .header-search-form .search-submit svg {
    width: var(--interface-icon-size, 20px);
    height: var(--interface-icon-size, 20px);
  }

  .view-results .results-shell,
  .view-results .results-layout,
  .view-results .results-content {
    min-height: calc(100vh - 132px);
  }

  .view-results .results-layout,
  .view-results.filters-collapsed .results-layout {
    display: block;
  }

  .view-results .filters-sidebar {
    position: fixed;
    top: 132px;
    left: 0;
    z-index: 11;
    width: 220px;
    min-height: calc(100vh - 132px);
    max-height: calc(100vh - 132px);
    padding: 26px 14px 70px;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    transform: translateX(0);
    transition: transform 180ms ease, opacity 140ms ease;
  }

  .view-results .filter-group {
    width: 100%;
    padding-inline: 14px;
  }

  .view-results.filters-collapsed .filters-sidebar {
    padding: 26px 14px 70px;
    border-right: 1px solid #526571;
    opacity: 0;
    transform: translateX(-100%);
  }

  .view-results .results-content {
    padding: 34px 22px 110px;
  }

  .view-results .status-region {
    margin-bottom: 16px;
  }

  .unified-results-grid {
    gap: 22px;
  }

  .unified-results-grid .result-row {
    gap: 16px;
  }

  .unified-results-grid .landscape-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .unified-results-grid .short-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 520px) {
  .view-results .topbar {
    min-height: 132px;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    grid-template-rows: 58px 66px;
  }

  .view-results .sidebar-toggle {
    grid-column: 1;
    grid-row: 1;
    width: 44px;
    height: 44px;
    margin: 7px;
  }

  .view-results .brand-mark {
    grid-column: 2;
    grid-row: 1;
    width: 112px;
    height: 34px;
    margin-left: 14px;
    justify-self: start;
  }

  .view-results .header-account-actions {
    grid-column: 3;
    grid-row: 1;
    margin: 0 8px 0 0;
  }

  .view-results .header-search-form {
    grid-column: 1 / -1;
    grid-row: 2;
    width: calc(100% - 28px);
    min-height: 50px;
    margin: 0 14px 10px;
  }

  .view-results .header-search-form input {
    min-height: 42px;
    padding-left: 13px;
    font-size: 12px;
  }

  .view-results .results-shell,
  .view-results .results-layout,
  .view-results .results-content {
    min-height: calc(100vh - 124px);
  }

  .view-results .filters-sidebar {
    top: 124px;
    min-height: calc(100vh - 124px);
  }

  .view-results .results-content {
    padding-inline: 14px;
  }

  .unified-results-grid {
    gap: 16px;
  }

  .unified-results-grid .result-row {
    gap: 12px;
  }

  .unified-results-grid .landscape-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .unified-results-grid .short-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .unified-results-grid .card-body,
  .unified-results-grid .is-short .card-body {
    padding: 42px 50px 38px 12px;
  }

  .unified-results-grid .result-title {
    font-size: 15px;
  }

  .unified-results-grid .result-description {
    display: none;
  }

  .unified-results-grid .view-count,
  .unified-results-grid .duration {
    right: 10px;
    bottom: 10px;
    font-size: 11px;
  }

  .unified-results-grid .view-count {
    right: auto;
  }

  .unified-results-grid .card-actions {
    top: 9px;
    right: 8px;
    gap: 6px;
  }

  .unified-results-grid .card-action {
    width: 30px;
    height: 30px;
  }

  .unified-results-grid .card-action svg {
    width: var(--interface-icon-size, 20px);
    height: var(--interface-icon-size, 20px);
  }
}

/* Single-screen homepage composition. Keep this last so the landing view cannot
   inherit the earlier long-form footer and section spacing. */

html.view-home,
body.view-home {
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.view-home .app-shell {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.view-home .topbar {
  block-size: clamp(96px, 13vh, 132px);
  min-height: 0;
  align-items: center;
  padding: 20px clamp(28px, 5vw, 82px);
}

.view-home main {
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

.view-home .search-stage {
  width: min(calc(100% - 40px), 1580px);
  height: 100%;
  min-height: 0;
  justify-content: center;
  padding: clamp(16px, 3.2vh, 34px) 24px;
}

.view-home .hero-headline {
  margin-top: 18px;
  font-size: clamp(62px, 6vw, 96px);
  line-height: 0.89;
}

.view-home .hero-description {
  margin-top: 25px;
}

.view-home .home-search-form {
  min-height: 84px;
  margin-top: 36px;
}

.view-home .home-search-form input {
  min-height: 66px;
}

.view-home .profile-promise {
  min-height: 68px;
  margin-top: clamp(30px, 4.4vh, 48px);
  padding-top: 18px;
}

.view-home .footer {
  width: 100%;
  height: 56px;
  min-height: 56px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 clamp(28px, 5vw, 82px);
  border-top: 1px solid rgba(215, 232, 237, 0.08);
  color: #9fabb1;
  background: linear-gradient(90deg, rgba(39, 57, 67, 0.74), rgba(43, 54, 62, 0.68));
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  backdrop-filter: blur(14px) saturate(1.08);
}

.view-home .footer-content {
  width: min(100%, 1728px);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
}

.view-home .footer-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  padding: 0;
}

.view-home .footer-links a {
  margin: 0;
  color: #acb7bc;
  font-size: 12px;
  font-weight: 570;
  letter-spacing: 0.015em;
}

.view-home .footer-legal {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  color: #89979e;
  font-size: 11px;
  white-space: nowrap;
}

@media (max-height: 760px) and (min-width: 701px) {
  .view-home .topbar {
    block-size: 82px;
    padding-block: 12px;
  }

  .view-home .brand-mark {
    width: 172px;
    height: 44px;
  }

  .view-home .account-actions {
    min-height: 48px;
  }

  .view-home .signup-button {
    min-height: 48px;
  }

  .view-home .search-stage {
    padding-block: 8px;
  }

  .view-home .hero-headline {
    margin-top: 12px;
    font-size: clamp(52px, 5.2vw, 72px);
  }

  .view-home .hero-description {
    margin-top: 16px;
    font-size: 14px;
  }

  .view-home .home-search-form {
    min-height: 70px;
    margin-top: 22px;
  }

  .view-home .home-search-form input {
    min-height: 54px;
  }

  .view-home .profile-promise {
    min-height: 52px;
    margin-top: 22px;
    padding-top: 13px;
  }

  .view-home .profile-promise h2 {
    font-size: 21px;
  }

  .view-home .footer {
    height: 48px;
    min-height: 48px;
  }
}

@media (max-width: 700px) {
  .view-home .topbar {
    position: static;
    block-size: 86px;
    min-height: 0;
    padding: 16px 18px 12px;
    background: transparent;
  }

  .view-home .search-stage {
    width: calc(100% - 20px);
    height: 100%;
    min-height: 0;
    padding: 12px 2px;
  }

  .view-home .hero-headline {
    margin-top: 14px;
    font-size: clamp(39px, 11.2vw, 58px);
  }

  .view-home .hero-description {
    margin-top: 18px;
  }

  .view-home .home-search-form {
    min-height: 68px;
    margin-top: 28px;
  }

  .view-home .home-search-form input {
    min-height: 56px;
  }

  .view-home .profile-promise {
    min-height: 0;
    margin-top: 30px;
    padding: 16px 2px 0;
    align-items: center;
    flex-direction: row;
    gap: 16px;
  }

  .view-home .profile-promise h2 {
    font-size: 19px;
  }

  .view-home .profile-promise a {
    font-size: 12px;
  }

  .view-home .footer {
    height: 52px;
    min-height: 52px;
    padding-inline: 18px;
  }

  .view-home .footer-content {
    gap: 16px;
  }

  .view-home .footer-links {
    gap: 14px;
  }

  .view-home .footer-links a {
    font-size: 10px;
  }

  .view-home .footer-legal {
    font-size: 9px;
  }
}
