/* Landline IM screen recreations.
 *
 * Every rule here is translated from the Android app's own style files
 * (landline-im repo: src/theme/palettes/default.ts, typography.ts, spacing.ts,
 * theme/components/*.ts) and the screens in src/screens. Colors, sizes, radii,
 * paddings and strings are the app's; only the rendering engine differs
 * (React Native views -> HTML). The wallpaper, the bronze line-selector plate and
 * the app icon are the real files out of the repo.
 *
 * Design resolution is the app's: 390 x 844 (the wallpaper PNGs are that size).
 * Scale the whole .phone with transform where it is shown.
 */
.phone, .phone * { box-sizing: border-box; margin: 0; padding: 0; }
.phone {
  --bg: #0D0D14; --card: #1A1A24; --hdr: #101018; --nav: #0E0E15; --inp: #353549; --line: #2E2E41;
  --gold: #C9922A; --golddim: #38280B; --goldtxt: #D9A340;
  --white: #FFFFFF; --off: #E6E6EB; --grey: #94949E; --greymid: #6B6B75; --greydim: #474754;
  --danger: #B32626; --dangerbg: #380A0A; --green: #00C853; --red: #E53935;
  --snom: #333840; --snomtop: #2B2F36; --snombot: #2A2E34; --snomrim: #4E545E;
  position: relative; width: 390px; height: 844px; overflow: hidden; background: var(--bg) url(img/wall-mesh1.png) center/cover no-repeat;
  font-family: Roboto, "Segoe UI", system-ui, sans-serif; color: var(--off); font-size: 13px; line-height: 1.25;
  -webkit-font-smoothing: antialiased; user-select: none;
}
/* each screen carries the wallpaper itself (WallpaperBackground wraps every screen), so a pushed screen covers the one under it */
.phone .scr { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg) url(img/wall-mesh1.png) center/cover no-repeat; }
.phone.wall-brushed, .phone.wall-brushed .scr { background-image: url(img/wall-brushed.png); }
.phone .scr.slide { animation: slideIn .28s ease-out; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
.phone .scr.out { animation: slideOut .24s ease-in forwards; }
@keyframes slideOut { to { transform: translateX(100%); } }

/* Android status bar (StatusBar backgroundColor = colors.bgHeader) */
.sb { height: 28px; background: var(--hdr); display: flex; align-items: center; justify-content: space-between; padding: 0 18px 0 20px; font-size: 12px; font-weight: 500; color: var(--off); flex: none; }
.sb .ic { display: flex; gap: 6px; align-items: center; }
.sb .sig { width: 14px; height: 10px; background: linear-gradient(to top right, transparent 49%, var(--off) 50%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.sb .wifi { width: 14px; height: 10px; border: 2px solid var(--off); border-color: var(--off) transparent transparent transparent; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.sb .bat { width: 20px; height: 10px; border: 1.5px solid var(--off); border-radius: 2px; position: relative; }
.sb .bat::after { content: ""; position: absolute; left: 1px; top: 1px; bottom: 1px; width: 72%; background: var(--off); }

/* ScreenHeader (header.ts + typography.screenTitle) */
.hdr { height: 56px; background: var(--hdr); display: flex; align-items: center; justify-content: center; position: relative; flex: none; }
.hdr .t { font-size: 24px; font-weight: 700; color: var(--goldtxt); text-align: center; }
.hdr::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
/* Back / Cancel / More row used by Thread, Compose, Load numbers (gold link text = typography.buttonGold) */
.toprow { display: flex; align-items: flex-start; flex: none; }
.toprow .lnk { width: 72px; padding: 8px 16px 0; font-size: 16px; font-weight: 500; color: var(--goldtxt); z-index: 2; white-space: nowrap; }
.toprow .lnk.r { text-align: right; }
.toprow .mid { flex: 1; display: flex; flex-direction: column; align-items: center; padding-bottom: 8px; min-width: 0; }
.toprow .mid .line { padding: 4px 8px; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--goldtxt); }
.toprow .mid .peer { font-size: 20px; font-weight: 700; color: var(--goldtxt); text-align: center; }
.toprow .mid .num { margin-top: 2px; font-size: 15px; line-height: 20px; color: var(--white); }
.toprow.center .hdr { flex: 1; margin-left: -72px; }

/* SearchBar (search.ts) */
.searchwrap { margin: 12px 0; flex: none; }
.search { height: 44px; margin: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--inp); display: flex; align-items: center; padding: 0 14px; font-size: 14px; color: var(--greymid); }
.search .sic { width: 16px; height: 16px; margin-right: 8px; position: relative; }
.search .sic::before { content: ""; position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 6px; border: 2px solid var(--greymid); }
.search .sic::after { content: ""; position: absolute; width: 2px; height: 7px; left: 9px; top: 8px; background: var(--greymid); transform: rotate(-45deg); border-radius: 1px; }

/* Section under the search bar on Messages: plate, banner, New message, tabs */
.msgtop { padding: 8px 16px 12px; flex: none; }

/* SelectedLine (selectedLine.ts) */
.sl { border-radius: 15px; padding: 1px; background: var(--golddim); }
.sl.sel { box-shadow: 0 0 10px rgba(201,146,42,.55); }
.sl .plate { position: relative; min-height: 56px; border-radius: 14px; border: 1.5px solid var(--gold); overflow: hidden; display: flex; align-items: center; padding: 8px 10px 8px 12px; gap: 10px; background: var(--snom); }
.sl.tex .plate { background: url(img/plate-bronze.png) center/cover no-repeat; }
.sl:not(.tex) .plate::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 42%; background: var(--snomtop); opacity: .55; }
.sl:not(.tex) .plate::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: var(--snombot); opacity: .7; }
.sl .brush { position: absolute; left: 0; right: 0; height: 1px; pointer-events: none; }
.sl .hud { position: absolute; width: 8px; height: 8px; border: 0 solid var(--gold); opacity: .35; }
.sl .hud.tl { top: 5px; left: 5px; border-top-width: 1px; border-left-width: 1px; }
.sl .hud.tr { top: 5px; right: 5px; border-top-width: 1px; border-right-width: 1px; }
.sl .hud.bl { bottom: 5px; left: 5px; border-bottom-width: 1px; border-left-width: 1px; }
.sl .hud.br { bottom: 5px; right: 5px; border-bottom-width: 1px; border-right-width: 1px; }
.sl .lamp { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 8px; border: 1.5px solid var(--gold); background: rgba(0,0,0,.45); box-shadow: 0 0 6px var(--gold); display: grid; place-items: center; flex: none; }
.sl .lamp i { width: 7px; height: 7px; border-radius: 4px; background: var(--goldtxt); }
.sl .lamp b { position: absolute; width: 3px; height: 3px; border-radius: 1.5px; background: rgba(255,255,255,.7); top: 3px; left: 3px; }
.sl .face { position: relative; z-index: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sl .name { font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--goldtxt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl .lcd { align-self: flex-start; background: rgba(0,0,0,.5); border-radius: 6px; border: 1px solid rgba(0,0,0,.45); padding: 4px 10px; }
.sl .lcd span { font-size: 16px; font-weight: 700; color: var(--goldtxt); letter-spacing: 1.1px; font-variant-numeric: tabular-nums; }
.sl .chev { position: relative; z-index: 1; width: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: none; }
.sl .cnt { min-width: 16px; height: 14px; padding: 0 3px; border-radius: 3px; background: var(--golddim); border: 1px solid var(--gold); display: grid; place-items: center; font-size: 9px; font-weight: 700; color: var(--goldtxt); font-variant-numeric: tabular-nums; }
.sl .chev .v { font-size: 16px; line-height: 18px; color: var(--goldtxt); }

/* "New message waiting for ..." banner (MessagesScreen) */
.banner { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--golddim); border: 1px solid var(--gold); display: flex; align-items: center; }
.banner span { flex: 1; font-size: 15px; line-height: 22px; color: var(--goldtxt); }

/* CountBadge */
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: var(--bg); font-size: 11px; font-weight: 700; }
.badge.s16 { min-width: 16px; height: 16px; border-radius: 8px; font-size: 10px; }
.badge.s22 { min-width: 22px; height: 22px; border-radius: 11px; }

