﻿:root {
  --bg: #070305;
  --bg-deep: #020102;
  --red: #d91424;
  --red-dark: #740916;
  --red-glow: rgba(217, 20, 36, 0.52);
  --ivory: #f8efe5;
  --muted: #b8a6a3;
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(20, 7, 10, 0.72);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ivory);
  background:
    radial-gradient(circle at 20% 0%, rgba(180, 13, 30, 0.24), transparent 34rem),
    linear-gradient(180deg, #0c0407 0%, var(--bg) 42%, var(--bg-deep) 100%);
  font-family: "Noto Serif SC", "Microsoft YaHei", serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  overflow: hidden;
}

.quick-jump {
  position: fixed;
  right: clamp(0.55rem, 1.4vw, 1.1rem);
  top: 50%;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  transform: translateY(-50%);
}

.quick-jump a {
  min-width: 4.5rem;
  border: 1px solid rgba(255, 70, 80, 0.36);
  border-radius: 999px;
  padding: 0.48rem 0.7rem;
  color: rgba(248, 239, 229, 0.86);
  background: rgba(7, 1, 3, 0.62);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
  backdrop-filter: blur(12px);
}

.quick-jump a:hover,
.quick-jump a:focus-visible {
  border-color: rgba(255, 88, 98, 0.78);
  color: #fff7ee;
  background: rgba(122, 8, 20, 0.72);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 4.5rem);
  isolation: isolate;
  overflow: hidden;
  background: #020102;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #020102;
  transform: translate3d(var(--hero-x, 0px), var(--hero-y, 0px), 0);
  transition: transform 500ms ease-out;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  filter: contrast(1.08) saturate(1.1) brightness(1.16);
  transform: scale(1.03);
  animation: heroBreath 18s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(255, 35, 54, 0.04), transparent 28%),
    linear-gradient(90deg, rgba(0,0,0,0.28), rgba(0,0,0,0.06) 32%, rgba(0,0,0,0.08) 68%, rgba(0,0,0,0.3)),
    linear-gradient(180deg, rgba(0,0,0,0.14), transparent 34%, rgba(0,0,0,0.46) 82%, #050102 100%);
  pointer-events: none;
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
}

.hero-media::before {
  background:
    radial-gradient(circle at 22% 58%, rgba(202, 10, 32, 0.18), transparent 24rem),
    radial-gradient(circle at 74% 44%, rgba(255, 62, 82, 0.13), transparent 22rem),
    radial-gradient(circle at 50% 82%, rgba(140, 0, 20, 0.18), transparent 28rem);
  filter: blur(24px);
  mix-blend-mode: screen;
  opacity: 0.28;
  animation: redMist 11s ease-in-out infinite alternate;
  transform: translate3d(calc(var(--hero-x, 0px) * -0.55), calc(var(--hero-y, 0px) * -0.55), 0);
}

.hero-media::after {
  background-image:
    radial-gradient(circle, rgba(255, 60, 72, 0.95) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 212, 188, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(180, 5, 24, 0.85) 0 1.5px, transparent 3px);
  background-size: 13rem 11rem, 19rem 17rem, 29rem 23rem;
  background-position: 0 0, 8rem 4rem, 3rem 9rem;
  opacity: 0.2;
  animation: emberFloat 22s linear infinite;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: clamp(18rem, 35vw, 36rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 18, 38, 0.5), rgba(255, 18, 38, 0.12) 42%, transparent 72%);
  filter: blur(24px);
  mix-blend-mode: screen;
  animation: pulseGlow 7s ease-in-out infinite;
  transform: translate3d(calc(var(--hero-x, 0px) * -1), calc(var(--hero-y, 0px) * -1), 0);
}

.hero-glow-left {
  left: -10rem;
  bottom: 8rem;
}

.hero-glow-right {
  right: 8vw;
  top: 10vh;
  animation-delay: -2s;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 74%, rgba(255, 25, 42, 0.24), transparent 18rem),
    radial-gradient(circle at 84% 72%, rgba(255, 25, 42, 0.2), transparent 16rem);
  opacity: 0.72;
}

.poster-portraits {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.poster-ghost {
  position: absolute;
  left: 50%;
  bottom: 26vh;
  width: min(132vw, 120rem);
  max-width: none;
  transform: translateX(-50%) scale(1.08);
  opacity: 0.18;
  filter:
    blur(18px)
    contrast(1.15)
    saturate(1.2)
    brightness(0.58)
    drop-shadow(0 0 70px rgba(217, 20, 36, 0.72));
  mix-blend-mode: screen;
  animation: ghostDrift 16s ease-in-out infinite alternate;
}

.poster-people {
  position: absolute;
  left: 50%;
  bottom: 13vh;
  width: min(122vw, 112rem);
  max-width: none;
  transform: translateX(-50%) scale(1.02);
  filter:
    drop-shadow(0 0 4px rgba(255, 245, 235, 0.7))
    drop-shadow(0 0 28px rgba(217, 20, 36, 0.62))
    drop-shadow(0 24px 42px rgba(0, 0, 0, 0.88))
    contrast(1.22)
    saturate(1.18)
    brightness(1.02);
  opacity: 1;
  animation: peopleFloat 10s ease-in-out infinite alternate;
}

.hero-copy {
  width: min(58rem, calc(100vw - 2rem));
  position: relative;
  z-index: 1;
  padding-top: clamp(16rem, 38vh, 25rem);
  margin-bottom: clamp(1.2rem, 5vh, 4rem);
  text-align: center;
  transform: translateY(3vh);
}

.poster-copy::before,
.poster-copy::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(76vw, 56rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207, 31, 45, 0.46), rgba(255,255,255,0.22), rgba(207, 31, 45, 0.46), transparent);
}

.poster-copy::before {
  top: -1.4rem;
}

.poster-copy::after {
  bottom: -1.6rem;
}

.decor-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.38), transparent);
}

.decor-line-top {
  left: 11vw;
  right: 11vw;
  top: 13vh;
}

.decor-line-mid {
  left: 18vw;
  right: 18vw;
  top: 57vh;
  opacity: 0.55;
}

.decor-cross {
  position: absolute;
  color: #e01627;
  font-size: 2rem;
  text-shadow: 0 0 18px rgba(224, 22, 39, 0.7);
}

.decor-cross-left {
  left: 20vw;
  top: 36vh;
}

.decor-cross-right {
  right: 22vw;
  top: 32vh;
}

.decor-label {
  position: absolute;
  color: rgba(248,239,229,0.68);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.decor-left {
  left: 10vw;
  top: 30vh;
}

.decor-right {
  right: 9vw;
  top: 30vh;
}

.decor-stamp {
  position: absolute;
  left: 22vw;
  bottom: 33vh;
  color: #ff2d3e;
  border-left: 2px solid #ff2d3e;
  padding-left: 0.7rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-shadow: 0 0 16px rgba(255, 45, 62, 0.6);
}

.decor-backtype {
  position: absolute;
  left: 50%;
  top: 12vh;
  transform: translateX(-50%) scaleX(1.12);
  color: rgba(255, 255, 255, 0.045);
  font-size: clamp(8rem, 22vw, 24rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 0 60px rgba(217, 20, 36, 0.24);
  z-index: -1;
}

.decor-slash {
  position: absolute;
  width: 42vw;
  height: 0.5rem;
  background: linear-gradient(90deg, transparent, rgba(255, 42, 56, 0.75), rgba(255,255,255,0.4), transparent);
  filter: blur(0.5px) drop-shadow(0 0 22px rgba(255, 42, 56, 0.7));
  transform: rotate(-15deg);
  opacity: 0.72;
}

.decor-slash-one {
  left: -4vw;
  top: 22vh;
}

.decor-slash-two {
  right: -7vw;
  bottom: 28vh;
  transform: rotate(-15deg);
  opacity: 0.56;
}

.eyebrow,
.section-head p,
.card-kicker,
.timeline-tag,
.message-meta {
  margin: 0 0 0.8rem;
  color: #ff4857;
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  display: block;
  font-size: clamp(2.25rem, 5vw, 5.2rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.78),
    0 0 10px rgba(255, 245, 235, 0.36),
    0 0 26px rgba(217,20,36,0.72),
    0 0 54px rgba(105, 0, 15, 0.82),
    0 8px 32px rgba(0,0,0,0.82);
  background: linear-gradient(180deg, #fffaf0 0%, #eee2d1 45%, #9b8a82 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0.5px rgba(255, 244, 230, 0.36);
}

.poster-subtitle {
  width: fit-content;
  margin: 0.95rem auto 0;
  border-block: 1px solid rgba(255, 255, 255, 0.26);
  padding: 0.35rem 1rem;
  color: #fff7ed;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  font-weight: 900;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  text-shadow: 0 0 18px rgba(217, 20, 36, 0.65);
}

.poster-copy .poster-subtitle {
  margin-top: 1rem;
  border-color: rgba(255, 70, 80, 0.38);
  background:
    linear-gradient(90deg, transparent, rgba(120, 6, 18, 0.32), transparent);
  color: rgba(255, 246, 235, 0.88);
  font-size: clamp(0.86rem, 1.4vw, 1.18rem);
  letter-spacing: 0.22em;
  text-indent: 0.22em;
}

.lead {
  max-width: none;
  margin: 0.85rem auto 1.1rem;
  color: rgba(248, 239, 229, 0.86);
  font-family: "Cinzel", serif;
  font-size: clamp(0.9rem, 1.6vw, 1.3rem);
  line-height: 1.8;
  letter-spacing: 0.16em;
}

.countdown-card {
  width: min(50rem, 100%);
  position: relative;
  margin-inline: auto;
  margin-top: clamp(1.1rem, 2.6vh, 1.7rem);
  border: 1px solid rgba(218, 198, 186, 0.2);
  border-inline: 1px solid rgba(255, 40, 56, 0.55);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 22%, rgba(255,255,255,0.03) 54%, transparent),
    linear-gradient(90deg, rgba(124, 3, 17, 0.46), rgba(3, 2, 3, 0.56), rgba(92, 2, 13, 0.42));
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.62),
    0 0 42px rgba(217, 20, 36, 0.25),
    inset 0 0 34px rgba(255, 255, 255, 0.04);
  padding: 0.95rem 1rem 0.85rem;
  backdrop-filter: blur(18px) saturate(1.2);
}

.countdown-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(90deg, transparent, rgba(255, 72, 87, 0.7), rgba(225, 210, 200, 0.35), transparent) border-box;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.42;
  pointer-events: none;
}

