:root {
  --ocean-950: #041f33;
  --ocean-900: #072c46;
  --ocean-800: #0d3b5a;
  --ocean-700: #17547a;
  --ocean-600: #2b7fae;
  --ocean-500: #3f9cc9;
  --ocean-400: #6fc7e8;
  --ocean-300: #a5e1f2;
  --ocean-200: #cdeff8;
  --ocean-100: #e8f8fc;
  --paper: #f4fbfd;
  --white: #ffffff;
  --ink: #0e2f47;
  --ink-soft: #33546b;
  --muted: #648094;
  --line: rgba(18, 73, 105, .12);
  --line-strong: rgba(18, 73, 105, .2);
  --shadow: 0 26px 60px -34px rgba(8, 48, 78, .38);
  --shadow-sm: 0 12px 30px -20px rgba(8, 48, 78, .32);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-serif: "Songti SC", "Noto Serif SC", Georgia, serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1100px 760px at 88% -12%, #dff5ff 0%, rgba(223, 245, 255, 0) 62%),
    radial-gradient(900px 700px at -8% 38%, #e6f9ff 0%, rgba(230, 249, 255, 0) 58%),
    linear-gradient(180deg, #f6fdff 0%, #eff9fc 38%, #e8f5fa 100%);
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
::selection { background: rgba(111, 199, 232, .35); }

:focus-visible {
  outline: 2px solid var(--ocean-500);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4, p { margin: 0; }

/* ---------- 背景装饰 ---------- */
.page-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(111, 199, 232, .28);
  background: rgba(255, 255, 255, .22);
  animation: bubble-drift 16s ease-in-out infinite;
}

.bubble-1 { width: 12px; height: 12px; left: 11%; top: 32%; animation-delay: 0s; }
.bubble-2 { width: 22px; height: 22px; right: 13%; top: 18%; animation-delay: 3s; animation-duration: 20s; }
.bubble-3 { width: 8px; height: 8px; left: 46%; top: 62%; animation-delay: 5s; animation-duration: 14s; }
.bubble-4 { width: 16px; height: 16px; right: 24%; bottom: 12%; animation-delay: 2s; animation-duration: 18s; }
.bubble-5 { width: 9px; height: 9px; left: 32%; bottom: 8%; animation-delay: 4s; animation-duration: 13s; }
.bubble-6 { width: 14px; height: 14px; left: 58%; bottom: 5%; animation-delay: 1s; animation-duration: 19s; }
.bubble-7 { width: 6px; height: 6px; left: 73%; bottom: 10%; animation-delay: 6s; animation-duration: 15s; }
.bubble-8 { width: 20px; height: 20px; left: 88%; bottom: 6%; animation-delay: 3s; animation-duration: 21s; }

.jellyfish-bg {
  position: absolute;
  color: var(--ocean-600);
  opacity: .1;
  width: 260px;
}

.jellyfish-bg-1 { top: 6%; right: -80px; animation: bg-jelly-a 8s ease-in-out infinite; }
.jellyfish-bg-2 { bottom: 4%; left: -90px; width: 320px; animation: bg-jelly-b 9.5s ease-in-out infinite; }

.jellyfish .jelly-dome { fill: currentColor; fill-opacity: .12; stroke: currentColor; stroke-width: 2.4; }
.jellyfish .jelly-frill,
.jellyfish .jelly-tentacles path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.jellyfish .jelly-tentacles { transform-origin: 70px 100px; animation: tentacle-sway 4.4s ease-in-out infinite; }
.jellyfish circle { fill: currentColor; opacity: .4; }

/* ---------- 移动端顶栏 ---------- */
.topbar {
  display: none;
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  height: 64px;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 253, 255, .82);
  border-bottom: 1px solid rgba(18, 73, 105, .08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.topbar-text { display: flex; flex-direction: column; line-height: 1.25; }
.topbar-text strong { font-size: 14px; letter-spacing: .04em; }
.topbar-text small { font-size: 9px; letter-spacing: .18em; color: var(--muted); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  color: var(--ocean-700);
  background: linear-gradient(145deg, #ffffff, #dff4fb);
  border: 1px solid rgba(23, 84, 122, .14);
  box-shadow: inset 0 1px 0 #fff, 0 8px 18px -14px rgba(8, 48, 78, .5);
  flex: none;
}

.brand-mark svg { width: 26px; height: 26px; }
.brand-mark.large { width: 46px; height: 46px; border-radius: 15px; }
.brand-mark.large svg { width: 30px; height: 30px; }

.menu-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .7);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--ocean-800);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

body.nav-open .menu-btn span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
body.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
body.nav-open .menu-btn span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- 布局 ---------- */
.layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 264px;
  gap: 26px;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 24px;
  align-items: start;
}

.main { min-width: 0; }

/* ---------- 侧边栏 ---------- */
.sidebar {
  position: sticky;
  top: 24px;
  height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  padding: 22px 16px 18px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(43, 127, 174, .25) transparent;
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(43, 127, 174, .25); border-radius: 4px; }

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 6px 18px;
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.brand-text strong { font-size: 15px; letter-spacing: .03em; color: var(--ocean-900); }
.brand-text small { font-size: 8px; letter-spacing: .17em; color: var(--muted); white-space: nowrap; }

.nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 13px;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.nav-link svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .7;
}

.nav-link em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--font-serif);
  font-size: 10px;
  color: rgba(23, 84, 122, .38);
}

