:root {
  color-scheme: dark;
  --bg: #0f0f0f;
  --bg-alt: #181818;
  --surface: #181818;
  --surface-soft: #212121;
  --surface-elevated: #212121;
  --surface-watch: #181818;
  --line: #303030;
  --line-strong: #303030;
  --text: #f1f1f1;
  --muted: #aaa;
  --brand: #ff0000;
  --brand-strong: #ff0000;
  --brand-deep: #c00;
  --danger: #3a1212;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  --sidebar-width: 240px;
  --content-max: 1400px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --page-padding: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  background: #0f0f0f;
  color: var(--text);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.icon {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 auto;
}

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 100vh;
  padding: 28px 16px 20px;
  background:
    linear-gradient(180deg, rgba(7, 7, 11, 0.96), rgba(7, 7, 11, 0.88)),
    linear-gradient(180deg, rgba(163, 32, 67, 0.08), transparent);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.sidebar,
.sidebar__brand,
.sidebar__group,
.membership-panel,
.sidebar__footer,
.app-shell__content,
.page-content {
  min-width: 0;
}

.sidebar__brand {
  margin-bottom: 34px;
  padding: 0 14px;
}

.sidebar__brand-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.05;
  color: var(--brand);
  text-shadow: 0 10px 24px rgba(204, 78, 109, 0.32);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar__group {
  margin-bottom: 16px;
}

.sidebar__group-title {
  margin: 0 0 10px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: #817984;
}

.sidebar__menu {
  display: grid;
  gap: 4px;
}

.sidebar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  color: #d8d0d6;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.sidebar__item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff7fa;
}

.sidebar__item.is-active {
  background: linear-gradient(180deg, rgba(81, 33, 48, 0.9), rgba(48, 26, 35, 0.88));
  color: #f7b5ca;
}

.sidebar__icon {
  display: inline-flex;
  align-items: center;
  color: currentColor;
}

.membership-panel {
  margin-top: auto;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(54, 21, 33, 0.92), rgba(28, 16, 21, 0.96)),
    rgba(17, 18, 26, 0.98);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.membership-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.membership-panel__title {
  margin: 0;
  font-size: 18px;
}

.membership-panel__status {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(243, 154, 183, 0.2);
  color: #ffc5d7;
  font-size: 12px;
  font-weight: 600;
}

.membership-panel__desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.membership-panel__button,
.member-strip__button,
.hero-banner__primary,
.watch-player__gate-button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #f0a0bc, #d27193);
  color: #260911;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.membership-panel__button:hover,
.member-strip__button:hover,
.hero-banner__primary:hover,
.watch-player__gate-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.membership-panel__button {
  width: 100%;
}

.sidebar__footer {
  padding: 18px 10px 0;
}

.sidebar__socials {
  display: flex;
  gap: 12px;
  color: #8b8590;
  margin-bottom: 14px;
}

.sidebar__copyright {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #9f97a1;
}

.sidebar__copyright.muted {
  color: #736b76;
}

.sidebar__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 10px;
}

.sidebar__legal-links a {
  font-size: 11px;
  color: #635a67;
  text-decoration: none;
  line-height: 1.8;
  transition: color 0.15s;
}

.sidebar__legal-links a:hover {
  color: #9f97a1;
  text-decoration: underline;
}

/* Legal pages */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px var(--page-padding) 80px;
}

.legal-page__header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-page__title {
  margin: 0 0 6px;
  font-size: 32px;
  font-weight: 700;
  color: #f0e8f0;
}

.legal-page__subtitle {
  margin: 0;
  font-size: 14px;
  color: #736b76;
  letter-spacing: 0.04em;
}

.legal-page__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.legal-page__section-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #c8b8cc;
}

.legal-page__section-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #9f97a1;
}

.legal-page__back {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-page__back-link {
  font-size: 13px;
  color: #9f97a1;
  text-decoration: none;
  transition: color 0.15s;
}

.legal-page__back-link:hover {
  color: #f0e8f0;
}

.app-shell__content {
  min-width: 0;
}

.top-navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px var(--page-padding) 18px;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(8, 8, 12, 0.96), rgba(8, 8, 12, 0.86));
}

.top-navbar__search {
  display: flex;
  align-items: center;
  width: min(100%, 580px);
  min-height: 40px;
  padding: 0 16px;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(15, 16, 22, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.top-navbar__search-icon {
  color: #9f95a0;
}

.top-navbar__search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  padding: 0;
  color: #e8e1e6;
  background: transparent;
  outline: none;
  font-size: 15px;
}

.top-navbar__search-input::placeholder {
  color: #746f79;
}

.top-navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-navbar__currency {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px 0 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(16, 17, 24, 0.82);
  color: #f4edf2;
}

.top-navbar__currency-icon {
  position: absolute;
  left: 12px;
  display: inline-flex;
  align-items: center;
  color: #948a96;
  pointer-events: none;
}

.top-navbar__currency-select {
  min-width: 92px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.top-navbar__currency-select option {
  color: #111111;
}

.top-navbar__action,
.top-navbar__icon-button,
.top-navbar__profile,
.top-navbar__currency {
  align-self: center;
}

.top-navbar__role-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(16, 17, 24, 0.82);
}

.top-navbar__role-button {
  min-width: 50px;
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #9c95a1;
  font-size: 12px;
  font-weight: 700;
}

.top-navbar__role-button.is-active {
  background: rgba(243, 154, 183, 0.18);
  color: #f6d6e2;
}

.top-navbar__action,
.top-navbar__icon-button,
.top-navbar__profile,
.top-navbar__currency {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 17, 24, 0.82);
  color: #f4edf2;
}

.top-navbar__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
}

.top-navbar__action--membership,
.top-navbar__action--mobile-cta {
  border-color: #ff0000;
  background: #ff0000;
  color: #ffffff;
  font-weight: 700;
}

.top-navbar__action--membership:hover,
.top-navbar__action--mobile-cta:hover {
  background: #ff2323;
  border-color: #ff2323;
}

.top-navbar__action--vip {
  border-color: #ff0000;
  background: rgba(255, 0, 0, 0.14);
  color: #ffffff;
  font-weight: 800;
  padding-inline: 12px;
}

.top-navbar__action--vip:hover {
  background: rgba(255, 0, 0, 0.22);
  border-color: #ff2323;
}

.top-navbar__vip-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.top-navbar__icon-button {
  width: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.top-navbar__icon-button .icon,
.top-navbar__action > span > .icon,
.top-navbar__profile .icon {
  display: block;
  margin: auto;
}

.top-navbar__profile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  min-width: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.top-navbar__profile--guest {
  justify-content: center;
  padding: 0 14px;
  gap: 8px;
}

.user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff8fb;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.user-avatar__text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.top-navbar__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.top-navbar__avatar .user-avatar__text {
  font-size: 12px;
}

.top-navbar__chevron {
  display: inline-flex;
  color: #948a96;
  flex: 0 0 auto;
}

.top-navbar__profile-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-navbar__profile-name--guest {
  font-weight: 700;
}

.page-content {
  display: grid;
  gap: 26px;
  padding: 0 var(--page-padding) 36px;
  max-width: var(--content-max);
}

.page-content--watch {
  max-width: none;
}

.hero-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.35fr);
  overflow: hidden;
  min-height: 370px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(6, 6, 9, 0.98) 0%, rgba(10, 10, 15, 0.92) 38%, rgba(10, 10, 15, 0.18) 58%),
    #0d0c11;
  box-shadow: var(--shadow);
}

.hero-banner__content {
  position: relative;
  z-index: 2;
  padding: 42px 24px 34px 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-banner__eyebrow {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #f2ebef;
}

.hero-banner__title {
  margin: 0;
  max-width: 380px;
  font-size:20px;
  line-height:29.4px;
  letter-spacing: 0;
  color: var(--brand);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 40px rgba(122, 21, 41, 0.35);
}

.hero-banner__subtitle {
  margin: 18px 0 16px;
  color: #ee718f;
  font-size: 17px;
  letter-spacing: 2px;
}


.hero-banner__description {
  margin: 0;
  max-width: 420px;
  color: #d0c4cc;
  font-size: 16px;
  line-height: 1.8;
}

.hero-banner__description--empty {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 3.6em;
}

.hero-banner__cta-row {
  margin-top: 28px;
}

.hero-banner__primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
}

.hero-banner__media {
  position: relative;
  min-height: 100%;
}

.hero-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner__media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 12, 17, 0.76) 0%, rgba(13, 12, 17, 0.28) 22%, rgba(13, 12, 17, 0) 40%),
    linear-gradient(180deg, rgba(13, 12, 17, 0) 58%, rgba(13, 12, 17, 0.22) 100%);
}

.hero-banner__pager {
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: flex;
  gap: 10px;
}

.hero-banner__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-banner__dot.is-active {
  background: #f69fc0;
}

.video-rail {
  display: grid;
  gap: 14px;
}

.video-rail__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.video-rail__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 18px;
}

.video-rail__lock {
  display: inline-flex;
  color: var(--brand);
}

.video-rail__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #dd7d9c;
  font-size: 14px;
}

.video-library {
  display: grid;
  gap: 24px;
}

.video-library__hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(168, 31, 76, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(16, 16, 22, 0.96), rgba(11, 11, 16, 0.92));
}

.video-library__eyebrow {
  margin: 0 0 10px;
  color: #f39ab7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-library__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.02;
}

.video-library__copy {
  margin: 12px 0 0;
  max-width: 720px;
  color: #c6bbc2;
  font-size: 16px;
  line-height: 1.7;
}

.video-library__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6adc8, #e685ab);
  color: #2f0d18;
  font-weight: 800;
  white-space: nowrap;
}

.video-library__playlists {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.video-library__playlist {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(17, 17, 24, 0.82);
  color: #ddd3d8;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.video-library__playlist:hover {
  border-color: rgba(246, 173, 200, 0.3);
  color: #ffffff;
}

.video-library__playlist.is-active {
  border-color: rgba(246, 173, 200, 0.42);
  background: rgba(168, 31, 76, 0.2);
  color: #ffffff;
}

.video-library__playlist-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7bdd2;
  font-size: 12px;
  font-weight: 700;
}

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

.video-library__feed {
  display: grid;
  gap: 20px;
}

.shop-page {
  display: grid;
  gap: 24px;
}

.shop-page__hero,
.shop-page__feature,
.shop-page__promo,
.shop-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(21, 21, 28, 0.98), rgba(12, 12, 16, 0.96)),
    #111216;
  box-shadow: var(--shadow);
}

.shop-page__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 24px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 0, 0, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(20, 20, 27, 0.98), rgba(12, 12, 16, 0.94));
}

.shop-page__eyebrow {
  margin: 0 0 10px;
  color: #ff8b8b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shop-page__hero h1,
.shop-page__feature h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.02;
}

.shop-page__copy,
.shop-page__feature-copy p,
.shop-page__promo p,
.shop-card p {
  color: #c9c3c6;
  line-height: 1.75;
}

.shop-page__hero-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 12, 16, 0.82), rgba(18, 10, 10, 0.88));
  margin-top: -96px;
  margin-left: auto;
  width: min(82%, 340px);
  position: relative;
  z-index: 2;
}

.shop-page__hero-panel div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.shop-page__hero-panel strong {
  color: #ffffff;
  font-size: 20px;
}

.shop-page__hero-panel span {
  color: #aaa;
  font-size: 13px;
}

.shop-page__hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.shop-page__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #f0e9ec;
  font-weight: 700;
}

.shop-page__hero-stage {
  display: grid;
  align-content: start;
}

.shop-page__hero-visual {
  overflow: hidden;
  min-height: 320px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at center, rgba(255, 0, 0, 0.12), transparent 42%),
    #0d0d12;
}

.shop-page__hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-page__feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  padding: 22px;
  border-radius: 28px;
}

.shop-page__feature-media {
  overflow: hidden;
  border-radius: 24px;
  min-height: 320px;
  background: #0d0e12;
}

.shop-page__feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-page__feature-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.shop-page__badge,
.shop-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.14);
  color: #ff8c8c;
  font-size: 12px;
  font-weight: 800;
  width: fit-content;
}

.shop-page__feature-meta,
.shop-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.shop-page__feature-meta strong,
.shop-card__price strong {
  color: #fff;
  font-size: 28px;
}

.shop-page__feature-meta span,
.shop-card__price span {
  color: #7e787a;
  text-decoration: line-through;
}

.shop-page__feature-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.shop-page__primary,
.shop-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ff1111;
  color: #fff;
  font-weight: 800;
}

.shop-page__stock,
.shop-card__stock,
.shop-card__category {
  color: #9e999b;
  font-size: 13px;
}

.shop-page__promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.shop-page__promo {
  padding: 22px;
  border-radius: 24px;
}

.shop-page__promo--alt {
  background:
    radial-gradient(circle at top left, rgba(255, 0, 0, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(18, 18, 24, 0.98), rgba(12, 12, 16, 0.94));
}

.shop-page__promo h2,
.shop-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.shop-page__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-page__category {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 18, 22, 0.92);
  color: #d6d0d3;
}

.shop-page__category.is-active {
  border-color: rgba(255, 0, 0, 0.34);
  background: rgba(255, 0, 0, 0.14);
  color: #fff;
}

.shop-page__category-count {
  color: #8e888a;
  font-size: 12px;
}

.shop-page__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.shop-card {
  display: grid;
  overflow: hidden;
  border-radius: 22px;
}

.shop-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0d0e12;
}

.shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
}

.shop-card__body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.shop-card__topline,
.shop-card__tags,
.shop-card__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.shop-card__tags {
  justify-content: flex-start;
}

.shop-card__tags span {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #c8c1c5;
  font-size: 12px;
}

.video-library__empty {
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  background: rgba(16, 16, 22, 0.8);
  color: #c6bbc2;
}

.video-rail__scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(232px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.video-rail__scroller::-webkit-scrollbar {
  display: none;
}

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

.video-card__thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #14151d;
}

.video-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 240ms ease,
    filter 240ms ease;
}

.video-card:hover .video-card__thumb {
  transform: scale(1.03);
  filter: saturate(1.06);
}

.video-card__duration,
.watch-recommendation-card__duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.76);
  font-size: 12px;
}

.video-card__body {
  padding-top: 12px;
}

.video-card__title {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.45;
  color: #efe8ed;
}

.video-card__meta,
.watch-recommendation-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  color: #a89da6;
  font-size: 14px;
}

.video-card__dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.video-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.video-card__badge.is-fresh {
  background: rgba(146, 22, 52, 0.4);
  color: #ff004e;
}

.video-card__badge.is-member {
  background: rgba(243, 154, 183, 0.18);
  color: #ff6796;
}

.video-card__inline-lock {
  width: 14px;
  height: 14px;
}

.member-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(52, 16, 28, 0.94), rgba(23, 16, 25, 0.9)),
    #13141c;
  border: 1px solid rgba(243, 154, 183, 0.16);
}

.member-strip__content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.member-strip__badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(243, 154, 183, 0.12);
  color: #f6a8c4;
}

.member-strip__label {
  margin: 0 0 4px;
  font-size: 13px;
  color: #c596a9;
}

.member-strip__title {
  margin: 0;
  font-size: 20px;
}

.member-strip__button {
  padding: 0 22px;
  white-space: nowrap;
}

.video-card--locked .video-card__thumb {
  filter: grayscale(0.12) brightness(0.56);
}

.video-card__lock-mask {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(243, 154, 183, 0.2), transparent 25%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.34));
}

.video-card__lock-icon {
  font-size: 38px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.watch-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
}

.watch-page__main {
  min-width: 0;
}

.watch-player {
  display: grid;
  gap: 12px;
}

.watch-player__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #06060a;
  box-shadow: var(--shadow);
}

.watch-player__iframe,
.watch-player__cover {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}


.watch-player__frame--locked::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 4, 6, 0.2), rgba(4, 4, 6, 0.82)),
    radial-gradient(circle at center, rgba(243, 154, 183, 0.12), transparent 40%);
}

.watch-player__gate {
  position: absolute;
  inset: auto 24px 24px 24px;
  z-index: 1;
  padding: 22px;
  border-radius: 18px;
  background: rgba(19, 20, 27, 0.92);
  border: 1px solid rgba(243, 154, 183, 0.16);
  backdrop-filter: blur(12px);
}

.watch-player__gate-label {
  margin: 0 0 10px;
  color: #f8acc7;
  font-size: 13px;
  font-weight: 700;
}

.watch-player__gate-title {
  margin: 0 0 10px;
  font-size: 28px;
}

.watch-player__gate-copy {
  margin: 0 0 16px;
  max-width: 420px;
  color: #d3c7cf;
  line-height: 1.7;
}

.watch-player__gate-button {
  padding: 0 22px;
}

.watch-player__warning {
  margin: 0;
  color: #9b8e99;
  font-size: 13px;
  line-height: 1.7;
}

.watch-page__details {
  padding: 22px 0 0;
  min-width: 0;
}

.watch-page__meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.watch-page__meta-pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #d8cfd4;
  font-size: 12px;
  font-weight: 700;
}

.watch-page__title {
  margin: 12px 0 14px;
  font-size: 34px;
  line-height: 1.2;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* YouTube-style action pills (like / comment count) */
.watch-yt-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -4px 0 16px;
  flex-wrap: wrap;
}
.watch-yt-actions__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: #e0d8de;
  font-size: 14px;
  font-weight: 500;
  cursor: default;
  transition: background 0.15s;
  white-space: nowrap;
}
.watch-yt-actions__pill:disabled {
  opacity: 1;
}
.watch-yt-actions__thumb-icon {
  color: #e0d8de;
  flex-shrink: 0;
}
.watch-yt-actions__comment-icon {
  color: #e0d8de;
  flex-shrink: 0;
}

