/* css/discover.css */
/* discover.css: club discovery (home strip, /clubs), global search (/search),
   Saved (/saved) and the Following tab's post cards. Uses the design tokens
   only, so every look (Afterglow, Lite, Punch) carries it. */

/* ---------- the search field link (home and page topbars) ---------- */
.search-pill {
  display: inline-flex; align-items: center; gap: 10px; height: var(--hit); padding: 0 12px; flex: none;
  border-radius: var(--r-pill); color: var(--muted); font-size: var(--fs-sm); font-weight: var(--fw-medium);
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border);
  transition: color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.search-pill:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.search-pill svg { flex: none; }
@media (max-width: 639px) { .search-pill { width: var(--hit); padding: 0; justify-content: center; background: transparent; box-shadow: none; color: var(--text); } }
@media (min-width: 640px) { .search-pill { min-width: 240px; } }
.topbar .search-pill + .icon-btn, .topbar .search-pill + .btn { margin-left: 4px; }

/* ---------- "Clubs for you" strip on home (shares app.js's .club-strip arrows) ---------- */
.dc-strip .dc-strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 var(--gutter); margin-bottom: 8px; }
@media (min-width: 640px) { .dc-strip .dc-strip-head { padding: 0; } }
.dc-strip-all { display: inline-flex; align-items: center; gap: 2px; font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--accent-text); }
.dc-strip-all:hover { text-decoration: underline; }
.dc-strip .strip-arrow { top: calc(50% + 14px); }
.dc-tile {
  flex: 0 0 264px; scroll-snap-align: start; display: grid; grid-template-rows: 156px auto; overflow: hidden;
  border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--border);
}
.dc-tile-cover {
  grid-row: 1; grid-column: 1; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: 10px 12px; color: #fff; background-size: cover; background-position: center; overflow: hidden;
}
.dc-tile-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.7) 100%); }
.dc-tile-name { font: 400 17px/1.15 var(--font-display); text-shadow: 0 1px 10px rgba(0,0,0,.5); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dc-tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px 12px 76px; min-height: 52px; }
.dc-tile .dc-tile-icon { width: 48px !important; height: 48px !important; margin: 0 0 -24px 14px; border-radius: 14px !important; }
:root[data-look] .club-icon.club-mono.dc-tile-icon, :root .club-icon.club-mono.dc-tile-icon { font-size: 17px !important; }
.dc-tile-foot .btn { flex: none; }
.dc-tile:hover .dc-tile-cover { filter: saturate(1.1) brightness(1.05); }
.dc-strip .dc-more { flex: 0 0 132px !important; height: auto !important; min-height: 150px; border-radius: var(--r-lg) !important; }

.dc-live {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px 0 8px; border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(10,10,14,.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.dc-meta { font-size: var(--fs-xs); color: var(--muted); display: inline-flex; align-items: center; gap: 4px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- /clubs and the search page ---------- */
.dc-main > :not(.topbar) { margin-left: var(--gutter); margin-right: var(--gutter); }
@media (min-width: 640px) { .dc-main > :not(.topbar) { margin-left: 0; margin-right: 0; } }
.dc-main .topbar .btn span { white-space: nowrap; }
@media (max-width: 639px) { .dc-main .topbar .btn-strong span { display: none; } .dc-main .topbar .btn-strong { width: var(--hit); padding: 0; justify-content: center; } }
.dc-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: var(--sp-5) 0 var(--sp-3); }
.dc-sec-title { font: 400 var(--fs-xl)/1.15 var(--font-display); margin: 0; }
.dc-sec-head p { margin: 2px 0 0; font-size: var(--fs-sm); }
.dc-section { margin-bottom: var(--sp-5); }
.dc-section > .dc-sec-title { margin: var(--sp-5) 0 var(--sp-3); }

.dc-topics { margin-top: var(--sp-4) !important; }

.dc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); gap: var(--sp-5) var(--sp-4); }
@media (max-width: 560px) { .dc-grid { grid-template-columns: 1fr; gap: var(--sp-4); } }
.dc-card {
  position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--border);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
