@font-face {
  font-family: "Acier Display";
  src: url("fonts/AcierDisplay-Solid.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Acier Display", Arial, Helvetica, sans-serif;
  --accent: #00e5ff;
  --accent-shift: #006bff;
  --arrow-hover-filter: brightness(0) saturate(100%) invert(76%) sepia(95%) saturate(1530%) hue-rotate(134deg) brightness(104%) contrast(104%);
}

.theme-crystal {
  --accent: #00e5ff;
  --accent-shift: #006bff;
  --arrow-hover-filter: brightness(0) saturate(100%) invert(76%) sepia(95%) saturate(1530%) hue-rotate(134deg) brightness(104%) contrast(104%);
}

.theme-spear {
  --accent: #a855f7;
  --accent-shift: #6d28d9;
  --arrow-hover-filter: brightness(0) saturate(100%) invert(47%) sepia(89%) saturate(2503%) hue-rotate(241deg) brightness(99%) contrast(95%);
}

.theme-mace {
  --accent: #ff0022;
  --accent-shift: #ff5a6c;
  --arrow-hover-filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(6411%) hue-rotate(344deg) brightness(103%) contrast(108%);
}

.theme-cart {
  --accent: #20e66b;
  --accent-shift: #078f3d;
  --arrow-hover-filter: brightness(0) saturate(100%) invert(70%) sepia(86%) saturate(597%) hue-rotate(80deg) brightness(98%) contrast(92%);
}

.theme-totem {
  --accent: #ffe600;
  --accent-shift: #ff9f1c;
  --arrow-hover-filter: brightness(0) saturate(100%) invert(91%) sepia(91%) saturate(1416%) hue-rotate(358deg) brightness(105%) contrast(105%);
}

.theme-disguiser {
  --accent: #f5d04c;
  --accent-shift: #00e5ff;
  --arrow-hover-filter: brightness(0) saturate(100%) invert(81%) sepia(70%) saturate(655%) hue-rotate(357deg) brightness(99%) contrast(94%);
  background: white;
  color: black;
}

.theme-disguiser.is-inverted .site-main {
  filter: invert(1);
}

.theme-moneymatch {
  --accent: #ffffff;
  --accent-shift: #ffb3bd;
  --arrow-hover-filter: brightness(0) saturate(100%) invert(79%) sepia(58%) saturate(546%) hue-rotate(103deg) brightness(94%) contrast(91%);
  background: #c90016;
  color: white;
}

.theme-mlojnir {
  --accent: #ff1717;
  --accent-shift: #8ea2ff;
  --arrow-hover-filter: brightness(0) saturate(100%) invert(17%) sepia(97%) saturate(6467%) hue-rotate(356deg) brightness(105%) contrast(109%);
}

.theme-colorforge {
  --accent: #ff1717;
  --accent-shift: #ff1717;
  --arrow-hover-filter: none;
  background: white;
  color: black;
}

.theme-404 {
  background: #ff0000;
  color: white;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

button,
input,
textarea,
select {
  font: inherit;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #08090b;
  color: white;
}

.navbar {
  position: relative;
  display: flex;
  justify-content: center; /* Horizontally centers */
  align-items: center;
  min-height: 64px;
  background-color: black;
}

.home-logo {
  position: absolute;
  left: 24px;
  display: flex;
  align-items: center;
}

.home-logo img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.titlebar {
  color: white;
}

.nav-tool-link {
  position: absolute;
  right: 24px;
  color: white;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  opacity: 0.78;
}

.nav-tool-link:hover,
.nav-tool-link-active {
  color: var(--accent);
  opacity: 1;
}

.brawlhalla-nav {
  position: absolute;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brawlhalla-nav a {
  color: white;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
}

.brawlhalla-nav a:hover {
  color: var(--accent);
}

.brawlhalla-nav a.active {
  color: var(--accent);
}

.colorforge-page {
  min-height: calc(100vh - 64px);
  background: white;
  color: black;
}

.colorforge-intro,
.colorforge-workbench {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.colorforge-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 64px;
  align-items: end;
  padding: 78px 0 56px;
}

.colorforge-download-callout {
  display: grid;
  justify-items: end;
  gap: 10px;
  padding-bottom: 8px;
}

.colorforge-download-button {
  display: inline-block;
  padding: 18px 30px;
  background: var(--accent);
  color: white;
  font-size: 18px;
  text-decoration: none;
}

.colorforge-download-button:hover { background: black; color: white; }
.colorforge-download-callout p { margin: 0; color: rgba(0, 0, 0, 0.62); font-family: Arial, Helvetica, sans-serif; font-size: 12px; }

.colorforge-kicker,
.workbench-label {
  margin: 0 0 10px;
  color: var(--accent-shift);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.colorforge-intro h1 {
  margin: 0;
  font-size: clamp(72px, 11vw, 152px);
  line-height: 0.72;
}

.colorforge-lead {
  max-width: 620px;
  margin: 34px 0 0;
  color: #bbb7d2;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

.colorforge-workbench {
  padding-bottom: 90px;
}

.swf-drop-section,
.palette-section,
.build-section {
  position: relative;
  border-top: 0;
  padding: 36px 0;
}

.swf-drop-section::before,
.palette-section::before,
.build-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  border-top: 2px solid black;
  transform: translateX(-50%);
}

.swf-drop-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 26px;
  align-items: center;
}

.colorforge-workbench h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.92;
}

.swf-drop {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  align-items: center;
  min-height: 112px;
  padding: 22px 28px;
  border: 2px dashed black;
  background: white;
  color: black;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.swf-drop-stack {
  display: grid;
  gap: 12px;
}

.desktop-download-note { margin: 4px 0 0; color: rgba(0, 0, 0, 0.68); font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 1.5; }
.desktop-download-note a { color: var(--accent); font-weight: 700; }

.swf-drop:hover,
.swf-drop.is-dragging { border-color: var(--accent); background: #f2f2f2; }
.swf-drop.has-file { border-style: solid; border-color: #46ef9b; }
.swf-drop.has-error { border-color: #ff466d; }
.swf-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-plus { grid-row: 1 / span 2; color: var(--accent); font-family: Arial, sans-serif; font-size: 48px; font-weight: 200; }
.swf-drop > span:not(.drop-plus) { font-size: 20px; }
.swf-drop small { color: rgba(0, 0, 0, 0.62); font-family: Arial, sans-serif; }

.palette-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  margin-bottom: 34px;
}

.outline-button {
  padding: 12px 16px;
  border: 0;
  background: black;
  color: white;
  cursor: pointer;
  font-size: 12px;
}

.outline-button:hover { background: var(--accent); color: white; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

.palette-file-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 650px;
}

.palette-name-control,
.preset-palette-control {
  display: grid;
  grid-template-columns: auto minmax(150px, 210px);
  gap: 8px;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
}

.palette-name-control span,
.preset-palette-control span {
  color: rgba(0, 0, 0, 0.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.palette-name-control input,
.preset-palette-control select {
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  background: #f2f2f2;
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.palette-editor {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.web-hue-control {
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 10px;
  min-height: 330px;
  padding: 14px 8px;
  background: #f2f2f2;
}

.web-hue-control span,
.web-hue-control output { color: rgba(0, 0, 0, 0.62); font-family: Arial, Helvetica, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: 0.1em; }
.web-hue-control input { width: 28px; height: 100%; margin: 0; appearance: slider-vertical; writing-mode: vertical-lr; direction: rtl; accent-color: var(--accent); cursor: ns-resize; }

.palette-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-left: 0;
}

.palette-group {
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 0;
  background: #f2f2f2;
}

.palette-group legend {
  padding: 0 9px;
  color: black;
  font-size: 15px;
}

.shade-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(52px, 1fr));
  gap: 10px;
}

.color-control { min-width: 0; cursor: pointer; }
.color-control > span { display: block; margin-bottom: 7px; color: rgba(0, 0, 0, 0.62); font-family: Arial, sans-serif; font-size: 10px; font-weight: 800; text-align: center; }
.color-control input { display: block; width: 100%; height: 50px; padding: 0; border: 0; outline: 0; background: none; cursor: pointer; appearance: none; -webkit-appearance: none; }
.color-control input::-webkit-color-swatch-wrapper { padding: 0; }
.color-control input::-webkit-color-swatch { border: 0; }
.color-control input::-moz-color-swatch { border: 0; }
.color-control code { display: block; overflow: hidden; margin-top: 6px; color: rgba(0, 0, 0, 0.62); font-size: 9px; text-align: center; text-overflow: ellipsis; }
.palette-note { margin: 20px 0 0; color: rgba(0, 0, 0, 0.62); font-family: Arial, sans-serif; font-size: 12px; }

.build-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
}

.build-section p:not(.workbench-label) { max-width: 620px; color: rgba(0, 0, 0, 0.62); font-family: Arial, sans-serif; }
.build-button { min-width: 270px; padding: 20px 24px; border: 0; background: var(--accent); color: white; cursor: pointer; }
.build-button span, .build-button small { display: block; }
.build-button span { font-size: 18px; }
.build-button small { margin-top: 4px; opacity: 0.66; }
.build-button:disabled { cursor: not-allowed; filter: grayscale(1); opacity: 0.35; }
.build-button.is-building { animation: colorforge-pulse 900ms ease-in-out infinite alternate; }

.build-controls {
  display: grid;
  min-width: 300px;
  gap: 10px;
}

.pushbyte-control {
  display: grid;
  gap: 7px;
  font-family: Arial, Helvetica, sans-serif;
}

.pushbyte-control > span {
  color: rgba(0, 0, 0, 0.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.pushbyte-control select {
  width: 100%;
  padding: 13px 40px 13px 14px;
  border: 0;
  border-radius: 0;
  background: #f2f2f2;
  color: black;
  cursor: pointer;
}

.form-status {
  display: none;
  margin-left: 78px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: #f2f2f2;
  color: black;
  font-family: Arial, sans-serif;
}

.form-status.visible { display: block; }
.form-status.success { border-color: #46ef9b; }
.form-status.error { border-color: #ff466d; }

.colorforge-credit {
  margin: 28px 0 0 78px;
  color: rgba(0, 0, 0, 0.54);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

@keyframes colorforge-pulse { to { opacity: 0.55; } }

@media (max-width: 800px) {
  .colorforge-intro {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 52px;
  }

  .colorforge-download-callout { justify-items: start; }

  .colorforge-intro,
  .colorforge-workbench {
    width: min(100% - 28px, 1180px);
  }

  .colorforge-intro h1 {
    font-size: clamp(64px, 24vw, 104px);
  }

  .swf-drop-section,
  .palette-heading,
  .build-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .swf-drop,
  .palette-heading .outline-button,
  .build-button {
    grid-column: 1 / -1;
  }

  .palette-file-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .palette-file-actions .outline-button {
    flex: 1 1 calc(50% - 8px);
  }

  .palette-name-control {
    grid-template-columns: 1fr;
    flex: 1 1 100%;
  }

  .palette-groups {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .palette-editor { grid-template-columns: 44px minmax(0, 1fr); }

  .shade-grid {
    grid-template-columns: repeat(3, minmax(54px, 1fr));
  }

  .palette-note,
  .form-status {
    margin-left: 0;
  }

  .build-button {
    width: 100%;
  }

  .build-controls {
    grid-column: 1 / -1;
    min-width: 0;
  }
}

@media (max-width: 800px) {
  .theme-colorforge .navbar {
    min-height: 104px;
    align-items: flex-start;
    padding-top: 16px;
  }

  .theme-colorforge .home-logo {
    top: 10px;
    left: 14px;
  }

  .theme-colorforge .home-logo img {
    width: 38px;
    height: 38px;
  }

  .theme-colorforge .titlebar {
    margin: 0;
    font-size: 19px;
    line-height: 38px;
  }

  .theme-colorforge .brawlhalla-nav {
    right: auto;
    bottom: 14px;
    left: 50%;
    width: calc(100% - 28px);
    justify-content: center;
    gap: 18px;
    transform: translateX(-50%);
  }

  .theme-colorforge .brawlhalla-nav a {
    font-size: 12px;
  }
}

.site-header,
.site-main,
.site-footer {
  width: 100%;
}

.not-found-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 64px);
  background: #ff0000;
  color: white;
}

.not-found-page h1 {
  margin: 0;
  font-size: 120px;
  line-height: 1;
}

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  overflow: hidden;
}

.core-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
  transform: translateY(-50%);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.core-arrow img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: brightness(0) invert(1);
  transition: filter 160ms ease;
}

.core-arrow:hover {
  background: transparent;
  transform: translateY(-50%) scale(1.08);
}

.core-arrow-left {
  left: 32px;
}

.core-arrow-right {
  right: 32px;
}

.core-arrow:hover img {
  filter: var(--arrow-hover-filter);
}

#corebg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 64px);
  padding: 0 48px 120px;
}

.icon-layer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.site-icon {
  display: block;
  max-width: 48vw;
  width: 520px;
  height: auto;
  border-radius: 50%;
  transition: border-radius 180ms ease, transform 180ms ease;
}

.site-icon:hover {
  border-radius: 18%;
}

.core-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: white;
}

.core-copy h1,
.core-copy p {
  margin: 0;
}

.core-copy h1 {
  font-size: 96px;
  font-weight: 700;
}

.core-copy p {
  font-size: 32px;
  font-weight: 400;
  opacity: 0.75;
}

.version-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.version-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 8px 24px;
  border: 2px solid white;
  border-radius: 8px;
  background: transparent;
  color: white;
  font: inherit;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
}

.version-button-primary {
  min-width: 180px;
  padding: 10px 32px;
  background: white;
  color: black;
  font-size: 32px;
}

.full-version-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 18px;
  width: fit-content;
  border-radius: 999px;
  background: black;
  color: var(--accent);
  font-size: 30px;
  text-decoration: none;
  animation: patreon-color-shift 4s linear infinite;
  transition: transform 160ms ease;
  transform-origin: left center;
}

.full-version-link:hover {
  transform: scale(1.04, 1.12);
}

.full-version-link img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

@keyframes patreon-color-shift {
  0% {
    color: var(--accent);
  }

  50% {
    color: var(--accent-shift);
  }

  100% {
    color: var(--accent);
  }
}

.core-copy .more-versions {
  margin-top: 8px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.7;
  text-decoration: none;
}

.core-copy .more-versions:hover {
  color: var(--accent);
  opacity: 1;
}

.requirement-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: white;
}

.requirement-note img {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
}

.requirement-note p {
  margin: 0;
  font-size: 18px;
  opacity: 0.82;
}

.requirement-note a {
  color: var(--accent);
  text-decoration: none;
}

.overview-section {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 96px 7vw 72px;
  background: white;
  color: black;
}

.video-panel {
  flex: 1 1 58%;
  aspect-ratio: 16 / 9;
  background: black;
  overflow: hidden;
}

.video-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.overview-copy {
  flex: 1 1 42%;
  max-width: 560px;
}

.overview-copy h2,
.details-section h2,
.feature-card h3,
.server-columns h3 {
  margin: 0;
  color: var(--accent);
}

.overview-copy h2 {
  font-size: 64px;
  line-height: 0.95;
}

.overview-copy p,
.notice-grid p,
.feature-card p,
.server-note,
.server-columns p,
.server-columns li {
  margin: 18px 0 0;
  color: rgba(0, 0, 0, 0.62);
  font-size: 18px;
  line-height: 1.6;
}

.details-section {
  padding: 72px 7vw 96px;
  background: white;
  color: black;
}

.notice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-right: -7vw;
  margin-left: -7vw;
}

.notice-grid > div,
.feature-card,
.server-columns article {
  border: 0;
  border-radius: 0;
  background: white;
  padding: 24px;
}

.notice-grid h2 {
  font-size: 56px;
  line-height: 1;
}

.notice-grid > .serverside-feature {
  max-width: none;
  padding: 56px 7vw;
  background: black;
  color: white;
}

.serverside-feature h2,
.serverside-feature p,
.serverside-feature .patreon-link {
  max-width: 980px;
}

.serverside-feature p {
  color: rgba(255, 255, 255, 0.72);
}

.serverside-feature .patreon-emphasis {
  color: var(--accent);
  font-size: 24px;
}

.patreon-link {
  display: inline-block;
  margin-top: 24px;
  padding: 16px 28px;
  background: var(--accent);
  color: black;
  font-size: 24px;
  text-decoration: none;
}

.feature-showcase,
.server-guide,
.downloads-section {
  margin-top: 72px;
}

.section-heading p {
  margin: 0 0 8px;
  color: rgba(0, 0, 0, 0.62);
  font-size: 18px;
}

.section-heading h2 {
  font-size: 72px;
  line-height: 0.9;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.feature-card h3,
.server-columns h3 {
  font-size: 28px;
  line-height: 1;
}

.server-note {
  max-width: 980px;
}

.server-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.server-columns ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.server-columns li {
  margin: 0;
}

.risk-card {
  background: white;
}

.high-risk {
  color: #ff1f3d;
}

.server-note a {
  color: var(--accent);
  text-decoration: none;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.download-card {
  padding: 24px;
  background: black;
  color: white;
}

.download-card h3 {
  margin: 0;
  color: var(--accent);
  font-size: 32px;
  line-height: 1;
}

.download-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.5;
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  margin-top: 20px;
  padding: 12px 20px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: black;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.download-link:hover {
  filter: brightness(1.08);
}

.download-link:disabled,
.download-card-disabled .download-link {
  border-color: rgba(255, 255, 255, 0.32);
  background: transparent;
  color: rgba(255, 255, 255, 0.48);
  cursor: not-allowed;
  filter: none;
}

.tool-hero {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 72px 7vw 88px;
  background: white;
  color: black;
}

.tool-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: center;
  width: min(1120px, 100%);
}

.tool-copy p,
.tool-copy h1 {
  margin: 0;
}

.tool-copy p {
  color: rgba(0, 0, 0, 0.64);
  max-width: 560px;
  font-size: 20px;
  line-height: 1.35;
}

.tool-copy h1 {
  color: black;
  font-size: 112px;
  line-height: 0.9;
}

.disguiser-form {
  display: grid;
  gap: 18px;
  padding: 26px;
  background: white;
  color: black;
}

.tool-field {
  display: grid;
  gap: 8px;
}

.tool-field span {
  color: black;
  font-size: 22px;
}

.tool-field input {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  padding: 10px 12px;
  background: #f2f2f2;
  color: black;
  font: inherit;
  font-size: 18px;
}

.tool-field input[type="file"] {
  padding: 8px 12px;
}

.tool-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 0;
  padding: 8px 16px;
  background: black;
  color: white;
  font: inherit;
  cursor: pointer;
}

.tool-field input[type="file"]::-webkit-file-upload-button {
  margin-right: 12px;
  border: 0;
  padding: 8px 16px;
  background: black;
  color: white;
  font: inherit;
  cursor: pointer;
}

.tool-submit {
  min-height: 54px;
  border: 0;
  background: black;
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 24px;
}

.tool-submit.is-rainbow {
  color: transparent;
  background:
    linear-gradient(90deg, red, orange, yellow, lime, cyan, blue, violet, red),
    var(--accent);
  background-size: 300% 100%;
  -webkit-background-clip: text, border-box;
  background-clip: text, border-box;
  animation: rainbow-text 1.4s linear infinite;
}

.modrinth-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modrinth-label img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

@keyframes rainbow-text {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 300% 50%;
  }
}

