/*
 * Liveries -- the colour of a place.
 *
 * Every rule in frame.css is written against these names and holds no colour of
 * its own, so a location is a swap of this block and nothing else. That is the
 * whole point: the old build carried a near-copy of the theme's rules per city
 * (orodlin.m.css, orodlin.a.css, and so on), and they drifted.
 *
 * Values come from the Medieval Frame design with its Wersja II overrides
 * already folded in -- version I is not shipped, so carrying it as a separate
 * layer would only invite it back.
 *
 * A theme owns this file. Themes may also add plain rules of their own after
 * the token block when tokens cannot express what they want; frame.css does not
 * care either way.
 */

/* Althoria -- capital_city */
:root, /* Althoria is the default, so it also answers for anything
         rendered outside a location -- error pages, the switcher. */
.loc-althoria {
  /* grounds */
  --page: #0b0906;
  --panel: #17140d;
  --field: #0b0906;
  /* rules, three strengths */
  --rule: #7a6737;
  --rule-soft: #4a4026;
  --rule-faint: #241f14;
  /* text */
  --ink: #BDB48C;
  --ink-str: #E4D9B8;
  --muted: #a98c48;
  /* accent */
  --gilt: #DCC078;
  --gilt-br: #E9CE84;
  --gilt-hi: #F0DCA0;
  /* overlays */
  --hair: rgba(216,184,99,0.13);
  --wash: rgba(216,184,99,0.08);
  --scrim: rgba(7,6,3,0.82);
  /* headers and buttons */
  --head-a: #1e1a11;
  --head-b: #141109;
  --btn-a: #2a2315;
  --btn-b: #17130c;
  --btn-ha: #362c1a;
  --btn-hb: #1d180f;
  /* bars and chips */
  --bar-bg: #241f14;
  --bar-bd: #4a3f24;
  --chip-bg: #191509;
  --chip-bd: #4a3f24;
}

/* Keldor -- mountain_city */
.loc-keldorn {
  /* grounds */
  --page: #0d0805;
  --panel: #1a120a;
  --field: #0d0704;
  /* rules, three strengths */
  --rule: #8a5c2c;
  --rule-soft: #513218;
  --rule-faint: #2a1a0e;
  /* text */
  --ink: #C7A98C;
  --ink-str: #EFD6B8;
  --muted: #b3763a;
  /* accent */
  --gilt: #E89A55;
  --gilt-br: #F0A85A;
  --gilt-hi: #FFC98A;
  /* overlays */
  --hair: rgba(224,138,60,0.14);
  --wash: rgba(224,138,60,0.09);
  --scrim: rgba(10,6,3,0.82);
  /* headers and buttons */
  --head-a: #241408;
  --head-b: #170d06;
  --btn-a: #331c0c;
  --btn-b: #1c1006;
  --btn-ha: #422410;
  --btn-hb: #241408;
  /* bars and chips */
  --bar-bg: #2a1a0e;
  --bar-bd: #56341a;
  --chip-bg: #1c1108;
  --chip-bd: #56341a;
}

/* Nargath -- underground_city */
.loc-nargath {
  /* grounds */
  --page: #09060e;
  --panel: #150e20;
  --field: #08050e;
  /* rules, three strengths */
  --rule: #6b4a97;
  --rule-soft: #3f2b5c;
  --rule-faint: #1e1430;
  /* text */
  --ink: #B9A6CF;
  --ink-str: #E2D4F2;
  --muted: #9169bd;
  /* accent */
  --gilt: #CB9BEE;
  --gilt-br: #D8A8F5;
  --gilt-hi: #EBD0FF;
  /* overlays */
  --hair: rgba(192,140,232,0.14);
  --wash: rgba(192,140,232,0.09);
  --scrim: rgba(6,4,10,0.82);
  /* headers and buttons */
  --head-a: #1b1029;
  --head-b: #120b1c;
  --btn-a: #241436;
  --btn-b: #150c20;
  --btn-ha: #2f1a47;
  --btn-hb: #1c1029;
  /* bars and chips */
  --bar-bg: #1e1430;
  --bar-bd: #40295c;
  --chip-bg: #150d20;
  --chip-bd: #40295c;
}

