/* Výstupy.cz – mobilní rozhraní pouze pro dotykové zařízení do 1100 px.
   style3.css zůstává původní; na počítači se používá původní vzhled a obsah. */
.mobileOnly, .mobileMenuToggle, .mobileQuickNav, .mobileMenuExtras,
.mobileAiIntro, .mobileSendLabel, .mobileUploadText, .mobileLoading,
.activeSvpBar, .siteIcon { display: none; }
.headerBrand, .desktopOnlyPicture, #mobileMenuPanel { display: contents; }
.desktopOnlyPicture > source { display: none !important; }
.mobileMenuBackdrop, .mobileMenuBackdrop[hidden] { display: none; }
.mobilePageLoader { display: none; }
.mobilePageLoader[hidden] { display: none !important; }
.siteIconSprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
#header .headerBrand {
  display: contents !important; width: auto !important; height: auto !important;
  padding: 0 !important; margin: 0 !important; border: 0 !important;
  background: none !important; box-shadow: none !important; float: none !important;
  line-height: normal !important;
}
#chatText [hidden] { display: none !important; }
.mobileDisclosure > summary { display: none; }
/* Stejný vzhled zadání jako původní input; společné pole zachová text při otočení zařízení. */
.aiField textarea#vstupChat {
  display: block; width: 100%; height: 58px; min-height: 58px;
  padding: 16px 20px; margin: 0; box-sizing: border-box; resize: none;
  border: 1px solid #cbdcf2; border-radius: 16px;
  background: rgba(255,255,255,.92); color: #183253;
  font-family: inherit; font-size: 16px; line-height: 1.5;
  outline: none; box-shadow: 0 8px 18px rgba(73,117,177,.06);
  transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.aiField textarea#vstupChat:hover { border-color: #9fbee8; background: #fff; }
