:root {
  --page-bg: #050304;
  --ink: #28121d;
  --muted: #806371;
  --paper: #fff8fb;
  --paper-soft: #f7eaf0;
  --paper-deep: #ebd4df;
  --berry: #8f214e;
  --berry-dark: #55142f;
  --berry-bright: #c73470;
  --blush: #f3b7cc;
  --cream: #fffdfd;
  --night-panel: #160b11;
  --night-line: #40202e;
  --focus: #ffbad2;
  --radius-sm: 3px;
  --radius-md: 7px;
  --radius-lg: 12px;
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 16px;
  --space-4: 22px;
  --space-5: 28px;
  --shadow: 0 14px 32px rgba(31, 5, 17, .3);
  --container: 1440px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--page-bg);
  color: var(--cream);
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 24px), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 9px 14px;
  background: var(--cream);
  color: var(--berry-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--night-line);
}

.header-edition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: end;
  min-height: 106px;
  padding-block: 17px 14px;
}

.brand {
  display: grid;
  min-width: 0;
  width: fit-content;
}

.brand-kicker,
.eyebrow,
.section-kicker {
  color: var(--berry);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.brand-kicker b {
  display: inline-block;
  margin-right: 7px;
  padding: 1px 5px;
  color: var(--cream);
  background: var(--berry);
  border-radius: var(--radius-sm);
}

.brand-name {
  max-width: 100%;
  margin-top: 2px;
  color: var(--berry-dark);
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(1.65rem, 7vw, 2.8rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.035em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-note {
  margin-top: 5px;
  color: var(--muted);
  font-size: .76rem;
}

.header-issue {
  display: none;
  padding-left: 18px;
  border-left: 1px solid var(--berry);
  text-align: right;
}

.header-issue span,
.header-issue strong {
  display: block;
}

.header-issue span {
  color: var(--muted);
  font-size: .64rem;
  letter-spacing: .12em;
}

.header-issue strong {
  color: var(--berry-dark);
  font-family: Georgia, serif;
  font-size: 1.3rem;
}

.search-layer {
  padding-block: 10px;
  color: var(--cream);
  background: var(--berry-dark);
  border-block: 1px solid #772247;
}

.search-layer__inner {
  display: grid;
  gap: 8px;
}

.search-intro {
  display: none;
  margin: 0;
  color: #e8c8d6;
  font-size: .8rem;
}

.search-intro span {
  margin-right: 8px;
  color: #fff;
  font-weight: 800;
}

.site-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius-sm);
  background: var(--cream);
}

.site-search input {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.site-search input::placeholder {
  color: #9b7c89;
}

.site-search button {
  min-width: 82px;
  padding: 8px 13px;
  border: 0;
  border-left: 1px solid var(--paper-deep);
  border-radius: 0;
  color: var(--berry-dark);
  background: var(--blush);
  font-weight: 800;
  cursor: pointer;
}

.site-search button:hover {
  color: #fff;
  background: var(--berry-bright);
}

.sponsor-banner,
.sponsor-banner.container {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100% !important;
  max-width: none !important;
  margin: 2px 0 !important;
  padding: 0 !important;
  gap: 2px 6px;
}

.sponsor-banner__item,
.sponsor-banner__item a,
.sponsor-banner__item img {
  width: 100%;
  height: 100%;
}

.sponsor-banner__item a,
.sponsor-banner__item img {
  display: block;
}

.sponsor-banner__item img {
  object-fit: fill;
  border-radius: 2px;
}

.category-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-block: 2px;
  background: var(--paper-deep);
  border: 1px solid var(--paper-deep);
}

.category-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 7px 5px;
  color: var(--berry-dark);
  background: var(--paper);
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
}

.category-nav a:hover,
.category-nav a:focus-visible,
.category-nav__home {
  color: #fff !important;
  background: var(--berry) !important;
}

.hot-searches {
  display: grid;
  gap: 8px;
  padding-block: 11px 13px;
}

.hot-searches__label {
  color: var(--berry);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .11em;
}

