:root,
[data-theme="light"] {
  --bg: #f5f5f7;
  --bg-secondary: #eaeaec;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-card-hover: rgba(255, 255, 255, 0.88);
  --bg-sidebar: rgba(255, 255, 255, 0.78);
  --bg-modal: rgba(255, 255, 255, 0.92);
  --bg-input: rgba(255, 255, 255, 0.6);
  --text: #1a1a2e;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --accent: #6366f1;
  --accent-light: rgba(99, 102, 241, 0.12);
  --accent-hover: #4f46e5;
  --border: rgba(0, 0, 0, 0.06);
  --border-hover: rgba(0, 0, 0, 0.12);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --blur: 16px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --sidebar-width: 220px;
  --sidebar-collapsed: 0px;
  --overlay-bg: rgba(245, 245, 247, 0.3);
}

[data-theme="dark"] {
  --bg: #0c0c14;
  --bg-secondary: #16162a;
  --bg-card: rgba(30, 30, 55, 0.72);
  --bg-card-hover: rgba(40, 40, 70, 0.88);
  --bg-sidebar: rgba(20, 20, 40, 0.82);
  --bg-modal: rgba(25, 25, 50, 0.95);
  --bg-input: rgba(30, 30, 55, 0.6);
  --text: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #818cf8;
  --accent-light: rgba(129, 140, 248, 0.15);
  --accent-hover: #6366f1;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.4);
  --overlay-bg: rgba(12, 12, 20, 0.3);
}

[data-theme="eyecare"] {
  --bg: #f5f0e6;
  --bg-secondary: #ebe5d8;
  --bg-card: rgba(255, 250, 238, 0.72);
  --bg-card-hover: rgba(255, 250, 238, 0.88);
  --bg-sidebar: rgba(255, 248, 232, 0.82);
  --bg-modal: rgba(255, 250, 238, 0.95);
  --bg-input: rgba(255, 250, 238, 0.6);
  --text: #3d3529;
  --text-secondary: #8b7e6a;
  --text-muted: #a99b84;
  --accent: #d97706;
  --accent-light: rgba(217, 119, 6, 0.12);
  --accent-hover: #b45309;
  --border: rgba(139, 126, 106, 0.12);
  --border-hover: rgba(139, 126, 106, 0.2);
  --shadow: 0 1px 3px rgba(61, 53, 41, 0.06), 0 1px 2px rgba(61, 53, 41, 0.04);
  --shadow-hover: 0 4px 12px rgba(61, 53, 41, 0.1), 0 2px 4px rgba(61, 53, 41, 0.06);
  --shadow-lg: 0 10px 30px rgba(61, 53, 41, 0.12);
  --overlay-bg: rgba(245, 240, 230, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#bg-layer {
  z-index: 0;
}

#bg-overlay {
  background: var(--overlay-bg);
  backdrop-filter: blur(2px);
}

#bg-layer.has-image + #bg-overlay {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] #bg-layer.has-image + #bg-overlay {
  background: rgba(0, 0, 0, 0.35);
}

[data-theme="eyecare"] #bg-layer.has-image + #bg-overlay {
  background: rgba(61, 53, 41, 0.15);
}

#sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-right: 1px solid var(--border);
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.04);
  overflow: visible;
}

#sidebar.collapsed {
  width: var(--sidebar-collapsed);
  border-right-color: transparent;
}

#sidebar.collapsed #sidebar-content {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-20px);
}

#sidebar-toggle {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  box-shadow: var(--shadow);
}

#sidebar-toggle:hover {
  background: var(--bg-card-hover);
  color: var(--accent);
}

.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 0 8px 16px;
}

.sidebar-section {
  animation: fadeInUp 0.3s ease both;
}

#sidebar-content {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scrollbar-thin::-webkit-scrollbar {
  width: 3px;
}

