/* Local GuildCore theme tokens. Kept in this project so RaidSignup runs independently. */
/* Shared portal palette: charcoal surfaces, orange actions and walnut accents.
   Class, item-quality, map and status colors remain semantic in their modules. */
/* Self-hosted Roboto from Google Fonts. See /fonts/Roboto-OFL.txt. */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/roboto-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/roboto-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;

  --bg-primary: #171717;
  --bg-secondary: #1d1d1d;
  --bg-card: #252525;
  --bg-elevated: #2d2d2d;
  --bg-hover: #353535;
  --bg-inset: #141414;
  --border: #3e3c39;
  --border-hover: #625b53;

  --text-primary: #e8e4de;
  --text-secondary: #bfb8b0;
  --text-muted: #a39b93;

  --accent: #d09357;
  --accent-hover: #dda56c;
  --accent-active: #bd8046;
  --accent-ink: #24180d;
  --accent-soft: #473d30;
  --accent-border: #806044;
  --focus-ring: #b7773e;

  --bg-warm: #2c2723;
  --bg-warm-elevated: #352e28;
  --nav-hover: var(--bg-elevated);
  --nav-selected: #3a322b;
  --border-warm: #594c40;
  --brown: #ad9175;
  --text-warm: #cebea9;

  --font-heading:
    "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --surface-grain: url("/assets/stone-grain.svg");
  --surface-stone: var(--surface-grain);
  --surface-leather:
    linear-gradient(180deg, rgb(173 145 117 / 3%), transparent),
    var(--surface-grain);
  --frame-shadow: 0 3px 12px rgb(0 0 0 / 16%);

  --success: #86c9aa;
  --warning: #ddb57d;
  --danger: #e79091;
}

:root {
  --success-bg: #253b31;
  --success-border: #416c55;
  --warning-bg: #3d3021;
  --warning-border: #725535;
  --role-tank: #91b5da;
  --role-healer: #86c9aa;
  --role-damage: #e79091;
  --role-melee: #e79091;
  --role-ranged: #c3a3e8;
  --table-red: #e79091;
  --table-orange: #e9a56b;
  --table-yellow: #e3cf7a;
  --table-green: #86c9aa;
  --table-blue: #91b5da;
  --table-purple: #c3a3e8;
  --danger-bg: #42292a;
  --danger-border: #7a4446;
  --radius: 10px;

  /* WoW class colors; shaman is lightened to stay readable on charcoal. */
  --class-warrior: #c69b6d;
  --class-paladin: #f48cba;
  --class-hunter: #aad372;
  --class-rogue: #fff468;
  --class-priest: #ffffff;
  --class-shaman: #4aa3ff;
  --class-mage: #3fc7eb;
  --class-warlock: #8788ee;
  --class-druid: #ff7c0a;

  /* Warcraft Logs parse bands, lightened where WCL's own colour is too dark;
     each is at least 4.5:1 on --bg-card and --bg-hover. */
  --parse-grey: #a3a3a3;
  --parse-green: #1eff00;
  --parse-blue: #5ca6ff;
  --parse-purple: #c283f6;
  --parse-orange: #ff8000;
  --parse-pink: #ee7fb8;
  --parse-gold: #e5cc80;
  /* A parse over fewer than three kills: a shade lighter than --text-muted,
     which is 4.48:1 on --bg-hover. */
  --parse-muted: #aba49d;
}
