Skip to content

YurunChen/repo-docs-skills / docs

repo-docs

Flagged

Build and maintain a Markdown guide that helps humans understand a repository through real behavior, concepts, and evidence. Use when a user asks to understand a repo, generate or update repo-docs, answer repo-architecture/onboarding questions, seed docs for a new project, sync docs after code changes, or delete generated repo docs.

FileKindSize
.nojekyllother0 B
EXAMPLES.mdmarkdown33.1 KB
PAGE_RULES.mdmarkdown44.2 KB
QUALITY_RULES.mdmarkdown4.8 KB
README.mdmarkdown8.9 KB
README_CN.mdmarkdown8.6 KB
REFERENCE.mdmarkdown1.0 KB
ROOT_AGENT_RULES.mdmarkdown4.2 KB
SCOPE_MODES.mdmarkdown4.9 KB
SKILL.mdskill md12.4 KB
SYNC_RULES.mdmarkdown20.5 KB
WRITING.mdmarkdown15.0 KB
assets/gsap.min.jsscript70.7 KB
assets/logo.pngbinary284.0 KB
assets/main.pngbinary1.9 MB
assets/repo-docs-evidence-atlas.pngbinary2.1 MB
assets/repo-docs-pixel-kingdom.pngbinary2.6 MB
assets/repo-docs-pixel-workshop.pngbinary2.4 MB
assets/site.cssother63.7 KB
assets/site.jsscript38.6 KB
case-studies/aider.mdmarkdown1.2 KB
case-studies/bolt-diy.mdmarkdown1.2 KB
case-studies/generated/aider/repo-docs/README.mdmarkdown3.7 KB
case-studies/generated/aider/repo-docs/change-log.mdmarkdown1.4 KB
case-studies/generated/aider/repo-docs/code-map.mdmarkdown3.5 KB
case-studies/generated/aider/repo-docs/glossary.mdmarkdown3.3 KB
case-studies/generated/aider/repo-docs/modules/edit-lifecycle.mdmarkdown3.1 KB
case-studies/generated/aider/repo-docs/modules/session-assembly.mdmarkdown2.3 KB
case-studies/generated/aider/repo-docs/references/quality-review.mdmarkdown3.7 KB
case-studies/generated/aider/repo-docs/references/source-evidence.mdmarkdown13.0 KB
case-studies/generated/aider/repo-docs/walkthroughs/one-real-run.mdmarkdown10.4 KB
case-studies/generated/bolt-diy/repo-docs/README.mdmarkdown3.9 KB
case-studies/generated/bolt-diy/repo-docs/change-log.mdmarkdown1.5 KB
case-studies/generated/bolt-diy/repo-docs/code-map.mdmarkdown4.1 KB
case-studies/generated/bolt-diy/repo-docs/glossary.mdmarkdown3.5 KB
case-studies/generated/bolt-diy/repo-docs/modules/chat-api-contract.mdmarkdown5.5 KB
case-studies/generated/bolt-diy/repo-docs/modules/chat-stream.mdmarkdown2.7 KB
case-studies/generated/bolt-diy/repo-docs/modules/provider-model-selection.mdmarkdown2.8 KB
case-studies/generated/bolt-diy/repo-docs/references/quality-review.mdmarkdown3.2 KB
case-studies/generated/bolt-diy/repo-docs/references/source-evidence.mdmarkdown11.1 KB
case-studies/generated/bolt-diy/repo-docs/walkthroughs/one-real-run.mdmarkdown8.6 KB
case-studies/generated/tabby/repo-docs/README.mdmarkdown2.6 KB
case-studies/generated/tabby/repo-docs/change-log.mdmarkdown1.7 KB
case-studies/generated/tabby/repo-docs/code-map.mdmarkdown4.4 KB
case-studies/generated/tabby/repo-docs/glossary.mdmarkdown4.3 KB
case-studies/generated/tabby/repo-docs/modules/completion-contract.mdmarkdown9.6 KB
case-studies/generated/tabby/repo-docs/modules/completion-pipeline.mdmarkdown2.3 KB
case-studies/generated/tabby/repo-docs/modules/retrieval-context.mdmarkdown3.2 KB
case-studies/generated/tabby/repo-docs/references/quality-review.mdmarkdown3.2 KB
case-studies/generated/tabby/repo-docs/references/source-evidence.mdmarkdown10.2 KB
case-studies/generated/tabby/repo-docs/walkthroughs/one-real-run.mdmarkdown9.6 KB
case-studies/tabby.mdmarkdown1.2 KB
index.htmlother26.1 KB
scripts/validate_repo_docs.pyexecutablescript46.6 KB
validate_repo_docs.pyscript482 B

assets/site.css

View on GitHub
:root {
  color-scheme: light;
  --bg: oklch(0.988 0.003 258);
  --bg-deep: oklch(0.968 0.006 258);
  --surface: oklch(0.997 0.002 258);
  --surface-2: oklch(0.955 0.008 258);
  --surface-ink: oklch(0.19 0.038 258);
  --paper: oklch(0.996 0.002 258);
  --ink: oklch(0.21 0.042 258);
  --ink-soft: oklch(0.29 0.036 258);
  --muted: oklch(0.41 0.024 258);
  --line: oklch(0.87 0.012 258);
  --line-strong: oklch(0.73 0.02 258);
  --accent: oklch(0.35 0.09 258);
  --accent-soft: oklch(0.35 0.09 258 / 0.1);
  --accent-hover: oklch(0.28 0.095 258);
  --accent-warm: oklch(0.42 0.055 45);
  --highlight: oklch(0.945 0.016 258);
  --section-tint: oklch(0.974 0.006 258);
  --shadow-sm: 0 2px 8px oklch(0.21 0.042 258 / 0.05);
  --shadow: 0 10px 28px oklch(0.21 0.042 258 / 0.07);
  --shadow-lg: 0 18px 42px oklch(0.21 0.042 258 / 0.09);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --max: 1140px;
  --font-body: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Spectral", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --z-bg: 0;
  --z-content: 2;
  --z-nav: 40;
  --z-toast: 80;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  position: relative;
  min-width: 320px;
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 80% 50% at 100% -8%, oklch(0.35 0.09 258 / 0.055), transparent 52%),
    radial-gradient(ellipse 60% 40% at 0% 0%, oklch(0.42 0.055 45 / 0.04), transparent 48%),
    linear-gradient(180deg, var(--bg-deep) 0, var(--bg) 14rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, oklch(0.35 0.09 258 / 0.028), transparent 32rem);
}

