:root{
  --bg:#FFF7FB;
  --card:rgba(255,255,255,.72);
  --ink:#2B2B2B;
  --muted:#6E6A66;
  --pink:#F7CFE0;
  --apricot:#FDE3CC;
  --lilac:#EBDDFB;
  --gold:rgba(170, 140, 90, .28);
  --shadow: 0 18px 45px rgba(20,20,20,.10);
  --r:18px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color:var(--ink);
  background:
    radial-gradient(1400px 900px at 8% 8%, rgba(247,207,224,.42) 0%, rgba(247,207,224,.24) 36%, rgba(247,207,224,0) 78%),
    radial-gradient(1300px 860px at 92% 14%, rgba(253,227,204,.40) 0%, rgba(253,227,204,.22) 34%, rgba(253,227,204,0) 76%),
    radial-gradient(1200px 720px at 50% 100%, rgba(235,221,251,.30) 0%, rgba(235,221,251,.16) 40%, rgba(235,221,251,0) 82%),
    linear-gradient(180deg, #FFF9FD 0%, #FFF7FC 38%, #FFF8F5 100%),
    var(--bg);
}
a{color:inherit; text-decoration:none}
.container{max-width:1050px; margin:0 auto; padding:22px 16px 72px}
.top{
  display:flex; align-items:flex-start; justify-content:space-between; gap:14px;
  margin:6px 0 16px; flex-wrap:wrap;
}
.brand{display:flex; flex-direction:column; gap:4px}
.brand h1{margin:0; font-size:20px; letter-spacing:.4px}
.brand small{color:var(--muted)}
.nav{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.pill{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(242,201,201,.9);
  background:rgba(255,255,255,.56);
  box-shadow: 0 8px 22px rgba(30,30,30,.06);
}
.pill:hover{transform:translateY(-1px)}
.card{
  background:var(--card);
  border:1px solid rgba(255,255,255,.80);
  border-radius:var(--r);
  box-shadow:var(--shadow);
  backdrop-filter: blur(10px);
}
.hero{padding:16px; overflow:hidden}
.cover{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(170,140,90,.14);
  background: linear-gradient(135deg, rgba(242,201,201,.35), rgba(246,215,184,.30));
}
.cover img{width:100%; height:clamp(220px, 42vw, 320px); display:block; object-fit:cover; filter:saturate(.96) contrast(.98)}
.cover img.is-banner{
  transition:
    opacity .42s ease,
    transform .55s ease;
  will-change: opacity, transform;
}
.cover img.is-banner.fx-fade{transform:none}
.cover img.is-banner.fx-zoom{transform:scale(1.035)}
.cover img.is-banner.fx-swipe{transform:translateX(0)}
.cover img.is-banner.is-fading{opacity:.06}
.cover img.is-banner.fx-swipe.is-fading{transform:translateX(-14px)}
.cover img.is-banner.fx-zoom.is-fading{transform:scale(1.06)}
.stamp{
  position:absolute; right:12px; bottom:12px;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid var(--gold);
  background: rgba(255,255,255,.66);
  font-size:12px;
  color: rgba(85,70,40,.88);
  letter-spacing:.7px;
}
.intro{
  margin-top:14px;
  padding:14px;
  display:flex; gap:12px; align-items:center;
}
.dot{width:18px; height:18px; border-radius:6px; background:rgba(242,201,201,.65); border:1px solid rgba(242,201,201,.95); flex:0 0 auto}
.intro p{margin:0; line-height:1.7; color:var(--muted)}
.intro-text{transition:opacity .26s ease}
.intro-text.is-fading{opacity:.10}
.grid3{display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:12px; margin-top:14px}
.tile{
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(242,201,201,.75);
  background:rgba(255,255,255,.60);
  display:flex; gap:10px; align-items:center;
}
.icon{width:30px; height:30px; border-radius:11px; background:rgba(246,215,184,.55); border:1px solid rgba(246,215,184,.9)}
.tile b{display:block}
.tile span{display:block; margin-top:2px; font-size:12px; color:var(--muted)}
.section{margin-top:18px}
.section h2{margin:0 0 10px; font-size:14px; color:rgba(85,70,40,.90); letter-spacing:.6px}
.album-strip{
  display:grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap:10px;
  padding:2px 0 6px;
}
.mini-album{
  min-width:0;
  max-width:none;
  width:100%;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(170,140,90,.14);
  background:#fff;
  box-shadow: 0 10px 24px rgba(20,20,20,.06);
}
.mini-album img{
  width:100%;
  height:110px;
  object-fit:cover;
  display:block;
}
.mini-fallback{
  width:100%;
  height:110px;
  background: linear-gradient(135deg, rgba(242,201,201,.35), rgba(246,215,184,.30));
}
.mini-title{
  padding:8px 10px 10px;
  font-size:12px;
  font-weight:600;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.mini-more .mini-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
}
.gallery{display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:10px}
.ph{
  border-radius:16px; overflow:hidden;
  border:1px solid rgba(170,140,90,.14);
  background:#fff;
  box-shadow: 0 10px 26px rgba(20,20,20,.06);
}
.ph img{width:100%; height:190px; object-fit:cover; display:block}
.ph .meta{padding:10px 10px 12px}
.cap{margin:0 0 6px; font-size:13px}
.sub{display:flex; gap:8px; flex-wrap:wrap; font-size:12px; color:var(--muted)}
.album-title{margin:0; font-size:13px; font-weight:700; line-height:1.35}
.album-date{margin:4px 0 0; font-size:12px; color:var(--muted); line-height:1.3}
.album-desc{
  margin:4px 0 0;
  font-size:12px;
  color:var(--muted);
  line-height:1.4;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.notice{
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(246,215,184,.9);
  background: rgba(246,215,184,.22);
  color: rgba(85,70,40,.95);
}
.album-head{
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.72);
  background:
    radial-gradient(650px 220px at 12% 12%, rgba(247,207,224,.22) 0%, rgba(247,207,224,0) 65%),
    radial-gradient(520px 200px at 88% 18%, rgba(253,227,204,.20) 0%, rgba(253,227,204,0) 62%),
    rgba(255,255,255,.56);
}
.album-head-title{
  font-size:16px;
  font-weight:800;
  letter-spacing:.4px;
  line-height:1.35;
}
.album-head-desc{
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
}
.album-head-date{
  margin-top:8px;
  display:inline-block;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(242,201,201,.70);
  background: rgba(255,255,255,.50);
  color: rgba(85,70,40,.86);
  font-size:12px;
  letter-spacing:.6px;
}
.photo{
  padding:16px;
}
.photo-moment{
  margin:2px 2px 10px;
  font-size:12px;
  line-height:1.6;
  color: rgba(85,70,40,.78);
  letter-spacing:.4px;
}
.photo-media{
  position:relative;
  height: min(72vh, 640px);
}
.photo-link{
  display:block;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.photo-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  line-height:1;
  color: rgba(85,70,40,.88);
  background: rgba(255,255,255,.62);
  border:1px solid rgba(255,255,255,.72);
  box-shadow: 0 12px 26px rgba(20,20,20,.10);
  backdrop-filter: blur(8px);
  user-select:none;
}
.photo-nav:hover{transform:translateY(-50%) scale(1.03)}
.photo-nav.prev{left:10px}
.photo-nav.next{right:10px}
.photo-nav:focus-visible{
  outline:3px solid rgba(247,207,224,.55);
  outline-offset:2px;
}
.photo img{
  width:100%;
  height:100%;
  max-height:none;
  object-fit: contain;
  display:block;
  border-radius:16px;
  border:1px solid rgba(170,140,90,.14);
  background:#fff;
}
.photo-meta{
  margin-top:12px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.52);
}
.photo-caption{
  font-size:13px;
  line-height:1.7;
  color: rgba(85,70,40,.92);
}
.photo-sub{
  margin-top:6px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  font-size:12px;
  color:var(--muted);
}
.home-fab{
  position:fixed;
  right:16px;
  bottom:16px;
  width:50px;
  height:50px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  line-height:1;
  color:#7b5a65;
  background:transparent;
  border:none;
  box-shadow:none;
  z-index:1000;
}
.home-fab:hover{
  transform: translateY(-1px);
}
.home-fab-icon{
  width:50px;
  height:50px;
  object-fit:contain;
  display:block;
}
.footer{margin-top:18px; text-align:center; color:var(--muted); font-size:12px}
@media (max-width: 860px){
  .container{padding:18px 14px 60px}
  .top{margin:4px 0 12px}
  .nav{width:100%; justify-content:flex-start}
  .album-strip{grid-template-columns: repeat(3, minmax(0, 1fr));}
  .gallery{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .ph img{height:170px}
  .grid3{grid-template-columns: 1fr}
}
@media (max-width: 640px){
  .container{padding:14px 12px 52px}
  .brand h1{font-size:18px}
  .brand small{font-size:12px}
  .pill{padding:8px 10px; font-size:12px}
  .hero{padding:12px}
  .intro{padding:12px}
  .section{margin-top:14px}
  .section h2{margin:0 0 8px; font-size:13px}
  .album-head{padding:9px 10px}
  .album-head-title{font-size:15px}
  .album-head-desc{font-size:13px}
  .album-strip{gap:8px; grid-template-columns: repeat(2, minmax(0, 1fr));}
  .mini-album{border-radius:12px}
  .mini-album img,.mini-fallback{height:92px}
  .mini-title{padding:7px 8px 9px; font-size:12px}
  .gallery{grid-template-columns: 1fr}
  .ph{border-radius:14px}
  .ph img{height:210px}
  .ph .meta{padding:9px 9px 10px}
  .album-title{font-size:13px}
  .album-date,.album-desc{font-size:12px}
  .photo{padding:8px}
  .photo-media{height: min(74vh, 520px)}
  .photo img{
    height:100%;
    max-height:none;
    object-fit:cover;
    border-radius:14px;
  }
  .photo-moment{
    margin:0 0 8px;
    font-size:12px;
  }
  .photo-nav{width:36px; height:36px; font-size:22px}
  .photo-nav.prev{left:6px}
  .photo-nav.next{right:6px}
  .photo-meta{padding:10px 10px}
  .home-fab{
    right:12px;
    bottom:12px;
    width:46px;
    height:46px;
    font-size:20px;
  }
  .home-fab-icon{width:46px; height:46px}
}
@media (max-width: 400px){
  .pill{padding:7px 9px}
  .mini-album img,.mini-fallback{height:86px}
  .cover img{height:210px}
  .ph img{height:190px}
}

