/* ========== West Lake Cinema · ???? + ??? ========== */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap");

:root {
  --xh-deep: #0a3d3f;
  --xh-deep-2: #0f5255;
  --xh-mist: #e8f2f0;
  --xh-mist-2: #f3f8f6;
  --xh-gold: #c4a35a;
  --xh-gold-hot: #e0c079;
  --xh-ink: #142224;
  --xh-muted: #5a7270;
  --xh-line: rgba(10, 61, 63, 0.12);
  --xh-white: #ffffff;
  --xh-max: 1140px;
  --xh-font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --xh-display: "Outfit", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--xh-font);
  color: var(--xh-ink);
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(196, 163, 90, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 40% at 0% 100%, rgba(15, 82, 85, 0.1), transparent 50%),
    linear-gradient(180deg, var(--xh-mist-2), var(--xh-mist) 55%, #dfeceb);
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
}

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

.xh-wrap {
  width: min(100% - 2rem, var(--xh-max));
  margin-inline: auto;
}

/* -------- Header -------- */
.xh-top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(243, 248, 246, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--xh-line);
  box-shadow: 0 1px 0 rgba(196, 163, 90, 0.35);
}

.xh-top__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 70px;
}

.xh-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 0;
}

.xh-brand__mark {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--xh-deep);
  flex-shrink: 0;
  overflow: hidden;
}

.xh-brand__wave {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: 28%;
  height: 40%;
  background: var(--xh-gold);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  opacity: 0.9;
  animation: xh-bob 4s ease-in-out infinite;
}

.xh-brand__dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--xh-gold-hot);
  box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.25);
}

.xh-brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.1;
  min-width: 0;
}

.xh-brand__text strong {
  font-family: var(--xh-display);
  font-size: clamp(0.92rem, 2vw, 1.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.xh-brand__text em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--xh-gold);
  font-weight: 700;
}

.xh-nav {
  display: none;
  align-items: center;
  gap: 1.2rem;
  margin-left: 0.35rem;
}

.xh-nav a,
.xh-nav__btn {
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--xh-ink);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.3rem 0;
  position: relative;
}

.xh-nav a.is-active::after,
.xh-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--xh-gold);
}

.xh-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.xh-nav__drop {
  position: relative;
}

.xh-nav__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 280px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 8px;
  background: var(--xh-white);
  border: 1px solid var(--xh-line);
  box-shadow: 0 18px 40px rgba(10, 61, 63, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.18s ease;
  z-index: 70;
}

.xh-nav__drop:hover .xh-nav__panel,
.xh-nav__drop.is-open .xh-nav__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.xh-nav__panel a {
  padding: 0.55rem 0.7rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.xh-nav__panel a:hover {
  background: rgba(196, 163, 90, 0.12);
  color: var(--xh-deep);
}

.xh-search {
  margin-left: auto;
  display: none;
  align-items: center;
  min-width: 210px;
  max-width: 280px;
  flex: 1;
  background: var(--xh-white);
  border: 1px solid var(--xh-line);
  border-radius: 999px;
  overflow: hidden;
}

.xh-search__ico {
  width: 16px;
  height: 16px;
  margin-left: 14px;
  color: var(--xh-muted);
  flex-shrink: 0;
}

.xh-search input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0.65rem 0.6rem;
  font: inherit;
  background: transparent;
  min-width: 0;
}

.xh-search button {
  border: 0;
  background: var(--xh-deep);
  color: #fff;
  padding: 0 16px;
  min-height: 40px;
  font-weight: 700;
  cursor: pointer;
}

.xh-login {
  display: none;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--xh-deep);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
}

.xh-login:hover {
  background: var(--xh-deep);
  color: #fff;
}

.xh-burger {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--xh-line);
  background: var(--xh-white);
  border-radius: 10px;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.xh-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--xh-deep);
  transition: 0.2s ease;
}

