Files
buzzer-site/src/public/styles.css
ka-official ea24923c1d Update application aesthetics with a pastel color scheme and larger text
Introduce the Catppuccin Mocha color palette and increase font sizes for improved readability, while also adding a visual hint for spacebar functionality.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f3ac8eb3-f610-4678-ab6e-ebf900098be4
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 098ca8d5-1a49-468d-abec-89858708710d
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d4b7863b-f7b2-425c-a9b5-ad7bd1885e9d/f3ac8eb3-f610-4678-ab6e-ebf900098be4/N1qS6qo
Replit-Helium-Checkpoint-Created: true
2026-03-25 21:14:15 +00:00

1505 lines
31 KiB
CSS

/* ── RESET ─────────────────────────────────────────── */
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
-webkit-tap-highlight-color: transparent;
}
html {
font-size: 18px;
scroll-behavior: smooth;
}
body {
font-family: 'JetBrains Mono', monospace;
background: #1e1e2e;
color: #cdd6f4;
min-height: 100dvh;
overflow-x: hidden;
}
/* ── SCROLLBAR ─────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #181825; }
::-webkit-scrollbar-thumb { background: #45475a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #585b70; }
/* ── CATPPUCCIN MOCHA TOKENS ───────────────────────── */
:root {
/* Backgrounds */
--base: #1e1e2e;
--mantle: #181825;
--crust: #11111b;
--s0: #313244;
--s1: #45475a;
--s2: #585b70;
/* Text */
--ov0: #6c7086;
--ov1: #7f849c;
--ov2: #9399b2;
--sub0: #a6adc8;
--sub1: #bac2de;
--text: #cdd6f4;
/* Accent colours */
--lav: #b4befe;
--blue: #89b4fa;
--sapp: #74c7ec;
--sky: #89dceb;
--teal: #94e2d5;
--green: #a6e3a1;
--yellow: #f9e2af;
--peach: #fab387;
--maroon: #eba0ac;
--red: #f38ba8;
--mauve: #cba6f7;
--pink: #f5c2e7;
/* Convenience aliases */
--accent: var(--lav);
--dim: var(--ov1);
--mid: var(--sub0);
--border: var(--s0);
--border2: var(--s1);
--panel: #24243e;
--panel2: #1a1a2e;
/* Radii */
--r: 8px;
--r2: 14px;
/* Shadows */
--shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
--shadow-panel: 0 4px 24px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3);
--shadow-card: 0 8px 32px rgba(0,0,0,0.55), 0 2px 8px rgba(0,0,0,0.3);
}
/* ── UTILS ─────────────────────────────────────────── */
.glow {
text-shadow: 0 0 20px rgba(180,190,254,0.45), 0 0 50px rgba(180,190,254,0.2);
}
/* ── LAYOUT ────────────────────────────────────────── */
#app {
min-height: 100dvh;
display: flex;
flex-direction: column;
}
/* ── HEADER ────────────────────────────────────────── */
header {
display: flex;
align-items: center;
gap: 16px;
padding: 0 32px;
height: 72px;
min-height: 72px;
background: #181825;
border-bottom: 1px solid var(--s1);
position: sticky;
top: 0;
z-index: 200;
box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.logo-wrap {
display: flex;
flex-direction: column;
gap: 3px;
}
.logo {
font-size: 22px;
font-weight: 800;
letter-spacing: 6px;
color: var(--lav);
line-height: 1;
}
.logo-sub {
font-size: 11px;
color: var(--ov1);
letter-spacing: 2px;
}
.hdr-r {
margin-left: auto;
display: flex;
align-items: center;
gap: 16px;
}
.room-chip {
font-size: 14px;
letter-spacing: 3px;
color: var(--lav);
background: rgba(180,190,254,0.1);
border: 1px solid rgba(180,190,254,0.3);
padding: 6px 14px;
border-radius: 6px;
display: none;
font-weight: 600;
}
.conn-pill {
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
color: var(--ov1);
letter-spacing: 1px;
background: var(--s0);
border: 1px solid var(--s1);
padding: 7px 14px;
border-radius: 20px;
}
.conn-dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--red);
flex-shrink: 0;
transition: background .3s, box-shadow .3s;
}
.conn-dot.on {
background: var(--green);
box-shadow: 0 0 8px rgba(166,227,161,0.6);
animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
0%, 100% { box-shadow: 0 0 5px rgba(166,227,161,0.5); }
50% { box-shadow: 0 0 12px rgba(166,227,161,0.8); }
}
/* ── SCREENS ───────────────────────────────────────── */
.scr {
display: none;
flex: 1;
flex-direction: column;
opacity: 0;
}
.scr.on {
display: flex;
opacity: 1;
}
/* ── LANDING ───────────────────────────────────────── */
#s-land {
align-items: center;
justify-content: center;
padding: 60px 24px;
gap: 52px;
}
.hero {
text-align: center;
}
.hero-decoration { display: none; }
.hero h1 {
font-size: clamp(60px, 14vw, 108px);
font-weight: 800;
letter-spacing: 16px;
color: var(--lav);
line-height: 1;
text-shadow: 0 0 40px rgba(180,190,254,0.4), 0 0 80px rgba(180,190,254,0.15);
}
.hero p {
font-size: 14px;
color: var(--sub0);
letter-spacing: 4px;
margin-top: 20px;
}
.hero-badge {
display: inline-flex;
align-items: center;
gap: 8px;
margin-top: 16px;
padding: 7px 16px;
border: 1px solid var(--s2);
border-radius: 20px;
font-size: 12px;
letter-spacing: 2px;
color: var(--ov2);
background: var(--s0);
}
.hero-badge-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--green);
box-shadow: 0 0 6px rgba(166,227,161,0.6);
animation: dot-pulse 2s ease-in-out infinite;
}
.land-cards {
display: flex;
gap: 24px;
flex-wrap: wrap;
justify-content: center;
width: 100%;
max-width: 900px;
}
.land-card {
background: var(--panel);
border: 1px solid var(--s1);
border-radius: var(--r2);
padding: 40px 36px;
flex: 1;
min-width: 320px;
max-width: 420px;
display: flex;
flex-direction: column;
gap: 22px;
transition: border-color .25s, box-shadow .25s, transform .2s;
box-shadow: var(--shadow-card);
}
.land-card:hover {
border-color: var(--lav);
box-shadow: var(--shadow-card), 0 0 24px rgba(180,190,254,0.12);
transform: translateY(-3px);
}
.land-card-icon {
width: 48px;
height: 48px;
border-radius: 10px;
background: rgba(180,190,254,0.1);
border: 1px solid rgba(180,190,254,0.2);
display: flex;
align-items: center;
justify-content: center;
font-size: 22px;
color: var(--lav);
}
.land-card h2 {
font-size: 15px;
letter-spacing: 2px;
color: var(--lav);
margin-bottom: -4px;
font-weight: 700;
}
.land-card p {
font-size: 15px;
color: var(--sub0);
line-height: 1.8;
}
.rejoin-bar {
font-size: 14px;
color: var(--ov1);
margin-top: -16px;
}
.rejoin-bar a {
color: var(--blue);
text-decoration: none;
letter-spacing: 1px;
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 20px;
border: 1px solid var(--s1);
border-radius: 8px;
transition: all .2s;
font-size: 14px;
}
.rejoin-bar a:hover {
color: var(--lav);
border-color: var(--lav);
background: rgba(180,190,254,0.06);
}
/* ── SETUP ─────────────────────────────────────────── */
#s-setup {
align-items: center;
overflow-y: auto;
padding: 44px 24px;
}
.setup-wrap {
width: 100%;
max-width: 680px;
display: flex;
flex-direction: column;
gap: 28px;
}
.setup-header {
display: flex;
flex-direction: column;
gap: 8px;
}
.setup-title {
font-size: 17px;
letter-spacing: 3px;
color: var(--lav);
font-weight: 700;
}
.setup-sub {
font-size: 14px;
color: var(--sub0);
letter-spacing: 0.5px;
line-height: 1.7;
}
/* ── FORM ATOMS ────────────────────────────────────── */
.field {
display: flex;
flex-direction: column;
gap: 10px;
}
label,
.lbl {
font-size: 14px;
letter-spacing: 1.5px;
color: var(--sub0);
text-transform: uppercase;
font-weight: 600;
}
input[type=text],
input[type=number],
select {
background: var(--s0);
border: 2px solid var(--s1);
color: var(--text);
font-family: 'JetBrains Mono', monospace;
font-size: 17px;
padding: 14px 18px;
border-radius: var(--r);
width: 100%;
outline: none;
transition: border-color .2s, box-shadow .2s;
}
input:focus,
select:focus {
border-color: var(--lav);
box-shadow: 0 0 0 3px rgba(180,190,254,0.15);
}
input::placeholder {
color: var(--ov1);
opacity: 0.8;
}
select option {
background: var(--s0);
}
/* seg */
.seg {
display: flex;
border: 2px solid var(--s1);
border-radius: var(--r);
overflow: hidden;
background: var(--s0);
}
.seg-opt {
flex: 1;
padding: 14px 16px;
font-family: 'JetBrains Mono', monospace;
font-size: 14px;
letter-spacing: 1.5px;
text-align: center;
cursor: pointer;
color: var(--ov1);
background: transparent;
border: none;
transition: all .2s;
}
.seg-opt.active {
background: rgba(180,190,254,0.15);
color: var(--lav);
font-weight: 700;
}
.seg-opt:hover:not(.active) {
color: var(--sub1);
background: rgba(255,255,255,0.04);
}
/* toggle */
.tog-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 18px 0;
border-bottom: 1px solid var(--s0);
gap: 20px;
}
.tog-row:last-child {
border-bottom: none;
}
.tog-row .lbl {
font-size: 15px;
color: var(--text);
letter-spacing: 0.3px;
line-height: 1.4;
text-transform: none;
font-weight: 600;
}
.lbl-sub {
font-size: 13px;
color: var(--ov2);
margin-top: 4px;
letter-spacing: 0;
text-transform: none;
font-weight: 400;
line-height: 1.5;
}
.tog {
position: relative;
width: 52px;
height: 30px;
flex-shrink: 0;
}
.tog input {
opacity: 0;
width: 0;
height: 0;
position: absolute;
}
.tog-track {
position: absolute;
inset: 0;
background: var(--s1);
border: 2px solid var(--s2);
border-radius: 15px;
cursor: pointer;
transition: background .2s, border-color .2s;
}
.tog input:checked ~ .tog-track {
background: rgba(180,190,254,0.2);
border-color: var(--lav);
}
.tog-track::after {
content: '';
position: absolute;
width: 20px;
height: 20px;
border-radius: 50%;
background: var(--ov1);
top: 3px;
left: 3px;
transition: all .2s cubic-bezier(0.4,0,0.2,1);
box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.tog input:checked ~ .tog-track::after {
background: var(--lav);
left: 25px;
box-shadow: 0 1px 4px rgba(0,0,0,0.4), 0 0 8px rgba(180,190,254,0.5);
}
/* ── BUTTONS ───────────────────────────────────────── */
.btn {
font-family: 'JetBrains Mono', monospace;
font-size: 15px;
letter-spacing: 1.5px;
padding: 16px 28px;
border: 2px solid;
border-radius: var(--r);
cursor: pointer;
transition: all .18s cubic-bezier(0.4,0,0.2,1);
text-transform: uppercase;
white-space: nowrap;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
font-weight: 600;
}
.btn:active {
transform: scale(0.97);
}
.btn-g {
border-color: var(--lav);
color: var(--lav);
background: rgba(180,190,254,0.08);
}
.btn-g:hover {
background: rgba(180,190,254,0.18);
border-color: #c9d1ff;
color: #c9d1ff;
box-shadow: 0 0 16px rgba(180,190,254,0.2);
}
.btn-ghost {
border-color: var(--s2);
color: var(--sub0);
background: transparent;
}
.btn-ghost:hover {
border-color: var(--sub0);
color: var(--text);
background: rgba(255,255,255,0.04);
}
.btn-red {
border-color: rgba(243,139,168,0.6);
color: var(--red);
background: transparent;
}
.btn-red:hover {
background: rgba(243,139,168,0.12);
border-color: var(--red);
box-shadow: 0 0 14px rgba(243,139,168,0.2);
}
.btn-yellow {
border-color: rgba(249,226,175,0.5);
color: var(--yellow);
background: transparent;
}
.btn-yellow:hover {
background: rgba(249,226,175,0.1);
border-color: var(--yellow);
}
.btn-sm {
padding: 11px 18px;
font-size: 13px;
letter-spacing: 1px;
}
.btn-full {
width: 100%;
}
.btn:disabled {
opacity: .35;
cursor: not-allowed;
pointer-events: none;
}
/* ── PANEL ─────────────────────────────────────────── */
.panel {
background: var(--panel);
border: 1px solid var(--s1);
border-radius: var(--r2);
padding: 28px;
box-shadow: var(--shadow-panel);
}
.panel-title {
font-size: 14px;
letter-spacing: 2px;
color: var(--lav);
margin-bottom: 22px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
font-weight: 700;
text-transform: uppercase;
}
.panel-title::after {
content: '';
flex: 1;
height: 1px;
background: linear-gradient(90deg, var(--s1), transparent);
margin-left: 8px;
}
/* ── TAG ───────────────────────────────────────────── */
.tag {
display: inline-block;
padding: 4px 12px;
font-size: 12px;
letter-spacing: 1px;
border: 1px solid;
border-radius: 4px;
font-family: 'JetBrains Mono', monospace;
font-weight: 600;
}
.tag-g {
border-color: rgba(166,227,161,0.4);
color: var(--green);
background: rgba(166,227,161,0.08);
}
.tag-red {
border-color: rgba(243,139,168,0.4);
color: var(--red);
background: rgba(243,139,168,0.08);
}
.tag-y {
border-color: rgba(249,226,175,0.4);
color: var(--yellow);
background: rgba(249,226,175,0.08);
}
.tag-dim {
border-color: var(--s1);
color: var(--ov2);
}
/* ══════════════════════════════════════════════════════
MOD LAYOUT
══════════════════════════════════════════════════════ */
#s-mod {
flex-direction: row;
overflow: hidden;
height: calc(100dvh - 72px);
}
.mod-side {
width: 320px;
min-width: 320px;
background: #181825;
border-right: 1px solid var(--s1);
display: flex;
flex-direction: column;
overflow-y: auto;
}
.mod-body {
flex: 1;
overflow-y: auto;
padding: 28px;
display: flex;
flex-direction: column;
gap: 24px;
}
.side-sec {
padding: 22px 24px;
border-bottom: 1px solid var(--s0);
}
.side-label {
font-size: 13px;
letter-spacing: 3px;
color: var(--ov1);
margin-bottom: 14px;
text-transform: uppercase;
font-weight: 600;
}
.side-hint {
font-size: 13px;
color: var(--ov1);
letter-spacing: 0.5px;
}
.side-room-code {
font-size: 34px;
font-weight: 800;
letter-spacing: 8px;
color: var(--lav);
line-height: 1;
text-shadow: 0 0 20px rgba(180,190,254,0.3);
}
.side-btn-group {
display: flex;
flex-direction: column;
gap: 10px;
}
.side-status {
font-size: 14px;
color: var(--sub0);
line-height: 2;
letter-spacing: 0.5px;
}
/* ── TIMER BLOCK ───────────────────────────────────── */
.timer-block {
display: flex;
flex-direction: column;
gap: 14px;
}
.timer-digits {
font-size: 56px;
font-weight: 700;
letter-spacing: 3px;
color: var(--teal);
line-height: 1;
font-variant-numeric: tabular-nums;
transition: color .3s, text-shadow .3s;
text-shadow: 0 0 20px rgba(148,226,213,0.4);
}
.timer-digits.warn {
color: var(--yellow);
text-shadow: 0 0 16px rgba(249,226,175,0.5);
}
.timer-digits.danger {
color: var(--red);
text-shadow: 0 0 16px rgba(243,139,168,0.55);
animation: tblink .5s step-end infinite;
}
@keyframes tblink {
50% { opacity: .25; }
}
.timer-controls {
display: flex;
gap: 10px;
}
.timer-controls .btn {
flex: 1;
}
.timer-set-row {
display: flex;
align-items: center;
gap: 10px;
background: var(--s0);
border: 1px solid var(--s1);
border-radius: var(--r);
padding: 9px 14px;
}
.timer-set-row input {
width: 70px;
padding: 3px 6px;
font-size: 16px;
background: transparent;
border: none;
text-align: center;
color: var(--text);
}
.timer-set-row input:focus {
outline: none;
}
/* ── TABS ──────────────────────────────────────────── */
.tab-bar {
display: flex;
border-bottom: 2px solid var(--s0);
gap: 0;
}
.tab {
padding: 16px 22px;
font-family: 'JetBrains Mono', monospace;
font-size: 14px;
letter-spacing: 1.5px;
cursor: pointer;
color: var(--ov1);
transition: all .2s;
border-bottom: 3px solid transparent;
margin-bottom: -2px;
font-weight: 600;
text-transform: uppercase;
}
.tab:hover {
color: var(--sub1);
background: rgba(255,255,255,0.03);
}
.tab.on {
color: var(--lav);
border-bottom-color: var(--lav);
}
/* ── BUZZ ENTRIES (MOD) ────────────────────────────── */
.buzz-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.bz-entry {
display: flex;
align-items: center;
gap: 18px;
padding: 18px 20px;
background: var(--s0);
border: 1px solid var(--s1);
border-radius: var(--r);
transition: border-color .2s;
}
.bz-entry:hover {
border-color: var(--lav);
}
.bz-rank {
width: 42px;
height: 42px;
border-radius: 50%;
background: var(--s1);
border: 2px solid var(--s2);
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
font-weight: 700;
color: var(--sub0);
flex-shrink: 0;
}
.bz-rank.first {
background: rgba(249,226,175,0.15);
border-color: var(--yellow);
color: var(--yellow);
font-size: 20px;
box-shadow: 0 0 16px rgba(249,226,175,0.25);
}
.bz-info {
flex: 1;
min-width: 0;
}
.bz-name {
font-size: 18px;
font-weight: 700;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.bz-team {
font-size: 14px;
margin-top: 4px;
letter-spacing: 0.5px;
color: var(--sub0);
}
.bz-ms {
font-size: 13px;
color: var(--ov1);
margin-top: 3px;
}
/* ── PLAYERS ───────────────────────────────────────── */
.player-list {
display: flex;
flex-direction: column;
}
.pl-row {
display: flex;
align-items: center;
gap: 14px;
padding: 16px 0;
border-bottom: 1px solid var(--s0);
transition: opacity .2s;
}
.pl-row:last-child {
border-bottom: none;
}
.pl-row.offline {
opacity: .4;
}
.pl-info {
flex: 1;
min-width: 0;
}
.pl-name {
font-size: 16px;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.pl-meta {
font-size: 13px;
color: var(--ov2);
margin-top: 4px;
}
.pl-actions {
display: flex;
gap: 8px;
flex-shrink: 0;
}
/* ── TEAM GRID (mod) ───────────────────────────────── */
.team-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
gap: 14px;
}
.team-card {
background: var(--s0);
border: 2px solid;
border-radius: var(--r);
padding: 22px 18px;
text-align: center;
transition: box-shadow .2s;
}
.team-card:hover {
box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.team-card .tc-n {
font-size: 13px;
letter-spacing: 1.5px;
margin-bottom: 12px;
text-transform: uppercase;
font-weight: 700;
}
.team-card .tc-c {
font-size: 34px;
font-weight: 700;
line-height: 1;
}
.team-card .tc-m {
font-size: 13px;
color: var(--sub0);
margin-top: 10px;
line-height: 1.8;
}
/* ── SETTINGS ──────────────────────────────────────── */
.setting-row {
padding: 16px 0;
border-bottom: 1px solid var(--s0);
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.setting-row:last-child {
border-bottom: none;
}
.sl {
font-size: 15px;
font-weight: 600;
letter-spacing: 0.3px;
color: var(--text);
}
.sd {
font-size: 13px;
color: var(--ov2);
margin-top: 4px;
letter-spacing: 0;
}
/* ══════════════════════════════════════════════════════
PLAYER SCREEN
══════════════════════════════════════════════════════ */
#s-player {
align-items: center;
padding: 36px 24px 52px;
gap: 36px;
overflow-y: auto;
}
.p-room {
text-align: center;
}
.p-room-lbl {
font-size: 13px;
letter-spacing: 3px;
color: var(--ov1);
margin-bottom: 8px;
text-transform: uppercase;
font-weight: 600;
}
.p-room-code {
font-size: 44px;
font-weight: 800;
letter-spacing: 12px;
color: var(--lav);
text-shadow: 0 0 24px rgba(180,190,254,0.35);
}
.p-name-lbl {
font-size: 16px;
color: var(--sub0);
margin-top: 12px;
letter-spacing: 0.5px;
font-weight: 600;
}
/* player timer */
.p-timer {
font-size: 72px;
font-weight: 700;
letter-spacing: 3px;
color: var(--teal);
text-align: center;
font-variant-numeric: tabular-nums;
text-shadow: 0 0 24px rgba(148,226,213,0.4);
transition: color .3s, text-shadow .3s;
}
.p-timer.warn {
color: var(--yellow);
text-shadow: 0 0 20px rgba(249,226,175,0.5);
}
.p-timer.danger {
color: var(--red);
text-shadow: 0 0 20px rgba(243,139,168,0.55);
animation: tblink .5s step-end infinite;
}
.p-timer.hidden {
display: none;
}
/* team picker */
.team-picker {
width: 100%;
max-width: 580px;
}
.team-picker-title {
font-size: 14px;
letter-spacing: 3px;
color: var(--sub0);
margin-bottom: 18px;
text-align: center;
font-weight: 600;
}
.team-picker-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 12px;
}
.team-btn {
padding: 22px 18px;
border: 2px solid var(--s1);
border-radius: var(--r);
background: var(--panel);
color: var(--text);
font-family: 'JetBrains Mono', monospace;
font-size: 15px;
letter-spacing: 1px;
cursor: pointer;
text-align: center;
transition: all .2s;
box-shadow: var(--shadow-panel);
font-weight: 600;
}
.team-btn:hover {
border-color: var(--lav);
background: rgba(180,190,254,0.06);
transform: translateY(-2px);
}
.team-btn:active {
transform: scale(0.97);
}
.team-btn.mine {
border-width: 3px;
font-weight: 800;
}
.tb-count {
font-size: 13px;
color: var(--ov2);
margin-top: 8px;
}
/* ── BUZZ BUTTON ───────────────────────────────────── */
.buzz-wrap {
display: flex;
flex-direction: column;
align-items: center;
gap: 24px;
position: relative;
}
.buzz-ripple {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: 100%;
pointer-events: none;
display: flex;
align-items: center;
justify-content: center;
}
.buzz-ring {
position: absolute;
border-radius: 50%;
border: 2px solid rgba(180,190,254,0.25);
animation: ring-expand 2s ease-out infinite;
pointer-events: none;
}
.buzz-ring:nth-child(1) { animation-delay: 0s; }
.buzz-ring:nth-child(2) { animation-delay: 0.7s; }
.buzz-ring:nth-child(3) { animation-delay: 1.4s; }
@keyframes ring-expand {
0% { width: 300px; height: 300px; opacity: 0.6; }
100% { width: 520px; height: 520px; opacity: 0; }
}
#buzz-btn {
width: clamp(260px, 58vw, 320px);
height: clamp(260px, 58vw, 320px);
border-radius: 50%;
border: 3px solid var(--s1);
background: var(--s0);
color: var(--ov1);
font-family: 'JetBrains Mono', monospace;
font-size: clamp(22px, 5vw, 30px);
font-weight: 800;
letter-spacing: 4px;
cursor: pointer;
transition: all .2s cubic-bezier(0.4,0,0.2,1);
box-shadow: 0 8px 40px rgba(0,0,0,0.5);
user-select: none;
-webkit-user-select: none;
}
#buzz-btn:active:not(:disabled) {
transform: scale(.93);
box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
#buzz-btn:disabled {
cursor: not-allowed;
}
#buzz-btn.s-open {
border-color: var(--blue);
border-width: 4px;
color: var(--blue);
background: rgba(137,180,250,0.08);
box-shadow:
0 0 50px rgba(137,180,250,0.25),
0 0 100px rgba(137,180,250,0.1),
0 8px 40px rgba(0,0,0,0.4);
}
#buzz-btn.s-open:hover {
background: rgba(137,180,250,0.14);
box-shadow:
0 0 70px rgba(137,180,250,0.35),
0 0 120px rgba(137,180,250,0.15),
0 8px 40px rgba(0,0,0,0.4);
transform: scale(1.02);
}
#buzz-btn.s-first {
border-color: var(--yellow);
border-width: 4px;
color: var(--yellow);
background: rgba(249,226,175,0.1);
box-shadow:
0 0 60px rgba(249,226,175,0.5),
0 0 120px rgba(249,226,175,0.2),
0 8px 40px rgba(0,0,0,0.4);
animation: pulse-win .8s ease-in-out infinite alternate;
}
#buzz-btn.s-buzzed {
border-color: rgba(166,227,161,0.4);
color: var(--green);
opacity: .65;
background: var(--s0);
}
#buzz-btn.s-locked {
border-color: rgba(243,139,168,0.5);
color: var(--red);
background: rgba(243,139,168,0.05);
box-shadow: 0 0 24px rgba(243,139,168,0.15), 0 8px 40px rgba(0,0,0,0.4);
}
#buzz-btn.s-closed {
border-color: var(--s1);
color: var(--ov0);
background: var(--s0);
}
@keyframes pulse-win {
from { box-shadow: 0 0 40px rgba(249,226,175,0.4), 0 0 80px rgba(249,226,175,0.15); }
to { box-shadow: 0 0 80px rgba(249,226,175,0.7), 0 0 150px rgba(249,226,175,0.25); }
}
.buzz-status {
font-size: 16px;
letter-spacing: 2px;
color: var(--sub0);
text-align: center;
min-height: 26px;
transition: color .3s;
text-transform: uppercase;
font-weight: 600;
}
.spacebar-hint {
font-size: 14px;
letter-spacing: 2px;
color: var(--ov0);
text-align: center;
text-transform: uppercase;
opacity: 0;
transition: opacity .3s;
margin-top: -12px;
}
.spacebar-hint.visible {
opacity: 1;
}
/* feed & roster */
.p-panel {
width: 100%;
max-width: 580px;
}
.p-panel-title {
font-size: 14px;
letter-spacing: 3px;
color: var(--sub0);
margin-bottom: 16px;
text-transform: uppercase;
font-weight: 700;
}
.feed-entry {
padding: 14px 18px;
background: var(--s0);
border: 1px solid var(--s1);
border-left: 4px solid var(--blue);
margin-bottom: 10px;
font-size: 15px;
border-radius: 0 var(--r) var(--r) 0;
line-height: 1.6;
}
.feed-entry.first {
border-left-color: var(--yellow);
background: rgba(249,226,175,0.06);
}
.roster-row {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 0;
border-bottom: 1px solid var(--s0);
font-size: 15px;
}
.roster-row:last-child {
border-bottom: none;
}
.roster-me {
color: var(--lav);
font-weight: 700;
}
.roster-dot {
width: 10px;
height: 10px;
border-radius: 50%;
flex-shrink: 0;
}
/* ── MODALS ────────────────────────────────────────── */
.modal-bg {
display: none;
position: fixed;
inset: 0;
background: rgba(0,0,0,.75);
z-index: 900;
align-items: center;
justify-content: center;
padding: 28px;
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
}
.modal-bg.on {
display: flex;
}
.modal {
background: #1a1a2e;
border: 2px solid var(--s2);
border-radius: var(--r2);
padding: 44px 40px;
width: 100%;
max-width: 480px;
display: flex;
flex-direction: column;
gap: 24px;
box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.modal h2 {
font-size: 18px;
letter-spacing: 2px;
color: var(--lav);
font-weight: 700;
}
.modal-btns {
display: flex;
gap: 12px;
justify-content: flex-end;
margin-top: 8px;
}
/* ── TOAST ─────────────────────────────────────────── */
#toasts {
position: fixed;
top: 84px;
right: 20px;
z-index: 9999;
display: flex;
flex-direction: column;
gap: 12px;
pointer-events: none;
}
.toast {
padding: 14px 22px;
background: #24243e;
border: 2px solid var(--s2);
font-size: 14px;
letter-spacing: 1px;
border-radius: var(--r);
max-width: 360px;
backdrop-filter: blur(12px);
box-shadow: 0 8px 24px rgba(0,0,0,0.5);
font-weight: 600;
}
.toast.ok {
border-color: rgba(166,227,161,0.5);
color: var(--green);
background: rgba(30,42,30,0.98);
}
.toast.err {
border-color: rgba(243,139,168,0.5);
color: var(--red);
background: rgba(42,24,30,0.98);
}
.toast.warn {
border-color: rgba(249,226,175,0.5);
color: var(--yellow);
background: rgba(42,40,24,0.98);
}
/* ── EMPTY ─────────────────────────────────────────── */
.empty {
font-size: 14px;
color: var(--ov1);
letter-spacing: 1.5px;
text-align: center;
padding: 36px;
text-transform: uppercase;
}
/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 720px) {
#s-mod {
flex-direction: column;
height: auto;
overflow: visible;
}
.mod-side {
width: 100%;
min-width: unset;
border-right: none;
border-bottom: 2px solid var(--s1);
}
.mod-body {
padding: 20px;
}
.timer-digits {
font-size: 44px;
}
.land-card {
min-width: 280px;
padding: 32px 28px;
}
#buzz-btn {
width: clamp(240px, 72vw, 300px);
height: clamp(240px, 72vw, 300px);
}
}
@media (max-width: 460px) {
header {
padding: 0 18px;
height: 64px;
min-height: 64px;
}
.logo {
font-size: 18px;
letter-spacing: 4px;
}
#s-mod {
height: calc(100dvh - 64px);
}
}