/* Beta-only extras — keeps experiments out of the main site */

.whisper-meta-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.whisper-meta-switch__label {
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  user-select: none;
}

.whisper-meta-switch:has(.whisper-meta-switch__control[aria-checked="true"]) .whisper-meta-switch__label {
  color: var(--accent-soft);
}

.whisper-meta-switch__control {
  appearance: none;
  position: relative;
  width: 2.85rem;
  height: 1.55rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-soft);
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.whisper-meta-switch__thumb {
  position: absolute;
  top: 50%;
  left: 0.18rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--ink-muted);
  transform: translateY(-50%);
  transition:
    left 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.whisper-meta-switch__control[aria-checked="true"] {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.whisper-meta-switch__control[aria-checked="true"] .whisper-meta-switch__thumb {
  left: calc(100% - 1.33rem);
  background: var(--accent-soft);
}

.whisper-meta-switch__control:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.whisper-format {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.whisper-format__btn {
  appearance: none;
  box-sizing: border-box;
  width: 3.35rem;
  min-height: 2.25rem;
  margin: 0;
  padding: 0.35rem 0.35rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-align: center;
  cursor: pointer;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.whisper-format__btn:hover {
  color: var(--ink);
  border-color: var(--ink-muted);
}

.whisper-format__btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.whisper-format__btn[aria-pressed="true"] {
  color: var(--accent-soft);
  border-color: var(--accent);
  background: var(--accent-dim);
}

.whisper-format__btn--custom {
  width: auto;
  min-width: 3.8rem;
  padding-inline: 0.55rem;
}

.whisper-custom {
  display: none;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.55rem 0.85rem;
  flex-shrink: 0;
}

.whisper-custom.is-open {
  display: flex;
}

.whisper-custom__pair {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.45rem 0.5rem;
}

.whisper-custom__field {
  display: inline-flex;
  flex-direction: column;
  gap: 0.28rem;
  margin: 0;
}

.whisper-custom__label {
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.whisper-custom__box {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 2.25rem;
  padding: 0 0.55rem 0 0.35rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  transition:
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.whisper-custom__box:hover {
  border-color: var(--ink-muted);
}

.whisper-custom__field:focus-within .whisper-custom__box {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.whisper-custom__field:focus-within .whisper-custom__label {
  color: var(--accent-soft);
}

.whisper-custom__field:focus-within .whisper-custom__unit {
  color: var(--accent-soft);
}

.whisper-custom__input {
  appearance: textfield;
  box-sizing: border-box;
  width: 3.6rem;
  min-height: 2.1rem;
  margin: 0;
  padding: 0.2rem 0.15rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-align: center;
  transition: color 0.25s var(--ease);
}

.whisper-custom__input:hover,
.whisper-custom__field:focus-within .whisper-custom__input {
  color: var(--ink);
}

.whisper-custom__field:focus-within .whisper-custom__input {
  color: var(--accent-soft);
}

.whisper-custom__input:focus {
  outline: none;
}

.whisper-custom__input:focus-visible {
  outline: none;
}

.whisper-custom__box:has(.whisper-custom__input:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.whisper-custom__input::-webkit-outer-spin-button,
.whisper-custom__input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.whisper-custom__unit {
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  user-select: none;
}

.whisper-custom__times {
  align-self: flex-end;
  padding-bottom: 0.4rem;
  color: var(--ink-faint);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
}

.whisper-custom__hint {
  margin: 0;
  align-self: flex-end;
  padding-bottom: 0.5rem;
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.soft-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.soft-btn:hover,
.soft-btn:focus-visible {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--accent-dim);
}

.soft-btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.soft-btn.is-active {
  color: var(--accent-soft);
  border-color: var(--accent);
  background: var(--accent-dim);
}

.heart-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.heart-btn svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.heart-btn:hover,
.heart-btn:focus-visible {
  color: var(--accent-soft);
  border-color: var(--accent);
  background: var(--accent-dim);
}

.heart-btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.heart-btn.is-active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}

.heart-btn.is-active svg {
  fill: currentColor;
  stroke: currentColor;
}

.copy-share-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.copy-share-btn svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.copy-share-btn:hover,
.copy-share-btn:focus-visible,
.copy-share-btn.is-active {
  color: var(--accent-soft);
  border-color: var(--accent);
  background: var(--accent-dim);
}

.copy-share-btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.phrase-actions .speak-btn,
.phrase-actions .heart-btn,
.phrase-actions .copy-share-btn {
  width: 2rem;
  height: 2rem;
}

.emotion-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 0.85rem;
  margin: 0 0 var(--space-sm);
}

.emotion-title-row .emotion-title {
  margin: 0;
}

.saved-open {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.saved-open svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.saved-open:hover,
.saved-open:focus-visible,
.saved-open[aria-expanded="true"] {
  color: var(--accent-soft);
  border-color: var(--accent);
  background: var(--bg-soft);
}

.saved-open:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.saved-count {
  min-width: 1.15rem;
  padding: 0.05rem 0.3rem;
  border-radius: var(--radius);
  background: var(--accent-dim);
  color: var(--accent-soft);
  font-size: 0.68rem;
  letter-spacing: 0;
  text-align: center;
}

.saved-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

.saved-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.saved-drawer {
  position: fixed;
  z-index: 75;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(78vh, 36rem);
  display: flex;
  flex-direction: column;
  padding: 1rem 1.15rem 1.25rem;
  border-top: 1px solid var(--line-strong);
  border-radius: 1rem 1rem 0 0;
  background: var(--bg-elevated);
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.45);
  transform: translateY(110%);
  transition: transform 0.28s var(--ease);
}

.saved-drawer.is-open {
  transform: translateY(0);
}

.saved-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.saved-drawer__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--ink);
}

.saved-drawer__close {
  appearance: none;
  min-height: 2.25rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
}

.saved-drawer__close:hover,
.saved-drawer__close:focus-visible {
  color: var(--ink);
  border-color: var(--accent);
}

.saved-drawer__close:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.saved-empty {
  margin: 0.5rem 0 0;
  color: var(--ink-faint);
  font-style: italic;
}

.saved-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.saved-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.saved-item__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.saved-item__whisper {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.saved-item__whisper svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.saved-item__whisper:hover,
.saved-item__whisper:focus-visible,
.saved-item__whisper.is-active {
  color: var(--accent-soft);
  border-color: var(--accent);
  background: var(--accent-dim);
}

.saved-item__whisper:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.saved-item__whisper:disabled {
  opacity: 0.5;
  cursor: wait;
}

.saved-item__link {
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.saved-item__link:hover .saved-item__text,
.saved-item__link:focus-visible .saved-item__text {
  color: var(--accent-soft);
}

.saved-item__link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.saved-item__text {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--ink);
}

.saved-item__meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--ink-faint);
}

.saved-item__remove {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.saved-item__remove svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.2;
}

.saved-item__remove:hover,
.saved-item__remove:focus-visible {
  background: var(--accent-dim);
  border-color: var(--accent);
}

.saved-item__remove:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .saved-drawer {
    left: auto;
    right: clamp(0.85rem, 3vw, 1.5rem);
    bottom: clamp(4.5rem, 10vh, 6rem);
    width: min(24rem, calc(100vw - 2rem));
    max-height: min(70vh, 32rem);
    border: 1px solid var(--line-strong);
    border-radius: 0.85rem;
    transform: translateY(1rem);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.28s var(--ease),
      opacity 0.28s var(--ease),
      visibility 0.28s var(--ease);
  }

  .saved-drawer.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

.whisper-preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

.whisper-preview-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.whisper-preview {
  position: fixed;
  z-index: 85;
  left: 50%;
  top: 50%;
  width: min(34rem, calc(100vw - 1.5rem));
  height: min(88vh, 42rem);
  max-height: min(88vh, 42rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.9rem;
  background: var(--bg-elevated);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -46%);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.28s var(--ease),
    opacity 0.28s var(--ease),
    visibility 0.28s var(--ease);
  overflow: hidden;
}

.whisper-preview.is-open {
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
}

.whisper-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
}

.whisper-preview__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink);
}

