:root {
  --bg: #0f1419;
  --panel: #1a222c;
  --panel-2: #232e3a;
  --line: #2d3a48;
  --text: #e6edf3;
  --muted: #8b97a6;
  --accent: #4aa8ff;
  --accent-dim: #2b5c8a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { font-size: 1.1rem; font-weight: 600; margin: 0; }
.topbar .meta { margin-left: auto; text-align: right; color: var(--muted); font-size: 0.8rem; line-height: 1.3; }
.topbar .model { display: block; color: var(--accent); font-weight: 600; }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1.1rem;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
}

/* Layout */
.layout { display: flex; align-items: stretch; min-height: calc(100vh - 53px); }

.sidebar {
  flex: 0 0 260px;
  background: var(--panel);
  border-right: 1px solid var(--line);
  padding: 10px 0;
  overflow-y: auto;
}
.region-name {
  padding: 12px 16px 6px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-link {
  display: block;
  padding: 9px 16px 9px 26px;
  color: var(--text);
  text-decoration: none;
  border-left: 3px solid transparent;
  cursor: pointer;
}
.site-link:hover { background: var(--panel-2); }
.site-link.active {
  background: var(--panel-2);
  border-left-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

/* Content */
.content { flex: 1 1 auto; padding: 18px 22px; min-width: 0; }
.placeholder { color: var(--muted); margin-top: 40px; text-align: center; }
.site-title { margin: 4px 0 18px; font-size: 1.3rem; }

.images { display: flex; flex-direction: column; gap: 26px; }
.day-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px 16px;
}
.day-label { margin: 0 0 10px; font-size: 1rem; color: var(--accent); }
.windgram-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #fff;
}
.empty-note {
  color: var(--muted);
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

/* Mobile */
@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  .layout { position: relative; }
  .sidebar {
    position: fixed;
    top: 53px;
    bottom: 0;
    left: 0;
    width: 78%;
    max-width: 300px;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    z-index: 15;
    box-shadow: 2px 0 12px rgba(0,0,0,0.4);
  }
  .sidebar.open { transform: translateX(0); }
  .topbar .meta { font-size: 0.72rem; }
}