main,
.site-nav,
.site-footer,
.pixel-toast,
.skip-link {
  position: relative;
  z-index: var(--z-content);
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

::selection {
  background: oklch(0.82 0.04 258);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid oklch(0.36 0.085 258 / 0.55);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.atlas-bg,
.aurora,
.sky-layer,
.star,
.horizon-glow,
.pixel-tiles,
.scanlines,
.hero-bloom {
  display: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: var(--z-toast);
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.pixel-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: var(--z-toast);
  max-width: min(360px, calc(100vw - 40px));
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-ink);
  color: var(--paper);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.pixel-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: 100%;
  padding: 16px clamp(18px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  background: oklch(0.988 0.003 258 / 0.9);
  backdrop-filter: blur(14px) saturate(1.2);
  transition: box-shadow 220ms var(--ease-out);
}

.site-nav.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.site-nav:not(.is-scrolled) {
  border-bottom-color: oklch(0.9 0.04 210 / 0.12);
  background: oklch(0.08 0.04 260 / 0.72);
  backdrop-filter: blur(14px) saturate(1.1);
}

.site-nav:not(.is-scrolled) .brand {
  color: oklch(0.97 0.01 258);
}

.site-nav:not(.is-scrolled) .nav-links a {
  color: oklch(0.8 0.025 240);
}

.site-nav:not(.is-scrolled) .nav-links a.is-active {
  color: oklch(0.98 0.012 98);
}

.site-nav:not(.is-scrolled) .nav-action {
  border-color: oklch(0.9 0.04 210 / 0.2);
  color: oklch(0.92 0.02 98);
  background: oklch(0.12 0.04 260 / 0.45);
}

.site-nav:not(.is-scrolled) .language-switch {
  border-color: oklch(0.9 0.04 210 / 0.18);
  background: oklch(0.12 0.04 260 / 0.55);
}

.site-nav:not(.is-scrolled) .language-switch button {
  color: oklch(0.78 0.025 240);
}

.site-nav:not(.is-scrolled) .language-switch button[aria-pressed="true"],
.site-nav:not(.is-scrolled) .language-switch button.is-active {
  background: oklch(0.18 0.04 260);
  color: oklch(0.96 0.012 98);
  box-shadow: none;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

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

.nav-links a,
.footer-links a,
.nav-action {
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a {
  position: relative;
  padding: 8px 12px;
}

.nav-links a::after {
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms var(--ease-out);
}

.nav-links a:hover,
.footer-links a:hover,
.nav-action:hover {
  color: var(--accent);
}

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

.nav-links a.is-active {
  color: var(--ink);
}

.nav-utility {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: end;
}

.language-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.language-switch button,
.button,
.case-tabs button,
.quest-chips button,
.tree-file {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.language-switch button {
  min-height: 32px;
  padding: 0 10px;
  border-radius: calc(var(--radius-sm) - 2px);
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.language-switch button[aria-pressed="true"],
.language-switch button.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px oklch(0.22 0.04 258 / 0.06);
}

.nav-action {
  padding: 8px 13px;
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-atlas {
  width: min(100%, var(--max));
  min-height: clamp(680px, calc(100svh - 70px), 860px);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 88px) clamp(20px, 4vw, 32px) clamp(32px, 6vw, 64px);
}

.hero-atlas--kingdom {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: none;
  min-height: max(720px, calc(100svh - 64px));
  margin: 0;
  padding: clamp(72px, 10vw, 120px) clamp(20px, 5vw, 48px) clamp(40px, 6vw, 64px);
  overflow: hidden;
  color: oklch(0.96 0.015 98);
  background:
    url("repo-docs-pixel-kingdom.png") center 38% / cover no-repeat,
    oklch(0.1 0.04 260);
}

.hero-atlas__veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(105deg, oklch(0.08 0.04 265 / 0.92) 0%, oklch(0.1 0.045 260 / 0.78) 42%, oklch(0.12 0.04 250 / 0.35) 68%, oklch(0.08 0.035 255 / 0.55) 100%),
    linear-gradient(180deg, oklch(0.06 0.03 260 / 0.5) 0%, transparent 34%, oklch(0.05 0.025 260 / 0.72) 100%);
  pointer-events: none;
}

.hero-atlas__content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-atlas--kingdom .hero-copy {
  max-width: 640px;
}

.hero-atlas--kingdom .eyebrow {
  color: oklch(0.78 0.08 200);
}

.hero-atlas--kingdom .eyebrow::after {
  background: linear-gradient(90deg, oklch(0.78 0.12 200), oklch(0.78 0.12 200 / 0.12));
}

.hero-atlas--kingdom h1,
.hero-atlas--kingdom h2,
.hero-atlas--kingdom h3 {
  color: oklch(0.98 0.012 98);
  max-width: none;
}

.hero-atlas--kingdom h1 {
  max-width: 14ch;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  letter-spacing: -0.03em;
}

html[lang="zh-CN"] .hero-atlas--kingdom h1 {
  max-width: 11em;
  letter-spacing: -0.02em;
}

.hero-atlas--kingdom .hero-pixel {
  color: oklch(0.82 0.12 78);
}

.hero-atlas--kingdom .hero-lead {
  color: oklch(0.86 0.028 230);
}

.hero-atlas--kingdom .hero-aside {
  max-width: 38ch;
  margin: 0 0 26px;
  color: oklch(0.78 0.06 200);
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-atlas--kingdom .hero-install {
  border-color: oklch(0.9 0.04 210 / 0.16);
  background: oklch(0.12 0.035 260 / 0.72);
  backdrop-filter: blur(12px);
}

.hero-atlas--kingdom .hero-install-top {
  border-bottom-color: oklch(0.9 0.04 210 / 0.12);
  color: oklch(0.72 0.03 230);
}

.hero-atlas--kingdom .hero-install pre {
  color: oklch(0.9 0.02 98);
  background: oklch(0.08 0.03 260 / 0.55);
}

.hero-atlas--kingdom .button-primary {
  background: oklch(0.78 0.13 200);
  color: oklch(0.12 0.04 260);
}

.hero-atlas--kingdom .button-primary:hover {
  background: oklch(0.82 0.14 165);
}

.hero-atlas--kingdom .button-secondary,
.hero-atlas--kingdom .button-copy {
  border-color: oklch(0.9 0.04 210 / 0.22);
  background: oklch(0.14 0.035 260 / 0.55);
  color: oklch(0.94 0.015 98);
}

.hero-atlas--kingdom .button-secondary:hover,
.hero-atlas--kingdom .button-copy:hover {
  border-color: oklch(0.78 0.13 200);
  color: oklch(0.78 0.13 200);
}

.agents-strip--hero {
  margin-top: 28px;
  padding: 0;
  border: 0;
}

.hero-atlas--kingdom .agents-strip--hero {
  margin-top: 32px;
}

.hero-atlas--kingdom .agents-label {
  color: oklch(0.68 0.03 230);
  font-size: 0.84rem;
  font-weight: 500;
}

.hero-atlas--kingdom .agents-strip li {
  color: oklch(0.78 0.02 98);
  font-size: 0.88rem;
  font-weight: 500;
}

.hero-atlas--kingdom .agents-strip li + li::before {
  color: oklch(0.48 0.03 230);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(400px, 1.12fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  position: relative;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 24px;
  padding-bottom: 18px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
}

.eyebrow::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), oklch(0.35 0.09 258 / 0.15));
  content: "";
}

.hero-copy {
  position: relative;
  min-width: 0;
}

.eyebrow-pip {
  display: none;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  letter-spacing: -0.03em;
}

.hero-serif,
.hero-pixel {
  display: block;
}

.hero-pixel {
  color: var(--accent-warm);
  font-style: italic;
  font-weight: 500;
}

.hero-lead {
  max-width: 42ch;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-install,
.contribute-panel,
.case-repo-tree,
.case-tabs,
.quest-advisor,
.quest-board,
.pixel-ledger {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.hero-install {
  max-width: 580px;
  overflow: hidden;
}

.hero-install-top,
.case-tree-head {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

pre {
  margin: 0;
}

.hero-install pre {
  padding: 16px;
  overflow-x: auto;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  background: var(--highlight);
}

.hero-install code {
  white-space: inherit;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition:
    background 160ms var(--ease-out),
    color 160ms var(--ease-out),
    border-color 160ms var(--ease-out);
}

.button:hover {
  transform: none;
}

.button-primary {
  background: var(--accent);
  color: var(--paper);
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.12) inset;
}

.button-primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-sm);
}

.button-secondary:hover,
.button-copy:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.button-secondary,
.button-copy {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.button-copy {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.86rem;
}

.hero-stage {
  display: grid;
  position: relative;
  gap: 0;
  min-width: 0;
  align-self: center;
}

.hero-map {
  position: relative;
  z-index: 1;
  aspect-ratio: 1.45 / 1;
  margin: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.hero-map::after {
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius-lg) - 6px);
  content: "";
  background: linear-gradient(180deg, transparent 58%, oklch(0.21 0.042 258 / 0.12));
  pointer-events: none;
}

.hero-map img {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
  object-fit: cover;
}

.hero-map--main {
  aspect-ratio: 16 / 9;
  padding: 12px;
  background: oklch(0.08 0.03 258);
}

.hero-map--main::after {
  display: none;
}

.hero-map--main img {
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.contrast-band {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto clamp(48px, 7vw, 72px);
  padding: clamp(48px, 7vw, 72px) 0;
  border-top: 1px solid var(--line);
}

.contrast-head {
  max-width: 52ch;
  margin-bottom: 32px;
}

.contrast-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.contrast-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.contrast-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: stretch;
}

.contrast-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.contrast-card ul {
  margin: 16px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.contrast-card li + li {
  margin-top: 8px;
}

.contrast-card--before {
  background: var(--highlight);
}

.contrast-tag {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
}

.contrast-tag--dim {
  color: var(--muted);
}

.contrast-tag--bright {
  color: var(--accent);
}

.contrast-bridge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
}

.contrast-bridge-line {
  display: block;
  width: 1px;
  height: 72%;
  min-height: 80px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
}

.contrast-bridge-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: var(--surface);
}

.case-section--featured {
  position: relative;
}

.case-section--featured::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: var(--section-tint);
  border-block: 1px solid var(--line);
  content: "";
}

.install-section--cta {
  position: relative;
  overflow: hidden;
}

.install-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 280px;
  background: radial-gradient(ellipse at 50% 0%, oklch(0.35 0.09 258 / 0.12), transparent 68%);
  pointer-events: none;
}

