/*
 * Zapis na wiadomości (21.34.115): okienko „Subskrybuj” (z lewej u dołu, ~¼ strony) z dzwoneczkiem po zwinięciu oraz zapis w stopce.
 * Paleta RK: granat #0a2244, tusz #14262d, złoto #e0ac1f / #b8860b, ecru #fbfaf6. Delikatnie: cień, cienka ramka, spokojna animacja.
 */
html body .rksub{position:fixed;left:0;bottom:96px;z-index:9400;font:500 14px/1.45 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#14262d;-webkit-text-size-adjust:100%}
html body .rksub[hidden],html body .rksub [hidden]{display:none!important}
html body .rksub *{box-sizing:border-box}

/* dzwoneczek */
html body .rksub .rksub__bell{display:flex;align-items:center;gap:0;margin:0;padding:11px 13px 11px 11px;min-height:44px;border:0;border-radius:0 999px 999px 0;background:#0a2244;color:#fff;box-shadow:0 8px 24px rgba(10,34,68,.28);cursor:pointer;transition:transform .28s ease,opacity .2s ease,box-shadow .2s ease}
html body .rksub .rksub__bell:hover,html body .rksub .rksub__bell:focus-visible{box-shadow:0 10px 28px rgba(10,34,68,.4)}
html body .rksub .rksub__bell:focus-visible{outline:2px solid #e0ac1f;outline-offset:2px}
html body .rksub .rksub__bellIco{display:inline-flex;color:#e0ac1f}
html body .rksub .rksub__bellTxt{max-width:0;overflow:hidden;white-space:nowrap;font:700 12.5px/1 Inter,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;transition:max-width .3s ease,margin .3s ease}
html body .rksub .rksub__bell:hover .rksub__bellTxt,html body .rksub .rksub__bell:focus-visible .rksub__bellTxt{max-width:110px;margin-left:9px}
html body .rksub.is-open .rksub__bell{opacity:0;pointer-events:none;transform:translateX(-110%)}
html body .rksub.is-pulse .rksub__bellIco{animation:rksubRing 1.4s ease-in-out 2}
@keyframes rksubRing{0%,100%{transform:rotate(0)}12%{transform:rotate(14deg)}24%{transform:rotate(-12deg)}36%{transform:rotate(9deg)}48%{transform:rotate(-6deg)}60%{transform:rotate(0)}}

/* karta */
html body .rksub .rksub__card{position:absolute;left:14px;bottom:0;width:min(388px,calc(100vw - 28px));max-height:calc(100vh - 150px);overflow:auto;padding:20px 20px 14px;border:1px solid rgba(20,38,45,.12);border-top:3px solid #0a2244;border-radius:10px;background:#fbfaf6;box-shadow:0 20px 56px rgba(10,34,68,.26);opacity:0;transform:translateY(14px);transition:opacity .28s ease,transform .28s ease}
html body .rksub.is-open .rksub__card{opacity:1;transform:none}
html body .rksub .rksub__timer{position:absolute;left:0;top:-3px;right:0;height:3px;background:#e0ac1f;transform-origin:left;transform:scaleX(0);pointer-events:none;border-radius:10px 10px 0 0}
html body .rksub.is-auto .rksub__timer{transform:scaleX(1);animation:rksubTimer var(--rksub-delay,5000ms) linear forwards}
@keyframes rksubTimer{from{transform:scaleX(1)}to{transform:scaleX(0)}}
html body .rksub .rksub__x{position:absolute;top:8px;right:8px;width:34px;height:34px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:#5b6b71;font:400 24px/1 system-ui,sans-serif;cursor:pointer}
html body .rksub .rksub__x:hover{background:rgba(20,38,45,.07);color:#14262d}
html body .rksub .rksub__x:focus-visible{outline:2px solid #b8860b;outline-offset:1px}
html body .rksub .rksub__kicker{margin:0 0 4px;padding-right:34px;font:800 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#b8860b}
html body .rksub .rksub__t{margin:0 0 6px;padding-right:30px;font:600 25px/1.15 Newsreader,Georgia,"Times New Roman",serif;letter-spacing:-.01em;color:#0a2244}
html body .rksub .rksub__t i{font-style:normal;color:#e0ac1f}
html body .rksub .rksub__lead{margin:0 0 12px;color:#5b6b71;font:400 13.5px/1.5 Inter,system-ui,sans-serif}

/* formularz */
html body .rksub .rksub__row{display:flex;border:1px solid rgba(20,38,45,.2);border-radius:7px;background:#fff;overflow:hidden}
html body .rksub .rksub__row:focus-within{border-color:#b8860b;box-shadow:0 0 0 3px rgba(184,134,11,.18)}
html body .rksub .rksub__row input[type=email]{flex:1 1 auto;min-width:0;height:auto;margin:0;padding:12px 12px;border:0;outline:0;border-radius:0;background:none;box-shadow:none;color:#14262d;font:500 15px/1.2 Inter,system-ui,sans-serif}
html body .rksub .rksub__row button{flex:0 0 auto;margin:0;padding:0 16px;min-height:44px;border:0;border-radius:0;background:#0a2244;color:#fff;cursor:pointer;font:700 14px/1 Inter,system-ui,sans-serif;letter-spacing:.01em;text-transform:none;transition:background .15s}
html body .rksub .rksub__row button:hover{background:#13365f}
html body .rksub .rksub__row button[disabled]{opacity:.6;cursor:progress}
html body .rksub .rksub__lists{margin:12px 0 0;padding:0;border:0}
html body .rksub .rksub__lists summary{margin:0 0 6px;padding:0;list-style:none;cursor:pointer;font:700 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#14262d}
html body .rksub .rksub__lists summary::-webkit-details-marker{display:none}
html body .rksub .rksub__lists summary::after{content:" ▾";color:#b8860b}
html body .rksub .rksub__lists[open] summary::after{content:" ▴"}
html body .rksub .rksub__chips{display:grid;gap:6px}
html body .rksub .rksub__chip{display:flex;align-items:flex-start;gap:9px;margin:0;padding:8px 10px;border:1px solid rgba(20,38,45,.12);border-radius:7px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s}
html body .rksub .rksub__chip:hover{border-color:rgba(184,134,11,.55)}
html body .rksub .rksub__chip:has(input:checked){border-color:#b8860b;background:#fffaf0}
html body .rksub .rksub__chip input{flex:0 0 auto;width:17px;height:17px;margin:2px 0 0;accent-color:#0a2244}
html body .rksub .rksub__chip span{display:grid;gap:1px}
html body .rksub .rksub__chip b{font:700 13.5px/1.3 Inter,system-ui,sans-serif;color:#14262d}
html body .rksub .rksub__chip small{font:400 12px/1.35 Inter,system-ui,sans-serif;color:#5b6b71}
html body .rksub .rksub__consent{display:flex;align-items:flex-start;gap:9px;margin:11px 0 0;cursor:pointer;color:#5b6b71;font:400 11.5px/1.5 Inter,system-ui,sans-serif}
html body .rksub .rksub__consent input{flex:0 0 auto;width:17px;height:17px;margin:1px 0 0;accent-color:#0a2244}
html body .rksub .rksub__msg{min-height:1.2em;margin:8px 0 0;font:600 13px/1.45 Inter,system-ui,sans-serif;color:#0f5c6e}
html body .rksub .rksub__msg.is-err{color:#a32d24}
html body .rksub .rksub__legal{margin:8px 0 0;padding-top:9px;border-top:1px solid rgba(20,38,45,.1);color:#6b7a80;font:400 11px/1.55 Inter,system-ui,sans-serif}
html body .rksub .rksub__legal a{color:#14262d;text-decoration:underline;text-underline-offset:2px}
html body .rksub .rksub__legal a:hover{color:#b8860b}

/* telefon: karta na całą szerokość nad dolnym paskiem, listy zwinięte (krótsza), dzwoneczek niżej */
@media (max-width:820px){
  html body .rksub{bottom:calc(86px + env(safe-area-inset-bottom,0px))}
  html body .rksub .rksub__card{position:fixed;left:8px;right:8px;bottom:calc(86px + env(safe-area-inset-bottom,0px));width:auto;max-height:calc(100vh - 150px - env(safe-area-inset-bottom,0px));padding:16px 16px 12px}
  html body .rksub .rksub__t{font-size:22px}
  html body .rksub .rksub__lead{display:none}
  html body .rksub .rksub__bell{padding:10px 12px 10px 9px}
}
@media (prefers-reduced-motion:reduce){
  html body .rksub .rksub__card,html body .rksub .rksub__bell{transition:none}
  html body .rksub.is-pulse .rksub__bellIco{animation:none}
}

/* ------------------------------ zapis w stopce: jeden cienki pasek ------------------------------ */
html body .rksubf{margin:18px 0 0;padding:12px 0 2px;border-top:1px solid rgba(255,255,255,.1);color:#aebdd2;font:400 12px/1.5 Inter,system-ui,sans-serif}
html body .rksubf *{box-sizing:border-box}
html body .rksubf .rksubf__bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px}
html body .rksubf .rksubf__t{flex:0 0 auto;color:#fff;font:600 17px/1 Newsreader,Georgia,"Times New Roman",serif;letter-spacing:-.005em}
html body .rksubf .rksubf__t i{font-style:normal;color:#e0ac1f}
html body .rksubf .rksubf__chips{flex:1 1 320px;display:flex;flex-wrap:wrap;gap:6px 14px;min-width:0}
html body .rksubf .rksubf__chip{display:inline-flex;align-items:center;gap:6px;margin:0;color:#c5d2e4;font:500 12px/1.2 Inter,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
html body .rksubf .rksubf__chip:hover{color:#fff}
html body .rksubf .rksubf__chip input{width:14px;height:14px;margin:0;accent-color:#e0ac1f}
html body .rksubf .rksubf__chip:has(input:checked){color:#fff}
html body .rksubf .rksubf__row{flex:0 1 330px;display:flex;min-width:240px;border:1px solid rgba(255,255,255,.22);border-radius:6px;background:rgba(255,255,255,.06);overflow:hidden}
html body .rksubf .rksubf__row:focus-within{border-color:#e0ac1f}
html body .rksubf .rksubf__row input[type=email]{flex:1 1 auto;min-width:0;height:auto;margin:0;padding:8px 10px;border:0;outline:0;border-radius:0;background:none;box-shadow:none;color:#fff;font:500 13px/1.2 Inter,system-ui,sans-serif}
html body .rksubf .rksubf__row input[type=email]::placeholder{color:rgba(255,255,255,.55)}
html body .rksubf .rksubf__row button{flex:0 0 auto;margin:0;padding:0 14px;min-height:34px;border:0;border-radius:0;background:#e0ac1f;color:#14262d;cursor:pointer;font:700 12.5px/1 Inter,system-ui,sans-serif;text-transform:none;transition:background .15s}
html body .rksubf .rksubf__row button:hover{background:#f0bb3a}
html body .rksubf .rksubf__row button[disabled]{opacity:.6;cursor:progress}
html body .rksubf .rksubf__fine{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:4px 18px;margin:8px 0 0}
html body .rksubf .rksubf__consent{display:flex;align-items:flex-start;gap:7px;margin:0;max-width:62em;color:#8fa0b8;font:400 10.5px/1.5 Inter,system-ui,sans-serif;cursor:pointer}
html body .rksubf .rksubf__consent input{flex:0 0 auto;width:13px;height:13px;margin:1px 0 0;accent-color:#e0ac1f}
html body .rksubf .rksubf__legal{margin:0;color:#8fa0b8;font:400 10.5px/1.5 Inter,system-ui,sans-serif}
html body .rksubf .rksubf__legal a{color:#c5d2e4;text-decoration:underline;text-underline-offset:2px}
html body .rksubf .rksubf__legal a:hover{color:#e0ac1f}
html body .rksubf .rksub__msg{min-height:0;margin:4px 0 0;font:600 12px/1.4 Inter,system-ui,sans-serif;color:#9fe3ee}
html body .rksubf .rksub__msg:empty{display:none}
html body .rksubf .rksub__msg.is-err{color:#ffb4a9}
@media (max-width:760px){
  html body .rksubf .rksubf__bar{flex-direction:column;align-items:stretch;gap:8px}
  html body .rksubf .rksubf__row{flex:1 1 auto;min-width:0}
  html body .rksubf .rksubf__fine{flex-direction:column}
}

/* okienko: listy w dwóch kolumnach (krótsza karta) */
html body .rksub .rksub__chips{grid-template-columns:repeat(2,minmax(0,1fr))}
html body .rksub .rksub__chip{padding:7px 9px;gap:8px}
html body .rksub .rksub__chip b{font-size:13px}
html body .rksub .rksub__chip small{font-size:11.5px}
html body .rksub .rksub__t{font-size:23px}
@media (max-width:460px){html body .rksub .rksub__chips{grid-template-columns:1fr}}

/* 21.34.119: telefon — bez okienka i dzwoneczka (zapis w stopce i w stałych miejscach); stopka: tytuł, e-mail + „Dołącz”, wybór list zwinięty, drobny druk */
@media (max-width:820px){ html body .rksub{display:none!important} }
html body .rksubf .rksubf__more{flex:1 1 320px;min-width:0;margin:0;padding:0;border:0}
html body .rksubf .rksubf__more summary{display:none;list-style:none;cursor:pointer;color:#c5d2e4;font:600 12px/1.2 Inter,system-ui,sans-serif}
html body .rksubf .rksubf__more summary::-webkit-details-marker{display:none}
html body .rksubf .rksubf__more summary::after{content:" ▾";color:#e0ac1f}
html body .rksubf .rksubf__more[open] summary::after{content:" ▴"}
@media (max-width:760px){
  html body .rksubf{margin:14px 0 0;padding:12px 0 0}
  html body .rksubf .rksubf__t{order:1;font-size:19px}
  html body .rksubf .rksubf__row{order:2;flex:1 1 auto;min-width:0}
  html body .rksubf .rksubf__row input[type=email]{padding:11px 12px;font-size:15px}
  html body .rksubf .rksubf__row button{padding:0 18px;min-height:44px;font-size:14px}
  html body .rksubf .rksubf__more{order:3;flex:0 0 auto}
  html body .rksubf .rksubf__more summary{display:block;padding:4px 0}
  html body .rksubf .rksubf__chips{flex-direction:column;gap:10px;padding:8px 0 2px}
  html body .rksubf .rksubf__chip{font-size:13.5px;white-space:normal}
  html body .rksubf .rksubf__chip input{width:18px;height:18px}
  html body .rksubf .rksubf__consent{font-size:10.5px}
  html body .rksubf .rksubf__consent input{width:16px;height:16px}
}

/* 21.34.120: pasek „Alerty prosto do Ciebie” na stronach Serwis Info (jasne tło strony) */
html body .rksubs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) auto;gap:6px 22px;align-items:center;margin:14px 0 18px;padding:12px 16px;border:1px solid rgba(20,38,45,.12);border-left:3px solid #e0ac1f;border-radius:6px;background:rgba(10,34,68,.035);color:#14262d;font:500 13px/1.45 Inter,system-ui,sans-serif}
html body .rksubs *{box-sizing:border-box}
html body .rksubs.rksubs--app{grid-template-columns:minmax(0,1fr) auto}
html body .rksubs .rksubs__copy{display:grid;gap:2px}
html body .rksubs .rksubs__copy strong{font:600 17px/1.2 Newsreader,Georgia,"Times New Roman",serif;color:#0a2244}
html body .rksubs .rksubs__copy span{color:#5b6b71;font:400 12.5px/1.4 Inter,system-ui,sans-serif}
html body .rksubs .rksubs__form{min-width:0}
html body .rksubs .rksubs__row{display:flex;border:1px solid rgba(20,38,45,.2);border-radius:6px;background:#fff;overflow:hidden}
html body .rksubs .rksubs__row:focus-within{border-color:#b8860b}
html body .rksubs .rksubs__row input[type=email]{flex:1 1 auto;min-width:0;height:auto;margin:0;padding:9px 11px;border:0;outline:0;border-radius:0;background:none;box-shadow:none;color:#14262d;font:500 14px/1.2 Inter,system-ui,sans-serif}
html body .rksubs .rksubs__row button{flex:0 0 auto;margin:0;padding:0 16px;min-height:38px;border:0;border-radius:0;background:#0a2244;color:#fff;cursor:pointer;font:700 13px/1 Inter,system-ui,sans-serif;text-transform:none}
html body .rksubs .rksubs__row button:hover{background:#13365f}
html body .rksubs .rksubs__row button[disabled]{opacity:.6;cursor:progress}
html body .rksubs .rksubs__consent{display:flex;align-items:flex-start;gap:7px;margin:7px 0 0;color:#6b7a80;font:400 10.5px/1.45 Inter,system-ui,sans-serif;cursor:pointer}
html body .rksubs .rksubs__consent input{flex:0 0 auto;width:14px;height:14px;margin:1px 0 0;accent-color:#0a2244}
html body .rksubs .rksubs__legal{margin:3px 0 0;color:#6b7a80;font:400 10.5px/1.45 Inter,system-ui,sans-serif}
html body .rksubs .rksubs__legal a{color:#14262d;text-decoration:underline;text-underline-offset:2px}
html body .rksubs .rksub__msg{min-height:0;margin:5px 0 0;font:600 12px/1.4 Inter,system-ui,sans-serif;color:#0f5c6e}
html body .rksubs .rksub__msg:empty{display:none}
html body .rksubs .rksub__msg.is-err{color:#a32d24}
html body .rksubs .rksubs__app{display:grid;gap:6px;justify-items:start}
html body .rksubs .rksubs__install{margin:0;padding:9px 14px;min-height:38px;border:1px solid #0a2244;border-radius:6px;background:transparent;color:#0a2244;cursor:pointer;font:700 13px/1 Inter,system-ui,sans-serif;text-transform:none;white-space:nowrap}
html body .rksubs .rksubs__install:hover{background:#0a2244;color:#fff}
html body .rksubs .rksubs__install[hidden],html body .rksubs .rksubs__hint[hidden]{display:none}
html body .rksubs .rksubs__hint{margin:0;max-width:19em;color:#5b6b71;font:400 11.5px/1.45 Inter,system-ui,sans-serif}
@media (max-width:900px){
  html body .rksubs,html body .rksubs.rksubs--app{grid-template-columns:1fr;padding:12px 14px;gap:8px}
  html body .rksubs .rksubs__row input[type=email]{padding:12px;font-size:16px}
  html body .rksubs .rksubs__row button{min-height:46px;padding:0 20px;font-size:14px}
  html body .rksubs .rksubs__install{min-height:44px;width:100%;justify-content:center}
  html body .rksubs .rksubs__hint{max-width:none}
}
