.mobile-action-dock {
  position: fixed;
  right: 96px;
  bottom: 18px;
  z-index: 8;
  display: none;
}

.mobile-action-button {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  min-width: 126px;
  min-height: 58px;
  align-items: center;
  column-gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 231, 163, 0.26);
  border-radius: 18px;
  background: rgba(8, 10, 20, 0.72);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  color: #fff1b0;
  font-family: inherit;
  text-align: left;
  backdrop-filter: blur(10px);
}

.mobile-action-button:not(:disabled) {
  cursor: pointer;
}

.mobile-action-button:disabled {
  opacity: 0.46;
}

.mobile-action-button:active:not(:disabled) {
  transform: translateY(1px) scale(0.99);
}

.mobile-action-hint {
  grid-row: 1 / 3;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 211, 107, 0.16);
  color: #ffd36b;
  font-size: 16px;
  font-weight: 800;
}

.mobile-action-button strong {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.1;
}

.mobile-action-button small {
  overflow: hidden;
  max-width: 96px;
  color: rgba(235, 238, 244, 0.68);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.phone-focus-active .mobile-action-dock,
body.phone-stage-active .mobile-action-dock {
  display: none;
}

@media (max-width: 820px), (pointer: coarse) {
  .mobile-action-dock {
    display: block;
  }
}

@media (max-width: 700px) {
  .mobile-action-dock {
    right: 88px;
    bottom: 12px;
  }

  .mobile-action-button {
    min-width: 114px;
    min-height: 54px;
    padding: 8px 11px;
  }

  .mobile-action-button small {
    max-width: 82px;
  }
}