.scrollbar-thin::-webkit-scrollbar-track {
  background: transparent;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.timer-btn {
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid transparent;
}

.timer-btn:hover {
  border-color: var(--accent);
}

.timer-btn.active {
  background: var(--accent);
  color: white;
}

#main-content {
  margin-left: var(--sidebar-width);
}

#sidebar.collapsed ~ #main-content {
  margin-left: var(--sidebar-collapsed);
}

#logo-area #logo-text {
  color: var(--text);
  transition: color 0.3s ease;
}

#logo-area #logo-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: var(--bg-card-hover);
  color: var(--accent);
  border-color: var(--border-hover);
  transform: scale(1.05);
}

.search-box {
  background: var(--bg-card);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 6px 6px 4px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover), 0 0 0 3px var(--accent-light);
  background: var(--bg-card-hover);
}

.engine-btn {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  color: var(--text-secondary);
  border: none;
  white-space: nowrap;
}

.engine-btn:hover {
  color: var(--text);
  background: var(--accent-light);
}

.engine-btn.active {
  background: var(--accent);
  color: white;
  box-shadow: 0 2px 6px var(--accent-light);
}

#search-input {
  color: var(--text);
  font-size: 15px;
}

#search-input::placeholder {
  color: var(--text-muted);
}

.search-go-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.search-go-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}

.search-go-btn:active {
  transform: scale(0.95);
}

.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid transparent;
}

.add-btn:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.glass-card:active {
  transform: translateY(0) scale(0.98);
}

.quick-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px 10px;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.quick-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--accent-light);
  transition: all 0.25s ease;
}

.quick-card .card-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.quick-card .card-icon .fallback-icon {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

.quick-card .card-name {
  font-size: 11px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.quick-card:hover .card-name {
  color: var(--text);
}

.quick-card .card-actions {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.quick-card:hover .card-actions {
  opacity: 1;
}

.card-action-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 10px;
  transition: all 0.15s ease;
}

.card-action-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-light);
}

.card-action-btn.delete:hover {
  color: #ef4444;
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.scene-module {
  background: var(--bg-card);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
}

.scene-module.highlight {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover), 0 0 0 2px var(--accent-light);
}

.scene-module.dragging {
  opacity: 0.5;
  transform: scale(0.98);
}

.scene-module.drag-over {
  border-color: var(--accent);
  border-style: dashed;
}

.module-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.module-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.module-icon-wrap:hover {
  background: var(--accent);
  color: white;
  transform: scale(1.1);
}

.module-icon-wrap:hover::after {
  content: '✏️';
  position: absolute;
  font-size: 8px;
  bottom: -2px;
  right: -2px;
}

.module-header h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}

.module-header-actions {
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.scene-module:hover .module-header-actions {
  opacity: 1;
}

.module-action-btn {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 12px;
  transition: all 0.15s ease;
}

.module-action-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-light);
}

.module-action-btn.delete:hover {
  color: #ef4444;
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}

.site-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px 8px;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  background: var(--bg-input);
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.site-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.site-card:active {
  transform: translateY(0) scale(0.97);
}

.site-card .card-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--accent-light);
  transition: all 0.25s ease;
}

