.more-tetris-lede {
  margin: clamp(1.25rem, 3vw, 2rem) 0 clamp(0.75rem, 2vw, 1.25rem);
  max-width: 48rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.more-tetris-lede a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.more-tetris-section pre.ascii-tetris-output {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 1rem auto 0;
  padding: 0;
  font-family: inherit;
  line-height: 1.15;
  white-space: pre;
  overflow-x: auto;
  tab-size: 4;
  box-sizing: border-box;
}

.tetris-name-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(26, 26, 26, 0.45);
  backdrop-filter: blur(4px);
}

.tetris-name-modal__box {
  width: 100%;
  max-width: 22rem;
  padding: 1.25rem 1.35rem;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.tetris-name-modal__label {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.tetris-name-modal__input {
  width: 100%;
  font: inherit;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--fg);
  margin-bottom: 1rem;
}

.tetris-name-modal__input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.tetris-name-modal__input.tetris-name-modal__input--invalid {
  border-color: #b42318;
}

.tetris-name-modal__error {
  display: none;
  font-size: 0.8rem;
  color: #b42318;
  margin: -0.5rem 0 0.75rem;
  line-height: 1.35;
}

.tetris-name-modal__error.is-visible {
  display: block;
}

.tetris-name-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
