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_01P5YBdwnSSVASfNEEi92hQ4
282 lines
24 KiB
CSS
282 lines
24 KiB
CSS
/* dark mode: the shared ProofRhythm greys keep their exact light value and take Hanzo's dark tokens; same specificity as
|
|
ProofRhythm's own rules and first in this file, so every page rule below (the dark room's included) still wins as before */
|
|
.xsc .pf-lede, .xsc .pf-body { color: light-dark(#525252, var(--text-secondary)); }
|
|
.xsc .pf-kick { color: light-dark(#737373, var(--muted-foreground)); }
|
|
/* ---------- security: an honest status (MASTER ยง4.2), deck tokens only ---------- */
|
|
.xsc { --ink: light-dark(#0a0a0a, var(--foreground)); --mute: light-dark(#525252, var(--text-secondary)); --quiet: light-dark(#737373, var(--muted-foreground)); --line: light-dark(rgba(0, 0, 0, .1), var(--border)); --tile: light-dark(#f5f5f5, var(--muted)); --tile2: light-dark(#ededed, var(--secondary)); --brand: light-dark(#e4e4e7, var(--secondary));
|
|
--f: 150ms; --b: 300ms; --s: 400ms; --sl: 500ms; }
|
|
.xsc .pf-kick.xsc-cap { margin: 17px 0 0; }
|
|
.xsc :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
|
|
|
|
/* hero: the status, checked once */
|
|
.xsc-hero { padding: clamp(72px, 9vw, 116px) 0 clamp(72px, 9vw, 116px); }
|
|
.xsc-hero-g { display: grid; grid-template-columns: minmax(0, 38.2fr) minmax(0, 61.8fr); column-gap: 44px; align-items: end; }
|
|
.xsc-hero-c .pf-lede { margin-top: 27px; }
|
|
.xsc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 17px 27px; margin-top: 27px; }
|
|
.xsc-audit { display: flex; flex-wrap: wrap; align-items: center; gap: 10.5px 17px; margin: 44px 0 0; padding-top: 17px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
|
|
.xsc-audit-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
|
|
.xsc-audit-t { font-size: 16px; font-weight: 497; color: var(--ink); }
|
|
|
|
.xsc-map { position: relative; }
|
|
.xsc-map-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 6.5px; padding: 0 0 10.5px 206px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--quiet); }
|
|
.xsc-map-h .pf-mono { color: var(--ink); letter-spacing: .04em; font-size: 13px; }
|
|
.xsc-map-st { position: relative; list-style: none; margin: 0; padding: 0; height: 470px; }
|
|
.xsc-map-st li { position: absolute; left: 0; right: 0; top: calc(30px + var(--i) * 72px); height: 72px; z-index: calc(10 - var(--i)); }
|
|
.xsc-mp { position: absolute; left: 6px; top: -30px; width: 172px; height: 120px; border-radius: 16px; background: var(--x-sunk); outline: 1px solid light-dark(rgba(0, 0, 0, .14), var(--border-control)); transform: perspective(1400px) rotateX(58deg) rotateZ(-42deg); overflow: hidden; transition: background-color var(--b) var(--pf-io), translate var(--b) var(--pf-io), outline-color var(--b) var(--pf-io); }
|
|
.xsc-map-st li.ok .xsc-mp { background: var(--brand); outline-color: light-dark(rgba(0, 0, 0, .18), var(--border-control)); }
|
|
.xsc-map-st li.now .xsc-mp { translate: 0 -10px; background: var(--ink); outline-color: var(--ink); }
|
|
.xsc-map-st li.core .xsc-mp { background: #000; outline-color: #000; }
|
|
.xsc-map-st li.core .xsc-mp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
|
|
.xsc-ml { position: absolute; left: 206px; right: 0; top: 2px; display: grid; grid-template-columns: 30px minmax(0, 1fr) 18px; gap: 10.5px; align-items: center; min-height: 48px; padding: 0 12px; border: 0; border-radius: 12px; background: none; text-align: left; font: 400 16px/1.25 var(--sans); color: var(--quiet); cursor: pointer; transition: color var(--f) var(--pf-out), background-color var(--f) var(--pf-out), transform 90ms var(--pf-out); }
|
|
.xsc-ml::before { content: ''; position: absolute; right: 100%; top: 50%; width: 34px; height: 1px; background: var(--line); }
|
|
.xsc-ml .pf-mono { font-size: 13px; }
|
|
.xsc-ml-t { position: relative; display: block; }
|
|
.xsc-ml-m { position: absolute; left: 0; top: calc(100% + 2px); white-space: nowrap; font-size: 12px; letter-spacing: .02em; color: var(--mute); clip-path: inset(0 100% 0 0); transition: clip-path var(--s) var(--pf-io); pointer-events: none; }
|
|
.xsc-ml:focus-visible .xsc-ml-m { clip-path: inset(0 0 0 0); }
|
|
.xsc-ml svg { color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity var(--b) var(--pf-emph), transform var(--b) var(--pf-emph); }
|
|
.xsc-map-st li.ok .xsc-ml { color: var(--ink); }
|
|
.xsc-map-st li.ok .xsc-ml svg { opacity: 1; transform: none; }
|
|
.xsc-ml:active { transform: scale(.97); }
|
|
@media (hover: hover) {
|
|
.xsc-ml:hover { background: var(--tile); color: var(--ink); }
|
|
.xsc-ml:hover .xsc-ml-t { transform: translateY(-7px); }
|
|
.xsc-ml:hover .xsc-ml-m { clip-path: inset(0 0 0 0); }
|
|
.xsc-ml .xsc-ml-t { transition: transform var(--b) var(--pf-emph); }
|
|
.xsc-map-st li:hover .xsc-mp { translate: 0 -10px; }
|
|
}
|
|
|
|
/* the controls: a calm document you select from */
|
|
.xsc-layers { background: var(--tile); }
|
|
.xsc-layers-g { display: grid; grid-template-columns: minmax(0, 38.2fr) minmax(0, 61.8fr); column-gap: 44px; align-items: start; }
|
|
.xsc-tabs { display: grid; margin-top: 27px; border-top: 1px solid var(--line); }
|
|
.xsc-tabs button { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) 18px; gap: 10.5px; align-items: center; min-height: 56px; padding: 0 17px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font: 400 16px/1.25 var(--sans); color: var(--mute); cursor: pointer; transition: color var(--f) var(--pf-out); }
|
|
.xsc-tabs button > span:not(.xsc-pill) { position: relative; z-index: 1; transition: transform var(--f) var(--pf-out); }
|
|
.xsc-tabs button .pf-mono { font-size: 13px; }
|
|
.xsc-tabs button:active > span:not(.xsc-pill) { transform: scale(.97); transition-duration: 90ms; }
|
|
.xsc-tabs button[aria-selected='true'] { color: var(--ink); font-weight: 497; }
|
|
.xsc-pill { position: absolute; z-index: 0; inset: 4px 0; border-radius: 12px; background: var(--x-raised); }
|
|
.xsc-tab-ok { color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity var(--b) var(--pf-emph), transform var(--b) var(--pf-emph) !important; }
|
|
.xsc-tabs button.ok .xsc-tab-ok { opacity: 1; transform: none; }
|
|
@media (hover: hover) {
|
|
.xsc-tabs button:hover { color: var(--ink); }
|
|
.xsc-tabs button:hover .xsc-tab-t { transform: translateX(4px); }
|
|
}
|
|
.xsc-ws-n { margin: 17px 0 6.5px; font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
|
|
|
|
.xsc-layers-r { position: sticky; top: 96px; }
|
|
.xsc-stk { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 27px; align-items: center; min-height: 340px; padding: 27px; border-radius: 24px; background: var(--x-raised); }
|
|
.xsc-stk-s { position: relative; list-style: none; margin: 0; padding: 0; height: 300px; }
|
|
.xsc-stk-s li { position: absolute; left: 0; top: calc(64px + var(--i) * 34px); width: 190px; height: 34px; z-index: calc(10 - var(--i)); cursor: pointer; }
|
|
.xsc-stk-s .xsc-mp { left: 10px; top: -40px; width: 160px; height: 112px; transition: background-color var(--b) var(--pf-io), translate var(--sl) var(--pf-emph), outline-color var(--b) var(--pf-io); }
|
|
.xsc-stk-s li.ok .xsc-mp { background: var(--brand); }
|
|
.xsc-stk-s li[data-on='true'] { z-index: 20; }
|
|
.xsc-stk-s li[data-on='true'] .xsc-mp { translate: -6px -44px; background: var(--ink); outline-color: var(--ink); }
|
|
.xsc-stk-s li.core .xsc-mp { background: #000; outline-color: #000; }
|
|
.xsc-stk-s li.core .xsc-mp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
|
|
.xsc-stk-s li[data-on='true'] ~ li .xsc-mp { translate: 0 10px; }
|
|
@media (hover: hover) { .xsc-stk-s li:not([data-on='true']):hover .xsc-mp { translate: 0 -6px; } }
|
|
.xsc-stk-m { display: grid; }
|
|
.xsc-stk-m > div { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10.5px; opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity var(--b) var(--pf-emph), transform var(--b) var(--pf-emph); }
|
|
.xsc-stk-m > div[data-on='true'] { opacity: 1; transform: none; }
|
|
.xsc-stk-n { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
|
|
.xsc-chips, .xsc-rules, .xsc-path, .xsc-strike ul { list-style: none; margin: 6.5px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6.5px; }
|
|
.xsc-chips li, .xsc-path li, .xsc-strike li { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10.5px; border-radius: 6px; background: var(--tile); font: 500 13px/1 var(--mono); color: var(--ink); }
|
|
.xsc-plate.core .xsc-chips li { background: rgba(255, 255, 255, .14); color: #fafafa; }
|
|
.xsc-rules { display: grid; gap: 0; }
|
|
.xsc-rules li { display: flex; justify-content: space-between; gap: 17px; padding: 6.5px 0; border-top: 1px solid var(--line); font: 500 13px/1.3 var(--mono); color: var(--mute); }
|
|
.xsc-rules b { font-weight: 500; color: var(--ink); }
|
|
.xsc-path { align-items: center; gap: 0; }
|
|
.xsc-path li + li { margin-left: 22px; }
|
|
.xsc-path li + li::before { content: ''; position: relative; left: -10.5px; width: 22px; height: 1px; margin-left: -22px; background: var(--ink); }
|
|
.xsc-path li:last-child { background: var(--ink); color: light-dark(#fafafa, var(--primary-foreground)); }
|
|
.xsc-strike li s { text-decoration-color: var(--ink); text-decoration-thickness: 1.5px; color: var(--mute); }
|
|
.xsc-strike p { margin: 10.5px 0 0; font: 500 13px/1 var(--mono); color: var(--ink); }
|
|
|
|
.xsc-panels { display: grid; margin-top: 27px; }
|
|
.xsc-panel { grid-area: 1 / 1; opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity var(--b) var(--pf-emph), transform var(--b) var(--pf-emph); pointer-events: none; }
|
|
.xsc-panel[data-on='true'] { opacity: 1; transform: none; pointer-events: auto; }
|
|
.xsc-panel .xsc-panel-n { margin: 0 0 10.5px; color: var(--ink); }
|
|
.xsc-tick { display: inline-flex; align-items: center; gap: 6.5px; min-height: 44px; margin-top: 17px; padding: 0 17px; border-radius: 999px; border: 1px solid light-dark(rgba(0, 0, 0, .18), var(--border-control)); background: var(--x-raised); font: 500 13px/1 var(--mono); color: var(--mute); cursor: pointer; transition: background-color var(--f) var(--pf-out), color var(--f) var(--pf-out), border-color var(--f) var(--pf-out), transform 90ms var(--pf-out); }
|
|
.xsc-tick svg { opacity: .3; transition: opacity var(--f) var(--pf-out), transform var(--b) var(--pf-emph); }
|
|
.xsc-tick:active { transform: scale(.97); }
|
|
.xsc-tick.on { background: var(--ink); border-color: var(--ink); color: light-dark(#fafafa, var(--primary-foreground)); }
|
|
.xsc-tick.on svg { opacity: 1; }
|
|
@media (hover: hover) {
|
|
.xsc-tick:hover { border-color: light-dark(rgba(0, 0, 0, .4), var(--border-control)); color: var(--ink); transform: translate3d(0, -1px, 0); }
|
|
.xsc-tick:hover svg { opacity: .7; transform: scale(1.1); }
|
|
}
|
|
|
|
/* proof: what runs underneath */
|
|
.xsc-infra-g { display: grid; grid-template-columns: minmax(0, 38.2fr) minmax(0, 61.8fr); column-gap: 44px; align-items: end; }
|
|
.xsc-infra .pf-body { margin-top: 27px; }
|
|
.xsc-rack { list-style: none; margin: 0; padding: 10.5px 27px; border-radius: 24px; background: var(--tile); transform: scale(calc(.92 + var(--up, 4) * .02)); transform-origin: 50% 100%; transition: transform var(--sl) var(--pf-emph); }
|
|
.xsc-rack li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 40px; gap: 17px; align-items: center; min-height: 72px; border-bottom: 1px solid var(--line); }
|
|
.xsc-rack li:last-child { border-bottom: 0; }
|
|
.xsc-rack li::before { content: ''; position: absolute; inset: 6.5px -17px; border-radius: 12px; background: var(--x-raised); clip-path: inset(0 100% 0 0 round 12px); transition: clip-path var(--s) var(--pf-io); }
|
|
.xsc-rack li > * { position: relative; }
|
|
.xsc-u { font-size: 13px; color: var(--mute); }
|
|
.xsc-rack-t { font-size: 17px; line-height: 1.35; color: var(--ink); transition: transform var(--f) var(--pf-out); }
|
|
.xsc-bay { display: flex; gap: 6px; justify-content: flex-end; }
|
|
.xsc-rack li { --on: 0; }
|
|
.xsc-rack-t, .xsc-u { opacity: calc(.45 + var(--on) * .55); transition: opacity var(--s) var(--pf-io), transform var(--f) var(--pf-out); }
|
|
.xsc-bay i { width: 6px; height: 6px; border-radius: 50%; background: light-dark(#d4d4d4, var(--secondary)); transform: scale(calc(.7 + var(--on) * .3)); transition: background-color var(--b) var(--pf-io), transform var(--b) var(--pf-emph); }
|
|
.xsc-rack li[data-up='true'] .xsc-bay i:first-child { background: var(--ink); }
|
|
.xsc-rack li[data-up='true'] .xsc-bay i + i { background: light-dark(#a3a3a3, var(--muted-foreground)); transition-delay: 150ms; }
|
|
@media (hover: hover) {
|
|
.xsc-rack li:hover::before { clip-path: inset(0 0 0 0 round 12px); }
|
|
.xsc-rack li:hover .xsc-rack-t { transform: translateX(4px); }
|
|
}
|
|
|
|
/* or none of it */
|
|
.xsc-where { position: relative; margin-top: 44px; max-width: 560px; }
|
|
.xsc-where-s { position: relative; height: 150px; width: calc(100% / 3); transform: translate3d(calc(var(--at) * 100%), 0, 0); transition: transform var(--sl) var(--pf-emph); pointer-events: none; }
|
|
.xsc-where-s i { position: absolute; left: 50%; bottom: calc(14px + var(--i) * 18px); width: 96px; height: 66px; margin-left: -48px; border-radius: 10px; background: var(--x-sunk); outline: 1px solid light-dark(rgba(0, 0, 0, .14), var(--border-control)); transform: perspective(900px) rotateX(58deg) rotateZ(-42deg); z-index: calc(10 - var(--i)); }
|
|
.xsc-where-s i:first-child { background: var(--ink); outline-color: var(--ink); }
|
|
.xsc-where-s i.core { background: #000; }
|
|
.xsc-where-b { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
|
|
.xsc-where-b button { display: grid; justify-items: center; gap: 10.5px; min-height: 72px; padding: 10.5px 6.5px; border: 0; border-radius: 16px; background: none; font: inherit; color: var(--mute); cursor: pointer; transition: background-color var(--f) var(--pf-out), color var(--f) var(--pf-out), transform 90ms var(--pf-out); }
|
|
.xsc-where-b .pf-mono { font-size: 13px; letter-spacing: .02em; }
|
|
.xsc-where-pad { width: 100%; height: 6px; border-radius: 999px; background: light-dark(#d4d4d4, var(--secondary)); transition: background-color var(--b) var(--pf-io); }
|
|
.xsc-where-b button[aria-pressed='true'] { color: var(--ink); }
|
|
.xsc-where-b button[aria-pressed='true'] .xsc-where-pad { background: var(--ink); }
|
|
.xsc-where-b button:active { transform: scale(.97); }
|
|
@media (hover: hover) { .xsc-where-b button:hover { background: var(--tile); color: var(--ink); } }
|
|
.xsc-none-g { display: grid; grid-template-columns: minmax(0, 61.8fr) minmax(0, 38.2fr); column-gap: 44px; align-items: end; }
|
|
.xsc-none-h { margin: 0 0 27px; max-width: 16ch; font-size: 44px; font-weight: 497; line-height: 1.06; letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
|
|
.xsc-opts { list-style: none; margin: 0; padding: 0; }
|
|
.xsc-opts li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 10.5px; align-items: baseline; padding: 17px 0; border-top: 1px solid var(--line); }
|
|
.xsc-opts li:last-child { border-bottom: 1px solid var(--line); }
|
|
.xsc-opt-n { grid-row: span 2; font-size: 13px; color: var(--mute); transition: transform var(--f) var(--pf-out), color var(--f) var(--pf-out); }
|
|
.xsc-opts li > span:last-child { grid-column: 2; font-size: 16px; color: var(--mute); }
|
|
@media (hover: hover) { .xsc-opts li:hover .xsc-opt-n { color: var(--ink); transform: translateX(4px); } }
|
|
|
|
/* the one black room */
|
|
.xsc-dark .pf-kick { color: #a3a3a3; }
|
|
.xsc-dark .pf-head, .xsc-dark .pf-moment { color: #fafafa; }
|
|
.xsc-dark .pf-body, .xsc-dark .pf-lede { color: rgba(255, 255, 255, .78); }
|
|
.xsc-dark :focus-visible { outline-color: #fff; }
|
|
.xsc-ent-g { display: grid; grid-template-columns: minmax(0, 38.2fr) minmax(0, 61.8fr); column-gap: 44px; align-items: start; }
|
|
.xsc-big { margin: 0; max-width: 34ch; font-size: 26px; line-height: 1.35; letter-spacing: -.015em; color: #fafafa; text-wrap: pretty; }
|
|
.xsc-ent-g .pf-body { margin-top: 17px; }
|
|
.xsc-comes { margin-top: 27px; }
|
|
.xsc-dark .pf-plus i { background: #fafafa; color: #0a0a0a; }
|
|
.xsc-comes-l { list-style: none; margin: 17px 0 27px; padding: 0; }
|
|
.xsc-comes-l li { display: flex; align-items: center; gap: 10.5px; min-height: 48px; border-top: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); font-size: 16px; color: light-dark(#0a0a0a, var(--foreground)); }
|
|
.xsc-comes-l li svg { flex: none; }
|
|
.xsc-found { display: grid; grid-template-columns: minmax(0, 38.2fr) minmax(0, 61.8fr); column-gap: 44px; align-items: end; margin-top: clamp(116px, 12vw, 188px); }
|
|
.xsc-found .pf-body { margin-top: 17px; }
|
|
.xsc-mail { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 17px 27px; }
|
|
.xsc-mail a { position: relative; padding-bottom: 10.5px; font-size: 44px; font-weight: 497; line-height: 1; letter-spacing: -.03em; color: #fafafa; text-decoration: none; transition: transform var(--f) var(--pf-out); }
|
|
.xsc-mail a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #fafafa; transform-origin: 100% 50%; transition: transform var(--s) var(--pf-io); }
|
|
.xsc-mail a:active { transform: translate3d(0, 1px, 0); }
|
|
@media (hover: hover) {
|
|
.xsc-mail a:hover { transform: translate3d(0, -2px, 0); }
|
|
.xsc-mail a:hover::after { transform: scaleX(0); }
|
|
}
|
|
.xsc-dark .x-copy { color: #fafafa; border-color: rgba(255, 255, 255, .2); background: transparent; transition: transform var(--f) var(--pf-out); }
|
|
.xsc-dark .x-copy:active { transform: scale(.97); }
|
|
@media (hover: hover) { .xsc-dark .x-copy:hover { transform: translate3d(0, -1px, 0); } }
|
|
.xsc-ask { display: grid; grid-template-columns: minmax(0, 61.8fr) minmax(0, 38.2fr); column-gap: 44px; align-items: end; margin-top: clamp(116px, 12vw, 188px); padding-top: 44px; border-top: 1px solid rgba(255, 255, 255, .14); }
|
|
.xsc-ask .pf-moment { max-width: 11ch; }
|
|
.xsc-ask .pf-lede { margin-bottom: 27px; }
|
|
.xsc-ask-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 17px 27px; }
|
|
.xsc-dark .x-arrow { color: #fafafa; }
|
|
.x-btn.xsc-light { background: #fafafa; border-color: #fafafa; color: #0a0a0a; }
|
|
.x-btn.xsc-light { transition: background-color var(--f) var(--pf-out), transform var(--f) var(--pf-out); }
|
|
@media (hover: hover) { .x-btn.xsc-light:hover { background: var(--brand); transform: translate3d(0, -2px, 0); } }
|
|
.x-btn.xsc-light:active { transform: scale(.98); transition-duration: 90ms; }
|
|
/* the place stack makes its move at full size on desktop */
|
|
@media (min-width: 900px) {
|
|
.xsc-where { max-width: 640px; }
|
|
.xsc-where-s { height: 210px; }
|
|
.xsc-where-s i { width: 132px; height: 92px; margin-left: -66px; bottom: calc(18px + var(--i) * 24px); border-radius: 14px; }
|
|
}
|
|
.xsc-where-b .pf-mono { white-space: nowrap; }
|
|
.xsc-note { margin: 17px 0 0; font-size: 14px; color: light-dark(#a3a3a3, var(--text-tertiary)); }
|
|
.xsc-note a { color: #fafafa; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-underline-offset var(--f) var(--pf-out); }
|
|
@media (hover: hover) { .xsc-note a:hover { text-underline-offset: 6px; } }
|
|
|
|
@media (max-width: 899px) {
|
|
.xsc-hero { padding: 44px 0 72px; }
|
|
.xsc-hero-g, .xsc-layers-g, .xsc-infra-g, .xsc-none-g, .xsc-ent-g, .xsc-found, .xsc-ask { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
|
|
.xsc-hero-c .pf-lede { margin-top: 17px; }
|
|
.xsc-audit { display: grid; grid-template-columns: 8px minmax(0, 1fr); align-items: baseline; margin-top: 27px; }
|
|
.xsc-audit-dot { transform: translateY(-2px); }
|
|
.xsc-audit .x-arrow { grid-column: 2; }
|
|
.xsc-map-h { padding-left: 0; font-size: 12px; letter-spacing: .1em; }
|
|
.xsc-map-st { height: 360px; }
|
|
.xsc-map-st li { top: calc(26px + var(--i) * 54px); height: 54px; }
|
|
.xsc-mp { left: 0; top: -24px; width: 116px; height: 82px; border-radius: 12px; }
|
|
.xsc-ml { left: 120px; gap: 6.5px; grid-template-columns: 26px minmax(0, 1fr) 16px; padding: 0 6px 0 10px; font-size: 15px; }
|
|
.xsc-ml::before { width: 14px; }
|
|
.xsc-ml .pf-mono { font-size: 14px; }
|
|
.xsc-layers-l { display: contents; }
|
|
.xsc-layers-g { row-gap: 0; }
|
|
.xsc-layers-g > .xsc-layers-l > .pf-head { order: 1; }
|
|
.xsc-tabs { order: 2; display: flex; gap: 6.5px; margin: 17px -16px 0; padding: 4px 16px 6.5px; border-top: 0; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; }
|
|
.xsc-tabs::-webkit-scrollbar { display: none; }
|
|
.xsc-tabs button { flex: none; grid-template-columns: auto auto 16px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; scroll-snap-align: start; white-space: nowrap; font-size: 15px; }
|
|
.xsc-tabs button .pf-mono { font-size: 14px; }
|
|
.xsc-pill { inset: 0; border-radius: 999px; }
|
|
.xsc-layers-r { order: 3; margin-top: 17px; }
|
|
.xsc-ws-n { order: 4; font-size: 14px; }
|
|
.xsc-layers-l > .x-arrow { order: 5; }
|
|
.xsc-layers-r { position: static; }
|
|
.xsc-stk { grid-template-columns: 132px minmax(0, 1fr); gap: 17px; min-height: 0; padding: 17px; border-radius: 16px; }
|
|
.xsc-stk-s { height: 220px; }
|
|
.xsc-stk-s li { top: calc(60px + var(--i) * 24px); width: 120px; height: 24px; }
|
|
.xsc-stk-s .xsc-mp { left: 4px; top: -28px; width: 104px; height: 72px; border-radius: 10px; }
|
|
.xsc-stk-s li[data-on='true'] .xsc-mp { translate: -4px -30px; }
|
|
.xsc-stk-s li[data-on='true'] ~ li .xsc-mp { translate: 0 6px; }
|
|
.xsc-where { margin-top: 27px; }
|
|
.xsc-where-s { height: 120px; }
|
|
.xsc-where-s i { width: 72px; height: 50px; margin-left: -36px; bottom: calc(10px + var(--i) * 14px); }
|
|
.xsc-where-b .pf-mono { font-size: 13px; letter-spacing: 0; }
|
|
.xsc-ml-m { display: none; }
|
|
/* phone first screen: h1, lede, ask, then the stack that checks itself; the audit line follows it */
|
|
.xsc-hero-c { display: contents; }
|
|
.xsc-hero-g { row-gap: 0; }
|
|
.xsc-hero-v { order: 1; margin-top: 27px; }
|
|
.xsc-audit { order: 2; }
|
|
.xsc-chips li, .xsc-path li, .xsc-strike li, .xsc-rules li { font-size: 14px; }
|
|
.xsc-path li + li { margin-left: 14px; }
|
|
.xsc-path li + li::before { width: 14px; margin-left: -14px; left: -7px; }
|
|
.xsc-rack { padding: 6.5px 17px; border-radius: 16px; }
|
|
.xsc-rack li { grid-template-columns: 34px minmax(0, 1fr) 28px; gap: 10.5px; min-height: 72px; }
|
|
.xsc-u { font-size: 14px; }
|
|
.xsc-bay { gap: 4px; }
|
|
.xsc-none-h { font-size: 32px; }
|
|
.xsc-opt-n { font-size: 14px; }
|
|
.xsc-big { font-size: 21px; }
|
|
.xsc-found, .xsc-ask { margin-top: 72px; }
|
|
.xsc-ask { padding-top: 44px; }
|
|
.xsc-mail { justify-content: flex-start; }
|
|
.xsc-mail a { font-size: 32px; }
|
|
.xsc .x-copy { min-height: 44px; }
|
|
}
|
|
|
|
/* decode, the signature: the real words keep their place (and their reading) while the scramble is drawn over them, so
|
|
nothing reflows; a word scrambles in its own face, and the overlay never wraps wider than the word's box */
|
|
.xdc { position: relative; display: inline-block; max-width: 100%; vertical-align: top; }
|
|
.xdc-fx { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; }
|
|
.xdc[data-one] > .xdc-fx { white-space: nowrap; }
|
|
.xdc[data-run] > .xdc-t { opacity: 0; }
|
|
.xdc-fx { font-variant-ligatures: none; }
|
|
/* an inline-block does not inherit its parent's strike-through: draw it on the words and on the scramble */
|
|
.xsc-strike s .xdc-t, .xsc-strike s .xdc-fx { text-decoration: line-through; text-decoration-color: var(--ink); text-decoration-thickness: 1.5px; }
|
|
/* a name still waiting for its check reads quieter than a resolved one */
|
|
.xsc-map-st li:not(.ok) .xdc[data-run] > .xdc-fx { opacity: .55; }
|
|
|
|
/* the sheet is a native dialog inside the black room: its contents read in ink on paper */
|
|
.xsc-dark .pf-sheet .x-arrow { color: var(--ink); }
|
|
.xsc-dark .pf-sheet :focus-visible { outline-color: var(--ink); }
|
|
@media (max-width: 899px) {
|
|
/* every text link gets a 44px target on touch */
|
|
.xsc .x-arrow, .xsc-note a { display: inline-flex; align-items: center; min-height: 44px; }
|
|
}
|
|
|
|
/* the hero h1's cut-in runs on CSS from first paint (no hydration wait) */
|
|
@keyframes xsc-cut { from { transform: translate3d(0, 105%, 0); } }
|
|
.xsc-cut { animation: xsc-cut .7s cubic-bezier(.16, 1, .3, 1) calc(.1s + var(--d, 0ms)) backwards; }
|
|
@media (prefers-reduced-motion: reduce) { .xsc-cut { animation: none; } }
|