

:root {

  --ink: #191917;
  --paper: #f7f5f2;
  --mist: #f3f3f3;
  --ink-70: rgba(25, 25, 23, 0.7);
  --ink-60: rgba(25, 25, 23, 0.6);
  --ink-50: rgba(25, 25, 23, 0.5);
  --ink-40: rgba(25, 25, 23, 0.4);
  --ink-20: rgba(25, 25, 23, 0.2);
  --paper-80: rgba(247, 245, 242, 0.8);
  --paper-70: rgba(247, 245, 242, 0.7);
  --paper-65: rgba(247, 245, 242, 0.65);
  --paper-60: rgba(247, 245, 242, 0.6);
  --paper-30: rgba(247, 245, 242, 0.3);
  --hero-bg: #d6d8dd;
  --hero-bg-mobile: #cdd0d5;
  --notice-red: #9a3a24;

  --bg: var(--paper);
  --fg: var(--ink);
  --fg-muted: var(--ink-40);
  --line: var(--ink-20);

  --font-sans: "Digits Mono", "IBM Plex Sans", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --font-serif: "Digits Mono", "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-cjk: "Digits Mono", "IBM Plex Sans", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --font-latin: "The Nautigal", "Noto Serif SC", cursive;
  --font-num: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-xs: clamp(11px, 0.8vw, 14px);
  --fs-small: clamp(12px, 0.9vw, 15px);
  --fs-num: clamp(12px, 1.04vw, 16px);
  --fs-body: clamp(13px, 1.04vw, 17px);
  --fs-h2: clamp(38px, 5.19vw, 100px);
  --fs-screen-title: min(5.28vw, 8.4vh);
  --fs-hero: min(6.5vw, 15svh);
  --hero-text: rgba(255, 255, 255, 0.6);
  --hero-name-dim: rgba(255, 255, 255, 0.35);
  --hero-name-lit: rgba(255, 255, 255, 0.38);

  --gutter: clamp(16px, 1.94vw, 36px);
  --frame-x: clamp(16px, 2.22vw, 40px);
  --frame-y: clamp(16px, 3.1vh, 36px);
  --screen-x: clamp(48px, 6.67vw, 128px);
  --screen-head-top: 11.6vh;
  --screen-body-top: 29.8vh;
  --screen-foot-bottom: 9.3vh;
  --space-s: clamp(12px, 1.2vw, 24px);
  --space-m: clamp(24px, 3vw, 56px);
  --space-l: clamp(56px, 8vw, 160px);

  --tracking-display: -0.03em;
  --tracking-title: -0.02em;
  --leading-body: 1.68;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-theme: 0.6s;
}

body[data-theme="dark"] {
  --bg: var(--ink);
  --fg: var(--paper);
  --fg-muted: var(--paper-60);
  --line: var(--paper-30);
}
body[data-theme="grey"] {
  --bg: var(--mist);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--leading-body);
  background: var(--bg);
  color: var(--fg);
  transition: background-color var(--t-theme) ease, color var(--t-theme) ease;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

html:not(.js) [data-bg="dark"] { background: var(--ink); color: var(--paper); }
html:not(.js) [data-bg="grey"] { background: var(--mist); }

.num {
  font-family: var(--font-num);
  font-size: var(--fs-num);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  white-space: pre;
}
.h2 {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: var(--tracking-title);
}

.pill {
  --pill-fg: var(--ink);
  --pill-border: var(--ink-50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 30px;
  padding: 0 14px;
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  background: transparent;
  color: var(--pill-fg);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.4s ease, color 0.4s ease;
}
.pill svg { width: 13px; height: 13px; flex: none; }
.pill:hover { background: rgba(127, 127, 127, 0.12); }
.pill:focus-visible { outline: 1px solid var(--pill-fg); outline-offset: 3px; }
.pill--on-dark {
  --pill-fg: var(--paper);
  --pill-border: rgba(247, 245, 242, 0.5);
}

.about__more { align-self: flex-start; }

.frame {
  --frame-fg: var(--ink);
  --frame-fg-muted: var(--ink);
  --frame-side: var(--ink-60);
  --frame-border: rgba(25, 25, 23, 0.6);
  pointer-events: none;
  color: var(--frame-fg-muted);
  font-size: 12px;
  line-height: 1.4;
  transition: color 0.4s ease;
}
html[data-tone="light"] .frame,
html[data-tone="grey"] .frame {
  --frame-fg-muted: var(--ink-70);
  --frame-side: var(--ink-70);
  --frame-border: var(--ink-50);
}
html[data-tone="dark"] .frame {
  --frame-fg: var(--paper);
  --frame-fg-muted: var(--paper-70);
  --frame-side: var(--paper-70);
  --frame-border: rgba(247, 245, 242, 0.5);
}
.frame > * { position: fixed; z-index: 50; pointer-events: auto; }
.frame__corner { white-space: nowrap; }
.frame__corner--tl {
  top: var(--frame-y);
  left: var(--frame-x);
  letter-spacing: 0.08em;
}
.frame__home { color: inherit; text-decoration: none; transition: opacity 0.3s ease; }
.frame__home:hover { opacity: 0.6; }
.frame__home:focus-visible { outline: 1px solid var(--frame-fg); outline-offset: 3px; }
.frame__corner--bl { bottom: var(--frame-y); left: var(--frame-x); }
.frame__corner--br { bottom: var(--frame-y); right: var(--frame-x); text-align: right; }

.frame__unofficial,
.frame__year,
.frame__year-sep,
.frame__credit-sep { color: var(--frame-fg); opacity: 0.5; transition: color 0.4s ease; }
.frame__year { font-family: var(--font-num); letter-spacing: 0; }

.frame__link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
  cursor: pointer;
  color: var(--frame-fg);
  opacity: 0.5;
  transition: opacity 0.4s ease, color 0.4s ease;
}
.frame__link:hover { opacity: 1; }
.frame__link:focus-visible { opacity: 1; outline: 1px solid var(--frame-fg); outline-offset: 3px; }

.frame__corner--tr {
  top: calc(var(--frame-y) - 4px);
  right: var(--frame-x);
  height: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  line-height: 1;
}
.frame__tools { display: flex; align-items: center; gap: 20px; }
.frame__nav { display: flex; align-items: center; gap: 18px; }
@media (min-width: 768px) { .frame__nav { gap: 28px; } }

@media (min-width: 768px) {
  .frame__nav {
    position: fixed;
    top: calc(var(--frame-y) - 4px);
    left: 50%;
    height: 32px;
    transform: translateX(-50%);
    white-space: nowrap;
  }
  .frame__corner--tl {
    top: calc(var(--frame-y) - 4px);
    height: 32px;
    display: flex;
    align-items: center;
  }
}

.frame__nav-item {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.frame__nav-item[aria-current] { opacity: 1; }
.frame__nav-num {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0;
  white-space: pre;
}

.frame__nav-num::before { content: "( "; opacity: 0; transition: opacity 0.3s ease; }
.frame__nav-num::after { content: " )"; opacity: 0; transition: opacity 0.3s ease; }
.frame__nav-item[aria-current] .frame__nav-num::before,
.frame__nav-item[aria-current] .frame__nav-num::after { opacity: 1; }
.frame__nav-label { font-size: 12px; }

.frame__lang {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  font-size: 12px;
  line-height: 1;
  color: var(--frame-fg);
  cursor: pointer;
}
.frame__lang-opt { opacity: 0.4; font-weight: 400; transition: opacity 0.3s ease; }
.frame__lang-opt[data-lang="en"] { font-family: var(--font-sans); }
.frame__lang-opt.is-current { opacity: 1; font-weight: 500; }
.frame__lang-sep { opacity: 0.4; }
.frame__lang:hover .frame__lang-opt { opacity: 1; }
.frame__lang:focus-visible { outline: 1px solid var(--frame-fg); outline-offset: 3px; }

.frame__share {
  opacity: 0.4;
  --pill-fg: var(--frame-fg);
  --pill-border: var(--frame-border);
}

.frame__bgm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--frame-fg);
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.3s ease, color 0.4s ease;
}
.frame__bgm { opacity: 0.4; }
.frame__bgm[data-bgm-state="playing"] { opacity: 1; }
.frame__bgm:focus-visible { outline: 1px solid var(--frame-fg); outline-offset: 3px; }
.bgm-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}
.bgm-bar {
  display: block;
  width: 1px;
  height: 14px;
  background: currentColor;
  transform-origin: 50% 100%;
  transform: scaleY(0.0714);
  transition: transform 0.4s ease;
}
.frame__bgm[data-bgm-state="waiting"] .bgm-bars,
.frame__bgm[data-bgm-state="loading"] .bgm-bars { animation: bgmBarsBreath 2s ease-in-out infinite; }
.frame__bgm[data-bgm-state="waiting"] .bgm-bar:nth-child(1),
.frame__bgm[data-bgm-state="loading"] .bgm-bar:nth-child(1) { transform: scaleY(0.4286); }
.frame__bgm[data-bgm-state="waiting"] .bgm-bar:nth-child(2),
.frame__bgm[data-bgm-state="loading"] .bgm-bar:nth-child(2) { transform: scaleY(0.5); }
.frame__bgm[data-bgm-state="waiting"] .bgm-bar:nth-child(3),
.frame__bgm[data-bgm-state="loading"] .bgm-bar:nth-child(3) { transform: scaleY(0.5714); }
.frame__bgm[data-bgm-state="waiting"] .bgm-bar:nth-child(4),
.frame__bgm[data-bgm-state="loading"] .bgm-bar:nth-child(4) { transform: scaleY(0.6429); }

