:root {
    --bg: #0d0f14;
    --bg-soft: #151922;
    --bg-card: #1c212c;
    --line: rgba(255,255,255,.08);
    --text: #e8ecf3;
    --text-dim: #9aa4b5;
    --accent: #ff4d6d;
    --accent-soft: rgba(255,77,109,.14);
    --gold: #f5c26b;
    --radius: 14px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  .wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
  .sec { padding: 44px 0; }
  .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
  .sec-head h2 { font-size: 21px; letter-spacing: .5px; }
  .sec-head .sub { font-size: 13px; color: var(--text-dim); }
  .tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 20px; background: var(--accent-soft); color: var(--accent); }
  .note { font-size: 12px; color: var(--text-dim); margin-top: 10px; }

  /* header */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(13,15,20,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner { display: flex; align-items: center; gap: 16px; height: 60px; }
  .brand { display: flex; align-items: center; gap: 8px; flex: none; }
  .brand img { height: 32px; width: auto; border-radius: 6px; }
  .brand span { font-weight: 700; font-size: 16px; letter-spacing: 1px; white-space: nowrap; }
  .nav { display: none; align-items: center; gap: 18px; font-size: 14px; color: var(--text-dim); }
  .nav a:hover { color: var(--text); }
  .search { margin-left: auto; display: flex; align-items: center; gap: 6px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 30px; padding: 6px 14px; }
  .search input { background: transparent; border: 0; color: var(--text); font-size: 13px; outline: none; width: 92px; }
  .search input::placeholder { color: var(--text-dim); }
  .search button { background: transparent; border: 0; color: var(--accent); font-size: 13px; cursor: pointer; }
  .dl-btn {
    flex: none; background: var(--accent); color: #fff;
    font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 30px;
    transition: transform .2s, background .2s;
  }
  .dl-btn:hover { transform: translateY(-1px); background: #ff6680; }

  /* hero */
  .hero { padding: 34px 0 10px; background: radial-gradient(circle at 80% 0%, rgba(255,77,109,.12), transparent 60%); }
  .hero h1 { font-size: 27px; line-height: 1.35; letter-spacing: .5px; margin-bottom: 12px; }
  .hero h1 em { font-style: normal; color: var(--accent); }
  .hero-lead { font-size: 14.5px; color: var(--text-dim); max-width: 560px; margin-bottom: 18px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
  .stat { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 10px; text-align: center; }
  .stat b { display: block; font-size: 20px; color: var(--gold); letter-spacing: .5px; }
  .stat span { font-size: 12px; color: var(--text-dim); }
  .stat i { display: block; font-size: 10px; color: var(--accent); font-style: normal; margin-top: 2px; }

  /* carousel */
  .carousel { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-soft); touch-action: pan-y; user-select: none; }
  .carousel-track { display: flex; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
  .slide { flex: 0 0 100%; display: flex; gap: 14px; padding: 14px; }
  .slide-cover { flex: 0 0 128px; border-radius: 10px; overflow: hidden; background: #222; }
  .slide-cover img { width: 100%; height: 176px; object-fit: cover; }
  .slide-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
  .slide-info h3 { font-size: 17px; margin-bottom: 6px; }
  .slide-info .meta { font-size: 12px; color: var(--accent); margin-bottom: 6px; }
  .slide-info p { font-size: 13px; color: var(--text-dim); }
  .carousel-dots { display: flex; gap: 6px; justify-content: center; padding: 0 0 12px; }
  .carousel-dots button { width: 6px; height: 6px; border-radius: 50%; border: 0; background: rgba(255,255,255,.25); cursor: pointer; transition: width .2s, background .2s; }
  .carousel-dots button.active { width: 18px; border-radius: 4px; background: var(--accent); }

  /* cards */
  .card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .drama-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform .2s, border-color .2s; }
  .drama-card:hover, .drama-card.active { transform: translateY(-2px); border-color: var(--accent); }
  .drama-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .drama-card .card-body { padding: 8px 10px 10px; }
  .drama-card .card-body h3 { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .drama-card .card-body span { font-size: 11px; color: var(--text-dim); }
  .select-info { margin-top: 14px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font-size: 13px; }
  .select-info b { color: var(--accent); }

  /* calendar */
  .timeline { display: flex; flex-direction: column; gap: 10px; }
  .tl-item { display: flex; gap: 12px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; align-items: center; }
  .tl-time { flex: 0 0 58px; font-size: 14px; font-weight: 700; color: var(--gold); }
  .tl-body { flex: 1; min-width: 0; }
  .tl-body h3 { font-size: 14px; margin-bottom: 2px; }
  .tl-body span { font-size: 12px; color: var(--text-dim); }
  .tl-state { flex: none; font-size: 11px; padding: 3px 8px; border-radius: 20px; }
  .tl-state.done { background: rgba(80,200,140,.15); color: #5fd39a; }
  .tl-state.wait { background: rgba(255,77,109,.15); color: var(--accent); }
  .today-bar { font-size: 12px; color: var(--text-dim); margin-bottom: 12px; }
  .today-bar b { color: var(--text); }

  /* ranking */
  .rank-list { display: flex; flex-direction: column; gap: 8px; }
  .rank-row { display: flex; align-items: center; gap: 10px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
  .rank-no { flex: 0 0 28px; text-align: center; font-size: 16px; font-weight: 800; color: var(--text-dim); }
  .rank-row:nth-child(1) .rank-no { color: #ff4d6d; }
  .rank-row:nth-child(2) .rank-no { color: #ff954d; }
  .rank-row:nth-child(3) .rank-no { color: #f5c26b; }
  .rank-row img { width: 40px; height: 54px; object-fit: cover; border-radius: 6px; }
  .rank-name { flex: 1; min-width: 0; }
  .rank-name h3 { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rank-name span { font-size: 11px; color: var(--text-dim); }
  .rank-trend { flex: 0 0 auto; text-align: right; font-size: 11px; color: var(--text-dim); }
  .rank-trend b { display: block; color: var(--gold); font-size: 13px; }
  .up { color: #5fd39a; }
  .down { color: #7d8698; }

  /* categories */
  .cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-item { display: flex; gap: 10px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
  .cat-imgs { flex: 0 0 46px; display: flex; flex-direction: column; gap: 4px; }
  .cat-imgs img { width: 46px; height: 62px; object-fit: cover; border-radius: 5px; }
  .cat-txt h3 { font-size: 14px; }
  .cat-txt span { font-size: 11.5px; color: var(--text-dim); }

  /* exclusive */
  .featured { display: flex; gap: 14px; background: linear-gradient(135deg, rgba(255,77,109,.12), rgba(28,33,44,.9)); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 16px; }
  .featured img { flex: 0 0 104px; width: 104px; height: 144px; object-fit: cover; border-radius: 10px; }
  .featured-body { flex: 1; min-width: 0; }
  .featured-body h3 { font-size: 18px; margin-bottom: 6px; }
  .featured-body p { font-size: 13px; color: var(--text-dim); margin-bottom: 10px; }
  .countdown { font-size: 12px; color: var(--gold); margin-bottom: 10px; }
  .mini-btn { display: inline-block; font-size: 12.5px; padding: 7px 16px; border-radius: 30px; background: var(--accent); color: #fff; font-weight: 600; }
  .ex-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ex-list div { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font-size: 12.5px; }
  .ex-list div span { color: var(--text-dim); font-size: 11px; flex: none; }

  /* free zone */
  .free-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .free-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .free-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .free-card .fb { padding: 8px 10px 10px; }
  .free-card h3 { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .free-card .fb span { font-size: 11px; color: var(--text-dim); }
  .free-type { display: inline-block; font-size: 10px; padding: 1px 7px; border-radius: 20px; margin-bottom: 4px; }
  .free-type.long { background: rgba(95,211,154,.15); color: #5fd39a; }
  .free-type.limit { background: var(--accent-soft); color: var(--accent); }
  .progress { height: 4px; background: rgba(255,255,255,.1); border-radius: 4px; margin-top: 6px; overflow: hidden; }
  .progress i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
  .remain { font-size: 10.5px; color: var(--accent); margin-top: 4px; }

  /* reviews */
  .review-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .review { display: flex; gap: 10px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
  .review-avatar { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: #222; }
  .review-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .review-body h3 { font-size: 13px; margin-bottom: 2px; }
  .review-body .stars { font-size: 11px; color: var(--gold); letter-spacing: 1px; }
  .review-body p { font-size: 12.5px; color: var(--text-dim); margin-top: 4px; }
  .cred-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
  .cred { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 10px; text-align: center; }
  .cred b { display: block; font-size: 20px; color: var(--gold); }
  .cred span { font-size: 11px; color: var(--text-dim); display: block; margin-top: 2px; }

  /* faq */
  .faq-list { display: flex; flex-direction: column; gap: 8px; }
  .faq-item { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .faq-q { width: 100%; text-align: left; background: transparent; border: 0; color: var(--text); font-size: 14px; padding: 13px 14px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; font-family: inherit; }
  .faq-q::after { content: "+"; color: var(--accent); font-size: 16px; flex: none; }
  .faq-item.open .faq-q::after { content: "−"; }
  .faq-a { display: none; padding: 0 14px 13px; font-size: 13px; color: var(--text-dim); }
  .faq-item.open .faq-a { display: block; }

  /* download */
  .download-sec { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .dl-steps { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 22px; }
  .dl-step { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
  .dl-step .icon { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 8px; }
  .dl-step h3 { font-size: 15px; margin-bottom: 4px; }
  .dl-step p { font-size: 12.5px; color: var(--text-dim); }
  .dl-actions { display: flex; flex-wrap: wrap; gap: 10px; }
  .dl-actions a { display: inline-flex; align-items: center; gap: 6px; padding: 11px 22px; border-radius: 30px; font-size: 14px; font-weight: 600; }
  .btn-android { background: var(--accent); color: #fff; }
  .btn-ios { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.25); }
  .qr-hint { font-size: 12px; color: var(--text-dim); margin-top: 12px; }
  .qr-placeholder { width: 96px; height: 96px; border: 1px dashed rgba(255,255,255,.25); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--text-dim); text-align: center; margin-top: 8px; padding: 6px; }

  /* footer */
  .site-footer { padding: 28px 0 22px; font-size: 12px; color: var(--text-dim); border-top: 1px solid var(--line); }
  .site-footer p { margin-bottom: 6px; }
  .site-footer a { color: var(--text-dim); }
  .site-footer a:hover { color: var(--text); }

  /* mobile download bar */
  .mobile-dl-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(13,15,20,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); transform: translateY(110%); transition: transform .3s; }
  .mobile-dl-bar.show { transform: translateY(0); }
  .mobile-dl-bar a { flex: 1; text-align: center; padding: 10px 0; border-radius: 30px; font-size: 13.5px; font-weight: 600; }
  .mobile-dl-bar .m-android { background: var(--accent); color: #fff; }
  .mobile-dl-bar .m-ios { border: 1px solid rgba(255,255,255,.25); color: var(--text); }
  .mobile-dl-bar .m-close { flex: none; width: 34px; display: flex; align-items: center; justify-content: center; color: var(--text-dim); font-size: 18px; cursor: pointer; }

  @media (min-width: 768px) {
    .wrap { padding: 0 28px; }
    .nav { display: flex; }
    .hero { padding: 52px 0 20px; }
    .hero h1 { font-size: 36px; }
    .hero-lead { font-size: 16px; }
    .hero-stats { max-width: 560px; }
    .stat b { font-size: 24px; }
    .sec { padding: 58px 0; }
    .sec-head h2 { font-size: 24px; }
    .card-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .carousel-track { }
    .slide { padding: 18px; gap: 20px; }
    .slide-cover { flex: 0 0 170px; }
    .slide-cover img { height: 226px; }
    .slide-info h3 { font-size: 21px; }
    .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .ex-list { grid-template-columns: repeat(3, 1fr); }
    .free-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .review-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .dl-steps { grid-template-columns: repeat(3, 1fr); }
    .rank-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .featured { padding: 20px; }
    .featured img { flex: 0 0 150px; width: 150px; height: 208px; }
    .featured-body h3 { font-size: 22px; }
  }

  @media (min-width: 1024px) {
    .wrap { padding: 0 40px; }
    .hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding: 64px 0 30px; }
    .hero-copy { width: 100%; }
    .hero h1 { font-size: 42px; }
    .card-grid { grid-template-columns: repeat(5, 1fr); }
    .cat-grid { grid-template-columns: repeat(4, 1fr); }
    .free-grid { grid-template-columns: repeat(4, 1fr); }
    .review-grid { grid-template-columns: repeat(3, 1fr); }
    .rank-list { grid-template-columns: repeat(2, 1fr); }
    .ex-list { grid-template-columns: repeat(6, 1fr); }
    .mobile-dl-bar { display: none; }
    .slide-cover { flex: 0 0 210px; }
    .slide-cover img { height: 280px; }
  }