.countdown-label {
  color: rgba(248, 239, 229, 0.66);
  font-family: "Cinzel", serif;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.65rem 0;
}

.countdown span {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0, 0, 0, 0.26)),
    rgba(6, 2, 4, 0.36);
  padding: 0.72rem 0.45rem;
  text-align: center;
  overflow: hidden;
}

.countdown span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255,255,255,0.15) 48%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

.countdown-card:hover .countdown span::after {
  transform: translateX(120%);
}

.countdown strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1;
  color: #fff8ef;
  text-shadow: 0 0 20px rgba(255, 44, 62, 0.5);
}

.countdown small {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
}

.countdown-note {
  margin: 0;
  color: rgba(248, 239, 229, 0.66);
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.hero-actions,
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.action-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  min-width: 10.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.82rem 1.25rem;
  font-weight: 700;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.action-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255,255,255,0.22) 48%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

.action-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 236, 224, 0.48);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.46), 0 0 26px rgba(217, 20, 36, 0.32);
}

.action-button:hover::before {
  transform: translateX(120%);
}

.action-primary {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), transparent 38%),
    linear-gradient(135deg, #ef1a2d, #8e0615 58%, #3d0208);
  box-shadow: 0 0 30px rgba(217, 20, 36, 0.34);
}

.action-secondary {
  border-color: rgba(255, 44, 62, 0.45);
  background: rgba(8, 3, 5, 0.54);
  backdrop-filter: blur(12px);
}

.hero-tags span {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(248, 239, 229, 0.64);
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

#music {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

#music::before {
  z-index: -3;
}

.music-atmosphere {
  position: absolute;
  inset: 0 -8vw auto -8vw;
  height: 56rem;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7,3,5,0.08), rgba(7,3,5,0.52) 58%, var(--bg) 100%),
    radial-gradient(circle at 24% 24%, rgba(255, 65, 80, 0.24), transparent 23rem);
}

.music-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,3,5,0.56), rgba(7,3,5,0.12) 38%, rgba(7,3,5,0.58)),
    linear-gradient(180deg, rgba(7,3,5,0.02), rgba(7,3,5,0.34) 76%, rgba(7,3,5,0.68) 100%);
}

.music-bg-main {
  position: absolute;
  right: -3vw;
  top: 1rem;
  width: min(72vw, 70rem);
  height: 43rem;
  object-fit: cover;
  opacity: 0.46;
  filter: grayscale(0.06) contrast(1.16) brightness(0.82) saturate(1.08);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 84%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 84%, transparent);
}

.music-bg-float {
  position: absolute;
  width: 12rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.18);
  opacity: 0.36;
  filter: grayscale(0.08) contrast(1.13) brightness(0.8) saturate(1.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.music-bg-float-one {
  left: 4vw;
  top: 2rem;
  transform: rotate(-6deg);
}

.music-bg-float-two {
  left: 18vw;
  top: 9rem;
  transform: rotate(5deg);
}

.music-bg-float-three {
  right: 12vw;
  top: 13rem;
  transform: rotate(-4deg);
}

.music-bg-float-four {
  right: 27vw;
  top: 4rem;
  width: 15rem;
  transform: rotate(4deg);
  opacity: 0.28;
}

.music-bg-float-five {
  left: 32vw;
  top: 19rem;
  width: 14rem;
  transform: rotate(-3deg);
  opacity: 0.3;
}

.music-bg-wide {
  position: absolute;
  left: 2vw;
  bottom: 3rem;
  width: min(42vw, 34rem);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.16);
  opacity: 0.28;
  filter: contrast(1.14) brightness(0.74) saturate(1.06);
  transform: rotate(2deg);
  box-shadow: 0 22px 70px rgba(0,0,0,0.54);
}

.music-bg-wide-two {
  left: auto;
  right: 2vw;
  bottom: 0.5rem;
  transform: rotate(-2deg);
  opacity: 0.24;
}

.strip {
  width: 100%;
  padding-inline: max(1rem, calc((100vw - 1180px) / 2));
  background: linear-gradient(90deg, rgba(115, 9, 22, 0.24), rgba(0, 0, 0, 0.1), rgba(115, 9, 22, 0.18));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1;
}

.grid,
.archive-grid,
.feature-row,
.message-grid {
  display: grid;
  gap: 1rem;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-row,
.message-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel,
.archive-card,
.feature-card,
.message-form,
.message-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(36, 9, 13, 0.8), rgba(7, 2, 4, 0.82)),
    var(--panel);
  box-shadow: var(--shadow);
}

.panel {
  min-height: 8rem;
  display: flex;
  align-items: end;
  padding: 1.1rem;
  color: rgba(248, 239, 229, 0.9);
  font-size: 1.12rem;
  font-weight: 700;
}

.profile-section {
  position: relative;
  overflow: hidden;
}

.profile-section::before {
  content: "";
  position: absolute;
  inset: 8rem max(1rem, calc((100vw - 1180px) / 2)) 1.5rem;
  background:
    linear-gradient(90deg, transparent 49%, rgba(248,239,229,0.06) 49% 51%, transparent 51%),
    radial-gradient(circle at 50% 50%, transparent 0 5.4rem, rgba(248,239,229,0.08) 5.45rem 5.5rem, transparent 5.55rem),
    linear-gradient(90deg, rgba(255,66,81,0.16), transparent 28%, transparent 72%, rgba(255,66,81,0.1));
  border: 1px solid rgba(248,239,229,0.08);
  opacity: 0.56;
  pointer-events: none;
}

.profile-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: 1rem;
  align-items: stretch;
}

.profile-card {
  border: 1px solid var(--line);
  padding: 1.35rem;
  background:
    radial-gradient(circle at 16% 20%, rgba(255,66,81,0.2), transparent 9rem),
    linear-gradient(145deg, rgba(36, 9, 13, 0.82), rgba(7, 2, 4, 0.82));
  box-shadow: var(--shadow);
}

.profile-card h3 {
  margin: 0.2rem 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.profile-card p {
  margin: 0;
  color: rgba(248,239,229,0.72);
  font-size: 1rem;
  line-height: 1.85;
}

.profile-facts {
  display: grid;
  gap: 0.58rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.profile-facts li {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 0.8rem;
  border-bottom: 1px solid rgba(248,239,229,0.08);
  padding-bottom: 0.5rem;
  color: rgba(248,239,229,0.78);
  line-height: 1.55;
}

.profile-facts strong {
  color: #ff4251;
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.profile-card-main {
  min-height: 18rem;
  display: grid;
  grid-template-columns: minmax(13rem, 0.55fr) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}

.profile-portrait {
  min-height: 20rem;
  border: 1px solid rgba(248,239,229,0.12);
  overflow: hidden;
  background: rgba(0,0,0,0.28);
}

.profile-portrait-block {
  display: grid;
  gap: 0.8rem;
}

.profile-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.profile-photo-archive-button {
  width: 100%;
  min-height: 2.85rem;
  border: 1px solid rgba(255, 70, 80, 0.48);
  color: #fff8ef;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 42%),
    linear-gradient(90deg, rgba(126, 8, 18, 0.74), rgba(8, 0, 2, 0.62));
  font-family: "Cinzel", "Noto Serif SC", serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  cursor: pointer;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.profile-photo-archive-button:hover,
.profile-photo-archive-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 236, 224, 0.56);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42), 0 0 24px rgba(255, 70, 80, 0.24);
}

.profile-copy {
  align-self: center;
}

.profile-card-pitch {
  min-height: 18rem;
  background:
    linear-gradient(135deg, rgba(6, 34, 24, 0.42), transparent 48%),
    radial-gradient(circle at 88% 12%, rgba(255,66,81,0.22), transparent 8rem),
    linear-gradient(145deg, rgba(36, 9, 13, 0.82), rgba(7, 2, 4, 0.82));
}

.profile-football-card {
  padding: 0.85rem;
  overflow: hidden;
}

.football-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  height: 100%;
}

