:root {
  color-scheme: dark;

  --page: #101114;

  --panel: #181a20;

  --panel-soft: #1e2027;

  --line: #2b2d35;

  --text: #f4f2f7;

  --muted: #a7a5b0;

  --accent: #ffb900;

  --accent-strong: #ffb900;

  --radius: 18px;

  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

a.related-video-category {
  display: none;
}
body {
  min-width: 320px;

  margin: 0;

  background: #000;

  color: var(--text);
}

a {
  color: inherit;

  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);

  outline-offset: 3px;
}

.site-header {
  width: min(1320px, calc(100% - 48px));

  min-height: 82px;

  margin: 0 auto;

  display: flex;

  align-items: center;

  gap: 34px;

  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;

  align-items: center;

  gap: 11px;

  flex-shrink: 0;

  font-size: 15px;

  font-weight: 750;

  letter-spacing: -0.02em;
}

.header-menu {
  display: contents;
}

.menu-toggle {
  display: none;
}

.brand-mark {
  display: block;

  width: 38px;

  height: 38px;

  flex-shrink: 0;

  object-fit: contain;
}

.main-nav {
  display: flex;

  align-items: center;

  gap: 25px;

  color: var(--muted);

  font-size: 13px;
}

.main-nav a:hover,
.story-tags a:hover,
.story-category:hover {
  color: var(--accent);
}

.search-form {
  position: relative;

  display: flex;

  gap: 8px;

  margin-left: auto;
}

.search-form input {
  width: min(230px, 24vw);

  min-height: 40px;

  padding: 0 13px;

  border: 1px solid var(--line);

  border-radius: 10px;

  background: var(--panel);

  color: var(--text);

  font: inherit;

  font-size: 13px;
}

.search-form input::placeholder {
  color: #85838e;
}

.search-form button,
.primary-link {
  min-height: 40px;

  padding: 0 15px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  border: 0;

  border-radius: 10px;

  background: var(--accent);

  color: #20162d;

  font: inherit;

  font-size: 13px;

  font-weight: 750;

  cursor: pointer;

  transition:
    background 150ms ease,
    transform 150ms ease;
}

.search-form button:hover,
.primary-link:hover {
  background: #d7c0ff;

  transform: translateY(-1px);
}

.search-suggestions {
  width: min(420px, calc(100vw - 32px));

  max-height: min(60vh, 440px);

  position: absolute;

  top: calc(100% + 8px);

  right: 0;

  z-index: 20;

  overflow-y: auto;

  border: 1px solid var(--line);

  border-radius: 12px;

  background: #181a20;

  box-shadow: 0 16px 38px #0008;
}

.search-suggestions[hidden] {
  display: none;
}

.search-suggestions-group + .search-suggestions-group {
  border-top: 1px solid var(--line);
}

.search-suggestions-heading {
  padding: 11px 14px 5px;

  color: var(--accent);

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.13em;

  text-transform: uppercase;
}

.search-suggestion {
  min-height: 40px;

  padding: 9px 14px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 16px;

  color: var(--text);

  font-size: 12px;
}

.search-suggestion:hover,
.search-suggestion.is-active {
  background: var(--panel-soft);

  color: var(--accent);
}

.search-suggestion-type {
  flex-shrink: 0;

  color: var(--muted);

  font-size: 10px;
}

.hero {
  width: min(1320px, calc(100% - 48px));

  min-height: 330px;

  margin: 28px auto 42px;

  padding: clamp(30px, 5vw, 66px);

  position: relative;

  display: flex;

  align-items: center;

  overflow: hidden;

  border: 1px solid #55466a;

  border-radius: 25px;

  background: linear-gradient(105deg, #211c2b 0%, #211c2b 45%, #342741 100%);
}

.hero-copy {
  max-width: 570px;

  position: relative;

  z-index: 1;
}

.eyebrow {
  margin: 0 0 11px;

  color: var(--accent);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.15em;
}

.hero h1 {
  margin: 0;

  font-size: clamp(34px, 5vw, 59px);

  line-height: 1.04;

  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--accent);
}

.hero-description {
  max-width: 450px;

  margin: 17px 0 22px;

  color: #c3bfcb;

  font-size: 14px;

  line-height: 1.7;
}

