Files
aigc-home/calliope-web/static/themes.css
T
2026-10-22 11:00:53 +08:00

801 lines
23 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* HEL-726 approved themes. Loaded before the app for first-paint safety. */
:root,
[data-theme="night"] {
color-scheme: dark;
/* surfaces: ink black with a faint blue cast, never pure #000 */
--bg-0: #07080c;
--bg-1: #0c0e14;
--bg-2: #12151d;
--bg-3: #1a1e29;
--bg-4: #232838;
--line: rgb(var(--ink) / 0.06);
--line-2: rgb(var(--ink) / 0.11);
--line-3: rgb(var(--ink) / 0.18);
/* text: warm paper white */
--tx-1: #f3efe6;
--tx-2: #aaa79e;
--tx-3: #6f6d68;
--tx-inv: #1a1206;
/* key light: tungsten gold */
--gold: #e9b04b;
--gold-hi: #f8d68c;
--gold-lo: #b8771f;
--grad-gold: linear-gradient(135deg, #fbe1a1 0%, #efb54f 45%, #d98a26 100%);
/* scene lights — each workspace has its own colour temperature */
--sc-image: #3fd8c6;
--sc-video: #ff8a3d;
--sc-agent: #a879ff;
--sc-project: #e9b04b;
--sc-manage: #7f93b5;
--scene: var(--gold);
/* status */
--ok: #43d39a;
--warn: #f2b33d;
--err: #ff5d6c;
--info: #5aa9ff;
/* type */
--font:
"PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei",
system-ui, sans-serif;
--mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
--fs-display: 28px;
--fs-h1: 20px;
--fs-h2: 16px;
--fs-body: 13px;
--fs-small: 12px;
--fs-micro: 11px;
--studio-hero-bg: #0b0c11;
--project-footer-height: 56px;
--project-side-width: 340px;
--project-media-tag-bg: rgba(7, 8, 12, 0.62);
--project-media-tag-color: #ddd;
--project-media-tag-border: rgba(255, 255, 255, 0.16);
--project-icon-stroke: 1.7;
--project-hero-radius: var(--r-xl);
--project-button-radius: var(--r-sm);
--project-button-sm-radius: 5px;
--project-button-disabled-filter: grayscale(0.8) brightness(0.6);
--project-button-disabled-bg: var(--grad-gold);
--project-button-disabled-color: var(--tx-inv);
--project-header-bg: var(--glass);
--project-eyebrow-radius: var(--r-pill);
--project-draft-shadow: 0 0 12px
color-mix(in srgb, var(--sc-agent) 35%, transparent);
--project-shot-radius: 12px;
--project-active-shadow: 0 0 12px var(--gold);
--project-side-bg: var(--bg-1);
--project-display-font: var(--font);
--project-card-radius: var(--r-lg);
--project-confirm-radius: 10px;
--project-draft-radius: 12px;
--slot-size: 56px;
--prompt-height: 60px;
--desk-dock-radius: 14px;
--desk-dock-bg: linear-gradient(
180deg,
color-mix(in srgb, var(--bg-3) 92%, transparent),
color-mix(in srgb, var(--bg-2) 96%, transparent)
);
--desk-dock-shadow: var(--sh-2);
--desk-dock-focus:
var(--sh-2), 0 0 0 3px color-mix(in srgb, var(--gold) 8%, transparent),
0 0 40px color-mix(in srgb, var(--gold) 8%, transparent);
--theme-reveal-duration: 520ms;
--theme-fallback-duration: 280ms;
--theme-preview-art: linear-gradient(160deg, #2f5d7c, #f2b36b);
--family-qwen: #8aa2ff;
--family-krea: #ff86b0;
--family-flux: #62d2ff;
--family-zimg: #a6e16a;
--family-h3: #ff9a52;
--family-wan: #c79bff;
--family-anima: #ffb86b;
--family-ink: #0c0e14;
--manage-field-radius: 10px;
--manage-card-radius: 14px;
--manage-segment-radius: 9px;
--manage-segment-option-radius: 7px;
--manage-page-background: var(--bg-0);
--manage-panel-background: var(--bg-1);
--manage-icon-stroke: 1.7;
--manage-pin-radius: 6px;
--manage-pin-size: 24px;
--manage-control-height: 32px;
--manage-control-size: 12.5px;
--manage-control-weight: 500;
--manage-control-radius: var(--r-sm);
--manage-button-height: 26px;
--manage-button-padding: 9px;
--manage-button-radius: 5px;
--manage-header-letter-spacing: normal;
--manage-filter-width: 220px;
--manage-detail-width: 360px;
--manage-media-radius: 10px;
--manage-add-min-height: 130px;
--manage-card-min: 280px;
--manage-card-padding: 14px;
/* Shared sample rail and management typography, not per-theme offsets. */
--rail-padding: 12px 0 10px;
--rail-brand-size: 40px;
--rail-brand-margin: 10px;
--rail-brand-radius: 12px;
--rail-nav-width: 56px;
--rail-expanded-width: 174px;
--rail-expanded-nav-width: 158px;
--rail-expanded-label-size: 12px;
--rail-nav-padding: 7px 0 6px;
--rail-nav-size: 11px;
--rail-nav-radius: 12px;
--rail-divider-margin: 8px 0;
--rail-queue-size: 40px;
--rail-queue-ring-radius: 12px;
--rail-queue-ring-border: 1.5px;
--rail-queue-ring-duration: 1.6s;
--rail-active-shadow: initial;
--rail-active-shadow-blur: 12px;
--manage-header-reserve-font: 11px/1.55 var(--font);
--manage-header-reserve-padding: 10px;
--manage-header-reserve-dot: 6px;
--manage-theme-name-size: 12.5px;
--manage-theme-tone-size: 11px;
--manage-theme-line: 1.55;
--task-table-layout: auto;
--task-thumbnail-column: 64px;
--task-progress-column: 180px;
--task-thumbnail-width: 48px;
--task-thumbnail-height: 32px;
--task-thumbnail-radius: 5px;
--task-progress-fill: linear-gradient(
90deg,
color-mix(in srgb, var(--sc-manage) 70%, var(--hi)),
var(--sc-manage)
);
--task-progress-shadow: 0 0 12px var(--sc-manage);
--task-progress-duration: 250ms;
--task-running-color: color-mix(in srgb, var(--sc-video) 80%, var(--hi));
--task-running-border: color-mix(in srgb, var(--sc-video) 40%, transparent);
--task-running-background: color-mix(
in srgb,
var(--sc-video) 10%,
transparent
);
--task-progress-height: 4px;
--task-progress-radius: 4px;
--task-progress-gap: 5px;
--task-tabs-width: 340px;
--task-tabs-offset: 12px;
--task-search-width: 240px;
--task-preview-height: 300px;
--desk-head-height: var(--head);
--desk-head-inset: 16px;
--desk-head-bg: var(--glass);
--desk-head-name-size: 14px;
--desk-head-name-weight: 600;
--desk-head-name-line: 1.55;
--desk-search-height: 34px;
--desk-search-size: 13px;
--desk-search-key-font: 500 10.5px/1 var(--mono);
--desk-search-key-padding: 3px 5px;
--desk-search-key-radius: 4px;
--desk-search-radius: var(--r-sm);
--desk-filter-height: 24px;
--desk-filter-size: 11.5px;
--desk-filter-radius: 999px;
--desk-rail-title-height: 40px;
--desk-rail-gap: 8px;
--desk-connection-radius: var(--r-pill);
--desk-switch-width: 26px;
--desk-switch-height: 15px;
--desk-switch-knob: 11px;
--desk-action-radius: 5px;
--desk-gen-width: 131px;
--desk-gen-radius: 10px;
--desk-gen-height: 38px;
--desk-gen-weight: 700;
--desk-seg-radius: 9px;
--desk-seg-selected-radius: 7px;
--desk-slot-column: 272px;
--desk-pop-width: 620px;
--desk-pop-height: 560px;
--desk-pop-bg: color-mix(in srgb, var(--bg-2) 98%, transparent);
--desk-pop-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
--prompt-expanded: 28vh;
/* space (4 base) */
--s1: 4px;
--s2: 8px;
--s3: 12px;
--s4: 16px;
--s5: 20px;
--s6: 24px;
--s8: 32px;
/* radius */
--r-xs: 4px;
--r-sm: 6px;
--r-md: 10px;
--r-lg: 14px;
--r-xl: 20px;
--r-pill: 999px;
/* elevation */
--sh-1: 0 1px 0 rgb(var(--ink) / 0.04) inset, 0 2px 8px rgba(0, 0, 0, 0.35);
--sh-2: 0 1px 0 rgb(var(--ink) / 0.05) inset, 0 12px 32px rgba(0, 0, 0, 0.5);
--sh-gold:
0 6px 22px rgba(233, 160, 60, 0.35),
0 0 0 1px rgba(255, 220, 150, 0.35) inset;
/* motion */
--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
--ease-io: cubic-bezier(0.65, 0, 0.35, 1);
--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
--t-fast: 120ms;
--t-base: 200ms;
--t-slow: 320ms;
--t-reveal: 700ms;
/* layout */
--rail: 68px;
--list: 272px;
--hist: 92px;
--head: 48px;
/* ---- theme-semantic tokens (v2 · 主题化) ---- */
--ink: 255 255 255; /* overlay channel: hover tint, hairlines (white in dark, ink in light) */
--hi: white; /* scene-coloured text is mixed toward this for contrast */
--on-scene: #140a03; /* text on a solid scene/status colour */
--on-ok: #06140e;
--sc-asset: #ff86b0; /* 素材资产 helper colour (agent roster) */
--glass: color-mix(in srgb, var(--bg-1) 70%, transparent);
--scrim: rgba(4, 5, 8, 0.6);
--well: var(--bg-0); /* inputs, segmented track */
--media-shadow:
0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgb(255 255 255 / 0.07);
--sh-gold-hover:
0 8px 28px rgba(233, 160, 60, 0.5), 0 0 0 1px rgba(255, 230, 170, 0.5) inset;
--brand-grad: radial-gradient(
circle at 30% 25%,
#fff3cf 0,
#efb54f 35%,
#9b5a12 100%
);
--brand-glow: 0 0 24px rgba(233, 176, 75, 0.35);
--brand-ink: #1b1206;
--display-grad: linear-gradient(
90deg,
var(--gold-hi),
var(--gold) 60%,
#ff9b5a
);
--glow: 1; /* 1 = glows on (dark themes), 0 = off (light / neutral) */
/* signature effects */
--gen-bg: #0b0d12;
--grain: rgba(255, 255, 255, 0.08);
--beam: linear-gradient(
90deg,
transparent,
color-mix(in srgb, var(--scene) 30%, transparent),
rgba(255, 255, 255, 0.25),
transparent
);
--lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='24' viewBox='0 0 14 24'%3E%3Cpath d='M7 0l7 4v8l-7 4-7-4V4zM7 16v8' fill='none' stroke='white' stroke-opacity='.16' stroke-width='.8'/%3E%3C/svg%3E");
--scanline: rgb(var(--ink) / 0.012);
--stage-tint: 7%;
/* agent atmosphere */
--aur-1: #7c4dff;
--aur-2: #ff5fa8;
--aur-3: #2fd5c5;
--aur-op: 0.33;
--agent-hero: linear-gradient(
120deg,
rgba(32, 20, 58, 0.9),
rgba(14, 12, 26, 0.92) 55%,
rgba(10, 22, 30, 0.9)
);
--agent-title: linear-gradient(90deg, #fff, #d9c6ff 50%, #ffb3d9);
--orb-core: radial-gradient(
circle at 35% 30%,
#fff 0,
#e3d4ff 12%,
#a879ff 40%,
#4b1fa8 75%,
transparent 76%
);
--particle: 214, 190, 255;
--fail-a: #1a1215;
--fail-b: #140f12;
}
[data-theme="day"] {
--project-button-disabled-filter: none;
--project-button-disabled-bg: #e3ddd2;
--project-button-disabled-color: #8d877d;
--project-active-shadow: none;
--project-draft-shadow: none;
--rail-active-shadow: none;
color-scheme: light;
--bg-0: #e9e4da;
--bg-1: #f4f1ea;
--bg-2: #fbf9f5;
--bg-3: #ffffff;
--bg-4: #efe9df;
--ink: 38 30 18;
--line: rgb(38 30 18 / 0.09);
--line-2: rgb(38 30 18 / 0.15);
--line-3: rgb(38 30 18 / 0.26);
--tx-1: #1f1b15;
--tx-2: #55504a;
--tx-3: #736d65;
--tx-inv: #ffffff;
--gold: #a65a0c;
--gold-hi: #8a4a06;
--gold-lo: #c98a3a;
--grad-gold: linear-gradient(135deg, #bd6512 0%, #a9580d 55%, #984d08 100%);
--sc-image: #0b8378;
--sc-video: #c2511a;
--sc-agent: #6d45d0;
--sc-project: #a65a0c;
--sc-manage: #4c6286;
--sc-asset: #b93a72;
--ok: #11804f;
--warn: #9a6400;
--err: #c42b41;
--info: #2263c2;
--hi: #141109;
--on-scene: #ffffff;
--on-ok: #ffffff;
--sh-1:
0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 1px 2px rgba(60, 44, 20, 0.1);
--sh-2:
0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 12px 32px rgba(60, 44, 20, 0.14),
0 2px 6px rgba(60, 44, 20, 0.06);
--sh-gold:
0 4px 14px rgba(166, 90, 12, 0.28), 0 0 0 1px rgba(120, 60, 0, 0.18) inset;
--sh-gold-hover:
0 6px 20px rgba(166, 90, 12, 0.38), 0 0 0 1px rgba(120, 60, 0, 0.24) inset;
--glass: color-mix(in srgb, var(--bg-1) 88%, transparent);
--scrim: rgba(40, 32, 20, 0.34);
--well: #ffffff;
--media-shadow:
0 14px 36px rgba(50, 38, 18, 0.2), 0 0 0 1px rgba(38, 30, 18, 0.1);
--brand-grad: linear-gradient(145deg, #2c261d, #14110c);
--brand-glow: 0 2px 8px rgba(40, 30, 15, 0.25);
--brand-ink: #f2c46d;
--display-grad: linear-gradient(90deg, #a65a0c, #c2511a);
--glow: 0;
--gen-bg: #e3ddd1;
--grain: rgba(40, 30, 18, 0.1);
--beam: linear-gradient(
90deg,
transparent,
color-mix(in srgb, var(--scene) 24%, transparent),
rgba(255, 255, 255, 0.85),
transparent
);
--lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='24' viewBox='0 0 14 24'%3E%3Cpath d='M7 0l7 4v8l-7 4-7-4V4zM7 16v8' fill='none' stroke='%23261e12' stroke-opacity='.16' stroke-width='.8'/%3E%3C/svg%3E");
--scanline: transparent;
--stage-tint: 6%;
--aur-1: #b9a0ff;
--aur-2: #ffb39a;
--aur-3: #8fe0d4;
--aur-op: 0.42;
--agent-hero: linear-gradient(120deg, #efe7ff, #faf7f1 55%, #e4f3ef);
--agent-title: linear-gradient(90deg, #24163f, #5b34c4 55%, #a2346f);
--orb-core: radial-gradient(
circle at 35% 30%,
#fff 0,
#efe6ff 14%,
#a98cf0 42%,
#6d45d0 75%,
transparent 76%
);
--particle: 109, 69, 208;
--fail-a: #f6e3e3;
--fail-b: #efd6d7;
}
[data-theme="grade"] {
--project-card-radius: 4px;
--project-hero-radius: 4px;
--project-eyebrow-radius: 3px;
--project-confirm-radius: 10px;
--project-draft-radius: 4px;
--project-shot-radius: 4px;
--project-active-shadow: none;
--project-draft-shadow: none;
--rail-active-shadow: none;
--rail-nav-radius: 4px;
--rail-brand-radius: 4px;
--desk-filter-radius: 3px;
--desk-connection-radius: 3px;
color-scheme: dark;
--bg-0: #1b1b1c;
--bg-1: #222223;
--bg-2: #29292b;
--bg-3: #323234;
--bg-4: #3c3c3f;
--ink: 255 255 255;
--line: rgb(255 255 255 / 0.075);
--line-2: rgb(255 255 255 / 0.13);
--line-3: rgb(255 255 255 / 0.22);
--tx-1: #ecebe8;
--tx-2: #acaba6;
--tx-3: #85847f;
--tx-inv: #141516;
--r-xs: 2px;
--r-sm: 4px;
--manage-button-radius: 5px;
--manage-header-letter-spacing: 0.2px;
--manage-field-radius: 4px;
--manage-card-radius: 4px;
--manage-segment-radius: 4px;
--manage-segment-option-radius: 4px;
--r-md: 6px;
--r-lg: 8px;
--desk-dock-radius: 8px;
--desk-gen-radius: 4px;
--desk-seg-radius: 4px;
--desk-seg-selected-radius: 4px;
--r-xl: 10px;
--gold: #d9dde2;
--gold-hi: #f2f4f6;
--gold-lo: #9aa1aa;
--grad-gold: linear-gradient(180deg, #f6f7f8 0%, #d5d9de 100%);
--sc-image: #6fc2b7;
--sc-video: #d8a06c;
--sc-agent: #a598d8;
--sc-project: #d4bc8a;
--sc-manage: #909cae;
--sc-asset: #d394b0;
--ok: #4cc38f;
--warn: #e3a93b;
--err: #ee5d70;
--info: #5d9fe3;
--hi: white;
--on-scene: #141516;
--on-ok: #06140e;
--sh-1:
0 1px 0 rgba(255, 255, 255, 0.035) inset, 0 2px 6px rgba(0, 0, 0, 0.35);
--sh-2:
0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 30px rgba(0, 0, 0, 0.45);
--sh-gold:
0 4px 14px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.55) inset;
--sh-gold-hover:
0 6px 18px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.7) inset;
--glass: color-mix(in srgb, var(--bg-1) 82%, transparent);
--scrim: rgba(0, 0, 0, 0.55);
--well: #18181a;
--media-shadow:
0 18px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.07);
--brand-grad: linear-gradient(145deg, #f1f2f3, #aeb3ba);
--brand-glow: none;
--brand-ink: #17181a;
--display-grad: linear-gradient(90deg, #ffffff, #bfc5cc);
--glow: 0;
--gen-bg: #1a1b1d;
--grain: rgba(255, 255, 255, 0.06);
--beam: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.07),
rgba(255, 255, 255, 0.22),
transparent
);
--scanline: transparent;
--stage-tint: 0%;
--aur-1: #5d5a80;
--aur-2: #7a6070;
--aur-3: #4f7470;
--aur-op: 0.16;
--agent-hero: linear-gradient(120deg, #202027, #1b1c1e 60%, #1b2020);
--agent-title: linear-gradient(90deg, #ffffff, #d4d0ea);
--orb-core: radial-gradient(
circle at 35% 30%,
#fff 0,
#e7e5f2 14%,
#a598d8 44%,
#3e3a5c 76%,
transparent 77%
);
--particle: 205, 205, 215;
--fail-a: #211a1b;
--fail-b: #1b1617;
}
[data-theme="bluehour"] {
--project-shot-radius: 14px;
--project-button-radius: 10px;
--project-button-sm-radius: 8px;
--project-header-bg: color-mix(in srgb, #0f1838 55%, transparent);
--project-side-bg: color-mix(in srgb, var(--bg-1) 78%, transparent);
--rail-nav-radius: 14px;
--desk-head-bg: color-mix(in srgb, #0f1838 55%, transparent);
color-scheme: dark;
--bg-0: #0a1029;
--bg-1: #0f1838;
--bg-2: #162148;
--bg-3: #1f2c5c;
--bg-4: #2a386e;
--r-sm: 8px;
--manage-button-radius: 8px;
--manage-control-radius: 10px;
--manage-page-background: linear-gradient(
180deg,
#0c1435 0%,
#121640 55%,
#24163f 100%
);
--manage-panel-background: color-mix(in srgb, var(--bg-1) 78%, transparent);
--r-md: 12px;
--r-lg: 18px;
--desk-dock-radius: 18px;
--desk-gen-radius: 999px;
--desk-gen-width: 140.7px;
--desk-action-radius: 8px;
--desk-dock-bg: linear-gradient(
180deg,
rgba(31, 44, 92, 0.82),
rgba(22, 33, 72, 0.9)
);
--r-xl: 26px;
--ink: 214 224 255;
--line: rgb(214 224 255 / 0.07);
--line-2: rgb(214 224 255 / 0.12);
--line-3: rgb(214 224 255 / 0.2);
--tx-1: #eef1fb;
--tx-2: #a9b1cc;
--tx-3: #7680a2;
--tx-inv: #2b0c05;
--gold: #ff9a6c;
--gold-hi: #ffc7a8;
--gold-lo: #d9603f;
--grad-gold: linear-gradient(135deg, #ffd3b4 0%, #ff9a6c 45%, #f0644f 100%);
--sc-image: #4fd6ea;
--sc-video: #ffbb55;
--sc-agent: #b592ff;
--sc-project: #ff9a6c;
--sc-manage: #8aa0dc;
--sc-asset: #ff86c0;
--ok: #4fd69c;
--warn: #ffc94d;
--err: #ff4d6d;
--info: #69b4ff;
--hi: white;
--on-scene: #1a0b04;
--on-ok: #05150e;
--sh-1:
0 1px 0 rgba(214, 224, 255, 0.05) inset, 0 2px 8px rgba(0, 0, 10, 0.4);
--sh-2:
0 1px 0 rgba(214, 224, 255, 0.06) inset, 0 12px 32px rgba(0, 0, 12, 0.55);
--sh-gold:
0 6px 24px rgba(255, 120, 90, 0.38),
0 0 0 1px rgba(255, 214, 186, 0.42) inset;
--sh-gold-hover:
0 8px 30px rgba(255, 120, 90, 0.52),
0 0 0 1px rgba(255, 226, 206, 0.55) inset;
--scrim: rgba(4, 6, 16, 0.62);
--media-shadow:
0 30px 80px rgba(0, 0, 14, 0.62), 0 0 0 1px rgba(214, 224, 255, 0.08);
--brand-grad: radial-gradient(
circle at 30% 25%,
#ffe4d2 0,
#ff9a6c 38%,
#a3363a 100%
);
--brand-glow: 0 0 26px rgba(255, 140, 100, 0.42);
--brand-ink: #2b0c05;
--display-grad: linear-gradient(90deg, #ffd3b4, #ff9a6c 55%, #ff7096);
--glow: 1;
--gen-bg: #0b1124;
--grain: rgba(214, 224, 255, 0.08);
--beam: linear-gradient(
90deg,
transparent,
color-mix(in srgb, var(--scene) 34%, transparent),
rgba(255, 236, 220, 0.3),
transparent
);
--stage-tint: 10%;
--aur-1: #3e5bff;
--aur-2: #ff7a8a;
--aur-3: #2fd5e5;
--aur-op: 0.36;
--agent-hero: linear-gradient(
120deg,
rgba(26, 32, 84, 0.92),
rgba(12, 16, 40, 0.94) 55%,
rgba(44, 18, 52, 0.9)
);
--agent-title: linear-gradient(90deg, #ffffff, #c9d4ff 50%, #ffb8a0);
--orb-core: radial-gradient(
circle at 35% 30%,
#fff 0,
#ffe1cf 12%,
#ff9a6c 38%,
#5a2fb0 76%,
transparent 77%
);
--particle: 255, 206, 186;
--fail-a: #1d1220;
--fail-b: #160e1a;
}
@media (max-width: 1366px) {
:root {
--list: 248px;
--hist: 84px;
}
}
@media (max-width: 1280px) {
:root {
--rail: 60px;
--list: 236px;
--hist: 76px;
--head: 44px;
}
}
/* Compatibility names for existing pages; no independent colour palette. */
:root {
--accent-grad-hover: var(--grad-gold);
--accent-ring: color-mix(in srgb, var(--gold) 25%, transparent);
--accent-wash: var(--accent-soft);
--btn-glow-hover: var(--sh-gold-hover);
--composer-bg: var(--desk-dock-bg);
--composer-focus: var(--bg-2);
--float-bg: var(--bg-2);
--toast-bottom: 24px;
--on-media: #fff;
--on-media-line: #ffffff66;
--sel-shadow: 0 0 0 1px var(--gold);
--bg: var(--bg-0);
--paper: var(--bg-2);
--lime: color-mix(in srgb, var(--sc-image) 14%, var(--bg-2));
--rose: color-mix(in srgb, var(--sc-asset) 14%, var(--bg-2));
--text: var(--tx-1);
--text-2: var(--tx-2);
--text-3: var(--tx-3);
--accent: var(--gold);
--accent-hi: var(--gold-hi);
--accent-lo: var(--gold-lo);
--accent-ink: var(--tx-inv);
--accent-soft: color-mix(in srgb, var(--gold) 9%, transparent);
--accent-line: color-mix(in srgb, var(--gold) 35%, transparent);
--accent-grad: var(--grad-gold);
--accent-glow: var(--sh-gold);
--btn-glow: var(--sh-gold);
--page-glow: linear-gradient(transparent, transparent);
--ok-soft: color-mix(in srgb, var(--ok) 9%, transparent);
--run: var(--info);
--run-soft: color-mix(in srgb, var(--info) 9%, transparent);
--run-grad: linear-gradient(90deg, var(--info), var(--sc-agent));
--err-solid: var(--err);
--err-soft: color-mix(in srgb, var(--err) 9%, transparent);
--err-line: color-mix(in srgb, var(--err) 40%, transparent);
--warn-soft: color-mix(in srgb, var(--warn) 9%, transparent);
--overlay: var(--scrim);
--media-scrim: #101017ee;
--media-text: #fff;
--media-line: #ffffff66;
--stage-bg: var(--bg-0);
--fs-title: 15px;
--fs-section: 14px;
--fs-body-sm: 12.5px;
--fs-aux: 12px;
--fs-mini: 11px;
--lh-body: 1.55;
--sp-1: 4px;
--sp-2: 6px;
--sp-3: 8px;
--sp-4: 10px;
--sp-5: 12px;
--sp-6: 16px;
--sp-7: 20px;
--sp-8: 28px;
--shadow-float: var(--sh-2);
--rail-w: var(--rail);
--topbar-h: var(--head);
--tabbar-h: 0px;
--sprocket: none;
--frame-w: 0px;
--frame-arm: 12px;
--frame-inset: -4px;
--paper-w: 4px;
--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
--ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
--d-press: 160ms;
--d-state: 160ms;
--d-pop: 180ms;
--d-leave: 200ms;
--d-enter: 220ms;
--d-drawer: 250ms;
--d-flash: 900ms;
--d-progress: 400ms;
--press-scale: 0.97;
--avatar-1: color-mix(in srgb, var(--sc-project) 20%, var(--bg-2));
--avatar-2: color-mix(in srgb, var(--sc-image) 20%, var(--bg-2));
--avatar-3: color-mix(in srgb, var(--sc-video) 20%, var(--bg-2));
--avatar-4: color-mix(in srgb, var(--sc-asset) 20%, var(--bg-2));
--avatar-5: color-mix(in srgb, var(--sc-agent) 20%, var(--bg-2));
--id-1: var(--sc-project);
--id-2: var(--sc-image);
--id-3: var(--sc-video);
--id-4: var(--sc-asset);
--id-5: var(--sc-agent);
--surface: var(--bg-2);
--surface-2: var(--bg-3);
--surface-3: var(--bg-4);
--border: var(--line);
--border-strong: var(--line-2);
--border-hover: var(--line-2);
--accent-dim: var(--accent-soft);
--success: var(--ok);
--success-dim: var(--ok-soft);
--info-dim: color-mix(in srgb, var(--info) 9%, transparent);
--error: var(--err);
--error-dim: var(--err-soft);
--warning: var(--warn);
--bg-primary: var(--bg);
--bg-surface: var(--bg-2);
--bg-elevated: var(--bg-3);
--text-primary: var(--text);
--text-secondary: var(--text-2);
--text-muted: var(--text-3);
--font-a-mono: var(--mono);
--font-display: var(--font);
--font-body: var(--font);
--font-mono: var(--mono);
--radius-sm: var(--r-sm);
--radius-md: var(--r-md);
--radius-lg: var(--r-lg);
--space-sm: var(--sp-3);
--space-md: var(--sp-6);
--pill-bg: var(--bg-3);
--pill-border: var(--line-2);
--pill-radius: var(--r-pill);
--pill-height: 36px;
--pill-padding: 0 14px;
--pill-font-size: var(--fs-body);
}
html {
background: var(--bg-0);
color: var(--tx-1);
}
/* HEL-726 theme switch: the approved lamp reveal and its colour-only fallback. */
html.theme-anim,
html.theme-anim *,
html.theme-anim *::before,
html.theme-anim *::after {
transition:
background-color var(--theme-fallback-duration) var(--ease-io),
border-color var(--theme-fallback-duration) var(--ease-io),
color var(--theme-fallback-duration) var(--ease-io),
fill var(--theme-fallback-duration),
box-shadow var(--theme-fallback-duration) !important;
}
::view-transition-old(root),
::view-transition-new(root) {
animation: none;
mix-blend-mode: normal;
}
::view-transition-new(root) {
animation: theme-lamp var(--theme-reveal-duration) var(--ease-out);
}
@keyframes theme-lamp {
from {
clip-path: circle(0 at var(--theme-x, 34px) var(--theme-y, 85%));
}
to {
clip-path: circle(150% at var(--theme-x, 34px) var(--theme-y, 85%));
}
}
:root[data-reduce="1"]::view-transition-new(root) {
animation: none;
}
@media (prefers-reduced-motion: reduce) {
::view-transition-new(root) {
animation: none;
}
}
/* Keep transient feedback clear of the project’s fixed primary actions. */
:root:has(.project-workspace) {
--toast-bottom: calc(var(--project-footer-height) + 24px);
}