:root {
  --navy: #000080;
  --pink: #deacd1;
  --pink-deep: #ba7ca9;
  --paper: #ffffff;
  --chrome: #c7c7c7;
  --ink: #20202a;
  --muted: #62626e;
  --line: #8b8b8b;
  --taskbar-height: 48px;
  --font: Tahoma, "Segoe UI", sans-serif;
  color-scheme: light;
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  height: 100dvh;
  overflow: hidden;
  background: #44a4d1;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
a {
  color: var(--navy);
  text-underline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #000080;
  outline-offset: 3px;
}
button:focus:not(:focus-visible) {
  outline: none;
}
button img {
  pointer-events: none;
}
button {
  border-radius: 0;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
p {
  line-height: 1.7;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.16;
  font-weight: 700;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
  line-height: 1.25;
}
h3 {
  font-size: 14px;
}
small {
  font-size: 12px;
}
hr {
  border: 0;
  border-top: 1px solid #d8d8d8;
  margin: 24px 0;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  background: white;
  padding: 12px;
  z-index: 100000;
}
.skip-link:focus {
  top: 12px;
}
.bevel {
  border: 2px solid;
  border-color: #fff #555 #555 #fff;
  background: var(--chrome);
  box-shadow: 1px 1px 0 #222;
  padding: 8px 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 35px;
}
.bevel:active,
.bevel[aria-pressed="true"] {
  border-color: #555 #fff #fff #555;
  box-shadow: none;
}
.primary {
  background: var(--navy);
  color: white;
  border-color: #8181c0 #000035 #000035 #8181c0;
}
.primary:focus-visible {
  outline-color: #e92a98;
}
.wallpaper {
  position: fixed;
  inset: 0;
  background: url("assets/wallpaper.webp") center/cover no-repeat;
  pointer-events: none;
}
.crt-overlay {
  position: fixed;
  inset: 0;
  z-index: 6000;
  pointer-events: none;
  background: url("assets/crt-texture.jpeg") center/cover;
  mix-blend-mode: overlay;
  opacity: 0.13;
}
body.no-crt .crt-overlay {
  display: none;
}
#main-content {
  height: calc(100dvh - var(--taskbar-height));
  position: relative;
  isolation: isolate;
}
.desktop {
  position: absolute;
  inset: 0;
}
.desktop-icon {
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  position: absolute;
  width: 108px;
  min-height: 110px;
  padding: 7px 3px;
  border: 1px solid transparent;
  background: transparent;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  user-select: none;
  touch-action: pan-y;
  outline-offset: 0 !important;
}
.desktop-icon img {
  -webkit-touch-callout: none;
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(2px 3px 1px #0005);
  image-rendering: auto;
}
.desktop-icon[data-app="portrait"] img {
  object-fit: cover;
  border: 2px solid #ccc;
  image-rendering: auto;
}
.desktop-icon span {
  font-size: 12px;
  line-height: 1.25;
  max-width: 118px;
  overflow-wrap: normal;
  text-shadow:
    1px 1px #111,
    -1px -1px #111,
    1px -1px #111,
    -1px 1px #111;
}
.desktop-icon:focus-visible {
  background: #b9d6f533;
  border: 1px dotted white;
}
@media (hover: hover) and (pointer: fine) {
  .desktop-icon:hover {
    background: #b9d6f533;
    border: 1px dotted white;
  }
}
.desktop-icon.selected {
  background: #00008055;
  border: 1px dotted #fff;
}
html[data-input="touch"] .desktop-icon:hover:not(:focus-visible),
html[data-input="pen"] .desktop-icon:hover:not(:focus-visible) {
  background: transparent;
  border-color: transparent;
}
.desktop-icon.dragging {
  z-index: 5000 !important;
  opacity: 0.85;
}
.desktop-icon.trash-target {
  background: #ffeffa88;
  outline: 2px dotted #fff;
}
.desktop-hint {
  position: absolute;
  bottom: 16px;
  left: 22px;
  color: white;
  text-shadow: 1px 1px #333;
  font-size: 11px;
  pointer-events: none;
}
.windows {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.app-window {
  position: absolute;
  background: var(--chrome);
  border: 2px solid;
  border-color: #fff #333 #333 #fff;
  padding: 3px;
  box-shadow: 2px 3px 0 #0005;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  min-width: 280px;
  min-height: 180px;
}
.app-window:focus {
  outline: none;
}
.window-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 29px;
  padding: 3px 4px;
  background: #777;
  color: #fff;
  user-select: none;
  touch-action: none;
  flex-shrink: 0;
}
.app-window.active .window-titlebar {
  background: var(--navy);
}
.app-window[data-skin="pink"].active .window-titlebar {
  background: #c62182;
}
.window-titlebar > img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.window-title {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 5px;
  letter-spacing: 0;
}
.window-controls {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}
.window-controls button {
  color: #16161a;
  padding: 2px 5px;
  min-height: 23px;
  font-size: 10px;
  box-shadow: none;
  min-width: 30px;
}
.window-body {
  background: var(--paper);
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  margin-top: 3px;
  border: 2px solid;
  border-color: #777 #fff #fff #777;
  scrollbar-color: #aaa #ececec;
  scrollbar-width: thin;
}
.window-statusbar {
  font-size: 10px;
  min-height: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 7px;
  color: #45454d;
  flex-shrink: 0;
  gap: 8px;
}
.resize-handle {
  border: none;
  background: transparent;
  cursor: nwse-resize;
  font-size: 10px;
  touch-action: none;
  padding: 3px;
  color: #555;
}
.app-window.maximized .resize-handle {
  display: none;
}
.app-window.inactive-mobile {
  display: none;
}
.sheet {
  padding: 26px 28px;
}
.eyebrow {
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  color: var(--muted);
  margin-bottom: 15px;
}
.welcome-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 3px 0 18px;
}
.welcome-heading img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.welcome-heading h1 {
  font-size: 29px;
}
.welcome-intro {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 20px;
}
.actions .bevel {
  font-size: 12px;
}
.small-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 20px;
}
.welcome-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  border-top: 1px solid #ddd;
  padding-top: 14px;
  font-size: 11px;
  color: var(--muted);
}
.text-button {
  border: 0;
  padding: 3px 0;
  background: none;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 11px;
}
.notepad-menu {
  display: flex;
  gap: 18px;
  padding: 6px 12px;
  font-size: 11px;
  background: #eaeaea;
  border-bottom: 1px solid #b3b3b3;
}
.notepad-copy {
  font-family: "Tahoma", "Segoe UI", sans-serif;
  padding: 18px;
  line-height: 1.55;
  color: #102040;
  font-size: 13px;
}
.notepad-copy h1 {
  font-family: var(--font);
  margin-bottom: 24px;
}
.notepad-copy p + p {
  margin-top: 17px;
}
.player-heading {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-bottom: 16px;
}
.player-heading img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.player-heading h1 {
  font-size: 25px;
}
.player-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #969696;
  margin: 20px 0;
}
.tabs button {
  padding: 8px 13px;
  border: 1px solid #999;
  border-bottom: 0;
  background: #e2e2e2;
  font-size: 12px;
  min-height: 35px;
}
.tabs button[aria-selected="true"] {
  background: var(--paper);
  font-weight: bold;
  box-shadow: 0 2px var(--paper);
}
.track-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #c8c8c8;
}
.track-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border-bottom: 1px solid #e1e1e1;
}
.track-list li:last-child {
  border-bottom: 0;
}
.track-no {
  font-size: 11px;
  color: #888;
  width: 18px;
}
.track-meta {
  flex: 1;
}
.track-meta strong {
  display: block;
  font-size: 12px;
  line-height: 1.4;
}
.track-meta small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.track-list a {
  font-size: 11px;
}
.embed-placeholder {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
  text-align: center;
  padding: 23px;
  background: #f0eef4;
  border: 1px solid #c6c1d0;
}
.embed-placeholder p {
  font-size: 12px;
  color: #555;
  max-width: 340px;
}
.spotify-frame {
  display: block;
  width: 100%;
  height: 352px;
  border: 0;
  background: #e9e7ed;
}
.embed-status {
  font-size: 11px;
  color: #666;
  line-height: 1.6;
  margin: 10px 0;
}
.album-header {
  padding: 22px 26px 16px;
  background: #ffe2f1;
  border-bottom: 1px solid #e8b5d0;
}
.album-header h1 {
  font-size: 25px;
  color: #8d145a;
}
.album-header p {
  font-size: 12px;
  margin-top: 8px;
  color: #75455f;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 22px;
  background: #fff5fa;
}
.gallery-item {
  padding: 6px;
  border: 1px solid #d8a2be;
  box-shadow: 2px 2px #efc8dd;
  background: white;
  text-align: left;
}
.gallery-item img {
  width: 100%;
  height: 115px;
  object-fit: cover;
}
.gallery-item span {
  display: block;
  font-size: 10px;
  margin: 9px 3px 4px;
  line-height: 1.5;
  color: #59354b;
}
.album-footer {
  padding: 16px 24px;
  background: #fff5fa;
  border-top: 1px solid #efd4e2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
}
.album-footer a {
  white-space: nowrap;
}
.project-head {
  display: flex;
  gap: 17px;
  align-items: center;
  margin: 4px 0 23px;
}
.project-head > img {
  width: 60px;
  height: 60px;
}
.project-head h1 {
  font-size: 25px;
}
.project-head p {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
}
.file-links {
  display: grid;
  gap: 8px;
}
.file-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px;
  border: 1px solid #d4d4d4;
  background: #f7f7f7;
  color: #111;
  text-decoration: none;
}
.file-link:hover {
  background: #ebebfb;
  border-color: #8383b0;
}
.file-link img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.file-link strong {
  display: block;
  font-size: 12px;
}
.file-link small {
  display: block;
  font-size: 10px;
  color: #666;
  margin-top: 4px;
}
.portrait-view {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 220px;
  background: #dfdfdf;
  padding: 16px;
}
.portrait-view img {
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  box-shadow: 2px 2px 0 #777;
}
.mail-head {
  padding: 12px 20px;
  background: #efefef;
  font-size: 11px;
  border-bottom: 1px solid #aaa;
  line-height: 2;
}
.mail-head span {
  color: #666;
  display: inline-block;
  width: 48px;
}
.mail-copy {
  padding: 24px;
}
.mail-copy h1 {
  font-size: 27px;
  margin-bottom: 15px;
}
.email-address {
  display: block;
  font-family: "Lucida Console", monospace;
  font-size: 17px;
  overflow-wrap: anywhere;
  margin: 23px 0 6px;
}
.mail-copy .small-note {
  margin-top: 13px;
}
.setting-row {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 17px 0;
  border-bottom: 1px solid #ddd;
  line-height: 1.5;
}
.setting-row input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--navy);
  margin-top: 1px;
}
.setting-row strong {
  font-size: 12px;
  display: block;
}
.setting-row small {
  font-size: 11px;
  color: #666;
  display: block;
  margin-top: 4px;
}
.settings-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.settings-heading img {
  width: 35px;
  height: 35px;
}
.settings-heading h1 {
  font-size: 25px;
}
.trash-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.trash-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}
.trash-list img {
  width: 30px;
  height: 30px;
}
.trash-list span {
  flex: 1;
  font-size: 12px;
}
.trash-list button {
  font-size: 11px;
}
.trash-empty {
  padding: 25px 0;
  text-align: center;
}
.trash-empty img {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
}
.trash-empty p {
  font-size: 12px;
}
.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5500;
  height: calc(var(--taskbar-height) + env(safe-area-inset-bottom));
  padding: 5px 8px calc(5px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--pink);
  border-top: 2px solid #fff;
  box-shadow: 0 -1px #9e648d;
}
.start-button {
  height: 35px;
  padding: 2px 10px;
  background: var(--pink);
  min-width: 93px;
  font-size: 12px;
}
.start-button img {
  object-fit: contain;
}
.desktop-button {
  font-size: 10px;
  padding: 5px 8px;
  height: 32px;
  min-height: 32px;
  background: #e6bfdc;
}
.taskbar-apps {
  flex: 1;
  display: flex;
  gap: 5px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.taskbar-app {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 95px;
  max-width: 170px;
  flex: 1;
  border: 2px solid;
  border-color: #fff #a27294 #a27294 #fff;
  background: #e8bedc;
  height: 32px;
  padding: 4px 7px;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.taskbar-app span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.taskbar-app img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}
.taskbar-app[aria-pressed="true"] {
  border-color: #a27294 #fff #fff #a27294;
  background: #f4d6eb;
}
.tray-button {
  padding: 4px;
  border: 0;
  background: transparent;
  flex-shrink: 0;
}
.clock {
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid;
  border-color: #ae7c9e #f9dfef #f9dfef #ae7c9e;
  padding: 8px;
  min-width: 65px;
  text-align: center;
}
.start-menu {
  position: fixed;
  bottom: calc(var(--taskbar-height) + env(safe-area-inset-bottom));
  left: 8px;
  z-index: 5600;
  display: flex;
  padding: 3px;
  align-items: stretch;
  width: 275px;
  max-height: calc(100dvh - var(--taskbar-height) - 12px);
  box-shadow: 3px 3px #0006;
}
.start-brand {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: var(--navy);
  color: #c5c5ea;
  padding: 13px 8px;
  font-size: 22px;
  letter-spacing: 1px;
  text-align: left;
}
.start-brand strong {
  color: #fff;
}
.start-items {
  flex: 1;
  overflow-y: auto;
}
.start-item {
  display: flex;
  width: 100%;
  gap: 12px;
  align-items: center;
  border: 0;
  background: transparent;
  text-decoration: none;
  color: #111;
  padding: 9px 12px;
  min-height: 39px;
  text-align: left;
  font-size: 12px;
}
.start-item img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}
.start-item:hover,
.start-item:focus-visible {
  background: var(--navy);
  color: #fff;
  outline-offset: -3px;
  outline-color: white;
}
.start-separator {
  border-top: 1px solid #888;
  border-bottom: 1px solid #fff;
  margin: 5px 6px;
}
.lightbox {
  padding: 0;
  border: 3px solid #c62182;
  background: #fff5fa;
  box-shadow: 6px 6px #0005;
  max-width: calc(100vw - 28px);
  max-height: calc(100dvh - 28px);
  width: 960px;
  overflow: auto;
}
.lightbox::backdrop,
.confirm-dialog::backdrop {
  background: #071327c9;
}
.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 7px 12px;
  background: #c62182;
  color: #fff;
}
.lightbox-toolbar h2 {
  font-size: 13px;
  letter-spacing: 0;
}
.lightbox-toolbar button {
  font-size: 11px;
  padding: 4px 10px;
  min-height: 30px;
  color: #111;
}
.lightbox > img {
  width: 100%;
  max-height: calc(100dvh - 160px);
  object-fit: contain;
  background: #15121c;
}
.lightbox-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px;
  font-size: 11px;
}
.lightbox-footer button {
  font-size: 11px;
}
.confirm-dialog {
  display: block;
  padding: 24px;
  max-width: calc(100vw - 32px);
  width: 400px;
}
.confirm-dialog:not([open]) {
  display: none;
}
.confirm-dialog h2 {
  font-size: 20px;
  margin-bottom: 15px;
}
.confirm-dialog p {
  font-size: 12px;
}
.notification {
  position: fixed;
  bottom: calc(var(--taskbar-height) + 14px + env(safe-area-inset-bottom));
  right: 16px;
  z-index: 6500;
  max-width: min(360px, calc(100vw - 32px));
  background: #fffbe5;
  padding: 14px 18px;
  font-size: 12px;
  line-height: 1.6;
}
.dance {
  position: fixed;
  inset: 0;
  z-index: 6400;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: #0003;
}
.dance img {
  max-height: 70vh;
  max-width: 75vw;
  width: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 5px white);
}
.dance button {
  pointer-events: auto;
  position: absolute;
  bottom: 80px;
  font-size: 12px;
}
.fallback {
  position: relative;
  background: white;
  max-width: 650px;
  padding: 35px;
  margin: 30px;
}
.fallback p {
  margin-top: 15px;
}
.fallback nav {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}
body.ready .fallback {
  display: none;
}
.mine-app {
  padding: 19px;
}
.mine-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #c0c0c0;
  padding: 10px;
  border: 2px solid;
  border-color: #777 #fff #fff #777;
}
.mine-counter {
  font-family: "Lucida Console", monospace;
  background: #202020;
  color: #ff5a6c;
  font-size: 21px;
  padding: 4px 8px;
  min-width: 64px;
  text-align: center;
}
.mine-toolbar button {
  font-size: 11px;
}
.mine-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0;
}
.mine-options label {
  font-size: 11px;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.mine-options input {
  accent-color: var(--navy);
}
.mine-status {
  font-size: 11px;
  line-height: 1.5;
  min-height: 34px;
  margin-bottom: 9px;
}
.mine-board {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 1px;
  background: #8c8c8c;
  border: 3px solid;
  border-color: #777 #fff #fff #777;
  padding: 4px;
  max-width: 324px;
  margin: auto;
  aspect-ratio: 1;
}
.mine-cell {
  min-width: 0;
  padding: 0;
  border: 2px solid;
  border-color: #fff #777 #777 #fff;
  background: #c6c6c6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Lucida Console", monospace;
  font-size: 15px;
  font-weight: bold;
  aspect-ratio: 1;
  touch-action: manipulation;
}
.mine-cell.revealed {
  border: 1px solid #aaa;
  background: #dedede;
}
.mine-cell[data-number="1"] {
  color: #0000a0;
}
.mine-cell[data-number="2"] {
  color: #086510;
}
.mine-cell[data-number="3"] {
  color: #bf1225;
}
.mine-cell[data-number="4"] {
  color: #500080;
}
.mine-cell[data-number="5"],
.mine-cell[data-number="6"],
.mine-cell[data-number="7"],
.mine-cell[data-number="8"] {
  color: #642b10;
}
.mine-cell img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.mine-cell.flagged {
  color: #a4003f;
}
.mine-cell.triggered {
  background: #ff9ca6;
}
.leaderboard {
  margin-top: 20px;
  border-top: 1px solid #ccc;
  padding-top: 15px;
}
.leaderboard h2 {
  font-size: 15px;
  letter-spacing: 0;
  margin-bottom: 6px;
}
.leaderboard p {
  font-size: 10px;
  color: #666;
}
.score-list {
  padding: 0;
  margin: 10px 0;
  list-style: none;
}
.score-list li {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 11px;
  border-bottom: 1px dotted #ccc;
}
.score-form {
  margin-top: 12px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
}
.score-form label {
  display: block;
  flex: 1;
  font-size: 11px;
}
.score-form input {
  display: block;
  width: 100%;
  padding: 8px;
  border: 2px inset #ddd;
  margin-top: 6px;
  min-width: 0;
}
.score-form button {
  font-size: 11px;
}
.mine-help {
  font-size: 10px;
  color: #666;
  margin-top: 10px;
  line-height: 1.6;
}
@media (min-width: 801px) {
  .app-window {
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - var(--taskbar-height) - 24px);
  }
}
@media (max-width: 800px), (max-width: 960px) and (max-height: 500px) {
  :root {
    --taskbar-height: 54px;
  }
  body {
    height: 100dvh;
  }
  #main-content {
    height: calc(100dvh - var(--taskbar-height) - env(safe-area-inset-bottom));
  }
  .wallpaper {
    background-image: url("assets/wallpaper-mobile.webp");
    background-position: center;
  }
  .desktop {
    top: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(110px, auto);
    gap: 9px;
    padding: 10px 12px 28px;
    overflow-y: auto;
    align-content: start;
    overscroll-behavior: contain;
  }
  .desktop-icon {
    position: absolute;
    min-width: 0;
    width: 100%;
    min-height: 110px;
    padding: 8px 2px;
    touch-action: pan-y;
  }
  .desktop-icon img {
    width: 52px;
    height: 52px;
  }
  .desktop-icon span {
    font-size: 11px;
    max-width: 104px;
  }
  .desktop-hint {
    display: none;
  }
  .windows {
    z-index: 10;
  }
  .app-window {
    position: absolute !important;
    inset: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    max-height: none;
    min-width: 0;
    min-height: 0;
    border-width: 0;
    padding: 3px;
  }
  .window-titlebar {
    min-height: 38px;
    padding: 5px;
  }
  .window-title {
    font-size: 11px;
  }
  .window-controls button {
    min-height: 30px;
    padding: 4px 7px;
    font-size: 10px;
  }
  .window-controls .maximize-button {
    display: none;
  }
  .window-statusbar {
    min-height: 26px;
  }
  .resize-handle {
    display: none;
  }
  .window-body {
    overscroll-behavior: contain;
  }
  .sheet {
    padding: 23px 20px;
  }
  .welcome-heading {
    gap: 13px;
  }
  .welcome-heading img {
    width: 55px;
    height: 55px;
  }
  .welcome-heading h1 {
    font-size: 28px;
  }
  .welcome-intro {
    font-size: 14px;
  }
  .welcome-foot {
    gap: 12px;
    flex-wrap: wrap;
  }
  .notepad-copy {
    padding: 24px 20px;
    line-height: 1.9;
    font-size: 12px;
  }
  .notepad-copy h1 {
    font-size: 27px;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 17px;
    gap: 12px;
  }
  .gallery-item img {
    height: 105px;
  }
  .album-header {
    padding: 23px 19px 18px;
  }
  .album-header h1 {
    font-size: 24px;
  }
  .album-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }
  .player-heading {
    gap: 13px;
  }
  .player-heading h1 {
    font-size: 23px;
  }
  .player-heading img {
    width: 44px;
    height: 44px;
  }
  .track-list li {
    padding: 12px 9px;
    gap: 7px;
  }
  .track-list a {
    font-size: 10px;
  }
  .track-meta strong {
    font-size: 11px;
  }
  .track-meta small {
    font-size: 10px;
  }
  .track-no {
    width: 13px;
  }
  .project-head h1 {
    font-size: 24px;
    overflow-wrap: anywhere;
  }
  .project-head > img {
    width: 45px;
    height: 45px;
  }
  .taskbar {
    gap: 5px;
    padding-left: 6px;
    padding-right: 6px;
  }
  .start-button {
    min-width: 77px;
    padding: 3px 7px;
    height: 38px;
  }
  .desktop-button {
    min-height: 38px;
    padding: 5px;
    font-size: 10px;
  }
  .taskbar-app {
    min-width: 38px;
    max-width: 52px;
    padding: 5px;
    justify-content: center;
    height: 38px;
  }
  .taskbar-app span {
    display: none;
  }
  .taskbar-app img {
    width: 23px;
    height: 23px;
  }
  .tray-button {
    display: none;
  }
  .clock {
    padding: 8px 5px;
    min-width: 53px;
    font-size: 10px;
  }
  .start-menu {
    left: 5px;
    width: 265px;
  }
  .start-item {
    min-height: 44px;
  }
  .lightbox {
    max-width: calc(100vw - 12px);
    max-height: calc(100dvh - 24px);
  }
  .lightbox-toolbar h2 {
    font-size: 11px;
  }
  .lightbox > img {
    max-height: calc(100dvh - 160px);
  }
  .mine-app {
    padding: 15px;
  }
  .mine-board {
    width: 100%;
    max-width: 324px;
  }
  .mine-cell {
    font-size: 14px;
  }
  .mine-cell img {
    width: 19px;
    height: 19px;
  }
  .mail-copy {
    padding: 24px 20px;
  }
  .notification {
    bottom: calc(var(--taskbar-height) + 10px + env(safe-area-inset-bottom));
  }
}
@media (max-width: 350px) {
  .desktop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .gallery {
    gap: 9px;
    padding: 13px;
  }
  .gallery-item img {
    height: 94px;
  }
  .welcome-heading h1 {
    font-size: 25px;
  }
  .welcome-heading img {
    width: 47px;
    height: 47px;
  }
  .email-address {
    font-size: 15px;
  }
  .window-titlebar {
    gap: 3px;
  }
  .window-titlebar > img {
    width: 15px;
    height: 15px;
  }
  .window-controls button {
    color: #16161a;
    padding: 4px 5px;
  }
  .sheet {
    padding: 20px 16px;
  }
}
/* Touch drag uses a separate fixed preview; the scrollable desktop never jumps. */
.touch-drag-ghost {
  position: fixed !important;
  z-index: 25000;
  pointer-events: none;
  opacity: 0.9;
  margin: 0;
}
.touch-drag-source {
  opacity: 0.35;
}
.touch-trash-dock {
  position: fixed;
  right: 12px;
  bottom: calc(var(--taskbar-height) + 14px + env(safe-area-inset-bottom));
  z-index: 24000;
  padding: 22px 14px;
  background: #c0c0c0;
  color: #111;
  pointer-events: none;
}
.touch-trash-dock.trash-target {
  background: #f9bada;
  outline: 3px dotted #000080;
}
.rickroll-dialog {
  width: min(640px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  padding: 6px;
  background: #c0c0c0;
}
.rickroll-dialog iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #111;
}
.rickroll-dialog p,
.rickroll-dialog > a {
  display: block;
  margin: 12px;
}
.trash-cough {
  animation: trash-cough 700ms ease-in-out;
}
.cough-out {
  animation: cough-out 500ms both;
}
@keyframes trash-cough {
  20%,
  60% {
    transform: rotate(-12deg);
  }
  40%,
  80% {
    transform: rotate(12deg);
  }
}
@keyframes cough-out {
  from {
    opacity: 0;
    transform: translateY(35px) scale(0.7);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .trash-cough,
  .cough-out {
    animation: none;
  }
}
.reduce-motion .trash-cough,
.reduce-motion .cough-out {
  animation: none;
}
@media (max-width: 800px), (max-width: 960px) and (max-height: 500px) {
  .desktop {
    display: block;
  }
  .desktop::after {
    content: "";
    display: block;
    height: var(--mobile-desktop-height, 900px);
    width: 1px;
    pointer-events: none;
  }
}
.rickroll-dialog:not([open]) {
  display: none;
}
.rickroll-dialog[open] {
  display: block;
}
.rickroll-dialog::backdrop {
  background: #071327b8;
}

/* Original desktop drag character: a 50 ms echo and a short teal cursor trail. */
.drag-echo {
  position: fixed !important;
  pointer-events: none;
  opacity: 0.3;
  z-index: 4999;
  transition:
    left 50ms linear,
    top 50ms linear;
}
.mouse-trail {
  position: fixed;
  width: 10px;
  height: 10px;
  background: rgba(0, 135, 118, 0.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  animation: cursor-fade 600ms ease-out forwards;
}
@keyframes cursor-fade {
  0%,
  16% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.readme-copy p + p {
  margin-top: 18px;
}
.player-heading h1,
.project-head h1,
.settings-heading h1 {
  font-size: 16px;
}

/* Window chrome restored from the original site's blue Windows-style shell. */
.app-window {
  background: #f4f7ff;
  border: 1px solid #2c59b9;
  padding: 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  animation: none;
}
.window-titlebar {
  min-height: 30px;
  padding: 4px 8px;
  border-bottom: 1px solid #0c2f86;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  background: linear-gradient(180deg, #a1b8e5 0%, #6e8ec7 60%, #536c9f 100%);
}
.app-window.active .window-titlebar {
  background: linear-gradient(180deg, #6a97f7 0%, #3a6edf 60%, #2042a5 100%);
}
.window-title {
  font-size: 13px;
}
.window-controls {
  gap: 3px;
}
.window-controls button {
  width: 24px;
  min-width: 24px;
  height: 22px;
  min-height: 22px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 3px;
  background: linear-gradient(180deg, #8baef9, #3565cc);
  color: #fff;
  font-family: Tahoma, sans-serif;
  font-size: 17px;
  line-height: 18px;
  box-shadow: inset 0 0 0 1px #3159a4;
}
.window-controls .close-button {
  border-color: #8a1c16;
  background: linear-gradient(180deg, #ff6159 0%, #d8352b 80%);
  color: #ffecec;
  box-shadow: inset 0 0 0 1px #ffb0a4;
}
.window-controls .close-button:hover {
  background: linear-gradient(180deg, #ff7770, #e04135);
}
.window-body {
  background: #fff;
  margin-top: 0;
  border-width: 1px;
  border-color: #fff #9cb6f7 #9cb6f7 #fff;
}
.window-statusbar {
  min-height: 16px;
  padding: 0 3px;
  background: #e7eefc;
}
.resize-handle {
  width: 14px;
  height: 14px;
  padding: 0;
  font-size: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 2px,
    #808080 2px 3px,
    #fff 3px 4px
  );
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.app-window[data-skin="pink"] {
  border-color: #ff1493;
  box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}
.app-window[data-skin="pink"].active .window-titlebar {
  background: linear-gradient(180deg, #ff69b4 0%, #ff1493 100%);
  border-bottom-color: #cc0066;
}
@media (max-width: 800px), (max-width: 960px) and (max-height: 500px) {
  .app-window {
    padding: 0;
  }
  .window-titlebar {
    min-height: 38px;
  }
  .window-controls button {
    width: 32px;
    min-width: 32px;
    height: 30px;
    min-height: 30px;
  }
  .window-statusbar {
    display: none;
  }
}

/* BEGIN RESTORED ORIGINAL DESIGN */
body.desktop {
  background-color: #0b223f;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 13px;
  margin: 0;
  height: 100vh;
  overflow: hidden;
  color: #102040;
  position: relative;
}

body.desktop,
body.desktop * {
  cursor:
    url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj4KICA8cG9seWdvbiBwb2ludHM9IjAsMCAwLDI2IDYsMjAgMTEsMzAgMTQuNSwyOC41IDkuNSwxOC41IDE2LDE4IiBmaWxsPSIjZmZmZmZmIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4=")
      0 0,
    auto;
}

body.desktop a,
body.desktop button,
body.desktop [role="button"] {
  cursor:
    url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj4KICA8cG9seWdvbiBwb2ludHM9IjAsMCAwLDI2IDYsMjAgMTEsMzAgMTQuNSwyOC41IDkuNSwxOC41IDE2LDE4IiBmaWxsPSIjZmZmZmZmIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4=")
      0 0,
    pointer;
}

body.desktop::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/wallpaper.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -3;
  pointer-events: none;
}

body.desktop::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size:
    3px 3px,
    3px 3px;
  mix-blend-mode: screen;
  opacity: 0.4;
}

.desktop-icon {
  width: 104px;
  text-align: center;
  cursor: move;
  user-select: none;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.desktop-icon:focus-visible {
  outline: 1px dotted #ffffff;
  outline-offset: 2px;
}

.desktop-icon img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.3);
  margin: 0 auto;
}

.desktop-icon:hover img,
.desktop-icon:focus img {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.45);
}

.desktop-icon span {
  display: block;
  font-size: 13px;
  margin-top: 8px;
  padding: 0 4px;
  color: #ffffff;
  font-family: "Tahoma", "Segoe UI", sans-serif;
  text-shadow:
    1px 1px 0 #000000,
    -1px 1px 0 #000000,
    1px -1px 0 #000000,
    -1px -1px 0 #000000,
    0 1px 0 #000000,
    1px 0 0 #000000,
    -1px 0 0 #000000,
    0 -1px 0 #000000;
  text-align: center;
}

.desktop-icon.in-trash {
  display: none;
}

.desktop-icon.cough-out {
  animation: cough-out 0.45s ease-out;
}

@keyframes cough-out {
  0% {
    transform: scale(0.6) translateY(10px);
    opacity: 0;
  }
  60% {
    transform: scale(1.05) translateY(-6px);
    opacity: 1;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.desktop-icon[data-app="trash"] {
  bottom: 88px;
  right: 64px;
  position: fixed;
  width: 64px;
  height: 64px;
  cursor: pointer;
}

.desktop-icon[data-app="trash"].cough img {
  animation: trash-cough 0.35s ease-in-out 3;
}

.desktop-icon[data-app="trash"].hover img {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}

@keyframes trash-cough {
  0% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(-6px) rotate(-4deg);
  }
  80% {
    transform: translateX(6px) rotate(4deg);
  }
  100% {
    transform: translateX(0);
  }
}

.app-window {
  width: 640px;
  height: 520px;
  background: #f4f7ff;
  border: 1px solid #2c59b9;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 60px;
  left: 100px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.window-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #e7eefc;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #9cb6f7;
  border-bottom: 1px solid #9cb6f7;
}

.hidden {
  display: none;
}

.app-window iframe {
  flex: 1;
  width: 100%;
  border: none;
}

.legacy-content {
  flex: 1;
  overflow-y: auto;
  background: #ffffff;
  padding: 18px;
  color: #102040;
  font-family: "Tahoma", "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  border: 1px solid #9cb6f7;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.85);
}

.legacy-content h2 {
  margin-top: 0;
  font-size: 17px;
  font-weight: 700;
  color: #1b3fae;
}

.folder-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #b5c9f2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 16px;
}

.folder-links {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.folder-links li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
  font-family: "Tahoma", "Segoe UI", sans-serif;
  color: #12316d;
}

.folder-links a {
  color: #1a3fa8;
  text-decoration: none;
}

.folder-links a:hover {
  text-decoration: underline;
}

.folder-links li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 4px;
  width: 6px;
  height: 6px;
  background: #1f4db6;
  border: 1px solid #ffffff;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25);
}

.window-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 1px solid #9cb6f7;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.media-frame {
  border: 1px solid #7b7b7b;
  box-shadow: inset 1px 1px 0 #dfdfdf;
  background: #000000;
  padding: 2px;
  height: 480px;
}

.media-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.text-editor {
  display: flex;
  flex-direction: column;
  border: 1px solid #7b7b7b;
  box-shadow: inset 1px 1px 0 #dfdfdf;
  background: #ffffff;
  height: 100%;
  font-family: "Lucida Console", "Courier New", monospace;
}

.text-editor-toolbar {
  display: flex;
  gap: 16px;
  background: linear-gradient(180deg, #e7f0ff 0%, #cddfff 100%);
  padding: 6px 14px;
  border-bottom: 1px solid #94b2f4;
  font-size: 12px;
  color: #12316d;
}

.text-editor-body {
  flex: 1;
  padding: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: #102040;
  white-space: pre-wrap;
  font-family: "Tahoma", "Segoe UI", sans-serif;
  text-transform: none;
}

.minesweeper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
}

.minesweeper-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #c3c7cb;
  border: 1px solid #7b7b7b;
  box-shadow: inset 1px 1px 0 #dfdfdf;
  padding: 6px 12px;
  font-size: 12px;
  text-transform: uppercase;
  color: #000;
  width: 100%;
  box-sizing: border-box;
}

.minesweeper-status {
  flex: 1;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.minesweeper-timer {
  font-family: "Digital-7", "Lucida Console", monospace;
  background: #000;
  color: #ff0000;
  padding: 2px 8px;
  border: 2px inset #7b7b7b;
  min-width: 46px;
  text-align: right;
  letter-spacing: 1px;
  margin-right: auto;
}

.minesweeper-toolbar button {
  background: #dfdfdf;
  border: 1px solid #7b7b7b;
  padding: 2px 10px;
  font-family: "MS Sans Serif", "Microsoft Sans Serif", Tahoma, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
  margin-left: auto;
}

.minesweeper-toolbar button:hover {
  filter: brightness(1.05);
}

.minesweeper-toolbar button:active {
  filter: brightness(0.95);
}

.minesweeper-grid {
  display: grid;
  grid-template-columns: repeat(var(--minesweeper-columns, 9), 1fr);
  gap: 0;
  border: 2px solid #7b7b7b;
  box-shadow: inset 1px 1px 0 #dfdfdf;
  width: fit-content;
  background: #7b7b7b;
  margin: 0 auto 8px;
  transform-origin: top center;
}

.minesweeper-grid.minesweeper-grid-reset {
  animation: minesweeper-flash 0.18s ease-in-out;
}

.minesweeper-cell {
  width: 22px;
  height: 22px;
  background-size: cover;
  background-position: center;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  background-color: transparent;
}

.minesweeper-cell.cell-hidden {
  background-image: url("assets/mine-unclicked-field.png");
}

.minesweeper-cell.cell-revealed {
  background-image: url("assets/mine-clicked-field.png");
  cursor: default;
}

.minesweeper-cell.cell-flagged::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 7px;
  width: 0;
  height: 0;
  border-left: 5px solid #ff0000;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  filter: drop-shadow(1px 0 0 #000);
}

.minesweeper-cell.cell-bomb {
  background-image: url("assets/mine-bomb.png");
}

.minesweeper-cell.cell-triggered {
  box-shadow: inset 0 0 0 2px #ff0000;
}

.minesweeper-cell.cell-number-1 {
  background-image: url("assets/mine-number-one.png");
}

.minesweeper-cell.cell-number-2 {
  background-image: url("assets/mine-number-two.png");
}

.minesweeper-cell.cell-number-3 {
  background-image: url("assets/mine-number-three.png");
}

.minesweeper-cell.cell-number-4 {
  background-image: url("assets/mine-number-four.png");
}

.minesweeper-cell.cell-number-5 {
  background-image: url("assets/mine-number-five.png");
}

.minesweeper-cell.cell-number-6 {
  background-image: url("assets/mine-number-six.png");
}

.minesweeper-cell.cell-number-7 {
  background-image: url("assets/mine-number-seven.png");
}

.minesweeper-cell.cell-number-8 {
  background-image: url("assets/mine-number-eigth.png");
}

.minesweeper-cell:focus {
  outline: 1px dotted #ffffff;
  outline-offset: -2px;
}

@keyframes minesweeper-flash {
  0% {
    filter: brightness(1.2);
  }
  100% {
    filter: brightness(1);
  }
}

.minesweeper-leaderboard {
  background: #c3c7cb;
  border: 1px solid #7b7b7b;
  box-shadow: inset 1px 1px 0 #dfdfdf;
  padding: 12px;
  margin: 0;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

.minesweeper-leaderboard h3 {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  color: #000080;
}

.leaderboard-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #ffffff;
  border: 1px solid #7b7b7b;
  box-shadow: inset 1px 1px 0 #dfdfdf;
  max-height: 150px;
  overflow-y: auto;
  font-size: 12px;
}

.leaderboard-list li {
  display: flex;
  justify-content: space-between;
  padding: 4px 8px;
  border-bottom: 1px solid #dfdfdf;
}

.leaderboard-list li:last-child {
  border-bottom: none;
}

.leaderboard-form {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
}

.leaderboard-form input {
  flex: 1;
  padding: 4px 6px;
  border: 1px solid #7b7b7b;
  font-family: "MS Sans Serif", "Microsoft Sans Serif", Tahoma, sans-serif;
  font-size: 12px;
}

.leaderboard-form button {
  padding: 4px 10px;
  border: 1px solid #7b7b7b;
  background: #dfdfdf;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
}

.leaderboard-form button:disabled,
.leaderboard-form input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#rickroll-window {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

#rickroll-window iframe {
  width: 100%;
  height: 100%;
}

