Files
Claude 17d5afe589 dark tokens: selected tabs and chips readable in dark on 12 app and cloud pages
/automations, /billing, /chrome, /cli, /commerce, /edge, /gateway, /idv, /ledger,
/operative, /playground, /pubsub. /billing's Issued chip lost its solid fill in dark
(now var(--primary) / var(--primary-foreground)). On the others the selected label
sits on a sliding pill drawn by a sibling element; the label now carries the pill's
own colour in dark, so it reads the same and James's darkcheck measures it correctly.
Every rule is under html:not(.light): light mode is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01P5YBdwj33XByFVTvu9bfci
2026-11-08 14:01:19 +00:00

404 lines
39 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* ---------- operative (v2) ---------- */
/* the deck's neutral ramp, named once; everything below reads these */
.xov { --g50: #fafafa; --g100: #f5f5f5; --g200: #e5e5e5; --g300: #d4d4d4; --g400: #a3a3a3; --g500: #737373; --g600: #525252; --g700: #404040; --g800: #262626; --g900: #171717; --ink: #0a0a0a; --blk: #0a0a0a; --e-out: cubic-bezier(0, 0, .2, 1); --e-io: cubic-bezier(.4, 0, .2, 1); }
/* dark mode (docs/DARK-MODE.md): ink and A2's page greys point at Hanzo's tokens; --blk keeps the black objects black */
html:not(.light) .xov { --ink: var(--foreground); --acc: var(--foreground); --acc-soft: var(--muted); --soft: var(--muted-foreground); --faint: var(--text-tertiary); --card: var(--muted); --line: var(--border); }
html:not(.light) .xov-term, html:not(.light) .xov-cmd { box-shadow: inset 0 0 0 1px var(--border); }
html:not(.light) .xov-hero { position: relative; background: radial-gradient(60% 70% at 50% 0%, color-mix(in srgb, var(--foreground) 9%, transparent), transparent 70%); } /* live's hero glow */
.xov .a2-sec { padding: clamp(72px, 8vw, 116px) 0; }
/* hero: the name, then its lede on the same bottom line, then the desktop inside its container */
.xov-hero { padding: clamp(104px, 13vh, 140px) 0 clamp(16px, 2vw, 32px); }
.xov-top { row-gap: 24px; }
.xov-lede { margin: 0; }
@media (min-width: 900px) {
.xov-h1 { grid-column: 1 / span 7; grid-row: 1; }
.xov-lede { grid-column: 8 / span 5; grid-row: 1; align-self: end; padding-bottom: 6px; }
.xov-acts { grid-column: 8 / span 5; grid-row: 2; }
}
.xov-stage { margin-top: clamp(40px, 4.5vw, 56px); }
.xov-crate { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 32px; background: light-dark(var(--g100), var(--muted)); transform: perspective(1800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--e-out); }
@media (min-width: 900px) { .xov-crate { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); } }
/* the signature, live-chat: pick an objective; Operative's steps stream in and the desktop beside it acts them out */
.xov-chat { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 20px; background: var(--x-raised); color: var(--ink); }
.xov-chat-h { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; }
.xov-chat-h .xov-b { font-weight: 497; letter-spacing: -.01em; }
.xov-asks { display: flex; flex-wrap: wrap; gap: 8px; }
.xov-asks button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--x-raised); color: var(--ink); font: 500 14px/1 var(--sans); cursor: pointer; transition: background-color .15s var(--e-out), color .15s var(--e-out), border-color .15s var(--e-out), transform .09s var(--e-out); }
.xov-asks button:active { transform: scale(.97); }
.xov-asks button.on { background: var(--ink); border-color: var(--ink); color: var(--x-on-ink); }
.xov-asks button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) { .xov-asks button:not(.on):hover { border-color: var(--ink); background: light-dark(var(--g100), var(--muted)); } }
/* the three conversations share one cell, so the box is the tallest one's height and never changes */
.xov-logs { display: grid; flex: 1; }
.xov-log { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; }
.xov-log:not(.on) { visibility: hidden; }
.xov-you { align-self: flex-end; margin: 0; max-width: 85%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--ink); color: var(--x-on-ink); font-size: 14px; }
.xov-says { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.xov-says li { position: relative; padding: 8px 0; border-top: 1px solid var(--line); }
.xov-say { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 2px 10px; }
.xov-verb { grid-column: 1 / -1; font-size: 12px; color: light-dark(var(--g500), var(--text-tertiary)); }
.xov-say .xov-b { font-size: 14px; font-weight: 500; }
.xov-say .xov-code { font-size: 13px; color: light-dark(var(--g600), var(--muted-foreground)); overflow-wrap: anywhere; }
.xov-says li:not(.on) .xov-say { visibility: hidden; }
/* a step streams in left to right, a few characters at a time; the next one shows three dots while it thinks */
.xov-chat.going .xov-says li.on .xov-say { animation: xov-stream .6s steps(18) both; }
@keyframes xov-stream { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.xov-says li.next::before { content: ''; position: absolute; left: 0; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--g400); box-shadow: 12px 0 0 var(--g400), 24px 0 0 var(--g400); animation: xov-think 1s var(--e-io) infinite; }
@keyframes xov-think { 50% { opacity: .35; } }
.xov-chat-f { margin: 0; font-size: 13px; color: light-dark(var(--g600), var(--muted-foreground)); }
.xov-crate-tag { position: absolute; left: 32px; top: -11px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--x-on-ink); font-size: 13px; z-index: 2; }
.xov-desk { border-radius: 20px; overflow: hidden; background: var(--blk); }
.xov-desk-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: var(--g900); }
.xov-desk-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--g700); }
.xov-desk-bar .x-mono { margin-left: 10px; font-size: 13px; color: var(--g400); }
.xov-desk-r { margin-left: auto !important; }
.xov-desk-in { position: relative; height: clamp(360px, 38vw, 540px); overflow: hidden; }
.xov-wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xov-win { position: absolute; left: 12%; top: 14%; width: 46%; border-radius: 14px; background: light-dark(#fff, var(--muted)); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); overflow: hidden; }
.xov-win-bar { display: flex; gap: 6px; height: 28px; align-items: center; padding: 0 12px; background: light-dark(var(--g100), var(--secondary)); border-bottom: 1px solid var(--line); }
.xov-win-bar i { width: 9px; height: 9px; border-radius: 50%; background: light-dark(var(--g300), var(--border-strong)); }
.xov-win-body { padding: 22px; display: grid; gap: 12px; }
.xov-win-h { margin: 0; font-size: 17px; font-weight: 497; letter-spacing: -.02em; color: var(--ink); }
.xov-win-p { margin: 0; font-size: 14px; line-height: 1.5; color: light-dark(var(--g600), var(--muted-foreground)); }
.xov-field { position: relative; display: flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 10px; border: 1.5px solid light-dark(var(--g300), var(--border-strong)); transition: border-color .3s var(--e-out); }
/* the objective types itself into the field (text, so the caret always sits at its end) */
.xov-typed { min-width: 0; overflow: hidden; color: var(--ink); font-size: 14px; white-space: nowrap; }
.xov-field b { flex: none; width: 2px; height: 18px; margin-left: 2px; background: var(--ink); animation: xov-blink 1s steps(1) infinite; }
@keyframes xov-blink { 50% { opacity: 0; } }
.xov-win-btn { justify-self: end; display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: var(--x-on-ink); font-size: 13px; font-weight: 500; white-space: nowrap; }
.xov-desk.h2 .xov-win-btn { animation: xov-press .3s var(--e-out) .5s; }
@keyframes xov-press { 40% { transform: scale(.94); background: light-dark(var(--g700), var(--muted-foreground)); } }
.xov-scan { position: absolute; inset: 0; border: 3px solid var(--g50); opacity: 0; pointer-events: none; transition: opacity .3s var(--e-out); }
.xov-read { position: absolute; right: 6%; top: 10%; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--x-raised); color: light-dark(#000, var(--foreground)); opacity: 0; transform: translateY(10px); transition: opacity .4s var(--e-out), transform .5s var(--a2-ease); }
.xov-read span { font-size: 13px; font-weight: 500; }
.xov-keys { position: absolute; left: 50%; bottom: 7%; display: flex; gap: 8px; translate: -50% 0; opacity: 0; transition: opacity .4s var(--e-out); }
.xov-keys b { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 9px; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 0 rgba(0, 0, 0, .25); color: var(--blk); font-size: 13px; font-weight: 400; }
.xov-aim-w { position: absolute; inset: 0; pointer-events: none; }
.xov-aim { position: absolute; left: 0; top: 0; display: block; }
.xov-ring { position: absolute; left: -16px; top: -16px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--g50); animation: xov-ring 1s var(--a2-ease) .5s both; }
@keyframes xov-ring { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
/* each hand shows itself */
.xov-desk.h0 .xov-scan { animation: xov-scan 2.2s var(--a2-ease); }
@keyframes xov-scan { 0% { opacity: 0; } 15% { opacity: 1; } 60% { opacity: .8; } 100% { opacity: 0; } }
.xov-desk.h1 .xov-read, .xov-desk.rest .xov-read { opacity: 1; transform: none; }
.xov-desk.h3 .xov-field { border-color: var(--ink); }
.xov-desk.h3 .xov-keys { opacity: 1; }
.xov-desk.h3 .xov-keys b { animation: xov-key 1.2s var(--a2-ease) calc(var(--k) * .2s) both; }
@keyframes xov-key { 30% { transform: translateY(2px); box-shadow: none; } 60% { transform: none; } }
/* a hovered hand previews itself: a ghost cursor goes where it would, and its sign shows faintly */
.xov-ghost-w { opacity: 0; transition: opacity .15s var(--e-out); }
.xov-ghost-w.on { opacity: .9; }
.xov-desk.pk0 .xov-scan { opacity: .5; }
.xov-desk.pk1 .xov-read { opacity: .7; transform: none; }
.xov-desk.pk2 .xov-win-btn { background: light-dark(var(--g700), var(--muted-foreground)); }
.xov-desk.pk3 .xov-field { border-color: var(--g600); }
.xov-desk.pk3 .xov-keys { opacity: .6; }
.xov-hands { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.xov-pause { flex: none; }
.xov-hands-k { display: flex; gap: 16px; margin: 0 auto 0 0; font-size: 15px; color: light-dark(var(--g600), var(--muted-foreground)); }
.xov-hands-k .x-mono { color: light-dark(var(--g500), var(--text-tertiary)); }
.xov-hands ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.xov-hands li button { position: relative; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--x-raised); color: var(--ink); font: 500 15px/1 var(--sans); cursor: pointer; overflow: hidden; transition: background-color .3s var(--e-out), color .3s var(--e-out), border-color .3s var(--e-out), transform .09s var(--e-out); }
.xov-b { font-weight: bolder; }
.xov-hands li button .x-mono { font-size: 13px; color: light-dark(var(--g500), var(--text-tertiary)); }
.xov-hands li button:active { transform: scale(.97); }
.xov-hands li button.on .x-mono { color: light-dark(var(--g400), var(--neutral-600)); }
.xov-hands li button.on { background: var(--ink); color: var(--x-on-ink); border-color: var(--ink); }
.xov-hands li button.on i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--x-on-ink); transform-origin: 0 50%; animation: xov-time 1.5s linear both; }
@keyframes xov-time { from { transform: scaleX(0); } }
@media (hover: hover) { .xov-hands li button:not(.on):hover { border-color: var(--ink); background: light-dark(var(--g100), var(--muted)); } }
/* inside: a plain section; the stack explodes once in view (not pinned), and a row lifts its layer out */
.xov-inside-grid { align-items: center; }
.xov-stack { cursor: pointer; }
@media (hover: hover) { .xov .a2-pause:hover { border-color: var(--ink); transform: scale(1.04); } .xov .a2-pause:active { transform: scale(.97); } .xov .xov-act .a2-pause:hover { border-color: rgba(255, 255, 255, .4); } }
.xov-inside-copy { grid-column: 1 / span 5; }
.xov-inside-copy .a2-headline { margin: 0 0 28px; }
.xov-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.xov-list li { border-bottom: 1px solid var(--line); }
.xov-list button { display: flex; align-items: center; gap: 16px; width: 100%; height: 52px; padding: 0; border: 0; background: none; color: light-dark(var(--g500), var(--text-tertiary)); font: 497 17px/1.2 var(--sans); letter-spacing: -.01em; text-align: left; cursor: pointer; transition: color .3s var(--e-out), transform .09s var(--e-out); }
.xov-list button .x-mono { font-size: 13px; font-weight: 400; }
.xov-list button .xov-b { font-weight: inherit; transition: transform .3s var(--a2-ease); }
.xov-list button:active { transform: scale(.98); }
.xov-list li.on button { color: var(--ink); }
@media (hover: hover) { .xov-list button:hover { color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); } .xov-list button:hover .xov-b { transform: translateX(4px); } }
/* one fixed slot for the open layer's words: rows never change height */
.xov-slot { display: grid; margin-top: 20px; }
.xov-slot p { grid-area: 1 / 1; margin: 0; max-width: 62ch; font-size: 16px; line-height: 1.55; color: light-dark(var(--g600), var(--muted-foreground)); text-wrap: pretty; opacity: 0; transform: translateY(10px); clip-path: inset(0 0 100% 0); transition: opacity .15s var(--e-out), transform .4s var(--a2-ease), clip-path .4s var(--a2-ease); }
.xov-slot p.on { opacity: 1; transform: none; clip-path: inset(0 0 0 0); transition-delay: .08s; }
.xov-oss { margin: 24px 0 0; font-size: 15px; color: light-dark(var(--g600), var(--muted-foreground)); }
.xov-oss a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; border-radius: 4px; transition: background-color .15s var(--e-out), box-shadow .15s var(--e-out); }
@media (hover: hover) { .xov-oss a:hover, .xov-note a:hover { background-color: light-dark(var(--g200), var(--secondary)); box-shadow: 0 0 0 3px light-dark(var(--g200), var(--secondary)); } }
.xov-stack { --sh: 150px; --gap: 58px; --push: 40px; --lift: 30px; --open: 40deg; grid-column: 7 / span 6; position: relative; height: min(640px, 76vh); perspective: 1800px; }
.xov-slab, .xov-base { position: absolute; left: 8%; right: 8%; top: 59%; height: var(--sh); border-radius: 24px; transform-origin: 50% 50%; }
.xov-slab { z-index: calc(10 - var(--i)); background: var(--x-raised); border: 1px solid light-dark(rgba(0, 0, 0, .14), var(--border-control)); color: var(--ink);
transform: translateY(calc((var(--i) * var(--gap) * -1 - var(--lift) - var(--s) * var(--push)) * var(--e) - var(--i) * 5px)) rotateX(calc(48deg - var(--open) * var(--f) * var(--e))) translateZ(calc(var(--f) * 60px * var(--e)));
transition: background-color .3s var(--e-out), border-color .3s var(--e-out), color .3s var(--e-out), translate .3s var(--e-out); }
.xov-slab.on { z-index: 20; background: var(--ink); border-color: var(--ink); color: var(--x-on-ink); }
/* a hovered row previews its layer: the slab lifts out a little, outlines in ink and shows its sign faintly */
.xov-slab.hov:not(.on) { translate: 0 -28px; border-color: var(--ink); background: light-dark(var(--g50), var(--muted)); }
.xov-slab.hov:not(.on) .xov-face { opacity: max(var(--f), .75); transition: opacity .3s var(--e-out); }
.xov-slab.hov:not(.on) .xov-slab-k b { font-weight: 500; }
.xov-slab-k { position: absolute; left: 0; right: 0; top: 50%; display: flex; justify-content: center; gap: 10px; font-size: 17px; letter-spacing: -.01em; translate: 0 -50%; transform: translateY(calc(var(--f) * 26px)); }
.xov-slab-k b { display: inline-block; font-weight: 497; transform: translateX(calc(var(--j) * 14px * var(--f))); }
.xov-slab-k b + b::before { content: '·'; margin-right: 10px; opacity: .5; }
.xov-slab.on .xov-slab-k b { font-weight: 500; }
/* what each layer is, drawn on its face when it opens */
.xov-face { position: absolute; left: 50%; top: 22%; display: flex; align-items: center; gap: 6px; height: 36px; translate: -50% 0; opacity: var(--f); transform: translateY(calc((1 - var(--f)) * 12px)) scale(calc(.8 + var(--f) * .2)); }
.xov-face i { display: block; flex: none; }
.xov-face0 i:first-child { width: 58px; height: 36px; border: 1.5px solid currentColor; border-top-width: 7px; border-radius: 6px; }
.xov-face0 i + i, .xov-face2 i:last-child { display: none; }
.xov-face1 i { width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
.xov-face1 i:nth-child(2) { opacity: .6; } .xov-face1 i:nth-child(3) { opacity: .35; }
.xov-face2 i:first-child { width: 132px; height: 30px; border: 1.5px solid currentColor; border-radius: 8px; }
.xov-face2 i:nth-child(2) { width: 2px; height: 16px; margin-left: -118px; background: currentColor; animation: xov-blink 1s steps(1) infinite; }
.xov-face3 i:first-child { width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; rotate: 45deg; }
.xov-face3 i:nth-child(2) { width: 44px; height: 3px; border-radius: 2px; background: currentColor; }
.xov-face3 i:nth-child(3) { width: 9px; height: 16px; background: currentColor; }
.xov-face4 { flex-direction: column; align-items: flex-start; gap: 5px; }
.xov-face4 i { height: 3px; border-radius: 2px; background: currentColor; }
.xov-face4 i:nth-child(1) { width: 64px; } .xov-face4 i:nth-child(2) { width: 46px; opacity: .6; } .xov-face4 i:nth-child(3) { width: 56px; opacity: .35; }
.xov-face5 i { width: 34px; height: 14px; border-radius: 999px; border: 1.5px solid currentColor; }
.xov-face5 i:first-child { background: currentColor; }
/* the base: the image's name on its front edge, with its own gap below the last layer */
.xov-base { z-index: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px; background: var(--blk); color: var(--g400); font-size: 14px; transform: translateY(calc(44px + (var(--push) + 30px) * var(--e))) rotateX(48deg); }
/* one docker run: the terminal and its ports are the screen; the rest folds under them */
.xov-run-head { align-items: end; row-gap: 20px; margin-bottom: 40px; }
.xov-run-h { grid-column: 1 / span 6; margin: 0; }
.xov-run-l { grid-column: 8 / span 5; margin: 0; }
.xov-run-grid { align-items: stretch; row-gap: 24px; }
.xov-term { grid-column: 1 / span 8; border-radius: var(--r-hero); background: var(--blk); color: var(--g50); overflow: hidden; --acc: var(--g50); }
.xov-term-bar { display: flex; align-items: center; gap: 7px; height: 52px; padding: 0 12px 0 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.xov-term-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--g700); }
.xov-term-bar .xov-b { margin-left: 12px; font-size: 14px; font-weight: 500; color: var(--g200); }
.xov-replay { margin-left: auto; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: none; color: var(--g200); font: 500 13px/1 var(--sans); cursor: pointer; transition: background-color .15s var(--e-out), transform .09s var(--e-out); }
.xov-replay:active { transform: scale(.97); }
.xov-replay:focus-visible { outline: 2px solid var(--g50); outline-offset: 2px; }
@media (hover: hover) { .xov-replay:hover { background: var(--g800); } }
.xov-steps { list-style: none; margin: 0; padding: 12px 28px 8px; }
.xov-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.xov-n { grid-row: 1 / 3; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--g800); font-size: 13px; color: var(--g300); }
.xov-steps p { margin: 0; font-size: 16px; color: var(--g200); }
/* long commands wrap only between words; a token too long for the line scrolls, it is never cut */
.xov-scroll { min-width: 0; overflow-x: auto; scrollbar-width: thin; border-radius: 6px; }
.xov-scroll:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.xov-term .xov-scroll:focus-visible { outline-color: var(--g50); }
.xov-type { position: relative; display: block; font-size: 14px; line-height: 1.65; color: var(--g100); white-space: pre-wrap; overflow-wrap: normal; }
.xov-ghost { visibility: hidden; display: block; }
.xov-type > span:last-child { position: absolute; inset: 0; }
.xov-p { color: var(--g50); }
.xov-caret { display: inline-block; width: 8px; height: 15px; vertical-align: -2px; margin-left: 2px; background: var(--g100); animation: xov-blink 1s steps(1) infinite; }
.xov-term-f { padding: 16px 28px 24px; }
.xov-term-f .x-copy { height: 44px; padding: 0 16px; background: var(--g900); border-color: rgba(255, 255, 255, .16); color: var(--g200); }
/* the ports: a figure, what it is, its -p flag, and a socket that fills when it comes up */
.xov-ports { grid-column: 9 / span 4; display: grid; align-content: center; padding: 28px; border-radius: var(--r-hero); background: light-dark(var(--g100), var(--muted)); }
.xov-ports-k { font-size: 13px; color: light-dark(var(--g500), var(--text-tertiary)); margin-bottom: 12px; }
.xov-port { display: grid; grid-template-columns: auto minmax(0, 1fr) 14px; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); opacity: .35; transition: opacity .4s var(--e-out), transform .3s var(--a2-ease); }
.xov-port .a2-fig { font-size: 44px; }
.xov-port-w { display: grid; gap: 4px; min-width: 0; }
.xov-port-w span { font-size: 14px; line-height: 1.3; color: light-dark(var(--g600), var(--muted-foreground)); }
.xov-port-w .xov-code { font-size: 12px; color: light-dark(var(--g500), var(--text-tertiary)); }
.xov-port i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--g400); transition: background-color .3s var(--e-out), border-color .3s var(--e-out); }
.xov-port.on { opacity: 1; }
.xov-port.on i { background: var(--ink); border-color: var(--ink); animation: xov-pop .4s var(--a2-ease); }
@keyframes xov-pop { from { transform: scale(.4); } }
@media (hover: hover) { .xov-port:hover { opacity: 1; transform: translateX(4px); } .xov-port:hover i { background: var(--ink); border-color: var(--ink); } }
/* requirements and usage, folded under the terminal (native disclosure: the words stay in the page and find-in-page opens them) */
.xov-more-w { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
.xov-dis { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.xov-dis summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; list-style: none; cursor: pointer; color: light-dark(var(--g800), var(--neutral-300)); transition: color .15s var(--e-out); }
.xov-dis summary::-webkit-details-marker { display: none; }
.xov-dis summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.xov-dis .a2-title { color: inherit; transition: transform .3s var(--a2-ease); }
.xov-dis summary i { position: relative; width: 14px; height: 14px; flex: none; transition: transform .3s var(--a2-ease); }
.xov-dis summary i::before, .xov-dis summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: currentColor; }
.xov-dis summary i::after { transform: rotate(90deg); transition: transform .3s var(--a2-ease); }
.xov-dis[open] summary i::after { transform: rotate(0deg); }
.xov-dis summary:active { transform: scale(.99); }
@media (hover: hover) { .xov-dis summary:hover { color: var(--ink); } .xov-dis summary:hover .a2-title { transform: translateX(4px); } }
.xov-dis[open] > ul { animation: xov-drop .4s var(--a2-ease); }
@keyframes xov-drop { from { opacity: 0; transform: translateY(-8px); } }
.xov-req, .xov-usage { list-style: none; margin: 0 0 12px; padding: 0; }
.xov-req li { padding: 14px 0 14px 1.1em; text-indent: -1.1em; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.xov-usage li { padding: 14px 0; border-top: 1px solid var(--line); }
.xov-usage p { margin: 0 0 6px; font-size: 16px; color: light-dark(var(--g600), var(--muted-foreground)); }
.xov-usage .xov-code { display: block; font-size: 14px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: normal; }
.xov-warn { max-width: 72ch; margin: 40px 0 0; padding: 20px 24px; border-radius: var(--r-card); background: light-dark(var(--g100), var(--muted)); font-size: 16px; line-height: 1.55; color: light-dark(var(--g700), var(--neutral-300)); }
/* which way in: four tabs over one panel */
.xov-ways-head { align-items: end; row-gap: 20px; }
.xov-ways-h { grid-column: 1 / span 6; margin: 0; }
.xov-ways-l { grid-column: 8 / span 5; margin: 0; }
.xov-seg { display: inline-flex; gap: 4px; margin-top: 40px; padding: 5px; border-radius: 999px; background: light-dark(var(--g100), var(--muted)); }
.xov-seg button { position: relative; height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: none; color: light-dark(var(--g600), var(--muted-foreground)); font: 500 16px/1 var(--sans); cursor: pointer; transition: color .15s var(--e-out), transform .09s var(--e-out); }
.xov-seg button:active { transform: scale(.97); }
@media (hover: hover) { .xov-seg button[aria-selected='false']:hover { color: var(--ink); } }
.xov-seg button[aria-selected='true'] { color: var(--x-on-ink); }
.xov-seg button span:not(.xov-seg-bg) { position: relative; z-index: 1; }
.xov-seg-bg { position: absolute; inset: 0; border-radius: 999px; background: var(--ink); }
.xov-cmd { margin-top: 20px; padding: 22px 26px; border-radius: var(--r-card); background: var(--blk); color: var(--g400); font-size: 16px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: normal; overflow-x: auto; }
.xov-cmd:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.xov-cmd .xov-p { color: var(--g50); }
.xov-env { position: relative; display: inline-flex; overflow: hidden; vertical-align: bottom; color: #fff; }
.xov-env span { display: inline-block; padding: 0 6px; border-radius: 6px; background: var(--g700); transition: background-color .15s var(--e-out), box-shadow .15s var(--e-out); }
.xov-cmd.peek .xov-env span { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.xov-same { color: var(--g400); }
.xov-panels { margin-top: 12px; }
.xov-way { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 40px; padding: 32px; border-radius: var(--r-hero); background: light-dark(var(--g100), var(--muted)); }
.xov-way[hidden] { display: none; }
.xov-way:not([hidden]) { animation: xov-in .4s var(--a2-ease); }
.xov-way:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@keyframes xov-in { from { opacity: 0; transform: translateY(12px); } }
.xov-way-k { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; font-size: 26px; font-weight: 497; letter-spacing: -.02em; color: var(--ink); }
.xov-rec { padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--x-on-ink); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.xov-way-by { margin: 8px 0 0; font-size: 16px; color: light-dark(var(--g600), var(--muted-foreground)); }
.xov-way-pts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.xov-way-pts li { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45; color: var(--ink); animation: xov-in .4s var(--a2-ease) calc(var(--j) * 60ms + 60ms) both; }
.xov-way-pts li .x-mono { font-size: 12px; color: light-dark(var(--g500), var(--text-tertiary)); }
.xov-way-set { display: flex; flex-direction: column; gap: 10px; }
.xov-way-set p { margin: 0; font-size: 15px; font-weight: 500; color: var(--ink); }
.xov-way-set .xov-code { padding: 12px 14px; border-radius: 12px; background: var(--blk); color: var(--g100); font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: normal; }
.xov-note { margin: 24px 0 0; font-size: 15px; color: light-dark(var(--g600), var(--muted-foreground)); }
.xov-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* the dark room: the loop */
.xov-act .a2-grid { align-items: center; row-gap: 56px; }
.xov-act-copy { grid-column: 1 / span 4; }
.xov-act-copy .a2-headline { margin: 0 0 20px; }
.xov-act-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.xov-more { display: inline-flex; align-items: center; gap: .25em; min-height: 44px; font: 500 16px/1 var(--sans); color: var(--g50); text-decoration: none; transition: transform .09s var(--e-out); }
.xov-more:active { transform: translateY(1px); }
@media (hover: hover) { .xov-more:hover { text-decoration: underline; text-underline-offset: 4px; } }
.xov-loop-w { grid-column: 5 / span 4; padding-left: 8px; }
.xov-loop { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.xov-loop li { display: flex; align-items: baseline; gap: 12px; font-size: 26px; font-weight: 497; letter-spacing: -.02em; line-height: 1.15; color: var(--g600); transition: color .3s var(--e-out); }
.xov-loop li .x-mono { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--g400); }
.xov-loop li.on { color: var(--g50); }
.xov-browser { grid-column: 9 / span 4; border-radius: var(--r-hero); overflow: hidden; background: var(--g900); }
.xov-browser-bar { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; }
.xov-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--g700); }
.xov-browser-bar .x-mono { margin-left: 10px; font-size: 13px; color: var(--g400); }
.xov-browser-bar em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--g400); }
.xov-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.xov-screen img, .xov-screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.xov-shot { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.xov-screen.s2 .xov-shot { animation: xov-flash .5s var(--e-out); }
@keyframes xov-flash { 0% { opacity: .45; } 100% { opacity: 0; } }
/* read before you run it, and the box closed again (the Band below carries the one ask) */
.xov-watch .a2-grid { align-items: stretch; row-gap: 24px; }
.xov-read-b { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 20px; }
.xov-read-b .a2-headline { margin: 0; }
.xov-social { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.xov-social li { border-bottom: 1px solid var(--line); }
.xov-soc { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-size: 17px; font-weight: 497; color: var(--ink); text-decoration: none; transition: transform .3s var(--a2-ease); }
.xov-soc:active { transform: translateY(1px); }
.xov-soc i { display: inline-grid; font-style: normal; color: light-dark(var(--g500), var(--text-tertiary)); transition: transform .3s var(--a2-ease), color .15s var(--e-out); }
@media (hover: hover) { .xov-soc:hover { transform: translateX(4px); } .xov-soc:hover i { transform: translate(3px, -3px); color: var(--ink); } }
.xov-get { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 32px; padding: 32px; border-radius: var(--r-hero); background: light-dark(var(--g100), var(--muted)); }
.xov-get-t { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.xov-get .a2-headline { margin: 0; }
.xov-get-t > p { margin: 0; font-size: 16px; color: light-dark(var(--g600), var(--muted-foreground)); }
.xov-get-meta { display: flex; gap: 20px; font-size: 13px; }
.xov-get-meta a { color: var(--ink); }
/* the six layers press back into one box as it arrives, and part a little under the pointer */
.xov-box { position: relative; height: 210px; margin-top: auto; perspective: 1400px; }
.xov-box i { position: absolute; left: 10%; right: 10%; bottom: 64px; height: 72px; border-radius: 16px; background: var(--x-raised); border: 1px solid light-dark(rgba(0, 0, 0, .12), var(--border-control)); transform: translateY(calc(var(--i) * -6px)) rotateX(52deg); transition: transform .5s var(--a2-ease); }
.xov-get:not(.shut) .xov-box i { transform: translateY(calc(var(--i) * -22px)) rotateX(52deg); }
@media (hover: hover) and (pointer: fine) { .xov-get.shut:hover .xov-box i { transform: translateY(calc(var(--i) * -12px)) rotateX(52deg); } }
.xov-get-cmd { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--blk); color: var(--g100); font-size: 12.5px; line-height: 1.5; text-align: center; }
.xov-get-cmd span { white-space: nowrap; } /* the image's name never breaks; only the space after pull may */
/* the close: Hanzo's black band, the headline out of its line mask, the ask in white */
.xov-band h2 { line-height: 1.04; }
.xov-band .x-btn.solid { background: var(--g50); border-color: var(--g50); color: var(--blk); height: 52px; padding: 0 30px; font-size: 16px; transition: background-color .15s var(--e-out), border-color .15s var(--e-out), transform .09s var(--e-out); }
.xov-band .x-btn.solid:active { transform: scale(.98); }
@media (hover: hover) { .xov-band .x-btn.solid:hover { background: var(--g300); border-color: var(--g300); } }
@media (max-width: 899px) {
.xov-hero { padding-top: 112px; }
.xov-crate { padding: 8px; border-radius: 24px; }
.xov-desk { border-radius: 18px; }
.xov-desk-in { height: 300px; }
.xov-desk-r { display: none; }
.xov-win { left: 6%; width: 70%; }
.xov-win-p { display: none; }
.xov-keys b { height: 28px; scale: .8; }
/* phone: the pause and the count on one line, then the four hands as a 2 × 2 grid of equal pills */
.xov-hands { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
.xov-hands-k { margin: 0; align-items: center; justify-content: space-between; }
.xov-hands ul { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xov-hands li button { width: 100%; height: 56px; padding: 0 14px; gap: 8px; border-radius: 16px; font-size: 14px; line-height: 1.15; text-align: left; }
/* phone: the stack sits above its rows; one layer open at a time, stepped by tapping its row */
.xov-inside-grid { row-gap: 32px; }
.xov-chat { padding: 16px; border-radius: 18px; }
.xov-stack { --sh: 84px; --gap: 40px; --push: 22px; --lift: 18px; --e: 1 !important; order: -1; height: 400px; }
.xov-slab, .xov-base { left: 2%; right: 2%; border-radius: 18px; }
.xov-slab-k { font-size: 14px; transform: translateY(calc(var(--f) * 16px)); }
.xov-face { top: 10%; transform: translateY(calc((1 - var(--f)) * 8px)) scale(calc(.5 + var(--f) * .2)); }
.xov-base { padding-bottom: 12px; font-size: 12px; transform: translateY(calc(30px + var(--push) + 18px)) rotateX(48deg); }
.xov-slot p { font-size: 15px; }
.xov-run-head { margin-bottom: 32px; }
.xov-steps { padding: 6px 18px; }
.xov-term-f { padding: 14px 18px 20px; }
.xov-type { font-size: 13px; }
.xov-more-w { grid-template-columns: minmax(0, 1fr); }
.xov-dis + .xov-dis { border-top: 0; }
.xov-seg { display: flex; width: 100%; }
.xov-seg button { flex: 1; padding: 0 12px; font-size: 15px; }
.xov-cmd { padding: 18px; font-size: 14px; }
/* three fixed lines on a phone (docker run / the one variable / the image), so switching never changes its height */
.xov-env { display: flex; width: max-content; margin: 4px 0; }
.xov-env span { white-space: nowrap; }
.xov-same { display: block; white-space: nowrap; }
.xov-way { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px; }
.xov-way-k { font-size: 21px; }
.xov-loop li { font-size: 26px; }
.xov-get { padding: 24px; }
.xov-box { height: 180px; }
}
/* ---------- the five section entrances (MOTION-MAP rule 7), in page order; entrances.jsx sets data-enter ----------
`wait` is the hidden pose (transform, opacity, clip-path only: nothing reflows); `in` plays once and fills
backwards, so the finished section carries nothing. The server HTML has neither, so JS off shows the final state. */
/* 1 iris: One docker run opens from a circle at its centre */
.xov-run [data-enter='wait'] { clip-path: circle(0% at 50% 50%); }
.xov-run [data-enter='in'] { animation: xov-iris 1.1s var(--a2-ease) backwards; }
@keyframes xov-iris { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(75% at 50% 50%); } }
/* 2 accordion: the rows unfold one after another, each pleat folding the other way from the last */
.xov-fold { --ax: -90deg; transform-origin: 50% 0; }
.xov-list li.xov-fold:nth-child(even) { --ax: 90deg; transform-origin: 50% 100%; }
.xov-inside[data-enter='wait'] .xov-fold { opacity: 0; transform: perspective(700px) rotateX(var(--ax)); }
.xov-inside[data-enter='in'] .xov-fold { animation: xov-pleat .5s var(--a2-ease) calc(var(--n) * 70ms) backwards; }
@keyframes xov-pleat { from { opacity: 0; transform: perspective(700px) rotateX(var(--ax)); } }
/* 3 zoom-through: the dark room's contents fly in from far behind the screen */
.xov-zoom[data-enter='wait'] > * { opacity: 0; transform: perspective(900px) translateZ(-1600px); }
.xov-zoom[data-enter='in'] > * { animation: xov-zoom .9s var(--a2-ease) backwards; }
.xov-zoom[data-enter='in'] > :nth-child(2) { animation-delay: .08s; }
.xov-zoom[data-enter='in'] > :nth-child(3) { animation-delay: .16s; }
@keyframes xov-zoom { from { opacity: 0; transform: perspective(900px) translateZ(-1600px); } }
/* 4 deal: each link row's rule draws across from the left, then its words rise onto it, one row after another */
.xov-social li { position: relative; }
.xov-read-b[data-enter='wait'] .xov-social li { border-bottom-color: transparent; }
.xov-read-b[data-enter='wait'] .xov-soc { opacity: 0; transform: translateY(14px); }
.xov-read-b[data-enter='in'] .xov-social li::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform-origin: 0 50%; animation: xov-rule .9s var(--a2-ease) calc(var(--n) * 90ms) both; }
@keyframes xov-rule { 0% { transform: scaleX(0); opacity: 1; } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.xov-read-b[data-enter='in'] .xov-soc { animation: xov-deal .6s var(--a2-ease) calc(var(--n) * 90ms + 160ms) backwards; }
@keyframes xov-deal { from { opacity: 0; transform: translateY(14px); } }
/* 5 orbit-in: the four ways in swing round on a curve into their places (the two rotations cancel, so only the path curves) */
.xov-ways [data-enter='wait'] .xov-orb { opacity: 0; transform: rotate(-70deg) translateX(-240px) rotate(70deg); }
.xov-ways [data-enter='in'] .xov-orb { animation: xov-orbit .9s var(--a2-ease) calc(var(--n) * 60ms) backwards; }
@keyframes xov-orbit { from { opacity: 0; transform: rotate(-70deg) translateX(-240px) rotate(70deg); } }
@media (prefers-reduced-motion: reduce) {
.xov *, .xov *::before, .xov *::after { animation: none !important; transition: none !important; }
.xov-crate { transform: none; }
}
/* dark: the selected tab's text sits on a sibling motion pill; its label carries the pill's own colour (after the pill has slid in) so the ancestor walk sees what the eye sees. Light untouched. */
html:not(.light) .xov-seg button[aria-selected='true'] > span:not(.xov-seg-bg) { background: var(--ink); transition: background-color 0s .3s; }