/* KANSH OS active shell: old Windows desktop, romantic suicide red/silver theme. */
:root {
  --black: #050506;
  --desktop: #24282a;
  --desktop-2: #34393b;
  --accent: #ff2e45;
  --accent-dark: #850918;
  --accent-mid: #bd1429;
  --safire-blue: #0047ff;
  --safire-blue-dark: #002a9e;
  --safire-blue-soft: #dce8ff;
  --win-face: #c6c8c8;
  --win-face-2: #aeb2b2;
  --win-light: #ffffff;
  --win-shadow: #737777;
  --win-dark: #202323;
  --paper: #f1f1ee;
  --paper-text: #111;
  --amber: #ffe071;
  --muted: #4f5555;
  --crt-red: rgba(255, 46, 69, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  color: var(--paper-text);
  font-family: "MS Sans Serif", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.2), transparent 22%),
    radial-gradient(circle at 74% 28%, rgba(255, 46, 69, 0.18), transparent 22%),
    linear-gradient(135deg, #4d5355 0%, #1f2224 58%, #070808 100%);
  letter-spacing: 0;
  cursor: url("assets/final/os/cursors/kansh-placeholder-cursor.svg") 5 3, auto;
}

button,
a,
select {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
  cursor: pointer;
}

.is-hidden {
  display: none !important;
}

.screen-noise,
.scanlines,
.vignette {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}

.screen-noise {
  opacity: 0.035;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 46, 69, 0.32) 0 1px, transparent 1px);
  background-position: 0 0, 7px 9px;
  background-size: 13px 17px, 19px 23px;
  animation: static-shift 700ms steps(2) infinite;
}

body.desktop-active .screen-noise,
body.desktop-active .scanlines,
body.desktop-active .vignette {
  display: none;
}

body:not(.desktop-active) .screen-noise,
body:not(.desktop-active) .scanlines,
body:not(.desktop-active) .vignette {
  display: none;
}

.scanlines {
  opacity: 0.12;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 3px,
    rgba(0, 0, 0, 0.42) 4px,
    rgba(255, 46, 69, 0.05) 5px
  );
  mix-blend-mode: multiply;
}

.vignette {
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.72), inset 0 0 28px var(--crt-red);
}

.boot-screen,
.desktop {
  position: fixed;
  inset: 0;
}

.boot-screen {
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #000;
  background: #000;
}

.boot-panel {
  display: grid;
  justify-items: center;
  width: min(720px, 100%);
  padding: clamp(20px, 5vw, 46px);
  border: 2px solid rgba(238, 242, 242, 0.7);
  background:
    linear-gradient(180deg, rgba(247, 249, 249, 0.16), rgba(7, 8, 8, 0.42)),
    rgba(4, 5, 6, 0.84);
  box-shadow:
    inset 0 0 0 2px rgba(0, 0, 0, 0.65),
    0 0 48px rgba(255, 46, 69, 0.32),
    0 28px 90px rgba(0, 0, 0, 0.78);
  font-family: "Courier New", Courier, monospace;
  text-align: center;
}

.login-panel {
  justify-items: stretch;
  width: min(520px, calc(100vw - 28px));
  padding: 0;
  border-width: 2px;
  border-style: solid;
  border-color: #f9f9f9 #343434 #343434 #f9f9f9;
  background: #d3d0c8;
  box-shadow:
    1px 1px 0 #000,
    9px 10px 0 rgba(0, 0, 0, 0.22);
  font-family: "MS Sans Serif", Tahoma, Geneva, Verdana, sans-serif;
  text-align: left;
}

.login-titlebar {
  display: flex;
  align-items: center;
  min-height: 21px;
  padding: 3px 4px;
  color: #fff;
  background: linear-gradient(90deg, #5d0610 0%, #b11528 62%, #e08791 100%);
  font-size: 11px;
  font-weight: 700;
}

.login-brand {
  position: relative;
  height: 148px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 24%, rgba(255, 46, 69, 0.14) 100%),
    url("assets/final/os/backgrounds/login-romantic-suicide-banner.webp") center / cover no-repeat,
    #020202;
  border-bottom: 1px solid #75121f;
  image-rendering: auto;
}

.login-brand::after {
  position: absolute;
  content: "";
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 1px 3px
    );
  pointer-events: none;
}

.login-form {
  display: grid;
  gap: 10px;
  padding: 20px 16px 15px;
  background: #d3d0c8;
}

.login-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.login-row input {
  width: 100%;
  height: 24px;
  padding: 3px 5px;
  border-width: 2px;
  border-style: solid;
  border-color: #7d7d7d #fff #fff #7d7d7d;
  color: #000;
  background: #fff;
  font: 11px "MS Sans Serif", Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0;
}

.login-show-password {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-left: 88px;
  padding: 0;
  border: 0;
  color: #000;
  background: transparent;
  font-size: 11px;
  text-align: left;
}

.login-show-password:hover,
.login-show-password:focus-visible {
  color: #000;
  outline: 0;
}

.fake-checkbox {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border-width: 2px;
  border-style: solid;
  border-color: #7d7d7d #fff #fff #7d7d7d;
  background: #fff;
}

.login-footer {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 18px;
}

.login-footer p {
  margin: 0 auto 2px 0;
  color: #3b3131;
  font-size: 10px;
  font-style: italic;
}

.login-button {
  min-width: 74px;
  min-height: 25px;
  padding: 3px 8px 4px;
  border-width: 2px;
  border-style: solid;
  border-color: #fff #404040 #404040 #fff;
  color: #111;
  background: #d3d0c8;
  box-shadow: inset -1px -1px 0 #878787, inset 1px 1px 0 #f5f5f5;
  font-size: 11px;
  text-align: center;
}

.login-button:hover,
.login-button:focus-visible {
  outline: 0;
  border-color: #fff #2b0509 #2b0509 #fff;
  background: #e5d6d8;
}

.login-button:disabled {
  color: #777;
  text-shadow: 1px 1px 0 #fff;
  pointer-events: none;
}

.login-enhanced {
  min-width: 126px;
  color: #fff;
  background: linear-gradient(180deg, #ff4057 0%, #b70e24 100%);
  border-color: #ffd2d7 #4a030b #4a030b #fff3f5;
  box-shadow:
    inset -1px -1px 0 #6d0713,
    inset 1px 1px 0 rgba(255, 255, 255, 0.74),
    0 0 10px rgba(255, 46, 69, 0.22);
}

.login-enhanced:hover,
.login-enhanced:focus-visible {
  color: #fff;
  background: linear-gradient(180deg, #ff6173 0%, #d0162f 100%);
}

.dev-access-button {
  color: #fff;
  background: #242426;
  border-color: #f5f5f5 #151515 #151515 #f5f5f5;
}

.dev-access-button:hover,
.dev-access-button:focus-visible {
  color: #fff;
  background: #3a3a3d;
}

.password-peek.is-denied {
  color: #000;
  background: transparent;
}

.login-panel.is-denied {
  animation: login-error-shake 180ms steps(2) 2;
}

.enhanced-access-overlay,
.enhanced-access-boot {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.enhanced-access-overlay {
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.58);
}

.enhanced-access-window {
  width: min(520px, calc(100vw - 28px));
  border-width: 2px;
  border-style: solid;
  border-color: #fff #272727 #272727 #fff;
  color: #111;
  background: #d3d0c8;
  box-shadow:
    1px 1px 0 #000,
    12px 14px 0 rgba(0, 0, 0, 0.36),
    0 0 28px rgba(255, 46, 69, 0.28);
}

.enhanced-access-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 22px;
  padding: 3px 4px;
  color: #fff;
  background: linear-gradient(90deg, #5d0610 0%, #c3162d 62%, #ee8c96 100%);
  font-size: 11px;
  font-weight: 700;
}

.enhanced-access-titlebar button {
  display: grid;
  place-items: center;
  width: 18px;
  height: 17px;
  padding: 0;
  border-width: 2px;
  border-style: solid;
  border-color: #fff #444 #444 #fff;
  color: #111;
  background: #d3d0c8;
  font-size: 10px;
  line-height: 1;
}

.enhanced-access-form {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.access-terminal-strip {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 7px;
  border-width: 2px;
  border-style: solid;
  border-color: #7d7d7d #fff #fff #7d7d7d;
  color: #f5f5f5;
  background:
    repeating-linear-gradient(90deg, rgba(255, 46, 69, 0.16) 0 1px, transparent 1px 8px),
    #111;
  font: 11px "Courier New", Courier, monospace;
}

.enhanced-row {
  display: grid;
  grid-template-columns: 122px 1fr;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.enhanced-row input {
  width: 100%;
  height: 25px;
  padding: 3px 5px;
  border-width: 2px;
  border-style: solid;
  border-color: #7d7d7d #fff #fff #7d7d7d;
  color: #000;
  background: #fff;
  font: 11px "MS Sans Serif", Tahoma, Geneva, Verdana, sans-serif;
}

.enhanced-consent {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
  align-items: start;
  margin-left: 122px;
  color: #171717;
  font-size: 11px;
  line-height: 1.28;
}

.enhanced-consent input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: var(--accent);
}

.enhanced-status {
  min-height: 16px;
  margin: 0 0 0 122px;
  color: var(--accent-dark);
  font: 11px "Courier New", Courier, monospace;
}

.enhanced-status.is-success {
  color: #145f22;
}

.enhanced-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 5px;
}

.enhanced-access-boot {
  z-index: 80;
  display: grid;
  place-items: center;
  pointer-events: none;
  padding: 22px;
  background: #000;
  animation: access-overlay-unlock 1800ms steps(8) both;
}

.enhanced-access-boot::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.06) 0 1px,
      transparent 1px 4px
    ),
    radial-gradient(circle at 50% 52%, rgba(255, 46, 69, 0.12), transparent 44%);
  opacity: 0.58;
  animation: access-terminal-static 1800ms steps(3) both;
}

