@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #080808;
  --surface: #131313;
  --surface-raised: #191919;
  --text: #f4f2ef;
  --muted: #aaa6a3;
  --subtle: #898583;
  --line: #33302f;
  --red: #f22631;
  --red-dark: #bd111b;
  --serif: "Songti SC", "Noto Serif CJK SC", "STSong", Georgia, serif;
  --sans:
    Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(1.25rem, 5.5vw, 6rem);
  --radius: 6px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
button {
  color: inherit;
}
button,
input,
select {
  border-radius: var(--radius);
}
button {
  background: none;
  border: 0;
}
a,
button,
input,
select {
  outline-offset: 5px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--red);
}
button:hover,
a:hover {
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s;
}
::selection {
  background: #b52129;
  color: #fff;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.25;
}
img,
svg {
  display: block;
}
svg {
  flex: none;
}
ul,
ol {
  padding-left: 1.25rem;
}
li + li {
  margin-top: 0.5rem;
}
[hidden] {
  display: none !important;
}
.container {
  width: calc(100% - var(--gutter) * 2);
  max-width: 1380px;
  margin-inline: auto;
}
.mono {
  font-family: var(--mono);
  font-size: 12px;
}
.eyebrow {
  font: 11px/1.4 var(--mono);
  letter-spacing: 0.17em;
  color: var(--red);
}
.icon {
  width: 32px;
  height: 34px;
}
.red-dot,
.brand-dot {
  color: var(--red);
}
.serif-accent {
  font-family: var(--serif);
  font-weight: 700;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 20px;
  transform: translateY(-150%);
  padding: 10px 20px;
  background: var(--text);
  color: var(--bg);
}
.skip-link:focus {
  transform: translateY(0);
}
#main:focus {
  outline: none;
}
.noscript {
  padding: 50px;
}
.initial-loading {
  padding: 220px var(--gutter);
  min-height: 75vh;
  color: var(--muted);
}
.site-header {
  position: fixed;
  z-index: 30;
  top: 22px;
  left: var(--gutter);
  right: var(--gutter);
  max-width: 1380px;
  margin: auto;
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 24px;
  border: 1px solid #ffffff21;
  border-radius: 12px;
  background: #111111b8;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.015em;
}
.brand-moon {
  width: 30px;
  height: 30px;
}
.brand-dot {
  font-size: 26px;
}
.desktop-nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
  margin-right: 30px;
  align-items: center;
  height: 100%;
}
.desktop-nav > a {
  font-size: 13px;
  color: #c5c0bd;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
.desktop-nav > a:hover,
.desktop-nav > a[aria-current] {
  color: var(--text);
}
.desktop-nav > a[aria-current]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  bottom: 14px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    background 0.2s,
    transform 0.2s,
    border-color 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button span {
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}
.button-primary,
.header-cta {
  background: linear-gradient(120deg, #e9232b, #c90e18);
  color: #fff;
}
.button-primary:hover,
.header-cta:hover {
  background: #f32a34;
}
.header-cta {
  min-height: 38px;
  padding: 7px 16px;
  font-size: 12px;
  gap: 18px;
}
.header-cta span {
  font-size: 18px;
}
.button-outline {
  border-color: #807a76;
  background: #ffffff03;
}
.button-outline:hover {
  border-color: var(--text);
  background: #ffffff09;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.menu-toggle span {
  height: 1px;
  width: 22px;
  background: var(--text);
}
.mobile-nav {
  display: none;
}
.hero {
  position: relative;
  min-height: 710px;
  height: min(820px, 85svh);
  isolation: isolate;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  inset: 0;
  background: url("./assets/lua-orbit.png") no-repeat center center;
  background-size: cover;
  z-index: -2;
  animation: hero-drift 12s ease-in-out infinite alternate;
  transform-origin: 72% 50%;
}
.hero-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, #080808dd 0%, #08080866 30%, transparent 58%),
    linear-gradient(0deg, var(--bg), transparent 17%);
}
.sphere-mark {
  position: absolute;
  top: 45%;
  left: 72.3%;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(40px, 4vw, 66px);
  color: #e2dcd6bd;
  transform: rotate(-8deg);
  text-shadow: 1px 2px 1px #000;
  z-index: 1;
}
.hero-grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.025;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='white' filter='url(%23n)' opacity='.5' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.hero-inner {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 60px;
}
.hero-copy {
  max-width: 600px;
  padding-bottom: 12px;
  animation: copy-enter 0.9s both;
}
.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 26px;
}
.hero-copy .eyebrow > span {
  width: 5px;
  height: 5px;
  background: var(--red);
  box-shadow: 0 0 10px #e42a2c;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(58px, 6.1vw, 92px);
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.title-period {
  margin-left: -0.12em;
}
.hero-description {
  font-size: 16px;
  letter-spacing: 0.12em;
  color: #bbb5b0;
  margin-top: 24px;
}
.hero-description i {
  font-style: normal;
  color: #665b58;
  margin-inline: 10px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
}
.hero-actions > .button {
  min-width: 166px;
  min-height: 50px;
}
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 0;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 11px;
  color: #c2bab4;
}
.scroll-caption {
  display: block;
  font: 8px var(--mono);
  letter-spacing: 0.12em;
  color: var(--subtle);
  margin-top: 4px;
}
.mouse-shape {
  display: block;
  border: 1px solid #a79e98;
  width: 16px;
  height: 27px;
  border-radius: 12px;
  position: relative;
}
.mouse-shape i {
  position: absolute;
  width: 2px;
  height: 5px;
  top: 5px;
  left: 6px;
  background: var(--text);
  animation: mouse-scroll 2s infinite;
}
.hero-coordinate {
  position: absolute;
  right: 0;
  bottom: 40px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #9a8d86;
}
.section {
  padding-top: 35px;
  padding-bottom: 55px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}
