@font-face {
  font-family: "DexOS";
  src: url("/assets/fonts/DexOS.woff2") format("woff2"), url("/assets/fonts/DexOS.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Impact Local";
  src: url("/assets/fonts/Impact.woff2") format("woff2"), url("/assets/fonts/Impact.woff") format("woff");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #050509;
  --black-2: #09090f;
  --panel: rgba(11, 11, 18, 0.78);
  --panel-solid: #101018;
  --panel-soft: rgba(255, 255, 255, 0.055);
  --white: #f4f2ef;
  --muted: #9a99a5;
  --dim: #6d6b79;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.24);
  --acid: #b8ff36;
  --cyan: #4af4d0;
  --violet: #8e61ff;
  --magenta: #ff4edb;
  --yellow: #fff04d;
  --red: #ff625f;
  --blue: #4e74ff;
  --topbar-h: 50px;
  --dock-h: 82px;
  --radius: 18px;
  --radius-sm: 11px;
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DexOS", "SFMono-Regular", Consolas, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.76, 0, 0.24, 1);
  --shadow: 0 36px 90px rgba(0, 0, 0, 0.56), 0 10px 30px rgba(0, 0, 0, 0.34);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--black);
}

body {
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.os-shell {
  user-select: none;
}

.os-shell :where(
  input,
  textarea,
  [contenteditable="true"],
  .resume-document,
  .about-copy,
  .terminal-output,
  .chat-message__bubble,
  .byoa-hero__pitch,
  .byoa-service-card p,
  .byoa-process__intro > p:last-child,
  .byoa-quote__copy > p:last-child,
  .byoa-quote__checklist strong,
  .byoa-cta > div > p:last-child
) {
  cursor: text;
  user-select: text;
}

.portfolio-app,
.portfolio-app * {
  cursor: default;
  user-select: none;
}

.portfolio-app button,
.portfolio-app a {
  cursor: pointer;
}

.os-shell img {
  -webkit-user-drag: none;
}

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

:where(input, textarea, [contenteditable="true"]) {
  text-transform: uppercase !important;
}

:where(input, textarea)::placeholder {
  text-transform: uppercase;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

a {
  color: inherit;
}

img,
video,
canvas {
  display: block;
  max-width: 100%;
}

::selection {
  color: #08080c;
  background: var(--acid);
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.025);
}

::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.21);
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
  background-clip: padding-box;
}

kbd {
  min-width: 20px;
  padding: 2px 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  box-shadow: inset 0 -1px rgba(0, 0, 0, 0.4);
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: 220ms var(--ease-out);
}

.icon-button:hover {
  color: var(--black);
  background: var(--acid);
  transform: rotate(7deg) scale(1.06);
}

/* Boot sequence */

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  overflow: auto;
  place-items: center;
  background:
    linear-gradient(115deg, rgba(142, 97, 255, 0.12), transparent 35%),
    radial-gradient(circle at 85% 12%, rgba(74, 244, 208, 0.09), transparent 28%),
    #050509;
  transition: opacity 850ms var(--ease-snap), visibility 850ms;
}

.boot-screen::before,
.boot-screen::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.boot-screen::before {
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}

.boot-screen::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  box-shadow: 0 0 34px 6px rgba(74, 244, 208, 0.2);
  animation: scan-screen 3.2s linear infinite;
}

.boot-screen__aura {
  position: absolute;
  left: 10%;
  top: 50%;
  width: min(50vw, 700px);
  aspect-ratio: 1;
  border: 1px solid rgba(184, 255, 54, 0.14);
  border-radius: 50%;
  filter: drop-shadow(0 0 60px rgba(142, 97, 255, 0.13));
  transform: translate(-50%, -50%);
}

.boot-screen__aura::before,
.boot-screen__aura::after {
  position: absolute;
  inset: 9%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: inherit;
  content: "";
  animation: orbit 25s linear infinite;
}

.boot-screen__aura::after {
  inset: 22%;
  border-color: rgba(255, 78, 219, 0.2);
  animation-direction: reverse;
  animation-duration: 16s;
}

.boot-screen__layout {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1120px, calc(100% - 64px));
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(60px, 9vw, 160px);
  align-items: center;
}

.boot-screen__identity h1 {
  margin: -4px 0 0;
  font-family: var(--display);
  font-size: clamp(60px, 9vw, 124px);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.82;
}

.boot-screen__identity h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.62);
}

.boot-screen__mark-wrap {
  position: relative;
  display: grid;
  width: 88px;
  height: 88px;
  margin-bottom: 42px;
  place-items: center;
}

.boot-screen__mark {
  width: 57px;
  height: 57px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.24));
}

.boot-screen__orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--acid);
  border-right-color: var(--magenta);
  border-radius: 50%;
  animation: orbit 2.4s linear infinite;
}

.boot-screen__orbit::after {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 13px var(--acid);
  content: "";
}

.boot-screen__edition {
  margin: 24px 0 0 5px;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
}

.boot-console {
  position: relative;
  min-height: 390px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 7, 12, 0.68);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(24px);
}

.boot-console::before {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 78px;
  height: 1px;
  background: var(--acid);
  box-shadow: 0 0 15px rgba(184, 255, 54, 0.6);
  content: "";
}

.boot-console__head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.boot-log {
  height: 230px;
  margin: 22px 0 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 2.1;
}

.boot-log li {
  animation: boot-line 420ms var(--ease-out) both;
}

.boot-log li::before {
  margin-right: 12px;
  color: var(--cyan);
  content: "›";
}

.boot-log li.is-ready {
  color: var(--white);
}

.boot-log li.is-ready::after {
  float: right;
  color: var(--acid);
  content: "[OK]";
}

.boot-progress {
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.boot-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--magenta), var(--acid));
  box-shadow: 0 0 17px var(--magenta);
  transition: width 300ms var(--ease-out);
}

.boot-skip {
  margin: 22px 0 0;
  padding: 0;
  color: var(--dim);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
}

.boot-skip:hover {
  color: var(--white);
}

