/* ============================================================
   PNPLINE Korea — Cookie / analytics consent (full-width bottom bar)
   Pairs with assets/consent.js + Google Consent Mode v2
   Low-key, translucent + blur — matches the scrolled nav treatment.
   ============================================================ */

/* No dim backdrop — the bar is non-blocking. Kept for JS compatibility. */
.consent-backdrop {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 9998;
  pointer-events: none;
}

.consent-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  transform: translateY(110%);
  background: rgba(255, 255, 255, .80);
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  border-top: 1px solid var(--line, #E2EAF3);
  box-shadow: 0 -8px 30px rgba(7, 16, 31, .07);
  z-index: 9999;
  transition: transform .42s cubic-bezier(.16, .84, .34, 1);
  font-family: var(--font, system-ui, sans-serif);
}
.consent-sheet.is-open { transform: translateY(0); }

/* inner row: copy on the left, actions on the right */
.consent-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.consent-handle { display: none; }

.consent-head {
  display: none; /* compact bar — title folds into the body text */
}

.consent-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--mist-2, #E9F1FA);
  color: var(--brand-500, #2E86E0);
}
.consent-icon svg { width: 21px; height: 21px; }

.consent-body {
  flex: 1 1 auto;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-2, #4D5F78);
  word-break: keep-all;
  text-wrap: pretty;
}
.consent-body strong {
  color: var(--text, #0E1D33);
  font-weight: 700;
}
.consent-body a {
  color: var(--brand-600, #2272C2);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-actions {
  flex: none;
  display: flex;
  gap: 9px;
}
.consent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  border-radius: 10px;
  padding: 10px 20px;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), background .2s, color .2s, border-color .2s;
}
.consent-btn-accept {
  background: var(--brand-500, #2E86E0);
  color: #fff;
}
.consent-btn-accept:hover { transform: translateY(-1px); background: var(--brand-600, #2272C2); }
.consent-btn-decline {
  background: transparent;
  color: var(--text-2, #4D5F78);
  border: 1px solid var(--line-2, #D2DEEC);
}
.consent-btn-decline:hover { color: var(--text, #0E1D33); border-color: var(--text-3, #8696AD); }

@media (max-width: 680px) {
  .consent-inner {
    flex-wrap: wrap;
    padding: 14px 18px 16px;
    gap: 12px 14px;
  }
  .consent-icon { width: 34px; height: 34px; }
  .consent-body { flex: 1 1 200px; font-size: 13px; }
  .consent-actions {
    flex: 1 1 100%;
    justify-content: stretch;
  }
  .consent-btn { flex: 1 1 0; padding: 12px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .consent-sheet { transition: none; }
}
