:root {
  --forest-cream: #f7f1d4;
  --forest-deep: #155a45;
  --forest-gold: #dce9a8;
  --forest-ink: #173f35;
  --forest-leaf: #4b9b5f;
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --site-cream: #f2ecd6;
  --site-muted: rgb(242 236 214 / 72%);
  --site-gold: #dce9a8;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Consolas", ui-monospace, monospace;
}

html {
  background: var(--forest-deep);
  cursor: pointer;
}

body {
  cursor: auto;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  isolation: isolate;
}

.page-scroll {
  scrollbar-width: none;
}

.page-scroll::-webkit-scrollbar {
  display: none;
}

html::-webkit-scrollbar {
  width: 0.75rem;
  height: 0.75rem;
  cursor: pointer;
}

html::-webkit-scrollbar-track {
  background: transparent;
  cursor: pointer;
}

html::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: var(--forest-gold);
  background-clip: content-box;
  cursor: pointer;
}

html::-webkit-scrollbar-thumb:hover {
  background-color: var(--forest-cream);
}

@supports (-moz-appearance: none) {
  html {
    scrollbar-color: var(--forest-gold) transparent;
    scrollbar-width: thin;
  }
}

@media (hover: none), (pointer: coarse) {
  html {
    scrollbar-width: none;
  }

  html::-webkit-scrollbar {
    display: none;
  }
}

.copy-toast {
  position: fixed;
  top: calc(1rem + env(safe-area-inset-top));
  left: 50%;
  z-index: 50;
  max-width: calc(100vw - 2rem);
  padding: 0.65rem 1rem;
  border: 1px solid rgb(247 241 212 / 38%);
  border-radius: 999px;
  background: var(--forest-deep);
  box-shadow: 0 0.75rem 2rem rgb(2 41 31 / 32%);
  color: var(--forest-cream);
  font-size: 0.875rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -0.5rem);
  transition: opacity 180ms ease, transform 180ms var(--ease-out-quint);
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.copy-toast.copy-toast--error {
  background: #a33a36;
}

button:focus-visible {
  outline: 4px solid var(--forest-gold);
  outline-offset: 4px;
}

.secondary-button:focus-visible {
  outline: 4px solid var(--forest-gold);
  outline-offset: 4px;
}

.forest-background {
  filter: saturate(0.94) contrast(0.96);
}

.forest-overlay {
  background:
    linear-gradient(90deg, rgb(8 55 42 / 60%), rgb(8 55 42 / 32%)),
    linear-gradient(180deg, rgb(7 57 44 / 14%), rgb(5 43 33 / 55%));
}

.sun-wash {
  background: rgb(220 233 168 / 26%);
  filter: blur(4rem);
}

.responsive-layout {
  max-width: 72rem;
  animation: invitation-arrive 720ms 120ms var(--ease-out-quint) both;
}

.page-mascot {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  z-index: 0;
  width: clamp(11rem, 52vw, 14rem);
  aspect-ratio: 1;
  overflow: hidden;
  opacity: 0.52;
  filter: saturate(0.9) contrast(1.05) brightness(0.86);
  mask-image: radial-gradient(ellipse 46% 44% at 50% 48%, #000 46%, transparent 100%);
  transform: translateX(-50%);
}

.page-mascot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.invitation-paper {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 1.35rem 1rem 1rem;
  border: 1px solid rgb(21 90 69 / 28%);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 16% 12%, rgb(220 233 168 / 42%), transparent 18rem),
    linear-gradient(135deg, rgb(255 249 220 / 98%), rgb(247 241 212 / 96%));
  box-shadow:
    0 0.35rem 0 #d6c99e,
    0 1.8rem 4rem rgb(2 41 31 / 38%);
}

.invitation-paper::before {
  position: absolute;
  inset: 0.5rem;
  border: 1px solid rgb(21 90 69 / 18%);
  border-radius: 0.68rem;
  content: "";
  pointer-events: none;
}

.paper-pin {
  position: absolute;
  z-index: 2;
  top: -0.5rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid #8d7336;
  border-radius: 50%;
  background: #d9b95f;
  box-shadow: inset 0.15rem 0.15rem 0 rgb(255 249 220 / 65%), 0 0.25rem 0.35rem rgb(70 52 20 / 28%);
}

.paper-pin--left {
  left: 16%;
}

.paper-pin--right {
  right: 16%;
}