.frame__bgm[data-bgm-state="playing"] .bgm-bar { animation: bgmBarBounce 3s ease-in-out infinite alternate; }
.frame__bgm[data-bgm-state="playing"] .bgm-bar:nth-child(1) { animation-duration: 2.6s; animation-delay: -0.8s; }
.frame__bgm[data-bgm-state="playing"] .bgm-bar:nth-child(2) { animation-duration: 3.6s; animation-delay: -2.4s; }
.frame__bgm[data-bgm-state="playing"] .bgm-bar:nth-child(3) { animation-duration: 2.9s; animation-delay: -1.5s; }
.frame__bgm[data-bgm-state="playing"] .bgm-bar:nth-child(4) { animation-duration: 3.3s; animation-delay: -0.4s; }
@keyframes bgmBarBounce {
  0%   { transform: scaleY(0.2143); }
  45%  { transform: scaleY(1); }
  70%  { transform: scaleY(0.5); }
  100% { transform: scaleY(0.8571); }
}
@keyframes bgmBarsBreath {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

.frame__side {
  right: var(--frame-x);
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  letter-spacing: 0.2em;
  color: var(--frame-side);
  white-space: nowrap;
  transition: color 0.4s ease;
}
.frame__side-text { display: inline-block; transition: opacity 0.4s ease; }
.frame__side.is-fading .frame__side-text { opacity: 0; }
.frame__side-num { font-family: var(--font-num); letter-spacing: 0; }

.frame__side-link { color: inherit; transition: color 0.3s ease; }
.frame__side-link:hover { color: var(--frame-fg); }
.frame__side-link:focus-visible { outline: 1px solid var(--frame-fg); outline-offset: 4px; }

.frame__note {
  left: var(--frame-x);
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  writing-mode: vertical-rl;
  white-space: nowrap;
  letter-spacing: 0.2em;
  color: var(--frame-side);
  transition: color 0.4s ease;
}
.frame__note-text {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  writing-mode: inherit;
  cursor: pointer;
  transition: opacity 0.4s ease, visibility 0s linear 0s;
}
.frame__note-text:hover { opacity: 0.6; }
.frame__note-text:focus-visible { outline: 1px solid var(--frame-fg); outline-offset: 4px; }
.frame__note.is-hidden .frame__note-text {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

@media (max-width: 767px) {
  .frame { font-size: 11px; --frame-y: 18px; --frame-x: 16px; }
  .frame__corner--tl { display: none; }
  .frame__corner--tr { top: var(--frame-y); height: auto; align-items: flex-start; gap: 14px; }
  .frame__tools { flex-direction: column; gap: 6px; }
  .frame__tools > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    min-width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    gap: 0;
    font-size: 10.889px;
    line-height: 1;
  }
  .frame__tools > button:hover,
  .frame__tools > button:active { background: rgba(127, 127, 127, 0.12); }
  .frame__nav {
    position: fixed;
    top: calc(var(--frame-y) - 8px);
    left: 50%;
    transform: translateX(-50%);
    gap: clamp(2px, calc(2px + (100vw - 320px) * 0.06), 6px);
  }
  .frame__tools .frame__share { order: 0; }
  .frame__tools .frame__bgm { order: 1; }
  .frame__tools .frame__lang { order: 2; }
  .frame__lang-opt.is-current,
  .frame__lang-sep { display: none; }
  .frame__nav-item {
    min-width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 -6px;
  }
  .frame__nav-label { display: none; }
  .frame__share {
    position: relative;
    border: 0;
    width: 28px;
    height: 28px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }
  .frame__share svg { width: 12.444px; height: 12.444px; }
  .frame__share-label { display: none; }
  .frame__share.is-feedback .frame__share-label {
    display: block;
    position: absolute;
    right: calc(100% + 8px);
    top: calc(100% + 8px);
    width: max-content;
    max-width: calc(100vw - 100px);
    padding: 6px 8px;
    border-radius: 4px;
    background: var(--paper);
    color: var(--ink);
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0;
    white-space: normal;
    text-align: left;
  }
  .frame__bgm .bgm-bars { transform: scale(0.84); }
  .frame__side,
  .frame__note,
  .frame__corner--bl,
  .frame__corner--br { display: none; }
}

.frame__credit { display: none; }
@media (max-width: 767px) {
  .frame__credit {
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 0;
    white-space: nowrap;
    text-align: center;
  }
}
.frame__credit-line { display: block; }
.frame__credit-ai {
  display: inline-block;
  vertical-align: top;
  max-width: 14em;
  transition: opacity 0.4s ease, max-width 0.4s ease, visibility 0s linear 0s;
}
.frame__credit-ai.is-hidden {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, max-width 0.4s ease, visibility 0s linear 0.4s;
}

@media (max-width: 767px) {
  .frame__credit { transition: opacity 0.4s ease, visibility 0s linear 0s; }
  .frame__credit.is-hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
  }

  html[data-tone="hero"] .frame__credit {
    --frame-fg: #6b6a67;
    color: #6b6a67;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
  html[data-tone="hero"] .frame__credit .frame__unofficial,
  html[data-tone="hero"] .frame__credit .frame__year,
  html[data-tone="hero"] .frame__credit .frame__year-sep,
  html[data-tone="hero"] .frame__credit .frame__credit-sep,
  html[data-tone="hero"] .frame__credit .frame__link { opacity: 1; }
  html[data-tone="hero"] .frame__credit .frame__link:hover,
  html[data-tone="hero"] .frame__credit .frame__link:focus-visible { color: var(--paper); opacity: 1; }
}

.bgm-toast {
  appearance: none;
  text-align: inherit;
  position: fixed;
  left: 50%;
  translate: -50% 0;
  top: calc(var(--frame-y) + 46px);
  bottom: auto;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid rgba(247, 245, 242, 0.2);
  border-radius: 999px;
  background: rgba(25, 25, 23, 0.25);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  color: var(--paper-70);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  white-space: nowrap;
  cursor: pointer;
  opacity: 0;
  transform: none;
}
.bgm-toast[hidden] { display: none; }
.bgm-toast.is-visible {
  opacity: 1;
  animation: bgm-toast-in 0.9s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

.bgm-toast.is-hiding { animation: bgm-toast-out 1.4s cubic-bezier(0.445, 0.05, 0.55, 0.95) both; }
@keyframes bgm-toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bgm-toast-out { from { opacity: var(--toast-hide-opacity, 1); transform: var(--toast-hide-transform, translateY(0)); } to { opacity: 0; transform: translateY(8px); } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bgm-toast { background: rgba(25, 25, 23, 0.75); }
}

.bgm-toast .bgm-bars { flex: none; height: 10px; }
.bgm-toast .bgm-bar { height: 10px; transition: none; animation: bgmBarBounce 3s ease-in-out infinite alternate; }
.bgm-toast .bgm-bar:nth-child(1) { animation-duration: 2.6s; animation-delay: -0.8s; }
.bgm-toast .bgm-bar:nth-child(2) { animation-duration: 3.6s; animation-delay: -2.4s; }
.bgm-toast .bgm-bar:nth-child(3) { animation-duration: 2.9s; animation-delay: -1.5s; }
.bgm-toast .bgm-bar:nth-child(4) { animation-duration: 3.3s; animation-delay: -0.4s; }
@media (max-width: 767px) {
  .bgm-toast {

    --frame-y: 18px;
    top: calc(var(--frame-y) + 46px);
    bottom: auto;
    font-size: 12px;
    max-width: calc(100vw - 112px);
    width: max-content;
    white-space: normal;

    gap: 8px;
    letter-spacing: 0.02em;
  }
  .bgm-toast__text { text-wrap: balance; }
  html[lang="en"] .bgm-toast {
    max-width: calc(100vw - 32px);
    width: max-content;
    white-space: nowrap;
    letter-spacing: 0;
  }
  html[lang="en"] .bgm-toast__text { text-wrap: nowrap; }
}
@media (max-width: 374px) {
  html[lang="en"] .bgm-toast { font-size: 10px; padding-inline: 8px; gap: 6px; }
}

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  color: var(--ink);
  background: var(--hero-bg);
}

.hero__stage {
  position: absolute;
  inset: 0;

  background: var(--hero-bg);
}

.hero--video .hero__img { opacity: 0; transition: opacity 0.6s ease; }

.hero__media {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  transform: translateX(-50%);
  transform-origin: 50% 40%;

  -webkit-mask-image: linear-gradient(to right,
    transparent 0%, rgba(0,0,0,0.45) 3%, rgba(0,0,0,0.8) 8%, rgba(0,0,0,0.95) 13%, #000 18%,
    #000 87%, transparent 100%);
          mask-image: linear-gradient(to right,
    transparent 0%, rgba(0,0,0,0.45) 3%, rgba(0,0,0,0.8) 8%, rgba(0,0,0,0.95) 13%, #000 18%,
    #000 87%, transparent 100%);
  user-select: none;
}

.hero__video {
  aspect-ratio: 2024 / 3248;

  filter: brightness(0.98);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero__video.is-ready { opacity: 1; }

.hero__video.is-disabled { display: none; }

.hero__grain {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.hero__glass-bottom {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  -webkit-backdrop-filter: blur(var(--glass-bottom-blur, 10px));
          backdrop-filter: blur(var(--glass-bottom-blur, 10px));
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 25%, rgba(0,0,0,0) 55%);
          mask-image: linear-gradient(to top, #000 0%, #000 25%, rgba(0,0,0,0) 55%);
  will-change: opacity;
}
.hero__glass {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  --glass-blur: 0px;
  background-color: rgba(247, 245, 242, 0);
  -webkit-backdrop-filter: blur(var(--glass-blur));
          backdrop-filter: blur(var(--glass-blur));
  will-change: backdrop-filter;
}

.hero__scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36svh;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(25, 25, 23, 0.2), rgba(25, 25, 23, 0));
}

.hero {
  position: sticky;
  top: 0;
  z-index: 0;
}
.hero__glass { display: block; }
.hero__glass-bottom { display: block; }

.hero.is-covered { visibility: hidden; }

main > section:not(.hero),
.opening > section:not(.hero) {
  position: relative;
  z-index: 1;
  background-color: var(--bg);
  transition: background-color var(--t-theme) ease;
}

.opening > section.quote { background-color: transparent; }

main > .about,
main > .gallery {
  --bg: #F4F4F4;
  --fg: var(--ink);
  --fg-muted: var(--ink-40);
  --line: var(--ink-20);
  color: var(--fg);
}

@media (max-width: 767px) {

  .hero { position: sticky; top: 0; }

  html.is-device-fill .hero { top: calc(-1 * var(--chrome-overlap-half)); }
  .hero__media {
    top: auto;
    bottom: 0;
    height: 72%;

    left: calc(50% + 2vw);
    will-change: transform;

    -webkit-mask-image:
      linear-gradient(to right,
        transparent 0%, rgba(0,0,0,0.45) 3%, rgba(0,0,0,0.8) 8%, rgba(0,0,0,0.95) 13%, #000 18%,
        #000 87%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.25) 2%, rgba(0,0,0,0.65) 4.5%, #000 7%);
    -webkit-mask-composite: source-in;
            mask-image:
      linear-gradient(to right,
        transparent 0%, rgba(0,0,0,0.45) 3%, rgba(0,0,0,0.8) 8%, rgba(0,0,0,0.95) 13%, #000 18%,
        #000 87%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.25) 2%, rgba(0,0,0,0.65) 4.5%, #000 7%);
            mask-composite: intersect;
  }
  .hero__stage { background: var(--hero-bg-mobile); }

  .hero__glass {
    background-color: rgba(25, 25, 23, 0.7);
    opacity: 0;
    visibility: hidden;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    will-change: opacity;
  }
  .hero__glass-bottom {
    visibility: hidden;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;

    -webkit-mask-image: linear-gradient(to top, #000 0%, #000 12%, rgba(0,0,0,0) 36%);
            mask-image: linear-gradient(to top, #000 0%, #000 12%, rgba(0,0,0,0) 36%);
  }
}

@media (max-width: 767px) {
  html { background-color: var(--hero-bg-mobile); }
  .hero { background: transparent; }
}

@media (max-width: 767px) {
  @supports (animation-timeline: scroll()) {
    html.has-native-opening {
      --opening-pin-start: 0px;
      --opening-pin-end: 100svh;
    }
    html.has-native-opening .hero {
      position: relative;
      top: auto;
      animation: opening-hero-pin linear both;
      animation-timeline: scroll(root block);
      animation-range: var(--opening-pin-start) var(--opening-pin-end);
    }

    html.has-native-opening .hero__glass,
    html.has-native-opening .hero__glass-bottom,
    html.has-native-opening .hero__title,
    html.has-native-opening .hero__stage {
      animation: opening-glass linear both;
      animation-timeline: scroll(root block);
      animation-range: var(--opening-pin-start) var(--opening-pin-end);
    }
    html.has-native-opening .hero__glass {
      visibility: visible;
      -webkit-backdrop-filter: blur(2px);
      backdrop-filter: blur(2px);
    }
    html.has-native-opening .hero__glass-bottom {
      visibility: visible;
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
    }
    html.has-native-opening .hero__title { animation-name: opening-title; }
    html.has-native-opening .hero__stage {
      animation-name: opening-media;

      transform-origin: calc(50% + 2vw) 56.8%;
      will-change: transform;
    }
  }
}
@keyframes opening-glass { from { opacity: 0; } to { opacity: 1; } }
@keyframes opening-title { from { opacity: 1; } to { opacity: 0; } }
@keyframes opening-media {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes opening-hero-pin {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, 100%, 0); }
}

.snap-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 0;
  pointer-events: none;
}
.snap-anchor--end { top: auto; bottom: 0; }
@media (max-width: 767px) {
  html, body { overscroll-behavior-x: none; }

  html.is-mobile-snap, html.is-mobile-snap body { scrollbar-width: none; }
  html.is-mobile-snap::-webkit-scrollbar,
  html.is-mobile-snap body::-webkit-scrollbar { display: none; }
  html.is-mobile-snap { scroll-snap-type: y mandatory; }
  main > .snap-anchor,
  main > section > .snap-anchor:not(.snap-anchor--end),
  .opening > section > .snap-anchor:not(.snap-anchor--end) {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  main > .is-snap-tall > .snap-anchor--end {
    scroll-snap-align: end;
    scroll-snap-stop: always;
  }
}

@media (max-width: 767px) {
  body { background-color: transparent; }
}

@media (max-width: 767px) {
  html.is-device-fill .hero { height: var(--device-screen-h); }
  html.is-device-fill .hero__title { bottom: calc(58px + var(--chrome-overlap-half) + 100lvh - 100svh); }
  html.is-device-fill .quote {
    min-height: var(--device-screen-h);
    padding-bottom: calc(20px + var(--chrome-overlap-half) + 100lvh - 100dvh);
  }
  html.is-device-fill main > .snap-anchor,
  html.is-device-fill .opening > section > .snap-anchor:not(.snap-anchor--end) { top: var(--chrome-overlap-half); }
  html.is-device-fill main > .screen {
    min-height: var(--device-screen-h);
    padding-top: calc(var(--frame-y) + 56px + var(--chrome-overlap-half));
    padding-bottom: calc(74px + var(--chrome-overlap-half));
  }
  html.is-device-fill main > .screen > .snap-anchor { top: var(--chrome-overlap-half); }
  html.is-device-fill main > .screen > .snap-anchor--end { top: auto; bottom: var(--chrome-overlap-half); }
  html.is-device-fill .works__backdrop { height: 100%; }
}

@media (max-width: 767px) {
  .works__stage { margin-top: auto; }
  main > .works { padding-bottom: 54px; }
  html.is-device-fill main > .works {
    padding-bottom: calc(56px + var(--chrome-overlap-half) - (100dvh - 100svh));
    transition: padding-bottom 0.25s ease;
  }

  .works__role-desc { min-height: calc(1.7em * 3); }
  html[lang="en"] .works__role-desc { min-height: calc(1.5em * 5); }

  .works .works__thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-left: 7px;
    scrollbar-width: none;
    margin: -7px calc(-1 * var(--gutter)) -7px -7px;
    padding: 7px var(--gutter) 7px 7px;
  }
  .works .works__thumbs::-webkit-scrollbar { display: none; }
  .works .works__thumb { flex: none; scroll-snap-align: start; }
}

@media (max-width: 767px) {
  main > .screen > .screen__head { display: block; }
  main > .screen > .screen__head > .screen__num { display: none; }
  main > .screen > .screen__head > .screen__title { font-size: 40px; line-height: 1; }

  .works { touch-action: pan-y pinch-zoom; }
  .works .works__thumbs { touch-action: pan-y pinch-zoom; }
  .gallery__track { touch-action: pinch-zoom; }
  .works .works__year,
  .works .works__year-sep { font-size: 0.75em; }
}

@media (max-width: 767px) {
  .works__foot-right { gap: 20px; }
  .works__foot-right #openWorks {
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--paper-80);
    font-size: 12px;
    letter-spacing: 0.04em;
  }
  .works__foot-right #openWorks:hover { background: none; color: var(--paper); }
  .works__foot-right #openWorks svg { width: 12px; height: 12px; }
}

html.js .hero__eyebrow,
html.js .hero__name,
html.js .hero__latin,
html.js .frame__credit-line { opacity: 0; }

.hero__title {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 0.85vw, 12px);
  color: var(--hero-text);
  text-align: center;
  pointer-events: none;
}
.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.3em;
}
.hero__name {
  font-family: "Noto Sans SC", var(--font-sans);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: var(--tracking-display);
  white-space: nowrap;
}
.hero__name .char { display: inline-block; }

.hero__name { position: relative; }
.hero__name-glow {
  display: none;
  position: absolute;
  inset: 0;
  color: var(--hero-name-lit);
  white-space: nowrap;
  pointer-events: none;
}
html.js .hero__name.is-spotlit { color: var(--hero-name-dim); }
html.js .hero__name.is-spotlit .hero__name-glow { display: block; }
.hero__latin {
  font-family: var(--font-latin);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 767px) {

  .hero__title { bottom: 58px; }
  .hero__name { font-size: 14vw; }
}

.quote {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;

  align-items: flex-end;
  justify-content: center;
  padding: var(--space-l) var(--gutter) var(--gutter);
  background: var(--ink);
  text-align: center;
}
@media (min-width: 768px) {

  .quote { padding-bottom: calc(var(--frame-y) + 16.8px + clamp(24px, 3vh, 40px)); }
}
@media (max-width: 767px) {

  .quote { padding-bottom: 20px; touch-action: pan-y pinch-zoom; }
}

@media (max-width: 767px) {
  .hero { height: 100vh; height: 100lvh; }
  .quote { min-height: 100vh; min-height: 100lvh; }

  .hero__title { bottom: calc(58px + 100lvh - 100svh); }

  .quote { padding-bottom: calc(20px + 100lvh - 100dvh); transition: padding-bottom 0.25s ease; }
}
.quote__inner {
  width: 100%;
  max-width: 720px;
}
.quote__label {
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.4;
  letter-spacing: 0;
  color: rgba(247, 245, 242, 0.5);
}
.quote__text {
  margin-top: clamp(24px, 3vw, 40px);
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.1vw, 36px);
  font-weight: 500;
  line-height: 1.7;
  color: rgba(247, 245, 242, 0.72);
  min-height: calc(2 * 1.7em);
}
.quote__text--long { font-size: calc(clamp(22px, 2.1vw, 36px) * 0.82); }
.quote__line { display: inline-block; }

