Spaces:
Running
Running
File size: 6,528 Bytes
8a93f94 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | :root {
--bg: #08090b;
--bg-elev: #0f1115;
--panel: #101317;
--line: #1d2128;
--line-soft: #171b21;
--text: #e8eaed;
--muted: #8b929d;
--faint: #5b626d;
--accent: #5eead4;
--accent-dim: #2dd4bf;
--accent-ghost: rgba(94, 234, 212, 0.12);
--warn: #f59e0b;
--radius: 12px;
--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
--sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: var(--sans);
font-size: 15px;
line-height: 1.55;
-webkit-font-smoothing: antialiased;
}
.grid-bg {
position: fixed;
inset: 0;
z-index: 0;
background-image:
linear-gradient(var(--line-soft) 1px, transparent 1px),
linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
background-size: 56px 56px;
-webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 70%);
mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 70%);
opacity: 0.5;
pointer-events: none;
}
.wrap { width: min(1080px, 92vw); margin: 0 auto; }
main.wrap, header > .wrap, footer > .wrap { position: relative; z-index: 1; }
.site-header {
position: sticky;
top: 0;
z-index: 20;
background: rgba(8, 9, 11, 0.82);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.brand-mark { color: var(--accent); font-size: 14px; }
.brand-name { font-weight: 700; letter-spacing: 0.14em; font-size: 15px; }
.brand-tag {
font-family: var(--mono); font-size: 11px; color: var(--muted);
border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; text-transform: uppercase;
}
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .15s; }
.nav a:hover { color: var(--text); }
.updated { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.hero { padding: 72px 0 40px; max-width: 760px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 20px; font-weight: 700; }
.hero .accent { color: var(--accent); }
.lede { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 40px; }
.stat { background: var(--panel); padding: 18px 20px; }
.stat-val { font-family: var(--mono); font-size: 26px; font-weight: 600; color: var(--text); }
.stat-key { color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
.panel {
background: linear-gradient(180deg, var(--bg-elev), var(--panel));
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 26px 26px 28px;
margin: 28px 0;
}
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.panel h2 { font-size: 19px; margin: 0; letter-spacing: -0.01em; }
.panel-sub { color: var(--muted); font-size: 13.5px; margin: 6px 0 0; max-width: 60ch; }
.select { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.select select {
background: var(--bg); color: var(--text); border: 1px solid var(--line);
border-radius: 8px; padding: 7px 10px; font-family: var(--mono); font-size: 12.5px; cursor: pointer;
max-width: 240px;
}
.select select:focus { outline: none; border-color: var(--accent-dim); }
.table-wrap { position: relative; }
.board { width: 100%; border-collapse: collapse; }
.board thead th {
text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em;
color: var(--faint); font-weight: 600; padding: 0 14px 12px; border-bottom: 1px solid var(--line);
}
.board td { padding: 13px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.board tbody tr:last-child td { border-bottom: none; }
.board tbody tr { transition: background .12s; }
.board tbody tr:hover { background: rgba(255, 255, 255, 0.018); }
.c-rank { width: 56px; }
.c-score { width: 110px; text-align: right; }
.c-bar { width: 34%; }
.rank-num { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.rank-1 .rank-num, .rank-2 .rank-num, .rank-3 .rank-num { color: var(--accent); font-weight: 600; }
.hotkey { font-family: var(--mono); font-size: 13px; }
.hotkey .head { color: var(--text); }
.hotkey .tail { color: var(--faint); }
.score-val { font-family: var(--mono); font-size: 14px; text-align: right; color: var(--text); }
.bar { height: 7px; border-radius: 4px; background: var(--line); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent-dim), var(--accent)); }
.empty { color: var(--faint); text-align: center; padding: 40px 0; font-size: 14px; }
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chart-card { margin: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: 16px 16px 8px; }
.chart-card figcaption { font-size: 13px; color: var(--text); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.chart-card .hint { font-size: 11px; color: var(--faint); font-weight: 400; }
.chart-box { position: relative; height: 240px; }
.awaiting {
position: absolute; inset: 0; display: grid; place-items: center;
font-family: var(--mono); font-size: 12px; color: var(--faint);
background: repeating-linear-gradient(45deg, transparent, transparent 9px, rgba(255,255,255,0.015) 9px, rgba(255,255,255,0.015) 18px);
border-radius: 8px;
}
.awaiting[hidden] { display: none; }
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; height: 60px; color: var(--faint); font-size: 12.5px; }
.mono { font-family: var(--mono); }
@media (max-width: 760px) {
.stats { grid-template-columns: repeat(2, 1fr); }
.charts { grid-template-columns: 1fr; }
.nav { display: none; }
.c-bar { display: none; }
.panel-head { flex-direction: column; }
.hero { padding: 48px 0 28px; }
}
|