/**
 * 一日女友 · Web 公共壳（顶栏 / 登录弹窗 / token）
 * 各业务页引入；首页专用布局仍用 dg-home-figma.css
 */
:root {
  --dg-accent: #ff1290;
  --dg-accent-soft: #ff43a7;
  --dg-accent-grad: linear-gradient(106deg, #ff43a7 0%, #ef2df9 95%);
  --dg-header: #1a1b1e;
  --dg-surface: #1a1b1e;
  --aurora: #ff1290;
  --lavender: #ff6b9d;
}
/* ── 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;
  justify-content: flex-start !important;
  gap: 16px;
  background: var(--dg-header) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  z-index: 200;
}

nav .logo {
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 79px;
  width: 79px;
  flex-shrink: 0;
  font-size: 0 !important;
  letter-spacing: 0 !important;
}
nav .logo > div:first-child {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
nav .logo-dot { display: none !important; }
nav .dg-logo-img {
  width: 79px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 0;
}
/* 默认隐藏文字 Logo；有后台品牌配置时由 JS 显示并隐藏 SVG 字标 */
#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: 16px !important;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}
/* Figma Header Button: 80×38, p-x 12, PingFang Medium 14 / leading-none, nowrap */
.nav-links a {
  height: 38px !important;
  width: 80px !important;
  min-width: 80px !important;
  max-width: 80px !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-size: 14px !important;
  font-weight: 500;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: 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-color: #ff1290 !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: none;
}

.nav-search-wrap {
  /* 顶到右侧头像旁；勿用 margin:0 盖掉 margin-left:auto */
  position: relative;
  margin: 0 0 0 auto !important;
  min-width: 180px !important;
  max-width: 320px !important;
  flex: 0 1 320px;
}
.nav-search-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(360px, 86vw);
  max-height: 70vh;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 18, 144, 0.18);
  background: #1a1b1e;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  padding: 12px;
  z-index: 3200;
}
.nav-search-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 8px;
}
.nav-search-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
}
.nav-search-item:hover { background: rgba(255, 18, 144, 0.12); }
.nav-search-history-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 18, 144, 0.15);
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}
.nav-search-item .t { font-size: 13px; color: #e8e0ff; }
.nav-search-empty {
  padding: 20px 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.28);
  font-size: 12px;
}
.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;
  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;
}
/* 去掉部分浏览器 search 控件自带清除钮占位导致的错位（与自定义 × 二选一，保留自定义） */
.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;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 0;
  flex-shrink: 0;
}
.nav-search-action::before {
  display: none;
  content: none;
}

