/* Community (assets/js/community.js): a photo-first timeline. Big frames, quiet chrome, Price's posts marked in neon. */
.cmty { display: grid; grid-template-columns: minmax(0, 620px); justify-content: center; }
.cm-main { display: grid; gap: 18px; min-width: 0; }
.cm-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.cm-k { display: block; font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cm-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cm-tabs button { font-weight: 600; }

/* who: the round photo, Price's in a neon ring with his tick */
.cm-av { flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--bg-3); color: var(--ink-2); box-shadow: 0 0 0 2px var(--card); }
.cm-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-av b { font: 700 15px var(--f-body); }
.cm-av.price { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--neon); background: #0d0d0f; }
.cm-av.price img[src$="logo-solid.svg"] { width: 70%; height: auto; object-fit: contain; filter: drop-shadow(0 0 4px rgba(255, 42, 54, .55)); }
.cm-av.sm { width: 30px; height: 30px; } .cm-av.sm b { font-size: 12px; }
.cm-av.lg { width: 54px; height: 54px; } .cm-av.lg b { font-size: 20px; }
.cm-name { display: inline-flex; align-items: center; gap: 4px; font: 700 14.5px/1.2 var(--f-body); color: var(--ink); }
.cm-tick { display: inline-grid; width: 16px; height: 16px; color: var(--neon); font-style: normal; }
.cm-tick svg { width: 100%; height: 100%; }

