/* 동의 전체보기 모달 */
.consent-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9000;
  align-items: flex-end;
  justify-content: center;
}
.consent-modal-overlay.show { display: flex; }
.consent-modal {
  background: #fff;
  width: 100%;
  max-width: 600px;
  max-height: 92vh;
  border-radius: 22px 22px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.25s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.consent-modal-header {
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.consent-modal-title {
  font-size: 16px;
  font-weight: 800;
  color: #5B1530;
}
.consent-modal-close {
  background: none;
  border: none;
  font-size: 26px;
  color: #999;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  font-family: inherit;
}
.consent-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px 24px;
  -webkit-overflow-scrolling: touch;
}
.consent-modal-body h3 {
  font-size: 14px;
  font-weight: 800;
  color: #E8366A;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #ffd0dc;
}
.consent-modal-body p {
  font-size: 12.5px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 10px;
}
.consent-modal-body p.warn {
  background: #fff8fa;
  padding: 9px 12px;
  border-left: 3px solid #E8366A;
  border-radius: 4px;
  color: #5B1530;
  font-size: 12px;
}
.consent-modal-body ul {
  padding-left: 18px;
  margin-bottom: 10px;
}
.consent-modal-body li {
  font-size: 12.5px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 4px;
}
.consent-modal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 4px;
  font-size: 11.5px;
}
.consent-modal-body th,
.consent-modal-body td {
  border: 1px solid #e8e8e8;
  padding: 7px 8px;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
  color: #333;
}
.consent-modal-body th {
  background: #fff5f9;
  color: #5B1530;
  font-weight: 700;
  font-size: 11.5px;
}
.consent-modal-footer {
  padding: 12px 20px max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid #f0f0f0;
  background: #fff;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.consent-modal-footer button {
  flex: 1;
  height: 48px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  border: none;
}
.consent-modal-close-btn {
  background: #f0f0f0;
  color: #555;
}
.consent-modal-agree-btn {
  background: #E8366A;
  color: #fff;
}
.consent-modal-agree-btn:active { background: #cc2457; }