#nav-auth-area .nav-cta {
  height: 36px;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--dg-accent-grad) !important;
  border: 0 !important;
}
#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;
}
#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%;
}
/* 子页顶栏头像（.nav-user-link），避免登录后用户图按原尺寸撑破顶栏 */
a.nav-user-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: 12px;
  display: block;
  flex-shrink: 0;
  background: linear-gradient(135deg, #ff43a7, #ef2df9);
}
a.nav-user-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Hero ── */
.home-vlog-hero {
  min-height: 724px !important;
  max-width: 1520px;
  margin: 0 auto;
  padding: 90px 48px 40px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 700px) !important;
  gap: 40px !important;
  align-items: center !important;
  text-align: left !important;
  position: relative;
  overflow: hidden;
}
.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-badge {
  height: auto !important;
  margin: 0 0 22px !important;
  padding: 8px 18px !important;
  border-radius: 16px !important;
  border: 0.8px solid rgba(255, 18, 144, 0.5) !important;
  background: #1d1e25 !important;
  color: #fff !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  backdrop-filter: blur(20px);
}
.home-vlog-copy .hero-badge-dot {
  background: #ff1290 !important;
  width: 6px;
  height: 6px;
}
.home-vlog-copy .hero-title {
  font-family: "Noto Sans SC", "PingFang SC", sans-serif !important;
  font-size: clamp(42px, 5vw, 60px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  color: #fff !important;
  max-width: none !important;
}
.home-vlog-copy .hero-title span,
.home-vlog-copy .hero-title .en {
  display: none !important;
}
.home-vlog-copy .hero-sub {
  max-width: 496px !important;
  margin: 28px 0 36px !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
  color: var(--dg-muted) !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: 46px !important;
  width: 180px;
  border-radius: 12px !important;
  padding: 0 16px !important;
  font-size: 16px !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: var(--dg-accent-grad) !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(86, 86, 86, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}
.home-quick { display: none !important; }

.home-vlog-panel {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  min-height: 520px;
  overflow: visible !important;
}
.home-vlog-panel::before {
  content: none !important;
  display: none !important;
}
.home-vlog-main,
.home-vlog-rail,
.home-play,
.home-vlog-info {
  display: none !important;
}
/* Figma 41:6848 右上视觉：按图层叠放，不要合成一张图 */
.dg-hero-visual {
  --hv-w: 654.25;
  --hv-h: 557;
  width: min(100%, 654px);
  aspect-ratio: 654.25 / 557;
  position: relative;
  filter: drop-shadow(0 20px 50px rgba(255, 18, 144, 0.25));
  cursor: pointer;
  background: none !important;
  container-type: inline-size;
}
.dg-hv-layer {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
  max-width: none;
}
.dg-hv-panel {
  left: 5.09%;
  top: 0;
  width: 62.16%;
  height: 100%;
  object-fit: fill;
  z-index: 1;
}
.dg-hv-vinyl {
  left: 13.07%;
  top: 26.57%;
  width: 46.92%;
  height: 55.66%;
  object-fit: contain;
  z-index: 2;
}
.dg-hv-decor {
  left: 59.53%;
  top: 20.92%;
  width: 27.21%;
  height: 23.88%;
  object-fit: contain;
  z-index: 3;
}
.dg-hv-person {
  left: 39.63%;
  top: 8.98%;
  width: 60.37%;
  height: 91.02%;
  object-fit: contain;
  object-position: center bottom;
  z-index: 4;
}
.dg-hv-avatar {
  left: 31.22%;
  top: 47.18%;
  width: 11.46%;
  height: 13.46%;
  object-fit: contain;
  z-index: 5;
}
/* 41:8492 粉条 + 41:8493 T 文本框 */
.dg-hv-ribbon {
  position: absolute;
  left: 0;
  top: 70.38%;
  width: 86.21%;
  height: 18.67%;
  z-index: 6;
  pointer-events: none;
}
.dg-hv-bar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  user-select: none;
  max-width: none;
}
.dg-hero-ribbon {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 16%;
  bottom: 20%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: none !important;
  color: #fff;
  font-family: "Douyin Sans", "DouyinSans", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-weight: 700;
  font-size: clamp(14px, calc(40 * 100cqw / 654), 40px);
  line-height: 1;
  letter-spacing: -1.6px;
  white-space: nowrap;
  text-align: center;
  transform: rotate(-3.3deg);
  transform-origin: center center;
  pointer-events: none;
  z-index: 7;
}

/* ── 同城女友 ── */
.regions-section {
  padding: 48px 48px 24px !important;
  max-width: 1520px;
  margin: 0 auto;
  background: transparent !important;
}
.regions-intro {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 18px !important;
}
.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;
}
.dg-regions-slogan em {
  color: #ff1290;
  font-style: normal;
}
.dg-hot-label {
  color: var(--dg-muted);
  font-size: 16px;
  margin: 8px 0 12px;
}
.regions-grid { display: none !important; }
.home-city-strip {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.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;
}
.streamers-grid > .ssr-ready,
#d-streamers-grid > .ssr-ready {
  display: contents;
}
.streamers-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
}
.streamer-card {
  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 {
  aspect-ratio: 220 / 214 !important;
  border-radius: 10px 10px 0 0 !important;
}
.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;
  flex-shrink: 0;
  margin-left: auto;
}
.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;
}

/* ── 动态广场 ── */
.feed-section {
  padding: 56px 48px !important;
  max-width: 1520px;
  margin: 0 auto;
}
.feed-section .section-title {
  font-size: 28px !important;
  font-weight: 800;
  margin-bottom: 8px;
}
.feed-layout {
  grid-template-columns: minmax(0, 1fr) 320px !important;
  gap: 24px !important;
  margin-top: 28px !important;
}
.post-card {
  background: #1a1b1e !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
}
.sidebar-card {
  background: #1a1b1e !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
}
.trending-num {
  color: #ff1290 !important;
}

/* ── 入驻 ── */
.sign-section {
  padding: 64px 48px !important;
  max-width: 1520px;
  margin: 0 auto 24px;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(255, 18, 144, 0.1), rgba(29, 30, 37, 0.9)) !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; }

