/*! TPT2 Community Brand Kit v1.1.0 (mediawiki adapter)
 * https://www.perfecttower2.com/brandkit/
 * CSS licensed under the MIT License, (c) 2026 Fire Sword Studios.
 * Not included and not licensed: The Perfect Tower II logos, symbol, key art and other game assets.
 * Fonts are not bundled: load Archivo, Oswald, Oxanium and JetBrains Mono (see the brand kit page).
 */
@layer tpt.tokens {
  /* MediaWiki adapter: the kit's theme values on the host's theme switches. Load after tpt.css. */
  html.skin-theme-clientpref-night {
    --tpt-bg: #1a120d;
    --tpt-surface: #251a13;
    --tpt-surface-alt: #36261c;
    --tpt-line: #3d2c21;
    --tpt-line-strong: #8a6f5b;
    --tpt-outline: #0e0907;
    --tpt-ink: #f4ece4;
    --tpt-ink-muted: #c9b8a8;
    --tpt-ink-subtle: #a38f7d;
    --tpt-accent: #ffb43a;
    --tpt-focus: #4cc0f0;
    --tpt-success: #4fdc6a;
    --tpt-warning: #fdec02;
    --tpt-danger: #ff6b5e;
    --tpt-on-status: #1a120d;
    --tpt-code-bg: #120c09;
    --tpt-fac-power-plant-ink: #ffff00;
    --tpt-fac-mine-ink: #ff9900;
    --tpt-fac-factory-ink: #ff5252;
    --tpt-fac-headquarters-ink: #e542ff;
    --tpt-fac-arcade-ink: #ff6681;
    --tpt-fac-laboratory-ink: #00ff21;
    --tpt-fac-shipyard-ink: #00ffc0;
    --tpt-fac-trading-post-ink: #90daff;
    --tpt-fac-workshop-ink: #45abff;
    --tpt-fac-museum-ink: #b4b4b4;
    --tpt-fac-construction-firm-ink: #b48758;
    --tpt-fac-statue-of-cubos-ink: #909090;
    --tpt-extrude: 0 3px 0 0 #0e0907;
    --tpt-extrude-pressed: 0 1px 0 0 #0e0907;
    --tpt-lift: 0 16px 40px -12px rgba(14,9,7,0.7);
  }
  html.skin-theme-clientpref-day, .notheme, .skin-invert {
    --tpt-bg: #efece9;
    --tpt-surface: #fcfffc;
    --tpt-surface-alt: #e5e0db;
    --tpt-line: #d9d1ca;
    --tpt-line-strong: #82776f;
    --tpt-outline: #36261c;
    --tpt-ink: #36261c;
    --tpt-ink-muted: #5f4e42;
    --tpt-ink-subtle: #6f5f54;
    --tpt-accent: #b23c00;
    --tpt-focus: #0067ad;
    --tpt-success: #1a6e30;
    --tpt-warning: #7d5a00;
    --tpt-danger: #c0281d;
    --tpt-on-status: #fcfffc;
    --tpt-code-bg: #2a1e16;
    --tpt-fac-power-plant-ink: #6b6b00;
    --tpt-fac-mine-ink: #965a00;
    --tpt-fac-factory-ink: #d60000;
    --tpt-fac-headquarters-ink: #b400d1;
    --tpt-fac-arcade-ink: #d40025;
    --tpt-fac-laboratory-ink: #007a10;
    --tpt-fac-shipyard-ink: #00785a;
    --tpt-fac-trading-post-ink: #006fa7;
    --tpt-fac-workshop-ink: #006ac2;
    --tpt-fac-museum-ink: #696969;
    --tpt-fac-construction-firm-ink: #86623c;
    --tpt-fac-statue-of-cubos-ink: #525252;
    --tpt-extrude: 0 3px 0 0 #36261c;
    --tpt-extrude-pressed: 0 1px 0 0 #36261c;
    --tpt-lift: 0 16px 40px -14px rgba(54,38,28,0.35);
  }
  @media (prefers-color-scheme: light) {
    html.skin-theme-clientpref-os {
      --tpt-bg: #efece9;
      --tpt-surface: #fcfffc;
      --tpt-surface-alt: #e5e0db;
      --tpt-line: #d9d1ca;
      --tpt-line-strong: #82776f;
      --tpt-outline: #36261c;
      --tpt-ink: #36261c;
      --tpt-ink-muted: #5f4e42;
      --tpt-ink-subtle: #6f5f54;
      --tpt-accent: #b23c00;
      --tpt-focus: #0067ad;
      --tpt-success: #1a6e30;
      --tpt-warning: #7d5a00;
      --tpt-danger: #c0281d;
      --tpt-on-status: #fcfffc;
      --tpt-code-bg: #2a1e16;
      --tpt-fac-power-plant-ink: #6b6b00;
      --tpt-fac-mine-ink: #965a00;
      --tpt-fac-factory-ink: #d60000;
      --tpt-fac-headquarters-ink: #b400d1;
      --tpt-fac-arcade-ink: #d40025;
      --tpt-fac-laboratory-ink: #007a10;
      --tpt-fac-shipyard-ink: #00785a;
      --tpt-fac-trading-post-ink: #006fa7;
      --tpt-fac-workshop-ink: #006ac2;
      --tpt-fac-museum-ink: #696969;
      --tpt-fac-construction-firm-ink: #86623c;
      --tpt-fac-statue-of-cubos-ink: #525252;
      --tpt-extrude: 0 3px 0 0 #36261c;
      --tpt-extrude-pressed: 0 1px 0 0 #36261c;
      --tpt-lift: 0 16px 40px -14px rgba(54,38,28,0.35);
    }
  }
}