/* the post */
.cm-post { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; position: relative; transition: box-shadow .3s; }
.cm-post.price { border-color: color-mix(in srgb, var(--neon) 45%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--neon) 25%, transparent), 0 18px 40px -24px rgba(255, 59, 48, .35); }
.cm-post.flash, .cm-compose.flash { animation: cm-flash 1.8s ease 1; }
@keyframes cm-flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 3px var(--neon); } }
.cm-pinned { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255, 59, 48, .08); font: 600 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--neon-ink); white-space: nowrap; }
.cm-pinned + .cmp-wrap { margin-left: 4px; }
:root[data-lights="off"] .cm-pinned { color: var(--neon); }
.cm-pinned svg { width: 14px; height: 14px; }
.cm-hd { display: flex; align-items: center; gap: 12px; padding: 14px 16px 12px 18px; }
.cm-who { display: grid; gap: 2px; min-width: 0; flex: 1; }
.cm-who > span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-who > span i { font-style: normal; color: var(--ink-2); }
.cmp-menu { all: unset; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.cmp-menu svg { width: 20px; height: 20px; }
.cmp-menu:hover, .cmp-menu:focus-visible { background: var(--bg-3); color: var(--ink); }
.cm-words { margin: 0; padding: 0 20px 14px; font: 500 17px/1.5 var(--f-body); color: var(--ink); white-space: pre-line; }

/* photos: a swipeable frame, the shape of the first photo */
.cm-media { position: relative; background: #0b0b0c; }
.cm-car { aspect-ratio: var(--ar, .8); }
.cm-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.cm-track::-webkit-scrollbar { display: none; }
.cm-track figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; }
.cm-track img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.cm-nav { all: unset; cursor: pointer; position: absolute; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: #111; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); opacity: 0; transition: opacity .2s; }
.cm-nav svg { width: 16px; height: 16px; }
.cm-nav.prev { left: 12px; } .cm-nav.next { right: 12px; }
.cm-car:hover .cm-nav, .cm-nav:focus-visible { opacity: 1; }
.cm-nav[hidden] { display: none; }
.cm-count { position: absolute; top: 12px; right: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(10, 7, 5, .6); color: #fff; font: 600 11.5px var(--f-mono); }
.cm-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.cm-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .5); transition: transform .2s, background .2s; }
.cm-dots i.on { background: #fff; transform: scale(1.2); }
.cm-burst { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; color: #fff; opacity: 0; pointer-events: none; filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .35)); }
.cm-burst svg { width: 100%; height: 100%; }
.cm-burst.go { animation: cm-burst .9s cubic-bezier(.2, .8, .2, 1) 1; }
@keyframes cm-burst { 0% { opacity: 0; transform: scale(.3); } 15% { opacity: 1; transform: scale(1.15); } 30% { transform: scale(.95); } 45% { transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: scale(1) translateY(-10px); } }

/* "Kayla booked a Maternity Shoot": the news on a photo of that kind of shoot */
.cm-booked { aspect-ratio: 16 / 11; overflow: hidden; display: grid; align-items: end; }
.cm-booked img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cm-booked::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 7, 5, .05) 30%, rgba(10, 7, 5, .82)); }
.cm-bk-in { position: relative; z-index: 1; display: grid; gap: 6px; padding: 22px 22px 20px; color: #fff; }
.cm-bk-in .cm-k { color: #ffb4ae; }
.cm-bk-in b { font: 800 clamp(24px, 3.4vw, 32px)/1.05 var(--f-display); font-variation-settings: 'wdth' 106; letter-spacing: -.01em; }
.cm-bk-in b i { font-family: var(--f-serif, Georgia, serif); font-style: italic; font-weight: 500; }
.cm-bk-in > span:last-child { font-size: 14px; color: rgba(255, 255, 255, .85); }
.cm-booked.prev { border-radius: 16px; }

/* the poll */
.cm-poll { display: grid; gap: 8px; padding: 0 18px 6px; }
.cm-opt { all: unset; box-sizing: border-box; cursor: pointer; position: relative; overflow: hidden; display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); font: 600 14.5px var(--f-body); color: var(--ink); }
.cm-opt::before { content: ''; position: absolute; inset: 0; width: var(--pc, 0%); background: var(--bg-3); transition: width .6s cubic-bezier(.2, .8, .2, 1); z-index: 0; }
.cm-opt > * { position: relative; z-index: 1; }
.cm-opt:hover { border-color: var(--ink-2); }
.cm-opt.mine { border-color: var(--neon); }
.cm-opt.mine::before { background: var(--neon-soft); }
.cm-poll small { color: var(--muted); font-size: 12.5px; }

/* heart, comment, idea, save */
.cm-acts { display: flex; align-items: center; gap: 4px; padding: 8px 10px 0; }
.cm-act { all: unset; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: transform .15s, color .15s; }
.cm-act svg { width: 25px; height: 25px; }
.cm-act:hover { color: var(--ink-2); } .cm-act:active { transform: scale(.86); }
.cm-act:focus-visible { outline: 2px solid var(--neon); outline-offset: -2px; }
.cm-act[data-cm-heart].on { color: var(--neon); }
.cm-loved { margin: 2px 0 0; padding: 0 18px; font-size: 14px; color: var(--ink); }
.cm-loved b { font-weight: 700; }
.cm-cap { margin: 6px 0 0; padding: 0 18px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.cm-cap .cm-name { margin-right: 4px; }
.cm-story { display: block; margin-top: 4px; color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }

/* comments */
.cm-coms { padding: 6px 18px 0; display: grid; gap: 4px; }
.cm-all { all: unset; cursor: pointer; font-size: 14px; color: var(--muted); justify-self: start; }
.cm-all:hover { color: var(--ink); }
.cm-clist { display: grid; gap: 6px; }
.cm-c { position: relative; margin: 0; padding-right: 26px; font-size: 14.5px; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.cm-c .cm-name { margin-right: 4px; font-size: 14px; }
.cm-c time { margin-left: 8px; font-size: 12px; color: var(--muted); }
.cm-cx { all: unset; cursor: pointer; position: absolute; right: 0; top: 2px; width: 20px; height: 20px; display: grid; place-items: center; color: var(--muted); opacity: 0; transition: opacity .15s; }
.cm-cx svg { width: 13px; height: 13px; }
.cm-c:hover .cm-cx, .cm-cx:focus-visible { opacity: 1; }
@media (hover: none) { .cm-cx { opacity: .6; } }
.cm-cf { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 14px 12px 18px; border-top: 1px solid var(--line); }
.cm-cf input { flex: 1; min-width: 0; border: 0; background: none; font: 400 14.5px var(--f-body); color: var(--ink); padding: 8px 0; outline: none; }
.cm-cf input::placeholder { color: var(--muted); }
.cm-send { all: unset; cursor: pointer; font: 700 14px var(--f-body); color: var(--neon-ink); padding: 6px 4px; }
:root[data-lights="off"] .cm-send { color: var(--neon); }
.cm-send:disabled { opacity: .35; cursor: default; }

/* Price's composer, and what a client can share */
.cm-compose, .cm-share { display: grid; gap: 12px; }
.cm-c-top { display: flex; gap: 12px; align-items: flex-start; }
.cm-c-top textarea { flex: 1; min-width: 0; resize: vertical; min-height: 48px; border: 0; background: var(--bg-3); border-radius: 14px; padding: 12px 14px; font: 400 15px/1.45 var(--f-body); color: var(--ink); }
.cm-c-top textarea:focus { outline: 2px solid var(--neon); }
.cm-c-top > div { display: grid; gap: 3px; } .cm-c-top > div b { font-size: 15px; } .cm-c-top > div span { color: var(--muted); font-size: 13.5px; }
.cm-c-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cm-c-acts .sp { flex: 1; }
.cm-chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--ink); font: 600 13.5px var(--f-body); cursor: pointer; text-decoration: none; }
.cm-chip svg { width: 16px; height: 16px; }
.cm-chip:hover, .cm-chip[aria-pressed="true"] { background: var(--bg-3); border-color: var(--ink-2); }
.cm-chip input { accent-color: var(--neon); margin: 0; }
.cm-poll-in { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cm-poll-in input { height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); padding: 0 12px; font: 400 14px var(--f-body); color: var(--ink); }
.cm-poll-in[hidden] { display: none; }

.cm-caught { display: flex; align-items: center; gap: 12px; color: var(--muted); font: 600 11.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.cm-caught::before, .cm-caught::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.cm-foot { display: grid; justify-items: center; }
.cm-end { margin: 0; color: var(--muted); font-size: 13px; }
.cm-empty { display: grid; gap: 6px; justify-items: center; padding: 48px 24px; text-align: center; background: var(--card); border: 1px dashed var(--line-2); border-radius: 22px; }
.cm-empty b { font: 800 22px var(--f-display); font-variation-settings: 'wdth' 106; } .cm-empty span { color: var(--muted); font-size: 14px; }
.cm-err { padding: 24px; color: var(--bad); }
.cm-sk .cm-hd { gap: 12px; } .sk-l { width: 40%; height: 12px; border-radius: 6px; background: var(--bg-3); }
.cm-media.sk { aspect-ratio: .8; background: linear-gradient(90deg, var(--bg-3), var(--line), var(--bg-3)); background-size: 200% 100%; animation: cm-sh 1.2s linear infinite; }
@keyframes cm-sh { to { background-position: -200% 0; } }

/* the door: email confirmed, then a profile photo */
.cm-gate { position: relative; overflow: hidden; border-radius: 26px; min-height: 460px; display: grid; place-items: center; padding: 28px 16px; background: #0b0b0c; }
.cm-gate-wall { position: absolute; inset: -20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; filter: blur(14px) saturate(1.1); opacity: .55; transform: scale(1.05); }
.cm-gate-wall img { width: 100%; height: 100%; object-fit: cover; }
.cm-gate-card { position: relative; width: min(100%, 460px); display: grid; gap: 14px; padding: 28px; border-radius: 22px; background: var(--card); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55); }
.cm-gate-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--neon-btn); color: #fff; }
.cm-gate-ic svg { width: 24px; height: 24px; }
.cm-gate-card h3 { margin: 0; font: 800 26px/1.1 var(--f-display); font-variation-settings: 'wdth' 106; }
.cm-gate-card > p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.cm-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.cm-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); }
.cm-steps li > span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); font: 700 13px var(--f-body); color: var(--ink-2); }
.cm-steps li > span svg { width: 16px; height: 16px; }
.cm-steps li.done > span { background: var(--ok); color: #fff; }
.cm-steps li > div { display: grid; gap: 2px; } .cm-steps small { color: var(--muted); font-size: 13px; }

/* "Post to community" on the booking page and the profile */
.cm-bk-cta { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 16px 0 4px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(0deg, var(--neon-soft), var(--neon-soft)), var(--card); border: 1px solid color-mix(in srgb, var(--neon) 30%, var(--line)); }
.cm-bk-cta > span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--neon-btn); color: #fff; }
.cm-bk-cta > span svg { width: 19px; height: 19px; }
.cm-bk-cta > div { display: grid; gap: 2px; } .cm-bk-cta small { color: var(--muted); font-size: 13px; }
.cm-posted { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 4px; color: var(--ok); font: 600 14px var(--f-body); text-decoration: none; }
.cm-posted svg { width: 17px; height: 17px; }
@media (max-width: 520px) { .cm-bk-cta { grid-template-columns: 38px minmax(0, 1fr); } .cm-bk-cta .btn { grid-column: 1 / -1; justify-content: center; } }

