/* Offering the install of the app (OWNER-67, OWNER-69, js/install.js): the bar at the top, the row in Профиль, the instruction
   sheet with a switch of browsers and a drawn demo for each. The bar and the sheet use the theme tokens (all five themes); the
   phone inside the demo has fixed, light, system-like colours on purpose: it is a picture of a device, not part of the page. */

/* ------------------------------------------------------------------------------------------------ the bar */

:root { --install-h: 0px; }
/* the layout moves down by the bar's height, so the bar never covers the top bar, the player or the tab bar */
html.has-install-bar { --install-h: calc(56px + var(--safe-t)); --main-pt: calc(var(--top-h) + var(--install-h)); }
html.has-install-bar .topbar { top: var(--install-h); height: var(--top-h); padding-top: 0; }
html.install-anim .topbar {
  transition: top 250ms var(--ease-out), height 250ms var(--ease-out), background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
html.install-anim .main { transition: padding-top 250ms var(--ease-out); }

.install-bar {
  position: fixed; z-index: 31; top: 0; left: 0; right: 0;
  display: flex; align-items: stretch;
  height: var(--install-h); padding: var(--safe-t) 0 0;
  background-color: var(--surface-2); border-bottom: 1px solid var(--line);
  animation: install-in 260ms var(--ease-out);
}
.install-bar.is-out { animation: install-out 240ms ease forwards; }
@keyframes install-in { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes install-out { from { transform: none; } to { transform: translateY(-100%); } }

.install-bar-main {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; padding: 0 0 0 9px;
  border: 0; background: transparent; color: inherit; font: inherit; text-align: left;
}
.install-bar-icon { flex: none; width: 34px; height: 34px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line-2); }
.install-bar-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.install-bar-title {
  font-size: 14px; font-weight: 600; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.install-bar-sub { font-size: 11.5px; line-height: 1.25; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.install-bar-cta {
  flex: none; display: inline-flex; align-items: center; height: 32px; padding: 0 9px; border-radius: var(--r-sm);
  background: var(--fg); color: var(--bg); font-size: 13px; font-weight: 600; line-height: 1;
  transition: transform 120ms var(--ease-out);
}
.install-bar-main:active .install-bar-cta { transform: scale(.96); }
.install-bar-x {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 100%; padding: 0;
  border: 0; background: transparent; color: var(--fg-3);
}
.install-bar-x .icon { width: 20px; height: 20px; }
.install-bar-x:active { color: var(--fg); }
.install-bar-main:focus-visible, .install-bar-x:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
@media (hover: hover) { .install-bar-x:hover { color: var(--fg); } }

@media (min-width: 1024px) {
  /* an iPad in landscape has the sidebar layout */
  html.has-install-bar { --main-pt: calc(64px + var(--install-h)); }
  html.has-install-bar .topbar { height: 64px; }
  html.has-install-bar .sidebar { top: var(--install-h); }
}
/* the «нет соединения» note floats under the bar, not over it */
html.has-install-bar .pwa-offline { top: calc(var(--install-h) + 10px); }

/* ------------------------------------------------------------------------------------------------ the row in Профиль */

.ins-row {
  width: 100%; min-height: 56px; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.ins-row .v-pref-title, .ins-row .v-pref-sub { display: block; }
.ins-row-go { flex: none; display: inline-flex; color: var(--fg-4); }
.ins-row-go .icon { width: 18px; height: 18px; }
.ins-row:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--r-sm); }
/* the new row says it better than the old one («Нажмите «Поделиться»…», «Установить Tutti»); «Установлено» still shows */
.pwa-app.ins-has-row .pwa-install { display: none; }

/* ------------------------------------------------------------------------------------------------ the sheet */

.install-sheet { max-width: 520px; background-color: var(--glass-solid-2); }
.overlay.is-dialog .sheet.install-sheet { width: min(460px, 100%); max-width: none; }
@media (min-width: 640px) { .overlay:not(.is-dialog) .install-sheet { margin-bottom: 12px; border-radius: var(--r-lg); } }
.ins { display: flex; flex-direction: column; gap: 14px; padding: 2px 4px 8px; }
.ins-why { margin: 0; font-size: 15px; line-height: 1.45; color: var(--fg-2); }
.ins-first {
  display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: var(--r-md);
  background: var(--accent-soft); font-size: 14px; line-height: 1.4; color: var(--fg);
}
.ins-first b { font-size: 15px; font-weight: 700; }
.ins-note { margin: 0; padding: 10px 12px; border-radius: var(--r-md); background: var(--hl-05); font-size: 13.5px; line-height: 1.4; color: var(--fg-2); }
.ins-prompt[hidden] { display: none; }

/* the switch of browsers */
.ins-tabs { display: flex; gap: 2px; padding: 3px; border-radius: var(--r-md); background: var(--hl-08); }
.ins-tab {
  flex: 1; min-width: 0; height: 44px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--fg-3);
  font-size: 14px; font-weight: 600;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.ins-tab[aria-selected="true"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
.ins-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }

.ins-panel { display: flex; flex-direction: column; gap: 16px; }
.ins-demo { display: flex; justify-content: center; padding: 16px 0; border-radius: var(--r-lg); background: var(--hl-05); overflow: hidden; }

.ins-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ins-steps li { display: flex; align-items: flex-start; gap: 12px; }
.ins-n {
  position: relative; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--hl-12); color: var(--fg); font-size: 14px; font-weight: 700; line-height: 1;
}
/* the number of the step that the demo is showing right now lights up (the demo and the numbers share one clock) */
.ins-lit {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; opacity: 0;
  background: var(--accent); color: var(--on-accent); font-style: normal;
}
.ins-t { min-width: 0; padding-top: 3px; font-size: 15px; line-height: 1.4; color: var(--fg-2); }
.ins-t b { font-weight: 700; color: var(--fg); }
.ins-t small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--fg-3); }
.ins-g { width: 1.15em; height: 1.15em; margin: 0 0 0 2px; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--fg); }
.ins-g circle { fill: currentColor; stroke: none; }
.ins-key {
  display: inline-grid; place-items: center; width: 28px; height: 22px; margin: 0 1px; border-radius: 6px;
  background: var(--hl-12); color: var(--fg); vertical-align: -.3em;
}
.ins-key svg { width: 18px; height: 18px; fill: currentColor; }
.ins-key svg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* the small line about the other look of the browser (a quiet button: it shows the other demo) and the link to the other device */
.ins-alt, .ins-dev {
  display: block; width: 100%; margin: 0; padding: 4px 6px; border: 0; background: transparent; color: var(--fg-3);
  font: inherit; font-size: 13px; line-height: 1.45; text-align: center;
}
button.ins-alt { min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--fg-2); cursor: pointer; }
.ins-dev { min-height: 44px; text-decoration: underline; text-decoration-color: var(--hl-24); text-underline-offset: 3px; cursor: pointer; }
.ins-alt .ins-key { vertical-align: -.25em; }
.ins-alt .ins-g { color: var(--fg-2); }
button.ins-alt:focus-visible, .ins-dev:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-radius: var(--r-sm); }
@media (hover: hover) { button.ins-alt:hover, .ins-dev:hover { color: var(--fg); } }
.ins-last { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: var(--fg-3); text-align: center; }