.nav-link:hover {
  background: rgba(232, 248, 252, .8);
  color: var(--ocean-800);
  transform: translateX(2px);
}

.nav-link.is-active {
  background: linear-gradient(90deg, rgba(111, 199, 232, .26), rgba(111, 199, 232, .06));
  color: var(--ocean-800);
  font-weight: 600;
}

.nav-link.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 15px;
  border-radius: 3px;
  background: var(--ocean-500);
  transform: translateY(-50%);
}

.nav-link.is-active svg { opacity: 1; }
.nav-link.is-active em { color: var(--ocean-500); }

.sidebar-foot {
  margin-top: auto;
  padding: 18px 8px 2px;
  border-top: 1px dashed var(--line);
  font-size: 10px;
  color: var(--muted);
}

.sidebar-socials { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.sidebar-socials a { text-decoration: none; color: var(--ocean-700); font-size: 11px; }
.sidebar-socials a:hover { text-decoration: underline; }

.back-splash {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
  color: var(--ocean-700);
  font-size: 10px;
  text-decoration: none;
}

.back-splash svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.back-splash:hover { background: var(--white); }

/* ---------- 开屏 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  min-height: 640px;
  padding: clamp(28px, 4vw, 58px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, .9);
  background:
    radial-gradient(680px 420px at 82% 18%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 60%),
    radial-gradient(520px 400px at 4% 100%, rgba(111, 199, 232, .28), rgba(111, 199, 232, 0) 70%),
    linear-gradient(138deg, #f3fdff 0%, #def3fb 46%, #c8e9f6 100%);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(43, 127, 174, .12);
  box-shadow: 0 0 0 42px rgba(43, 127, 174, .04), 0 0 0 88px rgba(43, 127, 174, .03);
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 2; min-width: 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--ocean-600);
  font-weight: 600;
}

.eyebrow-line { display: block; width: 26px; height: 1px; background: var(--ocean-400); }

.hero-title {
  margin-top: 14px;
  font-size: clamp(58px, 7.4vw, 92px);
  line-height: .98;
  letter-spacing: .06em;
  color: var(--ocean-900);
  font-weight: 800;
  text-shadow: 0 10px 30px rgba(23, 84, 122, .12);
}

.hero-en {
  display: block;
  margin-top: 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .42em;
  color: var(--ocean-600);
  text-shadow: none;
}

.hero-subtitle {
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--ocean-800);
}

.hero-desc {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--muted);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .58);
  box-shadow: inset 0 1px 0 #fff;
  backdrop-filter: blur(8px);
}

.hero-stats div {
  flex: 1 1 90px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 8px;
  border-left: 1px solid rgba(18, 73, 105, .1);
}

.hero-stats div:first-child { border-left: 0; padding-left: 0; }
.hero-stats strong { font-size: 14px; color: var(--ocean-800); letter-spacing: .02em; }
.hero-stats span { font-size: 10px; color: var(--muted); letter-spacing: .08em; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }

.hero-tags span {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(23, 84, 122, .1);
  font-size: 11px;
  color: var(--ocean-700);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.btn-primary {
  background: linear-gradient(135deg, var(--ocean-800), var(--ocean-600));
  color: #fff;
  box-shadow: 0 16px 30px -18px rgba(13, 59, 90, .8);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 38px -18px rgba(13, 59, 90, .85); }

.btn-ghost {
  border: 1px solid rgba(23, 84, 122, .2);
  background: rgba(255, 255, 255, .52);
  color: var(--ocean-800);
}

.btn-ghost:hover { background: #fff; transform: translateY(-2px); }

.hero-visual {
  position: relative;
  z-index: 1;
  height: 470px;
  min-width: 0;
}

.jellyfish-hero {
  position: absolute;
  width: 300px;
  right: -60px;
  bottom: -46px;
  opacity: .17;
  color: var(--ocean-600);
  z-index: 0;
  animation: hero-jelly 6s ease-in-out infinite;
}

.stamp {
  position: absolute;
  top: -12px;
  right: 0;
  width: 116px;
  z-index: 3;
  animation: stamp-spin 26s linear infinite;
}

.stamp svg { width: 100%; height: 100%; }
.stamp-text { font-size: 8.3px; letter-spacing: 2.1px; fill: var(--ocean-700); }
.stamp-center { font-family: var(--font-serif); font-size: 17px; fill: var(--ocean-800); letter-spacing: 2px; }
.stamp-center.small { font-family: var(--font-sans); font-size: 7px; letter-spacing: 3px; fill: var(--ocean-600); }

.polaroid {
  position: absolute;
  margin: 0;
  padding: 9px 9px 34px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 26px 50px -26px rgba(8, 48, 78, .55);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease;
}

.polaroid::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 52px;
  height: 18px;
  background: rgba(205, 239, 248, .78);
  border-left: 1px solid rgba(255, 255, 255, .6);
  border-right: 1px solid rgba(255, 255, 255, .6);
  transform: translateX(-50%) rotate(-3deg);
  backdrop-filter: blur(2px);
}

.polaroid-img { overflow: hidden; border-radius: 2px; background: var(--ocean-200); }
.polaroid img { width: 100%; height: 100%; object-fit: cover; }

.polaroid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 11px;
  font-style: italic;
  letter-spacing: .08em;
  color: var(--ink-soft);
}

.polaroid-main {
  width: 78%;
  left: 0;
  top: 10%;
  transform: rotate(-5deg);
  z-index: 2;
}

.polaroid-main .polaroid-img { aspect-ratio: 4 / 3; }

.polaroid-sub {
  width: 57%;
  right: -2%;
  bottom: 2%;
  transform: rotate(4.5deg);
  z-index: 3;
}

.polaroid-sub .polaroid-img { aspect-ratio: 16 / 10; }

.hero-visual:hover .polaroid-main { transform: rotate(-3deg) translateY(-4px); }
.hero-visual:hover .polaroid-sub { transform: rotate(3deg) translateY(-2px); }

/* ---------- 通用板块 ---------- */
.section {
  position: relative;
  margin-top: 64px;
  scroll-margin-top: 24px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  margin-bottom: 22px;
}

.sec-no {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ocean-500);
  letter-spacing: .06em;
  padding-bottom: 5px;
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: .05em;
  color: var(--ocean-900);
}

