AI-Image-Upscaler / style.css
MegaPotatoAI's picture
MegaPotato AI Upscaler demo
2c86072
Raw History Blame Contribute Delete
22 kB
@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url(assets/fonts/bricolage-grotesque-latin-600.woff2) format("woff2"); } @font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(assets/fonts/bricolage-grotesque-latin-800.woff2) format("woff2"); } @font-face { font-family: "Hanken Grotesk"; font-weight: 300 800; font-display: swap; src: url(assets/fonts/hanken-grotesk-latin.woff2) format("woff2"); } @font-face { font-family: "JetBrains Mono"; font-weight: 400 700; font-display: swap; src: url(assets/fonts/jetbrains-mono-latin.woff2) format("woff2"); } :root { --ink: #3a3550; --ink-soft: #6f6a82; --paper: #f7f5fc; --card: #ffffff; --card-2: #f3f1fa; --line: rgba(58, 53, 80, 0.12); --line-strong: rgba(58, 53, 80, 0.22); --accent: #7355f5; --accent-text: #5b39e0; --accent-soft: rgba(115, 85, 245, 0.1); --ok: #166b46; --warn-bg: #fff4e5; --warn-ink: #7a4a00; --err: #c23a30; --grad: linear-gradient(100deg, #ff8a5b, #b47cff 55%, #4fb8e8); --grad-text: linear-gradient(100deg, #ff9d75, #c394ff 55%, #6cc4ee); --shadow: 0 1px 2px rgba(30, 20, 60, 0.06), 0 12px 32px -12px rgba(40, 25, 90, 0.18); --stage-bg: #12101a; --radius: 20px; --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color-scheme: light; } @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ink: #ece9f7; --ink-soft: #a9a3bf; --paper: #110f19; --card: #1a1726; --card-2: #221e31; --line: rgba(236, 233, 247, 0.1); --line-strong: rgba(236, 233, 247, 0.2); --accent: #9b87ff; --accent-text: #b8a9ff; --accent-soft: rgba(155, 135, 255, 0.14); --ok: #58c896; --warn-bg: #3a2a10; --warn-ink: #ffd699; --err: #ff7b70; --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6); color-scheme: dark; } } :root[data-theme="dark"] { --ink: #ece9f7; --ink-soft: #a9a3bf; --paper: #110f19; --card: #1a1726; --card-2: #221e31; --line: rgba(236, 233, 247, 0.1); --line-strong: rgba(236, 233, 247, 0.2); --accent: #9b87ff; --accent-text: #b8a9ff; --accent-soft: rgba(155, 135, 255, 0.14); --ok: #58c896; --warn-bg: #3a2a10; --warn-ink: #ffd699; --err: #ff7b70; --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6); color-scheme: dark; } *, *::before, *::after { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; } body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; } body::before { content: ""; position: fixed; inset: -20vh -10vw auto; height: 70vh; background: radial-gradient(40% 50% at 15% 30%, rgba(255, 138, 91, 0.16), transparent 70%), radial-gradient(40% 50% at 55% 10%, rgba(180, 124, 255, 0.18), transparent 70%), radial-gradient(40% 50% at 90% 35%, rgba(79, 184, 232, 0.14), transparent 70%); pointer-events: none; z-index: -1; } a { color: var(--accent-text); text-underline-offset: 2px; } a:hover { text-decoration-thickness: 2px; } code { font-family: var(--mono); font-size: 0.88em; font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; } :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; } .page { max-width: 1240px; margin: 0 auto; padding: 28px 24px 40px; } /* ---------------------------------------------------------------- hero */ .hero { display: flex; gap: 22px; align-items: center; margin-bottom: 26px; } .hero-mascot { flex: none; width: 120px; height: auto; filter: drop-shadow(0 10px 18px rgba(120, 80, 20, 0.22)); } .hero h1 { margin: 0 0 6px; font: 800 clamp(30px, 4.4vw, 46px) / 1.05 var(--display); letter-spacing: -0.02em; } .lede { margin: 0 0 14px; max-width: 760px; color: var(--ink-soft); font-size: 17px; } .pills { display: flex; flex-wrap: wrap; gap: 8px; } .pill { display: inline-flex; align-items: center; padding: 6px 13px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color 0.15s, transform 0.15s; } .pill:hover { border-color: var(--accent); transform: translateY(-1px); } .pill-accent { border-color: transparent; background: var(--grad-text) border-box; color: #2a2440; } /* ---------------------------------------------------------------- studio */ .studio { display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); gap: 20px; align-items: start; } .panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); } .controls { padding: 18px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 16px; } .stage { padding: 14px; min-width: 0; } .notice { margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 14px; } .notice-info { background: var(--accent-soft); } .notice-warn { background: var(--warn-bg); color: var(--warn-ink); } /* drop zone */ .drop { position: relative; display: block; border: 2px dashed var(--line-strong); border-radius: 16px; background: var(--card-2); cursor: pointer; transition: border-color 0.15s, background 0.15s; } .drop:hover, .drop.is-over { border-color: var(--accent); background: var(--accent-soft); } .drop:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; } .drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; } .drop-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 16px; text-align: center; color: var(--ink-soft); font-size: 14px; } .drop-empty strong { color: var(--ink); font-size: 17px; } .drop-empty small { font-size: 13px; } .drop-icon { color: var(--accent); margin-bottom: 4px; } .drop-filled { display: flex; align-items: center; gap: 12px; padding: 10px; } .drop-filled[hidden], .drop-empty[hidden] { display: none; } .drop-filled img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--card); } .drop-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; font-size: 14px; color: var(--ink-soft); } .drop-meta strong { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .drop-change { font-size: 14px; font-weight: 600; color: var(--accent-text); } /* factor */ .factor { margin: 0; padding: 0; border: 0; } .factor legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); } .segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); } .segmented input { position: absolute; opacity: 0; pointer-events: none; } .segmented label { padding: 9px 0; border-radius: 10px; text-align: center; font: 800 18px/1 var(--display); cursor: pointer; color: var(--ink-soft); transition: background 0.15s, color 0.15s; } .segmented input:checked + label { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 2px var(--accent), 0 1px 3px rgba(30, 20, 60, 0.15); } .segmented input:focus-visible + label { outline: 3px solid var(--accent); } /* plan */ .plan { display: flex; flex-direction: column; gap: 6px; min-height: 44px; font-size: 14px; } .plan-api, .plan-empty { color: var(--ink-soft); } .plan-note { padding: 8px 10px; border-radius: 10px; background: var(--card-2); color: var(--ink-soft); font-size: 13px; } .plan-error { color: var(--err); } .plan-error strong { display: block; } /* run button */ .run { position: relative; border: 0; border-radius: 14px; padding: 15px 18px; background: var(--grad-text); color: #241e38; font: 800 19px/1 var(--display); cursor: pointer; box-shadow: 0 10px 24px -10px rgba(140, 90, 255, 0.55); transition: transform 0.12s, box-shadow 0.12s, filter 0.12s; } .run:hover:not(:disabled) { transform: translateY(-1px); filter: saturate(1.1); } .run:active:not(:disabled) { transform: translateY(0); } .run:disabled { cursor: not-allowed; filter: grayscale(0.7); opacity: 0.55; box-shadow: none; } .turnstile:empty { display: none; } /* status */ .status { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); } .status[hidden] { display: none; } .status.is-error { border-color: color-mix(in srgb, var(--err) 40%, transparent); } .status.is-info { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--accent-soft); } .status.is-done { border-color: color-mix(in srgb, var(--ok) 40%, transparent); } .status-mascot { flex: none; width: 58px; height: auto; } .status-body { flex: 1; min-width: 0; } .status-steps { display: flex; gap: 4px; margin: 0 0 6px; padding: 0; list-style: none; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); } .status-steps:empty { display: none; } .status-steps li { flex: 1; padding-top: 5px; border-top: 3px solid var(--line-strong); } .status-steps li.done { border-color: var(--ok); } .status-steps li.active { border-color: var(--accent); color: var(--ink); } .status-title { margin: 0; font-weight: 700; } .status-note { margin: 4px 0 0; color: var(--ink-soft); font-size: 14px; } .bar { position: relative; height: 6px; margin-top: 8px; border-radius: 999px; background: var(--line); overflow: hidden; } .bar span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--grad); } .bar.is-indeterminate span { width: 35%; animation: slide 1.4s ease-in-out infinite; } @keyframes slide { 0% { left: -35%; } 100% { left: 100%; } } .status-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; } .status-actions .btn { border: 0; cursor: pointer; font: 700 14px/1 var(--font); } .fineprint { margin: 0; font-size: 13px; color: var(--ink-soft); } /* ---------------------------------------------------------------- viewer */ .cmp { position: relative; } .cmp-stage { position: relative; overflow: hidden; border-radius: 14px; background: var(--stage-bg); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; } .cmp.is-single .cmp-stage, .cmp-stage.is-zoomed { cursor: grab; touch-action: none; } .cmp-stage.is-zoomed:active { cursor: grabbing; } .cmp-layer { position: absolute; inset: 0; overflow: hidden; } .cmp-layer img { -webkit-user-drag: none; -webkit-touch-callout: none; position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; will-change: transform; pointer-events: none; } .cmp.is-single .cmp-before { display: none; } .cmp-handle { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); pointer-events: none; } .cmp-handle[hidden] { display: none; } .cmp-knob { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; color: #3a3550; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); } .cmp-tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(18, 16, 26, 0.72); color: #fff; font-size: 13px; font-weight: 700; backdrop-filter: blur(6px); transition: opacity 0.15s; pointer-events: none; } .cmp-tag-before { left: 12px; } .cmp-tag-after { right: 12px; background: #7355f5; } .cmp-minimap { position: absolute; right: 12px; bottom: 12px; padding: 0; touch-action: none; border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 8px; overflow: hidden; background: #000; cursor: crosshair; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); } .cmp-minimap[hidden] { display: none; } .cmp-minimap img { pointer-events: none; user-select: none; -webkit-user-drag: none; display: block; width: 100%; height: 100%; opacity: 0.8; } .cmp-minimap-view { position: absolute; border: 2px solid #fff; box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.35); pointer-events: none; } .cmp-state { position: absolute; inset: 0; display: flex; gap: 10px; align-items: center; justify-content: center; background: rgba(18, 16, 26, 0.55); color: #fff; font-weight: 600; } .cmp-state[hidden] { display: none; } .cmp-spinner { display: none; width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, 0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; } .cmp-state.is-spinning .cmp-spinner { display: block; } @keyframes spin { to { transform: rotate(360deg); } } .cmp-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; } .cmp-group { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); } .cmp-toolbar button { border: 0; border-radius: 9px; padding: 7px 11px; background: transparent; color: var(--ink-soft); font: 700 13px/1 var(--font); cursor: pointer; } .cmp-toolbar button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 2px var(--accent); } .cmp-toolbar button:disabled { opacity: 0.4; cursor: default; } .cmp-toolbar .cmp-detail { color: var(--accent-text); } .cmp-toolbar .cmp-detail[hidden] { display: none; } .cmp-readout { min-width: 72px; font: 600 13px/1 var(--mono); color: var(--ink-soft); } .cmp-full { margin-left: auto; border: 1px solid var(--line) !important; background: var(--card-2) !important; color: var(--ink) !important; display: grid; place-items: center; } .cmp:fullscreen { padding: 16px; background: var(--paper); } .stage-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; } .caption { margin: 0; color: var(--ink-soft); font-size: 14px; } .caption strong { color: var(--ink); } .btn { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 9px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; text-decoration: none; } .btn[hidden] { display: none; } .btn-soft { background: var(--accent-soft); color: var(--accent-text); } .btn-cta { background: var(--grad-text); color: #241e38; box-shadow: 0 8px 18px -10px rgba(140, 90, 255, 0.6); } .btn-cta:hover { filter: saturate(1.15) brightness(1.03); } .btn-soft:hover { background: color-mix(in srgb, var(--accent) 20%, transparent); } /* examples */ .examples-title { margin: 18px 2px 8px; font: 700 13px/1 var(--font); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); } .examples > li { display: flex; } .examples { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; } .example { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 2px solid transparent; border-radius: 14px; background: var(--card-2); color: var(--ink); text-align: left; overflow: hidden; cursor: pointer; transition: border-color 0.15s, transform 0.15s; } .example:hover { transform: translateY(-2px); } .example[aria-pressed="true"] { border-color: var(--accent); } .example img { display: block; width: 100%; height: 92px; object-fit: cover; } .example-text { display: flex; flex-direction: column; padding: 8px 10px 10px; font-size: 13px; color: var(--ink-soft); } .example-text strong { color: var(--ink); font-size: 14px; } .example-badge { position: absolute; top: 6px; right: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(18, 16, 26, 0.75); color: #fff; font: 800 12px/1.4 var(--display); } /* ---------------------------------------------------------------- sections */ .section { margin-top: 44px; } .section-head h2 { margin: 0 0 8px; font: 800 clamp(24px, 3vw, 32px) / 1.15 var(--display); letter-spacing: -0.01em; } .section-head p { margin: 0 0 18px; max-width: 820px; color: var(--ink-soft); } .api-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; } .code-card { border-radius: var(--radius); background: #17141f; color: #e9e6f5; box-shadow: var(--shadow); overflow: hidden; } .tabs { display: flex; gap: 4px; padding: 8px 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); } .tabs button { border: 0; border-radius: 10px 10px 0 0; padding: 9px 14px; background: transparent; color: #a39dba; font: 700 14px/1 var(--font); cursor: pointer; } .tabs button[aria-selected="true"] { background: #221e2e; color: #fff; } .tabs .copy { margin-left: auto; border-radius: 10px; margin-bottom: 6px; padding: 7px 12px; background: rgba(255, 255, 255, 0.08); color: #fff; } .code-card pre { white-space: pre-wrap; overflow-wrap: anywhere; font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; margin: 0; padding: 18px 20px; background: #221e2e; overflow: auto; font: 13px/1.6 var(--mono); tab-size: 4; max-height: 560px; } .code-card pre[hidden] { display: none; } .code-card code { font-size: inherit; } .facts { padding: 18px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); } .facts h3, .about h3 { margin: 0 0 10px; font: 800 18px/1.2 var(--display); } .facts h3 + * { margin-top: 0; } .steps { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: step; } .steps li { position: relative; padding: 0 0 10px 34px; counter-increment: step; font-size: 14px; } .steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 800; font-size: 13px; } .steps strong { display: block; } .steps span { color: var(--ink-soft); } .limits { width: 100%; border-collapse: collapse; font-size: 14px; } .limits th, .limits td { padding: 8px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; } .limits th { width: 78px; color: var(--ink-soft); font-weight: 600; } .more { margin: 14px 0 0; font-size: 14px; color: var(--ink-soft); } .about { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; } .fold { flex: 1 1 260px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 14px; } .fold[open] { flex-basis: 100%; } .fold summary { display: flex; align-items: center; gap: 8px; padding: 10px 14px; color: var(--ink-soft); font-weight: 600; cursor: pointer; list-style: none; } .fold summary::-webkit-details-marker { display: none; } .fold summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 0.15s; } .fold[open] summary::before { transform: rotate(45deg); } .fold summary:hover { color: var(--ink); } .fold-body { padding: 0 14px 12px 29px; color: var(--ink-soft); font-size: 13px; line-height: 1.55; } .fold-body p { margin: 0 0 8px; } .credits { margin: 0 0 8px; padding-left: 16px; } .credits li { margin-bottom: 4px; } .footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; } /* ---------------------------------------------------------------- responsive */ @media (max-width: 980px) { .studio { grid-template-columns: 1fr; } .controls { position: static; } .api-grid, .about-grid { grid-template-columns: 1fr; } } @media (max-width: 640px) { .page { padding: 18px 14px 32px; } .hero { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 12px; } .hero-mascot { width: 56px; } .hero-text { display: contents; } .hero h1 { margin: 0; } .hero .lede, .hero .pills { grid-column: 1 / -1; } .cmp-toolbar button, .pill { min-height: 44px; } .lede { font-size: 15px; } .pill { font-size: 13px; } .stage { padding: 10px; } .examples { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cmp-readout { display: none; } .stage-bar { flex-direction: column; align-items: stretch; } .btn { justify-content: center; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
@font-face {
font-family: "Bricolage Grotesque";
font-weight: 600;
font-display: swap;
src: url(assets/fonts/bricolage-grotesque-latin-600.woff2) format("woff2");
}
@font-face {
font-family: "Bricolage Grotesque";
font-weight: 800;
font-display: swap;
src: url(assets/fonts/bricolage-grotesque-latin-800.woff2) format("woff2");
}
@font-face {
font-family: "Hanken Grotesk";
font-weight: 300 800;
font-display: swap;
src: url(assets/fonts/hanken-grotesk-latin.woff2) format("woff2");
}
@font-face {
font-family: "JetBrains Mono";
font-weight: 400 700;
font-display: swap;
src: url(assets/fonts/jetbrains-mono-latin.woff2) format("woff2");
}
:root {
--ink: #3a3550;
--ink-soft: #6f6a82;
--paper: #f7f5fc;
--card: #ffffff;
--card-2: #f3f1fa;
--line: rgba(58, 53, 80, 0.12);
--line-strong: rgba(58, 53, 80, 0.22);
--accent: #7355f5;
--accent-text: #5b39e0;
--accent-soft: rgba(115, 85, 245, 0.1);
--ok: #166b46;
--warn-bg: #fff4e5;
--warn-ink: #7a4a00;
--err: #c23a30;
--grad: linear-gradient(100deg, #ff8a5b, #b47cff 55%, #4fb8e8);
--grad-text: linear-gradient(100deg, #ff9d75, #c394ff 55%, #6cc4ee);
--shadow: 0 1px 2px rgba(30, 20, 60, 0.06), 0 12px 32px -12px rgba(40, 25, 90, 0.18);
--stage-bg: #12101a;
--radius: 20px;
--font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
--display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
color-scheme: light;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--ink: #ece9f7;
--ink-soft: #a9a3bf;
--paper: #110f19;
--card: #1a1726;
--card-2: #221e31;
--line: rgba(236, 233, 247, 0.1);
--line-strong: rgba(236, 233, 247, 0.2);
--accent: #9b87ff;
--accent-text: #b8a9ff;
--accent-soft: rgba(155, 135, 255, 0.14);
--ok: #58c896;
--warn-bg: #3a2a10;
--warn-ink: #ffd699;
--err: #ff7b70;
--shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
color-scheme: dark;
}
}
:root[data-theme="dark"] {
--ink: #ece9f7;
--ink-soft: #a9a3bf;
--paper: #110f19;
--card: #1a1726;
--card-2: #221e31;
--line: rgba(236, 233, 247, 0.1);
--line-strong: rgba(236, 233, 247, 0.2);
--accent: #9b87ff;
--accent-text: #b8a9ff;
--accent-soft: rgba(155, 135, 255, 0.14);
--ok: #58c896;
--warn-bg: #3a2a10;
--warn-ink: #ffd699;
--err: #ff7b70;
--shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
color-scheme: dark;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
-webkit-text-size-adjust: 100%;
scroll-behavior: smooth;
}