* { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
    background: linear-gradient(160deg, #FF9E4A 0%, #F28C1A 100%);
    background-attachment: fixed;
    color: #1D2A33;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
  }
  a { text-decoration: none; color: inherit; }
  img { display: block; max-width: 100%; }
  ul { list-style: none; }

  .topbar {
    position: sticky; top: 0; z-index: 60;
    height: 58px; background: #FFFDF9;
    border-bottom: 2px solid #FFDBB5;
    box-shadow: 0 3px 0 #E8B87A;
  }
  .topbar-inner {
    max-width: 1280px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; gap: 16px; padding: 0 16px;
  }
  .brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
  .brand img { height: 32px; width: auto; }
  .brand-name { font-size: 1.45rem; font-weight: 900; color: #FD4C5D; letter-spacing: -0.5px; }
  .search-box { flex: 1; max-width: 520px; position: relative; }
  .search-box input {
    width: 100%; height: 36px; border-radius: 30px;
    border: 2px solid #FFDBB5; background: #FFF8F0;
    padding: 0 44px 0 16px; font-size: 0.85rem; font-weight: 600;
    color: #3D2208; outline: none; font-family: inherit;
  }
  .search-box input:focus { border-color: #FD4C5D; background: #fff; }
  .search-box .search-btn {
    position: absolute; right: 4px; top: 4px;
    width: 28px; height: 28px; border-radius: 50%; border: none;
    background: #FD4C5D; color: #fff; font-size: 0.8rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
  }
  .quick-links { display: flex; gap: 8px; margin-left: auto; flex-shrink: 0; }
  .quick-links a {
    font-size: 0.78rem; font-weight: 700; color: #B05A20;
    padding: 6px 14px; border-radius: 20px;
    background: #FFF0E0; border: 2px solid #FFDBB5; transition: all .15s;
  }
  .quick-links a:hover { background: #F9BC00; color: #3D2208; border-color: #F9BC00; }

  .channel-bar {
    position: sticky; top: 58px; z-index: 55;
    height: 42px; background: #FFF8F0;
    border-bottom: 2px solid #FFE1C2;
  }
  .channel-inner {
    max-width: 1280px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; gap: 4px;
    padding: 0 16px; overflow-x: auto; white-space: nowrap;
  }
  .channel-inner::-webkit-scrollbar { height: 4px; }
  .channel-inner::-webkit-scrollbar-thumb { background: #F28C1A; border-radius: 2px; }
  .channel-inner a {
    font-size: 0.82rem; font-weight: 700; color: #7A5A3A;
    padding: 5px 13px; border-radius: 20px; transition: all .15s;
  }
  .channel-inner a:hover { color: #FD4C5D; background: #FFE1C2; }
  .channel-inner a.active { background: #FD4C5D; color: #fff; box-shadow: 0 2px 0 #C9344A; }

  .layout {
    max-width: 1280px; margin: 18px auto 0; padding: 0 16px 40px;
    display: grid; grid-template-columns: 180px minmax(0, 1fr) 280px;
    gap: 16px; align-items: start;
  }

  .side-nav {
    position: sticky; top: 118px;
    background: #FFFDF9; border-radius: 14px;
    border: 2px solid #FFDBB5; box-shadow: 0 3px 0 #E8B87A;
    padding: 12px 10px; overflow: hidden;
  }
  .side-nav .nav-group-title {
    font-size: 0.7rem; font-weight: 800; color: #B05A20;
    letter-spacing: 1px; padding: 4px 8px; margin-bottom: 4px;
  }
  .side-nav a {
    display: block; font-size: 0.84rem; font-weight: 700; color: #3D2208;
    padding: 8px 12px; border-radius: 10px; transition: all .15s;
  }
  .side-nav a:hover { background: #FFF0E0; color: #FD4C5D; }
  .side-nav a.active { background: #F28C1A; color: #fff; box-shadow: 0 2px 0 #C96E10; }
  .side-nav .nav-divider { height: 2px; background: #FFE1C2; margin: 8px 6px; border-radius: 2px; }

  .main-col { min-width: 0; }

  .content-card {
    background: #FFFDF9; border-radius: 14px;
    border: 2px solid #FFDBB5; box-shadow: 0 3px 0 #E8B87A;
    padding: 18px; margin-bottom: 16px;
    scroll-margin-top: 118px;
  }
  .section-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
  .section-head .ico {
    width: 22px; height: 22px; border-radius: 7px; background: #FD4C5D;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; color: #fff; flex-shrink: 0;
  }
  .section-head h2 { font-size: 1.22rem; font-weight: 800; color: #3D2208; }
  .section-head .more {
    margin-left: auto; font-size: 0.75rem; font-weight: 700; color: #B05A20;
    padding: 3px 12px; border-radius: 20px; background: #FFF0E0; border: 1px solid #FFDBB5;
  }
  .section-head .more:hover { background: #F9BC00; border-color: #F9BC00; }

  .hero {
    position: relative; border-radius: 16px; overflow: hidden;
    background: linear-gradient(120deg, #F28C1A 0%, #FD4C5D 100%);
    color: #fff; padding: 26px 24px; margin-bottom: 16px;
    border: 2px solid #FFE1C2; box-shadow: 0 4px 0 #C9344A;
  }
  .hero h1 { font-size: 1.7rem; font-weight: 900; line-height: 1.35; margin-bottom: 8px; }
  .hero p { font-size: 0.9rem; font-weight: 600; color: #FFF3E6; max-width: 620px; }
  .hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .hero-badges span {
    font-size: 0.72rem; font-weight: 700; padding: 4px 12px;
    background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.5);
    border-radius: 20px;
  }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 6px;
    background: #FFE1C2; color: #B02A39; font-size: 0.88rem; font-weight: 800;
    padding: 10px 24px; border-radius: 30px; border: 2px solid #fff;
    box-shadow: 0 3px 0 #C96E10; transition: all .15s;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 0 #C96E10; }
  .btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 #C96E10; }
  .btn-ghost {
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,.14); color: #fff; font-size: 0.88rem; font-weight: 700;
    padding: 10px 22px; border-radius: 30px; border: 2px solid rgba(255,255,255,.7);
    transition: all .15s;
  }
  .btn-ghost:hover { background: rgba(255,255,255,.28); }

  .anime-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px;
  }
  .anime-card {
    background: #FFF8F0; border-radius: 12px; overflow: hidden;
    border: 2px solid #FFE1C2; box-shadow: 0 3px 0 #E8B87A;
    transition: transform .15s, box-shadow .15s, border-color .15s;
  }
  .anime-card:hover { transform: translateY(-2px); border-color: #F28C1A; box-shadow: 0 5px 0 #E8B87A; }
  .anime-cover { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #FFE1C2; }
  .anime-cover img { width: 100%; height: 100%; object-fit: cover; }
  .ep-badge {
    position: absolute; right: 6px; bottom: 6px;
    background: rgba(29,42,51,.82); color: #fff;
    font-size: 0.66rem; font-weight: 700; padding: 1px 7px; border-radius: 8px;
  }
  .anime-info { padding: 8px 9px 10px; }
  .anime-info .name {
    font-size: 0.85rem; font-weight: 800; color: #3D2208;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .score {
    display: inline-block; margin-top: 4px;
    font-size: 0.7rem; font-weight: 800; color: #B05A20;
    background: #FFF0E0; padding: 1px 8px; border-radius: 10px;
  }

  .daily-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .daily-item {
    display: flex; align-items: center; gap: 8px;
    background: #FFF8F0; border: 1px solid #FFE1C2; border-radius: 10px;
    padding: 7px 10px; font-size: 0.78rem; font-weight: 600;
  }
  .day-tag {
    flex-shrink: 0; font-size: 0.68rem; font-weight: 800; color: #fff;
    background: #F28C1A; border-radius: 8px; padding: 2px 7px;
  }
  .daily-item .title { color: #3D2208; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .daily-item .time { margin-left: auto; color: #B05A20; font-size: 0.7rem; flex-shrink: 0; }

  .cal-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; }
  .cal-scroll::-webkit-scrollbar { height: 6px; }
  .cal-scroll::-webkit-scrollbar-track { background: #FFE1C2; border-radius: 3px; }
  .cal-scroll::-webkit-scrollbar-thumb { background: #F28C1A; border-radius: 3px; }
  .cal-day {
    flex: 0 0 150px; background: #FFF8F0; border: 2px solid #FFE1C2;
    border-radius: 12px; padding: 10px;
  }
  .cal-day.today { border-color: #FD4C5D; background: #FFF0F1; }
  .cal-day .cal-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
  .cal-day .cal-head strong { font-size: 0.85rem; font-weight: 800; color: #3D2208; }
  .cal-day .today-flag { font-size: 0.62rem; font-weight: 800; color: #fff; background: #FD4C5D; border-radius: 8px; padding: 1px 6px; }
  .cal-item { font-size: 0.72rem; font-weight: 600; color: #7A5A3A; display: flex; gap: 4px; padding: 3px 0; }
  .cal-item .play { color: #FD4C5D; flex-shrink: 0; }
  .cal-item .t { margin-left: auto; color: #B05A20; }

  .new-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
  .new-card {
    background: #FFF8F0; border-radius: 14px; overflow: hidden;
    border: 2px solid #FFE1C2; box-shadow: 0 3px 0 #E8B87A;
    transition: transform .15s, box-shadow .15s, border-color .15s;
  }
  .new-card:hover { transform: translateY(-4px); border-color: #F28C1A; box-shadow: 0 6px 0 #E8B87A, 0 8px 14px rgba(201,110,16,.22); }
  .new-cover { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #FFE1C2; }
  .new-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
  .new-card:hover .new-cover img { transform: scale(1.04); }
  .corner {
    position: absolute; font-size: 0.64rem; font-weight: 800;
    padding: 2px 8px; border-radius: 8px; color: #fff;
  }
  .corner.season { left: 6px; top: 6px; background: rgba(29,42,51,.68); backdrop-filter: blur(4px); }
  .corner.hot { right: 6px; top: 6px; background: #FD4C5D; box-shadow: 0 2px 0 #C9344A; }
  .corner.epi { right: 6px; bottom: 6px; background: rgba(29,42,51,.7); backdrop-filter: blur(4px); }
  .new-body { padding: 10px; }
  .new-body .name { font-size: 0.9rem; font-weight: 800; color: #3D2208; }
  .new-body .desc {
    font-size: 0.72rem; font-weight: 600; color: #7A5A3A; margin-top: 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .tag-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
  .tag-row span {
    font-size: 0.66rem; font-weight: 700; color: #B05A20;
    background: #FFF0E0; border-radius: 10px; padding: 1px 8px;
  }
  .star-row { margin-top: 6px; font-size: 0.72rem; font-weight: 700; color: #F9BC00; }
  .star-row b { color: #B05A20; margin-left: 4px; }

  .topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .topic {
    border-radius: 14px; padding: 18px 16px; color: #fff;
    box-shadow: 0 3px 0 rgba(0,0,0,.14); border: 2px solid rgba(255,255,255,.45);
    transition: transform .15s;
  }
  .topic:hover { transform: translateY(-3px); }
  .topic h3 { font-size: 1rem; font-weight: 900; }
  .topic p { font-size: 0.74rem; font-weight: 600; margin-top: 5px; opacity: .92; }
  .topic.a { background: linear-gradient(120deg, #FF9E4A, #F2701A); }
  .topic.b { background: linear-gradient(120deg, #FD4C5D, #E03146); }
  .topic.c { background: linear-gradient(120deg, #F9BC00, #E5A200); color: #3D2208; }
  .topic.d { background: linear-gradient(120deg, #C96E10, #A35300); }

  .review-item {
    display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #FFE1C2;
  }
  .review-item:last-child { border-bottom: none; }
  .review-avatar {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    background: #FFE1C2; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; border: 2px solid #FFDBB5;
  }
  .review-main { min-width: 0; }
  .review-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
  .review-top .user { font-size: 0.8rem; font-weight: 800; color: #3D2208; }
  .review-top .anime-tag {
    font-size: 0.66rem; font-weight: 700; color: #fff; background: #F28C1A;
    padding: 1px 8px; border-radius: 10px;
  }
  .review-text { font-size: 0.8rem; font-weight: 600; color: #3D2208; margin-top: 4px; }
  .review-star { font-size: 0.7rem; color: #F9BC00; margin-top: 2px; letter-spacing: 1px; }

  .qa-list { border-top: 1px solid #FFE1C2; }
  .qa-item { border-bottom: 1px solid #FFE1C2; }
  .qa-q {
    width: 100%; background: none; border: none; cursor: pointer;
    display: flex; align-items: center; gap: 10px; text-align: left;
    padding: 12px 4px; font-family: inherit;
    font-size: 0.85rem; font-weight: 800; color: #3D2208;
  }
  .qa-q .q-mark {
    width: 22px; height: 22px; border-radius: 7px; background: #FFE1C2; color: #B05A20;
    font-size: 0.72rem; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .qa-q .arrow { margin-left: auto; font-size: 0.7rem; color: #B05A20; transition: transform .2s; flex-shrink: 0; }
  .qa-item.open .qa-q .arrow { transform: rotate(180deg); }
  .qa-a {
    display: none; font-size: 0.8rem; font-weight: 600; color: #7A5A3A;
    background: #FFF8F0; border-left: 3px solid #F28C1A;
    border-radius: 0 8px 8px 0; padding: 10px 14px; margin: 0 0 12px 32px;
  }
  .qa-item.open .qa-a { display: block; }

  .side-col { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
  .side-card {
    background: #FFFDF9; border-radius: 14px; border: 2px solid #FFDBB5;
    box-shadow: 0 3px 0 #E8B87A; padding: 14px;
  }
  .side-card h3 {
    font-size: 0.95rem; font-weight: 800; color: #3D2208;
    display: flex; align-items: center; gap: 6px; margin-bottom: 10px;
  }
  .side-card h3 .dot {
    width: 18px; height: 18px; border-radius: 6px; background: #FD4C5D;
    font-size: 0.6rem; color: #fff; display: flex; align-items: center; justify-content: center;
  }
  .rank-item { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 0.78rem; font-weight: 700; }
  .rank-num {
    width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.68rem; font-weight: 900; background: #FFE1C2; color: #7A5A3A;
  }
  .rank-num.top1 { background: #FD4C5D; color: #fff; }
  .rank-num.top2 { background: #F28C1A; color: #fff; }
  .rank-num.top3 { background: #F9BC00; color: #3D2208; }
  .rank-item .rank-name { color: #3D2208; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rank-item .rank-hot { margin-left: auto; font-size: 0.68rem; color: #B05A20; flex-shrink: 0; }

  .topic-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
  .topic-cloud a {
    font-size: 0.72rem; font-weight: 700; color: #B05A20;
    background: #FFF0E0; border: 1px solid #FFDBB5; border-radius: 20px;
    padding: 3px 11px; transition: all .15s;
  }
  .topic-cloud a:hover { background: #FD4C5D; color: #fff; border-color: #FD4C5D; }

  .up-item { display: flex; align-items: center; gap: 8px; padding: 7px 0; }
  .up-avatar {
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
    background: #FFE1C2; display: flex; align-items: center; justify-content: center; font-size: 1rem;
  }
  .up-info { min-width: 0; }
  .up-info .up-name { font-size: 0.78rem; font-weight: 800; color: #3D2208; }
  .up-info .up-fans { font-size: 0.66rem; font-weight: 600; color: #B05A20; }
  .up-follow {
    margin-left: auto; flex-shrink: 0; font-size: 0.66rem; font-weight: 800;
    color: #fff; background: #FD4C5D; border-radius: 20px; padding: 3px 10px;
    box-shadow: 0 2px 0 #C9344A;
  }

  .danmu-item { font-size: 0.74rem; font-weight: 600; color: #7A5A3A; padding: 5px 0; border-bottom: 1px dashed #FFE1C2; }
  .danmu-item:last-child { border-bottom: none; }
  .danmu-item b { color: #FD4C5D; font-weight: 800; margin-left: 4px; }

  .gallery-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; }
  .gallery-scroll::-webkit-scrollbar { height: 6px; }
  .gallery-scroll::-webkit-scrollbar-track { background: #FFE1C2; border-radius: 3px; }
  .gallery-scroll::-webkit-scrollbar-thumb { background: #F28C1A; border-radius: 3px; }
  .gallery-scroll figure {
    flex: 0 0 150px; border-radius: 12px; overflow: hidden;
    border: 2px solid #FFE1C2; background: #FFE1C2; box-shadow: 0 3px 0 #E8B87A;
  }
  .gallery-scroll figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .gallery-scroll figcaption {
    font-size: 0.68rem; font-weight: 700; color: #3D2208;
    padding: 5px 8px; background: #FFF8F0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }

  .fabs { position: fixed; right: 20px; bottom: 24px; z-index: 70; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
  .fab-download {
    display: inline-flex; align-items: center; gap: 7px;
    background: #FD4C5D; color: #fff; font-size: 0.88rem; font-weight: 800;
    padding: 12px 22px; border-radius: 40px; border: 3px solid #FFF8F0;
    box-shadow: 0 4px 0 #C9344A; transition: all .15s;
  }
  .fab-download:hover { transform: translateY(-3px); box-shadow: 0 7px 0 #C9344A; }
  .fab-download:active { transform: translateY(5px); box-shadow: 0 1px 0 #C9344A; }

  .footer {
    max-width: 1280px; margin: 0 auto; padding: 0 16px 34px;
  }
  .footer-inner {
    background: rgba(255,253,249,.82); border-radius: 14px;
    border: 1px solid #FFDBB5; padding: 14px 18px;
    font-size: 0.72rem; font-weight: 600; color: #8A6A4A; text-align: center;
    line-height: 1.9;
  }
  .footer-inner a { color: #B05A20; }
  .footer-inner a:hover { text-decoration: underline; }
  .footer-inner .update-time { display: block; font-size: 0.68rem; color: #A98864; }

  .scroll-help { font-size: 0.72rem; color: #B05A20; font-weight: 600; }

  @media (max-width: 1100px) {
    .layout { grid-template-columns: 170px minmax(0, 1fr); }
    .side-col { display: none; }
  }
  @media (max-width: 900px) {
    .topbar { height: auto; }
    .topbar-inner { flex-wrap: wrap; padding: 8px 14px; gap: 10px; }
    .brand { order: 1; }
    .quick-links { order: 2; margin-left: auto; }
    .search-box { order: 3; flex: 1 1 100%; max-width: none; }
    .channel-bar { position: static; height: auto; }
    .channel-inner { flex-wrap: wrap; white-space: normal; padding: 8px 14px; gap: 4px; overflow: visible; }
    .layout { grid-template-columns: minmax(0, 1fr); margin-top: 14px; }
    .side-nav {
      position: static; display: flex; flex-wrap: wrap; align-items: center;
      gap: 4px; padding: 10px;
    }
    .side-nav .nav-group-title { width: 100%; margin-bottom: 0; }
    .side-nav .nav-divider { display: none; }
    .side-nav a { padding: 6px 11px; }
    .daily-grid { grid-template-columns: repeat(2, 1fr); }
    .new-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .content-card { scroll-margin-top: 12px; }
  }
  @media (max-width: 520px) {
    .hero { padding: 20px 16px; }
    .hero h1 { font-size: 1.32rem; }
    .anime-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .daily-grid { grid-template-columns: 1fr; }
    .new-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .new-cover { aspect-ratio: 3 / 4; }
    .topic-grid { grid-template-columns: 1fr; }
    .content-card { padding: 14px; }
    .fabs { right: 12px; bottom: 14px; }
    .fab-download { padding: 9px 16px; font-size: 0.8rem; border-width: 2px; }
    .gallery-scroll figure { flex: 0 0 120px; }
  }