/* The desktop palette and the two sides of every old-fashioned bevel. */
:root {
  --ink: #161616;
  --muted: #666666;
  --paper: #f4f4f4;
  --chrome: #c0c0c0;
  --title: #17352c;
  --desktop: #12302a;
  --amber: #bcbcbc;
  --line: #a0a0a0;
  --light: #ffffff;
  --shadow: #808080;
  --font: Tahoma, Verdana, sans-serif;
  --mono: "Courier New", monospace;
  font-family: var(--font);
  color: var(--ink);
  font-size: 13px;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #bdbdbd;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid #bd7639;
  outline-offset: 3px;
}
button:focus:not(:focus-visible) {
  outline: none;
}
[hidden] {
  display: none !important;
}
button svg,
a svg {
  pointer-events: none;
}
::selection {
  background: #d6c27f;
  color: #233d47;
}
.icon-sprites {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.pixel-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  shape-rendering: crispEdges;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 10000;
  background: var(--paper);
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}

/* The monitor frame contains only hardware details. */
.computer-case {
  height: 100dvh;
  min-height: 520px;
  padding: 18px 18px 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #ececec;
  border-radius: 7px;
  box-shadow:
    inset 0 0 0 2px #949494,
    inset 0 -5px 12px #8c8c8c;
}
.power-indicator {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 9px var(--mono);
  letter-spacing: 1.5px;
}
.power-indicator > span {
  width: 6px;
  height: 6px;
  background: #7a9859;
  border-radius: 50%;
  box-shadow: 0 0 5px #7a98594d;
}
.screen {
  min-height: 0;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 3px solid #777777;
  border-right-color: #dedede;
  border-bottom-color: #ededed;
  outline: 1px solid #909090;
  background: var(--desktop);
  position: relative;
}
.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 0;
  background: repeating-linear-gradient(
    0deg,
    #172c3310 0px,
    #172c3310 1px,
    transparent 1px,
    transparent 3px
  );
}
body.screen-texture .screen::after {
  opacity: 1;
}
.case-footer {
  height: 43px;
  flex: 0 0 43px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
  font: 9px var(--mono);
  color: #70766c;
}
.case-footer > span:first-child {
  font-family: var(--font);
  font-size: 10px;
}
.case-footer b {
  padding-left: 8px;
  font-weight: normal;
  color: #47584b;
}

/* The wallpaper is CSS artwork: three soft, stepped hills and a pale sun. */
.desktop-workspace {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}
.wallpaper-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--desktop);
  background-image: none;
  background-size: 5px 5px;
  pointer-events: none;
}
.wallpaper-sun {
  position: absolute;
  right: 13%;
  top: 32%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #e2ce96;
  opacity: 0.8;
}
.hill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  clip-path: polygon(
    0 72%,
    7% 72%,
    7% 60%,
    17% 60%,
    17% 48%,
    27% 48%,
    27% 34%,
    38% 34%,
    38% 24%,
    49% 24%,
    49% 17%,
    60% 17%,
    60% 12%,
    73% 12%,
    73% 22%,
    84% 22%,
    84% 34%,
    94% 34%,
    94% 44%,
    100% 44%,
    100% 100%,
    0 100%
  );
}
.hill-back {
  background: #86a59a;
  height: 45%;
  transform: scaleX(-1);
  opacity: 0.62;
}
.hill-middle {
  background: #49726d;
  height: 31%;
  clip-path: polygon(
    0 22%,
    12% 22%,
    12% 33%,
    24% 33%,
    24% 50%,
    37% 50%,
    37% 60%,
    50% 60%,
    50% 50%,
    62% 50%,
    62% 40%,
    73% 40%,
    73% 25%,
    86% 25%,
    86% 12%,
    100% 12%,
    100% 100%,
    0 100%
  );
}
.hill-front {
  background: #315b58;
  height: 18%;
  opacity: 0.6;
}
.wallpaper-cloud {
  position: absolute;
  width: 80px;
  height: 8px;
  background: #bdd2be;
  opacity: 0.27;
  box-shadow:
    14px -8px 0 -1px #bdd2be,
    32px -16px 0 -2px #bdd2be;
}
.cloud-one {
  right: 25%;
  top: 24%;
}
.cloud-two {
  right: 3%;
  top: 18%;
  transform: scale(0.65);
}
body[data-wallpaper="dusk"] {
  --desktop: #69657d;
}
body[data-wallpaper="dusk"] .hill-back {
  background: #a38c9b;
}
body[data-wallpaper="dusk"] .hill-middle {
  background: #595c72;
}
body[data-wallpaper="dusk"] .hill-front {
  background: #45465f;
}
body[data-wallpaper="dusk"] .wallpaper-sun {
  background: #e8ba99;
}
body[data-wallpaper="classic"] {
  --desktop: #12302a;
}