/* the Android app block at the top of the sheet (D-074, OWNER-77): shown only when /app/android.json exists */
.ins-app { display: flex; flex-direction: column; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--hl-05); }
.ins-app-head { display: flex; align-items: center; gap: 12px; }
.ins-app-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-2); }
.ins-app-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.35; color: var(--fg-2); }
.ins-app-text b { font-size: 16px; font-weight: 700; color: var(--fg); }
.ins-app .ins-app-get { height: 48px; text-decoration: none; } /* the one button of the block: 48 px even where the site's phone rule makes .btn 44 */
.ins-app-meta { display: block; margin-top: -4px; text-align: center; font-size: 12.5px; line-height: 1.3; color: var(--fg-3); }
.ins-app .ins-note { background: transparent; padding: 0; }
.ins-or { margin: 0; font-size: 13px; line-height: 1.4; color: var(--fg-3); text-align: center; }

/* ------------------------------------------------------------------------------------------------ the demo phone
   Drawn at the size of a real phone (a 390 × 740 screen, the sizes of the system's bars) and scaled down by --s. Every layer of
   the loop is a .ph-sc that js/install.js shows and hides with the Web Animations API (data-w); nothing here moves by itself.
   Without motion (prefers-reduced-motion, or no animate()) the first moment shows: everything marked .ph-k. */

