:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #20252b;
  background: #f6f4ef;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --bg: #f6f4ef;
  --surface: #fffdfa;
  --surface-strong: #ffffff;
  --ink: #20252b;
  --muted: #66717c;
  --subtle: #8a929a;
  --line: #dfd8cc;
  --line-strong: #cabfaf;
  --accent: #8b1f2c;
  --accent-strong: #681620;
  --accent-soft: #f6e8e9;
  --gold: #b89053;
  --success: #247a4b;
  --warning: #a96512;
  --danger: #a12b2f;
  --shadow: 0 20px 60px rgba(55, 43, 30, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

body {
  background:
    linear-gradient(90deg, rgba(139, 31, 44, 0.05), transparent 32%),
    var(--bg);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

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

.app {
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

.auth-screen {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.45fr);
}

.auth-brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 42px;
  background:
    linear-gradient(150deg, rgba(35, 7, 12, 0.85), rgba(104, 22, 32, 0.96)),
    linear-gradient(135deg, #56111a, #8b1f2c);
  color: #fff;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.logo-text strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0;
}

.logo-text span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.auth-panel-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px;
}

.auth-panel {
  width: min(460px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 250, 0.92);
  box-shadow: var(--shadow);
}

.auth-panel h2,
.empty-state h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.auth-panel p,
.empty-state p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field label,
.form-label {
  color: #3e4650;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea,
.control,
.search-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.control:focus,
.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 31, 44, 0.12);
}

.hint {
  color: var(--subtle);
  font-size: 12px;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
}

.btn:hover {
  border-color: var(--line-strong);
  background: #faf7f1;
}

.btn.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.btn.primary:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.btn.ghost {
  border-color: transparent;
  background: transparent;
}

.btn.danger {
  border-color: rgba(161, 43, 47, 0.28);
  color: var(--danger);
}

.btn.full {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.message {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.message.error {
  border-color: rgba(161, 43, 47, 0.24);
  background: #fff3f3;
  color: var(--danger);
}

.message.success {
  border-color: rgba(36, 122, 75, 0.24);
  background: #f0fbf5;
  color: var(--success);
}

.shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 246px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(170deg, rgba(57, 10, 17, 0.94), rgba(112, 20, 31, 0.98)),
    #681620;
  color: #fff;
  padding: 22px 14px;
}

.nav {
  display: grid;
  gap: 6px;
  margin-top: 28px;
}

.nav button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
}

.nav button:hover,
.nav button.active {
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent-strong);
}

.sidebar-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
  padding: 14px;
}

.sidebar-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.sidebar-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.6;
}

.main {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.92);
  padding: 14px 28px;
  backdrop-filter: blur(16px);
}

.topbar-search {
  flex: 1;
  max-width: 680px;
}

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

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
}

.user-meta {
  min-width: 0;
}

.user-meta strong {
  display: block;
  font-size: 14px;
}

.user-meta span {
  display: block;
  color: var(--subtle);
  font-size: 12px;
}

.content {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 48px;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.page-head h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.page-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 18px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(55, 43, 30, 0.06);
}

.panel.pad {
  padding: 20px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-head h2,
.section-title {
  margin: 0;
  font-size: 20px;
}

.panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-video {
  overflow: hidden;
}

.hero-poster {
  position: relative;
  min-height: 360px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2)),
    var(--poster, linear-gradient(135deg, #1d252e, #66717c));
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 34px;
}

.hero-poster h2 {
  max-width: 680px;
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
}

.hero-poster p {
  max-width: 560px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.75;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 750;
}

.pill.light {
  border-color: var(--line);
  background: #fff;
  color: var(--muted);
}

.pill.red {
  border-color: rgba(139, 31, 44, 0.22);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

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

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.video-card button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  text-align: left;
}

.thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(32, 37, 43, 0.15), rgba(139, 31, 44, 0.12)),
    var(--poster, #dde1e2);
  background-position: center;
  background-size: cover;
}

.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, 0.42));
}

.duration {
  position: absolute;
  right: 9px;
  bottom: 8px;
  z-index: 1;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  padding: 4px 6px;
  font-size: 12px;
  font-weight: 700;
}

.card-body {
  padding: 12px;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-body p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--subtle);
  font-size: 12px;
}

.rail-list {
  display: grid;
  gap: 12px;
}

