/* ===== 全站共用样式 ===== */
*{margin:0;padding:0;box-sizing:border-box}
:root{
  --bg-body:#f7f5f2;--bg-card:#fff;--bg-soft:#fdfcfa;
  --text-primary:#1d1d1f;--text-secondary:#4a4a4f;--text-muted:#7a7a80;
  --border-light:#eae6e1;--accent-warm:#b8987a;--accent-warm-deep:#9c7d5f;
  --shadow-md:0 8px 24px rgba(0,0,0,.04),0 2px 6px rgba(0,0,0,.02);
  --shadow-sm:0 2px 8px rgba(0,0,0,.03);
  --radius-lg:24px;--radius-md:16px;--radius-sm:12px;
  --font-sans:'Inter','Noto Sans SC',system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;
}
html{scroll-behavior:smooth}
body{
  background:var(--bg-body);
  background-image:radial-gradient(circle at 10% 10%,rgba(230,215,200,.2) 0%,transparent 40%),
                   radial-gradient(circle at 90% 90%,rgba(220,205,190,.15) 0%,transparent 40%);
  font-family:var(--font-sans);color:var(--text-primary);line-height:1.65;
  padding:2.5rem 1.5rem 3.5rem;display:flex;flex-direction:column;align-items:center;
  -webkit-font-smoothing:antialiased;min-height:100vh;
}
.page{
  max-width:960px;width:100%;background:var(--bg-card);border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);padding:3.2rem 3rem;border:1px solid var(--border-light);
  position:relative;overflow:hidden;animation:fadeUp .4s ease both;
}
@keyframes fadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.page::before{
  content:"";position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,#d8c8b8,#eedfce,#e4d4c2,#d8c8b8);opacity:.7;
}