.xh-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.xh-burger.is-open span:nth-child(2) {
  opacity: 0;
}
.xh-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.xh-drawer {
  display: none;
  border-top: 1px solid var(--xh-line);
  background: var(--xh-mist-2);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.xh-drawer.is-open {
  display: block;
  max-height: 80vh;
  overflow: auto;
}

.xh-drawer__inner {
  padding: 1rem 0 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.xh-drawer__inner > a {
  font-weight: 700;
  padding: 0.35rem 0;
}

.xh-drawer__label {
  margin: 0.4rem 0 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--xh-muted);
  font-weight: 700;
}

.xh-drawer__cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.xh-drawer__cats a {
  padding: 0.55rem 0.7rem;
  background: var(--xh-white);
  border: 1px solid var(--xh-line);
  font-size: 0.875rem;
  font-weight: 600;
}

.xh-drawer__search {
  display: flex;
  gap: 8px;
}

.xh-drawer__search input {
  flex: 1;
  border: 1px solid var(--xh-line);
  padding: 0.65rem 0.75rem;
  font: inherit;
  border-radius: 8px;
}

.xh-drawer__search button,
.xh-login--block {
  display: inline-flex;
  justify-content: center;
  background: var(--xh-gold);
  color: var(--xh-deep);
  border: 0;
  padding: 0.7rem 1rem;
  font-weight: 750;
  cursor: pointer;
  border-radius: 8px;
}

/* -------- Hero -------- */
.xh-hero {
  background:
    linear-gradient(135deg, rgba(10, 61, 63, 0.96), rgba(15, 82, 85, 0.88)),
    var(--xh-deep);
  color: #fff;
  padding: clamp(2.2rem, 6vw, 3.8rem) 0;
  overflow: hidden;
}

.xh-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.xh-hero__kicker {
  margin: 0 0 0.85rem;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 750;
  color: var(--xh-gold-hot);
}

.xh-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--xh-display);
  font-size: clamp(2rem, 5.5vw, 3.3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 12em;
  animation: xh-rise 0.55s ease both;
}

.xh-hero__lead {
  margin: 0 0 1.4rem;
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 28rem;
}

.xh-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.xh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0 1.3rem;
  font-weight: 750;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.xh-btn:hover {
  transform: translateY(-2px);
}

.xh-btn--gold {
  background: var(--xh-gold);
  color: var(--xh-deep);
  box-shadow: 0 10px 24px rgba(196, 163, 90, 0.35);
}

.xh-btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.xh-btn--ghost:hover {
  background: #fff;
  color: var(--xh-deep);
}

.xh-hero__stack {
  position: relative;
  min-height: 260px;
  display: none;
}

.xh-hero__shot {
  position: absolute;
  width: min(58%, 280px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.xh-hero__shot--1 {
  left: 8%;
  top: 8%;
  z-index: 1;
  animation: xh-drift 16s ease-in-out infinite alternate;
}

.xh-hero__shot--2 {
  left: 32%;
  top: 28%;
  z-index: 2;
}

.xh-hero__shot--3 {
  right: 4%;
  top: 0;
  z-index: 3;
  animation: xh-drift 20s ease-in-out infinite alternate-reverse;
}

@keyframes xh-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes xh-drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

@keyframes xh-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

/* -------- Sections / Cards -------- */
.xh-band {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.xh-band--soft {
  background: rgba(255, 255, 255, 0.45);
}

.xh-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--xh-line);
}

.xh-head__lead {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  min-width: 0;
}

.xh-head__num {
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--xh-gold), var(--xh-deep));
}

.xh-head__sub {
  margin: 0 0 0.3rem;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 750;
  color: var(--xh-gold);
}

.xh-head h2 {
  margin: 0;
  font-family: var(--xh-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.xh-head__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  font-weight: 750;
  font-size: 0.85rem;
  background: var(--xh-white);
  border: 1px solid var(--xh-line);
  white-space: nowrap;
}

.xh-head__more:hover {
  background: var(--xh-deep);
  border-color: var(--xh-deep);
  color: #fff;
}

.xh-head__more span {
  color: var(--xh-gold);
}

.xh-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.xh-cats__item {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0.45rem;
  background: var(--xh-white);
  border-top: 3px solid var(--xh-deep);
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.15s ease;
}

.xh-cats__item:hover {
  border-top-color: var(--xh-gold);
  color: var(--xh-deep-2);
  transform: translateY(-2px);
}

.xh-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0.85rem;
}

.xh-card {
  display: grid;
  gap: 0.65rem;
  animation: xh-rise 0.45s ease both;
}

.xh-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--xh-deep);
}