.ph-fit { --s: .56; position: relative; flex: none; width: calc(402px * var(--s)); height: calc(752px * var(--s)); }
.ph {
  position: absolute; left: 0; top: 0; width: 402px; height: 752px; padding: 6px; border-radius: 56px; transform: scale(var(--s)); transform-origin: 0 0;
  background: #0d0d0f; box-shadow: 0 0 0 3px #4b4b51, 0 26px 50px rgba(0, 0, 0, .3);
  font: 400 17px/1.25 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", sans-serif; color: #000;
  -webkit-user-select: none; user-select: none; pointer-events: none; -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
.ph-and { font-family: Roboto, "Google Sans", system-ui, "Segoe UI", sans-serif; }
.ph *, .ph *::before, .ph *::after { box-sizing: border-box; }
.ph p, .ph b, .ph small, .ph em { margin: 0; }
.ph em { font-style: normal; }
.ph-screen { position: relative; width: 390px; height: 740px; border-radius: 50px; overflow: hidden; background: #fff; isolation: isolate; transform: translateZ(0); }
.ph-sc { position: absolute; inset: 0; opacity: 0; }
.ph-pg { background: #f7f4ef; }
.ph svg.ph-i { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ph svg.ph-dots circle { fill: currentColor; stroke: none; }
.ph img { display: block; }

/* what shows without motion */
.ins-panel.ph-still .ph-k { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ins-panel .ph-k { opacity: 1; } }

/* the status bar and the home indicator stay over every layer */
.ph-status {
  position: absolute; z-index: 9; left: 0; right: 0; top: 0; height: 54px; display: flex; align-items: center; justify-content: space-between;
  padding: 8px 30px 0 50px; font-size: 17px; font-weight: 600; color: #000;
}
.ph-island { position: absolute; left: 50%; top: 11px; width: 122px; height: 36px; margin-left: -61px; border-radius: 20px; background: #000; }
.ph-sys { display: flex; align-items: center; gap: 6px; }
.ph svg.ph-sig { width: auto; height: 12px; fill: currentColor; stroke: none; }
.ph svg.ph-batt { height: 13px; }
.ph-ind { position: absolute; z-index: 9; left: 50%; bottom: 8px; width: 138px; height: 5px; margin-left: -69px; border-radius: 3px; background: #000; opacity: .92; }
.ph-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .22); }
.ph-ov, .ph-home { overflow: visible; }

/* the page of Tutti */
.ph-page { position: absolute; left: 0; right: 0; padding: 0 22px; }
.ph-brand .wordmark { display: block; height: 30px; font-size: 30px; margin: 4px 0 16px; color: #211d19; }
.ph-hero { position: relative; height: 158px; border-radius: 22px; background: linear-gradient(135deg, #f3bfa6 0%, #eadcf5 100%); }
.ph-hero b { position: absolute; left: 20px; top: 26px; width: 56%; height: 16px; border-radius: 8px; background: rgba(33, 29, 25, .78); }
.ph-hero i { position: absolute; left: 20px; top: 54px; width: 38%; height: 10px; border-radius: 5px; background: rgba(33, 29, 25, .3); }
.ph-cards { display: flex; gap: 12px; margin-top: 16px; }
.ph-cards i { flex: 1; aspect-ratio: 1 / 1; border-radius: 16px; background: #e7e0d6; }
.ph-cards i:nth-child(1) { background: linear-gradient(135deg, #f6cdb8, #eab6a0); }
.ph-cards i:nth-child(2) { background: linear-gradient(135deg, #cfe0f3, #b4c9e8); }
.ph-cards i:nth-child(3) { background: linear-gradient(135deg, #e5d8f4, #cdbbe8); }
.ph-trk { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.ph-trk i { flex: none; width: 56px; height: 56px; border-radius: 12px; background: #e5ded3; }
.ph-trk span { flex: 1; display: grid; gap: 9px; }
.ph-trk b { display: block; height: 11px; border-radius: 6px; background: #e2dbd0; }
.ph-trk b:nth-child(2) { width: 58%; }

/* the tap marker and the pressed look of a target: both sit inside the target, centred on it (or at --x) */
.ph-hr, .ph-tbb, .ph-gc, .ph-blue, .ph-bl, .ph-hb, .ph-av, .ph-shb { position: relative; }
.ph-tap {
  position: absolute; z-index: 6; left: var(--x, 50%); top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: rgba(255, 92, 56, .24); box-shadow: 0 0 0 3px #ff5c38, 0 6px 16px rgba(0, 0, 0, .28);
}
.ph-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid #ff5c38; opacity: 0; }
.ph-flash { position: absolute; inset: 0; border-radius: inherit; background: rgba(0, 0, 0, .1); opacity: 0; pointer-events: none; }
.ph-blue .ph-flash { background: rgba(0, 0, 0, .22); }

/* iPhone: the share sheet (the same in every browser, with the look of the system) */
.ph-sh { position: absolute; left: 0; right: 0; bottom: 0; top: 176px; padding: 22px 16px 0; border-radius: 40px 40px 0 0; background: #f2f2f7; box-shadow: 0 -10px 40px rgba(0, 0, 0, .18); }
.ph-shclassic { top: 214px; border-radius: 30px 30px 0 0; }
.ph-shh { display: flex; align-items: center; gap: 12px; height: 60px; }
.ph-shh img { flex: none; width: 52px; height: 52px; border-radius: 12px; }
.ph-shh span { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ph-shh b { font-size: 17px; font-weight: 600; }
.ph-shh small { font-size: 13px; color: #8a8a8e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-shh em { font-size: 13px; color: #007aff; }
.ph-xc { position: relative; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(118, 118, 128, .16); color: #5f5f64; }
.ph-xc .ph-i { width: 16px; height: 16px; stroke-width: 2.6; }
.ph-apps { display: flex; justify-content: space-between; padding: 16px 6px 14px; }
.ph-apps span { display: grid; justify-items: center; gap: 6px; width: 76px; }
.ph-apps small { font-size: 12px; color: #3c3c43; }
.ph-list { border-radius: 22px; background: #fff; }
.ph-list p { position: relative; display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 18px; font-size: 17px; border-top: .5px solid rgba(60, 60, 67, .18); }
.ph-list p:first-child { border-top: 0; border-radius: 22px 22px 0 0; }
.ph-list p:last-child { border-radius: 0 0 22px 22px; }
.ph-list p .ph-i { color: #1c1c1e; }
.ph-list p span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-shclassic .ph-list p { flex-direction: row-reverse; }

/* iPhone: «На экран «Домой»» */
.ph-add { position: absolute; left: 0; right: 0; bottom: 0; top: 62px; padding: 14px 16px 0; border-radius: 40px 40px 0 0; background: #f2f2f7; }
.ph-addclassic { border-radius: 22px 22px 0 0; }
.ph-ah { position: relative; display: flex; align-items: center; justify-content: space-between; height: 56px; margin-bottom: 12px; }
.ph-ah b { flex: 1; min-width: 0; padding: 0 6px; text-align: center; font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-add26 .ph-xc { width: 46px; height: 46px; background: #fff; color: #1c1c1e; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.ph-add26 .ph-xc .ph-i { width: 20px; height: 20px; }
.ph-blue { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 23px; background: #007aff; color: #fff; font-size: 17px; font-weight: 600; }
.ph-bl { padding: 10px 6px; border-radius: 10px; color: #007aff; font-size: 17px; }
.ph-bold { font-weight: 600; }
.ph-grp { margin-bottom: 16px; border-radius: 20px; background: #fff; }
.ph-nm { display: flex; align-items: center; gap: 14px; height: 84px; padding: 0 16px; }
.ph-nm img { flex: none; width: 60px; height: 60px; border-radius: 14px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12); }
.ph-nm span { flex: 1; min-width: 0; font-size: 17px; }
.ph-clr { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #c7c7cc; color: #fff; }
.ph-clr .ph-i { width: 12px; height: 12px; stroke-width: 3; }
.ph-url { display: flex; align-items: center; height: 50px; padding: 0 18px; border-top: .5px solid rgba(60, 60, 67, .18); font-size: 17px; color: #8a8a8e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-tgl { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 56px; padding: 0 16px 0 18px; font-size: 17px; }
.ph-sw { position: relative; flex: none; width: 52px; height: 32px; border-radius: 16px; background: #34c759; }
.ph-sw::after { content: ""; position: absolute; right: 2px; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); }
.ph-cap { margin: 0 8px; font-size: 13px; line-height: 1.35; color: #8a8a8e; }

/* iPhone and Android: the home screen */
.ph-wall { position: absolute; inset: 0; background: linear-gradient(168deg, #86b8ff 0%, #a99cff 46%, #f5a8c8 100%); }
.ph-grid { position: absolute; left: 18px; right: 18px; top: 82px; display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 26px; }
.ph-app { display: grid; justify-items: center; gap: 7px; }
.ph-app small { font-size: 12px; color: #fff; white-space: nowrap; text-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.ph-ic { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 15px; background: var(--c, #888); color: #fff; }
.ph-ic .ph-i { width: 32px; height: 32px; stroke-width: 1.7; }
.ph-new img { width: 62px; height: 62px; border-radius: 15px; }
.ph-safari { background: linear-gradient(#6fcbff, #0a6cf0); }
.ph-safari svg { width: 46px; height: 46px; stroke: none; }
.ph-srch { position: absolute; left: 50%; bottom: 128px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 18px; border-radius: 17px; background: rgba(255, 255, 255, .3); color: #fff; font-size: 14px; }
.ph-srch .ph-i { width: 14px; height: 14px; }
.ph-dock { position: absolute; left: 14px; right: 14px; bottom: 26px; height: 92px; border-radius: 38px; background: rgba(255, 255, 255, .32); display: grid; grid-template-columns: repeat(4, 1fr); place-items: center; }
.ph-dock .ph-ic { width: 64px; height: 64px; border-radius: 16px; }

/* iPhone, Safari 26: the compact bar at the bottom */
.ph-bar26 { position: absolute; z-index: 2; left: 14px; right: 14px; top: 656px; height: 52px; display: flex; gap: 8px; }
.ph-gl { background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08), 0 6px 18px rgba(0, 0, 0, .14); }
.ph-gc { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #1c1c1e; }
.ph-gp { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 16px; border-radius: 26px; color: #1c1c1e; font-size: 17px; }
.ph-pgi, .ph-rl { flex: none; display: grid; }
.ph-gp .ph-i { width: 22px; height: 22px; }
.ph-host { flex: 1; min-width: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-pop { position: absolute; right: 14px; bottom: 96px; width: 276px; padding: 8px; border-radius: 32px; background: rgba(247, 247, 249, .95); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 12px 40px rgba(0, 0, 0, .24), 0 0 0 .5px rgba(0, 0, 0, .08); }
.ph-pop p { position: relative; display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 16px; border-radius: 24px; font-size: 17px; }
.ph-pop p span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-pop p .ph-i { color: #1c1c1e; }

/* iPhone, Safari up to iOS 18: the address bar above the toolbar */
.ph-clbar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 134px; background: rgba(249, 249, 250, .95); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 -.5px 0 rgba(0, 0, 0, .22); }
.ph-addr { position: absolute; left: 16px; right: 16px; top: 10px; height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 13px; background: rgba(118, 118, 128, .12); font-size: 17px; }
.ph-aa { flex: none; display: inline-flex; align-items: baseline; font-size: 18px; line-height: 1; font-weight: 500; }
.ph-aa small { font-size: 11px; }
.ph-addr .ph-rl .ph-i { width: 20px; height: 20px; }
.ph-addr .ph-host { margin-right: 28px; }
.ph-tb { position: absolute; left: 0; right: 0; top: 62px; height: 46px; display: grid; grid-template-columns: repeat(5, 1fr); place-items: center; color: #007aff; }
.ph-tb .ph-i { width: 28px; height: 28px; stroke-width: 1.7; }
.ph-dis { display: grid; color: #c4c4c8; }
.ph-tbb { display: grid; place-items: center; width: 60px; height: 46px; border-radius: 12px; }

/* iPhone, Chrome: the address bar with the share button at the top, the toolbar at the bottom */
.ph-ctop { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 112px; background: #f8f9fc; box-shadow: 0 .5px 0 rgba(0, 0, 0, .14); }
.ph-omni { position: absolute; left: 14px; right: 14px; top: 58px; height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 4px 0 5px; border-radius: 22px; background: #e8ecf2; font-size: 17px; color: #1f1f1f; }
.ph-omni .ph-host { text-align: left; }
.ph-tuneb { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f8f9fc; color: #444746; }
.ph-tuneb .ph-i { width: 20px; height: 20px; }
.ph-shb { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #444746; }
.ph-shb .ph-i { width: 22px; height: 22px; }
.ph-cbot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 92px; display: grid; grid-template-columns: repeat(5, 1fr); justify-items: center; align-items: start; padding-top: 14px; background: #f8f9fc; box-shadow: 0 -.5px 0 rgba(0, 0, 0, .14); color: #444746; }
.ph-cbot .ph-i { width: 28px; height: 28px; }
.ph-cnt { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border: 2.2px solid currentColor; border-radius: 7px; font-size: 13px; font-style: normal; font-weight: 700; line-height: 1; color: #444746; }

/* Android, Chrome */
.ph-and .ph-status { height: 30px; padding: 4px 22px 0 26px; font-size: 14px; font-weight: 500; }
.ph-hole { position: absolute; left: 50%; top: 9px; width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; background: #111; }
.ph-and .ph-ind { width: 112px; margin-left: -56px; bottom: 10px; height: 4px; background: #202124; }
.ph-atop { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 92px; display: flex; align-items: center; gap: 4px; padding: 30px 12px 0 12px; background: #f8f9fc; }
.ph-atop .ph-omni { position: relative; left: auto; right: auto; top: auto; flex: 1; min-width: 0; height: 46px; border-radius: 23px; background: #e9eef6; font-size: 16px; }
.ph-atop .ph-tuneb { background: #f8f9fc; }
.ph-av { flex: none; display: grid; place-items: center; width: 44px; height: 46px; border-radius: 50%; color: #444746; }
.ph-atop .ph-cnt { margin: 0 6px; }
.ph-amenu { position: absolute; right: 10px; top: 56px; width: 264px; padding: 8px 0; border-radius: 14px; background: #fff; box-shadow: 0 8px 30px rgba(0, 0, 0, .3), 0 0 0 .5px rgba(0, 0, 0, .12); }
.ph-amenu p { position: relative; display: flex; align-items: center; gap: 18px; height: 46px; padding: 0 18px; font-size: 16px; color: #1f1f1f; }
.ph-amenu p .ph-i { color: #444746; }
.ph-amenu p span { flex: 1; min-width: 0; white-space: nowrap; }
.ph-adlg { position: absolute; left: 26px; right: 26px; top: 226px; padding: 24px 24px 16px; border-radius: 28px; background: #f0f3fa; box-shadow: 0 12px 34px rgba(0, 0, 0, .3); }
.ph-adlg > b { display: block; margin-bottom: 18px; font-size: 22px; font-weight: 400; color: #1f1f1f; }
.ph-aapp { display: flex; align-items: center; gap: 14px; }
.ph-aapp img { flex: none; width: 48px; height: 48px; border-radius: 12px; }
.ph-aapp span { min-width: 0; display: grid; gap: 1px; }
.ph-aapp b { font-size: 16px; font-weight: 500; }
.ph-aapp small { font-size: 14px; color: #5f6368; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-abtn { display: flex; justify-content: flex-end; gap: 8px; margin-top: 26px; font-size: 15px; font-weight: 500; color: #0b57d0; }
.ph-abtn span { position: relative; padding: 10px 16px; border-radius: 20px; }
.ph-and .ph-wall { background: linear-gradient(168deg, #8fd3c0 0%, #7fb5e8 52%, #b79df0 100%); }
.ph-and .ph-grid { top: 56px; }
.ph-and .ph-ic, .ph-and .ph-new img { width: 58px; height: 58px; border-radius: 50%; }
.ph-and .ph-ic .ph-i { width: 28px; height: 28px; }
.ph-and .ph-dock { left: 18px; right: 18px; bottom: 100px; height: 66px; background: none; }
.ph-and .ph-dock .ph-ic { width: 58px; height: 58px; border-radius: 50%; }
.ph-gs { position: absolute; left: 16px; right: 16px; bottom: 30px; height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 20px; border-radius: 27px; background: rgba(255, 255, 255, .92); color: #444746; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  .install-bar, .install-bar.is-out { animation: none; }
  html.install-anim .topbar, html.install-anim .main { transition: none; }
}
