/* RANKS v4 - shared look. Mirrors Constello (constellogame.com): light page, white cards, black
   buttons, one gold, Georgia wordmark. Tokens first; the designer can retheme from here. */
:root {
    --bg: #f4f4f4;
    --ui-bg: #ffffff;
    --ink: #222;
    --text: #333;
    --muted: #666;
    --subtle: #888;
    --faint: #bbb;
    --line: #e2e2e2;
    --line-soft: #eee;
    --gold: #D9A441;
    --gold-dark: #b8862e;
    --gold-pale: #f7ecd6;
    --red: #d9534f;
    --red-dark: #c9302c;
    --white-tile: #ffffff;
    --black-tile: #1a1a1a;
    --shadow: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-soft: 0 2px 12px rgba(0,0,0,0.04);
    --font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --serif: Georgia, 'Gelasio', 'Times New Roman', serif;
}
* { -webkit-tap-highlight-color: transparent; }
body { background: var(--bg); color: var(--text); font-family: var(--font); margin: 0; }
.hidden { display: none !important; }

/* --- brand: the mark and the wordmark --- */
.brand { display: flex; align-items: center; justify-content: center; gap: 0.45em; flex-wrap: wrap; }
.brand-mark { height: 1.5em; width: auto; flex: none; }
.brand-word { font-family: var(--serif); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-right: -0.18em; }

/* --- buttons --- */
.btn-dark { background: var(--ink); color: #fff; border: none; border-radius: 6px; padding: 12px 18px; min-height: 48px; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1.5px; line-height: 1.2; cursor: pointer; transition: transform 0.1s, background 0.15s; font-family: var(--font); }
.btn-dark:hover { transform: scale(1.02); background: #000; }
.btn-dark:disabled { background: #ccc; cursor: not-allowed; transform: none; }

/* --- action tags, coloured like the buttons on the board --- */
.mv { display: inline-block; padding: 1px 9px; border-radius: 5px; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.6px; line-height: 1.6; margin-right: 4px; }
.mv.d { background: #e2e2e2; color: #333; }
.mv.r { background: var(--gold); color: #fff; }
.mv.s { background: var(--red); color: #fff; }
