@font-face { font-family: "Inter"; src: url(/static/fonts/Inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #ffffff; --bg2: #f3f4f7; --line: #e6e8ee;
  --text: #111318; --muted: #6b7280; --faint: #a0a6b4;
  --live: #ff4f5e; --live-soft: #ffe4e7; --me: #2f6bff; --me-soft: #dde8ff;
  --board: #e6e6e3;
  --font: Inter, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: 16px; --tabs: 84px;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { background: var(--bg); height: 100%; }
body { height: 100dvh; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.4;
  -webkit-font-smoothing: antialiased; overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
.disp { font-weight: 700; letter-spacing: -.03em; font-variation-settings: "opsz" 32; }
.tnum { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
svg { width: 1em; height: 1em; }

/* the app fills the phone; on wide screens it sits as a phone column on a board */
.app { position: relative; height: 100dvh; display: flex; flex-direction: column; background: var(--bg); overflow: hidden; }
@media (min-width: 560px) {
  html, body { background: var(--board); }
  body { display: flex; align-items: center; justify-content: center; }
  .app { width: 430px; height: min(900px, 100dvh); border-radius: 0; box-shadow: 0 30px 60px rgba(20, 22, 30, .2), 0 0 0 1px rgba(0,0,0,.06); }
}

/* top bars */
.topbar { position: absolute; left: 20px; right: 20px; top: calc(14px + var(--safe-t)); display: flex; justify-content: space-between; align-items: center; z-index: 7; }
.mark { font-weight: 800; font-size: 28px; letter-spacing: -.04em; font-variation-settings: "opsz" 32; }
.mark .dot { color: var(--live); }
.pillbtn { height: 38px; padding: 0 14px; border-radius: 19px; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.12); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.ld { width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; display: inline-block; }
.feedhdr { padding: calc(14px + var(--safe-t)) 20px 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex: none; }
.feedhdr h1 { font-weight: 800; font-size: 30px; letter-spacing: -.04em; line-height: 1; }
.feedhdr .r { display: flex; gap: 6px; }
.seg { height: 34px; padding: 0 13px; border-radius: 17px; background: var(--bg2); font-size: 13px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; }
.seg.on { background: var(--text); color: #fff; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin: 18px 0 4px; }

/* tab bar */
.tabs { height: calc(var(--tabs) + var(--safe-b)); flex: none; border-top: 1px solid var(--line); background: var(--bg); display: flex; justify-content: space-around; align-items: flex-start; padding: 10px 20px calc(0px + var(--safe-b)); position: relative; z-index: 8; }
.tab { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--faint); width: 70px; }
.tab svg { width: 26px; height: 26px; }
.tab.on { color: var(--text); }
.tab .ti { position: relative; display: inline-flex; }
.tab .badge { position: absolute; top: -3px; right: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--live); border: 2px solid #fff; }

/* avatars */
.av { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; flex: none; line-height: 1; }
.av.s { width: 28px; height: 28px; font-size: 15px; }

/* content area */
.content { flex: 1; min-height: 0; position: relative; overflow: hidden; }

/* radar */
.radar { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(circle at 50% 50%, #fff 0, #f6f7fa 70%, #f1f2f6 100%); }
.radar .c { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1.5px solid var(--line); transform: translate(-50%, -50%); }
.radar .p { position: absolute; transform: translate(-50%, -50%); }
.radar .p .av { box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.radar .p .lbl { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 4px; font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; font-feature-settings: "tnum"; }
.you { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.you .halo { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; border-radius: 50%; background: var(--me); opacity: .14; transform: translate(-50%, -50%); animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.18); } }
.you .dot { position: relative; display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--me); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.radar.live .you { top: 30%; }
.radar.live .c { top: 30%; }
.radar.deco { position: relative; height: 330px; margin: 0 -28px; inset: auto; }
.blob { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; }
.blob .ring { position: absolute; border-radius: 50%; background: var(--live); opacity: .16; }
.blob .pin { position: relative; background: var(--live); color: #fff; border-radius: 999px; font-weight: 700; font-size: 15px; padding: 0 12px; height: 34px; display: flex; align-items: center; gap: 6px; box-shadow: 0 6px 16px rgba(255,79,94,.35); white-space: nowrap; }
.blob .pin.small { height: 28px; font-size: 13px; padding: 0 10px; }
.blob.still .pin { background: #fff; color: var(--muted); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.blob.still .ring { display: none; }

/* bottom sheets */
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 28px 28px 0 0; box-shadow: 0 -10px 30px rgba(0,0,0,.1); padding: 12px 20px calc(16px + var(--safe-b)); z-index: 20; animation: up .22s ease-out; }
.sheet.nearsheet { position: absolute; bottom: calc(var(--tabs) + var(--safe-b)); z-index: 7; padding-bottom: 10px; max-height: 58%; overflow-y: auto; }
@keyframes up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.grab { width: 40px; height: 5px; border-radius: 3px; background: #dcdfe6; margin: 0 auto 14px; }
.sheet h2 { font-weight: 700; font-size: 22px; letter-spacing: -.03em; font-variation-settings: "opsz" 32; }
.sheet .sub, .sheet > p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.sheet > p { margin: 6px 0 12px; }
.sheet form { display: flex; flex-direction: column; gap: 8px; }
.sheet input, .sheet textarea { width: 100%; background: var(--bg2); border: 1.5px solid transparent; border-radius: 16px; padding: 13px 16px; font-size: 16px; resize: none; outline: none; }
.sheet input:focus, .sheet textarea:focus { border-color: var(--text); background: #fff; }
.sheet button:not(.rx) { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; border-radius: 16px; background: var(--bg2); font-weight: 600; font-size: 16px; margin-top: 8px; }
.sheet button.primary:not(.rx) { background: var(--text); color: #fff; }
.sheet button.cancel:not(.rx) { background: none; color: var(--muted); height: 42px; margin-top: 2px; font-weight: 500; }
.sheet button.ghost:not(.rx) { background: var(--bg2); color: var(--text); }
.sheet .picker { display: flex; justify-content: space-between; gap: 6px; margin: 10px 0 4px; }
.sheet .picker button { width: auto; flex: 1; height: 54px; font-size: 26px; border-radius: 16px; background: var(--bg2); margin: 0; }
.sheet .picker button.on { background: var(--live-soft); }
.scrim { position: absolute; inset: 0; background: rgba(17,19,24,.25); z-index: 19; }

/* near list */
.near { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; width: 100%; }
.near:last-child { border-bottom: 0; }
.near .cnt { width: 46px; height: 46px; border-radius: 16px; background: var(--live-soft); color: var(--live); font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; flex: none; font-feature-settings: "tnum"; }
.near .cnt.q { background: var(--bg2); color: var(--muted); }
.near .t { font-weight: 600; font-size: 16px; }
.near .s { color: var(--muted); font-size: 13px; margin-top: 2px; }
.near > div:nth-child(2), .near > .who { min-width: 0; flex: 1; }
.near .who { display: flex; align-items: center; gap: 12px; }
.near .go { margin-left: auto; height: 36px; padding: 0 14px; border-radius: 18px; background: var(--text); color: #fff; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; flex: none; }
.near .go.ghost { background: var(--bg2); color: var(--text); }
.sheet .open { height: 44px; border-radius: 22px; background: var(--bg2); font-weight: 600; font-size: 14px; margin-top: 8px; width: 100%; }
.list { flex: 1; min-height: 0; overflow-y: auto; padding: 0 20px 20px; }
.quiet { padding: 20px 16px; border: 1.5px dashed var(--line); border-radius: 18px; color: var(--muted); font-size: 15px; text-align: center; margin: 8px 0; }
.quiet a { color: var(--me); font-weight: 600; }

/* onboarding */
.onb { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: calc(20px + var(--safe-t)) 28px calc(28px + var(--safe-b)); overflow-y: auto; }
.onb h1 { font-weight: 800; font-size: 34px; letter-spacing: -.04em; line-height: 1.05; margin-top: 16px; }
.onb p { color: var(--muted); font-size: 17px; line-height: 1.45; margin-top: 12px; }
.cta { margin-top: auto; height: 56px; border-radius: 28px; background: var(--text); color: #fff; font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; gap: 10px; flex: none; }
.cta svg { width: 20px; height: 20px; }
.cta.small { height: 48px; padding: 0 22px; margin: 16px auto 0; display: inline-flex; }
.fine { text-align: center; font-size: 13px; color: var(--faint); margin-top: 14px; line-height: 1.45; }
.fine a { color: var(--muted); text-decoration: underline; }
.onb .fine + .fine { margin-top: 6px; }

/* feed */
.feed { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 16px 100px; display: flex; flex-direction: column; gap: 10px; }
.post { border-radius: 22px; padding: 14px 16px 12px; background: var(--bg2); }
.post .ph { display: flex; align-items: center; gap: 10px; }
.post .who { font-weight: 700; font-size: 14px; }
.post .where { font-size: 12px; color: var(--muted); }
.post .more { margin-left: auto; color: var(--faint); width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; }
.post .more svg { width: 20px; height: 20px; }
.post .px { font-size: 17px; line-height: 1.35; margin-top: 10px; font-weight: 500; letter-spacing: -.01em; white-space: pre-wrap; overflow-wrap: anywhere; }
.post .pf { display: flex; align-items: center; gap: 14px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.post .pf .like { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); height: 28px; }
.post .pf svg { width: 18px; height: 18px; }
.post .pf .hot { color: var(--live); }
.post .pf .hot svg { fill: var(--live); stroke: var(--live); }
.post .pf .live { margin-left: auto; background: var(--live); color: #fff; height: 28px; padding: 0 11px; border-radius: 14px; font-size: 12px; display: inline-flex; align-items: center; }
.post .pf .live.off { background: var(--bg); color: var(--muted); }
.fab { position: absolute; right: 18px; bottom: calc(var(--tabs) + 20px + var(--safe-b)); width: 60px; height: 60px; border-radius: 50%; background: var(--text); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.22); z-index: 8; color: #fff; }
.fab svg { width: 24px; height: 24px; stroke-width: 2.6; }

/* chat */
.chathdr { padding: calc(10px + var(--safe-t)) 16px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); flex: none; }
.back { width: 36px; height: 36px; border-radius: 50%; background: var(--bg2); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.back svg { width: 12px; height: 18px; stroke-width: 2.4; }
.chathdr .ct { min-width: 0; flex: 1; }
.chathdr .t { font-weight: 700; font-size: 20px; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chathdr .s { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.chathdr .s .ld { width: 7px; height: 7px; }
.chathdr .pill { height: 30px; padding: 0 12px; border-radius: 15px; background: var(--live-soft); color: var(--live); font-size: 13px; font-weight: 700; flex: none; }
.stack { display: flex; flex: none; }
.stack .av.s { margin-left: -8px; border: 2px solid #fff; }
.stack .av.s:first-child { margin-left: 0; }
.stack .more { margin-left: -8px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg2); border: 2px solid #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.iconbtn { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); flex: none; }
.iconbtn svg { width: 20px; height: 20px; }
.chat { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 8px; display: flex; flex-direction: column; -webkit-overflow-scrolling: touch; }
.more-btn { align-self: center; margin: 0 0 12px; height: 30px; padding: 0 12px; border-radius: 15px; background: var(--bg2); color: var(--muted); font-size: 13px; font-weight: 600; }
.msgs { list-style: none; margin-top: auto; display: flex; flex-direction: column; gap: 16px; }
.m { display: flex; gap: 10px; align-items: flex-start; }
.m .b { flex: 1; min-width: 0; }
.m .meta { display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.m .name { font-weight: 700; }
.m .time { color: var(--faint); font-size: 12px; }
.m .text { font-size: 16px; line-height: 1.4; margin-top: 3px; white-space: pre-wrap; overflow-wrap: anywhere; }
.m .react { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.m .react:empty { display: none; }
.rx { height: 26px; padding: 0 9px; border-radius: 13px; background: var(--bg2); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.rx.on { background: var(--live-soft); color: var(--live); }
.m.me { flex-direction: row-reverse; }
.m.me .b { flex: 0 1 auto; max-width: 78%; background: var(--me-soft); border-radius: 18px 18px 4px 18px; padding: 10px 14px; }
.m.me .name { color: var(--me); }
.m.me .text { margin-top: 1px; }
.m.me .rx { background: #fff; }
.m.sys { display: block; text-align: center; font-size: 12px; color: var(--faint); font-weight: 500; }
.m.pending { opacity: .5; }
.m.gone { display: none; }
.m.held { background: var(--bg2); margin: 0 -8px; padding: 6px 8px; border-radius: 14px; }
.empty { margin: auto 0; text-align: center; color: var(--muted); padding: 20px; }
.empty p { max-width: 30ch; margin: 0 auto; }
.composer { padding: 10px 14px calc(12px + var(--safe-b)); display: flex; gap: 8px; align-items: flex-end; background: var(--bg); flex: none; }
.composer textarea { flex: 1; min-height: 46px; max-height: 130px; border-radius: 23px; background: var(--bg2); border: 0; padding: 12px 18px; font-size: 16px; line-height: 1.35; outline: none; resize: none; }
.composer textarea::placeholder { color: var(--faint); }
.send { width: 46px; height: 46px; border-radius: 50%; background: var(--live); display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; }
.send svg { width: 18px; height: 18px; stroke-width: 2.6; }
.send:disabled { background: var(--bg2); color: var(--faint); }
.hint { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(80px + var(--safe-b)); z-index: 5; background: var(--text); color: #fff; border-radius: 999px; padding: 8px 16px; font-size: 13.5px; white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; box-shadow: 0 6px 24px rgba(0,0,0,.2); }
.noscript { padding: 8px var(--pad); color: var(--muted); font-size: 13px; text-align: center; }
.app:has(.noscript) .composer { display: none; }

/* text pages */
.textpage { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 20px 20px; }
.textpage h1 { font-size: 28px; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 10px; }
.textpage p { color: var(--muted); font-size: 16px; margin-bottom: 10px; }
.textpage h2 { font-size: 15px; font-weight: 700; margin: 18px 0 4px; }
.textpage .addr { color: var(--text); }
.post .pf .cmt { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); height: 28px; }
.near.new .t::after { content: "neu"; margin-left: 8px; font-size: 11px; font-weight: 700; color: var(--live); background: var(--live-soft); padding: 2px 7px; border-radius: 999px; vertical-align: middle; }
.textpage .tnum { color: var(--text); background: var(--bg2); padding: 1px 6px; border-radius: 6px; }

/* admin */
.admin { padding: 20px; width: 100%; font-size: 14px; overflow: auto; flex: 1; }
.app:has(.admin) { width: 100%; max-width: 1100px; height: 100dvh; box-shadow: none; }
.admin h1 { font-size: 22px; margin: 0 0 8px; }
.admin h2 { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 28px 0 8px; }
.admin table { width: 100%; border-collapse: collapse; }
.admin th { text-align: left; color: var(--muted); font-weight: 500; font-size: 12px; padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); }
.admin td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin .rtext { white-space: pre-wrap; overflow-wrap: anywhere; }
.inline { display: inline; margin: 0 6px 4px 0; }
.inline button { background: var(--bg2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; cursor: pointer; font-size: 13px; }
.inline.danger button { color: var(--live); border-color: #f3b6bc; }

/* accounts */
.form { padding-top: 6px; }
.form .lead { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.segs { display: flex; gap: 6px; margin-bottom: 14px; }
.form form, form.form { display: flex; flex-direction: column; gap: 12px; }
.form label, form.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form input, .form select, form.form input, form.form select { width: 100%; background: var(--bg2); border: 1.5px solid transparent; border-radius: 16px; padding: 13px 16px; font-size: 16px; font-weight: 400; color: var(--text); outline: none; }
.form input:focus, form.form input:focus { border-color: var(--text); background: #fff; }
label.row { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; color: var(--text); font-size: 15px; }
label.row input { width: 20px; height: 20px; }
.cta.ghost { background: var(--bg2); color: var(--text); }
.me { display: flex; align-items: center; gap: 14px; padding: 6px 0 14px; }
.av.big { width: 64px; height: 64px; font-size: 34px; }
.me .t { font-size: 22px; }
.me .s { color: var(--muted); font-size: 13px; }
.me .bio { font-size: 15px; margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 8px; }
.stat { background: var(--bg2); border-radius: 16px; padding: 12px 6px; text-align: center; }
.stat b { display: block; font-size: 22px; letter-spacing: -.02em; }
.stat span { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.awards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.award { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "i t" "i d"; column-gap: 10px; align-items: center; background: var(--bg2); border-radius: 16px; padding: 10px 12px; }
.award .bi { grid-area: i; font-size: 26px; }
.award .bt { grid-area: t; font-weight: 700; font-size: 14px; }
.award .bd { grid-area: d; font-size: 11px; color: var(--muted); line-height: 1.3; }
.picks, .swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.pick { width: 44px; height: 44px; border-radius: 14px; background: var(--bg2); font-size: 22px; }
.pick.on { background: var(--live-soft); box-shadow: inset 0 0 0 2px var(--live); }
.swatch { width: 36px; height: 36px; border-radius: 50%; }
.swatch.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 14px; }
.actions .cta.small { margin: 0; }
.link { color: var(--muted); font-size: 13px; text-decoration: underline; }
.go.pillred { background: var(--live); color: #fff; }
.near .go + .go { margin-left: 6px; }
.near .accept { background: var(--text); color: #fff; }
.chathdr a.ct { color: inherit; }
.feedhdr .seg { margin-bottom: 4px; }

/* place chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; max-height: 132px; overflow-y: auto; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 17px; background: var(--bg2); font-size: 14px; font-weight: 600; }
.chip .k { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.chip.on { background: var(--text); color: #fff; }
.chip.on .k { color: rgba(255,255,255,.7); }
.sheet .segs { margin: 0 0 10px; }
.sheet .segs button.seg { width: auto; height: 34px; margin: 0; padding: 0 13px; border-radius: 17px; background: var(--bg2); color: var(--muted); font-size: 13px; }
.sheet .segs button.seg.on { background: var(--text); color: #fff; }
.sheet label.ev { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.near .ev { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--live); background: var(--live-soft); padding: 2px 7px; border-radius: 999px; vertical-align: middle; }

/* photos */
.m .photo { display: block; width: min(100%, 320px); max-height: 380px; border-radius: 14px; overflow: hidden; background: var(--bg2); margin-top: 4px; }
.m .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m.me .photo { width: min(100%, 280px); }
.m .photo + .text { margin-top: 6px; }
.composer .cam { width: 44px; height: 44px; border-radius: 50%; background: var(--bg2); display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--text); }
.composer .cam svg { width: 22px; height: 22px; }
.composer .cam.busy { opacity: .5; pointer-events: none; }
.chathdr .pics { width: auto; padding: 0 10px; gap: 4px; border-radius: 18px; background: var(--bg2); color: var(--text); font-size: 13px; font-weight: 700; }
.chathdr .pics svg { width: 18px; height: 18px; }
.chathdr .s { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.chathdr .s .ld { display: inline-block; vertical-align: middle; margin-right: 4px; }
.gallery { position: absolute; inset: 0; z-index: 15; background: var(--bg); display: flex; flex-direction: column; }
.gallery .grid { flex: 1; overflow-y: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 2px; align-content: start; }
.gallery .grid a { display: block; aspect-ratio: 1; background: var(--bg2); overflow: hidden; }
.gallery .grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox { position: fixed; inset: 0; z-index: 30; background: #000; display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .lclose { position: absolute; top: calc(12px + var(--safe-t)); right: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.lightbox .lclose svg { width: 20px; height: 20px; }
.lightbox .lmeta { position: absolute; left: 16px; right: 16px; bottom: calc(16px + var(--safe-b)); color: #fff; font-size: 14px; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.lightbox .lmeta b { margin-right: 8px; }

/* paid rooms */
.tier { display: inline-block; margin-left: 8px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; vertical-align: middle; }
.tier.official { background: var(--text); color: #fff; }
.tier.boost { background: var(--live-soft); color: var(--live); }
.chathdr .cover { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chathdr .star { color: var(--live); font-size: 20px; }
.m.sys[data-kind="announce"] { color: var(--text); font-weight: 600; background: #fff7d6; border-radius: 12px; padding: 8px 12px; }
.tierbox { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "r t p" "r d d"; column-gap: 10px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; }
.tierbox:has(input:checked) { border-color: var(--text); }
.tierbox input { grid-area: r; width: 18px; height: 18px; }
.tierbox .tt { grid-area: t; font-weight: 700; font-size: 16px; color: var(--text); }
.tierbox .tp { grid-area: p; font-weight: 700; color: var(--text); }
.tierbox .td { grid-area: d; font-size: 13px; font-weight: 400; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 0; }
.row2 label { min-width: 0; }
.row2 input, .form input { min-width: 0; max-width: 100%; }
.list.form { overflow-x: hidden; }
.cta:disabled { opacity: .4; cursor: default; }
.linkbox { background: var(--bg2); border-radius: 14px; padding: 12px 14px; word-break: break-all; }
.linkbox a { color: var(--me); font-weight: 600; }
.list h1.disp { font-size: 26px; margin: 6px 0 8px; }
.list .lead { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
form#announce { margin-bottom: 8px; }

/* polish */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
.radar .rl { position: absolute; transform: translate(-50%, -140%); font-size: 10px; font-weight: 600; color: var(--faint); letter-spacing: .04em; font-feature-settings: "tnum"; background: rgba(255,255,255,.7); padding: 1px 6px; border-radius: 999px; }
.tab { transition: color .15s; }
.near:active { background: var(--bg2); }
.send:active, .cta:active, .go:active { transform: scale(.97); }
.m { animation: fade .18s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.post { animation: fade .18s ease-out; }
