@charset "UTF-8";
/**
 * Element Plus 主题集中覆盖
 * 在 EP 默认主题之后引入，统一组件视觉到 design-tokens 系统
 * 业务页面禁止再单独覆盖 --el-* 变量，统一收敛到本文件
 */
.el-button {
  border-radius: var(--radius-md);
}

.el-input__wrapper,
.el-textarea__inner {
  border-radius: var(--radius-md);
  border-color: var(--border-default);
}
.el-input__wrapper:hover,
.el-textarea__inner:hover {
  border-color: var(--border-strong);
}
.el-input__wrapper.is-focus, .el-input__wrapper:focus,
.el-textarea__inner.is-focus,
.el-textarea__inner:focus {
  border-color: var(--brand-primary);
}

.el-table {
  --el-table-header-bg-color: var(--surface-sunken);
  --el-table-header-text-color: var(--text-tertiary);
  --el-table-border-color: var(--border-subtle);
  --el-table-row-hover-bg-color: var(--surface-hover);
  --el-table-tr-bg-color: var(--surface-raised);
  --el-table-bg-color: var(--surface-raised);
}

.el-card {
  border-radius: var(--radius-lg);
  border-color: var(--border-default);
  box-shadow: var(--shadow-sm);
}
.el-card.is-hover-shadow:hover, .el-card.is-always-shadow {
  box-shadow: var(--shadow-md);
}

.el-dialog {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.ymtv-card__sub[data-v-922a602b] {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.58);
}
.ymtv-inline-link[data-v-922a602b] {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ymtv-primary-light);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.ymtv-inline-link[data-v-922a602b]:hover {
  text-decoration: underline;
}

