#privacy-consent-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, .6);
  z-index: 9999;
  font-family: 'IBM Plex Sans KR', sans-serif;
}
#privacy-consent-popup .privacy-consent-overlay { position: absolute; inset: 0; }
#privacy-consent-popup .privacy-consent-content {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 12px;
  background: #fff;
  color: #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}
#privacy-consent-popup .privacy-consent-banner,
#privacy-consent-popup .privacy-consent-settings { padding: 24px; }
#privacy-consent-popup h3 { margin: 0 0 16px; font-size: 23px; line-height: 1.45; color: #222; }
#privacy-consent-popup p { margin: 0 0 20px; font-size: 15px; line-height: 1.65; color: #555; word-break: keep-all; overflow-wrap: anywhere; }
#privacy-consent-popup .privacy-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#privacy-consent-popup button { font-family: inherit; font-size: 15px; line-height: 1.4; cursor: pointer; }
#privacy-consent-popup .privacy-consent-button { padding: 11px 16px; border: 1px solid transparent; border-radius: 8px; font-weight: 600; }
#privacy-consent-popup .privacy-consent-accept-all,
#privacy-consent-popup .privacy-consent-save-prefs { background: #1e5dbb; color: #fff; }
#privacy-consent-popup .privacy-consent-reject-all { background: #f3f4f9; border-color: #dfe4ed; color: #333; }
#privacy-consent-popup .privacy-consent-settings-btn { background: #526174; color: #fff; }
#privacy-consent-popup .privacy-consent-settings-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #dfe4ed; }
#privacy-consent-popup .privacy-consent-settings-header h3 { margin: 0; }
#privacy-consent-popup .privacy-consent-close-btn { flex-shrink: 0; padding: 8px 12px; border: 1px solid #dfe4ed; border-radius: 6px; background: #f3f4f9; color: #333; }
#privacy-consent-popup .privacy-consent-category { display: grid; grid-template-columns: minmax(0, 1fr) 45px; column-gap: 16px; row-gap: 8px; padding: 20px 0; border-bottom: 1px solid #e8ebf1; }
#privacy-consent-popup .privacy-consent-category h4 { grid-column: 1; margin: 0; font-size: 17px; line-height: 1.5; color: #333; }
#privacy-consent-popup .privacy-consent-category p { grid-column: 1; margin: 0; font-size: 14px; }
#privacy-consent-popup .privacy-consent-switch { grid-column: 2; grid-row: 1 / span 2; align-self: start; position: relative; display: block; width: 45px; height: 25px; margin: 0; }
#privacy-consent-popup .privacy-consent-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; z-index: 1; cursor: pointer; }
#privacy-consent-popup .privacy-consent-slider { position: absolute; inset: 0; border-radius: 25px; background: #aab3bf; pointer-events: none; transition: background .2s; }
#privacy-consent-popup .privacy-consent-slider::before { content: ''; position: absolute; width: 19px; height: 19px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: transform .2s; }
#privacy-consent-popup input:checked + .privacy-consent-slider { background: #1e5dbb; }
#privacy-consent-popup input:checked + .privacy-consent-slider::before { transform: translateX(20px); }
#privacy-consent-popup input:focus-visible + .privacy-consent-slider { outline: 3px solid #0d024b; outline-offset: 3px; }
#privacy-consent-popup input:disabled { cursor: not-allowed; }
#privacy-consent-popup input:disabled + .privacy-consent-slider { background: #6d7593; }
#privacy-consent-popup .privacy-consent-settings-footer { padding-top: 20px; text-align: right; }
#privacy-consent-popup button:focus-visible { outline: 3px solid #608ace; outline-offset: 3px; }
@media (max-width: 480px) {
  #privacy-consent-popup .privacy-consent-banner,
  #privacy-consent-popup .privacy-consent-settings { padding: 18px; }
  #privacy-consent-popup h3 { font-size: 20px; }
  #privacy-consent-popup .privacy-consent-actions { flex-direction: column; }
  #privacy-consent-popup .privacy-consent-actions button { width: 100%; }
  #privacy-consent-popup .privacy-consent-category { column-gap: 12px; }
}
