/* Generated by scripts/generate.py; edit the source stylesheets. */

/* Source: studio.css */
:root {
  --paper: #f3f0e8;
  --ink: #1c1b18;
  --muted: #68645c;
  --line: #d7d1c4;
  --gold: #b08a4a;
  --gold-text: #785927;
  --gold-light: #dfc797;
  --orange: #f1783d;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 14px/1.8 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
}
h1,
h2 {
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.22;
}
h2 {
  font-size: clamp(36px, 3.9vw, 56px);
}
h3 {
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.5;
}
em {
  color: var(--gold-light);
  font-style: normal;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 10px 20px;
  background: var(--paper);
}
.skip-link:focus {
  top: 14px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 76px;
  background: rgba(243, 240, 232, 0.95);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.brand strong {
  font: 800 26px var(--serif);
  letter-spacing: -0.07em;
}
.brand small {
  border-left: 1px solid var(--line);
  padding-left: 13px;
  margin-left: 6px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 600;
}
.site-nav a {
  position: relative;
  white-space: nowrap;
}
.site-nav a:not(.nav-download)::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.site-nav a:hover::after,
.site-nav a[aria-current]::after {
  transform: scaleX(1);
}
.nav-download {
  padding: 8px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.nav-download span {
  display: inline-block;
  margin-left: 14px;
  transition: transform 0.2s;
}
.nav-download:hover span {
  transform: translate(2px, 2px);
}
.ink {
  background: var(--ink);
  color: var(--paper);
}
.ink p {
  color: #b8b3a7;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-bottom: 26px;
}
.eyebrow > span {
  color: var(--gold-text);
  margin-right: 8px;
}
.ink .eyebrow,
.ink .eyebrow > span {
  color: var(--gold-light);
}
.tiny-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.button {
  min-height: 50px;
  padding: 12px 25px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  border: 1px solid var(--gold);
  font-weight: 600;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.button span,
.text-link span {
  display: inline-block;
  transition: transform 0.2s;
}
.button:hover span {
  transform: translate(3px, 3px);
}
.primary {
  color: #201c15;
  background: var(--gold-light);
}
.primary:hover {
  background: #efd7a8;
  border-color: #efd7a8;
}
.text-link {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  padding-block: 8px;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}
.text-link:hover span {
  transform: translate(3px, -3px);
}
.actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-footer {
  background: var(--ink);
  color: #b2a792;
  padding-block: 35px;
  font-size: 10px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.footer-row > div {
  display: flex;
  gap: 24px;
}
.footer-row .brand {
  color: var(--paper);
}
.footer-row .brand img {
  width: 30px;
  height: 30px;
}
.footer-row .brand strong {
  font-size: 21px;
}

.footer-registration {
  margin-top: 18px;
  text-align: right;
  font-size: 12px;
}

/* Source: studio-hero.css */
.hero {
  position: relative;
  overflow: clip;
  background: #f6f3ec;
  padding-top: 24px;
}
.hero-heading {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}
.hero h1 {
  font-size: clamp(54px, 5.7vw, 82px);
  letter-spacing: -0.04em;
  line-height: 1.14;
}
.hero h1 em { color: #806239; }
.release-link {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 7px;
  padding-bottom: 10px;
  color: #62594b;
  font-size: 11px;
}
.release-link span { color: #806239; }
.hero-toolbar {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: start;
  gap: 44px;
  margin-top: 25px;
  position: relative;
  z-index: 8;
}
.hero-intro p {
  font-size: 14px;
  color: #5b564c;
  line-height: 1.85;
}
.hero-foot {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  color: #6a6255;
  font-size: 10px;
}
.chapter-strip {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  min-height: 62px;
  border-top: 1px solid #d8d0c1;
  font-size: 11px;
}
.chapter-strip > a { font-weight: 600; }
.chapter-strip > a span { margin-left: 35px; }
.chapter-strip > div { display: flex; gap: 32px; color: #635b4e; }
.chapter-strip a:hover { color: #806239; }
@media (max-width: 1150px) {
  .hero-toolbar { grid-template-columns: 1fr 1.1fr; gap: 24px; }
  .hero-intro p { font-size: 12px; }
  .hero-foot { gap: 12px; font-size: 9px; }
  .release-link { padding-bottom: 6px; }
}

/* Source: studio-writing.css */
.section {
  padding-block: 108px;
  scroll-margin-top: 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 50px;
}
.section-intro {
  color: var(--muted);
  font-size: 13px;
  padding-bottom: 6px;
  line-height: 2;
}
.scene-switcher {
  border-top: 1px solid var(--line);
}
.scene-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 30px;
}
.scene-tabs button {
  position: relative;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  margin-right: 35px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 12px;
  color: var(--muted);
}
.scene-tabs button:last-child {
  margin-right: 0;
}
.scene-tabs button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.scene-tabs button > span {
  font: 11px monospace;
  color: var(--gold-text);
}
.ink .scene-tabs button > span {
  color: var(--gold-light);
}
.scene-panel {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 36px;
}
.scene-panel .screen-link {
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 20px 55px #51473715;
}
.scene-copy .tiny-label {
  margin-bottom: 25px;
}
.scene-copy h3 {
  font-size: 29px;
  line-height: 1.5;
}
.scene-copy p {
  margin-block: 20px;
  color: var(--muted);
  font-size: 13px;
}
.rewrite-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: start;
}
.rewrite-copy {
  position: sticky;
  top: 115px;
}
.rewrite-copy > p:not(.eyebrow) {
  margin-block: 26px;
  font-size: 13px;
  line-height: 2;
}
.rewrite-copy .text-link {
  color: var(--gold-light);
}
.independent-note {
  margin-top: 50px;
  border-top: 1px solid #4a4235;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 11px;
}
.independent-note > span {
  width: 100%;
  margin-bottom: 8px;
  color: #998e7a;
}
.independent-note p {
  font-size: 10px;
  margin-top: 12px;
}
.rewrite-story {
  min-width: 0;
}
.ink .tiny-label {
  color: #a99b84;
}
.story-steps {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}
.story-steps li {
  border-top: 1px solid #494237;
}
.story-steps li:last-child {
  border-bottom: 1px solid #494237;
}
.story-steps button {
  width: 100%;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 30px 1fr 20px;
  align-items: start;
  gap: 15px;
  text-align: left;
  padding: 25px 0;
}
.story-steps button > span {
  color: #a99b84;
  font: 13px/2 var(--serif);
}
.story-steps h3 {
  font: 600 17px/1.7 var(--sans);
  color: #e0d9cc;
}
.story-steps p {
  font-size: 12px;
  margin-top: 8px;
  color: #8f8a80;
}
.story-steps b {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.4;
}
.story-steps .is-active h3,
.story-steps .is-active button > span {
  color: var(--gold-light);
}
.story-steps .is-active b {
  opacity: 1;
  color: var(--gold-light);
  transform: rotate(45deg);
}
.story-steps .is-active {
  background: linear-gradient(90deg, #b08a4a08, #b08a4a12);
}
.story-path {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 10px;
  color: var(--gold-light);
}
.story-path i {
  flex: 1;
  height: 1px;
  background: #655338;
}
.story-status {
  font-size: 10px;
  min-height: 40px;
  padding-top: 14px;
}
.rewrite-story .screen-link {
  margin-top: 22px;
  max-height: 310px;
  border: 1px solid #645438;
}
.rewrite-story .screen-link img {
  object-fit: cover;
  object-position: top;
}

.output-proof {
  margin-top: 60px;
}

/* Source: studio-visual.css */
.output-composition {
  display: grid;
  grid-template-columns: 1fr 2.8fr;
  align-items: center;
  gap: 75px;
  padding: 48px 25px 40px 0;
}
.output-source {
  padding: 30px 0;
  position: relative;
}
.output-source::after {
  content: "→";
  position: absolute;
  right: -45px;
  top: 45%;
  color: var(--gold-text);
  font-size: 30px;
}
.output-source strong {
  display: block;
  font: 700 29px/1.6 var(--serif);
  margin-top: 20px;
}
.source-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--line);
  margin-block: 23px;
}
.output-source p {
  color: var(--muted);
  font-size: 11px;
}
.output-source a {
  font-size: 11px;
  display: inline-block;
  margin-top: 22px;
}
.output-fan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1000px;
}
.output-sheet {
  position: relative;
  display: block;
  padding: 22px 20px 0;
  min-height: 340px;
  border: 1px solid #c9bdab;
  background: #e9e3d6;
  box-shadow: 0 20px 30px #5c4f3414;
  transition:
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s;
}
.output-sheet small {
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #544631;
}
.output-sheet h3 {
  font: 600 15px var(--sans);
  margin-top: 15px;
}
.output-sheet:hover {
  box-shadow: 0 25px 40px #5c4f3426;
}
.output-wechat {
  transform: rotate(-6deg) translateY(15px);
  background: #e4dccb;
}
.output-poster {
  transform: translateY(-12px);
  background: #2f3029;
  color: #ece4cf;
}
.output-poster small {
  color: #c3b388;
}
.output-note {
  transform: rotate(6deg) translateY(15px);
  background: #dbb87e;
}
.sheet-visual {
  min-height: 235px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}
.sheet-visual > b {
  font: 700 21px/1.5 var(--serif);
  margin-bottom: 8px;
}
.sheet-visual i {
  display: block;
  width: 100%;
  height: 1px;
  background: #b4a894;
}
.sheet-visual i:nth-of-type(2) {
  width: 80%;
}
.sheet-visual i:nth-of-type(3) {
  width: 90%;
}
.sheet-visual > span:not(.note-circle) {
  font-size: 9px;
  margin-top: 12px;
}
.sheet-visual > strong {
  font: 700 43px/1.15 var(--serif);
  color: #ddc28c;
  letter-spacing: -0.06em;
}
.note-circle {
  border: 1px solid #8b6c3b;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  font: 19px var(--serif);
}
.sheet-footer {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  padding-block: 13px;
  border-top: 1px solid #99836666;
}
.composition-caption {
  text-align: right;
  font-size: 10px;
  color: var(--muted);
  margin-top: 30px;
}
.poster-section {
  background: #e9e3d7;
  border-block: 1px solid #d8cebc;
}
.split-scene {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 85px;
  align-items: center;
}
.split-scene > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  line-height: 2.2;
  margin-block: 26px;
}
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-size: 11px;
  margin-top: 28px;
}
.inline-links a {
  text-underline-offset: 5px;
}
.inline-links a:hover {
  text-decoration: underline;
}
.poster-proof {
  min-width: 0;
}
.poster-proof .screen-link {
  border: 1px solid #baaa90;
  box-shadow: 20px 22px 0 #d8ccba;
  transform: rotate(1deg);
}
.proof-caption {
  font-size: 10px;
  color: var(--muted);
  margin-top: 22px;
}
.canvas-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 65px;
  padding-block: 80px;
  isolation: isolate;
}
.canvas-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.35;
  background-image: radial-gradient(#a89b7e 1px, transparent 1px);
  background-size: 20px 20px;
}
.canvas-connections {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: visible;
}
.canvas-connections path {
  fill: none;
  stroke: #8c7043;
  stroke-width: 1;
  transition:
    stroke 0.3s,
    stroke-width 0.3s;
}
.canvas-map.has-focus .canvas-connections path {
  stroke: var(--gold-light);
  stroke-width: 2;
  stroke-dasharray: 7 7;
  animation: line-travel 2s linear infinite;
}
.canvas-node {
  padding: 25px 24px 14px;
  background: #2a2821;
  border: 1px solid #6d5c40;
  box-shadow: 0 15px 30px #0003;
  transition:
    transform 0.3s,
    border-color 0.3s,
    background 0.3s;
}
.canvas-node:nth-of-type(even) {
  transform: translateY(-30px);
}
.canvas-node:nth-of-type(odd) {
  transform: translateY(30px);
}
.canvas-node:hover,
.canvas-node:focus-visible {
  background: #373023;
  border-color: var(--gold-light);
}
.canvas-node small {
  color: var(--gold-light);
  font-size: 8px;
  letter-spacing: 0.14em;
}
.canvas-node h3 {
  margin-top: 14px;
  font-size: 22px;
}
.canvas-node p {
  font-size: 11px;
  margin-block: 12px 22px;
}
.canvas-node > span {
  display: block;
  padding-top: 10px;
  border-top: 1px solid #5d5039;
  text-align: right;
  font-size: 10px;
  color: var(--gold-light);
}
.canvas-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  font-size: 10px;
  color: #a79b86;
  margin-top: 20px;
}
.delivery-stage {
  min-width: 0;
}
.file-rail {
  display: flex;
  justify-content: end;
  gap: 20px;
  padding-bottom: 30px;
}
.file-rail span {
  padding: 12px 22px;
  border: 1px solid #ccbc9f;
  background: #e9e0ce;
  color: #715d3e;
  font: 16px var(--serif);
  transform: rotate(4deg);
}
.file-rail span:nth-child(2) {
  transform: rotate(-5deg) translateY(-8px);
}
.delivery-stage .screen-link {
  border: 1px solid var(--line);
  box-shadow: 0 20px 45px #4b392f18;
}
.artboard-illustration {
  padding: 24px;
  background: #d6ccbb;
  border: 1px solid #c1b092;
}
.artboard-top,
.artboard-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 9px;
  color: #5f503a;
}
.artboard-pages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-block: 25px;
  align-items: start;
}
.artboard-page {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  background: #f5eee0;
  padding: 19px 15px;
  box-shadow: 0 12px 25px #51442920;
  transition: transform 0.25s;
}
.artboard-page:nth-child(2) {
  background: #35362f;
  color: #e6cf9f;
  margin-top: 25px;
}
.artboard-page:nth-child(3) {
  background: #d8b779;
  margin-top: 50px;
}
.artboard-page:hover,
.artboard-page:focus-visible {
  transform: translateY(-8px);
}
.artboard-page small {
  font-size: 8px;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}