.tool-submit:disabled {
  cursor: wait;
  opacity: 0.64;
}

.tool-status {
  min-height: 24px;
  margin: 0;
  color: rgba(0, 0, 0, 0.64);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.moneymatch-hero {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 72px 7vw 88px;
  background: #c90016;
  color: white;
}

.moneymatch-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
  width: min(860px, 100%);
}

.moneymatch-copy {
  text-align: center;
}

.moneymatch-copy p,
.moneymatch-copy h1 {
  margin: 0;
}

.moneymatch-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 28px;
  line-height: 1;
}

.moneymatch-copy h1 {
  color: white;
  font-size: 104px;
  line-height: 0.86;
}

.match-state {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 18px;
  padding: 7px 12px;
  background: white;
  color: #c90016;
  font-size: 22px;
  line-height: 1;
}

.checkout-panel {
  display: grid;
  gap: 18px;
  padding: 26px;
  background: black;
  color: white;
}

.checkout-panel .tool-field span {
  color: white;
}

.checkout-panel .tool-field input {
  background: #15191d;
  color: white;
}

.match-id-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr) 132px;
  gap: 14px;
  align-items: end;
}

.checkout-load {
  min-height: 48px;
  background: var(--accent);
  color: #c90016;
}

.match-summary,
.money-breakdown {
  display: grid;
  gap: 12px;
}

