/* ============================================================
   林承铭 · 短视频作品集
   ============================================================ */

:root {
  --bg: #08090b;
  --bg-soft: #0d0f13;
  --panel: #121419;
  --panel-2: #171a20;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f3f1ec;
  --ink-dim: #cfcdc7;
  --muted: #8c9099;
  --accent: #ff5a1f;
  --accent-ink: #1a0a03;
  --radius: 14px;
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-latin: "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 1em; height: 1em; fill: currentColor; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ─────────────────────── 导航 ─────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    padding 0.4s var(--ease);
}

.nav.is-solid {
  background: rgba(8, 9, 11, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.brand b { font-weight: 700; }
.brand i { font-style: normal; color: var(--muted); font-size: 13px; }

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.16);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.16); }
  50% { box-shadow: 0 0 0 7px rgba(255, 90, 31, 0.04); }
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 6px 24px -10px rgba(255, 90, 31, 0.8);
}

.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -12px rgba(255, 90, 31, 0.9); }

/* ─────────────────────── 首屏 ─────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px var(--pad) 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(255, 90, 31, 0.16), transparent 55%),
    radial-gradient(90% 80% at 12% 90%, rgba(52, 88, 255, 0.08), transparent 60%),
    linear-gradient(180deg, #0a0b0e 0%, #08090b 60%, #08090b 100%);
}

.hero-frame {
  position: absolute;
  top: 8%;
  right: 2%;
  width: min(52vw, 720px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: center / cover no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: grayscale(0.25) contrast(1.05);
  -webkit-mask-image: radial-gradient(120% 120% at 70% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(120% 120% at 70% 30%, #000 20%, transparent 78%);
  transform: rotate(-1.4deg);
}

.hero-frame.is-on { opacity: 0.38; }

.hero-glow {
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: 90vw;
  height: 60vh;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 90, 31, 0.09), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
}

.eyebrow {
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.rec {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.12);
}

.hero-title {
  margin: 0;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-title .line {
  display: block;
  font-size: clamp(64px, 11.5vw, 168px);
  font-family: var(--font);
}

.hero-title .line-sub {
  font-size: clamp(26px, 4.6vw, 62px);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 241, 236, 0.55);
  margin-top: 10px;
}

@supports not (-webkit-text-stroke: 1px #fff) {
  .hero-title .line-sub { color: rgba(243, 241, 236, 0.58); }
}

.hero-lead {
  max-width: 36em;
  margin: 32px 0 0;
  font-size: clamp(15px, 1.35vw, 18px);
  color: var(--ink-dim);
  line-height: 1.85;
}

.hero-lead b { color: var(--ink); font-weight: 700; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s,
    color 0.25s, box-shadow 0.25s;
}

.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 36px -14px rgba(255, 90, 31, 0.9);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -16px rgba(255, 90, 31, 1); }

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.3); transform: translateY(-2px); }

.btn-ghost span { color: var(--muted); font-size: 11px; letter-spacing: 0.1em; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 72px);
  margin: clamp(44px, 7vh, 76px) 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 760px;
}

.hero-stats div { display: flex; flex-direction: column-reverse; gap: 4px; }

.hero-stats dt { font-size: 12.5px; letter-spacing: 0.08em; color: var(--muted); }

.hero-stats dd {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-stats dd b { font-weight: 800; }

.scroll-hint {
  position: absolute;
  left: var(--pad);
  bottom: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-hint i {
  display: block;
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* ─────────────────────── 区块通用 ─────────────────────── */
section { position: relative; z-index: 2; scroll-margin-top: 84px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 0 var(--pad);
  margin: 0 auto 40px;
  max-width: 1280px;
}

.section-head .eyebrow { margin-bottom: 10px; }

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.h2-en { color: var(--muted); font-weight: 400; font-size: 0.5em; letter-spacing: 0.05em; }

.section-note {
  margin: 0 0 6px;
  max-width: 24em;
  font-size: 13.5px;
  color: var(--muted);
  text-align: right;
}

/* ─────────────────────── 作品 ─────────────────────── */
.works { padding: 110px 0 40px; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 22px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.card:hover {
  border-color: rgba(255, 90, 31, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--panel-2);
  overflow: hidden;
}

.card-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease), filter 0.4s;
  filter: saturate(0.95) brightness(0.92);
}

.card:hover .card-poster { transform: scale(1.04); filter: saturate(1.05) brightness(1); }