.quote__char { display: inline-block; white-space: nowrap; }

.quote__char-group { white-space: nowrap; }

.quote__role {
  margin-top: clamp(24px, 3vw, 40px);
  font-family: var(--font-sans);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.4;
  letter-spacing: 0.4em;
  margin-right: -0.4em;
  color: rgba(247, 245, 242, 0.55);
}
.quote__source {
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: clamp(12px, 0.9vw, 14px);
  line-height: 1.4;
  letter-spacing: 0.12em;
  color: rgba(247, 245, 242, 0.38);
}

.quote__dots {
  --quote-interval: 6s;
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.quote__dots[hidden] { display: none; }
.quote__dot {
  position: relative;
  width: 28px;
  height: 1px;
  padding: 0;
  border: 0;
  background: rgba(247, 245, 242, 0.22);
  cursor: pointer;
  overflow: visible;
}

.quote__dot::before {
  content: "";
  position: absolute;
  inset: -10px -4px;
}
.quote__dot:focus-visible {
  outline: 1px solid rgba(247, 245, 242, 0.9);
  outline-offset: 6px;
}
.quote__dot-fill {
  position: absolute;
  inset: 0;
  background: rgba(247, 245, 242, 0.7);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}
.quote__dot.is-active .quote__dot-fill {
  animation: quoteDotFill var(--quote-interval) linear forwards;
}

.quote__dots.is-paused .quote__dot-fill { animation-play-state: paused; }
@keyframes quoteDotFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.screen {
  position: relative;
  min-height: 0;
  padding: calc(var(--frame-y) + 56px) var(--gutter) var(--space-l);
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.screen__head {
  display: grid;
  grid-template-columns: 2.6em 1fr;
  align-items: start;
  column-gap: 0;
}
.screen__num {
  font-family: var(--font-num);
  font-size: var(--fs-num);
  line-height: 1.2;
  padding-top: 0.5em;
  white-space: pre;
}
.screen__title {
  font-family: var(--font-cjk);
  font-size: clamp(44px, 13vw, 76px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--tracking-title);
}

.screen__tag {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}
.screen__tag span { display: block; }
[data-bg="light"] .screen__tag,
[data-bg="grey"] .screen__tag { color: var(--ink-60); }

.about__body { display: flex; flex-direction: column; gap: var(--space-m); }
.about__bio {
  max-width: 34em;
  font-size: var(--fs-body);
  line-height: 1.75;
}
.about__bio p + p { margin-top: 0.6em; }
.about__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: var(--fs-small);
  line-height: 1.4;
}
.about__meta > div {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  border-top: 1px solid var(--ink-20);
  padding-top: 10px;
}
.about__meta dt { color: var(--ink-50); flex: none; }
.about__meta dd { text-align: right; }
/* “查看完整资料”与资料页按钮并排；资料页按钮直接作为同一行的弹性子项 */
.about__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.about__ref { display: contents; }
.about__ref[hidden] { display: none; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.about__laurels {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3vh, 32px);
}
.laurel {
  display: flex;
  align-items: center;
  gap: 11px;
  --laurel-h: 48px;
}
.laurel__branch {
  display: block;
  flex: none;
  width: calc(var(--laurel-h) * 215 / 480);
  height: var(--laurel-h);
  overflow: visible;
}
.laurel__branch--right { transform: scaleX(-1); }
.laurel__branch { color: var(--laurel-gold); }
.laurel__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  min-width: 0;
}

