:root {
  color-scheme: dark;
  --bg: #0e1117;
  --card: #1e293b;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --line: #334155;
  --link: #93c5fd;
  --green: #22c55e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Source Sans Pro", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  padding-bottom: 6.5rem;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2rem;
}

nav.markets a {
  color: var(--link);
  margin-right: 1rem;
  font-weight: 600;
  text-decoration: none;
}

h1 { font-size: 2.4rem; margin: 0.4rem 0 0.6rem; }

.summary, .how, .sentiment, .status, .updated {
  font-size: 1.15rem;
  line-height: 1.55;
  color: #e2e8f0;
}

.how, .sentiment {
  background: #0f172a;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin: 0.8rem 0;
}

.gate {
  margin: 1.2rem 0;
  font-size: 1.15rem;
}

.picks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.pick {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.pick .label { color: var(--muted); font-size: 1rem; }
.pick .price { font-size: 1.8rem; font-weight: 700; }
.pick .delta { color: var(--green); font-weight: 600; }
.pick .name { font-weight: 700; font-size: 1.25rem; margin-top: 0.4rem; }

.full-results-wrap { overflow-x: auto; }

table.full-results-table {
  width: 100%;
  border-collapse: collapse;
  background: #111827;
}

.full-results-table th,
.full-results-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.full-results-table th { color: var(--muted); }

.headlines-tip { position: relative; display: inline-block; }
.hl-tip-count {
  color: var(--link);
  cursor: pointer;
  font-weight: 700;
  text-decoration: underline;
}
.tip-text {
  display: none;
  position: absolute;
  z-index: 20;
  left: 0;
  top: 1.6rem;
  width: min(28rem, 70vw);
  max-height: 16rem;
  overflow: auto;
  background: #020617;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
}
.headlines-tip.open .tip-text { display: block; }
.hl-tip-line { margin: 0.35rem 0; }
.hl-tip-line a { color: var(--link); }

.why { margin-top: 1.5rem; }
.why table { width: 100%; border-collapse: collapse; }
.why td, .why th { border-bottom: 1px solid var(--line); padding: 0.45rem 0.3rem; text-align: left; }

.disclaimer-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #020617;
  border-top: 1px solid var(--line);
  padding: 0.7rem 1rem;
  text-align: center;
  color: #e2e8f0;
  z-index: 30;
}
.disclaimer-footer a { color: var(--link); font-weight: 600; }

@media (max-width: 900px) {
  .picks { grid-template-columns: 1fr; }
}