/* 提示文字与「去注册」按钮之间留一点间距 */
.ymtv-foot-note .ymtv-inline-link[data-v-922a602b] {
  margin-left: 4px;
}.app-banner[data-v-92a1cee2] {
  background: var(--brand-primary);
  color: var(--text-on-brand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
  min-height: 40px;
  font-size: var(--text-xs);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--brand-primary-active);
}
.app-banner.is-center[data-v-92a1cee2] {
  justify-content: center;
}
.app-banner.is-center .banner-inner[data-v-92a1cee2] {
  flex: 0 1 auto;
  justify-content: center;
}
.app-banner.is-center .banner-date[data-v-92a1cee2] {
  margin-left: var(--space-3);
}
.app-banner.is-center .banner-close[data-v-92a1cee2] {
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
}
.banner-inner[data-v-92a1cee2] {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.banner-tag[data-v-92a1cee2] {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.25);
  color: var(--text-on-brand);
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: var(--font-semibold);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.banner-text[data-v-92a1cee2] {
  font-weight: var(--font-semibold);
  color: var(--text-on-brand);
  overflow: hidden;
  text-overflow: ellipsis;
}
.banner-sub[data-v-92a1cee2] {
  color: var(--text-on-brand);
  opacity: 0.85;
  overflow: hidden;
  text-overflow: ellipsis;
}
.banner-date[data-v-92a1cee2] {
  color: var(--text-on-brand);
  opacity: 0.7;
  margin-left: auto;
  flex-shrink: 0;
}
.banner-close[data-v-92a1cee2] {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--text-on-brand);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.banner-close[data-v-92a1cee2]:hover {
  background: rgba(255, 255, 255, 0.3);
  color: var(--text-on-brand);
  opacity: 1;
}
@media (max-width: 768px) {
.banner-sub[data-v-92a1cee2],
  .banner-date[data-v-92a1cee2] {
    display: none;
}
}.app-root[data-v-5005ffe4] {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.app-view[data-v-5005ffe4] {
  flex: 1 1 auto;
  min-height: 0;
}
/**
 * 全局样式
 * 引入设计 token + 基础重置 + Element Plus 触感覆盖
 * 借鉴 AiToEarn：近平面 + 色调分层 + 150-250ms state-driven 过渡 + 1px ring focus
 */
/**
 * 设计 Token 系统 —— YimingHub 品牌主题（YmTV 紫）
 * 色彩方案：主色紫 #7c3aed（violet）→ 辅色 #6366f1（indigo）对角渐变
 *   暗色：近黑 #070707 背景 + 紫色点缀
 * 触感逻辑：近平面 + 色调分层 + 150-250ms state-driven 过渡 + 1px ring focus
 */
:root {
  color-scheme: dark;
  --brand-primary: #7c3aed;
  --brand-primary-hover: #6d28d9;
  --brand-primary-active: #5b21b6;
  --brand-primary-soft: rgba(124, 58, 237, 0.14);
  --brand-primary-softer: rgba(124, 58, 237, 0.07);
  --brand-accent: #b69bff;
  --brand-secondary: #6d28d9;
  --brand-secondary-hover: #5b21b6;
  --gradient-brand: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  --gradient-brand-hover: linear-gradient(135deg, #6d28d9 0%, #4f46e5 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.10) 0%, rgba(99, 102, 241, 0.10) 100%);
  --gradient-brand-text: linear-gradient(135deg, #a78bfa 0%, #818cf8 100%);
  --accent-blue: #6366f1;
  --accent-blue-hover: #818cf8;
  --accent-blue-active: #4f46e5;
  --accent-blue-soft: rgba(99, 102, 241, 0.15);
  --accent-blue-softer: rgba(99, 102, 241, 0.08);
  --accent-cyan: #29abe2;
  --accent-cyan-soft: rgba(34, 211, 238, 0.12);
  --gradient-accent: linear-gradient(135deg, #6366f1 0%, #29abe2 100%);
  --gradient-gold-blue: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  --bg-radial-light: radial-gradient(circle at 14% 12%, rgba(124, 58, 237, 0.06), transparent 34%),
                     radial-gradient(circle at 86% 0%, rgba(99, 102, 241, 0.04), transparent 30%),
                     linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --bg-radial-dark: radial-gradient(circle at 16% 10%, rgba(124, 58, 237, 0.10), transparent 26%),
                    radial-gradient(circle at 88% 4%, rgba(185, 240, 236, 0.06), transparent 24%),
                    linear-gradient(180deg, #070707 0%, #000 100%);
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --surface-base: #070707;
  --surface-raised: #141414;
  --surface-sunken: #020202;
  --surface-hover: #1f1f1f;
  --border-subtle: rgb(255 255 255 / 0.08);
  --border-default: rgb(255 255 255 / 0.12);
  --border-strong: rgb(255 255 255 / 0.24);
  --text-primary: #f0f6fc;
  --text-secondary: #c9d1d9;
  --text-tertiary: #8b949e;
  --text-quaternary: #6e7681;
  --success: #10b981;
  --success-soft: #ecfdf5;
  --success-strong: #166534;
  --success-border: #bbf7d0;
  --warning: #f59e0b;
  --warning-soft: #fffbeb;
  --warning-strong: #854d0e;
  --warning-border: #fde68a;
  --danger: #ef4444;
  --danger-soft: #fef2f2;
  --danger-strong: #991b1b;
  --danger-border: #fecaca;
  --info: #3b82f6;
  --info-soft: #eff6ff;
  --info-strong: #1e40af;
  --info-border: #bfdbfe;
  --text-on-brand: #ffffff;
  --text-on-accent: #ffffff;
  --text-on-dark: #f0f6fc;
  --overlay-scrim: #000000;
  --overlay-scrim-soft: rgb(0 0 0 / 0.5);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-xs: 0 1px 2px 0 rgb(124 58 237 / 0.06);
  --shadow-sm: 0 1px 3px 0 rgb(124 58 237 / 0.10), 0 1px 2px -1px rgb(124 58 237 / 0.08);
  --shadow-md: 0 4px 6px -1px rgb(124 58 237 / 0.10), 0 2px 4px -2px rgb(124 58 237 / 0.06);
  --shadow-lg: 0 10px 15px -3px rgb(124 58 237 / 0.10), 0 4px 6px -4px rgb(124 58 237 / 0.06);
  --shadow-brand: 0 4px 6px -1px rgb(124 58 237 / 0.28), 0 2px 4px -2px rgb(99 102 241 / 0.18), 0 0 0 1px rgb(124 58 237 / 0.06);
  --shadow-frost: inset 0 0 0 1px rgb(255 255 255 / 0.5);
  --shadow-frost-strong: inset 0 0 0 3px rgb(255 255 255 / 0.45);
  --glass-bg: linear-gradient(180deg, rgb(20 20 20 / 0.85) 0%, rgb(7 7 7 / 0.75) 100%);
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-mono: 'SF Mono', 'Cascadia Code', 'Roboto Mono', Menlo, Monaco, monospace;
  --font-brand: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --header-height: 56px;
  --sidebar-width: 220px;
  --sidebar-collapsed-width: 64px;
  --content-max-width: 1400px;
  --el-color-primary: #7c3aed;
  --el-color-primary-light-3: #9660f1;
  --el-color-primary-light-5: #b18af5;
  --el-color-primary-light-7: #ccb4f9;
  --el-color-primary-light-8: #221635;
  --el-color-primary-light-9: #170f26;
  --el-color-primary-dark-2: #6d28d9;
  --el-color-success: #10b981;
  --el-color-warning: #f59e0b;
  --el-color-danger: #ef4444;
  --el-color-error: #ef4444;
  --el-color-info: #64748b;
  --el-text-color-primary: #f0f6fc;
  --el-text-color-regular: #c9d1d9;
  --el-text-color-secondary: #8b949e;
  --el-text-color-placeholder: #6e7681;
  --el-text-color-disabled: rgb(255 255 255 / 0.24);
  --el-border-color: rgb(255 255 255 / 0.12);
  --el-border-color-light: rgb(255 255 255 / 0.08);
  --el-border-color-lighter: rgb(255 255 255 / 0.06);
  --el-border-color-hover: rgb(255 255 255 / 0.24);
  --el-border-color-darker: rgb(255 255 255 / 0.24);
  --el-bg-color: #070707;
  --el-bg-color-page: #020202;
  --el-bg-color-overlay: #141414;
  --el-fill-color: #141414;
  --el-fill-color-light: #1a1a1a;
  --el-fill-color-lighter: #0d0d0d;
  --el-fill-color-blank: #070707;
  --el-mask-color: rgb(7 7 7 / 0.85);
  --el-mask-color-extra-light: rgb(7 7 7 / 0.4);
  --el-border-radius-base: 8px;
  --el-border-radius-small: 6px;
  --el-border-radius-round: 9999px;
  --el-box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.3), 0 1px 2px -1px rgb(0 0 0 / 0.2);
  --el-box-shadow-light: 0 1px 2px 0 rgb(0 0 0 / 0.2);
  --el-font-size-base: 14px;
  --el-font-size-small: 13px;
  --el-font-size-extra-small: 12px;
  --el-disabled-bg-color: #141414;
  --el-disabled-text-color: #79747e;
  --el-disabled-border-color: rgb(255 255 255 / 0.12);
  --pay-bg-start: #070A20;
  --pay-bg-end: #131A3E;
  --pay-surface: linear-gradient(180deg, #17202F 0%, #121A27 100%);
  --pay-surface-raised: linear-gradient(180deg, #1C2738 0%, #16202E 100%);
  --pay-surface-flat: #131B28;
  --pay-surface-hover: #1B2637;
  --pay-glass-bg: rgba(19, 26, 60, 0.72);
  --pay-glass-border: rgba(150, 162, 255, 0.14);
  --pay-text: #D2D8F5;
  --pay-text-strong: #FFFFFF;
  --pay-text-muted: #98A2CE;
  --pay-glow-indigo: rgba(90, 108, 232, 0.26);
  --pay-glow-gold: rgba(124, 196, 255, 0.10);
  --pay-ring: rgba(122, 140, 255, 0.60);
  --pay-tier-violet: #8B9CFF;
  --pay-tier-indigo: #5A6CE8;
  --pay-tier-mint: #7FC8FF;
  --pay-tier-amber: #A8B4FF;
  --pay-tier-slate: #9AA3CC;
}

@media (prefers-color-scheme: dark) {
  :root:not(.light) {
    --surface-base: #070707;
    --surface-raised: #141414;
    --surface-sunken: #020202;
    --surface-hover: #1f1f1f;
    --border-subtle: rgb(255 255 255 / 0.08);
    --border-default: rgb(255 255 255 / 0.12);
    --border-strong: rgb(255 255 255 / 0.24);
    --text-primary: #f0f6fc;
    --text-secondary: #c9d1d9;
    --text-tertiary: #8b949e;
    --text-quaternary: #6e7681;
    --success-soft: rgba(16, 185, 129, 0.14);
    --success-strong: #34d399;
    --success-border: rgba(16, 185, 129, 0.35);
    --warning-soft: rgba(245, 158, 11, 0.14);
    --warning-strong: #fbbf24;
    --warning-border: rgba(245, 158, 11, 0.35);
    --danger-soft: rgba(239, 68, 68, 0.14);
    --danger-strong: #f87171;
    --danger-border: rgba(239, 68, 68, 0.35);
    --info-soft: rgba(59, 130, 246, 0.14);
    --info-strong: #60a5fa;
    --info-border: rgba(59, 130, 246, 0.35);
    --brand-primary-soft: rgba(124, 58, 237, 0.14);
    --brand-primary-softer: rgba(124, 58, 237, 0.07);
    --gradient-brand-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(99, 102, 241, 0.12) 100%);
    --accent-blue: #818cf8;
    --accent-blue-hover: #a5b4fc;
    --accent-blue-active: #6366f1;
    --accent-blue-soft: rgba(99, 102, 241, 0.15);
    --accent-blue-softer: rgba(99, 102, 241, 0.08);
    --accent-cyan: #22d3ee;
    --accent-cyan-soft: rgba(34, 211, 238, 0.12);
    --glass-bg: linear-gradient(180deg, rgb(20 20 20 / 0.85) 0%, rgb(7 7 7 / 0.75) 100%);
    --el-bg-color: #070707;
    --el-bg-color-page: #020202;
    --el-bg-color-overlay: #141414;
    --el-fill-color: #141414;
    --el-fill-color-light: #1a1a1a;
    --el-fill-color-lighter: #0d0d0d;
    --el-fill-color-blank: #070707;
    --el-text-color-primary: #f0f6fc;
    --el-text-color-regular: #c9d1d9;
    --el-text-color-secondary: #8b949e;
    --el-text-color-placeholder: #6e7681;
    --el-border-color: rgb(255 255 255 / 0.12);
    --el-border-color-light: rgb(255 255 255 / 0.08);
    --el-border-color-lighter: rgb(255 255 255 / 0.06);
    --el-border-color-hover: rgb(255 255 255 / 0.24);
    --el-box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.3), 0 1px 2px -1px rgb(0 0 0 / 0.2);
    --el-box-shadow-light: 0 1px 2px 0 rgb(0 0 0 / 0.2);
  }
}
html.dark {
  --surface-base: #070707;
  --surface-raised: #141414;
  --surface-sunken: #020202;
  --surface-hover: #1f1f1f;
  --border-subtle: rgb(255 255 255 / 0.08);
  --border-default: rgb(255 255 255 / 0.12);
  --border-strong: rgb(255 255 255 / 0.24);
  --text-primary: #f0f6fc;
  --text-secondary: #c9d1d9;
  --text-tertiary: #8b949e;
  --text-quaternary: #6e7681;
  --success-soft: rgba(16, 185, 129, 0.14);
  --success-strong: #34d399;
  --success-border: rgba(16, 185, 129, 0.35);
  --warning-soft: rgba(245, 158, 11, 0.14);
  --warning-strong: #fbbf24;
  --warning-border: rgba(245, 158, 11, 0.35);
  --danger-soft: rgba(239, 68, 68, 0.14);
  --danger-strong: #f87171;
  --danger-border: rgba(239, 68, 68, 0.35);
  --info-soft: rgba(59, 130, 246, 0.14);
  --info-strong: #60a5fa;
  --info-border: rgba(59, 130, 246, 0.35);
  --brand-primary-soft: rgba(124, 58, 237, 0.14);
  --brand-primary-softer: rgba(124, 58, 237, 0.07);
  --gradient-brand-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(99, 102, 241, 0.12) 100%);
  --accent-blue: #818cf8;
  --accent-blue-hover: #a5b4fc;
  --accent-blue-active: #6366f1;
  --accent-blue-soft: rgba(99, 102, 241, 0.15);
  --accent-blue-softer: rgba(99, 102, 241, 0.08);
  --accent-cyan: #22d3ee;
  --accent-cyan-soft: rgba(34, 211, 238, 0.12);
  --glass-bg: linear-gradient(180deg, rgb(20 20 20 / 0.85) 0%, rgb(7 7 7 / 0.75) 100%);
  --el-bg-color: #070707;
  --el-bg-color-page: #020202;
  --el-bg-color-overlay: #141414;
  --el-fill-color: #141414;
  --el-fill-color-light: #1a1a1a;
  --el-fill-color-lighter: #0d0d0d;
  --el-fill-color-blank: #070707;
  --el-text-color-primary: #f0f6fc;
  --el-text-color-regular: #c9d1d9;
  --el-text-color-secondary: #8b949e;
  --el-text-color-placeholder: #6e7681;
  --el-border-color: rgb(255 255 255 / 0.12);
  --el-border-color-light: rgb(255 255 255 / 0.08);
  --el-border-color-lighter: rgb(255 255 255 / 0.06);
  --el-border-color-hover: rgb(255 255 255 / 0.24);
  --el-box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.3), 0 1px 2px -1px rgb(0 0 0 / 0.2);
  --el-box-shadow-light: 0 1px 2px 0 rgb(0 0 0 / 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--surface-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  height: 100%;
  overflow: hidden;
}

#app {
  height: 100%;
  overflow: hidden;
}

.numeric,
.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: var(--radius-full);
  transition: background var(--transition-base);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

.el-button {
  font-weight: var(--font-medium);
  transition: all var(--transition-fast);
  border-radius: var(--radius-md);
}
.el-button.el-button--primary {
  background-image: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  background-color: #7c3aed;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(0, 0, 0, 0.12), inset 0 0 20px rgba(255, 255, 255, 0.08), 0 1px 3px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}
.el-button.el-button--primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.el-button.el-button--primary:hover {
  background-image: linear-gradient(135deg, #9660f1 0%, #818cf8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.12), inset 0 0 24px rgba(255, 255, 255, 0.12), 0 4px 16px rgba(124, 58, 237, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}
.el-button.el-button--primary:active {
  background-image: linear-gradient(135deg, #6d28d9 0%, #4f46e5 100%);
  transform: translateY(0) scale(0.98);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), inset 0 -1px 0 rgba(255, 255, 255, 0.1), inset 0 0 16px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.15);
}
.el-button.el-button--primary.is-disabled, .el-button.el-button--primary:disabled {
  background-image: linear-gradient(135deg, rgba(124, 58, 237, 0.5) 0%, rgba(99, 102, 241, 0.4) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.el-button.el-button--primary.is-disabled::before, .el-button.el-button--primary:disabled::before {
  opacity: 0.3;
}
.el-button.el-button--default, .el-button.el-button:not(.el-button--primary):not(.el-button--success):not(.el-button--warning):not(.el-button--danger) {
  border-color: var(--border-default);
  color: var(--text-secondary);
}
.el-button.el-button--default:hover, .el-button.el-button:not(.el-button--primary):not(.el-button--success):not(.el-button--warning):not(.el-button--danger):hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background-color: var(--brand-primary-softer);
  transform: translateY(-1px);
}
.el-button.el-button--default:active, .el-button.el-button:not(.el-button--primary):not(.el-button--success):not(.el-button--warning):not(.el-button--danger):active {
  transform: translateY(0) scale(0.98);
}
.el-button.el-button--danger:hover {
  box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.2);
  transform: translateY(-1px);
}
.el-button.el-button--danger:active {
  transform: translateY(0) scale(0.98);
}
.el-button.is-link:hover, .el-button.el-button--text:hover {
  transform: none;
}
.el-button.is-link:active, .el-button.el-button--text:active {
  transform: scale(0.98);
}
.el-button.is-disabled:hover, .el-button.is-loading:hover {
  transform: none;
}

.el-card {
  border-radius: var(--radius-lg);
  border-color: var(--border-default);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.el-card.is-hover-shadow:hover, .el-card.is-always-shadow {
  box-shadow: var(--shadow-md);
}

.el-input__wrapper,
.el-textarea__inner {
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.el-input__wrapper:hover,
.el-textarea__inner:hover {
  border-color: var(--gray-300);
}

.el-input__wrapper.is-focus,
.el-textarea__inner:focus {
  border-color: var(--brand-primary) !important;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.1) !important;
}

.el-table {
  --el-table-border-color: var(--border-subtle);
  --el-table-header-bg-color: var(--surface-sunken);
  --el-table-header-text-color: var(--text-tertiary);
  --el-table-row-hover-bg-color: var(--surface-hover);
  --el-table-tr-bg-color: var(--surface-raised);
  --el-table-bg-color: var(--surface-raised);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.el-table th.el-table__cell {
  font-weight: var(--font-medium);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
}
.el-table tbody tr:hover > td.el-table__cell {
  background-color: var(--surface-hover) !important;
}

.el-menu {
  border-right: none;
}

.el-tag {
  font-weight: var(--font-medium);
  border-radius: var(--radius-sm);
}
.el-tag.el-tag--success {
  background-color: var(--success-soft);
  color: var(--success);
  border-color: transparent;
}
.el-tag.el-tag--warning {
  background-color: var(--warning-soft);
  color: var(--warning);
  border-color: transparent;
}
.el-tag.el-tag--danger {
  background-color: var(--danger-soft);
  color: var(--danger);
  border-color: transparent;
}
.el-tag.el-tag--info {
  background-color: var(--info-soft);
  color: var(--info);
  border-color: transparent;
}

.el-dialog {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.el-dialog__header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: var(--space-4);
}

.el-dialog__footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-4);
}

.el-pagination {
  --el-pagination-button-color: var(--text-secondary);
  --el-pagination-hover-color: var(--brand-primary);
}
.el-pagination .btn-prev,
.el-pagination .btn-next,
.el-pagination .el-pager li {
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.el-pagination .btn-prev:hover,
.el-pagination .btn-next:hover,
.el-pagination .el-pager li:hover {
  background-color: var(--brand-primary-softer);
}
.el-pagination .el-pager li.is-active {
  background-color: var(--brand-primary);
  color: var(--text-on-brand);
}

.page-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  animation: fade-in-up var(--transition-slow) ease-out;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.skeleton-shimmer {
  background: linear-gradient(90deg, var(--surface-sunken) 25%, var(--surface-hover) 50%, var(--surface-sunken) 75%);
  background-size: 200% 100%;
  animation: shimmer 2s ease-in-out infinite;
}

.text-gradient-brand {
  background: var(--gradient-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.bg-gradient-brand {
  background: var(--gradient-brand);
}

.bg-gradient-brand-soft {
  background: var(--gradient-brand-soft);
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--brand-primary-hover);
}

pre,
code,
kbd,
samp {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

pre {
  background: var(--gray-900);
  color: var(--gray-100);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  overflow-x: auto;
  line-height: var(--leading-relaxed);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* P2-8 修复：全局 focus-visible 兜底，覆盖所有自定义可交互元素 */
:where(button, a, [role=button], input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--brand-primary, #7c3aed);
  outline-offset: 2px;
  border-radius: var(--radius-sm, 4px);
}

.feedback-error-notice {
  width: 230px !important;
  padding: 8px 12px !important;
}
.feedback-error-notice .el-notification__title {
  font-size: 13px;
  line-height: 1.4;
  margin: 0 !important;
}
.feedback-error-notice .el-notification__content {
  margin: 2px 0 0 !important;
}
.feedback-error-notice .el-notification__icon {
  font-size: 16px !important;
}
/**
 * YmTV AI（ymtv.token6688.com）登录页 1:1 复刻样式层
 *
 * 硬约束：
 *  1. 完全脱离现有设计体系 —— 只允许 --ymtv-* 变量，禁止引用 --brand-* / --text-* / --surface-* / --radius-*
 *  2. 所有规则挂在 .ymtv-auth 下，不污染全局；element-overrides.scss 一行不改
 *
 * 数值来源：对标站真实 CSS（见 .trae/documents/ymtv-auth-replica.md）
 */
/* ==========================================================================
   1. 设计 Token
   ========================================================================== */
/* token 同时挂在 .ymtv-cascade 上：瀑布流根节点不再借用 .ymtv-auth 类（那会让宿主页
   的 scoped `.ymtv-auth{position:fixed;inset:0;z-index:60}` 顺着 scope id 命中它，
   把作品墙撑成整个视口、盖住右侧表单），因此必须自带一份同值 token。 */
.ymtv-auth,
.ymtv-cascade {
  color-scheme: dark;
  /* ★ rem 是相对根元素（html）计算的，主站 html font-size = 14px 无法被本作用域覆盖，
     因此本文件一律使用 px 绝对值（对标站 16px 基准：30rem → 480px）。
     改数值时请勿写回 rem，否则在线上会被 14px 基准缩小 12.5%。 */
  font-size: 16px;
  /* 背景阶梯 */
  --ymtv-void: #000;
  --ymtv-abyss: #020202;
  --ymtv-base: #070707;
  --ymtv-raised: #141414;
  --ymtv-elevated: #222;
  --ymtv-overlay: #303030;
  /* 文本 */
  --ymtv-fg: #fff;
  --ymtv-fg-2: rgb(255 255 255 / 0.92);
  --ymtv-muted: rgb(255 255 255 / 0.81);
  --ymtv-dim: rgb(255 255 255 / 0.6);
  --ymtv-faint: rgb(255 255 255 / 0.45);
  /* 描边 / 表面 */
  --ymtv-line: rgb(255 255 255 / 0.12);
  --ymtv-line-strong: rgb(255 255 255 / 0.24);
  --ymtv-surface: rgb(255 255 255 / 0.06);
  --ymtv-surface-2: rgb(255 255 255 / 0.09);
  --ymtv-surface-3: rgb(255 255 255 / 0.12);
  /* 主色 */
  --ymtv-primary: #7c3aed;
  --ymtv-primary-light: #b69bff;
  --ymtv-primary-soft: rgb(124 58 237 / 0.12);
  --ymtv-primary-line: rgb(124 58 237 / 0.4);
  /* Orbit hero 专用 */
  --ymtv-hero-ice: #b9f0ec;
  --ymtv-hero-white: #f4fcff;
  --ymtv-hero-silver: #c4d6eb;
  --ymtv-headline-highlight: linear-gradient(
    115deg,
    var(--ymtv-hero-white) 12%,
    var(--ymtv-hero-ice) 46%,
    var(--ymtv-hero-white) 64%,
    var(--ymtv-hero-silver) 90%
  );
  --ymtv-headline-glow: 0 0 24px rgb(120 200 220 / 0.18);
  /* Orbit 语义别名 */
  --ymtv-orbit-ink: rgb(255 255 255 / 0.94);
  --ymtv-orbit-muted: rgb(255 255 255 / 0.62);
  --ymtv-orbit-line: rgb(255 255 255 / 0.16);
  --ymtv-orbit-surface: rgb(255 255 255 / 0.06);
  --ymtv-orbit-highlight: var(--ymtv-hero-ice);
  --ymtv-orbit-entry-border: rgb(185 240 236 / 0.38);
  --ymtv-orbit-entry-surface: rgb(185 240 236 / 0.1);
  --ymtv-orbit-entry-hover: rgb(185 240 236 / 0.18);
  --ymtv-orbit-globe-cool: rgb(150 226 255 / 0.6);
  /* 尺寸 */
  --ymtv-card-width: 480px;
  --ymtv-radius-sm: 8px;
  --ymtv-radius-md: 14px;
  --ymtv-radius-lg: 16px;
  --ymtv-radius-xl: 20px;
  --ymtv-radius-2xl: 24px;
  --ymtv-radius-card: 28px;
  --ymtv-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* 字体（不外链 CDN，系统可得字体降级） */
  --ymtv-font-display: "Lexend", "Poppins", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --ymtv-font-serif: "Playfair Display", "Songti SC", "Noto Serif SC", Georgia, serif;
  --ymtv-font-body: "Lexend", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --ymtv-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  /* 响应式尺寸变量（由 media query 覆盖） */
  --ymtv-orbit-safe-x: 40px;
  --ymtv-headline-fit: 1;
  --ymtv-orbit-prefix-size: 48px;
  --ymtv-orbit-verb-size: 66px;
  --ymtv-head-row: 56px 76px;
  --ymtv-prefix-row: 56px;
  --ymtv-verb-row: 76px;
  --ymtv-verb-line-font: 400 13px/21px var(--ymtv-font-body);
  --ymtv-verb-line-margin: 14px auto 0;
  --ymtv-verb-line-min-h: 42px;
  --ymtv-cta-min-w: 132px;
  --ymtv-cta-pad: 10px 17px;
  color: var(--ymtv-fg);
  font-family: var(--ymtv-font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ymtv-auth *,
.ymtv-auth *::before,
.ymtv-auth *::after,
.ymtv-cascade *,
.ymtv-cascade *::before,
.ymtv-cascade *::after {
  box-sizing: border-box;
}

.ymtv-auth button,
.ymtv-cascade button {
  font-family: inherit;
  margin: 0;
}

.ymtv-auth a,
.ymtv-cascade a {
  color: inherit;
}

/* ==========================================================================
   2. Hero 外壳
   ========================================================================== */
.ymtv-stage {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ymtv-void);
  color: #fff;
}

.ymtv-stage__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ymtv-stage__backdrop canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.ymtv-stage__body {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ==========================================================================
   3. 顶部导航
   ========================================================================== */
.ymtv-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  width: auto;
  padding: 26px var(--ymtv-orbit-safe-x);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.ymtv-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  justify-self: start;
}

/* 商标 SVG 自带圆角描边外框，容器只给尺寸，不要再叠加实心底/光晕（否则出现双层框） */
.ymtv-brand__logo {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
}

.ymtv-brand__word {
  font-family: var(--ymtv-font-serif);
  letter-spacing: -0.015em;
  font-size: clamp(19.2px, 16px + 0.7vw, 24.8px);
  font-weight: 400;
  line-height: 1;
  background: linear-gradient(#fff, rgba(255, 255, 255, 0.96) 46%, rgba(255, 255, 255, 0.66));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 24px rgba(124, 58, 237, 0.32);
  max-width: 224px;
  white-space: nowrap;
  /* 行高 1 时行盒高度恰等于 1em，overflow:hidden（省略号所需）会把 g/p/y 的下伸部裁掉。
     用内边距把行盒撑开、再用等量负外边距抵消布局高度，文字既不被裁也不改变版式。
     下部留 0.42em：字体降部实测约 0.28em，换机器换衬线字体也不会再裁到 g。 */
  padding: 0.12em 0 0.42em;
  margin: -0.12em 0 -0.42em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ymtv-nav__center {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 18px;
}

.ymtv-nav__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ymtv-ghost-btn,
.ymtv-nav__link {
  min-height: 44px;
  padding: 11px 24px;
  font-size: 14px;
  line-height: 1;
  border-radius: var(--ymtv-radius-sm);
  border: 1px solid var(--ymtv-orbit-line);
  background: none;
  color: var(--ymtv-orbit-ink);
  cursor: pointer;
  transition: background 0.2s var(--ymtv-ease), border-color 0.2s var(--ymtv-ease);
}

.ymtv-ghost-btn:hover,
.ymtv-nav__link:hover {
  background: var(--ymtv-orbit-surface);
}

.ymtv-ghost-btn--primary {
  border-color: rgba(124, 58, 237, 0.5);
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: #fff;
}

.ymtv-ghost-btn--primary:hover {
  border-color: rgba(182, 155, 255, 0.7);
  background: linear-gradient(135deg, #6d28d9 0%, #4f46e5 100%);
}

.ymtv-nav__link {
  min-height: 0;
  padding: 6px 2px;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  color: var(--ymtv-orbit-muted);
}

.ymtv-nav__link:hover {
  color: var(--ymtv-orbit-ink);
  background: none;
  text-decoration: underline;
}

.ymtv-icon-btn {
  width: 44px;
  min-height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: var(--ymtv-radius-sm);
  border: 1px solid var(--ymtv-orbit-line);
  background: none;
  color: var(--ymtv-orbit-ink);
  cursor: pointer;
  transition: background 0.2s var(--ymtv-ease);
}

.ymtv-icon-btn:hover {
  background: var(--ymtv-orbit-surface);
}

.ymtv-icon-btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   4. 主视觉（轮播 headline）
   ========================================================================== */
.ymtv-verbwrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 100%);
  max-width: calc(100% - 40px);
  text-align: center;
  contain: layout;
}

.ymtv-headline {
  display: grid;
  grid-template-rows: var(--ymtv-head-row);
  gap: 6px;
  margin: 0;
  text-wrap: nowrap;
  font-family: var(--ymtv-font-display);
}

.ymtv-headline__prefix {
  display: block;
  margin: 0;
  font-size: calc(var(--ymtv-orbit-prefix-size) * var(--ymtv-headline-fit));
  color: var(--ymtv-orbit-ink);
  font-weight: 600;
  line-height: var(--ymtv-prefix-row);
  height: var(--ymtv-prefix-row);
}

.ymtv-headline__verb {
  display: block;
  margin: 0;
  min-height: var(--ymtv-verb-row);
  height: var(--ymtv-verb-row);
  font-size: calc(var(--ymtv-orbit-verb-size) * var(--ymtv-headline-fit));
  font-weight: 700;
  line-height: var(--ymtv-verb-row);
  white-space: nowrap;
  background: var(--ymtv-headline-highlight);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: var(--ymtv-headline-glow);
  font-synthesis: none;
  overflow: hidden;
}

.ymtv-headline__verb.is-entering {
  animation: ymtv-verb-in 0.62s var(--ymtv-ease) both;
}

@keyframes ymtv-verb-in {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
.ymtv-verb-line {
  margin: var(--ymtv-verb-line-margin);
  max-width: 100%;
  min-height: var(--ymtv-verb-line-min-h);
  font: var(--ymtv-verb-line-font);
  color: var(--ymtv-orbit-muted);
}

.ymtv-verb-line > span {
  display: block;
  text-wrap: balance;
}

.ymtv-verb-line > span:first-child {
  color: var(--ymtv-orbit-ink);
  font-weight: 500;
}

.ymtv-center-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.ymtv-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: var(--ymtv-cta-min-w);
  min-height: 44px;
  margin: 0;
  padding: var(--ymtv-cta-pad);
  border-radius: var(--ymtv-radius-sm);
  border: 1px solid var(--ymtv-orbit-line);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  color: var(--ymtv-orbit-muted);
  background: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.16s, border-color 0.16s;
}

.ymtv-cta--primary {
  border-color: rgba(124, 58, 237, 0.5);
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.ymtv-cta--primary:hover {
  border-color: rgba(182, 155, 255, 0.7);
  background: linear-gradient(135deg, #6d28d9 0%, #4f46e5 100%);
}

.ymtv-cta--ghost:hover {
  border-color: var(--ymtv-orbit-globe-cool);
  background: var(--ymtv-orbit-surface);
}

.ymtv-secondary {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.ymtv-link-btn {
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  color: var(--ymtv-orbit-muted);
  cursor: pointer;
  transition: color 0.16s;
}

.ymtv-link-btn:hover {
  color: var(--ymtv-orbit-ink);
  text-decoration: underline;
}

/* ==========================================================================
   5. 两侧 focus 卡 / 作品信息 / counter / transport / filing
   ========================================================================== */
.ymtv-focus {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(120px, 13vw, 186px);
  z-index: 2;
  pointer-events: none;
}

.ymtv-focus--left {
  left: clamp(16px, 5vw, 120px);
}

.ymtv-focus--right {
  right: clamp(16px, 5vw, 120px);
}

.ymtv-focus__img {
  position: relative;
  aspect-ratio: 3/4;
  width: 100%;
  border-radius: var(--ymtv-radius-xl);
  border: 1px solid var(--ymtv-orbit-line);
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, rgba(124, 58, 237, 0.34), transparent 62%), linear-gradient(160deg, #17112b, #07060f 70%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.ymtv-focus__img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}

.ymtv-focus__eb {
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ymtv-orbit-muted);
}

.ymtv-focus__name {
  margin-top: 4px;
  font-family: var(--ymtv-font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ymtv-orbit-ink);
}

.ymtv-focus__line {
  margin-top: 2px;
  font-size: 11px;
  color: var(--ymtv-orbit-muted);
}

.ymtv-counter {
  position: absolute;
  left: var(--ymtv-orbit-safe-x);
  bottom: 34px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ymtv-font-display);
  color: var(--ymtv-orbit-muted);
  font-size: 12px;
}

.ymtv-counter b {
  color: var(--ymtv-orbit-ink);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ymtv-rail {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ymtv-rail i {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.3s var(--ymtv-ease), width 0.3s var(--ymtv-ease);
}

.ymtv-rail i.is-on {
  width: 30px;
  background: var(--ymtv-hero-ice);
}

.ymtv-transport {
  position: absolute;
  right: var(--ymtv-orbit-safe-x);
  bottom: 30px;
  z-index: 2;
}

.ymtv-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--ymtv-orbit-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ymtv-orbit-ink);
  font-size: 12px;
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background 0.18s, border-color 0.18s;
}

.ymtv-view-toggle:hover {
  border-color: var(--ymtv-orbit-globe-cool);
  background: var(--ymtv-orbit-surface);
}

.ymtv-view-toggle svg {
  width: 15px;
  height: 15px;
}

.ymtv-filing {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 14px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.34);
  white-space: nowrap;
}

.ymtv-filing a {
  text-decoration: none;
}

.ymtv-filing a:hover {
  color: var(--ymtv-orbit-muted);
}

/* ==========================================================================
   6. 作品展映（Cascade 斜向瀑布流）
   ========================================================================== */
.ymtv-cascade {
  --ymtv-cascade-bg: #08040f;
  --ymtv-cascade-glass: rgb(255 255 255 / 0.09);
  --ymtv-cascade-glass-line: rgb(255 255 255 / 0.24);
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ymtv-cascade-bg);
  isolation: isolate;
  animation: ymtv-mask-in 0.4s var(--ymtv-ease) both;
}

.ymtv-cascade[data-dialog=open] .ymtv-cascade__hero,
.ymtv-cascade[data-dialog=open] .ymtv-filing {
  opacity: 0;
  pointer-events: none;
}

.ymtv-cascade[data-dialog=open] .ymtv-cascade__wall {
  opacity: 0.08;
}

.ymtv-cascade__wall {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  /* 墙面本身不提示可拖：只有中心列可交互（见 .is-center） */
  cursor: default;
  transition: opacity 0.4s var(--ymtv-ease);
}

.ymtv-cascade__tilt {
  position: absolute;
  left: 50%;
  top: -40px;
  display: flex;
  width: 110vw;
  gap: 10px;
  margin-left: -55vw;
  transform-origin: 50% 30%;
  transform: perspective(900px) rotateX(16deg) rotate(-9deg) scale(1.22);
}

.ymtv-cascade__column {
  flex: 1 1 0;
  min-width: 0;
  height: 108dvh;
  overflow: hidden;
}

/* 仅中心列可拖：非中心列连光标都不提示可交互 */
.ymtv-cascade__column.is-center {
  cursor: grab;
}

.ymtv-cascade__wall.is-dragging .ymtv-cascade__column.is-center {
  cursor: grabbing;
}

/* 嵌入态（登录页左栏）：整墙宽度按容器百分比铺开。
   原先 110vw 绑的是视口宽，而左栏只有约 566px → 5 列被裁到只剩约 1.8 列；
   这里收窄到 118% 容器宽，卡片更小、可见列数更多。 */
.ymtv-cascade.is-embedded .ymtv-cascade__tilt {
  top: -32px;
  width: 118%;
  margin-left: -59%;
  gap: 8px;
  transform: perspective(900px) rotateX(12deg) rotate(-7deg) scale(1.12);
}

/* 滚动改由 rAF 驱动（YmtvCascadeWall.vue），这里只留排版；
   若保留 CSS animation 会覆盖 inline transform，导致抓拽失效。 */
.ymtv-cascade__track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.ymtv-cascade__card {
  position: relative;
  flex: none;
  width: 100%;
  overflow: hidden;
  cursor: default;
  border-radius: var(--ymtv-radius-2xl);
  background-color: var(--ymtv-raised);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.ymtv-cascade__art {
  position: absolute;
  inset: 0;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 无封面时的占位渐变（--art-hue 由组件按卡片序号注入，禁止外链图片） */
.ymtv-cascade__card.is-placeholder .ymtv-cascade__art {
  background-image: radial-gradient(120% 90% at 22% 12%, hsl(var(--art-hue), 62%, 30%, 0.95), transparent 62%), radial-gradient(100% 80% at 82% 86%, hsl(calc(var(--art-hue) + 48), 58%, 24%, 0.9), transparent 66%), linear-gradient(150deg, hsl(var(--art-hue), 38%, 13%), hsl(calc(var(--art-hue) + 32), 44%, 6%));
}

.ymtv-cascade__chip {
  position: absolute;
  left: 7px;
  bottom: 7px;
  z-index: 2;
  display: flex;
  max-width: calc(100% - 14px);
  align-items: center;
  gap: 5px;
  padding: 4px 8px 4px 6px;
  border-radius: 999px;
  background: rgba(8, 6, 20, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--ymtv-font-display);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.ymtv-cascade__chip > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.ymtv-cascade__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, var(--ymtv-cascade-bg) 0, transparent 19%, transparent 36%, var(--ymtv-cascade-bg) 66%);
  opacity: 0.94;
}

/* 卡片内的标题/说明（与页面级 __head 区分，避免继承 104px 上内边距） */
.ymtv-cascade__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 36px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  pointer-events: none;
}

.ymtv-cascade__caption strong {
  font-family: var(--ymtv-font-display);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ymtv-cascade__caption small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.62);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ymtv-cascade__head {
  position: relative;
  z-index: 2;
  padding: 104px var(--ymtv-orbit-safe-x) 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}

.ymtv-cascade__head h2 {
  margin: 0;
  font-family: var(--ymtv-font-serif);
  font-size: clamp(25.6px, 17.6px + 1.6vw, 38.4px);
  font-weight: 400;
  letter-spacing: -0.015em;
  background: linear-gradient(#fff, rgba(255, 255, 255, 0.96) 46%, rgba(255, 255, 255, 0.66));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ymtv-cascade__head p {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--ymtv-orbit-muted);
}

/* 嵌入登录页右侧 div 时头部收紧，不再为全屏浮层的导航预留高度 */
.ymtv-cascade.is-embedded .ymtv-cascade__head {
  padding: 22px 22px 0;
}

.ymtv-cascade.is-embedded .ymtv-cascade__head h2 {
  font-size: 22px;
}

.ymtv-cascade__close {
  pointer-events: auto;
  min-height: 40px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--ymtv-orbit-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ymtv-orbit-ink);
  font-size: 12px;
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.ymtv-cascade__close:hover {
  border-color: var(--ymtv-orbit-globe-cool);
  background: var(--ymtv-orbit-surface);
}

.ymtv-cascade__empty {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--ymtv-faint);
}

/* ==========================================================================
   7. 登录弹窗
   ========================================================================== */
.ymtv-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
  background: rgba(0, 0, 0, 0.66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: ymtv-mask-in 0.24s var(--ymtv-ease) both;
}

@keyframes ymtv-mask-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* 整页内嵌模式：同一张卡片，不画遮罩、不居中浮动（登录页左右分栏用） */
.ymtv-modal-mask.is-inline {
  position: static;
  inset: auto;
  z-index: auto;
  display: block;
  padding: 0;
  overflow: visible;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: none;
}

.ymtv-modal-mask.is-inline .ymtv-modal {
  width: 100%;
  max-height: none;
  overflow: visible;
}

.ymtv-modal {
  width: var(--ymtv-card-width);
  max-width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  position: relative;
  margin: auto;
  /* 右侧滚动条收窄到 4px 细线（仅用 webkit 伪元素：Chromium 下 scrollbar-width:thin 会覆盖它，落到 ~10px） */
}

.ymtv-modal::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.ymtv-modal::-webkit-scrollbar-track {
  background: transparent;
}

.ymtv-modal::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
}

.ymtv-modal::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.ymtv-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 32px 32px 28px;
  border-radius: var(--ymtv-radius-card);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(36px) saturate(170%);
  backdrop-filter: blur(36px) saturate(170%);
  background: radial-gradient(120% 62% at 50% 0, rgba(255, 255, 255, 0.14) 0, transparent 58%), radial-gradient(120% 55% at 50% 100%, rgba(255, 255, 255, 0.07) 0, transparent 55%), rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24), 0 18px 46px -26px rgba(0, 0, 0, 0.6), inset 0 1px rgba(255, 255, 255, 0.26), inset 0 -1px rgba(255, 255, 255, 0.06);
  animation: ymtv-card-in 0.42s var(--ymtv-ease) both;
}

@keyframes ymtv-card-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.965);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
.ymtv-card__topline {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.ymtv-card__glow {
  position: absolute;
  top: -96px;
  right: -96px;
  width: 208px;
  height: 208px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  filter: blur(80px);
  pointer-events: none;
}

.ymtv-card__head {
  padding-right: 24px;
}

.ymtv-eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9.92px;
  border-radius: 999px;
  border: 1px solid rgba(182, 155, 255, 0.32);
  background: rgba(182, 155, 255, 0.1);
  font-size: 10.88px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #c9b4ff;
}

.ymtv-card__title {
  margin: 10px 0 0;
  font-family: var(--ymtv-font-serif);
  letter-spacing: -0.015em;
  font-size: clamp(34.4px, 25.6px + 1.7vw, 44px);
  font-weight: 400;
  line-height: 1.08;
  background: linear-gradient(#fff, rgba(255, 255, 255, 0.96) 40%, rgba(255, 255, 255, 0.66));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ymtv-card__partner {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ymtv-card__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

/* 登录方式二选一：容器收到内容宽度并居中，不再占满整行留出 1/3 空位 */
.ymtv-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 4px;
  border-radius: var(--ymtv-radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ymtv-tabs [role=tab] {
  min-width: 108px;
  height: 36px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: none;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}

.ymtv-tabs [role=tab]:hover {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
}

.ymtv-tabs [role=tab][data-state=active] {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.ymtv-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ymtv-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ymtv-field > label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.ymtv-input-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.ymtv-auth input:not([type=checkbox]):not([type=radio]) {
  height: 48px;
  width: 100%;
  padding: 0 16px;
  border-radius: var(--ymtv-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.19);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: var(--ymtv-font-body);
  font-size: 14px;
  outline: none;
  box-shadow: none;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.22s var(--ymtv-ease);
}

.ymtv-auth input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.ymtv-auth input:focus {
  border-color: rgba(124, 58, 237, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.ymtv-auth input:focus-visible {
  outline: none;
}

.ymtv-segment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  flex: none;
  border-radius: var(--ymtv-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.19);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

button.ymtv-segment {
  cursor: pointer;
  min-width: 120px;
  max-width: 46%;
  color: var(--ymtv-primary-light);
  transition: border-color 0.18s, background 0.18s;
}

button.ymtv-segment:hover:not(:disabled) {
  border-color: rgba(182, 155, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

button.ymtv-segment:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ymtv-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  border-radius: var(--ymtv-radius-lg);
}

.ymtv-input-wrap > svg {
  position: absolute;
  left: 16.8px;
  width: 14.72px;
  height: 14.72px;
  z-index: 1;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.5);
}

/* 左侧留出图标位：必须压过 .ymtv-auth input{...padding:0 16px} 的特异性，
   否则图标会压在文字上（登录弹窗与整页登录共用这一处） */
.ymtv-auth .ymtv-input-wrap input:not([type=checkbox]):not([type=radio]) {
  padding-left: 42.4px;
}

/* 手机号 +86 前缀（弹窗版）：先让开左侧 16.8px 图标位，再画分隔线 */
.ymtv-input-prefix {
  flex: none;
  margin-left: 38px;
  padding-right: 9px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1;
}

.ymtv-auth .ymtv-input-wrap.is-prefixed input:not([type=checkbox]):not([type=radio]) {
  padding-left: 9px;
}

/* 密码框「小眼睛」：绝对定位在容器右侧，整页 __field 与弹窗 input-wrap 共用。
   整页 __field 内还有一层 input 盒子（右边线距 __field 右边 15px），right 取 16px
   让 30px 按钮整体落在输入框里面，不与输入框右边缘/背景重叠。 */
.ymtv-eye {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: color 0.18s var(--ymtv-ease), background 0.18s var(--ymtv-ease);
}

.ymtv-eye:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
}

.ymtv-eye.is-on {
  color: var(--ymtv-primary-light);
}

.ymtv-eye svg {
  width: 18px;
  height: 18px;
}

.ymtv-auth .ymtv-input-wrap.has-eye input:not([type=checkbox]):not([type=radio]) {
  padding-right: 50px;
}

.ymtv-input-wrap:focus-within {
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18), 0 8px 24px rgba(124, 58, 237, 0.14);
}

input.ymtv-code-input {
  font-family: var(--ymtv-font-mono);
  letter-spacing: 0.42em;
  font-size: 16px;
  text-indent: 0.42em;
}

.ymtv-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
  cursor: pointer;
}

.ymtv-check input[type=checkbox] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex: none;
  accent-color: var(--ymtv-primary);
  cursor: pointer;
}

.ymtv-check a {
  color: var(--ymtv-primary-light);
  text-decoration: none;
}

.ymtv-check a:hover {
  text-decoration: underline;
}

.ymtv-submit {
  height: 48px;
  width: 100%;
  border-radius: var(--ymtv-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.11));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.4), inset 0 1px rgba(255, 255, 255, 0.3);
  transition: background 0.18s, border-color 0.18s;
}

.ymtv-submit:hover:not(:disabled) {
  background: linear-gradient(rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.15));
  border-color: rgba(255, 255, 255, 0.4);
}

.ymtv-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ymtv-foot-note {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.ymtv-err {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.32);
  background: rgba(248, 113, 113, 0.1);
  font-size: 12px;
  line-height: 1.5;
  color: #fecaca;
}

.ymtv-ok {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.1);
  font-size: 12px;
  line-height: 1.5;
  color: #a7f3d0;
}

/* 注册未点亮原因提示：不使用报错色，避免用户误以为提交失败 */
.ymtv-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.ymtv-divider-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.ymtv-divider-or::before,
.ymtv-divider-or::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.ymtv-signup {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
}

.ymtv-signup button {
  background: none;
  border: 0;
  color: var(--ymtv-primary-light);
  font-weight: 600;
  cursor: pointer;
}

.ymtv-signup button:hover {
  text-decoration: underline;
}

.ymtv-card__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--ymtv-line);
  background: var(--ymtv-base);
  color: #fff;
  cursor: pointer;
  transition: background 0.18s;
}

.ymtv-card__close:hover {
  background: var(--ymtv-raised);
}

.ymtv-card__close svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   8. 个人信息胶囊
   ========================================================================== */
.ymtv-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--ymtv-line-strong);
  background: var(--ymtv-surface);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ymtv-fg);
  font-family: var(--ymtv-font-body);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}