.aiField textarea#vstupChat:focus { border-color: #6f9fe2; background: #fff; box-shadow: 0 0 0 4px rgba(92,145,218,.12), 0 10px 24px rgba(63,112,179,.08); }
/* Informační URL je dostupná i po zvětšení okna; běžné desktopové stránky zůstávají původní. */
.otherInfoPage { position: relative; z-index: 1; padding: 0 0 24px; }
.otherInfoHeader, .otherInfoOverview, .otherInfoHero, .otherInfoHighlights {
  width: min(1100px, calc(100% - 32px)); margin: 0 auto 24px; box-sizing: border-box;
}
.otherInfoHeader { color: #173859; }
.otherInfoHeader h1 { margin: 0 0 8px; font-size: 32px; line-height: 1.25; }
.otherInfoHeader p { margin: 0 0 16px; color: #61778d; }
.otherInfoReturn, .otherInfoDonorsButton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 10px 15px; border: 1px solid #bfd5eb; border-radius: 11px;
  font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.4;
  text-decoration: none; color: #2468af; background: #fff; cursor: pointer;
}
.otherInfoOverview { padding: 18px; border: 1px solid #dce7f1; border-radius: 16px; background: #fff; color: #173859; }
.otherInfoHighlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.otherInfoHighlights article { padding: 18px; border: 1px solid #dce7f1; border-radius: 16px; background: #fff; min-width: 0; color: #173859; }
.otherInfoHighlights h2, .otherInfoHighlights h3 { margin: 0 0 10px; font-size: 19px; }
.otherInfoHighlights p { margin: 0; line-height: 1.6; }
.otherInfoHero { min-width: 0; }
.otherInfoHero #heroTitle { margin: 0 0 14px; color: #f6f9ff; font-size: clamp(28px, 3.3vw, 46px); line-height: 1.1; }
.otherInfoDonorsCard { grid-column: 1 / -1; grid-row: 2; }
.otherInfoSocials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 auto 24px; }
.otherInfoSocials a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 12px; }



@media (max-width: 1100px) and (pointer: coarse) {
  .mobilePageLoader:not([hidden]) {
    position: fixed; inset: 0; z-index: 999999; display: flex;
    align-items: center; justify-content: center;
    background: rgba(13, 31, 52, .5); touch-action: none; cursor: progress;
  }
  .mobilePageSpinner {
    display: block; width: 56px; height: 56px; box-sizing: border-box;
    border: 5px solid rgba(255, 255, 255, .28); border-top-color: #fff;
    border-right-color: #78b7ff; border-radius: 50%; animation: mobileSpin .8s linear infinite;
  }
  .mobilePageLoaderText {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
.vystupyResponsive .supportProjectInfo {
  width: 100% !important; margin: 20px 0 0 !important; padding: 16px 0 0 !important;
  background: transparent !important; border: 0 !important; border-top: 1px solid #dce7f1 !important;
  border-radius: 0 !important; box-shadow: none !important; backdrop-filter: none !important;
}
.vystupyResponsive .supportProjectInfo::before, .vystupyResponsive .supportProjectInfo::after { display: none !important; }
.projectSvpInfo { border-top: 1px solid #dce7f1; margin-top: 24px; padding-top: 20px; }
.projectSvpInfo h2 { font-size: 21px; }
.siteIcon { display: inline-flex !important; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 9px; vertical-align: middle; }
.siteIcon svg { display: block; width: 18px !important; height: 18px !important; }
.siteIcon--blue { color: #2468af !important; background: #e9f2fe; }
.siteIcon--purple { color: #8054c5 !important; background: #f2ebff; }
.siteIcon--green { color: #19815d !important; background: #e8f7ef; }
.siteIcon--pink { color: #cb4774 !important; background: #ffedf3; }
#headerMenu a, .mobileQuickNav > a { gap: 9px; }
.mobileMenuExtras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: min(520px, calc(100% - 32px)); margin: 12px auto 24px; }
.mobileMenuExtras a, .mobileMenuExtras button { display: flex; align-items: center; gap: 9px; min-height: 54px; padding: 10px 12px; border: 1px solid #dce7f1; border-radius: 12px; background: #fff; color: #46627c; font-family: inherit; font-size: 14px; line-height: 1.35; text-decoration: none; text-align: left; cursor: pointer; }
.mobileMenuExtras a:hover, .mobileMenuExtras button:hover { border-color: #b6cfe8; background: #f7fafd; }
.mobileMenuExtras span:not(.siteIcon) { min-width: 0; overflow-wrap: anywhere; }
.otherInfoHighlights article > .siteIcon { margin-bottom: 10px; }
#chatText .aiGeneratorHead h2, #chatText .aiOutputHead h2 { display: flex; align-items: center; gap: 9px; }
.activeSvpBar { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; width: min(1180px, calc(100% - 32px)); min-height: 62px; margin: 12px auto; padding: 10px 12px; box-sizing: border-box; border: 1px solid #bfd5eb; border-radius: 12px; background: #edf5ff; color: #173859; }
.activeSvpCopy { flex: 1; min-width: 0; }
.activeSvpCopy > span { display: block; color: #5a7188; font-size: 11px; font-weight: 600; line-height: 1.4; }
.activeSvpCopy strong { display: block; margin-top: 2px; color: #2468af; font-size: 14px; line-height: 1.3; }
.activeSvpChange { display: none; }
.activeSvpBar.isSvp-donum-felix { background: #edf8f2; border-color: #bad9c9; }
.activeSvpBar.isSvp-donum-felix strong { color: #19815d; }
.activeSvpBar.isSvp-donum-felix .siteIcon { color: #19815d !important; background: #dcf0e4; }


  .desktopPageInfo, .desktopAiPresentation { display: none !important; }
  body.isAIPage #content1 .contentSectionHTML { display: none !important; }

  :root { --mobile-ink: #173859; --mobile-blue: #2468af; --mobile-border: #dce7f1; }
  html, body {
    background: #f4f7fb !important; color: var(--mobile-ink) !important;
    -webkit-text-size-adjust: 100%; font-family: "Segoe UI", Arial, sans-serif !important;
  }
  body { margin: 0 !important; font-size: 16px; line-height: 1.6; touch-action: auto !important; }
  body::before, body::after, .pageAmbientLines,
  .desktopOnlyPicture, .aiHeroVisualCol, .heroPhotoVisual, .aiMiniBgIcon,
  .vipCelebrationLayer, .autoHintBubble { display: none !important; }
  .mobileOnly { display: inline; }
  *, *::before, *::after { box-sizing: border-box; }
  button, input, textarea, select { font-family: inherit; }
  input, select, textarea { font-size: 16px !important; }
  a, button, label, summary { -webkit-tap-highlight-color: rgba(36,104,175,.12); }
  button, summary, a { touch-action: manipulation; }
  button:focus-visible, a:focus-visible, summary:focus-visible {
    outline: 3px solid #5994d0 !important; outline-offset: 3px;
  }

  #header {
    position: relative; z-index: 66;
    display: flex !important; align-items: center; justify-content: space-between;
    width: 100% !important; min-height: 76px !important; height: 76px !important;
    margin: 0 !important; padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)) !important;
    gap: 16px; border-bottom: 1px solid var(--mobile-border); background: #fff;
  }
  #header .headerBrand { display: flex !important; align-items: center; min-width: 0; text-decoration: none; }
  #header .headerLogoCenter {
    display: block; width: 148px !important; max-width: 100% !important;
    height: 54px !important; margin: 0 !important; object-fit: contain;
    transform: none !important; float: none !important;
  }
  #header .headerLogoLeft, #header #openDonorsModal { display: none !important; }
  .activeSvpBar { width: min(720px, calc(100% - 32px)); margin: 12px auto 0; }
  .mobileJs .activeSvpChange { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 0 0 auto; min-height: 44px; padding: 8px 11px; border: 1px solid #c6d9ec; border-radius: 10px; background: #fff; color: #2468af; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
  .mobileJs .mobileMenuToggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    flex: 0 0 auto; min-height: 44px; padding: 8px 13px; margin: 0;
    border: 1px solid var(--mobile-border); border-radius: 12px;
    background: #fff; color: var(--mobile-ink); font-size: 14px; font-weight: 700; cursor: pointer;
  }
  .mobileMenuIcon { width: 16px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
  .mobileMenuIcon::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
  .mobileMenuToggle[aria-expanded="true"] { background: #eaf3fc; border-color: #adccea; }
  #mobileMenuPanel { display: block; width: 100%; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--mobile-border); }
  .mobileJs #mobileMenuPanel:not(.isOpen) { display: none; }
  #mobileMenuPanel .svpSwitchBar { padding: 0 !important; margin: 0 0 12px !important; }
  #mobileMenuPanel .svpSwitchInner {
    width: 100% !important; display: flex; flex-direction: column; align-items: stretch; gap: 8px;
    padding: 0 !important; border: 0; box-shadow: none; border-radius: 0; background: none; backdrop-filter: none;
  }
  #mobileMenuPanel .svpSwitchTitle { font-size: 13px; color: #526a82; }
  #mobileMenuPanel .svpSwitchTitle::before { display: none; }
  #mobileMenuPanel .svpSwitch { display: flex; width: 100%; }
  #mobileMenuPanel .svpSwitchButton { flex: 1; min-width: 0; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 10px 6px; font-size: 12px; }
  #mobileMenuPanel .svpSwitchStatus { display: none; }
  #mobileMenuPanel #headerMenu {
    display: flex !important; flex-direction: column; gap: 3px; width: 100% !important;
    padding: 0 !important; margin: 0 !important; border: 0 !important;
    background: none !important; box-shadow: none !important; backdrop-filter: none !important;
  }
  #mobileMenuPanel #headerMenu a {
    width: 100%; justify-content: flex-start; min-height: 46px; padding: 12px !important;
    border-radius: 10px; font-size: 15px !important; white-space: normal;
    line-height: 1.4 !important; text-align: left; color: var(--mobile-ink) !important;
    letter-spacing: 0 !important; background: transparent !important;
  }
  #mobileMenuPanel #headerMenu a::before, #mobileMenuPanel #headerMenu a::after { display: none !important; }
  #mobileMenuPanel #headerMenu a[aria-current="page"] { background: #eaf3fc !important; color: var(--mobile-blue) !important; }
  #mobileMenuPanel #headerMenu a.mobileOtherInfoLink { margin-top: 7px; border-top: 1px solid var(--mobile-border); border-radius: 0 0 10px 10px; }
  #mobileMenuPanel .mobileMenuExtras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; padding-top: 12px; margin: 10px 0 0; border-top: 1px solid var(--mobile-border); }
  #mobileMenuPanel .mobileMenuExtras a, #mobileMenuPanel .mobileMenuExtras button { min-height: 58px; padding: 10px; font-size: 14px; }
  .mobileDisclosure > summary { gap: 9px; }
  .mobileDisclosure > summary > span:not(.siteIcon) { flex: 1; }
  .mobileQuickNav .siteIcon { width: 24px; height: 24px; flex-basis: 24px; }
  .mobileQuickNav > a.isActive .siteIcon, .svpChoiceTrigger.isActive .siteIcon { color: #fff !important; background: rgba(255,255,255,.17); }
  .mobileQuickNav {
    position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: stretch;
    gap: 8px; width: min(720px, calc(100% - 32px)); margin: 16px auto 20px;
  }
  .mobileQuickNav > a {
    flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center;
    min-height: 54px; padding: 10px 8px; border: 1px solid var(--mobile-border); border-radius: 12px;
    background: #fff; color: #61778f; font-size: 14px; font-weight: 700;
    text-decoration: none; text-align: center;
  }
  .mobileQuickNav > a.isActive { color: #fff; background: var(--mobile-blue); border-color: var(--mobile-blue); }
  .svpChoiceTrigger { display: none; }
  .mobileJs .svpChoiceTrigger {
    flex: 1 1 0; min-width: 0; min-height: 54px; display: flex; align-items: center; justify-content: center;
    gap: 7px; padding: 9px 10px; border: 1px solid var(--mobile-border); border-radius: 12px;
    background: #fff; color: #61778f; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.3; cursor: pointer;
  }
  .svpChoiceCopy { min-width: 0; text-align: left; }
  .svpChoiceChevron { width: 12px; height: 12px; flex: 0 0 12px; transition: transform .15s; }
  .svpChoiceTrigger[aria-expanded="true"] .svpChoiceChevron { transform: rotate(180deg); }
  .svpChoiceTrigger[aria-expanded="true"] { border-color: #8db6e3; box-shadow: 0 0 0 3px #eaf2fc; color: var(--mobile-blue); }
  .svpChoiceTrigger.isActive { color: #fff; background: var(--mobile-blue); border-color: var(--mobile-blue); }
  .svpChoiceMenu, .svpChoiceFallback {
    padding: 13px; border: 1px solid #bcd2ea; border-radius: 16px; background: #fff; color: var(--mobile-ink);
  }
  .svpChoiceMenu { position: absolute; top: calc(100% + 10px); left: 0; right: 0; box-shadow: 0 12px 28px #17385926; }
  .svpChoiceMenu[hidden] { display: none !important; }
  .svpChoiceMenu::before { content: ""; position: absolute; right: 25%; top: -6px; width: 10px; height: 10px; background: #fff; border-left: 1px solid #bcd2ea; border-top: 1px solid #bcd2ea; transform: rotate(45deg); }
  .svpChoiceMenuHead { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 3px 9px; font-size: 13px; font-weight: 700; }
  .svpChoiceProgram { font-size: 10px; font-weight: 700; border-radius: 6px; padding: 3px 7px; color: var(--mobile-blue); background: #eaf3ff; }
  .isSvp-donum-felix .svpChoiceProgram { color: #19815d; background: #e8f7ef; }
  .svpChoiceLink {
    display: flex; align-items: center; gap: 11px; width: 100%; min-height: 61px; padding: 9px; border: 0; border-radius: 10px;
    background: #fff; color: var(--mobile-ink); text-align: left; text-decoration: none; font-size: 15px; font-weight: 600;
  }
  .svpChoiceLink + .svpChoiceLink { margin-top: 3px; }
  .svpChoiceLink:hover, .svpChoiceLink:focus-visible { background: #f2f6fc; }
  .svpChoiceLink[aria-current="page"] { background: #eaf3ff; color: var(--mobile-blue); }
  .svpLevelBadge { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: #e9f2fe; color: var(--mobile-blue); font-size: 15px; font-weight: 700; }
  .svpLevelBadge.level2 { background: #e8f7ef; color: #19815d; }
  .svpLevelBadge.levelss { background: #f2ebff; color: #8054c5; font-size: 12px; }
  .svpLevelCopy { flex: 1; min-width: 0; }
  .svpLevelCopy strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; }
  .svpLevelCopy small { display: block; font-size: 12px; font-weight: 400; color: #74869a; line-height: 1.45; }
  .svpLevelArrow { color: #7791ab; font-size: 20px; }
  .svpChoiceLink[aria-current="page"] .svpLevelArrow { color: var(--mobile-blue); font-size: 16px; }
  .mobileQuickNav noscript { display: block; flex: 0 0 100%; }

  /* Rozbalené menu odděluje stín; celá stránka v pozadí se ztmaví. */
  .mobileMenuBackdrop:not([hidden]) {
    display: block; position: fixed; inset: 0; z-index: 65;
    background: rgba(13, 31, 52, .38);
  }
  #mobileMenuPanel { position: relative; z-index: 66; }
  .mobileJs #mobileMenuPanel { position: absolute; top: 76px; left: 0; right: 0; }
  #mobileMenuPanel::after {
    content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 90px;
    background: linear-gradient(to bottom, rgba(13, 31, 52, .26), rgba(13, 31, 52, .10) 40%, rgba(13, 31, 52, 0));
    pointer-events: none;
  }
  .otherInfoHeader, .otherInfoOverview, .otherInfoHero, .otherInfoHighlights { width: min(720px, calc(100% - 32px)); margin-bottom: 16px; }
  .otherInfoHeader h1 { font-size: 27px; }
  .otherInfoHeader p { font-size: 15px; line-height: 1.6; }
  .otherInfoOverview { padding: 6px 16px; }
  .otherInfoHighlights { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .otherInfoHighlights article { padding: 16px; }
  .otherInfoHighlights h2, .otherInfoHighlights h3 { font-size: 18px; }
  .otherInfoHighlights p, .otherInfoOverview p, .otherInfoOverview li { font-size: 15px !important; line-height: 1.65; overflow-wrap: anywhere; }
  .otherInfoHero { display: block !important; height: auto !important; min-height: 0 !important; max-height: none !important; padding: 16px !important; background: #fff !important; border: 1px solid var(--mobile-border); border-radius: 16px; box-shadow: none !important; }
  .otherInfoHero::before, .otherInfoHero::after { display: none !important; }
  .otherInfoHero .aiHeroTextCol { width: 100% !important; max-width: none !important; flex-basis: 100% !important; min-width: 0; }
  .otherInfoHero .heroSwap { animation: none !important; transform: none !important; opacity: 1 !important; }
  .otherInfoHero #heroBadge { color: #526a82 !important; background: #f4f7fb !important; border-color: var(--mobile-border) !important; box-shadow: none !important; font-size: 11px; padding: 6px 10px; }
  .otherInfoHero #heroTitle { color: var(--mobile-ink) !important; font-size: 22px !important; line-height: 1.3 !important; }
  .otherInfoHero #heroDesc { color: #61778d !important; font-size: 15px !important; line-height: 1.6 !important; }
  .otherInfoHero .aiHeroLinks { display: flex; flex-wrap: wrap; gap: 8px; }
  .otherInfoHero .aiHeroLink { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 12px; color: var(--mobile-blue); background: #f4f7fb; border-color: var(--mobile-border); }

  #content1, #content4, #content3 .supportContactSection, #content3 > p,
  #content3 > div, #content3 > section, #content3 > details, .seoInfoBlock {
    width: min(720px, calc(100% - 32px)) !important; max-width: 720px !important;
    margin-left: auto !important; margin-right: auto !important;
  }
  #content1 { margin-top: 0 !important; padding: 0 !important; }
  #content1 .mainContentBox { padding: 0 !important; margin: 0 !important; min-width: 0; }
  #content1 .mainContentTitle { margin: 0 0 18px !important; font-size: 25px !important; line-height: 1.3; letter-spacing: -.3px; }
  body.isAIPage #content1 .mainContentTitle { display: none !important; }
  body.isRvpPage #content1 .contentHeroSection { display: none !important; }
  #content1 .contentHeroSection, #content1 .contentSectionHTML {
    padding-bottom: 0 !important; background: none !important; background-image: none !important;
  }
  #content1 .contentHeroSection { padding: 0 !important; }
  #content1 .contentSectionHTML {
    margin: 16px 0 !important; padding: 16px !important; border: 1px solid var(--mobile-border);
    border-radius: 16px; box-shadow: none !important; backdrop-filter: none !important;
    background-color: #fff !important;
  }
  #content1 .contentSectionHTML::before, #content1 .contentSectionHTML::after,
  .content3SectionBox::before, .content3SectionBox::after,
  .content4SectionBox::before, .content4SectionBox::after,
  .seoInfoBlock::before, .seoInfoBlock::after { display: none !important; }
  #content1 img { max-width: 100%; height: auto; }
  #content1 p, #content1 li, .mobileDisclosureContent p, .mobileDisclosureContent li { font-size: 15px !important; line-height: 1.65 !important; overflow-wrap: anywhere; }
  #content1 .contentSectionHTML h2, #content1 .contentSectionHTML h3 { font-size: 19px !important; line-height: 1.4; }
  #content1 table { display: block; max-width: 100%; overflow-x: auto; }

  #chatText.aiPageShell { display: flex; flex-direction: column; gap: 16px; }
  #chatText .aiHeroPhotoSlider { display: none !important; }
  #chatText .mobileAiIntro { display: block; order: 0; padding: 0 2px; }
  .mobileIntroEyebrow { font-size: 11px; color: #5a7896; font-weight: 700; letter-spacing: .1em; }
  #chatText .mobileAiIntro h1 { font-size: 27px; line-height: 1.2; letter-spacing: -.6px; margin: 6px 0 9px; color: var(--mobile-ink); }
  #chatText .mobileAiIntro p { margin: 0; color: #61778d; font-size: 15px !important; line-height: 1.55 !important; }
  #chatText .aiGeneratorRow { order: 1; margin: 0 !important; display: block !important; }
  #chatText .aiResultPanel { order: 2; margin: 0 !important; }
  #chatText:not(.hasAiResults) .aiResultPanel { display: none; }
  #chatText .aiFeatureStrip { display: none !important; }
  #chatText textarea#vstupChat { resize: vertical; }
  #chatText .aiCard { padding: 18px 16px !important; background: #fff !important; border: 1px solid var(--mobile-border); border-radius: 18px; box-shadow: 0 4px 16px rgba(31,68,108,.035) !important; backdrop-filter: none; }
  #chatText .aiCard::before, #chatText .aiCard::after { display: none !important; }
  #chatText .aiGeneratorHead { gap: 12px; margin-bottom: 12px; align-items: center; }
  #chatText .aiGeneratorHead h2 { font-size: 17px !important; line-height: 1.3; margin: 0 !important; }
  #chatText .aiGeneratorHead p { display: none; }
  #chatText #aiSettingsBtn { width: 44px; height: 44px; min-width: 44px; flex-basis: 44px; padding: 8px; border-radius: 12px; background: #f4f8fd; box-shadow: none; }
  #chatText .aiSettingsIcon, #chatText .aiSettingsIcon svg { width: 24px; height: 24px; filter: none; animation: none; }
  #chatText .aiPromptForm { display: flex; flex-direction: column; gap: 12px; margin: 0; }
  #chatText .aiInlineControls { display: contents !important; }
  #chatText .aiFieldLevel { order: 1; }
  #chatText .aiFieldPrompt { order: 2; }
  #chatText .aiUploadZone { order: 3; }
  #chatText .aiInlineButtonWrap { order: 4; }
  #chatText .aiGeneratorMeta { order: 5; }
  #chatText .aiField { width: 100%; min-width: 0; margin: 0 !important; }
  #chatText .aiField label { display: block; margin-bottom: 6px; font-size: 13px; color: #526c85; font-weight: 600; }
  #chatText .aiField select { height: 48px !important; border-radius: 12px !important; box-shadow: none !important; padding-left: 13px !important; }
  #chatText .aiPromptInputWrap { padding: 0 !important; height: auto !important; border: 0 !important; border-radius: 12px; background: none; box-shadow: none; }
  #chatText .aiField textarea#vstupChat { width: 100%; height: 110px; min-height: 110px; padding: 12px 13px; border-radius: 12px; border-color: #cbdce9; background: #fbfdff; font-size: 16px; line-height: 1.5; }
  #chatText .aiField textarea#vstupChat::placeholder { color: #8b9aaa; }
  #chatText .aiInlineButtonWrap { width: 100%; justify-content: stretch !important; }
  #chatText #vstupOdeslat.aiSendButton {
    width: 100% !important; min-width: 0 !important; max-width: none !important;
    min-height: 50px !important; height: 50px !important; padding: 12px 16px !important;
    gap: 10px; border-radius: 12px !important; color: #fff !important;
    background: var(--mobile-blue) !important; border: 1px solid var(--mobile-blue) !important;
    font-size: 16px; font-weight: 700;
  }
  #chatText #vstupOdeslat.aiSendButton:hover, #chatText #vstupOdeslat.aiSendButton:focus-visible { background: #1e5997 !important; }
  #chatText #vstupOdeslat.aiSendButton:disabled { opacity: .65; cursor: wait; }
  #chatText .mobileSendLabel { display: inline; }
  #chatText #vstupOdeslat.aiSendButton svg { width: 20px; height: 20px; transform: none; }
  #chatText .aiUploadZone { margin: 0 !important; padding: 12px !important; border: 1px dashed #c5d7e8 !important; background: #f7fafd !important; border-radius: 12px !important; }
  #chatText .aiUploadZone > strong { font-size: 13px; }
  #chatText .aiUploadZone .desktopUploadText { display: none; }
  #chatText .aiUploadZone .mobileUploadText { display: inline; }
  #chatText .aiUploadZone .aiUploadChoose { display: inline-flex !important; align-items: center; min-height: 44px; padding: 6px 0; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--mobile-blue); }
  #chatText .aiUploadZone .aiUploadHelp { margin: 0; font-size: 12px !important; line-height: 1.5 !important; }
  #chatText .aiUploadZone > p { margin: 0 !important; }
  #chatText .aiUploadSelected { gap: 8px; }
  #chatText .aiUploadSelected button { min-height: 44px; }
  #chatText .aiUploadStatus:empty { display: none; }
  #chatText .aiGeneratorMeta { display: flex; flex-direction: column; gap: 14px; margin: 0 !important; padding: 0 !important; }
  #chatText .aiToolsRow { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; }
  #chatText .aiToolsRow .aiToolLink { flex: 1 1 120px; min-height: 44px; padding: 0 10px; font-size: 12px; border: 1px solid var(--mobile-border); border-radius: 10px; box-shadow: none; color: #4f6d88; background: #fff; }
  #chatText .aiToolsRow .aiToolLink img { width: 18px; height: 18px; min-width: 18px; }
  #chatText .aiLimitRow { justify-content: flex-start; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; }
  #chatText .aiVisitorLimitRule { font-size: 11px; color: #75899c; line-height: 1.5; }
  #chatText .aiLimitMessage { padding: 12px; gap: 10px; margin: 0 0 12px; border-radius: 12px; box-shadow: none; }
  #chatText .aiLimitText strong { font-size: 15px; }
  #chatText .aiLimitIcon { width: 32px; height: 32px; flex-basis: 32px; font-size: 18px; }
  #chatText .aiOutputHead { gap: 8px; align-items: flex-start; }
  #chatText .aiOutputHead h2 { font-size: 19px; margin: 0 0 4px; }
  #chatText .aiOutputHead p { font-size: 13px !important; }
  #chatText .aiOutputBody { padding: 0 !important; overflow-wrap: anywhere; }
  #chatText .aiOutputBody .onechat { padding: 14px 0 !important; border-radius: 0; box-shadow: none; }
  #chatText .aiOutputBody p, #chatText .aiOutputBody li { font-size: 16px !important; line-height: 1.65 !important; }
  #chatText .aiOutputBody h2, #chatText .aiOutputBody h3 { font-size: 19px !important; line-height: 1.4; }
  #chatText .aiOutputNote { font-size: 12px; line-height: 1.5; padding-top: 12px; }

  /* Skládací informace. Na desktopu zůstávají otevřené. */
  .mobileDisclosure > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 48px; padding: 2px 0; color: var(--mobile-ink); font-size: 15px;
    font-weight: 600; cursor: pointer; list-style: none;
  }
  .mobileDisclosure > summary::-webkit-details-marker { display: none; }
  .mobileDisclosure > summary::marker { content: ""; }
  .mobileDisclosure > summary::after { content: "+"; flex: 0 0 22px; width: 22px; color: #6b89a8; font-size: 24px; font-weight: 400; text-align: center; }
  .mobileDisclosure[open] > summary::after { content: "−"; }
  .mobileDisclosureContent { padding-top: 12px; }
  .mobileDisclosureContent:empty { padding: 0; }
  #content3 { margin: 0 !important; }
  #content3 > .mobileSupportInfo { padding: 6px 16px; margin-top: 0; margin-bottom: 12px; border: 1px solid var(--mobile-border); border-radius: 16px; background: #fff; }
  #content3 .content3SectionBox, #content4 .content4SectionBox {
    width: 100% !important; margin: 0 !important; padding: 0 !important;
    border: 0 !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none;
  }
  #content3 .supportContactSection { display: flex; flex-direction: column; gap: 12px; margin-top: 0 !important; margin-bottom: 16px !important; }
  #content3 .supportCard { padding: 6px 16px !important; border-radius: 16px; border: 1px solid var(--mobile-border); background: #fff; box-shadow: none; }
  #content3 .supportCard .mobileDisclosureContent { padding-bottom: 14px; }
  #content3 .supportCardHeader { gap: 10px; }
  #content3 .supportCardHeader h2 { font-size: 19px; }
  #content3 .supportProjectInfo { margin-top: 18px !important; padding-top: 16px !important; border-top: 1px solid var(--mobile-border) !important; }
  #content3 .supportProjectInfo h2, #content3 .supportProjectInfo h3 { font-size: 18px !important; }
  .projectSvpInfo { margin-top: 18px; padding-top: 16px; }
  .projectSvpInfo h2 { font-size: 19px !important; }
  #content3 .contactFormRow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  #content3 .contactField input { min-height: 48px; }
  #content3 .contactField textarea { min-height: 130px; }
  #content3 .contactConsent input, #content3 #noList { width: 20px; height: 20px; flex: 0 0 20px; }
  #content3 .contactSubmit { width: 100%; min-height: 48px; }
  #content3 .amountPresetButton { min-height: 44px; font-size: 13px; }
  #content3 .amountPresetRow { gap: 6px; flex-wrap: wrap; }
  #content3 .qrPaymentCard .inputs { grid-template-columns: minmax(0, 1fr) 95px; }
  #content3 .qrBox { max-width: 100%; overflow: hidden; }
  #content3 .qrBox canvas, #content3 .qrBox img { max-width: 100%; height: auto; }
  #content4 { padding: 6px 16px !important; margin: 0 auto 12px !important; border: 1px solid var(--mobile-border) !important; border-radius: 16px !important; background: #fff !important; }
  .seoInfoBlock { padding: 6px 16px !important; margin-top: 0 !important; margin-bottom: 12px !important; border: 1px solid var(--mobile-border); border-radius: 16px; background: #fff !important; box-shadow: none !important; }
  .seoInfoBlock h2 { font-size: 19px !important; }
  .siteFooterCompact { padding: 20px 16px !important; margin-top: 16px; background: none !important; }
  .siteFooterInner { width: 100% !important; display: flex; flex-direction: column; gap: 10px; }
  .siteFooterCopyright { font-size: 12px; line-height: 1.6; text-align: center; }
  .siteFooterToplist { opacity: .65; }

  /* Vyhledávání a dotykové ovládání seznamu RVP. */
  #content1 .rvpBlockHeader { align-items: stretch !important; flex-direction: column !important; }
  #content1 .rvpBlockTitle { font-size: 19px !important; }
  #content1 .rvpSearchBox { width: 100% !important; flex-basis: auto !important; }
  #content1 #rvpSearchInput { height: 48px !important; padding-right: 52px !important; font-size: 16px !important; }
  #content1 .rvpSearchClear { width: 44px !important; height: 44px !important; right: 2px !important; }
  #content1 #rvpList .rvpSubjectSummary { min-height: 54px !important; padding: 10px !important; gap: 8px !important; grid-template-columns: 22px minmax(0,1fr) auto !important; }
  #content1 #rvpList .rvpSubjectTitle { font-size: 15px !important; line-height: 1.4 !important; }
  #content1 #rvpList .rvpSubjectItems { padding: 8px !important; }
  #content1 #rvpList .rvpSubjectItems .rvpitemttitle.rvpTableRow {
    display: grid !important; grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    grid-template-rows: auto auto !important; grid-template-areas: none !important;
    align-items: start !important; gap: 8px !important; padding: 10px 8px !important;
  }
  #content1 #rvpList .rvpSubjectItems .rvpitemttitle.rvpTableRow > .rvpToggleIcon { grid-area: auto !important; grid-column: 1 !important; grid-row: 1 !important; }
  #content1 #rvpList .rvpSubjectItems .rvpitemttitle.rvpTableRow > .rvpCodeSubject { grid-area: auto !important; grid-column: 2 !important; grid-row: 1 !important; width: auto !important; max-width: none !important; overflow-wrap: anywhere; }
  #content1 #rvpList .rvpSubjectItems .rvpitemttitle.rvpTableRow > .rvpDesc { grid-area: auto !important; grid-column: 1 / -1 !important; grid-row: 2 !important; font-size: 15px !important; line-height: 1.55 !important; padding: 0 !important; }
  #content1 #rvpList .rvpSubjectItems .rvpitemttitle.rvpTableRow > .starAI { grid-area: auto !important; grid-column: 3 !important; grid-row: 1 !important; width: 44px !important; height: 44px !important; float: none; }
  #content1 #rvpList .rvpToggleIcon, #content1 #rvpList .starAI > a.rvpAiIcon { width: 44px !important; height: 44px !important; font-size: 19px !important; }
  #content1 #rvpList .rvpCodeValue { display: block; font-size: 12px !important; overflow-wrap: anywhere; white-space: normal !important; }
  #content1 #rvpList .rvpSubjectBadge { display: block; max-width: 100%; white-space: normal !important; font-size: 11px !important; }
  #content1 #rvpList .rvpitemtext { padding: 12px !important; font-size: 15px !important; line-height: 1.65 !important; }
  #content1 #rvpList .rvpitem.is-open > .rvpitemtext { animation: none !important; opacity: 1; }
  .rvpCodeAnchor, .rvpitem, #generator, #chatspodek, #kontakt, #podpora, #funguje { scroll-margin-top: 18px; }

  /* Dialogy musí zůstat rolovatelné i s otevřenou klávesnicí. */
  #aiSettingsModal, .donorsModal { padding: 16px !important; }
  #aiSettingsModal .aiSettingsModalBox, .donorsModalWindow {
    width: 100% !important; max-width: 500px; max-height: calc(100vh - 32px) !important;
    max-height: calc(100dvh - 32px) !important; overflow-y: auto !important;
    padding: 24px 18px !important; border-radius: 18px;
  }
  #aiSettingsClose, .donorsModalClose { min-width: 44px; min-height: 44px; }
  .aiSettingsSave { min-height: 48px; }
  .modal_content img, .modalMini_content img { display: none; }
  .mobileLoading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 16px; color: #fff; font-size: 15px; }
  .mobileSpinner { display: block; width: 24px; height: 24px; flex: 0 0 24px; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: mobileSpin .8s linear infinite; }
  .modalMini_content .mobileLoading { color: var(--mobile-ink); }
  .modalMini_content .mobileSpinner { border-color: #cbdcea; border-top-color: var(--mobile-blue); }
}
@keyframes mobileSpin { to { transform: rotate(360deg); } }
@media (max-width: 360px) and (pointer: coarse) {
  .mobileJs .svpChoiceTrigger { padding: 8px; gap: 6px; font-size: 13px; }
  .svpChoiceTrigger > .siteIcon { width: 20px; height: 20px; flex-basis: 20px; }
  .svpChoiceMenu { padding: 11px; }
  #content1, #content4, #content3 .supportContactSection,
  #content3 > details, .seoInfoBlock { width: calc(100% - 24px) !important; }
  #chatText .aiCard { padding: 16px 12px !important; }
  #chatText .mobileAiIntro h1 { font-size: 25px; }
  #chatText .aiToolsRow .aiToolLink { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .mobileSpinner, .mobilePageSpinner { animation: none; }
  .svpChoiceChevron { transition: none; }
}
