/* Finalist B, Beacon set (builder 1): shared nav and footer, phone list cap, Pick a vibe, Gather map and three taps.
   Loaded after bayou.css and final-b.css (and gather.css on the Gather views). */

/* shared nav: dial mark, four links, the mode button. On phones the word mark hides (the link keeps its label). */
.brand span { display: inline; }
@media (max-width: 560px) {
  .brand span { display: none; }
  .brand { min-width: 44px; justify-content: center; }
  .nav .wrap { gap: 6px; }
  .nav ul { gap: 0; }
  .nav ul a { font-size: 14px; padding: 12px 5px; }
}
.foot { background: transparent; }
.foot .wrap { align-items: flex-start; }
.foot ul { gap: 0 20px; max-width: 760px; }
.foot .wrap > a { font-weight: 600; }

/* fix 4: phones show the first cards of a long list, then a 44px button */
@media (max-width: 699px) { .cut { display: none !important; } }
@media (min-width: 700px) { .more-wrap { display: none; } }
.more-wrap { margin: var(--s3) 0 0; }
.more-wrap .btn { min-height: 48px; width: 100%; }

.stamp--lg { width: 44px; height: 44px; }
.stamp--lg .glyph { width: 26px; height: 26px; }
.status h2 .stamp--lg .glyph { color: inherit; }

/* the spine leaves the first section through empty paper, below the last row of buttons */
.g-head, main > section[aria-labelledby='ev-h'] { padding-bottom: 72px; }
.g-head + section { padding-top: 24px; }

/* Pick a vibe: six stamp labels in the set order, clean paper (no tinted water) */
.vibes { display: grid; gap: 12px; margin-top: var(--s4); }
@media (min-width: 560px) { .vibes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .vibes { grid-template-columns: repeat(3, 1fr); gap: var(--s3); } }
.vibe-btn { width: 100%; text-align: left; font: inherit; cursor: pointer; align-content: start; }
.vibe-btn:hover { transform: translateY(-3px); border-color: var(--ink); }
.vibe-btn[aria-pressed='true'] { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.vibe-btn[aria-pressed='true'] small::after { content: ' · picked'; }
.narrow { background: rgba(255, 255, 255, .9); }
#results { padding-top: var(--s4); }

/* Gather A: opens on the map; the three-taps door sits right above it */
.g-intro { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); margin-top: var(--s2); }
.g-intro .lede { margin: 0; flex: 1 1 420px; }
.taps { flex: none; }
@media (max-width: 560px) { .taps { width: 100%; } }
.mapbox { overflow: hidden; background: rgba(255, 255, 255, .9); }
.mapbox svg { min-width: 0; width: 100%; display: block; }
.mapbox svg.tall { max-height: 760px; }
.m-links { fill: none; stroke: var(--water-ink); stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; opacity: .7; }
.m-label { fill: var(--ink-2); }
.tall .m-town { display: none; }
/* stops are nodes: paper disc, ink ring, the 2E wash behind */
.dot .wash { fill: var(--c); opacity: .6; }
.dot .body { fill: var(--bg); stroke: var(--ink); stroke-width: 2; }
.dot .glyph { color: var(--ink); fill: none; stroke: currentColor; stroke-width: 1.9; }
.dot .nb { fill: var(--ink); }
.dot .n { fill: var(--bg); }
.names .name { font-weight: 600; font-family: var(--body); fill: var(--ink); stroke: var(--bg); stroke-width: 6px; paint-order: stroke fill; }
.dot .ring { stroke: var(--ink); }
.dot .rays { stroke: var(--amber-deep); }
.legend-m { color: var(--ink); }
.legend-m li svg { color: var(--amber-deep); }
.legend-m li + li svg { color: var(--ink); }

/* vibe chips carry the stamp label */
.vchip { background: rgba(255, 255, 255, .9); border: 1.5px solid var(--line); padding: 0 12px 0 6px; }
.vchip .lab { padding-block: 4px; }
:is(.vchip, .tray li, .three h2, .status h2) .stamp .glyph { color: inherit; }
.vchip[aria-pressed='true'] { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); transform: none; }
.seg { background: rgba(255, 255, 255, .9); }

/* Gather B and shared pieces: clean paper, no tilt, the stone numbers are nodes */
.stone { background: rgba(255, 255, 255, .9); border-radius: var(--radius); }
.stone > h2::before { background: var(--bg); color: var(--ink); border: 2px solid var(--ink); font-weight: 700; }
.three { background: var(--sand); border-radius: var(--radius); }
.three h2 .stamp--lg .glyph { width: 26px; height: 26px; color: inherit; }
.shared .note { transform: none; background: #FFFDF7; }
.tray li { background: rgba(255, 255, 255, .9); border: 1.5px solid var(--line); padding-left: 4px; }
.tray li .stamp { width: 26px; height: 26px; }
.tray li .stamp .glyph { width: 16px; height: 16px; color: inherit; }

/* night: the dark paper for every surface Bayou drew light */
html[data-mode='night'] :is(.narrow, .mapbox, .vchip, .seg, .stone, .tray li, .vibe-btn) { background: rgba(20, 17, 46, .72); }
html[data-mode='night'] :is(.three, .rail) { background: rgba(30, 26, 69, .6); }
html[data-mode='night'] :is(.gv--beacon, .shared .note, .tray) { background: #1E1A45; }
html[data-mode='night'] .m-land { fill: #2A2560; }
html[data-mode='night'] .m-links { stroke: var(--amber); stroke-dasharray: none; stroke-width: 1; opacity: .8; }
html[data-mode='night'] .dot .wash { opacity: .3; }
html[data-mode='night'] .dot .body { fill: var(--night); stroke: var(--night-ink); }
html[data-mode='night'] .dot .glyph { color: var(--night-ink); }
html[data-mode='night'] .dot .nb { fill: var(--amber); }
html[data-mode='night'] .dot .n { fill: #1B1406; }
html[data-mode='night'] .names .name { font-weight: 600; font-family: var(--body); stroke: var(--night); }
html[data-mode='night'] .stone > h2::before { background: var(--night); }
html[data-mode='night'] .pick[aria-pressed='true'] i { background-color: var(--cream); }
html[data-mode='night'] .day > h3::after { opacity: .5; }
