/* =====================================================================
   形上官網首頁 unslop 輕修（2026-11-19）
   疊在網站原本的 style.css 後面載入，只改審查清單抓到的 13 項。
   顏色、字體、版面、金幣、章節順序都沿用原站。
   方向：沉穩、有收藏感、帶一點溫度；唱片行＋錢幣收藏冊；亮點只留首屏照片與金幣。
   方法來源：unslop by Damir Sokolovsky (@heydamir)，CC BY 4.0
   ===================================================================== */

:root{
  --u-hair: rgba(23,22,20,.08);          /* 細線：墨色 8% */
  --u-ease: cubic-bezier(.2,.7,.2,1);
  --u-fast: 160ms;
  --u-mid: 280ms;
}

/* ---------- 1. 頁首彩虹細線 → 一條淡灰細線 ---------- */
header.site:after{
  height:1px!important;
  background:var(--u-hair)!important;
  filter:none!important;
  opacity:1!important;
}

/* ---------- 2. 首屏粉彩彩虹底色 → 拿掉，用頁面紙色 ---------- */
.stage:before{display:none!important}

/* ---------- 13. 首屏照片：白霧只留在文字底下，右半邊露出照片 ---------- */
.stage .bgs i.on{opacity:1!important;filter:none!important}
.stage:after{
  background:
    linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.92) 36%,rgba(255,255,255,.5) 50%,rgba(255,255,255,0) 68%),
    linear-gradient(180deg,rgba(255,255,255,0) 80%,#fff 100%)!important;
}
/* 手機：照片在上、文字在下，不整片蓋白 */
@media (max-width:759px){
  .stage .bgs{position:relative!important;inset:auto!important;height:100vw}
  .stage .bgs i{background-position:center 20%!important}
  .stage:after{
    background:linear-gradient(180deg,rgba(255,255,255,0) 0,rgba(255,255,255,0) calc(100vw - 96px),#fff 100vw,#fff 100%)!important;
  }
  .stage .inner{padding:0 20px 24px!important;margin-top:-40px}
  .stage .slides:empty{display:none}
}

/* ---------- 3. 字太粗 → 標題 500，首屏大標 700（宋體沒有 600） ---------- */
.stage h1.hero-lockup .zh{font-weight:700!important}
.hero-lockup .en{font-weight:500!important}
section.block h2{font-weight:500!important;font-size:26px!important;letter-spacing:.04em!important}
.ha-card h3{font-weight:500!important;font-size:16px!important}
.btn-about b{font-weight:500!important}
.v-brand b{font-weight:500!important}
.v-tier b{font-weight:500!important}
.v-name{font-weight:500!important}

/* ---------- 4＋6. 字距：英文小標收窄、中文不再拉到 5px ---------- */
.btn-about b{letter-spacing:.12em!important}
.btn-about small,
.v-brand span,
.v-tier span{
  font-size:11px!important;               /* Cinzel 是大寫字形，11px 看起來約等於 12px 小寫 */
  letter-spacing:.1em!important;
  opacity:.7!important;
}
.v-brand b{letter-spacing:.12em!important}
.v-tier b{letter-spacing:.08em!important}
.v-name{letter-spacing:.04em!important}
nav.main a{letter-spacing:.08em!important}
.session a{letter-spacing:.04em!important}

/* ---------- 5. 字級收斂：最小 11px，零碎值併到級距 ---------- */
.v-stats small{font-size:11px!important;letter-spacing:.04em!important}
.shelf-c small,.v-qr p{font-size:12px!important;letter-spacing:.04em!important}
p.legal{font-size:12px!important;letter-spacing:.02em!important}
.cal-d .chip{font-size:11px!important}
.coin-hint{font-size:13px!important;letter-spacing:.04em!important}
/* 英文副標在窄螢幕跟著中文一起縮，不會被切掉（原站 51.78px 寫死） */
.stage h1.hero-lockup .en{font-size:min(51.78px,calc((100vw - 48px) / 11.3))!important}

/* ---------- 7. 首屏加一行網站說明（文字取自網站自己的介紹） ---------- */
.stage .hero-lede{
  margin:-8px 0 28px;
  max-width:28em;
  font-size:16px;
  line-height:1.75;
  color:#55514b!important;
  letter-spacing:.02em;
}

/* ---------- 9. 圓角：外大內小，同類一致 ---------- */
a.mini,a.ha-ph{border-radius:8px!important;overflow:hidden}
section.cal.home-cal{border-radius:12px!important}
.cal-d{border-radius:6px!important}
.vault{border-radius:20px!important}
.v-qr{border-radius:12px!important}

/* ---------- 10. ▶ 文字符號 → 線條播放圖示 ---------- */
.btn.rsvp{display:inline-flex!important;align-items:center;gap:8px;letter-spacing:.06em!important}
.btn.rsvp svg{width:16px;height:16px;flex:none}

/* ---------- 11. 提示字不再閃 ---------- */
.coin-hint,.coin-hint:not(.done){
  animation:none!important;
  border:1px solid var(--u-hair)!important;
  background:transparent!important;
}

/* ---------- 12. 金幣：載入時轉一圈，滑鼠移上去或點擊才再轉 ---------- */
.coin3d.spin{animation:coinspin 2.4s var(--u-ease) 1!important}
.coin-shadow{animation:none!important}
.coin-stage:hover .coin3d,.coin-stage:focus-visible .coin3d{
  animation:none!important;
  transform:rotateY(180deg);
  transition:transform 1s var(--u-ease);
}

/* ---------- 9（動態）. 統一緩動、只動顏色與位移 ---------- */
.btn-about,a.btn-go,.btn.rsvp,a.mini,nav.main a{
  transition-property:color,background-color,border-color,opacity,transform!important;
  transition-duration:var(--u-fast)!important;
  transition-timing-function:var(--u-ease)!important;
}
a.btn-go:hover,a.btn-go:focus-visible{box-shadow:none!important}
:focus-visible{outline:2px solid #86621f;outline-offset:2px}

/* 尊重「減少動態」系統設定 */
@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{animation:none!important;transition:none!important}
}
