/* Tatry24 / reader guard — isolated .t24-ab-* selectors. */
/*
 * V1.1.3: Article-only gradient. The preview forms its own stacking context,
 * so neither the blur nor the fade can paint over the notification card.
 * Alpha masks (rather than a white overlay) follow the site's light/dark theme.
 */
.t24-ab-gate { position: relative; isolation: isolate; clear: both; width: 100%; margin: 18px auto 35px; box-sizing: border-box; }
.t24-ab-locked {
  position: relative;
  z-index: 0;
  isolation: isolate;
  height: clamp(160px, 33vw, 320px);
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  background: transparent;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 20%, rgba(0,0,0,.91) 42%, rgba(0,0,0,.58) 63%, rgba(0,0,0,.16) 82%, transparent 98%);
  mask-image: linear-gradient(180deg, #000 0%, #000 20%, rgba(0,0,0,.91) 42%, rgba(0,0,0,.58) 63%, rgba(0,0,0,.16) 82%, transparent 98%);
}
.t24-ab-preview-stack { position: relative; min-height: 100%; }
.t24-ab-sharp-content, .t24-ab-blurred-content { position: absolute; inset: 0; transform: translateZ(0); }
.t24-ab-sharp-content {
  opacity: 1;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 20%, rgba(0,0,0,.85) 38%, rgba(0,0,0,.35) 59%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, #000 20%, rgba(0,0,0,.85) 38%, rgba(0,0,0,.35) 59%, transparent 78%);
}
.t24-ab-blurred-content {
  filter: blur(var(--t24-blur, 8px));
  opacity: .95;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.15) 18%, rgba(0,0,0,.52) 40%, #000 65%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.15) 18%, rgba(0,0,0,.52) 40%, #000 65%);
}
.t24-ab-notice, .t24-ab-notice *, .t24-ab-notice *::before, .t24-ab-notice *::after { box-sizing: border-box; }
.t24-ab-notice { position: relative; background: #9f2529; color: #fff; border-radius: 18px; overflow: hidden; margin: -62px 0 0; z-index: 10; isolation: isolate; filter: none; opacity: 1; padding: 28px clamp(18px,3.7vw,42px) 20px; box-shadow: 0 18px 50px rgba(24, 22, 22, .18); font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; font-size: 15px; line-height: 1.55; }
.t24-ab-topline { display: flex; justify-content: space-between; align-items: center; column-gap: 16px; padding-bottom: 19px; border-bottom: 1px solid rgba(255,255,255,.2); }
/* Isolated brandmark: stable across in-page light/dark theme switches. */
.t24-ab-notice .t24-ab-brandmark {
  flex: 0 0 auto;
  display: block !important;
  width: min(58%, 300px) !important;
  min-width: 135px;
  height: 60px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
  background: transparent !important;
  background-image: var(--t24-ab-brand-image) !important;
  background-position: left center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  transition: none !important;
}
.t24-ab-tag { font-size: 10px; letter-spacing: .15em; font-weight: 800; color: #fff; text-align: right; }
.t24-ab-columns { display: grid; grid-template-columns: minmax(95px, 170px) minmax(0,1fr); gap: clamp(14px,2.8vw,35px); align-items: start; padding: 25px 0 12px; }
.t24-ab-illustration-wrap { display: flex; justify-content: center; align-items: center; padding-top: 13px; }
.t24-ab-illustration { display: block; width: 100% !important; max-width: 166px !important; height: auto !important; aspect-ratio: 1; object-fit: contain !important; background: transparent !important; border: none !important; box-shadow: none !important; margin: 0 !important; }
.t24-ab-eyebrow { color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 800; margin: 0 0 8px; }
.t24-ab-notice h2.t24-ab-title { color: #fff !important; font-size: clamp(23px, 3vw, 35px) !important; line-height: 1.18 !important; font-family: inherit !important; font-weight: 800 !important; margin: 0 0 15px !important; padding: 0 !important; border: 0 !important; text-transform: none !important; }
.t24-ab-notice p.t24-ab-message { color: rgba(255,255,255,.91) !important; font-size: 14px !important; line-height: 1.7 !important; margin: 0 0 14px !important; padding: 0 !important; }
.t24-ab-notice p.t24-ab-free { color: #fff !important; font-size: 14px !important; margin: 13px 0 0 !important; padding: 12px 15px !important; background: rgba(0,0,0,.14) !important; border-left: 3px solid #fff !important; border-radius: 4px; }
.t24-ab-notice p.t24-ab-free strong { color: #fff !important; font-weight: 800 !important; }
.t24-ab-bottom { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-top: 18px; }
.t24-ab-notice button.t24-ab-refresh { appearance: none; -webkit-appearance: none; background: #171b1d !important; border: 1px solid #171b1d !important; border-radius: 8px !important; padding: 15px 22px !important; color: #fff !important; font-size: 14px !important; font-weight: 800 !important; line-height: 1.25 !important; cursor: pointer; width: auto; height: auto; text-shadow: none; box-shadow: none; text-transform: none; }
.t24-ab-notice button.t24-ab-refresh:hover, .t24-ab-notice button.t24-ab-refresh:focus-visible { background: #282f32 !important; border-color: #ffdd73 !important; }
/* Explicitly style native <details>/<summary>: light-theme rules must not
   produce white-on-white text or introduce an opaque white button. */
.t24-ab-notice details.t24-ab-help {
  color: #fff !important;
  min-width: 170px;
  max-width: 100%;
  font-size: 13px;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.t24-ab-notice details.t24-ab-help > summary {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  width: auto;
  max-width: 100%;
  padding: 14px 17px !important;
  margin: 0 !important;
  font: 600 13px/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif !important;
  text-align: left !important;
  text-decoration: none !important;
  text-transform: none !important;
  color: #fff !important;
  background: #171b1d !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
  cursor: pointer;
  list-style: none;
  -webkit-appearance: none;
  appearance: none;
}
.t24-ab-notice details.t24-ab-help > summary::-webkit-details-marker { display: none; }
.t24-ab-notice details.t24-ab-help > summary::marker { content: ""; }
.t24-ab-notice details.t24-ab-help > summary::before {
  content: "▸";
  font-size: 11px;
  color: #fff;
  flex-shrink: 0;
}
.t24-ab-notice details.t24-ab-help[open] > summary::before { content: "▾"; }
.t24-ab-notice details.t24-ab-help > summary:hover,
.t24-ab-notice details.t24-ab-help > summary:focus-visible {
  color: #fff !important;
  background: #2b3236 !important;
  border-color: #fff !important;
}
.t24-ab-notice details.t24-ab-help > summary:focus-visible { outline: 3px solid #fff !important; outline-offset: 3px; }
.t24-ab-notice details.t24-ab-help > p {
  color: rgba(255,255,255,.94) !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  max-width: 440px;
}
.t24-ab-notice details.t24-ab-help > p strong { color: #fff !important; }
.t24-ab-notice a.t24-ab-support { color: #ffe28a !important; font-weight: 700; font-size: 13px; text-decoration: underline !important; }
.t24-ab-notice p.t24-ab-footer { margin: 24px 0 0 !important; border-top: 1px solid rgba(255,255,255,.2); padding-top: 14px !important; color: rgba(255,255,255,.72) !important; text-align: center; font-size: 11px !important; }
@media (max-width: 620px) {
  .t24-ab-locked { height: 205px; }
  .t24-ab-notice { padding: 20px 18px 17px; border-radius: 13px; margin-top: -45px; }
  .t24-ab-topline { padding-bottom: 14px; }
  .t24-ab-notice .t24-ab-brandmark { height: 40px !important; width: 62% !important; min-width: 105px; }
  .t24-ab-tag { font-size: 8px; letter-spacing: .08em; max-width: 40%; }
  .t24-ab-columns { display: block; padding: 18px 0 6px; }
  .t24-ab-illustration-wrap { float: right; padding: 0 0 7px 13px; width: 100px; }
  .t24-ab-illustration { max-width: 95px !important; }
  .t24-ab-eyebrow { font-size: 10px; }
  .t24-ab-notice h2.t24-ab-title { font-size: 25px !important; }
  .t24-ab-notice p.t24-ab-message { font-size: 13px !important; }
  .t24-ab-notice button.t24-ab-refresh { width: 100%; }
  .t24-ab-bottom { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { .t24-ab-notice, .t24-ab-notice * { scroll-behavior: auto; animation: none; transition: none; } }
