:root {
    --bg: #12100e;
    --surface: #1c1917;
    --surface-2: #262220;
    --text: #f5f0eb;
    --text-muted: #a89f94;
    --accent: #ff7a45;
    --accent-dim: #d4552a;
    --border: #332e29;
    --radius: 14px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  .wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

  /* Header */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(18,16,14,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: .5px; }
  .brand img { height: 34px; width: 34px; border-radius: 8px; object-fit: cover; }
  .main-nav { display: flex; align-items: center; gap: 26px; }
  .main-nav a { font-size: 15px; color: var(--text-muted); transition: color .2s; }
  .main-nav a:hover { color: var(--text); }
  .nav-download {
    background: var(--accent); color: #1a1008 !important;
    padding: 8px 18px; border-radius: 999px; font-weight: 600;
  }
  .nav-download:hover { background: #ff8f60; }
  .nav-toggle {
    display: none; background: none; border: 1px solid var(--border);
    color: var(--text); border-radius: 8px; padding: 6px 10px; font-size: 18px; cursor: pointer;
  }
  .main-nav.open { display: flex; }

  /* Hero */
  .hero { padding: 64px 0 72px; position: relative; overflow: hidden; }
  .hero::before {
    content: ""; position: absolute; top: -160px; right: -120px;
    width: 480px; height: 480px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,122,69,.16), transparent 70%);
    pointer-events: none;
  }
  .hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; position: relative; }
  .hero-title { font-size: 38px; line-height: 1.25; font-weight: 800; letter-spacing: .5px; }
  .hero-title em { color: var(--accent); font-style: normal; }
  .hero-desc { margin-top: 18px; font-size: 16px; color: var(--text-muted); max-width: 540px; }
  .hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: #1a1008;
    padding: 13px 28px; border-radius: 999px; font-weight: 700; font-size: 16px;
    transition: transform .2s, background .2s;
  }
  .btn-primary:hover { background: #ff8f60; transform: translateY(-2px); }
  .btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--border); color: var(--text);
    padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
    transition: border-color .2s, background .2s;
  }
  .btn-ghost:hover { border-color: var(--accent-dim); background: var(--surface); }
  .hero-facts { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
  .fact { border-left: 2px solid var(--accent-dim); padding-left: 14px; }
  .fact strong { display: block; font-size: 20px; font-weight: 800; color: var(--text); }
  .fact span { font-size: 13px; color: var(--text-muted); }
  .hero-posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero-posters img {
    width: 100%; aspect-ratio: 3/4; object-fit: cover;
    border-radius: var(--radius); border: 1px solid var(--border);
  }
  .hero-posters img:nth-child(2) { transform: translateY(18px); }

  /* Section common */
  section { padding: 60px 0; border-top: 1px solid var(--border); }
  .section-head { max-width: 620px; margin-bottom: 34px; }
  .eyebrow {
    display: inline-block; font-size: 12px; letter-spacing: 2px;
    color: var(--accent); font-weight: 700; text-transform: uppercase; margin-bottom: 10px;
  }
  .section-head h2 { font-size: 27px; font-weight: 800; line-height: 1.35; }
  .section-head p { margin-top: 12px; color: var(--text-muted); font-size: 15px; }
  .muted { color: var(--text-muted); }

  /* Schedule */
  .schedule-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 26px; scrollbar-width: none; }
  .schedule-tabs::-webkit-scrollbar { display: none; }
  .tab-btn {
    flex: 0 0 auto; background: var(--surface); border: 1px solid var(--border);
    color: var(--text-muted); padding: 9px 18px; border-radius: 999px;
    font-size: 14px; cursor: pointer; font-family: inherit; transition: all .2s;
  }
  .tab-btn:hover { color: var(--text); }
  .tab-btn.active { background: var(--accent); border-color: var(--accent); color: #1a1008; font-weight: 700; }
  .tab-panel { display: none; }
  .tab-panel.active { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .slot-card {
    display: flex; gap: 12px; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 10px; align-items: center;
  }
  .slot-card img { width: 60px; height: 82px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
  .slot-info h3 { font-size: 15px; font-weight: 700; }
  .slot-info span { font-size: 12px; color: var(--text-muted); display: block; margin-top: 4px; }
  .slot-status { display: inline-block; margin-top: 6px; font-size: 11px; color: var(--accent); background: rgba(255,122,69,.12); padding: 1px 8px; border-radius: 999px; }
  .schedule-note { margin-top: 18px; font-size: 13px; color: var(--text-muted); }

  /* Daily grid */
  .daily-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .drama-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s; }
  .drama-card:hover { transform: translateY(-4px); border-color: var(--accent-dim); }
  .drama-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
  .drama-body { padding: 14px 15px 18px; }
  .drama-body h3 { font-size: 16px; font-weight: 700; }
  .drama-body p { margin-top: 6px; font-size: 13px; color: var(--text-muted); line-height: 1.6; }

  /* Index list */
  .index-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .index-item {
    display: flex; align-items: center; gap: 12px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; padding: 9px 12px;
  }
  .index-num { font-size: 12px; color: var(--accent); font-weight: 700; width: 22px; flex: 0 0 auto; }
  .index-item img { width: 44px; height: 58px; border-radius: 6px; object-fit: cover; flex: 0 0 auto; }
  .index-meta strong { display: block; font-size: 14px; font-weight: 600; }
  .index-meta span { font-size: 12px; color: var(--text-muted); }

  /* Feature cards */
  .feature-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
  .feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
  .feature-card p { font-size: 14px; color: var(--text-muted); }
  .feature-card .tag { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 1px; display: block; margin-bottom: 6px; }

  /* Rules */
  .rules-list { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--border); }
  .rule-row { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--border); }
  .rule-row h3 { font-size: 16px; font-weight: 700; }
  .rule-row p { font-size: 14px; color: var(--text-muted); }

  /* Standard */
  .standard-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .standard-item { background: var(--surface-2); border-radius: 12px; padding: 18px 20px; }
  .standard-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
  .standard-item p { font-size: 13.5px; color: var(--text-muted); }

  /* FAQ */
  .faq-list { display: grid; gap: 12px; }
  details.faq {
    background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0 18px;
  }
  details.faq summary {
    list-style: none; cursor: pointer; padding: 16px 0; font-size: 15px; font-weight: 600;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
  }
  details.faq summary::-webkit-details-marker { display: none; }
  details.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
  details.faq[open] summary::after { content: "−"; }
  details.faq p { padding-bottom: 16px; font-size: 14px; color: var(--text-muted); }

  /* Hot ranking */
  .hot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hot-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
  .hot-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .hot-rank {
    position: absolute; top: 8px; left: 8px; background: rgba(18,16,14,.82);
    color: var(--accent); font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px;
  }
  .hot-name { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px 10px 9px; font-size: 13px; font-weight: 600;
    background: linear-gradient(transparent, rgba(18,16,14,.92)); }

  /* Download */
  .download-box {
    background: linear-gradient(135deg, #241a14, #1a1615);
    border: 1px solid var(--border); border-radius: 20px; padding: 40px 26px; text-align: center;
  }
  .download-box h2 { font-size: 26px; font-weight: 800; }
  .download-box p { margin: 14px auto 26px; color: var(--text-muted); max-width: 520px; font-size: 15px; }
  .device-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

  /* Contact */
  .contact-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; }
  .contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
  .contact-card p { font-size: 14px; color: var(--text-muted); }

  /* Footer */
  .site-footer { border-top: 1px solid var(--border); padding: 36px 0 30px; font-size: 13px; color: var(--text-muted); }
  .footer-top { display: grid; grid-template-columns: 1fr; gap: 26px; }
  .footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); font-size: 15px; }
  .footer-brand img { height: 26px; width: 26px; border-radius: 6px; object-fit: cover; }
  .footer-desc { margin-top: 10px; max-width: 340px; line-height: 1.7; }
  .footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
  .footer-links a { color: var(--text-muted); }
  .footer-links a:hover { color: var(--text); }
  .footer-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 12px; }
  .footer-bottom a { color: var(--text-muted); }
  .about-block { margin-top: 22px; font-size: 12px; }
  .about-block summary { cursor: pointer; list-style: none; color: var(--text-muted); display: inline-block; user-select: none; }
  .about-block summary::-webkit-details-marker { display: none; }
  .about-block summary:hover { color: var(--text); }
  .about-links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 16px; line-height: 2; }
  .about-links a { color: var(--text-muted); }
  .about-links a:hover { color: var(--text); }

  @media (min-width: 768px) {
    .hero { padding: 82px 0 90px; }
    .hero-title { font-size: 46px; }
    .hero-grid { grid-template-columns: 1.15fr .85fr; }
    .hero-facts { grid-template-columns: repeat(4, 1fr); }
    .tab-panel.active { grid-template-columns: repeat(4, 1fr); }
    .daily-grid { grid-template-columns: repeat(3, 1fr); }
    .index-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .rule-row { grid-template-columns: 180px 1fr; align-items: baseline; gap: 20px; }
    .standard-grid { grid-template-columns: repeat(2, 1fr); }
    .hot-grid { grid-template-columns: repeat(4, 1fr); }
    .contact-grid { grid-template-columns: repeat(3, 1fr); }
    .site-footer { font-size: 13px; }
    .footer-top { grid-template-columns: 1.2fr 1fr; align-items: start; }
  }
  @media (min-width: 1024px) {
    .hero-title { font-size: 52px; }
    .section-head h2 { font-size: 32px; }
    .daily-grid { grid-template-columns: repeat(4, 1fr); }
    .index-grid { grid-template-columns: repeat(4, 1fr); }
    .feature-grid { grid-template-columns: repeat(4, 1fr); }
    .hot-grid { grid-template-columns: repeat(5, 1fr); }
    section { padding: 76px 0; }
  }
  @media (max-width: 767px) {
    .nav-toggle { display: block; }
    .main-nav {
      display: none; position: absolute; top: 64px; left: 0; right: 0;
      flex-direction: column; align-items: stretch; gap: 0;
      background: var(--surface); border-bottom: 1px solid var(--border); padding: 10px 20px 18px;
    }
    .main-nav a { padding: 11px 0; border-bottom: 1px solid var(--border); }
    .main-nav a:last-child { border-bottom: none; }
    .nav-download { text-align: center; margin-top: 10px; }
  }