/* «Уведомления» (web/sites/push-site.js): the offer's card over any theme — its own neutral look, light or dark as the
   visitor's system; the site's buttons keep their theme's look (only the state is named: [data-push-state]). */
.site-push-card {
  --site-push-bg: #ffffff; --site-push-fg: #15151a; --site-push-muted: #55555f; --site-push-line: rgba(0, 0, 0, .12);
  --site-push-primary: #15151a; --site-push-on-primary: #ffffff;
  position: fixed; z-index: 2147483000; left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
  width: min(420px, calc(100vw - 32px)); transform: translateX(-50%); box-sizing: border-box;
  margin: 0; padding: 16px 16px 14px; border: 1px solid var(--site-push-line); border-radius: 16px;
  background: var(--site-push-bg); color: var(--site-push-fg); box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-align: left;
  animation: site-push-in .22s ease-out;
}
@media (prefers-color-scheme: dark) {
  .site-push-card { --site-push-bg: #1c1c22; --site-push-fg: #f3f3f6; --site-push-muted: #b4b4be; --site-push-line: rgba(255, 255, 255, .14);
    --site-push-primary: #f3f3f6; --site-push-on-primary: #15151a; }
}
.site-push-title { margin: 0 0 4px; font-weight: 700; font-size: 16px; }
.site-push-text { margin: 0 0 12px; color: var(--site-push-muted); }
.site-push-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.site-push-actions button {
  flex: 1 1 auto; min-height: 44px; padding: 10px 16px; border-radius: 12px; cursor: pointer;
  font: inherit; font-weight: 600; border: 1px solid var(--site-push-line);
}
.site-push-primary { background: var(--site-push-primary); color: var(--site-push-on-primary); border-color: transparent; }
.site-push-secondary { background: transparent; color: var(--site-push-fg); }
.site-push-actions button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@keyframes site-push-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .site-push-card { animation: none; } }
/* The built-in themes' own places: the account's block (lumo) and the footer's button (lumo, basic). */
[data-site-push][hidden], [data-site-push-note][hidden] { display: none !important; }
.site-push-footer { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
/* The bell («Профиль» of every theme and template, basic's menu): the theme's own icon button, an outline while off,
   filled while on; refused in the browser — faded. Never shown before the script names its state. */
[data-kit="push"][hidden], .site-push-bell[hidden] { display: none !important; }
.site-push-bell { position: relative; margin-left: auto; cursor: pointer; }
.site-push-bell.site-push-bell svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-push-bell[data-push-state="subscribed"].site-push-bell svg path:first-child { fill: currentColor; }
.site-push-bell[data-push-state="denied"], .site-push-bell[data-push-state="inapp"] { opacity: .55; }
.site-push-bell:disabled { opacity: .55; cursor: progress; }
/* What a press did, when nothing beside the button can say it: a short note at the bottom. */
.site-push-toast {
  position: fixed; z-index: 2147483001; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: max-content; max-width: min(420px, calc(100vw - 32px)); box-sizing: border-box; margin: 0; padding: 12px 16px;
  border-radius: 12px; background: #15151a; color: #f3f3f6; box-shadow: 0 10px 32px rgba(0, 0, 0, .3);
  font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-align: center;
  animation: site-push-in .2s ease-out;
}
@media (prefers-color-scheme: dark) { .site-push-toast { background: #f3f3f6; color: #15151a; } }
.site-push-toast-long { text-align: left; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .site-push-toast { animation: none; } }
