/* BRO2KIT LIVE1 (CITY-LIVE 11-15): chat feed with channels and thumbnails, half-height sheet on phones, the action wheel, invites, settings */
.lv-feed{background:rgba(7,11,18,.55);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:6px 8px 8px;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.lv-top{display:flex;align-items:center;gap:6px}
.lv-tabs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;flex:1;min-width:0}.lv-tabs::-webkit-scrollbar{display:none}
.lv-tab{position:relative;font:inherit;font-size:13px;font-weight:800;color:var(--muted,#b4aea3);background:transparent;border:1px solid transparent;border-radius:999px;padding:5px 11px;cursor:pointer;white-space:nowrap;min-height:32px}
.lv-tab:hover{color:var(--text,#f3eee4);border-color:rgba(255,255,255,.18)}
.lv-tab.on{color:#14100A;background:var(--gold2,#f6d27a);border-color:var(--gold2,#f6d27a)}
.lv-tab .lv-n{position:absolute;top:-4px;right:-4px;min-width:17px;height:17px;border-radius:9px;background:#ff5c5c;color:#fff;font-size:10px;font-style:normal;font-weight:800;line-height:17px;text-align:center;padding:0 4px}
.lv-grab,.lv-x{display:none}
.lv-who{font-size:11.5px;color:var(--muted,#b4aea3);margin:0 2px}
.lv-lock{font-size:12.5px;font-weight:700;color:var(--gold2,#f6d27a);background:rgba(224,173,72,.12);border:1px solid rgba(224,173,72,.35);border-radius:10px;padding:5px 9px;margin:0}
.lv-log{max-height:190px;overflow-y:auto;display:grid;gap:4px;align-content:end;font-size:14px;line-height:1.35;scrollbar-width:thin;padding-right:2px}
#chatLog.lv-log{max-height:190px}
.lv-log[hidden],.lv-tab[hidden],.lv-lock[hidden],.lv-who[hidden]{display:none!important}
.lv-log p{margin:0}
.lv-log .sys{color:var(--muted,#b4aea3);font-style:italic;background:rgba(7,11,18,.5);border-radius:10px;padding:3px 9px;width:fit-content;max-width:100%}
.lv-log .warnline{color:var(--warn,#f6c975);background:rgba(7,11,18,.66);border-radius:10px;padding:3px 9px;width:fit-content}
.lv-line{display:flex;align-items:flex-start;gap:7px;background:rgba(7,11,18,.7)!important;border-radius:12px;padding:4px 6px 4px 4px!important;width:auto!important;text-shadow:none}
.lv-line.me{background:rgba(224,173,72,.16)!important}
.lv-thumb{flex:none;width:28px;height:28px;border-radius:50%;border:2px solid rgba(255,255,255,.75);padding:0;overflow:hidden;cursor:pointer;color:#fff;font:800 13px/24px system-ui,sans-serif;text-align:center;display:grid;place-items:center}
.lv-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.lv-thumb:hover,.lv-thumb:focus-visible{border-color:var(--gold2,#f6d27a)}
.lv-body{flex:1;min-width:0;overflow-wrap:anywhere}
.lv-nm{font:inherit;font-weight:800;color:var(--gold2,#f6d27a);background:none;border:0;padding:0;margin-right:5px;cursor:pointer}
.lv-nm:hover{text-decoration:underline}
.lv-where{color:var(--muted,#b4aea3);font-size:11px;margin-right:5px}
.lv-txt{color:#fff}
.lv-t{color:rgba(255,255,255,.4);font-size:10.5px;margin-left:6px;white-space:nowrap}
.lv-more{flex:none;background:none;border:0;color:rgba(255,255,255,.55);font-size:18px;line-height:1;padding:2px 6px;border-radius:8px;cursor:pointer;min-width:30px;min-height:28px}
.lv-more:hover,.lv-more:focus-visible{color:#fff;background:rgba(255,255,255,.1)}
.lv-menu{position:fixed;z-index:60;width:220px;display:grid;gap:6px;background:rgba(16,24,38,.98);border:1px solid var(--gold,#e0ad48);border-radius:14px;padding:8px;box-shadow:0 12px 40px rgba(0,0,0,.5)}
.lv-menu .btn{width:100%;justify-content:flex-start;min-height:40px}
/* speech bubbles: a tail pointing at the speaker */
.tag .bub{position:relative;margin-bottom:6px;animation:lvbub .18s ease-out}
.tag .bub::after{content:"";position:absolute;left:50%;bottom:-7px;margin-left:-7px;border:7px solid transparent;border-bottom:0;border-top-color:#fff}
@keyframes lvbub{from{transform:scale(.85);opacity:0}to{transform:none;opacity:1}}
.tag.lv-hot button{border-color:var(--gold2,#f6d27a);box-shadow:0 0 0 3px rgba(246,210,122,.45),0 0 18px rgba(246,210,122,.6);color:var(--gold2,#f6d27a)}
/* the action wheel */
.lv-wheel{position:absolute;z-index:30;left:50%;top:50%;width:0;height:0}
.lv-wheel::before{content:"";position:absolute;left:-190px;top:-190px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,rgba(7,11,18,.72) 0,rgba(7,11,18,.55) 60%,rgba(7,11,18,0) 72%);pointer-events:none}
.lv-mid{position:absolute;left:-58px;top:-40px;width:116px;height:80px;display:grid;place-items:center;align-content:center;text-align:center;gap:2px}
.lv-mid b{font-size:15px;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lv-mid small{color:var(--muted,#b4aea3);font-size:12px}
.lv-wx{width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(16,24,38,.95);color:#fff;font-size:20px;line-height:1;cursor:pointer;margin-top:2px}
.lv-wb{position:absolute;left:-31px;top:-31px;width:62px;height:62px;border-radius:50%;border:1px solid rgba(246,210,122,.55);background:rgba(16,24,38,.94);color:#fff;cursor:pointer;display:grid;place-items:center;align-content:center;gap:0;padding:0;box-shadow:0 6px 18px rgba(0,0,0,.45);transition:background .12s,border-color .12s}
.lv-wb:hover,.lv-wb:focus-visible{background:rgba(224,173,72,.28);border-color:var(--gold2,#f6d27a)}
.lv-ic{font-size:22px;line-height:1.05}.lv-wl{font-size:9.5px;font-weight:800;line-height:1.05;max-width:58px;text-align:center}
.lv-far{position:absolute;z-index:30;left:50%;top:40%;transform:translate(-50%,-50%);background:rgba(16,24,38,.98);border:1px solid var(--gold,#e0ad48);border-radius:16px;padding:12px 14px;display:grid;gap:8px;min-width:240px;box-shadow:0 10px 40px rgba(0,0,0,.5)}
.lv-qrow{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.lv-qrow select{min-height:36px}
/* LIVE2: invites and guests */
.lv-join{border-color:var(--gold,#e0ad48)!important;box-shadow:0 0 0 1px rgba(224,173,72,.35),0 18px 50px rgba(0,0,0,.35);display:grid;gap:12px;max-width:620px;margin:18px auto 6px;text-align:left}
.lv-join h2{font-size:clamp(24px,5vw,34px);line-height:1.15}.lv-join .lead{color:var(--text,#f3eee4)}
.lv-join input[type=text]{width:100%;min-height:46px;font-size:17px}
.lv-join .lv-jagree{font-size:16px;line-height:1.4;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(7,11,18,.6)}
.lv-join .gold.big{width:100%;min-height:56px;font-size:19px}
.lv-inv{max-width:440px}.lv-share{display:grid;grid-template-columns:1fr 1fr;gap:8px}.lv-share .gold{grid-column:1/-1}.lv-share .btn,.lv-share .gold{min-height:46px;justify-content:center}
.lv-link{width:100%;font-size:13px;color:var(--muted,#b4aea3)}
.lv-guest{position:absolute;z-index:7;left:50%;top:max(58px,calc(env(safe-area-inset-top) + 58px));transform:translateX(-50%);display:flex;align-items:center;gap:10px;background:rgba(16,24,38,.94);border:1px solid var(--gold,#e0ad48);border-radius:999px;padding:5px 6px 5px 14px;font-size:14px;font-weight:700;white-space:nowrap}
.lv-guest .gold{min-height:34px;padding:4px 14px;font-size:14px;text-decoration:none}
body.touch .lv-guest{top:auto;bottom:max(178px,calc(env(safe-area-inset-bottom) + 178px))}
/* LIVE3: voice, calls, going live */
.rt-mic.on{border-color:#59d98e!important;box-shadow:0 0 0 3px rgba(89,217,142,.35)}
.rt-mic.on.muted{border-color:var(--warn,#f6c975)!important;box-shadow:0 0 0 3px rgba(246,201,117,.3);opacity:.85}
.rt-mic.talk{background:#59d98e!important}
.rt-ptt{position:absolute;z-index:8;right:76px;bottom:max(96px,calc(env(safe-area-inset-bottom) + 96px));min-width:96px;min-height:64px;border-radius:32px;border:2px solid #59d98e;background:rgba(16,24,38,.94);color:#fff;font:800 15px/1.1 system-ui,sans-serif;padding:8px 14px;touch-action:none;user-select:none;-webkit-user-select:none}
.rt-ptt.on{background:#59d98e;color:#06120b;transform:scale(1.06)}
.tag.rt-vo button::after{content:" \1F399\FE0F";font-size:11px}
.tag.rt-speak button{border-color:#59d98e!important;box-shadow:0 0 0 3px rgba(89,217,142,.45),0 0 16px rgba(89,217,142,.55)}
.tag.rt-live button::before{content:"LIVE ";color:#fff;background:#e5484d;border-radius:6px;padding:0 4px;margin-right:4px;font-size:10px;letter-spacing:.06em}
.rt-call{position:absolute;z-index:12;right:12px;top:max(240px,calc(env(safe-area-inset-top) + 240px));width:min(360px,calc(100vw - 24px));background:rgba(16,24,38,.97);border:1px solid var(--gold,#e0ad48);border-radius:18px;padding:10px;display:grid;gap:8px;box-shadow:0 14px 44px rgba(0,0,0,.55)}
.rt-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rt-head .x{margin-left:auto}
.rt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:6px}
.rt-call:not(.video) .rt-grid{grid-template-columns:repeat(auto-fill,minmax(72px,1fr))}
.rt-tile{position:relative;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#0b111c;display:grid;place-items:center;border:1px solid rgba(255,255,255,.12)}
.rt-call:not(.video) .rt-tile{aspect-ratio:1}
.rt-tile video{width:100%;height:100%;object-fit:cover;display:block}.rt-tile video.me{transform:scaleX(-1)}
.rt-tile video.blur{filter:blur(22px) saturate(.6);transform:scale(1.15)}
.rt-init{font:800 26px/1 system-ui,sans-serif;color:var(--gold2,#f6d27a)}
.rt-nm{position:absolute;left:6px;bottom:5px;font-style:normal;font-size:11px;font-weight:800;background:rgba(7,11,18,.7);border-radius:8px;padding:1px 6px}
.rt-ub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);min-height:32px!important;font-size:12px!important;padding:3px 9px!important;white-space:nowrap}
.rt-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.rt-b{width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:#182233;color:#fff;font-size:20px;cursor:pointer}
.rt-b.off{background:#3a2a12;border-color:var(--warn,#f6c975)}.rt-b.end{background:#c0392b;border-color:#e5484d}
.rt-livepill{position:absolute;z-index:9;left:50%;top:max(104px,calc(env(safe-area-inset-top) + 104px));transform:translateX(-50%);display:flex;align-items:center;gap:8px;background:rgba(16,24,38,.95);border:1px solid #e5484d;border-radius:999px;padding:5px 6px 5px 10px;font-size:13px;font-weight:700;max-width:calc(100vw - 24px)}
.rt-livepill .btn{min-height:32px;padding:3px 12px;font-size:13px}
.rt-dot{background:#e5484d;color:#fff;border-radius:6px;padding:1px 6px;font-size:11px;letter-spacing:.06em}
.rt-bc{position:absolute;z-index:12;right:12px;top:max(240px,calc(env(safe-area-inset-top) + 240px));width:min(420px,calc(100vw - 24px));background:rgba(16,24,38,.97);border:1px solid #e5484d;border-radius:18px;padding:10px;display:grid;gap:8px;box-shadow:0 14px 44px rgba(0,0,0,.55)}
.rt-bc video{width:100%;border-radius:12px;background:#000;max-height:40vh;object-fit:contain}
.rt-wait{padding:30px 0;text-align:center}
body.touch .rt-call,body.touch .rt-bc{top:auto;bottom:max(176px,calc(env(safe-area-inset-bottom) + 176px));right:8px;width:calc(100vw - 16px)}
body.touch.lv-sheet .rt-call,body.touch.lv-sheet .rt-bc{bottom:calc(52dvh + 8px)}
/* phones: a small preview at the top; a tap opens a half-height sheet with the tabs and the box */
body.touch .lv-feed{padding:4px 6px}
body.touch .lv-feed .lv-tabs,body.touch .lv-feed .lv-who,body.touch .lv-feed .lv-lock{display:none}
body.touch .lv-log{max-height:104px;font-size:13px}
body.touch .lv-line .lv-more{display:none}
body.touch .lv-thumb{width:24px;height:24px;font-size:11px;line-height:20px}
body.touch.lv-sheet .chat.lv-feed{position:fixed;left:0;right:0;top:auto;bottom:0;width:auto;height:52vh;height:52dvh;z-index:25;border-radius:18px 18px 0 0;background:rgba(10,15,24,.97);border-color:var(--gold,#e0ad48);padding:4px 10px max(10px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:6px}
body.touch.lv-sheet .lv-feed .lv-tabs{display:flex}
body.touch.lv-sheet .lv-feed .lv-who{display:block}
body.touch.lv-sheet .lv-feed .lv-lock:not([hidden]){display:block}
body.touch.lv-sheet .lv-top{flex-wrap:wrap}
body.touch.lv-sheet .lv-grab{display:flex;justify-content:center;width:100%;height:20px;background:none;border:0;padding:6px 0;cursor:pointer;order:-1}
body.touch.lv-sheet .lv-grab i{display:block;width:44px;height:5px;border-radius:3px;background:rgba(255,255,255,.35)}
body.touch.lv-sheet .lv-x{display:block;font-size:22px}
body.touch.lv-sheet .lv-log:not([hidden]){flex:1;max-height:none;min-height:0}
body.touch.lv-sheet .lv-line .lv-more{display:block}
body.touch.lv-sheet .lv-thumb{width:30px;height:30px;font-size:13px}
body.touch.lv-sheet #chatForm{display:flex;position:static}
body.touch.lv-sheet .stick,body.touch.lv-sheet .acts{visibility:hidden}
@media (prefers-reduced-motion:reduce){.tag .bub{animation:none}.lv-wb{transition:none}}
body.lv-inv .enterbar{display:none}   /* LIVE2: an invitee who is not signed in uses the invite card, not Sign in to enter */
/* LIVE4: online now, Meet someone new, an empty street is never empty */
.lv-onpill{position:absolute;z-index:7;left:50%;top:max(58px,calc(env(safe-area-inset-top) + 58px));transform:translateX(-50%);display:flex;align-items:center;gap:6px;background:rgba(16,24,38,.94);border:1px solid var(--gold,#e0ad48);border-radius:999px;padding:6px 14px;color:#fff;font:700 14px/1.2 system-ui,sans-serif;cursor:pointer;white-space:nowrap;box-shadow:0 6px 22px rgba(0,0,0,.4)}
.lv-onpill b{color:#59d98e}.lv-onpill span{color:var(--gold2,#f6d27a)}
.lv-dot{width:9px;height:9px;border-radius:50%;background:#59d98e;box-shadow:0 0 0 0 rgba(89,217,142,.6);animation:lvpulse 1.8s infinite}
@keyframes lvpulse{0%{box-shadow:0 0 0 0 rgba(89,217,142,.6)}70%{box-shadow:0 0 0 9px rgba(89,217,142,0)}100%{box-shadow:0 0 0 0 rgba(89,217,142,0)}}
.lv-guest{top:max(102px,calc(env(safe-area-inset-top) + 102px))}
.lv-match{position:absolute;z-index:14;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(440px,calc(100vw - 24px));max-height:70vh;display:flex;flex-direction:column;gap:8px;background:rgba(12,18,30,.97);border:1px solid var(--gold,#e0ad48);border-radius:20px;padding:12px;box-shadow:0 16px 50px rgba(0,0,0,.6)}
.lv-mx{position:absolute;right:8px;top:8px}
.lv-mh{font-size:18px}
.lv-mhead{display:flex;align-items:center;gap:10px;padding-right:36px}.lv-mhead div{display:grid}.lv-mhead b{font-size:18px}.lv-mhead small{color:var(--muted,#b4aea3)}
.lv-mface{width:52px;height:52px;border-radius:50%;overflow:hidden;display:grid;place-items:center;font:800 22px/1 system-ui,sans-serif;color:#fff;border:2px solid var(--gold2,#f6d27a);flex:none}
.lv-mface img{width:100%;height:100%;object-fit:cover}.lv-mface.looking{border-color:#59d98e}
.lv-mlog{flex:1;min-height:90px;max-height:32vh;overflow-y:auto;display:grid;gap:4px;align-content:end;font-size:15px}
.lv-mlog .lv-line{background:rgba(255,255,255,.06)!important}.lv-mlog .sys{color:var(--muted,#b4aea3);font-style:italic}
.lv-mform{display:flex;gap:6px}.lv-mform input{flex:1;min-height:44px}
.lv-mrow{display:flex;gap:6px;flex-wrap:wrap}.lv-mrow .btn,.lv-mrow .gold{min-height:40px;padding:5px 12px;font-size:14px}
.lv-spin{width:36px;height:36px;margin:8px auto;border-radius:50%;border:3px solid rgba(246,210,122,.25);border-top-color:var(--gold2,#f6d27a);animation:lvspin 1s linear infinite}
@keyframes lvspin{to{transform:rotate(360deg)}}
.lv-meetbtn{width:100%;min-height:54px;font-size:18px;margin-bottom:6px}
.lv-filt{display:grid;gap:6px;margin-bottom:6px}.lv-chips{display:flex;flex-wrap:wrap;gap:6px}.lv-chips .soc-chip.on{background:var(--gold2,#f6d27a);color:#14100A}
.lv-faces{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px;margin:6px 0}
.lv-face{display:grid;justify-items:center;gap:2px;background:none;border:0;color:#fff;cursor:pointer;padding:4px;border-radius:12px}.lv-face:hover,.lv-face:focus-visible{background:rgba(255,255,255,.07)}
.lv-face b{font-size:13px;max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lv-face small{font-size:11px;color:var(--muted,#b4aea3);max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lv-empty{position:absolute;z-index:13;left:50%;top:38%;transform:translate(-50%,-50%);width:min(420px,calc(100vw - 24px));background:rgba(16,24,38,.97);border:1px solid var(--gold,#e0ad48);border-radius:18px;padding:14px;display:grid;gap:8px;box-shadow:0 14px 44px rgba(0,0,0,.55)}
.lv-empty b{font-size:17px}.lv-empty .row{display:flex;flex-wrap:wrap;gap:8px}
body.touch .lv-match{bottom:0;left:0;right:0;transform:none;width:auto;border-radius:20px 20px 0 0;max-height:72dvh;padding-bottom:max(12px,env(safe-area-inset-bottom))}
body.touch .lv-onpill{font-size:13px;padding:5px 11px}
.lv-thumb{border-color:var(--gold2,#f6d27a)!important}   /* real members: gold ring (AI characters: blue ring + AI tag, CITY-AVATARS)
*/.lv-real{font-style:normal;font-size:10.5px;font-weight:800;color:#06120b;background:#59d98e;border-radius:6px;padding:0 5px;margin-right:5px}.lv-unreal{font-style:normal;font-size:11px;color:var(--muted,#b4aea3)}
body.touch:has(.cl-bar) .lv-match{bottom:calc(max(10px,env(safe-area-inset-bottom)) + var(--clb,0px) + 86px);border-radius:20px;left:6px;right:6px;max-height:60dvh}
body.touch:has(.cl-bar) .lv-empty{top:34%}
/* LIVE5: phones = one full sheet at a time; the bottom bar steps aside while a sheet is open; actions in one tidy row */
body.touch.lv-matching .cl-bar,body.touch.lv-sheet .cl-bar{display:none!important}
body.touch.lv-matching .lv-match,body.touch:has(.cl-bar) .lv-match{bottom:0!important;left:0!important;right:0!important;border-radius:20px 20px 0 0!important;max-height:78dvh!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important}
body.touch.lv-matching #panel{display:none!important}
body.touch .lv-mrow{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:5px}
body.touch .lv-mrow .btn,body.touch .lv-mrow .gold{min-height:44px;padding:4px 2px;font-size:12.5px;line-height:1.1;white-space:normal;text-align:center;justify-content:center}
.lv-face.atpark .lv-mface{border-color:#59d98e;box-shadow:0 0 0 3px rgba(89,217,142,.35)}.lv-face.atpark small{color:#59d98e}
/* LIVE6: quick card when you tap a real person */
.lv-quickc{position:absolute;z-index:15;left:50%;bottom:max(96px,calc(env(safe-area-inset-bottom) + 96px));transform:translateX(-50%);width:min(420px,calc(100vw - 24px));background:rgba(12,18,30,.97);border:1px solid var(--gold,#e0ad48);border-radius:20px;padding:12px;display:grid;gap:10px;box-shadow:0 16px 50px rgba(0,0,0,.6)}
.lv-quickc .lv-mhead{position:relative}.lv-quickc .lv-mx{position:absolute;right:-4px;top:-4px}
.lv-qbtns{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.lv-qbtns .btn,.lv-qbtns .gold{min-height:56px;padding:4px 2px;font-size:13px;line-height:1.15;white-space:normal;text-align:center;justify-content:center;display:grid;place-items:center}
body.touch .lv-quickc{left:0;right:0;bottom:0;transform:none;width:auto;border-radius:20px 20px 0 0;padding-bottom:max(14px,env(safe-area-inset-bottom))}
body.touch.lv-quick .cl-bar{display:none!important}
body.lv-matching .cl-buddy,body.lv-matching .lv-empty,body.lv-quick .cl-buddy{display:none!important}
.lv-tag{color:var(--gold2,#f6d27a);font-weight:800;font-size:16px;margin:0}
.lv-onpill.lv-glow{box-shadow:0 0 0 3px rgba(246,210,122,.55),0 0 24px rgba(246,210,122,.6);animation:lvpulse2 1.6s 4}@keyframes lvpulse2{50%{transform:translateX(-50%) scale(1.05)}}
/* LIVE9: who is asking; face reveal per chat */
.lv-req{position:absolute;z-index:16;left:50%;top:max(110px,calc(env(safe-area-inset-top) + 110px));transform:translateX(-50%);width:min(420px,calc(100vw - 24px));background:rgba(12,18,30,.98);border:1px solid var(--gold,#e0ad48);border-radius:20px;padding:12px;display:grid;gap:8px;box-shadow:0 16px 50px rgba(0,0,0,.6)}
.lv-req p{margin:0;font-weight:700}.lv-req3{grid-template-columns:repeat(3,minmax(0,1fr))}
.lv-facerow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px}.lv-facerow .btn{min-height:34px;padding:3px 10px;font-size:13px}
.lv-faceimg{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid var(--gold2,#f6d27a)}
.lv-onpill.inhead{position:static;transform:none;margin-top:3px;padding:3px 10px;font-size:12.5px;box-shadow:none;justify-self:start}.lv-onpill.inhead.lv-glow{animation:none}
.lv-fade{animation:lvfade 9s forwards}@keyframes lvfade{70%{opacity:1}100%{opacity:0}}
.lv-dict{min-width:44px;border-radius:12px;border:1px solid var(--line,rgba(212,168,75,.28));background:rgba(11,17,28,.92);color:#fff;font-size:18px;cursor:pointer;touch-action:none}.lv-dict.on{background:#e5484d;border-color:#e5484d}
.lv-callrow{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap}.lv-callrow .btn{min-height:38px;padding:4px 12px;font-size:14px}
/* Street level layers sit up to z 17: our cards always above them */
.lv-quickc,.lv-req{z-index:42!important}.lv-wheel{z-index:41!important}.lv-match{z-index:40!important}.lv-menu{z-index:60}
.lv-qbtns{grid-template-columns:repeat(4,minmax(0,1fr))}.lv-req3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lv-qsmall{display:flex;gap:6px}.lv-qsmall .btn{flex:1;min-height:38px;font-size:13px}
.lv-cbtn{font-size:16px}.lv-menu b{font-size:13px;color:var(--gold2,#f6d27a)}
/* desktop: never over the top-centre buttons: the pill stays in the header column */.lv-onpill.inhead{max-width:300px;overflow:hidden;text-overflow:ellipsis}
/* hot-fix 11-16: the online line replaces the status line under the place name (no extra row) */
body.lv-hp #hudCount{display:none!important}
.lv-onpill.inhead{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;font-size:12px!important;line-height:1.2;color:var(--gold2,#f6d27a);gap:5px;justify-content:flex-start;min-height:0}.lv-onpill.inhead b{color:#59d98e}.lv-onpill.inhead .lv-dot{width:7px;height:7px}.lv-onpill.inhead:hover span{text-decoration:underline}
/* hot-fix 11-16: BRO-LAUNCH's meetup chip never covers Google's attribution line (ToS) */
.grow-meet{margin-bottom:34px!important}
/* hot-fix 11-16 b: the online line is a readable pill on its own row; the time/weather chip moves down to keep an 8 px gap */
.lv-onpill.inhead{font-size:14px!important;padding:3px 11px!important;margin-top:6px!important;background:rgba(7,11,18,.8)!important;border:1px solid rgba(246,210,122,.65)!important;border-radius:999px!important;color:#fff!important}.lv-onpill.inhead span{color:var(--gold2,#f6d27a)}
body.lv-hp:not(.touch) #bLive{top:84px}
#chatForm{flex-wrap:wrap}#chatForm input{min-width:150px;flex:1 1 150px}
/* STREAM1 (CITY-LIVE2 11-16): the Live chat. Computers: docked left between the time chip and the chat box (clear of the bug tab at the edge and Google's credits) */
.lv-sc{position:absolute;z-index:6;left:40px;top:150px;width:310px;max-height:calc(100vh - 430px);min-height:120px;display:flex;flex-direction:column;background:linear-gradient(180deg,rgba(7,11,18,.62),rgba(7,11,18,.42));border:1px solid rgba(255,255,255,.12);border-radius:14px;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);color:#fff;font-size:13.5px;line-height:1.35;overflow:visible}
.lv-sch{display:flex;align-items:center;gap:7px;padding:6px 8px 4px 10px}
.lv-sclive{background:#e5333b;color:#fff;font-size:11px;font-weight:800;letter-spacing:.06em;border-radius:5px;padding:1px 6px;animation:lvscp 2s infinite}@keyframes lvscp{50%{opacity:.7}}
.lv-sct{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700;color:var(--gold2,#f6d27a)}
.lv-scn{font-size:12px;color:#cfd8e6;white-space:nowrap}
.lv-sctog{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);color:#fff;border-radius:999px;min-width:30px;height:26px;padding:0 9px;font-size:13px;font-weight:700;cursor:pointer}
.lv-scl{flex:1;min-height:0;overflow-y:auto;padding:2px 10px 4px;scrollbar-width:thin;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 22px);mask-image:linear-gradient(180deg,transparent 0,#000 22px)}
.lv-scline{margin:3px 0;text-shadow:0 1px 2px rgba(0,0,0,.8);animation:lvscin .25s ease-out;word-wrap:break-word}@keyframes lvscin{from{opacity:0;transform:translateY(6px)}}
.lv-scnm{background:none;border:0;padding:0;font:inherit;font-weight:800;color:#f6d27a;cursor:pointer}.lv-scnm:hover{text-decoration:underline}
.lv-scline.me .lv-scnm{color:#59d98e}.lv-scline.ai .lv-scnm{color:#8fc4ff}
.lv-scai{font-style:normal;font-size:10px;font-weight:800;color:#0b1220;background:#8fc4ff;border-radius:4px;padding:0 4px;margin-left:4px;vertical-align:1px}
.lv-screal{font-style:normal;font-size:11px;color:#59d98e;margin-left:3px}
.lv-sctx{color:#f2f5fa}
.lv-scr{display:flex;align-items:center;gap:3px;padding:4px 6px 7px;flex-wrap:wrap}
.lv-scrb{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:999px;width:34px;height:32px;font-size:17px;line-height:1;cursor:pointer;padding:0}.lv-scrb:hover{background:rgba(255,255,255,.2)}.lv-scrb:active{transform:scale(1.2)}
.lv-scsay{margin-left:auto;background:var(--gold,#e0ad48);color:#111;border:0;border-radius:999px;height:32px;padding:0 12px;font-weight:800;font-size:13px;cursor:pointer}
.lv-scf{position:absolute;left:0;right:0;bottom:44px;height:220px;pointer-events:none;overflow:visible}
.lv-scfl{position:absolute;bottom:0;font-size:26px;animation:lvscfl 3s ease-out forwards;filter:drop-shadow(0 2px 3px rgba(0,0,0,.5))}.lv-scfl.me{font-size:30px}
@keyframes lvscfl{0%{opacity:0;transform:translateY(0) scale(.6)}12%{opacity:1;transform:translateY(-20px) scale(1.1)}100%{opacity:0;transform:translateY(-210px) translateX(18px) scale(1)}}
.lv-sc.off{min-height:0;max-height:none;width:auto;background:rgba(7,11,18,.62)}.lv-sc.off .lv-scl,.lv-sc.off .lv-scr,.lv-sc.off .lv-sct,.lv-sc.off .lv-scn{display:none}
.lv-sc :focus-visible{outline:2px solid #f6d27a;outline-offset:2px}
@media (max-height:700px){body:not(.touch) .lv-sc{max-height:calc(100vh - 400px)}}
/* phones: a slim strip, livestream style: the last lines over the picture on the left, under the header; reactions in one small row; tap = the chat sheet */
body.touch .lv-sc{left:8px;top:calc(env(safe-area-inset-top) + 132px);width:min(68vw,270px);max-height:none;min-height:0;background:none;border:0;backdrop-filter:none;-webkit-backdrop-filter:none;font-size:12.5px}
body.touch .lv-sc .lv-sch{padding:0 0 2px;gap:5px}body.touch .lv-sc .lv-sct{display:none}body.touch .lv-sc .lv-scn{text-shadow:0 1px 2px #000}
body.touch .lv-sc .lv-scl{max-height:86px;overflow:hidden;padding:0;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 18px);mask-image:linear-gradient(180deg,transparent 0,#000 18px)}
body.touch .lv-sc .lv-scr{padding:3px 0 0;gap:3px;flex-wrap:nowrap}body.touch .lv-sc .lv-scrb{width:30px;height:28px;font-size:15px;background:rgba(7,11,18,.55)}body.touch .lv-sc .lv-scsay{height:28px;padding:0 9px;font-size:12px;margin-left:2px}
body.touch .lv-sc .lv-scf{bottom:30px;height:180px}
body.touch.lv-sheet .lv-sc,body.lv-quick .lv-sc.lv-sc-ph,body.lv-matching .lv-sc.lv-sc-ph{display:none}
body.touch .lv-sc.off{background:rgba(7,11,18,.62);border-radius:999px}
@media (prefers-reduced-motion:reduce){.lv-scline,.lv-sclive{animation:none}.lv-scfl{animation-duration:1.5s!important}}
/* DICT1: hands-free mic */
.lv-dict.hands{background:#e5333b!important;color:#fff!important;box-shadow:0 0 0 3px rgba(229,51,59,.35);animation:lvscp 1.4s infinite}
/* MASK1: masks in calls */
.rt-mkd{position:absolute;left:6px;top:6px;font-style:normal;font-size:11px;font-weight:800;background:rgba(7,11,18,.82);color:#f6d27a;border:1px solid rgba(246,210,122,.6);border-radius:999px;padding:1px 7px;z-index:2}
.rt-b.on{background:#e0ad48!important;color:#111!important}
.rt-mk{position:fixed;z-index:60;display:grid;gap:5px;min-width:230px;max-width:calc(100vw - 16px)}.rt-mk b{margin-top:4px}
/* SIT1: the table card */
.lv-table-card{position:absolute;z-index:13;right:12px;bottom:120px;width:min(340px,calc(100vw - 24px));max-height:46vh;overflow-y:auto;display:grid;gap:8px;background:rgba(12,18,30,.97);border:1px solid var(--gold,#e0ad48);border-radius:18px;padding:12px;box-shadow:0 14px 44px rgba(0,0,0,.55);color:#fff}
.lv-table-card h4{margin:4px 0 0;color:var(--gold2,#f6d27a)}.lv-table-card .lv-eta{margin:0;color:#59d98e;font-weight:700}.lv-table-card .lv-safe{color:#cfd8e6}
body.touch .lv-table-card{left:12px;right:12px;width:auto;bottom:calc(env(safe-area-inset-bottom) + 150px);max-height:38vh}
body.touch.lv-sheet .lv-table-card{display:none}
/* CITY-QA 11-16: phones = a one-line ticker under the header pill (tap = half-sheet); desktop stays docked left, max 320 px */
.lv-sc{max-width:320px}
body.touch .lv-sc.tick{top:calc(env(safe-area-inset-top) + 62px);left:8px;right:72px;width:auto;max-width:none;height:28px;padding:0 10px;background:rgba(7,11,18,.66);border:1px solid rgba(255,255,255,.14);border-radius:999px;overflow:hidden;cursor:pointer;flex-direction:row;align-items:center}
body.touch .lv-sc.tick .lv-sch,body.touch .lv-sc.tick .lv-scr,body.touch .lv-sc.tick .lv-scf{display:none}
body.touch .lv-sc.tick .lv-scl{max-height:28px;padding:0;-webkit-mask-image:none;mask-image:none;display:flex;align-items:center;flex:1;min-width:0}
body.touch .lv-sc.tick .lv-scline{display:none;margin:0}body.touch .lv-sc.tick .lv-scline:last-child{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12.5px}
body.touch .lv-sc.big{position:fixed;left:0;right:0;top:auto;bottom:0;width:auto;max-width:none;height:50vh;height:50dvh;z-index:26;background:rgba(10,15,24,.97);border:1px solid var(--gold,#e0ad48);border-radius:18px 18px 0 0;padding:6px 10px max(10px,env(safe-area-inset-bottom));backdrop-filter:none}
body.touch .lv-sc.big .lv-sct{display:block}body.touch .lv-sc.big .lv-scl{max-height:none;overflow-y:auto;flex:1}body.touch .lv-sc.big .lv-scr{flex-wrap:wrap}
.lv-mini{position:fixed;z-index:40;width:290px;max-width:calc(100vw - 16px);display:grid;gap:8px;background:rgba(12,18,30,.98);border:1px solid var(--gold,#e0ad48);border-radius:16px;padding:10px 12px;box-shadow:0 12px 40px rgba(0,0,0,.55);color:#fff}
.lv-mini small{display:block;color:#cfd8e6}
/* ONLINE1: the big number never gets cut */
body:not(.touch) .lv-onpill.inhead{max-width:440px}.lv-onpill.inhead b{flex-shrink:0;white-space:nowrap}.lv-onpill.inhead span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
/* SAYFIX: the Live panel's own box */
.lv-scform{display:flex;gap:5px;flex:1 1 100%;margin-top:4px}.lv-scform input{flex:1;min-width:0;height:34px;border-radius:999px;border:1px solid rgba(255,255,255,.25);background:rgba(7,11,18,.7);color:#fff;padding:0 12px;font-size:14px}.lv-scform .lv-scsay{margin-left:0}
.lv-scmsg{flex:1 1 100%;margin:3px 2px 0;font-size:12.5px;color:#ffb4a8}
/* CITY-MOTION QA 11-16: fixed height (~4 lines), folds to one line after 20 s idle */
body:not(.touch) .lv-sc{max-height:none;min-height:0}body:not(.touch) .lv-sc .lv-scl{flex:none;height:92px;max-height:92px}
body:not(.touch) .lv-sc.dtick .lv-scl{height:24px;max-height:24px;overflow:hidden;-webkit-mask-image:none;mask-image:none}body:not(.touch) .lv-sc.dtick .lv-scline{display:none}body:not(.touch) .lv-sc.dtick .lv-scline:last-child{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:not(.touch) .lv-sc.dtick .lv-scr{display:none}
/* ONECHAT1 (live17, Todd: "make this all more distinct, clear and seamless"): ONE chat. Live tab first (red dot), reactions above the box on Live,
   one label says where you post, a one-line ticker with unread when collapsed (above the dock), the old floating Live panel is gone */
.lv-livedot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#e5333b;margin-right:5px;vertical-align:1px;box-shadow:0 0 0 2px rgba(229,51,59,.25);animation:lvscp 2s infinite}
.chat.lv-one .lv-scr{display:flex;gap:4px;padding:2px 0 4px;flex-wrap:nowrap;overflow-x:auto}.chat.lv-one .lv-scr[hidden]{display:none}
.chat.lv-one .lv-scrb{width:32px;height:30px;font-size:16px;flex:none}
.chat.lv-one .lv-scf{position:absolute;left:0;right:0;bottom:60px;height:200px;pointer-events:none}
.lv-line .lv-where{font-size:11px;color:#9fb0c8;margin:0 4px;white-space:nowrap}
.lv-min{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);color:#fff;border-radius:999px;width:28px;height:26px;font-weight:800;cursor:pointer;margin-left:auto;flex:none}
body.touch .lv-min{display:none}
.lv-tick{display:none;position:absolute;z-index:8;left:12px;bottom:44px;max-width:min(420px,calc(100vw - 24px));height:34px;align-items:center;gap:6px;padding:0 12px;background:rgba(16,24,38,.92);border:1px solid var(--gold,#e0ad48);border-radius:999px;color:#fff;font-size:13.5px;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.4)}
.lv-ticktx{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.lv-ticktx b{color:var(--gold2,#f6d27a)}
.lv-tickn{font-style:normal;background:#e5333b;color:#fff;border-radius:999px;font-size:11px;font-weight:800;padding:1px 6px;flex:none}
body.lv-chatmin:not(.touch) .chat.lv-feed{display:none!important}body.lv-chatmin:not(.touch) .lv-tick{display:flex}
body.touch:not(.lv-sheet) .chat.lv-feed{display:none!important}body.touch:not(.lv-sheet) .lv-tick{display:flex;left:12px;right:12px;max-width:none;bottom:calc(env(safe-area-inset-bottom) + 118px)}
body.touch.lv-sheet .lv-tick{display:none}
.lv-sc{display:none!important}
/* ONECHAT1: never under the bug tab at the left edge */
body:not(.touch) .chat.lv-one{left:40px!important}body:not(.touch) .lv-tick{left:40px}
/* live18b: the longer tab names fit inside the panel (no overflow past its edge) */
body:not(.touch) .chat.lv-one{width:470px!important;max-width:calc(100vw - 60px)!important;box-sizing:border-box;overflow:hidden}body:not(.touch) .chat.lv-one .lv-tabs{flex-wrap:nowrap;min-width:0}
/* live19: PIC1 chat picture, INT1 interests, GIFTS1 */
.lv-pic{display:inline-grid;place-items:center;border-radius:50%;overflow:hidden;line-height:1;flex:none;color:#fff;font-weight:800}.lv-pic img{width:100%;height:100%;object-fit:cover}
.lv-piccur{display:flex;align-items:center;gap:10px;margin:6px 0}
.lv-aiform{display:flex;gap:6px;margin:6px 0}.lv-aiform input{flex:1;min-width:0;height:38px;border-radius:10px;border:1px solid rgba(255,255,255,.25);background:rgba(7,11,18,.7);color:#fff;padding:0 10px;font-size:14px}
.lv-picgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.lv-picopt{padding:0;border:2px solid transparent;border-radius:50%;overflow:hidden;aspect-ratio:1;background:#0b111c;cursor:pointer}.lv-picopt:hover,.lv-picopt:focus-visible{border-color:#f6d27a}.lv-picopt img{width:100%;height:100%;object-fit:cover}
.lv-piclib{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:6px;max-height:300px;overflow-y:auto;margin-top:6px}
.lv-picitem{font-size:24px;height:44px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);cursor:pointer}.lv-picitem:hover,.lv-picitem:focus-visible{background:rgba(246,210,122,.25)}
.lv-picbgs{display:flex;gap:6px;margin:6px 0}.lv-picbg{width:28px;height:28px;border-radius:50%;border:2px solid transparent;cursor:pointer}.lv-picbg.on{border-color:#f6d27a}
.lv-intcat{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0;padding-bottom:6px;border-bottom:1px solid rgba(255,255,255,.08)}.soc-chip.sub{font-size:12px;opacity:.9}
.lv-cardints{display:flex;flex-wrap:wrap;gap:4px}.lv-cardints .soc-chip{font-size:12px;padding:2px 8px}
.lv-itbar{display:flex;flex-wrap:wrap;gap:4px;padding:2px 0 4px}.lv-itbar[hidden]{display:none}
.lv-gifts{display:flex;flex-wrap:wrap;gap:5px}.lv-gifts[hidden]{display:none}.lv-gift{font-size:13px;height:32px;padding:0 9px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.07);color:#fff;cursor:pointer}.lv-gift:hover{background:rgba(246,210,122,.2)}.lv-gift.crush.on{background:#7a2f4f;border-color:#f39ac0}
.lv-gfcount{margin:0;letter-spacing:.02em}
.lv-giftfly{position:fixed;z-index:50;font-size:30px;pointer-events:none;transition:transform 1.4s cubic-bezier(.3,.7,.3,1),opacity 1.4s ease-in;filter:drop-shadow(0 3px 4px rgba(0,0,0,.5))}
@media (prefers-reduced-motion:reduce){.lv-giftfly{transition:none}}
.lv-aiform{flex-wrap:wrap}.lv-aiform input{flex:1 1 100%}.lv-aiform button{flex:1 1 auto}
.lv-line .lv-where{display:inline-block;max-width:150px;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}
/* SCROLL1 */
.lv-jump{align-self:center;margin:4px auto 0;display:block;background:var(--gold,#e0ad48);color:#111;border:0;border-radius:999px;padding:4px 12px;font-weight:800;font-size:12.5px;cursor:pointer}.lv-jump[hidden]{display:none}
/* CHATUI2 (Todd 11-16: "squished and cluttered"): one calm glass card, 15 px text, 1.4 line height, room between lines, 4 lines visible,
   segmented tabs, the place tag only on hover/focus, reactions behind one button, the input bar full width with its icons inside */
.chat.lv-one{background:rgba(10,15,24,.72)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:18px!important;padding:10px 12px 12px!important;backdrop-filter:blur(10px) saturate(1.2);-webkit-backdrop-filter:blur(10px) saturate(1.2);box-shadow:0 12px 36px rgba(0,0,0,.35);font-size:15px;line-height:1.4}
.chat.lv-one .lv-tabs{display:flex;gap:2px;background:rgba(255,255,255,.07);border-radius:999px;padding:3px;margin-bottom:6px}
.chat.lv-one .lv-tab{flex:1 1 auto;border:0;border-radius:999px;padding:6px 10px;font-size:13.5px;font-weight:700;color:#cfd8e6;background:transparent;white-space:nowrap}
.chat.lv-one .lv-tab.on{background:var(--gold,#e0ad48);color:#111}
.chat.lv-one #chatLab{font-size:12.5px;color:#9fb0c8;margin:2px 2px 6px}
.chat.lv-one .lv-log{display:flex;flex-direction:column;gap:8px;max-height:142px!important;overflow-y:auto;padding-right:4px;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 18px);mask-image:linear-gradient(180deg,transparent 0,#000 18px)}
.chat.lv-one .lv-line{display:flex;align-items:flex-start;gap:9px;margin:0;padding:0;background:none!important;border:0!important;font-size:15px;line-height:1.4}
.chat.lv-one .lv-line .lv-thumb{width:28px;height:28px;flex:none;border-radius:50%;margin-top:1px}
.chat.lv-one .lv-line .lv-body{min-width:0;flex:1}
.chat.lv-one .lv-line .lv-nm{font-weight:800;margin-right:5px}
.chat.lv-one .lv-line .lv-t{display:none}
.chat.lv-one .lv-line .lv-where{display:none}
.chat.lv-one .lv-line:hover .lv-where,.chat.lv-one .lv-line:focus-within .lv-where{display:inline;font-size:11.5px;color:#9fb0c8}
.chat.lv-one .lv-scr{display:flex;align-items:center;gap:6px;padding:6px 0 2px}
.chat.lv-one .lv-scr .lv-scrb{display:none}.chat.lv-one .lv-scr.open .lv-scrb{display:inline-grid;place-items:center}
.lv-reactbtn{width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);font-size:18px;cursor:pointer;flex:none}
.chat.lv-one #chatForm{display:flex;align-items:center;gap:4px;margin-top:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:4px 4px 4px 14px;flex-wrap:nowrap}
.chat.lv-one #chatForm input{flex:1 1 auto;min-width:0;background:transparent!important;border:0!important;height:36px;font-size:15px;color:#fff;padding:0;box-shadow:none!important;outline:none}
.chat.lv-one #chatForm .lv-dict{width:34px;height:34px;min-width:34px;border-radius:50%;border:0;background:transparent;font-size:16px;padding:0}
.chat.lv-one #chatForm button[type=submit]{height:34px;border-radius:999px;padding:0 16px;font-weight:800}
body.touch .chat.lv-one .lv-log{max-height:none!important;flex:1}
/* CHATUI2 fit: nothing pokes past the right edge at any width; tabs shrink/scroll inside; the - button inside the corner */
body:not(.touch) .chat.lv-one{width:min(440px,calc(100vw - 96px))!important;max-width:none!important;box-sizing:border-box;overflow:hidden}
.chat.lv-one .lv-top{display:flex;align-items:center;gap:6px;min-width:0}
.chat.lv-one .lv-tabs{flex:1 1 auto;min-width:0;overflow-x:auto;scrollbar-width:none}.chat.lv-one .lv-tabs::-webkit-scrollbar{display:none}
.chat.lv-one .lv-tab{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
.chat.lv-one .lv-min{flex:none;margin-left:0}
.chat.lv-one .lv-line .lv-body,.chat.lv-one .lv-txt{overflow-wrap:anywhere;word-break:normal}
.chat.lv-one .lv-log,.chat.lv-one #chatForm{max-width:100%;box-sizing:border-box}
body.touch .lv-onpill .lv-meetx{display:none}
.chat.lv-one .lv-tab{flex:0 0 auto;padding:6px 11px}
/* CHATFIX20: an opened chat is never hidden by the fold or by a game */
body:not(.touch) .chat.lv-feed.cl-chat-open,body:not(.touch) .chat.lv-feed:focus-within{display:grid!important}
html.gm-play:not(.gm-chat) #chat.cl-chat-open,html.gm-play:not(.gm-chat) #chat:focus-within{display:grid!important}
/* CHAT2 (CITY-LIVE4 11-16, Todd P1): a real live chat log: newest at the bottom, 6-10 lines on computers, scrolls by wheel / touch / keys, thin scrollbar, time on hover */
.chat.lv-one .lv-log{gap:6px;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;outline:none}
.chat.lv-one .lv-log>:first-child{margin-top:auto}
body:not(.touch) .chat.lv-one .lv-log{max-height:clamp(170px,30vh,290px)!important;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.45) transparent;padding-right:6px}
body:not(.touch) .chat.lv-one .lv-log::-webkit-scrollbar{width:6px}
body:not(.touch) .chat.lv-one .lv-log::-webkit-scrollbar-thumb{background:rgba(255,255,255,.45);border-radius:3px}
body:not(.touch) .chat.lv-one .lv-log::-webkit-scrollbar-track{background:transparent}
.chat.lv-one .lv-log:focus-visible{box-shadow:inset 0 0 0 2px rgba(246,210,122,.75);border-radius:10px}
.chat.lv-one .lv-line:hover .lv-t,.chat.lv-one .lv-line:focus-within .lv-t{display:inline;margin-left:6px;font-size:11px;color:#9fb0c8;white-space:nowrap}
.chat.lv-one .lv-txt{white-space:pre-wrap;overflow-wrap:anywhere}
.lv-in{animation:lvC2in .22s ease-out}
@keyframes lvC2in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.lv-pend{opacity:.7}.lv-ps{font-size:11px;color:#9fb0c8;margin-left:4px;font-style:normal}.lv-fail .lv-ps{color:#ff9a9a;font-weight:700}
.lv-newpill{position:absolute;left:50%;transform:translateX(-50%);z-index:4;display:inline-flex;align-items:center;gap:6px;background:var(--gold,#e0ad48);color:#111;border:0;border-radius:999px;padding:5px 14px;font-weight:800;font-size:12.5px;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.45);white-space:nowrap}
.lv-newpill[hidden]{display:none}.lv-newn{font-style:normal;background:#111;color:#f6d27a;border-radius:999px;padding:0 6px;font-size:11px}
.lv-jump{display:none!important}
.lv-dead{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:6px 0 0;padding:8px 10px;border-radius:12px;background:rgba(120,30,30,.55);border:1px solid #ff9a9a;color:#fff;font-size:13.5px}.lv-dead[hidden]{display:none}.lv-dead .gold{height:32px;padding:0 14px;border-radius:999px;font-weight:800}
/* CHAT2 phones: the sheet's log gets the room (X on the tabs row, one-line label), street name tags never draw over the open sheet */
body.touch.lv-sheet .chat.lv-one .lv-top{flex-wrap:wrap}body.touch.lv-sheet .chat.lv-one .lv-tabs{flex:1 1 0;min-width:0}body.touch.lv-sheet .chat.lv-one .lv-x{flex:none;width:36px;height:36px;padding:0}
body.touch.lv-sheet .chat.lv-one #chatLab{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;margin:0 2px 4px}
body.touch.lv-sheet #labels{visibility:hidden}
body.touch .chat.lv-one .lv-line{font-size:14.5px;line-height:1.35}
@media (prefers-reduced-motion:reduce){.lv-in{animation:none}}
/* XDEV2C (11-18): iPhone Safari zooms the page on any field under 16px; touch screens get 16px fields. Sheets use dvh so they stop above Safari's toolbar. */
@media (hover:none) and (pointer:coarse){input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=button]):not([type=submit]),select,textarea{font-size:16px!important}}
@supports (height:100dvh){.bz-sheet,.or-sheet{max-height:calc(100dvh - 140px)}.bud-box{max-height:min(520px,calc(100dvh - 150px))}.fun-box{max-height:min(560px,calc(100dvh - 240px))}.mo-box{max-height:calc(100dvh - 200px)}.soc-light img{max-height:calc(100dvh - 80px)}.mini.big{width:min(430px,calc(100vw - 24px),calc(100dvh - 150px));height:min(430px,calc(100vw - 24px),calc(100dvh - 150px))}
@media (max-width:699px){.bz-hero{max-height:calc(100dvh - 150px)}}@media (max-width:620px){.bud-box{max-height:min(60dvh,calc(100dvh - 120px))}.fun-box{max-height:calc(100dvh - 230px)}}}
/* XDEV3G (11-18): the round globe button covered the chat Send button on phones; it hides while the chat is open */
body.ph2-chat #lngm,body.cl-chat-open #lngm{display:none!important}
/* XDEV4L (11-18): the EN language pill was pushed off the right edge (and onto two lines) while a sheet was open on small phones; it waits until the sheet closes */
.tr-globe{white-space:nowrap}body.ph2-sheet #trGlobe,body.w6-sheet #trGlobe{display:none!important}
/* BRO2KIT BRLIVE1 (COPY 11-18, Todd): shared LIVE/NOW status style. Add class bro-live to a status badge: red word, solid red dot on its left. */
.bro-live.bro-live{display:inline-flex;align-items:center;gap:.4em;background:none;color:#E11D2E;font-weight:800;letter-spacing:.05em;padding-left:0;padding-right:0;border:0;box-shadow:none;animation:none;text-shadow:0 0 1px rgba(0,0,0,.35)}.bro-live.bro-live:before{content:"";display:inline-block;flex:none;width:.6em;height:.6em;border-radius:50%;background:#E11D2E;animation:broLiveP 1.6s ease-in-out infinite}@keyframes broLiveP{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}@media (prefers-reduced-motion:reduce){.bro-live.bro-live:before{animation:none}}





/* CP2BUST 224515 */
