:root {
  --bg: #141414;
  --ink: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.08);
  --glow: rgba(255, 255, 255, 0.14);

  --font-body: "Antonio", ui-sans-serif, system-ui, -apple-system, Segoe UI,
    Roboto, Helvetica, Arial;
  --font-title: "Michroma", ui-sans-serif, system-ui, -apple-system, Segoe UI,
    Roboto, Helvetica, Arial;

  /* Wider "app-like" layout */
  --page-pad: clamp(14px, 2.2vw, 28px);
  --desktop-topbar-clearance: clamp(72px, 8.2vh, 104px);

  --surface-0: #404040;
  --surface-1: #6b6b6b;
  --surface-2: #363636;
  --surface-3: #292929;

  --paper-0: radial-gradient(1200px 800px at 20% 0%, rgba(255, 255, 255, 0.08), transparent 60%),
    radial-gradient(900px 600px at 90% 20%, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 35%),
    linear-gradient(180deg, #3c3c3c, #1e1e1e 55%, #282828);

  --paper-1: radial-gradient(900px 520px at 20% 0%, rgba(255, 255, 255, 0.07), transparent 60%),
    radial-gradient(700px 520px at 80% 10%, rgba(255, 255, 255, 0.04), transparent 62%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.78), rgba(7, 7, 7, 0.62));

  --paper-2: radial-gradient(700px 420px at 20% 30%, rgba(255, 255, 255, 0.055), transparent 60%),
    radial-gradient(700px 420px at 90% 10%, rgba(255, 255, 255, 0.035), transparent 55%),
    linear-gradient(180deg, rgba(16, 16, 16, 0.72), rgba(7, 7, 7, 0.58));

  --radius: 0px;
  --radius-sm: 0px;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  overflow-x: hidden;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: #141414;
  background-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.58) 0%,
      rgba(0, 0, 0, 0.58) 20%,
      rgba(0, 0, 0, 0.50) 100%
    ),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04), transparent 55%);
  background-repeat: no-repeat, no-repeat;
  background-size: auto, auto;
  background-position: center top, center top;
  background-attachment: fixed, fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -12vh -6vw -18vh -6vw;
  pointer-events: none;
  width: calc(100vw + 12vw);
  height: calc(100vh + 30vh);
  left: -6vw;
  top: -12vh;
  transform: rotate(2deg);
  transform-origin: center center;
  z-index: -1;
  opacity: 0.035;
  filter: grayscale(1) brightness(0.9) contrast(1.02);
  background-image: url("/ug_svg.svg"), url("/ug_svg.svg");
  background-repeat: repeat, repeat;
  background-size: 148px 40px, 148px 40px;
  background-position: 0 0, 74px 20px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(var(--topbar-h, 0px) + 2px),
    rgba(0, 0, 0, 0.18) calc(var(--topbar-h, 0px) + 120px),
    rgba(0, 0, 0, 1) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(var(--topbar-h, 0px) + 2px),
    rgba(0, 0, 0, 0.18) calc(var(--topbar-h, 0px) + 120px),
    rgba(0, 0, 0, 1) 100%
  );
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.topbar {
  position: fixed;
  top: clamp(10px, 1.4vw, 22px);
  left: 50%;
  transform: translateX(-50%);
  width: min(97vw, 1860px);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 8, 0.72);
  box-shadow: 0 14px 46px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px) saturate(1.18);
  -webkit-backdrop-filter: blur(14px) saturate(1.18);
  z-index: 60;
  overflow: visible;
  --glow-left: 50%;
  --glow-width: 0px;
  --glow-opacity: 0;
}

.topbar::after {
  /* From Uiverse.io by SelfMadeSystem
   * More comprehensive version at shenanigans.shoghisimon.ca/collection/css-blur-blob-bg/
   * Inspired by shenanigans.shoghisimon.ca/collection/css-rain-bg/
   */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Keep this painted lightly so the filter can run without flattening contrast. */
  background-color: rgba(0, 0, 0, 0.01);
  background-image: radial-gradient(
    circle at 50% 50%,
    #0000 0,
    #0000 2px,
    hsl(0 0 2.2%) 2px
  );
  background-repeat: repeat;
  background-size: 8px 8px;
  animation: 5s ease-in-out hiii infinite;
  --f: blur(1.15em) brightness(1.2);
  backdrop-filter: var(--f) hue-rotate(0deg);
  -webkit-backdrop-filter: var(--f) hue-rotate(0deg);
  will-change: backdrop-filter;
  border-radius: inherit;
}