.laurel {
  --laurel-gold: #c9a227;
  --laurel-gold-small: #a8850f;
}
.laurel__event {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  line-height: 1.4;
  letter-spacing: 0.25em;
  margin-right: -0.25em;
  color: var(--laurel-gold-small);
  white-space: nowrap;
}
.laurel__honor {
  font-family: var(--font-cjk);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--laurel-gold);
  white-space: nowrap;
}

.works {
  min-height: 100svh;
  color: var(--paper);
  background: var(--ink);
  isolation: isolate;
}

.works__backdrop {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: min(100%, 100svh);
  overflow: hidden;
  background: var(--ink);
  z-index: 0;
}
.works__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 60% 40%;
  filter: brightness(0.7);
  opacity: 0;
  will-change: opacity;
  user-select: none;
}
.works__scrim { position: absolute; pointer-events: none; }
.works__scrim--side {
  inset: 0;
  background: linear-gradient(to right, rgba(25, 25, 23, 0.75) 0%, rgba(25, 25, 23, 0.75) 30%, rgba(25, 25, 23, 0) 62%);
}
.works__scrim--top {
  left: 0; right: 0; top: 0;
  height: 13.3vh;
  background: linear-gradient(to bottom, rgba(25, 25, 23, 0.5), rgba(25, 25, 23, 0));
}
.works__scrim--bottom {
  left: 0; right: 0; bottom: 0;
  height: 17.8vh;
  background: linear-gradient(to top, rgba(25, 25, 23, 0.5), rgba(25, 25, 23, 0));
}

