abuzreq's picture
Transformer models: block-stack diagram by architecture, per-family parts, record and Contribute pages; likes on the cards
855067d verified
Raw History Blame
55.6 kB
/* Model Bending Navigator. Tokens first; dark mode redefines them. The header and the code boxes stay dark. */
:root {
--bg: #F4F5F7; --surface: #FFFFFF; --field: #FAFAFB; --ink: #14161B; --ink2: #2E323A; --muted: #555B66; --faint: #6B717C;
--line: #DDE0E6; --line2: #ECEEF1; --control: #C7CBD3; --soft: #F7F8FA; --soft2: #F7F7FB; --softline: #E3E4F2;
--accent: #4338CA; --accent-ink: #3730A3; --accent-soft: #ECEBFB; --accent-tint: #F4F3FD; --on-accent: #FFFFFF;
--ok: #047857; --ok-soft: #E7F6EF; --ok-ink: #065F46; --finding: #EEF8F3; --finding-ink: #064E3B;
--warn-bg: #FFF8F1; --warn-line: #F3D3B5; --warn-ink: #7A3A06; --note-bg: #FFFBEB; --note-line: #FDE68A; --note-ink: #78350F;
--ai: #6D28D9; --human: #047857; --dot: rgba(20,22,27,0.3); --imgbg: #E9EBEF;
--b-clip: #4338CA; --b-dino: #0F766E; --b-lpips: #B45309; --b-keep: #6B717C;
--dark: #14161B; --dark2: #23262E; --dark-line: #3A3E47; --dark-ink: #F4F5F7; --dark-muted: #A9ADB6; --dark-soft: #C9CCD3;
--display: "Space Grotesk", system-ui, sans-serif; --body: "IBM Plex Sans", system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
color-scheme: light;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--bg: #0E0F12; --surface: #17191E; --field: #1C1F25; --ink: #ECEDF0; --ink2: #CDD0D6; --muted: #A2A7B1; --faint: #8C919B;
--line: #2B2E36; --line2: #23262D; --control: #3D414B; --soft: #1C1F25; --soft2: #1B1D26; --softline: #2E3040;
--accent: #7C78F5; --accent-ink: #B4B8FF; --accent-soft: #26244A; --accent-tint: #1D1C36; --on-accent: #FFFFFF;
--ok: #34D399; --ok-soft: #10302A; --ok-ink: #6EE7B7; --finding: #0F2A22; --finding-ink: #A7F3D0;
--warn-bg: #2A1D12; --warn-line: #5C3A1A; --warn-ink: #F8C28F; --note-bg: #2A2410; --note-line: #5B4A16; --note-ink: #F5D88A;
--ai: #C4B5FD; --human: #6EE7B7; --dot: rgba(236,237,240,0.32); --imgbg: #22252C;
--b-clip: #8B87FF; --b-dino: #2DD4BF; --b-lpips: #F59E0B; --b-keep: #A2A7B1;
color-scheme: dark;
}
}
:root[data-theme="dark"] {
--bg: #0E0F12; --surface: #17191E; --field: #1C1F25; --ink: #ECEDF0; --ink2: #CDD0D6; --muted: #A2A7B1; --faint: #8C919B;
--line: #2B2E36; --line2: #23262D; --control: #3D414B; --soft: #1C1F25; --soft2: #1B1D26; --softline: #2E3040;
--accent: #7C78F5; --accent-ink: #B4B8FF; --accent-soft: #26244A; --accent-tint: #1D1C36;
--ok: #34D399; --ok-soft: #10302A; --ok-ink: #6EE7B7; --finding: #0F2A22; --finding-ink: #A7F3D0;
--warn-bg: #2A1D12; --warn-line: #5C3A1A; --warn-ink: #F8C28F; --note-bg: #2A2410; --note-line: #5B4A16; --note-ink: #F5D88A;
--ai: #C4B5FD; --human: #6EE7B7; --dot: rgba(236,237,240,0.32); --imgbg: #22252C;
--b-clip: #8B87FF; --b-dino: #2DD4BF; --b-lpips: #F59E0B; --b-keep: #A2A7B1; color-scheme: dark;
}
/* ------------------------------------------------------------------ base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--body); }
body.noscroll { overflow: hidden; }
img { max-width: 100%; }
a { color: var(--accent-ink); }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #818CF8; outline-offset: 2px; }
input[type=range] { accent-color: var(--accent); }
[hidden] { display: none !important; }
.skiplink { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 12px; background: var(--surface); }
.skiplink:focus { left: 8px; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }
.page { padding-top: 24px; padding-bottom: 128px; }
#app:focus { outline: none; }
/* text */
.h1 { margin: 6px 0 8px; font: 700 38px/1.05 var(--display); }
.h1.xl { font-size: 52px; line-height: 1.02; margin: 8px 0 14px; }
.h1-sub { font-weight: 500; color: var(--dark-muted); font-size: 0.6em; }
.h2 { margin: 0; font: 600 20px/1.2 var(--display); }
.h2.big { font-size: 24px; }
.h2.xl { font-size: 32px; line-height: 1.15; margin: 6px 0 12px; }
.h3 { margin: 0; font: 600 18px/1.25 var(--display); }
.h3.big { font-size: 20px; }
.eyebrow { font: 13px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: #A5B4FC; }
.kicker { font: 13px var(--mono); color: var(--accent-ink); }
.lede { margin: 0; max-width: 680px; color: var(--dark-soft); }
.lede.big { font-size: 18px; max-width: 560px; }
.label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.small { font-size: 13px; } .tiny { font-size: 12px; } .b { font-weight: 600; } .block { display: block; }
.muted { color: var(--muted); } .ink2 { color: var(--ink2); }
.mono { font-family: var(--mono); } .break { overflow-wrap: anywhere; } .nowrap { white-space: nowrap; }
.ai { color: var(--ai); font-size: 12px; } .human { color: var(--human); font-size: 12px; }
.accent-text { color: var(--accent-ink); }
.m0 { margin: 0; } .mt4 { margin-top: 4px; } .mt14 { margin-top: 14px; }
/* layout helpers */
.row { display: flex; align-items: center; } .row.wrap { flex-wrap: wrap; }
.row.top { align-items: flex-start; } .row.bottom { align-items: flex-end; } .row.stretch { align-items: stretch; }
.between { justify-content: space-between; } .grow { flex: 1 1 auto; min-width: 0; }
.gap4 { gap: 4px; } .gap6 { gap: 6px; } .gap8 { gap: 8px; } .gap10 { gap: 10px; } .gap12 { gap: 12px; } .gap14 { gap: 14px; }
.gap16 { gap: 16px; } .gap20 { gap: 20px; } .gap22 { gap: 22px; } .gap24 { gap: 24px; }
[class*="stack"] { display: flex; flex-direction: column; }
.stack4 { gap: 4px; } .stack8 { gap: 8px; } .stack10 { gap: 10px; } .stack12 { gap: 12px; } .stack14 { gap: 14px; }
.stack16 { gap: 16px; } .stack18 { gap: 18px; } .stack22 { gap: 22px; } .stack28 { gap: 28px; }
.narrow { max-width: 820px; }
.topline { border-top: 1px solid var(--line2); padding-top: 12px; }
/* ------------------------------------------------------------------ header */
.topbar { background: var(--dark); color: var(--dark-ink); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; padding-top: 14px; }
.brand { font: 700 17px var(--display); color: var(--dark-ink); text-decoration: none; margin-right: 12px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.nav-links a { padding: 10px 0; color: var(--dark-soft); text-decoration: none; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: #FFFFFF; }
.nav-links a[aria-current="page"] { color: #FFFFFF; border-bottom-color: #A5B4FC; }
.hero { background: var(--dark); color: var(--dark-ink); }
.hero a { color: #C7D2FE; }
.hero-in { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: flex-end; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.hero-in > .grow { flex: 1 1 560px; }
.hero-note { color: var(--dark-muted); }
.stats { display: flex; gap: 28px; flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column; }
.stats b { font: 600 26px var(--display); }
.stats span { font-size: 13px; color: var(--dark-muted); }
.crumbs { color: var(--dark-muted); }
.record-hero { align-items: center; }
.hero-facts { margin: 4px 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; font-size: 14px; }
.hero-facts dt { color: var(--dark-muted); } .hero-facts dd { margin: 0; }
.hero-wipe { flex: 0 1 460px; min-width: 0; width: 100%; }
.solo { display: block; width: 100%; border-radius: 12px; }
/* ------------------------------------------------------------------ controls */
.btn { min-height: 44px; padding: 0 16px; display: inline-flex; gap: 8px; align-items: center; justify-content: center; border-radius: 10px;
border: 1.5px solid var(--control); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--accent-soft); color: var(--ink); }
.btn.on { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { filter: brightness(1.08); color: var(--on-accent); }
.btn.primary.copied, .btn.copied { background: var(--ok); border-color: var(--ok); color: #FFFFFF; }
.btn.quiet { border-width: 1px; font-weight: 500; }
.likebtn.on { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.likes { color: var(--accent-ink); font-weight: 600; font-size: 13px; }
.requestintro ul { padding-left: 18px; }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 13px; }
.btn.big { min-height: 48px; padding: 0 20px; font-size: 15px; border-radius: 12px; }
.btn.more { align-self: center; }
.btn.light { background: #F4F5F7; border-color: #F4F5F7; color: #14161B; }
.btn.darkbtn { background: transparent; border: 1px solid var(--dark-line); color: var(--dark-ink); }
.btn.darkbtn:hover { background: var(--dark2); color: #FFFFFF; }
.iconbtn { width: 44px; height: 44px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px;
border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.iconbtn:hover { background: var(--accent-soft); }
.iconbtn.small { width: 36px; height: 36px; }
.iconbtn.dark { background: transparent; border-color: var(--dark-line); color: var(--dark-ink); }
.linkbtn { border: 0; background: none; padding: 0; color: var(--accent-ink); text-decoration: underline; font-size: inherit; }
.seg { display: inline-flex; align-self: flex-start; border: 1px solid var(--control); border-radius: 10px; overflow: hidden; background: var(--surface); flex-wrap: wrap; }
.seg button { min-height: 40px; padding: 0 14px; border: 0; background: transparent; color: var(--ink); font-size: 14px; }
.seg button + button { border-left: 1px solid var(--line2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg button[aria-pressed="true"] .muted { color: inherit; opacity: .7; }
.seg.dark { border-color: var(--dark-line); background: transparent; }
.seg.dark button { color: var(--dark-ink); min-height: 44px; } .seg.dark button + button { border-left-color: var(--dark-line); }
.seg.dark button[aria-pressed="true"] { background: #3A3E47; color: #FFFFFF; }
.chip { min-height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13px; border: 1px solid var(--control); background: var(--surface); color: var(--ink); }
.chip:hover { border-color: var(--accent); }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.tag { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 13px; background: var(--line2); color: var(--ink2); }
.tag .mono { font-size: 11px; opacity: .8; }
.tag.hit { background: var(--accent); color: var(--on-accent); }
.tag.soft { background: var(--accent-tint); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--muted); }
.badge.ok { border-color: var(--ok); color: var(--ok); background: var(--ok-soft); }
.badge.warn { border-color: var(--warn-line); color: var(--warn-ink); background: var(--warn-bg); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
@media (max-width: 640px) { .panel { padding: 16px; } }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); flex: 0 0 auto; min-width: 0; }
.field.grow { flex: 1 1 320px; }
.field select, .field input[type=search] { height: 52px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--control); background: var(--field); color: var(--ink); font-size: 15px; font-weight: 400; width: 100%; }
.field input[type=search] { padding: 0 16px; font-size: 16px; }
.ph { display: flex; align-items: center; justify-content: center; background: var(--line2); color: var(--muted); font-size: 13px; text-align: center; }
.ph.big { aspect-ratio: 1; width: 100%; border-radius: 8px; padding: 8px; }
.inline { display: inline-flex; gap: 8px; align-items: center; min-height: 40px; }
.inline select { height: 40px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--control); background: var(--surface); }
.inline input[type=range] { width: 140px; }
.inline input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }
.keepval { min-width: 36px; }
/* U-Net map */
.unet-scroll { flex: 999 1 640px; min-width: 0; overflow-x: auto; }
.unet-wrap { min-width: 640px; }
.unet-heads { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.unet { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(4, 74px); gap: 8px; }
.unode { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 6px 10px; border-radius: 12px; text-align: left;
border: 1.5px solid var(--control); color: var(--ink); min-height: 44px; }
.unode.down { background: #F1F2FB; } .unode.up { background: #F6F1FA; } .unode.core { background: #E8E9F8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .unode.down { background: #1E2030; } :root:not([data-theme="light"]) .unode.up { background: #261E2E; } :root:not([data-theme="light"]) .unode.core { background: #23243A; } }
.unode.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.unode .small { opacity: .85; }
.skip { align-self: center; height: 34px; border-radius: 999px; border: 2px dashed var(--control); background: var(--surface); color: var(--muted); font: 12px var(--mono); }
.skip:hover { background: var(--accent-soft); }
.skip.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.infobox { flex: 1 1 300px; min-width: 0; background: var(--soft2); border: 1px solid var(--softline); border-radius: 14px; padding: 16px 18px; font-size: 14px; }
.infobox p { margin: 4px 0 10px; color: var(--ink2); }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 12px; margin: 6px 0 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
/* ------------------------------------------------------------------ base mode */
.dirtabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 10px; }
.dirtab { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); text-align: left; color: var(--ink); }
.dirtab.on { border-color: var(--accent); background: var(--accent-soft); }
.dirtab img, .dirtab .ph { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.journey-view { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.journey-info { flex: 1 1 280px; min-width: 0; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wipe-wrap { max-width: 560px; width: 100%; margin: 0 auto; }
.strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.striptile { padding: 0; border: 3px solid var(--softline); border-radius: 12px; background: var(--surface); overflow: hidden; display: flex; flex-direction: column; text-align: left; color: var(--ink); }
.striptile.on { border-color: var(--accent); }
.striptile:disabled { cursor: default; opacity: .6; }
.striptile img, .striptile .ph { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.striptile > span:last-child { padding: 6px 8px; font-size: 13px; font-weight: 600; }
.hscroll { overflow-x: auto; }
.pgrid { min-width: 760px; display: grid; grid-template-columns: 170px repeat(4, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.pgrid-head { display: flex; flex-direction: column; justify-content: flex-end; text-align: center; padding-bottom: 4px; }
.pgrid-row { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.tile { position: relative; padding: 0; border: 3px solid var(--surface); border-radius: 12px; background: var(--surface); overflow: hidden; display: block; }
.tile.on { border-color: var(--accent); }
.tile img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.tile.empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; background: var(--line2); color: var(--muted); font-size: 13px; }
.count { position: absolute; right: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(20,22,27,0.8); color: #FFFFFF; font-size: 11px; }
.plotwrap { display: flex; gap: 8px; }
.yaxis { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 12px; color: var(--muted); text-align: center; }
.plot { display: block; width: 100%; height: 320px; border: 1px solid var(--line); border-radius: 12px; background: var(--field); cursor: crosshair; }
/* ------------------------------------------------------------------ results */
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(540px, 100%), 1fr)); gap: 20px; }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.card-body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; }
.card.render .card-body { padding: 12px 16px 16px; gap: 10px; }
.pair2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--line); }
.imgbtn { position: relative; padding: 0; border: 0; background: var(--imgbg); display: block; border-radius: 0; overflow: hidden; }
.two .imgbtn, .pgrid .imgbtn { border-radius: 14px; }
.imgbtn img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.noimg { display: flex; aspect-ratio: 1; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.over { position: absolute; padding: 3px 10px; border-radius: 999px; background: rgba(20,22,27,0.8); color: #FFFFFF; font-size: 12px; font-weight: 600; pointer-events: none; display: inline-flex; gap: 6px; align-items: center; }
.over.tl { left: 10px; top: 10px; } .over.tr { right: 10px; top: 10px; }
.over.br { right: 10px; bottom: 10px; border-radius: 10px; padding: 6px 10px; font-weight: 400; font-size: 13px; }
.over.accent { background: #4338CA; }
.num { position: absolute; left: 10px; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: #4338CA; color: #FFFFFF; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.basethumb { position: absolute; right: 10px; top: 10px; width: 64px !important; height: 64px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 2px solid #FFFFFF; box-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.cell-cap { padding: 12px 18px 0; display: flex; gap: 12px; align-items: flex-start; }
.cell-cap p { margin: 0; flex: 1 1 auto; min-width: 0; font-size: 14px; color: var(--ink2); }
.exlabel { min-width: 44px; text-align: center; }
.bars { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; gap: 4px 8px; align-items: center; font-size: 12px; }
.bar { height: 6px; background: var(--line2); border-radius: 3px; overflow: hidden; display: block; }
.bar i { display: block; height: 100%; }
.b-clip { background: var(--b-clip); } .b-dino { background: var(--b-dino); } .b-lpips { background: var(--b-lpips); } .b-keep { background: var(--b-keep); }
.evidence { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 13px; color: var(--ink2); padding: 8px 12px; background: var(--soft); border-radius: 10px; }
.dots { display: inline-flex; gap: 3px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); } .dots i.on { background: var(--ok); }
.warnbox { border: 1px solid var(--warn-line); background: var(--warn-bg); border-radius: 10px; padding: 8px 12px; font-size: 13px; color: var(--warn-ink); }
.warnbox p { margin: 4px 0; color: inherit; }
.warnbox a { margin-right: 8px; color: inherit; text-decoration: underline; }
.notebox { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--note-bg); border: 1px solid var(--note-line); font-size: 13px; color: var(--note-ink); }
.details { display: flex; flex-direction: column; gap: 8px; font-size: 13px; border-top: 1px solid var(--line2); padding-top: 12px; }
.finding { margin: 0; padding: 8px 12px; background: var(--finding); border-radius: 8px; color: var(--finding-ink); }
.finding span { color: var(--ok); }
.code { margin: 0; padding: 10px 12px; background: var(--dark); color: #E4E6EB; border-radius: 8px; font: 12px/1.45 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; align-items: center; }
.empty { background: var(--surface); border: 1px dashed var(--control); border-radius: 16px; padding: 28px; text-align: center; }
.empty p { margin: 0 0 12px; font-size: 16px; }
.pinned { padding: 12px 16px; border: 1.5px solid var(--accent); border-radius: 14px; background: var(--accent-tint); }
.howto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; font-size: 14px; color: var(--ink2); }
.howto .h2 { grid-column: 1 / -1; margin-top: 8px; color: var(--ink); }
.note-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.note-card b { color: var(--ink); }
.sitefoot { display: flex; flex-wrap: wrap; gap: 6px 18px; border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 120px; font-size: 13px; }
/* ------------------------------------------------------------------ the copy box: the only dark box */
.codebox { border: 1px solid #2A2D35; border-radius: 12px; overflow: hidden; background: var(--dark); }
.codebox-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 6px 6px 12px; background: var(--dark2); }
.codebox-head > span { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dark-muted); }
.codebox-head .btn.primary { background: #4338CA; border-color: #4338CA; }
.codebox pre { margin: 0; overflow: auto; padding: 12px; color: #E4E6EB; font: 12px/1.45 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.codebox-link { padding: 12px; font: 13px var(--mono); color: #A5B4FC; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ------------------------------------------------------------------ wipe */
.wipe { position: relative; width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--imgbg); --pos: 50%; }
.wipe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.wipe img.top { clip-path: inset(0 0 0 var(--pos)); }
.wipe-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #FFFFFF; box-shadow: 0 0 6px rgba(0,0,0,0.5); pointer-events: none; }
.wipe-knob { position: absolute; top: 50%; left: var(--pos); width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #FFFFFF; color: #14161B;
display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 6px rgba(0,0,0,0.4); pointer-events: none; }
.wipe input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.wipe.big { max-width: min(720px, 80vh); margin: 0 auto; }
/* ------------------------------------------------------------------ lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(10,11,14,0.94); color: #F4F5F7; overflow-y: auto; }
.lb-inner { max-width: 1280px; margin: 0 auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; min-height: 100%; }
.lb-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.lb-title { font: 600 22px var(--display); } .lb-sub { font-size: 14px; color: #A9ADB6; }
.lb-view { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; }
.lb-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; }
.lb-side figure { margin: 0; } .lb-side img, .lb-one img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: #1C1E24; }
.lb-side figcaption { margin-top: 6px; font-size: 13px; color: #A9ADB6; } .lb-side .accent-text { color: #A5B4FC; }
.lb-one { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; } .lb-one img { max-width: min(700px, 75vh); }
.lb-change { margin: 0 auto; max-width: 880px; text-align: center; font-size: 15px; color: #E4E6EB; }
.lb-change a { color: #C7D2FE; }
/* ------------------------------------------------------------------ tray */
.traybar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 40; width: min(760px, calc(100% - 32px)); background: var(--dark); color: var(--dark-ink);
border-radius: 16px; padding: 10px 10px 10px 16px; display: flex; gap: 12px; align-items: center; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
border: 1px solid var(--dark-line); }
.traybar b { font-size: 14px; white-space: nowrap; }
.traybar .btn.primary { background: #4338CA; border-color: #4338CA; white-space: nowrap; }
.traybar-thumbs { display: flex; gap: 6px; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.traybar-thumbs img, .traybar-thumbs .thumb-ph { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.thumb-ph { display: flex; align-items: center; justify-content: center; background: var(--dark2); color: var(--dark-muted); font-size: 11px; }
.tray-item .thumb-ph { width: 64px; height: 64px; border-radius: 8px; flex: 0 0 auto; background: var(--line2); color: var(--muted); }
@media (max-width: 520px) { .traybar-thumbs { display: none; } .traybar { justify-content: space-between; } }
.traypanel { position: fixed; inset: 0; z-index: 45; background: rgba(10,11,14,0.55); display: flex; justify-content: flex-end; }
.tray-sheet { width: min(620px, 100%); height: 100%; overflow-y: auto; background: var(--surface); padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.tray-item { display: flex; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; }
.tray-item img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; background: var(--imgbg); }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; }
.radio-card[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-tint); }
.radio-dot { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; border-radius: 50%; border: 2px solid var(--control); display: flex; align-items: center; justify-content: center; }
.radio-card[aria-pressed="true"] .radio-dot { border-color: var(--accent); }
.radio-card[aria-pressed="true"] .radio-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.files { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.files li { display: flex; gap: 8px; align-items: center; }
.notes { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
/* ------------------------------------------------------------------ record page */
.graph { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.graph li { flex: 1 1 140px; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); font-size: 14px; }
.graph li.on { border: 2px solid var(--accent); background: var(--accent-tint); color: var(--accent-ink); }
.steps3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.stepnum { width: 32px; height: 32px; border-radius: 50%; background: #4338CA; color: #FFFFFF; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: var(--soft); font-size: 14px; }
.checks svg { flex: 0 0 auto; margin-top: 3px; color: var(--ok); }
.hosts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; align-items: start; }
.host .badge { align-self: flex-start; }
.host.dim { opacity: .72; }
.rgrid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 28px; align-items: start; }
.facts { border-collapse: collapse; width: 100%; font-size: 14px; }
.facts th { text-align: left; font-weight: 500; color: var(--muted); padding: 5px 12px 5px 0; vertical-align: top; white-space: nowrap; }
.facts td { padding: 5px 8px 5px 0; vertical-align: top; overflow-wrap: anywhere; border-top: 1px solid var(--line2); }
.facts tr th { border-top: 1px solid var(--line2); }
/* ------------------------------------------------------------------ about */
.about { --play: running; }
.about .anim { animation-play-state: var(--play, running); }
.about-hero { align-items: center; padding-top: 32px; padding-bottom: 44px; gap: 36px; }
.about-hero .btn { margin-top: 18px; }
.hero-cycle { flex: 0 1 440px; min-width: 0; width: 100%; margin: 0; }
.hero-cycle figcaption { margin-top: 8px; color: var(--dark-muted); }
.cycle { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--dark2); }
.cyc { position: absolute; inset: 0; opacity: 0; animation: cycle 15s linear infinite; display: block; color: #FFFFFF; text-decoration: none; }
.cyc img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cyc-cap { position: absolute; left: 12px; bottom: 12px; right: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(20,22,27,0.82); font-size: 14px; }
.cyc-cap b { display: block; font-size: 15px; }
@keyframes cycle { 0% { opacity: 0 } 3% { opacity: 1 } 20% { opacity: 1 } 23% { opacity: 0 } 100% { opacity: 0 } }
.about-main { display: flex; flex-direction: column; gap: 64px; padding-top: 44px; font-size: 16px; line-height: 1.55; }
.about-main p { margin: 0 0 10px; }
.split { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.split > .grow { flex: 1 1 420px; }
.denoise { margin: 0; }
.denoise-img { flex: 0 0 auto; width: min(240px, 45vw); aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--line); }
.denoise-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.track { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.fill { height: 100%; background: var(--accent); animation: fill 6s ease-out infinite; }
.clear { animation: clear 6s ease-out infinite; }
@keyframes clear { 0% { filter: blur(22px) saturate(0.2) contrast(0.6) } 70%, 100% { filter: blur(0) saturate(1) contrast(1) } }
@keyframes fill { 0% { width: 0 } 70%, 100% { width: 100% } }
.unet-anim { position: relative; min-width: 640px; height: 330px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.skipline { position: absolute; border-top: 2px dashed var(--control); }
.ublock { position: absolute; width: 82px; height: 50px; margin: -25px 0 0 -41px; border-radius: 12px; border: 1.5px solid var(--control); background: var(--soft2);
display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; line-height: 1.2; }
.ublock span { opacity: .8; } .ublock.core { background: var(--accent-tint); }
.ublock.bent { background: #4338CA; border-color: #4338CA; color: #FFFFFF; }
.ulabel { position: absolute; font-size: 12px; color: var(--muted); }
.ulabel.center { left: 50%; top: 96%; transform: translate(-50%, -100%); color: var(--faint); }
.pulse { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #F59E0B; box-shadow: 0 0 0 6px rgba(245,158,11,0.25); animation: travel 7s linear infinite; }
@keyframes travel { 0% { left: 7%; top: 14% } 14% { left: 21%; top: 38% } 28% { left: 35%; top: 62% } 42% { left: 50%; top: 84% }
56% { left: 65%; top: 62% } 70% { left: 79%; top: 38% } 84%, 100% { left: 93%; top: 14% } }
.flash { animation: flash 7s linear infinite; }
@keyframes flash { 0%, 62% { box-shadow: 0 0 0 0 rgba(67,56,202,0); transform: scale(1) } 68% { box-shadow: 0 0 0 10px rgba(67,56,202,0.25); transform: scale(1.06) } 78%, 100% { box-shadow: 0 0 0 0 rgba(67,56,202,0); transform: scale(1) } }
.fmap { width: 96px; height: 96px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; }
.fmap span { border-radius: 2px; }
.fmap.big { width: 120px; height: 120px; padding: 4px; border-radius: 10px; background: #14161B; }
.turn { animation: turn 7s ease-in-out infinite; }
@keyframes turn { 0%, 60% { transform: rotate(0) } 72%, 92% { transform: rotate(30deg) } 100% { transform: rotate(0) } }
.reveal-box { position: relative; width: 150px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; display: block; flex: 0 0 auto; }
.reveal-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reveal { animation: reveal 7s linear infinite; }
@keyframes reveal { 0%, 80% { opacity: 0 } 88%, 100% { opacity: 1 } }
.opsgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.op-stage { height: 150px; background: #14161B; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.op-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.op-pair img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; }
.op-multiply { animation: mult 3s ease-in-out infinite; } .op-rotate { animation: rot 6s linear infinite; }
.op-noise { animation: jit .35s steps(2) infinite; } .op-scale { animation: zoom 3s ease-in-out infinite; }
@keyframes mult { 0%, 100% { filter: brightness(1) } 50% { filter: brightness(1.9) } }
@keyframes rot { 0% { transform: rotate(0) } 100% { transform: rotate(360deg) } }
@keyframes jit { 0%, 100% { transform: translate(0, 0) } 20% { transform: translate(2px, -1px) } 40% { transform: translate(-2px, 2px) } 60% { transform: translate(1px, 2px) } 80% { transform: translate(-1px, -2px) } }
@keyframes zoom { 0%, 100% { transform: scale(1) } 50% { transform: scale(0.62) } }
.windows { position: relative; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); font-size: 14px; color: var(--muted); }
.windows > span:not(.win) { display: flex; align-items: center; justify-content: center; } .windows > span + span:not(.win) { border-left: 1px solid var(--line2); }
.win { position: absolute; top: -4px; bottom: -4px; width: 33.333%; border: 3px solid var(--accent); border-radius: 12px; background: rgba(67,56,202,0.08); animation: slide 9s ease-in-out infinite; }
@keyframes slide { 0%, 30% { left: 0% } 36%, 63% { left: 33.333% } 69%, 96% { left: 66.666% } 100% { left: 0% } }
.whens { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.when { margin: 0; background: var(--surface); border-radius: 16px; padding: 10px; outline: 3px solid transparent; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.when img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.hl { animation: hl 9s ease-in-out infinite; }
@keyframes hl { 0%, 30% { outline-color: var(--accent); transform: translateY(-4px) } 36%, 100% { outline-color: transparent; transform: none } }
.ethos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.ethos-n { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font: 700 20px var(--display); }
.e1 { background: #FEF3C7; color: #92400E; } .e2 { background: #DCFCE7; color: #166534; } .e3 { background: #FCE7F3; color: #9D174D; }
.e4 { background: #E0E7FF; color: #3730A3; } .e5 { background: #E0F2FE; color: #075985; }
.resources { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 16px; align-items: start; }
.ricon { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.g-try { background: #DCFCE7; color: #166534; } .g-watch { background: #FDE2E2; color: #9B1C1C; } .g-read { background: #E0E7FF; color: #3730A3; } .g-related { background: #FEF3C7; color: #92400E; }
.resource { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.resource:hover { border-color: var(--accent); color: var(--ink); }
.cta { background: var(--dark); color: var(--dark-ink); border-radius: 20px; padding: 28px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta p { color: var(--dark-soft); }
@media (max-width: 640px) { .h1 { font-size: 30px; } .h1.xl { font-size: 36px; } .h2.xl { font-size: 26px; } .strip { grid-template-columns: repeat(5, minmax(56px, 1fr)); overflow-x: auto; } }
@media (prefers-reduced-motion: reduce) { .about .anim { animation: none !important; } .cyc:first-child { opacity: 1; } .reveal { opacity: 1; } .clear { filter: none; } .fill { width: 100%; } }
/* ------------------------------------------------------------------ requests */
.reqmain { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.reqlist { flex: 999 1 620px; min-width: 0; }
.reqform { flex: 1 1 380px; min-width: 0; }
.reqrow { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; gap: 14px; align-items: flex-start; }
.reqrow:hover { border-color: var(--control); }
.reqrow ul { padding-left: 18px; }
.votebtn { flex: 0 0 auto; width: 64px; min-height: 64px; border-radius: 12px; border: 1.5px solid var(--control); background: var(--surface); color: var(--ink);
display: flex; flex-direction: column; align-items: center; justify-content: center; }
.votebtn b { font-size: 17px; line-height: 1.1; }
.votebtn:hover:not(:disabled) { border-color: var(--accent); }
.votebtn.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.votebtn:disabled { cursor: default; opacity: .65; }
.pill { padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--line2); color: var(--ink2); }
.pill.fam { background: var(--accent-tint); color: var(--accent-ink); }
.s-proposed { background: #E0F2FE; color: #075985; } .s-accepted { background: var(--ok-soft); color: var(--ok-ink); }
.s-sweeping { background: #FEF3C7; color: #92400E; } .s-in { background: #DCFCE7; color: #166534; }
.s-declined { background: var(--line2); color: var(--muted); } .s-held { background: var(--note-bg); color: var(--note-ink); }
.warnpill { border: 1px solid var(--warn-line); background: var(--warn-bg); color: var(--warn-ink); font-weight: 500; }
.gap4-14 { gap: 4px 14px; }
.review { padding-top: 6px; }
.dim { opacity: .7; }
.notice { padding: 10px 12px; border-radius: 10px; background: var(--note-bg); border: 1px solid var(--note-line); color: var(--note-ink); font-size: 14px; }
.okbox { padding: 14px; border-radius: 12px; background: var(--finding); color: var(--finding-ink); }
.dupbox { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; }
.field2 { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink2); min-width: 0; }
.field2 input, .field2 select, .field2 textarea, .minifield input, .promptitem textarea {
font-size: 14px; font-weight: 400; padding: 0 12px; height: 44px; border: 1.5px solid var(--control); border-radius: 10px; background: var(--surface); color: var(--ink); width: 100%; }
.field2 textarea, .promptitem textarea { height: auto; padding: 8px 10px; resize: vertical; }
.minifield { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); min-width: 0; }
.minifield input { height: 40px; padding: 0 10px; border-radius: 8px; }
.hint2 { font-weight: 400; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fs { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fs legend { padding: 0 6px; font-size: 13px; font-weight: 600; }
.promptitem { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 10px; background: var(--soft); }
.dashed { align-self: stretch; min-height: 40px; border-radius: 10px; border: 1.5px dashed var(--control); background: transparent; color: var(--accent-ink); font-weight: 600; font-size: 14px; }
.dashed.small { align-self: flex-start; min-height: 34px; padding: 0 10px; font-size: 13px; font-weight: 500; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.dark { background: var(--dark); border-color: var(--dark); color: #FFFFFF; }
.hfbtn { background: #FFD21E; border-color: #FFD21E; color: #14161B; }
.hfbtn:hover { background: #FFDE59; color: #14161B; }
.signedin { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--dark-soft); }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: #FFD21E; color: #14161B; font-weight: 700; display: flex; align-items: center; justify-content: center; }
/* ------------------------------------------------------------------ contribute */
.contrib-hero { align-items: center; }
.hero-pair { flex: 0 1 420px; min-width: 0; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hero-pair figure { margin: 0; position: relative; }
.hero-pair img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 20px; align-items: start; }
.way.main { border: 2px solid var(--accent); }
.way.soon { opacity: .85; }
.numsteps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.numsteps li { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 12px; background: var(--soft2); font-size: 13px; line-height: 1.35; }
.numsteps li span, .tdot { width: 28px; height: 28px; border-radius: 50%; background: #4338CA; color: #FFFFFF; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.howsteps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 14px; }
.howsteps li { padding-left: 4px; }
.howsteps .codebox { margin: 8px 0; }
.howsteps code, .contribute code { font: 13px var(--mono); background: var(--line2); padding: 1px 5px; border-radius: 4px; }
.filelist summary { cursor: pointer; font-weight: 600; }
.filelist[open] { display: flex; flex-direction: column; gap: 10px; }
.files2 { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.files2 li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: var(--soft); }
.badge.req { border-color: var(--accent); color: var(--accent-ink); }
.timeline { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.timeline li { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.tdot.ok { background: #047857; }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.rule { display: flex; gap: 12px; align-items: flex-start; }
.tick { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-weight: 700; }
/* ------------------------------------------------------------------ find: slim title, pinned bar, base strip */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.stack6 { gap: 6px; }
.page.tight { padding-top: 16px; }
.hero.slim .hero-in { padding-top: 10px; padding-bottom: 12px; align-items: center; gap: 8px 28px; }
.hero.slim .h1 { margin: 0; font-size: 26px; line-height: 1.15; }
.hero.slim .stats { gap: 6px 22px; align-items: center; }
.hero.slim .stats span { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: var(--dark-muted); }
.hero.slim .stats b { font: 600 18px var(--display); color: var(--dark-ink); }
.findbar { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.findbar > .container { position: relative; padding-top: 10px; padding-bottom: 8px; }
.barrow { display: flex; gap: 8px; align-items: center; }
.famsel { display: flex; gap: 4px; align-items: center; flex: 0 0 auto; }
.famsel select { height: 44px; padding: 0 8px; border-radius: 10px; border: 1.5px solid var(--control); background: var(--field); font-size: 14px; }
.combo { position: relative; flex: 1 1 auto; min-width: 0; }
.combo-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); display: flex; pointer-events: none; }
.combo input { width: 100%; height: 44px; padding: 0 12px 0 38px; border-radius: 10px; border: 1.5px solid var(--control); background: var(--field); font-size: 15px; }
.combo input:focus { border-color: var(--accent); }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40; margin: 0; padding: 6px; list-style: none; background: var(--surface);
border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,0.18); max-height: min(420px, 60vh); overflow-y: auto; }
.sugg li[role=option] { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.sugg li[role=option] span { font-size: 12px; color: var(--muted); }
.sugg li[role=option]:hover, .sugg li[aria-selected="true"] { background: var(--accent-soft); }
.sugg-foot { padding: 6px 10px 2px; font-size: 12px; color: var(--faint); border-top: 1px solid var(--line2); margin-top: 4px; }
.filtersbtn { flex: 0 0 auto; }
.effinfo { display: inline-flex; }
.fp-family { display: none; }
@media (max-width: 640px) { .fp-family { display: flex; } }
.nbadge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.pillrow { display: flex; gap: 6px; align-items: center; margin-top: 8px; min-height: 32px; overflow-x: auto; scrollbar-width: thin; }
.pillrow > * { flex: 0 0 auto; }
.pillrow .label { margin-right: 2px; }
.chip.small { min-height: 30px; padding: 0 10px; font-size: 13px; }
.pill2 { min-height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--accent); background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 500; }
.pill2:hover { background: var(--accent); color: var(--on-accent); }
.linkbtn.small { font-size: 13px; margin-left: 4px; }
.filterpanel { position: absolute; top: calc(100% + 4px); right: 24px; left: 24px; max-width: 1000px; margin-left: auto; z-index: 35;
background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,0.2); max-height: calc(100vh - 150px); overflow-y: auto; }
.fp-in { padding: 16px 18px 0; display: flex; flex-direction: column; gap: 16px; }
.fp-row { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-size: 14px; border-top: 1px solid var(--line2); padding-top: 12px; }
.fp-foot { position: sticky; bottom: 0; margin: 0 -18px; padding: 12px 18px; background: var(--surface); border-top: 1px solid var(--line2); display: flex; justify-content: flex-end; gap: 8px; }
.unet.mini { grid-template-rows: repeat(4, 54px); gap: 6px; }
.unet.mini .unode { padding: 4px 8px; border-radius: 10px; }
.unet.mini .skip { height: 30px; }
/* A transformer's block stacks: one row per stack, banded into thirds, in the order tokens pass through them. */
.dit-map { min-width: 330px; display: flex; flex-direction: column; gap: 4px; }
.dit-row { display: flex; flex-direction: column; gap: 4px; }
.dit-head { display: flex; gap: 8px; align-items: baseline; font-size: 13px; }
.bands { display: grid; gap: 6px; }
.band { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; padding: 6px 8px; border-radius: 10px; text-align: left;
border: 1px solid var(--softline); background: #F1F2FB; color: var(--ink); cursor: pointer; }
.band:hover { border-color: var(--accent); }
.band.side { align-self: flex-start; background: var(--soft2); }
.band.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.band .small { opacity: .85; }
.band .mono { overflow-wrap: anywhere; }
@media (max-width: 480px) { .band { padding: 5px 6px; } .band .mono.b { font-size: 11.5px; } .band .small { font-size: 11px; } }
.blks { display: flex; gap: 2px; width: 100%; margin-bottom: 4px; }
.blks i { flex: 1 1 0; height: 14px; min-width: 2px; border-radius: 3px; background: currentColor; opacity: .22; }
.band.on .blks i { opacity: .55; }
.flow { color: var(--muted); font-size: 13px; line-height: 1; padding-left: 12px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band:not(.on):not(.side) { background: #1E2030; } }
:root[data-theme="dark"] .band:not(.on):not(.side) { background: #1E2030; }
@media (max-width: 640px) {
.findbar > .container { padding-top: 8px; padding-bottom: 6px; }
.barrow > .famsel, .effinfo { display: none; }
.filtersbtn { padding: 0 12px; }
.filterpanel { position: fixed; top: auto; left: 0; right: 0; bottom: 0; max-width: none; max-height: 85vh; border-radius: 16px 16px 0 0; z-index: 60; }
body.sheet-open { overflow: hidden; }
body.sheet-open::before { content: ""; position: fixed; inset: 0; background: rgba(10,11,14,0.5); z-index: 55; }
body.sheet-open .findbar { z-index: 60; } /* the sheet lives inside the pinned bar, so the bar goes above the backdrop */
.hero.slim .h1 { font-size: 22px; }
}
.basestrip { display: flex; flex-direction: column; gap: 8px; }
.bstrip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 6px; scrollbar-width: thin; }
.bthumb { flex: 0 0 88px; width: 88px; min-width: 0; scroll-snap-align: start; padding: 4px; border: 2px solid transparent; border-radius: 12px; background: transparent;
display: flex; flex-direction: column; gap: 4px; text-align: left; color: var(--ink); }
.bthumb:hover { background: var(--accent-tint); }
.bthumb.on { border-color: var(--accent); background: var(--accent-soft); }
.bthumb img, .bthumb .ph { width: 76px; height: 76px; border-radius: 8px; object-fit: cover; display: block; background: var(--imgbg); }
.bthumb > span:last-child { font-size: 12px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bthumb.any > span:last-child { font-weight: 600; }
.bthumb > span:last-child { max-width: 100%; }
.basestrip.picked .bthumb { flex-basis: 72px; width: 72px; }
.basestrip.picked .bthumb img, .basestrip.picked .bthumb .ph { width: 60px; height: 60px; }
#base-region > .panel { padding-top: 14px; }
.stripnav .iconbtn { width: 30px; height: 30px; border-radius: 8px; }
.basestrip { gap: 6px; }
@media (max-width: 640px) { .stripnav { display: none; } }
.basehead p { flex: 1 1 420px; min-width: 0; }
.journey { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); gap: 22px; align-items: start; }
@media (max-width: 900px) { .journey { grid-template-columns: minmax(0, 1fr); } }
.journey .journey-view { flex: none; }
.journey-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.journey .dirtabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.journey .dirtab { padding: 6px; gap: 8px; border-radius: 12px; }
.journey .dirtab img, .journey .dirtab .ph { width: 40px; height: 40px; border-radius: 8px; }
.journey .dirtab b { font-size: 13px; line-height: 1.2; }
.journey .strip { gap: 6px; }
.journey .striptile { border-width: 2px; border-radius: 10px; }
.journey .striptile > span:last-child { padding: 3px 6px; font-size: 12px; }
.journey .journey-info { flex: none; }
/* ------------------------------------------------------------------ the glossary: info dots, terms and the popover */
.info { flex: 0 0 auto; width: 20px; height: 20px; padding: 0; border-radius: 50%; border: 1.5px solid var(--control); background: var(--surface); color: var(--muted);
font: italic 600 12px/1 Georgia, serif; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; position: relative; }
.info::after { content: ""; position: absolute; inset: -6px; }
.info:hover, .info[aria-expanded="true"] { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.hero .info, .traybar .info { background: transparent; border-color: var(--dark-line); color: var(--dark-soft); }
.term { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
.term:hover, .term[aria-expanded="true"] { color: var(--accent-ink); }
.infopop { position: absolute; z-index: 80; padding: 12px 14px; border-radius: 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--line);
box-shadow: 0 12px 32px rgba(0,0,0,0.22); font-size: 14px; line-height: 1.45; }
.infopop p { margin: 6px 0 0; color: var(--ink2); }
.infopop .inforead { color: var(--accent-ink); font-weight: 600; }
.infopop a { display: inline-block; margin-top: 8px; font-size: 13px; }
.infoclose { width: 28px; height: 28px; margin: -6px -8px 0 0; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 20px; line-height: 1; }
.infoclose:hover { background: var(--line2); }