/* The placement screen (ui/placement.js). Everything is right to left. */
.pl-body { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 2rem 1rem; }
.pl-card { display: flex; align-items: flex-end; gap: 1.6rem; width: min(46rem, 94%); padding: 1.2rem 2rem 1.4rem; }
.pl-ahmed { flex: 0 0 auto; height: 14rem; width: auto; filter: drop-shadow(0 6px 0 rgba(59, 30, 84, 0.2)); }
.pl-ahmed[hidden] { display: none; }
.pl-words { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 0.7rem; text-align: center; }
.pl-actions { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.pl-where { font-size: 1.5rem; font-weight: 800; line-height: 1.5; }
.pl-lesson { display: block; font-family: var(--font-text); font-size: 1.9rem; color: var(--orchid-deep); }
.pl-error { padding: 2rem; text-align: center; }

/* during the questions: no banner, a thin status line, the question card fills the rest */
.screen.pl-asking .banner { display: none; }
.pl-asking .pl-body { padding: 0; align-items: stretch; }
.pl-play { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pl-status {
  align-self: center; flex: none; margin-top: max(0.4rem, env(safe-area-inset-top, 0px)); padding: 0.1rem 1rem;
  font-size: 1rem; font-weight: 900; color: var(--ink); background: var(--butter);
  border: 3px solid var(--ink); border-radius: 999px;
}
.pl-host { flex: 1; min-height: 0; position: relative; }
.pl-host > * { max-height: 100%; }

@media (orientation: landscape) and (max-height: 600px) {
  .pl-card { padding: 0.7rem 1.4rem 0.9rem; gap: 1rem; }
  .pl-ahmed { height: 10rem; }
  .pl-where { font-size: 1.2rem; }
  .pl-lesson { font-size: 1.5rem; }
  .pl-status { font-size: 0.9rem; margin-top: 0.2rem; }
}