.match-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.money-breakdown {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.match-summary div,
.money-breakdown div {
  min-width: 0;
  padding: 14px;
  background: #15191d;
}

.match-summary span,
.money-breakdown span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 16px;
  line-height: 1;
}

.match-summary strong,
.money-breakdown strong {
  display: block;
  margin-top: 8px;
  color: white;
  font-size: 26px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.money-breakdown strong {
  color: var(--accent);
}

.payment-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
}

.paypal-button,
.secondary-button {
  min-height: 56px;
  border: 0;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.paypal-button {
  background: var(--accent);
  color: #c90016;
}

.secondary-button {
  background: white;
  color: black;
}

.paypal-button:disabled,
.secondary-button:disabled,
.checkout-load:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.checkout-panel .tool-status {
  color: rgba(255, 255, 255, 0.68);
}

.moneymatch-overview .tool-steps article {
  background: #970010;
}

.moneymatch-overview .tool-steps p {
  color: rgba(255, 255, 255, 0.68);
}

.moneymatch-overview {
  background: #c90016;
  color: white;
}

.moneymatch-overview .overview-copy h2,
.moneymatch-overview .tool-steps h3 {
  color: white;
}

.moneymatch-overview .overview-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.match-etiquette {
  padding: 72px 7vw 96px;
  background: #c90016;
  color: white;
}

.match-etiquette h2,
.match-etiquette p {
  margin: 0;
}

.match-etiquette h2 {
  font-size: 72px;
  line-height: 0.9;
}

.match-etiquette p {
  max-width: 980px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 24px;
  line-height: 1.35;
}

.tool-overview {
  align-items: stretch;
}

.tool-steps {
  flex: 1 1 58%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tool-steps article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 24px;
  background: white;
}

.tool-steps h3 {
  margin: 0;
  color: var(--accent);
  font-size: 68px;
  line-height: 0.9;
}

.tool-steps p {
  margin: 24px 0 0;
  color: rgba(0, 0, 0, 0.64);
  font-size: 22px;
  line-height: 1.25;
}

.mlojnir-icon {
  image-rendering: pixelated;
  border-radius: 0;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.1);
}

