:root {
  --desktop: #14115f;
  --window: #d7c7ff;
  --window-dark: #7d65c8;
  --window-darker: #2a1f66;
  --window-light: #f2e8ff;
  --window-white: #ffffff;
  --blue: #3d168f;
  --blue-light: #00d8ff;
  --hot-pink: #ff4fd8;
  --sunset: #ffb86b;
  --mint: #72ffd2;
  --text: #21123b;
  --progress: #ff4fd8;
  --focus: #fff0a8;
  --parallax-x: 0px;
  --parallax-y: 0px;
  font-family: "MS Sans Serif", Tahoma, Geneva, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  color: var(--text);
  background: linear-gradient(180deg, #111052 0 67%, #20146f 67% 100%);
  font-size: 13px;
}

a {
  color: inherit;
}

code {
  padding: 1px 3px;
  background: var(--window-white);
  border: 1px solid var(--window-dark);
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.desktop {
  position: relative;
  width: 100vw;
  height: calc(100vh - 36px);
  min-width: 320px;
  min-height: 430px;
  padding: 16px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18, 13, 84, 0) 0 67%, rgba(18, 13, 84, 0.92) 67% 100%),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(114, 255, 210, 0.28) 55px 56px),
    repeating-linear-gradient(180deg, transparent 0 34px, rgba(255, 79, 216, 0.22) 35px 36px),
    linear-gradient(180deg, #121056 0%, #231276 48%, #0c6d91 100%);
  background-size: auto, auto, auto;
}

.pixel-sun {
  position: absolute;
  top: 9%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(126px, 15vw, 188px);
  aspect-ratio: 1;
  color: rgba(255, 207, 122, 0.5);
  background: transparent;
  border-radius: 0;
  font-family: "Courier New", monospace;
  font-size: clamp(11px, 1.2vw, 16px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
  text-shadow:
    1px 1px 0 rgba(255, 79, 216, 0.26),
    2px 2px 5px rgba(255, 79, 216, 0.36),
    0 0 4px rgba(255, 219, 137, 0.18);
  text-transform: lowercase;
  transform: translateX(-50%);
  z-index: 0;
}

.pixel-sun::before,
.pixel-sun::after {
  content: "";
  position: absolute;
  inset: 0;
}

.pixel-sun::before {
  inset: -54%;
  background:
    radial-gradient(circle, rgba(255, 184, 107, 0.64) 0 22%, rgba(255, 79, 216, 0.62) 36%, rgba(255, 79, 216, 0.22) 52%, transparent 70%);
  filter: blur(10px);
  z-index: -2;
}

.pixel-sun::after {
  background:
    linear-gradient(180deg, rgba(255, 226, 142, 0.3), rgba(255, 117, 190, 0.08)),
    #ffb86b;
  clip-path: polygon(
    42% 0,
    58% 0,
    58% 0.8%,
    65% 0.8%,
    65% 2.4%,
    72% 2.4%,
    72% 5%,
    78% 5%,
    78% 8.5%,
    83.5% 8.5%,
    83.5% 13%,
    88% 13%,
    88% 18%,
    92% 18%,
    92% 24%,
    95% 24%,
    95% 30.5%,
    97.5% 30.5%,
    97.5% 38%,
    100% 38%,
    100% 62%,
    97.5% 62%,
    97.5% 69.5%,
    95% 69.5%,
    95% 76%,
    92% 76%,
    92% 82%,
    88% 82%,
    88% 87%,
    83.5% 87%,
    83.5% 91.5%,
    78% 91.5%,
    78% 95%,
    72% 95%,
    72% 97.6%,
    65% 97.6%,
    65% 99.2%,
    58% 99.2%,
    58% 100%,
    42% 100%,
    42% 99.2%,
    35% 99.2%,
    35% 97.6%,
    28% 97.6%,
    28% 95%,
    22% 95%,
    22% 91.5%,
    16.5% 91.5%,
    16.5% 87%,
    12% 87%,
    12% 82%,
    8% 82%,
    8% 76%,
    5% 76%,
    5% 69.5%,
    2.5% 69.5%,
    2.5% 62%,
    0 62%,
    0 38%,
    2.5% 38%,
    2.5% 30.5%,
    5% 30.5%,
    5% 24%,
    8% 24%,
    8% 18%,
    12% 18%,
    12% 13%,
    16.5% 13%,
    16.5% 8.5%,
    22% 8.5%,
    22% 5%,
    28% 5%,
    28% 2.4%,
    35% 2.4%,
    35% 0.8%,
    42% 0.8%
  );
  box-shadow:
    0 0 0 3px rgba(255, 184, 107, 0.12),
    0 0 20px rgba(255, 79, 216, 0.48),
    0 0 44px rgba(255, 79, 216, 0.28);
  z-index: -1;
}

.cityscape {
  position: absolute;
  right: -8vw;
  bottom: 0;
  left: -8vw;
  height: calc(33% + 170px);
  pointer-events: none;
  z-index: 0;
}

.cloud-layer,
.cloud-layer::before,
.cloud-layer::after {
  position: absolute;
  pointer-events: none;
}

.cloud-layer {
  top: 12%;
  right: 0;
  left: 0;
  height: 34%;
  opacity: 0.5;
  z-index: 0;
}

.cloud-layer::before,
.cloud-layer::after {
  content: "";
  top: 0;
  right: -640px;
  bottom: 0;
  width: 640px;
  background:
    linear-gradient(rgba(255, 247, 255, 0.36) 0 0) 24px 52px / 64px 16px,
    linear-gradient(rgba(255, 247, 255, 0.48) 0 0) 56px 36px / 112px 24px,
    linear-gradient(rgba(114, 255, 210, 0.18) 0 0) 112px 64px / 84px 16px,
    linear-gradient(rgba(255, 79, 216, 0.12) 0 0) 168px 48px / 48px 12px,
    linear-gradient(rgba(255, 247, 255, 0.3) 0 0) 286px 28px / 68px 16px,
    linear-gradient(rgba(255, 247, 255, 0.42) 0 0) 326px 16px / 124px 24px,
    linear-gradient(rgba(114, 255, 210, 0.16) 0 0) 408px 42px / 78px 16px,
    linear-gradient(rgba(255, 247, 255, 0.34) 0 0) 508px 72px / 76px 18px,
    linear-gradient(rgba(255, 247, 255, 0.46) 0 0) 510px 54px / 118px 24px,
    linear-gradient(rgba(255, 79, 216, 0.12) 0 0) 584px 82px / 52px 14px;
  background-repeat: no-repeat;
  image-rendering: pixelated;
  transform: translate3d(0, 0, 0);
  animation: cloud-pass 126s linear infinite;
}

.cloud-layer::after {
  opacity: 0.48;
  top: 8%;
  transform: translate3d(0, 0, 0) scale(0.74);
  transform-origin: left center;
  animation-duration: 172s;
  animation-delay: -76s;
}

@keyframes cloud-pass {
  0% {
    translate: 0 0;
  }

  54%,
  100% {
    translate: calc(-100vw - 720px) 0;
  }
}

.cityscape::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: calc(43%);
  left: 0;
  height: 2px;
  z-index: 3;
  background: repeating-linear-gradient(
    90deg,
    rgba(114, 255, 210, 0.92) 0 22px,
    transparent 22px 58px
  );
  background-position: 0 0;
  background-size: 58px 100%;
  background-repeat: repeat-x;
  opacity: 0.82;
  filter: drop-shadow(0 0 8px rgba(114, 255, 210, 0.72)) drop-shadow(0 0 14px rgba(255, 79, 216, 0.35));
  animation: lane-dash-drift 3.8s linear infinite;
}