/* YouTube comments section */
.watch-yt-comments {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.watch-yt-comments__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.watch-yt-comments__total {
  font-size: 15px;
  font-weight: 600;
  color: #e0d8de;
}
.watch-yt-comments__source {
  font-size: 12px;
  color: #fff;
  background: #ff0000;
  border-radius: 4px;
  padding: 2px 7px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.watch-yt-comments__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Individual YouTube comment */
.watch-yt-comment {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.watch-yt-comment__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #3a2e38;
}
.watch-yt-comment__body {
  flex: 1;
  min-width: 0;
}
.watch-yt-comment__meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.watch-yt-comment__author {
  font-size: 13px;
  font-weight: 600;
  color: #e0d8de;
}
.watch-yt-comment__time {
  font-size: 12px;
  color: #9e8fa0;
}
.watch-yt-comment__text {
  font-size: 14px;
  color: #c8bcc5;
  line-height: 1.6;
  margin: 0 0 6px;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
}
.watch-yt-comment__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.watch-yt-comment__like {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: #9e8fa0;
  font-size: 13px;
  cursor: default;
  padding: 2px 0;
}
.watch-yt-comment__like:disabled {
  opacity: 1;
}

.watch-page__description {
  margin: 0 0 18px;
  max-width: 880px;
  color: #c8bcc5;
  line-height: 1.8;
  font-size: 15px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.watch-page__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.watch-page__tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(243, 154, 183, 0.12);
  color: #f7bad0;
  font-size: 13px;
}

/* ── Comments ──────────────────────────────────────────────────────────── */
.watch-comments {
  margin: 32px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.watch-comments__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.watch-comments__count {
  font-size: 14px;
  font-weight: 400;
  color: #9e8fa0;
  background: rgba(255,255,255,0.07);
  border-radius: 999px;
  padding: 2px 10px;
}
/* input area */
.watch-comments__form {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.watch-comments__my-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.watch-comments__input-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.watch-comments__textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  padding: 10px 14px;
  resize: vertical;
  min-height: 72px;
  box-sizing: border-box;
  font-family: inherit;
  line-height: 1.6;
  transition: border-color 0.15s;
}
.watch-comments__textarea:focus {
  outline: none;
  border-color: rgba(243,154,183,0.5);
}
.watch-comments__submit {
  background: #e0336a;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
.watch-comments__submit:disabled {
  opacity: 0.45;
  cursor: default;
}
/* gate for non-members */
.watch-comments__gate {
  font-size: 14px;
  color: #9e8fa0;
  margin: 0 0 20px;
}
.watch-comments__gate a {
  color: #f7bad0;
  text-decoration: underline;
}
/* list */
.watch-comments__loading,
.watch-comments__empty {
  font-size: 14px;
  color: #7a6e7c;
  text-align: center;
  padding: 24px 0;
}
.watch-comments__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.watch-comments__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.watch-comments__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.watch-comments__bubble {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 0;
}
.watch-comments__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.watch-comments__name {
  font-size: 13px;
  font-weight: 600;
  color: #f0e8ef;
}
.watch-comments__time {
  font-size: 12px;
  color: #7a6e7c;
}
.watch-comments__delete {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 0 4px;
  opacity: 0.5;
  transition: opacity 0.15s;
}
.watch-comments__delete:hover {
  opacity: 1;
}
.watch-comments__body {
  font-size: 14px;
  color: #cfc2ca;
  line-height: 1.7;
  margin: 0;
  word-break: break-word;
  white-space: pre-wrap;
}
/* VIP badge */
.watch-comments__vip {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 1px 5px;
  border-radius: 4px;
  background: linear-gradient(135deg, #c8a01e 0%, #f5d060 50%, #c8a01e 100%);
  color: #2a1e00;
  line-height: 1.4;
  flex-shrink: 0;
}
/* input footer: char count + submit button */
.watch-comments__input-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.watch-comments__char-count {
  font-size: 12px;
  color: #7a6e7c;
}
/* Site comments section header */
.watch-site-comments {
  margin-bottom: 8px;
}
.watch-site-comments__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.watch-site-comments__label {
  font-size: 13px;
  font-weight: 600;
  color: #9e8fa0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.watch-site-comments__count {
  font-size: 12px;
  background: rgba(255,255,255,0.1);
  color: #e0d8de;
  border-radius: 10px;
  padding: 1px 8px;
  font-weight: 600;
}
/* Admin pending comments */
.admin-settings-card--full {
  grid-column: 1 / -1;
}
.admin-settings-card__desc {
  font-size: 13px;
  color: #9e8fa0;
  margin: 0 0 14px;
  line-height: 1.6;
}
.admin-pending-comments {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.admin-pending-comment {
  display: flex;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.07);
}
.admin-pending-comment__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.admin-pending-comment__body {
  flex: 1;
  min-width: 0;
}
.admin-pending-comment__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  font-size: 13px;
}
.admin-pending-comment__time {
  font-size: 12px;
  color: #7a6e7c;
}
.admin-pending-comment__vid {
  font-size: 11px;
  color: #7a6e7c;
  background: rgba(255,255,255,0.06);
  padding: 1px 6px;
  border-radius: 4px;
}
.admin-pending-comment__text {
  font-size: 14px;
  color: #cfc2ca;
  margin: 0 0 10px;
  line-height: 1.6;
  word-break: break-word;
  white-space: pre-wrap;
}
.admin-pending-comment__actions {
  display: flex;
  gap: 8px;
}
.admin-button--sm {
  padding: 4px 12px;
  font-size: 12px;
}

/* ── Admin Comments Manager ─────────────────────────────────────────────── */
.admin-comments-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.admin-comments-toolbar__search {
  flex: 1;
  min-width: 180px;
}
.admin-comments-bulk {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(224,51,106,0.1);
  border: 1px solid rgba(224,51,106,0.3);
  border-radius: 10px;
  padding: 8px 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.admin-comments-bulk__count {
  font-size: 14px;
  font-weight: 600;
  color: #f7bad0;
}
.admin-comments-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.admin-comment-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.12s, border-color 0.12s;
}
.admin-comment-row:hover {
  background: rgba(255,255,255,0.03);
}
.admin-comment-row.is-selected {
  background: rgba(224,51,106,0.07);
  border-color: rgba(224,51,106,0.25);
}
.admin-comment-row__check {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-top: 2px;
}
.admin-comment-row__check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #e0336a;
  cursor: pointer;
}
.admin-comment-row__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.admin-comment-row__body {
  flex: 1;
  min-width: 0;
}
.admin-comment-row__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  margin-bottom: 4px;
}
.admin-comment-row__time {
  font-size: 12px;
  color: #7a6e7c;
}
.admin-comment-row__vid {
  font-size: 11px;
  color: #7a6e7c;
  background: rgba(255,255,255,0.06);
  padding: 1px 6px;
  border-radius: 4px;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-comment-row__text {
  font-size: 14px;
  color: #cfc2ca;
  margin: 0;
  line-height: 1.6;
  word-break: break-word;
  white-space: pre-wrap;
}
.admin-comment-row__actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  align-items: flex-start;
}
.admin-comments-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.admin-comments-pagination__info {
  font-size: 13px;
  color: #9e8fa0;
  text-align: center;
  margin: 16px 0 0;
}

/* ─────────────────────────────────────────────────────────────────────── */

.watch-page__sidebar {
  min-width: 0;
}

.watch-page__sidebar-panel {
  position: sticky;
  top: 92px;
  padding: 18px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(17, 18, 25, 0.96), rgba(12, 13, 20, 0.96)),
    var(--surface-watch);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.watch-page__sidebar-header {
  margin-bottom: 16px;
}

.watch-page__sidebar-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.watch-page__sidebar-copy {
  margin: 0;
  color: #988d96;
  font-size: 13px;
  line-height: 1.7;
}

.watch-page__recommendations {
  display: grid;
  gap: 16px;
}

.watch-recommendation-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.watch-recommendation-card__thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.watch-recommendation-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watch-recommendation-card__title {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
  color: #f1e8ed;
}

.watch-empty-state {
  padding: 48px 12px;
}

.watch-empty-state__eyebrow {
  margin: 0 0 12px;
  color: #f5abc5;
  font-size: 14px;
  font-weight: 700;
}

.watch-empty-state__title {
  margin: 0 0 14px;
  font-size: 42px;
}

.watch-empty-state__copy {
  margin: 0 0 24px;
  max-width: 520px;
  color: #cbbec7;
  line-height: 1.8;
}

@media (max-width: 1280px) {
  .watch-page {
    grid-template-columns: 1fr;
  }

  .watch-page__sidebar-panel {
    position: static;
  }
}

@media (max-width: 1180px) {
  .hero-banner {
    grid-template-columns: 1fr;
  }

  .hero-banner__content {
    padding: 36px 24px 28px;
  }

  .hero-banner__media {
    min-height: 320px;
  }

  .hero-banner__media-overlay {
    background:
      linear-gradient(180deg, rgba(13, 12, 17, 0) 52%, rgba(13, 12, 17, 0.34) 100%);
  }
}

@media (max-width: 960px) {
  :root {
    --sidebar-width: 100%;
  }

  .video-library__hero {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 24px;
  }

  .video-library__title {
    font-size: 34px;
  }

  .video-library__copy {
    font-size: 15px;
    line-height: 1.65;
  }

  .video-library__cta {
    width: 100%;
  }

  .video-library__playlists {
    gap: 10px;
  }

  .video-library__playlist {
    min-height: 38px;
    padding: 0 14px;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    width: 100%;
    min-height: auto;
    padding-bottom: 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .sidebar__menu {
    display: flex;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .sidebar__menu::-webkit-scrollbar {
    display: none;
  }

  .sidebar__item {
    flex: 0 0 auto;
  }

  .membership-panel {
    margin-top: 18px;
  }

  .sidebar__footer {
    padding-left: 14px;
  }

  .top-navbar {
    flex-direction: column;
    align-items: stretch;
  }

  .top-navbar__search {
    width: 100%;
  }

  .top-navbar__actions {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .admin-playlist-modal {
    width: min(100%, 760px);
  }

  .admin-playlist-modal__grid {
    grid-template-columns: 1fr;
  }

  .page-content {
    padding-bottom: 28px;
  }

  .member-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .member-strip__content {
    align-items: flex-start;
  }

  .watch-page__title {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  :root {
    --page-padding: 14px;
  }

  .sidebar {
    padding-inline: 10px;
  }

  .sidebar__brand {
    padding-inline: 8px;
  }

  .hero-banner {
    min-height: auto;
    border-radius: 18px;
  }

  .hero-banner__content {
    padding: 24px 18px 20px;
  }

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

  .hero-banner__title {
    font-size: 40px;
    max-width: 100%;
  }

  .hero-banner__subtitle {
    font-size: 15px;
    letter-spacing: 1px;
  }

  .hero-banner__description {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-banner__media {
    min-height: 220px;
  }

  .top-navbar__actions {
    gap: 10px;
  }

  .top-navbar__profile {
    padding-right: 10px;
  }

  .top-navbar__action {
    padding-inline: 12px;
  }

  .video-rail__scroller {
    grid-auto-columns: minmax(220px, 84vw);
  }

  .video-card__title {
    font-size: 15px;
  }

  .member-strip__title {
    font-size: 18px;
    line-height: 1.45;
  }

  .watch-player__gate {
    inset: auto 14px 14px 14px;
    padding: 16px;
  }

  .watch-player__gate-title {
    font-size: 22px;
  }

  .watch-page__title {
    font-size: 26px;
  }

  .watch-recommendation-card {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .watch-page__recommendations {
    gap: 14px;
  }
}

.top-navbar__status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.membership-panel__button--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 140px);
}

.auth-card {
  width: min(100%, 560px);
  padding: 32px 28px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(17, 18, 26, 0.96), rgba(10, 11, 17, 0.98)),
    #101119;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.auth-card__eyebrow {
  margin: 0 0 10px;
  color: #e38aa8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.auth-card__title {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.18;
}

.auth-card__copy,
.auth-card__hint {
  margin: 0 0 18px;
  color: #c7bbc5;
  line-height: 1.75;
}

.auth-card__hint {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(243, 154, 183, 0.08);
  border: 1px solid rgba(243, 154, 183, 0.12);
  font-size: 13px;
}

.auth-card__tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-card__tab {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #9e95a0;
  font-size: 14px;
  font-weight: 700;
}

.auth-card__tab.is-active {
  background: rgba(243, 154, 183, 0.14);
  color: #f7d8e4;
}

.auth-card__actions {
  display: flex;
  align-items: center;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form__field {
  display: grid;
  gap: 8px;
}

.auth-form__field span {
  color: #d6cbd2;
  font-size: 13px;
  font-weight: 700;
}

.auth-form__field input,
.admin-users__cell select,
.admin-users__cell input {
  min-height: 46px;
  width: 100%;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 15, 22, 0.92);
  color: #f6edf2;
  outline: none;
}

.auth-form__field input:focus,
.admin-users__cell select:focus,
.admin-users__cell input:focus {
  border-color: rgba(243, 154, 183, 0.34);
  box-shadow: 0 0 0 3px rgba(243, 154, 183, 0.08);
}

.auth-form__error,
.admin-panel__error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(126, 20, 43, 0.22);
  border: 1px solid rgba(243, 154, 183, 0.12);
  color: #ffb8cd;
  font-size: 14px;
}

.auth-form__error--payment {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(185, 28, 28, 0.18);
  border-left: 6px solid #b91c1c;
  background: linear-gradient(180deg, #fff1f2, #ffe4e6);
  color: #7f1d1d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  box-shadow: 0 10px 24px rgba(127, 29, 29, 0.08);
}

.admin-panel__message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(243, 154, 183, 0.08);
  border: 1px solid rgba(243, 154, 183, 0.12);
  color: #f6c2d5;
  font-size: 14px;
}

.auth-form__submit,
.admin-users__save {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #f0a0bc, #d27193);
  color: #260911;
  font-size: 15px;
  font-weight: 700;
}

.auth-google-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  color: #f6edf2;
  font-weight: 600;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.auth-google-button:hover {
  border-color: rgba(243, 154, 183, 0.28);
  background: rgba(243, 154, 183, 0.08);
}

.auth-google-button__mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ffffff;
  color: #111317;
  font-size: 13px;
  font-weight: 700;
}

.auth-card__divider {
  position: relative;
  text-align: center;
  margin: 18px 0 24px;
  color: #a998a4;
  font-size: 13px;
}

.auth-card__divider::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-card__divider span {
  position: relative;
  padding: 0 12px;
  background: transparent;
}

.auth-form__submit:disabled,
.admin-users__save:disabled {
  opacity: 0.7;
  cursor: wait;
}

.page-content--admin {
  max-width: none;
  width: 100%;
  padding-inline: 20px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.admin-nav {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(17, 18, 26, 0.96), rgba(11, 12, 19, 0.96)),
    #12131b;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-nav__item {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  color: #cfc3cb;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.admin-nav__item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.admin-nav__item.is-active {
  background: linear-gradient(180deg, rgba(81, 33, 48, 0.9), rgba(48, 26, 35, 0.88));
  color: #f7b5ca;
}

.admin-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(17, 18, 26, 0.96), rgba(10, 11, 17, 0.98)),
    #101119;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.admin-panel__hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.admin-panel__eyebrow {
  margin: 0 0 10px;
  color: #e38aa8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.admin-panel__title {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.15;
}

.admin-panel__title--sub {
  font-size: 26px;
}

.admin-panel__copy {
  margin: 0;
  max-width: 720px;
  color: #c8bcc5;
  line-height: 1.8;
}

.admin-youtube-sync-button {
  align-self: center;
  min-height: 48px;
  padding: 0 18px;
  font-size: 15px;
  white-space: nowrap;
  flex: 0 0 auto;
}

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

.admin-stat-card,
.admin-coming-soon-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-stat-card__label {
  color: #a998a4;
  font-size: 13px;
}

.admin-stat-card__value {
  font-size: 32px;
  color: #fff4f8;
}

.admin-settings-divider {
  height: 1px;
  margin: 26px 0;
  background: rgba(255, 255, 255, 0.08);
}

.admin-coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.admin-coming-soon-card h2 {
  margin: 0;
  font-size: 18px;
}

.admin-coming-soon-card p {
  margin: 0;
  color: #b8adb6;
  line-height: 1.7;
}

.admin-users {
  display: grid;
  gap: 12px;
}

.admin-users--list {
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(15, 15, 15, 0.08);
  background: #ffffff;
}

.admin-users__head,
.admin-users__row {
  display: grid;
  grid-template-columns: minmax(280px, 1.8fr) minmax(160px, 1fr) minmax(150px, 0.9fr) minmax(150px, 0.9fr) minmax(200px, 1fr);
  gap: 16px;
  align-items: center;
}

.admin-users__head {
  padding: 16px 20px;
  background: #fafafa;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid rgba(15, 15, 15, 0.08);
}

.admin-users__row {
  padding: 18px 20px;
  color: inherit;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 15, 15, 0.08);
  transition: background-color 180ms ease, transform 180ms ease;
}

.admin-users__row:last-child {
  border-bottom: 0;
}

.admin-users__row:hover,
.admin-users__row.is-active {
  background: #fff5f8;
}

.admin-users__member {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.admin-users__avatar,
.admin-user-detail__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.admin-users__identity,
.admin-users__metric {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-users__identity strong,
.admin-users__metric strong {
  font-size: 15px;
  color: #111827;
}

.admin-users__identity span,
.admin-users__metric span,
.admin-users__metric em {
  color: #6b7280;
  font-size: 13px;
  font-style: normal;
}

.admin-user-detail {
  border-color: rgba(209, 75, 114, 0.18);
  background: linear-gradient(180deg, #fff7fa, #ffffff);
}

.admin-users-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-users-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.56);
  backdrop-filter: blur(6px);
}

.admin-user-detail__dialog {
  position: relative;
  width: min(920px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  box-shadow: 0 32px 80px rgba(15, 15, 15, 0.28);
}

.admin-user-detail__back {
  align-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 15, 15, 0.08);
  color: #111827;
}

.admin-user-detail__summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.admin-user-detail__identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-user-detail__identity strong {
  display: block;
  font-size: 20px;
  color: #111827;
}

.admin-user-detail__identity span,
.admin-user-detail__facts span {
  display: block;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

.admin-user-detail__facts {
  display: grid;
  gap: 6px;
  text-align: right;
}

.admin-user-detail__form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.admin-users__cell--full {
  grid-column: 1 / -1;
}

.admin-user-detail__form input,
.admin-user-detail__form select,
.admin-user-detail__form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 15, 15, 0.1);
  background: #ffffff;
  color: #111827;
}

.admin-user-detail__form textarea {
  min-height: 140px;
  padding-block: 12px;
  resize: vertical;
}

.admin-user-detail__meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  color: #6b7280;
  font-size: 13px;
}

.admin-users__cell {
  display: grid;
  gap: 8px;
}

.admin-users__cell span {
  color: #a998a4;
  font-size: 12px;
}

