/* NanoChat 2.3 Hub */
.happ { position: absolute; inset: 0; display: flex; flex-direction: column; background: linear-gradient(160deg, color-mix(in srgb, var(--a) 22%, #0b0d1c), #0b0d1c 55%); color: var(--txt); z-index: 1; }
html.light .happ { background: linear-gradient(160deg, color-mix(in srgb, var(--a) 14%, #f4f6ff), #f4f6ff 60%); }
.happ .hh { display: flex; align-items: center; gap: 10px; padding: calc(var(--sat, 0px) + 12px) 12px 10px; }
.happ .hh h2 { margin: 0; font-size: 20px; flex: 1; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.happ .hact { display: flex; gap: 6px; }
.hb { min-width: 40px; height: 40px; border-radius: 14px; background: var(--fill); border: 1px solid var(--line); color: var(--txt); display: inline-grid; place-items: center; font-size: 16px; padding: 0 10px; cursor: pointer; }
.hb .i { width: 20px; height: 20px; }
.hb.sm { min-width: 38px; height: 38px; }
.hbody { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 4px 14px calc(var(--sab, 0px) + 22px); position: relative; -webkit-overflow-scrolling: touch; }
.hempty { text-align: center; color: var(--mut); padding: 46px 18px; line-height: 1.6; }
.hnote { color: var(--mut); font-size: 12.5px; text-align: center; margin: 18px 10px 0; }
/* launcher */
.hgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.hgrid.two { margin-top: 4px; }
.htile { position: relative; display: flex; position: relative; inset: auto; z-index: auto; flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: 112px; padding: 14px; border-radius: 22px; text-align: left; color: #fff; overflow: hidden; border: 0; box-shadow: 0 8px 24px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .2s; }
.htile:active { transform: scale(.96); }
.htile i { font-style: normal; font-size: 34px; position: absolute; top: 12px; right: 14px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3)); }
.htile b { font-size: 17px; font-weight: 750; }
.htile small { opacity: .85; font-size: 12px; margin-top: 2px; }
.f1 { background: linear-gradient(135deg, #4facfe, #00c6ff); } .f2 { background: linear-gradient(135deg, #a18cd1, #fbc2eb); } .f3 { background: linear-gradient(135deg, #fa709a, #fee140); }
.f4 { background: linear-gradient(135deg, #f5576c, #8a2be2); } .f5 { background: linear-gradient(135deg, #f77062, #fe5196); } .f6 { background: linear-gradient(135deg, #43e97b, #38b6a0); }
.f7 { background: linear-gradient(135deg, #667eea, #764ba2); } .f8 { background: linear-gradient(135deg, #f6d365, #fda085); }
.hslide { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 14px; margin: 0 -14px 6px; padding-left: 14px; scrollbar-width: none; }
.hslide::-webkit-scrollbar { display: none; }
.hs-card { flex: 0 0 78%; scroll-snap-align: center; padding: 14px; border-radius: 22px; background: linear-gradient(135deg, color-mix(in srgb, var(--a) 40%, transparent), color-mix(in srgb, var(--b) 22%, transparent)); border: 1px solid var(--line); min-height: 124px; display: flex; flex-direction: column; gap: 8px; }
.hs-card p { margin: 0; flex: 1; font-size: 15px; line-height: 1.4; } .hs-card small { color: var(--mut); }
.hs-u { display: flex; align-items: center; gap: 8px; } .hs-u small { margin-left: auto; }
.hs-empty { flex: 0 0 calc(100% - 28px); padding: 26px; text-align: center; color: var(--mut); border-radius: 22px; border: 1px dashed var(--line); }
/* files */
.fbar { display: flex; gap: 8px; align-items: center; } .fbar .fq { flex: 1; min-width: 0; }
.fchips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 6px; scrollbar-width: none; } .fchips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 7px 14px; border-radius: 999px; background: var(--fill); border: 1px solid var(--line); color: var(--txt); font-size: 13.5px; cursor: pointer; }
.chip.on { background: linear-gradient(135deg, var(--a), var(--b)); color: #fff; border-color: transparent; }
.fcrumb { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; color: var(--mut); font-size: 13.5px; min-height: 24px; margin: 2px 0 8px; }
.fcrumb button { color: var(--a); font-weight: 650; } .fcrumb .red, .fsel .red { color: #ff6b81; }
.flist { display: flex; flex-direction: column; gap: 8px; transition: opacity .2s; } .flist.busy { opacity: .5; }
.flist.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.fit { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 16px; background: var(--fill); border: 1px solid var(--line); cursor: pointer; user-select: none; -webkit-user-select: none; }
.fit.sel { outline: 2px solid var(--a); background: color-mix(in srgb, var(--a) 22%, transparent); }
.fth { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .06); display: grid; place-items: center; overflow: hidden; flex: none; position: relative; }
.fth img { width: 100%; height: 100%; object-fit: cover; } .fi { font-size: 26px; } .fth em { position: absolute; top: 1px; right: 3px; font-style: normal; color: #ffd166; font-size: 13px; }
.fck { display: none; position: absolute; inset: 0; place-items: center; background: color-mix(in srgb, var(--a) 70%, transparent); color: #fff; font-weight: 800; text-decoration: none; } .fit.sel .fck { display: grid; }
.fnm { flex: 1; min-width: 0; } .fnm b { display: block; font-size: 14.5px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fnm small { color: var(--mut); font-size: 12px; }
.fmore { width: 32px; height: 32px; color: var(--mut); font-size: 18px; flex: none; }
.flist.grid .fit { flex-direction: column; align-items: stretch; text-align: center; padding: 8px; gap: 6px; }
.flist.grid .fth { width: 100%; height: 84px; } .flist.grid .fi { font-size: 38px; } .flist.grid .fmore { position: absolute; top: 4px; right: 2px; background: rgba(0, 0, 0, .35); border-radius: 50%; width: 26px; height: 26px; font-size: 15px; color: #fff; }
.fstore { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--mut); font-size: 12.5px; }
.fstore i { height: 6px; border-radius: 4px; background: var(--fill); overflow: hidden; } .fstore b { display: block; height: 100%; background: linear-gradient(90deg, var(--a), var(--b)); border-radius: 4px; transition: width .5s; }
.fsel { position: sticky; bottom: 0; display: flex; gap: 8px; align-items: center; margin-top: 12px; padding: 10px 12px; border-radius: 18px; background: color-mix(in srgb, var(--a) 30%, #15182c); border: 1px solid var(--line); backdrop-filter: blur(18px); }
.fsel.hidden { display: none; } .fsel b { flex: 1; } .fsel button { padding: 7px 12px; border-radius: 12px; background: var(--fill); font-weight: 650; }
.fup { display: flex; flex-direction: column; gap: 10px; padding: 4px 4px 12px; } .fup i { height: 8px; border-radius: 5px; background: var(--fill); overflow: hidden; } .fup u { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--a), var(--b)); transition: width .2s; } .fup small { color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mvl { max-height: 42vh; overflow-y: auto; } .haud { display: flex; flex-direction: column; gap: 14px; align-items: center; padding: 6px 0; } .haud i { font-size: 54px; font-style: normal; }
.htxt { white-space: pre-wrap; word-break: break-word; max-height: 55vh; overflow: auto; font: 13px/1.5 ui-monospace, Menlo, monospace; margin: 0; }
.hview { position: absolute; inset: 0; background: #000; display: flex; flex-direction: column; } .hview .hb { position: absolute; top: calc(var(--sat, 0px) + 10px); left: 10px; z-index: 3; } .hv-n { position: absolute; top: calc(var(--sat, 0px) + 18px); left: 60px; right: 12px; color: #fff; font-size: 13px; z-index: 2; text-shadow: 0 1px 6px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-s { flex: 1; display: grid; place-items: center; } .hv-s img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* weaves */
.wtabs { display: flex; gap: 6px; position: sticky; top: 0; z-index: 4; padding: 4px 0 10px; background: transparent; overflow-x: auto; scrollbar-width: none; }
.wtabs button { flex: 1; padding: 9px 12px; border-radius: 999px; background: var(--fill); font-weight: 650; font-size: 13.5px; white-space: nowrap; color: var(--mut); } .wtabs button.on { background: linear-gradient(135deg, var(--a), var(--b)); color: #fff; }
.wtags { display: flex; gap: 8px; margin-bottom: 8px; }
.wcard { padding: 14px; border-radius: 20px; margin-bottom: 10px; background: var(--fill); border: 1px solid var(--line); cursor: pointer; } .wcard.big { background: color-mix(in srgb, var(--a) 16%, var(--fill)); }
.wrb { color: var(--mut); font-size: 12.5px; margin-bottom: 6px; } .wh { display: flex; align-items: center; gap: 10px; } .wn { flex: 1; min-width: 0; } .wn b { display: block; } .wn small { color: var(--mut); }
.wmore { width: 32px; height: 32px; color: var(--mut); font-size: 18px; } .wb { margin: 10px 0 4px; font-size: 15.5px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; } .wcard.big .wb { font-size: 18px; }
.wt, .wm { color: var(--b); font-weight: 600; cursor: pointer; } .wimg { width: 100%; border-radius: 16px; margin-top: 8px; max-height: 340px; object-fit: cover; }
.wq { margin-top: 8px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); } .wq p { margin: 4px 0 0; } .wq small { color: var(--mut); } .wq.gone { color: var(--mut); font-style: italic; }
.wa { display: flex; justify-content: space-between; margin-top: 10px; } .wa button { padding: 6px 10px; border-radius: 12px; color: var(--mut); font-size: 14px; } .wa button.on { color: #ff6b81; } .wa button[data-a=re].on { color: #43e97b; } .wa button[data-a=mark].on { color: #ffd166; } .wa i { font-style: normal; font-size: 13px; }
.wpoll { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; } .wpoll small { color: var(--mut); }
.po { position: relative; display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--a); text-align: left; overflow: hidden; color: var(--txt); } .po u { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--a) 38%, transparent); } .po span, .po b { position: relative; } .po.r { border-color: var(--line); } .po.me { border-color: var(--b); }
.wfab { position: fixed; right: 18px; bottom: calc(var(--sab, 0px) + 22px); width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--a), var(--b)); font-size: 24px; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); z-index: 6; }
.wtools { display: flex; align-items: center; gap: 8px; margin-top: 10px; } .wtools .wc { margin-left: auto; color: var(--mut); font-variant-numeric: tabular-nums; } .wtools button:not(.btn) { padding: 8px 12px; border-radius: 12px; background: var(--fill); }
.wpv { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; } .wpv.hidden { display: none; } .wprev { margin-top: 8px; }
.wrep { margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--line); } .wtr .grow { width: 100%; text-align: left; }
.wmorebtn { width: 100%; margin: 8px 0; }
/* pdf */
.pdfc { position: absolute; inset: 0 0 0 0; overflow: auto; padding: 8px; display: flex; flex-direction: column; align-items: center; gap: 10px; -webkit-overflow-scrolling: touch; }
.pdfp { position: relative; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); flex: none; } .pdfp span { position: absolute; inset: 0; display: grid; place-items: center; color: #bbb; font-size: 28px; } .pdfp canvas { display: block; position: relative; z-index: 1; }
.pdfc.night .pdfp canvas { filter: invert(.9) hue-rotate(180deg); } .pdfc.night .pdfp { background: #222; }
.pdfbar { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(var(--sab, 0px) + 14px); display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-radius: 999px; z-index: 5; }
.pdfbar button { white-space: nowrap; min-width: 36px; height: 36px; border-radius: 18px; padding: 0 10px; font-weight: 700; color: var(--txt); } .pdfpg { white-space: nowrap; padding: 0 8px; font-variant-numeric: tabular-nums; font-size: 13px; }
.hbody:has(.pdfc) { padding: 0; overflow: hidden; }
/* videos */
.vgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; } .vgrid .hempty { grid-column: 1/-1; }
.vcard { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; background: #000; text-align: left; } .vcard video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vcard span { position: absolute; left: 8px; right: 8px; bottom: 20px; color: #fff; font-weight: 650; font-size: 13px; text-shadow: 0 1px 6px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .vcard small { position: absolute; left: 8px; bottom: 6px; color: #ddd; font-size: 11px; }
.vplay, .vshorts, .hcam, .oncev { position: absolute; inset: 0; background: #000; color: #fff; overflow: hidden; touch-action: none; }
.vplay video { width: 100%; height: 100%; object-fit: contain; }
.vtop, .vctl { position: absolute; left: 0; right: 0; padding: 10px 12px; opacity: 0; pointer-events: none; transition: opacity .25s; background: linear-gradient(rgba(0, 0, 0, .65), transparent); display: flex; align-items: center; gap: 8px; }
.vtop { top: 0; padding-top: calc(var(--sat, 0px) + 10px); } .vtop b { flex: 1; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vctl { bottom: 0; flex-direction: column; align-items: stretch; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); padding-bottom: calc(var(--sab, 0px) + 14px); }
.vplay.ui .vtop, .vplay.ui .vctl { opacity: 1; pointer-events: auto; }
.vseek { height: 22px; position: relative; cursor: pointer; } .vseek .vb, .vseek .vp { position: absolute; left: 0; top: 9px; height: 4px; border-radius: 2px; } .vseek .vb { right: 0; background: rgba(255, 255, 255, .3); } .vseek .vp { width: 0; background: linear-gradient(90deg, var(--a), var(--b)); }
.vrow { display: flex; align-items: center; gap: 4px; } .vrow button { min-width: 38px; height: 38px; color: #fff; font-size: 14px; } .vrow .big { font-size: 22px; } .vt { flex: 1; text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; opacity: .85; }
.vhint { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%) scale(.9); padding: 10px 18px; border-radius: 16px; background: rgba(0, 0, 0, .6); font-weight: 700; opacity: 0; transition: .2s; pointer-events: none; text-align: center; max-width: 80%; } .vhint.on { opacity: 1; transform: translate(-50%, -50%); }
.vshorts .vx { position: absolute; top: calc(var(--sat, 0px) + 10px); left: 10px; z-index: 5; background: rgba(0, 0, 0, .4); }
.vfeed { position: absolute; inset: 0; overflow-y: auto; scroll-snap-type: y mandatory; touch-action: pan-y; } .vfeed section { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; } .vfeed video { width: 100%; height: 100%; object-fit: cover; }
.vcap { position: absolute; left: 16px; right: 80px; bottom: calc(var(--sab, 0px) + 28px); text-shadow: 0 1px 8px #000; } .vheart { position: absolute; inset: 0; display: grid; place-items: center; font-size: 110px; opacity: 0; pointer-events: none; } .vheart.go { animation: hh .8s ease-out; } @keyframes hh { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(1.15); } 100% { opacity: 0; transform: scale(1.5) translateY(-60px); } }
/* camera */
.hcam canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .hcam .cx { position: absolute; top: calc(var(--sat, 0px) + 10px); left: 10px; background: rgba(0, 0, 0, .4); } .hcam .cf { position: absolute; top: calc(var(--sat, 0px) + 10px); right: 10px; background: rgba(0, 0, 0, .4); }
.hcam.flash::after { content: ''; position: absolute; inset: 0; background: #fff; opacity: .85; }
.cflt { position: absolute; left: 0; right: 0; bottom: calc(var(--sab, 0px) + 150px); display: flex; gap: 10px; overflow-x: auto; padding: 4px 14px; scrollbar-width: none; } .cflt::-webkit-scrollbar { display: none; }
.cflt button { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: #fff; text-shadow: 0 1px 4px #000; } .cflt i { width: 48px; height: 48px; border-radius: 50%; background: conic-gradient(#ff6b81, #ffd166, #43e97b, #4facfe, #a18cd1, #ff6b81); border: 2px solid rgba(255, 255, 255, .5); } .cflt .on i { border-color: #fff; box-shadow: 0 0 0 3px var(--a); }
.cbar { position: absolute; left: 0; right: 0; bottom: calc(var(--sab, 0px) + 106px); display: flex; justify-content: center; gap: 18px; } .cbar button { color: #ddd; font-weight: 700; text-shadow: 0 1px 4px #000; padding: 4px 10px; } .cbar .on { color: #ffd166; }
.cshot { position: absolute; left: 50%; bottom: calc(var(--sab, 0px) + 24px); transform: translateX(-50%); width: 72px; height: 72px; border-radius: 50%; border: 5px solid #fff; background: rgba(255, 255, 255, .25); } .cshot.vid { background: rgba(255, 60, 70, .8); } .cshot.rec { border-radius: 18px; width: 58px; height: 58px; background: #ff3b4e; }
.ctm { position: absolute; top: calc(var(--sat, 0px) + 20px); left: 50%; transform: translateX(-50%); font-weight: 700; text-shadow: 0 1px 6px #000; }
/* chat extras */
.onceb { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 140, 60, .35), rgba(255, 60, 120, .3)); text-align: left; color: inherit; min-width: 190px; } .onceb span { font-size: 26px; } .onceb b { display: block; } .onceb small { opacity: .75; } .onceb.done { opacity: .6; filter: grayscale(.6); }
.oncev .ov { position: absolute; inset: 0; display: grid; place-items: center; } .oncev img, .oncev video { max-width: 100%; max-height: 100%; } .oncev .oc { position: absolute; top: calc(var(--sat, 0px) + 16px); left: 50%; transform: translateX(-50%); padding: 8px 16px; border-radius: 20px; background: rgba(0, 0, 0, .6); z-index: 3; }
.flame { color: #ff9a3c; font-size: 12px; font-weight: 800; } .flame.risk { animation: flr 1.2s infinite; } @keyframes flr { 50% { opacity: .35; } }
/* gestures */
.hubb { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; margin-right: 8px; color: var(--txt); }
.gscrim { position: absolute; inset: 0; z-index: 40; background: rgba(0, 0, 0, .0); transition: background .3s; } .gscrim.in { background: rgba(0, 0, 0, .45); }
.gpanel { position: absolute; z-index: 41; padding: 16px; color: var(--txt); transition: transform .38s cubic-bezier(.22, 1, .36, 1), opacity .3s; opacity: 0; }
.gpanel.in { transform: none !important; opacity: 1; }
.gpanel.top { left: 10px; right: 10px; top: calc(var(--sat, 0px) + 8px); border-radius: 26px; transform: translateY(-40%); max-width: 520px; margin: 0 auto; }
.gpanel.bottom { left: 10px; right: 10px; bottom: calc(var(--sab, 0px) + 10px); border-radius: 26px; transform: translateY(40%); max-width: 520px; margin: 0 auto; }
.gpanel.left { left: 8px; top: calc(var(--sat, 0px) + 60px); bottom: calc(var(--sab, 0px) + 60px); width: min(320px, 84vw); border-radius: 26px; transform: translateX(-30%); overflow-y: auto; }
.gpanel.right { right: 8px; top: calc(var(--sat, 0px) + 60px); bottom: calc(var(--sab, 0px) + 60px); width: min(340px, 88vw); border-radius: 26px; transform: translateX(30%); overflow-y: auto; }
.gh { text-align: center; color: var(--mut); font-size: 11.5px; margin-top: 10px; } .gpanel h3 { margin: 0 0 12px; }
.gtiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .gtiles button, .gq button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border-radius: 20px; background: var(--fill); border: 1px solid var(--line); font-size: 12px; color: var(--txt); } .gtiles button.on { background: linear-gradient(135deg, var(--a), var(--b)); color: #fff; } .gtiles i, .gq i { font-style: normal; font-size: 24px; }
.gq { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gmus { margin-top: 12px; padding: 12px 14px; border-radius: 18px; background: var(--fill); } .gmus b { display: block; } .gmus small { color: var(--mut); } .gmus div { display: flex; gap: 6px; margin-top: 8px; } .gmus button { flex: 1; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.gstore { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--mut); } .gstore i { height: 6px; border-radius: 4px; background: var(--fill); overflow: hidden; } .gstore b { display: block; height: 100%; background: linear-gradient(90deg, var(--a), var(--b)); width: 0; }
.gwi { padding: 10px 12px; border-radius: 16px; background: var(--fill); margin-bottom: 8px; cursor: pointer; } .gwi p { margin: 4px 0; font-size: 14px; } .gwi small { color: var(--mut); } .gwv .btn { width: 100%; margin-top: 4px; }
.hpick .grow { width: 100%; text-align: left; }
.gpanel.glass { background: rgba(250, 251, 255, .9); backdrop-filter: blur(28px) saturate(1.4); -webkit-backdrop-filter: blur(28px) saturate(1.4); }
html:not(.light) .gpanel.glass { background: rgba(22, 24, 46, .92); }
html:not(.light) .happ { background: linear-gradient(160deg, color-mix(in srgb, var(--a) 22%, #0b0d1c), #0b0d1c 55%); }
.hemb { background: #fff; } .hemb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.hemb-ld { position: absolute; inset: 0; display: grid; place-items: center; color: #667; background: #fff; pointer-events: none; }

/* 2.5 auth */
.pwwrap { position: relative; display: block; width: 100%; } .pwwrap > input { width: 100%; padding-right: 46px !important; }
.pweye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 18px; width: 38px; height: 38px; cursor: pointer; opacity: .75; color: inherit; }
.login .forgot { text-align: right; margin: -2px 4px 6px; font-size: 13px; } .login .forgot a { color: var(--acc, #2d6cff); text-decoration: none; font-weight: 600; }
.vwrap { display: grid; gap: 10px; padding: 0 6px 6px; } .vcode { text-align: center; font-size: 24px; letter-spacing: 8px; font-weight: 700; }
.lgck.shake { animation: lgshake .5s; outline: 2px solid #ff6b6b; border-radius: 12px; } @keyframes lgshake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.legal .lgck { padding: 8px; cursor: pointer; } .legal .lgck input { width: 22px; height: 22px; flex: none; }
/* 2.7 gesture handles */
#gHandles { position: fixed; inset: 0; z-index: 80; pointer-events: none; } #gHandles.hide { display: none; }
.gh-zone { position: absolute; pointer-events: auto; touch-action: none; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; user-select: none; }
.gh-zone.hide { display: none; }
.gh-zone i { display: block; border-radius: 4px; background: var(--txt); opacity: 0; transition: opacity .25s, transform .12s; }
.gh-zone.vis i { opacity: .28; } .gh-zone.grab i, .gh-zone.pulse i { opacity: .8; background: var(--a); }
.gh-zone.top { left: 50%; margin-left: -85px; top: calc(var(--sat, 0px) + 6px); } .gh-zone.top i, .gh-zone.bottom i { width: 56px; height: 4px; }
.gh-zone.bottom { left: 50%; margin-left: -85px; bottom: calc(var(--sab, 0px) + 150px); }
.gh-zone.left { left: 22px; top: 50%; margin-top: -70px; } .gh-zone.right { right: 22px; top: 50%; margin-top: -70px; } .gh-zone.left i, .gh-zone.right i { width: 4px; height: 48px; }
.gh-zone.pulse i { box-shadow: 0 0 0 0 var(--a); animation: ghp 1.1s infinite; } .gh-zone.nudge i { opacity: .9; }
@keyframes ghp { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--a) 70%, transparent); } 100% { box-shadow: 0 0 0 16px transparent; } }
#gTut { position: fixed; inset: 0; z-index: 70; pointer-events: none; display: grid; place-items: center; padding: 20px; transition: opacity .25s; } #gTut.quiet { opacity: 0; }
.gt-card { pointer-events: auto; max-width: 340px; padding: 20px; border-radius: 26px; text-align: center; color: var(--txt); background: rgba(250, 251, 255, .94); backdrop-filter: blur(24px); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
html:not(.light) .gt-card { background: rgba(22, 24, 46, .95); } .gt-card h3 { margin: 0 0 8px; } .gt-card p { margin: 6px 0; line-height: 1.4; } .gt-s { color: var(--mut); font-size: 13px; }
.gt-b { display: grid; gap: 8px; margin-top: 14px; } .gt-b button:not(.btn) { padding: 10px; color: var(--mut); }
.gt-card { align-self: center; } .gt-card.top { align-self: start; margin-top: 80px; } .gt-card.bottom { align-self: end; margin-bottom: 190px; } .gt-card.mid { align-self: center; }
.gsel { background: var(--fill); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; color: var(--txt); font-size: 14px; max-width: 150px; }
