/* Independent illustrated families in fixed, shared icon boxes. */
body.pc.skin-obsidian{--theme-icon-bonuses:url("themes/obsidian/icons/bonuses-v1.webp");--theme-icon-home:url("themes/obsidian/icons/home.webp");--theme-icon-campaign:url("themes/obsidian/icons/campaign.webp");--theme-icon-deck:url("themes/obsidian/icons/deck.webp");--theme-icon-help:url("themes/obsidian/icons/help.webp");--theme-icon-energy:url("themes/obsidian/icons/energy.webp");--theme-icon-mana:url("themes/obsidian/icons/mana.webp");--theme-icon-gold:url("themes/obsidian/icons/gold.webp");--theme-icon-health:url("themes/obsidian/icons/health.webp");--theme-icon-energy-vial:url("themes/obsidian/icons/energy-vial.webp");--theme-icon-mana-vial:url("themes/obsidian/icons/mana-vial.webp");--theme-icon-attack:url("themes/obsidian/icons/attack.webp");--theme-icon-tokens:url("themes/obsidian/icons/tokens.webp");--theme-icon-shards:url("themes/obsidian/icons/shards.webp");--theme-icon-chest-bronze:url("themes/obsidian/icons/chest-bronze.webp");--theme-icon-chest-silver:url("themes/obsidian/icons/chest-silver.webp");--theme-icon-chest-gold:url("themes/obsidian/icons/chest-gold.webp");--theme-icon-victory:url("themes/obsidian/icons/victory.webp");--theme-icon-defeat:url("themes/obsidian/icons/defeat.webp");--theme-icon-my-group:url("themes/obsidian/icons/my-group.webp");--theme-icon-profile:url("themes/obsidian/icons/profile.webp");--theme-icon-collection:url("themes/obsidian/icons/collection.webp");--theme-icon-settings:url("themes/obsidian/icons/settings.webp");--theme-icon-burning:url("themes/obsidian/icons/burning.webp");--theme-icon-fusion:url("themes/obsidian/icons/fusion.webp");--theme-icon-minting:url("themes/obsidian/icons/minting.webp");--theme-icon-climb:url("themes/obsidian/icons/climb.webp");--theme-icon-pride-shop:url("themes/obsidian/icons/pride-shop.webp");--theme-icon-trophy:url("themes/obsidian/icons/trophy.webp");--theme-icon-defend:url("themes/obsidian/icons/defend.webp")}
body.pc.skin-marble{--theme-icon-bonuses:url("themes/marble/icons/bonuses-v1.webp");--theme-icon-home:url("flat-colour/home-v1.png");--theme-icon-campaign:url("flat-colour/campaign-v1.png");--theme-icon-deck:url("flat-colour/deck-v1.png");--theme-icon-help:url("flat-colour/help-v1.png");--theme-icon-energy:url("flat-colour/energy-v1.png");--theme-icon-mana:url("flat-colour/mana-v1.png");--theme-icon-gold:url("flat-colour/gold-v1.png");--theme-icon-health:url("flat-colour/health-v1.png");--theme-icon-energy-vial:url("flat-colour/energy-vial-v1.png");--theme-icon-mana-vial:url("flat-colour/mana-vial-v1.png");--theme-icon-attack:url("flat-colour/attack-v1.png");--theme-icon-tokens:url("flat-colour/tokens-v1.png");--theme-icon-shards:url("flat-colour/shards-v1.png");--theme-icon-chest-bronze:url("flat-colour/chest-bronze-v1.png");--theme-icon-chest-silver:url("flat-colour/chest-silver-v1.png");--theme-icon-chest-gold:url("flat-colour/chest-gold-v1.png");--theme-icon-victory:url("flat-colour/victory-v1.png");--theme-icon-defeat:url("flat-colour/defeat-v1.png");--theme-icon-my-group:url("flat-colour/my-group-v1.png");--theme-icon-profile:url("flat-colour/profile-v1.png");--theme-icon-collection:url("flat-colour/collection-v1.png");--theme-icon-settings:url("flat-colour/settings-v1.png");--theme-icon-burning:url("flat-colour/burning-v1.png");--theme-icon-fusion:url("flat-colour/fusion-v1.png");--theme-icon-minting:url("flat-colour/minting-v1.png");--theme-icon-climb:url("flat-colour/climb-v1.png");--theme-icon-pride-shop:url("flat-colour/pride-shop-v1.png");--theme-icon-trophy:url("flat-colour/trophy-v1.png");--theme-icon-defend:url("flat-colour/defend-v1.png")}
body.pc.skin-malachite{--theme-icon-bonuses:url("themes/malachite/icons/bonuses-v1.webp");--theme-icon-home:url("themes/malachite/icons/home.webp");--theme-icon-campaign:url("themes/malachite/icons/campaign.webp");--theme-icon-deck:url("themes/malachite/icons/deck.webp");--theme-icon-help:url("themes/malachite/icons/help.webp");--theme-icon-energy:url("themes/malachite/icons/energy.webp");--theme-icon-mana:url("themes/malachite/icons/mana.webp");--theme-icon-gold:url("themes/malachite/icons/gold.webp");--theme-icon-health:url("themes/malachite/icons/health.webp");--theme-icon-energy-vial:url("themes/malachite/icons/energy-vial.webp");--theme-icon-mana-vial:url("themes/malachite/icons/mana-vial.webp");--theme-icon-attack:url("themes/malachite/icons/attack.webp");--theme-icon-tokens:url("themes/malachite/icons/tokens.webp");--theme-icon-shards:url("themes/malachite/icons/shards.webp");--theme-icon-chest-bronze:url("themes/malachite/icons/chest-bronze.webp");--theme-icon-chest-silver:url("themes/malachite/icons/chest-silver.webp");--theme-icon-chest-gold:url("themes/malachite/icons/chest-gold.webp");--theme-icon-victory:url("themes/malachite/icons/victory.webp");--theme-icon-defeat:url("themes/malachite/icons/defeat.webp");--theme-icon-my-group:url("themes/malachite/icons/my-group.webp");--theme-icon-profile:url("themes/malachite/icons/profile.webp");--theme-icon-collection:url("themes/malachite/icons/collection.webp");--theme-icon-settings:url("themes/malachite/icons/settings.webp");--theme-icon-burning:url("themes/malachite/icons/burning.webp");--theme-icon-fusion:url("themes/malachite/icons/fusion.webp");--theme-icon-minting:url("themes/malachite/icons/minting.webp");--theme-icon-climb:url("themes/malachite/icons/climb.webp");--theme-icon-pride-shop:url("themes/malachite/icons/pride-shop.webp");--theme-icon-trophy:url("themes/malachite/icons/trophy.webp");--theme-icon-defend:url("themes/malachite/icons/defend.webp")}
body.pc.skin-atlas{--theme-icon-bonuses:url("themes/atlas/icons/bonuses-v1.webp");--theme-icon-home:url("themes/atlas/icons/home.webp");--theme-icon-campaign:url("themes/atlas/icons/campaign.webp");--theme-icon-deck:url("themes/atlas/icons/deck.webp");--theme-icon-help:url("themes/atlas/icons/help.webp");--theme-icon-energy:url("themes/atlas/icons/energy.webp");--theme-icon-mana:url("themes/atlas/icons/mana.webp");--theme-icon-gold:url("themes/atlas/icons/gold.webp");--theme-icon-health:url("themes/atlas/icons/health.webp");--theme-icon-energy-vial:url("themes/atlas/icons/energy-vial.webp");--theme-icon-mana-vial:url("themes/atlas/icons/mana-vial.webp");--theme-icon-attack:url("themes/atlas/icons/attack.webp");--theme-icon-tokens:url("themes/atlas/icons/tokens.webp");--theme-icon-shards:url("themes/atlas/icons/shards.webp");--theme-icon-chest-bronze:url("themes/atlas/icons/chest-bronze.webp");--theme-icon-chest-silver:url("themes/atlas/icons/chest-silver.webp");--theme-icon-chest-gold:url("themes/atlas/icons/chest-gold.webp");--theme-icon-victory:url("themes/atlas/icons/victory.webp");--theme-icon-defeat:url("themes/atlas/icons/defeat.webp");--theme-icon-my-group:url("themes/atlas/icons/my-group.webp");--theme-icon-profile:url("themes/atlas/icons/profile.webp");--theme-icon-collection:url("themes/atlas/icons/collection.webp");--theme-icon-settings:url("themes/atlas/icons/settings.webp");--theme-icon-burning:url("themes/atlas/icons/burning.webp");--theme-icon-fusion:url("themes/atlas/icons/fusion.webp");--theme-icon-minting:url("themes/atlas/icons/minting.webp");--theme-icon-climb:url("themes/atlas/icons/climb.webp");--theme-icon-pride-shop:url("themes/atlas/icons/pride-shop.webp");--theme-icon-trophy:url("themes/atlas/icons/trophy.webp");--theme-icon-defend:url("themes/atlas/icons/defend.webp")}
body.pc.skin-lapis{--theme-icon-bonuses:url("themes/lapis/icons/bonuses-v1.webp");--theme-icon-home:url("themes/lapis/icons/home.webp");--theme-icon-campaign:url("themes/lapis/icons/campaign.webp");--theme-icon-deck:url("themes/lapis/icons/deck.webp");--theme-icon-help:url("themes/lapis/icons/help.webp");--theme-icon-energy:url("themes/lapis/icons/energy.webp");--theme-icon-mana:url("themes/lapis/icons/mana.webp");--theme-icon-gold:url("themes/lapis/icons/gold.webp");--theme-icon-health:url("themes/lapis/icons/health.webp");--theme-icon-energy-vial:url("themes/lapis/icons/energy-vial.webp");--theme-icon-mana-vial:url("themes/lapis/icons/mana-vial.webp");--theme-icon-attack:url("themes/lapis/icons/attack.webp");--theme-icon-tokens:url("themes/lapis/icons/tokens.webp");--theme-icon-shards:url("themes/lapis/icons/shards.webp");--theme-icon-chest-bronze:url("themes/lapis/icons/chest-bronze.webp");--theme-icon-chest-silver:url("themes/lapis/icons/chest-silver.webp");--theme-icon-chest-gold:url("themes/lapis/icons/chest-gold.webp");--theme-icon-victory:url("themes/lapis/icons/victory.webp");--theme-icon-defeat:url("themes/lapis/icons/defeat.webp");--theme-icon-my-group:url("themes/lapis/icons/my-group.webp");--theme-icon-profile:url("themes/lapis/icons/profile.webp");--theme-icon-collection:url("themes/lapis/icons/collection.webp");--theme-icon-settings:url("themes/lapis/icons/settings.webp");--theme-icon-burning:url("themes/lapis/icons/burning.webp");--theme-icon-fusion:url("themes/lapis/icons/fusion.webp");--theme-icon-minting:url("themes/lapis/icons/minting.webp");--theme-icon-climb:url("themes/lapis/icons/climb.webp");--theme-icon-pride-shop:url("themes/lapis/icons/pride-shop.webp");--theme-icon-trophy:url("themes/lapis/icons/trophy.webp");--theme-icon-defend:url("themes/lapis/icons/defend.webp")}
/* Full-colour flat illustrations, 15 Oct 2026. Same image boxes, no icon masks.
   Masters and prompts: design/letopis/2026-10-15-colour/. Existing approved eight
   site illustrations are reused; portraits, card directions and wheel geometry stay. */
