@font-face{font-family:"Inter";src:url(fonts/InterVariable.woff2) format("woff2");font-weight:100 900;font-display:block}
/* Neutral surfaces, one calm accent, no gradients, no divider lines. Areas are told apart by tone only. */
:root{
  --base:#E9E9EE;--sheet:#F6F6F8;--card:#FFFFFF;--soft:#EFEFF3;--soft2:#E2E2E8;
  --ink:#1B1B1F;--ink2:#35353B;--muted:#5E5E68;--faint:#73737E;
  --accent:#3478F6;--on-accent:#fff;--live:var(--accent);--s-on:#3BA56C;--s-idle:#D29A2E;--s-dnd:#D2544A;--s-off:#9A9CA6;--bad:#C9463D;
  --lift:0 3px 10px -2px rgba(20,20,40,.05),0 10px 30px -8px rgba(20,20,40,.10);--pop:0 4px 16px -4px rgba(20,20,40,.06),0 22px 56px -12px rgba(20,20,40,.20);
  color-scheme:light;
}
[data-theme=dark],[data-theme=black]{
  --base:#131315;--sheet:#1C1C1F;--card:#26262A;--soft:#2D2D32;--soft2:#3A3A40;
  --ink:#F4F4F6;--ink2:#DADAE0;--muted:#A8A8B2;--faint:#8B8B96;
  --live:#3DB870;--s-on:#3DB870;--s-idle:#E0AB45;--s-dnd:#E8675F;--s-off:#7C7E88;--bad:#E8675F;--lift:0 3px 10px -2px rgba(0,0,0,.22),0 10px 30px -8px rgba(0,0,0,.36);--pop:0 4px 18px -4px rgba(0,0,0,.30),0 24px 60px -12px rgba(0,0,0,.58);
  color-scheme:dark;
}
[data-theme=black]{--base:#000;--sheet:#0D0D0F;--card:#1A1A1D;--soft:#242428;--soft2:#303036}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{background:var(--base);color:var(--ink);font:400 14px/1.45 "Inter",system-ui,sans-serif;-webkit-font-smoothing:antialiased;overflow:hidden}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;text-align:left}
svg.ic{flex:none;display:block;width:var(--i,18px);height:var(--i,18px);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.v{display:none!important}
[data-view=server] .v.s,[data-view=dm] .v.d,[data-view=group] .v.g,[data-view=voice] .v.c,[data-view=friends] .v.f,[data-view=inbox] .v.i{display:flex!important}

.av{--s:40px;--c:#7C8494;width:var(--s);height:var(--s);flex:none;border-radius:50%;display:inline-grid;place-items:center;position:relative;font-weight:650;font-size:calc(var(--s)*.4);line-height:1;
  background:color-mix(in srgb,var(--c) 28%,var(--soft));color:color-mix(in srgb,var(--c) 60%,var(--ink))}
.st{position:relative;display:block;flex:none;width:14px;height:14px;border-radius:50%;background:var(--s-on);overflow:hidden}
.st::after{content:"";position:absolute;background:var(--ring,var(--card));display:none}
.st.idle{background:radial-gradient(33% 33% at 19% 19%,var(--ring,var(--card)) calc(100% - .5px),transparent calc(100% + .5px)),var(--s-idle)}
.st.dnd{background:var(--s-dnd)}.st.dnd::after{display:block;left:20%;right:20%;top:39%;height:22%;border-radius:99px}
.st.off{background:var(--s-off)}.st.off::after{display:block;inset:26%;border-radius:50%}
.av .st{position:absolute;right:-1px;bottom:-1px;width:clamp(11px,calc(var(--s)*.3),17px);height:clamp(11px,calc(var(--s)*.3),17px);outline:2.5px solid var(--ring,var(--base));--ring:var(--base)}
.c1{--c:#5E7FA8}.c2{--c:#A08862}.c3{--c:#9A6F66}.c4{--c:#6E7388}.c5{--c:#8A7F96}.c6{--c:#5F6B7A}

.ib{--i:18px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:var(--muted);flex:none}
.ib:hover,.ib.act{background:var(--card);color:var(--ink)}
.btn{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 16px;border-radius:999px;background:var(--soft);font-weight:600;font-size:13.5px;white-space:nowrap}
.btn:hover{background:var(--soft2)}
.btn.pri{background:var(--accent);color:var(--on-accent)}
.btn.sm{height:30px;padding:0 14px;font-size:13px}

#app{height:100%;display:flex}

/* ---------- left: servers, channels, and one large card for you ---------- */
.left{width:348px;flex:none;display:flex;flex-direction:column}
.lrow{flex:1;min-height:0;display:flex}
.rail{width:72px;display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 0}
.sv{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;font-weight:650;font-size:14px;position:relative;background:var(--sheet);color:var(--muted);transition:border-radius .15s}
.sv:hover{color:var(--ink);background:var(--card)}
.sv.on{background:var(--ink);color:var(--base)}
.sv .n{position:absolute;right:-5px;top:-5px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--accent);color:var(--on-accent);font-size:11px;font-weight:700;display:grid;place-items:center;box-shadow:0 0 0 3px var(--base)}
.sv.add{background:none;color:var(--faint)}
.rail .gap{height:4px}
.side{flex:1;min-width:0;flex-direction:column;padding:12px 12px 0 0;position:relative}
.side-h{height:46px;flex:none;display:flex;align-items:center;gap:8px;padding:0 6px 0 14px;margin-bottom:8px;border-radius:16px;background:var(--card);box-shadow:var(--lift);font-size:16px;font-weight:700;letter-spacing:-.015em}
.side-h .ib{margin-left:auto;width:34px;height:34px}.side-h .ib:hover{background:var(--soft)}
.gh{font-size:12px;font-weight:650;color:var(--faint);padding:14px 12px 6px}
.ch{display:flex;align-items:center;gap:11px;width:100%;padding:8px 12px;margin-bottom:2px;border-radius:999px;color:var(--ink2);font-size:14.5px;font-weight:500}
.ch .ic{color:var(--faint)}
.ch:hover{background:var(--sheet)}
.ch.on{background:var(--card);box-shadow:var(--lift);color:var(--ink);font-weight:600}
.ch.on .ic{color:var(--ink)}
.ch.unread{color:var(--ink);font-weight:600}
.ch.quiet{color:var(--faint)}
.badge{margin-left:auto;min-width:20px;height:20px;border-radius:10px;padding:0 6px;background:var(--accent);color:var(--on-accent);font-size:11.5px;font-weight:700;display:grid;place-items:center}
.badge.mut{background:var(--soft2);color:var(--muted);font-weight:600;padding:0 9px}
.udot{margin-left:auto;width:8px;height:8px;border-radius:50%;background:var(--ink)}
.room{margin:2px 0 6px;padding:12px;border-radius:20px;background:var(--card);--sh:var(--lift)}
.room-t{display:flex;align-items:center;gap:10px;font-weight:600;font-size:14.5px;padding-left:2px}
.room-t em{margin-left:auto;font-style:normal;font-size:12px;font-weight:650;color:var(--live);display:flex;align-items:center;gap:6px}
.room-t em::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--live)}
.room-b{display:flex;align-items:center;margin-top:10px}
.stack{display:flex}.stack .av{--s:28px;margin-left:-7px;box-shadow:0 0 0 2.5px var(--card)}.stack .av:first-child{margin-left:0}
.room-b small{color:var(--muted);font-size:12.5px;margin-left:10px}
.room-b .btn{margin-left:auto}
.dm{display:flex;align-items:center;gap:12px;width:100%;padding:7px 12px 7px 8px;margin-bottom:2px;border-radius:999px}
.dm:hover{background:var(--sheet)}
.dm.on{background:var(--card);box-shadow:var(--lift)}
.dm.on .st{--ring:var(--card)}
.dm .av{--s:34px}.dm{min-height:60px}
.dm .t{min-width:0;flex:1}
.dm b{display:block;font-size:14.5px;font-weight:600;line-height:1.25}
.dm small{display:block;color:var(--faint);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dm.unread small{color:var(--ink2);font-weight:500}
.dm time{align-self:flex-start;padding-top:2px;color:var(--faint);font-size:12px}

.me{margin:8px 12px 12px;border-radius:24px;background:var(--card);box-shadow:var(--lift);flex:none;overflow:hidden}
.me-v{align-items:center;gap:10px;padding:10px 10px 10px 16px;background:color-mix(in srgb,var(--live) 12%,var(--card));font-size:13.5px}
.me-v .ic{color:var(--live)}
.me-v b{font-weight:600;display:block;line-height:1.25}.me-v small{color:var(--muted);font-size:12.5px}
.me-v .btn{margin-left:auto;background:var(--card);color:var(--bad)}
.me-r{display:flex;align-items:center;gap:12px;padding:12px 10px 12px 14px}
.me-r .av{--s:36px}.me-r{min-height:68px}.me-r .st{--ring:var(--card)}
.me-r b{display:block;font-size:15px;font-weight:650;line-height:1.25}.me-r small{color:var(--faint);font-size:13px}
.me-r .tools{margin-left:auto;display:flex;flex:none}.me-r .tools .ib{width:36px}
.me-r .ib:hover{background:var(--soft)}

/* ---------- right: one sheet, chat fills it, side panel keeps the width useful ---------- */
.right{flex:1;min-width:0;display:flex;flex-direction:column;background:var(--sheet);border-radius:28px 0 0 0}
.top{height:58px;flex:none;display:flex;align-items:center;gap:12px;padding:0 14px 0 26px}
.top h1{font-size:17px;font-weight:700;letter-spacing:-.015em;display:flex;align-items:center;gap:9px;white-space:nowrap}
.top h1 .ic{color:var(--faint)}
.top p{color:var(--muted);font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top .hd{align-items:center;gap:12px;min-width:0}
.top .av{--s:32px}.top .st{--ring:var(--sheet)}
.top .sp{margin-left:auto;display:flex;align-items:center;gap:2px}

.content{flex:1;min-height:0;display:flex}
.main{flex:1;min-width:0;flex-direction:column;padding:0 14px 0 26px;--mpl:26px;--mpr:14px}
.feed{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;display:flex;flex-direction:column}
.feed>:first-child{margin-top:auto}
/* the chat scrolls out to the chat sheet's own edges, so a shadow in it ends at the sheet's edge, never on a
   straight line inside it (2026-11-16) */
.feed:not(.o-w .feed){padding:0 var(--mpr) 0 var(--mpl);margin:0 calc(-1 * var(--mpr)) 0 calc(-1 * var(--mpl))}
.day{width:fit-content;margin:8px auto 6px;padding:3px 13px;border-radius:999px;background:var(--card);box-shadow:var(--lift);color:var(--muted);font-size:12px;font-weight:550;flex:none}
.day.new{background:color-mix(in srgb,var(--accent) 15%,transparent);color:var(--accent);font-weight:650;box-shadow:none}
:is([data-theme=dark],[data-theme=black]) .day.new,:is([data-theme=dark],[data-theme=black]) .at{color:color-mix(in srgb,var(--accent) 65%,#fff)}
.m{display:flex;gap:14px;padding:6px 12px;margin:0 -12px;border-radius:18px;position:relative;flex:none}
.m:hover{background:color-mix(in srgb,var(--card) 70%,transparent)}
.m .b{min-width:0;flex:1;display:flex;flex-direction:column;align-items:flex-start}
/* a worn frame reaches up to ~11px past the picture (holly wreath 9.4, sparks 11); a framed row gets room for it
   above and below, so two framed rows in a row never overlap (Jesse 2026-11-17) */
.m:has(>.avb[data-frame]){padding-top:12px}
.m>.avb[data-frame]{margin-bottom:6px}
/* Jesse, 2026-12-01: "shrink the profile circles and decorations so they fit more cleanly into the pill they are placed in. -
   do this for all versions of Cove". In the window: you 44 to 36, a chat list row 38 to 34, beside a message 40 to 36, the top bar 34 to 32;
   your card and the rows keep their height, so the picture and its frame sit inside with room all round. */
.m>.avb .av,.m>.av{--s:36px}
/* the members list too: 34 to 30, each row 52 high so a frame stays inside its row and clear of the next */
.panel .mb .av{--s:30px}.panel .mb{min-height:52px}
.mh{display:flex;align-items:baseline;gap:9px}
.mh b{font-weight:600;font-size:15px}.mh time{color:var(--faint);font-size:12px}
.mt{font-size:var(--msg,15px);line-height:1.5;color:var(--ink2)}
.m.ping{background:color-mix(in srgb,var(--accent) 10%,transparent)}
.at{color:var(--accent);font-weight:600}
.re{display:flex;align-items:center;gap:7px;color:var(--faint);font-size:12.5px;margin-bottom:2px;--i:14px}
.re b{color:var(--muted);font-weight:600}
.rx{display:flex;gap:6px;margin-top:5px}
.rx span{height:28px;padding:0 11px;border-radius:999px;background:var(--card);box-shadow:var(--lift);display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:600;color:var(--muted)}
.rx span.mine{background:color-mix(in srgb,var(--accent) 16%,var(--card));color:var(--ink)}
.acts{position:absolute;right:12px;top:-14px;display:none;padding:3px;border-radius:999px;background:var(--card);box-shadow:var(--pop)}
.acts .ib{width:30px;height:30px;--i:16px}.acts .ib:hover{background:var(--soft)}
.m:hover .acts{display:flex}
.media{margin:6px 0 2px;width:min(520px,100%);border-radius:20px;overflow:hidden;background:var(--card);box-shadow:var(--lift)}
.media .scene{height:216px}
.media footer{display:flex;align-items:center;gap:10px;padding:10px 16px;font-size:13px;color:var(--muted)}
.media footer b{color:var(--ink);font-weight:600}.media footer span{margin-left:auto}
.scene{position:relative;overflow:hidden;background:
  radial-gradient(circle at 66% 56%,#ece2c9 0 4.2%,rgba(236,226,201,.22) 4.8%,transparent 15%),
  linear-gradient(#252a33 0%,#414c5c 36%,#7f858b 56%,#bfb29a 65.8%,#3a4c57 66%,#1c252c 100%)}
.scene::before,.scene::after{content:"";position:absolute;inset:0;background:#15181d}
.scene::before{clip-path:polygon(0 38%,10% 44%,22% 41%,34% 56%,42% 66%,0 66%)}
.scene::after{clip-path:polygon(100% 30%,90% 39%,84% 50%,76% 57%,70% 66%,100% 66%);background:#1b1f25}
.scene.b{filter:hue-rotate(-18deg) brightness(1.12)}.scene.c{filter:grayscale(.5) brightness(.9)}
.play{position:absolute;inset:0;margin:auto;width:54px;height:54px;border-radius:50%;background:rgba(15,15,17,.6);backdrop-filter:blur(8px);display:grid;place-items:center;color:#fff;z-index:1}
.play svg{fill:currentColor;stroke:none;margin-left:3px}
.typing{height:22px;flex:none;color:var(--faint);font-size:12.5px;padding-left:4px}
.comp{margin:0 0 14px;min-height:50px;border-radius:25px;background:var(--card);box-shadow:var(--lift);display:flex;align-items:center;gap:2px;padding:0 8px;flex:none}
.comp .ph{flex:1;color:var(--faint);font-size:15px;padding-left:8px}
.comp .ib{--i:20px}.comp .ib:hover{background:var(--soft)}
.send{width:36px;height:36px;margin-left:6px;border-radius:50%;background:var(--accent);color:var(--on-accent);display:grid;place-items:center}

/* side panel: members in a server, profile in a direct message */
.panel{width:288px;flex:none;margin:0 14px 14px 0;border-radius:24px;background:var(--base);flex-direction:column;padding:8px 10px 10px;overflow:hidden}
html[data-panel=off] .panel.v{display:none!important}
.panel h4{font-size:12px;font-weight:650;color:var(--faint);padding:12px 10px 6px;display:flex}
.panel h4 span{margin-left:auto;font-weight:500}
.mb{display:flex;align-items:center;gap:12px;padding:6px 10px;border-radius:999px}
.mb:hover{background:var(--sheet)}
.mb .av{--s:34px}
.mb b{display:block;font-size:14px;font-weight:550;line-height:1.3}.mb small{color:var(--faint);font-size:12.5px;display:block}
.mb.off{opacity:.5}
.mb .ic{margin-left:auto;color:var(--live);--i:15px}
.prof{text-align:center;padding:22px 0 4px}
.prof .av{--s:84px}.prof .st{--ring:var(--base)}
.prof h3{font-size:19px;font-weight:700;letter-spacing:-.015em;margin-top:12px}
.prof p{color:var(--muted);font-size:13.5px;margin-top:2px}
.prof .go{display:flex;gap:8px;justify-content:center;margin-top:14px}
.prof .go .btn:not(.pri){background:var(--card)}
.box{margin-top:10px;padding:13px 16px 15px;border-radius:20px;background:var(--card);font-size:14px;color:var(--ink2)}
.box label{display:block;font-size:12px;font-weight:650;color:var(--faint);margin-bottom:8px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.grid .scene{aspect-ratio:1;border-radius:12px}
.box .row{display:flex;align-items:center;gap:10px;padding:3px 0}
.box .sv{width:28px;height:28px;border-radius:10px;font-size:10.5px;background:var(--soft)}

/* voice room */
.stage{flex:1;min-height:0;display:grid;grid-template-columns:1fr 300px;gap:12px;padding-bottom:0}
.tile{border-radius:24px;position:relative;overflow:hidden;background:var(--card);box-shadow:var(--lift);display:grid;place-items:center;min-height:0}
.tile .av{--s:72px}
.tile.talk{box-shadow:0 0 0 2.5px var(--live)}
.tile .tag{position:absolute;left:12px;bottom:12px;height:30px;padding:0 12px;border-radius:999px;background:rgba(15,15,17,.62);backdrop-filter:blur(8px);color:#fff;font-size:13px;font-weight:600;display:flex;align-items:center;gap:7px;z-index:2;--i:14px}
.tile.share{display:block}.tile.share .scene{position:absolute;inset:0}
.col{display:grid;grid-template-rows:repeat(4,1fr);gap:12px;min-height:0}
.dock{flex:none;display:flex;justify-content:center;gap:10px;padding:14px}
.dk{--i:20px;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--card);box-shadow:var(--lift);color:var(--ink)}
.dk.onn{background:var(--ink);color:var(--sheet)}
.dk.leave{width:auto;padding:0 24px;border-radius:999px;display:flex;align-items:center;gap:9px;font-weight:600;color:var(--bad)}

/* look & feel options that change the whole app */
[data-size=s]{--msg:14px}[data-size=l]{--msg:16.5px}
[data-dense=on] .m{padding:2px 12px}[data-dense=on] .ch{padding:5px 12px}[data-dense=on] .dm{padding:4px 12px 4px 8px}[data-dense=on] .mb{padding:3px 10px}
[data-media=small] .media{width:min(340px,100%)}[data-media=small] .media .scene{height:142px}

/* server menu */
.menu{position:absolute;left:0;right:12px;top:66px;z-index:10;padding:6px;border-radius:20px;background:var(--card);box-shadow:var(--pop);display:none}
[data-menu=on] .menu{display:block}
.menu .ch{margin:0}.menu .ch:hover{background:var(--soft)}
.ch.bad,.ch.bad .ic{color:var(--bad)}

/* settings, server settings and sign-in: one small window each, same parts everywhere */
.ov{position:fixed;inset:0;z-index:20;display:none;place-items:center;background:rgba(12,12,16,.42);padding:24px}
.ov.show{display:grid}
/* Settings and Server settings: the window never grows with a page's rows (the Background tab is taller than the
   window: the page scrolls, the window stays where it is; before, it slid down and was cut off at the bottom) */
@media (min-width:601px){:is(#ov-settings,#ov-server).ov{grid-template-rows:minmax(0,1fr)}}
.dlg{width:min(940px,100%);height:min(620px,100%);display:flex;border-radius:28px;background:var(--sheet);box-shadow:var(--pop);overflow:hidden}
.dnav{width:228px;flex:none;background:var(--base);padding:16px 12px 12px;display:flex;flex-direction:column}
.dnav h3{font-size:16px;font-weight:700;padding:4px 12px 12px;letter-spacing:-.015em}
.dnav .ch{padding:8px 12px}
.dnav .end{margin-top:auto}
/* Not drawn on the PC: the phone's version line under Sign out (phone.html .ver), with the full version (Jesse 2026-11-16). */
@media(min-width:601px){.dnav .ver{color:var(--faint);font-size:12.5px;padding:6px 12px 0}}
.dbody{flex:1;min-width:0;display:flex;flex-direction:column;padding:0 22px 16px 24px}
.dh{height:64px;flex:none;display:flex;align-items:center;gap:8px}
.dh h2{font-size:19px;font-weight:700;letter-spacing:-.02em}
.dh .x{margin-left:auto}.dh .btn+.x{margin-left:0}.dh .btn{margin-left:auto}
.pg{display:none;flex-direction:column;gap:8px;overflow-y:auto;scrollbar-width:none;flex:1;min-height:0}
.pg.on{display:flex}
/* shadows: a scrolling page cuts off whatever reaches past its sides, so the page takes in the window's own
   margin as room for its cards' shadows (2026-11-16) */
:is(#ov-settings,#ov-server) .dbody>.pg{margin:0 -22px -16px -24px;padding:0 22px 16px 24px}
.sr{display:flex;align-items:center;gap:14px;min-height:60px;padding:10px 12px 10px 18px;border-radius:20px;background:var(--card);--sh:var(--lift);flex:none}
.sr .l{min-width:0;flex:1}.sr .l b{display:block;font-weight:600;font-size:14.5px;line-height:1.3}.sr .l small{color:var(--muted);font-size:13px}
.sr>.ic{color:var(--faint)}.sr .ib:hover{background:var(--soft)}.sr .av{--s:36px}.sr .av.big{--s:52px}
.sr .btn.bad{color:var(--bad)}
.seg{display:flex;padding:3px;border-radius:999px;background:var(--soft);flex:none}
.seg button{height:30px;padding:0 14px;border-radius:999px;font-size:13px;font-weight:600;color:var(--muted);white-space:nowrap}
.seg button.on{background:var(--ink);color:var(--card)}
.tog{width:46px;height:28px;border-radius:999px;background:var(--soft2);position:relative;flex:none;transition:background .15s;margin-right:4px}
.tog::after{content:"";position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s}
.tog.on{background:var(--accent)}.tog.on::after{transform:translateX(18px)}
.sws{display:flex;gap:10px;padding-right:8px}
.sws button{width:26px;height:26px;border-radius:50%;background:var(--c)}
.sws button.on{box-shadow:0 0 0 3px var(--card),0 0 0 5px var(--c)}
.inp{height:38px;width:290px;flex:none;border-radius:999px;background:var(--soft);padding:0 16px;display:flex;align-items:center;gap:9px;font-size:14px;color:var(--ink);--i:16px;white-space:nowrap;overflow:hidden}
.inp .ic{color:var(--faint)}.inp .ic:last-child:not(:first-child){margin-left:auto}
.inp.ph{color:var(--faint)}
.lvl{width:290px;height:8px;flex:none;border-radius:4px;background:var(--soft);overflow:hidden}.lvl i{display:block;height:100%;width:58%;border-radius:4px;background:var(--live)}
.pill{height:26px;padding:0 11px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:12.5px;font-weight:600;display:inline-flex;align-items:center;flex:none}
.pv{border-radius:20px;background:var(--base);padding:8px 14px;flex:none}.pv .m{margin:0}
/* A long word or address in a previewed message breaks inside the box; a GIF shows small (Jesse 2026-11-16: the
   delete window's KLIPY address ran out of it). Not in the design. */
.pv .m .b{min-width:0}.pv .mt{overflow-wrap:anywhere}
.pv .mt .pvgif{display:block;max-width:180px;max-height:120px;border-radius:10px;margin-top:4px}
.dlg.sm{width:min(540px,100%);height:auto;flex-direction:column;padding:0 22px 20px 24px}
.dlg.sm .inp{width:260px}
.col8{display:flex;flex-direction:column;gap:8px}
.foot{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.foot .btn{height:38px;padding:0 20px}.foot .btn:not(.pri){background:var(--card)}
#ov-switch{place-items:start center;padding-top:110px}
#ov-switch .dlg{padding:14px}
.dlg.sm .inp.big{width:100%;height:50px;font-size:16px;background:var(--card);box-shadow:var(--lift);margin-bottom:8px;--i:18px}
#ov-switch .ch:hover,#ov-switch .ch.on{background:var(--card)}
.ch>.r{margin-left:auto;color:var(--faint);font-size:12.5px;font-weight:500;--i:15px;display:flex;align-items:center;gap:6px}
.pick{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pick button{padding:16px;border-radius:20px;background:var(--card);--sh:var(--lift);display:flex;flex-direction:column;gap:3px}
.pick button.on{--sh:none;box-shadow:0 0 0 2px var(--accent)}
.pick b{font-weight:600;font-size:14.5px}.pick small{color:var(--muted);font-size:13px}
.gt{width:40px;height:40px;border-radius:13px;flex:none;display:grid;place-items:center;font-weight:700;font-size:13px;--c:#6E7388;background:color-mix(in srgb,var(--c) 30%,var(--soft));color:color-mix(in srgb,var(--c) 60%,var(--ink))}
.dot{width:10px;height:10px;border-radius:50%;background:var(--c,var(--live));flex:none}

/* friends and inbox */
.bar{display:flex;align-items:center;gap:10px;flex:none;padding:2px 0 10px}
.bar .seg{background:var(--soft2)}
.bar .btn{margin-left:auto}.bar .btn:not(.pri){background:var(--card);box-shadow:var(--lift)}
.list{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;padding-bottom:14px}
.sec{font-size:12px;font-weight:650;color:var(--faint);padding:10px 0 4px}
.fr{display:flex;align-items:center;gap:14px;padding:8px 12px;margin:0 -12px;border-radius:18px}
.fr:hover{background:color-mix(in srgb,var(--card) 70%,transparent)}
/* Not in the design: the list scrolls, so it cut off the 12px a row's highlight reaches past it (Jesse 2026-11-17). The list widens by those 12px and pads them back, so rows stay where they were. */
.list:has(>.fr){padding-inline:12px;margin-inline:-12px}
.fr .av{--s:42px}.fr .st{--ring:var(--sheet)}
.fr .l{flex:1;min-width:0}.fr .l b{display:block;font-weight:600;font-size:15px;line-height:1.3}.fr .l small{color:var(--muted);font-size:13px}
.fr .ib{background:var(--card);box-shadow:var(--lift)}
.nb{padding:10px 16px 12px;border-radius:20px;background:var(--card);--sh:var(--lift);margin-bottom:8px}
.nb .src{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:var(--muted);--i:14px;min-height:30px}
.nb .src .btn{margin-left:auto}
.nb .m{margin:0;padding:4px 0}.nb .m:hover{background:none}
.pp{display:none;flex-direction:column;min-height:0;flex:1}
[data-side=members] .pp[data-s=members],[data-side=pins] .pp[data-s=pins],[data-side=search] .pp[data-s=search]{display:flex}
.pp .box{margin-top:0;margin-bottom:8px;padding:11px 14px 12px}
.pp .box .who{display:flex;align-items:center;gap:8px;font-size:13px;margin-bottom:5px}.pp .box .who .av{--s:22px}
.pp .box .who b{font-weight:600;color:var(--ink)}.pp .box .who time{margin-left:auto;color:var(--faint);font-size:12px}
.pp .box mark{background:color-mix(in srgb,var(--accent) 22%,transparent);color:inherit;border-radius:4px;padding:0 2px}
.panel .inp{width:auto;background:var(--card);margin:6px 0 8px}

/* right-click menus, the profile card, pickers and pop-ups: all one floating card */
.cm{position:fixed;z-index:30;width:236px;padding:6px;border-radius:20px;background:var(--card);box-shadow:var(--pop);display:none}
.cm.show{display:block}.cm.sub,.shade.sub{z-index:31}
.cm .ch{margin:0;padding:7px 12px;font-size:14px;position:relative}.cm .ch:hover{background:var(--soft)}
.cm .gp{height:6px}
.cm .cm{position:absolute;left:100%;top:-6px;margin:0 4px;width:220px}
.has-sub.lft>.cm{left:auto;right:100%}
.has-sub:hover>.cm,.has-sub.open>.cm{display:block}
.has-sub.open{background:var(--soft)}
.cm .quick{display:flex;gap:4px;padding:2px 2px 6px}
.cm .quick button{flex:1;height:38px;border-radius:14px;background:var(--soft);font-size:18px;display:grid;place-items:center;color:var(--muted)}
.cm .vol{padding:6px 12px 10px;font-size:12.5px;font-weight:600;color:var(--muted)}.cm .vol .lvl{width:100%;margin-top:8px}.cm .vol .lvl i{background:var(--accent);width:70%}
.cm.card{width:336px;padding:18px;border-radius:26px}
.card .hd2{display:flex;align-items:center;gap:14px}
.card .hd2 .av{--s:68px}.card .hd2 .st{--ring:var(--card)}
.card h3{font-size:19px;font-weight:700;letter-spacing:-.015em;line-height:1.25}.card .hd2 p{color:var(--muted);font-size:13.5px}
.bx{margin-top:10px;padding:11px 14px 12px;border-radius:16px;background:var(--soft);font-size:13.5px;color:var(--ink2)}
.bx label{display:block;font-size:12px;font-weight:650;color:var(--faint);margin-bottom:6px}
.bx .row{display:flex;align-items:center;gap:11px}.bx .row b{display:block;font-weight:600;color:var(--ink)}.bx .row small{color:var(--muted)}
.bx .pill{background:var(--card);gap:7px;margin-right:4px}
.card .go{display:flex;gap:8px;margin-top:12px}.card .go .btn{flex:1;justify-content:center}.card .go .ib{background:var(--soft)}
.cm.emo{width:372px;padding:12px}
.emo .inp{width:100%}
.emo .sec{padding:10px 4px 4px}
.eg{display:grid;grid-template-columns:repeat(8,1fr);gap:2px}
.eg button{height:42px;border-radius:13px;font-size:23px;display:grid;place-items:center}.eg button:hover{background:var(--soft)}
.gi{width:var(--g,40px);height:var(--g,40px);flex:none;display:block}.gi.sm{--g:16px;display:inline-block;vertical-align:-3px;margin-right:6px}
.eg .gt{width:30px;height:30px;border-radius:10px;font-size:10px}
.toast{position:fixed;right:20px;bottom:20px;z-index:40;width:340px;padding:14px;border-radius:24px;background:var(--card);box-shadow:var(--pop);display:none}
[data-toast=call] .toast{display:block}
.toast .row{display:flex;align-items:center;gap:12px}.toast .av{--s:46px}
.toast b{display:block;font-weight:650;font-size:15px}.toast small{color:var(--muted);font-size:13px}
.toast .go{display:flex;gap:8px;margin-top:12px}.toast .go .btn{flex:1;justify-content:center;height:38px}.toast .bad{color:var(--bad)}
#ov-signin{background:var(--base)}
/* A screen lower than the card (a phone on its side, 360 high) scrolls it; centred while it fits. 2026-12-01: it
   was cut off below the password and Sign in could not be reached. */
@media(min-width:601px){#ov-signin,#ov-signup,#ov-forgot,#ov-code{overflow-y:auto;place-items:safe center}}
.sign{width:min(540px,100%);padding:48px 48px 38px;border-radius:36px;background:var(--card);box-shadow:var(--pop);display:flex;flex-direction:column;align-items:center}
.sign .sv{width:76px;height:76px;border-radius:26px}
.sign h2{font-size:30px;font-weight:700;letter-spacing:-.025em;margin-top:22px}
.sign p{color:var(--muted);font-size:16.5px;margin:4px 0 28px}
.sign label{align-self:flex-start;font-size:14px;font-weight:650;color:var(--muted);padding:0 8px 8px}
.sign .inp{width:100%;height:58px;margin-bottom:20px;font-size:17px;padding:0 24px}
.sign .btn{width:100%;height:58px;justify-content:center;font-size:17px;margin-top:6px}
.sign .alt{margin-top:12px;height:48px;font-size:15.5px;background:none;color:var(--muted)}
.sign .alt:hover{background:var(--soft)}
.sign small{color:var(--muted);font-size:15.5px;margin-top:18px}.sign small b{color:var(--accent);font-weight:600}

/* direct messages: group avatars, system rows, call card, profile and group panel, new message */
.av2{--d:38px;width:var(--d);height:var(--d);position:relative;flex:none;display:block}
.av2>.av{--s:calc(var(--d)*.66);position:absolute;left:0;top:0}
.av2>.av+.av{left:auto;top:auto;right:0;bottom:0;box-shadow:0 0 0 2.5px var(--ring,var(--base))}
.dm.on .av2{--ring:var(--card)}.top .av2{--d:36px;--ring:var(--sheet)}.prof .av2{--d:84px;margin:0 auto}
.dm .x{display:none;width:24px;height:24px;border-radius:50%;place-items:center;color:var(--faint);--i:14px;flex:none}
.dm:hover .x{display:grid}.dm:hover time,.dm:hover .badge{display:none}
.dm .x:hover{background:var(--soft2);color:var(--ink)}
.m.sys{align-items:center;color:var(--muted);font-size:14px}
.si{width:40px;height:40px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--card);box-shadow:var(--lift);color:var(--muted)}
.m.sys b{color:var(--ink);font-weight:600}.m.sys time{color:var(--faint);font-size:12px;margin-left:9px}
.call{display:none;flex:none;margin-bottom:8px;padding:12px;border-radius:24px;background:var(--base)}
[data-call=on] .call{display:block}
.call .tiles{display:flex;gap:12px;height:176px}.call .tile{flex:1}
.call .dock{padding:12px 0 0;align-items:center}
.call .dk{width:44px;height:44px;--i:18px}.call .dk.leave{width:auto}
.call .dock time{display:flex;align-items:center;gap:7px;margin-right:6px;font-size:13px;font-weight:650;color:var(--live)}
.call .dock time::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--live)}
.me-v.cl{display:none}[data-call=on] .me-v.cl{display:flex}
[data-view=dm] .only-g,[data-view=group] .only-d{display:none!important}
.panel.h .pp{overflow-y:auto;scrollbar-width:none}
[data-side=search] .panel.h .pp[data-s=members]{display:flex}
.box label a{float:right;color:var(--accent);font-weight:600}
.panel.h .box .row b{display:block;font-weight:600;color:var(--ink);line-height:1.3}.panel.h .box .row small{color:var(--muted);font-size:12.5px}
.panel.h .box .stack .av{--s:26px}
.box .since{display:block;margin-top:8px;color:var(--faint);font-size:12.5px}
.panel .ch{font-size:14px}.panel .ch:hover{background:var(--sheet)}
.mb .tag2{margin-left:auto;font-size:11.5px;font-weight:600;color:var(--faint)}
.ck{width:24px;height:24px;margin-right:6px;border-radius:50%;flex:none;display:grid;place-items:center;background:var(--soft2);color:transparent;--i:14px}
.ck.on{background:var(--accent);color:var(--on-accent)}
.inp.big .pill{background:var(--soft);color:var(--ink);gap:6px;--i:12px}
#ov-newdm .sr{min-height:54px;cursor:pointer}#ov-newdm .foot small{margin-right:auto;align-self:center;color:var(--muted);font-size:13px}

/* In-game overlay. Always dark glass so it reads over any game. ?overlay=idle|open, Shift+Tab switches. */
#ovl{position:fixed;inset:0;z-index:60;display:none;color:var(--ink);overflow:hidden;background:#0c1016;--glass:rgba(20,20,24,.42)}
[data-overlay] #ovl{display:block}
#ovl .scene{position:absolute;inset:0;width:100%;height:100%}
#ovl .dim{position:absolute;inset:0;background:rgba(8,9,12,.4);opacity:0;transition:opacity .2s;pointer-events:none}
[data-overlay=open] #ovl .dim{opacity:1}
[data-overlay=open] #ovl .o-idle,[data-overlay=idle] #ovl .o-open{display:none!important}
#ovl kbd{font:600 11px "Inter";padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.12);color:var(--ink2)}
.o-voice{position:absolute;left:16px;top:16px;display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.o-voice .p{display:flex;align-items:center;gap:8px;height:28px;padding:0 11px 0 3px;border-radius:999px;font-size:12.5px;font-weight:600;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.7);opacity:.5;--i:12px}
.o-voice .p .av{--s:22px;text-shadow:none}.o-voice .p.talk{opacity:1;background:var(--glass);backdrop-filter:blur(12px)}
.o-voice .p .ic{color:var(--bad)}
#ovl .av.talk{outline:2px solid var(--s-on);outline-offset:1.5px}.o-voice .av.talk{outline-width:1.5px;outline-offset:1px}
.o-voice .lab{height:26px;padding:0 11px;border-radius:999px;background:var(--glass);backdrop-filter:blur(16px);font-size:12px;font-weight:600;color:var(--muted);display:flex;align-items:center;gap:7px;--i:13px}
.o-toast{position:absolute;right:16px;top:16px;width:290px;padding:9px 14px 10px 10px;border-radius:18px;background:var(--glass);backdrop-filter:blur(12px)}
.o-toast .row{display:flex;gap:10px}.o-toast .av{--s:28px}
.o-toast b{font-weight:650;font-size:13px}.o-toast small{color:var(--ink2);opacity:.7;font-size:12px;margin-left:7px}
.o-toast p{font-size:13px;line-height:1.35;color:var(--ink2)}
.o-toast .k{display:flex;align-items:center;gap:6px;margin-top:9px;padding-left:48px;font-size:12px;color:var(--muted)}
.o-tip{position:absolute;left:50%;top:20px;transform:translateX(-50%);height:34px;padding:0 8px 0 12px;border-radius:999px;background:var(--glass);backdrop-filter:blur(16px);display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:var(--muted);--i:16px}
.o-tip .ic{color:var(--ink)}
.o-tip .end{height:26px;padding:0 11px 0 8px;margin-left:4px;border-radius:999px;background:rgba(255,255,255,.12);color:var(--ink);font-size:12.5px;font-weight:600;display:flex;align-items:center;gap:6px;--i:13px;cursor:pointer}
.o-tip .end:hover{background:rgba(255,255,255,.2)}
#ovl[data-leave]{pointer-events:none}
.o-bar{position:absolute;left:50%;top:20px;transform:translateX(-50%);height:54px;padding:0 9px 0 18px;border-radius:999px;background:var(--card);box-shadow:var(--pop);display:flex;align-items:center;gap:14px;white-space:nowrap}
.o-bar .lg{--i:22px;color:var(--ink)}.o-bar time{font-size:15px;font-weight:650}
.o-bar .g{display:flex;align-items:center;gap:9px;height:36px;padding:0 14px 0 6px;border-radius:999px;background:var(--soft);font-weight:600;font-size:13.5px}
.o-bar .g .gi{--g:24px}.o-bar .g small{color:var(--muted);font-weight:500;font-size:12.5px}
.o-bar .ib:hover{background:var(--soft)}.o-bar .btn{height:36px}
.o-w{position:absolute;top:96px;display:flex;flex-direction:column;border-radius:24px;background:rgba(28,28,31,.94);box-shadow:var(--pop);overflow:hidden}
.o-h{height:50px;flex:none;display:flex;align-items:center;gap:9px;padding:0 8px 0 18px;font-weight:700;font-size:15px;--i:17px;cursor:grab}
.o-h>.ic{color:var(--faint)}.o-h small{font-weight:500;font-size:12.5px;color:var(--muted)}
.o-h .ib{width:32px;height:32px;--i:16px}.o-h .ib:first-of-type{margin-left:auto}.o-h .ib.act{background:var(--soft);color:var(--accent)}
.o-w .mb{padding:6px 10px}.o-w .mb .ic{--i:15px}
.o-list{padding:0 8px 8px;display:flex;flex-direction:column}
.o-dock{display:flex;gap:8px;padding:10px 12px 12px;background:var(--base)}
.o-dock .dk{width:42px;height:42px;--i:18px;box-shadow:none}.o-dock .btn{margin-left:auto;height:42px;color:var(--bad);background:var(--card)}
.o-w .feed{padding:0 20px}.o-w .comp{margin:8px 12px 12px}
.o-foot{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);height:34px;padding:0 16px;border-radius:999px;background:var(--glass);backdrop-filter:blur(16px);display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:550;color:var(--muted);white-space:nowrap;--i:14px}
/* ---------- additions for the real app (not in the mockup) ---------- */
/* The mockup shows these areas through its view switch; here they are always flex. */
.side,.main,.panel,.top .hd{display:flex}
/* In the mockup the view switch makes the top bar's round buttons flex, which
   puts each icon at the left of its circle. Jesse had that fixed (2026-11-13):
   here they stay the grid `.ib` is, so the icon sits in the middle. */
.room.tap{cursor:pointer}
.menu.open,.toast.open{display:block}
.toast.open{font-size:14px;color:var(--ink)}
.clip{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
div.ch{cursor:default}div.ch.quiet:hover{background:none}
.me-r .who{min-width:0;flex:1}.me-r .who b,.me-r .who small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* real text fields in place of the mockup's drawn ones */
input.inp{border:0;outline:0;font:inherit;font-size:14px}
input.inp::placeholder{color:var(--faint)}
input.inp:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sign input.inp{font-size:17px}
.sign small button{color:inherit}
.comp{align-items:flex-end}
.comp textarea{flex:1;min-width:0;height:50px;max-height:200px;border:0;outline:0;resize:none;background:none;color:var(--ink);font:inherit;font-size:15px;line-height:22px;padding:14px 8px;scrollbar-width:none}
.comp textarea::placeholder{color:var(--faint)}
.comp .ib{margin-bottom:7px}
.send{flex:none;margin:0 -1px 7px 6px}
.hide{display:none}
.dlg.sm .inp.code{width:150px;justify-content:center;font-weight:600;letter-spacing:.06em;user-select:all}
.btn:disabled{opacity:.55;cursor:default}
.problem{align-self:stretch;margin:2px 0 6px;padding:10px 16px;border-radius:16px;background:color-mix(in srgb,var(--bad) 12%,transparent);color:var(--bad);font-size:14px;font-weight:500}
.about{color:var(--ink2);font-size:14.5px;padding:0 2px 4px}
/* messages: long text wraps, and each one in a group has its own actions */
.mi{align-self:stretch;position:relative;display:flex;flex-direction:column;align-items:flex-start;border-radius:10px;transition:background .4s}
.mi.flash{background:color-mix(in srgb,var(--accent) 14%,transparent)}
.mt{align-self:stretch}
.mt span{white-space:pre-wrap;overflow-wrap:anywhere}
.mt small{color:var(--faint);font-size:12px}
.lnk{color:var(--accent);text-decoration:none}.lnk:hover{text-decoration:underline}
:is([data-theme=dark],[data-theme=black]) .lnk{color:color-mix(in srgb,var(--accent) 65%,#fff)}
.m:hover .acts{display:none}
.m .mi:hover>.acts{display:flex}
.acts{right:0;z-index:2}
button.re{max-width:100%;cursor:pointer}div.re{max-width:100%}
.re:hover span{color:var(--ink2)}
.rx{flex-wrap:wrap}
.rx button{height:28px;padding:0 11px;border-radius:999px;background:var(--card);box-shadow:var(--lift);display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:600;color:var(--muted)}
.rx button:hover{background:var(--soft)}
.rx button.mine{background:color-mix(in srgb,var(--accent) 16%,var(--card));color:var(--ink)}
/* pictures and files on a message */
.media{max-width:100%;display:block;color:inherit;text-decoration:none;position:relative}
/* the card must read as one rounded shape, also on a hovered or highlighted message whose background is close to the card's */
.media::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ink) 9%,transparent);pointer-events:none;z-index:2}.media footer b{min-width:0}.media footer span{flex:none}
.media .shot{display:block;width:100%;background:var(--soft)}
.media .shot img{display:block;width:100%;height:auto;object-fit:scale-down}
/* a clip is the mockup's still with a round play button; a sound gets the same button and a line that fills */
.media.clipv .scene{height:auto;background:#000}.media.clipv .scene::before,.media.clipv .scene::after{content:none}
.media video{display:block;width:100%;aspect-ratio:16/9;background:#000}
button.play{cursor:pointer}
.media.clipv video{cursor:pointer}.media.clipv .play.hide{display:none}
/* The pause icon is two drawn lines, and every round play button fills its icon and draws no lines: Pause showed
   nothing at all on a playing clip, sound or voice message (Jesse 2026-11-19: 'add the ability to ... pause them'). */
svg.ic:has(use[href="#pause"]){stroke:currentColor!important}
/* The clip is laid over the screen, not placed in the grid: in the grid a clip taller than the screen's shape (a square
   or upright one) made its row as high as the clip at full width, so it ran off the screen, cut at the bottom
   (Jesse 2026-11-19: 'it zooms into the video'). */
.scene:fullscreen{display:grid;place-items:center;background:#000}.scene:fullscreen video{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain}
/* A clip over the whole phone (desktop.js, fillScreen): the page lays it over everything itself; its bars are
   the design.s (see "An uploaded video" at the end of this file). */
.media.clipv .scene.full{position:fixed;inset:0;z-index:3000;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;display:grid;place-items:center;background:#000;color:#fff}
.media.clipv .scene.full::backdrop{background:#000}
.media.clipv .scene.full video{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:contain}
/* in a low window (a phone held sideways) a clip stays lower than the chat, so its bar can be reached */
@media (max-height:520px){.media.clipv .scene:not(.full) video{max-height:calc(100dvh - 200px)}}
@media (prefers-reduced-motion:no-preference){.media.clipv .scene.full{animation:vfill .2s cubic-bezier(.2,.7,.2,1)}}
@keyframes vfill{from{opacity:0;transform:scale(.96)}}
.media.sound audio{display:none}
.snd{display:flex;align-items:center;gap:12px;padding:12px 16px 0}
.snd button{width:36px;height:36px;flex:none;border-radius:50%;background:var(--accent);color:var(--on-accent);display:grid;place-items:center;--i:15px}
.snd button svg{fill:currentColor;stroke:none}
.snd .lvl{flex:1;width:auto;min-width:0}.snd .lvl i{background:var(--accent)}
.snd small{flex:none;color:var(--muted);font-size:12.5px;font-variant-numeric:tabular-nums}
.media.file{width:min(340px,100%)}.media.file footer{padding:14px 16px}.media.file .ic{color:var(--faint)}
a.media.file:hover{background:var(--soft)}
.grid button{border-radius:12px;overflow:hidden;background:var(--soft)}
.grid img{display:block;width:100%;aspect-ratio:1;object-fit:cover}
.lb{grid-template-rows:minmax(0,1fr) auto;gap:14px;background:rgba(8,8,10,.86)}
.lb img{max-width:100%;max-height:100%;min-height:0;border-radius:14px;object-fit:contain}
.lb-b{display:flex;align-items:center;gap:8px;max-width:100%;color:#fff;font-size:14px}
.lb-b b{font-weight:600;margin-right:8px}.lb-b .btn{text-decoration:none;color:var(--ink);background:var(--card)}
/* editing a message in place */
.editing{align-self:stretch;margin:2px 0 4px}
.editing textarea{display:block;width:100%;min-height:62px;border:0;outline:0;resize:vertical;border-radius:16px;background:var(--card);box-shadow:var(--lift);color:var(--ink);font:inherit;font-size:15px;line-height:22px;padding:9px 14px}
.editing small{display:block;color:var(--faint);font-size:12px;padding:4px 4px 0}
/* what the next message carries: a reply and files */
.draft{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 6px;flex:none}
.chip{display:flex;align-items:center;gap:8px;height:34px;max-width:340px;padding:0 4px 0 12px;border-radius:999px;background:var(--card);box-shadow:var(--lift);font-size:13px;color:var(--muted);--i:15px}
.chip b{color:var(--ink);font-weight:600}.chip small{flex:none;font-size:12.5px}
.chip .ib{width:26px;height:26px;--i:14px}.chip .ib:hover{background:var(--soft)}
.chip.bad small{color:var(--bad);flex:initial;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* emoji picker */
.emo .inp{background:var(--soft)}
.emo-list{max-height:356px;overflow-y:auto;scrollbar-width:none;margin-top:4px}
.emo .note{padding:28px 0}
/* groups out of sight are not drawn until scrolled to; emoji.rs gives each its height */
.emo-all .eg{content-visibility:auto}
.eg button{font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif}
.cm .quick button{font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif}
.note{margin:auto;padding:24px;color:var(--faint);font-size:14.5px;text-align:center}
.main.empty{align-items:center;justify-content:center;gap:6px;text-align:center;padding-bottom:58px}
.main.empty .sv{width:60px;height:60px;border-radius:20px;margin-bottom:12px}
.main.empty h2{font-size:21px;font-weight:700;letter-spacing:-.02em}
.main.empty p{color:var(--muted);font-size:14.5px;margin-bottom:14px}
.panel{overflow-y:auto;scrollbar-width:none}
/* Home: friends, inbox, conversations */
.dms{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none}
.fr.dim{opacity:.55}
.av.s28{--s:28px}
.mb.tap{cursor:pointer}
.mb .ib{margin-left:auto;width:28px;height:28px;--i:15px}.mb .ib:hover{background:var(--card);color:var(--bad)}
.prof .go{flex-wrap:wrap}.prof .go .ib{background:var(--card)}
.shade{position:fixed;inset:0;z-index:29}
.tick{margin-left:auto}
.bar:empty{display:none}
/* people: pictures, status colours, the profile card, settings */
.av img{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover}
.tap{cursor:pointer}
.avb{display:flex;flex:none;align-self:flex-start;border-radius:50%}
.mebtn{display:flex;align-items:center;gap:12px;min-width:0;flex:1;border-radius:16px}
.mb>span.clip{flex:1}.mb small.clip{display:block}
.ch .dot{margin:0 4px}
.pill .dot{width:8px;height:8px}
.pre{white-space:pre-wrap;overflow-wrap:anywhere}
.card .hd2>span.clip{flex:1}
.bx .pill{margin-bottom:2px}
input.plain{width:100%;border:0;outline:0;background:none;font:inherit;color:var(--ink2)}
input.plain::placeholder{color:var(--faint)}
.sr .inp input.plain,.emo .inp input.plain{flex:1;min-width:0;color:var(--ink);font-size:14px}
.cm div.ch.has-sub{cursor:default}
input.inp:disabled{opacity:.6}
/* drop-downs: the mockup's pill with a chevron; the choices open as a floating card */
button.inp.dd{font:inherit;font-size:14px;cursor:pointer;text-align:left}
/* the box's arrow turns while its list is open; the list's picked row has --soft behind it and the accent tick
   at its right (Cove 4 UI final/cove.html `.inp.dd` / `.cm.dd`, 2026-12-04). The list is as wide as its box. */
.inp.dd .ic:last-child{transition:rotate var(--t-move,200ms) var(--ease)}
@media (min-width:601px){.inp.dd[aria-expanded=true] .ic:last-child{rotate:180deg}}
.cm.dd .ch{width:100%}.cm.dd .ch.on{background:var(--soft);box-shadow:none}
.cm.dd .ch .ck{width:16px;height:16px;margin:0 0 0 auto;border-radius:0;display:block;background:none;box-shadow:none;flex:none;color:var(--accent);opacity:0}.cm.dd .ch.on .ck{opacity:1}
@media (prefers-reduced-motion:reduce){.inp.dd .ic{transition:none}}
/* as in the mockup, the chevron sits right after the text (there the text is not an element, so the chevron is
   not pushed to the end by `.inp .ic:last-child:not(:first-child)`); only a leading icon keeps it at the end */
button.inp.dd>.clip:first-child+.ic{margin-left:0}
button.inp.dd.short{width:170px}
.cm.pk{max-height:320px;overflow-y:auto;scrollbar-width:none}
.cm.pk .ch{text-align:left}
.tog:disabled,.sws button:disabled,.seg button:disabled{cursor:default}
.tog:disabled{opacity:.5}
.dnav h3{min-width:0}
.pg .bar .seg{flex-wrap:wrap;border-radius:19px;min-width:0;flex:initial}
.pg .bar .btn{align-self:flex-start}
.pg .about{padding:6px 6px 0}
/* voice rooms and calls */
.me-v{display:flex}
.mv{display:flex;align-items:center;gap:10px;min-width:0;flex:1;text-align:left}
.mv b.clip,.mv small.clip{display:block}
.me-r .tools .ib.act{background:var(--soft);color:var(--bad)}
button.ch.quiet:hover{background:var(--sheet);color:var(--muted)}
.room-t .clip{flex:1}.room-t em{flex:none}
.stage.grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-auto-rows:minmax(0,1fr);padding-top:4px}
.tile.tap{cursor:pointer}
/* cameras and shown screens (milestone 7) */
.stage{container-type:size}
.stage.focus{grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:repeat(var(--n,4),minmax(104px,1fr));overflow-y:auto;padding:4px;margin:-4px;scrollbar-width:none}
.stage.focus .tile{grid-column:2}
.stage.focus .tile.big{grid-column:1;grid-row:1/-1;position:sticky;top:0;align-self:start;height:100%;max-height:100cqh}
.stage.focus .tile:not(.big) .av{--s:52px}
.tile .vid{position:absolute;inset:0;z-index:1;pointer-events:none}
.tile .vid:empty{display:none}
.tile .vid video{display:block;width:100%;height:100%;object-fit:cover;background:#0f0f11}
.tile.share .vid video,.tile.big .vid video{object-fit:contain}
.tile .vid.mine video{transform:scaleX(-1)}
.tile .wait{position:absolute;inset:0;display:grid;place-items:center;color:var(--faint);--i:34px}
.tile:fullscreen{border-radius:0;background:#0f0f11}
.tile .tag .ic{color:#fff}
.dk.onn .ic{color:inherit}
.stack>span:not(.av){display:flex;margin-left:-7px;border-radius:50%}.stack>span:not(.av):first-child{margin-left:0}
.stack>span .av,.stack>span .av:first-child{margin-left:0}
.stack>span.talk .av{box-shadow:0 0 0 2.5px var(--live)}
/* Not in the design (Jesse, 2026-11-13): the same ring on your own picture in your card while you talk. */
.mebtn.talk .av{box-shadow:0 0 0 2.5px var(--live)}
.toast.ring~.toast.open{bottom:158px}.toast.upd .av{background:var(--ink);color:var(--base);--i:24px}.toast.upd~.toast.open:not(.upd){bottom:158px}
.toast .row .clip{flex:1}
/* mentions, pins, search and moderation (milestone 8) */

.at.tap:hover{text-decoration:underline}
.pinmark{display:flex;align-items:center;gap:5px;color:var(--faint);font-size:12px;--i:12px}
.comp{position:relative}
.comp.hide{display:none}
.comp.held{align-items:center;gap:10px;padding:0 18px;color:var(--muted);font-size:14px;--i:16px}
.sug{position:absolute;left:0;bottom:calc(100% + 6px);width:320px;max-width:100%;padding:6px;border-radius:20px;background:var(--card);box-shadow:var(--pop);z-index:5}
.sug .ch{margin:0;padding:6px 10px;font-size:14px}
.sug .ch.on,.sug .ch:hover{background:var(--soft);box-shadow:none;font-weight:500}
.pp.show{display:flex}
.pp .box.tap:hover{background:color-mix(in srgb,var(--card) 55%,var(--soft))}
.pp .box .txt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}
.pp .box .who small{color:var(--faint);font-size:12px}
.pp .box .who time{flex:none;padding-left:6px}
.pp .note{margin:28px auto}
.pp>.btn{align-self:center;flex:none;background:var(--card);margin:2px 0 8px}
label.inp{cursor:text}
.panel label.inp{flex:none}
#ov-switch .note{padding:18px}
#ov-switch .ch{flex:none}
.clip2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.sr .l small{overflow-wrap:anywhere}
/* a button that removes something stays red inside a window's footer too */
/* settings pages (milestone 9) */
[data-media=small] .feed .media:not(.file):not(.sound){max-width:min(260px,100%)}
.shot.blur{overflow:hidden}.shot.blur img,.shot.blur canvas{filter:blur(26px);transform:scale(1.2)}
/* A GIF that is not playing ("Play clips and GIFs"): its first frame lies over the hidden picture. */
.shot canvas{display:none;position:absolute;inset:0;width:100%;height:100%}
.scene.real canvas{display:none;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.scene.real.still img{opacity:0}.scene.real.still canvas{display:block}.scene.real.blur canvas{filter:blur(22px)}.shot.still{position:relative}.shot.still img{opacity:0}.shot.still canvas{display:block}
.grid button.blur img{filter:blur(12px)}
.lvl i{width:0;transition:width .08s linear}
.pg .sr .inp.fix{flex:none;width:auto;min-width:0;max-width:300px;color:var(--ink2)}
.pv .m{pointer-events:none}
.sr.quiet{--sh:none;background:none;box-shadow:none;padding-left:6px;min-height:0}
#ov-sub .col8{gap:8px}
#ov-sub .about{padding:0 2px 6px}
.qr{align-self:center;width:188px;height:188px;padding:10px;border-radius:16px;background:#fff;flex:none}
.qr svg{display:block;width:100%;height:100%}
.codes{display:grid;grid-template-columns:repeat(2,1fr);gap:6px 18px;padding:14px 18px;border-radius:16px;background:var(--card);box-shadow:var(--lift);font:600 15px/1.3 ui-monospace,Consolas,monospace;letter-spacing:.04em;user-select:all}
.dlg.sm .inp.key{width:100%;justify-content:center;font:600 13.5px/1 ui-monospace,Consolas,monospace;letter-spacing:.05em;user-select:all}
.sess{max-height:340px;overflow-y:auto;scrollbar-width:none;display:flex;flex-direction:column;gap:8px;padding:2px}
/* server settings pages, held messages and custom emoji (milestone 9) */
.sv img{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit;object-fit:cover}
.sv.big{width:52px;height:52px;border-radius:18px;flex:none;font-size:15px}
.ib.flip .ic,.ch .flip .ic{transform:rotate(180deg)}.ch .flip{display:flex}
.cm .ch:disabled{opacity:.4;cursor:default}.cm .ch:disabled:hover{background:none}
.sr .ib:disabled{opacity:.35;cursor:default}.sr .ib:disabled:hover{background:none}
.sr.hide{display:none}
.gt.em{background:var(--soft)}
.gt.em img{max-width:30px;max-height:30px;display:block}
.cem{display:inline-block;width:1.45em;height:1.45em;object-fit:contain;vertical-align:-.36em;margin:0 1px}
/* Emoji in a message are larger than its words, and large when the message is nothing else. Not in the design (Jesse, 11-14). */
.mt .em{font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;font-size:1.35em;line-height:1;vertical-align:-.08em}
.mt .cem{width:1.7em;height:1.7em;vertical-align:-.45em}
.mt.big{line-height:1.2}
.mt.big .em{font-size:3em;line-height:1.2;vertical-align:baseline}
.mt.big .cem{width:3.4em;height:3.4em;vertical-align:-.5em}
.rx button .cem{width:18px;height:18px;vertical-align:-4px;margin:0}
.eg button .cem{width:28px;height:28px;margin:0}
button.inp.fix{cursor:pointer;font:inherit;font-size:14px}
textarea.words{width:100%;height:170px;resize:none;border:0;outline:0;border-radius:18px;background:var(--card);box-shadow:var(--lift);padding:12px 16px;font:inherit;font-size:14.5px;line-height:1.5;color:var(--ink)}
textarea.words::placeholder{color:var(--faint)}
.heldmsg{display:flex;gap:12px;margin:10px 0 6px;padding:12px 16px;border-radius:20px;background:color-mix(in srgb,var(--accent) 9%,var(--card));box-shadow:var(--lift);--i:18px}
.heldmsg>.ic{flex:none;margin-top:2px;color:var(--muted)}
.heldmsg b{display:block;font-weight:600;font-size:14.5px}
.heldmsg small{display:block;color:var(--muted);font-size:13px}
.heldmsg p{margin-top:6px;white-space:pre-wrap;overflow-wrap:anywhere}
.top .hd p.clip{min-width:0}
.pg .sr .inp.code{width:150px;justify-content:center;font-weight:600;letter-spacing:.06em;user-select:all}

/* notifications: muted conversations */
.dm.quiet{opacity:.55}
/* direct messages (the mockup's Direct messages page, 2026-11-12) */
/* the call card is drawn only while there is a call; the mockup's `.call` also names nothing else here */
.main>.call{display:block}
.call .tiles .stage{flex:1;padding:0;margin:0}
.call .tiles .stage.grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
/* a screen shared in a call (the design's [data-share] rules): the card's tiles grow to 380px, the screen takes the left,
   the people stand in a 224px column on the right with small pictures and tags; 12px between screen and column */
@media(min-width:601px){
  .call .tiles.big{height:380px;position:relative}
  .call .tiles.big .stage.focus{container-type:normal;display:flex;flex-direction:column;gap:12px;overflow-y:auto;scrollbar-width:none;padding:3px 3px 3px calc(100% - 221px);margin:-3px}
  .call .tiles.big .stage.focus .tile.big{position:absolute;left:0;top:0;bottom:0;right:236px;height:auto;max-height:none;flex:none;align-self:normal}
  .call .tiles.big .stage.focus .tile:not(.big){flex:1 0 72px;padding-bottom:26px}
  .call .tiles.big .stage.focus .tile:not(.big) .av{--s:38px}
  .call .tiles.big .stage.focus .tile:not(.big) .tag{left:8px;bottom:8px;height:24px;font-size:12px;padding:0 9px}
}
@media(max-width:600px){
  .call .tiles.big{height:44vh;min-height:220px}
  .call .tiles.big .stage.focus{grid-template-columns:minmax(0,1fr) 220px;grid-template-rows:repeat(var(--n,4),minmax(80px,1fr));padding:3px;margin:-3px}
  .call .tiles.big .stage.focus .tile:not(.big) .av{--s:40px}
}
/* watch together in a DM call (not drawn for DMs: the server room's stage in the card, at the height of a shared screen) */
@media(min-width:601px){.call .tiles.wt{height:380px}.call .tiles.wt .stage.wtst{padding:4px;margin:-4px}}
/* "Stop sharing" on your own screen */
.tile .stop{position:absolute;right:12px;bottom:12px;z-index:2;height:30px;background:rgba(15,15,17,.62);backdrop-filter:blur(8px);color:#fff;box-shadow:none}
.tile .stop:hover{background:rgba(15,15,17,.62)}
/* "Their volume for you" on a tile (Jesse, 2026-11-14). Not drawn in Cove 4 UI: the design's round
   button in the name tag's dark glass, and the person menu's volume rows in a card of their own. */
.tile .tvol{position:absolute;right:12px;bottom:12px;z-index:2;width:30px;height:30px;--i:15px;background:rgba(15,15,17,.62);backdrop-filter:blur(8px);color:#fff}
.tile .tvol:hover{background:rgba(15,15,17,.8);color:#fff}
.tile .tvol .ic{color:#fff}
.cm.tvol,.cm.svol{padding-top:8px}
/* On someone's shown screen (Jesse, 2026-11-14): the same button for the stream's volume, and one
   beside it that opens the stream in a window of its own. Not drawn in Cove 4 UI either. */
.tile .tpop{right:50px}
.tile.share:has(.stop) .tvol{display:none}
.call .tile{box-shadow:none}.call .tile.talk{box-shadow:0 0 0 2.5px var(--live)}
.call .dk.onn .ic{color:inherit}
.call .dock .btn{height:44px;padding:0 22px}.call .dock .btn:not(.pri){background:var(--card)}
.call .dock time.wait{color:var(--muted)}.call .dock time.wait::before{background:var(--faint)}
.me-v .mv .ic{flex:none}
.m.sys{position:relative}
.m.sys.flash{background:color-mix(in srgb,var(--accent) 14%,transparent)}
.dm .x{cursor:pointer}
.av2>.av{font-size:calc(var(--s)*.4)}
.panel.h{padding-bottom:0}
.panel.h .pp>.ch{flex:none}
.panel.h .box label a{cursor:pointer}.panel.h .box label a:hover{text-decoration:underline}
.panel.h .box .pre{white-space:pre-wrap;overflow-wrap:anywhere}
.panel.h .box .since:first-child{margin-top:0}
.panel.h .box .row .gt{flex:none}
.panel.h .mb>span:nth-child(2){min-width:0;flex:1}
.panel.h .mb b,.panel.h .mb small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.panel.h .mb .x{display:none;width:24px;height:24px;border-radius:50%;place-items:center;color:var(--faint);--i:14px;flex:none;margin-left:6px;cursor:pointer}
.panel.h .mb .x .ic{margin:0;color:inherit}
.panel.h .mb:hover .x{display:grid}.panel.h .mb .x:hover{background:var(--card);color:var(--bad)}
.panel.h .mb:hover .tag2{display:none}.panel.h .mb.own:hover .tag2,.panel.h .mb.fix:hover .tag2{display:block}
/* the New message window (the mockup's #ov-newdm) */
.newdm .sr{min-height:54px;cursor:pointer}.newdm .sr.full{opacity:.5;cursor:default}
.newdm .foot small{margin-right:auto;align-self:center;color:var(--muted);font-size:13px}
.newdm .inp.big{height:auto;min-height:50px;flex-wrap:wrap;row-gap:6px;padding-top:9px;padding-bottom:9px;cursor:text}
.newdm .inp.big input.plain{flex:1;width:auto;min-width:90px;font-size:16px}
.newdm .inp.big .pill{cursor:pointer}.newdm .inp.big .pill:hover{color:var(--bad)}
.newdm .list{max-height:320px;overflow-y:auto;scrollbar-width:none;padding:4px;margin:-4px}
.newdm .note{margin:22px auto}

.dk:disabled,.call .dk:disabled{opacity:.45;cursor:default}

/* ---------- taken from cove-4-ui/final/cove.html (2026-11-12 15:54): every rule of the finished design the app did not have yet, as written there ---------- */
[data-view=server] .v.s,[data-view=dm] .v.d,[data-view=group] .v.g,[data-view=voice] .v.c,[data-view=friends] .v.f,[data-view=inbox] .v.i,[data-view=new] .v.n{display:flex!important}
[data-side=members] .pp[data-s=members],[data-side=pins] .pp[data-s=pins],[data-side=search] .pp[data-s=search],[data-side=thread] .pp[data-s=thread]{display:flex}
[data-toast=call] .t-call,[data-toast=msg] .t-msg,[data-toast=update] .t-update{display:block}
#ov-signin,#ov-signup{background:var(--base)}
html:is([data-side=search],[data-side=thread]) .panel.h .pp[data-s=members]{display:flex}
[data-panel=off] .main{padding-right:26px;--mpr:26px}
html:not([data-view=group]) .me-v .only-g{display:none}
.call .tile.wait{opacity:.55;box-shadow:none;background:var(--soft)}
.call .tile .tag .ic{color:#ff9d96}
.intro{flex:none;display:flex;flex-direction:column;align-items:flex-start;padding:0 0 18px}
.intro .av{--s:96px}
.intro .st{--ring:var(--sheet)}
.intro h2{font-size:26px;font-weight:700;letter-spacing:-.02em;margin-top:16px}
.intro p{color:var(--muted);font-size:15px;margin-top:2px}
.intro .facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.intro .facts .pill{height:32px;padding:0 13px 0 6px;gap:8px;background:var(--card);box-shadow:var(--lift);color:var(--ink2);font-size:13px}
.intro .facts .pill .sv{width:22px;height:22px;border-radius:8px;font-size:9px;background:var(--soft)}
.intro .facts .pill .stack .av{--s:22px;margin-left:-6px}
.intro .facts .pill .stack .av:first-child{margin-left:0}
.intro .facts .pill .gi{--g:22px}
.intro .hi{display:flex;gap:8px;margin-top:22px}
.intro .hi .btn{height:40px;padding:0 18px;font-size:14.5px}
.intro .hi .btn:not(.pri){background:var(--card);box-shadow:var(--lift)}
.sign.up{padding:40px 48px 32px}
.sign.up p{margin-bottom:22px}
.sign.up .inp{height:54px;margin-bottom:16px}
.sign .hint{align-self:flex-start;margin:-10px 8px 16px;font-size:13.5px;color:var(--faint)}
.sign small b{cursor:pointer}
.only-poll{display:none!important}
[data-poll=on] .m.only-poll{display:flex!important}
.poll{margin:6px 0 2px;width:min(520px,100%);padding:14px 14px 12px;border-radius:20px;background:var(--card);box-shadow:var(--lift)}
.poll h5{font-size:15.5px;font-weight:650;color:var(--ink);padding:0 4px 10px}
.poll .o{position:relative;display:flex;align-items:center;gap:10px;width:100%;height:40px;padding:0 14px;margin-bottom:6px;border-radius:999px;background:var(--soft);overflow:hidden;font-size:14.5px;font-weight:550;color:var(--ink);--i:16px}
.poll .o i{position:absolute;left:0;top:0;bottom:0;border-radius:999px;background:var(--soft2)}
.poll .o>*:not(i){position:relative}
.poll .o em{margin-left:auto;font-style:normal;font-size:13px;font-weight:600;color:var(--muted)}
.poll .o.mine i{background:color-mix(in srgb,var(--accent) 24%,var(--soft))}
.poll .o.mine .ic{color:var(--accent)}
.poll footer{display:flex;align-items:center;gap:8px;padding:6px 4px 0;font-size:13px;color:var(--muted)}
.poll footer .btn{margin-left:auto}
#ov-poll .inp{width:300px}
#ov-poll .opt{display:flex;flex-direction:column;gap:6px;flex:none}
#ov-poll .opt .inp{width:100%;height:44px;background:var(--card);box-shadow:var(--lift)}
#ov-poll .opt .inp .ib{margin:0 -10px 0 auto;width:30px;height:30px}
.rx .th{background:none;box-shadow:none;padding:0 8px 0 4px;color:var(--accent);cursor:pointer;--i:15px}
.rx .th:hover{background:var(--card)}
:is([data-theme=dark],[data-theme=black]) .rx .th{color:color-mix(in srgb,var(--accent) 65%,#fff)}
.rx .th i{font-style:normal}
.rx .th .stack .av{--s:20px;margin-left:-5px;box-shadow:0 0 0 2px var(--sheet)}
.rx .th .stack .av:first-child{margin-left:0}
.pp[data-s=thread] h4{align-items:center;padding-top:6px}
.pp[data-s=thread] h4 .ib{margin:0 -4px 0 auto;width:30px;height:30px;--i:15px}
.pp[data-s=thread] .tf{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none}
.tm{display:flex;gap:10px;padding:6px 10px;border-radius:16px}
.tm:hover{background:var(--sheet)}
.tm .av{--s:28px;margin-top:2px}
.tm b{font-weight:600;font-size:13.5px}
.tm time{color:var(--faint);font-size:11.5px;margin-left:7px}
.tm p{font-size:14px;line-height:1.45;color:var(--ink2)}
.tsep{display:flex;align-items:center;gap:8px;padding:8px 10px 4px;font-size:12px;font-weight:650;color:var(--faint)}
.pp[data-s=thread] .comp{margin:8px 0 0;min-height:44px;border-radius:22px;padding:0 5px}
.pp[data-s=thread] .comp .ph{font-size:14px;padding-left:12px}
.pp[data-s=thread] .comp .send{width:34px;height:34px;margin-left:2px}
.o-w.gone{display:none!important}
.o-h:active{cursor:grabbing}
#ov-forgot,#ov-loading{background:var(--base)}
.load{display:flex;flex-direction:column;align-items:center;gap:8px}
.load .sv{width:76px;height:76px;border-radius:26px}
.load b{font-size:19px;font-weight:700;letter-spacing:-.015em;margin-top:14px}
.load small{color:var(--muted);font-size:14.5px}
.load .lvl{width:180px;height:6px;margin-top:14px;background:var(--soft2)}
.load .lvl i{width:42%;background:var(--accent)}
.dlg.sm.cf{width:min(470px,100%)}
/* "Position your picture" (crop.rs). Not drawn in Cove 4 UI: a stand-in made of the design's window, round buttons, level bar and foot. */
.cst{position:relative;width:280px;height:280px;flex:none;align-self:center;border-radius:20px;overflow:hidden;background:var(--soft);cursor:grab;touch-action:none;user-select:none}
.cst:active{cursor:grabbing}
.cst img{position:absolute;max-width:none;pointer-events:none}
.cst>i{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 80px rgba(12,12,16,.5);pointer-events:none}
.czm{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px}
.czm .lvl{width:150px}.czm .lvl i{background:var(--accent)}
.czm .ib:hover{background:var(--soft)}.czm .ib:disabled{opacity:.35;cursor:default}.czm .ib:disabled:hover{background:none}
.crop>p{margin-top:6px;text-align:center;color:var(--muted);font-size:13px}
.crop .problem{margin-top:10px}
#ov-crop{z-index:21}
.say{color:var(--muted);font-size:14.5px;margin:-8px 0 14px}
.btn.dng,.foot .btn.dng{background:var(--bad);color:#fff}
.btn.dng:hover{background:color-mix(in srgb,var(--bad) 88%,#000)}
.dlg.sm .inp.wide{width:100%;height:44px;background:var(--card);box-shadow:var(--lift)}
.dlg.sm .pv{margin-bottom:2px}
.dlg.sm .gh{padding:10px 6px 2px}
.pk .sr{min-height:48px;cursor:pointer}
.pk .sr .ck{margin-right:2px}
.foot .lft{margin-right:auto}
.pick3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.pick3 button{padding:6px 6px 9px;border-radius:20px;background:var(--card);--sh:var(--lift)}
.pick3 button.on{--sh:none;box-shadow:0 0 0 2px var(--accent)}
.pick3 .scene{height:88px;border-radius:14px}
.pick3 b{display:flex;align-items:center;gap:7px;padding:8px 6px 0;font-size:13px;font-weight:600}
.pick3 b .gi{--g:18px}
#ov-viewer{background:rgba(8,8,10,.97);padding:0;color:var(--ink)}
.vw{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:76px 90px 20px}
.vw>.scene{flex:1;min-height:0;aspect-ratio:16/10;max-width:100%;border-radius:22px}
.vw-t{position:absolute;left:20px;right:20px;top:16px;display:flex;align-items:center;gap:12px}
.vw-t .av{--s:38px}
.vw-t b{display:block;font-weight:650;font-size:15px;line-height:1.3}
.vw-t small{color:var(--muted);font-size:13px}
.vw-t .ib{background:var(--card);width:40px;height:40px}
.vw-t .ib:first-of-type{margin-left:auto}
.vw-a{position:absolute;top:50%;width:46px;height:46px;margin-top:-23px;border-radius:50%;background:var(--card);display:grid;place-items:center;--i:20px}
.vw-s{display:flex;align-items:center;gap:8px;flex:none}
.vw-s .scene{width:64px;height:44px;border-radius:11px;opacity:.5}
.vw-s .scene.on{opacity:1;box-shadow:0 0 0 2px #fff}
.vw-s span{margin-right:8px;color:var(--muted);font-size:13px;font-weight:600}
.feed.k,.feed.e{display:none}
[data-feed=kinds] .main.s .feed.k,[data-empty=channel] .main.s .feed.e{display:flex}
:is([data-feed=kinds],[data-empty=channel]) .main.s .feed:not(.k,.e){display:none}
[data-empty=channel] .main.s .typing{visibility:hidden}
.lk{color:var(--accent);font-weight:500}
:is([data-theme=dark],[data-theme=black]) .lk{color:color-mix(in srgb,var(--accent) 65%,#fff)}
.lp{display:flex;gap:12px;margin:6px 0 2px;width:min(520px,100%);padding:8px;border-radius:20px;background:var(--card);box-shadow:var(--lift)}
.lp .scene{width:104px;height:76px;border-radius:13px;flex:none}
.lp span{min-width:0;align-self:center}
.lp b{display:block;font-weight:600;font-size:14.5px;color:var(--ink)}
.lp small{display:block;color:var(--muted);font-size:13px;line-height:1.4}
.lp em{font-style:normal;font-size:12px;color:var(--faint)}
.fc{display:flex;align-items:center;gap:12px;margin:6px 0 2px;width:min(360px,100%);padding:8px 8px 8px 10px;border-radius:20px;background:var(--card);box-shadow:var(--lift)}
.fc .ft{width:42px;height:42px;border-radius:13px;background:var(--soft);display:grid;place-items:center;color:var(--muted);--i:20px;flex:none}
.fc span{min-width:0;flex:1}
.fc b{display:block;font-weight:600;font-size:14px;color:var(--ink)}
.fc small{color:var(--muted);font-size:12.5px}
.fc .ib:hover{background:var(--soft)}
.pics{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:6px;margin:6px 0 2px;width:min(520px,100%);height:190px}
.pics .scene{border-radius:16px}
.pics .scene:first-child{grid-row:1/3;border-radius:20px}
.pics .scene i{position:absolute;inset:0;display:grid;place-items:center;background:rgba(15,15,17,.55);color:#fff;font-style:normal;font-weight:650;font-size:17px;z-index:1}
.code{margin:6px 0 2px;width:min(520px,100%);padding:12px 16px;border-radius:16px;background:var(--base);font:500 13px/1.6 ui-monospace,Consolas,monospace;color:var(--ink2);white-space:pre}
.mt code{font:500 13px ui-monospace,Consolas,monospace;padding:2px 7px;border-radius:8px;background:var(--base)}
.edd{color:var(--faint);font-size:11.5px;margin-left:6px}
.spo{border-radius:8px;padding:1px 8px;background:var(--soft2);color:transparent;cursor:pointer;user-select:none}
.spo.seen{background:var(--base);color:inherit}
.m.unsent .mt{opacity:.5}
.fail{display:flex;align-items:center;gap:7px;margin-top:3px;font-size:12.5px;color:var(--bad);font-weight:600;--i:14px}
.fail a{color:var(--ink2);font-weight:600;cursor:pointer;margin-left:6px}
.cx{display:none;flex:none}
[data-comp=reply] .cx.r,[data-comp=files] .cx.f,[data-comp=mention] .cx.a{display:flex}
.cx.r{align-items:center;gap:9px;height:38px;margin:0 0 6px;padding:0 5px 0 16px;border-radius:19px;background:var(--base);font-size:13.5px;color:var(--muted);--i:15px}
.cx.r b{color:var(--ink);font-weight:600}
.cx.r span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.cx.r .ib{margin-left:auto;width:28px;height:28px;--i:14px}
.cx.f{gap:8px;margin:0 0 8px}
.upl{position:relative;width:150px;padding:6px 6px 9px;border-radius:20px;background:var(--card);box-shadow:var(--lift)}
.upl .scene,.upl .ft{height:84px;border-radius:14px}
.upl .ft{background:var(--soft);display:grid;place-items:center;color:var(--muted);--i:28px}
.upl b{display:block;font-size:12.5px;font-weight:600;padding:7px 4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.upl small{display:block;padding:0 4px;font-size:11.5px;color:var(--faint)}
.upl .ib{position:absolute;right:11px;top:11px;width:24px;height:24px;background:rgba(15,15,17,.62);color:#fff;--i:12px;z-index:2}
.upl .lvl{width:auto;margin:6px 4px 0;height:4px}
.upl .lvl i{background:var(--accent)}
.cx.a{flex-direction:column;align-self:flex-start;width:330px;margin:0 0 6px;padding:6px;border-radius:20px;background:var(--card);box-shadow:var(--pop)}
.cx.a .gh{padding:6px 10px 4px}
.cx.a .ch{margin:0;padding:6px 10px}
.cx.a .ch.on{background:var(--soft);box-shadow:none}
.cx.a .av{--s:26px}
/* Emoji for a typed ":name": not in the design, a stand-in made of the mention list. */
.cx.a .eme{flex:none;width:26px;height:26px;display:grid;place-items:center;font:20px/1 "Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif}.cx.a .eme .cem{width:24px;height:24px;margin:0}
.comp .tx{display:none;flex:1;min-width:0;font-size:15px;padding-left:8px;color:var(--ink)}
.comp .tx::after{content:"";display:inline-block;width:1.5px;height:18px;background:var(--accent);vertical-align:-3px;margin-left:1px}
:is([data-comp=reply],[data-comp=files],[data-comp=mention]) .sc .ph{display:none}
[data-comp=reply] .sc .tx.r,[data-comp=files] .sc .tx.f,[data-comp=mention] .sc .tx.a{display:block}
.m.only-edit{display:none;background:color-mix(in srgb,var(--card) 70%,transparent)}
[data-comp=edit] .m.only-edit{display:flex}
.m.only-edit .b{align-items:stretch}
.ed-in{margin-top:4px;min-height:44px;padding:10px 16px;border-radius:22px;background:var(--card);box-shadow:0 0 0 2px var(--accent);font-size:var(--msg,15px);color:var(--ink)}
.ed-f{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:12.5px;color:var(--faint)}
.ed-f .btn:first-of-type{margin-left:auto}
.ed-f .btn:not(.pri){background:var(--card)}
.intro .si{width:72px;height:72px;--i:30px}
.none{display:none;flex:1;flex-direction:column;align-items:flex-start;padding-top:10px}
[data-empty=friends] .main.f .list,[data-empty=inbox] .main.i .list{display:none}
[data-empty=friends] .main.f .none,[data-empty=inbox] .main.i .none{display:flex}
[data-empty=friends] .hd.f p,[data-empty=inbox] .hd.i p,[data-empty=search] .pp[data-s=search] :is(.box,h4 span){display:none}
.qn{display:none;padding:2px 10px;color:var(--faint);font-size:13.5px;line-height:1.5}
[data-empty=friends] .panel.f .box{display:none}
[data-empty=friends] .panel.f .qn,[data-empty=search] .pp[data-s=search] .qn{display:block}
.net{display:none;flex:none;align-items:center;gap:10px;margin:0 14px 8px 26px;min-height:42px;padding:6px 6px 6px 16px;border-radius:21px;background:color-mix(in srgb,var(--s-idle) 16%,var(--card));font-size:13.5px;color:var(--ink2);--i:17px}
[data-net=off] .net{display:flex}
.net .ic{color:var(--s-idle)}
.net b{font-weight:650;color:var(--ink)}
.net .btn{margin-left:auto;background:var(--card)}
.toast p{font-size:14px;line-height:1.45;color:var(--ink2);margin-top:8px;overflow-wrap:anywhere}
.toast .row .ib{margin-left:auto;align-self:flex-start;width:28px;height:28px;--i:14px}
.toast .row .ib:hover{background:var(--soft)}
.toast .sv{width:46px;height:46px}
.snack{position:fixed;left:50%;bottom:84px;transform:translateX(-50%);z-index:40;height:40px;padding:0 18px 0 14px;border-radius:999px;background:var(--ink);color:var(--base);display:none;align-items:center;gap:9px;font-size:13.5px;font-weight:600;--i:16px}
[data-toast=copied] .snack{display:flex}
#app{padding-top:30px}
.rail{padding-top:2px}
.side{padding-top:2px}
.menu{top:56px}
.wbar{position:fixed;left:0;right:0;top:0;height:30px;z-index:50;display:flex;justify-content:flex-end;pointer-events:none}
.wbar button{width:46px;height:30px;display:grid;place-items:center;color:var(--muted);--i:14px;pointer-events:auto}
.wbar button .ic{stroke-width:1.6}
.wbar button:hover{background:var(--soft2);color:var(--ink)}
.wbar button.cl:hover{background:#D2463D;color:#fff}
.wbar .rs,[data-win=max] .wbar .mx{display:none}
[data-win=max] .wbar .rs{display:grid}
html[data-modal]:not([data-modal=""]) .wbar button{color:var(--ink)}
html[data-modal=viewer]:not([data-modal=""]) .wbar button{color:#D8D8DE}
html:not([data-modal=""])[data-modal]:not([data-modal=signin],[data-modal=signup],[data-modal=forgot],[data-modal=loading],[data-modal=code],[data-modal=welcome]) .wbar button:not(.cl):hover{background:rgba(255,255,255,.16)}
.vw-t{top:38px}
.vw{padding-top:98px}
.tip{position:fixed;z-index:70;height:28px;padding:0 11px;border-radius:999px;background:var(--ink);color:var(--base);font-size:12.5px;font-weight:600;display:flex;align-items:center;gap:8px;white-space:nowrap;pointer-events:none;opacity:0;translate:0 -4px;transition:opacity 90ms var(--ease),translate 90ms var(--ease)}
.tip.show{opacity:1;translate:0 0;transition-duration:140ms}
.tip kbd{font:600 11px "Inter";opacity:.6}
:focus-visible,.fx{outline:2px solid var(--accent);outline-offset:2px}
.btn:active,.ib:active,.send:active,.dk:active{transform:scale(.96)}
.btn.dis,.btn:disabled{opacity:.45;pointer-events:none}
.btn.hov{background:var(--soft2)}
.btn.pri.hov,.btn.pri:hover{background:color-mix(in srgb,var(--accent) 90%,#000)}
.spin{width:15px;height:15px;flex:none;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.inp.foc{box-shadow:0 0 0 2px var(--accent)}
.inp.err{box-shadow:0 0 0 2px var(--bad)}
.inp.foc::after{content:"";width:1.5px;height:18px;background:var(--accent);margin-left:-8px}
.only-err{display:none}
[data-err=on] .only-err{display:block}
[data-err=on] #ov-signin .inp.pw{box-shadow:0 0 0 2px var(--bad)}
.sign .hint.bad{color:var(--bad);font-weight:550}
#ov-code,#ov-welcome{background:var(--base)}
.otp{display:flex;gap:10px;margin-bottom:22px}
.otp span{width:60px;height:70px;border-radius:20px;background:var(--soft);display:grid;place-items:center;font-size:28px;font-weight:650}
.otp span.foc{box-shadow:0 0 0 2px var(--accent)}
.otp span.foc::after{content:"";width:2px;height:28px;background:var(--accent)}
.sign .sr{--sh:none;width:100%;background:var(--soft);box-shadow:none;margin-bottom:8px;min-height:66px}
.sign .sr .btn{width:auto;height:36px;font-size:14px;margin:0;background:var(--card)}
.sign .sr .l b{font-size:15.5px}
.sign .sr .l small{font-size:13.5px;margin:0}
.sign .sr .si{background:var(--card);box-shadow:none}
.sign .sr .si.ok{background:var(--accent);color:var(--on-accent)}
.sign.up .sr+.btn{margin-top:14px}
.dlg.sm.wd{width:min(700px,100%)}
.keys{display:grid;grid-template-columns:1fr 1fr;gap:6px 8px}
.kr{display:flex;align-items:center;gap:5px;height:44px;padding:0 10px 0 16px;border-radius:999px;background:var(--card);box-shadow:var(--lift);font-size:14px;font-weight:550;color:var(--ink2)}
.kr span{margin-right:auto}
kbd.k{font:600 11.5px "Inter";height:24px;min-width:24px;padding:0 8px;border-radius:999px;background:var(--soft);color:var(--muted);display:inline-grid;place-items:center}
.main{position:relative}
.newbar,.tolast,.drop{display:none;position:absolute;z-index:3}
[data-feed=up] .main.s :is(.newbar,.tolast),[data-drop=on] .main.s .drop{display:flex}
.newbar{left:26px;right:14px;top:0;height:38px;align-items:center;gap:9px;padding:0 5px 0 16px;border-radius:999px;background:color-mix(in srgb,var(--accent) 16%,var(--card));box-shadow:var(--lift);font-size:13.5px;font-weight:600;color:var(--ink)}
.newbar::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--accent)}
.newbar button{margin-left:auto;height:28px;padding:0 13px;border-radius:999px;background:var(--card);font-size:12.5px;font-weight:600}
[data-panel=off] .newbar{right:26px}
.tolast{right:14px;bottom:98px;height:38px;padding:0 16px 0 12px;gap:8px;align-items:center;border-radius:999px;background:var(--card);box-shadow:var(--pop);font-size:13.5px;font-weight:600;--i:16px}
[data-panel=off] .tolast{right:26px}
.drop{left:14px;right:2px;top:0;bottom:14px;z-index:4;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:30px;border-radius:26px;background:color-mix(in srgb,var(--accent) 14%,var(--sheet))}
[data-panel=off] .drop{right:14px}
.drop .si{width:72px;height:72px;--i:30px;background:var(--accent);color:var(--on-accent);box-shadow:none}
.drop h2{font-size:26px;font-weight:700;letter-spacing:-.02em;margin-top:16px}
.drop p{color:var(--muted);font-size:15px;margin-top:2px}
.feed.sk{display:none}
[data-feed=loading] .main.s .feed.sk{display:flex}
[data-feed=loading] .main.s .feed:not(.sk){display:none}
[data-feed=loading] .main.s .typing{visibility:hidden}
.sk .m:hover{background:none}
.sk .b{align-items:stretch}
.sk .av{background:var(--soft2)}
.skb{display:block;height:12px;border-radius:6px;background:var(--soft2);margin:5px 0;animation:sk 1.4s ease-in-out infinite}
.skb.pic{height:150px;width:300px;border-radius:18px}
@media (prefers-reduced-motion:reduce){.skb,.rdot{animation:none}}
@keyframes sk{50%{opacity:.55}}
.tile .cam{display:none;position:absolute;inset:0}
[data-cam=on] .call .tile .cam{display:block}
[data-cam=on] .call .tiles{height:300px}
[data-cam=on] .call .tile.me2{position:absolute;right:12px;bottom:12px;width:190px;height:118px;flex:none;border-radius:18px;box-shadow:0 0 0 3px var(--base);z-index:3}
[data-cam=on] .call .tiles{position:relative}
[data-cam=on] .call .tile .cam~.av{display:none}
[data-cam=on] .call .tile.me2 .tag{left:8px;bottom:8px;height:24px;font-size:12px;padding:0 9px}
.navb{display:none}
@media(max-width:1100px){
  .panel.v{position:fixed;right:0;top:88px;bottom:0;z-index:14;box-shadow:var(--pop)}
  .main{padding-right:26px;--mpr:26px}

}
@media(min-width:601px) and (max-width:820px){
  .left{width:72px}
  .navb{display:grid}
  .side.v{position:fixed;left:72px;top:30px;bottom:0;width:288px;z-index:15;padding:10px 12px;background:var(--base);border-radius:0 24px 24px 0;box-shadow:var(--pop)}
  html:not([data-drawer=open]) .side.v{display:none!important}
  .me{margin:8px 10px 12px;border-radius:26px}
  .me-r{padding:4px;justify-content:center}
  .me-r .tools,.me-r [data-pop]>span:last-child,.me .me-v{display:none!important}
  .top{padding-left:12px;gap:8px}
  .top p{display:none}
  .main{padding-left:16px;padding-right:16px;--mpl:16px;--mpr:16px}
  .newbar{left:16px;right:16px}
}
.parts{display:grid;grid-template-columns:1fr 1fr;gap:8px;overflow-y:auto;scrollbar-width:none;flex:1;min-height:0;align-content:start}
.pt{padding:13px 16px 16px;border-radius:20px;background:var(--card);--sh:var(--lift)}
.pt label{display:block;font-size:12px;font-weight:650;color:var(--faint);margin-bottom:10px}
.pt .rw{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}
.pt .rw+.rw{margin-top:12px}
#ov-parts .dlg{width:min(1000px,100%);height:min(640px,100%)}
.pt .dk:not(.onn){background:var(--soft);box-shadow:none}
.pt .ib{background:var(--soft)}
.pt .inp{width:128px;padding:0 14px}
.pt small{color:var(--muted);font-size:12.5px}
.pt .tip{position:static;opacity:1}
.sbar{width:180px;height:74px;border-radius:14px;background:var(--soft);position:relative}
.sbar::after{content:"";position:absolute;right:4px;top:14px;width:5px;height:30px;border-radius:3px;background:var(--faint);opacity:.6}
/* Cove icon: always a circle, larger than a server button (final/cove.html, 2026-11-13 15:15) */
.sv.cv{border-radius:50%}
.rail .sv.cv{width:52px;height:52px;margin:-3px 0}
.rail .sv.cv .n{right:-3px;top:-3px}
.sign .sv.cv,.load .sv.cv{width:88px;height:88px}
/* collapsed menus (final/cove.html, 2026-11-13 17:20). Groups fold: click a group name.
   A folded group keeps the open chat, unread chats and live rooms in view. The top bar's button hides the whole channel list. */
.gh{display:flex;align-items:center;gap:5px;width:100%;border-radius:999px}
.gh .ic,.panel .grp>h4 .ic{--i:12px;color:var(--faint);opacity:.8;stroke-width:2.4;transition:transform .15s}
.gh i{margin-left:auto;font-style:normal;font-weight:500;display:none}
.gh:hover,.panel .grp>h4:hover{color:var(--ink2)}
.grp.shut>.gh .ic,.grp.shut>h4 .ic{transform:rotate(-90deg)}
.grp.shut>.gh i{display:block}
.grp.shut>.ch:not(.on):not(.unread),.grp.shut>.dm:not(.on):not(.unread),.grp.shut>.mb{display:none}
.grp.shut>.room{padding:8px 12px;border-radius:999px;margin-bottom:2px}.grp.shut>.room .room-b{display:none}
.panel .grp>h4{cursor:pointer;align-items:center;gap:5px}
.listb{margin-left:-12px;position:relative}
/* the design writes these without the width: in the small window its drawer rules decide, and the button is not there */
@media(min-width:821px){
html[data-list=off] .left{width:72px}
html[data-list=off] .side.v{display:none!important}
html[data-list=off] .me{margin:8px 10px 12px;border-radius:26px}html[data-list=off] .me-r{padding:4px;justify-content:center}
html[data-list=off] .me-r .tools,html[data-list=off] .me-r [data-pop]>span:last-child,html[data-list=off] .me .me-v{display:none!important}
html[data-list=off] .listb::after{content:"";position:absolute;right:5px;top:5px;width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 2px var(--sheet)}
/* the app's own names for the same parts; the dot only while something unread is in the hidden list */
html[data-list=off] .lrow>.side{display:none}
html[data-list=off] .me-r .who{display:none}
html[data-list=off] .me-r .mebtn{flex:none}
html[data-list=off] .listb:not(.dot)::after{content:none}
/* the round card cut the status dot off at its corner (so does the design's picture 99; Jesse 2026-11-14: "green dot cut off"):
   the dot sits 4px further in, where it and its ring fit inside the circle */
html[data-list=off] .me-r .av .st{right:4px;bottom:4px}
}
@media(max-width:820px){.listb{display:none}}

/* ---------- the app shows the finished design's states by itself (the design page switches them with ?feed=, ?comp=, ?drop=) ---------- */
.cx.on,.newbar.on,.tolast.on,.drop.on,.feed.sk.on,.feed.e.on,.none.on,.net.on{display:flex}
.qn.on{display:block}
/* polls and threads: real fields in the design's parts */
.poll .o{cursor:default}.poll.picking .o{cursor:pointer}
#ov-poll .opt{display:flex;flex-direction:column;gap:6px}
#ov-poll .opt .inp{display:flex;align-items:center}
#ov-poll .opt .inp input.plain{flex:1;min-width:0;font-size:14px;color:var(--ink)}
#ov-poll .opt button.inp.ph{gap:8px;color:var(--faint);cursor:pointer;--i:15px}
.pp[data-s=thread]{display:flex;flex-direction:column;min-height:0;flex:1}
.pp[data-s=thread] .tm{display:flex;gap:10px;padding:6px 10px}
.pp[data-s=thread] .tm>span:not(.av){min-width:0;flex:1}
.pp[data-s=thread] .tm p{overflow-wrap:anywhere;white-space:pre-wrap}
.pp[data-s=thread] .comp{display:flex;align-items:center}
.pp[data-s=thread] .comp textarea.plain{flex:1;min-width:0;border:0;outline:0;background:none;resize:none;font:inherit;font-size:14px;color:var(--ink);padding:12px 0 12px 12px;field-sizing:content;max-height:120px}
.pp[data-s=thread] .comp textarea.plain::placeholder{color:var(--faint)}
/* signing in: real fields in the design's card. The six boxes of the code show what is typed into one unseen field. */
.sign .inp.pw.bad{box-shadow:0 0 0 2px var(--bad)}
.sign span.inp{display:flex;align-items:center;gap:10px}
.sign span.inp input.plain{flex:1;min-width:0;font-size:17px;color:var(--ink)}
.sign small b{cursor:pointer}
.otp{position:relative;cursor:text}
.sign label.otp{align-self:center;padding:0;color:var(--ink)}
.otp-in{position:absolute;inset:0;width:100%;height:100%;opacity:0;border:0}
.sign .hint.bad{text-align:left}
/* the narrow and the small window: the design's rules name its view classes (.panel.v, .side.v), the app's panels have none */
@media(max-width:1100px){
  .content>.panel{position:fixed;right:0;top:88px;bottom:0;z-index:14;box-shadow:var(--pop)}
}
@media(min-width:601px) and (max-width:820px){
  .lrow>.side{position:fixed;left:72px;top:30px;bottom:0;width:288px;z-index:15;padding:10px 12px;background:var(--base);border-radius:0 24px 24px 0;box-shadow:var(--pop)}
  html:not([data-drawer=open]) .lrow>.side{display:none}
  .me-r .who{display:none}
  .me-r .mebtn{flex:none}
}
/* a call with a camera on (the design's ?cam=on): the other person large, you small in the corner */
.call .tiles.cam{height:300px;position:relative}
.call .tiles.cam .stage{display:flex;gap:12px}
.call .tiles.cam .tile{flex:1}
.call .tiles.cam .tile.me2{position:absolute;right:12px;bottom:12px;width:190px;height:118px;flex:none;border-radius:18px;box-shadow:0 0 0 3px var(--base);z-index:3}
.call .tiles.cam .tile.me2 .tag{left:8px;bottom:8px;height:24px;font-size:12px;padding:0 9px}
.call .tiles.cam .tile.me2 .av{--s:44px}
.call .tiles.cam .tile:only-child{position:static;width:auto;height:auto;flex:1;box-shadow:none;border-radius:inherit}
.cx.f{flex-wrap:wrap}
.drop{pointer-events:none}
a.lk{text-decoration:none}
/* a real picture or clip where the design page paints its stand-in scene */
.scene.real{background:var(--soft)}.scene.real::before,.scene.real::after{content:none}
.scene.real img,.scene.real video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.scene.real.blur img{filter:blur(22px)}
.pics .scene,.vw-s .scene{cursor:pointer}
.upl.bad small{color:var(--bad)}
textarea.ed-in{display:block;align-self:stretch;border:0;outline:0;resize:none;font-family:inherit;line-height:1.5;field-sizing:content}
.mi>.ed-f{align-self:stretch}
.m:has(.ed-in){background:color-mix(in srgb,var(--card) 70%,transparent)}
.vw>img{flex:1;min-height:0;max-width:100%;object-fit:contain;border-radius:22px}
/* zooming into the large picture (not drawn in Cove 4 UI: no control, only the pointer's shape) */
.vw>img{cursor:zoom-in;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.vw>img.zoomed{cursor:grab}.vw>img.zoomed:active{cursor:grabbing}
.fc a.ib{text-decoration:none}
/* "Share your screen" with real windows: more than three wrap and scroll, long names are cut */
.pick3{max-height:292px;overflow-y:auto;padding:2px;margin:-2px}
.pick3 button{min-width:0}.pick3 b{min-width:0}.pick3 b span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* the link preview card is a link; one without a picture keeps its text off the edge */
a.lp{text-decoration:none;color:inherit}.lp.bare span{padding:2px 8px}
/* A YouTube link plays in the chat (2026-11-22, Jesse: "built in Youtube video player"). STAND-IN: Cove 4 UI has
   not drawn a player in a chat yet; the picture is the 128x72 of the Watch together link card, the play button the
   round one of the watch bar, and the player is YouTube's own, 16:9 at the card's width. Replace when drawn. */
.lp.yt>a{min-width:0;align-self:center;text-decoration:none;color:inherit;overflow-wrap:anywhere}
.lp.yt .ytp{position:relative;overflow:hidden;width:128px;height:72px;padding:0;border:0;cursor:pointer;font:inherit}
.lp.yt .ytb{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(15,15,17,.7);color:#fff;--i:14px}
.lp.yt .ytb svg{fill:currentColor;stroke:none;margin-left:2px}
.lp.yt.on{flex-direction:column}
.lp.yt.on .ytp{width:100%;height:auto;aspect-ratio:16/9;cursor:auto}
.lp.yt.on>a{align-self:stretch;padding:0 4px 2px}
.lp.yt .ytp iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
/* a reply in a thread being edited, and its reactions: the chat's own parts at the panel's size */
.pp[data-s=thread] .tm .ed-in{width:100%;min-height:38px;padding:8px 12px;border-radius:18px;font-size:14px}
.pp[data-s=thread] .tm .ed-f{margin-top:6px}
.pp[data-s=thread] .tm .rx{margin-top:4px}
/* a wrong field's one red line, and a working button: it keeps its colour while the spinner turns */
.errl{display:block;align-self:stretch;margin:2px 4px 6px;color:var(--bad);font-weight:550;font-size:13px}
.btn:disabled:has(.spin){opacity:1}
.sign .inp.err{box-shadow:0 0 0 2px var(--bad)}
.inp.err:focus-visible,.inp.err input:focus-visible{outline:0}
/* game logos: the size on the status menu's row, and an icon read from a program fills its tile */
.gi.g20{--g:20px}
/* the in-game overlay in its own see-through window: the game is the scene behind it */
html[data-ovw],html[data-ovw] body{background:transparent}
html[data-ovw] #ovl{background:transparent}
html[data-ovw] .tip{z-index:70}
/* the small list in the corner that was chosen; the pop-up keeps clear of it */
#ovl[data-corner=top-right] .o-voice{left:auto;right:16px;align-items:flex-end}
#ovl[data-corner=bottom-left] .o-voice{top:auto;bottom:16px}
#ovl[data-corner=bottom-right] .o-voice{left:auto;right:16px;top:auto;bottom:16px;align-items:flex-end}
#ovl[data-corner=top-right] .o-toast{right:auto;left:16px}
/* a pinned window stays while you play, as see-through as chosen; clicks go to the game */
html[data-overlay=idle] #ovl .o-w.o-open.pin:not(.gone){display:flex!important}
html[data-overlay=idle] #ovl[data-pin=glass] .o-w.pin{opacity:.72}
html[data-overlay=idle] #ovl[data-pin=faint] .o-w.pin{opacity:.4}
/* the pinned voice window while you play: low profile (Jesse, 2026-11-13). Nothing in it can be clicked
   then, so its buttons and the dock go, and the rows are one small line each. Opened, it is as drawn. */
html[data-overlay=idle] #ovl .o-w.pin[data-w=voice]{width:max-content!important;min-width:150px;max-width:230px;height:auto!important;border-radius:16px}
html[data-overlay=idle] #ovl .o-w.pin[data-w=voice] .o-h{height:32px;padding:0 12px;gap:7px;font-size:12.5px;--i:14px;cursor:default}
html[data-overlay=idle] #ovl .o-w.pin[data-w=voice] .o-h small{font-size:11.5px}
html[data-overlay=idle] #ovl .o-w.pin[data-w=voice] .o-h .ib,html[data-overlay=idle] #ovl .o-w.pin[data-w=voice] .o-dock,html[data-overlay=idle] #ovl .o-w.pin[data-w=voice] .mb small{display:none}
html[data-overlay=idle] #ovl .o-w.pin[data-w=voice] .o-list{padding:0 4px 5px}
html[data-overlay=idle] #ovl .o-w.pin[data-w=voice] .mb{padding:3px 8px;gap:8px;font-size:12.5px;min-height:0}
html[data-overlay=idle] #ovl .o-w.pin[data-w=voice] .mb .av{--s:20px}
html[data-overlay=idle] #ovl .o-w.pin[data-w=voice] .mb b{font-size:12.5px}
html[data-overlay=idle] #ovl .o-w.pin[data-w=voice] .mb .ic{--i:13px}
/* the overlay's chat: a real text field, and the list keeps its rows apart from the edge */
.o-w .comp{align-items:center}.o-w .comp textarea{height:50px}
.o-w .feed{padding-top:8px}
/* files waiting in the overlay's chat: the cards of Cove's own chat, in line with the message box */
.o-w .cx.f{margin:8px 12px 0}
#ovl .upl .scene{position:relative;inset:auto;width:auto;height:84px}
.o-w .mt{white-space:pre-wrap;overflow-wrap:anywhere}
.o-list{overflow-y:auto;scrollbar-width:none;min-height:0}
.o-w{max-height:calc(100% - 120px)}
/* Resizing a window of the overlay by its edges and lower corners: nothing is drawn, the mouse pointer says it. */
.o-rs{position:absolute;z-index:3}
.o-rs[data-d=e],.o-rs[data-d=w]{top:50px;bottom:18px;width:7px;cursor:ew-resize}
.o-rs[data-d=e]{right:0}.o-rs[data-d=w]{left:0}
.o-rs[data-d=s]{left:18px;right:18px;bottom:0;height:7px;cursor:ns-resize}
.o-rs[data-d=se],.o-rs[data-d=sw]{bottom:0;width:18px;height:18px}
.o-rs[data-d=se]{right:0;cursor:nwse-resize}.o-rs[data-d=sw]{left:0;cursor:nesw-resize}
[data-overlay=idle] .o-rs{display:none}
.o-w>.o-list,.o-w>.feed{flex:1 1 auto}
.o-h>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Settings and Server settings are the design's 940 by 620 again (cove.html is the only source, Jesse 2026-12-04);
   the 20% larger window of 2026-11-13 is gone with the long page. */

/* ---------- the phone layout (cove-4-ui final/phone.html): one page at a time ----------
   The lists (rail, channels or chats, you at the bottom) are one page; a chat, a voice
   room, Friends or Inbox is the other, with Back to the lists. `data-page` says which. */
.find,.backb,.sheet-h,.content>.dim{display:none}
.back{display:grid;transform:rotate(90deg)}
@media(max-width:600px){
  /* no window bar: the phone's own status bar is above */
  #app{padding-top:env(safe-area-inset-top,0px)}
  .wbar,.navb{display:none}
  html[data-page=list] .right{display:none}
  /* The lists are not taken away while a chat is open: they stay drawn under it, standing still, and motion.js
     keeps them out of reach (`inert`). Taken away, they had to be laid out, painted and drawn anew at the first
     move of a finger dragging the chat back; on Jesse's phone a quick flick stood still for 64 ms there and then
     jumped after the finger (video next to Discord, 2026-12-01). What stands still is what is in them: their own
     slide to the left under an arriving chat (`pushing`, below) runs. Held by --cvp too (4.0.2_3), it never moved,
     and started only when a finger dragged the chat back: the lists slid left under the finger and jumped back
     (Jesse's phone video, 2026-12-02). */
  html[data-page=chat] .left{position:fixed;inset:env(safe-area-inset-top,0px) 0 0 0;z-index:0;--cvp:paused;animation-play-state:running!important}
  /* An open chat is a layer of its own from the start, with the shadow it throws on the lists when it moves (off the
     screen while it stands) and the app clipped around it. Before, all three came on at the first move of a finger
     dragging it back and went again when the finger let go: each time the phone painted the chat and the lists and
     drew them anew, 18 tiles at the first move and up to 440 at letting go, while the page was meant to follow the
     finger (Jesse, 2026-12-02: "the phone app is still choppy when swiping"). Now a drag changes one transform. */
  html[data-page=chat] .right{position:relative;z-index:1;will-change:transform,opacity;box-shadow:-18px 0 40px -24px rgba(0,0,0,.35)}
  /* A layer of its own is also what its sheets, their dim, a tile at full screen and the fixed buttons in it are
     placed against, no longer the screen. So the chat reaches up under the phone's status bar, by a padding as tall
     as the bar and without its colour there: those parts sit where they sat, and the dim covers the bar as before. */
  html[data-page=chat] .right{margin-top:calc(-1*env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px);background-clip:content-box}
  html[data-page=chat] #app{overflow:hidden}
  .left{width:100%;position:relative}
  .right{border-radius:0}
  .backb{display:grid}
  /* shared parts at the phone's sizes */
  .ib{--i:20px;width:40px;height:40px}
  .side-h{height:48px;padding:0 4px 0 16px;border-radius:18px;font-size:17px}
  .side-h .ib{width:40px;height:40px}
  .ch{gap:12px;min-height:42px;padding:9px 12px;font-size:15px}
  .room-t{font-size:15px}.room-t em{padding-right:4px}
  .room-b small{font-size:13px}
  .room-b .btn{height:40px;padding:0 20px;font-size:14px}
  .dm .av{--s:40px}
  .dm b{font-size:15px;line-height:1.3}
  .dm small{font-size:13px}
  .dm time{padding-top:3px}
  /* lists: rail on the left, the list fills the rest, you float at the bottom */
  .rail{width:64px;padding:6px 0;flex:none;overflow-y:auto;scrollbar-width:none}
  .lrow>.side{padding:6px 12px 100px 8px;margin-left:-8px;overflow-y:auto;scrollbar-width:none}
  .lrow>.side>*{flex-shrink:0}
  .dms{flex:none;overflow:visible}
  .find{display:flex;--i:18px;width:100%;height:44px;border-radius:999px;background:var(--card);box-shadow:var(--lift);align-items:center;gap:10px;padding:0 16px;color:var(--faint);font-size:15px;margin-bottom:8px}
  /* the design's lists mark no row as the open one, and nothing is pointed at */
  .side .ch.on,.side .dm.on,.dm:hover{background:none;box-shadow:none}
  .side .ch.on{color:var(--ink2);font-weight:500}.side .ch.on .ic{color:var(--faint)}
  .side .ch.on.unread{color:var(--ink);font-weight:600}
  .dm.on .st,.dm.on .av2{--ring:var(--base)}
  .dm:hover .x{display:none}.dm:hover time{display:block}.dm:hover .badge{display:grid}
  .me{position:absolute;left:12px;right:12px;bottom:calc(14px + var(--sab));margin:0;border-radius:28px;box-shadow:var(--pop)}
  :is([data-theme=dark],[data-theme=black]) .me{box-shadow:none}
  .me-r{padding:10px 8px 10px 12px}
  .me-r b{line-height:1.3}
  .me-r .tools .ib{width:40px}
  .me-r .tools .ib[title$=eafen]{display:none}
  /* chat */
  .top{gap:4px;padding:0 10px 0 8px}
  .top h1{gap:8px;min-width:0}
  .top .hd{gap:6px}
  .top p{font-size:13px;line-height:1.3}
  .top .hd p.clip{display:none}
  .main{padding:0 14px}
  .feed:not(.o-w .feed){padding:0 20px;margin:0 -14px}
  .m{gap:12px}.m>.av{--s:38px}
  .rx button,.rx span{height:30px;padding:0 12px;font-size:13px}
  .media:not(.file){width:100%}
  .typing{height:24px;padding:2px 0 0 4px}
  .comp{min-height:52px;border-radius:26px;padding:0 6px;margin-bottom:calc(22px + var(--sab))}
  .comp .ib{--i:22px;margin-bottom:6px}
  .comp textarea{height:52px;padding:15px 6px}
  .send{width:40px;height:40px;margin:0 0 6px 4px}
  .newbar{left:14px;right:14px}
  /* what the window shows in the side panel is a sheet from the bottom here */
  .content:has(>.panel)>.dim{display:block;position:fixed;inset:0;z-index:13;background:rgba(12,12,16,.42)}
  :is([data-theme=dark],[data-theme=black]) .content>.dim{background:rgba(0,0,0,.5)}
  .content>.panel{position:fixed;left:0;right:0;top:auto;bottom:0;width:auto;max-height:82%;margin:0;z-index:14;border-radius:28px 28px 0 0;background:var(--sheet);box-shadow:var(--pop);padding:10px 14px calc(26px + var(--sab))}
  .content>.panel::before{content:"";flex:none;width:40px;height:5px;border-radius:3px;background:var(--soft2);margin:0 auto 6px}
  .sheet-h{display:flex;flex:none;align-items:center;gap:8px;padding:4px 0 2px 10px}
  .sheet-h h2{font-size:18px;font-weight:700;letter-spacing:-.015em}
  .sheet-h span{color:var(--faint);font-size:13px;font-weight:500}
  .sheet-h .ib{margin-left:auto;background:var(--card);box-shadow:var(--lift)}
  .panel h4{padding:12px 10px 4px}
  .mb{min-height:48px}.mb:hover{background:none}
  .mb .av{--s:36px}.panel .mb .st{--ring:var(--sheet)}
  .mb b{font-size:15px}.mb small{font-size:13px}
  .mb>.ic{--i:16px;margin-right:4px}
  /* voice room: a shown screen on top, everyone two by two under it */
  .main:has(>.stage){padding:0 16px!important}
  .stage.grid,.stage.focus{grid-template-columns:1fr 1fr;grid-auto-rows:minmax(120px,1fr);gap:12px;padding:3px;margin:-3px;overflow-y:auto;scrollbar-width:none}
  .stage.focus{grid-template-rows:250px}
  .stage.focus .tile{grid-column:auto}
  .stage.focus .tile.big{grid-column:1/-1;grid-row:1;position:relative;height:auto;max-height:none}
  .tile .av,.stage.focus .tile:not(.big) .av{--s:64px}
  .tile .tag{left:10px;bottom:10px;max-width:calc(100% - 20px);white-space:nowrap}
  .tile .tvol{right:10px;bottom:10px}
  .tile .tpop{display:none}
  .tile:has(.tvol:not(.hide)) .tag{max-width:calc(100% - 58px)}
  .dock{gap:8px;padding:16px 12px calc(26px + var(--sab))}
  .dk{flex:none}
  .dk.leave{padding:0 20px;gap:8px;font-size:14.5px}
  /* windows: not drawn for the phone yet. A plain stand-in: small ones keep their card, the two
     settings windows fill the screen with their pages' names in a row on top. */
  .ov{padding:12px}
  .ov:has(>.dlg:not(.sm)){padding:0}
  .dlg:not(.sm){width:100%;height:100%;border-radius:0;flex-direction:column;padding-top:env(safe-area-inset-top,0px)}
  .dlg.sm{max-height:100%;overflow-y:auto;scrollbar-width:none;padding:0 14px 16px 16px}
  .dnav{width:auto;flex-direction:row;align-items:center;gap:2px;padding:8px;overflow-x:auto;scrollbar-width:none}
  .dnav h3{display:none}
  .dnav .ch{width:auto;flex:none;margin:0;min-height:0;white-space:nowrap}
  .dnav .end{margin:0}
  .sr{flex-wrap:wrap}
  .sr .l{flex:1 1 140px}
  .sr .inp,.dlg.sm .inp{max-width:100%;min-width:0}
  .seg{flex-wrap:wrap;border-radius:19px;flex:initial}
}

/* ---------- motion (asked for by Jesse 2026-11-13; cove-4-ui draws none beyond the toggle, the search pill, the tooltip and the overlay's dim) ----------
   The times and the curve follow the design's own few: .12s for a tooltip, .15s for a toggle, .2s/.22s for larger parts.
   Coming in is here; going out is a copy marked `gone` that motion.js leaves on the page for a moment.
   Nothing moves for someone who asked their system for less motion. */
:root{--ease:cubic-bezier(.2,.7,.2,1);--leave:cubic-bezier(.32,0,.67,0);--popc:cubic-bezier(.34,1.45,.64,1)}
/* v2 (cove-4-ui, approved 2026-12-01): v2.css sets --ease to the VidPRO curve .33,1,.68,1. The times below are the v2 ones:
   hover 110, press 80, move 200, enter 180, leave 120, a window 200, phone push 240 / back 220, sheet 240 / 160. */
/* The strip at the bottom of a phone's screen that belongs to its gesture bar. With the on-screen keyboard up
   (data-kb, told by the Android app) the page ends on the keyboard and there is no such strip. */
:root{--sab:env(safe-area-inset-bottom,0px)}
html[data-kb]{--sab:0px}
.gone{pointer-events:none!important}
@media (prefers-reduced-motion:no-preference){
  /* what you point at and press answers softly */
  .btn,.ib,.ch,.dm,.mb,.dk,.send,.fr,.m,.tm,.sr,.seg button,.rx button,.eg button,.pick button,.pick3 button,.sws button,.cm .quick button,.wbar button,.poll .o,.ck,.chip,.kr,.inp,.box.tap,.dm .x,.nb,.tile,.o-voice .p,.av.talk,.stack>span .av,.mebtn .av,.vbar button,.snd button,.media.file,.lk,.spo,.pill,.day,.find,.vw-a,.vw-s .scene{transition:background-color 110ms var(--ease),color 110ms var(--ease),box-shadow 110ms var(--ease),opacity 110ms var(--ease),transform 80ms var(--ease),outline-color 110ms var(--ease)}
  .sv{transition:background-color 110ms var(--ease),color 110ms var(--ease),border-radius 200ms var(--ease),transform 80ms var(--ease),box-shadow 110ms var(--ease)}
  .poll .o i{transition:width .3s var(--ease),background-color .15s ease}
  .ic{transition:transform .18s var(--ease)}
  .sv:active,.rx button:active,.eg button:active,.seg button:active,.sws button:active,.pick button:active,.pick3 button:active,.cm .quick button:active{transform:scale(.965)}
  button.ch:active,button.dm:active,.mb.tap:active,.sr.tap:active,.box.tap:active,.find:active{transform:scale(.985)}
  .tog:active::after{transform:scale(.9)}.tog.on:active::after{transform:translateX(18px) scale(.9)}
  .main,.toast{transition:padding .22s ease,bottom .2s var(--ease)}

  @keyframes fade-in{from{opacity:0}}
  @keyframes fade-out{to{opacity:0}}
  @keyframes rise-in{from{opacity:0;transform:translateY(10px) scale(.985)}}
  @keyframes sink-out{to{opacity:0;transform:translateY(6px) scale(.99)}}
  @keyframes pop-in{from{opacity:0;transform:translateY(var(--dy,-4px)) scale(.96)}}
  @keyframes pop-out{to{opacity:0;transform:scale(.98)}}
  @keyframes up-in{from{opacity:0;transform:translateY(6px)}}
  @keyframes down-in{from{opacity:0;transform:translateY(-6px)}}
  @keyframes side-in{from{opacity:0;transform:translateX(12px)}}
  @keyframes side-out{to{opacity:0;transform:translateX(12px)}}
  @keyframes left-in{from{opacity:0;transform:translateX(-12px)}}
  @keyframes grow-in{from{opacity:0;transform:scale(.5)}}
  @keyframes zoom-in{from{opacity:0;transform:scale(.96)}}
  @keyframes toast-in{from{opacity:0;transform:translateY(12px)}}
  @keyframes toast-out{to{opacity:0;transform:translateY(4px)}}
  @keyframes snack-in{from{opacity:0;transform:translateX(-50%) translateY(10px)}}
  @keyframes snack-out{to{opacity:0;transform:translateX(-50%) translateY(6px)}}
  @keyframes mid-in{from{opacity:0;transform:translateX(-50%) translateY(-12px)}}
  @keyframes sheet-in{from{transform:translateY(100%)}}
  @keyframes sheet-out{to{transform:translateY(100%)}}

  /* windows: the dark behind fades, the window rises into place and sinks away */
  .ov.show{animation:fade-in .18s var(--ease) backwards}
  .ov.show>.dlg,.ov.show>.sign,.ov.show>.load{animation:rise-in .2s var(--ease) backwards}
  .ov.show>.vw>img,.ov.show>.vw>.scene,.lb img{animation:zoom-in .2s var(--ease) backwards}
  .ov.gone{animation:fade-out .12s var(--leave) forwards}
  .ov.gone>.dlg,.ov.gone>.sign,.ov.gone>.load,.ov.gone>.vw>img{animation:sink-out .12s var(--leave) forwards}
  .ov.gone>.vw>img.zoomed{animation:none}
  /* the pages of the side panel (the pages of a window are faded by motion.js: the app swaps what is inside one page) */
  .pp{animation:fade-in .18s var(--ease) backwards}

  /* menus, cards and pickers grow out of where they hang; one that hangs upwards grows upwards */
  .cm.show,.menu.open,.sug,.cx.a.on,.has-sub:hover>.cm,.has-sub.open>.cm{animation:pop-in .18s var(--ease) backwards;transform-origin:top left}
  .cm[style*="bottom:"],.sug{--dy:4px;transform-origin:bottom left}
  .has-sub.lft>.cm{transform-origin:top right}
  .cm.gone,.menu.gone,.sug.gone{animation:pop-out .12s var(--leave) forwards}
  /* the formatting bar over selected words (not drawn in Cove 4 UI; Jesse 2026-11-16: "Animate the When it pops up"):
     rises 10px and grows from 88% from its bottom middle; it stands at translateY(-100%), written by the app */
  @keyframes fbar-in{from{opacity:0;transform:translateY(calc(-100% + 10px)) scale(.88)}}
  @keyframes fbar-out{to{opacity:0;transform:translateY(calc(-100% + 4px)) scale(.96)}}
  .fbar.in{animation:fbar-in .18s var(--ease) backwards;transform-origin:50% 100%}
  .fbar.gone{animation:fbar-out .12s var(--leave) forwards;transform-origin:50% 100%}
  .m .mi:hover>.acts{animation:fade-in .1s ease backwards}

  /* cards in the corner, and the line at the bottom */
  .toast.open{animation:toast-in .18s var(--ease) backwards}
  .toast.gone{animation:toast-out .12s var(--leave) forwards}
  .snack{animation:snack-in .18s var(--ease) backwards}
  .snack.gone{animation:snack-out .12s var(--leave) forwards}



  /* small things that appear in the chat */
  .newbar.on,.net.on{animation:down-in .18s var(--ease) backwards}
  .tolast.on,.cx.r.on,.cx.f.on,.draft,.heldmsg,.problem,.errl,.me-v{animation:up-in .18s var(--ease) backwards}
  .drop.on{animation:fade-in .15s ease backwards}
  .upl,.chip{animation:zoom-in .16s var(--ease) backwards}
  .badge,.sv .n,.udot{animation:grow-in .2s var(--popc) backwards}
  .rx button{animation:pop6 .18s var(--popc) backwards}
  @keyframes pop6{from{opacity:0;transform:scale(.6)}}

  /* the in-game overlay: the bar drops in, the windows and the foot line follow */
  [data-overlay=open] #ovl .o-bar{animation:mid-in .22s var(--ease) backwards}
  /* overlay preview (cove-4-ui 2026-12-04): fades in and out in 180ms on the one curve */
  #ovl[data-preview]{animation:fade-in .18s var(--ease) backwards}
  #ovl[data-leave]{animation:ovl-out .18s var(--ease) forwards}
  @keyframes ovl-out{to{opacity:0}}
  [data-overlay=open] #ovl .o-w.o-open:not(.pin){animation:zoom-in .2s var(--ease) backwards}
  [data-overlay=open] #ovl .o-foot{animation:fade-in .3s ease backwards}
  [data-overlay=idle] #ovl .o-tip{animation:mid-in .22s var(--ease) backwards}
  .o-toast{animation:side-in .24s var(--ease) backwards}
  #ovl[data-corner=top-right] .o-toast{animation-name:left-in}
}
@media (prefers-reduced-motion:no-preference) and (max-width:1100px){
  /* in a narrow window the side panel lies over the chat: it slides in from the edge */
  .content>.panel{animation:side-in .18s var(--ease) backwards}
  .content>.panel.gone{animation:side-out .12s var(--leave) forwards}
}
@media (prefers-reduced-motion:no-preference) and (min-width:601px) and (max-width:820px){
  html[data-drawer=open] .lrow>.side{animation:left-in .18s var(--ease) backwards}
}
@media (prefers-reduced-motion:no-preference) and (max-width:600px){
  /* the phone: one page slides over to the other, a sheet comes up from the bottom */
  html[data-page=chat] .right{animation:page-in .24s var(--ease) backwards}
  html[data-page=list] .left{animation:back-in .22s var(--ease) backwards}
  @keyframes back-in{from{transform:translateX(-25%);filter:brightness(.92)}}
  /* While a page changes (motion.js `pushing` / `popping`, 2026-12-01) the other page stays shown under it,
     as UI-HANDOFF "push" draws it: the list moves a quarter left and darkens under the arriving chat, and the
     leaving chat slides off over the list coming back. Before, the list vanished and the chat came in over nothing. */
  html.pushing[data-page=chat] .left{display:flex!important;position:fixed;inset:env(safe-area-inset-top,0px) 0 0 0;z-index:0;pointer-events:none;animation:under-out .24s var(--ease) forwards}
  html.pushing[data-page=chat] .right{position:relative;z-index:1;box-shadow:-18px 0 40px -24px rgba(0,0,0,.35)}
  html.popping[data-page=list] .right{display:flex!important;position:fixed;inset:env(safe-area-inset-top,0px) 0 0 0;z-index:1;box-shadow:-18px 0 40px -24px rgba(0,0,0,.35);animation:page-out .22s var(--ease) forwards}
  /* Nothing in the leaving chat is to be pressed. A cover over it, not `pointer-events:none` on it (until 4.0.2_5):
     that is handed down to every row of the chat, 900 boxes styled again before the slide could start. */
  html.popping[data-page=list] .right::after{content:"";position:absolute;inset:0;z-index:99}
  /* The lists coming back keep standing still, as they did under the chat, until it has left: the look you wear at
     their bottom was painted and drawn anew for every picture of the chat's slide to the right (62 of 62 measured). */
  html.popping .left{--cvp:paused}
  html.popping:not(.prep) .left{animation-play-state:running!important}
  html:is(.pushing,.popping) #app{overflow:hidden}
  /* ...and both wait at their start until the new page's first picture is drawn (motion.js `prep`) */
  html.prep .left,html.prep .right{animation-play-state:paused!important}
  /* The arriving chat waits on the screen, not off its right edge, and all but invisible: what is off the screen the
     phone does not draw, so the chat was drawn during the first pictures of its own slide (Jesse's phone video,
     2026-12-02: the first 80 to 110 ms of every chat opening ran at 30 to 60 pictures a second). Its slide starts
     when `prep` goes. */
  html.prep.pushing[data-page=chat] .right{animation-name:none;opacity:.01}
  @keyframes under-out{to{transform:translateX(-25%);filter:brightness(.92)}}
  .content>.dim{animation:fade-in .18s var(--ease) backwards}
  .content>.panel{animation:sheet-in .24s var(--ease) backwards}
  .content>.panel.gone{animation:sheet-out .16s var(--leave) forwards}
  /* 4.0.1+33 (Jesse 2026-11-18: "interactive menus lacking animations and/or polish"): until now a phone's
     sheets grew out of a corner like a window's menus, and its pages rose like windows. Every sheet comes up
     from the bottom and goes back down; every page slides in from the right and leaves that way; the dark
     behind a sheet fades. motion.js keeps the leaving copy long enough for it. */
  @keyframes page-in{from{transform:translateX(100%)}}
  @keyframes page-out{to{transform:translateX(100%)}}
  .cm.show:not(.cm .cm),.menu.open{animation:sheet-in .24s var(--ease) backwards;transform-origin:50% 100%}
  .cm.gone:not(.cm .cm),.menu.gone{animation:sheet-out .16s var(--leave) forwards}
  .shade{animation:fade-in .18s var(--ease) backwards}
  .shade.gone{animation:fade-out .16s var(--leave) forwards}
  .ov.show>.dlg.sm:not(.pgd){animation:sheet-in .24s var(--ease) backwards}
  .ov.gone>.dlg.sm:not(.pgd){animation:sheet-out .16s var(--leave) forwards}
  .ov.show:has(>.dlg:not(.sm)),.ov.show:has(>.dlg.pgd){animation:none}
  .ov.show>.dlg:not(.sm),.ov.show>.dlg.pgd{animation:page-in .24s var(--ease) backwards}
  .ov.gone:has(>.dlg:not(.sm)),.ov.gone:has(>.dlg.pgd){animation:none;background:none}
  .ov.gone>.dlg:not(.sm),.ov.gone>.dlg.pgd{animation:page-out .22s var(--ease) forwards}
  html:is([data-pside=pins],[data-pside=search],[data-pside=thread]) .content>.panel{animation:page-in .24s var(--ease) backwards}
  html:is([data-pside=pins],[data-pside=search],[data-pside=thread]) .content>.panel.gone{animation:page-out .22s var(--ease) forwards}
  /* a window's list of pages and one of its pages change places sideways */
  :is(#ov-settings,#ov-server) .dlg:not(.lst)>.dbody{animation:page-in .24s var(--ease) backwards}
  :is(#ov-settings,#ov-server) .dlg.lst>.dnav{animation:back-in .22s var(--ease) backwards}
  /* The leaving copy (motion.js) is a new element, so every arriving animation inside it would run again while it
     leaves: the page slid in from the side once more before the window faded (Jesse, 2026-11-22). */
  :is(#ov-settings,#ov-server).gone :is(.dbody,.dnav){animation:none!important}
}

/* Friends and Inbox: the tabs and the button beside them grow with a wide window (Jesse, 2026-11-13: "so
   there isn't so much dead space when the app is enlarged"). Up to 1280px they are as the design draws;
   from there they grow evenly and stop at 1920px. Not in the design. */
@media(min-width:1281px){
  .main>.bar .seg button{height:clamp(30px,30px + (100vw - 1280px)/64,40px);padding:0 clamp(14px,14px + (100vw - 1280px)/64,24px);font-size:clamp(13px,13px + (100vw - 1280px)/256,15.5px)}
  .main>.bar .btn{height:clamp(34px,34px + (100vw - 1280px)/64,44px);padding:0 clamp(16px,16px + (100vw - 1280px)/64,26px);font-size:clamp(13.5px,13.5px + (100vw - 1280px)/256,16px)}
}

/* The GIF button and its picker (KLIPY). Not in the design: stand-ins made of the emoji picker's parts. */
.ib.gifb{font-size:11.5px;font-weight:750;letter-spacing:.02em}
.gif-grid{columns:2;column-gap:6px;padding-top:6px}
.gif-grid button{display:block;width:100%;margin:0 0 6px;border-radius:12px;overflow:hidden;background:var(--soft);break-inside:avoid}
.gif-grid button:hover{box-shadow:0 0 0 2px var(--accent)}
.gif-grid img{display:block;width:100%;height:auto}
.gifs .btn{display:block;margin:6px auto 2px}
.gif-by{padding:8px 4px 0;color:var(--faint);font-size:11.5px;text-align:right}
.media.gif-wait{width:220px}
/* Outside the window (cove-4-ui final/cove.html, added 2026-11-14): Cove's own tray menu and notifications,
   drawn by the Windows app's out.html with this stylesheet. The room's line, the switch and the red row in the
   menu; the "2 more in Cove" pill; the small Cove mark every notification carries on its picture. */
/* (.lb is also the app's picture viewer, which is dark: not here) */
.cm .lb{padding:6px 12px 4px;font-size:12px;font-weight:650;color:var(--faint);background:none}
.cm .ch .tog{margin:0 -4px 0 auto;transform:scale(.8)}
.cm .ch.red{color:var(--bad)}
.cm .ch>i.st{margin:0 2px}
#notes .more{height:30px;padding:0 13px;border-radius:999px;background:var(--card);box-shadow:var(--pop);font-size:12.5px;font-weight:600;color:var(--muted);display:flex;align-items:center;cursor:pointer}
.toast .av .app{position:absolute;right:-4px;bottom:-4px;width:20px;height:20px;border-radius:50%;background:#1C1C1F;color:#E9E9EE;display:grid;place-items:center;--i:15px;box-shadow:0 0 0 2.5px var(--card)}

/* ---------- profile looks (cove-4-ui final/cove.html, approved 2026-11-14): the design's rules as written there,
   from its comment "draft 2026-11-14: profile looks" to the end of its style block. One change: its `.note`
   (the words in the status bubble) is `.nt .note` here, because the app has a `.note` of its own. ---------- */
/* draft 2026-11-14: profile looks. A person's card (.pc) and the direct-message panel head (.prof) can carry a banner,
   a picture frame, a name style, a name colour, badges, a status bubble and a fuller "Playing" box.
   The choices are attributes on the element marked .plook:
   data-banner=pic|col (unset: a tint of their picture colour), --bc banner colour, data-frame=ring|double|dash|dots|arc,
   data-name=serif|mono|script|wide|tall, --nc name colour (also colours the frame), data-tint=on.
   Settings page: ?modal=settings&page=prolook. Sheet of every option: ?modal=looks. A card with nothing set: ?pop=profile&card=plain. */
.plook{--ncx:color-mix(in srgb,var(--nc,var(--ink)) 62%,var(--ink));--bcx:var(--bc,color-mix(in srgb,var(--c,#7C8494) 55%,var(--soft)));--pbg:var(--card)}
[data-theme=dark] .plook,[data-theme=black] .plook{--ncx:color-mix(in srgb,var(--nc,var(--ink)) 55%,var(--ink))}
.bn{display:block;position:relative;height:92px;background:var(--bcx);overflow:hidden}
.bn .scene{position:absolute;inset:0;display:none}
[data-banner=pic]>.bn .scene{display:block}
.bn .bt{position:absolute;right:10px;top:10px;display:flex;gap:6px;z-index:2}
.bn .bt .ib,.bn .bt .ib:hover{width:32px;height:32px;--i:16px;background:rgba(15,15,17,.55);color:#fff;backdrop-filter:blur(8px)}
.av.frm::before{content:"";position:absolute;inset:calc(-1*var(--fg,8px));border-radius:50%;border:0 solid var(--ncx);pointer-events:none}
.plook[data-frame=ring] .av.frm::before{border-width:var(--fw,2.5px)}
.plook[data-frame=double] .av.frm::before{border-width:calc(var(--fw,2.5px)*2.4);border-style:double;inset:calc(-1*var(--fg,8px) - 2px)}
.plook[data-frame=dash] .av.frm::before{border-width:var(--fw,2.5px);border-style:dashed}
.plook[data-frame=dots] .av.frm::before{border-width:calc(var(--fw,2.5px)*1.3);border-style:dotted}
.plook[data-frame=arc] .av.frm::before{border-width:calc(var(--fw,2.5px)*1.2);border-color:var(--ncx) transparent;transform:rotate(45deg)}
.nm{color:var(--ncx)}.plook .nm{font-size:calc(var(--ns,19px)*var(--nk,1))}
.plook[data-name=serif] .nm{font-family:Georgia,"Times New Roman",serif;letter-spacing:0}
.plook[data-name=mono]{--nk:.92}.plook[data-name=mono] .nm{font-family:"Cascadia Mono",Consolas,monospace;letter-spacing:-.03em}
.plook[data-name=script] .nm{font-family:"Segoe Script","Segoe Print",cursive;letter-spacing:0}.plook[data-name=script]{--nk:.9}
.plook[data-name=wide] .nm{font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.plook[data-name=wide]{--nk:.82}.plook[data-name=tall]{--nk:1.14}.plook[data-name=tall] .nm{font-family:Bahnschrift,"Inter",sans-serif;font-stretch:75%;letter-spacing:.01em;font-weight:600}
.bdgs{display:inline-flex;gap:4px}
/* badges (approved 2026-11-15): a solid round chip in the badge's own colour, light drawing, soft rim.
   Size comes from --s (24px; 22px on your own card; 26px on the phone sheet); the drawing is 66% of it. */
.bdg{--s:24px;width:var(--s);height:var(--s);border-radius:50%;display:inline-grid;place-items:center;flex:none;background:var(--bc);color:#F6F6F8;--bk:var(--bc);box-shadow:inset 0 0 0 calc(var(--s)*.055) rgba(255,255,255,.3),inset 0 calc(var(--s)*-.07) 0 rgba(0,0,0,.16)}
.bdg svg{width:calc(var(--s)*.66);height:calc(var(--s)*.66);fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;display:block}
.b-host{--bc:#2475CC}.b-since{--bc:#2E5893}.b-owner{--bc:#B87B1E}.b-mod{--bc:#C94C26}.b-voice{--bc:#1D8C7D}.b-friends{--bc:#2292B4}
.bdg[hidden]{display:none}
.card.pc{width:348px;padding:0 0 16px;border-radius:26px;overflow:hidden;background:var(--pbg)}
.pc[data-tint=on]{--pbg:color-mix(in srgb,var(--bcx) 15%,var(--card))}
.pc>*:not(.bn){margin-left:16px;margin-right:16px}
.pc .hd3{display:flex;align-items:flex-end;gap:16px;margin-top:-38px;position:relative;z-index:2;padding-left:4px}
.pc .hd3 .av{--s:80px;box-shadow:0 0 0 5px var(--pbg)}.pc .st{--ring:var(--pbg)}
.pc[data-frame] .hd3 .av{box-shadow:0 0 0 11px var(--pbg)}.pc[data-frame] .hd3{padding-left:13px;gap:24px}
.nt .note{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;padding:0;color:inherit;font-size:inherit;text-align:left}
.nt{position:relative;margin-bottom:-7px;max-width:206px;padding:7px 12px;border-radius:16px;background:var(--soft);font-size:13px;line-height:1.35;color:var(--ink2)}
/* in a window the note sits 6px lower (Jesse 2026-12-04: a two-line note touched the banner); a phone keeps -7 / -4 */
@media (min-width:601px){.nt{margin-bottom:-13px}}
.nt::before,.nt::after{content:"";position:absolute;border-radius:50%;background:var(--soft)}
.nt::before{width:10px;height:10px;left:-6px;bottom:5px}.nt::after{width:5px;height:5px;left:-13px;bottom:2px}
.pc{--ns:21px}.pc .nm{font-weight:700;letter-spacing:-.015em;line-height:1.25;margin-top:12px}
.pc .un{display:flex;align-items:center;gap:9px;margin-top:2px;color:var(--muted);font-size:13.5px;min-height:24px}
.pc .mut{display:flex;align-items:center;gap:8px;margin-top:10px;color:var(--muted);font-size:13px}
.pc .mut .stack .av{--s:22px;margin-left:-6px;box-shadow:0 0 0 2px var(--pbg)}.pc .mut .stack .av:first-child{margin-left:0}
.pc .abt{margin-top:10px;font-size:14px;color:var(--ink2)}
.bx.act label{display:flex}.bx.act label span{margin-left:auto;color:var(--live);font-variant-numeric:tabular-nums}
.bx.act .row small{display:block}.bx.act .gi{border-radius:13px}
.bx.act .btn{width:100%;justify-content:center;margin-top:11px;background:var(--card)}.bx.act .btn:hover{background:var(--soft2)}
.bx.act .btn.sent{color:var(--muted);--i:16px}.bx.act .btn.sent .ic{color:var(--live)}
.pc .go .inp{flex:1;width:auto;color:var(--faint)}
.pc.plain .bdgs,.pc.plain .nt,.pc.plain .strk{display:none}
/* the same look at the top of the direct-message panel */
.prof.plook{--pbg:var(--base);padding-top:2px}
.prof .bn{height:84px;border-radius:18px;margin-bottom:-44px}
.prof.plook>.av{display:grid;margin:0 auto;box-shadow:0 0 0 5px var(--pbg)}.prof.plook[data-frame]>.av{box-shadow:0 0 0 11px var(--pbg)}
.prof.plook[data-frame] h3{margin-top:18px}
.prof .bdgs{display:flex;justify-content:center;margin-top:9px}
/* settings, Profile look: choices on the left, the card as others see it on the right */
.plk{display:flex;gap:14px;align-items:flex-start}
.plc{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px;padding-bottom:4px}
.plp{width:292px;flex:none;position:sticky;top:0}
.plp>label{display:block;font-size:12px;font-weight:650;color:var(--faint);padding:2px 8px 8px}
.plp .pc{width:100%;box-shadow:var(--lift)}
.sr.col{flex-direction:column;align-items:stretch;gap:10px;padding:13px 14px 14px 18px}
.opts{display:flex;flex-wrap:wrap;gap:8px}
.ob{--fg:5px;--fw:2px;width:48px;height:48px;border-radius:16px;background:var(--soft);display:grid;place-items:center}
.ob:hover{background:var(--soft2)}
.ob.on{background:var(--card);box-shadow:0 0 0 2px var(--accent)}
.ob{--ns:17px}.ob .av{--s:28px}.ob .nm{font-weight:700}
.sws .pic{background:var(--soft);display:grid;place-items:center;--i:14px;color:var(--muted)}
.sws .pic.on{box-shadow:0 0 0 3px var(--card),0 0 0 5px var(--ink)}
.bp{height:32px;padding:0 13px 0 10px;border-radius:999px;background:var(--soft);display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--muted);--i:14px}
.bp.on{background:var(--ink);color:var(--card)}
/* sheet of every option (?modal=looks) */
#ov-looks .dlg{width:min(1000px,100%);height:min(790px,100%)}
.lo{display:flex;flex-direction:column;align-items:center;gap:13px;width:58px;font-size:12px;font-weight:550;color:var(--muted);--fg:7px}
.lo .av{--s:44px}.lo .bn{width:100%;height:44px;border-radius:12px}
.ln{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;width:100%}
.ln span{display:flex;align-items:baseline;gap:10px;font-size:12px;color:var(--muted);white-space:nowrap}.ln{--ns:18px}.ln .nm{font-weight:700}
.lb2{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;width:100%}
.lb2 span{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600;color:var(--ink2)}.lb2 small{display:block;font-weight:450}
#ov-looks .bx{margin-top:0;width:100%}#ov-looks .bx.act .btn{background:var(--card)}
/* 2026-11-14 (2): moving decorations and glow, added at Jesse's request. Everything is free: there is no shop
   and nothing is sold (Jesse, 2026-11-14: "No shop items").
   More attributes on .plook: data-frame=spin|orbit|pulse|comet|aurora|sparks, data-glow=on,
   data-nfx=glow|blend|shine name effect, data-bfx=drift|stars|waves moving banner,
   data-fx=snow|fireflies|embers card effect, drawn by an <i class="fx"> inside the card.
   --nc may also be one of four bright colours. Who sees them move: data-play=always|hover|off on <html>.
   Addresses: ?pop=profile&look=night|fire|calm, ?modal=settings&page=prolook, ?modal=looks2. */
:root{--star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1 7 5 11 12 12-7 1-11 5-12 12-1-7-5-11-12-12 7-1 11-5 12-12z'/%3E%3C/svg%3E");
  --wave:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20q25-20 50 0t50 0 50 0 50 0v20H0z'/%3E%3C/svg%3E")}
.plook{--gl:var(--nc,var(--accent));--gl2:hsl(from var(--gl) calc(h - 45) s l);--hi:color-mix(in srgb,var(--gl) 55%,#fff);--halo:color-mix(in srgb,var(--gl) 55%,transparent)}
[data-theme=dark] .plook,[data-theme=black] .plook{--hi:#fff;--halo:color-mix(in srgb,var(--gl) 70%,transparent)}
@keyframes lk-spin{to{transform:rotate(360deg)}}
@keyframes lk-pulse{from{opacity:.75;transform:scale(1)}to{opacity:0;transform:scale(1.3)}}
@keyframes lk-twinkle{from{opacity:.3;transform:scale(.93) rotate(-5deg)}to{opacity:1;transform:scale(1.03) rotate(5deg)}}
@keyframes lk-shine{from{background-position:100% 0}to{background-position:0 0}}
@keyframes lk-drift{to{background-position:150% 0}}
@keyframes lk-slide{to{transform:translateX(-50%)}}
@keyframes lk-blink{from{opacity:.2}to{opacity:1}}
@keyframes lk-fall{to{background-position:0 var(--th)}}
@keyframes lk-rise{to{background-position:0 calc(-1*var(--th))}}
/* moving frames */
.plook:is([data-frame=orbit],[data-frame=pulse],[data-frame=comet],[data-frame=aurora],[data-frame=sparks]) .av.frm::after{content:"";position:absolute;inset:calc(-1*var(--fg,8px));border-radius:50%;pointer-events:none}
.plook[data-frame=spin] .av.frm::before{border-width:var(--fw,2.5px);border-style:dashed;animation:lk-spin 16s linear infinite}
.plook[data-frame=orbit] .av.frm::before{border-width:calc(var(--fw,2.5px)*.6);border-color:color-mix(in srgb,var(--ncx) 50%,transparent)}
.plook[data-frame=orbit] .av.frm::after{inset:calc(-1*var(--fg,8px) - var(--fw,2.5px)*1.5);border-radius:0;animation:lk-spin 5s linear infinite;
  background:radial-gradient(circle at 50% calc(var(--fw,2.5px)*2),var(--gl) 0 calc(var(--fw,2.5px)*1.5),transparent calc(var(--fw,2.5px)*1.5 + .7px))}
.plook[data-frame=pulse] .av.frm::before,.plook[data-frame=sparks] .av.frm::before{border-width:var(--fw,2.5px)}
.plook[data-frame=pulse] .av.frm::after{border:var(--fw,2.5px) solid var(--gl);animation:lk-pulse 2.6s ease-out infinite}
.plook:is([data-frame=comet],[data-frame=aurora]) .av.frm::before{animation:lk-spin 3.2s linear infinite;background:conic-gradient(transparent 0 30%,var(--gl) 90%,var(--hi));
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - var(--fw,2.5px)*1.4),#000 calc(100% - var(--fw,2.5px)*1.4 + .7px));mask:radial-gradient(farthest-side,transparent calc(100% - var(--fw,2.5px)*1.4),#000 calc(100% - var(--fw,2.5px)*1.4 + .7px))}
.plook[data-frame=aurora] .av.frm::before{animation-duration:9s;background:conic-gradient(var(--gl),#63D1AE,#E9C46A,var(--gl))}
.plook:is([data-frame=comet],[data-frame=aurora]) .av.frm::after{border:calc(var(--fw,2.5px)*.5) solid color-mix(in srgb,var(--gl) 30%,transparent);box-shadow:0 0 calc(var(--s)*.24) var(--halo),inset 0 0 calc(var(--s)*.12) color-mix(in srgb,var(--gl) 30%,transparent)}
.plook[data-frame=sparks] .av.frm::after{inset:calc(-1*var(--fg,8px) - var(--s)*.2);border-radius:0;background:var(--gl);animation:lk-twinkle 2.2s ease-in-out infinite alternate;
  -webkit-mask:var(--star) 9% 6%/22% 22% no-repeat,var(--star) 97% 20%/14% 14% no-repeat,var(--star) 90% 94%/18% 18% no-repeat,var(--star) 2% 76%/12% 12% no-repeat;mask:var(--star) 9% 6%/22% 22% no-repeat,var(--star) 97% 20%/14% 14% no-repeat,var(--star) 90% 94%/18% 18% no-repeat,var(--star) 2% 76%/12% 12% no-repeat}
/* glow: a soft light in the name colour around the frame */
.plook[data-glow=on]:not([data-frame=comet],[data-frame=aurora]) .av.frm::before{box-shadow:0 0 calc(var(--s)*.24) var(--halo),inset 0 0 calc(var(--s)*.12) color-mix(in srgb,var(--gl) 35%,transparent)}
/* name effects */
.plook[data-nfx=glow] .nm{text-shadow:0 0 14px var(--halo),0 0 3px color-mix(in srgb,var(--gl) 40%,transparent)}
.plook:is([data-nfx=blend],[data-nfx=shine]) .nm{width:fit-content;-webkit-background-clip:text;background-clip:text;color:transparent;background-image:linear-gradient(95deg,var(--gl),var(--gl2))}
.plook[data-nfx=shine] .nm{background-image:linear-gradient(100deg,var(--ncx) 0 42%,var(--hi) 50%,var(--ncx) 58% 100%);background-size:300% 100%;animation:lk-shine 3.6s linear infinite}
.prof.plook:is([data-nfx=blend],[data-nfx=shine]) .nm{margin-inline:auto}
/* moving banners */
[data-bfx=drift]>.bn{background:linear-gradient(115deg,var(--bcx),color-mix(in srgb,var(--bcx) 60%,#fff),var(--bcx),color-mix(in srgb,var(--bcx) 66%,#000),var(--bcx));background-size:300% 100%;animation:lk-drift 16s linear infinite}
[data-bfx=stars]>.bn{background:color-mix(in srgb,var(--bcx) 32%,#0D1018)}
[data-bfx=stars]>.bn::before,[data-bfx=stars]>.bn::after{content:"";position:absolute;inset:0;background-size:120px 92px;animation:lk-blink 2.8s ease-in-out infinite alternate;
  background-image:radial-gradient(circle at 14px 18px,#fff 0 1.1px,transparent 1.7px),radial-gradient(circle at 62px 60px,#fff 0 .8px,transparent 1.4px),radial-gradient(circle at 98px 30px,#fff 0 1.4px,transparent 2px),radial-gradient(circle at 36px 78px,#fff 0 .7px,transparent 1.3px)}
[data-bfx=stars]>.bn::after{background-size:86px 70px;background-position:30px 12px;animation-duration:1.9s;animation-delay:-1.2s}
[data-bfx=waves]>.bn::before,[data-bfx=waves]>.bn::after{content:"";position:absolute;left:0;bottom:0;width:200%;height:64%;background:color-mix(in srgb,var(--bcx) 70%,#fff);opacity:.5;animation:lk-slide 10s linear infinite;
  -webkit-mask:var(--wave) 0 0/50% 100% repeat-x;mask:var(--wave) 0 0/50% 100% repeat-x}
[data-bfx=waves]>.bn::after{height:42%;background:color-mix(in srgb,var(--bcx) 50%,#fff);animation-duration:6.5s;animation-direction:reverse}
/* card effects: small specks over the whole card */
i.fx{display:none;position:absolute;inset:0;pointer-events:none;z-index:3;overflow:hidden;border-radius:inherit}
[data-fx]>i.fx{display:block}.pc>i.fx{margin:0}.plp .pc{position:relative}
i.fx::before,i.fx::after{content:"";position:absolute;inset:0;--th:220px;background-size:174px var(--th)}
i.fx::after{--th:150px;background-size:116px var(--th);background-position:40px 0}
[data-fx=snow]>i.fx{--pt:color-mix(in srgb,var(--ink) 22%,transparent)}
[data-theme=dark] [data-fx=snow]>i.fx,[data-theme=black] [data-fx=snow]>i.fx{--pt:rgba(255,255,255,.5)}
[data-fx=snow]>i.fx::before{animation:lk-fall 13s linear infinite;background-image:radial-gradient(circle at 22px 30px,var(--pt) 0 2px,transparent 2.6px),radial-gradient(circle at 98px 86px,var(--pt) 0 1.6px,transparent 2.2px),radial-gradient(circle at 150px 160px,var(--pt) 0 2.2px,transparent 2.8px),radial-gradient(circle at 60px 196px,var(--pt) 0 1.4px,transparent 2px)}
[data-fx=snow]>i.fx::after{animation:lk-fall 8s linear infinite;background-image:radial-gradient(circle at 18px 110px,var(--pt) 0 1.2px,transparent 1.8px),radial-gradient(circle at 80px 40px,var(--pt) 0 1.5px,transparent 2.1px)}
[data-fx=fireflies]>i.fx{--pt:#D9A32B}
[data-theme=dark] [data-fx=fireflies]>i.fx,[data-theme=black] [data-fx=fireflies]>i.fx{--pt:#F2D27A}
[data-fx=embers]>i.fx{--pt:#E2703A;-webkit-mask:linear-gradient(to top,#000 25%,transparent 85%);mask:linear-gradient(to top,#000 25%,transparent 85%)}
[data-fx=fireflies]>i.fx::before,[data-fx=embers]>i.fx::before{animation:lk-rise 22s linear infinite,lk-blink 3.2s ease-in-out infinite alternate;
  background-image:radial-gradient(circle at 30px 40px,var(--pt) 0 1.6px,color-mix(in srgb,var(--pt) 35%,transparent) 2.6px,transparent 7px),radial-gradient(circle at 132px 120px,var(--pt) 0 1.3px,color-mix(in srgb,var(--pt) 35%,transparent) 2.2px,transparent 6px),radial-gradient(circle at 74px 190px,var(--pt) 0 1.8px,color-mix(in srgb,var(--pt) 35%,transparent) 2.8px,transparent 7px)}
[data-fx=fireflies]>i.fx::after,[data-fx=embers]>i.fx::after{animation:lk-rise 15s linear infinite,lk-blink 2.3s ease-in-out -1s infinite alternate;
  background-image:radial-gradient(circle at 20px 96px,var(--pt) 0 1.3px,color-mix(in srgb,var(--pt) 35%,transparent) 2.2px,transparent 6px),radial-gradient(circle at 88px 24px,var(--pt) 0 1.5px,color-mix(in srgb,var(--pt) 35%,transparent) 2.4px,transparent 6px)}
[data-fx=fireflies]>i.fx::before{--th:300px;background-size:250px var(--th)}[data-fx=fireflies]>i.fx::after{--th:230px;background-size:190px var(--th)}
[data-fx=embers]>i.fx::before{animation-duration:7s,1.6s}[data-fx=embers]>i.fx::after{animation-duration:4.6s,1.1s}
/* who sees them move: always, only when pointed at, or never. "Less motion" in Windows means never. */
[data-play=off] .plook,[data-play=off] .plook *,[data-play=off] .plook *::before,[data-play=off] .plook *::after,[data-play=off] .plook::before,[data-play=off] .plook::after{animation-name:none!important}
/* Standing still is one switch, --cvp, set on the box that should stand still and inherited by all inside it and
   their ::before and ::after. The rules that stilled "everything inside X" (X *) had the page test every element on
   it against each of them, walking up to the top each time: two thirds of the work of opening a chat on a phone
   went into that (2026-11-22, perf-check.mjs). Same result, one cheap rule. The rules that switch moving looks off name only animation-name: the shorthand
   "animation:none" would also set the play state back to running over this switch. */
*,::before,::after{animation-play-state:var(--cvp,running)!important}
[data-play=hover] .plook:not(:hover)>*{--cvp:paused}
/* While Cove is not the window in use (behind other windows, minimised, in the tray, or another window has the
   keyboard), everything that moves on its own stands still: profile looks, banners, card effects and super reactions.
   Nobody is looking, and each one redraws the page and the graphics card 60 times a second (2026-11-16). */
[data-away=on] .plook,[data-away=on] .bn,[data-away=on] i.fx,[data-away=on] .sup{--cvp:paused}
[data-away=on] .av>img.mov{display:none}
@media (prefers-reduced-motion:reduce){.plook *,.plook *::before,.plook *::after{animation-name:none!important}}
/* settings: wide option buttons */
.ob{position:relative}
.ob.w{width:72px;padding:5px;place-items:stretch;overflow:hidden}.ob.w .bn{height:100%;border-radius:11px}
.ob.w>.ic:only-child{place-self:center;color:var(--faint)}
.sws i{width:2px;height:16px;border-radius:2px;background:var(--soft2);align-self:center}
/* sheet of the moving and glowing looks (?modal=looks2) */
#ov-looks2 .dlg{width:min(1000px,100%);height:min(790px,100%)}
.fxm>i.fx,.ob>i.fx{inset:0 auto auto 0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;border-radius:0}
.fxm{display:block;position:relative;width:100%;height:74px;border-radius:12px;background:var(--soft);overflow:hidden}
/* draft 2026-11-14 (5): your own card (the menu that opens from the "you" card, ?pop=status) now starts with your look;
   and a window for choosing and cropping a banner picture (?modal=banner, &step=choose for the first step). */
.cm.mec{width:316px;padding:8px}
.meh{--pbg:var(--card);--ns:17px;--fg:6px;--fw:2px;padding-bottom:10px}
.meh .bn{height:60px;border-radius:14px}.meh .bn .bt{right:7px;top:7px}.meh .bn .bt .ib,.meh .bn .bt .ib:hover{width:28px;height:28px;--i:14px}
.meh .hd4{display:flex;align-items:flex-end;gap:17px;margin-top:-13px;padding:0 4px 0 15px;position:relative;z-index:2}
.meh .av{--s:52px;box-shadow:0 0 0 9px var(--pbg)}.meh .st{--ring:var(--pbg)}
.meh .tx{flex:1;min-width:0}.meh .nm{display:block;font-weight:700;line-height:1.25;white-space:nowrap}.meh small{display:block;color:var(--muted);font-size:12.5px;line-height:1.3}
.meh .bdg{--s:22px}.meh .bdgs{margin-bottom:3px}
#ov-banner .dlg{width:min(760px,100%);height:auto;max-height:100%}#ov-banner .dbody{padding-bottom:20px}
.bnr[data-step=choose] .k,.bnr:not([data-step=choose]) .c{display:none!important}
.dz{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:236px;border-radius:22px;border:2px dashed var(--soft2);background:var(--card);text-align:center}
.dz .si{width:56px;height:56px;--i:24px;background:var(--soft);box-shadow:none;margin-bottom:6px}
.dz b{font-size:17px;font-weight:700;letter-spacing:-.01em}.dz small{color:var(--muted);font-size:13px}.dz .btn{margin:6px 0 8px;height:38px;padding:0 20px}
.bnr label{display:block;font-size:12px;font-weight:650;color:var(--faint);padding:16px 8px 8px}
.rec{display:flex;gap:8px}.rec .scene{flex:1;height:58px;border-radius:14px}
.cropst{position:relative;height:300px;border-radius:22px;overflow:hidden;background:#000}
.cropst>.scene{position:absolute;inset:-12% -4%}
.cropst .win{position:absolute;left:50%;top:50%;width:568px;height:150px;margin:-75px 0 0 -284px;border-radius:26px 26px 0 0;box-shadow:0 0 0 2px #fff,0 0 0 999px rgba(10,10,14,.58);overflow:hidden}
.cropst .win i{position:absolute;left:15px;top:63px;width:166px;height:166px;border-radius:50%;background:rgba(10,10,14,.42);border:2px dashed rgba(255,255,255,.75)}
.cropst .hn{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);padding:5px 12px;border-radius:999px;background:rgba(15,15,17,.6);color:#fff;font-size:12.5px;white-space:nowrap;backdrop-filter:blur(8px)}
.zr{display:flex;align-items:center;gap:12px;margin-top:14px;padding:0 4px 0 8px;color:var(--muted);--i:16px}
.zm{flex:1;height:6px;border-radius:3px;background:var(--soft2);position:relative}.zm i{position:absolute;left:0;top:0;bottom:0;width:38%;border-radius:3px;background:var(--accent)}
.zm b{position:absolute;left:38%;top:50%;width:20px;height:20px;margin:-10px 0 0 -10px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.3),0 0 0 1px rgba(0,0,0,.06)}
.zr .btn{margin-left:8px;background:var(--card)}
/* draft 2026-11-14 (4): twelve more name styles, at Jesse's request ("these are fine, add more"). Windows fonts, to be bundled by the app. Sheet of all eighteen: ?modal=names. */
.plook[data-name=book] .nm{font-family:"Palatino Linotype",Palatino,serif;letter-spacing:0}.plook[data-name=book]{--nk:1.04}
.plook[data-name=soft] .nm{font-family:Candara,"Trebuchet MS",sans-serif;letter-spacing:0}.plook[data-name=soft]{--nk:1.06}
.plook[data-name=slant] .nm{font-style:italic}
.plook[data-name=light] .nm{font-family:"Segoe UI Light","Segoe UI",sans-serif;font-weight:300;letter-spacing:0}.plook[data-name=light]{--nk:1.06}
.plook[data-name=heavy] .nm{font-family:"Segoe UI Black","Arial Black",sans-serif;font-weight:900;letter-spacing:-.02em}.plook[data-name=heavy]{--nk:.92}
.plook[data-name=poster] .nm{font-family:Impact,"Arial Narrow",sans-serif;font-weight:400;letter-spacing:.02em}.plook[data-name=poster]{--nk:1.08}
.plook[data-name=caps] .nm{font-variant-caps:small-caps;letter-spacing:.03em}.plook[data-name=caps]{--nk:1.05}
.plook[data-name=type] .nm{font-family:"Courier New",Courier,monospace;letter-spacing:-.02em}
.plook[data-name=hand] .nm{font-family:"Segoe Print","Segoe Script",cursive;letter-spacing:0}.plook[data-name=hand]{--nk:.86}
.plook[data-name=marker] .nm{font-family:"Ink Free","Segoe Print",cursive;letter-spacing:.01em}.plook[data-name=marker]{--nk:1.08}
.plook[data-name=playful] .nm{font-family:"Comic Sans MS","Segoe Print",cursive;letter-spacing:0}.plook[data-name=playful]{--nk:.94}
.plook[data-name=fancy] .nm{font-family:Gabriola,Georgia,serif;font-weight:400;letter-spacing:0;line-height:1}.plook[data-name=fancy]{--nk:1.4}
#ov-names .dlg{width:min(1000px,100%);height:min(640px,100%)}
.ln3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;--ns:21px;--nc:#5E7FA8;overflow:hidden}
.ln3 span{display:flex;flex-direction:column;justify-content:center;gap:1px;height:76px;padding:0 18px;border-radius:20px;background:var(--card);box-shadow:var(--lift);font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden}
.ln3 .nm{font-weight:700;line-height:1.3}.ln3 small{font-size:12.5px;color:var(--faint)}.ln3 em{font-style:normal;font-weight:600;color:var(--ink2)}
/* draft 2026-11-14 (3): the Profile look page no longer scrolls. Its rows sit on four tabs (data-tab on .plk, data-t on each row); ?tab=card|picture|name|more opens one. */
.plc .tabs{align-self:stretch;flex:none;background:var(--soft2)}.plc .tabs button{flex:1;padding:0 8px}
.plk[data-tab=card] .plc>.sr:not([data-t=card]),.plk[data-tab=picture] .plc>.sr:not([data-t=picture]),.plk[data-tab=name] .plc>.sr:not([data-t=name]),.plk[data-tab=more] .plc>.sr:not([data-t=more]){display:none}
.pg[data-p=prolook]{overflow:hidden}.plc [data-look=nc]{gap:7px;padding-right:0;flex-wrap:nowrap!important}
/* The app's own beside them. */
/* a banner picture is a real picture, not the design's stand-in scene */
.bn .bpic{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
/* the card effect's layer is no focus sample (`.fx` is also the parts sheet's focus ring) */
i.fx{outline:0}
/* the small "you" card carries your look too: frame, glow, name style, colour and effect, moving like on the
   cards (Jesse, 2026-11-15). The design leaves this card plain: a departure Cove 4 UI should take over. */
.mebtn.plook{--pbg:var(--card);--fg:4px;--fw:2px;--ns:15px}
.mebtn.plook:is([data-frame],[data-glow]){gap:17px}
.mebtn.plook .who .nm{max-width:100%;padding-block:1px}
/* a look goes with its owner into the chat and the member list too: the picture's frame and glow, the name's
   style, colour and effect, moving as on the cards (Jesse, 2026-11-15: "animated profile images / effects applied
   in chats and in the profile icon"). The design keeps these to the cards: a departure Cove 4 UI should take over. */
.wr.plook{--fg:3px;--fw:2px}
.mh.plook{--ns:15px}.mb.plook{--ns:14px}
.mh.plook .nm,.mb.plook .nm{max-width:100%}
.mb.plook:is([data-frame],[data-glow]){gap:14px}
/* the tiles of calls, voice rooms and streams wear the picture's frame and glow too (Jesse, 2026-11-17: "profile
   changes ... reflected on calls and streams"). The frame grows with the tile's picture. Not in the design: a
   departure Cove 4 UI should take over. */
.tav.plook{display:contents}
.tile .av.frm{--fg:max(3px,calc(var(--s)*.08));--fw:max(1.5px,calc(var(--s)*.03))}
/* direct messages wear them too: the chat list, the chat's top bar, the start of a new chat (Jesse, 2026-11-17:
   "make the DMs appear that way too"). Not in the design: a departure Cove 4 UI should take over. */
.dm .av.frm,.top .av.frm{--fg:3px;--fw:2px}
.intro .av.frm{--fg:6px;--fw:2.5px}
/* the frame reaches ~9px past a DM row's picture (the holly wreath), its glow further. The row clips its top and
   bottom (for folding) and the list its left side, which cut the frame off (Jesse 2026-11-17: "They cut off"). A framed
   row gets room above and below, and the list room on its left, reaching into the rail's empty edge. */
.dm:has(>.tav[data-frame]){padding-top:11px;padding-bottom:11px}
.grp.dms{margin-left:-8px;padding-left:8px}
.cm.card.pc{padding:0 0 16px}
.pc .hd3 .av,.meh .av,.prof.plook>.av{cursor:default}
.pc .un .bdgs,.meh .bdgs{flex:none}.bdg{cursor:default;flex:none}
.pc .nm,.pc .un,.meh .nm,.meh small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pc .abt{white-space:pre-wrap;overflow-wrap:anywhere}
.pc .mut span.t{min-width:0}
.gi.g52{--g:52px}.gi.g46{--g:46px}.gi.g44{--g:44px}
.pc .go .inp{cursor:pointer}
.pc .go{margin-top:12px}
.pc .bx input.plain{width:100%}
.bx.act label span{font-weight:650}
/* your own card: the look on top of the status rows */
.cm.mec .meh{position:relative}
.meh .tx{padding-bottom:1px;margin-bottom:-4px} /* name and @ 4px lower than drawn, clear of the banner (Jesse 2026-11-16) */
/* settings, Profile look */
.plk .ob,.plk .bp,.plk .sws button{cursor:pointer}
/* the settings window is wider here than in the design, so a tab's name stands in its middle */
.plc .tabs button{text-align:center}
.bp.off{opacity:.45;cursor:default}
/* a badge button in Settings carries its 20px chip before the name */
.bp .bdg{--s:20px;cursor:inherit}
.plp .pc{cursor:default}
.sws .pic.on{background-size:cover;background-position:center}
/* the banner picture window */
#ov-banner{z-index:21}
.dlg.bnr{flex-direction:column}
.bnr .dbody{padding-top:0}
.dz.over{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 7%,var(--card))}
.rec button{flex:1;height:58px;border-radius:14px;overflow:hidden;padding:0;background:var(--soft);cursor:pointer}
.rec button img{width:100%;height:100%;object-fit:cover;display:block}
.rec button:hover{box-shadow:0 0 0 2px var(--accent)}
.cropst{touch-action:none;cursor:grab;user-select:none}.cropst:active{cursor:grabbing}
.cropst>img{position:absolute;max-width:none;pointer-events:none;user-select:none}
.cropst .win,.cropst .hn{pointer-events:none}
.zm{cursor:pointer;touch-action:none}
.zm::before{content:"";position:absolute;inset:-10px 0}
.bnr .foot{margin-top:18px}
/* a look worn on a chat or member row stands still while the row is off screen (data-far, set by look.rs) or in
   a folded group: no frame painted or turned for rows nobody sees. Rows on screen move as before. */
.wr.plook[data-far]>*,.grp.shut>.wr.plook>*{--cvp:paused}
/* "Never" and "less motion" also still the card effects' samples in Settings, which are no .plook */
[data-play=off] i.fx::before,[data-play=off] i.fx::after{animation:none!important}
/* the same for the tiles of Choose your look and super reactions' chips off screen (data-far, look.rs); "Never" and
   "less motion" still the chips' bob and shine as they do every other moving look */
.tv.plook[data-far],.hv.plook[data-far],.sup[data-far] .e{--cvp:paused}.sup[data-far]::after{animation-play-state:paused!important}
/* Off screen the looks' animations are taken away, not only paused (2026-12-01, resource use): Chrome keeps a graphics
   layer for every paused transform animation, and every piece drawn over one gets a layer of its own as well. A DM of
   400 messages held 276 layers, 211 of them for rows nobody saw, and each frame of a look on screen paid for all of them
   (perf-check: 249 layers to 65, the page's commit time per frame halved). Nobody sees where a far row's look stood:
   it starts again 200 px before the row comes into view (look.rs). Each selector ends in a class, so the page tests
   only those few elements against it, not every element as "[data-far] *" would. */
[data-far],[data-far]::before,[data-far]::after,[data-far] .frm::before,[data-far] .frm::after,[data-far] .nm,
[data-far] .nm::before,[data-far] .nm::after,[data-far] .lt,[data-far] .bn,[data-far] .bn::before,[data-far] .bn::after,
[data-far] .fx::before,[data-far] .fx::after,[data-far] .e,.grp.shut>.wr.plook .frm::before,.grp.shut>.wr.plook .frm::after,
.grp.shut>.wr.plook .nm,.grp.shut>.wr.plook .nm::before,.grp.shut>.wr.plook .nm::after,.grp.shut>.wr.plook .lt{animation-name:none!important}
/* Choose your look fills its tiles over a few frames (data-wait, look.rs): a waiting tile's sample keeps its box and
   ground, and what is drawn in it is left out until its turn. All samples of a kind in one frame froze the window. */
.lpk-grid [data-wait]>.tv,.lpk-grid [data-wait]>.hv{content-visibility:hidden}
[data-play=off] .rx .sup .e,[data-play=off] .rx .sup::after{animation:none!important}
@media (prefers-reduced-motion:reduce){.rx span.sup .e,.rx span.sup::after{animation:none}}
@media (prefers-reduced-motion:reduce){i.fx::before,i.fx::after,.plook::before,.plook::after{animation-name:none!important}}

/* "Switch camera" on your own picture (phone design, screen 10: .tile .flip). Shown by phone.css while the
   device has another camera (data-cams, set by voice.js); the picture of a camera that looks away from you
   (data-camface=back) is not mirrored. */
/* two classes each: `.grid button` (the pickers' grids) also reaches a room's `.stage.grid` */
.tile>.camflip,.tiles>.camflip{display:none;position:absolute;right:10px;bottom:10px;width:40px;height:40px;border-radius:50%;overflow:visible;background:rgba(15,15,17,.62);backdrop-filter:blur(8px);color:#fff;place-items:center;z-index:2;--i:18px}
.camflip .ic{color:inherit}
.camflip:active{transform:scale(.96)}
[data-camface=back] .tile .vid.mine video{transform:none}
/* Text formatting and spoilers (handoff 2026-11-15, final/cove.html "draft 2026-11-15: chat features"). The design's
   ?fmt, &spoil and ?fmtbar states are the app's own: a spoiler or picture is shown once clicked (.seen), the bar
   stands over the selection in the message box (.fbar.at, placed by the app), the hint line while markers are typed. */
.mt strong{font-weight:650;color:var(--ink)}
.mt em{font-style:italic}
.mt u{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.mt s{text-decoration-thickness:1.5px;color:var(--muted)}
.mt .lk{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,currentColor 40%,transparent)}
.mt ul,.mt ol{padding-left:24px;margin:3px 0 2px}.mt li{padding-left:3px}.mt li::marker{color:var(--faint);font-weight:600}
.qt{display:flex;gap:10px;margin:5px 0 3px;padding:8px 16px 9px 12px;border-radius:16px;background:var(--soft);width:fit-content;max-width:min(520px,100%);color:var(--ink2);font-size:var(--msg,15px);line-height:1.5;--i:16px}
.qt .ic{color:var(--faint);margin-top:3px}
.qt small{display:block;color:var(--faint);font-size:12.5px;font-weight:550}
.qt>span{white-space:pre-wrap;overflow-wrap:anywhere}
.cbk{margin:6px 0 2px;width:min(520px,100%);border-radius:16px;background:var(--base);overflow:hidden}
.cbk header{display:flex;align-items:center;height:36px;padding:0 6px 0 16px;font-size:12px;font-weight:650;color:var(--faint)}
.cbk .cp{margin-left:auto;height:26px;padding:0 10px;border-radius:999px;display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--muted);--i:13px}
.cbk .cp:hover{background:var(--soft2);color:var(--ink)}
.cbk pre{padding:0 16px 13px;font:500 13px/1.6 ui-monospace,Consolas,monospace;color:var(--ink2);white-space:pre;overflow:auto hidden;scrollbar-width:none}
.cbk pre i{font-style:normal;color:var(--faint)}
.spo:not(.seen){text-shadow:0 0 7px color-mix(in srgb,var(--ink) 45%,transparent)}
.spw{position:relative;overflow:hidden}
.media.sp{width:min(380px,100%)}
.media.sp .scene{height:132px;filter:blur(20px) brightness(.85);transform:scale(1.2)}
.spp{position:absolute;inset:0;margin:auto;width:fit-content;height:36px;padding:0 15px 0 12px;border-radius:999px;background:rgba(15,15,17,.6);backdrop-filter:blur(8px);color:#fff;font-size:13.5px;font-weight:650;display:flex;align-items:center;gap:8px;z-index:1;--i:16px;cursor:pointer}
.spw .tag{display:none;position:absolute;left:10px;top:10px;height:26px;padding:0 10px;border-radius:999px;background:rgba(15,15,17,.6);backdrop-filter:blur(8px);color:#fff;font-size:12px;font-weight:600;align-items:center;gap:6px;z-index:1;--i:13px}
.spw.seen .scene{filter:none;transform:none}
.spw.seen .spp{display:none}
.spw.seen .tag{display:flex}
.fbar{position:absolute;bottom:calc(100% + 16px);left:-6px;display:flex;gap:2px;padding:4px;border-radius:999px;background:var(--card);box-shadow:var(--pop);z-index:4;white-space:nowrap}
:is([data-theme=dark],[data-theme=black]) .fbar{background:var(--soft);box-shadow:var(--pop)}
.fbar.at{position:fixed;bottom:auto}
.fbar .ib{position:relative;width:34px;height:34px;--i:17px;color:var(--ink2)}
.fbar .ib:hover,.fbar .ib.act{background:var(--soft2);color:var(--ink)}
.fbar .gp{width:6px}
.fbar .ib.act{background:color-mix(in srgb,var(--accent) 16%,var(--card))}
.ftip{position:absolute;bottom:calc(100% + 12px);left:50%;transform:translateX(-50%);height:28px;padding:0 11px;border-radius:999px;background:var(--ink);color:var(--base);font-size:12.5px;font-weight:600;display:flex;align-items:center;gap:8px;white-space:nowrap;pointer-events:none}
.ftip kbd{font:600 11px "Inter";opacity:.6}
.fbar .ib:not(:hover) .ftip{display:none}
.mdh{display:flex;align-items:center;gap:14px;white-space:nowrap}
.mdh code{font:500 12px ui-monospace,Consolas,monospace;color:var(--muted)}
.typing:has(.mdh){display:flex;align-items:center}
/* The design's spoiler picture is a .scene; the app's picture is the .shot button's img. */
.media.sp .spw:not(.seen) .shot img,.media.sp .spw:not(.seen) .shot canvas{filter:blur(20px) brightness(.85);transform:scale(1.2)}
.media.sp .spw{border-radius:inherit}

/* Highest stream quality (handoff 2026-11-15, final/cove.html "stream quality: nothing is locked"): every choice open in
   Share your screen with its note, and a small label on a shared screen. The app writes the label once the picture
   comes in (voice.js `qualityTags`), so an empty one is not shown. */
.gl{background:rgba(15,15,17,.62);backdrop-filter:blur(8px);color:#fff}
.tile .qtag{position:absolute;right:12px;top:12px;z-index:2;height:26px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:600;display:flex;align-items:center;letter-spacing:.01em}
.tile .qtag:empty{display:none}
.qnote{display:flex;align-items:center;gap:9px;padding:2px 6px 0 18px;color:var(--muted);font-size:13px;--i:16px}.qnote .ic{color:var(--s-on)}
.sr .l small.qsrc{display:block}
/* Super reactions (handoff 2026-11-15, final/cove.html "draft 2026-11-15: events and super reactions"), as written there.
   The app adds: its chips are buttons, so each `.rx span.sup` rule is also given to `.rx button.sup`; the switch lives
   in the picker card (`.cm.emo[data-super=on]`), and a hovered emoji gets `.hv` and its --gc from superx.js;
   a custom emoji (a picture) in the chip and the burst. */
.erow{display:flex;align-items:center;gap:8px}.erow .inp{flex:1;width:auto}
.sup-t{display:flex;align-items:center;gap:7px;height:38px;padding:0 6px 0 12px;border-radius:999px;background:var(--soft);font-size:13px;font-weight:600;color:var(--muted);--i:16px;flex:none}
.sup-t .tg{width:34px;height:22px;border-radius:999px;background:var(--soft2);position:relative;transition:background .15s}
.sup-t .tg::after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s}
[data-super=on] .sup-t{color:var(--ink)}[data-super=on] .sup-t .ic{color:#D9A23A}
[data-super=on] .sup-t .tg{background:var(--accent)}[data-super=on] .sup-t .tg::after{transform:translateX(12px)}
.suph{display:none;align-items:flex-start;gap:9px;margin-top:8px;padding:9px 12px;border-radius:14px;background:var(--soft);font-size:12.5px;line-height:1.45;color:var(--muted);--i:15px}
.suph .ic{color:#D9A23A;margin-top:1px}[data-super=on] .suph{display:flex}
[data-super=on] .eg button:not(:has(.gt)){font-size:25px}
[data-super=on] .eg button.hv{background:color-mix(in srgb,var(--gc) 14%,var(--card));box-shadow:0 0 0 1.5px color-mix(in srgb,var(--gc) 50%,transparent),0 0 14px -2px color-mix(in srgb,var(--gc) 60%,transparent)}
.rx:has(.sup){align-items:center}
.rx span.sup{height:32px;padding:0 13px 0 10px;gap:7px;position:relative;overflow:hidden;color:var(--ink);font-size:13px;
  background:color-mix(in srgb,var(--gc) 13%,var(--card));box-shadow:0 0 0 1.5px color-mix(in srgb,var(--gc) 48%,transparent),0 0 14px -3px color-mix(in srgb,var(--gc) 75%,transparent)}
.rx span.sup .e{font-style:normal;font-size:18px;line-height:1;display:inline-block;animation:sr-bob 2.6s ease-in-out infinite}
.rx span.sup::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.4) 50%,transparent 62%);background-size:260% 100%;animation:sr-shine 3.4s linear infinite}
:is([data-theme=dark],[data-theme=black]) .rx span.sup::after{background-image:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.14) 50%,transparent 62%)}
.burst{position:absolute;left:230px;top:46%;width:0;height:0;z-index:6;pointer-events:none}
.burst .glow{position:absolute;left:-100px;top:-100px;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--gc) 34%,transparent),transparent 66%);animation:sr-glow 2.4s ease-out both}
.burst .big{position:absolute;left:-56px;top:-56px;width:112px;height:112px;font-size:84px;line-height:112px;text-align:center;animation:sr-pop 2.4s cubic-bezier(.2,.9,.3,1.25) both;filter:drop-shadow(0 6px 14px color-mix(in srgb,var(--gc) 45%,transparent))}
.burst i{position:absolute;left:0;top:0;font-style:normal;font-size:var(--z,20px);width:1em;height:1em;margin:-.5em 0 0 -.5em;line-height:1;text-align:center;animation:sr-fly 2.4s cubic-bezier(.12,.7,.3,1) both;animation-delay:var(--d,0s)}
.burst i.dot{font-size:0;width:var(--z,8px);height:var(--z,8px);margin:calc(var(--z,8px)/-2) 0 0 calc(var(--z,8px)/-2);border-radius:50%;background:var(--pc,var(--gc))}
@media (prefers-reduced-motion:reduce){.burst{display:none}}
@keyframes sr-bob{0%,100%{transform:scale(1) rotate(0)}12%{transform:scale(1.18) rotate(-8deg)}24%{transform:scale(1) rotate(0)}}
@keyframes sr-shine{from{background-position:130% 0}to{background-position:-30% 0}}
@keyframes sr-pop{0%{opacity:0;transform:scale(.3) translateY(20px)}18%{opacity:1;transform:scale(1.18) translateY(-6px)}32%{transform:scale(1) translateY(0)}78%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.9) translateY(-24px)}}
@keyframes sr-glow{0%{opacity:0;transform:scale(.4)}25%{opacity:1;transform:scale(1)}75%{opacity:.8}100%{opacity:0;transform:scale(1.15)}}
@keyframes sr-fly{0%{opacity:0;transform:translate(0,0) scale(.3) rotate(0)}12%{opacity:1}72%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) scale(1) rotate(var(--r,0deg))}}
.rx button.sup{height:32px;padding:0 13px 0 10px;gap:7px;position:relative;overflow:hidden;color:var(--ink);font-size:13px;
  background:color-mix(in srgb,var(--gc) 13%,var(--card));box-shadow:0 0 0 1.5px color-mix(in srgb,var(--gc) 48%,transparent),0 0 14px -3px color-mix(in srgb,var(--gc) 75%,transparent)}
.rx button.sup .e{font-style:normal;font-size:18px;line-height:1;display:inline-block;animation:sr-bob 2.6s ease-in-out infinite}
.rx button.sup::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.4) 50%,transparent 62%);background-size:260% 100%;animation:sr-shine 3.4s linear infinite}
:is([data-theme=dark],[data-theme=black]) .rx button.sup::after{background-image:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.14) 50%,transparent 62%)}
@media (prefers-reduced-motion:reduce){.rx button.sup .e,.rx button.sup::after{animation:none}}
.rx button.sup .cem{width:20px;height:20px;vertical-align:middle}
.burst .big .cem{width:84px;height:84px;vertical-align:top;margin-top:14px}.burst i .cem{width:1em;height:1em;margin:0;display:block}
.cm.emo[data-super=on] .eg button.hv{cursor:pointer}

/* Moving banners and pictures, profile colours (handoff 2026-11-15, final/cove.html "draft 2026-11-15: profile
   colours and emoji everywhere", pictures 189 to 198), copied as written there (its lines 1268-1335) without the rules
   of its stand-in picture (.scene.mv): the app shows the real banner, frames and picture. */
/* "Moves" chip: dark see-through, like the hint on the crop stage */
.mvl{position:absolute;left:14px;top:14px;z-index:3;height:26px;padding:0 11px 0 9px;border-radius:999px;background:rgba(15,15,17,.6);backdrop-filter:blur(8px);color:#fff;font-size:12.5px;font-weight:600;display:inline-flex;align-items:center;gap:6px;--i:12px}
.mvl svg.ic{fill:currentColor;stroke:none}
.mvl.sm{position:static;height:22px;padding:0 9px 0 7px;font-size:11.5px;--i:10px;background:var(--soft2);color:var(--ink2);backdrop-filter:none}
.bnr:not(.gif) .gifo{display:none!important}.bnr.gif .stillo{display:none!important}
/* frame scrubber under the crop stage: play, film strip with trim handles and play head, length */
.scrub{display:flex;align-items:center;gap:12px;margin-top:12px;padding:0 4px 0 2px}
.scrub>.ib{background:var(--soft);--i:14px}.scrub>.ib svg{fill:currentColor;stroke:none}
.strip{flex:1;position:relative;height:50px;display:flex;gap:2px;border-radius:14px;overflow:hidden;background:#000}
.strip>img{flex:1;min-width:0;height:100%;object-fit:cover;display:block}
.strip .sel{position:absolute;top:0;bottom:0;left:4%;right:22%;border-radius:12px;box-shadow:inset 0 0 0 2px #fff,0 0 0 999px rgba(10,10,14,.58)}
.strip .sel::before,.strip .sel::after{content:"";position:absolute;top:50%;width:4px;height:20px;margin-top:-10px;border-radius:2px;background:#fff}
.strip .sel::before{left:5px}.strip .sel::after{right:5px}
.strip .ph{position:absolute;top:-2px;bottom:-2px;left:34%;width:3px;margin-left:-1.5px;border-radius:2px;background:var(--accent);box-shadow:0 0 0 1.5px #fff}
.scrub time{font-size:12.5px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.scrub time b{color:var(--ink);font-weight:600}
.scrn{margin-top:10px;padding:0 6px;font-size:12.5px;color:var(--muted)}
.rec .mvr{position:relative}.rec .mvr .mvl{left:6px;top:6px;height:20px;font-size:11px;padding:0 8px 0 6px;--i:9px}
/* (1b) profile colours: a soft two-tone wash over the whole card; inner boxes turn see-through so the wash shows */
.plook[data-pt=two]{--w1:color-mix(in srgb,var(--t1) 30%,var(--card));--w2:color-mix(in srgb,var(--t2) 34%,var(--card));--pbg:var(--w1);
  background:linear-gradient(172deg,var(--w1) 0 26%,color-mix(in srgb,var(--w1) 50%,var(--w2)) 58%,var(--w2) 100%)}
:is([data-theme=dark],[data-theme=black]) .plook[data-pt=two]{--w1:color-mix(in srgb,var(--t1) 34%,var(--card));--w2:color-mix(in srgb,var(--t2) 30%,var(--card))}
.plook[data-pt=two] :is(.bx,.nt,.go .inp){background:color-mix(in srgb,var(--card) 58%,transparent)}
.plook[data-pt=two] .nt::before,.plook[data-pt=two] .nt::after{background:color-mix(in srgb,var(--card) 58%,transparent)}
:is([data-theme=dark],[data-theme=black]) .plook[data-pt=two] :is(.bx,.nt,.go .inp),:is([data-theme=dark],[data-theme=black]) .plook[data-pt=two] .nt::before,:is([data-theme=dark],[data-theme=black]) .plook[data-pt=two] .nt::after{background:rgba(0,0,0,.2)}
.plook[data-pt=two] .bx .pill,.plook[data-pt=two] .bx.act .btn{background:color-mix(in srgb,var(--card) 80%,transparent)}
:is([data-theme=dark],[data-theme=black]) .plook[data-pt=two] :is(.bx .pill,.bx.act .btn){background:rgba(255,255,255,.08)}
.plook[data-pt=two] .bx label,.plook[data-pt=two] .un,.plook[data-pt=two] .mut{color:var(--muted)}
/* settings, Card tab: the Profile colours row (replaces "Tint the card" while it is on) and the colour picker */
.plk.cust .plc>#tintt-row{display:none}.plk:not(.cust) .plc>.pcol{display:none}
.pcol .hdl{display:flex;align-items:center;gap:14px}
.cchs{display:flex;gap:8px}
.cch{flex:1;min-width:0;height:44px;border-radius:15px;background:var(--soft);display:flex;align-items:center;gap:9px;padding:0 12px 0 10px;font-size:13px;font-weight:600;color:var(--ink2)}
.cch:hover{background:var(--soft2)}
.cch>i{width:24px;height:24px;border-radius:50%;background:var(--c);flex:none;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.cch code{margin-left:auto;font:500 12px "Cascadia Mono",Consolas,monospace;color:var(--muted)}
.cch.on{background:var(--card);box-shadow:0 0 0 2px var(--accent)}
.cm.cpk{width:304px;padding:14px;border-radius:24px}.cm.cpk.show{display:flex;flex-direction:column;gap:12px}
.cpk .cph{display:flex;align-items:baseline;gap:8px;padding:0 2px}.cpk .cph b{font-size:14.5px;font-weight:650}.cpk .cph small{margin-left:auto;font-size:12px;color:var(--faint)}
.cpk .sq{position:relative;height:132px;border-radius:14px;background:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,hsl(var(--h) 100% 50%))}
.cpk .sq b,.cpk .hue b{position:absolute;border-radius:50%;box-shadow:0 0 0 3px #fff,0 1px 6px rgba(0,0,0,.35)}
.cpk .sq b{left:var(--x);top:var(--y);width:18px;height:18px;margin:-9px;background:var(--c)}
.cpk .hue{position:relative;height:12px;margin:0 2px;border-radius:6px;background:linear-gradient(90deg,hsl(0 78% 52%),hsl(28 85% 52%),hsl(52 85% 50%),hsl(95 55% 45%),hsl(160 58% 40%),hsl(192 70% 44%),hsl(220 75% 54%))}
.cpk .hue b{top:50%;left:var(--hp);width:20px;height:20px;margin:-10px;background:hsl(var(--h) 80% 50%)}
.cpk .hx{display:flex;align-items:center;gap:8px}
.cpk .hx>i{width:38px;height:38px;border-radius:13px;background:var(--c);flex:none}
.cpk .hx .inp{width:auto;flex:1;font:500 14px "Cascadia Mono",Consolas,monospace;letter-spacing:.02em}
.cpk .hx .inp small{margin-left:auto;font:600 12px Inter,sans-serif;color:var(--faint);letter-spacing:0}
.cpk .rw2{display:flex;align-items:center;gap:10px}.cpk .rw2>small{width:50px;flex:none;font-size:12px;font-weight:650;color:var(--faint)}
.cpk .sws{gap:8px;padding:0}.cpk .sws button{width:24px;height:24px}.cpk .sws button.on{box-shadow:0 0 0 2px var(--card),0 0 0 4px var(--c)}
.cpk .rd{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:14px;background:var(--soft);font-size:12.5px;line-height:1.4;color:var(--muted);--i:16px}
.cpk .rd>svg{color:var(--s-on);margin-top:1px}.cpk .rd b{display:block;font-weight:650;color:var(--ink);font-size:13px}
.cpk .rd.warn{background:color-mix(in srgb,var(--s-idle) 14%,var(--card))}.cpk .rd.warn>svg{color:var(--s-idle)}
.cpk .rd .btn{margin-top:8px;background:var(--card)}
.cpk:not(.hard) .h-on,.cpk.hard .h-off{display:none!important}
/* (1c) moving profile picture: a GIF inside the round picture; the letter hides, the status dot stays on top */
.av>.st{z-index:1}
.gpw{display:flex;align-items:center;gap:14px}
.gpw .av{--s:60px}
.gpw .tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px;align-items:flex-start}
.gpw .tx .bts{display:flex;gap:6px}.gpw .btn{height:32px;padding:0 13px;font-size:13px}
.gpw .fr{display:flex;gap:4px;align-items:center;font-size:12px;color:var(--muted)}
.gpw .fr img{width:26px;height:26px;border-radius:50%;object-fit:cover;display:block}
.gpw .fr>span:not(.mvl){margin-left:4px}.gpw .tx.g-on{gap:8px}
.plk:not(.gifpic) .gpw .g-on,.plk.gifpic .gpw .g-off{display:none!important}

/* The app's own parts of it: a moving banner is a <video>, the crop stage shows a moving one on a <canvas>, the
   frames are pictures; the trim handles are dragged. */
.cropst>canvas{position:absolute;max-width:none;pointer-events:none;user-select:none}
.rec button video{width:100%;height:100%;object-fit:cover;display:block}
.strip{touch-action:none;user-select:none;cursor:pointer}
.strip .sel{cursor:grab}.strip .sel>b{position:absolute;top:0;bottom:0;width:18px;cursor:ew-resize}
.strip .sel>b:first-child{left:-4px}.strip .sel>b:last-child{right:-4px}
.strip .ph{pointer-events:none}
.bnr .mvl.gifo{pointer-events:none}
/* A moving profile picture moves on cards and, in chat, while its row is pointed at; elsewhere its first frame stands. */
.cpk>.hx{align-self:stretch;width:auto;height:auto;display:flex;background:none;border-radius:0;font:inherit;color:inherit}.cpk .hx .inp{min-width:0}
.cpk .hx .inp input{flex:1;min-width:8ch;border:0;background:none;outline:0;padding:0;font:inherit;color:inherit;letter-spacing:inherit}
.av>img.mov{z-index:0}
.m:not(:hover) .av>img.mov,[data-play=off] .av>img.mov,[data-play=hover] .plook:not(.wr):not(:hover) .av>img.mov{display:none}
@media (prefers-reduced-motion:reduce){.av>img.mov{display:none}}


/* App themes and accent colours (handoff 2026-11-15, final/cove.html "draft 2026-11-15: app themes and accents"),
   copied as written there (its lines 1378-1532). */
/* Light tokens again under [data-theme=light], so a light preview tile can sit inside a dark app. */
[data-theme=light]{--base:#E9E9EE;--sheet:#F6F6F8;--card:#FFFFFF;--soft:#EFEFF3;--soft2:#E2E2E8;--ink:#1B1B1F;--ink2:#35353B;--muted:#5E5E68;--faint:#73737E;--live:var(--accent);--lift:0 3px 10px -2px rgba(20,20,40,.05),0 10px 30px -8px rgba(20,20,40,.10);color-scheme:light}
/* Colour themes (?ctheme=slate|sand|sea|forest|ember|harbour). Each sets the same tokens for light and for dark/black, plus its own accent. */
[data-ctheme=slate]{--base:#E4E8EE;--sheet:#F3F5F8;--card:#FFFFFF;--soft:#EAEEF3;--soft2:#DCE2EA;--ink:#1A1F27;--ink2:#333A45;--muted:#5A6474;--faint:#6F7988;--accent:#4F7CAC}
[data-ctheme=sand]{--base:#ECE6DC;--sheet:#F7F3EC;--card:#FFFDF9;--soft:#F1EBE1;--soft2:#E4DCCE;--ink:#241F18;--ink2:#3D362C;--muted:#675D50;--faint:#7B7164;--accent:#A0773A}
[data-ctheme=sea]{--base:#E0EAEA;--sheet:#F1F6F6;--card:#FFFFFF;--soft:#E7EFEF;--soft2:#D6E3E3;--ink:#172223;--ink2:#2E3C3D;--muted:#536768;--faint:#677B7C;--accent:#2E8585}
[data-ctheme=forest]{--base:#E3E9E2;--sheet:#F3F6F1;--card:#FFFFFF;--soft:#E9EEE7;--soft2:#DAE2D7;--ink:#1A2119;--ink2:#323B30;--muted:#586555;--faint:#6D7A69;--accent:#4C8A5B}
[data-ctheme=ember]{--base:#EDE4E0;--sheet:#F8F2EF;--card:#FFFCFA;--soft:#F2E9E5;--soft2:#E6D9D3;--ink:#251C19;--ink2:#3E322E;--muted:#6A5953;--faint:#7E6C66;--accent:#C0643F}
:is([data-theme=dark],[data-theme=black])[data-ctheme=slate]{--base:#11151B;--sheet:#1A1F26;--card:#232A33;--soft:#2A323C;--soft2:#36404C;--ink:#EEF2F6;--ink2:#D3DAE3;--muted:#A2ADBB;--faint:#8794A3}
:is([data-theme=dark],[data-theme=black])[data-ctheme=sand]{--base:#16130F;--sheet:#1F1B16;--card:#29241E;--soft:#312B24;--soft2:#3D362D;--ink:#F5F1EA;--ink2:#DDD6CB;--muted:#ADA497;--faint:#908779}
:is([data-theme=dark],[data-theme=black])[data-ctheme=sea]{--base:#0F1617;--sheet:#172021;--card:#1F2A2B;--soft:#263233;--soft2:#314041;--ink:#EDF4F4;--ink2:#D0DCDC;--muted:#9DB0B0;--faint:#81979A}
:is([data-theme=dark],[data-theme=black])[data-ctheme=forest]{--base:#111611;--sheet:#192019;--card:#212A21;--soft:#283228;--soft2:#333F33;--ink:#EEF3EC;--ink2:#D2DBCF;--muted:#A1AE9D;--faint:#869482}
:is([data-theme=dark],[data-theme=black])[data-ctheme=ember]{--base:#17110F;--sheet:#201816;--card:#2A201D;--soft:#322724;--soft2:#3F322E;--ink:#F6EFEC;--ink2:#E0D3CE;--muted:#B2A39D;--faint:#95857F}
[data-theme=black][data-ctheme]:not([data-ctheme=cove]){--base:#000}
/* Harbour: the theme made in "Make your own theme". Dark only, so it always comes with data-theme=dark. Its copper accent takes dark text on buttons. */
[data-ctheme=harbour]{--base:#172022;--sheet:#1C2829;--card:#24302F;--soft:#2A3837;--soft2:#354443;--ink:#E6EEEC;--ink2:#CBD6D4;--muted:#9AABA8;--faint:#7F918E;--accent:#C9875A;--on-accent:#172022}
/* Accents (?accent=...). html[...] outranks a colour theme's own accent. A custom colour is set inline by the picker. */
html[data-accent=blue]{--accent:#3478F6}html[data-accent=steel]{--accent:#4F7CAC}html[data-accent=sea]{--accent:#2E8585}html[data-accent=forest]{--accent:#4C8A5B}
html[data-accent=olive]{--accent:#7C8644}html[data-accent=sand]{--accent:#A0773A}html[data-accent=ember]{--accent:#C0643F}html[data-accent=graphite]{--accent:#5A5A63}
html[data-accent]:not([data-accent=custom]){--on-accent:#fff}
/* Tint the sidebar (?stint=on): a soft wash of the accent behind the server rail and channel list. */
html[data-stint=on] body{background:color-mix(in srgb,var(--accent) 16%,var(--base))}
html[data-stint=on] .sv:not(.on):not(.add){background:color-mix(in srgb,var(--accent) 8%,var(--card))}
html:is([data-theme=dark],[data-theme=black])[data-stint=on] body{background:color-mix(in srgb,var(--accent) 11%,var(--base))}
/* Look & feel tabs */
/* Not as drawn: cove-4-ui clips this page (overflow:hidden), which hid the Background tab's lower rows
   (Jesse 2026-11-17 "I cant scroll down"). It scrolls like every other settings page; rows keep their height. */
.pg[data-p=look]{overflow-y:auto}.pg[data-p=look]>*{flex-shrink:0}
.pg[data-p=look]>.tabs{align-self:stretch;flex:none;background:var(--soft2)}.pg[data-p=look]>.tabs button{flex:1}
.pg[data-ltab=theme]>[data-lt]:not([data-lt~=theme]),.pg[data-ltab=accent]>[data-lt]:not([data-lt~=accent]),.pg[data-ltab=layout]>[data-lt]:not([data-lt~=layout]){display:none}
.pg[data-ltab=layout] .pvx{display:none}
.pv .m:has(.pvx) .b{flex:none}
.pvx{display:flex;align-items:center;gap:10px;align-self:flex-end;margin:0 0 2px 18px}.pvx .badge{margin:0}
/* preview tiles: a tiny drawing of the app in real tokens (filled in by script) */
.tts{display:flex;gap:12px}
.tt{flex:1;min-width:0;display:flex;flex-direction:column;gap:9px}
.tt em{font-style:normal;font-size:13px;font-weight:600;color:var(--muted);display:flex;align-items:center;gap:6px;padding-left:4px;--i:14px}
.tt em .ic{display:none;color:var(--accent)}
.tt.on em{color:var(--ink)}.tt.on em .ic{display:block}
.mini{display:grid;grid-template-columns:9px 30% 1fr;gap:6px;height:88px;padding:8px;border-radius:16px;background:var(--base);overflow:hidden;color:var(--ink)}
.tt .mini,.msplit{box-shadow:var(--lift)}
.tt:hover .mini,.tt:hover .msplit{box-shadow:0 0 0 3px var(--card),0 0 0 5px var(--soft2)}
.tt.on .mini,.tt.on .msplit{box-shadow:0 0 0 3px var(--card),0 0 0 5px var(--accent)}
.msplit .mini{box-shadow:none}
.mini i,.mini b,.mini s,.mini u,.mini p{display:block;text-decoration:none}
.mini .mr{display:flex;flex-direction:column;gap:5px}
.mini .mr b{width:9px;height:9px;border-radius:50%;background:var(--sheet)}.mini .mr b:first-child{background:var(--ink)}
.mini .ms{display:flex;flex-direction:column;gap:5px;padding-top:1px}
.mini .ms b{height:6px;border-radius:9px;background:var(--soft2);width:80%}
.mini .ms b.o{height:10px;width:100%;background:var(--card)}
.mini .ms b.n{position:relative;width:100%;background:var(--muted);opacity:.55}
.mini .ms b.n::after{content:"";position:absolute;right:0;top:-1px;width:8px;height:8px;border-radius:50%;background:var(--accent)}
.mini .mm{background:var(--sheet);border-radius:10px;padding:7px;display:flex;flex-direction:column;justify-content:flex-end;gap:6px;min-width:0}
.mini .mm p{display:flex;align-items:center;gap:5px}
.mini .mm p i{width:9px;height:9px;flex:none;border-radius:50%;background:var(--soft2)}
.mini .mm p s{height:4px;flex:1;border-radius:4px;background:var(--muted);opacity:.5}
.mini .mm p s.a{flex:none;width:45%;background:var(--accent);opacity:1}
.mini .mm u{height:11px;border-radius:9px;background:var(--card);position:relative}
.mini .mm u::after{content:"";position:absolute;right:2px;top:2px;width:7px;height:7px;border-radius:50%;background:var(--accent)}
.msplit{position:relative;display:block;border-radius:16px}
.msplit .mini+.mini{position:absolute;inset:0;clip-path:inset(0 0 0 50%)}
.six{gap:10px}.six .mini{height:70px;padding:6px;gap:4px;grid-template-columns:7px 27% 1fr;border-radius:14px}
.six .mini .mr{gap:4px}.six .mini .mr b{width:7px;height:7px}.six .mini .ms{gap:4px}.six .mini .ms b{height:5px}.six .mini .ms b.o{height:8px}
.six .mini .ms b.n::after{width:6px;height:6px;top:-.5px}
.six .mini .mm{padding:5px;gap:4px;border-radius:8px}.six .mini .mm p i{width:7px;height:7px}.six .mini .mm u{height:9px}.six .mini .mm u::after{width:5px;height:5px}
.six .tt.on .mini{box-shadow:0 0 0 3px var(--card),0 0 0 5px var(--accent)}
/* your own themes */
.tyours{display:flex;gap:8px}
.tchip{height:34px;padding:0 14px 0 8px;border-radius:999px;background:var(--soft);display:inline-flex;align-items:center;gap:9px;font-size:13.5px;font-weight:600}
.tchip:hover{background:var(--soft2)}.tchip.on{background:var(--card);box-shadow:0 0 0 2px var(--accent)}
.tdots{display:flex;flex:none}.tdots i{width:20px;height:20px;border-radius:50%;background:var(--a);box-shadow:0 0 0 2px var(--card);margin-left:-6px}
.tdots i:first-child{margin-left:0}.tdots i:nth-child(2){background:var(--b)}.tdots i:nth-child(3){background:var(--c)}
.tdots i{--rg:var(--card);box-shadow:0 0 0 2px var(--rg),inset 0 0 0 1px color-mix(in srgb,var(--ink) 16%,transparent)}.tchip .tdots i{--rg:var(--soft)}.tchip.on .tdots i{--rg:var(--card)}
/* accent swatches with names, plus Custom */
.acs{display:flex;flex-wrap:wrap;gap:6px 4px}
.acs button{width:60px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:4px 0 2px;font-size:12px;font-weight:550;color:var(--muted)}
.acs i{width:34px;height:34px;border-radius:50%;background:var(--c);display:grid;place-items:center}
.acs button:hover i{box-shadow:0 0 0 3px var(--card),0 0 0 5px var(--soft2)}
.acs button.on{color:var(--ink);font-weight:650}.acs button.on i{box-shadow:0 0 0 3px var(--card),0 0 0 5px var(--c)}
.acs .cu i{background:var(--soft);color:var(--muted);--i:16px}
html[data-accent=custom] .acs .cu i{background:var(--accent);color:var(--on-accent)}html[data-accent=custom] .acs .cu.on i{box-shadow:0 0 0 3px var(--card),0 0 0 5px var(--accent)}
/* custom colour picker: shade square, hue bar, hex field, contrast note (?picker=on&hex=...) */
.cm.cpk{width:304px;padding:16px;border-radius:26px;--h:180;--pc:#2E8585;--pon:#fff}
.cph{font-size:15px;font-weight:700;padding:0 2px 12px;letter-spacing:-.01em}
.csv{position:relative;height:150px;border-radius:16px;background:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,hsl(var(--h) 100% 50%));cursor:crosshair;touch-action:none}
.chue{position:relative;height:14px;margin:14px 0;border-radius:999px;background:linear-gradient(to right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);cursor:pointer;touch-action:none}
.csv i,.chue i{position:absolute;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;box-shadow:0 0 0 3px #fff,0 1px 4px 3px rgba(0,0,0,.25);background:var(--pc);pointer-events:none}
.chue i{top:50%;background:hsl(var(--h) 100% 50%)}
.chex{display:flex;align-items:center;gap:10px}.chex .inp{width:auto;flex:1;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.csw{width:38px;height:38px;border-radius:50%;background:var(--pc);flex:none}
.cnote{display:flex;gap:9px;align-items:flex-start;margin-top:10px;padding:10px 12px;border-radius:16px;font-size:12.5px;line-height:1.4;--i:16px;background:color-mix(in srgb,var(--s-idle) 15%,var(--card));color:var(--ink2)}
.cnote .ic{color:var(--s-idle);margin-top:1px}
.cnote.ok{background:var(--soft);color:var(--muted)}.cnote.ok .ic{color:var(--s-on)}
.cprev{display:flex;align-items:center;gap:10px;margin-top:10px;padding:10px 12px;border-radius:16px;background:var(--sheet)}
.cprev .btn.pri{background:var(--pc);color:var(--pon)}.cprev .badge{margin:0;background:var(--pc);color:var(--pon)}
.cprev .at{color:var(--pcx,var(--pc));background:color-mix(in srgb,var(--pc) 15%,transparent);padding:1px 5px;border-radius:6px;font-weight:600;font-size:13.5px}
/* a custom accent too light for white text: links, mentions and the New marker are darkened in light mode */
html[data-alight=on]:not([data-theme=dark]):not([data-theme=black]) :is(.at,.lk,.day.new,.rx .th){color:color-mix(in srgb,var(--accent) 50%,#000)}
.cpk .foot{margin-top:14px}.cpk .foot .btn{height:34px;padding:0 16px}.cpk .foot .btn:not(.pri){background:var(--soft)}
/* Make your own theme (?modal=mytheme): choices on the left, the app as it will look on the right */
#ov-mytheme .dlg{width:min(1120px,100%);height:min(740px,100%)}
.mth{display:flex;align-items:center;gap:14px}
#ov-mytheme .dbody{padding-bottom:20px}
#ov-mytheme .foot{align-items:center}
.mtr .sws{gap:9px}.mtr .sws button{box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--ink) 22%,transparent)}
.mtr .sws button.on{box-shadow:0 0 0 3px var(--card),0 0 0 5px var(--ink)}
.mtr .sws .pic{box-shadow:none}
.hx{width:84px;height:30px;flex:none;border-radius:999px;background:var(--soft);display:grid;place-items:center;font-size:12.5px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}
.mtok{margin-right:auto;display:flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);--i:16px}.mtok .ic{color:var(--s-on)}
.mtok.bad .ic{color:var(--s-idle)}
.mtcode{display:none}.mtcode>.ic{color:var(--s-on)}#ov-mytheme[data-shared=on] .mtcode{display:flex}
.mtcode .inp{width:270px;font-size:12.5px;color:var(--muted);display:block;line-height:38px;text-overflow:ellipsis}
.mtp{width:480px;flex:none;background:var(--base);padding:0 20px 20px;display:flex;flex-direction:column}
.mtph{height:64px;flex:none;display:flex;align-items:center;font-size:13px;color:var(--faint)}.mtph b{font-weight:650}.mtph .x{margin-left:auto}
/* the big preview: its own tokens, the rest worked out from four colours */
.tp{--sheet:color-mix(in srgb,var(--base) 45%,var(--card));--soft:color-mix(in srgb,var(--card) 91%,var(--ink));--soft2:color-mix(in srgb,var(--card) 84%,var(--ink));
  --ink2:color-mix(in srgb,var(--ink) 85%,var(--card));--muted:color-mix(in srgb,var(--ink) 64%,var(--card));--faint:color-mix(in srgb,var(--ink) 52%,var(--card));--acx:var(--accent);
  flex:1;min-height:0;display:grid;grid-template-columns:44px 156px 1fr;gap:8px;padding:10px 0 0 6px;border-radius:22px;background:var(--base);color:var(--ink);font-size:12px;overflow:hidden;box-shadow:var(--lift)}

.tp.tdk{--acx:color-mix(in srgb,var(--accent) 65%,#fff);--lift:none}
.tp .ic{--i:13px;color:var(--faint)}
.tpr{display:flex;flex-direction:column;align-items:center;gap:7px;padding-top:2px}
.tpr b{position:relative;width:34px;height:34px;border-radius:12px;background:var(--sheet);color:var(--muted);display:grid;place-items:center;font-size:11px;font-weight:650}
.tpr b.on{background:var(--ink);color:var(--base)}
.tpr i{position:absolute;right:-4px;top:-4px;min-width:15px;height:15px;border-radius:8px;background:var(--accent);color:var(--on-accent);font:700 9px/15px "Inter";text-align:center;font-style:normal;box-shadow:0 0 0 2px var(--base)}
.tps{display:flex;flex-direction:column;gap:2px;min-width:0}
.tph{height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 10px 0 12px;border-radius:12px;background:var(--card);box-shadow:var(--lift);font-weight:700;font-size:13px;margin-bottom:4px}
.tps small{font-size:10.5px;font-weight:650;color:var(--faint);padding:8px 10px 3px}
.tps>span{display:flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;color:var(--ink2);font-weight:500}
.tps>span.on{background:var(--card);box-shadow:var(--lift);color:var(--ink);font-weight:600}.tps>span.on .ic{color:var(--ink)}
.tps>span.un{color:var(--ink);font-weight:600}
.tps>span i{margin-left:auto;min-width:16px;height:16px;border-radius:8px;background:var(--accent);color:var(--on-accent);font:700 9.5px/16px "Inter";text-align:center;font-style:normal}
.tpv{padding:9px;border-radius:14px;background:var(--card);box-shadow:var(--lift);display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.tpv b{flex:1 0 100%;display:flex;align-items:center;gap:6px;font-weight:600}.tpv .ic{color:var(--ink)}
.tpv .stack .av{--s:20px;font-size:8.5px;margin-left:-5px;box-shadow:0 0 0 2px var(--card)}.tpv .stack .av:first-child{margin-left:0}
.tpv u{margin-left:auto;text-decoration:none;height:22px;padding:0 11px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-weight:650;font-size:11px;display:grid;place-items:center}
.tpme{margin-top:auto;margin-bottom:10px;display:flex;align-items:center;gap:8px;padding:9px;border-radius:16px;background:var(--card);box-shadow:var(--lift)}
.tpme .av{--s:28px;font-size:11px}.tpme b{font-weight:650;font-size:12px;line-height:1.25;min-width:0}.tpme small{display:block;font-weight:500;color:var(--faint);font-size:10.5px}
.tpm{background:var(--sheet);border-radius:18px 0 0 0;display:flex;flex-direction:column;min-width:0;padding:0 12px 12px 14px}
.tpt{height:40px;flex:none;display:flex;align-items:center;gap:6px;font-weight:700;font-size:13px}
.tpf{flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:10px;padding-bottom:12px}
.tmsg{display:flex;gap:9px}.tmsg .av{--s:26px;font-size:10.5px}
.tmsg b{font-weight:650;font-size:12px}.tmsg time{font-weight:400;color:var(--faint);font-size:10.5px;margin-left:3px}
.tmsg p{color:var(--ink);line-height:1.4}
.tmsg em{font-style:normal;font-weight:600;color:var(--acx);background:color-mix(in srgb,var(--accent) 15%,transparent);padding:0 3px;border-radius:5px}
.tnew{align-self:center;padding:2px 10px;border-radius:999px;font-size:10.5px;font-weight:650;color:var(--acx);background:color-mix(in srgb,var(--accent) 15%,transparent)}
.tpc{height:36px;flex:none;display:flex;align-items:center;padding:0 5px 0 14px;border-radius:999px;background:var(--card);box-shadow:var(--lift);color:var(--faint)}
.tpc i{margin-left:auto;width:26px;height:26px;border-radius:50%;background:var(--accent);display:grid;place-items:center}.tpc i .ic{color:var(--on-accent);--i:13px}
/* Import a theme (?modal=import, &code=on fills it in) */
#imcode .cd,#ov-import .imv{display:none}
#ov-import[data-code=on] #imcode .cd{display:block;overflow:hidden;text-overflow:ellipsis;font-size:14px}#ov-import[data-code=on] #imcode .ph{display:none}#ov-import[data-code=on] .imv{display:flex}
#imcode .ph{color:var(--faint)}
#ov-import:not([data-code=on]) #imadd{background:var(--soft);color:var(--faint);pointer-events:none}
.imv .mini{width:118px;height:70px;padding:6px;gap:4px;grid-template-columns:7px 27% 1fr;border-radius:14px;flex:none}
.imv .mini .mr b{width:7px;height:7px}.imv .mini .ms b{height:5px}.imv .mini .ms b.o{height:8px}.imv .mini .mm{padding:5px;gap:4px}.imv .mini .mm p i{width:7px;height:7px}.imv .mini .mm u{height:9px}
.imv{padding:10px 18px 10px 10px}
.imh{font-size:12.5px;color:var(--faint);padding:4px 8px 0}
/* Icon tabs, Background and Saved looks: taken from cove-4-ui/final/cove.html ("draft 2026-11-16"), pictures 218 to
   227, as written there. Left out: the mockup's phone frame (html[data-ph], see phone.css) and its fixed Waves sample
   in the preview (.pg[data-ltab=bg] .pv): the app's preview shows the background that is chosen. */
.seg.tabs.it{border-radius:18px;padding:4px}
.seg.tabs.it button{height:auto;min-height:50px;padding:7px 6px 6px;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px;position:relative}
.seg.tabs.it button .ic{--i:19px}
.seg.tabs.it button:not(.on):hover{background:color-mix(in srgb,var(--card) 60%,transparent);color:var(--ink)}
.seg.tabs.it i.new{position:absolute;top:4px;right:6px;font-style:normal;font-size:9.5px;font-weight:700;letter-spacing:.02em;padding:1px 5px;border-radius:999px;background:var(--accent);color:#fff}
.seg.tabs.it button.on i.new{display:none}
/* icon tabs: motion (approved 2026-11-16) */
.seg.tabs.it{isolation:isolate}
.seg.tabs.it button{transition:background-color .18s var(--ease),color .2s var(--ease)}
.seg.tabs.it button.on{background:transparent}
.seg.tabs.it button.on::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:var(--ink);animation:tb-slide .3s var(--ease)}
@keyframes tb-slide{from{left:var(--tb-l,0px);right:var(--tb-r,0px)}to{left:0;right:0}}
.seg.tabs.it button .ic{transform-origin:50% 60%}
.seg.tabs.it button:not(.on):hover .ic,.seg.tabs.it button.on .ic{animation:var(--tb-a,tb-hop) .55s var(--ease)}
.seg.tabs.it button[data-v=theme]{--tb-a:tb-swing}
.seg.tabs.it button[data-v=accent]{--tb-a:tb-drip}
.seg.tabs.it button[data-v=bg]{--tb-a:tb-wave}
.seg.tabs.it button[data-v=layout]{--tb-a:tb-pop}
.seg.tabs.it button[data-v=card]{--tb-a:tb-flip}
.seg.tabs.it button[data-v=picture]{--tb-a:tb-nod}
.seg.tabs.it button[data-v=name]{--tb-a:tb-stretch}
.seg.tabs.it button[data-v=more]{--tb-a:tb-twinkle}
.seg.tabs.it button[data-v=saved]{--tb-a:tb-drop}
@keyframes tb-hop{40%{transform:translateY(-3px)}}
@keyframes tb-swing{30%{transform:rotate(-16deg)}65%{transform:rotate(8deg)}}
@keyframes tb-drip{35%{transform:translateY(2px) scale(1.08,.88)}70%{transform:translateY(-2px) scale(.94,1.06)}}
@keyframes tb-wave{25%{transform:translateX(-2px) skewX(-8deg)}60%{transform:translateX(2px) skewX(6deg)}}
@keyframes tb-pop{40%{transform:scale(1.2)}70%{transform:scale(.95)}}
@keyframes tb-flip{50%{transform:perspective(60px) rotateY(180deg)}100%{transform:perspective(60px) rotateY(360deg)}}
@keyframes tb-nod{30%{transform:translateY(-2px) rotate(-6deg)}60%{transform:translateY(1px) rotate(4deg)}}
@keyframes tb-stretch{35%{transform:scaleX(1.25)}70%{transform:scaleX(.92)}}
@keyframes tb-twinkle{45%{transform:rotate(72deg) scale(1.22)}100%{transform:rotate(144deg)}}
@keyframes tb-drop{0%{transform:translateY(-5px);opacity:.3}55%{transform:translateY(1px);opacity:1}80%{transform:translateY(-1px)}}
.seg.tabs.it i.new{animation:tb-new 2.4s var(--ease) .4s 2}
@keyframes tb-new{0%,60%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 45%,transparent)}30%{box-shadow:0 0 0 5px transparent}}
@media (prefers-reduced-motion:reduce){.seg.tabs.it button,.seg.tabs.it button *,.seg.tabs.it button::before{animation:none!important;transition:none!important}}
/* the same sliding pill on Choose your look's tab bar and its All / New pills (Jesse 2026-11-17: "Animate these
   tabs"; motion from the icon tabs above, which the design animates; these tabs have no icons) */
.lpk-bar .seg{isolation:isolate}
.lpk-bar .seg button{position:relative;transition:background-color .18s var(--ease),color .2s var(--ease)}
.lpk-bar .seg button.on{background:transparent}
.lpk-bar .seg button.on::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:var(--ink);animation:tb-slide .3s var(--ease)}
@media (prefers-reduced-motion:reduce){.lpk-bar .seg button,.lpk-bar .seg button::before{animation:none!important;transition:none!important}}
/* Choose your look's seven tabs share the full row, so none is cut off (Cove 4 UI 2026-12-04, #lpkcats: they were
   697px in a 658px row, with Holidays out of reach); if the window is too narrow even for that, they wrap onto a
   second row (19px is the one-row pill radius). On a phone the tabs scroll sideways (phone.css).
   Stand-in, not drawn: the tiles scroll without Windows' own scroll bar, as every other list in Cove does. */
@media(min-width:601px){.lpk-bar>.seg:first-child{flex:1 1 100%;min-width:0;flex-wrap:wrap;border-radius:19px}
  .lpk-bar>.seg:first-child button{flex:1 0 auto;padding:0 8px;text-align:center}}
.lpk-grid{scrollbar-width:none}
/* The window stands in the middle of the screen, as Cove 4 UI draws it. Without a row of the screen's own height
   it was centred in a row as tall as all its tiles (1942 for the 57 frames): 430 too low, its foot with Cancel and
   "Use this" off the screen in a window under about 1380 high (seen 2026-12-02). */
@media(min-width:601px){#ov-lookpick{grid-template-rows:minmax(0,1fr)}}
.pg[data-ltab=bg]>[data-lt]:not([data-lt~=bg]){display:none}
.pg[data-ltab]:not([data-ltab=bg])>[data-lt=bg]{display:none}
.plk[data-tab=saved] .plc>.sr:not([data-t=saved]){display:none}
.plk:not([data-tab=saved]) .plc>.sr[data-t=saved]{display:none}
.bgt{height:88px;border-radius:16px;background-color:var(--base);box-shadow:var(--lift);display:grid;place-items:center;color:var(--muted);--pc:color-mix(in srgb,var(--ink) 10%,transparent)}
.bgt[data-bg=dots]{background-image:radial-gradient(var(--pc) 1.4px,transparent 1.6px);background-size:12px 12px}
.bgt[data-bg=waves]{background-image:radial-gradient(circle at 50% 120%,transparent 9px,var(--pc) 9.5px,var(--pc) 10.8px,transparent 11.3px);background-size:22px 14px}
.bgt[data-bg=grid]{background-image:linear-gradient(var(--pc) 1px,transparent 1px),linear-gradient(90deg,var(--pc) 1px,transparent 1px);background-size:16px 16px}
.bgt[data-bg=glow]{background-image:radial-gradient(120% 80% at 0 0,color-mix(in srgb,var(--accent) 24%,transparent),transparent 60%),radial-gradient(90% 70% at 100% 100%,color-mix(in srgb,var(--accent) 16%,transparent),transparent 60%)}
/* dotted edge so a tile reads as a tile on the same tone (2026-12-04); the picked one keeps only its accent ring */
.bgt{outline:2px dotted color-mix(in srgb,var(--ink) 34%,transparent);outline-offset:-2px}
.bgs .tt.on .bgt{box-shadow:0 0 0 2px var(--accent);outline-color:transparent}
.bgs .tt em .ic{display:none}.bgs .tt.on em .ic{display:inline-block}
.slks{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;width:100%}
.slk{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:0 6px 10px;border-radius:16px;background:var(--base);overflow:hidden;text-align:center}
.slk .sb{align-self:stretch;height:34px;margin:0 -6px;background:var(--bc)}
.slk .sb[data-fx=stars]{background-image:radial-gradient(#fff 1px,transparent 1.4px),radial-gradient(#fff .8px,transparent 1.2px);background-size:23px 17px,13px 11px;background-position:3px 4px,9px 2px}
.slk .av{--s:38px;margin-top:-19px;box-shadow:0 0 0 3px var(--base)}
.slk b{font-size:12.5px;font-weight:650;margin-top:4px}
.slk em{font-style:normal;font-size:11.5px;color:var(--muted);display:flex;align-items:center;gap:3px}.slk em .ic{--i:13px;color:var(--accent)}
.slk.on{box-shadow:0 0 0 2px var(--accent)}
.slk.add{justify-content:center;background:none;border:1.5px dashed var(--soft2);color:var(--muted);padding-top:10px}.slk.add>.ic{--i:20px}
/* the soft shadows of the new tabs' cards, as for the other tabs */
.plk[data-tab=saved] .plc>.sr[data-t=saved]:has(~ .sr[data-t=saved]),.pg[data-ltab=bg]>.sr[data-lt~=bg]:has(+ .sr[data-lt~=bg]){--cb:60px}
.plk[data-tab=saved] .plc>.sr[data-t=saved] ~ .sr[data-t=saved],.pg[data-ltab=bg]>.sr[data-lt~=bg] + .sr[data-lt~=bg]{--ct:60px}
/* Not drawn in Cove 4 UI (plain stand-ins): the "Your picture" tile once a picture is chosen, naming and renaming a
   saved look (a field in its tile), and the "Choose servers" window. */
.bgt .bgpic{width:100%;height:100%;border-radius:inherit;background-size:cover;background-position:center}
.bgt:has(.bgpic){overflow:hidden}
.slkname{width:100%;min-width:0;height:26px;margin-top:4px;border:0;outline:0;border-radius:999px;background:var(--card);box-shadow:0 0 0 2px var(--accent);color:var(--ink);font:inherit;font-size:12.5px;font-weight:600;text-align:center;padding:0 8px}
.slk.add.naming{gap:4px;padding:10px 8px}
#ov-slooks .slrows{max-height:420px;overflow-y:auto;scrollbar-width:none}
#ov-slooks .slrows .sr{background:var(--base)}
#ov-settings .sr .dd.lkp{flex:none;width:170px}
/* The chat background under the whole chat window (Look & feel, Background; or a server's own): the top bar,
   messages, message box and side panel sit on it: the tiles' patterns,
   in the theme's ink at Faint, Soft or Clear. Not drawn in the chat itself: the design draws the pattern on the
   preview only. A picture lies under a wash of the page colour so messages stay easy to read. */
.right[data-cbg],.pv[data-cbg]{--cbk:8%;--cbm:1;--cbv:80%;--pc:color-mix(in srgb,var(--ink) var(--cbk),transparent)}
[data-cbs=faint]{--cbk:5%;--cbm:.6;--cbv:90%}
[data-cbs=clear]{--cbk:13%;--cbm:1.5;--cbv:62%}
.right[data-cbg=dots],.pv[data-cbg=dots]{background-image:radial-gradient(var(--pc) 1.4px,transparent 1.6px);background-size:12px 12px}
.right[data-cbg=waves],.pv[data-cbg=waves]{background-image:radial-gradient(circle at 50% 120%,transparent 9px,var(--pc) 9.5px,var(--pc) 10.8px,transparent 11.3px);background-size:22px 14px}
.right[data-cbg=grid],.pv[data-cbg=grid]{background-image:linear-gradient(var(--pc) 1px,transparent 1px),linear-gradient(90deg,var(--pc) 1px,transparent 1px);background-size:16px 16px}
.right[data-cbg=glow],.pv[data-cbg=glow]{background-image:radial-gradient(120% 80% at 0 0,color-mix(in srgb,var(--accent) calc(24% * var(--cbm)),transparent),transparent 60%),radial-gradient(90% 70% at 100% 100%,color-mix(in srgb,var(--accent) calc(16% * var(--cbm)),transparent),transparent 60%)}
.right[data-cbg=pic]{background-image:linear-gradient(color-mix(in srgb,var(--sheet) var(--cbv),transparent),color-mix(in srgb,var(--sheet) var(--cbv),transparent)),var(--cbp);background-size:cover;background-position:center}
.pv[data-cbg=pic]{background-image:linear-gradient(color-mix(in srgb,var(--base) var(--cbv),transparent),color-mix(in srgb,var(--base) var(--cbv),transparent)),var(--cbp);background-size:cover;background-position:center}

/* Moving chat backgrounds: taken from cove-4-ui/final/cove.html ("draft 2026-11-17: moving chat backgrounds",
   pictures 271 to 280), the ten patterns as written there. Any element with class .cbg and data-bg draws one: the
   tiles (.bgt.cbg) and, in the app, a layer of its own (.cbl) under the chat window and in the Look & feel preview,
   so the movement repaints that layer only and not the messages over it. --pc is the pattern ink (the tiles' 10%, or
   Faint / Soft / Clear from .right[data-cbg] and .pv[data-cbg]), --ms the speed (1 = Slow, .6 = Normal). */
.bgt.cbg{position:relative;isolation:isolate}
.cbl{position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;contain:strict;will-change:transform}
.right:has(>.cbl),.pv:has(>.cbl){position:relative;isolation:isolate}
.cbg::before,.cbg::after{position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1}
/* Drift: two layers of dots sliding slowly on a slant */
.cbg[data-bg=drift]{background-image:radial-gradient(var(--pc) 1.4px,transparent 1.7px),radial-gradient(var(--pc) 1px,transparent 1.3px);background-size:18px 18px,26px 26px;background-position:0 0,9px 13px;animation:cb-drift calc(36s*var(--ms,1)) linear infinite}
@keyframes cb-drift{to{background-position:36px 18px,-17px 39px}}
/* Tide: the Waves pattern rolling sideways, a larger swell under it going the other way */
.cbg[data-bg=tide]{background-image:radial-gradient(circle at 50% 120%,transparent 9px,var(--pc) 9.5px,var(--pc) 10.8px,transparent 11.3px);background-size:22px 14px;animation:cb-tide calc(9s*var(--ms,1)) linear infinite}
.cbg[data-bg=tide]::before{content:"";opacity:.6;background-image:radial-gradient(circle at 50% 120%,transparent 14px,var(--pc) 14.5px,var(--pc) 16px,transparent 16.5px);background-size:34px 22px;background-position:0 7px;animation:cb-tide2 calc(9s*var(--ms,1)) linear infinite}
@keyframes cb-tide{to{background-position:44px 0}}
@keyframes cb-tide2{to{background-position:-34px 7px}}
/* Rain: thin drops falling, two speeds (drops and stars are small, so they take a little more ink: --pk) */
.cbg[data-bg=rain]{--pk:color-mix(in srgb,var(--pc),var(--ink) 9%)}.cbg[data-bg=stars]{--pk:color-mix(in srgb,var(--pc),var(--ink) 14%)}
.cbg[data-bg=rain]{background-image:radial-gradient(1px 7px at 50% 50%,var(--pk) 80%,transparent),radial-gradient(.8px 4.5px at 50% 50%,var(--pk) 80%,transparent);background-size:23px 41px,17px 29px;background-position:0 0,8px 11px;animation:cb-rain calc(3.6s*var(--ms,1)) linear infinite}
@keyframes cb-rain{to{background-position:0 164px,8px 127px}}
/* Snow: flakes falling and drifting to the side */
.cbg[data-bg=snow]{background-image:radial-gradient(var(--pc) 1.9px,transparent 2.3px),radial-gradient(var(--pc) 1.2px,transparent 1.5px);background-size:44px 44px,27px 27px;background-position:5px 7px,18px 3px;animation:cb-snow calc(20s*var(--ms,1)) linear infinite}
@keyframes cb-snow{to{background-position:49px 183px,-9px 111px}}
/* Stars: two fields of stars fading in and out in turn */
.cbg[data-bg=stars]::before,.cbg[data-bg=stars]::after{content:"";background-image:radial-gradient(var(--pk) 1.3px,transparent 1.7px);background-size:37px 31px;background-position:4px 9px;animation:cb-tw calc(3.4s*var(--ms,1)) ease-in-out infinite alternate}
.cbg[data-bg=stars]::after{background-image:radial-gradient(var(--pk) 1.9px,transparent 2.3px),radial-gradient(var(--pk) .9px,transparent 1.2px);background-size:53px 47px,23px 19px;background-position:21px 30px,11px 2px;animation-delay:calc(-1.7s*var(--ms,1))}
@keyframes cb-tw{from{opacity:.15}to{opacity:1}}
/* Fireflies: small accent lights floating up and glowing */
.cbg[data-bg=fireflies]{--ff:radial-gradient(circle,color-mix(in srgb,var(--accent) 60%,transparent) 0 1.4px,color-mix(in srgb,var(--accent) 18%,transparent) 2.6px,transparent 6px)}
.cbg[data-bg=fireflies]::before,.cbg[data-bg=fireflies]::after{content:"";background-image:var(--ff),var(--ff);background-size:67px 59px,41px 73px;background-position:0 0,20px 30px;animation:cb-ff1 calc(11s*var(--ms,1)) linear infinite}
.cbg[data-bg=fireflies]::after{background-image:var(--ff);background-size:97px 83px;background-position:30px 40px;animation-name:cb-ff2;animation-duration:calc(15s*var(--ms,1))}
@keyframes cb-ff1{0%{background-position:0 0,20px 30px;opacity:.35}25%{opacity:1}50%{opacity:.45}75%{opacity:.95}100%{background-position:67px -118px,-21px -116px;opacity:.35}}
@keyframes cb-ff2{0%{background-position:30px 40px;opacity:.9}30%{opacity:.3}60%{opacity:1}100%{background-position:-67px -43px;opacity:.9}}
/* Aurora: soft accent and sea-green light shifting slowly, with a faint band sweeping across */
.cbg[data-bg=aurora]{background-image:radial-gradient(60% 45% at 30% 30%,color-mix(in srgb,var(--accent) 22%,transparent),transparent 70%),radial-gradient(55% 40% at 70% 65%,color-mix(in srgb,#2E9C86 20%,transparent),transparent 70%);background-size:200% 200%,200% 200%;animation:cb-aur calc(22s*var(--ms,1)) ease-in-out infinite alternate}
.cbg[data-bg=aurora]::before{content:"";background-image:linear-gradient(115deg,transparent 35%,color-mix(in srgb,var(--accent) 12%,transparent) 48%,color-mix(in srgb,#2E9C86 10%,transparent) 54%,transparent 66%);background-size:300% 100%;animation:cb-band calc(16s*var(--ms,1)) ease-in-out infinite alternate}
@keyframes cb-aur{from{background-position:0 0,100% 100%}to{background-position:100% 60%,0 30%}}
@keyframes cb-band{from{background-position:100% 0}to{background-position:0 0}}
/* Bubbles: rings rising */
.cbg[data-bg=bubbles]{background-image:radial-gradient(circle,transparent 3.6px,var(--pc) 4px 5.2px,transparent 5.6px),radial-gradient(circle,transparent 1.8px,var(--pc) 2.2px 3.1px,transparent 3.5px),radial-gradient(circle,transparent 2.6px,var(--pc) 3px 4px,transparent 4.4px);background-size:61px 67px,31px 37px,47px 53px;background-position:9px 0,20px 15px,33px 40px;animation:cb-bub calc(16s*var(--ms,1)) linear infinite}
@keyframes cb-bub{to{background-position:9px -268px,20px -133px,33px -172px}}
/* Clouds: soft accent-tinted clouds passing slowly */
.cbg[data-bg=clouds]{--cl:color-mix(in srgb,var(--accent) 11%,transparent);background-image:radial-gradient(40px 14px at 50% 50%,var(--cl) 35%,transparent),radial-gradient(60px 20px at 50% 50%,var(--cl) 30%,transparent),radial-gradient(26px 10px at 50% 50%,var(--cl) 35%,transparent);background-size:170px 70px,240px 110px,120px 90px;background-position:0 10px,60px 40px,30px 64px;animation:cb-cl calc(60s*var(--ms,1)) linear infinite}
@keyframes cb-cl{to{background-position:340px 10px,300px 40px,510px 64px}}
/* Circuit: the Grid with small accent lights running along its lines */
.cbg[data-bg=circuit]{--cd:color-mix(in srgb,var(--accent) 55%,transparent);background-image:radial-gradient(circle at 3px 3px,var(--cd) 1.8px,transparent 2.4px),radial-gradient(circle at 3px 3px,var(--cd) 1.6px,transparent 2.2px),linear-gradient(var(--pc) 1px,transparent 1px),linear-gradient(90deg,var(--pc) 1px,transparent 1px);background-size:64px 48px,48px 80px,16px 16px,16px 16px;background-position:-2.5px -2.5px,13.5px -2.5px,0 0,0 0;animation:cb-cir calc(8s*var(--ms,1)) linear infinite}
@keyframes cb-cir{to{background-position:125.5px -2.5px,13.5px 157.5px,0 0,0 0}}
/* Play the movement: Always, While Cove is in front (paused while the window is not in use: data-away=on on html),
   Never. A tile always plays while it is pointed at. Nothing moves with system "less motion" on. */
html[data-cbmove=never] .cbg,html[data-cbmove=front][data-away=on] .cbg{--cvp:paused}
html .bgt.cbg:hover{--cvp:running}
html[data-cbspeed=normal]{--ms:.6}
@media (prefers-reduced-motion:reduce){.cbg,.cbg::before,.cbg::after{animation:none!important}}
/* layout: still and moving tiles; the moving row is five across */
.tts.five{display:grid;grid-template-columns:repeat(5,1fr);gap:12px 12px}
.bgs.mv .bgt{height:72px}
/* server settings > Overview: Server background (still and moving, one choice) */
.svbg .sbh{font-size:12px;font-weight:600;color:var(--muted);margin:2px 0 -4px}

/* The app keeps the Layout & text rows in one box of no size of its own (the tab rule above still hides it). */
.ltrows{display:contents}
.mtcode .inp{white-space:nowrap}

/* Server emoji everywhere (handoff 2026-11-15, final/cove.html "(2) custom emoji", its lines 1346-1373), copied as
   written; the design's drawn `.ce` is the app's picture `.cem` here. */
.cm.emo2{width:432px;height:530px;padding:0;overflow:hidden}.cm.emo2.show{display:flex}
.erl{width:56px;flex:none;display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 0;background:var(--sheet)}
.erl>button{width:40px;height:40px;border-radius:14px;display:grid;place-items:center;color:var(--muted);--i:18px}
.erl>button:hover{background:var(--soft)}.erl>button.on{background:var(--card);color:var(--ink);box-shadow:var(--lift)}
.erl .gp{height:6px;flex:none}
.erl .sv,.emo2 .sec .sv,.ecd .sv{width:28px;height:28px;border-radius:10px;font-size:10px;background:var(--soft2);color:var(--ink2);flex:none}
.erl>button.on .sv{background:var(--ink);color:var(--card)}
.ebd{flex:1;min-width:0;display:flex;flex-direction:column;padding:12px 12px 10px}
.ebd>.inp{width:100%;flex:none}
.esc{flex:1;min-height:0;overflow:hidden;margin:0 -2px;padding:0 2px}
.emo2 .sec{display:flex;align-items:center;gap:8px;padding:12px 4px 4px}
.emo2 .sec .sv{width:18px;height:18px;border-radius:6px;font-size:7px}
.emo2 .sec .r{margin-left:auto;display:flex;align-items:center;gap:5px;font-weight:550;--i:12px}
.emo2 .eg button.hov{background:var(--soft)}
.emo2 .eg.off button{opacity:.38;filter:grayscale(.6);cursor:default}
.ept{flex:none;display:flex;align-items:center;gap:11px;margin-top:8px;padding:8px 12px;border-radius:16px;background:var(--soft)}
.ept .cem{width:34px;height:34px;margin:0}.ept b{display:block;font-size:13.5px;font-weight:650}.ept small{display:block;color:var(--muted);font-size:12px}
/* hover card on a custom emoji in a message */
.cm.ecd{width:296px;padding:14px;border-radius:22px}
.ecd .eh{display:flex;align-items:center;gap:13px}
.ecd .eh .cem{width:48px;height:48px;margin:0}
.ecd .eh b{display:block;font-size:15px;font-weight:700;letter-spacing:-.01em}.ecd .eh small{display:block;color:var(--muted);font-size:12.5px}
.ecd .es{display:flex;align-items:center;gap:11px;margin-top:12px;padding:10px 12px;border-radius:16px;background:var(--soft)}
.ecd .es .sv{width:36px;height:36px;border-radius:12px;font-size:12px;background:var(--card)}
.ecd .es b{display:block;font-weight:650;font-size:13.5px}.ecd .es small{display:block;color:var(--muted);font-size:12px}
.ecd .btn{width:100%;justify-content:center;margin-top:10px;height:36px}
.ecd .in{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:10px;height:36px;border-radius:999px;color:var(--muted);font-size:13px;font-weight:600;--i:16px}
.ecd .in svg{color:var(--s-on)}
/* What the app adds to the drawn parts: the list scrolls; the server squares hold their icon; a standard emoji in the
   line at the bottom; the Super row above the list; a moving emoji shows its first picture until pointed at (the
   design: "Moving custom emoji move only when pointed at"). */
.emo2 .esc.emo-list{max-height:none;margin-top:4px;overflow-y:auto;position:relative}
.emo2 .erow,.emo2 .suph{flex:none}
.sv>img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.ept .u{font:30px/1 "Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif}
.cmv>img.go{display:none}
.cmv.gone>img{display:none!important}.cmv.gone::after{content:attr(data-name)}
.cmv:hover>.go,button:hover .cmv>.go,.sr:hover .cmv>.go,.ept .cmv>.go,.ecd .eh .cmv>.go{display:inline-block}
.cmv:hover>.st,button:hover .cmv>.st,.sr:hover .cmv>.st,.ept .cmv>.st,.ecd .eh .cmv>.st{display:none}
.gt.em .cem{width:30px;height:30px;margin:0;vertical-align:top}
.mt .cmv:hover .cem{background:var(--soft2);box-shadow:0 0 0 3px var(--soft2);border-radius:6px}
/* Stacked cards (Jesse 2026-11-16: "shadows combining with elements"). The shadow is still the design's --lift, but it is drawn on a layer under
   every card, so it never lands on a neighbour, and it fades out softly where it would fill the gap between two cards of one list (a soft mask, not a straight cut: Jesse 2026-11-16, "square and jagged"): those gaps keep the page
   colour instead of a grey band that joins the cards. The outer edges of a list keep the full shadow. */
.room,.sr,.pick button,.pick3 button,.nb,.pt{position:relative}
.room,.sr,.nb,.pt{--ct:0px;--cb:0px}
.room::before,.sr::before,.pick button::before,.pick3 button::before,.nb::before,.pt::before{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:var(--sh,none);z-index:-1;pointer-events:none;--fm:linear-gradient(to bottom,transparent calc(var(--ct,0px) - 10px),#000 calc(var(--ct,0px) + 4px),#000 calc(100% - var(--cb,0px) - 4px),transparent calc(100% - var(--cb,0px) + 10px));-webkit-mask:var(--fm) -60px -60px/calc(100% + 120px) calc(100% + 120px) no-repeat;mask:var(--fm) -60px -60px/calc(100% + 120px) calc(100% + 120px) no-repeat;-webkit-mask-clip:no-clip;mask-clip:no-clip}
/* The boxes that hold such cards, by name (2026-11-22). ":has(>.sr)" with nothing before it had the page ask
   of every element on it whether it holds a card, again after each change: it was the largest single cost of
   opening a chat on a phone. Named holders with ":has(>.sr)" still cost nearly as much, so these boxes are
   isolated whether they hold a card or not (perf-check.mjs, 4x slowed 360px, median of 3: 2.9 s of 9 switches
   blocked before, 2.05 s after). The list is every holder ui-check.mjs meets; a new holder belongs here too. */
.pick,.pick3,.list,.panel,.grp,.card,.col8,.cvset,.ltrows,.pg,.pgc,.plc,.sbl,.sess,.sign,.dnav,form{isolation:isolate}
.room:has(+ :is(.room,.sr,.nb,.pt):not(.hide)),.sr:has(+ :is(.room,.sr,.nb,.pt):not(.hide)),.nb:has(+ :is(.room,.sr,.nb,.pt):not(.hide)),.pt:has(+ :is(.room,.sr,.nb,.pt):not(.hide)){--cb:60px}
:is(.room,.sr,.nb,.pt):not(.hide) + :is(.room,.sr,.nb,.pt){--ct:60px}
/* lists whose tabs hide some of their cards: only the cards of the open tab are neighbours */
.plk .plc>.sr,.pg[data-ltab]>.sr[data-lt]{--ct:0px;--cb:0px}
.plk[data-tab=card] .plc>.sr[data-t=card]:has(~ .sr[data-t=card]),.plk[data-tab=picture] .plc>.sr[data-t=picture]:has(~ .sr[data-t=picture]),.plk[data-tab=name] .plc>.sr[data-t=name]:has(~ .sr[data-t=name]),.plk[data-tab=more] .plc>.sr[data-t=more]:has(~ .sr[data-t=more]),
.pg[data-ltab=theme]>.sr[data-lt~=theme]:has(+ .sr[data-lt~=theme]),.pg[data-ltab=accent]>.sr[data-lt~=accent]:has(+ .sr[data-lt~=accent]),.pg[data-ltab=layout]>.sr[data-lt~=layout]:has(+ .sr[data-lt~=layout]){--cb:60px}
.plk[data-tab=card] .plc>.sr[data-t=card] ~ .sr[data-t=card],.plk[data-tab=picture] .plc>.sr[data-t=picture] ~ .sr[data-t=picture],.plk[data-tab=name] .plc>.sr[data-t=name] ~ .sr[data-t=name],.plk[data-tab=more] .plc>.sr[data-t=more] ~ .sr[data-t=more],
.pg[data-ltab=theme]>.sr[data-lt~=theme] + .sr[data-lt~=theme],.pg[data-ltab=accent]>.sr[data-lt~=accent] + .sr[data-lt~=accent],.pg[data-ltab=layout]>.sr[data-lt~=layout] + .sr[data-lt~=layout]{--ct:60px}
/* Voice messages: taken from cove-4-ui/final/cove.html ("draft 2026-11-15: chat features"), pictures 163 to 167.
   The design's switches for its demo pages ([data-rec], [data-vm], .only-vm, the typing line's spans) are left out:
   the app shows each part only while it is in use. */
/* voice message player: a flat row like a file card, never a bubble */
.vm{display:flex;align-items:center;gap:12px;margin:6px 0 2px;width:min(440px,100%);height:56px;padding:0 10px 0 8px;border-radius:28px;background:var(--card);box-shadow:var(--lift)}
.vm .pb{width:40px;height:40px;border-radius:50%;background:var(--accent);color:var(--on-accent);display:grid;place-items:center;flex:none;--i:16px}
.vm .pb .ic{fill:currentColor;stroke:none;margin-left:2px}
.vm.playing .pb .ic{fill:none;stroke:currentColor;margin:0}
.wf{flex:1;min-width:0;height:30px;display:flex;align-items:center;justify-content:space-between;gap:2px;overflow:hidden}
.wf i{width:3px;flex:none;border-radius:2px;background:color-mix(in srgb,var(--faint) 45%,transparent)}
.wf i.on{background:var(--accent)}
.vm time{flex:none;min-width:36px;font-size:12.5px;font-weight:550;color:var(--muted);font-variant-numeric:tabular-nums}
.vm.playing time{color:var(--ink)}.vm time small{font-size:12.5px;color:var(--faint);font-weight:500}
.spd{flex:none;height:26px;min-width:38px;padding:0 9px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:12px;font-weight:650;text-align:center}
.vm.playing .spd{background:color-mix(in srgb,var(--accent) 16%,var(--card));color:var(--ink)}
.vm .new{width:8px;height:8px;border-radius:50%;background:var(--accent);flex:none;margin-left:-4px}
.vm.playing .new{display:none}
/* a short clip has a shorter row: the design's 0:07 is 22 bars in 118px */
.vm.short{width:auto}.vm.short .wf{flex:none;width:calc(var(--bars) * 5.36px)}
.vm .wf{cursor:pointer}
/* recording: the message box turns into a recording bar. Click the mic to start, Send to send, the bin to throw it away. */
.comp.rcp{display:flex;gap:10px;padding:0 8px 0 6px;align-items:center}
.rdot{width:10px;height:10px;border-radius:50%;background:var(--bad);flex:none;margin-left:4px;animation:lk-rec 1.4s ease-in-out infinite}
@keyframes lk-rec{50%{opacity:.35}}
.rcp time{flex:none;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink);min-width:38px}
.rcp .wf{height:28px}
.rcp .wf i{background:var(--accent)}
.rcp .wf i.q{background:color-mix(in srgb,var(--faint) 35%,transparent)}
.rcp .ib.del{color:var(--bad)}
.rcp .lim{flex:none;font-size:12.5px;color:var(--faint);white-space:nowrap}
.rch b{color:var(--bad);font-weight:650}
.send.mic{touch-action:none;user-select:none;-webkit-user-select:none}

/* Events (handoff 2026-11-15, final/cove.html "draft 2026-11-15: events and super reactions"), pictures 176 to 185, as
   written there; the switches by address (?evlive, ?evhost, ?ev=list, ?evwhere) are the app's own state instead. */
.ch .lv,.pill.lvp{margin-left:auto;font-size:12px;font-weight:650;color:var(--live);display:flex;align-items:center;gap:6px}
.ch .lv::before,.pill.lvp::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--live)}
.pill.lvp{margin-left:0;background:color-mix(in srgb,var(--live) 14%,var(--card))}
.room-ev{display:flex;align-items:center;gap:8px;margin-top:10px;padding:7px 12px;border-radius:14px;background:color-mix(in srgb,var(--live) 12%,var(--card));font-size:12.5px;color:var(--muted);--i:15px}
.room-ev .ic{color:var(--live)}.room-ev b{color:var(--ink);font-weight:600;margin-right:-4px}
/* the events page sits in place of the chat */
.evm .list{padding-top:4px}.evm .sec{padding:12px 4px 8px}.evm .sec:first-child{padding-top:2px}
.evc{max-width:760px;margin-bottom:12px;border-radius:24px;background:var(--card);box-shadow:var(--lift);overflow:hidden;cursor:pointer}
.evc>.scene{height:128px}
.evc .eb{display:flex;gap:16px;padding:16px 18px 0 16px}
.dt{width:54px;height:58px;flex:none;border-radius:16px;background:var(--soft);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.dt small{font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--accent)}
.dt b{margin-top:4px;font-size:22px;font-weight:700;color:var(--ink);letter-spacing:-.02em}
:is([data-theme=dark],[data-theme=black]) .dt small{color:color-mix(in srgb,var(--accent) 65%,#fff)}
.ei{flex:1;min-width:0}
.ew{display:flex;align-items:center;gap:8px;min-height:26px;font-size:13px;font-weight:600;color:var(--muted)}
.ew .pill{margin-left:auto;gap:6px;--i:14px}
.ei h3{font-size:18px;font-weight:700;letter-spacing:-.015em;margin:2px 0 8px;color:var(--ink)}
.ef{display:flex;flex-wrap:wrap;gap:6px}
.ef .pill{gap:7px;color:var(--ink2);--i:14px}.ef .pill .ic{color:var(--faint)}
.ef .pill .av{--s:18px;font-size:9px;margin-left:-5px}.ef .pill .gi{--g:16px}
.ei p{margin-top:10px;font-size:14px;color:var(--ink2);line-height:1.5}
.evf{display:flex;align-items:center;gap:8px;padding:14px 16px 16px 86px}
.evf .stack .av{--s:26px}
.evf small{margin:0 auto 0 6px;color:var(--muted);font-size:13px}.evf small b{color:var(--ink);font-weight:600}
.evb{--i:16px}.evb .ic{color:var(--faint)}
.btn.evb.on{background:color-mix(in srgb,var(--accent) 16%,var(--card));color:var(--ink)}.btn.evb.on .ic{color:var(--accent)}
:is([data-theme=dark],[data-theme=black]) .btn.evb.on .ic{color:color-mix(in srgb,var(--accent) 65%,#fff)}
/* an event posted in chat: one flat card, like a poll */
.evx{margin:6px 0 2px;width:min(520px,100%);padding:14px 14px 12px;border-radius:20px;background:var(--card);box-shadow:var(--lift);cursor:pointer}
.evx .eb{display:flex;align-items:center;gap:14px}
.evx .ei small{display:block;font-size:12.5px;font-weight:600;color:var(--muted)}
.evx .ei b{display:block;font-size:16px;font-weight:650;color:var(--ink);line-height:1.35}
.evx .ei span{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);--i:14px}.evx .ei span .ic{color:var(--faint)}
.evx .ei span span{display:inline}
.evx footer{display:flex;align-items:center;gap:8px;padding:12px 0 0 68px}
.evx footer .stack .av{--s:24px}.evx footer small{margin:0 auto 0 4px;font-size:13px;color:var(--muted)}
/* details */
.evd{width:min(620px,100%)!important}
.evd .dh{gap:10px}.evd .dh .pill{gap:6px;--i:14px}
.evd .dh .x{margin-left:auto}.evd .dh .only-host{margin-left:auto}[data-evhost=on] .evd .dh .x{margin-left:0}
.evcov{height:132px;border-radius:20px;flex:none}
.evfacts{margin-top:8px;padding:6px 14px;border-radius:20px;background:var(--card);box-shadow:var(--lift)}
.fr2{display:flex;align-items:center;gap:14px;min-height:54px}
.fr2 .si{width:36px;height:36px;background:var(--soft);box-shadow:none;--i:17px}.fr2 .av{--s:36px}
.fr2 b{display:block;font-weight:600;font-size:14.5px;line-height:1.3}.fr2 small{color:var(--muted);font-size:13px}
.fr2 .btn{margin-left:auto}
.evdesc{padding:14px 6px 4px;font-size:14.5px;line-height:1.55;color:var(--ink2)}
.evwho{display:flex;align-items:center;padding:12px 0 6px}.evwho .seg{background:var(--soft2)}
.evppl{display:grid;grid-template-columns:1fr 1fr;gap:2px 8px;margin:0 -10px}
.evd .foot{justify-content:flex-start}.evd .foot .btn{--i:16px;padding:0 16px}.evd .foot .btn .ic{color:var(--faint)}
.evd .foot .sp2{flex:1}.evd .foot .btn.evb.on{background:color-mix(in srgb,var(--accent) 16%,var(--card))}
/* create */
.evn{width:min(580px,100%)!important}
.evn .sr .inp{width:250px}.evn .sr .inp.dte{width:150px;cursor:pointer}.evn .sr .inp.tme{width:132px}
.evn .sr .inp.dte.foc{box-shadow:0 0 0 2px var(--accent)}
.evn .sr.col{flex-direction:column;align-items:stretch;gap:8px;padding:12px 12px 12px 18px}
.evn .inp.txa{width:auto;height:auto;min-height:62px;padding:10px 16px;border-radius:16px;white-space:normal;align-items:flex-start;line-height:1.45}
.evn .thumb{width:64px;height:42px;border-radius:11px;flex:none}
.evn .foot small{margin-right:auto;align-self:center;color:var(--muted);font-size:13px}
.evn .inp .gi{--g:18px}
.cm.evcal{width:300px;padding:12px 12px 10px}
.evcal .ch2{display:flex;align-items:center;gap:2px;padding:0 0 6px 8px}.evcal .ch2 b{font-weight:650;font-size:14.5px;margin-right:auto}
.evcal .ch2 .ib{width:32px;height:32px;--i:16px}.evcal .ch2 .ib:hover{background:var(--soft)}
.cg{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}
.cg i{font-style:normal;font-size:11.5px;font-weight:650;color:var(--faint);padding:4px 0}
.cg button{height:36px;border-radius:50%;text-align:center;font-size:13.5px;font-weight:550;color:var(--ink2)}
.cg button:hover{background:var(--soft)}.cg button.o{color:var(--faint);opacity:.6}.cg button.p{color:var(--faint)}
.cg button.t{box-shadow:inset 0 0 0 1.5px var(--soft2);color:var(--ink);font-weight:650}
.cg button.on{background:var(--accent);color:var(--on-accent);font-weight:650}
/* starting now */
.t-event .row .ib{margin-left:auto;align-self:flex-start}
.evi{width:46px;height:46px;flex:none;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--live) 16%,var(--card));color:var(--live);--i:20px}
.evw{display:flex;align-items:center;gap:10px;margin-top:12px;padding:8px 12px;border-radius:16px;background:var(--soft);font-size:13px;color:var(--muted)}
.evw .stack .av{--s:24px;box-shadow:0 0 0 2.5px var(--soft)}
.t-event .go .btn{--i:16px}
.toast.t-event{display:block}
/* Not in the design: a real cover picture where it draws its stand-in scene, no cover chosen yet, the edit window's
   Delete, and the card of an event that was deleted. */
.cov{background:var(--soft) center/cover no-repeat}.evc>.cov{height:128px}
.evn .thumb.none{display:grid;place-items:center;color:var(--faint);--i:18px}
.evn textarea.inp{resize:none;border:0;outline:0;font:inherit;color:var(--ink2)}
.evn .foot .bad{margin-right:auto}.evd .dh .only-host+.x{margin-left:0}
.room-ev b{flex:none;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-ev .clip{min-width:0}
.evx.gone{cursor:default}.evx.gone .dt{color:var(--faint);--i:22px}

/* Soundboard (handoff 2026-11-15, final/cove.html "draft 2026-11-15: voice features"), pictures 154 to 158, as
   written there. Kept from the design: the pop-up, its tiles, the "played a sound" pill, the server page and the Add a
   sound window. The app's own: the pill shows while it is there (the design shows it with ?sb=), the playing tile's bar
   fills over the sound's length (`sbp`), the search field is a real one. */
.dk.sbb.onn,.dk.wtb.onn{background:var(--ink);color:var(--sheet)}
.cm.sbd{width:412px;padding:12px;max-height:calc(100vh - 120px);overflow:auto}
.sbd .sb-h{display:flex;align-items:center;gap:10px;padding:2px 4px 10px 6px}
.sbd .sb-h b{font-size:15px;font-weight:650}
.sbd .sb-vol{margin-left:auto;display:flex;align-items:center;gap:9px;color:var(--faint);--i:16px;font-size:12px;font-weight:600;cursor:pointer;padding:6px 0;touch-action:none}
.sbd .sb-vol .lvl{width:96px;height:6px}.sbd .sb-vol .lvl i{background:var(--accent);transition:none}
.sbd .inp{width:100%}
.sbd .sec{display:flex;padding:12px 4px 6px}.sbd .sec span{margin-left:auto;font-weight:500}
.sbg{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.sbt{position:relative;height:64px;padding:0 12px;border-radius:16px;background:var(--soft);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;overflow:hidden;text-align:left;font:inherit;color:inherit;border:0;cursor:pointer;min-width:0}
.sbt:hover,.sbt.hov{background:var(--soft2)}
.sbt .e{font-size:19px;line-height:1}
.sbt b{font-size:13px;font-weight:600;color:var(--ink);line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.sbt small{position:absolute;right:11px;top:9px;font-size:11.5px;font-weight:600;color:var(--faint)}
.sbt .lis{position:absolute;right:6px;top:6px;width:28px;height:28px;border-radius:50%;display:none;place-items:center;background:var(--card);color:var(--ink2);--i:14px}
.sbt:hover small,.sbt.hov small{display:none}.sbt:hover .lis,.sbt.hov .lis{display:grid}
.sbt.on{background:color-mix(in srgb,var(--accent) 16%,var(--soft))}
.sbt.on small{color:var(--accent);display:block}
.sbt.on>i:not(.lis){position:absolute;left:0;bottom:0;height:3px;width:var(--p,40%);background:var(--accent)}
:is([data-theme=dark],[data-theme=black]) .sbt.on small{color:color-mix(in srgb,var(--accent) 65%,#fff)}
@keyframes sbp{from{width:0}to{width:100%}}
.sb-f{display:flex;align-items:center;gap:10px;padding:12px 2px 0 6px}
.sb-f small{flex:1;color:var(--muted);font-size:12.5px;line-height:1.35}
.sb-f .btn{background:var(--soft)}
.tile .sbn{position:absolute;left:12px;top:12px;height:30px;padding:0 12px 0 10px;border-radius:999px;background:var(--soft);color:var(--ink2);font-size:12.5px;font-weight:600;display:flex;align-items:center;gap:7px;z-index:2;white-space:nowrap}
.tile .sbn b{font-weight:650;color:var(--ink)}
.sbe{width:40px;height:40px;border-radius:13px;flex:none;display:grid;place-items:center;font-size:20px;background:var(--soft);border:0;font-family:inherit;color:inherit}
button.sbe{cursor:pointer}
.pg .gh{padding:10px 6px 0}
.sbl{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex:none}.sbl .sr{padding:8px 8px 8px 10px;gap:12px;min-height:56px}.sbl .sr .ib{width:34px;height:34px}
.pg[data-p=sounds] .sr{min-height:56px}.pg[data-p=sounds] .sr .ib{width:34px;height:34px}
.sbl .l{min-width:0}.sbl .l b,.sbl .l small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ov-addsound .dlg{width:min(560px,100%)}
#ov-addsound .sr .inp{width:250px}
#ov-addsound .sr .l b.clip{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trim{flex-direction:column;align-items:stretch;gap:10px;padding:14px 16px 12px 16px}
.trim .row{display:flex;align-items:center;gap:12px}
.trim .ib{background:var(--soft);color:var(--ink)}.trim .ib svg{fill:currentColor;stroke:none;margin-left:2px}
.wave{flex:1;height:64px;position:relative;display:flex;align-items:center;gap:2px;cursor:ew-resize;touch-action:none;user-select:none}
.wave i{flex:1;border-radius:2px;background:var(--soft2);pointer-events:none}
.wave i.in{background:var(--accent)}
.wave .win{position:absolute;top:-4px;bottom:-4px;border-radius:12px;background:color-mix(in srgb,var(--accent) 10%,transparent);box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--accent) 55%,transparent);pointer-events:none}
.wave .win::before,.wave .win::after{content:"";position:absolute;top:50%;width:8px;height:30px;margin-top:-15px;border-radius:4px;background:var(--ink)}
.wave .win::before{left:-4px}.wave .win::after{right:-4px}
.trim .tt{display:flex;font-size:12.5px;color:var(--muted);padding-left:48px}.trim .tt b{color:var(--ink);font-weight:600}.trim .tt span{margin-left:auto}
#ov-addsound .lvl{width:200px;cursor:pointer;touch-action:none}#ov-addsound .lvl i{background:var(--accent);transition:none}
.sr .num{font-size:13px;font-weight:600;color:var(--muted);width:40px;text-align:right}
/* Watch together (handoff 2026-11-15, final/cove.html "draft 2026-11-15: watch together"), pictures 159 to 162, as
   written there; `[data-watch]` on the page is the stage's `.wtst` here and `[data-watch=viewer]` the tile's `.wtv`. */
.stage.wtst{grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:minmax(0,1fr);padding:4px;margin:-4px}
.tile.wt{display:block;background:#101013}
.tile.wt .wt-box{position:absolute;inset:0}
.wt-player{position:absolute;inset:0;width:100%;height:100%;border:0;background:#101013;object-fit:contain;pointer-events:none}
.wt-t{position:absolute;left:12px;right:12px;top:12px;display:flex;align-items:flex-start;gap:8px;z-index:2}
.wt-ttl{display:flex;align-items:center;gap:10px;min-width:0;padding:7px 16px 8px 8px;border-radius:20px}
.wt-ttl .yt{width:30px;height:30px;border-radius:50%;flex:none;display:grid;place-items:center;background:rgba(255,255,255,.14);--i:14px}.wt-ttl .yt svg{fill:currentColor;stroke:none;margin-left:2px}
.wt-ttl b{display:block;font-size:14px;font-weight:650;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wt-ttl small{display:block;font-size:12px;color:rgba(255,255,255,.7)}
.wt-sync{margin-left:auto;height:32px;padding:0 13px 0 5px;border-radius:999px;display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;flex:none;white-space:nowrap}
.wt-sync .av{--s:23px}.wt-sync .ic{--i:15px;margin-left:5px}
.wt-c{position:absolute;left:12px;right:12px;bottom:12px;height:54px;padding:0 8px 0 7px;border-radius:999px;display:flex;align-items:center;gap:12px;z-index:2}
.wt-pp{width:40px;height:40px;border-radius:50%;background:#fff;color:#151518;display:grid;place-items:center;flex:none;--i:16px}
.wt-pp svg{fill:currentColor;stroke:none}
.wt-c time{font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.wt-c time em{font-style:normal;color:rgba(255,255,255,.6)}
.wt-seek{flex:1;min-width:60px;height:6px;border-radius:3px;background:rgba(255,255,255,.2);position:relative;touch-action:none}
.wt-seek s,.wt-seek i{position:absolute;left:0;top:0;bottom:0;border-radius:3px}
.wt-seek s{background:rgba(255,255,255,.3)}.wt-seek i{background:#fff}
.wt-seek b{position:absolute;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:#fff}
.wt-c .ib{color:#fff;width:36px;height:36px}.wt-c .ib:hover{background:rgba(255,255,255,.14)}
.wt-c .ib .ic{color:#fff}
.wt-c .btn{background:rgba(255,255,255,.16);color:#fff}.wt-c .btn:hover{background:rgba(255,255,255,.24)}
.wt-own{display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:600;white-space:nowrap;color:rgba(255,255,255,.85)}.wt-own .av{--s:22px}
.tile.wt:not(.wtv) .wt-seek{cursor:pointer}
.tile.wt.wtv .wt-pp{background:rgba(255,255,255,.18);color:rgba(255,255,255,.55);cursor:default}
.tile.wt.wtv .wt-seek b{display:none}
.wside{display:flex;flex-direction:column;gap:12px;min-height:0}
.wside .ppl{display:grid;grid-template-columns:1fr 1fr;gap:12px;flex:none}
.wside .ppl .tile{height:132px}.wside .ppl .tile .av{--s:46px}
.wside .ppl .tile .tag{left:8px;bottom:8px;height:24px;font-size:12px;padding:0 9px}
.wside .ppl .tile .tvol{display:none}
.wq{flex:1;min-height:0;border-radius:24px;background:var(--card);box-shadow:var(--lift);padding:6px 8px 10px;display:flex;flex-direction:column;overflow:hidden}
.wq h4{font-size:12px;font-weight:650;color:var(--faint);padding:10px 8px 6px;display:flex}.wq h4 span{margin-left:auto;font-weight:500}
.wq .wql{display:flex;flex-direction:column;min-height:0;overflow-y:auto;scrollbar-width:none}
.wqi{display:flex;align-items:center;gap:11px;padding:6px;border-radius:16px;flex:none}
.wqi:hover{background:var(--soft)}
.wqi.tap{cursor:pointer}
.wqi .scene{width:72px;height:44px;border-radius:10px;flex:none}
.wqi .l{min-width:0;flex:1}.wqi b{display:block;font-size:13.5px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wqi small{display:block;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wqi .ib{width:28px;height:28px;--i:14px;display:none}.wqi:hover .ib{display:grid}
.wqi.now{background:color-mix(in srgb,var(--accent) 12%,var(--card))}
.wqi.now small{color:var(--accent);font-weight:600}
:is([data-theme=dark],[data-theme=black]) .wqi.now small{color:color-mix(in srgb,var(--accent) 65%,#fff)}
.wq .add{margin-top:auto;display:flex;flex-direction:column;gap:6px;padding:8px 2px 0}
.wq .add .btn{justify-content:center}
.wq .add small{font-size:12px;color:var(--faint);text-align:center}
.scene.thumb::before,.scene.thumb::after{display:none}
#ov-watchlink .lp{width:100%;box-shadow:var(--lift)}
#ov-watchlink .lp .scene{width:128px;height:72px}
#ov-watchlink .inp.wide input{flex:1;min-width:0;border:0;outline:0;background:none;font:inherit;color:inherit}
#ov-watchlink .wtlook{color:var(--muted);font-size:13px;padding-left:6px}
.lp .dur{position:absolute;right:6px;bottom:6px;z-index:1;height:20px;padding:0 7px;border-radius:999px;background:rgba(15,15,17,.7);color:#fff;font-size:11px;font-weight:600;display:grid;place-items:center}
.cm.wthand .ch .av{--s:24px}

/* ===== Coves: enter a Cove by address and switch Coves. From cove-4-ui final/cove.html (2026-11-16),
   "draft 2026-11-16: Coves" block, as it is; only the sample switches (?cove=zh, ?coves=1, ?net=cove) are left out. ===== */
.mono{font-family:ui-monospace,"Cascadia Mono",Consolas,monospace;font-size:12.5px;letter-spacing:-.01em}
.ct{width:40px;height:40px;border-radius:14px;flex:none;display:grid;place-items:center;font-weight:700;font-size:14px;color:#fff;background:var(--c,#2F5B8E)}
.ct.blue{--c:#2F5B8E}.ct.amb{--c:#9A6F3E}.ct.teal{--c:#2F7F86}.ct .ic{color:#fff}
.ct.big{width:64px;height:64px;border-radius:22px;font-size:21px}
.ct.off{opacity:.55}
/* the switcher sits at the top of the rail */
.cvsw{position:relative;width:46px;height:24px;border-radius:12px;display:grid;place-items:center;background:var(--sheet);color:var(--muted);flex:none;margin:-2px 0 2px;--i:15px}
.cvsw:hover{background:var(--soft2);color:var(--ink)}
.cvsw .ic{stroke-width:2.2}
.cvsw .n{position:absolute;right:-6px;top:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--accent);color:var(--on-accent);font-size:10.5px;font-weight:700;place-items:center}
.rail .cvgap{height:2px}
/* Coves pop-up */
#pop-coves{width:392px;padding:8px;left:84px;top:12px}
#pop-coves .cvh{display:flex;align-items:center;padding:8px 10px 8px 12px;font-weight:700;font-size:15px}
#pop-coves .cvh small{margin-left:auto;font-weight:500;font-size:12px;color:var(--faint)}
.cvr{display:flex;align-items:center;gap:12px;width:100%;padding:8px 10px;border-radius:16px}
.cvr:hover,.cvr.hov{background:var(--soft)}
.cvr .ct{width:38px;height:38px;border-radius:13px;font-size:13px}
.cvr .l{flex:1;min-width:0}.cvr .l b{display:block;font-weight:600;font-size:14px;line-height:1.3}.cvr .l small{display:block;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cvr .badge{margin:0 2px 0 0}.cvr>.ic{color:var(--accent);--i:18px}
.cvr.on{background:color-mix(in srgb,var(--accent) 10%,var(--card))}
.cvr .pill{height:24px;font-size:12px}
.cvr .kb{font-size:11.5px;color:var(--faint);font-weight:600}
#pop-coves .gp{height:6px}
#pop-coves .ch{display:flex;align-items:center;gap:12px;padding:9px 12px;border-radius:14px;width:100%}
#pop-coves .ch .ic{color:var(--muted)}
/* Add a Cove window */
#ov-addcove .dlg{width:min(560px,100%)}
#ov-addcove .inp.big{background:var(--card);box-shadow:var(--lift)}
#ov-addcove .inp.big .mono{font-size:15px;color:var(--ink)}
#ov-addcove .inp.big .ph{color:var(--faint)}
#ov-addcove .inp.big .cur{width:2px;height:20px;background:var(--accent);margin-left:-7px;border-radius:1px}
#ov-addcove .inp.big .r{margin-left:auto;color:var(--muted);font-size:13px;display:flex;align-items:center;gap:8px}
.exs{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:2px 0 4px;font-size:13px;color:var(--faint)}
.exs .pill{font-family:ui-monospace,"Cascadia Mono",Consolas,monospace;font-weight:500;font-size:12px;background:var(--card);box-shadow:var(--lift)}
.acx{display:none}
#ov-addcove[data-ac=type] .acx.ac-type,#ov-addcove[data-ac=check] .acx.ac-check,#ov-addcove[data-ac=found] .acx.ac-found,#ov-addcove[data-ac=fail] .acx.ac-fail,#ov-addcove[data-ac=cert] .acx.ac-cert,#ov-addcove[data-ac=invite] .acx.ac-invite{display:flex}
.steps{flex-direction:column;gap:2px;padding:14px 18px;border-radius:20px;background:var(--card);box-shadow:var(--lift);margin-top:6px}
.steps div{display:flex;align-items:center;gap:12px;height:36px;font-size:14px;color:var(--muted)}
.steps div .ic{color:var(--s-on);--i:17px}.steps div b{font-weight:600;color:var(--ink)}
.steps div.wait{color:var(--faint)}.steps div.wait i{width:15px;height:15px;border-radius:50%;background:var(--soft2);flex:none;margin:0 1px}
.steps .spin{color:var(--accent);margin:0 1px}
.cvf{flex-direction:column;gap:14px;padding:20px;border-radius:24px;background:var(--card);box-shadow:var(--lift);margin-top:6px}
.cvf .cvtop{display:flex;align-items:center;gap:16px}
.cvf .cvtop h3{font-size:20px;font-weight:700;letter-spacing:-.02em}
.cvf .cvtop .mono{color:var(--muted)}
.cvf .pills{display:flex;flex-wrap:wrap;gap:6px}
.cvf .pills .pill{gap:6px;--i:13px}
.pill.ok{background:color-mix(in srgb,var(--s-on) 15%,var(--card));color:color-mix(in srgb,var(--s-on) 70%,var(--ink))}
.pill.warn{background:color-mix(in srgb,var(--s-idle) 18%,var(--card));color:color-mix(in srgb,var(--s-idle) 55%,var(--ink))}
.cvf .note{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:16px;background:var(--soft);font-size:13.5px;color:var(--ink2);--i:17px}
.cvf .note .ic{color:var(--muted);margin-top:1px}
.cvf.bad .cvtop .ib{background:color-mix(in srgb,var(--bad) 14%,var(--card));color:var(--bad);width:52px;height:52px;--i:24px}
.cvf.warn .cvtop .ib{background:color-mix(in srgb,var(--s-idle) 18%,var(--card));color:color-mix(in srgb,var(--s-idle) 70%,var(--ink));width:52px;height:52px;--i:24px}
.cvf .cvtop h3.sm{font-size:17px}
.cvf p{font-size:14px;color:var(--ink2);line-height:1.5}
.cvf ul{list-style:none;display:flex;flex-direction:column;gap:8px;font-size:14px;color:var(--ink2)}
.cvf ul li{display:flex;gap:10px;align-items:flex-start}.cvf ul li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--faint);margin-top:8px;flex:none}
.fp{font-family:ui-monospace,"Cascadia Mono",Consolas,monospace;font-size:13px;font-weight:600;letter-spacing:0;white-space:nowrap;padding:14px 10px;padding:14px 16px;border-radius:16px;background:var(--soft);color:var(--ink);text-align:center;word-spacing:-.1em}
.cvf small.mut{font-size:13px;color:var(--muted)}
.inv{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:16px;background:var(--soft)}
.inv .sv{width:44px;height:44px;border-radius:15px;background:var(--card)}
.inv .l b{display:block;font-weight:650}.inv .l small{color:var(--muted);font-size:13px}
/* settings: Coves page */
/* The design's Coves page is the page itself (`.pg.cvset`); the app's stands inside the page, so its rows are
   the page's own rows here too. Without this they stood with no room between them (Jesse 2026-11-18: "two tabs
   connected when they are supposed to be separate"). */
.pg>.cvset{display:contents}
.cvset .sr .ct{width:44px;height:44px;border-radius:15px}
.cvset .sr .l small{display:block}
.cvset .sr .pill{margin-right:2px}
.cvset .sr .ib{color:var(--muted)}
/* added 2026-11-16 (Jesse: Coves on the home network show up by themselves; default port 7300; switcher hidden with one Cove) */
.phint{font-size:12.5px;color:var(--faint);margin:-2px 2px 2px}
.lan{display:flex;flex-direction:column;gap:2px;padding:6px;border-radius:20px;background:var(--card);box-shadow:var(--lift);margin-top:8px}
.lan .lh,#pop-coves .lh{display:flex;align-items:center;gap:10px;padding:6px 10px 4px;font-size:12.5px;font-weight:600;color:var(--muted)}
.lan .lh .spin,#pop-coves .lh .spin,.cvset .lh .spin{width:12px;height:12px;border-width:1.8px;color:var(--accent);margin-left:auto}
.lan .lh .ic,#pop-coves .lh .ic{--i:15px}
.cvr .btn.sm,.cvset .lanr .btn.sm{height:30px;padding:0 14px;font-size:13px}
.cvset .lh{display:flex;align-items:center;gap:10px}
.cvset .addrow{display:flex;gap:8px;align-items:center;margin:2px 0 4px}
.cvset .addrow .inp{flex:1;width:auto;background:var(--card);box-shadow:var(--lift);height:44px}
/* lost connection to one Cove */
.net.cvn .btn+.btn{margin-left:0}
/* Coves in jump anywhere */
.cvjump .ct{width:24px;height:24px;border-radius:8px;font-size:10px}
.cvjump .ct .ic{--i:14px}
/* sign-in for another Cove */
.cvchip{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 10px 0 6px;border-radius:999px;background:var(--soft);font-size:14px;font-weight:600;color:var(--ink2);margin:-14px 0 22px;--i:15px;cursor:pointer}
.cvchip .ct{width:26px;height:26px;border-radius:9px;font-size:10.5px}.cvchip .ct .ic{--i:16px}
.cvchip .mono{font-size:13px}
.sign .ct.big{width:88px;height:88px;border-radius:30px;font-size:28px}
/* the app's parts of it: the Home button shows another Cove's tile colour, the lost-Cove bar shows itself */
.rail .sv.cv.oc{color:#fff;font-size:17px;font-weight:700}
.net.cvn{display:flex}
#ov-addcove input.plain{flex:1;min-width:0;width:auto;background:none;border:0;outline:0;font-family:ui-monospace,"Cascadia Mono",Consolas,monospace;font-size:15px;letter-spacing:-.01em;color:var(--ink)}
#ov-addcove input.plain::placeholder{color:var(--faint)}
#ov-addcove .inp.big .r.ok .ic{color:var(--s-on)}
.cvset .sr input.plain{flex:1;min-width:0}
/* Volume for chat clips, sounds and voice messages (mediavol.rs): not drawn in Cove 4 UI.
   The button is the design's `.ib` with its `vol` symbol, as in Watch together's player bar;
   its pop-up is that bar's "volume for you" card (.cm .vol). In a clip's bar it is one of the bar's own buttons. */
.snd button.mvol,.vm .mvol{--i:18px;width:32px;height:32px;flex:none;border-radius:50%;display:grid;place-items:center;background:none;color:var(--muted)}
.snd button.mvol:hover,.vm .mvol:hover{background:var(--soft);color:var(--ink)}
.snd button.mvol svg,.vm .mvol svg{fill:none;stroke:currentColor}
.mvolp .vol{cursor:pointer;touch-action:none;user-select:none}

/* ---------- Five requests from Cove 4.0 (cove-4-ui handoff 2026-11-20; its rules from mockup/parts/req5/desk.css
   and phone.css, with the mockup's sample switches left out): What's new, an uploaded video in the chat and over
   the whole screen, "Show earlier messages", Download. Inky's start-up is in index.html (it shows before this
   file is read). ---------- */
@keyframes m-fade{from{opacity:0}}

/* 1. Settings > What's new (pictures 281 to 283). The dots go once the page was opened. */
.nd{width:8px;height:8px;border-radius:50%;background:var(--accent);flex:none}
.dnav .ch .nd{margin-left:auto;margin-right:2px}
.me .tools .ib{position:relative}.me .tools .ib .nd{position:absolute;right:6px;top:6px;box-shadow:0 0 0 2.5px var(--card)}
.wn-h{display:flex;align-items:center;gap:10px;padding:12px 6px 2px;flex:none}
.wn-h:first-child{padding-top:2px}
.wn-h b{font-size:16px;font-weight:700;letter-spacing:-.015em}
.wn-h time{margin-left:auto;color:var(--faint);font-size:12.5px}
.pill.now{background:color-mix(in srgb,var(--accent) 14%,var(--card));color:var(--accent)}
:is([data-theme=dark],[data-theme=black]) .pill.now{color:color-mix(in srgb,var(--accent) 60%,#fff)}
.wn-c{border-radius:20px;background:var(--card);box-shadow:var(--lift);padding:4px 8px 8px;flex:none}
.wn-g{font-size:12px;font-weight:650;color:var(--faint);padding:10px 10px 2px}
.wn-i{display:flex;gap:12px;padding:7px 10px;align-items:flex-start}
.wn-i>.ic{--i:16px;margin-top:3px;color:var(--accent);flex:none}.wn-i.fixd>.ic{color:var(--faint)}
.wn-i b{display:block;font-weight:600;font-size:14.5px;line-height:1.35}
.wn-i small{display:block;color:var(--muted);font-size:13px;line-height:1.4}
.wn-old{min-height:52px;width:100%;text-align:left;cursor:pointer}
.wn-old .l b{font-size:14.5px}.wn-old>.ic{--i:16px;color:var(--faint);margin-right:6px;transition:transform .15s}
.wn-old.open>.ic{transform:rotate(90deg)}
.wn-old+.wn-c{display:none}.wn-old.open+.wn-c{display:block}
.wn-more{align-self:center;margin:6px 0 4px;color:var(--muted);flex:none}

/* 3. An uploaded video (pictures 290 to 294). In the chat: a glass bar over the lower edge once it was played or
   while it is pointed at (chat.rs, `clip_view`). */
.vbar{position:absolute;left:8px;right:8px;bottom:8px;height:44px;border-radius:999px;display:flex;align-items:center;gap:10px;padding:0 5px 0 5px;z-index:2}
.vbar.hide{display:none}
.vbar .ib,.vbar .mvol{width:34px;height:34px;flex:none;border-radius:50%;display:grid;place-items:center;color:#fff;--i:17px}
.vbar .ib:hover,.vbar .mvol:hover{background:rgba(255,255,255,.14);color:#fff}
.vbar .vpp svg{fill:currentColor;stroke:none}
.vbar time,.vf-c time{font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;color:#fff}
.vbar time em,.vf-c time em{font-style:normal;color:rgba(255,255,255,.6)}
.vbar .wt-seek{margin-right:4px}
.vbar .wt-seek,.vf-c .wt-seek,.seek,.vf-vol{cursor:pointer;touch-action:none}
/* the 6px line is pressed and dragged in a taller strip */
.vbar .wt-seek::before,.vf-c .wt-seek::before,.vf-vol::before{content:"";position:absolute;left:0;right:0;top:-14px;bottom:-14px}
/* Over the whole screen in a window (`.scene.full.dk`, the browser's own full screen): black, the video whole. */
.scene.full .play,.scene.full .vbar{display:none}
.scene.full.idle{cursor:none}.scene.full.idle video{cursor:none}
/* the design's soft dark fades behind the top and the bottom bar (its `.vf::before`, `::after`) */
.vf-sh{position:absolute;left:0;right:0;height:150px;pointer-events:none;z-index:1;transition:opacity .18s ease}
.vf-sh.t{top:0;background:linear-gradient(rgba(0,0,0,.55),transparent)}.vf-sh.b{bottom:0;background:linear-gradient(transparent,rgba(0,0,0,.6))}
/* the design's 42px from the top is 12px under its 30px window bar; a full screen has no window bar */
.vf-t{position:absolute;left:24px;right:20px;top:20px;display:flex;align-items:center;gap:12px;z-index:2;color:#fff;text-align:left}
.vf-t .av{--s:38px}.vf-t b{display:block;font-weight:650;font-size:15px;line-height:1.3}.vf-t small{color:rgba(255,255,255,.7);font-size:13px}
.vf-t .ib{margin-left:auto;width:40px;height:40px;color:#fff}
.ib.gl:hover{background:rgba(15,15,17,.8);color:#fff}
.vf-c{position:absolute;left:50%;transform:translateX(-50%);bottom:22px;width:min(860px,calc(100% - 48px));height:56px;padding:0 10px 0 8px;border-radius:999px;display:flex;align-items:center;gap:12px;z-index:2}
.vf-c .wt-pp svg:has(use[href="#play"]){margin-left:2px}
.vf-c .ib{color:#fff;width:40px;height:40px;--i:19px}.vf-c .ib:hover{background:rgba(255,255,255,.14)}
.vf-vol{width:76px;height:6px;border-radius:3px;background:rgba(255,255,255,.2);position:relative;margin:0 6px 0 -6px;flex:none}
.vf-vol i{position:absolute;left:0;top:0;bottom:0;border-radius:3px;background:#fff}
.vf-vol b{position:absolute;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:#fff}
/* the bars step aside 3 seconds into playing and come back on any movement */
.scene.idle :is(.vf-t,.vf-c,.vf-top,.vf-bot,.vf-sh){opacity:0;pointer-events:none}
.vf-t,.vf-c,.vf-top,.vf-bot{transition:opacity .18s ease}
/* not drawn: the window's bar in a full screen narrower than it needs (a browser at a phone's width) */
@media(max-width:600px){.vf-c{width:calc(100% - 24px);gap:8px}.vf-c .vf-vol,.vf-c time em{display:none}}
/* Over the whole phone (`.scene.full.ph`, phone screens 58 and 59): Close, the name and Download on top; the
   seek row and three buttons at the bottom. Sideways it is one line. */
.vf-top{position:absolute;left:12px;right:12px;top:calc(8px + env(safe-area-inset-top,0px));display:flex;align-items:center;gap:4px;z-index:2;color:#fff;text-align:left}
.vf-top .ib{width:44px;height:44px;color:#fff;--i:21px}
.vf-top .tt{flex:1;min-width:0;margin-left:2px}
.vf-top .tt b{display:block;font-size:16px;font-weight:700;letter-spacing:-.01em;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vf-top .tt p{color:rgba(255,255,255,.7);font-size:12.5px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vf-bot{position:absolute;left:0;right:0;bottom:0;padding:40px 20px max(34px,calc(env(safe-area-inset-bottom,0px) + 14px));z-index:2;background:linear-gradient(transparent,rgba(0,0,0,.65))}
/* the picture is dragged down to close the view: the finger's way is the page's to read, not the browser's */
.scene.ph video{touch-action:none}
.vf-sk{display:flex;align-items:center;gap:12px;height:44px}
.vf-rw{display:flex;align-items:center;justify-content:space-between;padding:6px 14px 0}
.vf-bot .ib{width:48px;height:48px;color:#fff;--i:24px}.vf-bot .ib:hover{background:none}
.vf-bot time{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;color:#fff}
.vf-pp{width:64px;height:64px;border-radius:50%;background:#fff;color:#151518;display:grid;place-items:center;--i:26px;flex:none}
.vf-pp svg{fill:currentColor;stroke:none}
.seek{flex:1;min-width:40px;height:6px;border-radius:3px;background:rgba(255,255,255,.22);position:relative}
.seek s,.seek i{position:absolute;left:0;top:0;bottom:0;border-radius:3px}.seek s{background:rgba(255,255,255,.3)}.seek i{background:#fff}
.seek b{position:absolute;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:#fff}
/* the knob is dragged in a 44px tall strip */
.seek::before{content:"";position:absolute;left:0;right:0;top:-19px;bottom:-19px}
@media (orientation:landscape){
  .scene.ph .vf-top{top:max(14px,env(safe-area-inset-top,0px));left:max(28px,env(safe-area-inset-left,0px));right:max(28px,env(safe-area-inset-right,0px))}
  .scene.ph .vf-bot{display:flex;align-items:center;gap:12px;padding:30px max(28px,env(safe-area-inset-right,0px)) 18px max(28px,env(safe-area-inset-left,0px))}
  .scene.ph :is(.vf-sk,.vf-rw){display:contents}
  .scene.ph .vf-pp{width:52px;height:52px;--i:22px;margin-right:4px;order:0}
  .scene.ph .vf-sk>time:first-child{order:1}.scene.ph .seek{order:2}.scene.ph .vf-sk>time:last-child{order:3}
  .scene.ph .vmute{order:4}.scene.ph .vleave{order:5}
}
/* The bar in a chat on a phone (screen 57): 48px, 40px buttons; play, the line, the time, Download, Full screen.
   No volume there: the phone's own keys do it. */
@media(max-width:600px){
  .vbar{left:6px;right:6px;bottom:6px;height:48px;gap:4px;padding:0 4px}
  .vbar .ib{width:40px;height:40px;--i:19px}
  .vbar .mvol,.vbar time em{display:none}
  .vbar .wt-seek{order:1;min-width:40px;margin:0 8px 0 2px;background:rgba(255,255,255,.22)}
  .vbar time{order:2;margin-right:4px;font-size:13px}
  .vbar .vsave{order:3}.vbar .vfull{order:4}
}
@media (hover:none){.vbar .ib:hover,.vf-c .ib:hover{background:none}}

/* 4. "Show earlier messages" (pictures 295 to 298). One place, three states, the same size, so nothing moves: the
   button, the same pill at work, then a marker with the count. The earlier messages fade in above it (chat.rs). */
.earl,.egm{align-self:center;margin:10px 0 8px;height:36px;padding:0 16px 0 12px;border-radius:999px;display:flex;align-items:center;gap:8px;flex:none;font-size:13.5px;font-weight:600;--i:16px}
.earl{background:var(--card);box-shadow:var(--lift);cursor:pointer}.earl:hover{background:var(--soft)}
.earl.ld{background:var(--soft);box-shadow:none;color:var(--muted);pointer-events:none}
.egm{color:var(--muted);background:var(--soft)}
/* a short chat still stands at the bottom, and the pill keeps its own room above it */
.feed:has(>.earl:first-child)::before{content:"";margin-top:auto}
@media (prefers-reduced-motion:reduce){.earl .spin{animation:none;border-right-color:currentColor;opacity:.5}}

/* 5. Download: the pill while a file is saved, when it is, and when it could not be (pictures 300 to 302) */
.snack{white-space:nowrap}
.snack button{height:28px;padding:0 12px;margin:0 -12px 0 6px;border-radius:999px;background:color-mix(in srgb,var(--base) 18%,transparent);color:inherit;font-size:12.5px;font-weight:600}
.snack .spin{width:14px;height:14px}
.snack.fail{cursor:pointer}.snack.fail .ic{color:color-mix(in srgb,var(--bad) 55%,var(--base))}

/* ---------- Settings in a window: one long page (cove-4-ui final settings.html, pictures 316 to 320; chosen by Jesse 2026-11-20) ----------
   Every page is a section of one scroll with one card; the list has a search field and a white pill that glides to the
   section being read (settings-page.js). Only the PC window (.dlg.lpw); the phone's settings are not touched. `.full` is a
   whole page (Profile look, Look & feel, What's new) open in the same window, which keeps the old page look.
   Server settings in a window is the same long page (cove-4-ui final server-settings.html, approved 2026-12-01), so
   these rules are for both windows; what only server settings has is in server-settings.css. */
@property --lpfade{syntax:"<length>";inherits:false;initial-value:70px}
:is(#ov-settings,#ov-server) .dlg.lpw{--t1:140ms;--t2:220ms;--t3:320ms;--ez:cubic-bezier(.2,.8,.2,1)}
/* the list */
:is(#ov-settings,#ov-server) .lpw .find{display:flex;height:36px;flex:none;margin:0 0 10px;padding:0 6px 0 13px;border-radius:999px;background:var(--sheet);align-items:center;gap:9px;color:var(--faint);font-size:14px;--i:16px;
  transition:background var(--t2) var(--ez),box-shadow var(--t2) var(--ez),color var(--t2)}
:is(#ov-settings,#ov-server) .lpw .find:active{transform:none}
:is(#ov-settings,#ov-server) .lpw .find input{flex:1;min-width:0;height:100%;background:none;border:0;outline:0;color:var(--ink);font:inherit}
:is(#ov-settings,#ov-server) .lpw .find input::placeholder{color:var(--faint)}
:is(#ov-settings,#ov-server) .lpw .find:focus-within{background:var(--card);box-shadow:var(--lift);color:var(--ink)}
:is(#ov-settings,#ov-server) .lpw .find .clr{--i:14px;flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;color:var(--muted);background:var(--soft);transform:scale(0);opacity:0;transition:transform var(--t2) var(--ez),opacity var(--t1)}
:is(#ov-settings,#ov-server) .lpw .find.has .clr{transform:none;opacity:1}
:is(#ov-settings,#ov-server) .lpw .dnav .list{position:relative;flex:none;min-height:0;overflow:visible;padding:0}
:is(#ov-settings,#ov-server) .lpw .glide{position:absolute;left:0;right:0;top:0;height:34px;border-radius:999px;background:var(--card);box-shadow:var(--lift);
  transition:transform var(--t3) var(--ez),opacity var(--t2);will-change:transform}
:is(#ov-settings,#ov-server) .lpw .dnav .ch{position:relative;height:34px;padding:0 12px;transition:color var(--t2),opacity var(--t2),background var(--t1)}
:is(#ov-settings,#ov-server) .lpw .dnav .ch .ic{transition:color var(--t2),transform var(--t3) var(--ez)}
:is(#ov-settings,#ov-server) .lpw .dnav .ch:hover:not(.on){background:color-mix(in srgb,var(--card) 55%,transparent)}
:is(#ov-settings,#ov-server) .lpw .list .ch.on{background:none;box-shadow:none}
:is(#ov-settings,#ov-server) .lpw .list .ch.on .ic{transform:scale(1.08)}
:is(#ov-settings,#ov-server) .lpw .list .ch.none{display:flex;flex:none;flex-direction:row;align-items:center;padding-top:0;opacity:.38}
/* the page */
:is(#ov-settings,#ov-server) .lpw:not(.full)>.dbody{position:relative;padding:0}
:is(#ov-settings,#ov-server) .lpw .dbody>.lpg{position:absolute;inset:0;margin:0;padding:0 22px 16px 24px;display:block;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;
  -webkit-mask-image:linear-gradient(#000 calc(100% - var(--lpfade)),transparent calc(100% - 6px));mask-image:linear-gradient(#000 calc(100% - var(--lpfade)),transparent calc(100% - 6px));transition:--lpfade var(--t3)}
:is(#ov-settings,#ov-server) .lpw .lpg::-webkit-scrollbar{display:none}
:is(#ov-settings,#ov-server) .lpw .dbody.end>.lpg{--lpfade:0px}
:is(#ov-settings,#ov-server) .lpw:not(.full)>.dbody>.x{--i:18px;position:absolute;right:22px;top:14px;z-index:3;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:var(--muted);transition:background var(--t1),color var(--t1)}
:is(#ov-settings,#ov-server) .lpw:not(.full)>.dbody>.x .ic{transition:transform var(--t3) var(--ez)}
:is(#ov-settings,#ov-server) .lpw:not(.full)>.dbody>.x:hover{background:var(--soft2);color:var(--ink)}
:is(#ov-settings,#ov-server) .lpw:not(.full)>.dbody>.x:hover .ic{transform:rotate(90deg)}
:is(#ov-settings,#ov-server) .lpw .sect h2{position:sticky;top:0;z-index:2;height:64px;display:flex;align-items:center;font-size:19px;font-weight:700;letter-spacing:-.02em;
  margin:0 -22px 0 -24px;padding:0 70px 0 24px;background:linear-gradient(var(--sheet) 78%,transparent)}
:is(#ov-settings,#ov-server) .lpw .sect>.card{background:var(--card);border-radius:24px;box-shadow:var(--lift);padding:8px 6px;display:flex;flex-direction:column}
:is(#ov-settings,#ov-server) .lpw .card>.cvset{display:contents}
/* a row: no surface of its own, a soft wash under the pointer */
:is(#ov-settings,#ov-server) .lpw .card .sr:not(:where(.ov .ov *)),:is(#ov-settings,#ov-server) .lpw .card .addrow:not(:where(.ov .ov *)){--sh:none;background:none;box-shadow:none;gap:14px;min-height:52px;max-height:90px;margin:0;padding:7px 10px 7px 16px;border-radius:18px;overflow:hidden;
  transition:background var(--t1),max-height var(--t3) var(--ez),min-height var(--t3) var(--ez),padding var(--t3) var(--ez),opacity var(--t2),margin var(--t3) var(--ez)}
:is(#ov-settings,#ov-server) .lpw .card .sr:not(:where(.ov .ov *)):hover,:is(#ov-settings,#ov-server) .lpw .card .addrow:not(:where(.ov .ov *)):hover{background:color-mix(in srgb,var(--soft) 55%,transparent)}
:is(#ov-settings,#ov-server) .lpw .card .sr:not(:where(.ov .ov *)).free,:is(#ov-settings,#ov-server) .lpw .card>.sr[style*="background:none"]{padding-left:10px!important;min-height:52px!important}
:is(#ov-settings,#ov-server) .lpw .card .sr:not(:where(.ov .ov *)).free:hover,:is(#ov-settings,#ov-server) .lpw .card>.sr[style*="background:none"]:hover{background:none}
:is(#ov-settings,#ov-server) .lpw .card .addrow:not(:where(.ov .ov *)) .inp{box-shadow:none;background:var(--soft);height:36px}
:is(#ov-settings,#ov-server) .lpw .card .sr:not(:where(.ov .ov *)) .av.big{--s:40px}
:is(#ov-settings,#ov-server) .lpw .card .sr:not(:where(.ov .ov *))>.inp:not(.fix):not(.code),:is(#ov-settings,#ov-server) .lpw .card .sr:not(:where(.ov .ov *))>.lvl{width:270px}
:is(#ov-settings,#ov-server) .lpw .card .sr:not(:where(.ov .ov *))>.inp{height:36px}
/* the small headings of a card's lists, and the room between its groups */
:is(#ov-settings,#ov-server) .lpw .card>.sec,:is(#ov-settings,#ov-server) .lpw .card>.cvset>.gh{font-size:12.5px;font-weight:650;color:var(--faint);padding:2px 16px!important;margin:12px 0 0}
:is(#ov-settings,#ov-server) .lpw .card>.sec:first-child,:is(#ov-settings,#ov-server) .lpw .card>.cvset:first-child>.gh:first-child{margin-top:0}
:is(#ov-settings,#ov-server) .lpw .card>[data-set=morelooks],
:is(#ov-settings,#ov-server) .lpw .card>[data-set=link_previews],:is(#ov-settings,#ov-server) .lpw .card>[data-set=typing],
:is(#ov-settings,#ov-server) .lpw .card>[data-set=message_sound],:is(#ov-settings,#ov-server) .lpw .card>[data-set=quiet],
:is(#ov-settings,#ov-server) .lpw .card>[data-set=talk],:is(#ov-settings,#ov-server) .lpw .card>[data-set=share_quality],
:is(#ov-settings,#ov-server) .lpw .card>[data-set=overlay_voice],:is(#ov-settings,#ov-server) .lpw [data-s=overlay] .card>.sr[style*="background:none"],
:is(#ov-settings,#ov-server) .lpw .card>[data-set=two_step]+.sr{margin-top:12px}
/* server settings' group headings (Text, Voice, What a Mod can do ...) are drawn only on the long page */
.sec.lph{display:none}
:is(#ov-settings,#ov-server) .lpw .card>.sec.lph{display:block}
/* the design's order of rows where the app's page has another (Messages, Notifications) */
:is(#ov-settings,#ov-server) .lpw [data-s=chat] .card>*,:is(#ov-settings,#ov-server) .lpw [data-s=notify] .card>*{order:2}
:is(#ov-settings,#ov-server) .lpw [data-s=chat] .card>:is([data-set=send_with],[data-set=hour24],[data-set=emoticons]),
:is(#ov-settings,#ov-server) .lpw [data-s=notify] .card>:is([data-set=desktop],[data-set=notify],[data-set=show_text],[data-set=badge]){order:1}
:is(#ov-settings,#ov-server) .lpw [data-s=chat] .card>[data-set=typing],:is(#ov-settings,#ov-server) .lpw [data-s=notify] .card>[data-set=quiet]{order:3}
/* search: rows that do not hold the word fold away, a section with none goes */
:is(#ov-settings,#ov-server) .lpw .card .sr:not(:where(.ov .ov *)).nf,:is(#ov-settings,#ov-server) .lpw .card .addrow:not(:where(.ov .ov *)).nf{max-height:0;min-height:0!important;padding-top:0;padding-bottom:0;margin-top:0;opacity:0;pointer-events:none}
:is(#ov-settings,#ov-server) .lpw .sect.nf,:is(#ov-settings,#ov-server) .lpw .card>.sec.nf,:is(#ov-settings,#ov-server) .lpw .cvset>.gh.nf{display:none}
:is(#ov-settings,#ov-server) .lpw::highlight(cove-find){background:color-mix(in srgb,var(--accent) 22%,transparent);color:inherit}
:is(#ov-settings,#ov-server) .lpw .nohit{display:none;flex-direction:column;align-items:center;gap:6px;padding:150px 0 0;color:var(--muted);text-align:center;--i:28px}
:is(#ov-settings,#ov-server) .lpw .nohit b{color:var(--ink);font-size:16px;font-weight:650}
:is(#ov-settings,#ov-server) .lpw .nohit .ic{color:var(--faint);margin-bottom:6px}
:is(#ov-settings,#ov-server) .lpw .lpg.empty .nohit{display:flex}
/* controls: the segmented control's dark thumb slides to the answer (placed by settings-page.js) */
:is(#ov-settings,#ov-server) .lpw .card .sr:not(:where(.ov .ov *))>.seg{position:relative;isolation:isolate}
:is(#ov-settings,#ov-server) .lpw .card .sr:not(:where(.ov .ov *))>.seg::before{content:"";position:absolute;top:3px;left:0;z-index:-1;height:30px;width:var(--thw,0);border-radius:999px;background:var(--ink);transform:translateX(var(--thx,0));transition:transform var(--t3) var(--ez),width var(--t3) var(--ez)}
:is(#ov-settings,#ov-server) .lpw .card .sr:not(:where(.ov .ov *))>.seg.still::before{transition:none}
:is(#ov-settings,#ov-server) .lpw .card .sr:not(:where(.ov .ov *))>.seg button{position:relative;transition:color var(--t2)}
:is(#ov-settings,#ov-server) .lpw .card .sr:not(:where(.ov .ov *))>.seg button.on{background:none}
:is(#ov-settings,#ov-server) .lpw .card .sr:not(:where(.ov .ov *))>.seg button:hover:not(.on){color:var(--ink)}
:is(#ov-settings,#ov-server) .lpw .tog{transition:background var(--t2)}
:is(#ov-settings,#ov-server) .lpw .tog::after{border-radius:11px;transition:transform var(--t3) var(--ez),width var(--t1)}
:is(#ov-settings,#ov-server) .lpw .tog:active::after{width:27px;transform:none}
:is(#ov-settings,#ov-server) .lpw .tog.on:active::after{transform:translateX(13px)}
:is(#ov-settings,#ov-server) .lpw .sws button{transition:box-shadow var(--t2) var(--ez),transform var(--t1)}
:is(#ov-settings,#ov-server) .lpw .sws button:hover{transform:scale(1.08)}
:is(#ov-settings,#ov-server) .lpw .btn{transition:background var(--t1),transform var(--t1)}
:is(#ov-settings,#ov-server) .lpw .btn:active{transform:scale(.96)}
/* movement */
@media (prefers-reduced-motion:no-preference){
  @keyframes lp-rise{from{opacity:0;transform:translateY(10px)}}
  @keyframes lp-open{from{opacity:0;transform:scale(.96) translateY(8px)}}
  @keyframes lp-nudge{40%{transform:translateX(4px)}}
  :is(#ov-settings,#ov-server).ov.show>.dlg.lpw{animation:lp-open 280ms var(--ez) backwards}
  :is(#ov-settings,#ov-server) .dlg.lpw:not(.full)>.dbody{animation:none}
  :is(#ov-settings,#ov-server) .lpw .find,:is(#ov-settings,#ov-server) .lpw .dnav .ch{animation:lp-rise var(--t3) var(--ez) backwards;animation-delay:calc(60ms + var(--n,0)*18ms)}
  :is(#ov-settings,#ov-server) .lpw .sect{animation:lp-rise 360ms var(--ez) backwards;animation-delay:calc(90ms + var(--n,0)*60ms)}
  :is(#ov-settings,#ov-server) .lpw .sect.hit h2{animation:lp-nudge 420ms var(--ez)}
  :is(#ov-settings,#ov-server) .lpw .lpg.empty .nohit{animation:lp-rise var(--t3) var(--ez) backwards}
  /* Leaving: nothing arrives again in the copy, and the window sinks away like every other window. */
  :is(#ov-settings,#ov-server).gone .dlg.lpw *{animation:none!important}
  :is(#ov-settings,#ov-server).ov.gone>.dlg.lpw{animation:sink-out .16s ease forwards}
}
@media (prefers-reduced-motion:reduce){
  :is(#ov-settings,#ov-server) .dlg.lpw *,:is(#ov-settings,#ov-server) .dlg.lpw *::before,:is(#ov-settings,#ov-server) .dlg.lpw *::after{animation:none!important;transition:none!important}
}

/* 4.0.1+41: shared tabs box and See all (cove-4-ui final/cove.html, dp-*) */
@media(min-width:601px){
  .pp .box.dp-box{padding:8px 10px 10px}
  .dp-hd{display:flex;align-items:center;gap:6px;margin-bottom:8px}
  .dp-hd .seg{flex:1;min-width:0}
  .dp-hd .seg button{flex:1 1 auto;height:26px;padding:0 6px;font-size:12.5px;text-align:center}
  .dp-hd .seg small{opacity:.65;margin-left:4px;font-weight:500;font-size:11.5px}
  .dp-hd .ib{width:30px;height:30px;flex:none;color:var(--muted);--i:16px}
  .dp-box [data-p]{padding:0 4px}
  .dp-box .grid .scene,.dp-box .grid .dp-t{aspect-ratio:10/9}
  .dp-box [data-p]{display:none}
  .dp-box[data-dptab=pics] [data-p=pics],.dp-box[data-dptab=links] [data-p=links],.dp-box[data-dptab=files] [data-p=files]{display:block}
  .grid .dp-t{aspect-ratio:1;border-radius:12px;display:block;position:relative;overflow:hidden;cursor:zoom-in}
  .dp-row{display:flex;align-items:center;gap:10px;padding:1px 0;min-width:0;width:100%;text-align:left}
  .dp-row .ft{width:32px;height:32px;border-radius:10px;background:var(--soft);display:grid;place-items:center;color:var(--muted);--i:16px;flex:none}
  .dp-row .l{flex:1;min-width:0}
  .dp-row b,.dp-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .dp-row b{font-weight:600;font-size:13.5px;line-height:1.3;color:var(--ink)}.dp-row small{color:var(--muted);font-size:12px;line-height:1.3}
  .dp-row>.ic{color:var(--muted);--i:16px;flex:none}
  .panel.h .pp[data-s=shared]{display:flex;overflow:hidden}
  .dp-ah{display:flex;align-items:center;gap:6px;padding:4px 2px 10px;font-size:15px;font-weight:650;letter-spacing:-.01em;flex:none}
  .dp-ah .ib{width:32px;height:32px;--i:17px;color:var(--muted)}
  .dp-all>.seg{margin:0 2px 4px}
  .dp-all>.seg button{flex:1 1 auto;height:30px;padding:0 6px;font-size:12.5px;text-align:center}
  .dp-all>.seg small{opacity:.65;margin-left:4px;font-weight:500;font-size:11.5px}
  .dp-sc{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;padding:0 2px 24px;-webkit-mask-image:linear-gradient(#000 calc(100% - 36px),transparent);mask-image:linear-gradient(#000 calc(100% - 36px),transparent)}
  .dp-all .dp-sc [data-p]{padding:0}
  .dp-all .grid .scene,.dp-all .grid .dp-t{aspect-ratio:1}
  .dp-all .dp-day{font-size:12px;font-weight:650;color:var(--faint);padding:12px 8px 6px}
  .dp-all .box{padding:6px 12px}
  .dp-all .dp-row{padding:7px 0}
  .dp-all .dp-row>.ib{width:30px;height:30px;--i:16px;color:var(--muted);flex:none;margin-right:-4px}
  .dp-t b{position:absolute;left:5px;bottom:5px;height:18px;padding:0 6px;border-radius:9px;background:rgba(15,15,17,.62);color:#fff;font-size:10px;font-weight:700;display:grid;place-items:center}
  /* Stand-ins, not drawn on the desktop: the picture fills its tile, a file row
     in the box saves it, and the phone's empty wording at the box's sizes. */
  .dp-t img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover}
  .dp-row.dl{cursor:pointer}
  .dp-none{padding:6px 2px 4px}
  .dp-none b{display:block;font-weight:600;font-size:13.5px;line-height:1.3;color:var(--ink)}
  .dp-none span{display:block;color:var(--muted);font-size:12px;line-height:1.3;margin-top:3px}
}