.artboard-page strong {
  font: 700 28px/1.3 var(--serif);
  letter-spacing: -0.06em;
}
.artboard-page > span:last-child {
  font-size: 9px;
  margin-top: auto;
  padding-top: 20px;
}
.artboard-mark {
  font-size: 40px;
  margin: -20px 0 20px;
}
.artboard-lines {
  display: grid;
  gap: 12px;
  margin-top: 25px;
}
.artboard-lines i {
  display: block;
  height: 1px;
  background: #bdad8c66;
}
.artboard-lines i:nth-child(even) {
  width: 80%;
}

.poster-works {
  margin-bottom: 24px;
}
.poster-works-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 10px;
  perspective: 900px;
  padding: 22px 12px;
}
.poster-works-row a {
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px #1c1b181a;
  transition: transform 0.35s ease;
}
.poster-works-row a:nth-child(odd) {
  transform: rotate(-3deg) translateY(8px);
}
.poster-works-row a:nth-child(even) {
  transform: rotate(3deg);
}
.poster-works-row a:hover,
.poster-works-row a:focus-visible {
  transform: translateY(-9px) rotate(0);
}
@media (prefers-reduced-motion: reduce) {
  .poster-works-row a {
    transition: none;
    transform: none !important;
  }
}

.canvas-scenes .scene-tabs {
  grid-template-columns: repeat(2, 1fr);
}
.canvas-scenes .scene-tabs button {
  color: #b5aa97;
  border-color: #574d3e;
}
.canvas-scenes .scene-tabs button[aria-selected="true"] {
  color: var(--gold-light);
  border-color: var(--gold-light);
}
.canvas-scenes .scene-copy p {
  color: #b5aa97;
}
.canvas-scenes .text-link {
  color: var(--gold-light);
}
.canvas-scenes .screen-link {
  border-color: #574d3e;
  box-shadow: 0 20px 55px #0003;
}
.canvas-trail-label {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  margin-bottom: 22px;
  color: var(--gold-light);
  font-size: 12px;
}
.canvas-trail-label span {
  color: #b5aa97;
  font-size: 10px;
}
.canvas-map-compact {
  gap: 36px;
  padding-block: 25px;
}
.canvas-map-compact .canvas-node {
  padding: 16px;
}
.canvas-map-compact .canvas-node:nth-of-type(n) {
  transform: none;
}
.canvas-map-compact .canvas-node h3 {
  margin-top: 8px;
  font-size: 18px;
}
.canvas-map-compact .canvas-node p {
  margin-block: 8px 12px;
}

