@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Oswald:wght@400;500;600&family=Rajdhani:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{
--bg:#000000;--surface:#131415;--surf2:#131415;--border:#0A710C;
--text:#FFFFFF;--muted:#FFFFFF;--accent:#22CFFF;--green:#3DFF8F;
--blue:#4DC8FF;--red:#FF4D6D;--orange:#FF9F43;--purple:#7B6CFF;
--theme-page-bg:#000000;--theme-card-bg:#131415;--theme-panel-bg:#131415;
--theme-header-bg:#000000;--theme-header-text:#22CFFF;
--theme-nav-bg:#131415;--theme-nav-text:#FFFFFF;
--theme-link:#22CFFF;--theme-button-bg:#131415;--theme-button-text:#FFFFFF;
--theme-button-primary-bg:#22CFFF;--theme-button-primary-text:#000000;
--theme-focus:#22CFFF;
--theme-game-header-bg:#131415;--theme-game-banner-bg:#131415;
--theme-state-neutral:#FFFFFF;--theme-state-info:#4DC8FF;
--theme-state-warning:#22CFFF;--theme-state-preparing:#FF9F43;
--theme-state-success:#3DFF8F;--theme-state-critical:#FF4D6D;
--theme-state-review:#7B6CFF;--theme-timer-default:#3DFF8F;
--theme-timer-warning:#22CFFF;--theme-timer-critical:#FF4D6D;
--theme-timer-track:#131415;--theme-tts-surface:#131415;
--theme-overlay-rgb:0,0,0;--theme-canvas-accent:#22CFFF;
--theme-canvas-center:#000000;
--font-heading:'Oswald', sans-serif;--font-body:system-ui, -apple-system, 'Segoe UI', sans-serif;--font-mono:ui-monospace, SFMono-Regular, Consolas, monospace;
--theme-grid-strength:0.08;--theme-background-strength:1.0;
--theme-background-color:#000000;
--theme-border-width:3.0px;--theme-card-radius:24.0px;
--theme-button-radius:18.0px;--theme-card-shadow-strength:0.8;
--theme-logo-glow-rgb:0,255,4;
--theme-logo-glow-intensity:1.0;
}
body{font-family:var(--font-body);background-color:var(--theme-background-color);color:var(--text)}
body::before{content:""!important;display:block!important;position:fixed!important;inset:0!important;background-image:linear-gradient(rgba(var(--theme-logo-glow-rgb),var(--theme-grid-strength)) 1px,transparent 1px),linear-gradient(90deg,rgba(var(--theme-logo-glow-rgb),var(--theme-grid-strength)) 1px,transparent 1px)!important;background-size:60px 60px!important;pointer-events:none!important;z-index:0!important}
h1,h2,h3,.sh-t,.title,.t1,.portal-title,.section-label,.sec-t,.card-title,.card-nm{font-family:var(--font-heading)!important}
code,pre,.mono,.ip-b,.port-row,.tbl-num{font-family:var(--font-mono)}
.sticky-hdr{background:var(--theme-header-bg);color:var(--theme-header-text);border-color:var(--border)}
.sticky-hdr .sh-t,.sticky-hdr .title{color:var(--theme-header-text)}
.workspace-nav a,.dense-nav a,.nav-btn{background:var(--theme-nav-bg);color:var(--theme-nav-text);border-color:var(--border)}
.workspace-nav a:hover,.workspace-nav a.active,.dense-nav a:hover,.dense-nav a.active,.nav-btn:hover,.nav-btn.active{color:var(--accent);border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,var(--theme-nav-bg))}
.card,a.card{background:var(--theme-card-bg)}
.panel{background:var(--theme-panel-bg)}
.card,a.card,.panel{border-width:var(--theme-border-width);border-color:var(--border);border-radius:var(--theme-card-radius);box-shadow:0 8px 32px rgba(0,0,0,var(--theme-card-shadow-strength))}
:where(a:not(.btn):not(.card):not(.workspace-card):not(.home-area):not(.action-tile)){color:var(--theme-link)}
button,.btn,.nav-btn,.file-label,input[type=button],input[type=submit]{font-family:var(--font-body);border-radius:var(--theme-button-radius);background:var(--theme-button-bg);color:var(--theme-button-text);border-color:var(--border)}
button.primary,.btn-primary,input[type=submit].primary{background:var(--theme-button-primary-bg);color:var(--theme-button-primary-text);border-color:var(--theme-button-primary-bg)}
.btn-secondary{background:transparent;color:var(--accent);border-color:var(--accent)}
.btn-ghost{background:transparent;color:var(--muted);border-color:var(--border)}
.btn-success{background:var(--green);color:var(--bg);border-color:var(--green)}
button.danger,.btn-danger{background:var(--red);color:var(--bg);border-color:var(--red)}
.btn-info{background:var(--blue);color:var(--bg);border-color:var(--blue)}
input,select,textarea{font-family:var(--font-body);background:var(--theme-panel-bg);color:var(--text);border-color:var(--border)}
:focus-visible{outline-color:var(--theme-focus)!important}
.sticky-hdr img,.logo img,.logo-img,img.freqs-logo,img[data-freqs-logo]{filter:drop-shadow(0 0 12px rgba(var(--theme-logo-glow-rgb),var(--theme-logo-glow-intensity)))!important}
.freqs-game-header{background:color-mix(in srgb,var(--theme-game-header-bg) 95%,transparent)!important;border-color:var(--border)!important}
.freqs-game-banner{background:color-mix(in srgb,var(--theme-game-banner-bg) 92%,transparent)!important;border-color:var(--border)!important}
.freqs-phase-chip[data-freqs-phase]{border-color:currentColor!important}
.freqs-phase-chip:is([data-freqs-phase="LOBBY"],[data-freqs-phase="SETUP"],[data-freqs-phase="WAITING"],[data-freqs-phase="ENDED"]){color:var(--theme-state-neutral)!important;background:color-mix(in srgb,var(--theme-state-neutral) 12%,transparent)!important}
.freqs-phase-chip:is([data-freqs-phase="READY"],[data-freqs-phase="BOARD_ACTIVE"],[data-freqs-phase="QUESTION"],[data-freqs-phase="READING"],[data-freqs-phase="LIVE"]){color:var(--theme-state-info)!important;background:color-mix(in srgb,var(--theme-state-info) 12%,transparent)!important}
.freqs-phase-chip:is([data-freqs-phase="DELAY"],[data-freqs-phase="PAUSED"],[data-freqs-phase="REVEALING"],[data-freqs-phase="WAGER_SETUP"],[data-freqs-phase="WAGER_QUESTION"],[data-freqs-phase="BETTING"],[data-freqs-phase="STEAL"],[data-freqs-phase="STEALING"],[data-freqs-phase="MATCH_WIN"]){color:var(--theme-state-warning)!important;background:color-mix(in srgb,var(--theme-state-warning) 12%,transparent)!important}
.freqs-phase-chip:is([data-freqs-phase="ARMING"],[data-freqs-phase="ROUND_SETUP"]){color:var(--theme-state-preparing)!important;background:color-mix(in srgb,var(--theme-state-preparing) 12%,transparent)!important}
.freqs-phase-chip:is([data-freqs-phase="ANSWERED"],[data-freqs-phase="ANSWER_REVEAL"],[data-freqs-phase="RESULTS"],[data-freqs-phase="SCORES"],[data-freqs-phase="GAME_OVER"]){color:var(--theme-state-success)!important;background:color-mix(in srgb,var(--theme-state-success) 12%,transparent)!important}
.freqs-phase-chip:is([data-freqs-phase="BUZZING"],[data-freqs-phase="BUZZED"],[data-freqs-phase="JUDGING"],[data-freqs-phase="DECIDING"]){color:var(--theme-state-critical)!important;background:color-mix(in srgb,var(--theme-state-critical) 12%,transparent)!important}
.freqs-phase-chip:is([data-freqs-phase="REVIEW"],[data-freqs-phase="REVIEWING"],[data-freqs-phase="ROUND_END"],[data-freqs-phase="TRANSITION"]){color:var(--theme-state-review)!important;background:color-mix(in srgb,var(--theme-state-review) 12%,transparent)!important}
.freqs-tts-modal{background:var(--theme-tts-surface)!important;border-color:var(--border)!important;color:var(--text)!important}
.freqs-timer-track{background:var(--theme-timer-track)!important}
.freqs-timer-fill[data-freqs-timer="default"]{background:var(--theme-timer-default)!important}
.freqs-timer-fill[data-freqs-timer="warning"]{background:var(--theme-timer-warning)!important}
.freqs-timer-fill[data-freqs-timer="critical"]{background:var(--theme-timer-critical)!important}