.section-head p {
  margin-top: 4px;
  font-size: 9.5px;
  letter-spacing: .2em;
  color: var(--muted);
}

.section-note {
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
}

/* ---------- 个人简介 ---------- */
.profile-card {
  display: grid;
  grid-template-columns: minmax(250px, .82fr) minmax(0, 1.55fr);
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.profile-main { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }

.avatar-wrap { position: relative; flex: none; }

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 64% 34%;
  border: 3px solid #fff;
  box-shadow: 0 10px 26px -14px rgba(8, 48, 78, .6), 0 0 0 1px rgba(23, 84, 122, .08);
}

.avatar-badge {
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ocean-600);
  border: 1px solid rgba(23, 84, 122, .12);
  box-shadow: var(--shadow-sm);
}

.avatar-badge svg { width: 20px; height: 20px; }

.profile-id { min-width: 0; }

.profile-id h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: .04em;
  color: var(--ocean-900);
}

.profile-id h3 span {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--muted);
}

.profile-role { margin-top: 5px; font-size: 12px; letter-spacing: .06em; color: var(--ocean-600); }

.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.profile-tags span {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ocean-100);
  color: var(--ocean-700);
  font-size: 10px;
  border: 1px solid rgba(23, 84, 122, .08);
}

.social-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }

.social {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .7);
  font-size: 10.5px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

