/* =========================================================
   Verdade ou Desafio — stylesheet
   Tema: vinho escuro + roxo profundo + dourado
   ========================================================= */

/* lobster-two-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lobster Two';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lobster-two-v22-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* noto-serif-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/noto-serif-v33-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/nunito-v32-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  --color-bg-1: #2e060e;
  --color-bg-2: #240d42;
  --color-card-1: #3a0f1c;
  --color-card-2: #2c1150;
  --color-gold: #d4af37;
  --color-gold-soft: #e9cd7a;
  --color-text: #f6ecec;
  --color-text-soft: #cbb9c4;
  --color-danger: #b0304a;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 18px 40px -12px rgba(0, 0, 0, 0.55);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-brand-title: "Lobster Two", system-ui, -apple-system, sans-serif;
  --font-display: "Noto Serif", "Playfair Display", Georgia, serif;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

html {
  background: var(--color-bg-1);
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: radial-gradient(120% 140% at 20% -10%, var(--color-bg-2) 0%, var(--color-bg-1) 55%, #1a0308 100%);
  min-height: 100dvh;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
}

#app {
  position: relative;
  min-height: 100dvh;
  background: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* ---------- layout: screens ---------- */

.screen {
  display: none;
  min-height: 100dvh;
  flex-direction: column;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  animation: fade-in .45s var(--ease);
}

.screen.active {
  display: flex;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- typography helpers ---------- */

.eyebrow {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin: 0 0 10px;
}

.eyebrow-gold { color: var(--color-gold); }

.brand-title {
  font-family: var(--font-brand-title);
  font-size: clamp(38px, 9vw, 64px);
  font-weight: 600;
  margin: 0 0 14px;
  background: linear-gradient(120deg, var(--color-gold-soft), var(--color-gold) 55%, #b98c22);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.25;
}

.brand-subtitle {
  color: var(--color-text-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 0 32px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 6vw, 34px);
  margin: 0 0 8px;
  color: var(--color-gold-soft);
}

.section-subtitle {
  color: var(--color-text-soft);
  margin: 0 0 28px;
  font-size: 15px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), opacity .18s var(--ease);
}

.btn:active { transform: scale(.97); }

.btn-primary {
  color: #2a0a10;
  background: linear-gradient(120deg, var(--color-gold-soft), var(--color-gold));
  box-shadow: 0 10px 24px -8px rgba(212, 175, 55, .55);
}

.btn-primary:hover { box-shadow: 0 14px 30px -8px rgba(212, 175, 55, .7); }

.btn-outline {
  color: var(--color-text);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(212, 175, 55, .4);
}

.btn-outline:hover { border-color: var(--color-gold); }

.btn-ghost {
  color: var(--color-gold-soft);
  background: rgba(212, 175, 55, .1);
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.btn-lg {
  min-height: 56px;
  padding: 0 34px;
  font-size: 16px;
}

.btn-text {
  min-height: 40px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-soft);
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 55, .4);
  text-underline-offset: 4px;
  margin-top: 6px;
}

.btn-text:hover { color: var(--color-gold-soft); }

/* ---------- start screen ---------- */

#screen-start, #screen-end {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.start-content, .end-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 480px;
}

/* ---------- names screen ---------- */

#screen-names {
  justify-content: center;
}

.names-content {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.field {
  display: block;
  margin-bottom: 18px;
}

.field-label {
  display: block;
  font-size: 13px;
  color: var(--color-text-soft);
  margin-bottom: 8px;
  letter-spacing: .03em;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, .3);
  background: rgba(255, 255, 255, .04);
  color: var(--color-text);
  font-size: 16px;
}

.field input::placeholder { color: rgba(203, 185, 196, .5); }

.field-error {
  color: #f3a0a0;
  font-size: 13px;
  margin: -8px 0 16px;
}

#form-names .btn { width: 100%; margin-top: 6px; }

/* ---------- seleção de fase ---------- */

.phase-option-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
  width: 100%;
  margin: 8px auto 0;
}

.phase-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, var(--color-card-2), var(--color-card-1));
  border: 1px solid rgba(212, 175, 55, .2);
  transition: border-color .2s var(--ease), transform .18s var(--ease);
}

.phase-option:active { transform: scale(.98); }
.phase-option:hover { border-color: var(--color-gold); }

.phase-option-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-gold-soft);
}

.phase-option-meta {
  font-size: 13px;
  color: var(--color-text-soft);
}

/* ---------- configuração de cartas ---------- */