.mlojnir-hero {
  background: black;
}

.theme-mlojnir #corebg {
  background: black;
}

.theme-mlojnir .core-copy {
  padding: 24px;
  background: black;
}

.theme-mlojnir .core-copy h1,
.theme-mlojnir .core-copy p {
  color: white;
  opacity: 1;
}

.theme-mlojnir .full-version-link {
  background: var(--accent);
  color: white;
  animation: none;
}

.theme-mlojnir .full-version-link:hover {
  color: white;
}

.mlojnir-icon:hover {
  border-radius: 0;
  transform: scale(1.04);
}

.placeholder-video {
  display: grid;
  place-items: center;
  background: #050505;
  color: white;
}

.placeholder-video div {
  display: grid;
  gap: 10px;
  text-align: center;
}

.placeholder-video span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 24px;
  line-height: 1;
}

.placeholder-video strong {
  color: var(--accent);
  font-size: 72px;
  line-height: 0.9;
}

.mlojnir-creator-feature {
  background: black;
}

.mlojnir-code-promo {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 88px 7vw;
  background: black;
  color: white;
  text-align: center;
}

.mlojnir-code-promo h2,
.mlojnir-code-promo p {
  margin: 0;
}

.mlojnir-code-promo h2 {
  font-size: 72px;
  line-height: 0.9;
}