.football-collage img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(248,239,229,0.1);
}

.profile-card-campus {
  grid-column: 1 / -1;
}

.profile-card-pets {
  grid-column: 1 / -1;
  padding: clamp(0.85rem, 1.5vw, 1.25rem);
}

.pet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.pet-card {
  position: relative;
  display: block;
  min-height: 9.1rem;
  border: 1px solid rgba(255, 70, 80, 0.22);
  padding: 0;
  background: rgba(5, 0, 2, 0.58);
  overflow: hidden;
  color: #fff8ef;
  cursor: zoom-in;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.34);
}

.pet-card img {
  width: 100%;
  height: 100%;
  min-height: 9.1rem;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.86) contrast(1.04) saturate(1.04);
  transition: transform 220ms ease, filter 220ms ease;
}

.pet-card span {
  position: absolute;
  left: 0.62rem;
  right: 0.62rem;
  bottom: 0.58rem;
  z-index: 1;
  color: #fff8ef;
  font-size: clamp(0.9rem, 1.35vw, 1.1rem);
  font-weight: 800;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.82);
}

.pet-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(5, 0, 2, 0.82));
  pointer-events: none;
}

.pet-card:hover img,
.pet-card:focus-visible img {
  transform: scale(1.035);
  filter: brightness(0.98) contrast(1.06) saturate(1.06);
}

.campus-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.campus-head h3 {
  margin-bottom: 0;
}

.campus-gallery[hidden] {
  display: none;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.profile-tags span {
  border: 1px solid rgba(248,239,229,0.14);
  padding: 0.45rem 0.65rem;
  background: rgba(0,0,0,0.24);
  color: rgba(248,239,229,0.78);
  font-size: 0.78rem;
}

.profile-link-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.profile-link-row a {
  border: 1px solid rgba(255,66,81,0.38);
  padding: 0.9rem 1rem;
  color: #f8efe5;
  background: rgba(70, 7, 14, 0.42);
  text-decoration: none;
  font-family: "Cinzel", serif;
  letter-spacing: 0.08em;
}

.profile-link-row a:hover,
.profile-link-row a:focus-visible {
  border-color: rgba(255,66,81,0.82);
  background: rgba(255,66,81,0.14);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.quote-card {
  min-height: 18rem;
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 3vw, 2.7rem);
  background:
    radial-gradient(circle at 18% 12%, rgba(255,66,81,0.22), transparent 9rem),
    linear-gradient(145deg, rgba(36, 9, 13, 0.82), rgba(7, 2, 4, 0.82));
  box-shadow: var(--shadow);
}

.quote-card-wide {
  grid-column: 1 / -1;
}

.quote-card span {
  color: #ff4251;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.quote-card h3 {
  margin: 0.7rem 0 1rem;
  font-size: clamp(1.35rem, 2.2vw, 2.3rem);
  line-height: 1.1;
}

.quote-card p {
  margin: 0;
  color: rgba(248,239,229,0.7);
  line-height: 1.8;
}

.quote-text-card {
  display: flex;
  align-items: center;
}

.quote-text-card p {
  border-left: 2px solid rgba(255,66,81,0.55);
  padding-left: 1.1rem;
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  line-height: 1.85;
}

.quote-gallery {
  margin-top: 1rem;
}

.archive-card,
.feature-card,
.message-card {
  min-height: 13rem;
  padding: 1.4rem;
  position: relative;
  overflow: hidden;
}

.music-archive {
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.music-sidebar,
.album-stage,
.track-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(36, 9, 13, 0.64), rgba(7, 2, 4, 0.76)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.music-sidebar {
  position: sticky;
  top: 1rem;
  padding: 1rem;
}

.music-sidebar-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
  color: rgba(248,239,229,0.72);
}

.music-sidebar-title span {
  color: #ff4251;
  font-family: "Cinzel", serif;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
}

.music-sidebar-title strong {
  color: var(--ivory);
}

.album-tabs {
  display: grid;
  gap: 0.6rem;
}

.album-tab {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.28);
  color: var(--ivory);
  padding: 0.55rem;
  text-align: left;
  cursor: pointer;
}

.album-tab.is-active {
  border-color: rgba(255, 66, 81, 0.78);
  background: linear-gradient(90deg, rgba(217,20,36,0.32), rgba(0,0,0,0.34));
  box-shadow: 0 0 24px rgba(217,20,36,0.2);
}

.album-tab img {
  width: 3.2rem;
  aspect-ratio: 1;
  object-fit: cover;
}

.album-tab strong,
.album-tab small {
  display: block;
  min-width: 0;
}

.album-tab strong {
  overflow-wrap: anywhere;
}

.album-tab small {
  margin-top: 0.2rem;
  color: rgba(248,239,229,0.54);
  font-family: "Cinzel", serif;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.album-stage {
  min-height: 24rem;
  overflow: hidden;
}

.album-hero {
  display: grid;
  grid-template-columns: minmax(14rem, 22rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  min-height: 24rem;
  padding: clamp(1rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 24% 46%, rgba(255, 58, 72, 0.24), transparent 18rem),
    linear-gradient(135deg, rgba(255,255,255,0.05), transparent 42%);
}

.album-cover-wrap {
  position: relative;
}

.album-cover-wrap::before {
  content: "";
  position: absolute;
  inset: -1rem;
  background: radial-gradient(circle, rgba(217,20,36,0.34), transparent 70%);
  filter: blur(14px);
}

.album-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 60px rgba(0,0,0,0.58);
}

.album-hero-same-face {
  grid-template-columns: minmax(14rem, 25rem) minmax(0, 1fr);
}

.album-hero-same-face .album-cover {
  aspect-ratio: 5 / 6.4;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.42);
}

.album-copy h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.1rem, 5vw, 4.9rem);
  line-height: 0.95;
}

.album-copy p {
  max-width: 42rem;
  color: rgba(248,239,229,0.74);
  line-height: 1.9;
}

.music-actions,
.track-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.music-link {
  display: inline-flex;
  min-height: 2.2rem;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.45rem 0.75rem;
  color: var(--ivory);
  background: rgba(0,0,0,0.28);
  font-size: 0.88rem;
}

.music-link-music,
.music-link-album {
  border-color: rgba(255,66,81,0.68);
  background: rgba(217,20,36,0.22);
}

.music-link-pending {
  color: rgba(248,239,229,0.44);
}

.track-panel {
  grid-column: 2;
  padding: 1rem;
}

.track-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: rgba(248,239,229,0.68);
  font-family: "Cinzel", serif;
  letter-spacing: 0.08em;
}

.track-panel-head small {
  color: rgba(248,239,229,0.46);
}

.track-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.track-list-collabs {
  display: block;
}

.track-card {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.85rem;
  border: 1px solid rgba(255,255,255,0.13);
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(0,0,0,0.32));
  padding: 0.75rem;
}

.track-card.is-pending {
  opacity: 0.62;
}

.track-cover {
  width: 5.5rem;
  aspect-ratio: 1;
  object-fit: cover;
}

.track-index {
  color: #ff4251;
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
}

.track-card h4 {
  margin: 0.1rem 0 0.5rem;
  font-size: 1.2rem;
}

.track-lyric {
  margin: 0;
  color: rgba(255, 232, 210, 0.9);
  line-height: 1.6;
  border-left: 2px solid rgba(255,66,81,0.72);
  padding-left: 0.7rem;
  font-size: 0.98rem;
  font-style: italic;
}

.track-description {
  margin: 0.65rem 0 0;
  color: rgba(248,239,229,0.62);
  line-height: 1.72;
  font-size: 0.9rem;
}

.stage-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.stage-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.16);
  filter: contrast(1.04) saturate(1.05);
  background: rgba(0,0,0,0.35);
}

.stage-photo-button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.stage-photo-button:focus-visible {
  outline: 2px solid rgba(255,66,81,0.86);
  outline-offset: 2px;
}

.track-concept {
  display: block;
  width: 100%;
  margin-top: 0.8rem;
  border: 1px solid rgba(255,255,255,0.16);
  padding: 0;
  background: rgba(0,0,0,0.36);
  cursor: zoom-in;
  overflow: hidden;
}

.track-concept img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 3;
  object-fit: cover;
  filter: contrast(1.08) brightness(0.84) saturate(1.05);
}

.track-concept:focus-visible {
  outline: 2px solid rgba(255,66,81,0.86);
  outline-offset: 2px;
}

.album-hero-collabs {
  background:
    radial-gradient(circle at 18% 48%, rgba(255, 58, 72, 0.26), transparent 16rem),
    radial-gradient(circle at 82% 20%, rgba(255,255,255,0.08), transparent 18rem),
    linear-gradient(135deg, rgba(255,255,255,0.05), transparent 42%);
}