.ymtv-chip:hover {
  background: var(--ymtv-surface-2);
  border-color: rgba(255, 255, 255, 0.34);
}

.ymtv-chip__avatar {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #a78bfa, #5b21b6 72%);
  overflow: hidden;
}

.ymtv-chip__avatar > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ymtv-chip__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
  line-height: 1.15;
}

.ymtv-chip__name {
  max-width: 144px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: var(--ymtv-fg);
}

.ymtv-chip__credits {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--ymtv-primary-light);
}

.ymtv-chip--compact {
  padding: 4px 8px 4px 4px;
  gap: 6px;
}

.ymtv-chip--compact .ymtv-chip__avatar {
  width: 26px;
  height: 26px;
  font-size: 11px;
}

.ymtv-chip--compact .ymtv-chip__meta {
  display: none;
}

/* 胶囊内部的点击区（视觉仍由 .ymtv-chip 承担） */
.ymtv-chip__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.ymtv-chip--compact .ymtv-chip__btn {
  gap: 4px;
}

.ymtv-chip__caret {
  width: 13px;
  height: 13px;
  flex: none;
  opacity: 0.55;
  transition: transform 0.18s var(--ymtv-ease);
}

.ymtv-chip__btn[aria-expanded=true] .ymtv-chip__caret {
  transform: rotate(180deg);
}

