/* Bids (the 🗳️ tab, js/member-bids.js). People's photos here are slightly rounded squares; group logos stay round.
   One card style (Jay, October 21, 2026); color only for meaning: gold for a win, the Hush clay for Hush groups. */
:is(#portalGroupsPanel,[data-copy-of="portalGroupsPanel"]).bids-panel { position:relative; margin:0 -12px -12px; padding:0 0 12px; color:#e6ebf2; }
.bids-home { display:flex; flex-direction:column; gap:16px; padding:0 16px 16px; }
.bids-title { font-family:Georgia,"Times New Roman",serif; margin:0; padding:18px 0 0; font-size:28px; font-weight:400; color:#f1f3f5; }
.bids-card { display:flex; flex-direction:column; gap:10px; margin:0; padding:14px; border:1px solid #262c35; border-radius:14px; background:#141920; }
.bids-card-title { display:flex; align-items:center; gap:8px; margin:0; font-size:17px; font-weight:700; color:#f1f3f5; }
.bids-count { display:inline-grid; place-items:center; min-width:20px; height:20px; padding:0 6px; box-sizing:border-box; border-radius:10px; background:#d97757; color:#1a0f0b; font-size:12.5px; font-weight:800; }
/* A tab with nothing in it: one friendly line. */
.bids-empty-tab { margin:8px 4px 0; font-size:16px; line-height:1.45; color:#a7b2c1; text-align:center; }
/* Bids before it has loaded (renderPending): two lines where the empty tab's line goes. */
.bids-pending { display:flex; flex-direction:column; align-items:center; gap:9px; margin:13px 4px 0; }
.bids-pending-line { height:14px; border-radius:7px; }
.bids-rule { width:100%; height:1px; margin:0; border:0; background:#2a323d; }
.bids-empty { margin:0; font-size:15px; color:#a7b2c1; }
.bids-row { display:flex; align-items:center; gap:12px; width:100%; min-height:52px; margin:0; padding:0; border:0; background:none; color:inherit; font:inherit; text-align:left; cursor:pointer; }
div.bids-row { cursor:default; }
.bids-card .bids-row + .bids-row { padding-top:10px; border-top:1px solid #1f252d; }
.bids-row-text { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.bids-row-text strong { font-size:16.5px; font-weight:700; }
.bids-row-text small { font-size:14px; color:#a7b2c1; }
.bids-avatar { flex:none; width:52px; height:52px; border-radius:10px; overflow:hidden; display:grid; place-items:center; background:#1d2530; color:#d5dde7; font-weight:700; font-size:16px; }
.bids-avatar img { width:100%; height:100%; object-fit:cover; filter:saturate(1.08) contrast(1.03); }
.bids-avatar.is-group { width:40px; height:40px; border-radius:50%; background:#2a3442; }
.bids-avatar.is-large { width:88px; height:88px; border-radius:14px; font-size:28px; }
.bids-avatar.is-group.is-large { border-radius:50%; }
.bids-pill { flex:none; display:inline-flex; align-items:center; height:40px; padding:0 18px; box-sizing:border-box; border-radius:20px; background:#d97757; color:#1a0f0b; font-size:15px; font-weight:700; }
/* Done (voted): the one done green. */
.bids-pill.is-done { padding:0 4px; background:none; color:#8fe0b6; }
.bids-line { display:flex; justify-content:space-between; gap:10px; font-size:15px; }
.bids-line + .bids-line { padding-top:12px; border-top:1px solid #1f252d; }
.bids-line strong { font-weight:600; }
.bids-line span { color:#a7b2c1; text-align:right; }
.bids-line.is-tappable { width:100%; appearance:none; background:none; border:0; padding:0; color:inherit; font:inherit; font-size:15px; text-align:left; cursor:pointer; }
.bids-line + .bids-line.is-tappable { padding-top:12px; border-top:1px solid #1f252d; }
.bids-privacy-note { margin-top:10px; }
.bids-note { margin:0; font-size:14px; line-height:1.45; color:#a7b2c1; }

/* A candidate's vote card, and the screens to respond to a nomination or confirm a win. */
.bids-screen { display:flex; flex-direction:column; min-height:calc(100dvh - 200px); }
/* One photo at a time in a 4:5 frame, swiped sideways, with dots (photoFrame in member-bids.js; Jay, October 21, 2026). */
.bids-photo-frame { position:relative; margin:14px 16px 0; aspect-ratio:4/5; max-height:58vh; border-radius:14px; overflow:hidden; background:#1a2029; }
.bids-photo-frame.member-profile-hero { width:auto; max-height:58vh; }
.bids-photo-frame.member-profile-hero::after { content:none; }
.bids-photo-frame.is-empty { display:grid; place-items:center; aspect-ratio:auto; min-height:140px; background:none; }
.bids-photo-track { display:flex; width:100%; height:100%; }
.bids-photo-slide { flex:0 0 100%; min-width:0; height:100%; }
.bids-photo-slide > img { display:block; width:100%; height:100%; object-fit:cover; background:#1a2029; }
.bids-photo-slide > img.is-zoomable { cursor:zoom-in; }
.bids-photo-slide > .bids-photo-adult { width:100%; height:100%; font-size:17px; }
.bids-photo-dots { position:absolute; left:0; right:0; bottom:12px; display:flex; justify-content:center; gap:6px; pointer-events:none; }
.bids-photo-dot { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.4); }
.bids-photo-dot.is-on { background:#fff; }
.bids-screen-body { display:flex; flex-direction:column; gap:12px; padding:18px 16px 0; }
.bids-centered { align-items:center; text-align:center; padding-top:32px; }
.bids-centered .bids-card { width:100%; box-sizing:border-box; text-align:left; }
.bids-name { font-family:Georgia,"Times New Roman",serif; margin:0; font-size:26px; font-weight:400; color:#f0eee9; line-height:1.25; }
/* ✓ Verified / ⚠️ Not verified by a candidate's or new member's name (Jay, October 19, 2026): the profiles' pill, small. */
.bids-name .member-profile-pill.bids-verify { display:inline-flex; align-items:center; gap:5px; vertical-align:middle; margin-left:10px; height:26px; padding:0 10px; border-radius:13px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size:13.5px; font-weight:600; line-height:1; white-space:nowrap; }
.bids-name .member-profile-pill.bids-verify .member-profile-verified-check { width:15px; height:15px; font-size:10.5px; }
.bids-subtitle { margin:0; font-size:16px; line-height:1.45; color:#c9d3df; }
.bids-kind { display:flex; align-items:center; gap:6px; margin:0; font-size:14px; color:#9aa6b6; }
.bids-dot { width:8px; height:8px; border-radius:50%; background:#d97757; }
.bids-by { margin:0; padding:10px 12px; border-radius:12px; background:#141920; font-size:15px; }
.bids-about { margin:0; font-size:16px; line-height:1.45; color:#c9d3df; white-space:pre-wrap; }
.bids-point { margin:0; font-size:16px; line-height:1.4; }
.bids-footer { display:flex; flex-direction:column; gap:12px; margin-top:auto; padding:16px 16px 8px; }
/* A screen's bottom bar, pinned to the bottom: the note, then Back docked at the left of the actions. */
/* Just above the tab labels (or flush with the frame's bottom with no tabs), over the tabs' fade (Jay, October 21, 2026).
   Sticky offsets count from inside .app-scroll's bottom padding (12px + --tabs-h), and a short screen leaves the dock
   where it ends, above that padding: stick 12px up (the panel's padding) and move it down past both, so it lands in the
   same place either way. At bottom:--tabs-h it floated over the middle of the screen. */
.bids-footer.bids-dock { position:sticky; bottom:12px; transform:translateY(calc(24px + var(--tabs-h,0px) - max(var(--tabs-h,0px) - 16px, 0px))); z-index:6; gap:10px; margin-top:auto; padding:12px 12px 12px; border-top:1px solid #1f252d; background:#0d1014; }
.bids-dock-note { margin:0; text-align:center; font-size:13.5px; color:#a7b2c1; }
.bids-dock-note.is-vote { font-size:16px; line-height:1.35; color:#dfe7f2; }
.bids-dock-note.is-vote strong { color:#fff; font-weight:700; }
.bids-dock-row { display:flex; align-items:center; gap:8px; }
.bids-footer .bids-dock-row > :not(.bids-dock-back) { flex:1; min-width:0; }
.member-portal.app-framed .bids-dock-row > .chat-nav-back.bids-dock-back { flex:none; justify-content:center; width:48px; height:48px; padding:0; border:1px solid #d97757; border-radius:24px; background:#1a120f; color:#f3d5c8; box-shadow:none; font-size:24px; }
.bids-dock-row > .bids-voted { margin:0; }
.bids-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.bids-question { display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.bids-question strong { font-size:18px; font-weight:600; }
.bids-question small { flex:none; font-size:14px; color:#9aa6b6; }
.bids-choices { display:flex; gap:8px; }
.bids-choice { flex:1; min-width:0; height:48px; margin:0; padding:0 12px; border-radius:24px; border:1px solid #363e4a; background:#141920; color:#f1f3f5; font:inherit; font-size:17px; font-weight:700; cursor:pointer; }
.bids-choice.is-yes { border-color:#d97757; background:#d97757; color:#1a0f0b; }
.bids-choice:disabled { opacity:.6; cursor:default; }
.bids-voted { display:flex; align-items:center; justify-content:center; box-sizing:border-box; height:48px; margin:0 auto; padding:0 18px; border-radius:24px; font-size:17px; font-weight:700; text-align:center; }
.bids-voted.is-yes { color:#8fe0b6; background:rgba(76,195,138,.16); }
.bids-voted.is-no { color:#f0868c; background:rgba(240,134,140,.14); }
/* Right after voting, it fades in (no bounce). */
.bids-voted.is-new { animation:bids-voted-fade .24s ease-out; }
@keyframes bids-voted-pop { 0% { transform:scale(.9); opacity:0; } 100% { transform:scale(1); opacity:1; } }
@media (prefers-reduced-motion:reduce) { .bids-voted.is-new { animation:bids-voted-fade .25s ease-out; } }
@keyframes bids-voted-fade { from { opacity:0; } to { opacity:1; } }
.bids-status { margin:0; min-height:1em; font-size:15px; color:#e8b4a0; text-align:center; }
.bids-status:empty { display:none; }
.bids-footer .bids-note { text-align:center; }
.bids-nav { padding:8px 12px 12px; }
.bids-nav .chat-nav-back { width:auto; min-height:0; margin:0; border:0; border-radius:8px; background:none; box-shadow:none; color:#d97757; line-height:1; }

/* The sheet on a profile: your groups to nominate to. */
.bids-groups { display:flex; flex-direction:column; }
.bids-group:disabled { opacity:.5; cursor:default; }

/* A nomination waiting on you: its card comes first, edged in the blue; a win to confirm is gold (no glowing forever). */
.bids-card.is-nominee.is-asked { border-color:#6b3e2e; }
.bids-card.is-nominee.is-win { border-color:#d9a93a; }
.bids-win-note { margin:0; padding:10px 12px; border-radius:12px; background:rgba(230,195,106,.12); color:#ecd395; font-size:16px; font-weight:600; line-height:1.4; }
.bids-pill.is-win { background:linear-gradient(180deg,#f0d27e,#d4a63c); color:#1a1408; }
/* The "voted you in" sheet when the app opens. */
.bids-win-sheet { text-align:center; }
.bids-win-emoji { font-size:44px; line-height:1; margin:6px 0 8px; animation:bids-voted-pop .55s cubic-bezier(.2,1.4,.4,1); }
.bids-win-sheet .grid-primary.bids-win-confirm { background:linear-gradient(180deg,#f0d27e,#d4a63c); color:#1a1408; }
@media (prefers-reduced-motion:reduce) { .bids-win-emoji { animation:bids-voted-fade .25s ease-out; } }

/* New members InvitedIn to your group: the one card style, each new member with their face photo, a NEW tag (gold, good
   news) until tapped, and ✅ on the photo (⏳ while they still have to confirm). */
.bids-new-count { display:inline-grid; place-items:center; min-width:20px; height:20px; padding:0 6px; box-sizing:border-box; border-radius:10px; background:#e6c36a; color:#1a1408; font-size:12.5px; font-weight:800; }
.bids-new-row { position:relative; display:flex; align-items:center; gap:12px; width:100%; min-height:52px; margin:0; padding:0; border:0; background:none; color:inherit; font:inherit; text-align:left; cursor:pointer; }
.bids-new-row + .bids-new-row { padding-top:10px; border-top:1px solid #1f252d; }
.bids-new-row.is-static { cursor:default; }
/* A new member's nominee profile (from the new members card): their status. */
.bids-new-status { margin:0 0 12px; font-size:15.5px; font-weight:700; color:#ecd395; text-align:center; }
.bids-new-tag { position:absolute; top:-6px; left:38px; z-index:1; padding:2px 6px; border-radius:999px; background:#e6c36a; color:#1a1408; font-size:10.5px; font-weight:800; letter-spacing:.06em; }
.bids-new-row + .bids-new-row > .bids-new-tag { top:4px; }
.bids-avatar.bids-new-photo { position:relative; overflow:visible; }
/* The box doesn't clip (the ✅ or ⏳ sits over its corner), so the photo fills it on its own: a tall photo otherwise ran past the box in Safari. */
.bids-avatar.bids-new-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:10px; }
/* Pending / Joined: a filled pearl pill centered on the photo's bottom edge (Jay, October 27, 2026), and the two sections with a divider. */
.bids-new-pill { position:absolute; left:50%; bottom:-6px; transform:translateX(-50%); white-space:nowrap; z-index:1; padding:3px 8px; border-radius:999px;
  background:linear-gradient(135deg,#f8f5ef 0%,#e9e3d8 55%,#d9d2c6 100%); color:#2a251f; font-size:11px; font-weight:800;
  letter-spacing:.04em; text-transform:uppercase; line-height:1.2; box-shadow:0 1px 4px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.7); }
.bids-new-section { margin:4px 0 2px; font-size:13px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#8f8574; }
.bids-new-divider { width:100%; height:0; margin:10px 0 4px; border:0; border-top:1px solid #2a2f37; }
.bids-new-row .bids-row-text strong { font-size:16.5px; font-weight:700; color:#f1f3f5; }
.bids-new-when { font-size:14px; color:#a7b2c1; }
.bids-new-row .bids-row-text small { color:#a7b2c1; }
.bids-new-chevron { flex:none; font-size:22px; color:#8f9bab; }
.bids-new-foot { margin:2px 0 0; font-size:14px; color:#a7b2c1; text-align:center; }
/* The nominate sheet opened from "People you invited joined InvitedIn" (bidsSheet in member-bids.js). */
.bids-sheet .chat-secondary { display:block; width:100%; margin:8px 0 0; padding:11px 0; border:1px solid #343b46; border-radius:12px; background:transparent; color:#e6ebf2; font-weight:700; }
.bids-sheet .member-profile-sheet-status:empty { display:none; }
.bids-sheet .chat-secondary.is-no { margin:0 0 8px; border-color:rgba(240,138,138,.45); color:#f08a8a; }
.bids-card.is-invitees .bids-pill { margin-left:auto; }
/* Nominate anonymously (the Nominate sheet): the text at the left, the switch at the right. */
.bids-anonymous { display:flex; align-items:center; gap:12px; margin:0 0 12px; padding:12px 14px; border:1px solid #2a323d; border-radius:14px; background:#141a22; }
.bids-anonymous-text { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
.bids-anonymous-text strong { font-size:16px; color:#eef2f7; }
.bids-anonymous-text span { font-size:14px; line-height:1.35; color:#9aa6b4; }
.bids-anonymous .grid-switch:disabled { opacity:.7; cursor:default; }
.bids-group-note { display:block; margin-top:3px; font-size:13px; font-weight:500; color:#9aa6b4; }
.bids-group:has(.bids-group-note) { padding:10px 14px; }
/* Agreeing to a nomination: what the voters see (renderSetup in member-bids.js). */
.bids-setup .bids-setup-section { margin:0 16px 12px; }
.bids-setup-photos { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.bids-setup-photo { position:relative; aspect-ratio:3/4; margin:0; padding:0; overflow:hidden; border:2px solid transparent; border-radius:12px; background:#1a2029; color:#9aa6b6; font-size:28px; cursor:pointer; }
.bids-setup-photo img { display:block; width:100%; height:100%; object-fit:cover; }
.bids-setup-photo.is-picked { border-color:#d97757; }
.bids-setup-photo.is-add { border:1px dashed #3a4554; }
.bids-setup-photo-tag { position:absolute; left:6px; bottom:6px; padding:2px 7px; border-radius:9px; background:rgba(13,16,20,.75); color:#cfe0f5; font-size:12px; font-weight:700; }
.bids-setup-photo-tag.is-hush { color:#f0b39c; }
.bids-setup-photo-adult { position:absolute; right:6px; bottom:6px; padding:2px 7px; border-radius:9px; background:#000; color:#c9d1dc; font-size:12px; font-weight:800; }
.bids-setup-photo-number { position:absolute; top:6px; right:6px; display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:#d97757; color:#1a0f0b; font-size:14px; font-weight:800; }
.bids-setup-options { display:flex; flex-direction:column; gap:8px; }
.bids-setup-options.is-two { flex-direction:row; }
.bids-setup-option { flex:1; display:flex; flex-direction:column; align-items:flex-start; gap:2px; min-height:48px; margin:0; padding:10px 14px; border:1px solid #343b46; border-radius:12px; background:transparent; color:#e6ebf2; font:inherit; font-size:17px; font-weight:700; text-align:left; cursor:pointer; }
.bids-setup-options.is-two .bids-setup-option { align-items:center; justify-content:center; }
.bids-setup-option small { font-size:14px; font-weight:500; color:#9aa6b6; }
.bids-setup-option.is-on { border-color:#d97757; background:rgba(217,119,87,.14); }
.bids-setup-option:disabled { opacity:.45; cursor:default; }
.bids-setup-preview { display:flex; flex-direction:column; gap:10px; padding:12px; border-radius:12px; background:#0f1318; }
.bids-warning { margin:0; padding:10px 12px; border-radius:10px; background:rgba(217,119,87,.14); color:#f0b39c; font-size:14px; line-height:1.4; }
.bids-detail { display:flex; flex-direction:column; gap:6px; }
.bids-detail-title { margin:0; font-size:13px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#d97757; }
.bids-detail-pills { display:flex; flex-wrap:wrap; gap:6px; }
.bids-detail-pill { padding:5px 11px; border:1px solid #363e4a; border-radius:14px; background:#161c24; font-size:14px; font-weight:600; color:#d7dee8; }
.bids-actions > .bids-choice { flex:none; }

/* "Message nominee" on a vote card (nominee chats, migration 181). */
.bids-message { display:block; width:100%; height:48px; margin:4px 0 0; border-radius:24px; border:1px solid #d97757; background:#1a120f; color:#f3d5c8; font:inherit; font-size:17px; font-weight:700; cursor:pointer; }
.bids-message:disabled { opacity:.6; cursor:default; }
/* "Want to know who gets nominated…": for anyone without notifications on this device (notifyCard in member-bids.js). */
.bids-card.bids-notify { position:relative; gap:6px; }
.bids-notify-title { margin:0 36px 0 0; font-size:17px; font-weight:700; color:#f1f3f5; }
.bids-notify-text { margin:0 0 6px; font-size:15px; color:#a7b2c1; }
.bids-notify-on { display:block; width:100%; height:48px; border:0; border-radius:24px; background:#d97757; color:#1a0f0b; font:inherit; font-weight:700; cursor:pointer; }
.bids-notify-on:disabled { opacity:.6; }
.bids-notify-close { position:absolute; top:4px; right:4px; width:44px; height:44px; border:0; border-radius:50%; background:transparent; color:#8f9bab; font-size:17px; cursor:pointer; }
.bids-notify-status { margin:0 0 10px; font-size:14px; color:#ff9aa0; }
.bids-notify-status:empty { display:none; }
/* The chat's notification steps when hosted in a Bids sheet. */
.bids-sheet h4 { margin:0 0 8px; font-size:17px; }
.bids-sheet p { margin:0 0 10px; font-size:15px; color:#a7b0bd; }
.bids-sheet p:empty { display:none; }
.bids-sheet .chat-primary { display:block; width:100%; padding:11px 0; border:0; border-radius:12px; background:#d97757; color:#1a0f0b; font-weight:700; }
.bids-sheet ol.chat-home-steps { margin:0 0 12px; padding-left:20px; font-size:15px; line-height:1.45; color:#c9d1dc; }
.bids-sheet ol.chat-home-steps li + li { margin-top:6px; }
/* Direct adds and partner requests: one card (askCard in member-bids.js), a photo, a tag and a one-line title, then Deny
   and Confirm side by side; a Hush one edged in the Grid's clay. */
.bids-group-add.is-hush { border-color:rgba(217,119,87,.55); }
.bids-group-add.is-hush .bids-choice.is-yes { border-color:#d97757; background:#d97757; color:#1a0f0b; }
.bids-group-add .grid-primary { background:#d97757; color:#1a0f0b; }
/* One block of text, so the italic Hush (brand-italics.js) never becomes its own flex column (Jay, October 17, 2026). */
.bids-group-add .bids-card-title { display:block; font-size:17px; line-height:1.3; }
.bids-ask-head { display:flex; align-items:center; gap:12px; }
.bids-ask-photo { flex:none; width:52px; height:52px; border-radius:10px; object-fit:cover; background:#1d2530; display:grid; place-items:center; color:#d5dde7; font-weight:700; }
.bids-ask-text { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.bids-ask-tag { display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:700; color:#d97757; }
.bids-ask-tag::before { content:''; width:8px; height:8px; border-radius:2px; background:currentColor; }
.bids-ask-tag.is-hush { color:#e99b80; }
.bids-group.is-hush { border-color:rgba(217,119,87,.55); color:#f0d2c6; }
.bids-group.is-social { border-color:rgba(217,119,87,.6); color:#d6e4f6; }

/* The four tabs (Election, For You, Nominees, Results): equal 44px segments, each with its own badge in the app's
   blue (gold where it means a win or new members). */
.bids-tabs { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px; padding:4px; border-radius:14px; background:#141920; }
.bids-subtab { position:relative; height:44px; margin:0; padding:0 2px; white-space:nowrap; border:0; border-radius:10px; background:transparent; color:#a7b2c1; font:inherit; font-size:15px; font-weight:600; line-height:1.1; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.bids-subtab.is-on { background:#2d1c15; color:#fff; box-shadow:inset 0 0 0 1px #6b3e2e; }
.bids-subtab-badge { position:absolute; top:4px; right:4px; min-width:16px; height:16px; padding:0 4px; box-sizing:border-box; border-radius:8px; display:grid; place-items:center; font-size:11px; font-weight:800; color:#1a0f0b; background:#d97757; }
.bids-subtab-badge.is-gold { background:#e6c36a; color:#1a1408; }
.bids-subtab-badge.is-purple { background:#d97757; }
/* Group names: the Social blue, or the Hush clay for a Hush group. */
.bids-group-elect { color:#d97757; }
.bids-group-elect.is-hush { color:#e99b80; }
.bids-group-result { color:#d97757; }
.bids-group-result.is-hush, .bids-group-name.is-hush { color:#e99b80; }
.bids-side-tag { display:inline-block; align-self:flex-start; margin:2px 0 8px; padding:3px 10px; border-radius:999px; border:1px solid rgba(217,119,87,.55); color:#d97757; font-size:13px; font-weight:700; }
.bids-side-tag.is-hush { border-color:rgba(217,119,87,.6); color:var(--grid-accent,#D97757); }
/* "You're In!": a group voted you in. The one celebratory moment: gold, with its picture's confetti. */
.bids-win-card { align-items:center; text-align:center; background:radial-gradient(120% 90% at 50% 0%,rgba(230,195,106,.22),transparent 60%),#1c170e; border:1px solid #d9a93a; }
.bids-win-art { display:block; width:100%; max-width:320px; height:auto; }
.bids-win-title { margin:0; font-family:Georgia,"Times New Roman",serif; font-size:26px; font-weight:400; color:#f6e3a8; }
.bids-win-text { margin:0; font-size:15px; line-height:1.45; color:#d9cfb4; }
.bids-pill.is-win.bids-win-button { align-self:stretch; justify-content:center; height:48px; border:0; border-radius:24px; font:inherit; font-size:17px; font-weight:700; cursor:pointer; box-shadow:0 0 18px rgba(230,195,106,.35); }
.bids-win-sheet .bids-win-art { margin:0 auto 6px; max-width:260px; }
/* People you invited joined InvitedIn: the one card style, with a gold count (new people, good news). */
.bids-invitees-title > .wordmark-title { flex:1; min-width:0; }
.bids-invitees-count { flex:none; min-width:20px; height:20px; padding:0 6px; box-sizing:border-box; border-radius:10px; display:inline-grid; place-items:center; background:#e6c36a; color:#1a1408; font-size:12.5px; font-weight:800; }

/* A photo still downloading is hidden, then fades in whole (reveal in member-bids.js), never drawn top-down over grey. */
.bids-photo-reveal { transition:opacity .2s ease-out; }
.bids-photo-loading { opacity:0; }
@media (prefers-reduced-motion: reduce) { .bids-photo-reveal { transition:none; } }

/* An election closing in 12 hours or less: its time in red (Jay, October 17, 2026). */
.bids-closes-soon { color:#f0868c; font-weight:600; }

/* Turnout (InvitedIn Plus; migration 290): votes cast against what the group's rule needs, never which way. */
.bids-turnout { display:flex; flex-direction:column; gap:5px; margin-top:6px; width:100%; }
.bids-turnout-head { display:flex; justify-content:space-between; gap:8px; font-size:13px; }
.bids-turnout-count { color:var(--plus-blue,#5aa9ff); font-weight:600; }
.bids-turnout-need { color:#8f98a5; }
.bids-turnout-bar { display:block; height:6px; border-radius:3px; background:#1d2128; overflow:hidden; }
.bids-turnout-fill { display:block; height:100%; border-radius:3px; background:var(--plus-blue,#5aa9ff); }
.bids-turnout-lock { align-self:flex-start; display:inline-flex; align-items:center; min-height:30px; margin-top:6px; padding:0 12px; border-radius:15px;
  border:1px solid rgba(90,169,255,.45); color:var(--plus-blue,#5aa9ff); background:transparent; font:600 13px/1 inherit; cursor:pointer; }
.bids-turnout-lock.is-card { min-height:44px; padding:0 16px; margin:4px 0 0; }
.bids-turnout-card { display:flex; flex-direction:column; gap:10px; margin-top:4px; padding:14px 16px; border:1px solid rgba(90,169,255,.4); border-radius:14px; }
.bids-turnout-card-head { display:flex; justify-content:space-between; align-items:center; }
.bids-turnout-label { font-size:12px; letter-spacing:2px; text-transform:uppercase; color:var(--plus-blue,#5aa9ff); font-weight:600; }
.bids-turnout-tag { font-size:11px; letter-spacing:1.4px; color:var(--plus-blue,#5aa9ff); border:1px solid rgba(90,169,255,.4); border-radius:10px; padding:2px 8px; }
.bids-turnout-big { font-size:21px; font-weight:600; }
.bids-turnout-card .bids-turnout-bar { height:8px; border-radius:4px; }
.bids-turnout-foot { display:flex; justify-content:space-between; font-size:13.5px; color:#8f98a5; }
.bids-turnout-note { margin:0; font-size:13px; color:#7f8794; line-height:1.45; }

/* A vote on you that didn't pass (Jay, October 21, 2026): a quiet card, no color of its own. */
.bids-not-passed .bids-not-passed-note { color:#a7b0bc; }
/* Time left to vote (Jay, October 21, 2026): green, shrinking, red in its last 12 hours. */
.bids-time { display:flex; flex-direction:column; gap:5px; margin-top:6px; width:100%; }
.bids-time-head { display:flex; justify-content:space-between; gap:8px; font-size:13px; }
.bids-time-label { color:#8f98a5; }
.bids-time-left { color:#4cc38a; font-weight:600; }
.bids-time-bar { display:block; height:6px; border-radius:3px; background:#1d2128; overflow:hidden; }
.bids-time-fill { display:block; height:100%; border-radius:3px; background:#4cc38a; transition:width .6s ease; }
.bids-time.is-half .bids-time-left { color:#e8c25a; }
.bids-time.is-half .bids-time-fill { background:#e0b23e; }
.bids-time.is-soon .bids-time-left { color:#f0868c; }
.bids-time.is-soon .bids-time-fill { background:#e5484d; }
@media (prefers-reduced-motion:reduce){ .bids-time-fill { transition:none; } }
/* People you invited (Jay, October 23, 2026): the Nominate prompt sits under the name, and a friend with nothing to
   nominate them to says so quietly. */
.bids-card.is-invitees .bids-row-text > .bids-pill { margin:6px 0 0; align-self:flex-start; }
.bids-invitee-done { opacity:.7; }
