/* ============================================================
   徐子墨 · 摄制部面试作品集
   gallery-noir : 深黑底 × 琥珀金 · 画册式翻页
   ============================================================ */

:root {
  --bg: #0a0908;
  --bg-soft: #141210;
  --ink: #efe8da;
  --dim: rgba(239, 232, 218, 0.55);
  --faint: rgba(239, 232, 218, 0.28);
  --gold: #d2a968;
  --gold-hi: #e8c88a;
  --line: rgba(210, 169, 104, 0.28);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

::selection { background: rgba(210, 169, 104, 0.35); }

/* ---------- 顶部进度条 / 页码 ---------- */
#progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  z-index: 30; transition: width 0.5s var(--ease);
  box-shadow: 0 0 8px rgba(210, 169, 104, 0.5);
}
#counter {
  position: fixed; top: 14px; right: 18px; z-index: 30;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em;
  color: var(--dim); pointer-events: none;
}
#counter b { color: var(--gold); font-weight: 500; }

/* ---------- 底部胶片刻度 ---------- */
#filmstrip {
  position: fixed; left: 0; right: 0; bottom: 0; height: 22px; z-index: 20;
  pointer-events: none; opacity: 0.35;
  background:
    repeating-linear-gradient(90deg,
      transparent 0 14px, rgba(210,169,104,0.5) 14px 20px, transparent 20px 34px);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 45%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0, #000 45%, transparent 100%);
}

/* ---------- 操作提示 ---------- */
#hint {
  position: fixed; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 30; font-size: 12px; letter-spacing: 0.08em; color: var(--dim);
  background: rgba(10, 9, 8, 0.55); border: 1px solid var(--line);
  padding: 7px 16px; border-radius: 999px; backdrop-filter: blur(8px);
  transition: opacity 0.8s; white-space: nowrap; pointer-events: none;
}
#hint b { color: var(--gold); font-weight: 600; }
#hint.hide { opacity: 0; }

/* ============================================================
   翻页舞台
   ============================================================ */
#deck { position: fixed; inset: 0; z-index: 1; }

.page {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: scale(0.985);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0s linear 0.55s;
}
.page.active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  z-index: 5;
}

/* ============================================================
   封面
   ============================================================ */
.page-cover { overflow: hidden; }
.cover-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  transform: scale(1.06);
  animation: coverDrift 14s var(--ease) both;
}
.page-cover::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(200deg, rgba(10,9,8,0.05) 30%, rgba(10,9,8,0.82) 78%, rgba(10,9,8,0.95) 100%),
    radial-gradient(120% 90% at 50% 10%, transparent 40%, rgba(10,9,8,0.5) 100%);
}
.cover-text {
  position: absolute; left: clamp(24px, 7vw, 96px); bottom: clamp(64px, 12vh, 120px);
  z-index: 2; max-width: min(86vw, 720px);
}
.cover-tag {
  font-family: var(--mono); font-size: clamp(10px, 1.4vw, 13px);
  letter-spacing: 0.42em; color: var(--gold-hi); text-transform: uppercase;
  margin-bottom: 18px; display: flex; align-items: center; gap: 14px;
}
.cover-tag::before { content: ""; width: 42px; height: 1px; background: var(--gold); }
.cover-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(34px, 6.4vw, 76px); line-height: 1.18; letter-spacing: 0.06em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.55);
}
.cover-sub {
  margin-top: 20px; font-size: clamp(13px, 1.8vw, 17px);
  color: var(--ink); letter-spacing: 0.28em; opacity: 0.92;
}
.cover-meta {
  margin-top: 14px; font-family: var(--mono);
  font-size: clamp(10px, 1.4vw, 12.5px); letter-spacing: 0.18em; color: var(--dim);
}
.cover-text > * { opacity: 0; transform: translateY(26px); animation: riseIn 1s var(--ease) forwards; }
.cover-text .cover-tag { animation-delay: 0.25s; }
.cover-text .cover-title { animation-delay: 0.45s; }
.cover-text .cover-sub { animation-delay: 0.7s; }
.cover-text .cover-meta { animation-delay: 0.9s; }