.rail-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.rail-item .thumb {
  border-radius: 6px;
}

.rail-item h3 {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.4;
}

.progress {
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: #ece6dc;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

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

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px 160px;
  gap: 12px;
  margin-bottom: 18px;
}

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

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.player-shell {
  overflow: hidden;
}

.player-wrap {
  position: relative;
  background: #111;
}

.player-wrap video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.mobile-player-caption,
.mobile-player-back {
  display: none;
}

.player-picker {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 8;
}

.player-picker-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: #fffaf1;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.player-picker-toggle:hover,
.player-picker-toggle[aria-expanded="true"] {
  border-color: rgba(243, 201, 129, 0.56);
  background: rgba(0, 0, 0, 0.68);
}

.player-picker-toggle strong {
  color: #f3c981;
  font-size: 12px;
}

.player-picker-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  width: min(360px, calc(100vw - 32px));
  max-height: min(460px, 64vh);
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 14px;
  background: rgba(15, 16, 18, 0.94);
  color: #fffaf1;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(18px);
}

.player-picker-panel.open {
  display: block;
}

.player-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 250, 241, 0.12);
  padding: 13px 14px;
}

.player-picker-head strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.player-picker-head span {
  flex: 0 0 auto;
  color: rgba(255, 250, 241, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.player-picker-list {
  display: grid;
  max-height: min(390px, 56vh);
  overflow-y: auto;
  padding: 8px;
}

.player-picker-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fffaf1;
  padding: 11px 10px;
  text-align: left;
}

.player-picker-item:hover:not(:disabled) {
  background: rgba(243, 201, 129, 0.13);
}

.player-picker-item.active {
  background: rgba(243, 201, 129, 0.18);
}

.player-picker-item:disabled {
  cursor: default;
}

.player-picker-item span {
  color: #f3c981;
  font-size: 12px;
  font-weight: 900;
}

.player-picker-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.35;
}

.warm-video-preload {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-9999px, -9999px, 0);
}

.player-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  padding: 12px;
}

.player-nav-btn {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 12px;
  text-align: left;
}

.player-nav-btn:hover:not(:disabled) {
  border-color: var(--line-strong);
  background: rgba(216, 164, 99, 0.11);
}

.player-nav-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.player-nav-btn span {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
}

.player-nav-btn strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.35;
}

.video-placeholder {
  display: grid;
  min-height: 420px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(32, 37, 43, 0.94), rgba(104, 22, 32, 0.74)),
    #20252b;
  color: #fff;
  padding: 34px;
  text-align: center;
}

.video-placeholder div {
  max-width: 540px;
}

.video-placeholder h2 {
  margin: 0 0 12px;
}

.video-placeholder p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.detail-body {
  padding: 20px;
}

.detail-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.detail-body h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.18;
}

.detail-body p {
  color: var(--muted);
  line-height: 1.8;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
}

.comment {
  display: grid;
  gap: 8px;
}

.comment-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--subtle);
  font-size: 12px;
}

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

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #faf8f4;
  color: #3e4650;
  font-size: 12px;
  font-weight: 800;
}

td {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

td strong {
  color: var(--ink);
}

.status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 750;
}

.status.active,
.status.published,
.status.approved {
  background: #eaf7ef;
  color: var(--success);
}

.status.pending,
.status.draft {
  background: #fff5e7;
  color: var(--warning);
}

.status.suspended,
.status.archived,
.status.rejected {
  background: #fff0f0;
  color: var(--danger);
}

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  padding: 36px;
  text-align: center;
}

.mobile-menu {
  display: none;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99;
  max-width: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 12px 14px;
  color: var(--ink);
  font-size: 14px;
}

.hidden {
  display: none !important;
}

@media (max-width: 1120px) {
  .dashboard-grid,
  .detail-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 820px) {
  .auth-screen,
  .shell {
    grid-template-columns: 1fr;
  }

  .auth-brand {
    min-height: 420px;
  }

  .sidebar {
    position: static;
    height: auto;
    padding: 14px;
  }

  .sidebar .nav {
    display: none;
  }

  .sidebar-card {
    display: none;
  }

  .mobile-menu {
    display: block;
    margin-top: 14px;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .content {
    width: min(100% - 28px, 1280px);
    padding-top: 18px;
  }

  .page-head {
    align-items: stretch;
    flex-direction: column;
  }

  .filters,
  .two-col {
    grid-template-columns: 1fr;
  }

  .library-grid,
  .video-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    min-height: 420px;
    padding: 24px;
  }
}