.button-copy-lg {
  min-height: 44px;
  padding: 0 16px;
}

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

  .contrast-bridge {
    min-height: 28px;
  }

  .contrast-bridge-line {
    width: 72%;
    height: 1px;
    min-height: 0;
  }
}

.map-hotspots {
  position: absolute;
  inset: 20px;
  z-index: 2;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: oklch(0.996 0.002 258 / 0.96);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 600;
  pointer-events: auto;
  text-decoration: none;
  transition:
    background 160ms var(--ease-out),
    color 160ms var(--ease-out),
    border-color 160ms var(--ease-out);
}

.hotspot:hover {
  border-color: var(--accent);
  background: var(--surface);
  color: var(--accent);
}

.hotspot-map { top: 14%; left: 9%; }
.hotspot-workshop { top: 42%; right: 10%; }
.hotspot-cases { top: 19%; right: 13%; }

.hero-evidence-stack {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(170px, 0.95fr) minmax(170px, 0.95fr);
  gap: 12px;
  align-items: stretch;
  min-width: 0;
  margin: -28px 20px 0;
}

.evidence-card {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.996 0.002 258 / 0.96);
  backdrop-filter: blur(8px);
  color: var(--ink);
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}

.evidence-card-main {
  border-color: var(--line-strong);
  background: var(--surface);
}

.evidence-card:nth-child(2),
.evidence-card:nth-child(3) {
  background: var(--highlight);
}

@media (hover: hover) {
  .evidence-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
  }
}

.evidence-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.evidence-card strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.evidence-card ul {
  margin: 0;
  padding-left: 1.15em;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.45;
}

.evidence-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.48;
}

.agents-strip,
.world-strip,
.section,
.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin-right: auto;
  margin-left: auto;
}

.agents-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: baseline;
  margin-top: 36px;
  padding: 0;
}

.agents-label,
.section-note,
.inventory-rarity,
.quest-board article span,
.case-tree-head span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.section-note {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

.inventory-rarity {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--highlight);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-style: italic;
  font-weight: 500;
}

.agents-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agents-strip li {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.agents-strip li + li::before {
  margin: 0 10px;
  color: var(--line-strong);
  content: "·";
}

.world-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  margin-bottom: clamp(64px, 8vw, 108px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.world-strip article {
  position: relative;
  padding: 28px clamp(18px, 3vw, 28px) 24px;
}

.world-strip article::before {
  position: absolute;
  top: 0;
  right: 20px;
  left: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), oklch(0.35 0.09 258 / 0.08) 72%, transparent);
  content: "";
  opacity: 0.55;
}

.world-strip article + article {
  border-left: 1px solid var(--line);
}

.world-strip span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 500;
}

.world-strip strong {
  display: block;
  max-width: 28ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.7vw, 1.38rem);
  font-weight: 600;
  line-height: 1.28;
}

.section {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  padding: clamp(72px, 9vw, 108px) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.case-section,
.install-section {
  position: relative;
}

.case-section::before,
.install-section::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: var(--section-tint);
  border-block: 1px solid var(--line);
  content: "";
}

.section-copy,
.workshop-copy,
.case-copy,
.quest-heading,
.install-copy {
  max-width: 68ch;
}

.section h2,
.quest-heading h2,
.path-section h2,
.install-copy h2,
.workshop-copy h2,
.case-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.05rem, 4.2vw, 3.5rem);
  letter-spacing: -0.025em;
}

.section h2::after,
.quest-heading h2::after,
.path-section h2::after,
.install-copy h2::after,
.workshop-copy h2::after,
.case-copy h2::after {
  display: block;
  width: 2.5rem;
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
  content: "";
}

.section p,
.workshop-copy > p,
.case-copy p,
.quest-heading p,
.install-copy p,
.loop-step p,
.inventory-card p,
.ledger-row span,
.case-markdown-content p,
.case-markdown-content li {
  color: var(--muted);
  text-wrap: pretty;
}

.map-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.86fr);
  align-items: start;
}

.map-section .section-copy {
  grid-column: 1;
}

.quest-chips button,
.case-tabs button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  transition:
    background 160ms var(--ease-out),
    color 160ms var(--ease-out);
}

.quest-chips button:hover,
.case-tabs button:hover,
.tree-file:hover {
  color: var(--accent);
}

.quest-chips button.is-active,
.case-tabs button.is-active {
  background: var(--accent-soft);
  color: var(--accent);
}

.pixel-ledger {
  grid-column: 2;
  overflow: hidden;
}