/* Smocze Gory -- mountains */
.loc-eshgar {
  /* grounds */
  --page: #080a0f;
  --panel: #12151c;
  --field: #070910;
  /* rules, three strengths */
  --rule: #6b7686;
  --rule-soft: #3c4451;
  --rule-faint: #1e232b;
  /* text */
  --ink: #B3BCC4;
  --ink-str: #E6EDF3;
  --muted: #8a99a8;
  /* accent */
  --gilt: #D2BE8C;
  --gilt-br: #E3CE96;
  --gilt-hi: #F5E7BC;
  /* overlays */
  --hair: rgba(200,178,122,0.13);
  --wash: rgba(200,178,122,0.08);
  --scrim: rgba(5,6,10,0.82);
  /* headers and buttons */
  --head-a: #171c24;
  --head-b: #0f1319;
  --btn-a: #1d232c;
  --btn-b: #11151b;
  --btn-ha: #262e39;
  --btn-hb: #161b22;
  /* bars and chips */
  --bar-bg: #1e232b;
  --bar-bd: #3d4653;
  --chip-bg: #121620;
  --chip-bd: #3d4653;
}

/* Bagna Morvaar -- swamp */
.loc-moorvar {
  /* grounds */
  --page: #060a08;
  --panel: #101815;
  --field: #060b09;
  /* rules, three strengths */
  --rule: #4c7a5b;
  --rule-soft: #2d4a37;
  --rule-faint: #16251c;
  /* text */
  --ink: #A3BCA8;
  --ink-str: #D6EBD9;
  --muted: #6f9a7c;
  /* accent */
  --gilt: #9CCB97;
  --gilt-br: #AEDCA4;
  --gilt-hi: #D2F2C8;
  /* overlays */
  --hair: rgba(143,192,138,0.13);
  --wash: rgba(143,192,138,0.08);
  --scrim: rgba(4,7,6,0.82);
  /* headers and buttons */
  --head-a: #12211a;
  --head-b: #0b1511;
  --btn-a: #16281e;
  --btn-b: #0d1813;
  --btn-ha: #1e3427;
  --btn-hb: #122019;
  /* bars and chips */
  --bar-bg: #16251c;
  --bar-bd: #2e4d38;
  --chip-bg: #0f1a14;
  --chip-bd: #2e4d38;
}

/* Zapomniany Las -- forest */
.loc-itharil {
  /* grounds */
  --page: #070b05;
  --panel: #111a0c;
  --field: #070b04;
  /* rules, three strengths */
  --rule: #5b842e;
  --rule-soft: #35501b;
  --rule-faint: #1b280e;
  /* text */
  --ink: #AFC48C;
  --ink-str: #DFEFBC;
  --muted: #7fa348;
  /* accent */
  --gilt: #B5D96E;
  --gilt-br: #C2E37E;
  --gilt-hi: #DEF5AC;
  /* overlays */
  --hair: rgba(168,207,94,0.13);
  --wash: rgba(168,207,94,0.08);
  --scrim: rgba(5,8,3,0.82);
  /* headers and buttons */
  --head-a: #16220c;
  --head-b: #0e1608;
  --btn-a: #1b2a0e;
  --btn-b: #101a08;
  --btn-ha: #243714;
  --btn-hb: #16220c;
  /* bars and chips */
  --bar-bg: #1b280e;
  --bar-bd: #375420;
  --chip-bg: #111a0a;
  --chip-bd: #375420;
}

/* przed zalogowaniem */
.loc-preauth {
  /* grounds */
  --page: #05090f;
  --panel: #091120;
  --field: #050a11;
  /* rules, three strengths */
  --rule: #33638f;
  --rule-soft: #1c3c58;
  --rule-faint: #0f2436;
  /* text */
  --ink: #8fb3c7;
  --ink-str: #cfe2ee;
  --muted: #6d93ab;
  /* accent */
  --gilt: #8CBBD9;
  --gilt-br: #a8cfe6;
  --gilt-hi: #b8dcf0;
  /* overlays */
  --hair: rgba(127,176,208,0.13);
  --wash: rgba(127,176,208,0.08);
  --scrim: rgba(3,8,15,0.82);
  /* headers and buttons */
  --head-a: #0c1c2e;
  --head-b: #071120;
  --btn-a: #10283e;
  --btn-b: #081422;
  --btn-ha: #16354f;
  --btn-hb: #0b1a2b;
  /* bars and chips */
  --bar-bg: #0f2436;
  --bar-bd: #1d456a;
  --chip-bg: #081522;
  --chip-bd: #1d456a;
}

/*
 * The treasury, and the thing standing in it.
 *
 * The Portal is a place like any other and gets a livery like any other -- the
 * guardian's own ember and old blood, the colours the design paints its stage
 * in. Nowhere else in the game looks like this, which is the point: a player
 * who has stepped through knows it before reading a word.
 */
