.ar.ol-arena[hidden] { display: none; }
.ar.ol-arena { --font-display: var(--display); --font-body: var(--body); }
.ar .ol-roster { grid-template-rows: repeat(4, minmax(0, 1fr)); align-content: start; }
.ar .ol-rival { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 0; padding: 0 16px; border-radius: 22px; background: rgb(255 255 255 / .18); color: inherit; font: 800 clamp(1rem, 3.4vw, 1.5rem)/1.1 var(--font-display); }
.ar .side-left .ol-rival { background: rgb(17 18 43 / .16); }
.ar .ol-rival span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar .ol-versus { font-size: clamp(1.4rem, min(6vw, 6dvh), 3rem); }
.ol { padding: 24px 16px; border-radius: 28px; background: linear-gradient(180deg, #7cc6ff 0, #c5e8ff 55%, #eef9ff 100%); box-shadow: var(--a-shadow); }
.ol h1 { margin: 0; text-align: center; font-size: clamp(2rem, 6vw, 3.4rem); color: #1b1f4b; }
.ol-lead { margin: 8px auto 16px; max-width: 54ch; text-align: center; color: #1f2a63; font-weight: 600; }
.ol-card { box-sizing: border-box; width: 100%; max-width: 520px; margin: 0 auto; padding: 20px; border-radius: 22px; background: #fff; color: #1b1f4b; box-shadow: var(--a-shadow); }
.ol-card h2 { margin: 0 0 8px; font-size: 1.4rem; color: #1b1f4b; }
.ol-lobby { display: grid; gap: 14px; }
.ol-lobby .ol-card { max-width: none; }
.ol-note { margin: 4px 0 10px; color: #565b86; font-size: .95rem; }
.ol-note:empty { display: none; }
.ol-label { display: block; margin: 12px 0 0; font-weight: 700; }
.ol-input { display: block; box-sizing: border-box; width: 100%; min-height: 48px; margin-top: 6px; padding: 0 14px; border: 2px solid #e1e5f7; border-radius: 14px; background: #f2f4ff; color: #1b1f4b; font: 500 16px/1.2 var(--body); }
.ol-code { margin: 0; text-align: center; text-transform: uppercase; letter-spacing: .2em; font: 800 1.2rem/1 var(--display); }
.ol-row { display: flex; gap: 8px; margin-top: 10px; }
.ol-row > * { flex: 1; min-width: 0; }
.ol-main, .ol-second, .ol-team { min-height: 50px; padding: 0 16px; border: 0; border-radius: 16px; font: 800 1rem/1 var(--display); cursor: pointer; }
.ol-main { display: block; width: 100%; margin-top: 14px; background: linear-gradient(180deg, #ffd84d, #ffbe0b); color: #1b1f4b; }
.ol-main:disabled { background: #e1e5f7; color: #565b86; cursor: not-allowed; }
.ol-second { background: #eef1ff; color: #1b1f4b; }
.ol-team.red { background: #ff5233; color: #11122b; }
.ol-team.blue { background: #1b46f5; color: #fff; }
.ol-link { display: block; min-height: 44px; margin: 8px auto 0; border: 0; background: none; color: #2558e8; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.ol-or { margin: 14px 0 0; text-align: center; color: #565b86; }
.ol-error { margin: 10px 0 0; color: #b5361c; font-weight: 700; }
.ol-error:empty { display: none; }
.ol-bigcode { margin: 2px 0 10px; font: 800 clamp(2.6rem, 10vw, 3.6rem)/1 var(--display); letter-spacing: .12em; color: #1b1f4b; }
.ol-invite { text-align: center; }
.ol-qr { display: block; width: min(100%, 220px); height: auto; margin: 0 auto 6px; border-radius: 10px; image-rendering: pixelated; }
.ol-players { display: grid; gap: 6px; margin: 6px 0 4px; }
.ol-player { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 4px 10px; border-radius: 12px; background: #f2f4ff; }
.ol-player strong { overflow-wrap: anywhere; font: 800 .96rem/1.15 var(--display); }
.ol-player small { margin-left: auto; color: #565b86; white-space: nowrap; }
.ol-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #b9c0dd; }
.ol-player.red .ol-dot { background: #ff5233; }
.ol-player.blue .ol-dot { background: #1b46f5; }
.ol-kick { min-height: 32px; border: 0; background: none; color: #b5361c; font: inherit; font-size: .85rem; cursor: pointer; text-decoration: underline; }
.modes.modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 800px) { .ol-lobby { grid-template-columns: 1fr 1fr; align-items: start; } }