.ledger-row {
  display: grid;
  grid-template-columns: minmax(88px, 0.35fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  transition: background 160ms var(--ease-out);
}

.ledger-row + .ledger-row {
  border-top: 1px solid var(--line);
}

.ledger-row strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.ledger-row span {
  margin: 0;
}

.ledger-row.is-active,
.ledger-row:hover,
.ledger-row:focus-visible {
  background: var(--accent-soft);
}

.workshop-section {
  grid-template-columns: 1fr;
}

.workshop-art {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.workshop-art img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.inventory-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    transform 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    background 220ms var(--ease-out);
}

@media (hover: hover) {
  .inventory-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    background: var(--highlight);
  }
}

.inventory-meta {
  min-width: 0;
}

.inventory-icon {
  display: none;
}

.inventory-card h3 {
  margin: 0 0 8px;
  font-size: 1.22rem;
}

.inventory-card p {
  margin-bottom: 16px;
}

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

.inventory-stats div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.inventory-stats dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.inventory-stats dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 600;
}

.case-section {
  gap: 24px;
}

.case-copy {
  max-width: 72ch;
}

.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 7px;
}

.case-tabs button {
  flex: 1 1 220px;
}

.case-showcase {
  min-width: 0;
}

.case-repo-tree {
  overflow: hidden;
  background: var(--surface);
  border-color: var(--line-strong);
}

.case-tree-head {
  color: var(--muted);
}

.case-tree-head strong {
  min-width: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-tree-head a {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.case-tree-split {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  min-height: 640px;
}

.case-tree-pane {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
  background: var(--highlight);
  overflow: auto;
}

.tree-node {
  width: 100%;
  min-height: 32px;
  margin: 0;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  text-align: left;
}

.tree-root,
.tree-folder {
  display: flex;
  align-items: center;
  padding: 5px 8px;
  color: var(--muted);
  font-weight: 600;
}

.tree-folder {
  margin-top: 8px;
}

.tree-branch {
  margin-top: 6px;
}

.tree-file {
  display: flex;
  align-items: center;
  padding: 5px 8px;
  background: transparent;
}

.tree-leaf {
  padding-left: 22px;
}

.tree-file.is-active {
  background: var(--accent-soft);
  color: var(--accent);
}

.case-file-preview {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
}

.case-file-preview > span {
  display: block;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-file-content {
  min-height: 0;
  max-height: min(74vh, 820px);
  padding: 28px clamp(18px, 3vw, 36px);
  overflow: auto;
}

.case-markdown-content {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.68;
}

.case-markdown-content > div {
  max-width: 68ch;
}

.case-markdown-content h2,
.case-markdown-content h3,
.case-markdown-content h4,
.case-markdown-content h5 {
  margin: 1.35em 0 0.55em;
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.2;
}

.case-markdown-content h2:first-child,
.case-markdown-content h3:first-child {
  margin-top: 0;
}

.case-markdown-content h2 {
  font-size: 1.72rem;
  letter-spacing: -0.02em;
}

.case-markdown-content h3 {
  font-size: 1.28rem;
}

.case-markdown-content p,
.case-markdown-content ul,
.case-markdown-content ol,
.case-markdown-content table,
.case-markdown-content pre {
  margin: 0 0 1em;
}

.case-markdown-content p,
.case-markdown-content li {
  color: var(--ink-soft);
}

.case-markdown-content ul,
.case-markdown-content ol {
  padding-left: 1.3em;
}

.case-markdown-content a {
  color: var(--accent);
  font-weight: 600;
}

.case-markdown-content code {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--highlight);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 0.08em 0.32em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.case-markdown-content pre {
  max-width: 100%;
  overflow: auto;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface-ink);
  color: var(--paper);
  font-family: var(--font-mono);
}

.case-markdown-content pre code {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  white-space: pre;
}

.case-markdown-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-family: var(--font-body);
}

.case-markdown-content th,
.case-markdown-content td {
  padding: 9px 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.case-markdown-content th {
  background: var(--highlight);
  color: var(--ink);
}

.quest-section {
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
  align-items: start;
}

.quest-heading {
  grid-column: 1 / -1;
}

.quest-advisor {
  padding: 18px;
}

.quest-advisor > p {
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 600;
}

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

.quest-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.quest-board article {
  min-height: 160px;
  padding: 22px;
}

.quest-board article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.quest-board article:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.quest-board article.is-highlighted {
  background: var(--accent-soft);
}

.quest-board h3 {
  margin: 10px 0 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.015em;
}

.path-section {
  display: block;
}

.path-section h2 {
  max-width: 68ch;
}

.path-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--line);
  counter-reset: loop-step;
}

.loop-step {
  position: relative;
  padding: 24px 22px 22px;
  background: var(--surface);
  counter-increment: loop-step;
}

.loop-step::before {
  display: block;
  margin-bottom: 12px;
  color: oklch(0.35 0.09 258 / 0.45);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  content: counter(loop-step, decimal-leading-zero);
}

.loop-step strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
}

.loop-step p {
  margin: 0;
}

.install-section {
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.85fr);
  align-items: start;
}

.contribute-panel {
  --contribute-bg: #06070d;
  --contribute-bg-2: #0a0d18;
  --contribute-ink: #f3f5fb;
  --contribute-muted: #a8b0c4;
  --contribute-faint: #6f7890;
  --contribute-border: rgb(255 255 255 / 0.12);
  --contribute-border-lit: rgb(255 255 255 / 0.24);
  --contribute-blue: #5b94ff;
  --contribute-green: #1ed16f;
  position: relative;
  display: grid;
  gap: 18px;
  overflow: hidden;
  padding: 18px;
  border-color: var(--contribute-border);
  background:
    radial-gradient(circle at 18% 0%, rgb(91 148 255 / 0.2), transparent 38%),
    radial-gradient(circle at 100% 16%, rgb(30 209 111 / 0.14), transparent 32%),
    linear-gradient(180deg, rgb(255 255 255 / 0.055), rgb(255 255 255 / 0.025)),
    var(--contribute-bg-2);
  box-shadow:
    0 2px 6px rgb(0 0 0 / 0.36),
    0 26px 64px -30px rgb(0 0 0 / 0.9);
}

.contribute-panel::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1px),
    linear-gradient(135deg, rgb(255 255 255 / 0.08), transparent 42%);
  background-size: 28px 28px, auto;
  opacity: 0.42;
  content: "";
  pointer-events: none;
  mask-image: radial-gradient(110% 90% at 50% 0%, #000 16%, transparent 78%);
}

.contribute-panel-head,
.contribute-actions {
  position: relative;
}

.contribute-panel-head {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
  padding: 2px 2px 0;
  color: var(--contribute-ink);
}

