/*
Theme Name: 展览集
Theme URI: https://psvip8.com
Author: 展览集
Description: 漫展 Cosplay 摄影作品集主题。深色底 + 低饱和金。首页全屏翻页，相册 3D 翻书（手机与微信内置浏览器自动降级为淡入淡出）。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zhanlanji
Tags: photography, portfolio, gallery, dark, custom-colors
*/

/* ==========================================================================
   以下样式由 build-theme-css.py 自动合并生成，请勿手改。
   来源：
     1. prototype/assets/style.css          —— 设计系统
     2. prototype/*.html 里各页的 <style>   —— 页面级样式
   改样式：改原型 → 跑 python3 build-theme-css.py
   ========================================================================== */


/* ==========================================================================
   1. 设计系统
   ========================================================================== */
/* ==========================================================================
   psvip8.com · 设计系统
   深色底 + 低饱和金 · 极简杂志感
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root{
  --bg:        #0a0a0b;
  --bg-2:      #121214;
  --bg-3:      #1a1a1d;
  --ink:       #f2f0ec;
  --ink-dim:   rgba(242,240,236,.62);
  --ink-faint: rgba(242,240,236,.34);
  --line:      rgba(242,240,236,.13);
  --line-2:    rgba(242,240,236,.07);
  --gold:      #c9a227;
  --gold-dim:  rgba(201,162,39,.24);

  --ease:      cubic-bezier(.22,.61,.36,1);
  --ease-out:  cubic-bezier(.16,1,.3,1);

  --gut:       max(22px,5vw);
  --maxw:      1560px;
  --head:      78px;
  --vh:        100vh;
}
@supports (height:100dvh){ :root{ --vh:100dvh } }

/* ---------- 重置 ---------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0 }

html{ scroll-behavior:smooth; -webkit-text-size-adjust:100% }

body{
  background:var(--bg);
  color:var(--ink);
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  font-size:15px; line-height:1.7;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
body.no-scroll{ overflow:hidden }

img{ display:block; max-width:100% }

a{ color:inherit; text-decoration:none }

button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer }

::selection{ background:var(--gold); color:#0a0a0b }

/* 滚动条 */
::-webkit-scrollbar{ width:9px; height:9px }
::-webkit-scrollbar-track{ background:var(--bg) }
::-webkit-scrollbar-thumb{ background:rgba(242,240,236,.16); border-radius:99px }
::-webkit-scrollbar-thumb:hover{ background:rgba(242,240,236,.28) }

/* ---------- 排版 ---------- */
.serif{
  font-family:"Songti SC","STSong","Noto Serif SC","Source Han Serif SC",Georgia,"Times New Roman",serif;
  font-weight:400; letter-spacing:.015em;
}

.eyebrow{
  display:inline-block;
  font-size:11px; letter-spacing:.26em; text-transform:uppercase;
  color:var(--gold);
}
.eyebrow.dim{ color:var(--ink-faint) }

.h1{ font-size:clamp(34px,7vw,86px); line-height:1.06; letter-spacing:-.01em }
.h2{ font-size:clamp(26px,4.4vw,50px); line-height:1.14 }
.h3{ font-size:clamp(19px,2.2vw,28px); line-height:1.24 }
.h4{ font-size:17px; line-height:1.35; font-weight:600 }

.lead{ font-size:clamp(15px,1.35vw,18px); line-height:1.85; color:var(--ink-dim) }
.muted{ color:var(--ink-dim) }
.faint{ color:var(--ink-faint) }
.small{ font-size:13px }
.tiny{ font-size:11.5px; letter-spacing:.1em }

/* ---------- 布局 ---------- */
.wrap{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 var(--gut) }
.section{ padding:clamp(70px,11vh,150px) 0 }
.section.tight{ padding:clamp(44px,7vh,90px) 0 }

.rule{ height:1px; background:var(--line); border:0 }

/* ---------- 顶部导航 ---------- */
.site-head{
  position:fixed; inset:0 0 auto 0; z-index:9000;
  height:var(--head);
  display:flex; align-items:center;
  transition:background .45s var(--ease), border-color .45s var(--ease), backdrop-filter .45s;
  border-bottom:1px solid transparent;
}
.site-head.solid{
  background:rgba(10,10,11,.78);
  backdrop-filter:blur(22px) saturate(160%);
  -webkit-backdrop-filter:blur(22px) saturate(160%);
  border-bottom-color:var(--line);
}
.site-head .wrap{ display:flex; align-items:center; justify-content:space-between; gap:26px }

.brand{ display:flex; align-items:baseline; gap:10px; flex:0 0 auto }
.brand .name{
  font-size:19px; letter-spacing:.1em; font-weight:400;
}
.brand .mark{
  width:7px; height:7px; border-radius:50%;
  background:var(--gold); flex:0 0 auto;
  transform:translateY(-1px);
}
.brand .sub{
  font-size:10.5px; letter-spacing:.22em; text-transform:uppercase;
  color:var(--ink-faint);
}

.nav{ display:flex; align-items:center; gap:30px; list-style:none }
.nav a{
  position:relative; font-size:13.5px; letter-spacing:.05em;
  color:var(--ink-dim);
  transition:color .3s var(--ease);
}
.nav a:hover,.nav a.on{ color:var(--ink) }
.nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:1px;
  background:var(--gold); transform:scaleX(0); transform-origin:left;
  transition:transform .4s var(--ease);
}
.nav a:hover::after,.nav a.on::after{ transform:scaleX(1) }

/* 作品下拉 */
.has-sub{ position:relative }
.has-sub > a::before{
  content:""; display:inline-block;
  width:4px; height:4px; margin-left:6px;
  border-right:1px solid currentColor; border-bottom:1px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  opacity:.5;
}
.subnav{
  position:absolute; top:calc(100% + 18px); left:50%; transform:translateX(-50%) translateY(-6px);
  min-width:190px; padding:9px;
  background:rgba(18,18,20,.94);
  backdrop-filter:blur(22px); -webkit-backdrop-filter:blur(22px);
  border:1px solid var(--line); border-radius:13px;
  box-shadow:0 20px 60px rgba(0,0,0,.6);
  list-style:none;
  opacity:0; visibility:hidden;
  transition:opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.has-sub:hover .subnav,.has-sub:focus-within .subnav{
  opacity:1; visibility:visible; transform:translateX(-50%) translateY(0);
}
.subnav a{
  display:block; padding:9px 13px; border-radius:8px;
  font-size:13.5px; color:var(--ink-dim);
}
.subnav a:hover{ background:rgba(242,240,236,.06); color:var(--ink) }
.subnav a::after{ display:none }
.subnav .dot{
  display:inline-block; width:4px; height:4px; border-radius:50%;
  background:var(--gold); margin-right:9px; opacity:0;
  transition:opacity .3s;
}
.subnav a:hover .dot{ opacity:1 }

/* 汉堡（手机） */
.burger{
  display:none; width:40px; height:40px;
  flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.burger i{
  display:block; width:20px; height:1.5px; background:var(--ink);
  transition:transform .4s var(--ease), opacity .3s;
}
.burger.on i:nth-child(1){ transform:translateY(6.5px) rotate(45deg) }
.burger.on i:nth-child(2){ opacity:0 }
.burger.on i:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg) }