.mini-stamp {
  flex-shrink: 0;
  padding: 0.4rem 0.48rem;
  border: 2px solid var(--forest-leaf);
  border-radius: 0.38rem;
  color: var(--forest-leaf);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  transform: rotate(7deg);
}

.qr-mount img {
  border-radius: 0.62rem;
}

.secondary-button {
  border: 1px solid rgb(21 90 69 / 45%);
  border-radius: 0.72rem;
  background: rgb(255 249 220 / 52%);
  cursor: pointer;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease, opacity 150ms ease;
}

.secondary-button:hover {
  background: rgb(75 155 95 / 14%);
}

.secondary-button:active {
  background: rgb(75 155 95 / 24%);
}

.secondary-button:disabled {
  cursor: wait;
  opacity: 0.56;
}

.secondary-button--3d {
  border-width: 2px;
  border-radius: 0.85rem;
  box-shadow: 0 0.48rem 0 rgb(21 90 69 / 45%);
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease, background 150ms ease;
}

.secondary-button--3d:active {
  box-shadow: 0 0.14rem 0 rgb(21 90 69 / 45%);
  transform: translateY(0.34rem);
}

.link-ticket {
  border: 1px dashed rgb(21 90 69 / 55%);
  border-radius: 0.8rem;
  background: rgb(220 233 168 / 38%);
}

.copy-icon-button {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.7rem;
  background: transparent;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, opacity 150ms ease;
}

.copy-icon-button:hover {
  color: var(--forest-deep);
  background: rgb(75 155 95 / 12%);
}

.copy-icon-button:active {
  background: rgb(75 155 95 / 20%);
}

.copy-icon-button:disabled {
  cursor: wait;
  opacity: 0.56;
}

.primary-button {
  border: 2px solid var(--forest-deep);
  border-radius: 0.85rem;
  background: #357747;
  box-shadow: 0 0.48rem 0 #10483a;
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease, background 150ms ease;
}

.primary-button:hover {
  background: #2f6f42;
}

.primary-button:active {
  box-shadow: 0 0.14rem 0 #10483a;
  transform: translateY(0.34rem);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

/* 作品详情入口卡 */
.entry-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.entry-eyebrow {
  margin: 0;
  color: var(--forest-leaf);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.entry-title {
  margin: 0.5rem 0 0;
  color: var(--forest-deep);
  font-size: clamp(1.5rem, 7.5vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.entry-lead {
  margin: 0.75rem 0 0;
  color: rgb(23 63 53 / 72%);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.65;
}

.entry-qr {
  width: fit-content;
  margin: 1rem auto 0;
}

.entry-qr img {
  display: block;
  width: 11rem;
  height: auto;
  border-radius: 0.62rem;
}

.entry-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--forest-deep);
  font-size: 0.75rem;
  font-weight: 900;
}

.entry-caption::before,
.entry-caption::after {
  width: 0.375rem;
  height: 0.375rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--forest-leaf);
  content: "";
}

.entry-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.entry-actions .secondary-button {
  display: flex;
  box-sizing: border-box;
  min-height: 3.5rem;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--forest-deep);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 900;
}

@media (max-width: 360px) {
  .entry-actions .secondary-button {
    gap: 0.4rem;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }
}

.entry-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.copy-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.entry-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
}

.entry-link-body {
  min-width: 0;
  flex: 1;
}