/* Familiar desktop shortcuts stay reachable behind the movable windows. */
.desktop-shortcuts {
  position: absolute;
  z-index: 1;
  left: 18px;
  top: 24px;
  bottom: 25px;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(7, 78px);
  grid-auto-columns: 86px;
  align-content: start;
  gap: 7px 10px;
}
.desktop-shortcut {
  background: transparent;
  border: 1px solid transparent;
  width: 86px;
  height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  border-radius: 2px;
}
.desktop-shortcut .pixel-icon {
  width: 38px;
  height: 38px;
  filter: drop-shadow(2px 3px 0 #183b4433);
}
.desktop-shortcut > span {
  font-size: 11px;
  text-shadow: 1px 1px #003c3c;
  padding: 2px 4px;
  white-space: nowrap;
}
.desktop-shortcut:hover {
  background: #e8e8d719;
  border-color: #cedacb40;
}
.desktop-shortcut:focus-visible {
  outline: 1px dotted #f1edd6;
  outline-offset: 0;
  background: #233e5355;
}

/* Windows use one shared frame, independent of each app's content. */
.window-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.app-window {
  pointer-events: auto;
  position: absolute;
  min-width: 320px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: 3px;
  background: var(--chrome);
  border: 1px solid #222222;
  box-shadow:
    inset 1px 1px var(--light),
    inset -1px -1px var(--shadow),
    6px 7px 0 #253f452e;
  animation: window-appear 130ms ease-out;
}
.window-titlebar {
  flex: 0 0 29px;
  min-width: 0;
  height: 29px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #808080;
  color: #ffffff;
  padding: 3px 4px 3px 6px;
  touch-action: none;
  cursor: grab;
  user-select: none;
}
.app-window.is-active .window-titlebar {
  background: var(--title);
}
.window-titlebar:active {
  cursor: grabbing;
}
.window-title-icon {
  display: flex;
  align-items: center;
}
.window-title-icon .pixel-icon {
  width: 19px;
  height: 19px;
}
.window-title {
  font-size: 11px;
  font-weight: bold;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.window-controls {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}
.window-controls button {
  width: 22px;
  height: 21px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #111111;
  background: var(--chrome);
  border: 1px solid #222222;
  box-shadow:
    inset 1px 1px #ffffff,
    inset -1px -1px #808080;
  font: bold 18px/1 var(--mono);
}
.window-controls button:active {
  box-shadow: inset 1px 1px #808080;
  transform: translateY(1px);
}
.window-controls button:first-child span {
  transform: translateY(-4px);
}
.maximize-symbol {
  width: 10px;
  height: 9px;
  border: 1px solid #111111;
  border-top-width: 3px;
}
.window-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  overflow: auto;
}
.window-body > :not(.window-status) {
  flex-shrink: 0;
}
.window-status {
  margin-top: auto;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px 5px;
  font-size: 9px;
  color: #333333;
  background: #c0c0c0;
  border-top: 1px solid #808080;
}
.window-status > span:last-child {
  text-align: right;
}
.resize-handle {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 13px;
  height: 13px;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 2px,
    #8d9987 2px 3px,
    #f8f8e9 3px 4px
  );
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  border: 0;
  cursor: nwse-resize;
  touch-action: none;
}
.app-window.is-maximized {
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  box-shadow: none;
}
.is-maximized .resize-handle {
  display: none;
}
.window-menu,
.app-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-bottom: 1px solid #999999;
  background: #c0c0c0;
}
.window-menu button {
  padding: 4px 8px;
  background: none;
  border: 0;
  font-size: 11px;
}
.window-menu button:hover {
  background: #d9d9d9;
}
.window-path {
  margin-left: auto;
  color: #858c7e;
  font: 8px var(--mono);
}
.app-toolbar {
  justify-content: space-between;
  padding: 10px 12px;
  font: 9px var(--mono);
  color: #444444;
}
.app-toolbar > span:last-child {
  font-size: 8px;
}
.app-padding {
  padding: 26px;
}
.eyebrow {
  font: 9px var(--mono);
  letter-spacing: 1.2px;
  color: #666666;
}
.retro-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: var(--ink);
  text-decoration: none;
  background: #c0c0c0;
  border: 1px solid #808080;
  box-shadow:
    inset 1px 1px #ffffff,
    inset -1px -1px #808080,
    1px 1px #000000;
  font-size: 11px;
}
.retro-button:hover {
  background: #d6d6d6;
}
.retro-button:active {
  box-shadow: inset 1px 1px #84927d;
  transform: translate(1px, 1px);
}
.retro-button .pixel-icon {
  width: 22px;
  height: 22px;
}
.primary-button {
  background: #e5be7d;
  border-color: #7e714d;
  box-shadow:
    inset 1px 1px #fff1c1,
    inset -1px -1px #bc9c5e,
    2px 2px #2c444244;
}
.primary-button:hover {
  background: #f1cd8e;
}
.text-button {
  background: none;
  border: 0;
  text-decoration: none;
  font-size: 11px;
  padding: 8px 0;
}
.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.small-button {
  padding: 5px 8px;
  font-size: 10px;
}

/* My Computer is a directory launcher, using the same icons as the desktop. */
.welcome-content {
  padding: 28px 31px 0;
}
.welcome-main {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 13px;
  margin-top: 3px;
}
.welcome-copy h1 {
  font: bold 40px/1.08 var(--font);
  letter-spacing: -1.7px;
  color: #18382d;
  margin: 0 0 17px;
}
.welcome-copy h1 > span {
  color: #ba9860;
}
.welcome-copy p {
  font-size: 11px;
  line-height: 1.8;
  margin: 0;
  color: #555555;
}
.welcome-illustration {
  align-self: start;
  position: relative;
  height: 167px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-computer {
  width: 123px;
  height: 123px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(4px 5px 0 #00000022);
}
.availability-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #91a56f;
  box-shadow: 0 0 0 3px #91a56f15;
}

/* App content stays readable even when the window becomes narrow. */
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 21px;
}
.section-heading h2 {
  margin: 9px 0 0;
  font: bold 22px/1.3 var(--mono);
  letter-spacing: -0.9px;
}
.section-heading p {
  font-size: 11px;
  color: var(--muted);
  margin: 10px 0 0;
  line-height: 1.6;
}
.count-badge {
  white-space: nowrap;
  font: 9px var(--mono);
  padding: 6px 8px;
  background: #e5e5e5;
  border: 1px solid #bbbbbb;
  color: #555555;
}
.prose {
  font-size: 12px;
  line-height: 1.9;
  color: #444444;
  overflow-wrap: anywhere;
}
.prose p {
  margin: 0 0 16px;
}
.profile-heading {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 4px 0 26px;
}
.profile-picture {
  width: 78px;
  height: 87px;
  flex: 0 0 78px;
  background: #dddddd;
  border: 1px solid #999999;
  display: grid;
  place-items: center;
}
.profile-picture .pixel-icon {
  width: 62px;
  height: 62px;
}
.profile-heading h2 {
  font: bold 23px/1.2 var(--mono);
  letter-spacing: -1px;
  margin: 10px 0 8px;
}
.profile-heading p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.currently-box {
  display: flex;
  gap: 13px;
  padding: 16px;
  background: #e1e1e1;
  border: 1px solid #bbbbbb;
  margin: 23px 0 20px;
}
.currently-box > .availability-dot {
  margin-top: 5px;
}
.currently-box p {
  font-size: 11px;
  margin: 8px 0 0;
  line-height: 1.7;
}
.about-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font: 10px var(--mono);
  color: #74836e;
}
.explorer-address {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #c0c0c0;
  border-bottom: 1px solid #aaaaaa;
  font-size: 10px;
  color: #555555;
}
.explorer-address > div {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 4px 8px;
  background: #ffffff;
  flex: 1;
  border: 1px solid #999999;
  box-shadow: inset 1px 1px #dddddd;
  font: 10px var(--mono);
}
.explorer-address .pixel-icon {
  width: 18px;
  height: 18px;
}
.projects-content {
  padding-top: 22px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #b9c4ae;
  background: #ffffff;
  margin-bottom: 18px;
  padding: 6px 10px;
}
.search-field > span {
  font: 24px var(--mono);
  color: #83917c;
}
.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  padding: 3px;
}
.search-field kbd {
  font: 10px var(--mono);
  border: 1px solid #d5dacb;
  padding: 2px 5px;
  color: #a1a895;
}
.project-item {
  border-bottom: 1px solid #d7dccf;
}
.project-item summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  list-style: none;
}
.project-item summary::-webkit-details-marker {
  display: none;
}
.project-item summary:hover .project-info strong {
  color: #a2763c;
}
.project-art {
  width: 58px;
  height: 64px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  background: #dee6d7;
  border: 1px solid #c1ceb8;
}
.project-art-amber {
  background: #efe5cc;
  border-color: #dacda9;
}
.project-info {
  min-width: 0;
  flex: 1;
}
.project-info > span,
.project-info > strong {
  display: block;
}
.project-category {
  text-transform: uppercase;
  color: #8c967e;
  font: 8px var(--mono);
  letter-spacing: 0.6px;
}
.project-info strong {
  margin: 6px 0;
  font-size: 12px;
  font-weight: normal;
}
.project-info > span:last-child {
  font-size: 10px;
  line-height: 1.6;
  color: #838d7b;
}
.project-status {
  font: 8px var(--mono);
  color: #6f8266;
  border: 1px solid #c5d2b8;
  background: #e6eddb;
  padding: 4px 6px;
  white-space: nowrap;
}
.status-experiment {
  color: #8f7c58;
  background: #efe9d7;
  border-color: #daceb1;
}
.status-building {
  color: #6e7a8b;
  background: #e3e8ed;
  border-color: #bdc7d0;
}
.project-chevron {
  color: #8c9a80;
  font-size: 17px;
}
.project-detail {
  padding: 3px 10px 18px 73px;
}
.project-links {
  display: flex;
  gap: 15px;
  align-items: center;
}
.empty-state {
  padding: 28px 10px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
}