/* ============================================================
   关于我
   ============================================================ */
.page-about {
  background:
    radial-gradient(90% 70% at 78% 12%, rgba(210,169,104,0.08), transparent 60%),
    var(--bg);
}
/* 左侧形象照：贴左边缘全高，mask 渐隐融入背景 */
.about-photo {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: clamp(230px, 29vw, 440px);
  overflow: hidden; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 52%, rgba(0,0,0,0.5) 80%, transparent 99%);
  mask-image: linear-gradient(90deg, #000 0%, #000 52%, rgba(0,0,0,0.5) 80%, transparent 99%);
}
.about-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
  transform: scale(1.04);
  animation: photoBreath 16s var(--ease) infinite alternate;
}
@keyframes photoBreath { from { transform: scale(1.04) translateY(0); } to { transform: scale(1.1) translateY(-1.2%); } }
.about-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,11,10,0.38) 0%, rgba(12,11,10,0) 24%, rgba(12,11,10,0) 66%, rgba(12,11,10,0.55) 100%);
}
.about-wrap {
  position: relative; z-index: 2;
  width: 100%; max-width: none; height: 100dvh; max-height: none;
  overflow: hidden auto; padding: 0 0; scrollbar-width: none;
  touch-action: pan-y;
  padding: clamp(14px, 3vh, 36px) clamp(22px, 4.5vw, 64px) clamp(14px, 3vh, 36px) calc(clamp(230px, 29vw, 440px) + clamp(22px, 3.5vw, 56px));
  display: flex; flex-direction: column; justify-content: center;
}
.vcg-row {
  display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.5vw, 24px);
  margin: 14px 0 2px; padding: 10px clamp(12px, 2.5vw, 22px);
  border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(150deg, rgba(210,169,104,0.07), rgba(255,255,255,0.015));
}
.vcg-card {
  margin: 0; flex: 0 0 auto; height: clamp(96px, 15vh, 148px); border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(0,0,0,0.45);
}
.vcg-card img {
  height: 100%; width: auto; display: block;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.vcg-card { position: relative; }
.vcg-card:hover { overflow: visible; z-index: 9; }
.vcg-card:hover img { transform: scale(1.85); transform-origin: center 62%; box-shadow: 0 18px 60px rgba(0,0,0,0.6); border-radius: 6px; }
.vcg-note { text-align: left; display: flex; flex-direction: column; gap: 6px; }
.vcg-note b { font-family: var(--serif); font-size: clamp(14px, 2vw, 18px); letter-spacing: 0.12em; color: var(--ink); }
.vcg-note span { font-size: clamp(11.5px, 1.5vw, 13px); color: var(--dim); letter-spacing: 0.14em; display: flex; align-items: center; gap: 10px; }
.vcg-note span i { width: 3px; height: 3px; background: var(--gold); border-radius: 50%; }
.about-wrap::-webkit-scrollbar { display: none; }
.about-kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.4em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 14px;
  display: flex; align-items: center; gap: 14px;
}
.about-kicker::after { content: ""; flex: 0 0 60px; height: 1px; background: var(--line); }
.about-name {
  font-family: var(--serif); font-size: clamp(30px, 5vw, 54px);
  letter-spacing: 0.12em; font-weight: 600;
}
.about-name em { font-style: normal; color: var(--gold); }
.about-bio {
  margin: 12px 0 16px; max-width: 720px;
  font-size: clamp(13.5px, 1.6vw, 15.5px); line-height: 1.85; color: var(--dim);
}
.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about-card {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px 11px; background: rgba(255,255,255,0.016);
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.about-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.about-card .role {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 7px;
}
.about-card .val { font-size: clamp(13.5px, 1.6vw, 15.5px); line-height: 1.55; }
.about-card .val small { display: block; color: var(--dim); font-size: 12px; margin-top: 3px; }
.about-award {
  margin-top: 14px; width: fit-content;
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid rgba(210,169,104,0.35); border-radius: 999px;
  padding: 8px 22px;
  background: linear-gradient(150deg, rgba(210,169,104,0.13), rgba(210,169,104,0.03));
  font-size: clamp(12.5px, 1.5vw, 14px); letter-spacing: 0.18em; color: var(--ink);
}
.about-award::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 10px rgba(210,169,104,0.8); }
.about-award b { font-family: var(--mono); color: var(--gold-hi); font-weight: 600; }
.about-award i { font-style: normal; color: var(--gold-hi); font-weight: 600; }
.about-stats {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(210,169,104,0.14);
  display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 34px); align-items: baseline;
}
.about-stats .stat b {
  font-family: var(--serif); font-size: clamp(21px, 3vw, 34px);
  color: var(--gold-hi); font-weight: 600; letter-spacing: 0.04em;
}
.about-stats .stat span {
  display: block; margin-top: 3px; font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.24em; color: var(--dim); text-transform: uppercase;
}
.about-media {
  margin-top: 13px; font-size: 12px; letter-spacing: 0.14em; color: var(--dim);
}
.about-media b { color: var(--ink); font-weight: 500; }
.about-media i { font-style: normal; color: var(--gold); margin: 0 8px; }