#form-config {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.config-phase {
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 16px;
  background: linear-gradient(155deg, var(--color-card-2), var(--color-card-1));
  border: 1px solid rgba(212, 175, 55, .18);
}

.config-phase-title {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--color-gold-soft);
  margin: 0 0 14px;
}

.config-row {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.config-row:last-child { margin-bottom: 0; }

.config-field {
  flex: 1;
}

.config-field-label {
  display: block;
  font-size: 12px;
  color: var(--color-text-soft);
  margin-bottom: 6px;
}

.config-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, .3);
  background: rgba(255, 255, 255, .04);
  color: var(--color-text);
  font-size: 15px;
}

#form-config .btn { width: 100%; margin-top: 8px; }

/* ---------- game header ---------- */

.game-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  color: var(--color-gold-soft);
  flex-shrink: 0;
}

.phase-indicator {
  flex: 1;
  text-align: center;
}

.phase-label {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--color-gold-soft);
  letter-spacing: .04em;
  margin-bottom: 8px;
}

.progress-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-soft));
  border-radius: 999px;
  transition: width .5s var(--ease);
}

.turn-indicator {
  text-align: center;
  color: var(--color-text-soft);
  font-size: 25px;
  margin-bottom: 18px;
}

.turn-indicator strong {
  color: var(--color-gold-soft);
  font-weight: 600;
}

/* ---------- card ---------- */

.card-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  padding: 6px 0 24px;
}

.card-stage[hidden] {
  display: none;
}

.card {
  position: relative;
  width: 100%;
  max-width: 420px;
  min-height: 280px;
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(155deg, var(--color-card-2), var(--color-card-1));
  border: 1px solid rgba(212, 175, 55, .22);
  box-shadow: var(--shadow-card);
  animation: card-in .5s var(--ease);
}

@keyframes card-in {
  from { opacity: 0; transform: rotateY(-8deg) translateY(14px) scale(.97); }
  to   { opacity: 1; transform: rotateY(0) translateY(0) scale(1); }
}

.card-type-badge {
  align-self: center;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(212, 175, 55, .14);
  color: var(--color-gold-soft);
  margin-bottom: 20px;
}

.card-text {
  font-family: var(--font-display);
  font-size: clamp(19px, 5vw, 24px);
  line-height: 1.45;
  color: var(--color-text);
  margin: 0;
}

.favorite-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(246, 236, 236, .45);
  transition: color .2s var(--ease), transform .2s var(--ease);
}

.favorite-btn.is-active {
  color: var(--color-gold);
  transform: scale(1.08);
}

.card-actions {
  display: flex;
  gap: 14px;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.card-actions[hidden] {
  display: none;
}

.card-actions .btn { flex: 1; }

/* ---------- timer ---------- */

.card-timer {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.card-timer[hidden] {
  display: none;
}

.timer-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid rgba(212, 175, 55, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.timer-ring.is-running {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 6px rgba(212, 175, 55, .08);
}

.timer-ring.is-done {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 6px rgba(176, 48, 74, .18);
  animation: pulse-done 1s var(--ease) infinite;
}

@keyframes pulse-done {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.timer-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-gold-soft);
}

.timer-controls {
  display: flex;
  gap: 8px;
}

/* ---------- transição entre fases ---------- */

#screen-transition {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.transition-content {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.transition-from {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-text-soft);
  text-decoration: line-through;
  text-decoration-color: rgba(212, 175, 55, .5);
  margin: 0 0 22px;
}

.transition-divider {
  width: 46px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin-bottom: 22px;
}

#transition-next-label {
  margin-bottom: 34px;
}

/* ---------- punishment ---------- */

#screen-punishment {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.punishment-content {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.card-punishment {
  border-color: rgba(176, 48, 74, .45);
  background: linear-gradient(155deg, #3a0f1c, #2a0713);
  margin: 24px 0 30px;
}

/* ---------- menu ---------- */

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 2, 6, .55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease);
  z-index: 40;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(78vw, 300px);
  background: linear-gradient(180deg, var(--color-bg-2), var(--color-bg-1));
  border-right: 1px solid rgba(212, 175, 55, .2);
  padding: max(28px, env(safe-area-inset-top)) 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(-100%);
  transition: transform .3s var(--ease);
}

.menu-overlay.open .menu-panel {
  transform: translateX(0);
}

.menu-item {
  text-align: left;
  padding: 16px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--color-text);
}

.menu-item:hover { background: rgba(212, 175, 55, .08); }

