/*
 * MineScar colours - the only place the brand colours are written as numbers (DESIGN.md, section 3).
 * Everywhere else: var(--ms-*), and for another transparency of a brand colour rgba(var(--ms-*-rgb), .24).
 * css-colors.test.ts fails on a brand colour written as a number outside this file, and on a new colour that is
 * neither a token nor on its list of legacy colours.
 */
:root {
    /* surfaces */
    --ms-bg: #18171C;          /* the page; a card on a panel (server, catalog row, nick field) */
    --ms-panel: #1E1C22;       /* section panels, sheets */
    --ms-field: #2B2831;       /* IP and port fields */

    /* text */
    --ms-text-2: #CFC6CB;      /* light secondary: «Играть», warnings, links in small print */
    --ms-text-3: #988C92;      /* grey: labels, descriptions, inactive */
    --ms-text-4: #A39AA0;      /* «IP» / «ПОРТ» labels, the hours scale */

    /* accent */
    --ms-accent: #FF892C;      /* lines, the online dot, markers, the «−N %» badge */
    --ms-accent-text: #FFAA63; /* orange buttons' and links' text, the chosen chip */

    /* server modes: text colour only */
    --ms-mode-1: #8FE6FF;
    --ms-mode-2: #7FD48C;
    --ms-mode-3: #C98BFF;
    --ms-mode-4: #EE93BD;

    /* channels, for other transparencies: rgba(var(--ms-grey-rgb), .24) */
    --ms-grey-rgb: 152, 140, 146;
    --ms-accent-rgb: 255, 137, 44;
    --ms-accent-text-rgb: 255, 170, 99;
    --ms-buy-rgb: 255, 166, 97;
    --ms-red-rgb: 230, 58, 52;

    /* the transparencies with a name */
    --ms-tile: rgba(var(--ms-grey-rgb), .08);        /* category tiles, payment methods; hover .11 */
    --ms-chip: rgba(var(--ms-grey-rgb), .1);         /* chips, the «510K игроков» line */
    --ms-btn-grey: rgba(var(--ms-grey-rgb), .16);    /* grey buttons «Играть», «Подробнее» */
    --ms-accent-tint: rgba(var(--ms-accent-rgb), .14); /* what is chosen: a chip, a pack */
    --ms-buy: rgba(var(--ms-buy-rgb), .14);          /* the orange button; hover .26 */
    --ms-tag: rgba(var(--ms-accent-text-rgb), .14);  /* «Рекомендуем» */
    --ms-error: rgba(var(--ms-red-rgb), .12);        /* an error plate (text --ms-text-2) */
}