/* 北府视界 | 先见社群 visual system */
:root {
  --bg: #05080d;
  --surface: rgba(10, 16, 23, 0.86);
  --surface-strong: rgba(13, 20, 29, 0.94);
  --ink: #f5f1e8;
  --muted: #b5aa99;
  --subtle: #80786d;
  --line: rgba(215, 164, 103, 0.28);
  --line-strong: rgba(235, 190, 126, 0.58);
  --accent: #d8a463;
  --accent-strong: #f3c981;
  --accent-soft: rgba(216, 164, 99, 0.12);
  --gold: #e9b978;
  --success: #86d5a4;
  --warning: #f1bd70;
  --danger: #f08a8e;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

body {
  background:
    radial-gradient(circle at 52% 16%, rgba(224, 180, 110, 0.16), transparent 26%),
    radial-gradient(circle at 82% 32%, rgba(135, 184, 209, 0.08), transparent 28%),
    linear-gradient(180deg, #05080d 0%, #091017 52%, #05080d 100%);
  color: var(--ink);
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(216, 164, 99, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 164, 99, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 82%);
}

.auth-screen {
  background: #05080d;
}

.auth-brand {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(4, 7, 12, 0.2), rgba(4, 7, 12, 0.88)),
    url("./vision/cover-login.jpg") center / cover,
    url("./vision/cover.png") center / cover;
}

.auth-brand::after,
.vision-hero::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 70%, rgba(255, 227, 176, 0.22), transparent 22%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.34));
}

.auth-brand > *,
.vision-hero > * {
  position: relative;
  z-index: 1;
}

.logo-mark {
  border-color: rgba(232, 184, 116, 0.56);
  background:
    linear-gradient(rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.08)),
    url("./vision/logo.jpg") center / cover;
  color: transparent;
  box-shadow: inset 0 0 24px rgba(232, 184, 116, 0.12);
}

.logo-text strong,
.page-head h1,
.hero-poster h2,
.detail-body h1,
.vision-copy h2,
.vision-section h2 {
  color: #fffaf1;
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  font-weight: 800;
  letter-spacing: 0;
}

.logo-text span,
.page-head p,
.panel-head p,
.lead,
.hint {
  color: var(--muted);
}

