/* Me → My circle: the card on Me (this month's hive + Circle · Meetups doors) and the My circle
   page (js/profile/my-circle.js). */
.main-me-page .main-me-circle-card { margin-top: 12px; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #ecebe6, 0 2px 8px rgb(0 0 0 / .04); }
.main-me-hive:empty { display: none; }
.me-hive-card { width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.me-hive-mini { flex: none; width: 76px; }
.me-hive-copy { flex: 1; min-width: 0; display: grid; gap: 2px; }
.me-hive-copy strong { font-size: 17px; font-weight: 650; }
.me-hive-sub { color: #6c6d67; font-size: 13.5px; }
.me-hive-sub.is-gold, .is-gold { color: #b8860b; font-weight: 700; }
.me-hive-chev { flex: none; width: 18px; height: 18px; color: #b0b1aa; }
.main-me-page .main-me-doors { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #f0f0ec; }
.main-me-page .main-me-door { min-width: 0; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.main-me-page .main-me-door + .main-me-door { border-left: 1px solid #f0f0ec; }
.main-me-page .main-me-door .main-me-place-mark, .main-me-page .main-me-door .main-me-place-mark svg { width: 28px; height: 28px; }
.main-me-door-copy { flex: 1; min-width: 0; display: grid; }
.main-me-door-copy strong { font-size: 14.5px; font-weight: 600; }
.main-me-door-copy small { overflow: hidden; color: #6c6d67; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }

/* The hive: you and six cells, placed by percentage so the same drawing fits the card and the page. */
.hive { position: relative; width: 100%; container-type: inline-size; }
.hive-cell { position: absolute; width: var(--cell-w); height: var(--cell-h); padding: 0; border: 0; background: none; transform: translate(-50%, -50%); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); -webkit-tap-highlight-color: transparent; }
button.hive-cell { cursor: pointer; }
.hive-face { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: var(--hive-c, #d9e5df) center / cover no-repeat; color: #fff; font-weight: 700; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.hive-photo { background-color: #e9eae6; }
/* A new friend this month: their face inside a dashed coral edge (meet them for real). */
.hive-cell.is-friend { background: repeating-conic-gradient(from 0deg, #f7a593 0 10deg, transparent 10deg 20deg); }
.hive-cell.is-friend .hive-face { inset: 7%; }
.hive-cell.is-friend .avatar-initials-glyph { font-size: 9cqw; }
.hive.is-mini .hive-cell.is-friend .avatar-initials-glyph { display: none; }
.hive-who { position: absolute; right: 17%; bottom: 13%; width: 24%; aspect-ratio: 1; border: 1.5px solid #fff; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #d9e5df center / cover no-repeat; color: #2f5a46; font-weight: 700; }
.hive-cell.is-empty { background: rgb(0 0 0 / .03); }
.hive-cell.is-empty svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hive-cell.is-empty polygon { fill: none; stroke: #d6d8d3; stroke-width: 1.5; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.hive-plus { position: absolute; inset: 0; display: grid; place-items: center; color: #b9bbb5; font-size: 9cqw; }
.hive.is-mini .hive-face { font-size: 0; }
.hive.is-mini .avatar-initials-glyph { display: none; }

/* The page */
.hive-page .us-scroll { padding-bottom: 90px; }
.hive-month { margin: 2px 0 10px; text-align: center; }
.hive-month small { color: #8a8d8a; font-size: 12px; font-weight: 750; letter-spacing: .06em; }
.hive-month h2 { margin: 2px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -.4px; }
.hive-of { color: #9a9d9a; font-weight: 600; }
.hive-month p { margin: 2px 0 0; color: #6c6d67; font-size: 13.5px; }
.hive-big { position: relative; width: min(240px, 72%); margin: 0 auto; }
.hive-big.is-full::before { content: ""; position: absolute; inset: -6% -12%; border-radius: 50%; background: radial-gradient(circle, rgb(247 199 75 / .45), transparent 65%); animation: hive-glow 2.4s ease-in-out infinite; }
@keyframes hive-glow { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .hive-big.is-full::before { animation: none; } }
.hive-six { margin: 8px 0 0; text-align: center; }
.hive-six span { display: inline-block; padding: 6px 12px; border-radius: 99px; background: #fff6d8; color: #8a6400; font-size: 13px; font-weight: 700; }
.hive-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 4px; }
.hive-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px #e6e7e3; color: inherit; font: inherit; font-size: 13.5px; font-weight: 650; cursor: pointer; }
.hive-pill small { color: #8a8d8a; font-size: 12px; font-weight: 600; }
.hive-lbl { margin: 18px 2px 8px; color: #8a8d8a; font-size: 12px; font-weight: 750; letter-spacing: .05em; }
.hive-pasts { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.hive-pasts::-webkit-scrollbar { display: none; }
.hive-past { flex: none; width: 70px; display: grid; justify-items: center; gap: 2px; padding: 6px 4px; border: 0; border-radius: 14px; background: none; color: #4a4d4a; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.hive-past .hive { width: 54px; }
.hive-past small { color: #8a8d8a; font-size: 11px; font-weight: 600; }
.hive-past.is-full small { color: #b8860b; }
.hive-past.is-on { background: #fff; box-shadow: 0 0 0 1px #e6e7e3; }
.hive-next { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 18px; background: #fff3ee; }
.hive-next-face { --avatar-box: 36px; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #d9e5df center / cover no-repeat; color: #2f5a46; font-weight: 700; }
.hive-next > span:not(.hive-next-face) { flex: 1; min-width: 0; color: #8a3d22; font-size: 14px; font-weight: 650; }
.hive-next small { display: block; color: #b06b52; font-size: 12.5px; font-weight: 500; }
.hive-next button { flex: none; padding: 8px 12px; border: 0; border-radius: 99px; background: #171717; color: #fff; font-size: 14px; cursor: pointer; }
.hive-tl-month { margin: 20px 2px 8px; color: #8a8d8a; font-size: 12px; font-weight: 750; letter-spacing: .05em; }
.hive-tl { position: relative; display: grid; gap: 10px; padding-left: 22px; }
.hive-tl::before { content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: linear-gradient(#f7a593, #f7c74b, #61c8e6, #468093); opacity: .5; }
.hive-tl > * { position: relative; }
.hive-tl > *::before { content: ""; position: absolute; left: -19px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: #9fd3c4; box-shadow: 0 0 0 3px #f2f2f7; }
.hive-tl > .hive-tl-pic::before { background: #f7a593; }
.hive-tl-pic { display: block; width: 100%; padding: 0; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #ecebe6; color: inherit; font: inherit; text-align: left; cursor: pointer; overflow: visible; }
.hive-tl-pic img { display: block; width: 100%; height: 170px; border-radius: 20px 20px 0 0; object-fit: cover; background: #e9eae6; }
.hive-tl-pic > span { display: block; padding: 10px 12px; font-size: 14.5px; }
.hive-tl-pic small, .hive-tl-line small { display: block; color: #6c6d67; font-size: 12.5px; font-weight: 500; }
.hive-tl-line { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #ecebe6; font-size: 14px; }
.hive-tl-face { --avatar-box: 32px; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #d9e5df center / cover no-repeat; color: #2f5a46; font-weight: 700; }
.hive-new { position: absolute; right: 16px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 3; padding: 12px 16px; border: 0; border-radius: 99px; background: #171717; color: #fff; font: inherit; font-size: 14px; font-weight: 700; box-shadow: 0 10px 24px rgb(0 0 0 / .25); cursor: pointer; }
.hive-photo-page .us-scroll { text-align: center; }
.hive-photo-big { display: block; width: 100%; max-height: 62vh; border-radius: 22px; object-fit: cover; background: #e9eae6; }
.hive-photo-page h2 { margin: 14px 0 2px; font-size: 21px; letter-spacing: -.3px; }
.hive-photo-page p { margin: 0; color: #6c6d67; font-size: 13.5px; }
.hive-add { width: 100%; height: 46px; margin-top: 18px; border: 0; border-radius: 99px; background: #171717; color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }

html:is(.is-dark, [data-profile-theme="dark"]) .main-me-page .main-me-circle-card { background: #27272a; box-shadow: none; color: #f4f4f5; }
html:is(.is-dark, [data-profile-theme="dark"]) :is(.me-hive-sub, .main-me-door-copy small) { color: #a1a1aa; }
html:is(.is-dark, [data-profile-theme="dark"]) :is(.main-me-page .main-me-doors, .main-me-page .main-me-door + .main-me-door) { border-color: #3a3a3f; }
html:is(.is-dark, [data-profile-theme="dark"]) .hive-cell.is-empty polygon { stroke: rgb(255 255 255 / .22); }
html:is(.is-dark, [data-profile-theme="dark"]) :is(.hive-pill, .hive-tl-pic, .hive-tl-line) { background: #1b1e24; box-shadow: 0 0 0 1px #2e323a; color: #f4f4f5; }
html:is(.is-dark, [data-profile-theme="dark"]) .hive-past.is-on { background: #1b1e24; box-shadow: 0 0 0 1px #2e323a; }
html:is(.is-dark, [data-profile-theme="dark"]) .hive-next { background: rgb(247 165 147 / .12); }
html:is(.is-dark, [data-profile-theme="dark"]) .hive-next > span:not(.hive-next-face) { color: #f7b9a8; }
html:is(.is-dark, [data-profile-theme="dark"]) :is(.hive-new, .hive-add, .hive-next button) { background: #f2f3f5; color: #111; }

/* Picture link: post one (js/profile/picture-post.js). */
.picpost-page .us-scroll { padding-bottom: 40px; }
.picpost-photo { height: 240px; border-radius: 22px; overflow: hidden; background: #e9eae6; }
.picpost-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.picpost-lbl { margin: 16px 2px 8px; color: #8a8d8a; font-size: 12px; font-weight: 750; letter-spacing: .04em; }
.picpost-who { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; }
.picpost-who::-webkit-scrollbar { display: none; }
.picpost-who button { flex: none; width: 60px; display: grid; justify-items: center; gap: 5px; padding: 0; border: 0; background: none; color: #4a4d4a; font: inherit; font-size: 11.5px; font-weight: 650; cursor: pointer; }
.picpost-who button span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picpost-face { --avatar-box: 52px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #d9e5df center / cover no-repeat; color: #2f5a46; font-weight: 700; transition: box-shadow .15s; }
.picpost-who button.is-on .picpost-face { box-shadow: 0 0 0 3px #f2f2f7, 0 0 0 5px #171717; }
.picpost-who button.is-on { color: #171717; }
.picpost-none { margin: 0 2px; color: #8a8d8a; font-size: 13.5px; }
.picpost-whats { display: flex; flex-wrap: wrap; gap: 6px; }
.picpost-whats button { padding: 7px 11px; border: 0; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px #e6e7e3; color: inherit; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.picpost-whats button.is-on { background: #171717; color: #fff; box-shadow: none; }
.picpost-field { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; padding: 12px 14px; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #e6e7e3; color: inherit; font: inherit; font-size: 16px; }
.picpost-send { width: 100%; height: 48px; margin-top: 16px; border: 0; border-radius: 99px; background: #171717; color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.picpost-send:disabled { opacity: .45; cursor: default; }
.picpost-fine { margin: 8px 6px 0; color: #8a8d8a; font-size: 12px; line-height: 1.4; text-align: center; }
html:is(.is-dark, [data-profile-theme="dark"]) :is(.picpost-whats button, .picpost-field) { background: #1b1e24; box-shadow: 0 0 0 1px #2e323a; color: #f4f4f5; }
html:is(.is-dark, [data-profile-theme="dark"]) .picpost-whats button.is-on { background: #f2f3f5; color: #111; }
html:is(.is-dark, [data-profile-theme="dark"]) .picpost-who button.is-on .picpost-face { box-shadow: 0 0 0 3px #111, 0 0 0 5px #f2f3f5; }
html:is(.is-dark, [data-profile-theme="dark"]) .picpost-send { background: #f2f3f5; color: #111; }

/* Someone new in your hive: a coral dot on Me, then a pop, sparkles and a cheer line (my-circle.js). */
.me-hive-dot { display: inline-block; width: 9px; height: 9px; margin-left: 6px; border-radius: 50%; background: #ec6a4c; box-shadow: 0 0 0 3px rgb(236 106 76 / .2); vertical-align: 2px; }
.me-hive-new { color: #c2603f; font-weight: 700; }
.hive-cell.is-pop { animation: hive-pop .7s cubic-bezier(.3, 1.7, .5, 1); }
@keyframes hive-pop { 0% { transform: translate(-50%, -50%) scale(.2); } }
.hive-big { position: relative; }
.hive-spark { position: absolute; z-index: 3; font-size: 18px; pointer-events: none; transform: translate(-50%, -50%); animation: hive-spark 1s ease-out forwards; }
@keyframes hive-spark { 0% { transform: translate(-50%, -50%) scale(.4); opacity: 1; } 100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.1); opacity: 0; } }
.hive-note { margin: 8px 0 0; text-align: center; color: #8a8d8a; font-size: 13px; }
.hive-cheer { width: max-content; max-width: 100%; margin: 10px auto 0; padding: 9px 16px; border-radius: 99px; background: #171717; color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 10px 24px rgb(0 0 0 / .2); animation: hive-cheer-in .35s ease-out; transition: opacity .4s; }
.hive-cheer.is-gone { opacity: 0; }
@keyframes hive-cheer-in { from { opacity: 0; transform: translateY(-8px); } }
.hive-confetti { position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; }
.hive-confetti i { position: absolute; top: -12px; width: 8px; height: 12px; border-radius: 2px; animation: hive-fall 2s linear forwards; }
@keyframes hive-fall { to { transform: translate(var(--dx), 110vh) rotate(540deg); } }
@media (prefers-reduced-motion: reduce) { .hive-cell.is-pop, .hive-cheer { animation: none; } }
html:is(.is-dark, [data-profile-theme="dark"]) .hive-cheer { background: #f2f3f5; color: #111; }
