/* ======================================
   INTRIGUE - sub-tabs and the help banner
   ====================================== */

/* THE SCREEN WAS ONE COLUMN OF EIGHT SECTIONS (maggie, 2026-08-08). Plots,
   endeavours, secrets, duels, wagers, tutoring requests, royal commissions and
   the rookery all stacked under one heading, with a single picker that mixed a
   poisoning and a day's fletching in the same dropdown. Four panes now, and the
   picker on each only offers what that pane is for. */

/* The tab bar itself is the shared one (.sub-tab in controls.css); only the
   gap below it is this tab's own. */
.sub-tabs { margin: 0 0 0.9rem; }

/* A count of what is waiting in a pane you are not looking at. Deliberately
   quiet: it is a number, not an alarm. */
.sub-tab-count {
  margin-left: 0.35rem;
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}

/* The one-line help banner that stood at the top of each pane was drawn from
   that pane's guide.json chapter. It went with the guide on 2026-09-06. */

/* What a pane says when there is nothing in it wears the bordered box of
   .empty-note (layout.css), since 2026-09-17. */

/* THE PLOTS AND ENDEAVOURS AS TILES (maggie, 2026-09-16), the same auto-fit
   floor as the gathering plots: three across where there is room, one on a
   phone. A tile opens the popup (#scheme-modal) that holds the odds, the
   target and Begin. */
/* IN THE MANUSCRIPT (stage 2, 2026-09-30): a group's name is a gilt rubric
   ruled across the leaf, and each tile is a ruled line on it rather than a
   purple box inside the box - the Market's stalls and wares, the same idiom. */
.scheme-group-title {
  font-family: var(--font-display);
  font-variant: small-caps;
  font-size: var(--fs-text);
  letter-spacing: 0.05em;
  color: var(--gild-ink);
  margin: 0.9rem 0 0.2rem;
  padding-bottom: 0.25rem;
  background: var(--gilt-rule);
}
.scheme-tiles > .scheme-group-title:first-child { margin-top: 0; }
.scheme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0 1.2rem;
}
.scheme-tile {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px dotted var(--gild-faint);
  border-radius: 0;
  padding: 0.55rem 0.2rem;
  color: var(--text-primary);
  font: inherit;
  cursor: pointer;
  min-width: 0;
}
@media (hover: hover) { .scheme-tile:hover .scheme-tile-name { color: var(--accent-gold); } }
.scheme-tile-name { font-size: var(--fs-text); }
.scheme-tile-meta { font-size: var(--fs-small); font-style: italic; color: var(--text-muted); }

/* -- A WHISPER ABOUT YOU (the QoL pass, 2026-09-18, item 3.11) --------- */
/* On the vellum a whisper is a ruled note, not a box (the manuscript look,
   2026-09-30), so the gold edge is drawn inside the row rather than as its
   border - the nested-card rule takes borders off. */
.rumour-mine { box-shadow: inset 2px 0 0 var(--accent-gold); padding-left: 0.7rem; }
.panel-card .rumour-mine { box-shadow: inset 2px 0 0 var(--accent-gold); padding-left: 0.7rem; }

/* -- THE WHISPERS FROM THE REALM, row by row (main page) --------------- */
.rumour-text { font-family: var(--font-serif); font-size: 1.1786rem; line-height: 1.42; color: var(--text-primary); }
.rumour-row .rumour-foot { margin-top: 0.2rem; font-family: var(--font-serif); font-style: italic; font-size: 0.9643rem; color: var(--text-muted); }
.rumour-acts { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.35rem; }
