.loading-screen {
  background: #101014 url('/assets/images/loader-bg.jpg?v=16') center top / cover no-repeat;
}
.loading-screen > * { position: relative; }
.loading-screen .brand-logo { position: absolute; }
.loading-screen .eyebrow { color: #fff; }

.question-screen { overflow: hidden; }
.question-screen .top {
  flex: 1 1 auto;
  height: auto;
  min-height: 120px;
}
.quiz-panel {
  flex: 0 0 auto;
  min-height: 0;
  margin-top: -34px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}
.question-screen .question { min-height: 0; }
.top::after { display: none; }

.result-screen { overflow: hidden; }
.result-screen > .hero { flex: 1 1 auto; min-height: 90px; }
.result-panel {
  flex: 0 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 17px 22px calc(14px + env(safe-area-inset-bottom));
  text-align: center;
}
.result-title { font-size: 21px; }
.result-description { margin: 9px 0 0; font-size: 14px; line-height: 1.32; }
.result-buttons { gap: 8px; margin-top: 12px; }
.result-buttons .btn { min-height: 44px; }

@media (max-height: 700px) {
  .result-screen > .hero { min-height: 72px; }
  .result-panel {
    padding: 13px 20px calc(10px + env(safe-area-inset-bottom));
  }
  .result-title { font-size: 19px; }
  .result-description { margin-top: 7px; font-size: 12.5px; line-height: 1.25; }
  .result-buttons { gap: 6px; margin-top: 9px; }
  .result-buttons .btn { min-height: 40px; }
  .result-card { margin-top: 9px; padding: 10px 13px; }
  .result-card p { font-size: 12px; line-height: 1.25; }
  .result-card .btn { min-height: 40px; margin-top: 7px; font-size: 12px; }
}
