/* HERE chat, over glass.css + lens-here.css. Host-independent feed, widgets and composer. */
.card { position: relative; text-align: left; border-radius: var(--r3); padding: var(--s4) var(--s4); background: var(--surface); border: 1px solid var(--line); backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost); box-shadow: var(--shadow); opacity: 0; transform: translateY(16px) scale(.985); animation: rise calc(var(--d-step) * 40) var(--spring) both; }
.card::before { content: none; }
@keyframes rise {
to { opacity: 1; transform: none; }
}
.k { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink-2); margin-bottom: var(--s3); line-height: var(--lh-xs); }
.big { font-size: var(--t-l); font-weight: 600; letter-spacing: -.01em; line-height: var(--lh-l); }
.muted { color: var(--ink-2); font-size: var(--t-s); line-height: var(--lh-s); }
.sub { color: var(--ink-2); font-size: var(--t-s); margin-top: var(--s1); line-height: var(--lh-s); }
.chip { display: inline-flex; align-items: center; gap: var(--s2); background: var(--tint); color: var(--ink-2); border: 1px solid transparent; border-radius: var(--r-pill); padding: var(--s1) var(--s3); margin: var(--s1) var(--s2) 0 0; font-size: var(--t-xs); font-weight: 500; line-height: var(--lh-xs); }
.chip::before { content: ""; width: var(--s2); height: var(--s2); border-radius: var(--r-pill); background: currentColor; box-shadow: var(--shadow); }
.keys { display: flex; align-items: flex-start; gap: var(--s3); }
.ask { position: relative; display: flex; gap: var(--s2); margin-top: var(--s4); align-items: center; }
.ask .field { position: relative; flex: 1; display: flex; }
.ask input { flex: 1; font-size: var(--t-m); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: var(--s3) var(--s7) var(--s3) var(--s4); outline: none; transition: border-color calc(var(--d-step) * 10),box-shadow calc(var(--d-step) * 10); line-height: var(--lh-m); }
.ask input::placeholder { color: var(--ink-2); }
.ask input:focus { border-color: var(--tint); box-shadow: var(--shadow); }
.ask .field>button { position: absolute; right: var(--s1); top: 50%; width: var(--h-s); height: var(--h-s); flex: none; font-size: var(--t-m); font-weight: 600; line-height: var(--lh-m); padding: 0; border-radius: var(--r-pill); border: none; background: var(--ink); color: var(--ground); cursor: pointer; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-50%) scale(.6); transition: transform var(--d-land) var(--spring),opacity var(--d-dur); }
.ask .field>button.ready { opacity: 1; pointer-events: auto; transform: translateY(-50%) scale(1); }
.ask .field>button.ready:active { transform: translateY(-50%) scale(.88); }
.ask .field>button:disabled { opacity: 0; pointer-events: none; }
.ask input:disabled { opacity: .5; }
.rows { margin-top: var(--s2); }
.row { padding: var(--s2) var(--s1); border-top: 1px solid var(--line); font-size: var(--t-s); letter-spacing: -.008em; color: var(--ink-2); overflow-wrap: anywhere; opacity: 0; animation: fade calc(var(--d-step) * 25) var(--ease-out) both; line-height: var(--lh-s); }
.row b { font-weight: 600; color: var(--ink); }
.row:first-child { border-top: none; }
.chip.on::before { background: var(--ok); box-shadow: var(--shadow); }
.chip.off { opacity: .45; }
.row.pop { animation: popin calc(var(--d-step) * 13) var(--spring) both; }
.hwhisper { position: absolute; left: var(--s4); right: var(--s4); bottom: max(var(--s4),env(safe-area-inset-bottom)); z-index: 5; background: linear-gradient(180deg,color-mix(in srgb, var(--core) 96%, transparent),var(--surface)); border: 1px solid var(--line-2); border-radius: var(--r2); padding: var(--s3) var(--s4); font-size: var(--t-s); backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost); cursor: pointer; box-shadow: var(--shadow); animation: popin calc(var(--d-step) * 15) var(--spring) both; line-height: var(--lh-s); }
.hwhisper b { color: var(--ink); }
.hwhisper.igni b { color: var(--ink); }
.hnow { background: var(--surface); backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost); border: 1px solid var(--line-2); border-radius: var(--r2); padding: var(--s3) var(--s3); margin-bottom: var(--s3); font-size: var(--t-s); color: var(--ink-2); line-height: var(--lh-s); }
.hnow .nk { color: var(--ink); font-weight: 600; letter-spacing: 0; font-size: var(--t-xs); margin-right: var(--s2); line-height: var(--lh-xs); }
.hnow .nsub { color: var(--ink-2); }
.hnow.pulse { animation: nowpulse calc(var(--d-step) * 25) var(--ease-out) 1; }
@keyframes nowpulse {
0% { transform: scale(.985); }
100% { transform: scale(1); }
}
.aim { display: flex; flex-direction: column; gap: var(--s2); background: var(--tint); border: 1px solid var(--line); border-radius: var(--r1); padding: var(--s3); margin-bottom: var(--s3); }
.aim .k { color: var(--ink-2); margin-bottom: 0; }
.aim .where { font-size: var(--t-m); font-weight: 600; letter-spacing: -.01em; line-height: var(--lh-m); }
.cloud { background: var(--tint); border: 1px solid var(--line); border-radius: var(--r1); padding: var(--s3); margin-bottom: var(--s3); }
.cloud .bal { font-size: var(--t-m); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; line-height: var(--lh-m); }
.cbtn { font: 600 var(--t-xs)/var(--lh-xs) var(--f-ui); padding: var(--s2) var(--s3); border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--tint); color: var(--ink); cursor: pointer; margin: var(--s2) var(--s2) 0 0; }
.cbtn:active { transform: scale(.96); }
.lease { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-s); margin-top: var(--s2); color: var(--ink-2); line-height: var(--lh-s); }
.lease b { color: var(--ink); font-variant-numeric: tabular-nums; }
.row.igni b { color: var(--ink); }
.tdots { display: inline-flex; gap: var(--s1); margin-right: var(--s2); vertical-align: -1px; }
.tdots i { width: var(--s1); height: var(--s1); border-radius: var(--r-pill); background: var(--ink-2); animation: tblink calc(var(--d-step) * 60) var(--ease-light) infinite; }
.tdots i:nth-child(2) { animation-delay: calc(var(--d-step) * 7.5); }
.tdots i:nth-child(3) { animation-delay: calc(var(--d-step) * 15); }
@keyframes tblink {
0%,60%,100% { opacity: .25; }
30% { opacity: 1; }
}
.rxrow { display: flex; gap: var(--s1); margin: calc(-1 * var(--s2)) 0 0 var(--s3); z-index: 2; }
.rx { font-size: var(--t-xs); line-height: var(--lh-xs); padding: var(--s1) var(--s2); border-radius: var(--r-pill); background: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.rx.mine { border-color: var(--line-2); background: color-mix(in srgb, var(--core) 6%, transparent); }
.rxbar { position: absolute; top: calc(-1 * var(--s7)); left: var(--s2); display: flex; gap: 2px; padding: var(--s1) var(--s2); border-radius: var(--r-pill); background: var(--raised); backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost); border: 1px solid var(--line-2); box-shadow: var(--shadow); animation: popin var(--d-land) var(--spring) both; z-index: 6; }
.rxbar button { border: none; background: transparent; font-size: var(--t-m); line-height: var(--lh-m); padding: var(--s1) var(--s2); cursor: pointer; border-radius: var(--r1); transition: transform calc(var(--d-step) * 7.5) var(--spring); }
.rxbar button:hover { transform: scale(1.28); }
.rxbar button:active { transform: scale(.9); }
.hglyph { position: absolute; right: calc(-1 * var(--s4)); top: calc(-1 * var(--s3)); font-size: var(--t-d4); line-height: var(--lh-d4); opacity: .3; transform: rotate(-12deg); }
.hglyph.s { font-size: var(--t-d4); right: calc(-1 * var(--s3)); top: calc(-1 * var(--s4)); opacity: .35; line-height: var(--lh-d4); }
.hcontent { position: relative; padding: var(--s4) var(--s4) var(--s3); }
.heyebrow { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0; color: var(--ink-2); text-transform: none; margin-bottom: var(--s1); line-height: var(--lh-xs); }
.htitle { font-size: var(--t-l); font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: var(--lh-l); }
.hsub { font-size: var(--t-s); color: var(--ink-2); margin-top: var(--s1); line-height: var(--lh-s); }
.hfoot { position: relative; display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); background: var(--scrim); backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost); border-top: 1px solid var(--line); }
.hfmeta { flex: 1; min-width: 0; }
.hfn { font-size: var(--t-s); font-weight: 600; color: var(--ink); line-height: var(--lh-s); }
.hfs { font-size: var(--t-xs); color: var(--ink-2); line-height: var(--lh-xs); }
.crow { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s2); }
.cmeta { flex: 1; min-width: 0; }
.cname { font-size: var(--t-m); font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: var(--s2); line-height: var(--lh-m); }
.cdot { width: var(--s2); height: var(--s2); border-radius: var(--r-pill); background: var(--ok); display: inline-block; box-shadow: var(--shadow); }
.csub { font-size: var(--t-xs); color: var(--ink-2); line-height: var(--lh-xs); }
.cfrow { display: flex; gap: var(--s3); align-items: baseline; padding: var(--s1) 0; border-top: 1px solid var(--line); font-size: var(--t-s); line-height: var(--lh-s); }
.cfk { flex: none; width: var(--s8); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink-2); line-height: var(--lh-xs); }
.cfv { color: var(--ink-2); min-width: 0; }
.cfv.mono { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ink-2); line-height: var(--lh-xs); }
.cfrow.cry .cfk,.cfrow.cry .cfv { color: var(--ink); }
.payv { font-size: var(--t-d1); font-weight: 600; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; margin: 2px 0; line-height: var(--lh-d1); }
.cryrow { display: flex; align-items: center; gap: var(--s2); padding: var(--s2) 0; border-top: 1px solid var(--line); font-size: var(--t-s); color: var(--ink-2); line-height: var(--lh-s); }
.cryrow>span { flex: 1; }
.strk { font-size: var(--t-d1); line-height: var(--lh-d1); flex: none; }
.cpal { max-height: 240px; overflow-y: auto; padding: var(--s2); }
.cprow { display: flex; gap: var(--s3); align-items: baseline; width: 100%; text-align: left; padding: var(--s2) var(--s3); border: none; background: transparent; border-radius: var(--r1); cursor: pointer; font-size: var(--t-s); line-height: var(--lh-s); }
.cprow:hover,.cprow.sel { background: color-mix(in srgb, var(--core) 6%, transparent); }
.cprow b { color: var(--ink); font-weight: 600; }
.cprow span { color: var(--ink-2); font-size: var(--t-xs); line-height: var(--lh-xs); }
#hbud { display: flex; gap: var(--s2); justify-content: flex-end; align-items: center; }
.budcap { display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s1) var(--s2); border-radius: var(--r-pill); background: var(--tint); font-size: var(--t-xs); letter-spacing: .03em; color: var(--ink-2); line-height: var(--lh-xs); }
.budcap b { color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.budbar { width: var(--h-s); height: var(--s1); border-radius: var(--r0); background: var(--tint-2); overflow: hidden; }
.budbar i { display: block; height: 100%; background: var(--tint); border-radius: var(--r0); }
.budcap.low .budbar i { background: var(--warn); }
.budcap.zero .budbar i { background: var(--bad); }
.budcap.zero { color: var(--bad); }
.row.cont { border-top: none; margin-top: 0; padding-top: 2px; padding-left: var(--s4); }
.tstamp { color: var(--ink-2); font-size: var(--t-xs); margin-left: var(--s2); letter-spacing: .02em; font-weight: 400; line-height: var(--lh-xs); }
.hnew { position: sticky; bottom: var(--s1); display: block; margin: var(--s2) auto 0; width: max-content; padding: var(--s1) var(--s3); border-radius: var(--r-pill); background: var(--raised); backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost); border: 1px solid var(--line-2); color: var(--ink); font-size: var(--t-xs); cursor: pointer; letter-spacing: .02em; box-shadow: var(--shadow); transition: transform calc(var(--d-step) * 7.5) var(--ease-out); animation: fade calc(var(--d-step) * 15) var(--ease-out) both; line-height: var(--lh-xs); }
.row.pending { filter: opacity(.55) saturate(.6); }
.hnew:active { transform: scale(.97); }
.siggly,img[data-lnk] { filter: none; }
.siggly { height: 1.5em; width: auto; vertical-align: -.34em; opacity: .94; margin: 0 2px; }
.appsheet { position: fixed; inset: 0; z-index: 90; background: var(--surface); display: flex; flex-direction: column; animation: sheetup calc(var(--d-step) * 15) var(--spring) both; }
.apphead { display: flex; align-items: center; gap: var(--s3); padding: var(--s4) var(--s4); border-bottom: 1px solid var(--line); }
.apphead .an { font-size: var(--t-m); font-weight: 600; color: var(--ink); line-height: var(--lh-m); }
.apphead .ax { margin-left: auto; width: var(--h-s); height: var(--h-s); border-radius: var(--r-pill); border: none; background: var(--tint-2); color: var(--ink); font-size: var(--t-s); cursor: pointer; line-height: var(--lh-s); }
.appbody { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; padding: var(--s5); }
.tq { max-width: 340px; width: 100%; text-align: center; }
.tglyph { font-size: var(--t-d4); margin: var(--s3) 0 var(--s4); line-height: var(--lh-d4); }
.topt { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.topt button { border: none; border-radius: var(--r2); padding: var(--s4); font-size: var(--t-m); font-weight: 600; background: var(--surface); color: var(--ink); cursor: pointer; transition: transform calc(var(--d-step) * 7.5) var(--spring); line-height: var(--lh-m); }
.topt button:active { transform: scale(.96); }
.topt button.ok { background: var(--ok); color: var(--on-ink); }
.topt button.no { background: var(--bad); color: var(--ink); }
.tscore { margin-top: var(--s4); font-size: var(--t-s); color: var(--ink-2); line-height: var(--lh-s); }
.wdgrid { display: grid; grid-template-rows: repeat(6,1fr); gap: var(--s2); margin-bottom: var(--s4); }
.wdrow { display: grid; grid-template-columns: repeat(5,1fr); gap: var(--s2); }
.wdt { width: var(--s7); height: var(--s7); border-radius: var(--r0); background: var(--surface); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: var(--t-l); font-weight: 600; color: var(--ink); line-height: var(--lh-l); }
.wdt.g { background: var(--ok); border-color: transparent; color: var(--on-ink); }
.wdt.y { background: var(--warn); border-color: transparent; color: var(--on-ink); }
.wdt.x { background: var(--raised); border-color: transparent; }
.wdkb { display: flex; flex-direction: column; gap: var(--s2); align-items: center; }
.wdkr { display: flex; gap: var(--s1); }
.wdk { min-width: var(--h-s); padding: var(--s3) var(--s2); border: none; border-radius: var(--r0); background: var(--raised); color: var(--ink); font-size: var(--t-s); font-weight: 600; cursor: pointer; transition: transform var(--d-press) var(--spring); line-height: var(--lh-s); }
.wdk:active { transform: scale(.9); }
.wdk.g { background: var(--ok); color: var(--on-ink); }
.wdk.y { background: var(--warn); color: var(--on-ink); }
.wdk.x { background: var(--sunk); color: var(--ink-2); }
.wdk.wide { padding: var(--s3) var(--s3); }
#kq { width: 100%; box-sizing: border-box; border: none; background: transparent; color: var(--ink); font-size: var(--t-m); padding: var(--s4) var(--s4); outline: none; border-bottom: 1px solid var(--line); line-height: var(--lh-m); }
.rcb { font-size: var(--t-s); color: var(--ink); margin-top: 2px; line-height: var(--lh-s); }
.rcb mark { background: var(--warn-soft); color: inherit; border-radius: var(--r0); }
.wavi.igniv { width: var(--s5); height: var(--s5); background: none!important; overflow: visible; padding: 0; position: relative; }
.wavi.igniv img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.wavi.igniv::after { content: ""; position: absolute; left: 6%; right: 6%; top: -26%; height: 32%; border-radius: var(--r-pill); border: 1.4px solid var(--line-2); box-shadow: var(--shadow); transform: perspective(60px) rotateX(58deg); transform-origin: 50% 100%; animation: h-halo calc(var(--d-step) * 180) var(--ease-out) infinite; }
.sub { font-family: var(--f-ui); }
* { box-sizing: border-box; margin: 0; padding: 0; }
.portal { display: inline-block; margin-left: var(--s2); color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--t-xs); line-height: var(--lh-xs); }
.portal:active { transform: scale(.96); }
.ghost { color: var(--ink-2); font-size: var(--t-xs); padding: var(--s2) var(--s1); animation: fade calc(var(--d-step) * 20) var(--ease-out) both; line-height: var(--lh-xs); }
#hmsgs { overflow-x: hidden; mask-image: linear-gradient(180deg,transparent 0,var(--core) var(--s5)); -webkit-mask-image: linear-gradient(180deg,transparent 0,var(--core) var(--s5)); }
.msgrow { position: relative; display: flex; flex-direction: column; align-items: flex-start; margin-top: var(--s3); padding: 0 var(--s2); opacity: 0; animation: fade calc(var(--d-step) * 25) var(--ease-out) both; }
.msgrow.cont { margin-top: var(--s1); }
.msgrow.me { align-items: flex-end; }
.msgrow.pop { animation: popin calc(var(--d-step) * 13) var(--spring) both; }
.who { font-size: var(--t-xs); color: var(--ink-2); margin: 0 0 var(--s1) var(--s4); letter-spacing: .01em; line-height: var(--lh-xs); }
.who.igni { color: var(--ink-2); }
.bub { position: relative; max-width: 75%; padding: var(--s2) var(--s4); border-radius: var(--r3); font-size: var(--t-m); letter-spacing: -.01em; line-height: var(--lh-m); color: var(--ink); background: var(--raised); border: none; overflow-wrap: anywhere; }
.bub.igni {}
.me .bub { background: var(--pick); color: var(--ink); }
.msgrow.cont:not(.me) .bub { border-top-left-radius: var(--r0); }
.msgrow.cont.me .bub { border-top-right-radius: var(--r0); }
.bub .portal { color: var(--ink); font-weight: 600; }
.me .bub .portal { color: var(--ink); text-decoration: underline; }
.me .bub .xn { background: color-mix(in srgb, var(--core) 22%, transparent); color: var(--ink); }
.msgrow.pending .bub { filter: opacity(.6) saturate(.7); }
.dlv { font-size: var(--t-xs); color: var(--ink-2); margin: var(--s1) var(--s1) 0 0; line-height: var(--lh-xs); }
.msgrow.me .rxrow { margin: calc(-1 * var(--s2)) var(--s3) 0 0; }
.msgrow.me .rxbar { left: auto; right: var(--s2); }
.btime { position: absolute; right: 2px; bottom: var(--s3); font-size: var(--t-xs); color: var(--ink-2); opacity: 0; transition: opacity var(--d-dur) var(--ease-out); pointer-events: none; line-height: var(--lh-xs); }
.msgrow.me .btime { right: auto; left: 2px; }
.msgrow:hover .btime { opacity: 1; }
.bub.tail-l::before,.bub.tail-r::before { content: ''; position: absolute; bottom: 0; width: 11px; height: 17px; background: inherit; }
.bub.tail-r::before { right: -5.5px; clip-path: path('M0 0 C 2 9 6.5 14.5 11 17 C 5 17 1.5 15 0 12 Z'); }
.bub.tail-l::before { left: -5.5px; clip-path: path('M11 0 C 9 9 4.5 14.5 0 17 C 6 17 9.5 15 11 12 Z'); }
.bub.wbub { max-width: 92%; width: min(92%,430px); padding: 0; background: transparent; }
.bub.wbub.tail-l::before,.bub.wbub.tail-r::before { content: none; }
.wcap { font-size: var(--t-s); color: var(--ink-2); margin-bottom: var(--s2); line-height: var(--lh-s); }
.wg .wgt { font-size: var(--t-s); font-weight: 600; color: var(--ink); margin-bottom: var(--s2); line-height: var(--lh-s); }
.wgk { font-size: var(--t-xs); color: var(--ink-2); letter-spacing: .03em; line-height: var(--lh-xs); }
.wgv { font-size: var(--t-l); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; line-height: var(--lh-l); }
.wgs { font-size: var(--t-xs); color: var(--ink-2); margin-top: 2px; line-height: var(--lh-xs); }
.wgg { display: grid; grid-template-columns: repeat(auto-fit,minmax(var(--s9),1fr)); gap: var(--s3); }
.wgc { background: var(--tint); border-radius: var(--r1); padding: var(--s2) var(--s3); }
.wgi { padding: var(--s2) 0; border-top: 1px solid var(--line); font-size: var(--t-s); line-height: var(--lh-s); }
.wgi:first-of-type { border-top: none; }
.wgl { color: var(--ink); text-decoration: none; font-weight: 500; }
.wgb { font-size: var(--t-s); color: var(--ink-2); line-height: var(--lh-s); }
.wgic { font-size: var(--t-l); margin-bottom: var(--s1); line-height: var(--lh-l); }
.wgbar { height: var(--s1); border-radius: var(--r-pill); background: var(--tint-2); overflow: hidden; margin: var(--s2) 0 2px; }
.wgbar i { display: block; height: 100%; border-radius: var(--r-pill); background: var(--tint); }
.wgch { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s1); }
.wgo { border: 1px solid var(--line-2); background: var(--tint); color: var(--ink); border-radius: var(--r-pill); padding: var(--s2) var(--s3); font-size: var(--t-s); cursor: pointer; transition: transform calc(var(--d-step) * 7.5) var(--spring); line-height: var(--lh-s); }
.wgo:active { transform: scale(.94); }
.wgim { max-width: 100%; border-radius: var(--r1); display: block; }
.wg { background: var(--surface); border-radius: var(--r3); padding: var(--s4); box-shadow: var(--shadow); }
.wcap { margin: 0 0 var(--s2) var(--s1); }
.wghead { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.wgapp { width: var(--h-xs); height: var(--h-xs); display: flex; align-items: center; justify-content: center; font-size: var(--t-m); color: var(--ink); background: var(--tint-2); -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M0 50C0 10 10 0 50 0s50 10 50 50-10 50-50 50S0 90 0 50z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M0 50C0 10 10 0 50 0s50 10 50 50-10 50-50 50S0 90 0 50z'/></svg>"); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; overflow: hidden; line-height: var(--lh-m); }
.wgapp img,.ai2 img { width: 72%; height: 72%; object-fit: contain; display: block; }
.wavi { width: var(--s4); height: var(--s4); border-radius: var(--r-pill); display: inline-flex; align-items: center; justify-content: center; font-size: var(--t-xs); font-weight: 600; color: var(--ink); vertical-align: -3px; margin-right: var(--s1); overflow: hidden; line-height: var(--lh-xs); }
.wavi img { width: 100%; height: 100%; object-fit: cover; }
.emo { display: inline-flex; align-items: center; justify-content: center; height: 1.35em; width: 1.35em; vertical-align: -0.28em; overflow: hidden; }
.emo img { height: 100%; width: 100%; object-fit: contain; display: block; }
.emo.emg { font-size: 1.15em; width: auto; height: auto; vertical-align: -0.08em; }
.bub.ejumbo { background: transparent !important; border: none; padding: 2px var(--s1); box-shadow: none; }
.bub.ejumbo .emo { height: var(--reach); width: var(--reach); vertical-align: middle; margin: 0 var(--s1) 0 0; }
.bub.ejumbo .emo.emg { font-size: var(--t-d2); line-height: var(--lh-d2); }
.eprow .emo { height: var(--s5); width: var(--s5); vertical-align: middle; }
.emo[data-glyph] { cursor: pointer; transition: transform calc(var(--d-step) * 7.5) var(--spring); }
.emo[data-glyph]:hover { transform: scale(1.18); }
.emo[data-glyph]:active { transform: scale(.94); }
.emo[data-glyph]:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: var(--r0); }
.pmention { color: var(--ink); font-weight: 600; cursor: pointer; border-radius: var(--r0); transition: opacity var(--d-press) var(--ease-out); }
.pmention:hover { opacity: .75; }
.pmention:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; }
#pcardbg { position: fixed; inset: 0; background: var(--scrim); backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost); z-index: 59; }
#pcard { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 60; width: min(320px,86vw); }
#pcard .pacts { display: flex; gap: var(--s2); margin-top: var(--s3); }
#pcard .pacts button { flex: 1; padding: var(--s3); border-radius: var(--r1); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 600; font-size: var(--t-s); cursor: pointer; line-height: var(--lh-s); }
#pcard .pacts button.pri { background: var(--tint); border-color: transparent; }
.bub.ejumbo .emo[data-glyph]:hover { transform: scale(1.06); }
.wgname { font-size: var(--t-xs); font-weight: 600; letter-spacing: .04em; color: var(--ink-2); line-height: var(--lh-xs); }
.wgact { display: flex; gap: var(--s2); margin-top: var(--s3); }
.wga { flex: 1; border: none; border-radius: var(--r1); padding: var(--s2) var(--s3); font-size: var(--t-s); font-weight: 600; background: var(--tint-2); color: var(--ink); cursor: pointer; transition: transform calc(var(--d-step) * 7.5) var(--spring); line-height: var(--lh-s); }
.wga.p { background: var(--pick); color: var(--ink); box-shadow: var(--shadow); }
.wga:active { transform: scale(.96); }
.wg.hero { position: relative; padding: 0; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform var(--d-dur) var(--spring); }
.wg.hero:active { transform: scale(.975); }
.hart { position: absolute; inset: 0; }
.hart img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hart::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 80% at 18% 0%,var(--tint-3),transparent 55%); }
.hscrim { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 30%,var(--scrim) 80%); }
.hfoot .wgapp { width: var(--h-s); height: var(--h-s); border-radius: var(--r0); font-size: var(--t-l); background: var(--tint-3); line-height: var(--lh-l); }
.hfoot .wga { flex: none; min-width: var(--s8); padding: var(--s2) var(--s4); border-radius: var(--r-pill); font-size: var(--t-s); font-weight: 600; line-height: var(--lh-s); }
.wgmedia { position: relative; height: 110px; border-radius: var(--r2); margin-bottom: var(--s3); overflow: hidden; }
.wgmedia img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wgav { width: var(--h-m); height: var(--h-m); border-radius: var(--r1); display: flex; align-items: center; justify-content: center; font-size: var(--t-m); font-weight: 600; color: var(--ink); flex: none; line-height: var(--lh-m); }
.wgpill { display: inline-block; margin-left: var(--s2); padding: 2px var(--s2); border-radius: var(--r-pill); background: var(--tint); font-size: var(--t-xs); font-weight: 600; letter-spacing: .03em; color: var(--ink-2); vertical-align: 2px; line-height: var(--lh-xs); }
.wgpill.ok { background: var(--ok-soft); color: var(--ok); }
.wgo.cry { flex: none; padding: var(--s1) var(--s3); font-size: var(--t-xs); line-height: var(--lh-xs); }
.plus { width: var(--h-s); height: var(--h-s); flex: none; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--tint); color: var(--ink-2); font-size: var(--t-m); line-height: var(--lh-m); padding: 0; cursor: pointer; transition: transform var(--d-dur) var(--spring),background calc(var(--d-step) * 10),color calc(var(--d-step) * 10); }
.plus:active { transform: scale(.9); }
.plus.on { background: var(--tint); border-color: transparent; color: var(--ink); transform: rotate(45deg); }
.uppanel { position: absolute; left: 0; right: 0; bottom: calc(100% + var(--s3)); border-radius: var(--r2); background: var(--surface); backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost); border: 1px solid var(--line-2); box-shadow: var(--shadow); z-index: 12; animation: popin calc(var(--d-step) * 12) var(--spring) both; overflow: hidden; }
.atray { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s2); padding: var(--s3); }
.atile { display: flex; flex-direction: column; align-items: center; gap: var(--s2); padding: var(--s2) var(--s1); border: none; background: transparent; cursor: pointer; border-radius: var(--r1); transition: transform calc(var(--d-step) * 7.5) var(--spring),background calc(var(--d-step) * 10); }
.atile:hover { background: var(--tint); }
.atile:active { transform: scale(.92); }
.atile .ai2 { width: var(--h-l); height: var(--h-l); display: flex; align-items: center; justify-content: center; font-size: var(--t-l); color: var(--ink); background: var(--tint-2); -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M0 50C0 10 10 0 50 0s50 10 50 50-10 50-50 50S0 90 0 50z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M0 50C0 10 10 0 50 0s50 10 50 50-10 50-50 50S0 90 0 50z'/></svg>"); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; overflow: hidden; line-height: var(--lh-l); }
.atile .an2 { font-size: var(--t-xs); color: var(--ink-2); line-height: var(--lh-xs); }
.hfullbtn { position: absolute; top: var(--s3); right: var(--s3); z-index: 8; width: var(--h-s); height: var(--h-s); border-radius: var(--r1); border: 1px solid var(--line-2); background: var(--raised); color: var(--ink-2); font-size: var(--t-s); cursor: pointer; transition: transform calc(var(--d-step) * 7.5) var(--spring),color calc(var(--d-step) * 10); line-height: var(--lh-s); }
.hfullbtn:hover { color: var(--ink); }
.hfullbtn:active { transform: scale(.92); }
.card.hfull { position: fixed!important; inset: var(--s3); z-index: 70; display: flex; flex-direction: column; max-width: none; margin: 0; overflow: hidden; animation: none; opacity: 1; transform: none; }
.card.hfull #hmsgs { flex: 1; }
.hday { display: flex; align-items: center; justify-content: center; margin: var(--s5) 0 var(--s2); color: var(--ink-2); font-size: var(--t-xs); font-weight: 500; letter-spacing: .02em; line-height: var(--lh-xs); }
.hday::before,.hday::after { content: none; }
.xn { display: inline-block; margin-left: var(--s2); padding: 1px var(--s2); background: var(--tint); border: none; border-radius: var(--r0); font-size: var(--t-xs); font-weight: 500; color: var(--ink-2); vertical-align: 1px; line-height: var(--lh-xs); }
.hunread { color: var(--ink); opacity: .9; }
.apphead .wgapp { width: var(--h-s); height: var(--h-s); font-size: var(--t-m); line-height: var(--lh-m); }
#kbg { position: fixed; inset: 0; z-index: 95; background: var(--scrim); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); }
#kbar { position: fixed; left: 50%; top: 14%; transform: translateX(-50%); z-index: 96; width: min(560px,92vw); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r2); overflow: hidden; box-shadow: var(--shadow); animation: sheetup calc(var(--d-step) * 10) var(--spring) both; }
.kres { max-height: 46vh; overflow: auto; padding: var(--s2); }
.kres button { display: flex; align-items: center; gap: var(--s3); width: 100%; box-sizing: border-box; border: none; background: transparent; color: var(--ink); text-align: left; padding: var(--s3) var(--s3); border-radius: var(--r1); cursor: pointer; font-size: var(--t-s); line-height: var(--lh-s); }
.kres button.sel,.kres button:hover { background: var(--tint-2); }
.kres .kk { font-size: var(--t-xs); color: var(--ink-2); min-width: var(--h-s); line-height: var(--lh-xs); }
.kres .kn { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kres .kd { font-size: var(--t-xs); color: var(--ink-2); line-height: var(--lh-xs); }
.rcard { display: flex; gap: var(--s2); align-items: flex-start; background: var(--tint); border: 1px solid var(--line); border-radius: var(--r1); padding: var(--s3) var(--s3); margin: var(--s1) 0; cursor: pointer; }
.rcard:hover { background: var(--tint-2); }
.rcgo { color: var(--ink-2); }
.rcw { font-size: var(--t-xs); color: var(--ink-2); line-height: var(--lh-xs); }
.rcw b { color: var(--ink); }
.kflash { animation: kflash calc(var(--d-step) * 60) var(--ease); }
#hmsgs.dense .bub { padding-top: var(--s2); padding-bottom: var(--s2); }
#hmsgs.dense .btime { display: none; }
#hmsgs.dense .row+.row,#hmsgs.dense>div+div { margin-top: 2px; }
@keyframes fade {
to { opacity: 1; }
}
@keyframes popin {
from { opacity: 0; transform: translateY(6px) scale(.985); }
to { opacity: 1; transform: none; }
}
@keyframes sheetup {
from { opacity: 0; transform: translateY(3%); }
to { opacity: 1; transform: none; }
}
@keyframes kflash {
0%,100% { background: transparent; }
30% { background: var(--warn-soft); }
}
.wtool { width: var(--h-s); height: var(--h-s); flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--tint); color: var(--ink-2); padding: 0; cursor: pointer; transition: transform var(--d-dur) var(--spring),background calc(var(--d-step) * 10),color calc(var(--d-step) * 10); }
.wtool:active { transform: scale(.9); }
.wtool .wti { width: var(--s4); height: var(--s4); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#hmic.on { background: var(--tint); border-color: transparent; color: var(--ink); animation: vpulse calc(var(--d-step) * 80) var(--ease-light) infinite; }
#hattpend { position: absolute; left: 0; right: 0; bottom: calc(100% + var(--s2)); display: flex; gap: var(--s2); z-index: 11; }
.hattchip { position: relative; width: var(--s7); height: var(--s7); border-radius: var(--r1); overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow); }
.hattchip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hattx { position: absolute; top: 2px; right: 2px; width: var(--s4); height: var(--s4); border-radius: var(--r-pill); border: none; background: var(--scrim); color: var(--ink); font-size: var(--t-xs); line-height: var(--lh-xs); padding: 0; cursor: pointer; }
.hattrow { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s2); }
.hatt { max-width: min(240px,100%); max-height: 240px; border-radius: var(--r1); display: block; cursor: zoom-in; }
#hlbx { position: fixed; inset: 0; z-index: 97; background: var(--scrim); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); display: flex; align-items: center; justify-content: center; animation: fade calc(var(--d-step) * 10) var(--ease-out) both; cursor: zoom-out; }
#hlbx img { max-width: 94vw; max-height: 92vh; border-radius: var(--r2); box-shadow: var(--shadow); }
#camsheet { position: fixed; inset: 0; z-index: 96; background: var(--scrim); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); display: flex; align-items: flex-end; justify-content: center; }
.camcard { width: min(560px,100vw); max-height: 94vh; overflow: auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r3) var(--r3) 0 0; padding: var(--s4); animation: sheetup var(--d-land) var(--spring) both; }
.camhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s3); }
.camtitle { font-size: var(--t-s); color: var(--ink-2); letter-spacing: .02em; line-height: var(--lh-s); }
.camx { width: var(--h-s); height: var(--h-s); border-radius: var(--r-pill); border: none; background: var(--tint-2); color: var(--ink); cursor: pointer; }
.camvid { width: 100%; max-height: 56vh; border-radius: var(--r2); background: var(--core); display: block; }
.camctl { display: flex; align-items: center; justify-content: center; gap: var(--s5); margin-top: var(--s3); }
.camshut { width: var(--s8); height: var(--s8); border-radius: var(--r-pill); border: 4px solid var(--line-2); background: color-mix(in srgb, var(--core) 25%, transparent); cursor: pointer; transition: transform calc(var(--d-step) * 7.5) var(--spring); }
.camshut:active { transform: scale(.92); }
.camshut:disabled { opacity: .35; cursor: default; }
.camflip { width: var(--h-m); height: var(--h-m); border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--tint-2); color: var(--ink); font-size: var(--t-m); cursor: pointer; line-height: var(--lh-m); }
.camspacer { width: var(--h-m); height: var(--h-m); }
.camstill { width: 100%; border-radius: var(--r2); display: block; }
.camcap { width: 100%; margin-top: var(--s3); font-size: var(--t-m); color: var(--ink); background: var(--tint); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: var(--s2) var(--s4); outline: none; line-height: var(--lh-m); }
.camplace { margin-top: var(--s3); }
.camplacebtn { border: 1px solid var(--line-2); background: var(--tint); color: var(--ink); border-radius: var(--r-pill); padding: var(--s2) var(--s4); font-size: var(--t-s); cursor: pointer; line-height: var(--lh-s); }
.camplacesel { width: 100%; font-size: var(--t-s); color: var(--ink); background: var(--tint); border: 1px solid var(--line-2); border-radius: var(--r1); padding: var(--s2) var(--s3); outline: none; line-height: var(--lh-s); }
.camground { margin-top: var(--s2); border: 1px solid var(--line-2); background: var(--warn-soft); border-radius: var(--r2); padding: var(--s3) var(--s3); }
.camconsent { font-size: var(--t-xs); line-height: var(--lh-xs); color: var(--ink); }
.camconsent b { font-weight: 600; }
.camglabel { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s2); font-size: var(--t-s); color: var(--ink); cursor: pointer; line-height: var(--lh-s); }
.camretake { border: 1px solid var(--line-2); background: var(--tint); color: var(--ink); border-radius: var(--r-pill); padding: var(--s2) var(--s4); font-size: var(--t-s); cursor: pointer; line-height: var(--lh-s); }
.camuse { border: none; background: var(--tint); color: var(--ink); border-radius: var(--r-pill); padding: var(--s2) var(--s4); font-size: var(--t-s); font-weight: 600; cursor: pointer; line-height: var(--lh-s); }
.camuse:disabled { opacity: .5; }
@keyframes vpulse {
0%,100% { box-shadow: var(--shadow); }
50% { box-shadow: var(--shadow); }
}

