:root {
  color-scheme: dark;
  --bg: #07070b;
  --bg-alt: #0f1016;
  --surface: #11121a;
  --surface-soft: #171924;
  --surface-elevated: #1c1f2c;
  --surface-watch: #0d0e15;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 188, 210, 0.18);
  --text: #f6edf2;
  --muted: #b6a8b1;
  --brand: #f39ab7;
  --brand-strong: #cc4e6d;
  --brand-deep: #7a1529;
  --danger: #56101d;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
  --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:
    radial-gradient(circle at top left, rgba(118, 21, 40, 0.28), transparent 22%),
    radial-gradient(circle at top right, rgba(243, 154, 183, 0.12), transparent 18%),
    linear-gradient(180deg, #09090d 0%, #07070b 48%, #09090d 100%);
  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;
  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);
}

.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-line {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: #f3ebef;
}

.sidebar__brand-title {
  margin: 0;
  font-size: 26px;
  line-height: 1.05;
  color: var(--brand);
  text-shadow: 0 10px 24px rgba(204, 78, 109, 0.32);
}

.sidebar__brand-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #8e8690;
}

.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;
}

.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__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 {
  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;
}

.top-navbar__icon-button {
  width: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.top-navbar__profile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
}

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

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

.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: clamp(58px, 3.9vw, 72px);
  line-height: 0.95;
  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__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-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: 17px;
  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: #ff94b5;
}

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

.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;
}

.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: 0 0 14px;
  font-size: 34px;
  line-height: 1.2;
}

.watch-page__description {
  margin: 0 0 18px;
  max-width: 880px;
  color: #c8bcc5;
  line-height: 1.8;
  font-size: 15px;
}

.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;
}

.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%;
  }

  .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;
  }

  .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: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(243, 154, 183, 0.12);
  border: 1px solid rgba(243, 154, 183, 0.18);
  color: #f7bed2;
  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;
}

.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-form__submit:disabled,
.admin-users__save:disabled {
  opacity: 0.7;
  cursor: wait;
}

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

.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__copy {
  margin: 0;
  max-width: 720px;
  color: #c8bcc5;
  line-height: 1.8;
}

.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-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__row {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(120px, 0.7fr) minmax(160px, 0.9fr) minmax(180px, 1fr) minmax(200px, 1fr) 96px;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.admin-users__cell--identity strong {
  font-size: 16px;
  color: #f6edf2;
}

.admin-users__cell--identity span,
.admin-users__cell--meta span {
  font-size: 13px;
  color: #bfb1ba;
}

@media (max-width: 1280px) {
  .admin-users__row {
    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;
  }
}

@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__row {
    grid-template-columns: 1fr;
  }
}