.access-boot-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(560px, calc(100vw - 36px));
  min-height: 260px;
  border-width: 2px;
  border-style: solid;
  border-color: #f5f5f5 #555 #555 #f5f5f5;
  overflow: hidden;
  color: #e8e8e8;
  background: #050505;
  box-shadow:
    3px 3px 0 #1b1b1b,
    0 0 0 1px #000,
    0 0 34px rgba(255, 46, 69, 0.18);
  font: 12px "Courier New", Courier, monospace;
  text-transform: lowercase;
  animation: access-terminal-enter 1800ms steps(9) both;
}

.access-boot-card::before {
  content: "";
  position: absolute;
  inset: 24px 0 auto;
  height: 1px;
  background: #222;
  opacity: 0;
  animation: access-terminal-final-glow 1800ms steps(4) both;
}

.access-boot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 46, 69, 0.18);
  opacity: 0;
  animation: access-terminal-final-glow 1800ms steps(4) both;
}

.access-terminal-titlebar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  padding: 3px 7px;
  color: #fff;
  background:
    linear-gradient(90deg, #5e050d, #b90f20 62%, #ef3348);
  font: 700 12px "Courier New", Courier, monospace;
}

.access-terminal-titlebar i {
  display: block;
  width: 13px;
  height: 13px;
  border-width: 1px;
  border-style: solid;
  border-color: #fff #4b4b4b #4b4b4b #fff;
  background: #d9d9d9;
}

.access-boot-copy {
  display: grid;
  gap: 15px;
  position: relative;
  z-index: 1;
  padding: 28px 30px 26px;
}

.access-boot-copy strong {
  display: block;
  max-width: 26ch;
  overflow: hidden;
  white-space: nowrap;
  font-size: clamp(18px, 4.6vw, 30px);
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow:
    1px 0 #ff2e45;
  animation:
    access-title-type 540ms steps(24) 140ms both,
    access-text-final-glow 1800ms steps(4) both;
}

.access-code-lines {
  display: grid;
  gap: 7px;
  color: #bdbdbd;
  font-size: clamp(11px, 2.8vw, 13px);
  line-height: 1.3;
}

.access-code-lines span {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  color: #d7d7d7;
  white-space: nowrap;
  opacity: 0;
  animation:
    access-code-type 420ms steps(32) both,
    access-text-final-glow 1800ms steps(4) both;
}

.access-code-lines span::before {
  content: "> ";
  color: var(--accent);
}

.access-code-lines span::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 3px;
  vertical-align: -2px;
  background: var(--accent);
  animation: access-cursor-leave 420ms steps(1) both;
}

.access-code-lines span:nth-child(1) {
  animation-delay: 520ms, 0ms;
}

.access-code-lines span:nth-child(1)::after {
  animation-delay: 520ms;
}

.access-code-lines span:nth-child(2) {
  animation-delay: 760ms, 0ms;
}

.access-code-lines span:nth-child(2)::after {
  animation-delay: 760ms;
}

.access-code-lines span:nth-child(3) {
  animation-delay: 1000ms, 0ms;
}

.access-code-lines span:nth-child(3)::after {
  animation-delay: 1000ms;
}

.access-code-lines span:nth-child(4) {
  color: #fff;
  animation-delay: 1240ms, 0ms;
}

.access-code-lines span:nth-child(4)::after {
  animation-delay: 1240ms;
}

.boot-identity {
  display: grid;
  justify-items: center;
}

.bios-tag {
  margin: 0 0 8px;
  color: #d9dddd;
  font-size: clamp(11px, 2vw, 14px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.boot-panel h1 {
  margin: 0;
  color: var(--accent);
  font-size: clamp(32px, 8vw, 64px);
  line-height: 0.9;
  text-shadow: 0 0 18px rgba(255, 46, 69, 0.62);
  text-transform: uppercase;
}

.boot-panel .login-fields h1 {
  text-transform: none;
}

.boot-subtitle {
  margin: 10px 0 0;
  color: #f0f2f2;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.boot-animation {
  position: relative;
  width: min(330px, 68vw);
  aspect-ratio: 1;
  margin: clamp(20px, 4vw, 32px) 0;
}

.boot-orbit,
.boot-core,
.boot-scan {
  position: absolute;
  inset: 0;
  margin: auto;
}

.boot-orbit {
  border: 2px solid rgba(229, 235, 235, 0.55);
  border-radius: 50%;
  box-shadow:
    inset 0 0 28px rgba(255, 46, 69, 0.12),
    0 0 26px rgba(255, 46, 69, 0.16);
}

.boot-orbit-one {
  width: 96%;
  height: 42%;
  transform: rotate(-18deg);
  animation: boot-orbit-one 2.7s ease-in-out infinite;
}

.boot-orbit-two {
  width: 92%;
  height: 38%;
  transform: rotate(64deg);
  animation: boot-orbit-two 3.2s ease-in-out infinite;
}

.boot-orbit-three {
  width: 74%;
  height: 74%;
  border-color: rgba(255, 46, 69, 0.72);
  animation: boot-pulse 1.9s steps(8) infinite;
}

.boot-core {
  display: grid;
  place-items: center;
  width: 34%;
  height: 34%;
  border: 2px solid #f2f5f5;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, #fff 0 5%, transparent 6%),
    radial-gradient(circle, var(--accent) 0 18%, #31050b 48%, #050506 72%);
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.38),
    0 0 26px rgba(255, 46, 69, 0.8),
    0 0 70px rgba(255, 46, 69, 0.35);
  animation: boot-core 1.35s steps(6) infinite;
}

.boot-core span {
  width: 46%;
  height: 46%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.boot-scan {
  background: rgba(255, 46, 69, 0.72);
  box-shadow: 0 0 18px rgba(255, 46, 69, 0.86);
  opacity: 0.72;
}

.boot-scan-horizontal {
  width: 100%;
  height: 2px;
  top: 50%;
  animation: boot-scan-horizontal 2.4s steps(6) infinite;
}

.boot-scan-vertical {
  width: 2px;
  height: 100%;
  left: 50%;
  animation: boot-scan-vertical 2.8s steps(6) infinite;
}

.boot-status-strip {
  display: grid;
  gap: 8px;
  width: min(440px, 100%);
  color: #ffe4e8;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.login-status-strip {
  width: auto;
  padding: 10px 14px;
  border-top: 2px solid var(--win-shadow);
  color: var(--accent-dark);
  background: #d6d8d8;
  font-weight: 700;
  text-align: center;
}

.boot-progress {
  height: 14px;
  padding: 2px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  background: #111314;
}

.boot-progress i {
  display: block;
  width: 0%;
  height: 100%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.32) 0 5px, transparent 5px 9px),
    linear-gradient(90deg, var(--accent-dark), var(--accent));
  box-shadow: 0 0 14px rgba(255, 46, 69, 0.62);
  transition: width 220ms steps(4);
}

.boot-log {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.enter-prompt {
  width: calc(100% - 28px);
  margin: 0 14px 14px;
  padding: 13px 14px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  color: #fff;
  background: var(--accent-mid);
  box-shadow: 3px 3px 0 #000;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  transform: translateY(4px);
  animation: none;
}

.boot-screen.is-ready .enter-prompt {
  opacity: 1;
  transform: translateY(0);
  animation: prompt-blink 1.1s steps(2) infinite;
}

.boot-screen.is-ready .boot-core {
  animation-duration: 650ms;
}

.desktop {
  position: fixed;
  min-height: 100vh;
  padding: 18px 16px 46px;
  overflow: hidden;
  background: url("assets/final/os/backgrounds/romantic-suicide-webbg-v1.webp") center / cover no-repeat;
}

.desktop.store-mode {
  background: url("assets/final/os/backgrounds/romantic-suicide-webbg-v1.webp") center / cover no-repeat;
}

.desktop-grid {
  display: grid;
  grid-template-columns: repeat(2, 118px);
  grid-auto-rows: 94px;
  align-content: start;
  gap: 18px 12px;
  width: 260px;
}

.desktop-icon {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  min-height: 92px;
  padding: 6px 4px;
  border: 1px dotted transparent;
  color: #fff;
  background: transparent;
  text-align: center;
  text-shadow: 1px 1px 0 #000, 0 0 7px rgba(255, 46, 69, 0.55);
  touch-action: none;
  user-select: none;
  cursor: grab;
}

.desktop-icon.is-positioned {
  position: absolute;
  z-index: 2;
  width: 118px;
}

.desktop-icon.is-dragging {
  z-index: 8;
  opacity: 0.92;
  cursor: grabbing;
}

.desktop-icon.is-selected {
  border-color: rgba(255, 235, 238, 0.9);
  background: rgba(255, 46, 69, 0.24);
}

.desktop-icon.is-selected span:last-child {
  color: #fff;
  background: var(--accent-dark);
}

.desktop-icon.is-denied {
  animation: login-error-shake 180ms steps(2) 2;
}

.desktop-icon span:last-child {
  display: block;
  max-width: 112px;
  padding: 1px 3px;
  font-size: 12px;
  line-height: 1.15;
  word-break: break-word;
}

.desktop-icon:hover,
.desktop-icon:focus-visible {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 46, 69, 0.2);
  outline: 0;
}

.desktop-icon:hover span:last-child,
.desktop-icon:focus-visible span:last-child {
  color: #fff;
  background: var(--accent-dark);
}

.selection-marquee {
  position: absolute;
  z-index: 6;
  display: none;
  border: 1px solid rgba(255, 230, 233, 0.95);
  background: rgba(255, 46, 69, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(133, 9, 24, 0.78),
    0 0 0 1px rgba(0, 0, 0, 0.36);
  pointer-events: none;
}

.desktop.is-selecting {
  cursor: crosshair;
}

.desktop-companion-layer {
  position: absolute;
  inset: 0 0 44px;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.desktop-companion {
  position: absolute;
  display: grid;
  place-items: center;
  width: 38px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  filter: drop-shadow(3px 5px 0 rgba(0, 0, 0, 0.42));
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  cursor: grab;
}

.desktop-companion.is-figure {
  width: 62px;
  height: 58px;
}

.desktop-companion.is-egg {
  width: 46px;
  height: 46px;
}

.desktop-companion.is-dragging {
  cursor: grabbing;
}

.desktop-companion.is-moving {
  transition: left 850ms steps(16), top 850ms cubic-bezier(0.18, 0.82, 0.28, 1);
}

.desktop-companion.is-egg.is-falling.is-moving {
  transition: top 1450ms cubic-bezier(0.22, 0.72, 0.16, 1.02);
}

.desktop-companion.is-figure.is-moving {
  transition: left 3600ms linear, top 1400ms ease-in-out;
}

.desktop-companion.is-spawning::before,
.desktop-companion.is-spawning::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 3px;
  content: "";
  background: #ffffff;
  pointer-events: none;
  transform: translate(-50%, -50%);
  image-rendering: pixelated;
}

.desktop-companion.is-spawning::before {
  box-shadow:
    -28px -16px 0 #ffffff,
    -18px -28px 0 #ff9aa5,
    -6px -22px 0 #f3f3f3,
    12px -30px 0 #ff2e45,
    25px -14px 0 #f3f3f3,
    30px 2px 0 #ffffff,
    18px 22px 0 #ffc7cd,
    4px 30px 0 #ededed,
    -16px 21px 0 #ffffff,
    -29px 5px 0 #ff6f7f;
  animation: companion-pixel-poof 680ms steps(6) forwards;
}

.desktop-companion.is-spawning::after {
  width: 2px;
  height: 2px;
  box-shadow:
    -34px -4px 0 #ffffff,
    -23px -34px 0 #dcdcdc,
    -2px -35px 0 #ffffff,
    21px -26px 0 #ff2e45,
    35px -2px 0 #dcdcdc,
    26px 26px 0 #ffffff,
    0 36px 0 #ffabb5,
    -25px 29px 0 #dcdcdc;
  animation: companion-pixel-poof-alt 680ms steps(6) forwards;
}

.companion-egg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(2px 4px 2px rgba(0, 0, 0, 0.42));
  animation: companion-egg-wiggle 8.5s steps(2) infinite;
}

.desktop-companion.is-spawning .companion-egg-img {
  animation:
    companion-summon 680ms steps(6),
    companion-egg-wiggle 8.5s steps(2) 900ms infinite;
}

.desktop-companion.is-cracking .companion-egg-img {
  animation: companion-crack-pop 240ms steps(3);
}

.desktop-companion.is-hatching .companion-egg-img {
  animation: companion-hatch 620ms steps(6) forwards;
}

.desktop-companion.is-landing .companion-egg-img {
  animation: companion-egg-land 420ms steps(5);
}

.desktop-companion.is-egg:not(.is-spawning):not(.is-falling):not(.is-landing):not(.is-cracking):not(.is-hatching):not(.is-dragging) .companion-egg-img {
  animation: companion-egg-restless 5.8s steps(8) infinite;
}

.desktop-companion.is-mobile-locked {
  cursor: pointer;
  filter:
    grayscale(1)
    saturate(0.05)
    contrast(0.82)
    brightness(0.9)
    drop-shadow(3px 5px 0 rgba(0, 0, 0, 0.42));
}

.desktop-companion.is-mobile-locked .companion-egg-img {
  animation: none;
}

.desktop-companion.is-mobile-locked.is-spawning .companion-egg-img {
  animation: companion-summon 680ms steps(6);
}

.desktop-companion.is-mobile-locked.is-voiding {
  pointer-events: none;
  animation: mobile-egg-void 680ms steps(8) forwards;
}

.desktop-companion.is-mobile-locked.is-voiding::before,
.desktop-companion.is-mobile-locked.is-voiding::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 3px;
  content: "";
  background: #f3f3f3;
  box-shadow:
    -20px -12px 0 #ffffff,
    -10px -24px 0 #9f9f9f,
    15px -18px 0 #e8e8e8,
    25px 3px 0 #ffffff,
    9px 22px 0 #aaaaaa,
    -18px 18px 0 #f4f4f4;
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: mobile-egg-void-pixels 680ms steps(6) forwards;
}

