Move @joan/procedural-glyph-engine from absolute path dep (/private/tmp/orby-pkg) to vendored local dep (web/vendor/) so the SPA builds in Docker and on other machines without the temp dir. - Vendor Orby v5.0.0 into web/vendor/ - Switch package.json dep to file:../vendor - Update Dockerfile to COPY vendor into build context - Use npm install instead of npm ci (file: deps need install) - Fix missing trailing newline in Dockerfile
4274 lines
80 KiB
CSS
4274 lines
80 KiB
CSS
/* Orby — A procedural glyph engine by Joan Sterjo. */
|
||
|
||
:root {
|
||
color-scheme: dark;
|
||
--bg: #050505;
|
||
--bg-raised: #080808;
|
||
--surface: #0b0b0c;
|
||
--surface-raised: #0f1011;
|
||
--surface-hover: #141516;
|
||
--canvas: #070708;
|
||
--ink: #f2f1ee;
|
||
--ink-soft: #c9c8c4;
|
||
--muted: #8b8d90;
|
||
--faint: #787b7f;
|
||
--line: #232426;
|
||
--line-strong: #35373a;
|
||
--accent: #c9c8c4;
|
||
--accent-strong: #f2f1ee;
|
||
--accent-wash: rgba(232, 232, 228, 0.1);
|
||
--cool: #aeb4bb;
|
||
--success: #97d9b0;
|
||
--danger: #ff9f99;
|
||
--on-accent: #090a0b;
|
||
--control-line: #232426;
|
||
--body-accent-glow: rgba(238, 238, 232, 0.045);
|
||
--body-cool-glow: rgba(174, 180, 187, 0.025);
|
||
--ambient-grid: rgba(255, 255, 255, 0.018);
|
||
--surface-sheen: rgba(255, 255, 255, 0.018);
|
||
--canvas-glow: rgba(226, 228, 230, 0.05);
|
||
--canvas-grid: rgba(255, 255, 255, 0.025);
|
||
--canvas-scan: rgba(210, 214, 218, 0.035);
|
||
--shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
|
||
--shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.18);
|
||
--shadow-card: 0 12px 28px rgba(0, 0, 0, 0.18);
|
||
--shadow-card-selected: 0 10px 30px rgba(0, 0, 0, 0.2);
|
||
--shadow-float:
|
||
0 16px 42px rgba(0, 0, 0, 0.34),
|
||
0 0 0 1px rgba(255, 255, 255, 0.025) inset;
|
||
--shadow-dialog: 0 38px 110px rgba(0, 0, 0, 0.58);
|
||
--inset-edge: rgba(0, 0, 0, 0.25);
|
||
--backdrop: rgba(0, 0, 0, 0.74);
|
||
--checker-base: #0c0c0d;
|
||
--checker-tile: #191a1c;
|
||
--topbar-bg: color-mix(in srgb, var(--bg), transparent 10%);
|
||
--topbar-shadow: none;
|
||
--code-bg: #080808;
|
||
--code-hover: #121314;
|
||
--code-line: #242528;
|
||
--code-line-strong: #47494e;
|
||
--code-muted: #777a7f;
|
||
--code-control: #2c2e31;
|
||
--code-control-ink: #a4a6a9;
|
||
--code-ink: #c0c1c2;
|
||
--code-ink-strong: #f2f1ee;
|
||
--code-dot-1: #414244;
|
||
--code-dot-2: #66686c;
|
||
--code-dot-3: #aeb0b4;
|
||
--code-grid: rgba(255, 255, 255, 0.025);
|
||
--code-scrollbar: #34363a;
|
||
--scrollbar-thumb: #35373a;
|
||
--scrollbar-track: #080808;
|
||
--font-sans:
|
||
"SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||
sans-serif;
|
||
--font-mono:
|
||
"SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
|
||
--content: min(1480px, calc(100vw - 56px));
|
||
--radius-lg: 18px;
|
||
--radius-md: 11px;
|
||
--ease: cubic-bezier(0.22, 1, 0.36, 1);
|
||
}
|
||
|
||
html[data-theme="light"] {
|
||
color-scheme: light;
|
||
--bg: #eeece6;
|
||
--bg-raised: #f4f2ec;
|
||
--surface: #faf9f5;
|
||
--surface-raised: #ffffff;
|
||
--surface-hover: #f1efe8;
|
||
--canvas: #e5e6e2;
|
||
--ink: #17191e;
|
||
--ink-soft: #30343b;
|
||
--muted: #565c65;
|
||
--faint: #626973;
|
||
--line: #cbc9c1;
|
||
--line-strong: #898b87;
|
||
--accent: #4d5054;
|
||
--accent-strong: #25272a;
|
||
--accent-wash: rgba(37, 39, 42, 0.09);
|
||
--cool: #505a64;
|
||
--success: #256b45;
|
||
--danger: #a43836;
|
||
--on-accent: #ffffff;
|
||
--control-line: #898b87;
|
||
--body-accent-glow: rgba(45, 47, 50, 0.045);
|
||
--body-cool-glow: rgba(80, 90, 100, 0.025);
|
||
--ambient-grid: rgba(30, 34, 45, 0.04);
|
||
--surface-sheen: rgba(20, 24, 32, 0.022);
|
||
--canvas-glow: rgba(45, 47, 50, 0.055);
|
||
--canvas-grid: rgba(25, 28, 35, 0.05);
|
||
--canvas-scan: rgba(63, 66, 70, 0.04);
|
||
--shadow:
|
||
0 1px 2px rgba(30, 34, 44, 0.08),
|
||
0 18px 48px rgba(30, 34, 44, 0.07);
|
||
--shadow-soft: 0 8px 24px rgba(34, 36, 42, 0.08);
|
||
--shadow-card: 0 12px 28px rgba(34, 36, 42, 0.1);
|
||
--shadow-card-selected: 0 12px 30px rgba(38, 40, 45, 0.12);
|
||
--shadow-float:
|
||
0 16px 42px rgba(34, 36, 42, 0.14),
|
||
0 0 0 1px rgba(20, 24, 32, 0.025) inset;
|
||
--shadow-dialog: 0 32px 90px rgba(24, 26, 32, 0.22);
|
||
--inset-edge: rgba(30, 34, 44, 0.14);
|
||
--backdrop: rgba(28, 31, 38, 0.34);
|
||
--checker-base: #f7f7f3;
|
||
--checker-tile: #deded8;
|
||
--topbar-bg: rgba(250, 249, 245, 0.9);
|
||
--topbar-shadow: 0 1px 0 rgba(30, 34, 44, 0.05), 0 8px 24px rgba(30, 34, 44, 0.045);
|
||
--code-bg: #f4f3ef;
|
||
--code-hover: #e9e9e6;
|
||
--code-line: #cbc9c1;
|
||
--code-line-strong: #898b87;
|
||
--code-muted: #5a616c;
|
||
--code-control: #b7b8b5;
|
||
--code-control-ink: #565d69;
|
||
--code-ink: #2a3039;
|
||
--code-ink-strong: #171b22;
|
||
--code-dot-1: #b7bac1;
|
||
--code-dot-2: #85888d;
|
||
--code-dot-3: #54575c;
|
||
--code-grid: rgba(65, 68, 72, 0.04);
|
||
--code-scrollbar: #b9bbb7;
|
||
--scrollbar-thumb: #a6a8a5;
|
||
--scrollbar-track: #e6e4de;
|
||
}
|
||
|
||
*,
|
||
*::before,
|
||
*::after {
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
html {
|
||
scroll-behavior: smooth;
|
||
background: var(--bg);
|
||
}
|
||
|
||
body {
|
||
min-height: 100vh;
|
||
margin: 0;
|
||
overflow-x: hidden;
|
||
background:
|
||
radial-gradient(circle at 76% 2%, var(--body-accent-glow), transparent 26rem),
|
||
radial-gradient(circle at 9% 32%, var(--body-cool-glow), transparent 30rem),
|
||
var(--bg);
|
||
color: var(--ink);
|
||
font-family: var(--font-sans);
|
||
font-size: 15px;
|
||
line-height: 1.5;
|
||
text-rendering: optimizeLegibility;
|
||
-webkit-font-smoothing: antialiased;
|
||
}
|
||
|
||
button,
|
||
input,
|
||
select {
|
||
color: inherit;
|
||
font: inherit;
|
||
}
|
||
|
||
button,
|
||
select,
|
||
input[type="range"] {
|
||
cursor: pointer;
|
||
}
|
||
|
||
button {
|
||
border: 0;
|
||
}
|
||
|
||
a {
|
||
color: inherit;
|
||
}
|
||
|
||
::selection {
|
||
background: color-mix(in srgb, var(--accent), transparent 72%);
|
||
color: var(--ink);
|
||
}
|
||
|
||
html {
|
||
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
|
||
}
|
||
|
||
*::-webkit-scrollbar {
|
||
width: 10px;
|
||
height: 10px;
|
||
}
|
||
|
||
*::-webkit-scrollbar-track {
|
||
background: var(--scrollbar-track);
|
||
}
|
||
|
||
*::-webkit-scrollbar-thumb {
|
||
border: 2px solid var(--scrollbar-track);
|
||
border-radius: 999px;
|
||
background: var(--scrollbar-thumb);
|
||
}
|
||
|
||
:focus-visible {
|
||
outline: 2px solid var(--accent);
|
||
outline-offset: 3px;
|
||
}
|
||
|
||
[hidden] {
|
||
display: none !important;
|
||
}
|
||
|
||
.visually-hidden {
|
||
position: absolute !important;
|
||
width: 1px !important;
|
||
height: 1px !important;
|
||
padding: 0 !important;
|
||
margin: -1px !important;
|
||
overflow: hidden !important;
|
||
clip: rect(0, 0, 0, 0) !important;
|
||
white-space: nowrap !important;
|
||
border: 0 !important;
|
||
}
|
||
|
||
.skip-link {
|
||
position: fixed;
|
||
z-index: 100;
|
||
top: 12px;
|
||
left: 12px;
|
||
padding: 10px 14px;
|
||
border: 1px solid var(--accent);
|
||
border-radius: 7px;
|
||
background: var(--surface-raised);
|
||
color: var(--ink);
|
||
font-family: var(--font-mono);
|
||
font-size: 12px;
|
||
text-decoration: none;
|
||
transform: translateY(-180%);
|
||
}
|
||
|
||
.skip-link:focus {
|
||
transform: translateY(0);
|
||
}
|
||
|
||
.ambient-field {
|
||
position: fixed;
|
||
z-index: -1;
|
||
inset: 0;
|
||
pointer-events: none;
|
||
opacity: 0.5;
|
||
background-image: radial-gradient(
|
||
circle,
|
||
var(--ambient-grid) 0 1px,
|
||
transparent 1.25px
|
||
);
|
||
background-size: 12px 12px;
|
||
-webkit-mask-image: linear-gradient(to bottom, black, transparent 72%);
|
||
mask-image: linear-gradient(to bottom, black, transparent 72%);
|
||
}
|
||
|
||
html[data-theme="light"] .ambient-field {
|
||
opacity: 0.55;
|
||
}
|
||
|
||
.topbar {
|
||
position: sticky;
|
||
z-index: 40;
|
||
top: 0;
|
||
border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 16%);
|
||
background: var(--topbar-bg);
|
||
box-shadow: var(--topbar-shadow);
|
||
backdrop-filter: blur(20px) saturate(130%);
|
||
}
|
||
|
||
.topbar__inner {
|
||
width: var(--content);
|
||
min-height: 68px;
|
||
margin-inline: auto;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 24px;
|
||
}
|
||
|
||
.site-nav {
|
||
margin-left: auto;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 3px;
|
||
}
|
||
|
||
.site-nav a {
|
||
min-height: 34px;
|
||
padding: 0 10px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
border: 1px solid transparent;
|
||
border-radius: 5px;
|
||
color: var(--muted);
|
||
font-family: var(--font-mono);
|
||
font-size: 9px;
|
||
letter-spacing: 0.075em;
|
||
text-decoration: none;
|
||
text-transform: uppercase;
|
||
transition:
|
||
border-color 160ms ease,
|
||
background-color 160ms ease,
|
||
color 160ms ease;
|
||
}
|
||
|
||
.site-nav a::before {
|
||
margin-right: 5px;
|
||
color: var(--faint);
|
||
content: "/";
|
||
}
|
||
|
||
.site-nav a:hover,
|
||
.site-nav a:focus-visible {
|
||
border-color: var(--line);
|
||
background: var(--surface-hover);
|
||
color: var(--ink);
|
||
}
|
||
|
||
.brand {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 11px;
|
||
min-width: 0;
|
||
color: var(--ink);
|
||
text-decoration: none;
|
||
}
|
||
|
||
.brand__mark {
|
||
width: 40px;
|
||
height: 40px;
|
||
display: block;
|
||
flex: 0 0 auto;
|
||
}
|
||
|
||
.brand__mark img {
|
||
width: 100%;
|
||
height: 100%;
|
||
display: block;
|
||
object-fit: cover;
|
||
}
|
||
|
||
html[data-theme="light"] .brand__mark img {
|
||
filter: invert(1);
|
||
}
|
||
|
||
.brand__copy {
|
||
display: grid;
|
||
line-height: 1.1;
|
||
}
|
||
|
||
.brand__copy strong {
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
letter-spacing: 0.01em;
|
||
}
|
||
|
||
.brand__copy small {
|
||
margin-top: 4px;
|
||
color: var(--muted);
|
||
font-family: var(--font-mono);
|
||
font-size: 9px;
|
||
letter-spacing: 0.12em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.version-pill,
|
||
.deterministic-badge {
|
||
border: 1px solid var(--line);
|
||
border-radius: 999px;
|
||
color: var(--muted);
|
||
font-family: var(--font-mono);
|
||
font-size: 9px;
|
||
letter-spacing: 0.08em;
|
||
line-height: 1;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.version-pill {
|
||
padding: 5px 7px;
|
||
}
|
||
|
||
.topbar__actions {
|
||
margin-left: 10px;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.runtime-status {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 7px;
|
||
margin-right: 7px;
|
||
color: var(--muted);
|
||
font-family: var(--font-mono);
|
||
font-size: 10px;
|
||
letter-spacing: 0.08em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.runtime-status__dot {
|
||
width: 6px;
|
||
height: 6px;
|
||
border-radius: 50%;
|
||
background: var(--success);
|
||
box-shadow: 0 0 0 0 color-mix(in srgb, var(--success), transparent 65%);
|
||
animation: status-pulse 2.8s ease-out infinite;
|
||
}
|
||
|
||
.button {
|
||
min-height: 38px;
|
||
padding: 0 14px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 8px;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 7px;
|
||
background: var(--surface);
|
||
color: var(--ink-soft);
|
||
font-family: var(--font-mono);
|
||
font-size: 10px;
|
||
font-weight: 550;
|
||
letter-spacing: 0.055em;
|
||
line-height: 1;
|
||
text-transform: uppercase;
|
||
text-decoration: none;
|
||
transition:
|
||
border-color 180ms ease,
|
||
background-color 180ms ease,
|
||
color 180ms ease,
|
||
transform 180ms var(--ease);
|
||
}
|
||
|
||
.button:hover:not(:disabled) {
|
||
border-color: var(--line-strong);
|
||
background: var(--surface-hover);
|
||
color: var(--ink);
|
||
transform: translateY(-1px);
|
||
}
|
||
|
||
.button:active:not(:disabled) {
|
||
transform: translateY(0);
|
||
}
|
||
|
||
.button:disabled {
|
||
cursor: wait;
|
||
opacity: 0.55;
|
||
}
|
||
|
||
.button--quiet {
|
||
background: transparent;
|
||
}
|
||
|
||
.button--primary {
|
||
border-color: var(--ink);
|
||
background: var(--ink);
|
||
color: var(--bg);
|
||
}
|
||
|
||
.button--primary:hover:not(:disabled),
|
||
.button--primary.is-active {
|
||
border-color: var(--accent-strong);
|
||
background: var(--accent-strong);
|
||
color: var(--on-accent);
|
||
}
|
||
|
||
.button--square {
|
||
width: 42px;
|
||
min-width: 42px;
|
||
height: 42px;
|
||
padding: 0;
|
||
font-size: 17px;
|
||
}
|
||
|
||
.theme-button::before {
|
||
width: 10px;
|
||
height: 10px;
|
||
border: 1px solid currentColor;
|
||
border-radius: 50%;
|
||
background: linear-gradient(90deg, currentColor 50%, transparent 50%);
|
||
content: "";
|
||
}
|
||
|
||
main {
|
||
width: var(--content);
|
||
margin-inline: auto;
|
||
}
|
||
|
||
#overview,
|
||
#playground,
|
||
#states,
|
||
#api,
|
||
#download {
|
||
scroll-margin-top: 92px;
|
||
}
|
||
|
||
.hero {
|
||
min-height: 700px;
|
||
padding: clamp(70px, 8vw, 118px) 0 clamp(76px, 8vw, 112px);
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
|
||
align-items: center;
|
||
gap: clamp(52px, 7vw, 112px);
|
||
border-bottom: 1px solid var(--line);
|
||
}
|
||
|
||
.hero__copy {
|
||
max-width: 900px;
|
||
}
|
||
|
||
.eyebrow,
|
||
.section-index {
|
||
margin: 0;
|
||
color: var(--muted);
|
||
font-family: var(--font-mono);
|
||
font-size: 10px;
|
||
letter-spacing: 0.16em;
|
||
line-height: 1.4;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.eyebrow {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.eyebrow span {
|
||
color: var(--accent-strong);
|
||
}
|
||
|
||
.eyebrow::after {
|
||
width: 42px;
|
||
height: 1px;
|
||
content: "";
|
||
background: var(--line-strong);
|
||
}
|
||
|
||
.hero h1 {
|
||
max-width: 940px;
|
||
margin: 0;
|
||
color: var(--ink);
|
||
font-size: clamp(3.8rem, 6.2vw, 7rem);
|
||
font-weight: 260;
|
||
letter-spacing: -0.065em;
|
||
line-height: 0.91;
|
||
}
|
||
|
||
.hero__lede {
|
||
max-width: 720px;
|
||
margin: 28px 0 0;
|
||
color: var(--muted);
|
||
font-size: clamp(15px, 1.3vw, 18px);
|
||
font-weight: 350;
|
||
line-height: 1.68;
|
||
}
|
||
|
||
.landing-hero__actions {
|
||
margin-top: 34px;
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 9px;
|
||
}
|
||
|
||
.landing-hero__actions .button {
|
||
min-height: 48px;
|
||
padding-inline: 18px;
|
||
}
|
||
|
||
.landing-hero__visual {
|
||
--hero-proof-height: 90px;
|
||
--hero-proof-offset: 45px;
|
||
position: relative;
|
||
min-height: clamp(500px, 40vw, 590px);
|
||
overflow: hidden;
|
||
border: 1px solid var(--line);
|
||
border-radius: var(--radius-lg);
|
||
background:
|
||
linear-gradient(90deg, var(--ambient-grid) 1px, transparent 1px) 0 0 / 24px 24px,
|
||
linear-gradient(var(--ambient-grid) 1px, transparent 1px) 0 0 / 24px 24px,
|
||
radial-gradient(circle at 50% 43%, var(--body-accent-glow), transparent 48%),
|
||
color-mix(in srgb, var(--surface), transparent 24%);
|
||
box-shadow: var(--shadow);
|
||
isolation: isolate;
|
||
}
|
||
|
||
.landing-hero__visual::before,
|
||
.landing-hero__visual::after {
|
||
position: absolute;
|
||
z-index: 4;
|
||
pointer-events: none;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.12em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.landing-hero__visual::before {
|
||
top: 17px;
|
||
left: 18px;
|
||
content: "FIELD / SEMANTIC PRESENCE";
|
||
}
|
||
|
||
.landing-hero__visual::after {
|
||
top: 17px;
|
||
right: 18px;
|
||
content: "LIVE 68×68";
|
||
}
|
||
|
||
.hero-engine-output {
|
||
position: absolute;
|
||
z-index: 2;
|
||
top: calc(50% - var(--hero-proof-offset));
|
||
left: 50%;
|
||
width: min(78%, 450px);
|
||
aspect-ratio: 1;
|
||
pointer-events: none;
|
||
transform: translate(-50%, -50%);
|
||
contain: layout paint;
|
||
}
|
||
|
||
.hero-engine-output canvas {
|
||
width: 100%;
|
||
height: 100%;
|
||
display: block;
|
||
image-rendering: pixelated;
|
||
image-rendering: crisp-edges;
|
||
}
|
||
|
||
.hero-proof {
|
||
position: absolute;
|
||
z-index: 3;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
min-height: 90px;
|
||
margin: 0;
|
||
display: grid;
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
border-top: 1px solid var(--line);
|
||
background: color-mix(in srgb, var(--bg-raised), transparent 5%);
|
||
backdrop-filter: blur(14px);
|
||
}
|
||
|
||
.hero-proof div {
|
||
min-width: 0;
|
||
padding: 18px 20px;
|
||
display: grid;
|
||
align-content: center;
|
||
gap: 4px;
|
||
border-right: 1px solid var(--line);
|
||
}
|
||
|
||
.hero-proof div:last-child {
|
||
border-right: 0;
|
||
}
|
||
|
||
.hero-proof dt {
|
||
color: var(--ink);
|
||
font-family: var(--font-mono);
|
||
font-size: 18px;
|
||
line-height: 1;
|
||
}
|
||
|
||
.hero-proof dd {
|
||
margin: 0;
|
||
overflow: hidden;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.06em;
|
||
line-height: 1.35;
|
||
text-overflow: ellipsis;
|
||
text-transform: uppercase;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.principles-section {
|
||
padding: clamp(88px, 9vw, 132px) 0;
|
||
border-bottom: 1px solid var(--line);
|
||
}
|
||
|
||
.principles-section__heading {
|
||
display: grid;
|
||
grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
|
||
align-items: start;
|
||
gap: clamp(34px, 8vw, 120px);
|
||
}
|
||
|
||
.principles-section__heading h2,
|
||
.studio-intro h2,
|
||
.usage-section__heading h2 {
|
||
margin: 0;
|
||
color: var(--ink);
|
||
font-size: clamp(2.5rem, 4.8vw, 5.25rem);
|
||
font-weight: 270;
|
||
letter-spacing: -0.055em;
|
||
line-height: 0.98;
|
||
}
|
||
|
||
.principles-grid {
|
||
margin-top: clamp(46px, 6vw, 82px);
|
||
display: grid;
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
border: 1px solid var(--line);
|
||
background: var(--line);
|
||
gap: 1px;
|
||
}
|
||
|
||
.principle-card {
|
||
position: relative;
|
||
min-height: 260px;
|
||
padding: 28px;
|
||
overflow: hidden;
|
||
background:
|
||
radial-gradient(circle, var(--ambient-grid) 0 1px, transparent 1.25px) 0 0 / 12px 12px,
|
||
var(--bg-raised);
|
||
}
|
||
|
||
.principle-card::after {
|
||
position: absolute;
|
||
right: -38px;
|
||
bottom: -38px;
|
||
width: 116px;
|
||
height: 116px;
|
||
border: 1px dashed var(--line-strong);
|
||
border-radius: 50%;
|
||
content: "";
|
||
}
|
||
|
||
.principle-card__index {
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 9px;
|
||
letter-spacing: 0.12em;
|
||
}
|
||
|
||
.principle-card h3 {
|
||
max-width: 270px;
|
||
margin: 72px 0 0;
|
||
color: var(--ink-soft);
|
||
font-size: 21px;
|
||
font-weight: 430;
|
||
letter-spacing: -0.025em;
|
||
}
|
||
|
||
.principle-card p {
|
||
max-width: 36ch;
|
||
margin: 12px 0 0;
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
line-height: 1.68;
|
||
}
|
||
|
||
.studio-intro {
|
||
padding: clamp(80px, 8vw, 116px) 0 36px;
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.72fr);
|
||
align-items: end;
|
||
justify-content: space-between;
|
||
gap: clamp(40px, 8vw, 120px);
|
||
}
|
||
|
||
.studio-intro h2 {
|
||
max-width: 780px;
|
||
margin-top: 14px;
|
||
}
|
||
|
||
.studio-intro > p {
|
||
max-width: 520px;
|
||
margin: 0;
|
||
color: var(--muted);
|
||
font-size: 14px;
|
||
line-height: 1.72;
|
||
}
|
||
display: flex;
|
||
align-items: baseline;
|
||
justify-content: space-between;
|
||
gap: 24px;
|
||
border-bottom: 1px solid var(--line);
|
||
}
|
||
|
||
.hero__specs dt {
|
||
color: var(--ink);
|
||
font-family: var(--font-mono);
|
||
font-size: 17px;
|
||
}
|
||
|
||
.hero__specs dd {
|
||
margin: 0;
|
||
color: var(--muted);
|
||
font-family: var(--font-mono);
|
||
font-size: 9px;
|
||
letter-spacing: 0.08em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.workbench {
|
||
padding: 28px 0 110px;
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) 360px;
|
||
align-items: start;
|
||
gap: 18px;
|
||
}
|
||
|
||
.panel {
|
||
border: 1px solid var(--line);
|
||
border-radius: var(--radius-lg);
|
||
background:
|
||
linear-gradient(145deg, var(--surface-sheen), transparent 32%),
|
||
var(--surface);
|
||
box-shadow: var(--shadow);
|
||
}
|
||
|
||
.panel-heading {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: space-between;
|
||
gap: 28px;
|
||
}
|
||
|
||
.stage-panel {
|
||
min-width: 0;
|
||
padding: 26px;
|
||
}
|
||
|
||
.stage-heading {
|
||
min-height: 116px;
|
||
padding: 2px 2px 22px;
|
||
}
|
||
|
||
.state-heading {
|
||
margin-top: 11px;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
}
|
||
|
||
.state-heading h2,
|
||
.control-heading h2 {
|
||
margin: 0;
|
||
color: var(--ink);
|
||
font-size: 24px;
|
||
font-weight: 440;
|
||
letter-spacing: -0.025em;
|
||
}
|
||
|
||
.state-category {
|
||
padding: 5px 7px;
|
||
border: 1px solid var(--line-strong);
|
||
border-radius: 4px;
|
||
color: var(--accent-strong);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.09em;
|
||
line-height: 1;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.state-description {
|
||
max-width: 64ch;
|
||
min-height: 36px;
|
||
margin: 8px 0 0;
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
line-height: 1.55;
|
||
}
|
||
|
||
.signal-cluster {
|
||
flex: 0 0 auto;
|
||
text-align: right;
|
||
}
|
||
|
||
.signal-cluster__label {
|
||
display: block;
|
||
margin: 0 1px 8px;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.13em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.signal-cluster__buttons {
|
||
display: flex;
|
||
gap: 5px;
|
||
}
|
||
|
||
.signal-button {
|
||
min-width: 64px;
|
||
min-height: 35px;
|
||
padding: 0 10px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 7px;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 6px;
|
||
background: transparent;
|
||
color: var(--muted);
|
||
font-family: var(--font-mono);
|
||
font-size: 9px;
|
||
letter-spacing: 0.04em;
|
||
transition:
|
||
color 160ms ease,
|
||
border-color 160ms ease,
|
||
background-color 160ms ease;
|
||
}
|
||
|
||
.signal-button::before {
|
||
width: 6px;
|
||
height: 6px;
|
||
content: "";
|
||
background: currentColor;
|
||
box-shadow: 4px 0 0 color-mix(in srgb, currentColor, transparent 56%);
|
||
}
|
||
|
||
.signal-button--search::before {
|
||
border: 1px solid currentColor;
|
||
border-radius: 50%;
|
||
background: transparent;
|
||
box-shadow: 4px 4px 0 -2px currentColor;
|
||
}
|
||
|
||
.signal-button--audio::before {
|
||
width: 2px;
|
||
height: 8px;
|
||
box-shadow:
|
||
4px -2px 0 currentColor,
|
||
8px 1px 0 currentColor;
|
||
}
|
||
|
||
.signal-button:hover {
|
||
border-color: color-mix(in srgb, var(--accent), var(--line) 40%);
|
||
background: var(--accent-wash);
|
||
color: var(--accent-strong);
|
||
}
|
||
|
||
.workflow-bar {
|
||
margin: 0 0 14px;
|
||
padding: 11px;
|
||
display: grid;
|
||
grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
|
||
align-items: end;
|
||
gap: 12px;
|
||
border: 1px solid var(--line);
|
||
border-radius: 9px;
|
||
background: color-mix(in srgb, var(--bg-raised), transparent 14%);
|
||
}
|
||
|
||
.state-picker {
|
||
min-width: 0;
|
||
display: grid;
|
||
grid-template-columns: minmax(128px, 0.72fr) minmax(160px, 1fr);
|
||
gap: 7px;
|
||
}
|
||
|
||
.state-picker label,
|
||
.export-field {
|
||
min-width: 0;
|
||
display: grid;
|
||
gap: 6px;
|
||
}
|
||
|
||
.state-picker label > span:first-child,
|
||
.export-field > span:first-child {
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.1em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.state-picker input,
|
||
.state-picker select,
|
||
.recent-preset select,
|
||
.export-field input,
|
||
.export-field select {
|
||
width: 100%;
|
||
height: 36px;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 6px;
|
||
outline: 0;
|
||
background: var(--surface);
|
||
color: var(--ink-soft);
|
||
font-family: var(--font-mono);
|
||
font-size: 9px;
|
||
}
|
||
|
||
.state-picker input,
|
||
.export-field input {
|
||
padding: 0 10px;
|
||
}
|
||
|
||
.state-picker input::placeholder {
|
||
color: var(--faint);
|
||
}
|
||
|
||
.state-picker input:hover,
|
||
.state-picker select:hover,
|
||
.recent-preset select:hover,
|
||
.export-field input:hover,
|
||
.export-field select:hover {
|
||
border-color: var(--line-strong);
|
||
}
|
||
|
||
.state-picker input:focus-visible,
|
||
.state-picker select:focus-visible,
|
||
.recent-preset select:focus-visible,
|
||
.export-field input:focus-visible,
|
||
.export-field select:focus-visible {
|
||
border-color: var(--accent);
|
||
box-shadow: 0 0 0 3px var(--accent-wash);
|
||
}
|
||
|
||
.recipe-workflow {
|
||
min-width: 0;
|
||
display: grid;
|
||
justify-items: end;
|
||
gap: 7px;
|
||
}
|
||
|
||
.recipe-workflow__status {
|
||
min-width: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
}
|
||
|
||
#workflowStatus {
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
#workflowStatus[data-tone="success"] {
|
||
color: var(--success);
|
||
}
|
||
|
||
#workflowStatus[data-tone="warning"] {
|
||
color: var(--accent-strong);
|
||
}
|
||
|
||
#workflowStatus[data-tone="danger"] {
|
||
color: var(--danger);
|
||
}
|
||
|
||
.recipe-workflow__actions {
|
||
min-width: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
gap: 5px;
|
||
}
|
||
|
||
.recent-preset {
|
||
min-width: 120px;
|
||
max-width: 150px;
|
||
}
|
||
|
||
.recent-preset select {
|
||
height: 34px;
|
||
padding: 0 25px 0 8px;
|
||
}
|
||
|
||
.workflow-button {
|
||
min-height: 34px;
|
||
padding: 0 8px;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 5px;
|
||
background: transparent;
|
||
color: var(--muted);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.04em;
|
||
}
|
||
|
||
.workflow-button:hover:not(:disabled) {
|
||
border-color: var(--line-strong);
|
||
background: var(--surface-hover);
|
||
color: var(--ink-soft);
|
||
}
|
||
|
||
.workflow-button:disabled,
|
||
.recent-preset select:disabled {
|
||
cursor: not-allowed;
|
||
opacity: 0.42;
|
||
}
|
||
|
||
.workflow-export {
|
||
min-height: 34px;
|
||
padding-inline: 11px;
|
||
font-size: 8px;
|
||
}
|
||
|
||
.scope-badge {
|
||
width: max-content;
|
||
max-width: 100%;
|
||
padding: 3px 5px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
border: 1px solid var(--line);
|
||
border-radius: 4px;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 7px;
|
||
font-weight: 500;
|
||
letter-spacing: 0.06em;
|
||
line-height: 1;
|
||
text-transform: uppercase;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.scope-badge[data-scope="custom"] {
|
||
border-color: color-mix(in srgb, var(--accent), transparent 64%);
|
||
background: var(--accent-wash);
|
||
color: var(--accent-strong);
|
||
}
|
||
|
||
.scope-badge[data-scope="carry"] {
|
||
border-color: color-mix(in srgb, var(--success), transparent 72%);
|
||
color: var(--success);
|
||
}
|
||
|
||
.canvas-frame {
|
||
position: relative;
|
||
width: min(100%, 820px);
|
||
aspect-ratio: 1;
|
||
margin-inline: auto;
|
||
overflow: hidden;
|
||
border: 1px solid var(--line-strong);
|
||
border-radius: var(--radius-md);
|
||
background:
|
||
radial-gradient(circle at 50% 48%, var(--canvas-glow), transparent 35%),
|
||
linear-gradient(var(--canvas-grid) 1px, transparent 1px),
|
||
linear-gradient(90deg, var(--canvas-grid) 1px, transparent 1px),
|
||
var(--canvas);
|
||
background-size:
|
||
auto,
|
||
24px 24px,
|
||
24px 24px,
|
||
auto;
|
||
isolation: isolate;
|
||
transition:
|
||
border-color 180ms ease,
|
||
box-shadow 180ms ease;
|
||
}
|
||
|
||
.canvas-frame::before,
|
||
.canvas-frame::after {
|
||
position: absolute;
|
||
z-index: 4;
|
||
pointer-events: none;
|
||
content: "";
|
||
}
|
||
|
||
.canvas-frame::before {
|
||
inset: 9px;
|
||
border:
|
||
solid color-mix(in srgb, var(--line-strong), transparent 18%);
|
||
border-width: 1px 0;
|
||
opacity: 0.55;
|
||
clip-path: polygon(
|
||
0 0,
|
||
38px 0,
|
||
38px 1px,
|
||
calc(100% - 38px) 1px,
|
||
calc(100% - 38px) 0,
|
||
100% 0,
|
||
100% 100%,
|
||
calc(100% - 38px) 100%,
|
||
calc(100% - 38px) calc(100% - 1px),
|
||
38px calc(100% - 1px),
|
||
38px 100%,
|
||
0 100%
|
||
);
|
||
}
|
||
|
||
.canvas-frame::after {
|
||
top: -22%;
|
||
right: 0;
|
||
left: 0;
|
||
height: 18%;
|
||
background: linear-gradient(to bottom, transparent, var(--canvas-scan), transparent);
|
||
animation: field-scan 9s linear infinite;
|
||
}
|
||
|
||
.canvas-frame.is-actual-preview::before {
|
||
inset: 50% auto auto 50%;
|
||
width: calc(var(--preview-grid-size, 68px) + 10px);
|
||
height: calc(var(--preview-grid-size, 68px) + 10px);
|
||
border: 1px solid color-mix(in srgb, var(--accent), transparent 58%);
|
||
clip-path: none;
|
||
opacity: 1;
|
||
transform: translate(-50%, -50%);
|
||
box-shadow: 0 0 28px color-mix(in srgb, var(--accent), transparent 88%);
|
||
}
|
||
|
||
.canvas-frame.is-actual-preview::after {
|
||
display: none;
|
||
}
|
||
|
||
.canvas-frame.is-dragging {
|
||
border-color: var(--accent);
|
||
box-shadow:
|
||
0 0 0 4px var(--accent-wash),
|
||
inset 0 0 80px var(--accent-wash);
|
||
}
|
||
|
||
.canvas-frame.is-dragging::before {
|
||
inset: 22px;
|
||
display: grid;
|
||
place-items: center;
|
||
border: 1px dashed var(--accent);
|
||
clip-path: none;
|
||
content: "DROP GLYPH TO COMPILE";
|
||
color: var(--accent-strong);
|
||
font-family: var(--font-mono);
|
||
font-size: 10px;
|
||
letter-spacing: 0.16em;
|
||
}
|
||
|
||
#engineCanvas {
|
||
position: absolute;
|
||
z-index: 2;
|
||
inset: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
display: block;
|
||
touch-action: none;
|
||
image-rendering: pixelated;
|
||
image-rendering: crisp-edges;
|
||
}
|
||
|
||
#engineCanvas:focus-visible {
|
||
outline: 2px solid var(--accent);
|
||
outline-offset: -5px;
|
||
box-shadow: inset 0 0 0 6px color-mix(in srgb, var(--accent), transparent 78%);
|
||
}
|
||
|
||
.frame-badge {
|
||
position: absolute;
|
||
z-index: 5;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.12em;
|
||
line-height: 1;
|
||
text-transform: uppercase;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.frame-badge--top {
|
||
top: 18px;
|
||
left: 19px;
|
||
}
|
||
|
||
.frame-badge--top::before {
|
||
width: 5px;
|
||
height: 5px;
|
||
border-radius: 50%;
|
||
background: var(--success);
|
||
content: "";
|
||
box-shadow: 0 0 10px color-mix(in srgb, var(--success), transparent 30%);
|
||
}
|
||
|
||
.frame-badge--bottom {
|
||
right: 19px;
|
||
bottom: 18px;
|
||
}
|
||
|
||
.preview-scale-control {
|
||
position: absolute;
|
||
z-index: 6;
|
||
top: 12px;
|
||
right: 12px;
|
||
padding: 3px;
|
||
display: inline-grid;
|
||
grid-auto-flow: column;
|
||
gap: 2px;
|
||
border: 1px solid var(--line-strong);
|
||
border-radius: 7px;
|
||
background: color-mix(in srgb, var(--surface), transparent 8%);
|
||
box-shadow: var(--shadow-soft);
|
||
backdrop-filter: blur(10px);
|
||
}
|
||
|
||
.preview-scale-control button {
|
||
min-width: 42px;
|
||
min-height: 32px;
|
||
padding: 0 9px;
|
||
border: 0;
|
||
border-radius: 4px;
|
||
background: transparent;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.08em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.preview-scale-control button:hover {
|
||
background: var(--surface-hover);
|
||
color: var(--ink);
|
||
}
|
||
|
||
.preview-scale-control button[aria-pressed="true"] {
|
||
background: var(--accent-wash);
|
||
color: var(--accent-strong);
|
||
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent), transparent 52%);
|
||
}
|
||
|
||
.progress-control {
|
||
margin-top: 14px;
|
||
padding: 13px 15px;
|
||
display: none;
|
||
grid-template-columns: minmax(150px, 0.35fr) minmax(180px, 1fr);
|
||
align-items: center;
|
||
gap: 22px;
|
||
border: 1px solid var(--line);
|
||
border-radius: 8px;
|
||
background: var(--bg-raised);
|
||
}
|
||
|
||
.progress-control.is-visible,
|
||
#progressControl.is-visible {
|
||
display: grid;
|
||
}
|
||
|
||
.progress-control label {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 16px;
|
||
color: var(--muted);
|
||
font-family: var(--font-mono);
|
||
font-size: 9px;
|
||
letter-spacing: 0.08em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.progress-control output {
|
||
color: var(--accent-strong);
|
||
}
|
||
|
||
.stage-lower {
|
||
padding: 18px 2px 12px;
|
||
display: flex;
|
||
align-items: flex-end;
|
||
justify-content: space-between;
|
||
gap: 22px;
|
||
}
|
||
|
||
.quick-states > span {
|
||
display: block;
|
||
margin-bottom: 7px;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.12em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.quick-states > div {
|
||
display: flex;
|
||
gap: 4px;
|
||
}
|
||
|
||
.quick-states button {
|
||
min-height: 30px;
|
||
padding: 0 10px;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 5px;
|
||
background: transparent;
|
||
color: var(--muted);
|
||
font-family: var(--font-mono);
|
||
font-size: 9px;
|
||
}
|
||
|
||
.quick-states button:hover {
|
||
border-color: var(--line-strong);
|
||
background: var(--surface-hover);
|
||
color: var(--ink);
|
||
}
|
||
|
||
.quick-states button.is-selected,
|
||
.quick-states button[aria-pressed="true"] {
|
||
border-color: color-mix(in srgb, var(--accent), var(--line) 35%);
|
||
background: var(--accent-wash);
|
||
color: var(--accent-strong);
|
||
}
|
||
|
||
.stage-metrics {
|
||
margin: 0;
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
gap: 24px;
|
||
text-align: right;
|
||
}
|
||
|
||
.stage-metrics div {
|
||
min-width: 52px;
|
||
}
|
||
|
||
.stage-metrics dt {
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.12em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.stage-metrics dd {
|
||
margin: 4px 0 0;
|
||
color: var(--ink-soft);
|
||
font-family: var(--font-mono);
|
||
font-size: 11px;
|
||
font-variant-numeric: tabular-nums;
|
||
}
|
||
|
||
.stage-metrics__state {
|
||
min-width: 112px !important;
|
||
}
|
||
|
||
.stage-actions {
|
||
padding: 17px 2px 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 24px;
|
||
border-top: 1px solid var(--line);
|
||
}
|
||
|
||
.stage-actions p {
|
||
margin: 0;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.03em;
|
||
}
|
||
|
||
kbd {
|
||
min-width: 19px;
|
||
height: 19px;
|
||
margin: 0 3px;
|
||
padding: 0 5px;
|
||
display: inline-grid;
|
||
place-items: center;
|
||
border: 1px solid var(--line-strong);
|
||
border-bottom-width: 2px;
|
||
border-radius: 4px;
|
||
background: var(--bg-raised);
|
||
color: var(--muted);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
box-shadow: inset 0 -1px var(--inset-edge);
|
||
}
|
||
|
||
.stage-actions > div {
|
||
display: flex;
|
||
gap: 7px;
|
||
}
|
||
|
||
.play-button::before {
|
||
width: 8px;
|
||
height: 8px;
|
||
content: "";
|
||
background:
|
||
linear-gradient(90deg, currentColor 0 2px, transparent 2px 5px, currentColor 5px);
|
||
}
|
||
|
||
.control-panel {
|
||
position: sticky;
|
||
top: 86px;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.control-heading {
|
||
padding: 25px 24px 21px;
|
||
border-bottom: 1px solid var(--line);
|
||
}
|
||
|
||
.control-heading h2 {
|
||
margin-top: 10px;
|
||
font-size: 20px;
|
||
}
|
||
|
||
.control-heading__hint {
|
||
margin: 7px 0 0;
|
||
color: var(--faint);
|
||
font-size: 9px;
|
||
line-height: 1.45;
|
||
}
|
||
|
||
.deterministic-badge {
|
||
padding: 6px 8px;
|
||
color: var(--success);
|
||
}
|
||
|
||
.control-form {
|
||
margin: 0;
|
||
}
|
||
|
||
.control-section {
|
||
margin: 0;
|
||
padding: 22px 24px 23px;
|
||
display: grid;
|
||
gap: 18px;
|
||
border: 0;
|
||
border-bottom: 1px solid var(--line);
|
||
}
|
||
|
||
.control-section legend {
|
||
width: 100%;
|
||
padding: 18px 24px 0;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.15em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.control-section legend .scope-badge {
|
||
margin-left: 8px;
|
||
vertical-align: 1px;
|
||
}
|
||
|
||
.control-label-line {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 8px;
|
||
}
|
||
|
||
.control-with-tooltip {
|
||
position: relative;
|
||
cursor: help;
|
||
}
|
||
|
||
button.control-with-tooltip {
|
||
cursor: pointer;
|
||
}
|
||
|
||
.control-tooltip {
|
||
position: fixed;
|
||
z-index: 90;
|
||
width: max-content;
|
||
max-width: min(300px, calc(100vw - 24px));
|
||
padding: 10px 11px;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 7px;
|
||
visibility: hidden;
|
||
background: color-mix(in srgb, var(--surface-raised), var(--bg) 18%);
|
||
box-shadow: var(--shadow-float);
|
||
color: var(--ink-soft);
|
||
font-family: var(--font-sans);
|
||
font-size: 10px;
|
||
font-weight: 400;
|
||
letter-spacing: 0;
|
||
line-height: 1.5;
|
||
opacity: 0;
|
||
pointer-events: none;
|
||
text-align: left;
|
||
text-transform: none;
|
||
transform: translateY(3px);
|
||
transition:
|
||
opacity 140ms ease,
|
||
transform 140ms ease,
|
||
visibility 140ms ease;
|
||
}
|
||
|
||
.control-tooltip::before {
|
||
position: absolute;
|
||
left: 50%;
|
||
width: 7px;
|
||
height: 7px;
|
||
border: solid var(--control-line);
|
||
background: color-mix(in srgb, var(--surface-raised), var(--bg) 18%);
|
||
content: "";
|
||
transform: translateX(-50%) rotate(45deg);
|
||
}
|
||
|
||
.control-tooltip[data-placement="bottom"]::before {
|
||
top: -4px;
|
||
border-width: 1px 0 0 1px;
|
||
}
|
||
|
||
.control-tooltip[data-placement="top"]::before {
|
||
bottom: -4px;
|
||
border-width: 0 1px 1px 0;
|
||
}
|
||
|
||
.control-tooltip.is-visible {
|
||
visibility: visible;
|
||
opacity: 1;
|
||
transform: translateY(0);
|
||
}
|
||
|
||
.control-section--palette {
|
||
gap: 14px;
|
||
}
|
||
|
||
.palette-intro {
|
||
margin: 0;
|
||
color: var(--muted);
|
||
font-size: 10px;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.palette-intro-row {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: space-between;
|
||
gap: 10px;
|
||
}
|
||
|
||
.palette-intro-row .palette-intro {
|
||
flex: 1;
|
||
}
|
||
|
||
.palette-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 8px;
|
||
}
|
||
|
||
.color-control {
|
||
min-width: 0;
|
||
padding: 10px;
|
||
display: grid;
|
||
gap: 8px;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 6px;
|
||
background: var(--bg-raised);
|
||
color: var(--ink-soft);
|
||
font-size: 10px;
|
||
transition:
|
||
border-color 160ms ease,
|
||
background-color 160ms ease;
|
||
}
|
||
|
||
.color-control:hover {
|
||
border-color: var(--line-strong);
|
||
background: var(--surface);
|
||
}
|
||
|
||
.color-control__picker {
|
||
position: relative;
|
||
min-width: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.color-control__header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 8px;
|
||
}
|
||
|
||
.glow-toggle {
|
||
min-height: 22px;
|
||
padding: 0 6px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 5px;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 4px;
|
||
background: transparent;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.06em;
|
||
line-height: 1;
|
||
text-transform: uppercase;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.glow-toggle:hover,
|
||
.glow-toggle:focus-within {
|
||
border-color: var(--line-strong);
|
||
color: var(--ink-soft);
|
||
}
|
||
|
||
.glow-toggle input {
|
||
width: 12px;
|
||
height: 12px;
|
||
margin: 0;
|
||
accent-color: var(--accent);
|
||
cursor: pointer;
|
||
}
|
||
|
||
.color-control--glow.is-glow-disabled .color-control__picker {
|
||
opacity: 0.48;
|
||
}
|
||
|
||
.color-control--glow.is-glow-disabled .glow-toggle {
|
||
border-color: color-mix(in srgb, var(--accent), transparent 58%);
|
||
color: var(--accent-strong);
|
||
}
|
||
|
||
.color-control--glow.is-glow-disabled .color-control__picker::after {
|
||
position: absolute;
|
||
top: 50%;
|
||
left: 0;
|
||
width: 34px;
|
||
height: 1px;
|
||
background: var(--faint);
|
||
content: "";
|
||
pointer-events: none;
|
||
transform: rotate(-35deg);
|
||
}
|
||
|
||
.color-control--glow.is-glow-disabled input[type="color"] {
|
||
cursor: not-allowed;
|
||
filter: grayscale(1);
|
||
}
|
||
|
||
.color-control input[type="color"] {
|
||
width: 30px;
|
||
height: 24px;
|
||
flex: 0 0 auto;
|
||
padding: 2px;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 4px;
|
||
outline: 0;
|
||
background: transparent;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.color-control input[type="color"]::-webkit-color-swatch-wrapper {
|
||
padding: 0;
|
||
}
|
||
|
||
.color-control input[type="color"]::-webkit-color-swatch {
|
||
border: 0;
|
||
border-radius: 2px;
|
||
}
|
||
|
||
.color-control input[type="color"]::-moz-color-swatch {
|
||
border: 0;
|
||
border-radius: 2px;
|
||
}
|
||
|
||
.color-control input[type="color"]:focus-visible {
|
||
border-color: var(--accent);
|
||
box-shadow: 0 0 0 3px var(--accent-wash);
|
||
}
|
||
|
||
.color-control output {
|
||
min-width: 0;
|
||
overflow: hidden;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
font-variant-numeric: tabular-nums;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.palette-reset {
|
||
min-height: 34px;
|
||
padding: 0 11px;
|
||
justify-self: start;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 6px;
|
||
background: transparent;
|
||
color: var(--muted);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.07em;
|
||
text-transform: uppercase;
|
||
transition:
|
||
border-color 160ms ease,
|
||
color 160ms ease,
|
||
background-color 160ms ease;
|
||
}
|
||
|
||
.palette-reset:hover {
|
||
border-color: var(--line-strong);
|
||
background: var(--surface);
|
||
color: var(--ink-soft);
|
||
}
|
||
|
||
.control-section--palette.is-error-state .palette-intro::after {
|
||
display: block;
|
||
margin-top: 6px;
|
||
color: var(--danger);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.06em;
|
||
content: "ERROR PREVIEW PROTECTED";
|
||
}
|
||
|
||
.select-control,
|
||
.orb-boundary-control,
|
||
.orb-background-control,
|
||
.seed-control {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 0.85fr) minmax(132px, 1.15fr);
|
||
align-items: center;
|
||
gap: 15px;
|
||
}
|
||
|
||
.select-control > span:first-child,
|
||
.orb-boundary-control > span:first-child,
|
||
.orb-background-control > span:first-child,
|
||
.seed-control > span:first-child {
|
||
color: var(--ink-soft);
|
||
font-size: 11px;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.select-control small,
|
||
.orb-boundary-control small,
|
||
.orb-background-control small,
|
||
.seed-control small {
|
||
display: block;
|
||
margin-top: 2px;
|
||
color: var(--faint);
|
||
font-size: 9px;
|
||
font-weight: 400;
|
||
line-height: 1.35;
|
||
}
|
||
|
||
.orb-boundary-control {
|
||
cursor: pointer;
|
||
transition: opacity 160ms ease;
|
||
}
|
||
|
||
.orb-boundary-toggle {
|
||
position: relative;
|
||
display: block;
|
||
}
|
||
|
||
.orb-boundary-toggle input {
|
||
position: absolute;
|
||
width: 1px;
|
||
height: 1px;
|
||
margin: 0;
|
||
overflow: hidden;
|
||
opacity: 0;
|
||
}
|
||
|
||
.orb-boundary-toggle__track {
|
||
position: relative;
|
||
min-height: 40px;
|
||
padding: 3px;
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
align-items: center;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 7px;
|
||
background: var(--bg-raised);
|
||
box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink), transparent 96%);
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.06em;
|
||
text-align: center;
|
||
text-transform: uppercase;
|
||
cursor: pointer;
|
||
transition:
|
||
border-color 160ms ease,
|
||
background-color 160ms ease;
|
||
}
|
||
|
||
.orb-boundary-toggle__track::before {
|
||
position: absolute;
|
||
z-index: 0;
|
||
top: 3px;
|
||
bottom: 3px;
|
||
left: 3px;
|
||
width: calc(50% - 3px);
|
||
border: 1px solid color-mix(in srgb, var(--accent), transparent 56%);
|
||
border-radius: 4px;
|
||
background: var(--accent-wash);
|
||
content: "";
|
||
transition: left 180ms ease;
|
||
}
|
||
|
||
.orb-boundary-toggle__track > span {
|
||
position: relative;
|
||
z-index: 1;
|
||
transition: color 160ms ease;
|
||
}
|
||
|
||
.orb-boundary-toggle input:not(:checked) + .orb-boundary-toggle__track > span:first-child,
|
||
.orb-boundary-toggle input:checked + .orb-boundary-toggle__track > span:last-child {
|
||
color: var(--accent-strong);
|
||
}
|
||
|
||
.orb-boundary-toggle input:checked + .orb-boundary-toggle__track::before {
|
||
left: 50%;
|
||
}
|
||
|
||
.orb-boundary-control:hover .orb-boundary-toggle__track {
|
||
border-color: var(--line-strong);
|
||
background: var(--surface);
|
||
}
|
||
|
||
.orb-boundary-toggle input:focus-visible + .orb-boundary-toggle__track {
|
||
border-color: var(--accent);
|
||
box-shadow: 0 0 0 3px var(--accent-wash);
|
||
}
|
||
|
||
.orb-boundary-control[data-available="false"] {
|
||
opacity: 0.5;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.orb-boundary-control[data-available="false"] .orb-boundary-toggle__track {
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.orb-background-control {
|
||
transition: opacity 160ms ease;
|
||
}
|
||
|
||
.orb-background-control[data-available="false"] {
|
||
opacity: 0.5;
|
||
}
|
||
|
||
.orb-background-actions {
|
||
min-height: 40px;
|
||
padding: 6px 8px;
|
||
display: grid;
|
||
grid-template-columns: auto minmax(54px, 1fr) auto;
|
||
align-items: center;
|
||
gap: 6px;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 7px;
|
||
background: var(--bg-raised);
|
||
transition:
|
||
border-color 160ms ease,
|
||
background-color 160ms ease;
|
||
}
|
||
|
||
.orb-background-mode {
|
||
min-width: 0;
|
||
}
|
||
|
||
.orb-background-mode select {
|
||
width: 100%;
|
||
min-width: 0;
|
||
height: 24px;
|
||
padding: 0 18px 0 7px;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 4px;
|
||
outline: 0;
|
||
appearance: none;
|
||
background:
|
||
linear-gradient(45deg, transparent 50%, currentColor 50%)
|
||
calc(100% - 9px) 10px / 4px 4px no-repeat,
|
||
linear-gradient(135deg, currentColor 50%, transparent 50%)
|
||
calc(100% - 6px) 10px / 4px 4px no-repeat,
|
||
var(--bg-raised);
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.03em;
|
||
text-transform: uppercase;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.orb-background-mode select:hover,
|
||
.orb-background-mode select:focus-visible {
|
||
border-color: var(--line-strong);
|
||
color: var(--ink-soft);
|
||
}
|
||
|
||
.orb-background-mode select:focus-visible {
|
||
box-shadow: 0 0 0 3px var(--accent-wash);
|
||
}
|
||
|
||
.orb-background-mode select:disabled {
|
||
cursor: not-allowed;
|
||
opacity: 0.48;
|
||
}
|
||
|
||
.orb-background-control[data-enabled="true"] .orb-background-actions,
|
||
.orb-background-control:hover .orb-background-actions {
|
||
border-color: var(--line-strong);
|
||
background: var(--surface);
|
||
}
|
||
|
||
.color-enable-toggle {
|
||
min-height: 22px;
|
||
padding: 0 6px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 5px;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 4px;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.06em;
|
||
line-height: 1;
|
||
text-transform: uppercase;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.color-enable-toggle:hover,
|
||
.color-enable-toggle:focus-within {
|
||
border-color: var(--line-strong);
|
||
color: var(--ink-soft);
|
||
}
|
||
|
||
.color-enable-toggle input {
|
||
width: 12px;
|
||
height: 12px;
|
||
margin: 0;
|
||
accent-color: var(--accent);
|
||
cursor: pointer;
|
||
}
|
||
|
||
.orb-background-picker {
|
||
min-width: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.orb-background-picker input[type="color"] {
|
||
width: 30px;
|
||
height: 24px;
|
||
padding: 2px;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 4px;
|
||
outline: 0;
|
||
background: transparent;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.orb-background-picker input[type="color"]::-webkit-color-swatch-wrapper {
|
||
padding: 0;
|
||
}
|
||
|
||
.orb-background-picker input[type="color"]::-webkit-color-swatch {
|
||
border: 0;
|
||
border-radius: 2px;
|
||
}
|
||
|
||
.orb-background-picker input[type="color"]:focus-visible {
|
||
border-color: var(--accent);
|
||
box-shadow: 0 0 0 3px var(--accent-wash);
|
||
}
|
||
|
||
.orb-background-picker input:disabled {
|
||
cursor: not-allowed;
|
||
filter: grayscale(1);
|
||
opacity: 0.48;
|
||
}
|
||
|
||
.orb-background-picker output {
|
||
display: none;
|
||
min-width: 48px;
|
||
overflow: hidden;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
font-variant-numeric: tabular-nums;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.select-shell {
|
||
position: relative;
|
||
display: block;
|
||
}
|
||
|
||
.select-shell::after {
|
||
position: absolute;
|
||
top: 50%;
|
||
right: 12px;
|
||
color: var(--muted);
|
||
font-family: var(--font-mono);
|
||
font-size: 10px;
|
||
content: "⌄";
|
||
pointer-events: none;
|
||
transform: translateY(-58%);
|
||
}
|
||
|
||
select,
|
||
.seed-control input {
|
||
width: 100%;
|
||
height: 40px;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 6px;
|
||
outline: 0;
|
||
background: var(--bg-raised);
|
||
color: var(--ink-soft);
|
||
font-family: var(--font-mono);
|
||
font-size: 10px;
|
||
transition:
|
||
border-color 160ms ease,
|
||
background-color 160ms ease,
|
||
box-shadow 160ms ease;
|
||
}
|
||
|
||
select {
|
||
padding: 0 30px 0 11px;
|
||
appearance: none;
|
||
}
|
||
|
||
select:hover,
|
||
.seed-control input:hover {
|
||
border-color: var(--line-strong);
|
||
}
|
||
|
||
select:focus-visible,
|
||
.seed-control input:focus-visible {
|
||
border-color: var(--accent);
|
||
box-shadow: 0 0 0 3px var(--accent-wash);
|
||
}
|
||
|
||
.range-control {
|
||
display: grid;
|
||
gap: 10px;
|
||
}
|
||
|
||
.range-control > span {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
color: var(--ink-soft);
|
||
font-size: 11px;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.range-control output {
|
||
color: var(--accent-strong);
|
||
font-family: var(--font-mono);
|
||
font-size: 9px;
|
||
font-variant-numeric: tabular-nums;
|
||
}
|
||
|
||
input[type="range"] {
|
||
width: 100%;
|
||
height: 16px;
|
||
margin: 0;
|
||
padding: 0;
|
||
appearance: none;
|
||
outline: 0;
|
||
background: transparent;
|
||
}
|
||
|
||
input[type="range"]::-webkit-slider-runnable-track {
|
||
height: 2px;
|
||
border-radius: 0;
|
||
background: linear-gradient(90deg, var(--accent), var(--control-line));
|
||
}
|
||
|
||
input[type="range"]::-webkit-slider-thumb {
|
||
width: 13px;
|
||
height: 13px;
|
||
margin-top: -5.5px;
|
||
border: 2px solid var(--surface);
|
||
border-radius: 2px;
|
||
appearance: none;
|
||
background: var(--ink);
|
||
box-shadow: 0 0 0 1px var(--line-strong);
|
||
}
|
||
|
||
input[type="range"]::-moz-range-track {
|
||
height: 2px;
|
||
border: 0;
|
||
background: var(--control-line);
|
||
}
|
||
|
||
input[type="range"]::-moz-range-progress {
|
||
height: 2px;
|
||
background: var(--accent);
|
||
}
|
||
|
||
input[type="range"]::-moz-range-thumb {
|
||
width: 11px;
|
||
height: 11px;
|
||
border: 2px solid var(--surface);
|
||
border-radius: 2px;
|
||
background: var(--ink);
|
||
box-shadow: 0 0 0 1px var(--line-strong);
|
||
}
|
||
|
||
input[type="range"]:focus-visible::-webkit-slider-thumb {
|
||
box-shadow:
|
||
0 0 0 1px var(--accent),
|
||
0 0 0 4px var(--accent-wash);
|
||
}
|
||
|
||
.seed-control__row {
|
||
display: flex;
|
||
gap: 6px;
|
||
}
|
||
|
||
.seed-control input {
|
||
min-width: 0;
|
||
padding: 0 11px;
|
||
cursor: text;
|
||
}
|
||
|
||
.control-note {
|
||
padding: 18px 24px 21px;
|
||
display: flex;
|
||
align-items: flex-start;
|
||
gap: 10px;
|
||
background: color-mix(in srgb, var(--accent-wash), transparent 38%);
|
||
}
|
||
|
||
.control-note__mark {
|
||
width: 7px;
|
||
height: 7px;
|
||
margin-top: 4px;
|
||
flex: 0 0 auto;
|
||
border: 1px solid var(--accent);
|
||
transform: rotate(45deg);
|
||
}
|
||
|
||
.control-note p {
|
||
margin: 0;
|
||
color: var(--muted);
|
||
font-size: 10px;
|
||
line-height: 1.55;
|
||
}
|
||
|
||
.usage-section {
|
||
margin: 0 0 clamp(92px, 10vw, 144px);
|
||
padding: clamp(88px, 9vw, 132px) 0;
|
||
border-block: 1px solid var(--line);
|
||
}
|
||
|
||
.usage-section__heading {
|
||
display: grid;
|
||
grid-template-columns: minmax(140px, 0.34fr) minmax(0, 0.9fr) minmax(280px, 0.58fr);
|
||
align-items: end;
|
||
gap: clamp(32px, 5vw, 76px);
|
||
}
|
||
|
||
.usage-section__heading > p:last-child {
|
||
max-width: 500px;
|
||
margin: 0;
|
||
color: var(--muted);
|
||
font-size: 13px;
|
||
line-height: 1.72;
|
||
}
|
||
|
||
.usage-steps {
|
||
margin: clamp(46px, 6vw, 78px) 0 0;
|
||
padding: 0;
|
||
display: grid;
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
gap: 1px;
|
||
border: 1px solid var(--line);
|
||
background: var(--line);
|
||
list-style: none;
|
||
}
|
||
|
||
.usage-step {
|
||
min-width: 0;
|
||
min-height: 430px;
|
||
padding: clamp(22px, 2.4vw, 34px);
|
||
display: grid;
|
||
grid-template-rows: auto 1fr;
|
||
gap: 66px;
|
||
background:
|
||
linear-gradient(145deg, var(--surface-sheen), transparent 46%),
|
||
var(--bg-raised);
|
||
}
|
||
|
||
.usage-step > div {
|
||
min-width: 0;
|
||
}
|
||
|
||
.usage-step__number {
|
||
width: fit-content;
|
||
padding-bottom: 6px;
|
||
border-bottom: 1px solid var(--line-strong);
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 9px;
|
||
letter-spacing: 0.12em;
|
||
}
|
||
|
||
.usage-step h3 {
|
||
margin: 0;
|
||
color: var(--ink-soft);
|
||
font-size: 21px;
|
||
font-weight: 430;
|
||
letter-spacing: -0.025em;
|
||
}
|
||
|
||
.usage-step p {
|
||
min-height: 42px;
|
||
margin: 10px 0 22px;
|
||
color: var(--muted);
|
||
font-size: 11px;
|
||
line-height: 1.62;
|
||
}
|
||
|
||
.usage-step pre {
|
||
max-width: 100%;
|
||
margin: 8px 0 0;
|
||
padding: 14px;
|
||
overflow: auto;
|
||
border: 1px solid var(--code-line);
|
||
border-radius: 6px;
|
||
background:
|
||
linear-gradient(90deg, var(--code-grid), transparent 1px) 0 0 / 48px 100%,
|
||
var(--code-bg);
|
||
color: var(--code-ink);
|
||
scrollbar-color: var(--code-scrollbar) var(--code-bg);
|
||
}
|
||
|
||
.usage-step pre:focus-visible {
|
||
border-color: var(--accent);
|
||
outline-offset: 2px;
|
||
}
|
||
|
||
.usage-step code {
|
||
font-family: var(--font-mono);
|
||
font-size: 9px;
|
||
line-height: 1.72;
|
||
tab-size: 2;
|
||
}
|
||
|
||
.library-section {
|
||
padding: 0 0 112px;
|
||
}
|
||
|
||
.section-heading {
|
||
padding: 0 0 30px;
|
||
display: flex;
|
||
align-items: flex-end;
|
||
justify-content: space-between;
|
||
gap: 42px;
|
||
}
|
||
|
||
.section-heading h2,
|
||
.api-copy h2 {
|
||
max-width: 760px;
|
||
margin: 13px 0 0;
|
||
color: var(--ink);
|
||
font-size: clamp(2rem, 4.2vw, 4.4rem);
|
||
font-weight: 280;
|
||
letter-spacing: -0.05em;
|
||
line-height: 1;
|
||
}
|
||
|
||
.section-heading p:not(.section-index) {
|
||
max-width: 610px;
|
||
margin: 17px 0 0;
|
||
color: var(--muted);
|
||
font-size: 13px;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.section-heading__aside {
|
||
min-width: 190px;
|
||
padding: 12px 0;
|
||
display: grid;
|
||
gap: 5px;
|
||
border-block: 1px solid var(--line);
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.06em;
|
||
text-align: right;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.section-heading__aside b {
|
||
color: var(--accent-strong);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.saved-presets {
|
||
margin: 0 0 24px;
|
||
padding: 17px;
|
||
border: 1px solid var(--line);
|
||
border-radius: 10px;
|
||
background:
|
||
linear-gradient(135deg, var(--surface-sheen), transparent 54%),
|
||
color-mix(in srgb, var(--bg-raised), transparent 12%);
|
||
}
|
||
|
||
.saved-presets__header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 24px;
|
||
}
|
||
|
||
.saved-presets__header > div:first-child {
|
||
min-width: 0;
|
||
}
|
||
|
||
.saved-presets__eyebrow {
|
||
margin: 0 0 5px;
|
||
color: var(--accent-strong);
|
||
font-family: var(--font-mono);
|
||
font-size: 7px;
|
||
letter-spacing: 0.12em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.saved-presets h3 {
|
||
margin: 0;
|
||
color: var(--ink-soft);
|
||
font-size: 15px;
|
||
font-weight: 540;
|
||
letter-spacing: -0.015em;
|
||
}
|
||
|
||
.saved-presets__header p:not(.saved-presets__eyebrow) {
|
||
max-width: 650px;
|
||
margin: 5px 0 0;
|
||
color: var(--faint);
|
||
font-size: 9px;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.saved-presets__actions {
|
||
flex: 0 0 auto;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.saved-presets__count {
|
||
min-width: 54px;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
text-align: right;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.saved-presets__empty {
|
||
min-height: 58px;
|
||
margin: 14px 0 0;
|
||
padding: 14px;
|
||
display: grid;
|
||
place-items: center;
|
||
border: 1px dashed var(--control-line);
|
||
border-radius: 7px;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
line-height: 1.5;
|
||
text-align: center;
|
||
}
|
||
|
||
.saved-preset-gallery {
|
||
max-height: 286px;
|
||
margin-top: 14px;
|
||
padding: 1px 3px 3px 1px;
|
||
display: grid;
|
||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||
gap: 7px;
|
||
overflow-y: auto;
|
||
overscroll-behavior: contain;
|
||
scrollbar-gutter: stable;
|
||
}
|
||
|
||
.saved-preset-card {
|
||
position: relative;
|
||
min-width: 0;
|
||
overflow: hidden;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 7px;
|
||
background: var(--surface);
|
||
transition:
|
||
border-color 160ms ease,
|
||
background-color 160ms ease,
|
||
transform 180ms var(--ease);
|
||
}
|
||
|
||
.saved-preset-card:hover,
|
||
.saved-preset-card:focus-within {
|
||
border-color: var(--line-strong);
|
||
background: var(--surface-raised);
|
||
}
|
||
|
||
.saved-preset-card:hover {
|
||
transform: translateY(-1px);
|
||
}
|
||
|
||
.saved-preset-card__open {
|
||
width: 100%;
|
||
min-height: 76px;
|
||
padding: 11px 58px 11px 11px;
|
||
display: grid;
|
||
grid-template-columns: 52px minmax(0, 1fr);
|
||
align-items: center;
|
||
gap: 10px;
|
||
border: 0;
|
||
background: transparent;
|
||
color: inherit;
|
||
text-align: left;
|
||
}
|
||
|
||
.saved-preset-card__open:focus-visible {
|
||
outline: 0;
|
||
box-shadow: inset 0 0 0 2px var(--accent);
|
||
}
|
||
|
||
.saved-preset-card__preview {
|
||
width: 52px;
|
||
height: 52px;
|
||
display: grid;
|
||
place-items: center;
|
||
overflow: hidden;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 5px;
|
||
background:
|
||
linear-gradient(var(--canvas-grid) 1px, transparent 1px),
|
||
linear-gradient(90deg, var(--canvas-grid) 1px, transparent 1px),
|
||
var(--canvas);
|
||
background-size: 8px 8px;
|
||
}
|
||
|
||
.saved-preset-card__preview canvas {
|
||
width: 50px;
|
||
height: 50px;
|
||
display: block;
|
||
image-rendering: pixelated;
|
||
}
|
||
|
||
.saved-preset-card__copy {
|
||
min-width: 0;
|
||
display: grid;
|
||
gap: 3px;
|
||
}
|
||
|
||
.saved-preset-card__copy strong,
|
||
.saved-preset-card__copy small,
|
||
.saved-preset-card__metadata {
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.saved-preset-card__copy strong {
|
||
color: var(--ink-soft);
|
||
font-size: 10px;
|
||
font-weight: 560;
|
||
}
|
||
|
||
.saved-preset-card__copy small,
|
||
.saved-preset-card__metadata {
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 7px;
|
||
line-height: 1.35;
|
||
}
|
||
|
||
.saved-preset-card__metadata {
|
||
color: var(--muted);
|
||
}
|
||
|
||
.saved-preset-card__delete {
|
||
position: absolute;
|
||
top: 8px;
|
||
right: 8px;
|
||
min-height: 24px;
|
||
padding: 0 6px;
|
||
border: 1px solid transparent;
|
||
border-radius: 4px;
|
||
background: transparent;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 7px;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.saved-preset-card__delete:hover,
|
||
.saved-preset-card__delete:focus-visible {
|
||
border-color: color-mix(in srgb, var(--danger), transparent 62%);
|
||
background: color-mix(in srgb, var(--danger), transparent 92%);
|
||
color: var(--danger);
|
||
}
|
||
|
||
.saved-presets__undo {
|
||
margin-top: 9px;
|
||
padding: 8px 10px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
gap: 10px;
|
||
border-top: 1px solid var(--line);
|
||
color: var(--muted);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
}
|
||
|
||
.saved-presets__undo-button {
|
||
min-height: 28px;
|
||
padding: 0 8px;
|
||
border: 1px solid var(--accent);
|
||
border-radius: 4px;
|
||
background: var(--accent-wash);
|
||
color: var(--accent-strong);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
}
|
||
|
||
.sprite-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||
gap: 8px;
|
||
}
|
||
|
||
.sprite-card {
|
||
contain: layout paint;
|
||
position: relative;
|
||
min-width: 0;
|
||
min-height: 96px;
|
||
padding: 14px;
|
||
display: grid;
|
||
grid-template-columns: 66px minmax(0, 1fr);
|
||
align-items: center;
|
||
gap: 13px;
|
||
overflow: hidden;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 9px;
|
||
background:
|
||
linear-gradient(135deg, var(--surface-sheen), transparent 55%),
|
||
var(--surface);
|
||
color: var(--ink-soft);
|
||
text-align: left;
|
||
transition:
|
||
border-color 180ms ease,
|
||
background-color 180ms ease,
|
||
transform 220ms var(--ease),
|
||
box-shadow 220ms ease;
|
||
}
|
||
|
||
.sprite-card::before {
|
||
position: absolute;
|
||
top: 9px;
|
||
right: 9px;
|
||
width: 5px;
|
||
height: 5px;
|
||
border: solid var(--line-strong);
|
||
border-width: 1px 1px 0 0;
|
||
content: "";
|
||
}
|
||
|
||
.sprite-card::after {
|
||
position: absolute;
|
||
right: 12px;
|
||
bottom: 10px;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
content: "+";
|
||
opacity: 0;
|
||
transition: opacity 160ms ease;
|
||
}
|
||
|
||
.sprite-card:hover {
|
||
z-index: 1;
|
||
border-color: var(--line-strong);
|
||
background: var(--surface-raised);
|
||
box-shadow: var(--shadow-card);
|
||
transform: translateY(-2px);
|
||
}
|
||
|
||
.sprite-card:hover::after {
|
||
opacity: 1;
|
||
}
|
||
|
||
.sprite-card.is-selected {
|
||
border-color: color-mix(in srgb, var(--accent), var(--line) 20%);
|
||
background:
|
||
linear-gradient(135deg, var(--accent-wash), transparent 58%),
|
||
var(--surface-raised);
|
||
box-shadow:
|
||
inset 2px 0 var(--accent),
|
||
var(--shadow-card-selected);
|
||
}
|
||
|
||
.sprite-card.is-selected::after {
|
||
color: var(--accent-strong);
|
||
content: "SELECTED";
|
||
opacity: 1;
|
||
}
|
||
|
||
.sprite-preview {
|
||
contain: paint;
|
||
position: relative;
|
||
width: 66px;
|
||
height: 66px;
|
||
display: grid;
|
||
place-items: center;
|
||
overflow: hidden;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 6px;
|
||
background:
|
||
linear-gradient(var(--canvas-grid) 1px, transparent 1px),
|
||
linear-gradient(90deg, var(--canvas-grid) 1px, transparent 1px),
|
||
var(--canvas);
|
||
background-size: 11px 11px;
|
||
}
|
||
|
||
.sprite-preview::before,
|
||
.sprite-preview::after {
|
||
position: absolute;
|
||
z-index: 2;
|
||
width: 8px;
|
||
height: 8px;
|
||
content: "";
|
||
pointer-events: none;
|
||
}
|
||
|
||
.sprite-preview::before {
|
||
top: 4px;
|
||
left: 4px;
|
||
border-top: 1px solid var(--line-strong);
|
||
border-left: 1px solid var(--line-strong);
|
||
}
|
||
|
||
.sprite-preview::after {
|
||
right: 4px;
|
||
bottom: 4px;
|
||
border-right: 1px solid var(--line-strong);
|
||
border-bottom: 1px solid var(--line-strong);
|
||
}
|
||
|
||
.sprite-preview canvas {
|
||
position: relative;
|
||
z-index: 1;
|
||
width: 64px;
|
||
height: 64px;
|
||
display: block;
|
||
image-rendering: pixelated;
|
||
}
|
||
|
||
.sprite-copy {
|
||
min-width: 0;
|
||
display: grid;
|
||
gap: 4px;
|
||
}
|
||
|
||
.sprite-copy strong {
|
||
overflow: hidden;
|
||
color: var(--ink-soft);
|
||
font-size: 11px;
|
||
font-weight: 540;
|
||
line-height: 1.3;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.sprite-copy small {
|
||
overflow: hidden;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.025em;
|
||
line-height: 1.4;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.sprite-card.is-selected .sprite-copy strong,
|
||
.sprite-card.is-selected .sprite-copy small {
|
||
color: var(--accent-strong);
|
||
}
|
||
|
||
.api-section {
|
||
margin-bottom: 100px;
|
||
display: grid;
|
||
grid-template-columns: minmax(310px, 0.75fr) minmax(0, 1.25fr);
|
||
overflow: hidden;
|
||
border: 1px solid var(--line);
|
||
border-radius: var(--radius-lg);
|
||
background: var(--surface);
|
||
box-shadow: var(--shadow);
|
||
}
|
||
|
||
.api-copy {
|
||
padding: clamp(32px, 5vw, 72px);
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
border-right: 1px solid var(--line);
|
||
}
|
||
|
||
.api-copy h2 {
|
||
max-width: 620px;
|
||
font-size: clamp(2.5rem, 4.2vw, 4.8rem);
|
||
}
|
||
|
||
.api-copy > p:not(.section-index) {
|
||
max-width: 590px;
|
||
margin: 23px 0 0;
|
||
color: var(--muted);
|
||
font-size: 13px;
|
||
line-height: 1.7;
|
||
}
|
||
|
||
.api-facts {
|
||
width: 100%;
|
||
margin: 34px 0 0;
|
||
display: grid;
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
gap: 1px;
|
||
border: 1px solid var(--line);
|
||
background: var(--line);
|
||
}
|
||
|
||
.api-facts div {
|
||
min-width: 0;
|
||
padding: 14px;
|
||
background: var(--bg-raised);
|
||
}
|
||
|
||
.api-facts dt {
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.12em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.api-facts dd {
|
||
margin: 7px 0 0;
|
||
color: var(--ink-soft);
|
||
font-family: var(--font-mono);
|
||
font-size: 9px;
|
||
line-height: 1.45;
|
||
}
|
||
|
||
.export-actions {
|
||
margin-top: auto;
|
||
padding-top: 38px;
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
}
|
||
|
||
.code-panel {
|
||
min-width: 0;
|
||
min-height: 620px;
|
||
display: grid;
|
||
grid-template-rows: 50px minmax(0, 1fr);
|
||
background: var(--code-bg);
|
||
}
|
||
|
||
.code-panel__header {
|
||
padding: 0 17px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
border-bottom: 1px solid var(--code-line);
|
||
color: var(--code-muted);
|
||
font-family: var(--font-mono);
|
||
font-size: 9px;
|
||
letter-spacing: 0.06em;
|
||
}
|
||
|
||
.code-panel__header > div {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
}
|
||
|
||
.code-lights {
|
||
display: flex;
|
||
gap: 4px;
|
||
}
|
||
|
||
.code-lights i {
|
||
width: 5px;
|
||
height: 5px;
|
||
display: block;
|
||
border-radius: 50%;
|
||
background: var(--code-dot-1);
|
||
}
|
||
|
||
.code-lights i:nth-child(2) {
|
||
background: var(--code-dot-2);
|
||
}
|
||
|
||
.code-lights i:nth-child(3) {
|
||
background: var(--code-dot-3);
|
||
}
|
||
|
||
.code-copy {
|
||
min-height: 30px;
|
||
padding: 0 9px;
|
||
border: 1px solid var(--code-control);
|
||
border-radius: 5px;
|
||
background: transparent;
|
||
color: var(--code-control-ink);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.08em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.code-copy:hover {
|
||
border-color: var(--code-line-strong);
|
||
background: var(--code-hover);
|
||
color: var(--code-ink-strong);
|
||
}
|
||
|
||
.code-panel pre {
|
||
min-width: 0;
|
||
max-width: 100%;
|
||
margin: 0;
|
||
padding: clamp(24px, 4vw, 52px);
|
||
overflow: auto;
|
||
background:
|
||
linear-gradient(90deg, var(--code-grid), transparent 1px) 0 0 / 72px 100%,
|
||
transparent;
|
||
scrollbar-color: var(--code-scrollbar) var(--code-bg);
|
||
}
|
||
|
||
.code-panel code {
|
||
color: var(--code-ink);
|
||
font-family: var(--font-mono);
|
||
font-size: clamp(10px, 0.9vw, 13px);
|
||
line-height: 1.85;
|
||
tab-size: 2;
|
||
}
|
||
|
||
.download-section {
|
||
margin-bottom: 100px;
|
||
display: grid;
|
||
grid-template-columns: minmax(310px, 0.75fr) minmax(0, 1.25fr);
|
||
overflow: hidden;
|
||
border: 1px solid var(--line);
|
||
border-radius: var(--radius-lg);
|
||
background:
|
||
linear-gradient(135deg, var(--surface-sheen), transparent 38%),
|
||
var(--surface);
|
||
box-shadow: var(--shadow);
|
||
}
|
||
|
||
.download-section__copy {
|
||
min-width: 0;
|
||
padding: clamp(32px, 5vw, 72px);
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
border-right: 1px solid var(--line);
|
||
}
|
||
|
||
.download-section__copy h2 {
|
||
max-width: 620px;
|
||
margin: 13px 0 0;
|
||
color: var(--ink);
|
||
font-size: clamp(2.5rem, 4.2vw, 4.8rem);
|
||
font-weight: 280;
|
||
letter-spacing: -0.05em;
|
||
line-height: 1;
|
||
}
|
||
|
||
.download-section__copy > p:not(.section-index):not(.download-license-note) {
|
||
max-width: 590px;
|
||
margin: 23px 0 0;
|
||
color: var(--muted);
|
||
font-size: 13px;
|
||
line-height: 1.7;
|
||
}
|
||
|
||
.download-card__contents {
|
||
width: 100%;
|
||
margin: 32px 0 0;
|
||
padding: 0;
|
||
display: grid;
|
||
border-top: 1px solid var(--line);
|
||
list-style: none;
|
||
}
|
||
|
||
.download-card__contents li {
|
||
position: relative;
|
||
min-height: 38px;
|
||
padding: 11px 0 10px 18px;
|
||
border-bottom: 1px solid var(--line);
|
||
color: var(--ink-soft);
|
||
font-family: var(--font-mono);
|
||
font-size: 9px;
|
||
line-height: 1.55;
|
||
}
|
||
|
||
.download-card__contents li::before {
|
||
position: absolute;
|
||
top: 15px;
|
||
left: 1px;
|
||
width: 6px;
|
||
height: 6px;
|
||
border: 1px solid var(--faint);
|
||
content: "";
|
||
transform: rotate(45deg);
|
||
}
|
||
|
||
.download-license-note {
|
||
margin: auto 0 0;
|
||
padding-top: 32px;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.download-license-note strong {
|
||
color: var(--muted);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.download-options {
|
||
min-width: 0;
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 1px;
|
||
background: var(--line);
|
||
}
|
||
|
||
.download-card {
|
||
min-width: 0;
|
||
min-height: 310px;
|
||
padding: clamp(24px, 3.2vw, 42px);
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
background:
|
||
linear-gradient(145deg, var(--surface-sheen), transparent 52%),
|
||
var(--bg-raised);
|
||
}
|
||
|
||
.download-card--primary {
|
||
min-height: 340px;
|
||
grid-column: 1 / -1;
|
||
background:
|
||
linear-gradient(145deg, var(--accent-wash), transparent 55%),
|
||
var(--bg-raised);
|
||
}
|
||
|
||
.download-card__heading {
|
||
width: 100%;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 18px;
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.1em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.download-card__heading p {
|
||
margin: 0;
|
||
}
|
||
|
||
.download-card__heading span {
|
||
padding: 4px 6px;
|
||
border: 1px solid var(--line-strong);
|
||
border-radius: 999px;
|
||
color: var(--muted);
|
||
}
|
||
|
||
.download-card h3 {
|
||
margin: 38px 0 0;
|
||
color: var(--ink);
|
||
font-size: clamp(1.55rem, 2.5vw, 2.5rem);
|
||
font-weight: 340;
|
||
letter-spacing: -0.035em;
|
||
line-height: 1.05;
|
||
}
|
||
|
||
.download-card > p:not(.download-card__meta) {
|
||
max-width: 600px;
|
||
margin: 13px 0 0;
|
||
color: var(--muted);
|
||
font-size: 11px;
|
||
line-height: 1.65;
|
||
}
|
||
|
||
.download-card__meta {
|
||
margin: 21px 0 0;
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
}
|
||
|
||
.download-card__meta span {
|
||
padding: 5px 7px;
|
||
border: 1px solid var(--line);
|
||
border-radius: 4px;
|
||
color: var(--muted);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
line-height: 1;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.download-card__actions {
|
||
width: 100%;
|
||
margin-top: auto;
|
||
padding-top: 30px;
|
||
display: flex;
|
||
align-items: center;
|
||
flex-wrap: wrap;
|
||
gap: 12px;
|
||
}
|
||
|
||
.download-card__actions .button {
|
||
min-height: 44px;
|
||
}
|
||
|
||
.download-inline-link {
|
||
min-height: 44px;
|
||
padding-block: 8px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
border-bottom: 1px solid var(--line-strong);
|
||
color: var(--muted);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.06em;
|
||
text-decoration: none;
|
||
text-transform: uppercase;
|
||
transition:
|
||
border-color 160ms ease,
|
||
color 160ms ease;
|
||
}
|
||
|
||
.download-inline-link:hover,
|
||
.download-inline-link:focus-visible {
|
||
border-color: var(--ink);
|
||
color: var(--ink);
|
||
}
|
||
|
||
.site-footer {
|
||
width: var(--content);
|
||
min-height: 86px;
|
||
margin-inline: auto;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 24px;
|
||
border-top: 1px solid var(--line);
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 8px;
|
||
letter-spacing: 0.08em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.site-footer p {
|
||
margin: 0;
|
||
}
|
||
|
||
.site-footer p span {
|
||
margin-left: 12px;
|
||
color: var(--muted);
|
||
}
|
||
|
||
.site-footer a {
|
||
color: var(--muted);
|
||
text-decoration: none;
|
||
}
|
||
|
||
.site-footer a:hover {
|
||
color: var(--ink);
|
||
}
|
||
|
||
.site-footer__links {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 18px;
|
||
}
|
||
|
||
.export-dialog {
|
||
width: min(920px, calc(100vw - 32px));
|
||
max-height: min(760px, calc(100dvh - 32px));
|
||
padding: 0;
|
||
overflow: auto;
|
||
border: 1px solid var(--line-strong);
|
||
border-radius: 14px;
|
||
background: var(--surface);
|
||
box-shadow: var(--shadow-dialog);
|
||
color: var(--ink);
|
||
}
|
||
|
||
.export-dialog::backdrop {
|
||
background: var(--backdrop);
|
||
backdrop-filter: blur(8px);
|
||
}
|
||
|
||
.export-dialog__surface {
|
||
margin: 0;
|
||
}
|
||
|
||
.export-dialog__header {
|
||
position: sticky;
|
||
z-index: 2;
|
||
top: 0;
|
||
padding: 22px 24px 18px;
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: space-between;
|
||
gap: 24px;
|
||
border-bottom: 1px solid var(--line);
|
||
background: color-mix(in srgb, var(--surface), transparent 4%);
|
||
backdrop-filter: blur(18px);
|
||
}
|
||
|
||
.export-dialog__header h2 {
|
||
margin: 8px 0 0;
|
||
font-size: 24px;
|
||
font-weight: 440;
|
||
letter-spacing: -0.025em;
|
||
}
|
||
|
||
.dialog-close {
|
||
width: 38px;
|
||
height: 38px;
|
||
flex: 0 0 auto;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 7px;
|
||
background: transparent;
|
||
color: var(--muted);
|
||
font-size: 22px;
|
||
line-height: 1;
|
||
}
|
||
|
||
.dialog-close:hover {
|
||
border-color: var(--line-strong);
|
||
background: var(--surface-hover);
|
||
color: var(--ink);
|
||
}
|
||
|
||
.export-dialog__body {
|
||
padding: 24px;
|
||
display: grid;
|
||
grid-template-columns: minmax(250px, 0.88fr) minmax(300px, 1.12fr);
|
||
gap: 24px;
|
||
}
|
||
|
||
.export-preview {
|
||
min-width: 0;
|
||
display: grid;
|
||
align-content: start;
|
||
gap: 15px;
|
||
}
|
||
|
||
.export-preview__frame {
|
||
position: relative;
|
||
width: min(100%, 340px);
|
||
aspect-ratio: 1;
|
||
overflow: hidden;
|
||
border: 1px solid var(--line-strong);
|
||
border-radius: 9px;
|
||
background: var(--canvas);
|
||
}
|
||
|
||
.export-preview__frame.is-transparent {
|
||
background-color: var(--checker-base);
|
||
background-image:
|
||
linear-gradient(45deg, var(--checker-tile) 25%, transparent 25%),
|
||
linear-gradient(-45deg, var(--checker-tile) 25%, transparent 25%),
|
||
linear-gradient(45deg, transparent 75%, var(--checker-tile) 75%),
|
||
linear-gradient(-45deg, transparent 75%, var(--checker-tile) 75%);
|
||
background-position:
|
||
0 0,
|
||
0 8px,
|
||
8px -8px,
|
||
-8px 0;
|
||
background-size: 16px 16px;
|
||
}
|
||
|
||
.export-preview canvas {
|
||
width: 100%;
|
||
height: 100%;
|
||
display: block;
|
||
image-rendering: pixelated;
|
||
}
|
||
|
||
.export-preview h3 {
|
||
margin: 0;
|
||
color: var(--ink-soft);
|
||
font-size: 12px;
|
||
font-weight: 550;
|
||
}
|
||
|
||
.export-preview p {
|
||
margin: 6px 0 0;
|
||
color: var(--muted);
|
||
font-size: 10px;
|
||
line-height: 1.55;
|
||
}
|
||
|
||
.export-settings {
|
||
min-width: 0;
|
||
display: grid;
|
||
align-content: start;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 14px;
|
||
}
|
||
|
||
.export-field--filename,
|
||
.export-check,
|
||
.export-summary {
|
||
grid-column: 1 / -1;
|
||
}
|
||
|
||
.export-field input,
|
||
.export-field select {
|
||
height: 42px;
|
||
background: var(--bg-raised);
|
||
font-size: 10px;
|
||
}
|
||
|
||
.export-field select:disabled,
|
||
.export-check input:disabled + span {
|
||
cursor: not-allowed;
|
||
opacity: 0.5;
|
||
}
|
||
|
||
.export-check {
|
||
min-height: 42px;
|
||
padding: 0 12px;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 9px;
|
||
border: 1px solid var(--control-line);
|
||
border-radius: 6px;
|
||
background: var(--bg-raised);
|
||
color: var(--ink-soft);
|
||
font-size: 10px;
|
||
}
|
||
|
||
.export-check input {
|
||
width: 16px;
|
||
height: 16px;
|
||
margin: 0;
|
||
accent-color: var(--accent);
|
||
}
|
||
|
||
.export-summary {
|
||
margin: 2px 0 0;
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 1px;
|
||
overflow: hidden;
|
||
border: 1px solid var(--line);
|
||
border-radius: 7px;
|
||
background: var(--line);
|
||
}
|
||
|
||
.export-summary div {
|
||
min-width: 0;
|
||
padding: 12px;
|
||
background: var(--bg-raised);
|
||
}
|
||
|
||
.export-summary dt {
|
||
color: var(--faint);
|
||
font-family: var(--font-mono);
|
||
font-size: 7px;
|
||
letter-spacing: 0.1em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.export-summary dd {
|
||
margin: 5px 0 0;
|
||
overflow: hidden;
|
||
color: var(--ink-soft);
|
||
font-family: var(--font-mono);
|
||
font-size: 9px;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.export-dialog__actions {
|
||
position: sticky;
|
||
z-index: 2;
|
||
bottom: 0;
|
||
padding: 16px 24px;
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
gap: 8px;
|
||
border-top: 1px solid var(--line);
|
||
background: color-mix(in srgb, var(--surface), transparent 4%);
|
||
backdrop-filter: blur(18px);
|
||
}
|
||
|
||
.export-dialog__actions .button:disabled {
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
@keyframes status-pulse {
|
||
0% {
|
||
box-shadow: 0 0 0 0 color-mix(in srgb, var(--success), transparent 68%);
|
||
}
|
||
45%,
|
||
100% {
|
||
box-shadow: 0 0 0 7px color-mix(in srgb, var(--success), transparent 100%);
|
||
}
|
||
}
|
||
|
||
@keyframes field-scan {
|
||
from {
|
||
transform: translateY(0);
|
||
}
|
||
to {
|
||
transform: translateY(760%);
|
||
}
|
||
}
|
||
|
||
@media (max-width: 1240px) {
|
||
:root {
|
||
--content: min(calc(100% - 40px), 1180px);
|
||
}
|
||
|
||
.site-nav {
|
||
display: none;
|
||
}
|
||
|
||
.workbench {
|
||
grid-template-columns: minmax(0, 1fr) 340px;
|
||
}
|
||
|
||
.sprite-grid {
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
}
|
||
|
||
.saved-preset-gallery {
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
}
|
||
|
||
.stage-lower {
|
||
align-items: flex-start;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.stage-metrics {
|
||
width: 100%;
|
||
justify-content: flex-start;
|
||
text-align: left;
|
||
}
|
||
|
||
.workflow-bar {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.recipe-workflow {
|
||
justify-items: stretch;
|
||
}
|
||
|
||
.recipe-workflow__status,
|
||
.recipe-workflow__actions {
|
||
justify-content: flex-start;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 1021px) and (max-height: 1040px) {
|
||
.control-panel {
|
||
position: static;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 1020px) {
|
||
.site-nav {
|
||
display: none;
|
||
}
|
||
|
||
.hero {
|
||
min-height: auto;
|
||
padding-top: 76px;
|
||
grid-template-columns: 1fr;
|
||
gap: 58px;
|
||
}
|
||
|
||
.landing-hero__copy {
|
||
max-width: 820px;
|
||
}
|
||
|
||
.landing-hero__visual {
|
||
width: min(100%, 720px);
|
||
min-height: 540px;
|
||
}
|
||
|
||
.principles-section__heading,
|
||
.usage-section__heading {
|
||
grid-template-columns: 1fr;
|
||
gap: 20px;
|
||
}
|
||
|
||
.principles-section__heading h2,
|
||
.usage-section__heading h2 {
|
||
max-width: 850px;
|
||
}
|
||
|
||
.usage-section__heading > p:last-child {
|
||
max-width: 650px;
|
||
}
|
||
|
||
.studio-intro {
|
||
grid-template-columns: 1fr;
|
||
gap: 24px;
|
||
}
|
||
|
||
.studio-intro > p {
|
||
max-width: 680px;
|
||
}
|
||
|
||
.workbench {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.control-panel {
|
||
position: static;
|
||
}
|
||
|
||
.control-form {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
|
||
.control-section {
|
||
border-right: 1px solid var(--line);
|
||
}
|
||
|
||
.control-section:nth-of-type(even) {
|
||
border-right: 0;
|
||
}
|
||
|
||
.control-note {
|
||
border-top: 0;
|
||
}
|
||
|
||
.api-section {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.download-section {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.api-copy {
|
||
min-height: 480px;
|
||
border-right: 0;
|
||
border-bottom: 1px solid var(--line);
|
||
}
|
||
|
||
.download-section__copy {
|
||
min-height: 520px;
|
||
border-right: 0;
|
||
border-bottom: 1px solid var(--line);
|
||
}
|
||
|
||
.code-panel {
|
||
min-height: 560px;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 760px) {
|
||
:root {
|
||
--content: calc(100% - 28px);
|
||
--radius-lg: 13px;
|
||
}
|
||
|
||
.topbar__inner {
|
||
min-height: 62px;
|
||
}
|
||
|
||
.brand__copy small,
|
||
.version-pill,
|
||
.runtime-status {
|
||
display: none;
|
||
}
|
||
|
||
.topbar__actions {
|
||
gap: 5px;
|
||
}
|
||
|
||
.button {
|
||
min-height: 40px;
|
||
padding-inline: 11px;
|
||
font-size: 9px;
|
||
}
|
||
|
||
.theme-button {
|
||
width: 40px;
|
||
padding: 0;
|
||
overflow: hidden;
|
||
color: transparent;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.theme-button::before {
|
||
flex: 0 0 auto;
|
||
color: var(--ink-soft);
|
||
}
|
||
|
||
.hero {
|
||
min-height: auto;
|
||
padding: 64px 0 60px;
|
||
gap: 44px;
|
||
}
|
||
|
||
.hero h1 {
|
||
font-size: clamp(3rem, 15vw, 5.5rem);
|
||
letter-spacing: -0.07em;
|
||
}
|
||
|
||
.hero__lede {
|
||
margin-top: 22px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.landing-hero__actions {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
|
||
.landing-hero__actions .button {
|
||
width: 100%;
|
||
padding-inline: 10px;
|
||
}
|
||
|
||
.landing-hero__visual {
|
||
--hero-proof-height: 82px;
|
||
--hero-proof-offset: 41px;
|
||
min-height: 430px;
|
||
}
|
||
|
||
.hero-engine-output {
|
||
width: min(76%, 330px);
|
||
}
|
||
|
||
.hero-proof {
|
||
min-height: 82px;
|
||
}
|
||
|
||
.hero-proof div {
|
||
padding: 14px;
|
||
}
|
||
|
||
.principles-section,
|
||
.usage-section {
|
||
padding-block: 78px;
|
||
}
|
||
|
||
.principles-section__heading h2,
|
||
.studio-intro h2,
|
||
.usage-section__heading h2 {
|
||
font-size: clamp(2.6rem, 12vw, 4.2rem);
|
||
}
|
||
|
||
.principles-grid,
|
||
.usage-steps {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.principle-card {
|
||
min-height: 210px;
|
||
padding: 24px;
|
||
}
|
||
|
||
.principle-card h3 {
|
||
margin-top: 45px;
|
||
}
|
||
|
||
.studio-intro {
|
||
padding-top: 76px;
|
||
}
|
||
|
||
.usage-section {
|
||
margin-bottom: 82px;
|
||
}
|
||
|
||
.usage-step {
|
||
min-height: auto;
|
||
gap: 48px;
|
||
}
|
||
|
||
.usage-step p {
|
||
min-height: 0;
|
||
}
|
||
|
||
.workbench {
|
||
padding-top: 14px;
|
||
padding-bottom: 82px;
|
||
}
|
||
|
||
.stage-panel {
|
||
padding: 16px;
|
||
}
|
||
|
||
.stage-heading {
|
||
min-height: 0;
|
||
padding: 4px 1px 17px;
|
||
display: grid;
|
||
}
|
||
|
||
.state-description {
|
||
min-height: 0;
|
||
}
|
||
|
||
.signal-cluster {
|
||
width: 100%;
|
||
margin-top: 7px;
|
||
text-align: left;
|
||
}
|
||
|
||
.signal-cluster__buttons {
|
||
width: 100%;
|
||
}
|
||
|
||
.signal-button {
|
||
min-height: 40px;
|
||
flex: 1;
|
||
}
|
||
|
||
#openRecipeButton,
|
||
#importButton {
|
||
width: 40px;
|
||
padding: 0;
|
||
overflow: hidden;
|
||
color: transparent;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
#openRecipeButton::before,
|
||
#importButton::before {
|
||
display: grid;
|
||
place-items: center;
|
||
color: var(--ink-soft);
|
||
font-size: 15px;
|
||
}
|
||
|
||
#openRecipeButton::before {
|
||
content: "↥";
|
||
}
|
||
|
||
#importButton::before {
|
||
content: "+";
|
||
}
|
||
|
||
.workflow-bar {
|
||
padding: 10px;
|
||
}
|
||
|
||
.saved-presets__header {
|
||
align-items: flex-start;
|
||
}
|
||
|
||
.saved-preset-gallery {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
|
||
.recipe-workflow__actions {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) repeat(4, auto);
|
||
}
|
||
|
||
.recent-preset {
|
||
width: auto;
|
||
max-width: none;
|
||
}
|
||
|
||
.workflow-button,
|
||
.workflow-export,
|
||
.recent-preset select {
|
||
min-height: 40px;
|
||
}
|
||
|
||
.frame-badge--bottom {
|
||
display: none;
|
||
}
|
||
|
||
.progress-control,
|
||
.progress-control.is-visible {
|
||
grid-template-columns: 1fr;
|
||
gap: 10px;
|
||
}
|
||
|
||
.stage-lower {
|
||
padding-bottom: 16px;
|
||
}
|
||
|
||
.quick-states {
|
||
width: 100%;
|
||
}
|
||
|
||
.quick-states > div {
|
||
display: grid;
|
||
grid-template-columns: repeat(4, 1fr);
|
||
}
|
||
|
||
.quick-states button {
|
||
min-height: 36px;
|
||
padding-inline: 6px;
|
||
}
|
||
|
||
.stage-metrics {
|
||
gap: 17px;
|
||
}
|
||
|
||
.stage-metrics__state {
|
||
margin-left: auto;
|
||
}
|
||
|
||
.stage-actions {
|
||
align-items: stretch;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.stage-actions p {
|
||
display: none;
|
||
}
|
||
|
||
.stage-actions > div {
|
||
display: grid;
|
||
grid-template-columns: 0.8fr 1.2fr;
|
||
}
|
||
|
||
.stage-actions .button {
|
||
min-height: 44px;
|
||
}
|
||
|
||
.control-heading {
|
||
padding: 21px 18px;
|
||
}
|
||
|
||
.control-form {
|
||
display: block;
|
||
}
|
||
|
||
.control-section {
|
||
padding: 20px 18px 22px;
|
||
border-right: 0;
|
||
}
|
||
|
||
.control-section legend {
|
||
padding: 17px 18px 0;
|
||
}
|
||
|
||
.select-control,
|
||
.orb-boundary-control,
|
||
.orb-background-control,
|
||
.seed-control {
|
||
grid-template-columns: minmax(0, 0.85fr) minmax(140px, 1.15fr);
|
||
}
|
||
|
||
.control-note {
|
||
padding-inline: 18px;
|
||
}
|
||
|
||
.section-heading {
|
||
align-items: flex-start;
|
||
flex-direction: column;
|
||
gap: 22px;
|
||
}
|
||
|
||
.section-heading h2,
|
||
.api-copy h2,
|
||
.download-section__copy h2 {
|
||
font-size: clamp(2.6rem, 12vw, 4.2rem);
|
||
}
|
||
|
||
.section-heading__aside {
|
||
width: 100%;
|
||
min-width: 0;
|
||
text-align: left;
|
||
}
|
||
|
||
.sprite-grid {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
|
||
.sprite-card {
|
||
min-height: 132px;
|
||
padding: 12px;
|
||
grid-template-columns: 1fr;
|
||
justify-items: start;
|
||
}
|
||
|
||
.sprite-preview,
|
||
.sprite-preview canvas {
|
||
width: 58px;
|
||
height: 58px;
|
||
}
|
||
|
||
.library-section {
|
||
padding-bottom: 82px;
|
||
}
|
||
|
||
.api-section {
|
||
margin-bottom: 72px;
|
||
}
|
||
|
||
.download-section {
|
||
margin-bottom: 72px;
|
||
}
|
||
|
||
.api-copy {
|
||
min-height: 510px;
|
||
padding: 34px 22px;
|
||
}
|
||
|
||
.api-facts {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.api-facts div {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
gap: 18px;
|
||
}
|
||
|
||
.api-facts dd {
|
||
margin: 0;
|
||
text-align: right;
|
||
}
|
||
|
||
.export-actions {
|
||
width: 100%;
|
||
}
|
||
|
||
.export-actions .button {
|
||
min-height: 44px;
|
||
flex: 1;
|
||
}
|
||
|
||
.download-section__copy {
|
||
min-height: auto;
|
||
padding: 34px 22px;
|
||
}
|
||
|
||
.download-license-note {
|
||
margin-top: 34px;
|
||
}
|
||
|
||
.download-options {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.download-card,
|
||
.download-card--primary {
|
||
min-height: 300px;
|
||
grid-column: auto;
|
||
}
|
||
|
||
.download-card__actions .button {
|
||
width: 100%;
|
||
}
|
||
|
||
.export-dialog__body {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.export-preview {
|
||
grid-template-columns: minmax(150px, 0.55fr) minmax(180px, 1fr);
|
||
align-items: center;
|
||
}
|
||
|
||
.export-preview__frame {
|
||
width: 100%;
|
||
}
|
||
|
||
.code-panel {
|
||
min-height: 500px;
|
||
}
|
||
|
||
.site-footer {
|
||
min-height: 100px;
|
||
}
|
||
|
||
.site-footer p span {
|
||
display: none;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 430px) {
|
||
.brand {
|
||
gap: 7px;
|
||
}
|
||
|
||
.brand__mark {
|
||
width: 34px;
|
||
height: 34px;
|
||
}
|
||
|
||
.topbar__actions .button {
|
||
padding-inline: 8px;
|
||
letter-spacing: 0;
|
||
}
|
||
|
||
.landing-hero__actions {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.landing-hero__visual {
|
||
--hero-proof-height: 76px;
|
||
--hero-proof-offset: 38px;
|
||
min-height: 350px;
|
||
}
|
||
|
||
.landing-hero__visual::before,
|
||
.landing-hero__visual::after {
|
||
top: 13px;
|
||
font-size: 7px;
|
||
}
|
||
|
||
.landing-hero__visual::before {
|
||
left: 13px;
|
||
}
|
||
|
||
.landing-hero__visual::after {
|
||
right: 13px;
|
||
}
|
||
|
||
.hero-engine-output {
|
||
width: min(74%, 250px);
|
||
}
|
||
|
||
.hero-proof {
|
||
min-height: 76px;
|
||
}
|
||
|
||
.hero-proof div {
|
||
padding: 11px 9px;
|
||
}
|
||
|
||
.hero-proof dt {
|
||
font-size: 15px;
|
||
}
|
||
|
||
.hero-proof dd {
|
||
font-size: 7px;
|
||
white-space: normal;
|
||
}
|
||
|
||
.state-heading {
|
||
align-items: flex-start;
|
||
flex-direction: column;
|
||
gap: 7px;
|
||
}
|
||
|
||
.canvas-frame {
|
||
border-radius: 7px;
|
||
}
|
||
|
||
.frame-badge--top {
|
||
top: 12px;
|
||
left: 13px;
|
||
}
|
||
|
||
.preview-scale-control {
|
||
top: 9px;
|
||
right: 9px;
|
||
}
|
||
|
||
.preview-scale-control button {
|
||
min-width: 40px;
|
||
min-height: 34px;
|
||
padding-inline: 7px;
|
||
}
|
||
|
||
.state-picker {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.saved-presets {
|
||
padding: 14px;
|
||
}
|
||
|
||
.saved-presets__header {
|
||
flex-direction: column;
|
||
gap: 12px;
|
||
}
|
||
|
||
.saved-presets__actions {
|
||
width: 100%;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
.saved-preset-gallery {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.recipe-workflow__status {
|
||
align-items: flex-start;
|
||
flex-direction: column;
|
||
gap: 5px;
|
||
}
|
||
|
||
#workflowStatus {
|
||
max-width: 100%;
|
||
}
|
||
|
||
.recipe-workflow__actions {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
|
||
.recent-preset,
|
||
.workflow-export {
|
||
grid-column: 1 / -1;
|
||
}
|
||
|
||
.workflow-button,
|
||
.workflow-export,
|
||
.recent-preset select {
|
||
width: 100%;
|
||
min-height: 44px;
|
||
}
|
||
|
||
.quick-states > div {
|
||
grid-template-columns: repeat(2, 1fr);
|
||
}
|
||
|
||
.stage-metrics {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr) minmax(0, 1.3fr);
|
||
}
|
||
|
||
.stage-metrics > div,
|
||
.stage-metrics__state {
|
||
min-width: 0 !important;
|
||
}
|
||
|
||
.stage-metrics__state {
|
||
margin-left: 0;
|
||
}
|
||
|
||
.stage-metrics dd {
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.select-control,
|
||
.orb-boundary-control,
|
||
.orb-background-control,
|
||
.seed-control {
|
||
grid-template-columns: 1fr;
|
||
gap: 8px;
|
||
}
|
||
|
||
.sprite-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.sprite-card {
|
||
min-height: 88px;
|
||
grid-template-columns: 62px minmax(0, 1fr);
|
||
}
|
||
|
||
.export-dialog {
|
||
width: calc(100vw - 18px);
|
||
max-height: calc(100dvh - 18px);
|
||
border-radius: 10px;
|
||
}
|
||
|
||
.export-dialog__header,
|
||
.export-dialog__body,
|
||
.export-dialog__actions {
|
||
padding-inline: 16px;
|
||
}
|
||
|
||
.export-preview {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.export-preview__frame {
|
||
max-width: 260px;
|
||
}
|
||
|
||
.export-settings,
|
||
.export-summary {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.export-summary div {
|
||
grid-column: 1;
|
||
}
|
||
|
||
.site-footer {
|
||
align-items: flex-start;
|
||
justify-content: center;
|
||
flex-direction: column;
|
||
gap: 7px;
|
||
}
|
||
|
||
.download-card {
|
||
min-height: 280px;
|
||
padding: 24px 20px;
|
||
}
|
||
|
||
.download-card__meta,
|
||
.download-card__actions {
|
||
align-items: flex-start;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.site-footer__links {
|
||
width: 100%;
|
||
justify-content: space-between;
|
||
}
|
||
}
|
||
|
||
@media (pointer: coarse) {
|
||
.preview-scale-control button,
|
||
.quick-states button,
|
||
.orb-boundary-toggle__track,
|
||
.glow-toggle,
|
||
.color-enable-toggle,
|
||
.orb-background-mode select,
|
||
.orb-background-picker input[type="color"],
|
||
.color-control input[type="color"],
|
||
.workflow-button,
|
||
.state-picker input,
|
||
.state-picker select,
|
||
.recent-preset select {
|
||
min-height: 44px;
|
||
}
|
||
|
||
.saved-preset-card__open,
|
||
.saved-preset-card__delete,
|
||
.saved-presets__undo-button {
|
||
min-height: 44px;
|
||
}
|
||
|
||
.color-control input[type="color"],
|
||
.orb-background-picker input[type="color"] {
|
||
width: 44px;
|
||
}
|
||
}
|
||
|
||
@media (prefers-reduced-motion: reduce) {
|
||
html {
|
||
scroll-behavior: auto;
|
||
}
|
||
|
||
*,
|
||
*::before,
|
||
*::after {
|
||
scroll-behavior: auto !important;
|
||
animation-duration: 0.001ms !important;
|
||
animation-iteration-count: 1 !important;
|
||
transition-duration: 0.001ms !important;
|
||
}
|
||
|
||
.canvas-frame::after {
|
||
display: none;
|
||
}
|
||
}
|