/* PARITY bloom — own + visited profile matched to ios/BloomProfileView.swift (light pink hero + the shared tab pager).
   Loaded by views/bloom-view.js (ensureParitySheet). White canvas, ink #1A1A1A, hot pink #D6337A, italic serif name. */
html[data-theme="bloom"] .bm-blx {
  --bl-pink: #D6337A; --bl-ink: #1A1A1A; --bl-bg: #fff; --bl-card: #F9F0F5;
  --bl-div: rgba(214,51,122,.15); --bl-muted: rgba(26,26,26,.68); --bl-faint: rgba(26,26,26,.42);
  --bl-photo: 132px;
  background: var(--bl-bg); color: var(--bl-ink); min-height: 100%;
  font-family: Inter, -apple-system, system-ui, sans-serif; overflow-x: clip;
}
html[data-theme="bloom"] .bm-blx button { font-family: inherit; }
html[data-theme="bloom"] .bm-blx :is(button, [role="button"], a):focus-visible { outline: 2px solid var(--bl-pink); outline-offset: 2px; }

/* -- hero ----------------------------------------------------------------------------- */
html[data-theme="bloom"] .bm-blx-hero { display: flex; align-items: center; gap: 0;
  background: linear-gradient(135deg, #FFD5EA 0%, #FFE8F4 34%, #FFF8FC 68%, #FFFCFE 100%); }
html[data-theme="bloom"] .bm-blx-left { flex: 1; min-width: 0; padding: 18px 20px 16px 24px; }
html[data-theme="bloom"] .bm-blx-right { flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 20px 16px 0; }
html[data-theme="bloom"] .bm-blx-handle { font-size: 13px; font-weight: 900; letter-spacing: 2px; color: var(--bl-ink); margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-theme="bloom"] .bm-blx-name { margin: 0 0 6px; font-family: "New York", "Iowan Old Style", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400;
  font-size: 34px; line-height: 1.1; color: var(--bl-pink); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html[data-theme="bloom"] .bm-blx-loc { font-size: 9px; font-weight: 900; letter-spacing: 1.5px; color: rgba(26,26,26,.45); margin-bottom: 8px; }

/* Welcome Mat (italic serif) + Block ID chips (pink icons) */
html[data-theme="bloom"] .bm-blx-wm { margin: 0 0 12px; }
html[data-theme="bloom"] .bm-blx-wm .bm-wm { display: block; margin: 10px 0 0; padding: 0; max-width: none; text-align: left; opacity: 1;
  font-family: "New York", Georgia, serif; font-style: italic; font-size: 16px; line-height: 1.4; color: var(--bl-ink); }
html[data-theme="bloom"] .bm-blx-wm .bm-wm-pencil { color: rgba(26,26,26,.5); }
html[data-theme="bloom"] .bm-blx-wm .bm-wm-empty { display: inline-flex; align-items: flex-start; margin: 10px 0 0; border-color: var(--bl-pink); color: var(--bl-pink); background: rgba(255,255,255,.55); font-style: normal; }
html[data-theme="bloom"] .bm-blx-wm .bm-wm-empty small { color: rgba(26,26,26,.5); }
html[data-theme="bloom"] .bm-blx .bm-bid { max-width: none; margin: 12px 0 0; padding: 0; }
html[data-theme="bloom"] .bm-blx .bm-bid-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; gap: 6px; }
html[data-theme="bloom"] .bm-blx .bm-bid-chips::-webkit-scrollbar { display: none; }
html[data-theme="bloom"] .bm-blx .bm-bid-chip { flex: none; white-space: nowrap; background: rgba(255,255,255,.7); border: 0; color: var(--bl-ink); font-size: 12px; font-weight: 600; padding: 6px 11px; }
html[data-theme="bloom"] .bm-blx .bm-bid-chip .bm-bid-ic { color: var(--bl-pink); }
html[data-theme="bloom"] .bm-blx .bm-bid-open { flex: none; white-space: nowrap; background: transparent; border: 1px solid rgba(214,51,122,.6); color: var(--bl-pink); font-size: 12px; font-weight: 700; padding: 5px 11px; }
html[data-theme="bloom"] .bm-blx .bm-bid-card { margin: 12px 0 0; max-width: none; border-radius: 14px; background: #fff; color: var(--bl-ink); border: 1px solid var(--bl-div); box-shadow: 0 10px 30px rgba(214,51,122,.10); }
html[data-theme="bloom"] .bm-blx .bm-bid-title { color: var(--bl-pink); }
html[data-theme="bloom"] .bm-blx .bm-bid-row { border-top-color: var(--bl-div); }

/* stats */
html[data-theme="bloom"] .bm-blx-stats { display: flex; align-items: flex-start; margin-bottom: 10px; }
html[data-theme="bloom"] .bm-blx-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 0 12px 0 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: left; }
html[data-theme="bloom"] .bm-blx-stat-num { font-size: 28px; line-height: 1; font-weight: 900; color: var(--bl-pink); }
html[data-theme="bloom"] .bm-blx-stat-label { font-size: 8px; font-weight: 900; letter-spacing: .6px; color: rgba(26,26,26,.65); white-space: nowrap; }
html[data-theme="bloom"] .bm-blx-stat-sep { flex: none; width: 1px; height: 38px; background: var(--bl-div); margin-right: 12px; }

/* anthem + edit */
html[data-theme="bloom"] .bm-blx-anthem { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; min-width: 0; }
html[data-theme="bloom"] .bm-blx-anthem-btn { flex: none; padding: 9px 14px; border: 0; border-radius: 0; background: var(--bl-pink); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: 1.5px; cursor: pointer; white-space: nowrap; }
html[data-theme="bloom"] .bm-blx-anthem-btn:hover { background: #C0296A; }
html[data-theme="bloom"] .bm-blx-anthem-title { min-width: 0; font-size: 11px; font-style: italic; color: rgba(26,26,26,.6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-theme="bloom"] .bm-blx-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
html[data-theme="bloom"] .bm-blx-edit { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid rgba(26,26,26,.25); border-radius: 0; background: transparent; color: var(--bl-ink);
  font-size: 9px; font-weight: 900; letter-spacing: 1.5px; cursor: pointer; white-space: nowrap; }
html[data-theme="bloom"] .bm-blx-edit:hover { border-color: var(--bl-pink); color: var(--bl-pink); }
html[data-theme="bloom"] .bm-blx .bm-par-share { width: 32px; height: 32px; margin-left: 0; border-radius: 0; border: 1px solid rgba(26,26,26,.25); color: var(--bl-ink); opacity: 1; }

/* photo: pink ring + soft glow, block number under it */
html[data-theme="bloom"] .bm-blx-avatar { position: relative; width: var(--bl-photo); height: var(--bl-photo); padding: 0; border: 0; border-radius: 50%; background: #E0E0E0; cursor: pointer; overflow: visible; }
html[data-theme="bloom"] .bm-blx-avatar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--bl-pink); box-shadow: 0 0 14px rgba(214,51,122,.22); pointer-events: none; }
html[data-theme="bloom"] .bm-blx-avatar-media, html[data-theme="bloom"] .bm-blx-avatar-empty { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%;
  background: #E0E0E0 center / cover no-repeat; object-fit: cover; font-size: 40px; }
html[data-theme="bloom"] .bm-blx-num { font-size: 9px; font-weight: 900; letter-spacing: 2px; color: rgba(26,26,26,.35); }

/* -- tab strip (ProfilePagerView, light palette) ------------------------------------------ */
html[data-theme="bloom"] .bm-blx-tabs.bm-subtab-nav { position: sticky; top: 0; z-index: 20; margin: 0; padding: 0 8px; display: flex; gap: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
  background: var(--bl-bg); border-bottom: 1px solid var(--bl-div); box-shadow: none; }
html[data-theme="bloom"] .bm-blx-tabs::-webkit-scrollbar { display: none; }
html[data-theme="bloom"] .bm-blx-tab.bm-subtab { flex: none; padding: 14px 14px 11px; font-size: 11px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bl-faint);
  background: transparent; border: 0; border-bottom: 3px solid transparent; border-radius: 0; cursor: pointer; white-space: nowrap; }
html[data-theme="bloom"] .bm-blx-tab.bm-subtab:hover { color: var(--bl-ink); }
html[data-theme="bloom"] .bm-blx-tab.bm-subtab.active { color: var(--bl-pink); border-bottom-color: var(--bl-pink); }
html[data-theme="bloom"] .bm-blx-tabpage { padding: 16px 16px 24px; min-height: 240px; }

/* -- footer (light) --------------------------------------------------------------------------- */
html[data-theme="bloom"] .bm-blx-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px; border-top: 1px solid var(--bl-div); }
html[data-theme="bloom"] .bm-blx-footer-name { min-width: 0; font-family: "New York", Georgia, serif; font-style: italic; font-size: 24px; color: var(--bl-pink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-theme="bloom"] .bm-blx-signout { flex: none; padding: 8px 16px; border: 1px solid var(--bl-div); border-radius: 0; background: transparent; color: rgba(26,26,26,.55); font-size: 11px; cursor: pointer; }

/* -- visitor read-only tabs ------------------------------------------------------------------- */
html[data-theme="bloom"] .bm-blx .bm-par-tab-empty { padding: 28px 8px; text-align: center; font-size: 13px; font-style: italic; color: var(--bl-faint); }
html[data-theme="bloom"] .bm-blx .bm-par-tab-pad { padding: 4px 4px 8px; }
html[data-theme="bloom"] .bm-blx .bm-par-posts { display: flex; flex-direction: column; gap: 12px; }
html[data-theme="bloom"] .bm-blx .bm-par-post { background: var(--bl-card); padding: 14px 16px; border-radius: 14px; }
html[data-theme="bloom"] .bm-blx .bm-par-post-time { font-size: 9px; font-weight: 900; letter-spacing: 1.5px; color: var(--bl-faint); text-transform: uppercase; }
html[data-theme="bloom"] .bm-blx .bm-par-post-text { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--bl-ink); white-space: pre-wrap; overflow-wrap: anywhere; }
html[data-theme="bloom"] .bm-blx .bm-par-post-media { margin-top: 10px; aspect-ratio: 4 / 3; max-height: 420px; border-radius: 10px; background: #eee center / cover no-repeat; }
html[data-theme="bloom"] .bm-blx .bm-par-people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; padding: 4px 4px 8px; }
html[data-theme="bloom"] .bm-blx .bm-par-person { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: none; color: var(--bl-muted); cursor: pointer; min-width: 0; }
html[data-theme="bloom"] .bm-blx .bm-par-person-av { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--bl-card) center / cover no-repeat; border: 2px solid rgba(214,51,122,.3); font-size: 22px; }
html[data-theme="bloom"] .bm-blx .bm-par-person-name { max-width: 100%; font-size: 11px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-theme="bloom"] .bm-blx .bm-par-note { margin: 0 0 10px; font-size: 12px; color: var(--bl-muted); }
html[data-theme="bloom"] .bm-blx .bm-par-input { box-sizing: border-box; width: 100%; padding: 10px 12px; border: 1px solid var(--bl-div); border-radius: 14px; background: var(--bl-card); color: var(--bl-ink); font: 14px/1.4 Inter, system-ui, sans-serif; resize: vertical; }
html[data-theme="bloom"] .bm-blx .bm-par-check { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--bl-muted); }
html[data-theme="bloom"] .bm-blx .bm-par-send { margin-top: 10px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--bl-pink); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; }
html[data-theme="bloom"] .bm-blx .bm-par-send:disabled { opacity: .45; cursor: default; }
html[data-theme="bloom"] .bm-blx .bm-par-gb { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
html[data-theme="bloom"] .bm-blx .bm-par-gb-entry { background: var(--bl-card); padding: 14px; border-left: 3px solid var(--bl-pink); }
html[data-theme="bloom"] .bm-blx .bm-par-gb-entry::before { content: "★★★★★"; display: block; font-size: 12px; letter-spacing: 2px; color: var(--bl-pink); margin-bottom: 8px; }
html[data-theme="bloom"] .bm-blx .bm-par-gb-msg { font-size: 12px; font-style: italic; line-height: 1.5; color: var(--bl-muted); overflow-wrap: anywhere; }
html[data-theme="bloom"] .bm-blx .bm-par-gb-by { margin-top: 8px; font-size: 9px; font-weight: 900; letter-spacing: 1px; color: var(--bl-pink); }

/* -- responsive: phones fill the width; regular-width canvases cap + centre (AdaptiveLayout) -- */
@container (min-width: 900px) {
  html[data-theme="bloom"] .bm-blx { max-width: none; margin-inline: auto; --bl-photo: 148px; }
  html[data-theme="bloom"] .bm-blx-name { font-size: 40px; }
}
@container (max-width: 420px) {
  html[data-theme="bloom"] .bm-blx { --bl-photo: 104px; }
  html[data-theme="bloom"] .bm-blx-left { padding: 14px 12px 14px 16px; }
  html[data-theme="bloom"] .bm-blx-right { padding: 14px 14px 14px 0; align-self: flex-start; }
  html[data-theme="bloom"] .bm-blx-name { font-size: 28px; }
  html[data-theme="bloom"] .bm-blx-stat-num { font-size: 22px; }
  html[data-theme="bloom"] .bm-blx-stat { padding-right: 8px; }
  html[data-theme="bloom"] .bm-blx-stat-sep { margin-right: 8px; }
  html[data-theme="bloom"] .bm-blx .bm-par-gb { grid-template-columns: 1fr; }
}
@container (max-width: 340px) {
  html[data-theme="bloom"] .bm-blx { --bl-photo: 88px; }
}
html.bm-tv[data-theme="bloom"] .bm-blx :is(button, [role="button"], a):focus-visible { outline-width: 3px; outline-offset: 3px; }
/* /PARITY bloom */