.topbar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--glow-left);
  width: var(--glow-width);
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  --c: #0066ffb5;
  --c1: #007b25;
  background-image:
    radial-gradient(
      240px 180px at 8% 46%,
      color-mix(in srgb, var(--c) 35%, transparent),
      transparent 110%
    ),
    radial-gradient(
      220px 170px at 32% 53%,
      color-mix(in srgb, var(--c1) 33%, transparent),
      transparent 110%
    ),
    radial-gradient(
      240px 180px at 50% 48%,
      color-mix(in srgb, var(--c) 31%, transparent),
      transparent 110%
    ),
    radial-gradient(
      240px 170px at 68% 56%,
      color-mix(in srgb, var(--c1) 31%, transparent),
      transparent 110%
    ),
    radial-gradient(
      240px 180px at 86% 47%,
      color-mix(in srgb, var(--c) 30%, transparent),
      transparent 110%
    ),
    radial-gradient(
      220px 170px at 100% 52%,
      color-mix(in srgb, var(--c1) 33%, transparent),
      transparent 110%
    );
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-position: 0% 50%, 20% 50%, 40% 50%, 60% 50%, 80% 50%, 100% 50%;
  filter: blur(8px) saturate(132%);
  opacity: var(--glow-opacity);
  transition:
    left 760ms cubic-bezier(0.22, 1, 0.36, 1),
    width 760ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease-out;
  animation: hi 20s ease-in-out infinite alternate;
  border-radius: inherit;
}

.topbar__inner {
  width: 100%;
  margin: 0 auto;
  padding: 6px 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.brandWrap {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
  background: transparent;
  border: none;
  appearance: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  justify-self: start;
  margin-left: 8px;
}

.topbarNav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.topbarNav__item {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-size: clamp(15px, 1.1vw, 20px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 11px 8px;
  text-align: center;
  cursor: pointer;
  transition: color 120ms ease, background-color 120ms ease;
  white-space: nowrap;
}

.topbarNav__item:hover {
  color: rgba(255, 255, 255, 1);
  background: transparent;
}

.topbarNav__item[aria-current="page"] {
  color: rgba(255, 255, 255, 0.96);
  background: transparent;
}

.topbarNav__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.topbarNav__socialLink {
  position: relative;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.topbarNav__socialLink img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  opacity: 0.9;
}

.topbarNav__socialLink:hover img,
.topbarNav__socialLink:focus-visible img {
  opacity: 1;
}

.topbarNav__socialLink:focus-visible {
  outline: 2px solid rgba(0, 210, 170, 0.35);
  outline-offset: 2px;
}

.topbarNav__socialLink--soon {
  opacity: 0.7;
}

.topbarNav__socialTip {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%) translateY(-4px);
  min-width: max-content;
  max-width: min(78vw, 420px);
  padding: 8px 10px;
  background: rgba(8, 8, 8, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
  z-index: 120;
}

.topbarNav__socialLink:hover .topbarNav__socialTip,
.topbarNav__socialLink:focus-visible .topbarNav__socialTip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}



.hamburger {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.26);
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  display: none;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hamburger:focus-visible {
  outline: 2px solid rgba(0, 210, 170, 0.35);
  outline-offset: 3px;
}

.hamburger__lines {
  width: 18px;
  height: 12px;
  position: relative;
}

.hamburger__lines::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 5px 0 rgba(255, 255, 255, 0.82),
    0 10px 0 rgba(255, 255, 255, 0.82);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.brand__logo {
  display: block;
  height: clamp(28px, 3.2vw, 52px);
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.65));
  opacity: 0.85;
}

.drawerBackdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.18);
}

.drawerBackdrop[hidden] {
  display: none !important;
}

.drawer {
  position: fixed;
  top: calc(var(--topbar-h, 0px) + 10px);
  left: 10px;
  height: auto;
  width: min(320px, calc(100vw - 20px));
  max-height: calc(100vh - var(--topbar-h, 0px) - 20px);
  overflow: auto;
  z-index: 60;
  background: #000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 14px 12px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
}

.drawer[hidden] {
  display: none !important;
}

