.arena-command-hand,.arena-moves:has(.command-card) {
  display:grid; width:100%; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; min-width:0; padding:0;
}
.command-card {
  --edge:#c19664; --face:#392c26;
  position:relative; isolation:isolate; display:grid; grid-template:1fr/1fr; align-items:end; width:100%; min-width:0; min-height:44px;
  margin:0; padding:0; overflow:hidden; border:1px solid var(--edge); border-radius:3px; color:#fff7e7; background:var(--face);
  text-align:start; box-shadow:0 3px 0 #0d1419; touch-action:manipulation;
}
.command-card[data-command="paper"] { --edge:#84afa0; --face:#1c312f; }
.command-card[data-command="scissors"] { --edge:#aa94bd; --face:#302939; }
.command-art,.command-caption { grid-area:1/1; }
.command-art { display:block; position:relative; align-self:stretch; background:var(--face); overflow:hidden; }
.command-art img { display:block; width:100%; height:clamp(104px,8vw,122px); object-fit:cover; object-position:center 37%; user-select:none; }
.command-caption { position:relative; display:grid; gap:3px; min-width:0; padding:27px 11px 9px; background:linear-gradient(0deg,#101821 2%,#101821e8 42%,#101821a8 67%,transparent); }
.command-caption strong { font:italic 700 clamp(21px,1.9vw,29px)/.96 var(--match-title); letter-spacing:0; color:#fff2d9; text-shadow:0 1px 2px #141a20; }
:lang(zh-CN) .command-caption strong { font:760 clamp(17px,1.3vw,21px)/1.08 var(--display); }
.command-caption small { color:#eaebdf; font:500 11px/1.23 var(--ui); }
.command-card:is([aria-pressed="true"],.committed) { border-color:#ffdf92; box-shadow:0 0 0 2px #ffdf92,0 4px 10px #0b1015; }
.command-card:is([aria-pressed="true"],.committed)::after {
  content:"✓"; position:absolute; top:4px; right:4px; display:grid; place-items:center;
  width:21px; height:21px; border-radius:1px 1px 1px 7px; background:#ffdf92; color:#211e16; font:bold 15px/1 system-ui; box-shadow:0 1px 2px #090e15;
}
.command-card:focus-visible { z-index:2; outline:3px solid #a1ecff; outline-offset:3px; }
.command-card:disabled { opacity:.6; }
.command-card.committed { opacity:1; }
@media (hover:hover) {
  .command-card:enabled:hover { border-color:#ffe1a2; box-shadow:0 0 0 1px var(--edge),0 5px 12px #091017a6; }
}
@media (prefers-reduced-motion:no-preference) {
  :root:not(.rm) .command-card { transition:transform .12s ease-out,box-shadow .14s,border-color .14s; }
  :root:not(.rm) .command-card:enabled:active { transform:translateY(1px); }
  @media (hover:hover) { :root:not(.rm) .command-card:enabled:hover { transform:translateY(-2px); } }
}
.arena-moves:has(.command-card) { margin-block:10px 15px; gap:6px; }
.arena-moves button.command-card { display:grid; margin:0; padding:0; min-height:44px; border-color:var(--edge); background:var(--face); color:#fff7e7; }
.arena-moves .command-art img { height:94px; }
.arena-moves .command-caption { padding:19px 6px 6px; }
.arena-moves .command-caption strong { font-size:20px; }
.arena-moves .command-caption small { font-size:10px; }
@media (max-width:760px) {
  .arena-command-hand { gap:7px; }
  .command-art img { height:clamp(92px,18vw,114px); }
  .command-caption { padding:18px 8px 6px; }
  .command-caption strong { font-size:22px; }
}
@media (max-width:360px) {
  .arena-command-hand { gap:5px; }
  .command-caption { padding-inline:6px; }
  .command-caption small { font-size:10px; }
}