.hot-searches__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.hot-searches__links a {
  max-width: 100%;
  padding: 3px 9px;
  overflow: hidden;
  color: var(--ink);
  background: #f1dfe7;
  border: 1px solid #e4c6d3;
  border-radius: 999px;
  font-size: .75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-searches__links a:hover {
  color: #fff;
  background: var(--berry);
}

.page-shell {
  padding-block: 18px 24px;
}

.home-heading,
.catalog-heading,
.search-heading,
.play-heading {
  margin-bottom: 18px;
}

.home-heading {
  display: grid;
  gap: 8px;
  padding: 16px;
  color: var(--ink);
  background: linear-gradient(110deg, var(--paper) 0 72%, var(--paper-deep) 72%);
  border-left: 5px solid var(--berry);
  box-shadow: var(--shadow);
}

.home-heading h1,
.catalog-heading h1,
.search-heading h1,
.play-heading h1 {
  margin: 3px 0 0;
  font-family: Georgia, "Songti SC", serif;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.home-heading h1 {
  color: var(--berry-dark);
  font-size: clamp(1.5rem, 5vw, 2.35rem);
}

.home-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
}

.magazine-section,
.catalog-content,
.search-results {
  margin-top: 20px;
}

.magazine-section--curated {
  padding: 16px 12px 12px;
  background: #1b0b12;
  border: 1px solid var(--night-line);
  border-left: 4px solid var(--berry-bright);
}

.magazine-section--latest {
  padding-top: 2px;
  border-top: 1px solid #5e263e;
}

.section-heading {
  display: flex;
  min-width: 0;
  margin-bottom: 12px;
}

.section-heading h2,
.catalog-toolbar h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(1.25rem, 4.7vw, 1.75rem);
  line-height: 1.15;
}

.section-heading p {
  margin: 0;
  color: #ba94a5;
  font-size: .76rem;
}

.section-index {
  flex: 0 0 auto;
  color: var(--blush);
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.section-heading--indexed {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: end;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--night-line);
}

.section-heading--indexed p {
  grid-column: 2;
}

.section-heading--split {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.section-heading__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 10px;
  color: #c990a7;
  border-right: 1px solid #71324d;
  font-size: .58rem;
  letter-spacing: .08em;
  writing-mode: vertical-rl;
}

.section-heading--line {
  display: grid;
  grid-template-columns: auto minmax(0, auto) minmax(24px, 1fr);
  gap: 9px;
  align-items: center;
  padding-top: 13px;
}

.section-heading--line p {
  grid-column: 2 / -1;
}

.section-heading__rule {
  height: 1px;
  background: #71324d;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.video-card {
  min-width: 0;
  height: 100%;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #e8cfd9;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.video-card > a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
}

.video-card:hover {
  border-color: var(--berry-bright);
  box-shadow: 0 12px 28px rgba(112, 21, 59, .35);
  transform: translateY(-2px);
}

.video-cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #190b11;
  border-radius: 2px 2px 0 0;
}

.video-cover::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  background: linear-gradient(transparent, rgba(48, 7, 25, .72));
  pointer-events: none;
}

.video-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease, filter .28s ease;
}

.video-card:hover .video-cover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.025);
}

.play-mark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: rgba(100, 17, 52, .78);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .35);
  opacity: .88;
  transform: translate(-50%, -50%);
}

.play-mark::after {
  position: absolute;
  top: 50%;
  left: 54%;
  content: "";
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #fff;
  transform: translate(-50%, -50%);
}

.cover-label {
  position: absolute;
  z-index: 3;
  right: 6px;
  bottom: 5px;
  max-width: calc(100% - 12px);
  padding: 2px 5px;
  overflow: hidden;
  color: #fff;
  background: var(--berry);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 2px;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 8px 9px 9px;
}

.video-card__meta {
  display: block;
  margin-bottom: 3px;
  overflow: hidden;
  color: var(--berry);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-card h3 {
  display: -webkit-box;
  min-width: 0;
  height: 2.8em;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.video-card--ranked {
  border-bottom: 3px solid var(--berry);
}

.video-card--editorial {
  background: #f8eaf0;
}

.video-card--latest .video-card__body {
  border-left: 3px solid var(--blush);
}

.empty-state {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 22px 16px;
  color: #c9a8b6;
  background: var(--night-panel);
  border: 1px dashed #6e314b;
  text-align: center;
}

.empty-state strong {
  color: #fff3f7;
}

.video-grid:not(:empty) + .empty-state {
  display: none;
}

.catalog-heading {
  display: grid;
  gap: 14px;
  padding: 18px;
  color: var(--ink);
  background: var(--paper);
  border-top: 5px solid var(--berry);
}

.catalog-heading h1 {
  color: var(--berry-dark);
  font-size: clamp(1.7rem, 7vw, 2.7rem);
}

.catalog-heading__title p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.catalog-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: #d9b5c5;
  border: 1px solid #d9b5c5;
}

.catalog-stats div {
  min-width: 0;
  padding: 10px;
  background: var(--paper-soft);
  text-align: center;
}

.catalog-stats dt {
  color: var(--muted);
  font-size: .68rem;
}

.catalog-stats dd {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--berry-dark);
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-overflow: ellipsis;
}

