#ggc-root {
  --ggc-navy: #0c356a;
  --ggc-ink: #1a1a1a;
  --ggc-muted: #333333;
  --ggc-bg: #ffffff;
  --ggc-line: #d5dbe3;
  color: var(--ggc-ink);
  font-family: system-ui, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
}

#ggc-root,
#ggc-root * {
  box-sizing: border-box;
}

#ggc-root .ggc-t {
  display: none !important;
}

html[data-ggc-lang="sk"] #ggc-root .ggc-t-sk,
html:not([data-ggc-lang]) #ggc-root .ggc-t-sk,
html[data-ggc-lang="cs"] #ggc-root .ggc-t-cs,
html[data-ggc-lang="en"] #ggc-root .ggc-t-en {
  display: inline !important;
}

#ggc-root .ggc-banner,
#ggc-root .ggc-card {
  background: var(--ggc-bg);
  color: var(--ggc-ink);
  border: 1px solid var(--ggc-line);
  border-top: 4px solid var(--ggc-navy);
  border-radius: 0;
}

#ggc-root .ggc-banner {
  position: fixed;
  z-index: 100000;
  left: 16px;
  right: auto;
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: min(440px, calc(100vw - 32px));
  max-height: min(70vh, 560px);
  overflow: auto;
  padding: 16px;
}

html[data-ggc-choice="1"] #ggc-root .ggc-banner,
#ggc-root .ggc-banner[data-ggc-hold] {
  display: none !important;
}

#ggc-root .ggc-banner:focus,
#ggc-root .ggc-banner:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

#ggc-root h2,
#ggc-root p {
  margin: 0 0 10px;
  color: var(--ggc-ink);
  font-family: inherit;
  font-weight: 400;
}

#ggc-root h2 {
  color: var(--ggc-navy);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

#ggc-root .ggc-operator,
#ggc-root .ggc-rights {
  color: var(--ggc-muted);
  font-size: 14px;
}

#ggc-root .ggc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 12px;
}

#ggc-root a {
  color: var(--ggc-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#ggc-root .ggc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#ggc-root button {
  appearance: none;
  margin: 0;
  font-family: inherit;
  cursor: pointer;
}

#ggc-root .ggc-btn {
  flex: 1 1 130px;
  min-height: 44px;
  padding: 10px 12px;
  border: 2px solid var(--ggc-navy) !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: var(--ggc-navy) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center;
  box-shadow: none !important;
}

#ggc-root .ggc-btn:hover,
#ggc-root .ggc-btn:focus-visible {
  background: var(--ggc-navy) !important;
  color: #ffffff !important;
}

#ggc-root button:focus-visible,
#ggc-root a:focus-visible,
#ggc-root input:focus-visible {
  outline: 3px solid var(--ggc-navy) !important;
  outline-offset: 2px !important;
}

#ggc-root .ggc-langs {
  display: flex;
  gap: 6px;
  margin: 0 0 10px;
}

#ggc-root .ggc-lang {
  min-width: 44px;
  min-height: 32px;
  padding: 4px 8px;
  border: 1px solid var(--ggc-navy);
  background: #fff;
  color: var(--ggc-navy);
  font-weight: 700;
}

html[data-ggc-lang="sk"] #ggc-root .ggc-lang[data-ggc-lang-set="sk"],
html[data-ggc-lang="cs"] #ggc-root .ggc-lang[data-ggc-lang-set="cs"],
html[data-ggc-lang="en"] #ggc-root .ggc-lang[data-ggc-lang-set="en"] {
  background: var(--ggc-navy);
  color: #fff;
}

#ggc-root .ggc-dialog {
  position: fixed;
  z-index: 100001;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  background: rgba(12, 53, 106, 0.45);
}

#ggc-root .ggc-dialog[hidden] {
  display: none !important;
}

#ggc-root .ggc-card {
  width: min(640px, 100%);
  max-height: min(86vh, 720px);
  overflow: auto;
  padding: 16px;
  background: #fff;
}

#ggc-root .ggc-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

#ggc-root .ggc-x {
  min-width: 44px;
  min-height: 44px;
  border: 2px solid var(--ggc-navy);
  background: #fff;
  color: var(--ggc-navy);
  font-size: 22px;
  line-height: 1;
}

#ggc-root .ggc-cat {
  border-top: 1px solid var(--ggc-line);
  padding: 12px 0;
}

#ggc-root .ggc-cat-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

#ggc-root .ggc-cat h3 {
  margin: 0 0 4px;
  color: var(--ggc-navy);
  font-size: 16px;
}

#ggc-root .ggc-cat p {
  margin: 0;
  font-size: 14px;
  color: var(--ggc-muted);
}

#ggc-root .ggc-badge {
  flex: 0 0 auto;
  color: var(--ggc-navy);
  font-size: 13px;
  font-weight: 700;
}

#ggc-root .ggc-switch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

#ggc-root .ggc-switch input {
  width: 22px;
  height: 22px;
  accent-color: var(--ggc-navy);
}

#ggc-root .ggc-fab {
  position: fixed;
  z-index: 99990;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 52px;
  height: 52px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ggc-navy) !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

#ggc-root .ggc-fab.ggc-fab-raised {
  bottom: calc(120px + env(safe-area-inset-bottom));
}

html:not([data-ggc-choice="1"]) #ggc-root .ggc-fab {
  display: none !important;
}

#ggc-root .ggc-fab img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

#ggc-root .ggc-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ggc-form-note {
  margin: 0 0 12px;
  padding: 12px;
  border: 2px solid #0c356a;
  background: #ffffff;
  color: #1a1a1a;
  font-family: system-ui, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.4;
}

.ggc-form-note .ggc-form-btn {
  display: inline-block;
  margin: 8px 8px 0 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 2px solid #0c356a;
  border-radius: 0;
  background: #ffffff;
  color: #0c356a;
  font-weight: 700;
  cursor: pointer;
}

.ggc-form-note .ggc-form-btn:focus-visible {
  outline: 3px solid #0c356a;
  outline-offset: 2px;
}

@media (max-width: 700px) {
  #ggc-root .ggc-banner {
    left: 8px;
    width: calc(100vw - 16px);
    bottom: calc(8px + env(safe-area-inset-bottom));
  }

  #ggc-root .ggc-btn {
    flex-basis: 100%;
  }

  #ggc-root .ggc-fab {
    left: 8px;
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ggc-root *,
  .ggc-form-note * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  #ggc-root .ggc-btn,
  #ggc-root .ggc-fab,
  #ggc-root .ggc-x {
    border: 1px solid ButtonText !important;
    background: ButtonFace !important;
    color: ButtonText !important;
  }
}
