@import url("/static/css/dg-logo-neon.css?v=20261016placeholder1");
/**
 * 一日女友 · 首页 Figma 布局（1.0-首页-一日女友web）
 * 覆盖 yiri-community.html 内联样式，对齐稿面结构。
 */
:root {
  --dg-accent: #ff1290;
  --dg-accent-soft: #ff43a7;
  --dg-accent-grad: linear-gradient(106deg, #ff43a7 0%, #ef2df9 95%);
  --dg-header: #1a1b1e;
  --dg-surface: #1a1b1e;
  --dg-chip: #27282d;
  --dg-sub: #b5b7bf;
  --dg-muted: #b0b1b3;
  --dg-home-max: 1520px;
  --dg-home-rail: 1156px;
  --aurora: #ff1290;
  --lavender: #ff6b9d;
  --gold: #ffc85c;
  --dg-nav-link-width: 80px;
  --dg-nav-link-gap: 16px;
  --dg-nav-height: 62px;
}

/* ── Header ── */
.page-wrap > nav,
body > .page-wrap > nav,
nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  transform: none !important;
  height: 62px;
  padding: 0 48px !important;
  display: flex !important;
  align-items: center;
  /* 与其它页一致：左 logo+导航，搜索靠右；勿用 space-between 否则跨页导航会「跳」 */
  justify-content: flex-start !important;
  gap: var(--dg-nav-link-gap);
  background: var(--dg-header) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  z-index: 200;
  box-sizing: border-box;
}
nav,
nav * {
  box-sizing: border-box;
}

nav .logo {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 104px;
  width: 104px;
  flex-shrink: 0;
  font-size: 0 !important;
  letter-spacing: 0 !important;
  overflow: visible;
}
nav .logo > div:first-child {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
nav .logo-dot { display: none !important; }
nav .dg-logo-img {
  width: 104px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 0;
}
/* 默认隐藏文字 Logo；后台「网站名称」只更新 alt，不替换成纯文字 */
#d-site-name {
  display: none;
  font-family: 'Noto Serif SC', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--lavender, #e8e0ff);
  letter-spacing: 3px;
  white-space: nowrap;
}

.nav-links {
  display: flex !important;
  gap: var(--dg-nav-link-gap) !important;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}
/* Figma Header Button: 80×38, p-x 12, 14 Medium / leading-none, nowrap */
.nav-links a {
  height: 38px !important;
  width: var(--dg-nav-link-width) !important;
  min-width: var(--dg-nav-link-width) !important;
  max-width: var(--dg-nav-link-width) !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
  border-radius: 6px !important;
  border: 1px solid #4b4e62 !important;
  background: #1d1e25 !important;
  color: #fff !important;
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif !important;
  font-size: 14px !important;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  flex-shrink: 0;
}
.nav-links a::after { display: none !important; }
.nav-links a:hover {
  border-color: rgba(255, 18, 144, 0.55) !important;
  color: #fff !important;
  background: #252632 !important;
}
.nav-links a.nav-active {
  background: #ff1290 !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 500;
  box-shadow: none;
}
.nav-links a.nav-active {
  width: var(--dg-nav-link-width) !important;
  min-width: var(--dg-nav-link-width) !important;
  max-width: var(--dg-nav-link-width) !important;
  box-sizing: border-box !important;
}

