/**
 * Base Styles - Soccer Board
 * 
 * RULES:
 * - Element selectors only (no classes)
 * - Reset + sensible defaults
 * - Uses tokens from tokens.css
 */

/* ================================ */
/* RESET                            */
/* ================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ================================ */
/* DOCUMENT                         */
/* ================================ */
html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg-primary);
    color: var(--color-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================ */
/* FOCUS STYLES                     */
/* ================================ */
:focus-visible {
    outline: 2px solid var(--color-border-focus);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* ================================ */
/* INTERACTIVE ELEMENTS             */
/* ================================ */
button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

button:disabled {
    cursor: not-allowed;
}

input {
    font-family: inherit;
    font-size: inherit;
    border: none;
    background: none;
}

input:focus {
    outline: none;
}

/* ================================ */
/* LABELS                           */
/* ================================ */
label {
    display: block;
    cursor: pointer;
}

/* ================================ */
/* LISTS                            */
/* ================================ */
ul,
ol {
    list-style: none;
}

/* ================================ */
/* ACCESSIBILITY                    */
/* ================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Live region for announcements */
[aria-live] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}