const RR_ART = "https://www.kiduna.design/royals-and-rogues/v2/art/";
const RR_CLASSES = [
  { id: "merchant", ord: "01", name: "Merchant", arch: "Adaptive / Midrange", art: RR_ART + "power/class-merchant.png",
    desc: "Build resources, trade items, and convert patient advantage into explosive turns.",
    plan: ["Accumulate", "Exchange", "Explode"],
    powers: [["Bargain Bin","round"],["Deal of a Lifetime!","round"],["Expansion Plans","setup"],["Fire Sale","round"],["Hidden Gems","showdown"],["Hired Muscle","round"],["Hot Tip!","setup"],["Irresistible Offer","round"],["Mystical Wares","setup"],["Rotate Merchandise","showdown"],["Special Delivery!","round"],["Wheel and Deal","round"]] },
  { id: "noble", ord: "02", name: "Noble", arch: "Tight / Control", art: RR_ART + "power/class-noble.png",
    desc: "Protect the stack, shape the table, and turn social leverage into control.", plan: ["Protect","Shape","Command"], powers: null },
  { id: "rogue", ord: "03", name: "Rogue", arch: "Tight / Aggressive", art: RR_ART + "power/class-rogue.png",
    desc: "Steal tempo, manipulate the deck, and spring sharp reversals.", plan: ["Steal","Manipulate","Reverse"], powers: null },
  { id: "warrior", ord: "04", name: "Warrior", arch: "Loose / Aggressive", art: RR_ART + "power/class-warrior.png",
    desc: "Force the pace, break board certainty, and attack the stack directly.", plan: ["Force","Break","Attack"], powers: null }
];
const RR_COURTS = [
  { id: "king", name: "King", domain: "Wealth", art: RR_ART + "power/court-king.png", hue: "var(--court-king)" },
  { id: "jack", name: "Jack", domain: "Skill", art: RR_ART + "power/court-jack.png", hue: "var(--court-jack)" },
  { id: "joker", name: "Joker", domain: "Craftiness", art: RR_ART + "power/court-joker.png", hue: "var(--court-joker)" },
  { id: "queen", name: "Queen", domain: "Intellect", art: RR_ART + "power/court-queen.png", hue: "var(--court-queen)" }
];
const RR_WINDOWS = [
  { ord: "01", name: "Setup", when: "After hole cards are dealt and before betting begins", how: "Reveal and resolve clockwise from the dealer.", key: "setup" },
  { ord: "02", name: "Round", when: "On your turn before checking, betting, or folding", how: "Play any compatible sequence before taking the poker action.", key: "round" },
  { ord: "03", name: "Showdown", when: "After the final betting round and before hole cards are revealed", how: "Set face down, then resolve in betting order.", key: "showdown" },
  { ord: "04", name: "Counter", when: "When its stated trigger occurs, including outside your turn", how: "Resolve the newest response first when a counter chain forms.", key: "counter" }
];
const RR_MK_BLURB = "Stack as many Item Cards as possible to exchange for extra hole cards or sell back to the bank with Fire Sale. Fold out of trouble, and take down key hands with your wombo-combos!";
Object.assign(window, { RR_ART, RR_CLASSES, RR_COURTS, RR_WINDOWS, RR_MK_BLURB });