.screen-root {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #0f2c43;
}

.screen-layer {
  position: absolute;
  inset: 0;
}

.screen-layer img {
  position: absolute;
  height: auto;
}

.ui-panel {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ui-panel img {
  height: auto;
}

.ui-text {
  font-size: 12px;
  color: #fff4cf;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.ui-bottom {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.ui-bottom .ui-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ui-bottom .ui-action-button {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  width: min(90px, 26vw);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.15s ease, filter 0.2s ease;
}

.ui-bottom .ui-action-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
  border-radius: 12px;
}

.ui-bottom .ui-action-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.ui-bottom .ui-action-button:active {
  transform: translateY(1px) scale(0.98);
}

.ui-bottom .ui-slot span {
  font-size: 10px;
  color: #ffe8c2;
}

.ui-toast {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 12;
}

.ui-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
