/* ============================================================
   TWIGG Install (Nov 8 2026) — styles for install.js: the gold
   📲 header pill and the iOS "Add to Home Screen" sheet. Black /
   gold TWIGG palette, matching the header chips and Create Hub.
   Loaded by index, channel, watch, go-live, bounties, messages
   and foryou. Client-side only.
   ============================================================ */
.installbtn { display:inline-flex; align-items:center; gap:6px; min-height:38px; padding:0 16px; border-radius:999px;
  border:1px solid rgba(240,202,114,.55); background:rgba(214,169,73,.08); color:var(--gold-bright, #f0ca72);
  font:inherit; font-weight:700; font-size:.88rem; white-space:nowrap; cursor:pointer; }
.installbtn:hover { background:rgba(214,169,73,.18); }
.installbtn:active { transform:scale(.97); }
.installbtn[hidden] { display:none; }
.installbtn.fm-install { width:100%; justify-content:center; margin-top:10px; min-height:44px; }

.ti-overlay { position:fixed; inset:0; z-index:420; background:rgba(3,3,4,.95); /* no backdrop-filter — iOS rule (Nov 13, 2026): blur layers detach fixed chrome mid-scroll; bg alpha .82->.95 compensates (text sheet must stay legible over page content) */
  display:flex; align-items:flex-end; justify-content:center; padding:0 14px calc(18px + env(safe-area-inset-bottom)); }
.ti-overlay[hidden] { display:none; }
.ti-card { width:min(430px, 100%); background:#101013; border:1px solid rgba(240,202,114,.5); border-radius:20px;
  padding:24px 22px 20px; text-align:center; color:var(--ink, #f5efdd);
  box-shadow:0 30px 70px -20px rgba(0,0,0,.9); font-family:"DM Sans",sans-serif; }
.ti-icon { width:64px; height:64px; border-radius:16px; border:1px solid rgba(240,202,114,.5); display:block; margin:0 auto 10px; }
.ti-title { margin:0 0 6px; font-family:"Archivo","DM Sans",sans-serif; font-size:1.3rem; font-weight:900; color:var(--gold-bright, #f0ca72); }
.ti-sub { margin:0 0 16px; color:var(--muted, #a79f8d); font-size:.93rem; line-height:1.5; }
.ti-steps { text-align:left; margin:0 auto 18px; max-width:340px; display:flex; flex-direction:column; gap:9px; }
.ti-steps p { margin:0; font-size:.97rem; line-height:1.5; }
.ti-steps b { color:var(--gold-bright, #f0ca72); }
.ti-shareic { display:inline-grid; place-items:center; width:24px; height:24px; border-radius:7px; vertical-align:-6px;
  background:rgba(214,169,73,.14); border:1px solid rgba(240,202,114,.45); font-size:.85rem; }
.ti-done { min-height:46px; padding:0 30px; border:0; border-radius:999px; cursor:pointer; font:inherit; font-weight:800; font-size:.95rem;
  background:linear-gradient(135deg,#ffe9a8,#f3d27a 45%,#d6a949); color:#141310; box-shadow:0 8px 22px -8px rgba(214,169,73,.7); }
.ti-done:active { transform:scale(.97); }