/* Source: studio-delivery.css */
.feature-overview {
  border-block: 1px solid var(--line);
  background: #eee9df;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #c9bfad;
}
.feature-tile {
  border-bottom: 1px solid #c9bfad;
  padding: 26px 28px 26px 0;
  margin-right: 28px;
  position: relative;
  transition: background 0.2s;
}
.feature-tile small {
  font-size: 9px;
  color: #766244;
}
.feature-tile h3 {
  font: 600 17px/1.8 var(--sans);
  margin-block: 9px;
}
.feature-tile p {
  color: var(--muted);
  font-size: 11px;
  padding-right: 22px;
}
.feature-tile > b {
  position: absolute;
  right: 0;
  top: 25px;
  font-weight: 400;
  transition: transform 0.2s;
}
.feature-tile:hover > b {
  transform: translate(3px, -3px);
}
.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}
.faq-section .text-link {
  margin-top: 30px;
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 14px;
  padding-block: 23px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary > span {
  color: var(--gold-text);
  font-size: 18px;
  transition: transform 0.2s;
}
.faq-list details[open] summary > span {
  transform: rotate(45deg);
}
.faq-list p {
  color: var(--muted);
  font-size: 12px;
  padding-bottom: 25px;
}
.faq-list p a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Source: catalog.css */
.breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11px;
  padding-block: 26px;
}
.breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.catalog-hero {
  padding-block: 35px 65px;
}
.catalog-hero h1 {
  font-size: 64px;
  max-width: 900px;
}
.catalog-hero > p:last-child {
  max-width: 690px;
  margin-top: 25px;
  color: var(--muted);
  line-height: 2;
}
.catalog-jump {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  padding-block: 20px;
  position: sticky;
  top: 76px;
  z-index: 4;
  background: var(--paper);
  font-size: 12px;
}
.catalog-group {
  padding-block: 55px 25px;
  scroll-margin-top: 145px;
}
.catalog-group > h2 {
  font-size: 33px;
  margin-bottom: 30px;
}
.catalog-group .feature-grid {
  grid-template-columns: repeat(3, 1fr);
}
.catalog-group .feature-tile p {
  font-size: 12px;
}
.feature-lede {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 90px;
  padding-block: 40px 65px;
  border-bottom: 1px solid var(--line);
  align-items: end;
}
.feature-lede h1 {
  font-size: 55px;
}
.feature-lede h1 .feature-name {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 20px;
  color: var(--muted);
}
.feature-lede .summary {
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}
.feature-lede .button {
  margin-top: 25px;
  background: var(--ink);
  color: var(--gold-light);
  font-size: 12px;
}
.feature-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 80px;
  padding-block: 65px 90px;
}
.feature-aside {
  align-self: start;
  position: sticky;
  top: 110px;
  font-size: 11px;
}
.feature-aside p {
  color: var(--muted);
  margin-bottom: 16px;
}
.feature-aside a {
  display: block;
  padding-block: 9px;
  border-bottom: 1px solid var(--line);
}
.feature-aside a:hover {
  color: #8d692c;
}
.feature-prose {
  max-width: 830px;
}
.feature-prose section {
  scroll-margin-top: 110px;
}
.feature-prose section + section {
  margin-top: 58px;
}
.feature-prose h2 {
  font-size: 31px;
  margin-bottom: 25px;
}
.feature-prose h3 {
  font: 600 17px/1.7 var(--sans);
  margin-bottom: 10px;
}
.feature-prose p {
  color: var(--muted);
  line-height: 2;
  font-size: 13px;
}
.feature-point {
  padding-block: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 18px;
}
.feature-point > span {
  color: var(--gold-text);
  font: 22px var(--serif);
}
.feature-steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
}
.feature-steps li {
  position: relative;
  counter-increment: step;
  padding: 17px 0 17px 50px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.feature-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--gold-text);
  font-family: var(--serif);
}
.feature-boundary {
  background: #e9e2d5;
  border-left: 2px solid var(--gold);
  padding: 25px 30px;
}
.feature-boundary h2 {
  font: 600 14px var(--sans);
  margin-bottom: 12px;
}
.feature-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-related a {
  display: block;
  border-top: 1px solid #bba989;
  padding-top: 18px;
  font-size: 12px;
}
.feature-related a span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}
.feature-related a:hover {
  color: #8d692c;
}
.feature-visual {
  margin-bottom: 45px;
}
.feature-visual .screen-link {
  border: 1px solid var(--line);
}
.feature-visual figcaption {
  color: var(--muted);
  font-size: 10px;
  margin-top: 12px;
}
.catalog-bottom {
  padding-block: 65px;
  border-top: 1px solid var(--line);
  margin-top: 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.catalog-bottom h2 {
  font-size: 35px;
}
.update-layout {
  max-width: 930px;
  margin-inline: auto;
}
.update-entry {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 55px;
  border-top: 1px solid var(--line);
  padding-block: 50px;
}
.update-version {
  font: 36px var(--serif);
}
.update-entry time {
  display: block;
  font: 11px var(--sans);
  margin-top: 12px;
  color: var(--muted);
}
.update-entry h2 {
  font-size: 28px;
  margin-bottom: 20px;
}
.update-entry ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}
.update-entry li {
  padding-block: 7px;
}
.update-entry a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.catalog-hero .release-status {
  color: var(--muted);
  font-size: 12px;
  margin-top: 14px;
}
.release-image {
  margin-block: 26px;
}
.release-image figcaption {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 10px;
}
.release-image.image-unavailable img {
  display: none;
}
.release-image.image-unavailable figcaption::before {
  content: "图片暂时无法加载 · ";
}
.update-entry > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.not-found {
  min-height: 60vh;
  padding-block: 90px;
}
.not-found h1 {
  font-size: 55px;
}
.not-found p {
  color: var(--muted);
  margin: 25px 0;
}
@media (max-width: 1150px) {
  .feature-lede {
    gap: 40px;
  }
  .feature-lede h1 {
    font-size: 42px;
  }
  .feature-body {
    grid-template-columns: 145px 1fr;
    gap: 50px;
  }
  .catalog-hero h1 {
    font-size: 55px;
  }
}