.auth-panel,
.panel,
.stat,
.video-card,
.list li,
.field input,
.field select,
.field textarea,
.control,
.search-input,
.message,
.table-wrap,
.toast {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.field input,
.field select,
.field textarea,
.control,
.search-input {
  background: rgba(255, 255, 255, 0.045);
}

.field input::placeholder,
.field textarea::placeholder,
.search-input::placeholder {
  color: rgba(220, 210, 193, 0.52);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.control:focus,
.search-input:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(216, 164, 99, 0.15);
}

.btn {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
}

.btn:hover {
  border-color: var(--line-strong);
  background: rgba(216, 164, 99, 0.11);
}

.btn.primary {
  border-color: rgba(240, 194, 124, 0.86);
  background: linear-gradient(135deg, #b9783e, #e8b876);
  color: #120b05;
}

.btn.primary:hover {
  border-color: #f5cf8c;
  background: linear-gradient(135deg, #d59654, #f3c981);
}

.shell {
  background: transparent;
}

.sidebar {
  border-right-color: rgba(216, 164, 99, 0.22);
  background:
    linear-gradient(180deg, rgba(6, 10, 15, 0.96), rgba(10, 16, 23, 0.94)),
    #05080d;
}

.nav button {
  color: rgba(245, 241, 232, 0.74);
}

.nav button:hover,
.nav button.active {
  background: rgba(216, 164, 99, 0.12);
  color: #f9ddb0;
}

.sidebar-card {
  border-color: rgba(216, 164, 99, 0.28);
  background: rgba(216, 164, 99, 0.08);
}

.topbar {
  border-bottom-color: var(--line);
  background: rgba(5, 8, 13, 0.82);
}

.avatar {
  background: rgba(216, 164, 99, 0.14);
  color: #f1c987;
}

.hero-poster {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.3)),
    var(--poster, linear-gradient(135deg, #070b10, #152331)) !important;
}

.pill.light,
.flow span,
.doc-grid span,
.tag-grid span {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
}

.pill.red {
  border-color: rgba(216, 164, 99, 0.3);
  background: rgba(216, 164, 99, 0.12);
  color: #f0c47f;
}

.thumb {
  background:
    linear-gradient(135deg, rgba(9, 15, 22, 0.24), rgba(216, 164, 99, 0.14)),
    var(--poster, #111820) !important;
}

.card-body h3,
.rail-item h3,
.panel-head h2,
.section-title,
td strong,
.stat strong,
.auth-panel h2,
.empty-state h2 {
  color: #fffaf1;
}

.card-body p,
.detail-body p,
td,
.empty-state p {
  color: var(--muted);
}

th {
  background: rgba(216, 164, 99, 0.08);
  color: #f0d5aa;
}

td,
th {
  border-bottom-color: var(--line);
}

.progress {
  background: rgba(255, 255, 255, 0.09);
}

.progress span {
  background: linear-gradient(90deg, #b9783e, #f5cf8c);
}

.vision-hero {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 24px;
  min-height: 420px;
  margin-bottom: 18px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(5, 8, 13, 0.86), rgba(5, 8, 13, 0.72)),
    url("./vision/definition.png") center / cover;
}

.vision-copy {
  display: flex;
  max-width: 760px;
  flex-direction: column;
  justify-content: center;
}

.vision-kicker {
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.vision-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.12;
}

.vision-copy p {
  max-width: 620px;
  margin: 0 0 24px;
  color: #d7cbb8;
  font-size: 17px;
  line-height: 1.9;
}

.vision-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vision-tags span {
  border: 1px solid rgba(232, 184, 116, 0.42);
  border-radius: 999px;
  background: rgba(216, 164, 99, 0.1);
  color: #f3c981;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.vision-cover {
  min-height: 320px;
  border: 1px solid rgba(232, 184, 116, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.28)),
    url("./vision/cover.png") center / cover;
  box-shadow: 0 0 80px rgba(232, 184, 116, 0.1);
}

.vision-strip,
.ability-grid,
.audience-grid,
.delivery-grid,
.rights-grid {
  display: grid;
  gap: 14px;
}

.vision-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
}

.vision-strip article,
.ability-card,
.audience-grid article,
.delivery-grid article,
.rights-grid div,
.system-path div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 164, 99, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(8, 13, 19, 0.86);
  padding: 18px;
}

.vision-strip h3,
.ability-card h3,
.audience-grid h3,
.delivery-grid h3 {
  margin: 0 0 10px;
  color: #fffaf1;
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  font-size: 21px;
}

.vision-strip p,
.ability-card p,
.audience-grid p,
.delivery-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

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

.ability-card span,
.audience-grid span,
.delivery-grid span,
.rights-grid strong,
.system-path strong {
  display: block;
  margin-bottom: 12px;
  color: #f3c981;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 700;
}

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

.system-path span,
.rights-grid span {
  color: #fffaf1;
  font-weight: 800;
}

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

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

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

.intro-screen {
  display: grid;
  gap: 12px;
}

.intro-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  min-height: 150px;
  align-items: center;
  padding: 20px;
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.96), rgba(5, 8, 13, 0.66)),
    url("./vision/definition.png") center / cover;
}

.intro-hero .vision-kicker {
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.intro-hero h2 {
  max-width: 820px;
  margin: 0 0 8px;
  color: #fffaf1;
  font-family: var(--ui-font);
  font-size: 26px;
  line-height: 1.2;
}

.intro-hero p {
  max-width: 760px;
  margin: 0;
  color: #d7cbb8;
  font-size: 14px;
  line-height: 1.6;
}

.intro-hero .vision-tags {
  justify-content: flex-end;
  max-width: 300px;
}

.intro-hero .vision-tags span {
  min-width: 86px;
  padding: 7px 10px;
  text-align: center;
}

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

.intro-card {
  min-height: 330px;
}

.intro-card .panel-head {
  margin-bottom: 10px;
}

.intro-card .panel-head h2 {
  font-size: 18px;
}

.intro-list,
.intro-delivery,
.intro-path {
  display: grid;
  gap: 8px;
}

.intro-list article,
.intro-delivery article,
.intro-path span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  padding: 9px;
}

