/* Language Book Messenger: sign-in, chat, announcements, calls, sheets, banners, call screen. */

/* sign-in */
.scr.auth > .body:first-child { padding-top: calc(var(--sat) + 22px); }
.gate { display: flex; flex-direction: column; gap: 12px; padding-bottom: calc(var(--sab) + 24px); }
.brandrow { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.brandrow b { font-size: 22px; font-weight: 800; flex: 1; letter-spacing: -.01em; }
.chip { display: inline-flex; gap: 5px; align-items: center; font-size: 13px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 6px 12px; border-radius: 20px; }
.chip .ic { width: 14px; height: 14px; }
.gate-h { font-size: 32px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 0; line-height: 1.15; }
.gate-p { margin: 0 0 6px; color: var(--tx2); font-size: 16px; line-height: 1.5; }
.flabel { font-size: 14px; font-weight: 600; color: var(--tx2); margin-top: 4px; }
.utabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin-top: 8px; }
.utabs button { display: flex; gap: 8px; align-items: center; padding: 12px 2px; font-weight: 700; font-size: 16px; color: var(--tx3); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.utabs button.on { color: var(--accent-text); border-color: var(--accent); }
.utabs .ic { width: 18px; height: 18px; }
.inp { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 14px; height: 56px; }
.inp:focus-within { border-color: var(--accent); }
.inp .ic { width: 20px; height: 20px; color: var(--tx3); }
.inp input, .inp select { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--tx); font: inherit; font-size: 16.5px; }
.inp select { flex: none; font-size: 15px; height: 100%; padding-right: 6px; border-right: 1px solid var(--line); }
.inp select option { background: var(--card); color: var(--tx); }
.listcheck { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; }
.listcheck.ok { background: var(--green-soft); color: var(--green); }
.listcheck.no { background: var(--accent-soft); color: var(--accent-text); }
.listcheck .ic { width: 18px; height: 18px; stroke-width: 2.6; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border-radius: 16px; font-weight: 700; font-size: 17px; width: 100%; text-align: center !important; }
.btn:active { opacity: .88; }
.btn .ic { width: 19px; height: 19px; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.google, .btn.dark { background: var(--card); color: var(--tx); border: 1px solid var(--line); }
.btn.google .g { width: 20px; height: 20px; }
.btn.green { background: var(--green); color: #fff; }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--red); }
.btn.sm { height: 38px; width: auto; padding: 0 16px; font-size: 14.5px; border-radius: 12px; flex: none; }
.btn.sm .ic { width: 16px; height: 16px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--tx3); font-size: 14px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gate-foot { text-align: center; color: var(--tx2); font-size: 15px; margin: 10px 0 0; }
.linkbtn { color: var(--accent-text) !important; font-size: 15.5px; font-weight: 600; align-self: center; display: inline-flex; gap: 4px; align-items: center; padding: 6px; }
.linkbtn.inline { display: inline; padding: 0; font-weight: 700; }
.linkbtn.sm { font-size: 14px; padding: 0; }
.linkbtn .ic { width: 16px; height: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.card.pad { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.gate-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; margin: 4px 0 6px; }
.gate-hero h1 { margin: 10px 0 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.gate-hero p { margin: 0; color: var(--tx2); font-size: 15.5px; max-width: 290px; line-height: 1.45; }
.hero-ico { width: 60px; height: 60px; border-radius: 18px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-text); }
.hero-ico .ic { width: 28px; height: 28px; }
.okcard { display: flex; gap: 12px; align-items: center; background: var(--green-soft); border-radius: 14px; padding: 12px 14px; }
.okcard .ic { width: 22px; height: 22px; color: var(--green); stroke-width: 2.6; }
.okcard b { display: block; font-size: 15px; }
.okcard small { color: var(--tx2); font-size: 13px; }
.otp { width: 100%; height: 58px; background: var(--card2); border: 1px solid var(--line); border-radius: 14px; text-align: center; font-family: var(--mono); font-size: 28px; letter-spacing: .45em; padding-left: .45em; color: var(--tx); outline: 0; }
.otp:focus { border-color: var(--accent); }
.kvline { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--tx2); }
.kvline b { color: var(--tx); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.err { margin: 0; color: var(--red); font-size: 13.5px; line-height: 1.35; }
.hint { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--tx2); flex-wrap: wrap; }
.codechip { font-family: var(--mono); font-size: 13px; color: var(--tx) !important; background: var(--card) !important; padding: 5px 10px !important; border-radius: 8px; border: 1px dashed var(--tx3) !important; }
.fine { font-size: 12.5px; color: var(--tx3); text-align: center; margin: 4px 8px 0; line-height: 1.45; display: flex; gap: 6px; justify-content: center; align-items: flex-start; }
.fine .ic { width: 14px; height: 14px; margin-top: 1px; }
.fine.center { margin-top: 22px; }
.lead { color: var(--tx2); font-size: 14.5px; margin: 0 0 12px; line-height: 1.45; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* chat */
.thread .chat-body { background: var(--chat-bg); padding: 8px 12px 14px; }
.e2e { display: flex; gap: 6px; align-items: center; justify-content: center; font-size: 12px; color: var(--tx2); background: var(--card); border: 1px solid var(--line); padding: 6px 10px; border-radius: 10px; margin: 8px auto 4px; max-width: 92%; width: fit-content; text-align: center; }
.e2e .ic { width: 13px; height: 13px; }
.daysep { text-align: center; font-size: 12px; color: var(--tx2); margin: 14px 0 6px; font-weight: 600; }
.daysep span { font-weight: 400; }
.sysmsg { display: flex; gap: 6px; justify-content: center; align-items: center; font-size: 12.5px; color: var(--tx2); margin: 10px 16px; text-align: center; line-height: 1.4; }
.sysmsg .ic { width: 14px; height: 14px; }
.sysmsg.takeover, .sysmsg.resume { color: var(--violet); }
.aibar { display: flex; align-items: center; gap: 10px; padding: 9px 12px 9px 14px; background: var(--violet-soft); color: var(--violet); font-size: 13.5px; font-weight: 600; border-bottom: 1px solid var(--line); }
.aibar .ic { width: 16px; height: 16px; }
.aibar span { flex: 1; }
.aibar button { background: var(--violet); color: #fff; border-radius: 16px; padding: 7px 13px; font-size: 13px; font-weight: 700; flex: none; }
.aibar.manual { background: var(--card); color: var(--tx2); }
.aibar.manual button { background: var(--accent); }
.aibar.red { background: var(--accent-soft); color: var(--red); }
.aibar.red button { background: var(--red); }
.pulse { animation: pulseBtn 1s ease 4; }
@keyframes pulseBtn { 50% { transform: scale(1.12); } }
.mrow { display: flex; flex-direction: column; margin-top: 2px; }
.mrow.gs { margin-top: 9px; }
.mrow.out { align-items: flex-end; }
.mrow.in { align-items: flex-start; }
.bub { max-width: 80%; padding: 8px 13px; border-radius: 18px; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; text-align: left; }
.in .bub { background: var(--bin); border: 1px solid var(--bin-line); color: var(--tx); }
.out .bub { background: var(--bout); color: #fff; }
.mrow.out.ge .bub { border-bottom-right-radius: 6px; }
.mrow.in.ge .bub { border-bottom-left-radius: 6px; }
.mrow.ai.in .bub { background: var(--violet-soft); border-color: transparent; }
.mrow.ai.out .bub { background: #6d45d6; }
.blabel { font-size: 11.5px; font-weight: 600; color: var(--tx2); margin: 0 10px 3px; display: flex; align-items: center; gap: 4px; }
.blabel.ai { color: var(--violet); }
.blabel .ic { width: 12px; height: 12px; }
.bmeta { font-size: 11px; color: var(--tx3); margin: 3px 8px 0; font-variant-numeric: tabular-nums; }
.bub.jumbo { background: none !important; border: 0 !important; font-size: 42px; padding: 0 2px; line-height: 1.1; }
.bub.img { padding: 0; overflow: hidden; background: var(--card) !important; max-width: 68%; display: block; }
.bub.img img { display: block; width: 100%; max-height: 260px; object-fit: cover; }
.bub.file { display: flex; gap: 10px; align-items: center; min-width: 196px; }
.fico { width: 38px; height: 46px; border-radius: 8px; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent-text); }
.out .fico { background: #fff; color: var(--accent); }
.fmeta { min-width: 0; }
.fmeta b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.fmeta small { font-size: 12px; opacity: .78; }
.bub.voice { display: flex; align-items: center; gap: 9px; padding: 7px 12px 7px 7px; min-width: 206px; }
.vplay { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--accent); color: #fff; }
.out .vplay { background: #fff; color: var(--accent); }
.vplay .ic { width: 15px; height: 15px; }
.vwave { display: flex; align-items: center; gap: 2px; height: 26px; flex: 1; }
.vwave i { flex: 1; min-width: 2px; max-width: 3px; border-radius: 2px; background: currentColor; opacity: .38; }
.vwave i.on { opacity: 1; }
.vdur { font-size: 12.5px; font-variant-numeric: tabular-nums; opacity: .85; min-width: 30px; text-align: right; }
.bub.call { display: flex; gap: 10px; align-items: center; }
.cico { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; flex: none; }
.in .cico { background: var(--green-soft); color: var(--green); }
.bub.call.missed .cico { background: var(--accent-soft); color: var(--red); }
.cico .ic { width: 17px; height: 17px; }
.cmeta b { display: block; font-size: 15px; }
.cmeta small { font-size: 12.5px; opacity: .78; }
.bub.gone { font-size: 13px; color: var(--tx2) !important; display: flex; gap: 6px; align-items: center; }
.bub.typing { display: flex; gap: 4px; padding: 12px 14px; }
.bub.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--tx3); animation: blink 1.2s infinite; }
.bub.typing i:nth-child(2) { animation-delay: .15s; }
.bub.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
.empty-chat { text-align: center; color: var(--tx2); font-size: 14px; padding: 22px 12px; }

/* composer */
.cwrap { flex: none; padding: 8px 10px calc(max(var(--sab), 8px)); background: var(--card); border-top: 1px solid var(--line); }
.composer { display: flex; align-items: flex-end; gap: 8px; }
.cbtn { width: 40px; height: 40px; border-radius: 20px; display: grid; place-items: center; flex: none; color: var(--tx2); }
.cbtn .ic { width: 22px; height: 22px; }
.cbtn.plus { background: var(--card2); border: 1px solid var(--line); }
.cbtn.aisug { background: var(--violet-soft); color: var(--violet); }
.cfield { flex: 1; min-width: 0; display: flex; align-items: flex-end; gap: 6px; background: var(--card2); border: 1px solid var(--line); border-radius: 21px; padding: 3px 3px 3px 14px; min-height: 42px; }
.cfield textarea { flex: 1; min-width: 0; align-self: center; resize: none; border: 0; outline: 0; background: none; color: var(--tx); font: inherit; font-size: 16px; line-height: 1.3; max-height: 110px; padding: 7px 0; display: block; }
.cfield .cbtn.go { width: 34px; height: 34px; }
.cbtn.go.send { background: var(--accent); color: #fff; }
.cbtn.go.send .ic { width: 18px; height: 18px; stroke-width: 2.6; }
.composer.off { justify-content: center; align-items: center; color: var(--tx2); font-size: 14px; padding: 10px; gap: 8px; }
.composer.off .ic { width: 16px; height: 16px; }
.recbar { display: flex; align-items: center; gap: 8px; height: 42px; }
.recdot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: rec 1s infinite; flex: none; }
@keyframes rec { 50% { opacity: .3; } }
.rectime { font-variant-numeric: tabular-nums; font-size: 15px; min-width: 36px; }
.reclive { flex: 1; display: flex; align-items: center; gap: 2px; height: 28px; }
.reclive i { flex: 1; min-width: 2px; background: var(--red); border-radius: 2px; height: 10%; }

/* announcements */
.upd { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px; margin-bottom: 12px; }
.upd.pinned { border-color: var(--accent); }
.upd header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.upd header b { display: flex; align-items: center; gap: 5px; font-size: 16px; }
.upd header small { color: var(--tx2); font-size: 13px; display: flex; align-items: center; gap: 5px; }
.upd header .tag { margin-left: auto; }
.upd p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.upd-img { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: 14px; margin-top: 12px; }
.upd footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 13px; color: var(--tx2); }
.upd footer > span { display: flex; align-items: center; gap: 5px; }
.upd footer .ic { width: 14px; height: 14px; }
.upd footer .hs { width: 12px; height: 12px; color: var(--accent-text); margin: 0 2px 0 4px; vertical-align: -2px; }
.newdot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }
.thanks { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 18px; font-size: 14px; font-weight: 600; color: var(--tx2); border: 1px solid var(--line); }
.thanks .ic { width: 16px !important; height: 16px !important; }
.thanks.on { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }
.meter { height: 4px; border-radius: 2px; background: var(--line); margin-top: 8px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--green); transition: width .6s ease; }
.pintag { margin-bottom: 8px; }
.upd-act { display: flex; justify-content: flex-end; margin-top: 6px; }
.upd-act .linkbtn .ic { width: 14px; height: 14px; }
.card.bc { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.card.bc textarea { background: var(--card2); border: 1px solid var(--line); border-radius: 12px; color: var(--tx); font: inherit; font-size: 16px; padding: 10px 12px; resize: none; outline: 0; line-height: 1.4; }
.card.bc textarea:focus { border-color: var(--accent); }
.tpls { display: flex; gap: 6px; flex-wrap: wrap; }
.chipbtn { font-size: 13px; padding: 6px 11px !important; border-radius: 14px; background: var(--card2) !important; border: 1px solid var(--line) !important; }
.bc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bc-tools { display: flex; align-items: center; gap: 6px; }
.nav-ico.sm { width: 38px; height: 38px; border-radius: 12px; background: var(--card2); color: var(--tx); border: 1px solid var(--line); }
.nav-ico.sm .ic { width: 19px; height: 19px; }
.pinbtn { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 12px; border-radius: 12px; background: var(--card2); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.pinbtn .ic { width: 15px; height: 15px; }
.bc-prev { position: relative; }
.bc-prev img { display: block; width: 100%; max-height: 180px; object-fit: cover; border-radius: 12px; }

/* calls */
.favs { display: flex; gap: 14px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width: none; }
.favs::-webkit-scrollbar { display: none; }
.fav { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 64px; font-size: 13px; font-weight: 500; color: var(--tx); text-align: center; }
.fav > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.row.crow b { display: block; font-size: 16px; }
.row.crow b.red { color: var(--red); }
.cmeta2 { display: flex; align-items: center; gap: 5px; font-size: 13.5px; color: var(--tx2); }
.cmeta2 .ic { width: 14px; height: 14px; }
.cmeta2 .ic.red { color: var(--red); } .cmeta2 .ic.ok { color: var(--green); }
.callbtn { width: 42px; height: 42px; border-radius: 21px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.callbtn .ic { width: 18px; height: 18px; }

/* invites */
.row.inv { align-items: flex-start; }
.inv-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; flex: none; margin-top: 2px; }
.inv-ic .ic { width: 17px; height: 17px; }
.row.inv code { font-family: var(--mono); font-size: 12px; color: var(--accent-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.row.inv .nav-ico { width: 36px; height: 36px; align-self: center; background: var(--card2); color: var(--tx2); }
.row.inv.off { opacity: .55; }
.row.inv.off code { color: var(--tx2); text-decoration: line-through; }
.row-h .linkbtn { align-self: auto; }

/* banners, sheets, toast */
.banners { position: absolute; left: 8px; right: 8px; top: calc(var(--sat) + 4px); z-index: 50; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.banner { pointer-events: auto; display: flex; gap: 10px; align-items: center; width: 100%; padding: 11px 12px; border-radius: 18px; background: var(--card); color: var(--tx); border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(15, 18, 26, .22); text-align: left; animation: bnIn .35s ease both; }
.banner.bye { animation: bnOut .3s ease both; }
@keyframes bnIn { from { transform: translateY(-120%); opacity: 0; } }
@keyframes bnOut { to { transform: translateY(-120%); opacity: 0; } }
.bn-ico { flex: none; display: block; }
.bn-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bn-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--tx2); text-transform: uppercase; letter-spacing: .02em; }
.bn-top b { font-weight: 600; }
.bn-top time { text-transform: none; }
.banner strong { font-size: 15px; }
.bn-body { font-size: 14.5px; color: var(--tx2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.bn-mega { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; color: #fff; }
.bn-mega.red { background: var(--red); }
.bn-mega .ic { width: 19px; height: 19px; }
.sheets { position: absolute; inset: 0; z-index: 60; pointer-events: none; }
.sheets.open { pointer-events: auto; }
.sheet-bg { position: absolute; inset: 0; background: rgba(10, 12, 18, .45); opacity: 0; transition: opacity .25s; }
.sheets.open .sheet-bg { opacity: 1; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--bg); border-radius: 20px 20px 0 0; padding: 16px 16px calc(var(--sab) + 16px); transform: translateY(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); max-height: 88%; overflow-y: auto; }
.sheets.open .sheet { transform: none; }
.sheet.bare { background: none; padding: 8px 8px calc(var(--sab) + 8px); display: flex; flex-direction: column; gap: 8px; }
.sheet.center { left: 50%; right: auto; top: 50%; bottom: auto; width: 272px; transform: translate(-50%, -50%) scale(1.06); opacity: 0; border-radius: 16px; padding: 0; transition: transform .2s, opacity .2s; background: var(--card); }
.sheets.open .sheet.center { transform: translate(-50%, -50%); opacity: 1; }
.agroup { background: var(--card); border-radius: 16px; overflow: hidden; }
.aitem { display: block; width: 100%; text-align: center !important; padding: 15px; font-size: 17px; color: var(--accent-text) !important; border-top: 1px solid var(--line2) !important; }
.agroup > :first-child { border-top: 0 !important; }
.aitem.bold { font-weight: 700; }
.aitem.danger { color: var(--red) !important; }
.atitle { text-align: center; font-size: 13px; color: var(--tx2); padding: 12px 16px; line-height: 1.4; }
.aitem.left { text-align: left !important; display: flex; flex-direction: column; gap: 2px; padding: 11px 16px; font-size: 16px; color: var(--tx) !important; }
.aitem.left small { font-size: 12.5px; color: var(--tx2); }
.aitem.cur { background: var(--accent-soft) !important; }
.alert { text-align: center; padding: 18px 16px 0; }
.alert b { font-size: 17px; }
.alert p { font-size: 13.5px; color: var(--tx2); margin: 6px 0 16px; line-height: 1.4; }
.alert .aitem { margin: 0 -16px; width: calc(100% + 32px); border-top: 1px solid var(--line2) !important; }
.form-sheet { display: flex; flex-direction: column; gap: 12px; }
.fs-h { display: flex; justify-content: space-between; align-items: center; }
.fs-h b { font-size: 18px; }
.fs-h .linkbtn { align-self: auto; padding: 0; }
.linkbox { background: var(--card); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); }
.linkbox code { font-family: var(--mono); font-size: 13.5px; color: var(--accent-text); overflow-wrap: anywhere; }
.linkbox small { color: var(--tx2); font-size: 12px; }
.steps { display: flex; flex-direction: column; gap: 10px; }
.steps div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.steps b { display: block; font-size: 15px; margin-bottom: 2px; }
.steps span { font-size: 14px; color: var(--tx2); line-height: 1.4; }
.gsheet { display: flex; flex-direction: column; gap: 2px; }
.gs-h { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 8px; text-align: center; }
.gs-h .g { width: 28px; height: 28px; }
.gs-h b { font-size: 19px; }
.gs-h small { color: var(--tx2); font-size: 14px; }
.gacct { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 12px; text-align: left; width: 100%; }
.gacct:hover { background: var(--card); }
.gav { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; font-weight: 700; flex: none; }
.gacct b { display: block; font-size: 15px; font-weight: 600; }
.gacct small { color: var(--tx2); font-size: 13px; }
.gacct.other { border-top: 1px solid var(--line); border-radius: 0; margin-top: 4px; padding-top: 12px; }
.gacct.other input { flex: 1; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; height: 42px; padding: 0 10px; color: var(--tx); font: inherit; font-size: 15px; outline: 0; }
.gs-note { font-size: 12px; color: var(--tx3); text-align: center; margin: 8px 0 0; }
.msheet { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.msheet > b { font-size: 20px; margin-top: 6px; }
.msheet > small { color: var(--tx2); font-size: 14px; }
.kvs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; margin: 12px 0 6px; }
.kvs div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; display: flex; flex-direction: column; gap: 2px; }
.kvs span { font-size: 11.5px; color: var(--tx2); }
.kvs b { font-size: 13.5px; overflow-wrap: anywhere; }
.msheet .stack { width: 100%; }
.toast { position: absolute; left: 50%; bottom: calc(var(--sab) + 96px); transform: translateX(-50%); z-index: 70; background: #20232b; color: #fff; padding: 10px 16px; border-radius: 20px; font-size: 14px; width: max-content; max-width: 86%; text-align: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); pointer-events: none; overflow-wrap: anywhere; }
.toast.show { animation: toastIn .22s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } }

/* lightbox + call screen */
.overlay { position: absolute; inset: 0; z-index: 55; }
.overlay.lb { background: rgba(0, 0, 0, .94); }
.lightbox { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; }
.lightbox img { max-width: 100%; max-height: 78%; border-radius: 8px; }
.lb-x { position: absolute; top: calc(var(--sat) + 8px); right: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; display: grid; place-items: center; }
.bc-prev .lb-x { top: 8px; right: 8px; background: rgba(0, 0, 0, .5); }
.lb-x .ic { width: 18px; height: 18px; }
.callscr { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: calc(var(--sat) + 30px) 24px calc(var(--sab) + 40px); background: linear-gradient(180deg, #6a1022 0%, #2a0a12 60%, #140709 100%); color: #fff; text-align: center; }
.callscr.active { background: linear-gradient(180deg, #13402b 0%, #0d1f17 60%, #080c0a 100%); }
.call-top { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.call-top .ic { width: 13px; height: 13px; }
.call-av { position: relative; margin-top: 44px; display: grid; place-items: center; }
.call-av i { position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .22); animation: ringOut 2s infinite; }
.call-av i + i { animation-delay: 1s; }
.callscr.active .call-av i { display: none; }
@keyframes ringOut { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }
.call-name { font-size: 28px; font-weight: 700; margin-top: 28px; }
.call-sub { font-size: 16px; color: rgba(255, 255, 255, .72); margin-top: 6px; font-variant-numeric: tabular-nums; }
.call-eq { display: flex; gap: 4px; align-items: center; height: 40px; margin-top: 26px; }
.call-eq i { width: 4px; height: 30%; border-radius: 2px; background: #4ade80; animation: eq 1s ease-in-out infinite; }
.call-eq i:nth-child(2n) { animation-delay: -.3s; } .call-eq i:nth-child(3n) { animation-delay: -.6s; }
@keyframes eq { 50% { height: 100%; } }
.call-ctrls { margin-top: auto; display: flex; gap: 30px; justify-content: center; width: 100%; }
.incoming .call-ctrls { justify-content: space-between; padding: 0 18px; }
.cc { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; }
.cbig { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.cbig .ic { width: 27px; height: 27px; }
.cbig.red { background: #e5383b; } .cbig.green { background: #22c55e; }
.cbig.glass { background: rgba(255, 255, 255, .16); }
.cbig.glass.on { background: #fff; color: #111; }
.ic.hang { transform: rotate(135deg); }

@media (prefers-reduced-motion: reduce) {
  .app *, .app *::before, .app *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* delete for everyone + admin profiles */
.bub { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.mrow.sel .bub { outline: 3px solid var(--accent); outline-offset: 2px; }
.av.photo { overflow: hidden; background: var(--card2); }
.av.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pe-photo { display: flex; align-items: center; gap: 16px; padding: 4px 0 6px; }
.pe-btns { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ta { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 14px; color: var(--tx); font: inherit; font-size: 16px; padding: 12px 14px; resize: none; outline: 0; line-height: 1.4; }
.ta:focus { border-color: var(--accent); }
.editlink { font-size: 13.5px; font-weight: 700; color: var(--accent-text); flex: none; }
.sec-note { font-size: 11.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--tx3); }
.linkbtn.danger { color: var(--red) !important; }
.linkbtn.bold { font-weight: 800; }
.upd-act { gap: 14px; }
.msheet .about { margin: 6px 12px 0; font-size: 15px; color: var(--tx2); line-height: 1.45; }
.kvs.two { grid-template-columns: repeat(2, 1fr); }
.fs-h b { flex: 1; text-align: center; }
