/* =========================================================================
   Aramin · WhatsApp Audio Compressor
   Design system: shadcn/ui "New York" tokens, faithfully reproduced as
   framework-free CSS so the tool stays 100% static, crawlable, offline & PWA.
   Dark-first (brand #0b0d12) with light support + RTL.
   ========================================================================= */

:root {
  --background: 222 22% 6%;
  --foreground: 210 20% 92%;
  --card: 222 20% 8%;
  --card-foreground: 210 20% 92%;
  --popover: 222 22% 7%;
  --popover-foreground: 210 20% 92%;
  --primary: 142 70% 42%;
  --primary-foreground: 0 0% 100%;
  --secondary: 222 16% 14%;
  --secondary-foreground: 210 20% 92%;
  --muted: 222 16% 13%;
  --muted-foreground: 216 14% 62%;
  --accent: 222 16% 16%;
  --accent-foreground: 210 20% 96%;
  --destructive: 0 72% 51%;
  --destructive-foreground: 0 0% 100%;
  --success: 142 70% 45%;
  --warning: 38 92% 50%;
  --border: 222 16% 17%;
  --input: 222 16% 18%;
  --ring: 142 70% 45%;
  --radius: 0.9rem;

  --grad-1: 152 76% 40%;
  --grad-2: 168 78% 41%;
  --shadow-color: 222 40% 2%;

  color-scheme: dark;
}

:root[data-theme="light"] {
  --background: 210 40% 99%;
  --foreground: 222 30% 11%;
  --card: 0 0% 100%;
  --card-foreground: 222 30% 11%;
  --popover: 0 0% 100%;
  --popover-foreground: 222 30% 11%;
  --primary: 142 72% 33%;
  --primary-foreground: 0 0% 100%;
  --secondary: 210 30% 95%;
  --secondary-foreground: 222 30% 15%;
  --muted: 210 30% 95%;
  --muted-foreground: 215 16% 42%;
  --accent: 210 34% 93%;
  --accent-foreground: 222 30% 15%;
  --destructive: 0 72% 48%;
  --destructive-foreground: 0 0% 100%;
  --success: 142 72% 33%;
  --warning: 32 92% 44%;
  --border: 214 24% 89%;
  --input: 214 24% 86%;
  --ring: 142 72% 33%;
  --shadow-color: 222 30% 60%;
  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]):not([data-theme="light"]) {
    --background: 210 40% 99%;
    --foreground: 222 30% 11%;
    --card: 0 0% 100%;
    --card-foreground: 222 30% 11%;
    --popover: 0 0% 100%;
    --popover-foreground: 222 30% 11%;
    --primary: 142 72% 33%;
    --primary-foreground: 0 0% 100%;
    --secondary: 210 30% 95%;
    --secondary-foreground: 222 30% 15%;
    --muted: 210 30% 95%;
    --muted-foreground: 215 16% 42%;
    --accent: 210 34% 93%;
    --accent-foreground: 222 30% 15%;
    --destructive: 0 72% 48%;
    --destructive-foreground: 0 0% 100%;
    --success: 142 72% 33%;
    --warning: 32 92% 44%;
    --border: 214 24% 89%;
    --input: 214 24% 86%;
    --ring: 142 72% 33%;
    --shadow-color: 222 30% 60%;
    color-scheme: light;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", "Vazirmatn", "IRANSans", Tahoma, "Noto Sans Arabic", sans-serif;
  background:
    radial-gradient(1200px 800px at 50% -10%, hsl(var(--primary) / 0.10), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, hsl(var(--grad-2) / 0.08), transparent 55%),
    hsl(var(--background));
  color: hsl(var(--foreground));
  min-height: 100dvh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[dir="rtl"] body { font-family: "Vazirmatn", "IRANSans", Tahoma, "Noto Naskh Arabic",
  ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }

::selection { background: hsl(var(--primary) / 0.35); }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
  border-radius: calc(var(--radius) - 0.4rem);
}

