/* ============ 倾酒宣发站 · 写真集 · 豪放拼贴 ============ */
@font-face {
  font-family: "Smiley Sans";
  src: url("../fonts/SmileySans-Oblique.woff2") format("woff2");
  font-display: swap;
}

:root {
  --cream: #FFFBF2;
  --cream-2: #FFF4DC;
  --bg-word: #F5EBD2;
  --yellow: #FAC775;
  --blue: #B5D4F4;
  --red: #E24B4A;
  --ink: #2C2C2A;
  --ink-2: #6B665E;
  --ink-3: #A8A29A;
  --font-display: "Smiley Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-hand: "LXGW WenKai", "Kaiti SC", "KaiTi", "STKaiti", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* 注意：不要用 CSS scroll-behavior:smooth —— 会让 ScrollTrigger 测出错误的触发点 */
html { scroll-behavior: auto; }
html, body { overflow-x: clip; }   /* clip 不是 hidden：不会毁掉 sticky */
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-display);
}
.hand { font-family: var(--font-hand); }
img { user-select: none; }
section { position: relative; overflow: hidden; scroll-margin-top: 60px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.nav.scrolled {
  background: rgba(255, 251, 242, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(44, 44, 42, 0.06);
}
.logo { font-size: 16px; letter-spacing: 2px; }
.logo em { font-style: normal; color: var(--ink-3); font-size: 12px; letter-spacing: 4px; }
.links { display: flex; gap: 22px; }
.links a {
  color: var(--ink-2); text-decoration: none; font-size: 13px; letter-spacing: 2px;
  transition: color 0.15s ease;
}
.links a:hover { color: var(--red); }
.links a.on { color: var(--red); }

/* ---------- 通用元件 ---------- */
.bg-text {
  position: absolute; z-index: 0;
  color: var(--bg-word);
  font-size: 34vh; line-height: 0.9; letter-spacing: 2vh;
  user-select: none; pointer-events: none;
  writing-mode: vertical-rl;
}
.ver-tag {
  position: absolute; z-index: 5;
  font-size: 12px; letter-spacing: 4px; color: var(--ink-3);
}
.ph {
  position: absolute; z-index: 2;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(44, 44, 42, 0.13);
  cursor: zoom-in;
  transition: transform 0.3s ease;
}
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 2px; }
.ph:hover { z-index: 9; }
.tape { position: absolute; width: 72px; height: 20px; top: -12px; left: 50%; margin-left: -36px; }
.tape-y { background: var(--yellow); transform: rotate(-4deg); }
.tape-b { background: var(--blue); transform: rotate(3deg); }
.cap { color: var(--ink-2); font-size: 16px; }

/* ---------- 封面 ---------- */
.cover {
  position: relative;
  height: 100vh; min-height: 600px;
  overflow: hidden;
}
.cover-img {
  position: absolute; top: 0; bottom: 0; right: -5%;
  width: 64%; z-index: 1;
}
.cover-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 18%;
  display: block;
  animation: kenburns 16s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.07) translate(-1.2%, 1%); }
}
.cover-name {
  position: absolute; z-index: 3;
  left: 3vw; top: 16vh;
  font-size: 30vh; line-height: 0.98; letter-spacing: 1vh;
  font-weight: 500;
}
.cover-name .ch {
  display: block;
  color: var(--ink);
  -webkit-text-stroke: 4px var(--cream);
  paint-order: stroke fill;
}
.cover-lose {
  position: absolute; z-index: 3;
  right: 2.2vw; top: 14vh;
  display: flex; flex-direction: column; gap: 1.2vh;
  font-size: 3.4vh; letter-spacing: 0;
  color: var(--cream);
  text-shadow: 0 1px 8px rgba(44, 44, 42, 0.35);
}
.cover-meta {
  position: absolute; z-index: 3;
  left: 4vw; bottom: 8vh;
}
.red-bar { display: block; width: 64px; height: 4px; background: var(--red); border-radius: 2px; }
.cover-meta .date {
  margin-top: 12px;
  color: var(--red); font-size: 22px; letter-spacing: 8px; font-weight: 500;
}
.cover-quote { margin-top: 12px; font-size: 19px; color: var(--ink-2); }
.cover-note { margin-top: 8px; font-size: 12px; letter-spacing: 3px; color: var(--ink-3); }
.cover-scroll {
  position: absolute; z-index: 3;
  right: 3vw; bottom: 5vh;
  font-size: 12px; letter-spacing: 3px; color: var(--ink-2);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.cover-scroll i {
  width: 1px; height: 42px; background: var(--ink-2);
  animation: drip 1.6s ease-in-out infinite;
  transform-origin: top;
}
@keyframes drip {
  0% { transform: scaleY(0); } 45% { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- 定妆 ---------- */
.concept { height: 185vh; min-height: 1250px; }
.concept .bg-text { right: 2vw; top: 6vh; }
.concept .ver-tag { left: 4vw; top: 10vh; }
.ph-standing {
  left: 4vw; top: 16vh;
  width: 26vw; height: 90vh;
  transform: rotate(-1.6deg);
  z-index: 3;
}
.ph-views {
  left: 32vw; top: 18vh;
  width: 50vw; height: 32vh;
  transform: rotate(1.1deg);
  z-index: 4;
}
.ph-views img { object-fit: contain; background: #fff; }
.ph-studio { width: 20vw; height: 48vh; }
.s-ponytail { left: 61vw; top: 50vh; width: 23vw; height: 52vh; transform: rotate(-2.4deg); z-index: 6; }
.s-vest { left: 3vw; top: 124vh; transform: rotate(-1.8deg); z-index: 5; }
.s-cardigan { left: 26vw; top: 132vh; transform: rotate(1.4deg); z-index: 6; }
.s-books { left: 49vw; top: 120vh; transform: rotate(2deg); z-index: 7; }
.cap-concept { position: absolute; left: 4vw; bottom: 4vh; z-index: 8; transform: rotate(-1deg); }

/* ---------- 日常 · sticky 双向对流画廊 ---------- */
/* 关键：daily 自身不能有 overflow:hidden，否则 sticky 子元素失效 */
.daily { height: 490vh; overflow: visible; }  /* 高度初值，JS 会按行程精确设置 */
.daily-view {
  position: sticky; top: 0;
  height: 100vh; overflow: hidden;
}
.bg-daily { right: 1vw; top: 8vh; font-size: 30vh; }
.ver-daily { left: 4vw; top: 4vh; }

.row {
  position: absolute; left: 0;
  display: flex; gap: 3vw;
  width: max-content;
  will-change: transform;
}
.row-1 { top: 11vh; transform: rotate(-3.6deg); z-index: 2; }
.row-2 { top: 58vh; transform: rotate(3deg); z-index: 4; }
.row-1 .shot img { height: 41vh; }
.row-2 .shot img { height: 36vh; }

.shot { position: relative; flex: none; }
.shot img {
  display: block; width: auto;
  border: 10px solid #fff; border-radius: 5px;
  box-shadow: 0 12px 32px rgba(44, 44, 42, 0.15);
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shot:hover img {
  transform: scale(1.04) rotate(1deg);
  box-shadow: 0 20px 48px rgba(44, 44, 42, 0.26);
}
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: -28px;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 13px; color: var(--ink-2);
  opacity: 0; transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.shot:hover figcaption { opacity: 1; transform: none; }

.eyes {
  position: absolute; z-index: 3;
  left: 26vw; top: 30vh;
  width: 48vw;
  transform: rotate(-2.5deg);
  border: 10px solid #fff; border-radius: 6px;
  box-shadow: 0 16px 44px rgba(44, 44, 42, 0.2);
  cursor: zoom-in;
  will-change: transform;
}
.eyes img { width: 100%; display: block; border-radius: 2px; }
.seal {
  position: absolute; right: -18px; top: -22px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; transform: rotate(-10deg);
  box-shadow: 0 4px 12px rgba(226, 75, 74, 0.4);
}

.ph-pola { z-index: 6; border-width: 9px; }
.pola-1 { right: 3vw; top: 3vh; width: 12vw; height: 21vh; transform: rotate(2.4deg); }
.pola-2 { left: 2.5vw; top: 72vh; width: 14vw; height: 19vh; transform: rotate(-2.8deg); }
.cap-daily {
  position: absolute; left: 3.5vw; bottom: 2.4vh; z-index: 7;
  background: rgba(255, 251, 242, 0.88);
  backdrop-filter: blur(4px);
  border-radius: 99px; padding: 5px 14px;
}
.daily-hint {
  position: absolute; right: 3.5vw; bottom: 2.4vh; z-index: 7;
  font-size: 12px; color: var(--ink-2);
  background: rgba(255, 251, 242, 0.88);
  backdrop-filter: blur(4px);
  border-radius: 99px; padding: 5px 14px;
}
.daily-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: #F3EDE0; z-index: 8;
}
.daily-progress i {
  display: block; height: 100%; width: 100%;
  background: var(--red);
  transform: scaleX(0); transform-origin: left center;
}

/* ---------- 氛围 ---------- */
.mood { height: 160vh; min-height: 1050px; }
.mood .bg-text { left: 2vw; top: 8vh; }
.mood .ver-tag { right: 4vw; top: 10vh; }
.ph-mood-b {
  left: 4vw; top: 16vh;
  width: 38vw; height: 64vh;
  transform: rotate(-1.2deg);
  z-index: 2;
}
.ph-mood-night {
  right: 4vw; top: 20vh;
  width: 46vw; height: 42vh;
  transform: rotate(1.5deg);
  z-index: 4;
}
.ph-mood-dawn {
  left: 20vw; top: 88vh;
  width: 46vw; height: 42vh;
  transform: rotate(-1.7deg);
  z-index: 3;
}
.ph-mood-c {
  right: 5vw; top: 98vh;
  width: 30vw; height: 42vh;
  transform: rotate(2deg);
  z-index: 5;
}
.ph-mood-b figcaption, .ph-mood-c figcaption,
.ph-mood-night figcaption, .ph-mood-dawn figcaption {
  position: absolute; bottom: -34px; left: 4px;
  font-size: 15px; color: var(--ink-2);
}

/* ---------- 概念片 ---------- */
.film {
  padding: 16vh 0 14vh;
  text-align: center;
}
.film .ver-tag { position: static; display: block; }
.film-title { font-size: 8vh; letter-spacing: 2vh; margin-top: 2vh; }
.film-frame {
  margin: 6vh auto 0;
  width: min(880px, 88vw);
  background: #fff;
  border: 12px solid #fff; border-radius: 8px;
  box-shadow: 0 18px 50px rgba(44, 44, 42, 0.16);
  transform: rotate(-0.6deg);
}
.film-frame video { width: 100%; display: block; border-radius: 3px; }
.film .cap { margin-top: 4vh; }

/* ---------- 档案 ---------- */
.profile {
  padding: 14vh 6vw 12vh;
  text-align: center;
}
.profile .ver-tag { position: static; display: block; }
.profile-line {
  margin-top: 3vh;
  font-size: clamp(18px, 2.6vw, 30px);
  letter-spacing: 2px;
}
.profile-line em { font-style: normal; color: var(--ink-3); }
.chips {
  margin-top: 4vh;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.chips span {
  font-family: var(--font-hand);
  font-size: 15px; color: var(--ink-2);
  background: #fff;
  border: 1px solid #EFE6D2;
  border-radius: 99px;
  padding: 6px 16px;
}
.profile .cap { margin-top: 4vh; }

/* ---------- 表情包 ---------- */
.emoji { padding: 6vh 0 8vh; }
.emoji-title {
  padding: 0 6vw;
  font-size: 20px; letter-spacing: 3px;
}
.emoji-title em { font-style: normal; font-size: 13px; color: var(--ink-3); letter-spacing: 2px; }
.emoji-row {
  margin-top: 3vh;
  overflow: hidden;
  padding: 10px 0 18px;
}
.emoji-track {
  display: flex; gap: 14px;
  width: max-content;
  padding: 0 14px;
  animation: emojiFlow 36s linear infinite;
}
.emoji-row:hover .emoji-track { animation-play-state: paused; }
@keyframes emojiFlow {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 7px)); }
}
.emoji-row img {
  width: 96px; height: 96px; flex: none;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #EFE6D2;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.emoji-row img:hover { transform: translateY(-4px) rotate(-2deg); }
.emoji .cap { padding: 0 6vw; }

/* ---------- 页脚 ---------- */
.foot {
  border-top: 1px solid #F0E8D8;
  padding: 22px 6vw 30px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-3);
}
.foot-left { display: flex; align-items: center; gap: 14px; }
.jury-badge {
  color: #3A7CA8; background: #EAF3FB;
  padding: 3px 12px; border-radius: 99px;
  letter-spacing: 2px;
}
.ai { color: #C9C2B6; }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(255, 251, 242, 0.94);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  cursor: zoom-out;
}
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 92vw; max-height: 82vh;
  border: 10px solid #fff; border-radius: 6px;
  box-shadow: 0 24px 60px rgba(44, 44, 42, 0.22);
}
.lightbox p { color: var(--ink-2); font-size: 17px; }

/* ---------- 移动端 ---------- */
@media (max-width: 880px) {
  .links { display: none; }
  .cover-img { width: 88%; right: -12%; opacity: 0.92; }
  .cover-name { font-size: 21vh; top: 13vh; }
  .cover-lose { display: none; }
  .cover-meta {
    left: 5vw; right: 5vw; bottom: 5vh;
    background: rgba(255, 251, 242, 0.86);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    padding: 14px 16px;
    width: fit-content;
  }
  .bg-text { font-size: 20vh; }

  .concept { height: auto; min-height: 0; padding: 10vh 5vw 12vh; }
  .concept .bg-text { font-size: 24vh; top: 2vh; }
  .concept .ver-tag { position: static; }
  .ph-standing, .ph-views, .ph-studio {
    position: relative; left: auto; top: auto; right: auto;
    width: 100%; height: auto;
    margin-top: 5vh; transform: none;
  }
  .ph-standing img { height: 62vh; }
  .ph-views img { height: auto; }
  .ph-studio img { height: 52vh; }
  .cap-concept { position: static; margin-top: 5vh; }

  .daily { height: 380vh; }
  .daily-view { height: 100vh; }
  .bg-daily { font-size: 20vh; }
  .row { gap: 5vw; }
  .row-1 { top: 11vh; transform: rotate(-4.5deg); }
  .row-2 { top: 56vh; transform: rotate(3.5deg); }
  .row-1 .shot img { height: 30vh; border-width: 7px; }
  .row-2 .shot img { height: 27vh; border-width: 7px; }
  .shot figcaption { opacity: 0; font-size: 12px; bottom: -24px; }
  .eyes { left: 14vw; top: 34vh; width: 72vw; border-width: 7px; }
  .seal { width: 38px; height: 38px; font-size: 17px; right: -12px; top: -16px; }
  .pola-1 { width: 24vw; height: 13vh; top: 3vh; }
  .pola-2 { width: 26vw; height: 12vh; top: 76vh; }
  .daily-hint { display: none; }

  .mood { height: auto; min-height: 0; padding: 10vh 5vw 14vh; }
  .mood .ver-tag { position: static; }
  .ph-mood-b, .ph-mood-c, .ph-mood-night, .ph-mood-dawn {
    position: relative; left: auto; right: auto; top: auto;
    width: 100%; height: auto; margin-top: 6vh; transform: none;
  }
  .ph-mood-b img { height: 54vh; }
  .ph-mood-c img, .ph-mood-night img, .ph-mood-dawn img { height: auto; }

  .film-title { font-size: 6vh; }
  .emoji-row img { width: 76px; height: 76px; }
}

/* 减少动态：日常区退化为可横滑的静态排列 */
.daily-static { height: auto !important; min-height: 0 !important; }
.daily-static .daily-view {
  position: static; height: auto; overflow-x: auto;
  padding: 12vh 0 8vh;
}
.daily-static .row { position: relative; left: auto; top: auto; margin-bottom: 6vh; }
.daily-static .row-2 { margin-left: -30vw; }
.daily-static .eyes { position: relative; left: auto; top: auto; width: 72vw; margin: 0 0 6vh 8vw; }
.daily-static .ph-pola, .daily-static .bg-text, .daily-static .daily-hint,
.daily-static .daily-progress { display: none; }
.daily-static .ver-daily { position: static; display: block; margin: 0 0 0 4vw; }
.daily-static .cap-daily { position: static; display: block; margin: 4vh 0 0 4vw; }

@media (prefers-reduced-motion: reduce) {
  .cover-scroll i { animation: none; }
  .cover-img img { animation: none; }
  .emoji-track { animation: none; }
  .ph, .emoji-row img, .shot img { transition: none; }
}
