1159 lines
20 KiB
CSS
1159 lines
20 KiB
CSS
:root {
|
|
--bg: #0f1012;
|
|
--bg-panel: rgba(20, 22, 26, 0.92);
|
|
--bg-panel-strong: rgba(24, 27, 31, 0.98);
|
|
--bg-soft: rgba(255, 255, 255, 0.026);
|
|
--line: rgba(255, 255, 255, 0.08);
|
|
--line-strong: rgba(255, 255, 255, 0.13);
|
|
--text: #f5f3ef;
|
|
--text-muted: #a9adb6;
|
|
--text-soft: #868b94;
|
|
--accent: #e58b3a;
|
|
--accent-2: #ffb66d;
|
|
--accent-soft: rgba(229, 139, 58, 0.14);
|
|
--positive: #58d38f;
|
|
--negative: #ef6a72;
|
|
--neutral: #ddb662;
|
|
--shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
|
|
--shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.22);
|
|
--radius-sm: 8px;
|
|
--radius: 12px;
|
|
--radius-lg: 16px;
|
|
}
|
|
|
|
* {
|
|
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(229, 139, 58, 0.11),
|
|
transparent 22%
|
|
),
|
|
radial-gradient(
|
|
circle at top right,
|
|
rgba(255, 182, 109, 0.05),
|
|
transparent 18%
|
|
),
|
|
linear-gradient(180deg, #0c0d0f 0%, #111418 100%);
|
|
}
|
|
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
background-image:
|
|
linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
|
|
background-size: 40px 40px;
|
|
opacity: 0.22;
|
|
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: 24px 0 44px;
|
|
}
|
|
|
|
.topbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 18px;
|
|
padding: 18px 22px;
|
|
margin-bottom: 24px;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius-lg);
|
|
background: rgba(16, 18, 22, 0.84);
|
|
backdrop-filter: blur(10px);
|
|
box-shadow: var(--shadow-soft);
|
|
}
|
|
|
|
.brand {
|
|
display: inline-block;
|
|
font-size: 1.3rem;
|
|
font-weight: 800;
|
|
letter-spacing: -0.045em;
|
|
}
|
|
|
|
.brand-subtitle {
|
|
margin: 6px 0 0;
|
|
color: var(--text-muted);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.nav-links form {
|
|
margin: 0;
|
|
}
|
|
|
|
.nav-links a,
|
|
.ghost-button,
|
|
.secondary-button,
|
|
.primary-button,
|
|
.sort-button {
|
|
transition:
|
|
background-color 140ms ease,
|
|
border-color 140ms ease,
|
|
color 140ms ease,
|
|
transform 140ms ease,
|
|
box-shadow 140ms ease;
|
|
}
|
|
|
|
.nav-links a,
|
|
.ghost-button,
|
|
.secondary-button,
|
|
.primary-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 42px;
|
|
padding: 0 14px;
|
|
border-radius: 10px;
|
|
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.038);
|
|
border-color: var(--line);
|
|
}
|
|
|
|
.secondary-button {
|
|
border-color: var(--line);
|
|
background: rgba(255, 255, 255, 0.025);
|
|
}
|
|
|
|
.secondary-button:hover {
|
|
border-color: rgba(229, 139, 58, 0.3);
|
|
box-shadow: inset 0 0 0 1px rgba(229, 139, 58, 0.1);
|
|
}
|
|
|
|
.primary-button {
|
|
padding: 0 16px;
|
|
border-color: rgba(229, 139, 58, 0.3);
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(229, 139, 58, 0.2),
|
|
rgba(229, 139, 58, 0.12)
|
|
);
|
|
color: #fff3e5;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.primary-button:hover {
|
|
border-color: rgba(255, 182, 109, 0.42);
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(229, 139, 58, 0.25),
|
|
rgba(229, 139, 58, 0.14)
|
|
);
|
|
}
|
|
|
|
.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);
|
|
box-shadow: var(--shadow-soft);
|
|
}
|
|
|
|
.flash.success {
|
|
border-color: rgba(88, 211, 143, 0.2);
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(88, 211, 143, 0.08),
|
|
rgba(20, 22, 26, 0.94)
|
|
);
|
|
}
|
|
|
|
.flash.error {
|
|
border-color: rgba(239, 106, 114, 0.2);
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(239, 106, 114, 0.08),
|
|
rgba(20, 22, 26, 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-size: 0.74rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
h1,
|
|
h2 {
|
|
margin: 0;
|
|
letter-spacing: -0.05em;
|
|
}
|
|
|
|
h1 {
|
|
font-size: clamp(2.15rem, 4.2vw, 3.7rem);
|
|
line-height: 0.98;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.34rem;
|
|
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.65fr) minmax(320px, 0.95fr);
|
|
}
|
|
|
|
.three-col {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.four-col {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.stack-gap {
|
|
display: grid;
|
|
gap: 18px;
|
|
}
|
|
|
|
.form-shell {
|
|
display: grid;
|
|
justify-content: center;
|
|
}
|
|
|
|
.form-shell.narrow {
|
|
grid-template-columns: minmax(320px, 540px);
|
|
}
|
|
|
|
.form-card {
|
|
display: grid;
|
|
gap: 16px;
|
|
align-content: start;
|
|
}
|
|
|
|
.form-card label {
|
|
display: grid;
|
|
gap: 8px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.form-card label > span {
|
|
color: var(--text-soft);
|
|
font-size: 0.84rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.form-card input,
|
|
.form-card select,
|
|
.form-card textarea {
|
|
width: 100%;
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.028);
|
|
color: var(--text);
|
|
padding: 12px 13px;
|
|
outline: none;
|
|
appearance: none;
|
|
}
|
|
|
|
.form-card textarea {
|
|
resize: vertical;
|
|
min-height: 112px;
|
|
}
|
|
|
|
.form-card input:focus,
|
|
.form-card select:focus,
|
|
.form-card textarea:focus {
|
|
border-color: rgba(229, 139, 58, 0.42);
|
|
box-shadow: 0 0 0 4px rgba(229, 139, 58, 0.1);
|
|
}
|
|
|
|
.admin-layout .form-card {
|
|
align-self: start;
|
|
}
|
|
|
|
.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: 540px;
|
|
}
|
|
|
|
.chart-frame,
|
|
.chart-modal-frame {
|
|
position: relative;
|
|
min-height: 340px;
|
|
}
|
|
|
|
.chart-panel-large .chart-frame {
|
|
min-height: 450px;
|
|
}
|
|
|
|
.chart-frame-interactive {
|
|
cursor: zoom-in;
|
|
}
|
|
|
|
.chart-frame-interactive:focus-visible {
|
|
outline: 2px solid rgba(229, 139, 58, 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;
|
|
}
|
|
|
|
.rank-move {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 2.5rem;
|
|
font-weight: 650;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.rank-up {
|
|
color: #22c55e;
|
|
}
|
|
|
|
.rank-down {
|
|
color: #ef4444;
|
|
}
|
|
|
|
.rank-flat {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.inline-filter-form select {
|
|
min-width: 12rem;
|
|
}
|
|
|
|
.table-wrap {
|
|
position: relative;
|
|
z-index: 1;
|
|
overflow-x: auto;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--line);
|
|
background: rgba(255, 255, 255, 0.018);
|
|
}
|
|
|
|
.small-table th,
|
|
.small-table td {
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 14px;
|
|
border-bottom: 1px solid var(--line);
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
vertical-align: top;
|
|
}
|
|
|
|
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);
|
|
}
|
|
|
|
.leaderboard-controls {
|
|
display: grid;
|
|
gap: 8px;
|
|
justify-items: end;
|
|
}
|
|
|
|
.session-filter-form {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.session-filter-label {
|
|
color: var(--text-muted);
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.session-filter-select {
|
|
min-width: 220px;
|
|
min-height: 42px;
|
|
padding: 0 14px;
|
|
border: 1px solid var(--line-strong);
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.035);
|
|
color: var(--text);
|
|
outline: none;
|
|
}
|
|
|
|
.session-filter-select:focus {
|
|
border-color: rgba(240, 138, 56, 0.42);
|
|
box-shadow: 0 0 0 4px rgba(240, 138, 56, 0.12);
|
|
}
|
|
|
|
.compact-button {
|
|
min-height: 42px;
|
|
}
|
|
|
|
.positive,
|
|
.negative,
|
|
.neutral {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.positive {
|
|
color: var(--positive);
|
|
}
|
|
|
|
.negative {
|
|
color: var(--negative);
|
|
}
|
|
|
|
.neutral {
|
|
color: var(--neutral);
|
|
}
|
|
|
|
.event-feed {
|
|
display: grid;
|
|
gap: 12px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.event-feed.condensed {
|
|
gap: 10px;
|
|
}
|
|
|
|
.event-card {
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 14px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.022);
|
|
}
|
|
|
|
.event-card-top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.event-amount {
|
|
margin: 0;
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
letter-spacing: -0.03em;
|
|
}
|
|
|
|
.pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 26px;
|
|
padding: 0 10px;
|
|
border: 1px solid rgba(229, 139, 58, 0.25);
|
|
border-radius: 999px;
|
|
background: var(--accent-soft);
|
|
color: var(--accent-2);
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.note-list {
|
|
margin: 0;
|
|
padding-left: 18px;
|
|
color: var(--text-muted);
|
|
white-space: normal;
|
|
}
|
|
|
|
.note-list li + li {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.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.78);
|
|
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: 18px;
|
|
background: var(--bg-panel-strong);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.chart-modal-frame {
|
|
height: min(74vh, 820px);
|
|
}
|
|
|
|
.leaderboard-layout,
|
|
.session-layout,
|
|
.admin-layout {
|
|
align-items: stretch;
|
|
}
|
|
|
|
.results-panel-full {
|
|
display: block;
|
|
}
|
|
|
|
.table-scroll-open {
|
|
overflow-x: auto;
|
|
overflow-y: visible;
|
|
max-height: none;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.chart-row {
|
|
align-items: stretch;
|
|
}
|
|
|
|
.chart-panel-compact,
|
|
.session-insights-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.chart-panel-compact .chart-frame-compact {
|
|
flex: 1;
|
|
min-height: 220px;
|
|
height: auto;
|
|
}
|
|
|
|
.session-results-table {
|
|
min-width: 980px;
|
|
}
|
|
|
|
.session-results-table th,
|
|
.session-results-table td {
|
|
vertical-align: top;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.session-results-table th:last-child,
|
|
.session-results-table td:last-child {
|
|
min-width: 18rem;
|
|
width: 22rem;
|
|
white-space: normal;
|
|
}
|
|
|
|
.session-results-table thead th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 2;
|
|
background: rgba(16, 20, 28, 0.96);
|
|
backdrop-filter: blur(6px);
|
|
}
|
|
|
|
.detail-grid {
|
|
display: grid;
|
|
gap: 0.9rem;
|
|
}
|
|
|
|
.detail-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
padding: 0.8rem 0;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.detail-row:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.button-row {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.secondary-button {
|
|
appearance: none;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: var(--text-strong);
|
|
border-radius: 12px;
|
|
padding: 0.8rem 1rem;
|
|
font: inherit;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.secondary-button:hover {
|
|
background: rgba(255, 255, 255, 0.07);
|
|
}
|
|
|
|
.status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 5.5rem;
|
|
padding: 0.35rem 0.65rem;
|
|
border-radius: 999px;
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.status-open {
|
|
color: #f59e0b;
|
|
background: rgba(245, 158, 11, 0.12);
|
|
border: 1px solid rgba(245, 158, 11, 0.24);
|
|
}
|
|
|
|
.status-closed {
|
|
color: #94a3b8;
|
|
background: rgba(148, 163, 184, 0.1);
|
|
border: 1px solid rgba(148, 163, 184, 0.2);
|
|
}
|
|
|
|
.inline-action-form {
|
|
margin: 0;
|
|
}
|
|
|
|
.table-action-button {
|
|
appearance: none;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: var(--text-strong);
|
|
border-radius: 10px;
|
|
padding: 0.45rem 0.7rem;
|
|
font: inherit;
|
|
font-size: 0.88rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.table-action-button:hover {
|
|
background: rgba(255, 255, 255, 0.07);
|
|
}
|
|
|
|
.chart-frame-small {
|
|
min-height: 260px;
|
|
}
|
|
|
|
.status-none {
|
|
color: #94a3b8;
|
|
background: rgba(148, 163, 184, 0.1);
|
|
border: 1px solid rgba(148, 163, 184, 0.2);
|
|
}
|
|
|
|
.status-unpaid {
|
|
color: #f59e0b;
|
|
background: rgba(245, 158, 11, 0.12);
|
|
border: 1px solid rgba(245, 158, 11, 0.24);
|
|
}
|
|
|
|
.status-partial {
|
|
color: #fb923c;
|
|
background: rgba(251, 146, 60, 0.12);
|
|
border: 1px solid rgba(251, 146, 60, 0.24);
|
|
}
|
|
|
|
.status-paid {
|
|
color: #22c55e;
|
|
background: rgba(34, 197, 94, 0.12);
|
|
border: 1px solid rgba(34, 197, 94, 0.24);
|
|
}
|
|
|
|
.pill-paid {
|
|
color: #22c55e;
|
|
background: rgba(34, 197, 94, 0.12);
|
|
border: 1px solid rgba(34, 197, 94, 0.22);
|
|
}
|
|
|
|
.pill-cashout {
|
|
color: #f59e0b;
|
|
background: rgba(245, 158, 11, 0.12);
|
|
border: 1px solid rgba(245, 158, 11, 0.22);
|
|
}
|
|
|
|
.pill-buyin {
|
|
color: #60a5fa;
|
|
background: rgba(96, 165, 250, 0.12);
|
|
border: 1px solid rgba(96, 165, 250, 0.22);
|
|
}
|
|
|
|
.pill-front {
|
|
color: #fb923c;
|
|
background: rgba(251, 146, 60, 0.12);
|
|
border: 1px solid rgba(251, 146, 60, 0.22);
|
|
}
|
|
|
|
.pill-note {
|
|
color: #cbd5e1;
|
|
background: rgba(203, 213, 225, 0.08);
|
|
border: 1px solid rgba(203, 213, 225, 0.14);
|
|
}
|
|
|
|
.status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 5.5rem;
|
|
padding: 0.35rem 0.65rem;
|
|
border-radius: 999px;
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.status-owes {
|
|
color: #ef4444;
|
|
background: rgba(239, 68, 68, 0.12);
|
|
border: 1px solid rgba(239, 68, 68, 0.24);
|
|
}
|
|
|
|
.inline-action-form {
|
|
margin: 0;
|
|
}
|
|
|
|
.table-action-button {
|
|
appearance: none;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--text-strong);
|
|
border-radius: 10px;
|
|
padding: 0.45rem 0.72rem;
|
|
font: inherit;
|
|
font-size: 0.88rem;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
transition:
|
|
background 140ms ease,
|
|
border-color 140ms ease,
|
|
transform 140ms ease;
|
|
}
|
|
|
|
.table-action-button:hover {
|
|
background: rgba(255, 166, 77, 0.12);
|
|
border-color: rgba(255, 166, 77, 0.28);
|
|
}
|
|
|
|
.table-action-button:active {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
.table-action-button:focus-visible {
|
|
outline: none;
|
|
box-shadow: 0 0 0 3px rgba(255, 166, 77, 0.18);
|
|
border-color: rgba(255, 166, 77, 0.35);
|
|
}
|
|
|
|
.admin-tools-grid {
|
|
display: grid;
|
|
gap: 1rem;
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
}
|
|
|
|
.import-form input[type="file"] {
|
|
width: 100%;
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.import-form input[type="file"]::file-selector-button {
|
|
appearance: none;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--text-strong);
|
|
border-radius: 10px;
|
|
padding: 0.55rem 0.8rem;
|
|
font: inherit;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
margin-right: 0.75rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.import-form input[type="file"]::file-selector-button:hover {
|
|
background: rgba(255, 166, 77, 0.12);
|
|
border-color: rgba(255, 166, 77, 0.28);
|
|
}
|
|
|
|
.payout-summary-grid {
|
|
display: grid;
|
|
gap: 1rem;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.payout-summary-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.payout-summary-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.site-shell {
|
|
width: min(100% - 24px, 100%);
|
|
}
|
|
|
|
.topbar {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.two-col,
|
|
.three-col,
|
|
.leaderboard-layout,
|
|
.session-layout,
|
|
.admin-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,
|
|
.chart-modal-card {
|
|
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,
|
|
.primary-button {
|
|
min-height: 40px;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 12px;
|
|
}
|
|
|
|
.chart-modal-card {
|
|
width: min(100vw - 20px, 100%);
|
|
margin: 10px auto;
|
|
max-height: calc(100vh - 20px);
|
|
}
|
|
|
|
.chart-modal-frame {
|
|
height: min(66vh, 680px);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
.leaderboard-header,
|
|
.leaderboard-controls {
|
|
align-items: start;
|
|
justify-items: start;
|
|
}
|
|
|
|
.session-filter-form {
|
|
width: 100%;
|
|
}
|
|
|
|
.session-filter-select {
|
|
width: 100%;
|
|
}
|
|
}
|