/* Community room in the Eden layout, day and night (rewritten 22 Oct 2026, item 37).
   Emmanuel (two iPhone screenshots, 22 Oct): "This still looks weird & not formatted right. Look at the message section cut and
   the text bubble. Make it just like the example but just in our brand colours but make sure it aligns with the day & night
   weather they set." The example is Eden Community's "Monetization Help" channel.
   What it copies: a floating frosted top bar (round back button, a centred pill with the room icon, the room name and the
   community name under it, a round members button), a frosted pinned bar, filled bubbles with no outline, the sender's name in
   colour at the top of the bubble, a reply quote with a coloured bar, the time small and inline at the end of the last line,
   reactions as small emoji + count pills, an avatar only on the last message of a group and never on your own, a date pill,
   a round jump-to-latest button and a floating composer (round photo button, rounded field, round mic/send) that sits above
   the iPhone home indicator. Messages scroll under the top bar and the composer.
   Colours (item 43, 22 Oct: "Why do we have green in there? My branding color isn't green"): the app's own brand, the same as
   Home, the sheets and Misty: brand blues only, #0a84ff / #5aa9ff / #8fe7ff (Misty ice blue), with #1668dc / #0b5bbf as the deep
   blues white text needs. No teal, no mint, no violet. Night is a calm charcoal room (#111214-#1a1c20, faint stars), Day a creamy
   room (#fbf8f1-#f5f0e6). Your own bubble, send, badges: #1668dc -> #0b5bbf (white text, AA). Night keeps the dark
   room; Day (html[data-theme=light], set by the moon/sun button, the Appearance hour or the local weather) is a light room.
   Everything is a token on the pane, so a theme change restyles the open room live.
   Light on the phone: no bubble has its own blur. The room has two blurred strips in total (behind the top bar and behind the
   composer); the full-screen blur the room used to have is gone, its background is opaque.
   Scope: only the open room (html.cr-room / [data-room] on the pane). Selectors carry #cmPaneChat twice so they outrank the
   older community sheets (community-room.css, community-composer.css, liquid-glass.css) without a load-order race. */

/* 22 Oct evening (item 38, Emmanuel): the room no longer owns the screen. Chat wears the same shell as Room, Affiliates and
   Creation - the same Community header row (back, name pill, shield, moon, avatar) and the same tab bar in the same place, the page
   background around it, and the conversation inside one rounded box. The phone-only overrides that hid the header, re-styled the
   tab row and hid the day/night and profile buttons are gone; see "shell" below. */