.ymtv-chip__sep {
  display: block;
  height: 1px;
  margin: 4px 6px;
  background: var(--ymtv-line);
}

.ymtv-chip__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  min-width: 168px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--ymtv-line-strong);
  background: rgba(12, 10, 20, 0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: ymtv-menu-in 0.18s var(--ymtv-ease) both;
}

@keyframes ymtv-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.ymtv-chip__menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--ymtv-fg-2);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.ymtv-chip__menu button:hover {
  background: var(--ymtv-surface-2);
  color: #fff;
}

.ymtv-chip__menu button.is-danger {
  color: #fca5a5;
}

/* 浅色变体：用于主站子页面的浅色顶栏（深色玻璃在其上几乎不可见） */
.ymtv-chip--light {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.86);
  color: #0f172a;
}

.ymtv-chip--light:hover {
  background: #fff;
  border-color: rgba(109, 40, 217, 0.34);
}

.ymtv-chip--light .ymtv-chip__name {
  color: #0f172a;
}

.ymtv-chip--light .ymtv-chip__credits {
  color: #6d28d9;
}

.ymtv-chip--light .ymtv-chip__menu {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}

.ymtv-chip--light .ymtv-chip__menu button {
  color: #334155;
}

.ymtv-chip--light .ymtv-chip__menu button:hover {
  background: rgba(109, 40, 217, 0.08);
  color: #4c1d95;
}