.works > .screen__head,
.works__stage,
.works__foot { position: relative; z-index: 1; }

.works__stage { position: relative; }
.works__panel {
  display: flex;
  flex-direction: column;
  gap: 2.4vh;
  opacity: 0;
}
.works__panel:not(.is-active) { position: absolute; inset: 0; pointer-events: none; }

.works__year-sep {
  margin: 0 0.22em;
  font-weight: 400;
  color: var(--paper-65);
}
.works__year {
  display: inline-grid;
  align-items: baseline;
  font-family: var(--font-num);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--paper-65);
  font-variant-numeric: tabular-nums;
  vertical-align: baseline;
}
.works__year-layer { grid-area: 1 / 1; opacity: 0; }
.works .screen__title { white-space: nowrap; }
.works__heading { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

/* “去豆瓣查看”与“去××观看”同款按钮并排 */
.works__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.6vh;
}
/* 叠在照片上的按钮：沿用音乐提示条的毛玻璃（半透明底色 + 背景模糊） */
.works__links .pill { --pill-border: rgba(247, 245, 242, 0.2); }
.works__links .pill,
.follow__btns .pill {
  --pill-glass: rgba(25, 25, 23, 0.25);
  --pill-glass-hover: rgba(25, 25, 23, 0.4);
  background: var(--pill-glass);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
}
.works__links .pill:hover,
.follow__btns .pill:hover { background: var(--pill-glass-hover); }
/* 桌面关注屏的按钮文字是深色，底色改为浅色半透明以保证对比 */
@media (min-width: 768px) {
  .follow__btns .pill { --pill-glass: rgba(247, 245, 242, 0.3); --pill-glass-hover: rgba(247, 245, 242, 0.5); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .works__links .pill,
  .follow__btns .pill { --pill-glass: rgba(25, 25, 23, 0.75); --pill-glass-hover: rgba(25, 25, 23, 0.85); }
  @media (min-width: 768px) {
    .follow__btns .pill { --pill-glass: rgba(247, 245, 242, 0.8); --pill-glass-hover: rgba(247, 245, 242, 0.9); }
  }
}
.works-list__title a { border-bottom: 1px solid var(--ink-20); transition: border-color 0.3s ease; }
.works-list__title a:hover { border-color: var(--ink); }
/* 观看渠道：全部作品浮层每行的文字链接 */
.works-list__watch-link svg { display: inline-block; width: 0.9em; height: 0.9em; margin-left: 2px; vertical-align: -0.08em; }
.works-list__watch-sep { white-space: pre; }

.works__name {
  font-family: var(--font-cjk);
  font-size: clamp(28px, min(3.4vw, 6.5vh), 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: var(--tracking-title);
}
.works__meta {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.4;
  color: var(--paper-65);
}
.works__role {
  display: grid;
  grid-template-columns: 4.4em 1fr;
  column-gap: 16px;
  border-top: 1px solid var(--paper-30);
  padding-top: 16px;
}
.works__role-label { font-size: var(--fs-small); line-height: 1.6; color: var(--paper-65); }
.works__role-body { display: flex; flex-direction: column; gap: 6px; }
.works__role-name {
  font-size: clamp(17px, 1.39vw, 22px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.works__role-desc { font-size: var(--fs-small); line-height: 1.7; color: var(--paper-80); }

.works__foot {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}
.works__thumbs { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(10px, 1vw, 18px); }

.works__thumb {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: clamp(40px, 3.9vw, 64px);
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.4s ease;
  text-align: left;
}
.works__thumb:hover,
.works__thumb[aria-selected="true"] { opacity: 1; }
.works__thumb:focus-visible { outline: 1px solid var(--paper); outline-offset: 6px; }
.works__thumb-img,
.works__thumb-ph {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  outline: 1px solid transparent;
  outline-offset: 3px;
  transition: outline-color 0.4s ease;
}
.works__thumb[aria-selected="true"] .works__thumb-img,
.works__thumb[aria-selected="true"] .works__thumb-ph { outline-color: var(--paper); }

.works__thumb-ph {
  display: flex;
  align-items: flex-end;
  padding: 6px;
  background: rgba(247, 245, 242, 0.08);
  border: 1px solid rgba(247, 245, 242, 0.25);
  font-size: 10px;
  line-height: 1.3;
  color: var(--paper-65);
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
  overflow: hidden;
}
.works__thumb-year {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0;
  white-space: pre;
}
.works__thumb-year::before { content: "( "; opacity: 0; }
.works__thumb-year::after { content: " )"; opacity: 0; }
.works__thumb[aria-selected="true"] .works__thumb-year::before,
.works__thumb[aria-selected="true"] .works__thumb-year::after { opacity: 1; }
.works__foot-right {
  display: flex;
  align-items: center;
  gap: 36px;
}
.works__count {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--paper-65);
  font-variant-numeric: tabular-nums;
}

.gallery { padding-left: 0; padding-right: 0; }
.gallery .screen__head,
.gallery .screen__tag,
.gallery__meta,
.gallery__progress { margin-left: var(--gutter); margin-right: var(--gutter); }

.gallery__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 28px;
  row-gap: 8px;
}

.gallery__filters { display: flex; flex-wrap: wrap; column-gap: 18px; }
.gallery__filter {
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-cjk);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s var(--ease);
}
html[lang="en"] .gallery__filter { font-family: var(--font-sans); letter-spacing: 0.02em; }
.gallery__filter:hover,
.gallery__filter[aria-pressed="true"] { opacity: 1; }
.gallery__filter:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.gallery__track {
  --track-h: 60vh;
  display: flex;
  align-items: flex-end;
  gap: clamp(14px, 1.67vw, 32px);
  height: var(--track-h);
  padding: 0 var(--gutter);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  cursor: grab;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 87%, rgba(0, 0, 0, 0) 100%);
          mask-image: linear-gradient(to right, #000 0%, #000 87%, rgba(0, 0, 0, 0) 100%);
}
.gallery__track[hidden] { display: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-dragging { cursor: grabbing; }
.gallery__track.is-dragging .album-card { pointer-events: none; }
.gallery__track:focus-visible { outline: none; }

.album-card {
  --cover-h: calc(var(--track-h) * 0.82);
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(var(--cover-h) * 0.75);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: inherit;
}
.album-card:nth-child(even) { --cover-h: calc(var(--track-h) * 0.70); }
.album-card__cover {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ink-20);
}
.album-card__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.9s var(--ease);
}
.album-card:hover .album-card__cover img { transform: scale(1.03); }
.album-card:focus-visible { outline: none; }
.album-card:focus-visible .album-card__cover { outline: 1px solid var(--ink); outline-offset: 4px; }
.album-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 2px;
  font-family: var(--font-cjk);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.album-card__meta {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink-60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery__empty {
  margin: 0 var(--gutter);
  height: clamp(240px, 40svh, 480px);
  background: var(--ink-20);
  display: flex;
  align-items: flex-end;
  padding: var(--space-s);
  font-size: var(--fs-xs);
  color: var(--ink-40);
}
.gallery__empty[hidden] { display: none; }

.gallery__progress {
  display: flex;
  align-items: center;
  gap: 24px;
}
.gallery__progress[hidden] { display: none; }
.gallery__bar {
  position: relative;
  flex: 1;
  height: 1px;
  background: var(--ink-20);
}
.gallery__bar-fill {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: left center;
  transform: scaleX(0.1);
  transition: transform 0.2s ease-out;
}
.gallery__count {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--ink-60);
  font-variant-numeric: tabular-nums;
}

