/* psv-furniture.css — the four controls. Paper tokens only: ink #1b1712, stock #faf6ec,
   rule #8a8272, kicker #8b2e1f, one face. Nothing here introduces a colour the paper lacks. */

/* ── THE FIX — location, in the flag ─────────────────────────────────────── */
#psv-fix { position: relative; display: inline-flex; align-items: center; }
.psv-fix-town { background: none; border: 1px solid #8a8272; color: #1b1712; font: inherit;
  font-size: 15px; letter-spacing: .06em; padding: 6px 12px; cursor: pointer; }
.psv-fix-town:hover { border-color: #1b1712; }
.psv-fix-panel { position: absolute; top: calc(100% + 6px); left: 0; z-index: 95; width: 330px;
  background: #faf6ec; border: 1px solid #1b1712; box-shadow: 0 10px 30px rgba(27,23,18,.20);
  padding: 14px 16px 16px; text-align: left; }
.psv-fix-head { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8b2e1f;
  border-bottom: 1px solid #8a8272; padding-bottom: 6px; margin-bottom: 10px; }
.psv-fix-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 3px 0; }
.psv-fix-lab { color: #5a5344; }
.psv-fix-val { font-weight: 700; }
.psv-fix-note { font-size: 13px; font-style: italic; color: #5a5344; margin: 10px 0 12px; line-height: 1.45; }
.psv-fix-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.psv-pill { background: none; border: 1px solid #8a8272; color: #1b1712; font: inherit; font-size: 13px;
  padding: 3px 9px; cursor: pointer; }
.psv-pill:hover { border-color: #8b2e1f; color: #8b2e1f; }
.psv-fix-form { display: flex; gap: 6px; }
.psv-fix-q { flex: 1 1 auto; min-width: 0; background: #faf6ec; border: 1px solid #8a8272;
  color: #1b1712; font: inherit; font-size: 14px; padding: 5px 8px; }
.psv-fix-form button { background: #1b1712; color: #faf6ec; border: 0; font: inherit; font-size: 13px;
  letter-spacing: .08em; padding: 5px 12px; cursor: pointer; }

/* ── THE GEAR — the only one on the paper, and it lives on the weather ────── */
.psv-gear { background: none; border: 1px solid #8a8272; color: #5a5344; font: inherit; font-size: 13px;
  letter-spacing: .08em; padding: 3px 10px; cursor: pointer; margin-left: 14px; }
.psv-gear:hover { border-color: #8b2e1f; color: #8b2e1f; }
.psv-wxpick { border: 1px solid #8a8272; background: #faf6ec; padding: 12px 14px; margin: 12px 0;
  columns: 3; column-gap: 22px; }
.psv-wxpick-head { column-span: all; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: #8b2e1f; border-bottom: 1px solid #8a8272; padding-bottom: 6px; margin-bottom: 8px; }
.psv-wxpick-row { display: block; font-size: 15px; padding: 3px 0; break-inside: avoid; cursor: pointer; }
.sf-wxc-detail { border-top: 1px solid #8a8272; margin-top: 12px; padding-top: 12px; }
@media (max-width: 820px) { .psv-wxpick { columns: 2 } }

/* ── THE MUZZLE ───────────────────────────────────────────────────────────── */
.psv-muzzle-dog { display: block; width: 100%; max-width: 190px; margin: 6px auto 10px; }
.psv-muzzle-form { display: flex; gap: 6px; margin: 10px 0 8px; }
.psv-muzzle-q { flex: 1 1 auto; min-width: 0; background: #faf6ec; border: 1px solid #8a8272;
  color: #1b1712; font: inherit; font-size: 15px; padding: 5px 8px; }
.psv-muzzle-form button { background: #1b1712; color: #faf6ec; border: 0; font: inherit; font-size: 13px;
  letter-spacing: .08em; padding: 5px 12px; cursor: pointer; }
.psv-muzzle-list { display: flex; flex-wrap: wrap; gap: 5px; }
.psv-chip { background: none; border: 1px solid #8b2e1f; color: #8b2e1f; font: inherit; font-size: 13px;
  padding: 2px 8px; cursor: pointer; }
.psv-muzzle-count { font-size: 13px; font-style: italic; color: #5a5344; margin-top: 8px; }

/* ── THE STARS ────────────────────────────────────────────────────────────── */
.psv-stars-img { display: block; width: 100%; margin: 6px 0 10px; }
.psv-star-row { display: flex; justify-content: space-between; gap: 10px; font-size: 15px;
  padding: 3px 0; border-bottom: 1px solid rgba(138,130,114,.35); }
.psv-star-row.mine { color: #8b2e1f; }
.psv-star-row span { color: #5a5344; font-size: 14px; }
.psv-stars-note { font-size: 13px; font-style: italic; color: #5a5344; line-height: 1.45; margin: 10px 0; }
.psv-stars-ctl { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.psv-stars-sign { background: #faf6ec; border: 1px solid #8a8272; color: #1b1712; font: inherit;
  font-size: 14px; padding: 4px 6px; }
.psv-stars-how button { background: none; border: 1px solid #8a8272; color: #5a5344; font: inherit;
  font-size: 13px; padding: 3px 8px; margin-left: 3px; cursor: pointer; }
.psv-stars-how button.on { background: #1b1712; color: #faf6ec; border-color: #1b1712; }
.psv-stars-open { background: none; border: 1px solid #8a8272; color: #5a5344; font: inherit;
  font-size: 14px; padding: 5px 12px; cursor: pointer; }

/* ── THE MUZZLE, as a corner chip + overlay ───────────────────────────────── */
.psv-muzzle-chip { position: relative; display: inline-block; vertical-align: middle;
  width: 34px; height: 34px; margin-right: 8px; padding: 0; border: 0; background: none;
  cursor: pointer; line-height: 0; }
.psv-muzzle-chip img { width: 100%; height: 100%; object-fit: contain; }
.psv-muzzle-dot { position: absolute; top: 0; right: 0; width: 9px; height: 9px; border-radius: 50%;
  background: #8b2e1f; }
.psv-ov[hidden] { display: none !important; }
.psv-ov { position: fixed; inset: 0; z-index: 200; background: rgba(27,23,18,.55);
  display: flex; align-items: flex-start; justify-content: center; padding: 40px 18px; overflow: auto; }
.psv-ov-sheet { background: #faf6ec; border: 1px solid #1b1712; max-width: 560px; width: 100%;
  padding: 22px 26px 26px; position: relative; }
.psv-ov-x { position: absolute; top: 14px; right: 16px; background: #1b1712; color: #faf6ec; border: 0;
  font: inherit; font-size: 14px; letter-spacing: .08em; padding: 5px 12px; cursor: pointer; }
.psv-muzzle-big { display: block; width: 100%; max-width: 300px; margin: 10px auto 14px; }
.psv-muzzle-none { font-size: 14px; font-style: italic; color: #5a5344; }

/* ── STARS: art + gear only ───────────────────────────────────────────────── */
.psv-stars-gear { background: none; border: 0; color: #8b2e1f; font-size: 15px; cursor: pointer;
  float: right; line-height: 1; padding: 0 0 0 8px; }
.psv-stars-mine { font-size: 14px; letter-spacing: .05em; color: #8b2e1f; text-align: center; margin: 8px 0; }
.psv-stars-gearbox { border-top: 1px solid #8a8272; margin-top: 10px; padding-top: 10px; }
.psv-stars-ghead { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #5a5344; margin: 8px 0 5px; }
.psv-sign-row { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 14px; padding: 2px 0; }
.psv-sign-row select { background: #faf6ec; border: 1px solid #8a8272; color: #1b1712; font: inherit;
  font-size: 14px; padding: 3px 5px; }

/* ── THE LOCAL DESKS ──────────────────────────────────────────────────────── */
.psv-desks { display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  border-top: 1px solid #8a8272; border-bottom: 1px solid #8a8272; padding: 10px 0; margin: 0 0 16px; }
.psv-desks-lab { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #5a5344;
  margin-right: 6px; }
.psv-pill.on { background: #1b1712; color: #faf6ec; border-color: #1b1712; }
.psv-townloc-note { font-size: 14px; font-style: italic; color: #5a5344; margin: 10px 0 0; }

/* ── THE VEIL — a muzzled card is blurred and named, never silently deleted ─ */
.sf-block.psv-muzzled { position: relative; }
.sf-block.psv-muzzled > *:not(.psv-veil) { filter: blur(11px) saturate(.25); pointer-events: none;
  user-select: none; }
.psv-veil { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 12px;
  background: rgba(250,246,236,.62); }
.psv-veil-w { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8b2e1f; }
.psv-veil-go { background: none; border: 1px solid #1b1712; color: #1b1712; font: inherit;
  font-size: 13px; letter-spacing: .06em; padding: 5px 12px; cursor: pointer; }
.psv-veil-go:hover { background: #1b1712; color: #faf6ec; }
.psv-veil-set { background: none; border: 0; color: #5a5344; font: inherit; font-size: 12px;
  letter-spacing: .06em; text-decoration: underline; cursor: pointer; padding: 2px; }
.psv-muzzle-dot.psv-dot-num { width: auto; min-width: 15px; height: 15px; border-radius: 8px;
  padding: 0 3px; color: #faf6ec; font-size: 10px; line-height: 15px; text-align: center;
  font-family: var(--sf-mono, monospace); }

/* ── the anchored weather card + the ⓘ learning moment ───────────────────── */
.psv-pop-head { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: #8b2e1f; border-bottom: 1px solid #8a8272;
  padding-bottom: 6px; margin-bottom: 8px; }
.psv-pop-sub { text-transform: none; letter-spacing: .02em; color: #5a5344; font-size: 13px; }
.psv-i { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #8b2e1f;
  background: #8b2e1f; color: #faf6ec; font: inherit; font-size: 12px; line-height: 1; cursor: pointer;
  flex: 0 0 auto; }
.psv-i.off { background: none; color: #8b2e1f; }
.sf-wxc-detail { display: none; }

/* ── stars: rail summary + the full twelve in a card ──────────────────────── */
.psv-stars-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.psv-stars-none { font-style: italic; color: #5a5344; }
.psv-stars-big { display: block; width: 100%; max-width: 260px; margin: 10px auto 16px; }
.psv-stars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.psv-star-cell { border: 1px solid #8a8272; padding: 7px 9px; font-size: 14px; }
.psv-star-cell b { display: block; }
.psv-star-cell span { display: block; font-size: 12px; color: #5a5344; }
.psv-star-cell em { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: #8b2e1f; font-style: normal; margin-top: 3px; }
.psv-star-cell.mine { border-color: #8b2e1f; }
.psv-stars-mine span { color: #5a5344; font-size: 13px; }
.sf-wxpage-head .psv-fix-mount { display: inline-flex; vertical-align: middle; }
@media (max-width: 620px) { .psv-stars-grid { grid-template-columns: repeat(2, 1fr) } }

/* ── THE RADAR, on the local page ─────────────────────────────────────────── */
.psv-radar { border-top: 1px solid #8a8272; margin-top: 12px; padding-top: 10px; }
.psv-radar-head { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8b2e1f; margin-bottom: 6px; }
.psv-radar-row { padding: 4px 0; font-size: 15px; border-bottom: 1px solid rgba(138,130,114,.3); }
.psv-radar-row b { display: block; color: #8b2e1f; }
.psv-radar-row span { color: #5a5344; font-size: 14px; }
.psv-radar-clear { font-size: 15px; font-style: italic; color: #5a5344; margin: 0; }
.psv-radar-link { display: inline-block; margin-top: 8px; font-size: 13px; letter-spacing: .08em;
  color: #8b2e1f; }
.psv-radar-zone { font-size: 12px; color: #8a8272; margin-left: 10px; }

/* ── two standing town pills, no click needed ─────────────────────────────── */
.psv-fix-quick { display: inline-flex; gap: 5px; margin-left: 7px; vertical-align: middle; }
.psv-quick { font-size: 12px; padding: 3px 8px; }

/* ── stars: the twelve are buttons; the rail shows yours instead of the art ─ */
.psv-star-cell { display: block; width: 100%; text-align: left; background: none; font: inherit;
  border: 1px solid #8a8272; padding: 7px 9px; cursor: pointer; color: #1b1712; }
.psv-star-cell.mine { border-color: #8b2e1f; background: rgba(139,46,31,.07); }
.psv-star-cell.mine b { color: #8b2e1f; }
.psv-stars-list { margin: 4px 0 8px; }
.psv-stars-edit { width: 100%; background: none; border: 1px solid #8a8272; color: #5a5344;
  font: inherit; font-size: 13px; letter-spacing: .06em; padding: 5px; cursor: pointer; margin-top: 6px; }
.psv-stars-edit:hover { border-color: #8b2e1f; color: #8b2e1f; }

/* ── the weather strip, once it lives in The Sky ──────────────────────────── */
#sf-wxpage #sf-wx { border: 0; border-bottom: 1px solid #8a8272; margin: 0 0 12px; padding: 0 0 8px; }

/* ── a toggled sign, blown up ─────────────────────────────────────────────── */
.psv-stars-blown { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 4px 0 16px; }
.psv-blown { border: 1px solid #8b2e1f; padding: 10px 18px; text-align: center; min-width: 150px; }
.psv-blown b { display: block; font-size: 26px; color: #8b2e1f; line-height: 1.15; }
.psv-blown span { display: block; font-size: 13px; color: #5a5344; }
.psv-blown-rail { min-width: 0; margin-bottom: 6px; }
.psv-blown-rail b { font-size: 22px; }
.psv-horo { font-size: 14px; font-style: italic; color: #1b1712; margin: 8px 0 0; line-height: 1.5;
  text-align: left; max-width: 34em; }
.psv-blown-rail .psv-horo { font-size: 13px; }
#psv-townbar { border-bottom: 1px solid #8a8272; padding-bottom: 10px; margin-bottom: 14px; }
#sf-wx-loc[hidden] { display: none !important; }
.sf-wxpage-head #sf-radar { margin-left: auto; font-size: 13px; letter-spacing: .06em; cursor: pointer; }
.sf-wxpage-head { display: flex; align-items: center; gap: 10px; }
.psv-radar-live { color: #8b2e1f !important; text-decoration: underline; cursor: pointer;
  transition: background .12s, color .12s; padding: 2px 6px; }
.psv-radar-live:hover, .psv-radar-live:focus { background: #8b2e1f; color: #faf6ec !important;
  text-decoration: none; outline: none; }
.psv-town[hidden] { display: none !important; }
.psv-plate-cap { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #8b2e1f;
  border-bottom: 1px solid #8a8272; padding: 6px 0 8px; margin-bottom: 8px; }
.psv-plate-sting { font-size: 15px; font-style: italic; color: #5a5344; border-top: 1px solid #8a8272;
  margin-top: 10px; padding-top: 8px; }
.psv-illus { color: #5a5344 !important; text-transform: none !important; letter-spacing: .02em !important;
  font-style: italic; font-size: 12px !important; }
.psv-arith-t { width: 100%; border-collapse: collapse; margin: 10px 0 12px; font-size: 16px; }
.psv-arith-t th { text-align: left; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: #8b2e1f; border-bottom: 1px solid #1b1712; padding: 0 8px 6px 0; }
.psv-arith-t td { border-bottom: 1px solid rgba(138,130,114,.4); padding: 6px 8px 6px 0; vertical-align: top; }
.psv-arith-t td:first-child { color: #5a5344; }
.psv-arith-t td + td { font-weight: 700; }
.psv-arith-note { font-size: 15px; line-height: 1.55; margin: 0 0 10px; }
.psv-arith-kick { font-size: 19px; font-weight: 700; margin: 0; }
.psv-arith-sub td, td.psv-arith-sub { font-size: 13px !important; color: #8a8272 !important;
  font-weight: 400 !important; padding-top: 0 !important; }
.psv-score-t td { padding: 7px 10px 7px 0; }
.psv-score-t td:first-child { color: #1b1712; width: 34%; }
.psv-score { color: #8b2e1f; letter-spacing: 2px; font-size: 13px; white-space: nowrap; }
.psv-score-note { color: #5a5344 !important; font-weight: 400 !important; font-size: 14px; }