.desktop-companion.is-mobile-locked.is-voiding::after {
  width: 2px;
  height: 2px;
  box-shadow:
    -29px -2px 0 #f7f7f7,
    -4px -30px 0 #b8b8b8,
    29px -12px 0 #ffffff,
    22px 25px 0 #dadada,
    -9px 30px 0 #ffffff,
    -28px 13px 0 #9b9b9b;
}

.mobile-egg-message {
  position: absolute;
  z-index: 2;
  width: min(280px, calc(100vw - 28px));
  padding: 9px 10px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  color: #111;
  background: #e4e5e2;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.52);
  font-size: 11px;
  line-height: 1.35;
  pointer-events: none;
}

.companion-spirit {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  transform-origin: 50% 62%;
  animation:
    spirit-float 1080ms steps(4) infinite,
    spirit-flicker 620ms steps(2) infinite;
}

.spirit-glow,
.anger-sprite,
.spirit-trail,
.spirit-pixel {
  position: absolute;
  display: block;
  pointer-events: none;
}

.spirit-glow {
  inset: 6px 6px 4px;
  border-radius: 50%;
  background: rgba(255, 74, 16, 0.2);
  filter: blur(6px);
}

.anger-sprite {
  inset: 0;
  background: url("assets/final/os/companion/anger-sprite-sheet.png") 50% 0 / 300% 100% no-repeat;
  image-rendering: pixelated;
  filter:
    drop-shadow(0 0 4px rgba(255, 78, 18, 0.68))
    drop-shadow(2px 3px 0 rgba(0, 0, 0, 0.38));
}

.desktop-companion.is-figure.is-moving:not(.is-facing-left) .anger-sprite {
  background-position: 100% 0;
}

.desktop-companion.is-figure.is-moving.is-facing-left .anger-sprite {
  background-position: 0 0;
}

.desktop-companion.is-figure.is-dragging .anger-sprite {
  background-position: 50% 0;
}

.desktop-companion.is-figure.is-dragging .spirit-trail {
  opacity: 0;
}

.spirit-trail {
  top: 24px;
  width: 17px;
  height: 8px;
  background: linear-gradient(90deg, rgba(255, 132, 42, 0), rgba(255, 71, 17, 0.5));
  clip-path: polygon(0 46%, 42% 0, 100% 45%, 45% 100%);
  opacity: 0;
  animation: spirit-wisp 620ms steps(3) infinite;
}

.desktop-companion.is-figure.is-moving .spirit-trail {
  opacity: 0.74;
}

.desktop-companion.is-figure.is-moving:not(.is-facing-left) .spirit-trail {
  left: 0;
}

.desktop-companion.is-figure.is-moving.is-facing-left .spirit-trail {
  right: 0;
  transform: scaleX(-1);
}

.spirit-trail-two {
  top: 34px;
  width: 12px;
  height: 6px;
  opacity: 0;
  animation-delay: 180ms;
}

.spirit-pixel {
  width: 3px;
  height: 3px;
  background: #ffb044;
  box-shadow: 0 0 5px rgba(255, 82, 20, 0.78);
  animation: spirit-pixel-drift 940ms steps(3) infinite;
}

.spirit-pixel-one {
  left: 46px;
  top: 15px;
}

.spirit-pixel-two {
  left: 38px;
  top: 39px;
  width: 2px;
  height: 2px;
  animation-delay: 220ms;
}

.icon-art {
  position: relative;
  display: block;
  width: 42px;
  height: 38px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  background: var(--win-face);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55);
}

.icon-art::before,
.icon-art::after {
  content: "";
  position: absolute;
}

.icon-disc {
  width: 48px;
  height: 48px;
  border: 0;
  background: url("assets/final/os/icons/music-exe-icon-2.png") center / contain no-repeat;
  box-shadow: none;
  image-rendering: auto;
}

[data-window="music"] .icon-disc {
  animation: music-icon-idle 3.8s steps(10, end) infinite;
  filter:
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.24))
    drop-shadow(0 0 9px rgba(255, 46, 69, 0.18));
}

.music-sparkle {
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  pointer-events: none;
  opacity: 0;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.45),
    0 0 8px rgba(255, 255, 255, 0.9);
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
}

.music-sparkle-one {
  right: -4px;
  top: 5px;
  animation: music-sparkle-drift 3.2s steps(6, end) 420ms infinite;
}

.music-sparkle-two {
  left: 1px;
  bottom: 3px;
  width: 3px;
  height: 3px;
  animation: music-sparkle-drift-alt 4.1s steps(7, end) 1.35s infinite;
}

.icon-discord {
  width: 46px;
  height: 46px;
  border: 0;
  background: url("assets/final/os/icons/discord-icon.png") center / contain no-repeat;
  box-shadow: none;
  image-rendering: auto;
}

.icon-loot {
  width: 46px;
  height: 46px;
  border: 0;
  background: url("assets/final/os/icons/loot-icon.png") center / contain no-repeat;
  box-shadow: none;
  image-rendering: auto;
}

.icon-rar {
  width: 46px;
  height: 46px;
  border: 0;
  background: url("assets/final/os/icons/rar-icon.png") center / contain no-repeat;
  box-shadow: none;
  image-rendering: auto;
}

.icon-archive-pfp {
  width: 46px;
  height: 46px;
  border: 0;
  background: url("assets/final/os/icons/archive-pfp-icon.png") center / contain no-repeat;
  box-shadow: none;
  image-rendering: auto;
}

.icon-monitor {
  background: #d8dada;
}

.icon-monitor::before {
  inset: 7px 7px 13px;
  border: 2px solid var(--accent);
  background: #17191a;
}

.icon-monitor::after {
  left: 13px;
  right: 13px;
  bottom: -8px;
  height: 7px;
  background: var(--win-shadow);
  border: 1px solid var(--win-dark);
}

.icon-folder {
  width: 46px;
  height: 34px;
  margin-top: 8px;
  border-color: #fff6a8 #4f4204 #4f4204 #fff6a8;
  background: #d6b82a;
}