.social svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social:hover { background: var(--ocean-100); border-color: rgba(43, 127, 174, .3); }

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(232, 248, 252, .75), rgba(255, 255, 255, .65));
  border: 1px solid rgba(23, 84, 122, .08);
  transition: transform .25s ease, background .25s ease;
}

.info-item:hover { transform: translateY(-2px); background: #fff; }

.info-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  color: var(--ocean-600);
  box-shadow: 0 6px 14px -10px rgba(8, 48, 78, .5);
}

.info-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.info-label { font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.info-value { margin-top: 2px; font-size: 13.5px; color: var(--ink); line-height: 1.45; overflow-wrap: anywhere; }

/* ---------- 时间线 ---------- */
.timeline { display: flex; flex-direction: column; gap: 6px; }

.year-block {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 8px;
}

.year-col { position: relative; padding-top: 4px; }

.year-pill {
  position: sticky;
  top: 28px;
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  color: var(--ocean-800);
}

.year-pill::after {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  margin-top: 6px;
  background: var(--ocean-300);
}

.year-events {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 22px;
  border-left: 1px dashed rgba(43, 127, 174, .3);
}

.tl-card {
  position: relative;
  padding: 17px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.tl-card::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ocean-400);
  box-shadow: 0 0 0 4px rgba(111, 199, 232, .16);
}

.tl-card:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -30px rgba(8, 48, 78, .5); }

.tl-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; }

.tl-date {
  flex: none;
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--ocean-600);
  background: var(--ocean-100);
  border-radius: 6px;
  padding: 2px 7px;
}

.tl-head h3 { font-size: 15px; color: var(--ocean-900); letter-spacing: .02em; }
.tl-card > p { margin-top: 6px; font-size: 12.5px; color: var(--ink-soft); }

.tl-media {
  position: relative;
  margin: 12px 0 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--ocean-200);
}

.tl-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.tl-media:hover img { transform: scale(1.035); }

.tl-media figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 22px 14px 10px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, .95);
  background: linear-gradient(180deg, rgba(4, 31, 51, 0), rgba(4, 31, 51, .65));
  letter-spacing: .04em;
}

/* ---------- 占位板块 ---------- */
.empty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(34px, 5vw, 52px) 24px;
  border-radius: var(--radius-lg);
  border: 1.5px dashed rgba(43, 127, 174, .26);
  background: rgba(255, 255, 255, .46);
}

.empty-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(232, 248, 252, .9);
  border: 1px solid rgba(43, 127, 174, .14);
  color: var(--ocean-500);
}

.empty-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.empty-card h3 { margin-top: 15px; font-size: 17px; color: var(--ocean-900); letter-spacing: .03em; }
.empty-card p { max-width: 420px; margin-top: 6px; font-size: 12px; color: var(--muted); }