.feature-lede .headline-line { display: block; }

.feature-artwork {
  width: min(100%, 360px);
  margin-block: 36px 54px;
}
.feature-artwork .screen-link {
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px #1c1b181a;
}

/* Source: viewer.css */
.image-viewer {
  position: fixed;
  padding: 0;
  width: min(96vw, 1800px);
  max-width: none;
  max-height: 96vh;
  border: 1px solid #7b6847;
  background: #24221e;
  color: #eae2d1;
  box-shadow: 0 35px 100px #0008;
}
.image-viewer::backdrop {
  background: #12110feb;
}
.viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 14px 20px;
  border-bottom: 1px solid #564930;
}
.viewer-bar h2 {
  font: 500 12px/1.6 var(--sans);
  letter-spacing: 0;
}
.viewer-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.viewer-actions button {
  min-width: 36px;
  min-height: 34px;
  border: 1px solid #6f5b38;
  background: #342e24;
  color: #e7d3ab;
  border-radius: 4px;
  font-size: 12px;
}
.viewer-actions button:disabled {
  opacity: 0.35;
  cursor: default;
}
.viewer-actions button:hover:not(:disabled) {
  background: #4c3c24;
}
.viewer-surface {
  overflow: auto;
  max-height: calc(96vh - 103px);
  padding: 18px;
  overscroll-behavior: contain;
}
.viewer-surface img {
  max-width: none;
  width: 100%;
  height: auto;
  margin-inline: auto;
}
.viewer-caption {
  padding: 10px 20px;
  font-size: 10px;
  color: #b3a58e;
  border-top: 1px solid #564930;
}
body.viewer-open {
  overflow: hidden;
}
/* Fit both dimensions on first open; scrolling is reserved for explicit zoom. */
.image-viewer {
  height: 96vh;
}
.image-viewer[open] {
  display: flex;
  flex-direction: column;
}
.viewer-bar,
.viewer-caption {
  flex: none;
}
.viewer-surface {
  flex: 1;
  min-height: 0;
  max-height: none;
  display: flex;
  align-items: flex-start;
}
.viewer-surface img {
  flex: none;
  align-self: center;
  width: auto;
  max-width: 100%;
  max-height: 100%;
}
.viewer-surface.is-zoomed {
  display: block;
}
.viewer-surface.is-zoomed img {
  max-width: none;
  max-height: none;
}