.window-titlebar {
  background: linear-gradient(180deg, #6a97f7 0%, #3a6edf 60%, #2042a5 100%);
  color: #ffffff;
  padding: 6px 12px;
  padding-left: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-weight: 700;
  font-size: 13px;
  position: relative;
  border-bottom: 1px solid #0c2f86;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.window-titlebar::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url("assets/jonas-sercombe-icon-2.png") center/contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.window-titlebar button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 20px;
  padding: 0;
  border: 1px solid #8a1c16;
  border-radius: 3px;
  background: linear-gradient(180deg, #ff6159 0%, #d8352b 80%);
  color: #ffecec;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
}

.window-titlebar button::before {
  content: "x";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%);
  font-size: 13px;
}

.window-titlebar button:hover,
.window-titlebar button:focus-visible {
  background: linear-gradient(180deg, #ff7770 0%, #e04135 80%);
}

.window-titlebar button:focus {
  outline: none;
}

.selection-box {
  position: absolute;
  border: 1px dashed #3399ff;
  background-color: rgba(0, 136, 255, 0.2);
  pointer-events: none;
  z-index: 9999;
}

.desktop-icon.selected {
  outline: 1px dotted #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.mouse-trail {
  position: fixed;
  width: 10px;
  height: 10px;
  background: rgba(0, 135, 118, 0.7);
  border-radius: 50%;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease-out;
  z-index: 9999;
}

.gif-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  z-index: 5000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gif-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.gif-overlay img {
  width: min(50vw, 50vh);
  max-width: none;
  max-height: none;
  border: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  body.desktop {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    padding-top: 48px;
    padding-bottom: 96px;
    box-sizing: border-box;
  }

  body.desktop::before {
    background-image: url("assets/wallpaper-mobile.webp");
    background-position: calc(50% + 50px) center;
  }

  .menu-bar {
    height: 40px;
    padding: 0 14px;
  }

  .menu-left,
  .menu-right {
    gap: 12px;
    font-size: 12px;
  }

  .menu-apple {
    width: 22px;
    height: 22px;
  }

  .menu-apple img {
    width: 16px;
    height: 16px;
  }

  .status-item {
    min-width: 0;
    font-size: 11px;
  }

  .menu-clock {
    min-width: 72px;
  }

  .icons {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    padding: 32px 16px 24px;
    overflow: hidden;
    height: calc(100vh - 48px - 96px);
    box-sizing: border-box;
  }

  .icons.mobile-layout .desktop-icon {
    position: static;
    width: auto;
    text-align: center;
  }

  .icons.mobile-layout .desktop-icon.is-dragging {
    position: fixed !important;
    z-index: 10000 !important;
    /* Don't override left/top - let JavaScript handle it */
  }

  .icons.mobile-layout .desktop-icon img {
    width: 56px;
    height: 56px;
  }

  .icons.mobile-layout .desktop-icon span {
    margin-top: 8px;
    font-size: 13px;
  }

  .taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    background: #dba9de;
    border-top: 2px solid #f3d7f5;
    border-bottom: 2px solid #9b6ca6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  }

  .taskbar-left,
  .taskbar-center,
  .taskbar-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .taskbar-left,
  .taskbar-right {
    justify-content: flex-start;
    padding: 0 6px;
  }

  .taskbar-right {
    justify-content: flex-end;
  }

  .taskbar-center {
    font-size: 13px;
    color: #3b1744;
    text-shadow: none;
  }

  .start-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    min-width: 96px;
    height: auto;
    border-radius: 0;
    border: 2px solid #b87cc1;
    border-left-color: #ffffff;
    border-top-color: #ffffff;
    border-right-color: #8a4b93;
    border-bottom-color: #8a4b93;
    background: #dba9de;
    color: #2a0e33;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    cursor: pointer;
  }

  #window,
  #rickroll-window {
    width: 92vw;
    height: 70vh;
    left: 50% !important;
    top: 60px !important;
    transform: translateX(-50%);
  }

  .app-window {
    left: 50% !important;
    top: 60px !important;
    transform: translateX(-50%);
  }

  .minesweeper {
    width: 100%;
  }

  .minesweeper-toolbar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .minesweeper-toolbar button {
    order: 3;
    margin-left: 0;
    width: 100%;
  }

  .minesweeper-status,
  .minesweeper-timer {
    order: initial;
  }

  .minesweeper-grid {
    transform: scale(0.9);
  }
}

