@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@500;700;900&family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root{
  --mist:#EDEAF3;          /* 浅灰紫雾 */
  --mist-2:#E2DDEB;
  --plum:#4A3D5C;          /* 深紫灰 */
  --plum-deep:#332A42;
  --grape:#7A6390;         /* 中紫，点缀 */
  --grape-soft:#B7A8C9;
  --paper:#F7F5FA;
  --ink:#2E2739;
  --ink-soft:#5C5470;
  --line:rgba(74,61,92,.18);
  --serif:'Noto Serif SC',serif;
  --sans:'Noto Sans SC',sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box}
html,body{overflow-x:hidden;max-width:100%}
body{
  font-family:var(--sans);
  color:var(--ink);
  line-height:1.75;
  background:
    radial-gradient(1100px 520px at 85% -8%, rgba(183,168,201,.38), transparent 62%),
    radial-gradient(900px 480px at -10% 30%, rgba(122,99,144,.16), transparent 60%),
    linear-gradient(178deg, var(--mist) 0%, var(--mist-2) 34%, #E9E4F0 60%, var(--paper) 100%);
  background-attachment:fixed;
}
/* 轻纸纹 */
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  background-image:repeating-linear-gradient(0deg, rgba(74,61,92,.022) 0 1px, transparent 1px 4px);
}
.page-shell{position:relative;z-index:1}