.contribute-panel-head::before {
  display: block;
  width: 42px;
  height: 11px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 5px 50%, #ff5f57 0 4px, transparent 4.5px),
    radial-gradient(circle at 20px 50%, #febc2e 0 4px, transparent 4.5px),
    radial-gradient(circle at 35px 50%, #28c840 0 4px, transparent 4.5px);
  content: "";
}

.contribute-panel-head span {
  margin-right: auto;
  color: var(--contribute-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contribute-panel-head strong {
  margin-left: auto;
  padding-right: clamp(4px, 1vw, 12px);
  color: var(--contribute-ink);
  font-size: 0.98rem;
  font-weight: 700;
}

.contribute-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contribute-action {
  display: grid;
  min-height: 132px;
  align-content: space-between;
  padding: 20px;
  border: 1px solid var(--contribute-border);
  border-radius: calc(var(--radius-lg) - 4px);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.025)),
    rgb(6 7 13 / 0.72);
  color: var(--contribute-ink);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08);
  transition:
    transform 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    background 180ms var(--ease-out);
}

.contribute-action span {
  color: var(--contribute-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contribute-action strong {
  color: inherit;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.05;
}

.contribute-action::after {
  color: var(--contribute-green);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 800;
  content: "->";
  transition: transform 180ms var(--ease-out);
}

.contribute-action:hover {
  border-color: var(--contribute-border-lit);
  box-shadow:
    0 18px 46px -30px var(--contribute-green),
    inset 0 1px 0 rgb(255 255 255 / 0.12);
  transform: translateY(-2px);
}

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

.contribute-action--primary {
  border-color: rgb(91 148 255 / 0.72);
  background:
    radial-gradient(circle at 18% 0%, rgb(255 255 255 / 0.32), transparent 34%),
    linear-gradient(180deg, rgb(116 164 255 / 0.98), rgb(55 102 209 / 0.98));
  color: #04111f;
  box-shadow:
    0 18px 48px -24px rgb(91 148 255 / 0.9),
    inset 0 1px 0 rgb(255 255 255 / 0.44);
}

.contribute-action--primary span,
.contribute-action--primary::after {
  color: rgb(4 17 31 / 0.72);
}

.contribute-action--primary:hover {
  border-color: rgb(219 229 255 / 0.86);
  box-shadow:
    0 22px 54px -22px rgb(91 148 255 / 1),
    inset 0 1px 0 rgb(255 255 255 / 0.52);
}

.install-section--cta {
  --contribute-bg: #06070d;
  --contribute-ink: #f3f5fb;
  --contribute-muted: #a8b0c4;
  --contribute-faint: #6f7890;
  --contribute-border: rgb(255 255 255 / 0.1);
  --contribute-blue: #5b94ff;
  --contribute-green: #1ed16f;
  padding-inline: clamp(24px, 4vw, 52px);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-lg);
  box-shadow:
    0 2px 6px rgb(0 0 0 / 0.18),
    0 28px 70px -48px rgb(0 0 0 / 0.7);
  isolation: isolate;
}

.install-section.install-section--cta::before {
  inset: 0;
  background:
    radial-gradient(760px 360px at 72% 38%, rgb(91 148 255 / 0.18), transparent 68%),
    radial-gradient(560px 340px at 100% 64%, rgb(30 209 111 / 0.1), transparent 68%),
    radial-gradient(620px 380px at 0% 0%, rgb(122 43 255 / 0.13), transparent 72%),
    var(--contribute-bg);
  border: 0;
  border-radius: inherit;
}

.install-section--cta::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgb(255 255 255 / 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  border-radius: inherit;
  content: "";
  opacity: 0.38;
  pointer-events: none;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 24%, transparent 76%);
}

.install-section--cta .install-glow {
  inset: -24% -8% auto;
  height: 340px;
  background:
    radial-gradient(circle at 54% 20%, rgb(91 148 255 / 0.2), transparent 54%),
    radial-gradient(circle at 75% 40%, rgb(30 209 111 / 0.11), transparent 56%);
}

.install-section--cta .section-note {
  color: var(--contribute-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.install-section--cta .section-note::before {
  display: inline-block;
  width: 24px;
  height: 2px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--contribute-blue);
  vertical-align: middle;
  content: "";
}

.install-section--cta .install-copy h2 {
  color: var(--contribute-ink);
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.install-section--cta .install-copy p:not(.section-note) {
  color: var(--contribute-muted);
}

.site-footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 44px 0 56px;
  border-top: 1px solid var(--line-strong);
}

.footer-links a {
  position: relative;
  padding: 6px 0;
  text-decoration: none;
}

.footer-links a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentcolor;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms var(--ease-out);
}

.footer-links a:hover::after {
  transform: scaleX(1);
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.footer-links {
  justify-content: flex-end;
}

html[data-active-lang="zh"] body {
  font-family: "Source Sans 3", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

html[data-active-lang="zh"] h1 {
  max-width: 7em;
  font-size: clamp(2.5rem, 5.8vw, 4.2rem);
  letter-spacing: -0.02em;
}

html[data-active-lang="zh"] .section p,
html[data-active-lang="zh"] .workshop-copy > p,
html[data-active-lang="zh"] .case-copy p,
html[data-active-lang="zh"] .quest-heading p,
html[data-active-lang="zh"] .install-copy p {
  line-height: 1.78;
}

html[data-active-lang="zh"] .install-section--cta .install-copy h2 {
  font-size: clamp(2.15rem, 3.6vw, 3.6rem);
  line-height: 1.1;
  word-break: keep-all;
}

@media (max-width: 1060px) {
  .site-nav {
    grid-template-columns: auto auto;
    gap: 14px;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .map-section,
  .workshop-section,
  .quest-section,
  .install-section {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 0;
  }

  .hero-evidence-stack {
    margin: 16px 0 0;
  }

  .pixel-ledger {
    grid-column: auto;
    grid-row: auto;
  }

  .case-tree-split {
    grid-template-columns: 1fr;
  }

  .case-tree-pane {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    max-height: 300px;
  }

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

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .site-nav {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 12px 16px;
  }

  .brand span {
    display: none;
  }

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

  .nav-action {
    display: none;
  }

  .language-switch button {
    min-height: 30px;
    padding: 0 8px;
  }

  .hero-atlas--kingdom {
    min-height: auto;
    padding: 56px 20px 40px;
  }

  .hero-atlas--kingdom .hero-copy {
    max-width: 100%;
  }

  .hero-atlas {
    min-height: 0;
    padding: 44px 20px 40px;
  }

  .hero-grid,
  .hero-copy,
  .hero-install,
  .contribute-panel,
  .hero-stage,
  .hero-map,
  .hero-evidence-stack,
  .evidence-card {
    min-width: 0;
    max-width: 100%;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .hero-lead {
    font-size: 1.06rem;
  }

  .contribute-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .contribute-actions {
    grid-template-columns: 1fr;
  }

  .contribute-action {
    min-height: 108px;
  }

  .hero-stage {
    display: grid;
    gap: 12px;
    min-height: 0;
  }

  .hero-map {
    position: relative;
    inset: auto;
    aspect-ratio: 1 / 0.82;
  }

  .hero-evidence-stack {
    position: relative;
    grid-template-columns: 1fr;
    margin: 12px 0 0;
  }

  .evidence-card {
    padding: 13px 14px;
  }

  .map-hotspots {
    display: none;
  }

  .agents-strip,
  .world-strip,
  .section,
  .site-footer {
    width: min(calc(100% - 32px), var(--max));
  }

  .world-strip {
    grid-template-columns: 1fr;
  }

  .world-strip article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 52px 0;
  }

  .section h2,
  .quest-heading h2,
  .path-section h2,
  .install-copy h2,
  .workshop-copy h2,
  .case-copy h2 {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .inventory-grid,
  .quest-board,
  .path-track {
    grid-template-columns: 1fr;
  }

  .quest-board article:nth-child(odd) {
    border-right: 0;
  }

  .quest-board article + article {
    border-top: 1px solid var(--line);
  }

  .case-tree-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-tree-head strong {
    white-space: normal;
  }

  .case-file-content {
    max-height: none;
  }

  .case-markdown-content pre {
    overflow-x: hidden;
  }

  .case-markdown-content pre code {
    white-space: pre-wrap;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Reference-inspired full-site skin. */
:root {
  color-scheme: dark;
  --bg: #06070d;
  --bg-deep: #090b15;
  --surface: rgb(255 255 255 / 0.045);
  --surface-2: rgb(255 255 255 / 0.075);
  --surface-ink: #0a0c16;
  --paper: #0a0c16;
  --ink: #f3f5fb;
  --ink-soft: #cdd6e8;
  --muted: #a8b0c4;
  --line: rgb(255 255 255 / 0.1);
  --line-strong: rgb(255 255 255 / 0.22);
  --accent: #5b94ff;
  --accent-soft: rgb(91 148 255 / 0.14);
  --accent-hover: #78aaff;
  --accent-warm: #ffb13d;
  --highlight: rgb(91 148 255 / 0.08);
  --section-tint: rgb(255 255 255 / 0.025);
  --shadow-sm: 0 10px 30px -22px rgb(0 0 0 / 0.95);
  --shadow: 0 2px 6px rgb(0 0 0 / 0.36), 0 26px 64px -30px rgb(0 0 0 / 0.9);
  --shadow-lg: 0 28px 76px -34px rgb(0 0 0 / 0.95);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background:
    radial-gradient(760px 760px at -120px -220px, rgb(39 77 255 / 0.32), transparent 64%),
    radial-gradient(680px 680px at calc(100% + 180px) -160px, rgb(122 43 255 / 0.26), transparent 64%),
    radial-gradient(620px 620px at 42% 36%, rgb(11 176 201 / 0.12), transparent 68%),
    linear-gradient(180deg, #070813 0, #06070d 34rem),
    #06070d;
  color: var(--ink);
}

body::before {
  background:
    radial-gradient(rgb(255 255 255 / 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.42;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 20%, transparent 76%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.04), transparent 24rem),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.04;
  pointer-events: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
}

.site-nav,
.site-nav:not(.is-scrolled) {
  border-bottom-color: var(--line);
  background: rgb(8 9 16 / 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: none;
}

.site-nav.is-scrolled {
  background: rgb(8 9 16 / 0.82);
  box-shadow: 0 14px 40px -30px rgb(0 0 0 / 0.95);
}

.brand,
.footer-brand,
.site-nav:not(.is-scrolled) .brand {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
}

.brand img {
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px -18px var(--accent);
}

.nav-links a,
.footer-links a,
.nav-action,
.site-nav:not(.is-scrolled) .nav-links a,
.site-nav:not(.is-scrolled) .nav-action {
  color: var(--muted);
}

.nav-links a.is-active,
.nav-links a:hover,
.footer-links a:hover,
.nav-action:hover,
.site-nav:not(.is-scrolled) .nav-links a.is-active {
  color: var(--ink);
}

.nav-links a::after {
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.language-switch,
.site-nav:not(.is-scrolled) .language-switch,
.nav-action,
.site-nav:not(.is-scrolled) .nav-action {
  border-color: var(--line);
  background: var(--surface);
}

.language-switch button,
.site-nav:not(.is-scrolled) .language-switch button {
  color: var(--muted);
}

.language-switch button[aria-pressed="true"],
.language-switch button.is-active,
.site-nav:not(.is-scrolled) .language-switch button[aria-pressed="true"],
.site-nav:not(.is-scrolled) .language-switch button.is-active {
  background: rgb(255 255 255 / 0.12);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08);
}

.hero-atlas--kingdom {
  min-height: max(740px, calc(100svh - 64px));
  background:
    url("repo-docs-pixel-kingdom.png") center 38% / cover no-repeat,
    #080a13;
}

.hero-atlas__veil {
  background:
    radial-gradient(760px 440px at 76% 34%, rgb(91 148 255 / 0.2), transparent 70%),
    radial-gradient(560px 360px at 100% 54%, rgb(30 209 111 / 0.1), transparent 70%),
    linear-gradient(105deg, rgb(6 7 13 / 0.94) 0%, rgb(8 10 19 / 0.82) 42%, rgb(8 10 19 / 0.4) 72%, rgb(6 7 13 / 0.75) 100%),
    linear-gradient(180deg, rgb(6 7 13 / 0.5), transparent 36%, rgb(6 7 13 / 0.82));
}

.hero-atlas--kingdom .eyebrow,
.section-note {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-atlas--kingdom .eyebrow::after {
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-atlas--kingdom h1 {
  max-width: 13ch;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.hero-atlas--kingdom .hero-pixel,
.hero-pixel {
  color: var(--accent-hover);
  font-style: normal;
}

.hero-atlas--kingdom .hero-lead,
.hero-atlas--kingdom .hero-aside {
  color: var(--muted);
}

.hero-install,
.contribute-panel,
.case-repo-tree,
.case-tabs,
.quest-advisor,
.quest-board,
.pixel-ledger,
.contrast-card,
.world-strip,
.inventory-card,
.path-track,
.workshop-art {
  border-color: var(--line);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.025)),
    rgb(10 12 22 / 0.72);
  box-shadow: var(--shadow);
}

.hero-atlas--kingdom .hero-install {
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.03)),
    rgb(10 12 22 / 0.74);
  box-shadow: var(--shadow);
}

.hero-install-top,
.case-tree-head {
  border-bottom-color: var(--line);
  color: var(--muted);
}

.hero-install-top::before,
.case-tree-head::before {
  display: block;
  width: 42px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 999px;
  background:
    radial-gradient(circle at 5px 50%, #ff5f57 0 4px, transparent 4.5px),
    radial-gradient(circle at 20px 50%, #febc2e 0 4px, transparent 4.5px),
    radial-gradient(circle at 35px 50%, #28c840 0 4px, transparent 4.5px);
  content: "";
}

.hero-install-top .install-prompt-label,
.case-tree-head span {
  margin-right: auto;
}

.hero-install pre,
.hero-atlas--kingdom .hero-install pre {
  color: var(--ink-soft);
  background: rgb(6 7 13 / 0.68);
}

.button {
  border-radius: 13px;
}

.button-primary,
.hero-atlas--kingdom .button-primary {
  background: linear-gradient(180deg, #ffffff, #dce7ff);
  color: #04111f;
  box-shadow: 0 10px 34px -10px rgb(120 170 255 / 0.68), inset 0 1px 0 rgb(255 255 255 / 0.8);
}

.button-primary:hover,
.hero-atlas--kingdom .button-primary:hover {
  background: linear-gradient(180deg, #ffffff, #cddcff);
  color: #04111f;
  box-shadow: 0 16px 42px -12px rgb(120 170 255 / 0.95);
}

.button-secondary,
.button-copy,
.hero-atlas--kingdom .button-secondary,
.hero-atlas--kingdom .button-copy {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.button-secondary:hover,
.button-copy:hover,
.hero-atlas--kingdom .button-secondary:hover,
.hero-atlas--kingdom .button-copy:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
  color: var(--ink);
}

.agents-strip--hero,
.world-strip,
.section,
.site-footer {
  color: var(--ink);
}

.hero-atlas--kingdom .agents-label,
.hero-atlas--kingdom .agents-strip li,
.agents-label,
.world-strip span,
.section p,
.workshop-copy > p,
.case-copy p,
.quest-heading p,
.install-copy p,
.loop-step p,
.inventory-card p,
.ledger-row span,
.case-markdown-content p,
.case-markdown-content li {
  color: var(--muted);
}

.contrast-band {
  border-top-color: var(--line);
}

.contrast-card--before {
  background:
    linear-gradient(180deg, rgb(255 177 61 / 0.08), rgb(255 255 255 / 0.025)),
    rgb(10 12 22 / 0.72);
}

.contrast-card--after,
.contrast-card--after .contrast-tag {
  color: var(--ink);
}

.contrast-tag--bright,
.contrast-bridge-node,
.contrast-bridge-line {
  color: var(--accent);
}

.contrast-bridge-line {
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
}

.contrast-bridge-node {
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 28px rgb(91 148 255 / 0.48);
}

.world-strip {
  border-radius: var(--radius-lg);
}

.world-strip article::before {
  background: linear-gradient(90deg, var(--accent), rgb(45 212 238 / 0.48), transparent);
}

.world-strip strong,
.section h2,
.quest-heading h2,
.path-section h2,
.install-copy h2,
.workshop-copy h2,
.case-copy h2,
.ledger-row strong,
.inventory-card h3,
.quest-board h3,
.loop-step strong,
.case-tree-head strong,
.case-markdown-content h2,
.case-markdown-content h3,
.case-markdown-content h4,
.case-markdown-content h5 {
  color: var(--ink);
}

.section + .section {
  border-top-color: var(--line);
}

.case-section::before,
.install-section::before {
  background:
    radial-gradient(760px 420px at 16% 0%, rgb(91 148 255 / 0.08), transparent 70%),
    rgb(255 255 255 / 0.018);
  border-block-color: var(--line);
}

.section h2::after,
.quest-heading h2::after,
.path-section h2::after,
.install-copy h2::after,
.workshop-copy h2::after,
.case-copy h2::after {
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.quest-chips button,
.case-tabs button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
}

.quest-chips button:hover,
.case-tabs button:hover,
.tree-file:hover {
  color: var(--ink);
}

.quest-chips button.is-active,
.case-tabs button.is-active,
.tree-file.is-active {
  border-color: rgb(91 148 255 / 0.36);
  background: var(--accent-soft);
  color: var(--ink);
}

.pixel-ledger {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.024)),
    rgb(10 12 22 / 0.72);
}

.ledger-row + .ledger-row,
.inventory-stats div,
.case-tree-pane,
.case-file-preview > span,
.quest-board article:nth-child(odd),
.quest-board article:nth-child(n + 3),
.loop-step + .loop-step {
  border-color: var(--line);
}

.ledger-row.is-active,
.ledger-row:hover,
.ledger-row:focus-visible {
  background: var(--accent-soft);
}

.inventory-card {
  position: relative;
  overflow: hidden;
}

.inventory-card::before {
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 20% 0%, var(--card-glow, rgb(91 148 255 / 0.2)), transparent 42%);
  content: "";
  opacity: 0.75;
  pointer-events: none;
}

.inventory-card:nth-child(1) { --card-glow: rgb(91 148 255 / 0.24); }
.inventory-card:nth-child(2) { --card-glow: rgb(45 212 238 / 0.2); }
.inventory-card:nth-child(3) { --card-glow: rgb(30 209 111 / 0.18); }
.inventory-card:nth-child(4) { --card-glow: rgb(255 177 61 / 0.18); }

.inventory-card > * {
  position: relative;
}

@media (hover: hover) {
  .inventory-card:hover {
    border-color: var(--line-strong);
    background:
      linear-gradient(180deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.035)),
      rgb(10 12 22 / 0.78);
    box-shadow: 0 28px 64px -36px var(--card-glow, rgb(91 148 255 / 0.62));
  }
}

.inventory-stats dt,
.inventory-stats dd,
.quest-board article span,
.case-tree-head a {
  color: var(--accent-hover);
}

.case-tree-pane {
  background: rgb(6 7 13 / 0.58);
}

.tree-node {
  color: var(--ink-soft);
}

.tree-root,
.tree-folder {
  color: var(--muted);
}

.case-file-preview {
  background: rgb(6 7 13 / 0.82);
  color: var(--ink);
}

.case-file-preview > span {
  color: var(--muted);
  background: rgb(14 17 32 / 0.74);
}

.case-file-content {
  background:
    radial-gradient(640px 280px at 78% 0%, rgb(91 148 255 / 0.08), transparent 70%),
    rgb(6 7 13 / 0.52);
}

.case-markdown-content {
  color: var(--ink);
  font-family: var(--font-body);
}

.case-markdown-content code {
  border-color: var(--line);
  background: rgb(255 255 255 / 0.07);
  color: var(--ink-soft);
}

.case-markdown-content pre {
  border: 1px solid var(--line);
  background: #0a0c16;
  color: #cdd6e8;
}

.case-markdown-content th {
  background: rgb(91 148 255 / 0.1);
}

.quest-advisor,
.quest-board {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.024)),
    rgb(10 12 22 / 0.72);
}

.quest-advisor > p {
  color: var(--ink);
}

.quest-board article.is-highlighted {
  background:
    radial-gradient(circle at 20% 0%, rgb(91 148 255 / 0.22), transparent 48%),
    rgb(91 148 255 / 0.08);
}

.path-track {
  gap: 0;
  border-color: var(--line);
  background: rgb(255 255 255 / 0.04);
}

.loop-step {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.024)),
    rgb(10 12 22 / 0.72);
}

.loop-step::before {
  color: rgb(91 148 255 / 0.62);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.install-section--cta {
  border-color: var(--line);
}

.site-footer {
  border-top-color: var(--line);
}

.footer-links a::after {
  background: var(--accent);
}

@media (max-width: 760px) {
  .hero-atlas--kingdom h1 {
    letter-spacing: -0.035em;
  }

  .hero-install-top::before,
  .case-tree-head::before {
    display: none;
  }

  .install-section--cta {
    padding-inline: 22px;
  }
}

/* Unified motion and dense reference layout. */
:root {
  --max: 1280px;
  --motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-fast: 180ms;
  --motion-base: 280ms;
  --motion-slow: 640ms;
  --section-y: clamp(56px, 7vw, 88px);
  --section-gap: clamp(28px, 4.8vw, 64px);
  --hover-rise: -4px;
}

html {
  scroll-padding-top: 86px;
}

.hero-atlas--kingdom {
  min-height: clamp(620px, calc(100svh - 64px), 760px);
}

.section {
  gap: var(--section-gap);
  padding: var(--section-y) 0;
}

.world-strip {
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-note {
  margin-bottom: 10px;
  line-height: 1.2;
}

.section p:not(.section-note),
.workshop-copy > p:not(.section-note),
.case-copy p:not(.section-note),
.quest-heading p:not(.section-note),
.install-copy p:not(.section-note) {
  max-width: 68ch;
}

.button,
.button-primary,
.button-secondary,
.button-copy,
.nav-action,
.language-switch button,
.quest-chips button,
.case-tabs button,
.ledger-row,
.inventory-card,
.loop-step,
.contribute-action {
  transition-timing-function: var(--motion-ease);
}

.map-section {
  grid-template-columns: minmax(320px, 0.78fr) minmax(440px, 1fr);
  align-items: center;
}

.pixel-ledger {
  align-self: stretch;
}

.ledger-row {
  min-height: 98px;
  align-items: center;
  transition:
    transform var(--motion-base) var(--motion-ease),
    background var(--motion-base) var(--motion-ease);
}

.workshop-copy {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: 18px var(--section-gap);
  align-items: start;
}

.workshop-copy .section-note,
.workshop-copy h2,
.workshop-copy > p:not(.section-note) {
  grid-column: 1;
}

.workshop-copy .inventory-grid {
  grid-column: 2;
  grid-row: 1 / span 4;
  margin-top: 0;
}

.inventory-card {
  min-height: 190px;
}

.inventory-stats {
  margin-top: auto;
}

.case-section {
  gap: 18px;
}

.case-copy {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: 14px var(--section-gap);
  align-items: end;
}

.case-copy .section-note,
.case-copy h2 {
  grid-column: 1;
}

.case-copy p:not(.section-note) {
  grid-column: 2;
  grid-row: 2;
  margin-bottom: 0;
}

.case-tabs {
  margin-top: -2px;
}

.case-tabs {
  gap: 0;
  padding: 0 10px;
}

.case-tabs button {
  position: relative;
  min-height: 56px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.case-tabs button + button {
  border-left: 1px solid rgb(255 255 255 / 0.06);
}

.case-tabs button::after {
  position: absolute;
  right: 24px;
  bottom: 8px;
  left: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}

.case-tabs button.is-active {
  border-color: transparent;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.case-tabs button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.case-showcase,
.case-repo-tree {
  width: 100%;
}

.case-tree-split {
  min-height: min(68vh, 620px);
}

.quest-section {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px var(--section-gap);
}

.quest-heading {
  grid-column: 1;
  grid-row: 1 / span 2;
  max-width: 36ch;
}

.quest-advisor,
.quest-board {
  grid-column: 2;
}

.quest-advisor {
  grid-row: 1;
}

.quest-board {
  grid-row: 2;
}

.quest-board article {
  min-height: 150px;
}

.install-section--cta {
  grid-template-columns: minmax(320px, 0.78fr) minmax(440px, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 84px);
  padding-inline: clamp(40px, 6vw, 92px);
}

.install-section--cta .install-copy {
  max-width: 40ch;
}

.install-section--cta .install-copy h2 {
  font-size: clamp(2.35rem, 4.2vw, 4.25rem);
  line-height: 1.04;
}

.contribute-panel {
  align-self: center;
  width: min(100%, 560px);
  min-height: 0;
  justify-self: end;
}

.install-section--cta .contribute-panel {
  margin-right: clamp(8px, 1.8vw, 28px);
}

.contribute-actions {
  min-height: 0;
}

@media (hover: hover) {
  .button:hover,
  .nav-action:hover,
  .inventory-card:hover,
  .loop-step:hover,
  .contribute-action:hover {
    transform: translateY(var(--hover-rise));
  }

  .ledger-row:hover,
  .ledger-row:focus-visible {
    transform: translateX(5px);
  }

  .quest-chips button:hover,
  .case-tabs button:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .case-repo-tree.is-active {
    animation: panel-rise var(--motion-slow) var(--motion-ease) both;
  }
}

@keyframes panel-rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.992);
  }

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

@media (max-width: 1060px) {
  .hero-atlas--kingdom {
    min-height: auto;
  }

  .map-section,
  .workshop-copy,
  .quest-section,
  .install-section--cta {
    grid-template-columns: 1fr;
  }

  .workshop-copy .section-note,
  .workshop-copy h2,
  .workshop-copy > p:not(.section-note),
  .workshop-copy .inventory-grid,
  .case-copy .section-note,
  .case-copy h2,
  .case-copy p:not(.section-note),
  .quest-heading,
  .quest-advisor,
  .quest-board {
    grid-column: auto;
    grid-row: auto;
  }

  .case-copy {
    grid-template-columns: 1fr;
  }

  .workshop-copy .inventory-grid {
    margin-top: 10px;
  }

  .quest-heading,
  .install-section--cta .install-copy {
    max-width: 68ch;
  }

  .contribute-panel {
    width: 100%;
    min-height: 0;
    justify-self: stretch;
    margin-right: 0;
  }
}

.site-footer {
  gap: clamp(18px, 3vw, 36px);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.footer-links a {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.035);
  color: rgb(223 228 240 / 0.82);
  font-size: 0.9rem;
  line-height: 1.1;
  text-decoration: none;
  transition:
    color var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) var(--motion-ease),
    background var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}

.footer-links a::after {
  display: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  border-color: rgb(91 148 255 / 0.42);
  background: rgb(91 148 255 / 0.12);
  color: var(--ink);
  transform: translateY(-1px);
}

.contribute-panel {
  grid-template-rows: auto auto;
  gap: 14px;
  padding: clamp(16px, 2vw, 22px);
  border-radius: 18px;
}

.contribute-panel-head {
  min-height: 28px;
  padding: 0;
}

.contribute-panel-head strong {
  max-width: 18ch;
  padding-right: 0;
  line-height: 1.15;
  text-align: right;
  text-wrap: balance;
}

.contribute-actions {
  gap: 10px;
}

.contribute-action {
  min-height: 116px;
  padding: 18px;
  border-radius: 14px;
}

.contribute-action strong {
  font-size: clamp(1.25rem, 1.65vw, 1.58rem);
}

.contribute-action::after {
  font-size: 0.86rem;
}

html[data-active-lang="zh"] .footer-links a {
  font-size: 0.92rem;
}

html[data-active-lang="zh"] .contribute-panel-head strong {
  max-width: 8em;
}

html[data-active-lang="zh"] .install-section--cta .install-copy h2 {
  max-width: 9.5em;
  font-size: clamp(2.05rem, 3.25vw, 3.25rem);
  line-height: 1.12;
  text-wrap: balance;
}

@media (max-width: 1060px) {
  .contribute-panel {
    align-self: stretch;
  }
}

@media (max-width: 760px) {
  .site-footer {
    align-items: flex-start;
  }

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

  .contribute-panel-head {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contribute-panel-head span {
    margin-right: 0;
  }

  .contribute-panel-head strong {
    width: 100%;
    max-width: none;
    margin-left: 0;
    text-align: left;
  }
}

@media (max-width: 760px) {
  :root {
    --section-y: 50px;
    --section-gap: 24px;
  }

  .section p:not(.section-note),
  .workshop-copy > p:not(.section-note),
  .case-copy p:not(.section-note),
  .quest-heading p:not(.section-note),
  .install-copy p:not(.section-note) {
    max-width: none;
  }

  .inventory-card,
  .quest-board article {
    min-height: 0;
  }

  .case-tree-split {
    min-height: 0;
  }
}
rea-changelog-updatemorluto/reaPrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
academy-guideanthropics/skillsStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
claude-apianthropics/skillsReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).Stars: 198kUpdated Claude CodeCodexUnverifiedInstall
doc-coauthoringanthropics/skillsGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.Stars: 198kUpdated Claude CodeCodexVerifiedInstall