:root {
  color-scheme: dark;
  font-family: Inter, ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #141126;
  color: #f8f7ff;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 118, 152, .28), transparent 32%),
    radial-gradient(circle at 88% 88%, rgba(104, 92, 255, .34), transparent 40%),
    #141126;
}

button { font: inherit; }

.game-shell {
  width: min(100%, 480px);
  padding: 26px 20px 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  background: rgba(28, 23, 52, .82);
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
  backdrop-filter: blur(18px);
}

.game-header, .scoreboard, .arena { display: flex; align-items: center; }
.game-header { justify-content: space-between; }
.eyebrow { margin: 0 0 4px; color: #b5aefa; font-size: .7rem; letter-spacing: .16em; font-weight: 800; }
h1 { margin: 0; font-size: 2rem; letter-spacing: -.06em; }

.reset-button {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  color: #f8f7ff;
  border-radius: 999px;
  padding: 8px 13px;
  cursor: pointer;
}
.reset-button:hover { background: rgba(255,255,255,.14); }

.scoreboard { justify-content: space-between; gap: 12px; margin: 27px 0 20px; }
.score-card { min-width: 106px; padding: 13px 16px; border-radius: 18px; text-align: center; }
.score-card span { display: block; font-size: .73rem; font-weight: 750; opacity: .72; }
.score-card strong { display: block; margin-top: 2px; font-size: 2rem; line-height: 1; }
.player-score { background: linear-gradient(135deg, #ff6689, #ff8e67); }
.bot-score { background: linear-gradient(135deg, #7069ff, #a077ff); }
.round-label { font-size: .78rem; font-weight: 800; color: #c7c2e3; text-align: center; }

.arena { min-height: 168px; justify-content: center; gap: 14px; padding: 18px 8px; border-radius: 22px; background: rgba(0,0,0,.14); }
.pick-card { width: 42%; text-align: center; }
.pick-card p { margin: 0 0 6px; color: #bcb7d8; font-size: .78rem; font-weight: 700; }
.pick-icon { display: block; min-height: 76px; font-size: 4.3rem; line-height: 1.15; filter: drop-shadow(0 9px 10px rgba(0,0,0,.18)); }
.pick-icon.revealed { animation: reveal .35s cubic-bezier(.22, 1.5, .36, 1); }
.versus { display: grid; place-items: center; flex: 0 0 39px; aspect-ratio: 1; border-radius: 50%; background: #332c5f; color: #ffdc70; font-size: .75rem; font-weight: 950; }

.result { min-height: 26px; margin: 17px 0 14px; text-align: center; font-weight: 800; color: #f0edff; }
.result.win { color: #89f7c8; }
.result.loss { color: #ff9aad; }
.result.tie { color: #ffe080; }

.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-button { min-height: 105px; border: 0; border-radius: 19px; color: #181426; cursor: pointer; transform: translateY(0); transition: transform .16s ease, filter .16s ease, opacity .16s ease; }
.choice-button span { display: block; font-size: 2.45rem; line-height: 1.15; }
.choice-button b { display: block; margin-top: 4px; font-size: .78rem; }
.choice-button:hover:not(:disabled), .choice-button:focus-visible { transform: translateY(-4px); filter: brightness(1.08); outline: 3px solid rgba(255,255,255,.45); outline-offset: 2px; }
.choice-button:disabled { opacity: .56; cursor: wait; }
.rock { background: #ffdc70; }.paper { background: #8fe6e0; }.scissors { background: #f8a1c0; }
.fairness-note { margin: 15px 0 0; text-align: center; font-size: .69rem; color: #9f99bd; }

@keyframes reveal { from { transform: scale(.5) rotate(-18deg); opacity: .2; } to { transform: scale(1) rotate(0); opacity: 1; } }

@media (max-width: 360px) { .game-shell { padding-inline: 14px; } .score-card { min-width: 88px; } .choice-button b { font-size: .7rem; } }