.follow { overflow: hidden; }
.follow__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.follow__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right bottom;
  user-select: none;
  -webkit-user-drag: none;
}

.follow__head-layer,
.follow__column,
.follow__tag-layer { position: relative; z-index: 1; }
.follow__column { display: flex; flex-direction: column; gap: var(--space-m); }
.follow__body { display: flex; flex-direction: column; align-items: flex-start; }
.follow__label {
  font-size: var(--fs-small);
  color: var(--ink-50);
  letter-spacing: 0.04em;
  margin-bottom: 1.5vh;
}
.follow__line {
  font-family: var(--font-cjk);
  font-size: clamp(17px, 1.39vw, 22px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: var(--tracking-title);
  margin-bottom: 3.5vh;
}
.follow__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.follow__list {
  font-size: var(--fs-small);
  line-height: 1.5;
}
/* 豆瓣与 IMDb 并排一行，经纪公司官微单独一行（桌面与手机一致） */
.follow__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.follow__list li:last-child { grid-column: 1 / -1; }
.follow__list li { border-top: 1px solid var(--ink-20); }
.follow__list a {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding: 10px 0 14px;
  transition: color 0.3s ease;
}
.follow__list a:hover { color: var(--ink-60); }
.follow__list a::after { content: "↗"; flex: none; color: var(--ink-50); }

@media (min-width: 768px) {
  main > .screen > .screen__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  main > .screen > .screen__head > .screen__num {
    padding-top: 0;
    line-height: 1;
    opacity: 0.45;
  }
}

@media (min-width: 768px) and (min-height: 680px) {
  .screen {
    height: 100svh;
    min-height: 0;
    padding: 0;
    display: block;
    overflow: hidden;
  }
  .screen__head {
    position: absolute;
    left: var(--gutter);
    top: var(--screen-head-top);
  }
  .about > .screen__head,
  .works > .screen__head,
  .gallery > .screen__head,
  .follow > .screen__head { left: calc(2 * var(--gutter)); }
  .gallery > .screen__head { margin-left: 0; }
  .screen__title { font-size: var(--fs-screen-title); }
  .screen__tag {
    position: absolute;
    right: var(--screen-x);
    top: var(--screen-head-top);
    text-align: right;
  }

  .about { --about-bio-width: calc(var(--fs-body) * 40); }
  .about__body {
    position: absolute;
    left: calc(2 * var(--gutter));
    right: var(--screen-x);
    top: calc(var(--screen-head-top) + var(--fs-screen-title) + clamp(48px, 5vh, 64px));
    display: grid;
    grid-template-columns: var(--about-bio-width) min(26vw, 420px);
    justify-content: space-between;
    column-gap: 5.3vw;
    align-items: start;
  }
  .about__bio { width: auto; max-width: none; }
  .about__meta { gap: 1.33vh; }

  .about__meta > div:first-child { border-top: 0; padding-top: 0; }

  .about__laurels {
    position: absolute;
    left: calc(2 * var(--gutter));
    right: var(--screen-x);
    bottom: calc(var(--screen-foot-bottom) + var(--fs-small) * 1.4 + 6.9vh);
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 2vw;
  }
  .laurel { --laurel-h: clamp(40px, 5.3vh, 52px); gap: clamp(8px, 1.2vh, 12px); }
  .laurel__honor { font-size: min(clamp(18px, 1.5vw, 22px), 3vh); }
  .about__more {
    position: absolute;
    left: calc(2 * var(--gutter));
    bottom: var(--screen-foot-bottom);
  }

  .works__backdrop { height: 100%; }
  .works > .screen__head { position: absolute; }

  .works__stage {
    position: absolute;
    left: var(--screen-x);
    top: 30vh;
    width: 36vw;
    height: 42vh;
  }
  .works__panel { position: absolute; inset: 0; justify-content: flex-end; }

  .works__role-desc { min-height: calc(1.7em * 3); }
  html[lang="en"] .works__role-desc { min-height: calc(1.7em * 4); }
  .works__foot {
    position: absolute;
    left: var(--screen-x);
    right: var(--screen-x);
    bottom: var(--screen-foot-bottom);
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2vw;
  }
  .works__thumbs { flex-wrap: nowrap; }
  .works__foot-right { flex: none; }
  .works__foot-right { padding-bottom: 20px; }

  .gallery__meta {
    position: absolute;
    left: var(--screen-x);
    right: var(--screen-x);
    top: 24.8vh;
    margin: 0;
    transform: translateY(-6px);
  }
  .gallery__track {
    --track-h: 56.6vh;
    position: absolute;
    left: 0;
    right: 0;
    top: 29vh;
    padding-left: var(--gutter);
    padding-right: 13vw;
  }
  .gallery__empty {
    position: absolute;
    left: 23.3vw;
    right: 13vw;
    top: 29vh;
    margin: 0;
  }
  .gallery__progress {
    position: absolute;
    left: 23.3vw;
    right: 14.6vw;
    bottom: var(--screen-foot-bottom);
    margin: 0;
  }

  .follow__column {
    position: absolute;
    left: calc(2 * var(--gutter));
    top: var(--screen-body-top);
    width: 25.8vw;
    gap: 5vh;
  }

  .follow__btns { flex-wrap: nowrap; width: max-content; }

  @media (max-height: 760px) {
    .works__stage { top: 26vh; height: 46vh; }
    .works__role-desc { line-height: 1.55; }
  }

  .quote { height: 100svh; }

  .works__stage,
  .works__foot,
  .gallery__meta,
  .gallery__empty,
  .gallery__progress,
  .about__body,
  .about__laurels,
  .about__more { left: calc(2 * var(--gutter)); }
  .gallery__track { padding-left: calc(2 * var(--gutter)); }
}

body.overlay-open { overflow: hidden; }

.overlay-shell {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent;
  transform: none;
  overflow: hidden;
}
.overlay-shell::backdrop,
.photo-viewer::backdrop {
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}



.overlay {
  --overlay-text: rgba(247, 245, 242, 0.55);
  --ink: #f7f5f2;
  --ink-70: rgba(247, 245, 242, 0.7);
  --ink-60: rgba(247, 245, 242, 0.6);
  --ink-50: rgba(247, 245, 242, 0.5);
  --ink-40: rgba(247, 245, 242, 0.55);
  --ink-20: rgba(247, 245, 242, 0.25);
  --paper: #191917;
  --mist: #242422;
  --notice-red: var(--overlay-text);
  --bg: rgba(0, 0, 0, 0.9);
  --fg: var(--overlay-text);
  --fg-muted: var(--ink-40);
  --line: var(--ink-20);
  position: fixed;
  inset: 8px 0;
  z-index: 1;
  background: transparent;
  color: var(--overlay-text);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.overlay .pill { --pill-fg: var(--overlay-text); }
.overlay[hidden] { display: none; }
.overlay.is-open { opacity: 1; z-index: 2; }
.overlay.is-closing { pointer-events: none; }

.overlay__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-l) var(--gutter);
  transform: translateY(16px);
  transition: transform 0.4s var(--ease);
}
.overlay.is-open .overlay__inner { transform: none; }
@media (max-width: 767px) {
  .overlay__inner {
    padding-top: max(var(--space-l), env(safe-area-inset-top));
    padding-bottom: max(var(--space-l), env(safe-area-inset-bottom));
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
  }
}

