#settings-button > span {
  font-weight: 800;
  letter-spacing: -0.08em;
  font-size: 18px;
}

.internet-quick-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
  padding: 17px 20px;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, #5548d9, #8b5cf6);
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 7px 0 rgba(50, 39, 135, .25);
}

.back-button {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  margin-bottom: 28px;
  padding: 13px 19px;
  border-radius: 16px;
  background: #0b78bd;
  color: #fff !important;
  font-size: 20px;
  box-shadow: 0 5px 0 #075985;
}

#games-screen .game-help,
#game-screen .game-help,
#games-screen .page-heading p:not(.eyebrow),
#game-screen .page-heading p:not(.eyebrow),
#game-screen .card-result {
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
}

#games-screen .game-score,
#game-screen .game-score,
#game-screen .draw-number span {
  font-size: 20px;
  font-weight: 700;
}

@media (max-width: 410px) {
  #games-screen .game-help,
  #game-screen .game-help,
  #games-screen .page-heading p:not(.eyebrow),
  #game-screen .page-heading p:not(.eyebrow),
  #game-screen .card-result {
    font-size: 20px;
  }
}

/* Jogo confortável: textos grandes e alvos fáceis para baixa visão e pouca mobilidade. */
#games-screen,
#game-screen {
  font-size: 19px;
}

#game-screen .game-area {
  padding: 26px;
}

#game-screen .game-tools {
  gap: 18px;
  margin-bottom: 24px;
}

#game-screen .game-tools .outline-button,
#game-screen .primary-button,
#game-screen .card-actions button {
  min-height: 68px;
  padding: 17px 24px;
  border-radius: 16px;
  font-size: 22px;
}

#game-screen .memory-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 560px;
}

#game-screen .memory-card {
  min-height: 105px;
  border-radius: 18px;
  border: 3px solid #f0d784;
  font-size: 50px;
}

#game-screen .bingo-board {
  gap: 15px;
  max-width: 460px;
}

#game-screen .bingo-cell {
  min-height: 105px;
  border-width: 3px;
  border-radius: 17px;
  font-size: 34px;
}

#game-screen .quiz-question {
  max-width: 700px;
  font-size: 29px;
  line-height: 1.35;
}

#game-screen .quiz-options {
  gap: 16px;
}

#game-screen .quiz-option {
  min-height: 76px;
  padding: 20px 22px;
  border-width: 3px;
  border-radius: 17px;
  font-size: 23px;
  font-weight: 600;
}

#game-screen .playing-card {
  max-width: 220px;
  border-width: 4px;
  border-radius: 20px;
  font-size: 90px;
}

#game-screen .card-actions {
  gap: 16px;
  flex-wrap: wrap;
}

#game-screen .card-actions button {
  min-width: 170px;
}

@media (max-width: 410px) {
  #game-screen .game-area {
    padding: 19px 15px;
  }

  #game-screen .memory-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
  }

  #game-screen .memory-card {
    min-height: 118px;
    font-size: 50px;
  }

  #game-screen .bingo-cell {
    min-height: 88px;
    font-size: 30px;
  }

  #game-screen .quiz-question {
    font-size: 25px;
  }

  #game-screen .quiz-option {
    min-height: 70px;
    font-size: 21px;
  }

  #game-screen .card-actions button {
    width: 100%;
  }
}

.back-button:hover {
  background: #0969a8;
  color: #fff;
}

.bottom-back-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  margin: 28px 0 4px;
  border: 0;
  border-radius: 17px;
  background: #0b78bd;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 0 #075985;
}

.bottom-back-button:active,
.back-button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #075985;
}

.internet-quick-button > span:first-child {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 18px;
  background: rgba(255, 255, 255, .95);
  font-size: 35px;
}

.internet-quick-button > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.internet-quick-button strong {
  font-size: 25px;
}

.internet-quick-button small {
  font-size: 16px;
}

@media (max-width: 410px) {
  .internet-quick-button {
    padding: 14px 16px;
  }

  .internet-quick-button > span:first-child {
    width: 50px;
    height: 50px;
    font-size: 29px;
  }

  .internet-quick-button strong {
    font-size: 22px;
  }

  .internet-quick-button small {
    font-size: 14px;
  }
}

#settings-dialog .dialog-intro {
  max-width: 34rem;
}

#settings-dialog .setting-block > strong {
  font-size: 18px;
}

#settings-dialog .theme-choice,
#settings-dialog .font-options button {
  min-height: 58px;
  font-size: 16px;
  font-weight: 600;
}

#settings-dialog .theme-choice.selected,
#settings-dialog .font-options button.selected {
  outline: 3px solid color-mix(in srgb, var(--blue) 22%, transparent);
  outline-offset: 1px;
}

@media (max-width: 650px) {
  #settings-button {
    font-size: 13px;
    padding: 9px 10px;
  }
}

.search-tile {
  order: -1;
  grid-column: 1 / -1;
  min-height: 148px;
  background: #b9a7f5;
}

.search-tile .tile-image {
  align-self: flex-start;
  font-size: 54px;
}

.search-tile .tile-title {
  font-size: 26px;
}

@media (max-width: 410px) {
  .search-tile {
    min-height: 132px;
  }

  .search-tile .tile-image {
    font-size: 43px;
  }

  .search-tile .tile-title {
    font-size: 22px;
  }
}

#games-screen .game-grid {
  gap: 18px;
}

#games-screen .game-card {
  min-height: 214px;
  border: 3px solid rgba(255, 255, 255, .7);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 7px 0 rgba(16, 43, 64, .2);
}

#games-screen .game-card .game-emoji {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  font-size: 56px;
  filter: drop-shadow(0 5px 0 rgba(16, 43, 64, .12));
}

#games-screen .game-card strong {
  color: #102b40;
  font-size: 23px;
}

#games-screen .game-card span:last-child {
  color: #102b40;
  font-size: 16px;
  opacity: .9;
}

#games-screen .sky {
  background: linear-gradient(140deg, #23c6f5, #2979ff);
}

#games-screen .sun {
  background: linear-gradient(140deg, #ffe34d, #ff9f1c);
}

#games-screen .coral {
  background: linear-gradient(140deg, #ff6b9d, #ff4f45);
}

#games-screen .mint {
  background: linear-gradient(140deg, #6ee7b7, #18b978);
}

@media (max-width: 410px) {
  #games-screen .game-card {
    min-height: 181px;
    padding: 14px;
  }

  #games-screen .game-card .game-emoji {
    width: 66px;
    height: 66px;
    border-radius: 19px;
    font-size: 43px;
  }

  #games-screen .game-card strong {
    font-size: 19px;
  }

  #games-screen .game-card span:last-child {
    font-size: 13px;
  }
}