.mlojnir-code-promo p {
  max-width: 980px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 24px;
  line-height: 1.35;
}

.mlojnir-feature-grid .feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.command-chip,
.inline-command,
.command-display {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 18px;
  padding: 8px 12px;
  background: black;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

.command-chip + .command-chip {
  margin-top: 8px;
}

.inline-command {
  margin: 0;
  font-size: 18px;
}

.command-display {
  cursor: default;
}

@media (max-width: 800px) {
  .icon-layer {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .hero-content {
    padding: 0 24px 96px;
  }

  .core-arrow {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .core-arrow img {
    width: 34px;
    height: 34px;
  }

  .core-arrow-left {
    left: 16px;
  }

  .core-arrow-right {
    right: 16px;
  }

  .site-icon {
    max-width: 80vw;
    width: 420px;
  }

  .core-copy h1 {
    font-size: 56px;
  }

  .core-copy p {
    font-size: 24px;
  }

  .version-actions {
    justify-content: center;
  }

  .version-button-primary {
    min-width: 160px;
  }

  .overview-section {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 56px 24px;
  }

  .overview-copy h2 {
    font-size: 44px;
  }

  .details-section {
    padding: 56px 24px 72px;
  }

  .notice-grid {
    margin-right: -24px;
    margin-left: -24px;
  }

  .notice-grid > .serverside-feature {
    padding: 40px 24px;
  }

  .notice-grid,
  .feature-grid,
  .download-grid,
  .server-columns {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 52px;
  }

  .nav-tool-link {
    right: 14px;
    font-size: 16px;
  }

  .brawlhalla-nav {
    right: 14px;
    gap: 10px;
  }

  .brawlhalla-nav a {
    font-size: 13px;
  }

  .titlebar {
    font-size: 24px;
  }

  .tool-hero {
    padding: 56px 24px 72px;
  }

  .tool-shell,
  .tool-steps {
    grid-template-columns: 1fr;
  }

  .tool-shell {
    gap: 28px;
  }

  .tool-copy {
    text-align: center;
  }

  .tool-copy p {
    font-size: 18px;
  }

  .tool-copy h1 {
    font-size: 64px;
  }

  .disguiser-form {
    padding: 20px;
  }

  .placeholder-video strong {
    font-size: 46px;
  }

  .moneymatch-hero {
    padding: 56px 24px 72px;
  }

  .moneymatch-shell,
  .match-summary,
  .money-breakdown,
  .payment-actions {
    grid-template-columns: 1fr;
  }

  .moneymatch-shell {
    gap: 28px;
  }

  .moneymatch-copy {
    text-align: center;
  }

  .moneymatch-copy p {
    font-size: 22px;
  }

  .moneymatch-copy h1 {
    font-size: 64px;
  }

  .checkout-panel {
    padding: 20px;
  }

  .match-id-row {
    grid-template-columns: 1fr;
  }

  .match-summary strong,
  .money-breakdown strong {
    font-size: 24px;
  }
}
