mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P5YBdycWh75FpA2M9CWJ5d
523 lines
45 KiB
CSS
523 lines
45 KiB
CSS
/* ---------- ide (v2) ---------- */
|
||
.ide { --ep: #a3a3a3; --se: #d4d4d4; --pr: #a3a3a3; }
|
||
|
||
/* stage: the words, then the editor arriving huge and settling */
|
||
.ide-stage { position: relative; height: 230svh; }
|
||
/* the words, then the editor right under them in normal flow: the server paint is the right picture, nothing jumps */
|
||
.ide-stick { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding-top: clamp(104px, 13vh, 150px); box-sizing: border-box; }
|
||
.ide-copy { position: relative; z-index: 1; }
|
||
.ide-copy .a2-kick { margin-bottom: 24px; }
|
||
.ide-h1 { max-width: none; }
|
||
.ide-copy-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: end; margin-top: 36px; }
|
||
.ide-copy-row .a2-acts { justify-content: flex-end; }
|
||
.ide-obj { position: relative; width: min(1200px, 100% - 48px); transform-origin: 50% 0; z-index: 2; margin-top: 40px; }
|
||
.ide-under { display: flex; justify-content: space-between; gap: 24px; margin-top: 18px; font-size: 14px; color: var(--faint); }
|
||
.ide-under p { margin: 0; max-width: 52ch; }
|
||
|
||
/* the workbench */
|
||
.ide-win { border-radius: var(--r-hero); background: #171717; color: #d4d4d4; overflow: hidden; box-shadow: 0 80px 160px -60px rgba(37, 37, 37, .55), 0 0 0 1px rgba(0, 0, 0, .3); }
|
||
.ide-bar { position: relative; display: flex; align-items: center; justify-content: center; height: 40px; background: #171717; }
|
||
.ide-dots { position: absolute; left: 16px; display: flex; gap: 7px; }
|
||
.ide-dots i { width: 12px; height: 12px; border-radius: 50%; background: #a3a3a3; } .ide-dots i:nth-child(2) { background: #d4d4d4; } .ide-dots i:nth-child(3) { background: #a3a3a3; }
|
||
.ide-title { font-size: 13px; color: #737373; } .ide-title b { color: #e5e5e5; font-weight: 500; }
|
||
.ide-tabs { display: flex; gap: 2px; padding: 0 10px; background: #171717; border-bottom: 1px solid rgba(255, 255, 255, .06); }
|
||
.ide-tabs a { height: 36px; padding: 0 16px; font: 500 13.5px/36px var(--sans); color: #737373; text-decoration: none; border-top: 2px solid transparent; }
|
||
@media (hover: hover) { .ide-tabs a:hover { color: #fafafa; } }
|
||
.ide-tabs a.on { color: #fafafa; background: #171717; border-top-color: var(--acc); }
|
||
.ide-body { display: grid; grid-template-columns: 48px 200px minmax(0, 1fr) 300px; height: clamp(440px, 36vw, 500px); }
|
||
.ide-act { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 14px; background: #171717; border-right: 1px solid rgba(255, 255, 255, .05); }
|
||
.ide-act i { width: 20px; height: 20px; border-radius: 5px; border: 1.6px solid #737373; }
|
||
.ide-act i.on { border-color: #fafafa; }
|
||
.ide-tree { display: flex; flex-direction: column; gap: 12px; padding: 14px; background: #171717; border-right: 1px solid rgba(255, 255, 255, .05); }
|
||
.ide-crumb { font-size: 12.5px; color: #737373; } .ide-crumb b { color: #d4d4d4; font-weight: 500; }
|
||
.ide-tree i { height: 7px; border-radius: 4px; background: #262626; }
|
||
.ide-tree i.on { background: var(--acc); }
|
||
.ide-code { position: relative; min-width: 0; overflow: hidden; }
|
||
.ide-crumbs { display: flex; gap: 8px; height: 32px; align-items: center; padding: 0 16px; font-size: 12.5px; color: #737373; border-bottom: 1px solid rgba(255, 255, 255, .05); }
|
||
.ide-crumbs span + span::before { content: '›'; margin-right: 8px; color: #737373; }
|
||
.ide-lines { list-style: none; margin: 0; padding: 10px 0; }
|
||
.ide-lines li { position: relative; display: flex; align-items: center; height: 26px; padding-right: 240px; transition: background .3s; }
|
||
.ide-lines li.cur { background: rgba(255, 255, 255, .05); }
|
||
.ide-lines li.cur::before { content: ''; position: absolute; left: 46px; top: 6px; bottom: 6px; width: 2px; background: #fafafa; animation: ide-blink 1s steps(1) infinite; }
|
||
.ide-lines li.hit { background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 34%, transparent), transparent 70%); }
|
||
.ide-lines li.hit .ide-n { color: #a3a3a3; }
|
||
@keyframes ide-blink { 50% { opacity: 0; } }
|
||
.ide-n { width: 42px; flex: none; padding-right: 14px; text-align: right; font-size: 12px; color: #737373; }
|
||
.ide-src { display: flex; gap: 7px; padding-left: 10px; }
|
||
.ide-src b, .ide-pic-code b { height: 8px; border-radius: 4px; }
|
||
.c1 { background: #a3a3a3; } .c2 { background: #737373; opacity: .6; } .c3 { background: #d4d4d4; }
|
||
.ide-mems { list-style: none; margin: 0; padding: 0; position: absolute; right: 16px; top: 42px; }
|
||
.ide-mem { position: absolute; right: 0; display: flex; align-items: center; gap: 8px; height: 28px; margin-top: -1px; padding: 0 10px 0 6px; border-radius: 9px; background: #262626; border: 1px solid rgba(255, 255, 255, .1); white-space: nowrap; font-size: 13px; color: #e5e5e5; outline: none; }
|
||
.ide-mem::before { content: ''; position: absolute; right: 100%; top: 50%; width: 64px; border-top: 1px dashed rgba(255, 255, 255, .25); }
|
||
.ide-mem-k { padding: 3px 7px; border-radius: 5px; font-size: 11.5px; color: #000; }
|
||
.k-episodic .ide-mem-k, .ide-pic-chip.k-episodic span { background: var(--ep); }
|
||
.k-semantic .ide-mem-k, .ide-pic-chip.k-semantic span { background: var(--se); }
|
||
.k-procedural .ide-mem-k, .ide-pic-chip.k-procedural span { background: var(--pr); }
|
||
.ide-mem-w { max-width: 0; overflow: hidden; transition: max-width .45s var(--a2-ease); }
|
||
@media (hover: hover) { .ide-mem:hover .ide-mem-w, .ide-mem:focus-visible .ide-mem-w, .ide-win:not(:hover) .ide-mem-w { max-width: 260px; } }
|
||
.ide-agent { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; background: #171717; border-left: 1px solid rgba(255, 255, 255, .05); }
|
||
.ide-agent-h { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #737373; }
|
||
.ide-agent ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font: 400 14px/1.5 var(--mono); }
|
||
.ide-agent li { display: flex; gap: 10px; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--a2-ease), transform .4s var(--a2-ease); }
|
||
.ide-agent li.on { opacity: 1; transform: none; }
|
||
.ide-p { color: #d4d4d4; } .ide-agent li.k1 .ide-p { color: #a3a3a3; } .ide-agent li.k2 { color: #737373; } .ide-agent li.k3, .ide-agent li.k3 .ide-p { color: #a3a3a3; }
|
||
.ide-open { align-self: flex-start; margin-top: auto; height: 36px; padding: 0 16px; border-radius: 999px; background: #fafafa; color: #000; font: 500 13.5px/36px var(--sans); text-decoration: none; opacity: 0; transition: opacity .4s; }
|
||
.ide-open.on { opacity: 1; }
|
||
|
||
/* engine: exploded planes */
|
||
.ide-engine .a2-grid { align-items: center; row-gap: 64px; }
|
||
.ide-engine-copy { grid-column: 1 / span 6; }
|
||
.ide-engine-copy .a2-kick { margin-bottom: 28px; }
|
||
.ide-engine-copy .a2-body { margin-top: 36px; max-width: 48ch; }
|
||
.ide-engine-vis { grid-column: 8 / span 5; }
|
||
.ide-planes { position: relative; height: 460px; perspective: 1400px; }
|
||
.ide-plane { position: absolute; left: 0; right: 0; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--r-hero); transform-origin: 50% 100%; }
|
||
.ide-plane.top { top: 150px; z-index: 2; background: #fff; border: 1px solid var(--line); box-shadow: var(--a2-shadow); }
|
||
.ide-plane.bot { top: 270px; background: #0a0a0a; color: #fafafa; }
|
||
.ide-plane-k { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
|
||
.ide-plane.bot .ide-plane-k { color: #a3a3a3; }
|
||
.ide-plane-row { display: flex; flex-wrap: wrap; gap: 8px; }
|
||
.ide-plane-row span { padding: 11px 15px; border-radius: 12px; background: var(--card); font-size: 15px; font-weight: 500; }
|
||
.ide-plane.bot .ide-plane-row span { background: #171717; color: #fafafa; }
|
||
|
||
/* chapter pictures */
|
||
.ide-pic { position: relative; height: min(560px, 64vh); border-radius: var(--r-hero); overflow: hidden; }
|
||
.ide-pic-mem { background: #171717; box-shadow: var(--a2-shadow); }
|
||
.ide-pic-code { list-style: none; margin: 0; padding: 28px 0; }
|
||
.ide-pic-code li { display: flex; align-items: center; gap: 8px; height: 30px; padding-left: 20px; }
|
||
.ide-pic-code li > span:first-child { flex: none; width: 26px; font-size: 12px; color: #737373; text-align: right; margin-right: 10px; }
|
||
.ide-pic-code li > .ide-pic-src { flex: 1; width: auto; min-width: 0; font-size: 15px; }
|
||
@media (max-width: 899px) { .ide-pic-code li > .ide-pic-src { font-size: 13px; } }
|
||
.ide-pic-chip { position: absolute; right: 24px; display: flex; align-items: center; gap: 10px; margin: 0; height: 32px; padding: 0 12px 0 6px; border-radius: 10px; background: #262626; border: 1px solid rgba(255, 255, 255, .12); color: #fafafa; font-size: 14px; white-space: nowrap; animation: ide-chip .7s var(--a2-ease) both; }
|
||
.ide-pic-chip span { padding: 4px 8px; border-radius: 6px; color: #000; font-size: 12px; }
|
||
@keyframes ide-chip { from { opacity: 0; transform: translateX(24px) scale(.94); } }
|
||
.ide-pic-graph { background: var(--acc-soft); }
|
||
.ide-pic-graph svg { position: absolute; inset: 10%; width: 80%; height: 80%; overflow: visible; }
|
||
.ide-pic-graph line { stroke: rgba(0, 0, 0, .14); stroke-width: 1.4; }
|
||
.ide-pic-graph line.in { stroke: var(--acc); stroke-width: 2; }
|
||
.ide-g { position: absolute; width: 22px; height: 22px; margin: -11px; border-radius: 50%; background: #fff; border: 2px solid rgba(0, 0, 0, .18); animation: ide-node .6s var(--a2-ease) both; }
|
||
.ide-g.d0 { width: 34px; height: 34px; margin: -17px; background: var(--acc); border-color: var(--acc); box-shadow: 0 0 0 10px color-mix(in srgb, var(--acc) 18%, transparent); }
|
||
.ide-g.d1 { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 30%, #fff); }
|
||
@keyframes ide-node { from { opacity: 0; transform: scale(.4); } }
|
||
.ide-ring-r { position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1.5px dashed var(--acc); animation: ide-radius 1.2s var(--a2-ease) both; }
|
||
@keyframes ide-radius { from { transform: scale(.1); opacity: 0; } }
|
||
.ide-pic-legend { position: absolute; left: 24px; bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
|
||
.ide-pic-legend span { padding: 8px 12px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; }
|
||
.ide-pic-safe { display: grid; grid-template-rows: 1fr auto; gap: 16px; padding: 28px; background: var(--card); }
|
||
.ide-box { position: relative; display: grid; place-items: center; border-radius: 20px; border: 2px dashed var(--acc); background: #fff; }
|
||
.ide-box .x-mono { position: absolute; left: 18px; top: 16px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }
|
||
.ide-box p { margin: 0; padding: 14px 22px; border-radius: 14px; background: #171717; color: #fafafa; font: 500 16px/1 var(--mono); animation: ide-chip .7s var(--a2-ease) both; }
|
||
.ide-key { position: absolute; right: 44px; top: 44px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #fff; box-shadow: var(--a2-shadow); font-size: 15px; font-weight: 500; }
|
||
.ide-key em { font-style: normal; color: var(--faint); font-weight: 400; }
|
||
.ide-trail { list-style: none; margin: 0; padding: 18px 20px; border-radius: 18px; background: #fff; display: grid; gap: 10px; }
|
||
.ide-trail li { display: flex; align-items: center; gap: 12px; font-size: 15px; animation: ide-chip .6s var(--a2-ease) both; }
|
||
.ide-trail li.x-mono { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); animation: none; }
|
||
.ide-trail i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
|
||
|
||
/* tell it something */
|
||
.ide-teach-top { align-items: end; row-gap: 40px; }
|
||
.ide-teach-l { grid-column: 1 / span 5; }
|
||
.ide-teach-l .a2-kick { margin-bottom: 24px; }
|
||
.ide-teach-f { grid-column: 7 / span 6; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
|
||
.ide-teach-f input { box-sizing: border-box; width: 100%; min-height: 56px; padding: 0 20px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 400 17px/1 var(--sans); }
|
||
.ide-teach-f [role='radiogroup'] { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
|
||
.ide-teach-f [role='radiogroup'] button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: inherit; font: 500 14.5px/1 var(--sans); cursor: pointer; }
|
||
.ide-teach-f [role='radiogroup'] button[aria-checked='true'] { background: var(--acc); color: #fff; border-color: var(--acc); }
|
||
.ide-teach-f .x-btn { grid-column: 2; grid-row: 1; height: 56px; }
|
||
.ide-teach-f .x-btn:disabled { opacity: .4; cursor: default; }
|
||
.ide-teach-f input:focus-visible, .ide-teach-f button:focus-visible, .ide-teach-c button:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
|
||
.ide-teach-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
|
||
.ide-teach-c { padding: 28px; border-radius: var(--r-hero); background: var(--card); min-height: 240px; }
|
||
.ide-teach-k { margin: 0 0 20px; font-size: 15px; color: var(--soft); }
|
||
.ide-teach-k span { display: inline-block; margin-right: 6px; padding: 4px 8px; border-radius: 6px; color: #000; font-size: 12px; }
|
||
.ide-teach-c.k-episodic .ide-teach-k span { background: var(--ep); } .ide-teach-c.k-semantic .ide-teach-k span { background: var(--se); } .ide-teach-c.k-procedural .ide-teach-k span { background: var(--pr); }
|
||
.ide-teach-c ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
|
||
.ide-teach-c li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 12px 12px 16px; border-radius: var(--r-card); background: #fff; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; animation: ide-decay 40s linear forwards; }
|
||
.ide-teach-c li button { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: inherit; font: 500 13.5px/1 var(--sans); cursor: pointer; }
|
||
@keyframes ide-decay { from { opacity: 1; } to { opacity: .28; } }
|
||
.ide-teach-none { margin: 0; font-size: 15px; color: var(--faint); }
|
||
.ide-teach-s { margin: 28px 0 0; font-size: 17px; color: var(--soft); }
|
||
|
||
/* dark room: tiers + the capabilities, one open at a time */
|
||
.ide-dark { overflow: hidden; }
|
||
.ide-dark .a2-grid { align-items: center; row-gap: 56px; }
|
||
.ide-caps-vis { grid-column: 1 / span 6; }
|
||
.ide-caps-copy { grid-column: 8 / span 5; }
|
||
.ide-caps-copy .a2-kick { margin-bottom: 24px; }
|
||
.ide-caps-copy .a2-headline { margin-bottom: 40px; }
|
||
.ide-tiers-box { position: relative; aspect-ratio: 1; max-width: 600px; width: 100%; }
|
||
.ide-tiers { position: absolute; inset: 0; }
|
||
.ide-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); }
|
||
.ide-ring span { position: absolute; left: 50%; top: -9px; translate: -50% 0; padding: 0 10px; background: #000; font-size: 12.5px; color: #737373; white-space: nowrap; }
|
||
.ide-ring.r3 { inset: 0; border-color: rgba(255, 255, 255, .24); }
|
||
.ide-ring.r2 { inset: 18%; }
|
||
.ide-ring.r1 { inset: 36%; border-style: dashed; border-color: color-mix(in srgb, var(--acc) 70%, #fff); }
|
||
.ide-mote { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: #fafafa; transform: rotate(var(--a)) translateY(-14%); animation: ide-in 8s var(--a2-ease) infinite; }
|
||
@keyframes ide-in { 0% { transform: rotate(var(--a)) translateY(-40px); opacity: 0; } 15% { opacity: 1; } 55% { transform: rotate(calc(var(--a) + 60deg)) translateY(-190px); opacity: 1; } 85% { transform: rotate(calc(var(--a) + 90deg)) translateY(-268px); opacity: .5; } 100% { transform: rotate(calc(var(--a) + 100deg)) translateY(-268px); opacity: 0; } }
|
||
.ide-node { position: absolute; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; }
|
||
.ide-node span { position: absolute; top: 24px; font-size: 12.5px; white-space: nowrap; font-weight: 400; }
|
||
.ide-node.n0 { left: 10%; top: 28%; background: var(--ep); box-shadow: 0 0 24px var(--ep); } .ide-node.n0 span { color: var(--ep); }
|
||
.ide-node.n1 { right: 8%; top: 40%; background: var(--se); box-shadow: 0 0 24px var(--se); } .ide-node.n1 span { color: var(--se); }
|
||
.ide-node.n2 { left: 46%; bottom: 3%; background: var(--pr); box-shadow: 0 0 24px var(--pr); } .ide-node.n2 span { color: var(--pr); }
|
||
.ide-acc { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
|
||
.ide-acc li { border-top: 1px solid rgba(255, 255, 255, .12); }
|
||
.ide-acc h3 { margin: 0; }
|
||
.ide-acc button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 64px; padding: 0; border: 0; background: none; color: #a3a3a3; font: 580 clamp(19px, 1.6vw, 23px)/1.2 var(--sans); letter-spacing: -.02em; text-align: left; cursor: pointer; transition: color .3s; }
|
||
@media (hover: hover) { .ide-acc li.on button, .ide-acc button:hover { color: #fafafa; } }
|
||
.ide-acc button i { position: relative; width: 14px; height: 14px; flex: none; }
|
||
.ide-acc button i::before, .ide-acc button i::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--a2-ease); }
|
||
.ide-acc button i::after { transform: rotate(90deg); }
|
||
.ide-acc li.on button i::after { transform: rotate(0deg); }
|
||
.ide-acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--a2-ease); }
|
||
.ide-acc-a > p { min-height: 0; overflow: hidden; margin: 0; max-width: 48ch; font-size: 17px; line-height: 1.55; color: #a3a3a3; }
|
||
.ide-acc li.on .ide-acc-a { grid-template-rows: 1fr; }
|
||
.ide-acc li.on .ide-acc-a > p { padding-bottom: 24px; }
|
||
|
||
/* start */
|
||
.ide-start .a2-grid { align-items: center; row-gap: 48px; }
|
||
.ide-start-copy { grid-column: 1 / span 5; }
|
||
.ide-start-copy .a2-kick { margin-bottom: 24px; }
|
||
.ide-script { grid-column: 7 / span 6; border-radius: var(--r-hero); background: #0a0a0a; color: #fafafa; overflow: hidden; box-shadow: var(--a2-shadow); }
|
||
.ide-script-bar { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 12px 0 24px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
|
||
.ide-script-bar .x-mono { font-size: 13px; color: #737373; }
|
||
.ide-script-bar .x-copy { background: #171717; border-color: rgba(255, 255, 255, .12); color: #d4d4d4; }
|
||
.ide-script pre { margin: 0; padding: 26px 28px 30px; overflow-x: auto; font: 400 15.5px/1.85 var(--mono); }
|
||
.ide-script .c { color: #737373; }
|
||
|
||
/* end */
|
||
.ide-end { padding-top: 0; }
|
||
.ide-end-in { align-items: end; row-gap: 48px; }
|
||
.ide-end-copy { grid-column: 1 / span 7; }
|
||
.ide-end-copy .a2-lede { margin: 32px 0 36px; }
|
||
.ide-get { grid-column: 9 / span 4; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 40px; border-radius: var(--r-hero); background: var(--acc); color: #fff; }
|
||
.ide-get-i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fff; color: #000; }
|
||
.ide-get h2 { margin: 0; font-size: clamp(32px, 3vw, 44px); font-weight: 600; letter-spacing: -.04em; color: #fff; }
|
||
.ide-get .x-btn.solid { background: #fff; color: #000; border-color: #fff; }
|
||
.ide-rel { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 96px; padding-top: 32px; border-top: 1px solid var(--line); }
|
||
.ide-rel > div { display: flex; flex-wrap: wrap; gap: 10px; }
|
||
.ide-rel-a { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); font: 500 16px/1 var(--sans); color: var(--ink); text-decoration: none; transition: border-color .25s; }
|
||
.ide-rel-a span { transition: transform .35s var(--a2-ease); }
|
||
@media (hover: hover) { .ide-rel-a:hover { border-color: rgba(0, 0, 0, .3); } }
|
||
@media (hover: hover) { .ide-rel-a:hover span { transform: translateX(4px); } }
|
||
|
||
@media (max-width: 900px) {
|
||
.ide-stage { height: auto; }
|
||
.ide-stick { position: static; height: auto; display: block; overflow: visible; padding: 112px 0 40px; }
|
||
.ide-copy { position: static; }
|
||
.ide-copy-row { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 24px; }
|
||
.ide-copy-row .a2-acts { justify-content: flex-start; }
|
||
.ide-obj { width: calc(100% - 24px); margin: 48px auto 0; }
|
||
.ide-win { border-radius: 22px; }
|
||
.ide-body { grid-template-columns: minmax(0, 1fr); height: auto; }
|
||
.ide-act, .ide-tree { display: none; }
|
||
.ide-code { height: 340px; }
|
||
.ide-lines li { padding-right: 0; }
|
||
.ide-mems { right: 8px; }
|
||
.ide-mem { font-size: 13px; }
|
||
.ide-mem::before { width: 24px; }
|
||
.ide-mem-w { max-width: 0 !important; }
|
||
.ide-agent { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .06); }
|
||
.ide-agent ul { font-size: 14px; }
|
||
.ide-tabs { overflow-x: auto; scrollbar-width: none; }
|
||
.ide-tabs a { flex: none; font-size: 14px; }
|
||
.ide-under { flex-direction: column; gap: 6px; padding: 0 8px; }
|
||
.ide-planes { height: 360px; }
|
||
.ide-plane.top { top: 110px; } .ide-plane.bot { top: 210px; }
|
||
.ide-plane { padding: 22px; }
|
||
.ide-pic { height: 380px; border-radius: 22px; }
|
||
.ide-pic-chip { right: 12px; font-size: 13.5px; }
|
||
.ide-pic-chip:not(.k-episodic) { font-size: 0; gap: 0; padding-right: 6px; }
|
||
.ide-pic-chip:not(.k-episodic) span { font-size: 12px; }
|
||
.ide-key { right: 20px; top: 20px; }
|
||
.ide-pic-safe { padding: 16px; }
|
||
.ide-teach-f { grid-template-columns: minmax(0, 1fr); }
|
||
.ide-teach-f .x-btn { grid-column: 1; grid-row: auto; }
|
||
.ide-teach-g { grid-template-columns: minmax(0, 1fr); margin-top: 40px; gap: 12px; }
|
||
.ide-teach-c { min-height: 0; padding: 22px; }
|
||
.ide-tiers-box { max-width: 340px; margin: 0 auto; }
|
||
@keyframes ide-in { 0% { transform: rotate(var(--a)) translateY(-26px); opacity: 0; } 15% { opacity: 1; } 55% { transform: rotate(calc(var(--a) + 60deg)) translateY(-110px); opacity: 1; } 100% { transform: rotate(calc(var(--a) + 100deg)) translateY(-150px); opacity: 0; } }
|
||
.ide-script pre { font-size: 14px; padding: 20px; }
|
||
.ide-get { padding: 28px; }
|
||
.ide-rel { margin-top: 64px; }
|
||
}
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.ide *, .ide *::before, .ide *::after { animation: none !important; }
|
||
.ide-agent li { opacity: 1; transform: none; }
|
||
}
|
||
|
||
/* 0 UI hues (James 7 Nov 14:20): the accent is ink in light rooms and #fafafa in dark panels */
|
||
.ide-win, .ide-pic-mem, .ide-script { --acc: #fafafa; }
|
||
.ide-get .x-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
|
||
|
||
/* real code (7 Nov review: "show the real thing") */
|
||
.ide-lines li { height: 28px; padding-right: 120px; font-size: 14px; }
|
||
.ide-src { display: block; gap: 0; padding-left: 12px; white-space: pre; overflow: hidden; text-overflow: ellipsis; color: #d4d4d4; }
|
||
.ide-cm { color: #737373; } .ide-kw { color: #fafafa; font-weight: 500; } .ide-url { color: #a3a3a3; }
|
||
.ide-lines li.cur::before { left: 48px; }
|
||
.ide-lines li.hit { background: linear-gradient(90deg, rgba(255, 255, 255, .09), transparent 70%); }
|
||
.ide-mems { top: 44px; }
|
||
.ide-mem-w { max-width: 0 !important; }
|
||
@media (hover: hover) { .ide-mem:hover .ide-mem-w, .ide-mem:focus-visible .ide-mem-w { max-width: 260px !important; } }
|
||
.ide-mem-k { background: #e5e5e5; }
|
||
.k-episodic .ide-mem-k, .ide-pic-chip.k-episodic span { background: #fafafa; }
|
||
.k-semantic .ide-mem-k, .ide-pic-chip.k-semantic span { background: #d4d4d4; }
|
||
.k-procedural .ide-mem-k, .ide-pic-chip.k-procedural span { background: #737373; color: #fff; }
|
||
.ide-pic-code { padding: 28px 0; font-size: 15px; }
|
||
.ide-pic-code li { height: 34px; padding-left: 20px; gap: 0; }
|
||
.ide-pic-code li > span:first-child { width: 26px; margin-right: 16px; font-size: 12px; color: #737373; text-align: right; }
|
||
.ide-pic-src { white-space: pre; color: #d4d4d4; overflow: hidden; text-overflow: ellipsis; padding-right: 230px; }
|
||
.ide-pic-chip { font-size: 13.5px; }
|
||
/* the start script types itself, line by line, once it is on screen (time, not scroll) */
|
||
.ide-script pre span { display: block; }
|
||
.ide-script pre.type span { animation: ide-type calc(var(--n) * 22ms) steps(var(--n)) var(--d) both; }
|
||
@keyframes ide-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
|
||
/* related apps as cards that open into their pages */
|
||
.ide-rel { display: block; }
|
||
.ide-rel .a2-kick { margin-bottom: 20px; }
|
||
.ide-rel > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
|
||
.ide-rel-a { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 200px; padding: 28px; border-radius: var(--r-hero); border: 0; background: var(--card); text-decoration: none; transition: transform .5s var(--a2-ease), background .3s; }
|
||
@media (hover: hover) { .ide-rel-a:hover { background: #ededed; transform: translateY(-4px); } }
|
||
.ide-rel-a:active { transform: scale(.98); }
|
||
.ide-rel-g { font-size: 14px; color: var(--faint); }
|
||
.ide-rel-a b { font-size: clamp(32px, 3vw, 44px); font-weight: 600; letter-spacing: -.04em; }
|
||
.ide-rel-i { position: absolute; right: 28px; bottom: 28px; font-size: 22px; transition: transform .35s var(--a2-ease); }
|
||
@media (hover: hover) { .ide-rel-a:hover .ide-rel-i { transform: translateX(6px); } }
|
||
@media (max-width: 900px) {
|
||
.ide-lines li { padding-right: 96px; font-size: 13px; }
|
||
.ide-under a, .ide-open { display: inline-flex; align-items: center; min-height: 44px; }
|
||
.ide-pic-src { padding-right: 110px; font-size: 13px; }
|
||
.ide-rel > div { grid-template-columns: minmax(0, 1fr); }
|
||
.ide-rel-a { height: 140px; }
|
||
}
|
||
@media (prefers-reduced-motion: reduce) { .ide-script pre span { animation: none !important; } }
|
||
|
||
/* the status bar (differs from the /cli and /desktop windows' tab rows) */
|
||
.ide-bar { justify-content: flex-start; padding-left: 92px; }
|
||
.ide-status { display: flex; align-items: center; gap: 2px; height: 30px; padding: 0 12px; background: #0f0f0f; border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 0; }
|
||
.ide-status a { height: 30px; padding: 0 10px; font: 500 12px/30px var(--mono); color: #737373; border-top: 0; }
|
||
.ide-status a.on { background: transparent; color: #fafafa; border-top: 0; }
|
||
@media (hover: hover) { .ide-status a:hover { color: #fafafa; } }
|
||
.ide-status-dot { width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #fafafa; }
|
||
.ide-status-r { margin-left: auto; font-size: 11.5px; color: #525252; }
|
||
@media (max-width: 900px) { .ide-status { overflow-x: auto; scrollbar-width: none; } .ide-status a { flex: none; height: 44px; line-height: 44px; } .ide-status-r { display: none; } .ide-status { height: 44px; } }
|
||
.ide-body { height: clamp(360px, 28vw, 410px); }
|
||
@media (max-width: 900px) { .ide-body { height: auto; } .ide-code { height: 320px; } }
|
||
|
||
/* MASTER.md (7 Nov): deck scale, flat tiles, pause controls, the close as one Band */
|
||
.ide-bar { height: 48px; }
|
||
.ide-pause { position: absolute; right: 4px; top: 2px; width: 44px; height: 44px; background: transparent !important; border-color: transparent !important; color: #a3a3a3 !important; }
|
||
.ide-pause[aria-pressed='true'] { color: #fafafa !important; }
|
||
.ide-tiers-box .ide-tiers-pause { position: absolute; left: 0; top: 0; z-index: 2; }
|
||
.ide-acc button { font: 497 17px/1.3 var(--sans); min-height: 56px; }
|
||
.ide-acc-a > p { font-size: 16px; }
|
||
.ide-teach-f .ide-add { grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; cursor: pointer; transition: transform .09s var(--a2-ease); }
|
||
.ide-teach-f .ide-add:active { transform: scale(.97); }
|
||
.ide-teach-f .ide-add:disabled { opacity: .35; cursor: default; }
|
||
.ide-teach-c li button { display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0; }
|
||
.ide-teach-k, .ide-teach-c li, .ide-teach-s { font-size: 15px; }
|
||
.ide-end-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 12px; align-items: stretch; }
|
||
.ide-get { grid-column: auto; padding: 32px; border-radius: var(--r-hero); background: var(--ink); color: #fff; justify-content: space-between; }
|
||
.ide-get h2 { font-size: 26px; color: #fff; }
|
||
.ide-get-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
|
||
.ide-get-acts .x-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
|
||
.ide-get-acts .x-arrow { color: #fff; }
|
||
.ide-rel { margin-top: 0; padding-top: 0; border-top: 0; }
|
||
.ide-rel-a { height: 168px; background: var(--card); }
|
||
.ide-rel-a b { font-size: 26px; font-weight: 497; letter-spacing: -.025em; }
|
||
.ide-end { padding-bottom: clamp(56px, 7vw, 116px); }
|
||
@media (max-width: 899px) {
|
||
.ide-end-in { grid-template-columns: minmax(0, 1fr); }
|
||
.ide-teach-f .ide-add { grid-column: auto; grid-row: auto; justify-self: start; }
|
||
}
|
||
|
||
/* 13px floor in the product render */
|
||
.ide-n, .ide-crumbs, .ide-status a, .ide-title, .ide-mem, .ide-mem-k, .ide-crumb, .ide-agent-h, .ide-plane-k, .ide-pic-chip span, .ide-pic-code li > span:first-child, .ide-box .x-mono, .ide-trail li.x-mono, .ide-ring span, .ide-node span, .ide-script-bar .x-mono { font-size: 13px; }
|
||
|
||
/* critic round 4 (7 Nov): no equal boxes, JS off safe, every control answers, deck greys */
|
||
.ide { --ep: #f5f5f5; --se: #d4d4d4; --pr: #737373; }
|
||
.ide-title { color: #737373; } .ide-title b { color: #e5e5e5; }
|
||
.ide-crumb, .ide-crumbs, .ide-agent-h, .ide-script-bar .x-mono, .ide-ring span { color: #a3a3a3; }
|
||
.ide-lines li.hit .ide-n, .ide-agent li.k1 .ide-p, .ide-agent li.k3, .ide-agent li.k3 .ide-p, .ide-p { color: rgba(255, 255, 255, .78); }
|
||
.ide-agent li.k2 { color: rgba(255, 255, 255, .55); }
|
||
.ide-mem, .ide-pic-chip { background: #262626; color: #e5e5e5; }
|
||
.ide-pic-chip { color: #fafafa; }
|
||
.k-episodic .ide-mem-k, .ide-pic-chip.k-episodic span { background: #f5f5f5; color: #0a0a0a; }
|
||
.k-semantic .ide-mem-k, .ide-pic-chip.k-semantic span { background: #d4d4d4; color: #0a0a0a; }
|
||
.k-procedural .ide-mem-k, .ide-pic-chip.k-procedural span { background: #737373; color: #fafafa; }
|
||
.ide-mem-k { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
|
||
/* the gutter memory shows its kind; its words live in the caption beside it (no width animation) */
|
||
.ide-mem-w, .ide-mem-w[class] { position: absolute; width: 1px; height: 1px; max-width: none !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; transition: none; }
|
||
/* memory kinds: unequal widths, never three equal boxes */
|
||
@media (min-width: 900px) { .ide-teach-g { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); } }
|
||
/* related apps as hairline rows, the arrow at the far edge */
|
||
.ide-rel > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-bottom: 1px solid rgba(0, 0, 0, .1); }
|
||
.ide-rel-a { flex-direction: row; align-items: center; justify-content: flex-start; gap: 20px; height: 72px; padding: 0 16px; border-radius: 0; background: transparent; border-top: 1px solid rgba(0, 0, 0, .1); transform: none; transition: background-color .15s cubic-bezier(0, 0, .2, 1); }
|
||
.ide-rel-a b { flex: 1; font-size: 26px; font-weight: 497; letter-spacing: -.025em; }
|
||
.ide-rel-g { width: 64px; }
|
||
.ide-rel-i { position: static; margin-left: auto; font-size: 20px; }
|
||
@media (hover: hover) { .ide-rel-a:hover { background: #f5f5f5; transform: none; } }
|
||
.ide-rel-a:active { transform: scale(.99); }
|
||
@media (max-width: 899px) { .ide-rel-a { height: 64px; } .ide-rel-a b { font-size: 21px; } .ide-rel-g { width: 48px; } }
|
||
/* last controls that answer: the editor's Pause and the memory kinds */
|
||
@media (hover: hover) {
|
||
.ide-pause:hover { color: #fafafa !important; background: rgba(255, 255, 255, .08) !important; }
|
||
.ide-teach-f [role='radiogroup'] button:not([aria-checked='true']):hover { border-color: rgba(0, 0, 0, .3); background: #f5f5f5; }
|
||
}
|
||
.ide-teach-f [role='radiogroup'] button { transition: background-color .15s cubic-bezier(0, 0, .2, 1), border-color .15s cubic-bezier(0, 0, .2, 1), transform 90ms; }
|
||
.ide-teach-f [role='radiogroup'] button:active { transform: scale(.97); }
|
||
/* less dead air between rooms; the start heading sits on the terminal's baseline */
|
||
.ide-engine, .ide-teach { padding-top: clamp(72px, 8vw, 116px) !important; }
|
||
.ide-start .a2-grid { align-items: end; }
|
||
/* round 5: the chapter code shows whole lines, the keychain clears the sandbox label on phones, less air before the chapters */
|
||
.ide-pic-src, .ide-pic-src[class] { padding-right: 0 !important; text-overflow: clip; color: rgba(255, 255, 255, .55); }
|
||
.ide-pic-mem { background: #171717; }
|
||
.ide-engine { padding-bottom: clamp(32px, 4vw, 56px) !important; }
|
||
@media (hover: hover) { .ide-script-bar button:hover { background: #262626; color: #fafafa; border-color: rgba(255, 255, 255, .3); } }
|
||
@media (max-width: 899px) { .ide-key { position: static; margin: 52px 16px 0; align-self: start; } .ide-pic-safe .ide-box { padding-top: 8px; } }
|
||
@media (max-width: 899px), (prefers-reduced-motion: reduce) { .ide-room { clip-path: none !important; } }
|
||
/* the page's own line mask (Lines in IdePage.jsx): CSS only, so server and client agree */
|
||
.ide-ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
|
||
.ide-ln > span { display: inline-block; }
|
||
html.js .ide-lines:not(.go) .ide-ln > span { transform: translateY(105%); }
|
||
.ide-lines.go .ide-ln > span { animation: ide-cut .7s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i, 0) * 60ms); }
|
||
@keyframes ide-cut { from { transform: translateY(105%); } to { transform: none; } }
|
||
@media (prefers-reduced-motion: reduce) { html.js .ide-lines:not(.go) .ide-ln > span, .ide-lines.go .ide-ln > span { transform: none; animation: none; } }
|
||
/* round 7: chapters never wider than the screen; a memory chip never covers code; Recall answers hover; less air */
|
||
.ide .a2-ch-item, .ide .a2-ch-pv, .ide-pic, .ide-pic-code, .ide-pic-code li { min-width: 0; max-width: 100%; }
|
||
.ide-pic-code { overflow: hidden; }
|
||
.ide-pic-code li > .ide-pic-src { overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
|
||
.ide-pic-code li:nth-child(5) > .ide-pic-src, .ide-pic-code li:nth-child(6) > .ide-pic-src, .ide-pic-code li:nth-child(8) > .ide-pic-src { max-width: calc(100% - 240px); }
|
||
@media (hover: hover) { .ide-teach-c li button:hover { background: #f5f5f5; border-color: rgba(0, 0, 0, .3); } }
|
||
.ide .a2-paste, .ide-engine { padding-top: clamp(56px, 6vw, 88px) !important; }
|
||
.ide-dark { margin-top: 0; }
|
||
@media (max-width: 899px) {
|
||
.ide-pic-chip .ide-pic-w { display: none; }
|
||
.ide-pic-chip { padding-right: 6px; }
|
||
.ide-pic-code li:nth-child(5) > .ide-pic-src, .ide-pic-code li:nth-child(6) > .ide-pic-src, .ide-pic-code li:nth-child(8) > .ide-pic-src { max-width: calc(100% - 120px); }
|
||
}
|
||
@media (prefers-reduced-motion: reduce) { .ide-plane.top { transform: translateY(-120px) rotateX(14deg) !important; } }
|
||
/* round 6: no dead air before the chapters or Teach, the last hovers, the kit accent on the deck's ink */
|
||
.ide { --acc: #0a0a0a; }
|
||
.ide-engine { padding-bottom: 0 !important; }
|
||
.ide-teach { padding-top: 44px !important; }
|
||
@media (min-width: 900px) { .ide .a2-ch-stick { align-items: flex-start; padding-top: clamp(96px, 12vh, 140px); } }
|
||
@media (hover: hover) {
|
||
.ide .a2-ch-stick button:not([aria-current]):hover { color: #0a0a0a; }
|
||
.ide-get .x-btn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
|
||
}
|
||
/* reduced motion on desktop: the stage lies flat, as with JS off, so the editor never sits over the words */
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.ide-stage { height: auto; }
|
||
.ide-stick { position: static; height: auto; display: block; overflow: visible; padding: 112px 0 40px; }
|
||
.ide-copy { position: static; opacity: 1 !important; transform: none !important; }
|
||
.ide-obj { transform: none !important; margin: 48px auto 0; }
|
||
.ide-under { opacity: 1 !important; }
|
||
}
|
||
/* JS off: the stage lies flat, the editor under the ask, every picture and caption visible */
|
||
html:not(.js) .ide-stage { height: auto; }
|
||
html:not(.js) .ide-stick { position: static; height: auto; display: block; overflow: visible; padding: 112px 0 40px; }
|
||
html:not(.js) .ide-copy { position: static; opacity: 1 !important; transform: none !important; }
|
||
html:not(.js) .ide-obj { transform: none !important; margin: 48px auto 0; }
|
||
html:not(.js) .ide-under, html:not(.js) .a2-ch-vis, html:not(.js) .ide-pic-chip, html:not(.js) .ide-mem { opacity: 1 !important; transform: none !important; animation: none !important; }
|
||
|
||
/* critic round 3 (7 Nov): the app links live in the close, as 44px quiet rows that fill on hover */
|
||
.ide-status-l { font-size: 11.5px; color: #737373; }
|
||
.ide-apps { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 20px; }
|
||
.ide-apps a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font: 500 13px/1 var(--mono); color: #525252; text-decoration: none; transition: background-color .15s cubic-bezier(0, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1); }
|
||
.ide-apps a[aria-current] { color: #0a0a0a; }
|
||
@media (hover: hover) { .ide-apps a:hover { background: #f2f2f2; color: #0a0a0a; } }
|
||
.ide-apps a:active { transform: scale(.97); }
|
||
/* phone and desktop: the text links reach 44px */
|
||
.ide-copy .x-arrow, .ide-get-acts .x-arrow { min-height: 44px; }
|
||
/* dark-room rows answer the pointer: a white 6% fill behind the row, the plus turns ink-bright */
|
||
.ide-acc button { position: relative; isolation: isolate; }
|
||
.ide-acc button::before { content: ''; position: absolute; inset: 0 -14px; z-index: -1; border-radius: 12px; background: rgba(255, 255, 255, .06); opacity: 0; transition: opacity .15s cubic-bezier(0, 0, .2, 1); }
|
||
@media (hover: hover) { .ide-acc button:hover::before { opacity: 1; } .ide-acc button:hover i { transform: translateX(-4px); } }
|
||
.ide-acc button i { transition: transform .15s cubic-bezier(0, 0, .2, 1); }
|
||
.ide-acc button:active { transform: scale(.99); }
|
||
@media (hover: hover) { .ide-dark .a2-pause:hover { background: #262626; border-color: rgba(255, 255, 255, .3); } .a2-pause:hover { border-color: rgba(0, 0, 0, .3); } }
|
||
@media (max-width: 899px) { .ide-acc button::before { inset: 0 -8px; } }
|
||
|
||
/* round 8: a memory chip never covers code. Lines that carry a chip keep their text clear of the chip and its lead line
|
||
(ellipsis if needed); the stage's shadow is the deck's floating shadow and is never cut by the sticky stage */
|
||
.ide-lines li > .ide-src { flex: 0 1 auto; min-width: 0; }
|
||
.ide-lines li.m { padding-right: var(--mw, 120px); }
|
||
.ide-win { box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .3); }
|
||
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) { html.js .ide-stick { overflow: clip; overflow-clip-margin: 64px; } }
|
||
/* Teach: one sheet in three columns, divided by hairlines, not three filled boxes */
|
||
.ide-teach-g { gap: 0; }
|
||
.ide-teach-c { background: none; border-radius: 0; padding: 8px 28px; }
|
||
.ide-teach-c:first-child { padding-left: 0; }
|
||
.ide-teach-c + .ide-teach-c { border-left: 1px solid rgba(0, 0, 0, .1); }
|
||
.ide-teach-c li { background: #f5f5f5; }
|
||
@media (max-width: 899px) {
|
||
.ide-teach-c, .ide-teach-c:first-child { padding: 20px 0; }
|
||
.ide-teach-c + .ide-teach-c { border-left: 0; border-top: 1px solid rgba(0, 0, 0, .1); }
|
||
}
|
||
/* round 9: the chapter's memories sit in the flow of their own line (IdePage.jsx Picture), so code can never run
|
||
under a chip: the code shrinks with an ellipsis, the chip keeps its size at the line's end */
|
||
.ide-pic-code li.m > .ide-pic-src, .ide-pic-code li.m > .ide-pic-src[class] { flex: 0 1 auto; max-width: none; margin-right: 16px; text-overflow: ellipsis; }
|
||
.ide-pic-code li > .ide-pic-chip { position: static; flex: none; margin-left: auto; margin-right: 24px; }
|
||
.ide-pic-chip[class] .ide-pic-w { padding: 0; background: none; color: #e5e5e5; font-size: 14px; }
|
||
@media (max-width: 899px) { .ide-pic-code li > .ide-pic-chip { margin-right: 12px; } .ide-pic-code li.m > .ide-pic-src[class] { margin-right: 12px; } }
|
||
/* the start script's long last line wraps inside its own clip box instead of being cut at the panel edge */
|
||
.ide-script pre span { white-space: pre-wrap; overflow-wrap: anywhere; }
|
||
/* the agent's session leaves in reverse order before the replay (its last line first) */
|
||
.ide-agent li.k2:not(.on) { transition-delay: 60ms; } .ide-agent li.k1:not(.on) { transition-delay: 120ms; } .ide-agent li.k0:not(.on) { transition-delay: 180ms; }
|
||
/* the chapter pictures keep breathing a little while they are on screen (time, not scroll): the memories are
|
||
recalled in turn, the impact radius pulses from the changed node, the audit trail ticks down its rows. Each loop
|
||
plays three times (under 5 s) whenever its chapter comes in, and reduced motion keeps the still picture. */
|
||
.ide-pic-code li > .ide-pic-chip { position: relative; }
|
||
.ide-pic-chip::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .6); opacity: 0; pointer-events: none; animation: ide-recall 1.5s cubic-bezier(.4, 0, .2, 1) calc(1s + var(--k, 0) * .5s) 3; }
|
||
@keyframes ide-recall { 0%, 100% { opacity: 0; } 35% { opacity: 1; } }
|
||
.ide-pic-graph .ide-g.d0 { animation: ide-node .6s var(--a2-ease) both, ide-core 1.6s ease-in-out 1.1s 3; }
|
||
@keyframes ide-core { 50% { box-shadow: 0 0 0 18px color-mix(in srgb, var(--acc) 8%, transparent); } }
|
||
.ide-pic-graph .ide-g.d1 { animation: ide-node .6s var(--a2-ease) both, ide-near 1.6s ease-in-out 1.4s 3; }
|
||
@keyframes ide-near { 50% { background: var(--acc); } }
|
||
.ide-trail li:not(.x-mono) i { animation: ide-tick 1.5s ease-in-out 3; }
|
||
.ide-trail li:nth-child(2) i { animation-delay: 1s; } .ide-trail li:nth-child(3) i { animation-delay: 1.25s; } .ide-trail li:nth-child(4) i { animation-delay: 1.5s; }
|
||
@keyframes ide-tick { 40% { transform: scale(1.75); } }
|
||
@media (prefers-reduced-motion: reduce) { .ide-pic-chip::after, .ide-trail li i { animation: none !important; } .ide-pic-graph .ide-g { animation: none !important; } }
|
||
html:not(.js) .ide-pic-chip::after { animation: none; }
|
||
/* ...and they start only once the picture is on screen (Picture adds .go), so the loops are seen, not spent off screen */
|
||
html.js .ide-pic:not(.go), html.js .ide-pic:not(.go) *, html.js .ide-pic:not(.go) *::after { animation-play-state: paused !important; }
|
||
/* the Rust plane runs: its four parts light in turn, twice, once the planes are seen (under 5 s; reduced motion: none) */
|
||
.ide-planes.go .ide-plane.bot .ide-plane-row span { animation: ide-run 2.2s cubic-bezier(.4, 0, .2, 1) calc(.3s + var(--k, 0) * .55s) 2; }
|
||
@keyframes ide-run { 0%, 45%, 100% { background: #171717; color: #fafafa; } 12% { background: #fafafa; color: #0a0a0a; } }
|
||
@media (prefers-reduced-motion: reduce) { .ide-planes.go .ide-plane.bot .ide-plane-row span { animation: none; } }
|
||
|
||
/* dark mode (docs/DARK-MODE.md): Hanzo's own dark tokens only, as live hanzo.ai. The A2 room tokens (.a2 sets
|
||
--soft/--faint/--card/--line/--acc for bright mode only) take Hanzo's dark values here; the editor, tiers and
|
||
script rooms are black in both modes. */
|
||
html:not(.light) .ide { --acc: var(--primary); --acc-soft: var(--muted); --soft: var(--muted-foreground); --faint: var(--text-tertiary); --card: var(--muted); --line: var(--border); }
|
||
html:not(.light) .ide-plane.top { background: var(--x-raised); }
|
||
html:not(.light) .ide-pic-graph line { stroke: var(--white-14); }
|
||
html:not(.light) .ide-g { background: var(--x-raised); border-color: var(--white-18); }
|
||
html:not(.light) .ide-g.d0 { background: var(--acc); border-color: var(--acc); }
|
||
html:not(.light) .ide-g.d1 { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 30%, var(--x-raised)); }
|
||
html:not(.light) .ide-pic-legend span, html:not(.light) .ide-box, html:not(.light) .ide-key, html:not(.light) .ide-trail { background: var(--x-raised); }
|
||
html:not(.light) .ide-key, html:not(.light) .ide-trail { box-shadow: inset 0 0 0 1px var(--border); }
|
||
html:not(.light) .ide-box p { background: var(--secondary); }
|
||
html:not(.light) .ide-teach-f input { background: var(--x-raised); }
|
||
html:not(.light) .ide-teach-f [role='radiogroup'] button[aria-checked='true'], html:not(.light) .ide-teach-f .ide-add { color: var(--x-on-ink); }
|
||
html:not(.light) .ide-teach-c + .ide-teach-c { border-color: var(--border); }
|
||
html:not(.light) .ide-teach-c li { background: var(--muted); }
|
||
html:not(.light) .ide-get { background: var(--muted); color: var(--text-primary); border: 1px solid var(--border); }
|
||
html:not(.light) .ide-get h2, html:not(.light) .ide-get-acts .x-btn, html:not(.light) .ide-get-acts .x-arrow { color: var(--text-primary); }
|
||
html:not(.light) .ide-get-i { background: var(--secondary); color: var(--text-primary); }
|
||
html:not(.light) .ide-get .x-btn.solid { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
|
||
html:not(.light) .ide-get-acts .x-btn { border-color: var(--border); }
|
||
html:not(.light) .ide-rel > div, html:not(.light) .ide-rel-a { border-color: var(--border); }
|
||
html:not(.light) .ide-apps a { color: var(--muted-foreground); }
|
||
html:not(.light) .ide-apps a[aria-current] { color: var(--ink); }
|
||
@media (hover: hover) {
|
||
html:not(.light) .ide-rel-a:hover, html:not(.light) .ide-apps a:hover, html:not(.light) .ide-teach-c li button:hover, html:not(.light) .ide-teach-f [role='radiogroup'] button:not([aria-checked='true']):hover { background: var(--muted); color: var(--ink); }
|
||
html:not(.light) .ide-teach-c li button:hover, html:not(.light) .ide-teach-f [role='radiogroup'] button:not([aria-checked='true']):hover, html:not(.light) .ide .a2-pause:hover { border-color: var(--white-30); }
|
||
html:not(.light) .ide-get-acts .x-btn:hover { background: var(--secondary); border-color: var(--border-strong); }
|
||
html:not(.light) .ide .a2-ch-stick button:not([aria-current]):hover { color: var(--ink); }
|
||
}
|
||
/* dark: live hanzo.ai's heroes carry a halftone dot field in dark, densest at the edges; light mode draws nothing here */
|
||
html:not(.light) .ide-stick { isolation: isolate; }
|
||
@media (max-width: 900px), (prefers-reduced-motion: reduce) { html:not(.light) .ide-stick { position: relative; } }
|
||
html:not(.light) .ide-stick::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle, var(--white-20) 1px, transparent 1.6px) 0 0 / 5px 5px; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 45% 45%, transparent 35%, #000 100%); mask-image: radial-gradient(ellipse 75% 70% at 45% 45%, transparent 35%, #000 100%); }
|