.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.collab-card {
  min-width: 0;
  border: 1px solid rgba(255,255,255,0.13);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.3)),
    rgba(18, 5, 8, 0.58);
  overflow: hidden;
}

.collab-cover-link {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  background: rgba(0,0,0,0.42);
  overflow: hidden;
}

.collab-cover-link::after {
  content: "OPEN STAGE";
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(0,0,0,0.48);
  padding: 0.3rem 0.45rem;
  color: rgba(248,239,229,0.84);
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  opacity: 0;
  transform: translateY(0.25rem);
  transition: opacity 160ms ease, transform 160ms ease;
}

.collab-cover-link:hover::after,
.collab-cover-link:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.collab-cover-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.04);
  transition: transform 180ms ease, filter 180ms ease;
}

.collab-cover-link:hover img,
.collab-cover-link:focus-visible img {
  transform: scale(1.035);
  filter: contrast(1.08) saturate(1.08) brightness(1.05);
}

.collab-meta {
  padding: 0.75rem;
}

.collab-meta h4 {
  margin: 0.12rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.25;
}

.collab-lyric {
  margin: 0.58rem 0 0;
  border-left: 2px solid rgba(255,66,81,0.7);
  padding-left: 0.62rem;
  color: rgba(255, 229, 206, 0.78);
  font-size: 0.86rem;
  line-height: 1.55;
  font-style: italic;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.photo-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.photo-lightbox-scroll {
  width: min(100%, 96rem);
  height: 100%;
  overflow: auto;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 3.2rem 0 1rem;
}

.photo-lightbox-image {
  display: block;
  width: auto;
  max-width: min(100%, 92rem);
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 24px 80px rgba(0,0,0,0.74);
}

.photo-lightbox.is-zoomable .photo-lightbox-image {
  max-width: none;
  max-height: none;
  transform: scale(var(--photo-scale, 1));
  transform-origin: top center;
  transition: transform 120ms ease;
}

.photo-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 121;
  width: 2.7rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(0,0,0,0.52);
  color: var(--ivory);
  font: inherit;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.photo-lightbox-tools {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 121;
  display: none;
  gap: 0.45rem;
  transform: translateX(-50%);
}

.photo-lightbox.is-zoomable .photo-lightbox-tools {
  display: flex;
}

.photo-lightbox-tools button {
  border: 1px solid rgba(255, 70, 80, 0.48);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: var(--ivory);
  background: rgba(9, 0, 2, 0.72);
  font: 700 0.78rem/1 "Noto Serif SC", "Microsoft YaHei", serif;
  cursor: pointer;
}

body.has-photo-lightbox,
body.has-id-photo-modal,
body.has-achievement-modal {
  overflow: hidden;
}

.id-photo-modal {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 70, 80, 0.2), transparent 28rem),
    rgba(2, 0, 1, 0.86);
  backdrop-filter: blur(12px);
}

.id-photo-modal.is-open {
  display: flex;
}

.id-photo-panel {
  width: min(1020px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  border: 1px solid rgba(255, 70, 80, 0.34);
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 70, 80, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(52, 5, 11, 0.9), rgba(5, 0, 2, 0.94));
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.7);
  padding: clamp(1rem, 2vw, 1.5rem);
}

.id-photo-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 70, 80, 0.2);
  padding-bottom: 0.8rem;
}

.id-photo-panel-head span {
  color: #ff4c59;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.id-photo-panel-head h3 {
  margin: 0;
  color: #fff8ef;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1;
}

.id-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.id-photo-card {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 70, 80, 0.22);
  padding: 0;
  background: rgba(5, 0, 2, 0.64);
  overflow: hidden;
  cursor: zoom-in;
}

.id-photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform 220ms ease, filter 220ms ease;
}

.id-photo-card:hover img,
.id-photo-card:focus-visible img {
  transform: scale(1.035);
  filter: brightness(1.06) contrast(1.05);
}

.achievement-modal {
  position: fixed;
  inset: 0;
  z-index: 86;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: rgba(2, 0, 1, 0.76);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.achievement-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.achievement-panel {
  width: min(72rem, 100%);
  max-height: min(86vh, 58rem);
  overflow: auto;
  border: 1px solid rgba(255, 70, 80, 0.34);
  padding: clamp(1rem, 2vw, 1.6rem);
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 70, 80, 0.14), transparent 16rem),
    linear-gradient(135deg, rgba(69, 4, 9, 0.96), rgba(7, 0, 2, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
}

.achievement-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 70, 80, 0.24);
  padding-bottom: 0.7rem;
}

.achievement-panel-head span {
  color: rgba(248, 239, 229, 0.64);
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.achievement-panel-head h3 {
  margin: 0;
  color: #fff8ef;
  font-size: clamp(1.35rem, 2.5vw, 2.3rem);
  line-height: 1;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.achievement-card {
  position: relative;
  display: block;
  border: 1px solid rgba(255, 70, 80, 0.24);
  padding: 0;
  background: rgba(6, 0, 2, 0.64);
  overflow: hidden;
  cursor: zoom-in;
}

.achievement-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.92) contrast(1.04);
  transition: transform 220ms ease, filter 220ms ease;
}

.achievement-card span {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0.45rem 0.6rem;
  color: #fff8ef;
  background: rgba(5, 0, 2, 0.72);
  font-size: 0.86rem;
  line-height: 1.25;
  text-align: left;
}

.achievement-card:hover img,
.achievement-card:focus-visible img {
  transform: scale(1.025);
  filter: brightness(1.02) contrast(1.06);
}

.archive-card::after,
.feature-card::after,
.message-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 16rem;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(217,20,36,0.34), transparent 70%);
  pointer-events: none;
}

.archive-card h3,
.feature-card h3,
.message-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.55rem;
}

.archive-card p,
.feature-card p,
.message-card p,
.timeline-item p {
  margin: 0;
  color: rgba(248, 239, 229, 0.72);
  line-height: 1.8;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: #ff5360;
  border-bottom: 1px solid rgba(255, 83, 96, 0.55);
}

.wide {
  min-height: auto;
}

.timeline {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 1rem;
}

.timeline-item {
  position: relative;
  padding: 1.1rem 0 1.1rem 1rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.42rem;
  top: 1.35rem;
  width: 0.8rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 20px var(--red-glow);
}

.xfile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.xfile-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  border: 1px solid rgba(255,255,255,0.13);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.32)),
    rgba(18, 5, 8, 0.62);
  color: var(--ivory);
  overflow: hidden;
}

.xfile-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #050001;
  filter: contrast(1.05) saturate(1.04);
  transition: transform 180ms ease, filter 180ms ease;
}

.xfile-card span {
  display: block;
  padding: 0.72rem 0.78rem 0.82rem;
  color: rgba(248,239,229,0.86);
  font-size: 0.96rem;
  line-height: 1.45;
}

.xfile-card:hover,
.xfile-card:focus-visible {
  border-color: rgba(255,66,81,0.62);
}

.xfile-card:hover img,
.xfile-card:focus-visible img {
  transform: scale(1.035);
  filter: contrast(1.1) saturate(1.08) brightness(1.06);
}

.solo-work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.solo-work-card {
  position: relative;
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  border: 1px solid rgba(255,255,255,0.14);
  padding: 1rem;
  color: var(--ivory);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 1, 2, 0.08), rgba(5, 1, 2, 0.86)),
    linear-gradient(90deg, rgba(24, 4, 7, 0.15), rgba(24, 4, 7, 0.55)),
    var(--solo-cover, url("/images/collabs/collab-stage-cover.jpg")) var(--solo-position, center) / cover;
}

.solo-work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,0.16), transparent 9rem),
    linear-gradient(135deg, rgba(217,20,36,0.28), transparent 50%);
  opacity: 0.84;
  transition: opacity 180ms ease;
}

.solo-work-card > * {
  position: relative;
  z-index: 1;
}

.solo-work-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 1rem 1rem 3.75rem;
  color: inherit;
  text-decoration: none;
}

.solo-work-card-with-actions {
  align-items: flex-start;
  padding: 0;
}

.solo-work-action-button {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  border: 1px solid rgba(255, 70, 80, 0.6);
  padding: 0.45rem 0.8rem;
  color: #fff8ef;
  background: rgba(141, 0, 18, 0.78);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(255, 70, 80, 0.18);
}

.solo-work-action-button:hover,
.solo-work-action-button:focus-visible {
  background: rgba(193, 12, 30, 0.86);
}

.solo-work-no {
  color: #ff4251;
  font-family: "Cinzel", serif;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
}

.solo-work-card h3 {
  margin: 0;
  font-size: clamp(1.22rem, 2.1vw, 1.7rem);
  line-height: 1.18;
}

.solo-work-card p {
  margin: 0;
  color: rgba(248,239,229,0.68);
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
}

.solo-work-card:hover,
.solo-work-card:focus-visible {
  border-color: rgba(255,66,81,0.64);
}