.icon-folder::before {
  left: 3px;
  top: -9px;
  width: 20px;
  height: 9px;
  border: 2px solid;
  border-color: #fff6a8 #4f4204 transparent #fff6a8;
  background: #d6b82a;
}

.icon-archive::before,
.icon-doc::before,
.icon-chip::before,
.icon-terminal::before,
.icon-bat::before {
  inset: 7px;
  border: 2px solid var(--accent);
}

.icon-archive::after {
  left: 8px;
  right: 8px;
  top: 17px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 7px 0 var(--accent);
}

.icon-terminal::before {
  top: 10px;
  bottom: 11px;
  border-left: 0;
  border-right: 0;
}

.icon-bat::before {
  display: none;
}

.icon-bat {
  width: 48px;
  height: 48px;
  border: 0;
  background: url("assets/final/os/icons/contact-icon-2.png") center / contain no-repeat;
  box-shadow: none;
  image-rendering: auto;
}

.icon-doc::before {
  display: none;
}

.icon-doc {
  width: 48px;
  height: 48px;
  border: 0;
  background: url("assets/final/os/icons/txt-default-icon.png") center / contain no-repeat;
  box-shadow: none;
  image-rendering: auto;
}

.icon-chip::before {
  display: none;
}

.icon-chip {
  width: 48px;
  height: 48px;
  border: 0;
  background: url("assets/final/os/icons/system-icon.png") center / contain no-repeat;
  box-shadow: none;
  image-rendering: auto;
}

.icon-game {
  width: 56px;
  height: 56px;
  border: 0;
  background: url("assets/final/os/icons/dawrunner-icon.png") center / contain no-repeat;
  box-shadow: none;
  image-rendering: auto;
}

.icon-portal {
  background: #f8f8f5;
}

.icon-portal::before {
  inset: 8px;
  background: #fff;
  box-shadow:
    inset 0 0 0 2px #dedede,
    0 0 0 1px rgba(0, 0, 0, 0.2);
}

.desktop-icon.is-portal-awake .icon-portal {
  background: #d4c4f7;
}

.desktop-icon.is-portal-awake .icon-portal::before {
  background: #6f38bd;
  box-shadow:
    inset 0 0 0 2px #b99cff,
    0 0 11px rgba(125, 57, 213, 0.72);
}

.desktop-icon.is-portal-open .icon-portal::after {
  left: 17px;
  top: 15px;
  width: 8px;
  height: 8px;
  background: #f4efff;
  box-shadow: 0 0 9px rgba(255, 255, 255, 0.82);
}

.window-layer {
  position: fixed;
  inset: 12px 10px 44px;
  z-index: 10;
  pointer-events: none;
}

.os-window {
  position: absolute;
  width: min(560px, calc(100vw - 28px));
  max-height: min(640px, calc(100vh - 72px));
  overflow: hidden;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  color: var(--paper-text);
  background: var(--win-face);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.58);
  pointer-events: auto;
}

.store-window {
  width: min(820px, calc(100vw - 28px));
}

.music-window {
  width: min(1040px, calc(100vw - 56px));
}

.game-window {
  width: min(900px, calc(100vw - 28px));
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.archive-window {
  width: min(680px, calc(100vw - 28px));
}

.game-window .window-body {
  overflow: hidden;
  padding: 8px;
  background: #cfd2d1;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.window-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 25px;
  margin: 2px;
  padding: 3px 3px 3px 7px;
  color: #fff;
  background:
    linear-gradient(90deg, var(--accent-dark), var(--accent) 58%, #f1a2ad);
  font-size: 12px;
  font-weight: 700;
  cursor: move;
  touch-action: none;
  user-select: none;
}

.window-controls,
.popup-controls {
  display: flex;
  gap: 2px;
  cursor: default;
}

.window-control,
.window-title button,
.popup-title button {
  display: grid;
  place-items: center;
  width: 20px;
  height: 18px;
  padding: 0;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  color: #000;
  background: var(--win-face);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.window-control {
  pointer-events: none;
}

.os-window.is-window-dragging {
  opacity: 0.96;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.62);
}

.window-body {
  max-height: calc(min(640px, calc(100vh - 72px)) - 33px);
  overflow: auto;
  margin: 0 2px 2px;
  padding: 14px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  background:
    linear-gradient(rgba(255, 46, 69, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 8px, auto;
}

.window-body h3 {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 18px;
}

.window-body p {
  margin: 0 0 14px;
  color: #181a1a;
  line-height: 1.45;
}

.window-body hr {
  border: 0;
  border-top: 1px solid var(--win-shadow);
  border-bottom: 1px solid var(--win-light);
  margin: 14px 0;
}

[data-open-window="contact"] .window-body {
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #070707;
}

.link-grid,
.file-list {
  display: grid;
  gap: 8px;
}

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

.os-link,
.file-row,
.store-slot {
  display: block;
  padding: 9px 10px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-shadow) var(--win-shadow) var(--win-light);
  color: #111;
  background: #dedfdf;
}

.os-link:hover,
.file-row:hover,
.store-slot:hover {
  color: #fff;
  background: var(--accent-dark);
}

.store-slot {
  min-height: 122px;
}

.store-slot b {
  display: block;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.store-slot span {
  color: var(--muted);
  font-size: 12px;
}

.archive-extract-window {
  width: min(430px, calc(100vw - 28px));
}

.archive-extract-window .window-body {
  padding: 10px;
  background: #d5d2ca;
}

.archive-extraction {
  display: grid;
  gap: 12px;
  color: #151515;
}

.archive-extraction-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.archive-extraction-icon {
  display: block;
  width: 38px;
  height: 38px;
  background: url("assets/final/os/icons/rar-icon.png") center / contain no-repeat;
}

.archive-extraction h3 {
  margin: 0 0 4px;
  color: #111;
  font-size: 15px;
}

.archive-extraction p {
  margin: 0;
  color: #3a3a3a;
  font-size: 11px;
}

.archive-progress {
  height: 19px;
  padding: 2px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  background: #efefeb;
}

.archive-progress span {
  display: block;
  width: 0;
  height: 100%;
  background:
    repeating-linear-gradient(
      90deg,
      #941020 0 8px,
      #c8172e 8px 16px,
      #e9b7bd 16px 20px
    );
  animation: archive-extract-progress 2200ms steps(18, end) forwards;
}

.archive-extract-log {
  display: grid;
  gap: 5px;
  padding: 8px;
  border: 1px solid #8f8a80;
  color: #1f2222;
  background: #f2f1eb;
  font: 11px "Courier New", Courier, monospace;
}

.archive-extract-log span::before {
  content: "> ";
  color: var(--accent-dark);
}

.archive-extraction.is-complete .archive-extraction-header h3::after {
  content: " complete";
  color: var(--accent-dark);
}

.archive-folder-window {
  display: grid;
  gap: 12px;
}

.archive-file-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(118px, 1fr));
  gap: 16px;
}

.archive-bat-file {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  min-height: 126px;
  padding: 14px 10px;
  border: 1px dotted transparent;
  color: #111;
  background: transparent;
  font: 12px "MS Sans Serif", Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  text-decoration: none;
}

.archive-bat-file:hover,
.archive-bat-file:focus-visible {
  color: #fff;
  background: var(--accent-dark);
  outline: 1px dotted #111;
}

.archive-bat-icon {
  display: block;
  width: 62px;
  height: 62px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  image-rendering: auto;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.42));
}

.archive-bat-one .archive-bat-icon {
  background-image: url("assets/final/os/icons/archive-1-bat-icon.png");
}

.archive-bat-two .archive-bat-icon {
  background-image: url("assets/final/os/icons/archive-2-bat-icon.png");
}

.archive-bat-three .archive-bat-icon {
  background-image: url("assets/final/os/icons/archive-3-bat-icon.png");
}

.archive-special-file .archive-bat-icon {
  background-image: url("assets/final/os/icons/archive-white-link-icon.png");
}

.videos-folder-window {
  display: grid;
  gap: 10px;
}

.folder-address-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  color: #252525;
  background: #f0f0ed;
  font-size: 11px;
}

.folder-address-bar span {
  color: #5b5f5f;
}

.folder-address-bar b {
  font-weight: 700;
}

.video-file-list {
  display: grid;
  gap: 8px;
}

.video-file {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 78px;
  padding: 8px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-shadow) var(--win-shadow) var(--win-light);
  color: #111;
  background: #dedfdf;
  text-decoration: none;
}

.video-file:hover,
.video-file:focus-visible {
  color: #fff;
  background: var(--accent-dark);
  outline: 0;
}

.video-thumb {
  display: block;
  width: 112px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #242424;
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
}

.video-file-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.video-file-name {
  font-size: 13px;
  font-weight: 700;
}

.video-file-meta,
.video-file-label {
  overflow-wrap: anywhere;
  color: #4b5050;
  font-size: 11px;
}

.video-file:hover .video-file-meta,
.video-file:hover .video-file-label,
.video-file:focus-visible .video-file-meta,
.video-file:focus-visible .video-file-label {
  color: #ffe6e9;
}

.store-slot em,
.asset-path {
  display: block;
  margin-top: 12px;
  color: #4d5151;
  font-size: 11px;
  font-style: normal;
  word-break: break-word;
}

.terminal-lines {
  display: grid;
  gap: 7px;
  color: #161818;
  font-family: "Courier New", Courier, monospace;
}

.terminal-lines span::before {
  content: "> ";
  color: var(--accent-dark);
}

.system-properties-lines span::before {
  content: "";
  margin: 0;
}

.system-properties-lines .system-child-property {
  position: relative;
  margin-left: 28px;
}

.system-properties-lines .system-child-property::before {
  content: "└>";
  position: absolute;
  left: -27px;
  color: #111;
}

.system-properties-lines .system-theme-name {
  color: #111;
}

.system-properties-lines .system-theme-name span {
  color: var(--accent);
}

.system-access-engaged {
  color: #168a32;
}

