@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("/fonts/BricolageGrotesque.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/JetBrainsMono.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #08090c;
  --panel: #111318;
  --panel-2: #181b22;
  --line: rgb(255 255 255 / 0.1);
  --ink: #eef0f4;
  --soft: #a8aebb;
  --claude: #ffa51f;
  --cursor: #f0306e;
  --codex: #2dbe60;
  --gut: clamp(16px, 3.6vw, 56px);
  --sans: "Bricolage Grotesque", "Segoe UI Variable Text", "Segoe UI", "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, "Microsoft JhengHei", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  position: relative;
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, pre { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: 0.88em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: var(--bg); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--claude); outline-offset: 3px; }
html:not(.js) .js-only { display: none; }

/* Header: sits on the desktop and scrolls away with it. */
.bar {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 var(--gut);
  font-size: 0.95rem;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.bar-sep { color: var(--soft); }
.bar-page { font-family: var(--mono); font-size: 0.88rem; }
.bar-end { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.bar-end > a { color: var(--soft); text-decoration: none; }
.bar-end > a:hover { color: var(--ink); }
.lang { display: flex; padding: 2px; border: 1px solid var(--line); border-radius: 8px; }
.lang button { padding: 2px 9px; border: 0; border-radius: 6px; background: none; color: var(--soft); font-size: 0.82rem; cursor: pointer; }
.lang button[aria-current="true"] { background: var(--ink); color: var(--bg); }

/* The desktop: the hero is a screen, with the headline as its wallpaper. */
.desk {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(24px, 3vw, 56px);
  align-items: center;
  min-height: max(100svh, 760px);
  padding: 76px var(--gut) 0;
  overflow: hidden;
  background:
    radial-gradient(rgb(255 255 255 / 0.075) 1px, transparent 1.4px) 0 0 / 26px 26px,
    var(--bg);
}
.halos { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.halo {
  position: absolute;
  left: -340px;
  top: -340px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 24%, transparent), transparent);
  will-change: transform;
}
.kicker { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.02em; color: var(--soft); }
h1 {
  margin: 14px 0 20px;
  font-size: clamp(3.3rem, 6.3vw, 7rem);
  font-stretch: 75%;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lede { max-width: 34em; color: var(--soft); font-size: 1.14rem; line-height: 1.5; }
:lang(zh-Hant) h1 { line-height: 1.08; letter-spacing: 0; font-size: clamp(3rem, 6.2vw, 6.2rem); }

.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 26px; }
.dl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 10px;
  background: var(--claude);
  color: #1b1000;
  font-weight: 700;
  text-decoration: none;
  transition: transform 120ms;
}
.dl:hover { transform: translateY(-1px); }
.dl svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cmd { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 0.9rem; }
.cmd-label { flex-basis: 100%; color: var(--soft); font-size: 0.82rem; }
.cmd pre { flex: 1 1 auto; min-width: 0; overflow-x: auto; font-family: var(--mono); }
.cmd pre code { font-size: 0.86rem; }
.cta .cmd pre { flex: 0 1 auto; }
.copy {
  flex: none;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: none;
  color: var(--soft);
  font-size: 0.76rem;
  cursor: pointer;
}
.copy:hover { color: var(--ink); border-color: var(--soft); }
.copy.done { color: var(--codex); border-color: var(--codex); }

