:root {
  --paper: #faf6ee;
  --card: #ffffff;
  --ink: #24303c;
  --ink-soft: #5b6a78;
  --ink-faint: #8b98a5;
  --navy: #0b2545;
  --gold: #f5c542;
  --sky: #cfe6f5;
  --green: #1e8e5a;
  --red: #c0392b;
  --line: #e7e0d2;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(11, 37, 69, 0.08), 0 6px 18px rgba(11, 37, 69, 0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Masthead ---------- */
.masthead {
  background: var(--navy);
  color: #fff;
  padding: 18px 20px 14px;
  border-bottom: 4px solid var(--gold);
}
.masthead-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-bell { font-size: 2.2rem; }
.masthead h1 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.edition-line { font-size: 0.85rem; color: #c8d4e4; margin-top: 2px; }
.edition-badge {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 6px;
}
.tagline {
  max-width: 860px;
  margin: 8px auto 0;
  font-size: 0.85rem;
  font-style: italic;
  color: #9fb2ca;
}
.settings-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  font-size: 1.15rem;
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.15s;
}
.settings-btn:hover { background: rgba(255, 255, 255, 0.22); }

/* ---------- Board ---------- */
.board {
  max-width: 860px;
  margin: 22px auto 30px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.loading { text-align: center; padding: 70px 0; color: var(--ink-soft); }
.loading-bell { font-size: 2.6rem; animation: ring 1.2s ease-in-out infinite; display: inline-block; transform-origin: top center; }
@keyframes ring {
  0%, 60%, 100% { transform: rotate(0); }
  10% { transform: rotate(14deg); } 20% { transform: rotate(-12deg); }
  30% { transform: rotate(9deg); } 40% { transform: rotate(-6deg); } 50% { transform: rotate(3deg); }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
}
.card h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card h2 .mod-emoji { font-size: 1.05rem; }

.module-error { color: var(--ink-faint); font-size: 0.9rem; font-style: italic; }

/* ---------- Greeting ---------- */
.greeting-card {
  background: linear-gradient(135deg, #fffdf6, #fdf3d7);
  border-color: #eeddac;
}
.greeting-card .greeting-text p { margin-bottom: 10px; font-size: 1.02rem; }
.greeting-card .greeting-text p:last-child { margin-bottom: 0; }

/* ---------- Weather ---------- */
.wx-now {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 10px;
}
.wx-temp { font-size: 2.3rem; font-weight: 800; }
.wx-desc { font-size: 1.05rem; }
.wx-meta { color: var(--ink-soft); font-size: 0.86rem; }
.wx-strip-wrap { overflow-x: auto; }
.wx-strip { min-width: 620px; }
.wx-row { display: grid; grid-template-columns: repeat(16, 1fr); text-align: center; font-size: 0.74rem; }
.wx-row.labels { color: var(--ink-faint); margin-bottom: 2px; }
.wx-row.emojis { font-size: 0.95rem; }
.wx-row .rain { color: #2471a3; }
.wx-row .wind { color: var(--ink-soft); }
svg.wx-chart, svg.tide-chart { width: 100%; height: auto; display: block; }
.sun-row {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 0.86rem; color: var(--ink-soft);
}

/* ---------- Tides ---------- */
.tide-events { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.tide-pill {
  border: 1px solid var(--line);
  background: #f4f9fd;
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 0.85rem;
  text-align: center;
}
.tide-pill b { display: block; font-size: 0.95rem; }
.tide-note { margin-top: 8px; font-size: 0.78rem; color: var(--ink-faint); }

/* ---------- Markets ---------- */
.mkt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.mkt-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mkt-name { font-size: 0.78rem; color: var(--ink-soft); font-weight: 600; }
.mkt-why { font-size: 0.7rem; color: var(--ink-faint); }
.mkt-price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mkt-price { font-size: 1.05rem; font-weight: 700; }
.mkt-change { font-size: 0.8rem; font-weight: 700; }
.up { color: var(--green); }
.down { color: var(--red); }
.mkt-spark { margin-top: 4px; }
.mkt-section-label {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-top: 6px;
}
.mkt-asof { margin-top: 10px; font-size: 0.75rem; color: var(--ink-faint); }

/* ---------- Sky ---------- */
.sky-row { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 0.95rem; }
.sky-item b { font-weight: 700; }
.sky-item .big { font-size: 1.5rem; margin-right: 6px; vertical-align: -3px; }

/* ---------- The Big One ---------- */
.bigone-card {
  background: var(--navy);
  border: none;
  color: #fff;
}
.bigone-card h2 { color: var(--gold); }
.bigone-title {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 6px;
}
.bigone-title:hover { color: var(--gold); }
.bigone-blurb { font-size: 0.95rem; color: #c8d4e4; }
.bigone-blurb .ann-source { color: #7e91ab; }

/* ---------- Announced Yesterday ---------- */
.ann-list { list-style: none; }
.ann-chip {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
  background: var(--sky);
  border-radius: 999px;
  padding: 2px 9px;
  margin-bottom: 3px;
  margin-right: 6px;
  vertical-align: 2px;
}
.ov-owner {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-style: italic;
}
.mkt-spotlight {
  margin-top: 12px;
  padding: 10px 12px;
  background: #fdf6dd;
  border: 1px solid #eeddac;
  border-radius: 9px;
  font-size: 0.87rem;
}
.ann-item { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ann-item:last-child { border-bottom: none; }
.ann-item a { font-weight: 700; color: var(--navy); text-decoration: none; font-size: 0.98rem; }
.ann-item a:hover { text-decoration: underline; }
.ann-item p { font-size: 0.88rem; color: var(--ink); margin-top: 2px; }
.ann-source { color: var(--ink-faint); }

/* ---------- Events ---------- */
.event-list { list-style: none; }
.event-row {
  display: flex; align-items: baseline; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem;
}
.event-row:last-child { border-bottom: none; }
.event-date { flex: 0 0 84px; color: var(--ink-soft); font-size: 0.8rem; white-space: nowrap; }
.event-row.tonight .event-date { color: var(--red); font-weight: 800; }
.event-main { flex: 1; min-width: 0; }
.event-main a { color: var(--navy); font-weight: 700; text-decoration: none; }
.event-main a:hover { text-decoration: underline; }
.event-venue { color: var(--ink-soft); font-size: 0.85rem; }
.event-time { color: var(--ink-faint); font-size: 0.8rem; white-space: nowrap; }

/* ---------- Kids Eat Free ---------- */
.kef-list { list-style: none; }
.kef-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem;
}
.kef-row:last-child { border-bottom: none; }
.kef-hood { color: var(--ink-faint); font-size: 0.82rem; }
.kef-when { color: var(--ink-soft); font-size: 0.82rem; white-space: nowrap; }

/* ---------- Happy Hour ---------- */
.hh-list { list-style: none; }
.hh-row { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.hh-row:last-child { border-bottom: none; }
.hh-main a { color: var(--navy); font-weight: 700; text-decoration: none; }
.hh-main a:hover { text-decoration: underline; }
/* Freshly announced. Red, matching how the calendar flags what's new/tonight —
   the app's gold (#f5c542) is a fill colour and doesn't read as text on white. */
.hh-new {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em;
  color: var(--red); vertical-align: 1px;
}
.hh-area { color: var(--ink-faint); font-size: 0.82rem; }
.hh-deal { display: block; margin-top: 2px; color: var(--ink); }
.hh-details { display: block; margin-top: 1px; color: var(--ink-soft); font-size: 0.82rem; }

/* ---------- FitDuel ---------- */
.fd-list { list-style: none; }
.fd-row {
  display: flex; align-items: baseline; gap: 10px;
  padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem;
}
.fd-row:last-child { border-bottom: none; }
.fd-rank { flex: 0 0 28px; }
.fd-name { flex: 1; font-weight: 600; }
.fd-pts { white-space: nowrap; }
.fd-days { color: var(--ink-faint); font-size: 0.8rem; white-space: nowrap; }
.fd-yesterday { margin-top: 10px; font-size: 0.83rem; color: var(--ink-soft); }
.fd-ghost { color: var(--red); }

/* ---------- Suggestion Box ---------- */
.request-box {
  max-width: 860px;
  margin: 8px auto 26px;
  padding: 0 16px;
}
.request-inner {
  background: var(--navy);
  border: 3px dashed var(--gold);
  border-radius: var(--radius);
  padding: 22px 24px;
  color: #fff;
  box-shadow: var(--shadow);
}
.request-inner h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; }
.request-lead { font-size: 0.9rem; color: #c8d4e4; margin-bottom: 16px; line-height: 1.5; }
.req-label {
  display: block; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold); margin: 12px 0 6px;
}
.req-opt { color: #7e91ab; text-transform: none; letter-spacing: 0; font-weight: 400; }
#request-form textarea, #request-form input, #request-form select {
  width: 100%; box-sizing: border-box;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9px; color: #fff;
  padding: 10px 12px; font-size: 0.92rem; font-family: inherit;
}
#request-form select option { color: var(--ink); }
#request-form textarea::placeholder, #request-form input::placeholder { color: #7e91ab; }
#request-form textarea:focus, #request-form input:focus, #request-form select:focus {
  outline: 2px solid var(--gold); border-color: transparent;
}
.req-audience { display: flex; flex-wrap: wrap; gap: 8px; }
.req-pill { position: relative; cursor: pointer; }
.req-pill input { position: absolute; opacity: 0; width: 100% !important; height: 100%; cursor: pointer; }
.req-pill span {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35); font-size: 0.88rem; font-weight: 600;
  transition: all 0.12s;
}
.req-pill input:checked + span { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.req-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .req-row { grid-template-columns: 1fr; } }
.req-group-fields {
  margin-top: 4px; padding: 4px 12px 12px;
  background: rgba(245, 197, 66, 0.08);
  border-radius: 10px;
}
.req-submit {
  margin-top: 16px; background: var(--gold); color: var(--navy);
  border: none; border-radius: 10px; font-size: 1rem; font-weight: 800;
  padding: 11px 24px; cursor: pointer; transition: transform 0.1s;
}
.req-submit:hover { transform: translateY(-1px); }
.req-submit:disabled { opacity: 0.6; cursor: default; }
.req-status { margin-top: 10px; font-size: 0.9rem; color: var(--gold); }

/* ---------- Kite & Golf pages ---------- */
.wx-row.dirs { font-size: 0.62rem; color: var(--ink-faint); letter-spacing: 0.02em; }
.kite-dir { font-weight: 700; }
.ride-great { color: var(--green); }
.ride-ok { color: #e0912f; }
.ride-no { color: var(--ink-faint); }
.golf-pill span { border-color: var(--line); color: var(--ink); }
.golf-pill input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.course-list { list-style: none; }
.course-row {
  display: flex; justify-content: space-between; gap: 16px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.course-row:last-child { border-bottom: none; }
.course-main { flex: 1; font-size: 0.95rem; }
.course-blurb { font-size: 0.85rem; color: var(--ink-soft); margin-top: 2px; line-height: 1.45; }
.course-links { text-align: right; white-space: nowrap; }
.course-book {
  display: inline-block; background: var(--navy); color: #fff; font-size: 0.8rem;
  font-weight: 700; text-decoration: none; border-radius: 7px; padding: 6px 12px;
}
.course-phone { display: block; margin-top: 6px; font-size: 0.75rem; color: var(--ink-faint); }
.masthead-nav {
  max-width: 860px; margin: 10px auto 0; display: flex; gap: 14px; font-size: 0.82rem;
}
.masthead-nav a { color: #c8d4e4; text-decoration: none; font-weight: 600; }
.masthead-nav a:hover { color: var(--gold); }

/* ---------- Old Village real estate ---------- */
.ov-list { list-style: none; }
.ov-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem;
}
.ov-row:last-child { border-bottom: none; }
.ov-what { flex: 1; min-width: 0; }
.ov-sub { color: var(--ink-faint); font-size: 0.8rem; }
.ov-price { font-weight: 800; white-space: nowrap; }
.ov-date { color: var(--ink-soft); font-size: 0.8rem; white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 10px 16px 40px; color: var(--ink-faint); font-size: 0.8rem; }
.footer .rule { font-style: italic; margin-bottom: 8px; color: var(--ink-soft); }
.footer a { color: inherit; }

/* ---------- Settings dialog ---------- */
.settings-dialog {
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(11, 37, 69, 0.3);
  padding: 0;
  width: min(560px, 94vw);
  max-height: 88vh;
}
/* Only lay it out as a flex column when OPEN — otherwise this display value
   overrides the browser's `display:none` for a closed <dialog> and it never hides. */
.settings-dialog[open] { display: flex; flex-direction: column; }
.settings-dialog::backdrop { background: rgba(11, 37, 69, 0.45); }
.settings-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2;
}
.settings-body { overflow-y: auto; padding: 8px 22px; }
.settings-actions { padding: 14px 22px; border-top: 1px solid var(--line); }
.set-block { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.set-block:last-child { border-bottom: none; }
.set-block h3 { font-size: 0.95rem; color: var(--navy); margin-bottom: 6px; }
.set-sub { font-weight: 400; color: var(--ink-faint); font-size: 0.8rem; }
.set-empty { font-size: 0.85rem; color: var(--ink-faint); padding: 6px 2px; }
.set-emoji { font-size: 1rem; }
.set-bucket { margin-bottom: 10px; }
.set-bucket-h { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-faint); margin: 8px 0 6px; }
.set-card { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.set-card-h { display: flex; align-items: center; gap: 8px; }
.set-card-h b { flex: 1; font-size: 0.92rem; }
.set-add-btn { border: 1px solid var(--navy); background: var(--navy); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.set-card-desc { font-size: 0.83rem; color: var(--ink); margin-top: 5px; line-height: 1.4; }
.set-card-meta { font-size: 0.72rem; color: var(--ink-faint); margin-top: 5px; }
.set-rec { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.set-rec-top { display: flex; align-items: center; justify-content: space-between; }
.set-rec-body { font-size: 0.86rem; color: var(--ink); margin-top: 5px; line-height: 1.4; }
.rec-who { font-size: 0.75rem; color: var(--ink-faint); }
.rec-badge { font-size: 0.7rem; font-weight: 700; border-radius: 999px; padding: 2px 9px; }
.rec-queued { background: #eef1f4; color: var(--ink-soft); }
.rec-accepted { background: #e6f0ff; color: #1e5bbf; }
.rec-rejected { background: #fdecea; color: var(--red); }
.rec-shipped { background: #eef3ea; color: var(--green); }
.rec-admin { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.rec-admin button { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 3px 8px; font-size: 0.72rem; cursor: pointer; color: var(--ink-soft); }
.rec-admin button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.set-admin-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.set-admin-row b { flex: 1; }
.set-admin-row select { border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; font-size: 0.82rem; background: #fff; }
.settings-dialog h2 { font-size: 1.1rem; }
#settings-lead { padding: 12px 22px 0; }

/* Landing-page settings — collapsible sections by audience */
.set-sec { border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; overflow: hidden; background: #fff; }
.set-sec > summary {
  list-style: none; cursor: pointer; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between;
  font-weight: 800; color: var(--navy); font-size: 0.98rem; background: #f7f4ec;
}
.set-sec > summary::-webkit-details-marker { display: none; }
.set-sec > summary::after { content: '▸'; color: var(--ink-faint); font-size: 0.9rem; transition: transform .15s; margin-left: 8px; }
.set-sec[open] > summary::after { transform: rotate(90deg); }
.set-sec-title { flex: 1; }
.set-count { font-size: 0.72rem; font-weight: 700; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; margin-left: auto; }
.set-sec-body { padding: 10px 12px; }
/* Flat chronological widget organizer (matches the page order) */
.set-widgets { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 10px 0; }
.set-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.set-badge { font-size: 0.68rem; font-weight: 700; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.sb-everyone { background: #e6f0ff; color: #1e5bbf; }
.sb-group { background: #fdf1d6; color: #8a6d10; }
.sb-private { background: #eee7f6; color: #6b3fa0; }
.sb-sug { background: #eef3ea; color: var(--green); }
.set-recs-block { margin: 16px 0 4px; }
.set-recs-block h3 { font-size: 0.95rem; color: var(--navy); margin-bottom: 8px; }
.set-mod { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.set-mod:last-child { border-bottom: none; }
.set-mod-main { flex: 1; min-width: 0; }
.set-mod-h { font-size: 0.94rem; }
.set-mod-h b { font-weight: 700; }
.set-mod-desc { font-size: 0.83rem; color: var(--ink); margin-top: 3px; line-height: 1.4; }
.set-mod-meta { font-size: 0.72rem; color: var(--ink-faint); margin-top: 4px; }
.set-mod-admin { font-size: 0.75rem; color: var(--ink-soft); margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.set-mod-admin select { border: 1px solid var(--line); border-radius: 8px; padding: 3px 6px; font-size: 0.78rem; background: #fff; }
.set-mod-ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.set-toggle { border: 1px solid var(--navy); background: var(--navy); color: #fff; border-radius: 999px; padding: 5px 14px; font-size: 0.8rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.set-toggle.on { background: #eef3ea; color: var(--green); border-color: #cfe3c6; }
.set-mod .arrows { display: flex; gap: 4px; }
.set-mod .arrows button { border: 1px solid var(--line); background: #f7f4ec; border-radius: 6px; width: 24px; height: 24px; cursor: pointer; font-size: 0.75rem; }
.set-mod .arrows button:disabled { opacity: 0.3; cursor: default; }
.rec-built { font-size: 0.72rem; color: var(--green); font-weight: 700; }
.settings-hint { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 14px; }
.settings-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.settings-list li {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px;
}
.settings-list label { flex: 1; display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.92rem; }
.settings-list .arrows { display: flex; gap: 4px; }
.settings-list .arrows button {
  border: 1px solid var(--line); background: #f7f4ec; border-radius: 6px;
  width: 26px; height: 26px; cursor: pointer; font-size: 0.8rem;
}
.settings-list .arrows button:disabled { opacity: 0.3; cursor: default; }
.settings-actions { display: flex; justify-content: space-between; margin-top: 16px; }
.btn-primary {
  background: var(--navy); color: #fff; border: none; border-radius: 8px;
  padding: 8px 18px; font-weight: 700; cursor: pointer;
}
.btn-ghost {
  background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 14px; color: var(--ink-soft); cursor: pointer;
}

/* Real-estate pin map (shared SVG, inlined live on the dashboard) */
.re-map { margin: 2px 0 12px; }
.re-map svg { width: 100%; height: auto; display: block; }
/* Real Charleston map (Leaflet + OpenStreetMap) */
.re-leaflet { height: 320px; width: 100%; border-radius: 10px; margin: 2px 0 12px; overflow: hidden; z-index: 0; }
.leaflet-container { background: #eaf3fb; font: inherit; }
/* Price-band legend for the 30-day sales layer */
.re-legend {
  background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 8px; font-size: 0.68rem; color: var(--ink-soft); line-height: 1.5;
  box-shadow: 0 1px 3px rgba(11, 37, 69, 0.15);
}
.re-lg-title { font-weight: 800; color: var(--navy); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }
.re-lg-item { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.re-lg-item i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #fff; box-shadow: 0 0 0 1px rgba(11,37,69,.2); flex: 0 0 auto; }
.re-lg-item i.re-lg-biz { background: #7c3aed; border-radius: 2px; transform: rotate(45deg); }
.re-lg-item i.re-lg-feat { background: none; border: 2px dashed #f5c542; box-shadow: none; width: 8px; height: 8px; }
/* New-business permit marker — a purple diamond, distinct from every sale dot */
.re-biz-icon i {
  display: block; width: 11px; height: 11px; margin: 1.5px;
  background: #7c3aed; border: 2px solid #fff; border-radius: 2px;
  transform: rotate(45deg); box-shadow: 0 0 0 1px rgba(11,37,69,.25);
}
.leaflet-popup-content { font-size: 0.9rem; line-height: 1.4; }
.leaflet-popup-content b { color: var(--navy); }
.src-link { color: var(--navy); font-weight: 700; text-decoration: none; text-transform: none; font-size: 0.7rem; }
.src-link:hover { text-decoration: underline; }
.ov-link { color: var(--navy); font-weight: 700; text-decoration: none; }
.ov-link:hover { text-decoration: underline; }
.ov-pin { font-size: 0.8rem; }

/* Rolling 30-day market pulse — always-on, so the card never sits empty */
.re-pulse {
  margin: 12px 0 2px; padding: 12px; border-radius: 10px;
  background: linear-gradient(180deg, #eef3ea, #f6efe0); border: 1px solid var(--line);
}
.re-pulse-head {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 8px;
}
.re-stats { display: flex; gap: 8px; }
.re-stat {
  flex: 1 1 0; text-align: center; background: var(--card); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 4px;
}
.re-stat-n {
  display: block; font-size: 1.15rem; font-weight: 800; color: var(--navy);
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.re-stat-l { display: block; font-size: 0.68rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.03em; margin-top: 2px; }
.re-pulse-vs { font-weight: 400; text-transform: none; letter-spacing: 0; }
.re-delta { display: block; font-size: 0.7rem; font-weight: 700; margin-top: 2px; }
.re-pulse-line .re-delta { display: inline; margin: 0; font-size: 0.85rem; }
.re-delta.up { color: var(--green); }
.re-delta.down { color: var(--red); }
.re-pulse-line { margin-top: 8px; font-size: 0.85rem; color: var(--ink-soft); }
.re-pulse-line b { color: var(--navy); }
.re-pulse-price { font-weight: 800; color: var(--navy); }
.re-pulse-n { color: var(--ink-faint); font-size: 0.8rem; }

/* Economic calendar — local read + upcoming reports + earnings on deck */
.ec-local { display: flex; gap: 8px; margin-bottom: 4px; }
.ec-stat {
  flex: 1 1 0; text-align: center; background: linear-gradient(180deg, #eef3ea, #f6efe0);
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 4px;
}
.ec-stat-n { display: block; font-size: 1.15rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.1; }
.ec-stat-l { display: block; font-size: 0.66rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.03em; margin-top: 2px; }
.ec-local-note { font-size: 0.72rem; color: var(--ink-faint); margin: 4px 0 2px; }
.ec-lead { font-size: 0.85rem; color: var(--ink-soft); margin: 8px 0 0; }
.ec-group-label { font-size: 0.75rem; font-weight: 700; color: var(--ink-soft); margin: 12px 0 4px; }
.ec-list { list-style: none; }
.ec-row { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.ec-row:last-child { border-bottom: none; }
.ec-cat { flex: 0 0 auto; font-size: 0.95rem; }
.ec-what { flex: 1; min-width: 0; }
.ec-what b { color: var(--navy); font-weight: 700; }
.ec-meta { color: var(--ink-faint); font-size: 0.78rem; }
.ec-when { flex: 0 0 auto; color: var(--ink-soft); font-size: 0.8rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ec-earn { list-style: none; }
.ec-erow { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.ec-erow:last-child { border-bottom: none; }
.ec-tick { flex: 0 0 auto; font-weight: 800; color: var(--navy); font-size: 0.85rem; min-width: 44px; }
.ec-ename { flex: 1; min-width: 0; color: var(--ink); font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-cap { color: var(--ink-faint); font-size: 0.78rem; }
.ec-localtag { font-size: 0.62rem; color: #fff; background: var(--navy); border-radius: 5px; padding: 1px 5px; vertical-align: middle; }
.ec-erow.is-local .ec-ename { font-weight: 600; }

/* Today in LGBTQ Charleston (Drew's Suggestion Box request) */
.pride-card::before {
  content: ""; display: block; height: 4px; margin: -4px -4px 12px; border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, #e8462e, #f2a93b, #f4d03f, #2ecc71, #3498db, #8e44ad);
}
.pride-chip {
  color: #fff;
  background: linear-gradient(90deg, #e8462e, #f2a93b, #2ecc71, #3498db, #8e44ad);
}

/* Fenway Report + an Italian joke (Hagony's Suggestion Box request) */
.rs-lines { display: flex; flex-direction: column; gap: 7px; }
.rs-line { font-size: 0.95rem; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rs-meta { color: var(--ink-soft); font-size: 0.83rem; }
.rs-badge {
  display: inline-block; min-width: 18px; text-align: center; font-weight: 800;
  font-size: 0.72rem; padding: 2px 7px; border-radius: 6px; color: #fff;
}
.rs-badge.win { background: var(--green); }
.rs-badge.loss { background: var(--red); }
.rs-next {
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; color: var(--navy);
  background: var(--sky); border-radius: 999px; padding: 2px 8px;
}
.rs-joke {
  margin-top: 12px; padding: 10px 12px; background: #fdf6dd; border: 1px solid #eeddac;
  border-radius: 8px; font-size: 0.9rem; color: var(--ink); font-style: italic;
}
.rs-flag { font-style: normal; }

/* FitDuel Commissioner — the aggressive second summary (its own block) */
.fd-commish {
  background: var(--navy); border-radius: 10px; padding: 13px 15px; margin: 2px 0 14px;
}
.fd-commish-tag {
  display: inline-block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 5px;
}
.fd-commish p { font-size: 0.94rem; line-height: 1.5; color: #eef2f7; }

/* FitDuel standings board — yesterday's min/push/day pts + season total (flex
   rows so the header and body columns always line up) */
.fd-board { margin-top: 4px; }
.fd-row { display: flex; align-items: center; gap: 6px; padding: 8px 2px; border-bottom: 1px solid var(--line); }
.fd-row:last-child { border-bottom: none; }
.fd-head { padding: 4px 2px; border-bottom: 2px solid var(--line); }
.fd-head span {
  font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-faint);
}
.fd-row .fd-rank { flex: 0 0 22px; text-align: center; color: var(--ink-soft); }
.fd-row .fd-name {
  flex: 1 1 auto; min-width: 0; text-align: left; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fd-head .fd-name { font-weight: 700; }
.fd-row .fd-stat {
  flex: 0 0 44px; text-align: right; font-variant-numeric: tabular-nums;
  color: var(--ink-soft); white-space: nowrap;
}
.fd-row .fd-day { color: var(--green); font-weight: 700; }
.fd-head .fd-day { color: var(--ink-faint); }
.fd-row .fd-total { flex-basis: 50px; color: var(--ink); }
.fd-head .fd-total { color: var(--ink-faint); }
.fd-row .fd-total b { font-size: 1.02rem; }
.fd-ghosted .fd-name { color: var(--ink-soft); font-weight: 500; }
.fd-legend { margin-top: 8px; font-size: 0.75rem; color: var(--ink-faint); }

/* FitDuel yesterday's check-ins — proof photos, notes, comment counts */
.fd-checkins-head {
  margin: 16px 0 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink-faint);
}
.fd-checkins { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.fd-checkin { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.fd-photo { display: block; width: 100%; height: 120px; object-fit: cover; background: #eef1f4; }
.fd-photo-none { display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.fd-checkin-body { padding: 8px 10px; }
.fd-checkin-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
.fd-cc { font-size: 0.75rem; font-weight: 700; color: #0e7c66; }
.fd-chips { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px; }
.fd-chips span { font-size: 0.7rem; background: #eef3f7; color: var(--ink-soft); border-radius: 999px; padding: 2px 7px; }
.fd-note { margin-top: 6px; font-size: 0.8rem; color: var(--ink); line-height: 1.4; word-break: break-word; }
.fd-scenery { margin-top: 5px; font-size: 0.72rem; color: var(--ink-faint); }

/* Swimsuit Edition */
.swimsuit-card { text-align: center; }
.swim-img { display: block; width: 100%; max-width: 420px; margin: 0 auto; border-radius: 10px; }
.swim-name { margin-top: 10px; font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.swim-born { margin-top: 2px; font-size: 0.8rem; color: var(--ink-soft); }
.swim-bio { margin: 8px auto 0; max-width: 460px; text-align: left; font-size: 0.9rem; line-height: 1.55; color: var(--ink); }
.swim-known { margin-top: 8px; font-size: 0.75rem; color: var(--ink-faint); }
.swim-cap { margin-top: 3px; font-size: 0.85rem; font-style: italic; color: var(--ink-soft); }
.swim-link { display: inline-block; margin-top: 6px; font-size: 0.85rem; color: var(--navy); font-weight: 700; text-decoration: none; }

/* 🕺 Male Model of the Day (Drew's widget) — swimsuit layout + a quote block */
.mm-quote {
  margin: 10px auto 0; max-width: 460px; font-size: 0.92rem; font-style: italic;
  color: var(--navy); border-left: 3px solid var(--gold); padding-left: 10px; text-align: left;
}
.mm-quote-note { font-size: 0.75rem; font-style: normal; color: var(--ink-faint); }
.mm-meta { margin-top: 8px; font-size: 0.72rem; color: var(--ink-faint); }

/* Golf Course of the Day */
.golf-img { display: block; width: 100%; border-radius: 10px; }
.golf-name { margin-top: 10px; font-size: 1.05rem; font-weight: 800; }
.golf-name a { color: var(--navy); text-decoration: none; }
.golf-loc { font-size: 0.82rem; color: var(--ink-soft); margin-top: 2px; }
.golf-story { margin-top: 8px; font-size: 0.9rem; line-height: 1.5; color: var(--ink); }
.golf-credit { margin-top: 8px; font-size: 0.68rem; color: var(--ink-faint); }

/* Charleston Company of the Day */
.co-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.co-name { font-size: 1.15rem; font-weight: 800; color: var(--navy); text-decoration: none; }
.co-name:hover { text-decoration: underline; }
.co-ticker { font-size: 0.7rem; font-weight: 800; color: #fff; background: var(--navy); border-radius: 6px; padding: 2px 7px; letter-spacing: 0.03em; }
.co-ticker.co-private { color: var(--ink-soft); background: none; border: 1px solid var(--line); }
.co-meta { font-size: 0.82rem; color: var(--ink-soft); margin-top: 3px; }
.co-quote { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.co-price { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.co-chg { font-size: 0.82rem; font-weight: 700; }
.co-chg.up { color: var(--green); }
.co-chg.down { color: var(--red); }
.company-card .mkt-spark { margin-top: 6px; width: 100%; max-width: 320px; }
.co-story { margin-top: 10px; font-size: 0.92rem; line-height: 1.5; color: var(--ink); }

/* Viewer bar — signed-in greeting / anonymous "get your link" nudge */
.viewer-bar {
  max-width: 760px; margin: 0 auto 14px; padding: 10px 16px; border-radius: 10px;
  font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: center;
}
.viewer-bar.signed-in { background: #eef3ea; color: var(--ink); border: 1px solid #d9e4d2; }
.viewer-bar.anon { background: #fdf6dd; color: var(--ink); border: 1px solid #eeddac; }
.viewer-bar a { color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; }
.viewer-bar a:hover { text-decoration: underline; }

/* Anonymous teaser — opening announcement, then the next widget fades out */
.teaser-wrap { position: relative; max-height: 260px; overflow: hidden; border-radius: var(--radius); }
.teaser-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 210px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 55%, #faf6ee 100%);
}
.teaser-cta { text-align: center; border: 2px dashed var(--gold); }
.teaser-lead { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; margin: 4px auto 14px; max-width: 460px; }
.teaser-form { display: flex; gap: 8px; max-width: 420px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.teaser-form input { flex: 1; min-width: 190px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 1rem; box-sizing: border-box; }
.teaser-form button { padding: 11px 18px; background: var(--navy); color: #fff; border: none; border-radius: 10px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.teaser-form button:disabled { opacity: 0.6; cursor: default; }
.teaser-status { margin-top: 12px; font-size: 0.92rem; }
.teaser-status.ok { color: var(--green); }
.teaser-status.err { color: var(--red); }
.teaser-alt { display: inline-block; margin-top: 12px; font-size: 0.82rem; color: var(--navy); font-weight: 700; text-decoration: none; }

@media (max-width: 560px) {
  .masthead h1 { font-size: 1.15rem; }
  .brand-bell { font-size: 1.8rem; }
  .wx-temp { font-size: 1.9rem; }
}

/* 🎙️ Announcements tone (Hosts) — settings picker + greeting byline */
.greeting-host { margin-top: 10px; font-size: 0.78rem; color: var(--ink-faint); }
.greeting-host b { color: var(--navy); }
.set-hosts {
  margin: 0 0 18px; padding: 14px; border: 1px solid var(--line); border-radius: 10px;
  background: linear-gradient(180deg, #fdf6dd, #fffdf6);
}
.set-hosts h3 { font-size: 0.95rem; color: var(--navy); margin-bottom: 4px; }
.set-hosts-lead { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 10px; }
.host-select {
  width: 100%; padding: 9px 10px; font-size: 0.95rem; font-weight: 600; color: var(--navy);
  border: 1px solid var(--line); border-radius: 8px; background: var(--card);
}
.set-hosts-tag { margin-top: 8px; font-size: 0.8rem; font-style: italic; color: var(--ink-soft); }
.set-hosts-note { margin-top: 6px; font-size: 0.75rem; color: var(--gold); font-weight: 700; }

/* Host portrait beside the opening announcement (every day) */
.greeting-row { display: flex; gap: 14px; align-items: flex-start; }
.greeting-col { flex: 1; min-width: 0; }
.greeting-art {
  flex: 0 0 auto; width: 92px; height: auto; border-radius: 10px;
  border: 1px solid #eeddac; display: block;
}
@media (max-width: 420px) { .greeting-art { width: 68px; } .greeting-row { gap: 10px; } }

/* Byline as a caption under the host portrait */
.greeting-art-col { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 92px; }
.greeting-art-col .greeting-art { width: 92px; margin: 0; }
.greeting-host-cap { margin-top: 0; font-size: .66rem; line-height: 1.35; text-align: center; }
@media (max-width: 420px) {
  .greeting-art-col { width: 68px; }
  .greeting-art-col .greeting-art { width: 68px; }
  .greeting-host-cap { font-size: .6rem; }
}

/* Suggestion box: read-only "submitting as you" for signed-in readers */
.req-asyou { font-size: .9rem; color: var(--ink-soft); padding: 8px 0; }
.req-asyou b { color: var(--navy); }

/* New in Business — stacked, scannable rows */
.biz-group { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin: 14px 0 4px; }
.biz-list { list-style: none; }
.biz-item { padding: 8px 0; border-bottom: 1px solid var(--line); }
.biz-item:last-child { border-bottom: none; }
.biz-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.biz-what { font-weight: 600; color: var(--ink); }
.biz-what a { color: var(--navy); text-decoration: none; }
.biz-what a:hover { text-decoration: underline; }
.biz-date { flex: 0 0 auto; font-size: 0.78rem; color: var(--ink-soft); white-space: nowrap; }
.biz-meta { font-size: 0.8rem; color: var(--ink-faint); margin-top: 2px; }

/* New in Business — map view. Map/List toggle, the Leaflet canvas, and the
   per-jurisdiction colour that ties a list heading to its pins. */
.biz-pane[hidden] { display: none; }
.biz-views { display: flex; gap: 6px; margin: 2px 0 10px; }
.biz-view-btn {
  font: inherit; font-size: 0.76rem; font-weight: 700; cursor: pointer;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
}
.biz-view-btn:hover { border-color: var(--navy); color: var(--navy); }
.biz-view-btn.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.biz-leaflet { height: 320px; width: 100%; border-radius: 10px; overflow: hidden; z-index: 0; }
/* Keep the legend readable on a phone: it sits above the attribution strip,
   which is the one thing narrow enough to collide with it. */
.biz-leaflet .leaflet-control-attribution { font-size: 0.62rem; }
.biz-leaflet .leaflet-bottom.leaflet-left { z-index: 800; }
.biz-maphint { font-size: 0.75rem; color: var(--ink-faint); margin-top: 6px; }
/* Diamond pin, colour injected per jurisdiction — same shape the real-estate
   map uses for permits, so a business filing looks the same on both maps. */
.biz-pin i {
  display: block; width: 11px; height: 11px; margin: 2.5px;
  border: 2px solid #fff; border-radius: 2px;
  transform: rotate(45deg); box-shadow: 0 0 0 1px rgba(11, 37, 69, 0.25);
}
.biz-swatch {
  display: inline-block; width: 8px; height: 8px; margin-right: 6px;
  border-radius: 2px; transform: rotate(45deg); vertical-align: middle;
}
.biz-pin-btn {
  font: inherit; font-size: 0.72rem; font-weight: 700; cursor: pointer;
  margin-top: 6px; padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--navy);
}
.biz-pin-btn:hover { border-color: var(--navy); background: rgba(11, 37, 69, 0.06); }
.biz-nopin { display: inline-block; margin-top: 6px; font-size: 0.72rem; color: var(--ink-faint); }

/* The Economy, Lately — beat/miss + vs-estimate coloring */
.ec-up { color: var(--green); font-weight: 700; }
.ec-down { color: var(--red); font-weight: 700; }
.ec-flat { color: var(--ink-faint); }
.ec-erow .ec-tick a { color: var(--navy); text-decoration: none; }
.ec-erow .ec-tick a:hover { text-decoration: underline; }

/* Earnings, Lately — one card per company with a plain-English synopsis */
.ec-cards { list-style: none; }
.ec-card { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ec-card:last-child { border-bottom: none; }
.ec-card-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.ec-co { font-weight: 700; color: var(--navy); text-decoration: none; }
.ec-co:hover { text-decoration: underline; }
.ec-tk { font-size: 0.72rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.ec-badge { font-size: 0.72rem; font-weight: 700; }
.ec-card .ec-when { margin-left: auto; font-size: 0.75rem; color: var(--ink-soft); }
.ec-summary { margin: 4px 0 2px; font-size: 0.9rem; line-height: 1.5; color: var(--ink); }
.ec-eps { font-size: 0.78rem; color: var(--ink-soft); }
.ec-eps .ec-meta { color: var(--ink-faint); }
.ec-card.is-local { border-left: 3px solid var(--gold); padding-left: 10px; }

/* 🎬 Quote of the Day — the 90s/2000s canon, tied to this morning */
.qt-quote {
  margin: 0; padding: 14px 16px;
  background: #fdf6dd; border: 1px solid #eeddac; border-left: 5px solid var(--gold);
  border-radius: 10px;
}
.qt-line {
  margin: 0; font-size: 1.22rem; line-height: 1.45; color: var(--navy);
  font-style: italic; font-weight: 600;
}
.qt-line::before { content: '\201C'; }
.qt-line::after { content: '\201D'; }
.qt-attr {
  margin-top: 8px; font-size: 0.8rem; color: var(--ink-soft);
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px;
}
.qt-attr a, .qt-title b { color: var(--navy); font-weight: 700; text-decoration: none; }
.qt-attr a:hover { text-decoration: underline; }
.qt-year { color: var(--ink-faint); }
.qt-kind {
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: var(--navy); border-radius: 999px; padding: 2px 8px;
}
.qt-film { background: #8e44ad; }
.qt-tv   { background: #2e7fb0; }
.qt-snl  { background: #c0392b; }
.qt-pop  { background: #1e8e5a; }
.qt-note { margin: 10px 0 0; font-size: 0.9rem; line-height: 1.55; color: var(--ink); }
.qt-note b { color: var(--navy); }

/* Markets — "why it moved" note (replaced the Charleston ticker list 2026-07-28) */
.mkt-why {
  margin: 12px 0 0; padding: 12px 14px;
  background: #f4f9fd; border-left: 4px solid var(--navy); border-radius: 8px;
  font-size: 0.92rem; line-height: 1.55; color: var(--ink);
}
.mkt-why a { color: var(--navy); font-weight: 700; font-size: 0.78rem; text-decoration: none; white-space: nowrap; }
.mkt-why a:hover { text-decoration: underline; }
.mkt-why-src { color: var(--ink-faint); font-size: 0.78rem; }
