.accent-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 2px;
  padding: 3px;
  color: #214e6a;
  background: #f7fcff;
  border: 1px solid #b5d1df;
  border-radius: 16px;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.2;
}

.accent-choice .accent-heading {
  display: inline;
  margin: 0 6px 0 9px;
  font-size: .82rem;
}

.accent-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.accent-choice label {
  display: grid;
  place-items: center;
  min-width: 48px;
  min-height: 44px;
  padding: 4px 9px;
  border-radius: 12px;
  cursor: pointer;
  font-size: .95rem;
  touch-action: manipulation;
}

.accent-choice label:hover { background: #e0f2fd; }
.accent-choice input:checked + label { color: #fff; background: #1768ac; }
.accent-choice input:focus-visible + label { outline: 3px solid #7136b2; outline-offset: 1px; }

.app-container > .accent-choice {
  position: sticky;
  top: 6px;
  z-index: 12;
  align-self: flex-end;
  margin: 0 0 8px;
  box-shadow: 0 3px 0 rgba(57, 114, 149, .17);
}

.nav-caption .nav-key { margin-left: 10px; }

@media (max-width: 410px) {
  .nav-caption { flex-wrap: wrap; gap: 5px; }
  .nav-caption .accent-heading { display: none; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .letter-nav {
    display: flex;
    overflow-x: auto;
    padding: 1px 1px 5px;
  }
  .letter-nav button { flex: 0 0 44px; }
}

.audio-retry {
  position: fixed;
  z-index: 1000;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 18px;
  border: 2px solid #155783;
  border-radius: 12px;
  background: #fff;
  color: #155783;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
