:root {
  color-scheme: light;
  --bg: oklch(0.974 0.01 95);
  --bg-strong: oklch(0.945 0.02 92);
  --panel: color-mix(in oklch, white 78%, oklch(0.94 0.024 180));
  --panel-strong: color-mix(in oklch, white 64%, oklch(0.84 0.06 182));
  --text: oklch(0.28 0.03 235);
  --muted: oklch(0.52 0.022 232);
  --line: color-mix(in oklch, var(--text) 12%, white);
  --accent: oklch(0.56 0.095 194);
  --accent-deep: oklch(0.44 0.075 205);
  --accent-soft: oklch(0.78 0.05 186);
  --warm: oklch(0.79 0.07 72);
  --shadow: 0 22px 64px rgba(35, 55, 64, 0.1);
  --shadow-soft: 0 10px 28px rgba(35, 55, 64, 0.07);
  --radius-xl: 2rem;
  --radius-lg: 1.4rem;
  --radius-md: 1rem;
  --container: min(1180px, calc(100vw - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--text);
  font-family: "LXGW WenKai Screen", "Noto Serif SC", serif;
  background:
    radial-gradient(circle at 14% 18%, rgba(103, 180, 176, 0.12), transparent 24rem),
    radial-gradient(circle at 86% 12%, rgba(234, 192, 104, 0.1), transparent 24rem),
    linear-gradient(180deg, oklch(0.986 0.008 95), oklch(0.956 0.012 102));
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input {
  font: inherit;
}

a,
button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(36, 58, 61, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 58, 61, 0.035) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at center, black 62%, transparent 100%);
}

.site-header,
.page-main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  padding: 0.15rem 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
  opacity: 0.92;
}