@media (max-width: 767px) {
  .overlay { transform: translateY(var(--overlay-drag-y, 0px)); transition: opacity 0.4s var(--ease), transform 0.3s var(--ease); }
  .overlay.is-dragging { opacity: 1; transition: none; }

  .overlay.is-closing {
    opacity: 1;
    transform: translateY(100%);
    transition: transform var(--overlay-close-duration, 600ms) var(--ease);
    animation: overlay-exit-fade calc(var(--overlay-close-duration, 600ms) * 0.5) linear calc(var(--overlay-close-duration, 600ms) * 0.5) both;
  }
  @keyframes overlay-exit-fade { from { opacity: 1; } to { opacity: 0; } }
  .overlay.is-closing .overlay__inner { transition: none; }
}

.overlay__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  column-gap: var(--space-s);
  margin-bottom: var(--space-l);
}
.overlay__head .num { padding-top: 0.5em; }
.overlay__close {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--overlay-text);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.overlay__close:hover { color: var(--ink); }
.overlay__close:focus-visible { outline: none; }
.overlay__close svg { width: 18px; height: 18px; }

.overlay__section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: var(--space-m);
  row-gap: var(--space-s);
  border-top: 1px solid var(--ink-20);
  padding: var(--space-s) 0 var(--space-m);
}
.overlay__section + .overlay__section { margin-top: var(--space-s); }

.overlay__h3:focus { outline: none; }
.overlay__h3 {
  font-size: var(--fs-card);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--tracking-title);
}

.ov-basics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-m);
}
.ov-basics > div {
  display: grid;
  grid-template-columns: 5em 1fr;
  column-gap: 1em;
  padding: 0.7em 0;
  border-bottom: 1px solid var(--ink-20);
}
.ov-basics dt { color: var(--overlay-text); }
.ov-basics dd { color: var(--overlay-text); }

.ov-rows > li {
  display: grid;
  grid-template-columns: 9em 1fr;
  column-gap: var(--space-s);
  align-items: baseline;
  padding: 0.9em 0;
  border-bottom: 1px solid var(--ink-20);
}
.ov-rows > li:first-child { padding-top: 0; }
.ov-date { color: var(--overlay-text); font-variant-numeric: tabular-nums; }

.ov-row--selected .ov-text { color: var(--overlay-text); }
.ov-tag {
  display: inline-block;
  margin-right: 0.6em;
  padding: 0.1em 0.5em;
  border: 1px solid var(--ink-20);
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--overlay-text);
  vertical-align: 0.1em;
}
.ov-timeline .ov-date {
  font-family: var(--font-sans);
  font-size: var(--fs-card);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: var(--tracking-title);
  color: var(--overlay-text);
  font-variant-numeric: tabular-nums;
}
.ov-timeline > li { grid-template-columns: minmax(6.5em, 30%) 1fr; }

.ov-links { display: flex; flex-wrap: wrap; gap: 10px; }

.ov-sources {
  list-style: decimal;
  padding-left: 1.4em;
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--overlay-text);
}
.ov-sources li + li { margin-top: 0.3em; }
.ov-sources a { color: var(--overlay-text); word-break: break-all; border-bottom: 1px solid var(--ink-20); }
.ov-sources a:hover { border-color: var(--ink); }

.ov-prose a { color: var(--overlay-text); border-bottom: 1px solid var(--ink-20); }
.ov-prose a:hover { border-color: var(--ink); }

.ov-emph { font-weight: 700; color: var(--notice-red); }

.ov-prose { max-width: 40em; line-height: 1.8; }
.ov-prose p + p { margin-top: 0.6em; }
.ov-placeholder { color: var(--overlay-text); }

.overlay__foot {
  margin-top: var(--space-m);
  padding-top: var(--space-s);
  border-top: 1px solid var(--ink-20);
  font-size: var(--fs-xs);
  color: var(--overlay-text);
}

.works-list { border-top: 1px solid var(--ink-20); }
.works-list__row {
  display: grid;
  grid-template-columns: 5em 1fr 1fr auto;
  column-gap: var(--space-s);
  align-items: baseline;
  padding: 0.9em 0;
  border-bottom: 1px solid var(--ink-20);
  font-size: var(--fs-body);
  line-height: 1.4;
}
.works-list__year { font-family: var(--font-sans); font-variant-numeric: tabular-nums; color: var(--overlay-text); }
.works-list__title { font-weight: 500; }
.works-list__type { font-size: var(--fs-xs); color: var(--overlay-text); white-space: nowrap; }
.works-list__watch {
  grid-column: 2 / -1;
  min-width: 0;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--overlay-text);
  overflow-wrap: anywhere;
}
.works-list__watch-link {
  color: inherit;
  border-bottom: 1px solid var(--ink-20);
  white-space: nowrap;
  transition: border-color 0.3s ease;
}
.works-list__watch-link:hover,
.works-list__watch-link:focus-visible { border-color: var(--ink); }

.overlay--album .overlay__inner { max-width: 1600px; }
.overlay--album .overlay__head { margin-bottom: var(--space-m); }
.album-head { min-width: 0; }
.overlay--album .overlay__title {
  font-size: clamp(28px, 3.4vw, 60px);
  line-height: 1.15;
}
.album-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin-top: 0.9em;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--overlay-text);
}
.album-meta__sep { white-space: pre; }
.album-meta__label { color: var(--overlay-text); }
.album-meta a {
  color: var(--overlay-text);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-40);
  transition: border-color 0.3s ease;
}
.album-meta a:hover { border-bottom-color: var(--ink); }
.album-meta a:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.album-masonry {
  --album-columns: 4;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--album-columns), minmax(0, 1fr));
  gap: var(--space-s);
  align-items: start;
}
.album-masonry.is-masonry { display: block; }
.album-masonry.is-masonry > .album-masonry__item { position: absolute; }
.album-masonry[hidden] { display: none; }
.album-masonry__item {
  margin: 0;
}
.album-masonry__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.album-masonry__open:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.photo-viewer {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent;
  color: rgba(247, 245, 242, 0.55);
  transform: none;
  overflow: hidden;
  overscroll-behavior: contain;
}
.photo-viewer[open] { display: block; }
.photo-viewer__native-window { position: absolute; inset: 8px 0; overflow: hidden; }
.photo-viewer__native-surface {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  padding: calc(max(12px, env(safe-area-inset-top)) - 8px) max(16px, env(safe-area-inset-right)) calc(max(12px, env(safe-area-inset-bottom)) - 8px) max(16px, env(safe-area-inset-left));
  transform: translateY(var(--overlay-drag-y, 0px));
  transition: transform 0.3s var(--ease);
}