/* the share window */
.cm-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: cm-fade .2s both; }
@keyframes cm-fade { from { opacity: 0; } }
.cm-sheet { width: min(100%, 560px); max-height: calc(100svh - 32px); overflow: auto; background: var(--card); color: var(--ink); border-radius: 22px; box-shadow: var(--lift-shadow); }
.cm-sh-hd { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 20px 20px 4px 22px; }
.cm-sh-hd h3 { margin: 0; font: 800 22px/1.15 var(--f-display); font-variation-settings: 'wdth' 106; }
.cm-sh-hd p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.cm-sh-bd { display: grid; gap: 14px; padding: 14px 22px 22px; }
.cm-sh-bd textarea { width: 100%; box-sizing: border-box; resize: vertical; border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 14px; font: 400 15px/1.45 var(--f-body); background: var(--card); color: var(--ink); }
.cm-sh-acts { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.cm-sh-acts .muted { margin-right: auto; font-size: 13.5px; }
.cm-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cm-pick button { all: unset; cursor: pointer; position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; outline-offset: 2px; }
.cm-pick img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.cm-pick i { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .85); color: transparent; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .25); }
.cm-pick i svg { width: 14px; height: 14px; }
.cm-pick button[aria-pressed="true"] { outline: 3px solid var(--neon); }
.cm-pick button[aria-pressed="true"] i { background: var(--neon-btn); color: #fff; box-shadow: none; }
.cm-pick button[aria-pressed="true"] img { transform: scale(.94); }
.cm-pick-g { display: grid; gap: 8px; padding: 12px 22px 22px; }
.cm-pick-g button { all: unset; cursor: pointer; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; border: 1px solid var(--line); }
.cm-pick-g button:hover { border-color: var(--ink); }
.cm-pick-g img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.cm-pick-g span { color: var(--muted); font-size: 13px; }

@media (max-width: 640px) {
  .cm-post { border-radius: 18px; margin: 0 -4px; }
  .cm-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cm-poll-in { grid-template-columns: 1fr; }
}

/* breathing room: one post at a time, never two cards touching */
.cm-feed { display: grid; gap: 26px; }
.cm-main { gap: 22px; }
.cm-hd { padding: 16px 18px 14px 20px; }
.cm-words { padding: 2px 22px 16px; }
.cm-poll { gap: 10px; padding: 0 20px 8px; }
.cm-acts { padding: 10px 12px 2px; }
.cm-loved, .cm-cap, .cm-coms { padding-left: 20px; padding-right: 20px; }
.cm-cap { margin-top: 8px; }
.cm-coms { padding-top: 8px; gap: 6px; }
.cm-clist { gap: 8px; }
.cm-cf { margin-top: 14px; padding: 12px 16px 14px 20px; }
.cm-compose, .cm-share { gap: 14px; padding: 18px 20px; }
.cm-card { padding: 18px 20px; }
.cm-caught { margin: 4px 0; }
@media (max-width: 640px) {
  .cm-feed { gap: 18px; }
  .cm-hd { padding: 14px 14px 12px 16px; }
  .cm-words, .cm-loved, .cm-cap, .cm-coms, .cm-poll { padding-left: 16px; padding-right: 16px; }
  .cm-cf { padding: 10px 12px 12px 16px; }
}

/* the header: Price's work as the cover, the faces of the community */
.cm-hero { position: relative; overflow: hidden; border-radius: 24px; min-height: 210px; display: grid; align-items: end; background: #0b0b0c; color: #fff; }
.cm-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cm-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 7, 5, .1) 20%, rgba(10, 7, 5, .85)); }
.cm-hero-in { position: relative; z-index: 1; display: grid; gap: 10px; padding: 26px 26px 22px; }
.cm-hero .cm-k { color: #ffb4ae; }
.cm-hero h2 { margin: 0; font: 800 clamp(26px, 3.6vw, 36px)/1.02 var(--f-display); font-variation-settings: 'wdth' 106; letter-spacing: -.01em; }
.cm-hero h2 i { font-family: var(--f-serif, Georgia, serif); font-weight: 500; }
.cm-faces { display: flex; align-items: center; gap: 0; }
.cm-faces .cm-av { margin-left: -8px; box-shadow: 0 0 0 2px #0b0b0c; } .cm-faces .cm-av:first-child { margin-left: 0; }
.cm-faces .cm-av.price { box-shadow: 0 0 0 2px #0b0b0c, 0 0 0 3.5px var(--neon); }
.cm-faces span { margin-left: 12px; font-size: 13.5px; color: rgba(255, 255, 255, .88); }
@media (max-width: 640px) { .cm-hero { min-height: 180px; border-radius: 18px; } .cm-hero-in { padding: 20px 18px 18px; } }

/* reactions: the heart, and the six others in a bubble above it */
.cm-rx { position: relative; display: inline-flex; }
.cm-emo { font-size: 24px; line-height: 1; }
.cm-picker { position: absolute; left: -6px; bottom: calc(100% + 6px); z-index: 5; display: flex; gap: 2px; padding: 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .28);
  opacity: 0; transform: translateY(6px) scale(.9); transform-origin: left bottom; pointer-events: none; transition: opacity .18s, transform .22s cubic-bezier(.2, .9, .3, 1.3); }
.cm-rx.open .cm-picker { opacity: 1; transform: none; pointer-events: auto; }
.cm-picker button { all: unset; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; font-size: 26px; border-radius: 50%; transition: transform .15s; }
.cm-picker button:hover, .cm-picker button:focus-visible { transform: translateY(-4px) scale(1.25); }
.cm-picker button.on { background: var(--bg-3); }
.cm-rx.open .cm-picker button { animation: cm-in .3s cubic-bezier(.2, .9, .3, 1.4) both; }
.cm-rx.open .cm-picker button:nth-child(2) { animation-delay: .03s; } .cm-rx.open .cm-picker button:nth-child(3) { animation-delay: .06s; }
.cm-rx.open .cm-picker button:nth-child(4) { animation-delay: .09s; } .cm-rx.open .cm-picker button:nth-child(5) { animation-delay: .12s; } .cm-rx.open .cm-picker button:nth-child(6) { animation-delay: .15s; }
@keyframes cm-in { from { opacity: 0; transform: translateY(10px) scale(.5); } }
.cm-tops { display: inline-flex; margin-right: 6px; font-size: 15px; letter-spacing: -3px; vertical-align: -1px; }
.cm-tops + * { margin-left: 2px; }
@media (max-width: 640px) { .cm-picker button { width: 38px; height: 38px; font-size: 24px; } }
/* "2 new posts": sticks under the header while they scroll, like the apps */
.cm-newpill { position: sticky; top: calc(var(--head-h, 72px) + 14px); z-index: 6; justify-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--neon-btn); color: #fff; font: 700 14px var(--f-body); cursor: pointer; box-shadow: 0 10px 26px -8px rgba(255, 59, 48, .6); animation: cm-drop .35s cubic-bezier(.2, .9, .3, 1.3); }
.cm-newpill[hidden] { display: none; }
@keyframes cm-drop { from { opacity: 0; transform: translateY(-10px); } }
/* Price's photos for a post, before he posts it */
.cm-up { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px 52px; scrollbar-width: thin; }
.cm-up[hidden] { display: none; }
.cm-up-i { position: relative; flex: none; width: 92px; height: 92px; border-radius: 14px; overflow: hidden; background: var(--bg-3); }
.cm-up-i img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-up-i.wait img { opacity: .5; } .cm-up-i.wait::after { content: ''; position: absolute; inset: 0; margin: auto; width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid #fff; border-top-color: transparent; animation: cm-spin .8s linear infinite; }
@keyframes cm-spin { to { transform: rotate(360deg); } }
.cm-up-i button { all: unset; cursor: pointer; position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 7, 5, .7); color: #fff; }
.cm-up-i button svg { width: 12px; height: 12px; }
.cm-up-add { flex: none; width: 92px; height: 92px; border-radius: 14px; border: 1.5px dashed var(--line-2); display: grid; place-items: center; font: 300 34px var(--f-body); color: var(--muted); cursor: pointer; }
.cm-up-add:hover { border-color: var(--ink-2); color: var(--ink); }
@media (max-width: 640px) { .cm-up { padding-left: 0; } }

/* the emoji for a comment: a smiley left of Post opens them in a small popup above */
.cm-emo-wrap { position: relative; display: inline-flex; }
.cm-emo-btn { all: unset; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: color .15s, background .15s; }
.cm-emo-btn svg { width: 22px; height: 22px; }
.cm-emo-btn:hover, .cm-emo-btn:focus-visible, .cm-emo-wrap.open .cm-emo-btn { color: var(--ink); background: var(--bg-3); }
.cm-quick { position: absolute; right: -4px; bottom: calc(100% + 8px); z-index: 5; display: grid; grid-template-columns: repeat(4, 38px); gap: 2px; padding: 6px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .28);
  opacity: 0; transform: translateY(6px) scale(.95); transform-origin: right bottom; pointer-events: none; transition: opacity .15s, transform .2s cubic-bezier(.2, .9, .3, 1.3); }
.cm-emo-wrap.open .cm-quick { opacity: 1; transform: none; pointer-events: auto; }
.cm-quick button { all: unset; cursor: pointer; width: 38px; height: 38px; display: grid; place-items: center; font-size: 22px; border-radius: 10px; transition: transform .12s, background .12s; }
.cm-quick button:hover, .cm-quick button:focus-visible { background: var(--bg-3); transform: scale(1.12); }
.cm-cf .cm-send { margin-left: 2px; }

/* Price's camera mark */
.cmty .cm-tick, .cm-pp .cm-tick, .cm-view .cm-tick { width: 17px; height: 17px; color: var(--neon); filter: drop-shadow(0 0 3px rgba(255, 59, 48, .35)); }
/* names and photos open a profile */
.cm-name { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font: 700 14.5px/1.2 var(--f-body); color: var(--ink); }
.cm-name:hover { text-decoration: underline; text-underline-offset: 2px; }
.cm-name:focus-visible, .cm-avbtn:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; border-radius: 6px; }
.cm-avbtn { all: unset; cursor: pointer; display: inline-flex; border-radius: 50%; }
.cm-av.xs { width: 26px; height: 26px; } .cm-av.xs b { font-size: 11px; }
.cm-av.xl { width: 92px; height: 92px; } .cm-av.xl b { font-size: 34px; }
/* the post menu */
.cmp-wrap { position: relative; }
.cmp-pop { position: absolute; right: 0; top: calc(100% + 4px); z-index: 8; min-width: 220px; display: grid; padding: 6px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .3);
  opacity: 0; transform: translateY(-4px) scale(.97); transform-origin: top right; pointer-events: none; transition: opacity .15s, transform .18s; }