.ymtv-chip--light .ymtv-chip__menu button.is-danger {
  color: #dc2626;
}

.ymtv-chip--light .ymtv-chip__sep {
  background: rgba(15, 23, 42, 0.08);
}

/* 窄屏：子页面顶栏只留头像，避免挤压 */
@media (max-width: 760px) {
  .ymtv-chip--light {
    padding: 4px 8px 4px 4px;
    gap: 6px;
  }
  .ymtv-chip--light .ymtv-chip__meta {
    display: none;
  }
  .ymtv-chip--light .ymtv-chip__avatar {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }
}
/* ==========================================================================
   9. 响应式降档（对标站四档）
   ========================================================================== */
@media (max-width: 1440px) {
  .ymtv-auth {
    --ymtv-orbit-verb-size: 64px;
  }
}
@media (max-width: 1100px) {
  .ymtv-auth {
    --ymtv-head-row: 50px 68px;
    --ymtv-prefix-row: 50px;
    --ymtv-verb-row: 68px;
    --ymtv-orbit-prefix-size: 42px;
    --ymtv-orbit-verb-size: 52px;
  }
}
@media (max-width: 900px) {
  .ymtv-auth {
    --ymtv-head-row: 42px 54px;
    --ymtv-prefix-row: 42px;
    --ymtv-verb-row: 54px;
    --ymtv-orbit-prefix-size: 35px;
    --ymtv-orbit-verb-size: 46px;
    --ymtv-verb-line-font: 400 12px/20px var(--ymtv-font-body);
    --ymtv-cta-min-w: 124px;
    --ymtv-cta-pad: 9px 14px;
  }
  .ymtv-focus {
    display: none;
  }
}
@media (max-width: 760px) {
  .ymtv-auth {
    --ymtv-orbit-safe-x: 18px;
    --ymtv-head-row: 34px 48px;
    --ymtv-prefix-row: 34px;
    --ymtv-verb-row: 48px;
    --ymtv-orbit-prefix-size: 28px;
    --ymtv-orbit-verb-size: 40px;
    --ymtv-verb-line-font: 400 11px/17px var(--ymtv-font-body);
    --ymtv-verb-line-min-h: 36px;
    --ymtv-verb-line-margin: 10px auto 0;
  }
  .ymtv-nav {
    padding: 18px var(--ymtv-orbit-safe-x);
  }
  .ymtv-brand__logo {
    width: 24px;
    height: 24px;
  }
  .ymtv-brand__word {
    font-size: 19.04px;
  }
  .ymtv-nav__actions {
    gap: 6px;
  }
  .ymtv-ghost-btn,
  .ymtv-icon-btn {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 12px;
  }
  .ymtv-icon-btn {
    width: 38px;
  }
  .ymtv-nav__center {
    display: none;
  }
  .ymtv-filing {
    display: none;
  }
  .ymtv-counter {
    bottom: 24px;
  }
  .ymtv-transport {
    bottom: 20px;
  }
  .ymtv-cascade__head {
    padding-top: 84px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 370px) {
  .ymtv-auth {
    --ymtv-head-row: 32px 44px;
    --ymtv-prefix-row: 32px;
    --ymtv-verb-row: 44px;
    --ymtv-orbit-prefix-size: 27px;
    --ymtv-orbit-verb-size: 36px;
    --ymtv-headline-fit: 1;
  }
}
/* 低高度视野：压 headline，避免 CTA 被挤出 */
@media (max-height: 620px) and (min-width: 761px) {
  .ymtv-auth {
    --ymtv-orbit-verb-size: 44px;
    --ymtv-verb-row: 54px;
    --ymtv-head-row: 42px 54px;
    --ymtv-prefix-row: 42px;
  }
}
@media (max-height: 500px) and (min-width: 761px) {
  .ymtv-auth {
    --ymtv-orbit-verb-size: 32px;
    --ymtv-verb-row: 40px;
    --ymtv-head-row: 32px 40px;
    --ymtv-prefix-row: 32px;
  }
}
/* 弹窗窄屏：卡片改满宽、减内边距 */
@media (max-width: 520px) {
  .ymtv-modal-mask {
    padding: 12px;
  }
  .ymtv-card {
    padding: 24px 18px 20px;
    border-radius: 22px;
  }
}
/* ==========================================================================
   10. 无障碍：减少动效
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .ymtv-headline__verb.is-entering,
  .ymtv-card,
  .ymtv-modal-mask,
  .ymtv-cascade__track,
  .ymtv-chip__menu {
    animation: none !important;
  }
  .ymtv-cascade__track {
    transform: none;
  }
}
/* ==========================================================================
   11. 滚动锁（弹窗打开时禁止背景滚动）
   ========================================================================== */
.ymtv-scroll-lock {
  overflow: hidden !important;
}
/**
 * YmTV（ymtv.tv）首页 1:1 复刻样式层
 *
 * 硬约束（与YmTV复刻同源）：
 *  1. 完全脱离现有设计体系 —— 只允许 --ymtv-* 变量，禁止引用 --brand-* / --text-* / --surface-* / --radius-*
 *  2. 所有规则挂在 .ymtv-site 下，不污染全局（注意：YimingHubLayout 自己用 .ymtv- 前缀，但作用域不同，且本文件全部规则都在 .ymtv-site 内）
 *  3. 一律 px 绝对值 —— 主站 html font-size = 14px，rem 会被缩小 12.5%
 *
 * 数值来源：对标站 https://ymtv.tv 真实 computed style（viewport 1026×614）
 *  侧栏 208px / 顶栏 64px / 内容列 771.2px / Hero 383px 高、radius 24 / Composer radius 15
 *  Hero 背景 radial-gradient(at 50% 0px, rgba(57,56,57,.396), transparent 63%) + linear-gradient(110deg,#252527,#1b1b1e 48%,#252527)
 *  Feature 卡 radius 18、bg rgb(37,35,40)
 *  作品网格（#projects 实测）：repeat(auto-fill, minmax(235px, 1fr)) + gap 13px
 *   卡片 radius 13 / bg #222126 / 描边 0.8px rgb(255 255 255/.043) / 封面 aspect-ratio 1.35:1
 *   标题 14px 500 lh22 #efeff1（2 行截断）/ 作者 10px #c8c1ce / 元信息 11px #aca4b3 / 文本块内缩 17px
 *   筛选胶囊：高 36 / radius 10 / 14px 600 / 选中底 rgba(255,255,255,.08) / 行底 1px 分隔线
 */
.ymtv-site {
  color-scheme: dark;
  font-size: 16px;
  /* ── Token：背景阶梯 ───────────────────────────────── */
  --ymtv-void: #0b0b0c;
  --ymtv-base: #101012;
  --ymtv-side: #191919;
  --ymtv-topbar: #141416;
  --ymtv-raised: #202020;
  --ymtv-elev: #2a2a2a;
  --ymtv-card: #252328;
  --ymtv-composer-a: #323234;
  --ymtv-composer-b: #2a2a2d;
  /* ── Token：文本 ──────────────────────────────────── */
  --ymtv-fg: #f7f7f8;
  --ymtv-fg-2: #d8d8d8;
  --ymtv-fg-3: #aaa6ad;
  --ymtv-fg-4: #9a9a9a;
  --ymtv-fg-5: #79747e;
  --ymtv-gold: #d8c58f;
  --ymtv-gold-soft: #e3daca;
  /* ── Token：描边 / 反色 ───────────────────────────── */
  --ymtv-line: rgb(255 255 255 / 0.08);
  --ymtv-line-soft: rgb(255 255 255 / 0.024);
  --ymtv-line-hair: rgb(255 255 255 / 0.047);
  --ymtv-invert-bg: #eeeef0;
  --ymtv-invert-fg: #19191b;
  /* ── Token：圆角 / 尺寸 ───────────────────────────── */
  --ymtv-r-xl: 24px;
  --ymtv-r-lg: 18px;
  --ymtv-r-md: 11px;
  --ymtv-r-sm: 9px;
  --ymtv-side-w: 208px;
  --ymtv-top-h: 64px;
  position: relative;
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--ymtv-base);
  color: var(--ymtv-fg);
  font-family: "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

/* ==========================================================================
   1. 侧栏（208px）
   ========================================================================== */
.ymtv-side {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: var(--ymtv-side-w);
  padding: 0 12px 14px;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--ymtv-side);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  transition: width 0.22s ease, padding 0.22s ease;
}