.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: #dba9de;
  border-top: 2px solid #f3d7f5;
  border-bottom: 2px solid #9b6ca6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  font-family: "Tahoma", sans-serif;
  font-size: 14px;
  z-index: 10000;
}

.taskbar-left,
.taskbar-right {
  width: 200px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 10px;
}

.taskbar-left {
  justify-content: flex-start;
}

.taskbar-right {
  justify-content: flex-end;
}

.taskbar-center {
  flex: 1;
  text-align: center;
  color: #36133f;
  font-weight: 600;
  text-shadow: none;
}

.start-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  min-width: 110px;
  height: auto;
  border-radius: 0;
  border: 2px solid #b87cc1;
  border-left-color: #ffffff;
  border-top-color: #ffffff;
  border-right-color: #8a4b93;
  border-bottom-color: #8a4b93;
  background: #dba9de;
  color: #2a0e33;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.start-button::before {
  content: "";
  width: 20px;
  height: 20px;
  background: url("assets/jonas-sercombe-icon-2.png") center/contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.start-button:hover {
  background: #e1b9e2;
}

.start-button:active {
  border-top-color: #8a4b93;
  border-left-color: #8a4b93;
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
  background: #c790d4;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

.taskbar-clock {
  font-size: 14px;
  font-weight: 600;
  color: #2f0f37;
  text-shadow: none;
  padding: 0 12px;
}

.crt-overlay {
  content: "";
  position: fixed;
  inset: 0;
  background: url("assets/crt-texture.jpeg") center/cover no-repeat;
  opacity: 0.45;
  pointer-events: none;
  mix-blend-mode: overlay;
  filter: brightness(0.95) contrast(1.2);
  z-index: 100000;
}

.win95-window {
  background: #c0c0c0;
  border: 2px solid #404040;
  box-shadow: none;
  font-family: "MS Sans Serif", "Tahoma", sans-serif;
}

.win95-window .window-body {
  background: #c3c7cb;
  border: 2px solid #808080;
  border-top-color: #ffffff;
  border-left-color: #ffffff;
}

.win95-window .window-titlebar {
  background: linear-gradient(180deg, #000080 0%, #000052 100%);
  color: #ffffff;
  padding: 4px 10px 4px 28px;
  font-family: "MS Sans Serif", sans-serif;
  font-size: 12px;
  border-bottom: 1px solid #808080;
}

.win95-window .window-titlebar::before {
  width: 14px;
  height: 14px;
  left: 8px;
  background: url("assets/jonas-sercombe-icon-2.png") center/contain no-repeat;
}

.win95-window .window-titlebar button {
  right: 6px;
  width: 20px;
  height: 18px;
  border: 1px solid #404040;
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
  border-radius: 0;
  background: #c0c0c0;
  color: #000;
  font-weight: normal;
  line-height: 18px;
}

.win95-window .window-titlebar button::before {
  content: "X";
  font-size: 12px;
  transform: translate(-50%, -50%);
  color: #000;
}

.win95-window.gallery-window {
  border-color: #ff1493;
  box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}

.win95-window.gallery-window .window-titlebar {
  background: linear-gradient(180deg, #ff69b4 0%, #ff1493 100%);
  color: #ffffff;
  border-bottom-color: #cc0066;
}

.win95-window.gallery-window .window-titlebar::before {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5)) brightness(1.2);
}

.win95-window.gallery-window .window-body {
  background: transparent;
  border: none;
}

.win95-window.gallery-window .window-titlebar button {
  background: #ff1493;
  border-color: #cc0066;
  color: #ffffff;
}

.win95-window.gallery-window .window-titlebar button::before {
  color: #ffffff;
}

.win95-window.gallery-window .window-titlebar button:hover {
  background: #ff69b4;
  border-color: #ff1493;
}

.paint-frame {
  display: flex;
  flex-direction: column;
  background: #dcdad5;
  border: 1px solid #808080;
  height: 100%;
}

.paint-menu {
  background: #c0c0c0;
  border-bottom: 1px solid #ffffff;
  padding: 4px 8px;
  font-size: 12px;
  display: flex;
  gap: 12px;
}

.paint-main {
  display: flex;
  flex: 1;
}

.paint-canvas {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border: 2px solid #808080;
  border-top-color: #ffffff;
  border-left-color: #ffffff;
  margin: 12px;
  overflow: auto;
}

.paint-image {
  max-width: 100%;
  height: auto;
}

.paint-status {
  background: #c0c0c0;
  border-top: 1px solid #ffffff;
  padding: 4px 8px;
  font-size: 11px;
}

.notepad-frame {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid #808080;
}

.notepad-menu {
  background: #c0c0c0;
  padding: 4px 6px;
  font-size: 12px;
  display: flex;
  gap: 12px;
}

.notepad-toolbar {
  display: flex;
  gap: 8px;
  padding: 4px 6px;
  background: #d4d4d4;
  border-bottom: 1px solid #808080;
}

.notepad-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid #808080;
  border-top-color: #ffffff;
  border-left-color: #ffffff;
  background: #eceae9;
  font-size: 11px;
}