/* ============================================================
   章节扉页
   ============================================================ */
.page-divider { overflow: hidden; }
.div-bg {
  position: absolute; inset: -30px;
  background-size: cover; background-position: center;
  filter: blur(46px) brightness(0.3) saturate(1.15);
  transform: scale(1.2);
}
.div-veil { position: absolute; inset: 0; background: radial-gradient(85% 70% at 30% 45%, rgba(10,9,8,0.25), rgba(10,9,8,0.88) 90%); }
.div-content { position: relative; z-index: 2; padding: 0 clamp(28px, 9vw, 120px); width: 100%; }
.div-no {
  font-family: var(--mono); font-size: clamp(84px, 17vw, 190px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(210,169,104,0.4);
  letter-spacing: 0.04em; user-select: none;
}
.div-name {
  margin-top: 6px; font-family: var(--serif); font-weight: 600;
  font-size: clamp(38px, 7vw, 84px); letter-spacing: 0.18em;
}
.div-en {
  margin-top: 14px; font-family: var(--mono); font-size: clamp(11px, 1.6vw, 14px);
  letter-spacing: 0.52em; color: var(--gold); text-transform: uppercase;
  display: flex; align-items: center; gap: 16px;
}
.div-en::after { content: ""; flex: 0 1 90px; height: 1px; background: var(--gold); opacity: 0.6; }
.div-count {
  margin-top: 22px; font-family: var(--mono); font-size: 12.5px;
  letter-spacing: 0.2em; color: var(--dim);
}
.page-divider .div-content > * { opacity: 0; transform: translateY(30px); animation: riseIn 0.9s var(--ease) forwards; }
.page-divider .div-content .div-no { animation-delay: 0.1s; }
.page-divider .div-content .div-name { animation-delay: 0.28s; }
.page-divider .div-content .div-en { animation-delay: 0.46s; }
.page-divider .div-content .div-count { animation-delay: 0.62s; }

/* ============================================================
   照片页 —— 完整显示 + 模糊衬底
   ============================================================ */
.page-photo { overflow: hidden; }
.ph-bg {
  position: absolute; inset: -40px;
  background-size: cover; background-position: center;
  filter: blur(52px) brightness(0.34) saturate(1.12);
  transform: scale(1.16);
  opacity: 0; transition: opacity 1s var(--ease) 0.12s;
}
.page-photo.active .ph-bg { opacity: 1; }
.ph-veil { position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 45%, transparent 55%, rgba(10,9,8,0.55) 100%); }

.ph-frame {
  position: relative; display: flex; align-items: center; justify-content: center;
  max-width: 94vw; max-height: calc(100dvh - 96px);
}
.ph-frame img {
  display: block; max-width: 94vw; max-height: calc(100dvh - 96px);
  width: auto; height: auto; object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 4px 18px rgba(0,0,0,0.5);
}
.page-photo.active .ph-frame img { animation: focusIn 0.95s var(--ease) both; }

