:root {
  color-scheme: light;
  --accent: #93b5cf;
  --accent-vivid: #3c83b4;
  --accent-bright: #cfe9fa;
  --accent-mid: #5a9ac0;
  --accent-deep: #1b557b;
  --accent-soft: #b5d9ef;
  --accent-wash: #ddeff9;
  --warm-soft: #fff0e7;
  --warm: #e8bfa8;
  --warm-deep: #9c6552;
  --on-accent: #122d41;
  --paper: #d3e7f5;
  --card: rgba(249, 253, 255, 0.94);
  --card-solid: #f9fdff;
  --card-soft: #e3f1f9;
  --text: #0b2a40;
  --heading: #082943;
  --muted: #46677d;
  --line: rgba(24, 76, 110, 0.19);
  --line-strong: rgba(20, 69, 101, 0.31);
  --shadow: 0 18px 46px rgba(29, 84, 121, 0.12), 0 2px 8px rgba(30, 82, 118, 0.05);
  --shadow-soft: 0 10px 26px rgba(29, 84, 121, 0.09);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 13px;
  --serif: "STSong", "Songti SC", "Noto Serif SC", "SimSun", serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --accent: #93b5cf;
  --accent-vivid: #58a5d5;
  --accent-bright: #d2e9fb;
  --accent-mid: #73a5c7;
  --accent-deep: #b9dcf1;
  --accent-soft: #d9edf9;
  --accent-wash: #153d57;
  --warm-soft: #2f211d;
  --warm: #c68c74;
  --warm-deep: #f0c3af;
  --on-accent: #11283a;
  --paper: #07121c;
  --card: rgba(13, 29, 41, 0.95);
  --card-solid: #122633;
  --card-soft: #163548;
  --text: #f0f8fd;
  --heading: #f5fbff;
  --muted: #9cb5c6;
  --line: rgba(174, 216, 242, 0.17);
  --line-strong: rgba(188, 220, 240, 0.25);
  --shadow: 0 24px 65px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 7% -4%, rgba(147, 181, 207, 0.84), transparent 31rem),
    radial-gradient(circle at 100% 18%, rgba(60, 131, 180, 0.42), transparent 34rem),
    linear-gradient(145deg, #f0f9ff 0%, var(--paper) 48%, #c7e2f2 100%);
  font-family: var(--sans);
  line-height: 1.65;
  transition: background-color 250ms ease, color 250ms ease;
}

button,
select,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--heading);
}

::selection {
  color: var(--on-accent);
  background: var(--accent-bright);
}

button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 3px;
}

.page-ambient {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(147, 181, 207, 0.7) 0 1px, transparent 1.6px);
  background-position: 0 0, 23px 31px;
  background-size: 67px 67px, 89px 89px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 40%);
  animation: starfield-twinkle 8s ease-in-out infinite;
}

.ambient-glow {
  position: absolute;
  width: 40rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.33;
}

.ambient-glow-one {
  top: -18rem;
  left: -12rem;
  background: radial-gradient(circle, var(--accent) 0%, rgba(147, 181, 207, 0) 70%);
}

.ambient-glow-two {
  right: -18rem;
  bottom: -12rem;
  background: radial-gradient(circle, var(--accent-deep) 0%, rgba(63, 105, 135, 0) 70%);
}