.drawer{
  position:fixed; inset:0; z-index:8999;
  background:rgba(10,10,11,.98);
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  padding:calc(var(--head) + 30px) var(--gut) 40px;
  overflow-y:auto;
  opacity:0; visibility:hidden;
  transition:opacity .45s var(--ease), visibility .45s;
}
.drawer.on{ opacity:1; visibility:visible }
.drawer .grp{ margin-bottom:30px }
.drawer .grp > .lab{
  font-size:10.5px; letter-spacing:.24em; text-transform:uppercase;
  color:var(--ink-faint); margin-bottom:14px; display:block;
}
.drawer a{
  display:block; padding:11px 0;
  font-size:22px; letter-spacing:.02em;
  border-bottom:1px solid var(--line-2);
}
.drawer a.sub{ font-size:16px; padding-left:22px; color:var(--ink-dim) }

/* ---------- 按钮 ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:13px 27px; border-radius:99px;
  font-size:13.5px; letter-spacing:.06em;
  border:1px solid var(--line);
  color:var(--ink);
  transition:background .35s var(--ease), color .35s var(--ease),
             border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover{ background:var(--ink); color:#0a0a0b; border-color:var(--ink) }
.btn.solid{ background:var(--ink); color:#0a0a0b; border-color:var(--ink) }
.btn.solid:hover{ background:transparent; color:var(--ink) }
.btn.gold{ border-color:var(--gold-dim); color:var(--gold) }
.btn.gold:hover{ background:var(--gold); color:#0a0a0b; border-color:var(--gold) }
.btn .arw{ transition:transform .35s var(--ease) }
.btn:hover .arw{ transform:translateX(4px) }

/* ---------- 卡片 / 网格 ---------- */
.grid{ display:grid; gap:clamp(14px,1.7vw,26px) }
.grid.c2{ grid-template-columns:repeat(2,1fr) }
.grid.c3{ grid-template-columns:repeat(3,1fr) }
.grid.c4{ grid-template-columns:repeat(4,1fr) }

.card{
  position:relative; display:block; overflow:hidden;
  border-radius:4px; background:var(--bg-2);
  /* ⚠️ 这批作品 15 张里 14 张是横向。之前写 4/5 竖版会把构图裁掉大半，
     所以改成 3/2 —— 和相机原生画幅一致，基本不用裁。 */
  aspect-ratio:3/2;
}
.card.wide{ aspect-ratio:16/9 }
.card.sq{ aspect-ratio:1/1 }
.card .ph{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  transform:scale(1.02);
  transition:transform 1.1s var(--ease-out), filter .6s var(--ease);
  filter:saturate(.92);
}
.card:hover .ph{ transform:scale(1.075); filter:saturate(1.05) }
.card .veil{
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(6,6,7,.9) 0%, rgba(6,6,7,.2) 42%, rgba(6,6,7,0) 68%);
  opacity:.85; transition:opacity .5s var(--ease);
}
.card:hover .veil{ opacity:1 }
.card .body{
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  padding:clamp(16px,1.9vw,26px);
}
.card .body .c1{
  display:block; font-size:10.5px; letter-spacing:.22em; text-transform:uppercase;
  color:var(--gold); margin-bottom:9px;
}
.card .body .c2{
  font-size:clamp(16px,1.6vw,21px); line-height:1.28;
}
.card .body .c3{
  font-size:12px; color:var(--ink-faint); margin-top:7px;
  max-height:0; overflow:hidden; opacity:0;
  transition:max-height .5s var(--ease), opacity .4s var(--ease), margin .4s;
}
.card:hover .body .c3{ max-height:60px; opacity:1 }

.card .cnt{
  position:absolute; top:14px; right:16px; z-index:2;
  font-size:11px; letter-spacing:.1em; color:var(--ink-dim);
  padding:4px 10px; border-radius:99px;
  background:rgba(10,10,11,.55);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  opacity:0; transition:opacity .4s var(--ease);
}
.card:hover .cnt{ opacity:1 }

/* ---------- 进入动画 ---------- */
.rv{ opacity:0; transform:translateY(30px);
     transition:opacity .95s var(--ease-out), transform .95s var(--ease-out) }
.rv.on{ opacity:1; transform:none }
.rv.d1{ transition-delay:.08s } .rv.d2{ transition-delay:.16s }
.rv.d3{ transition-delay:.24s } .rv.d4{ transition-delay:.32s }
.rv.d5{ transition-delay:.40s }

/* ---------- 页脚 ---------- */
.site-foot{
  border-top:1px solid var(--line);
  padding:clamp(50px,8vh,90px) 0 34px;
  margin-top:clamp(60px,10vh,130px);
}
.site-foot .cols{
  display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:40px; margin-bottom:52px;
}
.site-foot h5{
  font-size:10.5px; letter-spacing:.24em; text-transform:uppercase;
  color:var(--ink-faint); margin-bottom:17px;
}
.site-foot ul{ list-style:none; display:flex; flex-direction:column; gap:11px }
.site-foot ul a{ font-size:13.5px; color:var(--ink-dim); transition:color .3s }
.site-foot ul a:hover{ color:var(--ink) }
.site-foot .bar{
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:14px;
  padding-top:26px; border-top:1px solid var(--line-2);
  font-size:11.5px; color:var(--ink-faint); letter-spacing:.06em;
}