.system-access-disengaged {
  color: var(--accent);
}

.merch-protocol {
  display: grid;
  gap: 14px;
}

.portal-protocol {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 14px;
}

.portal-image {
  display: grid;
  min-height: 190px;
  place-items: center;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  color: #2a143f;
  background:
    radial-gradient(circle at 50% 50%, rgba(112, 49, 196, 0.24), transparent 54%),
    #d9d9d7;
  font-size: 72px;
  font-weight: 700;
}

.portal-panels {
  display: grid;
  gap: 12px;
}

.portal-panel {
  padding: 10px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-shadow) var(--win-shadow) var(--win-light);
  background: #e3e4e2;
}

.portal-panel h3 {
  margin: 0 0 9px;
  color: #4a2082;
}

.portal-inhabitants,
.portal-data {
  display: grid;
  gap: 6px;
  font-family: "Courier New", Courier, monospace;
}

.portal-inhabitants span,
.portal-data span {
  padding: 5px 7px;
  border: 1px solid rgba(0, 0, 0, 0.32);
  background: rgba(255, 255, 255, 0.42);
}

.store-header,
.fulfillment-note {
  padding: 12px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-shadow) var(--win-shadow) var(--win-light);
  background: #dedfdf;
}

.eyebrow,
.product-status {
  margin: 0 0 7px !important;
  color: var(--accent-dark) !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: none;
}

.eyebrow-theme-safire {
  color: var(--safire-blue) !important;
}

.store-header h3 {
  margin-bottom: 8px;
  color: var(--accent-dark);
}

.runner-game-shell {
  display: grid;
  gap: 6px;
  color: #101212;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.runner-game-toolbar,
.runner-game-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-shadow) var(--win-shadow) var(--win-light);
  background: #e5e6e4;
}

.runner-game-toolbar h3 {
  margin: 0;
  color: #080808;
  font-size: 18px;
}

.runner-game-footer span {
  display: inline-block;
  padding: 4px 6px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  background: #f7f7f4;
}

.runner-game-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 80 / 38;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  background: #eceeec;
  image-rendering: auto;
  outline: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.runner-game-canvas:focus-visible {
  box-shadow: 0 0 0 2px var(--accent);
}

.runner-mobile-controls {
  display: none;
}

.runner-game-footer {
  color: #3b3f3f;
  font-size: 10px;
}

.contact-terminal {
  min-height: 100%;
  color: #f5f5f5;
  font-family: "Courier New", Courier, monospace;
}

.contact-terminal-screen {
  position: relative;
  min-height: 410px;
  padding: 16px;
  overflow: hidden;
  border: 0;
  background:
    linear-gradient(180deg, rgba(255, 46, 69, 0.1), transparent 34%),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 4px),
    #070707;
  box-shadow:
    inset 0 0 0 1px rgba(255, 46, 69, 0.32),
    inset 0 0 34px rgba(255, 46, 69, 0.18);
}

.contact-terminal-lines {
  display: grid;
  gap: 7px;
  min-height: 166px;
  color: #e9eeee;
  font-size: 12px;
  line-height: 1.25;
}

.contact-terminal-lines span {
  display: block;
  width: 0;
  max-width: max-content;
  overflow: hidden;
  border-right: 7px solid transparent;
  white-space: nowrap;
  animation:
    contact-type 460ms steps(34, end) var(--line-delay) forwards,
    contact-cursor 460ms steps(2, end) var(--line-delay) forwards;
}

.contact-terminal-lines span::before {
  content: ">";
  margin-right: 7px;
  color: var(--accent);
}

.contact-terminal-result {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 46, 69, 0.66);
  background: rgba(255, 46, 69, 0.08);
  opacity: 0;
  transform: translateY(8px);
  animation: contact-result-arrive 420ms steps(4, end) 2860ms forwards;
}

.contact-terminal-result p {
  margin: 0;
  color: #f5f5f5;
  font-size: 13px;
  line-height: 1.35;
}

.contact-terminal-result a,
.terminal-email-copy {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.terminal-email-copy {
  justify-self: start;
  padding: 4px 7px;
  border: 1px solid rgba(255, 46, 69, 0.74);
  background: #120306;
  font: inherit;
}

.terminal-email-copy:hover,
.terminal-email-copy:focus-visible,
.contact-terminal-result a:hover,
.contact-terminal-result a:focus-visible {
  color: var(--accent);
  outline: 0;
}

.terminal-email-copy.is-copied {
  color: #111;
  background: #f5f5f5;
  text-decoration: none;
}

.game-master-warning {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-top: 12px;
  color: #e6e6e6;
  opacity: 0;
  transform: translateY(6px);
  animation: contact-result-arrive 420ms steps(4, end) 3320ms forwards;
}

.game-master-warning p {
  margin: 0;
  color: #e6e6e6;
  font-size: 12px;
  font-style: italic;
}

.contact-hint-button {
  padding: 3px 8px;
  border: 1px solid rgba(255, 46, 69, 0.72);
  color: #fff;
  background: #160306;
  font: 11px "Courier New", Courier, monospace;
  text-transform: lowercase;
}

.contact-hint-button:hover,
.contact-hint-button:focus-visible {
  color: var(--accent);
  outline: 0;
}

.contact-hint-popup {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  width: min(290px, calc(100% - 36px));
  border-width: 2px;
  border-style: solid;
  border-color: #fff #1b1b1b #1b1b1b #fff;
  color: #111;
  background: #d3d0c8;
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.58);
}

.contact-hint-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 22px;
  padding: 3px 4px;
  color: #fff;
  background: linear-gradient(90deg, #5d0610 0%, #c3162d 72%, #ee8c96 100%);
  font: 11px "MS Sans Serif", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
}

.contact-hint-titlebar button {
  display: grid;
  place-items: center;
  width: 18px;
  height: 17px;
  padding: 0;
  border-width: 2px;
  border-style: solid;
  border-color: #fff #444 #444 #fff;
  color: #111;
  background: #d3d0c8;
  font-size: 10px;
  line-height: 1;
}

.contact-hint-body {
  display: grid;
  gap: 12px;
  padding: 12px;
  font: 12px "MS Sans Serif", Tahoma, Geneva, Verdana, sans-serif;
}

.contact-hint-body p {
  margin: 0;
  line-height: 1.35;
}

.contact-hint-body a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
}

.contact-hint-body .inner-circle-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.hint-squared-button {
  justify-self: end;
  min-width: 68px;
  min-height: 23px;
  padding: 3px 8px;
  border-width: 2px;
  border-style: solid;
  border-color: #fff #404040 #404040 #fff;
  color: #111;
  background: #d3d0c8;
  box-shadow: inset -1px -1px 0 #878787, inset 1px 1px 0 #f5f5f5;
  font: 11px "MS Sans Serif", Tahoma, Geneva, Verdana, sans-serif;
}

.hint-squared-button:hover,
.hint-squared-button:focus-visible {
  outline: 0;
  background: #e5d6d8;
}

.contact-hint-popup-two {
  right: 42px;
  bottom: 54px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  min-height: 242px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  background: var(--win-face);
}

.product-image {
  display: grid;
  place-items: center;
  min-height: 100%;
  border-right: 2px solid var(--win-shadow);
  color: var(--accent-dark);
  background:
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.08) 0 2px, transparent 2px 8px),
    #d9dcdb;
  text-align: center;
}

.product-image span {
  max-width: 90px;
  font-size: 12px;
  line-height: 1.35;
}

.product-copy {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
}

.product-copy h4 {
  margin: 0;
  color: #111;
  font-size: 18px;
  line-height: 1.1;
}

.product-price {
  margin: 0 !important;
  color: var(--accent-dark) !important;
  font-size: 17px;
  font-weight: 700;
}

.product-copy label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
}

.product-copy select {
  min-height: 30px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  color: #111;
  background: #fff;
}

.buy-link,
.system-popup > button {
  display: grid;
  place-items: center;
  min-height: 34px;
  margin-top: 4px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  color: #fff;
  background: var(--accent-mid);
  font-weight: 700;
}

.buy-link:hover,
.buy-link:focus-visible,
.system-popup > button:hover {
  background: var(--accent-dark);
  outline: 0;
}

.music-program {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 12px;
}

.music-project-banner {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-shadow) var(--win-shadow) var(--win-light);
  color: #f5f5f5;
  background:
    linear-gradient(90deg, #080808, #3b050b 52%, #080808);
  box-shadow:
    inset 0 0 0 1px rgba(255, 46, 69, 0.44),
    inset 0 0 18px rgba(255, 46, 69, 0.12);
  font-family: "Courier New", Courier, monospace;
}

.project-abbrev,
.project-divider {
  color: #d7d7d7;
  font-size: 11px;
}

.project-abbrev {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  min-height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: #fff;
  background: var(--accent-dark);
  font-weight: 700;
  cursor: help;
}

.project-abbrev::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 0;
  top: calc(100% + 7px);
  z-index: 4;
  width: max-content;
  max-width: 190px;
  padding: 5px 7px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  color: #111;
  background: #f7f7f4;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.56);
  font: 11px "MS Sans Serif", Tahoma, Geneva, Verdana, sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-3px);
  transition: opacity 120ms steps(2), transform 120ms steps(2);
}

.project-abbrev:hover::after,
.project-abbrev:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.music-project-banner strong {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-shadow: 1px 0 var(--accent);
  white-space: nowrap;
}

.now-playing-panel,
.release-log-shell,
.release-info-panel,
.platform-strip {
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-shadow) var(--win-shadow) var(--win-light);
  background: #dedfdf;
}

.now-playing-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  color: #f7f7f4;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 18%),
    radial-gradient(circle at 22% 46%, rgba(255, 46, 69, 0.2), transparent 34%),
    #0a0a0a;
  box-shadow:
    inset 0 0 0 1px rgba(255, 46, 69, 0.5),
    inset 0 0 28px rgba(255, 46, 69, 0.12);
}

