/* Linewatch — Tesla-clean, full-bleed, mobile-first */
:root {
  color-scheme: dark;
  --bg: #000;
  --fg: #f4f4f4;
  --muted: #8e8e8e;
  --line: #222;
  --accent: #cc9a2b;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --pad-x: clamp(1rem, 5vw, 3rem);
  --tap: 3rem;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  width: 100%;
  height: 100%;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* logo pinned to top — never center the page */
  align-items: stretch;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--muted); text-decoration: none; }
a:hover { color: var(--fg); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

.top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 0 0 auto;
  margin: 0;
  padding: 0.85rem var(--pad-x) 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.brand {
  line-height: 0;
  opacity: 1;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0;
  margin: 0;
}
.brand img,
.brand svg.logo {
  width: clamp(280px, 70vw, 360px);
  height: auto;
  max-width: 92vw;
  display: block;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0;
  margin: 0 auto;
  /* Full LINEWATCH+NBA mark is the centered unit — no optical nudge */
  transform: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.top nav {
  position: absolute;
  right: var(--pad-x);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.top nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.7rem;
  color: #d0d0d0;
  border-radius: 4px;
}
.top nav a:hover {
  color: #fff;
  background: #1a1a1a;
}

main {
  /* Sit the pick just under the logo; don't stretch a void to the footer */
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(4.5rem, 16vh, 10rem) var(--pad-x) 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.pick-date {
  /* Shrink-wrap + auto margins so letter-spacing can't skew a full-width box */
  display: block;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.75rem, 2.5vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  /* Trailing tracking space — indent matches so glyphs sit on true center */
  padding-left: 0.14em;
  padding-right: 0;
  box-sizing: content-box;
  text-align: center;
  text-transform: uppercase;
  color: #c8c8c8;
}
.pick-matchup {
  margin: 1rem 0 0;
  width: 100%;
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  font-weight: 400;
  color: #c8c8c8;
  letter-spacing: 0.04em;
  padding-left: 0.04em;
  box-sizing: border-box;
  text-align: center;
}
.pick-side {
  margin: 0.65rem 0 0;
  width: 100%;
  font-size: clamp(2.35rem, 11vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  /* negative tracking pulls right edge in — tiny pad keeps optical center */
  padding-right: 0.045em;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.05;
  word-break: break-word;
}
.pick-reason {
  margin: 0.85rem auto 0;
  max-width: 26rem;
  padding: 0 0.25rem;
  font-size: clamp(0.95rem, 3.2vw, 1.1rem);
  font-weight: 400;
  line-height: 1.45;
  color: #aaa;
  text-align: center;
}

.join {
  margin: 1rem auto 0;
  width: 100%;
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.join input {
  width: 100%;
  min-height: var(--tap);
  height: var(--tap);
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #111;
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.join input::placeholder { color: #666; }
.join input:focus {
  border-color: #f4f4f4;
  outline: 2px solid #f4f4f4;
  outline-offset: 2px;
}

.btn {
  width: 100%;
  min-height: var(--tap);
  height: var(--tap);
  border: 0;
  border-radius: 4px;
  background: var(--fg);
  color: #000;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn {
  padding: 0 1.25rem;
  white-space: nowrap;
}
.btn:hover,
a.btn:hover {
  background: #d4d4d4;
  color: #111;
}
a.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
}
.btn:active { transform: scale(0.99); }
.btn.is-waiting {
  background: #2a2a2a;
  color: #c8c8c8;
}
.btn.is-waiting:hover,
a.btn.is-waiting:hover {
  background: #3a3a3a;
  color: #f4f4f4;
}
.join-pitch {
  margin: 0;
  max-width: 40rem;
  text-align: center;
  color: #d4d4d4;
  font-size: 1rem;
  line-height: 1.45;
  text-wrap: balance;
}
.join > .btn,
.join > form {
  width: min(100%, 22rem);
  align-self: center;
}
.join-price,
.join-note {
  margin: 0;
  text-align: center;
  color: #c8c8c8;
  font-size: 0.9rem;
  line-height: 1.4;
}

.foot {
  flex: 0 0 auto;
  margin-top: 1.75rem;
  width: 100%;
  padding: 1rem var(--pad-x) 1.25rem;
  text-align: center;
  background: transparent;
  border: 0;
}
.foot p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #b0b0b0;
  letter-spacing: 0.01em;
}

.toasts {
  list-style: none;
  margin: 0;
  padding: 0 var(--pad-x);
}
.toast {
  max-width: 26rem;
  margin: 0.5rem auto;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  background: #111;
  border: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}
.toast.ok { border-color: #2a2a2a; color: var(--fg); }

.member {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem 0 4rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.member h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.sub {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  word-break: break-word;
}
.picks {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.picks li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.picks .row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.picks .game { word-break: break-word; }
.picks .side {
  margin-top: 0.5rem;
  font-size: clamp(1.1rem, 4vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.picks .meta {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.picks .reason {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: #aaa;
  line-height: 1.45;
}
.note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #555;
}

/* Phone: stack form; keep thumb-sized controls */
@media (max-width: 639px) {
  .join {
    max-width: 100%;
  }
  .btn {
    font-size: 1.05rem;
  }
}

/* Wider phones / tablets: email + button on one row when space allows.
   Homepage has no email field, so keep that stack vertical and let the
   subscribe label use its full width. */
@media (min-width: 640px) {
  .join:has(input) {
    flex-direction: row;
    align-items: center;
  }
  .join input { flex: 1; }
  .join:has(input) .btn {
    width: auto;
    min-width: 9.5rem;
    flex-shrink: 0;
    font-size: 0.95rem;
  }
}

/* Auth (signup / login) — same black/white language as landing */
.auth {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  padding: 0 0 2rem;
  text-align: center;
}
.auth h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.auth-form {
  margin: 1.5rem auto 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.auth-form input {
  width: 100%;
  min-height: var(--tap);
  height: var(--tap);
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #111;
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.auth-form input::placeholder { color: #666; }
.auth-form input:focus {
  border-color: #f4f4f4;
  outline: 2px solid #f4f4f4;
  outline-offset: 2px;
}
.auth-foot {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.auth-foot a { color: var(--fg); text-decoration: underline; text-underline-offset: 0.2em; }
.toast.warn { border-color: #3a2a1a; color: #cc9a2b; }

/* Public articles — calm navy, readable contrast (not pure black/white flash) */
body:has(.articles-index),
body:has(.article) {
  --bg: #0b1220;
  --fg: #e8eef6;
  --muted: #9aafc2;
  --line: #243044;
  --accent: #c9a227;
  background: #0b1220;
  color: #e8eef6;
}
html:has(.articles-index),
html:has(.article),
html:has(body.page-articles),
html:has(body.page-article) {
  background: #0b1220;
}
body:has(.articles-index) .top,
body:has(.article) .top,
body:has(.articles-index) .foot,
body:has(.article) .foot {
  background: #0b1220;
}

.articles-index,
.article {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 0 2.5rem;
  text-align: left;
  color: var(--fg);
  background: transparent;
}

.articles-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.articles-kicker a { color: var(--muted); }
.articles-kicker a:hover { color: var(--fg); }

.articles-heading {
  margin: 0.5rem 0 0;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--fg);
}

.articles-lede {
  margin: 0.65rem auto 0;
  max-width: 26rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

.articles-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}
.articles-list li {
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.articles-list a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 0.15rem;
  color: var(--fg);
  background: transparent;
  min-height: 44px;
}
.articles-list a:hover {
  background: rgba(90, 122, 138, 0.12);
}
.articles-list a:hover .articles-title { color: var(--accent); }

.articles-date {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.articles-title {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--fg);
}
.articles-empty {
  margin: 2rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.article .articles-date {
  margin: 0.75rem 0 1.5rem;
}

.article-body {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #cfd8e6;
  background: transparent;
}
.article-body h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #eef3fa;
  text-align: center;
  background: transparent;
}
.article-body h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #e8eef6;
  background: transparent;
}
.article-body h3 {
  margin: 1.25rem 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 500;
  color: #e8eef6;
  background: transparent;
}
.article-body p { margin: 0.65rem 0; color: #cfd8e6; background: transparent; }
.article-body strong { color: #eef3fa; font-weight: 600; }
.article-body em { color: #aebcce; }
.article-body a { color: #d4b45a; }
.article-body a:hover { color: #e8eef6; }
.article-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.75rem 0;
  background: transparent;
}
.article-body ul, .article-body ol {
  margin: 0.65rem 0;
  padding-left: 1.25rem;
  color: #c5d0e0;
}
.article-body li { color: #c5d0e0; }
.article-body blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 3px solid #3d5a6e;
  background: #121a28;
  color: #c5d0e0;
}
.article-body pre,
.article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #121a28;
  color: #d5deea;
}
.article-body code {
  padding: 0.12em 0.35em;
  border-radius: 4px;
  font-size: 0.92em;
}
.article-body pre {
  padding: 0.9rem 1rem;
  border-radius: 8px;
  overflow-x: auto;
  border: 1px solid var(--line);
}
.article-body pre code {
  padding: 0;
  background: transparent;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  background: #121a28;
  color: #cfd8e6;
}
.article-body th,
.article-body td {
  border: 1px solid var(--line);
  padding: 0.5rem 0.65rem;
  background: #121a28;
  color: #cfd8e6;
}
.article-body th { color: #e8eef6; }

.foot a { color: #d5e2ee; text-decoration: underline; text-underline-offset: 0.18em; }
.foot a:hover { color: #fff; }

/* Articles pages: top-align main (not hero-centered) */
body:has(.articles-index) main,
body:has(.article) main {
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: clamp(1rem, 3vh, 2rem);
  background: #0b1220;
  color: #e8eef6;
}

/* ===== nba15: nav, record, text pages (Oct 2026) ===== */
.top nav a.on { color: #fff; }
.top nav a.on::after { content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 6px; height: 2px; background: #f4f4f4; }
.top nav a { position: relative; }

/* Phones: logo on its own row, menu row underneath (never overlapping) */
@media (max-width: 760px) {
  .top { flex-direction: column; padding-top: 0.75rem; }
  .brand img, .brand svg.logo { width: min(240px, 64vw); }
  .top nav {
    position: static; transform: none; margin-top: 0.4rem; width: 100%;
    justify-content: center; gap: 0; border-bottom: 1px solid #1d1d1d;
    font-size: 0.9rem;
  }
  .top nav a { padding: 0 0.6rem; white-space: nowrap; }
  main { padding-top: 2.25rem; }
}

.pick-final { margin: 0.9rem 0 0; color: #c8c8c8; font-size: 0.9rem; text-align: center; }
.badge { display: inline-block; min-width: 1.6rem; padding: 0.12rem 0.5rem; border-radius: 4px;
  font-size: 0.78rem; font-weight: 600; text-align: center; letter-spacing: 0.02em; vertical-align: 1px; }
.badge-win { background: #143823; color: #63d68f; }
.badge-loss { background: #43201b; color: #ff8070; }
.badge-push, .badge-pending { background: #262626; color: #c8c8c8; }
.up { color: #63d68f; }
.down { color: #ff8070; }

/* Homepage record box */
main:has(.record-box) { flex-direction: column; align-items: center; }
.record-box { width: min(100%, 26rem); margin: 2.25rem auto 0; padding: 1rem 1rem 0.9rem;
  border: 1px solid #262626; border-radius: 10px; text-align: center; }
.record-box .kicker { margin-bottom: 0.75rem; }
.stats { display: flex; justify-content: space-around; gap: 0.5rem; }
.stats > div { flex: 1; }
.stat { display: block; font-size: clamp(1.35rem, 6vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; }
.stat-label { display: block; margin-top: 0.15rem; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.record-link { display: inline-block; margin-top: 0.85rem; padding: 0.3rem 0.5rem; font-size: 0.9rem; color: #d8d8d8; }
.yesterday { margin: 0.9rem auto 0; text-align: center; font-size: 0.875rem; color: #aaa; }

/* Record page + text pages */
body.page-record main, body.page-text main { padding-top: 2rem; }
.record-page, .text-page { width: 100%; max-width: 36rem; margin: 0 auto; padding-bottom: 2rem; }
.page-title { margin: 0; text-align: center; font-size: clamp(1.75rem, 6vw, 2.4rem); font-weight: 500; letter-spacing: -0.03em; }
.page-lede { margin: 0.5rem auto 0; max-width: 28rem; text-align: center; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.center { text-align: center; }
.pills { display: flex; justify-content: center; gap: 0.5rem; margin: 1.25rem 0 0; flex-wrap: wrap; }
.pills a { padding: 0.4rem 0.9rem; border: 1px solid #333; border-radius: 999px; font-size: 0.85rem; color: #c8c8c8; }
.pills a.on { background: #f4f4f4; border-color: #f4f4f4; color: #000; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.25rem 0 0; }
.tile { border: 1px solid #262626; border-radius: 10px; padding: 1rem 0.5rem; text-align: center; }
.pick-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.pick-list li { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  padding: 0.8rem 0.15rem; border-top: 1px solid #1d1d1d; }
.pick-list li:last-child { border-bottom: 1px solid #1d1d1d; }
.pl-side { font-size: 1rem; font-weight: 500; }
.pl-tag { font-size: 0.75rem; font-weight: 400; color: var(--muted); margin-left: 0.3rem; }
.pl-meta { margin-top: 0.15rem; font-size: 0.8rem; color: var(--muted); }
.note { margin: 1rem 0 0; font-size: 0.8rem; line-height: 1.5; color: #8a8a8a; }
.note a, .text-page a, .page-lede a, .sub a { color: #e6e6e6; text-decoration: underline; text-underline-offset: 0.2em; }
.text-page h2 { margin: 1.75rem 0 0.4rem; font-size: 1.05rem; font-weight: 600; }
.text-page p, .text-page li { color: #cfcfcf; font-size: 0.95rem; line-height: 1.6; }
.text-page p { margin: 0.4rem 0 0; }
.text-page ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.acct { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; margin: 1.5rem 0; text-align: left; font-size: 0.95rem; }
.acct dt { color: var(--muted); }
.acct dd { margin: 0; word-break: break-word; }
.auth .sub { text-align: center; line-height: 1.5; }
.foot-links { margin-bottom: 0.4rem !important; }
.foot-links a { color: #c8c8c8; text-decoration: none; }
.foot-links a:hover { color: #fff; }
.hero > .post-time { margin-top: 0.9rem; }
.email-pref { margin: 1rem 0 0; font-size: 0.95rem; color: #d8d8d8; }
.email-pref input { width: 1.1rem; height: 1.1rem; vertical-align: -3px; margin-right: 0.4rem; accent-color: #f4f4f4; }
/* free-pick email signup */
.free-list { width: min(100%, 22rem); margin: 1.1rem auto 0; text-align: center; }
.free-list label { display: block; font-size: 0.85rem; color: #aaa; margin-bottom: 0.45rem; }
.fl-row { display: flex; gap: 0.5rem; }
.fl-row input[type=email] { flex: 1; min-width: 0; height: 2.6rem; padding: 0 0.8rem; border: 1px solid #333;
  border-radius: 4px; background: #111; color: var(--fg); font: inherit; font-size: 0.95rem; }
.fl-row input[type=email]:focus { outline: 2px solid #f4f4f4; outline-offset: 1px; }
.btn.btn-ghost { width: auto; height: 2.6rem; min-height: 0; background: transparent; color: #f4f4f4; border: 1px solid #555; font-size: 0.9rem; }
.btn.btn-ghost:hover { background: #1a1a1a; color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (min-width: 640px) {
  .join:has(.free-list) { flex-direction: column; align-items: center; }
  .join:has(.free-list) > a.btn { width: min(100%, 22rem); min-width: 0; font-size: 1rem; }
  .join:has(.free-list) > form:not(.free-list) .btn { width: 100%; min-width: 0; font-size: 1rem; }
}
.join .free-list input[type=email] { height: 2.6rem; min-height: 0; }

/* Oct 6 polish: more breathing room on the homepage, slightly smaller pick */
.pick-side { font-size: clamp(2rem, 9vw, 3.9rem); }
.join .free-list { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid #222; }
.record-box { margin-top: 3rem; }
/* Oct 6 (2): tighter gap under the logo on big screens; room above the footer */
@media (min-width: 761px) { main { padding-top: clamp(2.5rem, 7vh, 4.5rem); } }
body:has(.record-box) .foot { margin-top: 3.25rem; }

/* record: locked subscriber pick (side hidden until final) */
.pl-locked { color: var(--muted); font-style: italic; }
/* Laptop widths (761-1180px): the bigger logo collided with the menu; stack menu under the logo */
@media (min-width: 761px) and (max-width: 1180px) {
  .top { flex-direction: column; }
  .top nav { position: static; transform: none; margin-top: 0.5rem; justify-content: center; }
}
/* Analysis (feature articles) */
.articles-list .articles-date { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.2rem; }
.feature-cta { margin-top: 2.5rem; padding: 1.25rem 1.25rem 0.5rem; border: 1px solid #262626; border-radius: 12px; text-align: center; }
.feature-cta .btn { display: inline-flex; align-items: center; justify-content: center; width: auto; padding: 0 1.5rem; }
.page-feature .article-body img { max-width: 100%; height: auto; border-radius: 10px; }

/* Homepage between picks: last night's result + where tonight's free pick goes */
.tonight-box { width: min(100%, 26rem); margin: 1.6rem auto 0; padding: 1rem 1.1rem 0.95rem; border: 1px solid #f5a623;
  border-radius: 12px; background: rgba(245, 166, 35, 0.07); text-align: center; }
.tonight-tag { display: inline-block; margin: 0; padding: 0.2rem 0.6rem; border-radius: 4px; background: #f5a623; color: #000;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.tonight-main { margin: 0.55rem 0 0; font-size: clamp(1.3rem, 5vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.tonight-sub { margin: 0.3rem 0 0; font-size: 0.875rem; color: #bdbdbd; text-wrap: balance; }
.last-side { margin: 0.5rem 0 0; font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; text-align: center; }
.stamp { display: inline-block; margin-left: 0.6rem; padding: 0.3rem 0.65rem; border-radius: 6px; font-size: 0.3em; font-weight: 700;
  letter-spacing: 0.1em; vertical-align: middle; }
.stamp-win { background: #143823; color: #63d68f; }
.stamp-loss { background: #43201b; color: #ff8070; }
.stamp-push { background: #262626; color: #c8c8c8; }
.last-all { margin: 0.6rem 0 0; font-size: 0.9rem; color: #9a9a9a; }

/* Learn page (Betting 101 videos) */
.learn .episode { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid #222; }
.learn .episode h2 { margin-top: 0.3rem; font-size: 1.2rem; line-height: 1.3; }
.episode-num { margin: 0 !important; font-size: 0.75rem !important; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted) !important; }
.episode-video { width: min(100%, 20rem); aspect-ratio: 9 / 16; margin: 1rem auto 1.1rem; border-radius: 12px; overflow: hidden; background: #111; }
.episode-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.episode-sources { margin-top: 0.9rem; font-size: 0.85rem; color: var(--muted); }
.episode-sources summary { cursor: pointer; color: #c8c8c8; }
.episode-sources li { font-size: 0.85rem !important; }
.learn-cta h2 { margin-top: 0 !important; }
.learn-cta .btn { margin-top: 0.4rem; }
.learn-cta-sub { font-size: 0.85rem !important; }
.learn-cta a.btn { color: #000; text-decoration: none; }
.learn-cta a.btn:hover { color: #111; }
/* Small phones (5 menu items incl. Learn): tighter menu so it never scrolls sideways */
@media (max-width: 380px) {
  .top nav { font-size: 0.8rem; }
  .top nav a { padding: 0 0.4rem; }
  .top nav a.on::after { left: 0.4rem; right: 0.4rem; }
}