@media (hover: hover) { .dc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--border-strong); } }
.dc-cover {
  position: relative; isolation: isolate; aspect-ratio: 16 / 9; display: flex; align-items: flex-start; padding: 12px;
  background-size: cover; background-position: center; grid-row: 1; grid-column: 1;
}
.dc-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,0) 45%, rgba(0,0,0,.25)); }
.dc-body { display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; padding: 34px 18px 16px; min-width: 0; }
/* the club's icon sits on the photo's bottom edge, like a profile picture on its banner */
.dc-icon, .mc-icon {
  grid-row: 1; grid-column: 1; align-self: end; justify-self: start; z-index: 1;
  width: 56px !important; height: 56px !important; margin: 0 0 -26px 16px; border-radius: 16px !important;
  outline: 3px solid var(--surface);
}
.dc-name { margin: 0; font-size: var(--fs-md); font-weight: var(--fw-bold); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-name a:hover { text-decoration: underline; }
.dc-about { margin: 2px 0 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dc-foot { display: flex; align-items: center; gap: 4px; margin-top: 8px; min-width: 0; }
.dc-tags { flex: 1; min-width: 0; display: flex; gap: 6px; overflow: hidden; }
.dc-tag { font-size: var(--fs-xs); color: var(--accent-text); white-space: nowrap; font-weight: var(--fw-semi); }
.dc-tag:hover { text-decoration: underline; }
.dc-save { width: 36px; height: 36px; color: var(--muted); }
@media (max-width: 560px) {
  .dc-body { padding: 32px 16px 14px; }
}

/* ---------- /search ---------- */
.search-form { position: relative; min-width: 0; }
.search-field {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: var(--r-pill);
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); color: var(--muted);
}
.search-field:focus-within { box-shadow: inset 0 0 0 1.5px var(--primary), 0 0 0 4px var(--accent-wash); color: var(--text); }
.search-field input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: var(--fs-md); outline: none; }
.search-field input::-webkit-search-cancel-button { filter: grayscale(1); }
.search-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; list-style: none; margin: 0; padding: 6px;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-3), inset 0 0 0 1px var(--border); max-height: 70vh; overflow-y: auto;
}
.sg-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-md); min-width: 0; }
.search-suggest .is-active .sg-row, .sg-row:hover { background: var(--surface-2); }
.sg-thumb { width: 40px; height: 40px; flex: none; border-radius: 10px; background-size: cover; background-position: center; background-color: var(--surface-3); }
.sg-text { flex: 1; display: grid; min-width: 0; }
.sg-text b, .sg-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-sub { font-size: var(--fs-xs); color: var(--muted); }
.sg-kind { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.sg-all { justify-content: center; font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--accent-text); }
.search-jump { margin-top: var(--sp-3) !important; }
.search-hello { margin-top: var(--sp-6) !important; }
.search-people .row .sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

/* ---------- /saved ---------- */
.saved-intro { margin-top: var(--sp-1) !important; font-size: var(--fs-sm); }
.saved-jump { margin: var(--sp-3) 0 !important; }
.saved-sec { margin: var(--sp-5) 0 0; }
.saved-sec .section-title { margin-bottom: var(--sp-2); }
.saved-pinned .rows { box-shadow: var(--shadow-1), inset 0 0 0 1.5px var(--accent-wash); }
.saved-row .row { display: flex; align-items: center; gap: 12px; }
.saved-row .grow { min-width: 0; display: grid; }
.saved-row .title { font-weight: var(--fw-semi); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.saved-row .sub { font-size: var(--fs-xs); color: var(--muted); display: inline-flex; align-items: center; gap: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.saved-thumb { flex: none; }
.saved-thumb .cover { display: block; width: 64px; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; }
.saved-thumb .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.saved-thumb .mesh-chip { width: 48px; height: 48px; border-radius: 12px; background-size: cover; background-position: center; font-size: 16px; }
.saved-pin { color: var(--muted); }
.saved-pin[aria-pressed="true"] { color: var(--accent-text); }
.saved-pin[aria-pressed="true"] svg { fill: currentColor; }

/* ---------- Following tab: a post by someone you follow ---------- */
.post-card { padding: 14px 16px 10px; }
.post-card .pc-by { display: flex; align-items: center; gap: 12px; }
.post-card .who { display: grid; min-width: 0; }
.post-card .meta { font-size: var(--fs-xs); color: var(--muted); }
.post-card .meta a { color: var(--text); font-weight: var(--fw-semi); }
.post-body { display: block; margin: 10px 0 4px; font-size: var(--fs-md); line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.post-foot { display: flex; justify-content: flex-end; }

/* Browse, search and Saved have no side column: use the width, centred. */
@media (min-width: 1000px) {
  :is(.page-clubs, .page-search) .shell { grid-template-columns: minmax(0, 1040px); }
  .page-saved .shell { grid-template-columns: minmax(0, 760px); }
}
.search-field input:focus, .search-field input:focus-visible { outline: none; box-shadow: none; }
.post-more { margin-top: 0; padding-top: 6px; border-top: 1px solid var(--border); font-size: var(--fs-sm); color: var(--muted); -webkit-line-clamp: 3; }

/* Home: "Finish setting up" while a new account's welcome steps wait (onboard.go). */
.onboard-resume { display: flex; align-items: center; gap: var(--sp-3); margin: var(--sp-3) 0; padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg); color: #fff; text-decoration: none; box-shadow: var(--shadow-pop, none);
  /* A light veil over the gradient keeps the white text readable on its orange end (light themes). */
  background: linear-gradient(rgba(20, 8, 40, .16), rgba(20, 8, 40, .16)), var(--pop-grad); text-shadow: 0 1px 2px rgba(20, 8, 40, .25); }
.onboard-resume:hover { filter: brightness(1.04); }
.onboard-resume:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.onboard-resume b { display: block; }
.onboard-resume .sub { display: block; font-size: var(--fs-sm); }

/* Your areas (region clubs, round 019): first, ringed in the area's colour. */

/* Suggestions from the matching engine (recs_serve.go): "Not interested"
   on a tile or card, and the plain reason on a card. */
.dc-tile { position: relative; }
.dc-tile .rec-x {
  position: absolute; top: 6px; right: 6px; z-index: 2; width: 28px; height: 28px;
  color: #fff; background: rgb(0 0 0 / .35); border-radius: 999px;
}
.dc-tile .rec-x:hover, .dc-tile .rec-x:focus-visible { background: rgb(0 0 0 / .55); }
.dc-card .rec-x { color: var(--faint); }
.dc-why { margin: 0; font-size: var(--fs-sm); }
.about-like { margin-top: var(--sp-2); }
.people-list .rec-x { color: var(--faint); flex: none; }

/* ---------- /clubs tabs: Discover | My clubs (real URLs, Back works) ---------- */
.clubs-tabs { display: flex; gap: 6px; margin-top: var(--sp-3) !important; border-bottom: 1px solid var(--border); }
.clubs-tab {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; margin-bottom: -1px;
  font-weight: var(--fw-semi); color: var(--muted); border-bottom: 2px solid transparent;
}
.clubs-tab:hover { color: var(--text); }
.clubs-tab[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent, var(--primary)); }
.clubs-tab-n { font-size: var(--fs-xs); color: var(--faint); font-weight: var(--fw-medium); }

/* ---------- My clubs: big cards, the wallpaper big and the icon on its edge ---------- */
.my-clubs { margin-top: var(--sp-4) !important; }
.my-clubs-note { color: var(--muted); margin: 0 0 var(--sp-4); }
.my-clubs-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: var(--sp-4); }
.my-clubs-search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: var(--r-pill); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); color: var(--muted); }
.my-clubs-search .input, .my-clubs-search .input:focus { border: 0 !important; background: transparent !important; box-shadow: none !important; outline: 0; padding-left: 0; height: 42px; flex: 1; min-width: 0; }
.my-clubs-search:focus-within { box-shadow: inset 0 0 0 2px var(--accent, var(--primary)); }
.my-clubs-sort { display: inline-flex; gap: 6px; }
.my-clubs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(264px, 1fr)); gap: var(--sp-5) var(--sp-4); }
@media (max-width: 560px) { .my-clubs-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-4) var(--sp-3); } }
.mc-card {
  position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--border);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