.empty-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 16px; }

.empty-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  font-size: 10px;
  color: var(--ink-soft);
}

/* ---------- 筛选工具条 ---------- */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }

.chip {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .65);
  color: var(--ink-soft);
  font-size: 11.5px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.chip:hover { background: #fff; border-color: rgba(43, 127, 174, .3); }

.chip.is-active {
  background: var(--ocean-800);
  border-color: var(--ocean-800);
  color: #fff;
}

.toolbar-count { font-size: 10.5px; color: var(--muted); }

/* ---------- MVP ---------- */
.mvp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}

.mvp-card {
  position: relative;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.mvp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 127, 174, .25);
  background: #fff;
}

.mvp-date { display: block; font-size: 9.5px; letter-spacing: .08em; color: var(--muted); }

.mvp-hero {
  display: inline-block;
  margin-top: 7px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--ocean-800);
}

.mvp-stage { margin-top: 4px; font-size: 10.5px; color: var(--ocean-600); line-height: 1.5; }
.mvp-match { margin-top: 2px; font-size: 10.5px; color: var(--ink-soft); line-height: 1.5; }

.gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 30px 0 12px;
}

.gallery-head h3 { font-size: 16px; color: var(--ocean-900); letter-spacing: .03em; }
.gallery-count { font-size: 10px; font-weight: 400; color: var(--muted); letter-spacing: .04em; }
.gallery-head p { font-size: 10px; color: var(--muted); }

.mvp-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 9px;
}

.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ocean-200);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 31, 51, 0) 55%, rgba(4, 31, 51, .35));
  opacity: 0;
  transition: opacity .3s ease;
}

.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }

.gallery-more {
  grid-column: 1 / -1;
  min-height: 44px;
  border-radius: 12px;
  border: 1.5px dashed rgba(43, 127, 174, .3);
  background: rgba(255, 255, 255, .55);
  color: var(--ocean-700);
  font-size: 11.5px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.gallery-more:hover { background: #fff; border-color: rgba(43, 127, 174, .5); }

/* ---------- 荣誉 ---------- */
.honor-gallery {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}

.honor-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ocean-200);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-sm);
}

.honor-gallery img { width: 100%; height: 100%; object-fit: cover; }
.honor-gallery figure:first-child img { aspect-ratio: 2 / 3; object-position: center 22%; }
.honor-gallery figure:last-child img { aspect-ratio: 16 / 9; }

.honor-gallery figcaption {
  padding: 9px 12px;
  font-size: 10px;
  color: var(--ink-soft);
  background: #fff;
  letter-spacing: .03em;
}

.honor-list { display: flex; flex-direction: column; gap: 20px; }

.honor-year-group { min-width: 0; }

.honor-year-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--ocean-800);
}

.honor-year-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(43, 127, 174, .28), rgba(43, 127, 174, 0));
}

.honor-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.honor-entry {
  position: relative;
  padding: 13px 15px 13px 34px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--shadow-sm);
}

.honor-entry::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ocean-400);
  box-shadow: 0 0 0 3px rgba(111, 199, 232, .18);
}

.honor-entry .h-date {
  display: inline-block;
  font-size: 9.5px;
  color: var(--ocean-600);
  letter-spacing: .04em;
  margin-bottom: 3px;
}

.honor-entry h4 { font-size: 12.5px; line-height: 1.5; color: var(--ocean-900); font-weight: 600; }
.honor-entry p { margin-top: 3px; font-size: 10.5px; line-height: 1.55; color: var(--muted); }

/* ---------- 比赛记录 ---------- */
.record-list { display: flex; flex-direction: column; gap: 9px; }

.record-group {
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.record-group summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 17px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.record-group summary::-webkit-details-marker { display: none; }

.record-group summary h3 { font-size: 13.5px; color: var(--ocean-900); letter-spacing: .02em; }

.record-count {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ocean-100);
  color: var(--ocean-700);
  font-size: 9.5px;
}

