:root {
  --bg: #150f10;
  --bg-soft: #201617;
  --panel: rgba(39, 25, 25, 0.78);
  --panel-strong: rgba(51, 31, 30, 0.9);
  --card: rgba(247, 235, 222, 0.08);
  --card-strong: rgba(255, 244, 229, 0.11);
  --text: #f7eadf;
  --muted: #cfbfb2;
  --line: rgba(255, 236, 219, 0.12);
  --sun: #ff7f5d;
  --sun-soft: rgba(255, 127, 93, 0.24);
  --wang: #d8b16b;
  --wang-soft: rgba(216, 177, 107, 0.22);
  --shared: #f2e6d6;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Source Han Sans SC', sans-serif;
  --font-serif: 'Noto Serif SC', 'STSong', 'Songti SC', 'SimSun', 'Noto Serif CJK SC', 'Source Han Serif SC', serif;
  --font-display: 'Bebas Neue', 'DIN Alternate', 'Arial Narrow', 'Bahnschrift SemiCondensed', 'Impact', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 127, 93, 0.12), transparent 26%),
    radial-gradient(circle at 86% 16%, rgba(216, 177, 107, 0.16), transparent 24%),
    radial-gradient(circle at 48% 100%, rgba(255, 255, 255, 0.06), transparent 28%),
    linear-gradient(180deg, #160f10 0%, #1a1213 28%, #120b0c 100%);
  overflow-x: hidden;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(255, 201, 160, 0.14), rgba(255, 127, 93, 0.08) 34%, transparent 72%);
  filter: blur(12px);
  transition: opacity 0.25s ease, transform 0.06s linear;
}

.cursor-glow.is-visible {
  opacity: 1;
}

.cursor-glow.is-pressed {
  transform: scale(0.92);
}

.year-beacon {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 12;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  min-width: 132px;
  border: 1px solid rgba(255, 240, 225, 0.12);
  border-radius: 18px;
  background: rgba(21, 12, 12, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.year-beacon-label {
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.year-beacon strong {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: #fff0e2;
}

body.lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: '';
  position: fixed;
  inset: auto auto -130px -130px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 127, 93, 0.1), transparent 70%);
  filter: blur(14px);
  pointer-events: none;
}

.page-shell::after {
  inset: 12% -120px auto auto;
  background: radial-gradient(circle, rgba(216, 177, 107, 0.14), transparent 72%);
}

.scoreboard-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background: rgba(9, 6, 6, 0.8);
  animation: overlay-hide 2.4s ease forwards;
  pointer-events: none;
}

.scoreboard-overlay.is-dismissed {
  opacity: 0;
  visibility: hidden;
}

.scoreboard-panel {
  width: min(92vw, 460px);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  text-align: center;
  color: #fff4ea;
  background: linear-gradient(180deg, rgba(87, 31, 26, 0.94), rgba(24, 13, 13, 0.98));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
}

.scoreboard-label,
.eyebrow,
.filter-label,
.player-subtitle,
.album-index,
.quote-holder,
.panel-year,
.panel-holder,
.node-year {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.scoreboard-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 18px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5rem);
}

.scoreboard-divider {
  width: 54px;
  height: 2px;
  background: rgba(255, 238, 220, 0.72);
}

.hero,
.section,
.control-bar {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  padding: 26px 0 52px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 247, 235, 0.04);
  backdrop-filter: blur(18px);
}

.brand,
.hero h1,
.hero-stage h2,
.section-heading h2,
.timeline-panel-body h3,
.moment-card h3,
.portrait-copy h3,
.honour-ribbon h3,
.ribbon-card h3,
.album-copy h3,
.gallery-copy h3,
.quote-stage blockquote {
  font-family: var(--font-serif);
}

.brand {
  font-size: 1rem;
  font-weight: 700;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.topbar-links a {
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-top: 28px;
}

.card-panel,
.trajectory-board,
.timeline-panel,
.moment-card,
.player-portrait,
.honour-ribbon,
.ribbon-card,
.album-card,
.gallery-card,
.quote-stage,
.control-bar {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.hero-copy,
.hero-stage {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.hero-copy::before,
.hero-stage::before,
.trajectory-board::before,
.album-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 35%, transparent 62%, rgba(255, 255, 255, 0.05));
  pointer-events: none;
}

.hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.7rem, 5.6vw, 5.4rem);
  line-height: 1.02;
}

