
  :root {
    --bg: #0a0e27;
    --cyan: #00d4ff;
    --purple: #a855f7;
    --glass: rgba(255,255,255,.045);
    --glass-strong: rgba(255,255,255,.08);
    --stroke: rgba(255,255,255,.10);
    --stroke-bright: rgba(0,212,255,.25);
    --text: rgba(255,255,255,.92);
    --text-dim: rgba(255,255,255,.62);
    --text-faint: rgba(255,255,255,.42);
    --radius: 18px;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
  html { background: var(--bg); }
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100dvh;
    overflow-x: hidden;
  }
  /* Cosmos background */
  .cosmos { position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
      radial-gradient(ellipse 80% 55% at 50% -10%, rgba(168,85,247,.16), transparent 60%),
      radial-gradient(ellipse 65% 45% at 85% 105%, rgba(0,212,255,.10), transparent 55%),
      var(--bg);
  }
  .cosmos::after { content: ''; position: absolute; inset: 0;
    background-image:
      radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.55), transparent 55%),
      radial-gradient(1px 1px at 68% 12%, rgba(255,255,255,.4), transparent 55%),
      radial-gradient(1.5px 1.5px at 84% 38%, rgba(0,212,255,.5), transparent 55%),
      radial-gradient(1px 1px at 32% 58%, rgba(255,255,255,.35), transparent 55%),
      radial-gradient(1px 1px at 52% 82%, rgba(168,85,247,.45), transparent 55%),
      radial-gradient(1.5px 1.5px at 92% 72%, rgba(255,255,255,.3), transparent 55%),
      radial-gradient(1px 1px at 8% 88%, rgba(0,212,255,.4), transparent 55%);
  }

  /* Top bar */
  #topBar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    height: calc(56px + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) 16px 0;
    display: flex; align-items: center; gap: 10px;
    background: rgba(7,11,32,.88);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,212,255,.10);
  }
  #topBar .earth { width: 32px; height: 32px; flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(0,212,255,.35)); }
  /* v1606: the bar said "Portals", which is a lens inside the product, not the
     product. Every top bar names UNITE now (NAMING LAW), and the earth stays as
     the mark beside it. */
  #topBar .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  #topBar .wordmark-img { height: 26px; width: auto; max-width: 118px; display: block; }
  #topBarRight { margin-left: auto; display: flex; align-items: center; gap: 8px; }

  .container { max-width: 640px; margin: 0 auto;
    padding: calc(72px + env(safe-area-inset-top, 0px)) 14px 40px; }

  /* The one-line promise: this is not the algorithm's feed, it is yours. */
  .feed-eyebrow { font-size: 16px; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--text-faint); text-align: center;
    margin-bottom: 10px; }

  /* Intent box: the front door */
  .intent-wrap { position: relative; margin-bottom: 14px; }
  .intent-wrap input {
    width: 100%; height: 52px; padding: 0 46px 0 18px;
    background: var(--glass-strong);
    border: 1px solid var(--stroke);
    border-radius: 26px; color: var(--text);
    font-family: inherit; font-size: 16px; outline: none;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: border-color .2s ease, box-shadow .2s ease;
  }
  .intent-wrap input::placeholder { color: var(--text-faint); }
  .intent-wrap input:focus { border-color: var(--stroke-bright);
    box-shadow: 0 0 0 3px rgba(0,212,255,.10); }
  .intent-wrap .intent-clear {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border-radius: 50%; border: none;
    background: transparent; color: var(--text-dim); font-size: 18px;
    cursor: pointer; display: none; align-items: center; justify-content: center;
    transition: color .2s ease;
  }
  .intent-wrap.has-text .intent-clear { display: flex; }
  /* v3244: a photo from the camera roll, one tap, where a message app keeps its camera. Signed in only, so a
     stranger's box is exactly as it was. */
  .intent-wrap .ti-cam { position: absolute; left: 4px; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 44px; height: 44px; border-radius: 50%; border: none; padding: 0;
    background: transparent; color: var(--text-dim); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: color .2s ease, background .2s ease; }
  .intent-wrap .ti-cam[hidden] { display: none; }
  .intent-wrap .ti-cam svg { width: 22px; height: 22px; }
  .intent-wrap .ti-cam:hover, .intent-wrap .ti-cam:focus-visible { color: var(--cyan); background: rgba(0,212,255,.08); }
  .intent-wrap.has-cam input { padding-left: 54px; }
  .intent-wrap.has-photo .ti-send { opacity: 1; box-shadow: 0 0 14px rgba(0,212,255,.35); }
  .ti-photochip { display: flex; align-items: center; gap: 10px; margin: 8px 2px 0; padding: 6px 6px 6px 8px;
    border-radius: 16px; background: var(--glass); border: 1px solid var(--stroke); }
  .ti-photochip[hidden] { display: none; }
  .ti-photochip img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; background: rgba(255,255,255,.06); }
  .ti-photochip span { flex: 1; min-width: 0; font-size: 16px; line-height: 1.35; color: var(--text-dim);
    overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .ti-photochip button { width: 44px; height: 44px; border-radius: 50%; border: none; background: transparent;
    color: var(--text-dim); font-size: 22px; cursor: pointer; flex: 0 0 auto; }
  .ti-photochip button:hover { color: var(--text); }
  #tiPhotoChip { order: 1; }   /* the column orders its children by id; the chip stays with the box (order 1) */
  .ti-prev .ti-pimg.own { height: 300px; background-size: contain; background-repeat: no-repeat;
    background-color: rgba(10,10,26,.55); }   /* an own photo (a flyer) is shown whole on the card too */


  /* Lens chips */
  .lenses { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px;
    scrollbar-width: none; -ms-overflow-style: none; }
  .lenses::-webkit-scrollbar { display: none; }
  .lens {
    flex-shrink: 0; height: 44px; padding: 0 16px;
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--glass); border: 1px solid var(--stroke);
    border-radius: 22px; color: var(--text-dim);
    font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: all .2s ease; white-space: nowrap;
  }
  .lens:hover { border-color: var(--stroke-bright); color: var(--text); }
  .lens.active {
    background: linear-gradient(135deg, rgba(0,212,255,.16), rgba(168,85,247,.16));
    border-color: var(--stroke-bright); color: #fff;
    box-shadow: 0 0 14px rgba(0,212,255,.14);
  }
  .lens .em { font-size: 16px; }
  /* 2026-11-19 design B: the photo strip is drawn in community-home.css; a Portal's header is drawn here. */
  .story-open > .card { border-color: rgba(56,189,248,.55); box-shadow: 0 0 24px rgba(56,189,248,.16); }
  .story-open [data-body].clamped { -webkit-line-clamp: unset; max-height: none; }
  .ph-head { position: relative; height: 160px; border-radius: 20px; overflow: hidden; margin: 4px 0 16px; }
  .ph-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .ph-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,10,30,.05) 25%, rgba(6,10,30,.9) 100%); }
  .ph-x { position: absolute; top: 10px; right: 10px; min-height: 44px; padding: 0 16px; border-radius: 22px; cursor: pointer;
    background: rgba(6,10,30,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25);
    color: #fff; font-family: inherit; font-size: 16px; font-weight: 600; }
  .ph-t { position: absolute; left: 18px; right: 18px; bottom: 14px; }
  .ph-t.has-follow { right: 136px; }
  .ph-head h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 34px; font-weight: 500; line-height: 1; color: #fff; margin: 0; }
  .ph-head p { font-size: 16px; color: rgba(255,255,255,.88); margin: 6px 0 0; line-height: 1.3; }
  @media (min-width: 1240px) { .ph-head { height: 220px; } }
  .ph-kinds { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -6px 0 14px; padding-bottom: 2px; }
  .ph-kinds::-webkit-scrollbar { display: none; }
  .ph-kind { flex-shrink: 0; min-height: 44px; padding: 0 16px; border-radius: 22px; cursor: pointer; white-space: nowrap;
    border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: rgba(255,255,255,.72);
    font-family: inherit; font-size: 16px; font-weight: 600; }
  .ph-kind small { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.5); margin-left: 6px; }
  .ph-kind[aria-pressed="true"] { border-color: #38BDF8; background: rgba(56,189,248,.16); color: #fff; }
  .ph-kind[aria-pressed="true"] small { color: #7dd3fc; }
  .lenses a.lens { text-decoration: none; }
  /* 2026-11-12 Your feed (static/feed-prefs.js): a post you chose less of folds to one line; a post shown first says why. */
  .card.fp-less > :not(.fp-bar) { display: none; }
  .card.fp-less { padding: 0; }
  .fp-bar { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 8px 8px 8px 16px;
            font-size: 16px; color: var(--text-dim); }
  .fp-bar button { min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--stroke);
                   background: var(--glass); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
  .fp-why { margin-top: 8px; font-size: 16px; color: var(--text-dim); }
  .fp-list li .ti-btn { margin-top: 8px; align-self: flex-start; min-width: 89px; }
  #tiHow { gap: 8px; flex-wrap: wrap; }
  /* 2026-11-12: who shared the link you opened, above the page's question (static/feed-prefs.js refCard). */
  .fp-ref { order: -40 !important; width: 100%; box-sizing: border-box; position: relative; max-width: 618px; margin: 8px auto 21px; padding: 21px 55px 21px 21px; border-radius: 18px;
            border: 1px solid rgba(0,212,255,.3); background: linear-gradient(150deg, rgba(0,212,255,.10), rgba(168,85,247,.10)); }
  .fp-ref-h { margin: 0 0 5px; font-size: 21px; font-weight: 800; color: var(--text); }
  .fp-ref-t { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-dim); }
  .fp-ref-acts { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 8px; }
  .fp-ref-x { position: absolute; top: 5px; right: 5px; width: 44px; height: 44px; border: 0; background: none;
              color: var(--text-dim); font-size: 24px; cursor: pointer; }
  #tiHow .fp-open-link { color: #00d4ff; font-weight: 600; }
  .fp-link { word-break: break-all; font-size: 16px; color: var(--cyan); margin: 0 0 8px; }
  /* v3136 (F518): one line under the strip saying what a board holds and why it opened,
     Show everything beside it at 44px. Fibonacci gap 13. */
  .board-why { display: flex; flex-wrap: wrap; align-items: center; gap: 0 13px; margin: 0 0 13px;
    font-size: 16px; line-height: 1.4; color: var(--text-dim); }
  .board-why button { background: none; border: 0; padding: 0; min-height: 44px; font: inherit;
    font-size: 16px; font-weight: 600; color: var(--text-dim); text-decoration: underline;
    text-underline-offset: 3px; cursor: pointer; }
  .board-why button:hover { color: var(--text); }
  /* 2026-11-01 (Portals rooms, F459): one post as a room. The home blocks and
     the strip step aside; the top bar and bottom nav are untouched. */
  body.in-room #tiHero, body.in-room #tiVerbs, body.in-room #intentWrap, body.in-room #tiLine,
  body.in-room #tiPanel, body.in-room #tuneIn, body.in-room #tiHow, body.in-room #intentCards,
  body.in-room #lenses, body.in-room #onlineNow, body.in-room #composerPill,
  body.in-room #tiPinned, body.in-room #uniLaunches, body.in-room #nameNudge,
  body.in-room #zenStories, body.in-room #zenPractice, body.in-room #frontDoor,
  /* 2026-11-16: a link to one post opens on that post; the side cards and member tiles wait on home. */
  body.in-room #uniSide, body.in-room #uDo { display: none !important; }
  /* v3139 (the critic, fixes 5 and 6): the docked box is the reply, so the Reply button goes; the
     date and Portal name take their own lines rather than a cramped column beside the badge. */
  body.in-room .actions .act[data-comments] { display: none; }
  body.in-room .card-head .who .meta { flex-wrap: wrap; row-gap: 2px; }
  body.in-room .card .hide-btn:not(.more-btn) { display: none; }
  /* v3139 (the critic, fix 2): a person who has checked in is not new here. */
  body.has-feel #tiHow { display: none; }
  /* v3105 (the live review, fixes 1, 2, 3, 5): the post is the first thing on the
     screen, like a WhatsApp or Discord invite link; faces instead of a count; one
     reply box, docked at the bottom while you are in the Portal. */
  .room-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 13px;
    padding: 4px 16px 13px; margin: 0 0 13px; background: var(--glass); border: 1px solid var(--stroke);
    border-radius: 21px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .room-back { grid-column: 1 / -1; min-height: 44px; display: inline-flex; align-items: center;
    color: var(--text-dim); text-decoration: none; font-size: 16px; }
  .room-back:before { content: '\2190'; margin-right: 6px; }
  .room-back:hover { color: var(--text); }
  .room-who { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 34px; }
  .room-faces { display: inline-flex; flex-shrink: 0; }
  .room-faces .avatar, .room-faces .avatar-fallback { width: 30px; height: 30px; font-size: 16px; border-radius: 50%;
    border: 2px solid #0e0e2a; margin-left: -9px; object-fit: cover; }
  .room-faces .avatar:first-child, .room-faces .avatar-fallback:first-child { margin-left: 0; }
  .room-faces .room-more { width: 30px; height: 30px; margin-left: -9px; border-radius: 50%; border: 2px solid #0e0e2a;
    background: var(--glass-strong); color: var(--text-dim); font-size: 16px; font-weight: 600;
    display: inline-flex; align-items: center; justify-content: center; }
  .room-n { font-size: 16px; font-weight: 600; color: var(--text); min-width: 0; }
  .room-n .room-k { font-weight: 400; color: var(--text-dim); }
  .room-sub { grid-column: 1; font-size: 16px; color: var(--text-dim); }
  .room-join { grid-column: 2; grid-row: 2 / span 2; align-self: center; min-height: 44px; padding: 0 21px;
    border-radius: 22px; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; border: 0; color: #0a0a1a;
    background: linear-gradient(90deg, #00d4ff, #a855f7); transition: all .2s ease; }
  .room-join.on { background: transparent; border: 1px solid var(--stroke); color: var(--text-dim); font-weight: 500; }
  .room-join:disabled { opacity: .6; cursor: default; }
  /* v3134 (Portals): The plan, one pinned line under the head; Here now, who has it open. */
  .room-plan, .room-here { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px 13px; flex-wrap: wrap; min-width: 0; }
  .room-plan { padding-top: 8px; margin-top: 5px; border-top: 1px solid var(--stroke); }
  .room-plan-t { flex: 1 1 200px; min-width: 0; font-size: 16px; line-height: 1.4; color: var(--text); }
  .room-plan-k, .room-here-k { color: var(--text-dim); }
  .room-plan-b { min-height: 44px; padding: 0 8px; border: 0; background: none; font: inherit; font-size: 16px;
    font-weight: 600; color: var(--cyan); cursor: pointer; transition: color .2s ease; }
  .room-plan-b:hover { color: #fff; }
  .room-plan-in { flex: 1 1 200px; min-width: 0; min-height: 44px; padding: 0 13px; border-radius: 22px;
    border: 1px solid var(--stroke-bright); background: rgba(255,255,255,.06); color: var(--text); font: inherit; font-size: 16px; }
  .room-plan-a { display: inline-flex; align-items: center; gap: 8px; }
  .room-plan-a .room-join { grid-column: auto; grid-row: auto; }
  /* v3143 (F467, since you were last here; design/portals-rooms Standing board): one line under the
     head for the person coming back, with Uni's catch-up when three or more replies are new. */
  .room-since { grid-column: 1 / -1; padding-top: 8px; margin-top: 5px; border-top: 1px solid var(--stroke);
    font-size: 16px; line-height: 1.4; color: var(--text); min-width: 0; }
  .room-since-k, .room-since-n { color: var(--text-dim); }
  /* v3144: the count is the way down to the first new reply (a thin New line marks it, as WhatsApp and
     Slack mark unread); the hit area is 44px without moving the line. */
  .room-since-n { background: none; border: 0; padding: 11px 0; margin: -11px 0; font: inherit; cursor: pointer;
    text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
  .room-since-n:hover { color: var(--text); }
  .c-sort { display: flex; gap: 6px; margin: 4px 0 10px; }
  .c-sort button { font: inherit; font-size: 14px; padding: 6px 13px; min-height: 34px; border-radius: 999px; cursor: pointer;
    border: 1px solid rgba(255,255,255,.18); background: transparent; color: rgba(255,255,255,.72); }
  .c-sort button[aria-pressed="true"] { background: rgba(0,212,255,.16); border-color: rgba(0,212,255,.5); color: #fff; }
  .c-new-line { display: flex; align-items: center; gap: 8px; margin: 13px 0 8px; font-size: 16px; color: #00d4ff; }
  .c-new-line::before, .c-new-line::after { content: ''; flex: 1; height: 1px; background: rgba(0,212,255,.35); }
  /* v3144 (F526a, the critic's fix 5): in a Portal the reply box is the one action. The post card keeps the
     heart, the share arrow and one intent chip; I know someone, I'm looking too and Reach out wait behind
     the arrow (portals-loop.js send). Replies keep their own Reach out lines. */
  body.in-room #feed > .card .act[data-cliknow], body.in-room #feed > .card .cl-lead > .act[data-clmetoo],
  body.in-room #feed > .card > .card-pad > .reach-chip { display: none; }
  /* v3149: Online now, one row under the lenses, the same bones as Here now in a Portal. */
  #onlineNow[hidden] { display: none; }
  .online-now { display: flex; flex-direction: column; gap: 5px; margin: 0 0 8px; }
  .on-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
  .on-faces { display: inline-flex; flex-shrink: 0; }
  .on-face { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    margin-left: -10px; border-radius: 50%; }
  .on-face:first-child { margin-left: 0; }
  /* v3154 (the critic on v3149): a live dot on each face, green only because it means live. */
  .on-face::after { content: ""; position: absolute; right: 4px; bottom: 4px; width: 10px; height: 10px; border-radius: 50%;
    background: #22c55e; border: 2px solid #0e0e2a; }
  .on-face .avatar, .on-face .avatar-fallback { width: 34px; height: 34px; font-size: 16px; border: 2px solid #0e0e2a; box-shadow: none; }
  .on-b { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0;
    background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
  .on-t { font-size: 16px; line-height: 1.4; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .on-k { color: var(--text-dim); }
  .on-c { color: var(--text-dim); font-size: 16px; }
  .on-menu { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 5px; }
  .on-menu[hidden] { display: none; }
  .room-here[hidden], .room-here-menu[hidden] { display: none; }
  .room-here-b { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none;
    font: inherit; color: var(--text); cursor: pointer; text-align: left; min-width: 0; }
  .room-here-t { font-size: 16px; line-height: 1.4; min-width: 0; }
  .room-here-c { color: var(--text-dim); font-size: 16px; }
  .room-here-menu { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 5px; }
  .room-here-q { flex-basis: 100%; font-size: 16px; color: var(--text-dim); }
  .room-here-m { min-height: 44px; padding: 0 13px; border: 1px solid var(--stroke); border-radius: 22px; background: transparent;
    font: inherit; font-size: 16px; color: var(--text-dim); cursor: pointer; transition: all .2s ease; }
  .room-here-m.on { border-color: rgba(0,212,255,.8); color: #fff; font-weight: 600;
    background: linear-gradient(135deg, rgba(0,212,255,.28), rgba(168,85,247,.28)); box-shadow: 0 0 13px rgba(0,212,255,.25); }
  /* 2026-11-20 (comment_love.py, Shine: hearts on comments and real replies): a heart with its count on every
     comment, and a reply sits under the comment it answers, one step in, with a thin thread line. */
  .c-heart { display: inline-flex; align-items: center; gap: 5px; min-width: 44px; justify-content: center; }
  .c-heart svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round;
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), fill .2s ease; }
  .c-heart.on { color: #ff5c8a; }
  .c-heart.on svg { fill: currentColor; }
  .c-heart.pop svg { transform: scale(1.3); }
  .c-heart .c-hn:empty { display: none; }
  span.c-heart.ro { min-height: 44px; padding: 0 12px; font-size: 16px; font-weight: 600; color: var(--text-dim); }
  .c-heardby { display: block; margin-top: 5px; font-size: 16px; color: var(--text-dim); }
  .comment.c-kid { margin-left: 47px; position: relative; }
  .comment.c-kid::before { content: ''; position: absolute; left: -26px; top: 0; bottom: 8px; width: 1px;
    background: linear-gradient(rgba(0,212,255,.35), rgba(168,85,247,.15)); }
  .comment.c-kid .avatar, .comment.c-kid .avatar-fallback { width: 30px; height: 30px; }
  .comment.c-target > .c-body { background: rgba(0,212,255,.07); border-radius: 13px; box-shadow: 0 0 0 6px rgba(0,212,255,.07); }
  .c-replyto { flex-basis: 100%; order: -1; display: flex; align-items: center; justify-content: space-between; gap: 8px;
    font-size: 16px; color: var(--text-dim); padding: 0 4px 0 14px; }
  .c-replyto[hidden] { display: none; }
  .c-replyto b { color: var(--text); font-weight: 600; }
  .c-replyto button { min-height: 44px; min-width: 44px; padding: 0 13px; background: none !important; border: 0; color: var(--text-dim) !important;
    font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
  /* v3129 (F461, F496): why the ping came, with Going and Not this, under the head. */
  .room-why { display: flex; align-items: center; justify-content: space-between; gap: 13px; flex-wrap: wrap;
    margin: 0 0 13px; padding: 13px 16px; border-radius: 21px; background: var(--glass); border: 1px solid var(--stroke);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: opacity .3s ease, transform .3s ease; }
  .room-why.gone { opacity: 0; transform: translateY(-8px); }
  .room-why-t { flex: 1 1 220px; min-width: 0; font-size: 16px; line-height: 1.4; color: var(--text); }
  .room-why-k { color: var(--text-dim); }
  .room-why-a { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
  .room-why .room-join { grid-column: auto; grid-row: auto; }
  .room-why-no { min-height: 44px; padding: 0 13px; border: 1px solid var(--stroke); border-radius: 22px; background: transparent;
    font: inherit; font-size: 16px; color: var(--text-dim); cursor: pointer; transition: all .2s ease; }
  .room-why-no:hover { color: var(--text); }
  .room-why-ok { font-size: 16px; color: var(--text-dim); }
  /* v3112 (voice notes in Portals, F343, Shine's yes 05:55Z): a spoken reply keeps Delete
     and fixes its words from inside the transcript, so Edit steps aside. Uni reads the
     Portal aloud from Listen in the post's ⋯ menu (2026-11-05). Nothing plays until a tap. */
  .comment[data-kind="voice"] [data-cedit] { display: none; }
  .c-text.c-voice { display: block; margin-top: 4px; }
  .room-plan[hidden], .room-tags[hidden] { display: none; }
  .rm-menu-items { display: contents; }
  .c-time { font-size: 16px; color: var(--text-dim); opacity: .8; margin-right: 6px; white-space: nowrap; }
  /* The one reply box, docked. It leaves the card (a blurred card is its own
     containing block, so fixed would not work inside it) and #feed keeps room
     for it, so nothing ever sits under it at the end of the page. */
  #roomDock { position: fixed; left: 50%; transform: translateX(-50%); width: min(100% - 16px, 640px); z-index: 40;
    bottom: calc(var(--uni-nav-height, 72px) + env(safe-area-inset-bottom, 0px) + 8px);
    padding: 8px; border-radius: 30px; background: rgba(12, 12, 36, .78); border: 1px solid var(--stroke);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 8px 34px rgba(0, 0, 0, .35); }
  @media (min-width: 1024px) { body.has-top-tabs #roomDock { bottom: 16px; } }
  #roomDock .comment-form { margin: 0; }
  #roomDock .name-ask { padding: 4px 8px 8px; }
  /* v3139 (the critic, fix 1): the docked box plus its voice line, with 13px to spare, so the
     last reply is never under it. */
  body.has-dock #feed { padding-bottom: 144px; }
  /* v3175: the feedback tripwire (uni-feedback.js) never sits over the docked reply box or the room's
     rails. Phones: above the dock (placeDock keeps --rm-dock-top at the dock's height from the bottom of
     the window). From 768: at the foot of the side column the dock is not in (the left one on desktop,
     the right one on a tablet), at that column's width (--rm-trip-left and --rm-trip-w, from placeDock). */
  body.has-dock .uni-fb-trip { bottom: calc(var(--rm-dock-top, 150px) + 13px); }
  @media (min-width: 768px) {
    body.in-room.has-dock .uni-fb-trip { left: var(--rm-trip-left, auto); right: auto; width: var(--rm-trip-w, 400px);
      bottom: calc(var(--uni-nav-height, 0px) + env(safe-area-inset-bottom, 0px) + 12px); }
  }
  /* v3176 (the critic on v3174): the sticky head's backing runs up to the top bar, so no half-cut reply shows
     above or through it; the general feedback line has no place in a room from 768 (it floated in the void; the
     tripwire stays); a ticketed UNITE event leads with Get tickets and keeps Going as the quiet second (Luma),
     and its card carries the event's own picture and one line of what it is. */
  .rm-top::before { content: ''; position: absolute; left: -13px; right: -13px; top: -6px; height: 64px; pointer-events: none; z-index: -1;
    background: linear-gradient(to bottom, var(--bg) 0, var(--bg) 54px, rgba(10, 14, 39, 0) 100%); opacity: 0; transition: opacity .2s ease; }
  .rm-top.on::before { opacity: 1; }
  .rm-top.on .rm-top-in { background: rgba(12, 12, 36, .96); }
  @media (min-width: 768px) { body.in-room .uni-fb-foot { display: none; } }
  .rm-ev-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .rm-ev-inside { display: block; font-size: 16px; line-height: 1.4; color: var(--text-dim); margin-top: 8px; }
  a.room-join { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
  .rm-ev-line { margin: 0 0 10px; font-size: 16px; line-height: 1.5; color: var(--text-dim); }
  @media (min-width: 768px) { body.in-room .card .link-pill.rm-tix { display: none; } }
  /* v3174 (F526b, the critic's seven changes on design/portals-rooms RoomDesktop board): a Portal on
     desktop at 1 : 1.618 : 1. The room owns the page grid's three columns: the Portals you are in on
     the left (All Portals first), the conversation in the centre at column width with the reply box
     docked under it, who is here and an event's essentials on the right. From 768 to 1239 two columns,
     the left list behind one button. Phones keep their one column. Nothing here touches the top bar. */
  body.in-room #tiEx, body.in-room #tiNext, body.in-room #tiNear, body.in-room #tiGifts, body.in-room #tiOfferLink { display: none !important; }
  .rm-left, .rm-right, .rm-bar, .rm-backdrop { display: none; }
  .rm-listbtn { min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--stroke); background: var(--glass);
    color: var(--text); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
  .rm-listbtn b { color: var(--cyan); font-weight: 600; }
  .rm-left, .rm-right, .rm-main { min-width: 0; }
  .rm-sec { margin: 21px 5px 8px; font-size: 16px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--text-faint); }
  .rm-all + .rm-sec { margin-top: 13px; }
  .rm-all { display: inline-flex; align-items: center; min-height: 44px; padding: 0 5px; color: var(--text-dim); text-decoration: none; font-size: 16px; }
  .rm-all:before { content: '\2190'; margin-right: 6px; }
  .rm-all:hover { color: var(--text); }
  .cl-gifttop { min-height: 34px; padding: 0 13px; border-radius: 17px; border: 1px solid rgba(0,212,255,.55); background: linear-gradient(135deg, rgba(0,212,255,.18), rgba(168,85,247,.18)); color: var(--text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .2s ease; }
  @media (max-width: 480px) { .cl-kind.gift:has(+ .cl-gifttop) { display: none; } .cl-gifttop { font-size: 14px; padding: 0 10px; } }
  .cl-gifttop:hover { background: linear-gradient(135deg, rgba(0,212,255,.32), rgba(168,85,247,.32)); }
  .rm-more-btn { min-height: 44px; margin: 5px 0 0; padding: 0 13px; border: 0; background: none; color: var(--cyan); font: inherit; font-size: 15px; cursor: pointer; text-align: left; }
  .rm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
  .rm-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0 13px;
    border-radius: 13px; border: 1px solid transparent; color: var(--text); text-decoration: none; font-size: 16px;
    transition: background .2s ease, border-color .2s ease; }
  .rm-item:hover { background: rgba(255,255,255,.04); }
  .rm-item.on { background: rgba(0,212,255,.12); border-color: rgba(0,212,255,.45); font-weight: 600; }
  .rm-item .rm-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* v3224: why a Portal is on the list, under its name; the Near you strip (the city page's listings). */
  .near-you .ny-k { font-size: 16px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 5px; }
  .ny-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
  .ny-it { display: flex; flex-direction: column; gap: 2px; min-height: 44px; padding: 8px 0; color: var(--text); text-decoration: none; border-top: 1px solid rgba(255,255,255,.06); }
  .ny-list li:first-child .ny-it { border-top: 0; }
  .ny-it:hover .ny-t { color: var(--cyan); }
  .ny-t { font-size: 16px; font-weight: 600; line-height: 1.3; }
  .ny-s { font-size: 16px; color: var(--text-dim); line-height: 1.3; }
  .ny-b { font-size: 16px; color: var(--cyan); line-height: 1.3; }
  /* v3269: Your plans. Yours and your people's, one line each, soonest first. Fibonacci rhythm: 34px faces,
     13px gaps, 55px rows. */
  .yp .yp-k { font-size: 16px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 5px; }
  .yp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
  .yp-it { display: flex; align-items: center; gap: 13px; min-height: 55px; padding: 8px 0; color: var(--text); text-decoration: none; border-top: 1px solid rgba(255,255,255,.06); }
  .yp-list li:first-child .yp-it { border-top: 0; }
  .yp-faces { display: inline-flex; flex-shrink: 0; width: 55px; }
  .yp-faces .avatar, .yp-faces .avatar-fallback { width: 34px; height: 34px; font-size: 16px; border-radius: 50%; border: 2px solid #0e0e2a; margin-left: -13px; flex-shrink: 0; }
  .yp-faces .avatar:first-child, .yp-faces .avatar-fallback:first-child { margin-left: 0; }
  .yp-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
  .yp-line { font-size: 16px; line-height: 1.35; color: var(--text-dim); }
  .yp-line b { font-weight: 700; color: var(--text); }
  .yp-s { font-size: 16px; color: var(--text-faint); line-height: 1.3; }
  .yp-it:hover .yp-line b { color: var(--cyan); }
  .yp-more { display: block; background: none; border: 0; color: var(--cyan); font: inherit; font-size: 16px; min-height: 44px; padding: 8px 0 0; cursor: pointer; }
  .room-faces .is-friend { box-shadow: 0 0 0 2px #0e0e2a, 0 0 0 3.5px rgba(0,212,255,.75); }
  .rm-card { display: flex; flex-direction: column; gap: 13px; padding: 16px; border-radius: 21px; background: var(--glass);
    border: 1px solid var(--stroke); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .rm-card + .rm-card { margin-top: 13px; }
  /* F542 stage 2 (board RoomMeet): the Meet up board. One list with a tag on each entry (the critic: three
     lanes read empty on a phone), the composer's three chips, 44px targets, 8 and 13 spacing, 16px type. */
  .rm-meet .mt-head, .room-meet .mt-head, .rm-series .mt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
  .mt-title { font-size: 21px; line-height: 1.3; font-weight: 600; color: var(--text); }
  .mt-who { font-size: 16px; color: var(--text-dim); }
  /* v3206: a longer title (Who to meet) lets the holders-only label drop under it instead of breaking mid-word */
  .mt-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 13px; }
  .rm-meet ~ .rm-whomeet .mt-who { display: none; }
  .mt-title { white-space: nowrap; flex: 0 0 auto; }
  .mt-who { white-space: nowrap; margin-left: auto; }
  .mt-chips, .mt-acts, .mt-own { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .mt-chip, .mt-pill { min-height: 44px; padding: 0 13px; border-radius: 22px; border: 1px solid var(--stroke); background: transparent;
    color: var(--text); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all .2s ease; }
  .mt-chip:hover, .mt-pill:hover { border-color: rgba(255,255,255,.3); }
  .mt-chip.on { border-color: var(--cyan); color: var(--cyan); }
  .mt-pill.mt-yes { border-color: rgba(34,197,94,.5); color: #86efac; }
  .mt-pill:disabled, .mt-cta:disabled { opacity: .6; cursor: default; }
  .mt-lnk { min-height: 44px; padding: 0 8px; border: 0; background: none; font: inherit; font-size: 16px; color: var(--text-dim);
    text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .mt-lnk:hover { color: var(--text); }
  .mt-cta { flex: 1; min-height: 44px; padding: 0 21px; border-radius: 22px; border: 0; font: inherit; font-size: 16px; font-weight: 600;
    color: #0a0a1a; background: linear-gradient(90deg, #00d4ff, #a855f7); cursor: pointer; }
  .mt-form { display: flex; flex-direction: column; gap: 8px; }
  .mt-form input, .mt-form select { min-height: 44px; padding: 0 13px; border-radius: 22px; border: 1px solid var(--stroke);
    background: rgba(255,255,255,.04); color: var(--text); font: inherit; font-size: 16px; width: 100%; box-sizing: border-box; }
  .mt-form input:focus, .mt-form select:focus { outline: none; border-color: var(--cyan); }
  .mt-small, .mt-msg, .mt-sub, .mt-empty { font-size: 16px; line-height: 1.4; color: var(--text-dim); }
  .mt-msg:empty { display: none; }
  .mt-list { display: flex; flex-direction: column; }
  .mt-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--stroke); font-size: 16px; line-height: 1.4; }
  .mt-row:first-child { border-top: 0; }
  .mt-av { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; object-fit: cover; font-size: 16px; }
  .mt-main { flex: 1; min-width: 0; overflow-wrap: anywhere; }
  .mt-tag { display: inline-block; margin-right: 6px; padding: 0 8px; border-radius: 11px; border: 1px solid var(--stroke);
    color: var(--text-dim); font-size: 16px; line-height: 22px; vertical-align: 1px; }
  .mt-sub { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
  .mt-sub .room-faces .avatar, .mt-sub .room-faces .avatar-fallback, .mt-sub .room-faces .room-more,
  .mt-sub > .avatar, .mt-sub > .avatar-fallback { width: 24px; height: 24px; font-size: 16px; border-radius: 50%; object-fit: cover; }
  .mt-sub { flex-wrap: wrap; }
  .mt-ok { font-size: 16px; color: var(--text-dim); white-space: nowrap; }
  /* F542 stage 3 (v3206, board RoomWho): who to meet, inside the Portal. The why in the serif the hero line uses. */
  .wm-row { align-items: flex-start; }
  .wm-nm { font-weight: 600; }
  .wm-dim { color: var(--text-dim); }
  .wm-why { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 19px; line-height: 1.35; color: var(--text); margin-top: 2px; }
  .wm-act { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .wm-contact { font-size: 16px; line-height: 1.4; color: var(--text-dim); }
  .wm-contact a { color: var(--cyan); }
  .wm-plan { margin-top: 8px; padding: 13px; border-radius: 13px; border-left: 2px solid rgba(168,85,247,.45); background: rgba(168,85,247,.06); display: flex; flex-direction: column; gap: 5px; }
  .wm-plan-k { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c084fc; }
  .wm-plan-t { font-weight: 700; color: var(--text); }
  .wm-plan .rm-ev-acts { margin-top: 5px; }
  .wm-plan .mt-pill.is-going { background: rgba(74,222,128,.14); border-color: rgba(74,222,128,.4); color: #86efac; }
  .wm-lab { font-size: 16px; font-weight: 600; color: var(--text-dim); margin-top: 3px; }
  .wm-yours { padding-top: 8px; border-top: 1px solid var(--stroke); }
  .wm-all { display: inline-flex; align-items: center; min-height: 44px; padding-left: 0; padding-right: 0; }
  .mt-own { margin-top: 2px; }
  .mt-note { font-size: 16px; line-height: 1.4; color: var(--text-dim); padding-top: 8px; border-top: 1px solid var(--stroke); }
  /* phones: one block under the head, closed to one line until tapped */
  .room-meet { padding: 4px 16px 13px; margin: 0 0 13px; background: var(--glass); border: 1px solid var(--stroke); border-radius: 21px;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 8px; }
  .mt-sum { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 56px; padding: 0; border: 0; background: none;
    color: var(--text); font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
  .mt-sum .mt-sum-t { flex: 1; min-width: 0; }
  .mt-sum .mt-sum-t b { display: block; font-weight: 600; }
  .mt-sum .mt-sum-t span { color: var(--text-dim); }
  .mt-sum .room-faces { flex-shrink: 0; }
  .mt-sum .mt-chev { color: var(--text-dim); font-size: 21px; line-height: 1; transition: transform .2s ease; }
  .room-meet.open .mt-sum .mt-chev { transform: rotate(180deg); }
  .room-meet .mt-sum { min-height: 44px; }
  .rm-ev-when { font-size: 21px; line-height: 1.3; font-weight: 600; color: var(--cyan); }
  .rm-ev-when.was { color: var(--text-dim); }
  .rm-ev-when .ew-past { margin-left: 8px; vertical-align: middle; }
  .rm-ev .ew-cal { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; margin: -8px 0; color: var(--text-dim);
    font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
  .rm-ev .ew-cal:hover { color: #fff; }
  .rm-ev-where { font-size: 16px; line-height: 1.4; color: var(--text); }
  .rm-ev .room-join, .rm-people .room-join, .rm-people .room-acts { grid-column: auto; grid-row: auto; align-self: flex-start; }
  .rm-going-ok { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--text); }
  .rm-going-ok:before { content: '\2713'; color: #22c55e; }
  /* v3180 (F526 leftover): the quiet way back after Going. Still in the Portal, just not going. */
  .rm-cant { min-height: 44px; padding: 0 8px; background: transparent; border: 0; color: var(--text-dim); font-size: 16px;
    font-family: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .rm-cant:hover { color: var(--text); }
  .rm-cant:disabled { opacity: .6; cursor: default; }
  .rm-people { display: flex; align-items: center; justify-content: space-between; gap: 10px 13px; flex-wrap: wrap; }
  .rm-people .room-who { flex: 1 1 140px; }
  .rm-sub { font-size: 16px; line-height: 1.4; color: var(--text-dim); }
  .rm-right .room-here, .rm-right .room-plan { padding: 13px 0 0; margin: 0; border-top: 1px solid var(--stroke); }
  .rm-right .room-here[hidden] { display: none; }
  /* Uni's three voice chips wrap when the right column is too narrow for them on one row (a container query,
     so it follows the column's own width; older browsers keep the squeeze). */
  .rm-right { container-type: inline-size; }
  /* v3204 (the critic on v3198, F542 stage 2, gate 7): a rail with more below fades at its foot, and shows its bar under the pointer */
  .rm-right.more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 55px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 55px), transparent); }
  @media (hover: hover) { .rm-right:hover { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
    .rm-right:hover::-webkit-scrollbar { display: block; width: 5px; } .rm-right:hover::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 3px; } }
  @container (max-width: 340px) { .rm-right .uvn-seg { flex-wrap: wrap; border-radius: 21px; } .rm-right .uvn-seg button { flex: 1 1 auto; } }
  .rm-main > .room-since { margin: 0 0 13px; padding: 13px 16px; border: 1px solid var(--stroke); border-radius: 21px; background: var(--glass); }
  /* the room's one-line head: the title and the date, in once the post has scrolled under the top bar; a tap goes back up */
  .rm-top { position: sticky; top: calc(var(--rm-top-line, 61px) + env(safe-area-inset-top, 0px)); z-index: 30; height: 0; margin: 0; pointer-events: none; }
  .rm-top-in { display: flex; align-items: center; gap: 8px 13px; min-height: 44px; padding: 0 16px; border-radius: 21px;
    background: rgba(12,12,36,.86); border: 1px solid var(--stroke); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 34px rgba(0,0,0,.35); opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease; cursor: pointer; }
  .rm-top.on .rm-top-in { opacity: 1; transform: none; pointer-events: auto; }
  .rm-top-t { flex: 1; min-width: 0; font-size: 16px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rm-top-d { flex: none; max-width: 45%; font-size: 16px; color: var(--cyan); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* Mute is never the big button: in, a quiet bell; muted, the bell crossed; Join only when you are not in. */
  .room-acts { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .room-bell { width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--stroke); background: transparent;
    color: var(--text-dim); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s ease; }
  .room-bell:hover { color: var(--text); border-color: var(--stroke-bright); }
  .room-bell svg { width: 22px; height: 22px; }
  .room-bell.off { color: var(--text-faint); }
  .room-bell:disabled { opacity: .6; cursor: default; }
  .room-head .room-acts { grid-column: 2; grid-row: 2 / span 2; align-self: center; justify-self: end; }
  .room-head .room-acts.two { grid-column: 1 / -1; grid-row: auto; justify-self: start; margin-top: 8px; }
  /* v3232 (the lead thread on v3228): an event's Portal leads with the event. Title, when and where, who is going,
     one primary (Tickets at the all-in price, or Going); Join is a quiet line under it. */
  .room-title { grid-column: 1 / -1; font-size: 21px; line-height: 1.25; font-weight: 600; color: var(--text); margin: 0 0 5px; }
  .room-when { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 13px; font-size: 16px;
    line-height: 1.4; color: var(--text-dim); margin: 0 0 8px; }
  .room-when .rw-d { color: var(--cyan); font-weight: 600; }
  .room-when .ew-cal { font-size: 16px; }
  .room-head.ev .room-join, .room-head.ev .room-acts { grid-row: 4 / span 2; }
  .room-head.ev .room-acts.two, .room-head.ev .room-acts.ok, .room-head.ev .room-acts.aft { grid-column: 1 / -1; grid-row: auto; justify-self: start; margin-top: 8px; }
  .room-sub-join { background: none; border: 0; padding: 14px 0; margin: -14px 0; font: inherit; font-size: 16px; font-weight: 600;
    color: var(--cyan); cursor: pointer; }
  /* 2026-11-08 Near me's city line and picker. */
  .near-head { margin: 0 0 13px; text-align: center; }
  .near-line { margin: 0; font-size: 16px; color: var(--text-dim); }
  .near-change { min-height: 44px; padding: 0 8px; background: none; border: 0; color: #00d4ff; font: inherit; font-weight: 700; cursor: pointer; }
  .near-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
  .near-chips[hidden] { display: none; }
  .near-chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06);
    color: #fff; font: inherit; font-size: 16px; cursor: pointer; transition: background .2s ease-out; }
  .near-chip.on { background: linear-gradient(135deg, rgba(0,212,255,.32), rgba(168,85,247,.32)); border-color: rgba(0,212,255,.45); }
  .ev-remind.on { color: #fff; }
  /* v3249 (F604): the "another like this" chip, one quiet 16 px line with a 44 px hit area, on the card and in the head */
  .ev-more-like, .room-more-like { display: inline-flex; align-items: center; min-height: 44px; padding: 0; margin: 0;
    background: none; border: 0; font: inherit; font-size: 16px; font-weight: 600; color: var(--cyan); cursor: pointer; text-align: left; }
  .ev-more-like { margin-top: 2px; }
  .room-head .room-more-like { grid-column: 1 / -1; justify-self: start; margin-top: 2px; }
  .rm-ev .room-more-like { margin-top: 4px; }
  /* F470 (v3254): the host's Tags line, in the Need to know line's language, with the kinds as 44 px chips */
  .room-tags .room-tag-chips { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px; padding: 5px 0 3px; }
  .room-tag-chips[hidden] { display: none; }
  .room-tag-chip { min-height: 44px; padding: 0 13px; border-radius: 22px; border: 1px solid var(--stroke); background: rgba(255,255,255,.04);
    color: var(--text); font: inherit; font-size: 16px; cursor: pointer; }
  .room-tag-chip.on { border-color: var(--cyan); color: #fff; background: rgba(0,212,255,.12); }
  .rm-ev .room-tags { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--stroke); }
  .card-pad .post-tags { margin-top: 13px; }   /* v3256: the author's Tags line under their own post */
  .rm-ev-going { margin-top: 8px; font-size: 16px; line-height: 1.4; color: rgba(255,255,255,.72); }
  /* v3277 (F616): Uni thinks you'd click with someone going. Who to meet's own row (the why in the serif), as a full
     row in the phone head and a block in the desktop rail's event card. */
  .room-head .room-uni-meet { grid-column: 1 / -1; margin-top: 8px; }
  .rm-ev .room-uni-meet { margin-top: 13px; }
  .room-uni-meet[hidden] { display: none; }
  .room-uni-meet .avatar, .room-uni-meet .avatar-fallback { width: 34px; height: 34px; font-size: 16px; margin-top: 2px; }
  .room-uni-meet .wm-nm { color: var(--text); }
  @media (max-width: 767px) { .card.evroom .card-pad > h3 { display: none; } }
  /* v3238 (the lead thread): the head carries the date, the place and Add to calendar, so the card under it keeps
     only the host and the description. And at phone width a long primary (Tickets at a price) takes its own row
     under the who line instead of squeezing the quiet Join line to two words (the critic). */
  body.in-room .card.evroom .event-when { display: none; }
  @media (max-width: 767px) { .room-head.ev .room-acts.tix { grid-column: 1 / -1; grid-row: auto; justify-self: start; margin-top: 8px; } }
  .room-head .room-inside { grid-column: 1 / -1; font-size: 16px; line-height: 1.4; color: var(--text-dim); margin-top: 6px; }
  @media (prefers-reduced-motion: reduce) { .rm-top-in, .rm-left, .room-bell, .rm-item { transition: none; } }
  @media (min-width: 768px) {
    /* the date line lives on the right from here; the card keeps the words */
    body.in-room #feed > .rm-main > .card .event-when { display: none; }
  }
  @media (min-width: 768px) and (max-width: 1239px) {
    body.in-room { --rm-top: 80px; --rm-top-line: 61px; }
    body.in-room .container { max-width: 1100px; padding-left: 21px; padding-right: 21px; }
    body.in-room #feed { display: grid; grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); column-gap: 34px; align-items: start; }
    .rm-right { display: block; position: sticky; top: var(--rm-top); max-height: calc(100dvh - var(--rm-top) - 21px); overflow-y: auto;
      overscroll-behavior: contain; scrollbar-width: none; }
    .rm-right::-webkit-scrollbar { display: none; }
    .rm-bar { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin: 0 0 8px; }
    .rm-left { display: block; position: fixed; left: 0; top: var(--rm-top); bottom: 0; width: min(360px, 86vw); z-index: 46; box-sizing: border-box;
      padding: 13px 16px 34px; background: rgba(12,12,36,.94); border-right: 1px solid var(--stroke); backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px); overflow-y: auto; transform: translateX(-104%); transition: transform .25s ease; }
    .rm-left .rm-all { display: none; }
    body.rm-list-open .rm-left { transform: none; box-shadow: 0 0 55px rgba(0,0,0,.5); }
    .rm-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(0,0,0,.4); }
  }
  @media (min-width: 1240px) {
    body.in-room { --rm-top: 110px; --rm-top-line: 61px; }
    body.in-room .container > #feed { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr) minmax(0, 1fr); column-gap: 55px; align-items: start; }
    body.in-room .cl-left, body.in-room .cl-right { display: none; }
    .rm-left, .rm-right { display: block; position: sticky; top: var(--rm-top); max-height: calc(100dvh - var(--rm-top) - 21px); overflow-y: auto;
      overscroll-behavior: contain; scrollbar-width: none; }
    .rm-left::-webkit-scrollbar, .rm-right::-webkit-scrollbar { display: none; }
  }
  /* v1702: the link to the sky sits beside the Soul Fam toggle and reads as
     the same kind of control, so the row stays one pattern. */
  .constellation-link { text-decoration: none; margin-left: 8px; }
  .soul-toggle + .constellation-link { margin-left: 8px; }
  .tribe-tools { display: flex; gap: 8px; margin: 0 -14px 21px; padding: 0 14px; overflow-x: auto;
    scrollbar-width: none; }
  .tribe-tools::-webkit-scrollbar { display: none; }
  .tribe-tools .lens { margin: 0; }

  /* Composer pill */
  .composer-pill {
    width: 100%; height: 52px; margin-bottom: 18px;
    display: flex; align-items: center; gap: 12px; padding: 0 18px;
    background: var(--glass); border: 1px solid var(--stroke);
    border-radius: 26px; color: var(--text-faint);
    font-family: inherit; font-size: 16px; cursor: pointer; text-align: left;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: border-color .2s ease, background .2s ease;
  }
  .composer-pill[hidden] { display: none; }
  .composer-pill:hover { border-color: var(--stroke-bright); background: var(--glass-strong); }
  .composer-pill .plus {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    display: flex; align-items: center; justify-content: center;
    color: #0a0a1a; font-size: 18px; font-weight: 700; line-height: 1;
  }

  /* Feed cards */
  .feed { display: flex; flex-direction: column; gap: 14px; }
  .card {
    position: relative;
    background: var(--glass); border: 1px solid var(--stroke);
    border-radius: var(--radius); overflow: hidden;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transition: border-color .25s ease, transform .25s ease, opacity .3s ease;
    animation: cardIn .35s ease both;
  }
  @keyframes cardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  .card.hiding { opacity: 0; transform: scale(.96); }
  .card-pad { padding: 16px; }
  .card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    object-fit: cover; box-shadow: 0 0 0 2px rgba(0,212,255,.25); }
  .avatar-fallback { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700; color: #0a0a1a;
    background: linear-gradient(135deg, var(--cyan), var(--purple)); }
  /* Curated and flagship rows are CONTENT from an outside source, not members.
     A circle reads as a person; the square tile reads as media, so a Jack
     Kornfield dharma talk never looks like Jack Kornfield has a profile here. */
  .avatar-source { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 16px;
    background: rgba(0,212,255,.08); border: 1px solid rgba(0,212,255,.22);
    color: var(--cyan); }
  .who { min-width: 0; flex: 1 1 auto; }
  /* v3139 (the critic, fix 4b): the badge used to keep its one line and the name gave way
     ("Heather-Le"). On a phone the badge wraps to two short lines and the name stays whole. */
  @media (max-width: 430px) { .card-head .cl-kind { white-space: normal; max-width: 92px; text-align: center;
    line-height: 1.15; letter-spacing: .5px; padding: 3px 8px; } }
  .who .name { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .who .meta { font-size: 16px; color: var(--text-faint); display: flex; align-items: center; gap: 6px; }
  /* v3222 (the critic on v3221, gate 9): the Portal chip and the series name are links, so each is a 44px tap,
     the rows keeping their height. */
  .who .meta .cat { color: rgba(0,212,255,.75); display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; }
  .hide-btn {
    margin-left: auto; width: 44px; height: 44px; margin-right: -10px; margin-top: -8px;
    background: none; border: none; color: var(--text-faint); font-size: 16px;
    cursor: pointer; border-radius: 50%; transition: color .2s ease;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .hide-btn:hover { color: var(--text-dim); }
  .prac-line { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px;
    font-size: 16px; font-weight: 500; color: var(--cyan); text-decoration: none;
    transition: opacity .2s ease; }
  .prac-line:hover { opacity: .8; }
  .card h3 { font-size: 16.5px; font-weight: 600; line-height: 1.35; margin-bottom: 6px; }
  .card .body-text { font-size: 16px; line-height: 1.55; color: var(--text-dim);
    white-space: pre-wrap; word-break: break-word;
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
  .card .body-text.open { display: block; -webkit-line-clamp: unset; }
  /* 2026-11-13 (Shine: "should be able to read full thing on unite"): cut-off words open where they are, on a tap
     of the words or the See more right under them. In the community look the card orders its parts, so See more
     keeps the words' place (order 2) instead of falling under the video. */
  .card .body-text.clamped { cursor: pointer; }
  html body.ch-on:not(.in-room) #feed > .card[data-id]:not(.event):not(.person) > .card-pad > .read-more { order: 2; margin-top: -8px; }
  .act.act-askuni { gap: 6px; }
  .act.act-askuni svg { width: 16px; height: 16px; flex: none; fill: currentColor; }
  .more-btn { background: none; border: none; color: var(--cyan); font-family: inherit;
    font-size: 16px; font-weight: 600; cursor: pointer; padding: 6px 0 0; }
  /* v3142 (the critic, F526c): at 1280 the Meet line or the Reach chip sat on the pill's line with
     0px between them. The pill keeps 8px after itself; on its own line that margin costs nothing. */
  .link-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; margin-right: 8px;
    min-height: 44px; padding: 0 14px; background: rgba(0,212,255,.08);
    border: 1px solid rgba(0,212,255,.2); border-radius: 14px;
    color: var(--cyan); font-size: 16px; font-weight: 600; text-decoration: none;
    transition: background .2s ease; max-width: 100%; }
  .link-pill:hover { background: rgba(0,212,255,.14); }
  .link-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .post-media { display: block; width: 100%; max-height: 340px; object-fit: cover;
    background: rgba(255,255,255,.03); }
  /* v3244: a member's own photo (a flyer) is shown whole; a portrait flyer's words would be cut by the banner crop */
  .post-media.own { max-height: 480px; object-fit: contain; background: rgba(10,10,26,.55); }
  .yt-wrap { position: relative; display: block; cursor: pointer; }
  .emb { width: 100%; background: rgba(255,255,255,.03); }
  .emb iframe { display: block; width: 100%; height: 100%; border: 0; }
  .emb-video { aspect-ratio: 16 / 9; }
  .card .body-text:empty { display: none; }
  .edit-box { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
  .edit-box textarea, .edit-box input { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px;
    color: var(--text); background: rgba(255,255,255,.06); border: 1px solid rgba(0,212,255,.25);
    border-radius: 12px; padding: 10px 12px; resize: vertical; }
  .edit-box input { min-height: 44px; }
  .edit-box textarea:focus, .edit-box input:focus { outline: none; border-color: var(--cyan); }
  .edit-row { display: flex; justify-content: flex-end; gap: 8px; }
  .edit-save { min-height: 44px; padding: 0 20px; border: none; border-radius: 22px; cursor: pointer;
    font: inherit; font-weight: 700; color: #0a0a1a; background: linear-gradient(135deg, #00d4ff, #a855f7);
    transition: opacity .15s ease; }
  .edit-save:disabled { opacity: .6; }
  .yt-wrap .post-media { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
  /* v3222: a poster that never loads leaves the frame and the play button, not a broken-picture glyph. */
  .yt-wrap.noposter { aspect-ratio: 16 / 9; background: linear-gradient(135deg, rgba(0,212,255,.14), rgba(168,85,247,.14)); }
  .yt-wrap.noposter .post-media { visibility: hidden; }
  .yt-wrap .play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 58px; height: 58px; border-radius: 50%;
    background: rgba(10,14,39,.72); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 2px rgba(0,212,255,.4), 0 4px 24px rgba(0,0,0,.4);
    transition: transform .2s ease;
  }
  .yt-wrap:hover .play { transform: translate(-50%,-50%) scale(1.08); }
  .yt-wrap .play::after { content: ''; display: block; margin-left: 5px;
    border-style: solid; border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent #fff; }

  /* v2963: how a post left you, one tap, signed-in members only. */
  .pf-feel { display: none; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
  body.pf-in .pf-feel { display: flex; }
  .pf-q { font-size: 16px; color: var(--text-dim); margin-right: 4px; }
  .pf-b { min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.03); color: var(--text-dim); font-family: inherit; font-size: 16px; font-weight: 600;
    cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
  .pf-b:hover { background: var(--glass-strong); }
  .pf-b.on { color: #fff; border-color: rgba(0,212,255,.45); background: rgba(0,212,255,.12); }
  @media (max-width: 460px) { .pf-b { padding: 0 11px; } .pf-q { flex-basis: 100%; } }

  /* Actions row */
  .actions { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
  .act {
    height: 44px; padding: 0 14px; display: inline-flex; align-items: center; gap: 7px;
    background: none; border: 1px solid transparent; border-radius: 22px;
    color: var(--text-dim); font-family: inherit; font-size: 16px; font-weight: 600;
    cursor: pointer; transition: all .2s ease;
  }
  .act:hover { background: var(--glass-strong); }
  .actions { flex-wrap: wrap; row-gap: 4px; }
  .act-ic { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: currentColor;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .act.act-icon { padding: 0; width: 44px; justify-content: center; }
  /* v1927: the loop row (lead, heart, Reply, I know someone, Send) fits one
     line on a phone: the heart and Send are icons, Reply drops its icon. */
  .act.helped .hc:empty { display: none; }
  @media (max-width: 460px) {
    .actions { gap: 2px; }
    .act { padding: 0 9px; }
    .act.helped { padding: 0; min-width: 40px; justify-content: center; }
    .act.act-icon { width: 40px; }
    .act[data-comments] .act-ic { display: none; }
  }
  /* v1627: the heart used to be a fixed-color emoji, pink when liked, off the
     brand palette (cyan + purple only). An inline SVG heart takes the same two
     colors as everything else on this page instead of inventing a third. */
  .act.helped.on { color: var(--cyan); border-color: rgba(0,212,255,.28);
    background: rgba(0,212,255,.08); }
  .act.helped .heart-icon { width: 17px; height: 17px; flex-shrink: 0;
    fill: none; stroke: currentColor; stroke-width: 1.8;
    transition: transform .25s cubic-bezier(.3,1.6,.6,1), fill .2s ease, stroke .2s ease; }
  .act.helped.on .heart-icon { fill: var(--cyan); stroke: var(--cyan);
    filter: drop-shadow(0 0 5px rgba(0,212,255,.5)); transform: scale(1.2); }

  /* Comments */
  .comments { border-top: 1px solid var(--stroke); padding: 12px 16px 14px; display: none; }
  .comments.open { display: block; }
  .comment { display: flex; gap: 9px; padding: 7px 0; }
  .comment .avatar-fallback { width: 28px; height: 28px; font-size: 16px; }
  /* v1958: a face or name you can tap to open the person. */
  .ptap { background: none; border: none; padding: 0; margin: 0; font: inherit; color: inherit;
    text-decoration: none; cursor: pointer; display: inline-flex; flex-shrink: 0; border-radius: 50%;
    transition: opacity .15s ease; }
  .who .ptap { border-radius: 4px; }
  .ptap:hover { opacity: .85; }
  .who .ptap:hover { text-decoration: underline; text-underline-offset: 3px; }
  .ptap-lb { position: fixed; inset: 0; z-index: 10050; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 14px; background: rgba(5,5,20,.88);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: zoom-out;
    animation: ptapIn .2s ease; color: #fff; font-size: 17px; font-weight: 600; }
  .ptap-lb img { width: min(78vw, 420px); height: min(78vw, 420px); object-fit: cover; border-radius: 50%;
    box-shadow: 0 0 60px rgba(0,212,255,.35), 0 0 120px rgba(168,85,247,.25); }
  @keyframes ptapIn { from { opacity: 0; } to { opacity: 1; } }
  /* v3447: the heart's number is its own tap (opens who liked it), so it gets a real target. */
  .act.helped .hc { align-self: stretch; display: inline-flex; align-items: center;
    padding: 0 13px 0 5px; margin-right: -14px; border-radius: 0 22px 22px 0; }
  .act.helped .hc:hover { text-decoration: underline; text-underline-offset: 3px; }
  @media (max-width: 460px) { .act.helped .hc { margin-right: 0; }
    .act.helped:has(.hc:not(:empty)) { padding-left: 11px; } }
  /* v3447: who liked it, the house popup (bright, X top right, tap outside closes). Fibonacci steps. */
  .lk-bg { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center;
    padding: 21px; background: rgba(5,5,20,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    animation: ptapIn .2s ease; }
  .lk-card { position: relative; width: min(100%, 377px); max-height: min(78vh, 610px); display: flex; flex-direction: column;
    background: linear-gradient(150deg,#00d4ff 0%,#7f8cff 52%,#a855f7 100%); border: 1px solid rgba(255,255,255,.55);
    color: #0a0a1a; border-radius: 21px; padding: 21px 13px 13px;
    box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 60px rgba(0,212,255,.35); animation: lkUp .25s cubic-bezier(.2,.9,.3,1); }
  @keyframes lkUp { from { transform: translateY(13px); opacity: 0; } to { transform: none; opacity: 1; } }
  .lk-card h2 { margin: 0 55px 13px 8px; font-size: 21px; font-weight: 700; color: #0a0a1a; line-height: 1.3; }
  .lk-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.35); color: #0a0a1a; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .15s, transform .15s; }
  .lk-x:hover { background: rgba(255,255,255,.6); } .lk-x:active { transform: scale(.94); }
  .lk-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
  .lk-list { overflow-y: auto; display: flex; flex-direction: column; gap: 5px; }
  .lk-row { display: flex; align-items: center; gap: 13px; min-height: 55px; padding: 5px 13px 5px 8px; border-radius: 13px;
    background: rgba(255,255,255,.28); color: #0a0a1a; text-decoration: none; transition: background .15s, transform .15s; }
  a.lk-row:hover { background: rgba(255,255,255,.5); } a.lk-row:active { transform: scale(.98); }
  .lk-row .lk-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 17px;
    border: 2px solid rgba(255,255,255,.7); }
  .lk-name { flex: 1; font-size: 17px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lk-go { font-size: 26px; line-height: 1; color: #2b1a6b; }
  .lk-wait, .lk-more { padding: 13px 8px; font-size: 16px; color: rgba(10,10,26,.78); }
  .lk-more { text-align: center; }
  @media (max-width: 460px) { .lk-bg { align-items: flex-end; padding: 0; }
    .lk-card { width: 100%; border-radius: 21px 21px 0 0; padding-bottom: calc(13px + env(safe-area-inset-bottom)); } }
  .comment .c-body { font-size: 16px; line-height: 1.45; color: var(--text-dim); }
  .comment .c-name { font-weight: 600; color: var(--text); margin-right: 6px; }
  /* v1687 item 9: @handle tagging */
  .mention { color: var(--cyan, #00d4ff); text-decoration: none; font-weight: 700; }
  .mention:hover { text-decoration: underline; }
  .hp-menu { position: absolute; z-index: 10002; min-width: 208px; max-width: 300px;
    max-height: 232px; overflow-y: auto; padding: 6px;
    background: rgba(12, 16, 38, .97); border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, .55);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .hp-item { display: flex; align-items: center; gap: 9px; min-height: 44px;
    padding: 0 11px; border-radius: 10px; cursor: pointer; }
  .hp-item.on, .hp-item:hover { background: rgba(0, 212, 255, .13); }
  .hp-item b { font-size: 16px; font-weight: 700; color: #f0f0ff; }
  .hp-item span { font-size: 16px; color: rgba(240, 240, 255, .45); }

  .comment-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
  /* v1999: edit and delete on a reply. Quiet text buttons, full 44px tap height. */
  .c-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 2px; }
  .c-tool { min-height: 44px; padding: 0 12px; background: none; border: 0; border-radius: 22px;
    color: var(--text-dim, rgba(255,255,255,.65)); font-family: inherit; font-size: 16px; font-weight: 600;
    cursor: pointer; transition: color .2s ease, background .2s ease; }
  .c-tool:hover { color: var(--text); background: rgba(255,255,255,.06); }
  .c-tool.danger { color: #ef4444; }
  .c-tools.c-why .why-lbl { font-size: 16px; color: rgba(240,240,255,.55); padding: 0 5px; }
  .c-tool.quiet { color: rgba(240,240,255,.6); }
  a.c-tool { display: inline-flex; align-items: center; text-decoration: none; }
  .c-text.c-reported { color: rgba(240,240,255,.6); font-style: italic; }
  /* v2302-ask-uni: Uni's answer in a thread, labelled for what it is. */
  .comment.c-uni .avatar { box-shadow: 0 0 0 1px rgba(0,212,255,.35), 0 0 14px rgba(168,85,247,.35); }
  /* v3217 (F543): a post from one of Uni's series names the series and offers Follow in one tap. */
  .c-series { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; margin: 8px 0 0; font-size: 16px; color: var(--text-dim); }
  .c-series a { color: var(--text); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
  .c-follow { min-height: 44px; padding: 0 21px; border-radius: 22px; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
    border: 0; color: #0a0a1a; background: linear-gradient(90deg, #00d4ff, #a855f7); transition: all .2s ease; }
  a.c-follow { display: inline-flex; align-items: center; text-decoration: none; }
  .c-follow.on { background: transparent; border: 1px solid var(--stroke); color: var(--text-dim); font-weight: 500; }
  .c-follow:disabled { opacity: .6; cursor: default; }
  /* Your day, from Uni: the morning card in the Uni slot. Uni's line and a count, never the notes. */
  .myday-line { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 21px; line-height: 1.35; color: var(--text); margin: 8px 0 0; }
  .myday-sub { font-size: 16px; color: var(--text-dim); margin-top: 8px; }
  .myday-acts { display: flex; gap: 13px; flex-wrap: wrap; align-items: center; margin-top: 13px; }
  .myday-acts .mt-lnk { min-height: 44px; padding: 0 8px; background: none; border: 0; color: var(--text-dim); font: inherit; font-size: 16px;
    text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .c-uni-tag { display: inline-block; font-size: 16px; font-weight: 600; letter-spacing: .02em;
    color: var(--cyan, #00d4ff); background: rgba(0,212,255,.10); border: 1px solid rgba(0,212,255,.25);
    border-radius: 999px; padding: 1px 8px; margin-right: 6px; vertical-align: 1px; }
  .c-helped-q { font-size: 16px; color: var(--text-dim); margin-right: 2px; }
  .c-helped-done { font-size: 16px; color: var(--text-dim); padding: 13px 0 0; }
  .c-uni-wait .c-text { opacity: .75; }
  .c-uni-wait .c-dots::after { content: ''; animation: cUniDots 1.2s steps(4, end) infinite; }
  @keyframes cUniDots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
  .c-ask { font-size: 16px; color: var(--text); margin-right: 4px; }
  .c-edited { font-size: 16px; color: var(--text-dim, rgba(255,255,255,.55)); }
  .c-editbox { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
  .c-editbox input { flex: 1 1 200px; height: 44px; padding: 0 14px; background: var(--glass-strong);
    border: 1px solid rgba(0,212,255,.45); border-radius: 22px; color: var(--text); font-family: inherit;
    font-size: 16px; outline: none; }
  .c-save { min-height: 44px; padding: 0 18px; border: 0; border-radius: 22px; cursor: pointer;
    background: linear-gradient(135deg, #00d4ff, #a855f7); color: #0a0a1a; font-family: inherit; font-weight: 700; }
  /* v1997: reach out to a recommended site from your own email or phone. */
  .reach-chip { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; padding: 0 16px;
    background: rgba(0,212,255,.08); border: 1px solid rgba(0,212,255,.35); border-radius: 22px;
    color: #00d4ff; font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
    transition: background .2s ease, border-color .2s ease; }
  .reach-chip:hover { background: rgba(0,212,255,.16); border-color: rgba(0,212,255,.6); }
  .reach-chip:disabled { opacity: .7; cursor: default; }
  .comment .reach-chip { display: flex; width: max-content; }
  /* v2688: on your own post, how replies reach you, changed in one tap. */
  .my-reach { margin-top: 13px; font-size: 16px; line-height: 1.45; color: var(--text-dim); }
  .my-reach:empty { display: none; }
  .my-reach .mr-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .my-reach .mr-link { background: none; border: 0; padding: 0 2px; min-height: 44px; color: var(--cyan);
    font: inherit; font-weight: 600; cursor: pointer; }
  .my-reach .mr-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
  .my-reach .mr-pill { min-height: 44px; padding: 0 16px; border-radius: 22px; cursor: pointer; font-family: inherit;
    font-size: 16px; font-weight: 600; color: var(--text-dim); background: var(--glass);
    border: 1px solid var(--stroke); transition: background .2s ease, border-color .2s ease, color .2s ease; }
  .my-reach .mr-pill.on { color: var(--text); border-color: rgba(0,212,255,.55);
    background: linear-gradient(135deg, rgba(0,212,255,.24), rgba(168,85,247,.28)); }
  .my-reach .mr-pill:disabled { opacity: .6; cursor: default; }
  .my-reach .mr-row { display: flex; gap: 8px; margin-top: 8px; }
  .my-reach .mr-in { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border-radius: 22px; font: inherit;
    font-size: 16px; color: var(--text); background: var(--glass-strong); border: 1px solid var(--stroke); }
  .my-reach .mr-go { min-height: 44px; padding: 0 16px; border: 0; border-radius: 22px; cursor: pointer; font-family: inherit;
    font-weight: 700; background: linear-gradient(135deg, #00d4ff, #a855f7); color: #0a0a1a; transition: opacity .2s ease; }
  .my-reach .mr-go:disabled { opacity: .6; }
  .my-reach .mr-err { color: #ffb4b4; margin-top: 6px; }
  .my-reach .mr-pill.sug { color: var(--text); border-color: rgba(0,212,255,.55); }
  .my-reach .mr-best { font-size: 16px; font-weight: 600; color: var(--cyan); margin-left: 4px; }
  .my-reach .mr-sub { margin-top: 13px; font-size: 16px; color: var(--text-faint); }
  .reach-box { margin-top: 8px; }
  .reach-row { display: flex; flex-wrap: wrap; gap: 8px; }
  .reach-go { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 22px;
    border: 1px solid var(--stroke); background: var(--glass-strong); color: var(--text);
    font-size: 16px; font-weight: 600; text-decoration: none; transition: border-color .2s ease; }
  .reach-go:hover { border-color: rgba(0,212,255,.6); }
  .reach-go.primary { background: linear-gradient(135deg, #00d4ff, #a855f7); border-color: transparent; color: #0a0a1a; }
  .reach-note { margin: 8px 0 0 4px; font-size: 16px; color: var(--text-dim, rgba(255,255,255,.7)); }
  /* v1993: the name ask sits right above the reply box, never a browser popup. */
  .name-ask { margin-top: 13px; }
  .name-ask label { display: block; font-size: 16px; color: var(--text-dim, rgba(255,255,255,.7)); margin: 0 0 8px 4px; }
  .name-ask input { width: 100%; height: 44px; padding: 0 14px;
    background: var(--glass-strong); border: 1px solid rgba(0,212,255,.45); border-radius: 22px;
    color: var(--text); font-family: inherit; font-size: 16px; outline: none; }
  .comment-form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px;
    background: var(--glass-strong); border: 1px solid var(--stroke); border-radius: 22px;
    color: var(--text); font-family: inherit; font-size: 16px; outline: none;
    transition: border-color .2s ease; }
  .comment-form input:focus { border-color: var(--stroke-bright); }
  .comment-form button { height: 44px; padding: 0 18px; flex-shrink: 0; white-space: nowrap;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    border: none; border-radius: 22px; color: #0a0a1a;
    font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
    transition: opacity .2s ease, transform .15s ease; }
  .comment-form button:active { transform: scale(.96); }
  .comment-form button:disabled { opacity: .5; cursor: default; }

  /* Event card */
  .card.event { border-color: rgba(0,212,255,.18); }
  /* v1613: a real event poster (Samuel J's tour banner) was getting sliced by a
     fixed 180px object-fit:cover crop, cutting its own "Tickets" label clean off.
     Height now follows the image's own aspect ratio instead of forcing one, so a
     tall or a wide poster both show whole; capped so an unusually tall one still
     fits the feed without dominating it. */
  img.event-img { width: 100%; height: auto; max-height: 520px; object-fit: contain;
    display: block; background: linear-gradient(135deg, rgba(0,212,255,.12), rgba(168,85,247,.14));
    /* v3225 (the lead thread on v3224): until the picture arrives, or when it never does, the slot
       keeps the banner shape, so the Event pill never sits on the date line. A loaded picture
       keeps its own ratio (v1613). */
    aspect-ratio: auto 1.91 / 1; }
  /* The empty slot takes the Facebook banner shape (1.91:1) so it matches what
     a real banner will occupy. The <img> above deliberately keeps its own
     ratio: v1613 stopped a fixed crop slicing Samuel J's tour poster, and
     forcing 1.91 here would slice it again. A banner made at 1.91 renders at
     1.91 either way. */
  div.event-img { width: 100%; aspect-ratio: 1.91/1; height: auto; display: block;
    background: linear-gradient(135deg, rgba(0,212,255,.12), rgba(168,85,247,.14)); }
  .event-tag { position: absolute; top: 12px; left: 12px;
    padding: 5px 12px; border-radius: 12px; font-size: 16px; font-weight: 700;
    letter-spacing: .4px; text-transform: uppercase;
    background: rgba(7,11,32,.78); backdrop-filter: blur(8px);
    color: var(--cyan); border: 1px solid rgba(0,212,255,.3); }
  .card-open { display: block; color: inherit; text-decoration: none; }
  .card-open h3 { transition: color .15s ease; }
  .card-open:hover h3 { color: var(--cyan, #00d4ff); }
  .card.event.hangout { border-color: rgba(168,85,247,.28); }
  .card.event.hangout .event-tag { color: #c99bff; border-color: rgba(168,85,247,.4); }
  .hg-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; }
  .hg-badge { font-size: 16px; font-weight: 700; letter-spacing: .3px; padding: 4px 10px;
    border-radius: 12px; background: rgba(0,212,255,.08); border: 1px solid rgba(0,212,255,.28);
    color: var(--cyan); }
  .btn-primary.is-going { background: rgba(74,222,128,.14); border: 1px solid rgba(74,222,128,.4);
    color: #4ade80; }
  /* v3228: Going with no account. The sheet asks for a first name (and an optional email) in place. */
  .ev-going-slot { margin-top: 13px; }
  .room-head .ev-going-slot { grid-column: 1 / -1; }
  .ev-going-sheet { display: grid; gap: 13px; padding: 13px; border-radius: 13px; background: rgba(0,212,255,.06);
    border: 1px solid rgba(0,212,255,.22); }
  .ev-going-sheet .ev-l { display: grid; gap: 5px; font-size: 16px; color: var(--text-dim); }
  .ev-going-sheet input { width: 100%; min-height: 44px; padding: 10px 13px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,.14); background: rgba(10,10,30,.6); color: var(--text, #f0f0ff); font-size: 16px; }
  .ev-going-sheet input:focus { outline: none; border-color: rgba(0,212,255,.55); }
  .ev-sheet-row { display: flex; gap: 8px; flex-wrap: wrap; }
  .ev-sheet-row .btn-primary, .ev-sheet-row .btn-ghost { min-height: 44px; }
  .ev-hint { margin: 0; font-size: 16px; color: var(--text-faint); }
  .event-date { font-size: 16px; color: var(--cyan); font-weight: 600; margin-bottom: 5px; }
  /* 2026-11-21: a city listing on the city tab names where it is */
  .listing-where { font-size: 14px; color: rgba(220,234,255,.72); margin: -2px 0 10px; }
  .place-end .btn-ghost { margin-top: 8px; }
  .event-people { font-size: 16px; color: var(--text-faint); margin-top: 6px; }
  /* v1721: the face row. Overlapped circles, friends first and ringed, so the
     card answers "who" before it answers "how many". */
  .hg-faces { display: flex; align-items: center; margin-top: 10px; padding-left: 3px; }
  .hg-face { display: block; margin-left: -8px; border-radius: 50%; line-height: 0;
    box-shadow: 0 0 0 2px #0d1230; }
  .hg-face:first-child { margin-left: 0; }
  .hg-face.is-friend { box-shadow: 0 0 0 2px #0d1230, 0 0 0 3.5px rgba(0,212,255,.75); }
  .hg-faces .avatar, .hg-faces .avatar-fallback { width: 30px; height: 30px; font-size: 16px; }
  .hg-face-more { margin-left: 4px; font-size: 16px; font-weight: 700;
    color: var(--text-faint); }
  .event-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
  /* v3225: each button keeps its words on one line (See the event wrapped to two at 390); the row
     is shared from the words up, and a third button drops to the next line only when it must. */
  .event-ctas > .btn-primary, .event-ctas > .btn-ghost { flex: 1 1 auto; white-space: nowrap;
    padding: 0 12px; min-width: 0; }
  .btn-primary { flex: 1; height: 46px; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    border: none; border-radius: 23px; color: #0a0a1a; text-decoration: none;
    font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease; }
  .btn-primary:hover { box-shadow: 0 4px 18px rgba(0,212,255,.3); }
  .btn-primary:active { transform: scale(.97); }
  .feed-more { display: flex; justify-content: center; padding: 21px 0 34px; }
  .feed-more .btn-ghost { flex: 0 1 auto; padding: 0 34px; }
  .btn-ghost { flex: 1; height: 46px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--glass-strong); border: 1px solid var(--stroke);
    border-radius: 23px; color: var(--text); text-decoration: none;
    font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
    transition: border-color .2s ease; }
  .btn-ghost:hover { border-color: var(--stroke-bright); }

  /* Person / offer card */
  .card.person { border-color: rgba(168,85,247,.20); }
  .person-row { display: flex; gap: 12px; align-items: flex-start; }
  .person-row .avatar, .person-row .avatar-fallback { width: 52px; height: 52px; font-size: 20px; }
  .offer-line { font-size: 16px; line-height: 1.5; color: var(--text-dim); margin-top: 3px; }
  .offer-line b { color: rgba(168,85,247,.9); font-weight: 600; }
  .offer-line.ask b { color: rgba(0,212,255,.9); }

  /* End-cap when a lens runs out of its own content */
  /* v1625: laid out as a column with a gap. The line and the button each carried
     their own margins and overlapped at narrow widths. */
  .lens-endcap { display: flex; flex-direction: column; align-items: center; gap: 12px;
    text-align: center; padding: 22px 16px;
    background: var(--glass); border: 1px dashed var(--stroke);
    border-radius: var(--radius); }
  .lens-endcap .endcap-line { font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-size: 19px; line-height: 1.35; color: var(--text-dim); margin: 0; }
  .lens-endcap .endcap-share { width: 100%; max-width: 240px; margin: 0; flex: 0 0 auto; }
  .lens-endcap .friends-note, .lens-endcap .friends-sub { margin: 0; }

  /* v2583: a front door to /astrology, /tarot and /quizzes. One feed card,
     three pills, set in after the third post so the first screen is unchanged. */
  .fd-card h3 { margin-bottom: 4px; }
  .fd-card .body-text { margin-bottom: 12px; }
  .fd-row { display: flex; gap: 8px; }
  .fd-row .link-pill { flex: 1 1 0; min-width: 0; justify-content: center; margin-top: 0; margin-right: 0; padding: 0 10px; }

  /* Friends lens (v1579) */
  .people-strip { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 14px;
    scrollbar-width: none; }
  .people-strip::-webkit-scrollbar { display: none; }
  /* v1645: a class rule that sets display beats the UA sheet's [hidden], so this
     card rendered from page load with its empty default markup no matter what
     renderNameNudge decided. Signed-in members with a name AND a photo were
     shown a blank card asking them to sign in. Same trap as .nn-row[hidden],
     fixed on the child and missed on the parent. */
  .name-nudge[hidden] { display: none !important; }
  .name-nudge { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px;
    padding: 14px 16px; background: var(--glass); border: 1px solid var(--stroke-bright);
    border-radius: var(--radius); }
  .name-nudge .nn-head { display: flex; align-items: center; gap: 12px; }
  .name-nudge .nn-face { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    font-size: 19px; font-weight: 700; color: #0a0a1a;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    box-shadow: 0 0 0 2px rgba(0,212,255,.30); }
  .name-nudge .nn-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
  /* No photo yet: a dashed ring reads as a slot to fill, not as a broken image. */
  /* v1637: NOT .empty. That class already exists on this page for feed empty
     states and carries padding: 48px 20px, which turned this 48px circle
     into a 98px tall oval. */
  .name-nudge .nn-face.nn-blank { background: rgba(255,255,255,.05);
    border: 1px dashed var(--stroke-bright); box-shadow: none;
    color: var(--text-faint); font-size: 22px; font-weight: 400; }
  .name-nudge .nn-text { font-size: 16px; line-height: 1.5; color: var(--text-dim); }
  .name-nudge .nn-photo { display: flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0 16px; border-radius: 14px; cursor: pointer;
    color: #0a0a1a; font-size: 16px; font-weight: 700;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    transition: opacity .2s ease; }
  .name-nudge .nn-photo:hover { opacity: .88; }
  .name-nudge .nn-photo.busy { opacity: .6; pointer-events: none; }
  .name-nudge .nn-more { display: block; text-align: center; font-size: 16px;
    color: var(--text-faint); text-decoration: none; padding: 6px 0 0; }
  .name-nudge .nn-more:hover { color: var(--cyan); }
  .name-nudge .nn-text em { font-style: normal; color: var(--text); }
  .name-nudge .nn-row { display: flex; gap: 8px; }
  /* A class rule setting display beats the UA sheet's [hidden], so the row
     kept rendering after nameRow.hidden = true. Same trap as .nn-face.empty. */
  .name-nudge .nn-row[hidden] { display: none; }
  .name-nudge input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 14px;
    background: rgba(255,255,255,.05); border: 1px solid var(--stroke); color: var(--text);
    font-family: inherit; font-size: 16px; }
  .name-nudge input:focus { outline: none; border-color: var(--stroke-bright); }
  .name-nudge button { flex-shrink: 0; min-height: 44px; padding: 0 18px; border-radius: 14px;
    border: none; cursor: pointer; font-family: inherit; font-size: 16px; font-weight: 700;
    color: #0a0a1a; background: linear-gradient(135deg, var(--cyan), var(--purple)); }
  .person-chip { flex-shrink: 0; width: 72px; background: none; border: none;
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    font-family: inherit; position: relative; padding: 4px 0;
    -webkit-tap-highlight-color: transparent; }
  .person-chip .person-face { display: block; text-decoration: none; cursor: pointer; }
  .person-chip img, .person-chip .pinitial { width: 54px; height: 54px; border-radius: 50%;
    object-fit: cover; display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700; color: #0a0a1a;
    box-shadow: 0 0 0 2px rgba(0,212,255,.30); transition: box-shadow .2s ease; }
  .person-chip.soul img, .person-chip.soul .pinitial {
    box-shadow: 0 0 0 2px #ffd166, 0 0 12px rgba(255,209,102,.35); }
  /* v1702: a mutual star. One ring is a star you gave. Two rings is one you got
     back, and it is the only state on this strip that took two people. */
  .person-chip.mutual img, .person-chip.mutual .pinitial {
    box-shadow: 0 0 0 2px #ffd166, 0 0 0 4px rgba(0,212,255,.55), 0 0 16px rgba(0,212,255,.40); }
  .person-chip.mutual .pname { color: var(--text); }
  .person-chip .pname { font-size: 16px; font-weight: 600; color: var(--text-dim);
    max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* The star is its own 44px target so tapping a face never marks someone by
     accident, and marking someone never opens their page. */
  /* Remove from your tribe. Mirrors the star on the other corner, same 44px
     target, and stays quiet until you hover or focus the chip. */
  .person-chip .pdrop { position: absolute; top: -4px; left: 0; width: 44px; height: 44px;
    display: flex; align-items: flex-start; justify-content: flex-start; padding: 2px 0 0 2px;
    background: none; border: none; cursor: pointer; font-family: inherit;
    font-size: 17px; line-height: 1; color: var(--text-faint); opacity: 0;
    transition: opacity .15s ease, color .15s ease; -webkit-tap-highlight-color: transparent; }
  .person-chip:hover .pdrop, .person-chip .pdrop:focus-visible { opacity: 1; }
  .person-chip .pdrop:hover { color: #ef4444; }
  @media (hover: none) { .person-chip .pdrop { opacity: .55; } }
  /* v2727: the star was a bare text glyph with no colour, so it drew black on
     the dark sky and nobody could find how to add Soul Fam. It is now a gold
     badge on the avatar's corner: an outline star you can see, filling solid
     gold once someone is in. The 44px button around it is the tap target. */
  .person-chip .pstar { position: absolute; top: -6px; right: -4px; width: 44px; height: 44px;
    display: flex; align-items: flex-start; justify-content: flex-end; padding: 2px 2px 0 0;
    background: none; border: none; cursor: pointer;
    font-family: inherit; -webkit-tap-highlight-color: transparent; }
  .person-chip .pstar .sbadge { width: 26px; height: 26px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10,10,26,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255,209,102,.85); box-shadow: 0 0 10px rgba(255,209,102,.28);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
  .person-chip .pstar svg { width: 15px; height: 15px; display: block;
    fill: none; stroke: #ffd166; stroke-width: 2; stroke-linejoin: round; }
  .person-chip .pstar:hover .sbadge, .person-chip .pstar:focus-visible .sbadge {
    transform: scale(1.12); box-shadow: 0 0 14px rgba(255,209,102,.5); }
  .person-chip.soul .pstar .sbadge { background: linear-gradient(135deg, #ffe08a, #f5b942);
    border-color: #ffe9a8; box-shadow: 0 0 14px rgba(255,209,102,.6); }
  .person-chip.soul .pstar svg { fill: #3a2600; stroke: #3a2600; stroke-width: 1.5; }
  .person-chip .pstar.pop .sbadge { animation: starPop .35s ease; }
  @keyframes starPop { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }
  @media (prefers-reduced-motion: reduce) { .person-chip .pstar.pop .sbadge { animation: none; } }
  .soul-toggle { margin-bottom: 14px; }
  .friends-sub { font-size: 16px; color: var(--text-dim); line-height: 1.55; margin-bottom: 14px; }
  .friends-note { font-size: 16px; color: var(--text-faint); margin-top: 14px; line-height: 1.5; }

  /* Section divider for lens fallback */
  .feed-divider { display: flex; align-items: center; gap: 12px; margin: 8px 0 2px;
    color: var(--text-faint); font-size: 16px; font-weight: 600; }
  .feed-divider::before, .feed-divider::after { content: ''; flex: 1; height: 1px;
    background: var(--stroke); }
  .feed-divider .cg { font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 16px; color: var(--text-dim); }

  /* v1635: when and where a linked event happens, on the card. Cyan because it
     is the fact that decides whether you can go, not decoration. */
  /* v1646: the ask-router card. It says WHY it is there in the member's own
     words, every time, and the way to turn it off sits on the card itself
     rather than three screens away in settings. */
  .intent-card { margin-bottom: 14px; padding: 15px 16px; border-radius: var(--radius);
    background: var(--glass); border: 1px solid rgba(0,212,255,.24); }
  .intent-why { font-size: 16px; color: var(--text-dim); margin-bottom: 4px; }
  .intent-why b { color: var(--cyan); font-weight: 700; }
  .intent-head { font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 19px; line-height: 1.3; margin-bottom: 12px; }
  .intent-p { display: flex; align-items: center; gap: 11px; padding: 9px 0;
    border-top: 1px solid rgba(255,255,255,.07); text-decoration: none; color: inherit;
    min-height: 56px; }
  .intent-p:first-of-type { border-top: none; }
  .intent-p img, .intent-p .ip-blank { width: 42px; height: 42px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0; display: flex; align-items: center;
    justify-content: center; font-size: 16px; font-weight: 700; color: #0a0a1a;
    background: linear-gradient(135deg, var(--cyan), var(--purple)); }
  /* display:block, because these are spans and ran together as one line. */
  .intent-p .ip-name { display: block; font-size: 16px; font-weight: 600; }
  .intent-p .ip-mod { display: block; font-size: 16px; color: var(--text-faint);
    margin-top: 2px; line-height: 1.4; }
  .intent-p .ip-go { margin-left: auto; color: var(--cyan); font-size: 16px; flex-shrink: 0; }
  .intent-off { display: block; width: 100%; min-height: 44px; margin-top: 10px;
    background: none; border: none; cursor: pointer; font-family: inherit;
    font-size: 16px; font-weight: 600; color: var(--text-faint); }
  .intent-off:hover { color: var(--cyan); }

  .event-when { display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--cyan); }
  .event-when .ew-dot { color: var(--text-faint); font-weight: 400; }
  .event-when .ew-where { color: var(--text-dim); font-weight: 500; }
  .event-when.was { color: var(--text-dim); }
  .event-when .ew-past { padding: 2px 8px; border-radius: 999px; font-size: 16px;
    font-weight: 600; letter-spacing: 0.3px; color: var(--text-faint);
    background: rgba(255,255,255,0.05); border: 1px solid var(--stroke); }
  /* v3135: Add to calendar at the end of the date line inside a Portal. The row keeps its
     height; the link's own box is 44px tall for the thumb. */
  .event-when .ew-cal { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0 -12px auto;
    padding: 0 2px; color: var(--text-dim); font-size: 16px; font-weight: 600; text-decoration: underline;
    text-underline-offset: 3px; white-space: nowrap; transition: color 0.2s; }
  .event-when .ew-cal:hover { color: #fff; }

  /* v1635: past events collapse behind one line, the same shape /events has used
     since v1212. A gathering that already happened is worth keeping (people look
     back for the photos and the host) but it must not sit above the ones people
     can still go to. */
  .past-toggle { display: block; width: 100%; min-height: 44px; margin: 14px 0 0;
    padding: 12px 16px; border-radius: var(--radius);
    background: var(--glass); border: 1px dashed var(--stroke);
    color: var(--text-dim); font-size: 16px; font-weight: 600; font-family: inherit;
    cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
  .past-toggle:hover { background: rgba(255,255,255,0.06); color: var(--text);
    border-color: rgba(0,212,255,0.28); }
  .past-list { margin-top: 10px; opacity: 0.72; }
  .past-list.hidden { display: none; }

  /* Skeleton + empty */
  .skel { height: 150px; border-radius: var(--radius);
    background: linear-gradient(100deg, var(--glass) 40%, var(--glass-strong) 50%, var(--glass) 60%);
    background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
  @keyframes shimmer { to { background-position: -200% 0; } }
  .empty { text-align: center; padding: 48px 20px; color: var(--text-dim); }
  .empty .cg { font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 24px; color: var(--text); display: block; margin-bottom: 8px; }

  /* Bottom sheet composer */
  /* Above the shared bottom nav (z-index 9999) so the sheet covers the bar. */
  .sheet-backdrop { position: fixed; inset: 0; z-index: 10000;
    background: rgba(4,6,20,.6); backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none; transition: opacity .25s ease; }
  .sheet-backdrop.open { opacity: 1; pointer-events: auto; }
  .sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10001;
    max-width: 640px; margin: 0 auto;
    background: rgba(13,17,42,.97); backdrop-filter: blur(24px);
    border: 1px solid var(--stroke); border-bottom: none;
    border-radius: 24px 24px 0 0;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    transform: translateY(105%); transition: transform .3s cubic-bezier(.3,1,.4,1);
    /* v1671: the sheet is fixed to the bottom and grew with its content, with
       no ceiling and nothing to scroll. On a 390x667 phone with the event
       details open it stood 829px tall, so its top sat at -162px and the
       "Paste one link" field was above the top of the screen with no way to
       reach it. Found by measuring, not by looking: it fits on a 14 Pro with
       15px to spare, so a taller test device hides it completely. */
    max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
  .sheet.open { transform: none; }
  .sheet .grab { width: 40px; height: 4px; border-radius: 2px;
    background: rgba(255,255,255,.18); margin: 0 auto 14px; }
  .sheet h2 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
  .sheet label { display: block; font-size: 16px; font-weight: 600;
    color: var(--text-faint); margin: 12px 0 6px; }
  .sheet input[type="text"], .sheet input[type="url"], .sheet input[type="datetime-local"], .sheet textarea {
    width: 100%; background: var(--glass-strong); border: 1px solid var(--stroke);
    border-radius: 14px; color: var(--text); font-family: inherit; font-size: 16px;
    outline: none; padding: 12px 14px; transition: border-color .2s ease; }
  .sheet input:focus, .sheet textarea:focus { border-color: var(--stroke-bright); }
  .sheet textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
  .sheet .cats { display: flex; gap: 7px; flex-wrap: wrap; }
  .sheet .cat-chip { min-height: 44px; padding: 0 13px; display: inline-flex; align-items: center; gap: 6px;
    background: var(--glass); border: 1px solid var(--stroke); border-radius: 19px;
    color: var(--text-dim); font-family: inherit; font-size: 16px; font-weight: 600;
    cursor: pointer; transition: all .2s ease; }
  .sheet .cat-chip.active { background: linear-gradient(135deg, rgba(0,212,255,.18), rgba(168,85,247,.18));
    border-color: var(--stroke-bright); color: #fff; }
  .sheet .share-btn { width: 100%; height: 50px; margin-top: 16px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    border: none; border-radius: 25px; color: #0a0a1a;
    font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
    transition: opacity .2s ease, transform .15s ease; }
  .sheet .share-btn:active { transform: scale(.98); }
  .sheet .share-btn:disabled { opacity: .55; cursor: default; }
  .sheet .mode-row { margin-bottom: 14px; }
  .sheet .ev-preview { display: none; gap: 12px; align-items: center; margin: 0 0 12px;
    padding: 10px; background: var(--glass-strong); border: 1px solid rgba(0,212,255,.18); border-radius: 14px; }
  .sheet .ev-preview.on { display: flex; }
  .sheet .ev-preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(0,212,255,.12), rgba(168,85,247,.14)); }
  .sheet .ev-preview .evp-title { font-size: 16px; font-weight: 600; line-height: 1.35; }
  .sheet .ev-preview .evp-site { font-size: 16px; color: var(--text-faint); margin-top: 2px; }
  .sheet .biz-line { font-size: 16px; color: var(--text-dim); margin-top: 12px; line-height: 1.5; }
  .sheet .biz-line a { color: var(--cyan); text-decoration: none; font-weight: 600; }
  .sheet .evp-site a { color: var(--cyan); font-weight: 600; text-decoration: none; }
  .sheet #evPhotoRemove { min-height: 44px; display: inline-flex; align-items: center; padding-top: 0; }
  /* v1670: the same import cascade as the host form, on the surface members
     actually use. A poster or a .ics is what people have to hand when a link
     carries no date, which is the one dead end this composer had. */
  .ev-drop { display: flex; align-items: center; gap: 11px; margin-top: 10px; padding: 13px 14px;
    border: 1.5px dashed var(--stroke); border-radius: 14px; background: var(--glass);
    cursor: pointer; transition: .15s; }
  .ev-drop:hover { border-color: var(--stroke-bright); background: var(--glass-strong); }
  .ev-drop.drag { border-color: var(--cyan); background: rgba(0,212,255,.1);
    box-shadow: 0 0 0 3px rgba(0,212,255,.14); }
  .ev-drop svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--cyan); opacity: .9; }
  .ev-drop .d1 { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.35; }
  .ev-drop .d2 { font-size: 16px; color: var(--text-faint); margin-top: 2px; line-height: 1.4; }
  .ev-drop[aria-busy="true"] { opacity: .65; cursor: default; }
  .ev-or { display: flex; align-items: center; gap: 11px; margin-top: 12px; font-size: 16px;
    letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); font-weight: 700; }
  .ev-or:before, .ev-or:after { content: ''; flex: 1; height: 1px; background: var(--stroke); }

  .sheet .form-note { font-size: 16px; color: var(--text-faint); margin-top: 10px;
    line-height: 1.5; text-align: center; }

  /* Crisis support card (composer response) */
  .support-card { background: rgba(0,212,255,.06); border: 1px solid rgba(0,212,255,.25);
    border-radius: 16px; padding: 16px; margin-top: 14px; font-size: 16px; line-height: 1.55;
    color: var(--text-dim); }
  .support-card b { color: var(--text); }
  .support-card a { color: var(--cyan); font-weight: 600; text-decoration: none; }

  /* Toast */
  .toast { position: fixed; left: 50%; transform: translateX(-50%) translateY(20px);
    bottom: calc(var(--uni-nav-height, 72px) + env(safe-area-inset-bottom, 0px) + 18px);
    z-index: 10002; padding: 12px 20px; border-radius: 22px;
    /* v3302: left:50% capped the box at half the screen, so a long message stood as a thin column over the page. */
    width: max-content; max-width: calc(100vw - 32px); box-sizing: border-box; line-height: 1.4;
    background: rgba(13,17,42,.96); border: 1px solid var(--stroke-bright);
    color: var(--text); font-size: 16px; font-weight: 600;
    display: flex; align-items: center; gap: 14px;
    opacity: 0; pointer-events: none; transition: all .3s ease;
    backdrop-filter: blur(16px); box-shadow: 0 8px 32px rgba(0,0,0,.4); }
  .toast.show { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
  .toast button { background: none; border: none; color: var(--cyan);
    font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; padding: 6px 10px;
    min-height: 44px; margin: -8px -8px -8px 0; } /* v3131: Undo is a 44px target */

  @media (min-width: 720px) {
    .container { padding-top: calc(80px + env(safe-area-inset-top, 0px)); }
  }