.notepad-content {
  flex: 1;
  overflow: auto;
  padding: 12px;
  font-family: "Lucida Console", "Courier New", monospace;
  color: #000;
  background: #ffffff;
}

.notepad-status {
  padding: 4px 8px;
  background: #c0c0c0;
  border-top: 1px solid #ffffff;
  font-size: 11px;
}

.word-frame {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid #8a9ed6;
}

.word-menu {
  background: #c6d5f7;
  padding: 4px 8px;
  font-size: 12px;
  color: #1a2f6f;
  display: flex;
  gap: 14px;
}

.word-ribbon {
  display: flex;
  gap: 12px;
  padding: 6px 10px;
  background: #e7ecfd;
  border-bottom: 1px solid #a6baf0;
}

.word-group {
  display: inline-flex;
  gap: 6px;
}

.word-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid #93a7df;
  background: #ffffff;
  font-size: 12px;
  color: #274084;
  font-weight: 600;
}

.word-content {
  flex: 1;
  overflow: auto;
  padding: 16px;
  background: #ffffff;
}

.paint-sidebar {
  width: 70px;
  background: #c0c0c0;
  border-right: 1px solid #808080;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.paint-tools {
  display: grid;
  grid-template-columns: repeat(2, 26px);
  gap: 6px;
}

