/* ============================================
   人才招聘 - Recruitment Styles
   样式来源: 最新版 careers.html 对应 style.css
   ============================================ */
/* ===== 通用段落样式 ===== */
.section {
  padding: 96px 0;
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: #E8F1FF;
  color: #1B6CFF;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #0A1633;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 18px;
  color: #5A6378;
  max-width: 640px;
  line-height: 1.75;
  margin: 0 auto;
}
/* ===== Animations ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInModal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* ===== Tab Navigation ===== */
.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid #F0F3F9;
  margin-bottom: 32px;
}
.tab-item {
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #5A6378;
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease;
}
.tab-item:hover {
  color: #1B6CFF;
}
.tab-item.active {
  color: #1B6CFF;
  font-weight: 600;
}
.tab-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #1B6CFF;
}
.tab-count {
  color: #9CA3B5;
  font-size: 12px;
}
.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}
.tab-panel.active {
  display: block;
}
/* ===== Container ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
main {
  /* ===== Banner ===== */
  /* ===== 招聘理念 Philosophy Section ===== */
  /* ===== 职位列表 Jobs Section ===== */
  /* ===== 企业文化 Culture Carousel ===== */
  /* ===== 福利待遇 Welfare Section ===== */
  /* ===== Responsive ===== */
}
main .banner {
  width: 100%;
  height: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url('/img/cooperationPic/cooperationBanner.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
main .banner .banner-title {
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 24px;
}
main .banner .banner-subtitle {
  font-size: 18px;
  color: #C5D6E7;
  width: 700px;
  margin: 0 auto;
  line-height: 32px;
}
main .philosophy-section {
  background: #FFFFFF;
}
main .philosophy-section .philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
main .philosophy-section .philosophy-text .section-title {
  margin-bottom: 16px;
}
main .philosophy-section .philosophy-text .section-desc {
  margin-bottom: 24px;
}
main .philosophy-section .philosophy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  background: #1B6CFF;
  color: #fff;
  box-shadow: 0 8px 24px rgba(27, 108, 255, 0.25);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}
main .philosophy-section .philosophy-btn:hover {
  background: #0A4FCC;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(27, 108, 255, 0.3);
}
main .philosophy-section .philosophy-btn svg {
  width: 18px;
  height: 18px;
}
main .philosophy-section .philosophy-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
main .philosophy-section .philosophy-stat {
  background: #F5F9FF;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: transform 0.3s ease;
}
main .philosophy-section .philosophy-stat:hover {
  transform: translateY(-4px);
}
main .philosophy-section .philosophy-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: #1B6CFF;
}
main .philosophy-section .philosophy-stat-num span {
  display: inline;
}
main .philosophy-section .philosophy-stat-label {
  font-size: 14px;
  color: #5A6378;
  margin-top: 8px;
}
main .jobs-section {
  background: #F8FAFF;
}
main .jobs-section .section-head {
  text-align: center;
  margin-bottom: 48px;
}
main .jobs-section .job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
main .jobs-section .job-card {
  background: #FFFFFF;
  border: 1px solid #F0F3F9;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
main .jobs-section .job-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, #1B6CFF 0%, #00C2FF 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
main .jobs-section .job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 22, 51, 0.1);
  border-color: #E8F1FF;
}
main .jobs-section .job-card:hover::before {
  transform: scaleY(1);
}
main .jobs-section .job-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
main .jobs-section .job-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0A1633;
}
main .jobs-section .job-card-salary {
  font-size: 18px;
  font-weight: 700;
  color: #1B6CFF;
}
main .jobs-section .job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #9CA3B5;
  margin-bottom: 12px;
}
main .jobs-section .job-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
main .jobs-section .job-card-meta svg {
  width: 14px;
  height: 14px;
}
main .jobs-section .job-card-desc {
  font-size: 14px;
  color: #5A6378;
  line-height: 1.75;
  margin-bottom: 12px;
}
main .jobs-section .job-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
main .jobs-section .job-card-tags span {
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
  background: #F8FAFF;
  color: #5A6378;
}
main .jobs-section .job-card-action {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #F0F3F9;
}
main .jobs-section .job-card-detail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #1B6CFF;
  font-weight: 600;
  transition: gap 0.15s ease;
}
main .jobs-section .job-card:hover .job-card-detail {
  gap: 8px;
}
main .jobs-section .job-card-detail svg {
  width: 14px;
  height: 14px;
}
main .culture-section {
  background: #FFFFFF;
  /* Swiper 分页器 bullet 覆盖 */
}
main .culture-section .culture-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(10, 22, 51, 0.1);
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0 24px;
}
main .culture-section .carousel-slide {
  box-sizing: border-box;
  position: relative;
  height: auto;
  /* Swiper 自动计算 */
}
main .culture-section .carousel-slide-inner {
  height: 340px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: #E8EDF5;
  /* 图片加载前的占位底色 */
}
main .culture-section .carousel-slide-inner:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}
main .culture-section .carousel-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
main .culture-section .carousel-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 100%);
  z-index: 1;
}
main .culture-section .carousel-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  z-index: 3;
}
main .culture-section .carousel-slide-caption h4 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
main .culture-section .carousel-slide-caption p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
}
main .culture-section .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
main .culture-section .carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
main .culture-section .carousel-btn svg {
  width: 22px;
  height: 22px;
  color: #0A1633;
}
main .culture-section .carousel-prev {
  left: 12px;
}
main .culture-section .carousel-next {
  right: 12px;
}
main .culture-section .carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
main .culture-section .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(27, 108, 255, 0.25);
  opacity: 1;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 4px !important;
}
main .culture-section .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 4px;
  background: #1B6CFF;
}
main .welfare-section {
  background: #FFFFFF;
}
main .welfare-section .welfare-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
main .welfare-section .welfare-card {
  background: #FFFFFF;
  border: 1px solid #F0F3F9;
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}
main .welfare-section .welfare-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(10, 22, 51, 0.08);
  border-color: #E8F1FF;
}
main .welfare-section .welfare-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #F5F9FF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
main .welfare-section .welfare-card-icon svg {
  width: 22px;
  height: 22px;
  color: #1B6CFF;
}
main .welfare-section .welfare-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: #0A1633;
  margin-bottom: 4px;
}
main .welfare-section .welfare-card p {
  font-size: 12px;
  color: #9CA3B5;
  line-height: 1.5;
}
@media (max-width: 1024px) {
  main .philosophy-section .philosophy-grid {
    grid-template-columns: 1fr;
  }
  main .jobs-section .job-grid {
    grid-template-columns: 1fr;
  }
  main .culture-section .carousel-slide-inner {
    height: 300px;
  }
  main .welfare-section .welfare-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  main .banner .banner-subtitle {
    width: 100%;
  }
  main .section {
    padding: 64px 0;
  }
  main .philosophy-section .philosophy-stats {
    grid-template-columns: 1fr;
  }
  main .culture-section .carousel-slide-inner {
    height: 280px;
  }
  main .culture-section .carousel-slide-icon {
    width: 72px;
    height: 72px;
  }
  main .culture-section .carousel-btn {
    width: 36px;
    height: 36px;
  }
  main .culture-section .carousel-btn svg {
    width: 18px;
    height: 18px;
  }
  main .welfare-section .welfare-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== Job Detail Modal (fixed position, outside main) ===== */
.job-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.job-modal.active {
  display: flex;
}
.job-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  animation: fadeInModal 0.25s ease;
}
.job-modal-content {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.job-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F8FAFF;
  border: 1px solid #F0F3F9;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5A6378;
  transition: all 0.15s ease;
}
.job-modal-close::before,
.job-modal-close::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.job-modal-close::before {
  transform: rotate(45deg);
}
.job-modal-close::after {
  transform: rotate(-45deg);
}
.job-modal-close:hover {
  background: #FFEAEA;
  color: #FF4D4F;
  border-color: #FF4D4F;
}
.job-modal-header {
  padding-bottom: 20px;
  border-bottom: 1px solid #F0F3F9;
  margin-bottom: 20px;
}
.job-modal-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  background: #E8F1FF;
  color: #1B6CFF;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.job-modal-title {
  font-size: 30px;
  font-weight: 700;
  color: #0A1633;
  line-height: 1.3;
  margin-bottom: 12px;
}
.job-modal-salary {
  display: inline-block;
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, #1B6CFF 0%, #00C2FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.job-modal-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #F0F3F9;
}
.job-modal-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #5A6378;
}
.job-modal-meta-item svg {
  width: 18px;
  height: 18px;
  color: #1B6CFF;
  flex-shrink: 0;
}
.job-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.job-modal-tags span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  background: #E8F1FF;
  color: #1B6CFF;
  font-size: 12px;
  font-weight: 500;
}
.job-modal-section {
  margin-bottom: 24px;
}
.job-modal-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #0A1633;
  margin-bottom: 12px;
}
.job-modal-section h3 svg {
  width: 18px;
  height: 18px;
  color: #1B6CFF;
}
.job-modal-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.job-modal-section li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #5A6378;
  line-height: 1.75;
  margin-bottom: 8px;
}
.job-modal-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1B6CFF;
}
.job-modal-footer {
  display: flex;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #F0F3F9;
}
.job-modal-apply-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  background: #1B6CFF;
  color: #fff;
  box-shadow: 0 8px 24px rgba(27, 108, 255, 0.25);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}