/* Windows. */
.apps {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  padding-block: 20px;
}
.play {
  position: absolute;
  z-index: 25;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 0;
  border-radius: 99px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.6);
  cursor: pointer;
}
.play[hidden] { display: none; }
.play svg { width: 20px; height: 20px; fill: currentColor; }
.win {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 10px;
  background: #1a1c22;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.55);
}
.win-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  color: #cfd3db;
  font: 400 0.74rem/1 "Segoe UI", var(--sans);
}
.win-title i { width: 40px; height: 8px; background: radial-gradient(circle at 4px 4px, #5a5e68 3px, transparent 3.5px) 0 0 / 15px 8px; }
.win-sketch { grid-row: 1 / 3; display: flex; flex-direction: column; }
.sketch-body { flex: 1; display: flex; gap: 10px; min-height: 0; padding: 4px 12px 12px 6px; background: radial-gradient(rgb(255 255 255 / 0.08) 1px, transparent 1.3px) 0 0 / 14px 14px; }
.rail { display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }
.rail span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: rgb(255 255 255 / 0.06); }
.rail svg { width: 16px; height: 16px; fill: #e6e8ec; }
.paper { flex: 1; min-width: 0; align-self: center; height: auto; border-radius: 3px; }
.ink { fill: none; stroke: #16171b; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }

.win-calc { padding-bottom: 8px; }
.calc-mode { padding: 0 12px; font: 600 0.95rem/1.3 "Segoe UI", var(--sans); }
.calc-expr, .calc-out { padding: 0 12px; text-align: right; font-family: "Segoe UI", var(--sans); }
.calc-expr { min-height: 1.4em; color: #9a9fab; font-size: 0.74rem; }
.calc-out { font-size: 2rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 8px 6px 0; }
.keys span {
  display: grid;
  place-items: center;
  height: 31px;
  border-radius: 4px;
  background: rgb(255 255 255 / 0.09);
  font: 400 0.85rem/1 "Segoe UI", var(--sans);
}
.keys .eq { background: #76b9ed; color: #06121c; }

.win-note { display: flex; flex-direction: column; min-height: 150px; background: #fff; }
.win-note .win-title { background: #1a1c22; }
.note-body { flex: 1; padding: 10px 12px; color: #16171b; font: 400 0.98rem/1.45 "Segoe UI", "Microsoft JhengHei", var(--sans); }
.caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; background: #16171b; vertical-align: -0.15em; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.taskbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  margin-inline: calc(var(--gut) * -1);
  padding: 8px var(--gut);
  border-top: 1px solid var(--line);
  background: rgb(14 15 19 / 0.92);
  font-size: 0.82rem;
}
.tasks { display: flex; gap: 22px; min-width: 0; }
.tasks li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.tasks svg { width: 14px; height: 15px; fill: var(--c); }
.tasks strong { font-weight: 600; }
.tasks span { min-width: 6.5em; color: var(--soft); font-family: var(--mono); font-size: 0.74rem; }
.tray { margin-left: auto; color: var(--soft); white-space: nowrap; }
.tray-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--codex); }
.pause { padding: 3px 12px; border: 1px solid var(--line); border-radius: 7px; background: none; font-size: 0.8rem; cursor: pointer; }
.pause:hover { border-color: var(--soft); }

/* Drawn cursors, the same shape and colours deskcrew draws. */
.overlay { position: absolute; z-index: 20; inset: 0; overflow: clip; pointer-events: none; }
.cursor { position: absolute; left: 0; top: 0; will-change: transform; transition: opacity 240ms; }
.cursor svg { position: absolute; left: -3px; top: -3px; width: 40px; height: 44px; overflow: visible; filter: drop-shadow(0 3px 3px rgb(0 0 0 / 0.55)); }
.cursor path { fill: var(--c); stroke: color-mix(in srgb, var(--c) 14.3%, #000); stroke-width: 2.1; stroke-linejoin: round; }
.pill {
  position: absolute;
  left: 20px;
  top: 30px;
  padding: 3px 10px 4px;
  border-radius: 99px;
  background: #000;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.16), 0 3px 6px rgb(0 0 0 / 0.5);
  color: #fff;
  font: 600 12px/1.25 "Segoe UI", var(--sans);
  white-space: nowrap;
}
.pill b { margin-left: 6px; color: var(--c); font: 500 11px/1 var(--mono); }
.press {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  border-radius: 7px;
  background: color-mix(in srgb, var(--c) 18%, transparent);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 92%, transparent);
  opacity: 0;
  transition: opacity 260ms;
}
.press i {
  position: absolute;
  left: 50%;
  top: 50%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 62%, transparent), color-mix(in srgb, var(--c) 34%, transparent) 50%, transparent);
  translate: -50% -50%;
  opacity: 0;
}
.roam { transition: opacity 300ms; }
.roam.off { opacity: 0; }
.you { position: fixed; left: 0; top: 0; opacity: 0; transition: opacity 120ms; }
.you.on { opacity: 1; }
.you-tag { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 160ms; }
.you-tag.on { opacity: 1; }
.you-tag .pill { --c: #fff; left: 14px; top: 20px; background: #fff; color: #000; }
body.stopped .cursor path { fill: #6d7280; }
body.stopped .pill { color: #a8aebb; }

/* Sections. */
.sec { padding: clamp(72px, 10vw, 136px) var(--gut); border-top: 1px solid var(--line); }
.sec-in { max-width: 1240px; margin-inline: auto; }
.tag { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 0.82rem; color: var(--soft); }
.tag::before { content: ""; width: 12px; height: 13px; background: var(--c); clip-path: polygon(0 0, 100% 52%, 48% 62%, 16% 100%); }
h2 {
  margin-top: 12px;
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  font-stretch: 75%;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
:lang(zh-Hant) h2 { line-height: 1.15; letter-spacing: 0; font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.25; }
.sec-lede { max-width: 42em; margin-top: 18px; color: var(--soft); font-size: 1.14rem; line-height: 1.5; }
.sec-lede code { color: var(--ink); }
.fine { margin-top: 14px; color: var(--soft); font-size: 0.84rem; line-height: 1.5; }

.film { background: linear-gradient(var(--panel), var(--bg)); }
.film-head { display: grid; grid-template-columns: 3fr 2fr; gap: 12px 40px; align-items: end; margin-bottom: 32px; }
.film-head > p { color: var(--soft); }
.film-frame { overflow: hidden; border: 1px solid rgb(255 255 255 / 0.14); border-radius: 12px; box-shadow: 0 30px 80px rgb(0 0 0 / 0.6); background: #000; }
.film-frame video { display: block; width: 100%; height: auto; }

.stat { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px 56px; align-items: center; margin-top: 44px; padding: clamp(20px, 3.4vw, 40px); border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.big { font-size: clamp(5rem, 13vw, 11rem); font-stretch: 75%; font-weight: 800; line-height: 0.86; letter-spacing: -0.03em; }
.stat-label { max-width: 24em; margin-top: 14px; color: var(--soft); }
.stat-label code { color: var(--ink); }
.stat-bars { display: grid; gap: 22px; }
.sbar-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: var(--soft); font-size: 0.94rem; }
.sbar-top strong { color: var(--ink); font-family: var(--mono); font-weight: 600; font-size: 0.92rem; }
.fill {
  display: block;
  width: var(--w);
  min-width: 3px;
  height: 12px;
  border-radius: 0 4px 4px 0;
  transform-origin: left;
}
.sbar .fill { height: 16px; }
.fill.them, .k.them { background: #7b8190; }
.fill.us, .k.us { background: var(--claude); }
.js .sec .fill { transform: scaleX(0); transition: transform 1000ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .sec.in .fill { transform: none; }

.cheap-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 16px; }
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ways li { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.ways p { margin-top: 6px; color: var(--soft); font-size: 0.96rem; line-height: 1.45; }
.ways code { color: var(--ink); }
.term { display: flex; flex-direction: column; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #000; }
.term figcaption { margin-bottom: 12px; color: var(--soft); font-size: 0.82rem; }
.term pre { overflow-x: auto; font: 400 0.86rem/1.75 var(--mono); }
.term code { font-size: 1em; }
.term .p { color: var(--claude); }
.term .o { color: var(--soft); }
.term .ok { color: var(--codex); }
.term .ch { color: #7cc4ff; }

.chart { margin-top: 44px; }
.chart table { width: 100%; border-collapse: collapse; }
.chart caption { margin-bottom: 14px; text-align: left; font-size: 1.12rem; font-weight: 700; }
.chart th, .chart td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-weight: 400; }
.chart thead th { color: var(--soft); font-size: 0.84rem; }
.chart tbody th { font-weight: 600; white-space: nowrap; }
.chart td { color: var(--soft); font-variant-numeric: tabular-nums; }
.legend { display: inline-flex; align-items: center; gap: 6px; margin-left: 16px; font-family: var(--mono); font-size: 0.76rem; }
.k { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-left: 6px; }
.pair { width: 62%; }
.pair div { display: flex; align-items: center; gap: 9px; }
.pair div + div { margin-top: 5px; }
.pair span { flex: none; color: var(--ink); font: 400 0.8rem/1 var(--mono); }
.pair .fill { max-width: calc(100% - 64px); width: calc(var(--w) * 0.88); }
.ms span { display: block; font: 400 0.8rem/1.55 var(--mono); white-space: nowrap; }
.ms span + span { color: var(--ink); }

.route { background: var(--panel); }
.routes { width: 100%; margin-top: 36px; border-collapse: collapse; }
.routes th, .routes td { padding: 15px 18px 15px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; font-size: 0.96rem; line-height: 1.4; }
.routes thead th { color: var(--soft); font-size: 0.84rem; }
.routes tbody th { width: 27%; }
.routes tbody th code { display: inline-block; margin: 0 6px 3px 0; color: var(--ink); }
.routes tbody td:nth-child(2), .routes tbody td:nth-child(4) { color: var(--soft); }
.routes tbody td code { color: var(--ink); }
.routes .safe { color: var(--codex); font-weight: 600; white-space: nowrap; }
.routes .moved { color: var(--cursor); font-weight: 600; }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.notes li { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.notes p { margin-top: 6px; color: var(--soft); font-size: 0.94rem; line-height: 1.45; }
.notes code { color: var(--ink); }

.stop { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; margin-top: 48px; padding: clamp(20px, 3.4vw, 40px); border-radius: 14px; background: #000; box-shadow: inset 0 0 0 1px var(--line); }
.stop-copy p { margin-top: 8px; max-width: 36em; color: var(--soft); }
.stop-copy code { color: var(--ink); }
.stop-copy h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-stretch: 75%; }
.stop-try { color: var(--ink) !important; }
.stop-side { display: grid; justify-items: center; gap: 14px; }
.keycaps { display: flex; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; }
kbd {
  display: grid;
  place-items: center;
  min-width: 72px;
  height: 66px;
  padding: 0 14px;
  border-radius: 11px;
  background: #23262e;
  box-shadow: inset 0 -5px 0 #14161b, inset 0 0 0 1px rgb(255 255 255 / 0.13);
  font: 600 1rem/1 var(--mono);
  transition: transform 90ms, box-shadow 90ms;
}
.keycaps:hover kbd, body.stopped kbd { transform: translateY(3px); box-shadow: inset 0 -2px 0 #14161b, inset 0 0 0 1px var(--cursor); }
.stop-reply { display: grid; justify-items: center; gap: 8px; font-family: var(--mono); font-size: 0.84rem; }
.stop-reply[hidden] { display: none; }
.stop-reply p { color: var(--cursor); }
.stop-reply button { padding: 5px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel-2); font-family: var(--mono); font-size: 0.82rem; cursor: pointer; }
.stop-reply button:hover { border-color: var(--soft); }

.crew-try { margin-top: 26px; font-family: var(--mono); font-size: 0.84rem; color: var(--soft); }
.tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 12px; }
.tiles button {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c) 13%, var(--panel));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 42%, transparent);
  text-align: left;
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1.15;
  cursor: pointer;
  transition: background 140ms;
}
.tiles button:hover { background: color-mix(in srgb, var(--c) 26%, var(--panel)); }
.tiles.pointing, .tiles.pointing button { cursor: none; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.facts div { padding: 14px 14px 12px; border-top: 2px solid var(--line); }
.facts dt { font-size: clamp(2rem, 4vw, 3.2rem); font-stretch: 75%; font-weight: 800; line-height: 1.05; }
.facts dd { margin-top: 6px; color: var(--soft); font-size: 0.96rem; line-height: 1.4; }

.get { background: linear-gradient(var(--bg), var(--panel)); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; counter-reset: s; }
.steps li { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); counter-increment: s; }
.steps li::before { content: counter(s); margin-bottom: 18px; font-size: 2.6rem; font-stretch: 75%; font-weight: 800; line-height: 1; color: var(--claude); }
.steps p { flex: 1; margin: 6px 0 14px; color: var(--soft); font-size: 0.96rem; line-height: 1.45; }
.steps p code { color: var(--ink); }
.steps .cmd { padding: 9px 11px; border-radius: 8px; background: #000; }
.cmd-rule { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #000; }
.cmd-rule pre { white-space: pre-wrap; }
.get-end { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px 56px; margin-top: 48px; }
.get-dl .dl { margin-bottom: 4px; }
.hash { margin-top: 12px; color: var(--soft); font-size: 0.84rem; }
.hash summary { cursor: pointer; }
.hash code { display: block; margin-top: 6px; overflow-wrap: anywhere; font-size: 0.76rem; }
.limits ul { margin: 10px 0 12px; }
.limits li { padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--soft); font-size: 0.96rem; line-height: 1.4; }
.limits li code { color: var(--ink); overflow-wrap: anywhere; }
.limits > a { font-size: 0.94rem; }
.credit { margin-top: 14px; color: var(--soft); font-size: 0.94rem; }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 28px var(--gut); border-top: 1px solid var(--line); }
.foot .fine { margin: 0; }
.foot-links { display: flex; gap: 18px; margin-left: auto; font-size: 0.92rem; }
.foot-links a { color: var(--soft); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

@media (max-width: 1120px) {
  .desk { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; row-gap: 12px; min-height: 0; padding-top: 88px; }
  .desk-copy { max-width: 720px; }
  h1 { font-size: clamp(3.3rem, 12vw, 6.4rem); }
  :lang(zh-Hant) h1 { font-size: clamp(2.9rem, 10vw, 5.4rem); }
  .tiles { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 860px) {
  .film-head, .stat, .cheap-grid, .get-end { grid-template-columns: minmax(0, 1fr); }
  .steps, .facts, .notes { grid-template-columns: minmax(0, 1fr); }
  .stop { grid-template-columns: minmax(0, 1fr); }
  .stop-side { justify-items: start; }
  .routes thead { display: none; }
  .routes, .routes tbody, .routes tr, .routes th, .routes td { display: block; width: auto !important; }
  .routes tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .routes th, .routes td { padding: 2px 0; border: 0; }
}
@media (max-width: 640px) {
  .bar-end { gap: 12px; }
  .bar-end > a:last-child, .bar-sep, .bar-page { display: none; }
  .apps { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: auto auto; }
  .win-sketch { grid-row: auto; grid-column: 1 / -1; }
  .rail { display: none; }
  .sketch-body { padding: 4px 8px 8px; }
  .keys span { height: 25px; font-size: 0.74rem; }
  .calc-out { font-size: 1.5rem; }
  .note-body { font-size: 0.82rem; }
  .taskbar { flex-wrap: wrap; gap: 8px 14px; }
  .tasks { flex-basis: 100%; justify-content: space-between; gap: 8px; }
  .tasks span { display: none; }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tiles button { min-height: 64px; }
  .chart thead th:nth-child(2), .chart td:nth-child(2) { display: none; }
  .legend { display: flex; margin: 4px 0 0; }
  .k:first-child { margin-left: 0; }
  .pair { width: 52%; }
  kbd { min-width: 62px; height: 58px; padding: 0 8px; font-size: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .caret { animation: none; }
  .js .sec .fill { transform: none; transition: none; }
}
@media (forced-colors: active) {
  .fill, .k { background: CanvasText; }
}