.intro-list article strong,
.intro-path b {
  display: block;
  margin-bottom: 4px;
  color: #f3c981;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.intro-list article span,
.intro-delivery article span,
.intro-path span {
  color: #fffaf1;
  font-weight: 800;
}

.intro-list article p,
.intro-delivery article p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.intro-list.compact article {
  padding: 8px 9px;
}

.intro-rights {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.intro-rights span {
  border: 1px solid rgba(216, 164, 99, 0.3);
  border-radius: 999px;
  background: rgba(216, 164, 99, 0.1);
  color: #f0c47f;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 800;
}

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

  .ability-grid,
  .system-path,
  .rights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vision-cover {
    min-height: 420px;
  }

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

  .intro-card {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .auth-brand {
    min-height: 520px;
    padding: 24px;
  }

  .auth-panel-wrap {
    padding: 18px;
  }

  .auth-panel {
    padding: 22px;
  }

  .vision-hero {
    min-height: auto;
    padding: 20px;
  }

  .vision-copy h2 {
    font-size: 34px;
  }

  .vision-cover {
    min-height: 360px;
  }

  .vision-strip,
  .ability-grid,
  .system-path,
  .audience-grid,
  .delivery-grid,
  .rights-grid {
    grid-template-columns: 1fr;
  }

  .intro-hero,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-hero {
    min-height: auto;
    padding: 16px;
  }

  .intro-hero h2 {
    font-size: 23px;
  }

  .intro-hero .vision-tags {
    justify-content: flex-start;
    max-width: none;
  }

  .topbar .user-menu {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

/* Compact member and admin screens */
:root {
  --ui-font:
    "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI",
    "Microsoft YaHei", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-font: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", serif;
}

body,
button,
input,
select,
textarea {
  font-family: var(--ui-font);
  letter-spacing: 0;
}

.logo-text strong,
.page-head h1,
.hero-poster h2,
.detail-body h1,
.panel-head h2,
.section-title,
.card-body h3,
.rail-item h3,
.stat strong,
.admin-action-card strong,
.admin-status h2 {
  font-family: var(--ui-font);
  font-weight: 760;
  letter-spacing: 0;
}

.vision-copy h2,
.vision-strip h3,
.ability-card h3,
.audience-grid h3,
.delivery-grid h3,
.vision-section h2 {
  font-family: var(--display-font);
}

.content {
  width: min(1360px, calc(100% - 32px));
  padding: 16px 0 18px;
}

.page-head {
  align-items: center;
  margin-bottom: 12px;
}

.page-head h1 {
  margin-bottom: 6px;
  font-size: 32px;
  line-height: 1.12;
}

.page-head p {
  max-width: 780px;
  font-size: 14px;
  line-height: 1.55;
}

.home-screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: 12px;
  align-items: start;
}

.home-main,
.home-side,
.admin-screen {
  display: grid;
  gap: 12px;
}

.home-intro {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 1fr;
  gap: 8px;
  min-height: 112px;
  align-content: center;
  padding: 16px 18px;
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.96), rgba(5, 8, 13, 0.72)),
    url("./vision/system.png") center / cover;
}

.home-intro .vision-kicker,
.admin-status .vision-kicker {
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.home-intro h2 {
  margin: 0 0 6px;
  color: #fffaf1;
  font-size: 22px;
  line-height: 1.25;
}

.home-intro p {
  max-width: 640px;
  margin: 0;
  color: #d3c8b8;
  font-size: 14px;
  line-height: 1.55;
}

.home-intro .vision-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.home-intro .vision-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.compact-stats {
  gap: 10px;
}

.compact-stats .stat {
  padding: 11px 13px;
}

.compact-stats .stat strong {
  margin-bottom: 3px;
  font-size: 22px;
  line-height: 1;
}

.compact-stats .stat span {
  font-size: 12px;
}

.compact-hero .hero-poster {
  display: flex;
  min-height: 268px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 22px;
}

.compact-hero .hero-meta {
  gap: 7px;
  margin-bottom: 14px;
}

.compact-hero .hero-poster h2 {
  max-width: 700px;
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1.18;
}

.compact-hero .hero-poster p {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.58;
}

.home-side .panel.pad,
.admin-screen .panel.pad {
  padding: 14px;
}

.home-side .panel-head,
.admin-screen .panel-head {
  margin-bottom: 10px;
}

.home-side .panel-head h2,
.admin-screen .panel-head h2 {
  font-size: 18px;
}

.home-side .rail-list {
  gap: 9px;
}

.home-side .rail-item {
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
}

.home-side .rail-item .thumb {
  aspect-ratio: 16 / 10;
}

.home-side .rail-item h3 {
  display: -webkit-box;
  margin-bottom: 4px;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-side .rail-item .meta-row {
  gap: 5px;
  font-size: 11px;
}

.home-side .message {
  padding: 10px;
  font-size: 12px;
  line-height: 1.55;
}

.admin-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 12px;
  align-items: stretch;
}

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

.admin-action-card {
  display: flex;
  min-height: 126px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 164, 99, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(8, 13, 19, 0.86);
  color: var(--ink);
  padding: 16px;
  text-align: left;
}

.admin-action-card:hover {
  border-color: var(--line-strong);
  background:
    linear-gradient(135deg, rgba(216, 164, 99, 0.18), rgba(255, 255, 255, 0.035)),
    rgba(11, 18, 26, 0.92);
}

.admin-action-card strong {
  color: #fffaf1;
  font-size: 17px;
  line-height: 1.3;
}

.admin-action-card span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.admin-status {
  display: flex;
  min-height: 166px;
  flex-direction: column;
  justify-content: center;
}

.admin-status h2 {
  margin: 0 0 10px;
  color: #fffaf1;
  font-size: 22px;
  line-height: 1.28;
}

.admin-status p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.admin-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.admin-status-row strong {
  color: #fffaf1;
  font-size: 18px;
}

@media (max-width: 1180px) {
  .home-screen,
  .admin-main-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-height: 760px) and (min-width: 900px) {
  .topbar {
    min-height: 62px;
    padding: 10px 22px;
  }

  .content {
    padding: 12px 0 14px;
  }

  .page-head {
    margin-bottom: 10px;
  }

  .page-head h1 {
    font-size: 27px;
  }

  .page-head p {
    font-size: 13px;
    line-height: 1.45;
  }

  .home-intro {
    min-height: 96px;
    padding: 12px 14px;
  }

  .home-intro h2 {
    font-size: 19px;
  }

  .home-intro p {
    font-size: 13px;
  }

  .compact-stats .stat {
    padding: 10px 12px;
  }

  .compact-stats .stat strong {
    font-size: 19px;
  }

  .compact-hero .hero-poster {
    min-height: 220px;
    padding: 18px;
  }

  .compact-hero .hero-poster h2 {
    font-size: 24px;
  }

  .compact-hero .hero-poster p {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .home-side .panel.pad,
  .admin-screen .panel.pad {
    padding: 12px;
  }

  .home-side .rail-item {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .admin-action-card {
    min-height: 104px;
    padding: 13px;
  }
}

@media (max-width: 820px) {
  .content {
    width: min(100% - 24px, 1280px);
    padding: 14px 0 22px;
  }

  .route-video .topbar {
    display: none;
  }

  .route-video .content {
    padding-top: 10px;
  }

  .route-video .sidebar {
    padding-bottom: 10px;
  }

  .route-home .page-head {
    margin-bottom: 8px;
  }

  .route-home .page-head p {
    display: none;
  }

  .page-head h1 {
    font-size: 26px;
  }

  .page-head p {
    font-size: 13px;
  }

  .home-screen,
  .home-main,
  .home-side,
  .admin-screen {
    gap: 10px;
  }

  .home-intro,
  .home-side,
  .admin-main-grid {
    grid-template-columns: 1fr;
  }

  .compact-hero {
    order: -2;
  }

  .home-intro {
    order: -1;
  }

  .home-intro {
    min-height: auto;
    padding: 14px;
  }

  .home-intro .vision-tags {
    justify-self: stretch;
  }

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

  .compact-hero .hero-poster {
    min-height: 260px;
    padding: 18px;
  }

  .compact-hero .hero-poster h2 {
    font-size: 23px;
  }

  .compact-hero .hero-poster p {
    font-size: 13px;
  }

  .detail-grid {
    gap: 12px;
  }

  .player-wrap video {
    min-height: 210px;
  }

  .player-nav {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }

  .player-nav-btn {
    padding: 10px;
  }

  .detail-body {
    padding: 14px;
  }

  .detail-actions {
    justify-content: flex-start;
    margin-bottom: 10px;
  }

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

  .admin-action-card {
    min-height: 86px;
    justify-content: flex-start;
    padding: 14px;
  }
}

@media (max-width: 820px) {
  .shell.route-video {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: block;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background: #000;
  }

  .route-video .sidebar,
  .route-video .topbar,
  .route-video .detail-body,
  .route-video .detail-grid > aside {
    display: none;
  }

  .route-video .main,
  .route-video .content,
  .route-video .detail-grid,
  .route-video .player-shell,
  .route-video .player-wrap {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .route-video .content {
    padding: 0;
  }

  .route-video .detail-grid {
    display: block;
  }

  .route-video .player-shell {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #000;
    box-shadow: none;
  }

  .route-video .player-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y;
  }

  .route-video .player-wrap video {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: var(--mobile-video-fit, contain);
    object-position: center center;
    background: #000;
  }

  .route-video .player-picker {
    top: max(14px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    z-index: 9;
  }

  .route-video .player-picker-toggle {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .route-video .player-picker-toggle strong {
    display: none;
  }

  .route-video .player-picker-panel {
    top: 48px;
    right: 0;
    width: min(360px, calc(100vw - 24px));
    max-height: min(58vh, 420px);
    border-radius: 14px;
  }

  .route-video .player-picker-list {
    max-height: min(46vh, 340px);
  }

  .route-video .mobile-player-caption {
    pointer-events: none;
    position: absolute;
    top: max(14px, env(safe-area-inset-top));
    right: 126px;
    left: 112px;
    z-index: 4;
    display: grid;
    gap: 4px;
    color: #fffaf1;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.78);
  }

  .route-video .mobile-player-back {
    position: absolute;
    top: max(14px, env(safe-area-inset-top));
    left: max(12px, env(safe-area-inset-left));
    z-index: 6;
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 250, 241, 0.22);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.48);
    color: #fffaf1;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
  }

  .route-video .mobile-player-back:hover {
    border-color: rgba(243, 201, 129, 0.56);
    background: rgba(0, 0, 0, 0.62);
  }

  .route-video .mobile-player-caption strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
    font-size: 17px;
    line-height: 1.35;
  }

  .route-video .mobile-player-caption span {
    color: rgba(255, 250, 241, 0.74);
    font-size: 12px;
    font-weight: 700;
  }

  .route-video .player-nav {
    pointer-events: none;
    position: absolute;
    top: 50%;
    right: max(10px, env(safe-area-inset-right));
    z-index: 5;
    width: 112px;
    transform: translateY(-50%);
    grid-template-columns: 1fr;
    gap: 8px;
    border: 0;
    background: transparent;
    padding: 0;
  }

  .route-video .player-nav-btn {
    pointer-events: auto;
    min-height: 42px;
    border-color: rgba(255, 250, 241, 0.2);
    background: rgba(0, 0, 0, 0.42);
    color: #fffaf1;
    padding: 9px 10px;
    text-align: center;
    backdrop-filter: blur(12px);
  }

  .route-video .player-nav-btn:hover:not(:disabled) {
    border-color: rgba(243, 201, 129, 0.5);
    background: rgba(0, 0, 0, 0.58);
  }

  .route-video .player-nav-btn span {
    color: #f3c981;
    font-size: 12px;
  }

  .route-video .player-nav-btn strong {
    display: none;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 820px) {
    .shell.route-video,
    .route-video .main,
    .route-video .content,
    .route-video .detail-grid,
    .route-video .player-shell,
    .route-video .player-wrap {
      height: -webkit-fill-available;
      min-height: -webkit-fill-available;
    }

    .route-video .player-wrap video {
      height: -webkit-fill-available;
    }
  }
}

@media (max-width: 420px) {
  .route-video .mobile-player-caption {
    right: 104px;
    left: 98px;
  }

  .route-video .player-picker-toggle {
    min-width: 86px;
    justify-content: center;
    padding: 0 10px;
  }

  .route-video .player-nav {
    width: 92px;
  }

  .route-video .player-nav-btn {
    padding: 8px;
  }
}