.drawer__title {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 850;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.drawer__nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.drawer__item {
  width: 100%;
  padding: 6px 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  text-align: left;
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.drawer__item:hover {
  background: transparent;
  color: rgba(255, 255, 255, 1);
}

.drawer__item[aria-current="page"] {
  background: transparent;
  color: rgba(255, 255, 255, 1);
}

.page {
  padding: calc(var(--page-pad) + var(--desktop-topbar-clearance)) var(--page-pad) var(--page-pad);
}

.page[hidden] {
  display: none !important;
}

.page--project {
  padding: 0;
  display: grid;
  gap: 12px;
}

.projectSplit {
  width: 100%;
  display: grid;
  grid-template-columns: 64% 36%;
}

.projectSplit--reverse {
  grid-template-columns: 36% 64%;
}

.projectSplit__media {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.14);
}

.projectSplit__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.projectSplit__copy {
  background: rgba(0, 0, 0, 0.22);
  padding: clamp(22px, 3vw, 54px);
  display: grid;
  align-content: center;
  gap: 18px;
}

.projectSplit__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(21px, 2.325vw, 42px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
}

.projectSplit__body {
  margin: 0;
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial;
  font-size: clamp(16px, 1.12vw, 22px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
  max-width: 62ch;
}

.page--devlog {
  min-height: calc(100vh - var(--topbar-h, 0px));
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial;
}

.devlog {
  width: min(92vw, 1400px);
  margin: 0 auto;
  display: grid;
  gap: 0;
}

.devlog__header {
  padding: 16px 16px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.devlog__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(20px, 2.4vw, 41px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.devlog__lede {
  margin: 8px 0 0 0;
  margin-left: 0;
  max-width: 78ch;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.page--devlog .devlog__lede {
  display: none;
}

.devlog__list {
  display: grid;
  gap: 12px;
  padding: 12px 12px;
  background: rgba(0, 0, 0, 0.28);
  border: none;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.devlogRow {
  border-top: none;
}

.devlogRow:first-child {
  border-top: none;
}

.devlogRow__link {
  appearance: none;
  border: none;
  display: grid;
  grid-template-columns: clamp(220px, 18vw, 300px) 1fr;
  gap: 14px;
  align-items: stretch;
  padding: 0;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  background:
    radial-gradient(600px 220px at 0% 0%, rgba(255, 255, 255, 0.03), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.42));
  transition: background-color 140ms ease, border-color 140ms ease;
  cursor: pointer;
}

.devlogRow__link:hover {
  background:
    radial-gradient(600px 220px at 0% 0%, rgba(0, 210, 170, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.46));
}

.devlogRow__media {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
  border: none;
}

.devlogRow__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.92) saturate(0.95);
}

.devlogRow__copy {
  min-width: 0;
  display: grid;
  gap: 6px;
  align-content: center;
  padding: 12px 12px;
}

.devlogRow__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.devlogRow__time {
  color: rgba(255, 255, 255, 0.66);
}

.devlogRow__tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.80);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.10em;
}

.devlogRow__tag--dev {
  background: rgba(0, 210, 170, 0.12);
  border-color: rgba(0, 210, 170, 0.28);
}

.devlogRow__tag--game {
  background: rgba(170, 110, 255, 0.12);
  border-color: rgba(170, 110, 255, 0.28);
}

.devlogRow__tag--map {
  background: rgba(0, 160, 255, 0.12);
  border-color: rgba(0, 160, 255, 0.28);
}

.devlogRow__tag--cars {
  background: rgba(255, 200, 90, 0.14);
  border-color: rgba(255, 200, 90, 0.30);
}

.devlogRow__heading {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(12px, 1.2vw, 17px);
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.devlogRow__subtext {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.70);
  max-width: 90ch;
}

.devlogRow__link:focus-visible {
  outline: 2px solid rgba(0, 210, 170, 0.35);
  outline-offset: 2px;
}

.page--devpost {
  min-height: calc(100vh - var(--topbar-h, 0px));
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial;
}

.devpost {
  width: min(92vw, 1050px);
  margin: 0 auto;
  background: #000;
  border: none;
}

.devpost__top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 12px;
  border-bottom: none;
  background: #000;
}

.devpost__back {
  appearance: none;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  padding: 10px 10px;
  font: inherit;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.devpost__back:hover {
  background: rgba(255, 255, 255, 0.12);
}

.devpost__kicker {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.70);
  text-transform: uppercase;
}

.devpost__header {
  padding: 18px 16px 12px;
}

.devpost__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(18px, 2.325vw, 33px);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
}

