
:root{
  /* 温暖色系：奶油、浅杏、铜金、可可字色 */
  --bg:#f0e4d8;
  --bg-deep:#e8d9ca;
  --card:#fffaf6;
  --card2:#fff5ed;
  --felt:#e5d4c4;
  --text:#3a2619;
  --muted:#6d5344;
  --line:rgba(139, 90, 60, .22);
  --gold:#b8722e;
  --gold-bright:#d4914a;
  --gold-dark:#7a4a22;
  --wine:rgba(120, 60, 45, .08);
  --ok:#3d8b5c;
  --warn:#c9872e;
  --danger:#b84a40;
  --shadow: 0 14px 40px rgba(58, 38, 25, .12);
  --radius: 18px;
  --radius2: 26px;
  --max: 1180px;
  --font-display: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", "STSong", serif;
  --header-h: 64px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "PingFang SC","Microsoft YaHei", Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 900px 480px at 80% -5%, rgba(212, 145, 74, .18), transparent 55%),
    radial-gradient(ellipse 700px 400px at 0% 100%, rgba(232, 200, 175, .55), transparent 50%),
    radial-gradient(ellipse 600px 360px at 50% 100%, rgba(255, 235, 220, .9), transparent 45%),
    linear-gradient(175deg, #faf3eb 0%, var(--bg) 40%, #ebd9c9 100%);
  color:var(--text);
  line-height:1.65;
}
body.nav-open{ overflow:hidden; }

a{color:inherit; text-decoration:none}
a:hover{opacity:.88}
img{max-width:100%; height:auto}

.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.skip{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip:focus{left:18px;top:18px;width:auto;height:auto;padding:10px 12px;background:var(--card);border:1px solid var(--line);border-radius:12px;z-index:999;color:var(--text)}

/* 移动端遮罩 */
.nav-backdrop{
  position:fixed; inset:0; top:var(--header-h);
  background:rgba(58, 38, 25, .35);
  z-index:44;
  backdrop-filter: blur(2px);
}
.nav-backdrop[hidden]{ display:none !important; }

.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(255,252,248,.94) 0%, rgba(250, 243, 235, .92) 100%);
  border-bottom:1px solid rgba(184, 115, 46, .2);
  box-shadow: 0 4px 20px rgba(58, 38, 25, .06);
}
.header .row{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:12px 0;
  min-height: var(--header-h);
}
.brand{
  display:flex; align-items:center; gap:10px; min-width:0;
  flex-shrink:1;
}
.brand picture{display:block;line-height:0}
.brand img{
  height:44px;width:auto;max-width:132px;object-fit:contain;border-radius:14px;
  box-shadow:0 6px 20px rgba(58, 38, 25, .12), 0 0 0 1px rgba(184, 115, 46, .15);
  vertical-align:middle;
}
.brand .name{
  font-weight:800; letter-spacing:.4px;
  background: linear-gradient(135deg, #c67b35 0%, var(--gold) 45%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand .tag{font-size:12px; color:var(--muted); margin-top:-2px; line-height:1.35}

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}
.nav a{
  padding:8px 10px; border-radius:12px;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
}
.nav a.active, .nav a:hover{
  color:var(--text);
  background: rgba(212, 145, 74, .18);
  border:1px solid rgba(184, 115, 46, .28);
}

.cta{
  display:flex;
  gap:10px;
  align-items:center;
}

.menu-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  padding:0;
  border-radius:12px;
  border:1px solid rgba(184, 115, 46, .35);
  background: rgba(255, 250, 245, .9);
  color: var(--text);
  cursor:pointer;
  flex-shrink:0;
  transition: background .2s, border-color .2s;
}
.menu-toggle:hover{
  background: rgba(212, 145, 74, .12);
  border-color: rgba(184, 115, 46, .5);
}
.menu-icon{
  position:relative;
  display:block;
  width:22px;
  height:2px;
  background: currentColor;
  border-radius:1px;
}
.menu-icon::before,
.menu-icon::after{
  content:"";
  position:absolute;
  left:0;
  width:22px;
  height:2px;
  background: currentColor;
  border-radius:1px;
}
.menu-icon::before{ top:-7px; }
.menu-icon::after{ top:7px; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:10px 14px; border-radius:14px;
  border:1px solid rgba(184, 115, 46, .35);
  background: rgba(255, 252, 248, .85);
  color:var(--text);
  font-weight:700;
}
.btn.primary{
  background: linear-gradient(165deg, #e8c49a 0%, var(--gold) 40%, var(--gold-dark) 100%);
  color:#fffdf9;
  border:1px solid rgba(160, 95, 40, .35);
  box-shadow: 0 4px 14px rgba(184, 115, 46, .22), inset 0 1px 0 rgba(255,255,255,.25);
  text-shadow: 0 1px 0 rgba(0,0,0,.12);
}
.btn.ghost{
  background: rgba(255,255,255,.65);
  border:1px solid rgba(184, 115, 46, .22);
  color:var(--text);
}
.btn:hover{transform: translateY(-1px); filter:brightness(1.02)}
.btn:active{transform: translateY(0)}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px; border-radius:999px;
  background: rgba(212, 145, 74, .12);
  border:1px solid rgba(184, 115, 46, .2);
  color:var(--muted);
  font-size:12px;
}

