/* ==========================================================================
   品剧 AI · 电影与剧集智能发现引擎 (Stitch Screen 5218c95366f24e20a2a0ed8c2243e949 1:1 样式)
   ========================================================================== */

:root {
  --ym-bg: #070b12;
  --ym-bg-card: #0d131f;
  --ym-bg-elevated: #121a29;
  --ym-bg-item: #151e2e;
  --ym-border: rgba(255, 255, 255, 0.08);
  --ym-border-cyan: rgba(0, 210, 255, 0.38);
  --ym-cyan: #00d2ff;
  --ym-cyan-dark: #06b6d4;
  --ym-cyan-glow: rgba(0, 210, 255, 0.16);
  --ym-gold: #f59e0b;
  --ym-gold-light: #fbbf24;
  --ym-text: #f1f5f9;
  --ym-text-muted: #94a3b8;
  --ym-text-subtle: #64748b;
}

body.ym-body {
  background-color: var(--ym-bg) !important;
  background-image: radial-gradient(ellipse 75% 38% at 50% 0%, rgba(0, 195, 255, 0.13), transparent 70%) !important;
  color: var(--ym-text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.ym-wrapper {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== 1. 顶部导航栏 (1:1 Stitch) ==================== */
.ym-navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(7, 11, 18, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: 68px;
  display: flex;
  align-items: center;
}

.ym-navbar-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ym-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.ym-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #111927;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.ym-brand-pill-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d2ff, #0284c7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #041016;
}

.ym-brand-pro {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  color: #111;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 3px;
}

.ym-brand-title {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  letter-spacing: 0.5px;
}

.ym-brand-title span {
  display: block;
  color: var(--ym-cyan);
  font-size: 13px;
}

.ym-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.ym-nav-item {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: all 0.2s ease;
  text-decoration: none;
}

.ym-nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.ym-nav-item.is-active {
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--ym-cyan);
  font-weight: 800;
}

.ym-nav-item.is-active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: var(--ym-cyan);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--ym-cyan);
}

.ym-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ym-top-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #111826;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 12px;
  width: 230px;
  transition: border-color 0.2s;
}

.ym-top-search:focus-within {
  border-color: var(--ym-cyan);
}

.ym-top-search input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 12px;
  width: 100%;
}

.ym-top-search input::placeholder {
  color: #64748b;
}

.ym-kbd {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.ym-btn-vip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #090d16 !important;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.28);
}

.ym-btn-ai-helper {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #00d2ff, #06b6d4);
  color: #04131a !important;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 210, 255, 0.28);
}

.ym-btn-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #162235;
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--ym-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .ym-top-search, .ym-btn-vip {
    display: none;
  }
}

@media (max-width: 768px) {
  .ym-nav-links {
    display: none;
  }
}

/* ==================== 2. 首屏 AI 发现引擎 Hero ==================== */
.ym-hero {
  text-align: center;
  padding: 38px 0 28px;
  max-width: 920px;
  margin: 0 auto;
}

.ym-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 25, 43, 0.9);
  border: 1px solid rgba(0, 210, 255, 0.28);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 11px;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.ym-hero-badge strong {
  color: var(--ym-cyan);
  letter-spacing: 0.08em;
}

.ym-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ym-cyan);
  box-shadow: 0 0 8px var(--ym-cyan);
  display: inline-block;
}

.ym-hero-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  line-height: 1.2;
}

.ym-hero-title .ym-cyan {
  color: var(--ym-cyan);
  text-shadow: 0 0 24px rgba(0, 210, 255, 0.45);
}

.ym-hero-subtitle {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0 0 26px;
  letter-spacing: 0.06em;
}

.ym-hero-subtitle span {
  color: var(--ym-cyan);
  margin: 0 4px;
}

/* 搜索大卡片 */
.ym-search-card {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 24, 39, 0.95), rgba(11, 17, 28, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: left;
}

.ym-search-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.ym-mode-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ym-mode-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.ym-mode-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.ym-mode-tab.is-active {
  background: rgba(0, 210, 255, 0.14);
  border-color: rgba(0, 210, 255, 0.45);
  color: var(--ym-cyan);
  font-weight: 700;
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.15);
}

.ym-uhd-badge {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ym-uhd-badge strong {
  color: var(--ym-gold-light);
}

/* 搜索主输入框 */
.ym-input-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #080d16;
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 12px;
  padding: 7px 8px 7px 14px;
  transition: all 0.2s ease;
}