@media (max-width: 1280px) {
  .admin-users__head,
  .admin-users__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-user-detail__form,
  .admin-user-detail__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .admin-stats,
  .admin-coming-soon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .admin-nav {
    position: static;
  }

  .admin-users-modal {
    padding: 18px;
  }

  .admin-user-detail__dialog {
    width: min(100%, 720px);
    max-height: calc(100vh - 36px);
  }

  .admin-user-detail__summary {
    flex-direction: column;
  }

  .admin-user-detail__facts {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .auth-card,
  .admin-panel {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .auth-card__title,
  .admin-panel__title {
    font-size: 26px;
  }

  .admin-stats,
  .admin-coming-soon-grid,
  .admin-users__head,
  .admin-users__row,
  .admin-user-detail__form,
  .admin-user-detail__meta {
    grid-template-columns: 1fr;
  }

  .admin-users-modal {
    padding: 12px;
    align-items: end;
  }

  .admin-user-detail__dialog {
    width: 100%;
    max-height: min(88vh, 780px);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .admin-users__head {
    display: none;
  }

  .admin-users__row {
    gap: 10px;
  }
}

.membership-page {
  display: grid;
  gap: 24px;
}

.message-panel__summary {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 120px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff5f8;
  color: #111827;
}

.message-panel__summary strong {
  font-size: 28px;
}

/* ── 用户消息中心（聊天风格） ────────────────────────────────────────────── */
.msg-shell {
  position: fixed;
  top: 80px;
  left: var(--sidebar-width);
  right: 0;
  bottom: 0;
  display: flex;
  overflow: hidden;
  background: #111111;
}

/* 手机：无侧边栏 */
@media (max-width: 860px) {
  .msg-shell {
    left: 0;
    top: 56px;
  }
}

.msg-sidebar {
  width: 240px;
  min-width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #1e1e1e;
  background: #0f0f0f;
  overflow: hidden;
}

.msg-sidebar__header {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  border-bottom: 1px solid #1a1a1a;
  flex-shrink: 0;
}

.msg-sidebar__list {
  flex: 1;
  overflow-y: auto;
}

.msg-thread-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  background: none;
  border: none;
  border-bottom: 1px solid #1a1a1a;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.1s;
}

.msg-thread-item:hover { background: #181818; }
.msg-thread-item.is-active { background: #1e1e1e; }

.msg-thread-item__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.msg-thread-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.msg-thread-item__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.msg-thread-item__name {
  font-size: 13px;
  font-weight: 600;
  color: #eeeeee;
}

.msg-thread-item__time {
  font-size: 11px;
  color: #666666;
  white-space: nowrap;
  flex-shrink: 0;
}

.msg-thread-item__preview {
  font-size: 12px;
  color: #777777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.msg-thread-badge {
  background: #e8003d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 20px;
  flex-shrink: 0;
}

.msg-thread-empty {
  padding: 24px 16px;
  font-size: 13px;
  color: #555555;
  text-align: center;
}

/* 右侧 */
.msg-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.msg-chat-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555555;
  font-size: 14px;
}

.msg-chat-header {
  padding: 14px 20px;
  border-bottom: 1px solid #1e1e1e;
  background: #141414;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.msg-chat-header strong { font-size: 15px; color: #ffffff; }
.msg-chat-header span   { font-size: 12px; color: #777777; }

.msg-chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msg-chat-empty {
  text-align: center;
  color: #555555;
  font-size: 13px;
  margin-top: 20px;
}

/* 气泡 */
.msg-bubble-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.msg-bubble-row--admin {
  justify-content: flex-end;
}

.msg-bubble-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2a2a2a;
  color: #cccccc;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: flex-start;
}

.msg-bubble-avatar--admin {
  background: #07c16022;
  color: #07c160;
}

.msg-bubble-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 65%;
}

.msg-bubble-row--admin .msg-bubble-wrap {
  align-items: flex-end;
}

.msg-bubble-title {
  font-size: 13px;
  font-weight: 600;
  color: #cccccc;
  padding: 0 4px;
}

.msg-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
}

.msg-bubble--user {
  background: #222222;
  color: #eeeeee;
  border-bottom-left-radius: 4px;
}

.msg-bubble--admin {
  background: #07c160;
  color: #000000;
  border-bottom-right-radius: 4px;
}

.msg-bubble-time {
  font-size: 11px;
  color: #555555;
  padding: 0 4px;
}

/* 手机：左栏收起，只显示当前会话 */
@media (max-width: 540px) {
  .msg-sidebar {
    width: 100%;
    display: none;
  }
  .msg-sidebar.show-list {
    display: flex;
  }
}

/* ── 用户消息中心输入区域 ─────────────────────────────────────────────────── */
.msg-input-area {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 14px 14px;
  border-top: 1px solid #1e1e1e;
  background: #141414;
}

.msg-input-preview {
  position: relative;
  display: inline-block;
  width: fit-content;
}

.msg-input-preview__img {
  max-height: 80px;
  max-width: 160px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.msg-input-preview__remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8003d;
  color: #fff;
  border: none;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.msg-input-error {
  margin: 0;
  font-size: 12px;
  color: #f87171;
}

.msg-input-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.msg-input-img-btn {
  background: #1e1e1e;
  border: 1px solid #2e2e2e;
  border-radius: 8px;
  color: #cccccc;
  font-size: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.12s;
}

.msg-input-img-btn:hover { background: #282828; }
.msg-input-img-btn:disabled { opacity: 0.4; cursor: default; }

.msg-input-textarea {
  flex: 1;
  background: #1e1e1e;
  border: 1px solid #2e2e2e;
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  padding: 8px 10px;
  resize: none;
  font-family: inherit;
  outline: none;
  max-height: 80px;
  transition: border-color 0.15s;
}

.msg-input-textarea:focus { border-color: #07c160; }

.msg-input-send {
  background: #07c160;
  color: #000;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
  flex-shrink: 0;
  align-self: flex-end;
  transition: background 0.12s;
}

.msg-input-send:hover:not(:disabled) { background: #06ad56; }
.msg-input-send:disabled, .msg-input-send.is-loading { opacity: 0.5; cursor: default; }

/* 图片气泡 */
.msg-bubble--img {
  padding: 4px;
}

.msg-bubble-img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

.messages-list {
  display: grid;
  gap: 14px;
}

.message-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 15, 15, 0.08);
  background: #ffffff;
}

.message-card.is-unread {
  background: #fff7fa;
  border-color: rgba(209, 75, 114, 0.16);
}

.message-card__head,
.message-card__footer,
.message-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.message-card__head strong {
  display: block;
  margin-bottom: 4px;
  color: #111827;
}

.message-card__head span,
.message-card__footer span {
  color: #6b7280;
  font-size: 13px;
}

.message-card__badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffe4eb;
  color: #b8315a;
  font-size: 12px;
  font-weight: 700;
}

.message-card__body {
  margin: 0;
  color: #374151;
  line-height: 1.75;
}

.membership-hero {
  display: grid;
  gap: 12px;
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(19, 19, 28, 0.96), rgba(11, 10, 16, 0.98)),
    #12121a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.membership-hero__eyebrow {
  margin: 0;
  color: #ec99b7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.membership-hero__title {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
}

.membership-hero__copy,
.membership-hero__expire {
  margin: 0;
  color: #c9bdc5;
  line-height: 1.75;
}

.membership-hero__status {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.membership-plan-grid,
.membership-track-grid,
.membership-order-form__plan-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.membership-track {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(18, 19, 27, 0.96), rgba(12, 11, 16, 0.96)),
    #13141c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.membership-track.is-selected {
  border-color: rgba(243, 154, 183, 0.55);
  box-shadow: 0 0 0 1px rgba(243, 154, 183, 0.25);
}

.membership-track__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.membership-track__head {
  display: flex;
  gap: 16px;
}

.membership-track__title {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.35;
}

.membership-track__summary {
  margin: 0;
  color: #b8adb6;
  line-height: 1.7;
}

.membership-track__benefits {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.membership-track__benefits li {
  position: relative;
  padding-left: 18px;
  line-height: 1.6;
}

.membership-track__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand);
}

.membership-plan {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px 56px 18px 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(18, 19, 27, 0.96), rgba(12, 11, 16, 0.96)),
    #13141c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.membership-plan.is-selected {
  border-color: #ff0000;
  box-shadow: 0 0 0 1px rgba(255, 0, 0, 0.22);
}

.membership-plan__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.membership-plan__selector {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  border: 2px solid #ff5a1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.membership-plan__selector-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
}

.membership-plan.is-selected .membership-plan__selector {
  border-color: #ff0000;
  box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.12);
}

.membership-plan.is-selected .membership-plan__selector-dot {
  background: #ff0000;
}

.membership-plan__header,
.membership-order-card__head,
.membership-orders__header,
.membership-order-panel__header,
.admin-order-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.membership-plan__name,
.membership-plan__duration,
.membership-plan__summary,
.membership-order-card__meta,
.membership-order-card__note,
.membership-orders__header p,
.membership-order-panel__header p,
.admin-order-card__meta {
  margin: 0;
}

.membership-plan__name {
  font-size: 20px;
  font-weight: 700;
}

.membership-plan__duration {
  color: #aa9aa5;
  font-size: 13px;
}

.membership-plan__badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(243, 154, 183, 0.18);
  color: #f7b9cf;
  font-size: 12px;
  font-weight: 700;
}

.membership-plan__pricing {
  display: grid;
  gap: 4px;
}

.membership-plan__price {
  font-size: 30px;
  color: #fff4f8;
}

.membership-plan__intro {
  color: #f2a7c1;
  font-size: 14px;
}

.membership-plan__reference:empty {
  display: none;
}

.membership-plan__intro--muted,
.membership-plan__summary,
.membership-orders__header p,
.membership-order-panel__header p,
.membership-order-card__meta,
.admin-order-card__meta {
  color: #b8adb6;
}

.membership-order-panel,
.membership-orders {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(17, 18, 26, 0.96), rgba(10, 11, 17, 0.98)),
    #101119;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.membership-order-form {
  display: grid;
  gap: 18px;
}

.membership-order-form__section {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 12px;
}

.membership-order-form__section > legend {
  margin-bottom: 8px;
  color: #f3dce5;
  font-size: 15px;
  font-weight: 700;
}

.membership-order-form__plan-empty {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px dashed rgba(243, 154, 183, 0.24);
  background: rgba(243, 154, 183, 0.06);
}

.membership-order-form__plan-empty strong {
  font-size: 16px;
}

.membership-order-form__plan-empty span,
.membership-instructions__track {
  color: #b8adb6;
}

.membership-order-form__field {
  display: grid;
  gap: 8px;
}

.membership-order-form__field span {
  color: #b8adb6;
  font-size: 13px;
}

.membership-order-form__field input,
.membership-order-form__field textarea,
.admin-orders__filter select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 14, 0.84);
  color: #f7eef2;
}

.membership-order-form__field textarea {
  resize: vertical;
  min-height: 92px;
}

.membership-order-form__methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.membership-method {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #efe5ea;
  cursor: pointer;
}

.membership-method.is-selected {
  border-color: rgba(243, 154, 183, 0.45);
  background: rgba(243, 154, 183, 0.12);
}

.membership-method input {
  margin: 0;
}

.membership-instructions,
.membership-order-card,
.admin-order-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.membership-instructions h3,
.membership-instructions p,
.membership-orders__header h2,
.membership-order-panel__header h2,
.membership-order-card__head h3,
.admin-order-card__head h3 {
  margin: 0;
}

.membership-instructions p {
  color: #c7bbc3;
  line-height: 1.7;
}

.membership-orders__empty {
  margin: 0;
  color: #b8adb6;
}

.membership-order-card__status {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.membership-order-card__status.is-pending {
  background: rgba(243, 154, 183, 0.14);
  color: #f5b2c9;
}

.membership-order-card__status.is-created {
  background: rgba(120, 136, 255, 0.16);
  color: #c7d0ff;
}

.membership-order-card__status.is-approved {
  background: rgba(84, 176, 121, 0.16);
  color: #a8e0bb;
}

.membership-order-card__status.is-paid {
  background: rgba(84, 176, 121, 0.16);
  color: #a8e0bb;
}

.membership-order-card__status.is-rejected,
.membership-order-card__status.is-cancelled {
  background: rgba(156, 42, 64, 0.18);
  color: #f0b0c1;
}

.membership-order-card__status.is-failed {
  background: rgba(156, 42, 64, 0.18);
  color: #f0b0c1;
}

.admin-orders__toolbar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Admin search ── */
.admin-orders__search-wrap {
  position: relative;
  flex: 1 1 240px;
}

.admin-orders__search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #7a6f77;
  pointer-events: none;
  display: flex;
}

.admin-orders__search-icon .icon {
  width: 16px;
  height: 16px;
}

.admin-orders__search {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 14, 0.84);
  color: #f0e8ed;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.admin-orders__search:focus {
  border-color: rgba(255, 255, 255, 0.22);
}

.admin-orders__search::placeholder {
  color: #5e5460;
}

/* ── Admin order txn block ── */
.admin-order-txn-block {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-order-txn-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
}

.admin-order-txn-label {
  flex: 0 0 86px;
  color: #7a6f77;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-txn-id-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.admin-txn-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: #e8dce5;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
  cursor: default;
}

.admin-txn-id--muted {
  color: #6b606b;
  background: transparent;
  font-size: 12px;
}

.admin-order-no-txn {
  color: #3f3840;
  font-size: 13px;
}

.admin-order-email {
  color: #b8afb5;
}

.admin-order-card__grid--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.admin-orders__filter {
  display: grid;
  gap: 8px;
  min-width: 160px;
}

.admin-orders__filter span {
  color: #b8adb6;
  font-size: 13px;
}

.admin-orders,
.admin-order-card__grid {
  display: grid;
  gap: 14px;
}

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

.admin-order-card__grid div {
  display: grid;
  gap: 6px;
}

.admin-order-card__grid span {
  color: #a998a4;
  font-size: 12px;
}

.admin-order-card__grid strong {
  color: #f6edf2;
  font-size: 14px;
  line-height: 1.5;
}

.admin-order-card__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.auth-form__submit--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f6dce5;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.membership-order-panel__hint {
  margin: 0;
  color: #f1b3c7;
  font-size: 14px;
}

.membership-wechat-box {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.membership-wechat-box__qr {
  display: grid;
  place-items: center;
  width: 132px;
  aspect-ratio: 1;
  border-radius: 16px;
  border: 1px dashed rgba(243, 154, 183, 0.3);
  background: rgba(243, 154, 183, 0.08);
  color: #f1b8cc;
  font-size: 13px;
  text-align: center;
}

.membership-wechat-box__copy {
  display: grid;
  gap: 8px;
}

.membership-wechat-box__copy p {
  margin: 0;
  color: #c8bcc5;
  line-height: 1.7;
}

.page-content--account {
  display: grid;
}

.account-shell,
.account-nav,
.account-summary-grid,
.account-quick-grid,
.account-list,
.account-form,
.account-avatar-picker__grid,
.account-profile-head,
.account-payment-card__grid {
  display: grid;
  gap: 16px;
}

.account-nav {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.account-nav__item,
.account-quick-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  color: #d5c8d0;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.account-nav__item:hover,
.account-quick-card:hover,
.account-nav__item.is-active {
  background: rgba(243, 154, 183, 0.12);
  border-color: rgba(243, 154, 183, 0.24);
  color: #fff2f6;
}

.account-panel {
  display: grid;
  gap: 22px;
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.account-panel__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.account-panel__footer {
  display: flex;
  justify-content: flex-end;
}

.account-panel__eyebrow,
.account-panel__title,
.account-panel__copy,
.account-summary-card__label,
.account-summary-card__value,
.account-summary-card__meta,
.account-profile-head p,
.account-profile-head h1,
.account-list__empty,
.account-form__field span,
.account-avatar-picker__label,
.account-payment-card__meta {
  margin: 0;
}

.account-panel__eyebrow {
  color: #f0a5be;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-panel__title {
  color: #fff4f7;
  font-size: 32px;
}

.account-panel__copy,
.account-summary-card__meta,
.account-quick-card span,
.account-list__empty,
.account-form__field span,
.account-payment-card__meta {
  color: #baafb7;
  line-height: 1.7;
}

.account-profile-head {
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
}

.account-logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: #f6edf2;
  white-space: nowrap;
}

.account-logout-button--desktop {
  align-self: flex-start;
}

.account-profile-head__avatar {
  width: 88px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(243, 154, 183, 0.3);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);
}

.account-profile-head__avatar .user-avatar__text {
  font-size: 28px;
}

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

.account-summary-card,
.account-quick-card,
.account-history-card,
.account-payment-card,
.account-points-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.account-summary-card,
.account-quick-card,
.account-payment-card,
.account-points-card {
  padding: 18px;
}

.account-summary-card {
  display: grid;
  gap: 8px;
  position: relative;   /* needed for absolutely-positioned action badge */
}

.account-summary-card--has-action {
  padding-top: 36px;    /* make room for the badge at the top */
}

.account-summary-card__action {
  position: absolute;
  top: 12px;
  right: 12px;
}

/* 签到徽章 — 已签到状态 */
.account-checkin-badge--done {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #68d391;
  background: rgba(104, 211, 145, 0.15);
  border: 1px solid rgba(104, 211, 145, 0.3);
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
}

/* 签到徽章 — 可签到按钮 */
.account-checkin-badge--action {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary, #e53e3e);
  border: none;
  border-radius: 20px;
  padding: 4px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.1s;
}

.account-checkin-badge--action:hover:not(:disabled) {
  opacity: 0.85;
  transform: scale(1.04);
}

.account-checkin-badge--action:disabled {
  opacity: 0.55;
  cursor: default;
}

.account-summary-card__label {
  color: #ab9ea8;
  font-size: 13px;
}

.account-summary-card__value {
  color: #fff3f7;
  font-size: 22px;
}

.account-form {
  max-width: 760px;
}

.account-form__field {
  display: grid;
  gap: 10px;
}

.account-form__field input,
.account-form__field textarea {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #fff2f6;
}

.account-form__field textarea {
  min-height: 120px;
  padding: 14px;
  resize: vertical;
}

.account-form__field input:disabled {
  opacity: 0.72;
}

.account-form__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #cfbfca;
}

.account-form__actions {
  display: flex;
  justify-content: flex-start;
}

.account-avatar-picker {
  display: grid;
  gap: 12px;
}

.account-avatar-picker__grid {
  grid-template-columns: repeat(4, 76px);
}

.account-avatar-picker__item {
  width: 76px;
  aspect-ratio: 1;
  padding: 4px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.account-avatar-picker__item.is-active {
  border-color: rgba(243, 154, 183, 0.42);
  box-shadow: 0 0 0 1px rgba(243, 154, 183, 0.18);
}

.account-avatar-picker__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.account-history-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
}

.account-history-card__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
}

.account-history-card__body {
  display: grid;
  gap: 8px;
  align-content: center;
}

.account-history-card__body strong,
.account-payment-card__head strong,
.account-points-card strong {
  color: #fff4f7;
}

.account-history-card__body span,
.account-payment-card__head span {
  color: #c1b4bd;
}

.account-payment-card,
.account-points-card {
  display: grid;
  gap: 12px;
}

.account-payment-card__body {
  display: grid;
  gap: 14px;
}

.account-payment-card__head,
.account-points-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.account-payment-card__head > div,
.account-points-card > div {
  display: grid;
  gap: 6px;
}

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