.hero-text,
.hero-stage p,
.section-heading p,
.timeline-panel-body p,
.moment-card p,
.portrait-copy p,
.honour-ribbon p,
.ribbon-card p,
.album-copy p,
.gallery-copy p,
.quote-stage p {
  line-height: 1.9;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button,
.segmented-button,
.album-nav,
.lightbox-close {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.button {
  padding: 12px 20px;
}

.button.primary,
.segmented-button.active,
.album-nav {
  color: #1a1010;
  background: linear-gradient(135deg, #ffd3b7, #ff9e72);
}

.button.secondary,
.segmented-button {
  color: var(--text);
  background: rgba(255, 248, 240, 0.08);
  border: 1px solid rgba(255, 240, 228, 0.12);
}

.button.small {
  padding: 10px 16px;
}

.hero-stage {
  display: grid;
  align-content: space-between;
  min-height: 420px;
}

.hero-stage-visual {
  min-height: 250px;
  margin-top: 18px;
}

.hero-wave {
  position: relative;
  min-height: 200px;
  margin-top: 16px;
}

.hero-wave svg {
  width: 100%;
  height: 220px;
}

.wave-track {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
  animation: draw-line 2.8s ease forwards 0.7s;
}

.wave-track.sun {
  stroke: url(#sunGradient);
}

.wave-track.wang {
  stroke: url(#wangGradient);
}

.wave-label {
  position: absolute;
  top: 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.wave-label.sun {
  left: 8px;
  color: var(--sun);
}

.wave-label.wang {
  right: 8px;
  color: var(--wang);
}

.control-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 18px;
  margin: 0 auto 42px;
  padding: 20px;
  border-radius: var(--radius-lg);
}

.filter-group {
  display: grid;
  gap: 10px;
}

.segmented-control {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-summary-block {
  min-width: 0;
}

.filter-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-summary span,
.filter-summary strong {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 240, 228, 0.1);
  background: rgba(255, 248, 240, 0.06);
}

.filter-summary strong {
  color: #fff2e4;
  background: linear-gradient(135deg, rgba(255, 127, 93, 0.2), rgba(216, 177, 107, 0.14));
}

.chapter-rail {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto 42px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(55, 31, 30, 0.82), rgba(24, 13, 13, 0.92));
  box-shadow: var(--shadow);
}

.chapter-rail-head {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.chapter-rail-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
}

.chapter-rail-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-behavior: smooth;
}

.chapter-chip {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(255, 241, 227, 0.12);
  border-radius: 22px;
  color: var(--text);
  text-align: left;
  background: rgba(255, 248, 240, 0.05);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.chapter-chip span {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.chapter-chip strong {
  font-family: var(--font-serif);
  line-height: 1.45;
}

.chapter-chip.sun {
  background: linear-gradient(135deg, rgba(255, 127, 93, 0.1), rgba(255, 255, 255, 0.04));
}

.chapter-chip.wang {
  background: linear-gradient(135deg, rgba(216, 177, 107, 0.1), rgba(255, 255, 255, 0.04));
}

.chapter-chip.shared {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.chapter-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 241, 227, 0.22);
}

.segmented-button {
  padding: 10px 16px;
  transition: transform 0.22s ease, background 0.22s ease;
}

.segmented-button,
.button {
  white-space: nowrap;
}

.segmented-button:hover,
.button:hover,
.album-nav:hover,
.trajectory-node:hover,
.media-poster:hover {
  transform: translateY(-2px);
}

.section {
  padding: 38px 0;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.9rem, 3.6vw, 3.5rem);
  line-height: 1.14;
}

.trajectory-board {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-xl);
}

.trajectory-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-item.sun .legend-dot {
  background: var(--sun);
}

.legend-item.wang .legend-dot {
  background: var(--wang);
}

.legend-item.shared .legend-dot {
  background: var(--shared);
}

.trajectory-stage {
  position: relative;
  min-height: 540px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 60%);
}

.trajectory-stage::before {
  content: 'Intensity';
  position: absolute;
  left: 18px;
  top: 18px;
  color: rgba(255, 236, 219, 0.4);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

#trajectorySvg {
  width: 100%;
  height: 540px;
}

.grid-line {
  stroke: rgba(255, 240, 225, 0.1);
  stroke-width: 1;
  stroke-dasharray: 6 10;
}

.curve {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.12));
  stroke-dasharray: 2200;
  stroke-dashoffset: 2200;
  animation: draw-line 2.4s ease forwards;
}