.ym-input-box:focus-within {
  border-color: var(--ym-cyan);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.12);
}

.ym-input-sparkle {
  color: var(--ym-cyan);
  font-size: 16px;
  flex-shrink: 0;
}

.ym-main-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  min-width: 0;
}

.ym-main-input::placeholder {
  color: #64748b;
}

.ym-input-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.16s;
}

.ym-input-icon-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.ym-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, #00d2ff, #06b6d4);
  color: #031117;
  font-size: 13.5px;
  font-weight: 800;
  padding: 0 20px;
  height: 38px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(0, 210, 255, 0.3);
}

.ym-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 210, 255, 0.42);
}

/* 热搜直达与AI灵感词库行 */
.ym-hot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ym-hot-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.ym-hot-label {
  font-size: 11.5px;
  color: #64748b;
  margin-right: 2px;
}

.ym-hot-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 11.5px;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.15s;
}

.ym-hot-chip:hover {
  border-color: rgba(0, 210, 255, 0.4);
  color: var(--ym-cyan);
  background: rgba(0, 210, 255, 0.08);
}

.ym-hot-chip i {
  color: var(--ym-gold);
  font-style: normal;
  font-size: 9px;
}

.ym-inspire-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  color: #111;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}

/* 搜索下拉联想 */
.ym-suggest-box {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 200;
  background: #0f1726;
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: none;
}

.ym-suggest-box.is-open {
  display: block;
}

.ym-suggest-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.ym-suggest-item:hover {
  background: rgba(0, 210, 255, 0.12);
  color: var(--ym-cyan);
}

/* ==================== 3. 本周追片排期 (1:1 Stitch) ==================== */
.ym-section {
  margin-top: 38px;
}

.ym-sec-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.ym-sec-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ym-sec-bar {
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: var(--ym-cyan);
  box-shadow: 0 0 10px var(--ym-cyan);
}

.ym-sec-title {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
}

.ym-sec-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
  color: #94a3b8;
}

.ym-sec-pill-gold {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  color: #111;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
}

.ym-sec-desc {
  font-size: 12px;
  color: #64748b;
  margin: 6px 0 0;
}

.ym-sec-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ym-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #111a2b;
  border: 1px solid rgba(0, 210, 255, 0.25);
  color: var(--ym-cyan) !important;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.18s;
}

.ym-more-btn:hover {
  background: rgba(0, 210, 255, 0.14);
}

/* 周一至周日 排期条 */
.ym-week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  background: #0b111c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 18px;
}

@media (max-width: 768px) {
  .ym-week-strip {
    display: flex;
    overflow-x: auto;
  }
  .ym-week-day {
    min-width: 110px;
  }
}

.ym-week-day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.18s;
}

.ym-week-day:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.ym-week-day strong {
  font-size: 14px;
  color: #e2e8f0;
  margin-bottom: 3px;
}

.ym-week-day span {
  font-size: 11px;
  color: #64748b;
}

.ym-week-day.is-active {
  background: linear-gradient(180deg, rgba(0, 210, 255, 0.18), rgba(0, 210, 255, 0.05));
  border-color: var(--ym-cyan);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.18);
}

.ym-week-day.is-active strong,
.ym-week-day.is-active span {
  color: var(--ym-cyan);
  font-weight: 800;
}

.ym-today-tag {
  position: absolute;
  top: -8px;
  background: var(--ym-cyan);
  color: #041218;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 7px;
  border-radius: 999px;
}

/* 4栏追片排期卡片网格 */
.ym-schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1100px) {
  .ym-schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ym-schedule-grid {
    grid-template-columns: 1fr;
  }
}

.ym-schedule-col {
  background: var(--ym-bg-card);
  border: 1px solid var(--ym-border);
  border-radius: 14px;
  padding: 14px;
}

.ym-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ym-col-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ym-col-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--ym-cyan);
}

.ym-sched-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ym-sched-item {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  background: var(--ym-bg-item);
  border: 1px solid rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: all 0.18s;
}

.ym-sched-item:hover {
  border-color: rgba(0, 210, 255, 0.35);
  transform: translateY(-1px);
}

.ym-sched-poster {
  position: relative;
  width: 58px;
  height: 78px;
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
  background: #090d14;
}

.ym-sched-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ym-sched-tag {
  position: absolute;
  top: 3px;
  left: 3px;
  background: rgba(0, 210, 255, 0.88);
  color: #031014;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
}

