2026-07-26 11:27:21 +07:00
|
|
|
@import "tailwindcss";
|
|
|
|
|
|
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
|
|
2026-08-03 07:20:09 +07:00
|
|
|
/*
|
2026-08-14 10:49:44 +07:00
|
|
|
* GMW — new design system (visual overhaul).
|
2026-08-03 07:20:09 +07:00
|
|
|
*
|
2026-08-14 10:49:44 +07:00
|
|
|
* Replaces the old teal-cyan + purple + glassmorphism language with a warm,
|
|
|
|
|
* signal-driven ops-console aesthetic. Hierarchy comes from scale/weight and
|
|
|
|
|
* tonal surface blocks, NOT from borders/shadows. Three semantic signals:
|
|
|
|
|
* lime = OK / live (--signal)
|
|
|
|
|
* amber = warn (--amber)
|
|
|
|
|
* vermilion = flag/danger (--vermilion)
|
2026-08-03 07:20:09 +07:00
|
|
|
*/
|
2026-08-14 10:49:44 +07:00
|
|
|
|
2026-08-03 07:20:09 +07:00
|
|
|
@theme {
|
2026-08-14 10:49:44 +07:00
|
|
|
/* ── Surfaces ── */
|
|
|
|
|
--color-canvas: oklch(0.96 0.012 80);
|
|
|
|
|
--color-surface: oklch(0.92 0.014 80);
|
|
|
|
|
--color-surface-2: oklch(0.88 0.016 80);
|
2026-07-26 15:13:18 +07:00
|
|
|
|
2026-08-14 10:49:44 +07:00
|
|
|
/* ── Ink ── */
|
|
|
|
|
--color-ink: oklch(0.22 0.02 70);
|
|
|
|
|
--color-ink-soft: oklch(0.46 0.02 70);
|
2026-07-26 15:13:18 +07:00
|
|
|
|
2026-08-14 10:49:44 +07:00
|
|
|
/* ── Structural ── */
|
|
|
|
|
--color-hairline: oklch(0.22 0.02 70 / 0.1);
|
|
|
|
|
--hairline-w: 1px;
|
2026-07-28 10:05:08 +07:00
|
|
|
|
2026-08-14 10:49:44 +07:00
|
|
|
/* ── Semantic signals ── */
|
|
|
|
|
--color-signal: oklch(0.78 0.17 125);
|
|
|
|
|
--color-signal-ink: oklch(0.20 0.03 70);
|
|
|
|
|
--color-signal-glow: oklch(0.78 0.17 125 / 0.35);
|
|
|
|
|
--color-amber: oklch(0.80 0.15 70);
|
|
|
|
|
--color-vermilion: oklch(0.62 0.21 25);
|
|
|
|
|
--color-vermilion-soft: oklch(0.62 0.21 25 / 0.15);
|
2026-07-28 10:05:08 +07:00
|
|
|
|
2026-08-14 10:49:44 +07:00
|
|
|
--color-ring: var(--color-signal);
|
2026-07-28 10:05:08 +07:00
|
|
|
|
2026-08-14 10:49:44 +07:00
|
|
|
/* ── Fonts ── */
|
|
|
|
|
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
|
|
|
--font-mono: "JetBrains Mono", ui-monospace, monospace;
|
|
|
|
|
--font-display: "Bricolage Grotesque", "Inter", sans-serif;
|
2026-07-28 10:05:08 +07:00
|
|
|
|
2026-08-14 10:49:44 +07:00
|
|
|
/* ── Radii ── */
|
|
|
|
|
--radius-r: 14px;
|
|
|
|
|
--radius-r-panel: 12px;
|
|
|
|
|
--radius-r-control: 8px;
|
|
|
|
|
--radius-r-pill: 9999px;
|
2026-07-26 11:27:21 +07:00
|
|
|
}
|
|
|
|
|
|
2026-08-03 07:20:09 +07:00
|
|
|
/* ── Dark theme overrides ── */
|
|
|
|
|
.dark {
|
2026-08-14 10:49:44 +07:00
|
|
|
--color-canvas: oklch(0.13 0.015 70);
|
|
|
|
|
--color-surface: oklch(0.18 0.02 70);
|
|
|
|
|
--color-surface-2: oklch(0.23 0.022 70);
|
2026-08-03 07:20:09 +07:00
|
|
|
|
2026-08-14 10:49:44 +07:00
|
|
|
--color-ink: oklch(0.93 0.01 75);
|
|
|
|
|
--color-ink-soft: oklch(0.62 0.02 75);
|
2026-08-03 07:20:09 +07:00
|
|
|
|
2026-08-14 10:49:44 +07:00
|
|
|
--color-hairline: oklch(1 0 0 / 0.09);
|
2026-08-03 07:20:09 +07:00
|
|
|
|
2026-08-14 10:49:44 +07:00
|
|
|
--color-signal: oklch(0.88 0.18 125);
|
|
|
|
|
--color-signal-ink: oklch(0.18 0.03 70);
|
|
|
|
|
--color-signal-glow: oklch(0.88 0.18 125 / 0.4);
|
|
|
|
|
--color-amber: oklch(0.85 0.15 70);
|
|
|
|
|
--color-vermilion: oklch(0.68 0.21 25);
|
|
|
|
|
--color-vermilion-soft: oklch(0.68 0.21 25 / 0.18);
|
2026-08-03 07:20:09 +07:00
|
|
|
}
|
|
|
|
|
|
2026-07-26 11:27:21 +07:00
|
|
|
@layer base {
|
2026-08-14 10:49:44 +07:00
|
|
|
* {
|
|
|
|
|
@apply border-transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html {
|
|
|
|
|
@apply font-sans antialiased scroll-smooth;
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-26 11:27:21 +07:00
|
|
|
body {
|
2026-08-14 10:49:44 +07:00
|
|
|
@apply bg-canvas text-ink font-sans antialiased;
|
|
|
|
|
/* warm dot-grid texture + faint glow — replaces old bluish radial layers */
|
2026-08-03 07:20:09 +07:00
|
|
|
background-image:
|
2026-08-14 10:49:44 +07:00
|
|
|
radial-gradient(circle, oklch(0.45 0.03 70 / 0.05) 1px, transparent 1px),
|
|
|
|
|
radial-gradient(ellipse 80% 50% at 50% -20%, oklch(0.78 0.17 125 / 0.06), transparent),
|
|
|
|
|
radial-gradient(ellipse 50% 40% at 85% 90%, oklch(0.80 0.15 70 / 0.04), transparent);
|
|
|
|
|
background-size: 26px 26px, 100% 100%, 100% 100%;
|
2026-08-03 07:20:09 +07:00
|
|
|
}
|
2026-08-14 10:49:44 +07:00
|
|
|
|
2026-08-03 07:20:09 +07:00
|
|
|
.dark body {
|
2026-07-28 10:05:08 +07:00
|
|
|
background-image:
|
2026-08-14 10:49:44 +07:00
|
|
|
radial-gradient(circle, oklch(1 0 0 / 0.022) 1px, transparent 1px),
|
|
|
|
|
radial-gradient(ellipse 80% 50% at 50% -20%, oklch(0.88 0.18 125 / 0.05), transparent),
|
|
|
|
|
radial-gradient(ellipse 50% 40% at 85% 90%, oklch(0.85 0.15 70 / 0.03), transparent);
|
|
|
|
|
background-size: 26px 26px, 100% 100%, 100% 100%;
|
2026-07-26 11:27:21 +07:00
|
|
|
}
|
2026-07-26 15:13:18 +07:00
|
|
|
|
|
|
|
|
::selection {
|
2026-08-14 10:49:44 +07:00
|
|
|
background: oklch(0.78 0.17 125 / 0.35);
|
2026-07-28 07:53:35 +07:00
|
|
|
color: inherit;
|
2026-07-26 15:13:18 +07:00
|
|
|
}
|
|
|
|
|
|
2026-08-14 10:49:44 +07:00
|
|
|
/* Scrollbar — warm */
|
2026-07-26 15:13:18 +07:00
|
|
|
::-webkit-scrollbar {
|
2026-08-14 10:49:44 +07:00
|
|
|
width: 7px;
|
|
|
|
|
height: 7px;
|
2026-07-26 15:13:18 +07:00
|
|
|
}
|
|
|
|
|
::-webkit-scrollbar-track {
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
2026-08-14 10:49:44 +07:00
|
|
|
background: oklch(0.4 0.02 70 / 0.22);
|
2026-07-26 15:13:18 +07:00
|
|
|
border-radius: 999px;
|
|
|
|
|
}
|
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
2026-08-14 10:49:44 +07:00
|
|
|
background: oklch(0.4 0.02 70 / 0.38);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:focus-visible {
|
|
|
|
|
outline: 2px solid var(--color-signal);
|
|
|
|
|
outline-offset: 2px;
|
2026-07-26 15:13:18 +07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-08-14 10:49:44 +07:00
|
|
|
@layer utilities {
|
|
|
|
|
/* Tonal block that replaces bordered cards */
|
|
|
|
|
.surface {
|
|
|
|
|
background: var(--color-surface);
|
|
|
|
|
border-radius: var(--radius-r);
|
|
|
|
|
border: var(--hairline-w) solid var(--color-hairline);
|
|
|
|
|
}
|
|
|
|
|
.surface-2 {
|
|
|
|
|
background: var(--color-surface-2);
|
|
|
|
|
border-radius: var(--radius-r-panel);
|
|
|
|
|
border: var(--hairline-w) solid var(--color-hairline);
|
|
|
|
|
}
|
2026-07-26 15:13:18 +07:00
|
|
|
|
2026-08-14 10:49:44 +07:00
|
|
|
/* 1px animated pulse line marking a live/section header */
|
|
|
|
|
.scan-tick {
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
.scan-tick::after {
|
|
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
inset-inline-start: 0;
|
|
|
|
|
inset-block-start: 0;
|
|
|
|
|
block-size: 1px;
|
|
|
|
|
inline-size: 100%;
|
|
|
|
|
background: linear-gradient(
|
|
|
|
|
90deg,
|
|
|
|
|
transparent,
|
|
|
|
|
var(--color-signal) 20%,
|
|
|
|
|
var(--color-signal) 80%,
|
|
|
|
|
transparent
|
|
|
|
|
);
|
|
|
|
|
background-size: 200% 100%;
|
|
|
|
|
animation: scan 2.6s linear infinite;
|
|
|
|
|
opacity: 0.7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ticker {
|
|
|
|
|
background: var(--color-surface);
|
|
|
|
|
border-radius: var(--radius-r);
|
|
|
|
|
border: var(--hairline-w) solid var(--color-hairline);
|
|
|
|
|
padding: clamp(1rem, 2vw, 1.5rem);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pill {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.35rem;
|
|
|
|
|
padding: 0.2rem 0.7rem;
|
|
|
|
|
border-radius: var(--radius-r-pill);
|
|
|
|
|
font-size: 0.72rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
letter-spacing: 0.02em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mono {
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
font-variant-numeric: tabular-nums;
|
|
|
|
|
letter-spacing: -0.01em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.display {
|
|
|
|
|
font-family: var(--font-display);
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
letter-spacing: -0.02em;
|
|
|
|
|
line-height: 1.02;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* text tone helpers */
|
|
|
|
|
.text-signal { color: var(--color-signal); }
|
|
|
|
|
.text-amber { color: var(--color-amber); }
|
|
|
|
|
.text-vermilion { color: var(--color-vermilion); }
|
|
|
|
|
.text-ink-soft { color: var(--color-ink-soft); }
|
|
|
|
|
|
|
|
|
|
/* focus ring helper for interactive blocks */
|
|
|
|
|
.ring-focus {
|
|
|
|
|
transition: box-shadow 0.18s ease;
|
|
|
|
|
}
|
|
|
|
|
.ring-focus:hover {
|
|
|
|
|
box-shadow: 0 0 0 1px var(--color-signal-glow);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Keyframes ──────────────────────────── */
|
|
|
|
|
@keyframes scan {
|
|
|
|
|
0% { background-position: 200% 0; }
|
|
|
|
|
100% { background-position: -200% 0; }
|
|
|
|
|
}
|
|
|
|
|
@keyframes eq {
|
|
|
|
|
0%, 100% { transform: scaleY(0.25); }
|
|
|
|
|
30% { transform: scaleY(1); }
|
|
|
|
|
60% { transform: scaleY(0.5); }
|
|
|
|
|
}
|
|
|
|
|
@keyframes fade-up {
|
|
|
|
|
from { opacity: 0; transform: translateY(8px); }
|
|
|
|
|
to { opacity: 1; transform: translateY(0); }
|
|
|
|
|
}
|
|
|
|
|
@keyframes spin-disc {
|
|
|
|
|
from { transform: rotate(0deg); }
|
|
|
|
|
to { transform: rotate(360deg); }
|
|
|
|
|
}
|
|
|
|
|
/* kept for live status dots */
|
2026-07-26 15:13:18 +07:00
|
|
|
@keyframes pulse-ring {
|
2026-08-14 10:49:44 +07:00
|
|
|
0% { transform: scale(0.8); opacity: 1; }
|
|
|
|
|
100% { transform: scale(2.5); opacity: 0; }
|
2026-07-26 15:13:18 +07:00
|
|
|
}
|
2026-07-28 07:53:35 +07:00
|
|
|
@keyframes shimmer {
|
2026-08-14 10:49:44 +07:00
|
|
|
0% { background-position: -200% 0; }
|
|
|
|
|
100% { background-position: 200% 0; }
|
2026-07-28 07:53:35 +07:00
|
|
|
}
|
|
|
|
|
|
2026-08-14 10:49:44 +07:00
|
|
|
.animate-eq {
|
|
|
|
|
animation: eq 0.9s ease-in-out infinite;
|
|
|
|
|
transform-origin: bottom;
|
|
|
|
|
}
|
|
|
|
|
.animate-spin-disc {
|
|
|
|
|
animation: spin-disc 8s linear infinite;
|
|
|
|
|
}
|
|
|
|
|
.animate-spin-disc.paused {
|
|
|
|
|
animation-play-state: paused;
|
2026-07-28 07:53:35 +07:00
|
|
|
}
|
|
|
|
|
.animate-pulse-ring {
|
|
|
|
|
animation: pulse-ring 1.5s ease-out infinite;
|
|
|
|
|
}
|
|
|
|
|
.animate-shimmer {
|
2026-08-14 10:49:44 +07:00
|
|
|
background: linear-gradient(
|
|
|
|
|
90deg,
|
|
|
|
|
transparent,
|
|
|
|
|
oklch(0.78 0.17 125 / 0.08),
|
|
|
|
|
transparent
|
|
|
|
|
);
|
2026-07-28 07:53:35 +07:00
|
|
|
background-size: 200% 100%;
|
|
|
|
|
animation: shimmer 1.5s infinite;
|
|
|
|
|
}
|
|
|
|
|
|
2026-08-14 10:49:44 +07:00
|
|
|
/* ── Reduced motion: kill all decorative animation ── */
|
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
|
.scan-tick::after,
|
|
|
|
|
.animate-eq,
|
|
|
|
|
.animate-spin-disc,
|
|
|
|
|
.animate-pulse-ring,
|
|
|
|
|
.animate-shimmer {
|
|
|
|
|
animation: none !important;
|
2026-08-01 16:54:58 +07:00
|
|
|
}
|
2026-08-14 10:49:44 +07:00
|
|
|
html { scroll-behavior: auto; }
|
2026-07-26 15:13:18 +07:00
|
|
|
}
|