.pkd-consent[hidden], .pkd-consent [hidden], .pkd-consent__reopen[hidden] { display: none !important; }
.pkd-consent { position: fixed; z-index: 99990; inset: auto 12px calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: center; pointer-events: none; }
.pkd-consent__card { box-sizing: border-box; display: flex; flex-direction: column; width: min(100%, 680px); max-height: calc(100dvh - 24px - env(safe-area-inset-bottom, 0px)); overflow: auto; pointer-events: auto; background: #fff; color: #173146; border: 1px solid #c8d9d0; border-top: 4px solid #0b6346; border-radius: 16px; padding: 12px 16px 10px; box-shadow: 0 12px 36px rgba(5, 27, 37, .22); font: 400 14px/1.42 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.pkd-consent__heading { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.pkd-consent__heading h2 { margin: 0 0 5px; font: 750 clamp(17px, 2.4vw, 21px)/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #113d33; }
.pkd-consent__card p { margin: 0 0 7px; }
.pkd-consent__card a { color: #075e48; text-decoration: underline; text-underline-offset: 2px; font-weight: 650; }
.pkd-consent__details { flex: 1 1 auto; min-height: 0; max-height: min(42dvh, 320px); margin: 8px 0 0; border: 1px solid #d6e4dd; border-radius: 10px; overflow-y: auto; overscroll-behavior: contain; }
.pkd-consent__essential, .pkd-consent__option { box-sizing: border-box; display: flex; gap: 12px; align-items: center; justify-content: space-between; margin: 0 !important; padding: 9px 11px; border-bottom: 1px solid #e5eee9; }
.pkd-consent__option:last-child { border-bottom: 0; }
.pkd-consent__essential { background: #f1f8f3; }
.pkd-consent__essential span, .pkd-consent__option small { display: block; color: #405b60; font-size: 12px; line-height: 1.3; }
.pkd-consent__option strong, .pkd-consent__essential strong { display: block; font-size: 14px; color: #173146; }
.pkd-consent__option input { flex: none; width: 22px; height: 22px; accent-color: #0d6648; cursor: pointer; }
.pkd-consent__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; flex: 0 0 auto; margin-top: 9px; }
.pkd-consent__button { box-sizing: border-box; min-width: 0; min-height: 44px; padding: 8px 10px; border: 2px solid #0b6346; border-radius: 9px; background: #fff; color: #0b6346; font: 700 13px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; }
.pkd-consent__button--customize { grid-column: 1 / -1; }
.pkd-consent__button--save { background: #0b6346; color: #fff; }
.pkd-consent--expanded .pkd-consent__button--customize { grid-column: auto; }
.pkd-consent__button:hover { background: #e8f4eb; }
.pkd-consent__button--save:hover { background: #084f38; }
.pkd-consent__button:disabled { opacity: .7; cursor: wait; }
.pkd-consent__button:focus-visible, .pkd-consent__close:focus-visible, .pkd-consent__later:focus-visible, .pkd-consent__reopen:focus-visible, .pkd-consent__option input:focus-visible { outline: 3px solid #e9ad13; outline-offset: 2px; }
.pkd-consent__close { flex: none; width: 36px; height: 36px; border: 1px solid #bdd4c8; border-radius: 8px; background: #fff; color: #173146; font-size: 24px; line-height: 1; cursor: pointer; }
.pkd-consent__later { flex: none; min-height: 32px; padding: 3px 2px; border: 0; background: transparent; color: #365563; text-decoration: underline; text-underline-offset: 2px; font: 650 12px/1.3 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; }
.pkd-consent__status { margin: 5px 0 0 !important; color: #8b301b; font-size: 12px; }
.pkd-consent__status:empty { display: none; }
.pkd-consent__form-warning { margin: 8px 0 0 !important; padding: 7px 9px; border: 1px solid #e4c56f; border-radius: 8px; background: #fff8e7; color: #6b3f05; font: 600 12px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.pkd-consent__form-warning[hidden] { display: none !important; }
.pkd-consent__reopen { position: fixed; z-index: 99980; left: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); min-height: 40px; padding: 7px 10px; border: 1px solid #0b6346; border-radius: 999px; background: #fff; color: #0b6346; box-shadow: 0 3px 12px rgba(5, 27, 37, .15); font: 700 12px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; }
.pkd-consent:not([hidden]) ~ .pkd-consent__reopen { display: none; }
.pkd-consent__noscript { position: fixed; z-index: 99990; inset: auto 12px 12px; max-width: 640px; margin: 0; padding: 16px; border: 1px solid #c8d9d0; border-radius: 12px; background: #fff; color: #173146; box-shadow: 0 16px 48px rgba(5, 27, 37, .28); font: 400 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.pkd-consent__noscript a { color: #075e48; text-decoration: underline; }
.pkd-consent__embed-host { position: relative; }
.pkd-consent__embed-placeholder { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; background: #eef5f1; color: #173146; }
.pkd-consent__embed-placeholder[hidden] { display: none !important; }
.pkd-consent__embed-placeholder p { margin: 0; font: 600 15px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.pkd-consent__embed-placeholder button { min-height: 44px; padding: 9px 14px; border: 2px solid #0b6346; border-radius: 9px; background: #fff; color: #0b6346; font: 700 14px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; }
.pkd-consent__embed-placeholder button:focus-visible { outline: 3px solid #e9ad13; outline-offset: 2px; }
.pkd-consent-tiktok { width: min(100%, 605px); margin: 1rem auto; }
.pkd-consent-tiktok__player { position: relative; width: 100%; aspect-ratio: 9 / 16; max-height: 720px; overflow: hidden; border: 1px solid #c8d9d0; border-radius: 12px; background: #eef5f1; }
.pkd-consent-tiktok__player iframe { display: block; width: 100%; height: 100%; border: 0; }
.pkd-consent-tiktok > p { margin: .5rem 0 0; font-size: .9rem; }
@media (max-width: 520px) {
  .pkd-consent { inset: auto 8px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .pkd-consent__card { max-height: calc(100dvh - 16px - env(safe-area-inset-bottom, 0px)); padding: 10px 12px 8px; font-size: 13px; }
  .pkd-consent__details { max-height: min(38dvh, 240px); }
  .pkd-consent__button { padding: 7px 5px; }
  .pkd-consent__reopen { left: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
}
