/* Базовые стили для старта. Далее подгоним под конкретные скриншоты. */
:root {
  --bg: #1a1a1a;
  --card: #2a2a2a;
  --text: #ffffff;
  --muted: #999999;
  --primary: #9945ff;
  --accent: #00d39b;
  --border: #333333;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'SF Pro Text', 'SF Pro Display', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  background: var(--bg);
  color: var(--text);
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
}

.nav .logo {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }

/* Main Layout */
.main-layout {
  display: flex;
  min-height: calc(100vh - 80px);
}

.main-layout.no-menu {
  min-height: 100vh;
  display: block;
}

.main-content {
  flex: 1;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 20px;
}

/* Sidebar */
.sidebar {
  width: 280px;
  background: #1a1a1a;
  border-right: 1px solid #333;
  padding: 0;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sidebar-nav {
  flex: 1;
  padding: 20px 0;
}

.sidebar-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-nav li {
  margin: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  position: relative;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.15);
}

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

.nav-text {
  flex: 1;
}

.nav-badge {
  background: #9945ff;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: auto;
}

.nav-dot {
  width: 8px;
  height: 8px;
  background: #9945ff;
  border-radius: 50%;
  margin-left: auto;
}

/* Favorite Accounts Section */
.favorite-accounts {
  padding: 20px;
  border-top: 1px solid #333;
  margin-top: auto;
}

.section-title {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.favorite-placeholder {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed #333;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  position: relative;
  cursor: pointer;
}

.star-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.placeholder-text {
  font-size: 12px;
  color: #999;
  line-height: 1.4;
}

.screens-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.screens-list a { color: var(--primary); }

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 20px;
  color: var(--muted);
}

.note { color: var(--muted); }
.preview-hint { font-size: 12px; color: var(--muted); }