/* A notebook with public pages and a separate browser-local scratchpad. */
.notebook-tabs {
  display: flex;
  align-items: end;
  gap: 5px;
  padding: 10px 12px 0;
  background: #c0c0c0;
  border-bottom: 1px solid #bfc8b5;
}
.notebook-tabs button {
  padding: 9px 12px;
  font-size: 10px;
  background: #b9b9b9;
  border: 1px solid #bfc8b5;
  border-bottom: 0;
}
.notebook-tabs button[aria-selected="true"] {
  background: #ffffff;
  box-shadow: 0 1px #ffffff;
}
.notebook-panel,
.scratchpad-panel {
  flex: 1 !important;
  min-height: 230px;
}
.notes-layout {
  display: grid;
  grid-template-columns: 175px 1fr;
  min-height: 100%;
}
.note-list {
  background: #e8e8e8;
  padding: 9px;
  border-right: 1px solid #bbbbbb;
}
.note-list button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  padding: 12px 9px;
  margin-bottom: 5px;
  line-height: 1.5;
}
.note-list button.selected {
  background: #cbd3e5;
  border-color: #8c9dbe;
}
.note-list button > span {
  display: block;
  font-size: 11px;
}
.note-list button > small {
  display: block;
  font: 8px var(--mono);
  margin-top: 7px;
  color: #666666;
}
.note-pages {
  min-width: 0;
  background: #ffffff;
}
.note-page {
  padding: 28px 24px;
}
.note-page h2 {
  font: bold 24px/1.3 var(--mono);
  letter-spacing: -0.7px;
  margin: 16px 0 20px;
}
.note-page .prose {
  font-size: 12px;
}
.note-permalink {
  font-size: 9px;
  color: #444488;
  text-underline-offset: 3px;
}
.scratchpad-panel {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}
.scratchpad-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #e0e3d4;
  font-size: 9px;
  color: #889079;
}
#scratchpad {
  width: 100%;
  flex: 1;
  min-height: 255px;
  resize: none;
  border: none;
  background: repeating-linear-gradient(
    transparent 0px,
    transparent 27px,
    #e8e9dc 27px,
    #e8e9dc 28px
  );
  font: 13px/28px var(--mono);
  color: #506456;
  padding: 14px 22px;
  outline-offset: -4px;
}
.scratchpad-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  font: 9px var(--mono);
  color: #444488;
}
.bookmark {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  text-decoration: none;
  border-bottom: 1px solid #d9dece;
}
.bookmark:hover {
  background: #e9ecdf;
}
.bookmark-icon {
  width: 39px;
  flex: 0 0 39px;
}
.bookmark-icon .pixel-icon {
  width: 28px;
  height: 28px;
}
.bookmark > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.bookmark strong {
  display: block;
  font-weight: normal;
  font-size: 12px;
}
.bookmark small {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.6;
  color: #666666;
}
.bookmark-category {
  font: 8px var(--mono);
  color: #95a187;
}
.bookmark > span:last-child {
  color: #555555;
}