@media (hover: hover) { .mc-card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--border-strong); } }
.mc-card.is-area { box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--area, var(--primary)) 70%, transparent); }
.mc-cover { grid-row: 1; grid-column: 1; aspect-ratio: 16 / 9; background-size: cover; background-position: center; position: relative; display: flex; justify-content: flex-end; align-items: flex-start; padding: 10px; }
.mc-unread { position: static; }
.mc-body { padding: 34px 16px 16px; min-width: 0; }
.mc-name { margin: 0; font-size: var(--fs-md); font-weight: var(--fw-bold); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-name a::after { content: ""; position: absolute; inset: 0; } /* the whole card opens the club */
.mc-meta { margin: 4px 0 0; font-size: var(--fs-sm); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) {
  .mc-icon { width: 44px !important; height: 44px !important; margin: 0 0 -20px 12px; border-radius: 13px !important; }
  .mc-body { padding: 26px 12px 12px; }
  .mc-name { font-size: var(--fs-sm); }
  .mc-meta { font-size: var(--fs-xs); }
}
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: var(--sp-5) 0 !important; }
.dc-tile .dc-tile-cover { padding-bottom: 30px; }

/* css/board.css */
/* board.css: the club Board and Events pages (board.html), and the poll and
   event cards the chat and Home draw (polls.js, upcoming.js). Tokens only, so
   every look and both themes apply. */