/* Source: controls.css */
/* Shared browser surfaces use the website's warm ink and gold palette. */
::selection { color: #171615; background: #d4b978; }
html { scrollbar-color: #a48757 #eee6d8; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #eee6d8; }
::-webkit-scrollbar-thumb { border: 2px solid #eee6d8; border-radius: 6px; background: #a48757; }
:where(a, button, summary, input, textarea, select, [tabindex]):focus-visible { outline: 2px solid var(--gold, #b08a4a); outline-offset: 4px; }
button { appearance: none; -webkit-appearance: none; }
input, textarea { caret-color: var(--orange, #f36a2c); }
.faq-item summary::marker { content: ''; }
.faq-item summary:focus-visible { outline-offset: -4px; }

/* Source: studio-motion.css */
@keyframes studio-arrive {
  from {
    opacity: 0;
    transform: translateY(45px) rotateX(14deg) rotateY(-16deg);
  }
}
@keyframes note-arrive {
  from {
    opacity: 0;
    translate: 0 25px;
  }
}
@keyframes line-travel {
  to {
    stroke-dashoffset: -28;
  }
}
@media (min-width: 1100px) {
  .motion-ready [data-output-spread]:not(.is-seen) .output-wechat {
    transform: translateX(110px) rotate(-12deg);
  }
  .motion-ready [data-output-spread]:not(.is-seen) .output-note {
    transform: translateX(-110px) rotate(12deg);
  }
}
@media (max-width: 1150px) {
  .wrap {
    width: calc(100% - 72px);
  }
  .site-nav {
    gap: 16px;
  }
  .brand small {
    display: none;
  }
  .section {
    padding-block: 80px;
  }
  .scene-panel {
    grid-template-columns: 235px 1fr;
    gap: 30px;
  }
  .rewrite-grid,
  .split-scene {
    gap: 55px;
  }
  .output-composition {
    gap: 55px;
  }
  .output-fan {
    gap: 12px;
  }
  .output-sheet {
    padding-inline: 13px;
  }
  .canvas-map {
    gap: 35px;
  }
  .canvas-node {
    padding-inline: 18px;
  }
  .faq-section {
    gap: 60px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .studio-window,
  .floating-note,
  .output-sheet {
    transform: none !important;
  }
}
@keyframes scene-arrive {
  from { opacity: .4; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .reveal.is-seen { animation: scene-arrive .65s cubic-bezier(.2,.8,.2,1) both; }
}

/* Source: motion-system.css */
:root { --motion-ease: cubic-bezier(.16,1,.3,1); }
.section, .catalog-group, .feature-prose section { scroll-margin-top: 0; }
.scene-stage { display: grid; }
.scene-stage > .scene-panel { grid-area: 1 / 1; }
.scene-stage > .scene-panel[hidden] { display: grid !important; visibility: hidden; pointer-events: none; }
.scene-tabs { position: relative; }
.scene-indicator { position: absolute; left: 0; bottom: 0; height: 2px; background: currentColor; pointer-events: none; transition: width 240ms var(--motion-ease), transform 240ms var(--motion-ease); }
.ink .scene-indicator { color: var(--gold-light); }
.site-nav a, .catalog-jump a, .feature-aside a, .chapter-strip a { transition: color 180ms, background 180ms, box-shadow 180ms; }
.catalog-jump a[aria-current="location"], .chapter-strip a[aria-current="location"] { color: #785927; box-shadow: inset 0 -2px #997340; }
.feature-aside a[aria-current="location"] { color: #785927; background: #b08a4a12; box-shadow: inset 1px 0 #997340; }
.site-nav a[aria-current="location"]::after { transform: scaleX(1); }
.feature-tile:hover, .feature-tile:focus-visible { background: #b08a4a0b; }
.feature-tile:focus-visible > b { transform: translate(3px,-3px); }
.feature-related a { transition: background 180ms, border-color 180ms; }
.feature-related a:hover { background: #b08a4a0b; border-color: #997340; }
.platform-download summary { transition: border-color 180ms, box-shadow 180ms; }
.platform-download summary:hover { box-shadow: 0 8px 20px #51432d15; }
.platform-download a { transition: background 150ms, color 150ms; }
.site-footer a, .legal-content a { text-underline-offset: 5px; }
.site-footer a:hover { text-decoration: underline; }
@keyframes headline-open { from { clip-path: inset(0 0 100% 0); translate: 0 12px; } }
@keyframes reading-arrive { from { opacity: .65; translate: 0 10px; } }
@keyframes menu-open { from { opacity: .5; translate: 0 -7px; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-heading h1 { animation: headline-open 650ms var(--motion-ease); }
  .hero-heading h1 em { display: inline-block; animation: headline-open 650ms 90ms var(--motion-ease) backwards; }
  .reading-seen { animation: reading-arrive 450ms var(--motion-ease); }
  .platform-download[open] .platform-options { animation: menu-open 200ms var(--motion-ease); }
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation-duration: 100ms; }
  ::view-transition-new(root) { animation-duration: 180ms; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

.update-version { transition: color 180ms; }
.update-entry.is-reading .update-version { color: #785927; }

/* Source: platform-downloads.css */
.platform-downloads { min-width: 0; scroll-margin-top: 100px; }
.platform-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.platform-download { position: relative; min-width: 0; }
.platform-download summary {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px;
  min-height: 80px;
  border: 1px solid #c8bfaf;
  border-radius: 12px;
  background: #fcfaf5;
  cursor: pointer;
  list-style: none;
  transition: background .18s, border-color .18s;
}
.platform-download summary::-webkit-details-marker { display: none; }
.platform-download summary:hover,
.platform-download[open] summary { background: #eee4d2; border-color: #947345; }
.platform-download[data-recommended="true"] summary { border-color: #9a7a48; background: #ece0c6; }
.platform-icon { flex: none; width: 26px; height: 26px; }
.platform-copy { display: grid; gap: 5px; min-width: 0; }
.platform-copy strong { font-size: 16px; font-weight: 650; white-space: nowrap; }
.platform-copy > span { font-size: 11px; color: #625641; }
.platform-chevron { flex: none; width: 17px; height: 17px; margin-left: auto; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .18s; }
.platform-download[open] .platform-chevron { transform: rotate(180deg); }
.platform-options {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  padding: 6px;
  border: 1px solid #beaf96;
  border-radius: 12px;
  background: #fcfaf5;
  box-shadow: 0 18px 36px #53422c29;
}
.platform-options a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 62px;
  padding: 10px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
}
.platform-options a:hover,
.platform-options a:focus-visible { background: #ebe1cf; }
.platform-options a[aria-disabled="true"] { color: #6b6050; cursor: not-allowed; }
.platform-options small { display: block; color: #6b6050; font-size: 9px; font-weight: 400; margin-top: 4px; }
.platform-options [data-package-info] { color: #71552d; font-size: 10px; font-weight: 500; text-align: right; }
.platform-options p { border-top: 1px solid #ded6c6; margin: 5px 8px 0; padding: 10px 0 5px; color: #665a46; font-size: 10px; line-height: 1.7; }
.platform-status { margin-top: 9px; min-height: 16px; color: #665f52; font-size: 10px; line-height: 1.7; }
.platform-status a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1150px) {
  .platform-download summary { gap: 10px; padding: 14px 12px; }
  .platform-copy strong { font-size: 14px; }
  .platform-icon { width: 23px; height: 23px; }
  .platform-cards { gap: 9px; }
}

/* Source: brand-hero.css */
.home-page {
  --brand-ink: #140f15;
  --brand-paper: #f3f0e8;
  --brand-gold: #e8c491;
  --brand-muted: #d0bfb6;
}
.home-page .site-header {
  background: var(--brand-ink);
  color: var(--brand-paper);
  border-bottom-color: rgb(232 196 145 / 16%);
}
.home-page .brand small { color: var(--brand-muted); border-color: rgb(232 196 145 / 25%); }
.brand-hero {
  height: calc(100svh - 76px);
  min-height: 690px;
  padding: 0;
  isolation: isolate;
  background: var(--brand-ink);
  color: var(--brand-paper);
}
.brand-artwork, .brand-shade { position: absolute; inset: 0; pointer-events: none; }
.brand-artwork {
  z-index: -3;
  background: var(--fox-source, url('./brand/fox-light.webp')) right center / cover no-repeat;
}
.brand-artwork canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.brand-hero[data-renderer="webgl"] .brand-artwork canvas { opacity: 1; }
.brand-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgb(20 15 21 / 80%), rgb(20 15 21 / 68%) 36%, rgb(20 15 21 / 12%) 65%, transparent 80%), linear-gradient(0deg, rgb(20 15 21 / 88%), transparent 25%, transparent 82%, rgb(20 15 21 / 25%));
}
.brand-composition { position: relative; height: 100%; }
.brand-copy { position: relative; z-index: 4; padding-top: clamp(80px, 12vh, 130px); max-width: 620px; }
.brand-hero h1 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(48px, 4.4vw, 68px);
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1.44;
  text-shadow: 0 4px 34px rgb(20 15 21 / 25%);
}
.brand-hero h1 span { display: block; white-space: nowrap; }
.brand-hero h1 em { position: relative; color: #f79767; white-space: nowrap; }
.brand-hero h1 em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.05em;
  border-bottom: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(-2deg);
}
.brand-hero .hero-intro { margin-top: 24px; }
.brand-hero .hero-intro p { color: var(--brand-muted); font-size: 14px; line-height: 1.95; letter-spacing: .04em; }
.brand-hero .platform-downloads { position: relative; z-index: 5; margin-top: 30px; }
.brand-hero .platform-download summary {
  min-height: 82px;
  padding: 16px 17px;
  gap: 12px;
  border: 1px solid rgb(232 196 145 / 45%);
  border-radius: 4px;
  background: rgb(20 15 21 / 74%);
  color: var(--brand-paper);
}
.brand-hero .platform-copy strong { font-size: 15px; font-weight: 600; }
.brand-hero .platform-copy > span { color: var(--brand-muted); font-size: 10px; }
.brand-hero .platform-download summary:hover,
.brand-hero .platform-download[open] summary { background: #36252b; border-color: var(--brand-gold); }
.brand-hero .platform-download[data-recommended="true"] summary { background: #e8c491; border-color: #e8c491; color: #241b18; }
.brand-hero .platform-download[data-recommended="true"] .platform-copy > span { color: #514031; }
.brand-hero .platform-options { background: #231b21; color: var(--brand-paper); border-color: #796151; border-radius: 4px; }
.brand-hero .platform-options a { border-radius: 2px; }
.brand-hero .platform-options a:hover,
.brand-hero .platform-options a:focus-visible { background: #49332e; }
.brand-hero .platform-options small,
.brand-hero .platform-options [data-package-info],
.brand-hero .platform-options p,
.brand-hero .platform-options a[aria-disabled="true"] { color: var(--brand-muted); }
.brand-hero .platform-options p { border-color: #655044; }
.brand-hero .platform-status { color: var(--brand-muted); font-size: 10px; }
.brand-hero .hero-foot { margin-top: 17px; color: #c4afa2; font-size: 10px; gap: 23px; letter-spacing: .04em; }
.brand-bottom { position: absolute; bottom: 30px; left: 0; right: 0; display: flex; align-items: flex-end; justify-content: space-between; }
.brand-explore { display: inline-flex; align-items: center; gap: 26px; color: var(--brand-gold); font-size: 12px; padding-block: 8px; }
.brand-explore svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1; }
.brand-hero .release-link { color: var(--brand-muted); padding: 0; font-size: 10px; gap: 2px; text-align: right; }
.brand-hero .release-link span { color: var(--brand-gold); }
.brand-hero .release-link svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.2; vertical-align: -2px; margin-left: 5px; }
.brand-hero a:focus-visible, .brand-hero summary:focus-visible, .home-page .site-header a:focus-visible { outline: 2px solid var(--brand-gold); outline-offset: 5px; }
.brand-hero ::selection { background: #b96c78; color: #fff7eb; }
@media (max-width: 1150px) {
  .brand-copy { max-width: 510px; padding-top: 100px; }
  .brand-hero h1 { font-size: 48px; }
  .brand-hero .hero-intro p { font-size: 12px; }
  .brand-hero .platform-download summary { padding: 14px 12px; gap: 9px; }
  .brand-hero .platform-copy strong { font-size: 14px; }
  .brand-shade { background: linear-gradient(90deg, rgb(20 15 21 / 90%), rgb(20 15 21 / 78%) 40%, rgb(20 15 21 / 10%) 72%, transparent 90%), linear-gradient(0deg, rgb(20 15 21 / 88%), transparent 30%); }
}
@media (max-height: 800px) {
  .brand-hero { min-height: 650px; }
  .brand-copy { padding-top: 65px; }
  .brand-hero h1 { font-size: 48px; line-height: 1.4; }
  .brand-hero .platform-downloads { margin-top: 24px; }
}
@media (max-height: 650px) {
  .home-page .site-header { height: 64px; }
  .brand-hero { height: calc(100svh - 64px); min-height: 570px; }
  .brand-copy { padding-top: 45px; max-width: 510px; }
  .brand-hero h1 { font-size: 38px; line-height: 1.35; }
  .brand-hero .hero-intro { margin-top: 17px; }
  .brand-hero .hero-intro p { font-size: 12px; line-height: 1.8; }
  .brand-hero .platform-download summary { min-height: 68px; padding-block: 12px; }
  .brand-hero .hero-foot { margin-top: 12px; }
}

/* Source: headline-motion.css */
.headline-treatment { position: relative; width: fit-content; max-width: 100%; }
.headline-code { position: absolute; inset: 0; pointer-events: none; }
.headline-code > span { display: block; white-space: nowrap; }
.headline-code > span, .headline-code em {
  color: transparent;
  -webkit-text-stroke: .55px #d9b592;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='74' height='28'%3E%3Cg fill='%23dfc797' font-family='monospace' font-size='9'%3E%3Ctext x='0' y='10'%3E0101101001%3C/text%3E%3Ctext x='0' y='23'%3E1010010110%3C/text%3E%3C/g%3E%3C/svg%3E") 0 0 / 74px 28px;
  -webkit-background-clip: text;
  background-clip: text;
}
.headline-code em { position: static; font-style: normal; }
.headline-code em::after { display: none; }
.headline-treatment.is-scanning h1 { clip-path: inset(0 calc((1 - var(--scan-progress, 0)) * 100%) 0 0); }
.headline-treatment.is-waiting h1 { clip-path: inset(0 100% 0 0); }
.headline-playhead {
  position: absolute;
  top: 3px;
  bottom: -14px;
  left: calc(var(--scan-progress, 0) * 100%);
  width: 1px;
  background: #ffe5c2;
  box-shadow: 2px 0 13px 2px rgb(232 196 145 / 34%);
  pointer-events: none;
}
.headline-playhead::before { content: ''; position: absolute; top: -6px; left: -4px; border: 4px solid transparent; border-top: 6px solid #ffe5c2; }
.headline-time { position: absolute; bottom: -18px; left: 0; transform: translateX(-50%); padding: 2px 4px; border: 1px solid #79624b; background: #140f15; color: #e8c491; font: 8px/1.3 ui-monospace, monospace; letter-spacing: .04em; white-space: nowrap; }
.headline-ruler { position: absolute; left: 0; right: 0; bottom: -14px; height: 6px; background: repeating-linear-gradient(90deg, #bda17e80 0 1px, transparent 1px 8px); pointer-events: none; }
.headline-treatment:not(.is-scanning):not(.is-waiting) .headline-code,
.headline-treatment:not(.is-scanning) .headline-playhead,
.headline-treatment:not(.is-scanning) .headline-ruler { display: none; }
.headline-treatment.is-settling .headline-playhead,
.headline-treatment.is-settling .headline-ruler { opacity: 0; transition: opacity .2s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .headline-treatment.is-scanning h1, .headline-treatment.is-waiting h1 { clip-path: none; }
  .headline-code, .headline-playhead, .headline-ruler { display: none !important; }
}

/* Source: download-arrival.css */
.download-arrival {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f3f0e8;
  color: #231f23;
  isolation: isolate;
  overflow: auto;
  overscroll-behavior: contain;
}
.download-arrival::backdrop { background: #f3f0e8; }
body:has(.download-arrival[open]) { overflow: hidden; }
.download-arrival-art {
  position: fixed;
  inset: 0 0 0 40%;
  z-index: -1;
  background: linear-gradient(90deg, #f3f0e8, transparent 55%), var(--fox-source, url('./brand/fox-light.webp')) right center / cover;
  opacity: .23;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.download-arrival-header { display: flex; align-items: center; justify-content: space-between; padding: 30px 4.2vw; }
.download-arrival .brand { gap: 14px; }
.download-arrival .brand strong { color: #231f23; }
.download-arrival .brand small { color: #68645c; border-color: #d7d1c4; }
.download-arrival button { border: 0; background: transparent; color: inherit; cursor: pointer; }
.download-arrival svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.arrival-return { display: inline-flex; align-items: center; gap: 14px; padding: 9px 0; font-size: 12px; }
.arrival-return svg { width: 18px; }
.download-arrival-copy { margin: clamp(70px, 14vh, 160px) 8% 170px 11%; position: relative; width: fit-content; }
.download-arrival h2 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(64px, 6.4vw, 96px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: .035em;
}
.download-arrival-copy > p { margin: 28px 0 30px; color: #68645c; font-size: 14px; line-height: 2; letter-spacing: .08em; }
.download-arrival-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 30px; }
.download-arrival-actions button { display: inline-flex; align-items: center; gap: 36px; padding: 10px 0 13px; border-bottom: 1px solid #b08a4a; font-size: 14px; }
.download-arrival-actions a { padding-block: 10px; font-size: 12px; color: #68645c; text-decoration: underline; text-underline-offset: 6px; }
.download-arrival button:hover, .download-arrival-actions a:hover { color: #785927; }
.download-arrival :focus-visible { outline: 2px solid #785927; outline-offset: 6px; }
.download-arrival h2:focus { outline: none; }
.download-arrival ::selection { background: #b96c78; color: #fff7eb; }
.download-arrival-footer { position: absolute; inset: auto 4.2vw 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; color: #68645c; font-size: 11px; letter-spacing: .08em; }
.download-arrival-package { text-align: right; line-height: 1.9; letter-spacing: .02em; }
.download-arrival-package strong { color: #51483d; font-weight: 600; }
.download-arrival[open] { animation: arrival-field .65s ease-out both; }
.download-arrival[open] .download-arrival-copy { animation: arrival-copy .8s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes arrival-field { from { opacity: 0; } to { opacity: 1; } }
@keyframes arrival-copy { from { opacity: .5; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1150px) {
  .download-arrival-copy { margin-left: 8%; }
  .download-arrival .brand small { display: none; }
  .download-arrival h2 { font-size: 72px; }
}
@media (max-height: 750px) {
  .download-arrival-header { padding-block: 20px; }
  .download-arrival-copy { margin-top: 42px; margin-bottom: 150px; }
  .download-arrival h2 { font-size: 60px; }
  .download-arrival-copy > p { margin: 20px 0; font-size: 13px; }
  .download-arrival-footer { bottom: 22px; }
}
@media (max-height: 550px) {
  .download-arrival-copy { margin-top: 15px; margin-bottom: 30px; }
  .download-arrival h2 { font-size: 46px; }
  .download-arrival-copy > p { margin: 16px 0 12px; }
  .download-arrival-footer { position: relative; inset: auto; margin: 25px 4.2vw; }
}
@media (prefers-reduced-motion: reduce) {
  .download-arrival[open], .download-arrival[open] .download-arrival-copy { animation: none; }
}

/* Source: creation-story.css */
/* A manuscript comparison; all copy is an explicitly labelled illustration. */
.revision-demo { margin-top: 28px; border: 1px solid #665840; background: #f3eddf; color: #302a20; }
.revision-heading { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #cfc2aa; font-size: 12px; }
.revision-heading small { color: #6c5c43; font-size: 10px; }
.revision-paper { padding: 23px 24px; }
.revision-demo .revision-context { font-size: 12px; color: #71654f; line-height: 2; }
.revision-paragraph { position: relative; margin: 20px 0; padding: 24px 16px 15px; border: 1px solid #c3a777; background: #eadcc0; min-height: 140px; }
.revision-paragraph p { font: 16px/1.9 var(--serif); }
.revision-margin { position: absolute; top: -9px; left: 13px; background: #eadcc0; padding: 0 6px; color: #835124; font-size: 10px; }
[data-step="1"] [data-revision-before], [data-step="2"] [data-revision-before] { color: #78553f; text-decoration: line-through; text-decoration-color: #a95e39; font-size: 12px; margin-bottom: 10px; }
.revision-demo [data-revision-after] { color: #2b4c37; }
[data-step="2"] .revision-paragraph { background: #f5dfb5; outline: 1px solid #b57739; outline-offset: 3px; }
[data-step="3"] .revision-paragraph { background: #e5eadb; border-color: #82926a; }
[data-step="3"] .revision-margin { background: #e5eadb; color: #3d5a32; }
.revision-result { min-height: 62px; padding: 15px 20px; border-top: 1px solid #cfc2aa; font-size: 11px; color: #5d513f; }
.story-steps button, .story-steps b { transition: color 150ms, background 150ms, transform 260ms; }
.story-steps button:hover, .story-steps button:focus-visible { background: #dfc7970d; }
/* Stationary link bounds and independently moving paper prevent edge-only hover. */
.output-composition { position: relative; isolation: isolate; }
.output-source::after { content: none; }
.output-source { transition: color 200ms; }
.output-composition[data-output="0"] .source-line,
.output-composition[data-output="1"] .source-line,
.output-composition[data-output="2"] .source-line { background: #a66337; }
.output-sheet:has(.output-paper) { padding: 0; background: transparent; border: 0; box-shadow: none; transform: none !important; }
.output-paper { display: block; position: relative; min-height: 340px; padding: 22px 20px 0; border: 1px solid #c9bdab; box-shadow: 0 20px 30px #5c4f3414; transition: transform 450ms cubic-bezier(.16,1,.3,1), box-shadow 200ms; }
.output-wechat .output-paper { background: #e4dccb; transform: rotate(-5deg) translateY(15px); }
.output-poster .output-paper { background: #2f3029; transform: translateY(-12px); }
.output-note .output-paper { background: #dbb87e; transform: rotate(5deg) translateY(15px); }
.output-sheet.is-current .output-paper { transform: translateY(-16px) rotate(0); box-shadow: 0 25px 40px #5c4f3433; }
.output-sheet .output-paper { pointer-events: none; }
.flow-connections { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; overflow: visible; }
.flow-connections path { fill: none; stroke: #b39a72; stroke-width: 1; transition: stroke 180ms; }
.flow-connections path.is-active { stroke: #a66337; stroke-width: 2; }
.ink .flow-connections path.is-active { stroke: #dfc797; }
.flow-connections path.flow-pulse { stroke: #b86a38; stroke-width: 3; stroke-dasharray: 7 100; opacity: 0; }
.ink .flow-connections path.flow-pulse { stroke: #f3dfb6; }
.canvas-node.is-connected { border-color: #dfc797; background: #373023; }
.file-rail button { padding: 12px 22px; border: 1px solid #b7a17e; background: #e9e0ce; color: #57452b; font: 16px var(--serif); transition: transform 220ms, background 220ms; }
.file-rail button[aria-pressed="true"] { background: #303a33; color: #f3e4c4; transform: translateY(-6px); }
.file-rail button:hover { transform: translateY(-4px); }
.export-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; align-items: center; padding: 22px 25px; margin-bottom: 28px; border-block: 1px solid #cabb9f; perspective: 800px; }
.export-preview > span { color: #6b5b43; font-size: 10px; }
.export-preview > p { grid-column: 1; font-size: 11px; color: #62533c; }
.export-page { grid-column: 2; grid-row: 1 / 3; padding: 18px; background: #faf6ed; box-shadow: 3px 12px 22px #4b392f1c; border: 1px solid #c9bc9f; }
.export-page b { font: 18px var(--serif); }
.export-page i { display: block; height: 2px; background: #bfb097; margin-top: 9px; }
.export-page i:nth-of-type(2) { width: 80%; }
.export-page em { display: block; background: #d9c9a8; padding: 13px; margin-top: 12px; font: 11px var(--sans); color: #5a4931; }
[data-format="md"] .export-page b::before { content: '# '; color: #987143; }
[data-format="md"] .export-page em { background: transparent; padding: 0; }
[data-format="md"] .export-page em::before { content: '![] '; }
[data-format="png"] .export-page { background: #303a33; color: #f2e5ca; }
[data-format="png"] .export-page b { font-size: 24px; }
[data-format="png"] .export-page i { display: none; }
@keyframes content-unfold { from { transform: translateX(-35px) rotateY(-25deg); opacity: .5; } }
@keyframes file-settle { from { transform: rotate(-10deg) translateY(14px); opacity: .6; } }
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .output-composition.is-seen { animation: none; }
  .output-composition.is-seen .output-paper { animation: content-unfold 700ms cubic-bezier(.16,1,.3,1) backwards; }
  .output-composition.is-seen .output-poster .output-paper { animation-delay: 80ms; }
  .output-composition.is-seen .output-note .output-paper { animation-delay: 160ms; }
  .export-preview.reading-seen .export-page { animation: file-settle 500ms cubic-bezier(.16,1,.3,1); }
}
@media (max-width: 1150px) { .output-paper { padding-inline: 13px; } .revision-heading { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .output-paper, .file-rail button { transform: none !important; } }
.poster-works-row { position: relative; isolation: isolate; min-height: 220px; }
.poster-works-row .shared-paper-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.poster-works-row[data-renderer="webgl"] a { transform: none; background: transparent; border-color: transparent; box-shadow: none; }
.poster-works-row[data-renderer="webgl"] img { opacity: 0; }
.poster-works-row[data-renderer="webgl"] a:focus-visible { outline-offset: 1px; }
@media (prefers-reduced-motion: no-preference) {
  .poster-section .reading-seen .poster-works-row a { animation: file-settle 600ms var(--motion-ease); }
}
.rewrite-story .story-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; margin-bottom: 20px; }
.rewrite-story .story-steps button { padding: 16px 0; grid-template-columns: 22px 1fr; gap: 8px; }
.rewrite-story .story-steps b { display: none; }
.rewrite-story .story-steps h3 { font-size: 14px; }
.rewrite-story .story-steps p { font-size: 11px; margin-top: 6px; }
.rewrite-story .story-steps li:nth-last-child(2) { border-bottom: 1px solid #494237; }
.rewrite-story .revision-demo { margin-top: 0; }

.revision-demo [data-revision-before] { color: #664d34; }

/* Source: browser-extension.css */
.extension-section {
  border-top: 1px solid var(--line);
}
.extension-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.extension-description {
  max-width: 440px;
  margin-top: 24px;
  color: var(--muted);
}
.extension-browsers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}
.extension-browsers li {
  padding: 4px 14px;
  border: 1px solid var(--line);
  font-size: 12px;
}
.extension-guide-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.extension-guide-head h3 {
  font-size: 22px;
}
.extension-guide-head > span,
.extension-note {
  color: var(--muted);
  font-size: 12px;
}
.extension-steps {
  counter-reset: extension-step;
  margin: 0;
  padding: 0;
  list-style: none;
}
.extension-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 16px;
  padding-block: 17px;
  border-bottom: 1px solid var(--line);
}
.extension-steps li::before {
  counter-increment: extension-step;
  content: counter(extension-step, decimal-leading-zero);
  color: var(--gold-text);
  font-size: 12px;
}
.extension-steps h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
}
.extension-steps p {
  color: var(--muted);
  font-size: 12px;
}
.extension-steps code {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.extension-note {
  margin-top: 14px;
}
.extension-boundary {
  display: grid;
  gap: 4px;
  margin-top: 20px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  font-size: 12px;
}
.extension-boundary span {
  color: var(--muted);
}
