/* Entry page and native-looking utilities share behavior; the themes supply chrome. */
#desktop-session {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}
#front-page {
  position: fixed;
  inset: 0;
  overflow: auto;
  background: #fffef7;
  color: #262820;
  font:
    16px/1.6 Georgia,
    serif;
}
.front-content {
  width: min(940px, 100%);
  margin: 9vh auto 0;
  padding: 32px 42px 22px;
}
.front-address {
  font: 12px/1.4 monospace;
  letter-spacing: 1px;
  color: #787d6e;
  margin: 0 0 32px;
}
#front-page .personal-homepage {
  padding: 0;
  min-height: 0;
}
.text-file-page h1 {
  margin: 0 0 24px;
  font-size: 24px;
}
.text-file-page pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    14px/1.6 "Lucida Console",
    "Courier New",
    monospace;
}
[data-theme="platinum"] .text-file-page pre {
  font:
    18px/1.5 "Pixel Mono",
    monospace;
}
#front-page .home-main {
  gap: 54px;
  grid-template-columns: 43% 1fr;
}
#front-page .home-art {
  height: 355px;
  max-height: none;
}
#front-page .home-copy h1 {
  font:
    44px/1.08 Georgia,
    serif;
  letter-spacing: -1px;
}
#front-page .home-copy p {
  font:
    15px Georgia,
    serif;
}
#front-page .profile-links {
  font:
    14px Georgia,
    serif;
  gap: 10px;
}
#front-page a {
  color: #415b44;
}
.front-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #c7cabb;
  margin-top: 45px;
  padding-top: 20px;
}
.front-footer nav {
  display: flex;
  gap: 22px;
  font:
    13px Georgia,
    serif;
}
#desktop-door {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 3px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  color: #8c907d;
  font: 13px monospace;
  cursor: pointer;
}
.footer-cat {
  color: #a6a6a6;
  width: 14px;
  height: 14px;
  opacity: 0.8;
}
.footer-cat-eyes {
  transform-box: fill-box;
  transform-origin: center;
}
.footer-cat.is-blinking .footer-cat-eyes {
  animation: cat-blink 180ms ease-in-out;
}
#desktop-door:hover .footer-cat,
#desktop-door:focus-visible .footer-cat {
  color: #a6a6a6;
  opacity: 1;
}
@keyframes cat-blink {
  0%,
  100% {
    transform: scaleY(1);
  }
  40%,
  60% {
    transform: scaleY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-cat.is-blinking .footer-cat-eyes {
    animation: none;
  }
}
.front-whisper {
  font:
    11px Georgia,
    serif;
  color: #7a806e;
  margin: 25px 0;
}
/* Platinum's public pages and the same pages inside its browser share one
   typographic family. The text-file editor retains the matching mono face. */
[data-theme="2002"] #front-page,
[data-theme="2002"] .personal-homepage,
[data-theme="2002"] .home-copy,
[data-theme="2002"] #front-page .home-copy p,
[data-theme="2002"] #front-page .profile-links,
[data-theme="2002"] .front-footer nav,
[data-theme="2002"] .front-whisper {
  font-family: Tahoma, Arial, sans-serif;
}
[data-theme="2002"] #front-page .home-copy h1,
[data-theme="2002"] .personal-homepage h1 {
  font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
  font-weight: 400;
}
[data-theme="2002"] .front-address {
  font-family: "Lucida Console", "Courier New", monospace;
}
[data-theme="2002"] .home-motto em {
  font:
    12px/1.5 Tahoma,
    Arial,
    sans-serif;
  white-space: normal;
}
[data-theme="2002"] .home-motto img {
  width: 28px;
  height: 28px;
  /* Align the star’s visible weight with the letterforms, not its SVG bounds. */
  transform: translateY(0.5px);
}
[data-theme="platinum"] #front-page,
[data-theme="platinum"] #front-page .personal-homepage {
  font:
    18px/1.5 "Pixel Operator",
    monospace;
}
[data-theme="platinum"] #front-page .home-copy h1 {
  font:
    700 44px/1.08 "Pixel Operator",
    monospace;
  letter-spacing: 0;
}
[data-theme="platinum"] #front-page .inner-page h1 {
  font:
    700 32px/1.15 "Pixel Operator",
    monospace;
}
[data-theme="platinum"] #front-page .home-copy p,
[data-theme="platinum"] #front-page .profile-links,
[data-theme="platinum"] .personal-homepage .profile-links {
  font:
    18px/1.4 "Pixel Operator",
    monospace;
}
[data-theme="platinum"] .personal-homepage .home-motto em,
[data-theme="platinum"] .front-footer nav {
  font:
    16px/1.4 "Pixel Operator",
    monospace;
}
[data-theme="platinum"] .front-address {
  font:
    14px/1.4 "Pixel Mono",
    monospace;
}
[data-theme="platinum"] .front-whisper {
  font:
    14px/1.4 "Pixel Operator",
    monospace;
}
[data-theme="platinum"] .homepage-nav {
  font-family: "Pixel Operator", monospace;
}
@media (max-width: 759px) {
  [data-theme="platinum"] #front-page .home-copy h1 {
    font-size: 36px;
  }
}
#power-transition {
  position: fixed;
  inset: 0;
  z-index: 30000;
  background: #4f77d6;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font:
    20px Tahoma,
    Arial,
    sans-serif;
  border-top: 70px solid #183b96;
  border-bottom: 70px solid #183b96;
}
#power-transition img {
  width: 72px;
  height: 72px;
}
#power-transition strong {
  font-size: 48px;
  font-style: italic;
  font-weight: 400;
}
[data-theme="platinum"] #power-transition {
  background: #c4c4c4;
  color: #222;
  border: 0;
  font-family:
    Pixel Operator,
    monospace;
}
[data-theme="platinum"] #power-transition strong {
  font-size: 28px;
  font-style: normal;
}
#power-transition.os-startup {
  background: #050505;
  border: 0;
}
.startup-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(420px, calc(100% - 40px));
  padding: 32px 20px;
  text-align: center;
}
#power-transition .startup-card strong {
  font:
    52px/1 "Trebuchet MS",
    Tahoma,
    sans-serif;
}
.startup-card > span {
  color: #b9b9b9;
  font-size: 12px;
}
.startup-progress {
  width: 150px;
  height: 15px;
  margin-top: 18px;
  border: 1px solid #777;
  border-radius: 3px;
  padding: 2px;
  overflow: hidden;
}
.startup-progress i {
  display: block;
  width: 31px;
  height: 9px;
  background: repeating-linear-gradient(
    90deg,
    #2c74e4 0 9px,
    transparent 9px 11px
  );
  animation: startup-scan 750ms linear 2;
}
@keyframes startup-scan {
  from {
    transform: translateX(-35px);
  }
  to {
    transform: translateX(150px);
  }
}
[data-theme="platinum"] #power-transition.os-startup {
  background: #c4c4c4;
}
[data-theme="platinum"] .startup-card {
  background: #eeedeb;
  border: 1px solid #111;
  box-shadow:
    1px 1px #111,
    inset 1px 1px #fff,
    inset -1px -1px #888;
  gap: 22px;
}
[data-theme="platinum"] #power-transition .startup-card strong {
  font:
    700 24px/1.2 "Pixel Operator",
    monospace;
}
[data-theme="platinum"] .startup-card > span {
  color: #222;
  font-size: 17px;
}
[data-theme="platinum"] .startup-card > img {
  image-rendering: pixelated;
}
[data-theme="platinum"] .startup-progress {
  width: min(280px, 100%);
  margin-top: 0;
  height: 17px;
  border-radius: 0;
  border-color: #222;
  background: #fff;
  box-shadow: inset 1px 1px #888;
}
[data-theme="platinum"] .startup-progress i {
  width: 100%;
  height: 11px;
  background: #8585ad;
  transform-origin: left;
  animation: startup-fill 1500ms linear forwards;
}
@keyframes startup-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .startup-progress i,
  [data-theme="platinum"] .startup-progress i {
    animation: none;
  }
}
#window-trails canvas {
  display: block;
  pointer-events: none;
}
#window-trails {
  display: block !important;
  z-index: 10000;
}
#windows {
  /* Share a stacking context with the paint: inactive apps can be overdrawn. */
  z-index: auto;
}
#windows > .window.active {
  z-index: 10001 !important;
}
/* Respond to the simulated browser's width, not the outer desktop viewport. */
#browser-page {
  container-type: inline-size;
}
.profile-links,
.notepad-links {
  column-gap: 0.75em;
  row-gap: 0.5em;
  flex-wrap: wrap;
}
.profile-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75em;
  white-space: nowrap;
}
#quick-launch {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 2px;
  padding-right: 3px;
}
#quick-launch button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 28px;
  border: 1px solid transparent;
  border-radius: 2px;
}
#quick-launch button:hover,
#quick-launch button:focus-visible {
  border-color: #a5c9ff #134796 #134796 #a5c9ff;
  background: #ffffff18;
}
#quick-launch button:active {
  border-color: #134796 #a5c9ff #a5c9ff #134796;
  background: #0002;
}
#quick-launch .xp-icon {
  width: 18px;
  height: 18px;
}
@media (max-width: 759px) {
  #quick-launch {
    gap: 0;
    padding: 0;
  }
  #quick-launch button {
    width: 24px;
  }
}
#browser-page .home-main {
  grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
  flex: 1 0 auto;
}
#browser-page .home-art {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
}
#browser-page .home-art img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
}
.sample-art[src$="/platinum/assets/lake.png"] {
  image-rendering: pixelated;
}
#browser-page .home-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}
.music-window {
  container: player / inline-size;
}
.projects-window,
.internet-window,
.photos-window {
  container: app / inline-size;
}
.video-window {
  container: video / inline-size;
}
#motion-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #080d18;
}
.video-controls {
  flex-wrap: wrap;
  gap: 8px;
}
.video-controls button {
  flex: 0 0 30px;
  min-height: 28px;
}
#video-seek {
  flex: 1 1 80px;
  min-width: 60px;
  max-width: 420px;
  height: 24px;
  accent-color: #64778f;
}
.video-duration {
  flex-shrink: 0;
  white-space: nowrap;
}
.player-volume .volume-trigger {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  padding: 0;
}
[data-theme="2002"] .player-volume {
  left: 50%;
  right: auto;
  bottom: 0;
  height: 20px;
  width: 150px;
  transform: translateX(-50%);
}
[data-theme="2002"] .volume-trigger {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}
[data-theme="platinum"] .player-volume {
  left: auto;
  right: 6px;
  width: 140px;
  height: 28px;
}
.player-volume input {
  flex: 0 1 110px;
  max-width: 110px;
  min-width: 80px;
}
@container player (max-width: 430px) {
  [data-theme="platinum"] .player-volume {
    left: auto;
    right: 5px;
    width: 30px;
  }
  [data-theme="platinum"] .player-volume input {
    display: none;
  }
  [data-theme="platinum"] .volume-trigger {
    width: 30px;
    height: 30px;
    border: 1px solid #222;
    background: #d5d5cf;
    box-shadow:
      inset 1px 1px white,
      inset -1px -1px #888;
  }
}
@container player (max-width: 340px) {
  [data-theme="2002"] .player-volume {
    width: 24px;
  }
  [data-theme="2002"] .player-volume input {
    display: none;
  }
}
@container app (max-width: 540px) {
  .explorer-sidebar {
    display: none;
  }
  .browser-controls {
    flex-wrap: wrap;
  }
  .browser-controls .address-bar {
    flex-basis: 100%;
  }
  .explorer-toolbar {
    flex-wrap: wrap;
  }
  .photo-toolbar,
  .photo-caption {
    gap: 8px;
  }
  .photo-caption > div {
    min-width: 0;
  }
  .photo-caption button {
    flex-shrink: 0;
  }
  .photo-thumbnails {
    flex-wrap: wrap;
  }
}
.tray-panel {
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
}
.tray-panel > .utility-title {
  position: sticky;
  top: 0;
  z-index: 1;
}
.links-window .links-page {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 14px 16px;
  font:
    13px/1.3 Tahoma,
    Arial,
    sans-serif;
}
.links-window .links-page > p {
  margin: 0;
}
.link-shortcuts {
  display: grid;
  gap: 8px;
}
.link-shortcuts a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 7px;
  color: #153ca0;
  border: 1px solid #b8bdce;
  background: #fffffb;
  text-decoration: none;
}
.link-shortcuts a:hover,
.link-shortcuts a:focus-visible {
  background: #e9effc;
  outline: 1px dotted currentColor;
}
.link-shortcuts .xp-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.link-shortcuts strong,
.link-shortcuts small {
  display: block;
}
.link-shortcuts strong {
  text-decoration: underline;
}
.link-shortcuts small {
  color: #555;
  font-size: 11px;
}
.links-page > .text-link {
  align-self: flex-start;
}
[data-theme="platinum"] .links-window .links-page {
  font:
    17px/1.15 "Pixel Operator",
    monospace;
}
[data-theme="platinum"] .link-shortcuts small {
  font-size: 15px;
}
.copy-offer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  background: #fff8cf;
  border-bottom: 1px solid #b3a77b;
  font:
    12px Tahoma,
    Arial,
    sans-serif;
  flex-shrink: 0;
}
.copy-offer button {
  border: 1px solid #777;
  padding: 3px 7px;
  background: #f1efdf;
  white-space: nowrap;
}
.about-window .window-content,
.copy-window .window-content,
.internet-window .window-content {
  overflow: hidden;
}
@media (min-width: 760px) {
  #desktop-shortcuts {
    height: calc(100% - 24px);
    flex-wrap: wrap;
    align-content: flex-start;
    column-gap: 10px;
  }
  #desktop-shortcuts .desktop-icon {
    flex: 0 0 auto;
    width: 96px;
  }
  [data-theme="platinum"] #desktop-shortcuts {
    height: calc(100% - 52px);
    flex-wrap: wrap-reverse;
  }
  [data-theme="platinum"] #desktop-shortcuts .desktop-icon {
    width: 105px;
  }
}
.cat-doodle[data-action] {
  pointer-events: auto;
  cursor: pointer;
  padding: 0;
  background: transparent;
}
.cat-doodle img {
  display: block;
  width: 100%;
  height: 100%;
}
.cat-reaction {
  position: absolute;
  right: 16px;
  bottom: 76px;
  max-width: calc(100% - 32px);
  padding: 5px 10px;
  background: #ffffdf;
  color: #111;
  border: 1px solid #111;
  border-radius: 8px;
  box-shadow: 2px 2px #0003;
  font:
    18px "Pixel Operator",
    monospace;
  visibility: hidden;
  pointer-events: none;
}
.cat-reaction::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -5px;
  width: 8px;
  height: 8px;
  background: #ffffdf;
  border-right: 1px solid #111;
  border-bottom: 1px solid #111;
  transform: rotate(45deg);
}
.cat-reaction.visible {
  visibility: visible;
}
@container (max-width: 560px) {
  #browser-page .home-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  #browser-page .home-art {
    width: min(100%, 420px);
    align-self: center;
  }
  #browser-page .home-cover {
    justify-content: flex-start;
  }
}
#start-menu {
  z-index: 16000;
}
#taskbar {
  z-index: 16001;
}
.system-tray #clock-button {
  width: auto;
  min-width: 51px;
  padding: 0 3px;
  font: inherit;
  color: inherit;
}
.system-tray #global-mute {
  display: block;
  position: relative;
}
.system-tray #global-mute.muted:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 15px;
  height: 16px;
  background: linear-gradient(
    130deg,
    transparent 44%,
    #c22 45% 55%,
    transparent 56%
  );
}
.start-bottom > button {
  display: flex;
  align-items: center;
  gap: 8px;
  font:
    12px Tahoma,
    Arial,
    sans-serif;
  padding: 3px;
  margin-left: auto;
  color: inherit;
}
.power-mark {
  font:
    20px Arial,
    sans-serif;
  background: #c85137;
  color: white;
  border: 1px solid #f0b39a;
  border-radius: 3px;
  padding: 1px 3px;
}
.utility-panel,
.utility-dialog {
  color: #151515;
  background: #ece9d8;
  border: 3px solid #1452d2;
  border-top: 0;
  border-radius: 7px 7px 0 0;
  box-shadow: 3px 5px 12px #0005;
  font:
    12px/1.4 Tahoma,
    Arial,
    sans-serif;
  overflow: hidden;
}
.utility-panel {
  position: fixed;
  z-index: 15000;
  width: 310px;
  max-width: calc(100vw - 16px);
}
.utility-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(#1f91ff, #064ee1 60%, #1256d6);
  color: white;
  padding: 5px 7px;
  font:
    bold 13px/1.4 Tahoma,
    Arial,
    sans-serif;
  min-height: 28px;
}
.utility-title > button {
  background: #dd5b38;
  color: white;
  border: 1px solid white;
  border-radius: 3px;
  width: 20px;
  height: 20px;
  line-height: 16px;
  font:
    19px Arial,
    sans-serif;
}
.utility-body {
  padding: 14px;
}
.utility-body p {
  margin: 0 0 12px;
}
.utility-body button,
.dialog-actions button {
  border: 1px solid #777567;
  border-radius: 3px;
  background: linear-gradient(#fff, #f0edde 80%, #d9d4c2);
  padding: 4px 10px;
  box-shadow: inset 0 0 0 1px white;
  min-height: 25px;
}
.utility-body button:active:not(:disabled) {
  background: #d1d0c4;
  box-shadow: inset 1px 1px 2px #5556;
}
.utility-body input[type="range"] {
  display: block;
  width: 100%;
  margin: 12px 0 18px;
}
.utility-body input[type="checkbox"] {
  margin: 0;
}
.utility-body select {
  min-width: 0;
  border: 1px solid #85857b;
  padding: 3px;
  background: white;
  font: inherit;
  color: inherit;
  max-width: 100%;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0 13px;
}
.studio-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0;
}
.studio-row select {
  flex: 1;
}
.studio-row button {
  flex: 1;
  white-space: nowrap;
}
.studio-row label + select + button {
  flex: 0;
}
#studio-status {
  display: block;
  font-size: 11px;
  min-height: 30px;
  padding-top: 4px;
  color: #565a50;
}
.studio-hint {
  line-height: 1.5;
}
#glitch-studio {
  left: 14px;
  bottom: 50px;
  display: flex;
  flex-direction: column;
}
#glitch-studio > .utility-title {
  flex-shrink: 0;
  cursor: move;
  touch-action: none;
  user-select: none;
}
#glitch-studio > .utility-body {
  min-height: 0;
  overflow: auto;
}
.tray-panel {
  right: 6px;
  bottom: 40px;
  width: 300px;
}
#tray-panel:has(#system-volume) {
  width: 180px;
}
#volume-value {
  float: right;
}
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.calendar-nav button {
  padding: 2px 8px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
  background: white;
  border: 1px solid #888;
  padding: 6px;
}
.calendar-grid .weekday {
  font-weight: bold;
  padding: 4px 0;
}
.calendar-grid button {
  border: 0;
  box-shadow: none;
  background: none;
  border-radius: 0;
  padding: 4px 0;
  min-width: 0;
}
.calendar-grid button[aria-current="date"] {
  outline: 1px solid #db6942;
  outline-offset: -2px;
}
.calendar-grid button[aria-pressed="true"] {
  background: #1648b8;
  color: white;
}
#calendar-selected {
  font-size: 11px;
  text-align: center;
  margin: 10px 0;
}
.clock-readout {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 12px 0;
}
.clock-details {
  display: grid;
  gap: 8px;
  text-align: center;
}
.clock-details button,
.zone-label select {
  width: 100%;
  min-height: 28px;
}
.clock-readout time {
  display: block;
  font-size: 16px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.analog-clock {
  position: relative;
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
}
.clock-face {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.clock-hand {
  position: absolute;
  bottom: 50%;
  left: calc(50% - 1px);
  width: 2px;
  height: 28px;
  background: #333;
  transform-origin: center bottom;
}
.clock-hand.hour {
  left: calc(50% - 1.5px);
  height: 19px;
  width: 3px;
}
.clock-hand.second {
  left: calc(50% - 0.5px);
  width: 1px;
  background: #a23;
}
.analog-clock b {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #333;
  left: calc(50% - 2.5px);
  top: calc(50% - 2.5px);
}
.zone-label {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.utility-dialog {
  padding: 0;
  width: min(800px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  z-index: 31000;
}
.utility-dialog::backdrop {
  background: #10203c77;
}
.utility-dialog > .utility-body {
  overflow: auto;
  max-height: calc(100dvh - 70px);
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}
#capture-image {
  display: block;
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  background: #333;
}
.power-dialog {
  width: 420px;
}
.power-choices {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin: 22px;
}
.power-choices button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
}
.power-choices span {
  font:
    26px Arial,
    sans-serif;
  color: #2e5dab;
}
.power-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}
[data-theme="2002"] .power-dialog {
  width: 314px;
  max-width: calc(100vw - 12px);
  padding: 0;
  border: 1px solid #173184;
  border-radius: 0;
  background: #1844ae;
  color: white;
  box-shadow:
    0 0 0 1px #d5e0ff,
    3px 4px 9px #0006;
}
[data-theme="2002"] .power-dialog::backdrop {
  background: #0003;
  backdrop-filter: grayscale(1);
}
.xp-power-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding: 0 12px;
  background: linear-gradient(90deg, #123b9d, #2456bd);
  border-bottom: 1px solid #aec9ff;
}
.xp-power-title strong {
  font:
    22px Tahoma,
    Arial,
    sans-serif;
  letter-spacing: -0.5px;
}
.xp-power-title img {
  width: 30px;
  height: 30px;
}
[data-theme="2002"] .power-choices {
  height: 100px;
  margin: 0;
  padding: 22px 20px 14px;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
  background: linear-gradient(90deg, #7596df, #8aa8eb 50%, #7596df);
}
[data-theme="2002"] .power-choices button {
  width: 76px;
  padding: 0;
  gap: 7px;
  border: 0;
  background: transparent;
  color: white;
  border-radius: 0;
}
[data-theme="2002"] .power-choices button > span:not(.power-icon) {
  font:
    bold 11px Tahoma,
    Arial,
    sans-serif;
  color: white;
}
[data-theme="2002"] .power-choices .power-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid #fff9;
  border-radius: 5px;
  color: white;
  box-shadow:
    inset 1px 1px 2px #fffa,
    inset -1px -1px 2px #0006,
    1px 1px 2px #39508b;
}
.power-icon-off {
  background: linear-gradient(135deg, #ffb5a1, #e0492b 50%, #c32a16);
}
.power-icon-restart {
  background: linear-gradient(135deg, #b8ec9f, #6cbb40 50%, #358321);
}
.power-icon-standby {
  background: linear-gradient(135deg, #ffe8a7, #e8ac23 50%, #c17a0b);
}
[data-theme="2002"] .power-choices button:hover .power-icon {
  filter: brightness(1.15);
}
[data-theme="2002"] .power-choices button:active .power-icon {
  box-shadow: inset 1px 1px 3px #0008;
}
[data-theme="2002"] .power-choices button:focus-visible {
  outline: 1px dotted white;
  outline-offset: 3px;
}
[data-theme="2002"] .power-dialog .dialog-actions {
  height: 43px;
  margin: 0;
  padding: 10px 12px;
  border-top: 1px solid #4c75c7;
  background: #1941a5;
}
[data-theme="2002"] .power-dialog .dialog-actions button {
  min-height: 22px;
  width: 70px;
  padding: 1px 8px;
  font:
    11px Tahoma,
    Arial,
    sans-serif;
  color: #111;
}
[data-mode="standby"] #power-transition {
  background: #070e22;
}
#resume-desktop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px;
  color: #e2e8f8;
}
[data-theme="platinum"] .utility-panel,
[data-theme="platinum"] .utility-dialog {
  background: #ccc;
  border: 1px solid #111;
  border-radius: 0;
  box-shadow: 2px 2px #000;
  font:
    16px/1.25 Pixel Operator,
    monospace;
}
[data-theme="platinum"] .utility-title {
  margin: 3px 3px 0;
  color: #111;
  background: repeating-linear-gradient(#eee 0 1px, #999 1px 2px, #ccc 2px 4px);
  font:
    16px/1.2 Pixel Operator,
    monospace;
  min-height: 23px;
  padding: 2px 6px;
  border-bottom: 1px solid #888;
}
[data-theme="platinum"] .utility-title strong {
  background: #ccc;
  padding: 0 8px;
  font-weight: 400;
}
[data-theme="platinum"] .utility-title > button {
  color: #111;
  background: #ccc;
  box-shadow:
    inset 1px 1px #fff,
    inset -1px -1px #777;
  border: 1px solid #111;
  border-radius: 0;
  font-size: 16px;
}
[data-theme="platinum"] .utility-body button,
[data-theme="platinum"] .dialog-actions button {
  border: 1px solid #111;
  border-radius: 2px;
  background: #ddd;
  box-shadow:
    inset 1px 1px white,
    inset -1px -1px #888;
  font:
    16px Pixel Operator,
    monospace;
}
[data-theme="platinum"] .calendar-grid button {
  background: white;
  box-shadow: none;
  border: 0;
}
[data-theme="platinum"] .calendar-grid button[aria-pressed="true"] {
  background: #222;
  color: white;
}
[data-theme="platinum"] .zone-label select {
  appearance: none;
  border: 1px solid #111;
  border-radius: 2px;
  padding: 3px 27px 3px 8px;
  background-color: #ddd;
  background-image:
    linear-gradient(45deg, transparent 50%, #111 50%),
    linear-gradient(135deg, #111 50%, transparent 50%),
    linear-gradient(#888, #888);
  background-position:
    calc(100% - 12px) 11px,
    calc(100% - 8px) 11px,
    calc(100% - 22px) center;
  background-size:
    4px 4px,
    4px 4px,
    1px 100%;
  background-repeat: no-repeat;
  box-shadow:
    inset 1px 1px white,
    inset -1px -1px #888;
}
[data-theme="platinum"] .zone-label select:focus-visible {
  outline: 2px solid #7775a3;
  outline-offset: 1px;
}
[data-theme="platinum"] .power-dialog {
  width: 430px;
  max-width: calc(100vw - 24px);
  inset: 0 0 20%;
  height: fit-content;
  background: #cccac6;
  box-shadow:
    inset 1px 1px #fff,
    inset -1px -1px #777,
    1px 1px #111;
}
[data-theme="platinum"] .power-dialog::backdrop {
  background: transparent;
}
[data-theme="platinum"] .mac-power-body {
  padding: 24px;
}
.mac-power-message {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}
.mac-power-message img {
  image-rendering: pixelated;
}
.mac-power-message p {
  margin: 3px 0 0;
  font-weight: bold;
  line-height: 1.25;
}
[data-theme="platinum"] .power-dialog .dialog-actions {
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 28px;
}
[data-theme="platinum"] .power-dialog .dialog-actions button {
  min-width: 76px;
  padding: 3px 10px;
  min-height: 24px;
  border-radius: 3px;
  white-space: nowrap;
  background: #ddd;
}
[data-theme="platinum"] .power-dialog [data-power="restart"] {
  margin-right: auto;
}
[data-theme="platinum"] .power-dialog .default-button {
  outline: 3px solid #222;
  outline-offset: 2px;
}
[data-theme="platinum"] .power-dialog button:focus-visible {
  box-shadow: inset 0 0 0 2px #7775a3;
}
[data-theme="platinum"] .power-dialog button:active {
  background: #444;
  color: white;
}
@media (max-width: 380px) {
  [data-theme="platinum"] .mac-power-body {
    padding: 18px 14px;
  }
  [data-theme="platinum"] .power-dialog .dialog-actions {
    gap: 10px;
  }
  [data-theme="platinum"] .power-dialog .dialog-actions button {
    min-width: 68px;
    padding-inline: 8px;
  }
}
@media (max-height: 450px) {
  [data-theme="platinum"] .power-dialog {
    inset: 0;
  }
}
[data-theme="platinum"] #glitch-studio {
  bottom: 14px;
}
[data-theme="platinum"] .tray-panel {
  bottom: auto;
  top: 34px;
}
[data-theme="platinum"] .start-bottom {
  display: block;
}
[data-theme="platinum"] #tasks [data-task] + [data-action="activate-desktop"] {
  margin-top: 4px;
  border-top: 1px solid #999;
}
[data-theme="platinum"] .start-bottom > button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  color: #111;
  font:
    16px Pixel Operator,
    monospace;
  margin: 0;
}
[data-theme="platinum"] .start-bottom > button:hover,
[data-theme="platinum"] .start-bottom > button:focus-visible {
  background: #333340;
  color: white;
}
[data-theme="platinum"] .start-bottom > button:hover .power-mark,
[data-theme="platinum"] .start-bottom > button:focus-visible .power-mark {
  color: inherit;
}
[data-theme="platinum"] .power-mark {
  color: #111;
  background: none;
  border: 0;
}
@media (max-width: 759px) {
  .front-content {
    margin: 15px auto 0;
    padding: 25px;
  }
  .front-address {
    margin-bottom: 24px;
  }
  #front-page .home-main {
    gap: 27px;
  }
  #front-page .home-art {
    height: 230px;
  }
  #front-page .home-copy h1 {
    font-size: 38px;
  }
  .front-footer {
    margin-top: 30px;
  }
  #glitch-studio {
    left: 8px;
    bottom: 46px;
    max-height: calc(100dvh - 60px);
    overflow: hidden;
  }
  [data-theme="platinum"] #glitch-studio {
    bottom: 8px;
  }
  .utility-panel {
    max-width: calc(100vw - 16px);
  }
  .system-tray {
    gap: 2px;
    padding: 0 3px;
  }
  .system-tray #clock-button {
    min-width: 48px;
    padding: 0;
  }
  .system-tray #global-mute {
    width: 20px;
    min-width: 20px;
  }
  [data-theme="platinum"] #global-menu .menu-trigger {
    padding-left: 5px;
    padding-right: 5px;
  }
  [data-theme="platinum"] #running-apps {
    max-width: 36px;
    padding-left: 3px;
    padding-right: 3px;
  }
  [data-theme="platinum"] #active-app {
    display: none;
  }
  [data-theme="platinum"] #taskbar {
    gap: 2px;
  }
}