.curve.sun {
  stroke: url(#sunGradient);
}

.curve.wang {
  stroke: url(#wangGradient);
  animation-delay: 0.24s;
}

.curve-sweep {
  fill: none;
  stroke-width: 11;
  stroke-linecap: round;
  opacity: 0.75;
  mix-blend-mode: screen;
  stroke-dasharray: 160 2100;
  animation: sweep-line 4.2s linear infinite;
}

.curve-sweep.sun {
  stroke: url(#sunSweepGradient);
}

.curve-sweep.wang {
  stroke: url(#wangSweepGradient);
  animation-delay: 1.3s;
}

.curve-sweep.is-static {
  opacity: 0.24;
  animation: none;
  stroke-dasharray: 120 2100;
  stroke-dashoffset: 0;
}

.trajectory-overlay {
  position: absolute;
  inset: 0;
}

.trajectory-node-wrap {
  position: absolute;
  transform: translate(-50%, -50%);
}

.trajectory-mobile-list {
  display: none;
}

.trajectory-node-trigger {
  position: relative;
  z-index: 2;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: node-pulse 2.6s ease-in-out infinite;
}

.trajectory-node-trigger:hover,
.trajectory-node-trigger[aria-expanded='true'] {
  transform: scale(1.12);
}

.trajectory-node-trigger.sun {
  color: var(--sun);
}

.trajectory-node-trigger.wang {
  color: var(--wang);
}

.trajectory-node-trigger.shared {
  color: var(--shared);
}

.trajectory-node {
  position: absolute;
  width: 112px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  text-align: left;
  color: var(--text);
  background: rgba(18, 11, 11, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
  transform: translate(18px, -50%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.24s ease, border-color 0.24s ease, opacity 0.24s ease;
}

.trajectory-node strong,
.trajectory-node small {
  display: block;
}

.trajectory-node strong {
  margin: 6px 0;
  font-size: 0.93rem;
  line-height: 1.45;
}

.trajectory-node small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.trajectory-node.sun {
  border-color: rgba(255, 127, 93, 0.4);
}

.trajectory-node.wang {
  border-color: rgba(216, 177, 107, 0.4);
}

.trajectory-node.shared {
  border-color: rgba(255, 245, 235, 0.32);
}

.trajectory-node.is-active {
  transform: translate(18px, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.34);
}

.trajectory-node.sun.is-active {
  border-color: rgba(255, 127, 93, 0.8);
  box-shadow: 0 0 0 1px rgba(255, 127, 93, 0.25), 0 0 30px rgba(255, 127, 93, 0.32);
}

.trajectory-node.wang.is-active {
  border-color: rgba(216, 177, 107, 0.8);
  box-shadow: 0 0 0 1px rgba(216, 177, 107, 0.24), 0 0 30px rgba(216, 177, 107, 0.3);
}

.trajectory-node.shared.is-active {
  border-color: rgba(255, 245, 235, 0.7);
  box-shadow: 0 0 0 1px rgba(255, 245, 235, 0.2), 0 0 30px rgba(255, 245, 235, 0.24);
}

.scroll-timeline {
  display: grid;
  gap: 20px;
}

.timeline-panel {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 220px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 241, 227, 0.08);
  background: linear-gradient(180deg, rgba(32, 18, 18, 0.9), rgba(20, 10, 10, 0.96));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.timeline-panel-head {
  position: relative;
  display: grid;
  align-content: end;
  gap: 10px;
  width: 100%;
  min-height: 220px;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 0;
  color: inherit;
  text-align: left;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  isolation: isolate;
  cursor: pointer;
}

.timeline-panel-head::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(9, 7, 7, 0.04), rgba(9, 7, 7, 0.4));
  pointer-events: none;
}

.timeline-panel-head.sun {
  background: transparent;
}

.timeline-panel-head.wang {
  background: transparent;
}

.timeline-panel-head.shared {
  background: transparent;
}

.timeline-panel-body {
  padding: 24px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, rgba(56, 31, 29, 0.44), rgba(30, 16, 16, 0.76));
}

.timeline-panel-body h3 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.3vw, 2.45rem);
  line-height: 1.3;
}

.timeline-panel-body > p:first-of-type {
  color: #f1e0d2;
  font-size: 1.05rem;
  line-height: 1.9;
}

.timeline-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.06) brightness(0.92);
  transition: transform 0.42s ease, filter 0.42s ease;
}

.timeline-panel-meta {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  gap: 10px;
  min-height: 220px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.72));
}