.devpost__meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.66);
  letter-spacing: 0.02em;
}

.devpost__tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.10em;
}

.devpost__tag--dev {
  background: rgba(0, 210, 170, 0.12);
  border-color: rgba(0, 210, 170, 0.28);
}

.devpost__tag--game {
  background: rgba(170, 110, 255, 0.12);
  border-color: rgba(170, 110, 255, 0.28);
}

.devpost__tag--map {
  background: rgba(0, 160, 255, 0.12);
  border-color: rgba(0, 160, 255, 0.28);
}

.devpost__tag--cars {
  background: rgba(255, 200, 90, 0.14);
  border-color: rgba(255, 200, 90, 0.30);
}

.devpost__body ul ul {
  margin-top: 8px;
  margin-bottom: 0;
}

.devpost__hero {
  margin: 0;
  border-top: none;
  border-bottom: none;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.devpost__heroImg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.90) saturate(0.95);
}

.devpost__hero--contain .devpost__heroImg {
  object-fit: contain;
  background: #000;
}

.devpost__body {
  padding: 16px 16px 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
  max-width: 85ch;
}

.devpost__body p {
  margin: 0 0 14px 0;
}

.devpost__body h3 {
  margin: 18px 0 10px 0;
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.devpost__body ul {
  margin: 0 0 14px 18px;
  padding: 0;
}

.devpost__body li {
  margin: 6px 0;
  color: rgba(255, 255, 255, 0.78);
}

.devpost__back:focus-visible {
  outline: 2px solid rgba(0, 210, 170, 0.35);
  outline-offset: 2px;
}

.page--socials {
  min-height: calc(100vh - var(--topbar-h, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
}

.socialApps {
  width: min(92vw, 560px);
  padding: 20px 18px 24px;
  background:
    radial-gradient(90% 120% at 10% 0%, rgba(255, 255, 255, 0.05), transparent 58%),
    rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}

.socialApps__header {
  margin-bottom: 16px;
  text-align: center;
}

.socialApps__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
}

.socialApps__lede {
  margin: 8px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
}

.socialApps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 14px;
}

.socialApp {
  text-decoration: none;
  color: inherit;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  min-height: 122px;
}

.socialApp__iconWrap {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 120ms ease, border-color 120ms ease, background-color 120ms ease;
}

.socialApp__icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.socialApp__label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.socialApp__meta {
  text-align: center;
  font-size: 11px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.64);
}

