:root {
  --text-min: 16px;
  --tap-min: 44px;
  --focus: #7eb6ff;
}

html, body {
  overflow-x: hidden;
  font-size: var(--text-min);
}

.lang-toggle {
  display: inline-flex;
  gap: 4px;
  background: #1a222c;
  border-radius: 8px;
  padding: 3px;
  margin-top: 8px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #9ab;
  font-weight: 700;
  font-size: var(--text-min);
  min-height: var(--tap-min);
  min-width: var(--tap-min);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.lang-btn.on {
  background: #334;
  color: #fff;
}

.fm-btn, .lang-btn, .fm-link {
  min-height: var(--tap-min);
}

.fm-btn:focus-visible,
.lang-btn:focus-visible,
.fm-link:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.fm-search {
  width: 100%;
  min-height: var(--tap-min);
  font-size: var(--text-min);
  padding: 10px 12px;
  margin: 8px 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  background: #0a1018;
  color: #e9edf5;
  box-sizing: border-box;
}

.fm-tag {
  display: inline-block;
  border: 1px solid rgba(212,175,55,.4);
  color: #d4af37;
  border-radius: 999px;
  padding: 4px 12px;
  margin: 0 0 12px;
  font-size: var(--text-min);
}

.fm-status {
  min-height: 1.2em;
  color: #9ab;
  font-size: var(--text-min);
  margin: 8px 0;
}

.fm-adv {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #333;
}

.yiq-copy-2026 {
  margin: 0 auto 24px;
  padding: 10px 14px;
  max-width: 720px;
  text-align: center;
  font-size: 16px;
  opacity: 0.75;
}

.fm-cov {
  max-width: 96px;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
