/* Host your own event (member-hosted-events.js; Jay, October 20, 2026). Social events in the Social blue, Hush events in clay. */
.hosted-event-card { --hev-accent:#d97757; display:block; margin:14px 14px 0; border:1px solid #1f2632; border-radius:18px; overflow:hidden; background:#000; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.hosted-event-card.is-hush, .hosted-event-page.is-hush { --hev-accent:#D97757; }
.hosted-event-card:focus-visible { outline:2px solid var(--hev-accent); outline-offset:2px; }
.hosted-event-card:active { transform:scale(.99); }
/* The cropped cover, fading down into the black where the text sits. */
.hev-card-cover { position:relative; aspect-ratio:16/9; background:#121722; }
.hev-card-cover img, .hev-page-cover img { display:block; width:100%; height:100%; object-fit:cover; }
.hev-card-cover::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,0) 40%,#000 100%); pointer-events:none; }
.hev-card-when { position:absolute; z-index:1; top:10px; left:10px; padding:4px 10px; border-radius:999px; background:rgba(0,0,0,.6); color:#eef1f5; font-size:13.5px; font-weight:700; }
.hev-side { position:absolute; z-index:1; top:10px; right:10px; padding:4px 10px; border-radius:999px; background:rgba(0,0,0,.6); color:#d97757; font-size:13px; font-weight:700; }
.hev-side.is-hush { color:#D97757; }
.hev-card-body { padding:0 14px 14px; margin-top:-8px; position:relative; }
.hev-card-title { margin:0; color:#f2f5f9; font-size:21px; line-height:1.25; }
.hev-card-where { margin:4px 0 0; color:#a9b4c3; font-size:15px; line-height:1.35; }
.hev-card-description { margin:6px 0 0; color:#cfd6df; font-size:15px; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.hev-card-foot { display:flex; align-items:center; gap:8px; margin-top:10px; min-width:0; }
.hev-card-count { flex:none; color:#8f9bab; font-size:13.5px; }
.hev-chip { flex:none; margin-left:auto; padding:3px 10px; border:1px solid #363e4a; border-radius:999px; color:#c4ccd7; font-size:13.5px; font-weight:700; }
.hev-chip.is-going { border-color:transparent; background:rgba(76,195,138,.16); color:#8fe0b6; }
.hev-chip.is-pending { border-color:transparent; background:rgba(243,194,122,.14); color:#f3c27a; }
.hev-chip.is-requests { border-color:var(--hev-accent); color:var(--hev-accent); }

/* The Going row: photos only, scrolling sideways. */
.hev-going { display:flex; gap:8px; overflow-x:auto; padding:2px 0 4px; scrollbar-width:none; min-width:0; }
.hev-going::-webkit-scrollbar { display:none; }
.hev-going { align-items:flex-start; gap:10px; }
.hev-going-tile { flex:none; width:114px; display:flex; flex-direction:column; align-items:center; text-align:center; }
.hev-going-name { margin-top:7px; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#f2f5f9; font-size:14px; font-weight:600; line-height:1.25; }
.hev-going-label { margin-top:2px; color:#8f9bab; font-size:12px; font-weight:600; letter-spacing:.06em; }
.hev-going-tile.is-host .hev-going-label { color:#f2f5f9; font-weight:700; }
.hev-going.is-tiny { gap:5px; flex:1 1 auto; }
.hev-avatar { flex:none; display:block; width:114px; height:152px; padding:0; border:1px solid rgba(255,255,255,.18); border-radius:12px; overflow:hidden; background:#1a202a; cursor:pointer; }
span.hev-avatar { cursor:default; }
.hev-avatar img { display:block; width:100%; height:100%; object-fit:cover; }
.hev-avatar.is-placeholder img { opacity:.85; }
.hev-avatar.is-tiny { width:26px; height:26px; border-radius:8px; }
.hev-avatar.is-host { width:56px; height:56px; border-radius:16px; }
.hev-avatar.is-request { width:44px; height:44px; }

/* A distinct break between every event in the list: a dark band between group event rows, and space around each
   member event's card (Jay, October 20, 2026). */
.member-portal.app-framed :is(#memberEventsList,[data-copy-of="memberEventsList"]) > .portal-event-row { border-bottom:0; }
.member-portal.app-framed :is(#memberEventsList,[data-copy-of="memberEventsList"]) > .portal-event-row + .portal-event-row { border-top:6px solid #141a22; }
.member-portal.app-framed :is(#memberEventsList,[data-copy-of="memberEventsList"]) > .hosted-event-card + .portal-event-row { margin-top:14px; border-top:6px solid #141a22; }

/* The entry card above the list once hosting is on. */
.app-framed .portal-events-soon.is-live { border-color:rgba(217,119,87,.55); }
.app-framed .portal-events-soon.is-live::after { content:'›'; margin-left:auto; color:#d97757; font-size:28px; line-height:1; }
.app-framed .portal-events-soon-tag.is-plus { background:rgba(217,119,87,.22); }

/* The event page. */
.hosted-event-page { --hev-accent:#d97757; padding-bottom:24px; }
.hev-page-cover { position:relative; margin:-4px -16px 0; aspect-ratio:16/9; background:#121722; overflow:hidden; }
.hev-page-cover::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,0) 55%,rgba(0,0,0,.85) 100%); pointer-events:none; }
.hev-page-title { margin:14px 0 0; color:#f2f5f9; font-size:26px; line-height:1.2; }
.hev-page-when { margin:6px 0 0; color:#dfe5ec; font-size:16.5px; font-weight:700; }
.hev-page-where { margin:4px 0 0; color:#a9b4c3; font-size:16px; }
.hev-private-note { margin:-4px 0 8px; color:#8f9bab; font-size:13.5px; line-height:1.4; }
.hev-private-note + .hev-address { margin-top:0; }
.hev-address { margin:12px 0 0; padding:12px 14px; border:1px solid #2a323d; border-radius:14px; background:#10151c; color:#eef1f5; font-size:16px; line-height:1.4; white-space:pre-wrap; }
.hev-address.is-locked { color:#a9b4c3; border-style:dashed; }
.hev-host { display:flex; align-items:center; gap:12px; margin-top:16px; padding:12px; border:1px solid #1f2632; border-radius:16px; background:#0f141b; }
.hev-host-text { display:flex; flex-direction:column; align-items:flex-start; gap:3px; min-width:0; }
.hev-host-text small { color:#8f9bab; font-size:13.5px; }
.hev-host-text strong { color:#f2f5f9; font-size:18px; }
.hev-verified { padding:1px 8px; border:1px solid #2f6b45; border-radius:999px; background:#13241a; color:#7fd39b; font-size:12.5px; font-weight:700; }
.hev-section { margin:20px 0 8px; color:#8f9bab; font:700 13px/1.3 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; letter-spacing:1.5px; text-transform:uppercase; }
.hev-description { margin:0; color:#dfe5ec; font-size:16.5px; line-height:1.5; white-space:pre-wrap; }
.hev-note, .hev-loading { margin:8px 0 0; color:#9aa6b6; font-size:15px; line-height:1.45; }
.hev-status:not(:empty) { margin:10px 0 0; color:#e2c27a; font-size:15px; }
.hev-actions { margin-top:22px; }
.hev-wide { width:100%; margin-top:10px; }
.hosted-event-page.is-hush .primary-button { background:#D97757; border-color:#D97757; color:#1a0f0b; }
.hev-state { margin:0; padding:12px 14px; border-radius:14px; background:#141a22; color:#cfd6df; font-size:16.5px; font-weight:700; text-align:center; }
.hev-state.is-going { background:rgba(76,195,138,.16); color:#8fe0b6; }
.hev-state.is-pending { background:rgba(243,194,122,.14); color:#f3c27a; }
.hev-request { display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid #1f252d; }
.hev-request-name { flex:1; min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:3px; }
.hev-request-name strong { color:#f2f5f9; font-size:16.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%; }
.hev-approve, .hev-deny { flex:none; height:36px; padding:0 14px; border-radius:18px; font:700 15px/1 inherit; cursor:pointer; }
.hev-approve { border:0; background:var(--hev-accent); color:#0b0d12; }
.hev-deny { border:1px solid #3a4250; background:none; color:#cfd6df; }
.hev-cancel-event { margin-top:28px; color:#e58f8f; border-color:#4a2b2b; }

/* Hosting: the create page. */
.hosted-event-create { padding-bottom:24px; }
.hev-label { display:block; margin:18px 0 8px; color:#cfd6df; font-size:15px; font-weight:700; }
.hev-field { display:block; }
.hev-field .hev-label { margin-top:18px; }
.hev-input { width:100%; box-sizing:border-box; padding:12px 14px; border:1px solid #2a323d; border-radius:12px; background:#0f141b; color:#eef1f5; font:inherit; font-size:16px; }
textarea.hev-input { resize:vertical; }
.hev-hint.is-above { margin:-2px 0 8px; }
.hev-hint { display:block; margin:6px 0 0; color:#8f9bab; font-size:13.5px; line-height:1.4; }
.hev-segment { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.hev-segment.is-three { grid-template-columns:1fr 1fr 1fr; }
.hev-choice, .hev-group, .hev-day { border:1px solid #2a323d; border-radius:12px; background:#0f141b; color:#cfd6df; font:700 15px/1.2 inherit; cursor:pointer; }
.hev-choice { min-height:44px; padding:8px 6px; }
.hev-choice.is-on, .hev-group.is-on, .hev-day.is-on { border-color:#d97757; background:#d97757; color:#0b0d12; }
.hev-choice.is-hush.is-on, .hosted-event-create:has(.hev-choice.is-hush.is-on) :is(.hev-group,.hev-day,.hev-choice).is-on { border-color:#D97757; background:#D97757; color:#fff; }
.hev-days { display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; }
.hev-days::-webkit-scrollbar { display:none; }
.hev-day { flex:none; display:flex; flex-direction:column; align-items:center; gap:2px; width:54px; padding:8px 0; }
.hev-day small { font-size:12.5px; font-weight:600; }
.hev-day strong { font-size:19px; }
.hev-times { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.hev-groups { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.hev-group { padding:8px 12px; }
.hev-cover-pick { position:relative; display:grid; place-items:center; width:100%; aspect-ratio:16/9; padding:0; border:1px dashed #3a4250; border-radius:14px; background:#0f141b; color:#d97757; font:700 16px/1.2 inherit; overflow:hidden; cursor:pointer; }
.hev-cover-pick img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hev-cover-change { position:absolute; right:10px; bottom:10px; padding:4px 10px; border-radius:999px; background:rgba(0,0,0,.65); color:#eef1f5; font-size:13.5px; }
.hev-sheet-title { margin:6px 0 4px; color:#f2f5f9; font-size:20px; }
.hev-danger { background:#b94a4a !important; border-color:#b94a4a !important; color:#fff !important; }
@media (prefers-reduced-motion: reduce) { .hosted-event-card:active { transform:none; } }

/* Share event: on every event page (the preview, a guest's and the host's). */
.hev-share { display:inline-flex; align-items:center; gap:8px; margin-top:12px; height:40px; padding:0 16px; border:1px solid var(--hev-accent); border-radius:20px; background:none; color:var(--hev-accent); font:700 15px/1 inherit; cursor:pointer; }
.hev-share-icon { font-size:17px; }

/* The bottom Events tab: the count of new member events at the top right (the shared tab badge), and "New" at the
   bottom right while hosting is new to the member. */
.app-tabs .chat-tab-badge.app-tab-count.hidden { display:none; }
.app-tabs .app-tab-new { position:absolute; top:auto; bottom:2px; right:calc(50% - 34px); padding:2px 6px; border-radius:999px; background:linear-gradient(135deg,#d97757,#D97757); color:#0b0d12; font:800 10px/1.2 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; letter-spacing:.04em; text-transform:uppercase; box-shadow:0 0 10px rgba(217,119,87,.45); pointer-events:none; }
.app-tabs .app-tab-new.hidden { display:none; }

/* Group events in the member-event look (Jay, October 20, 2026): a 16:9 cover fading to black at the top of the page,
   the group as the host, and who's going as a row of photos. */
.hev-side.is-group { color:#dfe5ec; max-width:55%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.app-framed :is(#memberEventImageSection,[data-copy-of="memberEventImageSection"]) { position:relative; aspect-ratio:16/9; }
.app-framed :is(#memberEventImageSection,[data-copy-of="memberEventImageSection"]) .member-event-image { width:100%; height:100%; object-fit:cover; }
.app-framed :is(#memberEventImageSection,[data-copy-of="memberEventImageSection"])::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,0) 55%,rgba(0,0,0,.85) 100%); pointer-events:none; }
.app-framed .member-event-host { margin-top:16px; }
.app-framed .member-event-host .member-event-organization-logo { width:56px; height:56px; flex:0 0 56px; margin:0; border-radius:16px; }
.app-framed .member-event-rsvp-inline { margin-top:14px; }
.app-framed .member-event-going { margin-top:18px; }
.app-framed .member-event-going-row { margin-top:4px; }
.app-framed .member-event-going-row .hev-avatar.is-hidden-by-chat { opacity:.55; }
.app-framed .member-event-rsvp-inline .member-rsvp-actions button { flex:1 1 100%; }
/* The host's gear in the header (the ☰'s place), only while their own event page shows and it hasn't started. */
.portal-header > .hev-header-gear { display:none; }
.member-portal:has(.portal-navigation:not(.hidden) :is(#portalMenuPageBody,[data-copy-of="portalMenuPageBody"]) > .hosted-event-page.is-editable) .portal-header > .hev-header-gear { display:flex; }
/* A guest's profile opened from the event page brings its own ⚙ or ⋯ into the same place: the event's gear and share
   step aside until it closes (a member's report, October 21, 2026: tapping the gear there lost the app). */
body.member-profile-open .portal-header > :is(.hev-header-gear,.hev-header-share) { display:none !important; }
.member-portal:has(.portal-navigation:not(.hidden) :is(#portalMenuPageBody,[data-copy-of="portalMenuPageBody"]) > .hosted-event-page.is-editable) .portal-header > .portal-menu-toggle { visibility:hidden; }
.hev-choice:disabled { opacity:.45; cursor:default; }
/* The Events list (Jay, October 21, 2026): cards 20px apart with no divider lines, there are no date headings. */
.member-portal.app-framed :is(#memberEventsList,[data-copy-of="memberEventsList"]) { display:flex; flex-direction:column; gap:20px; margin-top:16px; }
.member-portal.app-framed :is(#memberEventsList,[data-copy-of="memberEventsList"]) > .hosted-event-card { margin:0 16px; border-radius:14px; }
.member-portal.app-framed :is(#memberEventsList,[data-copy-of="memberEventsList"]) > .portal-event-divider { display:none; }
/* "See your past events" under the list, and the note over the last 7 days' events (Jay, October 20, 2026). */
.member-portal.app-framed :is(#memberEventsList,[data-copy-of="memberEventsList"]) > .portal-past-toggle { display:block; width:calc(100% - 32px); height:48px; margin:12px 16px 0; border-radius:24px; scroll-margin-top:12px; }
.member-portal.app-framed :is(#memberEventsList,[data-copy-of="memberEventsList"]) > .portal-past-note { margin:0 18px; color:#a7b2c1; font-size:15px; line-height:1.45; text-align:center; }
/* Past events (the last 7 days, behind the toggle) are dimmed. */
.hosted-event-card.is-past { opacity:.6; filter:saturate(.6); }
/* Loading the first time: two skeleton cards in the cards' shape (renderEvents in member-portal.js). */
.hosted-event-card.portal-event-skeleton { cursor:default; border-color:#1f252d; background:#141920; }
.portal-event-skeleton .hev-card-cover::after { content:none; }
.portal-event-skeleton .hev-card-cover.ui-skeleton { background:linear-gradient(90deg,#1a2029 0%,#262e39 50%,#1a2029 100%); background-size:200% 100%; animation:ui-skeleton-glow 1.3s ease-in-out infinite; }
/* Its bars sit where a real card's lines do (the name, the place, two lines of description, the Going row), so the
   card keeps its height when the events arrive (Jay, October 21, 2026: the skeleton was 57px shorter and the list jumped). */
.portal-event-skeleton .hev-card-body { display:flex; flex-direction:column; align-items:flex-start; gap:0; }
.portal-event-skeleton-bar { display:block; height:15px; border-radius:7px; }
.portal-event-skeleton-bar:nth-child(1) { height:20px; margin:3px 0; }
.portal-event-skeleton-bar:nth-child(2) { height:14px; margin:7px 0 3px; }
.portal-event-skeleton-bar:nth-child(3) { margin-top:10px; }
.portal-event-skeleton-bar:nth-child(4) { margin:6px 0 3px; }
.portal-event-skeleton-bar:nth-child(5) { height:32px; margin-top:10px; border-radius:16px; }
@media (prefers-reduced-motion: reduce) { .portal-event-skeleton .hev-card-cover.ui-skeleton { animation:none; background:#1f2630; } }

/* A sideways row's hint (scroll-hint.js): three tall chevrons at each end with more to see, over a dark fade,
   fading out while the row moves. */
.scroll-hint { position:relative; min-width:0; }
.scroll-hint-chevron { position:absolute; top:2px; bottom:4px; display:flex; align-items:center; color:#fff; filter:drop-shadow(0 1px 2px rgba(0,0,0,.85)); pointer-events:none; opacity:0; transition:opacity .3s ease; }
.scroll-hint-chevron.is-right { right:0; padding:0 10px 0 34px; border-radius:0 12px 12px 0; background:linear-gradient(to left, rgba(10,13,21,.94) 55%, rgba(10,13,21,0)); }
.scroll-hint-chevron.is-left { left:0; padding:0 34px 0 10px; border-radius:12px 0 0 12px; background:linear-gradient(to right, rgba(10,13,21,.94) 55%, rgba(10,13,21,0)); }
.scroll-hint-arrows { display:flex; align-items:center; gap:2px; height:min(64%,56px); }
.scroll-hint-arrows svg { display:block; width:11px; height:100%; overflow:visible; }
.scroll-hint-arrows polyline { fill:none; stroke:currentColor; stroke-width:3px; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke; }
/* The chevrons brighten toward the way to swipe. */
.scroll-hint-chevron.is-right .scroll-hint-arrows svg:nth-child(1), .scroll-hint-chevron.is-left .scroll-hint-arrows svg:nth-child(3) { opacity:.45; }
.scroll-hint-arrows svg:nth-child(2) { opacity:.72; }
.scroll-hint-chevron.is-shown { opacity:1; }

/* ---------- Host your own event: a slim row with one button (Jay, October 21, 2026) ---------- */
.member-portal.app-framed .portal-events-soon { gap:12px; margin:16px 16px 0; padding:12px 12px 12px 14px; border:1px solid #262c35; border-radius:14px; background:#141920; box-shadow:none; }
.member-portal.app-framed .portal-events-soon-icon { display:none; }
.member-portal.app-framed .portal-events-soon > div { flex:1; min-width:0; display:flex; flex-wrap:wrap; align-items:center; gap:2px 8px; }
.member-portal.app-framed .portal-events-soon strong { order:1; min-width:0; font-size:16.5px; font-weight:700; color:#f1f3f5; }
.member-portal.app-framed .portal-events-soon-tag { order:2; margin:0; }
.member-portal.app-framed .portal-events-soon p { order:3; flex-basis:100%; margin:0; font-size:14px; color:#a7b2c1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.portal-events-soon-action { flex:none; display:inline-flex; align-items:center; height:40px; padding:0 16px; border:1px solid #d97757; border-radius:20px; background:#0f1622; color:#cfe0f7; font-size:15px; font-weight:700; }
.portal-events-soon:not(.is-live) .portal-events-soon-action { display:none; }
.member-portal.app-framed .portal-events-soon.is-live::after { content:none; }

/* ---------- A group's event page (member.js, #memberEventView; Jay, October 21, 2026) ---------- */
/* Title, when, where, then the RSVP; the description above the check-in QR; Share in the header. */
.app-framed :is(#memberEventView,[data-copy-of="memberEventView"]) .member-event-title h2 { margin:0; font-family:Georgia,"Times New Roman",serif; font-size:28px; font-weight:400; line-height:1.2; color:#f1f3f5; }
.app-framed :is(#memberEventView,[data-copy-of="memberEventView"]) .member-event-facts { border-radius:14px; }
.app-framed :is(#memberEventView,[data-copy-of="memberEventView"]) .member-event-fact { min-height:52px; box-sizing:border-box; }
/* The RSVP: a 48px pill, gold "RSVP" before, then a green "✓ You're going" (a tap takes it back). */
.member-portal.app-framed .member-event-rsvp-inline { margin-top:0; }
.member-portal.app-framed .member-event-rsvp-inline .member-rsvp-actions button:is(#memberEventGoingButton,[data-copy-of="memberEventGoingButton"]) { height:48px; border:0; border-radius:24px; background:linear-gradient(180deg,#f0d27e,#d4a63c); color:#1a1408; text-shadow:none; box-shadow:none; font-size:17px; font-weight:800; }
.member-portal.app-framed .member-event-rsvp-inline .member-rsvp-actions button:is(#memberEventGoingButton,[data-copy-of="memberEventGoingButton"])[aria-pressed=true] { background:rgba(76,195,138,.16); color:#8fe0b6; }
.member-portal.app-framed .member-event-rsvp-inline .member-rsvp-actions button:is(#memberEventGoingButton,[data-copy-of="memberEventGoingButton"]).is-waitlisted[aria-pressed=true] { background:rgba(243,194,122,.14); color:#f3c27a; }
/* "Make my RSVP anonymous": a row with the switch at its right. */
.member-portal.app-framed .member-event-dock-notes { display:block; margin:10px 0 0; }
.member-portal.app-framed .member-event-dock-notes p:not(:empty) { margin:0 2px 8px; }
.member-portal.app-framed .member-event-dock-notes .member-rsvp-privacy { flex-direction:row-reverse; justify-content:space-between; gap:12px; min-height:52px; box-sizing:border-box; padding:0 14px; border:1px solid #262c35; border-radius:14px; background:#141920; font-size:16px; color:#f1f3f5; }
.member-portal.app-framed .member-event-dock-notes .member-rsvp-privacy input[type=checkbox] { flex:none; position:relative; width:51px; height:31px; margin:0; border-radius:16px; background:#3a424e; -webkit-appearance:none; appearance:none; cursor:pointer; transition:background-color .2s ease; }
.member-portal.app-framed .member-event-dock-notes .member-rsvp-privacy input[type=checkbox]::after { content:''; position:absolute; top:2px; left:2px; width:27px; height:27px; border-radius:50%; background:#fff; transition:transform .2s ease; }
.member-portal.app-framed .member-event-dock-notes .member-rsvp-privacy input[type=checkbox]:checked { background:#d97757; }
.member-portal.app-framed .member-event-dock-notes .member-rsvp-privacy input[type=checkbox]:checked::after { transform:translateX(20px); }
@media (prefers-reduced-motion: reduce) { .member-portal.app-framed .member-event-dock-notes .member-rsvp-privacy input[type=checkbox], .member-portal.app-framed .member-event-dock-notes .member-rsvp-privacy input[type=checkbox]::after { transition:none; } }
/* Section headers: Going, About. */
.app-framed :is(#memberEventView,[data-copy-of="memberEventView"]) .member-event-going h3, .app-framed .member-event-about-heading { margin:0 0 8px; font-size:13px; font-weight:700; letter-spacing:1.2px; text-transform:uppercase; color:#8f9bab; }
.app-framed .member-event-about-heading { margin-bottom:-6px; }
.member-event-about-heading:has(+ :is(#memberEventDescription,[data-copy-of="memberEventDescription"]):empty) { display:none; }
.app-framed :is(#memberEventView,[data-copy-of="memberEventView"]) .member-event-text { font-size:16.5px; line-height:1.45; color:#f1f3f5; }

/* Share event: an icon at the header's right (Jay, October 21, 2026), on a group's event page (#memberEventShare) and
   a member's event page (.hev-header-share); the label shows under it for a moment once the link is copied. */
.portal-header > :is(.member-event-share,.hev-header-share) { display:none; position:absolute; top:2px; right:4px; z-index:7; width:44px; height:44px; margin:0; padding:0;
  align-items:center; justify-content:center; border:0; border-radius:22px; background:none; color:#d7dee8; cursor:pointer; -webkit-tap-highlight-color:transparent; }
body:has(#memberEventView:not(.hidden)) .portal-header > .member-event-share { display:flex; }
.member-portal:has(.portal-navigation:not(.hidden) :is(#portalMenuPageBody,[data-copy-of="portalMenuPageBody"]) > .hosted-event-page) .portal-header > .hev-header-share { display:flex; }
/* Beside the host's gear. */
.member-portal:has(.portal-navigation:not(.hidden) :is(#portalMenuPageBody,[data-copy-of="portalMenuPageBody"]) > .hosted-event-page.is-editable) .portal-header > .hev-header-share { right:48px; }
.portal-header > :is(.member-event-share,.hev-header-share) svg { display:block; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.portal-header > .hev-header-share .hev-share-icon { display:flex; font-size:20px; }
.portal-header > :is(.member-event-share,.hev-header-share) :is(.member-event-share-label,.hev-share-label) { position:absolute; top:46px; right:0; padding:6px 10px; border-radius:14px; background:#1d2530; color:#f1f3f5; font-size:14px; font-weight:600; white-space:nowrap; opacity:0; pointer-events:none; transition:opacity .16s ease; }
.portal-header > :is(.member-event-share,.hev-header-share).is-flash :is(.member-event-share-label,.hev-share-label) { opacity:1; }
@media (prefers-reduced-motion: reduce) { .portal-header > :is(.member-event-share,.hev-header-share) :is(.member-event-share-label,.hev-share-label) { transition:none; } }

/* ---------- A member's event page: the group event page's layout (Jay, October 21, 2026) ---------- */
.hev-page-title { font-family:Georgia,"Times New Roman",serif; font-size:28px; font-weight:400; color:#f1f3f5; }
.hev-facts { margin-top:12px; border:1px solid #262c35; border-radius:14px; overflow:hidden; }
.hev-fact { display:flex; align-items:center; gap:12px; min-height:52px; box-sizing:border-box; padding:10px 12px; border-bottom:1px solid #262c35; }
.hev-fact:last-child { border-bottom:0; }
/* The QR Code row: a tap opens it downward with the code (Jay, October 26, 2026). */
.hev-fact.hev-qr { display:block; padding:0; }
.hev-qr-head { display:flex; align-items:center; gap:12px; width:100%; min-height:52px; padding:10px 12px; border:0; background:none; color:#f1f3f5; font:inherit; text-align:left; cursor:pointer; }
.hev-qr-icon { display:inline-flex; justify-content:center; color:#f1f3f5; }
.hev-qr-label { flex:1; font-size:16.5px; font-weight:600; }
.hev-qr-chevron { color:#8f9bab; font-size:22px; line-height:1; transition:transform .25s ease; }
.hev-qr.is-open .hev-qr-chevron { transform:rotate(90deg); }
.hev-qr-panel { display:grid; grid-template-rows:0fr; transition:grid-template-rows .28s cubic-bezier(.2,.8,.2,1); }
.hev-qr.is-open .hev-qr-panel { grid-template-rows:1fr; }
.hev-qr-inner { overflow:hidden; display:flex; flex-direction:column; align-items:center; }
.hev-qr.is-open .hev-qr-inner { padding:4px 0 16px; }
.hev-qr-canvas { width:180px; height:180px; border-radius:10px; background:#fff; }
.hev-qr-status { margin:8px 0; color:#8f9bab; font-size:14px; }
@media (prefers-reduced-motion:reduce){ .hev-qr-panel, .hev-qr-chevron { transition:none; } }
.hev-fact-icon { flex:none; width:22px; text-align:center; font-size:18px; }
.hev-fact .hev-page-when, .hev-fact .hev-page-where { margin:0; font-size:16.5px; font-weight:600; color:#f1f3f5; }
.hev-section { font:700 13px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif; letter-spacing:1.2px; }
/* Request to join (or where the guest stands) pinned at the bottom of the page, over Back. */
.hosted-event-page:has(> .hev-actions.is-pinned) { padding-bottom:0; }
.hev-actions.is-pinned { position:sticky; bottom:-16px; z-index:2; display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:22px -16px -16px; padding:12px 16px; border-top:1px solid #1f252d; background:#0d1014; }
.hev-actions.is-pinned > .hev-wide { flex:1 1 0; width:auto; height:48px; margin:0; border-radius:24px; }
.hev-actions.is-pinned > .hev-state { flex:1 1 0; display:flex; align-items:center; justify-content:center; min-height:48px; box-sizing:border-box; padding:0 12px; border-radius:24px; font-size:16px; }
.hev-actions.is-pinned > .hev-note { order:-1; flex-basis:100%; margin:0; font-size:13.5px; text-align:center; color:#a7b2c1; }
/* Save / Post event in the Back bar at its right end (Jay, October 26, 2026). */
.member-portal.app-framed .portal-menu-nav .hev-nav-save { margin-left:auto; width:auto; min-height:48px; height:48px; padding:0 22px; border:0; border-radius:24px;
  background:#D97757; color:#1a0f0b; font-weight:700; font-size:16.5px; }
.member-portal.app-framed .portal-menu-nav .hev-nav-save:disabled { opacity:.6; }
/* A request or guest row opens their profile when tapped anywhere but its buttons. */
.hev-request.is-tappable { cursor:pointer; -webkit-tap-highlight-color:transparent; }
.hev-request.is-tappable:active .hev-request-name strong { opacity:.7; }
/* An action on its way (Jay, October 27, 2026): the tapped button spins beside its label, the rest of the row dims. */
.hev-request.is-working { opacity:.85; }
.hev-request.is-working button:disabled:not(.is-busy), .hev-actions.is-working button:disabled:not(.is-busy) { opacity:.45; }
button.is-busy { display:inline-flex; align-items:center; justify-content:center; gap:8px; opacity:1; cursor:progress; }
button.is-busy::before { content:''; flex:none; width:14px; height:14px; border-radius:50%; border:2px solid currentColor; border-right-color:transparent; animation:ui-spin .7s linear infinite; }
@media (prefers-reduced-motion:reduce) { button.is-busy::before { animation-duration:1.6s; } }
.hev-free-note { margin:0 0 12px; padding:10px 12px; border:1px dashed rgba(217,119,87,.6); border-radius:12px; color:#f3c3b0; font-size:15px; line-height:1.4; }
.hev-avatar img { transition:opacity .25s ease; }
.hev-avatar.is-loading img { opacity:0; }
@media (prefers-reduced-motion:reduce) { .hev-avatar img { transition:none; } }
/* A cover fades in once loaded, over a glowing placeholder (Jay, October 27, 2026). */
:is(.hev-card-cover,.hev-page-cover) img { transition:opacity .3s ease; }
:is(.hev-card-cover,.hev-page-cover).is-loading img { opacity:0; }
:is(.hev-card-cover,.hev-page-cover).is-loading { background:linear-gradient(90deg,#1a2029 0%,#262e39 50%,#1a2029 100%); background-size:200% 100%; animation:ui-skeleton-glow 1.3s ease-in-out infinite; }
@media (prefers-reduced-motion:reduce) { :is(.hev-card-cover,.hev-page-cover) img { transition:none; } :is(.hev-card-cover,.hev-page-cover).is-loading { animation:none; background:#1f2630; } }
