:root {
  --bg: #0b0710;
  --sheet: #15101d;
  --sheet-2: #1d1727;
  --field: #0e0a16;
  --line: #2a2238;
  --txt: #f3eefb;
  --muted: #9a90b3;
  --c1: #ff6b5e;
  --c2: #ff3d9a;
  --c3: #a64bff;
  --grad: linear-gradient(120deg, var(--c1), var(--c2) 48%, var(--c3));
  --radius: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--txt);
  background:
    radial-gradient(900px 600px at 85% -8%, rgba(255, 61, 154, .20), transparent 58%),
    radial-gradient(820px 560px at -8% 108%, rgba(166, 75, 255, .18), transparent 55%),
    var(--bg);
  overflow-x: hidden;
}

.app {
  max-width: 480px;
  margin-inline: auto;
  padding: max(22px, env(safe-area-inset-top)) 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.identity { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; }
.logo { width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 26px -8px var(--c2);
}
.logo svg { width: 22px; height: 22px; }
.identity__text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.identity__name { font-family: "Syne", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; font-weight: 700; font-size: clamp(8px, 3vw, 14px); letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-text-size-adjust: 100%; }
.identity__tag  { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Narrow phones (most iPhones are 375–430px wide) — hide the secondary
   tagline and pin the brand at a fixed small size so iOS Safari can't
   miscalculate the flex container width in standalone PWA mode. */
@media (max-width: 430px) {
  .identity__name { font-size: 12px; font-weight: 700; }
}
.identity__tag { color: var(--muted); font-size: 12px; font-weight: 600; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__actions { display: flex; align-items: center; gap: 12px; flex: none; }

.status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #36d399; box-shadow: 0 0 10px #36d399;
  transition: background .2s, box-shadow .2s;
}
.status-dot.is-offline { background: #6b6480; box-shadow: none; }

.langbtn {
  border: 1px solid var(--line); background: var(--sheet-2); color: var(--txt);
  font-family: inherit; font-weight: 700; font-size: 12px; letter-spacing: .5px;
  padding: 8px 10px; border-radius: 10px; cursor: pointer; min-width: 40px;
  transition: transform .15s, border-color .15s;
}
.langbtn:hover { border-color: var(--c2); }
.langbtn:active { transform: scale(.94); }

.btn--whatsapp {
  border: none; color: #fff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 10px 28px -10px #25d366;
}
.btn--whatsapp svg { width: 16px; height: 16px; }
.btn--whatsapp:hover { box-shadow: 0 14px 34px -10px #25d366; }

/* ---------- buttons ---------- */
.iconbtn {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  border: 1px solid var(--line); background: var(--sheet-2); color: var(--txt);
  display: grid; place-items: center; cursor: pointer; transition: transform .15s, border-color .15s;
}
.iconbtn svg { width: 20px; height: 20px; }
.iconbtn:active { transform: scale(.94); }
.iconbtn:hover { border-color: var(--c2); }
.iconbtn--field { width: 50px; height: 50px; background: var(--field); }
.iconbtn__emoji { font-size: 22px; line-height: 1; }

/* Reliable taps on Android: never let SVG/span children intercept the gesture
   — the touch should always resolve to the button element itself. */
.iconbtn svg, .btn svg, .pb svg, .present__btn svg, .tab svg,
.iconbtn span, .btn span { pointer-events: none; }

/* Emoji palette */
.emoji-pop {
  margin-top: 10px; padding: 10px;
  background: var(--field); border: 1px solid var(--line); border-radius: 13px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(38px, 1fr));
  gap: 4px; max-height: 240px; overflow-y: auto;
}
.emoji-pop[hidden] { display: none; }
.emoji {
  border: none; background: transparent; cursor: pointer;
  font-size: 22px; line-height: 1; padding: 8px 0; border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}
.emoji:hover { background: rgba(255,255,255,.05); }
.emoji:active { transform: scale(.92); }

.btn {
  border: 1px solid var(--line); background: var(--sheet-2); color: var(--txt);
  font-family: inherit; font-weight: 700; font-size: 14px; letter-spacing: .3px;
  padding: 14px; border-radius: 14px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }
.btn:hover { border-color: var(--c2); }
.btn--primary {
  border: none; color: #fff; background: var(--grad);
  box-shadow: 0 10px 28px -10px var(--c2);
}
.btn--primary:hover { box-shadow: 0 14px 34px -10px var(--c2); }

/* ---------- phone preview ---------- */
.phone {
  width: 248px; height: 430px; margin-inline: auto; padding: 11px; position: relative;
  border-radius: 42px;
  background: linear-gradient(160deg, #241c33, #0c0814);
  box-shadow:
    0 40px 70px -30px rgba(0, 0, 0, .9),
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 0 0 2px rgba(255, 255, 255, .04);
}
.phone__notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 84px; height: 22px; border-radius: 12px; background: #0a0610;
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #000; }
#led { display: block; width: 100%; height: 100%; }
.phone__scan {
  position: absolute; inset: 0; pointer-events: none; opacity: .45; mix-blend-mode: overlay;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 3px);
}
.phone__vignette { position: absolute; inset: 0; pointer-events: none; border-radius: 32px; box-shadow: inset 0 0 80px rgba(0, 0, 0, .6); }

/* ---------- actions row ---------- */
.actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }

/* ---------- control sheet ---------- */
.sheet {
  background: var(--sheet); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .9);
}
.tabs { display: flex; position: relative; border-bottom: 1px solid var(--line); }
.tab {
  flex: 1; padding: 16px 0; border: none; background: none; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 14px; letter-spacing: .4px;
  color: var(--muted); transition: color .18s; position: relative; z-index: 2;
}
.tab.is-active { color: var(--txt); }
.tab__ink {
  position: absolute; bottom: 0; height: 3px; width: 33.333%; border-radius: 3px;
  background: var(--grad); transition: transform .26s cubic-bezier(.4, 0, .2, 1);
}

.pane { padding: 20px; }
.pane[hidden] { display: none; }
.pane.is-active { animation: rise .25s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.label { margin: 0 0 10px; font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.label--mt { margin-top: 22px; }

/* text field */
.field { display: flex; gap: 10px; }
.field input {
  flex: 1; min-width: 0; padding: 14px; border-radius: 13px;
  background: var(--field); border: 1px solid var(--line); color: var(--txt);
  font-family: inherit; font-weight: 700; font-size: 17px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus { border-color: var(--c2); box-shadow: 0 0 0 3px rgba(255, 61, 154, .16); }

.voice { margin-top: 14px; }
select {
  width: 100%; padding: 13px; border-radius: 12px; font-family: inherit; font-weight: 600; font-size: 14px;
  background: var(--field); border: 1px solid var(--line); color: var(--txt); outline: none;
}

/* segmented control */
.seg { display: flex; flex-wrap: wrap; gap: 7px; }
.seg__btn {
  flex: 1; min-width: 50px; padding: 11px 4px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--line); background: var(--field); color: var(--muted);
  font-family: inherit; font-weight: 700; font-size: 14px; transition: .15s;
}
.seg__btn.is-active { color: #fff; border-color: transparent; background: var(--grad); box-shadow: 0 6px 18px -8px var(--c2); }

/* fonts */
.fonts { display: flex; flex-wrap: wrap; gap: 8px; }
.font {
  flex: 1; min-width: 62px; padding: 13px 4px; border-radius: 12px; cursor: pointer; line-height: 1;
  border: 1px solid var(--line); background: var(--field); color: var(--muted); font-size: 19px; transition: .15s;
}
.font small { display: block; margin-top: 6px; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 10px; letter-spacing: .6px; color: inherit; }
.font.is-active { border-color: var(--c2); background: rgba(255, 61, 154, .12); color: var(--txt); }

/* swatches */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  border: 2px solid rgba(255, 255, 255, .14); transition: transform .14s;
}
.swatch:hover { transform: scale(1.1); }
.swatch.is-active { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .14); }
.swatch--pick { position: relative; display: grid; place-items: center; background: conic-gradient(red, orange, yellow, lime, cyan, blue, magenta, red); }
.swatch--pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.swatch--pick svg { width: 16px; height: 16px; color: #000; filter: drop-shadow(0 0 1px #fff); }

/* slider */
.slider { display: flex; align-items: center; gap: 14px; }
.slider input[type="range"] {
  -webkit-appearance: none; appearance: none; flex: 1; height: 6px; border-radius: 6px; outline: none;
  background: var(--grad);
}
.slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; cursor: pointer;
  box-shadow: 0 0 0 4px rgba(255, 61, 154, .22), 0 3px 6px rgba(0, 0, 0, .5);
}
.slider input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: none; border-radius: 50%; background: #fff; cursor: pointer; }
.slider__val { font-family: "Space Mono", monospace; font-weight: 700; font-size: 13px; min-width: 34px; text-align: right; color: var(--c2); }

/* toggle switch */
.toggle { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.toggle span { font-weight: 600; font-size: 15px; }
.switch {
  width: 50px; height: 28px; border-radius: 20px; cursor: pointer; position: relative; border: 1px solid var(--line);
  background: var(--field); transition: .2s; padding: 0;
}
.switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--muted); transition: .2s;
}
.switch.is-on { background: var(--grad); border-color: transparent; }
.switch.is-on::after { left: 24px; background: #fff; }

.credit { text-align: center; color: var(--muted); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; }

/* ---------- present mode ---------- */
.present { position: fixed; inset: 0; z-index: 999; background: #000; }
.present[hidden] { display: none; }
.present__stage { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
#ledFull { background: #000; transform-origin: center center; will-change: transform; }
.present__ui {
  position: fixed; top: 0; left: 0; width: 100%; display: flex; justify-content: space-between; z-index: 2; transition: opacity .3s;
  padding:
    calc(env(safe-area-inset-top, 0px) + 28px)
    calc(env(safe-area-inset-right, 0px) + 16px)
    16px
    calc(env(safe-area-inset-left, 0px) + 16px);
}
.present__ui.is-hidden { opacity: 0; pointer-events: none; }
.present__btn {
  width: 50px; height: 50px; border-radius: 14px; cursor: pointer; display: grid; place-items: center; color: #fff;
  background: rgba(21, 16, 29, .7); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px);
}
.present__btn svg { width: 22px; height: 22px; }
.present__hint { position: fixed; bottom: 18px; width: 100%; text-align: center; z-index: 2; transition: opacity .3s;
  color: rgba(255, 255, 255, .4); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.present__hint.is-hidden { opacity: 0; }

/* ---------- share dialog ---------- */
.dialog {
  border: 1px solid var(--line); border-radius: 20px; background: var(--sheet); color: var(--txt);
  padding: 24px; max-width: 360px; width: calc(100% - 40px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
}
.dialog::backdrop { background: rgba(5, 3, 8, .6); backdrop-filter: blur(4px); }
.dialog__title { font-family: "Syne", sans-serif; font-weight: 800; margin: 0 0 10px; font-size: 20px; }
.dialog__body { color: var(--muted); margin: 0 0 16px; line-height: 1.5; font-size: 14px; }
.dialog__row { display: flex; gap: 8px; margin-bottom: 14px; }
.dialog__row input {
  flex: 1; min-width: 0; padding: 12px; border-radius: 11px; font-family: "Space Mono", monospace; font-size: 13px;
  background: var(--field); border: 1px solid var(--line); color: var(--txt); outline: none;
}
.dialog__row input[type="email"] { font-family: "Manrope", sans-serif; font-size: 15px; }
.dialog__row input:focus { border-color: var(--c2); box-shadow: 0 0 0 3px rgba(255, 61, 154, .16); }
.dialog__actions { display: flex; gap: 8px; }
.dialog__actions .btn { flex: 1; }
.dialog__check { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; font-size: 14px; color: var(--muted); cursor: pointer; }
.dialog__check input { width: 18px; height: 18px; accent-color: var(--c2); cursor: pointer; }

/* ---------- Welcome / install tutorial dialog ---------- */
.dialog.welcome { max-width: 420px; padding: 22px; }
.welcome__tabs { display: flex; gap: 6px; background: var(--field); padding: 4px; border-radius: 12px; border: 1px solid var(--line); margin: 12px 0 18px; }
.welcome__tab { flex: 1; border: none; background: transparent; color: var(--muted); cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 13px; padding: 9px 4px; border-radius: 9px; transition: .15s; }
.welcome__tab.is-active { background: var(--grad); color: #fff; box-shadow: 0 6px 18px -8px var(--c2); }

.welcome__pane[hidden] { display: none; }
.welcome__steps { padding: 0; margin: 14px 0 18px; list-style: none; color: var(--txt); }
.welcome__steps li { padding: 8px 0; font-size: 14px; line-height: 1.45; border-bottom: 1px solid var(--line); }
.welcome__steps li:last-child { border-bottom: none; }
.welcome__steps li strong:first-child { display: inline-block; min-width: 22px; color: var(--c2); }

/* Device mockups */
.mock { position: relative; margin: 0 auto; }
.mock--phone {
  width: 200px; height: 250px; padding: 8px; border-radius: 28px;
  background: linear-gradient(160deg, #2a2238, #0a0610);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
}
.mock__notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 14px; background: #050308; border-radius: 8px; z-index: 2; }
.mock__screen { position: relative; width: 100%; height: 100%; background: #fff; border-radius: 22px; overflow: hidden; }

.mock__chrome-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 26px 10px 8px; background: #f1f3f4; font-family: "Manrope", sans-serif; font-size: 9px; color: #333;
}
.mock__url { background: #fff; border-radius: 10px; padding: 4px 9px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__menu { font-size: 18px; line-height: 1; color: #555; padding: 4px 6px; border-radius: 6px; }

.mock__safari-top {
  padding: 22px 10px 8px; background: #f6f6f8; display: flex; justify-content: center;
  font-family: "Manrope", sans-serif; font-size: 9px;
}
.mock__safari-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: center; gap: 22px; padding: 10px;
  background: #f6f6f8; border-top: 1px solid #e0e0e2;
}
.mock__share { color: #007aff; padding: 5px; border-radius: 6px; }
.mock__share svg { width: 18px; height: 18px; }

.mock--desktop {
  width: 280px; padding: 0; border-radius: 8px; overflow: hidden;
  background: #2d2d2d; box-shadow: 0 20px 40px -16px rgba(0,0,0,.8);
}
.mock__win-bar { display: flex; gap: 6px; padding: 9px 10px; background: #3a3a3a; }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; }
.mock__dot--r { background: #ff5f57; }
.mock__dot--y { background: #febc2e; }
.mock__dot--g { background: #28c840; }
.mock__addr-bar {
  display: flex; align-items: center; gap: 8px; padding: 10px;
  background: #fff; font-family: "Manrope", sans-serif; font-size: 11px; color: #333;
}
.mock__addr-bar .mock__url { background: #f1f3f4; border-radius: 14px; padding: 6px 10px; flex: 1; }
.mock__install { color: #1a73e8; padding: 4px; border-radius: 6px; }
.mock__install svg { width: 16px; height: 16px; display: block; }

/* Pulsing highlight on the action element the user should tap/click */
.pulse { position: relative; box-shadow: 0 0 0 0 rgba(255, 61, 154, .55); animation: mockPulse 1.4s infinite; }
@keyframes mockPulse {
  0%   { box-shadow: 0 0 0 0   rgba(255, 61, 154, .55); transform: scale(1); }
  60%  { box-shadow: 0 0 0 12px rgba(255, 61, 154, 0);  transform: scale(1.08); }
  100% { box-shadow: 0 0 0 0   rgba(255, 61, 154, 0);   transform: scale(1); }
}

/* Bouncing arrow pointing to the action */
.mock__arrow {
  position: absolute; width: 28px; height: 28px; pointer-events: none;
  background: var(--c2); color: #fff;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  animation: mockBounce 1.2s ease-in-out infinite;
}
.mock__arrow--tr { top: 38px; right: -20px; transform: rotate(135deg); }
.mock__arrow--br { bottom: 26px; right: -20px; transform: rotate(45deg); }
.mock__arrow--addr { top: 28px; right: 6px; transform: rotate(0deg); }
@keyframes mockBounce {
  0%, 100% { transform: var(--rot, rotate(135deg)) translate(0, 0); }
  50%      { transform: var(--rot, rotate(135deg)) translate(-4px, -4px); }
}
.dialog__close { width: 100%; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--sheet-2); border: 1px solid var(--line); color: var(--txt);
  padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 1001;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .8);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

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

/* ---------- Android install banner (Toastistics-style smart banner) ---------- */
.install-banner {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(24px);
  width: calc(100% - 24px);
  max-width: 460px;
  z-index: 1002;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--sheet-2) 0%, var(--sheet) 100%);
  border: 1px solid var(--line);
  box-shadow:
    0 24px 60px -20px rgba(0, 0, 0, .85),
    0 0 0 1px rgba(255, 61, 154, .08),
    inset 0 1px 0 rgba(255, 255, 255, .04);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.install-banner[hidden] { display: none; }
.install-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.install-banner.is-dismissing {
  opacity: 0;
  transform: translateX(-50%) translateY(24px);
}

.install-banner__icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--field);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.install-banner__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.install-banner__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}
.install-banner__title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--txt);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.install-banner__body {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
  /* Allow up to 2 lines so iOS instructions like "Share ⤴ then Add to Home
     Screen" don't get truncated. Falls back to text-overflow on browsers
     without line-clamp support. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.install-banner__cta {
  flex: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: var(--grad);
  padding: 10px 14px;
  border-radius: 11px;
  box-shadow: 0 8px 18px -8px var(--c2);
  transition: transform .15s ease, box-shadow .15s ease;
}
.install-banner__cta:active {
  transform: scale(.95);
  box-shadow: 0 4px 12px -6px var(--c2);
}

.install-banner__close {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color .15s, background .15s;
}
.install-banner__close:hover { color: var(--txt); background: var(--field); }
.install-banner__close:active { transform: scale(.92); }
.install-banner__close svg { width: 16px; height: 16px; }

/* Hide the secondary line on very narrow phones so the CTA has room. */
@media (max-width: 360px) {
  .install-banner { gap: 10px; padding: 10px 12px; }
  .install-banner__body { display: none !important; }
  .install-banner__cta { padding: 9px 12px; font-size: 12px; }
}

/* Landscape phones — banner should still be reachable without hiding present controls. */
@media (max-height: 480px) and (orientation: landscape) {
  .install-banner { bottom: 8px; max-width: 380px; }
}
