/* Independent Kisa donation panel; intentionally scoped to avoid affecting site UI. */
.kisa-support {
  --kisa-accent: #f23882;
  --kisa-accent-hover: #d5236e;
  --kisa-bg: #211c29;
  --kisa-ink: #fff9fe;
  --kisa-muted: #cbc2d2;
  --kisa-outline: rgba(255,255,255,.16);
  --kisa-option: rgba(255,255,255,.06);
  font-family: Inter, "Noto Sans Georgian", system-ui, sans-serif;
}
.kisa-support[data-kisa-site="sort1g"] {
  --kisa-accent: #ee5567;
  --kisa-accent-hover: #d94155;
  --kisa-bg: #fff;
  --kisa-ink: #211b1f;
  --kisa-muted: #746d74;
  --kisa-outline: rgba(35,27,30,.13);
  --kisa-option: #f8f6f6;
}
body.kisa-donation-open { overflow: hidden; }
.kisa-support [hidden] { display: none !important; }
.kisa-support button, .kisa-support a { font-family: inherit; -webkit-tap-highlight-color: transparent; }
.kisa-support button { cursor: pointer; }
.kisa-support button:focus-visible, .kisa-support a:focus-visible {
  outline: 3px solid var(--kisa-accent); outline-offset: 3px;
}
/* Strong, clear donation CTA without an intrusive auto-popup. */
.kisa-support__fab {
  position: fixed;
  z-index: 81;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  min-height: 61px; padding: 9px 19px 9px 16px;
  border: 2px solid rgba(255,255,255,.92); border-radius: 20px;
  color: #fff; background: var(--kisa-accent);
  box-shadow: 0 9px 0 rgba(0,0,0,.07), 0 10px 32px rgba(238,60,124,.40), 0 3px 10px rgba(0,0,0,.20);
  font-weight: 850; font-size: 17px; line-height: 1.14;
  letter-spacing: -.025em;
  text-align: left;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
  touch-action: manipulation;
}
.kisa-support[data-kisa-site="sort1g"] .kisa-support__fab {
  box-shadow: 0 9px 0 rgba(0,0,0,.04), 0 10px 30px rgba(238,85,103,.32), 0 2px 9px rgba(0,0,0,.12);
}
.kisa-support__fab:hover {
  background: var(--kisa-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 13px 38px rgba(238,60,124,.39), 0 3px 10px rgba(0,0,0,.20);
}
.kisa-support__fab:active { transform: translateY(0); }
.kisa-support__heart {
  font-size: 27px; line-height: 1;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.kisa-support__fab-label { display: flex; flex-direction: column; gap: 3px; }
.kisa-support__fab-hint {
  font-size: 10.5px; font-weight: 650; line-height: 1.2;
  letter-spacing: 0; opacity: .94;
}
.kisa-support__backdrop {
  position: fixed; inset: 0; z-index: 82;
  background: rgba(8,8,12,.38);
}
.kisa-support__panel {
  position: fixed; z-index: 83;
  right: max(15px, env(safe-area-inset-right, 0px));
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  width: min(374px, calc(100vw - 28px));
  max-height: min(610px, calc(100dvh - 102px));
  overflow-y: auto; overscroll-behavior: contain;
  padding: 23px 21px 18px;
  border: 1px solid var(--kisa-outline); border-radius: 23px;
  color: var(--kisa-ink); background: var(--kisa-bg);
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
  text-align: left;
}
.kisa-support__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 13px; }
.kisa-support__heading { display: flex; align-items: center; gap: 10px; min-width: 0; }
.kisa-support__mark {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 41px; height: 41px; border-radius: 13px;
  color: white; background: var(--kisa-accent); font-size: 24px;
}
.kisa-support__title {
  margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: -.02em;
  font-weight: 850; color: var(--kisa-ink);
}
.kisa-support__close {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 34px; height: 34px; padding: 0;
  border-radius: 50%; border: 1px solid var(--kisa-outline);
  color: var(--kisa-ink); background: transparent;
  font-size: 24px; line-height: 1;
}
.kisa-support__description {
  margin: 16px 0; font-size: 14px; line-height: 1.6; color: var(--kisa-muted);
}
.kisa-support__amount-label {
  display: block; margin: 0 0 9px; font-size: 12px; font-weight: 750;
  color: var(--kisa-muted);
}
.kisa-support__amounts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.kisa-support__amount {
  min-width: 0; padding: 12px 3px; border-radius: 12px;
  border: 1px solid var(--kisa-outline); background: var(--kisa-option);
  color: var(--kisa-ink); font-size: 16px; font-weight: 800;
}
.kisa-support__amount[aria-pressed="true"] {
  border: 2px solid var(--kisa-accent); padding: 11px 2px;
  background: color-mix(in srgb, var(--kisa-accent) 11%, var(--kisa-bg));
}
.kisa-support__checkout {
  display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px;
  margin-top: 15px; padding: 11px 13px; border-radius: 13px;
  color: #fff !important; background: var(--kisa-accent);
  text-decoration: none; font-weight: 850; font-size: 14px;
  transition: background .18s ease;
}
.kisa-support__checkout:hover { background: var(--kisa-accent-hover); }
.kisa-support__note { margin: 11px 0 0; text-align: center; font-size: 12px; line-height: 1.45; color: var(--kisa-muted); }
.kisa-support__thanks { margin: 9px 0 0; font-size: 12px; text-align: center; color: var(--kisa-muted); }
.kisa-support__handle { display: none; }
@media (max-width: 680px) {
  .kisa-support__fab {
    right: max(11px, env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    min-height: 50px; padding: 0 17px; gap: 9px;
    border-radius: 100px;
    font-size: 15px; font-weight: 850;
    box-shadow: 0 5px 21px rgba(20,5,15,.28), 0 3px 18px rgba(238,60,124,.28);
  }
  .kisa-support__fab-hint { display: none; }
  .kisa-support__heart { font-size: 23px; }
  .kisa-support__panel {
    right: 0; left: 0; bottom: 0; width: 100%;
    max-height: min(75dvh, 555px); padding: 14px 20px calc(19px + env(safe-area-inset-bottom,0px));
    border-radius: 22px 22px 0 0; border-bottom: 0;
  }
  .kisa-support__handle {
    display: block; width: 36px; height: 4px; margin: 0 auto 18px;
    background: var(--kisa-outline); border-radius: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kisa-support__fab, .kisa-support__checkout { transition: none; }
}


/* A small opt-in invitation under the hero title; never an automatic popup. */
.kisa-hero-message {
  display: flex; align-items: center; flex-wrap: wrap;
  column-gap: 12px; row-gap: 10px;
  width: fit-content; max-width: 760px;
  padding: 14px 15px; border-radius: 18px;
  font-family: Inter, "Noto Sans Georgian", system-ui, sans-serif;
}
.kisa-hero-message__heart {
  flex: 0 0 auto; display: inline-grid; place-items: center;
  height: 36px; width: 36px; border-radius: 12px;
  background: #f23882; color: white; font-size: 20px;
}
.kisa-hero-message__text {
  flex: 1 1 220px; min-width: 0; margin: 0 !important;
  font-size: 13px !important; line-height: 1.55 !important;
  font-weight: 550; letter-spacing: normal;
}
.kisa-hero-message__button {
  flex: 0 0 auto; min-height: 38px; padding: 8px 15px;
  background: #f23882; color: #fff; border: 0; border-radius: 999px;
  font: 800 13px/1.2 Inter, "Noto Sans Georgian", system-ui, sans-serif;
  cursor: pointer; white-space: nowrap;
  transition: background .18s ease, transform .18s ease;
}
.kisa-hero-message__button:hover { background: #d5236e; transform: translateY(-1px); }
.kisa-hero-message__button:focus-visible { outline: 3px solid #f23882; outline-offset: 3px; }
/* ga1e's existing CSS targets the last hero paragraph; keep its original subtitle look. */
.hero > p[data-i18n="subtitle"] {
  max-width: 620px; color: var(--muted); font-size: 1.12rem; line-height: 1.7;
}
.hero .kisa-hero-message {
  margin-top: 20px;
  background: linear-gradient(112deg, rgba(242,56,130,.14), rgba(255,255,255,.03));
  border: 1px solid rgba(242,56,130,.36);
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
}
.hero .kisa-hero-message__text { color: #f4dfe9; }
.hero-section .hero-copy { margin-bottom: 18px; }
.hero-section .kisa-hero-message {
  margin: 0 auto 28px; background: #fff;
  border: 1px solid #efccd4;
  box-shadow: 0 10px 32px rgba(36,19,21,.07);
  text-align: left;
}
.hero-section .kisa-hero-message__text { color: #4f4850; }
.hero-section .kisa-hero-message__button,
.hero-section .kisa-hero-message__heart { background: #ee5567; }
.hero-section .kisa-hero-message__button:hover { background: #d94155; }
@media (max-width: 680px) {
  .kisa-hero-message { padding: 13px; gap: 10px; border-radius: 16px; }
  .kisa-hero-message__heart { width: 32px; height: 32px; font-size: 18px; }
  .kisa-hero-message__text { flex: 1 1 calc(100% - 50px); font-size: 12.5px !important; }
  .kisa-hero-message__button { margin-left: auto; min-height: 36px; }
  .hero .kisa-hero-message { margin-top: 17px; }
  .hero-section .kisa-hero-message { margin-bottom: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .kisa-hero-message__button { transition: none; }
}

/* Mobile users see one donation control at a time: hero CTA or floating pill. */
@media (max-width: 680px) {
  .kisa-support--hero-in-view .kisa-support__fab { display: none; }
}