.solo-work-card:hover::before,
.solo-work-card:focus-visible::before {
  opacity: 0.58;
}

.yan-tag-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.yan-tag-card {
  position: relative;
  min-height: 17rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  border: 1px solid rgba(255,255,255,0.13);
  padding: 1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(255,66,81,0.26), transparent 8rem),
    linear-gradient(145deg, rgba(255,255,255,0.05), rgba(0,0,0,0.34)),
    rgba(18, 5, 8, 0.68);
}

.yan-tag-card-wide {
  grid-column: span 2;
  min-height: auto;
  justify-content: flex-start;
}

.yan-tag-card::before {
  content: "YAN";
  position: absolute;
  top: 0.6rem;
  right: 0.75rem;
  color: rgba(255,255,255,0.045);
  font-family: "Cinzel", serif;
  font-size: 5.2rem;
  font-weight: 900;
  line-height: 1;
}

.yan-tag-card::after {
  content: "";
  position: absolute;
  inset: auto -24% -44% auto;
  width: 13rem;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(217,20,36,0.28), transparent 70%);
  pointer-events: none;
}

.yan-tag-card span {
  position: relative;
  z-index: 1;
  color: #ff4251;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.yan-tag-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.42rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.yan-tag-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(248,239,229,0.68);
  font-size: 0.94rem;
  line-height: 1.72;
}

.yan-photo-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.yan-photo-grid-dense {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.yan-photo-button {
  position: relative;
  display: block;
  min-width: 0;
  border: 1px solid rgba(248,239,229,0.14);
  padding: 0;
  background: rgba(0,0,0,0.28);
  color: rgba(248,239,229,0.76);
  cursor: zoom-in;
  text-align: left;
  overflow: hidden;
  text-decoration: none;
}

.yan-photo-button[hidden] {
  display: none;
}

.yan-photo-button[href] {
  cursor: pointer;
}

.yan-photo-button[href]::after {
  content: "OPEN";
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.2rem 0.38rem;
  background: rgba(0,0,0,0.5);
  color: rgba(248,239,229,0.82);
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.yan-photo-button:hover,
.yan-photo-button:focus-visible {
  border-color: rgba(255,66,81,0.76);
}

.yan-photo-button img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  min-height: 0;
}

.yan-photo-button small {
  display: block;
  padding: 0.42rem 0.45rem;
  color: rgba(248,239,229,0.64);
  font-size: 0.68rem;
  line-height: 1.35;
}

.yan-gallery-toggle {
  position: relative;
  z-index: 1;
  width: fit-content;
  border: 1px solid rgba(255,66,81,0.42);
  padding: 0.72rem 1.05rem;
  margin-top: 0.2rem;
  background: rgba(70, 7, 14, 0.46);
  color: #f8efe5;
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.yan-gallery-toggle:hover,
.yan-gallery-toggle:focus-visible {
  background: rgba(255,66,81,0.16);
  border-color: rgba(255,66,81,0.76);
}

.message-form {
  padding: 1.3rem;
}

.message-form label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: rgba(248, 239, 229, 0.74);
}

.message-form input,
.message-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.36);
  color: var(--ivory);
  padding: 0.85rem;
  font: inherit;
}

.message-form input:focus,
.message-form textarea:focus {
  outline: 2px solid rgba(217, 20, 36, 0.52);
  border-color: rgba(255, 255, 255, 0.4);
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(-0.5%, 0, 0);
  }
  to {
    transform: scale(1.09) translate3d(0.8%, -0.6%, 0);
  }
}

@keyframes heroBreath {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.06);
  }
}

@keyframes redMist {
  from {
    opacity: 0.38;
    transform: translate3d(calc(var(--hero-x, 0px) * -0.55 - 0.4rem), calc(var(--hero-y, 0px) * -0.55), 0) scale(0.98);
  }
  to {
    opacity: 0.7;
    transform: translate3d(calc(var(--hero-x, 0px) * -0.55 + 0.5rem), calc(var(--hero-y, 0px) * -0.55 - 0.4rem), 0) scale(1.03);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.34;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.78;
    transform: scale(1.08);
  }
}

@keyframes emberFloat {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 -28rem, 12rem -16rem;
  }
}

@keyframes peopleFloat {
  from {
    transform: translateX(-50%) scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: translateX(-50%) scale(1.055) translate3d(0, -0.75rem, 0);
  }
}

@keyframes ghostDrift {
  from {
    transform: translateX(-50%) scale(1.08) translate3d(-0.8rem, 0, 0);
    opacity: 0.18;
  }
  to {
    transform: translateX(-50%) scale(1.12) translate3d(0.8rem, -0.8rem, 0);
    opacity: 0.28;
  }
}

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

  .hero-media,
  .hero-glow,
  .hero-media::before {
    transform: none !important;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 100svh;
    padding: 1rem;
    align-items: center;
  }

  .hero-copy {
    width: min(100%, 36rem);
    padding: 48svh 0 1.2rem;
    margin-bottom: 0;
    transform: none;
  }

  .hero-media {
    transform: none;
  }

  .hero-media img {
    object-position: center top;
    filter: contrast(1.05) saturate(1.08) brightness(1.02);
  }

  .hero-vignette {
    background:
      radial-gradient(ellipse at 50% 38%, transparent 0 30%, rgba(0,0,0,0.08) 52%, rgba(0,0,0,0.48) 100%),
      linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.18) 48%, rgba(0,0,0,0.74) 86%, #050102);
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 3rem);
    letter-spacing: 0.01em;
  }

  .lead {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
  }

  .decor-stamp,
  .decor-label {
    display: none;
  }

  .decor-backtype {
    top: 18vh;
    font-size: 8rem;
  }

  .decor-slash {
    width: 70vw;
  }

  .wire-left,
  .wire-right {
    display: none;
  }

  .wire-top {
    top: 1vh;
    height: 4rem;
    opacity: 0.18;
  }

  .wire-bottom {
    width: 140vw;
    bottom: 0;
    opacity: 0.22;
  }

  .decor-line-top {
    left: 8vw;
    right: 8vw;
    top: 16vh;
  }

  .decor-line-mid {
    left: 10vw;
    right: 10vw;
    top: 54vh;
  }

  .grid-4,
  .profile-grid,
  .quote-grid,
  .archive-grid,
  .feature-row,
  .message-grid,
  .music-archive,
  .album-hero,
  .track-list {
    grid-template-columns: 1fr;
  }

  .profile-link-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-card-main {
    grid-template-columns: 1fr;
  }

  .profile-portrait {
    min-height: 24rem;
  }

  .music-sidebar {
    position: static;
  }

  .track-panel {
    grid-column: auto;
  }

  .collab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xfile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solo-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .achievement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yan-tag-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yan-photo-grid-dense {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(1.35rem, 8.4vw, 2.25rem);
  }

  .hero-copy {
    padding-top: 44svh;
  }

  .countdown-card {
    padding: 0.75rem 0.62rem;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.32rem;
  }

  .countdown span {
    padding: 0.58rem 0.12rem;
  }

  .countdown strong {
    font-size: clamp(1.35rem, 8vw, 2rem);
  }

  .countdown small {
    font-size: 0.72rem;
  }

  .hero-actions .action-button {
    width: 100%;
  }

  .collab-grid {
    grid-template-columns: 1fr;
  }

  .xfile-grid {
    grid-template-columns: 1fr;
  }

  .solo-work-grid {
    grid-template-columns: 1fr;
  }

  .pet-grid {
    grid-template-columns: 1fr;
  }

  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .achievement-panel-head {
    display: grid;
    align-items: start;
  }

  .profile-link-row {
    grid-template-columns: 1fr;
  }

  .profile-facts li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .campus-head {
    display: grid;
    align-items: start;
  }

  .yan-tag-grid {
    grid-template-columns: 1fr;
  }

  .yan-tag-card-wide {
    grid-column: auto;
  }

  .yan-photo-grid,
  .yan-photo-grid-dense {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 0816 gothic archive visual pass */
:root {
  --page-max: 1220px;
  --section-padding-y: clamp(88px, 9vw, 148px);
  --section-padding-x: clamp(20px, 4vw, 64px);
  --glass-bg:
    radial-gradient(circle at 14% 0%, rgba(255, 70, 80, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(70, 8, 14, 0.72), rgba(8, 0, 2, 0.88));
  --glass-border: rgba(255, 70, 80, 0.28);
  --glass-border-hot: rgba(255, 82, 92, 0.68);
  --glass-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body {
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 41, 58, 0.22), transparent 34rem),
    radial-gradient(circle at 12% 26%, rgba(150, 6, 24, 0.18), transparent 28rem),
    linear-gradient(180deg, #030000 0%, #090102 24%, #160306 58%, #2a0508 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 19;
  pointer-events: none;
  opacity: 0.26;
  background:
    radial-gradient(circle, rgba(255, 58, 72, 0.42) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 218, 190, 0.18) 0 1px, transparent 2px);
  background-size: 18rem 22rem, 31rem 27rem;
  animation: emberFloat 34s linear infinite;
  mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 92%, transparent 100%);
}