.board-main { display: flex; flex-direction: column; min-width: 0; }
:root[data-look] .board-main .board-head { min-height: 120px; padding-bottom: var(--sp-2); display: flex; flex-direction: column; }
@media (max-width: 639px) { :root[data-look] .board-main .board-head { min-height: 88px; } }
.board-club { display: grid; min-width: 0; color: #fff; text-decoration: none; margin-left: 4px; line-height: 1.2; }
.board-club b { font-family: var(--font-display); font-size: var(--fs-lg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-club span { font-size: var(--fs-xs); opacity: .8; }
.board-in { width: 100%; max-width: 860px; margin: 0 auto; padding: var(--sp-4) var(--gutter) var(--sp-6); display: grid; gap: var(--sp-4); align-content: start; }
.board-bar { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.board-bar .grow { flex: 1; }

/* ---- post cards ---- */
.post-list, .event-list, .comment-list, .comment-replies, .attendees { list-style: none; margin: 0; padding: 0; }
.post-list, .event-list { display: grid; gap: var(--sp-3); }
.post-card { padding: 0; overflow: hidden; transition: border-color var(--dur-2) var(--ease); }
.post-card:hover { border-color: var(--card-hover-ring, var(--border-strong)); }
.post-card.is-pinned { border-color: color-mix(in srgb, var(--primary) 45%, transparent); }
.post-card-link { display: flex; gap: var(--sp-3); padding: var(--sp-4) var(--sp-4) var(--sp-2); color: inherit; text-decoration: none; }
.post-card-text { flex: 1; min-width: 0; display: grid; gap: 6px; align-content: start; }
.post-card-title { font-size: var(--fs-lg); line-height: var(--lh-tight); overflow-wrap: anywhere; }
.post-card-snip { color: var(--muted); font-size: var(--fs-sm); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-meta { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--muted); }
.post-card-flags:empty { display: none; }
.post-card-flags, .post-flags { display: flex; gap: 6px; flex-wrap: wrap; }
.post-flags:empty { display: none; }
.post-card-img { flex: none; width: 96px; height: 96px; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-stats { display: flex; gap: var(--sp-4); padding: 0 var(--sp-4) var(--sp-3); font-size: var(--fs-xs); color: var(--muted); }
.post-card-stats span { display: inline-flex; align-items: center; gap: 4px; }
.flag-pill { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: var(--fw-semi);
  color: var(--accent-text); background: var(--accent-wash); }
.flag-pill .ic { width: 12px; height: 12px; }
.flag-pill.is-danger { color: var(--danger); background: var(--danger-wash); }
.flag-pill.is-on { color: var(--success); background: color-mix(in srgb, var(--success) 14%, transparent); }
.blocked-fold summary { cursor: pointer; color: var(--faint); font-size: var(--fs-sm); padding: var(--sp-3) var(--sp-4); }
.pager { display: flex; align-items: center; justify-content: center; gap: var(--sp-3); }
.board-empty .empty-art { color: #fff; }

/* ---- a post ---- */
.post-full, .event-full { padding: var(--sp-5); display: grid; gap: var(--sp-4); }
.post-title { font-family: var(--font-display); font-size: var(--fs-2xl); line-height: var(--lh-tight); letter-spacing: var(--display-track, 0); overflow-wrap: anywhere; }
.post-by { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); }
.post-by > span { display: grid; }
.post-by .grow { flex: 1; }
.post-by-name { font-weight: var(--fw-bold); color: var(--text); text-decoration: none; }
.prose { line-height: 1.6; overflow-wrap: anywhere; }
.prose > * + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose blockquote { margin: 0; border-left: 3px solid var(--border-strong); padding-left: var(--sp-3); color: var(--muted); }
.prose pre { background: var(--surface-2); padding: var(--sp-3); border-radius: var(--r-sm); overflow-x: auto; font-size: var(--fs-sm); }
.prose code { font-family: var(--font-mono); font-size: .92em; background: var(--surface-2); padding: 1px 4px; border-radius: 4px; }
.prose pre code { background: none; padding: 0; }
.prose a { color: var(--accent-text); }
.post-images { display: grid; gap: 4px; grid-template-columns: repeat(2, 1fr); border-radius: var(--r-md); overflow: hidden; }
.post-images.n1 { grid-template-columns: 1fr; }
.post-images a { display: block; background: var(--surface-2); }
.post-images img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; display: block; }
.post-images.n1 img { object-fit: contain; height: auto; }
.post-files { padding: 0; }
/* a board post's own card (board.html: an <a>); chat and comment cards are convo.css's */
a.link-preview { display: flex; gap: var(--sp-3); align-items: stretch; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; color: inherit; text-decoration: none; }
a.link-preview > img { width: 120px; min-height: 90px; object-fit: cover; flex: none; }
a.link-preview > span { display: grid; gap: 2px; padding: var(--sp-3); font-size: var(--fs-sm); min-width: 0; }
.post-removed { display: flex; gap: var(--sp-3); align-items: center; color: var(--muted); }
.board-reacts { display: flex; gap: 6px; flex-wrap: wrap; position: relative; }
.board-reacts:empty { display: none; }
.board-picker { position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 5; display: flex; gap: 2px; padding: 4px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-3); }
.board-picker button { width: 36px; height: 36px; border: 0; background: none; font-size: 20px; border-radius: 50%; cursor: pointer; }
.board-picker button:hover { background: var(--surface-2); }

/* ---- comments ---- */
.comments { display: grid; gap: var(--sp-3); }
.comment-form { display: flex; gap: var(--sp-2); align-items: flex-start; }
.comment-form .input { flex: 1; min-height: 44px; resize: vertical; }
.comment-form.is-reply { margin: var(--sp-2) 0 var(--sp-2) 44px; }
.comment-list { display: grid; gap: var(--sp-3); }
.comment-replies { display: grid; gap: var(--sp-2); margin: var(--sp-2) 0 0 44px; padding-left: var(--sp-3); border-left: 2px solid var(--border); }
.comment { display: flex; gap: var(--sp-3); border-radius: var(--r-md); scroll-margin-top: 80px; }
.comment.is-new { animation: board-flash 2.4s var(--ease); }
@keyframes board-flash { from { background: var(--accent-wash); } to { background: transparent; } }
.comment-main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.comment-head { display: flex; gap: 6px; align-items: baseline; font-size: var(--fs-sm); }
.comment-name { font-weight: var(--fw-bold); color: var(--text); text-decoration: none; }
.comment-time { text-decoration: none; }
.comment-tools { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.comment-stub { font-size: var(--fs-sm); font-style: italic; padding: 4px 0; }
.comments-none { text-align: center; padding: var(--sp-4); }

/* ---- compose ---- */
.compose { padding: var(--sp-5); display: grid; gap: var(--sp-4); }
.compose-h { font-family: var(--font-display); font-size: var(--fs-xl); }
.post-text { min-height: 160px; resize: vertical; line-height: 1.5; }
.fmt-help { font-family: var(--font-mono); font-size: var(--fs-xs); }
.compose-attach { display: grid; gap: var(--sp-3); }
.attach-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.attach-list:empty { display: none; }
.attach { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 72px; min-width: 72px; padding: 0 var(--sp-3); border-radius: var(--r-md); background: var(--surface-2); font-size: var(--fs-xs); overflow: hidden; }
.attach img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.attach.is-busy { opacity: .55; }
.attach-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; }
.poll-edit { border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--sp-4); display: grid; gap: var(--sp-3); }
.poll-choices { display: grid; gap: var(--sp-2); }
.poll-choices .btn { justify-self: start; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); }
.compose-actions { justify-content: flex-end; }
.ev-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .ev-grid { grid-template-columns: 1.2fr 1fr 1fr 1.4fr; } }
.cover-pick { display: flex; align-items: center; gap: var(--sp-3); }
.cover-thumb { width: 96px; height: 60px; border-radius: var(--r-sm); background: var(--surface-2) center / cover; flex: none; }
.cover-thumb.is-busy { opacity: .5; }

