.hpc {
  --hpc-bg: #ffffff;
  --hpc-text: #000000;
  --hpc-muted: rgba(0, 0, 0, 0.72);
  --hpc-accent: rgb(255, 138, 67);
  --hpc-btn-primary: rgb(255, 138, 67);
  --hpc-btn-primary-text: #ffffff;
  --hpc-btn-secondary: #ffffff;
  --hpc-btn-secondary-text: #000000;
  --hpc-bar-bg: #ffffff;
  --hpc-bar-text: #000000;
  --hpc-bar-muted: rgba(0, 0, 0, 0.72);
  --hpc-radius: 10px;
  --hpc-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  --hpc-font-base: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --hpc-font-ui: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.hpc {
  font-family: var(--hpc-font-base);
}

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

.hpc__bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  background: var(--hpc-bar-bg);
  color: var(--hpc-bar-text);
  box-shadow: var(--hpc-shadow);
}

.hpc__bar :where(p, span, a, button, label, div) {
  color: var(--hpc-bar-text) !important;
}

.hpc__bar .hpc__btn--primary {
  color: var(--hpc-btn-primary-text) !important;
}

.hpc__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.hpc__brand {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.hpc__logo {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.hpc__logoImg {
  display: block;
  height: 34px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
}

.hpc__copy {
  min-width: 0;
}

.hpc__title {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 4px 0;
}

.hpc__desc {
  font-size: 13px;
  margin: 0;
  color: var(--hpc-bar-muted);
  line-height: 1.35;
}

.hpc__details {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
  font-size: 14px;
  color: var(--hpc-bar-text);
  text-decoration: none;
  opacity: 0.9;
}

.hpc__details:hover {
  opacity: 1;
  text-decoration: underline;
}

.hpc__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  justify-content: center;
}

.hpc__btn {
  border: 0;
  border-radius: 8px;
  padding: 11px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.06s ease, filter 0.2s ease;
  white-space: nowrap;
}

.hpc__btn:active {
  transform: translateY(1px);
}

.hpc__btn--primary {
  background: var(--hpc-btn-primary);
  color: var(--hpc-btn-primary-text);
}

.hpc__btn--primary:hover,
.hpc__btn--primary:active,
.hpc__btn--primary:focus,
.hpc__btn--primary:focus-visible {
  color: var(--hpc-btn-primary-text) !important;
}

.hpc__btn--secondary {
  background: var(--hpc-btn-secondary);
  color: var(--hpc-btn-secondary-text);
}

.hpc__btn--secondary:hover,
.hpc__btn--secondary:active,
.hpc__btn--secondary:focus,
.hpc__btn--secondary:focus-visible {
  background: #000000 !important;
  color: #ffffff !important;
}

.hpc__btn:hover {
  filter: brightness(0.96);
}

.hpc__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000000;
  display: none;
}

.hpc__modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  background: #ffffff;
  color: #000000;
  border-radius: var(--hpc-radius);
  box-shadow: var(--hpc-shadow);
  z-index: 1000001;
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.hpc__modal {
  background: #ffffff !important;
  color: #000000 !important;
}

.hpc__modal :where(p, h1, h2, h3, h4, h5, h6, span, a, label, li, ul, ol, strong, em, small, div) {
  color: #000000 !important;
}

.hpc__modal .hpc__btn--primary {
  color: #ffffff !important;
}

.hpc__modal .hpc__btn--secondary,
.hpc__modal .hpc__iconBtn {
  color: #000000 !important;
}

.hpc__modal .hpc__btn--secondary:hover,
.hpc__modal .hpc__btn--secondary:active,
.hpc__modal .hpc__btn--secondary:focus,
.hpc__modal .hpc__btn--secondary:focus-visible {
  background: #000000 !important;
  color: #ffffff !important;
}

.hpc__modalHeader {
  padding: 18px 18px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hpc__modalTitle {
  margin: 0;
  font-size: 16px;
  font-family: var(--hpc-font-ui);
  font-weight: 500;
}

.hpc__iconBtn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--hpc-font-ui);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 8px;
}

.hpc__iconBtn:hover {
  background: #000000;
  color: #ffffff !important;
}

.hpc__iconBtn:active,
.hpc__iconBtn:focus,
.hpc__iconBtn:focus-visible {
  background: #000000;
  color: #ffffff !important;
  outline: none;
}

.hpc__modalBody {
  padding: 0 18px 18px 18px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.hpc__tabs {
  display: flex;
  gap: 8px;
  padding: 10px 18px 0 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  margin: 0 -18px 10px -18px;
}

.hpc__tab {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px 10px;
  font-family: var(--hpc-font-ui);
  font-weight: 500;
  font-size: 15px;
  border-radius: 10px 10px 0 0;
  color: rgba(0, 0, 0, 0.65);
}

.hpc__tab:hover {
  background: #000000;
  color: #ffffff !important;
}

.hpc__tab:focus,
.hpc__tab:focus-visible {
  background: #000000;
  color: #ffffff !important;
  outline: none;
}

.hpc__tab--active {
  color: #000000;
  background: rgba(0, 0, 0, 0.04);
  box-shadow: inset 0 -2px 0 var(--hpc-accent);
}

.hpc__tabPanel {
  display: none;
}

.hpc__tabPanel--active {
  display: block;
}

.hpc__consentActions {
  display: grid;
  gap: 10px;
  padding: 10px 0 4px 0;
}

.hpc__consentText {
  padding: 10px 0 2px 0;
}

.hpc__consentTitle {
  margin: 0 0 6px 0;
  font-family: var(--hpc-font-ui);
  font-weight: 500;
  font-size: 16px;
  color: #000000;
}

.hpc__consentDesc {
  margin: 0;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.78);
  line-height: 1.45;
}

.hpc__aboutTitle {
  font-family: var(--hpc-font-ui);
  font-weight: 500;
  margin: 8px 0 10px 0;
  font-size: 16px;
}

.hpc__aboutBody {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.78);
  line-height: 1.45;
}

.hpc__aboutBody a {
  color: var(--hpc-accent);
  font-family: var(--hpc-font-ui);
  font-weight: 500;
  text-decoration: underline;
}

.hpc__list {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.hpc__item {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 12px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
}

.hpc__itemTitle {
  font-family: var(--hpc-font-ui);
  font-weight: 500;
  margin: 0 0 4px 0;
  font-size: 16px;
}

.hpc__itemDesc {
  margin: 0;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.78);
  line-height: 1.35;
}

.hpc__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hpc__switch {
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease;
  flex: 0 0 auto;
}

.hpc__switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.hpc__toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hpc__toggle input:checked + .hpc__switch {
  background: var(--hpc-accent);
}

.hpc__toggle input:checked + .hpc__switch::after {
  transform: translateX(18px);
}

.hpc__toggleLabel {
  font-size: 14px;
  font-family: var(--hpc-font-ui);
  font-weight: 500;
  color: rgba(0, 0, 0, 0.78);
}

.hpc__btn--secondary {
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.hpc__bar .hpc__btn {
  width: 100%;
  min-width: 190px;
}

.hpc__footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 14px;
}

.hpc__footer .hpc__btn {
  padding: 11px 16px;
}

.hpc__hidden {
  display: none !important;
}

@media (max-width: 780px) {
  .hpc__container {
    grid-template-columns: 1fr;
  }

  .hpc__actions {
    justify-content: stretch;
  }

  .hpc__btn {
    width: 100%;
  }
}