.account-payment-card__fact {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.account-payment-card__fact span {
  color: #c4b8c0;
  font-size: 12px;
  line-height: 1.5;
}

.account-payment-card__fact strong {
  color: #f0e8ec;
  font-size: 16px;
  line-height: 1.4;
}

.account-payment-card__fact--success strong {
  color: #a8e0bb;
}

.payment-expire-date {
  color: #a8e0bb;
}

/* ── PayPal transaction block ── */
.payment-txn {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-txn-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 32px;
}

.payment-txn-label {
  flex: 0 0 96px;
  color: #7a6f77;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

.payment-txn-value {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.payment-txn-id {
  display: inline-flex;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: #f0e0ea;
  background: rgba(255, 255, 255, 0.07);
  padding: 6px 10px;
  border-radius: 10px;
  white-space: normal;
  word-break: break-all;
  max-width: 100%;
  cursor: default;
  letter-spacing: 0.02em;
}

.payment-txn-id--muted {
  color: #6b606b;
  background: transparent;
  font-size: 12px;
}

/* ── Copy button ── */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #9a8e96;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  user-select: none;
}

.copy-btn .icon {
  width: 14px;
  height: 14px;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e8d8e2;
  border-color: rgba(255, 255, 255, 0.14);
}

.copy-btn__done {
  display: none;
  align-items: center;
  gap: 4px;
  color: #a8e0bb;
}

.copy-btn__done .icon {
  width: 12px;
  height: 12px;
  color: #a8e0bb;
}

.copy-btn.is-copied .icon:first-child {
  display: none;
}

.copy-btn.is-copied .copy-btn__done {
  display: inline-flex;
}

.copy-btn--sm {
  padding: 2px 6px;
}

.copy-btn--sm .icon {
  width: 12px;
  height: 12px;
}

.account-points-card__delta {
  color: #f4abc2;
  font-size: 22px;
}

.account-panel__message,
.account-panel__error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
}

.account-panel__message {
  background: rgba(102, 190, 135, 0.12);
  color: #b9ecc9;
}

.account-panel__error {
  background: rgba(175, 55, 85, 0.16);
  color: #f4b8ca;
}

@media (max-width: 1180px) {
  .membership-plan-grid,
  .membership-track-grid,
  .membership-order-form__plan-options,
  .admin-order-card__grid,
  .admin-order-card__grid--6,
  .account-summary-grid,
  .account-quick-grid,
  .account-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .membership-hero,
  .membership-order-panel,
  .membership-orders {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .membership-hero__title {
    font-size: 28px;
  }

  .membership-plan-grid,
  .membership-track-grid,
  .membership-order-form__plan-options,
  .admin-order-card__grid,
  .admin-order-card__grid--6,
  .membership-order-form__methods,
  .account-summary-grid,
  .account-quick-grid,
  .account-nav,
  .account-payment-card__grid {
    grid-template-columns: 1fr;
  }

  .payment-txn-label {
    flex: 0 0 100px;
  }

  .payment-txn-id {
    max-width: 160px;
  }

  .membership-order-form__methods,
  .admin-order-card__actions,
  .membership-hero__status,
  .membership-orders__header,
  .membership-order-panel__header,
  .admin-order-card__head {
    flex-direction: column;
    align-items: stretch;
  }

  .membership-wechat-box {
    grid-template-columns: 1fr;
  }

  .membership-wechat-box__qr {
    width: 100%;
    max-width: 180px;
  }

  .account-panel {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .account-panel__hero,
  .account-payment-card__head,
  .account-points-card {
    flex-direction: column;
    align-items: stretch;
  }

  .account-profile-head,
  .account-history-card {
    grid-template-columns: 1fr;
  }

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

.top-navbar__icon-button--theme {
  color: var(--brand);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f9f9f9;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f2f2f2;
  --surface-elevated: #ffffff;
  --surface-watch: #ffffff;
  --line: rgba(15, 15, 15, 0.08);
  --line-strong: rgba(210, 75, 114, 0.18);
  --text: #0f0f0f;
  --muted: #606060;
  --brand: #d14b72;
  --brand-strong: #b8315a;
  --brand-deep: #87213f;
  --danger: #fce8ee;
  --shadow: 0 12px 36px rgba(15, 15, 15, 0.08);
}

:root[data-theme="light"] body {
  background:
    radial-gradient(circle at top left, rgba(209, 75, 114, 0.1), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  color: var(--text);
}

:root[data-theme="light"] .sidebar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.96)),
    linear-gradient(180deg, rgba(209, 75, 114, 0.05), transparent);
  border-right: 1px solid rgba(15, 15, 15, 0.08);
}

:root[data-theme="light"] .sidebar__brand-line,
:root[data-theme="light"] .hero-banner__eyebrow,
:root[data-theme="light"] .video-card__title,
:root[data-theme="light"] .channel-page__title,
:root[data-theme="light"] .legal-page__title,
:root[data-theme="light"] .legal-page__section-title,
:root[data-theme="light"] .watch-page__title,
:root[data-theme="light"] .watch-recommendation-card__title,
:root[data-theme="light"] .account-panel__title,
:root[data-theme="light"] .admin-panel__title,
:root[data-theme="light"] .membership-hero__title,
:root[data-theme="light"] .membership-panel__title,
:root[data-theme="light"] .membership-plan-group__header h2,
:root[data-theme="light"] .membership-plan__name,
:root[data-theme="light"] .membership-plan__price,
:root[data-theme="light"] .membership-order-summary strong,
:root[data-theme="light"] .membership-order-form__plan-empty strong,
:root[data-theme="light"] .membership-state-banner,
:root[data-theme="light"] .membership-wechat-contact__copy h2,
:root[data-theme="light"] .account-profile-head h1,
:root[data-theme="light"] .account-summary-card__value {
  color: #0f0f0f;
}

:root[data-theme="light"] .sidebar__brand-subtitle,
:root[data-theme="light"] .sidebar__group-title,
:root[data-theme="light"] .sidebar__legal-links a,
:root[data-theme="light"] .legal-page__subtitle,
:root[data-theme="light"] .legal-page__section-body,
:root[data-theme="light"] .legal-page__back-link,
:root[data-theme="light"] .sidebar__copyright,
:root[data-theme="light"] .sidebar__copyright.muted,
:root[data-theme="light"] .channel-page__description,
:root[data-theme="light"] .video-card__meta,
:root[data-theme="light"] .watch-recommendation-card__meta,
:root[data-theme="light"] .hero-banner__description,
:root[data-theme="light"] .watch-page__description,
:root[data-theme="light"] .membership-hero__copy,
:root[data-theme="light"] .membership-hero__expire,
:root[data-theme="light"] .membership-plan-group__header p,
:root[data-theme="light"] .membership-plan__duration,
:root[data-theme="light"] .membership-plan__summary,
:root[data-theme="light"] .membership-plan__reference,
:root[data-theme="light"] .membership-plan__intro,
:root[data-theme="light"] .membership-order-summary span,
:root[data-theme="light"] .membership-order-summary__note,
:root[data-theme="light"] .membership-order-form__plan-empty span,
:root[data-theme="light"] .membership-wechat-contact__copy p,
:root[data-theme="light"] .account-panel__copy,
:root[data-theme="light"] .account-summary-card__meta,
:root[data-theme="light"] .account-quick-card span,
:root[data-theme="light"] .account-list__empty,
:root[data-theme="light"] .account-form__field span,
:root[data-theme="light"] .account-payment-card__meta,
:root[data-theme="light"] .membership-order-card__meta,
:root[data-theme="light"] .admin-order-card__meta {
  color: #606060;
}

:root[data-theme="light"] .sidebar__item {
  color: #444;
}

:root[data-theme="light"] .sidebar__item:hover {
  background: #f2f2f2;
  color: #111;
}

:root[data-theme="light"] .sidebar__item.is-active {
  background: #ffe8ef;
  color: var(--brand-strong);
}

:root[data-theme="light"] .top-navbar {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(15, 15, 15, 0.06);
}

:root[data-theme="light"] .top-navbar__search,
:root[data-theme="light"] .top-navbar__action,
:root[data-theme="light"] .top-navbar__icon-button,
:root[data-theme="light"] .top-navbar__profile,
:root[data-theme="light"] .top-navbar__currency,
:root[data-theme="light"] .top-navbar__role-switch {
  background: #ffffff;
  border-color: rgba(15, 15, 15, 0.08);
  color: #0f0f0f;
  box-shadow: 0 2px 12px rgba(15, 15, 15, 0.04);
}

:root[data-theme="light"] .top-navbar__search-icon,
:root[data-theme="light"] .top-navbar__chevron,
:root[data-theme="light"] .top-navbar__currency-icon {
  color: #707070;
}

:root[data-theme="light"] .top-navbar__search-input {
  color: #111;
}

:root[data-theme="light"] .top-navbar__search-input::placeholder {
  color: #7a7a7a;
}

:root[data-theme="light"] .top-navbar__status-pill,
:root[data-theme="light"] .membership-panel__status,
:root[data-theme="light"] .watch-page__meta-pill,
:root[data-theme="light"] .membership-hero__status {
  background: #ffe8ef;
  color: var(--brand-strong);
}

:root[data-theme="light"] .hero-banner {
  border-color: rgba(15, 15, 15, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 244, 247, 0.94) 40%, rgba(255, 255, 255, 0.55) 62%),
    #ffffff;
}

:root[data-theme="light"] .hero-banner__subtitle,
:root[data-theme="light"] .video-rail__link,
:root[data-theme="light"] .watch-player__warning,
:root[data-theme="light"] .watch-page__tag,
:root[data-theme="light"] .video-rail__lock {
  color: var(--brand-strong);
}

:root[data-theme="light"] .hero-banner__media-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.14) 28%, rgba(255, 255, 255, 0) 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, 0.16) 100%);
}

:root[data-theme="light"] .video-card__thumb-wrap,
:root[data-theme="light"] .watch-page__sidebar-panel,
:root[data-theme="light"] .watch-recommendation-card,
:root[data-theme="light"] .watch-player__frame,
:root[data-theme="light"] .watch-player__gate,
:root[data-theme="light"] .admin-panel,
:root[data-theme="light"] .admin-stat-card,
:root[data-theme="light"] .admin-coming-soon-card,
:root[data-theme="light"] .admin-users__row,
:root[data-theme="light"] .membership-track,
:root[data-theme="light"] .membership-hero,
:root[data-theme="light"] .membership-plan,
:root[data-theme="light"] .membership-order-panel,
:root[data-theme="light"] .membership-orders,
:root[data-theme="light"] .membership-instructions,
:root[data-theme="light"] .membership-order-card,
:root[data-theme="light"] .admin-order-card,
:root[data-theme="light"] .membership-method,
:root[data-theme="light"] .membership-wechat-box,
:root[data-theme="light"] .account-panel,
:root[data-theme="light"] .account-summary-card,
:root[data-theme="light"] .account-quick-card,
:root[data-theme="light"] .account-history-card,
:root[data-theme="light"] .account-payment-card,
:root[data-theme="light"] .account-points-card,
:root[data-theme="light"] .account-avatar-picker__item,
:root[data-theme="light"] .account-form__field input,
:root[data-theme="light"] .account-form__field textarea,
:root[data-theme="light"] .membership-order-form__field input,
:root[data-theme="light"] .membership-order-form__field textarea,
:root[data-theme="light"] .admin-orders__filter select,
:root[data-theme="light"] .admin-users__cell select,
:root[data-theme="light"] .admin-users__cell input {
  background: #ffffff;
  border-color: rgba(15, 15, 15, 0.08);
  color: #0f0f0f;
  box-shadow: 0 10px 24px rgba(15, 15, 15, 0.04);
}

:root[data-theme="light"] .membership-panel {
  background: linear-gradient(180deg, #fff6f8, #ffffff);
  border-color: rgba(209, 75, 114, 0.16);
  box-shadow: 0 10px 24px rgba(15, 15, 15, 0.04);
}

:root[data-theme="light"] .account-nav__item,
:root[data-theme="light"] .admin-nav__item {
  background: #ffffff;
  border-color: rgba(15, 15, 15, 0.08);
  color: #333;
}

:root[data-theme="light"] .account-nav__item:hover,
:root[data-theme="light"] .account-nav__item.is-active,
:root[data-theme="light"] .admin-nav__item:hover,
:root[data-theme="light"] .admin-nav__item.is-active,
:root[data-theme="light"] .membership-track.is-selected,
:root[data-theme="light"] .membership-plan.is-selected,
:root[data-theme="light"] .membership-method.is-selected,
:root[data-theme="light"] .account-avatar-picker__item.is-active {
  background: #fff0f4;
  border-color: rgba(209, 75, 114, 0.24);
  color: var(--brand-strong);
}

:root[data-theme="light"] .membership-track__summary,
:root[data-theme="light"] .membership-order-form__plan-empty span,
:root[data-theme="light"] .membership-instructions__track {
  color: #606060;
}

:root[data-theme="light"] .membership-state-banner--muted {
  color: #4f5561;
  background: #fff6f8;
  border-color: rgba(209, 75, 114, 0.16);
}

:root[data-theme="light"] .membership-state-banner--error {
  color: #8a2140;
  background: #fdecef;
  border-color: rgba(184, 49, 90, 0.2);
}

:root[data-theme="light"] .membership-benefits .membership-plan-group__header h2,
:root[data-theme="light"] .membership-wechat-contact .membership-plan-group__header h2,
:root[data-theme="light"] .membership-benefits .membership-benefit-card strong,
:root[data-theme="light"] .membership-wechat-contact .membership-wechat-contact__copy h2 {
  color: #fff4f8;
}

:root[data-theme="light"] .membership-benefits .membership-plan-group__header p,
:root[data-theme="light"] .membership-wechat-contact .membership-wechat-contact__copy p {
  color: #d0c4cb;
}

:root[data-theme="light"] .account-panel__message,
:root[data-theme="light"] .admin-panel__message {
  background: #eef8f1;
  color: #215a2f;
}

:root[data-theme="light"] .account-panel__error,
:root[data-theme="light"] .admin-panel__error {
  background: #fdecef;
  color: #a43855;
}

/* Mobile YouTube-style refresh */

:root {
  --page-padding: 16px;
  --mobile-bottom-nav-height: 72px;
  --mobile-header-height: 64px;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(170, 35, 75, 0.18), transparent 18%),
    radial-gradient(circle at top left, rgba(243, 154, 183, 0.1), transparent 16%),
    linear-gradient(180deg, #0b0b0f 0%, #121218 42%, #09090d 100%);
}

.app-shell {
  display: block;
  min-height: 100vh;
}

.app-shell__content {
  min-width: 0;
}

.page-content {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 18px var(--page-padding) calc(var(--mobile-bottom-nav-height) + 28px);
  gap: 20px;
}

.page-content--watch,
.page-content--account {
  max-width: 980px;
}

.top-navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--mobile-header-height);
  padding: 10px var(--page-padding);
  background: rgba(10, 10, 14, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.top-navbar__brand-mark {
  width: 42px;
  height: 30px;
  border-radius: 0;
  overflow: visible;
  border: 0;
  flex: 0 0 auto;
}

.top-navbar__brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.top-navbar__brand-copy {
  display: grid;
  min-width: 0;
}

.top-navbar__brand-copy strong {
  display: block;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-navbar__brand-copy strong {
  font-size: 18px;
  line-height: 1.1;
  color: #fff7fa;
}

.top-navbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 8px;
  flex: 0 0 auto;
}

.top-navbar__role-switch,
.top-navbar__status-pill--desktop,
.top-navbar__action--desktop,
.top-navbar__profile-name {
  display: none;
}

.top-navbar__currency--mobile {
  min-width: 0;
  width: auto;
  padding: 0 10px 0 32px;
}

.top-navbar__currency--mobile .top-navbar__currency-select {
  min-width: 44px;
  max-width: 56px;
  font-size: 12px;
}

.top-navbar__action--mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: max-content;
  flex-wrap: nowrap;
  padding-inline: 12px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.top-navbar__action--vip-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: max-content;
  white-space: nowrap;
  flex: 0 0 auto;
  padding-inline: 10px;
}

.top-navbar__action--mobile-cta > span {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
  line-height: 1;
}

.top-navbar__action--mobile-cta > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-navbar__icon-button,
.top-navbar__profile,
.top-navbar__currency {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f7edf2;
}

.top-navbar__icon-button,
.top-navbar__profile {
  min-width: 40px;
  padding: 0;
}

.top-navbar__icon-button--bell {
  position: relative;
}

.top-navbar__dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #e11d48;
  box-shadow: 0 0 0 2px #ffffff;
}

.top-navbar__avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.sidebar {
  display: none;
}

.mobile-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 14, 0.94);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-bottom-nav__item {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 52px;
  padding: 4px 0 2px;
  border: 0;
  background: transparent;
  color: #978c95;
}

.mobile-bottom-nav__icon .icon {
  width: 22px;
  height: 22px;
}

.mobile-bottom-nav__label {
  font-size: 11px;
  font-weight: 600;
}

.mobile-bottom-nav__item.is-active {
  color: #ff8eb4;
}

.channel-page,
.featured-story,
.member-showcase,
.video-feed,
.community-teaser,
.shorts-placeholder,
.membership-page,
.account-shell,
.watch-page {
  display: grid;
  gap: 18px;
}

.channel-page {
  gap: 0;
  margin: -18px calc(var(--page-padding) * -1) 0;
}

.channel-page__banner {
  position: relative;
  aspect-ratio: 16 / 7.4;
  overflow: hidden;
  background: #0f1016;
}

.channel-page__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 12, 0.08) 0%, rgba(8, 8, 12, 0.36) 72%, rgba(8, 8, 12, 0.86) 100%);
}

.channel-page__banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.channel-page__profile {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  padding: 0 var(--page-padding) 18px;
  margin-top: -26px;
}

.channel-page__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid #0f1016;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.channel-page__info {
  display: grid;
  gap: 6px;
  min-width: 0;
  align-content: start;
}

.channel-page__title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.channel-page__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  color: #fff6f8;
}

.channel-page__verified,
.watch-author__verified {
  display: inline-flex;
  color: #fff2f5;
}

.channel-page__verified .icon,
.watch-author__verified .icon {
  width: 18px;
  height: 18px;
}

.channel-page__handle,
.channel-page__stats,
.channel-page__bio summary,
.channel-page__bio p {
  margin: 0;
  color: #baaeb7;
}

.channel-page__handle {
  font-size: 14px;
}

.channel-page__stats {
  font-size: 13px;
}

.channel-page__bio {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 14px;
}

.channel-page__bio summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #f1d7e0;
}

.channel-page__bio summary::-webkit-details-marker {
  display: none;
}

.channel-page__bio p {
  margin-top: 10px;
  line-height: 1.7;
  font-size: 14px;
}

.channel-page__subscribe {
  grid-column: 1 / -1;
  min-height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: linear-gradient(180deg, #f0abc3, #d36d90);
  color: #24060f;
  font-size: 15px;
  font-weight: 800;
}

.channel-links,
.channel-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.channel-links::-webkit-scrollbar,
.channel-tabs::-webkit-scrollbar,
.account-nav::-webkit-scrollbar {
  display: none;
}

.channel-links {
  padding-top: 4px;
}

.channel-links__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #f0dfe7;
  white-space: nowrap;
  font-size: 13px;
}

.channel-links__icon {
  display: inline-flex;
  color: #ff97b9;
}

.channel-tabs {
  padding: 0 var(--page-padding) 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.channel-tabs__item {
  position: relative;
  padding: 14px 6px 12px;
  color: #b6a8b1;
  font-weight: 700;
  white-space: nowrap;
}

.channel-tabs__item.is-active {
  color: #fff4f8;
}

.channel-tabs__item.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: #fff4f8;
}

.featured-story__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: #12131a;
}

.featured-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-story__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 18px 18px;
  background:
    linear-gradient(180deg, rgba(9, 9, 12, 0) 0%, rgba(9, 9, 12, 0.92) 72%);
}

.featured-story__eyebrow,
.video-feed__eyebrow,
.member-showcase__eyebrow,
.community-teaser__eyebrow,
.membership-hub__eyebrow,
.account-panel__eyebrow,
.watch-empty-state__eyebrow {
  margin: 0 0 8px;
  color: #f4a5c2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured-story__title,
.member-showcase__title,
.video-feed__title,
.community-teaser__title,
.membership-hub__title,
.watch-empty-state__title {
  margin: 0;
  color: #fff5f8;
}

.featured-story__title {
  font-size: 30px;
  line-height: 1.08;
}

.featured-story__watch {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff4f7;
  font-weight: 700;
}

.member-showcase,
.membership-order-panel,
.membership-orders,
.account-panel,
.community-teaser__card,
.shorts-placeholder__card,
.watch-page__recommendations-panel {
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(17, 18, 26, 0.96), rgba(10, 11, 17, 0.98)),
    #101119;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.member-showcase__hero {
  display: grid;
  gap: 12px;
}