.job-modal-apply-btn:hover {
  background: #0A4FCC;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(27, 108, 255, 0.3);
}
.job-modal-cancel-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  color: #5A6378;
  border: 1.5px solid #F0F3F9;
  cursor: pointer;
  transition: all 0.15s ease;
}
.job-modal-cancel-btn:hover {
  border-color: #1B6CFF;
  background: #F5F9FF;
}
@media (max-width: 768px) {
  .job-modal-content {
    padding: 20px;
  }
  .job-modal-meta {
    grid-template-columns: 1fr;
  }
  .job-modal-title {
    font-size: 24px;
  }
  .job-modal-footer {
    flex-direction: column;
  }
}
/* ===== Email 邮箱弹窗 Email Modal ===== */
.email-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.email-modal.active {
  display: flex;
}
.email-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  animation: fadeInModal 0.25s ease;
}
.email-modal-content {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  padding: 40px 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}
.email-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F8FAFF;
  border: 1px solid #F0F3F9;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5A6378;
  transition: all 0.15s ease;
}
.email-modal-close::before,
.email-modal-close::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.email-modal-close::before {
  transform: rotate(45deg);
}
.email-modal-close::after {
  transform: rotate(-45deg);
}
.email-modal-close:hover {
  background: #FFEAEA;
  color: #FF4D4F;
  border-color: #FF4D4F;
}
.email-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1B6CFF 0%, #00C2FF 100%);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(27, 108, 255, 0.3);
}
.email-modal-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
}
.email-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #0A1633;
  margin: 0 0 8px;
}
.email-modal-desc {
  font-size: 14px;
  color: #5A6378;
  margin: 0 0 24px;
  line-height: 1.6;
}
.email-modal-address {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  background: #F5F9FF;
  border: 2px dashed #1B6CFF;
  font-size: 18px;
  font-weight: 700;
  color: #1B6CFF;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  word-break: break-all;
}
.email-modal-actions {
  display: flex;
  gap: 12px;
}
.email-modal-copy-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  background: #1B6CFF;
  color: #fff;
  box-shadow: 0 8px 24px rgba(27, 108, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.email-modal-copy-btn:hover {
  background: #0A4FCC;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(27, 108, 255, 0.3);
}
.email-modal-copy-btn.copied {
  background: #10B981;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}
.email-modal-copy-btn.copied:hover {
  background: #059669;
}
.email-modal-mailto-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  color: #5A6378;
  border: 1.5px solid #F0F3F9;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}
.email-modal-mailto-btn:hover {
  border-color: #1B6CFF;
  background: #F5F9FF;
  color: #1B6CFF;
}
@media (max-width: 768px) {
  .email-modal-content {
    padding: 28px 20px;
  }
  .email-modal-address {
    font-size: 16px;
    padding: 10px 16px;
  }
  .email-modal-actions {
    flex-direction: column;
  }
}
/* ===== 轮播图详情弹窗 Moment Detail Modal ===== */
.moment-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.moment-detail-modal.active {
  display: flex;
}
.moment-detail-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  animation: fadeInModal 0.3s ease;
}
.moment-detail-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}
.moment-detail-close::before,
.moment-detail-close::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}
.moment-detail-close::before {
  transform: rotate(45deg);
}
.moment-detail-close::after {
  transform: rotate(-45deg);
}
.moment-detail-close:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: rotate(90deg);
  transition: all 0.35s ease;
}
.moment-detail-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 85vw;
  max-height: 90vh;
}
.moment-detail-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  animation: momentImageIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.moment-detail-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.moment-detail-image {
  display: block;
  max-width: 80vw;
  max-height: 65vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  transition: transform 0.4s ease;
}
.moment-detail-caption {
  text-align: center;
  margin-top: 28px;
  animation: momentTextIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}
.moment-detail-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.moment-detail-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}
/* ------ 动画关键帧 ------ */
@keyframes momentImageIn {
  from {
    opacity: 0;
    transform: scale(0.7) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes momentTextIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ------ 移动端适配 ------ */
@media (max-width: 768px) {
  .moment-detail-modal {
    padding: 16px;
  }
  .moment-detail-close {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
  .moment-detail-close::before,
  .moment-detail-close::after {
    width: 16px;
  }
  .moment-detail-body {
    max-width: 95vw;
    max-height: 92vh;
  }
  .moment-detail-image {
    max-width: 90vw;
    max-height: 50vh;
  }
  .moment-detail-title {
    font-size: 22px;
  }
  .moment-detail-subtitle {
    font-size: 14px;
  }
  .moment-detail-caption {
    margin-top: 20px;
  }
  .moment-detail-image-wrap {
    border-radius: 14px;
  }
  .moment-detail-image {
    border-radius: 14px;
  }
}