.socialApp:hover .socialApp__iconWrap,
.socialApp:focus-visible .socialApp__iconWrap {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.socialApp:focus-visible {
  outline: 2px solid rgba(0, 210, 170, 0.35);
  outline-offset: 3px;
}

.page--stub {
  min-height: calc(100vh - var(--topbar-h, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
}

.stubPage {
  width: min(92vw, 1400px);
  min-height: calc(100vh - var(--topbar-h, 0px) - (var(--page-pad) * 2));
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
}

.stubPage__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(21px, 2.85vw, 48px);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.scrollPage {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  min-height: 0;
  display: grid;
  grid-template-rows: 1fr;
  gap: 12px;
}

.page--component {
  height: calc(100vh - var(--topbar-h, 0px));
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page--component .scrollPage {
  flex: 1;
  min-height: 0;
}

.page--landing {
  padding: 0;
  min-height: 100vh;
  display: block;
}

.homePanel {
  width: 100vw;
  margin: 0;
  background: transparent;
  border: none;
  padding: 0;
  display: block;
}

.homePanel__header {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.homePanel__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(24px, 3vw, 42px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
}

.homePanel__lede {
  margin: 0;
  max-width: 70ch;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
}

.homePanel__slideshow {
  position: relative;
  width: 100vw;
  height: auto;
  aspect-ratio: auto;
  overflow: hidden;
  background: transparent;
  transition: height 520ms ease;
}

.homePanel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: none;
  transition: opacity 900ms ease;
  pointer-events: none;
}

.homePanel__slide.is-active {
  opacity: 1;
  transform: none;
}

.homePanel__dots {
  display: none;
}

.homePanel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}

.homePanel__dot.is-active {
  background: rgba(255, 255, 255, 0.85);
}

.homePanel__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.homePanel__action {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.92);
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.homePanel__action:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.homePanel__action:focus-visible {
  outline: 2px solid rgba(0, 210, 170, 0.35);
  outline-offset: 2px;
}

.u-visuallyHidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page--phase1 {
  min-height: calc(100vh - var(--topbar-h, 0px));
  padding:
    calc(clamp(28px, 4vw, 56px) + var(--desktop-topbar-clearance))
    clamp(18px, 3vw, 40px)
    clamp(28px, 4vw, 56px);
}

.phase1 {
  width: min(92vw, 960px);
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(20px, 3vw, 36px);
  display: grid;
  gap: 22px;
}

.phase1__header {
  display: grid;
  gap: 10px;
}

.phase1__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #a52a2a;
}

.page[data-page="page3"] .phase1__title {
  color: rgba(255, 255, 255, 0.94);
}

.phase1__intro,
.phase1__text {
  margin: 0;
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.phase1__section {
  display: grid;
  gap: 10px;
}

.phase1__heading {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(15px, 1.35vw, 23px);
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.phase1__list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.phase1 a,
.phase1__text,
.phase1__intro,
.phase1__list li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.scrollPage__content {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0;
  background: transparent;
  display: grid;
  gap: 14px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollPage__content::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.snapPanel {
  --panel-max-h: calc(
    100vh - var(--topbar-h, 0px) - (var(--page-pad) * 2) - 24px
  );
  /* Maintain true 16:9 while maximizing within viewport constraints. */
  --panel-h: min(var(--panel-max-h), calc(94vw * 9 / 16));
  height: var(--panel-h);
  width: calc(var(--panel-h) * 16 / 9);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.snapPanel__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: contrast(1.05) brightness(0.88);
  transform: scale(1.02);
}

.snapPanel__bg--contain {
  object-fit: contain;
  transform: none;
}

.snapPanel__bg--landing {
  object-fit: contain;
  transform: none;
  opacity: 1;
  filter: none;
}

.snapPanel__content {
  position: relative;
  z-index: 2;
  padding: 28px 28px;
  margin-top: clamp(44px, 9vh, 160px);
  max-width: 720px;
}

.snapPanel__content::before {
  content: "";
  position: absolute;
  inset: -18px -22px -18px -22px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.03) 60%,
      rgba(0, 0, 0, 0.0)
    );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.snapPanel--rtl .snapPanel__content::before {
  background:
    linear-gradient(
      270deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.03) 60%,
      rgba(0, 0, 0, 0.0)
    );
}

.snapPanel__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
}

.snapPanel__body {
  margin: 10px 0 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.84);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.snapPanel.is-active .snapPanel__body {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .projectSplit {
    grid-template-columns: 1fr;
  }
  .projectSplit--reverse {
    grid-template-columns: 1fr;
  }
  .projectSplit__media {
    min-height: 0;
  }
  .snapPanel {
    width: 100%;
  }
  .snapPanel__content {
    padding: 18px 18px;
  }
}

@media (max-width: 720px) {
  .page {
    padding: var(--page-pad);
  }

  .page--phase1 {
    padding: clamp(28px, 4vw, 56px) clamp(18px, 3vw, 40px);
  }

  .phase1 {
    width: 100%;
    max-width: 100%;
    padding: clamp(14px, 4vw, 20px);
  }

  .page[data-page="page3"] .phase1 {
    overflow-x: hidden;
  }

  .page[data-page="page3"] .phase1__title {
    font-size: clamp(20px, 8.2vw, 30px);
    line-height: 1.06;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .page[data-page="page3"] .phase1__heading,
  .page[data-page="page3"] .phase1__text,
  .page[data-page="page3"] .phase1__intro,
  .page[data-page="page3"] .phase1__list li {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .page--project .projectSplit,
  .page--project .projectSplit--reverse {
    grid-template-columns: 1fr;
  }

  .page--project .projectSplit__media {
    display: none;
  }

  .page--project .projectSplit__copy {
    width: 100%;
  }

  .topbar::before,
  .topbar::after {
    display: none;
    animation: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .topbar {
    position: sticky;
    top: 0;
    left: auto;
    transform: none;
    width: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 20;
    background: #000;
    overflow: hidden;
  }

  .topbar__inner {
    grid-template-columns: auto 1fr;
    column-gap: 10px;
    padding: 6px 10px;
  }

  .hamburger {
    display: inline-flex;
  }

  .brandWrap {
    justify-self: end;
    margin-left: 0;
  }

  .topbarNav {
    display: none;
  }

  .drawer {
    top: var(--topbar-h, 0px);
    left: 0;
    width: 100vw;
    max-width: 100vw;
    max-height: calc(100vh - var(--topbar-h, 0px));
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    padding: 14px 16px;
  }

  .page--landing {
    padding: 0;
  }

  .homePanel {
    width: 100vw;
    padding: 0;
  }

  .homePanel__slideshow {
    width: 100vw;
    height: auto !important;
    aspect-ratio: auto;
    display: grid;
    gap: 8px;
    overflow: visible;
    transition: none;
  }

  .homePanel__slide {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 1 !important;
    transform: none !important;
    transition: none;
    pointer-events: auto;
  }

  .socialApps {
    width: min(94vw, 520px);
    padding: 16px 12px 20px;
    border-left: none;
    border-right: none;
  }

  .socialApps__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .socialApp__iconWrap {
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }

  .socialApp__icon {
    width: 38px;
    height: 38px;
  }

  .devlogRow__link {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .devlogRow__media {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .devlogRow__copy {
    padding-top: 10px;
  }

  .devpost__top {
    flex-direction: column;
    align-items: stretch;
  }
}

.shell {
  margin: 0 auto;
  padding: 0;
  max-width: none;
  min-height: calc(100vh - var(--topbar-h, 0px));
}

.content-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  height: calc(100vh - var(--topbar-h, 0px) - (var(--page-pad) * 2));
  min-height: 360px;
}

.content-card {
  position: relative;
  height: 100%;
  min-height: 320px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.75));
  pointer-events: none;
}

.content-card__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 12px 12px 52px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-card__title {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 750;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.92);
}

.content-card--browser {
  background: rgba(255, 255, 255, 0.055);
}

.content-card--browser::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.85));
}