.member-showcase__copy,
.member-showcase__hero p,
.community-teaser__copy,
.shorts-placeholder__card p,
.membership-hub__description,
.watch-page__recommendations-header p,
.account-panel__copy {
  margin: 0;
  color: #c5bac2;
  line-height: 1.7;
}

.member-showcase__cta {
  justify-self: start;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff3f7;
  font-weight: 700;
}

.member-showcase__cards {
  display: grid;
  gap: 14px;
}

.video-feed__header,
.membership-order-panel__header,
.membership-orders__header,
.watch-page__recommendations-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.video-feed__title {
  font-size: 24px;
}

.video-feed__list {
  display: grid;
  gap: 18px;
}

.video-feed-card {
  display: grid;
  gap: 12px;
}

.video-feed-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 9;
  background: #101116;
}

.video-feed-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-feed-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 6, 8, 0) 0%, rgba(6, 6, 8, 0.08) 62%, rgba(6, 6, 8, 0.28) 100%);
  pointer-events: none;
}

.video-feed-card__duration,
.video-feed-card__badge {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff7fa;
  font-size: 12px;
  font-weight: 700;
}

.video-feed-card__duration {
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
}

.video-feed-card__badge {
  left: 10px;
  top: 10px;
  padding: 5px 9px;
}

.video-feed-card__badge .icon {
  width: 13px;
  height: 13px;
}

.video-feed-card__badge.is-member {
  background: rgba(105, 15, 34, 0.78);
  color: #ff004e;
}

.video-feed-card__badge.is-fresh {
  background: rgba(31, 31, 37, 0.78);
  color: #410014;
}

.video-feed-card__author {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: 10px;
  align-items: start;
}

.video-feed-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.video-feed-card__copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.video-feed-card__title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #fff3f7;
  font-size: 17px;
  line-height: 1.42;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.video-feed-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #b7aab4;
  font-size: 13px;
}

.video-feed-card__dot,
.video-card__dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.video-feed-card__more {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #c6b9c2;
}

.community-teaser__card,
.shorts-placeholder__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.community-teaser__badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f2d6e0;
  white-space: nowrap;
}

.shorts-placeholder__icon {
  display: inline-flex;
  color: #ff8cad;
}

.membership-page {
  gap: 20px;
}

.membership-hub {
  display: grid;
  gap: 16px;
}

.membership-hub__hero {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(19, 17, 23, 0.98), rgba(36, 15, 24, 0.94) 58%, rgba(84, 18, 34, 0.88)),
    #101119;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.membership-hub__title {
  font-size: 32px;
  line-height: 1.06;
}

.membership-hub__status {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 20px;
  max-width: 100%;
  background: rgba(20, 20, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.membership-hub__expire {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.membership-hub__renew {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.membership-hub__renew:hover {
  background: rgba(255, 255, 255, 0.26);
}

.membership-hub__art {
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 16 / 9;
}

.membership-hub__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.membership-hub__highlights {
  display: grid;
  gap: 12px;
}

.membership-hub__highlights article,
.membership-preview-panel {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.membership-state-banner {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(243, 154, 183, 0.1);
  border: 1px solid rgba(243, 154, 183, 0.18);
  color: #f8dce7;
  line-height: 1.6;
}

.membership-state-banner--error {
  background: rgba(152, 34, 55, 0.18);
  border-color: rgba(229, 97, 126, 0.28);
  color: #ffd5df;
}

.membership-state-banner--muted {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.05);
  color: #baadb6;
}

.membership-hub__highlights strong,
.membership-preview-panel__copy h2 {
  display: block;
  margin-bottom: 6px;
  color: #fff2f6;
}

.membership-hub__highlights span,
.membership-preview-panel__copy p {
  color: #c3b7c0;
  line-height: 1.65;
}

.membership-order-panel--cinematic {
  gap: 18px;
}

.membership-order-panel--preview {
  gap: 16px;
}

.membership-track-grid,
.membership-order-form__plan-options {
  display: grid;
  gap: 14px;
}

.membership-track,
.membership-plan {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.membership-track.is-selected,
.membership-plan.is-selected,
.membership-method.is-selected {
  border-color: rgba(243, 154, 183, 0.45);
  box-shadow: 0 0 0 1px rgba(243, 154, 183, 0.18);
}

.membership-track__head,
.membership-track__benefits,
.membership-plan__pricing {
  display: grid;
  gap: 10px;
}

.membership-track__tier {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffd9e6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.membership-track__title,
.membership-plan__name,
.membership-orders__header h2,
.membership-order-panel__header h2,
.membership-instructions h3,
.membership-order-card__head h3,
.account-panel__title,
.watch-page__recommendations-header h2 {
  margin: 0;
  color: #fff4f8;
}

.membership-track__title {
  font-size: 24px;
  line-height: 1.14;
}

.membership-track__summary,
.membership-order-form__plan-empty span,
.membership-instructions p,
.membership-orders__header p,
.membership-order-card__meta,
.membership-instructions__track {
  color: #baadb6;
  line-height: 1.7;
}

.membership-track__benefits {
  margin: 0;
  padding-left: 18px;
  color: #efe3e8;
}

.membership-track__benefits li {
  line-height: 1.6;
}

.membership-plan-group {
  display: grid;
  gap: 14px;
}

.membership-plan-group__header {
  display: grid;
  gap: 6px;
}

.membership-plan-group__currency {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 40px;
  padding: 0 12px 0 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(16, 17, 24, 0.82);
  color: #f4edf2;
}

.membership-plan-group__currency-icon {
  position: absolute;
  left: 12px;
  display: inline-flex;
  align-items: center;
  color: #948a96;
  pointer-events: none;
}

.membership-plan-group__currency-select {
  min-width: 104px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.membership-plan-group__currency-select option {
  color: #111111;
}

.membership-plan-group__header h2 {
  margin: 0;
  color: #fff4f8;
  font-size: 22px;
}

.membership-plan-group__header p,
.membership-plan__reference,
.membership-order-summary span,
.membership-order-summary__note {
  color: #baadb6;
  line-height: 1.6;
}

.membership-plan-grid {
  display: grid;
  gap: 14px;
}

.membership-plan--featured {
  background:
    linear-gradient(180deg, rgba(59, 27, 44, 0.94), rgba(28, 18, 25, 0.96)),
    rgba(255, 255, 255, 0.03);
}

.membership-plan--value {
  background:
    linear-gradient(180deg, rgba(38, 28, 49, 0.94), rgba(20, 17, 29, 0.96)),
    rgba(255, 255, 255, 0.03);
}

.membership-plan--admin {
  background:
    linear-gradient(180deg, rgba(34, 42, 70, 0.94), rgba(18, 24, 42, 0.96)),
    rgba(255, 255, 255, 0.03);
}

.membership-plan__duration,
.membership-plan__summary {
  margin: 0;
}

.membership-plan__badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #ffe8ef;
  font-size: 12px;
  font-weight: 800;
}

.membership-plan__price {
  font-size: 34px;
}

.membership-plan__reference {
  font-size: 14px;
}

.membership-plan__intro {
  color: #f4b1ca;
}

.membership-order-summary {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.membership-order-summary strong {
  color: #fff4f8;
  font-size: 18px;
}

.membership-order-form__section {
  display: grid;
  gap: 12px;
}

.membership-order-form__section > legend {
  margin-bottom: 2px;
  color: #f6d9e4;
  font-weight: 800;
}

.membership-order-form__plan-empty {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(243, 154, 183, 0.26);
  background: rgba(243, 154, 183, 0.06);
}

.membership-order-form__methods {
  display: grid;
  gap: 12px;
}

.membership-method {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.membership-method input {
  margin: 0;
}

.membership-instructions,
.membership-order-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.membership-wechat-box {
  display: grid;
  gap: 14px;
}

.membership-wechat-box__qr {
  display: grid;
  place-items: center;
  max-width: 180px;
  aspect-ratio: 1;
  border-radius: 18px;
  border: 1px dashed rgba(243, 154, 183, 0.26);
  background: rgba(243, 154, 183, 0.08);
  color: #f0bfd0;
  font-size: 12px;
  text-align: center;
}

.membership-wechat-box__copy {
  display: grid;
  gap: 8px;
}

.membership-order-form__field {
  display: grid;
  gap: 8px;
}

.membership-order-form__field span,
.account-form__field span,
.account-avatar-picker__label,
.admin-orders__filter span {
  color: #bbaeb8;
  font-size: 13px;
}

.membership-order-form__field input,
.membership-order-form__field textarea,
.account-form__field input,
.account-form__field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 14, 0.84);
  color: #fff3f7;
}

.membership-order-form__field textarea,
.account-form__field textarea {
  min-height: 116px;
  padding: 14px;
  resize: vertical;
}

.membership-skeleton-grid {
  display: grid;
  gap: 14px;
}

.membership-skeleton-card {
  display: block;
  min-height: 170px;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}

.watch-page {
  grid-template-columns: 1fr;
  gap: 18px;
}

.watch-player {
  gap: 12px;
}

.watch-player__frame {
  border-radius: 0;
  margin: -18px calc(var(--page-padding) * -1) 0;
  aspect-ratio: 16 / 9;
  border: 0;
  box-shadow: none;
}

.watch-player__gate {
  inset: auto 14px 14px 14px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(13, 14, 20, 0.9);
}

.watch-page__details {
  padding: 0;
  display: grid;
  gap: 14px;
}

.watch-page__meta-strip,
.watch-page__actions,
.watch-page__tags,
.membership-hub__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.watch-page__meta-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #e4d8de;
}

.watch-page__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
}

.watch-page__stats,
.watch-player__warning,
.watch-author p,
.account-summary-card__meta,
.account-list__empty,
.account-payment-card__meta {
  margin: 0;
  color: #b6a9b2;
  line-height: 1.7;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.watch-page__action-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff2f6;
}

.watch-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.watch-author__main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.watch-author__main > div {
  min-width: 0;
}

.watch-author__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.watch-author__title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.watch-author__title-row strong {
  color: #fff4f8;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.watch-author__cta {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4edf2;
  color: #12070c;
  font-weight: 800;
  text-align: center;
}

.watch-page__member-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(133, 27, 48, 0.16);
  color: #f7d5e0;
}

.watch-page__member-note p,
.watch-page__description {
  margin: 0;
  color: #cfc2ca;
  line-height: 1.75;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.watch-page__tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(243, 154, 183, 0.12);
  color: #f5bdd0;
  font-size: 13px;
}

.watch-page__recommendations-panel {
  gap: 16px;
}

.watch-page__recommendations {
  display: grid;
  gap: 14px;
}

.watch-recommendation-card {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.watch-recommendation-card__thumb-wrap {
  border-radius: 14px;
  overflow: hidden;
}

.watch-recommendation-card__body {
  display: grid;
  gap: 6px;
}

.watch-recommendation-card__title {
  display: -webkit-box;
  margin: 0;
  color: #fff2f6;
  overflow: hidden;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.watch-empty-state {
  padding: 56px 0 8px;
}

.account-shell {
  gap: 16px;
}

.account-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.account-nav__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #d1c3cb;
  white-space: nowrap;
}

.account-nav__item.is-active {
  background: rgba(243, 154, 183, 0.12);
  color: #fff2f7;
}

.account-panel {
  gap: 18px;
}

.account-panel--hero {
  background:
    linear-gradient(180deg, rgba(19, 20, 27, 0.96), rgba(12, 13, 19, 0.98)),
    #101119;
}

.account-panel__hero,
.account-payment-card__head,
.account-points-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.account-panel__title {
  font-size: 28px;
}

.account-panel__footer {
  justify-content: stretch;
}

.account-profile-head {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.account-logout-button {
  width: 100%;
  border-radius: 999px;
}

.account-profile-head__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.account-summary-grid,
.account-quick-grid,
.account-list,
.account-form,
.account-avatar-picker,
.account-payment-card,
.account-points-card {
  display: grid;
  gap: 14px;
}

.account-summary-card,
.account-quick-card,
.account-history-card,
.account-payment-card,
.account-points-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.account-summary-card {
  display: grid;
  gap: 8px;
}

.account-summary-card__icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffa2c0;
}

.account-summary-card__label,
.account-history-card__body span,
.account-payment-card__head span,
.account-payment-card__grid span,
.account-points-card span {
  color: #bfafb8;
}

.account-summary-card__value {
  color: #fff5f8;
  font-size: 22px;
}

.account-quick-card {
  color: #fff5f8;
}

.account-quick-card span {
  color: #bcafb8;
}

.account-form__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d2c2cb;
}

.account-form__actions {
  display: flex;
}

.account-avatar-picker__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.account-avatar-picker__item {
  width: 100%;
  aspect-ratio: 1;
  padding: 4px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.account-avatar-picker__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.account-avatar-picker__item.is-active {
  border-color: rgba(243, 154, 183, 0.45);
}

.account-history-card {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.account-history-card__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  object-fit: cover;
}

.account-history-card__body {
  display: grid;
  gap: 6px;
}

.account-history-card__body strong,
.account-payment-card__head strong,
.account-points-card strong {
  color: #fff4f8;
}

.account-payment-card__grid {
  display: grid;
  gap: 8px;
}

.account-points-card__delta {
  color: #ff9fbe;
  font-size: 24px;
}

.account-panel__message,
.account-panel__error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
}

.account-panel__message {
  background: rgba(102, 190, 135, 0.12);
  color: #b9ecc9;
}

.account-panel__error {
  background: rgba(175, 55, 85, 0.16);
  color: #f4b8ca;
}

.auth-page {
  min-height: calc(100vh - var(--mobile-header-height) - var(--mobile-bottom-nav-height));
}

.auth-form__submit,
.hero-banner__primary,
.membership-panel__button,
.watch-player__gate-button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
}

.hero-banner__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@media (max-width: 640px) {
  .top-navbar__icon-button--theme,
  .top-navbar__icon-button--mobile-cta,
  .top-navbar__brand-copy small {
    display: none;
  }

  .top-navbar__brand-copy strong {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .top-navbar__brand-copy strong {
    font-size: 13px;
  }

  .channel-page__title,
  .membership-hub__title,
  .featured-story__title,
  .account-panel__title {
    font-size: 15px;
  }
}

@media (min-width: 700px) {
  .membership-hub__hero,
  .membership-hub__highlights,
  .membership-track-grid,
  .membership-order-form__plan-options,
  .membership-skeleton-grid,
  .member-showcase__cards,
  .account-summary-grid,
  .account-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .membership-order-form__methods,
  .account-payment-card__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .app-shell {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
  }

  .sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 20px 14px;
    background:
      linear-gradient(180deg, rgba(7, 7, 11, 0.98), rgba(9, 9, 14, 0.94)),
      linear-gradient(180deg, rgba(163, 32, 67, 0.08), transparent);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }

  .sidebar__brand {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 0 10px;
    margin-bottom: 26px;
  }

  .sidebar__brand-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .sidebar__brand-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .sidebar__brand-title {
    margin: 0;
  }

  .sidebar__brand-title {
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sidebar__group {
    margin-bottom: 14px;
  }

  .sidebar__group-title {
    margin: 0 0 10px;
    padding: 0 12px;
    color: #7d7580;
    font-size: 12px;
    text-transform: uppercase;
  }

  .sidebar__menu {
    display: grid;
    gap: 6px;
  }

  .sidebar__item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 12px;
    border-radius: 14px;
    color: #d8ccd4;
  }

  .sidebar__item.is-active {
    background: rgba(243, 154, 183, 0.12);
    color: #fff1f6;
  }

  .membership-panel {
    margin-top: auto;
  }

  .sidebar__footer {
    padding: 18px 10px 0;
  }

  .mobile-bottom-nav {
    display: none;
  }

  .page-content {
    max-width: 1100px;
    padding: 26px 24px 42px;
  }

  .top-navbar {
    padding: 14px 24px;
  }

  .top-navbar__role-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .top-navbar__role-button {
    min-width: 54px;
    min-height: 32px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #bdaeb8;
  }

  .top-navbar__role-button.is-active {
    background: rgba(243, 154, 183, 0.16);
    color: #fff2f7;
  }

  .top-navbar__status-pill--desktop,
  .top-navbar__action--desktop,
  .top-navbar__profile-name {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
  }

  .top-navbar__action--desktop {
    width: auto;
    min-width: 0;
    gap: 8px;
    padding: 0 14px;
  }

  .top-navbar__action--mobile-cta {
    display: none;
  }

  .top-navbar__action--vip-mobile {
    display: none;
  }

  .top-navbar__profile {
    display: inline-flex;
    width: auto;
    max-width: 180px;
    min-width: 0;
    flex: 0 1 180px;
    padding: 4px 12px 4px 4px;
    gap: 10px;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .top-navbar__profile--guest {
    max-width: none;
    flex: 0 0 auto;
    padding: 0 14px;
  }

  .top-navbar__avatar {
    width: 32px;
    height: 32px;
  }

  .top-navbar__icon-button--mobile-cta {
    display: none;
  }

  .channel-page {
    margin: 0;
  }

  .channel-page__profile {
    grid-template-columns: 108px minmax(0, 1fr) auto;
    padding: 0 0 20px;
  }

  .channel-page__avatar {
    width: 108px;
    height: 108px;
  }

  .channel-page__subscribe {
    grid-column: auto;
    align-self: end;
  }

  .channel-tabs {
    padding: 0 0 8px;
  }

  .featured-story__title,
  .membership-hub__title {
    font-size: 38px;
  }

  .membership-hub__hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .membership-hub__highlights,
  .member-showcase__cards,
  .membership-track-grid,
  .membership-order-form__plan-options,
  .membership-skeleton-grid,
  .account-summary-grid,
  .account-quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .watch-player__frame {
    margin: 0;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
  }

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

  .account-panel__footer {
    display: none;
  }

  .account-logout-button {
    width: auto;
    border-radius: 14px;
  }
}

/* Commercial MVP membership page */

.auth-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.auth-form__submit--link {
  width: fit-content;
  padding: 0 18px;
}

.membership-hub--youtube .membership-hub__hero {
  position: relative;
  isolation: isolate;
  min-height: auto;
}

.membership-hub--youtube .membership-hub__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 118, 168, 0.22), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(7, 7, 10, 0.08), rgba(7, 7, 10, 0.72));
}

.membership-hub--youtube .membership-hub__copy {
  position: relative;
  z-index: 1;
  align-self: end;
}

.membership-hub--youtube .membership-hub__description {
  max-width: 560px;
  font-size: 17px;
}

.membership-benefits,
.membership-wechat-contact {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(17, 18, 26, 0.96), rgba(10, 11, 17, 0.98)),
    #101119;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.membership-notice {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.membership-notice__title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.membership-notice__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
}

.membership-notice__list li {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}

.membership-benefits__grid {
  display: grid;
  gap: 12px;
}

.membership-benefit-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.membership-benefit-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(243, 154, 183, 0.14);
  color: #ffa8c6;
}

.membership-benefit-card strong {
  color: #fff4f8;
  font-size: 16px;
}

