/* ── Browser-language suggestion card ── */
.lcdc-lang-suggest {
  position: fixed;
  left: 50%;
  bottom: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 14px);
  z-index: 250;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  padding: 14px 14px 14px 16px;
  background: #FBF8F2;
  color: #38322A;
  border: 1px solid rgba(56,50,42,0.12);
  box-shadow: 0 10px 34px rgba(56,50,42,0.18);
  border-radius: 3px;
  font-family: 'DM Sans', sans-serif;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0s linear 0.32s;
}
.lcdc-lang-suggest--visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.lcdc-lang-suggest--hidden-footer {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
@media (prefers-reduced-motion: reduce) {
  .lcdc-lang-suggest,
  .lcdc-lang-suggest--visible {
    transition: opacity 0.01ms linear;
    transform: translate(-50%, 0);
  }
}

.lcdc-lang-suggest-icon {
  flex-shrink: 0;
  color: #AD9162;
}

.lcdc-lang-suggest-text {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.lcdc-lang-suggest-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 4px;
}

.lcdc-lang-suggest-action {
  background: #38322A;
  color: #FBF8F2;
  border: none;
  padding: 9px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}
.lcdc-lang-suggest-action:hover {
  opacity: 0.82;
}

.lcdc-lang-suggest-close {
  background: none;
  border: none;
  color: rgba(56,50,42,0.5);
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
}
.lcdc-lang-suggest-close:hover {
  color: #38322A;
  background: rgba(56,50,42,0.06);
}

.lcdc-lang-suggest-action:focus-visible,
.lcdc-lang-suggest-close:focus-visible {
  outline: 2px solid #AD9162;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .lcdc-lang-suggest {
    left: 16px;
    right: 16px;
    bottom: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    transform: translateY(14px);
    max-width: none;
    flex-wrap: wrap;
  }
  .lcdc-lang-suggest--visible { transform: translateY(0); }
  .lcdc-lang-suggest-text {
    white-space: normal;
    flex: 1 1 auto;
    min-width: 0;
  }
  .lcdc-lang-suggest-actions { margin-left: auto; }
}