@media (max-width: 759px) {
  #glitch-studio .check-row,
  #start-menu [data-action="motion"],
  #global-menu [data-action="motion"] {
    display: none;
  }
}

#boot-loader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(22px, 6vw, 80px);
  border: 0;
  background: #050505;
  color: #c9c9c9;
  font: clamp(15px, 1.8vw, 20px) / 1.6 monospace;
}
#boot-loader::backdrop {
  background: #050505;
}
.boot-content {
  max-width: 850px;
  margin: 0 auto;
}
#boot-heading {
  font: inherit;
  border-bottom: 1px solid #888;
  padding-bottom: 12px;
  margin: 0 0 32px;
}
.boot-options {
  display: grid;
  gap: 4px;
  margin: 28px 0 45px;
}
.boot-options button {
  color: inherit;
  text-align: left;
  padding: 6px 15px;
  font: inherit;
}
.boot-options button:focus,
.boot-options button:hover {
  color: #050505;
  background: #c9c9c9;
  outline: none;
}
.boot-instructions {
  line-height: 1.8;
}
.boot-cancel {
  color: #999;
  font: inherit;
  padding: 5px 0;
  margin-top: 18px;
  text-align: left;
}
.boot-cancel:focus-visible {
  outline: 1px dotted #ddd;
  outline-offset: 4px;
}

