.play {
  width: 100%;
  min-height: 100%;
  padding: 24px 32px 48px;
  position: relative;
}

.play__board {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.play__board--fade {
  opacity: 0;
}

#settingsOverlay[hidden] {
  display: none;
}

#settingsOverlay .play__letter {
  justify-content: flex-start;
}

.settingsOverlay__body {
  margin-top: 80px;
}

.play__header {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  margin-bottom: 96px;
}

.play__logo {
  width: 180px;
  height: auto;
  flex-shrink: 0;
}

.play__stats {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 8px;
  min-width: 0;
}

.play__stats--two {
  grid-template-columns: repeat(2, 1fr);
}

.play__stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-line);
  font-size: 17px;
  min-width: 0;
}

.play__stat span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.play__stat span:last-child {
  flex-shrink: 0;
}

.play__board {
  padding: 0 16px;
}

.play__guides {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  height: calc(var(--cap-height, 130px) + var(--font-descent, 39px));
  padding: 0 48px;
}

.play__guideline {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 2px dashed #9a938a;
}

.play__guideline--top {
  top: -6px;
}

.play__guideline--mid {
  top: calc(var(--cap-height, 130px) - var(--x-height, 90px));
}

.play__guideline--base {
  top: var(--cap-height, 130px);
}

.play__guideline--descender {
  top: calc(var(--cap-height, 130px) + var(--font-descent, 39px) + 6px);
}

.play__revealed {
  position: absolute;
  left: 48px;
  right: 48px;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  transition: gap 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.play__revealed--solved,
.play__revealed--lost {
  gap: 2px;
  justify-content: center;
}

.play__revealed--solved .play__letter--revealed,
.play__revealed--lost .play__letter--revealed {
  flex: none;
  transition: color 1.1s cubic-bezier(0.4, 0, 0.2, 1), width 1.1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.play__revealed--solved .play__letter--revealed {
  color: var(--color-solved);
}

.play__revealed--lost .play__letter--revealed {
  color: var(--color-wrong);
}

.play__blanks {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  padding: 0 48px;
  margin-top: calc(10px - var(--font-descent, 39px));
  display: flex;
  gap: 12px;
}

.play__letter {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 90px;
}

.play__blanks .play__letter {
  height: 12px;
  align-items: flex-start;
}

.play__revealed .play__letter {
  height: 100%;
}

.play__letterBar {
  width: 100%;
  height: 12px;
  background: var(--color-text);
}

.play__letter--space {
  max-width: 32px;
}

.play__letter--revealed {
  font-size: 188px;
  font-weight: 900;
  line-height: normal;
  transition: transform 0.3s ease;
}

.play__wrongRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 80px;
  min-height: 188px;
}

.play__wrong {
  flex: 1;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.play__wrong--fadeOut {
  opacity: 0;
}

.play__wrong[hidden],
.play__definition[hidden] {
  display: none;
}

.play__definition {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.play__definition--entering {
  opacity: 0;
  transform: translateY(10px);
}

.play__wrongLetter {
  font-size: 188px;
  font-weight: 900;
  line-height: 1;
  color: var(--color-wrong);
}

.play__definition {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  min-width: 0;
}

.play__definitionText {
  flex: 0 1 560px;
  margin: 0;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.45;
  text-wrap: pretty;
}

.play__definitionImageWrap {
  flex: 0 1 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.play__definitionImage {
  width: 100%;
  height: 188px;
  object-fit: contain;
}

.play__definitionImage[hidden] {
  display: none;
}

.play__panel {
  flex-shrink: 0;
  width: 280px;
  background: var(--color-bg);
}

.play__panelTitle {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 24px;
}

.play__panel .menu__nav {
  margin-bottom: 0;
}

.play__panelNote {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.5;
  text-wrap: pretty;
}

.menu__row--link {
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-line);
  font-family: var(--font-body);
  width: 100%;
  padding-top: 0;
}