.site-shell {
  background:
    linear-gradient(180deg, transparent 0 95vh, rgba(5, 0, 1, 0.88) 112vh, rgba(13, 1, 3, 0.96) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(8rem, 18vh, 16rem);
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(8, 0, 2, 0.78) 56%, #090102);
}

.poster-copy::before {
  display: none;
}

.poster-copy::after {
  bottom: -2rem;
  opacity: 0.32;
}

.hero-copy {
  padding-top: clamp(13rem, 34vh, 23rem);
}

.section {
  position: relative;
  width: min(var(--page-max), calc(100% - (var(--section-padding-x) * 2)));
  padding: var(--section-padding-y) 0;
  isolation: isolate;
}

.section::before,
.section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.section::before {
  inset: clamp(1rem, 3vw, 3rem) calc(var(--section-padding-x) * -0.65);
  border: 1px solid rgba(255, 70, 80, 0.1);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 61, 74, 0.18), transparent 22rem),
    radial-gradient(circle at 86% 64%, rgba(150, 6, 24, 0.2), transparent 24rem),
    linear-gradient(135deg, rgba(36, 2, 7, 0.76), rgba(4, 0, 1, 0.34));
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.72);
  opacity: 0.95;
}

.section::after {
  content: "YAN 0816 ARCHIVE";
  top: clamp(4rem, 6vw, 6rem);
  right: calc(var(--section-padding-x) * -0.35);
  max-width: 9ch;
  color: rgba(255, 255, 255, 0.035);
  font-family: "Cinzel", serif;
  font-size: clamp(4.6rem, 12vw, 11rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: 0.02em;
  text-align: right;
  text-shadow: 0 0 46px rgba(255, 30, 48, 0.18);
}

.section-head {
  position: relative;
  margin-bottom: clamp(1.6rem, 3vw, 2.8rem);
  padding-left: clamp(0.9rem, 1.6vw, 1.4rem);
}

.section-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  bottom: 0.1rem;
  width: 3px;
  background: linear-gradient(180deg, #ff4654, rgba(255,70,80,0.16));
  box-shadow: 0 0 20px rgba(255, 70, 80, 0.54);
}

.section-head::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: rgba(255, 70, 80, 0.72);
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  text-shadow: 0 0 18px rgba(255, 70, 80, 0.5);
}

.section-head p,
.message-meta,
.card-kicker {
  color: #ff4c59;
  text-shadow: 0 0 16px rgba(255, 70, 80, 0.28);
}

.section-head h2 {
  color: #fff8ef;
  font-size: clamp(2.6rem, 5.6vw, 5.2rem);
  letter-spacing: 0.02em;
  text-shadow:
    0 0 24px rgba(255, 70, 80, 0.26),
    0 10px 36px rgba(0, 0, 0, 0.76);
}

.profile-card,
.album-stage,
.track-panel,
.track-card,
.collab-card,
.yan-tag-card,
.quote-card,
.message-form,
.message-card,
.xfile-card,
.profile-link-row a,
.album-tab {
  border-color: var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(10px) saturate(1.08);
}

.profile-card,
.track-card,
.collab-card,
.yan-tag-card,
.quote-card,
.message-form,
.message-card,
.xfile-card,
.solo-work-card,
.album-tab,
.music-link,
.profile-link-row a {
  transition:
    transform 190ms ease,
    border-color 190ms ease,
    box-shadow 190ms ease,
    filter 190ms ease;
}

.profile-card:hover,
.track-card:hover,
.collab-card:hover,
.yan-tag-card:hover,
.quote-card:hover,
.message-card:hover,
.xfile-card:hover,
.solo-work-card:hover,
.album-tab:hover,
.profile-link-row a:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-hot);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.58),
    0 0 30px rgba(255, 49, 64, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.profile-section {
  margin-top: calc(var(--section-padding-y) * -0.15);
  isolation: isolate;
}

.profile-section::before {
  z-index: 0;
  inset: 0 calc(var(--section-padding-x) * -0.8) 0.5rem;
  border-color: rgba(255, 70, 80, 0.12);
  background:
    linear-gradient(90deg, rgba(7, 0, 2, 0.2), rgba(7, 0, 2, 0.02) 46%, rgba(7, 0, 2, 0.32)),
    linear-gradient(180deg, rgba(7, 0, 2, 0.04), rgba(7, 0, 2, 0.24) 78%, rgba(7, 0, 2, 0.5)),
    url("/images/visual-accents/profile-football-red-v2.png") center 60% / cover no-repeat;
  opacity: 0.82;
  filter: saturate(1.08) brightness(1.02);
}

.profile-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 calc(var(--section-padding-x) * -0.8) 0.5rem;
  border: 1px solid rgba(255, 70, 80, 0.12);
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 70, 80, 0.1), transparent 16rem),
    radial-gradient(circle at 16% 72%, rgba(120, 3, 17, 0.14), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,0.018), transparent);
  pointer-events: none;
}

.profile-section .section-head,
.profile-grid {
  position: relative;
  z-index: 1;
}

.profile-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(22rem, 0.85fr);
  gap: clamp(1rem, 2vw, 1.4rem);
}

.profile-card {
  padding: clamp(1.35rem, 2.4vw, 2rem);
}

.profile-section .profile-card,
.profile-section .profile-link-row a {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 70, 80, 0.12), transparent 14rem),
    linear-gradient(135deg, rgba(70, 8, 14, 0.48), rgba(8, 0, 2, 0.62));
  backdrop-filter: blur(2px) saturate(1.06);
}

.profile-card-main {
  grid-template-columns: minmax(17rem, 0.62fr) minmax(0, 1fr);
  min-height: 25rem;
}

.profile-portrait {
  min-height: 25rem;
  border-color: rgba(255, 70, 80, 0.26);
  box-shadow: inset 0 0 32px rgba(0,0,0,0.7);
}

.profile-card-pets,
.profile-card-campus {
  padding: clamp(0.78rem, 1.35vw, 1.08rem);
}

.profile-card-pets {
  width: 100%;
}

.profile-card-pets .campus-head,
.profile-card-campus .campus-head {
  margin-bottom: 0.62rem;
}

.profile-card-pets .card-kicker,
.profile-card-campus .card-kicker {
  font-size: 0.68rem;
}

.profile-card-pets h3,
.profile-card-campus h3 {
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
}

.profile-card-pets .pet-grid {
  gap: 0.42rem;
}

.profile-card-pets .pet-card {
  min-height: 7.25rem;
}

.profile-card-pets .pet-card img {
  min-height: 7.25rem;
}

.profile-card-pets .pet-card span {
  bottom: 0.42rem;
  font-size: clamp(0.76rem, 1vw, 0.92rem);
}

.profile-facts {
  gap: 0.72rem;
}

.profile-facts li {
  padding-block: 0.18rem 0.72rem;
  border-bottom-color: rgba(255, 70, 80, 0.14);
}

.football-collage {
  gap: 0.7rem;
}

.football-collage img,
.track-cover,
.stage-strip img,
.yan-photo-button img,
.xfile-card img,
.collab-cover-link img {
  transition: transform 220ms ease, filter 220ms ease;
}

.football-collage img:hover,
.stage-photo-button:hover img,
.yan-photo-button:hover img,
.xfile-card:hover img,
.collab-cover-link:hover img {
  transform: scale(1.045);
  filter: brightness(1.08) contrast(1.08) saturate(1.08);
}

.music-archive {
  grid-template-columns: minmax(15rem, 0.68fr) minmax(0, 2fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.music-sidebar,
.album-stage,
.track-panel {
  border-color: var(--glass-border);
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 70, 80, 0.15), transparent 14rem),
    linear-gradient(135deg, rgba(52, 5, 11, 0.76), rgba(4, 0, 1, 0.82));
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(10px);
}

.album-tab {
  grid-template-columns: 4.1rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.75rem;
}

.album-tab img {
  width: 4.1rem;
}

.album-tab.is-active {
  border-color: rgba(255, 76, 89, 0.92);
  background:
    radial-gradient(circle at 0% 50%, rgba(255,70,80,0.34), transparent 10rem),
    linear-gradient(90deg, rgba(120, 6, 18, 0.66), rgba(7, 0, 2, 0.62));
}

.album-hero {
  min-height: 28rem;
}

.track-list {
  gap: 1rem;
}

.track-card {
  min-height: 17rem;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  padding: 1rem;
}

.track-cover {
  width: 7.2rem;
  border: 1px solid rgba(255, 70, 80, 0.22);
}

.track-card h4 {
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
}

.track-lyric {
  color: rgba(255, 238, 220, 0.94);
  border-left-color: rgba(255, 70, 80, 0.9);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
}

.track-description {
  color: rgba(248,239,229,0.68);
}

.yan-tag-grid {
  gap: clamp(1rem, 2vw, 1.4rem);
}

