: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);
  --warm-deep: oklch(0.66 0.11 60);
  --rose: oklch(0.78 0.09 25);
  --jade: oklch(0.72 0.1 165);
  --ink: oklch(0.32 0.04 235);
  --gold: oklch(0.78 0.13 80);
  --shadow: 0 22px 64px rgba(35, 55, 64, 0.1);
  --shadow-soft: 0 10px 28px rgba(35, 55, 64, 0.07);
  --shadow-hover: 0 32px 72px rgba(35, 55, 64, 0.18);
  --shadow-glow: 0 0 0 1px rgba(70, 146, 150, 0.08), 0 24px 56px rgba(35, 55, 64, 0.14);
  --gradient-accent: linear-gradient(135deg, var(--accent-deep), var(--accent));
  --gradient-warm: linear-gradient(135deg, var(--warm-deep), var(--warm));
  --gradient-text: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 50%, var(--warm-deep) 100%);
  --radius-xl: 2rem;
  --radius-lg: 1.4rem;
  --radius-md: 1rem;
  --container: min(1180px, calc(100vw - 2rem));
  --spotlight-x: 50%;
  --spotlight-y: 50%;
}

*,
*::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.16), transparent 26rem),
    radial-gradient(circle at 86% 12%, rgba(234, 192, 104, 0.14), transparent 26rem),
    radial-gradient(circle at 50% 90%, rgba(139, 170, 201, 0.1), transparent 30rem),
    linear-gradient(180deg, oklch(0.986 0.008 95), oklch(0.956 0.012 102));
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Aurora 装饰层 - 缓慢漂浮的光晕 */
body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto auto;
  width: 42rem;
  height: 42rem;
  background: radial-gradient(circle, rgba(101, 184, 176, 0.18), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: aurora-float 22s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: auto auto -20% -10%;
  width: 38rem;
  height: 38rem;
  background: radial-gradient(circle, rgba(234, 192, 104, 0.14), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: aurora-float 26s ease-in-out -8s infinite reverse;
}

@keyframes aurora-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-4%, 3%) scale(1.08); }
  66% { transform: translate(3%, -4%) scale(0.94); }
}

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 {
  position: relative;
  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),
    0 8px 22px rgba(70, 146, 150, 0.12);
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 320ms ease;
}

.brand-avatar-shell::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(101, 184, 176, 0.4) 90deg, transparent 180deg, rgba(234, 192, 104, 0.3) 270deg, transparent 360deg);
  opacity: 0;
  z-index: -1;
  transition: opacity 320ms ease;
  animation: brand-rotate 8s linear infinite;
}

.brand:hover .brand-avatar-shell {
  transform: rotate(-6deg) scale(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 32px rgba(70, 146, 150, 0.22);
}

.brand:hover .brand-avatar-shell::after {
  opacity: 1;
}

@keyframes brand-rotate {
  to { transform: rotate(360deg); }
}

.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;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.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);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Hero 装饰：右上角光块（还原原版简洁样式） */
.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 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(101, 184, 176, 0.14), rgba(234, 192, 104, 0.1));
  border: 1px solid rgba(101, 184, 176, 0.18);
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-kicker::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(101, 184, 176, 0.18);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(101, 184, 176, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(101, 184, 176, 0.06); }
}

.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 h1 内部 .accent-text 用渐变着色 */
.hero h1 .accent-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.hero h1 .accent-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.18em;
  height: 0.32em;
  background: linear-gradient(90deg, rgba(101, 184, 176, 0.28), rgba(234, 192, 104, 0.22));
  border-radius: 999px;
  z-index: -1;
  transform: scaleX(0.9);
  transform-origin: left;
}

.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 {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

/* 让 .search-clear 跟 hero 区的 secondary-action 视觉保持一致 */
.search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), border-color 220ms ease, background-color 220ms ease, color 220ms ease;
}

.search-clear:hover,
.search-clear:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(63, 120, 120, 0.32);
  color: var(--accent-deep);
}