/* ---------- Layout / app shell ---------- */
.app {
  width: 100%;
  max-width: 30rem;
  margin-inline: auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: max(env(safe-area-inset-top), 0.5rem) 1rem
           calc(env(safe-area-inset-bottom) + 1rem);
}

.appbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.25rem;
  margin: 0 -0.25rem 0.25rem;
  background: hsl(var(--background) / 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid hsl(var(--border) / 0.7);
}

.brand { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.brand-logo {
  width: 2.25rem; height: 2.25rem; border-radius: 0.7rem; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(145deg, hsl(var(--grad-1)), hsl(var(--grad-2)));
  box-shadow: 0 6px 20px -6px hsl(var(--primary) / 0.6), inset 0 1px 0 hsl(0 0% 100% / 0.25);
}
.brand-logo svg { width: 1.35rem; height: 1.35rem; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text b { font-size: 0.92rem; font-weight: 700; letter-spacing: -0.01em; }
.brand-text span { font-size: 0.7rem; color: hsl(var(--muted-foreground)); }
.appbar-spacer { flex: 1; }

.icon-btn {
  width: 2.35rem; height: 2.35rem; flex: none;
  display: grid; place-items: center;
  border-radius: 0.65rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary) / 0.5);
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: background .18s, transform .1s, border-color .18s;
}
.icon-btn:hover { background: hsl(var(--accent)); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 1.2rem; height: 1.2rem; }
.icon-btn .i-sun { display: none; }
:root[data-theme="light"] .icon-btn .i-sun { display: block; }
:root[data-theme="light"] .icon-btn .i-moon { display: none; }

main { flex: 1; display: flex; flex-direction: column; gap: 1rem; padding-top: 0.5rem; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 0.5rem 0.25rem 0.25rem; }
.hero h1 {
  font-size: clamp(1.5rem, 6vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.hero h1 .accent {
  background: linear-gradient(120deg, hsl(var(--grad-1)), hsl(var(--grad-2)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: hsl(var(--muted-foreground)); font-size: 0.92rem; max-width: 26rem; margin-inline: auto; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-top: 0.85rem;
}

/* ---------- Card ---------- */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: 0 1px 2px hsl(var(--shadow-color) / 0.4),
              0 18px 40px -24px hsl(var(--shadow-color) / 0.55);
}
.card-pad { padding: 1.1rem; }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.32rem;
  font-size: 0.72rem; font-weight: 600; line-height: 1;
  padding: 0.38rem 0.6rem; border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary) / 0.55);
  color: hsl(var(--muted-foreground));
}
.badge svg { width: 0.85rem; height: 0.85rem; }
.badge.badge-primary { color: hsl(var(--primary)); border-color: hsl(var(--primary) / 0.35);
  background: hsl(var(--primary) / 0.12); }
.badge.badge-success { color: hsl(var(--success)); border-color: hsl(var(--success) / 0.35);
  background: hsl(var(--success) / 0.12); }