.hero-art {
  width: 44%;

  height: 100%;

  position: absolute;

  top: 0;

  right: 0;

  overflow: hidden;
}

.hero-orbit {
  width: 260px;

  height: 260px;

  position: absolute;

  top: 34px;

  right: 72px;

  border: 1px solid #d5bdff40;

  border-radius: 50%;
}

.hero-orbit-two {
  width: 350px;

  height: 350px;

  top: -11px;

  right: 25px;
}

.hero-sun {
  width: 155px;

  height: 155px;

  position: absolute;

  top: 57px;

  right: 124px;

  border-radius: 50%;

  background: linear-gradient(145deg, #f8d8c6, #bd8bd9);

  box-shadow: 0 0 80px #c7a6ff55;
}

.hero-horizon {
  width: 120%;

  height: 120px;

  position: absolute;

  right: -9%;

  bottom: -34px;

  border-radius: 50% 50% 0 0;

  background: linear-gradient(100deg, #292133, #493552);

  transform: rotate(-8deg);
}

.content-layout {
  width: min(1320px, calc(100% - 48px));

  margin: 0 auto 72px;

  align-items: start;

  gap: 34px;
}

.category-directory {
  width: min(1320px, calc(100% - 48px));

  min-height: calc(100vh - 170px);

  margin: 42px auto 70px;
}

.category-directory h1 {
  margin: 0;

  font-size: clamp(30px, 4vw, 42px);

  letter-spacing: -0.045em;
}

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

.tag-directory {
  width: min(1120px, calc(100% - 48px));

  min-height: calc(100vh - 170px);

  margin: 42px auto 70px;
}

.tag-directory h1 {
  margin: 0;

  font-size: clamp(30px, 4vw, 42px);

  letter-spacing: -0.045em;
}

.tag-letter-nav {
  margin-bottom: 22px;

  display: flex;

  flex-wrap: wrap;

  gap: 7px;
}

.tag-letter-nav a,
.tag-directory-link {
  border: 1px solid var(--line);

  border-radius: 9px;

  background: var(--panel);

  color: #d3cfdb;

  transition:
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease;
}

.tag-letter-nav a {
  min-width: 36px;

  min-height: 36px;

  padding: 0 9px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  font-size: 12px;

  font-weight: 750;
}

.tag-letter-nav a:hover,
.tag-directory-link:hover {
  border-color: #9c78cc;

  background: #c7a6ff19;

  color: var(--accent);
}

.tag-directory-groups {
  display: grid;

  gap: 15px;
}

.tag-directory-group {
  padding: 18px;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background: linear-gradient(145deg, #191a20, #15161a);

  scroll-margin-top: 20px;
}

.tag-directory-group h2 {
  margin: 0 0 14px;

  color: var(--accent);

  font-size: 20px;
}

.tag-directory-links {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 8px;
}

.tag-directory-link {
  min-width: 0;

  min-height: 40px;

  padding: 0 11px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 8px;

  font-size: 12px;

  text-transform: capitalize;
}

.tag-directory-link > span:first-child {
  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;
}

.tag-directory-count {
  flex: 0 0 auto;

  color: var(--muted);

  font-size: 10px;
}

.sidebar {
  display: grid;

  gap: 24px;
}

.sidebar-section {
  padding: 21px 18px;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background: linear-gradient(145deg, #191a20, #15161a);
}

.section-heading h2,
.gallery-heading h2 {
  margin: 0;

  font-size: 19px;

  letter-spacing: -0.035em;
}

.category-list {
  display: grid;

  gap: 6px;

  margin-top: 17px;
}

.b-info__cat-link {
  min-height: 38px;

  padding: 0 11px;

  display: flex;

  align-items: center;

  border-radius: 9px;

  color: #c4c1cc;

  font-size: 13px;

  transition:
    background 150ms ease,
    color 150ms ease;
}

.b-info__cat-link:hover,
.b-info__cat-link.is-active {
  background: #c7a6ff19;

  color: var(--accent);
}

.b-links-cloud__content {
  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 16px;
}

.tag-link {
  padding: 7px 9px;

  border: 1px solid var(--line);

  border-radius: 999px;

  color: #c5c1ce;

  font-size: 11px;

  line-height: 1;

  text-transform: capitalize;

  transition:
    border-color 150ms ease,
    color 150ms ease,
    background 150ms ease;
}

.tag-link:hover,
.tag-link.is-active {
  border-color: #9c78cc;

  background: #c7a6ff17;

  color: var(--accent);
}

.gallery-heading {
  min-height: 59px;

  margin-bottom: 19px;

  display: flex;

  align-items: end;

  justify-content: space-between;

  gap: 16px;
}

.result-count {
  margin: 0 0 2px;

  color: var(--muted);

  font-size: 12px;
}

.gallery-grid {
  display: grid;

  grid-template-columns: repeat(5, minmax(0, 1fr));

  gap: 17px;
}

.story-card {
  min-width: 0;

  overflow: hidden;

  border: 1px solid var(--line);

  border-radius: 15px;

  background: var(--panel);

  transition:
    border-color 170ms ease,
    transform 170ms ease;
}

.story-card:hover {
  border-color: #6f5c88;

  transform: translateY(-3px);
}

.story-card-link {
  height: 100%;

  display: block;

  color: inherit;
}

.story-card-with-taxonomy {
  position: relative;
}

.story-card-primary-link {
  height: auto;

  position: static;
}

.story-card-primary-link::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 1;
}

.story-card-taxonomy {
  padding: 0 14px 14px;

  position: relative;

  z-index: 2;

  pointer-events: none;
}

.story-card-taxonomy .story-category,
.story-card-taxonomy .story-tags a {
  pointer-events: auto;
}

.story-card-taxonomy .story-category {
  display: inline-block;
}

.story-card-taxonomy .story-tags {
  margin-top: 9px;
}

.story-art {
  aspect-ratio: 320 / 190;

  position: relative;

  display: grid;

  place-items: center;

  overflow: hidden;

  background: #25232e;
}

.story-art::before,
.story-art::after {
  content: "";

  position: absolute;

  border-radius: 50%;
}

.story-art::before {
  width: 58%;

  aspect-ratio: 1;

  right: 9%;

  top: -20%;

  background: #ffffff19;
}

.story-art::after {
  width: 84%;

  height: 48%;

  left: -9%;

  bottom: -20%;

  border-radius: 50% 50% 0 0;

  background: #15151c5e;

  transform: rotate(-12deg);
}

.story-art.has-cover::before,
.story-art.has-cover::after {
  display: none;
}

.duration-badge {
  padding: 3px 5px;

  position: absolute;

  right: 7px;

  bottom: 7px;

  z-index: 4;

  border-radius: 4px;

  background: #08090bd9;

  color: #fff;

  font-size: 10px;

  font-weight: 700;

  line-height: 1.2;
}

.tone-amber {
  background: linear-gradient(135deg, #684f46, #d29d6f 54%, #46313d);
}

.tone-violet {
  background: linear-gradient(135deg, #4a426b, #b18fcb 54%, #362e49);
}

.tone-coast {
  background: linear-gradient(135deg, #547c86, #d2c5a5 58%, #54717b);
}

.tone-rose {
  background: linear-gradient(135deg, #714b5d, #d6a0a9 55%, #493947);
}

.tone-night {
  background: linear-gradient(135deg, #263248, #73628f 58%, #302338);
}

.tone-mint {
  background: linear-gradient(135deg, #4e7567, #bdd0a9 57%, #344a4b);
}

.art-sun {
  width: 30%;

  aspect-ratio: 1;

  position: absolute;

  top: 17%;

  left: 18%;

  z-index: 1;

  border-radius: 50%;

  background: #fff3de9c;

  box-shadow: 0 0 36px #fff3de55;
}

.art-shape {
  width: 27%;

  height: 64%;

  position: absolute;

  z-index: 2;

  bottom: -11%;

  left: 47%;

  border-radius: 48% 48% 10% 10%;

  background: linear-gradient(180deg, #f1d7d0, #523e51);

  transform: rotate(9deg);

  opacity: 0.75;
}

.art-label {
  position: absolute;

  right: 10px;

  bottom: 10px;

  z-index: 3;

  padding: 5px 7px;

  border: 1px solid #ffffff44;

  border-radius: 5px;

  background: #14131a55;

  color: #fff;

  font-size: 8px;

  font-weight: 800;

  letter-spacing: 0.12em;
}

.story-copy {
  display: block;

  padding: 14px 14px 15px;
}

.story-meta {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 10px;

  color: var(--muted);

  font-size: 10px;
}

.story-category {
  color: var(--accent);

  font-weight: 700;
}

.story-like-count {
  color: #ff9fbd;

  font-variant-numeric: tabular-nums;

  font-weight: 700;
}

.story-title {
  margin: -2px 0 0px;

  display: block;

  overflow: hidden;

  font-size: 15px;

  letter-spacing: -0.025em;

  font-weight: 750;
}

.story-description {
  min-height: 38px;

  margin: 0;

  display: block;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.65;
}

.story-tags {
  margin-top: 7px;

  display: flex;

  flex-wrap: wrap;

  gap: 8px;
}

.story-tags a {
  color: #ffb900;

  font-size: 13px;

  font-weight: 600;

  border: 1px solid #ccc;

  border-radius: 5px;

  padding: 2px 6px;

  text-transform: capitalize;
}

p.video-description {
  margin: 0 0 5px;
}

.story-tags span {
  color: #9e9aa8;

  font-size: 10px;
}

.story-card-link:hover .story-title {
  color: var(--accent);
}

.pagination {
  margin-top: 28px;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-wrap: wrap;

  gap: 7px;
}

.pagination-number,
.pagination-control {
  min-width: 38px;

  min-height: 38px;

  padding: 0 10px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  border: 1px solid var(--line);

  border-radius: 9px;

  background: var(--panel);

  color: #d3cfdb;

  font-size: 12px;

  transition:
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease;
}

.pagination-control {
  min-width: 90px;
}

.pagination-number:hover,
.pagination-control:hover,
.pagination-number.is-current {
  border-color: #9c78cc;

  background: #c7a6ff19;

  color: var(--accent);
}

.pagination-number.is-current {
  font-weight: 800;
}

.pagination-control.is-disabled {
  color: #77747e;

  cursor: not-allowed;
}

.pagination-ellipsis {
  padding: 0 3px;

  color: var(--muted);
}

.empty-state {
  min-height: 300px;

  padding: 36px;

  display: grid;

  place-content: center;

  justify-items: center;

  border: 1px dashed #45414d;

  border-radius: var(--radius);

  text-align: center;
}

.empty-mark {
  color: var(--accent);

  font-size: 36px;
}

.empty-state h3 {
  margin: 10px 0 0;
}

.empty-state p {
  margin: 8px 0 18px;

  color: var(--muted);

  font-size: 13px;
}

.site-footer {
  width: min(1320px, calc(100% - 48px));

  min-height: 86px;

  margin: 0 auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  border-top: 1px solid var(--line);
}

.site-footer p {
  color: var(--muted);

  font-size: 11px;

  text-align: right;
}

.site-footer p a:hover,
.legal-section a:hover {
  color: var(--accent);
}

.legal-page {
  width: min(900px, calc(100% - 48px));

  margin: 60px auto 80px;

  color: var(--muted);

  font-size: 14px;

  line-height: 1.8;
}

.legal-page h1,
.legal-section h2 {
  color: var(--text);

  letter-spacing: -0.035em;
}

.legal-page h1 {
  margin: 0 0 18px;

  font-size: clamp(32px, 5vw, 48px);

  line-height: 1.1;
}

.legal-intro {
  max-width: 760px;

  margin: 0 0 34px;

  font-size: 16px;
}

.legal-section {
  margin-top: 24px;

  padding: 24px;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background: var(--panel);
}

.legal-section h2 {
  margin: 0 0 12px;

  font-size: 20px;
}

.legal-section p {
  margin: 12px 0 0;
}

.legal-section ul {
  padding-left: 22px;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-section a {
  color: var(--accent);

  text-decoration: underline;

  text-underline-offset: 3px;
}

.legal-note {
  font-size: 12px;
}

.sr-only {
  width: 1px;

  height: 1px;

  padding: 0;

  position: absolute;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);

  white-space: nowrap;

  clip-path: inset(50%);
}

@media (max-width: 1040px) {
  .content-layout {
    grid-template-columns: 215px minmax(0, 1fr);

    gap: 22px;
  }

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

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

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 32px, 560px);

    min-height: 72px;

    flex-wrap: wrap;

    gap: 12px 20px;

    padding: 14px 0;
  }

  .menu-toggle {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 40px;

    margin-left: auto;

    padding: 0 12px;

    border: 1px solid var(--line);

    border-radius: 10px;

    background: var(--panel);

    color: var(--text);

    font: inherit;

    font-size: 13px;

    cursor: pointer;
  }

  span.story-tags {
    display: none;
  }

  .menu-toggle-icon {
    width: 16px;

    display: grid;

    gap: 4px;
  }

  .menu-toggle-icon span {
    width: 16px;

    height: 2px;

    border-radius: 2px;

    background: var(--accent);

    transition:
      transform 160ms ease,
      opacity 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .header-menu {
    display: none;

    flex-basis: 100%;

    width: 100%;

    padding: 8px 0 4px;
  }

  .header-menu.is-open {
    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 16px;
  }

  .header-menu .main-nav {
    flex-wrap: wrap;

    gap: 12px 18px;

    margin-left: 0;

    font-size: 13px;
  }

  .search-form {
    width: 100%;

    margin-left: 0;
  }

  .search-form input {
    width: auto;

    min-width: 0;

    flex: 1;
  }

  .hero,
  .content-layout,
  .legal-page,
  .site-footer {
    width: min(100% - 32px, 560px);
  }

  .hero {
    min-height: 310px;

    margin-top: 20px;

    padding: 28px 22px;
  }

  .hero-art {
    width: 48%;

    opacity: 0.45;
  }

  .hero-orbit {
    right: -80px;
  }

  .hero-orbit-two {
    right: -120px;
  }

  .hero-sun {
    right: -19px;
  }

  .content-layout {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .category-directory {
    width: min(100% - 32px, 560px);

    margin-top: 28px;
  }

  .tag-directory {
    width: min(100% - 32px, 560px);

    margin-top: 28px;
  }

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

  .sidebar {
    grid-template-columns: 1fr 1fr;

    align-items: start;

    gap: 12px;
  }

  .sidebar-section {
    padding: 16px 13px;
  }

  .site-footer {
    align-items: flex-start;

    flex-direction: column;

    justify-content: center;

    padding: 18px 0;
  }

  .site-footer p {
    margin: 0;

    text-align: left;
  }
}

@media (max-width: 440px) {
  .brand {
    font-size: 13px;
  }

  .header-menu .main-nav {
    gap: 10px 14px;

    font-size: 12px;
  }

  @media (max-width: 440px) {
    .gallery-grid,
    .sidebar {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    span.story-tags {
      display: none;
    }
  }

  .category-directory .category-directory-grid {
    grid-template-columns: 1fr;
  }

  .tag-directory-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .gallery-heading {
    align-items: start;

    flex-direction: column;
  }

  .story-art {
    aspect-ratio: 320 / 190;
  }
}

.story-cover {
  width: 100%;

  height: 100%;

  position: absolute;

  inset: 0;

  object-fit: cover;
}

.video-detail-page {
  width: min(1050px, calc(100% - 48px));

  min-height: calc(100vh - 170px);

  margin: 38px auto 70px;
}

.video-detail {
  max-width: 900px;

  margin: 0 auto;
}

.video-back-link {
  display: inline-block;

  margin-bottom: 28px;

  color: var(--accent);

  font-size: 13px;
}

nav.main-nav a {
  font-weight: 500;
}

.video-detail h1 {
  margin: 0 0 22px;

  font-size: 20px;

  line-height: 1.2;

  letter-spacing: -0.035em;

  font-weight: bold;
}

.video-player-wrap {
  position: relative;

  overflow: hidden;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background: #000;
}

.video-center-play {
  width: 76px;

  height: 76px;

  padding: 0;

  position: absolute;

  top: 50%;

  left: 50%;

  display: grid;

  place-items: center;

  border: 1px solid #ffffffaa;

  border-radius: 50%;

  background: #17131dcc;

  box-shadow: 0 8px 32px #0008;

  color: #fff;

  cursor: pointer;

  transform: translate(-50%, -50%);

  transition:
    opacity 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.video-center-play:hover:not(:disabled) {
  background: var(--accent-strong);

  transform: translate(-50%, -50%) scale(1.08);
}

.video-center-play:disabled {
  cursor: wait;
}

.video-center-play.is-hidden {
  opacity: 0;

  pointer-events: none;

  transform: translate(-50%, -50%) scale(0.85);
}

.video-center-play span {
  width: 0;

  height: 0;

  margin-left: 6px;

  border-top: 13px solid transparent;

  border-bottom: 13px solid transparent;

  border-left: 20px solid currentColor;
}

.video-player-wrap video {
  width: 100%;

  aspect-ratio: 16 / 9;

  display: block;

  background: #000;
}

.video-player-status {
  min-height: 20px;

  margin: 0;

  color: #ffc2c9;

  font-size: 12px;
}

.video-description {
  color: #c3bfcb;

  font-size: 14px;

  line-height: 1.8;

  white-space: normal;
}

.video-like {
  margin-top: 20px;

  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 12px;
}

.video-like-button {
  min-height: 42px;

  padding: 0 15px;

  display: inline-flex;

  align-items: center;

  gap: 9px;

  border: 1px solid var(--line);

  border-radius: 999px;

  background: var(--panel);

  color: var(--text);

  font: inherit;

  font-size: 13px;

  font-weight: 700;

  cursor: pointer;

  transition:
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease;
}

.video-like-button:hover,
.video-like-button.is-selected {
  border-color: #b94c75;

  background: #b94c751c;

  color: #ff8eaf;
}

.video-like-button:disabled {
  cursor: wait;

  opacity: 0.7;
}

.video-like-button strong {
  min-width: 1ch;

  font-size: 11px;
}

.video-view-count {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  color: var(--muted);

  font-size: 12px;
}

.video-view-count strong {
  color: var(--text);
}

.video-like-message {
  margin: 8px 0 0;

  color: #ffc2c9;

  font-size: 12px;
}

.related-videos {
  max-width: 900px;

  margin: 44px auto 0;
}

.related-videos-heading {
  margin-bottom: 17px;

  display: flex;

  align-items: end;

  justify-content: space-between;

  gap: 16px;
}

.related-videos-heading h2 {
  margin: 0;

  font-size: 21px;

  letter-spacing: -0.035em;
}

.related-videos-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 14px;
}

.related-video-card {
  min-width: 0;

  overflow: hidden;

  border: 1px solid var(--line);

  border-radius: 13px;

  background: var(--panel);
}

.related-video-link {
  display: block;

  color: inherit;
}

.related-video-card-with-taxonomy {
  position: relative;
}

.related-video-primary-link {
  position: static;
}

.related-video-primary-link::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 1;
}

.related-video-taxonomy {
  padding: 0 12px 12px;

  position: relative;

  z-index: 2;

  pointer-events: none;
}

.related-video-category,
.related-video-taxonomy .story-tags a {
  pointer-events: auto;
}

.related-video-category {
  display: inline-block;

  color: var(--accent);

  font-size: 10px;

  font-weight: 700;
}

.related-video-taxonomy .story-tags {
  margin-top: 8px;
}

.related-video-art {
  aspect-ratio: 16 / 9;

  position: relative;

  display: grid;

  place-items: center;

  overflow: hidden;

  background: linear-gradient(135deg, #342741, #5c456b);
}

.related-video-art img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}

.related-video-placeholder {
  width: 38px;

  height: 38px;

  display: grid;

  place-items: center;

  padding-left: 3px;

  border: 1px solid #ffffff88;

  border-radius: 50%;

  color: #fff;

  font-size: 14px;
}

.related-video-copy {
  padding: 11px 12px 13px;

  display: block;
}

.related-video-copy > span {
  display: block;

  margin: 0 0 6px;

  color: var(--accent);

  font-size: 10px;
}

.related-video-copy strong {
  margin: 0;

  display: -webkit-box;

  overflow: hidden;

  font-size: 12px;

  line-height: 1.5;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 2;
}

.related-video-link:hover .related-video-copy strong {
  color: var(--accent);
}

.related-videos-empty {
  margin: 0;

  padding: 18px;

  border: 1px dashed #45414d;

  border-radius: 12px;

  color: var(--muted);

  font-size: 13px;
}

.watch-link {
  color: var(--accent) !important;

  font-weight: 750;
}

.admin-page {
  width: min(1120px, calc(100% - 48px));

  min-height: calc(100vh - 170px);

  margin: 42px auto 70px;
}

.admin-heading {
  max-width: 700px;

  margin: 0 0 26px;
}

.admin-heading h1,
.admin-panel h1 {
  margin: 0;

  font-size: clamp(30px, 4vw, 42px);

  letter-spacing: -0.045em;
}

.admin-heading > p:last-child,
.admin-panel > p {
  color: var(--muted);

  font-size: 13px;

  line-height: 1.7;
}

.admin-grid {
  display: grid;

  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);

  align-items: start;

  gap: 20px;
}

.admin-panel {
  padding: 24px;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background: var(--panel);
}

.admin-panel h2 {
  margin: 0 0 20px;

  font-size: 19px;
}

.admin-login {
  max-width: 460px;
}

.admin-login form,
.admin-form {
  display: grid;

  gap: 16px;
}

.admin-form label,
.admin-login label {
  display: grid;

  gap: 7px;

  color: #e8e5ee;

  font-size: 12px;

  font-weight: 700;
}

.admin-form input,
.admin-form textarea,
.admin-login input {
  width: 100%;

  min-height: 42px;

  padding: 10px 12px;

  border: 1px solid var(--line);

  border-radius: 9px;

  background: #111216;

  color: var(--text);

  font: inherit;

  font-size: 13px;
}

.admin-form textarea {
  min-height: 100px;

  resize: vertical;
}

.admin-form input::placeholder {
  color: #77747e;
}

.admin-form .primary-link,
.admin-login .primary-link {
  width: fit-content;

  margin-top: 3px;
}

.admin-form-row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 12px;
}

.field-hint {
  color: var(--muted);

  font-size: 10px;

  font-weight: 400;
}

.admin-message {
  margin-bottom: 15px;

  padding: 12px 15px;

  border: 1px solid var(--line);

  border-radius: 10px;

  font-size: 13px;
}

.admin-message.is-error {
  border-color: #9c4a59;

  background: #56263055;

  color: #ffc2c9;
}

.admin-message.is-success {
  border-color: #467f63;

  background: #1d493555;

  color: #b7efce;
}

.admin-list-heading {
  margin-bottom: 14px;

  display: flex;

  align-items: end;

  justify-content: space-between;

  gap: 12px;
}

.admin-list-heading h2 {
  margin-bottom: 0;
}

.admin-record-list {
  display: grid;
}

.admin-record {
  padding: 15px 0;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 14px;

  border-top: 1px solid var(--line);
}

.admin-record h3 {
  margin: 0;

  font-size: 14px;
}

.admin-record p {
  margin: 5px 0;

  color: var(--muted);

  font-size: 11px;
}

.record-url {
  color: var(--accent);

  font-size: 11px;

  overflow-wrap: anywhere;
}

.delete-button,
.text-button {
  padding: 7px 10px;

  border: 1px solid var(--line);

  border-radius: 8px;

  background: transparent;

  color: #f0a3ab;

  font: inherit;

  font-size: 11px;

  cursor: pointer;
}

.delete-button:hover {
  border-color: #9c4a59;

  background: #56263055;
}

.logout-form {
  margin: 0;
}

.text-button {
  border: 0;

  color: var(--muted);
}

.admin-empty {
  margin: 0;

  padding: 20px 0;
}

@media (max-width: 800px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .admin-page {
    width: min(100% - 32px, 560px);

    margin-top: 28px;
  }

  .admin-panel {
    padding: 18px;
  }

  .admin-form-row {
    grid-template-columns: 1fr;
  }

  .video-detail-page {
    width: min(100% - 32px, 560px);

    margin-top: 26px;
  }
}
