:root {
    --charcoal: #141414;
    --panel: #232326;
    --panel-light: #2a2a2e;
    --silver: #c8cdd4;
    --gold: #e8b44a;
    --gold-light: #ffcf6b;
    --white: #f5f5f7;
    --muted: #a9adb5;
    --faint: #747982;
    --gold-line: rgba(232, 180, 74, 0.22);
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--charcoal);
    color: var(--white);
    font-family: var(--sans);
    line-height: 1.7;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  .container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
  .mono { font-family: var(--mono); }

  /* 顶部导航 */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(20, 20, 20, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gold-line);
  }
  .header-inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
  .brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .brand img { height: 34px; width: auto; border-radius: 4px; }
  .brand-name { font-size: 1.15rem; font-weight: 700; letter-spacing: 1px; }
  .brand-name .tv { color: var(--gold); }
  .nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
  .nav-links a {
    font-size: 0.86rem; color: var(--muted); padding: 6px 9px; border-radius: 3px;
    transition: color .2s, background .2s;
  }
  .nav-links a:hover { color: var(--gold-light); background: rgba(232,180,74,.08); }
  .nav-download {
    flex-shrink: 0; background: var(--gold); color: #1a1408;
    font-weight: 700; font-size: 0.85rem; padding: 8px 16px; border-radius: 3px;
    transition: background .2s, transform .2s;
  }
  .nav-download:hover { background: var(--gold-light); transform: translateY(-1px); }
  .menu-toggle {
    display: none; margin-left: auto; background: transparent; color: var(--gold);
    border: 1px solid var(--gold-line); border-radius: 3px; padding: 4px 10px;
    font-size: 1rem; cursor: pointer;
  }

  /* 首屏 */
  .hero { padding: 64px 0 56px; position: relative; }
  .hero::before {
    content: ""; position: absolute; inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,.015) 0 1px, transparent 1px 4px);
    pointer-events: none;
  }
  .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; }
  .onair {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem; letter-spacing: 2px; color: var(--gold);
    border: 1px solid var(--gold-line); border-radius: 999px;
    padding: 5px 14px; margin-bottom: 22px;
  }
  .dot-live {
    width: 8px; height: 8px; border-radius: 50%; background: #e0453c;
    animation: breathe 1.6s ease-in-out infinite;
  }
  @keyframes breathe { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(224,69,60,.6); } 50% { opacity: .55; box-shadow: 0 0 0 6px rgba(224,69,60,0); } }
  .hero h1 { font-size: 2.6rem; line-height: 1.25; letter-spacing: 1px; margin-bottom: 20px; }
  .hero h1 span { color: var(--gold); }
  .hero-desc { color: var(--muted); font-size: 1rem; max-width: 480px; margin-bottom: 28px; }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
  .btn-primary {
    background: var(--gold); color: #1a1408; font-weight: 700;
    padding: 13px 30px; border-radius: 3px; font-size: 1rem;
    transition: background .2s, transform .2s;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
  .btn-ghost {
    border: 1px solid var(--gold-line); color: var(--silver);
    padding: 13px 26px; border-radius: 3px; font-size: 1rem;
    transition: border-color .2s, color .2s;
  }
  .btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
  .tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
  .tag {
    font-size: 0.78rem; color: var(--silver);
    border: 1px solid rgba(200,205,212,.18); padding: 4px 12px; border-radius: 999px;
  }

  /* 电视机 */
  .tv-unit {
    background: #101012; border: 8px solid #2b2b30; border-radius: 14px;
    box-shadow: 0 0 70px rgba(232,180,74,.14), inset 0 0 0 1px rgba(0,0,0,.6);
    overflow: hidden;
  }
  .tv-screen { position: relative; aspect-ratio: 16 / 10; background: #050505; }
  .tv-screen img {
    width: 100%; height: 100%; object-fit: contain;
    transition: opacity .5s;
  }
  .tv-screen::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(5,5,5,.35) 0%, transparent 25%, transparent 62%, rgba(5,5,5,.85) 100%);
    pointer-events: none;
  }
  .tv-top {
    position: absolute; top: 12px; left: 14px; right: 14px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.72rem; letter-spacing: 1px; color: var(--silver); z-index: 2;
  }
  .ch-badge { background: rgba(20,20,20,.7); border: 1px solid var(--gold-line); padding: 2px 9px; border-radius: 3px; color: var(--gold); }
  .signal { display: flex; gap: 3px; align-items: flex-end; }
  .signal i { display: block; width: 3px; background: var(--gold); border-radius: 1px; }
  .signal i:nth-child(1) { height: 6px; }
  .signal i:nth-child(2) { height: 10px; }
  .signal i:nth-child(3) { height: 14px; }
  .signal i:nth-child(4) { height: 18px; opacity: .4; }
  .tv-bottom {
    position: absolute; bottom: 10px; left: 14px; right: 14px; z-index: 2;
  }
  .tv-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; color: var(--white); }
  .tv-progress { height: 3px; background: rgba(255,255,255,.2); border-radius: 2px; overflow: hidden; }
  .tv-progress span { display: block; height: 100%; background: var(--gold); width: 42%; }
  .tv-meta { display: flex; justify-content: space-between; font-size: 0.66rem; color: var(--muted); margin-top: 5px; font-family: var(--mono); }
  .tv-guide { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #2b2b30; }
  .guide-item {
    font-size: 0.7rem; text-align: center; padding: 8px 2px; color: var(--faint);
    border-right: 1px solid #26262a; transition: color .2s, background .2s;
  }
  .guide-item:last-child { border-right: none; }
  .guide-item.active { color: var(--gold); background: rgba(232,180,74,.08); }
  .guide-item em { display: block; font-family: var(--mono); font-size: 0.62rem; color: var(--faint); font-style: normal; }

  /* 通用区块 */
  .section { padding: 60px 0; }
  .section-alt { background: var(--panel); }
  .section-head { margin-bottom: 36px; }
  .section-kicker {
    font-family: var(--mono); font-size: 0.74rem; letter-spacing: 3px;
    color: var(--gold); display: block; margin-bottom: 10px;
  }
  .section-head h2 { font-size: 1.85rem; letter-spacing: 1px; }
  .section-head p { color: var(--muted); font-size: 0.95rem; margin-top: 10px; max-width: 620px; }

  /* 影视频道 */
  .channel-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .channel-card {
    background: var(--panel-light); border: 1px solid var(--gold-line);
    border-radius: 6px; overflow: hidden; transition: transform .2s, border-color .2s;
  }
  .channel-card:hover { transform: translateY(-4px); border-color: var(--gold); }
  .channel-thumb { aspect-ratio: 56 / 76; background: #050505; }
  .channel-thumb img { width: 100%; height: 100%; object-fit: contain; }
  .channel-body { padding: 10px 10px 12px; }
  .channel-name { font-size: 0.88rem; font-weight: 700; }
  .channel-num { font-family: var(--mono); font-size: 1.25rem; color: var(--gold); letter-spacing: 1px; }

  /* 追剧方式 */
  .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .step-card {
    background: var(--panel-light); border: 1px solid var(--gold-line);
    border-radius: 6px; padding: 18px;
  }
  .step-img { aspect-ratio: 16 / 10; background: #050505; border-radius: 4px; margin-bottom: 16px; overflow: hidden; }
  .step-img img { width: 100%; height: 100%; object-fit: contain; }
  .step-tag { font-family: var(--mono); font-size: 0.72rem; color: var(--gold); letter-spacing: 2px; display: block; margin-bottom: 6px; }
  .step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
  .step-card p { color: var(--muted); font-size: 0.9rem; }

  /* 收视榜 */
  .rank-list { display: flex; flex-direction: column; gap: 10px; }
  .rank-row {
    display: grid; grid-template-columns: 52px 46px 1fr 160px; gap: 16px; align-items: center;
    background: var(--panel-light); border: 1px solid rgba(200,205,212,.08);
    border-radius: 6px; padding: 10px 16px;
  }
  .rank-no { font-family: var(--mono); font-size: 1.3rem; color: var(--gold); }
  .rank-poster { width: 46px; height: 62px; background: #050505; border-radius: 3px; overflow: hidden; }
  .rank-poster img { width: 100%; height: 100%; object-fit: contain; }
  .rank-title { font-size: 0.95rem; font-weight: 700; }
  .rank-sub { font-size: 0.78rem; color: var(--faint); }
  .rank-heat { height: 6px; background: rgba(255,255,255,.1); border-radius: 3px; overflow: hidden; }
  .rank-heat span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

  /* 节目表 */
  .filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
  .filter-btn {
    background: transparent; border: 1px solid var(--gold-line); color: var(--silver);
    padding: 7px 18px; border-radius: 3px; font-size: 0.86rem; cursor: pointer;
    font-family: var(--sans); transition: all .2s;
  }
  .filter-btn:hover { border-color: var(--gold); color: var(--gold-light); }
  .filter-btn.active { background: var(--gold); border-color: var(--gold); color: #1a1408; font-weight: 700; }
  .guide-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .guide-card {
    position: relative; border-radius: 6px; overflow: hidden;
    background: #050505; border: 1px solid rgba(200,205,212,.1);
    transition: transform .2s, border-color .2s;
  }
  .guide-card:hover { transform: translateY(-4px); border-color: var(--gold); }
  .guide-poster { aspect-ratio: 2 / 3; }
  .guide-poster img { width: 100%; height: 100%; object-fit: contain; }
  .guide-ch {
    position: absolute; top: 8px; left: 8px; font-family: var(--mono);
    font-size: 0.68rem; background: rgba(20,20,20,.82); color: var(--gold);
    border: 1px solid var(--gold-line); padding: 1px 7px; border-radius: 3px;
  }
  .guide-name {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(180deg, transparent, rgba(5,5,5,.92));
    font-size: 0.8rem; padding: 22px 10px 9px; color: var(--white);
  }

  /* 心愿榜 */
  .wish-list { display: flex; flex-direction: column; gap: 12px; }
  .wish-row {
    display: grid; grid-template-columns: 48px 1fr 1fr 120px; gap: 16px; align-items: center;
    background: var(--panel-light); border: 1px solid rgba(200,205,212,.08);
    border-radius: 6px; padding: 12px 16px;
  }
  .wish-poster { width: 48px; height: 66px; background: #050505; border-radius: 3px; overflow: hidden; }
  .wish-poster img { width: 100%; height: 100%; object-fit: contain; }
  .wish-title { font-size: 0.95rem; font-weight: 700; }
  .wish-count { font-family: var(--mono); font-size: 0.78rem; color: var(--faint); }
  .wish-bar { height: 6px; background: rgba(255,255,255,.1); border-radius: 3px; overflow: hidden; }
  .wish-bar span { display: block; height: 100%; background: linear-gradient(90deg, #b8832c, var(--gold-light)); width: 60%; transition: width .4s; }
  .wish-btn {
    background: transparent; border: 1px solid var(--gold-line); color: var(--gold);
    padding: 8px 10px; border-radius: 3px; font-size: 0.82rem; cursor: pointer;
    font-family: var(--sans); transition: all .2s; width: 100%;
  }
  .wish-btn:hover { border-color: var(--gold); background: rgba(232,180,74,.1); }
  .wish-btn.done { background: rgba(232,180,74,.16); border-color: var(--gold); color: var(--gold-light); cursor: default; }

  /* 直播导视 */
  .epg-table {
    width: 100%; border-collapse: separate; border-spacing: 0 8px;
  }
  .epg-table th {
    text-align: left; font-size: 0.74rem; letter-spacing: 2px; color: var(--faint);
    font-weight: 400; padding: 0 14px 6px; border-bottom: 1px solid var(--gold-line);
  }
  .epg-table td {
    background: var(--panel-light); padding: 13px 14px; font-size: 0.9rem;
    border-top: 1px solid rgba(200,205,212,.06); border-bottom: 1px solid rgba(200,205,212,.06);
  }
  .epg-table td:first-child { border-left: 1px solid rgba(200,205,212,.06); border-radius: 6px 0 0 6px; }
  .epg-table td:last-child { border-right: 1px solid rgba(200,205,212,.06); border-radius: 0 6px 6px 0; }
  .live-now { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); font-size: 0.82rem; }
  .live-now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e0453c; animation: breathe 1.4s infinite; }
  .epg-time { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }

  /* 观众留言 */
  .rating-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; }
  .rating-score { font-family: var(--mono); font-size: 2.6rem; color: var(--gold); line-height: 1; }
  .rating-label { color: var(--muted); font-size: 0.9rem; }
  .review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .review-card {
    background: var(--panel-light); border: 1px solid rgba(200,205,212,.08);
    border-radius: 6px; padding: 18px;
  }
  .review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .review-avatar {
    width: 34px; height: 34px; border-radius: 50%; background: #3a3a40;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--mono); font-size: 0.8rem; color: var(--gold); flex-shrink: 0;
  }
  .review-user { font-size: 0.88rem; font-weight: 700; }
  .review-time { font-size: 0.72rem; color: var(--faint); font-family: var(--mono); }
  .review-text { font-size: 0.9rem; color: var(--silver); margin-bottom: 12px; }
  .review-like { font-size: 0.78rem; color: var(--faint); font-family: var(--mono); }

  /* 下载区 */
  .download-section { padding: 70px 0; }
  .download-box {
    background: var(--panel-light); border: 1px solid var(--gold-line);
    border-top: 3px solid var(--gold); border-radius: 8px;
    padding: 54px 40px; text-align: center;
  }
  .download-box h2 { font-size: 2rem; margin-bottom: 14px; }
  .download-box p { color: var(--muted); max-width: 540px; margin: 0 auto 30px; }
  .download-btn {
    display: inline-block; background: var(--gold); color: #1a1408;
    font-weight: 700; font-size: 1.05rem; padding: 15px 46px; border-radius: 3px;
    transition: background .2s, transform .2s;
  }
  .download-btn:hover { background: var(--gold-light); transform: translateY(-2px); }
  .download-note { margin-top: 16px; font-size: 0.8rem; color: var(--faint); }

  /* 页脚 */
  .site-footer {
    border-top: 1px solid var(--gold-line); padding: 30px 0 26px;
    font-size: 0.78rem; color: var(--faint);
  }
  .footer-credit { margin-bottom: 10px; }
  .footer-credit a { color: var(--faint); }
  .footer-credit a:hover { color: var(--gold); }
  .footer-time { font-family: var(--mono); margin-bottom: 14px; }
  .about-details { margin-bottom: 14px; }
  .about-details summary {
    list-style: none; cursor: pointer; font-size: 0.78rem; color: var(--faint);
    display: inline-block; user-select: none;
  }
  .about-details summary::-webkit-details-marker { display: none; }
  .about-details summary:hover, .about-details summary:focus-visible { color: var(--gold); outline: none; }
  .about-body { padding-top: 10px; font-size: 0.76rem; line-height: 2; }
  .about-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .about-links a { color: var(--faint); }
  .about-links a:hover { color: var(--gold); }

  /* 响应式 */
  @media (max-width: 1023px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero h1 { font-size: 2.1rem; }
    .channel-grid { grid-template-columns: repeat(4, 1fr); }
    .guide-grid { grid-template-columns: repeat(4, 1fr); }
    .review-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
    .nav-links.open { display: flex; position: absolute; top: 64px; left: 0; right: 0; background: var(--panel); flex-direction: column; align-items: flex-start; padding: 12px 20px; gap: 6px; border-bottom: 1px solid var(--gold-line); }
    .menu-toggle { display: block; }
    .nav-download { display: none; }
    .rank-row { grid-template-columns: 40px 42px 1fr; }
    .rank-heat { display: none; }
    .wish-row { grid-template-columns: 42px 1fr 90px; }
    .wish-bar { display: none; }
  }
  @media (max-width: 767px) {
    .hero { padding: 40px 0 40px; }
    .hero h1 { font-size: 1.7rem; }
    .section { padding: 44px 0; }
    .section-head h2 { font-size: 1.45rem; }
    .channel-grid { grid-template-columns: repeat(2, 1fr); }
    .guide-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .download-box { padding: 38px 22px; }
    .download-box h2 { font-size: 1.5rem; }
    .rank-row { grid-template-columns: 34px 38px 1fr; gap: 10px; padding: 8px 10px; }
    .wish-row { grid-template-columns: 38px 1fr 78px; gap: 10px; padding: 10px; }
    .wish-btn { font-size: 0.74rem; padding: 7px 4px; }
    .epg-table { font-size: 0.82rem; }
    .epg-table th:nth-child(4), .epg-table td:nth-child(4) { display: none; }
  }