

.title {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: linear-gradient(180deg, rgba(94, 200, 255, 0.55), rgba(255, 233, 196, 0.75));
}
.title[hidden] {
  display: none;
}
.title-card {
  width: min(480px, 100%);
  max-height: calc(100vh - 2 * var(--gutter));
  overflow: auto;
  background: #fffaf0;
  color: var(--ink);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.22);
}
.title-k,
.title-tag,
.title-q,
.title-hint {
  margin: 0;
}
.title-shifts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.title-shifts button {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 2px solid #e3dccb;
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
}
.title-shifts button[aria-current="true"] {
  border-color: #1fb5a8;
}
.title-shifts button:disabled {
  opacity: 0.45;
}
.title-k {
  font-size: 13px;
  color: #6a6f99;
}
.title-logo {
  margin: 0;
  font-size: 44px;
  letter-spacing: 3px;
  line-height: 1;
}
.title-logo span {
  color: #1fb5a8;
}
.title-tag {
  font-size: 15px;
  line-height: 1.4;
  max-width: 36ch;
}
.title-q {
  font-weight: 700;
}
.title-picks {
  display: flex;
  gap: 12px;
  width: 100%;
}
.title-picks button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 12px;
  border-radius: 16px;
  border: 3px solid #e3dccb;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}
.title-picks button[aria-checked="true"] {
  border-color: #1fb5a8;
  box-shadow: 0 0 0 3px rgba(47, 224, 208, 0.35);
}
.title-av {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffd7b0;
  border: 6px solid #1fb5a8;
}
.title-av-woman {
  box-shadow: inset 0 14px 0 #6b3b2a;
}
.title-av-man {
  box-shadow: inset 0 8px 0 #2b2b3a;
}
.title-go {
  min-height: 48px;
  min-width: 180px;
  padding: 12px 24px;
  border-radius: 14px;
  border: none;
  background: var(--teal);
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
}
.title-hint {
  font-size: 13px;
  color: #6a6f99;
}
@media (max-height: 520px) {
  .title-card {
    padding: 16px 20px;
    gap: 10px;
  }
  .title-logo {
    font-size: 30px;
  }
  .title-tag,
  .title-hint {
    display: none;
  }
  .title-av {
    width: 40px;
    height: 40px;
    border-width: 4px;
  }
  .title-picks button {
    padding: 10px;
  }
}

body.is-title .hud,
body.is-title .pause-btn,
body.is-title .bolt-say,
body.is-title .touch {
  visibility: hidden;
}
