:root {
  color-scheme: dark;
  /* Muted accents sit on layered charcoal; light windows use neutral warm gray. */
  --green: #a8c5ae;
  --pink: #d0a3b5;
  --dim: #a0afa5;
  --bg: #1c231f;
  --line: #45544a;
  --surface: #202923;
  --raised: #2b3730;
  --text: #cbd4cd;
  --silver: #b9beb7;
  --paper: #d4d3cb;
  --ink: #303832;
  --ink-muted: #3e4840;
  --chrome-light: #d9dcd4;
  --chrome-edge: #626c64;
  --rose-ink: #79465e;
  --focus: var(--pink);
  --shadow: 4px 5px 0 #0003;
  --mono: 'JetBrains Mono', Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  height: 100%;
}
body {
  background: var(--bg);
  color: var(--green);
  font: 13px/1.6 var(--mono);
  overflow: hidden;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
.window:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--pink);
  color: var(--bg);
}
body:before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(#a8c5ae04 1px, transparent 1px),
    linear-gradient(90deg, #a8c5ae04 1px, transparent 1px);
  background-size: 44px 44px;
}
body:after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 3px,
    #00000006 3px 4px
  );
}
#rain {
  position: fixed;
  inset: 0;
  opacity: 0.045;
  pointer-events: none;
}
.wallpaper {
  position: absolute;
  right: 5%;
  bottom: 110px;
  text-align: right;
  opacity: 0.16;
  user-select: none;
  pointer-events: none;
}
.wallpaper > span {
  letter-spacing: 0.5em;
  font-size: 10px;
}
.wallpaper strong {
  display: block;
  font-size: clamp(80px, 12vw, 190px);
  line-height: 1.2;
  letter-spacing: -0.09em;
  font-weight: 800;
}
.wallpaper strong span {
  font-weight: 400;
  -webkit-text-stroke: 1px var(--green);
  color: transparent;
}
.wallpaper small {
  letter-spacing: 0.24em;
  font-size: 9px;
}
.system-bar {
  height: 49px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
  background: var(--bg);
  position: relative;
  z-index: 2;
  font-size: 11px;
}
.system-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
}
.system-links {
  text-decoration: none;
}
.system-links:hover {
  color: var(--pink);
}
.mini-logo {
  background: var(--green);
  color: var(--bg);
  font-size: 18px;
  line-height: 23px;
  width: 25px;
  text-align: center;
  font-weight: 800;
  letter-spacing: -3px;
  padding-right: 3px;
}
.edition {
  color: var(--dim);
  font-weight: 400;
}
.system-right {
  display: flex;
  align-items: center;
  gap: 25px;
}
.online {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--dim);
  font-size: 10px;
}
.online i,
.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: none;
}
.system-right button {
  border: 0;
  border-left: 1px solid var(--line);
  padding: 0 0 0 20px;
  background: none;
  font-size: 10px;
  letter-spacing: 0.07em;
}
#desktop {
  position: relative;
  isolation: isolate;
  z-index: 1;
  height: calc(100dvh - 122px);
  min-height: 0;
  --window-top: 112px;
  --side-width: clamp(340px, 30vw, 430px);
  --side-height: calc((100% - var(--window-top) - 42px) * 0.4);
  max-width: 1660px;
  margin: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10001;
  background: var(--green);
  color: var(--bg);
  padding: 12px 18px;
}
.skip-link:focus {
  top: 8px;
}
.noscript-note {
  position: fixed;
  inset: 60px 16px auto;
  z-index: 200;
  padding: 20px;
  background: var(--paper);
  color: var(--ink);
}
.desktop-caption {
  position: absolute;
  left: 128px;
  right: 28px;
  top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.desktop-eyebrow {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--dim);
}
.desktop-caption p {
  margin: 5px 0 0;
  font-size: clamp(16px, 1.5vw, 23px);
  letter-spacing: -0.05em;
  color: var(--text);
  font-weight: 700;
}
.desktop-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.desktop-actions button {
  border: 1px solid var(--line);
  background: var(--raised);
  padding: 10px 12px;
  min-height: 40px;
  font-size: 11px;
}
.desktop-actions button:first-child {
  background: var(--green);
  color: var(--bg);
  border-color: var(--green);
}
.desktop-actions button:hover {
  border-color: var(--pink);
}
.desktop-actions span {
  margin-left: 8px;
}
#shortcuts {
  position: absolute;
  left: 17px;
  top: var(--window-top);
  width: 92px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.shortcut {
  background: none;
  border: 1px solid transparent;
  padding: 7px 3px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  text-shadow: none;
}
.shortcut:hover,
.shortcut:focus-visible {
  background: var(--raised);
  border: 1px dotted var(--dim);
}
.shortcut svg {
  width: 33px;
  height: 33px;
  filter: drop-shadow(3px 3px 0 #000);
  overflow: visible;
  shape-rendering: crispEdges;
}
.shortcut:last-child {
  color: var(--pink);
}
.window {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: var(--silver);
  border: 1px solid var(--chrome-light);
  border-right-color: var(--chrome-edge);
  border-bottom-color: var(--chrome-edge);
  padding: 3px;
  box-shadow: var(--shadow);
  color: var(--ink);
  min-width: 270px;
  max-height: calc(100% - var(--window-top) - 24px);
  isolation: isolate;
  --focus: var(--rose-ink);
  color-scheme: light;
}
.window.active {
  box-shadow: var(--shadow);
}
.titlebar {
  height: 36px;
  min-height: 36px;
  background: var(--raised);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 4px 3px 8px;
  user-select: none;
  cursor: grab;
  touch-action: none;
}
.active .titlebar {
  background: var(--green);
  color: var(--bg);
}
.window-title {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
}
.window-title > span {
  margin-right: 5px;
}
.window-controls {
  display: flex;
  gap: 3px;
  margin-left: 10px;
}
.window-controls button {
  padding: 0;
  width: 27px;
  height: 27px;
  line-height: 15px;
  background: var(--silver);
  color: var(--ink);
  border: 1px solid var(--chrome-light);
  border-right-color: var(--chrome-edge);
  border-bottom-color: var(--chrome-edge);
  font-weight: 700;
  font-size: 14px;
}
.window-controls button:active {
  border-color: var(--chrome-edge) var(--chrome-light) var(--chrome-light)
    var(--chrome-edge);
}
.window-controls button:last-child:hover {
  background: var(--pink);
}
.window-status {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 7px 1px;
  font-size: 9px;
  color: var(--ink-muted);
}
.window-status > span:last-child {
  text-align: right;
}
.window-status .dot {
  background: #41664a;
  width: 4px;
  height: 4px;
  margin: 0 4px;
}
.window.maximized {
  left: 8px !important;
  top: 8px !important;
  width: calc(100% - 16px) !important;
  height: calc(100% - 16px) !important;
  max-height: none;
}
.terminal-window {
  left: 128px;
  top: var(--window-top);
  width: calc(100% - var(--side-width) - 178px);
  min-width: 0;
  height: calc(100% - var(--window-top) - 24px);
  z-index: 3;
}
.terminal-menu {
  background: var(--surface);
  display: flex;
  justify-content: space-between;
  padding: 8px 13px;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
}
.terminal-menu .dot {
  margin-right: 6px;
}
.terminal-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: var(--surface);
  color: var(--text);
  --focus: var(--pink);
  color-scheme: dark;
  padding: 20px 23px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) var(--surface);
}
.terminal-body:before {
  content: '';
  position: absolute;
  inset: 65px 4px 65px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, #a8c5ae02, transparent 70%);
}
.boot-line {
  font-size: 9px;
  color: var(--dim);
  margin-bottom: 13px;
}
.boot-line .ok {
  color: var(--green);
  margin-right: 10px;
}
.shell-logo {
  font-size: clamp(42px, 5.1vw, 75px);
  letter-spacing: -0.075em;
  font-weight: 800;
  line-height: 1.1;
  color: var(--green);
  text-shadow: none;
}
.shell-logo span {
  color: var(--pink);
  font-size: 0.39em;
  letter-spacing: -0.05em;
}
.release-line {
  font-size: 8px;
  letter-spacing: 0.21em;
  color: var(--dim);
  margin: 7px 0 21px;
}
.fetch {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 3px 13px;
  font-size: 12px;
  line-height: 1.8;
}
.fetch dt {
  color: var(--pink);
}
.fetch dd {
  margin: 0;
  color: var(--text);
}
.color-chips {
  display: flex;
  margin: 12px 0 19px;
}
.color-chips i {
  height: 10px;
  width: 23px;
  background: var(--color);
}
.welcome {
  border-top: 1px dashed var(--line);
  padding-top: 15px;
  font-size: 11px;
  color: var(--text);
  margin-bottom: 15px;
}
.welcome p {
  margin: 0 0 4px;
}
.muted {
  color: var(--dim);
}
.pink {
  color: var(--pink);
}
.terminal-line {
  margin: 8px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.terminal-line a {
  color: var(--pink);
  text-underline-offset: 3px;
}
.terminal-line pre {
  font: inherit;
  overflow: auto;
}
.echo {
  color: var(--dim);
  padding-top: 7px;
}
.terminal-line .fetch {
  white-space: normal;
}
.terminal-link {
  border: 0;
  background: none;
  color: var(--pink);
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.terminal-line .command-grid {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 4px 14px;
  white-space: normal;
}
.command-grid b {
  color: var(--pink);
  font-weight: 500;
}
.command-grid span {
  color: var(--text);
}
#command-form {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  margin: 0;
  background: var(--surface);
  color: var(--green);
  padding: 9px 23px 11px;
  flex-shrink: 0;
  border-top: 1px solid var(--line);
}
#command-form label {
  white-space: nowrap;
}
#command {
  width: 100%;
  min-width: 0;
  outline: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  padding: 4px 0;
  border-radius: 0;
  caret-color: var(--pink);
}
#command::placeholder {
  color: var(--dim);
  font-size: 10px;
}
#command:focus {
  box-shadow: 0 1px var(--pink);
}
.quick-commands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--surface);
  --focus: var(--pink);
  padding: 10px 11px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.quick-commands button {
  background: var(--raised);
  color: var(--text);
  border: 1px solid var(--dim);
  font-size: 11px;
  min-height: 36px;
  padding: 6px 9px;
  white-space: nowrap;
}
.quick-commands button span {
  margin-left: 8px;
  color: var(--pink);
}
.quick-commands button:hover {
  background: var(--green);
  color: var(--bg);
}
.quick-commands button:hover span {
  color: var(--bg);
}
.readme-window {
  right: 28px;
  top: var(--window-top);
  width: var(--side-width);
  height: var(--side-height);
  z-index: 2;
}
.readme-window.active,
.readme-window.maximized {
  transform: none;
}
.readme-content {
  background: var(--paper);
  padding: 16px 20px 19px;
  overflow: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--chrome-edge) var(--paper);
  background-image: repeating-linear-gradient(
    transparent 0 23px,
    #22392205 23px 24px
  );
}
.file-path {
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  border-bottom: 1px solid #b8c3ad;
  padding-bottom: 10px;
}
.note-heading {
  display: flex;
  align-items: center;
  position: relative;
  margin: 17px 0 12px;
  gap: 9px;
}
.asterisk {
  font-size: 33px;
  line-height: 1;
  color: #4d6a48;
}
.note-heading h1 {
  font-size: 23px;
  letter-spacing: -1.6px;
  margin: 0;
  line-height: 1.2;
}
.note-heading .pink {
  color: var(--rose-ink);
}
.readme-content > p {
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}
.profile-details {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.8;
}
.profile-details summary {
  cursor: pointer;
  color: var(--rose-ink);
  padding-block: 5px;
  text-underline-offset: 3px;
}
.profile-details summary:hover {
  text-decoration: underline;
}
.profile-details p {
  margin: 8px 0 0;
}
.note-signoff {
  font-size: 8px;
  color: var(--ink-muted);
  margin-top: 16px;
}
.note-signoff > span {
  display: block;
  text-align: right;
  margin-top: 4px;
}
.note-signoff b {
  color: var(--rose-ink);
  font-size: 15px;
  font-weight: 400;
}
.projects-window {
  right: 28px;
  top: calc(var(--window-top) + var(--side-height) + 18px);
  width: var(--side-width);
  height: calc(100% - var(--window-top) - var(--side-height) - 42px);
  z-index: 4;
}
.explorer-address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 8px;
  padding: 7px 3px;
}
.explorer-address > span:nth-child(2) {
  flex: 1;
  background: var(--paper);
  border: 1px solid var(--chrome-edge);
  padding: 3px 7px;
}
.explorer-address button {
  border: 1px solid var(--chrome-edge);
  background: #c7ccc3;
  line-height: 20px;
}
.project-head {
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  padding: 6px 13px;
  background: #c2c7be;
  border-top: 1px solid #939d91;
  border-bottom: 1px solid #939d91;
  letter-spacing: 0.1em;
}
#project-list {
  background: var(--paper);
  overflow: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--chrome-edge) var(--paper);
}
.project {
  display: grid;
  grid-template-columns: 25px 1fr auto;
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px solid #b5bcb0;
  text-decoration: none;
  align-items: center;
}
.project:last-child {
  border: 0;
}
a.project:hover,
a.project:focus-visible {
  background: var(--chrome-light);
}
.project-copy {
  min-width: 0;
}
.project-arrow {
  font-weight: 400;
  color: var(--rose-ink);
}
.project-unavailable .project-tag {
  border-style: dashed;
}
.project-icon {
  font-size: 19px;
  color: #526b49;
}
.project strong {
  font-size: 12px;
  font-weight: 700;
  display: block;
  letter-spacing: 0.04em;
}
.project p {
  font-size: 11px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}