.primary-action {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 10px 22px rgba(42, 110, 116, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.primary-action::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 700ms ease;
}

.primary-action:hover::before {
  transform: translateX(100%);
}

.primary-action::after {
  content: "→";
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  transition: transform 220ms ease;
}

.primary-action:hover::after {
  transform: translateX(4px);
}

.secondary-action,
.footer-link {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

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

.secondary-action:hover,
.footer-link:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(63, 120, 120, 0.32);
  color: var(--accent-deep);
}

.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 {
  position: relative;
  overflow: hidden;
  padding: 1.15rem 1.2rem;
  border-radius: 1.45rem;
  border: 1px solid rgba(68, 104, 109, 0.11);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.status-card:hover,
.notice-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(35, 55, 64, 0.12);
  border-color: rgba(63, 120, 120, 0.2);
}

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

.status-card-primary::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 140%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(101, 184, 176, 0.12), transparent 60%);
  pointer-events: none;
}

.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;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.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.4rem;
  padding: 0 0.35rem;
  max-width: 38rem;
}

.section-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 1.4rem;
  margin: 0;
}

.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--warm));
}

.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.4rem;
  min-height: 12.8rem;
  padding: 1.3rem 1.25rem 1.25rem;
  border: 1px solid rgba(65, 99, 103, 0.12);
  border-radius: 1.5rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(243, 250, 248, 0.86)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1), border-color 280ms ease, box-shadow 320ms ease;
}

/* spotlight 跟随光斑 */
.featured-card::before,
.featured-card.resource-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), rgba(101, 184, 176, 0.16), transparent 40%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
  z-index: 1;
}

.featured-card:hover::before,
.featured-card.resource-link:hover::before {
  opacity: 1;
}

.featured-card::after {
  content: "";
  position: absolute;
  width: 6rem;
  height: 6rem;
  right: -1.2rem;
  top: -1.2rem;
  border-radius: 50%;
  opacity: 0.5;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
  transition: transform 480ms ease;
}

.featured-card:hover::after {
  transform: scale(1.4) rotate(20deg);
}

.featured-card > * {
  position: relative;
  z-index: 2;
}

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

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

.featured-card:hover,
.featured-card:focus-visible,
.collection-card:hover {
  transform: translateY(-4px);
  border-color: rgba(71, 128, 132, 0.28);
  box-shadow: var(--shadow-hover);
}

.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 {
  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;
}

.shortcut-chip:hover,
.shortcut-chip: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 {
  position: relative;
  overflow: hidden;
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(68, 105, 109, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-weight: 500;
  cursor: pointer;
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), border-color 220ms ease, background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.collection-filter::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(101, 184, 176, 0.16), rgba(234, 192, 104, 0.12));
  opacity: 0;
  transition: opacity 240ms ease;
}

.collection-filter:hover::before {
  opacity: 1;
}

.collection-filter > * {
  position: relative;
}

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

.collection-filter.is-active {
  color: white;
  border-color: transparent;
  background: var(--gradient-accent);
  box-shadow: 0 8px 18px rgba(42, 110, 116, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.collection-filter.is-active::before {
  opacity: 0;
}

.empty-state {
  margin: 0;
  padding: 1.4rem 1.4rem;
  border: 1px dashed rgba(70, 110, 114, 0.28);
  border-radius: 1.3rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(101, 184, 176, 0.06), transparent 60%),
    rgba(255, 255, 255, 0.74);
  color: var(--muted);
  text-align: center;
  font-size: 0.98rem;
}

.empty-state::before {
  content: "🔎";
  display: block;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  filter: grayscale(0.3);
  opacity: 0.7;
}

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

.collection-card {
  position: relative;
  overflow: hidden;
  display: inline-grid;
  gap: 0.95rem;
  width: 100%;
  margin: 0 0 0.9rem;
  padding: 1.2rem 1.1rem 1.15rem 1.3rem;
  border-radius: 1.6rem;
  break-inside: avoid;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(241, 248, 247, 0.88)),
    var(--panel-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1), border-color 280ms ease, box-shadow 320ms 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::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--spotlight-x, 0%) var(--spotlight-y, 0%), rgba(101, 184, 176, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
  border-radius: inherit;
}

.collection-card:hover::after {
  opacity: 1;
}

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

.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: 1rem;
  align-items: start;
}

.collection-header h3 {
  margin: 0;
  font-size: 1.32rem;
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.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.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(68, 105, 109, 0.14);
  color: var(--accent-deep);
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(35, 55, 64, 0.05);
}

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

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

.collection-section {
  display: grid;
  gap: 0.6rem;
  align-items: start;
  justify-items: stretch;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(68, 105, 109, 0.1);
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 252, 251, 0.6)),
    rgba(255, 255, 255, 0.3);
  transition: border-color 240ms ease, background-color 240ms ease;
}