.xh-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.xh-card:hover .xh-card__media img {
  transform: scale(1.05);
}

.xh-card__score {
  position: absolute;
  left: 0;
  top: 0;
  padding: 0.3rem 0.55rem;
  background: var(--xh-gold);
  color: var(--xh-deep);
  font-family: var(--xh-display);
  font-weight: 800;
  font-size: 0.8rem;
}

.xh-card__dur {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 0.2rem 0.45rem;
  background: rgba(10, 61, 63, 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}

.xh-card__body h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xh-card__body h3 a:hover {
  color: var(--xh-deep-2);
}

.xh-card__body p {
  margin: 0.35rem 0 0;
  color: var(--xh-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xh-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: var(--xh-muted);
}

.xh-card__cat {
  color: var(--xh-deep-2);
  font-weight: 750;
}

.xh-why {
  display: grid;
  gap: 1px;
  background: var(--xh-line);
  border: 1px solid var(--xh-line);
}

.xh-why article {
  background: var(--xh-mist-2);
  padding: 1.25rem 1.1rem;
}

.xh-why span {
  display: block;
  font-family: var(--xh-display);
  font-weight: 800;
  color: var(--xh-gold);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.xh-why h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.xh-why p {
  margin: 0;
  color: var(--xh-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* -------- Footer -------- */
.xh-foot {
  margin-top: auto;
  background: var(--xh-deep);
  color: rgba(255, 255, 255, 0.78);
}

.xh-foot__wave {
  height: 4px;
  background: linear-gradient(90deg, var(--xh-gold), transparent 60%, var(--xh-gold-hot));
}

.xh-foot__inner {
  padding: 2.5rem 0 2rem;
}

.xh-foot__brand {
  margin: 0 0 0.6rem;
  font-family: var(--xh-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.xh-foot__lead {
  margin: 0;
  max-width: 28rem;
  line-height: 1.65;
  font-size: 0.92rem;
}

.xh-foot__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.xh-foot__cols h3 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 0.95rem;
}

.xh-foot__cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.xh-foot__cols a:hover {
  color: var(--xh-gold-hot);
}

.xh-foot__end {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.xh-foot__meta {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  flex: 1 1 16rem;
}

.xh-foot__end a:hover {
  color: #fff;
}

.xh-foot__end .ababseo-mark {
  margin-top: 0;
}

/* -------- Category -------- */
.xh-cat__banner {
  background:
    linear-gradient(120deg, rgba(10, 61, 63, 0.94), rgba(196, 163, 90, 0.55)),
    var(--xh-deep);
  color: #fff;
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
}

.xh-crumb {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.xh-crumb a:hover {
  color: #fff;
}

.xh-cat__banner h1 {
  margin: 0 0 0.4rem;
  font-family: var(--xh-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.xh-cat__banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.xh-cat__layout {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem 0 3rem;
}

.xh-cat__side {
  display: none;
}

.xh-cat__side-title {
  margin: 0 0 0.75rem;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 750;
  color: var(--xh-muted);
}

.xh-cat__side-nav {
  display: grid;
  gap: 2px;
}

.xh-cat__side-nav a {
  padding: 0.55rem 0.7rem;
  font-weight: 650;
  font-size: 0.9rem;
  border-left: 3px solid transparent;
  background: rgba(255, 255, 255, 0.55);
}

.xh-cat__side-nav a:hover,
.xh-cat__side-nav a.is-active {
  border-left-color: var(--xh-gold);
  background: var(--xh-white);
  color: var(--xh-deep);
}

.xh-cat__rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.xh-cat__rail a {
  flex: 0 0 auto;
  padding: 0.45rem 0.85rem;
  background: var(--xh-white);
  border: 1px solid var(--xh-line);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.xh-cat__rail a.is-active {
  background: var(--xh-deep);
  color: #fff;
  border-color: var(--xh-deep);
}

.xh-cat__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1rem 0 1.15rem;
  font-size: 0.88rem;
  color: var(--xh-muted);
}

.xh-cat__toolbar strong {
  color: var(--xh-ink);
}

.xh-cat__sort {
  display: flex;
  gap: 8px;
}

.xh-cat__sort select,
.xh-cat__sort button {
  min-height: 38px;
  padding: 0 0.75rem;
  border: 1px solid var(--xh-line);
  background: var(--xh-white);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.xh-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--xh-muted);
}

.xh-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 1.75rem 0;
}

.xh-pager button {
  min-width: 40px;
  min-height: 40px;
  padding: 0 0.7rem;
  border: 1px solid var(--xh-line);
  background: var(--xh-white);
  font-weight: 700;
  cursor: pointer;
}

.xh-pager button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.xh-pager button.is-active,
.xh-pager button:not(:disabled):hover {
  background: var(--xh-deep);
  border-color: var(--xh-deep);
  color: #fff;
}

.xh-pager__pages {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.xh-about {
  margin-top: 2rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--xh-line);
}

.xh-about h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.xh-about p {
  margin: 0 0 0.65rem;
  color: var(--xh-muted);
  line-height: 1.7;
}

/* -------- Play -------- */
.xh-play__stage {
  background: #061c1d;
  padding: 0 0 1rem;
}

.xh-play__ticker {
  margin: 0;
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 650;
  color: #fff;
  background: linear-gradient(90deg, var(--xh-deep), #1a5c5f);
}

.xh-player {
  width: min(100% - 2rem, 880px, calc(min(48vh, 460px) * 16 / 9));
  margin: 0.85rem auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  position: relative;
}

.xh-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.xh-play__layout {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem 0 3rem;
}

.xh-play__main {
  display: grid;
  gap: 1rem;
}

.xh-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--xh-line);
  padding: 1.25rem 1.15rem;
}

.xh-panel h1 {
  margin: 0 0 0.85rem;
  font-family: var(--xh-display);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.xh-panel h2 {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.xh-play__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: var(--xh-muted);
}

.xh-play__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.xh-play__cat {
  padding: 0.2rem 0.55rem;
  background: rgba(10, 61, 63, 0.1);
  color: var(--xh-deep);
  font-weight: 750;
}

.xh-play__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.xh-btn--fav,
.xh-btn--deep {
  color: #fff;
}

.xh-btn--fav {
  background: #9a3412;
}

.xh-btn--fav.is-on {
  background: var(--xh-gold);
  color: var(--xh-deep);
}

.xh-btn--deep {
  background: var(--xh-deep);
}

.xh-play__tip {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--xh-deep-2);
  font-weight: 650;
}

.xh-play__intro {
  border-top: 1px solid var(--xh-line);
  padding-top: 1.1rem;
}

.xh-play__intro p {
  margin: 0 0 0.85rem;
  line-height: 1.7;
}

.xh-play__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.xh-play__tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.25rem 0.55rem;
  background: var(--xh-mist);
  font-size: 0.8rem;
  color: var(--xh-muted);
}

.xh-play__side {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.xh-rel {
  display: grid;
  gap: 0.65rem;
}

.xh-rel__item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.45rem;
}

.xh-rel__item:hover {
  background: rgba(196, 163, 90, 0.1);
}

.xh-rel__shot {
  width: 88px;
  height: 52px;
  object-fit: cover;
  background: var(--xh-deep);
}

.xh-rel__item h3 {
  margin: 0 0 0.3rem;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xh-rel__item p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--xh-muted);
}

.xh-play__cats {
  display: grid;
  gap: 4px;
}

.xh-play__cats a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem;
  font-weight: 650;
  border-left: 3px solid transparent;
}

.xh-play__cats a:hover {
  border-left-color: var(--xh-gold);
  background: rgba(196, 163, 90, 0.1);
  color: var(--xh-deep);
}

.xh-search-page {
  padding: 2rem 0 3rem;
}

.xh-search-page__head {
  margin-bottom: 1.35rem;
}

.xh-search-page__head h1 {
  margin: 0 0 0.4rem;
  font-family: var(--xh-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.xh-search-page__head p {
  margin: 0;
  color: var(--xh-muted);
}

.xh-auth {
  display: grid;
  place-items: center;
  padding: 3rem 1rem 4rem;
  min-height: 52vh;
}

.xh-auth__card {
  width: min(100%, 420px);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--xh-line);
  border-top: 3px solid var(--xh-gold);
  padding: 1.75rem 1.4rem;
}

.xh-auth__card--center {
  text-align: center;
}

.xh-auth__card h1 {
  margin: 0 0 0.45rem;
  font-family: var(--xh-display);
  font-size: 1.45rem;
  font-weight: 800;
}

.xh-auth__lead {
  margin: 0 0 1.25rem;
  color: var(--xh-muted);
  font-size: 0.9rem;
}

.xh-auth__card form {
  display: grid;
  gap: 0.75rem;
}

.xh-auth__card input {
  border: 1px solid var(--xh-line);
  background: var(--xh-white);
  padding: 0.7rem 0.85rem;
  font: inherit;
}

.xh-auth__card input:focus {
  outline: 2px solid rgba(196, 163, 90, 0.4);
  border-color: var(--xh-gold);
}

.xh-auth__err {
  margin: 0;
  color: #9a3412;
  font-size: 0.875rem;
}

.xh-auth__card .xh-btn {
  width: 100%;
}

.xh-auth__back {
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.xh-auth__back a {
  color: var(--xh-deep);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.xh-auth__code {
  margin: 0 0 0.5rem;
  font-family: var(--xh-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--xh-gold);
  line-height: 1;
}

.xh-auth__card--center .xh-btn {
  margin-top: 1.25rem;
  display: inline-flex;
}

.xh-player .hover\:text-blue-400:hover,
.xh-player button:hover {
  color: var(--xh-gold-hot) !important;
}

.slider {
  background: linear-gradient(
    to right,
    var(--xh-gold) 0%,
    var(--xh-gold) var(--progress, 0%),
    #6b7280 var(--progress, 0%),
    #6b7280 100%
  ) !important;
}

.slider::-webkit-slider-thumb {
  background: var(--xh-gold) !important;
}

.slider::-moz-range-thumb {
  background: var(--xh-gold) !important;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
  outline-color: rgba(196, 163, 90, 0.55);
}

/* -------- ABABSEO -------- */
.ababseo-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  user-select: none;
}

.ababseo-mark__plane-wrap {
  position: relative;
  width: 36px;
  height: 28px;
  flex-shrink: 0;
}

.ababseo-mark__plane {
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  color: #e0c079;
  animation: ababseo-fly 3.6s ease-in-out infinite;
}

.ababseo-mark__plane svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ababseo-mark__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.05;
}

.ababseo-mark__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8aa3a1;
}

.ababseo-mark__name {
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.14em;
  background: linear-gradient(105deg, #e0c079 0%, #fff 40%, #5eb8b2 70%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ababseo-shimmer 5s ease-in-out infinite;
}

@keyframes ababseo-fly {
  0% {
    transform: translate(0, 2px) rotate(-8deg);
  }
  20% {
    transform: translate(8px, -6px) rotate(4deg);
  }
  45% {
    transform: translate(16px, 1px) rotate(-2deg);
  }
  70% {
    transform: translate(6px, -8px) rotate(10deg);
  }
  100% {
    transform: translate(0, 2px) rotate(-8deg);
  }
}

@keyframes ababseo-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* -------- Responsive -------- */
@media (min-width: 720px) {
  .xh-cats {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

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

  .xh-why {
    grid-template-columns: repeat(3, 1fr);
  }

  .xh-hero__stack {
    display: block;
  }

  .xh-hero__grid {
    grid-template-columns: 1.1fr 1fr;
  }

  .xh-foot__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
  }

  .xh-foot__end {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .xh-nav,
  .xh-search,
  .xh-login {
    display: flex;
  }

  .xh-burger,
  .xh-drawer,
  .xh-drawer.is-open {
    display: none;
  }

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

  .xh-cat__layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 2rem;
  }

  .xh-cat__side {
    display: block;
    position: sticky;
    top: 88px;
    align-self: start;
  }

  .xh-cat__rail {
    display: none;
  }

  .xh-play__layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
    gap: 1.5rem;
  }
}

@media (max-width: 719px) {
  .xh-brand__text strong {
    font-size: 0.88rem;
    max-width: 9.5rem;
    white-space: normal;
  }

  .xh-player {
    width: min(100%, calc(min(42vh, 320px) * 16 / 9));
    margin: 0.65rem auto 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  .xh-hero h1,
  .xh-card,
  .xh-hero__shot--1,
  .xh-hero__shot--3,
  .xh-brand__wave,
  .ababseo-mark__plane,
  .ababseo-mark__name {
    animation: none;
  }
}