.site-card .card-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.site-card .card-icon .fallback-icon {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.site-card .card-name {
  font-size: 11px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-card:hover .card-name {
  color: var(--text);
}

.site-card .card-actions {
  position: absolute;
  top: 2px;
  right: 2px;
  display: flex;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.site-card:hover .card-actions {
  opacity: 1;
}

.module-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  color: var(--text-secondary);
}

.module-nav-item:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.module-nav-item.active {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 500;
}

.module-nav-item.hidden-module {
  opacity: 0.45;
}

.module-nav-item.hidden-module:hover {
  opacity: 0.8;
}

.module-nav-icon {
  font-size: 14px;
  width: 20px;
  text-align: center;
}

.modal-card {
  background: var(--bg-modal);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.25s ease both;
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.modal-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.modal-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.modal-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.modal-input::placeholder {
  color: var(--text-muted);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.btn-primary {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: white;
  border: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.btn-danger {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.theme-option:hover {
  background: var(--accent-light);
}

.theme-option.active {
  border-color: var(--accent);
  background: var(--accent-light);
}

.theme-preview {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.theme-preview.light {
  background: linear-gradient(135deg, #f5f5f7, #ffffff);
}

.theme-preview.dark {
  background: linear-gradient(135deg, #0c0c14, #1e1e3a);
}

.theme-preview.eyecare {
  background: linear-gradient(135deg, #f5f0e6, #fff8e8);
}

.theme-preview.system {
  background: linear-gradient(135deg, #f5f5f7 50%, #0c0c14 50%);
}

.color-picker-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.color-picker-wrap input[type="color"] {
  width: 36px;
  height: 36px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 2px;
  background: transparent;
}

.color-picker-wrap input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-picker-wrap input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 4px;
}

.bg-preview {
  width: 100%;
  height: 120px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.bg-preview .no-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  font-size: 13px;
}

.emoji-picker-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  max-height: 200px;
  overflow-y: auto;
  padding: 8px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.emoji-item {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.emoji-item:hover {
  background: var(--accent-light);
  transform: scale(1.2);
}

.toast {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-modal);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hover);
  font-size: 13px;
  color: var(--text);
  animation: toastIn 0.3s ease both;
  max-width: 300px;
}

.toast.success {
  border-left: 3px solid #22c55e;
}

.toast.error {
  border-left: 3px solid #ef4444;
}

.toast.info {
  border-left: 3px solid var(--accent);
}

.toast-exit {
  animation: toastOut 0.3s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(20px);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.timer-running #timer-display {
  animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 1024px) {
  :root {
    --sidebar-width: 200px;
  }

  .module-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 0px;
    --sidebar-collapsed: 0px;
  }

  #sidebar {
    width: 0;
    left: 0;
    transform: translateX(-100%);
    overflow: visible;
  }

  #sidebar.expanded {
    width: 240px;
    transform: translateX(0);
    z-index: 40;
  }

  #sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  #sidebar-toggle {
    position: fixed !important;
    left: auto !important;
    right: auto !important;
    top: 12px;
    left: 12px !important;
    z-index: 31 !important;
  }

  #sidebar.expanded #sidebar-toggle {
    left: 248px !important;
  }

  #main-content {
    margin-left: 0 !important;
  }

  #mobile-menu-btn {
    display: flex !important;
  }

  #quick-access-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .module-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }

  #search-area {
    max-width: 100%;
  }

  .engine-btn {
    padding: 6px 8px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.drag-ghost {
  opacity: 0.4;
}

.resize-handle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 16px;
  height: 16px;
  cursor: nwse-resize;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.scene-module:hover .resize-handle {
  opacity: 0.3;
}

.resize-handle::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 13px;
  gap: 8px;
}

.empty-state-icon {
  font-size: 24px;
  opacity: 0.5;
}

#logo-area {
  animation: fadeInUp 0.5s ease both;
}

#search-area {
  animation: fadeInUp 0.5s ease 0.1s both;
}

#quick-access {
  animation: fadeInUp 0.5s ease 0.2s both;
}

#scene-modules {
  animation: fadeInUp 0.5s ease 0.3s both;
}

.scene-module {
  animation: fadeInUp 0.4s ease both;
}

.scene-module:nth-child(2) { animation-delay: 0.05s; }
.scene-module:nth-child(3) { animation-delay: 0.1s; }
.scene-module:nth-child(4) { animation-delay: 0.15s; }
.scene-module:nth-child(5) { animation-delay: 0.2s; }

#sidebar-content .sidebar-section:nth-child(1) { animation-delay: 0s; }
#sidebar-content .sidebar-section:nth-child(3) { animation-delay: 0.05s; }
#sidebar-content .sidebar-section:nth-child(5) { animation-delay: 0.1s; }
#sidebar-content .sidebar-section:nth-child(7) { animation-delay: 0.15s; }

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-hover);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