.paint-tool {
  width: 26px;
  height: 26px;
  border: 1px solid #808080;
  border-top-color: #ffffff;
  border-left-color: #ffffff;
  background: #dad8d3;
}

.paint-palette {
  display: grid;
  grid-template-columns: repeat(2, 26px);
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid #ffffff;
}

.paint-color {
  width: 26px;
  height: 26px;
  border: 1px solid #000000;
  border-top-color: #ffffff;
  border-left-color: #ffffff;
  box-sizing: border-box;
}

.studio-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: linear-gradient(135deg, #ffb6e1 0%, #ff8ec7 50%, #ff6bb3 100%);
  height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
}

.studio-gallery-title {
  font-family: "MS Sans Serif", "Tahoma", sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  text-shadow:
    2px 2px 0px #ff1493,
    4px 4px 0px rgba(0, 0, 0, 0.3);
  margin: 0;
  padding: 12px;
  background: linear-gradient(180deg, #ff69b4 0%, #ff1493 100%);
  border: 3px solid #ffffff;
  border-top-color: #ffb6e1;
  border-left-color: #ffb6e1;
  border-right-color: #cc0066;
  border-bottom-color: #cc0066;
  box-shadow:
    inset 2px 2px 0px rgba(255, 255, 255, 0.5),
    inset -2px -2px 0px rgba(0, 0, 0, 0.3),
    4px 4px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.studio-gallery-subtitle {
  font-family: "MS Sans Serif", "Tahoma", sans-serif;
  font-size: 13px;
  color: #ffffff;
  text-align: center;
  margin: 4px 0 8px;
  padding: 4px 16px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.5;
}

.studio-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 8px;
}

.studio-gallery-item {
  position: relative;
  background: #ffffff;
  border: 4px solid #ff1493;
  border-top-color: #ffb6e1;
  border-left-color: #ffb6e1;
  border-right-color: #cc0066;
  border-bottom-color: #cc0066;
  box-shadow:
    inset 2px 2px 0px rgba(255, 255, 255, 0.8),
    inset -2px -2px 0px rgba(0, 0, 0, 0.2),
    6px 6px 12px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 20, 147, 0.4);
  padding: 8px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  overflow: hidden;
  cursor: pointer;
}