.section-heading h2 {
  font-family: var(--serif);
  font-size: 33px;
  margin-top: 9px;
  font-weight: 700;
}
.section-heading h2 .red-dot {
  padding-left: 4px;
  font-family: Georgia, serif;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  color: var(--muted);
  padding: 3px 0;
}
.text-link:hover {
  color: var(--red);
}
.text-link > span {
  font-size: 20px;
  color: var(--red);
}
.script-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.script-card {
  position: relative;
  isolation: isolate;
  background: linear-gradient(125deg, #1b1919, #111);
  border: 1px solid #3d3533;
  border-top-color: #7c3030;
  border-radius: 6px;
  padding: 20px 24px 0;
  transition:
    transform 0.25s,
    border-color 0.25s,
    background 0.25s;
  overflow: hidden;
}
.script-card:hover {
  transform: translateY(-5px);
  border-color: #b45454;
  background: linear-gradient(125deg, #221b1b, #141111);
}
.script-card:has(a:focus-visible) {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.card-number {
  font: 10px var(--mono);
  color: #857673;
}
.card-env {
  font: 10px var(--mono);
  color: #ada19a;
}
.card-title-row {
  display: flex;
  gap: 18px;
  align-items: center;
}
.card-title-row > .icon {
  width: 33px;
  height: 36px;
  color: #e5dfda;
}
.card-title-row h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
}
.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card-link:focus-visible {
  outline: none;
}
.card-subtitle {
  display: block;
  font: 8px var(--mono);
  letter-spacing: 0.12em;
  color: #a59790;
  margin-top: 6px;
}
.card-description {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 19px;
  min-height: 44px;
}
.card-tags {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 13px;
  margin-bottom: 23px;
}
.badge {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 3px;
  background: #661b1d;
  color: #ffc3c2;
  font-size: 10px;
  line-height: 1.7;
  white-space: nowrap;
}
.badge-neutral {
  background: #33302d;
  color: #d3c5b4;
}
.quiet-tag {
  color: #a49c97;
  font-size: 10px;
}
.card-bottom {
  border-top: 1px solid #443a35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  color: #b8aaa1;
}
.card-bottom .mono {
  font-size: 10px;
}
.card-action {
  font-size: 11px;
}
.card-action > span {
  margin-left: 10px;
  color: #f1e5dc;
  font-size: 16px;
}
.demo-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--subtle);
  font-size: 11px;
  margin-top: 20px;
  line-height: 1.8;
}
.small-dot {
  width: 4px;
  height: 4px;
  background: #9c302f;
  border-radius: 50%;
}
.archive-band {
  margin-top: 25px;
  margin-bottom: 95px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 42px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.archive-band h2 {
  font-family: var(--serif);
  font-size: 36px;
  margin-top: 14px;
}
.archive-band p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}
.circle-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border: 1px solid #6b3c39;
  border-radius: 50%;
  font-size: 32px;
  color: var(--red);
}
.circle-link:hover {
  border-color: var(--red);
  background: #c6172012;
}
.site-footer {
  padding-bottom: 28px;
}
.footer-brand {
  font-size: 23px;
}
.site-footer > p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 13px;
}
.footer-bottom {
  border-top: 1px solid #292524;
  padding-top: 22px;
  margin-top: 37px;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  color: #a49890;
  font-size: 9px;
  letter-spacing: 0.06em;
}
.footer-bottom > span:nth-child(2) {
  font: 8px var(--mono);
  color: #807871;
}
.footer-bottom > a {
  font-size: 10px;
}
.footer-bottom > a > span {
  margin-left: 8px;
}
.page-section {
  padding-top: 165px;
  padding-bottom: 100px;
  min-height: 75vh;
}
.page-intro {
  margin-bottom: 48px;
}
.page-intro h1 {
  font-size: 46px;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-top: 18px;
  line-height: 1.3;
}
.page-intro > p:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin-top: 18px;
}
.library-toolbar {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #48403d;
  background: #111;
  min-height: 54px;
  padding: 0 17px;
  border-radius: 5px;
}
.search-box:focus-within {
  border-color: #b55b58;
}
.search-box > .icon {
  width: 19px;
  height: 21px;
  color: #b3a59d;
}
.search-box input {
  width: 100%;
  color: var(--text);
  border: 0;
  background: none;
  outline: none;
  font-size: 13px;
  min-height: 48px;
}
.search-box input:focus-visible {
  outline: none;
}
.search-box input::placeholder {
  color: #928781;
}
.search-box kbd {
  font: 11px var(--mono);
  color: #9e8f87;
  border: 1px solid #4c423c;
  padding: 0 6px;
  border-radius: 3px;
}
.sort-label {
  display: flex;
  max-width: 180px;
}
.sort-label select {
  padding: 0 36px 0 17px;
  border: 1px solid #48403d;
  background: #111;
  color: #cbbeb5;
  font-size: 12px;
}
.filter-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 28px;
}
.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-tab {
  font-size: 12px;
  color: #aaa099;
  padding: 8px 12px;
  border: 1px solid transparent;
}
.filter-tab > span {
  font: 9px var(--mono);
  margin-left: 8px;
  color: #b6aaa1;
}
.filter-tab.active {
  border-color: #733432;
  background: #371719;
  color: #ffd4ce;
}
.filter-tab:hover {
  color: var(--text);
}
.result-count {
  font-size: 11px;
  color: var(--subtle);
  white-space: nowrap;
}
.library-grid {
  row-gap: 24px;
}
.empty-state {
  padding: 80px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 6px;
}
.empty-state > .icon {
  margin: 0 auto 25px;
  color: var(--subtle);
  width: 42px;
  height: 44px;
}
.empty-state h2 {
  font-family: var(--serif);
  font-size: 27px;
}
.empty-state p {
  color: var(--muted);
  font-size: 13px;
  margin: 15px auto 28px;
}
.empty-state > .button {
  font-size: 12px;
}
.not-found {
  margin-top: 160px;
  margin-bottom: 80px;
  padding-top: 70px;
  min-height: auto;
}
.not-found h1 {
  font-family: var(--serif);
  font-size: 50px;
  margin-top: 20px;
}
.narrow-page {
  max-width: 1050px;
}
.timeline {
  margin-top: 40px;
}
.timeline-entry {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding: 36px 0;
}
.timeline-entry > time {
  font: 12px var(--mono);
  color: #b3a297;
  padding-top: 4px;
}
.timeline-entry h2 {
  font-family: var(--serif);
  font-size: 25px;
  margin-top: 10px;
}
.version-label {
  font: 12px var(--mono);
  color: #c57a70;
  margin-left: 10px;
}
.timeline-entry ul {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0;
}
.timeline-entry .eyebrow {
  font-size: 9px;
}
.about-page {
  max-width: 1150px;
}
.about-page .page-intro h1 {
  font-size: 62px;
  line-height: 1.5;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.about-index {
  font: 10px var(--mono);
  color: #b77c70;
  letter-spacing: 0.08em;
}
.about-content h2 {
  font-family: var(--serif);
  font-size: 33px;
  margin-top: 20px;
  line-height: 1.6;
}
.about-content p {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}
.about-content p + p {
  margin-top: 16px;
}
.about-content .button {
  margin-top: 25px;
}
.back-link {
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  margin-bottom: 35px;
}
.back-link:hover {
  color: var(--red);
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  grid-template-areas: "heading download" "content download";
  column-gap: clamp(30px, 6vw, 90px);
  row-gap: 0;
  align-items: start;
}
.detail-heading {
  grid-area: heading;
}
.detail-main {
  grid-area: content;
  min-width: 0;
}
.detail-title {
  display: flex;
  gap: 19px;
  align-items: center;
  margin-top: 17px;
}
.detail-title > .icon {
  width: 40px;
  height: 42px;
}
.detail-title h1 {
  font-family: var(--serif);
  font-size: 43px;
}
.detail-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  margin-top: 23px;
}
.detail-lead {
  color: #bbb0a9;
  line-height: 1.9;
  font-size: 14px;
  margin-top: 24px;
}
.detail-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin-top: 40px;
}
.detail-tabs > button {
  padding: 12px 0 15px;
  color: #9d9289;
  font-size: 13px;
  border-radius: 0;
  position: relative;
}
.detail-tabs > button[aria-selected="true"] {
  color: var(--text);
}
.detail-tabs > button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  background: var(--red);
  height: 2px;
}
.detail-tabs > button > span {
  font: 9px var(--mono);
  padding-left: 5px;
}
.tab-panel {
  padding-top: 32px;
}
.tab-panel h2 {
  font-family: var(--serif);
  font-size: 23px;
  margin-bottom: 16px;
}
.tab-panel > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}
.tab-panel > h2:not(:first-child) {
  margin-top: 35px;
}
.feature-list {
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: #c5b8af;
}
.feature-list > li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
}
.feature-list > li > span {
  color: var(--red);
}
.usage-list {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.usage-list > li {
  padding-left: 7px;
  margin-top: 13px;
}
.usage-list > li::marker {
  color: #c77d70;
  font: 12px var(--mono);
}
.command-block {
  margin-top: 22px;
  border: 1px solid var(--line);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  background: #101010;
  border-radius: 5px;
}
.command-block code {
  font: 11px/1.8 var(--mono);
  overflow-wrap: anywhere;
}
.command-block button,
.code-heading button {
  font-size: 11px;
  color: #c1a89a;
  white-space: nowrap;
}
.demo-note {
  padding: 16px;
  border-left: 2px solid #78322f;
  background: #1b1312;
  margin-top: 30px;
  font-size: 11px !important;
}
.download-panel {
  grid-area: download;
  position: sticky;
  top: 125px;
  background: linear-gradient(140deg, #211b19, #111);
  border: 1px solid #51403b;
  border-top: 2px solid #b53b3a;
  padding: 29px 25px;
  border-radius: 6px;
}
.download-symbol {
  color: #e9d8cb;
  margin-bottom: 27px;
}
.download-symbol > .icon {
  width: 40px;
  height: 42px;
}
.download-panel .eyebrow {
  font-size: 9px;
}
.download-panel h2 {
  font-family: var(--serif);
  font-size: 31px;
  margin-top: 12px;
}
.download-filename {
  font: 10px/1.8 var(--mono);
  color: #bbae9f;
  margin-top: 15px;
  overflow-wrap: anywhere;
}
.download-panel dl {
  font-size: 11px;
  margin: 22px 0 26px;
}
.download-panel dl > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #3d302a;
}
.download-panel dt {
  color: #a39186;
}
.download-panel dd {
  margin: 0;
  color: #e4d6ca;
  text-align: right;
}
.download-button {
  width: 100%;
  justify-content: space-between;
}
.download-note {
  text-align: center;
  font-size: 10px;
  color: #b6a393;
  margin-top: 10px;
}
.checksum {
  border-top: 1px solid #423027;
  margin-top: 25px;
  padding-top: 15px;
}
.checksum > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 9px var(--mono);
  color: #c1ac9a;
}
.checksum button {
  font-size: 9px;
  color: #c4a18c;
  padding: 4px 0;
}
.checksum code {
  display: block;
  font: 9px/1.8 var(--mono);
  color: #b6a392;
  overflow-wrap: anywhere;
  margin-top: 8px;
}
.release-entry {
  border-bottom: 1px solid var(--line);
  padding: 0 0 28px;
  margin-bottom: 30px;
}
.release-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.release-heading h2 {
  font-family: var(--mono);
  font-size: 19px;
  margin: 0;
}
.release-heading > time {
  font: 10px var(--mono);
  color: var(--muted);
  margin-left: auto;
}
.release-entry ul {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 20px 0;
}
.code-heading {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  font: 10px var(--mono);
  color: var(--muted);
  padding-bottom: 14px;
  overflow-wrap: anywhere;
}
.code-preview {
  border: 1px solid var(--line);
  background: #111;
  padding: 22px 20px;
  overflow: auto;
  max-height: 650px;
  color: #d9c0aa;
  border-radius: 5px;
  font: 11px/1.9 var(--mono);
  tab-size: 2;
  white-space: pre;
}
.error-note {
  color: #f2a195;
  font-size: 11px;
  margin-top: 15px;
}
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  background: #eee4dc;
  color: #241914;
  border: 1px solid #fff9;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 12px;
  z-index: 100;
  box-shadow: 0 8px 40px #0007;
}
@keyframes hero-drift {
  from {
    transform: scale(1) translateY(0);
  }
  to {
    transform: scale(1.025) translateY(-6px);
  }
}
@keyframes copy-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes mouse-scroll {
  0%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(6px);
  }
}
@media (min-width: 1700px) {
  .hero-art {
    background-size: 1700px auto;
  }
  .hero h1 {
    font-size: 94px;
  }
}
@media (max-width: 1100px) {
  .site-header {
    padding: 0 19px;
  }
  .brand {
    font-size: 20px;
    gap: 8px;
  }
  .desktop-nav {
    gap: 23px;
    margin-right: 22px;
  }
  .hero h1 {
    font-size: 70px;
  }
  .hero {
    min-height: 660px;
    height: 76svh;
  }
  .script-card {
    padding-inline: 20px;
  }
  .card-title-row {
    gap: 12px;
  }
  .card-title-row h3 {
    font-size: 20px;
  }
  .card-title-row > .icon {
    width: 28px;
  }
  .card-description {
    font-size: 11px;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 30px;
  }
  .detail-title h1 {
    font-size: 36px;
  }
  .download-panel {
    padding-inline: 20px;
  }
  .sphere-mark {
    left: 74%;
    font-size: 46px;
  }
  .hero-copy {
    max-width: 520px;
  }
}
@media (max-width: 800px) {
  :root {
    --gutter: 28px;
  }
  .desktop-nav {
    gap: 18px;
    margin-right: 0;
  }
  .header-cta {
    display: none;
  }
  .site-header {
    height: 64px;
    top: 16px;
  }
  .hero {
    min-height: 640px;
  }
  .hero h1 {
    font-size: 63px;
  }
  .hero-copy .eyebrow {
    font-size: 10px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-art {
    background-position: 56% center;
  }
  .sphere-mark {
    left: 78%;
    top: 46%;
  }
  .hero-art::after {
    background:
      linear-gradient(90deg, #080808ed, #08080888 42%, transparent 80%),
      linear-gradient(0deg, var(--bg), transparent 20%);
  }
  .hero-coordinate {
    display: none;
  }
  .hero-actions > .button {
    min-width: 145px;
    padding-inline: 18px;
    font-size: 12px;
  }
  .script-grid {
    gap: 14px;
  }
  .script-card {
    padding: 17px 16px 0;
  }
  .card-title-row > .icon {
    width: 24px;
  }
  .card-title-row {
    gap: 10px;
  }
  .card-title-row h3 {
    font-size: 18px;
  }
  .card-env {
    font-size: 8px;
  }
  .card-subtitle {
    font-size: 7px;
    letter-spacing: 0.03em;
  }
  .card-description {
    min-height: 60px;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "download" "content";
    row-gap: 28px;
  }
  .download-panel {
    position: static;
    padding: 24px;
    display: block;
  }
  .download-panel .download-symbol {
    display: none;
  }
  .download-panel h2 {
    font-size: 26px;
  }
  .download-panel dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    margin-block: 15px 22px;
  }
  .download-panel .checksum {
    margin-top: 18px;
  }
  .download-panel .checksum code {
    font-size: 10px;
  }
  .detail-title h1 {
    font-size: 40px;
  }
  .page-intro h1 {
    font-size: 38px;
  }
  .about-page .page-intro h1 {
    font-size: 49px;
  }
  .page-section {
    padding-top: 140px;
  }
  .timeline-entry {
    grid-template-columns: 115px 1fr;
    gap: 20px;
  }
  .about-content {
    gap: 35px;
  }
}
@media (max-width: 600px) {
  :root {
    --gutter: 20px;
  }
  .site-header {
    height: 61px;
    top: 12px;
    padding: 0 15px;
    border-radius: 9px;
  }
  .brand {
    font-size: 18px;
    gap: 9px;
  }
  .brand-moon {
    width: 25px;
    height: 25px;
  }
  .brand-dot {
    font-size: 22px;
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
    margin-left: auto;
  }
  .mobile-nav {
    position: absolute;
    top: 70px;
    left: -1px;
    right: -1px;
    display: flex;
    flex-direction: column;
    background: #151111f5;
    border: 1px solid #49403a;
    border-radius: 8px;
    padding: 12px 20px;
    backdrop-filter: blur(25px);
  }
  .mobile-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 2px;
    font-size: 15px;
  }
  .mobile-nav a + a {
    border-top: 1px solid #322825;
  }
  .mobile-nav a > span {
    font: 10px var(--mono);
    color: #be766b;
  }
  .hero {
    height: 810px;
    min-height: 0;
    max-height: 1050px;
  }
  .hero-inner {
    align-items: flex-start;
    padding-top: 132px;
  }
  .hero-copy {
    padding-bottom: 0;
    max-width: 100%;
    z-index: 2;
  }
  .hero-copy .eyebrow {
    font-size: 9px;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: clamp(45px, 12.3vw, 67px);
    line-height: 1.22;
  }
  .hero-description {
    font-size: 12px;
    margin-top: 20px;
    letter-spacing: 0.06em;
  }
  .hero-description i {
    margin-inline: 6px;
  }
  .hero-actions {
    margin-top: 27px;
    gap: 12px;
  }
  .hero-actions > .button {
    min-width: 0;
    min-height: 45px;
    font-size: 12px;
    gap: 23px;
    padding: 10px 18px;
  }
  .hero-art {
    background-size: 880px auto;
    background-position: 61% 100%;
    inset: 0 0 -10px;
    animation: none;
  }
  .hero-art::after {
    background: linear-gradient(
      180deg,
      var(--bg) 0%,
      #080808f5 32%,
      #08080870 43%,
      transparent 61%,
      #08080833 86%,
      var(--bg) 100%
    );
  }
  .sphere-mark {
    left: 54%;
    top: auto;
    bottom: 173px;
    font-size: 45px;
  }
  .hero-grain {
    display: none;
  }
  .scroll-cue {
    bottom: 18px;
    font-size: 9px;
    gap: 10px;
  }
  .mouse-shape {
    height: 23px;
    width: 14px;
  }
  .mouse-shape i {
    left: 5px;
    height: 4px;
  }
  .scroll-caption {
    font-size: 7px;
  }
  .section {
    padding-top: 30px;
    padding-bottom: 36px;
  }
  .section-heading {
    padding-bottom: 21px;
    margin-bottom: 20px;
  }
  .section-heading .eyebrow {
    font-size: 9px;
  }
  .section-heading h2 {
    font-size: 29px;
  }
  .text-link {
    font-size: 11px;
    gap: 9px;
  }
  .script-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .script-card {
    padding: 18px 22px 0;
  }
  .card-top {
    margin-bottom: 18px;
  }
  .card-title-row {
    gap: 16px;
  }
  .card-title-row > .icon {
    width: 31px;
    height: 34px;
  }
  .card-title-row h3 {
    font-size: 25px;
  }
  .card-subtitle {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .card-description {
    font-size: 12px;
    min-height: 0;
    margin-top: 18px;
  }
  .card-tags {
    margin-block: 14px 20px;
  }
  .card-env {
    font-size: 10px;
  }
  .card-bottom {
    padding-block: 14px;
  }
  .card-action {
    font-size: 12px;
  }
  .demo-caption {
    font-size: 10px;
    align-items: baseline;
  }
  .archive-band {
    margin-top: 12px;
    margin-bottom: 65px;
    padding: 30px 0;
    gap: 15px;
  }
  .archive-band .eyebrow {
    font-size: 8px;
    letter-spacing: 0.06em;
  }
  .archive-band h2 {
    font-size: 29px;
  }
  .archive-band p:not(.eyebrow) {
    font-size: 11px;
    max-width: 230px;
    line-height: 1.9;
  }
  .circle-link {
    width: 48px;
    height: 48px;
    flex: none;
    font-size: 25px;
  }
  .footer-brand {
    font-size: 22px;
  }
  .footer-bottom {
    gap: 15px;
    flex-wrap: wrap;
    font-size: 8px;
    margin-top: 27px;
  }
  .footer-bottom > span:nth-child(2) {
    display: none;
  }
  .site-footer {
    padding-bottom: 24px;
  }
  .page-section {
    padding-top: 123px;
    padding-bottom: 65px;
  }
  .page-intro {
    margin-bottom: 30px;
  }
  .page-intro h1 {
    font-size: 34px;
    line-height: 1.5;
  }
  .page-intro h1 > .serif-accent {
    display: block;
  }
  .page-intro > .eyebrow {
    font-size: 9px;
  }
  .page-intro > p:last-child {
    font-size: 12px;
    margin-top: 14px;
  }
  .library-toolbar {
    gap: 8px;
  }
  .search-box {
    padding-inline: 12px;
    gap: 8px;
    min-height: 48px;
  }
  .search-box input {
    font-size: 11px;
    min-height: 44px;
  }
  .search-box kbd {
    display: none;
  }
  .search-box > .icon {
    width: 17px;
  }
  .sort-label {
    max-width: 115px;
  }
  .sort-label select {
    font-size: 10px;
    padding: 0 20px 0 10px;
  }
  .filter-row {
    display: block;
    padding-bottom: 13px;
  }
  .filter-tabs {
    gap: 3px;
  }
  .filter-tab {
    font-size: 10px;
    padding: 7px 9px;
  }
  .filter-tab > span {
    font-size: 8px;
    margin-left: 5px;
  }
  .result-count {
    margin-top: 16px;
    font-size: 10px;
  }
  .empty-state {
    padding: 65px 15px;
  }
  .empty-state h2 {
    font-size: 22px;
  }
  .empty-state p {
    font-size: 12px;
  }
  .timeline-entry {
    display: block;
    padding: 28px 0;
  }
  .timeline-entry > time {
    display: block;
    margin-bottom: 18px;
  }
  .timeline-entry h2 {
    font-size: 23px;
  }
  .timeline-entry ul {
    font-size: 12px;
  }
  .about-page .page-intro h1 {
    font-size: 40px;
    line-height: 1.5;
  }
  .about-page .page-intro h1 > .serif-accent {
    display: inline;
  }
  .about-content {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 0;
  }
  .about-content h2 {
    font-size: 28px;
    line-height: 1.4;
    margin-top: 14px;
  }
  .about-content p {
    font-size: 12px;
  }
  .detail-layout {
    gap: 35px;
  }
  .detail-title {
    gap: 13px;
  }
  .detail-title h1 {
    font-size: 33px;
  }
  .detail-title > .icon {
    width: 32px;
    height: 34px;
  }
  .detail-meta {
    gap: 10px;
    font-size: 10px;
    margin-top: 18px;
  }
  .detail-lead {
    font-size: 12px;
  }
  .detail-tabs {
    gap: 24px;
    margin-top: 28px;
  }
  .detail-tabs > button {
    font-size: 12px;
  }
  .download-panel {
    padding: 22px;
  }
  .download-panel dl {
    column-gap: 18px;
    font-size: 10px;
  }
  .download-panel h2 {
    font-size: 28px;
  }
  .download-panel dd {
    font-size: 10px;
  }
  .download-panel .checksum code {
    font-size: 9px;
  }
  .tab-panel h2 {
    font-size: 21px;
  }
  .tab-panel > p,
  .usage-list,
  .feature-list {
    font-size: 12px;
  }
  .command-block {
    padding: 13px;
    gap: 7px;
  }
  .command-block code {
    font-size: 10px;
  }
  .release-heading {
    gap: 8px;
  }
  .release-heading > time {
    font-size: 9px;
  }
  .not-found {
    margin-top: 120px;
  }
  .not-found h1 {
    font-size: 38px;
  }
  .code-preview {
    padding: 16px 12px;
    font-size: 10px;
  }
  .code-heading {
    font-size: 9px;
  }
  .hero-coordinate {
    display: none;
  }
}
@media (max-width: 600px) {
  .sphere-mark {
    left: 78%;
    top: 64%;
    bottom: auto;
  }
}
@media (max-width: 360px) {
  .hero {
    height: 760px;
  }
  .hero-inner {
    padding-top: 119px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-actions > .button {
    padding-inline: 14px;
    gap: 17px;
  }
  .hero-art {
    background-size: 800px auto;
    background-position: 61% 100%;
  }
  .sphere-mark {
    font-size: 39px;
  }
  .brand {
    font-size: 16px;
  }
  .hero-description {
    font-size: 11px;
  }
  .page-intro h1 {
    font-size: 30px;
  }
  .about-page .page-intro h1 {
    font-size: 34px;
  }
  .filter-tab {
    padding-inline: 7px;
  }
  .filter-tab > span {
    margin-left: 3px;
  }
  .detail-title h1 {
    font-size: 29px;
  }
  .download-panel {
    padding: 18px;
  }
  .download-panel dl {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    font-size: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero-art {
    transform: none;
  }
}

/* Real resource catalog, original documentation, and platform API pages. */
.alpha-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.section-count {
  font: 11px var(--sans);
  color: var(--muted);
  margin-left: 18px;
  white-space: nowrap;
}
.section-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.platform-section {
  padding-bottom: 35px;
}
.platform-api-link {
  margin-top: 16px;
}
.api-entry-section {
  padding: 35px 0 80px;
}
.api-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.api-entry-card {
  display: block;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(130deg, #1c1615, #101010);
  transition: border-color 0.2s;
}
.api-entry-card:hover {
  border-color: var(--red);
}
.api-entry-card h3 {
  font: 30px/1.3 var(--serif);
  margin-top: 13px;
}
.api-entry-card p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 15px;
}
.api-entry-card > .text-link {
  margin-top: 24px;
}
.api-nav {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.api-nav summary {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  font-size: 13px;
  color: #c5c0bd;
  cursor: pointer;
  list-style: none;
}
.api-nav summary::-webkit-details-marker {
  display: none;
}
.api-nav summary[aria-current] {
  color: var(--text);
}
.api-nav summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 6px;
}
.api-nav-menu {
  position: absolute;
  top: 64px;
  right: -30px;
  width: 220px;
  padding: 10px;
  background: #171211f5;
  border: 1px solid #4b3733;
  border-radius: 6px;
  box-shadow: 0 15px 40px #0007;
}
.api-nav-menu a {
  display: block;
  padding: 12px 15px;
  font-size: 12px;
  color: #c7bab2;
}
.api-nav-menu a:hover {
  color: var(--text);
  background: #3b1c1d;
}
.card-title-row > div {
  min-width: 0;
}
.card-title-row h3 {
  overflow-wrap: anywhere;
}
.card-bottom > .mono {
  max-width: 73%;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.about-api-links {
  display: flex;
  gap: 25px;
  margin-top: 25px;
  flex-wrap: wrap;
}
.documentation-hint {
  color: var(--muted);
  font-size: 11px;
}
.script-documentation {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding-top: 36px;
}
.script-documentation .section-heading {
  margin-bottom: 32px;
}
.document-article {
  padding-bottom: 38px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line);
}
.document-source {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  background: #161211;
  border: 1px solid #3b2b27;
  border-radius: 5px;
  margin-bottom: 24px;
}
.document-source h3,
.document-source h2 {
  font: 17px/1.6 var(--sans);
  overflow-wrap: anywhere;
}
.document-source > div {
  min-width: 0;
}
.document-source span {
  display: block;
  color: var(--muted);
  font: 10px/1.8 var(--mono);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.document-source > .text-link {
  white-space: nowrap;
  flex: none;
}
.document-loading {
  padding: 26px 0;
  font-size: 13px;
  color: var(--muted);
}
.preview-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 15px;
}
.markdown-body {
  color: #c8beb7;
  font-size: 14px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}
.markdown-body > *:first-child {
  margin-top: 0;
}
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  color: var(--text);
  margin: 32px 0 16px;
  line-height: 1.6;
  font-weight: 600;
  scroll-margin-top: 125px;
}
.markdown-body h2 {
  font-size: 26px;
  font-family: var(--serif);
}
.markdown-body h3 {
  font-size: 21px;
}
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  font-size: 16px;
}
.markdown-body p {
  margin: 15px 0;
}
.markdown-body li + li {
  margin-top: 7px;
}
.markdown-body li > p {
  margin: 8px 0;
}
.markdown-body a {
  color: #ff8f8c;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.markdown-body a:hover {
  color: #ffc8c4;
}
.markdown-body strong {
  color: #eee2da;
  font-weight: 600;
}
.markdown-body blockquote {
  margin: 22px 0;
  padding: 8px 20px;
  border-left: 2px solid #ba4d44;
  background: #251815;
  color: #d5bbae;
}
.markdown-body pre {
  margin: 23px 0;
  padding: 20px;
  border: 1px solid #3c302a;
  background: #101010;
  border-radius: 5px;
  overflow: auto;
  max-width: 100%;
  font: 12px/1.9 var(--mono);
  tab-size: 4;
  color: #dfc4aa;
}
.markdown-body pre code {
  font: inherit;
  white-space: pre;
  overflow-wrap: normal;
  padding: 0;
  background: none;
  border: 0;
}
.markdown-body :not(pre) > code {
  padding: 2px 5px;
  border: 1px solid #49382f;
  border-radius: 3px;
  background: #211b17;
  color: #e5c9b3;
  font: 11px/1.7 var(--mono);
}
.markdown-body table {
  display: block;
  overflow: auto;
  max-width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 12px;
}
.markdown-body th,
.markdown-body td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid #40332b;
  min-width: 110px;
  vertical-align: top;
}
.markdown-body th {
  color: #eee1d6;
  background: #211813;
  font-weight: 500;
}
.markdown-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}
.api-page .page-intro {
  margin-bottom: 35px;
}
.api-page-actions {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 24px;
}
.api-page-actions .button {
  font-size: 12px;
  min-height: 42px;
}
.api-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.api-sidebar {
  position: sticky;
  top: 115px;
  max-height: calc(100svh - 140px);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.api-search {
  flex: none;
  padding-inline: 12px;
  gap: 8px;
  min-height: 44px;
}
.api-search input {
  font-size: 12px;
  min-height: 40px;
}
.api-search > .icon {
  width: 17px;
}
.api-match-count {
  color: var(--muted);
  font-size: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.api-toc {
  overflow: auto;
  padding-top: 10px;
  padding-right: 12px;
  scrollbar-width: thin;
}
.api-toc a {
  display: block;
  font-size: 11px;
  color: #bcaea4;
  padding: 8px 10px;
  border-left: 1px solid #3b2a25;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.api-toc a:hover,
.api-toc a:focus-visible {
  color: var(--text);
  background: #2b1918;
  border-left-color: var(--red);
}
.api-document-content {
  min-width: 0;
}
.api-document-content .document-source {
  margin-bottom: 28px;
}
.api-document-content .document-source h2 {
  font-size: 13px;
}
.api-document-content [data-api-section] {
  min-width: 0;
}
.api-document-content [data-api-section] + [data-api-section] {
  margin-top: 26px;
}
.api-document-content .markdown-body {
  font-size: 13px;
}
.api-document-content .markdown-body pre {
  font-size: 11px;
}
@media (max-width: 1200px) {
  .desktop-nav {
    gap: 22px;
    margin-right: 22px;
  }
  .desktop-nav > a,
  .api-nav summary {
    font-size: 12px;
  }
  .header-cta {
    gap: 12px;
  }
}
@media (max-width: 1000px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
    margin-left: auto;
  }
  .mobile-nav {
    position: absolute;
    top: 78px;
    left: -1px;
    right: -1px;
    display: flex;
    flex-direction: column;
    background: #151111fa;
    border: 1px solid #49403a;
    border-radius: 8px;
    padding: 10px 20px;
    max-height: calc(100svh - 125px);
    overflow: auto;
    backdrop-filter: blur(25px);
  }
  .mobile-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 2px;
    font-size: 14px;
  }
  .mobile-nav a + a {
    border-top: 1px solid #322825;
  }
  .mobile-nav a > span {
    font: 10px var(--mono);
    color: #be766b;
  }
  .api-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 24px;
  }
}
@media (max-width: 800px) {
  .api-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .api-sidebar {
    position: static;
    max-height: none;
  }
  .api-toc {
    display: flex;
    gap: 6px;
    overflow: auto;
    max-height: 150px;
    flex-wrap: wrap;
    padding: 8px 0;
  }
  .api-toc a {
    border: 1px solid #3b2a25;
    border-radius: 3px;
    padding: 6px 9px;
    font-size: 10px;
  }
  .document-source {
    padding: 15px 18px;
  }
  .alpha-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .alpha-grid,
  .api-entry-grid {
    grid-template-columns: 1fr;
  }
  .section-links {
    gap: 12px;
    align-items: flex-end;
    flex-direction: column;
  }
  .section-count {
    font-size: 10px;
    margin-left: 12px;
  }
  .platform-section .section-heading h2 {
    font-size: 28px;
  }
  .platform-section .section-heading h2 > .section-count {
    display: block;
    margin: 7px 0 0;
    font: 10px var(--sans);
  }
  .platform-section .section-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 0.07em;
  }
  .api-entry-section {
    padding-top: 25px;
    padding-bottom: 55px;
  }
  .api-entry-card {
    padding: 25px;
  }
  .api-entry-card h3 {
    font-size: 28px;
  }
  .documentation-hint {
    font-size: 9px;
  }
  .script-documentation {
    margin-top: 35px;
    padding-top: 26px;
  }
  .document-source {
    padding: 13px;
    gap: 12px;
  }
  .document-source h3 {
    font-size: 14px;
  }
  .document-source .text-link {
    font-size: 10px;
    gap: 6px;
  }
  .markdown-body {
    font-size: 12px;
    line-height: 1.95;
  }
  .markdown-body h2 {
    font-size: 23px;
  }
  .markdown-body h3 {
    font-size: 19px;
  }
  .markdown-body h4 {
    font-size: 15px;
  }
  .markdown-body pre {
    padding: 14px 12px;
    font-size: 10px;
  }
  .markdown-body th,
  .markdown-body td {
    font-size: 10px;
    padding: 9px 10px;
    min-width: 85px;
  }
  .api-page-actions {
    gap: 16px;
    flex-wrap: wrap;
  }
  .api-page-actions > .text-link {
    font-size: 11px;
  }
  .api-page-actions > .button {
    font-size: 11px;
    min-height: 40px;
  }
  .api-page .page-intro h1 {
    font-size: 32px;
  }
  .api-document-content .document-source {
    align-items: flex-start;
  }
  .api-document-content .document-source h2 {
    font-size: 11px;
  }
  .api-toc {
    max-height: 132px;
  }
  .api-document-content .markdown-body {
    font-size: 12px;
  }
  .api-document-content .markdown-body pre {
    font-size: 10px;
  }
  .mobile-nav {
    top: 70px;
  }
}
.detail-reference-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 22px;
}
#documentation-heading {
  scroll-margin-top: 125px;
}
