.mode-main .deck {
  top: calc(50% - 32px);
}

.talk-controls {
  position: fixed;
  bottom: 12px;
  left: 50%;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  color: #f3f5ef;
  background: #181c18;
  border: 1px solid #394334;
  border-radius: 6px;
  transform: translateX(-50%);
}

html:not(.mode-main) .talk-controls {
  display: none;
}

.talk-tool {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 16px;
  text-decoration: none;
}

.talk-tool,
.talk-tool * {
  cursor: pointer !important;
}

.talk-tool:hover,
.talk-tool:focus-visible {
  color: #a8dc2f;
  background: #2a3325;
}

.talk-tool:focus-visible {
  outline: 2px solid #a8dc2f;
  outline-offset: 1px;
}

.talk-tool:disabled {
  color: #727a70;
  background: transparent;
  cursor: default !important;
}

.talk-tool[hidden] {
  display: none;
}

.talk-position {
  width: 52px;
  color: #dfead6;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}