.boot-skip kbd {
  margin-left: 7px;
}

.boot-screen__legal {
  position: absolute;
  right: 32px;
  bottom: 22px;
  margin: 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.booted .boot-screen {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* OS chrome */

.os-shell {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 700ms 220ms ease;
}

body.booted .os-shell {
  opacity: 1;
}

body.is-shutting-down .os-shell {
  opacity: 0;
  filter: blur(18px) saturate(0);
  transform: scale(0.965);
  transition: opacity 650ms ease, filter 650ms ease, transform 650ms var(--ease-snap);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 8000;
  display: flex;
  width: 100%;
  height: var(--topbar-h);
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(5, 5, 9, 0.76);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
}

.topbar::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet));
  content: "";
}

.topbar__left,
.topbar__right,
.system-menu {
  display: flex;
  height: 100%;
  align-items: center;
}

.brand-button {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.04em;
  transition: background 180ms ease;
}

.brand-button:hover,
.brand-button[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.08);
}

.brand-button img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.menu-group {
  position: relative;
  height: 100%;
}

.menu-trigger {
  height: 100%;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  transition: 160ms ease;
}

.menu-trigger:hover,
.menu-trigger.is-open {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.menu-popover {
  position: absolute;
  top: calc(100% + 7px);
  left: 4px;
  width: 244px;
  padding: 7px;
  visibility: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  opacity: 0;
  background: rgba(12, 12, 19, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  transform: translateY(-8px) scale(0.98);
  transform-origin: top left;
  transition: 160ms var(--ease-out);
}

.menu-trigger.is-open + .menu-popover {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.menu-popover button,
.menu-popover a {
  display: flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  text-align: left;
  text-decoration: none;
}

.menu-popover button:hover,
.menu-popover a:hover {
  color: var(--black);
  background: var(--acid);
}

.menu-popover button:hover kbd,
.menu-popover a:hover kbd {
  color: rgba(0, 0, 0, 0.65);
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.08);
}

.menu-popover > i,
.context-menu > i {
  display: block;
  height: 1px;
  margin: 5px 7px;
  background: var(--line);
}

.menu-popover--apps {
  width: 286px;
  max-height: min(520px, calc(100vh - 70px));
  overflow-y: auto;
}

.menu-app {
  gap: 10px;
}

.menu-app img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.menu-app span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.menu-app small {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.topbar__center {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.signal-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 9px var(--acid);
  animation: pulse-dot 2.3s infinite;
}

.status-button,
.clock-button {
  height: 100%;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.status-button:hover,
.clock-button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.status-button {
  display: grid;
  width: 42px;
  place-items: center;
}

.sound-bars {
  display: flex;
  height: 14px;
  align-items: flex-end;
  gap: 2px;
}

.sound-bars i {
  display: block;
  width: 2px;
  border-radius: 3px;
  background: currentColor;
  animation: sound-bar 950ms ease-in-out infinite alternate;
}

.sound-bars i:nth-child(1) { height: 5px; }
.sound-bars i:nth-child(2) { height: 12px; animation-delay: -400ms; }
.sound-bars i:nth-child(3) { height: 8px; animation-delay: -700ms; }

body.is-muted .sound-bars i {
  height: 2px !important;
  animation-play-state: paused;
}

.status-button--network span {
  position: relative;
  width: 17px;
  height: 13px;
  border: 1px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(45deg);
}

.status-button--network span::after {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 6px var(--acid);
  content: "";
}

.clock-button {
  display: flex;
  min-width: 126px;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  padding: 0 16px 0 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.clock-button span {
  color: var(--dim);
}

.clock-button strong {
  font-weight: 400;
}

/* Desktop and wallpaper */

.desktop {
  position: fixed;
  inset: var(--topbar-h) 0 0;
  overflow: hidden;
  isolation: isolate;
  outline: 0;
  background: #08080d;
}

.wallpaper,
.noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wallpaper {
  z-index: -4;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 45%, rgba(72, 34, 131, 0.38), transparent 33%),
    radial-gradient(circle at 44% 15%, rgba(11, 90, 83, 0.24), transparent 28%),
    linear-gradient(135deg, #0b0b12 0%, #050509 55%, #090810 100%);
  transition: filter 900ms ease, background 900ms ease;
}

.wallpaper::before {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    linear-gradient(112deg, transparent 34%, rgba(255, 255, 255, 0.06) 34.15%, transparent 34.3%),
    linear-gradient(71deg, transparent 58%, rgba(184, 255, 54, 0.12) 58.1%, transparent 58.3%);
  content: "";
}

.wallpaper__mesh {
  position: absolute;
  inset: -30%;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse at 68% 50%, black, transparent 56%);
  transform: perspective(850px) rotateX(63deg) rotateZ(-14deg) translateY(22%);
  animation: mesh-drift 18s ease-in-out infinite alternate;
}

.wallpaper__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  mix-blend-mode: screen;
}

.wallpaper__orb::before {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  content: "";
}

.wallpaper__orb--a {
  top: -24%;
  right: -9%;
  width: min(58vw, 870px);
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 38% 68%, rgba(255, 255, 255, 0.26), transparent 2%),
    conic-gradient(from 205deg, transparent 0 18%, rgba(142, 97, 255, 0.2) 32%, rgba(255, 78, 219, 0.13) 48%, transparent 61% 100%);
  box-shadow: inset 30px 0 90px rgba(142, 97, 255, 0.12), 0 0 120px rgba(142, 97, 255, 0.05);
  animation: float-a 14s ease-in-out infinite alternate;
}

.wallpaper__orb--b {
  right: 25%;
  bottom: -29%;
  width: min(35vw, 540px);
  aspect-ratio: 1;
  background: conic-gradient(from 45deg, transparent, rgba(74, 244, 208, 0.22), transparent 38%, rgba(184, 255, 54, 0.12), transparent 70%);
  box-shadow: inset -20px 10px 70px rgba(74, 244, 208, 0.08);
  animation: float-b 11s ease-in-out infinite alternate;
}

.wallpaper__ring {
  position: absolute;
  top: 48%;
  left: 64%;
  width: min(62vw, 980px);
  height: min(24vw, 360px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-right-color: rgba(184, 255, 54, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(184, 255, 54, 0.03), inset 0 0 50px rgba(142, 97, 255, 0.03);
  transform: translate(-50%, -50%) rotate(-19deg);
  animation: ring-breathe 9s ease-in-out infinite alternate;
}

.wallpaper__ring::before,
.wallpaper__ring::after {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
}

.wallpaper__ring::before {
  right: -4px;
  background: var(--acid);
  box-shadow: 0 0 18px var(--acid);
}

.wallpaper__ring::after {
  left: 4%;
  background: var(--magenta);
  box-shadow: 0 0 16px var(--magenta);
}

.wallpaper__x {
  position: absolute;
  top: 50%;
  left: 68%;
  color: rgba(255, 255, 255, 0.025);
  font-family: var(--display);
  font-size: min(61vw, 920px);
  font-weight: 900;
  line-height: 0.7;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  text-shadow: 0 0 90px rgba(142, 97, 255, 0.09);
  transform: translate(-50%, -50%) rotate(6deg);
  user-select: none;
}

.wallpaper--1 {
  background:
    radial-gradient(circle at 62% 45%, rgba(168, 17, 119, 0.32), transparent 38%),
    radial-gradient(circle at 36% 20%, rgba(80, 33, 172, 0.27), transparent 36%),
    #07060c;
}

.wallpaper--1 .wallpaper__x {
  color: rgba(255, 78, 219, 0.035);
  -webkit-text-stroke-color: rgba(255, 78, 219, 0.18);
}

.wallpaper--2 {
  background:
    radial-gradient(circle at 64% 40%, rgba(21, 110, 94, 0.32), transparent 37%),
    linear-gradient(155deg, #0a1010, #040707 60%, #080c0b);
}

.wallpaper--2 .wallpaper__x {
  color: rgba(74, 244, 208, 0.025);
  -webkit-text-stroke-color: rgba(74, 244, 208, 0.14);
}

.wallpaper--3 {
  background:
    radial-gradient(circle at 72% 40%, rgba(120, 134, 18, 0.22), transparent 35%),
    linear-gradient(135deg, #0d0d08, #050504 62%, #0b0a07);
}

.wallpaper--3 .wallpaper__x {
  color: rgba(184, 255, 54, 0.025);
  -webkit-text-stroke-color: rgba(184, 255, 54, 0.15);
}

.noise {
  z-index: 1000;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.cursor-aura {
  position: fixed;
  z-index: -1;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  opacity: 0.24;
  background: radial-gradient(circle, rgba(142, 97, 255, 0.28), transparent 68%);
  filter: blur(22px);
  transform: translate(-50%, -50%);
  transition: opacity 300ms ease;
}

body.reduce-motion .wallpaper *,
body.reduce-motion .signal-dot,
body.reduce-motion .sound-bars i,
body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

.desktop-intro {
  position: absolute;
  top: clamp(50px, 8vh, 100px);
  left: clamp(32px, 7vw, 118px);
  z-index: -1;
  width: min(660px, 56vw);
  pointer-events: none;
  user-select: none;
}

.desktop-intro__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px 5px;
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.desktop-intro__eyebrow span {
  width: 27px;
  height: 1px;
  background: var(--acid);
  box-shadow: 0 0 9px rgba(184, 255, 54, 0.65);
}

.desktop-intro h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(64px, 8.4vw, 152px);
  font-weight: 900;
  letter-spacing: -0.095em;
  line-height: 0.75;
  text-wrap: balance;
}

.desktop-intro h2 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.54);
}

.desktop-intro > p:last-child {
  margin: 37px 0 0 6px;
  color: rgba(255, 255, 255, 0.44);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  line-height: 1.8;
  text-transform: uppercase;
}

.touch-copy {
  display: none;
}

.desktop-icons {
  position: absolute;
  top: 30px;
  right: 25px;
  z-index: 20;
  display: grid;
  width: 220px;
  grid-template-columns: repeat(2, 110px);
  gap: 10px;
}

.desktop-icon {
  position: relative;
  display: flex;
  min-height: 104px;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  padding: 9px 5px 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--white);
  background: transparent;
  cursor: default;
  text-align: center;
  text-shadow: 0 2px 9px #000;
  transition: 180ms ease;
}

.desktop-icon:hover,
.desktop-icon.is-selected {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.desktop-icon__image {
  position: relative;
  display: grid;
  width: 61px;
  height: 61px;
  place-items: center;
  filter: drop-shadow(0 13px 13px rgba(0, 0, 0, 0.32));
  transition: transform 260ms var(--ease-out), filter 260ms ease;
}

.desktop-icon:hover .desktop-icon__image {
  filter: drop-shadow(0 13px 17px color-mix(in srgb, var(--app-accent) 30%, transparent));
  transform: translateY(-4px) scale(1.04) rotate(-2deg);
}

.desktop-icon__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-icon__image::after {
  position: absolute;
  right: -1px;
  bottom: 2px;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  opacity: 0;
  background: var(--acid);
  box-shadow: 0 0 8px var(--acid);
  content: "";
  transition: opacity 180ms ease;
}

.desktop-icon.is-running .desktop-icon__image::after {
  opacity: 1;
}

.desktop-icon strong {
  max-width: 100px;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
}

.desktop-icon.is-selected strong {
  color: var(--black);
  background: var(--acid);
  text-shadow: none;
}

.project-open-hint {
  position: fixed;
  z-index: 16000;
  display: grid;
  min-width: 184px;
  max-width: 224px;
  gap: 3px;
  padding: 10px 13px 11px 16px;
  border: 1px solid color-mix(in srgb, var(--hint-accent, var(--magenta)) 48%, transparent);
  border-radius: 10px;
  opacity: 0;
  background: rgba(7, 7, 12, 0.94);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.46), inset 3px 0 var(--hint-accent, var(--magenta));
  pointer-events: none;
  user-select: none;
  transform: translateY(7px) scale(0.96);
  transform-origin: top left;
  transition: opacity 150ms ease, transform 240ms var(--ease-out);
  backdrop-filter: blur(18px);
}

.project-open-hint.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.project-open-hint span {
  color: var(--hint-accent, var(--magenta));
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.project-open-hint strong {
  overflow: hidden;
  font-size: 11px;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-open-hint b {
  color: #cbc9d1;
  font-weight: 500;
}

.system-card {
  position: absolute;
  right: 26px;
  bottom: 112px;
  z-index: 15;
  width: 210px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  background: rgba(8, 8, 13, 0.48);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(15px);
}

.system-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--acid);
}

.live-pill i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

.system-card__metric {
  display: flex;
  align-items: flex-end;
  gap: 11px;
  margin-top: 14px;
}

.system-card__metric strong {
  font-family: var(--display);
  font-size: 43px;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.system-card__metric span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.system-card__bars {
  display: flex;
  height: 28px;
  align-items: flex-end;
  gap: 3px;
  margin-top: 16px;
}

.system-card__bars i {
  width: 100%;
  height: var(--h);
  border-radius: 1px 1px 0 0;
  background: linear-gradient(to top, rgba(142, 97, 255, 0.25), var(--violet));
  animation: system-bars 2.4s ease-in-out infinite alternate;
  animation-delay: calc(var(--h) * -0.025);
}

.system-card > p {
  display: flex;
  justify-content: space-between;
  margin: 11px 0 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.system-card > p span {
  color: var(--muted);
}

/* Dock */

.dock {
  position: fixed;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 7000;
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 19px;
  background: rgba(13, 13, 20, 0.7);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.46), inset 0 1px rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(25px) saturate(150%);
  transform: translateX(-50%);
}

.dock__apps {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dock__launcher,
.dock__utility,
.dock-app {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  align-items: center;
  justify-items: center;
  padding: 0;
  place-items: center;
  border-radius: 13px;
  background: transparent;
  cursor: pointer;
  transition: 220ms var(--ease-out);
}

.dock__launcher:hover,
.dock__utility:hover,
.dock-app:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-8px) scale(1.09);
}

.dock-app img {
  display: block;
  width: 43px;
  height: 43px;
  margin: auto;
  object-fit: contain;
  object-position: center;
  place-self: center;
  filter: drop-shadow(0 7px 9px rgba(0, 0, 0, 0.36));
}

.dock-app::before {
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 0;
  background: var(--acid);
  box-shadow: 0 0 7px var(--acid);
  content: "";
  transform: translateX(-50%);
}

.dock-app.is-running::before {
  opacity: 1;
}

.dock-app::after,
.dock__launcher::after,
.dock__utility::after {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  max-width: 160px;
  padding: 6px 8px;
  visibility: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  opacity: 0;
  color: var(--white);
  background: rgba(10, 10, 15, 0.9);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  content: attr(aria-label);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1;
  white-space: nowrap;
  transform: translate(-50%, 5px);
  transition: 150ms ease;
}

.dock-app:hover::after,
.dock__launcher:hover::after,
.dock__utility:hover::after {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.dock__launcher {
  place-items: center;
}

.dock__launcher-icon {
  position: relative;
  display: grid;
  width: 43px;
  height: 43px;
  grid-template-columns: repeat(2, 8px);
  grid-template-rows: repeat(2, 8px);
  place-content: center;
  gap: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.19), transparent 34%),
    linear-gradient(145deg, rgba(142, 97, 255, 0.34), rgba(13, 13, 22, 0.95) 58%);
  box-shadow:
    0 7px 9px rgba(0, 0, 0, 0.36),
    inset 0 1px rgba(255, 255, 255, 0.12),
    0 0 18px rgba(142, 97, 255, 0.12);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.dock__launcher-icon::before {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.dock__launcher-icon span {
  position: relative;
  z-index: 1;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.08);
  transition: 220ms ease;
}

.dock__launcher:hover .dock__launcher-icon {
  border-color: rgba(184, 255, 54, 0.48);
  box-shadow:
    0 10px 16px rgba(0, 0, 0, 0.42),
    inset 0 1px rgba(255, 255, 255, 0.16),
    0 0 23px rgba(142, 97, 255, 0.24);
}

.dock__launcher:hover span:nth-child(1) { background: var(--acid); border-color: var(--acid); box-shadow: 0 0 8px var(--acid); }
.dock__launcher:hover span:nth-child(2) { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.dock__launcher:hover span:nth-child(3) { background: var(--violet); border-color: var(--violet); box-shadow: 0 0 8px var(--violet); }
.dock__launcher:hover span:nth-child(4) { background: var(--magenta); border-color: var(--magenta); box-shadow: 0 0 8px var(--magenta); }

.dock__separator {
  width: 1px;
  height: 36px;
  margin: 0 2px;
  background: var(--line);
}

.dock__chat-glyph {
  display: grid;
  width: 34px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px 10px 10px 3px;
  color: var(--cyan);
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 0;
}

/* Windows */

.windows-layer {
  position: absolute;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.app-window {
  --window-accent: var(--acid);
  position: absolute;
  display: flex;
  min-width: 320px;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  opacity: 0;
  background: rgba(9, 9, 15, 0.93);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.8);
  pointer-events: auto;
  transform: translateY(35px) scale(0.94);
  transform-origin: center;
  transition: opacity 260ms ease, transform 390ms var(--ease-out), box-shadow 200ms ease, border-color 200ms ease;
  flex-direction: column;
  resize: both;
  contain: layout style;
}

.app-window.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.app-window.is-focused {
  border-color: color-mix(in srgb, var(--window-accent) 34%, rgba(255, 255, 255, 0.2));
  box-shadow: var(--shadow), 0 0 48px color-mix(in srgb, var(--window-accent) 9%, transparent), inset 0 1px rgba(255, 255, 255, 0.03);
}

.app-window.is-closing {
  opacity: 0;
  transform: scale(0.9) translateY(28px);
  pointer-events: none;
}

.app-window.is-minimized {
  visibility: hidden;
  opacity: 0;
  transform: translateY(calc(100vh - 100px)) scale(0.2);
  pointer-events: none;
}

.app-window.is-maximized {
  top: 8px !important;
  left: 8px !important;
  width: calc(100% - 16px) !important;
  height: calc(100% - 18px) !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 14px;
  resize: none;
}

.app-window__edge {
  position: absolute;
  top: -1px;
  left: 17%;
  z-index: 3;
  width: 24%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--window-accent), transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--window-accent) 60%, transparent);
  pointer-events: none;
}

.window-bar {
  position: relative;
  z-index: 3;
  display: grid;
  height: 49px;
  flex: 0 0 auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  cursor: grab;
  grid-template-columns: 122px 1fr 122px;
  user-select: none;
}

.window-bar:active {
  cursor: grabbing;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
}

.window-control {
  position: relative;
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  background: #3d3d46;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.window-control:hover {
  filter: brightness(1.18);
  transform: scale(1.16);
}

.window-control--close { background: var(--red); }
.window-control--min { background: var(--yellow); }
.window-control--max { background: var(--acid); }

.window-control::before,
.window-control::after {
  position: absolute;
  top: 5px;
  left: 3px;
  width: 6px;
  height: 1px;
  opacity: 0;
  background: rgba(0, 0, 0, 0.55);
  content: "";
  transition: opacity 160ms ease;
}

.window-control:hover::before,
.window-control:hover::after {
  opacity: 1;
}

.window-control--close::before { transform: rotate(45deg); }
.window-control--close::after { transform: rotate(-45deg); }
.window-control--min::before { top: 6px; }
.window-control--min::after { display: none; }
.window-control--max::before { top: 3px; left: 3px; width: 6px; height: 6px; border: 1px solid rgba(0,0,0,.5); background: transparent; }
.window-control--max::after { display: none; }

.window-title {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 9px;
  pointer-events: none;
}

.window-title__icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
}