.record-arrow {
  margin-left: auto;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--ocean-600);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}

.record-group[open] .record-arrow { transform: rotate(180deg); }

.record-matches { list-style: none; margin: 0; padding: 0 17px 10px; }

.record-matches li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px dashed rgba(18, 73, 105, .1);
}

.rec-date { font-size: 10.5px; color: var(--ocean-600); font-variant-numeric: tabular-nums; }
.rec-text { font-size: 11.5px; color: var(--ink-soft); line-height: 1.45; }

.rec-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(43, 127, 174, .2);
  background: rgba(232, 248, 252, .7);
  color: var(--ocean-700);
  font-size: 9.5px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.rec-link:hover { background: var(--ocean-800); color: #fff; border-color: var(--ocean-800); }

/* ---------- 综艺 ---------- */
.variety-list { display: flex; flex-direction: column; gap: 12px; }

.variety-card {
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-sm);
}

.variety-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: var(--ocean-900);
  letter-spacing: .02em;
}

.variety-card h3::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ocean-400);
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 7px;
  margin-top: 13px;
}

.episode-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 9px;
  border: 1px solid rgba(23, 84, 122, .08);
  background: rgba(232, 248, 252, .62);
  color: var(--ink-soft);
  font-size: 10.5px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.episode-link svg { width: 11px; height: 11px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .6; }
.episode-link:hover { background: #fff; transform: translateY(-1px); }

/* ---------- 页脚 ---------- */
.footer {
  position: relative;
  margin-top: 72px;
  padding: 38px 20px 28px;
  text-align: center;
  border-top: 1px dashed rgba(18, 73, 105, .14);
}

.footer-jelly { width: 54px; margin: 0 auto 10px; color: var(--ocean-600); opacity: .35; }
.footer-jelly svg { width: 100%; height: auto; }

.footer-title { font-size: 14px; letter-spacing: .14em; color: var(--ocean-800); }
.footer-desc { max-width: 460px; margin: 8px auto 0; font-size: 10.5px; line-height: 1.7; color: var(--muted); }

.footer-links { display: flex; justify-content: center; gap: 16px; margin-top: 12px; }
.footer-links a { font-size: 10.5px; color: var(--ocean-700); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.footer-copy { margin-top: 14px; font-family: var(--font-serif); font-style: italic; font-size: 10px; letter-spacing: .08em; color: rgba(100, 128, 148, .8); }

/* ---------- 右侧栏 ---------- */
.rail {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.rail::-webkit-scrollbar { display: none; }

.rail-card {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .7);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.rail-kicker { font-size: 8.5px; letter-spacing: .22em; color: var(--muted); }

.birthday-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  background:
    radial-gradient(180px 130px at 90% 0%, rgba(111, 199, 232, .4), rgba(111, 199, 232, 0) 70%),
    linear-gradient(150deg, var(--ocean-800), var(--ocean-900));
  color: #fff;
  box-shadow: 0 22px 44px -28px rgba(4, 31, 51, .7);
}

.birthday-card .rail-kicker { color: rgba(205, 239, 250, .65); }

.countdown { display: flex; align-items: baseline; gap: 5px; margin-top: 6px; }
.countdown strong { font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 11px; color: rgba(205, 239, 250, .8); }

.rail-note { margin-top: 6px; font-size: 10px; color: rgba(205, 239, 250, .68); letter-spacing: .04em; }

.progress {
  height: 3px;
  margin-top: 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  overflow: hidden;
}

.progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #8fddf0, #d9f7ff); transition: width .6s ease; }

.rail-title { margin-top: 3px; font-size: 16px; letter-spacing: .06em; color: var(--ocean-900); }

.rail-facts { display: flex; flex-direction: column; margin: 9px 0 0; }

.rail-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(18, 73, 105, .1);
}

.rail-facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.rail-facts dt { flex: none; font-size: 10px; color: var(--muted); }
.rail-facts dd { margin: 0; font-size: 11px; font-weight: 500; color: var(--ink); text-align: right; }

.rail-links { display: flex; flex-direction: column; gap: 3px; margin-top: 9px; }

.rail-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 11px;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px dashed rgba(18, 73, 105, .1);
}

