/* Follow button and notification panel. Plain CSS on the theme's colour tokens. */

/* ---- follow button ---- */
.wpgg-follow { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; cursor: pointer;
  border: 1px solid rgb(var(--c-primary, 255 90 54)); background: rgb(var(--c-primary, 255 90 54) / .12); color: rgb(var(--c-text, 243 244 246));
  font: 700 13px/1 var(--font-head, system-ui); transition: background .15s ease; }
.wpgg-follow:hover { background: rgb(var(--c-primary, 255 90 54) / .22); }
.wpgg-follow[aria-pressed="true"] { border-color: rgb(var(--c-secondary, 25 211 197)); background: rgb(var(--c-secondary, 25 211 197) / .16); }
.wpgg-follow[disabled] { opacity: .6; cursor: progress; }
.wpgg-follow .wpgg-bellsvg { flex: none; color: rgb(var(--c-primary-text, 255 122 92)); }
.wpgg-follow[aria-pressed="true"] .wpgg-bellsvg { color: rgb(var(--c-secondary, 25 211 197)); }

/* ---- notification panel: bottom sheet on phones, centred window from 640 px ---- */
.wpgg-push { position: fixed; inset: 0; margin: auto auto 0; padding: 0; width: 100%; max-width: 100%; max-height: 90vh; max-height: 90dvh; overflow: hidden;
  border: 1px solid rgb(var(--c-outline, 42 49 64)); border-bottom: 0; border-radius: 20px 20px 0 0;
  background: rgb(var(--c-card, 22 27 36)); color: rgb(var(--c-text, 243 244 246)); box-shadow: 0 -12px 48px rgb(0 0 0 / .35); }
.wpgg-push[open] { display: flex; flex-direction: column; animation: wpgg-push-in .22s ease-out; }
.wpgg-push::backdrop { background: rgb(5 7 10 / .66); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes wpgg-push-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.wpgg-push__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 16px 14px; border-bottom: 1px solid rgb(var(--c-outline, 42 49 64));
  background: radial-gradient(120% 160% at 0% 0%, rgb(var(--c-primary, 255 90 54) / .18), transparent 60%); }
.wpgg-push .wpgg-push__title { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.25; }
.wpgg-push .wpgg-push__lead { margin: 4px 0 0; font-size: 13px; color: rgb(var(--c-dim, 156 163 175)); }
.wpgg-push__x { flex: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgb(var(--c-outline, 42 49 64)); background: rgb(var(--c-card-high, 30 36 48)); color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.wpgg-push__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 12px; }
.wpgg-push__group { border: 0; margin: 16px 0 0; padding: 0; min-width: 0; }
.wpgg-push__group legend { padding: 0; font-family: var(--font-head, system-ui); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--c-primary-text, 255 122 92)); }
.wpgg-push .wpgg-push__hint { margin: 4px 0 0; font-size: 12px; color: rgb(var(--c-dim, 156 163 175)); }
.wpgg-push__chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.wpgg-push__chip { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border-radius: 12px; cursor: pointer;
  border: 1px solid rgb(var(--c-outline, 42 49 64)); background: rgb(var(--c-card-high, 30 36 48)); font-size: 13px; font-weight: 600; line-height: 1.3; transition: border-color .15s ease, background .15s ease; }
.wpgg-push__chip:hover { border-color: rgb(var(--c-dim, 156 163 175)); }
.wpgg-push__chip input { -webkit-appearance: none; appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border-radius: 6px; border: 2px solid rgb(var(--c-dim, 156 163 175)); background: transparent; cursor: pointer; }
.wpgg-push__chip input:checked { border-color: rgb(var(--c-primary, 255 90 54)); background: rgb(var(--c-primary, 255 90 54)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.6' d='M3 8.5l3.2 3L13 4.8'/%3E%3C/svg%3E") center/12px no-repeat; }
.wpgg-push__chip:has(input:checked) { border-color: rgb(var(--c-primary, 255 90 54)); background: rgb(var(--c-primary, 255 90 54) / .13); }
.wpgg-push__chip:has(input:focus-visible) { outline: 2px solid rgb(var(--c-secondary, 25 211 197)); outline-offset: 2px; }
.wpgg-push__chip span { min-width: 0; overflow-wrap: anywhere; }
.wpgg-push .wpgg-push__note { margin: 20px 0; font-size: 14px; line-height: 1.6; color: rgb(var(--c-dim, 156 163 175)); }
.wpgg-push__foot { flex: none; display: flex; flex-direction: column; gap: 8px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgb(var(--c-outline, 42 49 64)); }
.wpgg-push .wpgg-push__status { margin: 0; font-size: 13px; font-weight: 600; }
.wpgg-push .wpgg-push__status:empty { display: none; }
.wpgg-push__status[data-kind="ok"] { color: rgb(var(--c-secondary, 25 211 197)); }
.wpgg-push__status[data-kind="warn"] { color: rgb(var(--c-amber, 255 200 61)); }
.wpgg-push__save { min-height: 48px; border: 0; border-radius: 12px; cursor: pointer; background: rgb(var(--c-primary, 255 90 54)); color: #14181f; font: 700 15px/1 var(--font-head, system-ui); }
.wpgg-push__save:hover { filter: brightness(1.08); }
.wpgg-push__save:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.wpgg-push__off { min-height: 40px; border: 0; background: transparent; color: rgb(var(--c-dim, 156 163 175)); font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.wpgg-push .wpgg-push__fine { margin: 0; font-size: 11px; line-height: 1.55; color: rgb(var(--c-dim, 156 163 175)); }
.wpgg-push__fine a { color: inherit; text-decoration: underline; }
@media (min-width: 640px) {
  .wpgg-push { margin: auto; width: 600px; max-height: min(86vh, 820px); border-bottom: 1px solid rgb(var(--c-outline, 42 49 64)); border-radius: 20px; box-shadow: 0 24px 64px rgb(0 0 0 / .45); }
  .wpgg-push__head { padding: 22px 24px 16px; }
  .wpgg-push__body { padding: 4px 24px 16px; }
  .wpgg-push__chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wpgg-push__foot { padding: 14px 24px 18px; }
}
@media (prefers-reduced-motion: reduce) { .wpgg-push[open] { animation: none; } }