.window-title__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.window-title > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.window-title strong {
  overflow: hidden;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-title small {
  overflow: hidden;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.window-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding-right: 15px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.window-meta i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--window-accent);
  box-shadow: 0 0 7px var(--window-accent);
}

.window-content {
  position: relative;
  min-height: 0;
  flex: 1;
  overflow: auto;
  background: rgba(7, 7, 12, 0.66);
}

.window-resize {
  position: absolute;
  right: 1px;
  bottom: 1px;
  z-index: 10;
  width: 16px;
  height: 16px;
  cursor: nwse-resize;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 45%, rgba(255,255,255,.2) 46% 50%, transparent 51% 62%, rgba(255,255,255,.2) 63% 67%, transparent 68%);
}

/* Launcher, command center, menus */

.overlay-scrim {
  position: fixed;
  inset: var(--topbar-h) 0 0;
  z-index: 7500;
  visibility: hidden;
  opacity: 0;
  background: rgba(2, 2, 5, 0.42);
  backdrop-filter: blur(7px);
  transition: 250ms ease;
}

.overlay-scrim.is-visible {
  visibility: visible;
  opacity: 1;
}

.launcher-panel {
  position: fixed;
  top: calc(var(--topbar-h) + 20px);
  left: 50%;
  z-index: 7600;
  display: flex;
  width: min(990px, calc(100vw - 46px));
  max-height: calc(100vh - var(--topbar-h) - 48px);
  padding: clamp(20px, 3vw, 36px);
  visibility: hidden;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 24px;
  opacity: 0;
  background:
    radial-gradient(circle at 90% 0, rgba(142, 97, 255, 0.16), transparent 28%),
    rgba(9, 9, 15, 0.92);
  box-shadow: 0 55px 150px rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(34px) saturate(125%);
  transform: translate(-50%, 30px) scale(0.96);
  transition: 330ms var(--ease-out);
  flex-direction: column;
}

