.cc-root {
  --cc-bg: #111513;
  --cc-surface: #171c19;
  --cc-border: rgba(255, 255, 255, .12);
  --cc-text: #f6f5f1;
  --cc-muted: #b7beb9;
  --cc-accent: #d7bc7d;
  color: var(--cc-text);
  font-family: Geist, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: relative;
  z-index: 10000;
}

.cc-root [hidden] { display: none !important; }

.cc-banner {
  position: fixed;
  z-index: 10000;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--cc-border);
  border-radius: 22px;
  background: rgba(17, 21, 19, .96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .44);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cc-banner-copy { max-width: 720px; }
.cc-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--cc-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.cc-root h2, .cc-root h3, .cc-root p { margin: 0; }
.cc-root h2 { font-size: clamp(21px, 2.2vw, 29px); line-height: 1.12; letter-spacing: -.035em; }
.cc-root h3 { font-size: 16px; line-height: 1.25; }
.cc-banner p, .cc-panel-intro, .cc-category p {
  color: var(--cc-muted);
  font-size: 14px;
  line-height: 1.55;
}
.cc-banner p { margin-top: 9px; }

.cc-actions, .cc-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}
.cc-actions { justify-content: flex-end; max-width: 440px; }
.cc-button {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.cc-button:hover { transform: translateY(-1px); }
.cc-button:focus-visible, .cc-close:focus-visible, .cc-switch input:focus-visible + span {
  outline: 3px solid rgba(215, 188, 125, .38);
  outline-offset: 3px;
}
.cc-button-primary { background: var(--cc-accent); color: #15140f; }
.cc-button-secondary { border-color: var(--cc-border); background: rgba(255, 255, 255, .055); color: var(--cc-text); }
.cc-button-text { padding-inline: 8px; background: transparent; color: var(--cc-muted); text-decoration: underline; text-underline-offset: 3px; }
.cc-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--cc-muted);
  font: 300 27px/1 sans-serif;
  cursor: pointer;
}
.cc-close:hover { background: rgba(255, 255, 255, .07); color: var(--cc-text); }

.cc-overlay {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 5, 4, .72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.cc-panel {
  position: relative;
  width: min(100%, 620px);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 30px;
  border: 1px solid var(--cc-border);
  border-radius: 24px;
  background: var(--cc-bg);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .52);
}
.cc-panel-intro { margin-top: 9px; }
.cc-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--cc-border);
  border-radius: 16px;
  background: var(--cc-surface);
}
.cc-category p { margin-top: 5px; }
.cc-required { color: var(--cc-accent); font-size: 11px; font-weight: 800; white-space: nowrap; }
.cc-category-toggle { cursor: pointer; }
.cc-switch { position: relative; flex: 0 0 auto; }
.cc-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cc-switch span {
  position: relative;
  display: block;
  width: 48px;
  height: 28px;
  border: 1px solid var(--cc-border);
  border-radius: 999px;
  background: #373e3a;
  transition: background .2s ease;
}
.cc-switch span::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s ease;
}
.cc-switch input:checked + span { background: var(--cc-accent); }
.cc-switch input:checked + span::after { transform: translateX(20px); background: #15140f; }
.cc-panel-actions { justify-content: flex-end; margin-top: 24px; }
.cc-status {
  position: fixed;
  z-index: 10030;
  right: 20px;
  bottom: 20px;
  padding: 12px 16px;
  border: 1px solid var(--cc-border);
  border-radius: 12px;
  background: var(--cc-bg);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .38);
  color: var(--cc-text);
  font-size: 13px;
}
.cc-panel-open { overflow: hidden; }
.footer-cookie-link {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .28);
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .cc-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: 1fr;
    gap: 18px;
    width: auto;
    padding: 21px 18px 18px;
    border-radius: 18px;
  }
  .cc-banner-copy { padding-right: 26px; }
  .cc-actions { justify-content: stretch; max-width: none; }
  .cc-actions .cc-button-primary, .cc-actions .cc-button-secondary { flex: 1 1 145px; }
  .cc-actions .cc-button-text { flex: 1 0 100%; min-height: 34px; }
  .cc-panel { padding: 26px 18px 20px; border-radius: 20px; }
  .cc-category { gap: 14px; padding: 15px; }
  .cc-panel-actions .cc-button { flex: 1 1 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .cc-button, .cc-switch span, .cc-switch span::after { transition: none; }
}