.ambient-glow-warm {
  top: 28rem;
  right: 10%;
  width: 31rem;
  opacity: 0.18;
  background: radial-gradient(circle, var(--warm) 0%, rgba(232, 191, 168, 0) 70%);
  animation: warm-glow-breathe 13s ease-in-out infinite;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  min-height: 80px;
  padding: 10px max(28px, calc((100vw - 1480px) / 2));
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(40px, 1fr);
  align-items: center;
  gap: 30px;
  background: color-mix(in srgb, #edf8ff 88%, transparent);
  border-bottom: 1px solid rgba(84, 145, 181, 0.2);
  box-shadow: 0 3px 18px rgba(33, 94, 132, 0.08);
  backdrop-filter: blur(22px) saturate(1.15);
}

[data-theme="dark"] .site-header {
  background: rgba(12, 22, 30, 0.82);
  border-bottom-color: rgba(195, 222, 238, 0.1);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.24em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.site-nav a {
  position: relative;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 4px;
  left: 13px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

.icon-button {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  color: var(--muted);
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.icon-button:hover {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  transform: translateY(-1px);
}

.theme-toggle {
  justify-self: end;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .moon-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: block;
}

.page-shell {
  width: min(1480px, calc(100% - 56px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr) 324px;
  gap: 24px;
  align-items: start;
}

.left-column,
.right-column {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 247, 254, 0.94));
  border: 1px solid rgba(75, 139, 176, 0.17);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(1.08);
  overflow: hidden;
}

[data-theme="dark"] .card {
  background:
    linear-gradient(145deg, rgba(22, 37, 49, 0.95), rgba(15, 27, 36, 0.92));
  border-color: rgba(201, 223, 237, 0.11);
}

[data-theme="dark"] .social-links a {
  background: rgba(28, 49, 63, 0.82);
  border-color: rgba(181, 213, 233, 0.14);
}

[data-theme="dark"] .support-links a {
  background: linear-gradient(100deg, rgba(29, 51, 65, 0.94), rgba(23, 42, 55, 0.86));
  border-color: rgba(181, 213, 233, 0.09);
}

[data-theme="dark"] .mini-countdowns article {
  background: rgba(24, 45, 58, 0.74);
  border-color: rgba(181, 213, 233, 0.08);
}

[data-theme="dark"] .profile-grid {
  background: rgba(20, 37, 49, 0.34);
}

[data-theme="dark"] .schedule-item {
  background: linear-gradient(145deg, rgba(28, 50, 64, 0.94), rgba(21, 40, 52, 0.88));
  border-color: rgba(181, 213, 233, 0.1);
}

[data-theme="dark"] .schedule-countdown span {
  background: rgba(22, 41, 53, 0.92);
  border-color: rgba(181, 213, 233, 0.1);
}

[data-theme="dark"] .filter-chip {
  background: rgba(28, 49, 63, 0.86);
  border-color: rgba(181, 213, 233, 0.08);
}

.profile-summary {
  position: relative;
  padding: 30px 22px 24px;
  background:
    radial-gradient(circle at 50% 4%, rgba(147, 181, 207, 0.48), transparent 17rem),
    linear-gradient(160deg, rgba(255, 255, 255, 0.99), rgba(225, 242, 251, 0.98));
  box-shadow: 0 16px 42px rgba(29, 84, 121, 0.11), 0 1px 0 rgba(255, 255, 255, 0.86) inset;
}

.profile-summary::before {
  content: "";
  position: absolute;
  top: -74px;
  right: -74px;
  width: 172px;
  aspect-ratio: 1;
  border: 1px solid rgba(90, 154, 192, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 17px rgba(147, 181, 207, 0.045),
    0 0 0 34px rgba(147, 181, 207, 0.025);
  pointer-events: none;
}

[data-theme="dark"] .profile-summary {
  background:
    radial-gradient(circle at 50% 6%, rgba(147, 181, 207, 0.14), transparent 18rem),
    linear-gradient(160deg, rgba(25, 40, 52, 0.97), rgba(15, 28, 38, 0.94));
}

.portrait-shell {
  position: relative;
  width: min(100%, 164px);
  margin: 2px auto 24px;
  aspect-ratio: 1;
}

.portrait-shell::before {
  content: "";
  position: absolute;
  inset: -8px;
  background: conic-gradient(
    from 210deg,
    var(--accent),
    #f8fcff,
    var(--accent-vivid),
    var(--accent-deep),
    var(--accent-soft),
    var(--accent)
  );
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(147, 181, 207, 0.2);
}

.portrait-shell::after {
  content: "✧";
  position: absolute;
  top: -8px;
  right: -3px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #f8fcff;
  background: var(--accent-deep);
  border: 3px solid var(--card-solid);
  border-radius: 50%;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(39, 86, 115, 0.24);
  z-index: 2;
}

.profile-portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 50%;
  border: 4px solid #f8fbfd;
  box-shadow: 0 16px 36px rgba(53, 96, 124, 0.2);
}

.online-chip {
  position: absolute;
  z-index: 2;
  right: 2px;
  bottom: 6px;
  padding: 4px 9px;
  color: #234a66;
  background: rgba(248, 252, 255, 0.94);
  border: 1px solid rgba(63, 105, 135, 0.18);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.online-chip i {
  width: 5px;
  height: 5px;
  margin-right: 5px;
  display: inline-block;
  background: #40a566;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(64, 165, 102, 0.12);
}

.profile-name {
  text-align: center;
}

.profile-name > span {
  color: var(--accent-deep);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.26em;
}

.profile-name h2 {
  margin: 9px 0 8px;
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 0.12em;
}

.profile-name p {
  margin-bottom: 21px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 12px;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.social-links a {
  min-width: 0;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  color: var(--accent-deep);
  background: rgba(251, 253, 255, 0.75);
  border: 1px solid rgba(93, 135, 162, 0.14);
  box-shadow: 0 5px 16px rgba(53, 94, 121, 0.04);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.social-links a:hover {
  background: #fff;
  border-color: rgba(63, 105, 135, 0.34);
  transform: translateY(-1px);
}

.social-links span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
  white-space: nowrap;
}

.station-card {
  position: relative;
  padding: 25px 22px 23px;
  background:
    radial-gradient(circle at 100% 0, rgba(147, 181, 207, 0.17), transparent 13rem),
    linear-gradient(155deg, rgba(253, 254, 255, 0.98), rgba(235, 247, 254, 0.95));
  box-shadow: 0 14px 38px rgba(29, 84, 121, 0.1);
}

.station-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  left: 22px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-vivid), transparent);
  border-radius: 0 0 999px 999px;
}

[data-theme="dark"] .station-card {
  background:
    radial-gradient(circle at 100% 0, rgba(147, 181, 207, 0.12), transparent 13rem),
    linear-gradient(155deg, rgba(24, 41, 54, 0.97), rgba(15, 29, 39, 0.95));
}

.sidebar-heading {
  margin: 24px 0 13px;
  padding-top: 19px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.sidebar-heading.is-first {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.sidebar-heading span {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.sidebar-heading small {
  color: var(--accent-deep);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.support-links {
  display: grid;
  gap: 8px;
}

.support-links a {
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 9px;
  background: linear-gradient(100deg, rgba(242, 248, 251, 0.9), rgba(250, 253, 255, 0.82));
  border: 1px solid rgba(92, 130, 156, 0.09);
  border-radius: 13px;
  font-size: 11px;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.support-links a:hover {
  background: #fff;
  border-color: rgba(63, 105, 135, 0.28);
  transform: translateX(2px);
}

.support-links b {
  color: var(--muted);
  font-size: 13px;
}

.support-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5), 0 0 0 3px rgba(147, 181, 207, 0.13);
}

.support-dot.blue {
  background: #6f98b8;
}

.support-dot.rose {
  background: #85a8c1;
}

.support-dot.dark {
  background: #355a74;
}

.support-dot.qq {
  background: #3d8fce;
}

.support-dot.bili {
  background: #00a1d6;
}

.mini-countdowns {
  display: grid;
  gap: 8px;
}

.mini-countdowns article {
  display: grid;
  grid-template-columns: 57px 1fr;
  gap: 11px;
  align-items: center;
  padding: 11px 12px;
  background: rgba(247, 252, 255, 0.72);
  border: 1px solid rgba(81, 124, 151, 0.1);
  border-radius: 14px;
}

.mini-countdowns article.is-born strong {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.mini-countdowns strong {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 31px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.mini-countdowns strong small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 500;
}

.mini-countdowns h3 {
  margin: 0;
  font-size: 12px;
}

.mini-countdowns p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.5;
}

.mini-countdowns .countdown-clock {
  color: var(--accent-deep);
  font-size: 9.5px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.mini-countdowns .countdown-note {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.5;
}

.hero-card {
  position: relative;
  isolation: isolate;
  min-height: 245px;
  padding: 34px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(210px, 0.85fr);
  align-items: center;
  background:
    linear-gradient(104deg, rgba(255, 255, 255, 0.99) 0 43%, rgba(207, 235, 249, 0.78) 61%, transparent 84%),
    radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.84), transparent 21rem),
    radial-gradient(circle at 12% 92%, rgba(247, 219, 202, 0.62), transparent 18rem),
    linear-gradient(130deg, #f2fbff 0%, #afd2e7 42%, #93b5cf 100%);
  box-shadow: 0 24px 65px rgba(25, 84, 121, 0.18), 0 10px 32px rgba(197, 143, 116, 0.08);
}

[data-theme="dark"] .hero-card {
  background:
    linear-gradient(104deg, rgba(20, 35, 47, 0.98) 0 47%, rgba(24, 44, 59, 0.76) 66%, transparent 84%),
    radial-gradient(circle at 78% 28%, rgba(147, 181, 207, 0.22), transparent 21rem),
    radial-gradient(circle at 8% 96%, rgba(198, 140, 116, 0.16), transparent 20rem),
    linear-gradient(130deg, #172835, #12212d 48%, #2f536d);
}

.hero-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.42;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.6px);
  background-size: 19px 19px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero-copy h1 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(28px, 2.35vw, 38px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0.04em;
  text-wrap: balance;
}

.hero-description {
  max-width: 600px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.hero-catchphrase {
  margin: 13px 0 0;
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.03em;
  line-height: 1.6;
  opacity: 1;
}

.hero-catchphrase span {
  margin-right: 4px;
  padding: 2px 6px;
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(88, 141, 177, 0.2);
  border-radius: 5px;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.primary-button {
  padding: 9px 15px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #f8fcff;
  background: linear-gradient(135deg, var(--accent-mid), var(--accent-vivid) 52%, var(--accent-deep));
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  box-shadow:
    0 10px 22px rgba(40, 92, 128, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  font-size: 11px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-button:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-vivid), var(--accent-deep));
  box-shadow:
    0 13px 28px rgba(46, 89, 116, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.text-button {
  padding: 8px 0;
  color: var(--text);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  font-size: 11px;
  cursor: pointer;
}

.text-button span {
  margin-left: 6px;
  color: var(--accent-deep);
}

.hero-art {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48%;
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
}

[data-theme="dark"] .hero-art img {
  opacity: 0.46;
  mix-blend-mode: screen;
}

.hero-ribbon {
  position: absolute;
  right: 22px;
  bottom: 13px;
  z-index: 3;
  color: #315d79;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-star-button {
  position: absolute;
  z-index: 5;
  top: 49%;
  left: 83%;
  width: 52px;
  height: 52px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--warm-deep);
  background: rgba(255, 251, 247, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.12),
    0 8px 24px rgba(31, 76, 102, 0.12);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition:
    width 260ms ease,
    height 260ms ease,
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.hero-star-button span {
  font-size: 20px;
  line-height: 1;
  animation: star-button-pulse 3.8s ease-in-out infinite;
}

.hero-star-button.is-used span {
  opacity: 0.72;
  font-size: 15px;
  animation: none;
}

.hero-star-button.is-used {
  width: 38px;
  height: 38px;
  background: rgba(255, 251, 247, 0.52);
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.08),
    0 5px 15px rgba(31, 76, 102, 0.08);
}

.hero-star-button.is-activated span {
  animation: star-click-pop 520ms ease;
}

.hero-star-button:hover {
  background: rgba(255, 246, 239, 0.94);
  box-shadow:
    0 0 0 11px rgba(255, 248, 242, 0.17),
    0 10px 28px rgba(31, 76, 102, 0.16);
  transform: translate(-50%, -52%) scale(1.04);
}

.hero-star-hint {
  position: absolute;
  z-index: 5;
  top: calc(49% + 30px);
  left: calc(83% - 158px);
  min-width: 138px;
  padding: 11px 18px 10px 17px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  color: #6c5043;
  background:
    linear-gradient(102deg, transparent 36%, rgba(255, 255, 255, 0.44) 37%, transparent 39%),
    radial-gradient(circle, rgba(126, 96, 79, 0.08) 0 1px, transparent 1.25px) 0 0 / 13px 13px,
    linear-gradient(145deg, #fffdf5, #fff7e8 62%, #f3e8dd);
  border: 1px solid rgba(145, 105, 87, 0.22);
  border-radius: 1px 4px 2px 6px;
  box-shadow:
    3px 4px 0 rgba(255, 252, 247, 0.46),
    0 13px 25px rgba(33, 74, 96, 0.16);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.045em;
  white-space: nowrap;
  cursor: pointer;
  transform: rotate(-7.2deg);
  transform-origin: 32% 44%;
  animation: star-hint-stick 640ms cubic-bezier(0.22, 0.9, 0.32, 1.18) 1 both;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hero-star-hint[hidden] {
  display: none;
}

.hero-star-hint::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 28%;
  width: 48px;
  height: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.13) 0 3px, transparent 3px 6px),
    linear-gradient(90deg, rgba(139, 188, 211, 0.3), rgba(218, 239, 248, 0.66) 38%, rgba(152, 194, 213, 0.34));
  border-right: 1px solid rgba(130, 171, 191, 0.13);
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 2px 6px rgba(61, 98, 115, 0.11);
  opacity: 0.94;
  pointer-events: none;
  transform: translateX(-50%) rotate(-5deg);
}

.hero-star-hint::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: -6px;
  width: 22px;
  height: 11px;
  background: linear-gradient(150deg, rgba(255, 249, 241, 0.96) 12%, rgba(234, 217, 203, 0.78));
  border-radius: 0 0 5px 2px;
  box-shadow: 2px 3px 5px rgba(67, 79, 80, 0.12);
  pointer-events: none;
  transform: rotate(6deg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 32% 72%);
}

.hero-star-hint span {
  margin-left: 0;
  color: var(--warm-deep);
  font-size: 13px;
}

.hero-star-hint:hover {
  background:
    linear-gradient(102deg, transparent 36%, rgba(255, 255, 255, 0.58) 37%, transparent 39%),
    radial-gradient(circle, rgba(126, 96, 79, 0.08) 0 1px, transparent 1.25px) 0 0 / 13px 13px,
    linear-gradient(145deg, #fffef9, #fff9ee 62%, #f5ebe1);
  box-shadow:
    3px 4px 0 rgba(255, 252, 247, 0.52),
    0 16px 28px rgba(33, 74, 96, 0.19);
  transform: translateY(-2px) rotate(-5.8deg);
}

.hero-star-hint.is-collapsed {
  pointer-events: none;
  animation: star-hint-collapse 420ms cubic-bezier(0.38, 0.02, 0.72, 0.25) both;
}

.hero-star-note {
  position: absolute;
  z-index: 6;
  right: 34px;
  bottom: 42px;
  width: min(300px, calc(100% - 44px));
  padding: 16px 18px;
  color: var(--text);
  background:
    repeating-linear-gradient(0deg, rgba(117, 91, 78, 0.035) 0 1px, transparent 1px 22px),
    rgba(255, 250, 245, 0.96);
  border: 1px solid rgba(167, 123, 102, 0.16);
  border-radius: 4px 10px 6px 9px;
  box-shadow: 0 14px 34px rgba(36, 75, 96, 0.18);
  transform: rotate(-1deg);
}

.hero-star-note:not([hidden]) {
  animation: note-unfold 220ms ease-out both;
}

.hero-star-note span {
  color: var(--warm-deep);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-star-note p {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.65;
}

[data-theme="dark"] .hero-star-button {
  color: var(--warm-deep);
  background: rgba(54, 39, 34, 0.76);
  border-color: rgba(238, 200, 183, 0.17);
}

[data-theme="dark"] .hero-star-hint {
  color: #f0ded4;
  background:
    linear-gradient(92deg, transparent 18%, rgba(255, 255, 255, 0.05) 19%, transparent 21%),
    repeating-linear-gradient(0deg, rgba(230, 206, 192, 0.03) 0 1px, transparent 1px 19px),
    linear-gradient(145deg, rgba(67, 50, 43, 0.97), rgba(48, 37, 33, 0.97));
  border-color: rgba(238, 200, 183, 0.13);
  box-shadow:
    2px 3px 0 rgba(109, 84, 72, 0.25),
    0 11px 24px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .hero-star-hint::before {
  background:
    linear-gradient(90deg, rgba(132, 178, 198, 0.24), rgba(208, 232, 241, 0.38) 35%, rgba(127, 171, 190, 0.24));
  border-right-color: rgba(180, 215, 228, 0.12);
  border-left-color: rgba(238, 248, 252, 0.12);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16);
}

[data-theme="dark"] .hero-star-hint::after {
  background: linear-gradient(150deg, rgba(70, 53, 46, 0.98) 12%, rgba(42, 32, 29, 0.86));
  box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .hero-star-note {
  background:
    repeating-linear-gradient(0deg, rgba(230, 206, 192, 0.035) 0 1px, transparent 1px 22px),
    rgba(39, 32, 29, 0.97);
  border-color: rgba(238, 200, 183, 0.13);
}

.pick-card,
.recent-schedule-card,
.profile-card,
.posts-card,
.timeline-card {
  padding: 27px 28px;
}

.recent-schedule-list {
  display: grid;
}

.schedule-toolbar {
  margin: -3px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.schedule-month-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.schedule-toolbar > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 8px;
}

.recent-schedule-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 15px 4px;
  border-top: 1px solid var(--line);
  transition: background 160ms ease, padding 160ms ease;
}

.recent-schedule-row:hover {
  padding-inline: 10px;
  background: var(--card-soft);
}

.recent-schedule-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.recent-schedule-date strong {
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1;
}

.recent-schedule-date span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.recent-schedule-main {
  min-width: 0;
}

.recent-schedule-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
}

.recent-schedule-kicker span {
  color: var(--accent-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.recent-schedule-kicker i {
  padding: 2px 7px;
  color: var(--muted);
  background: var(--card-soft);
  border-radius: 999px;
  font-size: 7px;
  font-style: normal;
}

.recent-schedule-row.is-upcoming .recent-schedule-kicker i {
  color: #f8fcff;
  background: linear-gradient(135deg, var(--accent-mid), var(--accent-vivid));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.recent-schedule-row.is-past {
  opacity: 0.72;
}

.recent-schedule-main h3 {
  margin: 5px 0 3px;
  font-family: var(--serif);
  font-size: 17px;
}

.recent-schedule-main p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.recent-schedule-time {
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.recent-schedule-time strong {
  color: var(--text);
  font-size: 11px;
}

.recent-schedule-time span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
}

.card-heading {
  margin-bottom: 23px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.card-heading > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.card-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.06em;
}

.card-heading small {
  color: var(--accent-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.section-number {
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 700;
}

.pick-viewport {
  overflow: hidden;
}

.pick-track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.pick-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: center;
}

.pick-image {
  position: relative;
  aspect-ratio: 1.58;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #17151a;
}

.pick-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.pick-slide.is-external .pick-image {
  aspect-ratio: 1.239;
  background: #f7f9fa;
  border: 1px solid var(--line);
}

.pick-slide.is-external .pick-image img {
  object-fit: contain;
}

.pick-slide.is-bilibili .pick-image {
  aspect-ratio: 16 / 9;
  background: #07151d;
}

.pick-slide.is-bilibili .pick-image img {
  object-fit: cover;
}

.pick-slide.is-bilibili .pick-image::after {
  content: "BILIBILI ↗";
}

.pick-slide.is-video .pick-image {
  aspect-ratio: 1.7;
  background: #07151d;
}

.pick-slide.is-video .pick-image::after {
  display: none;
}

.pick-image video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #07151d;
}

.pick-slide:hover .pick-image img {
  transform: scale(1.035);
}

.pick-image::after {
  content: "PLAY ↗";
  position: absolute;
  right: 12px;
  bottom: 11px;
  padding: 4px 7px;
  color: #fff;
  background: rgba(15, 12, 16, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  backdrop-filter: blur(8px);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.pick-slide.is-external .pick-image::after {
  content: "WEIBO ↗";
}

.pick-slide.is-external.is-bilibili .pick-image::after {
  content: "BILIBILI ↗";
}

.pick-copy > span {
  color: var(--accent-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.pick-copy h3 {
  margin: 7px 0 9px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.45;
}

.pick-copy p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.pick-copy a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-deep);
  font-size: 10px;
  font-weight: 700;
}

.pick-footer {
  margin-top: 22px;
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.progress-meta {
  width: min(250px, 40%);
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 8px;
}

.progress-line {
  position: relative;
  flex: 1;
  height: 2px;
  overflow: hidden;
  background: var(--line);
}

.progress-line i {
  display: block;
  width: 33.333%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transition: width 300ms ease;
}

.round-controls {
  display: flex;
  gap: 7px;
}

.round-controls .icon-button {
  width: 34px;
  height: 34px;
  font-size: 15px;
}

.quote-panel {
  position: relative;
  margin-bottom: 22px;
  padding: 22px 24px 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 0, rgba(147, 181, 207, 0.24), transparent 15rem),
    linear-gradient(120deg, #edf6fb, rgba(249, 252, 254, 0.92) 55%, #e5f1f8);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
}

[data-theme="dark"] .quote-panel {
  background:
    radial-gradient(circle at 90% 0, rgba(147, 181, 207, 0.13), transparent 15rem),
    linear-gradient(120deg, #1b303e, #182732 55%, #203645);
  border-color: rgba(202, 227, 241, 0.09);
}

.quote-panel::after {
  content: "“";
  position: absolute;
  top: -35px;
  right: 13px;
  color: color-mix(in srgb, var(--accent) 10%, transparent);
  font-family: Georgia, serif;
  font-size: 150px;
  line-height: 1;
}

.quote-panel > span {
  color: var(--accent-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.quote-panel blockquote {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 9px 0 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(250, 253, 255, 0.38);
  border-radius: 12px;
  overflow: hidden;
}

.profile-grid article {
  min-height: 72px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-grid span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 8px;
}

.profile-grid strong {
  font-size: 12px;
  font-weight: 600;
}

.color-swatch {
  width: 8px;
  height: 8px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: 0;
  background: #93b5cf;
  border-radius: 50%;
}

.posts-toolbar {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.post-filters {
  display: flex;
  gap: 6px;
}

.filter-chip {
  padding: 5px 11px;
  color: var(--muted);
  background: rgba(239, 246, 250, 0.88);
  border: 1px solid rgba(86, 126, 151, 0.09);
  border-radius: 999px;
  font-size: 9px;
  cursor: pointer;
}

.filter-chip.is-active {
  color: #f8fcff;
  background: linear-gradient(135deg, var(--accent-mid), var(--accent-vivid));
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.posts-toolbar > span {
  color: var(--muted);
  font-size: 8px;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.post-item {
  min-height: 124px;
  padding: 16px 17px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}

.post-item:hover {
  background: var(--card-soft);
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 8px;
}

.post-meta i {
  padding: 2px 6px;
  color: var(--accent-deep);
  background: var(--accent-wash);
  border-radius: 999px;
  font-style: normal;
  font-weight: 700;
}

.post-item h3 {
  margin: 8px 0 4px;
  font-family: var(--serif);
  font-size: 13px;
}

.post-item p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.post-link {
  margin-top: 9px;
  display: inline-flex;
  color: var(--accent-deep);
  font-size: 9px;
  font-weight: 700;
}

.post-link:hover {
  color: var(--accent-vivid);
}

.post-item.is-hidden {
  display: none;
}

.load-more {
  width: 100%;
  margin-top: 13px;
  padding: 10px;
  color: var(--muted);
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 9px;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}

.load-more:hover {
  color: var(--accent-deep);
  border-color: var(--line-strong);
}

.load-more span {
  margin-left: 6px;
}

.timeline {
  display: grid;
}

.timeline article {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
}

.timeline time {
  padding-top: 2px;
  color: var(--accent-deep);
  font-size: 9px;
  font-weight: 800;
}

.timeline article > div {
  position: relative;
  padding: 0 0 24px 22px;
  border-left: 1px solid var(--line-strong);
}

.timeline article:last-child > div {
  padding-bottom: 0;
  border-color: transparent;
}

.timeline article i {
  position: absolute;
  top: 1px;
  left: -5px;
  width: 9px;
  height: 9px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  border: 2px solid var(--card-solid);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--accent);
}

.timeline h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 14px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.calendar-card {
  min-width: 0;
  padding: 26px 24px 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(147, 181, 207, 0.19), transparent 14rem),
    linear-gradient(155deg, rgba(253, 255, 255, 0.98), rgba(232, 245, 253, 0.96));
  box-shadow: 0 16px 42px rgba(29, 84, 121, 0.11);
}

[data-theme="dark"] .calendar-card {
  background:
    radial-gradient(circle at 100% 0, rgba(147, 181, 207, 0.11), transparent 14rem),
    linear-gradient(155deg, rgba(24, 41, 54, 0.97), rgba(15, 29, 39, 0.95));
}

.calendar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar-heading small {
  color: var(--accent-deep);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.calendar-heading h2 {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: 21px;
}

.calendar-nav {
  display: flex;
  gap: 6px;
}

.calendar-nav .icon-button {
  width: 32px;
  height: 32px;
  font-size: 17px;
}

.calendar-filter {
  margin: 22px 0 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
}

.calendar-filter select {
  width: 72%;
  min-width: 0;
  padding: 8px 10px;
  color: var(--text);
  background: var(--card-soft);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 9.5px;
}

.weekdays,
.calendar-grid {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
}

.weekdays {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 8.5px;
}

.calendar-day {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-size: 11px;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.calendar-day:hover {
  background: var(--card-soft);
}

.calendar-day.is-muted {
  color: color-mix(in srgb, var(--muted) 45%, transparent);
}

.calendar-day.is-today {
  color: #f8fcff;
  background: linear-gradient(135deg, var(--accent-mid), var(--accent-vivid));
  box-shadow: 0 8px 18px rgba(40, 92, 128, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.calendar-day.has-event::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 3px;
  width: 3px;
  height: 3px;
  background: var(--accent-deep);
  border-radius: 50%;
  transform: translateX(50%);
}

.calendar-day.is-today::after {
  background: #fff;
}

.day-detail {
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.day-detail > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.day-detail strong {
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 12px;
}

.day-detail span {
  color: var(--muted);
  font-size: 8.5px;
}

.day-detail p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.6;
}

.schedule-card,
.stats-card {
  padding: 24px 22px;
  background:
    linear-gradient(150deg, rgba(252, 254, 255, 0.98), rgba(238, 248, 253, 0.94));
  box-shadow: 0 12px 34px rgba(29, 84, 121, 0.09);
}

[data-theme="dark"] .schedule-card,
[data-theme="dark"] .stats-card {
  background:
    linear-gradient(150deg, rgba(23, 39, 51, 0.97), rgba(15, 28, 38, 0.94));
}

.card-heading.compact {
  margin-bottom: 16px;
}

.card-heading.compact h2 {
  font-size: 18px;
}

.schedule-list {
  display: grid;
  gap: 12px;
}

.schedule-item {
  padding: 15px 14px 14px;
  background: linear-gradient(145deg, rgba(239, 246, 250, 0.9), rgba(250, 253, 255, 0.82));
  border: 1px solid rgba(81, 124, 151, 0.1);
  box-shadow: 0 5px 16px rgba(53, 94, 121, 0.05);
  border-radius: 15px;
}

.schedule-item header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.schedule-item h3 {
  max-width: 185px;
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
}

.schedule-item time {
  flex: 0 0 auto;
  color: var(--accent-deep);
  font-size: 8px;
  font-weight: 700;
}

.schedule-countdown {
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.schedule-countdown span {
  padding: 8px 3px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(250, 253, 255, 0.92);
  border: 1px solid rgba(86, 126, 151, 0.12);
  border-radius: 8px;
  font-size: 6.5px;
  line-height: 1.3;
}

.schedule-countdown strong {
  color: var(--text);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stats-grid article {
  padding: 15px 12px;
  display: flex;
  align-items: baseline;
  gap: 7px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid strong {
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 26px;
}

.stats-grid span {
  color: var(--muted);
  font-size: 8.5px;
}

.stats-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 7.5px;
}

.stats-note code {
  color: var(--accent);
}

.side-note {
  padding: 27px 24px 24px;
  color: #f3f7fa;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.2), transparent 42%),
    radial-gradient(circle at 10% 100%, rgba(147, 181, 207, 0.24), transparent 42%),
    linear-gradient(145deg, var(--accent-vivid), #234f6d 55%, #112b3d);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.side-note > span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.side-note h2 {
  margin: 13px 0 10px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
}

.side-note p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 8.5px;
  line-height: 1.75;
}

.side-note a {
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
}

.site-footer {
  width: min(1400px, calc(100% - 44px));
  margin: 30px auto 0;
  padding: 22px 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 9px;
}

.diary-entry-image {
  margin: 16px 0;
  overflow: hidden;
  border: 1px solid rgba(80, 122, 150, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
}

.diary-entry-image img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.gallery-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 14px 0 16px;
}

.gallery-photo-grid a {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: rgba(181, 217, 239, 0.2);
}

.gallery-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-photo-grid a:hover img {
  transform: scale(1.035);
}

@media (max-width: 620px) {
  .gallery-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.site-footer span {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.site-footer-about {
  flex-direction: column;
  gap: 10px;
}

.observatory-entry {
  display: inline-flex;
  min-height: 30px;
  padding: 7px 12px;
  align-items: center;
  gap: 6px;
  color: var(--accent-deep);
  border: 1px solid rgba(60, 131, 180, 0.22);
  border-radius: 999px;
  background: rgba(220, 236, 247, 0.55);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.observatory-entry:hover {
  color: #fff;
  border-color: var(--accent-deep);
  background: var(--accent-deep);
}

.observatory-entry span {
  font-size: 11px;
  letter-spacing: 0;
}

@media (max-width: 1180px) {
  .page-shell {
    grid-template-columns: 224px minmax(0, 1fr);
  }

  .right-column {
    position: static;
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    align-items: start;
  }

  .side-note {
    grid-column: 1 / -1;
  }

  .schedule-item h3 {
    max-width: none;
  }

  .site-nav a {
    padding-inline: 9px;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 132px;
  }

  .site-header {
    min-height: 66px;
    padding: 8px 18px;
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 17px;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: calc(100vw - 36px);
    padding: 4px 0 2px;
    gap: 0;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .theme-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .page-shell {
    width: calc(100% - 28px);
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .main-column {
    width: 100%;
    gap: 14px;
  }

  .left-column {
    position: static;
    width: 100%;
    order: 2;
  }

  .right-column {
    position: static;
    width: 100%;
    display: flex;
    order: 3;
    gap: 14px;
  }

  .profile-summary {
    display: grid;
    grid-template-columns: 124px 1fr;
    column-gap: 22px;
  }

  .portrait-shell {
    width: 124px;
    margin: 0;
    grid-row: 1 / span 3;
  }

  .profile-name {
    text-align: left;
  }

  .profile-name h2 {
    margin-top: 5px;
  }

  .social-links {
    justify-content: flex-start;
  }

  .sidebar-heading,
  .support-links,
  .mini-countdowns {
    grid-column: 1 / -1;
  }

  .mini-countdowns {
    grid-template-columns: repeat(3, 1fr);
  }

  .mini-countdowns article {
    grid-template-columns: 1fr;
    padding: 10px;
    background: var(--card-soft);
    border-radius: 10px;
  }

  .hero-card {
    min-height: 0;
    padding: 28px 25px 37px;
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(28px, 7vw, 38px);
  }

  .hero-description {
    max-width: 75%;
  }

  .hero-art {
    width: 48%;
    opacity: 0.7;
  }

  .pick-card,
  .recent-schedule-card,
  .profile-card,
  .posts-card,
  .timeline-card {
    padding: 22px 20px;
  }

  .pick-slide {
    grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1.1fr);
    gap: 19px;
  }

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

  .calendar-card,
  .schedule-card,
  .stats-card {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .site-nav a {
    padding: 8px 7px;
    font-size: 11px;
  }

  .profile-summary {
    padding: 22px 17px;
    display: block;
  }

  .portrait-shell {
    width: 150px;
    margin: 0 auto 22px;
  }

  .profile-name {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .mini-countdowns {
    grid-template-columns: 1fr;
  }

  .mini-countdowns article {
    grid-template-columns: 52px 1fr;
  }

  .hero-card {
    padding: 25px 20px 38px;
  }

  .hero-copy h1 {
    font-size: 28px;
    line-height: 1.35;
  }

  .hero-description {
    max-width: none;
    font-size: 11px;
  }

  .hero-art {
    top: auto;
    right: -10px;
    bottom: 8px;
    width: 54%;
    height: 58%;
    opacity: 0.6;
  }

  .hero-art img {
    object-fit: contain;
    object-position: right center;
    transform: translateX(-30%);
  }

  .hero-ribbon {
    right: auto;
    left: 20px;
    font-size: 6px;
  }

  .primary-button {
    gap: 9px;
    padding: 8px 12px;
  }

  .pick-card,
  .recent-schedule-card,
  .profile-card,
  .posts-card,
  .timeline-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .pick-slide {
    display: block;
  }

  .pick-image {
    margin-bottom: 17px;
  }

  .pick-copy h3 {
    font-size: 20px;
  }

  .progress-meta {
    width: 47%;
  }

  .quote-panel {
    padding: 18px;
  }

  .quote-panel blockquote {
    font-size: 15px;
  }

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

  .profile-grid article {
    min-height: 68px;
    padding: 11px 12px;
  }

  .post-list {
    grid-template-columns: 1fr;
  }

  .recent-schedule-row {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
  }

  .schedule-toolbar {
    align-items: flex-start;
  }

  .recent-schedule-time {
    grid-column: 2;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .recent-schedule-time span {
    margin-top: 0;
  }

  .post-item {
    min-height: 0;
  }

  .timeline article {
    grid-template-columns: 67px 1fr;
    gap: 10px;
  }

  .timeline p {
    font-size: 9px;
  }

  .calendar-card,
  .schedule-card,
  .stats-card {
    padding: 20px 17px;
    border-radius: 18px;
  }

  .site-footer {
    width: calc(100% - 28px);
    padding-bottom: 26px;
    display: block;
    text-align: center;
  }

  .site-footer span {
    display: block;
    margin-top: 7px;
    font-size: 6px;
  }
}

/* Multi-page layout */
.subpage-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 26px auto 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.home-shell {
  width: min(1480px, calc(100% - 56px));
}

.today-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 0.72fr)) minmax(240px, 1.5fr);
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(104, 87, 76, 0.032) 0 1px, transparent 1px 24px),
    rgba(255, 251, 247, 0.9);
  border: 1px solid rgba(142, 109, 94, 0.13);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(56, 80, 92, 0.08);
}

.today-status article {
  padding: 13px 18px 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: baseline;
  border-right: 1px dashed rgba(126, 100, 87, 0.15);
}

.today-status article > span,
.today-status > p span {
  color: var(--warm-deep);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.today-status article strong {
  color: var(--heading);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.2;
}

.today-status article small {
  grid-column: 2;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.today-status > p {
  margin: 0;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  background: rgba(255, 241, 232, 0.44);
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.5;
}

[data-theme="dark"] .today-status {
  background:
    repeating-linear-gradient(0deg, rgba(230, 206, 192, 0.025) 0 1px, transparent 1px 24px),
    rgba(26, 33, 36, 0.92);
  border-color: rgba(221, 177, 154, 0.1);
}

[data-theme="dark"] .today-status > p {
  background: rgba(83, 54, 44, 0.24);
}

.starlight-letter {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.65fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.94), transparent 20rem),
    linear-gradient(125deg, #fffaf6 0%, #f7f8f5 46%, #eaf4fa 100%);
  border: 1px solid rgba(154, 111, 91, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 46px rgba(91, 80, 78, 0.09);
}

.letter-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  padding: 30px 36px 29px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.letter-kicker {
  color: var(--warm-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.letter-copy blockquote {
  width: 100%;
  max-width: 760px;
  margin: 16px 0 10px;
  color: var(--heading);
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 27px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
}

.letter-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.letter-photo {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #f4dece, #d7ebf5 70%);
}

.letter-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(20, 50, 68, 0.22));
  pointer-events: none;
}

.letter-photo > img:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  mix-blend-mode: multiply;
  transform: scale(1.035);
  transition: transform 1100ms cubic-bezier(0.2, 0.65, 0.25, 1);
  will-change: transform;
}

.letter-photo .letter-photo-mini {
  position: absolute;
  z-index: 3;
  bottom: 16px;
  left: 16px;
  width: 70px;
  height: 88px;
  padding: 4px 4px 14px;
  object-fit: cover;
  object-position: center 24%;
  background: rgba(255, 252, 248, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 3px;
  box-shadow: 0 7px 18px rgba(34, 66, 82, 0.2);
  mix-blend-mode: normal;
  transform: rotate(-4deg);
  transition: transform 300ms ease;
}

@media (hover: hover) {
  .letter-photo:hover > img:first-child {
    transform: translateY(-5px) scale(1.075);
  }

  .letter-photo:hover .letter-photo-mini {
    transform: translateY(-2px) rotate(-1deg);
  }
}

.letter-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 16px;
  padding: 8px 11px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: #17384d;
  background: rgba(255, 251, 247, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 9px;
  backdrop-filter: blur(10px);
}

.letter-photo figcaption span {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.letter-photo figcaption small {
  margin-top: 4px;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

[data-theme="dark"] .starlight-letter {
  background:
    radial-gradient(circle at 16% 12%, rgba(147, 181, 207, 0.09), transparent 20rem),
    linear-gradient(125deg, #221d1c 0%, #17262f 52%, #122735 100%);
  border-color: rgba(221, 177, 154, 0.13);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .letter-photo {
  background: linear-gradient(160deg, #392b28, #163143);
}

[data-theme="dark"] .letter-photo > img:first-child {
  opacity: 0.82;
  mix-blend-mode: normal;
}

.feature-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(138, 108, 94, 0.13);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 38px rgba(41, 79, 101, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover {
  box-shadow: 0 20px 46px rgba(41, 79, 101, 0.14);
  transform: translateY(-3px);
}

.feature-video {
  background: #b8d7e7;
}

.feature-video > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  transition: transform 700ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.feature-video:hover > img {
  transform: scale(1.025);
}

.feature-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 35, 51, 0.88), rgba(10, 38, 54, 0.46) 54%, transparent 84%),
    linear-gradient(0deg, rgba(5, 24, 36, 0.45), transparent 60%);
}

.feature-copy {
  position: absolute;
  z-index: 2;
  inset: auto auto 24px 28px;
  max-width: 500px;
  color: #f8fcff;
}

.feature-copy > span,
.feature-weibo > span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.feature-copy h2 {
  margin: 10px 0 8px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(27px, 2.6vw, 40px);
}

.feature-copy p {
  margin: 0 0 16px;
  color: rgba(245, 252, 255, 0.82);
  font-size: 11px;
}

.feature-copy b,
.feature-weibo b {
  font-size: 10px;
}

.feature-weibo {
  padding: 26px 27px 23px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  background:
    radial-gradient(circle at 92% 8%, rgba(232, 191, 168, 0.25), transparent 13rem),
    linear-gradient(145deg, #fffaf6, #edf6fa);
}

.feature-weibo::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 64px;
  height: 16px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0 3px, transparent 3px 7px),
    rgba(235, 198, 177, 0.5);
  transform: translateX(-50%) rotate(1.5deg);
}

.feature-weibo > span {
  color: var(--warm-deep);
}

.feature-weibo h2 {
  margin: 24px 0 12px;
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.45;
}

.feature-weibo p {
  margin: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
}

.feature-weibo i {
  position: absolute;
  right: 22px;
  bottom: 25px;
  padding: 8px 10px;
  color: var(--warm-deep);
  background: rgba(255, 249, 245, 0.78);
  border: 1px solid rgba(169, 122, 100, 0.14);
  border-radius: 3px;
  font-family: var(--serif);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  transform: rotate(7deg);
}

.feature-weibo b {
  margin-top: 24px;
  color: var(--accent-deep);
  border-bottom: 1px solid rgba(27, 85, 123, 0.24);
}

[data-theme="dark"] .feature-weibo {
  background:
    radial-gradient(circle at 92% 8%, rgba(198, 140, 116, 0.13), transparent 13rem),
    linear-gradient(145deg, #302622, #132833);
  border-color: rgba(221, 177, 154, 0.1);
}

.page-masthead {
  position: relative;
  min-height: 190px;
  padding: 38px 42px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.72), transparent 18rem),
    linear-gradient(120deg, rgba(248, 253, 255, 0.98), rgba(202, 229, 244, 0.92));
  border: 1px solid rgba(75, 139, 176, 0.16);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

[data-theme="dark"] .page-masthead {
  background:
    radial-gradient(circle at 88% 22%, rgba(147, 181, 207, 0.13), transparent 18rem),
    linear-gradient(120deg, rgba(20, 36, 48, 0.98), rgba(14, 28, 38, 0.94));
  border-color: rgba(201, 223, 237, 0.11);
}

.page-masthead::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -70px;
  width: 280px;
  aspect-ratio: 1;
  border: 1px solid rgba(60, 131, 180, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(147, 181, 207, 0.045),
    0 0 0 56px rgba(147, 181, 207, 0.025);
  pointer-events: none;
}

.page-masthead > div {
  position: relative;
  z-index: 1;
}

.page-masthead-index {
  color: var(--accent-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.page-masthead h1 {
  margin: 12px 0 8px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: 0.06em;
}

.page-masthead p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.page-masthead-mark {
  position: relative;
  z-index: 1;
  align-self: center;
  color: rgba(27, 85, 123, 0.2);
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: right;
}

[data-theme="dark"] .page-masthead-mark {
  color: rgba(185, 220, 241, 0.14);
}

.module-directory {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}

.module-tile {
  position: relative;
  min-height: 188px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(242, 249, 252, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.module-tile:nth-child(2n) {
  background: linear-gradient(145deg, rgba(255, 251, 247, 0.98), rgba(241, 248, 251, 0.93));
}

.module-tile::before {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -72px;
  width: 175px;
  height: 175px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 191, 168, 0.24), rgba(232, 191, 168, 0) 70%);
  pointer-events: none;
  transition: opacity 180ms ease, transform 240ms ease;
}

.module-tile:nth-child(3n + 1)::before {
  background: radial-gradient(circle, rgba(147, 181, 207, 0.24), rgba(147, 181, 207, 0) 70%);
}

.module-tile > * {
  position: relative;
  z-index: 1;
}

.module-tile::after {
  content: "↗";
  position: absolute;
  top: 20px;
  right: 22px;
  color: var(--accent-deep);
  font-size: 18px;
  font-weight: 700;
}

.module-tile:hover {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
  box-shadow: 0 16px 38px rgba(29, 84, 121, 0.12), 0 8px 24px rgba(183, 126, 100, 0.08);
  transform: translateY(-3px);
}

.module-tile:hover::before {
  opacity: 0.92;
  transform: scale(1.1);
}

.module-tile > span {
  color: var(--accent-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.module-tile h2 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: 0.04em;
}

.module-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.module-tile b {
  color: var(--accent-deep);
  font-size: 9px;
  font-weight: 700;
}

.module-tile-profile {
  order: 4;
  grid-column: span 3;
}

.module-tile-picks {
  order: 1;
  grid-column: span 5;
  min-height: 215px;
  background:
    radial-gradient(circle at 88% 12%, rgba(232, 191, 168, 0.27), transparent 12rem),
    linear-gradient(145deg, rgba(255, 251, 247, 0.98), rgba(240, 248, 252, 0.94));
}

.module-tile-diary {
  order: 2;
  grid-column: span 3;
  border-top: 3px solid rgba(232, 191, 168, 0.46);
}

.module-tile-schedule {
  order: 3;
  grid-column: span 4;
  background:
    linear-gradient(90deg, transparent 0 95%, rgba(147, 181, 207, 0.08) 95%),
    repeating-linear-gradient(0deg, rgba(96, 80, 70, 0.026) 0 1px, transparent 1px 25px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(241, 248, 251, 0.92));
}

.module-tile-milestones {
  order: 5;
  grid-column: span 3;
  border-left: 3px solid rgba(147, 181, 207, 0.28);
}

.module-tile-countdown {
  order: 6;
  grid-column: span 2;
}

.module-tile-support {
  order: 7;
  grid-column: span 2;
  background:
    radial-gradient(circle at 50% 100%, rgba(232, 191, 168, 0.2), transparent 8rem),
    linear-gradient(145deg, rgba(255, 250, 246, 0.98), rgba(239, 247, 251, 0.93));
}

.module-tile-about {
  order: 8;
  grid-column: span 2;
}

.module-tile-gallery {
  order: 9;
  grid-column: span 12;
  min-height: 168px;
  background:
    linear-gradient(90deg, transparent 0 95%, rgba(147, 181, 207, 0.08) 95%),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(60, 131, 180, 0.04) 39px 40px),
    radial-gradient(circle at 90% 15%, rgba(232, 191, 168, 0.28), transparent 15rem),
    linear-gradient(145deg, rgba(255, 253, 250, 0.98), rgba(234, 246, 253, 0.95));
  border-left: 3px solid rgba(60, 131, 180, 0.34);
}

[data-theme="dark"] .module-tile {
  background: linear-gradient(145deg, rgba(16, 34, 46, 0.97), rgba(13, 29, 41, 0.94));
}

[data-theme="dark"] .module-tile:nth-child(2n) {
  background: linear-gradient(145deg, rgba(40, 31, 29, 0.95), rgba(14, 31, 42, 0.95));
}

[data-theme="dark"] .module-tile-picks {
  background:
    radial-gradient(circle at 88% 12%, rgba(198, 140, 116, 0.1), transparent 12rem),
    linear-gradient(145deg, rgba(45, 33, 29, 0.95), rgba(14, 31, 42, 0.95));
}

[data-theme="dark"] .module-tile-gallery {
  background:
    linear-gradient(90deg, transparent 0 95%, rgba(147, 181, 207, 0.04) 95%),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(147, 181, 207, 0.025) 39px 40px),
    radial-gradient(circle at 90% 15%, rgba(198, 140, 116, 0.1), transparent 15rem),
    linear-gradient(145deg, rgba(18, 37, 49, 0.98), rgba(13, 29, 41, 0.95));
}

.page-card-narrow {
  width: min(960px, 100%);
  margin-inline: auto;
}

.profile-page-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.page-side-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.profile-page-layout .profile-card {
  min-width: 0;
}

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

.schedule-page-layout {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.schedule-page-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.support-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.support-page-grid-single {
  width: min(960px, 100%);
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
}

.support-page-card,
.countdown-page-card,
.timeline-page-card,
.about-page-card {
  padding: 30px;
}

.about-disclaimer-list {
  margin: 22px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.about-disclaimer-list li {
  padding-left: 4px;
}

.about-disclaimer-list li::marker {
  color: var(--accent);
}

.about-disclaimer-list strong {
  color: var(--heading);
  font-weight: 800;
}

.support-page-card .support-links,
.countdown-page-card .mini-countdowns {
  margin-top: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.countdown-page-card .mini-countdowns article {
  min-height: 112px;
  padding: 18px 16px;
}

.timeline-page-card .timeline {
  margin-top: 8px;
}

.about-page-copy {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.9;
}

.about-page-copy.is-lead {
  margin-bottom: 12px;
  color: var(--heading);
  font-size: 23px;
  line-height: 1.75;
}

.about-page-copy.is-note {
  margin-top: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.9;
}

.about-page-links {
  margin-top: 28px;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.about-page-links a {
  padding: 9px 13px;
  color: var(--accent-deep);
  background: var(--card-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

/* Starlight handbook skin */
body {
  background:
    radial-gradient(circle at 6% 2%, rgba(247, 222, 207, 0.68), transparent 23rem),
    radial-gradient(circle at 96% 12%, rgba(147, 181, 207, 0.72), transparent 32rem),
    radial-gradient(circle at 76% 72%, rgba(232, 191, 168, 0.18), transparent 28rem),
    repeating-linear-gradient(0deg, rgba(61, 103, 129, 0.025) 0 1px, transparent 1px 28px),
    linear-gradient(145deg, #f3f8fa 0%, #e2eef5 48%, #d1e5ef 100%);
}

[data-theme="dark"] body {
  background:
    radial-gradient(circle at 8% 2%, rgba(198, 140, 116, 0.14), transparent 24rem),
    radial-gradient(circle at 100% 18%, rgba(88, 165, 213, 0.2), transparent 32rem),
    repeating-linear-gradient(0deg, rgba(195, 222, 238, 0.025) 0 1px, transparent 1px 28px),
    linear-gradient(145deg, #07131d 0%, #0a1c27 52%, #102631 100%);
}

.card {
  position: relative;
  background:
    radial-gradient(circle at 12% 0, rgba(255, 250, 246, 0.92), transparent 20rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(236, 247, 252, 0.94));
  border-color: rgba(132, 104, 91, 0.14);
  box-shadow:
    0 18px 46px rgba(41, 79, 101, 0.1),
    0 7px 22px rgba(177, 125, 101, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

[data-theme="dark"] .card {
  background:
    radial-gradient(circle at 12% 0, rgba(198, 140, 116, 0.09), transparent 20rem),
    linear-gradient(145deg, rgba(20, 36, 47, 0.97), rgba(13, 27, 37, 0.94));
  border-color: rgba(221, 177, 154, 0.1);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.page-masthead {
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 84%, rgba(248, 223, 208, 0.72), transparent 18rem),
    radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.72), transparent 18rem),
    linear-gradient(120deg, rgba(255, 251, 247, 0.98), rgba(219, 239, 249, 0.94));
  border-color: rgba(140, 109, 96, 0.14);
}

[data-theme="dark"] .page-masthead {
  background:
    radial-gradient(circle at 12% 86%, rgba(198, 140, 116, 0.12), transparent 20rem),
    radial-gradient(circle at 88% 22%, rgba(147, 181, 207, 0.12), transparent 18rem),
    linear-gradient(120deg, rgba(28, 29, 31, 0.98), rgba(14, 32, 43, 0.95));
  border-color: rgba(221, 177, 154, 0.1);
}

.page-masthead::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 42px;
  width: 68px;
  height: 17px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.22) 0 3px, transparent 3px 7px),
    linear-gradient(90deg, rgba(239, 207, 188, 0.3), rgba(250, 234, 220, 0.72), rgba(239, 207, 188, 0.3));
  border-right: 1px dashed rgba(150, 106, 87, 0.16);
  border-left: 1px dashed rgba(150, 106, 87, 0.16);
  box-shadow: 0 2px 7px rgba(144, 105, 88, 0.06);
  opacity: 0.9;
  transform: rotate(-2deg);
  pointer-events: none;
}

.page-masthead-index {
  padding: 4px 8px;
  display: inline-block;
  color: var(--warm-deep);
  background: rgba(255, 245, 238, 0.72);
  border: 1px solid rgba(177, 126, 102, 0.13);
  border-radius: 5px;
  letter-spacing: 0.18em;
  transform: rotate(-0.7deg);
}

[data-theme="dark"] .page-masthead-index {
  background: rgba(78, 51, 43, 0.5);
  border-color: rgba(221, 177, 154, 0.12);
}

.page-masthead-mark {
  color: rgba(55, 104, 134, 0.16);
}

.card-heading {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(125, 102, 91, 0.16);
}

.card-heading.compact {
  margin-bottom: 14px;
}

.section-number {
  padding: 2px 6px;
  display: inline-block;
  color: var(--warm-deep);
  background: var(--warm-soft);
  border: 1px solid rgba(177, 126, 102, 0.11);
  border-radius: 5px 8px 5px 7px;
  line-height: 1.4;
}

.filter-chip {
  background: rgba(255, 250, 246, 0.78);
  border-color: rgba(141, 108, 94, 0.11);
}

.support-links a,
.schedule-item,
.mini-countdowns article {
  background:
    radial-gradient(circle at 94% 8%, rgba(232, 191, 168, 0.15), transparent 8rem),
    linear-gradient(120deg, rgba(255, 252, 248, 0.92), rgba(240, 248, 252, 0.9));
  border-color: rgba(132, 104, 91, 0.1);
}

.post-item:nth-child(3n + 1),
.profile-grid article:nth-child(4n + 1) {
  background: rgba(255, 249, 245, 0.46);
}

.post-item:hover,
.recent-schedule-row:hover {
  background: rgba(255, 245, 238, 0.64);
}

.quote-panel {
  background:
    radial-gradient(circle at 90% 0, rgba(232, 191, 168, 0.22), transparent 15rem),
    linear-gradient(120deg, #fff8f3, rgba(249, 252, 254, 0.94) 55%, #e9f3f8);
  border-color: rgba(151, 115, 97, 0.13);
}

[data-theme="dark"] .support-links a,
[data-theme="dark"] .schedule-item,
[data-theme="dark"] .mini-countdowns article {
  background:
    radial-gradient(circle at 94% 8%, rgba(198, 140, 116, 0.08), transparent 8rem),
    linear-gradient(120deg, rgba(31, 40, 43, 0.94), rgba(19, 38, 50, 0.9));
  border-color: rgba(221, 177, 154, 0.08);
}

[data-theme="dark"] .post-item:nth-child(3n + 1),
[data-theme="dark"] .profile-grid article:nth-child(4n + 1) {
  background: rgba(63, 43, 36, 0.18);
}

[data-theme="dark"] .post-item:hover,
[data-theme="dark"] .recent-schedule-row:hover {
  background: rgba(75, 49, 41, 0.28);
}

[data-theme="dark"] .quote-panel {
  background:
    radial-gradient(circle at 90% 0, rgba(198, 140, 116, 0.1), transparent 15rem),
    linear-gradient(120deg, #27211f, #182832 55%, #18313e);
  border-color: rgba(221, 177, 154, 0.08);
}

@keyframes starfield-twinkle {
  0%,
  100% {
    opacity: 0.24;
  }
  50% {
    opacity: 0.42;
  }
}

@keyframes star-button-pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.94) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.08) rotate(8deg);
  }
}

@keyframes star-hint-stick {
  0% {
    opacity: 0;
    transform: translate(9px, -8px) rotate(-11deg) scale(0.93);
  }
  64% {
    opacity: 1;
    transform: translate(-1px, 1px) rotate(-6.3deg) scale(1.018);
  }
  100% {
    opacity: 1;
    transform: translate(0) rotate(-7.2deg) scale(1);
  }
}

@keyframes star-hint-collapse {
  0% {
    opacity: 1;
    transform: rotate(-7.2deg) scale(1);
  }
  58% {
    opacity: 0.72;
    transform: translate(42px, -10px) rotate(4deg) scale(0.36);
  }
  100% {
    opacity: 0;
    transform: translate(68px, -16px) rotate(14deg) scale(0.08);
  }
}

@keyframes star-hint-collapse-mobile {
  0% {
    opacity: 1;
    transform: rotate(-7.2deg) scale(1);
  }
  58% {
    opacity: 0.72;
    transform: translate(34px, 36px) rotate(4deg) scale(0.36);
  }
  100% {
    opacity: 0;
    transform: translate(64px, 68px) rotate(14deg) scale(0.08);
  }
}

@keyframes star-click-pop {
  0% {
    opacity: 0.72;
    transform: scale(1) rotate(0deg);
  }
  45% {
    opacity: 1;
    transform: scale(1.35) rotate(24deg);
  }
  100% {
    opacity: 0.9;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes note-unfold {
  from {
    opacity: 0;
    transform: translateY(6px) rotate(-1deg) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-1deg) scale(1);
  }
}

@keyframes warm-glow-breathe {
  0%,
  100% {
    opacity: 0.13;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.23;
    transform: scale(1.04);
  }
}

@media (max-width: 1080px) {
  .module-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-tile {
    grid-column: auto;
    min-height: 188px;
  }

  .schedule-page-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
  }

  .profile-page-layout {
    grid-template-columns: 290px minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .subpage-shell,
  .home-shell {
    width: calc(100% - 28px);
    margin-top: 14px;
    gap: 14px;
  }

  .page-masthead {
    min-height: 160px;
    padding: 27px 24px;
  }

  .page-masthead-mark {
    display: none;
  }

  .profile-page-layout,
  .schedule-page-layout,
  .support-page-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .today-status > p {
    grid-column: 1 / -1;
    border-top: 1px dashed rgba(126, 100, 87, 0.15);
  }

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

  .feature-video {
    min-height: 330px;
  }

  .feature-weibo {
    min-height: 270px;
  }

  .letter-copy {
    padding: 27px 24px 22px;
  }

  .letter-photo {
    min-height: 290px;
  }

  .profile-page-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 8px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .brand strong {
    font-size: clamp(14px, 4.4vw, 17px);
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .theme-toggle {
    width: auto;
    min-width: 76px;
    height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .theme-toggle::after {
    content: "深色";
  }

  [data-theme="dark"] .theme-toggle::after {
    content: "浅色";
  }

  .theme-toggle svg {
    width: 16px;
    height: 16px;
  }

  .theme-toggle:active {
    transform: scale(0.97);
  }

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

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

  .today-status article:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px dashed rgba(126, 100, 87, 0.15);
  }

  .feature-video {
    min-height: 300px;
  }

  .feature-copy {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .feature-copy h2 {
    font-size: 28px;
  }

  .feature-weibo {
    min-height: 280px;
    padding: 24px 21px 21px;
  }

  .hero-star-button {
    top: auto;
    right: 40px;
    bottom: 35px;
    left: auto;
    width: 44px;
    height: 44px;
    transform: none;
  }

  .hero-star-button:hover {
    transform: translateY(-2px) scale(1.03);
  }

  .hero-star-hint {
    top: auto;
    right: 94px;
    bottom: 91px;
    left: auto;
    padding: 8px 12px 8px 13px;
    font-size: 10px;
  }

  .hero-star-hint.is-collapsed {
    animation-name: star-hint-collapse-mobile;
  }

  .hero-star-button.is-used {
    width: 34px;
    height: 34px;
  }

  .hero-star-note {
    right: 14px;
    bottom: 82px;
  }

  .letter-copy {
    padding: 23px 19px 20px;
  }

  .letter-copy blockquote {
    max-width: calc(100vw - 80px);
    margin-top: 13px;
    font-size: 18px;
    line-height: 1.5;
  }

  .letter-photo {
    min-height: 280px;
  }

  .letter-photo .letter-photo-mini {
    top: 14px;
    bottom: auto;
    left: 14px;
    width: 58px;
    height: 74px;
  }

  .letter-photo figcaption {
    right: auto;
    left: 14px;
    align-items: flex-start;
  }

  .module-tile {
    min-height: 158px;
  }

  .page-masthead {
    min-height: 145px;
    padding: 24px 20px;
  }

  .page-masthead h1 {
    font-size: 34px;
  }

  .profile-page-layout .profile-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-page-side {
    display: flex;
  }

  .support-page-card,
  .countdown-page-card,
  .timeline-page-card,
  .about-page-card {
    padding: 22px 18px;
  }

  .countdown-page-card .mini-countdowns {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* First-round editorial refresh: profile, diary and schedule */
.profile-editorial {
  display: grid;
  gap: 20px;
}

.profile-hero {
  position: relative;
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(147, 181, 207, 0.24), transparent 22rem),
    radial-gradient(circle at 62% 100%, rgba(232, 191, 168, 0.34), transparent 20rem),
    linear-gradient(138deg, #f8fcff 0%, #eef8fc 46%, #dcecf5 100%);
  border: 1px solid rgba(93, 135, 162, 0.16);
  border-radius: var(--radius-xl);
  box-shadow:
    0 26px 60px rgba(35, 81, 108, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.profile-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 36px;
  right: 42px;
  width: 240px;
  aspect-ratio: 1;
  border: 1px solid rgba(72, 127, 159, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(147, 181, 207, 0.035),
    0 0 0 58px rgba(147, 181, 207, 0.018);
  pointer-events: none;
}

.profile-hero-portrait {
  position: relative;
  z-index: 2;
  min-height: 500px;
  margin: 0;
  isolation: isolate;
  overflow: hidden;
  background: #112838;
}

.profile-hero-portrait::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 19, 29, 0.02) 38%, rgba(5, 18, 27, 0.76) 100%),
    linear-gradient(90deg, transparent 68%, rgba(14, 37, 51, 0.22));
  pointer-events: none;
}

.profile-hero-portrait > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.9) contrast(1.04);
  transform: scale(1.025);
}

.profile-cover-index {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  padding: 6px 10px;
  color: #eaf7ff;
  background: rgba(12, 39, 55, 0.42);
  border: 1px solid rgba(226, 244, 253, 0.24);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.profile-hero-portrait figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 25px;
  left: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  color: #f7fcff;
}

.profile-hero-portrait figcaption span {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.profile-hero-portrait figcaption small {
  max-width: 120px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-align: right;
}

.profile-identity {
  position: relative;
  z-index: 2;
  padding: 42px clamp(30px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-overline {
  color: var(--accent-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.profile-name-lockup {
  margin: 20px 0 16px;
}

.profile-name-lockup > p {
  margin: 0 0 2px;
  color: var(--accent-vivid);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.32em;
}

.profile-name-lockup h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.12;
}

.profile-name-lockup > span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 13px;
}

.profile-intro {
  max-width: 600px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.profile-badges {
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-badges span {
  padding: 6px 11px;
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(90, 141, 171, 0.16);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.profile-identity .social-links {
  max-width: 600px;
}

.profile-identity .social-links a {
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(12px);
}

.profile-source-note {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 7.5px;
}

.profile-number-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.profile-number-strip article {
  min-height: 150px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 100% 0, rgba(147, 181, 207, 0.18), transparent 9rem),
    rgba(255, 253, 250, 0.78);
  border: 1px solid rgba(132, 104, 91, 0.12);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(41, 79, 101, 0.07);
}

.profile-number-strip article.is-primary {
  color: #f7fcff;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.25), transparent 10rem),
    linear-gradient(145deg, var(--accent-mid), var(--accent-deep));
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 36px rgba(38, 91, 126, 0.22);
}

.profile-number-strip article > span {
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.profile-number-strip article.is-primary > span,
.profile-number-strip article.is-primary > p {
  color: rgba(247, 252, 255, 0.74);
}

.profile-number-strip strong {
  margin: 12px 0 7px;
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: clamp(35px, 3.7vw, 52px);
  line-height: 1;
}

.profile-number-strip article.is-primary strong {
  color: #fff;
}

.profile-number-strip strong small {
  margin-left: 4px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.profile-number-strip article > p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.profile-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: stretch;
}

.profile-detail-card,
.profile-reference-card {
  background:
    radial-gradient(circle at 100% 0, rgba(147, 181, 207, 0.13), transparent 15rem),
    rgba(255, 253, 250, 0.83);
  border: 1px solid rgba(132, 104, 91, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 0 15px 38px rgba(41, 79, 101, 0.08);
}

.profile-detail-card {
  padding: 30px;
}

.profile-section-heading {
  margin-bottom: 23px;
  padding-bottom: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px dashed rgba(126, 100, 87, 0.18);
}

.profile-section-heading span {
  color: var(--warm-deep);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.profile-section-heading h2 {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: 24px;
}

.profile-section-heading > small {
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.profile-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.profile-fact-grid article {
  min-height: 88px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(245, 251, 254, 0.72);
  border: 1px solid rgba(91, 133, 158, 0.11);
  border-radius: 13px;
}

.profile-fact-grid span {
  color: var(--muted);
  font-size: 8px;
}

.profile-fact-grid strong {
  margin-top: 9px;
  font-family: var(--serif);
  font-size: 14px;
}

.profile-detail-columns {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.profile-detail-block h3 {
  margin: 0 0 13px;
  color: var(--accent-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.profile-definition-list {
  margin: 0;
  display: grid;
}

.profile-definition-list div {
  padding: 10px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.profile-definition-list dt {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 9px;
}

.profile-definition-list dd {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.profile-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.profile-tag-cloud span {
  padding: 7px 10px;
  color: var(--accent-deep);
  background: var(--accent-wash);
  border: 1px solid rgba(90, 141, 171, 0.1);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
}

.profile-support-line {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.profile-support-line > span {
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 8px;
}

.profile-support-line strong {
  color: var(--text);
  font-size: 10px;
}

.profile-reference-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.profile-reference-card > span {
  color: var(--warm-deep);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.profile-reference-card figure {
  margin: 16px 0 18px;
  padding: 8px 8px 0;
  background: #fff;
  border: 1px solid rgba(118, 101, 91, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(43, 75, 94, 0.12);
  transform: rotate(1.4deg);
}

.profile-reference-card figure img {
  width: 100%;
  height: 200px;
  display: block;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 5px;
}

.profile-reference-card figcaption {
  padding: 7px 2px;
  color: #8b786e;
  font-size: 7px;
  letter-spacing: 0.1em;
}

.profile-reference-card h2 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: 19px;
}

.profile-reference-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.profile-reference-card > a {
  margin-top: auto;
  padding-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent-deep);
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
}

[data-theme="dark"] .profile-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(147, 181, 207, 0.12), transparent 22rem),
    radial-gradient(circle at 62% 100%, rgba(198, 140, 116, 0.1), transparent 20rem),
    linear-gradient(138deg, #142431 0%, #10212d 58%, #183240 100%);
  border-color: rgba(181, 213, 233, 0.1);
}

[data-theme="dark"] .profile-number-strip article,
[data-theme="dark"] .profile-detail-card,
[data-theme="dark"] .profile-reference-card {
  background:
    radial-gradient(circle at 100% 0, rgba(147, 181, 207, 0.09), transparent 14rem),
    rgba(20, 36, 48, 0.82);
  border-color: rgba(181, 213, 233, 0.09);
}

[data-theme="dark"] .profile-number-strip article.is-primary {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.13), transparent 10rem),
    linear-gradient(145deg, #356d91, #173e58);
}

[data-theme="dark"] .profile-badges span,
[data-theme="dark"] .profile-identity .social-links a,
[data-theme="dark"] .profile-fact-grid article,
[data-theme="dark"] .profile-support-line > span {
  background: rgba(27, 48, 62, 0.78);
  border-color: rgba(181, 213, 233, 0.09);
}

.next-event-spotlight {
  min-height: 210px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  background:
    radial-gradient(circle at 78% 20%, rgba(147, 181, 207, 0.22), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(226, 242, 251, 0.96));
}

.next-event-spotlight::after {
  content: "";
  position: absolute;
  top: -150px;
  right: 90px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(63, 120, 153, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 40px rgba(147, 181, 207, 0.03),
    0 0 0 82px rgba(147, 181, 207, 0.02);
  pointer-events: none;
}

.next-event-date {
  position: relative;
  z-index: 1;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #f8fcff;
  background:
    radial-gradient(circle at 0 100%, rgba(147, 181, 207, 0.27), transparent 12rem),
    linear-gradient(145deg, var(--accent-mid), var(--accent-deep) 68%, #11374f);
}

.next-event-date > span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
  opacity: 0.76;
}

.next-event-date strong {
  margin: 7px 0 8px;
  font-family: var(--serif);
  font-size: 72px;
  line-height: 0.94;
}

.next-event-date small {
  font-size: 9px;
  opacity: 0.78;
}

.next-event-copy {
  position: relative;
  z-index: 1;
  padding: 31px clamp(26px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.next-event-copy > span {
  color: var(--warm-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.next-event-copy h2 {
  margin: 8px 0 7px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.13;
}

.next-event-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.next-event-copy > div {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.next-event-copy b,
.next-event-copy i {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 8px;
  font-style: normal;
}

.next-event-copy b {
  color: #f8fcff;
  background: var(--accent-vivid);
}

.next-event-copy i {
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.62);
}

.next-event-countdown {
  position: relative;
  z-index: 1;
  padding: 25px 28px 25px 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(48px, 1fr));
  gap: 7px;
  align-content: center;
}

.next-event-countdown > span {
  width: 58px;
  padding: 12px 4px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(86, 126, 151, 0.13);
  border-radius: 12px;
  font-size: 7px;
}

.next-event-countdown strong {
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
}

.next-event-countdown small {
  margin-top: 4px;
  font-size: 7px;
}

.next-event-empty {
  grid-column: 1 / -1;
  padding: 40px;
}

.next-event-empty span {
  color: var(--warm-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.next-event-empty h2 {
  margin: 8px 0 5px;
  font-family: var(--serif);
}

.next-event-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

[data-theme="dark"] .next-event-spotlight {
  background:
    radial-gradient(circle at 78% 20%, rgba(147, 181, 207, 0.12), transparent 18rem),
    linear-gradient(145deg, rgba(20, 36, 48, 0.98), rgba(12, 27, 38, 0.96));
}

[data-theme="dark"] .next-event-countdown > span,
[data-theme="dark"] .next-event-copy i {
  background: rgba(26, 47, 61, 0.84);
  border-color: rgba(181, 213, 233, 0.09);
}

.schedule-page-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.schedule-page-side {
  gap: 18px;
}

.calendar-card {
  position: sticky;
  top: 98px;
}

.recent-schedule-card {
  padding: 30px;
}

.recent-schedule-list {
  gap: 9px;
}

.recent-schedule-row {
  padding: 16px 18px;
  background: rgba(249, 253, 255, 0.62);
  border: 1px solid rgba(86, 126, 151, 0.11);
  border-radius: 16px;
}

.recent-schedule-row:hover {
  padding-inline: 18px;
  background: var(--card-soft);
  transform: translateY(-1px);
}

.recent-schedule-row.is-upcoming {
  background:
    radial-gradient(circle at 100% 0, rgba(147, 181, 207, 0.15), transparent 10rem),
    rgba(242, 250, 255, 0.9);
  border-color: rgba(72, 129, 163, 0.2);
  box-shadow: 0 9px 22px rgba(45, 94, 123, 0.07);
}

.recent-schedule-row.is-past {
  opacity: 0.64;
}

.recent-schedule-row.is-past:hover {
  opacity: 0.9;
}

.recent-schedule-date strong {
  font-size: 35px;
}

.recent-schedule-main h3 {
  margin-top: 7px;
  font-size: 19px;
}

.recent-schedule-main p {
  font-size: 9.5px;
  line-height: 1.55;
}

.recent-schedule-time strong {
  font-size: 12px;
}

.schedule-month-filters .filter-chip {
  padding: 7px 12px;
  font-size: 10px;
}

[data-theme="dark"] .recent-schedule-row {
  background: rgba(23, 42, 55, 0.72);
  border-color: rgba(181, 213, 233, 0.08);
}

[data-theme="dark"] .recent-schedule-row.is-upcoming {
  background:
    radial-gradient(circle at 100% 0, rgba(147, 181, 207, 0.09), transparent 10rem),
    rgba(27, 50, 65, 0.9);
  border-color: rgba(147, 181, 207, 0.16);
}

.diary-card {
  padding: 32px;
  background:
    radial-gradient(circle at 96% 0, rgba(147, 181, 207, 0.18), transparent 19rem),
    radial-gradient(circle at 6% 100%, rgba(232, 191, 168, 0.18), transparent 18rem),
    rgba(255, 253, 250, 0.86);
}

.diary-section-heading {
  margin-bottom: 24px;
  padding-bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px dashed rgba(126, 100, 87, 0.18);
}

.diary-section-heading span {
  color: var(--warm-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.diary-section-heading h2 {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 36px);
}

.diary-section-heading p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
  text-align: right;
}

.diary-feed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border: 0;
}

.diary-month + .diary-month {
  margin-top: 24px;
}

.diary-month-heading {
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
}

.diary-month-heading strong {
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 18px;
}

.diary-month-heading span,
.diary-month-heading i {
  color: var(--muted);
  font-size: 7.5px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.diary-month-heading span {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
}

.diary-month-feed {
  display: grid;
  gap: 10px;
}

.diary-entry {
  position: relative;
  padding: 20px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  background: rgba(249, 253, 255, 0.55);
  border: 1px solid rgba(86, 126, 151, 0.1);
  border-radius: 17px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.diary-entry.is-featured {
  background:
    radial-gradient(circle at 100% 10%, rgba(147, 181, 207, 0.16), transparent 15rem),
    linear-gradient(125deg, rgba(255, 253, 250, 0.92), rgba(235, 248, 254, 0.84));
  border-color: rgba(85, 143, 177, 0.2);
}

.diary-entry:hover {
  background: var(--card-soft);
  border-color: rgba(85, 143, 177, 0.24);
  transform: translateY(-1px);
}

.diary-date {
  min-height: 84px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.diary-date strong {
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 40px;
  line-height: 0.92;
}

.diary-date span {
  margin-top: 8px;
  color: var(--accent-vivid);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.diary-date small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 7px;
}

.diary-entry-body {
  min-width: 0;
}

.diary-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.diary-meta span {
  color: var(--accent-deep);
  font-size: 8px;
  font-weight: 800;
}

.diary-meta i {
  padding: 3px 7px;
  color: var(--warm-deep);
  background: var(--warm-soft);
  border-radius: 999px;
  font-size: 7px;
  font-style: normal;
}

.diary-entry h3 {
  margin: 8px 0 6px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.45;
}

.diary-entry.is-featured h3 {
  font-size: 23px;
}

.diary-entry p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.diary-entry .post-link {
  margin-top: 10px;
}

[data-theme="dark"] .diary-card {
  background:
    radial-gradient(circle at 96% 0, rgba(147, 181, 207, 0.1), transparent 19rem),
    radial-gradient(circle at 6% 100%, rgba(198, 140, 116, 0.07), transparent 18rem),
    rgba(18, 33, 43, 0.92);
}

[data-theme="dark"] .diary-entry {
  background: rgba(24, 43, 56, 0.66);
  border-color: rgba(181, 213, 233, 0.08);
}

[data-theme="dark"] .diary-entry.is-featured {
  background:
    radial-gradient(circle at 100% 10%, rgba(147, 181, 207, 0.09), transparent 15rem),
    linear-gradient(125deg, rgba(25, 44, 57, 0.92), rgba(17, 35, 47, 0.86));
  border-color: rgba(147, 181, 207, 0.14);
}

@media (max-width: 1080px) {
  .profile-hero {
    grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.22fr);
  }

  .profile-content-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
  }

  .next-event-spotlight {
    grid-template-columns: 170px minmax(0, 1fr) auto;
  }

  .next-event-countdown {
    padding-right: 20px;
  }

  .next-event-countdown > span {
    width: 52px;
  }
}

@media (max-width: 860px) {
  .profile-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-hero::before {
    right: -70px;
  }

  .profile-hero-portrait {
    min-height: 430px;
  }

  .profile-identity {
    padding: 32px;
  }

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

  .profile-reference-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    column-gap: 22px;
    align-items: center;
  }

  .profile-reference-card > span,
  .profile-reference-card > a {
    grid-column: 1 / -1;
  }

  .profile-reference-card figure {
    grid-row: 2 / span 3;
    margin-bottom: 0;
  }

  .profile-reference-card figure img {
    height: 210px;
  }

  .next-event-spotlight {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .next-event-date {
    padding-inline: 23px;
  }

  .next-event-date strong {
    font-size: 62px;
  }

  .next-event-countdown {
    grid-column: 2;
    padding: 0 24px 24px;
    justify-content: start;
  }

  .schedule-page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .schedule-page-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .calendar-card {
    position: static;
  }

}

@media (max-width: 560px) {
  .profile-editorial {
    gap: 14px;
  }

  .profile-hero-portrait {
    min-height: 350px;
  }

  .profile-hero-portrait figcaption {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .profile-hero-portrait figcaption span {
    font-size: 18px;
  }

  .profile-cover-index {
    top: 16px;
    left: 16px;
  }

  .profile-identity {
    padding: 26px 20px 24px;
  }

  .profile-name-lockup h2 {
    font-size: 46px;
  }

  .profile-intro {
    font-size: 11px;
  }

  .profile-badges {
    margin-bottom: 18px;
  }

  .profile-identity .social-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-number-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .profile-number-strip article {
    min-height: 132px;
    padding: 17px 16px 15px;
  }

  .profile-number-strip strong {
    font-size: 36px;
  }

  .profile-detail-card {
    padding: 22px 17px;
  }

  .profile-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .profile-fact-grid article {
    min-height: 78px;
    padding: 12px;
  }

  .profile-detail-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .profile-section-heading {
    align-items: flex-start;
  }

  .profile-section-heading > small {
    display: none;
  }

  .profile-reference-card {
    padding: 20px;
    display: flex;
  }

  .profile-reference-card figure {
    width: 174px;
    margin: 15px auto 18px;
  }

  .profile-reference-card figure img {
    height: 210px;
  }

  .next-event-spotlight {
    grid-template-columns: minmax(0, 1fr);
  }

  .next-event-date {
    padding: 20px 22px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 10px;
  }

  .next-event-date strong {
    margin: 0;
    grid-row: 1 / span 2;
    font-size: 54px;
  }

  .next-event-date > span {
    align-self: end;
  }

  .next-event-date small {
    align-self: center;
    text-align: right;
  }

  .next-event-copy {
    padding: 24px 22px 18px;
  }

  .next-event-copy h2 {
    font-size: 32px;
  }

  .next-event-countdown {
    grid-column: auto;
    padding: 0 22px 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .next-event-countdown > span {
    width: auto;
  }

  .schedule-page-side {
    display: flex;
  }

  .recent-schedule-card {
    padding: 22px 16px;
  }

  .recent-schedule-row {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 13px;
    padding: 15px;
  }

  .recent-schedule-date strong {
    font-size: 30px;
  }

  .recent-schedule-main h3 {
    font-size: 17px;
  }

  .recent-schedule-time {
    grid-column: 2;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .schedule-toolbar {
    align-items: flex-start;
  }

  .schedule-toolbar > span {
    padding-top: 6px;
  }

  .diary-card {
    padding: 22px 16px;
  }

  .diary-section-heading {
    margin-bottom: 19px;
    padding-bottom: 16px;
    display: block;
  }

  .diary-section-heading h2 {
    font-size: 27px;
  }

  .diary-section-heading p {
    margin-top: 9px;
    text-align: left;
  }

  .diary-entry {
    padding: 16px;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
  }

  .diary-date {
    min-height: 72px;
    padding-right: 11px;
  }

  .diary-date strong {
    font-size: 32px;
  }

  .diary-entry h3,
  .diary-entry.is-featured h3 {
    font-size: 17px;
  }

  .diary-month-heading {
    grid-template-columns: auto 1fr;
  }

  .diary-month-heading i {
    display: none;
  }
}

/* Gallery archive */

.gallery-shell {
  gap: 20px;
}

.gallery-masthead {
  background:
    linear-gradient(90deg, transparent 0 96%, rgba(147, 181, 207, 0.08) 96%),
    repeating-linear-gradient(0deg, rgba(60, 131, 180, 0.025) 0 1px, transparent 1px 26px),
    radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.76), transparent 18rem),
    linear-gradient(120deg, rgba(248, 253, 255, 0.99), rgba(202, 229, 244, 0.94));
}

[data-theme="dark"] .gallery-masthead {
  background:
    linear-gradient(90deg, transparent 0 96%, rgba(147, 181, 207, 0.05) 96%),
    repeating-linear-gradient(0deg, rgba(181, 217, 239, 0.025) 0 1px, transparent 1px 26px),
    radial-gradient(circle at 88% 22%, rgba(147, 181, 207, 0.13), transparent 18rem),
    linear-gradient(120deg, rgba(20, 36, 48, 0.98), rgba(14, 28, 38, 0.94));
}

.gallery-page-card {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 28px 30px 24px;
  overflow: hidden;
}

.gallery-page-card::after {
  content: "PHOTO / ARCHIVE";
  position: absolute;
  right: 27px;
  bottom: 13px;
  color: var(--accent-deep);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.24em;
  opacity: 0.36;
  pointer-events: none;
}

.gallery-card-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.gallery-card-heading h2 {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: clamp(23px, 2.5vw, 32px);
  line-height: 1.2;
  letter-spacing: 0.035em;
}

.gallery-stats {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.gallery-stats span {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.gallery-stats strong {
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
}

.gallery-stats i {
  width: 1px;
  height: 20px;
  background: var(--line-strong);
}

.gallery-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.34fr);
  gap: 12px;
}

.gallery-search,
.gallery-select {
  min-height: 49px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: color-mix(in srgb, var(--card-soft) 72%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.gallery-search:focus-within,
.gallery-select:focus-within {
  background: var(--card-solid);
  border-color: color-mix(in srgb, var(--accent-vivid) 46%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}

.gallery-search > span,
.gallery-select > span {
  color: var(--accent-deep);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.gallery-search input,
.gallery-select select {
  min-width: 0;
  flex: 1;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.gallery-search input::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

.gallery-search kbd {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 2px 0 var(--line);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
}

.gallery-select select {
  cursor: pointer;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 8px) 50% / 5px 5px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 3px) 50% / 5px 5px no-repeat;
  padding-right: 20px;
}

[data-theme="dark"] .gallery-select select {
  color-scheme: dark;
}

.gallery-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-filter-chips button,
.gallery-result-row button,
.gallery-empty button {
  min-height: 32px;
  padding: 5px 13px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.gallery-filter-chips button:hover,
.gallery-result-row button:hover,
.gallery-empty button:hover {
  color: var(--accent-deep);
  border-color: color-mix(in srgb, var(--accent) 58%, var(--line));
  transform: translateY(-1px);
}

.gallery-filter-chips button.is-active,
.gallery-filter-chips button[aria-pressed="true"] {
  color: var(--on-accent);
  background: var(--accent-bright);
  border-color: var(--accent);
}

.gallery-result-row {
  min-height: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.gallery-result-row p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.gallery-result-row button {
  min-height: 26px;
  padding: 2px 9px;
  border-style: dashed;
  font-size: 8px;
}

.gallery-archive {
  display: grid;
  gap: 15px;
}

.gallery-section-heading {
  padding: 5px 7px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.gallery-section-heading span {
  color: var(--accent-deep);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.gallery-section-heading h2 {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: 0.04em;
}

.gallery-section-heading p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 9px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-height: 250px;
  padding: 21px 21px 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(147, 181, 207, 0.15), transparent 11rem),
    linear-gradient(150deg, rgba(255, 255, 255, 0.97), rgba(239, 248, 252, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 21px;
  left: 21px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.58;
}

.gallery-item::after {
  content: attr(data-index);
  position: absolute;
  right: 17px;
  bottom: 10px;
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.09;
  pointer-events: none;
}

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

.gallery-item:hover {
  border-color: color-mix(in srgb, var(--accent) 54%, var(--line));
  box-shadow: 0 18px 40px rgba(29, 84, 121, 0.14);
  transform: translateY(-3px);
}

[data-theme="dark"] .gallery-item {
  background:
    radial-gradient(circle at 100% 0%, rgba(147, 181, 207, 0.09), transparent 11rem),
    linear-gradient(150deg, rgba(17, 35, 47, 0.98), rgba(13, 29, 41, 0.95));
}

.gallery-item-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.gallery-date {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 8px;
}

.gallery-date span {
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.gallery-date strong {
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0.03em;
}

.gallery-kind {
  padding: 4px 8px;
  color: var(--accent-deep);
  background: color-mix(in srgb, var(--accent-wash) 76%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 999px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.gallery-kind.is-fo {
  color: var(--warm-deep);
  background: color-mix(in srgb, var(--warm-soft) 84%, transparent);
  border-color: color-mix(in srgb, var(--warm) 24%, transparent);
}

.gallery-item h2 {
  position: relative;
  z-index: 1;
  margin: 24px 0 22px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.65vw, 21px);
  line-height: 1.55;
  letter-spacing: 0.025em;
}

.gallery-item-bottom {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px dashed var(--line);
}

.gallery-link-total {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.gallery-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.gallery-link {
  min-height: 31px;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-deep);
  background: color-mix(in srgb, var(--accent-wash) 58%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 23%, transparent);
  border-radius: 9px;
  font-size: 8px;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.gallery-link:hover {
  color: var(--on-accent);
  background: var(--accent-bright);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.gallery-link span {
  font-size: 10px;
  line-height: 1;
}

.gallery-empty {
  min-height: 280px;
  padding: 42px 20px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
  background: color-mix(in srgb, var(--card) 80%, transparent);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

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

.gallery-empty > span {
  color: var(--accent-deep);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.gallery-empty h3 {
  margin: 2px 0;
  font-family: var(--serif);
  font-size: 24px;
}

.gallery-empty p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 10px;
}

.gallery-empty button {
  color: var(--on-accent);
  background: var(--accent-bright);
  border-color: var(--accent);
}

.gallery-noscript {
  padding: 18px;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 11px;
}

@media (max-width: 1080px) {
  .module-tile-gallery {
    grid-column: 1 / -1;
  }

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

@media (max-width: 760px) {
  .gallery-page-card {
    padding: 24px 20px 20px;
  }

  .gallery-card-heading,
  .gallery-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

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

  .gallery-filter-chips {
    flex-wrap: nowrap;
    margin-inline: -20px;
    padding: 0 20px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .gallery-filter-chips::-webkit-scrollbar {
    display: none;
  }

  .gallery-filter-chips button {
    flex-shrink: 0;
  }
}

@media (max-width: 620px) {
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-item {
    min-height: 222px;
  }

  .gallery-card-heading h2 {
    font-size: 24px;
  }

  .gallery-stats {
    width: 100%;
    justify-content: flex-start;
  }

  .gallery-section-heading p {
    max-width: 250px;
    line-height: 1.7;
  }

  .gallery-result-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .gallery-result-row button {
    padding-left: 0;
    border-color: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item,
  .gallery-link,
  .gallery-filter-chips button {
    transition: none;
  }
}

/* Milestones: alternating star-trail timeline */

.timeline-page-card .timeline.star-timeline {
  position: relative;
  margin-top: 22px;
  padding: 16px 0 12px;
  display: block;
}

.timeline-page-card .star-timeline::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: 2px;
  border-radius: 999px;
  background:
    linear-gradient(
      to bottom,
      transparent 0%,
      color-mix(in srgb, var(--accent) 42%, transparent) 7%,
      var(--accent) 48%,
      color-mix(in srgb, var(--accent) 42%, transparent) 93%,
      transparent 100%
    );
  box-shadow:
    0 0 14px color-mix(in srgb, var(--accent) 44%, transparent),
    0 0 32px color-mix(in srgb, var(--accent) 22%, transparent);
  transform: translateX(-50%);
  animation: star-trail-flow 7s ease-in-out infinite;
}

.timeline-page-card .star-timeline::after {
  content: "✦";
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 50%;
  color: var(--accent-deep);
  font-size: 17px;
  line-height: 1;
  text-shadow: 0 0 16px color-mix(in srgb, var(--accent) 62%, transparent);
  transform: translateX(-50%);
}

.timeline-page-card .star-timeline article {
  position: relative;
  z-index: 1;
  min-height: 126px;
  padding: 9px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.timeline-page-card .star-timeline article::after {
  content: "✦";
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--accent-deep);
  background:
    radial-gradient(circle, var(--card-solid) 0 46%, transparent 50%),
    conic-gradient(from 15deg, transparent, color-mix(in srgb, var(--accent) 28%, transparent), transparent 55%);
  border: 1px solid color-mix(in srgb, var(--accent) 59%, var(--line));
  border-radius: 50%;
  box-shadow:
    0 0 0 7px color-mix(in srgb, var(--card-solid) 86%, transparent),
    0 0 22px color-mix(in srgb, var(--accent) 26%, transparent);
  font-size: 18px;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.timeline-page-card .star-timeline article:nth-child(3n + 2)::after,
.timeline-page-card .star-timeline article:nth-child(4n + 3)::after {
  animation: timeline-star-pulse 4.5s ease-in-out infinite;
}

.timeline-page-card .star-timeline time {
  position: relative;
  z-index: 2;
  margin: 0 22px;
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.2;
  white-space: nowrap;
}

.timeline-page-card .star-timeline time::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 9px;
  display: inline-block;
  vertical-align: 2px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 60%, transparent);
}

.timeline-page-card .star-timeline article > div {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 104px;
  padding: 19px 21px 17px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 92% 4%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 9rem),
    radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent) 0 1px, transparent 1.4px) 0 0 / 23px 23px,
    color-mix(in srgb, var(--card-solid) 96%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  border-radius: 18px;
  box-shadow:
    0 12px 30px rgba(29, 84, 121, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.timeline-page-card .star-timeline article > div::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 57px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 15%, transparent));
  transform: translateY(-50%);
}

.timeline-page-card .star-timeline article:nth-child(odd) > div {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.timeline-page-card .star-timeline article:nth-child(odd) time {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  text-align: left;
}

.timeline-page-card .star-timeline article:nth-child(odd) > div::after {
  right: -57px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 15%, transparent));
}

.timeline-page-card .star-timeline article:nth-child(even) > div {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
  background:
    radial-gradient(circle at 8% 4%, color-mix(in srgb, var(--warm) 24%, transparent), transparent 9rem),
    radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent) 0 1px, transparent 1.4px) 0 0 / 23px 23px,
    color-mix(in srgb, var(--card-solid) 96%, transparent);
}

.timeline-page-card .star-timeline article:nth-child(even) time {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  text-align: right;
}

.timeline-page-card .star-timeline article:nth-child(even) > div::after {
  left: -57px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--warm) 48%, var(--accent)), var(--accent));
}

.timeline-page-card .star-timeline article > div > i {
  display: none;
}

.timeline-page-card .star-timeline h3 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0.025em;
}

.timeline-page-card .star-timeline h3 strong {
  color: var(--accent-deep);
}

.timeline-page-card .star-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

.timeline-page-card .star-timeline article:hover > div {
  border-color: color-mix(in srgb, var(--accent) 53%, var(--line));
  box-shadow:
    0 16px 36px rgba(29, 84, 121, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transform: translateY(-2px);
}

[data-theme="dark"] .timeline-page-card .star-timeline article > div {
  background:
    radial-gradient(circle at 92% 4%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 9rem),
    radial-gradient(circle, rgba(181, 217, 239, 0.1) 0 1px, transparent 1.4px) 0 0 / 23px 23px,
    color-mix(in srgb, var(--card-solid) 97%, transparent);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

[data-theme="dark"] .timeline-page-card .star-timeline article:nth-child(even) > div {
  background:
    radial-gradient(circle at 8% 4%, rgba(198, 140, 116, 0.1), transparent 9rem),
    radial-gradient(circle, rgba(181, 217, 239, 0.1) 0 1px, transparent 1.4px) 0 0 / 23px 23px,
    color-mix(in srgb, var(--card-solid) 97%, transparent);
}

@keyframes star-trail-flow {
  0%,
  100% {
    opacity: 0.66;
    box-shadow:
      0 0 12px color-mix(in srgb, var(--accent) 35%, transparent),
      0 0 28px color-mix(in srgb, var(--accent) 17%, transparent);
  }
  50% {
    opacity: 1;
    box-shadow:
      0 0 18px color-mix(in srgb, var(--accent) 54%, transparent),
      0 0 42px color-mix(in srgb, var(--accent) 28%, transparent);
  }
}

@keyframes timeline-star-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 7px color-mix(in srgb, var(--card-solid) 86%, transparent),
      0 0 16px color-mix(in srgb, var(--accent) 22%, transparent);
  }
  50% {
    box-shadow:
      0 0 0 9px color-mix(in srgb, var(--accent) 9%, transparent),
      0 0 26px color-mix(in srgb, var(--accent) 38%, transparent);
  }
}

@media (max-width: 720px) {
  .timeline-page-card .star-timeline {
    padding: 8px 0 4px 38px;
  }

  .timeline-page-card .star-timeline::before {
    top: 4px;
    bottom: 4px;
    left: 16px;
  }

  .timeline-page-card .star-timeline::after {
    left: 16px;
  }

  .timeline-page-card .star-timeline article,
  .timeline-page-card .star-timeline article:nth-child(odd),
  .timeline-page-card .star-timeline article:nth-child(even) {
    min-height: 0;
    padding: 10px 0 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .timeline-page-card .star-timeline article::after {
    top: 22px;
    left: -22px;
    width: 29px;
    height: 29px;
    font-size: 15px;
  }

  .timeline-page-card .star-timeline article:nth-child(odd) time,
  .timeline-page-card .star-timeline article:nth-child(even) time {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin: 0 0 9px;
    padding-left: 8px;
    text-align: left;
  }

  .timeline-page-card .star-timeline article:nth-child(odd) > div,
  .timeline-page-card .star-timeline article:nth-child(even) > div {
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
    padding: 18px 18px 16px;
    text-align: left;
  }

  .timeline-page-card .star-timeline article > div::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .timeline-page-card .star-timeline {
    padding-left: 31px;
  }

  .timeline-page-card .star-timeline::before,
  .timeline-page-card .star-timeline::after {
    left: 12px;
  }

  .timeline-page-card .star-timeline article::after {
    left: -19px;
  }

  .timeline-page-card .star-timeline h3 {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-page-card .star-timeline::before,
  .timeline-page-card .star-timeline article::after {
    animation: none;
  }

  .timeline-page-card .star-timeline article > div {
    transition: none;
  }
}
