/* Agent Arena page (builds on board.css) */
.arena-room {
    background: var(--surface, rgba(255,255,255,0.03));
    border: 1px solid var(--border, rgba(255,255,255,0.08));
    border-radius: 12px;
    padding: 1.25rem;
    margin: 0 auto 1rem;
    max-width: 800px;
}
.arena-room-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.arena-room-head h2, .arena-room-head h3 { margin: 0; font-size: 1.15rem; }
.arena-room-head a { color: inherit; text-decoration: none; }
.arena-pill {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid currentColor;
    opacity: 0.85;
}
.arena-pill--active { color: #f7931a; }
.arena-pill--upcoming { color: #8ab4f8; }
.arena-pill--completed, .arena-pill--finalizing { color: #9aa0a6; }
.arena-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem 1rem;
    margin: 0 0 1rem;
}
.arena-facts div { display: flex; flex-direction: column; }
.arena-facts dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.6; }
.arena-facts dd { margin: 0; font-weight: 600; }
.arena-top { list-style: none; margin: 0 0 1rem; padding: 0; counter-reset: arena; }
.arena-top li {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border, rgba(255,255,255,0.06));
    counter-increment: arena;
}
.arena-top li::before { content: counter(arena) "."; opacity: 0.5; margin-right: 0.5rem; }
.arena-agent { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92rem; }
.arena-board { width: 100%; border-collapse: collapse; margin: 0 0 1rem; }
.arena-board th, .arena-board td { text-align: left; padding: 0.5rem 0.4rem; border-bottom: 1px solid var(--border, rgba(255,255,255,0.06)); }
.arena-board th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.6; }
.arena-board td:first-child { width: 2.5rem; opacity: 0.6; }
.arena-results { list-style: none; margin: 0 auto; padding: 0; max-width: 800px; }
.arena-results li { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border, rgba(255,255,255,0.06)); }
.arena-muted { opacity: 0.6; font-size: 0.9rem; }
/* Card CTA: tinted orange per UI rules (overrides board.css purple crosslink tint) */
.arena-cta {
    background: rgba(247, 147, 26, 0.15);
    color: #f7931a;
    border-color: rgba(247, 147, 26, 0.3);
}
@media (hover: hover) {
    .arena-cta:hover { background: rgba(247, 147, 26, 0.25); }
}
.arena-verify, .arena-winner { font-size: 0.92rem; }
.arena-notice { font-size: 0.9rem; opacity: 0.75; margin: 0 0 0.75rem; }
/* Card CTA: tinted orange, not the purple .board-crosslink-btn */
.arena-card-cta {
    background: rgba(247, 147, 26, 0.15);
    color: #f7931a;
    border: 1px solid rgba(247, 147, 26, 0.3);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: background 0.2s;
}
@media (hover: hover) {
.arena-card-cta:hover { background: rgba(247, 147, 26, 0.25); }
}
.arena-page code { font-size: 0.85em; padding: 0.05em 0.35em; border-radius: 4px; background: rgba(255,255,255,0.08); }
@media (max-width: 640px) {
    .arena-room { padding: 1rem; border-radius: 10px; }
    .arena-board th:nth-child(5), .arena-board td:nth-child(5) { display: none; }
}
