/* C-02: каркас страницы шахматки; сетка — в chess-mobile.css */
body { margin: 0; background: #F5F3ED; color: #0B0B0C; font-family: Onest, system-ui, sans-serif; }
#app { max-width: 1200px; margin: 0 auto; padding: 16px; }
.chess-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.chess-head h1 { margin: 0; font-size: 24px; }
.chess-head h1::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 6px; background: #C9A96E; }
.chess-count { margin: 0; font-size: 14px; }
.chess-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chess-tabs button { min-height: 44px; padding: 0 16px; border: 1px solid #0B0B0C; border-radius: 6px; background: transparent; color: #0B0B0C; font: inherit; cursor: pointer; }
.chess-tabs button[aria-pressed="true"] { background: #0B0B0C; color: #F5F3ED; }
.chess-tabs button:focus-visible { outline: 3px solid #C9A96E; outline-offset: 2px; }
.panda-chess__table .chess-entrance { background: #0B0B0C; color: #C9A96E; height: 36px; white-space: nowrap; border-left: 4px solid #F5F3ED; }
.panda-chess__table .chess-entrance-first { border-left: 0; }
.panda-chess__table .chess-gap { border-left: 4px solid #F5F3ED; }