.cmp-wrap.open .cmp-pop { opacity: 1; transform: none; pointer-events: auto; }
.cmp-pop button { all: unset; cursor: pointer; padding: 11px 12px; border-radius: 10px; font: 600 14px var(--f-body); color: var(--ink); }
.cmp-pop button:hover, .cmp-pop button:focus-visible { background: var(--bg-3); }
.cmp-pop button.bad { color: var(--bad); }
.cmp-pop button.off { color: var(--muted); cursor: default; } .cmp-pop button.off:hover { background: none; }
.cm-post { overflow: visible; }
.cm-post > .cm-media { overflow: hidden; }
/* editing a post */
.cm-edit { display: grid; gap: 10px; padding: 4px 20px 14px; }
.cm-edit textarea { width: 100%; box-sizing: border-box; resize: vertical; border: 1.5px solid var(--neon); border-radius: 12px; padding: 12px 14px; font: 400 15px/1.45 var(--f-body); background: var(--card); color: var(--ink); }
.cm-edit-acts { display: flex; justify-content: flex-end; gap: 8px; }
/* comments: a photo, the words, then time, likes, Reply; replies sit under their comment */
.cm-clist { gap: 12px; }
.cm-c { display: grid; grid-template-columns: 26px minmax(0, 1fr) 24px; gap: 10px; align-items: start; padding-right: 0; }
.cm-c.reply { margin-left: 36px; }
.cm-c-in p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.cm-c-in .cm-name { margin-right: 4px; font-size: 14px; }
.cm-c-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 3px; font: 600 12px var(--f-body); color: var(--muted); }
.cm-c-meta button { all: unset; cursor: pointer; color: var(--muted); }
.cm-c-meta button:hover, .cm-c-meta button:focus-visible { color: var(--ink); }
.cm-clike { all: unset; cursor: pointer; width: 24px; height: 24px; display: grid; place-items: center; color: var(--muted); margin-top: 2px; }
.cm-clike svg { width: 14px; height: 14px; } .cm-clike.on { color: var(--neon); }
.cm-replying { display: flex; align-items: center; gap: 8px; margin: 10px 20px 0; padding: 8px 12px; border-radius: 10px; background: var(--bg-3); font-size: 13px; color: var(--ink-2); }
.cm-replying button { all: unset; cursor: pointer; margin-left: auto; width: 20px; height: 20px; display: grid; place-items: center; color: var(--muted); }
.cm-replying button svg { width: 12px; height: 12px; }
.cm-replying + .cm-cf { margin-top: 8px; }
/* polls: when they end */
.cm-opt:disabled { cursor: default; } .cm-opt:disabled:hover { border-color: var(--line-2); }
select.cm-chip { appearance: none; padding-right: 14px; }
select.cm-chip[hidden] { display: none; }
/* a photo full screen */
.cm-view { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: #0b0907; color: #fff; animation: cm-fade .2s both; }
.cm-v-top, .cm-v-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.cm-v-top > span:not(.sp):not(.cm-v-n) { display: grid; gap: 1px; } .cm-v-top small { font-size: 12px; color: rgba(255, 255, 255, .6); }
.cm-view .cm-name { color: #fff; }
.cm-v-top .sp { flex: 1; } .cm-v-n { font: 600 13px var(--f-mono); color: rgba(255, 255, 255, .7); }
.cm-v-x { all: unset; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
.cm-v-x svg { width: 20px; height: 20px; }
.cm-v-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; min-height: 0; }
.cm-v-track::-webkit-scrollbar { display: none; }
.cm-v-track figure { flex: 0 0 100%; margin: 0; display: grid; place-items: center; scroll-snap-align: center; padding: 0 12px; box-sizing: border-box; }
.cm-v-track img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; user-select: none; }
.cm-v-nav { all: unset; cursor: pointer; position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; }
.cm-v-nav svg { width: 22px; height: 22px; } .cm-v-nav.prev { left: 18px; } .cm-v-nav.next { right: 18px; } .cm-v-nav[hidden] { display: none; }
.cm-v-bar { justify-content: center; gap: 6px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.cm-v-act { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 999px; color: #fff; }
.cm-v-act svg { width: 26px; height: 26px; } .cm-v-act b { font-size: 14px; } .cm-v-act.on { color: var(--neon); }
.cm-v-loved { margin-left: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .8); } .cm-v-loved .muted { color: rgba(255, 255, 255, .5); }
@media (max-width: 640px) { .cm-v-nav { display: none; } .cm-v-track figure { padding: 0; } }
/* someone's little profile */
.cm-sheet.pp { width: min(100%, 460px); }
.cm-pp { position: relative; display: grid; justify-items: center; gap: 8px; padding: 30px 22px 24px; text-align: center; }
.cm-pp-x { position: absolute; top: 12px; right: 12px; }
.cm-pp h3 { margin: 6px 0 0; display: inline-flex; align-items: center; gap: 6px; font: 800 24px/1.1 var(--f-display); font-variation-settings: 'wdth' 106; }
.cm-pp > p { margin: 0; color: var(--muted); font-size: 14px; }
.cm-pp-grid { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 14px; border-radius: 14px; overflow: hidden; }
.cm-pp-grid button { all: unset; cursor: pointer; aspect-ratio: 1; overflow: hidden; }
.cm-pp-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; } .cm-pp-grid button:hover img { transform: scale(1.05); }
.cm-pp-empty { margin-top: 10px !important; }
/* the report window */
.cm-rep { gap: 10px; }
.cm-rep-o { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; font: 600 14.5px var(--f-body); }
.cm-rep-o:has(input:checked) { border-color: var(--ink); }
.cm-rep-o input { accent-color: var(--neon); }
/* on a phone the pin is just the icon, so the line under the name keeps its room */
@media (max-width: 640px) { .cm-pinned { width: 26px; padding: 0; justify-content: center; } .cm-pinned span { display: none; } }

/* @mention: the people list above the comment box, and a mention in a comment */
.cm-cf { position: relative; }
.cm-at-list { position: absolute; left: 50px; bottom: calc(100% - 4px); z-index: 6; min-width: 220px; display: grid; gap: 2px; padding: 6px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .25); }
.cm-at-list[hidden] { display: none; }
.cm-at-list button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; font: 600 14px var(--f-body); color: var(--ink); }
.cm-at-list button.on, .cm-at-list button:hover { background: var(--bg-3); }
.cm-at-list .cm-tick { width: 15px; height: 15px; }
.cm-at { all: unset; cursor: pointer; font-weight: 700; color: var(--neon-ink); }
:root[data-lights="off"] .cm-at { color: var(--neon); }
.cm-at:hover { text-decoration: underline; text-underline-offset: 2px; }
.cm-at:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; border-radius: 4px; }
/* the invitation to share a gallery that just came in */
.cm-ready { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: center; border-color: rgba(255, 59, 48, .35); }
.cm-ready > img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; }
.cm-ready b { display: block; font-size: 15px; } .cm-ready span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--muted); }
.cm-ready .cm-c-acts { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 520px) { .cm-ready { grid-template-columns: 56px minmax(0, 1fr); } .cm-ready > img { width: 56px; height: 56px; } }
/* on the gallery page: the photos just came in, so an invitation to show the favorites */
.cm-invite { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin: 18px 0 0; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid rgba(255, 59, 48, .35); box-shadow: 0 10px 30px -18px rgba(255, 59, 48, .5); }
.cm-invite-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 59, 48, .1); color: var(--neon); }
.cm-invite-ic svg { width: 22px; height: 22px; }
.cm-invite b { display: block; font-size: 15.5px; color: var(--ink); } .cm-invite span:not(.cm-invite-ic) { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.cm-invite-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .cm-invite { grid-template-columns: 40px minmax(0, 1fr); } .cm-invite-acts { grid-column: 1 / -1; justify-content: flex-start; } }