.studio-gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    inset 2px 2px 0px rgba(255, 255, 255, 0.8),
    inset -2px -2px 0px rgba(0, 0, 0, 0.2),
    8px 8px 16px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(255, 20, 147, 0.6);
  z-index: 10;
}

.studio-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: contrast(1.1) saturate(1.2);
  border: 2px solid #ff69b4;
  box-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.6);
}

.studio-gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 182, 193, 0.1) 0%,
    rgba(255, 20, 147, 0.05) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.studio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  pointer-events: none;
}

.studio-lightbox[open] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.studio-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.studio-lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  background: linear-gradient(135deg, #ffb6e1 0%, #ff8ec7 50%, #ff6bb3 100%);
  border: 4px solid #ff1493;
  border-top-color: #ffb6e1;
  border-left-color: #ffb6e1;
  border-right-color: #cc0066;
  border-bottom-color: #cc0066;
  box-shadow:
    inset 2px 2px 0px rgba(255, 255, 255, 0.5),
    inset -2px -2px 0px rgba(0, 0, 0, 0.3),
    8px 8px 24px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(255, 20, 147, 0.6);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.studio-lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  border: 3px solid #ffffff;
  box-shadow:
    inset 2px 2px 0px rgba(255, 255, 255, 0.8),
    4px 4px 12px rgba(0, 0, 0, 0.5);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: contrast(1.1) saturate(1.2);
}

.studio-lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  background: #ff1493;
  border: 3px solid #ffffff;
  border-top-color: #ffb6e1;
  border-left-color: #ffb6e1;
  border-right-color: #cc0066;
  border-bottom-color: #cc0066;
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 2px 2px 0px rgba(255, 255, 255, 0.5),
    inset -2px -2px 0px rgba(0, 0, 0, 0.3),
    4px 4px 8px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  line-height: 1;
  padding: 0;
  font-family: "MS Sans Serif", "Tahoma", sans-serif;
}

.studio-lightbox-close:hover {
  background: #ff69b4;
  transform: scale(1.1);
  box-shadow:
    inset 2px 2px 0px rgba(255, 255, 255, 0.6),
    inset -2px -2px 0px rgba(0, 0, 0, 0.2),
    6px 6px 12px rgba(0, 0, 0, 0.6);
}

.studio-lightbox-close:active {
  transform: scale(0.95);
  box-shadow:
    inset -2px -2px 0px rgba(255, 255, 255, 0.5),
    inset 2px 2px 0px rgba(0, 0, 0, 0.3),
    2px 2px 4px rgba(0, 0, 0, 0.4);
}

.studio-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
  border: 3px solid #ffffff;
  border-top-color: #ffb6e1;
  border-left-color: #ffb6e1;
  border-right-color: #cc0066;
  border-bottom-color: #cc0066;
  color: #ffffff;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 2px 2px 0px rgba(255, 255, 255, 0.5),
    inset -2px -2px 0px rgba(0, 0, 0, 0.3),
    4px 4px 12px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 20, 147, 0.5);
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
  font-family: "MS Sans Serif", "Tahoma", sans-serif;
  z-index: 10;
  user-select: none;
}

.studio-lightbox-prev {
  left: -60px;
}

.studio-lightbox-next {
  right: -60px;
}

@media (max-width: 1200px) {
  .studio-lightbox-prev {
    left: 8px;
  }

  .studio-lightbox-next {
    right: 8px;
  }
}

.studio-lightbox-nav:hover {
  background: linear-gradient(135deg, #ff69b4 0%, #ff91d0 100%);
  transform: translateY(-50%) scale(1.1);
  box-shadow:
    inset 2px 2px 0px rgba(255, 255, 255, 0.6),
    inset -2px -2px 0px rgba(0, 0, 0, 0.2),
    6px 6px 16px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(255, 20, 147, 0.7);
}

.studio-lightbox-nav:active {
  transform: translateY(-50%) scale(0.95);
  box-shadow:
    inset -2px -2px 0px rgba(255, 255, 255, 0.5),
    inset 2px 2px 0px rgba(0, 0, 0, 0.3),
    2px 2px 8px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(255, 20, 147, 0.4);
}

.studio-lightbox-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 768px) {
  .studio-gallery {
    padding: 12px;
    gap: 8px;
  }

  .studio-gallery-title {
    font-size: 18px;
    padding: 8px;
    letter-spacing: 1px;
  }

  .studio-gallery-subtitle {
    font-size: 11px;
    padding: 2px 12px;
    margin: 2px 0 4px;
  }

  .studio-gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 4px;
  }

  .studio-gallery-item {
    padding: 6px;
  }

  .studio-lightbox-content {
    max-width: 95vw;
    max-height: 95vh;
    padding: 8px;
  }

  .studio-lightbox-close {
    width: 28px;
    height: 28px;
    font-size: 20px;
    top: -8px;
    right: -8px;
  }

  .studio-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .studio-lightbox-prev {
    left: 8px;
  }

  .studio-lightbox-next {
    right: 8px;
  }
}

/* Mobile Portrait Warning Modal */
.mobile-portrait-modal {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
  pointer-events: none;
}

