.rhy-root{display:flex;flex-direction:column;gap:12px;width:100%;min-width:0;color:var(--ink,#202842)}
.rhy-root *{box-sizing:border-box}
.rhy-root p,.rhy-root h3{margin:0}
.rhy-title{font-size:21px;line-height:1.3}
.rhy-instructions{font-size:14px;line-height:1.5;color:var(--muted,#66708a);text-align:center}
.rhy-topline{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px;font-weight:650;color:var(--muted,#66708a);font-variant-numeric:tabular-nums}
.rhy-board{display:block;width:100%;height:280px;min-width:0;max-width:100%;border-radius:16px;touch-action:none;user-select:none;-webkit-user-select:none}
.rhy-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.rhy-stat{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;font-variant-numeric:tabular-nums}
.rhy-stat>span{font-size:14px;color:var(--muted,#66708a);line-height:1.2}
.rhy-stat>strong{font-size:19px;color:var(--ink,#202842);line-height:1.2}
.rhy-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.rhy-controls.rhy-one-lane{grid-template-columns:1fr}
.rhy-hit{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:56px;padding:12px 8px;border:0;border-radius:13px;font-size:17px;font-weight:750;color:#202842;background:#ffe1d6;touch-action:none;user-select:none;-webkit-user-select:none;transition:filter .08s}
.player-1 .rhy-hit.rhy-lane-0{background:#e5dcff}
.rhy-hit.rhy-lane-1{background:#c9f3e5}
.rhy-hit:hover{filter:brightness(.97);background:#ffe1d6}
.player-1 .rhy-hit.rhy-lane-0:hover{background:#e5dcff}
.rhy-hit.rhy-lane-1:hover{background:#c9f3e5}
.rhy-hit:active{filter:brightness(.9)}
.rhy-hit:disabled{opacity:.5}
.rhy-button-mark{font-size:20px;line-height:1}
.rhy-button-key{font-size:16px;line-height:1.1}
.rhy-feedback{min-height:1.4em;font-size:16px;font-weight:650;line-height:1.4;text-align:center;color:var(--muted,#66708a)}
.rhy-feedback[data-kind=perfect],.rhy-feedback[data-kind=good]{color:#217d60}
.rhy-feedback[data-kind=miss]{color:#b6573e}
.rhy-key-help{font-size:14px;line-height:1.5;text-align:center;color:var(--muted,#66708a)}
@media(max-width:560px){
 .arena.two.compact .rhy-root{gap:7px}
 .arena.two.compact .rhy-title,.arena.two.compact .rhy-instructions,.arena.two.compact .rhy-key-help{display:none}
 .arena.two.compact .rhy-board{height:205px;border-radius:12px}
 .arena.two.compact .rhy-stats{gap:6px}
 .arena.two.compact .rhy-stat{flex-direction:column;align-items:flex-start;gap:3px}
 .arena.two.compact .rhy-stat>span{font-size:14px}
 .arena.two.compact .rhy-stat>strong{font-size:16px}
 .arena.two.compact .rhy-controls{gap:7px}
 .arena.two.compact .rhy-hit{min-height:52px;padding:10px 4px;gap:6px;border-radius:11px}
 .arena.two.compact .rhy-button-key{font-size:16px}
 .arena.two.compact .rhy-button-mark{font-size:17px}
 .arena.two.compact .rhy-feedback{font-size:14px;min-height:2.7em;line-height:1.35}
 .arena.two.compact .rhy-topline{font-size:14px}
}
@media(max-height:550px) and (orientation:landscape){.rhy-board{height:155px}.rhy-title,.rhy-instructions{display:none}.rhy-root{gap:7px}.rhy-key-help{display:none}.rhy-hit{min-height:44px}}
@media(prefers-reduced-motion:reduce){.rhy-hit{transition:none}}
