mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
1308 lines
111 KiB
CSS
1308 lines
111 KiB
CSS
/* ---------- benchmarks, v2 ---------- */
|
|
.xbm, .xbm-in { --j: #a3a3a3; --acc: #0a0a0a; --soft: #525252; --faint: #737373; --card: #f5f5f5; --line: rgba(0, 0, 0, .1); } /* deck palette only: Hanzo's series is ink, the rest grey */
|
|
.xbm { overflow-x: clip; }
|
|
.xbm [id] { scroll-margin-top: 124px; }
|
|
.xbm-lbl { font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
|
|
.xbm-p { margin: 14px 0 0; max-width: 68ch; font-size: 16px; line-height: 1.6; color: var(--soft); text-wrap: pretty; }
|
|
.xbm-note { margin: 16px 0 0; max-width: 92ch; font-size: 14px; line-height: 1.6; color: var(--faint); text-wrap: pretty; }
|
|
.xbm-runl { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--faint); }
|
|
.xbm-runl code, .xbm-runl a { font: 500 13px/1.6 var(--mono); color: var(--soft); }
|
|
.xbm-runl a { color: var(--ink); text-underline-offset: 3px; word-break: break-all; }
|
|
.xbm .j, .xbm-in .j { color: var(--faint); }
|
|
.xbm-ink { color: var(--ink); font-weight: 606; }
|
|
.xbm-anchor { display: block; height: 0; }
|
|
.xbm-nb { white-space: nowrap; } /* never break a heading on its hyphen ("Ultra- / Long") */
|
|
.xbm-cap { margin: 20px 0 0; font: 500 13px/1.35 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
|
|
.xbm-cap + .pf-body { margin-top: 24px; }
|
|
.xbm-go { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font: 500 16px/1 var(--sans); color: var(--ink); text-decoration: none; }
|
|
.xbm-go svg { transition: transform 150ms cubic-bezier(0, 0, .2, 1); }
|
|
@media (hover: hover) { .xbm-go:hover svg { transform: translateX(3px); } }
|
|
.xbm-go:active { transform: translateY(1px); }
|
|
.xbm-opens { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 36px; }
|
|
|
|
/* bars: one track, the page's accent for Hanzo, grey for the rest, drawn by scaleX */
|
|
.xbm-bar { display: block; height: 6px; border-radius: 6px; background: #e5e5e5; overflow: hidden; }
|
|
.xbm-bar b { display: block; height: 100%; border-radius: 6px; background: var(--j); transform-origin: 0 50%; }
|
|
.xbm-bar.acc b { background: var(--acc); }
|
|
.xbm-bar.pale b { background: #d4d4d4; }
|
|
|
|
/* segmented controls and tools */
|
|
.xbm-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
|
|
.xbm-seg button, .xbm-seg-out { position: relative; border: 0; background: none; min-height: 34px; padding: 0 14px; border-radius: 999px; font: 500 14px/34px var(--sans); color: var(--soft); cursor: pointer; white-space: nowrap; text-decoration: none; }
|
|
.xbm-seg button:is([aria-selected='true'], [aria-pressed='true']) { color: #fff; }
|
|
.xbm-seg button span { position: relative; }
|
|
@media (hover: hover) { .xbm-seg-out:hover { color: var(--ink); } }
|
|
.xbm-seg-bg { position: absolute !important; inset: 0; border-radius: 999px; background: var(--ink); }
|
|
.xbm-tools { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
|
|
.xbm-tools button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 13px/1 var(--sans); color: var(--soft); cursor: pointer; transition: color 150ms, border-color 150ms; }
|
|
@media (hover: hover) { .xbm-tools button:hover { color: var(--ink); border-color: rgba(0, 0, 0, .2); } }
|
|
.xbm-bar-row, .xbm-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 20px; }
|
|
.xbm-bar-row.tight { border: 0; padding: 0; margin: 0; }
|
|
|
|
/* tables: the kit's DataTable, given room for Hanzo's long row names */
|
|
.xbm-tw { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 17px; }
|
|
.xbm-dt { margin-top: 17px; }
|
|
.xbm-dt .x-table th[scope='row'] { white-space: normal; min-width: 16ch; max-width: 44ch; font-weight: 497; }
|
|
.xbm-dt .x-table td { font-family: var(--mono); font-size: 14px; }
|
|
.xbm-dt .x-table td b { font-weight: 606; }
|
|
|
|
/* ---------- 1. stage ---------- */
|
|
.xbm-stage { position: relative; }
|
|
.xbm-stage.run { height: 230svh; }
|
|
.xbm-stage.run .xbm-stage-stick { position: sticky; top: 0; height: 100svh; overflow: hidden; }
|
|
.xbm-stage.run .xbm-stage-head { position: absolute; left: 0; right: 0; top: clamp(84px, 10svh, 120px); z-index: 2; }
|
|
.xbm-stage.flat { padding: clamp(120px, 12vw, 180px) 0 clamp(80px, 8vw, 120px); }
|
|
.xbm-pill { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font: 500 13px/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
|
|
.xbm-pill i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 0 rgba(0, 0, 0, .35); animation: xbm-pulse 2.2s var(--ease) 3; }
|
|
@keyframes xbm-pulse { 70% { box-shadow: 0 0 0 7px rgba(0, 0, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); } }
|
|
.xbm-stage-hgrid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: 24px; align-items: end; margin-top: 28px; }
|
|
.xbm-lede { margin: 0; max-width: 32ch; font-size: 21px; line-height: 1.45; letter-spacing: -.01em; color: var(--soft); text-wrap: pretty; }
|
|
.xbm-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 28px; }
|
|
/* arrival order: the h1's three lines cut in first (0, 60, 120ms), then the lede, the meta and the ask follow 60ms apart */
|
|
.xbm-stage-aside > * { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .5s cubic-bezier(0, 0, .2, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
|
|
.xbm-stage-head[data-in] .xbm-stage-aside > * { opacity: 1; transform: none; }
|
|
.xbm-stage-head[data-in] .xbm-stage-aside > :nth-child(1) { transition-delay: .38s; }
|
|
.xbm-stage-head[data-in] .xbm-stage-aside > :nth-child(2) { transition-delay: .44s; }
|
|
.xbm-stage-head[data-in] .xbm-stage-aside > :nth-child(3) { transition-delay: .5s; }
|
|
@media (prefers-reduced-motion: reduce) { .xbm-stage-aside > * { opacity: 1; transform: none; transition: none; } }
|
|
.xbm-stage-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 24px; align-items: center; }
|
|
.xbm-stage.run .xbm-stage-grid { height: 100%; padding-top: 60px; box-sizing: border-box; }
|
|
.xbm-stage.flat .xbm-stage-grid { margin-top: 72px; }
|
|
.xbm-stage-cap { padding-right: clamp(0px, 3vw, 48px); }
|
|
.xbm-stage-cap .pf-head { max-width: 14ch; }
|
|
.xbm-stage-cap .pf-body { margin-top: 24px; }
|
|
.xbm-stage-slot { position: relative; }
|
|
.xbm-stage-obj { margin: 0; padding: 26px 24px 14px; transition: opacity 500ms var(--ease); }
|
|
.xbm-stage.run:not([data-ready]) .xbm-stage-obj { opacity: 0; }
|
|
.xbm-src { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 28px 0 0; font-size: 14px; color: var(--faint); }
|
|
.xbm-src a { color: var(--soft); text-underline-offset: 3px; }
|
|
.xbm-key { display: inline-flex; align-items: center; gap: 7px; }
|
|
.xbm-key::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--j); }
|
|
.xbm-key.router::before { width: 11px; height: 11px; background: var(--acc); }
|
|
.xbm-key.reported::before { background: #fff; border: 1.5px solid var(--faint); }
|
|
|
|
/* ---------- 2. figures ---------- */
|
|
.xbm-figs { padding: clamp(72px, 11vw, 188px) 0; }
|
|
.xbm-figs-l { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
|
|
.xbm-fig { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr) 48px; gap: 24px; align-items: end; padding: 44px 0 48px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
|
|
.xbm-fig-v { font-size: 64px; font-weight: 220; line-height: 1; letter-spacing: -.03em; font-feature-settings: 'tnum'; transition: transform 500ms var(--ease), color 400ms var(--ease); }
|
|
@media (hover: hover) { .xbm-fig:hover .xbm-fig-v, .xbm-fig:focus-visible .xbm-fig-v { transform: translateX(14px); } }
|
|
.xbm-fig:active .xbm-fig-v { transform: translateX(14px) scale(.98); }
|
|
.xbm-fig-t b { display: block; font-size: 17px; font-weight: 606; letter-spacing: -.01em; }
|
|
.xbm-fig-t span { display: block; margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--soft); }
|
|
.xbm-fig i { justify-self: end; font-style: normal; font-size: 26px; color: var(--faint); transition: transform 500ms var(--ease), color 300ms; }
|
|
@media (hover: hover) { .xbm-fig:hover i { transform: translateX(6px); color: var(--ink); } }
|
|
|
|
/* scatter */
|
|
.xbm-sc { position: relative; }
|
|
.xbm-sc svg { display: block; width: 100%; height: auto; overflow: visible; }
|
|
.xbm-grid { stroke: rgba(0, 0, 0, .07); stroke-width: 1; }
|
|
.xbm-grid.v { stroke-dasharray: 2 4; }
|
|
.xbm-tick { font: 500 12px/1 var(--mono); fill: var(--faint); }
|
|
.xbm-axl { font: 500 12px/1 var(--mono); letter-spacing: .06em; fill: var(--faint); }
|
|
.xbm-front { fill: none; stroke: var(--acc); stroke-width: 1.6; stroke-dasharray: 5 5; }
|
|
.xbm-pt circle:first-child { fill: #a3a3a3; transform-box: fill-box; transform-origin: center; }
|
|
.xbm-pt.f circle:first-child { fill: #737373; }
|
|
.xbm-pt.reported circle:first-child { fill: #fff; stroke: #737373; stroke-width: 1.6; }
|
|
.xbm-pt.router circle:first-child { fill: var(--acc); }
|
|
.xbm-ring { fill: none; stroke: var(--ink); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.5); transition: opacity 300ms var(--ease), transform 400ms var(--ease); }
|
|
.xbm-pt.on .xbm-ring { opacity: 1; transform: scale(1); }
|
|
.xbm-pt.router.on .xbm-ring { stroke: var(--acc); }
|
|
.xbm-hit { fill: transparent; cursor: pointer; outline: none; }
|
|
.xbm-lab { font: 500 12px/1 var(--sans); fill: var(--soft); pointer-events: none; }
|
|
.xbm-pt.router .xbm-lab { font-weight: 606; fill: var(--ink); font-size: 13px; }
|
|
.xbm-sc { padding-bottom: 76px; }
|
|
.xbm-read { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 0 0; border-top: 1px solid var(--line); color: var(--ink); pointer-events: none; opacity: 0; transform: translate3d(0, 6px, 0); transition: opacity 150ms cubic-bezier(0, 0, .2, 1), transform 300ms var(--ease); }
|
|
.xbm-read.on { opacity: 1; transform: none; }
|
|
.xbm-read b { display: block; font: 606 14px/1.3 var(--sans); }
|
|
.xbm-read span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--soft); }
|
|
|
|
/* ---------- rail ---------- */
|
|
.xbm-rail { position: sticky; top: 60px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); transition: background-color 400ms var(--ease), border-color 400ms var(--ease); }
|
|
.xbm-rail-in { display: flex; align-items: center; gap: 16px; height: 56px; }
|
|
.xbm-rail-l { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
|
|
.xbm-rail-l::-webkit-scrollbar { display: none; }
|
|
.xbm-rail-l a { position: relative; display: block; padding: 9px 14px; border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--soft); text-decoration: none; white-space: nowrap; transition: color 150ms; }
|
|
@media (hover: hover) { .xbm-rail-l a:hover, .xbm-rail-l a[aria-current] { color: var(--ink); } }
|
|
.xbm-rail-l a span { position: relative; }
|
|
.xbm-rail-bg { position: absolute !important; inset: 0; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
|
|
.xbm-jump { position: relative; margin-left: auto; }
|
|
.xbm-jump > button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: 500 14px/1 var(--sans); color: var(--soft); cursor: pointer; }
|
|
@media (hover: hover) { .xbm-jump > button:hover { color: var(--ink); border-color: rgba(0, 0, 0, .18); } }
|
|
.xbm-jump kbd { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; border: 1px solid var(--line); font: 500 13px/1 var(--mono); color: var(--faint); }
|
|
.xbm-jump-p { position: absolute; right: 0; top: calc(100% + 8px); width: 340px; padding: 8px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .25); transform-origin: 100% 0; }
|
|
.xbm-jump-p input { width: 100%; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); font: 400 16px/1 var(--sans); color: var(--ink); outline: none; box-sizing: border-box; }
|
|
.xbm-jump-p input:focus { border-color: var(--ink); }
|
|
.xbm-jump-p ul { list-style: none; margin: 6px 0 0; padding: 0; max-height: 330px; overflow: auto; }
|
|
.xbm-jump-p a { display: flex; justify-content: space-between; gap: 12px; padding: 10px; border-radius: 9px; font-size: 14px; color: var(--ink); text-decoration: none; }
|
|
@media (hover: hover) { .xbm-jump-p a:hover, .xbm-jump-p a:focus-visible { background: var(--card); } }
|
|
.xbm-jump-p small { color: var(--faint); font-size: 13px; white-space: nowrap; }
|
|
.xbm-none { padding: 10px; font-size: 14px; color: var(--faint); }
|
|
.xbm-rail.dark { background: #000; border-color: rgba(255, 255, 255, .1); }
|
|
.xbm-rail.dark .xbm-rail-l a { color: #a3a3a3; }
|
|
@media (hover: hover) { .xbm-rail.dark .xbm-rail-l a:hover, .xbm-rail.dark .xbm-rail-l a[aria-current] { color: #fafafa; } }
|
|
.xbm-rail.dark .xbm-rail-bg { background: #171717; border-color: rgba(255, 255, 255, .12); }
|
|
.xbm-rail.dark .xbm-jump > button { background: #0f0f0f; border-color: rgba(255, 255, 255, .14); color: #a3a3a3; }
|
|
|
|
/* ---------- 3. enso ---------- */
|
|
.xbm-enso-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 27px 44px; align-items: center; }
|
|
.xbm-enso-copy .pf-head { margin-bottom: 28px; }
|
|
.xbm-enso-obj { margin: 0; padding: 22px 26px 18px; }
|
|
.xbm-obj-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
|
|
.xbm-obj-t { margin-right: auto; font-size: 17px; font-weight: 497; letter-spacing: -.015em; }
|
|
.xbm-obj-f { display: flex; justify-content: flex-end; padding-top: 10px; }
|
|
.xbm-sys-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; }
|
|
.xbm-sys-head .xbm-p { margin: 0; max-width: 56ch; font-size: 14px; }
|
|
.xbm-lb { list-style: none; margin: 0; padding: 0; min-width: 760px; }
|
|
.xbm-lb-h, .xbm-lb-r { display: grid; grid-template-columns: minmax(200px, 1.4fr) minmax(180px, 1.6fr) 110px 90px 170px; align-items: center; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
|
|
.xbm-lb-h { font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
|
|
.xbm-lb-r { font-size: 14px; background: #fff; }
|
|
.xbm-lb-r.me .xbm-lb-n b { color: var(--acc); }
|
|
.xbm-lb-n { display: flex; align-items: baseline; gap: 10px; }
|
|
.xbm-lb-n em { font: 500 13px/1 var(--mono); color: var(--faint); font-style: normal; }
|
|
.xbm-lb-n b { font: 500 14px/1.2 var(--mono); }
|
|
.xbm-run { font: 500 13px/1 var(--mono); color: var(--faint); text-underline-offset: 3px; }
|
|
@media (hover: hover) { .xbm-run:hover { color: var(--ink); } }
|
|
.xbm-lb-acc { display: grid; grid-template-columns: 1fr 52px; align-items: center; gap: 12px; }
|
|
.xbm-lb-acc b { font: 606 14px/1 var(--mono); text-align: right; }
|
|
.xbm-lb-r .x-mono { color: var(--soft); font-size: 14px; }
|
|
.xbm-tag { font: 400 13px/1.3 var(--mono); color: var(--faint); }
|
|
|
|
/* ---------- 4. kai: sixteen of sixteen ---------- */
|
|
.xbm-kai-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 27px 44px; align-items: center; }
|
|
.xbm-kai-vis { display: grid; gap: 28px; }
|
|
.xbm-kai-n { color: var(--ink); }
|
|
.xbm-kai-h { max-width: 18ch; }
|
|
.xbm-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
|
|
.xbm-tile { display: grid; gap: 8px; align-content: start; padding: 16px 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: transform 500ms var(--ease), box-shadow 500ms var(--ease), border-color 300ms; }
|
|
@media (hover: hover) { .xbm-tile:hover { transform: translateY(-4px); border-color: rgba(0, 0, 0, .14); box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .3); } }
|
|
.xbm-tile-t { min-height: 2.6em; font-size: 14px; font-weight: 497; line-height: 1.3; letter-spacing: -.005em; }
|
|
.xbm-tile-v { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; }
|
|
.xbm-tile-v b { font: 606 21px/1 var(--mono); letter-spacing: -.03em; color: var(--acc); }
|
|
.xbm-tile-v span { font: 500 14px/1 var(--mono); }
|
|
.xbm-tile .xbm-bar { height: 4px; }
|
|
.xbm-duel-h, .xbm-duel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 170px; gap: 24px; }
|
|
.xbm-duel-h { padding-bottom: 12px; border-bottom: 1px solid var(--ink); font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
|
|
.xbm-duels { list-style: none; margin: 0; padding: 0; }
|
|
.xbm-duel { padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
|
|
.xbm-duel-t { display: grid; grid-template-columns: 34px 1fr; gap: 8px; }
|
|
.xbm-duel-n { font: 500 13px/1.6 var(--mono); color: var(--faint); }
|
|
.xbm-duel-t b { display: block; font-size: 16px; font-weight: 497; letter-spacing: -.01em; line-height: 1.35; color: var(--ink); }
|
|
.xbm-duel-d { display: block; margin-top: 4px; font: 400 13px/1.5 var(--mono); color: var(--faint); }
|
|
.xbm-duel-d a { color: var(--soft); text-underline-offset: 3px; text-decoration-color: rgba(0, 0, 0, .2); }
|
|
.xbm-duel-note { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--soft); max-width: 60ch; }
|
|
.xbm-duel-v { display: grid; grid-template-columns: 30px 1fr 86px; align-items: center; gap: 8px 12px; padding-top: 2px; }
|
|
.xbm-duel-v b { font: 606 14px/1 var(--mono); text-align: right; white-space: nowrap; color: var(--ink); }
|
|
.xbm-duel-v b.j { color: var(--faint); }
|
|
.xbm-who { font: 500 13px/1 var(--mono); color: var(--faint); }
|
|
.xbm-duel-l { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 2px; }
|
|
.xbm-duel-l a { font: 500 13px/1.4 var(--mono); color: var(--soft); text-underline-offset: 3px; text-decoration-color: rgba(0, 0, 0, .2); }
|
|
@media (hover: hover) { .xbm-duel-l a:hover { color: var(--ink); } }
|
|
.xbm-rerun { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0 0; font-size: 14px; color: var(--soft); }
|
|
|
|
/* ---------- 5. the board ---------- */
|
|
.xbm-lead { padding-top: clamp(48px, 6vw, 96px); }
|
|
.xbm-board-head { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: 27px 44px; align-items: end; margin-bottom: 48px; }
|
|
.xbm-board-head .pf-body { margin-top: 24px; }
|
|
.xbm-won .pf-num { color: var(--acc); }
|
|
.xbm-won-k { margin: 18px 0 8px; max-width: 54ch; font-size: 16px; line-height: 1.55; color: var(--soft); }
|
|
.xbm-won-k b { display: block; margin-bottom: 6px; font-size: 17px; font-weight: 606; color: var(--ink); }
|
|
.xbm-sum { margin: 0 0 14px; font-size: 16px; line-height: 1.5; color: var(--soft); }
|
|
.xbm-sum b { color: var(--ink); font-size: 1.35em; font-weight: 497; letter-spacing: -.03em; }
|
|
.xbm-ece { margin: -4px 0 10px; font: 500 13px/1 var(--mono); color: var(--soft); }
|
|
.xbm-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
|
|
.xbm-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) 96px 92px; align-items: center; gap: 24px; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); background: #fff; }
|
|
.xbm-row-t { display: flex; gap: 14px; align-items: baseline; }
|
|
.xbm-mine { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -12px -10px -12px -8px; padding: 0; border: 0; background: none; cursor: pointer; align-self: center; }
|
|
.xbm-mine i { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid rgba(0, 0, 0, .22); transition: background 150ms var(--ease), border-color 150ms var(--ease); }
|
|
.xbm-mine[aria-pressed='true'] i { background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--acc); }
|
|
.xbm-mine:focus-visible { outline: 2px solid var(--ink); outline-offset: -6px; border-radius: 12px; }
|
|
.xbm-all { margin-left: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 13px var(--sans); color: var(--ink); cursor: pointer; }
|
|
.xbm-row-t em { font-size: 13px; font-style: normal; color: var(--faint); }
|
|
.xbm-row-t b { display: block; font-size: 16px; font-weight: 497; letter-spacing: -.01em; }
|
|
.xbm-row-t small { display: block; margin-top: 4px; font-size: 13px; color: var(--faint); }
|
|
.xbm-row-bars { display: grid; grid-template-columns: 30px 1fr 64px; align-items: center; gap: 7px 12px; }
|
|
.xbm-row-bars b { font-size: 14px; font-weight: 606; text-align: right; }
|
|
.xbm-row-lead { font-size: 16px; font-weight: 606; text-align: right; }
|
|
.xbm-win { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; font: 606 14px/1 var(--sans); color: var(--acc); white-space: nowrap; }
|
|
.xbm-win.no { color: var(--faint); font-weight: 500; }
|
|
.xbm-rows.table .xbm-row { padding: 11px 12px 11px 0; }
|
|
.xbm-rows.table .xbm-row-bars { grid-template-columns: 30px 64px 30px 64px; }
|
|
.xbm-rows.table .xbm-bar { display: none; }
|
|
.xbm-rows.table .xbm-row-t small { display: none; }
|
|
.xbm-foot { display: flex; flex-wrap: wrap; gap: 6px 28px; list-style: none; margin: 20px 0 0; padding: 0; font-size: 14px; color: var(--faint); }
|
|
.xbm-foot li::before { content: '· '; }
|
|
|
|
/* evidence (in its sheet) */
|
|
.xbm-ev-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
|
|
.xbm-ev-tabs button { position: relative; display: inline-flex; gap: 8px; align-items: baseline; min-height: 40px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: left; font: 500 14px/1.3 var(--sans); color: var(--soft); cursor: pointer; transition: color 150ms, border-color 150ms; }
|
|
.xbm-ev-tabs button span { font-size: 13px; color: var(--faint); }
|
|
@media (hover: hover) { .xbm-ev-tabs button:hover, .xbm-ev-tabs button[aria-selected='true'] { color: var(--ink); border-color: rgba(0, 0, 0, .2); } }
|
|
.xbm-ev-bar { position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--acc); }
|
|
.xbm-ev-k { margin: 0 0 6px; font-size: 17px; font-weight: 497; letter-spacing: -.02em; color: var(--ink); }
|
|
.xbm-ev-p .xbm-tw { margin-top: 0; }
|
|
.xbm-srcl { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 12px 0 0; font-size: 13px; }
|
|
.xbm-srcl span { font: 500 13px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
|
|
.xbm-srcl a { font: 400 13px/1.6 var(--mono); color: var(--soft); text-underline-offset: 3px; word-break: break-word; }
|
|
.xbm-big2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
|
|
.xbm-big2 div { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 16px; border: 1px solid var(--line); }
|
|
.xbm-big2 span { font: 500 13px/1 var(--mono); color: var(--faint); }
|
|
.xbm-big2 b { font: 220 44px/1 var(--sans); letter-spacing: -.03em; color: var(--ink); }
|
|
.xbm-big2 b.j { color: var(--faint); }
|
|
.xbm-langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; list-style: none; margin: 18px 0 0; padding: 0; }
|
|
.xbm-langs li { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 12px 14px; border-radius: 12px; background: var(--card); }
|
|
.xbm-langs b { grid-row: span 2; font: 606 14px/1.2 var(--mono); color: var(--ink); }
|
|
.xbm-langs span { font-size: 13px; text-align: right; }
|
|
.xbm-langs i { position: absolute; left: 12px; right: 12px; bottom: 7px; height: 3px; }
|
|
.xbm-langs em { position: absolute; left: 0; top: 0; height: 3px; border-radius: 3px; background: var(--acc); }
|
|
.xbm-langs em.j { background: var(--j); mix-blend-mode: multiply; }
|
|
|
|
/* paired bars */
|
|
.xbm-pp { padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: border-color 300ms, box-shadow 400ms var(--ease), transform 400ms var(--ease); }
|
|
@media (hover: hover) { .xbm-pp:hover { border-color: rgba(0, 0, 0, .16); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .25); transform: translateY(-2px); } }
|
|
.xbm-pp-t { margin: 0 0 16px; font-size: 17px; font-weight: 497; }
|
|
.xbm-pp-t a { color: var(--ink); text-decoration: none; }
|
|
.xbm-pp-t a::after { content: ' →'; color: var(--faint); transition: color 150ms; }
|
|
@media (hover: hover) { .xbm-pp-t a:hover::after { color: var(--ink); } }
|
|
.xbm-pp ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
|
|
.xbm-pp li { display: grid; grid-template-columns: 1fr 52px; gap: 5px 12px; align-items: center; }
|
|
.xbm-pp li span { grid-column: 1 / -1; font-size: 14px; color: var(--soft); margin-top: 4px; }
|
|
.xbm-pp li span:nth-of-type(2) { margin-top: 0; color: var(--ink); }
|
|
.xbm-pp li b { font-size: 14px; font-weight: 606; text-align: right; }
|
|
.xbm-pp-f { margin: 16px 0 0; font: 400 13px/1.5 var(--mono); color: var(--faint); }
|
|
|
|
/* agent tools (in their sheet) */
|
|
.xbm-toolgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
|
|
.xbm-tool h4 { margin: 0; font-size: 17px; font-weight: 497; letter-spacing: -.01em; color: var(--ink); }
|
|
.xbm-tool .xbm-note { margin-top: 8px; }
|
|
|
|
/* ---------- 6. kai, beyond the suites (pinned) ---------- */
|
|
.xbm-stack { display: grid; width: 100%; }
|
|
.xbm-stack-i { grid-area: 1 / 1; align-self: center; opacity: 0; transform: translate3d(0, 36px, 0) scale(.97); transition: opacity 400ms var(--ease), transform 500ms var(--ease); pointer-events: none; }
|
|
.xbm-stack-i[data-on='true'] { opacity: 1; transform: none; pointer-events: auto; transition-delay: .06s; }
|
|
.xbm-vis { padding: clamp(24px, 2.6vw, 36px); }
|
|
.xbm-vis-h { display: flex; gap: 16px; margin: 0 0 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
|
|
.xbm-yn { list-style: none; margin: 0; padding: 0; }
|
|
.xbm-yn li { display: grid; grid-template-columns: minmax(0, 1fr) 150px 110px; gap: 24px; align-items: end; padding: 26px 0; border-bottom: 1px solid var(--line); }
|
|
.xbm-yn li:last-child { border-bottom: 0; }
|
|
.xbm-yn-t { font-size: 16px; line-height: 1.45; color: var(--soft); }
|
|
.xbm-yn-k, .xbm-yn-j { display: flex; flex-direction: column; gap: 8px; }
|
|
.xbm-yn-k b { font-size: 32px; font-weight: 497; line-height: 1; letter-spacing: -.02em; color: var(--acc); font-feature-settings: 'tnum'; }
|
|
.xbm-yn-j b { font-size: 17px; font-weight: 500; color: var(--faint); }
|
|
.xbm-tr { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
|
|
.xbm-tr-t { display: block; margin-bottom: 10px; font-size: 16px; font-weight: 497; line-height: 1.35; color: var(--ink); }
|
|
.xbm-tr-r { display: grid; grid-template-columns: 96px minmax(0, 1fr) 156px; gap: 12px; align-items: center; margin-top: 6px; }
|
|
.xbm-tr-r b { font-size: 14px; text-align: right; white-space: nowrap; }
|
|
.xbm-kt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 27px 44px; align-items: center; }
|
|
.xbm-kt.two { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); margin-top: clamp(72px, 10vw, 116px); }
|
|
.xbm-kt .pf-head + .pf-body { margin-top: 24px; }
|
|
.xbm-say { margin: 32px 0 16px; font-size: 17px; line-height: 1.5; letter-spacing: -.01em; color: var(--ink); }
|
|
.xbm-vis-pp { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
|
|
.xbm-vis-pp .xbm-pp { box-shadow: 0 40px 80px -48px rgba(0, 0, 0, .28); }
|
|
.xbm-vis-code .pf-num { color: var(--acc); }
|
|
.xbm-vis-k { margin: 18px 0 28px; font-size: 16px; color: var(--soft); }
|
|
.xbm-vis-k b { display: block; font-size: 17px; color: var(--ink); font-weight: 497; }
|
|
.xbm-set { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
|
|
.xbm-set li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 64px; gap: 14px; align-items: center; font-size: 16px; color: var(--soft); }
|
|
.xbm-set b { font-size: 16px; text-align: right; color: var(--ink); }
|
|
.xbm-vis-tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
|
|
.xbm-vis-tools li { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 16px; }
|
|
.xbm-vis-tools li > b { font-size: 16px; font-weight: 497; line-height: 1.35; min-height: 2.7em; }
|
|
.xbm-vt-r { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--soft); }
|
|
.xbm-vt-r b { font-size: 16px; color: var(--ink); }
|
|
.xbm-vt-r.j b { color: var(--faint); }
|
|
.xbm-vis-tools small { font-size: 13px; color: var(--faint); }
|
|
.xbm-vis-price .xbm-lbl { display: block; margin-bottom: 8px; }
|
|
.xbm-pr { display: grid; grid-template-columns: 40px minmax(0, 1fr) 130px; gap: 16px; align-items: center; margin-top: 20px; }
|
|
.xbm-pr .xbm-bar { height: 16px; border-radius: 8px; }
|
|
.xbm-pr .xbm-bar b { border-radius: 8px; }
|
|
.xbm-pr b { font-size: 21px; text-align: right; color: var(--ink); }
|
|
.xbm-pr0 { display: flex; align-items: baseline; gap: 18px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
|
|
|
|
/* ---------- 7. zen 6, the dark room ---------- */
|
|
.xbm-zenroom { color: #fafafa; }
|
|
.xbm-zen { --line: rgba(255, 255, 255, .1); --j: #404040; --acc: #fafafa; --faint: rgba(255, 255, 255, .55); --soft: rgba(255, 255, 255, .78); color: #fafafa; }
|
|
.xbm-zen .pf-head { color: #fafafa; }
|
|
.xbm-zen .pf-body, .xbm-zen .pf-lede { color: rgba(255, 255, 255, .78); }
|
|
.xbm-zen .pf-pin-meter, .xbm-zen .pf-pin-meter span { color: rgba(255, 255, 255, .55); }
|
|
.xbm-zen .pf-pin-meter i { background: rgba(255, 255, 255, .16); }
|
|
.xbm-zen .pf-pin-meter b { color: #fafafa; }
|
|
.xbm-zen .pf-kick { color: rgba(255, 255, 255, .55); }
|
|
.xbm-zen-n { display: block; font-feature-settings: 'tnum'; }
|
|
.xbm-zen .xbm-bar { background: rgba(255, 255, 255, .1); }
|
|
.xbm-zen .xbm-bar.acc b { background: #fafafa; }
|
|
.xbm-zen a { color: #fafafa; }
|
|
.xbm-zlink { display: block; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; transition: border-color 300ms, transform 400ms var(--ease); }
|
|
@media (hover: hover) { .xbm-zlink:hover { border-color: rgba(255, 255, 255, .3); transform: translateY(-2px); } }
|
|
.xbm-zlink b { display: block; font-size: 16px; font-weight: 606; }
|
|
.xbm-zlink span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.55; color: #a3a3a3; }
|
|
.xbm-zen .x-arrow { color: #fafafa; }
|
|
.xbm-hw { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 32px; border-radius: 28px; background: #0f0f0f; border: 1px solid var(--line); }
|
|
.xbm-hw ul, .xbm-spd ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
|
|
.xbm-hw li, .xbm-spd li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
|
|
.xbm-hw li span, .xbm-spd li span { grid-column: 1 / -1; font-size: 14px; line-height: 1.4; color: #a3a3a3; }
|
|
.xbm-hw li b, .xbm-spd li b { font-size: 14px; font-weight: 606; text-align: right; white-space: nowrap; color: #fafafa; }
|
|
.xbm-spd-t { margin: 0 0 18px; font-size: 16px; font-weight: 497; }
|
|
.xbm-spd-t a { text-decoration: none; }
|
|
.xbm-spd-t a::after { content: ' →'; color: #737373; }
|
|
.xbm-spd-f { margin: 16px 0 0; font: 400 13px/1.4 var(--mono); color: #737373; }
|
|
.xbm-spds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
|
|
.xbm-spd { padding: 24px; border-radius: 24px; border: 1px solid var(--line); background: #0f0f0f; }
|
|
.xbm-spd ul { gap: 14px; }
|
|
.xbm-spd li { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; }
|
|
.xbm-spd li span { grid-column: auto; font-size: 13px; color: #a3a3a3; }
|
|
.xbm-dial { display: grid; gap: 28px; padding: clamp(28px, 3vw, 44px); border-radius: 28px; background: #0f0f0f; border: 1px solid var(--line); color: #fafafa; }
|
|
.xbm-dial-k { margin: 0; font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #737373; }
|
|
.xbm-dial-nb { position: relative; height: 64px; margin: 10px 0 0; overflow: hidden; contain: layout paint; }
|
|
.xbm-dial-n { position: absolute; left: 0; top: 0; margin: 0; white-space: nowrap; font: 220 64px/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fafafa; }
|
|
.xbm-dial-read { overflow: hidden; }
|
|
.xbm-dial-s { margin: 16px 0 0; min-height: 2.9em; font-size: 14px; line-height: 1.45; color: #a3a3a3; }
|
|
.xbm-dial-x { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0 20px; }
|
|
.xbm-dial-x div { display: flex; flex-direction: column; gap: 8px; }
|
|
.xbm-dial-x span { font: 500 13px/1 var(--mono); color: #737373; }
|
|
.xbm-dial-x b { font: 500 21px/1.2 var(--mono); letter-spacing: -.02em; }
|
|
.xbm-gauge { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
|
|
.xbm-gauge em { display: block; height: 100%; background: #fafafa; transform-origin: 0 50%; }
|
|
.xbm-dial-ctl input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
|
|
.xbm-dial-ctl input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #fafafa var(--p), rgba(255, 255, 255, .12) var(--p)); }
|
|
.xbm-dial-ctl input::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #fafafa var(--p), rgba(255, 255, 255, .12) var(--p)); }
|
|
.xbm-dial-ctl input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .12); transition: box-shadow 150ms; }
|
|
.xbm-dial-ctl input::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; }
|
|
.xbm-dial-ticks { display: flex; justify-content: space-between; list-style: none; margin: 4px 0 0; padding: 0; }
|
|
.xbm-dial-ticks button { min-width: 44px; min-height: 40px; border: 0; background: none; font: 500 13px/1 var(--mono); color: #737373; cursor: pointer; transition: color 150ms; }
|
|
.xbm-dial-ticks li:first-child button { text-align: left; min-width: 0; padding: 0; }
|
|
.xbm-dial-ticks li:last-child button { text-align: right; min-width: 0; padding: 0; }
|
|
@media (hover: hover) { .xbm-dial-ticks button:hover, .xbm-dial-ticks button.on { color: #fafafa; } }
|
|
.xbm-paper { margin: 0; font-size: 17px; line-height: 1.45; letter-spacing: -.01em; }
|
|
.xbm-paper a { text-underline-offset: 5px; text-decoration-color: rgba(255, 255, 255, .3); }
|
|
|
|
/* ---------- 8. harness ---------- */
|
|
.xbm-h-top { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: 27px 44px; align-items: end; }
|
|
.xbm-h-head { max-width: 20ch; }
|
|
.xbm-h-fig { display: grid; gap: 18px; text-decoration: none; color: var(--ink); }
|
|
.xbm-h-fig .pf-num { color: var(--acc); transition: transform 500ms var(--ease); }
|
|
@media (hover: hover) { .xbm-h-fig:hover .pf-num { transform: translateX(10px); } }
|
|
.xbm-h-fig > span:last-child b { display: block; font-size: 17px; font-weight: 606; }
|
|
.xbm-h-fig > span:last-child span { display: block; margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--soft); }
|
|
.xbm-mem { margin-top: clamp(72px, 10vw, 116px); }
|
|
.xbm-mem-h { max-width: 760px; margin-bottom: 40px; }
|
|
.xbm-mem-h .pf-body, .xbm-two .pf-body { margin-top: 16px; }
|
|
.xbm-pps.mem { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: 14px; align-items: start; }
|
|
.xbm-pps-col { display: grid; gap: 14px; }
|
|
.xbm-two { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: 27px 44px; margin-top: clamp(72px, 10vw, 116px); }
|
|
.xbm-two .xbm-pp { margin-top: 24px; }
|
|
.xbm-graph { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
|
|
.xbm-graph-c { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; align-items: baseline; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color 150ms, transform 400ms var(--ease); }
|
|
@media (hover: hover) { .xbm-graph-c:hover { border-color: rgba(0, 0, 0, .18); transform: translateY(-2px); } }
|
|
.xbm-graph-c b { font: 497 32px/1 var(--sans); letter-spacing: -.02em; }
|
|
.xbm-graph-c.acc b { color: var(--acc); }
|
|
.xbm-graph-c > span { font-size: 16px; font-weight: 500; }
|
|
.xbm-graph-c .xbm-bar { grid-column: 1 / -1; margin-top: 6px; }
|
|
.xbm-graph-c small { grid-column: 1 / -1; font: 400 13px/1.4 var(--mono); color: var(--faint); }
|
|
|
|
/* the race */
|
|
.xbm-race { margin-top: clamp(72px, 10vw, 116px); }
|
|
.xbm-race-top { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: 27px 44px; align-items: end; }
|
|
.xbm-race-top .pf-head { max-width: 16ch; }
|
|
.xbm-race-top .pf-body { margin-top: 20px; }
|
|
.xbm-race-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 40px 0 18px; }
|
|
.xbm-race-tabs button { position: relative; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 14px/1.2 var(--sans); color: var(--soft); cursor: pointer; transition: color 150ms, border-color 150ms; }
|
|
@media (hover: hover) { .xbm-race-tabs button:hover { color: var(--ink); border-color: rgba(0, 0, 0, .2); } }
|
|
.xbm-race-tabs button[aria-selected='true'] { color: #fff; border-color: var(--ink); }
|
|
.xbm-race-tabs button span { position: relative; }
|
|
.xbm-race-bg { position: absolute !important; inset: -1px; border-radius: 999px; background: var(--ink); }
|
|
.xbm-arena { padding: clamp(20px, 2.6vw, 32px); }
|
|
.xbm-arena-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
|
|
.xbm-target { margin: 8px 0 0; font: 500 21px/1.3 var(--mono); letter-spacing: -.01em; }
|
|
.xbm-run-b { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .14); background: #fff; color: var(--ink); font: 606 14px/1 var(--sans); cursor: pointer; transition: transform 150ms var(--ease), border-color 150ms; }
|
|
@media (hover: hover) { .xbm-run-b:hover { border-color: rgba(0, 0, 0, .4); } }
|
|
@media (hover: hover) { .xbm-run-b:hover svg { transform: translateX(2px); } }
|
|
.xbm-run-b svg { transition: transform 150ms var(--ease); }
|
|
.xbm-run-b:active { transform: scale(.98); }
|
|
.xbm-run-b:disabled { color: var(--soft); cursor: progress; }
|
|
.xbm-run-b:disabled svg { animation: xbm-spin 1s linear infinite; }
|
|
@keyframes xbm-spin { to { transform: rotate(-360deg); } }
|
|
.xbm-lane { padding: 16px 18px; border-radius: 16px; background: #ffffff; border: 1px solid var(--line); }
|
|
.xbm-lane + .xbm-lane { margin-top: 8px; }
|
|
.xbm-lane-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
|
|
.xbm-badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 7px; font: 606 13px/1 var(--mono); letter-spacing: .04em; background: var(--ink); color: #fff; }
|
|
.xbm-lane.mid .xbm-badge, .xbm-lane.slow .xbm-badge { background: #ededed; color: var(--soft); }
|
|
.xbm-lane-n { font-size: 16px; font-weight: 500; }
|
|
.xbm-lane-f { display: inline-flex; flex-wrap: wrap; gap: 4px 16px; margin-left: auto; font-size: 14px; color: var(--soft); }
|
|
.xbm-lane-f strong { color: var(--ink); }
|
|
.xbm-lane-bar { display: block; height: 6px; margin: 12px 0 10px; border-radius: 6px; background: rgba(0, 0, 0, .06); overflow: hidden; }
|
|
.xbm-lane-bar b { display: block; height: 100%; border-radius: 6px; background: var(--acc); transform-origin: 0 50%; }
|
|
.xbm-lane.mid .xbm-lane-bar b { background: #737373; }
|
|
.xbm-lane.slow .xbm-lane-bar b { background: #404040; }
|
|
.xbm-lane-d { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 14px; line-height: 1.5; color: var(--soft); }
|
|
.xbm-lane-d strong { color: var(--ink); font-weight: 606; }
|
|
.xbm-lane-d em { font-style: normal; color: var(--ink); font-weight: 500; }
|
|
.xbm-burn { color: var(--faint); }
|
|
.xbm-race-t { margin-top: 0; }
|
|
|
|
/* ---------- 9. platform ---------- */
|
|
.xbm-plat-top { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: 27px 44px; align-items: center; }
|
|
.xbm-plat-fig { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
|
|
.xbm-plat-fig > b { color: var(--acc); white-space: nowrap; }
|
|
.xbm-plat-fig span b { display: block; font-size: 17px; font-weight: 606; }
|
|
.xbm-plat-fig span span { display: block; margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--soft); }
|
|
.xbm-bytes { position: relative; aspect-ratio: 1; width: min(100%, 460px); margin-left: auto; }
|
|
.xbm-mb { position: absolute; inset: 0; border-radius: 8px; transform-origin: 0 0; background: repeating-linear-gradient(0deg, transparent 0 21px, rgba(0, 0, 0, .05) 21px 22px), repeating-linear-gradient(90deg, transparent 0 21px, rgba(0, 0, 0, .05) 21px 22px), var(--card); border: 1px solid rgba(0, 0, 0, .1); }
|
|
.xbm-mb span { position: absolute; right: 14px; bottom: 12px; font: 500 13px/1 var(--mono); color: var(--faint); }
|
|
.xbm-b477 { position: absolute; left: 18px; top: 18px; width: 9.4px; height: 9.4px; background: var(--acc); border-radius: 1px; }
|
|
.xbm-b477-l { position: absolute; left: 36px; top: 15px; font: 500 13px/1 var(--mono); color: var(--ink); }
|
|
.xbm-plat-h { max-width: 720px; margin: clamp(72px, 10vw, 116px) 0 36px; }
|
|
.xbm-plat-h .pf-body { margin: 16px 0 20px; }
|
|
.xbm-gap { margin: 72px 0 24px; }
|
|
.xbm-spec { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
|
|
.xbm-spec a { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 40px; gap: 24px; align-items: center; min-height: 96px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); box-sizing: border-box; isolation: isolate; }
|
|
.xbm-spec a::before { content: ''; position: absolute; inset: 0 -16px; z-index: -1; border-radius: 12px; background: var(--card); clip-path: inset(0 100% 0 0 round 12px); transition: clip-path 500ms var(--ease); }
|
|
@media (hover: hover) and (pointer: fine) { .xbm-spec a:hover::before { clip-path: inset(0 0 0 0 round 12px); } }
|
|
.xbm-spec a:active { transform: translateY(1px); }
|
|
.xbm-spec b { font-size: 32px; font-weight: 497; line-height: 1.05; letter-spacing: -.02em; font-feature-settings: 'tnum'; }
|
|
.xbm-spec span { font-size: 17px; font-weight: 500; line-height: 1.4; }
|
|
.xbm-spec small { display: block; margin-top: 4px; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--soft); }
|
|
.xbm-spec i { justify-self: end; font-style: normal; font-size: 21px; color: var(--faint); transition: transform 300ms var(--ease), color 300ms; }
|
|
@media (hover: hover) { .xbm-spec a:hover i { transform: translateX(4px); color: var(--ink); } }
|
|
|
|
/* ---------- 10. methods ---------- */
|
|
.xbm-meth-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 27px 44px; align-items: start; }
|
|
.xbm-laws { display: grid; grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; }
|
|
.xbm-laws li { display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); }
|
|
.xbm-laws span { font-size: 13px; color: var(--faint); padding-top: 3px; }
|
|
.xbm-laws p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--soft); }
|
|
.xbm-laws b { display: block; margin-bottom: 4px; font-size: 17px; font-weight: 606; color: var(--ink); letter-spacing: -.01em; }
|
|
.xbm-laws a { color: var(--ink); text-underline-offset: 3px; }
|
|
.xbm-cmd p { margin: 0 0 12px; font-size: 16px; color: var(--soft); }
|
|
.xbm-cmd-cb { max-width: 100%; }
|
|
.xbm-cmd-cb .x-codeblock-h { min-height: 56px; }
|
|
.xbm-cmd-cb .x-copy { height: 44px; padding: 0 18px; font-size: 14px; }
|
|
.xbm-cmd-cb pre { font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; } /* the whole command shows, wrapped; Copy copies it exactly */
|
|
.xbm-cmd-l { display: flex; align-items: center; gap: 12px; padding: 18px 18px 18px 22px; border-radius: 16px; background: var(--ink); color: #fafafa; overflow-x: auto; box-shadow: 0 40px 80px -48px rgba(0, 0, 0, .5); }
|
|
.xbm-cmd-l code { flex: 1; font: 400 14px/1.5 var(--mono); white-space: nowrap; }
|
|
.xbm-copy { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fafafa; font: 500 13px/1 var(--sans); cursor: pointer; }
|
|
@media (hover: hover) { .xbm-copy:hover { background: rgba(255, 255, 255, .1); } }
|
|
.xbm-papers { margin-top: 72px; }
|
|
.xbm-papers .pf-body { margin: 14px 0 12px; }
|
|
.xbm-papers a { color: var(--ink); }
|
|
.xbm-papers .xbm-lbl { display: block; margin-bottom: 18px; }
|
|
.xbm-plist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
|
|
.xbm-plist a { display: grid; grid-template-columns: 34px 1fr 20px; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
|
|
@media (hover: hover) { .xbm-plist a:hover b { text-decoration: underline; text-underline-offset: 3px; } }
|
|
.xbm-plist .x-mono { font-size: 13px; color: var(--faint); padding-top: 3px; }
|
|
.xbm-plist b { display: block; font-size: 16px; font-weight: 497; letter-spacing: -.01em; line-height: 1.35; }
|
|
.xbm-plist small { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--soft); }
|
|
.xbm-plist i { font-style: normal; color: var(--faint); }
|
|
|
|
/* ---------- 11. shelf ---------- */
|
|
.xbm-shelf { border-top: 1px solid var(--line); }
|
|
.xbm-shelf-h { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 27px 44px; align-items: end; margin-bottom: 48px; }
|
|
.xbm-views { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 14px; }
|
|
.xbm-views a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--card); font-size: 14px; color: var(--ink); text-decoration: none; transition: background 150ms; }
|
|
@media (hover: hover) { .xbm-views a:hover { background: #e9e9e9; } }
|
|
.xbm-find { display: flex; gap: 10px; }
|
|
.xbm-search { flex: 1; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); color: var(--faint); }
|
|
.xbm-search:focus-within { border-color: var(--ink); color: var(--ink); }
|
|
.xbm-search input { flex: 1; min-width: 0; border: 0; outline: none; font: 400 16px/1 var(--sans); color: var(--ink); background: none; }
|
|
.xbm-fbtn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: 500 16px/1 var(--sans); color: var(--ink); cursor: pointer; }
|
|
@media (hover: hover) { .xbm-fbtn.on, .xbm-fbtn:hover { border-color: var(--ink); } }
|
|
.xbm-fbtn b { display: grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--acc); color: #fff; font-size: 13px; }
|
|
.xbm-facets { overflow: hidden; }
|
|
.xbm-facets-in { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px 28px; padding: 20px 0 6px; }
|
|
.xbm-fg p { margin: 0 0 8px; font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
|
|
.xbm-fg div { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
.xbm-fg button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 13px/1.2 var(--sans); color: var(--ink); cursor: pointer; text-align: left; transition: background 150ms, color 150ms, border-color 150ms; }
|
|
.xbm-fg button span { font-size: 13px; color: var(--faint); }
|
|
@media (hover: hover) { .xbm-fg button:hover { border-color: rgba(0, 0, 0, .25); } }
|
|
.xbm-fg button[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
|
|
.xbm-fg button[aria-pressed='true'] span { color: #a3a3a3; }
|
|
.xbm-more { align-self: center; font-size: 13px; color: var(--faint); padding: 0 4px; }
|
|
.xbm-count { display: flex; align-items: center; gap: 8px; margin: 20px 0 10px; font-size: 14px; color: var(--soft); }
|
|
.xbm-count button { border: 0; background: none; font: 500 14px/1 var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px; }
|
|
.xbm-shelf-l { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
|
|
.xbm-sr { display: grid; grid-template-columns: 30px minmax(0, 1fr) 210px 92px 150px; align-items: center; gap: 16px; padding: 14px 6px 14px 0; border-bottom: 1px solid var(--line); background: #fff; transition: background 150ms; }
|
|
@media (hover: hover) { .xbm-sr:hover, .xbm-sr.on { background: #fafafa; } }
|
|
.xbm-chk { position: relative; display: grid; place-items: center; width: 30px; height: 30px; cursor: pointer; }
|
|
.xbm-chk input { position: absolute; inset: -7px; opacity: 0; margin: 0; cursor: pointer; }
|
|
.xbm-chk i { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid rgba(0, 0, 0, .25); transition: background 150ms, border-color 150ms; }
|
|
.xbm-chk input:checked + i { background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--acc); }
|
|
.xbm-chk input:focus-visible + i { outline: 2px solid var(--acc); outline-offset: 2px; }
|
|
.xbm-sr-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
|
|
.xbm-sr-t a { font-size: 14px; font-weight: 500; color: var(--soft); text-decoration: none; }
|
|
@media (hover: hover) { .xbm-sr-t a:hover { text-decoration: underline; text-underline-offset: 3px; } }
|
|
.xbm-sr-s { font-size: 16px; font-weight: 497; color: var(--ink); letter-spacing: -.01em; }
|
|
.xbm-vs { color: var(--faint); }
|
|
.xbm-sr-t small { font: 400 13px/1.4 var(--mono); color: var(--faint); }
|
|
.xbm-sr-v { display: flex; flex-direction: column; gap: 3px; text-align: right; }
|
|
.xbm-sr-v b { font-size: 16px; font-weight: 606; }
|
|
.xbm-sr-v small { font-size: 13px; color: var(--faint); }
|
|
.xbm-sr-d { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
|
|
.xbm-sr-d small { font-size: 13px; color: var(--faint); }
|
|
.xbm-empty { padding: 36px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
|
|
.xbm-empty p { margin: 0; max-width: 62ch; font-size: 16px; line-height: 1.55; color: var(--soft); }
|
|
.xbm-empty b { color: var(--ink); }
|
|
.xbm-showall { margin-top: 20px; }
|
|
.xbm-cmp { position: relative; margin-top: 18px; padding: 16px 18px; border-radius: 20px; background: var(--ink); color: #fafafa; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
|
|
.xbm-cmp-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 10px; font-size: 14px; }
|
|
.xbm-cmp-h span { color: #a3a3a3; }
|
|
.xbm-cmp-h button { margin-left: auto; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: none; color: #fafafa; font: 500 13px/1 var(--sans); cursor: pointer; }
|
|
.xbm-cmp ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
|
|
.xbm-cmp li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px; color: #d4d4d4; }
|
|
.xbm-cmp .xbm-bar { background: rgba(255, 255, 255, .1); }
|
|
.xbm-cmp .xbm-bar.acc b { background: #fafafa; }
|
|
.xbm-cmp li b { font-size: 14px; }
|
|
.xbm-index { margin-top: clamp(64px, 7vw, 112px); }
|
|
.xbm-index-g { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
|
|
.xbm-ix-h { display: flex; flex-direction: column; gap: 4px; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
|
|
.xbm-ix-h a { font-size: 17px; font-weight: 606; color: var(--ink); text-decoration: none; }
|
|
@media (hover: hover) { .xbm-ix-h a:hover { text-decoration: underline; text-underline-offset: 3px; } }
|
|
.xbm-ix-h small { font-size: 13px; color: var(--faint); }
|
|
.xbm-ix ul { list-style: none; margin: 0; padding: 0; }
|
|
.xbm-ix li a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; font-size: 14px; line-height: 1.35; color: var(--soft); text-decoration: none; transition: color 150ms; }
|
|
@media (hover: hover) { .xbm-ix li a:hover { color: var(--ink); } }
|
|
.xbm-ix li i { font-style: normal; opacity: 0; transform: translateX(-4px); transition: opacity 150ms, transform 300ms var(--ease); }
|
|
@media (hover: hover) { .xbm-ix li a:hover i { opacity: 1; transform: none; } }
|
|
|
|
/* focus: a ring on every stop */
|
|
.xbm :focus-visible, .xbm-in :focus-visible { outline: 2px solid #0a0a0a; outline-offset: 3px; border-radius: 6px; }
|
|
.xbm-zenroom :focus-visible, .xbm-close :focus-visible { outline-color: #fafafa; }
|
|
|
|
/* every press answers */
|
|
.xbm-seg button, .xbm-seg-out, .xbm-tools button, .xbm-rail-l a, .xbm-jump > button, .xbm-race-tabs button, .xbm-ev-tabs button, .xbm-all, .xbm-views a, .xbm-fg button, .xbm-fbtn, .xbm-copy, .xbm-count button, .xbm-dial-ticks button, .xbm-cmp-h button { transition: transform 90ms var(--ease), color 150ms, border-color 150ms, background-color 150ms; }
|
|
.xbm-seg button:active, .xbm-seg-out:active, .xbm-tools button:active, .xbm-rail-l a:active, .xbm-jump > button:active, .xbm-race-tabs button:active, .xbm-ev-tabs button:active, .xbm-all:active, .xbm-views a:active, .xbm-fg button:active, .xbm-fbtn:active, .xbm-copy:active, .xbm-count button:active, .xbm-dial-ticks button:active, .xbm-cmp-h button:active, .xbm-mine:active i, .xbm-chk:active i { transform: scale(.98); }
|
|
.xbm-tile:active, .xbm-pp:active, .xbm-graph-c:active, .xbm-zlink:active, .xbm-plist a:active, .xbm-ix li a:active, .xbm-h-fig:active, .xbm-plat-fig:active { transform: translateY(1px); }
|
|
@media (hover: hover) { .xbm-tools button:hover svg { transform: translateY(1px); } }
|
|
@media (hover: hover) { .xbm-seg-out:hover, .xbm-views a:hover { transform: translateY(-1px); } }
|
|
.xbm-plist a i, .xbm-plat-fig > b { transition: transform 300ms var(--ease); }
|
|
@media (hover: hover) { .xbm-plist a:hover i { transform: translate(2px, -2px); color: var(--ink); } }
|
|
@media (hover: hover) { .xbm-plat-fig:hover > b { transform: translateX(6px); } }
|
|
|
|
/* every hover answers with more than colour */
|
|
.xbm-seg button span, .xbm-race-tabs button span, .xbm-dial-ticks button, .xbm-jump > button svg, .xbm-sr-s, .xbm-jump-p a span, .xbm-mine i, .xbm-chk i { transition: transform 150ms var(--ease), color 150ms, background-color 150ms, border-color 150ms; }
|
|
@media (hover: hover) { .xbm-seg button:hover span, .xbm-race-tabs button:hover span { transform: translateY(-1px); } }
|
|
@media (hover: hover) { .xbm-jump > button:hover svg { transform: scale(1.12); } }
|
|
@media (hover: hover) { .xbm-race-tabs button:hover, .xbm-ev-tabs button:hover, .xbm-fg button:hover, .xbm-fbtn:hover, .xbm-copy:hover, .xbm-all:hover, .xbm-cmp-h button:hover, .xbm-count button:hover, .xbm-dial-ticks button:hover { transform: translateY(-1px); } }
|
|
@media (hover: hover) { .xbm-mine:hover i, .xbm-chk:hover i { transform: scale(1.08); border-color: rgba(0, 0, 0, .5); } }
|
|
@media (hover: hover) { .xbm-sr:hover .xbm-sr-s { transform: translateX(4px); } }
|
|
@media (hover: hover) { .xbm-jump-p a:hover span { transform: translateX(2px); } }
|
|
.xbm-rail-l a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform 300ms var(--ease); }
|
|
@media (hover: hover) { .xbm-rail-l a:hover:not([aria-current])::after { transform: scaleX(1); } }
|
|
.xbm-src a, .xbm-duel-l a, .xbm-duel-d a, .xbm-run, .xbm-srcl a, .xbm-runl a, .xbm-laws a, .xbm-papers .pf-body a, .xbm-paper a { text-underline-offset: 3px; transition: text-underline-offset 150ms var(--ease), color 150ms, text-decoration-color 150ms; }
|
|
@media (hover: hover) { .xbm-src a:hover, .xbm-duel-l a:hover, .xbm-duel-d a:hover, .xbm-run:hover, .xbm-srcl a:hover, .xbm-runl a:hover, .xbm-laws a:hover, .xbm-papers .pf-body a:hover, .xbm-paper a:hover { text-underline-offset: 6px; text-decoration-color: currentColor; } }
|
|
|
|
/* ---------- 12. the close ---------- */
|
|
.xbm-close { color: #fafafa; padding: clamp(72px, 11vw, 188px) 0; }
|
|
.xbm-close-g { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: 27px 44px; align-items: end; }
|
|
.xbm-close .pf-display { color: #fafafa; }
|
|
.xbm-close .pf-btn.solid { background: #fafafa; color: #0a0a0a; border-color: #fafafa; }
|
|
@media (hover: hover) { .xbm-close .pf-btn.solid:hover { background: #fff; } }
|
|
.xbm-close-n { margin: 20px 0 0; font-size: 16px; color: #a3a3a3; }
|
|
.xbm-close-n a { color: #fafafa; text-underline-offset: 3px; transition: text-underline-offset 150ms var(--ease); }
|
|
@media (hover: hover) { .xbm-close-n a:hover { text-underline-offset: 6px; } }
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.xbm-pill i, .xbm-run-b:disabled svg { animation: none; }
|
|
.xbm-stack-i { transition: opacity .01s; transform: none; }
|
|
}
|
|
|
|
/* ---------- phone ---------- */
|
|
@media (max-width: 900px) {
|
|
.xbm-stage.run, .xbm-stage.flat { height: auto; padding: 88px 0 24px; }
|
|
.xbm-stage.run .xbm-stage-stick, .xbm-stage.flat .xbm-stage-stick { position: static; height: auto; overflow: visible; }
|
|
.xbm-stage.run .xbm-stage-head, .xbm-stage.flat .xbm-stage-head { position: static; opacity: 1 !important; transform: none !important; }
|
|
.xbm-stage-hgrid { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 22px; }
|
|
.xbm-lede { font-size: 17px; }
|
|
.xbm-stage.run .xbm-stage-grid, .xbm-stage.flat .xbm-stage-grid { display: flex; flex-direction: column; gap: 32px; height: auto; margin-top: 48px; padding-top: 0; }
|
|
.xbm-stage-slot { order: -1; }
|
|
.xbm-stage-obj, .xbm-stage.run:not([data-ready]) .xbm-stage-obj { opacity: 1; padding: 14px 12px 8px; }
|
|
.xbm-stage-cap { opacity: 1 !important; transform: none !important; padding: 0; }
|
|
.xbm-figs { padding: 72px 0; }
|
|
.xbm-fig { grid-template-columns: minmax(0, 1fr) 24px; gap: 14px; padding: 32px 0; }
|
|
.xbm-fig-t { grid-column: 1 / -1; grid-row: 2; }
|
|
.xbm-fig i { grid-column: 2; grid-row: 1; }
|
|
.xbm-fig-v { font-size: 44px; }
|
|
.xbm-rail-in { height: 52px; gap: 8px; }
|
|
.xbm-jump-t, .xbm-jump kbd { display: none; }
|
|
.xbm-jump > button { width: 44px; height: 44px; justify-content: center; padding: 0; }
|
|
.xbm-jump-p { position: fixed; left: 12px; right: 12px; top: 124px; width: auto; }
|
|
.xbm-rail-l a { padding: 12px; }
|
|
.xbm-close-g, .xbm-kt, .xbm-kt.two, .xbm-pps.mem, .xbm-enso-g, .xbm-kai-g, .xbm-board-head, .xbm-h-top, .xbm-two, .xbm-race-top, .xbm-plat-top, .xbm-meth-g, .xbm-shelf-h { grid-template-columns: minmax(0, 1fr); }
|
|
.xbm-enso-obj { padding: 14px 12px 10px; margin-inline: -4px; }
|
|
.xbm-obj-t { flex-basis: 100%; }
|
|
.xbm-tools { margin-left: 0; }
|
|
.xbm-ctl > .xbm-lbl { flex-basis: 100%; margin-top: 4px; }
|
|
.xbm-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
|
|
.xbm-tile { padding: 14px; }
|
|
.xbm-duel-h { display: none; }
|
|
.xbm-duel { grid-template-columns: minmax(0, 1fr); gap: 14px; }
|
|
.xbm-duel-l, .xbm-duel-v { padding-left: 42px; }
|
|
.xbm-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 14px 0; }
|
|
.xbm-row-bars { grid-column: 1 / -1; order: 3; }
|
|
.xbm-row-lead { order: 2; }
|
|
.xbm-win { grid-column: 1 / -1; order: 4; justify-content: flex-start; }
|
|
.xbm-rows.table .xbm-row-bars { grid-template-columns: 30px 1fr 30px 1fr; }
|
|
.xbm-big2 div { padding: 16px; }
|
|
.xbm-yn li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding: 20px 0; }
|
|
.xbm-yn-t { grid-column: 1 / -1; }
|
|
.xbm-tr-r { grid-template-columns: 78px minmax(0, 1fr) 124px; gap: 8px; }
|
|
.xbm-tr-r b { font-size: 13px; }
|
|
.xbm-vis-pp, .xbm-vis-tools, .xbm-hw, .xbm-spds { grid-template-columns: minmax(0, 1fr); }
|
|
.xbm-pr { grid-template-columns: 36px minmax(0, 1fr) 104px; }
|
|
.xbm-pr b { font-size: 16px; }
|
|
.xbm-hw { padding: 22px; }
|
|
.xbm-dial-ticks button { font-size: 13px; min-width: 0; padding: 0 2px; }
|
|
.xbm-lane-f { margin-left: 0; width: 100%; }
|
|
.xbm-plat-fig { grid-template-columns: minmax(0, 1fr); gap: 12px; }
|
|
.xbm-bytes { margin: 24px 0 0; }
|
|
.xbm-spec a { grid-template-columns: minmax(0, 1fr) 24px; gap: 8px 12px; min-height: 0; padding: 22px 0; }
|
|
.xbm-spec span { grid-column: 1 / -1; grid-row: 2; font-size: 16px; }
|
|
.xbm-spec small { font-size: 14px; }
|
|
.xbm-pill { font-size: 13px; }
|
|
.xbm-sr { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 6px 10px; padding: 14px 0; }
|
|
.xbm-sr-v { grid-column: 2; text-align: left; flex-direction: row; gap: 10px; align-items: baseline; flex-wrap: wrap; }
|
|
.xbm-sr .xbm-win { grid-column: 3; grid-row: 1; align-self: start; }
|
|
.xbm-sr-d { grid-column: 2 / -1; flex-direction: row; gap: 10px; flex-wrap: wrap; }
|
|
.xbm-index-g { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
|
|
.xbm-sys-head { flex-direction: column; align-items: flex-start; }
|
|
.xbm-note, .xbm-pp-f, .xbm-spd-f, .xbm-tag, .xbm-sr-t small, .xbm-sr-d small, .xbm-sr-v small, .xbm-who, .xbm-lbl, .xbm-tile-t, .xbm-spd li span, .xbm-hw li span, .xbm-vis-tools small, .xbm-duel-d, .xbm-runl, .xbm-srcl a, .xbm-ix-h small, .xbm-fg button span, .xbm-fg p, .xbm-dial-k, .xbm-dial-x span, .xbm-tools button, .xbm-mb span, .xbm-b477-l, .xbm-lb-h, .xbm-cap, .xbm-pill, .xbm-langs span, .xbm-cmp li, .xbm-cmp li b, .xbm-vis-h, .xbm-duel-n, .xbm-row-t em, .xbm-row-t small, .xbm-sr-t a, .xbm-views a, .xbm-ix li a, .xbm-row-bars b, .xbm-lane-f, .xbm-lane-d, .xbm-pp li span, .xbm-pp li b, .xbm-badge, .xbm-graph-c small, .xbm-langs b, .xbm-vt-r { font-size: 14px; }
|
|
}
|
|
@media (max-width: 520px) {
|
|
.xbm-index-g { grid-template-columns: minmax(0, 1fr); }
|
|
.xbm-cmp li { grid-template-columns: minmax(0, 1fr) auto; }
|
|
.xbm-cmp li .xbm-bar { grid-column: 1 / -1; grid-row: 2; }
|
|
}
|
|
/* phone: chart type set for the small screen; the record band is taller for wrapped lines */
|
|
@media (max-width: 900px) {
|
|
.xbm-sc .xbm-tick, .xbm-sc .xbm-axl { font-size: 19px; }
|
|
.xbm-sc .xbm-lab { font-size: 19px; }
|
|
.xbm-pt.router .xbm-lab { font-size: 21px; }
|
|
.xbm-enso-obj .xbm-sc .xbm-tick, .xbm-enso-obj .xbm-sc .xbm-axl, .xbm-enso-obj .xbm-sc .xbm-lab { font-size: 26px; }
|
|
.xbm-sc { padding-bottom: 132px; }
|
|
}
|
|
@media (max-width: 900px) { .xbm-enso-obj .xbm-sc { padding-bottom: 92px; } }
|
|
|
|
/* the reading marker that walks a visual's rows (one quiet mover a screen): a band that cross-fades in place */
|
|
.xbm .xbm-w { position: relative; isolation: isolate; }
|
|
.xbm .xbm-w::before { content: ''; position: absolute; inset: -6px -14px; z-index: -1; border-radius: 12px; background: #fff; opacity: 0; transition: opacity 300ms var(--ease); pointer-events: none; }
|
|
.xbm .xbm-w.lit::before { opacity: 1; }
|
|
.xbm-yn .xbm-w::before { inset: 4px -16px; }
|
|
.xbm-pp .xbm-w::before, .xbm-rows .xbm-w::before { inset: -4px -10px; background: #f5f5f5; }
|
|
.xbm-rows .xbm-w::before { inset: 2px -12px; }
|
|
.xbm-vis-tools .xbm-w::before { inset: 0; border-radius: 24px; background: none; box-shadow: inset 0 0 0 1.5px #0a0a0a; }
|
|
.xbm-zen .xbm-w::before { inset: -6px -10px; background: rgba(255, 255, 255, .08); }
|
|
|
|
/* ---------- folds: the long lists show their head, the rest is one press away (every row stays in the page) ---------- */
|
|
.xbm-tiles:not(.all) > li:nth-child(n+5), .xbm-rows:not(.all) > li:nth-child(n+6), .xbm-shelf-l:not(.all) > li:nth-child(n+7) { display: none; }
|
|
.xbm-fold { justify-self: start; align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 20px; padding: 0 16px 0 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 500 15px/1 var(--mono); cursor: pointer; transition: transform 90ms var(--ease), border-color 150ms; }
|
|
.xbm-fold i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform 450ms var(--ease); }
|
|
.xbm-fold[aria-expanded='true'] i { transform: rotate(45deg); }
|
|
@media (hover: hover) { .xbm-fold:hover { border-color: rgba(0, 0, 0, .3); } .xbm-fold:hover i { transform: rotate(90deg); } .xbm-fold[aria-expanded='true']:hover i { transform: rotate(135deg); } }
|
|
.xbm-fold:active { transform: scale(.98); }
|
|
.xbm-kai-n { display: block; border: 0; padding: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
|
|
.xbm-kai-n:active { transform: scale(.98); }
|
|
.xbm-ix-fold { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 56px; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); text-align: left; cursor: pointer; }
|
|
.xbm-ix-t { margin: 0; }
|
|
.xbm-ix-fold { font: inherit; letter-spacing: inherit; }
|
|
.xbm-ix-fold:active { transform: translateY(1px); }
|
|
.xbm-ix-fold i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e8e8ed; transition: transform 450ms var(--ease); }
|
|
.xbm-ix-fold[aria-expanded='true'] i { transform: rotate(45deg); }
|
|
.xbm-ix-wrap { overflow: hidden; }
|
|
.xbm-ix-wrap .xbm-index-g { padding-bottom: 8px; }
|
|
|
|
/* phone: side-by-side panels become a swipe rail (snap, peeking the next one) instead of a long stack */
|
|
@media (max-width: 900px) {
|
|
.xbm-vis-pp, .xbm-vis-tools, .xbm-pps.mem, .xbm-graph { display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: -16px; padding: 8px 16px 12px; scroll-padding-inline: 16px; }
|
|
.xbm-vis-pp::-webkit-scrollbar, .xbm-vis-tools::-webkit-scrollbar, .xbm-pps.mem::-webkit-scrollbar, .xbm-graph::-webkit-scrollbar { display: none; }
|
|
.xbm-pps.mem .xbm-pps-col { display: contents; }
|
|
.xbm-spds { display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: -16px; padding: 8px 16px 12px; }
|
|
.xbm-spds::-webkit-scrollbar, .xbm-race-tabs::-webkit-scrollbar { display: none; }
|
|
.xbm-spds > * { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; }
|
|
.xbm-race-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px; }
|
|
.xbm-race-tabs button { flex: none; white-space: nowrap; }
|
|
.xbm-vis-pp > *, .xbm-vis-tools > *, .xbm-pps.mem .xbm-pp, .xbm-graph > * { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; margin: 0 !important; }
|
|
}
|
|
|
|
/* ---------- the (+) sheets: fixed to the viewport; closed they are hidden and inert, so they take no focus, no scroll and cast no shadow ---------- */
|
|
.xbm-sh { position: fixed; inset: 0; z-index: var(--x-z-sheet, 985); overflow: hidden; visibility: hidden; pointer-events: none; contain: layout paint; transition: visibility 0s linear .45s; }
|
|
.xbm-sh[data-open='true'] { visibility: visible; pointer-events: auto; transition: none; }
|
|
.xbm-sh-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .34); opacity: 0; transition: opacity .4s cubic-bezier(.4, 0, .2, 1); }
|
|
.xbm-sh[data-open='true'] .xbm-sh-scrim { opacity: 1; }
|
|
.xbm-sh-panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(640px, calc(100vw - 24px)); display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: 28px; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .45); transform: translate3d(calc(100% + 24px), 0, 0); transition: transform .4s cubic-bezier(.16, 1, .3, 1); overflow: hidden; }
|
|
.xbm-sh.wide .xbm-sh-panel { width: min(1040px, calc(100vw - 24px)); }
|
|
.xbm-sh[data-open='true'] .xbm-sh-panel { transform: none; transition-duration: .5s; }
|
|
.xbm-sh-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 32px 32px 20px; border-bottom: 1px solid rgba(0, 0, 0, .1); }
|
|
.xbm-sh-top .pf-title { margin: 0; }
|
|
.xbm-sh-cap { margin: 10px 0 0; }
|
|
.xbm-sh-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #f0f0f2; color: var(--ink); cursor: pointer; transition: background-color .25s, transform .1s var(--ease); }
|
|
@media (hover: hover) { .xbm-sh-x:hover { background: #e4e4e7; } }
|
|
.xbm-sh-x:active { transform: scale(.94); }
|
|
.xbm-sh-x:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
|
|
.xbm-sh-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 24px 32px 40px; font-size: 17px; line-height: 1.6; color: #525252; }
|
|
.xbm-sh-body p { margin: 0 0 14px; }
|
|
.xbm-sh-body a { color: var(--ink); }
|
|
.xbm-sh-body .xbm-tw, .xbm-sh-body .x-table-wrap { max-width: 100%; overflow-x: auto; }
|
|
.xbm-sh-body .xbm-dt .x-table td { white-space: normal; min-width: 8ch; }
|
|
@media (max-width: 900px) {
|
|
.xbm-sh-panel, .xbm-sh.wide .xbm-sh-panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 90svh; border-radius: 28px 28px 0 0; transform: translate3d(0, calc(100% + 24px), 0); }
|
|
.xbm-sh-panel::before { content: ''; position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 5px; background: rgba(0, 0, 0, .16); }
|
|
.xbm-sh-top { padding: 28px 20px 16px; }
|
|
.xbm-sh-body { padding: 20px 20px 36px; font-size: 16px; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) { .xbm-sh-panel, .xbm-sh-scrim { transition-duration: .01s !important; } .xbm-sh { transition-delay: .01s; } }
|
|
|
|
/* ---------- hero: the statement, then the race (no sticky stage) ---------- */
|
|
.xbm-hero { padding: clamp(64px, 6vw, 88px) 0 clamp(72px, 8vw, 120px); }
|
|
.xbm-trk .xbm-lane { padding: 12px 16px; }
|
|
.xbm-trk .xbm-lane-bar { margin: 10px 0 2px; }
|
|
.xbm-trk .xbm-arena-h { margin-bottom: 14px; }
|
|
.xbm-hero .xbm-stage-hgrid { margin-top: 0; }
|
|
.xbm-front-s .xbm-stage-grid { align-items: center; }
|
|
|
|
/* ---------- the signature: the live race ---------- */
|
|
.xbm-trk { margin-top: clamp(32px, 4vw, 48px); }
|
|
.xbm-trk .xbm-race-tabs { margin: 0 0 14px; }
|
|
.xbm-trk .xbm-race { margin-top: 0; }
|
|
.xbm-trk .xbm-race-top { margin-bottom: 8px; }
|
|
.xbm-trk-a { min-height: 0; }
|
|
.xbm-trk-a .xbm-lane-f strong { font-variant-numeric: tabular-nums; }
|
|
.xbm-trk-a .xbm-spd-f { margin: 12px 0 0; }
|
|
.xbm-trk-ticks { display: flex; flex-wrap: wrap; gap: 2px 4px; margin: 8px 0 0; }
|
|
.xbm-trk-ticks button { min-width: 44px; min-height: 40px; padding: 0 8px; border-radius: 999px; border: 1px solid transparent; color: var(--soft); }
|
|
.xbm-trk-ticks li:first-child button, .xbm-trk-ticks li:last-child button { min-width: 44px; padding: 0 8px; text-align: center; }
|
|
.xbm-trk-ticks button.on { color: var(--ink); border-color: var(--ink); }
|
|
@media (hover: hover) { .xbm-trk-ticks button:hover { color: var(--ink); } }
|
|
.xbm-trk-ticks button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
|
|
|
|
/* ---------- plain chapters (Kai beyond the suites, Zen 6): copy beside its visual, one after another ---------- */
|
|
.xbm-chs .pf-wrap > .xbm-ch + .xbm-ch { margin-top: clamp(72px, 9vw, 128px); }
|
|
.xbm-ch { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
|
|
.xbm-ch.flip .xbm-ch-t { order: 2; }
|
|
.xbm-ch-t > * + * { margin-top: 20px; }
|
|
.xbm-ch-t .pf-head { margin: 0; }
|
|
.xbm-ch-cap { margin-top: 16px; }
|
|
.xbm-zenroom { background: #000; color: #fafafa; }
|
|
.xbm-zen .pf-head, .xbm-zen .pf-moment { color: #fafafa; }
|
|
.xbm-close { background: #0a0a0a; }
|
|
|
|
@media (max-width: 900px) {
|
|
.xbm-hero { padding-top: 88px; }
|
|
.xbm-front-s .xbm-stage-grid { display: flex; flex-direction: column; gap: 32px; }
|
|
.xbm-front-s .xbm-stage-slot { order: -1; }
|
|
.xbm-ch, .xbm-ch.flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
|
|
.xbm-ch.flip .xbm-ch-t { order: 0; }
|
|
.xbm-trk .xbm-race-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px; }
|
|
.xbm-trk-a .xbm-lane-f { margin-left: 0; }
|
|
}
|
|
|
|
/* 8 Nov (Ready pass): the dial's line for each length shares one grid cell, so stepping never moves the page (phone CLS) */
|
|
.xbm-dial-sb { display: grid; }
|
|
.xbm-dial-sb > .xbm-dial-s { grid-area: 1 / 1; visibility: hidden; }
|
|
.xbm-dial-sb > .xbm-dial-s.on { visibility: visible; }
|
|
.xbm-dial-x b { min-height: 2.4em; }
|
|
@media (max-width: 600px) { .xbm-dial-x b { min-height: 0; } .xbm-dial-x { grid-template-columns: minmax(0, 1fr); gap: 14px; } .xbm-dial-x b { font-size: 18px; white-space: nowrap; } }
|
|
@media (max-width: 900px) { .xbm-rail-l a { padding-block: 15px; } } /* 44px rail tabs on phones */
|
|
/* an open sheet always slides fully in, wide ones too (the phone rule above had the same weight and came later) */
|
|
.xbm-sh[data-open='true'] .xbm-sh-panel, .xbm-sh.wide[data-open='true'] .xbm-sh-panel { transform: none; }
|
|
|
|
/* ---------- dark (docs/DARK-MODE.md): the page's deck greys become Hanzo's dark tokens; the Zen room, the hardware and
|
|
dial panels and the close stay as they are (black in both modes). Light is untouched: every rule is under
|
|
html:not(.light). ---------- */
|
|
html:not(.light) .xbm, html:not(.light) .xbm-in { --j: var(--neutral-600); --acc: var(--foreground); --soft: var(--muted-foreground); --faint: var(--text-tertiary); --card: var(--muted); --line: var(--border); }
|
|
html:not(.light) .xbm :is(.pf-lede, .pf-body):not(.xbm-zen *) { color: var(--muted-foreground); }
|
|
html:not(.light) .xbm .pf-plus.ghost i { background: var(--secondary); }
|
|
html:not(.light) .xbm .pf-btn { border-color: var(--border-control); }
|
|
html:not(.light) .xbm .pf-btn:hover { border-color: var(--border-strong); }
|
|
html:not(.light) .xbm .pf-btn.solid { border-color: var(--ink); }
|
|
html:not(.light) .xbm .pf-btn.solid:hover { background: var(--primary-hover); }
|
|
html:not(.light) .xbm-bar { background: var(--secondary); }
|
|
html:not(.light) .xbm-bar.pale b { background: var(--neutral-700); }
|
|
html:not(.light) .xbm-seg button:is([aria-selected='true'], [aria-pressed='true']), html:not(.light) .xbm-race-tabs button[aria-selected='true'] { color: var(--x-on-ink); }
|
|
html:not(.light) .xbm-tools button, html:not(.light) .xbm-jump > button, html:not(.light) .xbm-jump-p, html:not(.light) .xbm-tile, html:not(.light) .xbm-all, html:not(.light) .xbm-ev-tabs button, html:not(.light) .xbm-pp, html:not(.light) .xbm-race-tabs button, html:not(.light) .xbm-run-b, html:not(.light) .xbm-lane, html:not(.light) .xbm-fbtn, html:not(.light) .xbm-fg button, html:not(.light) .xbm-fold { background: var(--x-raised); }
|
|
html:not(.light) .xbm-fg button[aria-pressed='true'] { background: var(--ink); color: var(--x-on-ink); }
|
|
html:not(.light) .xbm-fg button[aria-pressed='true'] span { color: var(--neutral-600); }
|
|
@media (hover: hover) {
|
|
html:not(.light) .xbm-tools button:hover, html:not(.light) .xbm-jump > button:hover, html:not(.light) .xbm-ev-tabs button:hover, html:not(.light) .xbm-race-tabs button:hover, html:not(.light) .xbm-fg button:hover, html:not(.light) .xbm-fold:hover, html:not(.light) .xbm-graph-c:hover { border-color: var(--border-strong); }
|
|
html:not(.light) .xbm-tile:hover, html:not(.light) .xbm-pp:hover { border-color: var(--border-strong); }
|
|
html:not(.light) .xbm-run-b:hover { border-color: var(--border-strong); }
|
|
html:not(.light) .xbm-views a:hover { background: var(--secondary); }
|
|
html:not(.light) .xbm-sr:hover, html:not(.light) .xbm-sr.on { background: var(--x-sunk); }
|
|
html:not(.light) .xbm-mine:hover i, html:not(.light) .xbm-chk:hover i { border-color: var(--border-selected); }
|
|
}
|
|
html:not(.light) .xbm-ev-tabs button[aria-selected='true'] { border-color: var(--border-strong); }
|
|
html:not(.light) .xbm-run-b { border-color: var(--border-control); }
|
|
html:not(.light) .xbm-key.reported::before, html:not(.light) .xbm-pt.reported circle:first-child { fill: var(--background); background: var(--background); }
|
|
html:not(.light) .xbm-grid { stroke: var(--border); }
|
|
html:not(.light) .xbm-pt circle:first-child { fill: var(--neutral-600); }
|
|
html:not(.light) .xbm-pt.f circle:first-child { fill: var(--muted-foreground); }
|
|
html:not(.light) .xbm-pt.reported circle:first-child { stroke: var(--muted-foreground); }
|
|
html:not(.light) .xbm-pt.router circle:first-child { fill: var(--acc); }
|
|
html:not(.light) .xbm-rail:not(.dark) { background: var(--bg); }
|
|
html:not(.light) .xbm-lb-r, html:not(.light) .xbm-row, html:not(.light) .xbm-sr { background: var(--bg); }
|
|
html:not(.light) .xbm-duel-d a, html:not(.light) .xbm-duel-l a { text-decoration-color: var(--white-22); }
|
|
html:not(.light) .xbm-mine i, html:not(.light) .xbm-chk i { border-color: var(--border-strong); }
|
|
html:not(.light) .xbm-badge { color: var(--x-on-ink); }
|
|
html:not(.light) .xbm-lane.mid .xbm-badge, html:not(.light) .xbm-lane.slow .xbm-badge { background: var(--secondary); }
|
|
html:not(.light) .xbm-lane-bar { background: var(--secondary); }
|
|
html:not(.light) .xbm-lane.mid .xbm-lane-bar b { background: var(--muted-foreground); }
|
|
html:not(.light) .xbm-lane.slow .xbm-lane-bar b { background: var(--neutral-600); }
|
|
html:not(.light) .xbm-mb { background: repeating-linear-gradient(0deg, transparent 0 21px, var(--border) 21px 22px), repeating-linear-gradient(90deg, transparent 0 21px, var(--border) 21px 22px); }
|
|
/* the command line and the compare tray: ink panels in light; in dark they stay dark panels on Hanzo's card */
|
|
html:not(.light) .xbm-cmd-l, html:not(.light) .xbm-cmp { background: var(--card); box-shadow: inset 0 0 0 1px var(--border); }
|
|
html:not(.light) .xbm-fbtn b { color: var(--x-on-ink); }
|
|
html:not(.light) .xbm :focus-visible, html:not(.light) .xbm-in :focus-visible { outline-color: var(--foreground); }
|
|
html:not(.light) .xbm .xbm-w::before { background: var(--x-raised); }
|
|
html:not(.light) .xbm-pp .xbm-w::before, html:not(.light) .xbm-rows .xbm-w::before { background: var(--muted); }
|
|
html:not(.light) .xbm-vis-tools .xbm-w::before { background: none; box-shadow: inset 0 0 0 1.5px var(--foreground); }
|
|
html:not(.light) .xbm-zen .xbm-w::before { background: rgba(255, 255, 255, .08); }
|
|
html:not(.light) .xbm-fold i { color: var(--x-on-ink); }
|
|
html:not(.light) .xbm-ix-fold i { background: var(--secondary); }
|
|
/* the reading sheet */
|
|
html:not(.light) .xbm-sh-panel { background: var(--x-raised); }
|
|
html:not(.light) .xbm-sh-top { border-bottom-color: var(--border); }
|
|
html:not(.light) .xbm-sh-x { background: var(--secondary); }
|
|
@media (hover: hover) { html:not(.light) .xbm-sh-x:hover { background: var(--secondary-hover); } }
|
|
html:not(.light) .xbm-sh-body { color: var(--muted-foreground); }
|
|
html:not(.light) .xbm-sh-panel::before { background: var(--border-strong); }
|
|
.xbm-figs-cta { margin-top: 24px; }
|
|
/* the selected segment/race tab carries its own ink fill in dark (same colour as the sliding pill behind it) */
|
|
html:not(.light) .xbm-seg button:is([aria-selected='true'], [aria-pressed='true']), html:not(.light) .xbm-race-tabs button[aria-selected='true'] { background: var(--ink); }
|
|
|
|
/* ===================================================================================================================
|
|
8 Nov, frames (the approved home page's bar, components/home/wow.css): every section reads in one 1470x801 frame and
|
|
opens to the rest; a buying action stands beside every result. Split headings with a hairline that draws itself, a
|
|
lit corner and Hanzo's 12px halftone per section (drifting with scroll), lifted stages with long soft shadows (a 1px
|
|
ring in dark), and two moments: the Zen 6 dark room opens like a curtain under a beam; Kai's tiles tilt in on a hinge.
|
|
CSS-only motion, scroll-driven where supported and never under reduced motion. Scoped to .xbm (this page's <main>).
|
|
=================================================================================================================== */
|
|
.xbm { --fr: min(680px, calc(100svh - 128px)); }
|
|
.xbm-sheets { display: contents; }
|
|
|
|
/* ---------- every section: a frame ---------- */
|
|
:is(.xbm, .xbm-body) > .xbm-sec { position: relative; isolation: isolate; padding-block: clamp(56px, 8.5svh, 96px); }
|
|
:is(.xbm, .xbm-body) > .xbm-sec::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none;
|
|
background: radial-gradient(circle, color-mix(in srgb, var(--ink) 15%, transparent) 1px, transparent 1.5px) 0 0 / 12px 12px;
|
|
-webkit-mask-image: radial-gradient(40% 55% at var(--hx, 100%) var(--hy, 0%), #000, transparent 72%); mask-image: radial-gradient(40% 55% at var(--hx, 100%) var(--hy, 0%), #000, transparent 72%); opacity: .9; }
|
|
:is(.xbm, .xbm-body) > .xbm-sec::after { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none;
|
|
background: radial-gradient(42% 46% at var(--lx, 18%) var(--ly, 0%), color-mix(in srgb, var(--ink) 6%, transparent), transparent 70%); }
|
|
.xbm > .xbm-hero { --hx: 100%; --hy: 0%; --lx: 8%; --ly: 10%; }
|
|
.xbm > .xbm-racesec { --hx: 0%; --hy: 100%; --lx: 70%; --ly: 30%; }
|
|
:is(.xbm, .xbm-body) > .xbm-front-s { --hx: 0%; --hy: 0%; --lx: 85%; --ly: 40%; }
|
|
:is(.xbm, .xbm-body) > .xbm-enso { --hx: 100%; --hy: 100%; --lx: 10%; }
|
|
:is(.xbm, .xbm-body) > .xbm-kai { --hx: 100%; --hy: 10%; --lx: 0%; --ly: 60%; }
|
|
:is(.xbm, .xbm-body) > .xbm-lead { --hx: 0%; --hy: 60%; --lx: 90%; --ly: 0%; }
|
|
:is(.xbm, .xbm-body) > .xbm-kaimore { --hx: 100%; --hy: 100%; --lx: 20%; --ly: 0%; }
|
|
:is(.xbm, .xbm-body) > .xbm-ktools { --hx: 0%; --hy: 0%; --lx: 80%; --ly: 80%; }
|
|
:is(.xbm, .xbm-body) > .xbm-harness { --hx: 100%; --hy: 50%; --lx: 0%; --ly: 20%; }
|
|
:is(.xbm, .xbm-body) > .xbm-plat { --hx: 0%; --hy: 100%; --lx: 60%; --ly: 0%; }
|
|
:is(.xbm, .xbm-body) > .xbm-methods { --hx: 100%; --hy: 0%; --lx: 0%; --ly: 100%; }
|
|
:is(.xbm, .xbm-body) > .xbm-shelf { --hx: 0%; --hy: 30%; --lx: 100%; --ly: 10%; border-top: 0; }
|
|
|
|
/* the split heading's type */
|
|
.xbm-sec h2.pf-head, .xbm-hero .xbm-h1 { position: relative; font-weight: 560; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
|
|
.xbm-sec h2.pf-head { max-width: 18ch; font-size: clamp(1.9rem, 2.6vw, 2.6rem); }
|
|
.xbm-sec .pf-body { font-size: 15px; line-height: 1.55; }
|
|
.xbm-sec .xbm-cap { margin-top: 14px; font-size: 12px; }
|
|
.xbm-sec .xbm-cap + .pf-body { margin-top: 14px; }
|
|
.xbm-sec .xbm-opens { margin-top: 18px; gap: 2px; }
|
|
@supports (animation-timeline: view()) {
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
:is(.xbm, .xbm-body) > .xbm-sec::before { animation: xbm-drift linear both; animation-timeline: view(); }
|
|
@keyframes xbm-drift { from { background-position: 0 60px; opacity: .2; } 45% { opacity: .9; } to { background-position: 0 -60px; opacity: .3; } }
|
|
}
|
|
}
|
|
|
|
/* the buying action beside a result */
|
|
.xbm-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 20px; }
|
|
.xbm-buy .x-btn.sm { height: 38px; padding: 0 18px; font-size: 14px; box-shadow: 0 18px 30px -22px rgba(0, 0, 0, .6); transition: transform .2s var(--ease), box-shadow .3s var(--ease), background .2s; }
|
|
@media (hover: hover) { .xbm-buy .x-btn.sm:hover { transform: translateY(-1px); box-shadow: 0 22px 34px -20px rgba(0, 0, 0, .6); } }
|
|
.xbm-buy .x-btn.sm:active { transform: scale(.98); }
|
|
.xbm-buy .x-arrow { font-size: 14px; }
|
|
.xbm-buy.dark .x-btn.solid { background: #fafafa; color: #0a0a0a; border-color: #fafafa; }
|
|
.xbm-buy.dark .x-arrow { color: #fafafa; }
|
|
.xbm-open { margin: 16px 0 0; }
|
|
|
|
/* ---------- tabs: the index above a pane (headline tabs) ---------- */
|
|
.xbm-tabs-h { display: flex; align-items: flex-end; gap: 24px; }
|
|
.xbm-tabs-l { flex: 1; min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0 24px; }
|
|
.xbm-tabs-l > button { position: relative; display: block; min-height: 44px; padding: 16px 4px 4px 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--faint); text-align: left; font: 560 clamp(1.05rem, 1.45vw, 1.4rem)/1.18 var(--sans); letter-spacing: -.02em; text-wrap: balance; cursor: pointer; transition: color .2s var(--ease); }
|
|
.xbm-tabs-l > button[aria-selected='true'] { color: var(--ink); }
|
|
@media (hover: hover) { .xbm-tabs-l > button:hover { color: var(--soft); } .xbm-tabs-l > button[aria-selected='true']:hover { color: var(--ink); } }
|
|
.xbm-tabs-l > button:active .xbm-tabs-t { transform: translateY(1px); }
|
|
.xbm-tabs-t { position: relative; display: block; }
|
|
.xbm-tabs-bg { position: absolute !important; left: 0; right: 0; top: -2px; height: 3px; border-radius: 3px; background: var(--ink); }
|
|
.xbm-pane:not([hidden]) { margin-top: clamp(22px, 3.4svh, 34px); }
|
|
.xbm-tab-k { display: block; margin-bottom: 8px; font: 500 11.5px/1.35 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); text-wrap: pretty; }
|
|
/* a pane's own title and kicker are its tab's (they stay in the page for readers, shown once) */
|
|
.xbm-tabs .xbm-ch-t > .pf-head, .xbm-tabs .xbm-ch-t > .xbm-ch-cap, .xbm-ktools .xbm-kt h2.pf-head, .xbm-h-tabs .pf-title { position: absolute !important; width: 1px; height: 1px; padding: 0 !important; margin: 0 !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
.xbm-tabs .xbm-ch-t > * + * { margin-top: 16px; }
|
|
.xbm-tabs .xbm-ch-t > .pf-head + *, .xbm-tabs .xbm-ch-t > .xbm-ch-cap + * { margin-top: 0; }
|
|
.xbm-tabs .xbm-ch { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
|
|
.xbm-tabs .xbm-ch.flip .xbm-ch-t { order: 0; }
|
|
|
|
/* ---------- 1. hero: the statement, then the scoreboard ---------- */
|
|
.xbm > .xbm-hero { padding-block: clamp(84px, 13svh, 116px) clamp(48px, 7svh, 72px); }
|
|
.xbm-hero .xbm-stage-hgrid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; }
|
|
.xbm-hero .xbm-h1 { font-size: clamp(2.5rem, 4.3vw, 4.1rem); line-height: 1; letter-spacing: -.045em; }
|
|
.xbm-hero .xbm-lede { font-size: clamp(1rem, 1.25vw, 1.2rem); max-width: 36ch; }
|
|
.xbm-hero .xbm-pill { margin-top: 14px; font-size: 12px; }
|
|
.xbm-hero .xbm-acts { margin-top: 18px; gap: 6px 22px; }
|
|
.xbm-hero .xbm-figs { padding: 0; margin-top: clamp(26px, 4.4svh, 44px); }
|
|
.xbm-figs-l { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; border-top: 0; }
|
|
.xbm-figs-l > li { display: flex; }
|
|
.xbm-fig { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; width: 100%; padding: 22px 24px 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--x-raised); box-shadow: 0 40px 80px -60px rgba(0, 0, 0, .45); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
|
|
.xbm-fig::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle, color-mix(in srgb, var(--ink) 16%, transparent) 1px, transparent 1.5px) 0 0 / 10px 10px; -webkit-mask-image: radial-gradient(70% 80% at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(70% 80% at 100% 0%, #000, transparent 70%); opacity: .55; transition: opacity .5s var(--ease); }
|
|
.xbm-figs-l > li:first-child .xbm-fig { background: radial-gradient(90% 90% at 0% 0%, color-mix(in srgb, var(--ink) 5%, transparent), transparent 70%), var(--x-raised); }
|
|
@media (hover: hover) { .xbm-fig:hover { transform: translateY(-4px); box-shadow: 0 50px 90px -56px rgba(0, 0, 0, .5); } .xbm-fig:hover::before { opacity: 1; } .xbm-fig:hover .xbm-fig-v, .xbm-fig:focus-visible .xbm-fig-v { transform: none; } }
|
|
.xbm-fig:active .xbm-fig-v { transform: none; }
|
|
.xbm-fig:active { transform: translateY(1px); }
|
|
.xbm-fig-v { font-size: clamp(2.2rem, 3.3vw, 3.1rem); font-weight: 300; letter-spacing: -.045em; }
|
|
.xbm-figs-l > li:first-child .xbm-fig-v { font-size: clamp(2.6rem, 4.2vw, 4rem); }
|
|
.xbm-fig-t b { font-size: 14.5px; }
|
|
.xbm-fig-t span { margin-top: 6px; font-size: 14px; line-height: 1.45; }
|
|
.xbm-fig i { position: absolute; top: 18px; right: 20px; font-size: 20px; }
|
|
@media (hover: hover) { .xbm-fig:hover i { transform: translate(3px, -3px); } }
|
|
.xbm-hero .xbm-figs-cta { margin-top: 16px; }
|
|
|
|
/* ---------- 2. the race: its five names beside the stage ---------- */
|
|
.xbm-racesec .xbm-trk { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 52px); align-items: start; margin-top: 0; }
|
|
.xbm-trk-side { display: flex; flex-direction: column; position: relative; }
|
|
.xbm-racesec .xbm-trk-tabs { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 2px; margin: 0; }
|
|
.xbm-racesec .xbm-trk-tabs > button { min-height: 0; padding: 12px 16px; border: 0; border-radius: 14px; background: none; text-align: left; font: 560 clamp(1rem, 1.25vw, 1.15rem)/1.25 var(--sans); letter-spacing: -.015em; color: var(--faint); }
|
|
.xbm-racesec .xbm-trk-tabs > button[aria-selected='true'] { color: var(--x-on-ink); }
|
|
.xbm-racesec .xbm-trk-tabs .xbm-race-bg { inset: 0; border-radius: 14px; }
|
|
@media (hover: hover) { .xbm-racesec .xbm-trk-tabs > button:hover:not([aria-selected='true']) { color: var(--ink); transform: none; } .xbm-racesec .xbm-trk-tabs > button:hover span { transform: translateX(3px); } }
|
|
.xbm-racesec .xbm-buy { margin-top: 22px; padding-left: 16px; }
|
|
.xbm-trk-stage { min-width: 0; }
|
|
.xbm-racesec .pf-obj.xbm-arena { padding: 20px 22px; box-shadow: 0 40px 80px -60px rgba(0, 0, 0, .45); }
|
|
.xbm-racesec .xbm-race-top { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 28px; }
|
|
.xbm-racesec .xbm-race-top .pf-head { max-width: none; font-size: 21px; }
|
|
.xbm-racesec .xbm-race-top .pf-body { margin-top: 8px; font-size: 14px; max-width: 72ch; }
|
|
.xbm-racesec .xbm-race .xbm-race-tabs { margin: 14px 0 12px; gap: 4px; }
|
|
.xbm-racesec .xbm-race .xbm-race-tabs button { min-height: 34px; padding: 0 12px; font-size: 13px; }
|
|
.xbm-racesec .xbm-race .xbm-arena { padding: 16px 18px; }
|
|
.xbm-racesec .xbm-race .xbm-arena-h { margin-bottom: 12px; }
|
|
.xbm-racesec .xbm-race .xbm-target { font-size: 16px; }
|
|
.xbm-racesec .xbm-race .xbm-run-b { height: 40px; }
|
|
.xbm-racesec .xbm-race .xbm-lane { padding: 10px 14px; }
|
|
.xbm-racesec .xbm-race .xbm-lane-bar { margin: 8px 0 6px; }
|
|
.xbm-racesec .xbm-race .xbm-lane-d { font-size: 13px; line-height: 1.4; }
|
|
.xbm-racesec .xbm-race .xbm-lane-n { font-size: 14.5px; }
|
|
.xbm-racesec .xbm-trk-a .xbm-lane { padding: 14px 18px; }
|
|
.xbm-racesec .xbm-trk-a .xbm-lane + .xbm-lane { margin-top: 10px; }
|
|
|
|
/* ---------- 3. Zen 6: the dark room (always dark), a scoreboard of three that opens its chapter ---------- */
|
|
:is(.xbm, .xbm-body) > .xbm-zen { padding-block: clamp(56px, 8svh, 88px); --hx: 50%; --hy: 0%; }
|
|
:is(.xbm, .xbm-body) > .xbm-zen::before { background: radial-gradient(circle, rgba(255, 255, 255, .22) 1px, transparent 1.5px) 0 0 / 12px 12px; -webkit-mask-image: radial-gradient(60% 50% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(60% 50% at 50% 0%, #000, transparent 75%); }
|
|
:is(.xbm, .xbm-body) > .xbm-zen::after { transform-origin: 50% 0; background: conic-gradient(from 180deg at 50% -10%, transparent 160deg, rgba(255, 255, 255, .09) 175deg, rgba(255, 255, 255, .14) 180deg, rgba(255, 255, 255, .09) 185deg, transparent 200deg); }
|
|
.xbm-zen .xbm-tabs-l { gap: 12px; }
|
|
.xbm-zen .xbm-tabs-l > button { padding: 18px 20px 20px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .02); transition: color .25s var(--ease), border-color .25s var(--ease), background-color .25s; }
|
|
.xbm-zen .xbm-tabs-l > button[aria-selected='true'] { color: #fafafa; border-color: rgba(255, 255, 255, .28); }
|
|
@media (hover: hover) { .xbm-zen .xbm-tabs-l > button:hover { color: #fafafa; border-color: rgba(255, 255, 255, .24); } }
|
|
.xbm-zen .xbm-tabs-bg { inset: -1px; top: -1px; height: auto; border-radius: 22px; background: radial-gradient(80% 120% at 0% 0%, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03) 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
|
|
.xbm-zen .xbm-tab-k { color: rgba(255, 255, 255, .5); }
|
|
.xbm-zen .xbm-tab-n { display: block; font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; }
|
|
.xbm-zen .xbm-tab-n .pf-moment { font-size: clamp(2rem, 3.3vw, 3.1rem); line-height: 1; font-weight: 220; color: inherit; }
|
|
.xbm-zen .xbm-pane .pf-lede { font-size: 17px; }
|
|
.xbm-zen .xbm-pane .pf-body { font-size: 15px; }
|
|
.xbm-zen .xbm-zlink { padding: 16px 18px; }
|
|
.xbm-zen .xbm-hw { padding: 26px; gap: 24px; box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .9); }
|
|
.xbm-zen .xbm-dial { gap: 18px; padding: 24px 28px; }
|
|
.xbm-zen .xbm-dial-x { margin: 16px 0 12px; }
|
|
.xbm-zen .xbm-spd { padding: 18px 20px; }
|
|
.xbm-zen .xbm-spd ul { gap: 9px; }
|
|
.xbm-zen .xbm-spd-t { margin-bottom: 12px; font-size: 15px; }
|
|
.xbm-zen .xbm-buy { margin-top: 22px; }
|
|
@supports (animation-timeline: view()) {
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
:is(.xbm, .xbm-body) > .xbm-zen { animation: xbm-curtain linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
|
|
@keyframes xbm-curtain { from { clip-path: inset(0 5% round 56px); } to { clip-path: inset(0 0 round 0); } }
|
|
:is(.xbm, .xbm-body) > .xbm-zen::after { animation: xbm-beam linear both; animation-timeline: view(); }
|
|
@keyframes xbm-beam { from { transform: rotate(-24deg); opacity: 0; } 40% { opacity: 1; } to { transform: rotate(24deg); opacity: .4; } }
|
|
}
|
|
}
|
|
|
|
/* ---------- 4. the GPQA frontier: the chart takes the stage, its title stands beside it ---------- */
|
|
.xbm-front-s .xbm-stage-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr); gap: clamp(28px, 3.4vw, 52px); align-items: center; }
|
|
.xbm-front-s .xbm-stage-cap { padding: 0; }
|
|
.xbm-front-s .xbm-stage-cap .pf-body { margin-top: 18px; }
|
|
.xbm-front-s .xbm-src { margin-top: 18px; font-size: 13px; gap: 4px 12px; }
|
|
.xbm-front-s .xbm-stage-obj { padding: 18px 22px 10px; box-shadow: 0 40px 80px -60px rgba(0, 0, 0, .45); }
|
|
.xbm-front-s .xbm-sc svg { max-height: calc(var(--fr) - 190px); }
|
|
|
|
/* ---------- 5. Enso ---------- */
|
|
.xbm-enso .xbm-enso-g { align-items: start; }
|
|
.xbm-enso .xbm-enso-copy .pf-head { margin-bottom: 0; }
|
|
.xbm-enso .xbm-enso-obj { padding: 18px 22px 12px; box-shadow: 0 40px 80px -60px rgba(0, 0, 0, .45); }
|
|
.xbm-enso .xbm-obj-h { padding-bottom: 12px; margin-bottom: 10px; }
|
|
.xbm-enso .xbm-sc svg { max-height: calc(var(--fr) - 260px); }
|
|
.xbm-enso .xbm-obj-f { padding-top: 4px; }
|
|
|
|
/* ---------- 6. Kai: sixteen of sixteen, the tiles tilt in on a hinge ---------- */
|
|
.xbm-kai .xbm-kai-g { align-items: start; }
|
|
.xbm-kai .xbm-kai-h { max-width: 16ch; }
|
|
.xbm-kai .xbm-kai-vis { gap: 14px; perspective: 1600px; }
|
|
.xbm-kai .xbm-kai-n { font-size: clamp(3rem, 5vw, 4.6rem); font-weight: 220; letter-spacing: -.05em; line-height: 1; }
|
|
.xbm-tiles:not(.all) > li:nth-child(n+5) { display: grid; }
|
|
.xbm-tiles:not(.all) > li:nth-child(n+9) { display: none; }
|
|
.xbm-tile { padding: 0; box-shadow: 0 30px 60px -48px rgba(0, 0, 0, .45); }
|
|
.xbm-tile-b { display: grid; gap: 8px; align-content: start; width: 100%; height: 100%; padding: 14px 15px 16px; border: 0; border-radius: 16px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; box-sizing: border-box; }
|
|
.xbm-tile-b:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
|
|
.xbm-tile-t { min-height: 2.6em; font-size: 13.5px; }
|
|
.xbm-kai .xbm-fold { margin-top: 0; }
|
|
@supports (animation-timeline: view()) {
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
.xbm-kai .xbm-tiles { transform-origin: 50% 100%; animation: xbm-tilt linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
|
|
@keyframes xbm-tilt { from { transform: rotateX(22deg) scale(.92); opacity: .35; } }
|
|
.xbm-kai .xbm-tile:nth-child(odd) { animation: xbm-tile-in linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
|
|
@keyframes xbm-tile-in { from { transform: translateY(26px); } }
|
|
}
|
|
}
|
|
|
|
/* ---------- 7. the board: its title and figure stand beside the rows ---------- */
|
|
.xbm-lead .xbm-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 0 clamp(28px, 3.6vw, 56px); align-items: start; }
|
|
.xbm-lead .xbm-board-head { display: flex; flex-direction: column; margin: 0; gap: 0; }
|
|
.xbm-lead .xbm-board-head .pf-body { margin-top: 14px; font-size: 14.5px; }
|
|
.xbm-lead .xbm-won { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
|
|
.xbm-lead .xbm-won .pf-figure { display: block; font-size: 56px; }
|
|
.xbm-lead .xbm-won-k { margin: 8px 0 4px; font-size: 13.5px; line-height: 1.5; }
|
|
.xbm-lead .xbm-won-k b { font-size: 15px; margin-bottom: 4px; }
|
|
.xbm-board-main { min-width: 0; }
|
|
.xbm-lead .xbm-ctl { gap: 8px 10px; padding: 10px 0; margin-bottom: 12px; }
|
|
.xbm-lead .xbm-ctl .xbm-lbl { font-size: 11.5px; }
|
|
.xbm-lead .xbm-seg button { min-height: 30px; padding: 0 11px; font-size: 13px; line-height: 30px; }
|
|
.xbm-lead .xbm-tools button { height: 30px; padding: 0 10px; font-size: 12.5px; }
|
|
.xbm-lead .xbm-sum { margin-bottom: 8px; font-size: 14.5px; }
|
|
.xbm-lead .xbm-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) 72px 76px; gap: 18px; padding: 10px 10px 10px 0; }
|
|
.xbm-lead .xbm-row-t b { font-size: 15px; }
|
|
.xbm-lead .xbm-row-t small { font-size: 12px; margin-top: 2px; }
|
|
.xbm-lead .xbm-row-bars { gap: 4px 10px; }
|
|
.xbm-lead .xbm-row-bars b { font-size: 13px; }
|
|
.xbm-row-a { color: var(--ink); text-decoration: none; }
|
|
.xbm-row-a b::after { content: ' →'; color: var(--faint); font-weight: 400; transition: color .15s; }
|
|
@media (hover: hover) { .xbm-row-a:hover b { text-decoration: underline; text-underline-offset: 3px; } .xbm-row-a:hover b::after { color: var(--ink); } }
|
|
.xbm-lead .xbm-fold { margin-top: 12px; }
|
|
.xbm-lead .xbm-foot { margin-top: 12px; font-size: 12.5px; gap: 4px 20px; }
|
|
.xbm-lead .xbm-board-main { padding: 6px 22px 16px; border: 1px solid var(--line); border-radius: 24px; background: var(--x-raised); box-shadow: 0 40px 80px -60px rgba(0, 0, 0, .45); }
|
|
.xbm-lead .xbm-board-main .xbm-ctl { border-top: 0; }
|
|
.xbm-lead .xbm-board-main .xbm-row, .xbm-lead .xbm-board-main .xbm-rows .xbm-w::before { background: transparent; }
|
|
.xbm-lead .xbm-rows .xbm-w.lit::before { background: var(--x-fill); }
|
|
|
|
/* ---------- 8. Kai, beyond the suites (four chapters) ---------- */
|
|
.xbm-kaimore .xbm-vis { padding: 22px 26px; box-shadow: 0 40px 80px -60px rgba(0, 0, 0, .45); }
|
|
.xbm-kaimore .xbm-yn li { padding: 16px 0; }
|
|
.xbm-kaimore .xbm-tr { gap: 18px; }
|
|
.xbm-kaimore .xbm-tr-t { margin-bottom: 6px; font-size: 15px; }
|
|
.xbm-kaimore .xbm-tr-r { margin-top: 4px; }
|
|
.xbm-kaimore .xbm-vis-k { margin: 10px 0 16px; }
|
|
.xbm-kaimore .xbm-set { padding-top: 14px; gap: 10px; }
|
|
.xbm-kaimore .xbm-pr0 { margin-top: 26px; padding-top: 20px; }
|
|
.xbm-kaimore .xbm-ch-t .pf-body { font-size: 15px; }
|
|
|
|
/* ---------- 9. Kai's tools ---------- */
|
|
.xbm-ktools .xbm-tabs-l { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-auto-flow: row; }
|
|
.xbm-ktools .xbm-kt, .xbm-ktools .xbm-kt.two { margin-top: 0; align-items: start; }
|
|
.xbm-ktools .xbm-kt .pf-body { margin-top: 0; }
|
|
.xbm-ktools .xbm-vis-pp { gap: 12px; }
|
|
.xbm-ktools .xbm-pp { padding: 20px; }
|
|
.xbm-ktools .xbm-pp ul { gap: 10px; }
|
|
.xbm-ktools .xbm-vis-tools { gap: 12px; }
|
|
.xbm-ktools .xbm-vis-tools li { gap: 8px; padding: 18px; box-shadow: 0 30px 60px -48px rgba(0, 0, 0, .4); }
|
|
|
|
/* ---------- 10. the agent harness ---------- */
|
|
.xbm-harness .xbm-h-top { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; margin-bottom: clamp(22px, 3.6svh, 36px); }
|
|
.xbm-harness .xbm-h-head { max-width: 26ch; font-size: clamp(1.7rem, 2.3vw, 2.3rem); }
|
|
.xbm-harness .xbm-h-fig { gap: 8px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 24px; background: var(--x-raised); box-shadow: 0 40px 80px -60px rgba(0, 0, 0, .45); }
|
|
.xbm-harness .xbm-h-fig .pf-moment { font-size: clamp(3rem, 5vw, 4.6rem); }
|
|
.xbm-harness .xbm-h-fig > span:last-child span { font-size: 14px; }
|
|
.xbm-harness .xbm-mem { margin-top: 0; }
|
|
.xbm-harness .xbm-mem-h { margin-bottom: 16px; }
|
|
.xbm-harness .xbm-mem-h .pf-body, .xbm-harness .xbm-two .pf-body { margin-top: 0; }
|
|
.xbm-harness .xbm-pps.mem { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
|
|
.xbm-harness .xbm-pps-col { display: contents; }
|
|
.xbm-harness .xbm-pp { padding: 18px 20px; box-shadow: 0 30px 60px -48px rgba(0, 0, 0, .4); }
|
|
.xbm-harness .xbm-pp ul { gap: 10px; }
|
|
.xbm-harness .xbm-two { margin-top: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
|
|
.xbm-harness .xbm-two .xbm-pp, .xbm-harness .xbm-graph { margin-top: 0; }
|
|
|
|
/* ---------- 11. the agent platform: a bento of three columns ---------- */
|
|
.xbm-plat .xbm-plat-g { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(24px, 3vw, 44px); align-items: start; }
|
|
.xbm-plat .xbm-plat-top { display: flex; flex-direction: column; }
|
|
.xbm-plat .xbm-plat-fig { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 22px; padding-top: 18px; }
|
|
.xbm-plat .xbm-plat-fig > b { font-size: clamp(2.6rem, 4vw, 3.8rem); }
|
|
.xbm-plat .xbm-plat-fig span span { font-size: 14px; }
|
|
.xbm-plat .xbm-bytes { width: min(100%, 210px); margin: 22px 0 0; }
|
|
.xbm-plat-col { min-width: 0; padding-top: 22px; }
|
|
.xbm-plat .xbm-plat-h { margin: 0 0 14px; }
|
|
.xbm-plat .xbm-plat-h .pf-body { margin: 8px 0 6px; font-size: 14px; }
|
|
.xbm-plat .xbm-gap { margin: 0 0 14px; }
|
|
.xbm-plat .xbm-spec a { grid-template-columns: minmax(0, 1fr) 20px; gap: 4px 10px; min-height: 0; padding: 13px 0; }
|
|
.xbm-plat .xbm-spec b { font-size: 26px; }
|
|
.xbm-plat .xbm-spec a > span { grid-column: 1; grid-row: 2; font-size: 14.5px; }
|
|
.xbm-plat .xbm-spec i { grid-column: 2; grid-row: 1; }
|
|
.xbm-plat .xbm-spec small { font-size: 13px; line-height: 1.45; }
|
|
.xbm-plat .xbm-spec a::before { inset: 0 -12px; }
|
|
|
|
/* ---------- 12. methods ---------- */
|
|
.xbm-methods .xbm-papers { margin-top: 32px; }
|
|
.xbm-methods .xbm-cmd p { font-size: 15px; }
|
|
|
|
/* ---------- 13. the shelf: the heading, views and the ask beside the rows ---------- */
|
|
.xbm-shelf .xbm-shelf-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0 clamp(28px, 3.6vw, 56px); align-items: start; }
|
|
.xbm-shelf .xbm-shelf-h { display: block; margin: 0; }
|
|
.xbm-shelf .xbm-shelf-h .pf-body { margin-top: 14px; font-size: 14px; }
|
|
.xbm-shelf .xbm-views { margin: 18px 0 0; gap: 6px; }
|
|
.xbm-shelf .xbm-views .xbm-lbl { flex-basis: 100%; font-size: 11.5px; }
|
|
.xbm-shelf .xbm-views a { min-height: 32px; padding: 0 12px; font-size: 13px; }
|
|
.xbm-shelf-main { min-width: 0; }
|
|
.xbm-shelf .xbm-ctl { border-top: 0; padding: 0 0 10px; margin-bottom: 10px; gap: 8px 10px; }
|
|
.xbm-shelf .xbm-seg button { min-height: 30px; padding: 0 11px; font-size: 13px; line-height: 30px; }
|
|
.xbm-shelf .xbm-tools button { height: 30px; padding: 0 10px; font-size: 12.5px; }
|
|
.xbm-shelf .xbm-search, .xbm-shelf .xbm-fbtn { height: 42px; }
|
|
.xbm-shelf .xbm-count { margin: 12px 0 6px; }
|
|
.xbm-shelf .xbm-sr { grid-template-columns: 30px minmax(0, 1fr) 160px 70px 118px; gap: 12px; padding: 9px 6px 9px 0; }
|
|
.xbm-shelf .xbm-sr-s { font-size: 15px; }
|
|
.xbm-shelf .xbm-sr-v b { font-size: 15px; }
|
|
.xbm-shelf .xbm-sr-t a::after { content: ' →'; }
|
|
.xbm-shelf-l:not(.all) > li:nth-child(n+6) { display: none; }
|
|
.xbm-shelf-more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 12px; }
|
|
.xbm-shelf-more .xbm-fold { margin-top: 0; }
|
|
.xbm-shelf-more .xbm-showall { margin-top: 0; }
|
|
.xbm-shelf .xbm-index { margin-top: 16px; }
|
|
.xbm-shelf .xbm-ix-fold { min-height: 48px; font-size: 18px; }
|
|
.xbm-shelf .xbm-index-g { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
|
|
|
|
/* ---------- the close ---------- */
|
|
.xbm-close { padding: clamp(64px, 10svh, 120px) 0; }
|
|
|
|
/* ---------- dark: lifted stages wear a ring instead of a shadow ---------- */
|
|
html:not(.light) .xbm-fig, html:not(.light) .xbm-racesec .pf-obj.xbm-arena, html:not(.light) .xbm-front-s .xbm-stage-obj, html:not(.light) .xbm-enso .xbm-enso-obj, html:not(.light) .xbm-lead .xbm-board-main, html:not(.light) .xbm-kaimore .xbm-vis, html:not(.light) .xbm-harness .xbm-h-fig, html:not(.light) .xbm-tile { box-shadow: 0 0 0 1px var(--border), 0 40px 80px -50px rgba(0, 0, 0, .9); }
|
|
html:not(.light) .xbm-buy .x-btn.sm { box-shadow: none; }
|
|
html:not(.light) .xbm-buy.dark .x-btn.solid { background: #fafafa; color: #0a0a0a; }
|
|
|
|
/* ---------- smaller screens ---------- */
|
|
@media (max-width: 1100px) {
|
|
.xbm-plat .xbm-plat-g { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
|
|
.xbm-plat .xbm-plat-top { grid-column: 1 / -1; }
|
|
.xbm-harness .xbm-pps.mem { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
|
|
}
|
|
@media (max-width: 900px) {
|
|
:is(.xbm, .xbm-body) > .xbm-sec { padding-block: 48px; }
|
|
.xbm > .xbm-hero { padding-top: 84px; }
|
|
.xbm-sec h2.pf-head { font-size: 30px; }
|
|
.xbm-hero .xbm-h1 { font-size: 40px; }
|
|
.xbm-figs-l { grid-template-columns: minmax(0, 1fr); gap: 8px; }
|
|
.xbm-fig { padding: 16px 18px; gap: 8px; }
|
|
.xbm-figs-l > li:first-child .xbm-fig-v, .xbm-fig-v { font-size: 34px; }
|
|
.xbm-racesec .xbm-trk { grid-template-columns: minmax(0, 1fr); gap: 14px; }
|
|
.xbm-racesec .xbm-trk-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px; }
|
|
.xbm-racesec .xbm-trk-tabs > button { flex: none; white-space: nowrap; padding: 10px 14px; font-size: 14px; }
|
|
.xbm-racesec .xbm-buy { padding-left: 0; margin-top: 12px; }
|
|
.xbm-racesec .xbm-race-top { grid-template-columns: minmax(0, 1fr); }
|
|
.xbm-tabs-l { display: flex; overflow-x: auto; scrollbar-width: none; gap: 0 18px; margin-inline: -16px; padding: 0 16px; }
|
|
.xbm-tabs-l::-webkit-scrollbar { display: none; }
|
|
.xbm-tabs-l > button { flex: 0 0 auto; max-width: 74%; font-size: 17px; }
|
|
.xbm-zen .xbm-tabs-l { gap: 10px; }
|
|
.xbm-zen .xbm-tabs-l > button { flex: 0 0 78%; max-width: none; padding: 14px 16px; }
|
|
.xbm-tabs .xbm-ch { grid-template-columns: minmax(0, 1fr); gap: 20px; }
|
|
.xbm-front-s .xbm-stage-grid { display: flex; flex-direction: column; gap: 22px; }
|
|
.xbm-front-s .xbm-stage-slot { order: 0; width: 100%; }
|
|
.xbm-lead .xbm-board, .xbm-shelf .xbm-shelf-g, .xbm-plat .xbm-plat-g, .xbm-harness .xbm-h-top, .xbm-harness .xbm-two, .xbm-ktools .xbm-tabs-l { grid-template-columns: minmax(0, 1fr); }
|
|
.xbm-lead .xbm-board-main { margin-top: 22px; padding: 4px 14px 14px; }
|
|
.xbm-lead .xbm-row { grid-template-columns: minmax(0, 1fr) auto; }
|
|
.xbm-shelf-main { margin-top: 22px; }
|
|
.xbm-shelf .xbm-sr { grid-template-columns: 30px minmax(0, 1fr) auto; }
|
|
.xbm-shelf .xbm-index-g { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
|
|
.xbm-harness .xbm-pps.mem { display: flex !important; }
|
|
.xbm-plat .xbm-bytes { display: none; }
|
|
.xbm-kai .xbm-kai-g { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
|
|
/* ---------- tuning after the first measure (8 Nov) ---------- */
|
|
.xbm-fig { justify-content: space-between; }
|
|
.xbm-fig-v { display: block; align-self: flex-start; text-align: left; padding-right: 28px; }
|
|
.xbm-fig-t { display: block; }
|
|
/* board rows: one line of dates, the lead on one line */
|
|
.xbm-lead .xbm-row-t { gap: 10px; }
|
|
.xbm-lead .xbm-row-t small { white-space: nowrap; font-size: 11.5px; }
|
|
.xbm-lead .xbm-row-lead { white-space: nowrap; font-size: 14px; }
|
|
.xbm-lead .xbm-row { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 78px 64px; gap: 14px; padding: 8px 8px 8px 0; }
|
|
.xbm-lead .xbm-foot { flex-direction: column; gap: 2px; }
|
|
.xbm-lead .xbm-board-head .xbm-buy { margin-top: 16px; }
|
|
/* harness: a pair reads label, bar and value on one line */
|
|
.xbm-harness .xbm-pp li { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 40px; gap: 6px 10px; }
|
|
.xbm-harness .xbm-pp li span { grid-column: auto; margin: 0; font-size: 12.5px; line-height: 1.3; }
|
|
.xbm-harness .xbm-pp li b { font-size: 13px; }
|
|
.xbm-harness .xbm-pp-t { margin-bottom: 12px; font-size: 16px; }
|
|
.xbm-harness .xbm-pp-f { margin-top: 10px; font-size: 12px; }
|
|
.xbm-harness .xbm-mem-h { max-width: none; }
|
|
.xbm-harness .xbm-mem-h .pf-body { max-width: 110ch; }
|
|
.xbm-harness .xbm-h-fig { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; }
|
|
.xbm-harness .xbm-h-top .xbm-buy { margin-top: 14px; }
|
|
.xbm-harness .xbm-h-top { gap: 18px clamp(28px, 3.6vw, 56px); }
|
|
/* platform: the column starts at the left; its rows set small */
|
|
.xbm-plat .xbm-plat-top { align-items: stretch; }
|
|
.xbm-plat .xbm-bytes { width: min(100%, 180px); }
|
|
.xbm-plat .xbm-spec span, .xbm-plat .xbm-spec a > span > span { font-size: 14.5px; }
|
|
.xbm-plat .xbm-spec small, .xbm-plat .xbm-spec small span { font-size: 13px; }
|
|
/* shelf: the rows take the stage; each row reads in three lines */
|
|
.xbm-shelf .xbm-shelf-g { grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); }
|
|
.xbm-shelf .xbm-sr { grid-template-columns: 30px minmax(0, 1fr) 150px 112px; grid-template-areas: 'c t v w' 'c t v d'; align-items: start; row-gap: 4px; padding: 10px 6px 10px 0; }
|
|
.xbm-shelf .xbm-sr > .xbm-chk { grid-area: c; align-self: center; }
|
|
.xbm-shelf .xbm-sr > .xbm-sr-t { grid-area: t; }
|
|
.xbm-shelf .xbm-sr > .xbm-sr-v { grid-area: v; }
|
|
.xbm-shelf .xbm-sr > .xbm-win { grid-area: w; justify-content: flex-start; }
|
|
.xbm-shelf .xbm-sr > .xbm-sr-d { grid-area: d; font-size: 13px; }
|
|
.xbm-shelf .xbm-sr-t small { font-size: 12px; }
|
|
.xbm-shelf .xbm-sr-t a { font-size: 13px; }
|
|
@media (max-width: 900px) {
|
|
.xbm-shelf .xbm-shelf-g { grid-template-columns: minmax(0, 1fr); }
|
|
.xbm-shelf .xbm-sr { grid-template-columns: 30px minmax(0, 1fr) auto; grid-template-areas: 'c t w' 'c v v' 'c d d'; }
|
|
.xbm-lead .xbm-row { grid-template-columns: minmax(0, 1fr) auto; }
|
|
.xbm-harness .xbm-h-fig { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
.xbm-lead .xbm-board-head { align-items: stretch; }
|
|
.xbm-harness .xbm-h-head { font-size: clamp(1.6rem, 2.15vw, 2.15rem); max-width: 30ch; }
|
|
.xbm-harness .xbm-h-side .xbm-buy { margin-top: 14px; }
|
|
@media (min-width: 901px) { .xbm-shelf .xbm-sr { grid-template-columns: 30px minmax(0, 1fr) 150px 140px; grid-template-rows: min-content 1fr; } }
|
|
.xbm-shelf .xbm-sr-s { line-height: 1.3; }
|
|
.xbm-shelf .xbm-sr-v b { font-size: 14px; }
|
|
.xbm-shelf .xbm-sr-t small { font-family: var(--sans); font-size: 12.5px; }
|
|
.xbm-shelf .xbm-sr-d { flex-direction: column; gap: 0; }
|
|
.xbm-shelf-l:not(.all) > li:nth-child(n+5) { display: none; }
|
|
@media (max-width: 900px) {
|
|
.xbm-shelf .xbm-sr { grid-template-columns: 30px minmax(0, 1fr) auto; grid-template-areas: 'c t w' 'c v v' 'c d d'; }
|
|
.xbm-shelf .xbm-sr-v { flex-direction: row; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; text-align: left; }
|
|
}
|
|
/* shelf rows read as cards, two a row: each opens its benchmark's page (its title), each can be ticked to compare */
|
|
.xbm-shelf .xbm-shelf-l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border-top: 0; }
|
|
.xbm-shelf .xbm-shelf-l > li.xbm-sr { grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-rows: auto; grid-template-areas: 'c t t' '. v w' '. v d'; align-items: start; gap: 4px 10px; padding: 14px 16px 14px 10px; border: 1px solid var(--line); border-radius: 18px; background: var(--x-raised); box-shadow: 0 24px 50px -44px rgba(0, 0, 0, .4); transition: border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease); }
|
|
@media (hover: hover) { .xbm-shelf .xbm-shelf-l > li.xbm-sr:hover { border-color: var(--x-e15); background: var(--x-raised); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .45); } }
|
|
.xbm-shelf .xbm-shelf-l > li.xbm-sr.on { border-color: var(--ink); }
|
|
.xbm-shelf .xbm-sr > .xbm-chk { align-self: start; margin-top: -4px; }
|
|
.xbm-shelf .xbm-sr > .xbm-sr-v { text-align: left; margin-top: 6px; }
|
|
.xbm-shelf .xbm-sr > .xbm-win { justify-content: flex-end; margin-top: 8px; }
|
|
.xbm-shelf .xbm-sr > .xbm-sr-d { text-align: right; font-size: 12.5px; }
|
|
@media (max-width: 900px) { .xbm-shelf .xbm-shelf-l { grid-template-columns: minmax(0, 1fr); } }
|
|
html:not(.light) .xbm-shelf .xbm-shelf-l > li.xbm-sr { box-shadow: none; }
|
|
.xbm-shelf .xbm-shelf-side .xbm-index { margin-top: 22px; }
|
|
.xbm-shelf .xbm-shelf-side .xbm-index-g { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
|
|
.xbm-harness .xbm-h-top { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
|
|
.xbm-harness .xbm-h-head { max-width: 36ch; }
|
|
.xbm-harness .xbm-pp-f { font-family: var(--sans); font-size: 12px; line-height: 1.45; }
|
|
.xbm-harness .xbm-tabs-l > button { padding-top: 12px; }
|
|
.xbm-harness h2.xbm-h-head { font-size: clamp(1.6rem, 2.15vw, 2.15rem); max-width: 36ch; }
|
|
:is(.xbm, .xbm-body) > .xbm-sec:not(.xbm-hero) { padding-block: clamp(52px, 7.5svh, 92px); }
|
|
@media (max-width: 900px) {
|
|
.xbm-hero .xbm-stage-hgrid, .xbm-harness .xbm-h-top { grid-template-columns: minmax(0, 1fr); }
|
|
.xbm-harness h2.xbm-h-head { font-size: 27px; }
|
|
.xbm-hero .xbm-acts { margin-top: 12px; }
|
|
}
|
|
/* phone: the shelf's heading, then its cards; the views, the ask and the index follow them */
|
|
@media (max-width: 900px) {
|
|
.xbm-shelf .xbm-shelf-g { display: flex; flex-direction: column; }
|
|
.xbm-shelf .xbm-shelf-side { display: contents; }
|
|
.xbm-shelf .xbm-shelf-h { order: 0; }
|
|
.xbm-shelf .xbm-shelf-main { order: 1; margin-top: 18px; }
|
|
.xbm-shelf .xbm-views, .xbm-shelf .xbm-shelf-side > .xbm-buy, .xbm-shelf .xbm-shelf-side > .xbm-index { order: 2; }
|
|
}
|