.brand-avatar-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.45rem;
  height: 3.45rem;
  flex: 0 0 auto;
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)),
    linear-gradient(145deg, rgba(244, 251, 249, 0.92), rgba(248, 244, 235, 0.78));
  border: 1px solid rgba(68, 104, 109, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.brand-avatar {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 0.02rem;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-eyebrow {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-subline {
  color: var(--muted);
  font-size: 0.78rem;
  max-width: 18rem;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.header-nav a {
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(63, 120, 120, 0.22);
  transform: translateY(-1px);
}

.page-main {
  display: grid;
  gap: 1.7rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(280px, 0.68fr);
  gap: 1.1rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.search-shell,
.collection-card,
.site-footer {
  border: 1px solid rgba(65, 99, 103, 0.12);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 3.1rem);
  border-radius: clamp(2rem, 4vw, 3rem);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(243, 249, 247, 0.84)),
    var(--panel);
}

.hero-copy::before {
  content: "";
  position: absolute;
  width: 13rem;
  height: 13rem;
  right: -4.5rem;
  top: -4.5rem;
  border-radius: 42% 58% 51% 49%;
  background: radial-gradient(circle, rgba(101, 184, 176, 0.15), rgba(101, 184, 176, 0));
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto auto 0.9rem 1rem;
  width: clamp(8rem, 18vw, 13rem);
  height: 2px;
  background: linear-gradient(90deg, rgba(57, 127, 132, 0.38), rgba(57, 127, 132, 0));
}

.hero-kicker,
.section-label,
.status-label,
.footer-label,
.collection-index,
.featured-tag {
  font-family: "Manrope", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-kicker {
  margin: 0 0 1rem;
  color: var(--accent-deep);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.site-footer h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  line-height: 1.18;
}

.hero h1 {
  max-width: none;
  width: 100%;
  font-size: clamp(2.2rem, 4.1vw, 3.7rem);
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.hero-summary {
  max-width: none;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1vw + 0.82rem, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.primary-action,
.secondary-action,
.footer-link,
.search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.search-clear {
  cursor: pointer;
}

.primary-action {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: white;
  box-shadow: 0 18px 35px rgba(42, 110, 116, 0.28);
}

.secondary-action,
.footer-link,
.search-clear {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
}

.primary-action:hover,
.secondary-action:hover,
.footer-link:hover,
.search-clear:hover,
.primary-action:focus-visible,
.secondary-action:focus-visible,
.footer-link:focus-visible,
.search-clear:focus-visible {
  transform: translateY(-2px);
}

.hero-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-metadata li {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(246, 252, 251, 0.95);
  border: 1px solid rgba(70, 110, 114, 0.12);
  color: var(--muted);
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.hero-note {
  padding: 0.95rem 1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(68, 104, 109, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.hero-note span {
  display: inline-block;
  color: var(--accent-deep);
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-note p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-panel {
  display: grid;
  gap: 0.9rem;
  padding: 0.9rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(242, 249, 248, 0.92), rgba(255, 251, 245, 0.88));
}

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

.status-card,
.notice-card {
  padding: 1.15rem 1.2rem;
  border-radius: 1.45rem;
  border: 1px solid rgba(68, 104, 109, 0.11);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.status-card-primary {
  background:
    radial-gradient(circle at top right, rgba(233, 193, 115, 0.28), transparent 35%),
    linear-gradient(160deg, rgba(242, 251, 249, 0.98), rgba(232, 244, 243, 0.94));
}

.status-label,
.section-label,
.footer-label,
.featured-tag {
  display: inline-block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.status-value {
  display: block;
  margin-top: 0.5rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.22rem, 1.4vw, 1.8rem);
  font-weight: 800;
  line-height: 1.25;
}

.status-card p,
.notice-card p,
.featured-card p,
.collection-header p,
.search-hint,
.footer-bottom,
.site-footer p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.notice-card span {
  font-family: "Noto Serif SC", serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.section {
  display: grid;
  gap: 1rem;
}

.section-heading {
  display: grid;
  gap: 0.25rem;
  padding: 0 0.35rem;
  max-width: 38rem;
}

.section-label {
  margin: 0;
}

.section-heading h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
}

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

.featured-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.3rem;
  min-height: 12.8rem;
  padding: 1.15rem;
  border: 1px solid rgba(65, 99, 103, 0.12);
  border-radius: 1.45rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(243, 250, 248, 0.84)),
    var(--panel);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.featured-card::before {
  content: none;
}

.featured-card::after {
  content: "";
  position: absolute;
  width: 5.5rem;
  height: 5.5rem;
  right: -1rem;
  top: -1rem;
  border-radius: 50%;
  opacity: 0.42;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0));
}

.featured-card strong {
  font-family: "Noto Serif SC", serif;
  font-size: 1.24rem;
  line-height: 1.2;
}

.featured-card p {
  max-width: 28ch;
}

.featured-card:hover,
.featured-card:focus-visible,
.collection-card:hover {
  transform: translateY(-3px);
  border-color: rgba(71, 128, 132, 0.24);
  box-shadow: 0 24px 56px rgba(35, 55, 64, 0.14);
}

.featured-card-wide {
  grid-column: span 6;
  background:
    radial-gradient(circle at top right, rgba(233, 193, 115, 0.22), transparent 33%),
    linear-gradient(135deg, rgba(248, 253, 252, 0.98), rgba(237, 246, 244, 0.94));
}

.featured-card-story {
  min-height: 15rem;
}

.featured-card-signal {
  background:
    radial-gradient(circle at top left, rgba(108, 188, 171, 0.2), transparent 34%),
    linear-gradient(160deg, rgba(248, 252, 251, 0.92), rgba(234, 247, 244, 0.82));
}

.featured-card-soft {
  background:
    radial-gradient(circle at top right, rgba(234, 192, 104, 0.16), transparent 32%),
    linear-gradient(160deg, rgba(255, 251, 246, 0.94), rgba(247, 250, 248, 0.82));
}

.featured-card-ink {
  background:
    radial-gradient(circle at 18% 18%, rgba(86, 130, 142, 0.13), transparent 24%),
    linear-gradient(160deg, rgba(247, 250, 252, 0.96), rgba(240, 246, 247, 0.84));
}

.featured-card-paper {
  background:
    radial-gradient(circle at top right, rgba(220, 175, 89, 0.15), transparent 28%),
    linear-gradient(160deg, rgba(255, 252, 245, 0.96), rgba(248, 248, 241, 0.86));
}

.featured-card-tech {
  background:
    radial-gradient(circle at 78% 22%, rgba(98, 173, 175, 0.23), transparent 28%),
    linear-gradient(160deg, rgba(244, 251, 251, 0.96), rgba(236, 245, 247, 0.84));
}

.featured-grid > .featured-card:not(.featured-card-wide) {
  grid-column: span 3;
}

.search-shell {
  padding: 1.1rem;
  border-radius: 1.55rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(242, 249, 248, 0.88));
}

.search-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.search-input-wrap {
  display: flex;
  gap: 0.75rem;
}

.search-input {
  width: 100%;
  min-height: 3.4rem;
  padding: 0 1.1rem;
  border: 1px solid rgba(67, 106, 110, 0.16);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.search-input::placeholder {
  color: rgba(77, 101, 112, 0.72);
}

.search-input:focus {
  border-color: rgba(53, 121, 127, 0.4);
  box-shadow: 0 0 0 4px rgba(70, 146, 150, 0.12);
}

.search-shortcuts,
.collection-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.search-shortcuts {
  margin-top: 0.95rem;
}

.collection-toolbar {
  padding: 0.15rem 0.35rem 0;
}

.shortcut-chip,
.collection-filter {
  min-height: 2.5rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(68, 105, 109, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.shortcut-chip:hover,
.shortcut-chip:focus-visible,
.collection-filter:hover,
.collection-filter:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(53, 121, 127, 0.3);
  transform: translateY(-1px);
}

.collection-filter.is-active {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  box-shadow: 0 16px 32px rgba(42, 110, 116, 0.2);
}

.empty-state {
  margin: 0;
  padding: 1rem 1.2rem;
  border: 1px dashed rgba(70, 110, 114, 0.22);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
}

.collection-grid {
  column-count: 3;
  column-gap: 0.9rem;
}

.collection-card {
  position: relative;
  overflow: hidden;
  display: inline-grid;
  gap: 0.9rem;
  width: 100%;
  margin: 0 0 0.9rem;
  padding: 1.05rem;
  border-radius: 1.5rem;
  break-inside: avoid;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.93), rgba(241, 248, 247, 0.86)),
    var(--panel-strong);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.collection-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(70, 130, 132, 0.78), rgba(70, 130, 132, 0));
}

.collection-card-festival {
  background:
    radial-gradient(circle at top right, rgba(233, 193, 115, 0.18), transparent 30%),
    linear-gradient(160deg, rgba(255, 251, 246, 0.93), rgba(244, 248, 246, 0.82));
}

.collection-card-media {
  background:
    radial-gradient(circle at top right, rgba(96, 171, 175, 0.16), transparent 30%),
    linear-gradient(160deg, rgba(244, 250, 251, 0.94), rgba(236, 246, 247, 0.84));
}

.collection-card-fun {
  background:
    radial-gradient(circle at 80% 18%, rgba(101, 184, 176, 0.16), transparent 30%),
    linear-gradient(160deg, rgba(248, 252, 251, 0.93), rgba(240, 248, 247, 0.82));
}

.collection-card-portfolio {
  background:
    radial-gradient(circle at top left, rgba(135, 165, 191, 0.16), transparent 28%),
    linear-gradient(160deg, rgba(248, 250, 252, 0.95), rgba(241, 246, 248, 0.82));
}

.collection-card-design {
  background:
    radial-gradient(circle at top right, rgba(226, 180, 103, 0.16), transparent 28%),
    linear-gradient(160deg, rgba(254, 251, 244, 0.95), rgba(248, 247, 240, 0.86));
}

.collection-card-utility {
  background:
    radial-gradient(circle at top right, rgba(98, 173, 175, 0.18), transparent 28%),
    linear-gradient(160deg, rgba(244, 251, 251, 0.95), rgba(238, 246, 247, 0.84));
}

.collection-card-focus {
  background:
    radial-gradient(circle at top left, rgba(110, 181, 159, 0.16), transparent 28%),
    linear-gradient(160deg, rgba(245, 252, 249, 0.95), rgba(239, 247, 243, 0.86));
}

.collection-card-notion {
  background:
    radial-gradient(circle at top left, rgba(139, 170, 201, 0.18), transparent 30%),
    linear-gradient(160deg, rgba(247, 250, 253, 0.95), rgba(240, 246, 250, 0.86));
}

.collection-card-study {
  background:
    radial-gradient(circle at top right, rgba(234, 192, 104, 0.16), transparent 28%),
    linear-gradient(160deg, rgba(252, 250, 245, 0.95), rgba(245, 248, 243, 0.84));
}

.collection-card-other {
  background:
    radial-gradient(circle at top right, rgba(198, 170, 126, 0.16), transparent 30%),
    linear-gradient(160deg, rgba(252, 249, 245, 0.95), rgba(245, 242, 237, 0.86));
}

.collection-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
}

.collection-header h3 {
  margin: 0;
  font-size: 1.28rem;
}

.collection-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.collection-index {
  margin: 0;
  color: var(--accent-deep);
  font-weight: 800;
  font-size: 0.9rem;
}

.collection-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(68, 105, 109, 0.12);
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.collection-header > div > p {
  max-width: 32ch;
}

.collection-sections {
  display: grid;
  gap: 0.72rem;
}

.collection-section {
  display: grid;
  gap: 0.55rem;
  align-items: start;
  justify-items: stretch;
  padding: 0.78rem 0.82rem;
  border: 1px solid rgba(68, 105, 109, 0.1);
  border-radius: 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(248, 252, 251, 0.56)),
    rgba(255, 255, 255, 0.3);
}

.collection-section-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
  padding-top: 0;
}

.collection-section-label {
  font-family: "Manrope", sans-serif;
}

.collection-section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 1.7rem;
  padding: 0.2rem 0.58rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(68, 105, 109, 0.1);
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.collection-section .link-cloud {
  justify-content: center;
  gap: 0.58rem;
  width: 100%;
}

.collection-section .resource-link {
  background: rgba(255, 255, 255, 0.9);
}

.link-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.72rem;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.7rem;
  padding: 0.62rem 0.92rem;
  border: 1px solid rgba(68, 105, 109, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  line-height: 1.35;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.link-cloud .resource-link {
  width: auto;
  max-width: 100%;
  min-height: 2.7rem;
  justify-content: flex-start;
  padding: 0.62rem 0.92rem;
  border-radius: 999px;
}

.link-cloud .resource-link::after {
  margin-left: auto;
}

.resource-link::after {
  content: "↗";
  font-family: "Manrope", sans-serif;
  color: var(--accent-deep);
  font-size: 0.9rem;
}

.resource-link:hover,
.resource-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(53, 121, 127, 0.32);
  background: rgba(255, 255, 255, 0.96);
  color: var(--accent-deep);
}

.site-footer {
  padding: 1.45rem;
  margin-top: 0.2rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top left, rgba(233, 193, 115, 0.18), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(242, 249, 248, 0.9));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: 1rem;
  align-items: center;
}

.site-footer h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding-top: 1rem;
  margin-top: 1.2rem;
  border-top: 1px solid rgba(66, 104, 109, 0.1);
}