.project-tag {
  font-size: 9px;
  background: var(--chrome-light);
  border: 1px solid #9ba693;
  color: var(--ink-muted);
  padding: 2px 5px;
  align-self: start;
  margin-top: 1px;
}
.utility-window {
  width: min(440px, calc(100% - 40px));
  left: calc(50% - 220px);
  top: var(--window-top);
  z-index: 8;
}
.utility-window #utility-content {
  padding: 24px;
  background: var(--paper);
  overflow: auto;
  flex: 1;
}
.utility-window h2 {
  font-size: 22px;
  letter-spacing: -1px;
  line-height: 1.3;
  margin: 0 0 13px;
}
.utility-window p {
  font-size: 13px;
}
.utility-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid #b6c4ac;
  text-decoration: none;
}
.utility-link:hover {
  color: var(--rose-ink);
}
.utility-link > span {
  font-size: 22px;
}
.utility-link b {
  display: block;
  font-size: 13px;
}
.utility-link small {
  color: var(--ink-muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.profile-links {
  margin-top: 22px;
}
.profile-links h3 {
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-muted);
}
.profile-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.desktop-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid #b6c4ac;
  font-size: 10px;
  text-decoration: none;
}
.desktop-profile-link:hover,
.desktop-profile-link:focus-visible {
  background: var(--chrome-light);
  color: var(--rose-ink);
}
.profile-arrow {
  color: var(--ink-muted);
}
.utility-button {
  border: 1px solid var(--chrome-edge);
  background: #c5ccbf;
  color: #2a4029;
  padding: 9px 15px;
  box-shadow: 2px 2px #526344;
  font-size: 10px;
}
.utility-button:hover {
  background: var(--pink);
}
.secret-art {
  font-size: 65px;
  text-align: center;
  color: var(--rose-ink);
  line-height: 1.4;
}
.ticker {
  position: fixed;
  bottom: 44px;
  left: 0;
  right: 0;
  height: 29px;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 0 24px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  font-size: 8px;
  color: var(--dim);
  z-index: 110;
}
.ticker > span:first-child {
  color: var(--pink);
  letter-spacing: 0.1em;
}
.ticker p {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticker > span:last-child {
  font-size: 7px;
  letter-spacing: 0.1em;
}
.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 5px 8px;
  background: var(--silver);
  border-top: 2px solid var(--chrome-light);
  color: var(--ink);
  --focus: var(--rose-ink);
  color-scheme: light;
  z-index: 120;
}
#start {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--chrome-light);
  border-right-color: var(--chrome-edge);
  border-bottom-color: var(--chrome-edge);
  background: #c7ccc3;
  height: 31px;
  padding: 2px 10px 2px 4px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 1px 1px var(--chrome-edge);
}
#start .mini-logo {
  background: var(--raised);
  color: var(--green);
}
#start > span:last-child {
  font-size: 12px;
  padding-left: 11px;
}
#start[aria-expanded='true'] {
  background: #aab5a5;
  box-shadow: inset 1px 1px var(--chrome-edge);
}
.task-divider {
  height: 28px;
  border-left: 1px solid var(--chrome-edge);
  border-right: 1px solid var(--chrome-light);
  margin: 0 2px;
}
#tasks {
  display: flex;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.task {
  width: 166px;
  max-width: 23vw;
  height: 29px;
  text-align: left;
  padding: 4px 10px;
  font-size: 11px;
  background: #b8c0b2;
  color: var(--ink);
  border: 1px solid var(--chrome-light);
  border-right-color: var(--chrome-edge);
  border-bottom-color: var(--chrome-edge);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.task.active {
  background: #cdd3c7;
  border: 1px solid var(--chrome-edge);
  border-right-color: var(--chrome-light);
  border-bottom-color: var(--chrome-light);
  font-weight: 700;
}
.task.minimized {
  color: var(--ink-muted);
}
#show-desktop {
  background: none;
  border: 0;
  font-size: 21px;
  color: #57704d;
  padding: 0 5px;
}
.tray {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #9baa91;
  border-right-color: var(--chrome-light);
  border-bottom-color: var(--chrome-light);
  height: 29px;
  padding: 0 10px;
}
.tray .online {
  color: var(--ink-muted);
  font-size: 8px;
}
.tray .online i {
  background: #508447;
}
.tray time {
  font-size: 10px;
  white-space: nowrap;
}
#start-menu {
  position: fixed;
  bottom: 47px;
  left: 8px;
  display: flex;
  background: var(--silver);
  border: 2px outset var(--chrome-light);
  box-shadow: 5px -4px 0 #0005;
  color: var(--ink);
  --focus: var(--rose-ink);
  color-scheme: light;
  z-index: 130;
  width: 285px;
}
.start-sidebar {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 24px;
  letter-spacing: -1px;
  background: var(--raised);
  color: var(--green);
  padding: 14px 5px;
  line-height: 1.5;
}
.start-items {
  flex: 1;
  padding: 9px 5px;
}
.start-items p {
  font-size: 8px;
  margin: 5px 9px 12px;
  color: var(--ink-muted);
}
.start-items button,
.start-items a {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  border: 0;
  background: transparent;
  color: inherit;
  width: 100%;
  text-align: left;
  padding: 10px;
  font-size: 14px;
}
.start-items button span,
.start-items a span {
  font-size: 10px;
  flex: 1;
}
.start-items kbd {
  font: 10px var(--mono);
  color: var(--ink-muted);
}
.start-items button:hover,
.start-items a:hover {
  background: var(--raised);
  color: var(--text);
}
.start-items button:hover kbd {
  color: var(--text);
}
.start-items hr {
  border: 0;
  border-top: 1px solid #9aaa90;
  margin: 5px;
}
#toast {
  position: fixed;
  bottom: 86px;
  right: 20px;
  max-width: min(360px, calc(100vw - 40px));
  z-index: 200;
  background: var(--pink);
  border: 1px solid var(--rose-ink);
  box-shadow: 4px 4px #0007;
  color: var(--ink);
  padding: 13px 17px;
  font-size: 11px;
}
@media (min-width: 961px) {
  .readme-content .note-signoff {
    display: none;
  }
  .readme-content {
    padding: 12px 18px;
  }
  .note-heading {
    margin: 12px 0;
  }
}
@media (max-height: 760px) and (min-width: 961px) {
  #desktop {
    --window-top: 94px;
    --side-height: 240px;
  }
  .desktop-caption {
    top: 16px;
  }
  .readme-content .file-path {
    display: none;
  }
  .note-heading {
    margin: 4px 0 10px;
  }
  .profile-details {
    margin-top: 6px;
  }
  #shortcuts {
    gap: 5px;
  }
  .shortcut svg {
    width: 27px;
    height: 27px;
  }
  .terminal-body {
    padding: 16px 20px;
  }
  .shell-logo {
    font-size: 52px;
  }
  .release-line {
    margin-bottom: 12px;
  }
}
@media (max-width: 1100px) and (min-width: 961px) {
  #desktop {
    --side-width: 340px;
  }
  .desktop-caption {
    left: 112px;
  }
  .desktop-eyebrow {
    font-size: 8px;
  }
  .desktop-actions button {
    font-size: 10px;
    padding: 9px;
  }
  .terminal-window {
    left: 112px;
    width: calc(100% - var(--side-width) - 162px);
  }
  .quick-commands button span {
    display: none;
  }
}
@media (max-width: 960px), (max-height: 650px) {
  body {
    overflow: auto;
    padding-bottom: 74px;
    height: auto;
  }
  .system-bar {
    padding: 0 16px;
  }
  .system-right .online {
    display: none;
  }
  #desktop {
    height: auto;
    padding: 24px 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }
  .desktop-caption {
    position: static;
    grid-column: 1/-1;
    order: -2;
    flex-wrap: wrap;
  }
  .desktop-caption p {
    font-size: 24px;
  }
  #shortcuts {
    position: static;
    grid-column: 1/-1;
    order: -1;
    flex-direction: row;
    width: auto;
    justify-content: space-between;
    gap: 3px;
  }
  .shortcut {
    flex: 1;
    min-width: 0;
    font-size: 10px;
  }
  .shortcut svg {
    width: 29px;
    height: 29px;
  }
  .window {
    position: relative;
    inset: auto !important;
    width: 100% !important;
    min-width: 0;
    max-height: none;
    transform: none;
    scroll-margin-top: 16px;
  }
  .readme-window,
  .projects-window {
    height: auto;
  }
  .terminal-window {
    grid-column: 1/-1;
    height: 540px;
  }
  .utility-window {
    grid-column: 1/-1;
    max-width: 600px;
    justify-self: center;
  }
  .window.maximized {
    position: fixed;
    left: 10px !important;
    top: 10px !important;
    width: calc(100% - 20px) !important;
    height: calc(100dvh - 94px) !important;
  }
  .window .titlebar {
    cursor: default;
    touch-action: auto;
  }
  .window-controls button {
    width: 32px;
    height: 32px;
  }
  .titlebar {
    height: 42px;
    min-height: 42px;
  }
  .wallpaper {
    position: fixed;
    bottom: 105px;
  }
  .system-right {
    gap: 10px;
  }
  .tray {
    gap: 10px;
  }
  .tray .online {
    display: none;
  }
  .project {
    grid-template-columns: 22px minmax(0, 1fr);
  }
  .project-tag {
    grid-column: 2;
    justify-self: start;
    margin: 0;
  }
  .project-head > span:last-child {
    display: none;
  }
  .system-right button,
  .system-links {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .system-right button {
    gap: 5px;
  }
}
@media (max-width: 580px) {
  .edition {
    display: none;
  }
  .system-brand {
    gap: 7px;
  }
  .system-right button {
    padding-left: 10px;
    font-size: 9px;
  }
  #desktop {
    padding: 24px 12px;
    gap: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .desktop-eyebrow {
    font-size: 8px;
    letter-spacing: 0.06em;
  }
  .desktop-caption {
    gap: 16px;
  }
  .desktop-caption p {
    font-size: clamp(18px, 5.4vw, 24px);
  }
  .desktop-actions {
    width: 100%;
  }
  .desktop-actions button {
    flex: 1;
    min-height: 44px;
  }
  #shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .shortcut {
    flex-direction: row;
    padding: 8px 6px;
    gap: 7px;
    font-size: 9px;
    border-color: var(--line);
    min-height: 46px;
  }
  .shortcut svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    filter: drop-shadow(2px 2px 0 #000);
  }
  .terminal-window {
    height: 540px;
  }
  .terminal-body {
    padding: 18px 15px;
  }
  .shell-logo {
    font-size: 52px;
  }
  .fetch {
    font-size: 11px;
    grid-template-columns: 65px 1fr;
    gap: 3px 8px;
  }
  .release-line {
    font-size: 8px;
    letter-spacing: 0.12em;
  }
  .quick-commands {
    padding: 8px;
    gap: 5px;
  }
  .quick-commands button {
    padding: 6px 8px;
    font-size: 11px;
    flex: 1;
    min-height: 40px;
  }
  .quick-commands button span {
    display: none;
  }
  #command-form {
    font-size: 10px;
    gap: 7px;
    padding: 9px 12px;
  }
  #command {
    font-size: 16px;
  }
  #command::placeholder {
    font-size: 11px;
  }
  .readme-content {
    padding: 20px;
  }
  .readme-content > p {
    font-size: 13px;
  }
  .note-heading h1 {
    font-size: 28px;
  }
  .note-signoff {
    font-size: 10px;
  }
  .projects-window .project {
    padding: 16px 13px;
  }
  .project p {
    font-size: 12px;
  }
  .utility-window #utility-content {
    padding: 20px;
  }
  .ticker {
    padding: 0 12px;
    gap: 10px;
  }
  .ticker > span:last-child {
    display: none;
  }
  .taskbar {
    gap: 4px;
  }
  #start {
    gap: 5px;
    padding-right: 7px;
  }
  #start > span:last-child,
  #show-desktop,
  .task-divider {
    display: none;
  }
  #tasks {
    overflow-x: auto;
    scrollbar-width: none;
    padding: 3px;
  }
  .task {
    font-size: 10px;
    padding: 4px 8px;
    width: auto;
    max-width: none;
    flex-shrink: 0;
  }
  .tray {
    padding: 0 5px;
  }
  .tray time {
    display: none;
  }
  .window-status {
    font-size: 8px;
    padding-block: 5px 3px;
  }
  .terminal-menu {
    font-size: 8px;
    padding: 8px;
  }
}
.logo-note {
  position: relative;
  margin: -5px 0 14px;
  padding-left: 47px;
  color: var(--rose-ink);
  font:
    italic 13px/1.3 'Segoe Print',
    'Comic Sans MS',
    cursive;
}
.logo-note svg {
  position: absolute;
  left: 9px;
  top: -12px;
  width: 36px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.logo-note span {
  display: inline-block;
  transform: rotate(-3deg);
  transform-origin: left center;
}
.logo-note em {
  font-style: inherit;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: 3px;
}
.cowgirl-says {
  width: max-content;
  max-width: 100%;
  white-space: normal;
}
.terminal-line .cowgirl-says pre {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
  white-space: pre;
  overflow-wrap: normal;
  overflow: visible;
  margin: 0;
  font-variant-ligatures: none;
  letter-spacing: 0;
}
.cowgirl-says .speech-bubble {
  font-size: 10px;
  line-height: 1;
  margin: 0 0 6px;
}
.cowgirl-art {
  color: var(--pink);
}
.mascot-caption {
  display: block;
  color: var(--dim);
  font-size: 8px;
  line-height: 1.2;
  margin-top: 6px;
}
.braille-cell {
  display: inline-block;
  width: 0.6em;
  height: 1em;
  line-height: 1;
  vertical-align: top;
  text-align: center;
  letter-spacing: 0;
}
@media (max-width: 580px) {
  .terminal-line .cowgirl-says pre {
    font-size: 8px;
  }
  .mascot-caption {
    font-size: 7px;
    margin-top: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Keep the wallpaper as an image so local-file previews do not depend on external CSS masks. */
.desktop-art {
  position: fixed;
  inset: 65px 0 85px;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0.15;
  transform: translate3d(var(--look-x, 0px), var(--look-y, 0px), 0);
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.desktop-art:before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 28% 42% at 50% 43%,
      color-mix(in srgb, var(--pink) 5%, transparent),
      transparent 85%
    ),
    radial-gradient(
      ellipse 32% 24% at 50% 78%,
      color-mix(in srgb, var(--green) 3%, transparent),
      transparent 85%
    );
}
.desktop-art img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.8) brightness(0.92) contrast(0.96);
  transform-origin: 50% 78%;
  animation: wallpaper-breathe 7.5s ease-in-out infinite;
}
.desktop-art:before {
  animation: wallpaper-light 11s ease-in-out infinite;
}
.desktop-art.is-paused img,
.desktop-art.is-paused:before {
  animation-play-state: paused;
}
@keyframes wallpaper-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  48% {
    transform: translateY(-2px) scale(1.009, 1.006);
  }
}
@keyframes wallpaper-light {
  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-5px);
  }
  50% {
    opacity: 1;
    transform: translateX(5px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .desktop-art,
  .desktop-art img,
  .desktop-art:before {
    transform: none !important;
  }
}
