:root{
    --bg:#121014;
    --bg-soft:#1b171d;
    --bg-card:#221c24;
    --line:#332a33;
    --yellow:#ffcc33;
    --yellow-deep:#f0a800;
    --red:#e8342a;
    --red-deep:#c11d16;
    --white:#f7f4ee;
    --muted:#a89fa8;
    --radius:14px;
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--white);
    font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
    line-height:1.7;
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
  }
  img{display:block;max-width:100%;}
  a{color:inherit;text-decoration:none;}
  ul{list-style:none;}

  /* ============ 香蕉皮飘落 ============ */
  .peel-field{
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:1;
    overflow:hidden;
  }
  .peel{
    position:absolute;
    top:-60px;
    width:26px;
    height:26px;
    background:linear-gradient(140deg,#ffe066,#e6a517 60%,#a8730c);
    border-radius:52% 48% 12% 88% / 60% 40% 60% 40%;
    opacity:.42;
    animation:peelFall linear infinite;
  }
  .peel::after{
    content:"";
    position:absolute;
    width:8px;height:8px;
    background:#7a5410;
    border-radius:50%;
    top:3px;left:3px;
    opacity:.6;
  }
  @keyframes peelFall{
    0%{transform:translate3d(0,-60px,0) rotate(0deg);}
    50%{transform:translate3d(60px,50vh,0) rotate(220deg);}
    100%{transform:translate3d(-30px,110vh,0) rotate(520deg);}
  }
  .peel:nth-child(1){left:6%;animation-duration:15s;animation-delay:0s;width:22px;height:22px;}
  .peel:nth-child(2){left:18%;animation-duration:19s;animation-delay:2.5s;width:30px;height:30px;opacity:.3;}
  .peel:nth-child(3){left:31%;animation-duration:13s;animation-delay:5s;}
  .peel:nth-child(4){left:44%;animation-duration:21s;animation-delay:1.2s;width:18px;height:18px;}
  .peel:nth-child(5){left:57%;animation-duration:17s;animation-delay:4s;width:34px;height:34px;opacity:.26;}
  .peel:nth-child(6){left:70%;animation-duration:14s;animation-delay:6.5s;}
  .peel:nth-child(7){left:82%;animation-duration:20s;animation-delay:3s;width:20px;height:20px;}
  .peel:nth-child(8){left:92%;animation-duration:16s;animation-delay:8s;width:28px;height:28px;opacity:.34;}

  /* ============ 顶部 */
  .topbar{
    position:sticky;top:0;z-index:60;
    display:flex;align-items:center;gap:12px;
    padding:10px 16px;
    background:rgba(18,16,20,.94);
    border-bottom:1px solid var(--line);
    backdrop-filter:blur(8px);
  }
  .topbar .logo-link{display:flex;align-items:center;gap:10px;}
  .topbar .logo-link img{height:34px;width:auto;border-radius:8px;}
  .topbar .brand-name{font-size:17px;font-weight:700;color:var(--yellow);letter-spacing:.5px;}
  .topbar .fold-btn{
    margin-left:auto;
    background:var(--bg-card);
    border:1px solid var(--line);
    color:var(--yellow);
    border-radius:10px;
    padding:7px 14px;
    font-size:13px;
    cursor:pointer;
    font-family:inherit;
  }

  /* ============ 布局 */
  .layout{
    position:relative;
    z-index:2;
    max-width:1240px;
    margin:0 auto;
    padding:0 16px 40px;
  }

  /* 导航 */
  .sidenav{
    background:var(--bg-soft);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:8px;
    margin-top:14px;
    overflow:hidden;
    max-height:0;
    transition:max-height .32s ease, padding .32s ease, margin .32s ease;
  }
  .sidenav.open{max-height:640px;padding:8px;margin-top:14px;}
  .sidenav ul{display:flex;flex-wrap:wrap;gap:6px;}
  .sidenav li{flex:1 1 40%;}
  .sidenav a{
    display:block;
    padding:9px 10px;
    font-size:14px;
    color:var(--white);
    border-radius:9px;
    background:var(--bg-card);
    text-align:center;
  }
  .sidenav a:hover{background:var(--yellow);color:#1b1400;}

  /* 主舞台 */
  .stage{min-width:0;}
  .hero{padding:24px 0 10px;}
  .hero-tag{
    display:inline-block;
    font-size:12px;
    color:#1b1400;
    background:var(--yellow);
    border-radius:999px;
    padding:3px 12px;
    font-weight:700;
    margin-bottom:14px;
  }
  h1{
    font-size:29px;
    line-height:1.35;
    letter-spacing:.5px;
    margin-bottom:14px;
  }
  h1 em{
    font-style:normal;
    color:var(--yellow);
    position:relative;
  }
  .hero-sub{
    color:var(--muted);
    font-size:15px;
    max-width:620px;
    margin-bottom:22px;
  }
  .btn-down{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:linear-gradient(180deg,var(--red),var(--red-deep));
    color:#fff;
    font-size:17px;
    font-weight:700;
    padding:14px 32px;
    border-radius:12px;
    box-shadow:0 10px 26px rgba(232,52,42,.35);
    transition:transform .18s ease;
  }
  .btn-down:hover{transform:translateY(-2px);}
  .btn-down .arrow{font-size:14px;opacity:.9;}
  .hero-note{font-size:12px;color:var(--muted);margin-top:10px;}

  .hero-points{
    display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;
  }
  .hero-points span{
    font-size:12px;
    color:var(--yellow);
    border:1px solid rgba(255,204,51,.35);
    border-radius:999px;
    padding:4px 12px;
  }

  /* ============ 轮播（扑克牌扇形） ============ */
  .carousel-wrap{
    margin-top:28px;
    position:relative;
  }
  .carousel-title{
    font-size:13px;color:var(--muted);margin-bottom:12px;
  }
  .carousel{
    position:relative;
    height:340px;
    touch-action:pan-y;
  }
  .card{
    position:absolute;
    top:50%;left:50%;
    width:190px;
    aspect-ratio:3/4;
    border-radius:12px;
    overflow:hidden;
    background:#000;
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 14px 30px rgba(0,0,0,.55);
    transform-origin:50% 100%;
    transition:transform .45s cubic-bezier(.22,.68,.36,1), opacity .45s ease, filter .45s ease;
    cursor:pointer;
  }
  .card img{width:100%;height:100%;object-fit:cover;}
  .card .play{
    position:absolute;inset:0;
    margin:auto;
    width:46px;height:46px;
    border-radius:50%;
    background:rgba(0,0,0,.42);
    border:2px solid rgba(255,255,255,.8);
    display:flex;align-items:center;justify-content:center;
    backdrop-filter:blur(2px);
  }
  .card .play::before{
    content:"";
    width:0;height:0;
    border-left:14px solid #fff;
    border-top:9px solid transparent;
    border-bottom:9px solid transparent;
    margin-left:4px;
  }
  .card .cap{
    position:absolute;left:0;right:0;bottom:0;
    padding:22px 10px 8px;
    font-size:12px;
    color:#fff;
    background:linear-gradient(180deg,transparent,rgba(0,0,0,.82));
  }
  .card.is-active{filter:brightness(1.06);}
  .card:not(.is-active){opacity:.82;}
  .carousel-nav{
    display:flex;justify-content:center;gap:10px;margin-top:14px;
  }
  .carousel-nav button{
    width:40px;height:34px;
    border-radius:9px;
    background:var(--bg-card);
    border:1px solid var(--line);
    color:var(--yellow);
    font-size:15px;
    cursor:pointer;
    font-family:inherit;
  }
  .carousel-nav button:hover{background:var(--yellow);color:#1b1400;}

  /* ============ 滚动横幅 ============ */
  .ticker{
    margin:34px 0 8px;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    background:rgba(255,204,51,.06);
    overflow:hidden;
    position:relative;
  }
  .ticker-track{
    display:flex;
    width:max-content;
    animation:tickerMove 30s linear infinite;
    padding:10px 0;
  }
  .ticker-track span{
    font-size:13px;
    color:var(--yellow);
    padding:0 26px;
    white-space:nowrap;
    position:relative;
  }
  .ticker-track span::after{
    content:"·";
    position:absolute;right:0;color:var(--muted);
  }
  @keyframes tickerMove{
    from{transform:translateX(0);}
    to{transform:translateX(-50%);}
  }

  /* ============ 区块通用 ============ */
  section{padding:34px 0;scroll-margin-top:70px;}
  .sec-head{margin-bottom:18px;}
  .sec-head h2{
    font-size:21px;
    color:var(--white);
    display:flex;align-items:center;gap:9px;
  }
  .sec-head h2::before{
    content:"";
    width:5px;height:19px;border-radius:3px;
    background:var(--yellow);
    display:inline-block;
  }
  .sec-head p{
    font-size:13px;color:var(--muted);margin-top:6px;
  }

  /* 剧库网格 */
  .grid-6{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
  }
  .poster{
    position:relative;
    border-radius:12px;
    overflow:hidden;
    background:#000;
    border:1px solid var(--line);
    cursor:pointer;
  }
  .poster img{
    width:100%;
    aspect-ratio:3/4;
    object-fit:cover;
    transition:transform .4s ease;
  }
  .poster:hover img{transform:scale(1.05);}
  .poster .play{
    position:absolute;inset:0;margin:auto;
    width:44px;height:44px;border-radius:50%;
    background:rgba(0,0,0,.45);
    border:2px solid rgba(255,255,255,.85);
    display:flex;align-items:center;justify-content:center;
  }
  .poster .play::before{
    content:"";width:0;height:0;
    border-left:13px solid #fff;
    border-top:8px solid transparent;
    border-bottom:8px solid transparent;
    margin-left:3px;
  }
  .poster .line{
    position:absolute;left:0;right:0;bottom:0;
    padding:20px 9px 8px;
    font-size:12px;
    color:#fff;
    background:linear-gradient(180deg,transparent,rgba(0,0,0,.85));
  }

  /* 亮点 */
  .highlight-box{
    background:linear-gradient(160deg,#241d20,#1a1519);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:20px 18px;
  }
  .highlight-box h3{
    font-size:17px;color:var(--yellow);margin-bottom:12px;
  }
  .highlight-box p{
    font-size:14px;color:#ddd6d0;margin-bottom:12px;
  }
  .highlight-box p:last-child{margin-bottom:0;}
  .highlight-strip{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    margin-top:16px;
  }
  .highlight-strip div{
    background:var(--bg-card);
    border-radius:10px;
    padding:12px;
    font-size:13px;
    color:var(--white);
    border-left:3px solid var(--yellow);
  }
  .highlight-strip div strong{color:var(--yellow);display:block;font-size:14px;margin-bottom:2px;}

  /* 热播 & 排行 */
  .ranklist{counter-reset:rank;}
  .rank-item{
    display:flex;
    gap:12px;
    align-items:center;
    padding:10px 0;
    border-bottom:1px dashed var(--line);
    cursor:pointer;
  }
  .rank-item:last-child{border-bottom:0;}
  .rank-item .no{
    flex:0 0 26px;
    font-size:15px;
    font-weight:700;
    color:var(--muted);
    text-align:center;
  }
  .rank-item:nth-child(1) .no{color:var(--red);}
  .rank-item:nth-child(2) .no{color:var(--yellow);}
  .rank-item:nth-child(3) .no{color:var(--yellow-deep);}
  .rank-item img{
    width:52px;height:70px;object-fit:cover;border-radius:8px;flex:0 0 auto;
  }
  .rank-item .info{min-width:0;flex:1;}
  .rank-item .info b{display:block;font-size:14px;color:var(--white);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .rank-item .info small{font-size:12px;color:var(--muted);}
  .rank-item .num{
    font-size:12px;color:var(--yellow);white-space:nowrap;
  }

  /* 弹幕播放界面 */
  .player{
    position:relative;
    border-radius:var(--radius);
    overflow:hidden;
    border:1px solid var(--line);
    background:#000;
  }
  .player > img{
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    opacity:.86;
  }
  .player .vignette{
    position:absolute;inset:0;
    background:radial-gradient(circle at 50% 50%,transparent 30%,rgba(0,0,0,.72) 100%);
    pointer-events:none;
  }
  .danmu-layer{
    position:absolute;inset:0;
    overflow:hidden;
    pointer-events:none;
  }
  .danmu{
    position:absolute;
    white-space:nowrap;
    font-size:14px;
    font-weight:600;
    color:#fff;
    text-shadow:0 1px 3px rgba(0,0,0,.9);
    left:100%;
    animation:danmuMove linear infinite;
  }
  .danmu.y{color:var(--yellow);}
  @keyframes danmuMove{
    from{transform:translateX(0);}
    to{transform:translateX(-160vw);}
  }
  .danmu:nth-child(1){top:14%;animation-duration:13s;animation-delay:0s;}
  .danmu:nth-child(2){top:28%;animation-duration:17s;animation-delay:2s;}
  .danmu:nth-child(3){top:42%;animation-duration:12s;animation-delay:4s;}
  .danmu:nth-child(4){top:56%;animation-duration:19s;animation-delay:1s;}
  .danmu:nth-child(5){top:70%;animation-duration:15s;animation-delay:6s;}
  .danmu:nth-child(6){top:82%;animation-duration:21s;animation-delay:3s;}
  .danmu:nth-child(7){top:22%;animation-duration:16s;animation-delay:8s;}
  .player-bar{
    position:absolute;left:0;right:0;bottom:0;
    padding:26px 14px 12px;
    background:linear-gradient(180deg,transparent,rgba(0,0,0,.85));
    display:flex;align-items:center;gap:10px;
  }
  .player-bar .prog{
    flex:1;height:4px;border-radius:2px;background:rgba(255,255,255,.28);position:relative;
  }
  .player-bar .prog::after{
    content:"";position:absolute;left:0;top:0;bottom:0;width:46%;
    background:var(--yellow);border-radius:2px;
  }
  .player-bar span{font-size:11px;color:#eee;}
  .danmu-hint{font-size:13px;color:var(--muted);margin-top:10px;}

  /* 历程 */
  .timeline{
    border-left:2px solid var(--line);
    padding-left:18px;
    margin-top:6px;
  }
  .timeline li{
    position:relative;
    padding-bottom:20px;
    font-size:14px;
    color:#ddd6d0;
  }
  .timeline li:last-child{padding-bottom:0;}
  .timeline li::before{
    content:"";
    position:absolute;
    left:-25px;top:7px;
    width:11px;height:11px;
    border-radius:50%;
    background:var(--yellow);
    box-shadow:0 0 0 3px rgba(255,204,51,.16);
  }
  .timeline b{display:block;color:var(--white);font-size:15px;margin-bottom:2px;}

  /* FAQ 手风琴 */
  .faq{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--bg-soft);}
  .faq details{border-bottom:1px solid var(--line);}
  .faq details:last-child{border-bottom:0;}
  .faq summary{
    list-style:none;
    cursor:pointer;
    padding:14px 16px;
    font-size:14px;
    color:var(--white);
    display:flex;align-items:center;gap:10px;
    position:relative;
  }
  .faq summary::-webkit-details-marker{display:none;}
  .faq summary::before{
    content:"+";
    color:var(--yellow);
    font-size:17px;
    font-weight:700;
    width:16px;
    flex:0 0 16px;
    transition:transform .2s ease;
  }
  .faq details[open] summary::before{content:"−";}
  .faq .ans{
    padding:0 16px 16px 42px;
    font-size:13px;
    color:var(--muted);
  }

  /* 网友热议 */
  .talk-list{display:flex;flex-direction:column;gap:12px;}
  .talk{
    display:flex;gap:10px;
    background:var(--bg-card);
    border-radius:12px;
    padding:12px;
    border:1px solid var(--line);
  }
  .talk img{
    width:38px;height:38px;border-radius:50%;
    object-fit:cover;flex:0 0 auto;
    background:var(--yellow);
  }
  .talk .body{min-width:0;}
  .talk .body b{font-size:13px;color:var(--yellow);}
  .talk .body p{font-size:13px;color:#ddd6d0;}
  .comment-box{
    margin-top:16px;
    background:var(--bg-soft);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:14px;
  }
  .comment-box textarea{
    width:100%;
    min-height:88px;
    resize:vertical;
    background:var(--bg);
    color:var(--white);
    border:1px solid var(--line);
    border-radius:10px;
    padding:10px 12px;
    font-size:14px;
    font-family:inherit;
    outline:none;
  }
  .comment-box textarea:focus{border-color:var(--yellow);}
  .comment-actions{display:flex;justify-content:space-between;align-items:center;margin-top:10px;gap:10px;}
  .comment-actions small{font-size:12px;color:var(--muted);}
  .comment-actions button{
    background:var(--yellow);
    color:#1b1400;
    border:0;
    border-radius:9px;
    padding:9px 22px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    font-family:inherit;
  }

  /* 其它截图墙 */
  .wall{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
  }
  .wall img{
    width:100%;
    aspect-ratio:3/4;
    object-fit:cover;
    border-radius:9px;
    border:1px solid var(--line);
  }

  /* 页脚 */
  footer{
    position:relative;z-index:2;
    border-top:1px solid var(--line);
    padding:22px 16px 30px;
    text-align:center;
    font-size:12px;
    color:#7d747d;
    line-height:1.9;
  }
  footer a{color:#8d848d;text-decoration:underline;}
  footer a:hover{color:var(--yellow);}
  footer .foot-logo{height:22px;border-radius:5px;margin:0 auto 8px;opacity:.7;}

  /* 弹窗 */
  .modal{
    position:fixed;inset:0;z-index:120;
    display:none;
    align-items:center;justify-content:center;
    padding:20px;
    background:rgba(0,0,0,.72);
  }
  .modal.show{display:flex;}
  .modal-card{
    width:100%;max-width:340px;
    background:var(--bg-soft);
    border:1px solid var(--line);
    border-radius:16px;
    padding:22px 20px;
    text-align:center;
    box-shadow:0 24px 60px rgba(0,0,0,.6);
  }
  .modal-card h3{font-size:17px;color:var(--yellow);margin-bottom:8px;}
  .modal-card p{font-size:13px;color:var(--muted);margin-bottom:16px;}
  .modal-card .btn-down{font-size:15px;padding:11px 24px;width:100%;justify-content:center;}
  .modal-card .close{
    margin-top:10px;background:none;border:0;color:var(--muted);
    font-size:13px;cursor:pointer;font-family:inherit;
  }

  /* ============ 平板以上 ============ */
  @media (min-width:768px){
    h1{font-size:38px;}
    .hero-sub{font-size:16px;}
    .layout{display:grid;grid-template-columns:1fr;gap:0;}
    .grid-6{grid-template-columns:repeat(3,1fr);gap:14px;}
    .carousel{height:400px;}
    .card{width:225px;}
    .highlight-strip{grid-template-columns:repeat(4,1fr);}
    .wall{grid-template-columns:repeat(4,1fr);gap:10px;}
    .danmu{font-size:16px;}
    .talk img{width:42px;height:42px;}
    section{padding:44px 0;}
    .sec-head h2{font-size:24px;}
    .ranklist{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;}
  }

  /* ============ 桌面：左侧导航 ============ */
  @media (min-width:1024px){
    .topbar .fold-btn{display:none;}
    .layout{
      display:grid;
      grid-template-columns:220px minmax(0,1fr);
      gap:32px;
      align-items:start;
      padding-top:16px;
    }
    .sidenav{
      position:sticky;
      top:78px;
      max-height:none;
      margin-top:0;
      padding:10px;
      display:block;
    }
    .sidenav ul{flex-direction:column;flex-wrap:nowrap;gap:4px;}
    .sidenav li{flex:1 1 auto;}
    .sidenav a{text-align:left;font-size:14px;padding:10px 12px;}
    .sidenav a:hover{background:var(--yellow);color:#1b1400;}
    .stage{padding-bottom:20px;}
    h1{font-size:44px;}
    .carousel{height:430px;}
    .card{width:250px;}
    section{padding:52px 0;}
    .sec-head h2{font-size:26px;}
    .faq .ans{font-size:14px;}
    footer{font-size:12px;}
    .wall{grid-template-columns:repeat(5,1fr);}
  }

  @media (prefers-reduced-motion:reduce){
    .peel,.ticker-track,.danmu{animation:none !important;}
    .card{transition:none;}
  }