.ymtv-side::-webkit-scrollbar {
  width: 0;
}

.ymtv-brand {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 23px 6px 12px;
  color: var(--ymtv-fg-2);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
  text-decoration: none;
  white-space: nowrap;
}

.ymtv-brand__mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}

.ymtv-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 40px;
  margin: 0 0 20px;
  border: 0;
  border-radius: var(--ymtv-r-sm);
  background: var(--ymtv-invert-bg);
  color: var(--ymtv-invert-fg);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.16s ease, transform 0.16s ease;
}

.ymtv-new:hover {
  filter: brightness(0.94);
}

.ymtv-new:active {
  transform: scale(0.99);
}

.ymtv-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ymtv-nav__item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ymtv-fg-4);
  font-family: "PingFang SC", Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.ymtv-nav__item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ymtv-fg-2);
}

.ymtv-nav__item.is-active {
  background: var(--ymtv-elev);
  color: #fff;
}

.ymtv-nav__icon {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.9;
}

.ymtv-side__foot {
  margin-top: auto;
  padding-top: 18px;
}

.ymtv-inspire {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  padding: 14px 10px;
  border: 0.8px solid var(--ymtv-line);
  border-radius: var(--ymtv-r-md);
  background: var(--ymtv-raised);
  color: var(--ymtv-fg-3);
  font-family: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.ymtv-inspire:hover {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--ymtv-fg-2);
}