/* Completeness: these feed organs were formerly borrowed from welcome's inline sheet. */
*, *::before, *::after { box-sizing: border-box; }
.card, .rows, .ask, .appsheet, #pcard, #kbar, #camsheet {
  font-family: var(--f-ui); color: var(--ink); min-width: 0;
  overflow-wrap: anywhere;
}
.rows, .ask, .appsheet, #pcard, #kbar, #camsheet { font-size: var(--t-m); line-height: var(--lh-m); }
:where(.card, .ask, .appsheet, #pcard, #kbar, #camsheet) :where(button, input, textarea, select) { font-family: var(--f-ui); }
:where(.card, .ask, .appsheet, #pcard, #kbar, #camsheet) :where(a) { color: var(--ink); }
:where(.card, .rows, .ask, .appsheet, #pcard, #kbar, #camsheet) :focus-visible {
  outline: 2px solid var(--focus-ring); outline-offset: 2px;
}
[hidden] { display: none !important; }
::selection, ::-moz-selection { background: var(--pick); color: var(--on-pick); }
.card { box-shadow: var(--pane-edge), var(--shadow); }
.card.hfull { min-width: 0; min-height: 0; }
.card.hfull #hmsgs { min-height: 0; }
#hmsgs { min-width: 0; max-width: 100%; color: var(--ink); font: 400 var(--t-m)/var(--lh-m) var(--f-ui); padding: var(--s5) 0 var(--s2); }
/* The 24px top inset gives the existing scroll mask empty space before the first line. */
#hmsgs { mask-image: linear-gradient(180deg, transparent 0, var(--core) var(--s5)); -webkit-mask-image: linear-gradient(180deg, transparent 0, var(--core) var(--s5)); }
.msgrow { min-width: 0; padding-inline: var(--s2); }
.bub { border-radius: var(--r3); font-size: var(--t-m); line-height: var(--lh-m); min-width: 0; }
.msgrow.cont:not(.me) .bub { border-top-left-radius: var(--r0); }
.msgrow.cont.me .bub { border-top-right-radius: var(--r0); }
/* The immutable script writes 5px bottom corners when it joins consecutive bubbles. */
.bub[style*="border-bottom-left-radius"] { border-bottom-left-radius: var(--r0) !important; }
.bub[style*="border-bottom-right-radius"] { border-bottom-right-radius: var(--r0) !important; }
.me .bub { background: var(--pick); color: var(--on-pick); }
.me .bub :is(.portal, .pmention) { color: var(--on-pick); }
.me .bub .xn { background: color-mix(in srgb, var(--on-pick) 8%, transparent); color: var(--on-pick); }
.me .bub :focus-visible { outline-color: var(--on-pick); }
.bub.wbub { background: transparent; color: var(--ink); }
.bub.ejumbo { color: var(--ink); }
.msgrow.pending .bub, .row.pending { filter: none; }
.msgrow.pending .bub { outline: 1px dashed var(--ink-3); outline-offset: 2px; }
.chip.off { opacity: 1; color: var(--ink-2); }
.chip.off::before { opacity: .45; box-shadow: none; }
.chip, .budcap { max-width: 100%; }
.chip::before, .chip.on::before, .cdot { box-shadow: var(--glow); flex-shrink: 0; }
.hunread { opacity: 1; }
.btime { background: var(--surface); border-radius: var(--r0); padding-inline: 2px; }
.msgrow:focus-within .btime { opacity: 1; }
.portal, .wgl, .pmention { text-decoration: underline; text-underline-offset: 2px; }
.pmention:hover { opacity: 1; }
.emo[data-glyph]:focus-visible, .pmention:focus-visible { outline-color: var(--focus-ring); }
/* Every data label on a lifted well uses the second ink. */
.wg, .wg.hero { color: var(--ink); background: var(--surface); box-shadow: var(--pane-edge), var(--shadow); }
.wgk, .wgs, .wgname, .wgpill, .atile .an2, .csub, .cfk, .cfv, .hsub, .hfs, .heyebrow { color: var(--ink-2); }
.wgpill.ok { background: var(--ok-soft); color: var(--ok); }
.wgg { grid-template-columns: repeat(auto-fit,minmax(min(100%,var(--s9)),1fr)); }
.wgc, .wgi, .wghead, .wgact, .cmeta, .cfv, .cryrow>span, .kres .kn { min-width: 0; }
.wgact, .hfoot, .crow, .cname, .cryrow, .cprow, #hbud { flex-wrap: wrap; }
.wga { flex: 1 1 var(--s8); border: 1px solid var(--ink-3); }
.wgo, .plus, .wtool, .hfullbtn, #pcard .pacts button, .camflip, .camcap, .camplacesel, .camplacebtn, .camretake, .cbtn, .hnew, .rcard {
  border-color: var(--ink-3);
}
.wga.p, #pcard .pacts button.pri, .camuse, .plus.on, #hmic.on {
  background: var(--light); color: var(--on-ink); box-shadow: none;
}
.wga.p, #pcard .pacts button.pri { border-color: transparent; }
.wga.p:hover, .camuse:hover { background: var(--pick); }
.wgo, .wga, .camretake, .camuse, .camplacebtn, .cbtn { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.wgbar i, .budbar i { background: var(--ink-2); }
.hart, .wgmedia { background: var(--stage) !important; }
/* Art remains visible above the text. Opaque text plates make contrast independent of photos. */
.hcontent, .hfoot { background: var(--surface); }
.hscrim { background: linear-gradient(180deg, transparent 30%, var(--scrim) 80%); }
.hglyph { font-size: calc(var(--t-d4) * 2.34375); line-height: 1; }
.hglyph.s { font-size: calc(var(--t-d4) * 1.3125); }
.wgapp, .atile .ai2, .wgav, .wavi:not(.igniv) { background: var(--raised) !important; color: var(--ink); }
.emo.emg { color: inherit !important; }
.wavi.igniv { background: none !important; }
/* Logo pixels, native emoji, and both canvas engines retain their own colours. */
.wavi.igniv img, .emo img, .wgapp img, .ai2 img, img[data-lnk], .siggly { filter: none; }
.wavi.igniv::after { border-color: var(--light); box-shadow: var(--glow); }
@keyframes h-halo {
  0%,100% { transform: perspective(60px) rotateX(58deg) scale(1); opacity: .82; }
  50% { transform: perspective(60px) rotateX(58deg) scale(1.07); opacity: 1; }
}
.h-think { position: relative; display: inline-block; width: var(--t-l); height: var(--t-l); flex: none; vertical-align: middle; }
.h-think.lg { width: var(--s8); height: var(--s8); }
.h-think canvas { display: block; }
#htyping { color: var(--ink-2) !important; }
#htyping .h-scope { font: 400 var(--t-s)/var(--lh-s) var(--f-ui); color: var(--ink-2); gap: var(--s2) !important; }
.hwhisper { background: var(--raised); color: var(--ink); box-shadow: var(--shadow-pop); }
.rx { background: var(--raised); color: var(--ink); box-shadow: var(--shadow); }
.rx.mine { border-color: var(--ink-3); background: var(--tint-2); color: var(--ink); }
.rxrow { flex-wrap: wrap; max-width: calc(100% - var(--s5)); }
.rxbar { max-width: calc(100% - var(--s4)); flex-wrap: wrap; border-color: var(--ink-3); box-shadow: var(--shadow-pop); }
.rxbar button { color: var(--ink); min-width: 0; }
.uppanel { background: var(--raised); box-shadow: var(--pane-edge), var(--shadow-pop); max-height: 60vh; overflow: auto; }
.atray { grid-template-columns: repeat(4,minmax(0,1fr)); }
.atile { min-width: 0; overflow-wrap: anywhere; }
.ask { min-width: 0; flex-wrap: wrap; gap: var(--s2); }
.ask .field { flex: 1 1 var(--s9); min-width: 0; max-width: 100%; }
.ask input { width: 100%; min-width: 0; min-height: var(--reach); border-color: var(--ink-3); }
.ask input:focus { border-color: var(--focus-ring); box-shadow: var(--focus); }
.ask .field>button { right: var(--s1); background: var(--cta); color: var(--cta-ink); box-shadow: var(--cta-shadow); }
.ask input:disabled { opacity: 1; color: var(--ink-2); cursor: not-allowed; }
.plus, .wtool { color: var(--ink-2); }
#hattpend { flex-wrap: wrap; }
.hattchip { flex-shrink: 0; }
.hattx { width: var(--h-xs); height: var(--h-xs); background: var(--sunk); color: var(--ink); }
#hlbx, #camsheet, #pcardbg, #kbg { background: var(--scrim); }
#pcard { max-height: calc(100dvh - var(--s6)); overflow-y: auto; }
#pcard .pacts { flex-wrap: wrap; }
#pcard .pacts button { flex: 1 1 var(--s9); }
#kbar { box-shadow: var(--shadow-pop); animation-name: chat-palette-in; }
/* The old sheetup animation replaced translateX(-50%), moving the palette off centre. */
@keyframes chat-palette-in { from { opacity: 0; transform: translate(-50%,3%); } to { opacity: 1; transform: translate(-50%,0); } }
.kres button { min-width: 0; }
.kres .kk { min-width: var(--h-s); }
.kres .kd { overflow-wrap: anywhere; }
.rcard { flex-wrap: wrap; }
.rcb { flex-basis: 100%; min-width: 0; }
#kq:focus-visible, .camcap:focus-visible, .camplacesel:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.camcap::placeholder { color: var(--ink-2); opacity: 1; }
.camvid { background: var(--sunk); }
.camcard { max-width: 100%; padding-bottom: max(var(--s4),env(safe-area-inset-bottom)); }
.camctl, .camglabel { flex-wrap: wrap; }
.camshut { border-color: var(--ink); background: var(--tint-3); }
.camground { border-color: var(--warn); background: var(--warn-soft); }
.camgtick { accent-color: var(--pick); flex: none; }
.camshut:disabled, .camuse:disabled { opacity: 1; cursor: not-allowed; background: var(--raised); color: var(--ink-2); border-color: var(--ink-3); }
.appbody { min-width: 0; min-height: 0; }
.appbody>div { width: min(100%,340px); min-width: 0; max-width: 100%; }
.apphead .an { min-width: 0; }
.apphead .ax { flex: none; }
.tq { animation: fade calc(var(--d-step) * 15) var(--ease-out) both !important; }
.topt { grid-template-columns: repeat(2,minmax(0,1fr)); }
.topt button { border: 1px solid var(--ink-3); }
.topt button.no { background: var(--bad); color: var(--on-ink); }
.topt button.ok, .topt button.no { border-color: transparent; }
.wdgrid, .wdkb { width: 100%; min-width: 0; }
.wdrow { grid-template-columns: repeat(5,minmax(0,1fr)); }
.wdt { width: 100%; min-width: 0; height: auto; aspect-ratio: 1; border-color: var(--ink-3); }
.wdkr { width: 100%; min-width: 0; justify-content: center; gap: 2px; }
.wdk, .wdk.wide { min-width: 0; flex: 1 1 0; padding: var(--s2) 0; min-height: var(--reach); }
.wdk.wide { flex-grow: 1.4; }
/* Code is the exception to wrapping prose. Its own scroll box retains indentation. */
:where(.bub, .wg, .card, .appbody) pre { max-width: 100%; min-width: 0; overflow: auto; white-space: pre; overflow-wrap: normal; word-break: normal; background: var(--sunk); color: var(--ink); border-radius: var(--r1); padding: var(--s3); font: 400 var(--t-xs)/var(--lh-xs) var(--f-mono); scrollbar-width: thin; }
:where(.bub, .wg, .card, .appbody) pre code { white-space: pre; overflow-wrap: normal; word-break: normal; }
:where(.bub, .wg, .card, .appbody) :not(pre)>code, .cfv.mono { white-space: normal; overflow-wrap: anywhere; font-family: var(--f-mono); }
@media (max-width: 430px) {
  .ask .field { flex-basis: 100%; }
  .ask .plus, .ask .wtool { width: var(--reach); height: var(--reach); }
  .hfoot .wga { min-width: 0; }
}
@media (pointer: coarse) {
  .wgo, .wga, .camretake, .camuse, .camplacebtn, #pcard .pacts button, .cbtn { min-height: var(--reach); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card, .row, .msgrow, .ghost { opacity: 1; transform: none; }
  .wavi.igniv::after { animation: none; }
  #kbar { transform: translateX(-50%); }
}
