:root{
    --chestnut:#9E5A3C;
    --chestnut-deep:#7A3F25;
    --chestnut-light:#C47E5C;
    --chestnut-bg:#F9F2ED;
    --page-bg:#FDF8EC;
    --deep-bg:#FBF3E2;
    --ink:#2E241F;
    --ink-soft:#6B5D55;
    --line:#EDE5DF;
    --pink:#E85D75;
    --orange:#F2994A;
    --blue:#5B8DEF;
    --green:#27AE60;
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
    background:var(--page-bg);
    color:var(--ink);
    font-size:14px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  a{color:inherit;text-decoration:none;}
  img{display:block;max-width:100%;}
  ul{list-style:none;}
  .wrap{
    max-width:1360px;
    margin:0 auto;
    padding:0 24px;
  }

  /* 公告栏 */
  .notice{background:var(--deep-bg);border-bottom:1px solid var(--line);font-size:13px;}
  .notice .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;height:40px;}
  .notice-left{display:flex;align-items:center;gap:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--ink-soft);}
  .notice-tag{background:var(--chestnut);color:#fff;border-radius:20px;padding:1px 10px;font-size:12px;flex-shrink:0;}
  .notice-links{display:flex;gap:18px;flex-shrink:0;}
  .notice-links a{color:var(--chestnut-deep);font-size:13px;}
  .notice-links a:hover{color:var(--pink);}

  /* 头部 */
  .site-head{background:var(--page-bg);border-bottom:1px solid var(--line);}
  .site-head .wrap{display:flex;align-items:center;gap:20px;height:72px;}
  .brand{display:flex;align-items:center;gap:10px;flex-shrink:0;}
  .brand img{height:34px;width:auto;}
  .brand-name{font-size:22px;font-weight:700;color:var(--chestnut-deep);letter-spacing:1px;}
  .search-box{flex:1;max-width:480px;position:relative;}
  .search-box input{
    width:100%;height:42px;border-radius:40px;border:1px solid var(--line);
    background:#fff;padding:0 18px;font-size:14px;color:var(--ink);outline:none;
  }
  .search-box input::placeholder{color:#A8998F;}
  .search-box input:focus{border-color:var(--chestnut-light);}
  .head-actions{display:flex;align-items:center;gap:12px;margin-left:auto;}
  .icon-btn{
    width:40px;height:40px;border-radius:50%;border:1px solid var(--line);
    background:#fff;display:flex;align-items:center;justify-content:center;
    font-size:16px;color:var(--chestnut);cursor:pointer;transition:.2s;
  }
  .icon-btn:hover{background:var(--chestnut);color:#fff;border-color:var(--chestnut);}

  /* 主导航 */
  .main-nav{position:sticky;top:0;z-index:60;background:var(--page-bg);border-bottom:1px solid var(--line);}
  .nav-track{display:flex;align-items:center;gap:6px;overflow-x:auto;padding:10px 0;scrollbar-width:none;}
  .nav-track::-webkit-scrollbar{display:none;}
  .nav-track a{
    white-space:nowrap;padding:7px 14px;border-radius:20px;font-size:14px;color:var(--ink-soft);
    transition:.2s;display:inline-flex;align-items:center;gap:5px;
  }
  .nav-track a:hover{background:var(--chestnut-bg);color:var(--chestnut-deep);}
  .nav-track a.active{background:var(--chestnut-bg);color:var(--chestnut-deep);font-weight:600;}
  .nav-sep{width:1px;height:18px;background:var(--line);flex-shrink:0;margin:0 6px;}
  .dot{font-size:10px;padding:0 4px;border-radius:8px;color:#fff;line-height:15px;}
  .dot.hot{background:var(--pink);}
  .dot.new{background:var(--green);}

  /* 通用区块 */
  section{padding:28px 0 0;}
  .sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:18px;}
  .sec-head h2{font-size:25px;color:var(--chestnut-deep);letter-spacing:.5px;}
  .sec-head .sec-sub{font-size:13px;color:var(--ink-soft);}
  .card{
    background:#fff;border:1px solid var(--line);border-radius:18px;
    transition:transform .25s,border-color .25s,box-shadow .25s;overflow:hidden;
  }
  .card:hover{transform:translateY(-5px);border-color:var(--chestnut-light);box-shadow:0 12px 24px -12px rgba(122,63,37,.28);}

  /* 英雄区 */
  .hero-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px;}
  .hero-main{
    position:relative;border-radius:26px;overflow:hidden;border:1px solid var(--line);
    background:#fff;display:flex;flex-direction:column;justify-content:flex-end;
    min-height:400px;
  }
  .hero-main .hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .5s;}
  .hero-main:hover .hero-bg{transform:scale(1.04);}
  .hero-shade{position:absolute;inset:0;background:rgba(46,36,31,.58);}
  .hero-content{position:relative;z-index:2;padding:32px;color:#fff;}
  .badge-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px;}
  .badge{font-size:12px;padding:3px 12px;border-radius:20px;line-height:1.5;}
  .badge.main{background:var(--chestnut);color:#fff;}
  .badge.pink{background:var(--pink);color:#fff;}
  .badge.orange{background:var(--orange);color:#fff;}
  .badge.blue{background:var(--blue);color:#fff;}
  .badge.green{background:var(--green);color:#fff;}
  .badge.soft{background:var(--chestnut-bg);color:var(--chestnut-deep);border:1px solid var(--line);}
  .hero-content h1{font-size:44px;line-height:1.2;margin-bottom:12px;color:#fff;}
  .hero-content p{font-size:14px;max-width:520px;color:#F4EDE6;margin-bottom:20px;}
  .hero-btns{display:flex;gap:10px;flex-wrap:wrap;}
  .btn{
    display:inline-flex;align-items:center;justify-content:center;gap:6px;
    padding:10px 22px;border-radius:40px;font-size:14px;cursor:pointer;
    transition:.2s;border:1px solid transparent;
  }
  .btn-solid{background:var(--chestnut);color:#fff;}
  .btn-solid:hover{background:var(--chestnut-deep);transform:translateY(-2px);}
  .btn-ghost{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.7);color:#fff;}
  .btn-ghost:hover{background:var(--chestnut-bg);color:var(--chestnut-deep);border-color:var(--chestnut-light);}
  .btn-outline{background:#fff;border-color:var(--chestnut-light);color:var(--chestnut-deep);}
  .btn-outline:hover{background:var(--chestnut-bg);transform:translateY(-2px);}
  .btn-pink{background:#fff;border-color:var(--pink);color:var(--pink);}
  .btn-pink:hover{background:var(--pink);color:#fff;transform:translateY(-2px);}

  .hero-side{display:flex;flex-direction:column;gap:18px;}
  .side-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px 20px;}
  .side-card h3{font-size:17px;color:var(--chestnut-deep);margin-bottom:12px;display:flex;align-items:center;gap:8px;}
  .side-card h3 .bar{width:4px;height:16px;border-radius:2px;background:var(--chestnut);}
  .rank-line{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px dashed var(--line);font-size:13px;}
  .rank-line:last-child{border-bottom:none;}
  .rank-no{width:20px;height:20px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff;flex-shrink:0;}
  .rank-no.n1{background:var(--orange);}
  .rank-no.n2{background:var(--chestnut-light);}
  .rank-no.n3{background:var(--chestnut);}
  .rank-line .nm{flex:1;color:var(--ink);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
  .rank-line .muted{color:var(--ink-soft);font-size:12px;flex-shrink:0;}

  /* 分类筛选 */
  .filter-bar{background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px 20px;display:flex;flex-direction:column;gap:12px;}
  .filter-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
  .filter-row .label{font-size:13px;color:var(--ink-soft);flex-shrink:0;}
  .chip{padding:5px 14px;border-radius:20px;background:var(--chestnut-bg);color:var(--chestnut-deep);font-size:13px;border:1px solid var(--line);transition:.2s;}
  .chip:hover{background:var(--chestnut);color:#fff;border-color:var(--chestnut);}
  .chip small{color:var(--ink-soft);font-size:11px;margin-left:4px;}
  .chip:hover small{color:#F4EDE6;}

  /* 图集 */
  .gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
  .g-card .g-thumb{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--chestnut-bg);}
  .g-card .g-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s;}
  .g-card:hover .g-thumb img{transform:scale(1.06);}
  .corner{position:absolute;top:10px;left:10px;background:rgba(46,36,31,.72);color:#fff;font-size:11px;padding:2px 10px;border-radius:20px;}
  .tag-bottom{position:absolute;bottom:10px;right:10px;font-size:11px;padding:2px 10px;border-radius:20px;color:#fff;}
  .g-body{padding:14px 16px 16px;}
  .g-body h3{font-size:16px;margin-bottom:6px;color:var(--ink);}
  .g-body p{font-size:13px;color:var(--ink-soft);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:10px;}
  .g-meta{display:flex;justify-content:space-between;font-size:12px;color:var(--ink-soft);border-top:1px solid var(--line);padding-top:8px;}

  /* 竖版推荐卡 */
  .poster-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;}
  .p-card .p-thumb{position:relative;aspect-ratio:3/4;overflow:hidden;border-radius:16px;background:var(--chestnut-bg);}
  .p-card .p-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s;}
  .p-card:hover .p-thumb img{transform:scale(1.06);}
  .p-body{padding:10px 4px 4px;}
  .p-body h3{font-size:15px;margin-bottom:6px;}
  .p-tags{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:6px;}
  .mini-tag{font-size:11px;padding:1px 8px;border-radius:12px;border:1px solid var(--line);color:var(--ink-soft);background:var(--chestnut-bg);}
  .p-info{font-size:12px;color:var(--ink-soft);display:flex;justify-content:space-between;}
  .p-info .hot{color:var(--pink);}

  /* 地区精选 大图卡 */
  .region-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
  .r-card .r-thumb{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--chestnut-bg);}
  .r-card .r-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s;}
  .r-card:hover .r-thumb img{transform:scale(1.05);}
  .r-body{padding:16px 18px 18px;}
  .r-body h3{font-size:20px;margin-bottom:8px;}
  .r-body p{font-size:13px;color:var(--ink-soft);margin-bottom:12px;}
  .r-meta{display:flex;justify-content:space-between;font-size:12px;color:var(--ink-soft);border-top:1px solid var(--line);padding-top:10px;}

  /* 排行榜 */
  .board-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
  .board{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px 20px;}
  .board h3{font-size:16px;color:var(--chestnut-deep);margin-bottom:12px;display:flex;align-items:center;gap:8px;}
  .board h3 .bar{width:4px;height:15px;border-radius:2px;background:var(--chestnut);}
  .b-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px dashed var(--line);}
  .b-row:last-child{border-bottom:none;}
  .b-row img{width:36px;height:48px;object-fit:cover;border-radius:8px;background:var(--chestnut-bg);}
  .b-info{flex:1;min-width:0;}
  .b-info strong{font-size:13px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
  .b-info .b-tags{display:flex;gap:4px;margin-top:3px;flex-wrap:wrap;}
  .b-info .b-tags span{font-size:10px;padding:0 6px;border-radius:10px;background:var(--chestnut-bg);color:var(--chestnut-deep);}
  .b-views{font-size:11px;color:var(--ink-soft);flex-shrink:0;}
  .num{width:22px;height:22px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff;flex-shrink:0;}
  .num.g{background:#D9A441;}
  .num.s{background:#A9A9A9;}
  .num.b{background:#B87A56;}
  .num.p{background:var(--chestnut-bg);color:var(--chestnut-deep);border:1px solid var(--line);}

  /* 专题 */
  .topic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
  .t-card{padding:20px;}
  .t-icon{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:20px;margin-bottom:12px;}
  .t-card h3{font-size:16px;margin-bottom:6px;}
  .t-card p{font-size:13px;color:var(--ink-soft);margin-bottom:12px;}
  .t-count{font-size:12px;color:var(--chestnut);}

  /* 问答 */
  .qa-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;}
  .qa-col{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px 20px;}
  .qa-col h3{font-size:17px;color:var(--chestnut-deep);margin-bottom:12px;display:flex;align-items:center;gap:8px;}
  .qa-col h3 .bar{width:4px;height:15px;border-radius:2px;background:var(--chestnut);}
  .qa-item{padding:10px 0;border-bottom:1px dashed var(--line);}
  .qa-item:last-of-type{border-bottom:none;}
  .qa-q{display:flex;gap:8px;font-size:14px;font-weight:600;margin-bottom:4px;}
  .qa-q .qico{width:20px;height:20px;border-radius:6px;background:var(--chestnut-bg);color:var(--chestnut-deep);font-size:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .qa-a{font-size:13px;color:var(--ink-soft);padding-left:28px;}
  .qa-foot{display:flex;justify-content:space-between;font-size:12px;color:var(--ink-soft);padding-left:28px;margin-top:4px;}
  .qa-more{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap;}
  .qa-more a{font-size:13px;color:var(--chestnut);}
  .qa-more a:hover{color:var(--pink);}

  /* 最新更新 */
  .update-box{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px 20px;}
  .update-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px 24px;}
  .u-row{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:12px;transition:.2s;font-size:13px;}
  .u-row:hover{background:var(--chestnut-bg);}
  .u-time{font-size:11px;padding:1px 9px;border-radius:20px;background:var(--chestnut-bg);color:var(--chestnut-deep);flex-shrink:0;}
  .u-name{font-weight:600;flex-shrink:0;}
  .u-chap{color:var(--ink-soft);flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
  .u-new{font-size:10px;padding:0 7px;border-radius:10px;background:var(--pink);color:#fff;flex-shrink:0;}

  /* 下载区 */
  .download-sec{padding-top:32px;}
  .download-panel{
    background:var(--chestnut-bg);border:1px solid var(--line);border-radius:26px;
    padding:36px;display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:center;
  }
  .dl-left h2{font-size:32px;color:var(--chestnut-deep);margin-bottom:14px;line-height:1.3;}
  .dl-left > p{font-size:14px;color:var(--ink-soft);margin-bottom:20px;}
  .feat-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:24px;}
  .feat{display:flex;align-items:center;gap:8px;font-size:14px;}
  .feat .fi{width:26px;height:26px;border-radius:8px;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:13px;color:var(--chestnut);flex-shrink:0;}
  .dl-btns{display:flex;gap:12px;flex-wrap:wrap;}
  .dl-btns .btn{padding:12px 26px;}

  /* 手机样机 */
  .phone{
    width:240px;margin:0 auto;background:#fff;border:8px solid var(--ink);border-radius:34px;
    box-shadow:0 18px 34px -18px rgba(46,36,31,.4);overflow:hidden;
  }
  .phone-notch{height:16px;background:var(--ink);border-radius:0 0 12px 12px;margin:0 60px;}
  .phone-screen{padding:10px 12px 16px;}
  .phone-banner{background:var(--chestnut);border-radius:12px;color:#fff;padding:12px;font-size:12px;line-height:1.5;margin-bottom:10px;}
  .phone-banner strong{display:block;font-size:14px;margin-bottom:2px;}
  .phone-item{display:flex;gap:8px;padding:7px 0;border-bottom:1px solid var(--line);}
  .phone-item:last-child{border-bottom:none;}
  .phone-item img{width:34px;height:46px;object-fit:cover;border-radius:6px;background:var(--chestnut-bg);}
  .phone-item div{flex:1;min-width:0;}
  .phone-item strong{font-size:11px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
  .phone-item span{font-size:10px;color:var(--ink-soft);}

  /* 截图墙 */
  .shot-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;}
  .shot-strip figure{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:.25s;}
  .shot-strip figure:hover{transform:translateY(-4px);box-shadow:0 12px 22px -14px rgba(122,63,37,.3);}
  .shot-strip img{width:100%;aspect-ratio:3/4;object-fit:cover;}
  .shot-strip figcaption{font-size:12px;color:var(--ink-soft);padding:8px 10px;text-align:center;}

  /* 页脚 */
  .site-foot{background:var(--deep-bg);border-top:1px solid var(--line);margin-top:36px;padding:32px 0 20px;font-size:13px;color:var(--ink-soft);}
  .foot-cols{display:grid;grid-template-columns:1.6fr repeat(5,1fr);gap:20px;padding-bottom:22px;border-bottom:1px solid var(--line);}
  .foot-brand strong{display:block;font-size:15px;color:var(--chestnut-deep);margin-bottom:8px;}
  .foot-brand p{font-size:12px;line-height:1.7;}
  .foot-col h4{font-size:13px;color:var(--ink);margin-bottom:10px;}
  .foot-col a{display:block;font-size:12px;color:var(--ink-soft);padding:3px 0;}
  .foot-col a:hover{color:var(--chestnut-deep);}
  .foot-bottom{padding-top:16px;font-size:12px;display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;justify-content:space-between;}
  .foot-bottom a{color:var(--ink-soft);}
  .foot-bottom a:hover{color:var(--chestnut-deep);}
  .update-time{font-size:12px;color:#9C8E85;}

  /* 悬浮下载 */
  .float-dl{position:fixed;right:24px;bottom:24px;z-index:80;display:flex;align-items:flex-end;gap:8px;}
  .float-tip{
    background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px 12px;font-size:12px;
    color:var(--ink-soft);box-shadow:0 8px 18px -12px rgba(46,36,31,.35);margin-bottom:6px;max-width:200px;
  }
  .float-btn{
    display:inline-flex;align-items:center;gap:6px;background:var(--chestnut);color:#fff;
    border-radius:40px;padding:13px 22px;font-size:14px;box-shadow:0 10px 22px -10px rgba(122,63,37,.6);
    transition:.22s;
  }
  .float-btn:hover{background:var(--chestnut-deep);transform:translateY(-3px) scale(1.03);}
  .float-close{
    width:22px;height:22px;border-radius:50%;background:#fff;border:1px solid var(--line);
    color:var(--ink-soft);font-size:12px;display:flex;align-items:center;justify-content:center;
    align-self:flex-start;cursor:pointer;margin-top:-4px;
  }
  .float-dl.closed{display:none;}

  /* 响应式 */
  @media (max-width:1100px){
    .hero-grid{grid-template-columns:1fr;}
    .gallery-grid{grid-template-columns:repeat(2,1fr);}
    .region-grid{grid-template-columns:repeat(2,1fr);}
    .poster-grid{grid-template-columns:repeat(3,1fr);}
    .board-grid{grid-template-columns:1fr;}
    .topic-grid{grid-template-columns:repeat(2,1fr);}
    .download-panel{grid-template-columns:1fr;}
    .dl-phone{display:none;}
    .foot-cols{grid-template-columns:repeat(3,1fr);}
    .shot-strip{grid-template-columns:repeat(3,1fr);}
    .hero-content h1{font-size:36px;}
  }
  @media (max-width:768px){
    body{font-size:14px;}
    .notice .wrap{height:auto;padding:8px 24px;flex-direction:column;align-items:flex-start;gap:4px;}
    .notice-left{white-space:normal;font-size:12px;}
    .site-head .wrap{flex-wrap:wrap;height:auto;padding:12px 24px;gap:12px;}
    .search-box{order:3;flex-basis:100%;max-width:none;}
    .head-actions{margin-left:auto;}
    .hero-grid{grid-template-columns:1fr;}
    .hero-content{padding:22px;}
    .hero-content h1{font-size:29px;}
    .hero-content p{font-size:13px;}
    .btn{padding:9px 16px;font-size:13px;}
    .gallery-grid{grid-template-columns:1fr;}
    .region-grid{grid-template-columns:1fr;}
    .poster-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
    .qa-grid{grid-template-columns:1fr;}
    .update-grid{grid-template-columns:1fr;}
    .download-panel{padding:22px;gap:20px;}
    .dl-left h2{font-size:24px;}
    .feat-list{grid-template-columns:1fr;}
    .topic-grid{grid-template-columns:1fr;}
    .shot-strip{grid-template-columns:repeat(2,1fr);}
    .foot-cols{grid-template-columns:repeat(2,1fr);}
    .sec-head h2{font-size:21px;}
    .float-dl{right:14px;bottom:14px;}
    .float-tip{display:none;}
    .float-btn{padding:11px 16px;font-size:13px;}
  }