.timeline-panel-head.sun .timeline-panel-meta {
  background: linear-gradient(180deg, rgba(255, 127, 93, 0.08), rgba(0, 0, 0, 0.66));
}

.timeline-panel-head.wang .timeline-panel-meta {
  background: linear-gradient(180deg, rgba(216, 177, 107, 0.08), rgba(0, 0, 0, 0.66));
}

.timeline-panel-head.shared .timeline-panel-meta {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.66));
}

.timeline-panel:hover .timeline-photo,
.timeline-panel:focus-within .timeline-photo {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.08) brightness(0.98);
}

.timeline-panel:hover,
.timeline-panel:focus-within {
  border-color: rgba(255, 241, 227, 0.16);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.panel-year,
.panel-holder {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(255, 241, 227, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  background: rgba(18, 11, 11, 0.28);
}

.panel-year {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.panel-holder {
  color: #f6e6d7;
  font-size: 0.82rem;
}

.timeline-wave-line {
  position: relative;
  height: 48px;
  margin: 18px 0;
  overflow: hidden;
}

.timeline-wave-line::before {
  content: '';
  position: absolute;
  inset: 14px 0 0;
  border-top: 2px dashed rgba(255, 241, 227, 0.14);
}

.timeline-wave-line::after {
  content: '';
  position: absolute;
  inset: 4px auto auto 0;
  width: 180px;
  height: 28px;
  border-radius: 999px;
  filter: blur(0.2px);
  animation: pulse-slide 2.8s ease-in-out infinite;
}

.timeline-wave-line.rise::after,
.timeline-wave-line.surge::after {
  background: linear-gradient(90deg, rgba(255, 127, 93, 0), rgba(255, 127, 93, 0.72), rgba(255, 127, 93, 0));
}

.timeline-wave-line.crest::after,
.timeline-wave-line.peak::after,
.timeline-wave-line.glow::after {
  background: linear-gradient(90deg, rgba(216, 177, 107, 0), rgba(255, 236, 195, 0.92), rgba(216, 177, 107, 0));
}

.timeline-wave-line.plateau::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 212, 188, 0.82), rgba(255, 255, 255, 0));
}

.timeline-detail {
  color: #eadace;
  line-height: 1.86;
}

.moments-grid {
  display: grid;
  gap: 22px;
}

.moment-card {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  padding: 22px;
  border-radius: var(--radius-xl);
}

.moment-card.sun {
  background: linear-gradient(135deg, rgba(255, 127, 93, 0.11), rgba(51, 31, 30, 0.88));
}

.moment-card.wang {
  background: linear-gradient(135deg, rgba(216, 177, 107, 0.1), rgba(51, 31, 30, 0.88));
}

.moment-card.shared {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(51, 31, 30, 0.88));
}

.moment-detail {
  color: #f2e1d5;
}

.featured-stack {
  display: grid;
  gap: 26px;
}

.featured-panel {
  position: relative;
  min-height: 74vh;
  --parallax-shift: 0px;
  --parallax-scale: 1;
  --parallax-glow: 0.2;
  border: 1px solid var(--line);
  border-radius: 38px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(35, 19, 18, 0.96), rgba(13, 8, 8, 0.98));
  box-shadow: var(--shadow);
}

.featured-backdrop {
  position: absolute;
  inset: 0;
  transform: translateY(var(--parallax-shift)) scale(var(--parallax-scale));
  transform-origin: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 127, 93, 0.22), transparent 26%),
    radial-gradient(circle at 80% 18%, rgba(216, 177, 107, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 32%, transparent 64%, rgba(255, 255, 255, 0.05));
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.featured-panel.sun .featured-backdrop {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 127, 93, 0.28), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 32%, transparent 64%, rgba(255, 255, 255, 0.05));
}

.featured-panel.wang .featured-backdrop {
  background:
    radial-gradient(circle at 80% 18%, rgba(216, 177, 107, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 32%, transparent 64%, rgba(255, 255, 255, 0.05));
}

.featured-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
  min-height: 74vh;
  padding: 38px;
  align-items: end;
}

.featured-content::before {
  content: '';
  position: absolute;
  inset: auto 38px 30px 38px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 237, 216, 0.34), rgba(255, 255, 255, 0));
}

.featured-copy {
  max-width: 760px;
  transform: translateY(26px);
  opacity: 0.58;
  transition: transform 0.55s ease, opacity 0.55s ease;
}

.featured-copy h3 {
  margin: 10px 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.4vw, 4.6rem);
  line-height: 1.08;
}