.entry-link-label {
  color: var(--forest-leaf);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.entry-link-value {
  margin-top: 0.25rem;
  overflow: hidden;
  color: var(--forest-deep);
  font-size: 0.875rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-play,
.entry-more {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.entry-play {
  color: var(--forest-cream);
}

.entry-more {
  margin-top: 0.75rem;
  color: var(--forest-deep);
}

.entry-rules {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgb(21 90 69 / 15%);
  border-radius: 0.8rem;
  background: rgb(255 249 220 / 35%);
}

.entry-rules-title {
  color: var(--forest-leaf);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.entry-rules ol {
  display: grid;
  gap: 0.5rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.entry-rules li {
  display: flex;
  gap: 0.5rem;
  color: rgb(23 63 53 / 75%);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
}

.entry-rules li span {
  color: var(--forest-leaf);
  font-weight: 900;
}

.entry-signature {
  margin-top: 1rem;
  color: rgb(75 155 95 / 80%);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: right;
}

@media (min-width: 640px) {
  .invitation-paper {
    padding: 1.65rem 1.55rem 1.25rem;
  }

  .entry-qr img {
    width: 14rem;
  }
}

@media (min-width: 768px) {
  .page-mascot {
    top: 0;
    left: calc(50% - 15rem);
    width: clamp(16rem, 26vw, 21rem);
    opacity: 0.62;
    filter: saturate(0.92) contrast(1.05) brightness(0.84) drop-shadow(0 1.2rem 1.5rem rgb(4 45 34 / 22%));
    transform: translateX(-50%) rotate(-3deg);
  }
}

@keyframes invitation-arrive {
  from {
    opacity: 0;
    transform: translateY(-4.5rem) rotate(-0.5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 官网与详情：森林底色 */
html:has(.site-body) {
  background: #04241a;
  scroll-padding-top: 6rem;
}

.site-body {
  position: relative;
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  background: transparent;
  color: var(--site-cream);
}

.site-orbs {
  position: fixed;
  inset: 0;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(90% 70% at 20% 12%, rgb(12 58 43 / 55%), transparent 70%),
    linear-gradient(180deg, rgb(5 30 23 / 72%) 0%, rgb(7 38 29 / 84%) 46%, rgb(4 24 19 / 96%) 100%),
    url("../images/forest-sky-bg.webp") center 38% / cover no-repeat;
}

.site-orbs::before,
.site-orbs::after {
  position: absolute;
  content: "";
}

.site-orbs::before {
  width: 78vmax;
  height: 78vmax;
  top: -22%;
  left: -24%;
  background: radial-gradient(circle, rgb(190 228 156 / 14%), transparent 62%);
  animation: site-aurora 48s ease-in-out infinite alternate;
}

.site-orbs::after {
  width: 68vmax;
  height: 68vmax;
  right: -22%;
  bottom: -30%;
  background: radial-gradient(circle, rgb(88 176 132 / 13%), transparent 64%);
  animation: site-aurora 62s ease-in-out infinite alternate-reverse;
}

.site-orbs span {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(236 246 198 / 88%) 0 1.5px, transparent 62%);
  opacity: 0;
  animation: site-drift 24s linear infinite;
}

.site-orbs span:nth-child(1) {
  left: 14%;
  top: 82%;
  animation-duration: 26s;
}

.site-orbs span:nth-child(2) {
  left: 24%;
  top: 92%;
  width: 12px;
  height: 12px;
  animation-duration: 33s;
  animation-delay: 5s;
}

.site-orbs span:nth-child(3) {
  left: 43%;
  top: 88%;
  animation-duration: 29s;
  animation-delay: 11s;
}

.site-orbs span:nth-child(4) {
  left: 58%;
  top: 94%;
  width: 13px;
  height: 13px;
  animation-duration: 36s;
  animation-delay: 17s;
}

.site-orbs span:nth-child(5) {
  left: 72%;
  top: 82%;
  animation-duration: 31s;
  animation-delay: 3s;
}

.site-orbs span:nth-child(6) {
  left: 86%;
  top: 90%;
  width: 11px;
  height: 11px;
  animation-duration: 38s;
  animation-delay: 9s;
}

.site-orbs span:nth-child(7) {
  left: 33%;
  top: 78%;
  width: 10px;
  height: 10px;
  animation-duration: 27s;
  animation-delay: 14s;
}

.site-orbs span:nth-child(8) {
  left: 66%;
  top: 76%;
  width: 18px;
  height: 18px;
  animation-duration: 41s;
  animation-delay: 21s;
}

@keyframes site-drift {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.7);
  }

  10% {
    opacity: 0.72;
  }

  38% {
    transform: translate3d(16px, -26vh, 0) scale(1);
  }

  66% {
    transform: translate3d(-12px, -52vh, 0) scale(1.08);
  }

  88% {
    opacity: 0.34;
  }

  100% {
    opacity: 0;
    transform: translate3d(8px, -78vh, 0) scale(0.8);
  }
}

@keyframes site-aurora {
  from {
    transform: translate3d(-3%, -2%, 0) scale(1);
  }

  to {
    transform: translate3d(5%, 4%, 0) scale(1.18);
  }
}

.site-container {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.8rem max(1.5rem, calc((100% - 1120px) / 2));
}

.site-header,
.detail-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(10 55 43 / calc(var(--header-progress, 0) * 52%));
  -webkit-backdrop-filter: blur(calc(var(--header-progress, 0) * 30px));
  backdrop-filter: blur(calc(var(--header-progress, 0) * 30px));
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--site-cream);
  text-decoration: none;
}

.site-brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
}

.site-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  line-height: 1;
}

.site-brand-copy strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-brand-copy span {
  color: var(--site-muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
}

.site-nav {
  display: flex;
  gap: 1.8rem;
}

.site-nav a {
  color: var(--site-muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 200ms ease;
}

.site-nav a:hover {
  color: var(--site-cream);
}

.site-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
  padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
}

.site-eyebrow {
  margin: 0;
  color: var(--site-gold);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.site-hero h1 {
  margin: 1.6rem 0 0;
  color: var(--site-cream);
  font-family: var(--font-serif);
  font-size: clamp(3.1rem, 6.2vw, 5.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.site-hero-lead {
  max-width: 31rem;
  margin: 1.8rem 0 0;
  color: var(--site-muted);
  font-size: 0.97rem;
  line-height: 2;
}

.nowrap {
  white-space: nowrap;
}

.site-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.6rem;
}

.site-button {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  border: 1px solid rgb(242 236 214 / 42%);
  border-radius: 1rem;
  color: var(--site-cream);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.site-button:hover {
  border-color: rgb(242 236 214 / 76%);
  background: rgb(242 236 214 / 8%);
}

.site-button--primary {
  border-color: var(--site-cream);
  background: var(--site-cream);
  color: #103b2c;
}

.site-button--primary:hover {
  border-color: #fffce9;
  background: #fffce9;
}

.site-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-top: 3rem;
  color: var(--site-muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}

.site-hero-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
}

.site-hero-frog {
  width: min(100%, 19rem);
  height: auto;
}

.site-hero-figure figcaption {
  color: var(--site-muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

.site-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.site-section-head {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.site-section-head h1,
.site-section-head h2 {
  margin: 0.9rem 0 0;
  color: var(--site-cream);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.site-section-head > p {
  max-width: 24rem;
  margin: 0 auto;
  color: var(--site-muted);
  font-size: 0.86rem;
  line-height: 1.9;
}

.work-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin: 2.6rem 0 0;
  padding: 0;
  list-style: none;
  justify-content: center;
  align-items: stretch;
}

.work-list > li[hidden] {
  display: none;
}

.work-list > li {
  display: flex;
}

.work {
  display: grid;
  grid-template-areas:
    "index"
    "name"
    "tag"
    "desc";
  grid-template-columns: minmax(0, 1fr);
  align-items: baseline;
  align-content: center;
  gap: 0.75rem;
  flex: 1;
  padding: 1.45rem 1.2rem;
  border-radius: 1.15rem;
  background: rgb(242 236 214 / 5%);
  color: var(--site-cream);
  text-decoration: none;
  text-align: center;
  transition: background 220ms ease;
}

.work:hover {
  background: rgb(242 236 214 / 10%);
}

.work-index {
  grid-area: index;
  color: var(--site-gold);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  transition: color 220ms ease;
}

.work-name {
  grid-area: name;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 220ms ease;
}

.work:hover .work-name {
  color: var(--site-gold);
}

.work:hover .work-index {
  color: var(--site-cream);
}

.work-desc {
  grid-area: desc;
  display: -webkit-box;
  width: 100%;
  height: 3.6em;
  overflow: hidden;
  color: var(--site-muted);
  font-size: 0.88rem;
  line-height: 1.8;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.site-body p,
.site-body li {
  text-wrap: pretty;
}

.work-tag {
  grid-area: tag;
  color: var(--site-muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-align: center;
}

.work-index,
.work-name,
.work-tag {
  justify-self: center;
}

.site-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.site-about-grid h2 {
  margin: 0.9rem 0 0;
  color: var(--site-cream);
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.site-about-copy p {
  margin: 0;
  color: var(--site-muted);
  font-size: 0.92rem;
  line-height: 2;
}

.site-about-copy p + p {
  margin-top: 1.1rem;
}

.site-about-points {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.site-about-points strong {
  display: block;
  color: var(--site-cream);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-about-points span {
  display: block;
  margin-top: 0.5rem;
  color: var(--site-muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.25rem 0 2rem;
  color: var(--site-muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.site-footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.site-footer-brand-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.site-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 1.7rem;
  color: var(--site-cream);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.site-footer .site-brand-mark {
  box-sizing: border-box;
  width: 1.7rem;
  height: 1.7rem;
}

.site-footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.site-footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-footer-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--site-muted);
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 200ms ease;
}

.site-footer-item:hover {
  color: var(--site-cream);
}

.site-footer-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.site-footer p {
  margin: 0;
}

.site-footer-copy {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.1rem;
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.76rem;
}

.site-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  color: var(--site-muted);
  text-decoration: none;
  transition: color 200ms ease;
}

.site-footer-links a:hover {
  color: var(--site-cream);
}

.detail-footer,
.legal-footer {
  width: min(720px, calc(100% - 3rem));
  margin: 0 auto;
}

.legal-footer {
  width: min(820px, calc(100% - 3rem));
}

.site-nav--legal {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1.1rem;
}

/* 关于、指南与协议页 */
.legal-container {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 0 0 1rem;
}

.legal-paper {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--site-cream);
}

.legal-paper h1 {
  margin: 1rem 0 0;
  color: var(--site-cream);
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

.legal-paper h2 {
  margin: 2rem 0 0;
  color: var(--site-cream);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.5;
}

.legal-paper h3 {
  margin: 1.2rem 0 0;
  color: var(--site-cream);
  font-size: 0.95rem;
  font-weight: 800;
}

.legal-paper p,
.legal-paper li {
  color: var(--site-muted);
  font-size: 0.92rem;
  line-height: 1.95;
}

.legal-paper p {
  margin: 0.8rem 0 0;
}

.legal-paper ul,
.legal-paper ol {
  margin: 0.7rem 0 0;
  padding-left: 1.25rem;
}

.legal-paper li + li {
  margin-top: 0.35rem;
}

.legal-paper a {
  color: var(--site-gold);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal-paper a:hover {
  color: #fffce9;
}

.legal-paper .site-eyebrow {
  color: var(--site-gold);
}

.legal-meta {
  margin-top: 0.8rem;
  color: rgb(242 236 214 / 52%);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.legal-callout {
  margin-top: 1rem;
  padding: 0;
  border: 0;
  background: none;
}

.legal-callout p {
  margin-top: 0;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.legal-toc li + li {
  margin-top: 0;
}

.legal-toc a {
  font-size: 0.82rem;
}

.guide-list {
  display: grid;
  gap: 1.8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.guide-list li {
  padding: 0;
  border: 0;
  background: none;
}

.guide-list h3 {
  margin-top: 0;
}

/* 出场动画 */
.anim-ready .site-header {
  animation: site-enter 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.anim-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 820ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-ready .reveal.is-in {
  opacity: 1;
  transform: none;
}

.anim-ready .site-hero .reveal,
.anim-ready .invitation-paper {
  opacity: 1;
  transform: none;
  transition: none;
}

@keyframes site-enter {
  from {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* 项目详情 */
.detail-container {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 3rem));
  margin: 0 auto;
}

.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.8rem max(1.5rem, calc((100% - 1120px) / 2));
}

.detail-back {
  color: var(--site-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 200ms ease;
}

.detail-back:hover {
  color: var(--site-cream);
}

.detail-main {
  padding: 0 0 1rem;
}

.detail-card {
  padding: 0;
}

.detail-title {
  margin: 1.2rem 0 0;
  color: var(--site-cream);
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.detail-lead {
  max-width: 34rem;
  margin: 1.2rem 0 0;
  color: var(--site-muted);
  font-size: 1.02rem;
  line-height: 2;
}

.detail-body {
  margin-top: 2.4rem;
}

.detail-body p,
.detail-section p,
.detail-section li {
  color: var(--site-muted);
  font-size: 0.92rem;
  line-height: 2;
}

.detail-body p + p {
  margin-top: 0.9rem;
}

.detail-section {
  margin-top: 3.4rem;
}

.detail-section h2,
.detail-entry h2 {
  margin: 0 0 0.9rem;
  color: var(--site-cream);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.detail-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: flex;
  gap: 0.7rem;
}

.detail-list li::before {
  width: 4px;
  height: 4px;
  flex-shrink: 0;
  margin-top: 0.92rem;
  border-radius: 50%;
  background: var(--site-gold);
  content: "";
}

.detail-entry {
  margin-top: 3.4rem;
}

.detail-entry p {
  margin: 0;
  color: var(--site-muted);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.detail-button {
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.3rem;
  border: 1px solid var(--site-cream);
  border-radius: 1rem;
  background: var(--site-cream);
  color: #103b2c;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 200ms ease, border-color 200ms ease;
}

.detail-button:hover {
  border-color: #fffce9;
  background: #fffce9;
}

.detail-button--ghost {
  background: transparent;
  color: var(--site-cream);
}

.detail-button--ghost:hover {
  border-color: rgb(242 236 214 / 70%);
  background: rgb(242 236 214 / 8%);
}

@media (prefers-reduced-motion: reduce) {
  .site-orbs span {
    animation: none;
    opacity: 0;
  }

  .site-orbs::before,
  .site-orbs::after,
  .anim-ready .site-header {
    animation: none;
  }

  .anim-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 768px) {
  .work-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .site-section-head {
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .site-section-head > p {
    margin-right: auto;
    margin-left: auto;
  }

  .work-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .site-hero-figure {
    order: 2;
    width: 100%;
    max-width: 22rem;
    margin: 0 auto;
  }

  .site-section-head {
    align-items: center;
    flex-direction: column;
    gap: 1rem;
  }

  .site-about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .site-about-points {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }

  .site-hero-copy,
  .site-section-head,
  .site-about-grid,
  .site-about-points {
    text-align: center;
  }

  .site-hero-lead,
  .site-section-head > p {
    margin-right: auto;
    margin-left: auto;
  }

  .site-actions,
  .site-hero-meta {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-container,
  .detail-container,
  .legal-container,
  .detail-footer,
  .legal-footer {
    width: calc(100% - 1.75rem);
  }

  .site-nav {
    gap: 1.2rem;
  }

  .site-header {
    padding: 1.2rem 0.875rem;
  }

  .site-hero {
    padding-top: 2.5rem;
  }

  .site-hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }

  .site-hero-meta {
    margin-top: 2.2rem;
  }

  .site-hero-meta span {
    padding-right: 0.9rem;
  }

  .site-hero-meta span + span {
    padding-left: 0.9rem;
  }

  .site-hero-frog {
    width: min(100%, 15rem);
  }

  .site-footer-main {
    align-items: center;
    flex-direction: column;
    gap: 0.8rem;
  }

  .site-footer-brand-group {
    align-items: center;
    gap: 0.6rem;
  }

  .site-footer-contact {
    align-items: center;
    flex-direction: column;
    gap: 0.6rem;
  }

  .site-footer-contact-row {
    align-items: center;
    flex-direction: column;
    gap: 0.6rem;
  }

  .site-footer {
    text-align: center;
  }

  .site-footer-item {
    min-height: 2rem;
  }

  .site-footer-copy {
    white-space: normal;
  }

  .detail-header {
    padding: 1.2rem 0.875rem;
  }

  .detail-title {
    font-size: clamp(2.1rem, 10vw, 2.8rem);
  }
}

/* 文章列表与详情 */
.article-page {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem;
}

.article-back {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  color: var(--site-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 200ms ease;
}

.article-back:hover {
  color: var(--site-cream);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 1rem;
  color: rgb(242 236 214 / 52%);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.article-lead {
  margin: 1.2rem 0 0;
  color: var(--site-muted);
  font-size: 1.02rem;
  line-height: 2;
}

.article-body {
  margin-top: 2rem;
}

.article-body h2 {
  margin-top: 2.4rem;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.article-note {
  margin-top: 2.4rem;
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--site-gold);
  background: rgb(242 236 214 / 5%);
}

.article-note p {
  margin: 0;
}

.article-related {
  margin-top: 2.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgb(242 236 214 / 14%);
}

.article-related h2 {
  margin: 0;
  color: var(--site-cream);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
}

.article-related ul {
  display: grid;
  gap: 0.55rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.article-related a {
  color: var(--site-gold);
  font-size: 0.9rem;
  line-height: 1.8;
  text-decoration: none;
}

.article-related a:hover {
  color: #fffce9;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.article-byline {
  margin: 0.7rem 0 0;
  color: rgb(242 236 214 / 52%);
  font-size: 0.78rem;
  line-height: 1.9;
}

.article-byline a {
  color: var(--site-gold);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.article-table {
  width: 100%;
  margin: 1.2rem 0;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.7;
}

.article-table th,
.article-table td {
  padding: 0.55rem 0.65rem;
  border: 1px solid rgb(242 236 214 / 20%);
  text-align: left;
  vertical-align: top;
}

.article-table th {
  background: rgb(220 233 168 / 12%);
  font-weight: 600;
}

.article-table caption {
  margin-bottom: 0.5rem;
  color: rgb(242 236 214 / 52%);
  font-size: 0.78rem;
  text-align: left;
}