/* Quiet radio uses Web Audio; no media or third-party embeds are needed. */
.radio-content {
  padding: 22px;
  background: #e3e3d4;
}
.radio-label {
  display: flex;
  justify-content: space-between;
  font: bold 10px var(--mono);
  letter-spacing: 1px;
  color: #6a7767;
  margin-bottom: 15px;
}
.radio-label > span:last-child {
  font-size: 8px;
  font-weight: normal;
}
.radio-display {
  padding: 23px 16px 19px;
  background: #314c45;
  border: 2px solid #7a8870;
  border-top-color: #293f37;
  border-left-color: #293f37;
  color: #d0dcb0;
  text-align: center;
}
.radio-equalizer {
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 4px;
  margin-bottom: 22px;
}
.radio-equalizer i {
  background: #b3c58e;
  width: 5px;
  height: 6px;
}
.radio-equalizer i:nth-child(3n) {
  --bar-height: 30px;
}
.radio-equalizer i:nth-child(3n + 1) {
  --bar-height: 16px;
  animation-delay: -0.4s !important;
}
.radio-equalizer i:nth-child(3n + 2) {
  --bar-height: 40px;
  animation-delay: -0.7s !important;
}
.is-playing .radio-equalizer i {
  animation: equalize 1.15s ease-in-out infinite alternate;
}
.radio-station-title {
  display: block;
  font: bold 16px var(--mono);
}
.radio-status {
  display: block;
  margin-top: 10px;
  font: 9px var(--mono);
  opacity: 0.6;
}
.radio-presets {
  display: flex;
  gap: 6px;
  margin: 16px 0 21px;
}
.radio-presets button {
  flex: 1;
  padding: 8px 4px;
  border: 1px solid #888888;
  background: #edeede;
  box-shadow: inset 1px 1px #fffef3;
  font: 9px var(--mono);
}
.radio-presets button[aria-pressed="true"] {
  background: #c5cfb6;
  box-shadow: inset 1px 1px #889979;
}
.radio-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}
.radio-play {
  width: 48px;
  height: 39px;
  background: #d6b77a;
  font-size: 17px;
}
.volume-control {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 8px var(--mono);
  color: #7b866c;
}
.volume-control input {
  width: 100%;
  accent-color: #6f835f;
  cursor: pointer;
}
.radio-speaker {
  font-size: 30px;
  color: #a2aa93;
}
.radio-footnote {
  margin: 20px 0 0;
  text-align: center;
  font: 9px/1.8 var(--mono);
  color: #90977d;
}

/* Preferences are immediate and stored locally. */
.wallpaper-options {
  padding: 0;
  border: 0;
  margin: 26px 0 18px;
}
.wallpaper-options legend {
  padding: 0;
  font-size: 11px;
  margin-bottom: 13px;
}
.wallpaper-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.wallpaper-choices label {
  text-align: center;
  cursor: pointer;
  position: relative;
  font-size: 10px;
  color: #555555;
}
.wallpaper-choices input {
  position: absolute;
  top: 7px;
  left: 7px;
  accent-color: #d3b378;
  z-index: 1;
}
.wallpaper-swatch {
  display: block;
  height: 70px;
  border: 3px solid transparent;
  outline: 1px solid #bec7b1;
  background-color: #008080;
  background-image: linear-gradient(
    160deg,
    transparent 50%,
    #79988a 50%,
    #79988a 65%,
    #416a63 65%
  );
  background-clip: padding-box;
  margin-bottom: 10px;
}
.wallpaper-choices input:checked + .wallpaper-swatch {
  border-color: #d4b674;
  outline-color: #9c8757;
}
.swatch-dusk {
  background-color: #69657d;
  background-image: linear-gradient(
    160deg,
    transparent 50%,
    #a38c9b 50%,
    #a38c9b 65%,
    #45465f 65%
  );
}
.swatch-classic {
  background: #008080;
}
.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid #cccccc;
}
.setting-row strong {
  display: block;
  font-size: 11px;
  font-weight: normal;
}
.setting-row small {
  display: block;
  font-size: 9px;
  margin-top: 6px;
  color: #666666;
}
.switch {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 20px;
}
.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.switch > span {
  display: block;
  height: 20px;
  pointer-events: none;
  background: #bbbbbb;
  border: 1px solid #888888;
  padding: 2px;
}
.switch > span::after {
  content: "";
  display: block;
  height: 14px;
  width: 14px;
  background: #eeeeee;
  border: 1px solid #777777;
  box-shadow: inset 1px 1px white;
}
.switch input:checked + span {
  background: #586db2;
}
.switch input:checked + span::after {
  transform: translateX(13px);
}
.switch input:focus-visible + span {
  outline: 2px solid #bd7639;
  outline-offset: 3px;
}
.settings-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 15px;
}
.settings-note .pixel-icon {
  width: 25px;
  height: 25px;
}
.settings-note p {
  font-size: 9px;
  line-height: 1.8;
  color: #666666;
}