/* ===== 顶部导航 ===== */
.top-nav{
  display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:2rem;
  padding-bottom:1.2rem;border-bottom:1px solid var(--border-light);
}
.top-nav a{
  font-size:.85rem;color:var(--text-muted);text-decoration:none;
  padding:.4rem .9rem;border-radius:30px;border:1px solid transparent;
  transition:all .15s;font-weight:500;
}
.top-nav a:hover{background:var(--bg-soft);color:var(--text-primary);border-color:var(--border-light)}
.top-nav a.active{background:#f0e8de;color:var(--accent-warm-deep);border-color:#e4d8ca;font-weight:600}

/* ===== 返回链接 ===== */
.back-link{
  display:inline-flex;align-items:center;gap:.4rem;font-size:.88rem;
  color:var(--text-muted);text-decoration:none;margin-bottom:1.5rem;
  padding:.3rem .8rem;border-radius:30px;border:1px solid var(--border-light);transition:all .15s;
}
.back-link:hover{background:var(--bg-soft);color:var(--text-primary);border-color:#d8cfc5}

/* ===== 标题体系 ===== */
h1{font-size:2.1rem;font-weight:700;letter-spacing:-.03em;margin-bottom:.5rem;line-height:1.2}
.site-subtitle{
  font-size:1.05rem;color:var(--text-secondary);margin-bottom:.8rem;
  border-left:4px solid var(--accent-warm);padding-left:1rem;
}
.section-title{
  font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:1.3rem;
  letter-spacing:-.02em;display:flex;align-items:center;gap:.6rem;
}
.section-title::before{
  content:"";display:inline-block;width:5px;height:1.5rem;
  background:linear-gradient(to bottom,#c6b09a,#b8987a);border-radius:3px;flex-shrink:0;
}

/* ===== 免责/说明条 ===== */
.disclaimer{
  font-size:.82rem;color:#8a7a6a;background:linear-gradient(to right,#faf6f1,#fdfbf8);
  display:inline-flex;align-items:center;gap:.4rem;padding:.35rem 1.2rem .35rem 1rem;
  border-radius:40px;border:1px solid #ede5dc;font-weight:500;letter-spacing:.01em;margin-bottom:1rem;
}
.meta-note{
  font-size:.82rem;color:var(--text-muted);background:#faf7f3;
  padding:.6rem 1.2rem;border-radius:30px;display:inline-block;
  margin-bottom:2rem;border:1px solid var(--border-light);
}
.policy{
  font-size:.85rem;color:var(--text-muted);background:#faf7f3;
  padding:.8rem 1.2rem;border-radius:10px;border:1px solid var(--border-light);
  margin-bottom:2rem;line-height:1.7;
}
.policy strong{color:var(--text-primary)}

/* ===== 首页：关于她 ===== */
.bio{margin-bottom:3rem;font-size:1rem;color:var(--text-secondary)}
.bio p{margin-bottom:1.2rem;text-align:justify}
.bio p:last-child{margin-bottom:0}
.bio .note{
  font-size:.92rem;color:#5f5f66;background:linear-gradient(to right,#faf7f3,#fdfbf9);
  padding:1rem 1.4rem;border-radius:var(--radius-sm);
  border-left:4px solid var(--accent-warm);margin-top:1.2rem;
}

/* ===== 导航卡片 ===== */
.nav-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));
  gap:1.1rem;margin-bottom:3rem;
}
.nav-card{
  background:var(--bg-soft);border:1px solid var(--border-light);
  border-radius:var(--radius-md);padding:1.5rem 1.3rem;
  transition:all .2s cubic-bezier(.2,0,0,1);text-decoration:none;color:inherit;
  display:block;position:relative;overflow:hidden;
}
.nav-card::after{
  content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;
  background:linear-gradient(90deg,#d8c8b8,#cbb9a4);
  transform:scaleX(0);transform-origin:left;transition:transform .25s ease;
}
.nav-card:hover{background:#fcfaf7;border-color:#d8cfc5;box-shadow:var(--shadow-sm);transform:translateY(-2px)}
.nav-card:hover::after{transform:scaleX(1)}
.nav-card h3{font-size:1.18rem;font-weight:600;margin-bottom:.45rem;color:var(--text-primary);display:flex;align-items:center;gap:.3rem}
.nav-card h3 .arrow{font-weight:400;color:var(--accent-warm);font-size:1rem;transition:transform .2s ease;display:inline-block}
.nav-card:hover h3 .arrow{transform:translateX(3px)}
.nav-card p{font-size:.88rem;color:var(--text-muted);line-height:1.55}

/* ===== 表格 ===== */
.recent-table-wrapper{
  overflow-x:auto;margin-bottom:1rem;border-radius:var(--radius-md);
  border:1px solid var(--border-light);background:var(--bg-card);box-shadow:var(--shadow-sm);
}
.recent-table{width:100%;border-collapse:collapse;font-size:.95rem}
.recent-table th{
  text-align:left;padding:1rem 1.3rem;background:#faf8f5;font-weight:600;
  color:var(--text-secondary);border-bottom:1px solid var(--border-light);
  white-space:nowrap;font-size:.85rem;letter-spacing:.03em;text-transform:uppercase;
}
.recent-table td{padding:.95rem 1.3rem;border-bottom:1px solid #f5f1ec;color:var(--text-secondary);vertical-align:top}
.recent-table tr:last-child td{border-bottom:none}
.recent-table tr:hover td{background-color:#fdfcf9}
.recent-table .film-title{font-weight:600;color:var(--text-primary)}
.recent-table .note-cell{font-size:.85rem;color:var(--text-muted)}
.table-footnote{font-size:.85rem;color:var(--text-muted);margin-top:.4rem;text-align:right}
.table-footnote a{color:var(--accent-warm-deep);text-decoration:none;border-bottom:1px dotted #cbb9a4;font-weight:500}
.table-footnote a:hover{color:#5f4a37;border-bottom-color:#5f4a37}

/* ===== 常见问题 ===== */
.faq{margin-top:3rem;margin-bottom:2rem}
.faq-item{margin-bottom:1.6rem;border-radius:var(--radius-sm);overflow:hidden}
.faq-question{
  font-weight:600;font-size:1.02rem;color:var(--text-primary);
  display:flex;align-items:baseline;gap:.6rem;cursor:pointer;
  padding:.9rem 1rem;border-radius:var(--radius-sm);background:var(--bg-soft);
  border:1px solid var(--border-light);transition:background .15s;user-select:none;
}
.faq-question:hover{background:#f8f4ef}
.faq-question::before{
  content:"Q";display:inline-flex;align-items:center;justify-content:center;
  font-size:.7rem;font-weight:700;background:linear-gradient(135deg,#e8dfd5,#ddd0c2);
  color:#5f4a37;border-radius:6px;min-width:1.5rem;height:1.5rem;flex-shrink:0;
}
.faq-question .chevron{
  margin-left:auto;font-size:.75rem;color:var(--text-muted);
  transition:transform .25s ease;flex-shrink:0;
}
.faq-item.open .faq-question .chevron{transform:rotate(180deg)}
.faq-answer{
  font-size:.95rem;color:var(--text-secondary);padding:0 1.2rem;
  border-left:2px solid #ede5dc;margin-left:1rem;
  max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease;
}
.faq-item.open .faq-answer{max-height:300px;padding:.8rem 1.2rem}

/* ===== 关于本站 ===== */
.about-site{margin-top:2.5rem}
.about-site p{font-size:.95rem;color:var(--text-secondary);margin-bottom:.8rem}
.about-site code{
  background:#f6f2ed;padding:.2rem .6rem;border-radius:8px;
  font-size:.88rem;color:#5f4a37;font-weight:500;border:1px solid #ede5dc;
}

/* ===== 页脚 ===== */
.site-footer{
  margin-top:3rem;padding-top:1.8rem;border-top:1px solid var(--border-light);
  font-size:.8rem;color:var(--text-muted);text-align:center;line-height:1.9;
}
.site-footer .footer-line{display:block}
.site-footer .footer-note{margin-top:.6rem;color:#a8a8a8;font-size:.72rem;letter-spacing:.02em}
.section-divider{height:1px;background:linear-gradient(to right,var(--border-light),transparent 80%);margin:2.5rem 0}

/* ===== 作品年表：年份分组 ===== */
.year-block{margin-bottom:2.2rem}
.year-label{
  font-size:1.15rem;font-weight:700;color:var(--accent-warm-deep);
  padding-bottom:.5rem;border-bottom:2px solid #ede5dc;margin-bottom:.9rem;
  display:flex;align-items:center;gap:.5rem;
}
.year-label::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--accent-warm);display:inline-block}
.entry{
  display:grid;grid-template-columns:90px 1fr 80px;gap:.8rem;
  padding:.75rem .8rem;border-radius:10px;font-size:.93rem;align-items:baseline;
  transition:background .12s;
}
.entry:hover{background:var(--bg-soft)}
.entry .type{font-size:.78rem;color:var(--text-muted);font-weight:500;letter-spacing:.02em}
.entry .name{font-weight:600;color:var(--text-primary)}
.entry .role{font-size:.85rem;color:var(--text-secondary);font-weight:400;margin-left:.4rem}
.entry .platform{font-size:.78rem;color:var(--text-muted);text-align:right}
.section-note{
  font-size:.82rem;color:var(--text-muted);margin-top:1.5rem;
  padding-top:1rem;border-top:1px solid var(--border-light);
}

/* ===== 筛选按钮（作品年表 / 影像档案） ===== */
.filter-bar{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.8rem}
.filter-btn{
  font-size:.82rem;font-weight:500;padding:.4rem 1rem;border-radius:30px;
  border:1px solid var(--border-light);background:var(--bg-card);
  color:var(--text-muted);cursor:pointer;transition:all .15s;font-family:inherit;
}
.filter-btn:hover{background:var(--bg-soft);color:var(--text-primary);border-color:#d8cfc5}
.filter-btn.active{background:#f0e8de;color:var(--accent-warm-deep);border-color:#e4d8ca;font-weight:600}
.entry.hidden,.year-block.hidden,.gallery-card.hidden{display:none}

/* ===== 角色图鉴 ===== */
.role-line{margin-bottom:2.8rem}
.line-title{font-size:1.25rem;font-weight:700;color:var(--text-primary);margin-bottom:.4rem;display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.line-title .tag{font-size:.7rem;font-weight:600;background:#f0e8de;color:var(--accent-warm-deep);padding:.2rem .7rem;border-radius:20px;letter-spacing:.02em}
.line-desc{font-size:.9rem;color:var(--text-muted);margin-bottom:1rem;padding-left:.2rem}
.role-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}
.role-card{
  background:var(--bg-soft);border:1px solid var(--border-light);
  border-radius:var(--radius-md);padding:1.3rem 1.2rem;transition:all .15s;
}
.role-card:hover{border-color:#d8cfc5;box-shadow:0 4px 12px rgba(0,0,0,.02);transform:translateY(-2px)}
.role-card .work{font-size:.78rem;color:var(--text-muted);letter-spacing:.02em;margin-bottom:.2rem}
.role-card .role-name{font-size:1.05rem;font-weight:600;color:var(--text-primary);margin-bottom:.4rem}
.role-card .role-note{font-size:.85rem;color:var(--text-secondary);line-height:1.55}
.insight{
  background:linear-gradient(to right,#faf7f3,#fdfbf9);border-left:4px solid var(--accent-warm);
  padding:1rem 1.4rem;border-radius:var(--radius-md);margin:2.5rem 0 1rem;
  font-size:.92rem;color:var(--text-secondary);
}
.insight strong{color:var(--text-primary)}

/* ===== 动态与行程：时间线 ===== */
.timeline{position:relative;padding-left:1.8rem}
.timeline::before{content:"";position:absolute;left:.45rem;top:.6rem;bottom:.6rem;width:2px;background:linear-gradient(to bottom,#e6dcd2,#ede5dc)}
.item{position:relative;margin-bottom:2rem}
.item::before{content:"";position:absolute;left:-1.55rem;top:.5rem;width:10px;height:10px;border-radius:50%;background:var(--bg-card);border:2px solid var(--accent-warm)}
.item .date{font-size:.78rem;color:var(--accent-warm-deep);font-weight:600;letter-spacing:.03em;margin-bottom:.2rem}
.item .title{font-size:1rem;font-weight:600;color:var(--text-primary);margin-bottom:.2rem}
.item .desc{font-size:.88rem;color:var(--text-secondary)}
.item .source{font-size:.75rem;color:var(--text-muted);margin-top:.25rem}
.item .source a{color:var(--accent-warm-deep);text-decoration:none;border-bottom:1px dotted #cbb9a4}
.empty-note{font-size:.85rem;color:var(--text-muted);background:var(--bg-soft);padding:1.2rem;border-radius:var(--radius-md);text-align:center;margin-top:1rem;border:1px dashed var(--border-light)}

/* ===== 影像档案 ===== */
.gallery-section{margin-bottom:2.5rem}
.gallery-year{font-size:1.15rem;font-weight:700;color:var(--accent-warm-deep);padding-bottom:.5rem;border-bottom:2px solid #ede5dc;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}
.gallery-year::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--accent-warm);display:inline-block}
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.9rem}
.gallery-card{background:var(--bg-soft);border:1px solid var(--border-light);border-radius:var(--radius-md);overflow:hidden;transition:all .15s;cursor:pointer}
.gallery-card:hover{border-color:#d8cfc5;box-shadow:0 4px 12px rgba(0,0,0,.02);transform:translateY(-2px)}
.gallery-placeholder{aspect-ratio:4/3;background:linear-gradient(135deg,#f4efe9,#faf7f3);display:flex;align-items:center;justify-content:center;font-size:.72rem;color:var(--text-muted);letter-spacing:.05em;text-align:center;padding:.5rem;line-height:1.5}
.gallery-caption{padding:.7rem .85rem;font-size:.82rem;color:var(--text-secondary);line-height:1.5}
.gallery-caption .label{font-size:.7rem;color:var(--text-muted);display:block;margin-bottom:.1rem}
.notice-box{background:var(--bg-soft);border:1px dashed var(--border-light);border-radius:var(--radius-md);padding:1.5rem;text-align:center;font-size:.88rem;color:var(--text-muted);line-height:1.8;margin-top:1rem}
.notice-box strong{color:var(--text-primary)}

/* ===== 灯箱 ===== */
.lightbox{
  position:fixed;inset:0;background:rgba(20,18,16,.85);backdrop-filter:blur(6px);
  display:none;align-items:center;justify-content:center;z-index:1000;padding:2rem;
}
.lightbox.open{display:flex;animation:fadeIn .2s ease}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.lightbox-inner{
  background:var(--bg-card);border-radius:var(--radius-lg);max-width:640px;width:100%;
  padding:2rem;position:relative;box-shadow:0 20px 60px rgba(0,0,0,.3);
}
.lightbox-inner h3{font-size:1.3rem;font-weight:700;margin-bottom:.4rem;color:var(--text-primary)}
.lightbox-inner .lb-meta{font-size:.85rem;color:var(--text-muted);margin-bottom:1rem}
.lightbox-inner .lb-body{font-size:.95rem;color:var(--text-secondary);line-height:1.7}
.lightbox-close{
  position:absolute;top:1rem;right:1rem;width:2rem;height:2rem;border-radius:50%;
  border:1px solid var(--border-light);background:var(--bg-soft);color:var(--text-muted);
  font-size:1rem;cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:all .15s;font-family:inherit;
}
.lightbox-close:hover{background:#f0e8de;color:var(--text-primary)}

/* ===== 回到顶部 ===== */
.to-top{
  position:fixed;bottom:1.5rem;right:1.5rem;width:2.6rem;height:2.6rem;border-radius:50%;
  background:var(--bg-card);border:1px solid var(--border-light);color:var(--text-muted);
  font-size:1rem;cursor:pointer;display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-sm);transition:all .2s;opacity:0;pointer-events:none;z-index:900;
}
.to-top.show{opacity:1;pointer-events:auto}
.to-top:hover{background:#f0e8de;color:var(--accent-warm-deep);border-color:#e4d8ca;transform:translateY(-2px)}

/* ===== 响应式 ===== */
@media(max-width:700px){
  .page{padding:2.2rem 1.6rem;border-radius:var(--radius-md)}
  h1{font-size:1.7rem}
  .nav-grid{grid-template-columns:1fr 1fr}
  .recent-table th,.recent-table td{padding:.8rem 1rem;font-size:.85rem}
  .faq-answer{padding-left:1.5rem}
  .entry{grid-template-columns:70px 1fr;gap:.3rem}
  .entry .platform{display:none}
}
@media(max-width:450px){
  body{padding:1rem .8rem 2rem}
  .page{padding:1.6rem 1.1rem}
  h1{font-size:1.45rem}
  .site-subtitle{font-size:.95rem}
  .nav-grid{grid-template-columns:1fr}
  .recent-table th,.recent-table td{padding:.7rem .8rem;font-size:.8rem}
  .gallery-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}
}