.release-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  max-width: 160px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  background:
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.09) 0 2px, transparent 2px 8px),
    #d3d6d5;
  overflow: hidden;
}

.release-art-large {
  max-width: none;
  box-shadow:
    0 0 0 1px #000,
    0 0 22px rgba(255, 46, 69, 0.22);
}

.release-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
}

.now-playing-copy {
  display: grid;
  align-content: center;
  gap: 10px;
  min-width: 0;
}

.now-playing-copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 0.95;
  text-shadow:
    1px 0 var(--accent-dark),
    0 0 14px rgba(255, 46, 69, 0.46);
}

.loaded-release-summary {
  margin: 0;
  color: #c9c9c9;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  line-height: 1.45;
}

.metadata-source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 5px 7px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  color: #111;
  background: #f7f7f4;
  font-size: 11px;
}

.metadata-source-strip b {
  color: var(--accent-dark);
}

.metadata-source-strip span {
  color: var(--muted);
}

.track-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}

.track-meta div {
  min-width: 0;
  padding: 8px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  background: #f7f7f4;
}

.track-meta dt {
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 700;
  text-transform: none;
}

.track-meta dd {
  margin: 3px 0 0;
  overflow: hidden;
  color: #111;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.now-playing-panel .track-meta div {
  border-color: #4c4c4c #ededed #ededed #4c4c4c;
  background: #eeeeea;
}

.track-meta.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 10px;
}

.release-info-meta.track-meta.compact {
  grid-template-columns: 1fr;
  gap: 6px;
  margin-bottom: 0;
}

.release-info-meta dd {
  white-space: normal;
  overflow-wrap: anywhere;
}

.loaded-release-player {
  display: grid;
  grid-template-columns: 38px 46px 38px minmax(96px, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 58px;
  padding: 8px 10px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  color: #111;
  background:
    linear-gradient(180deg, #f2f2ee, #bfc3c2);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.9),
    0 0 16px rgba(255, 46, 69, 0.16);
  font-family: "Courier New", Courier, monospace;
  text-decoration: none;
}

.loaded-release-player:hover,
.loaded-release-player:focus-visible {
  background:
    linear-gradient(180deg, #fff, #d8dad9);
  outline: 1px dotted #fff;
  outline-offset: 2px;
}

.loaded-release-player:active {
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
}

.player-button {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  color: #111;
  background: #e5e6e3;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.player-button-play {
  min-height: 42px;
  color: #fff;
  background: var(--accent-mid);
  font-size: 17px;
  text-shadow: 1px 0 #000;
}

.player-timeline {
  position: relative;
  display: block;
  height: 12px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 9px),
    #f7f7f4;
  overflow: hidden;
}

.player-timeline span {
  position: absolute;
  left: 0;
  top: -2px;
  display: block;
  width: 4px;
  height: calc(100% + 4px);
  background: var(--accent-dark);
  box-shadow:
    0 0 0 1px #fff,
    0 0 8px rgba(255, 46, 69, 0.62);
}

.player-time {
  color: #3a3a3a;
  font-size: 10px;
  white-space: nowrap;
}

.loaded-release-actions {
  display: none;
}

.play-release-button {
  display: inline-grid;
  align-items: center;
}

.platform-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
}

.release-log-shell,
.release-info-panel {
  min-height: 250px;
  padding: 10px;
  min-width: 0;
}

.release-log-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.release-log-header h3 {
  margin: 0;
  font-size: 16px;
}

.release-log-header span {
  color: var(--muted);
  font-size: 11px;
}

.release-log {
  display: grid;
  gap: 6px;
  max-height: 235px;
  overflow: auto;
}

.release-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 6px;
}

.release-row-link,
.release-info-button {
  min-height: 42px;
  border-width: 2px;
  border-style: solid;
}

.release-row-link {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-color: var(--win-light) var(--win-shadow) var(--win-shadow) var(--win-light);
  color: #111;
  background:
    linear-gradient(90deg, #f7f7f4, #e8e9e6);
}

.release-row-link:hover,
.release-row-link:focus-visible {
  color: #fff;
  background: var(--accent-dark);
  outline: 0;
}

.release-index {
  color: var(--accent-dark);
  font-weight: 700;
}

.release-row-link:hover .release-index,
.release-row-link:focus-visible .release-index {
  color: #fff;
}

.release-row-link b,
.release-row-link em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-theme-safire .release-row-link b {
  color: var(--safire-blue);
}

.release-theme-safire .release-index {
  color: var(--safire-blue);
}

.release-theme-safire .release-row-link:hover,
.release-theme-safire .release-row-link:focus-visible {
  color: #fff;
  background: var(--safire-blue);
}

.release-theme-safire .release-row-link:hover b,
.release-theme-safire .release-row-link:focus-visible b,
.release-theme-safire .release-row-link:hover .release-index,
.release-theme-safire .release-row-link:focus-visible .release-index {
  color: #fff;
}

.release-theme-safire .release-info-button:hover,
.release-theme-safire .release-info-button:focus-visible {
  color: #fff;
  background: var(--safire-blue);
}

.release-row-link em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.release-row-link:hover em,
.release-row-link:focus-visible em {
  color: #f1d2d7;
}

.release-theme-safire .release-row-link:hover em,
.release-theme-safire .release-row-link:focus-visible em {
  color: var(--safire-blue-soft);
}

.release-info-button {
  padding: 4px 7px;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  color: #111;
  background: var(--win-face);
  font-size: 11px;
}

.release-info-button:hover,
.release-info-button:focus-visible {
  color: #fff;
  background: var(--accent-mid);
  outline: 0;
}

@media (max-width: 760px), (hover: none), (pointer: coarse) {
  .release-row-link:hover,
  .release-row-link:focus-visible {
    color: #111;
    background: #f0f0ec;
  }

  .release-row-link:hover .release-index,
  .release-row-link:focus-visible .release-index {
    color: var(--accent-dark);
  }

  .release-row-link:hover em,
  .release-row-link:focus-visible em {
    color: var(--muted);
  }

  .release-theme-safire .release-row-link:hover,
  .release-theme-safire .release-row-link:focus-visible {
    color: #111;
    background: #f0f0ec;
  }

  .release-theme-safire .release-row-link:hover b,
  .release-theme-safire .release-row-link:focus-visible b,
  .release-theme-safire .release-row-link:hover .release-index,
  .release-theme-safire .release-row-link:focus-visible .release-index {
    color: var(--safire-blue);
  }

  .release-theme-safire .release-row-link:hover em,
  .release-theme-safire .release-row-link:focus-visible em {
    color: var(--muted);
  }

  .release-info-button:hover,
  .release-info-button:focus-visible,
  .release-theme-safire .release-info-button:hover,
  .release-theme-safire .release-info-button:focus-visible {
    color: #111;
    background: var(--win-face);
  }

  .release-row-link:active {
    color: #fff;
    background: var(--accent-dark);
  }

  .release-row-link:active .release-index,
  .release-row-link:active em {
    color: #fff;
  }

  .release-theme-safire .release-row-link:active {
    color: #fff;
    background: var(--safire-blue);
  }

  .release-theme-safire .release-row-link:active b,
  .release-theme-safire .release-row-link:active .release-index,
  .release-theme-safire .release-row-link:active em {
    color: #fff;
  }

  .release-info-button:active {
    color: #fff;
    background: var(--accent-mid);
  }

  .release-theme-safire .release-info-button:active {
    color: #fff;
    background: var(--safire-blue);
  }

  .release-row-link,
  .release-info-button {
    -webkit-tap-highlight-color: transparent;
  }
}

.release-info-panel {
  display: grid;
  align-content: start;
  overflow: hidden;
}

.release-info-empty {
  padding: 12px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  color: var(--muted);
  background: #f7f7f4;
  line-height: 1.45;
}

.release-info-content {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.release-info-visual {
  display: grid;
  gap: 8px;
}

.release-info-content h3 {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  color: var(--accent-dark);
  font-size: 18px;
}

.release-info-content p {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.45;
}

.release-info-theme-safire h3,
.release-info-theme-safire .track-meta dt,
.release-info-theme-safire .release-track-list span {
  color: var(--safire-blue);
}

.release-info-theme-safire .release-track-list h4 {
  background: var(--safire-blue);
}

.release-info-theme-safire .metadata-source-strip b {
  color: var(--safire-blue);
}

.release-track-list {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  background: #f7f7f4;
}

.release-notes-panel {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  background: #f7f7f4;
}

.release-notes-panel h4 {
  margin: 0;
  padding: 5px 7px;
  color: #fff;
  background: var(--accent-dark);
  font-size: 10px;
  text-transform: none;
}

.release-notes-panel p {
  margin: 0;
  padding: 8px;
  color: #111;
  font-size: 11px;
  line-height: 1.45;
}

.release-info-theme-safire .release-notes-panel h4 {
  background: var(--safire-blue);
}

.release-track-list h4 {
  margin: 0;
  padding: 5px 7px;
  color: #fff;
  background: var(--accent-dark);
  font-size: 10px;
  text-transform: none;
}

.release-track-list ol {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.release-track-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 5px;
  min-width: 0;
  padding: 5px 7px;
  border-top: 1px solid #c6c8c8;
  font-size: 11px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.release-track-list span {
  color: var(--accent-dark);
  font-weight: 700;
}

.system-popup {
  position: fixed;
  z-index: 40;
  left: 50%;
  top: 50%;
  width: min(390px, calc(100vw - 28px));
  transform: translate(-50%, -50%);
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  color: var(--paper-text);
  background: var(--win-face);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.6);
}

.popup-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px;
  padding: 3px 3px 3px 8px;
  color: #fff;
  background: var(--accent-dark);
  font-weight: 700;
}

.system-popup p {
  margin: 0;
  padding: 18px;
  line-height: 1.45;
}

.system-popup > button {
  width: 88px;
  margin: 0 18px 18px auto;
}

.start-menu {
  position: fixed;
  left: 4px;
  bottom: 36px;
  z-index: 24;
  display: grid;
  grid-template-columns: 38px minmax(190px, 230px);
  min-height: 286px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  color: #111;
  background: var(--win-face);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.58);
}