/* The taskbar always stays above apps; the Start menu never covers its button. */
.taskbar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 42px;
  height: 42px;
  padding: 5px;
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  position: relative;
  z-index: 1000;
  box-shadow: 0 -1px #808080;
}
.start-button {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 1px 12px 1px 7px;
  background: #e1e1e1;
  border: 1px solid #808080;
  box-shadow:
    inset 1px 1px #ffffff,
    inset -1px -1px #808080,
    1px 1px #000000;
  font-size: 12px;
}
.start-button[aria-expanded="true"] {
  box-shadow: inset 1px 1px #808080;
  background: #aaaaaa;
}
.taskbar-divider {
  height: 24px;
  border-left: 1px solid #808080;
  border-right: 1px solid #ffffff;
  margin: 0 2px;
}
.show-desktop {
  padding: 2px 4px;
  background: transparent;
  border: 1px solid transparent;
  display: grid;
  place-items: center;
}
.show-desktop:hover {
  border-color: #808080;
}
.show-desktop .pixel-icon {
  height: 22px;
  width: 22px;
}
.taskbar-apps {
  display: flex;
  gap: 5px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 1px;
}
.taskbar-app {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  height: 29px;
  min-width: 55px;
  width: 146px;
  flex: 0 1 146px;
  border: 1px solid #808080;
  background: #c0c0c0;
  box-shadow: inset 1px 1px #ffffff;
  text-align: left;
}
.taskbar-app .pixel-icon {
  width: 19px;
  height: 19px;
}
.taskbar-app > span {
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.taskbar-app[aria-pressed="true"] {
  background: #dfdfdf;
  box-shadow: inset 1px 1px #808080;
  font-weight: bold;
}
.system-tray {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 10px 2px 4px;
  height: 29px;
  border: 1px solid #808080;
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
  flex-shrink: 0;
}
.system-tray button {
  border: 0;
  background: none;
  font-size: 16px;
  color: #7f8e6f;
  padding: 1px 3px;
}
.system-tray time {
  font: 10px var(--mono);
  color: #111111;
  white-space: nowrap;
}
.tray-light {
  width: 5px;
  height: 5px;
  background: #8ca273;
  border-radius: 50%;
}
.start-menu {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 298px;
  z-index: 9999;
  display: flex;
  padding: 3px;
  border: 1px solid #45604c;
  box-shadow:
    inset 1px 1px #fffdea,
    inset -1px -1px #6c8569,
    4px -3px #203e4520;
  background: #c0c0c0;
}
.start-menu-brand {
  width: 32px;
  background: #17352c;
  color: #b5c5aa;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 16px 5px;
  font: bold 19px var(--mono);
  letter-spacing: -1px;
}
.start-menu-brand > span {
  color: #e9eccc;
}
.start-menu-content {
  flex: 1;
  padding: 6px;
}
.start-menu-content header {
  padding: 12px 10px 17px;
}
.start-menu-content header strong {
  display: block;
  font-size: 11px;
}
.start-menu-content header span {
  display: block;
  font-size: 9px;
  color: #809174;
  margin-top: 8px;
}
.start-menu-content > button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 11px;
}
.start-menu-content > button:hover,
.start-menu-content > button:focus-visible {
  background: #d0d0d0;
}
.start-menu-content .pixel-icon {
  width: 26px;
  height: 26px;
}
.menu-arrow {
  margin-left: auto;
  color: #8c9e7f;
  font-size: 17px;
}
.menu-divider {
  border-top: 1px solid #bdcbb2;
  box-shadow: 0 1px #fffdf0;
  margin: 6px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 104px;
  transform: translateX(-50%);
  z-index: 10000;
  max-width: min(480px, 90vw);
  width: max-content;
  padding: 12px 20px;
  font-size: 11px;
  line-height: 1.8;
  color: #f1f1dc;
  background: #294c48;
  border: 1px solid #aab89b;
  box-shadow: 3px 3px #253f4533;
}
.standalone-note {
  min-height: 100dvh;
  background: var(--desktop);
  padding: 8vh 20px;
}
.standalone-window {
  width: min(650px, 100%);
  margin: auto;
  padding: 3px;
  border: 1px solid #253e42;
  background: var(--paper);
  box-shadow:
    inset 1px 1px white,
    6px 6px #29444450;
}
.standalone-window .window-titlebar {
  cursor: default;
  background: var(--title);
  justify-content: space-between;
}
.standalone-window h1 {
  margin: 0;
  font-size: 12px;
}
.standalone-window .window-titlebar a {
  color: var(--ink);
  background: var(--chrome);
  padding: 0 6px;
  text-decoration: none;
  font-size: 20px;
}
.standalone-window .note-page {
  padding: 35px;
}
.no-script {
  position: fixed;
  inset: 70px 30px;
  z-index: 10000;
  background: var(--paper);
  padding: 30px;
  overflow: auto;
}
@keyframes window-appear {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes equalize {
  from {
    height: 5px;
  }
  to {
    height: var(--bar-height, 23px);
  }
}
body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Smaller desktops keep the same metaphor; phones get one full-screen app. */
@media (max-height: 780px) and (min-width: 701px) {
  .desktop-shortcuts {
    grid-template-rows: repeat(6, 71px);
    gap: 3px;
    top: 16px;
  }
  .desktop-shortcut {
    height: 71px;
  }
}
@media (max-width: 1100px) {
}
@media (max-width: 700px) {
  :root {
    font-size: 14px;
  }
  .computer-case {
    padding: 7px 7px 0;
    border-radius: 7px;
    min-height: 400px;
  }
  .power-indicator {
    font-size: 8px;
  }
  .case-footer {
    height: 29px;
    flex-basis: 29px;
    font-size: 7px;
  }
  .case-footer > span:first-child {
    font-size: 8px;
  }
  .screen {
    border-width: 2px;
  }
  .desktop-shortcuts {
    top: 23px;
    left: 13px;
    right: 13px;
    bottom: auto;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 18px 10px;
  }
  .desktop-shortcut {
    width: 100%;
    height: 83px;
    gap: 8px;
  }
  .desktop-shortcut .pixel-icon {
    width: 40px;
    height: 40px;
  }
  .desktop-shortcut > span {
    font-size: 11px;
  }
  .wallpaper-sun {
    right: 15%;
    top: 49%;
    width: 80px;
    height: 80px;
  }
  .app-window:not([data-freeform]) {
    min-width: 0;
    min-height: 0;
    padding: 2px;
    animation: none;
  }
  .window-titlebar {
    flex-basis: 38px;
    height: 38px;
    cursor: grab;
    padding: 3px 5px;
  }
  .window-title {
    font-size: 11px;
  }
  .window-title-icon .pixel-icon {
    width: 21px;
    height: 21px;
  }
  .window-controls {
    gap: 5px;
  }
  .window-controls button {
    width: 31px;
    height: 30px;
    font-size: 21px;
  }
  .resize-handle {
    width: 24px;
    height: 24px;
  }
  .window-status {
    font-size: 8px;
    padding: 8px;
    gap: 5px;
  }
  .window-menu {
    padding: 6px;
  }
  .window-menu button {
    padding: 8px 10px;
    font-size: 12px;
  }
  .window-path {
    font-size: 7px;
    padding-right: 3px;
  }
  .welcome-content {
    padding: 25px 23px 0;
  }
  .welcome-main {
    display: flex;
    flex-direction: column-reverse;
    gap: 22px;
    margin-top: 25px;
  }
  .welcome-illustration {
    height: 110px;
    width: 120px;
    align-self: center;
  }
  .hero-computer {
    width: 100px;
    height: 100px;
  }
  .welcome-copy h1 {
    font-size: clamp(33px, 10vw, 42px);
    letter-spacing: -2px;
    margin-bottom: 15px;
  }
  .welcome-copy p {
    font-size: 11px;
  }
  .desktop-only {
    display: none;
  }
  .app-padding {
    padding: 23px 19px;
  }
  .section-heading h2 {
    font-size: 22px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
  }
  .count-badge {
    font-size: 8px;
  }
  .app-toolbar {
    padding: 10px;
    font-size: 8px;
  }
  .app-toolbar > span:last-child {
    font-size: 6px;
  }
  .profile-heading {
    gap: 15px;
  }
  .profile-picture {
    width: 61px;
    flex-basis: 61px;
    height: 72px;
  }
  .profile-picture .pixel-icon {
    width: 50px;
    height: 50px;
  }
  .profile-heading h2 {
    font-size: 21px;
  }
  .profile-heading .eyebrow {
    font-size: 7px;
  }
  .prose {
    font-size: 13px;
  }
  .project-item summary {
    gap: 11px;
    flex-wrap: wrap;
  }
  .project-art {
    width: 43px;
    height: 50px;
    flex-basis: 43px;
  }
  .project-info {
    flex-basis: 65%;
  }
  .project-info strong {
    font-size: 12px;
  }
  .project-info > span:last-child {
    font-size: 10px;
  }
  .project-status {
    margin-left: 54px;
  }
  .project-chevron {
    margin-left: auto;
  }
  .project-detail {
    padding-left: 0;
  }
  .notes-layout {
    grid-template-columns: 1fr;
  }
  .note-list {
    display: flex;
    overflow-x: auto;
    padding: 8px;
    border-right: 0;
    border-bottom: 1px solid #bbbbbb;
  }
  .note-list button {
    flex: 0 0 165px;
    margin: 0 4px 0 0;
    padding: 10px;
  }
  .note-page {
    padding: 24px 20px;
  }
  .note-page h2 {
    font-size: 24px;
  }
  .note-page .prose {
    font-size: 13px;
  }
  .notebook-tabs button {
    padding: 13px 10px;
    font-size: 11px;
  }
  .scratchpad-toolbar {
    padding: 12px 10px;
    line-height: 1.6;
  }
  .scratchpad-toolbar > span {
    max-width: 50%;
  }
  #scratchpad {
    font-size: 14px;
    min-height: 320px;
  }
  .bookmark-category {
    display: none;
  }
  .bookmark strong {
    font-size: 13px;
  }
  .bookmark small {
    font-size: 11px;
  }
  .bookmark {
    padding: 19px 0;
  }
  .wallpaper-choices {
    gap: 9px;
  }
  .wallpaper-swatch {
    height: 65px;
  }
  .setting-row {
    padding: 21px 0;
  }
  .setting-row strong {
    font-size: 12px;
  }
  .settings-note p {
    font-size: 10px;
  }
  .settings-content .retro-button {
    margin-top: 7px;
  }
  .radio-content {
    padding: 24px 20px;
  }
  .radio-display {
    padding: 28px 16px;
  }
  .radio-presets {
    gap: 7px;
    margin: 21px 0 25px;
  }
  .radio-presets button {
    padding: 13px 3px;
    font-size: 10px;
  }
  .radio-play {
    height: 47px;
  }
  .radio-footnote {
    margin: 25px 0 10px;
    font-size: 10px;
  }
  .taskbar {
    flex-basis: 46px;
    height: 46px;
    gap: 5px;
    padding: 5px;
  }
  .start-button {
    height: 33px;
    padding: 0 9px 0 5px;
    gap: 5px;
    font-size: 11px;
  }
  .show-desktop {
    display: none;
  }
  .taskbar-divider {
    margin: 0;
  }
  .taskbar-app {
    flex: 0 0 34px;
    width: 34px;
    min-width: 34px;
    height: 32px;
    padding: 5px;
    justify-content: center;
  }
  .taskbar-app > span {
    display: none;
  }
  .system-tray {
    height: 32px;
    padding: 2px 6px;
    gap: 5px;
  }
  .system-tray time {
    font-size: 9px;
  }
  .tray-light {
    display: none;
  }
  .system-tray button {
    font-size: 15px;
  }
  .start-menu {
    max-width: 100%;
  }
  .start-menu-content > button {
    padding: 9px 8px;
  }
  .toast {
    bottom: 88px;
    padding: 10px 15px;
    font-size: 10px;
  }
  .standalone-window .note-page {
    padding: 25px;
  }
}
@media (max-height: 650px) and (max-width: 700px) {
  .desktop-shortcuts {
    top: 16px;
    gap: 5px 10px;
  }
  .desktop-shortcut {
    height: 72px;
  }
  .desktop-shortcut .pixel-icon {
    width: 32px;
    height: 32px;
  }
  .welcome-illustration {
    display: none;
  }
  .welcome-main {
    margin-top: 22px;
    gap: 0;
  }
  .start-menu {
    max-height: 100%;
    overflow: auto;
  }
}