.nav-search-wrap {
  /* 与 /girls/ /videos/ 一致：370 宽、靠右，压住 yiri-home 的 flex:1 / 粉框搜索 */
  position: relative;
  display: flex !important;
  align-items: center;
  margin: 0 0 0 auto !important;
  min-width: 280px !important;
  max-width: 370px !important;
  flex: 0 1 370px !important;
  width: 370px !important;
}
.nav-search-box {
  display: flex !important;
  align-items: center !important;
  width: 100%;
  height: 38px !important;
  border-radius: 16px !important;
  border: 1px solid #3a3c50 !important;
  background: #252632 !important;
  padding: 0 14px !important;
  gap: 8px;
  box-sizing: border-box;
  overflow: hidden;
}
.nav-search-box:focus-within {
  border-color: rgba(255, 18, 144, 0.55) !important;
  box-shadow: 0 0 0 2px rgba(255, 18, 144, 0.12) !important;
}
.nav-search-ico {
  width: 14px !important;
  height: 14px !important;
  display: block !important;
  flex-shrink: 0;
  background: none !important;
  color: inherit !important;
  font-size: inherit !important;
  opacity: 0.9;
}
.nav-search-box input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 12px !important;
  font-family: inherit;
  box-shadow: none !important;
}
.nav-search-box input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}
.nav-search-box input[type="search"]::-webkit-search-decoration,
.nav-search-box input[type="search"]::-webkit-search-cancel-button,
.nav-search-box input[type="search"]::-webkit-search-results-button,
.nav-search-box input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
}
.nav-search-action {
  background: transparent !important;
  color: transparent !important;
  width: 36px;
  padding: 0 !important;
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: auto !important;
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-search-action::before {
  display: none !important;
  content: none !important;
}

/* 未登录顶栏登录/注册：与同城女友 /girls/（dg-web-shell）一致 */
.nav-auth-area {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  flex-shrink: 0;
}
.nav-auth-area[hidden] {
  display: none !important;
}
.nav-auth-btn {
  box-sizing: border-box;
  height: 38px !important;
  min-width: 80px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
}
.nav-auth-btn-reg {
  background: linear-gradient(101deg, #ff43a7 0%, #ef2df9 95%);
  border-color: transparent;
}

/* 与公共顶栏保持一致，避免中等宽度下注册按钮被裁切。 */
/* 首页导航不加载 dg-web-shell，这里补齐社媒入口的圆形底板与悬浮名称。 */
.dg-social-links { display:flex; align-items:center; gap:6px; margin-left:8px; margin-right:4px; }
.dg-social-link { position:relative; width:34px; height:34px; flex:0 0 34px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:#fff; background:#ff1290; border:0; text-decoration:none; font-size:14px; line-height:0; box-sizing:border-box; transition:background .2s,border-color .2s,transform .2s; }
.dg-social-link:hover { background:#ef2df9; transform:translateY(-1px); }
.dg-social-link img { display:block; width:20px; height:20px; object-fit:contain; object-position:50% 50%; filter:brightness(0) invert(1); }
.dg-social-link img[src*="ico-join-tg.svg"] { filter:none; }
.dg-social-link::after { content:attr(data-platform); position:absolute; top:calc(100% + 8px); left:50%; z-index:400; transform:translateX(-50%) translateY(-3px); padding:5px 8px; border:1px solid rgba(255,107,157,.35); border-radius:6px; background:#1a1b1e; color:#fff; font-size:12px; line-height:1.2; white-space:nowrap; pointer-events:none; opacity:0; visibility:hidden; transition:opacity .15s ease,transform .15s ease; }
.dg-social-link:hover::after, .dg-social-link:focus-visible::after { opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.dg-social-compact { display:none; position:relative; flex:0 0 auto; margin-left:4px; }
.dg-social-toggle {
  width:30px; height:30px; padding:0; border-radius:50%; border:1px solid rgba(255,18,144,.42);
  background:rgba(255,18,144,.08); color:#ff1290; font:inherit; font-size:16px; line-height:1;
  display:inline-flex; align-items:center; justify-content:center; cursor:pointer;
}
.dg-social-toggle:hover { background:rgba(255,18,144,.18); border-color:rgba(255,18,144,.55); }
.dg-social-menu {
  position:absolute; top:calc(100% + 10px); right:0; z-index:320; min-width:190px;
  display:grid; gap:2px; padding:8px; border:1px solid rgba(184,174,240,.24); border-radius:10px;
  background:#17131f; box-shadow:0 14px 34px rgba(0,0,0,.48);
}
.dg-social-menu[hidden] { display:none !important; }
.dg-social-menu a {
  display:flex; align-items:center; gap:9px; padding:8px 9px; border-radius:7px;
  color:#e8e0ff; font-size:12px; text-decoration:none; white-space:nowrap;
}
.dg-social-menu a:hover { background:rgba(255,18,144,.1); }
.dg-social-menu-icon { width:20px; height:20px; flex:0 0 20px; display:inline-flex; align-items:center; justify-content:center; }
.dg-social-menu-icon img { width:16px; height:16px; object-fit:contain; }
/* 社媒入口默认展示完整图标；只有后台配置超过 6 个时才由 JS 切到紧凑下拉。 */
html.dg-social-overflow .dg-social-links { display:none !important; }
@media (min-width: 1440px) {
  .dg-social-links { column-gap:20px; }
}
html.dg-social-overflow .dg-social-compact { display:block; }
@media (min-width: 901px) and (max-width: 1600px) {
  :root {
    --dg-nav-link-width: 72px;
    --dg-nav-link-gap: 8px;
  }
  nav {
    padding-left: 24px !important;
    padding-right: 24px !important;
    gap: 16px !important;
  }
  .nav-links { gap: 8px !important; }
  .nav-links a {
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
  }
  .nav-search-wrap {
    min-width: 180px !important;
    max-width: 280px !important;
    flex-basis: 280px !important;
  }
  .dg-social-links {
    flex: 0 0 auto;
    display: flex; align-items: center; flex-wrap: nowrap;
    max-width: none;
    margin-left: 4px; margin-right: 0;
  }
  .dg-social-link { width: 24px; height: 24px; flex: 0 0 24px; }
  .dg-social-link img { width: 15px; height: 15px; }
  .nav-auth-area { margin-left: 4px; }
}

/* 1401 以下搜索收成图标，点击后在原位向左展开，避免挤掉社媒与注册按钮。 */
@media (max-width: 1400px) {
  .nav-search-wrap {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    flex: 0 0 38px !important;
  }
  .nav-search-box {
    width: 38px;
    padding: 0 !important;
    justify-content: center;
  }
  .nav-search-box input { display: none !important; }
  .nav-search-action { width: 38px; margin: 0; }
  .nav-search-wrap.is-expanded .nav-search-box {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: min(320px, calc(100vw - 32px));
    padding: 0 14px !important;
    justify-content: flex-start;
    z-index: 240;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  }
  .nav-search-wrap.is-expanded .nav-search-box input { display: block !important; }
  .nav-search-panel { width: min(320px, calc(100vw - 32px)); }
}
/* Figma Header 登录态：仅 34×34 头像 */
#nav-user-area .nav-user-avatar-btn {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  margin: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 「博主入驻」等锚点跳转时，给固定顶栏留出安全距离。 */
#sign { scroll-margin-top: calc(var(--dg-nav-height) + 8px); }
#nav-avatar-circle {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2d78, #c2185b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  overflow: hidden;
}
#nav-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

/* ── Hero ── */
.home-vlog-hero {
  min-height: 724px !important;
  width: min(var(--dg-home-rail), calc(100% - 96px)) !important;
  max-width: var(--dg-home-rail) !important;
  margin: 0 auto !important;
  padding: 90px 0 40px !important;
  display: grid !important;
  /* 左文案 + 右视频轨 364（对齐 Figma 225:21559） */
  grid-template-columns: minmax(0, 1fr) 364px !important;
  gap: 48px !important;
  align-items: center !important;
  text-align: left !important;
  position: relative;
  overflow: visible;
}
.home-vlog-hero::before {
  content: "";
  position: absolute;
  inset: 0 -10% auto;
  height: 100%;
  background:
    radial-gradient(ellipse 60% 70% at 70% 40%, rgba(255, 18, 144, 0.18), transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(80, 40, 120, 0.25), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.home-vlog-copy,
.home-vlog-panel {
  position: relative;
  z-index: 1;
}
.home-vlog-copy .hero-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 12px;
}
.home-vlog-copy .hero-eyebrow {
  margin: 0;
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
}
.home-vlog-copy .hero-badge {
  height: auto !important;
  margin: 0 !important;
  padding: 10px 18px !important;
  border-radius: 16px !important;
  border: 0.8px solid rgba(255, 18, 144, 0.4) !important;
  background: #1d1e25 !important;
  color: #fff !important;
  font-size: 16px !important;
  letter-spacing: 0 !important;
}
.home-vlog-copy .hero-badge-dot {
  background: #ff1290 !important;
  width: 6px;
  height: 6px;
}
.home-vlog-copy .hero-title {
  font-family: "PingFang SC", "Noto Sans SC", sans-serif !important;
  font-size: clamp(36px, 4.2vw, 49px) !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  letter-spacing: -2px !important;
  color: #fff !important;
  max-width: none !important;
}
.home-vlog-copy .hero-title span {
  display: inline !important;
  color: #ff1290 !important;
  font-style: normal !important;
}
.home-vlog-copy .hero-title .en {
  display: none !important;
}
.home-vlog-copy .hero-sub {
  max-width: 644px !important;
  margin: 16px 0 28px !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
  color: #b0b1b3 !important;
}
.home-vlog-copy .hero-actions {
  justify-content: flex-start !important;
  gap: 12px !important;
}
.home-vlog-copy .btn-primary,
.home-vlog-copy .btn-ghost {
  min-height: 56px !important;
  width: 221px;
  border-radius: 15px !important;
  padding: 0 16px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.home-vlog-copy .btn-primary {
  background: linear-gradient(106deg, #ff43a7 0%, #ef2df9 95%) !important;
  box-shadow: none !important;
  border: 0 !important;
}
.home-vlog-copy .btn-primary .dg-ico,
.home-vlog-copy .btn-ghost .dg-ico {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.home-vlog-copy .btn-ghost {
  background: rgba(230, 224, 233, 0.16) !important;
  border: 1.2px solid rgba(255, 255, 255, 0.8) !important;
  color: #fff !important;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
}
.home-quick { display: none !important; }

.home-vlog-panel {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 364px !important;
  max-width: 364px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  min-height: 0;
  overflow: visible !important;
}
.home-vlog-panel::before {
  content: none !important;
  display: none !important;
}
/* Figma web 首页右栏：视频主卡 + 3 条列表，不再用黑胶合成图 */
.dg-hero-visual {
  display: none !important;
}
.home-vlog-main {
  display: block !important;
  position: relative !important;
  width: 364px !important;
  height: 248px !important;
  aspect-ratio: auto !important;
  border-radius: 10px 10px 0 0 !important;
  overflow: hidden !important;
  cursor: pointer;
  background: #121214 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.home-vlog-main::before {
  content: none !important;
}
.home-vlog-main::after {
  content: "" !important;
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 56%, #000 100%);
  pointer-events: none;
  z-index: 1;
}
.home-vlog-main > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.home-play {
  display: flex !important;
  position: absolute !important;
  left: 50% !important;
  top: 76px !important;
  transform: translateX(-50%) !important;
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  z-index: 3;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.home-play span {
  display: none !important;
}
.home-play::after {
  content: "";
  width: 30px;
  height: 30px;
  background: url("/static/img/figma/btn-play.svg") center / contain no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.home-vlog-info {
  display: block !important;
  position: absolute !important;
  left: 14px !important;
  right: 14px !important;
  bottom: 28px !important;
  top: auto !important;
  z-index: 2;
  padding: 0 !important;
  background: none !important;
}
.home-vlog-kicker {
  display: inline-flex !important;
  align-items: center;
  height: auto !important;
  margin: 0 0 8px !important;
  padding: 4px 7px !important;
  border-radius: 5px !important;
  background: rgba(255, 200, 92, 0.1) !important;
  border: 0 !important;
  color: #ffc85c !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}
.home-vlog-title {
  color: #f5f5f5 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 0 6px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-vlog-meta {
  color: #b3b3b3 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}
.home-vlog-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}
.home-vlog-dots i {
  width: 10px;
  height: 10px;
  border-radius: 20px;
  background: #c4c4c4;
  display: block;
  cursor: pointer;
}
.home-vlog-dots i.on {
  background: #8080ff;
}
.home-vlog-rail {
  display: flex !important;
  flex-direction: column !important;
  width: 364px !important;
  height: 274px !important;
  margin: 0 !important;
  padding: 12px 8px 8px !important;
  box-sizing: border-box !important;
  background: #1a1b1e !important;
  border-radius: 0 0 10px 10px !important;
  gap: 0 !important;
  overflow: hidden !important;
}
.home-vlog-mini {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  height: 80px !important;
  min-height: 80px !important;
  padding: 16px 7px !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-bottom: 1px solid #262626 !important;
  border-radius: 0 !important;
  background: transparent !important;
  text-decoration: none !important;
  color: #fff !important;
  overflow: hidden;
}
.home-vlog-mini:last-child {
  border-bottom: 0 !important;
}
.home-vlog-mini-img {
  width: 78px !important;
  height: 48px !important;
  border-radius: 4px !important;
  object-fit: cover !important;
  flex-shrink: 0;
  background: #2a2b30;
}
.home-vlog-mini-title {
  flex: 1;
  min-width: 0;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 16px !important;
  color: #fff !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0 !important;
  padding: 0 !important;
}
/* 旧黑胶合成图样式已弃用（Figma web 右栏改为视频轨） */

/* ── 同城女友 ── */
.regions-section {
  padding: 48px 48px 24px !important;
  width: min(100%, var(--dg-home-max)) !important;
  max-width: var(--dg-home-max) !important;
  margin: 0 auto !important;
  background: transparent !important;
  box-sizing: border-box;
}
.regions-intro {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  width: var(--dg-home-rail) !important;
  max-width: 100% !important;
  margin: 0 auto 18px !important;
  box-sizing: border-box;
}
.regions-intro > p { display: none !important; }
.dg-regions-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dg-regions-title-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.dg-regions-title-row .section-label {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 !important;
  letter-spacing: 0 !important;
}
.home-more-strong,
.home-more {
  height: 28px;
  padding: 0 12px;
  border-radius: 16px;
  border: 0.8px solid #ff1290;
  background: #1d1e25;
  color: #fff !important;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dg-regions-slogan {
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin: 0 0 0 auto;
  text-align: right;
  flex: 0 0 auto;
}
.dg-regions-slogan em {
  color: #ff1290;
  font-style: normal;
}
.dg-hot-label {
  color: var(--dg-muted);
  font-size: 16px;
  margin: 8px 0 12px;
  text-align: left;
}
.regions-grid { display: none !important; }
.home-city-strip {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start !important;
  gap: 12px;
  width: var(--dg-home-rail) !important;
  max-width: 100% !important;
  margin: 0 auto 28px !important;
  box-sizing: border-box;
}
.home-city-strip .chip,
.home-city-strip a,
.home-city-strip button,
.home-city-pill {
  height: 36px;
  min-width: 98px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: var(--dg-chip) !important;
  color: var(--dg-sub) !important;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.home-city-strip .chip.active,
.home-city-pill.active {
  color: #fff !important;
  background: rgba(255, 18, 144, 0.22) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 18, 144, 0.55);
}

.streamers-panel-header {
  display: none !important;
}
/* SSR 注入会包一层 .ssr-ready，用 contents 让卡牌继续作为 grid 子项横排 */
.streamers-grid > .ssr-ready,
#d-streamers-grid > .ssr-ready {
  display: contents;
}
.streamers-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 220px) !important;
  justify-content: space-between !important;
  gap: 14px !important;
  width: var(--dg-home-rail) !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}
.streamer-card {
  width: 220px !important;
  max-width: 220px !important;
  background: #1a1b1e !important;
  border: 0 !important;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: none !important;
}
.streamer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35) !important;
}
.streamer-cover {
  width: 220px !important;
  height: 214px !important;
  aspect-ratio: auto !important;
  border-radius: 10px 10px 0 0 !important;
  position: relative;
  overflow: hidden;
  background: #121214;
}
.streamer-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.streamer-cover-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.streamer-badge { display: none !important; }
.streamer-info {
  padding: 10px 10px 12px !important;
  background: #1a1b1e;
}
.streamer-name {
  font-size: 16px !important;
  font-weight: 700;
  color: #fff !important;
  margin-bottom: 6px !important;
}
.streamer-handle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px !important;
  color: #fff !important;
  margin-bottom: 8px !important;
}
.streamer-handle .streamer-av {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  background: rgba(255, 18, 144, 0.2);
}
.streamer-handle .streamer-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.streamer-handle .streamer-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 114px;
  overflow: hidden;
}
.streamer-handle .streamer-user > span:not(.streamer-av) {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.streamer-handle .city {
  color: #b3b3b3 !important;
  min-width: 0;
  max-width: 52%;
  margin-left: auto;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.streamer-tags { gap: 6px !important; margin-bottom: 8px; }
.streamer-tag {
  font-size: 12px !important;
  padding: 4px 7px !important;
  border-radius: 5px !important;
  background: rgba(200, 154, 255, 0.1) !important;
  color: #b48dff !important;
  cursor: pointer;
}
.streamer-tag:nth-child(2) {
  background: rgba(92, 220, 255, 0.1) !important;
  color: #5c90ff !important;
}
.streamer-tag:nth-child(3) {
  background: rgba(255, 200, 92, 0.1) !important;
  color: #ffc85c !important;
}
.streamer-stats {
  border-top: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.streamer-stat {
  font-size: 12px !important;
  color: #f6d142 !important;
}
.streamer-stat strong {
  color: inherit !important;
  font-size: 12px !important;
  font-weight: 500;
}
.streamer-stat br { display: none; }
.streamer-stat:last-child {
  color: #fff !important;
}

/* Figma 首页无独立「视频社区」大区块 */
.community-section,
#content.community-section {
  display: none !important;
}

/* ── 动态广场 ── Figma 225:21639 */
.feed-section {
  padding: 56px 48px !important;
  width: min(100%, var(--dg-home-max)) !important;
  max-width: var(--dg-home-max) !important;
  margin: 0 auto !important;
  box-sizing: border-box;
}
.feed-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  width: var(--dg-home-rail) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}
.feed-section .section-label {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none;
  display: inline;
}
.feed-section .home-more-strong,
.feed-section .home-more {
  box-sizing: border-box;
  height: 30px !important;
  padding: 0 12px !important;
  border-radius: 16px !important;
  border: 0.8px solid #ff1290 !important;
  background: #1d1e25 !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Noto Sans SC", sans-serif;
  font-size: 16px !important;
  font-weight: 400 !important;
  font-style: normal;
  line-height: 22px !important;
  letter-spacing: 0 !important;
  text-decoration: none;
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(42px);
  transform: none !important;
}
.feed-section .home-more img {
  width: 5px;
  height: 8px;
  display: block;
  flex-shrink: 0;
}
.feed-section .home-more:hover,
.feed-section .home-more-strong:hover {
  background: #1d1e25 !important;
  color: #fff !important;
  transform: none !important;
}
.feed-section .section-title {
  font-family: "Douyin Sans", "DouyinSans", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  color: #fff !important;
  letter-spacing: -1.44px;
  line-height: 64px;
  margin: 0 auto 8px;
  width: var(--dg-home-rail) !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
.feed-section .section-title em {
  color: #ff1290 !important;
  font-style: normal !important;
  font-weight: 700 !important;
  font-family: inherit !important;
}
.feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 24px !important;
  margin: 28px auto 0 !important;
  width: var(--dg-home-rail) !important;
  max-width: 100% !important;
  box-sizing: border-box;
  align-items: start;
}
.feed-layout:has(#d-hot-topics:not([hidden])) {
  grid-template-columns: minmax(0, 1fr) 368px !important;
}
.feed-hot-topics {
  min-width: 0;
}
.feed-hot-topics[hidden] {
  display: none !important;
}
.feed-hot-card {
  box-sizing: border-box;
  width: 368px;
  max-width: 100%;
  padding: 12px;
  border-radius: 20px;
  background: #1d1e25;
  border: 1px solid #27282d;
  box-shadow: 0 2px 7.5px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  position: sticky;
  top: 106px;
}
.feed-hot-head {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 4px 0 12px 4px;
}
.feed-hot-ico {
  display: block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.feed-hot-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 22px;
  color: #fff;
}
.feed-hot-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.feed-hot-item {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 3px 8px;
  color: inherit;
  text-decoration: none;
}
.feed-hot-rank,
.feed-hot-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 30px;
  color: #b4b6c5;
}
.feed-hot-rank {
  width: 18px;
  flex-shrink: 0;
}
.feed-hot-name {
  flex: 1;
  min-width: 0;
  margin-left: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-hot-count {
  flex-shrink: 0;
  margin-left: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  color: #ff1290;
}
@media (max-width: 1100px) {
  .feed-layout:has(#d-hot-topics:not([hidden])) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .feed-hot-card {
    position: static;
    width: 100%;
  }
}
.post-card {
  background: #1a1b1e !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
  position: relative;
}

/* 首页动态卡：Figma 225:22015 正文灰字、金标、眼/心/评 */
.feed-section .post-title {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  line-height: 25px;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-section .post-content {
  font-size: 14px;
  color: #b4b6c5;
  line-height: 20px;
  margin: 0 0 10px;
}
.feed-section .post-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
}
.feed-section .post-topic-tag {
  font-size: 14px;
  color: #ffc85c;
  background: rgba(255, 200, 92, 0.1);
  border: 0;
  padding: 4px 7px;
  border-radius: 5px;
  line-height: 14px;
  text-decoration: none;
}
.feed-section .post-topic-tag:hover,
.feed-section .post-topic-tag:visited {
  color: #ffc85c;
  text-decoration: none;
}
.feed-section .post-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: 0;
}
.feed-section .post-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.feed-section .post-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  cursor: default;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  line-height: 20px;
}
.feed-section .post-action img {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}
.post-card .post-coin-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px 0 6px;
  border-radius: 10px;
  border: 1px solid #f5d79a;
  background: #322b2c;
  color: #ffc85c;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  z-index: 2;
}
.post-card .post-coin-badge img {
  width: 14px;
  height: 14px;
  display: block;
}
.post-card .post-lock {
  box-sizing: border-box;
  width: 100%;
  min-height: 150px;
  margin: 4px 0 14px;
  padding: 20px 16px 16px;
  border-radius: 8px;
  border: 1px solid #35363c;
  background: linear-gradient(160deg, rgb(35, 29, 25) 5.8%, rgb(79, 77, 86) 93.5%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}
.post-card .post-lock-head {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.post-card .post-lock-head img {
  width: 20px;
  height: 20px;
  display: block;
}
.post-card .post-lock-coins {
  margin: 0;
  color: #b3b3b3;
  font-size: 14px;
}
.post-card .post-lock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 34px;
  margin-top: 4px;
  border-radius: 12px;
  background: linear-gradient(105deg, rgb(255, 67, 167) 0%, rgb(239, 45, 249) 95.3%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.sidebar-card {
  background: #1a1b1e !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
}
.trending-num {
  color: #ff1290 !important;
}

/* ── 入驻 · Figma 225:21942 无区块大背景，仅标题 + 双卡 ── */
.sign-section {
  padding: 64px 0 !important;
  width: min(var(--dg-home-rail), calc(100% - 96px)) !important;
  max-width: var(--dg-home-rail) !important;
  margin: 0 auto 24px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box;
}
.sign-head,
.sign-inner {
  position: relative;
}
.sign-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.btn-submit {
  background: var(--dg-accent-grad) !important;
  border-radius: 12px !important;
}

/* ── Footer ── */
footer {
  background: #121214 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 48px 28px !important;
}
.footer-logo { color: #ff1290 !important; }
.footer-col h4 { color: #ff1290 !important; }
.footer-col a,
.footer-addrs a { color: rgba(255, 107, 157, 0.75) !important; }

.divider { display: none !important; }
.stars, .nebula { opacity: 0.35; }

/* 首页页脚与内容轨同宽 */
.page-wrap > footer.dg-site-footer .dg-site-footer-inner {
  width: var(--dg-home-rail) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}
.dg-site-footer-brand img {
  width: 143px;
  height: 66px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

/* ── Auth modal · Figma 4.7-注册 ── */
.dg-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(10px);
}
.dg-auth-panel {
  position: relative;
  width: 454px;
  max-width: 96vw;
  max-height: 92vh;
  overflow: auto;
  padding: 36px 42px 28px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: #121214;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.dg-auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.dg-auth-close:hover { color: #fff; }
.dg-auth-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.dg-auth-brand img {
  width: 119px;
  height: 55px;
  object-fit: contain;
}
.dg-auth-title {
  margin: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}
.dg-auth-sub {
  margin: 10px 0 22px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  line-height: 1.5;
}
.dg-auth-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dg-auth-label {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-top: 6px;
}
.dg-auth-input {
  width: 100%;
  height: 56px;
  box-sizing: border-box;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid #414141;
  background: #27272a;
  color: #fff;
  font-size: 16px;
  outline: none;
  font-family: inherit;
}
.dg-auth-input::placeholder { color: #b0b1b3; }
.dg-auth-input:focus {
  border-color: rgba(255, 18, 144, 0.65);
  box-shadow: 0 0 0 2px rgba(255, 18, 144, 0.15);
}
.dg-auth-pass-wrap { position: relative; }
.dg-auth-pass-wrap .dg-auth-input { padding-right: 44px; }
.dg-auth-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 4px;
}
.dg-auth-error {
  min-height: 16px;
  text-align: center;
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 4px;
}
.dg-auth-submit {
  margin-top: 10px;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(119deg, #ff43a7 0%, #ef2df9 95%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.dg-auth-submit:hover { filter: brightness(1.06); }
.dg-auth-submit:disabled { opacity: 0.6; cursor: wait; }
.dg-auth-switch {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: #fff;
}
.dg-auth-switch a {
  color: #ff1290 !important;
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

@media (max-width: 1180px) {
  .streamers-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .home-vlog-hero { grid-template-columns: 1fr 420px !important; }
}
/* 1000px 左右仍放不下「导航 + 搜索 + 社媒 + 登录注册」，导航换到第二行。 */
@media (min-width: 901px) and (max-width: 1060px) {
  :root { --dg-nav-height: 112px; }
  nav { height: auto; min-height: 62px; flex-wrap: wrap; padding-top: 10px !important; padding-bottom: 10px !important; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .home-vlog-hero { padding-top: calc(var(--dg-nav-height) + 16px) !important; }
}
@media (max-width: 900px) {
  :root { --dg-nav-height: 112px; }
  nav { padding: 0 16px !important; height: auto; min-height: 62px; flex-wrap: wrap; padding-top: 10px !important; padding-bottom: 10px !important; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .home-vlog-hero {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding: calc(var(--dg-nav-height) + 16px) 20px 32px !important;
  }
  .home-vlog-copy .hero-eyebrow { font-size: 16px; }
  .home-vlog-copy .hero-title { font-size: 32px !important; line-height: 1.3 !important; }
  .home-vlog-panel { order: -1; min-height: 360px; }
  .streamers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .feed-layout { grid-template-columns: 1fr !important; }
  .regions-section, .feed-section, .sign-section, footer { padding-left: 20px !important; padding-right: 20px !important; }
}
