.detail-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 80px;
}

.detail-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

/* 左侧图库 */
.gallery-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 16px;
}

.main-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #1a1225;
  margin-bottom: 12px;
}

.main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-heart {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.25s;
  font-size: 1.1rem;
}

.photo-heart:hover, .photo-heart.liked {
  background: rgba(255, 45, 106, 0.85);
}

.thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 45, 106, 0.55) rgba(255, 255, 255, 0.06);
}

/* 缩略图横向滚动条美化 */
.thumbs::-webkit-scrollbar {
  height: 6px;
}

.thumbs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
}

.thumbs::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--pink), var(--pink-light));
  border-radius: 3px;
}

.thumbs::-webkit-scrollbar-thumb:hover {
  background: var(--pink-light);
}

.thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.25s;
}

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

/* 视频缩略图与主区播放 */
.thumb {
  position: relative;
}

.thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
  pointer-events: none;
}

.thumb .play-badge {
  position: absolute;
  right: 3px;
  bottom: 3px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 4px;
  pointer-events: none;
  white-space: nowrap;
}

.main-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

/* 视频加载中覆盖层 */
.video-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(10, 6, 16, 0.55);
  color: #fff;
  font-size: 0.82rem;
  backdrop-filter: blur(3px);
}

.video-loading::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--pink, #ff2d6a);
  animation: dspin 0.8s linear infinite;
}

@keyframes dspin {
  to { transform: rotate(360deg); }
}

.thumb.active, .thumb:hover {
  border-color: var(--pink);
  opacity: 1;
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* 右侧信息 */
.info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.info-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.info-id {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.verified {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(80, 180, 120, 0.2);
  color: #6ddea0;
  border: 1px solid rgba(80, 180, 120, 0.35);
}

.info-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.info-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-box { text-align: center; }
.stat-box .num {
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--pink-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-box .label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.price-main {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pink-light);
}

.price-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-bottom: 22px;
  font-size: 0.88rem;
}

.service-item {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.service-item span:last-child {
  color: var(--text);
  font-weight: 500;
}

.service-item .yes { color: #6ddea0; }
.service-item .no { color: #e07080; }

.note-box {
  background: rgba(255, 45, 106, 0.06);
  border: 1px solid rgba(255, 45, 106, 0.15);
  border-radius: 12px;
  padding: 14px;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.action-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-btns .btn { width: 100%; }

/* Profile section */
.profile-section {
  margin-bottom: 48px;
}

.section-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.section-heading span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 10px;
}

.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), transparent);
  border-radius: 2px;
  margin-bottom: 28px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.detail-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  font-size: 0.9rem;
}

.detail-list dt { color: var(--text-muted); }
.detail-list dd { color: var(--text); }

.promise-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.promise-box h4 {
  font-size: 0.9rem;
  margin-bottom: 14px;
  color: var(--pink-light);
}

.promise-box li {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding-left: 4px;
}

/* 推荐 */
.related-section { margin-top: 20px; }

.related-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

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

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.35s;
  text-decoration: none;
  color: inherit;
}

.related-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 45, 106, 0.4);
  box-shadow: 0 12px 32px -8px var(--pink-glow);
}

.related-card .img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-card .info {
  padding: 10px 12px 12px;
}

.related-card .loc {
  font-size: 0.75rem;
  color: var(--pink-light);
}

.related-card .name {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 2px 0;
}

.related-card .meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

footer.simple {
  padding: 28px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .detail-top { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .info-panel { padding: 20px; }
}
