/* Talkish — invito a installare la web app (vetro, scende dall'alto come le notifiche di iPhone) */
.tk-install{position:fixed;left:10px;right:10px;top:calc(env(safe-area-inset-top) + 8px);z-index:200000;display:flex;align-items:center;gap:11px;padding:10px 10px 10px 12px;border-radius:22px;
  background:rgba(255,255,255,.72);-webkit-backdrop-filter:blur(24px) saturate(190%);backdrop-filter:blur(24px) saturate(190%);border:1px solid rgba(255,255,255,.85);
  box-shadow:0 12px 34px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.7);color:#000;
  font:15px/1.3 -apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif;transform:translateY(-140%);transition:transform .45s cubic-bezier(.2,.9,.25,1.1)}
.tk-install.on{transform:none}
.tk-install img{width:46px;height:46px;flex:0 0 46px;border-radius:11px}
.tk-install-t{flex:1;min-width:0}
.tk-install-t b{display:block;font-size:15px;font-weight:700}
.tk-install-t span{display:block;color:#3c3c43;font-size:13px;opacity:.75}
.tk-install-go{height:34px;padding:0 15px;border:0;border-radius:17px;background:#1daa61;color:#fff;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.tk-install-x{width:30px;height:30px;border:0;border-radius:50%;background:rgba(118,118,128,.16);color:#3c3c43;font-size:20px;line-height:1;cursor:pointer}
.tk-guide{position:fixed;inset:0;z-index:200001;pointer-events:none;font:16px/1.4 -apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif}
.tk-guide-bg{position:absolute;inset:0;background:rgba(0,0,0,.4);opacity:0;transition:opacity .25s}
.tk-guide-card{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;gap:10px;padding:8px 22px calc(22px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:#fff;color:#000;
  box-shadow:0 -10px 40px rgba(0,0,0,.25);transform:translateY(105%);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.tk-guide.on{pointer-events:auto}.tk-guide.on .tk-guide-bg{opacity:1}.tk-guide.on .tk-guide-card{transform:none}
.tk-guide-grip{width:38px;height:5px;margin:2px 0 8px;border-radius:3px;background:rgba(60,60,67,.25)}
.tk-guide-card img{width:64px;height:64px;border-radius:15px;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.tk-guide-h{font-size:19px;font-weight:700}
.tk-guide ol{list-style:none;margin:6px 0 4px;padding:0;width:100%;display:flex;flex-direction:column;gap:12px}
.tk-guide li{display:flex;align-items:flex-start;gap:12px;font-size:15.5px}
.tk-n{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border-radius:50%;background:#e7f8ef;color:#0a7f3f;font-weight:800;font-size:14px}
.tk-ico{display:inline-grid;place-items:center;width:26px;height:26px;margin:0 2px;vertical-align:-7px;border-radius:7px;background:rgba(118,118,128,.14);color:#007aff;font-style:normal}
.tk-guide-ok{width:100%;height:50px;margin-top:8px;border:0;border-radius:14px;background:#1daa61;color:#fff;font:inherit;font-size:17px;font-weight:700;cursor:pointer}
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]) .tk-install{background:rgba(40,40,42,.62);border-color:rgba(255,255,255,.14);color:#fff;box-shadow:0 12px 34px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.1)}
  html:not([data-theme="light"]) .tk-install-t span{color:#ebebf5}
  html:not([data-theme="light"]) .tk-install-x{color:#ebebf5;background:rgba(118,118,128,.3)}
  html:not([data-theme="light"]) .tk-guide-card{background:#1c1c1e;color:#fff}
  html:not([data-theme="light"]) .tk-n{background:#103529;color:#21c063}
}
html[data-theme="dark"] .tk-install{background:rgba(40,40,42,.62);border-color:rgba(255,255,255,.14);color:#fff}
html[data-theme="dark"] .tk-install-t span{color:#ebebf5}
html[data-theme="dark"] .tk-guide-card{background:#1c1c1e;color:#fff}