body.pc.layout-standard :is(img[data-ic="nav_home"],img[src$="illustrated/home.webp"]){--annals-colour-icon:var(--theme-icon-home)}
body.pc.layout-standard :is(img[data-ic="nav_campaign"],img[src$="illustrated/campaign.webp"]){--annals-colour-icon:var(--theme-icon-campaign)}
body.pc.layout-standard :is(img[data-ic="nav_deck"],img[data-ic="ic_cards"],img[src$="illustrated/deck.webp"]){--annals-colour-icon:var(--theme-icon-deck)}
body.pc.layout-standard :is(.lgrules img,img[src$="illustrated/help.webp"]){--annals-colour-icon:var(--theme-icon-help)}
body.pc.layout-standard :is(img[data-ic="ic_energy"],img[src$="illustrated/energy.webp"]){--annals-colour-icon:var(--theme-icon-energy)}
body.pc.layout-standard :is(img[data-ic="ic_mana"],img[src$="illustrated/mana-drop.webp"]){--annals-colour-icon:var(--theme-icon-mana)}
body.pc.layout-standard :is(img[data-ic="ic_gold"],img[src$="illustrated/gold.webp"]){--annals-colour-icon:var(--theme-icon-gold)}
body.pc.layout-standard :is(img[data-ic="ic_hp"],img[src$="illustrated/health.webp"]){--annals-colour-icon:var(--theme-icon-health)}
body.pc.layout-standard :is(img[src$="illustrated/energy-vial.webp"]){--annals-colour-icon:var(--theme-icon-energy-vial)}
body.pc.layout-standard :is(img[src$="illustrated/mana.webp"]){--annals-colour-icon:var(--theme-icon-mana-vial)}
body.pc.layout-standard :is(img[data-ic="ic_attack"],img[src$="illustrated/attack.webp"]){--annals-colour-icon:var(--theme-icon-attack)}
body.pc.layout-standard :is(img[src$="illustrated/token.webp"]){--annals-colour-icon:var(--theme-icon-tokens)}
body.pc.layout-standard :is(img[src$="illustrated/shards.webp"]){--annals-colour-icon:var(--theme-icon-shards)}
body.pc.layout-standard :is(img[src$="chest-bronze-closed.webp"]){--annals-colour-icon:var(--theme-icon-chest-bronze)}
body.pc.layout-standard :is(img[src$="chest-silver-closed.webp"]){--annals-colour-icon:var(--theme-icon-chest-silver)}
body.pc.layout-standard :is(img[src$="illustrated/chest-closed.webp"]){--annals-colour-icon:var(--theme-icon-chest-gold)}
body.pc.layout-standard :is(img[src$="illustrated/victory-v2.webp"]){--annals-colour-icon:var(--theme-icon-victory)}
body.pc.layout-standard :is(img[src$="illustrated/defeat.webp"]){--annals-colour-icon:var(--theme-icon-defeat)}
body.pc.layout-standard :is(#tt-grp img){--annals-colour-icon:var(--theme-icon-my-group)}
body.pc.layout-standard :is(#profile .ptab img[src$="illustrated/level.webp"]){--annals-colour-icon:var(--theme-icon-profile)}
body.pc.layout-standard :is(#profile .ptab img[src$="illustrated/deck.webp"]){--annals-colour-icon:var(--theme-icon-collection)}
body.pc.layout-standard :is(img[src$="illustrated/settings.webp"]){--annals-colour-icon:var(--theme-icon-settings)}
body.pc.layout-standard :is(.mode .mimg[src$="illustrated/burn.webp"]){--annals-colour-icon:var(--theme-icon-burning)}
body.pc.layout-standard :is(.mode .mimg[src$="illustrated/fusion.webp"]){--annals-colour-icon:var(--theme-icon-fusion)}
body.pc.layout-standard :is(#m-shards .mimg){--annals-colour-icon:var(--theme-icon-minting)}
body.pc.layout-standard :is(#tt-top img){--annals-colour-icon:var(--theme-icon-climb)}
body.pc.layout-standard :is(#home .home-market-icon,#league .tour-market-heading>img){--annals-colour-icon:var(--theme-icon-pride-shop)}
body.pc.layout-standard :is(img[data-ic="nav_league"],img[src$="illustrated/tournament.webp"],.home-tournament-emblem,.tour-league-emblem){--annals-colour-icon:var(--theme-icon-trophy)}
body.pc.layout-standard :is(#tt-def img,#home .home-log-empty img){--annals-colour-icon:var(--theme-icon-defend)}
body.pc.layout-standard :is(img[data-ic="nav_home"],
 img[src$="illustrated/home.webp"],
 img[data-ic="nav_campaign"],
 img[src$="illustrated/campaign.webp"],
 img[data-ic="nav_deck"],
 img[data-ic="ic_cards"],
 img[src$="illustrated/deck.webp"],
 .lgrules img,
 img[src$="illustrated/help.webp"],
 img[data-ic="ic_energy"],
 img[src$="illustrated/energy.webp"],
 img[data-ic="ic_mana"],
 img[src$="illustrated/mana-drop.webp"],
 img[data-ic="ic_gold"],
 img[src$="illustrated/gold.webp"],
 img[data-ic="ic_hp"],
 img[src$="illustrated/health.webp"],
 img[src$="illustrated/energy-vial.webp"],
 img[src$="illustrated/mana.webp"],
 img[data-ic="ic_attack"],
 img[src$="illustrated/attack.webp"],
 img[src$="illustrated/token.webp"],
 img[src$="illustrated/shards.webp"],
 img[src$="chest-bronze-closed.webp"],
 img[src$="chest-silver-closed.webp"],
 img[src$="illustrated/chest-closed.webp"],
 img[src$="illustrated/victory-v2.webp"],
 img[src$="illustrated/defeat.webp"],
 #tt-grp img,
 #profile .ptab img[src$="illustrated/level.webp"],
 #profile .ptab img[src$="illustrated/deck.webp"],
 img[src$="illustrated/settings.webp"],
 .mode .mimg[src$="illustrated/burn.webp"],
 .mode .mimg[src$="illustrated/fusion.webp"],
 #m-shards .mimg,
 #tt-top img,
 #home .home-market-icon,
 #league .tour-market-heading>img,
 img[data-ic="nav_league"],
 img[src$="illustrated/tournament.webp"],
 .home-tournament-emblem,
 .tour-league-emblem,
 #tt-def img,
 #home .home-log-empty img):not(#walletgate *){object-position:-99999px 0;filter:none;opacity:1;background:var(--annals-colour-icon) center/contain no-repeat;-webkit-mask:none;mask:none}
body.pc.layout-standard #helpbtn::before{background:var(--theme-icon-help) center/contain no-repeat;-webkit-mask:none;mask:none}
body.pc.layout-standard .settings-action.tutorial-action::before{background:var(--theme-icon-help) center/contain no-repeat}
/* Keep the official X silhouette; each skin supplies its own material and metal edge. */
body.pc.layout-standard .phone .social-x{color:#fff;background:var(--annals-sheet);border-color:var(--annals-gold-soft);box-shadow:inset 0 0 0 3px var(--annals-paper),inset 0 0 0 4px var(--annals-gold-faint);border-radius:4px}
body.pc.layout-standard:is(.skin-marble,.skin-atlas) .phone .social-x{color:#000}

body.pc.layout-standard #settingsbtn::before{background:var(--theme-icon-settings) center/contain no-repeat;-webkit-mask:none;mask:none}

body.pc.layout-standard #t-bonuses img{object-position:-99999px 0;filter:none;opacity:1;background:var(--theme-icon-bonuses) center/contain no-repeat;-webkit-mask:none;mask:none}