.hero{
  position:relative;
  border-bottom:1px solid rgba(184, 115, 46, .15);
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(ellipse 70% 50% at 70% 15%, rgba(212, 145, 74, .1), transparent 60%);
  pointer-events:none;
}
.hero .wrap{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  align-items:center;
  padding:34px 0 26px;
  position:relative;
  z-index:1;
}
.hero h1{
  font-family: var(--font-display);
  font-size:40px; line-height:1.15; margin:14px 0 10px;
  letter-spacing:.4px;
  color: var(--text);
}
.hero p{color:var(--muted); margin:0 0 18px; font-size:16px}
.hero .meta{display:flex; gap:10px; flex-wrap:wrap; margin:10px 0 18px}
.hero .panel{
  border-radius:var(--radius2);
  background: linear-gradient(145deg, #fffdfa 0%, #fff5eb 100%);
  border:1px solid rgba(184, 115, 46, .22);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero .panel picture{display:block; width:100%}
.hero .panel img{display:block; width:100%; height:auto}
.hero .panel .cap{
  padding:12px 14px;
  color:var(--muted); font-size:12px;
  border-top:1px solid rgba(184, 115, 46, .12);
  background: rgba(255, 250, 245, .8);
}

.grid{
  display:grid; gap:14px;
}
.grid.cols-3{grid-template-columns: repeat(3, 1fr)}
.grid.cols-2{grid-template-columns: repeat(2, 1fr)}

/* 桌面：导航在中间区域 */
@media (min-width: 961px){
  .header .row{
    display:grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items:center;
    gap:16px;
  }
  .brand{ grid-column: 1; justify-self: start; }
  .nav{
    grid-column: 2;
    justify-content:center;
  }
  .header-actions{
    grid-column: 3;
    justify-self: end;
  }
  .menu-toggle{ display: none !important; }
}

/* 移动端：汉堡 + 抽屉导航（头部搜索隐藏，可经站内页 /search.html 或导航进入） */
@media (max-width: 960px){
  .header .row{
    flex-wrap: nowrap;
  }
  .brand{ min-width:0; }
  /* 移动端仅保留汉堡，不显示顶栏搜索框 */
  .header .header-actions .cta{
    display: none;
  }
  .menu-toggle{
    display: inline-flex;
  }
  .nav{
    position:fixed;
    left:0;
    right:0;
    top: var(--header-h);
    flex-direction:column;
    align-items:stretch;
    flex-wrap:nowrap;
    gap:2px;
    padding:10px 18px 18px;
    margin:0;
    background: linear-gradient(180deg, #fffdfa 0%, #faf3eb 100%);
    border-bottom:1px solid rgba(184, 115, 46, .2);
    box-shadow: 0 12px 28px rgba(58, 38, 25, .1);
    max-height:0;
    overflow:hidden;
    opacity:0;
    visibility:hidden;
    transition: max-height .35s ease, opacity .2s ease, visibility .2s;
    z-index:46;
  }
  .nav.open{
    max-height:min(75vh, 480px);
    overflow-y:auto;
    opacity:1;
    visibility:visible;
  }
  .nav a{
    padding:14px 14px;
    border-radius:12px;
    border:1px solid transparent;
  }
  .nav a.active, .nav a:hover{
    border-color: rgba(184, 115, 46, .22);
  }
  .hero .wrap{grid-template-columns:1fr}
  .grid.cols-3{grid-template-columns:1fr}
  .grid.cols-2{grid-template-columns:1fr}
}

@media (max-width: 520px){
  .hero h1{font-size:30px}
  .brand .tag{ font-size:11px; }
  .cta .btn, .search-field{ min-width:0 !important; }
}

.section{padding:26px 0}
.section h2{
  margin:0 0 10px; font-size:22px;
  font-family: var(--font-display);
  color: var(--gold-dark);
  font-weight:700;
  letter-spacing:.2px;
}
.section p.lead{margin:0 0 14px; color:var(--muted)}

.card{
  background: linear-gradient(160deg, #fffdfa 0%, #fff7ee 100%);
  border:1px solid rgba(184, 115, 46, .18);
  border-radius: var(--radius);
  padding:16px 16px;
  box-shadow: 0 8px 28px rgba(58, 38, 25, .08);
}
.card h3{margin:2px 0 6px; font-size:16px; color: var(--text)}
.card p{margin:0; color:var(--muted); font-size:14px}
.kpi{
  display:flex; gap:10px; align-items:baseline; margin-top:12px;
}
.kpi strong{font-size:22px; color: var(--gold-dark)}
.kpi span{color:var(--muted); font-size:12px}

.list{margin:10px 0 0; padding:0 0 0 18px}
.list li{margin:6px 0; color:var(--muted)}

hr.sep{border:0; border-top:1px solid rgba(184, 115, 46, .15); margin:18px 0}

.footer{
  padding:22px 0 34px;
  border-top:1px solid rgba(184, 115, 46, .18);
  color:var(--muted);
  font-size:13px;
  background: linear-gradient(180deg, transparent, rgba(237, 220, 205, .5));
}
.footer .row{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}
.small{font-size:12px;color:var(--muted)}
.pills{display:flex; gap:8px; flex-wrap:wrap}
.pills a{padding:6px 10px;border-radius:999px;border:1px solid rgba(184, 115, 46, .2);background:rgba(255,252,248,.9);color:var(--muted)}
.pills a:hover{border-color: rgba(184, 115, 46, .4); background:rgba(212, 145, 74, .1); color:var(--text)}

.breadcrumb{
  color:var(--muted); font-size:12px; margin:14px 0 0;
}
.breadcrumb a{color:var(--muted); text-decoration:underline; text-decoration-color: rgba(109, 83, 68, .35)}
.breadcrumb a:hover{color:var(--text)}

.article h1{
  font-family: var(--font-display);
  font-size:30px; line-height:1.2; margin:10px 0 10px;
  color: var(--gold-dark);
}
.article .byline{color:var(--muted); font-size:12px; display:flex; gap:10px; flex-wrap:wrap}
.article .content{margin-top:16px}
.article .content p{margin:0 0 12px; color:var(--text)}
.article .content p.muted{color:var(--muted)}
.article .content h2{
  margin:18px 0 10px; font-size:18px;
  font-family: var(--font-display);
  color: var(--gold-dark);
}
.article .content ul{margin:0 0 12px; color:var(--muted)}
.notice{
  border-left: 3px solid rgba(184, 115, 46, .65);
  padding:10px 12px;
  background: rgba(212, 145, 74, .1);
  border-radius: 12px;
  color: var(--muted);
  border:1px solid rgba(184, 115, 46, .15);
  border-left-width:3px;
}