/* Directory shortcuts and monitor hardware details. */
.welcome-copy h1 {
  margin-top: 12px;
}
.welcome-content {
  padding: 23px 30px;
}
.welcome-illustration {
  height: 145px;
}
.home-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 23px;
  margin-top: 24px;
  border-top: 1px solid #bcbcbc;
}
.home-shortcuts button {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  padding: 12px 5px;
  border: 1px solid transparent;
  background: none;
  font-size: 11px;
}
.home-shortcuts button:hover {
  border: 1px dotted #000080;
  background: #dce2ee;
}
.home-shortcuts .pixel-icon {
  width: 36px;
  height: 36px;
}
.start-button > .pixel-icon {
  height: 23px;
  width: 23px;
}
.case-vents {
  width: 100px;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    #808080 0 2px,
    transparent 2px 6px
  );
  opacity: 0.65;
}
.case-footer > span:first-child {
  font: bold 10px var(--mono);
  letter-spacing: 1px;
}
@media (max-width: 700px) {
  .welcome-main {
    flex-direction: row;
    gap: 10px;
    margin-top: 14px;
  }
  .welcome-illustration {
    width: 77px;
    height: 100px;
    flex: 0 0 77px;
  }
  .hero-computer {
    width: 75px;
    height: 75px;
  }
  .welcome-copy h1 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .welcome-content {
    padding: 20px 17px;
  }
  .welcome-copy p {
    font-size: 11px;
    line-height: 1.7;
  }
  .home-shortcuts {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 26px;
  }
  .home-shortcuts button {
    padding: 17px 5px;
  }
  .case-footer > span:first-child {
    font-size: 8px;
    letter-spacing: 0;
  }
  .case-vents {
    width: 60px;
    height: 7px;
  }
}