.membership-payment-stack {
  display: grid;
  gap: 12px;
}

.membership-instructions--paypal {
  background:
    linear-gradient(135deg, rgba(243, 154, 183, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.03);
}

.membership-paypal__button {
  justify-self: center;
  width: min(280px, 100%);
  min-width: 0;
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.membership-paypal__button:hover {
  background: #15803d;
  border-color: #15803d;
}

.membership-refund-notice {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: #736b76;
  text-align: center;
}

.membership-refund-notice a {
  color: #9f97a1;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.membership-refund-notice a:hover {
  color: #c8b8cc;
}

.membership-wechat-contact {
  grid-template-columns: 148px minmax(0, 1fr);
  align-items: center;
}

.membership-wechat-contact__qr {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.membership-wechat-contact__qr img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}

.membership-wechat-contact__copy {
  display: grid;
  gap: 10px;
}

.membership-wechat-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.membership-wechat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 155px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: #ffffff;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, transform 120ms ease;
}

.membership-wechat-btn:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.membership-wechat-contact__copy h2,
.membership-wechat-contact__copy p {
  margin: 0;
}

.membership-wechat-contact__copy h2 {
  color: #fff4f8;
  font-size: 22px;
}

.membership-wechat-contact__copy p {
  color: #c9bdc5;
  line-height: 1.7;
}

/* ── Discord 区块 ────────────────────────────────────────────────────────── */
.membership-discord {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.18) 0%, rgba(88, 101, 242, 0.06) 100%);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 20px;
  padding: 24px 28px;
  margin-top: 4px;
}

.membership-discord__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: #5865f2;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4);
}

.membership-discord__copy {
  flex: 1;
  min-width: 0;
}

.membership-discord__copy h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.membership-discord__copy p {
  margin: 0;
  font-size: 14px;
  color: #c4c9f5;
  line-height: 1.6;
}

.membership-discord__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5865f2;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, transform 0.12s;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.35);
}

.membership-discord__btn:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .membership-discord {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }
  .membership-discord__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .membership-hub--youtube .membership-hub__hero {
    min-height: auto;
    padding: 0;
  }

  .membership-hub--youtube .membership-hub__art {
    position: absolute;
    inset: 0;
    border-radius: 0;
    aspect-ratio: auto;
    opacity: 0.72;
  }

  .membership-hub--youtube .membership-hub__art::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(7, 7, 10, 0.08), rgba(7, 7, 10, 0.28) 42%, rgba(7, 7, 10, 0.94) 100%);
  }

  .membership-hub--youtube .membership-hub__copy {
    align-self: end;
    padding: 150px 18px 20px;
  }

  .membership-wechat-contact {
    grid-template-columns: 1fr;
  }

  .membership-wechat-contact__qr {
    justify-self: center;
    width: min(220px, 100%);
  }

  .membership-wechat-contact__actions {
    gap: 10px;
  }
}

/* ── 客服入口 ─────────────────────────────────────────────────────────────── */
.membership-support-entry {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #111111;
  border: 1px solid #242424;
  margin-top: 8px;
}

.membership-support-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.membership-support-btn:hover {
  background: #252525;
  border-color: #555555;
}

.membership-support-hint {
  font-size: 13px;
  color: #888888;
  margin: 0;
}

/* ── 客服抽屉 ─────────────────────────────────────────────────────────────── */
.support-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 900;
  animation: fadeIn 0.18s ease;
}

.support-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 901;
  background: #161616;
  border-top: 1px solid #2a2a2a;
  border-radius: 20px 20px 0 0;
  padding: 0 0 env(safe-area-inset-bottom, 0);
  animation: slideUp 0.22s cubic-bezier(0.25, 0.8, 0.25, 1);
  max-height: 80vh;
  overflow-y: auto;
}

@media (min-width: 600px) {
  .support-drawer {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 480px;
    border-radius: 20px 20px 0 0;
    bottom: 0;
  }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.support-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 12px;
  border-bottom: 1px solid #222222;
}

.support-drawer__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.support-drawer__close {
  background: none;
  border: none;
  color: #aaaaaa;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
}

.support-drawer__body {
  padding: 18px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.support-drawer__hint {
  margin: 0;
  font-size: 14px;
  color: #999999;
}

.support-drawer__textarea {
  width: 100%;
  background: #1e1e1e;
  border: 1px solid #303030;
  border-radius: 12px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.55;
  padding: 12px 14px;
  resize: none;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s;
}

.support-drawer__textarea:focus {
  border-color: #e8003d;
}

.support-drawer__error {
  color: #f87171;
  font-size: 13px;
  margin: 0;
}

.support-drawer__send {
  background: #e8003d;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  padding: 13px;
  cursor: pointer;
  transition: background 0.15s;
}

.support-drawer__send:hover:not(:disabled) {
  background: #cc0034;
}

.support-drawer__send:disabled,
.support-drawer__send.is-loading {
  opacity: 0.55;
  cursor: default;
}

.support-drawer__success {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  padding: 8px 0;
}

.support-drawer__success p {
  margin: 0;
}

.support-drawer__success-hint {
  color: #999999;
  font-size: 14px;
}

/* ── Admin 客服消息（WeChat 风格双栏） ───────────────────────────────────── */
.admin-page--support {
  padding: 0 !important;
  margin: 0 !important;
}

/* 直接固定到视口剩余区域，绕过高度传递链 */
.sc-shell {
  position: fixed;
  top: 80px;            /* 顶部导航栏高度 */
  left: var(--sidebar-width);
  right: 0;
  bottom: 0;
  display: flex;
  overflow: hidden;
  background: #111111;
}

/* 左侧用户列表 */
.sc-sidebar {
  width: 260px;
  min-width: 220px;
  max-width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #222222;
  background: #0f0f0f;
  overflow: hidden;
}

.sc-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 1px solid #1e1e1e;
  flex-shrink: 0;
}

.sc-sidebar__badge {
  background: #e8003d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}

.sc-sidebar__list {
  flex: 1;
  overflow-y: auto;
}

.sc-user-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #1a1a1a;
  transition: background 0.1s;
}

.sc-user-item:hover {
  background: #181818;
}

.sc-user-item.is-active {
  background: #1e1e1e;
}

.sc-user-item__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #333333;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sc-user-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sc-user-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.sc-user-item__name {
  font-size: 13px;
  font-weight: 600;
  color: #eeeeee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-user-item__time {
  font-size: 11px;
  color: #666666;
  white-space: nowrap;
  flex-shrink: 0;
}

.sc-user-item__preview {
  font-size: 12px;
  color: #777777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.sc-user-item__badge {
  background: #e8003d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 20px;
  flex-shrink: 0;
}

.sc-empty {
  padding: 24px 16px;
  font-size: 13px;
  color: #666666;
  text-align: center;
}

/* 右侧对话区域 */
.sc-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #111111;
  overflow: hidden;
}

.sc-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555555;
  font-size: 14px;
}

.sc-chat-header {
  padding: 14px 20px;
  border-bottom: 1px solid #222222;
  background: #141414;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.sc-chat-header strong {
  font-size: 15px;
  color: #ffffff;
}

.sc-chat-header span {
  font-size: 12px;
  color: #777777;
}

.sc-chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-chat-empty {
  text-align: center;
  color: #555555;
  font-size: 13px;
  margin-top: 20px;
}

/* 气泡行 */
.sc-bubble-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.sc-bubble-row--admin {
  justify-content: flex-end;
}

.sc-bubble-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2a2a2a;
  color: #cccccc;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: flex-start;
}

.sc-bubble-avatar--admin {
  background: #e8003d22;
  color: #e8003d;
}

.sc-bubble-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 65%;
}

.sc-bubble-row--admin .sc-bubble-wrap {
  align-items: flex-end;
  text-align: right;
}

.sc-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
}

.sc-bubble--user {
  background: #222222;
  color: #eeeeee;
  border-bottom-left-radius: 4px;
}

.sc-bubble--admin {
  background: #07c160;
  color: #000000;
  border-bottom-right-radius: 4px;
}

.sc-bubble-time {
  font-size: 11px;
  color: #555555;
  padding: 0 4px;
}

/* 输入区域 */
.sc-chat-input {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  padding: 10px 14px 12px;
  border-top: 1px solid #1e1e1e;
  background: #141414;
  flex-shrink: 0;
}

.sc-chat-input__textarea {
  flex: 1;
  background: #1e1e1e;
  border: 1px solid #2e2e2e;
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  padding: 8px 10px;
  resize: none;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
  max-height: 80px;
}

.sc-chat-input__textarea:focus {
  border-color: #07c160;
}

.sc-chat-input__send {
  background: #07c160;
  color: #000000;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 1px;
}

.sc-chat-input__send:hover:not(:disabled) {
  background: #06ad56;
}

.sc-chat-input__send:disabled,
.sc-chat-input__send.is-loading {
  opacity: 0.5;
  cursor: default;
}

@media (min-width: 700px) {
  .membership-plan-group__header {
    /* grid-template-columns: minmax(0, 1fr) auto; */
    align-items: center;
    gap: 12px;
  }

  .membership-plan-group__currency {
    justify-self: end;
  }

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

@media (min-width: 960px) {
  .membership-page {
    gap: 24px;
  }

  .membership-hub--youtube .membership-hub__hero {
    grid-template-columns: minmax(0, 1fr) 420px;
  }

  .membership-hub--youtube .membership-hub__title {
    font-size: 48px;
    max-width: 720px;
  }

  .membership-order-panel {
    gap: 22px;
  }
}

/* YouTube dark mode refresh */

html,
body,
.app-shell,
.app-shell__content,
.page-content,
.watch-page,
.channel-page,
.membership-page {
  background: #0f0f0f;
  color: #f1f1f1;
}

.sidebar,
.top-navbar,
.mobile-bottom-nav {
  background: #0f0f0f;
  border-color: #303030;
  box-shadow: none;
}

.sidebar {
  border-right: 1px solid #303030;
}

.auth-card,
.admin-panel,
.account-panel,
.membership-panel,
.membership-order-panel,
.membership-benefits,
.membership-plan,
.membership-wechat-contact,
.watch-page__sidebar-panel,
.watch-page__recommendations-panel,
.watch-player__frame,
.watch-player__gate,
.channel-page__banner,
.hero-banner,
.member-showcase {
  background: #181818;
  border-color: #303030;
  box-shadow: none;
}

.sidebar__brand-title,
.admin-panel__title,
.account-panel__title,
.hero-banner__title,
.watch-page__title,
.channel-page__title,
.membership-hub__title,
.member-showcase__title,
.video-card__title,
.membership-plan-group__header h2,
.membership-wechat-contact__copy h2,
.membership-benefit-card strong,
.membership-order-summary strong {
  color: #f1f1f1;
  text-shadow: none;
}

.sidebar__group-title,
.sidebar__copyright,
.sidebar__copyright.muted,
.hero-banner__description,
.hero-banner__subtitle,
.watch-page__description,
.watch-page__stats,
.channel-page__handle,
.channel-page__stats,
.channel-page__bio summary,
.channel-page__bio p,
.video-card__meta,
.watch-recommendation-card__meta,
.membership-hub__description,
.membership-hub__expire,
.membership-plan__summary,
.membership-plan__duration,
.membership-plan__reference,
.membership-plan__intro,
.membership-plan-group__header p,
.membership-order-summary span,
.membership-order-summary__note,
.member-showcase__copy,
.member-showcase__hero p,
.account-panel__copy,
.admin-panel__copy,
.top-navbar__search-input::placeholder {
  color: #aaa;
}

.sidebar__item,
.top-navbar__action,
.top-navbar__icon-button,
.top-navbar__profile,
.account-nav__item,
.admin-nav__item,
.mobile-bottom-nav__item,
.watch-page__meta-pill,
.watch-page__tag,
.watch-page__action-chip {
  color: #f1f1f1;
}

.sidebar__item:hover,
.top-navbar__action:hover,
.top-navbar__icon-button:hover,
.top-navbar__profile:hover,
.account-nav__item:hover,
.admin-nav__item:hover,
.watch-page__action-chip:hover {
  background: #212121;
}

.sidebar__item.is-active,
.account-nav__item.is-active,
.admin-nav__item.is-active,
.mobile-bottom-nav__item.is-active,
.watch-page__verified,
.channel-page__verified,
.auth-card__tab.is-active {
  color: #ff0000;
}

.mobile-bottom-nav__item.is-active,
.auth-card__tab.is-active,
.watch-page__meta-pill,
.watch-page__tag,
.watch-page__action-chip,
.top-navbar__action--desktop,
.admin-user-detail__back {
  background: #212121;
  border-color: #303030;
}

.top-navbar__action--membership,
.top-navbar__action--mobile-cta,
.top-navbar__action--vip {
  border-color: #ff0000;
}

.membership-plan.is-selected {
  background: #212121;
  border-color: #ff0000;
  box-shadow: inset 0 0 0 1px rgba(255, 0, 0, 0.24);
}

.membership-plan__badge,
.top-navbar__status-pill,
.membership-panel__status,
.membership-hub__status,
.community-teaser__badge,
.message-card__badge,
.top-navbar__dot,
.auth-form__submit,
.hero-banner__primary,
.membership-panel__button,
.member-strip__button,
.watch-player__gate-button,
.channel-page__subscribe,
.member-showcase__cta {
  background: #ff0000;
  color: #fff;
}

.membership-hub__status .top-navbar__status-pill {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 800;
}

.membership-hub__status {
  background: rgba(20, 20, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.membership-hub__renew {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.membership-hub__renew:hover {
  background: rgba(255, 255, 255, 0.2);
}

.auth-form__submit.membership-paypal__button,
.auth-form__submit--link.membership-paypal__button {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.auth-form__submit.membership-paypal__button:hover,
.auth-form__submit--link.membership-paypal__button:hover {
  background: #15803d;
  border-color: #15803d;
}

.admin-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #303030;
  background: #171717;
  color: #d6d6d6;
  text-decoration: none;
}

.admin-filter-pill:hover,
.admin-filter-pill.is-active {
  border-color: #ff0000;
  color: #ffffff;
}

.admin-filter-pill.is-active {
  background: rgba(255, 0, 0, 0.14);
}

.admin-finance-grid {
  display: grid;
  gap: 18px;
}

.admin-finance-card {
  gap: 16px;
}

.admin-finance-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-finance-card__head h2,
.admin-finance-card__head span {
  margin: 0;
}

.admin-finance-card__head h2 {
  font-size: 18px;
}

.admin-finance-card__head span {
  color: #aaaaaa;
  font-size: 13px;
}

.admin-finance-breakdown {
  display: grid;
  gap: 10px;
}

.admin-finance-breakdown__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: #1a1a1a;
  border: 1px solid #2b2b2b;
}

.admin-finance-breakdown__row small {
  grid-column: 1 / -1;
  color: #9f9f9f;
}

.admin-finance-breakdown__empty {
  padding: 16px;
  border-radius: 14px;
  background: #171717;
  border: 1px dashed #2f2f2f;
  color: #9f9f9f;
}

@media (min-width: 960px) {
  .admin-finance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── Finance section label ───────────────────────────────────────────────── */
.admin-finance-section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888888;
  margin: 24px 0 10px;
}

/* ── Quarter comparison grid ─────────────────────────────────────────────── */
.admin-finance-quarter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 760px) {
  .admin-finance-quarter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.admin-finance-quarter-card {
  padding: 16px 18px;
  border-radius: 14px;
  background: #141414;
  border: 1px solid #242424;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s;
}

.admin-finance-quarter-card.is-current {
  border-color: #e8003d;
  background: #1a0008;
}

.admin-finance-quarter-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-finance-quarter-card__label {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.admin-finance-quarter-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  background: #e8003d22;
  color: #e8003d;
  border: 1px solid #e8003d44;
}

.admin-finance-quarter-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-finance-quarter-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #aaaaaa;
}

.admin-finance-quarter-card__row strong {
  color: #ffffff;
  font-weight: 600;
}

.admin-finance-quarter-card__revenue {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #e8d5b0;
  word-break: break-all;
}

.auth-form__field input,
.admin-users__cell select,
.admin-users__cell input,
.admin-user-detail__form input,
.admin-user-detail__form select,
.admin-user-detail__form textarea,
.top-navbar__search,
.membership-order-form__field input,
.membership-order-form__field textarea,
.admin-orders__filter select,
.auth-card__tabs,
.top-navbar__role-switch {
  background: #121212;
  border-color: #303030;
  color: #f1f1f1;
  box-shadow: none;
}

.video-card,
.watch-recommendation-card {
  background: transparent;
  border: 0;
}

.admin-video-card__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-video-card__thumb {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.admin-video-card__thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.admin-video-card__fields {
  display: grid;
  gap: 14px;
}

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

.admin-video-card__source-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.admin-video-card__meta {
  gap: 10px 18px;
}

.admin-video-card__status-copy {
  margin: 0;
  color: var(--text-secondary, #aaa);
  font-size: 0.94rem;
}

.admin-video-card__toggle {
  display: grid;
  gap: 10px;
}

.admin-video-card__toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ff0000;
}

.watch-player__frame--unavailable {
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.watch-player__source-badge {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f1f1f1;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.watch-player__warning--error {
  color: #ffd0d0;
}

.watch-player__warning--detail {
  color: #aaa;
}

.mobile-bottom-nav__item,
.mobile-bottom-nav__item.is-active {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.mobile-bottom-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.62;
  transition: opacity 180ms ease, color 180ms ease, transform 180ms ease;
}

.mobile-bottom-nav__item:hover .mobile-bottom-nav__icon,
.mobile-bottom-nav__item.is-active .mobile-bottom-nav__icon {
  opacity: 1;
}

.mobile-bottom-nav__item.is-active .mobile-bottom-nav__label,
.mobile-bottom-nav__item.is-active .mobile-bottom-nav__icon {
  color: #ff0000;
}

.ui-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
}

.ui-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
}

.ui-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 24px;
  border-radius: 22px;
  border: 1px solid #303030;
  background: #181818;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.ui-modal__dialog--compact {
  display: grid;
  gap: 14px;
}

.ui-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #212121;
  color: #f1f1f1;
  font-size: 1.25rem;
  line-height: 1;
}

.ui-modal__eyebrow {
  margin: 0;
  color: #ff0000;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ui-modal__title {
  margin: 0;
  color: #f1f1f1;
  font-size: 1.35rem;
  font-weight: 800;
}

.ui-modal__copy {
  margin: 0;
  color: #aaa;
  line-height: 1.65;
}

.ui-modal__primary {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: #ff0000;
  color: #ffffff;
  font-weight: 800;
}

.admin-list-table {
  border: 1px solid #303030;
  border-radius: 20px;
  overflow: hidden;
  background: #181818;
}

.admin-list-table__header,
.admin-list-table__row {
  display: grid;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
}

.admin-list-table__header {
  background: #111111;
  color: #8f8f8f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-list-table__row {
  border-top: 1px solid #262626;
  color: #f1f1f1;
  text-decoration: none;
  transition: background 160ms ease;
}

.admin-list-table__row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.admin-users-table__grid {
  grid-template-columns: minmax(0, 2.4fr) minmax(140px, 1.1fr) minmax(120px, 1fr) minmax(140px, 1.1fr) minmax(180px, 1.4fr);
}

.admin-users-table__identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.admin-users-table__avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}

