:root { color-scheme: dark; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #0b0d12;
  color: #e7e9ee;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem 3rem;
}

.site-header {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 14px; }
.logo { width: 48px; height: 48px; flex-shrink: 0; }
.brand h1 { font-size: 1.5rem; font-weight: 600; letter-spacing: 0.03em; }
.tagline { color: #8b90a0; font-size: 0.9rem; margin-top: 2px; }
.muazrom-link {
  color: #8b90a0;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  padding-top: 6px;
}
.muazrom-link:hover { color: #e7e9ee; }

.about {
  max-width: 900px;
  margin: 1.5rem auto 2.5rem;
  width: 100%;
  color: #8b90a0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.hub {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.shelf { display: flex; flex-direction: column; gap: 12px; }

.cover {
  border: 0.5px solid #262a35;
  background: #14161d;
  border-radius: 10px;
  padding: 16px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: left;
  color: inherit;
  font: inherit;
}
.cover:hover { border-color: #d9a441; }
.cover.active { border-color: #d9a441; background: #1b1710; }
.cover-icon { width: 24px; height: 24px; color: #d9a441; }
.cover-name { font-size: 15px; font-weight: 600; }
.cover-tagline { font-size: 12.5px; color: #8b90a0; line-height: 1.4; }
.cover-status { margin-top: auto; font-size: 11px; color: #5f6472; }

.cover.disabled {
  cursor: default;
  border-style: dashed;
  align-items: center;
  justify-content: center;
  color: #4a4f5c;
  text-align: center;
}
.cover.disabled:hover { border-color: #262a35; }
.cover.disabled .cover-status { margin-top: 6px; }

.player {
  background: #111319;
  border: 0.5px solid #262a35;
  border-radius: 12px;
  padding: 24px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.player-empty { text-align: center; color: #5f6472; margin: 0 auto; }
.player-empty svg { width: 30px; height: 30px; margin-bottom: 10px; }
.player-empty p { font-size: 13.5px; }

.player-title { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.player-tagline { font-size: 13.5px; color: #8b90a0; margin-bottom: 14px; line-height: 1.5; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tag { font-size: 11px; color: #c7a55e; background: #221c10; border-radius: 4px; padding: 3px 9px; }

.security-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  color: #8b90a0;
  margin-bottom: 18px;
  line-height: 1.5;
}
.security-note svg { width: 16px; height: 16px; color: #7fce9e; flex-shrink: 0; margin-top: 1px; }

.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0.5px solid #3a3f2c;
  background: #1a1b12;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: #d9c98f;
  align-self: flex-start;
}
.status-row .dot { width: 7px; height: 7px; border-radius: 50%; background: #d9a441; flex-shrink: 0; }

.site-footer {
  max-width: 900px;
  margin: 3rem auto 0;
  width: 100%;
  text-align: center;
  color: #4a4f5c;
  font-size: 12px;
}

@media (max-width: 640px) {
  .hub { grid-template-columns: 1fr; }
  .shelf { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .cover { min-width: 150px; flex-shrink: 0; }
  .site-header { flex-direction: column; gap: 12px; }
}