.cars {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  min-height: calc(100vh - var(--topbar-h, 0px) - (var(--page-pad) * 2));
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
}

.cars__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cars__title {
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.86);
}

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

.cars__search {
  height: 34px;
  width: min(360px, 52vw);
  border: none;
  outline: none;
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.9);
  padding: 0 10px;
  font-size: 12px;
}

.cars__search:focus {
  outline: 2px solid rgba(0, 210, 170, 0.28);
}

.cars__btn {
  height: 34px;
  padding: 0 12px;
  border: none;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.cars__btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.cars__btn:not([disabled]):hover {
  background: rgba(255, 255, 255, 0.14);
}

.cars__btn--secondary {
  background: rgba(0, 0, 0, 0.18);
}

.cars__btn--secondary:not([disabled]):hover {
  background: rgba(0, 0, 0, 0.26);
}

.cars__btn--danger {
  background: rgba(255, 60, 60, 0.18);
  color: rgba(255, 255, 255, 0.92);
}

.cars__btn--danger:not([disabled]):hover {
  background: rgba(255, 60, 60, 0.28);
}

.cars__btn[hidden] {
  display: none !important;
}

.cars__status {
  min-height: 1.4em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
}

.cars__tableWrap {
  background: rgba(0, 0, 0, 0.12);
  overflow: auto;
  min-height: 0;
}

.cars__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.cars__table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(10, 10, 10, 0.85);
  color: rgba(255, 255, 255, 0.75);
  text-align: left;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0;
  white-space: nowrap;
}

.cars__thBtn {
  width: 100%;
  height: 100%;
  padding: 8px 10px;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cars__thBtn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.cars__thLabel {
  overflow: hidden;
  text-overflow: ellipsis;
}

.cars__thIcon {
  min-width: 14px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  font-size: 10px;
}

.cars__thArrow {
  opacity: 0.45;
}

.cars__th[aria-sort="ascending"] .cars__thArrow--up {
  opacity: 0.95;
  color: rgba(0, 210, 170, 0.95);
}

.cars__th[aria-sort="ascending"] .cars__thArrow--down {
  opacity: 0.22;
}

.cars__th[aria-sort="descending"] .cars__thArrow--down {
  opacity: 0.95;
  color: rgba(0, 210, 170, 0.95);
}

.cars__th[aria-sort="descending"] .cars__thArrow--up {
  opacity: 0.22;
}

.cars__table tbody td {
  padding: 8px 10px;
  vertical-align: top;
  color: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 120px;
  white-space: nowrap;
}

.cars__table tbody td.cars__checkCell {
  min-width: 40px;
  width: 40px;
}

.cars__rowCheck {
  width: 14px;
  height: 14px;
  accent-color: rgba(255, 60, 60, 0.95);
}

.cars__select {
  width: 100%;
  height: 24px;
  border: none;
  outline: none;
  background: rgba(0, 0, 0, 0.0);
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
}

.cars__select:focus {
  outline: 2px solid rgba(0, 210, 170, 0.28);
}

.cars__select option {
  background: #0c0c0c;
  color: rgba(255, 255, 255, 0.92);
}

.modalBackdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.55);
}

