:root {
    --ink: #0d1428;
    --ink-2: #141d36;
    --panel: #1a2542;
    --panel-2: #21304f;
    --orange: #ff8c42;
    --orange-deep: #ff6b2c;
    --cream: #fff6ea;
    --white: #f5f8ff;
    --sub: #a9b6d4;
    --dim: #7180a3;
    --line: rgba(255,140,66,.22);
    --radius: 8px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--ink);
    color: var(--white);
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  ul { list-style: none; }
  .mono { font-family: "SFMono-Regular", Consolas, "Courier New", monospace; }

  .wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

  /* 顶栏 */
  .site-head {
    position: sticky; top: 0; z-index: 50;
    background: rgba(13,20,40,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .head-inner {
    display: flex; align-items: center; gap: 20px;
    height: 66px;
  }
  .brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .brand img { height: 34px; width: auto; }
  .brand-name { font-size: 18px; font-weight: 700; letter-spacing: .3px; white-space: nowrap; }
  .brand-name em { font-style: normal; color: var(--orange); }
  .nav { display: flex; gap: 4px; margin-left: auto; }
  .nav a {
    font-size: 14px; color: var(--sub); padding: 8px 11px; border-radius: 6px;
    transition: color .2s, background .2s; white-space: nowrap;
  }
  .nav a:hover { color: var(--cream); background: var(--panel); }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--orange); color: #1a0e05; font-weight: 700;
    border-radius: var(--radius); padding: 11px 22px; font-size: 15px;
    border: none; cursor: pointer; transition: background .2s, transform .15s;
  }
  .btn:hover { background: var(--orange-deep); }
  .btn:active { transform: translateY(1px); }
  .btn-ghost {
    background: transparent; color: var(--cream);
    border: 1px solid var(--line); font-weight: 500;
  }
  .btn-ghost:hover { background: var(--panel); }
  .head-dl { margin-left: 12px; padding: 9px 18px; font-size: 14px; }
  .menu-toggle {
    display: none; margin-left: auto; background: var(--panel);
    border: 1px solid var(--line); color: var(--cream); font-size: 20px;
    width: 40px; height: 40px; border-radius: 6px; cursor: pointer; line-height: 1;
  }

  /* 首屏 */
  .hero { padding: 64px 0 76px; position: relative; overflow: hidden; }
  .hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(60% 60% at 78% 30%, rgba(255,140,66,.14), transparent 70%);
    pointer-events: none;
  }
  .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
  .live-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; letter-spacing: 2px; color: var(--orange);
    border: 1px solid var(--line); border-radius: 999px;
    padding: 6px 14px; margin-bottom: 22px; background: rgba(255,140,66,.06);
  }
  .live-dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
    animation: breathe 1.6s ease-in-out infinite;
  }
  @keyframes breathe { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
  .hero h1 {
    font-size: 46px; line-height: 1.25; letter-spacing: .5px; font-weight: 800;
    margin-bottom: 18px;
  }
  .hero h1 span { color: var(--orange); }
  .hero p.lead { font-size: 16px; color: var(--sub); max-width: 460px; margin-bottom: 28px; }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
  .tags { display: flex; flex-wrap: wrap; gap: 10px; }
  .tag {
    font-size: 13px; color: var(--sub); background: var(--panel);
    border: 1px solid rgba(255,255,255,.06); border-radius: 4px; padding: 5px 11px;
  }

  /* 搜索雷达 */
  .radar {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: 14px; padding: 22px; position: relative;
  }
  .radar-head {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 12px; color: var(--dim); letter-spacing: 1px; margin-bottom: 16px;
  }
  .radar-head b { color: var(--orange); font-weight: 600; }
  .search-box {
    display: flex; align-items: center; gap: 10px;
    background: var(--ink-2); border: 1px solid var(--line);
    border-radius: 999px; padding: 6px 6px 6px 18px; position: relative; z-index: 2;
  }
  .search-box span { color: var(--dim); font-size: 15px; }
  .search-box .fake-input { flex: 1; color: var(--sub); font-size: 14px; }
  .search-go {
    background: var(--orange); color: #1a0e05; border: none; border-radius: 999px;
    padding: 9px 20px; font-size: 14px; font-weight: 700; cursor: pointer;
  }
  .radar-stage {
    position: relative; height: 150px; margin: 14px 0 6px;
    display: flex; align-items: center; justify-content: center;
  }
  .ripple, .ripple2, .ripple3 {
    position: absolute; border: 1px solid var(--orange); border-radius: 50%;
    width: 60px; height: 60px; opacity: 0;
    animation: ripple 3.6s ease-out infinite;
  }
  .ripple2 { animation-delay: 1.2s; }
  .ripple3 { animation-delay: 2.4s; }
  @keyframes ripple {
    0% { transform: scale(.6); opacity: .55; }
    100% { transform: scale(3.4); opacity: 0; }
  }
  .radar-core {
    width: 56px; height: 56px; border-radius: 50%;
    background: radial-gradient(circle, var(--orange) 0%, var(--orange-deep) 60%, transparent 72%);
    box-shadow: 0 0 28px rgba(255,140,66,.55);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: #2a1304; font-weight: 800; z-index: 2; letter-spacing: 1px;
  }
  .result-list { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 2; }
  .result-row {
    display: flex; align-items: center; gap: 10px;
    background: var(--ink-2); border-radius: 6px; padding: 7px 10px;
    font-size: 13px;
  }
  .result-row img {
    width: 30px; height: 40px; object-fit: contain; background: #050a18;
    border-radius: 4px; flex-shrink: 0;
  }
  .result-row .rname { flex: 1; color: var(--cream); }
  .result-row .rsrc { font-size: 11px; color: var(--orange); font-family: monospace; }
  .result-row .rscore { font-size: 11px; color: var(--sub); font-family: monospace; }

  /* 通用区块 */
  section { padding: 66px 0; }
  .sec-head { margin-bottom: 34px; }
  .sec-kicker {
    font-size: 12px; letter-spacing: 3px; color: var(--orange);
    font-family: monospace; margin-bottom: 8px;
  }
  .sec-head h2 { font-size: 30px; font-weight: 800; letter-spacing: .5px; }
  .sec-head p { color: var(--sub); font-size: 15px; margin-top: 8px; max-width: 620px; }
  .band { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

  /* 热门搜索 */
  .hot-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .hot-card {
    background: var(--panel); border: 1px solid rgba(255,255,255,.05);
    border-radius: var(--radius); padding: 12px; position: relative;
    transition: border-color .2s, transform .2s;
  }
  .hot-card:hover { border-color: var(--line); transform: translateY(-3px); }
  .hot-card img {
    width: 58px; height: 78px; object-fit: contain; background: #050a18;
    border-radius: 4px; margin-bottom: 10px;
  }
  .hot-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
  .hot-card p { font-size: 12px; color: var(--dim); }
  .hot-no {
    position: absolute; top: 10px; right: 10px;
    font-family: monospace; font-size: 12px; color: var(--orange);
    background: rgba(255,140,66,.1); border-radius: 4px; padding: 0 5px;
  }

  /* 三步 */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .step {
    background: var(--panel); border: 1px solid rgba(255,255,255,.05);
    border-radius: var(--radius); padding: 20px;
  }
  .step-img {
    width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #050a18;
    border-radius: 6px; margin-bottom: 16px;
  }
  .step-no { font-family: monospace; font-size: 12px; color: var(--orange); letter-spacing: 2px; }
  .step h3 { font-size: 18px; margin: 6px 0 8px; }
  .step p { font-size: 14px; color: var(--sub); }

  /* 热榜 */
  .rank-list { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .rank-head, .rank-row {
    display: grid; grid-template-columns: 70px 60px 1fr 130px;
    gap: 16px; align-items: center; padding: 12px 20px;
  }
  .rank-head {
    font-size: 12px; color: var(--dim); letter-spacing: 2px;
    background: var(--panel-2); font-family: monospace;
  }
  .rank-row { border-top: 1px solid rgba(255,255,255,.05); font-size: 15px; }
  .rank-row .no { font-family: monospace; color: var(--orange); font-size: 14px; }
  .rank-row img {
    width: 40px; height: 52px; object-fit: contain; background: #050a18; border-radius: 4px;
  }
  .heat-bar { height: 6px; background: var(--ink); border-radius: 3px; overflow: hidden; }
  .heat-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-deep)); }

  /* 结果墙 */
  .filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
  .filter-btn {
    background: var(--panel); border: 1px solid rgba(255,255,255,.08);
    color: var(--sub); font-size: 14px; padding: 7px 16px; border-radius: 999px;
    cursor: pointer; transition: all .2s;
  }
  .filter-btn:hover { color: var(--cream); border-color: var(--line); }
  .filter-btn.on { background: var(--orange); color: #1a0e05; border-color: var(--orange); font-weight: 700; }
  .wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .wall-card {
    background: var(--panel); border: 1px solid rgba(255,255,255,.05);
    border-radius: var(--radius); overflow: hidden; position: relative;
  }
  .wall-card img {
    width: 100%; aspect-ratio: 2 / 3; object-fit: contain; background: #050a18;
  }
  .wall-card .cap { padding: 10px 12px 12px; }
  .wall-card h3 { font-size: 14px; font-weight: 600; }
  .wall-card p { font-size: 12px; color: var(--dim); }
  .src-badge {
    position: absolute; top: 8px; right: 8px;
    font-size: 11px; font-family: monospace; color: #1a0e05;
    background: var(--orange); border-radius: 3px; padding: 1px 6px;
  }

  /* 心愿榜 */
  .wish-list { display: flex; flex-direction: column; gap: 12px; }
  .wish-row {
    display: grid; grid-template-columns: 48px 1fr 120px 110px;
    gap: 16px; align-items: center;
    background: var(--panel); border: 1px solid rgba(255,255,255,.05);
    border-radius: var(--radius); padding: 12px 16px;
  }
  .wish-row img { width: 48px; height: 64px; object-fit: contain; background: #050a18; border-radius: 4px; }
  .wish-title { font-size: 15px; font-weight: 600; }
  .wish-sub { font-size: 12px; color: var(--dim); font-family: monospace; }
  .wish-progress { height: 7px; background: var(--ink); border-radius: 4px; overflow: hidden; }
  .wish-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-deep)); transition: width .3s; }
  .wish-btn {
    background: transparent; border: 1px solid var(--line); color: var(--orange);
    border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer;
    white-space: nowrap; transition: all .2s;
  }
  .wish-btn:hover { background: rgba(255,140,66,.1); }
  .wish-btn.done { background: var(--orange); color: #1a0e05; border-color: var(--orange); font-weight: 700; }

  /* 追剧日历 */
  .cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
  .cal-day {
    background: var(--panel); border: 1px solid rgba(255,255,255,.05);
    border-radius: var(--radius); padding: 14px 10px; min-height: 108px;
  }
  .cal-day.today { border-color: var(--orange); background: var(--panel-2); }
  .cal-name { font-family: monospace; font-size: 11px; color: var(--dim); letter-spacing: 1px; }
  .cal-day.today .cal-name { color: var(--orange); }
  .cal-date { font-size: 20px; font-weight: 700; margin: 4px 0 8px; }
  .cal-ev { font-size: 12px; color: var(--sub); display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
  .cal-ev i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange-deep); flex-shrink: 0; }

  /* 用户反馈 */
  .score-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; }
  .score-big { font-size: 52px; font-weight: 800; color: var(--orange); font-family: monospace; line-height: 1; }
  .score-row span { color: var(--sub); font-size: 14px; }
  .fb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .fb-card {
    background: var(--panel); border: 1px solid rgba(255,255,255,.05);
    border-radius: var(--radius); padding: 18px;
  }
  .fb-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .fb-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--orange), var(--orange-deep));
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; color: #1a0e05;
  }
  .fb-name { font-size: 14px; font-weight: 600; }
  .fb-card p { font-size: 14px; color: var(--sub); }
  .fb-like { margin-top: 12px; font-size: 12px; color: var(--dim); font-family: monospace; }

  /* 下载 */
  .dl-box {
    background: var(--panel); border: 1px solid var(--line);
    border-top: 4px solid var(--orange); border-radius: 12px;
    padding: 44px 40px; text-align: center;
    background-image: radial-gradient(50% 90% at 50% 0%, rgba(255,140,66,.12), transparent 70%);
  }
  .dl-box h2 { font-size: 28px; margin-bottom: 12px; }
  .dl-box p { color: var(--sub); font-size: 15px; margin-bottom: 24px; }
  .dl-box .btn { padding: 14px 34px; font-size: 16px; }

  /* 页脚 */
  .site-foot {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 26px 0 30px; font-size: 12px; color: var(--dim);
  }
  .foot-line { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
  .foot-line a { color: var(--dim); }
  .foot-line a:hover { color: var(--sub); }
  .foot-about { margin-top: 12px; }
  .foot-about summary {
    display: inline-block; cursor: pointer; list-style: none;
    color: var(--dim); font-size: 12px; padding: 2px 0;
  }
  .foot-about summary::-webkit-details-marker { display: none; }
  .foot-about summary:hover { color: var(--sub); }
  .foot-about-body { margin-top: 8px; font-size: 12px; line-height: 1.9; color: var(--dim); }
  .foot-about-body a { color: var(--dim); margin-right: 12px; white-space: nowrap; }
  .foot-about-body a:hover { color: var(--sub); }

  /* 响应式 */
  @media (max-width: 1024px) {
    .head-inner { gap: 12px; }
    .nav { display: none; }
    .nav.open {
      display: flex; flex-direction: column; position: absolute;
      top: 66px; left: 0; right: 0; background: var(--ink-2);
      border-bottom: 1px solid var(--line); padding: 10px 20px 16px; gap: 2px;
    }
    .menu-toggle { display: block; }
    .head-dl { margin-left: auto; }
    .hero { padding: 44px 0 56px; }
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero h1 { font-size: 36px; }
    .hot-grid { grid-template-columns: repeat(4, 1fr); }
    .wall { grid-template-columns: repeat(4, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .fb-grid { grid-template-columns: repeat(2, 1fr); }
    .cal { grid-template-columns: repeat(4, 1fr); }
    .rank-head, .rank-row { grid-template-columns: 50px 50px 1fr 100px; gap: 10px; padding: 10px 14px; }
  }
  @media (max-width: 768px) {
    .wrap { padding: 0 16px; }
    .hero h1 { font-size: 29px; }
    .hero p.lead { font-size: 15px; }
    .hero-actions .btn { flex: 1; padding: 12px 16px; }
    .hot-grid { grid-template-columns: repeat(2, 1fr); }
    .wall { grid-template-columns: repeat(2, 1fr); }
    .fb-grid { grid-template-columns: 1fr; }
    .cal { grid-template-columns: repeat(2, 1fr); }
    .wish-row { grid-template-columns: 40px 1fr; row-gap: 10px; }
    .wish-row img { width: 40px; height: 54px; }
    .wish-row .wish-progress { grid-column: 1 / -1; }
    .wish-row .wish-btn { grid-column: 1 / -1; justify-self: start; }
    .rank-head { display: none; }
    .rank-row { grid-template-columns: 36px 40px 1fr; gap: 10px; }
    .rank-row .heat-bar { grid-column: 1 / -1; }
    .sec-head h2 { font-size: 24px; }
    .dl-box { padding: 32px 20px; }
    .head-dl { padding: 8px 14px; font-size: 13px; }
  }