/* ── 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: 93px;
  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;
}

/* ── Auth 全页 · Figma 225:41411 / 225:41496 ── */
body.dg-auth-page {
  background: #111 !important;
  min-height: 100vh;
}
body.dg-auth-page .nav-search-wrap {
  margin-left: auto !important;
  min-width: 280px !important;
  max-width: 370px !important;
  flex: 0 1 370px !important;
  width: 370px !important;
}
body.dg-auth-page .nav-search-box {
  width: 100% !important;
  height: 38px !important;
}
body.dg-auth-page .dg-auth-page-main {
  min-height: calc(100vh - 362px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 99px 16px 80px;
  box-sizing: border-box;
}
body.dg-auth-page .dg-auth-overlay {
  position: static;
  display: flex !important;
  inset: auto;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}
body.dg-auth-page .dg-auth-panel {
  margin: 0;
}
body.dg-auth-page .dg-auth-label:first-of-type {
  margin-top: 0;
}

/* ── 全站页脚（原在 dg-content-figma，短页如入驻/个人中心也需要） ── */
body:has(> .dg-site-footer) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body:has(> .dg-site-footer) > main,
body:has(> .dg-site-footer) > .page,
body:has(> .dg-site-footer) > .page-wrap,
body:has(> .dg-site-footer) > .layout {
  /* 勿 shrink：否则 height:100% 的 body 会把 .layout 压成视口高，页脚飞到内容中间 */
  flex: 1 0 auto;
}
.dg-site-footer {
  width: 100%;
  flex-shrink: 0;
  margin-top: auto;
  padding: 56px 48px 28px;
  background: #1a1b1e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}
.dg-site-footer-inner {
  max-width: 1430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  column-gap: 64px;
  row-gap: 12px;
  align-items: start;
}
.dg-site-footer-brand {
  display: contents;
}
.dg-site-footer-brand img {
  width: 143px;
  height: 50px;
  object-fit: contain;
  object-position: left center;
  display: block;
  margin-bottom: 0;
  grid-column: 1;
  grid-row: 1;
}
.dg-site-footer-note {
  font-size: 14px;
  line-height: 1.5;
  color: #b0b1b3;
  margin-bottom: 0;
  white-space: nowrap;
  grid-column: 1;
  grid-row: 2;
}
.dg-site-footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-column: 1;
  grid-row: 3;
  margin-top: 10px;
}
.dg-site-footer-copy {
  font-size: 16px;
  line-height: 29px;
  color: #fff;
  letter-spacing: 0.02em;
}
.dg-site-footer-meta-line {
  font-size: 16px;
  line-height: 29px;
  color: #fff;
  word-break: break-all;
}
.dg-site-footer-link {
  color: #ff1290;
  text-decoration: none;
}
.dg-site-footer-link:hover {
  text-decoration: underline;
}
.dg-site-footer-cols {
  display: flex;
  gap: 96px;
  padding-top: 0;
  grid-column: 2;
  grid-row: 3;
  margin-top: 10px;
  align-self: start;
}
.dg-site-footer-col {
  min-width: 60px;
}
.dg-site-footer-col h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1;
}
.dg-site-footer-col a {
  display: block;
  font-size: 16px;
  line-height: 30px;
  color: #fff;
  text-decoration: none;
  margin-bottom: 2px;
}
.dg-site-footer-col a:hover {
  color: #fff;
  text-decoration: underline;
  opacity: 0.85;
}

/* 全站空态（Figma 48:8669）— 网格内占满整行，避免挤在第一列 */
.dg-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 420px;
  padding: 64px 16px 80px;
  text-align: center;
  box-sizing: border-box;
  grid-column: 1 / -1;
}
.dg-empty-illust {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 24px;
}
.dg-empty-text {
  font-size: 16px;
  line-height: 20px;
  color: #888;
  font-weight: 400;
}
.dg-empty-retry {
  margin-top: 20px;
  height: 40px;
  padding: 0 22px;
  border: 0;
  border-radius: 20px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  background: #ff1290;
}
.dg-empty-retry:hover {
  filter: brightness(1.08);
}
.content-grid:has(> .dg-empty),
.feed-list:has(> .dg-empty),
.posts-list:has(> .dg-empty),
.girls-grid:has(> .dg-empty) {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 900px) {
  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; }
  .dg-site-footer {
    padding: 32px 16px;
  }
  .dg-site-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .dg-site-footer-cols {
    grid-column: 1;
    grid-row: auto;
    gap: 40px;
    margin-top: 0;
  }
}