/* polls: the faces of who picked each answer, and who voted in a sheet */
.cm-opt-r { display: inline-flex; align-items: center; gap: 10px; }
.cm-voters { display: inline-flex; }
.cm-voters .cm-av { width: 22px; height: 22px; box-shadow: 0 0 0 2px var(--card); }
.cm-voters .cm-av + .cm-av { margin-left: -7px; }
.cm-votes-btn { all: unset; cursor: pointer; font-weight: 700; color: var(--ink-2); }
.cm-votes-btn:hover, .cm-votes-btn:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cm-vt { display: grid; gap: 18px; }
.cm-vt-o { display: grid; gap: 4px; }
.cm-vt-o > b { font-size: 14.5px; margin-bottom: 4px; } .cm-vt-o > b span { color: var(--muted); font-weight: 600; margin-left: 4px; }
.cm-vt-o .muted { margin: 0; font-size: 13.5px; }
.cm-vt-p { all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 10px; font: 600 14.5px var(--f-body); color: var(--ink); }
.cm-vt-p:hover, .cm-vt-p:focus-visible { background: var(--bg-3); }
.cm-vt-p .cm-tick { width: 16px; height: 16px; }

/* a new member: their photo big and one tap to say welcome */
.cm-welcome { display: grid; justify-items: center; gap: 8px; margin: 0 20px 4px; padding: 26px 20px 24px; border-radius: 18px; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 59, 48, .12), transparent 70%), var(--bg-3); }
.cm-welcome b { font: 800 22px/1.15 var(--f-display); font-variation-settings: 'wdth' 106; color: var(--ink); margin-top: 6px; }
.cm-welcome > span { font-size: 14px; color: var(--muted); }
.cm-welcome .btn { margin-top: 8px; }
.cm-welcome .cm-av.xl { box-shadow: 0 0 0 4px var(--card), 0 10px 26px -12px rgba(0, 0, 0, .45); }
/* the mini session on Price's post */
.cm-mini { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin: 4px 20px 6px; padding: 12px 14px; border-radius: 16px;
  border: 1px solid rgba(255, 59, 48, .35); background: var(--card); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
a.cm-mini:hover { border-color: var(--neon); transform: translateY(-1px); }
.cm-mini img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.cm-mini-in { display: grid; gap: 3px; min-width: 0; }
.cm-mini-in b { font-size: 15.5px; color: var(--ink); } .cm-mini-in > span:last-child { font-size: 13px; color: var(--muted); }
.cm-mini.full { opacity: .75; }
.cm-mini:not(:has(img)) { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 520px) { .cm-mini { grid-template-columns: 52px minmax(0, 1fr); } .cm-mini img { width: 52px; height: 52px; } .cm-mini .btn { grid-column: 1 / -1; justify-content: center; } }
/* Shoot ideas added from someone's photo */
.cm-act[data-cm-ref].on, .cm-act[data-cm-idea].on { color: var(--neon); }
select.cm-minisel[hidden] { display: none; }
/* nothing to say under the actions (only you reacted): no empty gap */
.cm-loved:empty { display: none; }
/* a tap that does something: the icon pops with a ring of neon when it turns on, and gives a small squeeze when it turns off;
   a new comment slides in; the answer picked in a poll pulses while the bars slide to the new results */
.cm-act, .cm-clike, .cm-v-act { position: relative; }
.fx-on { animation: cm-pop .45s cubic-bezier(.2, .9, .3, 1.4); }
.fx-on::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid var(--neon); pointer-events: none; animation: cm-ring .45s ease-out forwards; }
.cm-clike.fx-on::after { inset: 2px; border-width: 1.5px; }
.fx-tap { animation: cm-tap .3s ease; }
@keyframes cm-pop { 0% { transform: scale(1); } 25% { transform: scale(.7); } 60% { transform: scale(1.28); } 100% { transform: scale(1); } }
@keyframes cm-ring { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes cm-tap { 40% { transform: scale(.82); } }
.cm-c.fx-in { animation: cm-com .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes cm-com { from { opacity: 0; transform: translateY(8px); background: var(--neon-soft); } }
.cm-opt.fx-pick { animation: cm-pick .45s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes cm-pick { 35% { transform: scale(.97); } 70% { transform: scale(1.02); } }
.cm-opt-r.fx-show { animation: cm-fade .5s ease .15s both; }
@media (prefers-reduced-motion: reduce) {
  .fx-on, .fx-tap, .cm-c.fx-in, .cm-opt.fx-pick, .cm-opt-r.fx-show { animation: none; }
  .fx-on::after { display: none; }
  .cm-opt::before { transition: none; }
}