/* ---------- 手机 ---------- */
@media (max-width:980px){
  :root{ --head:64px }
  .nav{ display:none }
  .burger{ display:flex }
  .grid.c4{ grid-template-columns:repeat(2,1fr) }
  .grid.c3{ grid-template-columns:repeat(2,1fr) }
  .site-foot .cols{ grid-template-columns:1fr 1fr; gap:32px }
}
@media (max-width:620px){
  .grid.c3,.grid.c4{ grid-template-columns:1fr 1fr }
  .grid.c2{ grid-template-columns:1fr }
  .site-foot .cols{ grid-template-columns:1fr }
  .card .body .c3{ display:none }
}

/* ==========================================================================
   导航栏滚动隐藏（往下滚藏起来，往上滚滑出来）
   ========================================================================== */
.site-head{
  transition:transform .45s var(--ease), background .45s var(--ease),
             border-color .45s var(--ease);
}
.site-head.hide{ transform:translateY(-100%) }

/* ==========================================================================
   卡片 hover 细化
   ========================================================================== */
.card{ transition:transform .55s var(--ease) }
.card::after{
  content:""; position:absolute; inset:0; z-index:4; border-radius:4px;
  box-shadow:inset 0 0 0 1px rgba(242,240,236,0); pointer-events:none;
  transition:box-shadow .55s var(--ease);
}
.card:hover::after{ box-shadow:inset 0 0 0 1px rgba(242,240,236,.26) }
.card .body{ transition:transform .6s var(--ease) }
.card:hover .body{ transform:translateY(-5px) }
.card .ph{ filter:saturate(.9) brightness(.94) }
.card:hover .ph{ filter:saturate(1.06) brightness(1.05) }

/* ==========================================================================
   页面切换淡入淡出
   body 用 animation 做入场（不依赖 JS，避免白屏）
   html::after 当遮罩做退场（点内部链接时切到不透明再跳转）
   ========================================================================== */
@keyframes pageIn{ from{ opacity:0 } to{ opacity:1 } }
body{ animation:pageIn .42s var(--ease) both }

html::after{
  content:""; position:fixed; inset:0; z-index:99999;
  background:var(--bg); opacity:0;
  /* ⚠️ 永远不要 pointer-events:auto。
     之前写成 auto，一旦 .page-out 因为 bfcache 残留，整个页面就既全黑又点不动，
     只能刷新。改成 none 之后，即使遮罩意外卡住，页面至少还是能点的。 */
  pointer-events:none;
  transition:opacity .3s var(--ease);
}
html.page-out::after{ opacity:1 }

/* ==========================================================================
   全站阅读进度条
   ========================================================================== */
.page-progress{
  position:fixed; top:0; left:0; right:0; height:2px; z-index:9500;
  background:var(--gold);
  transform:scaleX(0); transform-origin:0 50%;
  transition:transform .12s linear;
  pointer-events:none;
}

/* ==========================================================================
   回到顶部
   ========================================================================== */
.to-top{
  position:fixed; z-index:9400;
  right:max(16px,2.4vw); bottom:max(20px,3vh);
  width:44px; height:44px; border-radius:50%;
  border:1px solid var(--line);
  background:rgba(16,16,18,.78);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  color:var(--ink-dim);
  display:grid; place-items:center;
  opacity:0; visibility:hidden; transform:translateY(14px);
  transition:opacity .4s var(--ease), transform .4s var(--ease),
             visibility .4s, color .3s var(--ease), border-color .3s var(--ease);
}
.to-top.on{ opacity:1; visibility:visible; transform:none }
.to-top:hover{ color:var(--ink); border-color:var(--ink) }
.to-top svg{ width:15px; height:15px }

/* ==========================================================================
   灯箱
   ========================================================================== */
.lb{
  position:fixed; inset:0; z-index:9800;
  background:rgba(6,6,7,.97);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden;
  transition:opacity .35s var(--ease), visibility .35s;
}
.lb.on{ opacity:1; visibility:visible }

.lb .fig{
  position:relative;
  max-width:min(1500px,94vw); max-height:88vh;
  display:flex; flex-direction:column; align-items:center; gap:16px;
}
.lb .im{
  max-width:100%; max-height:74vh;
  object-fit:contain; border-radius:3px;
  box-shadow:0 30px 90px rgba(0,0,0,.72);
  opacity:0; transform:scale(.985);
  transition:opacity .45s var(--ease), transform .45s var(--ease);
}
.lb.ready .im{ opacity:1; transform:none }
.lb .meta{ text-align:center; padding:0 12px }
.lb .meta .t{ font-size:clamp(15px,1.6vw,20px) }
.lb .meta .s{ font-size:12px; color:var(--ink-faint); margin-top:6px; letter-spacing:.06em }
.lb .cnt{
  position:absolute; top:-32px; left:50%; transform:translateX(-50%);
  font-size:11.5px; letter-spacing:.18em; color:var(--ink-faint);
  font-variant-numeric:tabular-nums;
}