.yan-tag-card {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.yan-tag-card-wide {
  min-height: 28rem;
}

.yan-tag-card::before {
  color: rgba(255, 255, 255, 0.06);
  text-shadow: 0 0 34px rgba(255, 70, 80, 0.16);
}

.yan-photo-grid {
  gap: 0.7rem;
}

.quote-archive::after {
  content: "YAN SPEAKS";
}

.quote-grid {
  gap: clamp(0.65rem, 1.25vw, 0.95rem);
}

.quote-card {
  min-height: 6.35rem;
  padding: clamp(0.55rem, 1vw, 0.78rem);
}

.quote-text-card {
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 70, 80, 0.2), transparent 12rem),
    linear-gradient(135deg, rgba(70, 8, 14, 0.72), rgba(8, 0, 2, 0.86));
}

.quote-text-card p {
  position: relative;
  padding-left: 0.8rem;
  font-size: clamp(0.98rem, 1.42vw, 1.32rem);
  line-height: 1.45;
}

.quote-text-card p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  bottom: 0.1em;
  width: 2px;
  background: linear-gradient(180deg, #ff4654, rgba(255,70,80,0.08));
  box-shadow: 0 0 16px rgba(255,70,80,0.48);
}

.xfile-grid,
.solo-work-grid {
  gap: clamp(0.9rem, 1.6vw, 1.25rem);
}

.variety-group {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.2rem, 2.2vw, 1.8rem);
}

.variety-group + .variety-group {
  margin-top: clamp(2rem, 3vw, 2.8rem);
}

.variety-group-head {
  display: flex;
  align-items: end;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(255, 70, 80, 0.22);
  padding-bottom: 0.65rem;
}

.variety-group-head span {
  color: #ff4c59;
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}

.variety-group-head h3 {
  margin: 0;
  color: #fff8ef;
  font-size: clamp(1.5rem, 2.8vw, 2.45rem);
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 70, 80, 0.2);
}

.xfile-card,
.solo-work-card {
  border-color: rgba(255, 70, 80, 0.24);
}

.solo-work-card {
  background:
    linear-gradient(180deg, rgba(5, 1, 2, 0.04), rgba(5, 1, 2, 0.9)),
    linear-gradient(90deg, rgba(24, 4, 7, 0.08), rgba(24, 4, 7, 0.48)),
    var(--solo-cover, url("/images/collabs/collab-stage-cover.jpg")) var(--solo-position, center) / cover;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(3px) saturate(1.06);
}

.solo-work-card::before {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.12), transparent 9rem),
    linear-gradient(135deg, rgba(217, 20, 36, 0.16), transparent 56%);
  opacity: 0.46;
}

.solo-work-card:hover::before,
.solo-work-card:focus-visible::before {
  opacity: 0.32;
}

.xfile-card span {
  min-height: 4.5rem;
  font-size: 1.02rem;
}

.solo-work-card {
  min-height: 19rem;
}

.message-grid {
  gap: clamp(1rem, 2vw, 1.5rem);
}

.site-credit {
  padding: 1.75rem clamp(1.25rem, 4vw, 4rem) 2.5rem;
  border-top: 1px solid rgba(197, 34, 48, 0.34);
  color: rgba(255, 245, 238, 0.66);
  font-size: 0.86rem;
  letter-spacing: 0;
  text-align: center;
}

.message-statement {
  width: fit-content;
  max-width: 100%;
  margin: -0.6rem 0 clamp(1.2rem, 2vw, 1.7rem);
  border-left: 2px solid rgba(255, 70, 80, 0.78);
  padding: 0.75rem 1.1rem 0.8rem 1.25rem;
  color: #fff5ea;
  background:
    linear-gradient(90deg, rgba(111, 8, 17, 0.58), rgba(10, 0, 2, 0.24));
  font-family: "Cinzel", "Noto Serif SC", serif;
  font-size: clamp(1.25rem, 2.4vw, 2.05rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-shadow:
    0 0 18px rgba(255, 70, 80, 0.38),
    0 8px 28px rgba(0, 0, 0, 0.78);
  box-shadow:
    0 18px 58px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#messages::before {
  background:
    linear-gradient(90deg, rgba(5, 0, 2, 0.72), rgba(5, 0, 2, 0.26) 46%, rgba(5, 0, 2, 0.66)),
    linear-gradient(180deg, rgba(5, 0, 2, 0.12), rgba(5, 0, 2, 0.66)),
    url("/images/visual-accents/message-stage-back.jpg") center / cover no-repeat,
    radial-gradient(circle at 16% 18%, rgba(255, 61, 74, 0.18), transparent 22rem),
    radial-gradient(circle at 86% 64%, rgba(150, 6, 24, 0.2), transparent 24rem),
    linear-gradient(135deg, rgba(36, 2, 7, 0.76), rgba(4, 0, 1, 0.34));
  background-blend-mode: normal, normal, soft-light, normal, normal, normal;
}

.message-form,
.message-card {
  padding: clamp(1.4rem, 2.5vw, 2rem);
}

.message-guideline {
  margin: 0 0 1.15rem;
  border-left: 2px solid rgba(255, 70, 80, 0.7);
  padding: 0.9rem 1rem;
  color: rgba(248, 239, 229, 0.86);
  background: linear-gradient(90deg, rgba(111, 8, 17, 0.34), rgba(0, 0, 0, 0.18));
  font-size: 0.96rem;
  line-height: 1.85;
}

.message-form input,
.message-form textarea {
  min-height: 3rem;
  border-color: rgba(255, 70, 80, 0.22);
  background:
    linear-gradient(135deg, rgba(70, 8, 14, 0.38), rgba(2, 0, 1, 0.62));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.message-form textarea {
  min-height: 10rem;
}

.message-form input:focus,
.message-form textarea:focus {
  outline: none;
  border-color: rgba(255, 82, 92, 0.86);
  box-shadow:
    0 0 0 3px rgba(255, 70, 80, 0.12),
    0 0 22px rgba(255, 70, 80, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.approved-message-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
  max-height: 24rem;
  overflow: auto;
  padding-right: 0.25rem;
}

.approved-message-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.55rem;
  padding: 0.85rem;
  background: rgba(0, 0, 0, 0.28);
}

.approved-message-item p {
  margin: 0.35rem 0 0;
}

.approved-message-empty {
  margin: 0;
  color: var(--muted);
}

.admin-shell {
  min-height: 100vh;
  padding: clamp(1rem, 4vw, 3rem);
  color: var(--ivory);
  background:
    radial-gradient(circle at 18% 0%, rgba(217, 20, 36, 0.22), transparent 28rem),
    linear-gradient(180deg, #0c0407 0%, #020102 100%);
}

.admin-panel {
  width: min(70rem, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255, 70, 80, 0.3);
  border-radius: 0.7rem;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  background: rgba(8, 1, 3, 0.78);
  box-shadow: var(--shadow);
}

.admin-panel-head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.admin-panel-head span,
.admin-message-meta,
.admin-status,
.admin-empty {
  color: var(--muted);
}

.admin-panel-head h1,
.admin-message-section h2 {
  margin: 0;
}

.admin-home-link,
.admin-login-form button,
.admin-logout-form button,
.admin-message-actions button,
.admin-message-card > form button {
  width: fit-content;
  border: 1px solid rgba(255, 70, 80, 0.52);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: var(--ivory);
  background: rgba(126, 8, 20, 0.68);
  cursor: pointer;
}

.admin-login-form {
  display: grid;
  gap: 1rem;
  max-width: 28rem;
}

.admin-login-form label {
  display: grid;
  gap: 0.45rem;
}

.admin-login-form input {
  border: 1px solid rgba(255, 70, 80, 0.28);
  border-radius: 0.45rem;
  padding: 0.75rem;
  color: var(--ivory);
  background: rgba(0, 0, 0, 0.36);
}

.admin-message-section {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.admin-message-list {
  display: grid;
  gap: 0.9rem;
}

.admin-message-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.65rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
}

.admin-message-card p {
  margin: 0.4rem 0;
}

.admin-message-card time {
  color: var(--muted);
  font-size: 0.85rem;
}

.admin-message-actions {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.admin-message-actions .admin-danger,
.admin-message-card > form .admin-danger {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.34);
}

.action-button,
.music-link,
.yan-gallery-toggle {
  border-color: rgba(255, 70, 80, 0.46);
}

.section,
.profile-card,
.album-stage,
.track-panel,
.yan-tag-card,
.quote-card,
.xfile-card,
.solo-work-card,
.message-form,
.message-card {
  animation: sectionFadeUp 700ms ease both;
}

@keyframes sectionFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  :root {
    --section-padding-y: clamp(70px, 12vw, 108px);
    --section-padding-x: clamp(16px, 5vw, 32px);
  }

  .quick-jump {
    left: 0.75rem;
    right: 0.75rem;
    top: auto;
    bottom: 0.75rem;
    flex-direction: row;
    justify-content: flex-start;
    overflow-x: auto;
    transform: none;
  }

  .quick-jump a {
    flex: 0 0 auto;
    min-width: auto;
    padding: 0.5rem 0.72rem;
  }

  .section {
    width: min(100% - 2rem, var(--page-max));
  }

  .section::before {
    inset-inline: -0.75rem;
  }

  .section::after {
    font-size: clamp(3.4rem, 17vw, 7rem);
    opacity: 0.7;
  }

  .hero-copy {
    padding-top: 45svh;
  }

  .profile-grid,
  .music-archive,
  .album-hero,
  .track-list {
    grid-template-columns: 1fr;
  }

  .profile-card-main {
    grid-template-columns: 1fr;
  }

  .track-card {
    grid-template-columns: 6rem minmax(0, 1fr);
  }

  .track-cover {
    width: 6rem;
  }

  .birthday-letter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .id-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .section {
    width: min(100% - 1.25rem, var(--page-max));
  }

  .section-head h2 {
    font-size: clamp(2.1rem, 12vw, 3.25rem);
  }

  .section::after {
    right: -0.4rem;
    font-size: 4rem;
  }

  .track-card {
    grid-template-columns: 1fr;
  }

  .track-cover {
    width: 100%;
    max-height: 16rem;
  }

  .quote-text-card p {
    font-size: 1.18rem;
  }

  .section-head .music-producer-line {
    margin-top: 2rem;
    font-size: clamp(1.15rem, 6vw, 1.65rem);
  }

  .birthday-letter-grid {
    grid-template-columns: 1fr;
  }

  .id-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .id-photo-panel-head {
    display: grid;
    justify-items: start;
  }
}

/* local visual accents from supplied photos */
#music .music-atmosphere {
  inset: 0 auto 0 calc(var(--section-padding-x) * -0.65);
  width: min(27vw, 21rem);
  height: auto;
  z-index: -2;
  overflow: visible;
  background: none;
  box-shadow: none;
}

#music .music-atmosphere::after {
  background: linear-gradient(90deg, rgba(7,3,5,0.08), transparent 62%, rgba(7,3,5,0.42));
}

