:root {
    --bg: #0a0a0b;
    --bg-soft: #141416;
    --bg-card: #1c1c1f;
    --red: #e11d2e;
    --red-deep: #a80f1d;
    --yellow: #ffd400;
    --text: #f2f2f4;
    --text-dim: #a0a0a8;
    --line: #2a2a2f;
    --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", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }

  /* ===== 下落的底裤图案（纯装饰） ===== */
  .falling-decor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }
  .falling-decor span {
    position: absolute;
    top: -90px;
    font-size: 26px;
    opacity: .16;
    color: var(--red);
    animation: fall linear infinite;
    will-change: transform;
  }
  @keyframes fall {
    0%   { transform: translateY(-80px) rotate(0deg); }
    100% { transform: translateY(110vh) rotate(360deg); }
  }

  .layout { position: relative; z-index: 1; display: flex; }

  /* ===== 左侧导航条 ===== */
  .sidebar {
    width: 210px;
    flex-shrink: 0;
    background: #0f0f11;
    border-right: 1px solid var(--line);
    padding: 22px 14px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    transition: width .28s ease;
  }
  .sidebar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 14px;
  }
  .sidebar-brand img { height: 32px; width: auto; }
  .sidebar-brand strong { font-size: 15px; color: var(--text); letter-spacing: .5px; }
  .nav-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
  .nav-list a {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 14px;
    color: var(--text-dim);
    border-left: 3px solid transparent;
    transition: background .2s, color .2s, border-color .2s;
  }
  .nav-list a:hover {
    background: rgba(225, 29, 46, .12);
    color: #fff;
    border-left-color: var(--red);
  }
  .nav-toggle {
    display: none;
    width: 100%;
    margin-top: 12px;
    padding: 9px;
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
  }

  .content { flex: 1; min-width: 0; }

  /* ===== 顶部横条 ===== */
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 26px;
    background: rgba(10, 10, 11, .92);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
    gap: 12px;
  }
  .topbar-brand { display: flex; align-items: center; gap: 9px; }
  .topbar-brand img { height: 34px; width: auto; }
  .topbar-brand span { font-weight: 700; font-size: 16px; }
  .topbar-dl {
    background: var(--yellow);
    color: #111;
    font-weight: 800;
    font-size: 14px;
    padding: 9px 18px;
    border-radius: 999px;
    white-space: nowrap;
  }
  .topbar-dl:hover { filter: brightness(1.08); }

  /* ===== 首屏 ===== */
  .hero {
    position: relative;
    padding: 48px 26px 40px;
    background:
      radial-gradient(900px 420px at 80% -10%, rgba(225, 29, 46, .28), transparent 65%),
      radial-gradient(700px 400px at 5% 110%, rgba(225, 29, 46, .14), transparent 70%),
      var(--bg);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
  }
  .hero-inner { max-width: 1180px; margin: 0 auto; }
  .hero h1 {
    font-size: 38px;
    line-height: 1.28;
    letter-spacing: .5px;
    margin-bottom: 16px;
  }
  .hero h1 em { color: var(--red); font-style: normal; }
  .hero-lead {
    color: var(--text-dim);
    font-size: 16px;
    max-width: 640px;
    margin-bottom: 22px;
  }
  .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 8px; }
  .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--yellow);
    color: #111;
    font-weight: 800;
    font-size: 17px;
    padding: 14px 30px;
    border-radius: 999px;
    box-shadow: 0 8px 26px rgba(255, 212, 0, .22);
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .btn-download:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 212, 0, .34); }
  .btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 13px 24px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--text-dim);
    font-size: 15px;
  }
  .btn-ghost:hover { border-color: var(--red); color: #fff; }
  .hero-note { font-size: 13px; color: #6f6f78; margin-top: 10px; }

  /* ===== 扑克牌轮播 ===== */
  .carousel-wrap { margin-top: 40px; }
  .carousel {
    position: relative;
    height: 430px;
    perspective: 1200px;
  }
  .card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 360px;
    margin: -180px 0 0 -125px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 22px 48px rgba(0,0,0,.62);
    transition: transform .5s cubic-bezier(.22,.61,.36,1), opacity .5s ease;
    cursor: pointer;
  }
  .card img { width: 100%; height: 100%; object-fit: cover; }
  .card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.7));
  }
  .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    border: 1.5px solid rgba(255,255,255,.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background .2s;
  }
  .play-btn::before {
    content: "";
    border-left: 13px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 4px;
  }
  .card:hover .play-btn { background: rgba(225, 29, 46, .8); }
  .carousel-nav { display: flex; justify-content: center; gap: 12px; margin-top: 14px; }
  .carousel-nav button {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: #1c1c1f;
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 16px;
    cursor: pointer;
  }
  .carousel-nav button:hover { background: var(--red); border-color: var(--red); }
  .carousel-dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
  .carousel-dots span {
    width: 7px; height: 7px; border-radius: 50%; background: #3a3a40; transition: background .2s, width .2s;
  }
  .carousel-dots span.on { background: var(--red); width: 18px; border-radius: 99px; }

  /* ===== 滚动横幅 ===== */
  .marquee {
    overflow: hidden;
    background: var(--red-deep);
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    white-space: nowrap;
  }
  .marquee-track {
    display: inline-flex;
    animation: marquee 26s linear infinite;
    padding: 11px 0;
  }
  .marquee-track span {
    font-size: 14px;
    color: #fff;
    padding: 0 26px;
    letter-spacing: .5px;
  }
  .marquee-track span::after { content: "✦"; margin-left: 26px; color: rgba(255,255,255,.55); }
  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* ===== 区块通用 ===== */
  section.block { padding: 58px 26px; border-bottom: 1px solid var(--line); }
  .section-inner { max-width: 1180px; margin: 0 auto; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 {
    font-size: 27px;
    letter-spacing: .4px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .section-head h2::before {
    content: "";
    width: 5px;
    height: 24px;
    background: var(--red);
    border-radius: 3px;
    display: inline-block;
  }
  .section-head p { color: var(--text-dim); font-size: 14.5px; margin-top: 8px; max-width: 640px; }

  /* ===== 剧集网格 ===== */
  .grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
  }
  .drama-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease;
  }
  .drama-card:hover { transform: translateY(-4px); border-color: rgba(225,29,46,.6); }
  .thumb { position: relative; aspect-ratio: 3 / 4; overflow: hidden; cursor: pointer; }
  .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .thumb .play-btn { width: 44px; height: 44px; }
  .drama-card p {
    font-size: 13.5px;
    color: var(--text-dim);
    padding: 12px 13px 14px;
    line-height: 1.55;
  }
  .hot-tag {
    position: absolute;
    left: 8px; top: 8px;
    background: rgba(225,29,46,.9);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 99px;
    z-index: 2;
  }

  /* ===== 亮点观点 ===== */
  .opinion {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 34px 36px;
    position: relative;
    overflow: hidden;
  }
  .opinion::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--red), var(--red-deep));
  }
  .opinion h3 { font-size: 20px; margin-bottom: 14px; }
  .opinion p { color: #cfcfd6; font-size: 15.5px; margin-bottom: 13px; }
  .opinion p:last-child { margin-bottom: 0; }

  /* ===== 排行榜 ===== */
  .rank-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .rank-item {
    display: flex;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    align-items: center;
  }
  .rank-item .rank-thumb { width: 84px; height: 112px; border-radius: 9px; overflow: hidden; flex-shrink: 0; position: relative; cursor: pointer; }
  .rank-item .rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .rank-no {
    position: absolute; left: 5px; top: 5px;
    background: var(--red);
    color: #fff; font-size: 12px; font-weight: 800;
    width: 22px; height: 22px; line-height: 22px; text-align: center;
    border-radius: 6px;
  }
  .rank-info { flex: 1; min-width: 0; }
  .rank-info h4 { font-size: 15px; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rank-bar { height: 7px; border-radius: 99px; background: #2a2a2f; overflow: hidden; margin: 9px 0 7px; }
  .rank-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #ff7a4d); border-radius: 99px; }
  .rank-meta { font-size: 12px; color: var(--text-dim); display: flex; justify-content: space-between; }

  /* ===== 弹幕互动 ===== */
  .danmu-stage {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #000;
    aspect-ratio: 16 / 9;
    max-width: 900px;
    margin: 0 auto;
  }
  .danmu-stage > img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
  .danmu-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
  .danmu-item {
    position: absolute;
    white-space: nowrap;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,.85);
    animation: danmuMove linear infinite;
    top: 0;
  }
  @keyframes danmuMove {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-120%); }
  }
  .danmu-play {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 66px; height: 66px;
    border-radius: 50%;
    background: rgba(225,29,46,.86);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 3;
  }
  .danmu-play::before {
    content: "";
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 6px;
  }
  .danmu-tip { text-align: center; color: var(--text-dim); font-size: 13.5px; margin-top: 16px; }

  /* ===== 历史 ===== */
  .history-text { max-width: 820px; }
  .history-text p { color: #cfcfd6; font-size: 15.5px; margin-bottom: 15px; }
  .history-text strong { color: #fff; }

  /* ===== FAQ 手风琴 ===== */
  .faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
  .faq-item { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    font-size: 15.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: "+";
    color: var(--red);
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
  }
  .faq-item[open] summary::after { content: "−"; }
  .faq-item[open] summary { color: #fff; }
  .faq-answer { padding: 0 20px 18px; color: var(--text-dim); font-size: 14.5px; }

  /* ===== 网友热议 ===== */
  .comments { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .comment {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    gap: 12px;
  }
  .avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    object-fit: contain;
    background: #000;
    padding: 5px;
    flex-shrink: 0;
    border: 1px solid var(--line);
  }
  .comment-body { min-width: 0; }
  .comment-body .c-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
  .comment-body .c-text { font-size: 14px; color: var(--text-dim); }
  .comment-body .c-time { font-size: 12px; color: #67676f; margin-top: 6px; }

  .post-box {
    max-width: 860px;
    margin: 28px auto 0;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
  }
  .post-box h3 { font-size: 17px; margin-bottom: 12px; }
  .post-box textarea {
    width: 100%;
    min-height: 96px;
    background: #0c0c0e;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    font-size: 14.5px;
    font-family: inherit;
    padding: 12px 14px;
    resize: vertical;
    outline: none;
  }
  .post-box textarea:focus { border-color: var(--red); }
  .post-actions { display: flex; justify-content: flex-end; margin-top: 12px; }
  .post-actions button {
    background: var(--red);
    color: #fff;
    border: none;
    font-size: 14.5px;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 999px;
    cursor: pointer;
  }
  .post-actions button:hover { background: #f3273b; }

  /* ===== 弹窗 ===== */
  .modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.72);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 22px;
  }
  .modal.show { display: flex; }
  .modal-card {
    background: #17171a;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px 26px;
    text-align: center;
    max-width: 380px;
    width: 100%;
  }
  .modal-card h4 { font-size: 19px; margin-bottom: 10px; }
  .modal-card p { color: var(--text-dim); font-size: 14px; margin-bottom: 20px; }
  .modal-card .btn-download { font-size: 15px; padding: 12px 24px; }

  /* ===== 页脚 ===== */
  footer {
    background: #08080a;
    padding: 36px 26px;
    text-align: center;
    color: #77777f;
    font-size: 13px;
  }
  footer .foot-brand { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; }
  footer .foot-brand img { height: 24px; }
  footer .foot-brand span { color: #d5d5da; font-weight: 700; font-size: 14px; }
  footer p { margin-bottom: 8px; }
  footer time { color: #5c5c64; }

  /* ===== 响应式 ===== */
  @media (max-width: 1024px) {
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: 32px; }
    .carousel { height: 380px; }
    .card { width: 214px; height: 308px; margin: -154px 0 0 -107px; }
  }
  @media (max-width: 768px) {
    .layout { display: block; }
    .sidebar {
      width: 100%;
      height: auto;
      position: sticky;
      top: 0;
      z-index: 60;
      padding: 12px 14px;
      border-right: none;
      border-bottom: 1px solid var(--line);
    }
    .sidebar-brand { padding-bottom: 10px; margin-bottom: 0; border-bottom: none; }
    .sidebar-brand img { height: 28px; }
    .nav-list { display: none; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
    .sidebar.open .nav-list { display: flex; }
    .nav-toggle { display: block; margin-top: 10px; }
    .topbar { position: static; padding: 12px 16px; }
    .topbar-brand span { font-size: 15px; }
    .topbar-dl { font-size: 13px; padding: 8px 14px; }
    .hero { padding: 30px 16px 32px; }
    .hero h1 { font-size: 25px; }
    .hero-lead { font-size: 15px; }
    .btn-download { font-size: 15px; padding: 12px 22px; }
    section.block { padding: 40px 16px; }
    .section-head h2 { font-size: 22px; }
    .grid-6 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .rank-list { grid-template-columns: 1fr; }
    .comments { grid-template-columns: 1fr; }
    .opinion { padding: 24px 20px; }
    .carousel { height: 340px; }
    .card { width: 186px; height: 268px; margin: -134px 0 0 -93px; }
    .footer-note { font-size: 12px; }
  }