.featured-detail {
  color: #f2e1d5;
}

.featured-media {
  min-height: 420px;
  transform: translateY(34px) scale(0.97);
  opacity: 0.7;
  transition: transform 0.55s ease, opacity 0.55s ease, box-shadow 0.55s ease;
}

.featured-media .poster-image {
  object-position: center top;
}

.featured-panel::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

.featured-panel.is-featured-active {
  border-color: rgba(255, 240, 225, 0.2);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 244, 230, 0.06);
}

.featured-panel.is-featured-active .featured-copy {
  transform: translateY(0);
  opacity: 1;
}

.featured-panel.is-featured-active .featured-media {
  transform: translateY(0) scale(1);
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(255, 244, 230, 0.08), 0 0 34px rgba(255, 231, 205, 0.1);
}

.featured-panel.is-featured-active .featured-backdrop {
  opacity: calc(0.78 + var(--parallax-glow));
}

.featured-panel:not(.is-featured-active) .featured-backdrop {
  opacity: 0.76;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
}

.portrait-column,
.honour-column,
.gallery-grid {
  display: grid;
  gap: 18px;
}

.player-portrait {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.portrait-copy ul {
  padding-left: 18px;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag-list span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffe8db;
}

.honour-ribbon {
  padding: 20px 22px;
  border-radius: var(--radius-lg);
}

.honour-ribbon span,
.ribbon-card span,
.gallery-copy span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffe6d3;
}

.honour-ribbon.sun {
  border-left: 4px solid var(--sun);
}

.honour-ribbon.wang {
  border-left: 4px solid var(--wang);
}

.honour-ribbon.shared {
  border-left: 4px solid var(--shared);
}

.mixed-ribbon {
  position: relative;
}

.mixed-ribbon::before {
  content: '';
  position: absolute;
  inset: 78px 0 0;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255, 127, 93, 0.1), rgba(255, 255, 255, 0.05), rgba(216, 177, 107, 0.1)),
    linear-gradient(180deg, rgba(43, 24, 24, 0.9), rgba(21, 12, 12, 0.94));
  z-index: -1;
}

.ribbon-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  cursor: grab;
  scroll-behavior: smooth;
}

.ribbon-track.is-dragging {
  cursor: grabbing;
}

.ribbon-card {
  min-height: 210px;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.album-shell {
  display: grid;
  grid-template-columns: 68px 1fr 68px;
  gap: 18px;
  align-items: center;
}

.album-nav {
  height: 64px;
  font-size: 1.4rem;
}

.album-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.gallery-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  align-items: start;
  gap: 18px;
}

.gallery-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
  grid-column: span 4;
  position: relative;
  overflow: hidden;
}

.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 30%, transparent 72%, rgba(255, 255, 255, 0.04));
}

.gallery-card:nth-child(8n + 1) {
  grid-column: span 5;
}

.gallery-card:nth-child(8n + 2) {
  grid-column: span 3;
}

.gallery-card:nth-child(8n + 3) {
  grid-column: span 4;
}

.gallery-card:nth-child(8n + 4) {
  grid-column: span 4;
}

.gallery-card:nth-child(8n + 5) {
  grid-column: span 5;
}

.gallery-card:nth-child(8n + 6) {
  grid-column: span 3;
}

.gallery-card:nth-child(8n + 7) {
  grid-column: span 4;
}

.gallery-card:nth-child(8n + 8) {
  grid-column: span 4;
}

.gallery-card:nth-child(6n + 2) {
  transform: translateY(24px) rotate(-0.4deg);
}

.gallery-card:nth-child(6n + 3) {
  transform: translateY(8px) rotate(0.45deg);
}

.gallery-card:nth-child(6n + 5) {
  transform: translateY(18px) rotate(-0.3deg);
}

.gallery-card:nth-child(6n + 6) {
  transform: translateY(2px) rotate(0.25deg);
}

.gallery-card:nth-child(5n + 1) .gallery-media {
  min-height: 420px;
}

.gallery-card:nth-child(5n + 2) .gallery-media {
  min-height: 310px;
}

.gallery-card:nth-child(5n + 3) .gallery-media {
  min-height: 380px;
}

.gallery-card:nth-child(5n + 4) .gallery-media {
  min-height: 340px;
}

.gallery-card:nth-child(5n + 5) .gallery-media {
  min-height: 460px;
}

