.words-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.words-tool .panel {
  align-self: start;
}
.words-tool h2 {
  margin-top: 0;
}
.words-tool > h2 {
  margin-top: 28px;
}
.words-tool form {
  border: 0;
  padding: 0;
  background: transparent;
}
.words-clock {
  display: block;
  font: 700 clamp(40px, 9vw, 64px) / 1.5 system-ui;
  font-variant-numeric: tabular-nums;
}
.words-tool button {
  min-height: 44px;
  margin: 6px 0;
}
.words-due {
  border-left: 7px solid var(--red);
}
.words-reminder {
  position: sticky;
  bottom: 0;
  display: block;
  padding: 16px 24px;
  background: #171519;
  color: #fffaf0;
  border-top: 4px solid #e60012;
  z-index: 30;
  font-weight: bold;
}
.words-reminder[hidden] {
  display: none;
}
.words-tool p,
.words-tool strong {
  overflow-wrap: anywhere;
}
.word-icon {
  background-image: none !important;
  display: grid;
  place-items: center;
  font: bold 34px/1 system-ui;
  color: var(--red);
}
#words-error {
  padding: 14px;
  border: 2px solid #e60012;
  background: #fffaf0;
}
@media (max-width: 720px) {
  .words-layout {
    grid-template-columns: 1fr;
  }
  .words-tool .actions {
    gap: 8px;
  }
}
.words-tool .words-layout {
  display: block;
}

.words-tool { overflow-anchor: none; }
