/* 벨로르 선택 동의 — 벨로르 프레임 2/3 폭의 AI 안내 카드 */
.analytics-consent {
  align-items: flex-end;
  justify-content: center;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.analytics-consent-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-areas: "mark copy" "actions actions" "options options";
  align-items: center;
  column-gap: 14px;
  width: min(440px, calc(100% - 24px));
  max-height: min(78vh, 680px);
  padding: 20px 20px 16px;
  border: 1px solid #cbd6d1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15,42,34,.14);
}

.analytics-consent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  width: 42px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: #17352d;
}

.analytics-consent-head {
  grid-area: mark;
  display: block;
  margin: 0;
}

.analytics-consent-head img {
  width: 52px;
  height: 52px;
  border: 1px solid #d5ddd9;
  border-radius: 14px;
  background: #f4f6f5;
}

.analytics-consent-head span { display: none; }
.analytics-consent-copy { grid-area: copy; min-width: 0; }
.analytics-consent-intro { text-align: left; }

.analytics-consent-intro h2 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.28;
  letter-spacing: -.035em;
}

.analytics-consent-intro p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: #66716d;
}

.analytics-consent-intro .analytics-consent-note { display: none; }

.analytics-consent-more {
  display: block;
  margin: 9px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #52665f;
  font: 500 12px/1.4 'Pretendard', sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.analytics-consent-actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0 0;
}

.analytics-consent-actions button {
  order: 0;
  min-height: 44px;
  padding: 0 16px;
  border-color: #cbd6d1;
  border-radius: 11px;
  background: #f5f3ed;
  color: #17352d;
  font-size: 14px;
  font-weight: 750;
}

.analytics-consent-actions button.primary,
.analytics-consent-actions button.save {
  grid-column: auto;
  border-color: #17352d;
  background: #17352d;
  color: #fff;
}

.analytics-consent-actions button.save { grid-column: 1 / -1; }
.analytics-consent-options { grid-area: options; margin: 20px 0 0; }
.analytics-consent.is-customizing .analytics-consent-card {
  align-items: start;
  width: min(560px, calc(100% - 24px));
}

@media (max-width: 699px) {
  .analytics-consent { padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); }
  .analytics-consent-card {
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-areas: "mark copy" "actions actions" "options options";
    column-gap: 12px;
    width: min(440px, calc(100% - 20px));
    padding: 16px 16px 14px;
    border-radius: 18px;
  }
  .analytics-consent-head img { width: 48px; height: 48px; border-radius: 12px; }
  .analytics-consent-intro h2 { margin-bottom: 5px; font-size: 17px; }
  .analytics-consent-intro p { font-size: 12px; line-height: 1.55; }
  .analytics-consent-more { margin: 8px 0 0; text-align: left; }
  .analytics-consent-actions { margin-top: 14px; }
  .analytics-consent-actions button { min-height: 48px; border-radius: 12px; font-size: 15px; }
}