.media-poster {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shine-x: 50%;
  --shine-y: 50%;
  position: relative;
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 260px;
  padding: 18px;
  color: #fff5ea;
  border: 1px dashed rgba(255, 241, 227, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.44)),
    radial-gradient(circle at top right, rgba(255, 127, 93, 0.22), transparent 28%),
    radial-gradient(circle at bottom left, rgba(216, 177, 107, 0.2), transparent 24%),
    linear-gradient(135deg, rgba(82, 39, 36, 0.96), rgba(26, 15, 15, 0.98));
  text-align: left;
  overflow: hidden;
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.media-poster.has-image {
  padding: 0;
  align-content: stretch;
  border-radius: 26px;
}

.poster-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

img {
  display: block;
  max-width: 100%;
}

.poster-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: inherit;
  height: 100%;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.68)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 40%);
}

.poster-overlay span,
.poster-overlay small {
  display: block;
}

.gallery-media .poster-overlay span {
  width: fit-content;
  max-width: min(100%, 92%);
  padding: 8px 12px;
  border-radius: 16px;
  background: rgba(18, 11, 11, 0.42);
  backdrop-filter: blur(16px);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.5;
}

.poster-overlay small {
  color: rgba(255, 241, 227, 0.82);
  max-width: 90%;
  padding: 0 2px;
  line-height: 1.75;
}

.media-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 30%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04) 10px, transparent 10px, transparent 20px);
  pointer-events: none;
}

.media-poster span,
.media-poster small {
  position: relative;
  z-index: 1;
}

.media-poster small {
  color: rgba(255, 241, 227, 0.72);
  word-break: break-all;
}

.portrait-media .poster-image {
  object-position: center top;
}

.media-poster.is-tilting {
  border-color: rgba(255, 241, 227, 0.28);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3), 0 0 28px rgba(255, 223, 195, 0.08);
}

.media-poster.touch-mode {
  transform: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.media-poster.touch-mode::before {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 30%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04) 10px, transparent 10px, transparent 20px);
}

.media-poster.touch-mode.tap-pop {
  transform: scale(0.985);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26), 0 0 20px rgba(255, 223, 195, 0.08);
}

.quote-flip {
  display: grid;
  place-items: center;
}

.quote-stage {
  width: min(100%, 860px);
  padding: 28px;
  border-radius: var(--radius-xl);
  text-align: center;
}

.quote-meta {
  display: grid;
  gap: 12px;
}

.quote-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.quote-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 240, 225, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.quote-stage blockquote {
  margin: 14px 0 18px;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.8;
}

.empty-state {
  padding: 28px;
  border: 1px dashed rgba(255, 240, 225, 0.18);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(11, 7, 7, 0.86);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-content {
  width: min(980px, 100%);
  max-height: 86vh;
}

.lightbox-shell {
  display: grid;
  gap: 18px;
  width: min(1160px, 100%);
}

.lightbox-meta {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(22, 12, 12, 0.88);
}

.lightbox-meta span {
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.lightbox-meta h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 2rem);
}

.lightbox-meta p {
  margin: 0;
  color: rgba(255, 241, 227, 0.78);
  line-height: 1.8;
}

.lightbox-content img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 22px;
  background: #100909;
}

.fallback-panel {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(67, 22, 18, 0.96), rgba(31, 15, 12, 0.98));
  color: #fff3e9;
}

.fallback-panel p {
  margin: 0;
  color: rgba(255, 239, 224, 0.8);
}

.fallback-panel code {
  padding: 10px 12px;
  border-radius: 12px;
  overflow-wrap: anywhere;
  background: rgba(255, 255, 255, 0.08);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: #fff4e8;
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 41;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border: 0;
  border-radius: 50%;
  color: #fff3e6;
  font-size: 1.5rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
}

.lightbox-nav.prev {
  left: 24px;
}

.lightbox-nav.next {
  right: 24px;
}

@keyframes overlay-hide {
  0%, 72% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pulse-slide {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.45;
  }
  50% {
    transform: translateX(160px);
    opacity: 1;
  }
}

@keyframes sweep-line {
  0% {
    stroke-dashoffset: 0;
    opacity: 0.2;
  }
  15% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.8;
  }
  100% {
    stroke-dashoffset: -2260;
    opacity: 0.2;
  }
}

