.fc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2147482000;
  max-width: 640px;
  margin: 0 auto;
  box-sizing: border-box;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 22px 24px;
  border-radius: 20px;
  background: #ffffff;
  color: #0f1533;
  box-shadow: 0 0 0 1px rgba(55, 107, 220, 0.12), 0 18px 48px rgba(31, 59, 140, 0.22);
  font: 400 16px/1.5 "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-align: left;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.fc-banner[hidden] {
  display: none;
}

.fc-banner.fc-in {
  opacity: 1;
  transform: none;
}

.fc-banner *,
.fc-banner *::before,
.fc-banner *::after {
  box-sizing: border-box;
}

.fc-title {
  margin: 0 0 6px;
  font-family: inherit;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: #0f1533;
  letter-spacing: 0;
  text-transform: none;
}

.fc-text {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.5;
  color: #3d4466;
}

.fc-text a {
  color: #376bdc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fc-text a:hover {
  color: #2a56b8;
}

.fc-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fc-btn {
  appearance: none;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #c9d4f5;
  border-radius: 999px;
  background: #e8edff;
  color: #0f1533;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

@media (hover: hover) {
  .fc-btn:hover {
    background: #376bdc;
    border-color: #376bdc;
    color: #ffffff;
  }
}

.fc-btn:focus-visible,
.fc-switch:focus-visible,
.fc-open:focus-visible,
.fc-text a:focus-visible {
  outline: 3px solid #376bdc;
  outline-offset: 2px;
}

.fc-cats {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.fc-cats[hidden] {
  display: none;
}

.fc-cat {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f3f6ff;
}

.fc-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fc-cat-name {
  font-size: 16px;
  font-weight: 600;
  color: #0f1533;
}

.fc-always {
  font-size: 15px;
  font-weight: 500;
  color: #376bdc;
}

.fc-cat-desc {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: #3d4466;
}

.fc-switch {
  appearance: none;
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c5cbe0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.fc-switch[aria-checked="true"] {
  background: #376bdc;
}

.fc-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 21, 51, 0.25);
  transition: transform 0.2s ease;
}

.fc-switch[aria-checked="true"] .fc-knob {
  transform: translateX(20px);
}

.fc-open {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.legal-links .fc-open {
  position: relative;
  z-index: 1;
  color: #3d4466;
}

.site-footer .fc-open {
  color: var(--ink-soft, #3d4466);
}

.legal-links .fc-open:hover,
.site-footer .fc-open:hover {
  color: #376bdc;
  text-decoration: underline;
}

@media (max-width: 520px) {
  .fc-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 18px 16px;
  }

  .fc-btn {
    padding: 10px 8px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-banner,
  .fc-btn,
  .fc-switch,
  .fc-knob {
    transition: none;
  }

  .fc-banner {
    transform: none;
  }
}

.fc-table-wrap {
  margin: 16px 0;
}

.fc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
  color: #0f1533;
}

.fc-table th,
.fc-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #d6def5;
  text-align: left;
  vertical-align: top;
}

.fc-table th {
  font-weight: 600;
  background: #f3f6ff;
}

.fc-table code {
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .fc-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .fc-table,
  .fc-table tbody,
  .fc-table tr,
  .fc-table td {
    display: block;
    width: 100%;
  }

  .fc-table tr {
    margin: 0 0 12px;
    padding: 6px 14px;
    border-radius: 16px;
    background: #f3f6ff;
  }

  .fc-table td {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #d6def5;
  }

  .fc-table td:last-child {
    border-bottom: 0;
  }

  .fc-table td::before {
    content: attr(data-label);
    font-weight: 600;
  }

  .fc-table code {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
