/*! TPT2 Community Brand Kit v1.1.0 (tokens only)
 * 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 {
  /* Tokens. Dark is the default. Light: class="tpt-light" or data-theme="light" on <html> or any wrapper.
     Follow the operating system: class="tpt-auto" or data-theme="auto". */
  :root {
    --tpt-version: "1.1.0";
    --tpt-brand-ember: #f4560a;
    --tpt-brand-amber: #f8a106;
    --tpt-brand-sun: #fdec02;
    --tpt-brand-sky: #29abe2;
    --tpt-brand-sky-deep: #0071bc;
    --tpt-brand-azure: #1583cd;
    --tpt-brand-navy: #004495;
    --tpt-brand-stone: #8f8c8c;
    --tpt-brand-mist: #e1e1e1;
    --tpt-brand-brown: #36261c;
    --tpt-brand-white: #fcfffc;
    --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-accent-fill: var(--tpt-brand-amber);
    --tpt-on-accent: var(--tpt-brand-brown);
    --tpt-focus: #4cc0f0;
    --tpt-info: var(--tpt-focus);
    --tpt-success: #4fdc6a;
    --tpt-warning: #fdec02;
    --tpt-danger: #ff6b5e;
    --tpt-on-status: #1a120d;
    --tpt-code-bg: #120c09;
    --tpt-code-ink: #f4ece4;
    --tpt-syn-keyword: #ffb43a;
    --tpt-syn-call: #ff8fa3;
    --tpt-syn-string: #a6e3a1;
    --tpt-syn-number: #90daff;
    --tpt-syn-comment: #a08a78;
    --tpt-on-fac: #1a120d;
    --tpt-fac-power-plant: #ffff00;
    --tpt-fac-power-plant-ink: #ffff00;
    --tpt-fac-mine: #ff9900;
    --tpt-fac-mine-ink: #ff9900;
    --tpt-fac-factory: #ff0000;
    --tpt-fac-factory-ink: #ff5252;
    --tpt-fac-headquarters: #dc00ff;
    --tpt-fac-headquarters-ink: #e542ff;
    --tpt-fac-arcade: #ff6681;
    --tpt-fac-arcade-ink: #ff6681;
    --tpt-fac-laboratory: #00ff21;
    --tpt-fac-laboratory-ink: #00ff21;
    --tpt-fac-shipyard: #00ffc0;
    --tpt-fac-shipyard-ink: #00ffc0;
    --tpt-fac-trading-post: #90daff;
    --tpt-fac-trading-post-ink: #90daff;
    --tpt-fac-workshop: #45abff;
    --tpt-fac-workshop-ink: #45abff;
    --tpt-fac-museum: #b4b4b4;
    --tpt-fac-museum-ink: #b4b4b4;
    --tpt-fac-construction-firm: #986f44;
    --tpt-fac-construction-firm-ink: #b48758;
    --tpt-fac-statue-of-cubos: #525252;
    --tpt-fac-statue-of-cubos-ink: #909090;
    --tpt-module-offensive: #ff7171;
    --tpt-module-defensive: #7197ff;
    --tpt-module-utility: #ffd200;
    --tpt-module-ultimate: #f465ff;
    --tpt-module-legendary: #ff9400;
    --tpt-module-special: #808080;
    --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);
    --tpt-space-1: 4px;
    --tpt-space-2: 8px;
    --tpt-space-3: 12px;
    --tpt-space-4: 16px;
    --tpt-space-5: 24px;
    --tpt-space-6: 32px;
    --tpt-space-7: 48px;
    --tpt-space-8: 64px;
    --tpt-space-9: 96px;
    --tpt-radius-0: 0px;
    --tpt-radius-1: 2px;
    --tpt-radius-2: 4px;
    --tpt-size-page: 1240px;
    --tpt-size-measure: 720px;
    --tpt-size-wiki-nav: 248px;
    --tpt-size-wiki-aside: 340px;
    --tpt-size-header: 64px;
    --tpt-stroke-hair: 1px;
    --tpt-stroke-control: 2px;
    --tpt-stroke-sunburst: 3px;
    --tpt-font-display: "Oxanium", "Oswald", Impact, sans-serif;
    --tpt-font-heading: "Oswald", "Arial Narrow", sans-serif;
    --tpt-font-body: "Archivo", "Segoe UI", system-ui, sans-serif;
    --tpt-font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  }
  .tpt-dark, [data-theme="dark"] {
    --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);
  }
  .tpt-light, [data-theme="light"] {
    --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) {
    .tpt-auto, [data-theme="auto"] {
      --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);
    }
  }
}