.launcher-panel.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.launcher-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.launcher-panel__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.search-field {
  display: grid;
  min-height: 51px;
  align-items: center;
  margin-top: 25px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.045);
  grid-template-columns: 45px 1fr 45px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-field:focus-within {
  border-color: rgba(184, 255, 54, 0.48);
  box-shadow: 0 0 0 3px rgba(184, 255, 54, 0.07);
}

.search-field > span {
  color: var(--acid);
  font-size: 24px;
  text-align: center;
}

.search-field input {
  width: 100%;
  height: 49px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  font-size: 13px;
}

.search-field input::placeholder {
  color: var(--dim);
}

.search-field kbd {
  justify-self: center;
}

.launcher-panel__filters {
  display: flex;
  gap: 6px;
  margin: 17px 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.launcher-panel__filters::-webkit-scrollbar {
  display: none;
}

.launcher-filter {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: 180ms ease;
}

.launcher-filter:hover,
.launcher-filter.is-active {
  color: var(--black);
  border-color: var(--acid);
  background: var(--acid);
}

.launcher-grid {
  display: grid;
  min-height: 120px;
  padding: 1px 3px 10px 1px;
  overflow-y: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.launcher-app {
  --app-accent: var(--acid);
  position: relative;
  display: grid;
  min-height: 137px;
  padding: 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  text-align: left;
  transition: 250ms var(--ease-out);
  grid-template-rows: auto 1fr;
}

.launcher-app::before {
  position: absolute;
  inset: auto -40px -60px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0;
  background: var(--app-accent);
  filter: blur(55px);
  content: "";
  transition: opacity 250ms ease;
}

.launcher-app:hover,
.launcher-app.is-keyboard-focus {
  z-index: 1;
  border-color: color-mix(in srgb, var(--app-accent) 50%, rgba(255, 255, 255, 0.18));
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
}

.launcher-app:hover::before,
.launcher-app.is-keyboard-focus::before {
  opacity: 0.18;
}

.launcher-app__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.launcher-app__icon {
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
}

.launcher-app__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 9px 12px rgba(0, 0, 0, 0.3));
}

