/* EventMe – profile modal polish
   Loaded last in index.html so it overrides the earlier .pf-* rules.
   Tested on desktop and on a 375px phone screen: no overlapping or clipped text,
   no sideways scrolling, all text passes WCAG AA contrast.

   Paired change in profile.js: the profile photo now carries the member's name as alt text.
   The status icon is enlarged here (44px) so its "EM" lettering reads at ~15px. */

/* 1. Three middle cards: same padding, same height */
#pfModal .pf-mystatus,
#pfModal .pv-card,
#pfModal .pf-complete {
  padding: 16px !important;          /* status card had 12px 14px */
  min-height: 94px !important;       /* were 71 / 80 / 89px */
  box-sizing: border-box !important;
  align-items: center !important;
}

/* 1b. Spacing: line the three cards up with the stats card and tabs
       (they were 1px from the panel edge; everything else is inset 24px) */
#pfModal .pf-mystatus,
#pfModal .pv-card,
#pfModal .pf-complete {
  margin: 14px 24px 0 !important;            /* equal 14px gap between cards */
  width: calc(100% - 48px) !important;       /* status card is a <button>, so it needs an explicit width */
  max-width: none !important;
}
#pfModal .pf-badges { margin-top: 18px !important; }   /* was 4px below the completion card */

/* 2. Small text inside those cards: at least 12px */
#pfModal .pf-mystatus > svg:first-child {   /* "EM" status icon, was 30px */
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px;
}
#pfModal .pf-mystatus small,
#pfModal .pv-card small { font-size: 12.5px !important; }
#pfModal .pv-delta { font-size: 12px !important; }          /* "+0% vs last week", was 11.5px */

/* 3. Section labels: ABOUT / INTERESTS / LINKS */
#pfModal .pf-sec h4 {
  font-size: 12px !important;        /* was ~11px */
  letter-spacing: .08em;
  margin-bottom: 10px;
}

/* 4. Stats card: readable labels, stronger numbers */
#pfModal .pf-stats b { font-size: 22px; line-height: 1.3; }
#pfModal .pf-stats span { font-size: 13px; line-height: 1.35; }
html:not([data-theme="light"]) #pfModal .pf-stats span { color: rgba(255,255,255,.72); }
#pfModal .pf-stats > div { padding-top: 14px; padding-bottom: 14px; }

/* 5. Buttons */
#pfModal .pf-actions .pf-btn { min-height: 42px; }

/* 6. Badges, interest chips and link chips: easier to tap and read */
#pfModal .pf-badges,
#pfModal .pf-tags,
#pfModal .pf-links { gap: 10px; flex-wrap: wrap; }

#pfModal .pf-badge {
  min-height: 38px;                  /* was 31px */
  padding: 8px 14px;
  font-size: 13px;                   /* was 11.5px */
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  box-sizing: border-box;
}
#pfModal .pf-tags span,
#pfModal .pf-links a {
  min-height: 36px;                  /* was ~30px */
  padding: 8px 14px;
  font-size: 13.5px;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}

/* 7. Tabs: About / Posts / Events */
#pfModal .pf-tabs button { font-size: 15px; }   /* was 13.8px */

/* 8. Contrast: grey and red text now pass WCAG AA (4.5:1) on the dark panel (dark theme only;
      light theme keeps its own colours).
      Grey was #A08184 (4.3:1), red was #FF3A5C (4.33:1). */
html:not([data-theme="light"]) #pfModal .pf-meta span,
html:not([data-theme="light"]) #pfModal .pf-mystatus small,
html:not([data-theme="light"]) #pfModal .pf-side-add small,
html:not([data-theme="light"]) #pfModal .pf-complete-txt span,
html:not([data-theme="light"]) #pfModal .pf-tabs button:not(.on),
html:not([data-theme="light"]) #pfModal .pf-sec h4 { color: #B39A9D !important; }
html:not([data-theme="light"]) #pfModal .pf-role { color: #FF6680 !important; }        /* "Business Systems Analyst" */

/* 9. Phone layout (screens up to 600px) */
@media (max-width: 600px) {
  /* line the three cards up with the stats card (18px from the edges on phones) */
  #pfModal .pf-mystatus,
  #pfModal .pv-card,
  #pfModal .pf-complete {
    margin: 12px 18px 0 !important;
    width: calc(100% - 36px) !important;
  }
  /* tap targets: at least 40-44px */
  #pfModal .pf-conn { min-height: 44px !important; display: inline-flex !important; align-items: center !important; }  /* "10 connections", was 23px */
  #pfModal .pf-x { width: 44px !important; height: 44px !important; }       /* close button, was 34px */
  #pfModal .pf-av-cam { width: 40px !important; height: 40px !important; }  /* change photo, was 36px */
  #pfModal .pf-seal { position: relative; }                                 /* verified tick: bigger tap area, same look */
  #pfModal .pf-seal::after { content: ""; position: absolute; inset: -11px; }
}

/* WhatsApp share: the familiar green, so people spot it */
#pfModal .pf-wa { color: #25D366; }
#pfModal .pf-wa:hover { color: #1ebe5a; }
/* own profile: a full-width row under the main buttons, so nothing gets squeezed */
#pfModal .pf-actions .pf-wa-row { order: 5 !important; flex: 1 1 100% !important; color: #25D366; border-color: rgba(37,211,102,.45); }
#pfModal .pf-actions .pf-wa-row:hover { background: rgba(37,211,102,.1); }
/* wider screens: a normal button in the same row, before the settings gear */
@media (min-width: 481px) {
  #pfModal .pf-actions .pf-wa-row { flex: 0 0 auto !important; order: 2 !important; }
  #pfModal .pf-actions .pf-gear { order: 3 !important; }
}

/* ── Check in page, for events EventMe only lists: who is going, no scanning ── */
#checkinOverlay.ci-listed .ci-door,
#checkinOverlay.ci-listed #ciTeamBtn,
#checkinOverlay.ci-listed #ciChips,
#checkinOverlay.ci-listed .ci-check-btn { display: none !important; }
#checkinOverlay.ci-listed .ci-listed-note { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--text-2, #B9B2B4); }
#checkinOverlay.ci-listed .ci-listed-note b { color: var(--text, #fff); }
#checkinOverlay.ci-listed .ci-listed-link { display: inline-flex; align-items: center; margin-top: 12px; text-decoration: none; }
html[data-theme="light"] #checkinOverlay.ci-listed .ci-listed-note { color: #5b5557; }
html[data-theme="light"] #checkinOverlay.ci-listed .ci-listed-note b { color: #1b1b1f; }

/* ── Header: location and date on one quiet line ── */
#pfModal .pf-meta-1 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
#pfModal .pf-meta-1 span { display: inline-flex; align-items: center; gap: 6px; }
#pfModal .pf-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .55; }

/* ── Stats: four equal tappable cells ── */
#pfModal .pf-stats-tap > button { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; border-radius: 12px; transition: background .15s; }
#pfModal .pf-stats-tap > button:hover { background: rgba(255,255,255,.05); }
#pfModal .pf-stats-tap > button:focus-visible { outline: 2px solid #FF6680; outline-offset: -2px; }
#pfModal .pf-stats-tap > * { min-width: 0; }
#pfModal .pf-stats-tap span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (max-width: 380px) { #pfModal .pf-stats-tap span { font-size: 12.5px; } }

