/* lafter.gg/scoreboards -- the boards. The slider hangs from the bar
   (.nav-sub, style.css): a div, not a nav, because the bar's own styles
   land on any nav element and made this one a second bar. */

.boardTabs { display: flex; align-items: center; gap: 3px; margin: 0; padding: 0; }
.boardTab {
    flex: none;
    padding: 4px 14px;
    border: 1px solid transparent; border-radius: 999px;
    color: var(--text-muted); text-decoration: none;
    font-family: var(--font-mono); font-size: 0.72rem; white-space: nowrap;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.boardTab:hover { color: var(--gold); }
.boardTab.on { color: var(--gold); border-color: var(--gold-dim); background: rgba(201, 168, 76, 0.12); }

.boardWrap { max-width: 640px; margin: 0 auto; padding: 22px 20px 90px; font-family: var(--font-mono); }
.boardTitle { margin: 0; font-family: var(--font-head); font-size: 2.3rem; color: var(--heading); }
.boardNote { margin: 0 0 16px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.74rem; }
.boardNote.isErr { color: var(--red-x); }
.boardEmpty { font-size: 0.78rem; color: var(--text-muted); }

.boardTable { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.boardTable th { text-align: left; padding: 6px 10px; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-weight: 400; border-bottom: 1px solid var(--border); }
.boardTable td { padding: 9px 10px; border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent); color: var(--text); }
.boardTable td:first-child { width: 2.5rem; color: var(--gold-dim); }
.boardTable td:last-child, .boardTable th:last-child { text-align: right; }
.boardTable td:last-child { color: var(--gold); }
.boardTable tr.isFirst td:nth-child(2) { color: var(--gold); }

/* An admin's hand on the board: a pencil a row, a + under it. */
.boardTable.isEdit th:last-child, .boardTable.isEdit td:last-child { width: 2rem; text-align: right; color: inherit; }
.boardTable.isEdit td:nth-child(3) { text-align: right; color: var(--gold); }
.boardPencil {
    width: 24px; height: 24px; padding: 4px;
    background: none; border: 1px solid transparent; border-radius: 6px;
    color: var(--text-muted); cursor: pointer; transition: color 0.15s, border-color 0.15s;
}
.boardPencil svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.boardPencil:hover { color: var(--gold); border-color: var(--gold-dim); }
.boardAdd {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; margin-top: 12px; padding: 0;
    background: none; border: 1px dashed var(--border); border-radius: 50%;
    color: var(--text-muted); font-family: var(--font-mono); font-size: 1.05rem; line-height: 1; cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}
.boardAdd:hover { color: var(--gold); border-color: var(--gold-dim); }
