/* Skypinned — first slice.
   Spacious classic widescreen desktop layout: wide stage, generous
   spacing, luminous dark sky. Not an app shell. */

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: #050b18;
  color: #eef2f8;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Header ---- */
.topbar {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 28px 48px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand { display: flex; align-items: baseline; gap: 12px; }

.brand .mark {
  color: #e8c66a;
  font-size: 22px;
  line-height: 1;
}

.brand .word {
  color: #e8c66a;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.35em;
}

.tagline {
  margin: 0;
  color: #9fd8c9;
  font-size: 16px;
  font-style: italic;
  flex: 1;
}

.stats {
  display: flex;
  gap: 24px;
  color: #aab6c8;
  font-size: 14px;
  letter-spacing: 0.08em;
}

/* ---- Stage ---- */
.stage {
  flex: 1;
  display: flex;
  gap: 32px;
  padding: 32px 48px;
  min-height: 560px;
}

.sky-wrap {
  flex: 1;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(180deg, #060d1f 0%, #0a1a38 55%, #0e2447 100%);
  min-height: 560px;
}

#sky {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}

.hint {
  position: absolute;
  left: 20px;
  bottom: 12px;
  margin: 0;
  color: rgba(238, 242, 248, 0.65);
  font-size: 13px;
  letter-spacing: 0.06em;
  pointer-events: none;
}

/* ---- Pinned panel ---- */
.panel {
  width: 320px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 6px;
  padding: 24px;
}

.panel h2 {
  margin: 0 0 6px;
  color: #e8c66a;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-note {
  margin: 0 0 18px;
  color: #aab6c8;
  font-size: 13px;
}

.pin-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.pin-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 15px;
}

.pin-list li .dot {
  color: #e8c66a;
  font-size: 13px;
}

.pin-list li .name { flex: 1; }

.pin-list li button {
  background: none;
  border: none;
  color: #aab6c8;
  font-size: 16px;
  cursor: pointer;
  padding: 2px 6px;
}

.pin-list li button:hover { color: #e8c66a; }

.empty {
  color: #aab6c8;
  font-size: 14px;
  font-style: italic;
  margin: 0 0 16px;
}

#clearPins {
  background: none;
  border: 1px solid #e8c66a;
  color: #e8c66a;
  border-radius: 4px;
  padding: 10px 18px;
  font-size: 14px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

#clearPins:hover { background: rgba(232, 198, 106, 0.12); }

/* ---- Footer ---- */
.foot {
  display: flex;
  justify-content: space-between;
  padding: 20px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #aab6c8;
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* ---- Narrow screens: stack, don't squeeze ---- */
@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; padding: 20px; gap: 12px; }
  .tagline { flex-basis: 100%; }
  .stage { flex-direction: column; padding: 20px; }
  .sky-wrap { min-height: 420px; }
  .panel { width: 100%; }
  .foot { padding: 16px 20px; }
}
