Files
Bernd Steckmeister 25ed765a03 wip: Sicherungs-Commit aller Änderungen seit April + Arbeitsstruktur (CLAUDE.md, ROADMAP.md, PROGRESS.md, Autopilot)
6 Wochen uncommittete Arbeit (Voice-Channels, LiveKit-Manager, Settings-Modal u.v.m.)
als ein WIP-Commit gesichert, damit nichts verloren geht und der Pi den aktuellen
Stand klonen kann. Thematische Aufarbeitung: siehe ROADMAP M0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CPrAGBxBT6GfPXzeWQ4AXb
2026-07-03 05:47:18 +02:00

977 lines
23 KiB
CSS

/* ============================================
PYRAMID · Modals, popovers, overlays
============================================ */
.overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.6);
backdrop-filter: blur(8px);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
animation: fade-in 0.2s var(--spring-soft);
}
[data-theme="light"] .overlay { background: rgba(40,35,25,0.35); }
.modal {
background: var(--bg-1);
border: 1px solid var(--border);
border-radius: var(--r-xl);
box-shadow: var(--shadow-pop);
max-width: 90vw;
max-height: 90vh;
overflow: hidden;
display: flex;
flex-direction: column;
animation: bounce-in 0.35s var(--spring-bounce);
}
.modal-close {
position: absolute;
top: 16px; right: 16px;
width: 28px; height: 28px;
border-radius: 50%;
background: var(--bg-2);
color: var(--fg-muted);
display: flex; align-items: center; justify-content: center;
transition: all 0.2s var(--spring-bounce);
z-index: 2;
}
.modal-close:hover {
background: var(--bg-hover);
color: var(--fg);
transform: rotate(calc(90deg * var(--motion)));
}
/* ==== Settings modal ==== */
.settings-modal {
width: 920px; height: 640px;
display: grid;
grid-template-columns: 220px 1fr;
}
.settings-nav {
background: var(--bg-2);
padding: 18px 12px;
overflow-y: auto;
border-right: 1px solid var(--border);
}
.settings-nav-section {
padding: 10px 10px 6px;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--fg-dim);
}
.settings-nav-item {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 10px;
border-radius: var(--r-sm);
cursor: pointer;
font-size: 13px;
font-weight: 500;
color: var(--fg-muted);
transition: all 0.15s;
}
.settings-nav-item:hover { background: var(--bg-hover); color: var(--fg); }
.settings-nav-item.active { background: var(--accent-soft); color: var(--accent); }
.settings-content {
padding: 32px 40px;
overflow-y: auto;
position: relative;
}
.settings-content h2 {
font-size: 22px;
font-weight: 600;
margin: 0 0 6px;
}
.settings-content .settings-subtitle {
color: var(--fg-muted);
font-size: 13px;
margin-bottom: 24px;
}
.settings-group {
margin-bottom: 28px;
}
.settings-group-title {
font-size: 11px;
font-weight: 600;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--fg-dim);
margin-bottom: 10px;
}
.settings-row {
display: flex;
align-items: center;
gap: 16px;
padding: 14px 0;
border-bottom: 1px solid var(--border);
}
.settings-row:last-child { border-bottom: none; }
.settings-row-label { flex: 1; }
.settings-row-title { font-size: 14px; font-weight: 500; color: var(--fg); }
.settings-row-desc { font-size: 12px; color: var(--fg-muted); margin-top: 2px; }
/* Toggle */
.toggle {
width: 38px; height: 22px;
background: var(--bg-3);
border-radius: 999px;
position: relative;
cursor: pointer;
transition: background 0.2s;
flex-shrink: 0;
}
.toggle::after {
content: '';
position: absolute;
top: 2px; left: 2px;
width: 18px; height: 18px;
background: white;
border-radius: 50%;
transition: transform 0.25s var(--spring-bounce);
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle.on { background: var(--accent); }
.toggle.on::after { transform: translateX(16px); }
/* Select */
.settings-select {
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: var(--r-sm);
padding: 6px 10px;
color: var(--fg);
font-size: 13px;
cursor: pointer;
outline: none;
transition: border-color 0.2s;
}
.settings-select:hover { border-color: var(--border-strong); }
.settings-select:focus { border-color: var(--accent); }
/* Account header in settings */
.account-card {
display: flex;
align-items: center;
gap: 16px;
padding: 20px;
background: linear-gradient(135deg, var(--accent-soft), transparent);
border: 1px solid var(--border);
border-radius: var(--r-lg);
margin-bottom: 28px;
}
.account-card .avatar {
width: 60px; height: 60px;
border-radius: var(--r-lg);
background: linear-gradient(135deg, #ff6b9d, #c471f5);
font-size: 22px;
position: relative;
}
.account-handle {
color: var(--fg-muted);
font-size: 13px;
font-family: var(--font-mono);
}
.account-name { font-size: 18px; font-weight: 600; }
/* ==== Emoji picker ==== */
.emoji-picker {
position: absolute;
width: 360px; height: 420px;
background: var(--bg-0);
border: 1px solid var(--border);
border-radius: var(--r-lg);
box-shadow: var(--shadow-pop);
z-index: 900;
display: flex;
flex-direction: column;
overflow: hidden;
animation: pop-in 0.2s var(--spring-bounce);
transform-origin: bottom right;
}
.emoji-picker-search {
padding: 10px;
border-bottom: 1px solid var(--border);
}
.emoji-picker-search input {
width: 100%;
padding: 7px 10px;
background: var(--bg-2);
border: 1px solid transparent;
border-radius: var(--r-sm);
color: var(--fg);
font-size: 13px;
outline: none;
}
.emoji-picker-search input:focus { border-color: var(--accent); background: var(--bg-1); }
.emoji-picker-tabs {
display: flex;
padding: 6px 8px;
border-bottom: 1px solid var(--border);
gap: 2px;
overflow-x: auto;
scrollbar-width: none;
}
.emoji-picker-tabs::-webkit-scrollbar { display: none; }
.emoji-tab {
flex-shrink: 0;
padding: 6px 8px;
border-radius: var(--r-sm);
font-size: 16px;
cursor: pointer;
opacity: 0.55;
transition: all 0.2s var(--spring-bounce);
}
.emoji-tab:hover { opacity: 1; background: var(--bg-hover); }
.emoji-tab.active { opacity: 1; background: var(--accent-soft); }
.emoji-grid-wrap {
flex: 1;
overflow-y: auto;
padding: 8px;
}
.emoji-category-title {
padding: 8px 4px 6px;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--fg-dim);
}
.emoji-grid {
display: grid;
grid-template-columns: repeat(8, 1fr);
gap: 2px;
}
.emoji-cell {
aspect-ratio: 1;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
border-radius: 6px;
cursor: pointer;
transition: all 0.15s var(--spring-bounce);
}
.emoji-cell:hover {
background: var(--bg-hover);
transform: scale(calc(1 + 0.25 * var(--motion)));
}
.emoji-picker-preview {
padding: 8px 12px;
border-top: 1px solid var(--border);
background: var(--bg-2);
display: flex;
align-items: center;
gap: 10px;
min-height: 40px;
}
.emoji-picker-preview .big { font-size: 22px; }
.emoji-picker-preview .name {
font-size: 12px;
font-weight: 600;
color: var(--fg);
}
.emoji-picker-preview .shortcode {
font-size: 11px;
font-family: var(--font-mono);
color: var(--fg-dim);
}
/* ==== Context menu ==== */
.context-menu {
position: absolute;
background: var(--bg-0);
border: 1px solid var(--border);
border-radius: var(--r-base);
box-shadow: var(--shadow-pop);
padding: 4px;
min-width: 200px;
z-index: 950;
animation: pop-in 0.16s var(--spring-bounce);
transform-origin: top left;
}
.context-item {
display: flex;
align-items: center;
gap: 10px;
padding: 7px 10px;
border-radius: var(--r-sm);
cursor: pointer;
font-size: 13px;
color: var(--fg);
transition: background 0.1s;
}
.context-item:hover { background: var(--bg-hover); }
.context-item.danger { color: var(--danger); }
.context-item.danger:hover { background: rgba(229, 72, 77, 0.12); }
.context-item .shortcut {
margin-left: auto;
color: var(--fg-dim);
font-size: 11px;
font-family: var(--font-mono);
}
.context-divider {
height: 1px;
background: var(--border);
margin: 4px 2px;
}
/* ==== Profile popover ==== */
.profile-popover {
position: absolute;
width: 320px;
background: var(--bg-0);
border: 1px solid var(--border);
border-radius: var(--r-lg);
box-shadow: var(--shadow-pop);
z-index: 900;
overflow: hidden;
animation: pop-in 0.22s var(--spring-bounce);
transform-origin: top left;
}
.profile-banner {
height: 72px;
background: linear-gradient(135deg, var(--accent), hsl(calc(var(--accent-h) + 40) 80% 50%));
position: relative;
}
.profile-banner::after {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.2), transparent 60%);
}
.profile-content {
padding: 0 16px 16px;
margin-top: -32px;
position: relative;
}
.profile-avatar {
width: 70px; height: 70px;
border-radius: var(--r-lg);
border: 4px solid var(--bg-0);
background: linear-gradient(135deg, #ff6b9d, #c471f5);
display: flex; align-items: center; justify-content: center;
font-size: 26px;
font-weight: 600;
color: white;
position: relative;
margin-bottom: 10px;
}
.profile-name { font-size: 18px; font-weight: 600; }
.profile-handle {
font-size: 12px;
color: var(--fg-muted);
font-family: var(--font-mono);
margin-bottom: 12px;
}
.profile-section {
margin-top: 14px;
padding-top: 14px;
border-top: 1px solid var(--border);
}
.profile-section-title {
font-size: 10px;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--fg-dim);
margin-bottom: 6px;
}
.profile-about {
font-size: 13px;
color: var(--fg-muted);
line-height: 1.5;
}
.profile-actions { display: flex; gap: 6px; margin-top: 14px; }
.profile-btn {
flex: 1;
padding: 7px 10px;
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: var(--r-sm);
font-size: 12px;
font-weight: 500;
color: var(--fg);
display: flex; align-items: center; justify-content: center; gap: 6px;
transition: all 0.2s var(--spring-bounce);
}
.profile-btn.primary {
background: var(--accent);
color: var(--accent-fg);
border-color: var(--accent);
}
.profile-btn:hover {
transform: translateY(calc(-1px * var(--motion)));
border-color: var(--accent);
}
.profile-roles { display: flex; flex-wrap: wrap; gap: 4px; }
.profile-role {
padding: 2px 8px;
border-radius: var(--r-pill);
background: var(--bg-3);
font-size: 11px;
font-weight: 500;
display: inline-flex;
align-items: center;
gap: 4px;
}
.profile-role .dot {
width: 8px; height: 8px; border-radius: 50%;
}
/* ==== Voice channel ==== */
.voice-hero {
flex: 1;
display: flex;
flex-direction: column;
padding: 24px;
background:
radial-gradient(ellipse at top left, var(--accent-soft), transparent 50%),
radial-gradient(ellipse at bottom right, hsl(calc(var(--accent-h) + 60) 60% 40% / 0.15), transparent 50%),
var(--bg-1);
overflow-y: auto;
}
.voice-header-row {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 28px;
}
.voice-title { font-size: 20px; font-weight: 600; }
.voice-live-pill {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 3px 10px;
border-radius: var(--r-pill);
background: rgba(229,72,77,0.12);
color: var(--danger);
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.voice-live-pill .live-dot {
width: 6px; height: 6px;
border-radius: 50%;
background: var(--danger);
animation: pulse-ring 1.4s infinite;
}
.voice-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 16px;
margin-bottom: 28px;
}
.voice-tile {
aspect-ratio: 16/10;
background: var(--bg-2);
border: 1.5px solid var(--border);
border-radius: var(--r-lg);
position: relative;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.25s var(--spring-bounce);
}
.voice-tile.speaking {
border-color: var(--online);
box-shadow: 0 0 0 3px hsl(142 76% 50% / 0.2);
}
.voice-tile-avatar {
width: 72px; height: 72px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 26px;
font-weight: 600;
color: white;
}
.voice-tile.speaking .voice-tile-avatar {
animation: pulse-voice 1.2s infinite;
}
@keyframes pulse-voice {
0%, 100% { box-shadow: 0 0 0 0 hsl(142 76% 50% / 0.6); }
50% { box-shadow: 0 0 0 12px hsl(142 76% 50% / 0); }
}
.voice-tile-name {
position: absolute;
bottom: 10px; left: 10px;
background: rgba(0,0,0,0.55);
color: white;
padding: 3px 8px;
border-radius: var(--r-sm);
font-size: 12px;
font-weight: 500;
backdrop-filter: blur(4px);
display: flex;
align-items: center;
gap: 6px;
}
.voice-wave {
display: inline-flex;
align-items: center;
gap: 2px;
height: 10px;
}
.voice-wave span {
width: 2px;
background: var(--online);
border-radius: 1px;
animation: voice-wave 0.8s infinite ease-in-out;
}
.voice-wave span:nth-child(1) { animation-delay: 0s; height: 6px; }
.voice-wave span:nth-child(2) { animation-delay: 0.2s; height: 10px; }
.voice-wave span:nth-child(3) { animation-delay: 0.4s; height: 8px; }
.voice-wave span:nth-child(4) { animation-delay: 0.1s; height: 10px; }
.voice-status-icons {
position: absolute;
top: 10px; right: 10px;
display: flex;
gap: 4px;
}
.voice-status-icon {
width: 24px; height: 24px;
background: rgba(0,0,0,0.55);
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 12px;
backdrop-filter: blur(4px);
}
.voice-status-icon.muted { background: var(--danger); }
.voice-controls {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 16px;
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: var(--r-xl);
margin-top: auto;
}
.voice-ctrl-btn {
width: 48px; height: 48px;
border-radius: 50%;
background: var(--bg-3);
color: var(--fg);
display: flex; align-items: center; justify-content: center;
transition: all 0.2s var(--spring-bounce);
}
.voice-ctrl-btn:hover { transform: scale(calc(1 + 0.08 * var(--motion))); background: var(--bg-hover); }
.voice-ctrl-btn.on { background: var(--accent); color: var(--accent-fg); }
.voice-ctrl-btn.danger { background: var(--danger); color: white; }
.voice-ctrl-btn.danger:hover { background: #d13f43; transform: scale(calc(1 + 0.08 * var(--motion))) rotate(calc(135deg * var(--motion))); }
/* ==== Search modal ==== */
.search-modal {
width: 640px;
max-height: 560px;
}
.search-input-row {
display: flex;
align-items: center;
gap: 10px;
padding: 16px 20px;
border-bottom: 1px solid var(--border);
}
.search-input-row svg { color: var(--fg-dim); flex-shrink: 0; }
.search-input-row input {
flex: 1;
background: none;
border: none;
outline: none;
color: var(--fg);
font-size: 16px;
}
.search-input-row .esc {
padding: 2px 6px;
background: var(--bg-3);
border-radius: 4px;
font-size: 10px;
font-family: var(--font-mono);
color: var(--fg-muted);
}
.search-filters {
display: flex;
gap: 6px;
padding: 10px 20px;
border-bottom: 1px solid var(--border);
overflow-x: auto;
scrollbar-width: none;
}
.search-filters::-webkit-scrollbar { display: none; }
.search-chip {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 10px;
border-radius: var(--r-pill);
background: var(--bg-2);
border: 1px solid var(--border);
font-size: 12px;
color: var(--fg-muted);
cursor: pointer;
flex-shrink: 0;
transition: all 0.2s var(--spring-bounce);
white-space: nowrap;
}
.search-chip:hover { border-color: var(--accent); color: var(--fg); }
.search-chip.active {
background: var(--accent-soft);
border-color: var(--accent);
color: var(--accent);
font-weight: 500;
}
.search-results {
overflow-y: auto;
padding: 6px;
max-height: 400px;
}
.search-result {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 14px;
border-radius: var(--r-base);
cursor: pointer;
transition: background 0.15s;
}
.search-result:hover,
.search-result.selected { background: var(--accent-soft); }
.search-result .avatar {
width: 32px; height: 32px;
border-radius: var(--r-sm);
font-size: 12px;
}
.search-result-content { flex: 1; min-width: 0; }
.search-result-top {
display: flex;
align-items: baseline;
gap: 8px;
font-size: 13px;
}
.search-result-name { font-weight: 600; }
.search-result-meta { font-size: 11px; color: var(--fg-dim); }
.search-result-snippet {
font-size: 12px;
color: var(--fg-muted);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.search-result-snippet mark {
background: var(--accent-soft);
color: var(--accent);
padding: 0 3px;
border-radius: 3px;
}
.search-footer {
padding: 10px 20px;
border-top: 1px solid var(--border);
display: flex;
gap: 16px;
font-size: 11px;
color: var(--fg-dim);
background: var(--bg-2);
}
.search-footer kbd {
display: inline-block;
padding: 1px 5px;
background: var(--bg-3);
border: 1px solid var(--border);
border-radius: 3px;
font-family: var(--font-mono);
font-size: 10px;
color: var(--fg-muted);
margin: 0 2px;
}
/* ==== Tweaks panel ==== */
.tweaks-panel {
position: fixed;
bottom: 20px; right: 20px;
width: 300px;
background: var(--bg-0);
border: 1px solid var(--border);
border-radius: var(--r-lg);
box-shadow: var(--shadow-pop);
z-index: 800;
overflow: hidden;
animation: slide-up 0.3s var(--spring-bounce);
}
.tweaks-header {
padding: 12px 16px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid var(--border);
background: var(--bg-1);
}
.tweaks-title { font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.tweaks-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; }
.tweak-row { display: flex; flex-direction: column; gap: 6px; }
.tweak-label {
font-size: 11px;
font-weight: 600;
letter-spacing: 0.03em;
text-transform: uppercase;
color: var(--fg-dim);
display: flex;
justify-content: space-between;
}
.tweak-label .val { color: var(--fg); font-family: var(--font-mono); }
.tweak-row input[type=range] {
width: 100%;
accent-color: var(--accent);
}
.tweak-swatches { display: flex; gap: 6px; }
.tweak-swatch {
width: 28px; height: 28px;
border-radius: 50%;
cursor: pointer;
border: 2px solid transparent;
transition: transform 0.2s var(--spring-bounce);
}
.tweak-swatch:hover { transform: scale(calc(1 + 0.12 * var(--motion))); }
.tweak-swatch.active { border-color: var(--fg); transform: scale(calc(1 + 0.08 * var(--motion))); }
.seg {
display: flex;
background: var(--bg-2);
border-radius: var(--r-sm);
padding: 2px;
gap: 2px;
}
.seg button {
flex: 1;
padding: 5px 8px;
border-radius: calc(var(--r-sm) - 2px);
font-size: 12px;
color: var(--fg-muted);
transition: all 0.2s;
}
.seg button.active {
background: var(--bg-0);
color: var(--fg);
box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
/* ==== Login ==== */
.login-shell {
position: fixed;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background:
radial-gradient(ellipse 700px 500px at 20% 20%, var(--accent-soft), transparent),
radial-gradient(ellipse 700px 600px at 80% 80%, hsl(calc(var(--accent-h) + 180) 60% 40% / 0.08), transparent),
var(--bg-0);
overflow: hidden;
z-index: 2000;
}
.login-card {
width: 420px;
background: var(--bg-1);
border: 1px solid var(--border);
border-radius: var(--r-xl);
padding: 36px 34px;
box-shadow: var(--shadow-pop);
position: relative;
z-index: 2;
}
.login-brand {
display: flex;
flex-direction: column;
align-items: center;
gap: 14px;
margin-bottom: 26px;
}
.login-brand-mark {
filter: drop-shadow(0 6px 20px var(--accent-glow));
}
.login-brand-name {
font-size: 26px;
font-weight: 700;
letter-spacing: -0.02em;
}
.login-brand-tag {
font-size: 13px;
color: var(--fg-muted);
text-align: center;
}
.login-field { margin-bottom: 14px; }
.login-field-label {
font-size: 11px;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--fg-dim);
margin-bottom: 5px;
}
.login-field input {
width: 100%;
padding: 10px 12px;
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: var(--r-sm);
color: var(--fg);
font-size: 14px;
outline: none;
transition: all 0.2s;
}
.login-field input:focus {
border-color: var(--accent);
background: var(--bg-1);
box-shadow: 0 0 0 3px var(--accent-soft);
}
.login-submit {
width: 100%;
padding: 11px;
background: var(--accent);
color: var(--accent-fg);
border-radius: var(--r-sm);
font-size: 14px;
font-weight: 600;
margin-top: 6px;
transition: all 0.25s var(--spring-bounce);
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.login-submit:hover {
transform: translateY(calc(-1px * var(--motion)));
box-shadow: 0 8px 20px -4px var(--accent-glow);
}
.login-submit:active { transform: scale(0.98); }
.login-divider {
display: flex;
align-items: center;
gap: 10px;
margin: 22px 0 16px;
font-size: 11px;
color: var(--fg-dim);
text-transform: uppercase;
letter-spacing: 0.08em;
}
.login-divider::before, .login-divider::after {
content: ''; flex: 1; height: 1px; background: var(--border);
}
.login-alt-row { display: flex; gap: 8px; margin-bottom: 14px; }
.login-alt-btn {
flex: 1;
padding: 9px;
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: var(--r-sm);
font-size: 12px;
font-weight: 500;
color: var(--fg);
transition: all 0.2s var(--spring-bounce);
display: flex; align-items: center; justify-content: center; gap: 6px;
}
.login-alt-btn:hover { border-color: var(--accent); transform: translateY(calc(-1px * var(--motion))); }
.login-foot {
text-align: center;
font-size: 12px;
color: var(--fg-muted);
margin-top: 14px;
}
.login-foot a { color: var(--accent); cursor: pointer; }
/* Floating pyramids in login bg */
.login-float {
position: absolute;
opacity: 0.18;
animation: float-pyramid 8s infinite ease-in-out;
}
@keyframes float-pyramid {
0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
50% { transform: translateY(-20px) rotate(calc(var(--rot, 0deg) + 10deg)); }
}
/* ==== Toast ==== */
.toast {
position: fixed;
bottom: 24px;
left: 50%;
transform: translateX(-50%);
background: var(--bg-0);
border: 1px solid var(--border);
border-radius: var(--r-pill);
padding: 10px 18px;
font-size: 13px;
font-weight: 500;
box-shadow: var(--shadow-pop);
z-index: 1500;
display: flex;
align-items: center;
gap: 8px;
animation: slide-up 0.3s var(--spring-bounce);
}
/* ==== View switcher tabs (for demo) ==== */
.demo-switcher {
position: fixed;
top: 12px;
left: 50%;
transform: translateX(-50%);
background: var(--bg-0);
border: 1px solid var(--border);
border-radius: var(--r-pill);
padding: 4px;
display: flex;
gap: 2px;
z-index: 700;
box-shadow: var(--shadow-lg);
}
.demo-switcher button {
padding: 5px 12px;
border-radius: var(--r-pill);
font-size: 11px;
font-weight: 500;
color: var(--fg-muted);
transition: all 0.2s var(--spring-bounce);
}
.demo-switcher button.active {
background: var(--accent);
color: var(--accent-fg);
}
.demo-switcher button:hover:not(.active) { color: var(--fg); background: var(--bg-hover); }