.card-poster.is-missing { opacity: 0; }

.card-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(80% 120% at 20% 0%, rgba(255, 90, 31, 0.24), transparent 60%),
    linear-gradient(140deg, #1b1e25, #0e1014 60%);
}

.card-fallback span {
  font-family: var(--font-latin);
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: -0.04em;
}

.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 9, 11, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s;
}

.card-play svg { width: 20px; height: 20px; margin-left: 3px; }

.card:hover .card-play {
  transform: scale(1.08);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.card-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  background: rgba(8, 9, 11, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.card-dur {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 3px 8px;
  border-radius: 5px;
  font-family: var(--font-latin);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  background: rgba(8, 9, 11, 0.72);
  letter-spacing: 0.04em;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
}

.card-no {
  font-family: var(--font-latin);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.card-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-sub {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-sub i { font-style: normal; color: rgba(255, 255, 255, 0.24); }

.card-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.metric {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  font-size: 12px;
}

.metric b { font-family: var(--font-latin); font-size: 13px; font-weight: 700; letter-spacing: 0.01em; }
.metric span { color: var(--muted); font-size: 11px; }

.card-hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}

.card-hit:focus-visible { outline-offset: -4px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--accent);
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, gap 0.2s;
}

.card-link svg { width: 12px; height: 12px; }
.card:hover .card-link { border-bottom-color: rgba(255, 90, 31, 0.5); gap: 9px; }

/* ─────────────────────── 能力条 ─────────────────────── */
.strip {
  margin: 90px 0 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.strip-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  padding-left: var(--pad);
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  animation: drift 42s linear infinite;
}

.strip-track i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.strip:hover .strip-track { animation-play-state: paused; }

/* ─────────────────────── 关于 ─────────────────────── */
.about { padding: 120px 0 40px; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.about-text p { margin: 0 0 18px; color: var(--ink-dim); font-size: 15.5px; line-height: 1.95; }

.about-lead {
  font-size: clamp(19px, 2.1vw, 25px) !important;
  line-height: 1.7 !important;
  color: var(--ink) !important;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.about-facts {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.about-facts li {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.about-facts b { font-family: var(--font-latin); font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.about-facts span { color: var(--ink-dim); }

.about-side { display: flex; flex-direction: column; gap: 18px; }

.product-card,
.award-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.product-tag {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-card h3 { margin: 0 0 10px; font-size: 21px; letter-spacing: -0.01em; }

.product-desc { margin: 0 0 18px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }

.product-stats { display: flex; gap: 34px; margin-bottom: 18px; }

.product-stats div { display: flex; flex-direction: column-reverse; }
.product-stats b { font-family: var(--font-latin); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.product-stats span { font-size: 11.5px; color: var(--muted); letter-spacing: 0.06em; }

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}

.product-link:hover { color: var(--accent); border-color: var(--accent); }
.product-link svg { width: 13px; height: 13px; }

.award-card ul { list-style: none; margin: 0; padding: 0; }

.award-card li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
  font-size: 13px;
  color: var(--ink-dim);
}

.award-card li:last-child { border-bottom: 0; }
.award-card li span { font-family: var(--font-latin); color: var(--muted); font-size: 12px; }

/* ─────────────────────── 联系 ─────────────────────── */
.contact {
  padding: 130px var(--pad) 120px;
  max-width: 1280px;
  margin: 0 auto;
}

.contact-title {
  margin: 10px 0 40px;
  font-size: clamp(34px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.contact-note { margin: 30px 0 0; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 26px var(--pad) 34px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.foot-links { display: flex; gap: 22px; }
.foot a:hover { color: var(--ink); }

/* ─────────────────────── 播放器 ─────────────────────── */
.player {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 40px);
}

.player[hidden] { display: none; }

.player-bg {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 6, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.player-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1080px);
  --ar: 1.7778;
  background: #0b0c0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 120px -40px #000;
  animation: pop 0.35s var(--ease);
}

/* 竖屏作品：播放器收窄成手机比例 */
.player-shell.is-portrait { width: min(100%, calc(74svh * var(--ar))); }

@keyframes pop {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.player-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 5;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 9, 11, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}

.player-close:hover { background: rgba(255, 90, 31, 0.9); transform: rotate(90deg); }
.player-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.player-stage {
  position: relative;
  aspect-ratio: var(--ar);
  max-height: 74svh;
  background: #000;
  display: grid;
  place-items: center;
}

.player-stage video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: contain;
}

.player-poster {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  transition: opacity 0.3s;
  pointer-events: none;
}

.player-poster.is-hidden { opacity: 0; }

.player-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.player-loading.is-on { opacity: 1; }

.player-loading span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.player-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  background: radial-gradient(70% 100% at 50% 0%, rgba(255, 90, 31, 0.14), transparent 65%);
}

.player-empty[hidden] { display: none; }
.player-empty p { margin: 0; color: var(--ink-dim); font-size: 15px; }

.player-empty a {
  justify-self: center;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13.5px;
}

.player-empty a:hover { border-color: var(--accent); color: var(--accent); }

.player-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.pb-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}

.pb-btn:hover { background: rgba(255, 255, 255, 0.08); }
.pb-btn svg { width: 17px; height: 17px; }
.pb-btn .i-play { display: none; }
.pb-btn .i-pause { display: block; }
.player.is-paused .pb-btn .i-play { display: block; }
.player.is-paused .pb-btn .i-pause { display: none; }
.pb-btn .i-mute { display: none; }
.player.is-muted .pb-btn .i-vol { display: none; }
.player.is-muted .pb-btn .i-mute { display: block; }

.pb-time {
  font-family: var(--font-latin);
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  min-width: 40px;
}

.pb-track {
  position: relative;
  flex: 1;
  height: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  touch-action: none;
}

.pb-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
}

.pb-buffer,
.pb-progress {
  position: absolute;
  left: 0;
  height: 3px;
  border-radius: 3px;
  width: 0;
}

.pb-buffer { background: rgba(255, 255, 255, 0.22); }
.pb-progress { background: var(--accent); }

.pb-thumb {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  left: 0;
  transform: translateX(-50%) scale(0);
  transition: transform 0.18s var(--ease);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.16);
}

.pb-track:hover .pb-thumb,
.pb-track:focus-visible .pb-thumb,
.player.is-scrubbing .pb-thumb { transform: translateX(-50%) scale(1); }

.player-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px 18px;
}

.player-meta h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.player-meta p { margin: 0; font-size: 12.5px; color: var(--muted); }

.player-douyin {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.player-douyin:hover { color: var(--accent); border-color: var(--accent); }
.player-douyin svg { width: 12px; height: 12px; }

.noscript { padding: 0 var(--pad); color: var(--muted); }

/* ─────────────────────── 响应式 ─────────────────────── */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .section-note { display: none; }
  .hero-frame { width: 78vw; right: -14%; opacity: 0.22; }
  .nav-links { display: none; }
}

@media (max-width: 720px) {
  :root { --pad: 20px; }

  .nav { padding: 12px 20px; }
  .nav-cta { padding: 8px 14px; font-size: 12.5px; }

  .hero { padding-top: 104px; min-height: 92svh; }
  .hero-title .line { font-size: clamp(52px, 17vw, 84px); }
  .hero-title .line-sub { font-size: clamp(22px, 7vw, 34px); }
  .hero-lead { font-size: 15px; }

  .hero-stats { gap: 26px; }
  .hero-stats dd { font-size: 24px; }

  .scroll-hint { display: none; }

  .works { padding-top: 72px; }
  .section-head { margin-bottom: 26px; }
  .work-grid { grid-template-columns: 1fr; gap: 16px; }
  .card-body { padding: 15px 15px 17px; }
  .card-title { font-size: 15.5px; }

  .strip { margin-top: 60px; }

  .about { padding-top: 80px; }
  .about-facts li { grid-template-columns: 1fr; gap: 2px; }
  .about-facts b { font-size: 12px; }

  .contact { padding: 84px 20px 72px; }
  .contact-actions .btn { flex: 1 1 auto; justify-content: center; }

  /* 播放器：移动端全屏 */
  .player { padding: 0; align-items: stretch; }
  .player-shell,
  .player-shell.is-portrait {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .player-stage { aspect-ratio: auto; max-height: none; flex: 1 1 auto; min-height: 0; }
  .player-meta { padding: 0 16px 14px; }
  .player-meta h3 { font-size: 14.5px; }
  .player-bar { padding: 8px 10px 10px; gap: 8px; }
  .pb-btn { width: 38px; height: 38px; }
  .pb-time { min-width: 36px; font-size: 11px; }
  .player-douyin { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