@keyframes lane-dash-drift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -58px 0;
  }
}

.cityscape::before {
  content: "";
  position: absolute;
  right: -2vw;
  bottom: calc(50%);
  left: -2vw;
  height: 52px;
  z-index: 3;
  background:
    linear-gradient(90deg, transparent 0 209px, rgba(3, 2, 14, 0.98) 209px 214px, rgba(114, 255, 210, 0.18) 214px 216px, transparent 216px 100%) 0 0 / 420px 52px repeat-x,
    linear-gradient(90deg, transparent 0 199px, rgba(3, 2, 14, 0.98) 199px 224px, transparent 224px 100%) 0 2px / 420px 4px repeat-x,
    linear-gradient(90deg, rgba(255, 236, 170, 0.5), rgba(255, 236, 170, 0.5)) 0 18px / 100% 2px no-repeat,
    linear-gradient(180deg, rgba(255, 184, 107, 0.12), transparent 18%, transparent 82%, rgba(114, 255, 210, 0.08)) 0 20px / 100% 32px no-repeat,
    linear-gradient(90deg, transparent 0 18%, rgba(114, 255, 210, 0.42) 18% 22%, transparent 22% 48%, rgba(255, 79, 216, 0.34) 48% 53%, transparent 53% 80%, rgba(114, 255, 210, 0.32) 80% 84%, transparent 84% 100%) 0 20px / 420px 32px repeat-x,
    linear-gradient(180deg, rgba(18, 9, 58, 0.96), rgba(5, 4, 26, 0.96)) 0 20px / 100% 32px no-repeat;
  background-position:
    0 0,
    0 2px,
    0 18px,
    0 20px,
    0 20px,
    0 20px;
  border-top: 0;
  border-bottom: 2px solid rgba(114, 255, 210, 0.34);
  box-shadow:
    0 -16px 30px rgba(255, 184, 107, 0.2),
    0 0 24px rgba(9, 6, 45, 0.9);
  animation: guardrail-drift 27.52s linear infinite;
}

@keyframes guardrail-drift {
  from {
    background-position:
      0 0,
      0 2px,
      0 18px,
      0 20px,
      0 20px,
      0 20px;
  }

  to {
    background-position:
      -420px 0,
      -420px 2px,
      0 18px,
      0 20px,
      -420px 20px,
      0 20px;
  }
}

.skyline {
  position: absolute;
  right: 0;
  left: 0;
  background-repeat: repeat-x;
  will-change: transform;
}

.skyline-back {
  /* bottom: 33%; */
  height: 170px;
  opacity: 0.9;
  z-index: 2;
  transform: translate3d(calc(var(--parallax-x) * -0.35), calc(var(--parallax-y) * -0.1), 0);
  background: none;
  filter: drop-shadow(0 0 10px rgba(58, 16, 142, 0.72));
  animation: skyline-back-drift var(--skyline-back-duration, 87s) linear infinite;
}

.skyline-back span {
  position: absolute;
  bottom: 0;
  left: var(--x);
  width: var(--w);
  height: var(--h);
  min-width: 28px;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0 16px,
      rgba(114, 255, 210, 0.16) 16px 18px,
      transparent 18px 30px
    ),
    linear-gradient(180deg, rgba(18, 13, 84, 0.88), rgba(5, 4, 30, 0.94));
  border-top: 1px solid rgba(114, 255, 210, 0.34);
  box-shadow:
    inset 1px 0 0 rgba(255, 79, 216, 0.16),
    inset -1px 0 0 rgba(114, 255, 210, 0.1);
}

.skyline-back span.is-stepped-building {
  clip-path: polygon(0 12%, 35% 12%, 35% 0, 100% 0, 100% 100%, 0 100%);
}

.skyline-back span.is-striped-building {
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 15px,
      rgba(255, 79, 216, 0.14) 15px 18px,
      transparent 18px 30px
    ),
    linear-gradient(180deg, rgba(16, 11, 68, 0.9), rgba(5, 4, 30, 0.95));
}

