:root {
  --primary-color: #666666;
  --secondary-color: #2575fc;
  --wechat-color: #07C160;
  --bg-color: #f5f7fa;
  --card-color: #ffffff;
  --text-color: #333333;
  --text-light: #666666;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
}
 

 
.back-btn {
  color: white;
  text-decoration: none;
  font-size: 20px;
  display: flex;
  align-items: center;
}
 
.back-btn span {
  font-size: 16px;
  margin-left: 4px;
}
 
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px;
}
 
.wallpaper-card {
  background-color: var(--card-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
 
.wallpaper-header {
  padding: 16px;
}
 
.wallpaper-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
}
 /* 面包屑导航样式 */
.breadcrumb {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
 
.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}
 
.breadcrumb a:hover {
  color: var(--secondary-color);
}
 
.breadcrumb-separator {
  margin: 0 6px;
  color: #999;
}
 
.breadcrumb-current {
  color: var(--text-light);
}
.preview-container {
  position: relative;
  padding: 16px;
  text-align: center;
}
 
.preview-frame {
  display: inline-block;
  position: relative;
  width: 60%;
  max-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 12px var(--card-color),
              0 0 0 14px rgba(0,0,0,0.1),
              var(--shadow);
  background-color: #f0f0f0;
}
 
.preview-frame::before {
  content: "";
  display: block;
  padding-top: 177.78%;
}
 
.preview-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
 
.preview-frame img:hover {
  transform: scale(1.02);
}
 
.preview-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 12px;
}
 
.preview-btn {
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
.preview-btn.download   {
  background-color: #6e8efb;
  color: white;
}
.preview-btn.download:hover {
  transform: scale(1.03);
}
.wallpaper-details {
  padding: 16px;
}
 
.detail-section {
  margin-bottom: 16px;
}
 
.detail-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-light);
}
 
.detail-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
}
 
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
 
.tag {
  padding: 4px 12px;
  background-color: rgba(106, 17, 203, 0.1);
  border-radius: 12px;
  font-size: 12px;
  color: var(--primary-color);
}
 
.related-section {
  margin: 30px 0;
}
 
.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}
 
.section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background: linear-gradient(var(--primary-color), var(--secondary-color));
  margin-right: 8px;
  border-radius: 2px;
}
 
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  gap: 12px;
}
 
.related-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 9/16;
  position: relative;
}
 
.related-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 
/* 模态框 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.9);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
 
.modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  max-width: 100%;
  width: 380px;
  animation: fadeInUp 0.3s;
}
 
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 
.modal-header {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  position: relative;
}
 
.modal-title {
  font-size: 16px;
  font-weight: 600;
}
 
.modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-light);
}
 
.modal-body {
  padding: 16px;
  text-align: center;
}
 
.qrcode-container {
  margin: 10px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
 
.qrcode-img {
  width: 180px;
  height: 180px;
  margin-bottom: 10px;
  border: 1px solid #eee;
}
 
.code-number {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 10px 0 5px;
}
 
.code-hint {
  font-size: 14px;
  color: var(--text-light);
}
 
.primary-hint {
  font-size: 15px;
  color: var(--wechat-color);
  font-weight: 500;
  margin: 0 0 15px 0;
}
 
.ad-area {
  width: 100%;
  height: 80px;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
  border-radius: 8px;
  color: var(--text-light);
  font-size: 13px;
}
 
.download-pc-hint {
  font-size: 12px;
  color: var(--text-light);
  margin: 10px;
}
 
.download-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: #f0f0f0;
  color: var(--text-light);
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  margin-top: 5px;
  border: 1px solid #e0e0e0;
  transition: all 0.2s;
}
 
.download-link:hover {
  background-color: #e8e8e8;
}
 
.weapp-tip {
  background-color: rgba(7, 193, 96, 0.1);
  padding: 10px;
  border-radius: 8px;
  margin: 10px 0;
  font-size: 14px;
}
 
/* 图标样式 */
.icon {
  font-style: normal;
  margin-right: 6px;
  font-size: 16px;
}
.xiaochengxu img {width: 180px; height: 180px;}