/* Layout und Komponenten kommen von Bootstrap (static/vendor/bootstrap.min.css);
   hier nur Ergänzungen. Kein Inline-Style wegen CSP. */
.app-container {
  max-width: 40rem;
}

.passphrase {
  font-family: ui-monospace, monospace;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  font-weight: bold;
}

.flag {
  display: block;
  border-radius: 2px;
}

/* Ersatz für die von htmx sonst inline eingefügten Indicator-Styles
   (htmx.config.includeIndicatorStyles = false wegen CSP). */
.htmx-indicator {
  opacity: 0;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  opacity: 1;
  transition: opacity 200ms ease-in;
}

/* Bootstrap bettet Icons als data:-URI ein, das verbietet die CSP (img-src 'self').
   Daher Pfeil des Select aus einer statischen Datei. */
.form-select {
  --bs-form-select-bg-img: url("chevron.f5bcc9e39db4.svg");
  background-image: url("chevron.f5bcc9e39db4.svg");
}

/* Tic-Tac-Toe */
.ttt-board {
  display: grid;
  grid-template-columns: repeat(3, 5rem);
  gap: 0.5rem;
}

.ttt-cell {
  height: 5rem;
  font-size: 2rem;
  font-weight: bold;
}