.ymtv-inspire strong {
  display: block;
  color: var(--ymtv-fg-2);
  font-size: 12px;
  font-weight: 600;
}

.ymtv-inspire span {
  display: block;
  font-size: 11px;
  line-height: 16px;
  color: var(--ymtv-fg-5);
}

.ymtv-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 42px;
  margin: 10px 0 0;
  padding: 10px 8px;
  border: 0.8px solid var(--ymtv-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.01);
  color: var(--ymtv-fg-4);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.ymtv-contact:hover {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--ymtv-fg-2);
}

.ymtv-collapse {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 13px 0 0;
  padding: 9px 14px;
  border: 0;
  background: transparent;
  color: var(--ymtv-fg-4);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}

.ymtv-collapse:hover {
  color: var(--ymtv-fg-2);
}

/* 收起态：只留图标 */
.ymtv-site.is-collapsed .ymtv-side {
  width: 72px;
  padding-inline: 12px;
}

.ymtv-site.is-collapsed .ymtv-brand span:not(.ymtv-brand__mark),
.ymtv-site.is-collapsed .ymtv-new span,
.ymtv-site.is-collapsed .ymtv-nav__label,
.ymtv-site.is-collapsed .ymtv-inspire,
.ymtv-site.is-collapsed .ymtv-contact span,
.ymtv-site.is-collapsed .ymtv-collapse span {
  display: none;
}

.ymtv-site.is-collapsed .ymtv-brand {
  justify-content: center;
}

.ymtv-site.is-collapsed .ymtv-new {
  margin-bottom: 12px;
}

.ymtv-site.is-collapsed .ymtv-nav__item {
  justify-content: center;
  padding: 0;
}

/* ==========================================================================
   2. 主区 + 顶栏（64px）
   ========================================================================== */
.ymtv-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.ymtv-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  height: var(--ymtv-top-h);
  padding: 0 24px;
  background: var(--ymtv-topbar);
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
}

.ymtv-top__banner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  overflow: hidden;
  border: 0.8px solid rgba(216, 197, 143, 0.05);
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(205, 185, 132, 0.035), rgba(255, 255, 255, 0.008));
  color: var(--ymtv-gold-soft);
  font-size: 14px;
  white-space: nowrap;
}

.ymtv-top__banner-tag {
  flex-shrink: 0;
  padding: 1px 7px;
  border-radius: 5px;
  background: rgba(216, 197, 143, 0.1);
  color: var(--ymtv-gold);
  font-size: 11px;
}

.ymtv-top__banner-sep {
  width: 1px;
  height: 14px;
  flex-shrink: 0;
  background: rgba(216, 197, 143, 0.16);
}

.ymtv-top__banner-dim {
  overflow: hidden;
  color: rgba(216, 197, 143, 0.6);
  text-overflow: ellipsis;
}

.ymtv-top__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ymtv-top__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ymtv-fg-3);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.ymtv-top__icon:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ymtv-fg);
}

.ymtv-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border: 0.8px solid var(--ymtv-line);
  border-radius: 9px;
  background: var(--ymtv-invert-bg);
  color: var(--ymtv-invert-fg);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.16s ease;
}

.ymtv-login:hover {
  filter: brightness(0.94);
}

/* ==========================================================================
   3. 内容滚动区
   ========================================================================== */
.ymtv-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ymtv-scroll::-webkit-scrollbar {
  width: 8px;
}

.ymtv-scroll::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  background-clip: content-box;
}

.ymtv-feed {
  width: 100%;
  max-width: 1390px;
  margin: 0 auto;
  padding: 24px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ==========================================================================
   4. Hero（383px / radius 24）
   ========================================================================== */
.ymtv-hero {
  position: relative;
  padding: 25px;
  overflow: hidden;
  border: 0.8px solid var(--ymtv-line-soft);
  border-radius: var(--ymtv-r-xl);
  background: radial-gradient(at 50% 0, rgba(57, 56, 57, 0.396), rgba(0, 0, 0, 0) 63%), linear-gradient(110deg, #252527, #1b1b1e 48%, #252527);
}

.ymtv-hero__glow {
  position: absolute;
  top: -140px;
  left: 50%;
  width: 620px;
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(216, 197, 143, 0.08), transparent 68%);
  pointer-events: none;
}

.ymtv-greeting {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.ymtv-greeting p {
  margin: 0;
  color: var(--ymtv-fg-3);
  font-size: 13px;
}

.ymtv-greeting h1 {
  margin: 6px 0 0;
  color: #efeff1;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.9px;
  line-height: 26.6px;
}

.ymtv-mascot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #f6eccd, #b98f3f 72%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  animation: ymtv-mascot-bounce 2.6s ease-in-out infinite;
}

.ymtv-mascot__face {
  display: flex;
  gap: 5px;
}

.ymtv-mascot__face i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2a2115;
}

@keyframes ymtv-mascot-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
/* ── Composer ─────────────────────────────────────── */
.ymtv-composer {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 6px;
  padding: 10px 13px 10px 19px;
  border: 0.8px solid var(--ymtv-line-hair);
  border-radius: 15px;
  background: linear-gradient(120deg, var(--ymtv-composer-a), var(--ymtv-composer-b));
  box-shadow: 0 9px 26px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.01);
}

.ymtv-composer textarea {
  flex: 1;
  height: 26px;
  max-height: 96px;
  padding: 2px 0;
  border: 0;
  outline: none;
  resize: none;
  background: transparent;
  color: #f4f4f5;
  font-family: inherit;
  font-size: 13px;
  line-height: 22px;
}

.ymtv-composer textarea::placeholder {
  color: var(--ymtv-fg-5);
}

.ymtv-composer__btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ymtv-fg-3);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.ymtv-composer__btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ymtv-fg);
}

.ymtv-composer__btn--send {
  background: var(--ymtv-invert-bg);
  color: var(--ymtv-invert-fg);
}

.ymtv-composer__btn--send:hover {
  background: #fff;
  color: var(--ymtv-invert-fg);
}

/* ── 快捷标签 ─────────────────────────────────────── */
.ymtv-shortcuts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.ymtv-shortcuts__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border: 0.8px solid rgba(255, 255, 255, 0.016);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
  color: #aaa6ad;
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.ymtv-shortcuts__chip:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ymtv-fg-2);
}

.ymtv-shortcuts__more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 4px;
  border: 0;
  background: transparent;
  color: var(--ymtv-fg-4);
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
}

.ymtv-shortcuts__more:hover {
  color: var(--ymtv-fg-2);
}

/* ── 最近画布 ─────────────────────────────────────── */
.ymtv-recent {
  margin-top: 18px;
}

.ymtv-recent__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ymtv-recent__head strong {
  color: var(--ymtv-fg-2);
  font-size: 13px;
  font-weight: 600;
}

.ymtv-recent__head span {
  color: var(--ymtv-fg-5);
  font-size: 12px;
}

.ymtv-recent__all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--ymtv-fg-4);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}

.ymtv-recent__all:hover {
  color: var(--ymtv-fg-2);
}

.ymtv-recent__rail {
  display: flex;
  gap: 9px;
  padding: 0 0 3px;
  overflow-x: auto;
}

.ymtv-recent__rail::-webkit-scrollbar {
  height: 0;
}

.ymtv-recent__new {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  flex: 0 0 180px;
  max-width: 180px;
  height: 104px;
  padding: 0 16px;
  border: 0.8px solid rgba(255, 255, 255, 0.043);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.024);
  color: var(--ymtv-fg-3);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.ymtv-recent__new:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.ymtv-recent__new strong {
  color: var(--ymtv-fg-2);
  font-size: 12px;
  font-weight: 600;
}

.ymtv-recent__new span {
  color: var(--ymtv-fg-5);
  font-size: 11px;
}

.ymtv-recent__empty {
  display: flex;
  align-items: center;
  gap: 17px;
  flex: 1;
  min-width: 0;
  height: 104px;
  padding: 10px 25px;
  border: 0.8px dashed rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  background: transparent;
  color: var(--ymtv-fg-5);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease;
}

.ymtv-recent__empty:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.ymtv-recent__empty strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ymtv-fg-3);
  font-size: 12px;
  font-weight: 500;
}