/* Buttons (button.ts + typography) */
.btn { height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; width: 100%; font-size: 16px; font-weight: 700; }
.btn.pri { background: var(--gold); color: var(--bg); }
.btn.pri.dis { opacity: .7; }
.btn.outl { border: 1.5px solid var(--gold); color: var(--goldtxt); font-size: 14px; font-weight: 500; }
.btn.ghost { border: 1.5px solid var(--greymid); color: var(--goldtxt); font-size: 14px; font-weight: 500; }
.btn.danger { height: 52px; border: 1.5px solid var(--danger); background: var(--dangerbg); color: var(--white); }
.btnrow { display: flex; gap: 8px; width: 100%; }

/* Mailbox tabs */
.tabs { display: flex; margin-top: 12px; gap: 8px; }
.tabs div { flex: 1; padding: 8px 0; border-bottom: 2px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 10px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; color: var(--greymid); }
.tabs div.on { border-bottom-color: var(--gold); color: var(--goldtxt); }

/* Lists */
.list { flex: 1; overflow: hidden; position: relative; }
.list .inner { padding-bottom: 16px; }
.card { margin: 0 16px 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); display: flex; align-items: center; padding: 0 12px; position: relative; }
.card.tall { min-height: 86px; padding: 10px 12px; }
.card.h70 { height: 70px; }
.card.h72 { min-height: 72px; }
.card.new { animation: cardIn .4s ease-out; }
@keyframes cardIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.card .info { flex: 1; min-width: 0; margin-left: 12px; }
.card .nm { font-size: 15px; font-weight: 600; color: var(--off); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .rt { margin-top: 2px; font-size: 13px; color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .lb { font-size: 13px; color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .tm { font-size: 11px; color: var(--greymid); align-self: flex-start; margin-top: 2px; white-space: nowrap; }
.card.h70 .tm, .card.h72 .tm { align-self: center; margin-top: 0; }
.hint { font-size: 12px; line-height: 18px; color: var(--greymid); }
.hint.c { text-align: center; margin: 8px 16px 16px; }
.empty { font-size: 14px; line-height: 20px; color: var(--greymid); text-align: center; margin: 24px 20px; }

/* ImBadge: the green IM / SMS tile */
.im { position: relative; width: 44px; height: 44px; flex: none; }
.im .tile { width: 44px; height: 44px; border-radius: 8px; background: var(--green); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px; letter-spacing: .4px; }
.im.sms .tile { font-size: 12px; letter-spacing: 0; }
.im .ub { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--bg); font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.im .ub.pop { animation: pop .35s ease-out; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
/* PresenceLamp at the badge corner on the LineView tab */
.pl { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 6px; border: 1px solid; display: grid; place-items: center; }
.pl i { width: 4px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.55); margin: -1px 0 0 -1px; }
.pl.idle { background: var(--green); border-color: var(--green); }
.pl.busy { background: var(--red); border-color: var(--red); }
.pl.ring { background: var(--gold); border-color: var(--gold); }
.pl.off { background: #000; border-color: var(--snomrim); opacity: .45; }
.pl.off i { background: rgba(255,255,255,.08); }

/* Bottom nav (nav.ts, navIcons.ts, BottomNav.tsx) */
.nav { height: 76px; background: var(--nav); padding: 17px 0; position: relative; display: flex; flex: none; }
.nav::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.nav .tab { flex: 1; display: flex; flex-direction: column; align-items: center; color: var(--grey); }
.nav .tab.on { color: var(--gold); }
.nav .slot { height: 22px; display: grid; place-items: center; position: relative; }
.nav .lbl { margin-top: 8px; font-size: 10px; line-height: 12px; text-align: center; }
.nav .tab.on .lbl { font-weight: 500; }
.nav .nb { position: absolute; top: -6px; right: -10px; }
.ni { position: relative; }
.ni.messages { width: 22px; height: 20px; }
.ni.messages i { position: absolute; width: 13px; height: 6px; border-radius: 3px; background: currentColor; }
.ni.messages b { position: absolute; width: 3.5px; height: 3.5px; background: currentColor; transform: rotate(45deg); }
.ni.person { width: 16px; height: 19px; display: flex; flex-direction: column; align-items: center; }
.ni.person i { width: 10px; height: 10px; border-radius: 5px; background: currentColor; }
.ni.person b { margin-top: 2px; width: 16px; height: 7px; border-radius: 3px; background: currentColor; }
.ni.board { width: 20px; height: 20px; }
.ni.board i { position: absolute; width: 9px; height: 6px; border-radius: 2px; background: currentColor; }
.ni.bubble { width: 22px; height: 20px; }
.ni.bubble i { position: absolute; left: 0; top: 0; width: 22px; height: 15px; border-radius: 8px; background: currentColor; }
.ni.bubble b { position: absolute; width: 7px; height: 7px; left: 4px; bottom: 0; background: currentColor; transform: rotate(45deg); }
.ni.sliders { width: 18px; height: 16px; }
.ni.sliders i { position: absolute; left: 0; width: 18px; height: 2px; border-radius: 1px; background: currentColor; }
.ni.sliders b { position: absolute; width: 6px; height: 6px; border-radius: 3px; border: 1.5px solid currentColor; background: var(--nav); }

/* Thread bubbles */
.msgs { flex: 1; overflow: hidden; padding: 16px 16px 16px; display: flex; flex-direction: column; justify-content: flex-end; }
.bub { max-width: 82%; border-radius: 14px; border: 1px solid var(--line); background: var(--card); padding: 8px 12px; margin-bottom: 8px; align-self: flex-start; }
.bub.out { align-self: flex-end; background: var(--golddim); border-color: var(--gold); }
.bub .cap { font-size: 12px; line-height: 18px; color: var(--greymid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bub.out .cap { text-align: right; }
.bub .body { margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--off); word-wrap: break-word; }
.bub .body.jumbo { font-size: 44px; line-height: 54px; margin-top: 2px; }
.bub .tm { margin-top: 4px; font-size: 11px; color: var(--greymid); }
.bub.new { animation: bubIn .3s ease-out; }
@keyframes bubIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.notice { padding: 0 16px 8px; font-size: 13px; line-height: 20px; color: var(--danger); }

/* Composer (Thread / Office thread) */
.composer { background: var(--nav); border-top: 1px solid var(--line); padding: 8px 0 12px; flex: none; }
.canned { display: flex; gap: 8px; padding: 0 8px; margin-bottom: 8px; overflow: hidden; }
.canned div { max-width: 220px; flex: none; border: 1px solid var(--gold); background: var(--golddim); border-radius: 16px; padding: 8px 12px; font-size: 12px; line-height: 18px; color: var(--goldtxt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.composer .row { display: flex; align-items: flex-end; gap: 8px; padding: 0 16px; }
.inp { border-radius: 10px; border: 1px solid var(--line); background: var(--inp); color: var(--off); padding: 10px 12px; font-size: 13px; line-height: 18px; min-height: 44px; }
.inp.ph { color: var(--greydim); }
.composer .row .inp { flex: 1; }
.composer .row .btn { width: 84px; flex: none; }
.inp.simple { min-height: 52px; margin-top: 6px; font-size: 15px; display: flex; align-items: center; position: relative; padding: 0 12px; }
.inp.simple .show { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 16px; font-weight: 500; color: var(--goldtxt); }
.fl { font-size: 11px; font-weight: 500; color: var(--greymid); }
.caret { display: inline-block; width: 1.5px; height: 16px; background: var(--off); vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Login (OnboardingShell + LoginScreen) */
.login { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 24px; }
.ocard { width: 100%; max-width: 342px; background: var(--card); border-radius: 16px; border: 1.5px solid var(--line); position: relative; }
.ocard .acc { position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 2px; background: var(--gold); opacity: .8; }
.ocard .cont { padding: 28px 20px 24px; }
.eyebrow { font-size: 10px; font-weight: 700; color: var(--goldtxt); letter-spacing: 1px; text-transform: uppercase; }
.rule { height: 1px; background: var(--line); }
.headline { font-size: 28px; font-weight: 700; color: var(--off); margin-bottom: 20px; }
.body13 { font-size: 13px; line-height: 20px; color: var(--greymid); }

/* Generic scroll body (Settings / Auto Reply) */
.sbody { flex: 1; overflow: hidden; padding: 0 16px 16px; }
.seclabel { font-size: 10px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; color: var(--greymid); }
.crow { margin: 4px 0 8px; padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.did { font-size: 22px; font-weight: 700; color: var(--off); }
.didn { font-size: 21px; font-weight: 600; color: var(--goldtxt); }
.lnkg { font-size: 16px; font-weight: 500; color: var(--goldtxt); }
.clock { width: 22px; height: 22px; border-radius: 11px; border: 2px solid var(--greymid); position: relative; flex: none; }
.clock::before { content: ""; position: absolute; width: 2px; height: 6px; background: var(--greymid); left: 8px; top: 3px; border-radius: 1px; }
.clock::after { content: ""; position: absolute; width: 6px; height: 2px; background: var(--greymid); left: 8px; top: 8px; border-radius: 1px; }
.clock.on { border-color: var(--goldtxt); }
.clock.on::before, .clock.on::after { background: var(--goldtxt); }

/* Settings pieces (settingsScreen.ts, settingsShell.ts) */
.vrow { display: flex; justify-content: center; align-items: center; margin: 10px 0 22px; font-size: 12px; }
.vrow .b { color: var(--goldtxt); font-weight: 600; letter-spacing: .6px; }
.vrow .d { color: var(--grey); margin: 0 6px; }
.vrow .n { color: var(--off); }
.approw { display: flex; gap: 8px; margin-bottom: 8px; }
.wbtn { flex: 1; height: 52px; border-radius: 12px; border: 1.5px solid var(--gold); background: var(--card); display: grid; place-items: center; font-size: 14px; font-weight: 500; color: var(--off); }
.sbtn { flex: 2; height: 52px; border-radius: 12px; border: 1.5px solid var(--gold); background: var(--card); padding: 8px 10px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.sbtn .l { font-size: 10px; color: var(--grey); }
.track { position: relative; height: 12px; margin: 0 6px; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: var(--greydim); border-radius: 1px; }
.track i { position: absolute; top: 2px; width: 8px; height: 8px; border-radius: 4px; background: var(--greydim); margin-left: -4px; }
.track i.on { width: 12px; height: 12px; border-radius: 6px; margin-left: -6px; top: 0; background: var(--goldtxt); }
.tbtn { height: 52px; border-radius: 12px; border: 1.5px solid var(--gold); background: var(--card); padding: 0 14px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 500; color: var(--off); margin-bottom: 4px; }
.tbtn span { color: var(--greymid); }
.tdrop { border: 1.5px solid var(--gold); border-radius: 10px; background: var(--card); overflow: hidden; margin: 4px 0 8px; box-shadow: 0 4px 8px rgba(0,0,0,.35); }
.tdrop div { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.tdrop div.on { background: var(--inp); }
.tdrop .l { font-size: 14px; font-weight: 500; color: var(--off); }
.tdrop div.on .l { color: var(--goldtxt); }
.tdrop .d { font-size: 11px; color: var(--greymid); margin-top: 2px; }
.numrow { margin-top: 10px; display: flex; align-items: center; gap: 12px; }
.numrow .i { flex: 1; min-width: 0; }

/* Modals: overlay + card (card.modal) */
.overlay { position: absolute; inset: 0; background: rgba(0,0,0,.78); display: flex; align-items: center; justify-content: center; padding: 28px; z-index: 20; animation: fade .2s ease-out; }
@keyframes fade { from { opacity: 0; } }
.modal { width: 100%; max-width: 358px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); }
.modal.pad { padding: 20px; }
.modal .ct { font-size: 16px; font-weight: 600; color: var(--off); }
.modal .pickrow { padding: 6px 12px; }

/* Wallpaper picker */
.wgrid { display: flex; flex-wrap: wrap; justify-content: space-between; row-gap: 10px; }
.wgrid div { width: 48%; display: flex; flex-direction: column; align-items: center; }
.wgrid img { width: 100%; aspect-ratio: 95/120; border-radius: 8px; border: 1px solid var(--line); object-fit: cover; }
.wgrid div.on img { border: 2px solid var(--gold); }
.wgrid span { margin-top: 5px; font-size: 12px; color: var(--greymid); }

/* Load numbers viewfinder (viewfinder.ts) */
.vf { position: relative; margin-top: 12px; height: 300px; border-radius: 12px; background: #000; overflow: hidden; border: 1px solid var(--line); }
.vf .cam { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, #2a2a33, #0a0a0e 70%); }
.vf .cn { position: absolute; background: var(--gold); }
.vf .scan { position: absolute; left: 8%; right: 8%; height: 2px; background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: scan 2.2s ease-in-out infinite alternate; }
@keyframes scan { from { top: 12%; } to { top: 86%; } }
.vf .qr { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; transform: translate(-50%,-50%); background: #fff; border-radius: 4px; padding: 8px; display: grid; grid-template-columns: repeat(9, 1fr); gap: 1px; }
.vf .qr i { background: #000; }
.vf .qr i.w { background: #fff; }

/* Touch indicator (finger tap) */
.tap { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(255,255,255,.28); border: 2px solid rgba(255,255,255,.75); pointer-events: none; z-index: 30; opacity: 0; transform: scale(.4); }
.tap.go { animation: tapgo .55s ease-out; }
@keyframes tapgo { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.6); } }

/* Android heads-up notification (inbound text while the app is in the background) */
.notif { position: absolute; left: 10px; right: 10px; top: 36px; z-index: 40; background: #1f1f26; border-radius: 22px; padding: 12px 16px; display: flex; gap: 12px; align-items: flex-start; box-shadow: 0 10px 30px rgba(0,0,0,.6); animation: notifIn .35s ease-out; color: var(--off); }
@keyframes notifIn { from { opacity: 0; transform: translateY(-30px); } }
.notif img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.notif .t { font-size: 13px; font-weight: 600; }
.notif .s { font-size: 12px; color: var(--grey); margin-top: 1px; }
.notif .b { font-size: 13px; margin-top: 3px; }