/* lucky75 session identity: early Unix workstation chrome and phosphor accents. */
.computer-case {
  background: #a4a7a5;
  border-color: #d4d7d5;
}
.case-footer {
  color: #344b43;
}
.case-footer > span:first-child {
  font-size: 12px;
  letter-spacing: 3px;
}
body[data-wallpaper="classic"] {
  --desktop: #12302a;
}
body[data-wallpaper="classic"] .wallpaper-art {
  background: #000 url("../images/sexydemon.25747994d91b.jpg") no-repeat 85% center / auto
    100%;
}
body[data-wallpaper="classic"] .wallpaper-art > * {
  display: none;
}
.swatch-classic {
  background: #000 url("../images/sexydemon.25747994d91b.jpg") no-repeat center / contain;
}
@media (max-width: 700px) {
  body[data-wallpaper="classic"] .wallpaper-art {
    background-position: center;
    background-size: contain;
  }
}

.welcome-copy h1 {
  font: bold 48px/1.1 var(--mono);
  letter-spacing: -3px;
  margin: 19px 0;
}
.welcome-copy > .eyebrow {
  color: #2d694e;
  letter-spacing: 0;
  font-size: 11px;
}
.welcome-copy > p {
  font-family: var(--mono);
  font-size: 12px;
}
.start-menu-brand {
  color: #8bca9c;
}
.start-menu-brand > span {
  color: #ecf7e5;
}
@media (max-width: 700px) {
  .welcome-copy h1 {
    font-size: 39px;
  }
  .welcome-copy > .eyebrow {
    font-size: 9px;
  }
  .welcome-copy > p {
    font-size: 10px;
  }
}