/* ── Your dashboard: status, views and completion, folded ── */
#pfModal .pf-dash { margin: 14px 24px 0; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); }
#pfModal .pf-dash > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; border-radius: 16px; }
#pfModal .pf-dash > summary::-webkit-details-marker { display: none; }
#pfModal .pf-dash > summary:focus-visible { outline: 2px solid #FF6680; outline-offset: -2px; }
#pfModal .pf-dash-ic { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,77,106,.16); color: #FF6B81; }
#pfModal .pf-dash-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
#pfModal .pf-dash-t b { font-size: 15px; color: var(--text-1, #fff); }
#pfModal .pf-dash-t small { font-size: 12.5px; color: #B39A9D; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pfModal .pf-dash-chev { width: 9px; height: 9px; flex: 0 0 9px; margin-right: 4px; border-right: 2px solid #B39A9D; border-bottom: 2px solid #B39A9D; transform: rotate(45deg); transition: transform .2s; }
#pfModal .pf-dash[open] .pf-dash-chev { transform: rotate(-135deg); }
#pfModal .pf-dash-body { padding: 0 0 14px; }
/* the cards inside sit in the panel, not 24px in from the page */
#pfModal .pf-dash-body .pf-mystatus,
#pfModal .pf-dash-body .pv-card,
#pfModal .pf-dash-body .pf-complete { margin: 10px 12px 0 !important; width: calc(100% - 24px) !important; }
#pfModal .pf-dash-body > :first-child { margin-top: 0 !important; }

/* ── Achievements: a small label and compact badges ── */
#pfModal .pf-ach { margin: 18px 24px 0; }
#pfModal .pf-ach-k { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #B39A9D; }
#pfModal .pf-ach .pf-badges { margin: 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
#pfModal .pf-ach .pf-badge { padding: 6px 11px !important; font-size: 13px !important; min-height: 0 !important; }

/* ── About: three lines, then Read more; interests and links ── */
#pfModal .pf-clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#pfModal .pf-more { all: unset; margin-top: 6px; font-size: 13.5px; font-weight: 700; color: #FF6680; cursor: pointer; }
#pfModal .pf-more:focus-visible, #pfModal .pf-tag-more:focus-visible { outline: 2px solid #FF6680; outline-offset: 2px; border-radius: 6px; }
#pfModal .pf-tag-more { all: unset; box-sizing: border-box; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: #FF6680; border: 1px dashed rgba(255,102,128,.5); cursor: pointer; }
#pfModal .pf-links a svg { flex: 0 0 auto; }
#pfModal .pf-links .pf-link-linkedin svg { color: #4A9DFF; }
#pfModal .pf-links .pf-link-instagram svg { color: #F77FB0; }
#pfModal .pf-links .pf-link-facebook svg { color: #5B9BFF; }
#pfModal .pf-links .pf-link-youtube svg { color: #FF5A5A; }

html[data-theme="light"] #pfModal .pf-dash { border-color: rgba(0,0,0,.1); background: rgba(0,0,0,.02); }
html[data-theme="light"] #pfModal .pf-dash-t b { color: #1b1b1f; }
html[data-theme="light"] #pfModal .pf-dash-t small, html[data-theme="light"] #pfModal .pf-ach-k { color: #5b5557; }
html[data-theme="light"] #pfModal .pf-dash-chev { border-color: #5b5557; }
html[data-theme="light"] #pfModal .pf-more, html[data-theme="light"] #pfModal .pf-tag-more { color: #C8102E; }
html[data-theme="light"] #pfModal .pf-links .pf-link-linkedin svg { color: #0A66C2; }
html[data-theme="light"] #pfModal .pf-stats-tap > button:hover { background: rgba(0,0,0,.04); }
@media (max-width: 600px) {
  #pfModal .pf-dash, #pfModal .pf-ach { margin-left: 18px; margin-right: 18px; }
}

/* Profile views card: two rows instead of three squeezed columns.
   Top: icon, big number, label, trend chip. Bottom: who looked, on one line. */