.catalog-content {
  margin-top: 0;
  padding: 12px;
  background: var(--night-panel);
  border: 1px solid var(--night-line);
}

.catalog-toolbar {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--night-line);
}

.catalog-toolbar > div:first-child {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.sort-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.sort-options a,
.sort-options button,
.sort-options span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  color: #e7c7d4;
  background: #321321;
  border: 1px solid #683047;
  border-radius: var(--radius-sm);
  font-size: .74rem;
}

.sort-options a:hover,
.sort-options .active,
.sort-options .current {
  color: #fff;
  background: var(--berry);
  border-color: var(--berry-bright);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
  padding: 12px;
  background: #1a0c12;
  border-block: 1px solid var(--night-line);
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 5px 10px;
  color: #f7dce7;
  background: #321522;
  border: 1px solid #6c3049;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-weight: 700;
}

.page-link:hover,
.page-link.current,
.page-link.active,
.page-link.on {
  color: var(--berry-dark);
  background: var(--blush);
  border-color: #fff0f6;
}

.search-heading {
  display: grid;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #efcfdb;
}

.search-heading__number {
  padding: 9px 13px;
  color: #ffe8f0;
  background: var(--berry-dark);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.search-heading__content {
  padding: 16px;
}

.search-heading h1 {
  color: var(--berry-dark);
  font-size: clamp(1.45rem, 5.8vw, 2.35rem);
}

.search-heading p {
  margin: 7px 0 0;
  color: var(--muted);
}

.search-heading p strong {
  color: var(--berry);
  font-size: 1.15em;
}

.search-results {
  margin-top: 0;
}

.section-heading--search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
  padding: 0 0 10px 11px;
  border-left: 3px solid var(--berry-bright);
  border-bottom: 1px solid var(--night-line);
}

.section-heading--search p {
  max-width: 150px;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.play-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 14px;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 3px solid var(--berry);
}

.play-heading__marker {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 55px;
  padding-right: 10px;
  color: var(--berry);
  border-right: 1px solid #d8aebe;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.play-heading__marker b {
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.play-heading h1 {
  display: -webkit-box;
  margin-top: 2px;
  overflow: hidden;
  color: var(--berry-dark);
  font-size: clamp(1.25rem, 5.2vw, 2rem);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.play-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .76rem;
}

.player-section {
  width: 100%;
}

.player-frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  max-height: 540px;
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  overflow: hidden;
  background: #000;
  border: 1px solid #6d2d48;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .46);
  overscroll-behavior: auto;
}

.player-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  overflow: hidden;
  background: #000;
}

.player-frame.is-loading::after {
  position: absolute;
  right: 10px;
  bottom: 8px;
  content: "播放器载入中";
  padding: 3px 7px;
  color: #f5d9e4;
  background: rgba(74, 14, 39, .82);
  border-radius: 2px;
  font-size: .68rem;
  pointer-events: none;
}

.video-actions {
  width: min(100%, 960px);
  min-height: 44px;
  margin: 0 auto;
  padding: 8px 10px;
  color: #f2d8e2;
  background: #29101b;
  border: 1px solid #5f283f;
  border-top: 0;
}

.video-actions a,
.video-actions button {
  min-height: 32px;
  color: inherit;
}

.play-details {
  display: grid;
  grid-template-columns: minmax(100px, 32%) minmax(0, 1fr);
  gap: 12px;
  width: min(100%, 960px);
  margin: 14px auto 0;
  padding: 10px;
  color: var(--ink);
  background: var(--paper-soft);
  border-left: 4px solid var(--berry);
}

.play-details__poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #2a111c;
}

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

.play-details__copy {
  min-width: 0;
}

.play-details__copy h2 {
  margin: 0;
  color: var(--berry-dark);
  font-family: Georgia, "Songti SC", serif;
  font-size: 1.15rem;
}

