.bayou-panel {
  box-sizing: border-box;
  width: min(660px, 94vw);
  max-height: 88dvh;
  overflow: auto;
  border: 1px solid #b49b62;
  border-radius: 6px;
  padding: 22px;
  background: #101d22;
  color: #efe4c6;
  font:
    14px/1.6 "IBM Plex Mono",
    monospace;
}
.bayou-panel::backdrop {
  background: #040a0ee8;
}
.bayou-panel h2 {
  font:
    800 clamp(22px, 4vw, 32px) / 1.2 "Barlow Condensed",
    sans-serif;
  color: #edce82;
}
.bayou-panel button,
.bayou-panel a {
  display: block;
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 14px;
  margin: 10px 0;
  border: 1px solid #9e895a;
  border-radius: 4px;
  background: #223b3c;
  color: #ffe5a4;
  font: inherit;
  white-space: normal;
  text-align: left;
  text-decoration: none;
}
.bayou-panel button:focus-visible,
.bayou-panel a:focus-visible,
.bayou-action:focus-visible {
  outline: 3px solid #e9e6d9;
  outline-offset: 3px;
}
.bayou-panel button:disabled {
  opacity: 0.5;
}
.bayou-action {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: max(150px, env(safe-area-inset-bottom));
  z-index: 65;
  min-height: 44px;
  max-width: 90vw;
  padding: 12px;
  border: 1px solid #b49b62;
  border-radius: 4px;
  background: #223b3c;
  color: #ffe5a4;
  font: 700 12px/1.4 monospace;
}
.bayou-action[hidden] {
  display: none;
}
#menu .keys {
  overflow-wrap: anywhere;
}
#menu button {
  min-height: 44px;
  height: auto;
}
#menu #resume {
  min-height: 44px;
}
#menu .row > button {
  height: auto;
}
@media (max-height: 480px) {
  .bayou-panel {
    max-height: 94dvh;
    padding: 12px;
  }
  .bayou-panel h2 {
    margin: 4px 0;
  }
  .bayou-action {
    bottom: 100px;
    font-size: 11px;
    max-width: 56vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bayou-panel,
  .bayou-action {
    scroll-behavior: auto;
  }
}

.bayou-panel [hidden] {
  display: none;
}