.loc-portal {
  /* grounds */
  --page: #0a0605;
  --panel: #1a0c09;
  --field: #0a0605;
  /* rules, three strengths */
  --rule: #7a3a34;
  --rule-soft: #52251f;
  --rule-faint: #2c120f;
  /* text */
  --ink: #d8b39a;
  --ink-str: #f4dcc6;
  --muted: #a8705a;
  /* accent */
  --gilt: #d0784a;
  --gilt-br: #e8b98a;
  --gilt-hi: #f0cba8;
  /* overlays */
  --hair: rgba(208, 120, 80, 0.16);
  --wash: rgba(208, 80, 50, 0.12);
  --scrim: rgba(6, 3, 2, 0.86);
  /* headers and buttons */
  --head-a: #2a0f0b;
  --head-b: #180806;
  --btn-a: #3a1410;
  --btn-b: #1e0a08;
  --btn-ha: #4a1a14;
  --btn-hb: #2a0f0b;
  /* bars and chips */
  --bar-bg: #2c120f;
  --bar-bd: #52251f;
  --chip-bg: #150806;
  --chip-bd: #52251f;
}

/*
 * The astral planes.
 *
 * A plane is a place like any other, so it gets a livery like any other: step
 * through the demonic portal and the whole frame goes the colour of that
 * portal -- the same colour the tile in the stable was wearing when it was
 * clicked. Seven worlds, seven sets of tokens, and not one rule in frame.css
 * had to learn about them.
 */

/* Plan demoniczny — spękana ziemia i niebo koloru zakrzepłej krwi */
.loc-plan-1 {
  /* grounds */
  --page: #0d0507;
  --panel: #1c0d11;
  --field: #0d0507;
  /* rules, three strengths */
  --rule: #8a3a4c;
  --rule-soft: #5a2431;
  --rule-faint: #2c1219;
  /* text */
  --ink: #C8A0A8;
  --ink-str: #F0D4DA;
  --muted: #b06274;
  /* accent */
  --gilt: #C0506A;
  --gilt-br: #D26A82;
  --gilt-hi: #E88fa0;
  /* overlays */
  --hair: rgba(192,80,106,0.16);
  --wash: rgba(192,80,106,0.10);
  --scrim: rgba(4,3,6,0.84);
  /* headers and buttons */
  --head-a: #241016;
  --head-b: #18090d;
  --btn-a: #331620;
  --btn-b: #1c0c11;
  --btn-ha: #42202c;
  --btn-hb: #241016;
  /* bars and chips */
  --bar-bg: #2c1219;
  --bar-bd: #5a2431;
  --chip-bg: #0d0507;
  --chip-bd: #5a2431;
}

/* Plan ognisty — rzeki lawy i powietrze, które parzy płuca */
.loc-plan-2 {
  /* grounds */
  --page: #0d0704;
  --panel: #1d1109;
  --field: #0d0704;
  /* rules, three strengths */
  --rule: #a05a2a;
  --rule-soft: #66381a;
  --rule-faint: #31190c;
  /* text */
  --ink: #D6B48E;
  --ink-str: #F5DCC0;
  --muted: #c07a3c;
  /* accent */
  --gilt: #D0763C;
  --gilt-br: #E28A4C;
  --gilt-hi: #F2A468;
  /* overlays */
  --hair: rgba(208,118,60,0.16);
  --wash: rgba(208,118,60,0.10);
  --scrim: rgba(4,3,6,0.84);
  /* headers and buttons */
  --head-a: #26150a;
  --head-b: #190d05;
  --btn-a: #361e0d;
  --btn-b: #1e1008;
  --btn-ha: #452812;
  --btn-hb: #26150a;
  /* bars and chips */
  --bar-bg: #31190c;
  --bar-bd: #66381a;
  --chip-bg: #0d0704;
  --chip-bd: #66381a;
}

/* Plan piekielny — dziewięć kręgów, każdy pilnowany */
.loc-plan-3 {
  /* grounds */
  --page: #0b0405;
  --panel: #19080b;
  --field: #0b0405;
  /* rules, three strengths */
  --rule: #7e2c38;
  --rule-soft: #521c25;
  --rule-faint: #280d12;
  /* text */
  --ink: #C49098;
  --ink-str: #EDC8CE;
  --muted: #a4525f;
  /* accent */
  --gilt: #A03848;
  --gilt-br: #BE4A5C;
  --gilt-hi: #D66A7C;
  /* overlays */
  --hair: rgba(160,56,72,0.16);
  --wash: rgba(160,56,72,0.10);
  --scrim: rgba(4,3,6,0.84);
  /* headers and buttons */
  --head-a: #200b10;
  --head-b: #150609;
  --btn-a: #2e1017;
  --btn-b: #19080c;
  --btn-ha: #3c1620;
  --btn-hb: #200b10;
  /* bars and chips */
  --bar-bg: #280d12;
  --bar-bd: #521c25;
  --chip-bg: #0b0405;
  --chip-bd: #521c25;
}