/* ---- theme tokens: night (default) ---- */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room]{
  --cr-sab:var(--sab,0px);
  --cr-canvas:radial-gradient(120% 55% at 50% -12%,rgba(10,132,255,.16),transparent 60%),radial-gradient(80% 45% at 100% 105%,rgba(90,169,255,.08),transparent 70%),linear-gradient(180deg,#1a1c20,#151619 55%,#111214);
  --cr-canvas-c:#151619;
  --cr-text:#f1f3f6;--cr-sub:#a9b0bc;--cr-hair:rgba(255,255,255,.12);
  --cr-glass:rgba(40,42,48,.72);--cr-glass-solid:#25272c;--cr-strip:rgba(21,22,25,.93);
  --cr-bub:#25272c;--cr-bub-sh:none;
  --cr-mine-c:#1668dc;--cr-mine-g:linear-gradient(135deg,#1668dc,#0b5bbf);--cr-mine-text:#ffffff;--cr-mine-time:rgba(255,255,255,.94);
  --cr-time:rgba(226,234,255,.6);--cr-acc:#8fe7ff;--cr-acc-strong:#64d2ff;
  --cr-quote-bg:rgba(143,231,255,.1);--cr-quote-text:#cbd7ee;
  --cr-chip:rgba(255,255,255,.1);--cr-chip-on:rgba(90,169,255,.28);
  --cr-pill:rgba(40,42,48,.84);--cr-pill-text:#e2e6ec;
  --cr-field:rgba(40,42,48,.8);--cr-ph:#9aa1ad;--cr-ic:#eef1f5;
  --cr-send-c:#1668dc;--cr-send-g:linear-gradient(135deg,#1668dc,#0b5bbf);--cr-send-ic:#ffffff;
  --cr-float-sh:0 6px 22px -8px rgba(0,0,0,.65);
  --cr-top:12px}
/* ---- day: a light room in the same brand colours ---- */
html[data-theme=light] body #tab-foryou #cmPaneChat#cmPaneChat[data-room]{
  --cr-canvas:radial-gradient(120% 55% at 50% -12%,rgba(10,132,255,.09),transparent 60%),radial-gradient(80% 45% at 100% 105%,rgba(90,169,255,.08),transparent 70%),linear-gradient(180deg,#fbf8f1,#f8f4ec 55%,#f5f0e6);
  --cr-canvas-c:#f8f4ec;
  --cr-text:#1a1a1f;--cr-sub:#5c5a60;--cr-hair:rgba(40,32,20,.1);
  --cr-glass:rgba(255,253,248,.76);--cr-glass-solid:#fffdf8;--cr-strip:rgba(250,246,238,.93);
  --cr-bub:#fffdf8;--cr-bub-sh:0 1px 1.5px rgba(40,32,20,.1);
  --cr-mine-c:#1668dc;--cr-mine-g:linear-gradient(135deg,#1668dc,#0b5bbf);--cr-mine-text:#ffffff;--cr-mine-time:rgba(255,255,255,.94);
  --cr-time:#677087;--cr-acc:#0b5bbf;--cr-acc-strong:#0b5bbf;
  --cr-quote-bg:rgba(22,104,220,.08);--cr-quote-text:#3a465c;
  --cr-chip:rgba(15,23,42,.07);--cr-chip-on:rgba(22,104,220,.14);
  --cr-pill:rgba(255,253,248,.88);--cr-pill-text:#3d3b42;
  --cr-field:rgba(255,253,248,.9);--cr-ph:#706d74;--cr-ic:#25232a;
  --cr-send-c:#1668dc;--cr-send-g:linear-gradient(135deg,#1668dc,#0b5bbf);--cr-send-ic:#ffffff;
  --cr-float-sh:0 4px 16px -6px rgba(15,23,42,.2)}

/* 22 Oct (item 41): in a room the app is exactly as tall as what you can see (visual viewport, set by community-chat.js roomVV):
   above Safari's toolbar at rest, and right on top of the keyboard while typing, so the composer is never cut off or hidden. */
html.cr-room:has(#tab-foryou.active) #app{top:var(--cr-vv-top,0px)!important;bottom:auto!important;height:var(--cr-vv-h,100%)!important}
/* ---- shell (item 38): the pane keeps the padding it has on the other tabs; the room is the rounded box under the tab bar and the
   composer is the bottom of that same box (in the flow, so the keyboard only shortens the box) ---- */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cp-room.cg-room#cpRoom{flex:1 1 auto!important;min-height:0!important;margin:0!important;border:1px solid rgba(143,231,255,.3)!important;border-bottom:0!important;border-radius:28px 28px 0 0!important;overflow:hidden!important;width:100%!important;max-width:760px!important;box-shadow:none!important;background:var(--cr-canvas-c)!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cg-thread.cr-room[data-open]{inset:0!important;border:0!important;border-radius:inherit!important;background:var(--cr-canvas)!important;background-color:var(--cr-canvas-c)!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;color:var(--cr-text)}
html[data-theme=light] body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-sky{display:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-sky{
  background:
    radial-gradient(1.2px 1.2px at 8% 14%,rgba(255,255,255,.7),transparent 70%),radial-gradient(1px 1px at 23% 61%,rgba(255,255,255,.5),transparent 70%),
    radial-gradient(1.4px 1.4px at 41% 27%,rgba(190,230,255,.65),transparent 70%),radial-gradient(1px 1px at 57% 83%,rgba(255,255,255,.45),transparent 70%),
    radial-gradient(1.2px 1.2px at 72% 9%,rgba(255,255,255,.6),transparent 70%),radial-gradient(1px 1px at 88% 47%,rgba(200,225,255,.55),transparent 70%),
    radial-gradient(1.3px 1.3px at 93% 76%,rgba(255,255,255,.5),transparent 70%),
    radial-gradient(circle at 50% 42%,transparent 0 118px,rgba(143,231,255,.12) 119px,transparent 121px,transparent 0),
    radial-gradient(circle at 50% 42%,transparent 0 196px,rgba(90,169,255,.1) 197px,transparent 199px,transparent 0)!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cg-thread.cr-room[data-open] .cr-sky::after{display:none!important}

/* item 38: the room's own top bar (back arrow, star "Community room" pill, members button with its count), the pinned banner and
   the recent-voices strip are gone - the Community header above the tabs is the only top bar. */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] :is(.cg-thead.cr-head,#crCrew){display:none!important}
/* chat-pin (23 Oct): the fake welcome pin is gone; the pinned bar comes back only while the admin has pinned a message */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room]:not([data-pinned]) #crPin{display:none!important}
/* and the room crumb under the tabs (its second back arrow and the room name) - the header back button above is the only one */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room]>.rm-bar>.rm-crumb{display:none!important}
/* ---- (hidden since item 38) floating top bar: back | members on one clean row, over one frosted strip ----
   22 Oct (Emmanuel's iPhone screenshot): the centre pill (sparkle icon + "Community room") did nothing and is gone; the room name and
   connection state stay for screen readers only (.cr-srt). */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cg-thead.cr-head{position:absolute!important;top:0;left:0;right:0;z-index:6!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;
  min-height:0!important;height:auto!important;padding:6px 12px 0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-head::before{content:'';position:absolute;z-index:-1;left:0;right:0;top:0;height:var(--cr-top);pointer-events:none;background:var(--cr-strip);
  -webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%);box-shadow:0 .5px 0 var(--cr-hair)}
/* item 37b (Emmanuel's iPhone screenshot, 22 Oct): message text showed through behind the top bar and the pinned bar. The strip is
   now nearly opaque (93 %) with no fade at its bottom edge (a mask can also switch the blur off in WebKit), it runs 8 px past the
   pinned bar, and the list starts below it (padding-top var(--cr-top)), so older messages slide under one clean edge. */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-head::after{display:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-head :is(.cg-x.cr-back,.cr-members){position:relative;display:grid!important;place-items:center;width:44px!important;height:44px!important;min-height:44px;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;
  color:var(--cr-ic)!important;background:var(--cr-glass)!important;box-shadow:inset 0 0 0 .5px var(--cr-hair),var(--cr-float-sh)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;cursor:pointer}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-head .cr-back{grid-column:1}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-head .cr-members{grid-column:3}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-head .cr-members[aria-expanded=true]{box-shadow:inset 0 0 0 1.5px var(--cr-acc),var(--cr-float-sh)!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-mcount{position:absolute;top:-4px;right:-5px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--cr-send-c);background-image:var(--cr-send-g);color:var(--cr-send-ic);font-size:10.5px;font-weight:700;line-height:19px;text-align:center;box-shadow:none}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-mcount:empty{display:none}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-head .cr-id{grid-column:2;justify-self:center;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;overflow:hidden;align-items:center;gap:8px;min-width:0;max-width:100%;height:48px;padding:4px 18px 4px 6px;border:0!important;border-radius:24px;
  background:var(--cr-glass)!important;box-shadow:inset 0 0 0 .5px var(--cr-hair),var(--cr-float-sh)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-ic{flex:none;display:grid!important;place-items:center;width:36px;height:36px;border-radius:50%;font-size:19px;line-height:1;color:#ffffff;background:linear-gradient(135deg,#1668dc,#0b5bbf);box-shadow:none}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-ic svg{width:20px;height:20px}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-idt{display:flex!important;flex-direction:column;justify-content:center;flex:0 1 auto;min-width:72px;line-height:1.15;visibility:visible!important;opacity:1!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-idt #cgThreadTitle{display:block!important;font-size:15.5px;font-weight:650;color:var(--cr-text)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.01em;text-transform:none;text-shadow:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-srt{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-sub{display:flex!important;align-items:center;gap:5px;min-width:0;font-size:12px;color:var(--cr-sub)!important;white-space:nowrap;opacity:1!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-sub .cr-cname{overflow:hidden;text-overflow:ellipsis;min-width:0;color:var(--cr-sub)!important;opacity:1!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-sub .cr-meta{display:none!important}
/* connection: just the dot before the community name; its words stay for screen readers */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-sub .cr-link{position:static!important;display:inline-flex!important;align-items:center;flex:none;width:7px;height:7px;min-width:0;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important;font-size:0!important;overflow:hidden}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-sub .cr-link i{display:block;width:7px;height:7px;border-radius:50%;margin:0;background:#30d158;box-shadow:none;animation:none}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-sub .cr-link:not([data-state=live]) i{background:#ffc60a}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-sub .cr-link:is([data-state=offline],[data-state=error],[data-state=auth]) i{background:#ff5a52}

/* ---- pinned bar: only when the admin pinned a message (community-chat.js sets data-pinned); tap = go to it, admin gets Unpin ---- */
/* item 38 shell: the shared Community bar sits above the room, so the bar rides the top of the room and the list starts under it */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room][data-pinned]{--cr-top:66px}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-pin[hidden]{display:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-pin{position:absolute!important;top:8px;left:12px;right:12px;z-index:6!important;display:flex;align-items:center;gap:8px;min-height:46px;margin:0!important;padding:0 6px 0 0;border:0!important;border-radius:16px;
  color:var(--cr-text);background:var(--cr-glass)!important;box-shadow:inset 0 0 0 .5px var(--cr-hair),var(--cr-float-sh)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-pin::before{content:'';position:absolute;left:11px;top:9px;bottom:9px;width:3px;border-radius:2px;background:var(--cr-acc-strong);box-shadow:none;pointer-events:none}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-pin .cr-pingo{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;min-height:46px;margin:0;padding:5px 8px 5px 22px;border:0;border-radius:16px;background:none;color:inherit;text-align:left;font:inherit;cursor:pointer}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-pinl{font-size:12.5px;font-weight:650;color:var(--cr-acc)}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-pint{display:block;max-width:100%;font-size:13.5px;color:var(--cr-text);opacity:.86;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-pin .cr-unpin{flex:none;min-height:32px;padding:0 12px;border:0;border-radius:16px;font:inherit;font-size:12.5px;font-weight:650;color:var(--cr-acc);background:var(--cr-chip);cursor:pointer}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] :is(.cr-pin button,.cr-head button,.cm-compose button,.cr-down):focus-visible{outline:2px solid var(--cr-acc);outline-offset:2px}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-msg.cr-flash .cm-bub{box-shadow:0 0 0 2px var(--cr-acc-strong)!important;transition:box-shadow .2s}

/* ---- members: a dropdown under the pin, only when the members button is tapped ---- */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-crew{display:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-crew[data-open]{display:flex!important;flex-wrap:wrap;position:absolute!important;top:112px;left:12px;right:12px;z-index:7!important;min-height:0;padding:10px 12px;gap:6px 8px;border:0;border-radius:16px;
  background:var(--cr-glass-solid);box-shadow:inset 0 0 0 .5px var(--cr-hair),0 18px 40px -16px rgba(0,0,0,.55)}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-crew[data-open] .cr-crewl{max-width:none;width:100%;color:var(--cr-acc);font-size:11px}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-crew[data-open] .cr-crews{flex-wrap:wrap;overflow:visible}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-crew[data-open] .cr-crews::before{display:none}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-crewnone{margin:0;font-size:13px;color:var(--cr-text)}

html body #tab-foryou #cmPaneChat#cmPaneChat[data-room]:not([data-pinned]) .cr-crew[data-open]{top:58px}

/* ---- message list: scrolls under the top bar and the composer; the composer's real height comes from community-chat.js ---- */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room #cmList.cm-list{flex:1 1 auto!important;min-height:0!important;padding:var(--cr-top) 10px calc(var(--cr-comp-h,calc(64px + var(--cr-sab))) + 10px)!important;scroll-padding-top:var(--cr-top);scroll-padding-bottom:calc(var(--cr-comp-h,64px) + 10px);gap:2px!important;background:none!important}

/* ---- messages ---- */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-msg.cp-msg{display:flex!important;flex-direction:row!important;align-items:flex-end!important;justify-content:flex-start!important;gap:8px!important;max-width:none!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-msg.cp-msg.cp-start{margin-top:8px!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-msg.cp-msg.mine{justify-content:flex-end!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg .cp-av{flex:none;display:block;width:32px!important;height:32px!important;min-height:32px;margin:0!important;padding:0!important;align-self:flex-end;border:0;background:none;box-shadow:none}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg .cp-av .cp-form{width:32px;height:32px;border-radius:50%}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg .cp-av.cp-gap{visibility:hidden}
/* your own messages: no avatar, like the example */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg.mine .cp-av{display:none!important}

/* bubbles: filled, no outline, no glow, no blur */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg .cm-bub{display:flow-root!important;position:relative;flex:0 1 auto;width:auto!important;max-width:min(76%,520px)!important;min-width:0!important;margin:0!important;padding:6px 12px 7px!important;
  border:0!important;border-radius:18px!important;background:var(--cr-bub)!important;color:var(--cr-text)!important;box-shadow:var(--cr-bub-sh)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;text-align:left;overflow-wrap:anywhere}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg .cm-bub::before,
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg .cm-bub::after,
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-msg.cp-msg::before,
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-msg.cp-msg::after{display:none!important}
/* grouped corners: the side next to the avatar tightens inside a group, the last one is the tail */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg:not(.mine) .cm-bub{border-bottom-left-radius:6px!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg:not(.mine):not(.cp-start) .cm-bub{border-top-left-radius:6px!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg.mine .cm-bub{background:var(--cr-mine-c)!important;background-image:var(--cr-mine-g)!important;color:var(--cr-mine-text)!important;box-shadow:none!important;border-bottom-right-radius:6px!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg.mine:not(.cp-start) .cm-bub{border-top-right-radius:6px!important}

/* sender name in their colour */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg .cs-by{display:block!important;margin:0 0 1px!important;padding:0!important;min-height:0!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg .cs-by:not(:has(.cs-name)){display:contents!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg .cs-by .cs-name{display:inline;font-size:13.5px!important;font-weight:650;line-height:18px;color:color-mix(in srgb,var(--chat-color,#8fe7ff) 72%,#fff)!important;text-shadow:none!important}
html[data-theme=light] body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg .cs-by .cs-name{color:color-mix(in srgb,var(--chat-color,#0b5bbf) 50%,#000)!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg .cr-bot{margin-left:6px;padding:1px 6px;border-radius:6px;font-size:10.5px;font-weight:700;color:var(--cr-sub);background:var(--cr-chip)}
/* Oct 23: confirmed bots read "Name - bot" (community-chat.js botDash): same line as the name, a little quieter, never split from it */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg .cs-by .cs-botd{display:inline;white-space:nowrap;font-size:13.5px!important;font-weight:600;line-height:18px;color:var(--cr-sub)!important}

/* text, with the time inline at the end of the last line (it floats right and wraps under only when the line is full) */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg .cm-t{display:inline!important;margin:0!important;padding:0!important;font-size:16px!important;line-height:21px!important;color:inherit!important;background:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg .cm-t *{font-size:inherit;line-height:inherit}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg .cm-t :not(a):not(.cs-mention):not([class*=mention]){color:inherit}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg .cm-bub a{color:var(--cr-acc)!important;text-decoration:underline!important;text-underline-offset:2px}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg.mine .cm-bub a{color:inherit!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-foot{float:right!important;position:relative;display:inline-flex!important;align-items:center;gap:3px;height:14px;min-height:0!important;margin:9px -5px -3px 10px!important;padding:0!important;line-height:14px;border:0;background:none}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-foot time{font-size:11px!important;line-height:14px;color:var(--cr-time)!important;font-variant-numeric:tabular-nums;letter-spacing:.01em;white-space:nowrap;opacity:1!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .mine .cm-foot time{color:var(--cr-mine-time)!important}
/* the ··· button stays for keyboards and screen readers; a tap on the bubble opens the same actions */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-foot .cp-more{position:absolute!important;right:0;bottom:0;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap;background:none!important;box-shadow:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-foot .cp-more:focus-visible{position:static!important;width:26px!important;height:18px!important;overflow:visible;clip-path:none;color:inherit!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-foot .cp-more::after{display:none!important}

/* reply quote: coloured bar left, quoted name in the accent, one-line preview */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-quote{display:block!important;margin:2px 0 4px!important;padding:3px 9px 4px!important;border:0!important;border-left:3px solid var(--cr-acc-strong)!important;border-radius:4px 9px 9px 4px!important;background:var(--cr-quote-bg)!important;box-shadow:none!important;
  color:var(--cr-quote-text)!important;font-size:13.5px!important;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-quote b{display:block;color:var(--cr-acc)!important;font-size:13px;font-weight:650;overflow:hidden;text-overflow:ellipsis}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .mine .cm-quote{border-left-color:currentColor!important;background:rgba(255,255,255,.2)!important;color:inherit!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .mine .cm-quote b{color:inherit!important}

/* photos and voice notes inside a bubble */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-bub .cs-photo{display:block;margin:-2px -8px 4px!important;padding:0!important;border:0!important;border-radius:14px!important;overflow:hidden;background:none!important;box-shadow:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-bub .cs-photo img{display:block;max-width:100%;border-radius:14px}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-bub .cs-voice{color:inherit!important;background:none!important;border:0!important;box-shadow:none!important}

/* reactions: small emoji + count pills under the text */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-rx{clear:both;display:flex!important;flex-wrap:wrap;gap:4px!important;margin:6px 0 1px!important;padding:0!important;background:none!important;border:0!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-rx .cm-chip{position:relative;display:inline-flex!important;align-items:center;justify-content:center;gap:3px;width:auto!important;min-width:0!important;height:24px!important;min-height:24px!important;margin:0!important;padding:0 8px!important;
  border:0!important;border-radius:12px!important;font-size:12.5px!important;font-weight:650;line-height:1;color:inherit!important;background:var(--cr-chip)!important;box-shadow:none!important;aspect-ratio:auto!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-rx .cm-chip::after{content:'';position:absolute;inset:-8px -2px}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-rx .cm-chip :is(svg,.sp-symbol){width:14px!important;height:14px!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-rx .cm-chip .sp-ui-copy{display:inline-flex;align-items:center;gap:3px}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-rx .cm-chip:is(.on,[aria-pressed=true]){background:var(--cr-chip-on)!important;box-shadow:inset 0 0 0 1px var(--cr-acc)!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .mine .cm-rx .cm-chip{background:rgba(255,255,255,.24)!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .mine .cm-rx .cm-chip:is(.on,[aria-pressed=true]){background:rgba(255,255,255,.4)!important;box-shadow:inset 0 0 0 1px currentColor!important}

/* actions opened by a tap on the bubble: React, Reply, Report/Delete as small pills; the emoji picker as round buttons */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-acts{clear:both;display:flex!important;flex-wrap:wrap;gap:6px;margin:7px 0 2px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;position:static!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-acts .cm-mini{display:inline-flex;align-items:center;height:30px!important;min-height:30px!important;padding:0 12px!important;margin:0!important;border:0!important;border-radius:15px!important;font-size:13px!important;font-weight:650;color:inherit!important;background:var(--cr-chip)!important;box-shadow:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .mine .cp-acts .cm-mini{background:rgba(255,255,255,.24)!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-picker{clear:both;display:flex!important;flex-wrap:wrap;gap:4px;margin:6px 0 2px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;position:static!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-picker button{display:grid;place-items:center;width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;font-size:17px;color:inherit!important;background:var(--cr-chip)!important;box-shadow:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cs-delivery{clear:both;display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:4px;font-size:12px;color:inherit;opacity:.85}

/* date pill, system pills ("X joined" + Wave), "Show earlier messages" */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-day{display:flex!important;justify-content:center;margin:12px 0 4px!important;padding:0!important;letter-spacing:0!important;text-transform:none!important;font-size:12px!important;font-weight:600!important;background:none!important;border:0!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-day::before,html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-day::after{display:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-day span{padding:4px 11px!important;border:0!important;border-radius:12px!important;color:var(--cr-pill-text)!important;background:var(--cr-pill)!important;box-shadow:inset 0 0 0 .5px var(--cr-hair)!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-more{display:flex;justify-content:center;margin:4px 0 8px}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-more .cm-morebtn{min-height:34px;padding:0 14px!important;border:0!important;border-radius:17px!important;font-size:13px;font-weight:600;color:var(--cr-pill-text)!important;background:var(--cr-pill)!important;box-shadow:inset 0 0 0 .5px var(--cr-hair)!important}

/* jump to the latest message: a round button over the bottom right, plus the "New messages" pill when new ones arrive */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-down{position:absolute;z-index:7;right:12px;bottom:calc(var(--cr-comp-h,64px) + 10px);display:grid;place-items:center;width:40px;height:40px;padding:0;margin:0;border:0;border-radius:50%;cursor:pointer;
  color:var(--cr-ic);background:var(--cr-glass-solid);box-shadow:inset 0 0 0 .5px var(--cr-hair),var(--cr-float-sh);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .18s,transform .18s,visibility 0s .18s}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cg-thread.cr-up .cr-down{opacity:1;visibility:visible;transform:none;transition:opacity .18s,transform .18s}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] #csJump{position:static!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] #csJump .cs-jump{position:absolute!important;z-index:7;left:50%;right:auto!important;top:auto!important;bottom:calc(var(--cr-comp-h,64px) + 14px)!important;transform:translateX(-50%)!important;min-height:32px;padding:0 14px!important;border:0!important;border-radius:16px!important;font-size:13px;font-weight:650;
  color:var(--cr-send-ic)!important;background:var(--cr-send-c)!important;background-image:var(--cr-send-g)!important;box-shadow:var(--cr-float-sh)!important}

/* ---- composer: floats over the bottom of the room, above the home indicator ---- */
/* 24 Oct: the field also sets -webkit-text-fill-color from the theme; community-composer.css paints glyphs #fff with it, which
   made typed text white on the day room's light field (tests/chat-composer-light.test.cjs) */
/* in the room everything goes to the room: the "To the whole galaxy" chip and the empty-field note step aside (a chosen person still shows) */
html.cr-room #cmPaneChat[data-spirit-chat][data-room] #cgTo:not(:has(.cg-chip:not(:has(.cg-dotc.all)))){display:none!important}
html.cr-room #cmPaneChat[data-spirit-chat][data-room] #cgTo .cg-chip:has(.cg-dotc.all){display:none!important}
html.cr-room #cmPaneChat[data-spirit-chat][data-room] .cm-inrow.cs-empty~.cs-compose-meta{display:none!important}
/* while typing the box runs down to just above the keyboard (the pane is the visible height, see fit() in community-chat.js) */
html.cs-chat-typing body #tab-foryou #cmPaneChat#cmPaneChat[data-room]{padding-bottom:8px!important}
/* the composer sits under the box now, so nothing floats over the end of the list any more */
/* chat-pin: the list starts under the admin's pinned bar when there is one (--cr-top is 12px without a pin) */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room #cmList.cm-list.cm-list{padding-top:var(--cr-top,12px)!important;padding-bottom:10px!important;scroll-padding-top:var(--cr-top,12px)!important;scroll-padding-bottom:10px!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-down.cr-down{bottom:10px!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] #csJump#csJump .cs-jump{bottom:14px!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-compose{position:relative!important;inset:auto!important;flex:none!important;width:100%!important;max-width:760px!important;z-index:12!important;margin:0!important;padding:8px 0 10px!important;
  background:var(--cr-canvas-c)!important;border:1px solid rgba(143,231,255,.3)!important;border-top:0!important;border-radius:0 0 28px 28px!important;box-shadow:inset 0 .5px 0 var(--cr-hair)!important;isolation:isolate;transform:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-compose::before{content:''!important;display:none!important;position:absolute!important;z-index:-1!important;left:0!important;right:0!important;bottom:0!important;top:-14px!important;inset:-14px 0 0 0!important;pointer-events:none;border-radius:0!important;
  background:var(--cr-strip)!important;-webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%);-webkit-mask-image:linear-gradient(transparent,#000 18px);mask-image:linear-gradient(transparent,#000 18px);box-shadow:none!important;border:0!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-compose::after{display:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-inrow{position:relative;display:flex!important;align-items:flex-end!important;gap:8px!important;margin:0!important;padding:0 12px!important;background:none!important;border:0!important;box-shadow:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-inrow textarea#cmInput{position:static!important;flex:1 1 auto!important;min-width:0;width:auto!important;min-height:44px!important;margin:0!important;padding:11px 16px!important;border:0!important;border-radius:22px!important;font-size:16px!important;line-height:22px!important;
  color:var(--cr-text)!important;background:var(--cr-field)!important;box-shadow:inset 0 0 0 .5px var(--cr-hair),var(--cr-float-sh)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;caret-color:var(--cr-acc-strong);-webkit-text-fill-color:var(--cr-text)!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-inrow textarea#cmInput::placeholder{color:var(--cr-ph)!important;-webkit-text-fill-color:var(--cr-ph)!important;opacity:1}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-inrow :is(#cmPhoto,#cmMic,#cmSend){position:static!important;flex:none!important;display:grid!important;place-items:center;width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;transform:none!important;inset:auto!important;
  color:var(--cr-ic)!important;background:var(--cr-glass)!important;background-image:none!important;box-shadow:inset 0 0 0 .5px var(--cr-hair),var(--cr-float-sh)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;opacity:1}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-inrow #cmSend:not([hidden]):not([disabled]){color:var(--cr-send-ic)!important;background:var(--cr-send-c)!important;background-image:var(--cr-send-g)!important;font-weight:800;font-size:19px}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-inrow :is(#cmPhoto,#cmMic,#cmSend)[hidden]{display:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-compose .cs-compose-meta{display:flex;justify-content:space-between;gap:8px;margin:4px 0 0!important;padding:0 18px!important;font-size:11.5px;color:var(--cr-sub)!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-compose .cs-compose-meta *{color:inherit!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-compose .cs-notice:not(:empty){margin:4px 18px 0!important;font-size:12px;color:var(--cr-text)!important}
/* reply bar, @mention list, photo preview and voice card: solid sheets above the field, readable in both themes */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-compose :is(#csReply,#cmMention,#csPhoto,#csMic,#cgTo):not(:empty){margin:0 12px 6px!important;border-radius:16px!important;color:var(--cr-text)!important;background:var(--cr-glass-solid)!important;box-shadow:inset 0 0 0 .5px var(--cr-hair),var(--cr-float-sh)!important;overflow:hidden}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-compose :is(#csReply,#cmMention,#csPhoto,#csMic) :is(p,span,b,small,strong,div){color:inherit}
/* item 41: with the keyboard up on a small phone the room is only a few hundred pixels tall; the @mention list is one row of names
   that scrolls sideways, so it never pushes the composer under the keyboard */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-compose #cmMention:not(:empty){flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;max-height:none!important;padding:4px!important;scrollbar-width:none}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-compose #cmMention>*{flex:none}

/* ---- reduced transparency: solid fills instead of the frosted strips ---- */
@media(prefers-reduced-transparency:reduce){
  html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-head::before,
  html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cm-compose::before{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:var(--cr-canvas-c)!important}
  html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] :is(.cr-head .cr-back,.cr-head .cr-members,.cr-pin,.cm-inrow textarea#cmInput,.cm-inrow #cmPhoto,.cm-inrow #cmMic){background:var(--cr-glass-solid)!important}}
/* short screens (landscape phones): a slimmer pin */
@media(max-height:560px){
  html body #tab-foryou #cmPaneChat#cmPaneChat[data-room]{--cr-top:12px}
  html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-pin{min-height:36px;padding-block:3px}
  html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-pin .cr-pingo{min-height:36px;padding-block:3px}
  html body #tab-foryou #cmPaneChat#cmPaneChat[data-room][data-pinned]{--cr-top:52px}
  html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-pin .cr-pinl{display:none}}

/* ---- 28 Oct 2026: reactions under a bubble are system emojis (.cm-emo is never swapped for an icon); an empty reaction box
   takes no room. The floating actions menu styles itself (CX_CSS in community-chat.js), it lives outside the room. ---- */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-rx:empty,html body #cmPaneChat[data-spirit-chat] .cm-rx:empty{display:none!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-rx .cm-chip .cm-emo{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",system-ui,sans-serif;font-size:15px;line-height:1}
/* Nov 7 2026 (Emmanuel: chat photos "exactly like WhatsApp bubble or iMessage bubble when you post a picture. Very important"): a photo
   message is the photo in a thin frame of its own bubble colour, one width for every photo (portrait stays portrait, up to 58% of the
   screen high), the sender's name above it, the time on the photo when there are no words; a caption or meal sits under the photo
   (cm-pbub / cm-pcap from community-chat.js photoBub) */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cp-msg .cm-bub.cm-pbub{padding:3px!important;width:min(272px,70vw)!important;max-width:min(76%,272px)!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-bub.cm-pbub .cs-photo{margin:0!important;width:100%;border-radius:15px!important;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-bub.cm-pbub .cs-photo img{width:100%;height:auto;min-height:96px;max-height:min(420px,58vh);object-fit:cover;border-radius:15px;-webkit-touch-callout:none}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-bub.cm-pbub .cs-by:not(:empty){padding:3px 9px 4px}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-bub.cm-pbub .cm-t{display:block!important;padding:6px 9px 0!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-bub.cm-pbub:not(.cm-pcap) .cm-foot{float:none!important;position:absolute!important;right:10px;bottom:10px;height:20px;margin:0!important;padding:0 8px!important;border-radius:999px;background:rgba(0,0,0,.5)!important;color:#fff!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-bub.cm-pbub:not(.cm-pcap) .cm-foot time{color:#fff!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-bub.cm-pbub.cm-pcap .cm-foot{margin:6px 6px 2px 10px!important}
/* Nov 7 2026: albums in the room keep each picture full width of the bubble while the row swipes (community-chat.css) */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cs-alb-track > .cs-photo{flex:0 0 100%!important;width:100%!important;margin:0!important;border-radius:0!important}
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cs-album:not(:last-child) ~ .cm-foot,html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-pbub:not(.cm-pcap) .cs-album + .cm-foot{bottom:26px}
/* Nov 7 2026 (Emmanuel: scrolling up the chat room "isn't really fluid"): a chat photo loads lazily and used to grow from 96 px to its
   own height while you scrolled past it; iPhone Safari does not hold the scroll position for that, so the list jumped. Every photo
   now has its box before it loads (4:5, the Instagram photo shape, the picture filled in), so nothing above you changes height */
html body #tab-foryou #cmPaneChat#cmPaneChat[data-room] .cr-room .cm-bub.cm-pbub .cs-photo img{aspect-ratio:4/5;min-height:0;max-height:none}