.badge.badge-muted { }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: hsl(var(--secondary));
  --btn-fg: hsl(var(--secondary-foreground));
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: inherit; font-size: 0.9rem; font-weight: 600; line-height: 1;
  padding: 0 1rem; height: 2.6rem; border-radius: calc(var(--radius) - 0.25rem);
  border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  cursor: pointer; user-select: none; white-space: nowrap;
  transition: filter .16s, background .16s, transform .08s, border-color .16s, opacity .16s;
}
.btn svg { width: 1.05rem; height: 1.05rem; flex: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn-primary {
  --btn-fg: hsl(var(--primary-foreground));
  background: linear-gradient(145deg, hsl(var(--grad-1)), hsl(var(--grad-2)));
  box-shadow: 0 8px 22px -10px hsl(var(--primary) / 0.75), inset 0 1px 0 hsl(0 0% 100% / 0.2);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-secondary { background: hsl(var(--secondary)); }
.btn-secondary:hover { background: hsl(var(--accent)); }
.btn-outline { background: transparent; border-color: hsl(var(--border)); color: hsl(var(--foreground)); }
.btn-outline:hover { background: hsl(var(--accent)); }
.btn-ghost { background: transparent; color: hsl(var(--muted-foreground)); }
.btn-ghost:hover { background: hsl(var(--accent)); color: hsl(var(--foreground)); }
.btn-success { --btn-fg: hsl(var(--primary-foreground)); background: hsl(var(--success)); }
.btn-block { width: 100%; }
.btn-lg { height: 3rem; font-size: 0.98rem; }
.btn-sm { height: 2.15rem; font-size: 0.82rem; padding: 0 0.7rem; }

/* ---------- Segmented control (language) ---------- */
.segmented {
  display: inline-flex; padding: 0.2rem; gap: 0.15rem;
  background: hsl(var(--muted)); border: 1px solid hsl(var(--border));
  border-radius: 0.7rem;
}
.segmented a, .segmented button {
  font-family: inherit; font-size: 0.78rem; font-weight: 600;
  padding: 0.35rem 0.6rem; border-radius: 0.5rem; border: 0;
  background: transparent; color: hsl(var(--muted-foreground)); cursor: pointer;
  transition: background .16s, color .16s;
}
.segmented .active, .segmented a[aria-current="true"] {
  background: hsl(var(--card)); color: hsl(var(--foreground));
  box-shadow: 0 1px 2px hsl(var(--shadow-color) / 0.5);
}

/* ---------- Dropzone ---------- */
.dropzone {
  position: relative;
  border: 1.5px dashed hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--muted) / 0.35);
  padding: 1.8rem 1.1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .12s;
}
.dropzone:hover { border-color: hsl(var(--primary) / 0.6); background: hsl(var(--primary) / 0.05); }
.dropzone.dragover {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.10);
  transform: scale(1.01);
}
.dropzone .dz-icon {
  width: 3.1rem; height: 3.1rem; margin: 0 auto 0.75rem; border-radius: 1rem;
  display: grid; place-items: center;
  background: hsl(var(--primary) / 0.12); color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.25);
}
.dropzone .dz-icon svg { width: 1.6rem; height: 1.6rem; }
.dropzone h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 0.25rem; }
.dropzone p { font-size: 0.8rem; color: hsl(var(--muted-foreground)); }
.dropzone .dz-formats { margin-top: 0.7rem; font-size: 0.72rem; color: hsl(var(--muted-foreground)); }

/* ---------- Settings / options ---------- */
.section-title {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: hsl(var(--muted-foreground));
  margin-bottom: 0.6rem;
}
.option-row {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 0; border-top: 1px solid hsl(var(--border) / 0.7);
}
.option-row:first-of-type { border-top: 0; }
.option-row .opt-text { flex: 1; min-width: 0; }
.option-row .opt-text b { display: block; font-size: 0.88rem; font-weight: 600; }
.option-row .opt-text span { font-size: 0.76rem; color: hsl(var(--muted-foreground)); }

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  font-family: inherit; font-size: 0.82rem; font-weight: 600;
  padding: 0.5rem 0.8rem; border-radius: 0.6rem;
  border: 1px solid hsl(var(--border)); background: hsl(var(--secondary) / 0.4);
  color: hsl(var(--foreground)); cursor: pointer;
  transition: border-color .16s, background .16s, color .16s;
}
.chip[aria-pressed="true"] {
  border-color: hsl(var(--primary)); background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
}
.chip small { display: block; font-weight: 500; font-size: 0.68rem; opacity: 0.8; }