.launcher-app__number {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8px;
}

.launcher-app__copy {
  align-self: end;
  min-width: 0;
}

.launcher-app__copy strong {
  display: block;
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.launcher-app__copy small {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.launcher-empty {
  display: grid;
  min-height: 180px;
  place-content: center;
  border: 1px dashed var(--line);
  border-radius: 13px;
  color: var(--muted);
  text-align: center;
  grid-column: 1 / -1;
}

.launcher-empty strong {
  color: var(--white);
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.05em;
}

.launcher-empty span {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launcher-panel__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.launcher-panel__foot span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.launcher-panel__foot i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 7px var(--acid);
}

.command-center {
  position: fixed;
  top: calc(var(--topbar-h) + 10px);
  right: 12px;
  z-index: 7600;
  width: 350px;
  max-height: calc(100dvh - var(--topbar-h) - 24px);
  padding: 21px;
  visibility: hidden;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 17px;
  opacity: 0;
  background:
    radial-gradient(circle at 100% 0, rgba(74, 244, 208, 0.12), transparent 35%),
    rgba(10, 10, 16, 0.93);
  box-shadow: var(--shadow);
  backdrop-filter: blur(30px);
  transform: translateY(-13px) scale(0.97);
  transform-origin: top right;
  transition: 240ms var(--ease-out);
}

.command-center.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.command-center__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.command-center__head h2 {
  margin: -4px 0 3px;
  font-family: var(--display);
  font-size: 43px;
  letter-spacing: -0.07em;
  line-height: 1;
}

.command-center__head p:last-child {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.command-center__head img {
  width: 45px;
  height: 45px;
  opacity: 0.7;
  object-fit: contain;
}

.quick-grid {
  display: grid;
  margin-top: 14px;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.quick-grid button {
  display: grid;
  min-height: 77px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  text-align: left;
  transition: 200ms var(--ease-out);
  grid-template-columns: 35px 1fr;
  grid-template-rows: 1fr 1fr;
}

.quick-grid button:hover {
  border-color: rgba(184, 255, 54, 0.35);
  background: rgba(184, 255, 54, 0.08);
  transform: translateY(-2px);
}

.quick-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--black);
  background: var(--acid);
  font-size: 14px;
  grid-row: 1 / 3;
}

.quick-grid strong {
  align-self: end;
  font-size: 10px;
  font-weight: 600;
}

.quick-grid small {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.command-center__status {
  padding: 18px 3px 12px;
}

.command-center__status > div:not(.meter) {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.command-center__status strong {
  color: var(--muted);
  font-weight: 400;
}

.meter {
  height: 2px;
  margin-top: 7px;
  background: rgba(255, 255, 255, 0.09);
}

.meter i {
  display: block;
  height: 100%;
  background: var(--acid);
  box-shadow: 0 0 7px rgba(184, 255, 54, 0.45);
}

.meter--violet i {
  background: var(--violet);
  box-shadow: 0 0 7px rgba(142, 97, 255, 0.45);
}

.command-center__action {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-radius: 9px;
  color: var(--black);
  background: var(--acid);
  cursor: pointer;
  font-size: 10px;
  font-weight: 650;
}

.command-center__action b {
  font-size: 17px;
}

.time-warp-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin: 2px 0 9px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--white);
  background: rgba(142, 97, 255, 0.08);
  cursor: pointer;
  text-align: left;
  transition: 200ms var(--ease-out);
}

.time-warp-button:hover {
  border-color: rgba(142, 97, 255, 0.5);
  background: rgba(142, 97, 255, 0.15);
  transform: translateY(-2px);
}

.time-warp-button span {
  display: flex;
  flex-direction: column;
}

.time-warp-button small {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.time-warp-button strong {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.time-warp-button b {
  color: var(--violet);
  font-family: var(--mono);
  font-size: 9px;
}

.context-menu {
  position: fixed;
  z-index: 7800;
  width: 232px;
  padding: 7px;
  visibility: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  opacity: 0;
  background: rgba(11, 11, 17, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  transform: scale(0.96);
  transform-origin: top left;
  transition: 130ms var(--ease-out);
}

.context-menu.is-visible {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.context-menu button {
  display: flex;
  width: 100%;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  padding: 7px 9px;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  text-align: left;
}

.context-menu button:hover {
  color: var(--black);
  background: var(--acid);
}

.modal-card {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 7700;
  width: min(600px, calc(100vw - 38px));
  max-height: calc(100dvh - 30px);
  padding: 34px;
  visibility: hidden;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  opacity: 0;
  background: rgba(10, 10, 16, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px);
  transform: translate(-50%, -46%) scale(0.95);
  transition: 270ms var(--ease-out);
}

.modal-card.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.modal-card > .icon-button {
  position: absolute;
  top: 16px;
  right: 16px;
}

.modal-card h2 {
  max-width: 430px;
  margin: 0 0 27px;
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.shortcut-grid span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
}

.shortcut-grid kbd {
  min-width: 42px;
  padding: 7px;
  color: var(--acid);
}

.shortcut-grid b {
  font-size: 10px;
  font-weight: 500;
}

.temporal-modal {
  width: min(880px, calc(100vw - 38px));
}

.temporal-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 48px;
}

.temporal-modal__head h2 {
  max-width: none;
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(38px, 7vw, 78px);
  font-weight: 400;
  letter-spacing: -0.055em;
}

.temporal-orbit {
  position: relative;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  border: 2px solid var(--blue);
  border-radius: 50%;
  transform: rotate(var(--orbit-angle, 0deg));
  transition: transform 500ms ease;
}

.temporal-orbit::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.temporal-orbit i {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  transform: translateX(-50%);
}

.temporal-orbit b {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 17px rgba(255, 240, 77, 0.4);
  transform: translate(-50%, -50%);
}

.temporal-modal__grid {
  display: grid;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  grid-template-columns: 0.72fr 1.28fr;
  gap: 30px;
}

.temporal-copy h3 {
  margin: 0 0 13px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.05em;
}

.temporal-copy p {
  margin: 0 0 11px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.7;
}

.temporal-copy dl {
  display: grid;
  margin: 23px 0 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.temporal-copy dl div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.temporal-copy dt {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.temporal-copy dd {
  margin: 5px 0 0;
  font-family: var(--mono);
  font-size: 15px;
}

.day-breakdown {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
}

.day-breakdown__head,
.day-breakdown__labels {
  display: flex;
  justify-content: space-between;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.day-grid {
  display: flex;
  height: 173px;
  margin: 13px 0 10px;
  flex-direction: column;
  gap: 2px;
}

.day-grid__row {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: repeat(var(--row-size), 1fr);
  gap: 2px;
}

.day-grid i {
  position: relative;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.025);
}

.day-grid i.is-past {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.11);
}

.day-grid i.is-current {
  z-index: 1;
  border-color: var(--cyan);
  background: rgba(74, 244, 208, 0.17);
  box-shadow: 0 0 9px rgba(74, 244, 208, 0.3);
  transform: scale(1.25);
}

.day-grid i.is-current::before,
.day-grid i.is-current::after {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 35%;
  height: 35%;
  background: var(--magenta);
  content: "";
  transform: scale(var(--minute-progress, 0.1));
  transform-origin: bottom right;
}

.day-grid i.is-current::after {
  top: 1px;
  right: auto;
  bottom: auto;
  left: 1px;
  background: var(--yellow);
  transform: scale(var(--second-progress, 0.1));
  transform-origin: top left;
}

.app-loader,
.app-error {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 210px;
  place-content: center;
  text-align: center;
}

.app-loader img {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.4));
  animation: loader-float 1.2s ease-in-out infinite alternate;
}

.app-loader strong,
.app-loader span {
  display: block;
}

.app-loader strong {
  font-size: 11px;
}

.app-loader span {
  margin-top: 4px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.app-loader > i {
  display: block;
  width: 160px;
  height: 1px;
  margin-top: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.app-loader > i::after {
  display: block;
  width: 45%;
  height: 100%;
  background: var(--window-accent);
  box-shadow: 0 0 8px var(--window-accent);
  content: "";
  animation: loader-line 900ms ease-in-out infinite alternate;
}

.app-error {
  padding: 28px;
}

.app-error span {
  color: var(--red);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.app-error h2 {
  margin: 12px 0 8px;
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: -0.05em;
}

.app-error p {
  margin: 0;
  color: var(--muted);
}

.app-error button {
  justify-self: center;
  margin-top: 20px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--black);
  background: var(--acid);
  cursor: pointer;
  font-size: 10px;
}

/* Shutdown, toasts, fallback */

.shutdown-screen {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  background: #030305;
  transition: opacity 900ms ease, visibility 900ms;
  flex-direction: column;
}

.shutdown-screen.is-visible {
  visibility: visible;
  opacity: 1;
}

.shutdown-screen::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70vw, 750px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.shutdown-screen img {
  position: relative;
  width: 92px;
  height: 92px;
  opacity: 0.6;
  object-fit: contain;
}

.shutdown-screen p {
  position: relative;
  margin: 30px 0 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.shutdown-screen button {
  position: relative;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
}

.shutdown-screen button:hover {
  color: var(--black);
  border-color: var(--acid);
  background: var(--acid);
}

.toast-region {
  position: fixed;
  top: calc(var(--topbar-h) + 14px);
  right: 14px;
  z-index: 15000;
  display: grid;
  width: min(330px, calc(100vw - 28px));
  gap: 8px;
  pointer-events: none;
}

.toast {
  position: relative;
  display: grid;
  min-height: 72px;
  padding: 13px 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  opacity: 0;
  background: rgba(10, 10, 16, 0.9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px);
  transform: translateX(30px) scale(0.97);
  transition: 300ms var(--ease-out);
  grid-template-columns: 36px 1fr;
  gap: 10px;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.toast.is-leaving {
  opacity: 0;
  transform: translateX(24px) scale(0.98);
}

.toast__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: var(--black);
  background: var(--toast-accent, var(--acid));
  font-family: var(--mono);
  font-size: 12px;
}

.toast strong {
  display: block;
  margin: 1px 0 2px;
  font-size: 10px;
}

.toast p {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
}

.toast::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--toast-accent, var(--acid));
  content: "";
  animation: toast-life 4.3s linear forwards;
  transform-origin: left;
}

.noscript-card {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: grid;
  padding: 30px;
  place-content: center;
  text-align: center;
  background: var(--black);
}

.noscript-card img {
  width: 80px;
  margin: 0 auto 24px;
}

.noscript-card h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 7vw, 70px);
  letter-spacing: -0.06em;
}

.noscript-card p {
  color: var(--muted);
}

.noscript-card a {
  color: var(--acid);
}

/* Animations */

@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes scan-screen { from { transform: translateY(-10px); } to { transform: translateY(100vh); } }
@keyframes boot-line { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes pulse-dot { 50% { opacity: 0.35; box-shadow: 0 0 2px var(--acid); } }
@keyframes sound-bar { to { height: 3px; } }
@keyframes mesh-drift { to { transform: perspective(850px) rotateX(63deg) rotateZ(-12deg) translate(2%, 20%); } }
@keyframes float-a { to { transform: translate(-3%, 5%) rotate(7deg); } }
@keyframes float-b { to { transform: translate(5%, -6%) rotate(-11deg); } }
@keyframes ring-breathe { to { opacity: 0.65; transform: translate(-50%, -50%) rotate(-16deg) scale(1.04); } }
@keyframes system-bars { to { height: calc(var(--h) * 0.58); opacity: 0.55; } }
@keyframes toast-life { to { transform: scaleX(0); } }
@keyframes loader-float { to { transform: translateY(-7px) rotate(3deg); } }
@keyframes loader-line { from { transform: translateX(-20%); } to { transform: translateX(145%); } }

/* Responsive */

@media (max-height: 680px) {
  .boot-screen {
    place-items: start center;
  }

  .boot-screen__layout {
    margin: 24px auto 64px;
  }

  .boot-console {
    min-height: 300px;
  }

  .boot-log {
    height: 150px;
  }

  .boot-screen__legal {
    position: fixed;
  }
}

@media (max-width: 1050px) {
  .topbar__center { display: none; }
  .system-card { display: none; }
  .desktop-intro { width: 65vw; }
  .launcher-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .dock {
    min-height: 70px;
  }

  .dock__launcher,
  .dock__utility,
  .dock-app {
    width: 54px;
    height: 54px;
  }

  .dock-app img,
  .dock__launcher-icon {
    width: 49px;
    height: 49px;
  }
}

@media (max-width: 760px) {
  :root {
    --topbar-h: 48px;
  }

  .boot-screen__layout {
    width: min(500px, calc(100% - 34px));
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .boot-screen__mark-wrap {
    width: 62px;
    height: 62px;
    margin-bottom: 24px;
  }

  .boot-screen__mark {
    width: 40px;
    height: 40px;
  }

  .boot-screen__identity h1 {
    font-size: 64px;
  }

  .boot-screen__edition {
    margin-top: 16px;
  }

  .boot-console {
    min-height: 260px;
    padding: 19px;
  }

  .boot-log {
    height: 130px;
    font-size: 9px;
  }

  .boot-screen__legal {
    right: 14px;
    bottom: 10px;
    left: 14px;
    text-align: center;
  }

  .system-menu,
  .status-button,
  .clock-button span {
    display: none;
  }

  .topbar__left {
    flex: 1;
  }

  .brand-button {
    padding: 0 14px;
  }

  .clock-button {
    min-width: 75px;
    padding-right: 14px;
  }

  .desktop-intro {
    top: 54px;
    left: 24px;
    width: calc(100vw - 48px);
  }

  .desktop-intro__eyebrow {
    margin-bottom: 20px;
  }

  .desktop-intro h2 {
    font-size: clamp(51px, 17vw, 88px);
  }

  .desktop-intro > p:last-child {
    margin-top: 25px;
  }

  .desktop-copy {
    display: none;
  }

  .touch-copy {
    display: inline;
  }

  .desktop-icons {
    top: auto;
    right: 15px;
    bottom: 105px;
    left: 15px;
    display: flex;
    width: auto;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .desktop-icons::-webkit-scrollbar {
    display: none;
  }

  .desktop-icon {
    width: 82px;
    min-width: 82px;
    min-height: 92px;
  }

  .desktop-icon__image {
    width: 52px;
    height: 52px;
  }

  .desktop-icon strong {
    font-size: 9px;
  }

  .dock {
    bottom: max(10px, env(safe-area-inset-bottom));
    width: max-content;
    max-width: calc(100vw - 20px);
    min-height: 66px;
    justify-content: center;
    gap: 3px;
    overflow-x: auto;
    border-radius: 17px;
    scrollbar-width: none;
  }

  .dock::-webkit-scrollbar { display: none; }

  .dock__launcher,
  .dock__utility,
  .dock-app {
    width: 50px;
    height: 50px;
  }

  .dock-app img {
    width: 47px;
    height: 47px;
  }

  .dock__launcher-icon {
    width: 47px;
    height: 47px;
    border-radius: 12px;
  }

  .dock__separator {
    height: 29px;
  }

  .app-window,
  .app-window.is-maximized {
    top: 5px !important;
    right: 5px !important;
    bottom: 76px !important;
    left: 5px !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border-radius: 14px;
    resize: none;
  }

  .window-bar {
    grid-template-columns: 104px 1fr 34px;
  }

  .window-meta span {
    display: none;
  }

  .window-meta {
    padding-right: 14px;
  }

  .window-resize {
    display: none;
  }

  .launcher-panel {
    top: calc(var(--topbar-h) + 7px);
    width: calc(100vw - 14px);
    max-height: calc(100dvh - var(--topbar-h) - 15px);
    padding: 19px 15px 16px;
    border-radius: 19px;
  }

  .launcher-panel__head h2 {
    font-size: 34px;
  }

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

  .launcher-app {
    min-height: 126px;
    padding: 13px;
  }

  .launcher-panel__foot span:last-child {
    display: none;
  }

  .command-center {
    top: calc(var(--topbar-h) + 7px);
    right: 7px;
    left: 7px;
    width: auto;
  }

  .shortcut-grid {
    grid-template-columns: 1fr;
  }

  .temporal-modal__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .temporal-orbit {
    width: 66px;
    height: 66px;
  }

  .day-grid {
    height: 145px;
    gap: 2px;
  }

  .modal-card {
    padding: 28px 20px 22px;
  }

  .wallpaper__x {
    top: 41%;
    left: 58%;
    font-size: 115vw;
  }

  .cursor-aura {
    display: none;
  }
}

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

  .launcher-app {
    min-height: 118px;
  }

  .launcher-app__icon {
    width: 42px;
    height: 42px;
  }

  .dock__separator,
  .dock__utility {
    display: none;
  }

  .dock {
    width: calc(100vw - 20px);
    min-height: 60px;
    justify-content: center;
    gap: 1px;
    overflow-x: hidden;
    padding: 4px;
  }

  .dock__apps {
    flex: 0 0 auto;
    justify-content: center;
    gap: 1px;
  }

  .dock__launcher,
  .dock-app {
    width: 42px;
    height: 42px;
  }

  .dock-app img,
  .dock__launcher-icon {
    width: 41px;
    height: 41px;
  }
}

@media (max-width: 350px) {
  .dock {
    gap: 1px;
    padding: 3px;
  }

  .dock__apps {
    gap: 1px;
  }

  .dock__launcher,
  .dock-app {
    width: 39px;
    height: 39px;
  }

  .dock-app img,
  .dock__launcher-icon {
    width: 39px;
    height: 39px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(255, 255, 255, 0.28);
    --line-strong: rgba(255, 255, 255, 0.48);
  }

  .app-window,
  .launcher-panel,
  .command-center {
    background: #07070b;
  }
}