.rail-links a:last-child { border-bottom: 0; }
.rail-links a span { font-family: var(--font-serif); font-size: 9px; color: var(--ocean-500); }
.rail-links a:hover { color: var(--ocean-800); }

.rail-quote {
  position: relative;
  overflow: hidden;
  padding: 22px 18px;
  background: linear-gradient(150deg, #eaf9fd, #d5eef8);
  border-color: rgba(255, 255, 255, .8);
}

.rail-quote { position: relative; }
.rail-quote svg { display: none; }
.rail-quote::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid rgba(43, 127, 174, .2);
  box-shadow: 0 0 0 16px rgba(43, 127, 174, .045);
  pointer-events: none;
}
.rail-quote p { position: relative; z-index: 1; font-family: var(--font-serif); font-size: 12.5px; line-height: 1.9; letter-spacing: .04em; color: var(--ocean-800); }

/* ---------- 灯箱 ---------- */
.lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: 92vw;
  max-height: 90vh;
}

.lightbox::backdrop { background: rgba(4, 24, 39, .82); backdrop-filter: blur(6px); }

.lightbox img {
  max-width: 88vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
}

.lightbox p { margin-top: 10px; text-align: center; font-size: 11px; color: rgba(255, 255, 255, .8); }

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
}

.lightbox-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

/* ---------- 回顶部 & 遮罩 ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .8);
  color: var(--ocean-800);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(4, 31, 51, .42);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .3s ease;
}

.overlay.is-visible { opacity: 1; }

/* ---------- 滚动动画 ---------- */
body.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}

body.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 动画 ---------- */
@keyframes bubble-drift {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-16px) translateX(6px); }
}

@keyframes tentacle-sway {
  0%, 100% { transform: rotate(-2.6deg); }
  50% { transform: rotate(2.6deg); }
}

@keyframes bg-jelly-a {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(8deg); }
  50% { transform: translate3d(-14px, -22px, 0) rotate(13deg); }
}

@keyframes bg-jelly-b {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-6deg); }
  50% { transform: translate3d(12px, -26px, 0) rotate(-11deg); }
}

@keyframes hero-jelly {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-3deg) scale(.98); }
  50% { transform: translate3d(-8px, -20px, 0) rotate(4deg) scale(1.03); }
}

@keyframes stamp-spin {
  to { transform: rotate(360deg); }
}

/* ---------- 每日考古 ---------- */
.archive-block { margin-bottom: 22px; }

.archive-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.archive-title h3 { font-size: 15px; color: var(--ocean-900); letter-spacing: .03em; }
.archive-title span { font-size: 10px; color: var(--muted); }

.archive-year {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  margin-bottom: 8px;
  overflow: hidden;
}

.archive-year summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ocean-900);
}

.archive-year summary::-webkit-details-marker { display: none; }
.archive-year summary em { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 400; color: var(--muted); }
.archive-year summary .record-arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.archive-year[open] summary .record-arrow { transform: rotate(180deg); }

.archive-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 7px;
  padding: 0 12px 12px;
}

.archive-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--ocean-100);
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.45;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.archive-link svg { flex: none; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.archive-link:hover { background: var(--ocean-200); color: var(--ocean-800); }

/* ---------- 比赛安利 ---------- */
.highlight-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.highlight-card {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .8);
}

.hl-no { display: inline-block; font-size: 10px; letter-spacing: .12em; color: var(--ocean-500); margin-bottom: 8px; }
.highlight-card h3 { font-size: 14px; line-height: 1.6; color: var(--ocean-950); margin-bottom: 8px; }
.highlight-card p { font-size: 11.5px; line-height: 1.8; color: var(--muted); margin-bottom: 12px; }

