638 lines
11 KiB
CSS
638 lines
11 KiB
CSS
:root {
|
|
--bg: #0f1113;
|
|
--bg-elevated: #14171b;
|
|
--bg-panel: rgba(20, 23, 27, 0.92);
|
|
--bg-panel-strong: rgba(24, 28, 33, 0.98);
|
|
--bg-soft: rgba(255, 255, 255, 0.028);
|
|
--line: rgba(255, 255, 255, 0.08);
|
|
--line-strong: rgba(255, 255, 255, 0.12);
|
|
--text: #f3f4f6;
|
|
--text-muted: #a8adb7;
|
|
--text-soft: #8b919c;
|
|
--accent: #f08a38;
|
|
--accent-2: #ffb36a;
|
|
--accent-soft: rgba(240, 138, 56, 0.14);
|
|
--positive: #59d98e;
|
|
--negative: #f06c72;
|
|
--neutral: #e4bf65;
|
|
--shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
|
|
--shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.18);
|
|
--radius-sm: 10px;
|
|
--radius: 14px;
|
|
--radius-lg: 18px;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
color-scheme: dark;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
font-family: "Inter", sans-serif;
|
|
color: var(--text);
|
|
background:
|
|
radial-gradient(
|
|
circle at top left,
|
|
rgba(240, 138, 56, 0.1),
|
|
transparent 22%
|
|
),
|
|
radial-gradient(
|
|
circle at top right,
|
|
rgba(255, 179, 106, 0.06),
|
|
transparent 18%
|
|
),
|
|
linear-gradient(180deg, #0d0f11 0%, #121519 100%);
|
|
}
|
|
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
background-image:
|
|
linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
|
|
background-size: 38px 38px;
|
|
opacity: 0.28;
|
|
pointer-events: none;
|
|
}
|
|
|
|
body.modal-open {
|
|
overflow: hidden;
|
|
}
|
|
|
|
img,
|
|
canvas {
|
|
display: block;
|
|
max-width: 100%;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
color: inherit;
|
|
}
|
|
|
|
.site-shell {
|
|
width: min(1280px, calc(100% - 40px));
|
|
margin: 0 auto;
|
|
padding: 26px 0 44px;
|
|
}
|
|
|
|
.topbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 20px;
|
|
padding: 18px 20px;
|
|
margin-bottom: 26px;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-lg);
|
|
background: rgba(16, 18, 22, 0.82);
|
|
backdrop-filter: blur(10px);
|
|
box-shadow: var(--shadow-soft);
|
|
}
|
|
|
|
.brand-lockup {
|
|
min-width: 0;
|
|
}
|
|
|
|
.brand-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.brand-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 24px;
|
|
padding: 0 9px;
|
|
border-radius: 999px;
|
|
background: var(--accent-soft);
|
|
border: 1px solid rgba(240, 138, 56, 0.24);
|
|
color: var(--accent-2);
|
|
font-family: "IBM Plex Mono", monospace;
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.brand {
|
|
font-size: 1.25rem;
|
|
font-weight: 800;
|
|
letter-spacing: -0.04em;
|
|
}
|
|
|
|
.brand-subtitle {
|
|
margin: 6px 0 0;
|
|
color: var(--text-muted);
|
|
font-size: 0.94rem;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.nav-links a,
|
|
.ghost-button,
|
|
.secondary-button,
|
|
.sort-button {
|
|
transition:
|
|
background-color 140ms ease,
|
|
border-color 140ms ease,
|
|
color 140ms ease,
|
|
transform 140ms ease;
|
|
}
|
|
|
|
.nav-links a,
|
|
.ghost-button,
|
|
.secondary-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 42px;
|
|
padding: 0 14px;
|
|
border-radius: 12px;
|
|
border: 1px solid transparent;
|
|
background: transparent;
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nav-links a:hover,
|
|
.ghost-button:hover,
|
|
.secondary-button:hover {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border-color: var(--line);
|
|
}
|
|
|
|
.nav-accent,
|
|
.secondary-button {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-color: var(--line);
|
|
}
|
|
|
|
.nav-accent:hover,
|
|
.secondary-button:hover {
|
|
border-color: rgba(240, 138, 56, 0.26);
|
|
box-shadow: inset 0 0 0 1px rgba(240, 138, 56, 0.12);
|
|
}
|
|
|
|
.flash-stack {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.flash {
|
|
padding: 14px 16px;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
background: var(--bg-panel);
|
|
color: var(--text);
|
|
box-shadow: var(--shadow-soft);
|
|
}
|
|
|
|
.flash.success {
|
|
border-color: rgba(89, 217, 142, 0.18);
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(89, 217, 142, 0.1),
|
|
rgba(20, 23, 27, 0.94)
|
|
);
|
|
}
|
|
|
|
.flash.error {
|
|
border-color: rgba(240, 108, 114, 0.18);
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(240, 108, 114, 0.1),
|
|
rgba(20, 23, 27, 0.94)
|
|
);
|
|
}
|
|
|
|
.page-content {
|
|
display: grid;
|
|
gap: 24px;
|
|
}
|
|
|
|
.hero-card,
|
|
.panel {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--bg-panel);
|
|
box-shadow: var(--shadow-soft);
|
|
}
|
|
|
|
.hero-card::before,
|
|
.panel::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(255, 255, 255, 0.018),
|
|
transparent 34%
|
|
);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.hero-card {
|
|
padding: 30px;
|
|
}
|
|
|
|
.hero-card.compact {
|
|
padding: 24px 28px;
|
|
}
|
|
|
|
.panel {
|
|
padding: 22px;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 8px;
|
|
color: var(--accent-2);
|
|
font-family: "IBM Plex Mono", monospace;
|
|
font-size: 0.74rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
h1,
|
|
h2 {
|
|
margin: 0;
|
|
letter-spacing: -0.045em;
|
|
}
|
|
|
|
h1 {
|
|
font-size: clamp(2.2rem, 4.2vw, 3.7rem);
|
|
line-height: 0.98;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.32rem;
|
|
line-height: 1.15;
|
|
}
|
|
|
|
.muted-text {
|
|
margin: 0;
|
|
color: var(--text-muted);
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.muted-text.small,
|
|
.tiny-text {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.tiny-text {
|
|
color: var(--text-soft);
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
gap: 24px;
|
|
}
|
|
|
|
.two-col {
|
|
grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
|
|
}
|
|
|
|
.three-col {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.panel-header {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 14px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.panel-header-with-actions {
|
|
align-items: center;
|
|
}
|
|
|
|
.panel-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.chart-panel {
|
|
min-height: 420px;
|
|
}
|
|
|
|
.chart-panel-large {
|
|
min-height: 520px;
|
|
}
|
|
|
|
.chart-frame,
|
|
.chart-modal-frame {
|
|
position: relative;
|
|
min-height: 340px;
|
|
}
|
|
|
|
.chart-panel-large .chart-frame {
|
|
min-height: 430px;
|
|
}
|
|
|
|
.chart-frame-interactive {
|
|
cursor: zoom-in;
|
|
}
|
|
|
|
.chart-frame-interactive:focus-visible {
|
|
outline: 2px solid rgba(240, 138, 56, 0.55);
|
|
outline-offset: 5px;
|
|
}
|
|
|
|
.chart-panel canvas,
|
|
.chart-frame canvas,
|
|
.chart-modal-frame canvas {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
}
|
|
|
|
.stat-panel,
|
|
.stat-card {
|
|
display: grid;
|
|
align-content: start;
|
|
}
|
|
|
|
.stat-list {
|
|
display: grid;
|
|
gap: 8px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.stat-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 14px 0;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.stat-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.stat-row span {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.stat-card {
|
|
gap: 10px;
|
|
min-height: 128px;
|
|
}
|
|
|
|
.stat-card span {
|
|
color: var(--text-soft);
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.stat-card strong {
|
|
font-size: clamp(1.8rem, 3vw, 2.35rem);
|
|
line-height: 1;
|
|
letter-spacing: -0.06em;
|
|
}
|
|
|
|
.table-wrap {
|
|
position: relative;
|
|
z-index: 1;
|
|
overflow-x: auto;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--line);
|
|
background: rgba(255, 255, 255, 0.018);
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 14px 14px;
|
|
border-bottom: 1px solid var(--line);
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
th {
|
|
color: var(--text-soft);
|
|
font-size: 0.76rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
tbody tr {
|
|
transition: background-color 140ms ease;
|
|
}
|
|
|
|
tbody tr:hover {
|
|
background: rgba(255, 255, 255, 0.026);
|
|
}
|
|
|
|
tbody tr:last-child td,
|
|
tbody tr:last-child th {
|
|
border-bottom: none;
|
|
}
|
|
|
|
td a {
|
|
font-weight: 600;
|
|
}
|
|
|
|
td a:hover {
|
|
color: var(--accent-2);
|
|
}
|
|
|
|
.sort-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
width: 100%;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sort-button:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.sort-button.is-active {
|
|
color: var(--accent-2);
|
|
}
|
|
|
|
.sort-indicator {
|
|
color: var(--text-soft);
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.sort-button.is-active .sort-indicator {
|
|
color: var(--accent-2);
|
|
}
|
|
|
|
.positive,
|
|
.negative,
|
|
.neutral {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.positive {
|
|
color: var(--positive);
|
|
}
|
|
|
|
.negative {
|
|
color: var(--negative);
|
|
}
|
|
|
|
.neutral {
|
|
color: var(--neutral);
|
|
}
|
|
|
|
.chart-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 80;
|
|
display: none;
|
|
}
|
|
|
|
.chart-modal.is-open {
|
|
display: block;
|
|
}
|
|
|
|
.chart-modal-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(8, 10, 12, 0.76);
|
|
backdrop-filter: blur(6px);
|
|
}
|
|
|
|
.chart-modal-card {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: min(1320px, calc(100vw - 48px));
|
|
max-height: calc(100vh - 48px);
|
|
margin: 24px auto;
|
|
padding: 22px;
|
|
border: 1px solid var(--line-strong);
|
|
border-radius: 20px;
|
|
background: var(--bg-panel-strong);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.chart-modal-frame {
|
|
height: min(74vh, 820px);
|
|
}
|
|
|
|
.leaderboard-layout {
|
|
align-items: stretch;
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.site-shell {
|
|
width: min(100% - 24px, 100%);
|
|
}
|
|
|
|
.topbar {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.two-col,
|
|
.three-col,
|
|
.leaderboard-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.chart-panel-large .chart-frame {
|
|
min-height: 360px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.site-shell {
|
|
padding-top: 16px;
|
|
}
|
|
|
|
.topbar,
|
|
.hero-card,
|
|
.panel {
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.topbar,
|
|
.hero-card,
|
|
.panel,
|
|
.chart-modal-card {
|
|
padding-left: 16px;
|
|
padding-right: 16px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.95rem;
|
|
}
|
|
|
|
.nav-links {
|
|
width: 100%;
|
|
}
|
|
|
|
.nav-links a,
|
|
.ghost-button,
|
|
.secondary-button {
|
|
min-height: 40px;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 12px 12px;
|
|
}
|
|
|
|
.chart-modal-card {
|
|
width: min(100vw - 20px, 100%);
|
|
margin: 10px auto;
|
|
}
|
|
|
|
.chart-modal-frame {
|
|
height: min(68vh, 620px);
|
|
}
|
|
}
|