/* ---- polls ---- */
.poll { display: grid; gap: var(--sp-2); }
.poll-q { display: flex; gap: 6px; align-items: flex-start; }
.poll-q .ic { margin-top: 3px; color: var(--accent-text); }
.poll-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.poll-opt { position: relative; display: flex; align-items: center; gap: var(--sp-2); width: 100%; min-height: 40px; padding: 0 var(--sp-3);
  border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; overflow: hidden; }
.poll-opt:hover:not([disabled]) { border-color: var(--primary); }
.poll-opt[disabled] { cursor: default; }
.poll-bar { position: absolute; inset: 0 auto 0 0; width: var(--pct, 0%); background: var(--accent-wash); transition: width var(--dur-3) var(--ease-out); }
.poll-opt.is-top .poll-bar { background: color-mix(in srgb, var(--primary) 28%, transparent); }
.poll-opt.is-me { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.poll-text, .poll-n { position: relative; }
.poll-text { flex: 1; min-width: 0; overflow-wrap: anywhere; padding: 8px 0; }
.poll-n { font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--muted); }
.poll-who { display: block; font-size: var(--fs-xs); padding: 2px var(--sp-3) 0; }
.poll-info { font-size: var(--fs-xs); }
.link-btn { border: 0; background: none; padding: 0; color: var(--accent-text); font: inherit; cursor: pointer; text-decoration: underline; }
.bubble-poll { min-width: min(320px, 72vw); padding: var(--sp-3) !important; }
.composer-poll { flex: none; }