.mobile-portrait-modal:not(.hidden) {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.mobile-portrait-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 192, 203, 0.85);
  backdrop-filter: blur(8px);
  animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.mobile-portrait-modal-content {
  position: relative;
  z-index: 1;
  background: linear-gradient(
    135deg,
    #ffb6e1 0%,
    #ff91d0 25%,
    #ff6bb3 50%,
    #ff48a0 75%,
    #ff1493 100%
  );
  border: 5px solid #ffffff;
  border-top-color: #ffd1e8;
  border-left-color: #ffd1e8;
  border-right-color: #ff0066;
  border-bottom-color: #ff0066;
  box-shadow:
    inset 3px 3px 0px rgba(255, 255, 255, 0.7),
    inset -3px -3px 0px rgba(204, 0, 102, 0.4),
    0 0 30px rgba(255, 20, 147, 0.6),
    0 10px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(255, 105, 180, 0.5);
  padding: 32px 24px;
  max-width: 85vw;
  width: 320px;
  border-radius: 20px;
  text-align: center;
  animation: modalPopIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.mobile-portrait-modal-content::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  animation: sparkleBackground 20s linear infinite;
  pointer-events: none;
}

@keyframes modalPopIn {
  0% {
    transform: scale(0.3) rotate(-5deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.05) rotate(2deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes sparkleBackground {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.mobile-portrait-decorations {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 16px;
  font-size: 28px;
  animation: floatDecoration 3s ease-in-out infinite;
}

.mobile-portrait-decorations span {
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(255, 20, 147, 0.5));
}

.mobile-portrait-star {
  animation-delay: 0s;
}

.mobile-portrait-heart {
  animation-delay: 0.3s;
  font-size: 32px;
}

.mobile-portrait-sparkle {
  animation-delay: 0.6s;
}

.mobile-portrait-star2 {
  animation-delay: 0.9s;
}

.mobile-portrait-decorations-bottom {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 16px;
  font-size: 24px;
  animation: floatDecoration 3s ease-in-out infinite reverse;
}

.mobile-portrait-decorations-bottom span {
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(255, 20, 147, 0.5));
}

.mobile-portrait-heart2 {
  animation-delay: 0.2s;
  font-size: 28px;
}

.mobile-portrait-sparkle2 {
  animation-delay: 0.5s;
}

@keyframes floatDecoration {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.2) rotate(-10deg);
  }
  75% {
    transform: scale(1.2) rotate(10deg);
  }
}

