/* Chadul branding and game artwork extend the shared Ignition appearance. */
@font-face {
    font-family: "Barlow Semi Condensed";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/barlow-semi-condensed-600-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: "Barlow Semi Condensed";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/barlow-semi-condensed-600-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;
}
@font-face {
    font-family: "Barlow Semi Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/barlow-semi-condensed-700-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: "Barlow Semi Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/barlow-semi-condensed-700-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 {
    --ig-font-display: "Barlow Semi Condensed", system-ui, sans-serif;
    --ig-brand: #2468e8;
    --ig-brand-rgb: 36, 104, 232;
    --ig-brand-secondary: #4f86f5;
    --ig-brand-secondary-rgb: 79, 134, 245;
    --ig-brand-deep: #13151b;
    --ig-brand-tint: #e8f0ff;
}

/* The catalogue shares a single header row with the account controls. */
@media (max-width: 36rem) {
    :root[data-ig-game="ignition"] ig-page-header [data-ig-main-site-link] {
        max-inline-size: 50vw;
        padding-inline: .1rem;
    }

    :root[data-ig-game="ignition"] ig-page-header:has(.ig-page-header-item--profile) [data-ig-main-site-link] {
        max-inline-size: 25vw;
    }

    :root[data-ig-game="ignition"] ig-page-header [data-ig-main-site-link] .ig-page-header-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 23rem) {
    :root[data-ig-game="ignition"] ig-page-header:has(.ig-page-header-item--profile) .ig-page-header-shell {
        padding-inline: .125rem;
    }
}

/* Game profiles: brand inputs and optional art only. */
:root[data-ig-game="tenetite"],
.game-identity-mark[data-ig-game="tenetite"] {
    --ig-brand: #b77735;
    --ig-brand-rgb: 183, 119, 53;
    --ig-brand-secondary: #3d8f82;
    --ig-brand-secondary-rgb: 61, 143, 130;
    --ig-brand-deep: #203432;
    --ig-brand-tint: #f6efe5;
    --ig-theme-art: none;
    --ig-theme-art-position: center;
    --ig-theme-pattern-opacity: 0.12;
}

:root[data-ig-game="evermore"],
.game-identity-mark[data-ig-game="evermore"] {
    --ig-brand: #88673c;
    --ig-brand-rgb: 136, 103, 60;
    --ig-brand-secondary: #80688f;
    --ig-brand-secondary-rgb: 128, 104, 143;
    --ig-brand-deep: #282030;
    --ig-brand-tint: #f3ede4;
    --ig-theme-art: url("/assets/images/themes/evermore/evermore-login-art.webp?v=2");
    --ig-theme-art-position: 68% 46%;
}

:root[data-ig-theme="dark"][data-ig-game="evermore"],
:root[data-ig-theme="dark"] .game-identity-mark[data-ig-game="evermore"] {
    --ig-brand: #b98f5b;
    --ig-brand-rgb: 185, 143, 91;
}

:root[data-ig-game="ageofshadows"],
.game-identity-mark[data-ig-game="ageofshadows"] {
    --ig-brand: #58789d;
    --ig-brand-rgb: 88, 120, 157;
    --ig-brand-secondary: #8b6c9f;
    --ig-brand-secondary-rgb: 139, 108, 159;
    --ig-brand-deep: #1a2230;
    --ig-brand-tint: #e9eef4;
    --ig-theme-art: url("/assets/images/themes/ageofshadows/ageofshadows-login-art.webp?v=3");
    --ig-theme-art-position: center;
}

:root[data-ig-game="everbrook"],
.game-identity-mark[data-ig-game="everbrook"] {
    --ig-brand: #6f934f;
    --ig-brand-rgb: 111, 147, 79;
    --ig-brand-secondary: #4f94a3;
    --ig-brand-secondary-rgb: 79, 148, 163;
    --ig-brand-deep: #1b2e26;
    --ig-brand-tint: #eef5e7;
    --ig-theme-art: url("/assets/images/themes/everbrook/everbrook-login-art.webp");
    --ig-theme-art-position: center;
}

:root[data-ig-game="everdeep"],
.game-identity-mark[data-ig-game="everdeep"] {
    --ig-brand: #4f8f64;
    --ig-brand-rgb: 79, 143, 100;
    --ig-brand-secondary: #a38b49;
    --ig-brand-secondary-rgb: 163, 139, 73;
    --ig-brand-deep: #182a22;
    --ig-brand-tint: #edf5ed;
    --ig-theme-art: url("/assets/images/themes/everdeep/everdeep-login-art.webp");
    --ig-theme-art-position: center;
}

:root[data-ig-game="hearthwild"],
.game-identity-mark[data-ig-game="hearthwild"] {
    --ig-brand: #b8793d;
    --ig-brand-rgb: 184, 121, 61;
    --ig-brand-secondary: #6d8d52;
    --ig-brand-secondary-rgb: 109, 141, 82;
    --ig-brand-deep: #30261c;
    --ig-brand-tint: #f5ede2;
    --ig-theme-art: url("/assets/images/themes/hearthwild/hearthwild-login-art.webp");
    --ig-theme-art-position: center;
}

:root[data-ig-game="shadows_of_evermore"],
.game-identity-mark[data-ig-game="shadows_of_evermore"] {
    --ig-brand: #765f94;
    --ig-brand-rgb: 118, 95, 148;
    --ig-brand-secondary: #a9576e;
    --ig-brand-secondary-rgb: 169, 87, 110;
    --ig-brand-deep: #261d31;
    --ig-brand-tint: #f1edf5;
    --ig-theme-art: url("/assets/images/themes/shadows_of_evermore/shadows-of-evermore-login-art.webp");
    --ig-theme-art-position: center;
}

:root[data-ig-theme="dark"][data-ig-game="tenetite"],
:root[data-ig-theme="dark"] .game-identity-mark[data-ig-game="tenetite"] {
    --ig-brand: #cf8a45;
    --ig-brand-rgb: 207, 138, 69;
}

:root[data-ig-theme="dark"][data-ig-game="ageofshadows"],
:root[data-ig-theme="dark"] .game-identity-mark[data-ig-game="ageofshadows"] {
    --ig-brand: #7696ba;
    --ig-brand-rgb: 118, 150, 186;
}

:root[data-ig-theme="dark"][data-ig-game="everbrook"],
:root[data-ig-theme="dark"] .game-identity-mark[data-ig-game="everbrook"] {
    --ig-brand: #8fb66b;
    --ig-brand-rgb: 143, 182, 107;
}

:root[data-ig-theme="dark"][data-ig-game="everdeep"],
:root[data-ig-theme="dark"] .game-identity-mark[data-ig-game="everdeep"] {
    --ig-brand: #69a97d;
    --ig-brand-rgb: 105, 169, 125;
}

:root[data-ig-theme="dark"][data-ig-game="hearthwild"],
:root[data-ig-theme="dark"] .game-identity-mark[data-ig-game="hearthwild"] {
    --ig-brand: #cf955b;
    --ig-brand-rgb: 207, 149, 91;
}

:root[data-ig-theme="dark"][data-ig-game="shadows_of_evermore"],
:root[data-ig-theme="dark"] .game-identity-mark[data-ig-game="shadows_of_evermore"] {
    --ig-brand: #967aba;
    --ig-brand-rgb: 150, 122, 186;
}

:root[data-ig-game="corebound"],
.game-identity-mark[data-ig-game="corebound"] {
  --ig-brand: #278d79;
  --ig-brand-rgb: 39, 141, 121;
  --ig-brand-secondary: #bd914c;
  --ig-brand-secondary-rgb: 189, 145, 76;
  --ig-brand-deep: #153332;
  --ig-brand-tint: #e5f8f3;
}
