:root { --bg-dark: #0a0a0a; --sidebar-bg: #121212; --accent: #e0df94; --accent-glow: rgba(224, 223, 148, 0.4); --accent-dim: rgba(224, 223, 148, 0.12); --text-main: #ffffff; --text-muted: #a0a0a0; --glass-bg: rgba(255, 255, 255, 0.05); --glass-bg-strong: rgba(255, 255, 255, 0.08); --glass-border: rgba(255, 255, 255, 0.1); --danger: #ff6b6b; --success: #6bffb8; --sidebar-width: 84px; --sidebar-width-compact: 64px; --ease: cubic-bezier(0.16, 1, 0.3, 1); } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background-color: var(--bg-dark); color: var(--text-main); height: 100vh; overflow: hidden; display: flex; flex-direction: column; } button { font-family: inherit; } /* Self-contained icon sprite */ .icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; } .icon { width: 22px; height: 22px; flex-shrink: 0; display: block; color: inherit; } .icon-sm { width: 16px; height: 16px; } .icon-xl { width: 44px; height: 44px; margin-bottom: 14px; color: var(--text-muted); } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } } /* Startup screen */ #startup-screen { position: fixed; inset: 0; background: radial-gradient(circle at 50% 45%, #141406 0%, var(--bg-dark) 70%); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 9999; clip-path: circle(150% at 50% 45%); transition: clip-path 1s var(--ease); } .startup-mark { position: relative; width: 84px; height: 84px; margin-bottom: 26px; display: flex; align-items: center; justify-content: center; } .startup-mark::before { content: ""; position: absolute; inset: 0; border-radius: 22px; border: 2px solid var(--accent); animation: ring-pulse 1.6s ease-in-out infinite; } .sulfur-logo-anim { width: 100%; height: 100%; border-radius: 18px; background: var(--accent); color: var(--bg-dark); font-family: 'Inter', sans-serif; font-weight: 800; font-size: 34px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 40px var(--accent-glow); animation: sizzle 1.6s ease-in-out infinite; } @keyframes ring-pulse { 0% { transform: scale(1); opacity: 0.9; } 70% { transform: scale(1.55); opacity: 0; } 100% { transform: scale(1.55); opacity: 0; } } @keyframes sizzle { 0%, 100% { transform: scale(1); box-shadow: 0 0 20px var(--accent-glow); } 50% { transform: scale(1.06); box-shadow: 0 0 45px var(--accent-glow); } } #startup-screen h2 { font-size: 13px; letter-spacing: 8px; font-weight: 600; color: var(--text-main); margin-bottom: 10px; } .startup-status { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 1px; color: var(--text-muted); } #startup-screen.wipe-out { clip-path: circle(0% at 50% 45%); } #startup-screen.removed { display: none; } /* Title Bar */ #title-bar { height: 40px; flex-shrink: 0; display: flex; justify-content: center; align-items: center; position: relative; padding: 0 12px; background: var(--bg-dark); border-bottom: 1px solid var(--glass-border); } .title-text { font-size: 11px; letter-spacing: 4px; color: var(--text-muted); font-weight: 600; } .window-controls { position: absolute; right: 8px; top: 0; bottom: 0; display: flex; align-items: center; } .win-btn { width: 34px; height: 28px; border: none; background: transparent; color: var(--text-muted); display: flex; align-items: center; justify-content: center; border-radius: 6px; cursor: pointer; transition: background 0.15s, color 0.15s; } .win-btn:hover { background: var(--glass-bg); color: var(--text-main); } .win-btn-close:hover { background: var(--danger); color: #1a0000; } /* App shell */ #app-container { display: flex; height: calc(100vh - 40px); transform-origin: center bottom; transition: transform 0.5s var(--ease), opacity 0.5s var(--ease); } body.minimized #app-container { transform: scale(0.05) translateY(60vh); opacity: 0; pointer-events: none; } body.compact-sidebar #sidebar { width: var(--sidebar-width-compact); } body.compact-sidebar .instance-icon, body.compact-sidebar .app-icon { width: 34px; height: 34px; } /* Sidebar */ #sidebar { width: var(--sidebar-width); background: var(--sidebar-bg); display: flex; flex-direction: column; align-items: center; padding: 20px 0; border-right: 1px solid var(--glass-border); z-index: 10; flex-shrink: 0; transition: width 0.25s var(--ease); } .sidebar-top { display: flex; flex-direction: column; align-items: center; } .app-icon { width: 40px; height: 40px; background: var(--accent); color: black; font-weight: 800; font-size: 20px; display: flex; justify-content: center; align-items: center; border-radius: 10px; margin-bottom: 22px; transition: width 0.25s, height 0.25s; } .nav-item { width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; color: var(--text-muted); border-radius: 12px; margin-bottom: 10px; cursor: pointer; border: none; background: transparent; transition: all 0.2s; } .nav-item .icon { pointer-events: none; } .nav-item:hover { color: var(--text-main); background: var(--glass-bg); } .nav-item.active { color: var(--accent); background: var(--accent-dim); box-shadow: inset 2px 0 0 var(--accent); } .nav-item-add { color: var(--accent); border: 1px dashed var(--accent-dim); margin-top: 4px; } .nav-item-add:hover { background: var(--accent-dim); border-color: var(--accent); } .instance-list { flex-grow: 1; width: 100%; display: flex; flex-direction: column; align-items: center; overflow-y: auto; overflow-x: hidden; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--glass-border); } .instance-list::-webkit-scrollbar { width: 0; } .instance-icon { width: 40px; height: 40px; border-radius: 10px; background-size: cover; background-position: center; margin-bottom: 12px; cursor: pointer; border: 2px solid transparent; transition: transform 0.2s, border-color 0.2s; flex-shrink: 0; } .instance-icon:hover { transform: scale(1.08); } .instance-icon.active { border-color: var(--accent); } .sidebar-bottom { display: flex; flex-direction: column; align-items: center; } /* Main stage & views */ #main-stage { flex-grow: 1; position: relative; background: #000; overflow: hidden; } .view { position: absolute; inset: 0; display: none; opacity: 0; } .view.active { display: block; opacity: 1; animation: view-in 0.35s var(--ease); } @keyframes view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } #background-layer { position: absolute; inset: 0; background-size: cover; background-position: center; transition: background-image 0.5s ease-in-out; } .vignette-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,0.45) 32%, transparent 100%); } .edit-btn { position: absolute; top: 28px; right: 28px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,0.5); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s, color 0.2s, transform 0.2s; z-index: 5; } .edit-btn:hover { border-color: var(--accent); color: var(--accent); transform: rotate(-8deg); } .bottom-ui { position: absolute; bottom: 36px; left: 40px; right: 40px; display: flex; justify-content: space-between; align-items: flex-end; z-index: 5; } #instance-title { font-size: 2.75rem; font-weight: 800; margin-bottom: 14px; text-shadow: 0 4px 20px rgba(0,0,0,0.8); letter-spacing: -0.5px; } .tags { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; } .tag { background: var(--glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); padding: 5px 11px; border-radius: 6px; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--text-main); } .playtime { color: var(--text-muted); font-size: 0.85rem; font-family: 'JetBrains Mono', monospace; } #play-btn { display: flex; align-items: center; gap: 8px; background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--accent); color: var(--accent); padding: 15px 38px; border-radius: 12px; font-size: 1.05rem; font-weight: 800; letter-spacing: 2px; cursor: pointer; box-shadow: 0 0 20px var(--accent-dim); transition: all 0.25s ease; flex-shrink: 0; } #play-btn:hover { background: var(--accent); color: black; box-shadow: 0 0 30px var(--accent-glow); transform: scale(1.05); } #play-btn:disabled { opacity: 0.7; cursor: default; transform: none; } /* Library + Discover headers */ .view-header { padding: 40px 48px 0; display: flex; justify-content: space-between; align-items: flex-end; } .view-header h2 { font-size: 2rem; font-weight: 800; margin-bottom: 6px; } .view-header p { color: var(--text-muted); font-size: 0.9rem; } .header-actions { display: flex; gap: 12px; align-items: center; } .btn-ghost-border { background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text-main); padding: 10px 16px; border-radius: 8px; font-size: 0.82rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s ease; } .btn-ghost-border:hover { border-color: var(--accent); color: var(--accent); } .btn-danger-ghost { background: transparent; border: 1px solid rgba(255,107,107,0.3); color: var(--danger); padding: 10px 16px; border-radius: 8px; font-size: 0.82rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s ease; } .btn-danger-ghost:hover { background: rgba(255,107,107,0.15); border-color: var(--danger); } .btn-full-width { width: 100%; justify-content: center; padding: 12px; } /* Library Grid */ .library-grid { padding: 28px 48px 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; overflow-y: auto; height: calc(100% - 96px); } .library-card { position: relative; border-radius: 14px; overflow: hidden; height: 150px; cursor: pointer; background-size: cover; background-position: center; border: 1px solid var(--glass-border); transition: transform 0.2s, border-color 0.2s; } .library-card:hover { transform: translateY(-4px); border-color: var(--accent); } .library-card.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); } .library-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; } .library-card-overlay h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; } .library-card-overlay span { font-size: 0.7rem; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; } /* Discover Catalog */ .discover-catalog { padding: 28px 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; overflow-y: auto; height: calc(100% - 96px); } .discover-card { background: var(--sidebar-bg); border: 1px solid var(--glass-border); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; transition: all 0.2s ease; } .discover-card:hover { border-color: var(--accent); transform: translateY(-3px); } .discover-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; } .discover-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; margin-bottom: 16px; } .discover-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; } /* Minimized pill */ #minimized-pill { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(0); background: var(--sidebar-bg); border: 1px solid var(--accent); color: var(--accent); padding: 10px 20px; border-radius: 999px; display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; cursor: pointer; box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 20px var(--accent-dim); z-index: 500; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); } #minimized-pill.hidden { opacity: 0; transform: translateX(-50%) translateY(20px); pointer-events: none; } /* Modals */ .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; } .modal-overlay.visible { opacity: 1; pointer-events: all; } .modal { width: 360px; background: var(--sidebar-bg); border: 1px solid var(--glass-border); border-radius: 18px; padding: 28px; transform: scale(0.94) translateY(6px); transition: transform 0.25s var(--ease); box-shadow: 0 25px 70px rgba(0,0,0,0.7); } .modal-wide { width: 560px; max-width: 92vw; } .modal-overlay.visible .modal { transform: scale(1) translateY(0); } .modal h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; } .modal-subtitle { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.4; } .modal p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; margin-bottom: 18px; } /* Modal Tabs */ .modal-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--glass-border); margin-bottom: 20px; } .modal-tab { background: transparent; border: none; color: var(--text-muted); padding: 10px 14px; font-size: 0.82rem; font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.2s ease; } .modal-tab:hover { color: var(--text-main); } .modal-tab.active { color: var(--accent); border-bottom-color: var(--accent); } .tab-content { display: none; } .tab-content.active { display: block; animation: fadeIn 0.2s ease; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } /* File Drop Zone */ .file-drop-zone { border: 2px dashed var(--glass-border); border-radius: 14px; padding: 28px 18px; text-align: center; cursor: pointer; background: var(--glass-bg); transition: all 0.2s ease; position: relative; margin-bottom: 16px; display: flex; flex-direction: column; align-items: center; } .file-drop-zone:hover, .file-drop-zone.dragover { border-color: var(--accent); background: var(--accent-dim); } .drop-title { font-size: 0.88rem; font-weight: 600; color: var(--text-main); margin-top: 8px; } .drop-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; } .file-input-hidden { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; } .form-row { display: flex; gap: 14px; } .form-col { flex: 1; } .field-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin: 14px 0 6px; } .field-hint { text-transform: none; letter-spacing: 0; opacity: 0.7; } .field-input { width: 100%; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 8px; padding: 10px 12px; color: var(--text-main); font-size: 0.9rem; font-family: inherit; outline: none; transition: border-color 0.2s; } .field-input:focus { border-color: var(--accent); } .modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; } .modal-actions-between { justify-content: space-between !important; } .btn-ghost, .btn-primary, .btn-danger { border: none; padding: 10px 18px; border-radius: 8px; font-size: 0.82rem; font-weight: 700; cursor: pointer; transition: all 0.15s; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; } .btn-ghost { background: transparent; color: var(--text-muted); } .btn-ghost:hover { color: var(--text-main); background: var(--glass-bg); } .btn-primary { background: var(--accent); color: #111; } .btn-primary:hover { box-shadow: 0 0 20px var(--accent-glow); transform: translateY(-1px); } .btn-primary:disabled { opacity: 0.5; cursor: default; transform: none; box-shadow: none; } .btn-danger { background: var(--danger); color: #2a0000; } .btn-danger:hover { box-shadow: 0 0 20px rgba(255,107,107,0.4); transform: translateY(-1px); } /* Preset collection list inside modal */ .collection-list { display: flex; flex-direction: column; gap: 10px; max-height: 280px; overflow-y: auto; padding-right: 4px; } .collection-item { display: flex; align-items: center; justify-content: space-between; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; padding: 12px 16px; transition: border-color 0.2s; } .collection-item:hover { border-color: var(--accent); } .coll-info h5 { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; } .coll-info p { font-size: 0.75rem; color: var(--text-muted); } /* Onboarding Modal */ .onboarding-modal { width: 580px; } .onboarding-stepper { display: flex; align-items: center; justify-content: center; margin-bottom: 24px; } .step-indicator { width: 28px; height: 28px; border-radius: 50%; background: var(--glass-bg-strong); border: 1px solid var(--glass-border); color: var(--text-muted); font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; } .step-indicator.active { background: var(--accent); color: #0a0a0a; border-color: var(--accent); box-shadow: 0 0 12px var(--accent-glow); } .step-line { width: 36px; height: 2px; background: var(--glass-border); margin: 0 6px; } .onboarding-slide { display: none; } .onboarding-slide.active { display: block; animation: fadeIn 0.25s ease; } .onboarding-hero { text-align: center; margin-bottom: 20px; } .onboarding-mark { width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: #0a0a0a; font-weight: 800; font-size: 26px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; box-shadow: 0 0 20px var(--accent-glow); } .onboarding-hero h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; } .onboarding-hero p { font-size: 0.85rem; color: var(--text-muted); max-width: 460px; margin: 0 auto; line-height: 1.5; } .onboarding-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; } .onboard-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; padding: 16px; text-align: left; } .onboard-card h4 { font-size: 0.88rem; font-weight: 700; margin: 8px 0 4px; } .onboard-card p { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; } .pwa-guide-box { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; padding: 16px; margin: 16px 0; } .pwa-step { display: flex; align-items: center; gap: 12px; font-size: 0.82rem; margin-bottom: 10px; } .pwa-step:last-child { margin-bottom: 0; } .pwa-badge { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--accent); padding: 3px 8px; border-radius: 6px; font-size: 0.72rem; font-weight: 700; flex-shrink: 0; } /* Stats Modal */ .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; } .stat-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; padding: 16px; text-align: center; } .stat-value { font-size: 1.5rem; font-weight: 800; color: var(--accent); margin-bottom: 4px; font-family: 'JetBrains Mono', monospace; } .stat-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); } .section-title-sm { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin: 16px 0 10px; } .instance-activity-list { max-height: 180px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; } .activity-item { display: flex; align-items: center; justify-content: space-between; background: var(--glass-bg); padding: 10px 14px; border-radius: 8px; font-size: 0.82rem; } .import-preview { background: var(--accent-dim); border: 1px solid var(--accent); border-radius: 10px; padding: 12px 16px; margin-top: 12px; } .preview-title { font-weight: 700; color: var(--accent); font-size: 0.9rem; } .preview-count { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; } /* Settings rows */ .setting-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--glass-border); } .setting-row:last-of-type { border-bottom: none; } .setting-title { font-size: 0.88rem; font-weight: 600; } .setting-desc { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; max-width: 220px; } .switch { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; } .switch input { opacity: 0; width: 0; height: 0; } .switch-track { position: absolute; inset: 0; background: var(--glass-bg-strong); border: 1px solid var(--glass-border); border-radius: 999px; cursor: pointer; transition: background 0.2s; } .switch-track::before { content: ""; position: absolute; width: 16px; height: 16px; left: 2px; top: 2px; background: var(--text-muted); border-radius: 50%; transition: transform 0.2s, background 0.2s; } .switch input:checked + .switch-track { background: var(--accent-dim); border-color: var(--accent); } .switch input:checked + .switch-track::before { transform: translateX(18px); background: var(--accent); } /* Toasts */ #toast-container { position: fixed; top: 56px; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 2000; } .toast { background: var(--sidebar-bg); border: 1px solid var(--glass-border); border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 8px; font-size: 0.82rem; box-shadow: 0 10px 30px rgba(0,0,0,0.5); animation: toast-in 0.25s var(--ease); max-width: 280px; } .toast.leaving { animation: toast-out 0.2s ease forwards; } @keyframes toast-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } } @keyframes toast-out { to { opacity: 0; transform: translateX(20px); } } .hidden { display: none !important; }