mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P5YBdxX2mH7piDf4NGrmPi
316 lines
27 KiB
CSS
316 lines
27 KiB
CSS
/* ---------- tabs v2 (xtb-): the layout is a tree; greys only, one dark room ---------- */
|
|
.xtb { --acc: #0a0a0b; --acc-ink: #fff; }
|
|
.xtb-stage { position: relative; }
|
|
.xtb-bar { padding-right: 56px; }
|
|
.xtb-name { margin: 0 auto 0 4px; order: -1; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
|
|
.xtb-stage.paused *, .xtb-vis.paused * { animation-play-state: paused !important; }
|
|
.xtb-vis { position: relative; }
|
|
.xtb-vis > .w2-pause { right: 16px; top: 16px; }
|
|
.xtb-hero { padding: clamp(104px, 8.4vw, 128px) 0 clamp(96px, 10vw, 160px); }
|
|
.xtb-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(36px, 3.6vw, 56px); }
|
|
.xtb-kick { margin-bottom: 20px; }
|
|
.xtb-h1 { font-size: clamp(56px, 7.6vw, 112px); }
|
|
.xtb-top-r { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-bottom: 8px; }
|
|
.xtb-top-r .w2-lede { font-size: clamp(18px, 1.45vw, 21px); }
|
|
|
|
.xtb-stage { padding: clamp(16px, 2vw, 28px); background: var(--card); border: 0; box-shadow: none; }
|
|
.xtb-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
|
|
.xtb-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: #e3e3e8; }
|
|
.xtb-seg button { min-height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: none; color: var(--soft); font-size: 15px; cursor: pointer; transition: color .25s, background .3s var(--ease); }
|
|
@media (hover: hover) { .xtb-seg button:hover { color: var(--ink); } }
|
|
.xtb-seg button[aria-checked='true'] { color: #0a0a0b; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 0 0 .5px rgba(0, 0, 0, .06); }
|
|
.xtb-reset { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--soft); font-size: 14px; cursor: pointer; }
|
|
@media (hover: hover) { .xtb-reset:hover { color: var(--ink); } }
|
|
.xtb-room { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 16px; }
|
|
.xtb-room-in { min-width: 0; display: grid; }
|
|
.xtb-win { display: flex; flex-direction: column; height: clamp(380px, 36vw, 520px); border-radius: 20px; background: #0b0b0c; box-shadow: 0 40px 80px -48px rgba(0, 0, 0, .6); overflow: hidden; }
|
|
.xtb-win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
|
|
.xtb-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c2c30; }
|
|
.xtb-win-bar span { margin-left: 10px; padding: 4px 12px; border-radius: 8px; background: #1c1c20; font-size: 12.5px; color: #a1a1a6; }
|
|
.xtb-win-body { flex: 1; display: flex; padding: 6px; min-height: 0; }
|
|
.xtb-split { flex: 1 1 0; display: flex; gap: 6px; min-width: 0; min-height: 0; }
|
|
.xtb-split.col { flex-direction: column; }
|
|
.xtb-pane { flex: 1 1 0; display: flex; flex-direction: column; min-width: 0; min-height: 0; border-radius: 10px; background: #141417; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; transition: box-shadow .35s var(--ease); }
|
|
.xtb-pane.doomed { box-shadow: inset 0 0 0 1.5px #d2d2d7; }
|
|
.xtb-pane-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 4px 4px 12px; border-bottom: 1px solid rgba(255, 255, 255, .06); color: #d1d1d6; }
|
|
.xtb-pane-bar > span:first-child { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.xtb-pane-acts { display: flex; }
|
|
.xtb-pane-acts button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: #86868b; font-size: 17px; cursor: pointer; transition: background .2s, color .2s; }
|
|
@media (hover: hover) { .xtb-pane-acts button:hover:not(:disabled) { background: #26262b; color: #fff; } }
|
|
.xtb-pane-acts button:disabled { opacity: .3; cursor: default; }
|
|
.xtb-pane-body { flex: 1; display: grid; align-content: start; gap: 7px; padding: 12px; min-height: 0; overflow: hidden; }
|
|
.xtb-pane-body i { height: 6px; border-radius: 3px; background: #2c2c32; transform-origin: 0 50%; }
|
|
.xtb-pane-body i:nth-child(1) { width: 70%; } .xtb-pane-body i:nth-child(2) { width: 52%; } .xtb-pane-body i:nth-child(3) { width: 84%; } .xtb-pane-body i:nth-child(4) { width: 40%; }
|
|
.xtb-pane-body.run i { background: #f5f5f7; opacity: .55; animation: xtb-line 2.6s var(--ease) infinite; }
|
|
.xtb-pane-body.run i:nth-child(2) { animation-delay: .3s; } .xtb-pane-body.run i:nth-child(3) { animation-delay: .6s; } .xtb-pane-body.run i:nth-child(4) { animation-delay: .9s; }
|
|
@keyframes xtb-line { 0% { transform: scaleX(0); } 40%, 100% { transform: scaleX(1); } }
|
|
.xtb-pane-body span { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: #d1d1d6; }
|
|
.xtb-pane-body b { color: #f5f5f7; font-weight: 500; }
|
|
.xtb-pane-body em { width: 7px; height: 14px; background: #f5f5f7; animation: xtb-blink 1.1s steps(1) infinite; }
|
|
.xtb-pane-body kbd { padding: 1px 6px; border-radius: 4px; background: #26262b; font: inherit; }
|
|
@keyframes xtb-blink { 50% { opacity: 0; } }
|
|
|
|
.xtb-tree { padding: 18px; border-radius: 20px; background: #fff; overflow: auto; }
|
|
.xtb-tree > p { margin: 0 0 10px; font-size: 12.5px; color: var(--faint); }
|
|
.xtb-tree ul { margin: 0; padding: 0; list-style: none; }
|
|
.xtb-node > ul { position: relative; display: grid; gap: 6px; margin: 6px 0 0 10px; padding-left: 12px; border-left: 1px solid rgba(0, 0, 0, .18); }
|
|
.xtb-node > span, .xtb-leaf > span { display: inline-block; padding: 5px 10px; border-radius: 8px; font-size: 12.5px; white-space: nowrap; }
|
|
.xtb-node > span { color: var(--soft); background: #fff; box-shadow: 0 0 0 1px var(--line); }
|
|
.xtb-leaf > span { background: var(--ink); color: #fff; }
|
|
|
|
/* the phone flip */
|
|
.xtb-phone { justify-self: center; display: flex; flex-direction: column; width: min(300px, 100%); height: clamp(360px, 34vw, 460px); padding: 14px 12px 12px; border-radius: 36px; background: #0b0b0c; box-shadow: 0 0 0 6px #1c1c20, 0 40px 80px -40px rgba(0, 0, 0, .6); touch-action: pan-y; user-select: none; }
|
|
.xtb-phone-top { display: flex; justify-content: space-between; padding: 4px 8px 10px; font-size: 12.5px; color: #a1a1a6; }
|
|
.xtb-phone-pages { flex: 1; min-height: 0; border-radius: 14px; background: #141417; overflow: hidden; }
|
|
.xtb-phone-track { display: flex; height: 100%; }
|
|
.xtb-phone-track > .xtb-pane-body { flex: 0 0 100%; }
|
|
.xtb-dots { display: flex; justify-content: center; gap: 2px; padding: 4px 0; }
|
|
.xtb-dots button { display: grid; place-items: center; width: 28px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
|
|
.xtb-dots i { width: 6px; height: 6px; border-radius: 50%; background: #48484f; transition: background .25s, transform .25s; }
|
|
.xtb-dots button[aria-selected='true'] i { background: #f5f5f7; transform: scale(1.3); }
|
|
.xtb-keyrow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
|
|
.xtb-keyrow button { min-height: 36px; padding: 0; border: 0; border-radius: 7px; background: #26262b; color: #f5f5f7; font-size: 12px; cursor: pointer; transition: background .15s, transform .15s; }
|
|
@media (hover: hover) { .xtb-keyrow button:hover { background: #3a3a40; } }
|
|
.xtb-keyrow button:active { transform: scale(.94); }
|
|
|
|
/* chapters: why it is shaped this way */
|
|
.xtb-vis { display: grid; }
|
|
.xtb-vis-i { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; min-height: clamp(360px, 40vw, 520px); border-radius: 28px; background: var(--card); }
|
|
.xtb-v.none { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 20px); font-size: clamp(15px, 1.4vw, 20px); }
|
|
.xtb-v.none b { padding: 14px 20px; border-radius: 14px; background: var(--ink); color: var(--x-on-ink); font-weight: 600; }
|
|
.xtb-v.none s { padding: 10px 14px; border-radius: 12px; border: 1.5px dashed light-dark(rgba(0, 0, 0, .2), var(--border-focus)); color: var(--faint); font-size: .8em; }
|
|
.xtb-v-wire { position: relative; width: clamp(48px, 7vw, 110px); height: 2px; background: light-dark(rgba(0, 0, 0, .14), var(--border-control)); overflow: hidden; }
|
|
.xtb-v-wire em { position: absolute; top: -2px; left: 0; width: 12px; height: 6px; border-radius: 3px; background: light-dark(#0a0a0b, var(--foreground)); animation: xtb-pk 1.8s linear infinite; }
|
|
.xtb-v-wire em:nth-child(2) { animation-delay: .6s; } .xtb-v-wire em:nth-child(3) { animation-delay: 1.2s; }
|
|
.xtb-v-wire.back em { animation-direction: reverse; }
|
|
@keyframes xtb-pk { from { transform: translateX(-14px); } to { transform: translateX(120px); } }
|
|
.xtb-v.url { display: flex; flex-direction: column; gap: 20px; width: min(88%, 520px); }
|
|
.xtb-v-bar { display: flex; align-items: center; height: 64px; padding: 0 22px; border-radius: 16px; background: var(--x-raised); font-size: clamp(18px, 1.8vw, 26px); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .3); overflow: hidden; }
|
|
.xtb-v-bar b { display: inline-block; color: light-dark(#0a0a0b, var(--foreground)); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
|
|
.xtb-v-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
|
|
.xtb-v-sess { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: #0b0b0c; color: #d1d1d6; opacity: .5; transition: opacity .4s, box-shadow .4s; }
|
|
.xtb-v-sess.on { opacity: 1; box-shadow: 0 0 0 3px light-dark(#fff, var(--card)), 0 0 0 5px light-dark(#0a0a0b, var(--foreground)); }
|
|
.xtb-v-sess span { font-size: 13px; }
|
|
.xtb-v-sess i { height: 6px; border-radius: 3px; background: #2c2c32; }
|
|
.xtb-v-sess i:nth-child(3) { width: 70%; } .xtb-v-sess i:nth-child(4) { width: 45%; }
|
|
.xtb-v.tree { display: flex; flex-direction: column; gap: 18px; width: min(88%, 520px); }
|
|
.xtb-v-grid { display: flex; gap: 8px; height: clamp(220px, 22vw, 300px); padding: 8px; border-radius: 18px; background: #0b0b0c; }
|
|
.xtb-v-col { flex: 1; display: flex; flex-direction: column; gap: 8px; }
|
|
.xtb-v-p { flex: 1; display: flex; align-items: flex-start; padding: 12px; border-radius: 10px; background: #141417; color: #d1d1d6; font-size: 14px; }
|
|
.xtb-v-p.a { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
|
|
.xtb-v-p.b { box-shadow: inset 0 0 0 1.5px #f5f5f7; }
|
|
.xtb-v-note { margin: 0; font-size: 14px; color: var(--soft); text-align: center; }
|
|
|
|
/* link a machine */
|
|
.xtb-link { background: var(--card); }
|
|
.xtb-link-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 5vw, 96px); align-items: center; }
|
|
.xtb-link-copy { display: flex; flex-direction: column; gap: 24px; }
|
|
.xtb-link code { padding: 2px 8px; border-radius: 6px; background: var(--x-raised); color: var(--ink); font-size: .92em; }
|
|
.xtb-cmd { display: inline-flex; align-self: flex-start; align-items: center; gap: 16px; padding: 10px 10px 10px 20px; border-radius: 16px; background: #0b0b0c; color: #f5f5f7; font-size: 17px; }
|
|
.xtb-cmd .x-copy { background: #1d1d20; border-color: rgba(255, 255, 255, .1); color: #d1d1d6; }
|
|
.xtb-map { display: grid; grid-template-columns: minmax(0, 1fr) 170px; align-items: center; }
|
|
.xtb-lan { position: relative; display: grid; gap: 16px; padding: 48px 0 24px 22px; border: 1.5px dashed light-dark(rgba(0, 0, 0, .2), var(--border-focus)); border-right: 0; border-radius: 28px 0 0 28px; }
|
|
.xtb-lan-k { position: absolute; left: 22px; top: 18px; font-size: 13px; color: var(--faint); }
|
|
.xtb-mach { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; padding: 16px 18px; margin-right: 44%; border-radius: 16px; background: var(--x-raised); box-shadow: 0 0 0 1px var(--line); }
|
|
.xtb-mach b { font-size: 17px; font-weight: 600; }
|
|
.xtb-mach span { font-size: 13px; color: var(--faint); }
|
|
.xtb-wire { position: absolute; left: 100%; top: 50%; width: 80%; height: 2px; background: var(--x-e12); overflow: hidden; }
|
|
.xtb-wire em { position: absolute; left: 0; top: -2px; width: 18px; height: 6px; border-radius: 3px; background: light-dark(#0a0a0b, var(--foreground)); transform: translateX(-20px); }
|
|
.xtb-map.on .xtb-wire em { animation: xtb-out 2.4s linear infinite; animation-delay: calc(var(--i) * .8s); }
|
|
@keyframes xtb-out { from { transform: translateX(-20px); } to { transform: translateX(min(60vw, 520px)); } }
|
|
.xtb-you { display: grid; gap: 10px; justify-items: center; padding: 22px 14px; border-radius: 22px; background: var(--ink); color: var(--x-on-ink); text-align: center; }
|
|
.xtb-you span { font-size: 13px; color: #a1a1a6; }
|
|
.xtb-you b { font-size: 18px; font-weight: 600; }
|
|
.xtb-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 80px; }
|
|
.xtb-mini i { height: 24px; border-radius: 3px; background: #2c2c32; }
|
|
.xtb-mini i:first-child { grid-row: span 2; height: 51px; background: var(--x-fill); }
|
|
|
|
/* what you get: the dark room, a tile grid */
|
|
.xtb-what-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(48px, 6vw, 88px); }
|
|
.xtb-acts { display: flex; flex-wrap: wrap; gap: 12px; }
|
|
.xtb-tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
|
|
.xtb-tile { grid-column: span 6; display: flex; flex-direction: column; gap: 12px; min-height: 320px; padding: clamp(28px, 3vw, 44px); border-radius: 28px; background: #111113; }
|
|
.xtb-tile.term { grid-column: span 7; } .xtb-tile.keep { grid-column: span 5; }
|
|
.xtb-tile.phone { grid-column: span 5; } .xtb-tile.mit { grid-column: span 7; }
|
|
.xtb-tile-v { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; height: 88px; margin-bottom: auto; }
|
|
.xtb-tile p { margin: 0; font-size: 17px; line-height: 1.6; color: #a1a1a6; max-width: 48ch; }
|
|
.xtb-tile.term span { display: flex; align-items: center; gap: 10px; font-size: 32px; }
|
|
.xtb-tile.term b { color: #f5f5f7; font-weight: 500; }
|
|
.xtb-tile.term em { width: 16px; height: 34px; background: #f5f5f7; }
|
|
.xtb-tile.phone b { padding: 10px 12px; border-radius: 8px; background: #26262b; font-size: 14px; font-weight: 500; }
|
|
.xtb-tile.mit b { padding: 14px 22px; border: 2px solid #f5f5f7; border-radius: 14px; font-size: 28px; letter-spacing: .08em; }
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.xtb-pane-body.run i, .xtb-pane-body em, .xtb-wire em, .xtb-v-wire em, .xtb-tile.term em { animation: none; }
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.xtb-hero { padding-top: 104px; }
|
|
.xtb-top, .xtb-link-grid { grid-template-columns: minmax(0, 1fr); }
|
|
.xtb-h1 { font-size: clamp(48px, 14vw, 64px); }
|
|
.xtb-stage { padding: 12px; }
|
|
.xtb-room { grid-template-columns: minmax(0, 1fr); grid-template-rows: 380px auto; }
|
|
.xtb-room-in { height: 380px; }
|
|
.xtb-win, .xtb-phone { height: 380px; }
|
|
.xtb-pane-acts button { width: 44px; height: 44px; }
|
|
.xtb-dots button { width: 44px; height: 44px; }
|
|
.xtb-pane-bar { padding-left: 8px; }
|
|
.xtb-tree { padding: 12px; }
|
|
.xtb-tree > ul { display: flex; }
|
|
.xtb-vis-i { min-height: 300px; }
|
|
.xtb-v.none { gap: 6px; font-size: 14px; }
|
|
.xtb-v.none b { padding: 10px 12px; }
|
|
.xtb-v-wire { width: 24px; }
|
|
.xtb-map { grid-template-columns: minmax(0, 1fr); gap: 14px; }
|
|
.xtb-lan { border-right: 1.5px dashed light-dark(rgba(0, 0, 0, .2), var(--border-focus)); border-radius: 22px; padding-right: 18px; }
|
|
.xtb-mach { margin-right: 0; }
|
|
.xtb-wire { display: none; }
|
|
.xtb-tile, .xtb-tile.term, .xtb-tile.keep, .xtb-tile.phone, .xtb-tile.mit { grid-column: 1 / -1; min-height: 0; }
|
|
.xtb-tile p { font-size: 16px; }
|
|
.xtb-keyrow button { min-height: 44px; font-size: 14px; }
|
|
.xtb-pane-bar > span:first-child, .xtb-tree > p, .xtb-node > span, .xtb-leaf > span, .xtb-phone-top, .xtb-lan-k, .xtb-mach span, .xtb-you span { font-size: 14px; }
|
|
}
|
|
@media (max-width: 900px) {
|
|
.xtb-bar { flex-wrap: wrap; gap: 10px; }
|
|
.xtb-name { flex-basis: 100%; font-size: 14px; }
|
|
.xtb-tree { max-height: 220px; }
|
|
}
|
|
|
|
/* v2.1: the window is the composition (title on one line above it, the lede after it) */
|
|
.xtb-top { grid-template-columns: minmax(0, 1fr) auto !important; align-items: end; margin-bottom: clamp(20px, 2.2vw, 32px) !important; }
|
|
.xtb-h1 { font-size: clamp(44px, 6.4vw, 100px) !important; max-width: none; }
|
|
.xtb-top-r { padding-bottom: 6px; }
|
|
.xtb-stage { position: relative; padding: 0; border-radius: 22px; background: #0b0b0c; box-shadow: var(--shadow); overflow: hidden; }
|
|
.xtb-stage .xtb-win-bar { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 8px 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
|
|
.xtb-stage .xtb-win-bar > i { width: 11px; height: 11px; border-radius: 50%; background: #2c2c30; }
|
|
.xtb-stage .xtb-name { margin-left: 10px; font: 600 14px/1 var(--sans); color: #f5f5f7; letter-spacing: 0; text-transform: none; }
|
|
.xtb-stage .xtb-url { margin: 0 auto 0 10px; padding: 6px 12px; border-radius: 8px; background: #1c1c20; font-size: 13px; color: #a1a1a6; }
|
|
.xtb-stage .xtb-seg { background: #1c1c20; padding: 3px; }
|
|
.xtb-stage .xtb-seg button { display: grid; place-items: center; min-height: 36px; width: 44px; padding: 0; color: #a1a1a6; }
|
|
.xtb-stage .xtb-seg button[aria-checked='true'] { background: #3a3a3c; color: #fff; box-shadow: none; }
|
|
.xtb-stage .xtb-reset { display: grid; place-items: center; width: 40px; min-height: 40px; padding: 0; border: 0; border-radius: 50%; background: #1c1c20; color: #d1d1d6; }
|
|
.xtb-pause { position: relative; width: 44px; height: 44px; }
|
|
.xtb-pause .w2-pause { position: absolute; left: 0; top: 0 !important; right: auto !important; background: #1c1c20; color: #f5f5f7; box-shadow: none; }
|
|
.xtb-stage .xtb-room { grid-template-columns: minmax(0, 1fr) 230px; gap: 0; }
|
|
.xtb-stage .xtb-win-body { display: flex; height: clamp(360px, 32vw, 460px); padding: 8px; }
|
|
.xtb-stage .xtb-phone { margin: 16px auto; }
|
|
.xtb-stage .xtb-tree { border-radius: 0; background: #141417; border-left: 1px solid rgba(255, 255, 255, .06); color: #d1d1d6; }
|
|
.xtb-stage .xtb-tree > p { color: #86868b; }
|
|
.xtb-stage .xtb-node > span { background: #1c1c20; color: #a1a1a6; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
|
|
.xtb-stage .xtb-node > ul { border-left-color: rgba(255, 255, 255, .16); }
|
|
.xtb-stage .xtb-leaf > span { background: #f5f5f7; color: #0a0a0b; }
|
|
.xtb-lede { margin-top: clamp(28px, 3vw, 44px); max-width: 52ch; }
|
|
.xtb-v-note { min-height: 2.6em; }
|
|
@media (hover: hover) { .xtb-stage .xtb-seg button:hover, .xtb-stage .xtb-reset:hover { color: #fff; } .xtb-mach:hover { box-shadow: 0 0 0 1px light-dark(#0a0a0b, var(--foreground)); } }
|
|
@media (max-width: 900px) {
|
|
.xtb-hero { padding-top: 96px !important; }
|
|
.xtb-top { grid-template-columns: minmax(0, 1fr) !important; gap: 18px; }
|
|
.xtb-h1 { font-size: clamp(40px, 11vw, 48px) !important; }
|
|
.xtb-stage .xtb-url { display: none; }
|
|
.xtb-stage .xtb-room { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
|
|
.xtb-stage .xtb-win-body { height: 330px; }
|
|
.xtb-stage .xtb-tree { height: 180px; max-height: none; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .06); }
|
|
.xtb-pane-acts button:first-child { display: none; }
|
|
.xtb-pane-acts button { position: relative; width: 32px !important; height: 32px !important; }
|
|
.xtb-pane-acts button::after { content: ''; position: absolute; inset: -6px; }
|
|
.xtb-pane-bar > span:first-child { min-width: 4ch; font-size: 14px; }
|
|
}
|
|
|
|
/* v2.2: rhythm, the map's window, the dark room's objects, one ask closing the room */
|
|
.xtb .w2-sec { padding: clamp(96px, 10vw, 160px) 0; }
|
|
.xtb-hero { padding-bottom: clamp(72px, 8vw, 128px) !important; }
|
|
.xtb-vis { padding-bottom: 56px; }
|
|
.xtb-you { background: var(--x-raised); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -32px rgba(0, 0, 0, .35); }
|
|
.xtb-you span { color: var(--faint); }
|
|
.xtb-you b { font-weight: 500; font-size: 16px; }
|
|
.xtb-you .xtb-mini i { background: var(--ink); }
|
|
.xtb-what-h { margin: 0 0 clamp(40px, 5vw, 72px); }
|
|
.xtb-tile { transition: transform .5s var(--ease), background .4s; }
|
|
.xtb-tile-v { height: 132px; }
|
|
.xtb-what-ask { display: flex; justify-content: center; margin-top: clamp(56px, 6vw, 88px); }
|
|
.xtb-what-ask .w2-cta i { display: inline-block; transition: transform .3s var(--ease); }
|
|
/* scrollback that pages by itself; hover holds it */
|
|
.xtb-sb { position: relative; width: 100%; height: 132px; padding: 0 0 0 2px; overflow: hidden; -webkit-mask: linear-gradient(transparent, #000 40%); mask: linear-gradient(transparent, #000 40%); }
|
|
.xtb-sb i { display: block; height: 6px; margin: 0 0 9px; border-radius: 3px; background: #3a3a3f; animation: xtb-page 7s linear infinite; }
|
|
.xtb-sb span { position: absolute; left: 2px; bottom: 0; display: flex; align-items: center; gap: 8px; padding-top: 6px; background: #111113; font-size: 18px; color: #f5f5f7; }
|
|
.xtb-sb em { width: 9px; height: 18px; background: #f5f5f7; animation: xtb-blink 1.1s steps(1) infinite; }
|
|
@keyframes xtb-page { from { transform: translateY(0); } to { transform: translateY(-90px); } }
|
|
/* a pane closes and comes back by name, its lines intact */
|
|
.xtb-keep { display: flex; gap: 6px; width: 100%; height: 120px; padding: 6px; border-radius: 14px; background: #0b0b0c; }
|
|
.xtb-keep-p { flex: 1 1 0; display: flex; align-items: flex-start; min-width: 0; padding: 10px; border-radius: 8px; background: #1c1c20; overflow: hidden; transform-origin: 50% 0; }
|
|
.xtb-keep-p span { font-size: 14px; color: #a3a3a3; white-space: nowrap; }
|
|
.xtb-keep-p.go { background: #262626; animation: xtb-keep 4.8s cubic-bezier(.4, 0, .2, 1) infinite; }
|
|
.xtb-keep-p.go span { color: #fafafa; }
|
|
@keyframes xtb-keep { 0%, 30% { transform: scaleY(1); opacity: 1; } 42%, 62% { transform: scaleY(0); opacity: 0; } 76%, 100% { transform: scaleY(1); opacity: 1; } }
|
|
/* the phone pages, and its key row presses */
|
|
.xtb-mphone { display: grid; grid-template-rows: 1fr auto; gap: 8px; width: 100%; height: 132px; padding: 10px; border-radius: 22px; background: #0b0b0c; box-shadow: 0 0 0 4px #1c1c20; }
|
|
.xtb-mphone-s { display: grid; align-content: start; gap: 7px; padding: 4px; }
|
|
.xtb-mphone-s i { height: 6px; border-radius: 3px; background: #3a3a3f; }
|
|
.xtb-mphone-s i:nth-child(2) { width: 70%; } .xtb-mphone-s i:nth-child(3) { width: 45%; }
|
|
.xtb-mphone-k { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
|
|
.xtb-mphone-k b { display: grid; place-items: center; height: 34px; border-radius: 7px; background: #26262b; color: #f5f5f7; font-size: 14px; font-weight: 500; animation: xtb-cap 4.2s calc(var(--i) * .6s) infinite; }
|
|
@keyframes xtb-cap { 0%, 8% { transform: translateY(0); background: #26262b; } 3% { transform: translateY(2px); background: #48484e; } }
|
|
/* the source is the object */
|
|
.xtb-src { flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; color: #f5f5f7; text-decoration: none; }
|
|
.xtb-src b { padding: 14px 22px; border: 2px solid #f5f5f7; border-radius: 14px; font-size: 28px; letter-spacing: .08em; transition: background .3s, color .3s; }
|
|
.xtb-src > span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 17px; }
|
|
.xtb-src span i { display: inline-block; transition: transform .3s var(--ease); }
|
|
.xtb-src:active b { transform: scale(.98); }
|
|
.xtb-src:focus-visible { outline: 2px solid #f5f5f7; outline-offset: 6px; border-radius: 14px; }
|
|
@media (hover: hover) {
|
|
.xtb-tile:hover { transform: translateY(-4px); background: #161618; }
|
|
.xtb-tile.term:hover .xtb-sb i, .xtb-tile.keep:hover .xtb-keep-p.go, .xtb-tile.phone:hover .xtb-mphone-k b { animation-play-state: paused; }
|
|
.xtb-src:hover b { background: #f5f5f7; color: #0a0a0b; }
|
|
.xtb-src:hover span { text-decoration: underline; text-underline-offset: 3px; }
|
|
.xtb-src:hover span i, .xtb-what-ask .w2-cta:hover i { transform: translate(3px, -3px); }
|
|
.xtb-mach { transition: box-shadow .3s, transform .3s var(--ease); }
|
|
.xtb-mach:hover { transform: translateX(6px); }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.xtb-sb i, .xtb-sb em, .xtb-keep-p.go, .xtb-mphone-k b, .xtb-map.on .xtb-wire em { animation: none; }
|
|
}
|
|
@media (max-width: 900px) {
|
|
.xtb .w2-sec { padding: 88px 0; }
|
|
.xtb-tile { min-height: 0; }
|
|
.xtb-tile-v { height: 120px; }
|
|
.xtb-vis { padding-bottom: 52px; }
|
|
}
|
|
|
|
/* v2.4: the dark room's loops pause; the close is a band; focus shows on dark; phone polish */
|
|
.xtb-what-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 clamp(40px, 5vw, 72px); }
|
|
.xtb-what-top .xtb-what-h { margin: 0; }
|
|
.xtb-what-pause { display: grid; place-items: center; width: 44px; height: 44px; }
|
|
.xtb-tiles.paused * { animation-play-state: paused !important; }
|
|
.xtb-what { padding-bottom: clamp(72px, 8vw, 116px) !important; }
|
|
.xtb-band { background: light-dark(#f5f5f5, var(--muted)); }
|
|
.xtb-band-in { display: grid; justify-items: center; gap: 24px; text-align: center; }
|
|
.xtb-band-win { display: flex; gap: 6px; width: min(100%, 360px); height: 96px; padding: 6px; border-radius: 14px; background: #0a0a0a; }
|
|
.xtb-band-t { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
|
|
.xtb-stage :focus-visible, .xtb-cmd :focus-visible { outline: 2px solid #fafafa !important; outline-offset: 2px; }
|
|
@media (hover: hover) { .xtb-mach:hover .xtb-wire em { animation: xtb-out 1.2s linear infinite !important; } }
|
|
@media (max-width: 899px) {
|
|
.xtb-stage .xtb-win-bar > i { display: none; }
|
|
.xtb-stage .xtb-win-bar { padding-left: 14px; }
|
|
.xtb-stage .xtb-tree { height: 330px !important; }
|
|
.xtb-tile { padding: 20px !important; }
|
|
.xtb-mphone { padding: 8px; }
|
|
.xtb-mphone-k { gap: 3px; }
|
|
.xtb-mphone-k b { letter-spacing: -.04em; }
|
|
.xtb-map.on .xtb-mach::after { content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--ink); animation: xtb-blink 1.6s steps(1) infinite; animation-delay: calc(var(--i) * .5s); }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) { .xtb-map.on .xtb-mach::after { animation: none; } }
|
|
|
|
/* dark mode (live hanzo.ai in dark): the shared .w2 greys are light-only, so the page takes Hanzo's dark text tokens;
|
|
the hero sits on Hanzo's halftone dot field (dark only) */
|
|
html:not(.light) .xtb { --soft: var(--muted-foreground); --faint: var(--text-tertiary); }
|
|
/* dark only: Hanzo's hero texture as live hanzo.ai draws it in dark (7px dot field densest at the edges and bottom, plus the top glow) */
|
|
html:not(.light) .xtb-hero { position: relative; isolation: isolate; }
|
|
html:not(.light) .xtb-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
|
|
background: radial-gradient(circle, color-mix(in srgb, var(--foreground) 36%, transparent) 1.5px, transparent 2.1px) 0 0 / 7px 7px;
|
|
-webkit-mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.15) 32%, rgba(0,0,0,.15) 64%, #000), linear-gradient(180deg, rgba(0,0,0,.25), #000 85%);
|
|
-webkit-mask-composite: source-in;
|
|
mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.15) 32%, rgba(0,0,0,.15) 64%, #000), linear-gradient(180deg, rgba(0,0,0,.25), #000 85%);
|
|
mask-composite: intersect; }
|
|
html:not(.light) .xtb-hero::after { content: ''; position: absolute; inset: 0 0 auto; height: 640px; z-index: -1; pointer-events: none;
|
|
background: radial-gradient(60% 70% at 50% 0%, color-mix(in srgb, var(--foreground) 9%, transparent), transparent 70%); }
|