.play-details__copy p {
  display: -webkit-box;
  margin: 5px 0;
  overflow: hidden;
  color: var(--ink);
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.play-details__copy small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: .7rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-section {
  margin-top: 20px;
}

.site-footer {
  color: #e9cbd7;
  background: #170a10;
  border-top: 3px solid var(--berry);
}

.footer-grid {
  display: grid;
  gap: 20px;
  padding-block: 22px;
}

.footer-brand__mark {
  display: inline-block;
  padding: 3px 7px;
  color: #fff;
  background: var(--berry);
  border-radius: 2px;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.footer-brand strong {
  display: block;
  margin-top: 8px;
  color: #fff6f9;
  font-family: Georgia, "Songti SC", serif;
  font-size: 1.35rem;
}

.footer-brand p {
  max-width: 560px;
  margin: 7px 0 0;
  color: #b990a1;
  font-size: .76rem;
}

.friend-links {
  min-width: 0;
}

.friend-links h2 {
  margin: 0 0 9px;
  color: #fff2f7;
  font-size: .95rem;
}

.friend-links__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.friend-links__list a {
  max-width: 100%;
  overflow: hidden;
  color: #d5abba;
  font-size: .76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.friend-links__list a:hover {
  color: var(--blush);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px 16px;
  padding-block: 11px 18px;
  color: #8f6979;
  border-top: 1px solid #40202e;
  font-size: .68rem;
}

.footer-bottom p {
  margin: 0;
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 20px;
  background: var(--page-bg);
}

.error-panel {
  position: relative;
  width: min(100%, 680px);
  padding: 24px;
  color: var(--ink);
  background: var(--paper);
  border-top: 6px solid var(--berry);
  box-shadow: var(--shadow);
}

.error-panel__edition {
  padding-bottom: 10px;
  color: var(--berry);
  border-bottom: 1px solid var(--paper-deep);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .11em;
}

.error-code {
  margin: 14px 0 -7px;
  color: var(--berry);
  font-family: Georgia, serif;
  font-size: clamp(4rem, 24vw, 8rem);
  font-weight: 700;
  line-height: 1;
}

.error-panel h1 {
  margin: 0;
  color: var(--berry-dark);
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(1.45rem, 7vw, 2.35rem);
}

.error-panel > p:not(.error-code) {
  color: var(--muted);
}

.error-home {
  display: inline-flex;
  margin-top: 8px;
  padding: 10px 17px;
  color: #fff;
  background: var(--berry);
  border: 1px solid var(--berry-dark);
  border-radius: var(--radius-sm);
  font-weight: 800;
}

.error-home:hover {
  background: var(--berry-dark);
}

.error-age {
  display: block;
  margin-top: 20px;
  color: #a98292;
  font-size: .64rem;
  letter-spacing: .12em;
}

@media (min-width: 520px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-issue {
    display: block;
  }

  .category-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .home-heading {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 36%);
    align-items: end;
  }

  .catalog-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

@media (min-width: 641px) {
  .sponsor-banner,
  .sponsor-banner.container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-layer__inner {
    grid-template-columns: minmax(190px, .7fr) minmax(360px, 1.3fr);
    align-items: center;
  }

  .search-intro {
    display: block;
  }

  .hot-searches {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .catalog-heading {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 36%);
    align-items: end;
  }

  .search-heading {
    grid-template-columns: 155px minmax(0, 1fr);
  }

  .search-heading__number {
    display: flex;
    align-items: flex-end;
    border-right: 1px solid #d9afc0;
    writing-mode: vertical-rl;
  }

  .footer-grid {
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  }
}

@media (min-width: 820px) {
  .category-nav {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .video-grid--featured .video-card:first-child {
    grid-column: span 2;
  }

  .video-grid--featured .video-card:first-child h3 {
    font-size: .95rem;
  }

  .section-heading--indexed {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .section-heading--indexed p {
    grid-column: 3;
  }

  .section-heading--line {
    grid-template-columns: auto minmax(0, auto) minmax(40px, 1fr) auto;
  }

  .section-heading--line p {
    grid-column: 4;
  }
}

@media (min-width: 1024px) {
  .container {
    width: min(calc(100% - 48px), var(--container));
  }

  .header-edition {
    min-height: 120px;
  }

  .category-nav {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .page-shell {
    padding-block: 24px 30px;
  }

  .magazine-section,
  .catalog-content,
  .search-results,
  .related-section {
    margin-top: 26px;
  }

  .catalog-content,
  .search-results {
    margin-top: 0;
  }

  .video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .video-card__body {
    padding: 10px 11px 11px;
  }

  .video-card h3 {
    font-size: .88rem;
  }

  .magazine-section--curated {
    padding: 20px 18px 18px;
  }

  .play-details {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

@media (min-width: 1280px) {
  .video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .category-nav {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }

  .video-grid--featured .video-card:first-child {
    grid-column: span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .video-card:hover,
  .video-card:hover .video-cover img {
    transform: none;
  }
}
