/* The Mini App: the website's look (site/site.css) in a phone layout with tabs at the bottom. */
html, body { height: 100%; }
.g-root { height: 100%; }
.g-outside { max-width: 360px; margin: 40px auto 0; padding: 0 20px; text-align: center; color: var(--muted); }
.mapp { display: flex; flex-direction: column; height: 100%; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--font); }
.mapp-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--brand); color: #fff; }
.mapp-hello { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mapp-lang { border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; border-radius: 9px; padding: 4px 10px; font-weight: 700; font-size: 13px; }
.mapp-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.mapp-pane { display: none; }
.mapp-pane.on { display: block; }
#app .mapp-pane[data-testid=pane-alerts], #app .mapp-pane[data-testid=pane-mod], .mapp-pane[data-testid=pane-alerts], .mapp-pane[data-testid=pane-mod] { padding: 12px; }
.mapp-tabs { flex: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 1px solid var(--line); background: var(--card); padding-bottom: env(safe-area-inset-bottom); }
.mtab { display: grid; justify-items: center; gap: 1px; border: 0; background: none; padding: 7px 2px 8px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.mtab-i { font-size: 18px; line-height: 1.1; filter: grayscale(.6); }
.mtab.on { color: var(--brand); }
.mtab.on .mtab-i { filter: none; }
.mapp .site.bare .hero h1 { font-size: 21px; }
.field { display: grid; gap: 4px; margin: 10px 0; }
.field span { font-size: 13px; color: var(--muted); font-weight: 650; }
.field select, .field input { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; background: var(--card); color: var(--ink); }
.anow { margin: 4px 0; padding: 8px 12px; border-radius: 10px; background: var(--down-bg); color: var(--down); font-weight: 650; font-size: 14px; }
.arow { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line2); }
.arow:first-child { border-top: 0; }
.arow small { grid-column: 1; color: var(--muted); }
.arow.fired small { color: var(--down); font-weight: 650; }
.arow .lremove { grid-row: 1 / span 2; grid-column: 2; }
.adigest { display: flex; gap: 10px; align-items: center; padding: 4px 4px 10px; font-size: 14px; }
.adigest input { width: 20px; height: 20px; accent-color: var(--brand); }
.qrow { display: grid; gap: 4px; padding: 10px 0; border-top: 1px solid var(--line2); }
.qrow small { color: var(--muted); }
.qbtns { display: flex; gap: 8px; }
.mapp .g-toasts { position: absolute; }
.mapp { position: relative; }
