.match-page { min-height: 100vh; padding: 1.5rem 1rem; background: #1b1b26; color: #fff; }
.match-container { max-width: 980px; margin: 0 auto; }
.match-title { text-align: center; font-size: 1.75rem; font-weight: 700; margin-bottom: 0.25rem; background: linear-gradient(90deg, #f472b6, #60a5fa, #34d399); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.match-subtitle { text-align: center; color: #94a3b8; margin-bottom: 1.25rem; }
.match-control { background: #292938; padding: 1rem 1.25rem; border-radius: 0.75rem; margin-bottom: 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem; }
.match-stat { background: #3a3a4c; border-radius: 0.5rem; padding: 0.5rem 1rem; font-weight: 600; }
.match-stat span { color: #60a5fa; }
.match-btn { padding: 0.6rem 1.25rem; border: none; border-radius: 0.5rem; background: #427bff; color: #fff; font-weight: 600; cursor: pointer; transition: .2s; text-decoration: none; }
.match-btn:hover { background: #2b62dd; }
#matchBoard { display: grid; grid-template-columns: repeat(8, 64px); gap: 4px; margin: 0 auto; width: fit-content; max-width: 100%; }
.match-cell { width: 64px; height: 64px; border-radius: 0.5rem; cursor: pointer; transition: 0.2s; background-size: cover; background-position: center; background-repeat: no-repeat; background-color: #333; border: 2px solid transparent; }
.match-cell.active { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.35); }
.match-cell.empty { visibility: hidden; }
.match-error { text-align: center; color: #f87171; padding: 2rem 0; }
@media (max-width: 600px) {
    .match-page { padding: 1rem 0.75rem; }
    .match-title { font-size: 1.35rem; }
    .match-subtitle { font-size: 0.85rem; }
    .match-control { flex-direction: column; gap: 0.75rem; width: 100%; }
    .match-stat, .match-btn { width: 100%; text-align: center; }
    #matchBoard { grid-template-columns: repeat(8, 40px); gap: 3px; }
    .match-cell { width: 40px; height: 40px; }
}