@keyframes node-pulse {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.04);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-layout,
  .moment-card,
  .featured-content,
  .album-card,
  .gallery-grid,
  .control-bar,
  .timeline-panel,
  .player-portrait {
    grid-template-columns: 1fr;
  }

  .control-bar {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .gallery-card:nth-child(n) {
    transform: none;
  }

  .gallery-card {
    grid-column: span 3;
  }

  .gallery-card:nth-child(4n + 1) {
    grid-column: span 4;
  }

  .gallery-card:nth-child(4n + 2) {
    grid-column: span 2;
  }

  .gallery-card:nth-child(4n + 3),
  .gallery-card:nth-child(4n + 4) {
    grid-column: span 3;
  }

  .timeline-panel-head {
    min-height: 140px;
  }
}

@media (max-width: 760px) {
  .topbar,
  .trajectory-legend {
    flex-direction: column;
    align-items: flex-start;
  }

  .segmented-control {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .topbar {
    align-items: flex-start;
    border-radius: 24px;
    padding: 14px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .topbar-links {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .topbar-links::-webkit-scrollbar {
    display: none;
  }

  .topbar-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 240, 228, 0.12);
    border-radius: 999px;
    background: rgba(255, 248, 240, 0.06);
    text-align: center;
  }

  .hero,
  .section,
  .control-bar,
  .chapter-rail {
    width: calc(100% - 20px);
  }

  .control-bar {
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
  }

  .page-shell::before,
  .page-shell::after,
  .cursor-glow {
    display: none;
  }

  .hero-copy,
  .hero-stage,
  .trajectory-board,
  .timeline-panel-head,
  .timeline-panel-body,
  .moment-card,
  .player-portrait,
  .honour-ribbon,
  .ribbon-card,
  .album-card,
  .gallery-card,
  .quote-stage,
  .control-bar {
    padding: 18px;
  }

  .hero h1 {
    font-size: 2.35rem;
    line-height: 1.14;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-stage-visual,
  .hero-wave,
  .featured-media,
  .album-media,
  .gallery-media,
  .portrait-media {
    min-height: 220px;
  }

  .hero-wave svg {
    height: 180px;
  }

  .hero-copy p,
  .section-heading p,
  .moment-card p,
  .portrait-copy p,
  .ribbon-card p,
  .album-copy p,
  .gallery-copy p {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .section-heading h2,
  .featured-copy h3,
  .portrait-copy h3,
  .album-copy h3,
  .gallery-copy h3,
  .timeline-panel-body h3 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .featured-panel,
  .featured-content {
    min-height: auto;
  }

  .featured-content {
    padding: 20px;
    align-items: stretch;
  }

  .featured-content::before {
    inset: auto 20px 20px 20px;
  }

  .featured-copy {
    gap: 12px;
  }

  .featured-detail {
    font-size: 0.94rem;
    line-height: 1.8;
  }

  .filter-group {
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 240, 228, 0.08);
    border-radius: 18px;
    background: rgba(255, 248, 240, 0.03);
  }

  .filter-group + .filter-group {
    padding-top: 12px;
  }

  .filter-summary {
    gap: 8px;
  }

  .filter-summary span,
  .filter-summary strong {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.88rem;
  }

  .segmented-button,
  .button {
    width: auto;
    max-width: 100%;
  }

  .hero-actions .button,
  .segmented-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .segmented-button {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .hero-actions .button {
    min-height: 40px;
    padding: 10px 14px;
    font-size: 0.92rem;
  }

  .trajectory-stage {
    min-height: 240px;
    padding-top: 0;
    padding-bottom: 0;
    overflow: visible;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
      radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 60%);
  }

  .trajectory-stage::before {
    position: static;
    display: block;
    margin: 0 0 14px;
  }

  #trajectorySvg {
    display: block;
    height: 220px;
  }

  .trajectory-overlay {
    position: static;
  }

  .trajectory-mobile-focus {
    display: grid;
    gap: 8px;
    padding: 16px;
    margin-top: 14px;
    border: 1px solid rgba(255, 241, 227, 0.14);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(36, 20, 20, 0.94), rgba(21, 11, 11, 0.98));
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
  }

  .trajectory-mobile-focus.sun {
    border-color: rgba(255, 127, 93, 0.34);
  }

  .trajectory-mobile-focus.wang {
    border-color: rgba(216, 177, 107, 0.34);
  }

  .trajectory-mobile-focus.shared {
    border-color: rgba(255, 245, 235, 0.28);
  }

  .trajectory-mobile-focus strong {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .trajectory-mobile-focus small {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .trajectory-mobile-list {
    position: relative;
    display: grid;
    gap: 14px;
    margin-top: 14px;
    padding-left: 18px;
  }

  .curve.mobile {
    stroke-width: 10;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    animation: none;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.1));
  }

  .trajectory-dot {
    filter: drop-shadow(0 0 10px rgba(255, 240, 225, 0.24));
  }

  .trajectory-year-label {
    font-family: var(--font-display);
    font-size: 42px;
    letter-spacing: 0.06em;
    fill: rgba(255, 240, 225, 0.88);
    paint-order: stroke;
    stroke: rgba(20, 10, 10, 0.92);
    stroke-width: 8px;
    stroke-linejoin: round;
  }

  .trajectory-year-label.sun {
    fill: rgba(255, 183, 143, 0.96);
  }

  .trajectory-year-label.wang {
    fill: rgba(242, 216, 166, 0.96);
  }

  .trajectory-year-label.shared {
    fill: rgba(255, 245, 235, 0.96);
  }

  .trajectory-mobile-list::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, rgba(255, 240, 225, 0.22), rgba(255, 240, 225, 0.06));
  }

  .trajectory-mobile-card {
    position: relative;
    display: grid;
    gap: 4px;
    width: 100%;
    padding: 14px 14px 14px 18px;
    border: 1px solid rgba(255, 241, 227, 0.14);
    border-radius: 20px;
    text-align: left;
    color: var(--text);
    background: linear-gradient(180deg, rgba(36, 20, 20, 0.94), rgba(21, 11, 11, 0.98));
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.2);
    opacity: 0.72;
    transition: transform 0.22s ease, opacity 0.22s ease, border-color 0.22s ease;
  }

  .trajectory-mobile-card::before {
    content: '';
    position: absolute;
    left: -17px;
    top: 22px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
  }

  .trajectory-mobile-card.sun {
    border-color: rgba(255, 127, 93, 0.34);
  }

  .trajectory-mobile-card.sun::before {
    color: var(--sun);
  }

  .trajectory-mobile-card.wang {
    border-color: rgba(216, 177, 107, 0.34);
  }

  .trajectory-mobile-card.wang::before {
    color: var(--wang);
  }

  .trajectory-mobile-card.shared {
    border-color: rgba(255, 245, 235, 0.28);
  }

  .trajectory-mobile-card.shared::before {
    color: var(--shared);
  }

  .trajectory-mobile-card strong,
  .trajectory-mobile-focus strong,
  .trajectory-mobile-card small,
  .trajectory-mobile-focus small {
    display: block;
  }

  .trajectory-mobile-card strong {
    font-family: var(--font-serif);
    font-size: 1.02rem;
    line-height: 1.45;
  }

  .trajectory-mobile-card.is-active {
    transform: translateY(-2px);
    opacity: 1;
  }

  .trajectory-mobile-card.is-active.sun {
    border-color: rgba(255, 127, 93, 0.62);
  }

  .trajectory-mobile-card.is-active.wang {
    border-color: rgba(216, 177, 107, 0.62);
  }

  .trajectory-mobile-card.is-active.shared {
    border-color: rgba(255, 245, 235, 0.52);
  }

  .curve-sweep {
    opacity: 0.28;
    stroke-width: 8;
  }

  .trajectory-node {
    width: 106px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card:nth-child(n) {
    grid-column: span 1;
    transform: none;
  }

  .chapter-rail-track {
    grid-auto-columns: minmax(180px, 82vw);
  }

  .chapter-chip {
    min-height: 96px;
  }

  .ribbon-track {
    grid-auto-columns: minmax(220px, 84vw);
  }

  .album-shell {
    grid-template-columns: 1fr;
  }

  .timeline-panel-meta {
    min-height: 180px;
    padding: 18px;
  }

  .timeline-photo {
    transform: scale(1);
  }

  .year-beacon {
    right: 10px;
    bottom: 10px;
    min-width: 0;
    padding: 10px 12px;
    gap: 4px;
  }

  .year-beacon-label {
    font-size: 0.58rem;
  }

  .year-beacon strong {
    font-size: 1.45rem;
  }

  .album-nav {
    width: 100%;
    height: 52px;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-shell {
    gap: 12px;
  }

  .lightbox-meta {
    padding: 14px 16px 74px;
  }

  .lightbox-content {
    max-height: 68vh;
  }

  .lightbox-content img {
    max-height: 68vh;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
  }

  .lightbox-nav {
    top: auto;
    bottom: 24px;
    margin-top: 0;
    width: 46px;
    height: 46px;
  }

  .lightbox-nav.prev {
    left: 14px;
  }

  .lightbox-nav.next {
    right: 14px;
  }
}