.start-menu-rail {
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 12px 0;
  color: #fff;
  background: var(--accent);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-orientation: mixed;
  text-transform: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.start-menu-list {
  display: grid;
  align-content: start;
  gap: 1px;
  padding: 5px;
}

.start-menu-link {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 4px 8px 4px 5px;
  color: #111;
}

.start-menu-link:hover,
.start-menu-link:focus-visible {
  color: #fff;
  background: var(--accent-dark);
  outline: 0;
}

.start-menu-separator {
  height: 2px;
  margin: 5px 3px;
  border-top: 1px solid var(--win-shadow);
  border-bottom: 1px solid var(--win-light);
}

.start-menu-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  background: #e1e3e3;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.34);
}

.start-menu-icon::before,
.start-menu-icon::after {
  content: "";
  position: absolute;
}

.social-instagram::before {
  inset: 4px;
  border: 2px solid var(--accent);
  border-radius: 4px;
}

.social-instagram::after {
  left: 9px;
  top: 9px;
  width: 4px;
  height: 4px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.social-tiktok::before {
  left: 10px;
  top: 4px;
  width: 4px;
  height: 14px;
  background: var(--accent);
  box-shadow: 5px 3px 0 -1px var(--accent);
}

.social-tiktok::after {
  left: 5px;
  bottom: 4px;
  width: 9px;
  height: 7px;
  border: 3px solid var(--accent);
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

.social-twitter::before {
  left: 5px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-left: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  transform: skewX(-18deg);
}

.social-youtube::before {
  inset: 5px 3px;
  background: var(--accent);
  border-radius: 3px;
}

.social-youtube::after {
  left: 10px;
  top: 8px;
  border-left: 6px solid #fff;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.social-soundcloud::before {
  left: 4px;
  right: 4px;
  bottom: 5px;
  height: 8px;
  background: var(--accent);
  border-radius: 999px;
}

.social-soundcloud::after {
  left: 7px;
  bottom: 10px;
  width: 11px;
  height: 8px;
  background: var(--accent);
  border-radius: 999px 999px 0 0;
}

.social-spotify {
  border-radius: 50%;
  background: #1e1f1f;
}

.social-spotify::before {
  left: 5px;
  right: 5px;
  top: 7px;
  height: 8px;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

.social-spotify::after {
  left: 7px;
  right: 7px;
  top: 15px;
  height: 2px;
  background: var(--accent);
}

.social-apple::before {
  left: 7px;
  top: 7px;
  width: 11px;
  height: 12px;
  background: var(--accent);
  border-radius: 45% 45% 50% 50%;
}

.social-apple::after {
  left: 13px;
  top: 3px;
  width: 7px;
  height: 4px;
  background: var(--accent);
  border-radius: 8px 0;
  transform: rotate(-28deg);
}

.social-enhanced {
  background: #1a070a;
}

.social-enhanced::before {
  left: 5px;
  right: 5px;
  top: 7px;
  height: 10px;
  border: 2px solid var(--accent);
  border-top: 0;
}

.social-enhanced::after {
  left: 8px;
  top: 4px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--accent);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.taskbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 4px;
  border-top: 2px solid var(--win-light);
  color: #111;
  background: var(--win-face);
  box-shadow: inset 0 1px #fff;
}

.start-button,
.task-readout,
.system-tray {
  min-height: 28px;
  border-width: 2px;
  border-style: solid;
}

.start-button {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 94px;
  padding: 3px 11px 3px 8px;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  color: #fff;
  background: var(--accent-mid);
  font-weight: 700;
}

.start-button.is-active {
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
  background: var(--accent-dark);
}

.start-button:active {
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
  padding: 4px 10px 2px 9px;
}

.start-mark {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  color: var(--accent-mid);
  background: #fff;
  font-size: 11px;
  line-height: 1;
}

.task-readout {
  flex: 1;
  min-width: 0;
  padding: 5px 10px;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  color: #141414;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: #dedfdf;
  font-size: 12px;
}

.system-tray {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 124px;
  padding: 4px 9px;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  background: #d7d9d9;
  font-size: 12px;
}

.enhanced-access-badge {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  padding: 1px 5px;
  border: 1px solid var(--accent-dark);
  color: #fff;
  background: var(--accent-mid);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.28);
  font-size: 10px;
  white-space: nowrap;
  text-transform: lowercase;
}

.tray-led {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 46, 69, 0.65);
}

.clock {
  margin-left: auto;
  white-space: nowrap;
}

.mobile-enhanced-access-button {
  display: none;
}

@keyframes static-shift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(8px, -6px); }
}

@keyframes boot-orbit-one {
  0%, 100% { transform: rotate(-18deg) scaleX(1); }
  50% { transform: rotate(-8deg) scaleX(1.08); }
}

@keyframes boot-orbit-two {
  0%, 100% { transform: rotate(64deg) scaleX(1); }
  50% { transform: rotate(74deg) scaleX(1.08); }
}

@keyframes boot-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes boot-core {
  0%, 100% { filter: brightness(1); transform: scale(1); }
  50% { filter: brightness(1.35); transform: scale(1.06); }
}

@keyframes boot-scan-horizontal {
  0%, 100% { transform: rotate(0deg) scaleX(0.24); opacity: 0.35; }
  50% { transform: rotate(180deg) scaleX(1); opacity: 0.8; }
}

@keyframes boot-scan-vertical {
  0%, 100% { transform: rotate(0deg) scaleY(0.2); opacity: 0.28; }
  50% { transform: rotate(180deg) scaleY(1); opacity: 0.72; }
}

@keyframes prompt-blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0.48; }
}

@keyframes login-error-shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

@keyframes access-overlay-unlock {
  0% {
    opacity: 0;
    filter: brightness(0.4);
  }

  8%,
  84% {
    opacity: 1;
    filter: brightness(1);
  }

  100% {
    opacity: 0;
    filter: brightness(1.55);
  }
}

@keyframes access-terminal-static {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  10%,
  84% {
    opacity: 0.58;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@keyframes access-terminal-enter {
  0% {
    opacity: 0;
    transform: translateY(10px);
    filter: brightness(1);
  }

  12% {
    opacity: 1;
    transform: translateY(0);
  }

  74% {
    opacity: 1;
    transform: translateY(0);
    filter: brightness(1);
  }

  84% {
    opacity: 1;
    filter: brightness(2.35);
  }

  100% {
    opacity: 0;
    transform: translateY(0);
    filter: brightness(1.25);
  }
}

@keyframes access-title-type {
  0% {
    width: 0;
  }

  100% {
    width: 26ch;
  }
}

@keyframes access-code-type {
  0% {
    opacity: 1;
    width: 0;
  }

  100% {
    opacity: 1;
    width: 100%;
  }
}

@keyframes access-cursor-leave {
  0%,
  82% {
    opacity: 1;
  }

  83%,
  100% {
    opacity: 0;
  }
}

@keyframes access-terminal-final-glow {
  0%,
  72% {
    opacity: 0;
  }

  78%,
  88% {
    opacity: 1;
    box-shadow: 0 0 18px rgba(255, 46, 69, 0.78);
  }

  100% {
    opacity: 0;
  }
}

@keyframes access-text-final-glow {
  0%,
  72% {
    text-shadow: none;
    filter: brightness(1);
  }

  82%,
  90% {
    text-shadow:
      0 0 7px rgba(255, 255, 255, 0.92),
      0 0 16px rgba(255, 46, 69, 0.92);
    filter: brightness(1.8);
  }

  100% {
    text-shadow: none;
    filter: brightness(1);
  }
}

@keyframes contact-type {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes contact-cursor {
  0%,
  84% {
    border-right-color: rgba(255, 46, 69, 0.85);
  }

  100% {
    border-right-color: transparent;
  }
}

@keyframes contact-result-arrive {
  0% {
    opacity: 0;
    transform: translateY(8px);
    filter: brightness(1.9);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: brightness(1);
  }
}

@keyframes archive-extract-progress {
  to {
    width: 100%;
  }
}

@keyframes music-icon-idle {
  0%,
  100% {
    transform: translateY(0);
    filter:
      drop-shadow(0 0 4px rgba(255, 255, 255, 0.22))
      drop-shadow(0 0 9px rgba(255, 46, 69, 0.16));
  }

  48% {
    transform: translateY(-2px);
    filter:
      drop-shadow(0 0 7px rgba(255, 255, 255, 0.42))
      drop-shadow(0 0 14px rgba(255, 46, 69, 0.28));
  }
}

@keyframes music-sparkle-drift {
  0%,
  46%,
  100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5) rotate(0);
  }

  58% {
    opacity: 1;
    transform: translate(4px, -5px) scale(1) rotate(45deg);
  }

  72% {
    opacity: 0;
    transform: translate(8px, -10px) scale(0.62) rotate(90deg);
  }
}

@keyframes music-sparkle-drift-alt {
  0%,
  52%,
  100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5) rotate(0);
  }

  64% {
    opacity: 0.92;
    transform: translate(-5px, -4px) scale(1.1) rotate(-45deg);
  }

  78% {
    opacity: 0;
    transform: translate(-10px, -8px) scale(0.6) rotate(-90deg);
  }
}

@keyframes companion-summon {
  0% {
    opacity: 0;
    transform: scale(0.72) rotate(-4deg);
  }

  28% {
    opacity: 0;
    transform: scale(0.72) rotate(-4deg);
  }

  29% {
    opacity: 1;
    transform: scale(1.12) rotate(3deg);
  }

  58% {
    opacity: 1;
    transform: scale(0.94) rotate(-2deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes companion-pixel-poof {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3) rotate(0);
  }

  18% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.55) rotate(0);
  }

  62% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.14) rotate(0);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5) rotate(0);
  }
}

@keyframes companion-pixel-poof-alt {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4) rotate(0);
  }

  22% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.75) rotate(0);
  }

  64% {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1.28) rotate(0);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.72) rotate(0);
  }
}