#pfModal .pv-card.pv2 { display: block !important; padding: 16px 18px !important; min-height: 0 !important; }
.pv2-top { display: flex; align-items: center; gap: 12px; }
.pv2-ic { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,77,106,.16); color: #FF6B81; }
.pv2-n { font-size: 34px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; color: var(--text-1, #fff); font-variant-numeric: tabular-nums; }
.pv2-lbl { display: flex; flex-direction: column; min-width: 0; white-space: nowrap; font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--text-1, #fff); }
.pv2-lbl small { font-size: 12.5px !important; font-weight: 500; color: #B39A9D; }
.pv2 .pv-delta { margin-left: auto; flex: 0 0 auto; white-space: nowrap; padding: 4px 10px; border-radius: 999px; font-size: 12px !important; font-weight: 700; }
.pv2 .pv-delta.up   { background: rgba(47,191,113,.16); color: #3DCB83; }
.pv2 .pv-delta.down { background: rgba(255,107,129,.14); color: #FF8A9B; }
.pv2 .pv-delta.flat { background: rgba(255,255,255,.08); color: #C9BFC1; }
.pv2-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.pv2-foot .pv-faces { flex: 0 0 auto; margin: 0 !important; }
.pv2-foot .pv-face { width: 30px; height: 30px; margin-left: -9px; border: 2px solid #2a1d21; font-size: 12px; }
.pv2-foot .pv-face:first-child { margin-left: 0; }
.pv2-line { margin: 0; min-width: 0; font-size: 13px; line-height: 1.4; color: #C9BFC1; }
html[data-theme="light"] .pv2-n, html[data-theme="light"] .pv2-lbl { color: #1b1b1f; }
html[data-theme="light"] .pv2-lbl small, html[data-theme="light"] .pv2-line { color: #5b5557; }
html[data-theme="light"] .pv2-foot { border-top-color: rgba(0,0,0,.08); }
html[data-theme="light"] .pv2 .pv-delta.flat { background: rgba(0,0,0,.06); color: #5b5557; }
html[data-theme="light"] .pv2-foot .pv-face { border-color: #fff; }
@media (max-width: 360px) { .pv2-n { font-size: 30px; } .pv2 .pv-delta { padding: 3px 8px; } }

/* ── Talent card on the member profile ── */
#pfModal .pft { margin: 16px 24px 0; padding: 18px; border-radius: 18px; border: 1px solid rgba(255,102,128,.28);
  background: linear-gradient(180deg, rgba(200,16,46,.14), rgba(255,255,255,.02)); }
#pfModal .pft-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#pfModal .pft-k { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #FF8A9B; }
#pfModal .pft-lv { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.08); color: #E8DCDE; }
#pfModal .pft-lv.lv-rising { background: rgba(255,184,0,.14); color: #FFC94D; }
#pfModal .pft-lv.lv-booked { background: rgba(47,191,113,.16); color: #3DCB83; }
#pfModal .pft-lv.lv-top { background: rgba(29,155,240,.16); color: #5DB8FF; }
#pfModal .pft-id { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
#pfModal .pft-id h3 { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.2; color: var(--text-1, #fff); display: flex; align-items: center; gap: 6px; }
#pfModal .pft-id p { margin: 2px 0 0; font-size: 13.5px; color: #C9BFC1; }
#pfModal .pft-ok { width: 18px; height: 18px; border-radius: 50%; background: #1D9BF0; color: #fff; display: inline-grid; place-items: center; }
#pfModal .pft-av { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
#pfModal .pft-av i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
#pfModal .pft-av.open { background: rgba(47,191,113,.16); color: #3DCB83; }
#pfModal .pft-av.dates { background: rgba(255,184,0,.14); color: #FFC94D; }
#pfModal .pft-av.busy { background: rgba(255,255,255,.08); color: #C9BFC1; }
#pfModal .pft-reel { all: unset; box-sizing: border-box; position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: 14px; border-radius: 14px; overflow: hidden; cursor: pointer;
  background: radial-gradient(circle at 50% 40%, #4a0f1c, #160609); }
#pfModal .pft-reel img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
#pfModal .pft-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: #E0193C; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
#pfModal .pft-play svg { fill: currentColor; margin-left: 3px; }
#pfModal .pft-reel-t { position: absolute; left: 12px; bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
#pfModal .pft-reel:focus-visible { outline: 2px solid #FF6680; outline-offset: 2px; }
#pfModal .pft-gal { display: grid; gap: 6px; margin-top: 14px; border-radius: 14px; overflow: hidden; }
#pfModal .pft-gal.n2, #pfModal .pft-gal.n4 { grid-template-columns: 1fr 1fr; }
#pfModal .pft-gal.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
#pfModal .pft-gal.n3 img:first-child { grid-row: span 2; }
#pfModal .pft-gal img { width: 100%; height: 100%; min-height: 0; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
#pfModal .pft-gal.n3 img { aspect-ratio: auto; }
#pfModal .pft-gal.n3 img:not(:first-child) { aspect-ratio: 4 / 3; }
#pfModal .pft-proof { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 13.5px; color: #C9BFC1; }
#pfModal .pft-proof b { color: var(--text-1, #fff); }
#pfModal .pft-next { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 12px 0 0; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.05); font-size: 13px; color: #C9BFC1; }
#pfModal .pft-next b { color: #FFC94D; }
#pfModal .pft-cta { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
#pfModal .pft-cta .pf-btn { flex: 1 1 160px; justify-content: center; }
#pfModal .pft-cta .pf-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ── Talent section inside Your dashboard ── */
#pfModal .pft-dash { margin: 10px 12px 0; padding: 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
#pfModal .pft-dash-h { display: flex; align-items: center; gap: 8px; color: #FF8A9B; }
#pfModal .pft-dash-h b { flex: 1; color: var(--text-1, #fff); font-size: 14.5px; }
#pfModal .pft-dash-req { all: unset; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #FF8A9B; border: 1px solid rgba(255,102,128,.35); cursor: pointer; white-space: nowrap; }
#pfModal .pft-dash-empty { margin: 8px 0 12px; font-size: 13.5px; line-height: 1.5; color: #C9BFC1; }
#pfModal .pft-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
#pfModal .pft-row img, #pfModal .pft-ph { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; object-fit: cover; }
#pfModal .pft-ph { display: grid; place-items: center; background: #5a2630; color: #fff; font-weight: 700; }
#pfModal .pft-row-t { all: unset; flex: 1; min-width: 0; cursor: pointer; display: flex; flex-direction: column; }
#pfModal .pft-row-t b { font-size: 14px; color: var(--text-1, #fff); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pfModal .pft-row-t small { font-size: 12.5px; color: #B39A9D; }
#pfModal .pft-row-t em { font-style: normal; color: #FFC94D; font-weight: 700; }
#pfModal .pft-sw { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; flex: 0 0 auto; }
#pfModal .pft-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#pfModal .pft-sw span { width: 36px; height: 21px; border-radius: 999px; background: rgba(255,255,255,.18); position: relative; transition: background .2s; }
#pfModal .pft-sw span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: transform .2s; }
#pfModal .pft-sw input:checked + span { background: #2FBF71; }
#pfModal .pft-sw input:checked + span::after { transform: translateX(15px); }
#pfModal .pft-sw input:focus-visible + span { outline: 2px solid #FF6680; outline-offset: 2px; }
#pfModal .pft-sw em { font-style: normal; font-size: 12px; font-weight: 700; color: #C9BFC1; min-width: 52px; }
#pfModal .pft-ins { all: unset; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: grid; place-items: center; color: #C9BFC1; border: 1px solid rgba(255,255,255,.1); cursor: pointer; }
#pfModal .pft-ins:hover, #pfModal .pft-dash-req:hover { background: rgba(255,255,255,.06); }
@media (max-width: 600px) { #pfModal .pft { margin-left: 18px; margin-right: 18px; } }
@media (max-width: 380px) { #pfModal .pft-sw em { display: none; } }

html[data-theme="light"] #pfModal .pft { background: linear-gradient(180deg, rgba(200,16,46,.07), #fff); border-color: rgba(200,16,46,.22); }
html[data-theme="light"] #pfModal .pft-id h3, html[data-theme="light"] #pfModal .pft-proof b, html[data-theme="light"] #pfModal .pft-dash-h b, html[data-theme="light"] #pfModal .pft-row-t b { color: #1b1b1f; }
html[data-theme="light"] #pfModal .pft-id p, html[data-theme="light"] #pfModal .pft-proof, html[data-theme="light"] #pfModal .pft-next, html[data-theme="light"] #pfModal .pft-dash-empty, html[data-theme="light"] #pfModal .pft-row-t small { color: #5b5557; }
html[data-theme="light"] #pfModal .pft-k, html[data-theme="light"] #pfModal .pft-dash-h, html[data-theme="light"] #pfModal .pft-dash-req { color: #C8102E; }
html[data-theme="light"] #pfModal .pft-av.open, html[data-theme="light"] #pfModal .pft-lv.lv-booked { color: #13824B; }
html[data-theme="light"] #pfModal .pft-av.dates, html[data-theme="light"] #pfModal .pft-lv.lv-rising, html[data-theme="light"] #pfModal .pft-next b, html[data-theme="light"] #pfModal .pft-row-t em { color: #9A6200; }
html[data-theme="light"] #pfModal .pft-dash { background: rgba(0,0,0,.02); border-color: rgba(0,0,0,.08); }

/* ── Dashboard clarity pass ── */
/* status: one slim row inside the dashboard, so the open panel stays short */
#pfModal .pf-dash-body .pf-mystatus { min-height: 0 !important; padding: 12px 14px !important; gap: 12px !important; align-items: center !important; }
#pfModal .pf-dash-body .pf-mystatus > svg:first-child, #pfModal .pf-dash-body .pf-mystatus > img:first-child { width: 30px !important; height: 30px !important; flex: 0 0 30px; }
#pfModal .pf-dash-body .pf-mystatus small { font-size: 12.5px !important; line-height: 1.35; }
/* talent pages: count on the requests button, one item per page, controls with words */
#pfModal .pft-count { margin-left: 2px; padding: 1px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 800; background: rgba(255,255,255,.1); color: #E8DCDE; }
#pfModal .pft-dash-req.has { background: rgba(224,25,60,.16); border-color: rgba(255,102,128,.6); }
#pfModal .pft-dash-req.has .pft-count { background: #E0193C; color: #fff; }
#pfModal .pft-dash-h { flex-wrap: wrap; row-gap: 8px; }
#pfModal .pft-item { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.07); }
#pfModal .pft-item:first-of-type { border-top: 0; padding-top: 0; }
#pfModal .pft-item .pft-row { margin-top: 0; }
#pfModal .pft-ctl { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 0 48px; }
#pfModal .pft-ctl .pft-sw em { min-width: 0; white-space: nowrap; }
#pfModal .pft-ctl .pft-ins { width: auto; height: 32px; padding: 0 12px; gap: 6px; display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; }
@media (max-width: 380px) { #pfModal .pft-ctl { margin-left: 0; } #pfModal .pft-sw em { display: inline !important; } }
/* the way to your own talent card */
#pfModal .pft-own { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 14px; padding: 10px 12px; border-radius: 10px;
  border: 1px dashed rgba(255,102,128,.45); color: #FF8A9B; font-size: 13px; cursor: pointer; }
#pfModal .pft-own span { flex: 1; color: #C9BFC1; }
#pfModal .pft-own b { color: #FF8A9B; }
#pfModal .pft-own:hover { background: rgba(255,102,128,.06); }
#pfModal .pft-own:focus-visible, #pfModal .pft-ins:focus-visible, #pfModal .pft-dash-req:focus-visible { outline: 2px solid #FF6680; outline-offset: 2px; }
html[data-theme="light"] #pfModal .pft-count { background: rgba(0,0,0,.07); color: #1b1b1f; }
html[data-theme="light"] #pfModal .pft-item { border-top-color: rgba(0,0,0,.07); }
html[data-theme="light"] #pfModal .pft-own span { color: #5b5557; }
html[data-theme="light"] #pfModal .pft-own, html[data-theme="light"] #pfModal .pft-own b { color: #C8102E; }

/* ── Views strip: one slim line under the stats (only you see it) ── */
#pfModal .pvs { display: flex; align-items: center; gap: 10px; margin: 10px 24px 0; padding: 9px 14px; border-radius: 12px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); font-size: 13.5px; color: #C9BFC1; min-width: 0; }
#pfModal .pvs-ic { color: #FF6B81; display: inline-flex; flex: 0 0 auto; }
#pfModal .pvs-n { white-space: nowrap; }
#pfModal .pvs-n b { color: var(--text-1, #fff); font-size: 15px; font-weight: 800; }
#pfModal .pvs-t { flex: 0 0 auto; padding: 2px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 800; }
#pfModal .pvs-t.up { background: rgba(47,191,113,.16); color: #3DCB83; }
#pfModal .pvs-t.down { background: rgba(255,107,129,.14); color: #FF8A9B; }
#pfModal .pvs-faces { display: inline-flex; align-items: center; margin-left: auto; flex: 0 0 auto; }
#pfModal .pvs-faces .pv-face { width: 26px; height: 26px; margin-left: -8px; border: 2px solid #2a2326; font-size: 11px; }
#pfModal .pvs-faces .pv-face:first-child { margin-left: 0; }
#pfModal .pvs-more { display: inline-grid; place-items: center; background: #4a3d42; color: #fff; font-weight: 800; }
#pfModal .pvs-who { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
@media (max-width: 600px) { #pfModal .pvs { margin-left: 18px; margin-right: 18px; } }
@media (max-width: 480px) { #pfModal .pvs-who { display: none; } }
html[data-theme="light"] #pfModal .pvs { background: rgba(0,0,0,.025); border-color: rgba(0,0,0,.07); color: #5b5557; }
html[data-theme="light"] #pfModal .pvs-n b { color: #1b1b1f; }
html[data-theme="light"] #pfModal .pvs-faces .pv-face { border-color: #fff; }
html[data-theme="light"] #pfModal .pvs-t.up { color: #13824B; }

/* views line is a button now: tap to see everyone who viewed */
#pfModal button.pvs { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; width: calc(100% - 48px); margin: 10px 24px 0; padding: 9px 14px; border-radius: 12px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); font-size: 13.5px; color: #C9BFC1; cursor: pointer; transition: background .15s; }
#pfModal button.pvs:hover { background: rgba(255,255,255,.06); }
#pfModal button.pvs:focus-visible { outline: 2px solid #FF6680; outline-offset: 2px; }
#pfModal button.pvs[disabled] { cursor: default; }
#pfModal .pvs-lock { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; font-size: 11.5px; font-weight: 600; color: #9F8F92; }
#pfModal .pvs-lock i { font-style: normal; }
#pfModal .pvs-faces .pv-face { cursor: inherit; }
#pfModal .pvs-go { width: 7px; height: 7px; flex: 0 0 7px; margin-left: 2px; border-right: 2px solid #9F8F92; border-top: 2px solid #9F8F92; transform: rotate(45deg); }
@media (max-width: 600px) { #pfModal button.pvs { width: calc(100% - 36px); margin-left: 18px; margin-right: 18px; } }
@media (max-width: 420px) { #pfModal .pvs-lock i { display: none; } }

/* who viewed: a sheet over the profile */
.pvl-ov { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.6); animation: pvlIn .15s ease; }
@keyframes pvlIn { from { opacity: 0; } }
.pvl { width: 100%; max-width: 440px; max-height: min(640px, 88vh); display: flex; flex-direction: column; border-radius: 18px; background: #1f1a1c; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 20px 60px rgba(0,0,0,.5); overflow: hidden; }
.pvl-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 18px 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
.pvl-h b { display: block; font-size: 17px; color: #fff; }
.pvl-h small { display: block; margin-top: 2px; font-size: 12.5px; color: #9F8F92; }
.pvl-x { all: unset; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: grid; place-items: center; color: #C9BFC1; cursor: pointer; border: 1px solid rgba(255,255,255,.1); }
.pvl-x:focus-visible, .pvl-open:focus-visible { outline: 2px solid #FF6680; outline-offset: 2px; }
.pvl-list { overflow-y: auto; padding: 6px 10px; }
.pvl-row { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 12px; }
.pvl-row + .pvl-row { border-top: 1px solid rgba(255,255,255,.05); }
.pvl-av { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; color: #fff; font-weight: 700; }
.pvl-av img { width: 100%; height: 100%; object-fit: cover; }
.pvl-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pvl-t b { font-size: 14.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pvl-t small { font-size: 12.5px; color: #9F8F92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pvl-at { flex: 0 0 auto; font-size: 12px; color: #9F8F92; }
.pvl-open { flex: 0 0 auto; padding: 7px 14px !important; font-size: 13px !important; }
.pvl-tip { margin: 0; padding: 12px 18px 16px; font-size: 12.5px; line-height: 1.5; color: #9F8F92; border-top: 1px solid rgba(255,255,255,.07); }
@media (max-width: 420px) { .pvl-at { display: none; } }
html[data-theme="light"] #pfModal button.pvs { background: rgba(0,0,0,.025); border-color: rgba(0,0,0,.07); color: #5b5557; }
html[data-theme="light"] #pfModal .pvs-lock, html[data-theme="light"] .pvl-h small, html[data-theme="light"] .pvl-t small, html[data-theme="light"] .pvl-at, html[data-theme="light"] .pvl-tip { color: #6b6466; }
html[data-theme="light"] .pvl { background: #fff; border-color: rgba(0,0,0,.08); }
html[data-theme="light"] .pvl-h b, html[data-theme="light"] .pvl-t b { color: #1b1b1f; }
html[data-theme="light"] .pvl-x { color: #5b5557; border-color: rgba(0,0,0,.1); }

/* ── About: the same panel as an event's attendee advice ── */
#pfModal .pf-sec.pf-about { padding: 14px 16px 15px; border-radius: 12px; background: rgba(200,16,46,.07); border: 1px solid rgba(200,16,46,.2); border-left: 3px solid #E0193C; }
#pfModal .pf-sec.pf-about h4 { margin: 0 0 8px !important; color: #FF6B81 !important; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 7px; }
#pfModal .pf-sec.pf-about h4 svg { color: #FF6B81; }
#pfModal .pf-sec.pf-about .pf-text { margin: 0; line-height: 1.65; }
#pfModal .pf-sec.pf-about .pf-more { margin-top: 8px; }
html[data-theme="light"] #pfModal .pf-sec.pf-about { background: rgba(200,16,46,.05); border-color: rgba(200,16,46,.16); border-left-color: #C8102E; }
html[data-theme="light"] #pfModal .pf-sec.pf-about h4, html[data-theme="light"] #pfModal .pf-sec.pf-about h4 svg { color: #C8102E !important; }
/* the About icon in warm yellow, like the light bulb on event advice */
#pfModal .pf-sec.pf-about h4 svg { color: #F4B000 !important; filter: drop-shadow(0 0 6px rgba(244,176,0,.45)); }
html[data-theme="light"] #pfModal .pf-sec.pf-about h4 svg { color: #B07D00 !important; filter: none; }
/* About text in soft white, easy to read on the tinted panel */
#pfModal .pf-sec.pf-about .pf-text { color: #F2ECEC !important; }
html[data-theme="light"] #pfModal .pf-sec.pf-about .pf-text { color: #2a2326 !important; }

/* ── Achievements: the next badges to earn (only on your own profile) ── */
#pfModal .pf-ach-next { display: grid; gap: 8px; margin-top: 10px; }
#pfModal .pf-ach-goal { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; border: 1px dashed rgba(255,255,255,.14); }
#pfModal .pf-ach-gl { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; font-size: 13px; color: #9F8F92; }
#pfModal .pf-ach-gl b { color: #E8DCDE; font-weight: 700; white-space: nowrap; }
#pfModal .pf-ach-gl small { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pfModal .pf-ach-gl small::before { content: '·'; margin-right: 6px; }
#pfModal .pf-ach-bar { flex: 0 0 64px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
#pfModal .pf-ach-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #E0193C, #FF6B81); }
@media (max-width: 380px) { #pfModal .pf-ach-bar { flex-basis: 44px; } }
html[data-theme="light"] #pfModal .pf-ach-goal { border-color: rgba(0,0,0,.15); }
html[data-theme="light"] #pfModal .pf-ach-gl { color: #6b6466; }
html[data-theme="light"] #pfModal .pf-ach-gl b { color: #1b1b1f; }
html[data-theme="light"] #pfModal .pf-ach-bar { background: rgba(0,0,0,.08); }

/* ── Share menu: same on every device ── */
.shr { max-width: 460px; }
.shr-body { padding: 16px 18px 18px; overflow-y: auto; }
.shr-card { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); background: #140509; }
.shr-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 16px; }
.shr-app { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 2px; border-radius: 12px; font-size: 12px; font-weight: 600; color: #E8DCDE; text-decoration: none; text-align: center; }
.shr-app span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #3a3235; transition: transform .15s; }
.shr-app:hover span { transform: translateY(-2px); }
.shr-app:focus-visible { outline: 2px solid #FF6680; outline-offset: 2px; }
.shr-whatsapp span { background: #25D366; }
.shr-linkedin span { background: #0A66C2; }
.shr-x span { background: #000; border: 1px solid rgba(255,255,255,.18); }
.shr-facebook span { background: #1877F2; }
.shr-telegram span { background: #229ED9; }
.shr-email span { background: #5b4a52; }
.shr-link { display: flex; gap: 8px; margin-top: 16px; }
.shr-link input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #E8DCDE; font-size: 13px; }
.shr-copy { flex: 0 0 auto; white-space: nowrap; }
.shr-tip { margin: 10px 0 0; font-size: 12.5px; color: #9F8F92; }
.shr-more { width: 100%; justify-content: center; margin-top: 12px; }
@media (max-width: 420px) { .shr-grid { grid-template-columns: repeat(3, 1fr); row-gap: 12px; } }
html[data-theme="light"] .shr-app { color: #1b1b1f; }
html[data-theme="light"] .shr-link input { background: #fff; border-color: rgba(0,0,0,.12); color: #1b1b1f; }
html[data-theme="light"] .shr-tip { color: #6b6466; }
html[data-theme="light"] .shr-card { border-color: rgba(0,0,0,.08); }

/* ── Profile stats as white tiles, like the site's numbers and the event date badge:
      big dark number, soft fold line, short red word ── */
#pfModal .pf-stats.pf-stats-tap { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
#pfModal .pf-stats-tap > button, #pfModal .pf-stats-tap > div {
  --fold: calc(9px + 1.75rem + 4px); position: relative; overflow: hidden; display: flex !important; flex-direction: column; align-items: center; gap: 0 !important;
  padding: 9px 6px 8px !important; border: 0 !important; border-radius: 12px !important;
  background: linear-gradient(180deg, #ffffff 0, #f3f3f3 var(--fold), #e8e8e8 calc(var(--fold) + 1px), #f4f4f4 100%) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.35); transition: transform .15s; }
#pfModal .pf-stats-tap > *::after { content: ""; position: absolute; left: 0; right: 0; top: var(--fold); height: 1px; background: rgba(0,0,0,.10); box-shadow: 0 1px 0 rgba(255,255,255,.8); pointer-events: none; }
#pfModal .pf-stats-tap > * b { font-size: 1.75rem !important; font-weight: 700 !important; line-height: 1 !important; letter-spacing: -.02em; color: #1a1a1a !important; font-variant-numeric: tabular-nums; }
#pfModal .pf-stats-tap > * span { margin-top: 5px; font-size: .72rem !important; font-weight: 700 !important; letter-spacing: .02em; color: #C8102E !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
#pfModal .pf-stats-tap > button:hover { transform: translateY(-2px); background: linear-gradient(180deg, #ffffff 0, #f6f6f6 var(--fold), #e8e8e8 calc(var(--fold) + 1px), #f7f7f7 100%) !important; }
#pfModal .pf-stats-tap > button:focus-visible { outline: 2px solid #FF6680; outline-offset: 2px; }
html[data-theme="light"] #pfModal .pf-stats-tap > button, html[data-theme="light"] #pfModal .pf-stats-tap > div { box-shadow: 0 6px 16px rgba(60,20,30,.14); }
@media (max-width: 480px) {
  #pfModal .pf-stats.pf-stats-tap { gap: 8px !important; }
  #pfModal .pf-stats-tap > button, #pfModal .pf-stats-tap > div { --fold: calc(8px + 1.4rem + 3px); padding: 8px 4px 7px !important; border-radius: 10px !important; }
  #pfModal .pf-stats-tap > * b { font-size: 1.4rem !important; }
  #pfModal .pf-stats-tap > * span { font-size: .64rem !important; margin-top: 3px; }
}

/* ── White stat tiles, compact: a fixed comfortable width on wider screens, lighter numbers,
      softer shadow; on phones the four tiles share the row ── */
#pfModal .pf-stats.pf-stats-tap { display: flex !important; flex-wrap: nowrap; justify-content: flex-start; gap: 10px !important; }
#pfModal .pf-stats-tap > button, #pfModal .pf-stats-tap > div {
  --fold: calc(7px + 1.3rem + 4px); flex: 0 1 112px; min-width: 0; padding: 7px 8px 6px !important; border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.28) !important; }
#pfModal .pf-stats-tap > * b { font-size: 1.3rem !important; }
#pfModal .pf-stats-tap > * span { margin-top: 4px; font-size: .66rem !important; }
html[data-theme="light"] #pfModal .pf-stats-tap > button, html[data-theme="light"] #pfModal .pf-stats-tap > div { box-shadow: 0 3px 10px rgba(60,20,30,.12) !important; }
@media (max-width: 480px) {
  #pfModal .pf-stats.pf-stats-tap { gap: 8px !important; }
  #pfModal .pf-stats-tap > button, #pfModal .pf-stats-tap > div { --fold: calc(6px + 1.2rem + 3px); flex: 1 1 0; padding: 6px 4px 6px !important; }
  #pfModal .pf-stats-tap > * b { font-size: 1.2rem !important; }
  #pfModal .pf-stats-tap > * span { font-size: .62rem !important; margin-top: 3px; }
}
/* a little air between the fold line and the red word */
#pfModal .pf-stats-tap > button, #pfModal .pf-stats-tap > div { --fold: calc(7px + 1.3rem + 3px); }
#pfModal .pf-stats-tap > * span { margin-top: 7px !important; }
@media (max-width: 480px) {
  #pfModal .pf-stats-tap > button, #pfModal .pf-stats-tap > div { --fold: calc(6px + 1.2rem + 3px); }
  #pfModal .pf-stats-tap > * span { margin-top: 6px !important; }
}
/* the four tiles share the full width, so their edges line up with the views line below */
#pfModal .pf-stats-tap > button, #pfModal .pf-stats-tap > div { flex: 1 1 0 !important; }

/* ── Stats as ONE white strip split into four (calmer than four separate tiles):
      same white look, fold line, dark numbers and red words, thin dividers between ── */
#pfModal .pf-stats.pf-stats-tap {
  --fold: calc(8px + 1.3rem + 3px);
  position: relative; display: flex !important; gap: 0 !important; overflow: hidden; border-radius: 12px !important;
  background: linear-gradient(180deg, #ffffff 0, #f3f3f3 var(--fold), #e8e8e8 calc(var(--fold) + 1px), #f4f4f4 100%) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.3) !important; }
#pfModal .pf-stats.pf-stats-tap::after { content: ""; position: absolute; left: 0; right: 0; top: var(--fold); height: 1px; background: rgba(0,0,0,.09); box-shadow: 0 1px 0 rgba(255,255,255,.8); pointer-events: none; }
#pfModal .pf-stats-tap > button, #pfModal .pf-stats-tap > div {
  flex: 1 1 0 !important; padding: 8px 4px 7px !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; transform: none !important; }
#pfModal .pf-stats-tap > *::after { content: none !important; }
#pfModal .pf-stats-tap > * + * { border-left: 1px solid rgba(0,0,0,.08) !important; }
#pfModal .pf-stats-tap > button:hover { background: rgba(0,0,0,.035) !important; }
#pfModal .pf-stats-tap > * b { font-size: 1.3rem !important; }
#pfModal .pf-stats-tap > * span { margin-top: 7px !important; font-size: .68rem !important; }
html[data-theme="light"] #pfModal .pf-stats.pf-stats-tap { box-shadow: 0 3px 12px rgba(60,20,30,.12) !important; border: 1px solid rgba(0,0,0,.06) !important; }
@media (max-width: 480px) {
  #pfModal .pf-stats.pf-stats-tap { --fold: calc(7px + 1.2rem + 3px); }
  #pfModal .pf-stats-tap > button, #pfModal .pf-stats-tap > div { padding: 7px 2px 6px !important; }
  #pfModal .pf-stats-tap > * b { font-size: 1.2rem !important; }
  #pfModal .pf-stats-tap > * span { margin-top: 6px !important; font-size: .62rem !important; }
}
#pfModal .pf-stats-tap > *:not(:first-child) { border-left: 1px solid rgba(0,0,0,.09) !important; }
/* views line, simplified: eye and number on the left, faces and arrow on the right, a small lock */
#pfModal .pvs-lock { opacity: .75; }
#pfModal button.pvs .pvs-faces { margin-left: auto; }
#pfModal button.pvs .pvs-who { margin-left: auto; }

/* ── About label like the event's "Attendee advice": a dark icon on a glowing amber disc,
      and the word in bold amber capitals ── */
#pfModal .pf-sec.pf-about h4 { color: #F4B000 !important; font-weight: 800 !important; letter-spacing: .08em !important; gap: 8px !important; }
#pfModal .pf-sec.pf-about h4 svg {
  box-sizing: border-box; width: 22px !important; height: 22px !important; padding: 4px; flex: 0 0 22px;
  border-radius: 50%; color: #3D2400 !important; stroke-width: 2.6; filter: none !important;
  background: radial-gradient(circle at 40% 35%, #FFE58A 0%, #FFC83D 55%, #F5A800 100%);
  box-shadow: 0 0 0 2px rgba(255,200,61,.28), 0 0 10px rgba(255,190,40,.55);
  animation: pfAboutGlow 2.6s ease-in-out infinite; }
@keyframes pfAboutGlow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255,200,61,.25), 0 0 8px rgba(255,190,40,.45); }
  50%      { box-shadow: 0 0 0 3px rgba(255,200,61,.35), 0 0 16px rgba(255,190,40,.8); }
}
@media (prefers-reduced-motion: reduce) { #pfModal .pf-sec.pf-about h4 svg { animation: none; } }
html[data-theme="light"] #pfModal .pf-sec.pf-about h4 { color: #9A6200 !important; }
html[data-theme="light"] #pfModal .pf-sec.pf-about h4 svg { color: #3D2400 !important; }

/* viewer list: a round eye button to open each profile */
.pvl-eye { all: unset; box-sizing: border-box; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: #FF6B81; background: rgba(255,77,106,.12); border: 1px solid rgba(255,102,128,.35); transition: background .15s, transform .15s; }
.pvl-eye:hover { background: rgba(255,77,106,.22); transform: scale(1.06); }
.pvl-eye:focus-visible { outline: 2px solid #FF6680; outline-offset: 2px; }
html[data-theme="light"] .pvl-eye { color: #C8102E; background: rgba(200,16,46,.08); border-color: rgba(200,16,46,.3); }
/* the real-looking eye sits exactly in the middle of its round button */
.pvl-eye { width: 42px; height: 42px; flex-basis: 42px; padding: 0; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.pvl-eye .eye-real { display: block; margin: auto; }
.pvl-eye:hover { background: rgba(255,255,255,.12); }
html[data-theme="light"] .pvl-eye { background: #fff; border-color: rgba(0,0,0,.12); }
.pvl-open.pvl-eye { padding: 0 !important; display: grid !important; place-items: center; }
/* clean eye button: brand red icon on a soft round button, centred */
.pvl-open.pvl-eye { width: 40px; height: 40px; flex-basis: 40px; color: #FF6B81; background: rgba(255,77,106,.12); border: 1px solid rgba(255,102,128,.3); }
.pvl-open.pvl-eye:hover { background: rgba(255,77,106,.22); }
.pvl-eye .eye-clean { display: block; }
html[data-theme="light"] .pvl-open.pvl-eye { color: #C8102E; background: rgba(200,16,46,.08); border-color: rgba(200,16,46,.28); }
/* viewer list: empty state and the honest note about signed-out link opens */
.pvl-empty { margin: 0; padding: 14px 18px 4px; font-size: 13.5px; color: #C9BFC1; }
.pvl-guests { margin: 8px 18px 0; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: 12.5px; line-height: 1.5; color: #C9BFC1; }
html[data-theme="light"] .pvl-empty, html[data-theme="light"] .pvl-guests { color: #5b5557; }
html[data-theme="light"] .pvl-guests { background: rgba(0,0,0,.03); }

/* ── Dashboard header, advanced: progress ring, "Only you", status chips, next step ── */
#pfModal .pf-dash.pfd { border: 1px solid rgba(255,102,128,.22); background: linear-gradient(135deg, rgba(200,16,46,.16), rgba(255,255,255,.03) 60%);
  box-shadow: 0 8px 24px rgba(0,0,0,.22); transition: box-shadow .2s, transform .2s; }
#pfModal .pf-dash.pfd:hover { box-shadow: 0 10px 28px rgba(0,0,0,.3), 0 0 0 3px rgba(255,102,128,.1); }
#pfModal .pfd > summary { gap: 14px; padding: 14px 16px; }
#pfModal .pfd > summary:focus { outline: none; }
#pfModal .pfd > summary:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255,102,128,.35); border-radius: 16px; }
#pfModal .pfd-ring { position: relative; width: 46px; height: 46px; flex: 0 0 46px; }
#pfModal .pfd-ring svg { transform: rotate(-90deg); display: block; }
#pfModal .pfd-ring .pfd-arc { transition: stroke-dashoffset .6s ease; }
#pfModal .pfd-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; color: var(--text-1, #fff); }
#pfModal .pfd-ring.done b { color: #3DCB83; }
#pfModal .pfd-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
#pfModal .pfd-h { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 800; color: var(--text-1, #fff); }
#pfModal .pfd-lock { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: #9F8F92; }
#pfModal .pfd-lock i { font-style: normal; }
#pfModal .pfd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
#pfModal .pfd-chip { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: rgba(255,255,255,.08); color: #E8DCDE; white-space: nowrap; }
#pfModal .pfd-chip em { font-style: normal; }
#pfModal .pfd-chip .pfd-short { display: none; }
#pfModal .pfd-chip.lv { background: rgba(255,184,0,.14); color: #FFC94D; }
#pfModal .pfd-chip.lv-2 { background: rgba(200,200,210,.16); color: #DADCE3; }
#pfModal .pfd-chip.lv-3 { background: rgba(244,176,0,.2); color: #FFD25E; }
#pfModal .pfd-chip.lv-4 { background: rgba(29,155,240,.18); color: #6DC0FF; }
#pfModal .pfd-chip.hot { background: #E0193C; color: #fff; }
#pfModal .pfd-next { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 700; color: #FF8A9B;
  background: rgba(255,102,128,.1); border: 1px solid rgba(255,102,128,.3); white-space: nowrap; cursor: pointer; max-width: 46%; overflow: hidden; text-overflow: ellipsis; }
#pfModal .pfd-next:hover { background: rgba(255,102,128,.18); }
#pfModal .pfd-next:focus-visible { outline: 2px solid #FF6680; outline-offset: 2px; }
#pfModal .pfd[open] .pfd-next { display: none; }
@media (max-width: 640px) {
  #pfModal .pfd-next { display: none; }
  #pfModal .pfd-lock i, #pfModal .pfd-chip.pfd-long, #pfModal .pfd-chip .pfd-long { display: none; }
  #pfModal .pfd-chip .pfd-short { display: inline; }
}
@media (prefers-reduced-motion: reduce) { #pfModal .pfd-ring .pfd-arc, #pfModal .pf-dash.pfd { transition: none; } }
html[data-theme="light"] #pfModal .pf-dash.pfd { background: linear-gradient(135deg, rgba(200,16,46,.07), #fff 60%); border-color: rgba(200,16,46,.18); box-shadow: 0 6px 18px rgba(60,20,30,.08); }
html[data-theme="light"] #pfModal .pfd-h, html[data-theme="light"] #pfModal .pfd-ring b { color: #1b1b1f; }
html[data-theme="light"] #pfModal .pfd-chip { background: rgba(0,0,0,.06); color: #2a2326; }
html[data-theme="light"] #pfModal .pfd-chip.lv { background: rgba(255,184,0,.18); color: #8a5a00; }
html[data-theme="light"] #pfModal .pfd-chip.hot { background: #C8102E; color: #fff; }
html[data-theme="light"] #pfModal .pfd-next { color: #C8102E; background: rgba(200,16,46,.06); border-color: rgba(200,16,46,.25); }
html[data-theme="light"] #pfModal .pfd-ring circle:first-of-type { stroke: rgba(0,0,0,.1); }

/* ── Profile review polish ── */
/* cover: a soft dark wash and a fade at the bottom, so busy covers stay calm behind the photo */
#pfModal .pf-banner { position: relative; }
#pfModal .pf-banner::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,8,10,.18) 0%, rgba(14,8,10,.30) 55%, rgba(14,8,10,.72) 100%); }
#pfModal .pf-banner > * { position: relative; z-index: 1; }
html[data-theme="light"] #pfModal .pf-banner::after { background: linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.12) 60%, rgba(0,0,0,.35) 100%); }
/* school and work beside the name: quieter, so the name leads */
#pfModal .pf-side-row { opacity: .9; }
#pfModal .pf-side-txt b { font-size: 13.5px !important; font-weight: 700 !important; }
#pfModal .pf-side-ic { transform: scale(.88); }

/* profile completion: shown openly under the buttons (only to you) until it reaches 100% */
#pfModal > .pf-complete, #pfModal .pf-actions + .pf-complete { margin: 14px 24px 0 !important; width: calc(100% - 48px) !important; }
@media (max-width: 600px) { #pfModal .pf-actions + .pf-complete { margin-left: 18px !important; margin-right: 18px !important; width: calc(100% - 36px) !important; } }

/* ── Share window, two columns like the talent page: card left, apps right ── */
.shr.shr2 { max-width: 860px; flex-direction: row; max-height: min(560px, 90vh); }
.shr2-media { flex: 1 1 52%; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 22px; background: radial-gradient(circle at 50% 40%, #2a0d14, #120709); }
.shr2-media .shr-card { width: 100%; border-radius: 14px; box-shadow: 0 14px 36px rgba(0,0,0,.5); }
.shr2-side { flex: 1 1 48%; min-width: 0; display: flex; flex-direction: column; overflow-y: auto; }
.shr2-h { border-bottom: 1px solid rgba(255,255,255,.07); }
.shr2-list { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; }
.shr2-app { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: #F2ECEC; text-decoration: none; transition: background .15s; }
.shr2-app:hover { background: rgba(255,255,255,.06); }
.shr2-app:focus-visible { outline: 2px solid #FF6680; outline-offset: -2px; }
.shr2-ic { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #3a3235; }
.shr2-ic svg { width: 18px; height: 18px; }
.shr2-app b { flex: 1; font-size: 14.5px; font-weight: 700; }
.shr2-go { width: 7px; height: 7px; border-right: 2px solid #9F8F92; border-top: 2px solid #9F8F92; transform: rotate(45deg); margin-right: 4px; }
.shr-whatsapp .shr2-ic { background: #25D366; } .shr-linkedin .shr2-ic { background: #0A66C2; } .shr-x .shr2-ic { background: #000; border: 1px solid rgba(255,255,255,.18); }
.shr-facebook .shr2-ic { background: #1877F2; } .shr-telegram .shr2-ic { background: #229ED9; } .shr-email .shr2-ic { background: #5b4a52; }
.shr2-foot { display: flex; gap: 8px; padding: 6px 22px 0; }
.shr2-foot .pf-btn { flex: 1; justify-content: center; }
.shr2 .shr-tip { padding: 10px 22px 18px; margin: 0; }
@media (max-width: 720px) {
  .shr.shr2 { flex-direction: column; max-width: 460px; max-height: 92vh; overflow-y: auto; }
  .shr2-media { padding: 16px 16px 6px; background: none; flex: none; }
  .shr2-side { overflow: visible; flex: none; }
  .shr2-h { order: -1; }
}
html[data-theme="light"] .shr2-media { background: #f4eeee; }
html[data-theme="light"] .shr2-app { color: #1b1b1f; }
html[data-theme="light"] .shr2-app:hover { background: rgba(0,0,0,.04); }
/* compact rows so the whole list and Copy link fit without scrolling */
.shr2-list { gap: 2px; padding: 8px 12px 4px; }
.shr2-app { padding: 6px 10px; }
.shr2-ic { width: 34px; height: 34px; flex-basis: 34px; }
.shr2-ic svg { width: 17px; height: 17px; }
.shr2-h { padding-bottom: 10px !important; }
.shr2 .shr-tip { padding-top: 8px; }
/* smaller, more refined icons in the share list */
.shr2-ic { width: 28px !important; height: 28px !important; flex-basis: 28px !important; }
.shr2-ic svg { width: 14px !important; height: 14px !important; }
.shr2-app { gap: 11px; padding: 7px 10px; }
.shr2-app b { font-size: 13.5px; font-weight: 600; }
.shr2-go { width: 6px; height: 6px; border-width: 1.6px; opacity: .7; }

/* ── share window: one grid of round tiles (apps, Copy link, More) ── */
#pfModal ~ .shr-ov .shr3-grid, .shr-ov .shr3-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 4px; padding: 20px 18px 6px; }
.shr-ov .shr3-app { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 4px 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: #E8DCDE; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.shr-ov .shr3-app b { font-size: 12px; font-weight: 600; line-height: 1.2; text-align: center; white-space: nowrap; }
.shr-ov .shr3-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #3a3235; transition: transform .15s, box-shadow .15s; }
.shr-ov .shr3-ic svg { width: 20px; height: 20px; }
.shr-ov .shr3-app:hover .shr3-ic { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.35); }
.shr-ov .shr3-app:focus-visible { outline: none; }
.shr-ov .shr3-app:focus-visible .shr3-ic { outline: 2px solid #FF6680; outline-offset: 3px; }
.shr-ov .shr-whatsapp .shr3-ic { background: #25D366; }
.shr-ov .shr-linkedin .shr3-ic { background: #0A66C2; }
.shr-ov .shr-x .shr3-ic { background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.shr-ov .shr-facebook .shr3-ic { background: #1877F2; }
.shr-ov .shr-telegram .shr3-ic { background: #229ED9; }
.shr-ov .shr-email .shr3-ic { background: #5B5557; }
.shr-ov .shr-copy-t .shr3-ic { background: #C8102E; }
.shr-ov .shr-copy-t.done .shr3-ic { background: #1FA35B; }
.shr-ov .shr-more-t .shr3-ic { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.shr-ov .shr3-tip { margin: 8px 18px 16px; font-size: 12px; color: #9F8F92; text-align: center; }
html[data-theme="light"] .shr-ov .shr3-app { color: #1b1b1f; }
html[data-theme="light"] .shr-ov .shr3-tip { color: #6b6466; }
.shr-ov .shr3-app.shr-more, .shr-ov .shr3-app.shr-copy { width: auto; margin: 0; justify-content: flex-start; align-self: start; min-height: 0; flex: none; }

/* the close button stays in the top-right corner of the cover, away from "Change cover" (top-left) */
#pfModal .pf-banner > .pf-x { position: absolute !important; top: 12px !important; right: 12px !important; left: auto !important; z-index: 3; }
@media (max-width: 360px) { #pfModal .pf-cover-btn span { display: none; } #pfModal .pf-cover-btn { padding: 0 10px !important; } }
/* "Your rewards" lines up with the status and talent cards in the dashboard */
#pfModal .pf-dash-body .pf-rewards-btn { margin: 10px 12px 0 !important; width: calc(100% - 24px) !important; box-sizing: border-box; padding: 12px 14px !important; border-radius: 14px; gap: 12px; }
#pfModal .pf-dash-body .pf-rewards-btn .bm-reward-ic { width: 34px; height: 34px; color: #1A1206; }

/* profile share: only the card, with one round share icon on it that opens every link */
.shr.shr2 { display: block; max-width: min(1040px, 100%); width: min(1040px, 100%); max-height: none; background: transparent; border: 0; box-shadow: none; overflow: visible; }
.shr2 .shr2-media { position: relative; display: block; padding: 0; background: transparent; }
.shr2 .shr-card { display: block; width: 100%; border-radius: 20px; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.shr2-btns { position: absolute; top: 14px; right: 14px; display: flex; gap: 10px; z-index: 2; }
.shr2 .shr2-round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; padding: 0; margin: 0;
  background: rgba(20,16,18,.55); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .15s, transform .15s; }
.shr2 .shr2-round:hover { background: rgba(200,16,46,.85); transform: translateY(-1px); }
.shr2-pop { position: absolute; top: 66px; right: 14px; z-index: 3; width: min(380px, calc(100% - 28px)); padding: 6px 0 4px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px;
  background: rgba(21,17,18,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 18px 50px rgba(0,0,0,.55); }
.shr2-pop[hidden] { display: none; }
.shr2-pop .shr3-grid { grid-template-columns: repeat(3, 1fr); }

.shr.shr2 { width: min(1200px, 100%, calc((100vh - 40px) * 1.905)) !important; max-width: none !important; }
