/* Android replica (Pixel / stock Android 14-16, Material You look). Original styling. */
.dev-android .screen { font-family: "Google Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #1f1f1f; font-size: 16px; }
.dev-android .ic { stroke-width: 1.9; }
.and-s { position: absolute; inset: 0; display: flex; flex-direction: column; background: #f0f4f9; padding-top: var(--sb); }
.and-s .abar { height: 56px; flex: none; display: flex; align-items: center; padding: 0 6px; gap: 2px; }
.and-s .at { flex: 1; font-size: 22px; padding-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abtn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: #1f1f1f; flex: none; }
.abtn svg { width: 24px; height: 24px; } .abtn:active { background: rgba(0, 0, 0, .08); }
.abtn.tx { width: auto; padding: 0 16px; color: #0b57d0; font-weight: 500; font-size: 15px; border-radius: 20px; } .abtn.dis { opacity: .4; }
.and-s .scroll { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 0 16px; scrollbar-width: none; } .and-s .scroll::-webkit-scrollbar { display: none; }
.and-s .pad { height: 70px; }
.and-s h1.lt { font-size: 32px; font-weight: 400; margin: 8px 6px 20px; line-height: 1.15; }
.ah { font-size: 14px; font-weight: 500; color: #0b57d0; margin: 8px 12px 8px; }
.agrp { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.arow { background: #fff; display: flex; align-items: center; gap: 16px; padding: 12px 18px; min-height: 64px; cursor: pointer; position: relative; }
.agrp > .arow:first-child { border-radius: 22px 22px 5px 5px; } .agrp > .arow:last-child { border-radius: 5px 5px 22px 22px; } .agrp > .arow:only-child { border-radius: 22px; }
.arow:active { background: #edf1f7; } .arow.dim { opacity: .55; }
.arow.red .al { color: #b3261e; }
.ai { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; } .ai svg { width: 22px; height: 22px; }
.aav { width: 40px; height: 40px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 500; flex: none; }
.alead { flex: none; } .alead .aicon { width: 40px; height: 40px; border-radius: 50%; box-shadow: none; } .alead .aicon svg { width: 22px; height: 22px; }
.am { flex: 1; min-width: 0; display: flex; flex-direction: column; } .al { font-size: 16px; line-height: 1.3; } .as { font-size: 14px; color: #444746; line-height: 1.3; margin-top: 1px; }
.av2 { color: #444746; font-size: 14px; }
.asw { width: 52px; height: 32px; border-radius: 16px; border: 2px solid #74777f; background: #e1e3e9; position: relative; flex: none; transition: background .2s; }
.asw i { position: absolute; top: 6px; left: 6px; width: 16px; height: 16px; border-radius: 50%; background: #74777f; transition: all .2s; }
.arow.on .asw { background: #0b57d0; border-color: #0b57d0; } .arow.on .asw i { left: 24px; top: 2px; width: 24px; height: 24px; background: #fff; }
.arad { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #444746; position: relative; flex: none; } .arow.on .arad { border-color: #0b57d0; } .arow.on .arad i { position: absolute; inset: 3px; border-radius: 50%; background: #0b57d0; }
.atick { color: #0b57d0; visibility: hidden; } .atick svg { width: 24px; height: 24px; } .arow.on .atick { visibility: visible; }
.agear { width: 40px; height: 40px; display: grid; place-items: center; border-left: 1px solid #c4c7c5; padding-left: 10px; margin-left: 4px; cursor: pointer; color: #444746; } .agear svg { width: 22px; height: 22px; } .arow svg.sm { width: 18px; height: 18px; color: #444746; }
.sbar2 { display: flex; align-items: center; gap: 12px; background: #e3e9f2; border-radius: 28px; height: 52px; padding: 0 18px; margin: 0 0 18px; color: #444746; } .sbar2 svg { width: 22px; height: 22px; } .sbar2 .fi { padding: 0 !important; }
.and-s .fi, .and-home .fi, .adlg .fi, .asheet .fi { border: 0; outline: 0; background: transparent; font: inherit; color: inherit; width: 100%; padding: 14px 0; min-width: 0; }
.and-s .fi::placeholder, .adlg .fi::placeholder, .asheet .fi::placeholder { color: #747775; }
.afield { position: relative; border: 1px solid #74777f; border-radius: 6px; margin: 18px 0; padding: 0 14px; display: flex; align-items: center; background: transparent; }
.afield label { position: absolute; top: -9px; left: 10px; background: #f0f4f9; padding: 0 5px; font-size: 12px; color: #444746; }
.afield svg { width: 22px; height: 22px; flex: none; color: #444746; }
.dlgf .afield label { background: #e9eef6; }
.atxt { color: #444746; font-size: 14px; line-height: 1.45; margin: 10px 8px 16px; }
.abtn2 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 24px; border-radius: 20px; font-weight: 500; font-size: 14px; cursor: pointer; } .abtn2 svg { width: 18px; height: 18px; }
.abtn2.filled { background: #0b57d0; color: #fff; } .abtn2.tonal { background: #d3e3fd; color: #041e49; } .abtn2.outlined { border: 1px solid #747775; color: #0b57d0; }
.abtns { display: flex; gap: 10px; justify-content: flex-end; margin: 14px 0; } .abtns.two .abtn2 { flex: 1; }
.abtnrow, .abtnrow3 { display: flex; gap: 8px; margin: 6px 0 14px; } .abtn3 { flex: 1; background: #d3e3fd; color: #041e49; border-radius: 20px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; cursor: pointer; } .abtn3 svg { width: 22px; height: 22px; }
.ainfo { text-align: center; padding: 6px 0 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; } .ainfo b { font-size: 22px; font-weight: 500; } .ainfo small { color: #444746; font-size: 14px; }
.aibig { width: 72px; height: 72px; } .aibig .aicon { width: 72px; height: 72px; border-radius: 50%; } .aibig .aicon svg { width: 38px; height: 38px; } .aibig.sm, .aibig.sm .aicon { width: 48px; height: 48px; } .aibig.sm svg { width: 26px; height: 26px; }
.permhead { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0 16px; } .permhead small { color: #444746; }
.dlgf { margin-top: 4px; } .dlgf.tall { max-height: 380px; overflow-y: auto; padding: 6px 2px; } .dlgc { display: flex; align-items: center; gap: 10px; padding: 10px 2px; font-size: 14px; } .dlgc.dim { color: #444746; justify-content: space-between; }
.cb { display: flex; align-items: center; gap: 12px; cursor: pointer; } .cb i { width: 18px; height: 18px; border: 2px solid #444746; border-radius: 3px; display: block; } .cb.on i { background: #0b57d0; border-color: #0b57d0; box-shadow: inset 0 0 0 2px #fff; }
.cbx i { width: 18px; height: 18px; border-radius: 3px; border: 2px solid var(--c, #444); display: block; flex: none; } .cbx.on i { background: var(--c, #444); }

/* dialogs, sheets */
.layer.dialog { background: rgba(0, 0, 0, .32); display: grid; place-items: center; padding: 22px; }
.adlg { background: #e9eef6; border-radius: 28px; padding: 24px; width: 100%; max-height: 82%; overflow: auto; box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.adt { font-size: 24px; margin-bottom: 14px; line-height: 1.25; } .adt.c { text-align: center; } .adm { font-size: 14px; color: #444746; line-height: 1.45; } .adi { display: grid; place-items: center; color: #0b57d0; margin-bottom: 10px; } .adi svg { width: 26px; height: 26px; }
.adb { display: flex; justify-content: flex-end; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.adbtn { padding: 10px 14px; color: #0b57d0; font-weight: 500; border-radius: 20px; cursor: pointer; font-size: 14px; } .adbtn.fill { background: #0b57d0; color: #fff; padding: 10px 24px; }
.layer.sheet { background: rgba(0, 0, 0, .32); }
.asheet { position: absolute; left: 0; right: 0; bottom: 0; background: #f0f4f9; border-radius: 28px 28px 0 0; padding: 0 16px 38px; max-height: 82%; overflow: auto; }
.grab { width: 32px; height: 4px; border-radius: 2px; background: #747775; margin: 12px auto 14px; } .ast { font-size: 18px; margin: 0 8px 12px; }

/* launcher */
.and-home { position: absolute; inset: 0; background: linear-gradient(165deg, #7aa7f7 0%, #b38cf4 55%, #f3a9a0 100%); padding: calc(var(--sb) + 12px) 18px 0; }
.glance b { display: block; color: #fff; font-size: 28px; font-weight: 400; } .glance small { color: #fff; font-size: 16px; opacity: .92; }
.agrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px 4px; margin-top: 32px; } .agrid.five { margin-top: 10px; gap: 22px 2px; }
.and-home .app .aicon, .drawer .app .aicon { width: 54px; height: 54px; }
.app .aicon.round { border-radius: 50%; } .aicon.round svg { width: 28px; height: 28px; }
.drawer .alab { color: #1f1f1f; text-shadow: none; font-size: 12px; } .and-home .alab { font-size: 12px; }
.hotseat { position: absolute; left: 14px; right: 14px; bottom: 100px; display: flex; justify-content: space-around; }
.gsearch { position: absolute; left: 14px; right: 14px; bottom: 30px; height: 54px; border-radius: 28px; background: #fff; display: flex; align-items: center; padding: 0 18px; gap: 12px; color: #5f6368; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); } .gsearch .gl { font-size: 22px; color: #5f6368; } .gsearch span { flex: 1; } .gsearch svg { width: 22px; height: 22px; }
.and-s.drawer { background: #f0f4f9; } .dsearch { margin: 8px 16px 10px; background: #e3e9f2; border-radius: 28px; height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 18px; color: #444746; flex: none; } .dsearch svg { width: 22px; height: 22px; } .dsearch .fi { padding: 0; }
.drawer .scroll { padding-top: 6px; }
.qs-wrap { position: absolute; inset: 0; background: rgba(0, 0, 0, .3); } .qs-wrap .scrim { z-index: 0; top: 330px; }
.qs { position: relative; z-index: 1; background: #f0f4f9; border-radius: 0 0 30px 30px; padding: calc(var(--sb) + 10px) 14px 16px; }
.qhead { display: flex; align-items: baseline; gap: 10px; padding: 6px 8px 14px; } .qhead b { font-size: 30px; font-weight: 400; } .qhead small { color: #444746; flex: 1; } .qb { width: 40px; height: 40px; display: grid; place-items: center; background: #dfe5ee; border-radius: 50%; cursor: pointer; align-self: center; } .qb svg { width: 20px; height: 20px; }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .qt { background: #dfe5ee; border-radius: 32px; display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 66px; cursor: pointer; } .qt.on { background: #0b57d0; color: #fff; } .qt .qi svg { width: 24px; height: 24px; } .qm { display: flex; flex-direction: column; min-width: 0; } .qm b { font-size: 14px; font-weight: 500; } .qm small { font-size: 12px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bright { margin: 16px 6px 10px; } .bright i { display: block; height: 36px; border-radius: 18px; background: #dfe5ee; overflow: hidden; } .bright b { display: block; height: 100%; background: #0b57d0; }
.qnotif { margin-top: 10px; } .nc { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 20px; padding: 12px 14px; cursor: pointer; } .nc span:last-child { display: flex; flex-direction: column; } .nc small { color: #444746; }
.drawerwrap { position: absolute; inset: 0; background: rgba(0, 0, 0, .32); } .drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: 82%; background: #f0f4f9; border-radius: 0 28px 28px 0; padding: calc(var(--sb) + 10px) 12px 20px; overflow-y: auto; z-index: 1; } .drawerwrap .scrim { z-index: 0; }
.dtitle { font-size: 22px; color: #c5221f; padding: 10px 14px 14px; font-weight: 500; } .drawer-panel hr { border: 0; border-top: 1px solid #c4c7c5; margin: 8px 0; } .dh2 { font-size: 13px; color: #444746; padding: 6px 14px; }
.gdi { display: flex; align-items: center; gap: 18px; padding: 0 16px; height: 50px; border-radius: 26px; cursor: pointer; font-size: 14.5px; } .gdi svg { width: 22px; height: 22px; } .gdi.on { background: #d3e3fd; font-weight: 600; }

/* Gmail / Calendar / Contacts / Play */
.gm-search { margin: 6px 0 12px; background: #e3e9f2; border-radius: 28px; height: 52px; display: flex; align-items: center; gap: 4px; padding: 0 6px; flex: none; } .gb { width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; border-radius: 50%; flex: none; color: #444746; } .gb svg { width: 22px; height: 22px; } .gph { flex: 1; } .gph .fi { padding: 0; }
.ol-avatar { width: 34px; height: 34px; border-radius: 50%; background: #0a64d8; color: #fff; font-size: 13px; font-weight: 600; display: grid; place-items: center; } .ol-avatar.sm { width: 32px; height: 32px; font-size: 12px; } .ol-avatar.g { background: #ea4335; } .ol-avatar.lg { width: 72px; height: 72px; font-size: 24px; }
.gmrow { display: flex; gap: 12px; padding: 10px 2px; cursor: pointer; align-items: flex-start; } .gmrow .mb { flex: 1; min-width: 0; display: flex; flex-direction: column; } .gmrow .mf { display: flex; justify-content: space-between; font-size: 15px; } .gmrow .mf i { font-style: normal; font-size: 12px; color: #444746; } .gmrow.unread .mf, .gmrow.unread .msj { font-weight: 700; } .gmrow .msj { font-size: 14px; } .gmrow .mp { font-size: 13px; color: #444746; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev-android .mav { width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 600; font-size: 14px; display: grid; place-items: center; flex: none; } .dev-android .mav.lg { width: 92px; height: 92px; font-size: 32px; }
.gm-fab { position: absolute; right: 16px; bottom: 98px; background: #c2e7ff; color: #001d35; border-radius: 16px; height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 20px; font-weight: 500; box-shadow: 0 3px 10px rgba(0, 0, 0, .2); cursor: pointer; z-index: 5; } .gm-fab svg { width: 24px; height: 24px; } .gm-fab.sq { padding: 0; width: 56px; justify-content: center; border-radius: 16px; bottom: 30px; }
.bnav { flex: none; display: flex; background: #e9eef6; height: 82px; padding: 12px 0 22px; } .bn { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; cursor: pointer; } .bn .pill { width: 64px; height: 32px; border-radius: 16px; display: grid; place-items: center; } .bn.on .pill { background: #c2e7ff; font-weight: 600; } .bn svg { width: 24px; height: 24px; }
.gm-from, .savepick, .gm-fld { display: flex; align-items: center; gap: 12px; padding: 0 6px; min-height: 56px; border-bottom: 1px solid #d7dde6; cursor: pointer; } .gm-fld .fi { flex: 1; } .gm-fld svg, .gm-from svg, .savepick svg { width: 20px; height: 20px; color: #444746; } .sl { color: #444746; font-size: 14px; min-width: 48px; } .fv { flex: 1; }
.gm-fld.body { align-items: flex-start; } .gm-fld.body textarea { width: 100%; height: 240px; border: 0; outline: 0; background: transparent; font: inherit; resize: none; padding-top: 16px; }
.gm-acts { display: flex; gap: 8px; padding: 8px 16px 30px; flex: none; } .gma { flex: 1; border: 1px solid #747775; border-radius: 20px; height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; cursor: pointer; } .gma svg { width: 18px; height: 18px; }
.gm-body { padding: 6px 4px; } .gm-body h3 { font-size: 22px; font-weight: 400; margin: 6px 0 14px; } .ol-from { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; } .ol-from small { display: block; color: #444746; }
.acpill { padding: 4px 0 12px; text-align: center; } .gpill { display: inline-block; border: 1px solid #747775; border-radius: 20px; padding: 8px 18px; font-weight: 500; cursor: pointer; }
.dev-android .chead h2 { font-weight: 400; } .dev-android .chead small { color: #444746; }
.dev-android .mgrid { margin: 0 0 12px; } .dev-android .mgrid .dh { border: 0; font-size: 12px; color: #444746; padding-bottom: 6px; } .dev-android .mgrid .dd span { height: 40px; display: grid; place-items: center; font-size: 14px; } .dev-android .mgrid .dd b { font-weight: 400; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; } .dev-android .mgrid .dd .today b { background: #0b57d0; color: #fff; }
.dev-android .calg i { display: none; } .dev-android .calg b { font-size: 26px; color: #1a73e8; font-weight: 500; margin: 0; }
.pssearch { display: flex; align-items: center; gap: 12px; background: #e3e9f2; border-radius: 28px; height: 52px; padding: 0 18px; margin: 6px 0 14px; color: #444746; cursor: pointer; } .pssearch svg { width: 22px; height: 22px; } .pssearch .fi { padding: 0; }
.psapp { display: flex; gap: 16px; align-items: center; padding: 8px 0 14px; } .psapp b { font-size: 22px; display: block; } .psapp small { color: #0b57d0; } .psbig .aicon { width: 72px; height: 72px; border-radius: 18px; } .psbig svg { width: 40px; height: 40px; }
.psstats { display: flex; justify-content: space-around; text-align: center; padding: 8px 0 16px; } .psstats b { display: block; font-size: 16px; } .psstats small { color: #444746; }
.psinstall { background: #01875f; color: #fff; text-align: center; border-radius: 20px; height: 40px; display: flex; align-items: center; justify-content: center; font-weight: 500; cursor: pointer; flex: 1; } .psinstall.ghost { background: #fff; color: #01875f; border: 1px solid #c4c7c5; } .psinstall.sm { flex: none; padding: 0 22px; margin: 0 0 12px auto; width: max-content; }
.psbtns { display: flex; gap: 10px; } .psupd { color: #01875f; font-weight: 500; font-size: 14px; } .psupdall { display: flex; }
.ps .bnav .bn.on .pill { background: #c8f0d8; }
/* portrait Quick Settings: the "tap outside to close" area is whatever is left BELOW the panel (a fixed top:330px sat underneath the tiles) */
.screen:not(.land) .qs-wrap { display: flex; flex-direction: column; } .screen:not(.land) .qs-wrap .qs { flex: none; }
.screen:not(.land) .qs-wrap .scrim { position: relative; inset: auto; top: auto; flex: 1 1 auto; min-height: 40px; width: 100%; }
