/* ──────────────────────────────────────────────────────────────
   Consent banner. Standalone on purpose: the legal pages do not load
   kansei.css, so this cannot depend on the design tokens.
   ────────────────────────────────────────────────────────────── */
.consent-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 300;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #E2E5EA;
  border-top: 4px solid #0E6E68;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.16);
  font-family: 'Assistant', -apple-system, 'Segoe UI', Arial, sans-serif;
}

.consent-text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
}
.consent-text a { color: #0E6E68; font-weight: 700; text-decoration: underline; }

.consent-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.consent-btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 11px 22px;
  min-height: 48px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 240ms cubic-bezier(0.2, 0, 0, 1), color 240ms cubic-bezier(0.2, 0, 0, 1);
}
.consent-btn--solid {
  background: #0E6E68;
  color: #FFFFFF;
  border: 1.5px solid #0E6E68;
}
.consent-btn--solid:hover { background: #0A5853; border-color: #0A5853; }

.consent-btn--ghost {
  background: transparent;
  color: #0E6E68;
  border: 1.5px solid #0E6E68;
}
.consent-btn--ghost:hover { background: #D4E8E6; }

.consent-btn:focus-visible {
  outline: 3px solid #0E6E68;
  outline-offset: 3px;
}

@media (max-width: 560px) {
  /* Compact bottom sheet on phones so the page's own buttons stay usable */
  .consent-bar { left: 0; right: 0; bottom: 0; border-radius: 14px 14px 0 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); gap: 10px; }
  .consent-text { font-size: 15px; line-height: 1.5; flex-basis: 100%; }
  .consent-actions { width: 100%; }
  .consent-btn { flex: 1 1 auto; min-height: 48px; padding-block: 8px; font-size: 17px; }
}

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