.hl-link { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ocean-600); text-decoration: none; }
.hl-link svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hl-link:hover { color: var(--ocean-800); text-decoration: underline; }

@media (max-width: 640px) {
  .highlight-list { grid-template-columns: 1fr; }
  .archive-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
  .layout { grid-template-columns: 228px minmax(0, 1fr); }
  .rail { display: none; }
}

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: 600px; }
  .hero-visual { height: 420px; }
  .profile-card { grid-template-columns: 1fr; }
  .profile-main { align-items: center; }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  body { padding-top: 64px; }
  .topbar { display: flex; }
  .layout { display: block; width: 100%; padding: 16px 14px 40px; }
  .sidebar {
    position: fixed;
    top: 64px;
    bottom: 0;
    left: 0;
    z-index: 60;
    height: auto;
    width: min(300px, 84vw);
    border-radius: 0 24px 24px 0;
    border: 0;
    padding: 22px 16px;
    transform: translateX(-105%);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1);
    box-shadow: 12px 0 50px -20px rgba(4, 31, 51, .5);
    background: #f8fdff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body.nav-open .sidebar { transform: none; }
  body.nav-open { overflow: hidden; }
  .nav-link { color: #274a62; }
  .section { scroll-margin-top: 80px; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding: 30px 22px 34px; }
  .hero-visual { height: 380px; margin-top: 24px; max-width: 440px; width: 100%; }
  .stamp { width: 96px; top: -6px; right: 4px; }
  .hero-title { font-size: clamp(54px, 12vw, 78px); }
  .honor-gallery { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .to-top { right: 14px; bottom: 14px; }
}

@media (max-width: 720px) {
  .hero-stats { gap: 4px; padding: 12px 13px; }
  .hero-stats div { flex-basis: 76px; }
  .hero-stats strong { font-size: 12.5px; }
  .hero-visual { height: 330px; }
  .polaroid-main { width: 80%; top: 8%; }
  .polaroid-sub { width: 58%; }
  .year-block { grid-template-columns: 1fr; gap: 8px; }
  .year-col { padding-top: 0; }
  .year-pill { position: static; font-size: 21px; }
  .year-pill::after { width: 20px; margin-top: 4px; }
  .year-events { padding-left: 18px; }
  .tl-card::before { left: -23px; }
  .info-grid { grid-template-columns: 1fr; }
  .honor-items { grid-template-columns: 1fr; }
  .honor-gallery { grid-template-columns: 1fr; align-items: stretch; }
  .honor-gallery figure:first-child img { aspect-ratio: 3 / 4; }
  .honor-gallery figure:last-child img { aspect-ratio: 16 / 9; }
  .honor-gallery figcaption { font-size: 9.5px; padding: 7px 10px; }
  .mvp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mvp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record-matches { padding: 0 12px 8px; }
  .record-matches li { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 7px; }
  .rec-text { font-size: 11px; }
  .gallery-head { align-items: center; }
  .gallery-head p { display: none; }
}

@media (max-width: 520px) {
  .layout { padding-left: 12px; padding-right: 12px; }
  .hero { border-radius: 24px; padding: 26px 18px 30px; }
  .hero-title { letter-spacing: .03em; }
  .hero-visual { height: 300px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .profile-card { padding: 18px; }
  .profile-main { align-items: flex-start; gap: 13px; }
  .avatar { width: 76px; height: 76px; }
  .profile-id h3 { font-size: 21px; }
  .info-item { padding: 11px 12px; }
  .mvp-grid { grid-template-columns: 1fr; }
  .mvp-gallery { grid-template-columns: 1fr 1fr; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .record-group summary { padding: 12px 13px; }
  .record-matches li { grid-template-columns: 46px minmax(0, 1fr) auto; }
  .rec-link { padding: 3px 7px; font-size: 9px; }
  .section { margin-top: 52px; }
  .footer { margin-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  body.reveal-ready .reveal { opacity: 1; transform: none; }
}
