:root {
    --bg: #fff8f6;
    --primary: #ff3b42;
    --green: #3fa62e;
    --img-bg: #ffe8e0;
    --panel: #ffffff;
    --panel2: #fff4ef;
    --text: #2a1214;
    --sub: #8a6b6b;
    --muted: #b39a9a;
    --line: rgba(255, 59, 66, .22);
    --mono: 'Courier New', Courier, monospace;
    --sans: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: var(--sans);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  a { text-decoration: none; color: inherit; }
  img { display: block; max-width: 100%; object-fit: contain; background-color: var(--img-bg); }
  ul { list-style: none; }
  
  /* Header */
  .site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 248, 246, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    z-index: 100;
  }
  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo-area { display: flex; align-items: center; gap: 10px; }
  .logo-area img { height: 32px; border-radius: 6px; background: transparent; }
  .logo-text { font-weight: 700; font-size: 18px; }
  .logo-text span { color: var(--primary); }
  .nav-links { display: flex; gap: 20px; font-size: 14px; font-weight: 500; color: var(--sub); }
  .nav-links a:hover { color: var(--primary); }
  .header-btn {
    background: var(--primary);
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.2s;
  }
  .header-btn:hover { opacity: 0.9; }

  /* Hero */
  .hero-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .hero-content { position: relative; }
  .lab-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--panel2);
    border: 1px solid var(--line);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-family: var(--mono);
    margin-bottom: 24px;
  }
  .lab-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
  }
  @keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 66, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 59, 66, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 66, 0); }
  }
  .hero-content h1 { font-size: 48px; line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.5px; }
  .hero-content h1 span { color: var(--primary); }
  .hero-desc { font-size: 16px; color: var(--sub); margin-bottom: 32px; max-width: 400px; }
  .hero-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
  .hero-tags span {
    font-size: 13px;
    padding: 4px 10px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--green);
    font-weight: 600;
  }
  .hero-btns { display: flex; gap: 16px; }
  .btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(255, 59, 66, 0.2);
  }
  .btn-secondary {
    background: var(--panel);
    color: var(--text);
    border: 1px solid var(--line);
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
  }

  /* Hero Comparison */
  .lab-compare {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    box-shadow: 0 12px 32px rgba(255, 59, 66, 0.08);
  }
  .lab-compare::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(135deg, var(--primary), transparent 40%, var(--green));
    border-radius: 14px;
    z-index: -1;
    opacity: 0.15;
  }
  .compare-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-family: var(--mono);
    color: var(--sub);
    margin-bottom: 16px;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 12px;
  }
  .compare-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .compare-item { position: relative; }
  .compare-item img { width: 100%; border-radius: 8px; aspect-ratio: 2/3; }
  .compare-label {
    position: absolute; bottom: 8px; left: 8px;
    background: rgba(42, 18, 20, 0.7); color: #fff;
    font-size: 11px; padding: 2px 6px; border-radius: 4px;
  }
  .compare-label.mod { background: var(--primary); }
  .progress-area { margin-top: 20px; }
  .progress-text {
    display: flex; justify-content: space-between; font-size: 12px; font-family: var(--mono); color: var(--primary); font-weight: 700; margin-bottom: 6px;
  }
  .progress-bar-bg { height: 6px; background: var(--panel2); border-radius: 3px; overflow: hidden; }
  .progress-bar-fill { height: 100%; width: 25%; background: linear-gradient(90deg, var(--primary), #ff858a); animation: progressLoop 4s infinite ease-in-out; border-radius: 3px; }
  @keyframes progressLoop { 0% { width: 25%; } 50% { width: 98%; } 100% { width: 25%; } }

  /* Genres */
  .section-title { text-align: center; margin-bottom: 40px; }
  .section-title h2 { font-size: 32px; margin-bottom: 12px; }
  .section-title p { color: var(--sub); font-size: 15px; }
  .genres-section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
  .genres-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .genre-card {
    background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 16px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform 0.2s;
  }
  .genre-card:hover { transform: translateY(-4px); }
  .genre-card img { width: 60px; height: 80px; border-radius: 6px; margin-bottom: 12px; }
  .genre-card h3 { font-size: 15px; margin-bottom: 4px; }
  .genre-card span { font-size: 11px; font-family: var(--mono); color: var(--primary); }

  /* Steps */
  .steps-section { padding: 60px 20px; background: var(--panel2); }
  .steps-inner { max-width: 1200px; margin: 0 auto; }
  .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .step-card {
    background: var(--panel); border-radius: 12px; padding: 30px 20px; border: 1px solid var(--line); text-align: center;
  }
  .step-card img { height: 160px; margin: 0 auto 20px; border-radius: 8px; }
  .step-num { font-family: var(--mono); color: var(--green); font-size: 14px; font-weight: 700; margin-bottom: 8px; }
  .step-card h3 { font-size: 18px; margin-bottom: 12px; }
  .step-card p { font-size: 14px; color: var(--sub); }

  /* Ranking */
  .ranking-section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
  .ranking-list { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .rank-row {
    display: grid; grid-template-columns: 60px 60px 1fr 200px; align-items: center; gap: 20px; padding: 16px 24px; border-bottom: 1px solid var(--panel2);
  }
  .rank-row:last-child { border-bottom: none; }
  .rank-num { font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--primary); }
  .rank-row img { width: 48px; height: 64px; border-radius: 6px; }
  .rank-title h3 { font-size: 16px; margin-bottom: 4px; }
  .rank-title p { font-size: 12px; color: var(--sub); }
  .heat-bar-area { display: flex; align-items: center; gap: 12px; font-size: 12px; font-family: var(--mono); color: var(--primary); }
  .heat-bar-bg { flex: 1; height: 6px; background: var(--panel2); border-radius: 3px; overflow: hidden; }
  .heat-bar-fill { height: 100%; background: linear-gradient(90deg, var(--green), var(--primary)); border-radius: 3px; }

  /* Library */
  .library-section { padding: 60px 20px; background: var(--panel2); }
  .library-inner { max-width: 1200px; margin: 0 auto; }
  .filter-btns { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
  .filter-btn {
    background: var(--panel); border: 1px solid var(--line); color: var(--text); padding: 8px 16px; border-radius: 20px; font-size: 14px; cursor: pointer; transition: all 0.2s;
  }
  .filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
  .library-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .lib-card {
    background: var(--panel); border-radius: 8px; overflow: hidden; position: relative; border: 1px solid var(--line); display: flex; flex-direction: column;
  }
  .lib-card img { width: 100%; aspect-ratio: 2/3; }
  .lib-card-info { padding: 12px; }
  .lib-card-info h3 { font-size: 15px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lib-card-info p { font-size: 12px; color: var(--sub); }
  .sc-badge {
    position: absolute; top: 8px; left: 8px; background: rgba(42, 18, 20, 0.8); color: #fff; font-family: var(--mono); font-size: 10px; padding: 2px 6px; border-radius: 4px;
  }

  /* Wishlist */
  .wishlist-section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
  .wishlist-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .wish-card {
    background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column;
  }
  .wish-card img { width: 100%; aspect-ratio: 2/3; border-radius: 8px; margin-bottom: 12px; }
  .wish-card h3 { font-size: 14px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wish-progress-text { display: flex; justify-content: space-between; font-size: 11px; font-family: var(--mono); color: var(--sub); margin-bottom: 6px; }
  .wish-progress-bg { height: 4px; background: var(--panel2); border-radius: 2px; overflow: hidden; margin-bottom: 12px; }
  .wish-progress-fill { height: 100%; background: var(--primary); border-radius: 2px; transition: width 0.3s; }
  .wish-btn {
    margin-top: auto; background: var(--bg); border: 1px solid var(--primary); color: var(--primary); padding: 6px; border-radius: 4px; font-size: 12px; cursor: pointer; transition: all 0.2s;
  }
  .wish-btn.joined { background: var(--primary); color: #fff; border-color: var(--primary); }

  /* Experience */
  .experience-section { padding: 60px 20px; background: var(--panel2); text-align: center; overflow: hidden; }
  .experience-inner { max-width: 1200px; margin: 0 auto; position: relative; }
  .phone-carousel { display: flex; gap: 20px; overflow-x: auto; padding: 20px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .phone-carousel::-webkit-scrollbar { display: none; }
  .phone-mock { flex: 0 0 280px; scroll-snap-align: center; border-radius: 32px; border: 8px solid var(--text); overflow: hidden; background: var(--text); box-shadow: 0 16px 32px rgba(42, 18, 20, 0.15); }
  .phone-mock img { width: 100%; height: 500px; border-radius: 24px; background: var(--bg); }

  /* Comments */
  .comments-section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
  .score-badge { text-align: center; font-size: 32px; font-family: var(--mono); font-weight: 700; color: var(--primary); margin-bottom: 40px; }
  .score-badge span { font-size: 16px; color: var(--sub); font-weight: 400; margin-left: 8px; }
  .comments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .comment-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
  .comment-user { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
  .like-count { color: var(--sub); font-family: var(--mono); font-weight: 400; font-size: 12px; }
  .comment-text { font-size: 14px; color: var(--text); }

  /* Download */
  .download-section { padding: 40px 20px 80px; max-width: 1200px; margin: 0 auto; }
  .cta-box {
    background: var(--panel); border: 2px solid var(--primary); border-radius: 16px; padding: 60px 20px; text-align: center; position: relative; overflow: hidden; box-shadow: 0 20px 40px rgba(255, 59, 66, 0.1);
  }
  .cta-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--primary), var(--green)); }
  .cta-box h2 { font-size: 36px; margin-bottom: 16px; }
  .cta-box p { font-size: 16px; color: var(--sub); margin-bottom: 32px; }
  .btn-large { font-size: 18px; padding: 16px 48px; border-radius: 8px; }

  /* Footer */
  .site-footer {
    border-top: 1px solid var(--line); padding: 40px 20px; text-align: center; font-size: 13px; color: var(--muted); background: var(--bg);
  }
  .footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; font-size: 12px; }
  .footer-links a { color: var(--sub); }
  .footer-links a:hover { color: var(--primary); }
  details.about-us { margin-top: 8px; font-size: 12px; max-width: 800px; width: 100%; }
  details.about-us summary { cursor: pointer; color: var(--sub); outline: none; }
  details.about-us summary::-webkit-details-marker { display: none; }
  details.about-us p { margin-top: 10px; color: var(--muted); line-height: 1.8; text-align: left; }

  @media (max-width: 1024px) {
    .hero-section { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 36px; }
    .hero-desc { margin: 0 auto 32px; }
    .hero-tags, .hero-btns { justify-content: center; }
    .genres-grid { grid-template-columns: repeat(3, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
    .library-grid { grid-template-columns: repeat(3, 1fr); }
    .wishlist-grid { grid-template-columns: repeat(3, 1fr); }
    .comments-grid { grid-template-columns: repeat(2, 1fr); }
    .rank-row { grid-template-columns: 40px 48px 1fr; gap: 12px; }
    .heat-bar-area { display: none; }
    .nav-links { display: none; }
  }
  @media (max-width: 768px) {
    .genres-grid { grid-template-columns: repeat(2, 1fr); }
    .library-grid { grid-template-columns: repeat(2, 1fr); }
    .wishlist-grid { grid-template-columns: repeat(2, 1fr); }
    .comments-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .cta-box h2 { font-size: 28px; }
    .header-inner { justify-content: center; }
    .header-btn { display: none; }
  }