.mobile-portrait-text {
  font-family: "MS Sans Serif", "Tahoma", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  text-shadow:
    2px 2px 0px #ff0066,
    4px 4px 8px rgba(0, 0, 0, 0.4),
    0 0 10px rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin: 20px 0;
  padding: 0 8px;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.mobile-portrait-button {
  background: linear-gradient(180deg, #ffffff 0%, #ffe6f2 50%, #ffb3d9 100%);
  border: 4px solid #ffffff;
  border-top-color: #ffe6f2;
  border-left-color: #ffe6f2;
  border-right-color: #ff66b3;
  border-bottom-color: #ff66b3;
  color: #ff1493;
  font-family: "MS Sans Serif", "Tahoma", sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  cursor: pointer;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 2px 2px 0px rgba(255, 255, 255, 0.9),
    inset -2px -2px 0px rgba(255, 20, 147, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 105, 180, 0.4);
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
  margin-top: 8px;
  animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
  0%,
  100% {
    box-shadow:
      inset 2px 2px 0px rgba(255, 255, 255, 0.9),
      inset -2px -2px 0px rgba(255, 20, 147, 0.3),
      0 4px 12px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(255, 105, 180, 0.4);
  }
  50% {
    box-shadow:
      inset 2px 2px 0px rgba(255, 255, 255, 0.9),
      inset -2px -2px 0px rgba(255, 20, 147, 0.3),
      0 4px 12px rgba(0, 0, 0, 0.3),
      0 0 30px rgba(255, 105, 180, 0.7);
  }
}

.mobile-portrait-button:hover {
  background: linear-gradient(180deg, #ffe6f2 0%, #ffccf0 50%, #ffb3d9 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    inset 2px 2px 0px rgba(255, 255, 255, 0.9),
    inset -2px -2px 0px rgba(255, 20, 147, 0.3),
    0 6px 16px rgba(0, 0, 0, 0.4),
    0 0 35px rgba(255, 105, 180, 0.6);
}

.mobile-portrait-button:active {
  transform: translateY(0px) scale(0.98);
  box-shadow:
    inset -2px -2px 0px rgba(255, 255, 255, 0.9),
    inset 2px 2px 0px rgba(255, 20, 147, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 0 15px rgba(255, 105, 180, 0.4);
}

/* Only show on mobile portrait */
@media (min-width: 769px) {
  .mobile-portrait-modal {
    display: none !important;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .mobile-portrait-modal {
    display: none !important;
  }
}

/* Only adapters needed to keep the repaired runtime and responsive input system. */
body.desktop {
  padding: 0;
  height: 100dvh;
  max-height: 100dvh;
}
.wallpaper {
  display: none;
}
#main-content {
  height: calc(100dvh - 48px - env(safe-area-inset-bottom));
}
.desktop-hint,
#show-desktop,
#quick-settings,
#taskbar-apps {
  display: none;
}
.desktop-icon {
  width: 104px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  gap: 0;
  outline-offset: 2px !important;
  touch-action: pan-y;
}
.desktop-icon img {
  width: 72px;
  height: 72px;
  filter: none;
}
.desktop-icon span {
  line-height: normal;
  max-width: 104px;
  font-size: 13px;
}
.desktop-icon.selected {
  background: transparent;
  border: 0;
}
.desktop-icon.selected img {
  outline: 1px dotted white;
}
.desktop-icon[data-app="trash"] {
  width: 104px;
  height: auto;
  position: absolute;
}
.desktop-icon[data-app="trash"] img {
  background: transparent;
}
.desktop-icon.dragging {
  z-index: 5000 !important;
}
html[data-input="touch"] .desktop-icon:hover img,
html[data-input="pen"] .desktop-icon:hover img {
  transform: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}
.app-window.win95-window {
  padding: 0;
  min-width: 0;
  min-height: 0;
  border: 2px solid #404040;
  background: #c0c0c0;
  box-shadow: none;
}
.app-window.win95-window.active .window-titlebar,
.app-window.win95-window .window-titlebar {
  min-height: 24px;
  padding: 4px 28px;
  background: linear-gradient(180deg, #000080 0%, #000052 100%);
  box-shadow: none;
  border-bottom: 1px solid #808080;
}
.app-window.win95-window .window-titlebar > img {
  display: none;
}
.window-title {
  font-size: 12px;
  line-height: normal;
  margin: 0;
  font-family: "MS Sans Serif", Tahoma, sans-serif;
}
.window-controls {
  display: contents;
}
.window-controls .minimize-button,
.window-controls .maximize-button {
  display: none;
}
.app-window.win95-window .window-controls .close-button {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 20px;
  min-width: 20px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  border: 1px solid #404040;
  border-right-color: #fff;
  border-bottom-color: #fff;
  border-radius: 0;
  background: #c0c0c0;
  color: transparent;
  font-size: 0;
  box-shadow: none;
}
.app-window.win95-window .window-controls .close-button::before {
  content: "X";
  color: #000;
  font-size: 12px;
}
.app-window.win95-window .window-body {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: #c3c7cb;
  border: 2px solid #808080;
  border-top-color: white;
  border-left-color: white;
  scrollbar-width: auto;
}
.legacy-content {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.legacy-content .notepad-menu {
  display: block;
}
.notepad-toolbar {
  flex-shrink: 0;
}
.notepad-content {
  min-height: 0;
}
.legacy-gallery {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.app-window.win95-window.gallery-window {
  border-color: #ff1493;
  box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}
.app-window.win95-window.gallery-window.active .window-titlebar {
  background: linear-gradient(180deg, #ff69b4 0%, #ff1493 100%);
  border-bottom-color: #cc0066;
}
.app-window.win95-window.gallery-window .window-controls .close-button {
  background: #ff1493;
  border-color: #cc0066;
}
.app-window.win95-window.gallery-window .window-controls .close-button::before {
  color: #fff;
}
.app-window.win95-window.gallery-window .window-body {
  background: transparent;
  border: 0;
}
.word-frame,
.paint-frame {
  min-height: 350px;
}
.word-content .media-frame {
  height: 480px;
}
.word-content iframe {
  height: 100%;
  min-height: 0;
  width: 100%;
  border: 0;
}
.paint-main {
  min-height: 0;
}
.paint-canvas img {
  max-height: 100%;
  object-fit: contain;
}
.window-statusbar {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  min-height: 12px;
  height: 12px;
  padding: 0;
  background: transparent;
}
.window-statusbar span {
  display: none;
}
.resize-handle {
  opacity: 0;
  width: 12px;
  height: 12px;
}
.taskbar {
  height: calc(48px + env(safe-area-inset-bottom));
  background: #dba9de;
  padding: 4px 8px;
}
.taskbar .clock {
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  padding: 0 12px;
}
.start-button {
  min-width: 110px;
  height: 36px;
}
.start-button img {
  display: none;
}
.dance.gif-overlay {
  background: transparent;
}
#dance-close {
  display: none;
}
.dance.gif-overlay img {
  width: min(50vw, 50vh);
  height: auto;
}
.selection-box {
  z-index: 4998;
}
.studio-lightbox {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
}
.studio-lightbox:not([open]) {
  display: none;
}
.studio-lightbox[open] {
  display: flex;
  opacity: 1;
  visibility: visible;
}
.studio-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.9);
}
.rickroll-dialog[open] {
  display: flex;
  position: fixed;
  width: min(640px, calc(100vw - 24px));
  height: min(400px, calc(100dvh - 48px));
  top: 60px;
  left: max(12px, calc((100vw - 640px) / 2));
  margin: 0;
  z-index: 7000;
}
.rickroll-dialog:not([open]) {
  display: none;
}
.rickroll-dialog .window-body iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
}
.mobile-portrait-modal {
  z-index: 200000;
}
.mobile-portrait-modal-content {
  max-width: min(400px, calc(100vw - 32px));
}
.mine-app {
  width: fit-content;
  max-width: 100%;
  padding: 18px;
  margin: 0 auto;
}
.mine-toolbar {
  display: flex;
  width: 100%;
  gap: 12px;
  padding: 6px 12px;
  background: #c3c7cb;
  border: 1px solid #7b7b7b;
  font-size: 12px;
  text-transform: uppercase;
}
.mine-status {
  margin: 0;
  font-size: 12px;
  flex: 1;
}
.mine-counter {
  font-family: "Lucida Console", monospace;
  background: #000;
  color: #f00;
  font-size: 12px;
  padding: 2px 8px;
  min-width: 46px;
}
.mine-options {
  display: none;
}
.mine-board {
  grid-template-columns: repeat(12, 22px);
  width: 268px;
  gap: 0;
  padding: 0;
  margin: 0 auto 8px;
  background: #7b7b7b;
  border: 2px solid #7b7b7b;
}
.mine-cell {
  width: 22px;
  height: 22px;
  min-height: 0;
  border: 0;
  padding: 0;
  font-size: 0;
  background: url("assets/mine-unclicked-field.png") center/cover;
  position: relative;
}
.mine-cell.revealed {
  border: 0;
  background: url("assets/mine-clicked-field.png") center/cover;
}
.mine-cell.flagged::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 7px;
  width: 0;
  height: 0;
  border-left: 5px solid red;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.mine-cell.revealed[data-number="1"] {
  background-image: url("assets/mine-number-one.png");
}
.mine-cell.revealed[data-number="2"] {
  background-image: url("assets/mine-number-two.png");
}
.mine-cell.revealed[data-number="3"] {
  background-image: url("assets/mine-number-three.png");
}
.mine-cell.revealed[data-number="4"] {
  background-image: url("assets/mine-number-four.png");
}
.mine-cell.revealed[data-number="5"] {
  background-image: url("assets/mine-number-five.png");
}
.mine-cell.revealed[data-number="6"] {
  background-image: url("assets/mine-number-six.png");
}
.mine-cell.revealed[data-number="7"] {
  background-image: url("assets/mine-number-seven.png");
}
.mine-cell.revealed[data-number="8"] {
  background-image: url("assets/mine-number-eigth.png");
}
.mine-cell.bomb,
.mine-cell.bomb.revealed {
  background-image: url("assets/mine-bomb.png");
}
.mine-cell img {
  display: none;
}
.mine-cell.triggered {
  box-shadow: inset 0 0 0 2px red;
}
.leaderboard {
  margin: 12px 0;
  padding: 0;
  border: 0;
}
.leaderboard h2 {
  font-size: 13px;
  letter-spacing: normal;
}
.score-list {
  font-size: 12px;
}
.score-form {
  margin-top: 8px;
}
.score-form label {
  font-size: 0;
}
.score-form input {
  font-size: 12px;
  width: 150px;
}
@media (max-width: 800px), (max-width: 960px) and (max-height: 500px) {
  body.desktop {
    padding: 0;
  }
  #main-content {
    height: calc(100dvh - 54px - env(safe-area-inset-bottom));
  }
  .taskbar {
    height: calc(54px + env(safe-area-inset-bottom));
  }
  .desktop {
    display: block;
    inset: 0;
    overflow-y: auto;
    padding: 0;
  }
  .desktop-icon {
    min-height: 0;
    padding: 0;
  }
  .desktop-icon img {
    width: 56px;
    height: 56px;
  }
  .desktop-icon span {
    max-width: 100%;
    font-size: 13px;
    margin-top: 8px;
  }
  .app-window.win95-window {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    max-height: none;
    padding: 0;
  }
  .app-window.win95-window .window-titlebar {
    min-height: 30px;
  }
  .app-window.win95-window .window-controls .close-button {
    width: 26px;
    height: 24px;
    min-height: 24px;
  }
  .app-window.win95-window .window-body {
    min-height: 0;
    overflow: auto;
  }
  .legacy-content {
    min-height: auto;
    flex: 1 0 auto;
    padding: 12px;
  }
  .legacy-gallery {
    padding: 0;
  }
  .notepad-frame {
    min-height: 350px;
  }
  .paint-frame {
    min-height: 450px;
  }
  .paint-sidebar {
    width: 52px;
    padding: 4px;
  }
  .paint-tools,
  .paint-palette {
    grid-template-columns: repeat(2, 18px);
    gap: 4px;
  }
  .paint-tool,
  .paint-color {
    width: 18px;
    height: 18px;
  }
  .paint-canvas {
    min-width: 0;
    margin: 8px;
  }
  .mine-app {
    padding: 10px;
  }
  .mine-toolbar {
    padding: 4px;
    gap: 4px;
  }
  .mine-options {
    display: block;
    font-size: 11px;
    margin: 6px 0;
  }
  .rickroll-dialog[open] {
    inset: 12px !important;
    width: calc(100vw - 24px) !important;
    height: min(400px, calc(100dvh - 24px)) !important;
  }
  .studio-lightbox-content {
    min-width: 0;
    min-height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.desktop *,
  body.desktop *::before,
  body.desktop *::after {
    animation: none !important;
    transition: none !important;
  }
}
body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  animation: none !important;
  transition: none !important;
}

.desktop-icon[data-app="trash"] {
  bottom: auto;
  right: auto;
}

.desktop-icon {
  text-decoration: none;
}
.taskbar .clock {
  border: 0;
  background: transparent;
  padding: 0 12px;
}

.rickroll-dialog[open] {
  left: clamp(12px, 100px, calc(100vw - 652px));
  height: min(520px, calc(100dvh - var(--taskbar-height) - 80px));
}

/* Small, deliberate smartphone refinements; original app skins stay intact. */
.start-menu { background: #c0c0c0; max-width: calc(100vw - 16px); }
.start-items { min-height: 0; }
@media (max-width:800px), (max-width:960px) and (max-height:500px) {
  #desktop .desktop-icon img { width:44px; height:44px; }
  #desktop .desktop-icon span { font-size:11px; line-height:1.2; margin-top:5px; }
  #desktop .desktop-icon { min-height:78px; }
  #desktop [data-app="trash"] {
    position:fixed; right:12px; bottom:calc(var(--taskbar-height) + env(safe-area-inset-bottom) + 12px);
    left:auto !important; top:auto !important; z-index:3;
  }
  .app-window.win95-window {
    inset:12px !important;
    width:calc(100% - 24px) !important; height:calc(100% - 24px) !important;
    border:2px outset #fff;
  }
  .app-window.win95-window .mine-app { padding:6px; }
  .mine-options { font-size:10px; text-align:center; }
  .mine-cell { touch-action:pan-y; -webkit-touch-callout:none; user-select:none; }
  .start-item { min-height:38px; padding:6px 10px; }
}

@media (max-width:800px), (max-width:960px) and (max-height:500px) {
  #desktop .desktop-icon span { overflow-wrap:anywhere; white-space:normal; width:100%; }
  .app-window[data-app="minesweeper"] .legacy-content { padding:0; }
}

/* PRAISE PINC: a brief local echo, then a quiet under-construction screen. */
.studio-website { text-align:center; margin:0 0 18px; font-size:13px; }
.studio-website a { color:inherit; }
.pp-space { background:#ffc4eb; color:#171217; text-align:center; overflow:hidden; padding:22px 12px; }
.pp-signal { position:relative; isolation:isolate; margin:0 auto 10px; width:180px; height:105px; font:900 100px/1 "Arial Black",Arial,sans-serif; letter-spacing:-12px; }
.pp-signal::before,.pp-signal::after { content:"PP"; position:absolute; inset:0; z-index:-1; color:transparent; -webkit-text-stroke:1px #171217; opacity:0; }
.pp-signal::before { animation:pp-echo-left 1100ms steps(7,end) both; }
.pp-signal::after { animation:pp-echo-right 1100ms steps(7,end) both; }
.pp-space h1 { font:900 24px/1.1 "Arial Black",Arial,sans-serif; letter-spacing:-1px; margin:12px 0; }
.pp-coming { display:inline-block; border:2px dashed currentColor; padding:5px 12px; margin:8px 0 16px; transform:rotate(-5deg); font-weight:bold; font-size:18px; }
.pp-services { font-size:13px; line-height:1.7; margin:0 0 14px; }
.pp-space a { color:inherit; }
@keyframes pp-echo-left { 0% { opacity:.8; transform:translate(-95px,25px) skew(-12deg); } 75% { opacity:.5; } 100% { opacity:0; transform:translate(0,0); } }
@keyframes pp-echo-right { 0% { opacity:.8; transform:translate(95px,-25px) skew(12deg); } 75% { opacity:.5; } 100% { opacity:0; transform:translate(0,0); } }
.reduce-motion .pp-signal::before,.reduce-motion .pp-signal::after { animation:none; }
@media (prefers-reduced-motion:reduce) { .pp-signal::before,.pp-signal::after { animation:none; } }
