Files

773 lines
64 KiB
CSS

/* ---------- /models family: a model's datasheet and a maker's shelf ---------- */
.xmf { --xmf-r: 22px; }
.xmf-hero { position: relative; padding: clamp(28px, 5vw, 72px) 0 clamp(56px, 7vw, 104px); overflow: hidden; }
.xmf-hero-g { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 84px); align-items: center; }
.xmf-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 14px; color: var(--soft); }
.xmf-crumbs > span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.xmf-crumbs > span + span::before { content: '/'; color: var(--faint); }
.xmf-crumbs a { color: var(--soft); text-decoration: none; transition: color .2s; }
.xmf-crumbs a:hover { color: var(--ink); }
.xmf-crumbs .x-mono { color: var(--ink); overflow-wrap: anywhere; }
.xmf-pill { display: inline-flex; margin: 0 0 18px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; letter-spacing: .04em; color: var(--soft); }
.xmf-h1 { margin: 0; font-size: clamp(2.6rem, 5.4vw, 5.2rem); font-weight: 560; letter-spacing: -.05em; line-height: .98; text-wrap: balance; overflow-wrap: anywhere; }
.xmf-lede { margin: 24px 0 0; max-width: 54ch; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.55; color: var(--soft); text-wrap: pretty; }
.xmf-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14.5px; }
.xmf-links a { min-height: 44px; display: inline-flex; align-items: center; }
.xmf-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
/* the readout: the model's own numbers over its contour field */
.xmf-read { border-radius: 28px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.xmf-read-art { position: relative; min-height: 280px; padding: 26px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; color: rgba(0, 0, 0, .55); }
.xmf-sigil { position: absolute; inset: 0; width: 100%; height: 100%; color: #0a0a0a; opacity: .5; }
.xmf-read-big { position: relative; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.xmf-k { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.xmf-read-big b { font-weight: 560; font-size: clamp(4.2rem, 8vw, 7.2rem); line-height: .9; letter-spacing: -.055em; color: var(--ink); font-feature-settings: 'tnum'; }
.xmf-read-id { font-family: var(--mono); font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -.02em; overflow-wrap: anywhere; }
.xmf-read-rate { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; }
.xmf-read-rate > span { display: inline-flex; align-items: baseline; gap: 10px; }
.xmf-read-rate i { font-style: normal; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.xmf-read-rate b { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -.03em; color: var(--ink); }
.xmf-read-rate em { flex-basis: 100%; font-style: normal; font-size: 13px; color: var(--faint); }
.xmf-count { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 14px; }
.xmf-count .xmf-k { font-size: 13px; }
.xmf-facts { padding: 22px 28px 26px; background: #fff; border-top: 1px solid var(--line); }
.xmf-specs .xmf-facts { border: 1px solid var(--line); border-radius: var(--xmf-r); background: var(--card); }
.xmf-h3 { margin: 0 0 14px; font-size: 13px; font-weight: 500; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.xmf-note { margin: -6px 0 14px; font-size: 13px; color: var(--soft); }
.xmf-facts dl, .xmf-mini { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 0 28px; }
.xmf-facts dl > div, .xmf-mini > div { min-width: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.xmf-facts dt, .xmf-mini dt { font: 500 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.xmf-facts dd, .xmf-mini dd { margin: 6px 0 0; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 560; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.xmf-facts .id dd, .xmf-mini dd { font-family: var(--mono); font-weight: 500; font-size: 14px; }
.xmf-mini { padding: 10px 28px 22px; background: #fff; border-top: 1px solid var(--line); }
.xmf .x-copy { flex: none; }
.xmf-specs-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; align-items: start; }
.xmf-specs { padding-block: clamp(40px, 6vw, 88px); }
/* family links (Hanzo's own models) */
.xmf-fam { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.xmf-fam-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 22px 0; }
.xmf-fam .xmf-h3 { margin: 0; }
.xmf-fam ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.xmf-fam a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font-size: 14px; transition: background .2s; }
.xmf-fam a:hover { background: #ededed; }
.xmf-fam-here { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; }
.xmf-fam-here i { color: #a3a3a3 !important; }
.xmf-fam a i, .xmf-fam-here i { font-style: normal; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
/* section heads */
.xmf-sh { margin-bottom: clamp(28px, 4vw, 52px); }
.xmf-sh h2 { margin: 0; max-width: 22ch; font-size: clamp(2rem, 3.6vw, 3.3rem); font-weight: 560; letter-spacing: -.04em; line-height: 1.04; text-wrap: balance; }
.xmf-sh.dark h2 { color: #fafafa; }
/* signature: the sibling field */
.xmf-among { padding-block: clamp(72px, 9vw, 136px); }
.xmf-among-g { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.xmf-among-g.solo { grid-template-columns: minmax(0, 720px); }
.xmf-field { position: relative; }
.xmf-plot { position: relative; aspect-ratio: 16 / 10; border-radius: var(--xmf-r); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.xmf-prov .xmf-plot { aspect-ratio: 21 / 9; }
.xmf-gx, .xmf-gy { position: absolute; pointer-events: none; }
.xmf-gx { top: 0; bottom: 0; width: 1px; background: rgba(0, 0, 0, .06); }
.xmf-gy { left: 0; right: 0; height: 1px; background: rgba(0, 0, 0, .06); }
.xmf-gx i, .xmf-gy i { position: absolute; font: 500 13px/1 var(--mono); font-style: normal; color: var(--faint); white-space: nowrap; }
.xmf-gx i { bottom: 10px; left: 6px; }
.xmf-gy i { left: 10px; top: -15px; }
.xmf-sweep { position: absolute; inset: 0; pointer-events: none; animation: xmf-sweep 7s linear infinite; }
.xmf-sweep i { position: absolute; left: 0; top: 0; bottom: 0; width: 120px; translate: -120px 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .045) 50%, rgba(0, 0, 0, 0)); }
@keyframes xmf-sweep { from { transform: translateX(0); } to { transform: translateX(calc(100% + 120px)); } }
.xmf-dot { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; z-index: 1; }
.xmf-dot b { width: 10px; height: 10px; border-radius: 50%; background: #0a0a0a; opacity: .5; transform: scale(0); transition: transform .7s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 28ms + .1s), opacity .25s; }
.xmf-field.on .xmf-dot b { transform: scale(1); animation: xmf-ping 7s linear infinite; animation-delay: calc(var(--x) * 7s - 7s); }
.xmf-dot:hover b, .xmf-dot:focus-visible b { opacity: 1; }
.xmf-dot:focus-visible { outline: 2px solid var(--ink); outline-offset: -8px; }
.xmf-dot.me { z-index: 2; }
.xmf-dot.me b { width: 14px; height: 14px; opacity: 1; box-shadow: 0 0 0 4px #fff, 0 0 0 5px #0a0a0a; }
.xmf-dot.me::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; border: 1px solid #0a0a0a; animation: xmf-ring 2.4s cubic-bezier(.16, 1, .3, 1) infinite; pointer-events: none; }
@keyframes xmf-ping { 0%, 6% { transform: scale(1); } 2% { transform: scale(1.9); opacity: 1; } 100% { transform: scale(1); } }
@keyframes xmf-ring { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.xmf-tip { position: absolute; z-index: 5; display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; margin: 16px 0 0 16px; border-radius: 12px; background: #0a0a0a; color: #fff; pointer-events: none; transform-origin: top left; white-space: nowrap; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5); }
.xmf-tip.l { translate: calc(-100% - 32px) 0; transform-origin: top right; }
.xmf-tip.d { margin-top: 16px; }
.xmf-tip:not(.d) { translate: 0 calc(-100% - 32px); }
.xmf-tip.l:not(.d) { translate: calc(-100% - 32px) calc(-100% - 32px); }
.xmf-tip b { font-size: 14px; font-weight: 560; }
.xmf-tip span { font-size: 13px; color: #a3a3a3; }
.xmf-axes { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
/* beyond: the bill comparer */
.xmf-bill { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: var(--xmf-r); border: 1px solid var(--line); background: #fff; }
.xmf-vols { display: grid; gap: 12px; }
.xmf-vol { display: grid; grid-template-columns: 9.5em 1fr 4.6em; align-items: center; gap: 12px; font-size: 14px; color: var(--soft); }
.xmf-vol b { text-align: right; font-size: 14px; color: var(--ink); font-weight: 500; }
.xmf-vol input { width: 100%; height: 44px; margin: 0; accent-color: #0a0a0a; cursor: pointer; }
.xmf-bhead, .xmf-brow { display: grid; grid-template-columns: minmax(0, 1fr) 4.8em; gap: 4px 14px; align-items: center; }
.xmf-bhead { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.xmf-bhead span:nth-child(2), .xmf-bhead span:nth-child(3) { text-align: right; }
.xmf-bhead span:nth-child(3) { display: none; }
.xmf-brows { display: grid; gap: 16px; }
.xmf-brow { grid-template-areas: 'n v' 'b b' 'c ct'; }
.xmf-bname { grid-area: n; font-size: 15px; font-weight: 560; color: var(--ink); overflow-wrap: anywhere; }
.xmf-brow > b { grid-area: v; text-align: right; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.xmf-bar { grid-area: b; height: 10px; border-radius: 99px; background: var(--card); overflow: hidden; }
.xmf-bar i, .xmf-bctx i { display: block; height: 100%; border-radius: inherit; background: #0a0a0a; transform-origin: left; }
.xmf-brow:not(.me) .xmf-bar i { background: #737373; }
.xmf-bctx { grid-area: c; height: 3px; border-radius: 99px; background: var(--card); overflow: hidden; }
.xmf-bctx i { background: #d4d4d4; }
.xmf-bctx-t { grid-area: ct; text-align: right; font-size: 13px; color: var(--faint); }
.xmf-say { margin: 0; min-height: 3em; font-size: 15px; line-height: 1.5; color: var(--soft); }
.xmf-pick { display: flex; gap: 6px; overflow-x: auto; padding: 2px; margin: 0 -4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.xmf-pick::-webkit-scrollbar { display: none; }
.xmf-pick button, .xmf-seg button { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--soft); font: 500 13.5px/1 var(--sans); cursor: pointer; }
.xmf-pick button span, .xmf-pick button i, .xmf-seg button span { position: relative; }
.xmf-pick button i { font-style: normal; font-size: 13px; color: var(--faint); }
.xmf-pick button[aria-pressed='true'], .xmf-seg button[aria-pressed='true'] { color: var(--ink); }
.xmf-pick-bg, .xmf-seg-bg { position: absolute; inset: 0; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.xmf-pick button:focus-visible, .xmf-seg button:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
/* quick start: the page's one dark room */
.xmf-quick { background: #0a0a0a; color: #fafafa; }
.xmf-quick-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.xmf-quick-id { margin: 18px 0 0; font-size: 14px; color: #a3a3a3; overflow-wrap: anywhere; }
.xmf-quick-price { margin: 14px 0 0; max-width: 38ch; font-size: 15px; line-height: 1.5; color: #a3a3a3; }
.xmf-code { min-width: 0; border-radius: var(--xmf-r); background: #171717; border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.xmf-code-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.xmf-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.xmf-tabs button { position: relative; flex: none; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: #a3a3a3; font: 500 13.5px/1 var(--sans); cursor: pointer; }
.xmf-tabs button[aria-selected='true'] { color: #fff; }
.xmf-tabs button span { position: relative; }
.xmf-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.xmf-tab-bg { position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.xmf-code .x-copy { color: #d4d4d4; }
.xmf-lang { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.xmf-pane pre { margin: 0; padding: 22px 24px 26px; overflow-x: auto; font: 400 13.5px/1.7 var(--mono); color: #d4d4d4; tab-size: 2; max-height: 520px; }
.xmf-pane pre:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.xmf-ln { display: block; white-space: pre; }
.c-keyword { color: #fff; font-weight: 600; } .c-string { color: #fafafa; } .c-key { color: #d4d4d4; } .c-bright { color: #fff; } .c-punctuation { color: #a3a3a3; } .c-comment { color: #a3a3a3; font-style: italic; } .c-number { color: #fff; } .c-ink { color: #d4d4d4; }
.xmf-key { display: inline-flex; margin: 0 24px 22px; color: #fafafa; }
.xmf-loose { padding-block: clamp(48px, 6vw, 96px); }
.xmf-loose h2 { margin: 0 0 20px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 560; letter-spacing: -.035em; }
.xmf-loose ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; max-width: 72ch; }
.xmf-loose li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.55; color: var(--soft); }
.xmf-lbtn { font-weight: 500; }
/* the shelf */
.xmf-shelf { padding-top: 0; }
.xmf-shelf-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.xmf-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); }
.xmf-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.xmf-grid li[hidden] { display: none; }
/* cards (shelf and "more from") */
.xmf-card { height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--xmf-r); background: var(--card); color: var(--ink); text-decoration: none; transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s cubic-bezier(.16, 1, .3, 1), background .3s; }
.xmf-card:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(0, 0, 0, .3); }
.xmf-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.xmf-card-t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.xmf-card-t b { font-size: 17px; font-weight: 560; letter-spacing: -.02em; line-height: 1.25; }
.xmf-card-t i { flex: none; font-style: normal; font-size: 13px; color: var(--soft); padding: 4px 8px; border-radius: 99px; background: #fff; }
.xmf-card:hover .xmf-card-t i { background: var(--card); }
.xmf-card-d { flex: 1; font-size: 14px; line-height: 1.55; color: var(--soft); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.xmf-card-f { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 22px; font-size: 13px; color: var(--soft); }
.xmf-card-f em { font-style: normal; padding: 3px 8px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; }
.xmf-card-f > span { margin-left: auto; color: var(--ink); }
/* the end: more from the maker, then the closing line over a second field */
.xmf-end { position: relative; padding: clamp(72px, 9vw, 136px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.xmf-end-sigil { position: absolute; inset: auto 0 0 0; height: 70%; width: 100%; color: #0a0a0a; opacity: .22; pointer-events: none; -webkit-mask-image: linear-gradient(transparent, #000 45%); mask-image: linear-gradient(transparent, #000 45%); }
.xmf-end > .x-wrap { position: relative; }
.xmf-more-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.xmf-more-h .xmf-h3 { margin: 0; }
.xmf-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 14px; margin: 0; padding: 0 0 6px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.xmf-rail::-webkit-scrollbar { display: none; }
.xmf-rail li { scroll-snap-align: start; }
.xmf-band { margin-top: clamp(64px, 8vw, 120px); text-align: center; }
.xmf-band h2 { margin: 0 auto; max-width: 18ch; font-size: clamp(2.2rem, 4.4vw, 4rem); font-weight: 560; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; overflow-wrap: anywhere; }
.xmf-band p { margin: 18px auto 0; max-width: 52ch; font-size: 17px; line-height: 1.5; color: var(--soft); }
.xmf-band .xmf-acts { justify-content: center; }
.xmf-prov .xmf-band { margin-top: 0; }
@media (max-width: 900px) {
.xmf-hero-g, .xmf-among-g, .xmf-quick-g { grid-template-columns: minmax(0, 1fr); }
.xmf-h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
.xmf-read-art { min-height: 220px; padding: 22px; }
.xmf-facts, .xmf-mini { padding-inline: 20px; }
.xmf-plot, .xmf-prov .xmf-plot { aspect-ratio: 4 / 5; }
.xmf-vol { grid-template-columns: 1fr 4.6em; }
.xmf-vol input { grid-column: 1 / -1; grid-row: 2; }
.xmf-rail { grid-auto-columns: 82%; }
.xmf-bill { padding: 20px; }
.xmf-tip { white-space: normal; max-width: 220px; }
.xmf-pane pre { font-size: 13px; padding: 18px; }
.xmf-key { margin: 0 18px 18px; }
.xmf-seg { max-width: 100%; overflow-x: auto; flex-wrap: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
.xmf-sweep, .xmf-dot.me::after { display: none; }
.xmf-dot b, .xmf-field.on .xmf-dot b { transform: scale(1); animation: none; transition: none; }
}
/* elite bar: no text under 13px on desktop, 14px on phones */
@media (max-width: 900px) { .xmf-pill, .xmf-k, .xmf-read-rate i, .xmf-read-rate em, .xmf-facts dt, .xmf-mini dt, .xmf-fam a i, .xmf-fam-here i, .xmf-gx i, .xmf-gy i, .xmf-tip span, .xmf-axes, .xmf-bhead, .xmf-bctx-t, .xmf-pick button i, .xmf-card-t i, .xmf-card-f, .xmf-card-f em { font-size: 14px; } }
@media (max-width: 900px) { .xmf-tabs button, .xmf-pick button { min-height: 44px; } }
/* ======================= v2: a model page read like a launch (docs/VISION.md) =======================
White canvas, ink, the model's own contour field as its picture; one accent (vermilion) for "you are here".
Type on the v2 scale; chapters with 200+ px of air; figures as heroes. */
.xmf { --acc: #0a0a0a; --muted: #737373; --pad: clamp(120px, 14vw, 220px); }
.xmf .x-wrap { width: min(100% - 48px, 1392px); }
.xmf-sec { position: relative; padding: var(--pad) 0; }
.xmf-kick { margin: 0 0 20px; font: 500 13px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.xmf-btn { height: 48px; padding: 0 24px; font-size: 16px; }
.xmf-sh { margin-bottom: clamp(40px, 5vw, 72px); }
.xmf-sh h2 { max-width: 18ch; font-size: clamp(36px, 3.9vw, 56px); font-weight: 600; line-height: 1; letter-spacing: -.04em; }
/* the launch: name, then the figures along the bottom of the first screen */
.xmf-launch { position: relative; min-height: calc(100svh - 60px); display: flex; overflow: hidden; }
.xmf-art { position: absolute; inset: 0 0 0 38%; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.xmf-art .xmf-sigil { opacity: .55; }
.xmf-launch-in { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; padding: clamp(40px, 6vh, 72px) 0 clamp(32px, 5vh, 56px); }
.xmf-launch-t { max-width: 1100px; }
.xmf-name { margin: 0; font-weight: 600; line-height: .92; letter-spacing: -.05em; overflow-wrap: anywhere; text-wrap: balance; color: var(--ink); }
.xmf-name .x-line { padding: .02em 0 .1em; }
.xmf-name.s { font-size: clamp(56px, 8.9vw, 128px); }
.xmf-name.m { font-size: clamp(48px, 6.7vw, 96px); }
.xmf-name.l { font-size: clamp(40px, 5.2vw, 76px); }
.xmf-launch .xmf-lede { margin-top: 28px; max-width: 40ch; font-size: clamp(19px, 1.67vw, 24px); line-height: 1.38; letter-spacing: -.01em; }
.xmf-launch .xmf-acts { margin-top: 36px; gap: 12px; }
.xmf-pill { margin-bottom: 22px; }
.xmf-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--ink); }
.xmf-fig { min-width: 0; padding: 22px 24px 0 0; }
.xmf-fig + .xmf-fig { padding-left: 24px; border-left: 1px solid var(--line); }
.xmf-fig dt { font: 500 13px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.xmf-fig dd { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.xmf-fig dd b { font-size: clamp(44px, 4.4vw, 72px); font-weight: 500; line-height: .95; letter-spacing: -.05em; font-feature-settings: 'tnum'; color: var(--ink); }
.xmf-fig dd > span { font-size: 14px; color: var(--faint); }
.xmf-fig .x-flap span { border-radius: 10px; }
.xmf-fig.ctx dd b { font-family: var(--sans); font-weight: 600; }
.xmf-fig.id dd { align-items: center; flex-wrap: nowrap; }
.xmf-fig.id code { min-width: 0; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
/* the model page's first screen (PLAN-COMPONENTS 5.5): words and the three numbers on the left, the 4:5 Sigil object right */
.xmf-launch-g { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 24px; align-content: center; min-height: calc(100svh - 60px); padding: clamp(32px, 5vh, 64px) 0; }
.xmf-launch-g .xmf-launch-t { grid-column: 1 / 10; grid-row: 1; }
.xmf-launch-g .xmf-figs { grid-column: 1 / 10; grid-row: 2; }
.xmf-launch-g .xmf-obj { grid-row: 1 / 3; align-self: center; }
.xmf-model .xmf-name.s { font-size: clamp(48px, 5.2vw, 76px); }
.xmf-model .xmf-name.m { font-size: clamp(42px, 4.4vw, 64px); }
.xmf-model .xmf-name.l { font-size: clamp(34px, 3.4vw, 50px); }
.xmf-model .xmf-launch .xmf-lede { max-width: 46ch; }
.xmf-model .xmf-launch .xmf-lede { margin-top: 20px; font-size: clamp(18px, 1.4vw, 21px); }
.xmf-model .xmf-launch .xmf-acts { margin-top: 28px; }
.xmf-model .xmf-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(32px, 6vh, 64px); }
.xmf-model .xmf-fig dd { flex-direction: column; align-items: flex-start; gap: 10px; }
.xmf-model .xmf-fig dd b { font-family: var(--sans); font-weight: 560; font-size: clamp(52px, 6vw, 96px); font-variant-numeric: tabular-nums; letter-spacing: -.045em; }
.xmf-obj { grid-column: 10 / 13; position: relative; margin: 0; aspect-ratio: 4 / 5; max-height: calc(100svh - 140px); justify-self: end; width: 100%; border-radius: 28px; overflow: hidden; background: #f5f5f5; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 50px 100px -70px rgba(0, 0, 0, .45); }
.xmf-obj-sigil { position: absolute; inset: 0; width: 100%; height: 100%; color: #0a0a0a; opacity: .7; }
.xmf-obj-top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 14px 0 20px; }
.xmf-obj-top .xmf-crumbs { margin: 10px 0 0; font-size: 13px; }
.xmf-obj-l { position: absolute; left: 20px; top: 84px; margin: 0; font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.xmf-obj-id { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 14px 14px 14px 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 20px 40px -24px rgba(0, 0, 0, .3); }
.xmf-obj-id > span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.xmf-obj-id code { grid-column: 1; font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.xmf-obj-id .x-copy { grid-column: 2; grid-row: span 2; align-self: end; }
/* the maker's own family, as a switcher */
.xmf-fam { border-top: 0; }
.xmf-fam-in { padding: 18px 0; }
/* the related chapter: Hanzo's "More from <maker>", then the field, the bill and the rail */
.xmf-rel { border-top: 1px solid var(--line); }
.xmf-rel .xmf-more-h { margin-bottom: clamp(40px, 5vw, 64px); }
.xmf-rel .xmf-more-h h2 { font-size: clamp(36px, 3.9vw, 56px); letter-spacing: -.04em; line-height: 1; }
.xmf-rel .xmf-plot, .xmf-among .xmf-plot { aspect-ratio: 21 / 9; border-radius: 28px; }
.xmf-rel .xmf-cost { margin-top: clamp(80px, 9vw, 140px); }
.xmf-rel .xmf-rail { margin-top: clamp(80px, 9vw, 140px); }
.xmf-dot.me b { background: #0a0a0a; box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px #0a0a0a; }
.xmf-dot.me::after { border-color: #0a0a0a; }
.xmf-dot:active b { transform: scale(.85); }
/* chapter: the bill (beyond), the month's figure as the hero */
.xmf-bill { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; padding: 0; border: 0; border-radius: 0; background: none; }
.xmf-bill-l { display: flex; flex-direction: column; gap: 22px; }
.xmf-bill-big { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.xmf-bill-big b { font-size: clamp(64px, 7.4vw, 112px); font-weight: 500; line-height: .9; letter-spacing: -.055em; color: var(--ink); }
.xmf-bill-big span { font-size: 17px; color: var(--soft); }
.xmf-bill-l .xmf-say { min-height: 0; font-size: 19px; color: var(--ink); }
.xmf-bill-r { display: flex; flex-direction: column; gap: 22px; padding: 28px; border-radius: 28px; border: 1px solid var(--line); background: #fff; box-shadow: 0 40px 80px -60px rgba(0, 0, 0, .3); }
.xmf-brow.me .xmf-bar i { background: #0a0a0a; }
/* the volume sliders, drawn (no browser-default control): a hairline track, an ink thumb that answers the hand */
.xmf-vol input { -webkit-appearance: none; appearance: none; height: 44px; background: transparent; cursor: pointer; }
.xmf-vol input::-webkit-slider-runnable-track { height: 4px; border-radius: 99px; background: linear-gradient(#0a0a0a, #0a0a0a) 0 / var(--f, 30%) 100% no-repeat, #e5e5e5; }
.xmf-vol input::-moz-range-track { height: 4px; border-radius: 99px; background: #e5e5e5; }
.xmf-vol input::-moz-range-progress { height: 4px; border-radius: 99px; background: #0a0a0a; }
.xmf-vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px #0a0a0a, 0 6px 14px -4px rgba(0, 0, 0, .35); transition: transform .15s; }
.xmf-vol input::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px #0a0a0a, 0 6px 14px -4px rgba(0, 0, 0, .35); }
.xmf-vol input:active::-webkit-slider-thumb { transform: scale(1.12); }
.xmf-vol input:focus-visible { outline: none; }
.xmf-vol input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px #0a0a0a, 0 0 0 5px #fff, 0 0 0 7px #0a0a0a; }
/* chapter: the spec sheet, Apple tech-specs style */
.xmf-specs { padding-block: var(--pad); border-top: 1px solid var(--line); }
.xmf-spec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 40px 0; border-top: 1px solid var(--ink); }
.xmf-spec + .xmf-spec, [hidden] + .xmf-spec { border-top-color: var(--line); }
.xmf-spec-h { grid-column: 1 / 5; margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.xmf-spec-b { grid-column: 5 / 13; min-width: 0; }
.xmf-spec dl { margin: 0; }
.xmf-spec dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.xmf-spec dl > div:first-child { padding-top: 0; }
.xmf-spec dt { font-size: 17px; color: var(--soft); }
.xmf-spec dd { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.xmf-spec .id dd { font-family: var(--mono); font-weight: 500; font-size: 15px; }
.xmf-spec .xmf-note { margin: 0 0 16px; }
.xmf-more-spec { position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin-top: 32px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .25s, transform .12s; }
@media (hover: hover) { .xmf-more-spec:hover { border-color: rgba(0, 0, 0, .4); } }
.xmf-more-spec:active { transform: scale(.94); }
.xmf-more-spec i { position: relative; width: 14px; height: 14px; }
.xmf-more-spec i::before, .xmf-more-spec i::after { content: ''; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; margin-top: -.75px; background: var(--ink); transition: transform .4s var(--ease); }
.xmf-more-spec i::after { transform: rotate(90deg); }
.xmf-more-spec i.on::after { transform: rotate(0deg); }
/* the dark room */
.xmf-quick-g { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; }
.xmf-quick .xmf-code { border-radius: 28px; }
.xmf-quick .xmf-pane pre { padding: 28px 32px 32px; font-size: 14.5px; }
/* the end */
.xmf-end { padding: var(--pad) 0; }
.xmf-more-h h2 { margin: 0; font-size: clamp(28px, 2.4vw, 36px); font-weight: 600; letter-spacing: -.035em; }
.xmf-rail { grid-auto-columns: minmax(320px, calc((100% - 42px) / 4)); gap: 14px; }
.xmf-card { padding: 26px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.xmf-card:hover { box-shadow: 0 0 0 1px rgba(0, 0, 0, .16), 0 34px 60px -40px rgba(0, 0, 0, .3); }
.xmf-card-t b { font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.xmf-card-t i { background: var(--card); }
.xmf-card-d { flex: none; font-size: 15px; }
.xmf-card-f { margin-top: auto; }
.xmf-band { margin-top: clamp(120px, 14vw, 200px); }
.xmf-band h2 { max-width: 16ch; font-size: clamp(44px, 5.6vw, 88px); font-weight: 600; line-height: .96; letter-spacing: -.05em; }
.xmf-band p { font-size: 19px; }
.xmf-band .xmf-acts { margin-top: 36px; }
@media (max-width: 900px) {
.xmf .x-wrap { width: min(100% - 32px, 1392px); }
.xmf { --pad: 120px; }
.xmf-launch { min-height: 0; }
.xmf-art { inset: 0 -20% 40% 10%; }
.xmf-launch-in { gap: 48px; padding: 32px 0 40px; }
.xmf-name.s { font-size: clamp(48px, 13vw, 60px); }
.xmf-name.m { font-size: clamp(40px, 11vw, 52px); }
.xmf-name.l { font-size: clamp(34px, 9vw, 44px); }
.xmf-launch .xmf-lede { font-size: 19px; }
.xmf-figs { grid-template-columns: 1fr 1fr; }
.xmf-fig { padding: 18px 12px 18px 0; }
.xmf-fig + .xmf-fig { padding-left: 12px; }
.xmf-fig:nth-child(odd) { padding-left: 0; border-left: 0; }
.xmf-fig:nth-child(n + 3) { border-top: 1px solid var(--line); }
.xmf-fig.id { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
.xmf-fig dd b { font-size: 44px; }
.xmf-fig dt, .xmf-fig dd > span { font-size: 14px; }
.xmf-fam ul { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
.xmf-fam li { flex: none; }
.xmf-sh h2 { font-size: 36px; }
.xmf-among .xmf-plot { aspect-ratio: 4 / 5; border-radius: 22px; }
.xmf-bill { grid-template-columns: minmax(0, 1fr); }
.xmf-bill-r { padding: 20px; border-radius: 22px; }
.xmf-bill-big b { font-size: 64px; }
.xmf-spec { display: block; padding: 32px 0; }
.xmf-spec-h { margin-bottom: 20px; font-size: 24px; }
.xmf-spec dl > div { grid-template-columns: 1fr; gap: 4px; }
.xmf-spec dt, .xmf-spec dd { font-size: 16px; }
.xmf-quick-g { grid-template-columns: minmax(0, 1fr); }
.xmf-quick .xmf-code { border-radius: 22px; }
.xmf-rail { grid-auto-columns: 82%; }
.xmf-band h2 { font-size: 40px; }
}
/* a maker's shelf (v2): name and count, then the guest terminal as the product object */
.xmf-maker .xmf-art { inset: 0 0 30% 45%; }
.xmf-maker-g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.xmf-maker-g .xmf-launch-t { grid-column: 1 / 9; }
.xmf-maker-n { grid-column: 9 / 13; margin: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }
.xmf-maker-n b { font-size: clamp(120px, 14vw, 220px); font-weight: 500; line-height: .78; letter-spacing: -.07em; font-feature-settings: 'tnum'; color: var(--ink); }
.xmf-maker-n > span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.xmf-guest { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; padding-top: 32px; border-top: 1px solid var(--ink); }
.xmf-guest-h { grid-column: 1 / 5; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.xmf-guest-h .xmf-guest-t { font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.xmf-guest-h .xmf-guest-k { padding: 4px 10px; border-radius: 8px; background: var(--card); font-size: 14px; }
.xmf-guest-h > span:not(.xmf-guest-t):not(.xmf-guest-k) { font-size: 15px; color: var(--soft); }
.xmf-guest-h p { margin: 10px 0 0; max-width: 34ch; font-size: 17px; line-height: 1.5; color: var(--soft); }
.xmf-term { grid-column: 5 / 13; min-width: 0; border-radius: 28px; background: #0a0a0a; color: #e5e5e5; overflow: hidden; box-shadow: 0 50px 100px -60px rgba(0, 0, 0, .55); }
.xmf-term-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 24px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.xmf-term-h span { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: #a3a3a3; }
.xmf-term-h span i { width: 8px; height: 8px; border-radius: 50%; background: #f5f5f5; }
.xmf-term .x-copy { color: #d4d4d4; }
.xmf-term pre { margin: 0; padding: 24px; overflow-x: auto; font: 500 14px/1.7 var(--mono); }
.xmf-term code { font: inherit; }
.xmf-prov .xmf-among .xmf-plot { aspect-ratio: 21 / 8; }
.xmf-shelf { padding-top: 0; }
.xmf-grid { gap: 16px; }
@media (max-width: 900px) {
.xmf-maker .xmf-art { inset: 0 -30% 55% 20%; }
.xmf-maker-g, .xmf-guest { display: block; }
.xmf-maker-n { margin-top: 40px; align-items: flex-start; text-align: left; }
.xmf-maker-n b { font-size: 120px; }
.xmf-maker-n > span { font-size: 14px; }
.xmf-maker-top { position: relative; justify-content: space-between; margin-top: 32px; }
.xmf-term { margin-top: 24px; border-radius: 22px; }
.xmf-term pre { padding: 18px; font-size: 13px; }
.xmf-prov .xmf-among .xmf-plot { aspect-ratio: 4 / 5; }
}
/* hover answers on the model page's controls */
.xmf-pick button:hover { color: var(--ink); }
.xmf-tabs button:hover { color: #fafafa; }
.xmf-more-h .x-arrow:hover, .xmf-key:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
/* every press answers (JAMES.md 4): 1px down or a .98 scale, no layout jump */
.xmf-card:active { transform: translateY(1px) !important; }
.xmf-btn:active, .xmf .x-btn:active { transform: scale(.98); }
.xmf-pick button:active, .xmf-tabs button:active, .xmf-seg button:active { transform: scale(.97); }
.xmf-fam a:active { transform: scale(.98); }
.xmf .x-arrow:active { transform: translateY(1px); }
.xmf :focus-visible { outline: 2px solid #0a0a0a; outline-offset: 3px; }
.xmf-quick :focus-visible { outline-color: #fafafa; }
@media (max-width: 900px) {
.xmf-launch-g { display: flex; flex-direction: column; min-height: 0; padding: 28px 0 56px; }
.xmf-launch-g .xmf-launch-t { order: 1; }
.xmf-launch-g .xmf-obj { order: 2; aspect-ratio: auto; height: auto; display: flex; flex-direction: column; justify-content: space-between; gap: 72px; padding: 0 0 12px; }
.xmf-launch-g .xmf-obj-top, .xmf-launch-g .xmf-obj-id { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
.xmf-launch-g .xmf-obj-id { margin: 0 12px; }
.xmf-launch-g .xmf-obj-l { display: none; }
.xmf-launch-g .xmf-figs { order: 3; }
.xmf-obj-top { padding: 10px 10px 0 16px; }
.xmf-obj-top .xmf-crumbs { font-size: 14px; }
.xmf-model .xmf-name.s { font-size: clamp(44px, 12vw, 56px); }
.xmf-model .xmf-name.m { font-size: clamp(38px, 10vw, 48px); }
.xmf-model .xmf-name.l { font-size: clamp(32px, 8.4vw, 40px); }
.xmf-model .xmf-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xmf-model .xmf-fig { padding: 16px 8px 0 0; }
.xmf-model .xmf-fig + .xmf-fig { padding-left: 10px; border-left: 1px solid var(--line); border-top: 0; }
.xmf-model .xmf-fig dd b { font-size: clamp(24px, 7.4vw, 36px); letter-spacing: -.04em; }
.xmf-model .xmf-fig dd > span { display: none; }
.xmf-obj { margin-top: 32px; max-height: none; border-radius: 22px; }
.xmf-rel .xmf-plot { aspect-ratio: 4 / 5; border-radius: 22px; }
.xmf-rel .xmf-more-h h2 { font-size: 36px; }
}
/* one pause (ModelFilm's FilmPause) stops every loop on the page: the Sigils, the field's light, the rings */
.xmf-maker-top { position: absolute; right: 0; top: 0; display: flex; align-items: center; gap: 16px; }
.xmf-maker-top .xmf-crumbs { margin: 0; }
.xmf-maker-g { position: relative; }
[data-mpaused] .xmf-sweep, [data-mpaused] .xmf-dot.me::after, [data-mpaused] .xmf-field.on .xmf-dot b { animation-play-state: paused; }
/* Hanzo's model cards (SpecCard) in the rail and on the shelf */
.xmf-rail > li, .xmf-grid > li { min-width: 0; }
.xmf-rail .sc-card { min-height: 220px; }
@media (max-width: 900px) { .xmf-maker-top { position: relative; justify-content: space-between; margin-top: 36px; } }
/* ======================= MASTER.md: Hanzo's deck (section 3) =======================
Neutral ramp only; scale has rhythm (h1 52px, section headings 26px, figures 64px, one big thing per screen);
tiles flat (no shadow, no outline and shadow together); radii 6/8/12/16/24, art 20, composer 28; motion from the
deck (press 90ms, base 300, ease-emphasis), no springs. These rules come last so they win. */
.xmf { --ink: #0a0a0a; --soft: #525252; --faint: #737373; --muted: #737373; --card: #f5f5f5; --line: rgba(0, 0, 0, .1); --pad: clamp(72px, 11vw, 188px); --gut: clamp(16px, 4vw, 32px); }
.xmf .x-wrap { width: min(100% - 2 * var(--gut), 1152px); }
.xmf-model .xmf-name.s { font-size: 52px; }
.xmf-model .xmf-name.m { font-size: 44px; }
.xmf-model .xmf-name.l { font-size: 32px; }
.xmf-name { font-weight: 497; line-height: 1.05; letter-spacing: -.035em; }
.xmf-model .xmf-launch .xmf-lede { font-size: clamp(17px, 1.46vw, 21px); color: var(--soft); }
.xmf-model .xmf-fig dd b { font-size: 64px; font-weight: 300; letter-spacing: -.04em; }
.xmf-fig dt, .xmf-obj-id > span, .xmf-obj-l, .xmf-k, .xmf-maker-n > span { font-size: 12px; letter-spacing: .14em; font-weight: 500; }
.xmf-obj { background: #f5f5f5; box-shadow: none; border-radius: 24px; }
.xmf-obj-id { box-shadow: none; border-radius: 16px; }
.xmf-sh h2, .xmf-rel .xmf-more-h h2, .xmf-spec-h, .xmf-quick .xmf-sh h2, .xmf-guest-h .xmf-guest-t { font-size: 26px; font-weight: 497; letter-spacing: -.02em; line-height: 1.2; }
.xmf-spec { padding: 27px 0; }
.xmf-spec dt, .xmf-spec dd { font-size: 16px; }
.xmf-bill-big b { font-size: 64px; font-weight: 300; letter-spacing: -.04em; }
.xmf-bill-r { box-shadow: none; border-radius: 24px; }
.xmf-term { box-shadow: none; border-radius: 24px; background: #171717; }
.xmf-quick { background: #000; }
.xmf-quick .xmf-code { border-radius: 24px; background: #171717; }
.xmf-band { margin-top: clamp(72px, 11vw, 188px); }
.xmf-band h2 { font-size: 44px; font-weight: 497; letter-spacing: -.03em; line-height: 1.1; }
.xmf-band p { font-size: 17px; color: var(--soft); }
.xmf-maker-n b { font-size: 84px; font-weight: 300; letter-spacing: -.04em; line-height: .9; }
.xmf-btn { height: 48px; font-size: 15px; transition: background-color .15s cubic-bezier(0, 0, .2, 1), border-color .15s cubic-bezier(0, 0, .2, 1), transform .09s cubic-bezier(0, 0, .2, 1); }
.xmf .x-btn:active, .xmf-btn:active { transform: scale(.97); }
.xmf-plot { box-shadow: none; border: 0; background: #f5f5f5; }
.xmf-rel .xmf-plot, .xmf-among .xmf-plot { border-radius: 24px; }
@media (max-width: 899px) {
.xmf-model .xmf-name.s { font-size: 40px; }
.xmf-model .xmf-name.m { font-size: 34px; }
.xmf-model .xmf-name.l { font-size: 28px; }
.xmf-model .xmf-fig dd b { font-size: clamp(24px, 7.4vw, 32px); }
.xmf-bill-big b { font-size: 44px; }
.xmf-band h2 { font-size: 32px; }
.xmf-maker-n b { font-size: 64px; }
}
/* the model page's sticky local nav: the page's own section names and its ask (MASTER.md 4.7) */
.xmf-local { position: sticky; top: 60px; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.xmf-local-in { display: flex; align-items: center; gap: 27px; min-height: 56px; }
.xmf-local-n { font-size: 16px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 32ch; }
.xmf-local-l { display: flex; gap: 17px; margin-left: auto; }
.xmf-local-l a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--soft); text-decoration: underline 1px transparent; text-underline-offset: 3px; transition: color .15s cubic-bezier(0, 0, .2, 1), text-decoration-color .15s cubic-bezier(0, 0, .2, 1); }
@media (hover: hover) { .xmf-local-l a:hover { color: var(--ink); text-decoration-color: currentColor; } }
.xmf-local .x-btn { height: 40px; padding: 0 17px; font-size: 14px; }
@media (max-width: 899px) { .xmf-local-l { display: none; } .xmf-local .x-btn { margin-left: auto; height: 44px; } }
/* the deck's 13-column split, 8 and 5: words and figures left, the Sigil object right */
.xmf-launch-g { grid-template-columns: repeat(13, minmax(0, 1fr)); }
.xmf-launch-g .xmf-launch-t, .xmf-launch-g .xmf-figs { grid-column: 1 / 9; }
.xmf-launch-g .xmf-obj { grid-column: 9 / 14; }
.xmf-obj-id code { font-size: 14px; }
/* Copy (model ID, quick start, the guest terminal): 44px targets with a legible label; ink on white, white-78% on graphite */
.xmf .x-copy { height: 44px; min-width: 44px; padding: 0 17px; justify-content: center; background: #fff; border-color: rgba(0, 0, 0, .15); color: #0a0a0a; font-size: 14px; transition: border-color .15s cubic-bezier(0, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1); }
@media (hover: hover) { .xmf .x-copy:hover { border-color: rgba(0, 0, 0, .4); } }
.xmf-quick .x-copy, .xmf-term .x-copy { background: transparent; border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .78); }
@media (hover: hover) { .xmf-quick .x-copy:hover, .xmf-term .x-copy:hover { color: #fafafa; border-color: rgba(255, 255, 255, .4); } }
/* Hanzo's own models: the hero object is the model's film (over its poster), its words in white */
.xmf-obj.film { background: #000; }
.xmf-obj-film { position: absolute; inset: 0; display: block; }
.xmf-obj.film .xmf-crumbs, .xmf-obj.film .xmf-crumbs a, .xmf-obj.film .xmf-crumbs span, .xmf-obj.film .xmf-obj-l { color: rgba(255, 255, 255, .78); }
.xmf-obj.film .xmf-crumbs [aria-current] { color: #fafafa; }
.xmf-obj.film :focus-visible { outline-color: #fafafa; box-shadow: 0 0 0 6px #000; }
/* ======================= v3 (critic 7 Nov): one object a screen, nothing leaves the site unannounced ======================= */
/* the spec sheet sits right under the hero; its left column holds the heading and the rates drawn to scale */
.xmf-model .xmf-specs { padding: 72px 0 96px; }
.xmf-spec-l { grid-column: 1 / 5; min-width: 0; padding-right: 24px; }
.xmf-spec-l .xmf-spec-h { margin: 0; }
.xmf-rb { display: grid; gap: 17px; margin-top: 44px; max-width: 300px; }
.xmf-rb-r { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10.5px; }
.xmf-rb-r > span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.xmf-rb-r i { position: relative; height: 8px; border-radius: 99px; background: #ededed; overflow: hidden; }
.xmf-rb-r i b { position: absolute; inset: 0; border-radius: inherit; background: var(--ink); transform-origin: 0 50%; transition: transform .9s cubic-bezier(.16, 1, .3, 1) .15s; }
.xmf-rb-r + .xmf-rb-r i b { transition-delay: .3s; }
.xmf-rb-r em { font-style: normal; font-size: 14px; color: var(--ink); text-align: right; min-width: 6ch; }
/* a long spec, in MASTER 4.7's four groups */
.xmf-spec-p + .xmf-spec-p { margin-top: 27px; }
.xmf-spec-p h4 { margin: 0 0 6.5px; font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.xmf-spec-p dl > div:first-child { padding-top: 10.5px; }
/* Kai's "Limits" (and any section Hanzo adds later) on the deck scale, with its drawn object beside it */
.xmf-loose h2 { margin: 0 0 17px; font-size: 26px; font-weight: 497; line-height: 1.2; letter-spacing: -.02em; }
.xmf-model .xmf-loose { padding: 96px 0; border-top: 1px solid var(--line); }
.xmf-loose.drawn .xmf-loose-g { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.xmf-loose.drawn .xmf-loose-t { grid-column: 1 / 8; }
.xmf-loose.drawn .xmf-reach { grid-column: 9 / 14; }
.xmf-reach { margin: 0; padding: 27px; border-radius: 24px; background: #f5f5f5; }
.xmf-reach-bar { position: relative; height: 44px; border-radius: 12px; background: #fff; overflow: hidden; }
.xmf-reach-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.xmf-reach-bar i.all { right: 0; background: #d4d4d4; }
.xmf-reach.on .xmf-reach-bar i { transform: scaleX(1); }
.xmf-reach-bar.cells { display: flex; gap: 3px; background: transparent; border-radius: 0; overflow: visible; }
.xmf-reach-bar.cells i { position: relative; flex: 1; border-radius: 3px; background: #d4d4d4; transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 22ms); }
.xmf-reach-bar.cells i.tr { background: var(--ink); }
.xmf-reach.on .xmf-reach-bar.cells i { transform: scaleY(1); }
.xmf-reach figcaption { position: relative; height: 20px; margin-top: 10.5px; }
.xmf-reach figcaption span { position: absolute; top: 0; font-size: 13px; color: var(--soft); white-space: nowrap; }
.xmf-reach figcaption .tr { left: 0; color: var(--ink); }
.xmf-reach figcaption .all { right: 0; }
/* the sibling field: the page's own model is named at rest; models without a page here are points, not links */
.xmf-dot.far b { opacity: .28; }
.xmf-dot.far { cursor: default; }
.xmf-me-l { position: absolute; z-index: 3; margin: -9px 0 0 18px; padding: 3px 8px; border-radius: 6px; background: #0a0a0a; color: #fafafa; font-size: 13px; font-weight: 500; line-height: 1.3; white-space: nowrap; pointer-events: none; }
.xmf-me-l.l { translate: calc(-100% - 36px) 0; }
/* Copy and the pause answer the pointer with a fill as well as the rule */
.xmf .x-copy, .xmf .v2-mpause { transition: background-color .15s cubic-bezier(0, 0, .2, 1), border-color .15s cubic-bezier(0, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1), transform .09s cubic-bezier(0, 0, .2, 1); }
.xmf .x-copy:hover, .xmf .v2-mpause:hover { background-color: #ededed; }
.xmf-quick .x-copy:hover, .xmf-term .x-copy:hover { background-color: rgba(255, 255, 255, .08); }
/* idle life where a screen sat still: a light runs along the drawn rates, the shelf's light band sweeps Hanzo's other
cards, the quick start's code waits on a caret. One pause stops all three; reduced motion drops them. */
.xmf-rb-r i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)) -60px 0 / 60px 100% no-repeat; animation: xmf-rb-light 4.5s linear infinite; }
.xmf-rb-r + .xmf-rb-r i::after { animation-delay: .6s; }
@keyframes xmf-rb-light { to { background-position: calc(100% + 60px) 0; } }
.xmf-also { position: relative; isolation: isolate; }
.xmf-also::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .045) 50%, rgba(0, 0, 0, 0)) 0 -240px / 100% 240px no-repeat; animation: xmf-shelf-light 7s linear infinite; }
.xmf-code .x-codeblock-l:last-child::after { content: ''; display: inline-block; width: 8px; height: 1.1em; margin-left: 3px; vertical-align: -2px; background: #a3a3a3; animation: xmf-caret 1.1s steps(2, jump-none) infinite; }
@keyframes xmf-caret { 50% { opacity: 0; } }
.xmf-live { display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: #fafafa; vertical-align: 1px; animation: xmf-live 2s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes xmf-live { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } }
[data-mpaused] .xmf-live { animation-play-state: paused; }
@media (min-width: 900px) { .xmf-quick .xmf-sh { position: sticky; top: 148px; } }
@media (prefers-reduced-motion: reduce) { .xmf-live { animation: none; } }
[data-mpaused] .xmf-rb-r i::after, [data-mpaused] .xmf-also::before, [data-mpaused] .xmf-code .x-codeblock-l:last-child::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .xmf-rb-r i::after, .xmf-also::before, .xmf-code .x-codeblock-l:last-child::after { animation: none; background: none; } }
/* the quick start shows its whole sample: no inner vertical scroll that traps the wheel (the kit's pre contains overscroll) */
.xmf-pane pre, .xmf-quick .xmf-pane pre { max-height: none; overflow-y: hidden; overscroll-behavior-y: auto; }
/* the rail: six siblings at most, all pages of this site */
.xmf-rail.few { grid-auto-columns: minmax(280px, calc((100% - 28px) / 3)); }
/* Hanzo's other "More from" cards: one line each, the description on hover or focus */
.xmf-also { margin: 44px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.xmf-also li { border-bottom: 1px solid var(--line); }
.xmf-also-a { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) 64px; align-items: center; gap: 0 24px; min-height: 72px; padding: 12px 16px; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background-color .15s cubic-bezier(0, 0, .2, 1), transform .09s cubic-bezier(0, 0, .2, 1); }
.xmf-also-a b { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
/* the model id, as hanzo.ai prints it under the name */
.xmf-also-id { grid-column: 1; grid-row: 2; margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xmf-also-a b i { display: inline-block; margin-left: 8px; font-style: normal; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.xmf-also-c { grid-column: 3; grid-row: 1; font-size: 13px; color: var(--soft); }
.xmf-also-d { grid-column: 2; grid-row: 1; font-size: 13px; line-height: 18px; color: var(--soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; opacity: 0; transform: translateY(4px); transition: opacity .3s cubic-bezier(.16, 1, .3, 1), transform .3s cubic-bezier(.16, 1, .3, 1); }
.xmf-also-a:hover { background: #f5f5f5; }
.xmf-pick button:not([aria-pressed='true']):hover { background: #f5f5f5; }
.xmf-pick button { transition: background-color .15s cubic-bezier(0, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1), transform .09s cubic-bezier(0, 0, .2, 1); }
@media (hover: hover) {
.xmf-also-a:hover b i { transform: translateX(4px); }
.xmf-also-a.far:hover b i { transform: translate(3px, -3px); }
.xmf-also-a:hover .xmf-also-d { opacity: 1; transform: none; }
}
.xmf-also-a:focus-visible .xmf-also-d { opacity: 1; transform: none; }
.xmf-also-a:active { transform: scale(.995); }
.xmf-also-a:focus-visible { outline-offset: -2px; }
/* a maker's shelf: h1 on the deck scale so the count is the one big thing; the shelf is a list of 72px rows */
.xmf-prov .xmf-name.m, .xmf-prov .xmf-name.l { font-size: 52px; line-height: 1.05; }
.xmf-maker-n b { font-size: 64px; }
.xmf-prov .xmf-grid { display: block; border-top: 1px solid var(--ink); }
.xmf-prov .xmf-grid > li { border-bottom: 1px solid var(--line); }
/* the field's light carries on down the shelf: a faint band sweeps the rows, top to bottom, by itself */
.xmf-prov .xmf-grid { position: relative; isolation: isolate; }
.xmf-prov .xmf-grid::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .045) 50%, rgba(0, 0, 0, 0)) 0 -360px / 100% 360px no-repeat; animation: xmf-shelf-light 9s linear infinite; }
@keyframes xmf-shelf-light { to { background-position: 0 calc(100% + 360px); } }
[data-mpaused] .xmf-prov .xmf-grid::before { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .xmf-prov .xmf-grid::before { animation: none; background: none; } }
.xmf-prov .sc-card.xmf-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 132px; align-items: center; gap: 0 24px; min-height: 72px; height: auto; padding: 12px 16px; border-radius: 12px; background: transparent; color: var(--ink); transform: none !important; transition: background-color .15s cubic-bezier(0, 0, .2, 1), transform .09s cubic-bezier(0, 0, .2, 1); }
.xmf-row .sc-top { display: contents; }
.xmf-row .sc-t { grid-column: 1; grid-row: 1; font-size: 17px; line-height: 24px; letter-spacing: -.01em; color: var(--ink); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.xmf-row .sc-meta { grid-column: 2; grid-row: 1; margin: 0; font-size: 13px; color: var(--soft); transition: opacity .3s cubic-bezier(.16, 1, .3, 1); }
.xmf-row .sc-meta b { color: var(--ink); }
/* the model id (hanzo.ai prints it in mono under the name) sits under the name; the rate keeps the middle column */
.xmf-row .sc-meta { display: contents; }
.xmf-row .sc-meta .xmf-id { grid-column: 1; grid-row: 2; margin-top: 2px; font: 400 12px/16px var(--mono); color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xmf-row .sc-meta b { grid-column: 2; grid-row: 1; font: 400 13px/18px var(--mono); transition: opacity .3s cubic-bezier(.16, 1, .3, 1); }
.xmf-row .sc-d { grid-column: 2; grid-row: 1; margin: 0; max-width: none; font-size: 13px; line-height: 18px; color: var(--soft); -webkit-line-clamp: 2; opacity: 0; transform: translateY(4px); transition: opacity .3s cubic-bezier(.16, 1, .3, 1), transform .3s cubic-bezier(.16, 1, .3, 1); }
.xmf-row .sc-tags { grid-column: 3; grid-row: 1; flex-wrap: nowrap; justify-content: flex-end; }
.xmf-row .sc-pill { border-color: rgba(0, 0, 0, .15); color: var(--soft); }
.xmf-row.sc-card:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; box-shadow: none; }
@media (hover: hover) {
.xmf-prov .sc-card.xmf-row:hover { background: #f5f5f5; }
.xmf-row:hover .sc-t { transform: translateX(4px); }
.xmf-row:hover .sc-d { opacity: 1; transform: none; }
.xmf-row:hover .sc-meta b { opacity: 0; }
}
.xmf-row:focus-visible .sc-d { opacity: 1; transform: none; }
.xmf-row:focus-visible .sc-meta b { opacity: 0; }
.xmf-prov .sc-card.xmf-row:active { transform: scale(.995) !important; }
@media (max-width: 899px) {
.xmf-model .xmf-specs { padding: 56px 0 72px; }
.xmf-spec-l { padding: 0; }
.xmf-rb { margin: 20px 0 27px; max-width: none; }
.xmf-model .xmf-loose { padding: 72px 0; }
.xmf-loose.drawn .xmf-loose-g { display: block; }
.xmf-reach { margin-top: 27px; padding: 17px; }
.xmf-me-l { font-size: 13px; }
.xmf-rail.few { grid-auto-columns: 82%; }
.xmf-also-a { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 0; }
.xmf-also-d { display: none; }
.xmf-also-c { grid-column: 2; }
.xmf-prov .xmf-name.m, .xmf-prov .xmf-name.l { font-size: 40px; }
.xmf-prov .sc-card.xmf-row { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 0; border-radius: 0; }
.xmf-row .sc-meta b { grid-column: 1; grid-row: 3; margin-top: 2px; }
.xmf-row .sc-d { display: none; }
.xmf-row .sc-tags { grid-column: 2; grid-row: 1 / 3; }
.xmf-row .sc-tags .sc-pill + .sc-pill { display: none; }
.xmf-prov .sc-card.xmf-row:active { background: #f5f5f5; }
/* the maker's contour field sits below the words, never through the lede */
.xmf-maker .xmf-art { inset: 400px -30% auto 15%; height: 480px; -webkit-mask-image: linear-gradient(transparent, #000 30%); mask-image: linear-gradient(transparent, #000 30%); }
}
@media (prefers-reduced-motion: reduce) {
.xmf-rb-r i b, .xmf-reach-bar i, .xmf-row .sc-d, .xmf-row .sc-meta, .xmf-also-d { transition: none; }
}
/* 8 Nov: rows keep two pills on one line (a long modality never breaks inside its pill) */
.xmf-row .sc-pill { white-space: nowrap; }
.xmf-row .sc-tags .sc-pill:nth-child(n + 3) { display: none; }
/* Hanzo's own shelf: its filmed models as Hanzo's black cards (SPEC: Enso spans both rows, 2fr 1fr 1fr) */
.xmf-films { padding: 0; }
.xmf-films ul { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; margin: 0; padding: 0; list-style: none; }
.xmf-films li { min-width: 0; }
.xmf-films li:first-child { grid-row: 1 / 3; }
.xmf-films li:nth-child(4) { grid-column: 2 / 4; }
.xmf-films .sc-card { height: 100%; }
@media (max-width: 899px) {
.xmf-films ul { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: 220px; }
.xmf-films li:first-child { grid-row: span 2; }
.xmf-films li:nth-child(4) { grid-column: auto; }
/* the maker's contour field stays right of the guest key's words */
.xmf-maker .xmf-art { -webkit-mask-image: radial-gradient(ellipse 60% 55% at 80% 40%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 80% 40%, #000 25%, transparent 75%); }
}
/* ======================= dark (docs/DARK-MODE.md, 8 Nov): live hanzo.ai's own dark, mapped by role =======================
Hanzo's selector (html:not(.light)) and Hanzo's tokens only, so bright mode is untouched and no dark colour is ours.
The page's local tokens give way to the page's (Hanzo's) in dark: --muted here was a caption grey, so it takes
Hanzo's tertiary text. Hanzo's black model cards (SPEC), the films, the guest terminal and the quick start room stay
black in both modes. */
html:not(.light) .xmf { --ink: inherit; --soft: inherit; --faint: inherit; --line: inherit; --card: inherit; --muted: var(--text-tertiary); --acc: var(--foreground); }
/* the first screen carries Hanzo's hero glow */
html:not(.light) .xmf-launch { background-image: radial-gradient(60% 70% at 50% 0%, color-mix(in srgb, var(--foreground) 9%, transparent), transparent 70%); }
/* the contour fields draw in the page's ink */
html:not(.light) .xmf-sigil, html:not(.light) .xmf-obj-sigil, html:not(.light) .xmf-end-sigil { color: var(--foreground); }
/* the hero object, its model ID card and the bill: Hanzo's card surfaces and hairline */
html:not(.light) .xmf-obj:not(.film) { background: var(--x-fill); box-shadow: inset 0 0 0 1px var(--border); }
html:not(.light) .xmf-obj-id { background: var(--x-raised); box-shadow: 0 0 0 1px var(--border); }
html:not(.light) .xmf-bill-r { background: var(--x-raised); }
html:not(.light) .xmf-local { background: var(--bg); }
/* the field */
html:not(.light) .xmf-plot { background: var(--x-fill); }
html:not(.light) .xmf-gx, html:not(.light) .xmf-gy { background: var(--glass); }
html:not(.light) .xmf-sweep i { background: linear-gradient(90deg, transparent, var(--glass) 50%, transparent); }
html:not(.light) .xmf-dot b { background: var(--foreground); }
html:not(.light) .xmf-dot.me b { background: var(--foreground); box-shadow: 0 0 0 4px var(--x-fill), 0 0 0 5.5px var(--foreground); }
html:not(.light) .xmf-dot.me::after { border-color: var(--foreground); }
html:not(.light) .xmf-tip { background: var(--secondary); color: var(--secondary-foreground); box-shadow: 0 0 0 1px var(--border); }
html:not(.light) .xmf-tip span { color: var(--muted-foreground); }
html:not(.light) .xmf-me-l { background: var(--foreground); color: var(--primary-foreground); }
/* the bill's bars and sliders */
html:not(.light) .xmf-bar, html:not(.light) .xmf-bctx { background: var(--secondary); }
html:not(.light) .xmf-bar i, html:not(.light) .xmf-brow.me .xmf-bar i { background: var(--foreground); }
html:not(.light) .xmf-brow:not(.me) .xmf-bar i { background: var(--border-selected); }
html:not(.light) .xmf-bctx i { background: var(--border-strong); }
html:not(.light) .xmf-vol input::-webkit-slider-runnable-track { background: linear-gradient(var(--foreground), var(--foreground)) 0 / var(--f, 30%) 100% no-repeat, var(--secondary); }
html:not(.light) .xmf-vol input::-moz-range-track { background: var(--secondary); }
html:not(.light) .xmf-vol input::-moz-range-progress { background: var(--foreground); }
html:not(.light) .xmf-vol input::-webkit-slider-thumb { background: var(--x-raised); box-shadow: 0 0 0 1.5px var(--foreground), 0 6px 14px -4px rgba(0, 0, 0, .35); }
html:not(.light) .xmf-vol input::-moz-range-thumb { background: var(--x-raised); box-shadow: 0 0 0 1.5px var(--foreground), 0 6px 14px -4px rgba(0, 0, 0, .35); }
html:not(.light) .xmf-vol input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--foreground), 0 0 0 5px var(--bg), 0 0 0 7px var(--foreground); }
/* the drawn rates and Kai's reach */
html:not(.light) .xmf-rb-r i { background: var(--secondary); }
html:not(.light) .xmf-rb-r i::after { background-image: linear-gradient(90deg, transparent, color-mix(in srgb, var(--background) 55%, transparent), transparent); }
html:not(.light) .xmf-reach { background: var(--x-fill); }
html:not(.light) .xmf-reach-bar:not(.cells) { background: var(--popover); }
html:not(.light) .xmf-reach-bar i.all, html:not(.light) .xmf-reach-bar.cells i { background: var(--border-strong); }
html:not(.light) .xmf-reach-bar.cells i.tr { background: var(--foreground); }
/* controls: Hanzo's secondary (card surface, control edge); a selected pill is the primary (light fill, dark text) */
html:not(.light) .xmf .x-copy { background: var(--x-raised); border-color: var(--border-control); color: var(--foreground); }
html:not(.light) .xmf .x-copy:hover, html:not(.light) .xmf .v2-mpause:hover { background-color: var(--secondary); }
@media (hover: hover) { html:not(.light) .xmf .x-copy:hover, html:not(.light) .xmf-more-spec:hover { border-color: var(--ring); } }
html:not(.light) .xmf-quick .x-copy, html:not(.light) .xmf-term .x-copy { background: transparent; border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .78); }
html:not(.light) .xmf-quick .x-copy:hover, html:not(.light) .xmf-term .x-copy:hover { background-color: rgba(255, 255, 255, .08); color: #fafafa; }
html:not(.light) .xmf-more-spec { background: var(--x-raised); }
html:not(.light) .xmf-fam a:hover { background: var(--secondary); }
html:not(.light) .xmf-fam-here { color: var(--primary-foreground); }
html:not(.light) .xmf-fam-here i { color: var(--primary-foreground) !important; }
html:not(.light) .xmf-pick button:not([aria-pressed='true']):hover { background: var(--x-fill); }
/* rows: the hover fill, the light band, the pills */
html:not(.light) .xmf-also-a:hover, html:not(.light) .xmf-prov .sc-card.xmf-row:hover { background: var(--x-fill); }
@media (max-width: 899px) { html:not(.light) .xmf-prov .sc-card.xmf-row:active { background: var(--x-fill); } }
html:not(.light) .xmf-also::before { background: linear-gradient(transparent, var(--glass) 50%, transparent) 0 -240px / 100% 240px no-repeat; }
html:not(.light) .xmf-prov .xmf-grid::before { background: linear-gradient(transparent, var(--glass) 50%, transparent) 0 -360px / 100% 360px no-repeat; }
html:not(.light) .xmf-row .sc-pill { border-color: var(--border-control); }
html:not(.light) .xmf :focus-visible { outline-color: var(--foreground); }
html:not(.light) .xmf-quick :focus-visible { outline-color: #fafafa; }
@media (prefers-reduced-motion: reduce) { html:not(.light) .xmf-rb-r i::after, html:not(.light) .xmf-also::before, html:not(.light) .xmf-prov .xmf-grid::before { background: none; } }