.modalBackdrop[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  z-index: 80;
  left: 50%;
  top: 12vh;
  transform: translateX(-50%);
  width: min(920px, calc(100vw - 28px));
  max-height: calc(100vh - 20vh);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(15, 15, 15, 0.84);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.modal[hidden] {
  display: none !important;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal__title {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.82);
}

.modal__close {
  width: 34px;
  height: 34px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
  cursor: pointer;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.10);
}

.modal__body {
  padding: 12px 12px;
  overflow: auto;
}

.modal__status {
  min-height: 1.4em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
}

.modal__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.modal__field {
  display: grid;
  gap: 6px;
}

.modal__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

.modal__input,
.modal__select {
  height: 34px;
  border: none;
  outline: none;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.92);
  padding: 0 10px;
  font-size: 12px;
}

.modal__input:focus,
.modal__select:focus {
  outline: 2px solid rgba(0, 210, 170, 0.28);
}

.modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .modal__form {
    grid-template-columns: 1fr;
  }
}

.cars__table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.cars__cell {
  outline: none;
}

.cars__cell:focus {
  background: rgba(0, 210, 170, 0.08);
}

.cars__row.is-hidden {
  display: none;
}

.content-card--center {
  background: rgba(255, 255, 255, 0.03);
}

.content-card--center::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.85));
}

.diff {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  gap: 10px;
}

.diff__title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.78);
}

.diff__meta {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.74);
}

.diff__label {
  color: rgba(255, 255, 255, 0.55);
}

.diff__btn {
  appearance: none;
  border: none;
  border-radius: 0;
  background: rgba(0, 210, 170, 0.16);
  color: rgba(255, 255, 255, 0.92);
  padding: 12px 12px;
  cursor: pointer;
  font-weight: 750;
  letter-spacing: 0.2px;
}

.diff__btn[disabled] {
  opacity: 0.45;
  cursor: default;
}

.diff__btn:not([disabled]):hover {
  background: rgba(0, 210, 170, 0.22);
}

.diff__btn--secondary {
  background: rgba(255, 255, 255, 0.10);
}

.diff__btn--secondary:not([disabled]):hover {
  background: rgba(255, 255, 255, 0.14);
}

.diff__btn--deploy {
  background: rgba(0, 210, 170, 0.16);
}

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

.diff__check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  user-select: none;
}

.diff__checkInput {
  width: 14px;
  height: 14px;
}

.diff__status {
  min-height: 1.4em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

.diff__list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 6px;
  background: rgba(0, 0, 0, 0.20);
}

.diff__row {
  display: grid;
  grid-template-columns: 18px auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.diff__row.is-excluded {
  opacity: 0.45;
}

.diff__rowCheck {
  width: 14px;
  height: 14px;
  accent-color: rgba(0, 210, 170, 0.9);
}

.diff__rowCheck:disabled {
  opacity: 0.35;
}

.diff__row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.diff__pill {
  display: inline-block;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);
}

.diff__row--changed .diff__pill {
  background: rgba(0, 160, 255, 0.20);
}

.diff__row--only-left .diff__pill,
.diff__row--only-right .diff__pill {
  background: rgba(255, 255, 255, 0.12);
}

.diff__path {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.diff__more {
  padding: 8px 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
}

.diff__review {
  display: grid;
  gap: 8px;
}

.diff__reviewTitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.2px;
  font-weight: 750;
}

.diff__notes {
  width: 100%;
  min-height: 90px;
  max-height: 150px;
  resize: vertical;
  border: none;
  border-radius: 0;
  outline: none;
  background: rgba(0, 0, 0, 0.20);
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.4;
}

.diff__notes:focus {
  outline: 2px solid rgba(0, 210, 170, 0.28);
}

.diff__exportRow {
  display: flex;
  gap: 10px;
}

.deploySummary {
  padding: 10px 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.20);
  white-space: pre-line;
}

.diff__confirm {
  display: grid;
  gap: 6px;
}

