:root {
    --bg: #0c0b10;
    --bg-soft: #14121a;
    --panel: #1a1721;
    --line: #2a2532;
    --ink: #ece8f2;
    --ink-dim: #a29bb0;
    --ink-faint: #6f6880;
    --accent: #c9a86a;
    --accent-soft: #8d7443;
    --rose: #b4648a;
    --radius: 10px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3, h4 { margin: 0 0 .6em; font-weight: 600; line-height: 1.3; letter-spacing: .02em; }
  p { margin: 0 0 1em; color: var(--ink-dim); }
  ul { margin: 0; padding: 0; list-style: none; }

  .wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 18px; }
  .eyebrow {
    font-size: 12px; letter-spacing: .28em; color: var(--accent);
    text-transform: uppercase; margin-bottom: 10px;
  }
  .section { padding: 56px 0; border-top: 1px solid var(--line); }
  .section-head { margin-bottom: 26px; }
  .section-head h2 { font-size: clamp(22px, 5vw, 30px); }
  .section-head p { max-width: 640px; margin-bottom: 0; }

  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 12px 22px; border-radius: 999px;
    font-size: 15px; font-weight: 600; letter-spacing: .04em;
    border: 1px solid transparent; cursor: pointer;
    transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  }
  .btn:active { transform: scale(.97); }
  .btn-gold { background: var(--accent); color: #1a1508; }
  .btn-gold:hover { background: #dcba78; }
  .btn-line { border-color: var(--accent-soft); color: var(--accent); background: transparent; }
  .btn-line:hover { background: rgba(201,168,106,.12); }
  .btn-ghost { border-color: var(--line); color: var(--ink); background: var(--panel); }
  .btn-ghost:hover { border-color: var(--accent-soft); }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

  /* Header */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(12,11,16,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    display: flex; align-items: center; gap: 14px;
    min-height: 62px;
  }
  .brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .brand img { height: 32px; width: auto; border-radius: 6px; }
  .brand-name { font-size: 17px; font-weight: 700; letter-spacing: .06em; }
  .nav { display: none; margin-left: auto; gap: 22px; }
  .nav a {
    font-size: 14px; color: var(--ink-dim); padding: 6px 0;
    border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
  }
  .nav a:hover { color: var(--ink); border-color: var(--accent); }
  .header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
  .header-actions .btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 8px;
    background: var(--panel); border: 1px solid var(--line);
    color: var(--ink); font-size: 18px; cursor: pointer;
  }
  .mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--bg-soft); }
  .mobile-nav.open { display: block; }
  .mobile-nav a {
    display: block; padding: 14px 18px; font-size: 15px;
    border-bottom: 1px solid var(--line); color: var(--ink-dim);
  }
  .mobile-nav a:last-child { border-bottom: 0; }

  /* Hero */
  .hero { padding: 40px 0 48px; }
  .hero-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: clamp(30px, 8vw, 52px); line-height: 1.16; }
  .hero h1 span { color: var(--accent); }
  .hero-lead { font-size: 16px; max-width: 520px; }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
  .hero-meta {
    display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px;
    font-size: 13px; color: var(--ink-faint);
  }
  .hero-meta span::before { content: "◆"; color: var(--accent-soft); margin-right: 8px; font-size: 9px; }
  .cover-wall {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 10px; align-items: start;
  }
  .cover-wall figure { position: relative; margin: 0; border-radius: 8px; overflow: hidden; background: var(--panel); }
  .cover-wall img { width: 100%; aspect-ratio: 2/3; object-fit: cover; transition: transform .4s ease; }
  .cover-wall figure:hover img { transform: scale(1.04); }
  .cover-wall .lead-cover { grid-column: span 2; grid-row: span 2; }
  .cover-wall figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 26px 8px 8px; font-size: 12px; line-height: 1.4;
    color: #fff; background: linear-gradient(transparent, rgba(8,6,12,.92));
  }
  .cover-wall figcaption b { display: block; font-weight: 600; font-size: 13px; }
  .cover-wall figcaption em { font-style: normal; color: var(--accent); font-size: 11px; }

  /* Today */
  .today-card {
    display: grid; grid-template-columns: 1fr; gap: 24px;
    background: linear-gradient(160deg, var(--panel), var(--bg-soft));
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px;
  }
  .today-cover { width: 100%; max-width: 300px; }
  .today-cover img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 8px; }
  .today-body h3 { font-size: 24px; }
  .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
  .tag {
    font-size: 12px; padding: 4px 11px; border-radius: 999px;
    border: 1px solid var(--line); color: var(--ink-dim); background: rgba(255,255,255,.02);
  }
  .tag.gold { color: var(--accent); border-color: var(--accent-soft); }
  .spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0; }
  .spec-list div { border-left: 2px solid var(--accent-soft); padding-left: 10px; }
  .spec-list dt { font-size: 12px; color: var(--ink-faint); }
  .spec-list dd { margin: 2px 0 0; font-size: 15px; color: var(--ink); }

  /* Filter */
  .filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
  .filter-btn {
    min-height: 44px; padding: 10px 20px; border-radius: 999px;
    background: transparent; border: 1px solid var(--line);
    color: var(--ink-dim); font-size: 14px; cursor: pointer;
    transition: all .2s ease;
  }
  .filter-btn:hover { border-color: var(--accent-soft); color: var(--ink); }
  .filter-btn[aria-pressed="true"] {
    background: var(--accent); border-color: var(--accent);
    color: #1a1508; font-weight: 600;
  }
  .drama-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .drama-card {
    display: block; border-radius: var(--radius); overflow: hidden;
    background: var(--panel); border: 1px solid var(--line);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }
  .drama-card:hover, .drama-card:focus-visible {
    transform: translateY(-4px); border-color: var(--accent-soft);
    box-shadow: 0 12px 26px rgba(0,0,0,.45);
  }
  .drama-card:active { transform: translateY(-1px) scale(.995); }
  .drama-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
  .drama-card .card-body { padding: 12px 14px 16px; }
  .drama-card h3 { font-size: 15px; margin-bottom: 6px; }
  .drama-card p { font-size: 13px; margin-bottom: 8px; }
  .card-meta { font-size: 12px; color: var(--accent-soft); letter-spacing: .04em; }
  .is-hidden { display: none; }

  /* Ranking */
  .rank-list { display: flex; flex-direction: column; gap: 12px; }
  .rank-item {
    display: grid; grid-template-columns: 34px 74px 1fr; gap: 14px;
    align-items: center; padding: 12px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--bg-soft); transition: border-color .2s, transform .2s;
  }
  .rank-item:hover { border-color: var(--accent-soft); transform: translateX(3px); }
  .rank-no { font-size: 20px; font-weight: 700; color: var(--ink-faint); text-align: center; }
  .rank-item img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 6px; }
  .rank-info h4 { margin: 0 0 4px; font-size: 16px; }
  .rank-info p { margin: 0; font-size: 13px; }
  .rank-top .rank-no { color: var(--accent); font-size: 24px; }
  .rank-top { border-color: rgba(201,168,106,.4); background: linear-gradient(90deg, rgba(201,168,106,.07), var(--bg-soft) 60%); }
  .rank-top .rank-info h4 { font-size: 19px; }

  /* Schedule */
  .schedule { display: flex; flex-direction: column; gap: 0; }
  .schedule-row {
    display: grid; grid-template-columns: 54px 1fr auto; gap: 14px;
    align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line);
  }
  .schedule-row:last-child { border-bottom: 0; }
  .schedule-row img { width: 54px; aspect-ratio: 2/3; object-fit: cover; border-radius: 5px; }
  .schedule-row h4 { margin: 0 0 4px; font-size: 15px; }
  .schedule-row p { margin: 0; font-size: 12.5px; }
  .status {
    font-size: 12px; white-space: nowrap; color: var(--ink-faint);
    border: 1px solid var(--line); border-radius: 4px; padding: 4px 8px;
  }
  .status.updating { color: var(--accent); border-color: var(--accent-soft); }

  /* Aigai zone */
  .aigai-lead { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 26px; }
  .aigai-lead img { width: 100%; border-radius: var(--radius); }
  .compare-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .compare-cell { border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: var(--panel); }
  .compare-cell span { display: block; font-size: 11px; letter-spacing: .16em; color: var(--accent); margin-bottom: 6px; text-align: center; }
  .compare-cell img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 5px; }

  /* Relation topics */
  .topic { margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
  .topic:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
  .topic-main { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 16px; }
  .topic-main img { width: 100%; border-radius: 8px; }
  .topic-main h3 { font-size: 20px; color: var(--accent); }
  .related-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .related-row img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 6px; }

  /* Short time */
  .short-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .short-card { position: relative; border-radius: var(--radius); overflow: hidden; }
  .short-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
  .short-card .time-chip {
    position: absolute; top: 8px; left: 8px;
    background: rgba(12,11,16,.85); color: var(--accent);
    font-size: 11px; padding: 3px 8px; border-radius: 4px;
    border: 1px solid var(--accent-soft);
  }
  .short-card .short-name {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 24px 10px 8px; font-size: 13px; color: #fff;
    background: linear-gradient(transparent, rgba(8,6,12,.94));
  }

  /* Editor picks */
  .collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .collage figure { margin: 0; position: relative; }
  .collage img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 6px; }
  .collage .big { grid-column: span 2; grid-row: span 2; }
  .collage figcaption { font-size: 11.5px; color: var(--ink-dim); margin-top: 6px; line-height: 1.5; }
  .collage figcaption b { display: block; color: var(--ink); font-size: 12.5px; }

  /* Experience */
  .feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .feat { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--panel); }
  .feat-icon {
    width: 40px; height: 40px; border-radius: 10px; margin-bottom: 12px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--accent-soft); color: var(--accent); font-size: 18px;
  }
  .feat h4 { font-size: 15px; margin-bottom: 6px; }
  .feat p { font-size: 13px; margin: 0; }
  .progress-demo { height: 4px; background: var(--line); border-radius: 2px; margin-top: 10px; overflow: hidden; }
  .progress-demo i { display: block; height: 100%; width: 62%; background: var(--accent); }

  /* Reviews */
  .review-list { display: flex; flex-direction: column; gap: 14px; }
  .review {
    display: flex; gap: 12px; padding: 14px;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft);
  }
  .avatar {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 600; color: #1a1508; background: var(--accent);
  }
  .review-body p { font-size: 14px; margin-bottom: 8px; color: var(--ink); }
  .review-body small { font-size: 12px; color: var(--ink-faint); }
  .review-body small b { color: var(--accent-soft); font-weight: 500; }

  /* FAQ */
  .faq-list { display: flex; flex-direction: column; gap: 10px; }
  .faq-item { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); overflow: hidden; }
  .faq-q {
    width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    padding: 16px 18px; font-size: 15px; color: var(--ink); font-weight: 500;
    display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px;
  }
  .faq-q .mark { color: var(--accent); font-size: 18px; transition: transform .25s ease; flex-shrink: 0; }
  .faq-q[aria-expanded="true"] .mark { transform: rotate(45deg); }
  .faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 18px;
  }
  .faq-a.open { max-height: 320px; padding-bottom: 16px; }
  .faq-a p { margin: 0; font-size: 14px; }

  /* Download */
  .download-panel {
    border: 1px solid var(--accent-soft); border-radius: var(--radius);
    background: linear-gradient(150deg, #191622, #0f0d15);
    padding: 24px;
  }
  .download-panel h2 { font-size: clamp(22px, 5vw, 30px); }
  .dl-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
  .dl-btns .btn { flex: 1 1 160px; }
  .dl-facts { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .dl-facts div { font-size: 13.5px; color: var(--ink-dim); border-top: 1px solid var(--line); padding-top: 10px; }
  .dl-facts b { display: block; color: var(--accent); font-size: 12px; letter-spacing: .14em; margin-bottom: 2px; font-weight: 500; }
  .steps { counter-reset: step; margin: 18px 0 0; padding: 0; list-style: none; }
  .steps li {
    position: relative; padding-left: 34px; margin-bottom: 12px;
    font-size: 14px; color: var(--ink-dim);
  }
  .steps li::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 0; top: 1px;
    width: 24px; height: 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: var(--accent); border: 1px solid var(--accent-soft);
  }

  /* Footer */
  .site-footer { border-top: 1px solid var(--line); background: #08070b; padding: 36px 0 26px; margin-top: 20px; }
  .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer-brand .brand { margin-bottom: 10px; }
  .footer-brand p { font-size: 12.5px; color: var(--ink-faint); max-width: 280px; }
  .footer-col h4 { font-size: 12px; letter-spacing: .18em; color: var(--ink-dim); margin-bottom: 10px; font-weight: 500; }
  .footer-col a { display: block; font-size: 12.5px; color: var(--ink-faint); padding: 4px 0; }
  .footer-col a:hover { color: var(--accent); }
  .footer-bottom {
    margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line);
    font-size: 12px; color: var(--ink-faint); line-height: 1.9;
  }
  .footer-bottom a { color: var(--ink-faint); }
  .footer-bottom a:hover { color: var(--accent); }

  @media (min-width: 768px) {
    .wrap { padding: 0 28px; }
    .section { padding: 72px 0; }
    .hero { padding: 56px 0 64px; }
    .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 44px; }
    .cover-wall { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .today-card { grid-template-columns: 280px 1fr; gap: 30px; padding: 26px; }
    .today-cover { max-width: none; }
    .drama-grid { grid-template-columns: repeat(3, 1fr); }
    .short-grid { grid-template-columns: repeat(3, 1fr); }
    .rank-item { grid-template-columns: 44px 84px 1fr; gap: 18px; }
    .schedule-row { grid-template-columns: 64px 1fr auto; }
    .schedule-row img { width: 64px; }
    .aigai-lead { grid-template-columns: 1.1fr 1fr; align-items: center; }
    .topic-main { grid-template-columns: 200px 1fr; align-items: start; }
    .related-row { grid-template-columns: repeat(4, 1fr); }
    .collage { grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .feat-grid { grid-template-columns: repeat(4, 1fr); }
    .dl-facts { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  }

  @media (min-width: 1024px) {
    .nav { display: flex; }
    .menu-toggle { display: none; }
    .header-actions .btn { min-height: 42px; padding: 9px 20px; }
    .mobile-nav { display: none !important; }
    .drama-grid { grid-template-columns: repeat(4, 1fr); }
    .hero h1 { font-size: 54px; }
    .short-grid { grid-template-columns: repeat(5, 1fr); }
    .review-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .collage { grid-template-columns: repeat(5, 1fr); }
  }