/* Take Your Time — contrôle de langue autonome, sans collision avec les thèmes du jeu */
.tyt-language-launcher {
  position: fixed; right: 12px; bottom: 12px; z-index: 2147483000;
  width: 43px; height: 43px; border-radius: 50%; border: 2px solid #a5d6cf;
  background: #173f44; color: #fff; cursor: pointer; font-size: 21px;
  box-shadow: 0 3px 14px #0006;
}
.tyt-language-launcher:focus-visible,
.tyt-language-dialog button:focus-visible,
.tyt-language-dialog select:focus-visible { outline: 3px solid #fee6a9; outline-offset: 2px; }
.tyt-language-backdrop[hidden] { display: none !important; }
.tyt-language-backdrop {
  position: fixed; inset: 0; z-index: 2147483001;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .65); padding: 16px;
}
.tyt-language-dialog {
  box-sizing: border-box; width: min(360px, 100%); display: grid; gap: 12px;
  padding: 24px; background: #173f44; border: 2px solid #a5d6cf;
  border-radius: 12px; color: #fff; font: 16px/1.4 system-ui, sans-serif;
}
.tyt-language-dialog h2 { margin: 0 0 8px; color: #fff; font-size: 1.35rem; }
.tyt-language-dialog p { margin: 0; color: #e2f4f1; font-size: .85rem; }
.tyt-language-dialog label { font-weight: 650; }
.tyt-language-dialog select, .tyt-language-dialog button {
  box-sizing: border-box; padding: 11px; width: 100%; min-height: 42px;
  background: #fff; color: #173f44; border: 1px solid #91b7b2; border-radius: 5px;
  font: inherit;
}
.tyt-language-dialog button { cursor: pointer; font-weight: 650; }