.footer-bottom a {
  text-decoration: underline;
  text-decoration-color: rgba(73, 116, 120, 0.28);
  text-underline-offset: 0.2em;
}

.welcome-toast {
  position: fixed;
  left: 50%;
  top: auto;
  bottom: 1.2rem;
  z-index: 20;
  width: min(32rem, calc(100vw - 1.4rem));
  padding: 1rem 1.1rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(66, 104, 109, 0.12);
  background:
    radial-gradient(circle at top right, rgba(233, 193, 115, 0.15), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(242, 249, 248, 0.92));
  box-shadow: 0 24px 56px rgba(35, 55, 64, 0.16);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
  text-align: left;
}

.welcome-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.welcome-toast-inner {
  min-width: 0;
}

.welcome-toast-eyebrow {
  margin: 0;
  color: var(--accent-deep);
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.welcome-toast-message {
  margin: 0.42rem 0 0;
  color: var(--text);
  font-size: 0.97rem;
  line-height: 1.55;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  animation: reveal-up 720ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

.is-hidden {
  display: none !important;
}

.ctrm-title { 
    background: linear-gradient(90deg, #ffdee9, #b5fffc)!important; /* 标题背景渐变色 */
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .featured-card-wide,
  .featured-grid > .featured-card:not(.featured-card-wide) {
    grid-column: span 6;
  }

  .collection-grid {
    column-count: 2;
  }

  .collection-section-head {
    gap: 0.48rem;
  }

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

  .footer-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding-top: 0.7rem;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .brand {
    width: 100%;
  }

  .header-nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 0 0.25rem 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

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

  .hero h1 {
    max-width: none;
    font-size: clamp(1.9rem, 10vw, 2.6rem);
  }

  .hero-summary {
    max-width: none;
  }

  .hero-metadata {
    gap: 0.55rem;
  }

  .hero-notes {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hero-note:last-child {
    display: none;
  }

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

  .search-input-wrap {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .collection-grid {
    column-count: 1;
  }

  .featured-card-wide,
  .featured-grid > .featured-card:not(.featured-card-wide) {
    grid-column: span 1;
  }

  .featured-card,
  .featured-card-story {
    min-height: auto;
  }

  .featured-card p {
    max-width: none;
  }

  .collection-sections {
    gap: 0.65rem;
  }

  .collection-section {
    padding: 0.76rem;
    border-radius: 1rem;
  }

  .link-cloud {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: initial;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .welcome-toast {
    left: 50%;
    top: auto;
    bottom: 0.75rem;
    width: min(calc(100vw - 1.2rem), 28rem);
    padding: 0.9rem;
    border-radius: 1.2rem;
    transform: translate(-50%, 12px);
    text-align: left;
  }

  .welcome-toast.is-visible {
    transform: translate(-50%, 0);
  }
}

@media (max-width: 540px) {
  :root {
    --container: calc(100vw - 0.8rem);
  }

  .hero-copy,
  .hero-panel,
  .search-shell,
  .collection-card,
  .site-footer {
    padding: 0.9rem;
    border-radius: 1.3rem;
  }

  .brand {
    gap: 0.7rem;
  }

  .brand-avatar-shell {
    width: 3.1rem;
    height: 3.1rem;
  }

  .brand-avatar {
    width: 2.1rem;
    height: 2.1rem;
  }

  .brand-subline {
    display: none;
  }

  .section-heading {
    padding: 0 0.1rem;
  }

  .section-heading h2 {
    font-size: 1.45rem;
  }

  .header-nav a,
  .resource-link,
  .footer-link,
  .secondary-action,
  .primary-action {
    width: 100%;
    justify-content: center;
  }

  .shortcut-chip,
  .collection-filter {
    min-height: 2.35rem;
  }

  .hero-actions,
  .hero-metadata,
  .footer-actions {
    width: 100%;
  }

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

  .link-cloud .resource-link {
    width: 100%;
    min-height: 3rem;
    padding: 0.72rem 0.9rem;
    border-radius: 1rem;
  }

  .collection-section-head {
    gap: 0.55rem;
  }

  .collection-title-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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