/* 入场 */
.page-ready .masthead,.page-ready .lede,.page-ready .module{animation:rise .7s ease both}
.page-ready .module:nth-of-type(2){animation-delay:.08s}
.page-ready .module:nth-of-type(3){animation-delay:.14s}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ============ 刊头 ============ */
.masthead{
  background:linear-gradient(120deg, var(--plum-deep) 0%, var(--plum) 72%, #5A4A70 100%);
  color:#F1EDF7;
  border-bottom:4px solid var(--grape-soft);
}
.masthead-inner{
  max-width:1120px;margin:0 auto;padding:30px 24px 24px;
  display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:18px;
}
.brand{
  font-family:var(--serif);font-weight:900;font-size:2.1rem;letter-spacing:.14em;
  color:#F7F4FB;text-decoration:none;line-height:1.2;
}
.brand::after{
  content:"";display:block;width:56px;height:3px;background:var(--grape-soft);margin-top:8px;border-radius:2px;
}
.tagline{font-size:.85rem;color:#CFC4DE;margin-top:10px;letter-spacing:.06em}
.nav{display:flex;flex-wrap:wrap;gap:6px}
.nav a{
  color:#DCD3E8;text-decoration:none;font-size:.92rem;padding:8px 16px;border-radius:999px;
  border:1px solid rgba(241,237,247,.22);transition:.25s;
}
.nav a:hover{background:rgba(241,237,247,.12);color:#fff}
.nav a.active{background:#F1EDF7;color:var(--plum-deep);font-weight:700;border-color:#F1EDF7}

/* ============ 导语 ============ */
.lede{max-width:1120px;margin:0 auto;padding:52px 24px 8px}
.lede-inner{display:grid;grid-template-columns:1.5fr 1fr;gap:44px;align-items:start}
.lede h1{
  font-family:var(--serif);font-weight:900;font-size:clamp(1.7rem,3.4vw,2.5rem);
  line-height:1.45;color:var(--plum-deep);
}
.lede-inner>p{margin-top:20px;max-width:38em;color:var(--ink-soft)}
.lede-side{
  background:rgba(255,255,255,.6);border:1px solid var(--line);border-radius:14px;
  padding:22px 24px;backdrop-filter:blur(3px);
  box-shadow:0 10px 30px rgba(74,61,92,.08);
}
.lede-stat span{font-family:var(--serif);font-size:2.4rem;font-weight:900;color:var(--grape)}
.lede-stat small{display:block;color:var(--ink-soft);font-size:.82rem;margin-top:2px}
.lede-topics{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 14px}
.lede-topics .topic-chip{
  font-size:.8rem;color:var(--plum);background:var(--mist-2);
  border:1px solid var(--line);border-radius:999px;padding:3px 12px;
}
.lede-more{
  display:inline-block;font-size:.88rem;color:var(--plum);text-decoration:none;
  border-bottom:1px solid var(--grape);padding-bottom:2px;
}
.lede-more:hover{color:var(--grape)}

/* ============ 模块通用 ============ */
.home-main{max-width:1120px;margin:0 auto;padding:36px 24px 64px}
.module{margin-top:52px}
.module-head{
  display:flex;align-items:baseline;gap:14px;
  border-bottom:2px solid var(--plum);padding-bottom:10px;margin-bottom:26px;
}
.module-title{font-family:var(--serif);font-weight:900;font-size:1.4rem;color:var(--plum-deep)}
.module-note{font-size:.8rem;color:var(--grape);letter-spacing:.08em}
.err{
  margin-top:40px;padding:16px 20px;border:1px dashed var(--grape);border-radius:10px;
  color:var(--plum);background:rgba(255,255,255,.55);text-align:center;
}
.news-item a{color:inherit;text-decoration:none}
.news-item .news-title a:hover{color:var(--grape)}
.thumb{width:100%;height:100%;object-fit:cover;display:block}

/* —— 模块一：焦点环绕（中心大稿 + 周围小稿）—— */
.focus-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  grid-template-rows:auto auto;
  gap:22px;
}
.focus-grid .news-item:nth-child(1){
  grid-column:2;grid-row:1 / span 2;
  background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;
  box-shadow:0 14px 34px rgba(74,61,92,.14);
  display:flex;flex-direction:column;
}
.focus-grid .news-item:nth-child(1) .news-media{height:220px;overflow:hidden;background:var(--mist-2)}
.focus-grid .news-item:nth-child(1) .news-body{padding:22px 24px 26px}
.focus-grid .news-item:nth-child(1) .news-title{font-family:var(--serif);font-size:1.35rem;font-weight:700;line-height:1.5;color:var(--plum-deep)}
.focus-grid .news-item:nth-child(1) .news-sum{margin-top:10px;font-size:.92rem;color:var(--ink-soft)}
.focus-grid .news-item:nth-child(1) .news-meta{display:block;margin-top:14px;font-size:.78rem;color:var(--grape)}
.focus-grid .news-item:nth-child(2){grid-column:1;grid-row:1}
.focus-grid .news-item:nth-child(3){grid-column:1;grid-row:2}
.focus-grid .news-item:nth-child(4){grid-column:3;grid-row:1}
.focus-grid .news-item:nth-child(n+2):nth-child(-n+4){
  align-self:center;padding:18px 4px;border-top:1px dashed var(--line);
}
.focus-grid .news-item:nth-child(2){border-top:none}
.focus-grid .news-item:nth-child(n+2) .news-title{font-family:var(--serif);font-size:1.02rem;font-weight:700;color:var(--plum)}
.focus-grid .news-item:nth-child(n+2) .news-sum{font-size:.84rem;color:var(--ink-soft);margin-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.focus-grid .news-item:nth-child(n+2) .news-meta{display:block;margin-top:8px;font-size:.75rem;color:var(--grape-soft)}
.focus-grid .news-item:nth-child(n+2) .news-media{display:none}

/* —— 模块二：对照册（账目式行条）—— */
.ledger-list{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 8px 24px rgba(74,61,92,.07)}
.ledger-list .news-item{
  display:grid;grid-template-columns:110px 1fr;gap:18px;align-items:baseline;
  padding:16px 24px;border-bottom:1px solid rgba(74,61,92,.1);
  transition:background .2s;
}
.ledger-list .news-item:last-child{border-bottom:none}
.ledger-list .news-item:hover{background:var(--paper)}
.ledger-list .news-media{display:none}
.ledger-list .news-meta{
  font-size:.78rem;color:var(--grape);font-variant-numeric:tabular-nums;
  border-right:2px solid var(--grape-soft);padding-right:12px;
}
.ledger-list .news-title{font-size:1rem;font-weight:700;color:var(--plum-deep)}
.ledger-list .news-sum{font-size:.85rem;color:var(--ink-soft);margin-top:2px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}

/* —— 模块三：日常观察（左图错落流）—— */
.diary-flow{display:grid;grid-template-columns:repeat(2,1fr);gap:26px 28px}
.diary-flow .news-item{
  display:grid;grid-template-columns:132px 1fr;gap:16px;align-items:start;
}
.diary-flow .news-item:nth-child(4n+1){grid-template-columns:1fr 132px}
.diary-flow .news-item:nth-child(4n+1) .news-media{order:2}
.diary-flow .news-item:nth-child(4n+1) .news-body{order:1;text-align:right}
.diary-flow .news-media{width:132px;height:96px;border-radius:10px;overflow:hidden;background:var(--mist-2);border:1px solid var(--line)}
.diary-flow .news-title{font-family:var(--serif);font-size:1.05rem;font-weight:700;color:var(--plum-deep);line-height:1.5}
.diary-flow .news-sum{font-size:.85rem;color:var(--ink-soft);margin-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.diary-flow .news-meta{display:block;margin-top:8px;font-size:.75rem;color:var(--grape-soft)}

/* —— 模块四：边角拾遗（斜纹短条带）—— */
.margin-strip{
  background:linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%);
  border-radius:14px;padding:26px 30px;
  display:grid;grid-template-columns:repeat(5,1fr);gap:20px;
}
.margin-strip .news-item{border-left:2px solid var(--grape-soft);padding-left:12px}
.margin-strip .news-media,.margin-strip .news-sum{display:none}
.margin-strip .news-title{font-size:.88rem;font-weight:500;line-height:1.6}
.margin-strip .news-title a{color:#E6DFF0}
.margin-strip .news-title a:hover{color:#fff}
.margin-strip .news-meta{display:block;margin-top:8px;font-size:.72rem;color:var(--grape-soft)}

/* ============ 内页 ============ */
.inner-main{max-width:860px;margin:0 auto;padding:52px 24px 72px}
.inner-title{
  font-family:var(--serif);font-weight:900;font-size:1.9rem;color:var(--plum-deep);
  padding-bottom:14px;border-bottom:3px solid var(--grape-soft);margin-bottom:28px;
}
.about-sheet,.contact-sheet,.feedback-sheet,.detail-sheet{
  background:rgba(255,255,255,.72);border:1px solid var(--line);border-radius:16px;
  padding:40px 44px;box-shadow:0 12px 32px rgba(74,61,92,.09);backdrop-filter:blur(3px);
}
.about-body p{margin-bottom:16px;color:var(--ink-soft);max-width:40em}
.about-body p:first-child{color:var(--ink);font-size:1.02rem}

.contact-lede{color:var(--ink-soft);margin-bottom:24px}
.contact-list{list-style:none}
.contact-list li{
  display:flex;gap:16px;align-items:baseline;padding:14px 0;border-bottom:1px dashed var(--line);
}
.contact-key{
  flex:0 0 3.4em;font-family:var(--serif);font-weight:700;color:var(--plum);font-size:.92rem;
}
.contact-empty{
  margin-top:20px;padding:14px 18px;border:1px dashed var(--grape);border-radius:10px;
  color:var(--plum);background:var(--mist);font-size:.92rem;
}

.feedback-form{display:flex;flex-direction:column;gap:18px;max-width:34em}
.feedback-form label{display:flex;flex-direction:column;gap:8px;font-size:.9rem;font-weight:700;color:var(--plum)}
.feedback-form input,.feedback-form textarea{
  font-family:var(--sans);font-size:.95rem;color:var(--ink);
  padding:11px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;
  transition:border-color .2s;resize:vertical;
}
.feedback-form input:focus,.feedback-form textarea:focus{outline:none;border-color:var(--grape)}
.feedback-form button{
  align-self:flex-start;cursor:pointer;font-family:var(--serif);font-weight:700;font-size:1rem;
  color:#F1EDF7;background:linear-gradient(120deg,var(--plum) 0%,var(--plum-deep) 100%);
  border:none;border-radius:999px;padding:12px 34px;transition:.25s;
}
.feedback-form button:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(74,61,92,.3)}
.feedback-msg{margin-top:20px;padding:14px 18px;border-radius:10px;background:var(--mist);color:var(--plum);font-size:.92rem}

/* 详情页 */
.detail-sheet .news-title,.detail-sheet h1{font-family:var(--serif);font-weight:900;font-size:1.7rem;color:var(--plum-deep);line-height:1.5}
.detail-sheet .news-sum{margin-top:14px;font-size:1rem;color:var(--ink-soft)}
.detail-sheet .news-meta{display:block;margin:14px 0 22px;font-size:.82rem;color:var(--grape);border-bottom:1px dashed var(--line);padding-bottom:16px}
.detail-sheet img{max-width:100%;border-radius:12px;margin:18px 0}
.detail-sheet p{margin-bottom:14px;color:var(--ink-soft)}

/* ============ 页脚（水平居中）============ */
.site-foot{
  margin-top:40px;padding:44px 24px 40px;text-align:center;
  background:linear-gradient(180deg, rgba(74,61,92,.06), rgba(74,61,92,.14));
  border-top:2px solid var(--grape-soft);
  color:var(--ink-soft);font-size:.86rem;
}
.site-foot .ft-brand{
  font-family:var(--serif);font-weight:900;font-size:1.2rem;color:var(--plum-deep);letter-spacing:.12em;
}
.site-foot .ft-nav,.site-foot .ft-link-list{
  display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;margin:16px 0 10px;
}
.site-foot .ft-nav a,.site-foot .ft-link-list a{color:var(--plum);text-decoration:none}
.site-foot .ft-nav a:hover,.site-foot .ft-link-list a:hover{color:var(--grape);text-decoration:underline}
.site-foot .ft-copyright,.site-foot .ft-icp{display:block;margin-top:8px}
.site-foot .ft-icp a{color:var(--grape);text-decoration:none}
.site-foot .ft-icp a:hover{text-decoration:underline}

/* ============ 响应式 ============ */
@media (max-width:900px){
  .lede-inner{grid-template-columns:1fr}
  .focus-grid{grid-template-columns:1fr 1fr}
  .focus-grid .news-item:nth-child(1){grid-column:1 / -1;grid-row:auto}
  .focus-grid .news-item:nth-child(n+2){grid-column:auto;grid-row:auto}
  .margin-strip{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:620px){
  .masthead-inner{flex-direction:column;align-items:flex-start}
  .focus-grid{grid-template-columns:1fr}
  .ledger-list .news-item{grid-template-columns:1fr;gap:6px}
  .ledger-list .news-meta{border-right:none;padding-right:0}
  .diary-flow{grid-template-columns:1fr}
  .diary-flow .news-item:nth-child(4n+1){grid-template-columns:132px 1fr}
  .diary-flow .news-item:nth-child(4n+1) .news-media{order:0}
  .diary-flow .news-item:nth-child(4n+1) .news-body{order:1;text-align:left}
  .margin-strip{grid-template-columns:1fr}
  .about-sheet,.contact-sheet,.feedback-sheet,.detail-sheet{padding:28px 22px}
}