.lb .x,.lb .pv,.lb .nx{
  position:absolute; z-index:2;
  width:48px; height:48px; border-radius:50%;
  border:1px solid var(--line); background:rgba(16,16,18,.7);
  color:var(--ink-dim); display:grid; place-items:center;
  font-size:17px;
  transition:color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.lb .x:hover,.lb .pv:hover,.lb .nx:hover{
  color:var(--ink); border-color:var(--ink); background:rgba(24,24,27,.92);
}
.lb .x{ top:20px; right:20px }
.lb .pv{ left:max(12px,2vw); top:50%; transform:translateY(-50%) }
.lb .nx{ right:max(12px,2vw); top:50%; transform:translateY(-50%) }
.lb .pv[disabled],.lb .nx[disabled]{ opacity:.22; cursor:default }
.lb .pv[disabled]:hover,.lb .nx[disabled]:hover{
  color:var(--ink-dim); border-color:var(--line); background:rgba(16,16,18,.7);
}

@media (max-width:760px){
  .lb .im{ max-height:66vh }
  .lb .pv,.lb .nx{ width:42px; height:42px }
  .lb .x{ top:12px; right:12px; width:42px; height:42px }
  .lb .meta .t{ font-size:15px }
}

@media (prefers-reduced-motion:reduce){
  *{ transition-duration:.01ms !important; animation-duration:.01ms !important }
  html{ scroll-behavior:auto }
}


/* ==========================================================================
   2.1 页面样式 · index.html
   ========================================================================== */

/* ==========================================================================
   首页 Hero
   结构：外层撑高 N×100vh，内层 position:sticky 钉住 → 不劫持滚动，手机原生跟手
   特效：三种可切换（斜切擦除 / 漫画分栏 / 穿越变焦）
   ========================================================================== */
.hero{ position:relative }
.hero-sticky{
  position:sticky; top:0;
  height:var(--vh);
  overflow:hidden;
  background:#060607;
}

/* ---------- 面板基础 ---------- */
.hp{
  position:absolute; inset:0;
  opacity:0; visibility:hidden;
  z-index:1;
  transition:opacity .7s var(--ease), visibility .7s;
}
.hp.live{ opacity:1; visibility:visible; z-index:3 }
.hp.past{ opacity:0; visibility:visible;  z-index:2 }

/* 模糊底衬：只在窄屏启用 */
.hp .ph-blur{ display:none }

/* 图片层 */
.hp .ph{ position:absolute; inset:0; overflow:hidden }
.hp .ph-img{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  will-change:transform, clip-path, filter;
}

/* ==========================================================================
   ⚠️ 手机版面重排
   照片是 3:2 横构图，手机是竖屏 —— contain 之后上下会空出很多。
   不能靠裁图解决（那正是你反馈的问题），改成：
     1) 照片完整显示（contain，不裁）
     2) 背景铺一层模糊放大的同图，填满整屏
     3) 版面改成竖排：编号 → 照片 → 文案 → 缩略图导航
   ========================================================================== */
@media (max-width:900px){
  .hp{
    display:flex; flex-direction:column; justify-content:center;
    padding:calc(var(--head) + 14px) 0 max(20px,3vh);
  }

  /* 模糊底衬铺满整屏 */
  .hp .ph-blur{
    display:block; position:absolute; inset:-14%;
    background-size:cover; background-position:center;
    filter:blur(38px) saturate(1.15) brightness(.32);
    transform:scale(1.12);
  }

  /* 编号挪到照片上方 */
  .hp .idx{
    position:static; order:1;
    margin:0 22px 10px; text-align:left;
    font-size:clamp(30px,10vw,42px); line-height:1;
  }

  /* 照片：流内元素，严格 3:2，完整不裁
     左右贴屏幕边（不要留白），所以 margin 归零、圆角和投影一起去掉 */
  .hp .ph{
    position:relative; order:2;
    width:100%; margin:0; flex:0 0 auto;
    aspect-ratio:3/2;
    border-radius:0; overflow:hidden;
    box-shadow:none;
  }
  .hp .ph-img, .hp .strips i{
    background-size:contain !important;
    background-repeat:no-repeat;
    background-position:center;
  }

  /* 文案挪到照片下方 */
  .hp .cap{
    position:static; order:3;
    max-width:none; margin:0; padding:20px 22px 0;
  }
  .hp .cap .c1{ margin-bottom:12px }
  .hp .cap .c3{ margin-top:12px }
  .hp .cap .c4{ margin-top:20px }

  /* 底衬本身够暗，不再需要压暗遮罩 */
  .hp .scrim{ display:none }

  .hrail{ display:flex }
}

/* ---------- 缩略图导航条（只在手机出现，填住底部） ---------- */
.hrail{
  display:none; position:absolute; z-index:6000;
  left:0; right:0; bottom:max(14px,2.4vh);
  gap:7px; padding:0 22px; justify-content:center;
}
.hrail button{
  flex:0 0 auto; width:50px; height:34px; border-radius:4px;
  background-size:cover; background-position:center;
  opacity:.34; filter:grayscale(.7);
  transition:opacity .35s var(--ease), filter .35s var(--ease), box-shadow .35s var(--ease);
}
.hrail button:hover{ opacity:.75; filter:none }
.hrail button[aria-current="true"]{
  opacity:1; filter:none; box-shadow:0 0 0 1.5px var(--gold);
}

/* 漫画分栏的 5 条 */
.hp .strips{ position:absolute; inset:0; display:none }
.hp .strips i{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  clip-path:inset(calc(var(--i) * 20%) 0 calc(80% - var(--i) * 20%) 0);
  transform:translate3d(0,105%,0);
  will-change:transform;
}

.hp .scrim{
  position:absolute; inset:0; z-index:2;
  background:
    linear-gradient(to top, rgba(6,6,7,.94) 0%, rgba(6,6,7,.36) 38%, rgba(6,6,7,0) 66%),
    linear-gradient(to bottom, rgba(6,6,7,.62) 0%, rgba(6,6,7,0) 26%);
  pointer-events:none;
}

/* ---------- 文案 ---------- */
.hp .cap{
  position:absolute; left:0; right:0; bottom:0; z-index:4;
  padding:0 var(--gut) max(104px,16vh);
  max-width:940px;
}
.hp .cap .c1{
  display:block; margin-bottom:20px;
  opacity:0; transform:translateY(14px);
  transition:opacity .7s var(--ease-out) .45s, transform .7s var(--ease-out) .45s;
}
.hp.live .cap .c1{ opacity:1; transform:none }

/* 逐字浮现 */
.hp .cap .c2 .ch{
  display:inline-block;
  opacity:0; transform:translate3d(0,.55em,0) rotateX(-55deg);
  transform-origin:50% 100%;
  transition:opacity .62s var(--ease-out), transform .62s var(--ease-out);
  transition-delay:calc(var(--i) * 42ms + 240ms);
  will-change:transform, opacity;
}
.hp.live .cap .c2 .ch{ opacity:1; transform:none }

.hp .cap .c3{
  margin-top:18px;
  opacity:0; transform:translateY(14px);
  transition:opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.hp .cap .c4{
  margin-top:28px;
  opacity:0; transform:translateY(14px);
  transition:opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.hp.live .cap .c3{ opacity:1; transform:none; transition-delay:.75s }
.hp.live .cap .c4{ opacity:1; transform:none; transition-delay:.9s }

/* 编号 */
.hp .idx{
  position:absolute; z-index:4;
  right:var(--gut); top:calc(var(--head) + 20px);
  font-size:clamp(46px,7vw,110px); line-height:.85;
  letter-spacing:-.03em;
  color:transparent; -webkit-text-stroke:1px rgba(242,240,236,.22);
  opacity:0; transform:translateY(20px);
  transition:opacity .9s var(--ease-out) .3s, transform .9s var(--ease-out) .3s;
  user-select:none; pointer-events:none;
}
.hp.live .idx{ opacity:1; transform:none }

/* ==========================================================================
   特效 1 · 斜切擦除
   ⚠️ 试过用 clip-path polygon 做，但那四个顶点都从同一点插值，
      出来的是「矩形从角落长大」，不是斜切。
      改用渐变色蒙版 + 动画 mask-position：既有斜角，边缘又是柔的。
   ========================================================================== */
[data-fx="wipe"] .hp .ph-img{
  -webkit-mask-image:linear-gradient(105deg,#000 0%,#000 38%,rgba(0,0,0,0) 62%,rgba(0,0,0,0) 100%);
          mask-image:linear-gradient(105deg,#000 0%,#000 38%,rgba(0,0,0,0) 62%,rgba(0,0,0,0) 100%);
  -webkit-mask-size:300% 100%;      mask-size:300% 100%;
  -webkit-mask-repeat:no-repeat;    mask-repeat:no-repeat;
  -webkit-mask-position:100% 0;     mask-position:100% 0;
  transition:-webkit-mask-position 1.1s cubic-bezier(.55,.02,.25,1),
                     mask-position 1.1s cubic-bezier(.55,.02,.25,1);
}
[data-fx="wipe"] .hp.live .ph-img{
  -webkit-mask-position:0% 0;       mask-position:0% 0;
}
[data-fx="wipe"] .hp.past .ph-img{
  -webkit-mask-position:0% 0;       mask-position:0% 0;
  transform:scale(1.13) translate3d(-1.5%,0,0);
  filter:blur(4px) brightness(.7);
  transition:transform 1.2s var(--ease-out), filter 1.2s var(--ease-out);
}

/* ==========================================================================
   特效 2 · 漫画分栏
   5 条横带从下方依次推上来，拼成完整画面。配合 Cosplay 题材最贴。
   ========================================================================== */
[data-fx="strips"] .ph-img{ opacity:0 }
[data-fx="strips"] .strips{ display:block }
[data-fx="strips"] .hp .strips i{ transition:transform .5s var(--ease) }
[data-fx="strips"] .hp.live .strips i{
  transform:translate3d(0,0,0);
  transition:transform .92s cubic-bezier(.22,.61,.36,1);
  transition-delay:calc(var(--i) * 68ms + 60ms);
}
[data-fx="strips"] .hp.past .strips i{
  transform:translate3d(0,-105%,0);
  transition:transform .8s cubic-bezier(.55,.02,.24,1);
  transition-delay:calc(var(--i) * 42ms);
}

/* ==========================================================================
   特效 3 · 穿越变焦
   旧图冲向镜头（放大 + 重模糊 + 淡出），新图从远处推近
   ========================================================================== */
[data-fx="zoom"] .hp .ph-img{
  transform:scale(1.62);
  filter:blur(16px);
  opacity:0;
  transition:transform 1.25s var(--ease-out), filter 1.25s var(--ease-out), opacity .8s ease;
}
[data-fx="zoom"] .hp.live .ph-img{
  transform:scale(1);
  filter:blur(0);
  opacity:1;
}
[data-fx="zoom"] .hp.past .ph-img{
  transform:scale(2.3);
  filter:blur(22px);
  opacity:0;
  transition:transform 1.15s cubic-bezier(.4,0,.7,.2), filter 1.15s ease, opacity .95s ease;
}

/* ==========================================================================
   HUD
   ========================================================================== */
.hdots{
  position:absolute; z-index:6000; right:max(18px,2.6vw); top:50%;
  transform:translateY(-50%);
  display:flex; flex-direction:column; gap:12px;
}
.hdots button{
  width:26px; height:2px; padding:0;
  background:rgba(242,240,236,.26);
  transition:background .45s var(--ease), width .45s var(--ease);
}
.hdots button[aria-current="true"]{ background:var(--gold); width:44px }

.hbar{
  position:absolute; z-index:6000; left:0; bottom:0; height:2px;
  background:var(--gold); width:0;
}

.hint{
  position:absolute; z-index:6000; left:50%; bottom:30px;
  transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:9px;
  font-size:10px; letter-spacing:.26em; text-transform:uppercase;
  color:var(--ink-faint);
  transition:opacity .6s var(--ease);
}
.hint.gone{ opacity:0 }
.hint i{
  display:block; width:1px; height:32px;
  background:linear-gradient(to bottom, var(--gold), transparent);
  animation:drop 2.2s var(--ease) infinite;
}
@keyframes drop{
  0%{ transform:scaleY(0); transform-origin:top; opacity:0 }
  35%{ transform:scaleY(1); transform-origin:top; opacity:1 }
  70%{ transform:scaleY(1); transform-origin:bottom; opacity:1 }
  100%{ transform:scaleY(0); transform-origin:bottom; opacity:0 }
}

/* ---------- 特效切换器（评审用，正式上线会删） ---------- */
.fxsw{
  position:absolute; z-index:6000;
  right:max(18px,2.6vw); bottom:max(74px,10vh);
  display:flex; flex-direction:column; align-items:flex-end; gap:8px;
}
.fxsw .lab{
  font-size:10px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--ink-faint);
  display:flex; align-items:center; gap:8px;
}
.fxsw .lab b{ color:var(--gold); font-weight:600 }
.fxsw .row{ display:flex; gap:6px; padding:5px; border-radius:99px;
  background:rgba(16,16,18,.72); backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px); border:1px solid var(--line) }
.fxsw button{
  padding:8px 14px; border-radius:99px; font-size:12px;
  color:var(--ink-dim); white-space:nowrap;
  transition:background .3s var(--ease), color .3s var(--ease);
}
.fxsw button:hover{ color:var(--ink) }
.fxsw button[aria-pressed="true"]{ background:var(--ink); color:#0a0a0b; font-weight:600 }

@media (max-width:760px){
  .hdots{ display:none }
  /* 版面和编号已由上面的 900px 规则接管，这里只管特效切换器的位置 */
  .fxsw{ right:14px; bottom:auto; top:calc(var(--head) + 14px); align-items:flex-end }
  .fxsw .row{ flex-direction:column }
  .fxsw button{ padding:7px 12px; font-size:11px }
}

/* ---------- 首屏之后 ---------- */
.after{ position:relative; z-index:2; background:var(--bg) }
.catrow{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(10px,1.3vw,20px) }
@media (max-width:1100px){ .catrow{ grid-template-columns:repeat(3,1fr) } }
@media (max-width:680px){ .catrow{ grid-template-columns:repeat(2,1fr) } }

.quote{ max-width:1000px }
.quote p{ font-size:clamp(21px,3.1vw,38px); line-height:1.5 }
.quote .who{ margin-top:30px; font-size:12px; letter-spacing:.16em; color:var(--ink-faint) }

.cta{
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  padding:clamp(50px,8vh,96px) 0;
  display:grid; grid-template-columns:1.6fr 1fr; gap:44px; align-items:center;
}
@media (max-width:860px){ .cta{ grid-template-columns:1fr; gap:28px } }


/* ==========================================================================
   2.2 页面样式 · works.html
   ========================================================================== */

.phead{
  padding:calc(var(--head) + clamp(60px,11vh,140px)) 0 clamp(40px,6vh,80px);
}
.phead .lead{ max-width:620px; margin-top:22px }

.catblock{ margin-bottom:clamp(60px,10vh,130px) }
.catblock > .hd{
  display:flex; justify-content:space-between; align-items:flex-end;
  flex-wrap:wrap; gap:18px;
  padding-bottom:24px; margin-bottom:clamp(24px,3.4vw,44px);
  border-bottom:1px solid var(--line);
}
.catblock .hd h3{ display:flex; align-items:baseline; gap:14px; flex-wrap:wrap }
.catblock .hd .en{
  font-size:11.5px; letter-spacing:.24em; text-transform:uppercase;
  color:var(--ink-faint);
}
.catblock .hd p{ max-width:440px; font-size:13.5px; color:var(--ink-dim) }


/* ==========================================================================
   2.3 页面样式 · category.html
   ========================================================================== */

/* 栏目头图 */
.chead{
  position:relative; overflow:hidden;
  min-height:clamp(380px,62vh,660px);
  display:flex; align-items:flex-end;
  padding-bottom:clamp(40px,7vh,80px);
}
.chead .ph{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  transform:scale(1.06);
}
.chead .scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(to top, rgba(6,6,7,.95) 0%, rgba(6,6,7,.4) 40%, rgba(6,6,7,.15) 70%, rgba(6,6,7,.5) 100%);
}
.chead .wrap{ position:relative; z-index:2; width:100% }
.chead .en{ font-size:11.5px; letter-spacing:.26em; text-transform:uppercase; color:var(--gold) }
.chead h1{ margin:16px 0 18px }
.chead p{ max-width:600px }

/* 栏目切换条 */
.ctabs{
  display:flex; gap:10px; flex-wrap:wrap;
  padding:26px 0; border-bottom:1px solid var(--line);
  margin-bottom:clamp(36px,5.5vh,72px);
}
.ctabs a{
  padding:9px 19px; border-radius:99px;
  border:1px solid var(--line);
  font-size:13px; color:var(--ink-dim);
  transition:all .35s var(--ease);
}
.ctabs a:hover{ color:var(--ink); border-color:rgba(242,240,236,.4) }
.ctabs a.on{ background:var(--ink); color:#0a0a0b; border-color:var(--ink); font-weight:600 }

/* 照片墙
   这批作品 15 张里 14 张是横向，所以用规整网格而不是瀑布流 ——
   瀑布流的意义在于容纳不同长宽比，这里用不上，反而会让顺序错乱。 */
.pgrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:clamp(12px,1.5vw,22px);
}
.pgrid .item{
  position:relative; overflow:hidden; border-radius:4px;
  display:block; background:var(--bg-2);
  aspect-ratio:3/2;
}
.pgrid .item .ph{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; display:block;
  transition:transform 1.1s var(--ease-out), filter .6s var(--ease);
  filter:saturate(.92);
}
.pgrid .item:hover .ph{ transform:scale(1.05); filter:saturate(1.05) }
.pgrid .item .lab{
  position:absolute; left:0; right:0; bottom:0;
  padding:clamp(14px,1.7vw,24px);
  background:linear-gradient(to top, rgba(6,6,7,.85), transparent);
  opacity:0; transform:translateY(8px);
  transition:opacity .45s var(--ease), transform .45s var(--ease);
}
.pgrid .item:hover .lab{ opacity:1; transform:none }
.pgrid .item .lab .t{ font-size:15px; line-height:1.3 }
.pgrid .item .lab .e{ font-size:11px; color:var(--ink-faint); margin-top:5px; letter-spacing:.08em }

@media (max-width:1100px){ .pgrid{ grid-template-columns:repeat(2,1fr) } }
@media (max-width:620px){ .pgrid{ grid-template-columns:1fr } }


/* ==========================================================================
   2.4 页面样式 · album.html
   ========================================================================== */

/* ==========================================================================
   相册页
   .vbook = 3D 翻书（桌面）
   .vfade = 淡入淡出（手机 / 微信 / 低配，自动降级）
   ========================================================================== */
.ahead{ padding:calc(var(--head) + clamp(40px,7vh,96px)) 0 clamp(22px,3.4vh,40px) }
.ahead .top{ display:flex; justify-content:space-between; align-items:flex-end;
             flex-wrap:wrap; gap:20px }
.ahead h1{ margin:14px 0 12px }
.ahead .meta{ display:flex; gap:20px; flex-wrap:wrap; font-size:12.5px; color:var(--ink-faint) }

.crumb{ font-size:12px; color:var(--ink-faint); letter-spacing:.06em; margin-bottom:16px }
.crumb a:hover{ color:var(--ink) }
.crumb span{ margin:0 9px; opacity:.45 }

/* ---------- 效果标记 ---------- */
.modepill{
  display:inline-flex; align-items:center; gap:9px;
  padding:7px 15px; border-radius:99px;
  border:1px solid var(--line); background:rgba(18,18,20,.6);
  font-size:11.5px; letter-spacing:.08em; color:var(--ink-dim);
}
.modepill .dot{ width:6px; height:6px; border-radius:50%; background:var(--gold) }
.modepill button{
  font-size:11px; color:var(--ink-faint); text-decoration:underline;
  text-underline-offset:3px; margin-left:4px;
}
.modepill button:hover{ color:var(--ink) }

/* ---------- 通用舞台 ---------- */
.stage{
  position:relative;
  /* 和照片一样是 3:2，这样淡入淡出模式也不会裁到照片。
     120vh 这一项保证高度不超过 80vh（宽 = 高 × 1.5）。 */
  max-width:min(100%, 120vh);
  aspect-ratio:3/2;
  margin-inline:auto;
  background:radial-gradient(120% 90% at 50% 0%, #17171a 0%, #0a0a0b 64%);
  border-radius:6px;
  overflow:hidden;
}
/* ==========================================================================
   ⚠️ 手机上不要撑满高度
   这批照片是 3:2 横构图，手机屏幕是竖的。
   舞台如果按 66vh 撑高（约 390×520 竖版），cover 会把横图放大到只剩中间一块。
   改成跟着照片长宽比走（3:2）、高度自动 —— 照片完整显示，细节全在。
   ========================================================================== */
@media (max-width:760px){
  .stage{ height:auto; aspect-ratio:3/2; }
  .vfade .sl .img{ inset:0 }          /* 取消 5% 外扩，照片严丝合缝 */
  .vfade .sl .num{ padding:0 20px 22px }
  .vfade .sl .num .t{ font-size:22px }

  /* 手机上是降级到淡入淡出的，翻书只在强制切换时出现 */
  .stage.vbook{ aspect-ratio:auto; min-height:auto; padding:14px 8px }
  .vbook .book{ width:96vw }
  .vbook .face .num, .vbook .leaf .num{ padding:12px 14px }
  .vbook .face .num .e, .vbook .leaf .num .e{ display:none }
}

/* ---------- 3D 翻书 ----------
   ⚠️ 这批照片是 3:2 横构图。原来的书页是「宽 50% × 高 100%」的竖版，
      再配 background-size:cover —— 横图被放大到只剩 58% 的宽度，
      等于每张只看到中间一块。
      现在整本书做成 3:1（左右两页各 3:2），页形和照片一致，不需要裁。 */
.stage.vbook{
  height:auto;
  aspect-ratio:auto;          /* 盖掉 .stage 的 3/2，书自己按 3:1 走 */
  max-width:none;             /* 书比 120vh 宽，不能让它被截 */
  min-height:min(76vh,760px);
  padding:clamp(24px,4.5vh,60px) clamp(12px,2vw,34px);
  display:grid; place-items:center;
  perspective:2600px;
  perspective-origin:50% 48%;
}
.vbook .book{
  position:relative;
  /* 240vh 保证高度不超过 80vh（宽 = 高 × 3） */
  width:min(1500px,94vw,240vh);
  aspect-ratio:3/1;
  transform-style:preserve-3d;
}

.vbook .leaf{ position:absolute; top:0; height:100%; width:50%;
              background:#0c0c0e; overflow:hidden }
.vbook .leaf.l{ left:0; border-radius:4px 0 0 4px;
  box-shadow:inset -30px 0 44px -30px rgba(0,0,0,.9), -18px 26px 56px rgba(0,0,0,.55) }
.vbook .leaf.r{ left:50%; border-radius:0 4px 4px 0;
  box-shadow:inset 30px 0 44px -30px rgba(0,0,0,.9), 18px 26px 56px rgba(0,0,0,.55) }

.vbook .sheet{
  position:absolute; top:0; left:50%; height:100%; width:50%;
  transform-origin:left center; transform-style:preserve-3d;
  transition:transform 1.05s cubic-bezier(.5,.02,.24,1);
  z-index:40; will-change:transform;
}
.vbook .sheet.turning{ transform:rotateY(-180deg) }

.vbook .face{
  position:absolute; inset:0; overflow:hidden; background:#0c0c0e;
  backface-visibility:hidden; -webkit-backface-visibility:hidden;
  border-radius:0 4px 4px 0;
}
.vbook .face.front{ box-shadow:inset 30px 0 44px -30px rgba(0,0,0,.9) }
.vbook .face.back{ transform:rotateY(180deg); border-radius:4px 0 0 4px;
  box-shadow:inset -30px 0 44px -30px rgba(0,0,0,.9) }

/* 照片一律 contain —— 一张都不裁，四周留出的深色当相纸边 */
.vbook .face .img,
.vbook .leaf .img{
  position:absolute; inset:0;
  background-size:contain; background-repeat:no-repeat; background-position:center;
}

.vbook .face .shade,
.vbook .leaf .shade{
  position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.14) 26%, rgba(0,0,0,0) 48%);
}
.vbook .face .num,
.vbook .leaf .num{ position:absolute; left:0; right:0; bottom:0; padding:20px 26px; z-index:3 }
.vbook .face .num .t,
.vbook .leaf .num .t{ font-size:clamp(15px,1.4vw,20px); line-height:1.3 }
.vbook .face .num .e,
.vbook .leaf .num .e{ font-size:11px; color:var(--ink-faint); margin-top:6px; letter-spacing:.08em }

/* 翻动时靠书脊那一侧压暗，让纸页有体积感 */
.vbook .sheet .face.front::before{
  content:""; position:absolute; inset:0; z-index:4; pointer-events:none;
  background:linear-gradient(to right, rgba(0,0,0,.52) 0%, rgba(0,0,0,0) 28%);
  transition:opacity 1.05s linear;
}
.vbook .sheet.turning .face.front::before{ opacity:0 }

/* 封面 / 空白页（奇数张时的最后一页） */
.vbook .is-blank{ background:radial-gradient(120% 120% at 50% 40%, #1a1a20 0%, #0c0c0e 72%) }
.vbook .is-blank .num{ top:0; bottom:auto; height:100%;
  display:grid; align-content:center; justify-items:center; text-align:center }
.vbook .is-blank .num .t{ font-size:clamp(18px,1.9vw,26px) }

/* ---------- 淡入淡出 ---------- */
.vfade{ position:relative }
.vfade .sl{ position:absolute; inset:0; opacity:0;
            transition:opacity 1.35s var(--ease); pointer-events:none }
.vfade .sl.on{ opacity:1 }
.vfade .sl .img{
  position:absolute; inset:-5%; background-size:cover; background-position:center;
  transform:scale(1.14); transition:transform 9s linear;
}
.vfade .sl.on .img{ transform:scale(1) }
.vfade .sl .shade{
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(6,6,7,.88) 0%, rgba(6,6,7,.2) 40%, rgba(6,6,7,0) 66%);
}
.vfade .sl .num{
  position:absolute; left:0; right:0; bottom:0; z-index:3;
  padding:0 var(--gut) clamp(70px,11vh,110px);
}
.vfade .sl .num .t{ font-size:clamp(24px,4.4vw,48px); line-height:1.15 }
.vfade .sl .num .e{ font-size:12px; color:var(--ink-faint); margin-top:11px; letter-spacing:.1em }
.vfade .sl .num .n{ font-size:11px; letter-spacing:.2em; color:var(--gold); display:block; margin-bottom:13px }
.vfade .sl { cursor:pointer }

/* ---------- HUD ---------- */
.hud{
  display:flex; align-items:center; justify-content:center; gap:18px;
  padding:22px 0 0;
}
.hud .nav{
  width:38px; height:38px; border-radius:50%;
  border:1px solid var(--line); color:var(--ink-dim);
  display:grid; place-items:center; font-size:15px;
  transition:all .3s var(--ease);
}
.hud .nav:hover{ color:var(--ink); border-color:var(--ink) }
.hud .nav:disabled{ opacity:.25; cursor:default }
.hud .nav:disabled:hover{ color:var(--ink-dim); border-color:var(--line) }
.hud .cnt{ font-size:12.5px; letter-spacing:.14em; color:var(--ink-dim);
           font-variant-numeric:tabular-nums; min-width:74px; text-align:center }
.hud .cnt b{ color:var(--ink); font-weight:400 }

/* ---------- 缩略图条 ---------- */
.strip{
  display:flex; gap:9px; padding:20px 0 0;
  overflow-x:auto; scrollbar-width:none;
}
.strip::-webkit-scrollbar{ display:none }
.strip button{
  flex:0 0 auto; width:74px; height:52px; border-radius:5px;
  background-size:cover; background-position:center;
  opacity:.4; filter:grayscale(.55);
  transition:opacity .35s, filter .35s, transform .35s, box-shadow .35s;
}
.strip button:hover{ opacity:.85; filter:none }
.strip button[aria-current="true"]{
  opacity:1; filter:none; box-shadow:0 0 0 2px var(--gold);
}

/* ---------- 相册信息 ---------- */
.ainfo{
  display:grid; grid-template-columns:1.5fr 1fr; gap:clamp(30px,5vw,80px);
  padding-top:clamp(40px,6vh,80px);
}
@media (max-width:860px){ .ainfo{ grid-template-columns:1fr } }
.kv{ display:flex; flex-direction:column; gap:0 }
.kv .row{ display:flex; justify-content:space-between; gap:20px;
          padding:15px 0; border-bottom:1px solid var(--line-2); font-size:13.5px }
.kv .row .k{ color:var(--ink-faint) }
.kv .row .v{ text-align:right }

/* 更多相册 */
.more{ margin-top:clamp(50px,8vh,100px) }


/* ==========================================================================
   2.5 页面样式 · services.html
   ========================================================================== */

/* 这一页暂时只做占位。内容等约拍服务开放后再填回来。 */
.hold{
  min-height:calc(100vh - var(--head));
  display:flex; align-items:center;
  padding:calc(var(--head) + 40px) 0 clamp(80px,14vh,160px);
}
.hold .in{ max-width:640px }
.hold .mark{
  width:44px; height:1px; background:var(--gold);
  margin-bottom:clamp(30px,5vh,52px);
}
.hold h1{ margin-bottom:26px }
.hold .msg{
  font-size:clamp(15px,1.5vw,18px); line-height:1.95; color:var(--ink-dim);
}
.hold .msg p{ margin-bottom:16px }
.hold .msg p:last-child{ margin-bottom:0 }
.hold .act{ margin-top:clamp(34px,5vh,54px); display:flex; gap:12px; flex-wrap:wrap }


/* ==========================================================================
   2.6 页面样式 · about.html
   ========================================================================== */

/* 这一页暂时只做占位。真实的自我介绍等你想好再填。 */
.hold{
  min-height:calc(100vh - var(--head));
  display:flex; align-items:center;
  padding:calc(var(--head) + 40px) 0 clamp(80px,14vh,160px);
}
.hold .in{ max-width:640px }
.hold .mark{ width:44px; height:1px; background:var(--gold); margin-bottom:clamp(30px,5vh,52px) }
.hold h1{ margin-bottom:26px }
.hold .msg{ font-size:clamp(15px,1.5vw,18px); line-height:1.95; color:var(--ink-dim) }
.hold .msg p{ margin-bottom:16px }
.hold .msg p:last-child{ margin-bottom:0 }
.hold .act{ margin-top:clamp(34px,5vh,54px); display:flex; gap:12px; flex-wrap:wrap }


/* ==========================================================================
   3. 主题专用（原型里没有的部分）
   ========================================================================== */

/* 相册页的兜底清单 --------------------------------------------------------
   PHP 把照片渲染成一个 <ul id="albumRaw">：
     · 搜索引擎能看到图片和 alt（SEO）
     · JS 没加载 / 加载失败时，访客仍然看得到全部照片
   album.js 接管舞台后会把这个 ul 删掉，下面这条 :has() 规则自然失效，
   .stage 回到正常的「一屏观看区」。 */
.stage:has(.zlh-raw){
	aspect-ratio:auto;
	max-width:none;
	min-height:auto;
	padding:clamp(16px,2vw,26px);
}
.zlh-raw{
	list-style:none; margin:0; padding:0; width:100%;
	display:grid;
	grid-template-columns:repeat(auto-fill, minmax(170px, 1fr));
	gap:clamp(10px,1.2vw,16px);
}
.zlh-raw li{ position:relative; background:var(--bg-2); border-radius:4px; overflow:hidden }
.zlh-raw img{ width:100%; aspect-ratio:3/2; object-fit:cover; display:block }
.zlh-raw span{
	position:absolute; left:0; right:0; bottom:0;
	padding:9px 11px; font-size:12px; line-height:1.3;
	background:linear-gradient(to top, rgba(6,6,7,.92), transparent);
}

/* 说明为空时不要留一条空白 */
.vbook .num .e:empty{ display:none }

/* WordPress 工具栏的让位规则 ----------------------------------------------
   主题的固定头部在 top:0，而 WP 工具栏也在 top:0，会叠在一起。
   代码里已经用 show_admin_bar(false) 关掉了前台工具栏，
   但下面这两条留着做保险 —— 比如以后你在「用户 → 个人资料」里
   勾了「显示工具栏」，或者用了会在前台显示工具栏的插件。 */
body.admin-bar .site-head{ top:32px }
@media screen and (max-width:782px){
	body.admin-bar .site-head{ top:46px }
}
