.cms-tournament-switch{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.cms-tournament-switch[hidden],#cms-tournament-note[hidden]{display:none}
.cms-tournament-switch button{appearance:none;border:1px solid currentColor;border-radius:20px;padding:9px 15px;background:transparent;color:inherit;font:inherit;font-size:13px;line-height:1.25;cursor:pointer;opacity:.7}
.cms-tournament-switch button[aria-pressed="true"]{background:#176b46;color:#fff;border-color:#176b46;opacity:1}
.cms-tournament-switch button:focus-visible{outline:3px solid #c69838;outline-offset:3px}
#cms-tournament-note{margin:10px 0 16px}

.cms-history-scope{background:transparent;color:inherit;border:1px solid currentColor;border-radius:16px;font:inherit;font-size:12px;padding:7px 12px;margin:8px 0 12px;cursor:pointer}
.cms-history-scope:focus-visible{outline:3px solid #c69838;outline-offset:3px}
.cms-tournament-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.cms-tournament-game{display:flex;flex-direction:column;gap:8px;border:1px solid #8b9b9b55;border-radius:12px;padding:14px;min-width:0}
.cms-tournament-game strong{align-self:flex-start;background:#176b46;color:#fff;border-radius:5px;padding:4px 9px;font-size:18px}
.cms-tournament-game b{font-size:12px;line-height:1.5}
@media(max-width:700px){.cms-tournament-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