/* 取景框角标 (左上 / 右下) */
.ph-frame::before, .ph-frame::after {
  content: ""; position: absolute; width: 26px; height: 26px; pointer-events: none;
  border-color: rgba(232, 200, 138, 0.85); border-style: solid; opacity: 0;
  transition: opacity 0.7s 0.35s;
}
.ph-frame::before { top: -9px; left: -9px; border-width: 1.5px 0 0 1.5px; }
.ph-frame::after { bottom: -9px; right: -9px; border-width: 0 1.5px 1.5px 0; }
.page-photo.active .ph-frame::before,
.page-photo.active .ph-frame::after { opacity: 1; }

/* ============================================================
   视频页
   ============================================================ */
.page-video { background: radial-gradient(100% 80% at 50% 0%, #131009 0%, var(--bg) 60%); }
.v-wrap {
  width: min(92vw, calc((100dvh - 250px) * 16 / 9));
  display: flex; flex-direction: column; gap: 16px;
}
.v-no {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.4em;
  color: var(--gold); text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
}
.v-no::after { content: ""; flex: 0 0 46px; height: 1px; background: var(--line); }
.v-title { margin-top: 8px; font-family: var(--serif); font-size: clamp(20px, 3.4vw, 34px); letter-spacing: 0.1em; font-weight: 600; }
.v-desc { margin-top: 6px; font-size: clamp(12px, 1.7vw, 14.5px); color: var(--dim); letter-spacing: 0.1em; }
.v-player {
  position: relative; width: 100%; aspect-ratio: 16 / 9; margin-top: 14px;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: #000; box-shadow: 0 22px 70px rgba(0,0,0,0.55);
}
.v-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.v-play {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
  background: linear-gradient(160deg, #17130c, #0c0a07); color: var(--ink);
}
.v-play .ring {
  width: clamp(56px, 9vw, 84px); height: clamp(56px, 9vw, 84px); border-radius: 50%;
  border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center;
  animation: ringPulse 2.2s var(--ease) infinite;
}
@keyframes ringPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: 0.75; } }
.v-play .ring::before {
  content: ""; margin-left: 5px;
  border-left: 16px solid var(--gold); border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
.v-play-t { font-size: clamp(13px, 1.8vw, 15px); letter-spacing: 0.22em; color: var(--ink); }
.v-bvid { font-family: var(--mono); font-size: 11px; letter-spacing: 0.26em; color: var(--dim); }
.v-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.v-link {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  color: var(--gold-hi); text-decoration: none; border-bottom: 1px solid var(--line);
  padding-bottom: 3px; transition: color 0.3s, border-color 0.3s;
}
.v-link:hover { color: #fff; border-color: #fff; }
.v-tip { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--faint); }

/* ============================================================
   结尾页
   ============================================================ */
.page-end .div-bg { filter: blur(40px) brightness(0.38) saturate(1.2); }
.end-content { position: relative; z-index: 2; text-align: center; }
.end-cn { font-family: var(--serif); font-size: clamp(36px, 7vw, 80px); letter-spacing: 0.3em; font-weight: 600; text-indent: 0.3em; }
.end-en { margin-top: 16px; font-family: var(--mono); font-size: clamp(10px, 1.5vw, 13px); letter-spacing: 0.5em; color: var(--gold); text-transform: uppercase; }
.end-line { margin: 26px auto 0; width: 64px; height: 1px; background: var(--gold); opacity: 0.7; }
.end-sub { margin-top: 26px; font-size: clamp(13px, 1.9vw, 16px); color: var(--dim); letter-spacing: 0.18em; line-height: 2; }
.end-bili {
  display: inline-block; margin-top: 30px; font-family: var(--mono);
  font-size: 12.5px; letter-spacing: 0.16em; color: var(--gold-hi);
  text-decoration: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 26px; transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.end-bili:hover { border-color: var(--gold); background: rgba(210,169,104,0.08); }
.page-end .end-content > * { opacity: 0; transform: translateY(24px); animation: riseIn 0.9s var(--ease) forwards; }
.page-end .end-content .end-cn { animation-delay: 0.15s; }
.page-end .end-content .end-en { animation-delay: 0.35s; }
.page-end .end-content .end-line { animation-delay: 0.5s; }
.page-end .end-content .end-sub { animation-delay: 0.62s; }
.page-end .end-content .end-bili { animation-delay: 0.78s; }

/* ============================================================
   概览模式
   ============================================================ */
#overview {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(8, 7, 6, 0.92); backdrop-filter: blur(14px);
  display: flex; flex-direction: column;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
#overview[hidden] { display: none; }
#overview.show { opacity: 1; }
#ov-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(18px, 4vw, 40px); flex: 0 0 auto;
}
#ov-head span { font-family: var(--serif); font-size: 18px; letter-spacing: 0.2em; }
#ov-head em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.4em; color: var(--gold); margin-left: 12px; }
#ov-close {
  background: none; border: 1px solid var(--line); color: var(--ink);
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 15px;
  transition: border-color 0.3s, transform 0.3s;
}
#ov-close:hover { border-color: var(--gold); transform: rotate(90deg); }
#ov-grid {
  flex: 1 1 auto; overflow-y: auto; padding: 0 clamp(18px, 4vw, 40px) 40px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px;
  align-content: start;
}
.ov-item {
  position: relative; aspect-ratio: 1; border: 1px solid rgba(210,169,104,0.14);
  border-radius: 6px; overflow: hidden; cursor: pointer; padding: 0; background: var(--bg-soft);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.ov-item img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.85; transition: opacity 0.3s, transform 0.5s var(--ease); }
