/* province.css: the page of one province, /maps/province/<slug>
   (province pages spec § 5). Colours and fonts come from atlas.css. */

body {
  background: var(--ice-deep);
  color: var(--ice-white);
  font: 400 15px/1.55 'Fira Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--ice-bright); text-underline-offset: 3px; }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ice-bright); outline-offset: 2px; }
.num, .price { font-variant-numeric: tabular-nums; }
.price { color: var(--gold); white-space: nowrap; }

/* Seasonal detail follows the map, services and current opportunities. */
.season-board.sect { margin: 20px 0; padding: 22px; border: 1px solid #607678; border-top: 3px solid #abcbd1; border-radius: 4px; background: linear-gradient(135deg, #203842, #101f2a); }
.season-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.season-board .season-heading h2 { display: block; margin: 0; font-style: normal; color: #f2e5c9; font-size: 2.2rem; }
.season-heading h2 span { display: block; font: 400 1rem/1.5 'Fira Sans', sans-serif; color: #b8d4d8; }
.season-heading > p { max-width: 58ch; margin: 0; color: #c8d6d7; font-size: .94rem; }
.season-cycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; margin: 18px 0 22px; border-bottom: 1px solid #526a70; }
.season-cycle li { padding: 8px 12px; border-bottom: 3px solid transparent; color: #a7b9bd; }
.season-cycle li b { display: block; font-weight: 500; }
.season-cycle li span { font-size: .85rem; }
.season-cycle li[aria-current] { color: #f5dfad; border-color: #e2c68a; background: #50626944; }
.season-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
.season-columns > div + div { border-left: 1px solid #526a70; padding-left: 30px; }
.season-board h3 { display: flex; align-items: center; gap: 8px; color: #e5d3b1; font-size: 1.05rem; }
.season-board .season-status { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin: 6px 0 12px; font: 600 1.9rem/1.25 'Cormorant Garamond', Georgia, serif; }
.season-status.good { color: #b1dfad; }
.season-status.steady { color: #c9e2e7; }
.season-status.warning, .winter-part.behind { color: #f2cb84; }
.season-status.danger { color: #ffb09c; }
.season-status > span { font: 500 1.1rem 'Fira Sans', sans-serif; }
.season-board .food-kinds { margin-top: 4px; }
.season-effects { color: #c1d1d2; font-size: .94rem; margin-top: 14px; }
.season-idle { color: #c1d1d2; margin-top: 14px; }
.winter-part { margin: 14px 0; color: #d2dedf; }
.winter-part > div { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.winter-part b { font-weight: 500; font-variant-numeric: tabular-nums; }
.winter-part progress { display: block; appearance: none; width: 100%; height: 9px; border: 0; border-radius: 2px; background: #07151e; accent-color: #b8cda2; }
.winter-part progress::-webkit-progress-bar { background: #07151e; border-radius: 2px; }
.winter-part progress::-webkit-progress-value { background: #b8cda2; border-radius: 2px; }
.winter-part progress::-moz-progress-bar { background: #b8cda2; }
.winter-part.behind progress::-webkit-progress-value { background: #dabb7e; }
.winter-part.behind progress::-moz-progress-bar { background: #dabb7e; }
.season-action { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; }
.season-event { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 14px 16px; border: 1px solid #b37c62; background: #473229; color: #f1dfcc; }
.season-event > .ic { width: 24px; height: 24px; color: #ffba96; }
.season-event strong { color: #ffcca9; font-size: 1.1rem; }
.season-event p { margin-top: 3px; }
.season-event a { margin-left: auto; white-space: nowrap; min-height: 44px; display: flex; align-items: center; }
@media (max-width: 760px) {
  .season-board.sect { padding: 16px; }
  .season-heading { display: block; }
  .season-heading > p { margin-top: 12px; }
  .season-cycle li { padding: 8px 5px; font-size: .9rem; }
  .season-cycle li span { font-size: .75rem; }
  .season-columns { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .season-columns > div + div { border-left: 0; padding-left: 0; border-top: 1px solid #526a70; padding-top: 20px; }
  .season-event { flex-wrap: wrap; }
  .season-event > div { flex: 1; }
  .season-event a { margin-left: 36px; }
}

.province { max-width: 1180px; margin: 0 auto; padding: 0 16px 40px; }

/* Icons from the province sprite: line icons take the text colour. */
.ic {
  width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em;
  fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round;
}
.ic.seal { fill: currentColor; stroke: none; }

.crumbs { padding-top: 22px; font-size: 0.9rem; color: var(--icesus-muted); }
.crumbs a { color: var(--ice-bright); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.crumbs .sep { margin: 0 0.5em; opacity: 0.7; }

/* The plate: the name, the council's line and the locator map */
.plate {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 32px; align-items: center; padding: 14px 0 28px;
  border-bottom: 1px solid var(--icesus-line);
}
.prov-name {
  font: italic 500 clamp(2.6rem, 6vw, 4.4rem)/1.02 'Cormorant Garamond', Georgia, serif;
  color: var(--ice-bright); letter-spacing: -0.01em;
}
.prov-code { font: 500 0.95rem 'Fira Sans', sans-serif; color: var(--icesus-muted); margin-left: 0.4em; font-style: normal; letter-spacing: 0.08em; }
.prov-council {
  margin-top: 10px;
  font: italic 500 1.35rem/1.3 'Cormorant Garamond', Georgia, serif;
  color: var(--gold-dim);
}
.prov-lead { margin-top: 10px; max-width: 60ch; color: var(--icesus-muted); }
.notice {
  margin-top: 18px; max-width: 58ch; padding: 12px 16px;
  background: var(--icesus-slate); border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
}
.notice p { font: italic 400 1.15rem/1.45 'Cormorant Garamond', Georgia, serif; color: var(--icesus-bright); }
.notice footer { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.8rem; color: var(--icesus-muted); }
.notice footer .ic { color: var(--gold-dim); }
.prov-links { margin-top: 14px; font-size: 0.92rem; }
.prov-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.prov-links .ic { color: var(--gold); }

.locator svg { width: 100%; height: auto; display: block; }
/* The map page's land colours: open slate, held ice-blue, the wards dark;
   the council's other provinces in gold. */
.loc-prov { stroke: #0c1822; stroke-width: 0.8; transition: fill 0.2s ease; }
.loc-prov.warded { fill: #0e151f; }
.loc-prov.open { fill: #1b2b3f; }
.loc-prov.held { fill: #2c5e84; }
.loc-prov.ours { fill: #8a7444; }
.loc-prov.here { fill: var(--ice-bright); stroke: #fff; stroke-width: 1.4; }
.locator a:hover .loc-prov:not(.here), .locator a:focus-visible .loc-prov:not(.here) { fill: #3d6a8a; }
.loc-city { fill: var(--gold); }
.loc-city-name { font: italic 500 22px 'Cormorant Garamond', Georgia, serif; fill: var(--gold-dim); pointer-events: none; }

/* The signpost: where to look first */
.signpost { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 18px 0; border-bottom: 1px solid var(--icesus-line); }
.signpost .overview-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: 'ic b' 'ic span';
  column-gap: 10px; align-items: center; min-width: 180px; padding: 4px 0;
  text-decoration: none; color: var(--ice-white);
}
.signpost .overview-item .ic { grid-area: ic; font-size: 26px; color: var(--gold); }
.signpost .overview-item.sp-urgent .ic { color: var(--ember); }
.signpost .overview-item.sp-food .ic { color: var(--icesus-green); }
.signpost a:hover b { color: #fff; }
.signpost b { grid-area: b; display: block; font: italic 600 1.2rem/1.2 'Cormorant Garamond', Georgia, serif; color: var(--ice-bright); }
.signpost .overview-item > span { grid-area: span; font-size: 0.9rem; color: var(--icesus-muted); }

/* Columns: the work and the market lead, the rest to the side */
.columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 40px; padding-top: 8px; }
.sect { padding: 26px 0 8px; scroll-margin-top: 12px; }
.sect + .sect { border-top: 1px solid rgba(64,91,128,0.5); }
.sect h2 {
  display: flex; align-items: center; gap: 10px;
  font: italic 500 1.9rem/1.15 'Cormorant Garamond', Georgia, serif;
  color: var(--ice-bright); margin-bottom: 12px;
}
.sect h2 .ic { font-size: 0.75em; color: var(--gold-dim); }
.sect h3 { font: 500 1.02rem/1.35 'Fira Sans', sans-serif; color: var(--icesus-bright); }
.sect h3.sub { display: flex; align-items: center; gap: 7px; margin-top: 16px; }
.sect h3.sub .ic { color: var(--gold-dim); }
.sect p + p, .sect p + ul, .sect ul + p, .sect table + p, .sect p + table { margin-top: 10px; }
.quiet { color: var(--icesus-muted); }
.small { font-size: 0.88rem; }
code { font: 0.92em 'Fira Sans', sans-serif; color: var(--icesus-bright); background: var(--icesus-slate); padding: 0 3px; border-radius: 3px; }

/* Needs */
.needs { list-style: none; margin-bottom: 18px; }
.needs li { display: flex; gap: 9px; align-items: baseline; padding: 3px 0; }
.needs li .ic { position: relative; top: 0.18em; color: var(--ice-glow); }
.needs li.urgent .ic { color: var(--ember); }

/* Jobs: notices on the board, the urgent ones under a wax seal */
.jobs { list-style: none; }
.job { border-top: 1px solid rgba(64,91,128,0.35); }
.job:first-child { border-top: 0; }
/* Closed, a notice is one line: the kind of work (an urgent one under a
   wax seal), the name and pay, and below them kind, time and standing. */
.job summary {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) auto 12px;
  grid-template-areas: 'mark name pay chev' 'mark gist gist chev';
  column-gap: 12px; row-gap: 1px; align-items: baseline;
  padding: 11px 8px; margin: 0 -8px; border-radius: 6px;
  cursor: pointer; list-style: none;
}
.job summary::-webkit-details-marker { display: none; }
.job summary::after {
  content: ''; grid-area: chev; align-self: center; justify-self: end;
  width: 7px; height: 7px; margin-top: -4px;
  border-right: 1.6px solid var(--icesus-muted); border-bottom: 1.6px solid var(--icesus-muted);
  transform: rotate(45deg); transition: transform 0.15s ease;
}
.job details[open] > summary::after { transform: rotate(-135deg); margin-top: 3px; }
.job summary:hover { background: rgba(110,160,210,0.07); }
.job summary:hover h3 { color: #fff; }
.job summary:focus-visible { outline: 2px solid var(--ice-bright); outline-offset: 0; }
.job summary h3 { grid-area: name; }
.job summary .price { grid-area: pay; font-size: 1.02rem; text-align: right; }
.job-gist { grid-area: gist; font-size: 0.86rem; color: var(--icesus-muted); }
.job-mark { grid-area: mark; align-self: center; font-size: 19px; color: var(--icesus-muted); }
.job.pressing .job-mark { color: var(--ember); }
.job-mark.seal { color: var(--ember); filter: drop-shadow(0 0 3px rgba(196,122,58,0.45)); }
.job-body { padding: 0 0 16px 32px; }
.job-kind { font-size: 0.88rem; color: var(--icesus-muted); }
.job-desc { margin-top: 8px; max-width: 70ch; }
.job-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 14px; margin-top: 10px; font-size: 0.9rem; }
.job-facts dt { color: var(--icesus-muted); }
.job-facts dd { color: var(--ice-white); }
.job-benefit { margin-top: 8px; font-size: 0.9rem; color: var(--gold-dim); font-style: italic; }
.unfunded { color: var(--ember); }
.how-to { margin-top: 14px; padding: 12px 14px; background: var(--icesus-slate); border-radius: 6px; font-size: 0.92rem; }

/* Market */
.booth { padding: 14px 0; border-top: 1px solid rgba(64,91,128,0.35); }
.booth:first-of-type { border-top: 0; }
.booth-sign { font: italic 500 1.2rem 'Cormorant Garamond', Georgia, serif; color: var(--gold-dim); }
.booth-where { font-size: 0.88rem; color: var(--icesus-muted); }
table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 0.92rem; }
th { text-align: left; font-weight: 500; color: var(--icesus-muted); padding: 4px 8px 4px 0; border-bottom: 1px solid var(--icesus-line); }
td { padding: 5px 8px 5px 0; border-bottom: 1px solid rgba(64,91,128,0.3); vertical-align: top; }
th.r, td.r { text-align: right; padding-right: 0; }
.food-kinds td .ic { margin-right: 8px; color: var(--gold-dim); }
.short { color: var(--ember); }
.spare { color: var(--icesus-green); }

/* Settlement: the council's own section */
.side .sect h2 { font-size: 1.6rem; }
.facts { list-style: none; }
.facts li { padding: 2px 0; }
.honours { list-style: none; margin-top: 10px; }
.honours li { display: flex; align-items: center; gap: 8px; padding: 4px 0; color: var(--gold); }
.news { list-style: none; margin-top: 8px; }
.news li { padding: 6px 0; border-top: 1px solid rgba(64,91,128,0.3); font-size: 0.92rem; }
.news li:first-child { border-top: 0; }
.bar { display: grid; grid-template-columns: 92px minmax(0, 1fr) max-content; gap: 8px; align-items: center; font-size: 0.88rem; margin-top: 5px; }
.bar-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.07); overflow: hidden; }
.bar-track span { display: block; height: 100%; background: var(--ice-glow); }

.cta {
  display: inline-block; margin-top: 14px; padding: 10px 18px; border-radius: 6px;
  background: var(--gold); color: #1a1408; font-weight: 500; text-decoration: none;
}
.cta:hover { background: var(--gold-bright); color: #1a1408; }

.near { display: flex; gap: 9px; align-items: baseline; }
.near .ic { position: relative; top: 0.18em; color: var(--gold); }

.prov-foot { max-width: 1180px; margin: 0 auto; padding: 18px 16px 40px; font-size: 0.88rem; color: var(--icesus-muted); border-top: 1px solid var(--icesus-line); }
.prov-foot p + p { margin-top: 4px; }

@media (max-width: 900px) {
  .plate { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 24px; }
  .locator { max-width: 380px; }
  .columns { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .side .sect:first-child { border-top: 1px solid rgba(64,91,128,0.5); }
}
@media (max-width: 520px) {
  body { font-size: 14.5px; }
  .job summary { column-gap: 10px; }
  .job-body { padding-left: 30px; }
  .wares .q { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Province journal: the same quiet winter palette, with brass navigation,
   readable notices and a real settlement plan at the centre of the page. */
:root { --province-nav-height: 58px; --journal-line: #746044; --paper-text: #f0e6d1; --ember: #efa477; }
body { background: radial-gradient(ellipse at 5% 20%, #24363b66, transparent 55%), #0b1720; font-size: 16px; }
.province, .prov-foot { max-width: 1320px; padding-inline: 24px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 999; padding: 12px 18px; background: #efd29e; color: #182329; }
.skip-link:focus { top: 8px; }
.province-browse { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; }
.crumbs { padding: 0; }
.province-picker { display: flex; align-items: center; gap: 12px; color: var(--icesus-muted); font-size: 0.85rem; }
select { max-width: 100%; min-height: 44px; padding: 9px 30px 9px 12px; color: var(--paper-text); background: #14232e; border: 1px solid #647476; border-radius: 4px; font: inherit; }
select:focus-visible { outline: 2px solid var(--ice-bright); outline-offset: 3px; }
.plate { position: relative; isolation: isolate; grid-template-columns: minmax(0, 1fr) 150px; gap: 20px; padding: 14px 20px; border: 1px solid #756248; border-top: 2px solid #c5a675; border-radius: 4px; background: #12212a; overflow: hidden; }
.plate::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #101d26 10%, #101d26e8 40%, #101d2666 72%, #101d2699), url('/assets/living-world/province.webp') center 47% / cover; opacity: .85; }
.eyebrow { font: 500 .75rem/1.4 'Fira Sans', sans-serif; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.prov-name { color: #f4ead7; font-style: normal; font-weight: 600; font-size: clamp(2.1rem, 4vw, 3rem); }
.prov-code { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 42px; margin-left: 16px; border: 1px solid #b79c68; color: #e9d6ae; border-radius: 3px 3px 12px 12px; vertical-align: middle; background: #202d32cc; font-size: .78rem; }
.prov-lead { color: #cad5d8; max-width: 70ch; margin-top: 5px; font-size: .9rem; }
.prov-council { color: #e8cc96; font-style: normal; margin-top: 5px; }
.prov-links a { min-height: 44px; }
.locator { padding: 12px; border: 1px solid #c4a87888; background: #0b1720ed; box-shadow: 0 4px 18px #0005; }
.locator a { display: block; text-decoration: none; }
.locator-caption { display: block; text-align: center; font-size: .8rem; margin-top: 8px; color: #e5c790; }
.locator svg { max-height: 85px; }
.loc-prov.here { fill: #edc887; stroke: #fff0c7; stroke-width: 3; }
.section-nav { position: sticky; top: 0; z-index: 30; display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin: 12px 0 0; background: #12212a; border: 1px solid #5b615a; border-bottom: 2px solid #8d7854; border-radius: 4px; box-shadow: 0 6px 18px #0005; }
.section-nav[hidden] { display: none; }
.section-nav a { flex: 1; white-space: nowrap; display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 10px; text-decoration: none; color: #dce4e2; border-radius: 3px; font-size: .9rem; }
.section-nav a:hover, .section-nav a[aria-current] { color: #ffedc8; background: #6d593933; box-shadow: inset 0 -2px #dcbb7e; }
.sect { scroll-margin-top: calc(var(--province-nav-height) + 16px); padding-top: 28px; }
.sect h2 { font-style: normal; font-weight: 600; color: #ece2ca; }
.sect h2 .ic { color: #d3b57d; }
.signpost { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; border-bottom: 0; padding: 12px 0 0; }
.signpost .overview-item { min-width: 0; padding: 10px 12px; border: 1px solid #67716b77; border-radius: 3px; background: linear-gradient(115deg, #20343a, #12222d); }
.signpost b { color: #ecd5aa; font-style: normal; }
.signpost a:hover { border-color: #c5a675; }
.signpost .overview-item > span { font-size: .82rem; }
.columns { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 32px; margin-top: 12px; }
.side { padding: 0 22px 24px; margin-top: 28px; align-self: start; background: #13242b; border: 1px solid #566264; border-top: 2px solid #8d7854; border-radius: 4px; }
.side .sect:first-child { padding-top: 22px; }
.job { border: 1px solid #58626177; border-left: 3px solid #607879; border-radius: 3px; margin: 8px 0; background: linear-gradient(110deg, #20323a, #14232d); }
.job:first-child { border-top: 1px solid #58626177; }
.job.urgent { border-left-color: #dca46e; }
.job summary { margin: 0; padding: 14px 16px; }
.job summary h3 { color: #efe5d0; }
.job summary:hover { background: #f2d6a509; }
.job-pay { grid-area: pay; text-align: right; }
.job-pay small { display: block; color: #efa477; font-size: .75rem; }
.job-gist { margin-top: 4px; line-height: 1.5; }
.job details[open] { background: #24353a; }
.job details[open] summary { border-bottom: 1px solid #62737166; }
.job-body { padding: 16px 20px 20px 48px; }
.how-to { border: 1px solid #527279; border-left: 3px solid #9bbdc4; background: #192e36; }
code { font-family: ui-monospace, monospace; font-size: .88em; padding: 2px 5px; background: #0d1d25; }
td, th { padding: 10px 10px 10px 0; }
.news li { padding-block: 10px; }
.facts li { padding-block: 5px; }
.price { color: #efd097; }
.prov-foot { padding-block: 24px 40px; }
.prov-foot a { display: inline-flex; min-height: 44px; align-items: center; }

/* The game's coloured ASCII, in a readable terminal frame. Symbols remain
   text; the select supplies a full-size alternative to the map's small glyphs. */
.local-map-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, 1fr); gap: 24px; }
.local-chart { min-width: 0; margin: 0; padding: 16px; align-self: start; background: #091417; border: 3px double #9b845c; border-radius: 3px; box-shadow: 0 6px 24px #0003, inset 0 0 0 5px #101d22; }
.chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px 12px; border-bottom: 1px solid #86755366; color: #e3ca9d; font: 600 1.3rem 'Cormorant Garamond', Georgia, serif; }
.chart-heading span:last-child { font: 500 .85rem ui-monospace, monospace; white-space: nowrap; }
.ascii-map-wrap { overflow-x: auto; padding: 20px 0 12px; text-align: center; }
.ascii-map { --map-cell: clamp(13px, 4vw, 22px); display: inline-block; margin: 0; padding: 4px; text-align: left; color: #c5d0cd; font: 400 calc(var(--map-cell) * .8)/var(--map-cell) 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-variant-ligatures: none; white-space: pre; }
.ascii-map > span, .ascii-place { display: inline-block; width: var(--map-cell); height: var(--map-cell); text-align: center; vertical-align: top; }
.ascii-place { appearance: none; padding: 0; margin: 0; border: 0; border-radius: 1px; background: transparent; font: inherit; line-height: inherit; cursor: pointer; }
.ascii-map .map-terrain { opacity: .56; }
.ascii-map .map-landmark { font-weight: 600; }
.ascii-map .ascii-place:is(:hover, :focus-visible, [aria-pressed="true"]) { opacity: 1; }
.ascii-place:hover { background: #c4d9dd26; }
.ascii-place[aria-pressed="true"] { background: #d6bd7122; outline: 1px solid #dfc787; outline-offset: -1px; }
.ascii-place:focus-visible { outline: 2px solid #fff0c6; outline-offset: 1px; }
.map-caption { margin: 8px 4px 0; padding-top: 12px; border-top: 1px solid #86755366; color: #b5c3c1; text-align: center; font-size: .8rem; line-height: 1.5; }
.map-caption code { padding: 0; background: transparent; color: #dac396; }
.local-map-guide { min-width: 0; align-self: start; padding: 20px; border: 1px solid #59655f; background: #13242b; border-top: 2px solid #b49a6c; border-radius: 3px; }
.local-map-guide label { display: block; font-weight: 500; color: #e6d5b2; margin-bottom: 8px; }
.local-map-guide select { width: 100%; }
.place-info { padding: 22px 0 8px; }
.place-info h3 { display: flex; align-items: center; gap: 10px; font: 600 1.65rem 'Cormorant Garamond', Georgia, serif; color: #f1dfb9; margin-bottom: 8px; }
.place-info p { margin-bottom: 10px; }
.place-info a { display: inline-flex; align-items: center; min-height: 44px; color: #efd097; }
.ascii-key h3 { margin: 0 0 10px; color: #e8d5ad; font: 500 .9rem 'Fira Sans', sans-serif; }
.ascii-key { margin-top: 8px; padding-top: 18px; border-top: 1px solid #58665e; }
.ascii-legend { color: #b9c8c6; font: .82rem/1.9 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; }
.ascii-legend p { margin: 0 0 5px; white-space: pre-wrap; overflow-wrap: anywhere; }
/* ANSI hues with enough contrast on the web terminal's dark background. */
.mud-black { color: #89968f; } .mud-black.mud-bold { color: #94a29b; }
.mud-red { color: #df8a79; } .mud-red.mud-bold { color: #ff9682; }
.mud-green { color: #7eb777; } .mud-green.mud-bold { color: #a0df88; }
.mud-yellow { color: #ceb16b; } .mud-yellow.mud-bold { color: #f5d578; }
.mud-blue { color: #859edf; } .mud-blue.mud-bold { color: #a3baff; }
.mud-magenta { color: #b997d5; } .mud-magenta.mud-bold { color: #d4acf0; }
.mud-cyan { color: #7db9bb; } .mud-cyan.mud-bold { color: #a1e4e5; }
.mud-white { color: #c5d0cd; } .mud-white.mud-bold { color: #eff5e7; }
.mud-bold { font-weight: 600; }
@media (max-width: 1000px) {
  .columns { grid-template-columns: minmax(0, 1fr); }
  .side { margin-top: 12px; }
  .side .sect:first-child { border-top: 0; }
  .local-map-layout { grid-template-columns: minmax(0, 1.1fr) minmax(240px, 1fr); gap: 16px; }
  .section-nav a { flex-basis: 20%; }
}
@media (max-width: 760px) {
  .province, .prov-foot { padding-inline: 16px; }
  .province-browse { gap: 8px; padding-block: 8px; }
  .crumbs [aria-current], .crumbs .sep { display: none; }
  .province-picker { max-width: 60%; gap: 6px; font-size: .85rem; }
  .province-picker select { min-width: 0; width: 100%; }
  .plate { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; gap: 0; }
  .plate::before { background-position: 60% center; opacity: .6; }
  .locator { display: none; }
  .locator svg { display: none; }
  .locator a { display: inline-flex; align-items: center; min-height: 44px; }
  .locator-caption { margin: 0; text-align: left; }
  .section-nav { flex-wrap: nowrap; overflow-x: auto; margin-inline: -4px; gap: 2px; padding: 4px; }
  .section-nav a { flex: none; padding: 8px 10px; font-size: .88rem; min-height: 42px; }
  .signpost { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .signpost .overview-item { min-width: 0; column-gap: 8px; padding: 10px; }
  .signpost .overview-item .ic { font-size: 20px; }
  .signpost b { font-size: 1.1rem; }
  .signpost .overview-item > span { font-size: .78rem; }
  .local-map-layout { grid-template-columns: minmax(0, 1fr); }
  .local-map-guide { padding: 16px; }
  .place-info { min-height: 0; padding-bottom: 8px; }
  .local-chart { padding: 12px; }
  .job summary { grid-template-areas: 'mark name name chev' 'mark pay pay chev' 'mark gist gist chev'; column-gap: 10px; padding: 14px 12px; }
  .job-pay, .job summary .price { text-align: left; }
  .job-pay small { display: inline; margin-left: 8px; }
  .job-body { padding: 12px 16px; }
  .job-facts { grid-template-columns: minmax(0, 90px) minmax(0, 1fr); }
  table { font-size: .84rem; }
  td, th { padding-right: 6px; overflow-wrap: anywhere; }
  .price { white-space: normal; }
}

/* Building names, purpose and commands share the selected map location. */
.place-info { scroll-margin-block: calc(var(--province-nav-height) + 20px) 20px; }
.place-info h3:focus { outline: none; }
.place-info h3 .ic { width: 30px; height: 30px; color: #e4c58c; }
.place-location { font-size: .85rem; color: #b9cbc9; }
.place-tier { display: inline-block; padding: 3px 9px; border: 1px solid #8b795a; border-radius: 3px; color: #e5cea1; font-size: .85rem; }
.place-purpose { font-weight: 500; color: #efe3cb; }
.place-actions, .place-access { line-height: 1.65; }
.place-access { border-top: 1px solid #53615a; padding-top: 12px; color: #c4d6d5; font-size: .92rem; }
.place-construction { color: #ecc98c; }
.services-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid #5c6559; scroll-margin-top: calc(var(--province-nav-height) + 16px); }
.services-section > h3 { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; color: #ecddbd; font: 600 1.65rem 'Cormorant Garamond', Georgia, serif; }
.services-section > h3 .ic { color: #d3b57d; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.service-card { min-width: 0; padding: 14px; border: 1px solid #65716677; border-radius: 3px; background: #13252d; }
.service-card h4 { display: flex; align-items: center; gap: 9px; color: #f1dfb9; font-weight: 500; font-size: 1rem; }
.service-card h4 .ic { width: 26px; height: 26px; color: #dfc18b; }
.service-count { margin-left: auto; color: #b8c6c6; font-size: .85rem; }
.service-card > p { margin: 8px 0; color: #bccfcd; font-size: .9rem; line-height: 1.5; }
.service-locations { display: flex; flex-wrap: wrap; gap: 4px; }
.service-locations button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 8px; background: #0c1b24; border: 1px solid #63726b; border-radius: 3px; color: #e7c991; font: inherit; font-size: .85rem; cursor: pointer; }
.service-locations button:hover, .service-locations button[aria-pressed="true"] { border-color: #e7c991; background: #304046; }
.season-cycle .ic { float: right; width: 24px; height: 24px; margin: 4px 0 0 5px; }
@media (max-width: 1050px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .service-card { padding: 12px; }
  .service-card h4 { flex-wrap: wrap; gap: 6px; }
  .service-locations button { font-size: .82rem; }
  .season-cycle .ic { float: none; margin: 0 0 6px; display: block; }
}
@media (max-width: 360px) { .service-grid { grid-template-columns: minmax(0, 1fr); } }