.whisper-preview__close {
  appearance: none;
  min-height: 2.25rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
}

.whisper-preview__close:hover,
.whisper-preview__close:focus-visible {
  color: var(--ink);
  border-color: var(--accent);
}

.whisper-preview__close:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.whisper-preview__frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a0908;
  overflow: hidden;
}

.whisper-preview__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 720px) {
  .whisper-preview {
    width: min(44rem, calc(100vw - 2.5rem));
    height: min(86vh, 48rem);
    max-height: min(86vh, 48rem);
    gap: 1rem;
    padding: 1.15rem 1.35rem 1.3rem;
  }

  .whisper-preview__frame {
    padding: 0.85rem;
  }
}

.whisper-preview__status {
  position: absolute;
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.85rem;
  font-style: italic;
}

.whisper-preview__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
}

.whisper-preview__actions {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}

.whisper-preview__download {
  appearance: none;
  min-height: 2.5rem;
  padding: 0 1.1rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent-dim);
  color: var(--accent-soft);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.whisper-preview__download:hover,
.whisper-preview__download:focus-visible {
  color: var(--ink);
  background: rgba(212, 135, 106, 0.28);
}

.whisper-preview__download:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.whisper-preview__download:disabled {
  opacity: 0.55;
  cursor: wait;
}

.cookie-manage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 0.85rem;
  margin: 0 0 var(--space-sm);
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cookie-manage__status {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cookie-manage__label {
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cookie-manage__value {
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
}

.cookie-manage__btn {
  appearance: none;
  min-height: 2.25rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--accent-soft);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.cookie-manage__btn:hover,
.cookie-manage__btn:focus-visible {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--accent-dim);
}

.cookie-manage__btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.cookie-banner {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: min(34rem, calc(100vw - 1.5rem));
  transform: translate(-50%, 0.75rem);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.28s var(--ease),
    opacity 0.28s var(--ease),
    visibility 0.28s var(--ease);
}

.cookie-banner.is-open {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  background: var(--bg-elevated);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.cookie-banner__copy {
  flex: 1 1 14rem;
  min-width: 0;
}

.cookie-banner__title {
  margin: 0 0 0.3rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.cookie-banner__text {
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.45;
}

.cookie-banner__link {
  color: var(--accent-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.cookie-banner__link:hover,
.cookie-banner__link:focus-visible {
  border-bottom-color: var(--accent-soft);
}

.cookie-banner__link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.cookie-banner__decline,
.cookie-banner__accept {
  appearance: none;
  min-height: 2.5rem;
  padding: 0 1.05rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.cookie-banner__decline {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-muted);
}

.cookie-banner__decline:hover,
.cookie-banner__decline:focus-visible {
  color: var(--ink);
  border-color: var(--ink-muted);
}

.cookie-banner__accept {
  border: 1px solid var(--accent);
  background: var(--accent-dim);
  color: var(--accent-soft);
}

.cookie-banner__accept:hover,
.cookie-banner__accept:focus-visible {
  color: var(--ink);
  background: rgba(212, 135, 106, 0.28);
}

.cookie-banner__decline:focus-visible,
.cookie-banner__accept:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .cookie-banner {
    width: min(40rem, calc(100vw - 2.5rem));
    bottom: max(1.25rem, env(safe-area-inset-bottom));
  }
}
