Files
argument.es/frontend.css

629 lines
13 KiB
CSS
Raw Normal View History

2026-02-19 23:28:03 -08:00
/* ── Reset & Base ─────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
2026-02-19 22:46:41 -08:00
:root {
2026-02-19 23:28:03 -08:00
--bg: #050505;
--surface: #0a0a0a;
--surface-2: #141414;
--border: #222222;
--border-light: #333333;
--text: #ffffff;
--text-dim: #a1a1a1;
--text-muted: #555555;
2026-02-19 22:46:41 -08:00
}
body {
background: var(--bg);
color: var(--text);
2026-02-19 23:28:03 -08:00
font-family: 'Inter', -apple-system, sans-serif;
font-size: 15px;
line-height: 1.5;
2026-02-19 23:40:03 -08:00
height: 100vh;
2026-02-19 23:28:03 -08:00
overflow: hidden;
-webkit-font-smoothing: antialiased;
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
/* ── App Layout ───────────────────────────────────────────────── */
.app {
height: 100vh;
display: flex;
flex-direction: column;
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
/* ── Header ───────────────────────────────────────────────────── */
2026-02-19 22:46:41 -08:00
.header {
2026-02-19 23:28:03 -08:00
padding: 24px 48px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid var(--border);
background: var(--bg);
flex-shrink: 0;
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
.header__logo {
font-family: 'JetBrains Mono', monospace;
font-size: 24px;
2026-02-19 22:46:41 -08:00
font-weight: 700;
2026-02-19 23:28:03 -08:00
letter-spacing: -1px;
color: var(--text);
}
.header__tagline {
color: var(--text-muted);
font-family: 'JetBrains Mono', monospace;
font-size: 12px;
text-transform: uppercase;
2026-02-19 22:46:41 -08:00
letter-spacing: 1px;
}
2026-02-19 23:28:03 -08:00
/* ── Layout Grid ──────────────────────────────────────────────── */
.layout {
flex: 1;
display: flex;
overflow: hidden;
}
.main {
flex: 1;
2026-02-19 23:40:03 -08:00
overflow: hidden;
padding: 32px 64px;
2026-02-19 23:28:03 -08:00
display: flex;
flex-direction: column;
2026-02-19 23:40:03 -08:00
justify-content: center;
2026-02-19 23:28:03 -08:00
align-items: center;
}
/* ── Sidebar ──────────────────────────────────────────────────── */
.sidebar {
width: 320px;
border-left: 1px solid var(--border);
background: var(--surface);
display: flex;
flex-direction: column;
2026-02-19 23:40:03 -08:00
overflow: hidden;
flex-shrink: 0;
}
.sidebar__section {
display: flex;
flex-direction: column;
2026-02-19 23:28:03 -08:00
}
2026-02-20 00:28:48 -08:00
.sidebar__section--standings {
2026-02-19 23:40:03 -08:00
flex: 1;
min-height: 0;
}
2026-02-20 00:28:48 -08:00
.sidebar__section--link {
border-top: 1px solid var(--border);
padding: 24px 32px;
flex-shrink: 0;
}
.history-link {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 20px;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text);
text-decoration: none;
font-family: 'JetBrains Mono', monospace;
font-size: 13px;
font-weight: 700;
transition: all 0.2s;
}
.history-link:hover {
background: var(--border);
border-color: var(--border-light);
}
2026-02-19 23:28:03 -08:00
.sidebar__header {
font-family: 'JetBrains Mono', monospace;
font-size: 14px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
2026-02-19 23:40:03 -08:00
padding: 24px 32px 16px;
2026-02-19 22:46:41 -08:00
color: var(--text-dim);
}
2026-02-19 23:28:03 -08:00
.sidebar__list {
2026-02-19 23:40:03 -08:00
padding: 0 16px 16px;
2026-02-19 23:28:03 -08:00
display: flex;
flex-direction: column;
gap: 4px;
2026-02-19 23:40:03 -08:00
flex: 1;
overflow-y: auto;
}
2026-02-19 23:28:03 -08:00
.standing {
display: flex;
align-items: center;
gap: 16px;
2026-02-19 23:40:03 -08:00
padding: 12px 16px;
2026-02-19 23:28:03 -08:00
border-radius: 8px;
transition: background 0.2s;
}
.standing--active {
background: var(--surface-2);
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
.standing__rank {
width: 20px;
text-align: center;
font-family: 'JetBrains Mono', monospace;
2026-02-19 22:46:41 -08:00
font-weight: 700;
2026-02-19 23:28:03 -08:00
color: var(--text-muted);
2026-02-19 22:46:41 -08:00
font-size: 13px;
2026-02-19 23:28:03 -08:00
flex-shrink: 0;
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
.standing__info {
flex: 1;
min-width: 0;
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
.standing__name-row {
display: flex;
align-items: center;
gap: 8px;
}
2026-02-19 22:46:41 -08:00
2026-02-19 23:28:03 -08:00
.standing__name {
font-weight: 600;
font-size: 14px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: flex;
align-items: center;
gap: 8px;
}
.standing__role {
2026-02-19 22:46:41 -08:00
font-size: 12px;
2026-02-19 23:28:03 -08:00
flex-shrink: 0;
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
.standing__bar-row {
display: flex;
align-items: center;
gap: 12px;
2026-02-19 23:40:03 -08:00
margin-top: 6px;
2026-02-19 23:28:03 -08:00
}
2026-02-19 22:46:41 -08:00
2026-02-19 23:28:03 -08:00
.standing__bar {
flex: 1;
height: 4px;
background: var(--border);
border-radius: 2px;
overflow: hidden;
}
2026-02-19 22:46:41 -08:00
2026-02-19 23:28:03 -08:00
.standing__bar-fill {
height: 100%;
border-radius: 2px;
transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
.standing__score {
font-family: 'JetBrains Mono', monospace;
font-size: 12px;
font-weight: 700;
color: var(--text-dim);
min-width: 32px;
text-align: right;
}
.sidebar__legend {
2026-02-19 23:40:03 -08:00
padding: 16px 32px;
2026-02-19 23:28:03 -08:00
border-top: 1px solid var(--border);
display: flex;
flex-direction: column;
gap: 12px;
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
color: var(--text-muted);
}
/* ── Arena ─────────────────────────────────────────────────────── */
.arena {
width: 100%;
max-width: 1100px;
2026-02-19 22:46:41 -08:00
display: flex;
2026-02-19 23:28:03 -08:00
flex-direction: column;
2026-02-19 23:40:03 -08:00
max-height: 100%;
2026-02-19 23:28:03 -08:00
}
.arena__header-row {
display: flex;
justify-content: space-between;
2026-02-19 22:46:41 -08:00
align-items: baseline;
2026-02-19 23:40:03 -08:00
margin-bottom: 32px;
padding-bottom: 16px;
2026-02-19 23:28:03 -08:00
border-bottom: 1px solid var(--border);
2026-02-19 23:40:03 -08:00
flex-shrink: 0;
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
.arena__round-badge {
font-family: 'JetBrains Mono', monospace;
font-size: 14px;
2026-02-19 22:46:41 -08:00
font-weight: 700;
2026-02-19 23:28:03 -08:00
color: var(--text);
letter-spacing: 1px;
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
.arena__round-of {
color: var(--text-muted);
}
2026-02-19 22:46:41 -08:00
2026-02-19 23:28:03 -08:00
.arena__phase {
font-family: 'JetBrains Mono', monospace;
font-size: 12px;
letter-spacing: 1px;
text-transform: uppercase;
color: var(--text-dim);
}
2026-02-19 22:46:41 -08:00
2026-02-19 23:28:03 -08:00
/* ── Prompt Card ──────────────────────────────────────────────── */
2026-02-19 22:46:41 -08:00
2026-02-19 23:28:03 -08:00
.prompt-card {
2026-02-19 23:40:03 -08:00
margin-bottom: 48px;
flex-shrink: 0;
2026-02-19 23:28:03 -08:00
}
2026-02-19 22:46:41 -08:00
2026-02-19 23:28:03 -08:00
.prompt-card__by {
font-family: 'JetBrains Mono', monospace;
font-size: 12px;
color: var(--text-muted);
2026-02-19 23:40:03 -08:00
margin-bottom: 16px;
2026-02-19 23:28:03 -08:00
text-transform: uppercase;
letter-spacing: 1px;
display: flex;
align-items: center;
gap: 8px;
}
.prompt-card__text {
font-family: 'DM Serif Display', serif;
2026-02-19 23:40:03 -08:00
font-size: 48px;
2026-02-19 23:28:03 -08:00
line-height: 1.1;
color: var(--text);
max-width: 95%;
letter-spacing: -1px;
}
.prompt-card__text--loading {
color: var(--text-muted);
}
/* ── Showdown ─────────────────────────────────────────────────── */
.showdown {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 48px;
2026-02-19 23:40:03 -08:00
margin-bottom: 32px;
flex: 1;
min-height: 0;
2026-02-19 23:28:03 -08:00
}
.contestant {
background: var(--bg);
display: flex;
flex-direction: column;
position: relative;
border-top: 4px solid var(--border);
padding-top: 24px;
2026-02-19 23:40:03 -08:00
overflow: hidden;
2026-02-19 23:28:03 -08:00
}
.contestant__header {
display: flex;
align-items: center;
justify-content: space-between;
2026-02-19 23:40:03 -08:00
margin-bottom: 24px;
padding-bottom: 16px;
2026-02-19 22:46:41 -08:00
border-bottom: 1px solid var(--border);
2026-02-19 23:40:03 -08:00
flex-shrink: 0;
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
.contestant__name {
font-family: 'Inter', sans-serif;
font-weight: 600;
font-size: 18px;
display: flex;
align-items: center;
gap: 12px;
}
.contestant__winner-badge {
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
font-weight: 700;
padding: 4px 8px;
background: var(--text);
color: var(--bg);
border-radius: 4px;
letter-spacing: 1px;
}
2026-02-19 22:46:41 -08:00
2026-02-19 23:28:03 -08:00
.contestant__answer {
flex: 1;
2026-02-19 23:40:03 -08:00
overflow-y: auto;
min-height: 120px;
2026-02-19 23:28:03 -08:00
}
2026-02-19 22:46:41 -08:00
2026-02-19 23:28:03 -08:00
.contestant__text {
font-family: 'DM Serif Display', serif;
2026-02-19 23:40:03 -08:00
font-size: 28px;
2026-02-19 23:28:03 -08:00
line-height: 1.3;
2026-02-19 22:46:41 -08:00
color: var(--text-dim);
2026-02-19 23:28:03 -08:00
letter-spacing: -0.5px;
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
.contestant--winner .contestant__text {
color: var(--text);
}
2026-02-19 22:46:41 -08:00
2026-02-19 23:28:03 -08:00
.contestant__thinking {
color: var(--text-muted);
font-family: 'DM Serif Display', serif;
2026-02-19 23:40:03 -08:00
font-size: 28px;
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
.contestant__error {
color: #ef4444;
font-family: 'JetBrains Mono', monospace;
2026-02-19 22:46:41 -08:00
font-size: 14px;
}
2026-02-19 23:40:03 -08:00
/* ── Votes within Contestant ──────────────────────────────────── */
2026-02-19 23:28:03 -08:00
2026-02-19 23:40:03 -08:00
.contestant__votes-container {
margin-top: 24px;
display: flex;
flex-direction: column;
gap: 16px;
flex-shrink: 0;
}
2026-02-19 23:28:03 -08:00
.vote-bar {
height: 2px;
background: var(--border);
width: 100%;
}
.vote-bar__fill {
height: 100%;
transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.vote-bar__label {
display: flex;
justify-content: space-between;
2026-02-19 23:40:03 -08:00
margin-top: 12px;
2026-02-19 23:28:03 -08:00
font-family: 'JetBrains Mono', monospace;
font-size: 13px;
color: var(--text-dim);
}
.vote-bar__count {
font-weight: 700;
color: var(--text);
font-size: 18px;
}
2026-02-19 23:40:03 -08:00
.contestant__voters {
2026-02-19 23:28:03 -08:00
display: flex;
flex-wrap: wrap;
2026-02-19 23:40:03 -08:00
gap: 8px;
2026-02-19 23:28:03 -08:00
}
2026-02-19 23:40:03 -08:00
.voter-badge {
display: inline-flex;
2026-02-19 23:28:03 -08:00
align-items: center;
2026-02-19 23:40:03 -08:00
gap: 6px;
background: var(--surface-2);
border: 1px solid var(--border);
padding: 6px 10px;
border-radius: 6px;
font-size: 12px;
2026-02-19 23:28:03 -08:00
font-family: 'Inter', sans-serif;
font-weight: 500;
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:40:03 -08:00
.voter-badge--pending {
2026-02-19 23:28:03 -08:00
opacity: 0.5;
border-style: dashed;
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:40:03 -08:00
.voter-badge--error {
opacity: 0.5;
2026-02-19 23:28:03 -08:00
color: var(--text-muted);
}
2026-02-19 22:46:41 -08:00
2026-02-19 23:40:03 -08:00
.pending-votes {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
margin-top: 16px;
padding-top: 16px;
border-top: 1px solid var(--border);
flex-shrink: 0;
2026-02-19 23:28:03 -08:00
}
/* ── Round Result (Tie) ───────────────────────────────────────── */
.round-result {
text-align: center;
font-family: 'JetBrains Mono', monospace;
2026-02-19 22:46:41 -08:00
font-size: 16px;
2026-02-19 23:28:03 -08:00
font-weight: 700;
letter-spacing: 2px;
2026-02-19 23:40:03 -08:00
padding: 24px;
2026-02-19 23:28:03 -08:00
color: var(--text-dim);
border: 1px solid var(--border);
border-radius: 8px;
2026-02-19 23:40:03 -08:00
margin-top: 24px;
flex-shrink: 0;
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
/* ── Waiting State ────────────────────────────────────────────── */
2026-02-19 22:46:41 -08:00
2026-02-19 23:28:03 -08:00
.arena-waiting {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
font-family: 'DM Serif Display', serif;
color: var(--text-muted);
font-size: 48px;
opacity: 0.5;
}
2026-02-19 22:46:41 -08:00
2026-02-19 23:28:03 -08:00
/* ── Game Over ────────────────────────────────────────────────── */
.game-over {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
2026-02-19 22:46:41 -08:00
text-align: center;
}
2026-02-19 23:28:03 -08:00
.game-over__title {
font-family: 'JetBrains Mono', monospace;
font-size: 24px;
font-weight: 700;
letter-spacing: 4px;
color: var(--text-muted);
margin-bottom: 48px;
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
.game-over__champion {
display: flex;
flex-direction: column;
align-items: center;
gap: 24px;
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
.game-over__crown {
font-size: 48px;
}
2026-02-19 22:46:41 -08:00
2026-02-19 23:28:03 -08:00
.game-over__name {
font-family: 'DM Serif Display', serif;
font-size: 72px;
line-height: 1;
display: flex;
align-items: center;
gap: 24px;
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
.game-over__name img {
width: 64px;
height: 64px;
}
.game-over__subtitle {
font-family: 'Inter', sans-serif;
font-size: 16px;
2026-02-19 22:46:41 -08:00
color: var(--text-dim);
}
2026-02-19 23:28:03 -08:00
/* ── Connecting ───────────────────────────────────────────────── */
.connecting {
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 24px;
background: var(--bg);
2026-02-19 22:46:41 -08:00
}
2026-02-19 23:28:03 -08:00
.connecting__logo {
font-family: 'JetBrains Mono', monospace;
font-size: 48px;
font-weight: 700;
letter-spacing: -2px;
color: var(--text);
}
.connecting__text {
color: var(--text-muted);
font-family: 'JetBrains Mono', monospace;
font-size: 16px;
letter-spacing: 2px;
text-transform: uppercase;
}
/* ── Utility ──────────────────────────────────────────────────── */
.model-name {
display: inline-flex;
align-items: center;
gap: 8px;
font-weight: 600;
}
.model-logo {
width: 18px;
height: 18px;
object-fit: contain;
}
.timer {
color: var(--text-muted);
font-family: 'JetBrains Mono', monospace;
}
.dots span {
animation: dot-blink 1.4s infinite;
}
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-blink {
0%, 80%, 100% { opacity: 0.15; }
40% { opacity: 1; }
}
/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }
/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
.layout { flex-direction: column; }
.sidebar {
width: 100%;
border-left: none;
border-top: 1px solid var(--border);
max-height: 300px;
2026-02-19 23:40:03 -08:00
overflow-y: auto;
2026-02-19 23:28:03 -08:00
}
2026-02-19 23:40:03 -08:00
.showdown { grid-template-columns: 1fr; gap: 32px; }
}