@keyframes companion-egg-wiggle {
  0%,
  86%,
  100% {
    transform: rotate(0);
  }

  88% {
    transform: rotate(-7deg);
  }

  90% {
    transform: rotate(6deg);
  }

  92% {
    transform: rotate(-4deg);
  }
}

@keyframes companion-crack-pop {
  0% {
    transform: scale(1) rotate(0);
  }

  38% {
    transform: scale(1.08) rotate(-6deg);
  }

  72% {
    transform: scale(0.96) rotate(5deg);
  }

  100% {
    transform: scale(1) rotate(0);
  }
}

@keyframes companion-egg-land {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0);
  }

  20% {
    transform: translate(0, 2px) scale(1.06, 0.94) rotate(-3deg);
  }

  40% {
    transform: translate(-2px, -1px) scale(0.98, 1.03) rotate(3deg);
  }

  62% {
    transform: translate(2px, 0) scale(1.02, 0.98) rotate(-2deg);
  }

  82% {
    transform: translate(-1px, 0) scale(1) rotate(1deg);
  }
}

@keyframes companion-egg-restless {
  0%,
  66%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0);
  }

  69% {
    transform: translate(0, 1px) scale(1.04, 0.96) rotate(-2deg);
  }

  72% {
    transform: translate(-1px, -1px) scale(0.99, 1.02) rotate(2deg);
  }

  75% {
    transform: translate(1px, 0) scale(1.02, 0.98) rotate(-1deg);
  }

  78% {
    transform: translate(0, 0) scale(1) rotate(1deg);
  }

  81% {
    transform: translate(0, 0) scale(1) rotate(0);
  }
}

@keyframes companion-hatch {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }

  35% {
    transform: scale(1.08) rotate(-8deg);
  }

  70% {
    transform: scale(0.96) rotate(8deg);
  }

  100% {
    opacity: 0;
    transform: scale(0.42) translateY(16px);
  }
}

@keyframes mobile-egg-void {
  0% {
    opacity: 1;
    filter:
      grayscale(1)
      saturate(0.05)
      contrast(0.82)
      brightness(0.9)
      drop-shadow(3px 5px 0 rgba(0, 0, 0, 0.42));
    transform: scale(1) rotate(0deg);
  }

  45% {
    opacity: 0.86;
    filter:
      grayscale(1)
      saturate(0)
      contrast(1.35)
      brightness(1.35)
      drop-shadow(0 0 10px rgba(255, 255, 255, 0.52));
    transform: scale(1.16) rotate(-7deg);
  }

  100% {
    opacity: 0;
    filter:
      grayscale(1)
      saturate(0)
      contrast(0.3)
      brightness(0.2)
      blur(2px);
    transform: scale(0.08) rotate(18deg);
  }
}

@keyframes mobile-egg-void-pixels {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
  }

  24% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.8);
  }
}

@keyframes spirit-float {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-4px) rotate(-1deg);
  }
}

@keyframes spirit-flicker {
  0%,
  100% {
    filter: drop-shadow(0 0 5px rgba(255, 74, 16, 0.78));
  }

  50% {
    filter: drop-shadow(0 0 9px rgba(255, 126, 32, 0.92));
  }
}

@keyframes spirit-wisp {
  0%,
  100% {
    transform: translateX(0) scaleX(1);
  }

  50% {
    transform: translateX(-4px) scaleX(1.18);
  }
}

@keyframes spirit-pixel-drift {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(8px, -7px);
  }
}

@media (max-width: 760px) {
  html,
  body {
    min-height: 100%;
    overflow: hidden;
  }

  .boot-screen {
    padding: 14px;
  }

  .login-panel {
    width: min(100%, 390px);
  }

  .login-brand {
    height: 118px;
  }

  .login-row {
    grid-template-columns: 78px 1fr;
  }

  .login-show-password {
    margin-left: 84px;
  }

  .login-footer {
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .login-footer p {
    width: 100%;
    margin-bottom: 4px;
  }

  .login-enhanced {
    min-width: 118px;
  }

  .enhanced-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .enhanced-consent,
  .enhanced-status {
    margin-left: 0;
  }

  .desktop {
    position: fixed;
    min-height: 100dvh;
    padding: 14px 10px 58px;
    overflow: auto;
    background-position: center top;
  }

  .desktop-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 98px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    gap: 12px 8px;
    padding-bottom: 180px;
  }

  .desktop-icon[data-window="music"] {
    grid-column: 2;
    grid-row: 5;
    justify-self: center;
    width: 132px;
    margin-top: 0;
  }

  .desktop-icon[data-window="system"] {
    grid-column: 1;
    grid-row: 1;
  }

  .desktop-icon[data-window="readme"] {
    grid-column: 2;
    grid-row: 1;
  }

  .desktop-icon[data-window="archive"] {
    grid-column: 3;
    grid-row: 1;
  }

  .desktop-icon[data-window="discord"] {
    grid-column: 1;
    grid-row: 2;
  }

  .desktop-icon[data-window="contact"] {
    grid-column: 2;
    grid-row: 2;
  }

  .desktop-icon[data-window="presets"] {
    grid-column: 3;
    grid-row: 2;
  }

  .desktop-icon[data-window="portal"] {
    grid-column: 1;
    grid-row: 3;
  }

  .desktop-icon[data-window="merch"] {
    grid-column: 2;
    grid-row: 3;
  }

  .desktop-icon[data-window="videos"] {
    grid-column: 3;
    grid-row: 3;
  }

  .desktop-icon[data-window="game"] {
    position: fixed;
    right: 12px;
    bottom: 64px;
    z-index: 3;
    width: 118px;
  }

  .desktop-icon {
    min-height: 96px;
    cursor: default;
    touch-action: manipulation;
  }

  .desktop-icon.is-positioned {
    position: static;
    width: auto;
  }

  .desktop-icon.is-dragging,
  .desktop-icon.is-selected {
    opacity: 1;
    background: transparent;
    border-color: transparent;
  }

  .desktop.is-selecting {
    cursor: default;
  }

  .selection-marquee {
    display: none !important;
  }

  .desktop-companion-layer {
    position: fixed;
    inset: 0 0 46px;
    z-index: 4;
    display: block !important;
    pointer-events: none;
  }

  .desktop-companion {
    pointer-events: auto;
  }

  .start-menu {
    left: 6px;
    right: 6px;
    bottom: 46px;
    width: auto;
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .window-layer {
    position: fixed;
    inset: 8px 6px 48px;
    z-index: 20;
  }

  .os-window {
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    max-height: calc(100dvh - 56px);
    height: calc(100dvh - 56px);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.58);
  }

  .window-title {
    min-height: 30px;
    cursor: default;
  }

  .window-title button {
    width: 26px;
    height: 24px;
  }

  .window-body {
    max-height: calc(100dvh - 92px);
    padding: 10px;
  }

  .link-grid,
  .platform-strip,
  .product-grid,
  .product-card,
  .video-file,
  .archive-file-grid,
  .music-program,
  .now-playing-panel,
  .release-info-content,
  .portal-protocol {
    grid-template-columns: 1fr;
  }

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

  .video-thumb {
    width: 100%;
  }

  .music-window,
  .store-window,
  .archive-window,
  .game-window,
  .archive-extract-window {
    width: 100% !important;
  }

  .music-window .window-body {
    padding: 10px;
  }

  .music-program .now-playing-panel {
    order: 1;
  }

  .music-program .release-log-shell {
    order: 2;
  }

  .music-program .release-info-panel {
    order: 3;
  }

  .music-program .platform-strip {
    order: 4;
  }

  .game-window .window-body {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 92px);
    padding: 8px;
  }

  .now-playing-panel {
    gap: 12px;
  }

  .loaded-release-player {
    grid-template-columns: 38px 46px 38px minmax(0, 1fr);
  }

  .player-time {
    grid-column: 1 / -1;
    text-align: right;
  }

  .release-log {
    max-height: 240px;
  }

  .contact-terminal-screen {
    min-height: calc(100dvh - 96px);
    padding: 12px;
  }

  .contact-terminal-lines {
    font-size: 11px;
  }

  .track-meta,
  .track-meta.compact {
    grid-template-columns: 1fr;
  }

  .release-art-large {
    max-width: 220px;
  }

  .runner-game-shell {
    display: block;
    flex: 1;
    height: 100%;
    min-height: 100%;
  }

  .runner-game-canvas {
    width: 100%;
    height: 100%;
    min-height: 50dvh;
    object-fit: fill;
    touch-action: none;
  }

  .runner-mobile-controls {
    display: none !important;
  }

  .product-image {
    min-height: 130px;
    border-right: 0;
    border-bottom: 2px solid var(--win-shadow);
  }

  .task-readout {
    display: none;
  }

  .system-tray {
    margin-left: auto;
    min-width: 154px;
    padding: 2px;
    gap: 0;
  }

  .system-tray .enhanced-access-badge,
  .system-tray .tray-led,
  .system-tray .clock {
    display: none;
  }

  .mobile-enhanced-access-button {
    display: block;
    width: 100%;
    min-height: 24px;
    padding: 3px 8px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
    color: #fff;
    background: var(--accent-mid);
    font: 700 10px "MS Sans Serif", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.1;
    text-align: center;
    text-transform: lowercase;
    white-space: nowrap;
  }

  .mobile-enhanced-access-button.is-active {
    border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
    color: #06280e;
    background: #7fd58a;
  }
}

@media (max-width: 420px) {
  .desktop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    gap: 10px 6px;
    padding-bottom: 168px;
  }

  .archive-file-grid {
    grid-template-columns: 1fr;
  }

  .desktop-icon[data-window="music"] {
    grid-column: 2;
    grid-row: 5;
    width: 128px;
  }

  .desktop-icon[data-window="game"] {
    right: 8px;
    bottom: 62px;
    width: 112px;
  }
}

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

  .desktop-companion-layer {
    display: none;
  }
}
