
:root{
  --ha-ink:#2c2a27; --ha-ink-soft:#6b6560; --ha-line:#e8e2d9;
  --ha-paper:#fdfbf7; --ha-card:#ffffff; --ha-accent:#b9895f;
  --ha-radius:16px; --ha-shadow:0 6px 24px rgba(60,48,35,.08);
}
html,body{
  background:var(--ha-paper);
  color:var(--ha-ink);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",sans-serif;
  -webkit-font-smoothing:antialiased;
  letter-spacing:.01em;
}
a{color:var(--ha-accent);}
.content{margin:0 auto;}

/* 顶部栏 */
#header,.pageHeader,#menubar{
  background:rgba(253,251,247,.86);
  backdrop-filter:saturate(160%) blur(10px);
  -webkit-backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid var(--ha-line);
}
.titrePage h2,.titrePage h1{
  font-weight:600;font-size:1.32rem;letter-spacing:.02em;
  color:var(--ha-ink);margin:.2em 0 .35em;
}
.titrePage{margin-bottom:.4em;}
.browsePath{font-size:.86rem;color:var(--ha-ink-soft);}
.browsePath a{color:var(--ha-ink-soft);text-decoration:none;}
.browsePath a:hover{color:var(--ha-accent);}

/* 相册网格 */
.thumbnails{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(190px,1fr));
  gap:18px;
  padding:6px 0 34px;
}
.thumbnail{
  background:var(--ha-card);
  border:1px solid var(--ha-line);
  border-radius:var(--ha-radius);
  padding:8px 8px 6px;
  box-shadow:var(--ha-shadow);
  transition:transform .22s ease,box-shadow .22s ease;
  overflow:hidden;
}
.thumbnail:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(60,48,35,.13);}
.thumbnail .wrap1,.thumbnail .wrap2{border-radius:10px;overflow:hidden;}
.thumbnail img{border-radius:10px;display:block;}
.thumbName,.thumbLegend{
  font-size:.86rem;color:var(--ha-ink-soft);
  padding:6px 4px 2px;line-height:1.5;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.thumbName a{color:var(--ha-ink);text-decoration:none;}

/* 单图页 */
#theImageAndInfos{max-width:1180px;margin:0 auto;}
#theImage{
  background:linear-gradient(180deg,#fff,#f7f3ec);
  border:1px solid var(--ha-line);
  border-radius:20px;
  padding:14px;
  box-shadow:var(--ha-shadow);
  text-align:center;
}
#theImage img{max-height:76vh;width:auto;border-radius:12px;box-shadow:0 4px 18px rgba(60,48,35,.10);}
#imageInfos{margin-top:14px;}
.imageInfoTable td{padding:6px 10px;font-size:.88rem;}
.imageInfoTable td:first-child{color:var(--ha-ink-soft);white-space:nowrap;}

/* 翻页与操作按钮：加大触控区 */
.navigationButtons a,#imageToolBar a,.action-buttons a{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:42px;min-height:42px;border-radius:12px;
  border:1px solid var(--ha-line);background:#fff;
  margin:0 4px;transition:background .2s;
}
.navigationButtons a:hover,#imageToolBar a:hover{background:#f4efe6;}
.navThumbs img{border-radius:8px;opacity:.72;transition:opacity .2s,transform .2s;}
.navThumbs img:hover{opacity:1;transform:scale(1.04);}

/* ------- 温馨文案卡 ------- */
.ha-note{
  position:relative;
  margin:-30px auto 26px;
  max-width:640px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(8px) saturate(150%);
  -webkit-backdrop-filter:blur(8px) saturate(150%);
  border:1px solid var(--ha-line);
  border-radius:18px;
  box-shadow:0 12px 34px rgba(60,48,35,.14);
  padding:18px 22px 16px;
  text-align:center;
  animation:ha-rise .55s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes ha-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.ha-note .ha-quote{
  font-size:1.06rem;line-height:1.85;color:var(--ha-ink);
  font-weight:500;letter-spacing:.02em;
}
.ha-note .ha-quote::before{content:"「";color:var(--ha-accent);margin-right:2px;}
.ha-note .ha-quote::after{content:"」";color:var(--ha-accent);margin-left:2px;}
.ha-note .ha-meta{
  margin-top:10px;font-size:.8rem;color:var(--ha-ink-soft);
  display:flex;flex-wrap:wrap;gap:10px 16px;justify-content:center;
}
.ha-note .ha-meta b{font-weight:500;color:var(--ha-ink);}
.ha-note .ha-dot{color:var(--ha-line);}

/* 拍摄地点小地图 */
.ha-map{
  margin:12px auto 0;max-width:640px;
  border:1px solid var(--ha-line);border-radius:14px;
  overflow:hidden;box-shadow:var(--ha-shadow);
}
.ha-map iframe{display:block;width:100%;height:190px;border:0;filter:saturate(.9);}
.ha-map-cap{
  font-size:.78rem;color:var(--ha-ink-soft);
  padding:8px 12px;background:#fff;text-align:left;
}
.ha-map-cap a{text-decoration:none;}

/* 手机端 */
@media (max-width:768px){
  .content{padding:0 12px;}
  .thumbnails{grid-template-columns:repeat(2,1fr);gap:12px;}
  .thumbnail{padding:6px;border-radius:14px;}
  .titrePage h2{font-size:1.16rem;}
  #theImage{padding:8px;border-radius:16px;}
  #theImage img{max-height:64vh;border-radius:10px;}
  .ha-note{margin:-22px 6px 20px;padding:16px 16px 14px;border-radius:16px;}
  .ha-note .ha-quote{font-size:1rem;line-height:1.8;}
  .navigationButtons a,#imageToolBar a{min-width:46px;min-height:46px;}
  .navThumbs{display:none;}
}
@media (max-width:420px){
  .thumbnails{grid-template-columns:repeat(2,1fr);gap:10px;}
  .thumbName{font-size:.78rem;}
}