/* ---------- Switch ---------- */
.switch { position: relative; width: 2.7rem; height: 1.55rem; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track {
  position: absolute; inset: 0; border-radius: 999px;
  background: hsl(var(--input)); transition: background .18s;
}
.switch .thumb {
  position: absolute; top: 0.18rem; inset-inline-start: 0.18rem;
  width: 1.19rem; height: 1.19rem; border-radius: 999px; background: #fff;
  box-shadow: 0 1px 3px hsl(var(--shadow-color) / 0.6);
  transition: transform .18s;
}
.switch input:checked + .track { background: hsl(var(--primary)); }
.switch input:checked + .track + .thumb { transform: translateX(1.15rem); }
[dir="rtl"] .switch input:checked + .track + .thumb { transform: translateX(-1.15rem); }
.switch input:focus-visible + .track { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }

/* ---------- Progress ---------- */
.progress {
  position: relative; height: 0.5rem; width: 100%;
  background: hsl(var(--muted)); border-radius: 999px; overflow: hidden;
}
.progress > span {
  position: absolute; inset-block: 0; inset-inline-start: 0; width: 0%;
  background: linear-gradient(90deg, hsl(var(--grad-1)), hsl(var(--grad-2)));
  border-radius: 999px; transition: width .25s ease;
}
.progress.indeterminate > span {
  width: 40%; animation: indet 1.1s ease-in-out infinite;
}
@keyframes indet {
  0% { inset-inline-start: -40%; } 100% { inset-inline-start: 100%; }
}

/* ---------- File rows ---------- */
.file-list { display: flex; flex-direction: column; gap: 0.7rem; }
.file-row {
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: 0.85rem; border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 0.15rem);
  background: hsl(var(--card));
  animation: rise .3s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.file-head { display: flex; align-items: center; gap: 0.7rem; }
.file-ico {
  width: 2.3rem; height: 2.3rem; flex: none; border-radius: 0.6rem; display: grid; place-items: center;
  background: hsl(var(--secondary)); color: hsl(var(--muted-foreground));
}
.file-ico svg { width: 1.15rem; height: 1.15rem; }
.file-row.done .file-ico { background: hsl(var(--success) / 0.15); color: hsl(var(--success)); }
.file-row.error .file-ico { background: hsl(var(--destructive) / 0.15); color: hsl(var(--destructive)); }
.file-meta { flex: 1; min-width: 0; }
.file-meta .fname {
  font-size: 0.86rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.file-meta .fsub { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.file-meta .fsub .arrow { color: hsl(var(--primary)); font-weight: 700; }
.file-remove {
  width: 1.9rem; height: 1.9rem; flex: none; border-radius: 0.5rem; border: 0;
  background: transparent; color: hsl(var(--muted-foreground)); cursor: pointer;
  display: grid; place-items: center; transition: background .16s, color .16s;
}
.file-remove:hover { background: hsl(var(--destructive) / 0.12); color: hsl(var(--destructive)); }
.file-remove svg { width: 1rem; height: 1rem; }
.file-status { font-size: 0.75rem; color: hsl(var(--muted-foreground)); display: flex; align-items: center; gap: 0.4rem; }
.file-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.file-actions .btn { flex: 1; min-width: 8rem; }
.saved-pill {
  font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 999px;
  background: hsl(var(--success) / 0.14); color: hsl(var(--success));
}
.audio-preview { width: 100%; height: 2.3rem; margin-top: 0.2rem; }
.audio-preview::-webkit-media-controls-panel { background: hsl(var(--muted)); }

/* ---------- Summary bar ---------- */
.summary {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.85rem 1rem; border-radius: calc(var(--radius) - 0.15rem);
  background: hsl(var(--primary) / 0.08); border: 1px solid hsl(var(--primary) / 0.25);
}
.summary .s-num { font-size: 1.15rem; font-weight: 800; color: hsl(var(--primary)); }
.summary .s-lbl { font-size: 0.72rem; color: hsl(var(--muted-foreground)); }

/* ---------- Sticky action ---------- */
.action-bar {
  position: sticky; bottom: 0; z-index: 20;
  padding: 0.75rem 0 calc(env(safe-area-inset-bottom));
  margin-top: auto;
  background: linear-gradient(0deg, hsl(var(--background)) 55%, transparent);
}

/* ---------- Spinner ---------- */
.spinner {
  width: 1rem; height: 1rem; border-radius: 999px;
  border: 2px solid hsl(var(--muted-foreground) / 0.35);
  border-top-color: hsl(var(--primary));
  animation: spin .7s linear infinite; display: inline-block; flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Toast ---------- */
.toaster {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 1rem calc(1rem + env(safe-area-inset-right)) calc(1rem + env(safe-area-inset-bottom))
           calc(1rem + env(safe-area-inset-left));
  pointer-events: none;
}
.toast {
  width: 100%; max-width: 28rem;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 0.9rem; border-radius: calc(var(--radius) - 0.2rem);
  background: hsl(var(--popover)); color: hsl(var(--popover-foreground));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 10px 30px -10px hsl(var(--shadow-color) / 0.8);
  font-size: 0.85rem; pointer-events: auto;
  animation: toastin .25s ease both;
}
@keyframes toastin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.toast.out { animation: toastout .2s ease both; }
@keyframes toastout { to { opacity: 0; transform: translateY(12px); } }
.toast svg { width: 1.15rem; height: 1.15rem; flex: none; }
.toast.success svg { color: hsl(var(--success)); }
.toast.error svg { color: hsl(var(--destructive)); }
.toast.info svg { color: hsl(var(--primary)); }

/* ---------- Content / SEO sections ---------- */
.content { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.content section h2 {
  font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.75rem;
}
.content p { color: hsl(var(--muted-foreground)); font-size: 0.9rem; margin-bottom: 0.6rem; }
.content a.inline { color: hsl(var(--primary)); font-weight: 600; }
.steps { display: flex; flex-direction: column; gap: 0.6rem; counter-reset: step; }
.step { display: flex; gap: 0.75rem; align-items: flex-start; }
.step .num {
  flex: none; width: 1.7rem; height: 1.7rem; border-radius: 999px;
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 800;
  background: hsl(var(--primary) / 0.14); color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.3);
}
.step .num::before { counter-increment: step; content: counter(step); }
.step .st-body b { font-size: 0.9rem; }
.step .st-body p { margin: 0.1rem 0 0; font-size: 0.83rem; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.feature {
  padding: 0.85rem; border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) - 0.2rem);
  background: hsl(var(--card));
}
.feature .f-ico {
  width: 2rem; height: 2rem; border-radius: 0.55rem; display: grid; place-items: center;
  background: hsl(var(--primary) / 0.12); color: hsl(var(--primary)); margin-bottom: 0.5rem;
}
.feature .f-ico svg { width: 1.1rem; height: 1.1rem; }
.feature b { font-size: 0.85rem; }
.feature p { font-size: 0.78rem; margin: 0.2rem 0 0; }

.faq details {
  border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) - 0.2rem);
  background: hsl(var(--card)); margin-bottom: 0.6rem; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 0.85rem 1rem;
  font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { transition: transform .2s; color: hsl(var(--muted-foreground)); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details > div { padding: 0 1rem 0.95rem; color: hsl(var(--muted-foreground)); font-size: 0.85rem; }

/* ---------- Footer ---------- */
.foot {
  margin-top: 1.75rem; padding-top: 1.1rem; border-top: 1px solid hsl(var(--border));
  text-align: center; color: hsl(var(--muted-foreground)); font-size: 0.78rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.foot .foot-links { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.foot .foot-links a:hover { color: hsl(var(--foreground)); }
.foot .privacy { display: inline-flex; align-items: center; gap: 0.4rem; color: hsl(var(--success)); font-weight: 600; }
.foot .privacy svg { width: 0.9rem; height: 0.9rem; }

/* ---------- Install banner ---------- */
.install-banner {
  display: none; align-items: center; gap: 0.7rem;
  padding: 0.7rem 0.85rem; border-radius: calc(var(--radius) - 0.2rem);
  background: hsl(var(--primary) / 0.10); border: 1px solid hsl(var(--primary) / 0.3);
}
.install-banner.show { display: flex; }
.install-banner .ib-txt { flex: 1; font-size: 0.82rem; }
.install-banner .ib-txt b { font-size: 0.86rem; }

.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media (min-width: 480px) {
  .app { padding-inline: 1.25rem; }
}
