.potato-game-legal {
  position: fixed;
  right: max(10px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 1000;
  box-sizing: border-box;
  max-width: min(520px, calc(100vw - 20px));
  margin: 0;
  padding: 7px 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  color: rgba(255, 248, 226, 0.68);
  background: rgba(20, 15, 10, 0.58);
  border: 1px solid rgba(255, 248, 226, 0.12);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.01em;
  opacity: 0.62;
  transition: opacity 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.potato-game-legal:hover,
.potato-game-legal:focus-within {
  opacity: 1;
  background: rgba(20, 15, 10, 0.82);
}

.potato-game-legal a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

.potato-game-legal a:hover,
.potato-game-legal a:focus-visible {
  color: #ffe6a8;
  opacity: 1;
}

.potato-game-legal a:focus-visible {
  outline: 2px solid rgba(255, 210, 116, 0.72);
  outline-offset: 4px;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .potato-game-legal {
    left: 50%;
    right: auto;
    bottom: max(8px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: fit-content;
    max-width: calc(100vw - 16px);
    padding: 6px 9px;
    gap: 5px 8px;
    border-radius: 999px;
    font-size: 0.64rem;
  }
}