.ymtv-recent__empty span {
  font-size: 11px;
  line-height: 17px;
}

/* ==========================================================================
   5. 创作新可能（Feature 网格）
   ========================================================================== */
.ymtv-section__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.ymtv-section__head h2 {
  margin: 0;
  color: var(--ymtv-fg-2);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.ymtv-section__head span {
  color: var(--ymtv-fg-5);
  font-size: 12px;
}

.ymtv-section__head em {
  margin-left: auto;
  color: var(--ymtv-fg-5);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.ymtv-section__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ymtv-fg-4);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.16s ease;
}

.ymtv-section__more:hover {
  color: var(--ymtv-fg-2);
}

.ymtv-feats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.ymtv-feat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 172px;
  padding: 22px;
  overflow: hidden;
  border: 0.8px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--ymtv-r-lg);
  background: var(--ymtv-card);
  isolation: isolate;
}

.ymtv-feat--wide {
  grid-column: span 2;
}

.ymtv-feat__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.ymtv-feat:hover .ymtv-feat__bg {
  opacity: 0.66;
  transform: scale(1.03);
}

.ymtv-feat__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(20, 20, 22, 0.94) 12%, rgba(20, 20, 22, 0.5) 58%, rgba(20, 20, 22, 0.12));
}

.ymtv-feat__index {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(255, 255, 255, 0.18);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.ymtv-feat__tag {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 3px 8px;
  border: 0.8px solid rgba(216, 197, 143, 0.16);
  border-radius: 5px;
  color: var(--ymtv-gold);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.ymtv-feat h3 {
  margin: 0 0 6px;
  color: var(--ymtv-fg);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.9px;
}

.ymtv-feat p {
  margin: 0;
  max-width: 78%;
  color: var(--ymtv-gold-soft);
  font-size: 12px;
  line-height: 19px;
  white-space: pre-line;
}

.ymtv-feat__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  margin-top: 14px;
  padding: 7px 13px;
  border: 0.8px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ymtv-fg-2);
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.16s ease;
}

.ymtv-feat__cta:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   6. 精选灵感
   ========================================================================== */
.ymtv-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.ymtv-gallery__card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0;
  overflow: hidden;
  border: 0.8px solid var(--ymtv-line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ymtv-gallery__card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.ymtv-gallery__cover {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #1c1c1f;
}

.ymtv-gallery__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ymtv-gallery__card:hover .ymtv-gallery__cover img {
  transform: scale(1.05);
}

.ymtv-gallery__body {
  padding: 0 11px 12px;
}

.ymtv-gallery__body small {
  display: block;
  margin-bottom: 3px;
  color: var(--ymtv-gold);
  font-size: 10px;
}

.ymtv-gallery__body span {
  display: block;
  margin-bottom: 5px;
  color: var(--ymtv-fg-5);
  font-size: 11px;
}

.ymtv-gallery__body strong {
  color: var(--ymtv-fg-2);
  font-size: 12px;
  font-weight: 500;
}

/* ==========================================================================
   7. 作品广场
   ========================================================================== */
.ymtv-works__tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 4px 0 16px;
  padding-bottom: 10px;
  border-bottom: 0.8px solid var(--ymtv-line-soft);
  overflow-x: auto;
}

.ymtv-works__tabs::-webkit-scrollbar {
  height: 0;
}

.ymtv-tab {
  flex-shrink: 0;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #efeff1;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.ymtv-tab:hover {
  background: rgba(255, 255, 255, 0.05);
}

.ymtv-tab.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #efeff1;
  font-weight: 600;
}

/* 网格规则对齐对标站：#projects 实测 repeat(auto-fill, minmax(235px, 1fr)) + gap 13px */
.ymtv-works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 13px;
}

.ymtv-work {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 0.8px solid rgba(255, 255, 255, 0.043);
  border-radius: 13px;
  background: #222126;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ymtv-work:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.ymtv-work__cover {
  position: relative;
  aspect-ratio: 1.35/1;
  overflow: hidden;
  background: #1c1c1f;
}

.ymtv-work__cover img,
.ymtv-work__cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ymtv-work__cover img {
  transition: transform 0.55s ease;
}

.ymtv-work:hover .ymtv-work__cover img {
  transform: scale(1.04);
}

.ymtv-work__cat {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.52);
  color: var(--ymtv-fg-2);
  font-size: 10px;
  backdrop-filter: blur(8px);
}

.ymtv-work__hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8, 8, 9, 0.55);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.ymtv-work:hover .ymtv-work__hover {
  opacity: 1;
}

.ymtv-work__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 17px 14px;
}

.ymtv-work__author {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #c8c1ce;
  font-size: 10px;
}

.ymtv-work__avatar {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(140deg, #4b4650, #2a282d);
  color: var(--ymtv-fg-3);
  font-size: 9px;
}

.ymtv-work__title {
  display: -webkit-box;
  overflow: hidden;
  color: #efeff1;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ymtv-work__foot {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #aca4b3;
  font-size: 11px;
}

.ymtv-work__foot svg {
  opacity: 0.75;
}

.ymtv-works__note {
  margin: 18px 0 0;
  color: var(--ymtv-fg-5);
  font-size: 11px;
  line-height: 18px;
}

.ymtv-empty {
  grid-column: 1/-1;
  padding: 40px 0;
  color: var(--ymtv-fg-5);
  font-size: 12px;
  text-align: center;
}

/* ==========================================================================
   8. 站内轻提示（不复用 Element Plus 全局 message）
   ========================================================================== */
.ymtv-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  z-index: 60;
  padding: 9px 16px;
  transform: translateX(-50%);
  border: 0.8px solid var(--ymtv-line);
  border-radius: 10px;
  background: rgba(28, 28, 31, 0.92);
  color: var(--ymtv-fg-2);
  font-size: 12px;
  white-space: nowrap;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.ymtv-toast-enter-active,
.ymtv-toast-leave-active {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ymtv-toast-enter-from,
.ymtv-toast-leave-to {
  opacity: 0;
  transform: translate(-50%, 8px);
}

/* ==========================================================================
   9. 品牌页脚（复刻站无，补一个极简收尾，避免页面断崖）
   ========================================================================== */
.ymtv-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  color: var(--ymtv-fg-5);
  font-size: 11px;
}

.ymtv-foot i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   9. 响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .ymtv-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .ymtv-side {
    width: 72px;
    padding-inline: 12px;
  }
  .ymtv-brand span:not(.ymtv-brand__mark),
  .ymtv-new span,
  .ymtv-nav__label,
  .ymtv-inspire,
  .ymtv-contact span,
  .ymtv-collapse span {
    display: none;
  }
  .ymtv-brand {
    justify-content: center;
  }
  .ymtv-nav__item {
    justify-content: center;
    padding: 0;
  }
  .ymtv-feed {
    padding: 18px 16px 32px;
  }
  .ymtv-works__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ymtv-top__banner-dim {
    display: none;
  }
}
@media (max-width: 680px) {
  .ymtv-feats {
    grid-template-columns: minmax(0, 1fr);
  }
  .ymtv-feat--wide {
    grid-column: span 1;
  }
  .ymtv-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
  .ymtv-works__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ymtv-hero {
    padding: 18px;
  }
  .ymtv-feat p {
    max-width: 100%;
  }
  .ymtv-top {
    padding: 0 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ymtv-site *,
  .ymtv-site *::before,
  .ymtv-site *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
/**
 * 移动端浏览器 CSS 适配层（适配模块显示修复）
 *
 * 逐条对应 browser-compat.ts 的 KNOWN_COMPAT_ISSUES：
 * - iOS safe-area：需 index.html viewport-fit=cover 配合
 * - iOS 输入聚焦自动缩放：Safari 对 font-size<16px 的输入框触发页面放大
 * - iOS 100vh 地址栏问题：dvh 渐进增强
 * - 安卓点击高亮 / 字体膨胀 / 双击缩放延迟
 */
/* ===== 全平台基础（安卓/鸿蒙/iOS 通用） ===== */
html {
  /* 禁用系统字体膨胀（安卓 Text Autosizer），保证布局稳定 */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* 去除安卓浏览器点击元素时的蓝色/灰色高亮闪块 */
* {
  -webkit-tap-highlight-color: transparent;
}

/* 消除移动端 300ms 双击缩放延迟（官方推荐方案，保留双指缩放能力） */
button,
a,
[role=button],
input,
select,
textarea {
  touch-action: manipulation;
}

/* ===== iOS 专属 ===== */
@supports (padding: max(0px)) {
  /* 刘海屏/灵动岛安全区：需 <meta viewport-fit=cover>
   * 注：viewport-fit=cover 已按要求暂时回滚（2026-08-24 iPhone 弹窗排查），
   * 当前 env(safe-area-inset-*) 返回 0，本组类暂不生效；恢复 viewport-fit 后自动激活 */
  .safe-area-top {
    padding-top: max(0px, env(safe-area-inset-top));
  }
  .safe-area-bottom {
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }
  .safe-area-x {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}
/* 100dvh 渐进增强：iOS Safari 地址栏收缩时真实可视高度 */
@supports (height: 100dvh) {
  .full-height {
    height: 100dvh;
  }
}
/* ===== 手机端媒体查询（≤768px） ===== */
@media (max-width: 768px) {
  /* iOS Safari：输入控件 font-size ≥ 16px 防聚焦自动放大 */
  input:not([type=checkbox]):not([type=radio]):not([type=range]),
  select,
  textarea {
    font-size: 16px;
  }
  /* 触摸目标最小 44px（Apple HIG / Material 无障碍标准） */
  button.el-button {
    min-height: 36px;
  }
  /* 微信/WebView 内滚动回弹时的底部留白 */
  body {
    overscroll-behavior-y: none;
  }
}
/* ===== 鸿蒙/华为浏览器 ===== */
/* 华为浏览器偶发 input placeholder 偏移，统一 line-height 归一 */
@media (max-width: 768px) {
  input::placeholder,
  textarea::placeholder {
    line-height: normal;
  }
}
/* ===== 窄屏字号收紧（≤640px）：仅手机，宽屏/平板保持原尺寸 =====
 * 全局排版 token（--text-xs/sm/base/lg/xl/2xl）均基于 rem，
 * 把根字号 16px → 14px 即可整体收紧一档，无需逐页改字号。 */
@media (max-width: 640px) {
  html {
    font-size: 14px;
  }
}