.photo-viewer__toolbar, .photo-viewer__navigation { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.photo-viewer button { min-width: 44px; min-height: 44px; padding: 8px 16px; border: 1px solid rgba(247, 245, 242, 0.25); border-radius: 24px; background: transparent; cursor: pointer; }
.photo-viewer button:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.photo-viewer button:disabled { opacity: 0.3; cursor: default; }
.photo-viewer__toolbar button { padding: 10px; border: 0; border-radius: 0; }
.photo-viewer__toolbar button:hover { color: #f7f5f2; }
.photo-viewer__toolbar button:focus-visible { outline: none; color: #f7f5f2; }
.photo-viewer button svg { display: block; width: 22px; height: 22px; }
.photo-viewer__count { font-family: var(--font-num); font-size: 12px; }
.photo-viewer__stage { min-width: 0; min-height: 0; display: flex; justify-content: center; align-items: center; }
.photo-viewer__image { display: block; width: 100%; height: 100%; object-fit: contain; }
.photo-viewer__image[hidden] { display: none; }
.photo-viewer__status { position: absolute; top: 50%; left: 16px; right: 16px; margin: 0; text-align: center; pointer-events: none; }
.photo-viewer__status[hidden] { display: none; }
.album-masonry__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto 3 / 4;
  background: var(--ink-20);
}
.album-masonry__item figcaption {
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1.45;
  color: var(--overlay-text);
}
.album-empty {
  display: flex;
  align-items: flex-end;
  min-height: clamp(220px, 36vh, 400px);
  padding: var(--space-s);
  background: var(--mist);
  border: 1px solid var(--ink-20);
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--overlay-text);
}
.album-empty[hidden] { display: none; }
@media (max-width: 1023px) {
  .album-masonry { --album-columns: 3; }
}
@media (max-width: 767px) {
  .album-masonry { --album-columns: 2; }
}

@media (max-width: 767px) {

  .screen { padding-bottom: 74px; }

  .about__laurels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    justify-items: center;
    align-items: stretch;
  }
  .laurel { --laurel-h: 28px; gap: 5px; max-width: 100%; }
  .laurel__event { white-space: normal; letter-spacing: 0.06em; margin-right: -0.06em; text-wrap: balance; }
  .laurel__honor { font-size: 15px; white-space: normal; text-wrap: balance; }

  .about { gap: 16px; }
  html[lang="zh-CN"] .about__more { margin-top: 14px; }
  .about__meta { display: none; }
  .laurel__text { gap: 2px; }

  .follow {
    --follow-detail: rgba(247, 245, 242, 0.55);
    --bg: var(--ink);
    --fg: var(--paper);
    --fg-muted: var(--paper-80);
    --line: var(--paper-30);
    background-color: var(--bg);
    color: var(--fg);
    gap: clamp(18px, 3.2svh, 24px);
    overflow: visible;
    padding-bottom: calc(24px + 100lvh - 100dvh);
  }
  .screen.follow { min-height: 100dvh; }
  html.is-device-fill main > .follow {
    padding-bottom: calc(24px + var(--chrome-overlap-half) + 100lvh - 100dvh);
  }
  .follow__stage {
    inset: 0;
    overflow: hidden;
  }

  .follow__stage::before {
    content: "";
    position: absolute;
    inset: 50% 0 0;
    z-index: 1;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 100%);
  }
  .follow__stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(25, 25, 23, 0.7);
  }
  .follow__img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 82% bottom;
    transform: none;
  }
  .follow__tag-layer { display: none; }

  .follow__head-layer { margin-top: auto; color: var(--follow-detail); }
  .follow__column { margin-top: 0; gap: clamp(18px, 3.2svh, 24px); color: var(--follow-detail); }
  .follow__label { margin-bottom: 8px; color: var(--follow-detail); }
  .follow .screen__tag { color: var(--paper-80); }
  .follow__btns .pill { --pill-fg: var(--follow-detail); --pill-border: rgba(247, 245, 242, 0.2); }
  .follow__btns .pill:hover,
  .follow__btns .pill:focus-visible { --pill-fg: var(--paper-80); --pill-border: var(--paper-80); }
  .follow__list li { border-color: var(--follow-detail); }
  .follow__list a:hover,
  .follow__list a:focus-visible { color: var(--paper-80); }
  .follow__list a::after { color: var(--follow-detail); }

  .frame:has(.frame__nav-item[data-screen="follow"][aria-current="page"]) {
    --frame-fg: var(--paper);
    --frame-fg-muted: var(--paper-80);
    --frame-side: var(--paper-80);
    --frame-border: var(--paper-80);
  }
  .follow__line { font-size: 16px; line-height: 1.5; margin-bottom: clamp(16px, 2.7svh, 20px); }
  .follow__btns {
    --follow-button-width: calc(74.5px * 1.5);
    display: grid;
    width: min(100%, calc(3 * var(--follow-button-width) + 20px));
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  html[lang="en"] .follow__btns { --follow-button-width: calc(112px * 1.5); }
  .follow__btns .pill { width: 100%; padding-inline: clamp(8px, 2vw, 14px); }
  .follow__btns a[href*="instagram.com"] { grid-column: 1 / -1; justify-self: start; width: auto; padding-inline: 14px; }
  .follow__list a { padding: 10px 0 12px; }

}

@media (max-width: 374px) {
  .follow__btns { --follow-button-width: calc(53px * 1.5); }
  .follow__btns .pill:not([href*="instagram.com"]) { padding-inline: 0; gap: 2px; letter-spacing: 0; }
}

@media (max-width: 900px) {
  .follow { min-height: 100svh; }
  .overlay__section { grid-template-columns: 1fr; }
  .ov-basics { grid-template-columns: 1fr; }
  .ov-rows > li { grid-template-columns: 5.2em 1fr; }
  .ov-timeline > li { grid-template-columns: 5.4em 1fr; }
  .ov-timeline .ov-date { font-size: 17px; }
  .works-list__row { grid-template-columns: 3.6em 1fr; row-gap: 0.15em; }
  .works-list__year { grid-column: 1; grid-row: 1 / 3; }
  .works-list__title { grid-column: 2; }
  .works-list__role { grid-column: 2; color: var(--ink-40); font-size: var(--fs-xs); }
  .works-list__type { display: none; }

}

html[lang="en"] .about__bio,
html[lang="en"] .works__role-desc,
html[lang="en"] .follow__line,
html[lang="en"] .overlay__content { line-height: 1.5; letter-spacing: 0; }
html[lang="en"] .works__name { font-size: clamp(24px, min(2.5vw, 5.2vh), 48px); line-height: 1.12; }

@media (min-width: 768px) and (min-height: 680px) {
  html[lang="en"] .about { --about-bio-width: calc(var(--fs-body) * 36); }
  html[lang="en"] .about__bio { font-size: clamp(12px, 0.95vw, 15px); }
  html[lang="en"] .about__bio p + p { margin-top: 0.45em; }

  html[lang="en"] .laurel__text { max-width: clamp(150px, 13vw, 230px); }
  html[lang="en"] .laurel__honor { white-space: normal; text-wrap: balance; }
  html[lang="en"] .laurel__event { white-space: normal; text-wrap: balance; letter-spacing: 0.08em; margin-right: -0.08em; }
}
@media (min-width: 768px) and (min-height: 680px) and (max-height: 800px) {
  html[lang="en"] .about__bio { font-size: 12.5px; line-height: 1.45; }
}
html[lang="en"] .works-list__title { letter-spacing: 0; }
.quote__text--latin { font-family: var(--font-serif); font-size: clamp(20px, 1.8vw, 30px); line-height: 1.6; }

.is-focus-silent:focus-visible { outline: none; }
.is-focus-silent:focus-visible .album-card__cover { outline: none; }

html[lang="en"] .about__laurels .laurel__event { font-size: calc(var(--fs-xs) * 0.85); }
html[lang="en"] .about__laurels .laurel__honor { font-size: min(clamp(15.3px, 1.275vw, 18.7px), 2.55vh); }
@media (max-width: 767px) {
  html[lang="en"] .about__laurels .laurel__honor { font-size: 12.75px; }
  html[lang="en"] .about__more { margin-top: 14px; }
}

.photo-viewer { transition: opacity 180ms var(--ease); }
.photo-viewer.is-closing { opacity: 0; }
.photo-viewer.is-closing::backdrop { animation: photo-viewer-backdrop-fade 180ms linear both; }
@keyframes photo-viewer-backdrop-fade { from { opacity: 1; } to { opacity: 0; } }
@media (max-width: 767px) {
  .photo-viewer.is-dragging .photo-viewer__native-surface { transition: none; }
  .photo-viewer.is-closing .photo-viewer__native-surface { transform: translateY(calc(100% + 16px)); transition: transform var(--overlay-close-duration, 600ms) var(--ease); }
  .photo-viewer.is-closing {
    opacity: 1;
    animation: photo-viewer-backdrop-fade calc(var(--overlay-close-duration, 600ms) * 0.5) linear calc(var(--overlay-close-duration, 600ms) * 0.5) both;
  }
  .photo-viewer.is-closing::backdrop { animation: photo-viewer-backdrop-fade calc(var(--overlay-close-duration, 600ms) * 0.5) linear calc(var(--overlay-close-duration, 600ms) * 0.5) both; }
}

.analytics-preference { margin-top: 1.2em; }
.analytics-preference__label { display: flex; align-items: flex-start; gap: 0.65em; cursor: pointer; }
.analytics-preference__label input { flex: 0 0 auto; width: 1.1em; height: 1.1em; margin-top: 0.35em; accent-color: var(--ink); }
.analytics-preference__label input:focus-visible, .analytics-preference button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.analytics-preference p { margin-top: 0.6em; }
.analytics-preference button { margin-top: 0.6em; padding: 0.35em 0.7em; border: 1px solid currentColor; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.analytics-preference button[hidden] { display: none; }
