@font-face {
  font-family: 'GT-Pressura';
  src: url('../data/GT-Pressura-Standard-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GT-Pressura';
  src: url('../data/GT-Pressura-Standard-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GT-Pressura';
  src: url('../data/GT-Pressura-Standard-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GT-Pressura-Mono';
  src: url('../data/GT-Pressura-Mono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --fg: #ffffff;
  --accent: #ff280a;
  --fg-muted: rgba(255, 255, 255, 0.5);
  --overlay: rgba(0, 0, 0, 0.8);
  --surface: #111111;
  --surface-2: #0a0a0a;
  --fg-desc: rgba(255, 255, 255, 0.88);
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.14);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --fg: #000000;
    --fg-muted: rgba(0, 0, 0, 0.5);
    --fg-desc: rgba(0, 0, 0, 0.82);
    --border: rgba(0, 0, 0, 0.09);
    --border-light: rgba(0, 0, 0, 0.06);
    --border-strong: rgba(0, 0, 0, 0.15);
    --surface: #f0f0f0;
    --surface-2: #fafafa;
    --overlay: rgba(255, 255, 255, 0.85);
  }
}
@media (max-width: 700px) {
  :root {
    --bg: #000000;
    --fg: #ffffff;
    --fg-muted: rgba(255, 255, 255, 0.5);
    --fg-desc: rgba(255, 255, 255, 0.88);
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.14);
    --surface: #111111;
    --surface-2: #0a0a0a;
    --overlay: rgba(0, 0, 0, 0.8);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'GT-Pressura', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-synthesis: none;
  width: 100%;
  min-height: 100%;
}

html { overflow-y: auto; overflow-x: hidden; cursor: url('../data/cursor-32.png') 2 2, auto; }
body { overflow: visible; cursor: url('../data/cursor-32.png') 2 2, auto; }
a, button, .index-title-inner, .index-type, .index-thumb, .archive-row .cell-title-inner, .archive-row .cell-type, .archive-row .cell-thumb, .strip-cell, .scatter-card, .detail-close { cursor: pointer; }

html[data-layout="tiling"] body { overflow: hidden; height: 100%; }
html[data-layout="tiling"] { overflow: hidden; height: 100%; }

canvas {
  display: block;
}

#p5-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  z-index: 9999;
}

#p5-loading img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

#p5-loading.hidden {
  display: none;
}

.seo-tags {
  position: absolute;
  left: -9999px;
  top: -9999px;
  visibility: hidden;
}

html { zoom: 2; }
@supports not (zoom: 2) {
  html { transform: scale(2); transform-origin: 0 0; width: 50%; }
}
