:root {
  --rps-ink: #f2f3ed;
  --rps-muted: #a3adbf;
  --rps-lime: #d8f879;
}
body[data-page="rps"] {
  min-height: 100vh;
  margin: 0;
  color: var(--rps-ink);
  background:
    radial-gradient(720px 520px at 82% 10%, rgba(95, 83, 164, .2), transparent 68%),
    radial-gradient(600px 500px at 8% 55%, rgba(113, 88, 105, .13), transparent 70%),
    linear-gradient(180deg, #111624 0%, #0a0e17 68%, #090c13 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.rps-shell { width: min(910px, 100%); margin: 0 auto; padding: 0 30px; }
.rps-header { height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(211,223,243,.1); }
.rps-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--rps-ink); font-size: 16px; font-weight: 780; letter-spacing: -.06em; text-decoration: none; }
.brand-mark { position: relative; display: grid; width: 32px; height: 32px; place-items: center; overflow: hidden; border: 1px solid rgba(216,248,121,.58); border-radius: 10px; color: var(--rps-lime); background: rgba(216,248,121,.09); font-size: 15px; font-weight: 850; }
.brand-mark i { position: absolute; width: 7px; height: 7px; right: 5px; bottom: 5px; border-radius: 2px; background: var(--rps-lime); transform: rotate(45deg); }
.brand-period { color: var(--rps-lime); }
.rps-back { color: #abb5c6; text-decoration: none; font-size: 12px; transition: color .18s ease; }
.rps-back:hover { color: var(--rps-lime); }
.rps-back span { margin-right: 7px; color: var(--rps-lime); }
.rps-main { padding: 45px 0 58px; }
.rps-intro { margin-bottom: 24px; }
.rps-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: #bdc8d9; font-size: 9px; font-weight: 760; letter-spacing: .18em; }
.rps-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--rps-lime); box-shadow: 0 0 12px rgba(216,248,121,.7); }
.rps-intro h1 { margin: 0; font-size: clamp(43px, 5.8vw, 64px); line-height: .98; letter-spacing: -.075em; }
.rps-intro h1 span { color: var(--rps-lime); }
.rps-intro > p:last-child { margin: 10px 0 0; color: var(--rps-muted); font-size: 13px; line-height: 1.6; }
.rps-layout { display: grid; grid-template-columns: minmax(0, 1fr) 245px; align-items: start; gap: 15px; }
.rps-arena, .rps-panel { border: 1px solid rgba(211,223,243,.13); border-radius: 20px; background: linear-gradient(155deg, rgba(25,33,51,.91), rgba(14,19,30,.96)); box-shadow: 0 24px 70px rgba(0,0,0,.23); }
.rps-arena { min-height: 350px; padding: 17px; }
.rps-arena-top { display: flex; justify-content: space-between; gap: 10px; color: #919db0; font-size: 9px; font-weight: 750; letter-spacing: .13em; }
.rps-arena-top span:last-child { color: #9ca8bb; font-size: 10px; font-weight: 500; letter-spacing: 0; }
.rps-duel { display: grid; grid-template-columns: 1fr 46px 1fr; align-items: center; gap: 12px; margin: 23px 0 13px; }
.rps-player-pick { display: grid; min-height: 172px; align-content: center; justify-items: center; gap: 9px; border: 1px solid rgba(211,223,243,.1); border-radius: 17px; background: radial-gradient(circle at 50% 18%, rgba(146,127,205,.13), rgba(8,12,20,.35) 72%); }
.rps-player-pick > span { color: #8f9bb0; font-size: 8px; font-weight: 760; letter-spacing: .17em; }
.rps-player-pick strong { color: #e8e4ff; font-size: clamp(45px, 7vw, 68px); line-height: 1; text-shadow: 0 7px 28px rgba(194,177,255,.22); }
.rps-player-pick small { color: #aab5c6; font-size: 10px; }
.rps-versus { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(216,248,121,.2); border-radius: 50%; color: var(--rps-lime); background: rgba(216,248,121,.06); font-size: 9px; font-weight: 850; }
.rps-status { min-height: 19px; margin: 0 0 14px; color: #b6c0d0; font-size: 11px; line-height: 1.5; text-align: center; }
.rps-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.rps-choices button { display: grid; min-height: 91px; align-content: center; justify-items: center; gap: 6px; border: 1px solid rgba(211,223,243,.13); border-radius: 13px; color: #e4e7ee; background: rgba(255,255,255,.035); font: inherit; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.rps-choices button:hover:not(:disabled), .rps-choices button:focus-visible { transform: translateY(-2px); border-color: rgba(216,248,121,.4); background: rgba(216,248,121,.07); outline: 0; }
.rps-choices button:disabled { opacity: .55; cursor: default; }
.rps-choices button span { font-size: 27px; }
.rps-choices button b { font-size: 10px; }
.rps-panel { display: flex; flex-direction: column; gap: 12px; padding: 13px; }
.rps-score-title { padding: 0 2px; color: #8c99ac; font-size: 8px; font-weight: 760; letter-spacing: .12em; line-height: 1.5; }
.rps-scoreboard { display: grid; grid-template-columns: 1fr 12px 1fr; align-items: center; gap: 4px; padding: 12px 10px; border: 1px solid rgba(211,223,243,.09); border-radius: 13px; background: rgba(5,9,16,.25); }
.rps-scoreboard > div { display: grid; grid-template-columns: 8px 1fr; align-items: center; gap: 4px 6px; min-width: 0; }
.rps-scoreboard > div span { overflow: hidden; color: #aeb8c8; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.rps-scoreboard > div strong { grid-column: 2; font-size: 20px; }
.score-dot { width: 7px; height: 7px; border-radius: 50%; }
.player-dot { background: var(--rps-lime); }
.computer-dot { background: #c1b0ff; }
.rps-score-divider { color: #68748a; text-align: center; }
.rps-rules { padding: 12px; border: 1px solid rgba(211,223,243,.09); border-radius: 13px; background: rgba(5,9,16,.22); }
.rps-rules > span { color: #8996aa; font-size: 8px; font-weight: 760; letter-spacing: .14em; }
.rps-rules p { margin: 8px 0; color: #d0d7e1; font-size: 11px; line-height: 1.7; }
.rps-rules small { color: #8894a7; font-size: 9px; }
.rps-new { display: flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; margin-top: auto; border: 0; border-radius: 10px; color: #151b12; background: var(--rps-lime); font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.rps-new:hover { transform: translateY(-1px); background: #e4ff9a; }
.rps-new span { font-size: 15px; }
.rps-footer { display: flex; align-items: center; gap: 20px; min-height: 68px; border-top: 1px solid rgba(211,223,243,.1); color: #7e899c; font-size: 10px; }
.rps-footer > span:first-child { color: #c5ccda; font-weight: 750; }
.rps-footer > a { margin-left: auto; color: #c8d1df; text-decoration: none; }
.rps-footer > a:hover { color: var(--rps-lime); }
.rps-footer b { margin-left: 5px; color: var(--rps-lime); }
@media (max-width: 700px) {
  .rps-shell { padding-inline: 18px; }
  .rps-main { padding-top: 35px; }
  .rps-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 11px; }
  .rps-arena { padding: 12px; }
  .rps-panel { padding: 10px; gap: 9px; }
}
@media (max-width: 560px) {
  .rps-shell { padding-inline: 13px; }
  .rps-layout { grid-template-columns: 1fr; }
  .rps-arena { min-height: 0; padding: 11px; }
  .rps-duel { grid-template-columns: 1fr 32px 1fr; gap: 7px; margin: 18px 0 12px; }
  .rps-player-pick { min-height: 138px; border-radius: 13px; }
  .rps-choices { gap: 6px; }
  .rps-choices button { min-height: 75px; }
  .rps-choices button span { font-size: 23px; }
  .rps-panel { display: grid; grid-template-columns: 1fr 1fr; }
  .rps-score-title, .rps-scoreboard, .rps-rules, .rps-new { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
  .rps-shell { padding-inline: 9px; }
  .rps-player-pick > span { font-size: 7px; }
  .rps-choices button b { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="rps"] *, body[data-page="rps"] *::before, body[data-page="rps"] *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