[data-theme="2002"] .player-volume input {
  appearance: none;
  height: 18px;
  background: transparent;
  border: 0;
}
[data-theme="2002"] .player-volume input::-webkit-slider-runnable-track {
  height: 3px;
  background: #657e50;
}
[data-theme="2002"] .player-volume input::-webkit-slider-thumb {
  appearance: none;
  width: 7px;
  height: 12px;
  margin-top: -4px;
  background: #e6eade;
  border: 1px solid #4a6043;
  border-radius: 1px;
}
[data-theme="2002"] .player-volume input::-moz-range-track {
  height: 3px;
  background: #657e50;
}
[data-theme="2002"] .player-volume input::-moz-range-thumb {
  width: 7px;
  height: 12px;
  background: #e6eade;
  border: 1px solid #4a6043;
  border-radius: 1px;
}
[data-theme="platinum"] .player-volume input {
  appearance: none;
  height: 24px;
  background: transparent;
  border: 0;
}
[data-theme="platinum"] .player-volume input::-webkit-slider-runnable-track {
  height: 5px;
  border: 1px solid #2d2d2a;
  background: #9b9d91;
}
[data-theme="platinum"] .player-volume input::-webkit-slider-thumb {
  margin-top: -8px;
}
[data-theme="platinum"] .player-volume input::-moz-range-track {
  height: 5px;
  border: 1px solid #2d2d2a;
  background: #9b9d91;
}
.eq-sliders input {
  width: 16px;
}