.menu-item-close {
  margin-top: auto;
  color: var(--color-text-soft);
}

/* ---------- subpages (history / favorites) ---------- */

.subpage-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.subpage-header h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--color-gold-soft);
  margin: 0;
}

.subpage-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 20px;
}

.empty-state {
  color: var(--color-text-soft);
  text-align: center;
  margin-top: 60px;
  font-size: 15px;
}

.list-item {
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background: linear-gradient(155deg, var(--color-card-2), var(--color-card-1));
  border: 1px solid rgba(212, 175, 55, .16);
  animation: fade-in .3s var(--ease);
}

.list-item-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--color-gold-soft);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.list-item-text {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  color: var(--color-text);
}

.list-item-remove {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: #f3a0a0;
}

/* ---------- modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 2, 6, .65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
  z-index: 60;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  padding: 26px;
  background: linear-gradient(155deg, var(--color-card-2), var(--color-card-1));
  border: 1px solid rgba(212, 175, 55, .25);
  text-align: center;
  transform: translateY(10px) scale(.98);
  transition: transform .2s var(--ease);
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-box h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--color-gold-soft);
}

.modal-box p {
  color: var(--color-text-soft);
  font-size: 14px;
  margin: 0 0 22px;
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.modal-actions .btn { flex: 1; }

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(20px);
  background: rgba(36, 13, 66, .95);
  border: 1px solid rgba(212, 175, 55, .3);
  color: var(--color-text);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  z-index: 80;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- responsive ---------- */

@media (min-width: 640px) {
  .screen { padding: 40px 32px; }
  .card { min-height: 320px; padding: 44px 40px; }
}

@media (min-width: 1024px) {
  .screen { padding: 56px 40px; }
  .card-stage { padding: 20px 0 36px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- sequência de posições ---------- */

.sequence-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto 24px;
}

.sequence-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 280px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--color-card-2), var(--color-card-1));
  border: 1px solid rgba(212, 175, 55, .22);
  box-shadow: var(--shadow-card);
}

.sequence-item-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: #2a0a10;
  background: linear-gradient(120deg, var(--color-gold-soft), var(--color-gold));
}

.sequence-item img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

#screen-position-sequence .subpage-header h2 {
  flex: 1;
  text-align: center;
  font-size: 26px;
}

#screen-position-sequence .section-subtitle {
  text-align: center;
  font-size: 17px;
}

/* ---------- card com imagem de posição ---------- */

.card-image {
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  margin-top: 4px;
}

.card-with-image .card-text {
  font-size: clamp(18px, 5vw, 23px);
  margin-bottom: 4px;
  white-space: pre-line;
}

/* ---------- galeria de cards de posição ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(155deg, var(--color-card-2), var(--color-card-1));
  border: 1px solid rgba(212, 175, 55, .18);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 2, 6, .9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
  z-index: 70;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: max(20px, env(safe-area-inset-top));
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--color-text);
  font-size: 18px;
}

.config-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--color-text-soft);
}

.config-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-gold);
}

/* ---------- escolha de pergunta/desafio no modo manual ---------- */

.card-choice {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.card-choice[hidden] {
  display: none;
}

.card-choice-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 420px;
}

.card-choice-buttons .btn {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: 19px;
  box-shadow: var(--shadow-card);
}

.card-choice-buttons .btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

@media (max-width: 380px) {
  .card-choice-buttons {
    grid-template-columns: 1fr;
    max-width: 220px;
    margin: 0 auto;
  }
}

/* ---------- tela de escolha de modo (automática / manual) ---------- */

#screen-mode-select {
  justify-content: center;
}

#screen-mode-select .phase-option-list {
  gap: 20px;
}

#screen-mode-select .phase-option {
  padding: 30px 26px;
  gap: 8px;
}

#screen-mode-select .phase-option-title {
  font-size: 24px;
}

#screen-mode-select .phase-option-meta {
  font-size: 14px;
}

/* ---------- tela de quantidade de rodadas (modo manual) ---------- */

#screen-manual-config {
  justify-content: center;
}

#form-manual-config {
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
}

#manual-config-fields .config-phase {
  padding: 14px 16px;
  margin-bottom: 12px;
}

#manual-config-fields .config-phase-title {
  font-size: 16px;
  margin-bottom: 10px;
}

#manual-config-fields .config-field input {
  min-height: 40px;
  font-size: 14px;
}

#form-manual-config .btn { width: 100%; margin-top: 8px; }
