:root{
    --red:#f05252;
    --red-deep:#e60012;
    --yellow:#f5b940;
    --blue:#57e0e6;
    --ink:#17131f;
    --cream:#fffaf4;
    --shadow:5px 5px 0 var(--ink);
    --shadow-sm:3px 3px 0 var(--ink);
    --border:3px solid var(--ink);
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
    color:var(--ink);
    background-color:var(--cream);
    background-image:radial-gradient(rgba(23,19,31,.07) 1.2px,transparent 1.2px);
    background-size:18px 18px;
    line-height:1.6;
    overflow-x:hidden;
  }
  img{display:block;max-width:100%;}
  a{color:inherit;text-decoration:none;}
  ul{list-style:none;}
  .wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 20px;}
  h1,h2,h3{font-weight:900;letter-spacing:.01em;line-height:1.2;}

  /* ---------- 滚动公告 ---------- */
  .ticker{
    background:var(--yellow);
    border-bottom:4px solid var(--ink);
    overflow:hidden;
    position:relative;
  }
  .ticker__track{
    display:flex;
    width:max-content;
    animation:tickerMove 32s linear infinite;
  }
  .ticker__group{
    display:flex;
    align-items:center;
    gap:48px;
    padding:8px 24px;
    white-space:nowrap;
    font-size:14px;
    font-weight:700;
  }
  .ticker__group span::before{
    content:"★";
    color:var(--red-deep);
    margin-right:8px;
  }
  @keyframes tickerMove{
    from{transform:translateX(0);}
    to{transform:translateX(-50%);}
  }

  /* ---------- 头部 ---------- */
  .site-header{
    position:sticky;
    top:0;
    z-index:50;
    background:var(--cream);
    border-bottom:4px solid var(--ink);
  }
  .header-top{
    display:flex;
    align-items:center;
    gap:18px;
    padding:12px 0;
    flex-wrap:wrap;
  }
  .brand{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:22px;
    font-weight:900;
    flex-shrink:0;
  }
  .brand img{height:34px;width:auto;}
  .search{
    flex:1 1 240px;
    display:flex;
    align-items:center;
    border:var(--border);
    background:#fff;
    box-shadow:var(--shadow-sm);
    border-radius:4px;
    overflow:hidden;
  }
  .search input{
    flex:1;
    border:0;
    outline:none;
    padding:10px 14px;
    font-size:14px;
    font-family:inherit;
    background:transparent;
  }
  .search button{
    border:0;
    border-left:3px solid var(--ink);
    background:var(--yellow);
    font-weight:900;
    font-size:14px;
    padding:10px 18px;
    cursor:pointer;
    font-family:inherit;
  }
  .search button:hover{background:var(--red);color:#fff;}
  .header-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
  }
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:var(--border);
    box-shadow:var(--shadow-sm);
    font-weight:900;
    font-size:14px;
    padding:9px 18px;
    cursor:pointer;
    border-radius:4px;
    transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
    font-family:inherit;
    background:#fff;
    color:var(--ink);
  }
  .btn:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 var(--ink);}
  .btn--red{background:var(--red);color:#fff;}
  .btn--yellow{background:var(--yellow);color:var(--ink);}
  .btn--black{background:var(--ink);color:#fff;}
  .btn--lg{font-size:16px;padding:13px 26px;}

  .header-nav{
    border-top:3px solid var(--ink);
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  .header-nav ul{
    display:flex;
    gap:0;
    min-width:max-content;
  }
  .header-nav a{
    display:block;
    padding:10px 20px;
    font-size:14px;
    font-weight:700;
    border-right:3px solid var(--ink);
    transition:background .15s ease,color .15s ease;
  }
  .header-nav a:hover{background:var(--yellow);}
  .header-nav a.is-active{background:var(--ink);color:#fff;}

  /* ---------- 通用区块 ---------- */
  section{padding:56px 0;}
  .sec-head{margin-bottom:32px;}
  .sec-head .eyebrow{
    display:inline-block;
    font-size:12px;
    font-weight:900;
    letter-spacing:.16em;
    color:var(--red-deep);
    text-transform:uppercase;
    margin-bottom:8px;
  }
  .sec-head h2{font-size:clamp(24px,3.4vw,36px);}
  .sec-head p{margin-top:10px;font-size:15px;max-width:720px;}

  .tag{
    display:inline-block;
    border:2px solid var(--ink);
    background:#fff;
    padding:2px 10px;
    font-size:12px;
    font-weight:800;
    border-radius:2px;
  }

  /* ---------- 首屏焦点 ---------- */
  .hero{padding-top:40px;}
  .hero-grid{
    display:grid;
    grid-template-columns:1.55fr 1fr;
    gap:28px;
    align-items:start;
  }
  .hero-main{
    position:relative;
    background:var(--red);
    border:4px solid var(--ink);
    box-shadow:8px 8px 0 var(--ink);
    padding:36px 34px 34px;
    color:#fff;
    border-radius:6px;
  }
  .hero-main__flag{
    position:absolute;
    top:-18px;
    right:-14px;
    background:var(--yellow);
    color:var(--ink);
    border:3px solid var(--ink);
    font-weight:900;
    font-size:13px;
    padding:8px 16px;
    clip-path:polygon(50% 0%,63% 18%,84% 8%,80% 30%,100% 38%,82% 52%,96% 70%,74% 72%,76% 96%,56% 84%,42% 100%,36% 78%,14% 88%,20% 64%,0% 56%,18% 42%,4% 24%,26% 26%,24% 4%);
    transform:rotate(4deg);
  }
  .hero-main__label{
    display:inline-block;
    background:#fff;
    color:var(--red-deep);
    border:2px solid var(--ink);
    font-weight:900;
    font-size:13px;
    padding:4px 12px;
    margin-bottom:18px;
  }
  .hero-main h1{
    font-size:clamp(26px,4vw,44px);
    margin-bottom:16px;
    text-shadow:3px 3px 0 rgba(23,19,31,.55);
  }
  .hero-main p{font-size:15px;max-width:560px;margin-bottom:18px;color:#fff8f0;}
  .hero-main__tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:26px;}
  .hero-main__tags span{
    border:2px solid #fff;
    padding:3px 12px;
    font-size:12px;
    font-weight:800;
    border-radius:2px;
  }
  .hero-main__actions{display:flex;flex-wrap:wrap;gap:14px;}

  .hero-side{
    background:#fff;
    border:4px solid var(--ink);
    box-shadow:8px 8px 0 var(--ink);
    padding:22px 20px 18px;
    border-radius:6px;
  }
  .hero-side h2{font-size:20px;margin-bottom:4px;}
  .hero-side .sub{font-size:12px;font-weight:700;color:#6b6478;margin-bottom:14px;}
  .hot-list li{
    display:flex;
    align-items:center;
    gap:12px;
    padding:10px 0;
    border-bottom:2px dashed rgba(23,19,31,.18);
  }
  .hot-list li:last-child{border-bottom:0;}
  .hot-list .rank{
    font-size:20px;
    font-weight:900;
    width:26px;
    text-align:center;
    color:#b9b3c4;
    flex-shrink:0;
  }
  .hot-list li:nth-child(-n+3) .rank{color:var(--red-deep);}
  .hot-list img{
    width:56px;
    height:56px;
    object-fit:cover;
    border:2px solid var(--ink);
    border-radius:3px;
    flex-shrink:0;
  }
  .hot-list .info{flex:1;min-width:0;}
  .hot-list .info strong{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .hot-list .info em{
    font-style:normal;
    font-size:12px;
    color:#6b6478;
    font-weight:700;
  }
  .hot-list .heat{
    font-size:12px;
    font-weight:900;
    background:var(--yellow);
    border:2px solid var(--ink);
    padding:1px 7px;
    flex-shrink:0;
  }

  /* ---------- 分类筛选 ---------- */
  .category{
    background:var(--ink);
    color:#fff;
    border-top:4px solid var(--ink);
    border-bottom:4px solid var(--ink);
  }
  .category .sec-head .eyebrow{color:var(--yellow);}
  .category .sec-head p{color:#d6d0e0;}
  .filter-group{margin-bottom:24px;}
  .filter-group:last-child{margin-bottom:0;}
  .filter-group h3{
    font-size:14px;
    letter-spacing:.08em;
    color:var(--yellow);
    margin-bottom:12px;
  }
  .filter-row{display:flex;flex-wrap:wrap;gap:12px;}
  .filter-row button{
    border:3px solid var(--ink);
    background:#fff;
    color:var(--ink);
    font-weight:800;
    font-size:14px;
    padding:8px 18px;
    cursor:pointer;
    font-family:inherit;
    box-shadow:var(--shadow-sm);
    transition:transform .15s ease,box-shadow .15s ease;
  }
  .filter-row button:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 var(--ink);}
  .filter-row button.is-on{
    background:var(--red);
    color:#fff;
    font-weight:900;
  }

  /* ---------- 追番日历 ---------- */
  .calendar{background:#fff6e8;}
  .calendar-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:30px;
  }
  .switch{
    display:flex;
    border:var(--border);
    background:#fff;
    box-shadow:var(--shadow-sm);
  }
  .switch button{
    border:0;
    background:transparent;
    font-family:inherit;
    font-weight:900;
    font-size:14px;
    padding:9px 20px;
    cursor:pointer;
    border-right:3px solid var(--ink);
  }
  .switch button:last-child{border-right:0;}
  .switch button.is-on{background:var(--red);color:#fff;}

  .anime-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:22px;
  }
  .anime-card{
    background:#fff;
    border:3px solid var(--ink);
    box-shadow:var(--shadow);
    border-radius:4px;
    overflow:hidden;
    transition:transform .18s ease,box-shadow .18s ease;
  }
  .anime-card:hover{transform:translate(-4px,-4px);box-shadow:9px 9px 0 var(--ink);}
  .anime-card__cover{position:relative;aspect-ratio:3/4;overflow:hidden;border-bottom:3px solid var(--ink);}
  .anime-card__cover img{width:100%;height:100%;object-fit:cover;}
  .anime-card__ep{
    position:absolute;
    left:6px;
    bottom:6px;
    background:var(--yellow);
    color:var(--ink);
    border:2px solid var(--ink);
    font-size:11px;
    font-weight:900;
    padding:1px 7px;
  }
  .anime-card__body{padding:10px 11px 13px;}
  .anime-card__body strong{
    display:block;
    font-size:14px;
    margin-bottom:4px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .anime-card__body span{display:block;font-size:12px;font-weight:700;color:#6b6478;}
  .anime-card__body .time{
    margin-top:6px;
    display:inline-block;
    background:var(--blue);
    border:2px solid var(--ink);
    font-size:11px;
    font-weight:900;
    padding:1px 7px;
    color:var(--ink);
  }

  /* ---------- 创作大赛 ---------- */
  .contest{
    background:var(--yellow);
    border-top:4px solid var(--ink);
    border-bottom:4px solid var(--ink);
  }
  .contest-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:26px;
  }
  .contest-card{
    border:3px solid var(--ink);
    box-shadow:var(--shadow);
    padding:26px 24px;
    border-radius:4px;
    transition:transform .18s ease,box-shadow .18s ease;
  }
  .contest-card:hover{transform:translate(-4px,-4px);box-shadow:9px 9px 0 var(--ink);}
  .contest-card--white{background:#fff;}
  .contest-card--red{background:var(--red);color:#fff;}
  .contest-card--blue{background:var(--blue);color:var(--ink);}
  .contest-card .kicker{
    font-size:12px;
    font-weight:900;
    letter-spacing:.12em;
    margin-bottom:8px;
    opacity:.85;
  }
  .contest-card h3{font-size:22px;margin-bottom:10px;}
  .contest-card p{font-size:14px;margin-bottom:16px;}
  .contest-card ul{margin-bottom:18px;}
  .contest-card li{
    position:relative;
    padding-left:20px;
    font-size:13px;
    font-weight:700;
    margin-bottom:7px;
  }
  .contest-card li::before{
    content:"◆";
    position:absolute;
    left:0;
    font-size:11px;
    top:2px;
  }
  .contest-card .more{
    display:inline-block;
    font-size:13px;
    font-weight:900;
    border-bottom:3px solid currentColor;
    padding-bottom:1px;
  }
  .contest-card .more::after{content:" →";}

  /* ---------- 人气榜单 ---------- */
  .ranks{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:28px;
    align-items:start;
  }
  .rank-card{
    background:#fff;
    border:4px solid var(--ink);
    box-shadow:8px 8px 0 var(--ink);
    padding:26px 24px;
    border-radius:5px;
  }
  .rank-card h3{font-size:22px;margin-bottom:18px;}
  .rank-lines li{
    display:flex;
    align-items:center;
    gap:14px;
    padding:11px 0;
    border-bottom:2px dashed rgba(23,19,31,.18);
  }
  .rank-lines li:last-child{border-bottom:0;}
  .rank-lines .no{
    width:28px;
    height:28px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--ink);
    color:#fff;
    font-size:13px;
    font-weight:900;
    border-radius:2px;
  }
  .rank-lines li:nth-child(-n+3) .no{background:var(--red);}
  .rank-lines .name{flex:1;font-size:14px;font-weight:800;}
  .rank-lines .score{
    font-size:13px;
    font-weight:900;
    color:var(--red-deep);
    background:var(--cream);
    border:2px solid var(--ink);
    padding:0 8px;
  }

  .finished{
    background:var(--red);
    color:#fff;
    border:4px solid var(--ink);
    box-shadow:8px 8px 0 var(--ink);
    padding:26px 24px;
    border-radius:5px;
  }
  .finished h3{font-size:22px;margin-bottom:6px;}
  .finished .sub{font-size:12px;font-weight:700;margin-bottom:18px;color:#ffdcdc;}
  .finished-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
  }
  .mini{
    border:3px solid var(--ink);
    padding:14px 12px;
    color:var(--ink);
    border-radius:3px;
    transition:transform .18s ease;
  }
  .mini:hover{transform:translate(-3px,-3px);}
  .mini .icon{
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:2px solid var(--ink);
    border-radius:50%;
    font-size:14px;
    font-weight:900;
    margin-bottom:10px;
  }
  .mini strong{display:block;font-size:14px;margin-bottom:4px;}
  .mini em{font-style:normal;font-size:12px;font-weight:900;}
  .mini--white{background:#fff;}
  .mini--yellow{background:var(--yellow);}
  .mini--black{background:var(--ink);color:#fff;}
  .mini--black .icon{border-color:#fff;}
  .mini--blue{background:var(--blue);}

  /* ---------- 社区互动 ---------- */
  .community-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:28px;
    align-items:start;
  }
  .talk-card{
    border:4px solid var(--ink);
    box-shadow:8px 8px 0 var(--ink);
    padding:26px 24px;
    border-radius:5px;
  }
  .talk-card--yellow{background:var(--yellow);}
  .talk-card--white{background:#fff;}
  .talk-card h3{font-size:22px;margin-bottom:6px;}
  .talk-card .sub{font-size:13px;font-weight:700;margin-bottom:18px;color:#5c5568;}
  .vote-option{
    display:block;
    border:3px solid var(--ink);
    background:#fff;
    padding:12px 14px;
    font-size:14px;
    font-weight:800;
    margin-bottom:12px;
    cursor:pointer;
    transition:transform .15s ease,background .15s ease;
  }
  .vote-option:hover{transform:translate(-2px,-2px);background:#fffdf6;}
  .vote-option input{margin-right:10px;accent-color:var(--red-deep);}
  .vote-option small{font-weight:700;color:#6b6478;margin-left:6px;}

  .danmu-item{
    display:flex;
    gap:12px;
    padding:12px 0;
    border-bottom:2px dashed rgba(23,19,31,.18);
  }
  .danmu-item:last-child{border-bottom:0;}
  .danmu-item .avatar{
    width:38px;
    height:38px;
    flex-shrink:0;
    border:2px solid var(--ink);
    border-radius:50%;
    background:var(--blue);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    font-size:14px;
  }
  .danmu-item:nth-child(2n) .avatar{background:var(--yellow);}
  .danmu-item:nth-child(3n) .avatar{background:var(--red);color:#fff;}
  .danmu-item .txt{font-size:14px;}
  .danmu-item .txt b{font-size:13px;margin-right:6px;}
  .danmu-item .txt p{font-size:14px;color:#2b2637;}

  /* ---------- 平台数据与订阅 ---------- */
  .stats{
    background:var(--ink);
    color:#fff;
    border-top:4px solid var(--ink);
  }
  .stats .sec-head{text-align:center;}
  .stats .sec-head p{margin-left:auto;margin-right:auto;color:#d6d0e0;}
  .stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:44px;
  }
  .stat-card{
    border:3px solid var(--red);
    background:#211c2b;
    padding:24px 18px;
    text-align:center;
    border-radius:4px;
  }
  .stat-card strong{
    display:block;
    font-size:clamp(22px,3vw,30px);
    color:var(--yellow);
    margin-bottom:6px;
  }
  .stat-card span{font-size:13px;font-weight:700;color:#cfc8dc;}

  .subscribe{
    max-width:620px;
    margin:0 auto;
    text-align:center;
  }
  .subscribe h3{font-size:20px;margin-bottom:8px;}
  .subscribe p{font-size:14px;color:#d6d0e0;margin-bottom:20px;}
  .subscribe form{
    display:flex;
    gap:0;
    border:3px solid var(--ink);
    background:#fff;
    box-shadow:var(--shadow);
  }
  .subscribe input{
    flex:1;
    border:0;
    outline:none;
    padding:14px 16px;
    font-size:14px;
    font-family:inherit;
    color:var(--ink);
  }
  .subscribe button{
    border:0;
    border-left:3px solid var(--ink);
    background:var(--red);
    color:#fff;
    font-family:inherit;
    font-weight:900;
    font-size:15px;
    padding:0 28px;
    cursor:pointer;
  }
  .subscribe button:hover{background:var(--red-deep);}

  /* ---------- 页脚 ---------- */
  .site-footer{
    background:var(--cream);
    border-top:4px solid var(--ink);
    padding:48px 0 24px;
  }
  .footer-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:28px;
    margin-bottom:36px;
  }
  .footer-brand{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:20px;
    font-weight:900;
    margin-bottom:12px;
  }
  .footer-brand img{height:32px;width:auto;}
  .footer-about{font-size:13px;color:#4a4457;max-width:300px;}
  .footer-col h4{
    font-size:14px;
    font-weight:900;
    margin-bottom:12px;
    padding-bottom:6px;
    border-bottom:2px solid var(--ink);
    display:inline-block;
  }
  .footer-col li{margin-bottom:9px;}
  .footer-col a{
    font-size:13px;
    font-weight:700;
    color:#4a4457;
    transition:color .15s ease;
  }
  .footer-col a:hover{color:var(--red-deep);}
  .social{display:flex;gap:10px;margin-top:16px;}
  .social a{
    width:36px;
    height:36px;
    border:2px solid var(--ink);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    font-weight:900;
    background:#fff;
    box-shadow:var(--shadow-sm);
    transition:transform .15s ease,background .15s ease;
  }
  .social a:hover{transform:translate(-2px,-2px);background:var(--yellow);}
  .footer-bottom{
    border-top:2px solid var(--ink);
    padding-top:18px;
    display:flex;
    justify-content:space-between;
    gap:14px;
    flex-wrap:wrap;
    font-size:12px;
    color:#5c5568;
  }
  .footer-bottom time{font-weight:700;}

  /* ---------- 响应式 ---------- */
  @media (max-width:1024px){
    .hero-grid{grid-template-columns:1fr;}
    .anime-grid{grid-template-columns:repeat(3,1fr);}
    .contest-grid{grid-template-columns:1fr;}
    .ranks{grid-template-columns:1fr;}
    .community-grid{grid-template-columns:1fr;}
    .stats-grid{grid-template-columns:repeat(2,1fr);}
    .footer-grid{grid-template-columns:1fr 1fr;}
  }
  @media (max-width:768px){
    section{padding:40px 0;}
    .header-top{gap:12px;}
    .brand{font-size:19px;}
    .brand img{height:28px;}
    .search{order:3;flex:1 1 100%;}
    .header-actions{order:2;margin-left:auto;}
    .btn{padding:8px 14px;font-size:13px;}
    .btn--lg{font-size:15px;padding:12px 22px;}
    .hero-main{padding:28px 20px 26px;}
    .hero-main__flag{right:0;font-size:12px;padding:7px 13px;}
    .anime-grid{grid-template-columns:1fr;}
    .finished-grid{grid-template-columns:1fr;}
    .stats-grid{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:1fr;}
    .subscribe form{flex-direction:column;}
    .subscribe button{border-left:0;border-top:3px solid var(--ink);padding:14px;}
    .anime-card,.hero-side,.rank-card,.talk-card,.hero-main,.contest-card{box-shadow:var(--shadow-sm);}
    .anime-card:hover,.rank-card:hover,.talk-card:hover,.hero-main:hover{transform:none;}
    .header-nav a{padding:9px 15px;font-size:13px;}
    .sec-head h2{font-size:22px;}
  }
  @media (pointer:fine){
    .anime-card:focus-within{transform:translate(-4px,-4px);box-shadow:9px 9px 0 var(--ink);}
  }