.music-producer-line {
  position: relative;
  z-index: 3;
  width: fit-content;
  margin: clamp(2.2rem, 3.8vw, 3.5rem) 0 0;
  border: 1px solid rgba(255, 70, 80, 0.7);
  border-left: 4px solid rgba(255, 70, 80, 1);
  padding: 0.72rem 1.15rem;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(155, 8, 22, 0.76), rgba(8, 0, 2, 0.5));
  font-family: "Cinzel", "Noto Serif SC", serif;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow:
    0 0 16px rgba(255, 70, 80, 0.45),
    0 6px 18px rgba(0, 0, 0, 0.76);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.section-head .music-producer-line {
  display: block;
  position: relative;
  z-index: 4;
  width: fit-content;
  margin: clamp(2.2rem, 3.8vw, 3.5rem) 0 0;
  color: #fff;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.birthday-letter-block {
  margin-top: clamp(1.1rem, 2vw, 1.6rem);
  border: 1px solid rgba(255, 70, 80, 0.2);
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 70, 80, 0.12), transparent 14rem),
    linear-gradient(135deg, rgba(42, 4, 9, 0.6), rgba(5, 0, 2, 0.62));
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.32);
  padding: clamp(0.9rem, 1.8vw, 1.25rem);
}

.birthday-letter-block-head {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.birthday-letter-block-head span {
  color: #ff4c59;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.birthday-letter-block-head h3 {
  margin: 0;
  color: #fff8ef;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 70, 80, 0.24);
}

.birthday-letter-years {
  display: grid;
  gap: 0.9rem;
}

.birthday-letter-year {
  border: 1px solid var(--glass-border);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 70, 80, 0.12), transparent 12rem),
    linear-gradient(135deg, rgba(50, 5, 10, 0.62), rgba(8, 0, 2, 0.76));
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.28);
  padding: clamp(0.75rem, 1.4vw, 1rem);
  backdrop-filter: blur(8px) saturate(1.05);
}

.birthday-letter-year-head {
  display: grid;
  justify-items: start;
  gap: 0.2rem;
  margin-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 70, 80, 0.18);
  padding-bottom: 0.55rem;
}

.birthday-letter-year-head span {
  color: #ff4c59;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.birthday-letter-year-head h3 {
  margin: 0;
  color: #fff8ef;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.9;
  text-shadow: 0 0 24px rgba(255, 70, 80, 0.26);
}

.birthday-letter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.birthday-letter-card {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 70, 80, 0.24);
  padding: 0;
  background: rgba(5, 0, 2, 0.62);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.birthday-letter-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform 220ms ease, filter 220ms ease;
}

.birthday-letter-card:hover img,
.birthday-letter-card:focus-visible img {
  transform: scale(1.035);
  filter: brightness(1.06) contrast(1.06);
}

#music .music-bg-tile {
  display: block;
  position: absolute;
  left: 0;
  width: min(24vw, 18.5rem);
  height: 14rem;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(255, 70, 80, 0.16);
  padding: 0;
  opacity: 0.66;
  filter: contrast(1.05) brightness(0.96) saturate(1.04);
  background: transparent;
  box-shadow:
    0 22px 68px rgba(0, 0, 0, 0.52),
    inset 0 0 28px rgba(5, 0, 2, 0.38);
  mask-image:
    linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent),
    linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent),
    linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
  transition: opacity 220ms ease, filter 220ms ease;
}

#music .music-bg-tile-01 { top: 3rem; left: 0; opacity: 0.7; }
#music .music-bg-tile-02 { top: 20rem; left: 0.5rem; opacity: 0.66; }
#music .music-bg-tile-03 { top: 37rem; left: 0; opacity: 0.64; }
#music .music-bg-tile-04 { top: 54rem; left: 0.5rem; opacity: 0.7; }
#music .music-bg-tile-05 { top: 71rem; left: 0; opacity: 0.66; }
#music .music-bg-tile-06 { top: 88rem; left: 0.5rem; opacity: 0.64; }
#music .music-bg-tile-07 { top: 105rem; left: 0; opacity: 0.7; }
#music .music-bg-tile-08 { top: 122rem; left: 0.5rem; opacity: 0.66; }
#music .music-bg-tile-09 { top: 139rem; left: 0; opacity: 0.64; }
#music .music-bg-tile-10 { top: 156rem; left: 0.5rem; opacity: 0.7; }
#music .music-bg-tile-11 { top: 173rem; left: 0; opacity: 0.66; }
#music .music-bg-tile-12 { top: 190rem; left: 0.5rem; opacity: 0.64; }
#music .music-bg-tile-13 { top: 207rem; left: 0; opacity: 0.7; }
#music .music-bg-tile-14 { top: 224rem; left: 0.5rem; opacity: 0.66; }
#music .music-bg-tile-15 { top: 241rem; left: 0; opacity: 0.64; }
#music .music-bg-tile-16 { top: 258rem; left: 0.5rem; opacity: 0.7; }
#music .music-bg-tile-17 { top: 275rem; left: 0; opacity: 0.66; }
#music .music-bg-tile-18 { top: 292rem; left: 0.5rem; opacity: 0.64; }
#music .music-bg-tile:nth-of-type(n+19) {
  display: none;
}

@media (max-width: 1100px) {
  #music .music-atmosphere { width: 13rem; }
  #music .music-bg-tile {
    width: 11rem;
    height: 10rem;
    opacity: 0.42;
  }
}

@media (max-width: 900px) {
  #music .music-bg-tile { display: none; }
}
#xfile::before {
  background:
    linear-gradient(90deg, rgba(8,0,2,0.08), rgba(8,0,2,0.18) 58%, rgba(8,0,2,0.72)),
    radial-gradient(ellipse at right 2rem top 7rem, rgba(8,0,2,0) 0 11rem, rgba(8,0,2,0.58) 17rem, rgba(8,0,2,0.92) 24rem),
    url("/images/visual-accents/xfile-cats.jpg") right 1.4rem top 4.4rem / min(34vw, 27rem) auto no-repeat,
    radial-gradient(circle at 16% 18%, rgba(255, 61, 74, 0.18), transparent 22rem),
    radial-gradient(circle at 86% 64%, rgba(150, 6, 24, 0.2), transparent 24rem),
    linear-gradient(135deg, rgba(36, 2, 7, 0.76), rgba(4, 0, 1, 0.34));
  background-blend-mode: normal, normal, soft-light, normal, normal, normal;
}

#xfile::after {
  content: "X-FILE";
}

@media (max-width: 900px) {
  #xfile::before {
    background:
      linear-gradient(135deg, rgba(8,0,2,0.14), rgba(8,0,2,0.76)),
      radial-gradient(ellipse at right 1rem top 5rem, rgba(8,0,2,0) 0 6rem, rgba(8,0,2,0.7) 11rem),
      url("/images/visual-accents/xfile-cats.jpg") right 0.6rem top 3rem / 15rem auto no-repeat,
      radial-gradient(circle at 16% 18%, rgba(255, 61, 74, 0.18), transparent 22rem),
      linear-gradient(135deg, rgba(36, 2, 7, 0.76), rgba(4, 0, 1, 0.34));
    background-blend-mode: normal, normal, soft-light, normal, normal;
  }
}