.collection-section:hover {
  border-color: rgba(101, 184, 176, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 252, 251, 0.78)),
    rgba(255, 255, 255, 0.5);
}

.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 {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.7rem;
  padding: 0.62rem 1rem;
  border: 1px solid rgba(68, 105, 109, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  line-height: 1.35;
  font-weight: 500;
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), border-color 220ms ease, background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.resource-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(101, 184, 176, 0.14), rgba(234, 192, 104, 0.1));
  opacity: 0;
  transition: opacity 220ms ease;
}

.resource-link > * {
  position: relative;
}

.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: "↗";
  position: relative;
  font-family: "Manrope", sans-serif;
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 220ms ease;
}

/* 精选卡：隐藏标签胶囊 + 内嵌箭头 */
.featured-card .featured-tag {
  display: none;
}

.featured-card.resource-link::after {
  content: none;
}

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

.resource-link:hover::before,
.resource-link:focus-visible::before {
  opacity: 1;
}

.resource-link:hover::after,
.resource-link:focus-visible::after {
  transform: translate(3px, -3px);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 1.7rem;
  margin-top: 0.2rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top left, rgba(233, 193, 115, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(101, 184, 176, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(242, 249, 248, 0.92));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--warm), transparent);
  opacity: 0.5;
}

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

.site-footer h2 .accent-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.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;
  }
}

/* ============================
 * 新增美化组件
 * ============================ */

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(65, 99, 103, 0.16);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.8)),
    linear-gradient(135deg, rgba(101, 184, 176, 0.18), rgba(234, 192, 104, 0.14));
  color: var(--accent-deep);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.9);
  box-shadow: 0 16px 36px rgba(35, 55, 64, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 260ms ease, transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0ms 260ms, box-shadow 240ms ease;
  z-index: 30;
}

.back-to-top::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg) translate(2px, 2px);
  border-radius: 1px;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity 260ms ease, transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0ms 0ms, box-shadow 240ms ease;
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 22px 44px rgba(35, 55, 64, 0.24);
}

.back-to-top:active {
  transform: translateY(-1px) scale(0.97);
}

/* 自定义滚动条（仅 webkit） */
@media (pointer: fine) {
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  ::-webkit-scrollbar-track {
    background: transparent;
  }
  ::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(101, 184, 176, 0.55), rgba(70, 130, 132, 0.55));
    border: 2px solid rgba(255, 255, 255, 0.6);
    background-clip: padding-box;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(101, 184, 176, 0.8), rgba(70, 130, 132, 0.8));
    background-clip: padding-box;
  }
  /* Firefox */
  html {
    scrollbar-color: rgba(101, 184, 176, 0.5) transparent;
    scrollbar-width: thin;
  }
}

/* 选中文本配色 */
::selection {
  background: rgba(101, 184, 176, 0.28);
  color: var(--ink);
}

/* 数字翻牌（用于运行时间） */
.status-value[data-count] {
  font-variant-numeric: tabular-nums;
}

/* 加载时第一屏轻微淡入 */
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-shell {
  animation: page-fade-in 600ms ease-out;
}

/* 链接 hover 时全卡片轻微抬升的同时让标题颜色加深 */
.featured-card:hover strong {
  color: var(--accent-deep);
}

/* 公告卡保持原版简洁样式 */

/* 装饰：分类卡每张悬停时左上角小章 */
.collection-card .collection-index {
  position: relative;
}

/* 让 hero-actions 中按钮在小屏时撑满 */
.hero-actions {
  align-items: center;
}

/* welcome-toast 增加边框光泽 */
.welcome-toast {
  background:
    radial-gradient(circle at top right, rgba(233, 193, 115, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 249, 248, 0.94));
}

.welcome-toast.is-visible {
  pointer-events: auto;
}

.welcome-toast::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.2rem;
  right: 1.2rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
  border-radius: 999px;
}

/* 进入卡片时让箭头先抖一下 */
@keyframes arrow-bounce {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(2px, -2px); }
}

/* 节日卡数字与项数轻微跳动 */
@media (hover: hover) {
  .collection-card:hover .collection-count {
    animation: chip-pop 360ms ease;
  }
}

@keyframes chip-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* 在很小的屏隐藏回顶部按钮的多余阴影 */
@media (max-width: 540px) {
  .back-to-top {
    right: 0.8rem;
    bottom: 0.8rem;
    width: 2.7rem;
    height: 2.7rem;
  }
}
