:root {
  color-scheme: light;
  --paper: #f5f2e9;
  --paper-light: #fcfaf4;
  --ink: #18261f;
  --muted: #536156;
  --line: #d9d9cb;
  --green: #163c30;
  --dark: #102822;
  --mint: #d7e6ac;
  --warm: #d3a962;
  --serif: "Songti SC", "Noto Serif SC", SimSun, serif;
  --sans: "PingFang SC", "Microsoft YaHei UI", "Noto Sans SC", sans-serif;
  --wrap: min(1320px, calc(100% - 112px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; font: 15px/1.65 var(--sans); color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1,h2,h3,p { margin: 0; }
:focus-visible { outline: 2px solid #467247; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: fixed; z-index: 4; inset: 10px auto auto 10px; background: white; padding: 10px 16px; transform: translateY(-200%); }
.skip:focus { transform: none; }
.mast { border-bottom: 1px solid var(--line); }
.mast-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; font-size: 23px; font-weight: 800; letter-spacing: .06em; }
.brand img { border-radius: 25%; }
.mast nav { display: flex; gap: clamp(18px, 3.2vw, 50px); font-size: 14px; }
.mast nav a { color: var(--muted); }
.mast nav a:hover, .mast nav [aria-current] { color: var(--green); text-decoration: underline; text-underline-offset: 6px; }
.mast-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.site-admin-trigger { display: grid; place-items: center; width: 28px; height: 30px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); cursor: pointer; font-size: 21px; }
.site-admin-trigger:hover,.site-admin-trigger:focus-visible { background: var(--line); color: var(--green); }
.site-admin { width: min(800px,calc(100% - 24px)); max-height: min(88dvh,810px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 22px 80px #18292332; }
.site-admin::backdrop { background: #152b27a6; }
.site-admin [hidden] { display: none; }
.site-admin-head { position: sticky; z-index: 1; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 16px 23px; border-bottom: 1px solid var(--line); background: var(--paper); }
.site-admin h2,.site-admin h3 { margin: 0; line-height: 1.2; }
.site-admin h2 { font-size: 22px; }
.site-admin h3 { margin-bottom: 12px; font-size: 17px; }
.site-admin-head button,.site-admin-actions button { border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--green); padding: 5px 9px; cursor: pointer; font: inherit; }
.site-admin-head button { line-height: 1; font-size: 19px; }
.site-admin-status { margin: 14px 23px 0; color: var(--muted); }
.site-admin-form { display: grid; justify-items: start; gap: 15px; width: min(100%,390px); padding: 21px 23px 26px; }
.site-admin-form label { display: grid; gap: 5px; width: 100%; font-size: 14px; }
.site-admin-form input { min-width: 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--ink); font: inherit; }
.site-admin-form button { cursor: pointer; }
.site-admin-body { display: grid; gap: 22px; padding: 16px 23px 24px; }
.site-admin-actions { display: flex; justify-content: flex-end; gap: 8px; }
[data-admin-download-state] { margin: 0 auto 0 0; align-self: center; font-weight: 650; }
[data-download][aria-disabled=true],[data-portable-download][aria-disabled=true] { opacity: .52; cursor: default; }
.site-admin-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 0 0 10px; }
.site-admin-metrics>div { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; }
.site-admin-metrics dt,.site-admin-server,.site-admin-backup p { color: var(--muted); font-size: 13px; }
.site-admin-metrics dd { margin: 4px 0 0; color: var(--green); font-size: 19px; font-weight: 700; }
.site-admin-table { max-height: 265px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
.site-admin table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.site-admin caption { padding: 8px 11px; text-align: left; color: var(--muted); }
.site-admin th,.site-admin td { padding: 7px 11px; border-top: 1px solid var(--line); white-space: nowrap; }
.site-admin-backup { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.site-admin-backup h3,.site-admin-backup p,.site-admin-server { margin: 0; }
@media (max-width: 430px) {
  .mast-actions { gap: 3px; }
  .site-admin-head,.site-admin-body,.site-admin-form { padding-inline: 12px; }
  .site-admin-metrics>div { padding-inline: 6px; }
  .site-admin-metrics dd { font-size: 16px; }
}
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 11px 19px; border: 1px solid transparent; border-radius: 8px; background: var(--green); color: #fffdf4; font-weight: 650; white-space: nowrap; transition: background .2s, transform .2s; }
.pill:hover { background: #295847; transform: translateY(-2px); }
.pill span { font-size: 16px; font-weight: 450; }
.pill-small { min-height: 38px; padding: 6px 13px; font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 650; text-underline-offset: 5px; }
.text-link:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); align-items: center; gap: clamp(30px,5vw,82px); padding-block: clamp(58px,6vw,90px) clamp(50px,5.5vw,78px); }
.hero-text { align-self: center; }
.overline { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .11em; }
.overline > span:first-child { width: 7px; height: 7px; background: #86734d; border-radius: 50%; flex: 0 0 auto; }
.hero h1, .guide h1 { margin: 20px 0 24px; font-size: clamp(40px,4.62vw,73px); font-weight: 760; line-height: 1.16; letter-spacing: -.042em; }
.hero h1 em { color: #315845; font-family: var(--serif); font-weight: 800; font-style: normal; }
.hero-summary { max-width: 24em; color: var(--muted); font-size: clamp(15px,1.25vw,19px); line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 23px; margin-top: 29px; }
.version { display: flex; flex-wrap: wrap; gap: 9px 12px; margin-top: 17px; color: #5d665b; font-size: 12px; }
.version span + span::before { content: "·"; margin-right: 12px; }
.workbench { position: relative; width: 100%; overflow: hidden; padding: 15px 17px 13px; border: 1px solid #365346; border-radius: 15px; color: #f0f2e6; background: radial-gradient(ellipse at 89% 15%,#2d4a3d 0,transparent 62%),var(--dark); box-shadow: 0 21px 46px #22382b29,0 3px 8px #162e2224; }
.hero .workbench { animation: workbench-in .67s cubic-bezier(.2,.7,.25,1) both; }
@keyframes workbench-in { from { opacity: .55; transform: translateY(15px); } to { opacity: 1; transform: none; } }
.workbench-head { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 1px 11px; font-size: 12px; }
.workbench-head span { display: flex; gap: 7px; align-items: center; letter-spacing: .06em; }
.workbench-head i { width: 6px; height: 6px; display: block; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px #caeaa085; }
.play-demo, .flight-button { border: 1px solid #657b6acc; border-radius: 5px; background: #f3f7d609; color: #e3e9d7; padding: 4px 9px; font-size: 12px; line-height: 1.5; }
.play-demo:hover, .flight-button:hover { background: #f3f7d626; }
.workbench-screen { overflow: hidden; border-radius: 8px; border: 1px solid #879486; background: #f4f0e6; }
.demo-tabs { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; margin-top: 11px; }
.demo-tabs button { display: flex; align-items: center; justify-content: center; min-height: 34px; padding: 4px; border: 1px solid transparent; border-radius: 5px; color: #d2ddcc; background: transparent; font-size: 12px; line-height: 1.3; }
.demo-tabs button:hover { background: #ffffff17; }
.demo-tabs [aria-selected=true] { color: #1c3426; background: var(--mint); font-weight: 750; }
.demo-caption { min-height: 19px; margin-top: 7px; padding-inline: 3px; color: #bac8b9; font-size: 11px; }
.platform-bar { border-block: 1px solid var(--line); background: #ecebdf; }
.platform-inner { display: flex; align-items: center; justify-content: center; gap: clamp(20px,6vw,82px); flex-wrap: wrap; min-height: 72px; padding-block: 12px; }
.platform-inner > span { font-size: 12px; color: var(--muted); }
.platform-inner strong { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; }
.platform-dot { width: 8px; height: 8px; border-radius: 50%; }
.dy { background: #354e45; } .xhs { background: #ac5348; } .bili { background: #437c91; }
.workflow { padding-block: clamp(58px,8vw,112px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 26px; }
.section-head h2,.download-inner h2 { margin-top: 9px; font-size: clamp(32px,3.2vw,53px); line-height: 1.22; letter-spacing: -.04em; }
.section-head > p { max-width: 33ch; color: var(--muted); }
.flow-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); gap: clamp(24px,4vw,58px); }
.flight { overflow: hidden; position: relative; display: flex; flex-direction: column; min-height: 308px; padding: 15px 20px; border-radius: 12px; background: radial-gradient(ellipse at 43% 75%,#2f4633,transparent 66%),#182d25; color: #e8ecda; }
.flight-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; color: #d3dfcd; font-size: 12px; }
.flight-route { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; column-gap: 9%; min-height: 225px; padding-inline: clamp(8px,3vw,36px); }
.flight-origin { display: grid; justify-items: center; gap: 10px; color: #d1ddcd; font-size: 12px; }
.deck { display: flex; justify-content: center; align-items: center; margin-inline: 10px; width: 128px; height: 90px; }
.cover-tile { display: block; background-image: url("demo-covers.webp"); background-size: 400% 300%; background-repeat: no-repeat; background-color: #627659; }
.tile-a { background-position: 0 0; } .tile-b { background-position: 33.333% 0; } .tile-c { background-position: 66.666% 0; }
.deck i { flex: 0 0 47px; height: 65px; border-radius: 4px; border: 1px solid #d8dbc060; box-shadow: 0 9px 14px #0d1d18aa; transform: translateX(7px) rotate(-12deg); }
.deck i:nth-child(2) { transform: translateY(-6px) rotate(1deg); z-index: 1; }
.deck i:nth-child(3) { transform: translateX(-6px) rotate(13deg); }
.flight-line { border-top: 1px dashed #7c987280; position: absolute; width: 34%; left: 31%; top: 51%; }
.flight-targets { z-index: 1; display: grid; gap: 8px; }
.flight-shelf { display: flex; align-items: center; gap: 9px; border: 1px solid #6d80666c; min-height: 50px; padding: 5px 8px; border-radius: 6px; background: #24382f; font-size: 12px; }
.flight-shelf i { width: 30px; height: 35px; flex: 0 0 auto; border-radius: 3px; }
.flight-shelf b { color: var(--mint); margin-inline-start: auto; white-space: nowrap; }
.flying { z-index: 2; position: absolute; left: 24%; top: 45%; width: 40px; height: 52px; border-radius: 5px; box-shadow: 0 10px 24px #0e2317aa; pointer-events: none; opacity: 0; }
.fly-a { --wait: .05s; --target-y: 22%; } .fly-b { --wait: .53s; --target-y: 45%; } .fly-c { --wait: 1.01s; --target-y: 67%; }
.shelf-a { --land: .75s; } .shelf-b { --land: 1.23s; } .shelf-c { --land: 1.71s; }
.flight.is-running .flying { animation: travel .8s var(--wait) cubic-bezier(.35,.1,.46,1) both; }
.flight.is-running .flight-shelf { animation: arrival .65s var(--land) both; }
.flight.is-running .flight-shelf b { animation: count-in .25s var(--land) both; }
@keyframes travel {
  0% { left: 24%; top: 45%; opacity: 0; transform: rotate(-22deg) scale(.8); }
  19% { opacity: 1; transform: rotate(-17deg) scale(1.1); }
  84% { opacity: 1; }
  100% { left: 56%; top: var(--target-y); opacity: 0; transform: rotate(0) scale(.72); }
}
@keyframes arrival { 36% { border-color: #b4d28e; box-shadow: 0 0 14px #b4d28e40; } }
@keyframes count-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.flow-steps { list-style: none; padding: 0; margin: 0; display: grid; }
.flow-steps li { display: grid; grid-template-columns: 33px 1fr; gap: 14px; padding-block: 15px; border-top: 1px solid var(--line); align-content: center; }
.flow-steps li:last-child { border-bottom: 1px solid var(--line); }
.flow-steps li > span { color: #71633d; font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; padding-top: 4px; }
.flow-steps h3 { font-size: 17px; margin-bottom: 4px; }
.flow-steps p { color: var(--muted); font-size: 14px; }
.flow-link { margin-top: 19px; }
.changelog { padding-block: clamp(32px,5vw,66px) clamp(48px,7vw,94px); border-top: 1px solid var(--line); }
.changelog .section-head { margin-bottom: 22px; }
.changelog h2 { margin: 0; }
.release-entry { display: grid; grid-template-columns: minmax(132px,.28fr) minmax(0,1fr); gap: clamp(16px,4vw,54px); padding: clamp(20px,3.5vw,42px); border: 1px solid var(--line); border-radius: 12px; background: var(--paper-light); }
.release-entry + .release-entry { margin-top: 16px; }
.release-version h3 { margin-bottom: 3px; color: var(--green); font-size: clamp(27px,3.2vw,46px); line-height: 1.16; font-variant-numeric: tabular-nums; }
.release-version time { color: var(--muted); font-size: 13px; }
.release-changes { margin: 0; padding-left: 19px; }
.release-changes li { padding-left: 4px; }
.release-changes li::marker { color: #527559; }
.release-changes li + li { margin-top: 14px; }
.release-changes p { margin-top: 2px; color: var(--muted); }
.release-changes kbd { display: inline-block; padding-inline: 4px; border: 1px solid var(--line); border-radius: 4px; font-size: .9em; }
.download-band { background: #dce5ca; border-block: 1px solid #cbd6bc; }
.download-inner { min-height: 216px; padding-block: 31px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.download-inner > div > p:last-child { margin-top: 8px; color: #415246; }
.download-options { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 23px; }
.footer { color: #425345; background: #edebdf; }
.footer-inner { min-height: 76px; display: flex; align-items: center; gap: 22px; font-size: 13px; }
.footer-inner .brand { font-size: 16px; margin-inline-end: auto; }
.footer-inner > a:not(.brand):hover { text-decoration: underline; text-underline-offset: 4px; }
.guide { padding-block: 68px 90px; }
.guide-header { margin-bottom: 44px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.guide h1 { margin-block: 10px 12px; }
.guide-header > p:last-child { color: var(--muted); font-size: 17px; }
.guide-grid { display: grid; grid-template-columns: 205px minmax(0,860px); gap: clamp(24px,5vw,80px); }
.guide-contents { position: sticky; top: 28px; align-self: start; display: grid; gap: 13px; padding: 2px 20px 10px 0; border-right: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.guide-contents b { color: var(--ink); }
.guide-contents a:hover, .guide-steps p a:hover { text-decoration: underline; text-underline-offset: 5px; }
.guide-steps > section { margin-bottom: 37px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.guide-steps > section:last-child { border: none; padding: 0; margin: 0; }
.guide-steps h2 { margin: 4px 0 10px; font-size: clamp(22px,2.4vw,34px); letter-spacing: -.035em; }
.guide-steps section p + p { margin-top: 8px; }
.guide-steps p:not(.step-label) { color: var(--muted); }
.guide-steps p a { color: var(--green); font-weight: 700; }
.step-label { font-size: 12px; color: #766340; font-weight: 750; }
.guide-steps img { width: 100%; height: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: 9px; background: #eeeadd; }
.guide-steps .pill { margin-top: 21px; }
@media (max-width: 1040px) {
  :root { --wrap: calc(100% - 64px); }
  .hero { gap: 27px; }
  .hero h1 { font-size: clamp(35px,5vw,57px); }
}
@media (max-width: 780px) {
  :root { --wrap: calc(100% - 42px); }
  .mast-inner { min-height: 65px; gap: 14px; }
  .mast nav { gap: 15px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 38px 46px; }
  .hero h1 { font-size: clamp(39px,8vw,64px); margin-block: 14px; }
  .hero-actions { margin-top: 20px; }
  .workbench { max-width: 720px; }
  .flow-grid { grid-template-columns: 1fr; }
  .section-head, .download-inner { align-items: start; flex-direction: column; gap: 13px; }
  .download-inner { gap: 22px; }
  .guide { padding-block: 38px 58px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-contents { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 9px 17px; border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 15px; }
  .guide-header { margin-bottom: 16px; }
}
@media (max-width: 430px) {
  :root { --wrap: calc(100% - 32px); }
  .brand { font-size: 19px; gap: 6px; }
  .brand img { width: 31px; height: 31px; }
  .mast nav a:nth-child(2) { display: none; }
  .mast:has(.mast-changelog) .mast-inner { flex-wrap: wrap; row-gap: 8px; padding-block: 10px; }
  .mast:has(.mast-changelog) nav { order: 1; flex-basis: 100%; justify-content: space-between; gap: 8px; }
  .mast:has(.mast-changelog) nav a:nth-child(2) { display: inline; }
  .mast .pill-small { min-height: 34px; padding-inline: 8px; gap: 5px; font-size: 11px; }
  .workbench { padding: 10px; }
  .platform-inner { justify-content: start; gap: 12px; }
  .platform-inner > span { flex-basis: 100%; }
  .flight { padding: 12px; min-height: 280px; }
  .flight-route { column-gap: 3%; padding-inline: 3px; }
  .flight-shelf { gap: 5px; padding-inline: 5px; font-size: 10px; }
  .flight-shelf i { width: 23px; height: 29px; }
  .deck { width: 106px; }
  .deck i { flex-basis: 37px; height: 56px; }
  .footer-inner { gap: 12px; }
}
@media (max-width: 560px) {
  .release-entry { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}



.demo-video { display:block; width:100%; height:auto; aspect-ratio:16/9; background:#102822; cursor:pointer; }
.demo-video:fullscreen { object-fit:contain; max-height:100vh; }
.demo-open-video { display:block; padding:8px; color:var(--green); }
.workbench-head .demo-duration { color:#c2d0bd; letter-spacing:normal; }
.demo-controls { display:flex; align-items:center; gap:9px; margin-top:9px; }
.demo-icon { display:grid; place-items:center; width:32px; height:34px; flex:0 0 auto; color:#edf0e5; background:transparent; border:1px solid transparent; border-radius:6px; font-size:13px; }
.demo-icon:hover,.demo-icon.is-live { color:#e4f3bb; background:#ffffff1b; }
.demo-icon svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.demo-clock { min-width:32px; text-align:right; color:#cfdbca; font:12px/1.2 system-ui,sans-serif; font-variant-numeric:tabular-nums; }
.demo-seek { width:100%; min-width:0; margin:0; accent-color:var(--mint); cursor:pointer; }
.demo-tabs { grid-template-columns:repeat(6,minmax(0,1fr)); margin-top:7px; }
.demo-tabs [aria-pressed=true] { color:#1c3426; background:var(--mint); font-weight:750; }
.demo-tabs .is-playing-chapter { border-color:#b5c991; color:#e9f1cf; }
@media (max-width: 1050px) { .demo-tabs { grid-template-columns:repeat(3,minmax(0,1fr)); } }