.skyline-lights {
  bottom: 33%;
  height: 170px;
  opacity: 0.86;
  z-index: 2;
  transform: translate3d(calc((var(--parallax-x) * -0.16) + var(--skyline-mid-shift, 0px)), calc(var(--parallax-y) * -0.08), 0);
  background:
    linear-gradient(rgba(12, 8, 54, 0.84) 0 0) 4px 118px / 58px 44px,
    linear-gradient(rgba(12, 8, 54, 0.78) 0 0) 88px 104px / 46px 58px,
    linear-gradient(rgba(12, 8, 54, 0.88) 0 0) 164px 88px / 78px 74px,
    linear-gradient(rgba(12, 8, 54, 0.8) 0 0) 276px 126px / 54px 36px,
    linear-gradient(rgba(12, 8, 54, 0.86) 0 0) 366px 96px / 84px 66px,
    repeating-linear-gradient(180deg, transparent 0 18px, rgba(114, 255, 210, 0.18) 18px 20px, transparent 20px 34px) 14px 0 / 72px 162px;
  background-repeat: repeat-x;
  background-size:
    448px 170px,
    448px 170px,
    448px 170px,
    448px 170px,
    448px 170px,
    448px 170px;
  filter: drop-shadow(0 0 9px rgba(114, 255, 210, 0.3)) drop-shadow(0 0 16px rgba(255, 79, 216, 0.28));
  animation: skyline-mid-background-drift 22s linear infinite;
}

.skyline-front {
  bottom: 0;
  height: calc(33% + 170px);
  transform: translate3d(calc(var(--parallax-x) * 0.65), calc(var(--parallax-y) * 0.28), 0);
  background: none;
  filter: drop-shadow(0 0 10px rgba(255, 79, 216, 0.38));
  animation: skyline-front-drift var(--skyline-front-duration, 12s) linear infinite;
  z-index: 4;
}

@keyframes skyline-front-drift {
  from {
    translate: 0 0;
  }

  to {
    translate: calc(var(--skyline-loop-width, 100vw) * -1) 0;
  }
}

@keyframes skyline-back-drift {
  from {
    translate: 0 0;
  }

  to {
    translate: calc(var(--skyline-loop-width, 100vw) * -1) 0;
  }
}

@keyframes skyline-mid-background-drift {
  from {
    background-position:
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0;
  }

  to {
    background-position:
      -448px 0,
      -448px 0,
      -448px 0,
      -448px 0,
      -448px 0,
      -448px 0;
  }
}

.skyline-front span {
  position: absolute;
  bottom: 0;
  left: var(--x);
  width: var(--w);
  height: var(--h);
  min-width: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%),
    repeating-linear-gradient(
      180deg,
      transparent 0 14px,
      rgba(114, 255, 210, 0.16) 14px 16px
    ),
    #09062d;
  box-shadow:
    inset 0 2px 0 rgba(114, 255, 210, 0.16),
    0 0 14px rgba(255, 79, 216, 0.16),
    0 0 28px rgba(9, 6, 45, 0.74);
}

.skyline-front span.is-striped-building {
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 18px,
      rgba(255, 79, 216, 0.16) 18px 21px,
      transparent 21px 34px
    ),
    #09062d;
}

.skyline-front span.is-stepped-building {
  clip-path: polygon(0 8%, 22% 8%, 22% 0, 78% 0, 78% 8%, 100% 8%, 100% 100%, 0 100%);
}

.desktop.is-motion-paused {
  --parallax-x: 0px;
  --parallax-y: 0px;
}

.desktop.is-motion-paused .cityscape::after,
.desktop.is-motion-paused .cityscape::before,
.desktop.is-motion-paused .skyline-front,
.desktop.is-motion-paused .skyline-back,
.desktop.is-motion-paused .skyline-lights,
.desktop.is-motion-paused .cloud-layer::before,
.desktop.is-motion-paused .cloud-layer::after {
  animation-play-state: paused;
}

.desktop-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.desktop-icon {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 5px;
  width: 82px;
  padding: 2px 4px;
  color: white;
  text-align: center;
  text-decoration: none;
  text-shadow: 1px 1px #000;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}

.desktop-icon:nth-child(1) {
  left: 14px;
  top: 16px;
}

.desktop-icon:nth-child(2) {
  left: 14px;
  top: 88px;
}

.desktop-icon:nth-child(3) {
  left: 14px;
  top: 160px;
}

.desktop-icon.is-dragging {
  opacity: 0.82;
  z-index: 5;
}

.desktop-widget {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  gap: 5px;
  width: 156px;
  padding: 6px 7px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(14, 10, 62, 0.42);
  border: 1px solid rgba(114, 255, 210, 0.24);
  box-shadow: 0 0 14px rgba(9, 6, 45, 0.24);
  backdrop-filter: blur(2px);
  z-index: 2;
}

.widget-title {
  padding: 0;
  color: rgba(114, 255, 210, 0.82);
  background: transparent;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 6px rgba(114, 255, 210, 0.34);
}

.widget-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 1px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.widget-toggle input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--hot-pink);
}

.widget-toggle span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.widget-status {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  font-family: "Courier New", monospace;
  font-size: 10px;
  line-height: 1.2;
}

