/* ArenaMeet — shared design tokens and base styles (original work).
 *
 * Palette: deep dark background, cyan accent, no emoji.
 * Every ArenaMeet page loads this file first; page-specific styles
 * build on the variables below.
 */

:root {
    --am-bg: #090d12;
    --am-panel: #101720;
    --am-panel-2: #121b26;
    --am-border: rgba(245, 247, 250, 0.09);
    --am-text: #f5f7fa;
    --am-muted: #929dac;
    --am-accent: #12c8e8;
    --am-accent-dark: #0d9db8;
    --am-accent-soft: rgba(18, 200, 232, 0.12);
    --am-danger: #ef4444;
    --am-success: #22c55e;
    --am-warning: #f59e0b;
    --body-bg: var(--am-bg);
    --radius: 12px;
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--am-bg);
    color: var(--am-text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* The `hidden` attribute must always win over any display rule set on
   the same element, otherwise panels and overlays that are meant to be
   closed stay visible. This global rule is the guard for that trap. */
[hidden] {
    display: none !important;
}

a {
    color: var(--am-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
}

input {
    font-family: inherit;
}