.diff__confirmLabel {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

.diff__confirmInput {
  width: 100%;
  border: none;
  border-radius: 0;
  outline: none;
  background: rgba(0, 0, 0, 0.20);
  color: rgba(255, 255, 255, 0.92);
  padding: 10px 10px;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.diff__confirmInput:focus {
  outline: 2px solid rgba(255, 255, 255, 0.14);
}

.vsc {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: rgba(0, 0, 0, 0.20);
}

.vsc__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 10px;
  background: rgba(0, 0, 0, 0.35);
}

.vsc__barTitle {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.9px;
  color: rgba(255, 255, 255, 0.78);
}

.vsc__barActions {
  display: flex;
  gap: 8px;
}

.vsc__iconBtn {
  appearance: none;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  width: 34px;
  height: 28px;
  padding: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  display: grid;
  place-items: center;
}

.vsc__iconBtn[disabled] {
  opacity: 0.45;
  cursor: default;
}

.vsc__iconBtn:not([disabled]):hover {
  background: rgba(255, 255, 255, 0.10);
}

.vsc__section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.vsc__sectionHeader {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: none;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.vsc__twisty {
  width: 14px;
  display: inline-block;
  opacity: 0.9;
}

.vsc__sectionHeader[aria-expanded="false"] .vsc__twisty {
  transform: rotate(-90deg);
}

.vsc__tree {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 6px 0;
}

.vsc__row {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: calc(10px + (var(--depth, 0) * 14px));
  padding-right: 10px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.86);
  user-select: none;
}

.vsc__row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.vsc__row.is-selected {
  background: rgba(255, 255, 255, 0.10);
}

.vsc__row.is-diff {
  background: rgba(0, 160, 255, 0.16);
}

.vsc__row.is-only {
  background: rgba(0, 210, 170, 0.16);
}

.vsc__row.is-contains:not(.is-diff):not(.is-only) {
  background: rgba(255, 255, 255, 0.06);
}

.vsc__rowTwisty {
  width: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transform: rotate(0deg);
}

.vsc__rowTwisty.is-hidden {
  opacity: 0;
}

.vsc__rowTwisty.is-open {
  transform: rotate(90deg);
}

.vsc__icon {
  width: 22px;
  font-size: 12px;
  letter-spacing: 0.4px;
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.78);
}

.vsc__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
}

.vsc__status {
  padding: 8px 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.60);
  background: rgba(0, 0, 0, 0.35);
  min-height: 1.4em;
}

.vsc__preview {
  padding: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.35);
  overflow: auto;
  max-height: 40%;
}

.vsc__preview a {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1280px) {
  .content-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
  }
}

@media (max-width: 860px) {
  .content-cards {
    grid-template-columns: 1fr;
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .topbar::before,
  .topbar::after {
    animation: none !important;
  }
}

@keyframes hiii {
  0% {
    backdrop-filter: var(--f) hue-rotate(0deg);
  }
  25% {
    backdrop-filter: var(--f) hue-rotate(-25deg);
  }
  28% {
    backdrop-filter: var(--f) hue-rotate(0deg);
  }
  32% {
    backdrop-filter: var(--f) hue-rotate(-20deg);
  }
  39% {
    backdrop-filter: var(--f) hue-rotate(0deg);
  }
  40% {
    backdrop-filter: var(--f) hue-rotate(-20deg);
  }
  41% {
    backdrop-filter: var(--f) hue-rotate(0deg);
  }
  42% {
    backdrop-filter: var(--f) hue-rotate(-25deg);
  }
  44% {
    backdrop-filter: var(--f) hue-rotate(0deg);
  }
  58% {
    backdrop-filter: var(--f) hue-rotate(-20deg);
  }
  64% {
    backdrop-filter: var(--f) hue-rotate(0deg);
  }
  80% {
    backdrop-filter: var(--f) hue-rotate(-25deg);
  }
  to {
    backdrop-filter: var(--f) hue-rotate(0deg);
  }
}

@keyframes hi {
  0% {
    background-position: -16% 50%, 4% 50%, 24% 50%, 44% 50%, 64% 50%, 84% 50%;
  }
  50% {
    background-position: -9% 48%, 11% 52%, 31% 48%, 51% 52%, 71% 48%, 91% 52%;
  }
  100% {
    background-position: -2% 50%, 18% 50%, 38% 50%, 58% 50%, 78% 50%, 98% 50%;
  }
}