.ym-sched-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ym-sched-name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ym-sched-note {
  font-size: 11px;
  font-weight: 600;
  color: var(--ym-gold-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ym-sched-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font-size: 10.5px;
  color: #64748b;
}

.ym-sched-meta span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ym-sched-quality {
  flex-shrink: 0;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 9.5px;
}

/* ==================== 4. 大家都在看 (6列海报卡片) ==================== */
.ym-poster-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1180px) {
  .ym-poster-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .ym-poster-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

.ym-poster-card {
  background: var(--ym-bg-card);
  border: 1px solid var(--ym-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.22s ease;
}

.ym-poster-card:hover {
  border-color: rgba(0, 210, 255, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}

.ym-poster-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  background: #090d14;
  overflow: hidden;
}

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

.ym-poster-card:hover .ym-poster-cover img {
  transform: scale(1.05);
}

.ym-poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 45%, rgba(7,11,18,0.92) 100%);
}

.ym-corner-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 5px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  color: #111;
}

.ym-corner-badge.is-cyan {
  background: linear-gradient(90deg, #00d2ff, #06b6d4);
  color: #031217;
}

.ym-poster-bottom-bar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.ym-score {
  color: var(--ym-gold-light);
  font-weight: 800;
}

.ym-remarks {
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.55);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
}

.ym-poster-body {
  padding: 10px 12px 12px;
}

.ym-poster-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}

.ym-poster-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #64748b;
}

.ym-poster-hits {
  color: var(--ym-cyan);
  font-weight: 700;
}

/* ==================== 5. 底部 AI 对话找片横幅 & 页脚 ==================== */
.ym-ai-banner {
  margin-top: 40px;
  background: linear-gradient(90deg, rgba(14, 24, 42, 0.96), rgba(11, 29, 44, 0.96));
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 16px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ym-ai-banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ym-ai-banner-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: var(--ym-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ym-ai-banner-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.ym-ai-banner-desc {
  font-size: 12px;
  color: #94a3b8;
}

.ym-ai-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ym-footer {
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 0 40px;
  color: #64748b;
  font-size: 12px;
}

.ym-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ym-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
}


/* ==================== 6. Stitch 全局配色同步与内页适配 ==================== */
:root,
html.dark,
html[data-theme="movie-dark"] {
  --movie-bg: #0f131d !important;
  --movie-bg-elevated: #171b26 !important;
  --movie-surface: #1c1f2a !important;
  --movie-surface-strong: #262a35 !important;
  --movie-primary: #4cd7f6 !important;
  --movie-primary-strong: #4cd7f6 !important;
  --movie-primary-soft: rgba(76, 215, 246, 0.14) !important;
  --movie-primary-muted: rgba(76, 215, 246, 0.12) !important;
  --movie-primary-border: rgba(76, 215, 246, 0.42) !important;
  --movie-text: #dfe2f1 !important;
  --movie-text-muted: #bcc9cd !important;
  --movie-text-subtle: #869397 !important;
  --movie-border: rgba(255, 255, 255, 0.1) !important;
  --movie-border-soft: rgba(255, 255, 255, 0.06) !important;
}

body.movie-app-bg,
body.bg-surface {
  background-color: #0f131d !important;
  color: #dfe2f1 !important;
}

/* 顶部固定 80px (h-20) 导航栏的内页安全间距 */
main.souju-container,
main.ym-wrapper {
  padding-top: 6rem !important;
  max-width: 1760px !important;
}

/* 本地 CSS 兜底（防止 CDN 抖动） */
.bg-surface { background-color: #0f131d; }
.bg-surface-container-lowest { background-color: #0a0e18; }
.bg-surface-container-low { background-color: #171b26; }
.bg-surface-container { background-color: #1c1f2a; }
.bg-surface-container-high { background-color: #262a35; }
.bg-surface-container-highest { background-color: #313540; }
.bg-primary { background-color: #4cd7f6; }
.bg-primary-container { background-color: #06b6d4; }
.bg-secondary { background-color: #ffb95f; }
.bg-secondary-container { background-color: #ee9800; }
.text-primary { color: #4cd7f6; }
.text-secondary { color: #ffb95f; }
.text-on-surface { color: #dfe2f1; }
.text-on-surface-variant { color: #bcc9cd; }
.text-outline { color: #869397; }
.text-on-primary { color: #003640; }
.text-on-secondary { color: #472a00; }
.px-margin { padding-left: 3rem; padding-right: 3rem; }
@media (max-width: 768px) {
  .px-margin { padding-left: 1rem; padding-right: 1rem; }
}
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}
