/* Word Safari's landing consent banner (landing/consent.js). Its own file,
   not appended to styles.css, so this addition never collides with that
   file's own concurrent edits — see this file's own small footprint below.
   Reuses the SAME brand tokens styles.css defines (--bg/--ink/--accent/...);
   loaded after styles.css in index.html so those variables are already
   in scope. Small, bottom, unobtrusive, one sentence + two buttons. */

.ws-consent-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: min(560px, calc(100vw - 24px));
  padding: 14px 18px;
  background: var(--card, #fff);
  color: var(--ink, #2b2622);
  border: 1px solid var(--line, #f0e2c8);
  border-radius: var(--radius, 20px);
  box-shadow: var(--shadow, 0 14px 40px rgba(120, 78, 20, 0.1));
  font-family: var(--font-body, system-ui, sans-serif);
}

.ws-consent-text {
  flex: 1 1 260px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--ink-soft, #736b62);
}

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

.ws-consent-btn {
  border: none;
  border-radius: var(--radius-pill, 999px);
  padding: 8px 16px;
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.ws-consent-btn-ghost {
  background: transparent;
  color: var(--ink-soft, #736b62);
}

.ws-consent-btn-ghost:hover {
  color: var(--ink, #2b2622);
}

.ws-consent-btn-primary {
  background: var(--accent, #e8971e);
  color: #fff;
}

.ws-consent-btn-primary:hover {
  background: var(--accent-deep, #c5801a);
}

@media (max-width: 480px) {
  .ws-consent-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    transform: none;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
  }

  .ws-consent-text {
    flex: 0 0 auto;
  }

  .ws-consent-actions {
    justify-content: flex-end;
  }
}