.ov-item:hover { border-color: var(--gold); transform: translateY(-2px); }
.ov-item:hover img { opacity: 1; transform: scale(1.05); }
.ov-item .n {
  position: absolute; left: 6px; bottom: 5px; font-family: var(--mono);
  font-size: 9.5px; letter-spacing: 0.1em; color: rgba(239,232,218,0.9);
  text-shadow: 0 1px 4px #000;
}
.ov-item.ov-video {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 12px; text-align: left; background: linear-gradient(160deg, #16120b, #0c0a07);
}
.ov-item.ov-video .vt { font-size: 12.5px; line-height: 1.5; color: var(--ink); letter-spacing: 0.04em; }
.ov-item.ov-video .vb { margin-top: 6px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.24em; color: var(--gold); }

/* ============================================================
   动画 keyframes
   ============================================================ */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes focusIn {
  from { opacity: 0; filter: blur(16px); transform: scale(1.035); }
  to   { opacity: 1; filter: blur(0); transform: scale(1); }
}
@keyframes coverDrift {
  from { transform: scale(1.12); }
  to   { transform: scale(1.04); }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 760px) {
  .ph-frame, .ph-frame img { max-height: calc(100dvh - 128px); }
  .about-photo { width: 100%; height: 34vh; bottom: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 46%, rgba(0,0,0,0.45) 74%, transparent 98%);
    mask-image: linear-gradient(180deg, #000 0%, #000 46%, rgba(0,0,0,0.45) 74%, transparent 98%);
  }
  .about-photo img { object-position: center 24%; }
  .about-photo::after {
    background: linear-gradient(90deg, rgba(12,11,10,0.28), rgba(12,11,10,0) 36%, rgba(12,11,10,0) 64%, rgba(12,11,10,0.28) 100%);
  }
  .about-wrap {
    height: 100dvh; justify-content: flex-start;
    padding: calc(34vh - 72px) clamp(20px, 5vw, 40px) 18px;
  }
  .about-cards { grid-template-columns: 1fr; gap: 8px; }
  .about-stats { gap: 18px; }
  .vcg-row { flex-direction: column; gap: 10px; padding: 12px; }
  .vcg-note { text-align: center; align-items: center; }
  #ov-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
  .v-wrap { width: 94vw; }
  .v-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  #counter { font-size: 11px; top: 12px; right: 14px; }
  #hint { font-size: 11px; padding: 6px 13px; bottom: 30px; }
}
@media (max-height: 480px) {
  .ph-frame, .ph-frame img { max-height: calc(100dvh - 72px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .page { transition: opacity 0.25s; }
}