/* ---- events ---- */
.date-tile { flex: none; display: grid; justify-items: center; align-content: center; width: 54px; height: 58px; border-radius: var(--r-md); background: var(--pop-grad); color: #fff; line-height: 1; box-shadow: var(--shadow-pop); }
.date-tile span { font-size: 11px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.date-tile b { font-size: 24px; font-family: var(--font-display); margin-top: 3px; }
.event-card { display: flex; gap: var(--sp-3); align-items: center; padding: var(--sp-3) var(--sp-4); color: inherit; text-decoration: none; }
.event-card:hover { border-color: var(--card-hover-ring, var(--border-strong)); }
.event-card.is-past, .event-card.is-cancelled { opacity: .7; }
.event-card.is-cancelled .post-card-title { text-decoration: line-through; }
.event-card-text { display: grid; gap: 3px; min-width: 0; }
.event-card-when { font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--accent-text); }
.event-card-where { font-size: var(--fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-card-meta { display: flex; gap: var(--sp-2); align-items: center; font-size: var(--fs-xs); color: var(--muted); }
.event-card .post-card-img { width: 80px; height: 64px; }
.event-cover { margin: calc(-1 * var(--sp-5)) calc(-1 * var(--sp-5)) 0; aspect-ratio: 2.4; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--surface-2); }
.event-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-top { display: flex; gap: var(--sp-4); align-items: flex-start; }
.event-top .grow { flex: 1; min-width: 0; display: grid; gap: 6px; justify-items: start; }
.event-when, .event-where { display: flex; gap: 6px; align-items: flex-start; font-size: var(--fs-sm); }
.event-when .ic, .event-where .ic { flex: none; margin-top: 2px; }
.event-where > span, .event-when > span { min-width: 0; }
.event-when { font-weight: var(--fw-semi); }
.event-local { font-size: var(--fs-sm); }
.rsvp { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.rsvp-btn[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.event-counts { font-size: var(--fs-sm); }
.attendees { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.attendees a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--text); text-decoration: none; font-size: var(--fs-sm); }
.event-cal { padding-top: var(--sp-2); border-top: 1px solid var(--border); }
.event-by { font-size: var(--fs-xs); }

/* the chat's event card */
.bubble-event { display: grid !important; gap: 0; padding: 0 !important; overflow: hidden; min-width: min(300px, 72vw); color: inherit; text-decoration: none; }
.bubble-event .be-cover { display: block; aspect-ratio: 2.6; overflow: hidden; }
.bubble-event .be-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bubble-event .be-row { display: flex; gap: var(--sp-3); align-items: center; padding: var(--sp-3); }
.bubble-event .be-text { display: grid; gap: 2px; min-width: 0; }
.bubble-event .be-kicker { display: inline-flex; gap: 4px; align-items: center; font-size: 11px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .06em; color: var(--accent-text); }
.bubble-event .be-when { font-size: var(--fs-sm); }
.bubble-event .be-meta { font-size: var(--fs-xs); }
.bubble-event.is-cancelled b { text-decoration: line-through; }
.bubble-event.is-gone { padding: var(--sp-3) !important; color: var(--faint); font-style: italic; }

/* ---- Home: Upcoming, and events in Local ---- */
.upcoming { display: grid; gap: var(--sp-2); }
.upcoming[hidden] { display: none; }
.upcoming-row { display: flex; gap: var(--sp-3); overflow-x: auto; scrollbar-width: none; padding: 2px; }
.upcoming-row::-webkit-scrollbar { display: none; }
.up-card { flex: none; width: 264px; display: flex; gap: var(--sp-3); align-items: center; padding: var(--sp-3); color: inherit; text-decoration: none; }
.up-card .up-text { display: grid; gap: 2px; min-width: 0; }
.up-card b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-card .sub { font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-card .when { font-size: var(--fs-xs); color: var(--accent-text); font-weight: var(--fw-semi); }
.local-events { display: grid; gap: var(--sp-2); margin-top: var(--sp-3); }
.local-events[hidden] { display: none; }

@media (max-width: 639px) {
  .event-top { gap: var(--sp-3); }
  .event-top .date-tile { width: 46px; height: 50px; }
  .board-in { padding-top: var(--sp-3); }
  .post-full, .event-full, .compose { padding: var(--sp-4); }
  .event-cover { margin: calc(-1 * var(--sp-4)) calc(-1 * var(--sp-4)) 0; }
  .post-title { font-size: var(--fs-xl); }
  .post-card-img { width: 72px; height: 72px; }
  .comment-replies { margin-left: 18px; }
  .comment-form.is-reply { margin-left: 18px; }
  .comment-form .av { display: none; }
}
:root[data-look] .rsvp .rsvp-btn[aria-pressed="true"] { background: var(--pop-grad) !important; color: #fff; border-color: transparent; box-shadow: var(--shadow-pop); }

/* ---- local rooms' kinds of post (local_posts.go) ---- */
.flag-pill.is-kind { color: #fff; background: linear-gradient(115deg, #4C1DE6, #9D1AA8 60%, #E8335A); }
.flag-pill.is-quiet { color: var(--muted); background: var(--surface-2); }
.board-kinds { margin-bottom: calc(-1 * var(--sp-2)); }
.board-kind-pick { border: 0; padding: 0; margin: 0; }
.board-kind-pick .chip { cursor: pointer; }
.board-kind-pick .chip:has(input:checked) { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.board-kind-pick .chip:has(input:focus-visible) { box-shadow: var(--focus); }
/* ---- round 016: votes, flair, crossposts, approval, trending, tags ---- */
/* votes: a rail on post cards, a row on a post and on comments */
.post-card.has-votes { display: grid; grid-template-columns: 52px minmax(0, 1fr); }
.post-card.has-votes > .votes { grid-row: 1 / span 2; padding: var(--sp-3) 0 var(--sp-3) var(--sp-2); }
.post-card.has-votes > .post-card-link { padding-left: var(--sp-2); }
.post-card.has-votes > .post-card-stats { grid-column: 2; padding-left: var(--sp-2); }
.post-card.has-votes > .blocked-fold { grid-column: 1 / -1; }
.votes { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.post-actions .votes, .comment-tools .votes { flex-direction: row; gap: 0; border-radius: var(--r-pill); background: var(--surface-2); padding: 2px; }
.post-actions { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.vote-btn { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer;
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease); }
.comment-tools .vote-btn { width: 30px; height: 30px; }
.vote-btn .ic { width: 18px; height: 18px; fill: none; }
.vote-btn:hover:not([disabled]) { background: var(--accent-wash); color: var(--text); }
.vote-btn:active:not([disabled]) { transform: scale(.88); }
.vote-btn[disabled] { cursor: default; opacity: .45; }
.vote-n { min-width: 2ch; text-align: center; font-weight: var(--fw-bold); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; color: var(--text); }
.comment-tools .vote-n { font-size: var(--fs-xs); padding: 0 2px; }
.votes.is-up .vote-up { color: #fff; background: var(--pop-grad); box-shadow: var(--shadow-pop); }
.votes.is-up .vote-up .ic { fill: currentColor; }
.votes.is-up .vote-n { color: var(--accent-text); }
.votes.is-down .vote-down { color: #fff; background: linear-gradient(160deg, #3B5BFF, #6A2EE8); }
.votes.is-down .vote-down .ic { fill: currentColor; }
.votes.is-down .vote-n { color: #7C8CFF; }
.votes.is-busy { opacity: .7; }

/* flair: deep colours, readable in both themes */
.flair { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: var(--r-pill); font-size: var(--fs-xs);
  font-weight: var(--fw-semi); line-height: 1; color: #fff; background: var(--fl, #475569); white-space: nowrap; text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.flair .ic { width: 12px; height: 12px; }
.flair-sm { height: 18px; padding: 0 7px; font-size: 11px; margin-left: 4px; color: var(--text); background: var(--surface-2); border: 1px solid var(--border); }
.flair-ruby { --fl: #A3123C; } .flair-ember { --fl: #B23A0E; } .flair-amber { --fl: #94610B; } .flair-jade { --fl: #0B7A55; }
.flair-teal { --fl: #0B6C75; } .flair-azure { --fl: #1B55C4; } .flair-indigo { --fl: #4130B8; } .flair-violet { --fl: #7330BD; }
.flair-plum { --fl: #8E2470; } .flair-slate { --fl: #3E4A5E; }
.flair-sm.flair-ruby, .flair-sm.flair-ember, .flair-sm.flair-amber, .flair-sm.flair-jade, .flair-sm.flair-teal, .flair-sm.flair-azure,
.flair-sm.flair-indigo, .flair-sm.flair-violet, .flair-sm.flair-plum, .flair-sm.flair-slate { color: #fff; background: var(--fl); border-color: transparent; }
.flair-none { color: var(--muted); background: var(--surface-2); border: 1px dashed var(--border-strong); }
.flair-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.flair-filter .flair { height: 28px; padding: 0 12px; font-size: var(--fs-sm); opacity: .78; transition: opacity var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease); }
.flair-filter .flair:hover, .flair-filter .flair.is-on { opacity: 1; }
.flair-filter .flair.is-on { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--fl); }
.flair-choices { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.flair-choice { display: inline-flex; cursor: pointer; }
.flair-choice input { position: absolute; opacity: 0; pointer-events: none; }
.flair-choice .flair { height: 30px; padding: 0 12px; font-size: var(--fs-sm); opacity: .7; }
.flair-choice input:checked + .flair { opacity: 1; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--primary); }
.flair-choice input:focus-visible + .flair { outline: 2px solid var(--primary); outline-offset: 3px; }
.flair-text { max-width: 220px; }
.flair-pick { border: 0; padding: 0; margin: 0; display: grid; gap: var(--sp-2); }
.board-window { margin-top: calc(-1 * var(--sp-2)); }
.chips-sm .chip { height: 30px; font-size: var(--fs-xs); }
.board-waits { display: flex; align-items: center; gap: 6px; }

/* crossposts and waiting posts */
.xpost-note { display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--muted); padding: 8px 12px; border-radius: var(--r-md); background: var(--surface-2); }
.post-wait { display: flex; gap: var(--sp-3); align-items: center; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md);
  background: color-mix(in srgb, var(--warning) 14%, transparent); border: 1px solid color-mix(in srgb, var(--warning) 40%, transparent); }
.post-wait .ic { color: var(--warning); flex: none; }
.flag-pill.is-wait { color: var(--warning); background: color-mix(in srgb, var(--warning) 14%, transparent); }
.post-card.is-pending { border-style: dashed; }
.q-post-title { font-weight: var(--fw-bold); }

/* the board's settings */
.bs-h { padding: 0 var(--sp-1); }
.bs-form fieldset { border: 0; padding: 0; margin: 0; }
.bs-check { display: flex; gap: 8px; align-items: center; }
.flair-rows { display: grid; gap: var(--sp-2); }
.flair-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr) auto auto auto; gap: var(--sp-2); align-items: center; }
.flair-row .flair-sample { justify-self: start; }
@media (max-width: 639px) {
  .flair-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .flair-row .flair-sample { grid-column: 1; }
  .post-card.has-votes { grid-template-columns: 44px minmax(0, 1fr); }
  .post-card.has-votes > .votes { padding-left: 4px; }
  .vote-btn { width: 32px; height: 32px; }
}
.trusted-list { padding: 0; }

/* trending (Home, /clubs, /tag) */
.trend-box { padding: var(--sp-4); display: grid; gap: var(--sp-3); position: relative; overflow: hidden; }
.trend-box::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--pop-grad); }
.trend-head { display: flex; align-items: center; gap: var(--sp-2); }
.trend-head .section-title { margin: 0; }
.trend-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--pop-grad); box-shadow: var(--shadow-pop); }
.trend-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.trend-tag { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--text);
  font-weight: var(--fw-semi); font-size: var(--fs-sm); text-decoration: none; border: 1px solid var(--border); transition: border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease); }
.trend-tag:hover { border-color: var(--primary); color: var(--accent-text); }
.trend-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.trend-post { display: flex; gap: var(--sp-3); align-items: center; padding: 8px; border-radius: var(--r-md); color: inherit; text-decoration: none; }
.trend-post:hover { background: var(--surface-2); }
.trend-post .grow { flex: 1; min-width: 0; display: grid; gap: 2px; }
.trend-post b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trend-post .sub { font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trend-score { flex: none; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; height: 28px; padding: 0 8px;
  border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--accent-text); background: var(--accent-wash); }
.dc-main > .trend-box, .main > .trend-box { margin: 0 var(--gutter, 16px); }
.tag-hero { margin: var(--sp-3) var(--gutter, 16px) 0; border-radius: var(--r-lg); padding: var(--sp-5); display: flex; gap: var(--sp-4); align-items: center; color: #fff; }
.tag-hero-mark { font-family: var(--font-display); font-size: 64px; line-height: 1; opacity: .9; width: 84px; height: 84px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.12); flex: none; }
.tag-hero .display { margin: 0; overflow-wrap: anywhere; }
.tag-hero p { margin: 4px 0 0; opacity: .85; }
.tag-msgs .row { align-items: flex-start; }
.tag-msg-body { white-space: normal; font-weight: var(--fw-regular, 400); }
a.hashtag, a.md-tag { color: var(--accent-text); font-weight: var(--fw-semi); text-decoration: none; }
a.hashtag:hover, a.md-tag:hover { text-decoration: underline; }
@media (max-width: 639px) { .tag-hero { padding: var(--sp-4); } .tag-hero-mark { width: 60px; height: 60px; font-size: 44px; } }
@media (max-width: 639px) {
  .board-bar { flex-wrap: nowrap; gap: var(--sp-2); }
  .board-bar > .chips { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .board-bar > .chips::-webkit-scrollbar { display: none; }
  .board-bar > .grow { display: none; }
  .board-bar .btn-create { flex: none; padding-inline: 12px; }
  .flair-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .flair-filter::-webkit-scrollbar { display: none; }
}
.board-in { grid-template-columns: minmax(0, 1fr); }
.board-bar, .flair-filter, .board-window { min-width: 0; }
.flair-row { grid-template-columns: minmax(0, 1fr) 128px 140px auto 40px; }
.flair-row > .input { width: 100%; min-width: 0; }
.flair-row .flair-sample { max-width: 140px; }
@media (max-width: 639px) { .flair-row { grid-template-columns: minmax(0, 1fr) 110px; } .flair-row .flair-sample { grid-column: 1; } }
.dc-main > .trend-box { margin: var(--sp-4) 0 var(--sp-2); }
.main:not(.dc-main) > .trend-box { margin: var(--sp-3) var(--gutter, 16px); }
@media (max-width: 639px) {
  .flair-row { grid-template-columns: minmax(0, 1fr) 104px 40px; grid-template-areas: "name color del" "sample mods mods"; row-gap: 6px;
    padding-bottom: var(--sp-2); border-bottom: 1px solid var(--border); }
  .flair-row > [name="name"] { grid-area: name; } .flair-row > select { grid-area: color; } .flair-row > .flair-sample { grid-area: sample; grid-column: auto; }
  .flair-row > .check { grid-area: mods; justify-self: end; } .flair-row > [data-board="flair-del"] { grid-area: del; }
}
.tag-msgs .row .tag-msg-body { font-weight: 400; white-space: normal; }

/* the chat's event card: a link and, for members, one-tap Going / Maybe (polls.js) */
.bubble-event .be-link { display: grid; color: inherit; text-decoration: none; }
.bubble-event .be-rsvp { display: flex; gap: 8px; padding: 0 var(--sp-3) var(--sp-3); }

/* ---------- the poll sheet (polls.js): short, one switch for names or anonymous ---------- */
.poll-sheet h2 { display: inline-flex; align-items: center; gap: 8px; }
.poll-fills { gap: 6px; }
.poll-fills .chip { font-size: var(--fs-sm); }
.poll-choices { display: grid; gap: 8px; }
.poll-who { display: flex; flex-wrap: wrap; gap: 8px; }
.poll-who .chip-pick span { display: inline-flex; align-items: center; gap: 6px; }
.poll-more summary { cursor: pointer; color: var(--muted); font-size: var(--fs-sm); padding: 4px 0; }
.poll-more[open] summary { margin-bottom: 8px; }