.admin-users-table__identity strong,
.admin-users-table__identity span {
  display: block;
}

.admin-users-table__identity strong {
  color: #f1f1f1;
}

.admin-users-table__identity span {
  color: #aaa;
  font-size: 0.92rem;
}

.admin-detail-modal__dialog {
  width: min(100%, 980px);
}

.admin-videos-toolbar,
.admin-panel__actions,
.admin-bulk-bar,
.admin-pagination,
.admin-orders__toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-videos-toolbar {
  margin-bottom: 18px;
}

.admin-videos-toolbar__search {
  flex: 1 1 280px;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #303030;
  background: #121212;
}

.admin-videos-toolbar__search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #f1f1f1;
  outline: none;
}

.admin-panel__action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.admin-bulk-bar {
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #303030;
  border-radius: 16px;
  background: #111111;
}

.admin-bulk-bar strong {
  color: #f1f1f1;
}

.admin-bulk-bar__select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #aaa;
}

.admin-bulk-bar__select select {
  min-width: 140px;
}

.admin-video-table {
  overflow: hidden;
  border: 1px solid #303030;
  border-radius: 20px;
  background: #181818;
}

.admin-video-table__head,
.admin-video-table__row {
  display: grid;
  grid-template-columns: 56px minmax(340px, 2.8fr) minmax(90px, 0.8fr) minmax(90px, 0.9fr) minmax(120px, 1fr) minmax(90px, 0.7fr) minmax(90px, 0.8fr) minmax(150px, 1fr) minmax(210px, 1.4fr);
  gap: 12px;
  align-items: center;
}

.admin-video-table__head {
  padding: 16px 18px;
  background: #111111;
  color: #8f8f8f;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-video-table__row {
  padding: 14px 18px;
  border-top: 1px solid #262626;
}

.admin-video-table__row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.admin-video-table__row--compact {
  grid-template-columns: minmax(340px, 2.4fr) minmax(100px, 0.8fr) minmax(100px, 0.8fr) minmax(120px, 1fr) minmax(120px, 0.8fr);
}

.admin-video-table__cell {
  min-width: 0;
  color: #ddd;
  font-size: 0.93rem;
}

.admin-video-table__cell--checkbox {
  display: flex;
  justify-content: center;
}

.admin-video-table__cell--checkbox input {
  width: 18px;
  height: 18px;
  accent-color: #ff0000;
}

.admin-video-row__video {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.admin-video-row__thumb {
  width: 120px;
  flex: 0 0 120px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #303030;
  background: #101010;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.admin-video-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-video-row__content {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.admin-video-row__title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-video-row__title-line strong {
  color: #f1f1f1;
  font-size: 0.98rem;
}

.admin-video-row__content p {
  margin: 0;
  color: #aaa;
  line-height: 1.5;
}

.admin-video-row__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #7d7d7d;
  font-size: 0.84rem;
}

.admin-video-row__meta a {
  color: #f1f1f1;
  text-decoration: none;
}

.admin-status-pill,
.admin-inline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.admin-status-pill {
  background: rgba(255, 255, 255, 0.08);
  color: #f1f1f1;
}

.admin-status-pill.is-public {
  background: rgba(255, 255, 255, 0.08);
}

.admin-status-pill.is-members {
  background: rgba(255, 0, 0, 0.18);
  color: #ffd3d3;
}

.admin-status-pill.is-draft {
  background: rgba(255, 203, 92, 0.16);
  color: #ffd37a;
}

.admin-inline-pill {
  background: rgba(255, 255, 255, 0.08);
  color: #f1f1f1;
}

.admin-inline-pill--hero,
.admin-inline-pill--weekly {
  background: rgba(255, 0, 0, 0.18);
  color: #ffffff;
}

.admin-inline-pill--draft {
  background: rgba(255, 203, 92, 0.16);
  color: #ffd37a;
}

.admin-video-row__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-inline-button,
.admin-link-button,
.admin-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #303030;
  background: #212121;
  color: #f1f1f1;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.admin-inline-button:hover,
.admin-link-button:hover,
.admin-secondary-button:hover {
  background: #2b2b2b;
}

.admin-inline-button--danger {
  color: #ff8d8d;
}

.admin-video-table__empty,
.admin-youtube-sync__note {
  padding: 22px;
  color: #aaa;
}

.admin-youtube-sync__note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  border: 1px solid #303030;
  border-radius: 18px;
  background: #121212;
}

.admin-pagination {
  justify-content: space-between;
  margin-top: 16px;
  color: #aaa;
}

.admin-pagination__actions {
  display: flex;
  gap: 10px;
}

.admin-video-editor__form {
  display: grid;
  gap: 18px;
}

.admin-video-editor__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 0.95fr);
  gap: 20px;
  align-items: start;
}

.admin-video-editor__main {
  display: grid;
  gap: 16px;
}

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

.admin-video-editor__checks {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-check-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #303030;
  background: #121212;
  color: #f1f1f1;
}

.admin-check-pill input {
  width: 18px;
  height: 18px;
  accent-color: #ff0000;
}

.admin-video-editor__side {
  display: grid;
  gap: 16px;
}

.admin-video-editor__preview,
.admin-video-editor__tips {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #303030;
  background: #121212;
}

.admin-video-editor__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #303030;
  background: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.admin-video-editor__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-video-editor__summary {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: #aaa;
}

.admin-video-editor__summary strong {
  color: #f1f1f1;
}

.admin-video-editor__tips {
  color: #aaa;
  line-height: 1.6;
}

.admin-video-editor__tips p {
  margin: 0;
}

@media (max-width: 1180px) {
  .admin-video-table__head,
  .admin-video-table__row {
    grid-template-columns: 48px minmax(280px, 1.8fr) minmax(90px, 0.8fr) minmax(90px, 0.8fr) minmax(120px, 0.9fr) minmax(80px, 0.6fr) minmax(80px, 0.7fr) minmax(140px, 0.9fr) minmax(200px, 1.1fr);
  }

  .admin-video-editor__layout {
    grid-template-columns: 1fr;
  }
}

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

  .admin-list-table__header {
    display: none;
  }

  .admin-video-table {
    border: 0;
    background: transparent;
  }

  .admin-video-table__head {
    display: none;
  }

  .admin-video-table__row,
  .admin-video-table__row--compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid #303030;
    border-radius: 18px;
    background: #181818;
  }

  .admin-video-table__cell--checkbox {
    justify-content: flex-start;
  }

  .admin-video-row__thumb {
    width: 108px;
    flex-basis: 108px;
  }

  .admin-video-editor__grid {
    grid-template-columns: 1fr;
  }

  .admin-youtube-sync__note,
  .admin-bulk-bar,
  .admin-pagination {
    flex-direction: column;
    align-items: stretch;
  }
}

.app-shell__content > .page-content.page-content--admin {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 26px var(--page-padding) calc(var(--mobile-bottom-nav-height) + 28px) !important;
}

.app-shell__content > .page-content.page-content--admin .admin-shell {
  width: 100%;
  max-width: none;
}

.app-shell__content > .page-content.page-content--admin {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 24px var(--page-padding) calc(var(--mobile-bottom-nav-height) + 28px) !important;
}

.admin-shell--studio {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.admin-shell--studio .admin-shell__content {
  min-width: 0;
}

.admin-shell--studio .admin-nav {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid #303030;
  background: #181818;
  box-shadow: none;
}

.admin-shell--studio .admin-nav__item {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  color: #aaa;
}

.admin-shell--studio .admin-nav__item:hover {
  background: #242424;
  color: #f1f1f1;
}

.admin-shell--studio .admin-nav__item.is-active {
  background: rgba(255, 0, 0, 0.14);
  color: #ff4a4a;
}

.admin-page {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid #303030;
  border-radius: 22px;
  background: #181818;
}

.admin-page-header__main {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.admin-page-header__eyebrow {
  margin: 0;
  color: #ff4a4a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-page-header__title {
  margin: 0;
  color: #f1f1f1;
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  line-height: 1.08;
}

.admin-page-header__description {
  margin: 0;
  max-width: 760px;
  color: #aaa;
  line-height: 1.7;
}

.admin-page-header__meta {
  display: flex;
  gap: 12px 16px;
  flex-wrap: wrap;
  color: #8a8a8a;
  font-size: 0.9rem;
}

.admin-page-header__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border: 1px solid #303030;
  border-radius: 18px;
  background: #181818;
}

.admin-search {
  flex: 1 1 280px;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #303030;
  background: #121212;
}

.admin-search__icon {
  color: #777;
}

.admin-search__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #f1f1f1;
  font-size: 0.95rem;
  outline: none;
}

.admin-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-field--toolbar {
  flex: 0 0 auto;
  min-width: 160px;
}

.admin-field--full {
  grid-column: 1 / -1;
}

.admin-field__label {
  color: #8f8f8f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.admin-field__hint {
  display: block;
  margin-top: 2px;
  color: #666;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
}

.admin-hero-tags__row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.admin-hero-tags__row .admin-input {
  flex: 1;
  min-width: 0;
}

.admin-hero-tags__sep {
  flex: 0 0 auto;
  color: #555;
  font-weight: 700;
  font-size: 1rem;
  user-select: none;
}

.admin-input,
.admin-select,
.admin-textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #303030;
  border-radius: 14px;
  background: #121212;
  color: #f1f1f1;
  font: inherit;
  box-shadow: none;
  appearance: none;
  outline: none;
}

.admin-textarea {
  min-height: 132px;
  padding: 12px 14px;
  resize: vertical;
}

.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus,
.admin-search:focus-within {
  border-color: rgba(255, 0, 0, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.12);
}

.admin-button,
.admin-inline-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #303030;
  background: #202020;
  color: #f1f1f1;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.admin-button:hover,
.admin-inline-form button:hover {
  background: #2a2a2a;
}

.admin-button:disabled,
.admin-inline-form button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.admin-button--primary {
  border-color: #ff0000;
  background: #ff0000;
  color: #ffffff;
}

.admin-button--primary:hover {
  background: #ff1f1f;
}

.admin-button--danger {
  border-color: rgba(255, 82, 82, 0.35);
  background: rgba(255, 82, 82, 0.12);
  color: #ffb0b0;
}

.admin-button--ghost {
  background: #202020;
}

.admin-icon-button {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #303030;
  background: #202020;
  color: #f1f1f1;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.admin-icon-button:hover {
  background: #2a2a2a;
}

.admin-icon-button--danger {
  color: #ff9f9f;
}

.admin-icon-button--featured {
  color: #f5c518;
}

.admin-icon-button--featured:hover {
  background: rgba(245, 197, 24, 0.12);
}

.admin-icon-button--weekly {
  color: #a78bfa;
}

.admin-icon-button--weekly:hover {
  background: rgba(167, 139, 250, 0.12);
}

/* Sort control (↑ ↓) inside the 排序 column */
.admin-sort-ctrl {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}

.admin-sort-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333;
  border-radius: 6px;
  background: #1a1a1a;
  color: #bbb;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
  padding: 0;
}

.admin-sort-btn:hover:not(:disabled) {
  background: #2e2e2e;
  border-color: #666;
  color: #fff;
}

.admin-sort-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  border: 1px solid transparent;
}

.admin-badge--muted {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.05);
  color: #d8d8d8;
}

.admin-badge--danger {
  background: rgba(255, 0, 0, 0.14);
  border-color: rgba(255, 0, 0, 0.16);
  color: #ff8d8d;
}

.admin-badge--success {
  background: rgba(109, 176, 123, 0.14);
  border-color: rgba(109, 176, 123, 0.16);
  color: #b8d8bf;
}

.admin-badge--warning {
  background: rgba(196, 164, 84, 0.14);
  border-color: rgba(196, 164, 84, 0.16);
  color: #e1cc8e;
}

/* ── YouTube page-based sync UI ───────────────────────────────────────────── */
.admin-sync-card {
  border: 1px solid #303030;
  border-radius: 18px;
  background: #181818;
  overflow: hidden;
  margin-bottom: 20px;
}

.admin-sync-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid #252525;
  background: #141414;
}

.admin-sync-card__title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-sync-card__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff4a4a;
}

.admin-sync-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e8e8e8;
}

.admin-sync-card__body {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-sync-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.admin-sync-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-sync-meta-item__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5f5f5f;
}

.admin-sync-meta-item__value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f1f1f1;
  line-height: 1;
}

.admin-sync-meta-item__value--muted {
  font-size: 0.88rem;
  font-weight: 400;
  color: #999;
  line-height: 1;
}

.admin-sync-divider {
  width: 1px;
  height: 36px;
  background: #2e2e2e;
  flex-shrink: 0;
}

.admin-sync-pages-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-sync-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-sync-page-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid #2e2e2e;
  border-radius: 10px;
  background: #111;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  min-width: 88px;
}

.admin-sync-page-btn:hover:not(:disabled) {
  border-color: #555;
  background: #1c1c1c;
}

.admin-sync-page-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.admin-sync-page-btn--loading {
  border-color: #ff4a4a !important;
  background: #200 !important;
  opacity: 1 !important;
}

.admin-sync-page-btn__num {
  font-size: 0.78rem;
  font-weight: 700;
  color: #aaa;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-sync-page-btn--loading .admin-sync-page-btn__num {
  color: #ff6b6b;
}

.admin-sync-page-btn__range {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e0e0e0;
}

.admin-sync-page-btn--loading .admin-sync-page-btn__range {
  color: #ff9f9f;
}

.admin-sync-hint {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

.admin-sync-error {
  font-size: 0.85rem;
  color: #ff6b6b;
  background: #1a0000;
  border: 1px solid #3a0000;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0;
}
/* Autofill row (YouTube quick-fill in new-video form) */
.admin-autofill-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.admin-autofill-input {
  min-width: 220px;
}
/* ────────────────────────────────────────────────────────────────────────── */

.admin-stat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.admin-stat-card-v2 {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #303030;
  background: #181818;
}

.admin-stat-card-v2__label {
  color: #8f8f8f;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-stat-card-v2__value {
  color: #f1f1f1;
  font-size: 1.8rem;
  line-height: 1;
}

.admin-stat-card-v2__meta {
  color: #aaa;
  font-size: 0.88rem;
}

.admin-table-card,
.admin-surface-card {
  border: 1px solid #303030;
  border-radius: 22px;
  background: #181818;
  overflow: hidden;
}

.admin-playlist-modal {
  width: min(100%, 1080px);
  display: grid;
  gap: 18px;
}

.admin-playlist-modal__toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-playlist-modal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
}

.admin-playlist-modal__panel {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #303030;
  border-radius: 18px;
  background: #141414;
}

.admin-playlist-modal__panel h3 {
  margin: 0;
  font-size: 1rem;
  color: #f1f1f1;
}

.admin-playlist-modal__list {
  display: grid;
  gap: 10px;
  max-height: min(52vh, 560px);
  overflow: auto;
  padding-right: 4px;
}

.admin-playlist-modal__item,
.admin-playlist-modal__ordered-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #303030;
  border-radius: 16px;
  background: #181818;
}

.admin-playlist-modal__item {
  cursor: pointer;
}

.admin-playlist-modal__item input {
  margin-top: 3px;
}

.admin-playlist-modal__item > div,
.admin-playlist-modal__ordered-item > div:first-child {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.admin-playlist-modal__item strong,
.admin-playlist-modal__ordered-item strong {
  color: #f1f1f1;
  line-height: 1.5;
}

.admin-playlist-modal__item span,
.admin-playlist-modal__ordered-item span {
  color: #8f8f8f;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.admin-playlist-modal__ordered-item {
  justify-content: space-between;
}

.admin-table {
  min-width: 0;
}

.admin-table__head,
.admin-table__row {
  display: grid;
  align-items: center;
  gap: 14px;
}

.admin-table__head {
  padding: 16px 18px;
  border-bottom: 1px solid #303030;
  background: #141414;
  color: #8f8f8f;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-table__row {
  padding: 16px 18px;
  border-bottom: 1px solid #262626;
  background: #181818;
}

.admin-table__row:last-child {
  border-bottom: 0;
}

.admin-table__row:hover {
  background: #242424;
}

.admin-table__cell {
  min-width: 0;
  display: grid;
  gap: 4px;
  color: #f1f1f1;
}

.admin-table__primary {
  color: #f1f1f1;
  font-weight: 600;
}

.admin-table__secondary {
  color: #aaa;
  font-size: 0.86rem;
}

.admin-table__head-actions,
.admin-table__cell--actions {
  justify-self: end;
}

.admin-table__row--users,
.admin-table__head--users {
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 0.85fr) minmax(0, 0.95fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.95fr) minmax(0, 1.15fr) minmax(0, 0.7fr);
}

.admin-table__row--orders,
.admin-table__head--orders {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 1fr);
}

.admin-table__row--videos,
.admin-table__head--videos {
  grid-template-columns: 40px minmax(0, 2.9fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 0.7fr) 68px minmax(0, 1fr) minmax(0, 1.15fr);
}

.admin-table__row--youtube,
.admin-table__head--youtube {
  grid-template-columns: minmax(0, 3fr) minmax(0, 0.85fr) minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}

.admin-table__head--playlists {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 2.3fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
}

.admin-table__row--playlists {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 2.3fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
}

.admin-table__identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.admin-table__avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.admin-table__identity-copy {
  min-width: 0;
}

.admin-table__identity-copy strong,
.admin-table__identity-copy span {
  display: block;
}

.admin-table__identity-copy strong {
  color: #f1f1f1;
}

.admin-table__identity-copy span {
  color: #aaa;
  font-size: 0.88rem;
}

.admin-video-cell {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.admin-video-cell__thumb {
  width: 112px;
  flex: 0 0 112px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #303030;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.admin-video-cell__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-video-cell__copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.admin-video-cell__copy strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #f1f1f1;
  line-height: 1.45;
}

.admin-video-cell__copy p {
  margin: 0;
  color: #aaa;
  font-size: 0.88rem;
  line-height: 1.55;
}

.admin-video-cell__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #7f7f7f;
  font-size: 0.8rem;
}

.admin-video-cell__meta a {
  color: #f1f1f1;
  text-decoration: none;
}

.admin-table__cell--checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-table__cell--checkbox input,
.admin-table__head-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: #ff0000;
}

.admin-action-row,
.admin-inline-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-copy-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  max-width: 100%;
  padding: 0 10px;
  border: 1px solid #303030;
  border-radius: 999px;
  background: #121212;
  color: #f1f1f1;
  cursor: pointer;
}

.admin-copy-field__text {
  display: inline-block;
  max-width: 118px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.84rem;
}

.admin-copy-field__icon {
  color: #8f8f8f;
}

.admin-copy-field__empty {
  color: #777;
}

.admin-detail-modal__dialog {
  width: min(100%, 940px);
  border-radius: 24px;
  background: #181818;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-detail-modal__titlebar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #2e2e2e;
}

.admin-detail-modal__title {
  margin: 0;
  color: #f1f1f1;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
}

.admin-detail-modal__desc {
  margin: 6px 0 0;
  color: #999;
  font-size: 0.88rem;
  line-height: 1.5;
}