.widget-status span {
  overflow: hidden;
  padding: 1px 0;
  color: rgba(114, 255, 210, 0.72);
  background: transparent;
  border: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-icon:focus,
.desktop-icon:hover {
  outline: 1px dotted rgba(114, 255, 210, 0.92);
  outline-offset: -2px;
  background: rgba(9, 6, 45, 0.38);
}

.desktop-icon.is-selected {
  outline: 1px dotted rgba(114, 255, 210, 0.92);
  outline-offset: -2px;
  background:
    repeating-linear-gradient(45deg, rgba(114, 255, 210, 0.2) 0 4px, rgba(61, 22, 143, 0.18) 4px 8px),
    rgba(9, 6, 45, 0.26);
}

.desktop-icon:active,
.desktop-icon.is-dragging {
  background: rgba(114, 255, 210, 0.28);
}

.icon-art {
  position: relative;
  display: block;
  width: 34px;
  height: 30px;
  image-rendering: pixelated;
}

.icon-computer {
  background:
    linear-gradient(#dcdcdc 0 0) 4px 2px / 26px 18px no-repeat,
    linear-gradient(#000080 0 0) 7px 5px / 20px 12px no-repeat,
    linear-gradient(#808080 0 0) 13px 21px / 8px 4px no-repeat,
    linear-gradient(#c0c0c0 0 0) 8px 26px / 18px 3px no-repeat;
  border: 1px solid transparent;
}

.icon-network {
  background:
    linear-gradient(#dfdfdf 0 0) 3px 4px / 12px 10px no-repeat,
    linear-gradient(#dfdfdf 0 0) 19px 4px / 12px 10px no-repeat,
    linear-gradient(#dfdfdf 0 0) 11px 19px / 12px 10px no-repeat,
    linear-gradient(#000080 0 0) 8px 15px / 18px 2px no-repeat,
    linear-gradient(#000080 0 0) 16px 12px / 2px 10px no-repeat;
}

.icon-notepad {
  background:
    repeating-linear-gradient(#ffffff 0 4px, #b0d7ff 4px 5px) 7px 2px / 22px 27px no-repeat,
    linear-gradient(#000080 0 0) 4px 0 / 6px 30px no-repeat;
  border: 1px solid #404040;
}

.window {
  position: absolute;
  background: var(--window);
  border-color: var(--window-light) var(--window-darker) var(--window-darker) var(--window-light);
  border-style: solid;
  border-width: 2px;
  box-shadow: 1px 1px 0 #000, 0 0 24px rgba(255, 79, 216, 0.28);
  min-width: 230px;
  min-height: 128px;
}

.window[hidden] {
  display: none;
}

.window.is-active {
  z-index: 10;
}

.window.is-dragging,
.window.is-resizing {
  user-select: none;
}

.window.is-collapsed {
  height: auto !important;
  min-height: 0;
}

.window.is-collapsed .menu-bar,
.window.is-collapsed .window-body,
.window.is-collapsed .window-resize-grip {
  display: none;
}

.window-resize-grip {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 16px;
  height: 16px;
  cursor: nwse-resize;
  touch-action: none;
  background:
    linear-gradient(135deg, transparent 0 45%, var(--window-dark) 45% 52%, transparent 52% 100%) 8px 8px / 7px 7px no-repeat,
    linear-gradient(135deg, transparent 0 45%, var(--window-dark) 45% 52%, transparent 52% 100%) 4px 8px / 11px 11px no-repeat,
    linear-gradient(135deg, transparent 0 45%, var(--window-white) 45% 52%, transparent 52% 100%) 5px 9px / 10px 10px no-repeat;
  image-rendering: pixelated;
}

.project-window {
  left: clamp(104px, 12vw, 152px);
  top: 24px;
  width: min(760px, calc(100vw - 136px));
  height: min(560px, calc(100vh - 86px));
  z-index: 3;
}

.services-window {
  right: 18px;
  top: 74px;
  width: clamp(320px, 34vw, 470px);
  height: 350px;
  z-index: 4;
}

.notes-window {
  right: 42px;
  bottom: 48px;
  width: clamp(520px, 48vw, 760px);
  height: min(430px, calc(100vh - 94px));
  z-index: 2;
}

.title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 24px;
  margin: 2px;
  padding: 2px 3px;
  color: white;
  background: linear-gradient(90deg, var(--blue), var(--hot-pink), var(--blue-light));
  cursor: move;
  touch-action: none;
}

.title-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.title-bar h1,
.title-bar h2 {
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.title-icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(#ffffcc 0 0) 2px 1px / 10px 10px no-repeat,
    linear-gradient(#000080 0 0) 4px 3px / 6px 5px no-repeat,
    linear-gradient(#808080 0 0) 5px 11px / 4px 2px no-repeat;
}

.title-icon-network {
  background:
    linear-gradient(#ffffcc 0 0) 1px 2px / 5px 5px no-repeat,
    linear-gradient(#ffffcc 0 0) 8px 2px / 5px 5px no-repeat,
    linear-gradient(#000080 0 0) 3px 8px / 8px 2px no-repeat;
}

.title-icon-note {
  background:
    repeating-linear-gradient(#fff 0 3px, #8ec7ff 3px 4px) 3px 1px / 9px 12px no-repeat,
    linear-gradient(#000080 0 0) 1px 1px / 3px 12px no-repeat;
}

.window-buttons {
  display: flex;
  gap: 2px;
}

.window-buttons button {
  appearance: none;
  display: block;
  width: 16px;
  height: 14px;
  margin: 0;
  padding: 0;
  background: #ffc8f2;
  border-color: var(--window-white) var(--window-darker) var(--window-darker) var(--window-white);
  border-style: solid;
  border-width: 1px;
  cursor: pointer;
}

.window-buttons button:active {
  border-color: var(--window-darker) var(--window-white) var(--window-white) var(--window-darker);
}

.window-buttons button:nth-child(1)::before,
.window-buttons button:nth-child(2)::before,
.window-buttons button:nth-child(3)::before {
  display: block;
  color: var(--blue);
  font-size: 10px;
  line-height: 10px;
  text-align: center;
}

.window-buttons button:nth-child(1)::before {
  content: "_";
}

.window-buttons button:nth-child(2)::before {
  content: "\25A1";
}

.window-buttons button:nth-child(3)::before {
  content: "x";
}

.window.is-collapsed .window-buttons button:nth-child(2)::before {
  content: "\25A3";
}

.menu-bar {
  display: flex;
  gap: 18px;
  padding: 2px 8px 5px;
}

.menu-bar span::first-letter {
  text-decoration: underline;
}

.window-body {
  height: calc(100% - 31px);
  margin: 0 4px 4px;
  padding: 8px;
  background: linear-gradient(180deg, #e9dcff, #c9ecff);
  border-color: var(--window-dark) var(--window-white) var(--window-white) var(--window-dark);
  border-style: solid;
  border-width: 2px;
  overflow: hidden;
}

.project-window .window-body {
  position: relative;
  height: calc(100% - 56px);
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 8px;
}

.tab-strip {
  display: flex;
  align-items: end;
  gap: 3px;
  min-width: 0;
  padding: 5px 5px 0;
  background: linear-gradient(180deg, #f2e8ff, #d7c7ff);
  border-color: var(--window-dark) var(--window-white) var(--window-white) var(--window-dark);
  border-style: solid;
  border-width: 2px;
  overflow: hidden;
}

.tab-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 138px;
  height: 25px;
  margin: 0;
  padding: 0 10px;
  color: var(--text);
  background: linear-gradient(180deg, #fff7ff, #d7c7ff);
  border-color: var(--window-white) var(--window-darker) var(--window-darker) var(--window-white);
  border-style: solid;
  border-width: 2px;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab-button.is-active {
  color: #150a42;
  background: linear-gradient(180deg, #d9f6ff, #fff7ff);
  border-bottom-color: #fff7ff;
  box-shadow: inset 0 2px 0 rgba(114, 255, 210, 0.38);
  font-weight: 700;
}

.tab-button:focus-visible {
  outline: 1px dotted var(--mint);
  outline-offset: -4px;
}

.tab-create {
  flex: 0 0 auto;
  max-width: 92px;
  color: #150a42;
  background: linear-gradient(180deg, #fff0a8, #ffd6f5);
}

.tab-create span {
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  color: #130d30;
  background: var(--mint);
  font-weight: 700;
  line-height: 1;
}

.tab-icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.tab-icon-academic {
  background:
    linear-gradient(#fff 0 0) 2px 2px / 10px 10px no-repeat,
    linear-gradient(#ff4fd8 0 0) 2px 10px / 10px 2px no-repeat,
    linear-gradient(#72ffd2 0 0) 4px 4px / 6px 1px no-repeat;
}

.tab-icon-personal {
  background:
    linear-gradient(#ff4fd8 0 0) 4px 2px / 6px 10px no-repeat,
    linear-gradient(#72ffd2 0 0) 2px 5px / 10px 5px no-repeat;
}

.tab-icon-server {
  background:
    linear-gradient(#bff7ff 0 0) 1px 2px / 12px 8px no-repeat,
    linear-gradient(#3d168f 0 0) 3px 4px / 8px 2px no-repeat,
    linear-gradient(#72ffd2 0 0) 5px 11px / 4px 2px no-repeat;
}

.tab-icon-other {
  background:
    repeating-linear-gradient(#fff 0 3px, #8ec7ff 3px 4px) 4px 1px / 9px 12px no-repeat,
    linear-gradient(#ff4fd8 0 0) 1px 1px / 3px 12px no-repeat;
}

.tab-panel {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.tab-panel.is-active {
  display: block;
}

.goal-list {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: max-content;
  align-content: start;
  gap: 6px;
  height: 100%;
  min-height: 0;
  padding: 2px;
  overflow-y: auto;
  scrollbar-color: var(--window-dark) var(--window-light);
}

.goal-card {
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 6px;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 7px 8px;
  color: var(--text);
  background: linear-gradient(180deg, #fff7ff, #d9f6ff);
  border-color: var(--window-white) var(--window-dark) var(--window-dark) var(--window-white);
  border-style: solid;
  border-width: 2px;
  font-family: inherit;
}

.goal-card:hover,
.goal-card:focus-within {
  background: linear-gradient(180deg, #fff0a8, #d9f6ff);
  outline: 1px dotted var(--blue);
  outline-offset: -5px;
}

.goal-card-toggle {
  appearance: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.goal-toggle-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: white;
  background: linear-gradient(180deg, #8b45ff, #3d168f);
  border-color: var(--window-white) var(--window-darker) var(--window-darker) var(--window-white);
  border-style: solid;
  border-width: 2px;
  box-shadow: 0 0 8px rgba(255, 79, 216, 0.28);
  font-weight: 700;
  line-height: 1;
}

.goal-card.is-expanded .goal-toggle-icon {
  color: var(--mint);
}

.goal-card.is-expanded .goal-toggle-icon {
  font-size: 0;
}

.goal-card.is-expanded .goal-toggle-icon::before {
  content: "-";
  font-size: 14px;
}

.goal-card-title {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.goal-name {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goal-card .loading-bar {
  margin: 0;
}

.goal-progress-bar {
  position: relative;
}

.goal-progress-notch {
  position: absolute;
  top: -5px;
  display: none;
  width: 10px;
  height: 26px;
  background:
    linear-gradient(var(--mint) 0 0) 4px 3px / 2px 20px no-repeat,
    linear-gradient(180deg, #fff7ff, #8b45ff);
  border-color: var(--window-white) var(--window-darker) var(--window-darker) var(--window-white);
  border-style: solid;
  border-width: 2px;
  box-shadow: 0 0 8px rgba(114, 255, 210, 0.54);
  transform: translateX(-50%);
  pointer-events: none;
}

.goal-card.is-editing .goal-progress-bar {
  cursor: ew-resize;
  outline: 1px dotted var(--hot-pink);
  outline-offset: 2px;
}

.goal-card.is-editing .goal-progress-notch {
  display: block;
}

.goal-card-detail {
  display: none;
  gap: 6px;
  min-width: 0;
  padding: 6px;
  background: rgba(255, 247, 255, 0.72);
  border: 1px solid rgba(125, 101, 200, 0.56);
  overflow-wrap: anywhere;
}

.goal-card.is-expanded .goal-card-detail {
  display: grid;
}

.goal-card-detail p {
  margin: 0;
  line-height: 1.25;
}

.goal-card-detail .tag-list {
  align-content: start;
  align-items: center;
  margin-top: 2px;
  overflow: visible;
}

.goal-edit-button {
  margin-left: auto;
  padding: 3px 10px;
  color: white;
  background: linear-gradient(90deg, var(--blue), var(--hot-pink));
  border-color: var(--window-white) var(--window-darker) var(--window-darker) var(--window-white);
  border-style: solid;
  border-width: 2px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.goal-card.is-editing .goal-edit-button {
  color: #150a42;
  background: linear-gradient(90deg, var(--mint), #fff0a8);
}

.goal-card.is-expanded .goal-name {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.time-bar {
  height: 5px;
  padding: 1px;
  background: #120d54;
  border: 1px solid rgba(42, 31, 102, 0.72);
}

.time-bar span {
  display: block;
  height: 100%;
}

.time-bar-green span {
  background: #72ffd2;
}

.time-bar-yellow span {
  background: #fff0a8;
}

.time-bar-orange span {
  background: #ff9a4d;
}

.time-bar-unknown span {
  background: #7d65c8;
}

.goal-card[data-status="backlog"] .project-status,
.goal-card[data-status="planned"] .project-status {
  color: #5d4d86;
}

.goal-card[data-status="building"] .project-status,
.goal-card[data-status="drafting"] .project-status,
.goal-card[data-status="collecting"] .project-status,
.goal-card[data-status="scaffolding"] .project-status {
  color: #c0008d;
}

.goal-card[data-status="research"] .project-status,
.goal-card[data-status="scouting"] .project-status {
  color: #3d168f;
}

.goal-card[data-status="open"] .project-status {
  color: #006b75;
}

.create-panel {
  height: 100%;
}

.smart-goal-form {
  display: grid;
  gap: 9px;
  align-content: start;
  height: 100%;
  padding: 12px;
  background:
    linear-gradient(90deg, rgba(114, 255, 210, 0.18), transparent 34%, rgba(255, 79, 216, 0.1)),
    #fff7ff;
  border-color: var(--window-dark) var(--window-white) var(--window-white) var(--window-dark);
  border-style: solid;
  border-width: 2px;
  font-family: "Courier New", monospace;
  overflow-y: auto;
}

.smart-form-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 7px;
  color: #150a42;
  background: linear-gradient(90deg, #d9f6ff, #ffd6f5);
  border-color: var(--window-white) var(--window-dark) var(--window-dark) var(--window-white);
  border-style: solid;
  border-width: 2px;
}

.smart-form-header strong,
.smart-form-header small {
  display: block;
}

.smart-form-header small {
  color: #5d4d86;
  font-size: 11px;
}

.smart-form-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--mint);
  background: linear-gradient(180deg, #8b45ff, #3d168f);
  border-color: var(--window-white) var(--window-darker) var(--window-darker) var(--window-white);
  border-style: solid;
  border-width: 2px;
  font-weight: 700;
}

.smart-goal-form label {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 6px;
  background: rgba(217, 246, 255, 0.42);
  border: 1px solid rgba(125, 101, 200, 0.54);
}

.smart-goal-form label > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: #3d168f;
  font-weight: 700;
}

.smart-goal-form input,
.smart-goal-form textarea,
.smart-goal-form select {
  width: 100%;
  min-width: 0;
  padding: 4px;
  color: var(--text);
  background: white;
  border-color: var(--window-dark) var(--window-white) var(--window-white) var(--window-dark);
  border-style: solid;
  border-width: 2px;
  font-family: inherit;
}

.smart-goal-form input[type="range"] {
  accent-color: var(--hot-pink);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.smart-help {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  color: white;
  background: linear-gradient(180deg, var(--hot-pink), var(--blue));
  border-color: var(--window-white) var(--window-darker) var(--window-darker) var(--window-white);
  border-style: solid;
  border-width: 2px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
}

.smart-help::after {
  content: attr(data-tip);
  position: absolute;
  right: -4px;
  bottom: calc(100% + 7px);
  display: none;
  width: min(280px, 60vw);
  padding: 6px 7px;
  color: #150a42;
  background: #fff0a8;
  border: 1px solid var(--hot-pink);
  box-shadow: 2px 2px 0 var(--window-darker);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  z-index: 30;
}

.smart-help:hover::after,
.smart-help:focus::after {
  display: block;
}

.smart-goal-form > button {
  justify-self: start;
  padding: 4px 10px;
  color: white;
  background: linear-gradient(90deg, var(--blue), var(--hot-pink));
  border-color: var(--window-white) var(--window-darker) var(--window-darker) var(--window-white);
  border-style: solid;
  border-width: 2px;
  font-family: inherit;
  font-weight: 700;
}

.smart-form-message {
  min-height: 16px;
  margin: 0;
  color: #3d168f;
  font-weight: 700;
}

.status-strip {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 7px;
  background: linear-gradient(90deg, var(--focus), #ffd6f5);
  border: 1px solid var(--hot-pink);
}

.status-strip p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  height: 100%;
  min-height: 0;
}

.project-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 0;
  padding: 8px;
  background: linear-gradient(180deg, #fff7ff, #d9f6ff);
  border-color: var(--window-white) var(--window-dark) var(--window-dark) var(--window-white);
  border-style: solid;
  border-width: 2px;
}

.project-card[data-priority="high"] .project-status {
  color: #c0008d;
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.project-card h3,
.project-status,
.project-summary,
.project-next {
  margin: 0;
}

.project-card h3 {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.progress-value {
  flex: 0 0 auto;
  font-weight: 700;
}

.loading-bar {
  height: 18px;
  margin: 8px 0;
  padding: 2px;
  background: #1b1254;
  border-color: var(--window-dark) var(--window-white) var(--window-white) var(--window-dark);
  border-style: solid;
  border-width: 2px;
  cursor: wait;
}

.loading-bar span {
  display: block;
  height: 100%;
  background:
    repeating-linear-gradient(
      90deg,
      var(--progress) 0 8px,
      var(--mint) 8px 10px,
      #ffffff 10px 12px
    );
  box-shadow: 0 0 10px rgba(255, 79, 216, 0.7);
}

.project-summary,
.project-next {
  overflow: hidden;
  font-size: 12px;
}

.project-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-next {
  margin-top: 4px;
  color: #303030;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-content: end;
  margin-top: 8px;
  overflow: hidden;
}

.tag {
  padding: 1px 4px;
  color: #150a42;
  background: var(--mint);
  border: 1px solid var(--hot-pink);
  font-size: 11px;
}

.service-list {
  display: grid;
  gap: 8px;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 3px;
}

.service-card {
  background: #fff7ff;
  border-color: var(--window-white) var(--window-dark) var(--window-dark) var(--window-white);
  border-style: solid;
  border-width: 2px;
}

.service-card-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 6px;
  color: var(--text);
  background: linear-gradient(90deg, #fff7ff, #d9f6ff);
  border-bottom: 1px solid rgba(61, 22, 143, 0.35);
  text-decoration: none;
}

.service-card-header:hover,
.service-card-header:focus {
  color: white;
  background: linear-gradient(90deg, var(--blue), var(--hot-pink));
}

.service-card-header strong,
.service-card-header small {
  display: block;
  min-width: 0;
}

.service-card-header small {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-state {
  padding: 1px 4px;
  border: 1px solid var(--hot-pink);
  font-size: 11px;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-card[data-state="online"] .service-state,
.service-chip[data-state="online"] {
  color: #053d2d;
  background: #72ffd2;
  border-color: #008b75;
}

.service-card[data-state="degraded"] .service-state {
  color: #4c2c00;
  background: #fff0a8;
  border-color: #ff9a4d;
}

.service-card[data-state="down"] .service-state,
.service-chip[data-state="down"] {
  color: white;
  background: #c0008d;
  border-color: #3d168f;
}

.service-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 7px;
  list-style: none;
}

.service-chip {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 5px;
  align-items: center;
  min-height: 20px;
  padding: 2px 5px;
  color: #150a42;
  background: #d9f6ff;
  border: 1px solid rgba(61, 22, 143, 0.55);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.service-chip span:last-child {
  font-weight: 700;
  text-transform: uppercase;
}

.note-body {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr);
  gap: 8px;
  min-height: 0;
  background: #fff7ff;
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.note-body p {
  margin: 0;
}

.note-file-pane,
.note-reader {
  min-height: 0;
  background: #fff7ff;
  border-color: var(--window-dark) var(--window-white) var(--window-white) var(--window-dark);
  border-style: solid;
  border-width: 2px;
}

.note-file-pane {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 8px;
  padding: 6px;
  overflow-y: auto;
}

.note-file-pane section {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.note-file-pane h3,
.note-reader h3,
.note-date {
  margin: 0;
}

.note-file-pane h3 {
  padding: 2px 4px;
  color: #150a42;
  background: linear-gradient(90deg, var(--focus), #ffd6f5);
  border: 1px solid var(--hot-pink);
  font-size: 11px;
  text-transform: uppercase;
}

.note-file-list {
  display: grid;
  gap: 3px;
}

.note-file-button {
  appearance: none;
  display: grid;
  gap: 2px;
  width: 100%;
  min-width: 0;
  padding: 5px;
  color: var(--text);
  background: linear-gradient(180deg, #f2e8ff, #d9f6ff);
  border-color: var(--window-white) var(--window-dark) var(--window-dark) var(--window-white);
  border-style: solid;
  border-width: 2px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.note-file-button:hover,
.note-file-button:focus,
.note-file-button.is-active {
  color: white;
  background: linear-gradient(90deg, var(--blue), var(--hot-pink));
}

.note-file-button span,
.note-file-button small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-file-button span {
  font-weight: 700;
}

.note-file-button small {
  font-size: 10px;
}

.note-reader {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.note-reader header {
  display: grid;
  gap: 2px;
  padding: 7px 8px;
  background: linear-gradient(90deg, #d9f6ff, #fff7ff);
  border-bottom: 1px solid rgba(61, 22, 143, 0.35);
}

.note-date {
  color: #5d4d86;
  font-size: 11px;
  text-transform: uppercase;
}

.note-reader h3 {
  color: #150a42;
  font-size: 16px;
}

.note-content {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 0;
  padding: 9px;
  overflow-y: auto;
  line-height: 1.35;
}

.taskbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 3px 4px;
  background: linear-gradient(90deg, #d7c7ff, #bff7ff);
  border-top: 2px solid #fff7ff;
  overflow: hidden;
  z-index: 20;
}

.start-button,
.task-button,
.tray {
  height: 28px;
  display: flex;
  align-items: center;
  color: var(--text);
  background: var(--window);
  border-color: var(--window-white) var(--window-darker) var(--window-darker) var(--window-white);
  border-style: solid;
  border-width: 2px;
  text-decoration: none;
}

.start-button {
  flex: 0 0 auto;
  padding: 0 12px;
  font-weight: 700;
}

.start-button::before {
  content: "\2605";
  width: 16px;
  height: 16px;
  margin-right: 6px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: radial-gradient(circle at 45% 42%, #8b45ff 0 34%, #3d168f 66%, #211052 100%);
  border: 1px solid #2a1f66;
  border-radius: 50%;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.48),
    inset -1px -1px 0 rgba(0, 0, 0, 0.32);
  font-size: 10px;
  line-height: 1;
  text-shadow:
    1px 0 0 #72ffd2,
    -1px 0 0 rgba(0, 216, 255, 0.64),
    0 0 5px rgba(114, 255, 210, 1),
    0 0 10px rgba(0, 216, 255, 0.82),
    0 0 14px rgba(114, 255, 210, 0.58);
}

.task-button {
  order: 1;
  flex: 1 1 170px;
  min-width: 0;
  max-width: 260px;
  padding: 0 10px;
  border-color: var(--window-darker) var(--window-white) var(--window-white) var(--window-darker);
  font-weight: 700;
  font-family: inherit;
  font-size: 13px;
  justify-content: flex-start;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.task-button[hidden] {
  display: none;
}

.task-button.is-minimized {
  border-color: var(--window-white) var(--window-darker) var(--window-darker) var(--window-white);
  font-weight: 400;
  color: #5d4d86;
}

.task-spacer {
  order: 9000;
  flex: 1 1 auto;
  min-width: 0;
}

.tray {
  order: 10000;
  flex: 0 0 auto;
  gap: 10px;
  padding: 0 8px;
  border-color: var(--window-dark) var(--window-white) var(--window-white) var(--window-dark);
  white-space: nowrap;
}

.account-widget {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  color: #21123b;
  background:
    linear-gradient(90deg, rgba(255, 79, 216, 0.28), rgba(114, 255, 210, 0.36)),
    #f2e8ff;
  border: 1px solid rgba(61, 22, 143, 0.74);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.72),
    inset -1px -1px 0 rgba(42, 31, 102, 0.3);
  font-weight: 700;
  text-decoration: none;
}

.account-widget:hover,
.account-widget:focus {
  background:
    linear-gradient(90deg, rgba(114, 255, 210, 0.5), rgba(255, 79, 216, 0.34)),
    #fff7ff;
  outline: 1px dotted var(--blue);
  outline-offset: -3px;
}

.account-bubble {
  --account-arrow-right: 64px;
  position: fixed;
  right: 14px;
  bottom: 46px;
  width: min(340px, calc(100vw - 28px));
  z-index: 30;
  filter: drop-shadow(3px 4px 0 rgba(8, 5, 42, 0.45));
  transition:
    opacity 1.25s ease,
    transform 1.25s ease,
    visibility 0s linear 1.25s;
}

.account-bubble::after {
  content: "";
  position: absolute;
  right: var(--account-arrow-right);
  bottom: -12px;
  width: 22px;
  height: 18px;
  background: #fff4a8;
  border-right: 2px solid #8f7a20;
  border-bottom: 2px solid #8f7a20;
  transform: skewY(30deg);
}

.account-bubble.is-dismissed {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
}

.account-bubble-panel {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  min-height: 82px;
  padding: 14px 34px 12px 12px;
  color: #21123b;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 38%),
    #fff4a8;
  border: 2px solid #8f7a20;
  border-radius: 18px;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.9),
    inset -1px -1px 0 rgba(171, 134, 26, 0.42);
  text-decoration: none;
}

.account-bubble-close {
  position: absolute;
  top: 8px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  color: #21123b;
  background: #d7c7ff;
  border-color: var(--window-white) var(--window-darker) var(--window-darker) var(--window-white);
  border-style: solid;
  border-width: 2px;
  font-family: inherit;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.account-bubble-close:active {
  border-color: var(--window-darker) var(--window-white) var(--window-white) var(--window-darker);
  padding-top: 1px;
}

.account-bubble strong,
.account-bubble span span {
  display: block;
}

.account-bubble strong {
  margin-bottom: 6px;
  font-size: 13px;
}

.account-bubble span span {
  line-height: 1.35;
}

.assistant-starball {
  position: relative;
  align-self: center;
  display: block;
  width: 42px;
  height: 42px;
  overflow: visible;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.42) 0 9%, transparent 10%),
    radial-gradient(circle at 45% 42%, #8b45ff 0 34%, #3d168f 66%, #211052 100%);
  border: 2px solid #2a1f66;
  border-radius: 50%;
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.42),
    inset -2px -2px 0 rgba(0, 0, 0, 0.3),
    3px 4px 0 rgba(33, 16, 82, 0.32),
    0 0 10px rgba(114, 255, 210, 0.24);
  image-rendering: pixelated;
  transform: rotate(-11deg);
}

.assistant-star-glow,
.assistant-star-core,
.assistant-star-eyes {
  position: absolute;
  display: block;
  pointer-events: none;
}

.assistant-star-glow,
.assistant-star-core {
  clip-path: polygon(50% 0, 61% 36%, 100% 36%, 68% 57%, 80% 100%, 50% 74%, 20% 100%, 32% 57%, 0 36%, 39% 36%);
}

.assistant-star-glow {
  left: 8px;
  top: 6px;
  width: 27px;
  height: 27px;
  background:
    linear-gradient(135deg, transparent 0 38%, rgba(114, 255, 210, 0.9) 39% 58%, rgba(0, 216, 255, 0.68) 58% 100%),
    #00d8ff;
  opacity: 0.82;
  filter: blur(1px);
  transform: scale(1);
  z-index: 1;
}

.assistant-star-core {
  left: 9px;
  top: 10px;
  width: 23px;
  height: 22px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(114, 255, 210, 0.28);
  z-index: 2;
}

.assistant-star-eyes {
  top: 12px;
  left: 13px;
  width: 5px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow:
    12px 0 0 #ffffff,
    1px 1px 0 1px rgba(33, 16, 82, 0.68),
    13px 1px 0 1px rgba(33, 16, 82, 0.68);
  z-index: 3;
}

@media (max-width: 820px) {
  .desktop {
    padding: 8px;
  }

  .desktop-icons {
    inset: 0;
  }

  .desktop-icon:nth-child(1) {
    left: 8px;
    top: 8px;
  }

  .desktop-icon:nth-child(2) {
    left: 92px;
    top: 8px;
  }

  .desktop-icon:nth-child(3) {
    left: 176px;
    top: 8px;
  }

  .project-window {
    left: 8px;
    top: 88px;
    width: calc(100vw - 16px);
    height: calc(100vh - 132px);
  }

  .services-window {
    left: 8px;
    right: auto;
    top: 112px;
    width: min(330px, calc(100vw - 16px));
  }

  .notes-window {
    left: 8px;
    right: auto;
    bottom: 44px;
    width: calc(100vw - 16px);
    height: calc(100vh - 156px);
  }

  .note-body {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(96px, 0.38fr) minmax(0, 1fr);
  }

  .project-list,
  .goal-list {
    grid-template-columns: 1fr;
  }

  .account-bubble {
    --account-arrow-right: 54px;
    right: 8px;
    bottom: 44px;
    width: min(300px, calc(100vw - 16px));
  }

  .project-summary,
  .project-next,
  .tag-list {
    display: none;
  }
}

@media (max-height: 620px) and (min-width: 821px) {
  .project-window {
    height: calc(100vh - 76px);
  }

  .project-summary {
    -webkit-line-clamp: 1;
  }
}
