/* Android start-page layout in the fixed viewport. The status strip represents the host. */
.foundation-start {
  --host-top-inset: 0px;
  --home-viewport-height: calc(100dvh - var(--chrome-height));
  position: absolute;
  inset: 0 0 var(--chrome-height);
  overflow: auto;
  background:
    radial-gradient(circle 60vw at 64% 6%, #dbcdf357, transparent),
    radial-gradient(circle 54vw at 8% 38%, #cde0f84d, transparent),
    radial-gradient(circle 50vw at 94% 52%, #d5e3f842, transparent),
    #f4f6fa;
  color: #1d1d1f;
  font-family: sans-serif;
}

.foundation-start :is(h1, form) { margin: 0; }
.foundation-start .glyph { display: flex; }
.foundation-start svg { stroke: none; }
.foundation-start .wrap { min-height:100%;padding:0 28px;display:flex;flex-direction:column;align-items:center;padding-top:max(0px,calc(var(--home-viewport-height,100vh) * .48 - 72px - var(--host-top-inset,0px) * .52)) }
.foundation-start h1 { font-size:28px;line-height:1.45;font-weight:600;letter-spacing:-0.4px;margin-bottom:16px }
.foundation-start .search { width:100%;max-width:520px }
.foundation-start .bar { height:52px;border-radius:16px;background:#FFFFFF;border:none;box-shadow:0 8px 24px rgba(0,0,0,.07);display:flex;align-items:center;padding:0 14px;gap:10px }
.foundation-start .bar svg { width:22px;height:22px;flex:none;fill:#6E6E73 }
.foundation-start .bar input { flex:1;min-width:0;border:0;outline:0;background:transparent;color:#1D1D1F;font-size:16px;line-height:22px;-webkit-user-select:text;user-select:text }
.foundation-start .bar input::placeholder { color:#6E6E73 }
.foundation-start .bar input::-webkit-search-cancel-button { -webkit-appearance:none }
.foundation-start .clear-home-search { border:0;background:transparent;width:28px;height:28px;display:flex;align-items:center;justify-content:center }
.foundation-start .scan { width:28px;height:28px;display:flex;align-items:center;justify-content:center }
.foundation-start .pager { width:100%;max-width:520px;height:auto;margin-top:28px;display:flex;align-items:stretch;justify-content:flex-start;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none }
.foundation-start .pager::-webkit-scrollbar { display:none }
.foundation-start .page { flex:0 0 100%;scroll-snap-align:start;display:grid;grid-template-columns:repeat(4,1fr);gap:16px 0 }
.foundation-start .tile { display:flex;flex-direction:column;align-items:center;text-decoration:none;color:#6E6E73;padding:4px 0 }
.foundation-start .icon { width:50px;height:50px;border-radius:16px;background:#FFFFFF;border:none;box-shadow:0 4px 14px rgba(0,0,0,.07);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative }
.foundation-start .icon img { position:absolute;width:24px;height:24px;object-fit:contain;border-radius:20%;pointer-events:none }
.foundation-start .glyph svg { width:26px;height:26px }
.foundation-start .name { margin-top:8px;font-size:11px;line-height:1.45;max-width:72px;padding:0 4px;overflow:hidden;white-space:nowrap;text-align:center }
.foundation-start .dots { display:flex;gap:6px;margin-top:14px }
.foundation-start .dots i { width:6px;height:6px;border-radius:50%;background:#6E6E73;opacity:.35;display:block }
.foundation-start .dots i.on { width:7px;height:7px;opacity:.55;background:#007AFF }