/* Plan pustynny — wydmy po horyzont i ruiny bez nazw */
.loc-plan-4 {
  /* grounds */
  --page: #0c0904;
  --panel: #1c160a;
  --field: #0c0904;
  /* rules, three strengths */
  --rule: #9c8038;
  --rule-soft: #645122;
  --rule-faint: #302710;
  /* text */
  --ink: #D2C293;
  --ink-str: #F2E7C4;
  --muted: #bfa055;
  /* accent */
  --gilt: #C9A85E;
  --gilt-br: #DCBB70;
  --gilt-hi: #EFD28E;
  /* overlays */
  --hair: rgba(201,168,94,0.16);
  --wash: rgba(201,168,94,0.10);
  --scrim: rgba(4,3,6,0.84);
  /* headers and buttons */
  --head-a: #251d0c;
  --head-b: #181206;
  --btn-a: #342a10;
  --btn-b: #1d1608;
  --btn-ha: #413414;
  --btn-hb: #251d0c;
  /* bars and chips */
  --bar-bg: #302710;
  --bar-bd: #645122;
  --chip-bg: #0c0904;
  --chip-bd: #645122;
}

/* Plan wodny — ocean bez dna i bez brzegu */
.loc-plan-5 {
  /* grounds */
  --page: #04080d;
  --panel: #0b141d;
  --field: #04080d;
  /* rules, three strengths */
  --rule: #2f6d96;
  --rule-soft: #1f4763;
  --rule-faint: #0f2431;
  /* text */
  --ink: #9CBDD4;
  --ink-str: #CFE4F2;
  --muted: #5f8fae;
  /* accent */
  --gilt: #4F8FC0;
  --gilt-br: #63A3D2;
  --gilt-hi: #84BEE6;
  /* overlays */
  --hair: rgba(79,143,192,0.16);
  --wash: rgba(79,143,192,0.10);
  --scrim: rgba(4,3,6,0.84);
  /* headers and buttons */
  --head-a: #0c1a25;
  --head-b: #061119;
  --btn-a: #102435;
  --btn-b: #08151e;
  --btn-ha: #152f43;
  --btn-hb: #0c1a25;
  /* bars and chips */
  --bar-bg: #0f2431;
  --bar-bd: #1f4763;
  --chip-bg: #04080d;
  --chip-bd: #1f4763;
}

/* Plan niebiański — marmurowe wyspy w bezkresie światła */
.loc-plan-6 {
  /* grounds */
  --page: #07090d;
  --panel: #12161d;
  --field: #07090d;
  /* rules, three strengths */
  --rule: #5a7798;
  --rule-soft: #3b5266;
  --rule-faint: #1d2833;
  /* text */
  --ink: #B8CBDD;
  --ink-str: #E2EDF7;
  --muted: #7e97ad;
  /* accent */
  --gilt: #A8C6E8;
  --gilt-br: #BCD6F2;
  --gilt-hi: #D4E6FA;
  /* overlays */
  --hair: rgba(168,198,232,0.16);
  --wash: rgba(168,198,232,0.10);
  --scrim: rgba(4,3,6,0.84);
  /* headers and buttons */
  --head-a: #161d26;
  --head-b: #0d131a;
  --btn-a: #1d2734;
  --btn-b: #11171f;
  --btn-ha: #263342;
  --btn-hb: #161d26;
  /* bars and chips */
  --bar-bg: #1d2833;
  --bar-bd: #3b5266;
  --chip-bg: #07090d;
  --chip-bd: #3b5266;
}

/* Plan śmiertelny — szara równina i ci, co nie znaleźli drogi dalej */
.loc-plan-7 {
  /* grounds */
  --page: #08070b;
  --panel: #141220;
  --field: #08070b;
  /* rules, three strengths */
  --rule: #5c5478;
  --rule-soft: #3d3750;
  --rule-faint: #1e1b28;
  /* text */
  --ink: #B6B0C6;
  --ink-str: #DFDAEC;
  --muted: #7d7597;
  /* accent */
  --gilt: #8A7FA8;
  --gilt-br: #9E93BC;
  --gilt-hi: #B8AED4;
  /* overlays */
  --hair: rgba(138,127,168,0.16);
  --wash: rgba(138,127,168,0.10);
  --scrim: rgba(4,3,6,0.84);
  /* headers and buttons */
  --head-a: #1a1726;
  --head-b: #100e18;
  --btn-a: #232030;
  --btn-b: #15121d;
  --btn-ha: #2d283e;
  --btn-hb: #1a1726;
  /* bars and chips */
  --bar-bg: #1e1b28;
  --bar-bd: #3d3750;
  --chip-bg: #08070b;
  --chip-bd: #3d3750;
}
