:root {
  --bg: #f6f4ef;
  --bg-2: #efece5;
  --panel: rgba(20, 18, 12, 0.025);
  --panel-solid: #fbfaf7;
  --line: rgba(20, 18, 12, 0.1);
  --line-strong: rgba(20, 18, 12, 0.22);
  --ink: #17160f;
  --muted: #69655b;
  --faint: #a5a093;
  --accent: #c8640c;
  --accent-soft: rgba(200, 100, 12, 0.12);
  --btn-bg: #17160f;
  --btn-ink: #f6f4ef;
  --nav-bg: rgba(250, 249, 245, 0.72);
  --px: 23, 22, 15;
  --ok: #15803d;
  --err: #b91c1c;
  --anim-l: 0.5;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b0e; --bg-2: #101014; --panel: rgba(255, 255, 255, 0.025); --panel-solid: #121217;
    --line: rgba(255, 255, 255, 0.09); --line-strong: rgba(255, 255, 255, 0.2);
    --ink: #f1eee7; --muted: #9a968d; --faint: #5d5a54; --accent: #f0a24a; --accent-soft: rgba(240, 162, 74, 0.12);
    --btn-bg: #f1eee7; --btn-ink: #0b0b0e; --nav-bg: rgba(14, 14, 18, 0.6); --px: 241, 238, 231;
    --ok: #4ade80; --err: #f87171; --anim-l: 0.84;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0b0e; --bg-2: #101014; --panel: rgba(255, 255, 255, 0.025); --panel-solid: #121217;
  --line: rgba(255, 255, 255, 0.09); --line-strong: rgba(255, 255, 255, 0.2);
  --ink: #f1eee7; --muted: #9a968d; --faint: #5d5a54; --accent: #f0a24a; --accent-soft: rgba(240, 162, 74, 0.12);
  --btn-bg: #f1eee7; --btn-ink: #0b0b0e; --nav-bg: rgba(14, 14, 18, 0.6); --px: 241, 238, 231;
  --ok: #4ade80; --err: #f87171; --anim-l: 0.84;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
pre, code { margin: 0; font-family: var(--mono); font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--bg); padding: 6px 10px; z-index: 99; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px var(--sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  padding: 14px 24px; border-radius: 10px; border: 1px solid transparent; transition: transform .15s, background .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover { background: color-mix(in oklab, var(--btn-bg) 88%, var(--accent)); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 8px; }
.icon-btn {
  font: 600 12px var(--mono); color: var(--muted); background: transparent; border: 1px solid var(--line);
  height: 34px; min-width: 34px; padding: 0 9px; border-radius: 8px; cursor: pointer;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.chip {
  font: 500 12px var(--mono); color: var(--muted); background: var(--panel); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
}
.chip.on, .chip:hover { color: var(--ink); border-color: var(--line-strong); }
.chip.on { background: var(--accent-soft); border-color: color-mix(in oklab, var(--accent) 50%, transparent); }

/* ---------- nav ---------- */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 16px; pointer-events: none; }
.nav {
  pointer-events: auto; max-width: 1200px; margin: 0 auto; height: 68px; display: flex; align-items: center; gap: 28px;
  padding: 0 12px 0 20px; border: 1px solid var(--line-strong); border-radius: 16px;
  background: var(--nav-bg); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.5);
}
.brand { display: flex; align-items: center; text-decoration: none; padding: 6px 0; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
@media (max-width: 820px) { .nav-links { display: none; } .nav-tools { margin-left: auto; } .nav { gap: 12px; padding-left: 14px; } }
@media (max-width: 420px) { .nav-tools .btn { display: none; } }

/* ---------- ANSI logo ---------- */
.ansi-logo { font-size: 4.6px; line-height: 1; letter-spacing: 0; color: var(--ink); white-space: pre; user-select: none; }
.ansi-logo .s { color: var(--faint); }
.ansi-logo .b { color: var(--muted); }
.ansi-logo .k { color: var(--accent); }
.ansi-logo .k.s { color: color-mix(in oklab, var(--accent) 55%, var(--bg)); }
.ansi-logo span { transition: color .25s; }
.ansi-logo .hot { color: var(--accent) !important; transition: none; }
.ansi-logo.big { font-size: clamp(5px, 1.35vw, 13px); display: inline-block; margin-bottom: 24px; }
@media (max-width: 420px) { #nav-logo { font-size: 3.8px; } }

/* ---------- pixel field ---------- */
.pixels { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero .pixels { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }

/* ---------- hero ---------- */
main > section { position: relative; padding-left: max(16px, calc((100vw - 1200px) / 2)); padding-right: max(16px, calc((100vw - 1200px) / 2)); }
.hero { display: flex; flex-direction: column; align-items: center; padding-top: 112px; padding-bottom: 72px; overflow: hidden; }
.hero-anim {
  position: relative; z-index: 1; width: 100%; font-size: clamp(5px, 0.8vw, 10px); line-height: 1.05; overflow: hidden;
  margin: 0 0 28px; text-align: center; user-select: none;
  background-image: linear-gradient(90deg, var(--accent), color-mix(in oklab, var(--accent) 45%, #ff5f7e) 50%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.divider {
  height: 1.4em; margin: 90px max(16px, calc((100vw - 1200px) / 2)) 0; overflow: hidden; color: var(--faint);
  font-size: 13px; line-height: 1.4; white-space: pre; user-select: none;
}
.divider b { color: var(--accent); font-weight: 400; }
.hero-inner { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; }
.hero-side .lead { margin-top: 0; }
.hero-desk { position: relative; z-index: 1; width: 100%; margin-top: 52px; }
.hero-desk .glow { inset: 5% 10% -5%; }
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; gap: 48px; } }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: color-mix(in oklab, var(--bg) 70%, transparent);
  font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink);
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); flex: none; }
.hero h1 { font-size: clamp(40px, 5.4vw, 76px); letter-spacing: -0.045em; line-height: 0.98; font-weight: 700; text-wrap: balance; }
.hl { color: var(--accent); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); margin: 26px 0 34px; max-width: 520px; line-height: 1.55; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.install { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.install code { color: var(--ink); overflow-wrap: anywhere; }
.install .prompt { color: var(--accent); margin-right: 4px; }
.soon { font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: 0.12em; border: 1px dashed var(--line-strong); padding: 3px 8px; border-radius: 999px; }

.hero-term { position: relative; min-width: 0; }
.glow { position: absolute; inset: 10% 5% -5%; background: radial-gradient(closest-side, var(--accent-soft), transparent); filter: blur(40px); z-index: -1; }
.window {
  background: #07070a; color: #d9d4c7; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.win-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font: 12px var(--mono); color: #8a8578; }
.lights { display: inline-flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #2c2c33; }
.win-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kin-badge { margin-left: auto; font: 600 10px var(--mono); letter-spacing: 0.08em; color: #f0a24a; border: 1px solid rgba(240, 162, 74, 0.35); padding: 2px 8px; border-radius: 999px; }
.scene-box { position: relative; aspect-ratio: 2 / 1; background: #05080f; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .7s ease; }
.scene.on { opacity: 1; }
.win-status { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding: 9px 14px; font: 12px var(--mono); border-top: 1px solid rgba(255, 255, 255, 0.07); min-height: 36px; }
.sdot { color: var(--sc, #f0a24a); transition: color .4s; }
.st-label { color: #f1eee7; }
.st-detail { color: #8a8578; }
.st-credit { margin-left: auto; color: #6c685f; font-size: 11px; }
.hero-states { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 14px 0 0; justify-content: center; }
.hero-states li { font: 11px var(--mono); color: var(--muted); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in oklab, var(--bg) 70%, transparent); transition: all .3s; }
.hero-states li.on { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); }

/* ---------- ticker ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 14px 0; background: var(--bg-2); }
.ticker-track { display: flex; width: max-content; font: 13px var(--mono); color: var(--muted); white-space: pre; animation: tick 40s linear infinite; }
.ticker-track b { color: var(--accent); font-weight: 600; }
.ticker.paused .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- sections ---------- */
.band { padding-top: 80px; padding-bottom: 20px; scroll-margin-top: 70px; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 52px); margin: 10px 0 14px; text-wrap: balance; }
.sec-head p { color: var(--muted); margin: 0; font-size: 17px; }
.kicker { font: 500 12px var(--mono) !important; color: var(--accent) !important; text-transform: uppercase; letter-spacing: 0.16em; margin: 0; }
.note { color: var(--muted); font-size: 14px; }

/* ---------- demo ---------- */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } }
.term { background: #08080b; color: #d9d4c7; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; border: 1px solid rgba(255, 255, 255, 0.08); }
.log { height: 360px; overflow: hidden; padding: 14px 16px; font-size: 12.5px; line-height: 1.55; white-space: pre-wrap; display: flex; flex-direction: column; justify-content: flex-end; }
.log .l-user { color: #fff; }
.log .l-tool { color: #93c5fd; }
.log .l-dim { color: #6f6a60; }
.log .l-add { color: #86efac; }
.log .l-del { color: #fca5a5; }
.log .l-err { color: #f87171; }
.log .l-ok { color: #4ade80; }
.stage { height: 324px; padding: 12px; font-size: 12px; line-height: 1.12; overflow: hidden; color: var(--sc, #f0a24a); transition: color .4s; white-space: pre; }
.demo-ctrl { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.chips li { font: 12px var(--mono); padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); transition: all .3s; }
.chips li.on { border-color: var(--accent); color: var(--ink); background: var(--accent-soft); }
.ctrl-btns { display: flex; gap: 8px; align-items: center; }

/* ---------- gallery ---------- */
.filters { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: var(--panel); transition: border-color .25s, transform .25s; }
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card .art { height: 220px; background: var(--bg-2); overflow: hidden; cursor: pointer; border-bottom: 1px solid var(--line); }
.card pre {
  font-size: 11px; line-height: 1.1; padding: 12px; width: 100%; height: 100%; overflow: hidden; white-space: pre;
  display: flex; align-items: center; justify-content: center;
  background-image: linear-gradient(160deg, oklch(var(--anim-l) 0.16 var(--h1)), oklch(var(--anim-l) 0.16 var(--h2)));
  -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none;
}
.card .meta { display: flex; justify-content: space-between; gap: 8px; padding: 12px 16px; align-items: center; }
.card .meta b { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.card .by { color: var(--muted); font-size: 12px; font-family: var(--mono); margin-top: 2px; }
.tagx { font: 10px var(--mono); border: 1px dashed var(--line-strong); padding: 1px 6px; border-radius: 999px; color: var(--muted); margin-left: 6px; }
.tagx.mit { border-style: solid; color: var(--accent); border-color: color-mix(in oklab, var(--accent) 40%, transparent); }
.card .loopn { color: var(--faint); font: 11px var(--mono); white-space: nowrap; }

/* ---------- lab teaser ---------- */
.lab-teaser { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px; border: 1px solid var(--line-strong); border-radius: 18px; background: radial-gradient(ellipse at 100% 0%, var(--accent-soft), transparent 60%), var(--panel); }
.lab-teaser .sec-head { margin-bottom: 0; }

/* ---------- creators ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 40px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.steps li { display: flex; gap: 20px; }
.steps .num { font: 600 13px var(--mono); color: var(--accent); padding-top: 4px; }
.steps h3 { font-size: 22px; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }
.share-card { background: #08080b; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 22px; color: #d9d4c7; overflow: hidden; min-width: 0; }
.share { font-size: clamp(10px, 1.15vw, 14px); line-height: 1.25; overflow-x: auto; color: #d9d4c7; width: max-content; max-width: 100%; margin: 0 auto; }
.share .a { color: #f0a24a; }
.share .d { color: #6f6a60; }
.share-cap { color: #8a8578; font-size: 13px; margin: 14px 0 0; }
.copybox { border: 1px solid var(--line); padding: 30px 32px; border-radius: 14px; background: var(--panel); }
@media (max-width: 520px) { .copybox { padding: 22px 18px; } }
.copybox h3 { font-size: 22px; }
.copybox p { color: var(--muted); }
.copybox ul { padding-left: 0; list-style: none; margin: 0; display: grid; gap: 12px; }
.copybox li { padding-left: 22px; position: relative; color: var(--muted); }
.copybox li b { color: var(--ink); font-weight: 600; }
.copybox li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.plan { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 26px; position: relative; }
.plan.featured { border-color: color-mix(in oklab, var(--accent) 60%, transparent); background: linear-gradient(180deg, var(--accent-soft), transparent 60%); }
.plan .tag { position: absolute; top: -11px; left: 22px; background: var(--accent); color: #fff; font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: 0.12em; padding: 3px 10px; margin: 0; border-radius: 999px; }
.plan h3 { font-size: 18px; letter-spacing: -0.01em; }
.price { font-size: 38px; font-weight: 700; letter-spacing: -0.04em; margin: 10px 0 18px; }
.price small { font-size: 13px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0; font-size: 14px; display: grid; gap: 9px; color: var(--muted); }
.plan li::before { content: "+ "; color: var(--accent); font-family: var(--mono); }

/* ---------- install ---------- */
.wl-band { margin-top: 100px; padding-top: 110px; padding-bottom: 110px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.wl-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; }
.wl-inner h2 { font-size: clamp(32px, 4.6vw, 56px); margin: 12px 0 12px; }
.wl-sub { color: var(--muted); margin: 0 0 22px; font-size: 17px; }
.cmd { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 10px 10px 10px 18px; background: var(--panel-solid); border: 1px solid var(--line-strong); border-radius: 12px; text-align: left; }
.cmd code { flex: 1; min-width: 0; font: 14px var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.in-steps { color: var(--muted); font-size: 15px; margin: 18px 0 8px; }
.wl-inner .note code { font-family: var(--mono); overflow-wrap: anywhere; }
.wl-inner a { color: var(--accent); }

.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 90px 16px 50px; overflow: hidden; }
.foot p { margin: 4px 0; }
.credits { color: var(--faint); font-size: 12px; }

/* ---------- desktop scene ---------- */
.desk {
  position: relative; aspect-ratio: 16 / 9.4; min-height: 460px; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.7);
  background: #1c1738 url("wallpaper.svg") center / cover no-repeat;
  color: #d9d4c7; font-family: var(--mono);
}
.desk-bar { position: absolute; top: 0; left: 0; right: 0; height: 26px; display: flex; gap: 18px; align-items: center; padding: 0 14px; font: 500 12px var(--sans); color: #f3eefa; background: rgba(20, 14, 40, 0.35); backdrop-filter: blur(10px); z-index: 3; }
.desk-bar b { font-weight: 600; color: #fff; }
.desk-clock { margin-left: auto; }
.desk-side { position: absolute; left: 3%; top: 13%; width: 22%; background: rgba(18, 18, 24, 0.82); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; overflow: hidden; z-index: 1; backdrop-filter: blur(6px); }
.desk-side pre { padding: 12px 14px; font-size: 11px; line-height: 1.5; color: #a39e92; white-space: pre-wrap; }
.desk-win {
  position: absolute; left: 21%; right: 4%; top: 9%; bottom: 15%; z-index: 2; display: flex; flex-direction: column;
  background: rgba(8, 8, 11, 0.94); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8);
}
.desk-win .lights i.r { background: #ff5f57; } .desk-win .lights i.y { background: #febc2e; } .desk-win .lights i.g { background: #28c840; }
.cc { flex: 1; display: flex; flex-direction: column; padding: 10px 14px 8px; gap: 8px; min-height: 0; font-size: 12px; }
.cc .a { color: #f0a24a; } .cc .d { color: #6f6a60; }
.cc-head { font-size: 12px; }
.cc-pane { position: relative; flex: 1; min-height: 0; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 8px; overflow: hidden; transition: border-color .4s; }
.cc-pane.err { border-color: rgba(248, 113, 113, 0.6); }
.cc-anim { position: absolute; inset: 0; padding: 8px 10px; font-size: 11px; line-height: 1.1; color: var(--sc, #f0a24a); transition: color .4s; overflow: hidden; white-space: pre; }
.cc-tag { position: absolute; top: 6px; right: 8px; font-size: 9.5px; letter-spacing: .08em; color: #f0a24a; border: 1px solid rgba(240, 162, 74, .35); border-radius: 999px; padding: 1px 7px; background: rgba(8, 8, 11, .8); }
.cc-tool { color: #93c5fd; font-size: 11.5px; min-height: 1.4em; overflow: hidden; text-overflow: ellipsis; white-space: pre; }
.cc-tool.err { color: #f87171; } .cc-tool.ok { color: #4ade80; }
.cc-input { border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 8px; padding: 7px 10px; white-space: pre; overflow: hidden; color: #f1eee7; }
.caret { color: #f0a24a; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }
.cc-status { display: flex; gap: 8px; font-size: 11px; color: #cfc9bb; white-space: nowrap; overflow: hidden; }
.cc-status .sdot { color: var(--sc, #f0a24a); }
.cc-right { margin-left: auto; }
.desk-toast {
  position: absolute; right: 16px; bottom: 16px; font-size: 10.5px; line-height: 1.25; color: #d9d4c7; white-space: pre;
  background: #0d0d12; border: 1px solid rgba(240, 162, 74, 0.45); border-radius: 10px; padding: 10px 12px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .4s; pointer-events: none;
}
.desk-toast.on { opacity: 1; transform: none; }
.desk-toast .a { color: #f0a24a; } .desk-toast .d { color: #6f6a60; }
.dock { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 8px; padding: 7px 9px; border-radius: 14px; background: rgba(30, 30, 38, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); z-index: 3; }
.dock i { font-style: normal; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; color: #cfc9bb; background: rgba(255, 255, 255, 0.06); position: relative; }
.dock i.on { background: #0b0b0e; color: #f0a24a; border: 1px solid rgba(240, 162, 74, .4); }
.dock i.on::after { content: ""; position: absolute; bottom: -5px; width: 4px; height: 4px; border-radius: 50%; background: #cfc9bb; }
@media (max-width: 760px) {
  .desk { aspect-ratio: auto; height: 520px; }
  .desk-side, .dock { display: none; }
  .desk-win { left: 3%; right: 3%; top: 8%; bottom: 4%; }
  .desk-bar span:not(.desk-clock):not(:first-child) { display: none; }
}

/* coloured scenes inside the desk's terminal pane, cross-faded */
.cc-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .6s ease; }
.cc-scene.on { opacity: 1; }
.cc-anim { transition: opacity .4s ease; }
.cc-anim.off { opacity: 0; }
.cc-tag { z-index: 1; }
/* gallery cards drawing a coloured scene */
.card .art canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .note-line { color: var(--faint); font-size: 12px; margin-top: 2px; }

.more-row { display: flex; justify-content: center; margin-top: 28px; }
