/* The town rule's header panel (static/lm/town.js; loaded only when the switch town_rule is "new"). The 'Which Newport?' choices sit INSIDE
   the panel, so they need their own look there (beta.css styles every panel button as a filled brand button). */
.town-panel { max-height: calc(100vh - 90px); overflow-y: auto; }
.town-panel .place-choice { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; min-height: 44px; padding: 10px 12px;
  border: 1.5px solid var(--border); border-radius: 10px; background: var(--panel); color: var(--text); font-weight: normal; font-size: 16px; }
.town-panel .place-choice:hover, .town-panel .place-choice:focus-visible { border-color: var(--brand); }
.town-panel .place-choice .pc-n { font-size: 14px; }
.town-panel .place-panel-msg { font-size: 14px; }
.town-panel .place-panel-label { font-size: 16px; }
.town-panel #place-panel-q { font-size: 16px; }          /* iPhones zoom the page for a text box under 16px (Fable cp3 task 10) */
/* owner O2 (19 Nov 2026): the header's 'Your town' pill is hidden while nothing is remembered on a page with its own town box (town.js) */
.place-tag.place-tag-off { display: none !important; }
.town-panel .place-forget { min-height: 44px; }

/* the town box opened from the list bar: it opens right under the button the visitor tapped, wherever that is (owner 19 Nov 2026:
   "open it wherever the box is on screen so no jump"); town.js sets top/left/width from the button and follows it on scroll */
.place-panel.town-sheet { position: fixed !important; right: auto !important; bottom: auto !important; margin: 0 !important; transform: none !important;
  z-index: 1001; box-shadow: 0 12px 40px rgba(20, 16, 40, .28); max-height: calc(100vh - 24px); }
.town-sheet-bg { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 16, 40, .2); }