.admin-detail-modal__close {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #2a2a2a;
  color: #f1f1f1;
  font-size: 1.25rem;
  line-height: 36px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.admin-detail-modal__close:hover {
  background: #3a3a3a;
}

.admin-detail-profile {
  display: grid;
  gap: 18px;
}

.admin-detail-profile__identity {
  display: flex;
  gap: 16px;
  align-items: center;
}

.admin-detail-profile__avatar {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 50%;
  font-size: 1.4rem;
}

.admin-detail-profile__identity strong,
.admin-detail-profile__identity span {
  display: block;
}

.admin-detail-profile__identity strong {
  color: #f1f1f1;
  font-size: 1.05rem;
}

.admin-detail-profile__identity span {
  color: #aaa;
}

.admin-detail-profile__badges,
.admin-check-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

.admin-form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-form-grid--playlists {
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.55fr) auto;
  align-items: end;
}

.admin-form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.admin-form-grid--playlists .admin-form-actions {
  grid-column: auto;
}

.admin-detail-meta {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px 16px;
  flex-wrap: wrap;
  color: #8f8f8f;
  font-size: 0.88rem;
}

.admin-bulk-bar-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border: 1px solid #303030;
  border-radius: 18px;
  background: #181818;
}

.admin-bulk-bar-v2 strong {
  color: #f1f1f1;
}

.admin-bulk-bar-v2__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-pagination-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #aaa;
}

.admin-pagination-v2__actions {
  display: flex;
  gap: 10px;
}

.admin-editor-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.9fr) 320px;
  padding: 22px;
}

.admin-editor-layout__main {
  display: grid;
  gap: 16px;
}

.admin-editor-layout__side {
  display: grid;
  align-content: start;
}

.admin-preview-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #303030;
  background: #121212;
  color: #aaa;
}

.admin-preview-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #303030;
  background: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.admin-preview-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #303030;
  background: #121212;
  color: #f1f1f1;
}

.admin-check input {
  width: 18px;
  height: 18px;
  accent-color: #ff0000;
}

.admin-settings-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-settings-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid #303030;
  border-radius: 22px;
  background: #181818;
}

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

.admin-products-layout {
  overflow: hidden;
}

.admin-product-autofill {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.admin-products-library {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.admin-products-library__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-products-library__header h2 {
  margin: 4px 0 0;
}

.admin-products-list {
  display: grid;
  gap: 14px;
}

.admin-product-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid #2e2e2e;
  border-radius: 18px;
  background: #141414;
}

.admin-product-row.is-active {
  border-color: rgba(255, 0, 0, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 0, 0, 0.2);
}

.admin-product-row__media {
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  background: #0d0d0d;
}

.admin-product-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-product-row__copy {
  display: grid;
  gap: 8px;
}

.admin-product-row__copy p {
  margin: 0;
  color: #aaa;
  line-height: 1.6;
}

.admin-product-row__top,
.admin-product-row__meta,
.admin-product-preview__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-product-row__top strong {
  color: #f1f1f1;
  font-size: 1rem;
}

.admin-product-row__meta {
  color: #8f8f8f;
  font-size: 0.86rem;
}

.admin-product-row__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-product-preview {
  gap: 14px;
}

.admin-product-preview__meta {
  color: #aaa;
  font-size: 0.88rem;
}

.admin-settings-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-settings-card__header h2 {
  margin: 4px 0 0;
  color: #f1f1f1;
  font-size: 1.25rem;
}

.admin-settings-card__eyebrow {
  margin: 0;
  color: #8f8f8f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-info-list {
  margin: 0;
  padding-left: 18px;
  color: #aaa;
  line-height: 1.7;
}

.admin-empty-state {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 40px 24px;
  text-align: center;
  color: #aaa;
}

.admin-empty-state strong {
  color: #f1f1f1;
  font-size: 1.05rem;
}

.admin-empty-state p {
  margin: 0;
  max-width: 420px;
  line-height: 1.7;
}

.admin-empty-state__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #303030;
  background: #121212;
  color: #777;
}

.admin-empty-state__action {
  margin-top: 6px;
}

@media (max-width: 1180px) {
  .shop-page__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-shell--studio {
    grid-template-columns: 200px minmax(0, 1fr);
    max-width: 100%;
  }

  .admin-table__row--users,
  .admin-table__head--users {
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 0.7fr);
  }

  .admin-table__row--orders,
  .admin-table__head--orders {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr) minmax(0, 0.8fr) minmax(0, 0.75fr) minmax(0, 0.75fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 0.95fr);
  }

  .admin-table__row--videos,
  .admin-table__head--videos {
    grid-template-columns: 40px minmax(0, 2.7fr) minmax(0, 0.8fr) minmax(0, 0.85fr) minmax(0, 0.95fr) minmax(0, 0.65fr) 68px minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .admin-editor-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .shop-page__hero,
  .shop-page__feature,
  .shop-page__promo-grid {
    grid-template-columns: 1fr;
  }

  .shop-page__hero-panel {
    width: 100%;
    margin: 0;
  }

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

  .admin-shell--studio {
    grid-template-columns: 1fr;
  }

  .admin-shell--studio .admin-nav {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-page-header {
    flex-direction: column;
  }

  .admin-page-header__actions,
  .admin-form-actions,
  .admin-table__cell--actions,
  .admin-table__head-actions,
  .admin-action-row,
  .admin-inline-form {
    justify-content: flex-start;
  }

  .admin-settings-grid,
  .admin-detail-profile__stats,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-form-grid--playlists .admin-form-actions {
    grid-column: 1 / -1;
  }

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

  .admin-product-row__actions {
    justify-content: flex-start;
  }

  .admin-table-card {
    border: 0;
    background: transparent;
  }

  .admin-table__head {
    display: none;
  }

  .admin-table__row {
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid #303030;
    border-radius: 18px;
  }

  .admin-table__cell {
    position: relative;
    padding-top: 18px;
  }

  .admin-table__cell::before {
    content: attr(data-label);
    position: absolute;
    top: 0;
    left: 0;
    color: #7f7f7f;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .admin-table__cell--checkbox {
    padding-top: 0;
  }

  .admin-table__cell--checkbox::before {
    display: none;
  }

  .admin-video-cell__thumb {
    width: 104px;
    flex-basis: 104px;
  }

  .admin-bulk-bar-v2,
  .admin-pagination-v2,
  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .shop-page__hero,
  .shop-page__feature,
  .shop-page__promo {
    padding: 18px;
  }

  .shop-page__grid {
    grid-template-columns: 1fr;
  }

  .admin-shell--studio .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-page-header,
  .admin-toolbar,
  .admin-settings-card,
  .admin-stat-card-v2 {
    padding: 18px;
  }

  .admin-video-cell {
    flex-direction: column;
  }

  .admin-video-cell__thumb {
    width: 100%;
    flex-basis: auto;
  }

  .admin-product-autofill {
    grid-template-columns: 1fr;
  }
}

/* ── PayPal 支付结果弹窗 ─────────────────────────────────────────── */
.paypal-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.paypal-modal {
  background: #1e1e2e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px 32px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  animation: slideUp 0.25s ease;
}

.paypal-modal__icon {
  font-size: 52px;
  margin-bottom: 16px;
  line-height: 1;
}

.paypal-modal__title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}

.paypal-modal__body {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}

.paypal-modal__body p {
  margin: 0 0 8px;
}

.paypal-modal__body p:last-child {
  margin-bottom: 0;
}

.paypal-modal__body strong {
  color: #fff;
  font-weight: 600;
}

.paypal-modal__btn {
  display: inline-block;
  padding: 12px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.paypal-modal__btn:hover { opacity: 0.85; }

.paypal-modal__btn--success {
  background: #07c160;
  color: #fff;
}

.paypal-modal__btn--pending {
  background: #f5a623;
  color: #fff;
}

.paypal-modal__btn--cancel {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
}

@media (max-width: 480px) {
  .paypal-modal {
    padding: 32px 20px 24px;
  }
  .paypal-modal__icon { font-size: 44px; }
  .paypal-modal__title { font-size: 19px; }
}

/* ── Cloudflare Stream 上传组件 ──────────────────────────────────────── */
.admin-cf-upload {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-cf-upload__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-cf-upload__btn {
  flex-shrink: 0;
  padding: 4px 10px;
  border: 1px solid #444;
  border-radius: 8px;
  background: #1e1e1e;
  color: #e0e0e0;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.admin-cf-upload__btn:hover:not(:disabled) {
  background: #2a2a2a;
  border-color: #666;
}

.admin-cf-upload__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.admin-cf-upload__progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-cf-upload__bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: #2a2a2a;
  overflow: hidden;
}

.admin-cf-upload__fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #f6821f, #faad14);
  transition: width 0.3s ease;
}

/* Indeterminate / pulse animation while getting upload URL */
@keyframes cf-upload-pulse {
  0%   { opacity: 1; }
  50%  { opacity: 0.35; }
  100% { opacity: 1; }
}

.admin-cf-upload__bar--pulse .admin-cf-upload__fill {
  animation: cf-upload-pulse 1.2s ease-in-out infinite;
  width: 100% !important;
  background: linear-gradient(90deg, #555, #888, #555);
  background-size: 200% 100%;
}

.admin-cf-upload__pct {
  flex: 0 0 36px;
  text-align: right;
  font-size: 0.82rem;
  font-weight: 700;
  color: #faad14;
  font-variant-numeric: tabular-nums;
}

.admin-cf-upload__status {
  font-size: 0.82rem;
  color: #ccc;
  line-height: 1.5;
}

.admin-cf-upload__status small {
  color: #888;
  font-size: 0.78rem;
}

.admin-cf-upload__error {
  font-size: 0.82rem;
  color: #ff6b6b;
  line-height: 1.4;
  padding: 6px 8px;
  background: rgba(255, 107, 107, 0.08);
  border-radius: 6px;
  border-left: 3px solid #ff6b6b;
}

/* ── 批量文本替换面板 ─────────────────────────────────────────────────── */
.bulk-text-panel {
  background: #1a1a2e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  margin: 0 0 16px;
  overflow: hidden;
}

.bulk-text-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.bulk-text-panel__title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.bulk-text-panel__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bulk-text-panel__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bulk-text-panel__row--inline {
  flex-wrap: wrap;
}

.bulk-text-panel__label {
  flex-shrink: 0;
  min-width: 80px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.bulk-text-panel__hint {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-left: 4px;
}

.bulk-text-panel__input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #fff;
  font-family: monospace;
  transition: border-color 0.15s;
  min-width: 0;
}

.bulk-text-panel__input:focus {
  outline: none;
  border-color: rgba(99, 179, 237, 0.6);
}

.bulk-text-panel__input:disabled {
  opacity: 0.5;
}

.bulk-text-panel__check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
}

.bulk-text-panel__check input[type="checkbox"] {
  accent-color: #63b3ed;
  width: 15px;
  height: 15px;
}

.bulk-text-panel__scope-badge {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.06);
  padding: 3px 10px;
  border-radius: 20px;
}

.bulk-text-panel__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}

.bulk-text-panel__warn {
  font-size: 12px;
  color: #f6ad55;
}

.bulk-text-panel__error {
  font-size: 13px;
  color: #fc8181;
  margin: 0;
  padding: 8px 12px;
  background: rgba(252,129,129,0.1);
  border-radius: 8px;
  border-left: 3px solid #fc8181;
}

.bulk-text-panel__success {
  font-size: 13px;
  color: #68d391;
  margin: 0;
  padding: 8px 12px;
  background: rgba(104,211,145,0.1);
  border-radius: 8px;
  border-left: 3px solid #68d391;
}

.bulk-text-panel__success strong {
  color: #fff;
  font-size: 15px;
}

@media (max-width: 700px) {
  .bulk-text-panel__row {
    flex-direction: column;
    align-items: flex-start;
  }
  .bulk-text-panel__input {
    width: 100%;
  }
  .bulk-text-panel__label {
    min-width: auto;
  }
}

/* ── 播放列表内联重命名 ────────────────────────────────────────────────── */
.admin-table__row--editing {
  background: rgba(99, 179, 237, 0.06);
  outline: 1px solid rgba(99, 179, 237, 0.3);
  border-radius: 8px;
}

.playlist-rename-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.playlist-rename-input {
  width: 100%;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(99, 179, 237, 0.5);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.playlist-rename-input:focus {
  border-color: #63b3ed;
  box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.18);
}

.playlist-rename-input:disabled {
  opacity: 0.5;
}

.playlist-rename-error {
  font-size: 12px;
  color: #fc8181;
}

/* Merch storefront refresh */
.merch-page {
  display: grid;
  gap: 20px;
  padding-bottom: 18px;
}

.merch-page__hero,
.merch-page__promo-card,
.merch-page__feature,
.merch-grid-card,
.merch-page__service-card {
  border: 1px solid rgba(255, 40, 40, 0.14);
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(10, 10, 10, 0.98)),
    #0e0e0e;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.merch-page__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.2fr);
  min-height: 320px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(7, 7, 8, 0.96) 0%, rgba(10, 10, 10, 0.82) 42%, rgba(10, 10, 10, 0.25) 62%),
    radial-gradient(circle at top left, rgba(164, 10, 10, 0.26), transparent 34%),
    #0d0d0d;
}

.merch-page__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(146, 10, 10, 0.04), transparent 28%, rgba(146, 10, 10, 0.08) 100%),
    url("/public/images/thumb-08.jpg") center/cover no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0.26;
  pointer-events: none;
}

.merch-page__hero-copy,
.merch-page__hero-art {
  position: relative;
  z-index: 1;
}

.merch-page__hero-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 42px 24px 42px 46px;
}

.merch-page__eyebrow,
.merch-page__promo-eyebrow {
  margin: 0;
  color: #a6a0a0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.merch-page__hero h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 88px);
  line-height: 0.96;
  letter-spacing: 0.02em;
  color: #f6efef;
  text-shadow: 0 18px 36px rgba(0, 0, 0, 0.52);
}

.merch-page__hero h1::first-letter {
  color: #ff3b30;
}

.merch-page__hero-desc {
  margin: 0;
  max-width: 420px;
  color: #c9c2c2;
  font-size: 20px;
  line-height: 1.7;
}

.merch-page__hero-actions,
.merch-page__feature-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.merch-page__buy-button,
.merch-page__ghost-button,
.merch-page__promo-action,
.merch-grid-card__action,
.merch-page__grid-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.merch-page__buy-button,
.merch-grid-card__action {
  border: 1px solid #bd1a1a;
  background: linear-gradient(180deg, #ef231e, #be120d);
  color: #fff3f3;
}

.merch-page__ghost-button,
.merch-page__promo-action,
.merch-page__grid-link {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #f0ebeb;
}

.merch-page__buy-button:hover,
.merch-page__ghost-button:hover,
.merch-page__promo-action:hover,
.merch-grid-card__action:hover,
.merch-page__grid-link:hover {
  transform: translateY(-1px);
}

.merch-page__promo-action--ghost {
  background: rgba(255, 59, 48, 0.08);
  border-color: rgba(255, 59, 48, 0.24);
}

.merch-page__hero-art {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}

.merch-page__hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.merch-page__category-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.merch-page__category-bar::-webkit-scrollbar {
  display: none;
}

.merch-page__category-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(16, 16, 16, 0.9);
  color: #ddd7d7;
  white-space: nowrap;
}

.merch-page__category-pill em {
  min-width: 22px;
  font-style: normal;
  color: #7e7575;
}

.merch-page__category-pill.is-active {
  border-color: rgba(255, 59, 48, 0.36);
  background: rgba(104, 12, 12, 0.44);
  color: #fff1f1;
}

.merch-page__promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.merch-page__promo-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  min-height: 166px;
  padding: 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 39, 39, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(42, 10, 10, 0.94), rgba(23, 11, 11, 0.98));
}

.merch-page__promo-card h2,
.merch-page__grid-head h2,
.merch-page__feature h2 {
  margin: 8px 0 10px;
}

.merch-page__promo-card p {
  margin: 0;
  color: #c5bbbb;
  line-height: 1.7;
}

.merch-page__feature {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  border-radius: 28px;
}

.merch-page__feature-gallery {
  display: grid;
  gap: 14px;
}

.merch-page__feature-main {
  display: block;
  overflow: hidden;
  min-height: 460px;
  border-radius: 22px;
  background: #0a0a0a;
}

.merch-page__feature-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merch-page__feature-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.merch-page__feature-thumb {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #111;
  opacity: 0.72;
}

.merch-page__feature-thumb.is-active {
  border-color: rgba(255, 59, 48, 0.36);
  opacity: 1;
}

.merch-page__feature-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.merch-page__feature-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 10px 8px 10px 6px;
}

.merch-page__feature-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 59, 48, 0.14);
  color: #ff645a;
  font-size: 12px;
  font-weight: 800;
}

.merch-page__feature-subtitle,
.merch-page__feature-desc {
  margin: 0;
  color: #cbc4c4;
  line-height: 1.75;
}

.merch-page__feature-tags,
.merch-grid-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.merch-page__feature-tags span,
.merch-grid-card__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #d1cbcb;
  font-size: 12px;
}

.merch-page__feature-price,
.merch-grid-card__price {
  color: #ff4c40;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.merch-page__feature-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.merch-page__feature-meta span,
.merch-grid-card__state {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(13, 110, 32, 0.22);
  color: #87d47d;
  font-size: 12px;
  font-weight: 700;
}

.merch-page__grid-section {
  display: grid;
  gap: 14px;
}

.merch-page__grid-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.merch-page__grid-head h2 {
  font-size: 34px;
}

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

.merch-grid-card {
  display: grid;
  overflow: hidden;
  border-radius: 20px;
}

.merch-grid-card__media {
  display: block;
  background: #090909;
}

.merch-grid-card__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.merch-grid-card__body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.merch-grid-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #8c8181;
  font-size: 12px;
}

.merch-grid-card__title {
  display: block;
  min-height: 2.8em;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.42;
  color: #f3efef;
}

.merch-grid-card__bottom {
  display: grid;
  gap: 12px;
}

.merch-grid-card__action {
  width: 100%;
}

.merch-page__empty {
  padding: 42px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  color: #9b9292;
  text-align: center;
}

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

.merch-page__service-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
}

.merch-page__service-card strong {
  color: #f0ecec;
  font-size: 15px;
}

.merch-page__service-card span {
  color: #a49a9a;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .merch-page__hero,
  .merch-page__feature {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 900px) {
  .merch-page__promo-grid,
  .merch-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .merch-page__hero-copy {
    padding: 28px 22px;
  }

  .merch-page__feature-main {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .merch-page {
    gap: 16px;
  }

  .merch-page__hero {
    min-height: 0;
    border-radius: 22px;
  }

  .merch-page__hero-copy {
    gap: 12px;
    padding: 22px 18px 12px;
  }

  .merch-page__hero h1 {
    font-size: 52px;
  }

  .merch-page__hero-desc {
    font-size: 16px;
  }

  .merch-page__promo-grid,
  .merch-page__grid,
  .merch-page__service-strip {
    grid-template-columns: 1fr;
  }

  .merch-page__promo-card,
  .merch-page__feature {
    padding: 18px;
  }

  .merch-page__promo-card,
  .merch-page__grid-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .merch-page__feature-main {
    min-height: 280px;
  }

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

  .merch-page__feature-price,
  .merch-grid-card__price {
    font-size: 34px;
  }
}