/* The skin floats on the desktop. Only the head, ears, and controls receive clicks. */
.app-window[data-freeform] {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  animation: none;
  outline: none;
}
.app-window[data-freeform] .window-body {
  overflow: visible;
  background: transparent;
  pointer-events: none;
}
.headspace {
  --phosphor: #c7ec99;
  width: 100%;
  height: 100%;
  color: var(--phosphor);
  font-family: Verdana, sans-serif;
  pointer-events: none;
}
.headspace-stage {
  position: relative;
  width: 760px;
  height: 394px;
  transform: scale(var(--skin-scale, 1)) translateX(var(--skin-offset, 0px));
  transform-origin: top left;
  transition: transform 280ms ease;
}
.headspace-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.headspace-head {
  position: absolute;
  left: 261px;
  top: 0;
  width: 234px;
  height: 394px;
  z-index: 2;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  /* Follow the skull and jaw so transparent corners leave the desktop accessible. */
  clip-path: polygon(
    41% 0,
    28% 2.5%,
    21% 5%,
    16% 7.6%,
    12% 10%,
    9% 12.7%,
    6% 15%,
    4% 18%,
    2% 23%,
    0 35%,
    1% 45%,
    1% 63%,
    3% 68%,
    6% 72%,
    12% 81%,
    17% 86%,
    25% 92%,
    32% 97%,
    39% 100%,
    59% 100%,
    67% 97%,
    73% 92%,
    79% 86%,
    85% 81%,
    94% 71%,
    97% 66%,
    99% 55%,
    100% 35%,
    100% 25%,
    97% 18%,
    94% 15%,
    89% 10%,
    84% 7.6%,
    80% 5%,
    72% 2.5%,
    60% 0
  );
}
.headspace-head:active {
  cursor: grabbing;
}
.headspace-head:focus-visible {
  filter: drop-shadow(0 0 3px #fff);
}
.headspace.is-dragover .headspace-head {
  filter: brightness(1.25);
}
.headspace button {
  cursor: pointer;
}
.headspace button:focus-visible,
.headspace input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
}
.skin-window-controls {
  position: absolute;
  left: 101px;
  top: 4px;
  width: 29px;
  height: 16px;
  display: flex;
}
.skin-window-controls button,
.skin-transport-button,
.skin-eq-button,
.skin-playlist-button,
.skin-open-files,
.skin-ear-handle {
  position: absolute;
  border: 0;
  padding: 0;
  background: transparent;
}
.skin-window-controls button {
  position: relative;
  width: 50%;
  height: 100%;
}
.skin-window-controls button:hover,
.skin-transport-button:hover,
.skin-eq-button:hover,
.skin-playlist-button:hover,
.skin-open-files:hover {
  background: #ffffff33;
  border-radius: 50%;
}
.skin-transport {
  position: absolute;
  left: 48px;
  top: 31px;
  width: 144px;
  height: 25px;
}
.skin-transport-button {
  top: 0;
  width: 24px;
  height: 25px;
  border-radius: 50%;
}
.skin-transport-button:nth-child(1) {
  left: 0;
}
.skin-transport-button:nth-child(2) {
  left: 26px;
}
.skin-transport-button:nth-child(3) {
  left: 51px;
}
.skin-transport-button:nth-child(4) {
  left: 77px;
}
.skin-transport-button:nth-child(5) {
  left: 120px;
}
.skin-pause-art {
  display: none;
  width: 23px;
  height: 23px;
  pointer-events: none;
}
.playing .skin-pause-art {
  display: block;
}
.headspace-display {
  position: absolute;
  left: 9px;
  top: 59px;
  width: 216px;
  height: 158px;
  overflow: hidden;
  border-radius: 14% 14% 31% 31% / 8% 8% 9% 9%;
  background: #030904;
}
.headspace-visualizer {
  display: block;
  width: 100%;
  height: 100%;
}
.skin-readout {
  position: absolute;
  bottom: 9px;
  left: 10px;
  right: 10px;
  color: #cfef9e;
  font: 9px/1.5 var(--mono);
  padding-top: 10px;
  background: linear-gradient(transparent, #030904dd 35%);
  pointer-events: none;
}
.skin-readout > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.skin-readout > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 8px;
  color: #9fac8e;
}
.skin-readout time {
  white-space: nowrap;
}
.skin-readout [data-media-status] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.skin-eq-button {
  left: 15px;
  top: 214px;
  width: 20px;
  height: 19px;
}
.skin-playlist-button {
  left: 204px;
  top: 214px;
  width: 19px;
  height: 20px;
}
.skin-open-files {
  left: 101px;
  top: 232px;
  width: 35px;
  height: 31px;
}
.headspace input[type="range"] {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  cursor: pointer;
  background: #183c03;
  box-shadow: inset 1px 1px 2px #061700;
  border-radius: 5px;
  accent-color: #b9d959;
}
.headspace input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 9px;
  height: 11px;
  border: 1px solid #4b581e;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    #bfd490,
    #a0b770 42%,
    #43542b 45%,
    #c0ce9b 65%
  );
  box-shadow: 0 1px 2px #071700;
}
.headspace input[type="range"]::-moz-range-thumb {
  width: 9px;
  height: 11px;
  border: 1px solid #4b581e;
  border-radius: 2px;
  background: #adc080;
}
.headspace input.skin-seek {
  position: absolute;
  left: 41px;
  top: 223px;
  width: 159px;
  height: 9px;
  background: transparent;
  box-shadow: none;
}
.headspace-ear {
  position: absolute;
  top: 86px;
  height: 170px;
  z-index: 1;
  transition: transform 280ms cubic-bezier(0.22, 0.7, 0.2, 1);
}
.headspace-ear-left {
  left: 0;
  width: 269px;
  transform: translateX(207px);
}
.headspace-ear-right {
  left: 488px;
  width: 272px;
  transform: translateX(-211px);
}
.headspace-ear.is-open {
  transform: translateX(0);
}
.skin-ear-handle {
  top: 0;
  height: 170px;
  pointer-events: auto;
}
.skin-ear-handle:hover {
  background: #dfff3812;
}
.skin-ear-handle-left {
  left: 0;
  width: 84px;
  clip-path: polygon(
    30% 0,
    100% 0,
    100% 88%,
    74% 100%,
    33% 96%,
    10% 80%,
    3% 20%
  );
}
.skin-ear-handle-right {
  left: 185px;
  width: 87px;
  clip-path: polygon(0 0, 72% 0, 97% 20%, 90% 80%, 68% 96%, 26% 100%, 0 88%);
}
.skin-ear-handle canvas {
  position: absolute;
  pointer-events: none;
}
.skin-ear-handle-left canvas {
  left: 8px;
  top: 66px;
}
.skin-ear-handle-right canvas {
  left: 61px;
  top: 65px;
}
.headspace-eq,
.headspace-queue {
  position: absolute;
  top: 10px;
  width: 171px;
  height: 140px;
  padding: 6px;
  overflow: hidden;
  font-size: 9px;
  background: #285f03;
  box-shadow: inset 1px 1px 4px #133700;
  pointer-events: auto;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 150ms ease,
    visibility 150ms;
}
.headspace-eq {
  left: 84px;
}
.headspace-queue {
  left: 13px;
  width: 172px;
  display: flex;
  flex-direction: column;
}
.is-open > .headspace-eq,
.is-open > .headspace-queue {
  visibility: visible;
  opacity: 1;
}
.headspace-eq header,
.headspace-queue header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font: 8px/1 var(--mono);
  height: 14px;
  flex-shrink: 0;
  border-bottom: 1px solid #599127;
}
.headspace-eq header button,
.headspace-queue header button,
.playback-modes button,
.playlist-add {
  font: 7px var(--mono);
  color: #d4edb6;
  border: 0;
  background: transparent;
  padding: 2px;
}
.headspace-eq header button:hover,
.headspace-queue header button:hover,
.playlist-add:hover {
  background: #507d22;
}
.eq-horizontal-controls {
  display: flex;
  gap: 9px;
  margin: 5px 0 7px;
}
.eq-horizontal-controls label {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 7px;
}
.eq-horizontal-controls input {
  width: 100%;
  height: 7px;
}
.eq-bands {
  display: flex;
  gap: 3px;
  height: 62px;
}
.eq-bands label {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.eq-bands input {
  writing-mode: vertical-lr;
  direction: rtl;
  width: 7px;
  height: 47px;
}
.eq-bands label > span {
  font-size: 6px;
}
.playback-modes {
  display: flex;
  justify-content: space-between;
}
.playback-modes button {
  font-size: 7px;
  border: 1px solid transparent;
}
.playback-modes button[aria-pressed="true"] {
  border-color: #93b953;
  background: #143b00;
  color: #ebffce;
}
.headspace-playlist {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-color: #88ac49 #193a06;
  scrollbar-width: thin;
  padding: 3px 0;
}
.headspace-playlist button {
  display: block;
  width: 100%;
  padding: 5px 3px;
  border: 0;
  color: #d3edb7;
  background: transparent;
  font: 8px/1.4 var(--mono);
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.headspace-playlist button:hover {
  background: #3b7412;
}
.headspace-playlist button[aria-current="true"] {
  color: #fff;
  background: #487d1c;
}
.playlist-add {
  text-align: left;
  font-size: 8px;
  padding: 5px 1px 0;
}
@media (max-width: 700px) {
  .app-window[data-freeform] {
    overflow: hidden;
  }
  .headspace {
    --skin-offset: -207px;
  }
  .headspace[data-mobile-panel="equalizer"] {
    --skin-offset: 0px;
  }
  .headspace[data-mobile-panel="playlist"] {
    --skin-offset: -418px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .headspace-stage,
  .headspace-ear,
  .headspace-eq,
  .headspace-queue {
    transition: none;
  }
}
body.reduce-motion .headspace-stage,
body.reduce-motion .headspace-ear,
body.reduce-motion .headspace-eq,
body.reduce-motion .headspace-queue {
  transition: none;
}

/* The terminal exposes only the documented browser commands. */
.terminal-content {
  min-height: 100%;
  padding: 20px;
  color: #a8d6b1;
  background: #07100b;
  font: 13px/1.8 var(--mono);
  overflow: auto;
}
.terminal-output {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.terminal-output > div {
  margin-bottom: 12px;
}
.terminal-command {
  color: #e2e8db;
}
.terminal-form {
  display: flex;
  gap: 9px;
  align-items: baseline;
}
.terminal-form label {
  color: #73c092;
  white-space: nowrap;
  font-size: 12px;
}
.terminal-form input {
  flex: 1;
  width: 0;
  border: 0;
  outline-offset: 2px;
  color: #e2e8db;
  background: none;
  font: inherit;
  caret-color: #9cd58c;
}
@media (max-width: 700px) {
  .terminal-content {
    padding: 16px 12px;
    font-size: 12px;
  }
  .terminal-form {
    gap: 6px;
  }
  .terminal-form label {
    font-size: 10px;
  }
}
