:root {
  --desktop: #0c4a6e;
  --win-gray: #c0c0c0;
  --win-light: #ffffff;
  --win-mid: #808080;
  --win-dark: #000000;
  --title-blue: #000080;
  --title-blue-light: #1084d0;
  --text: #101010;
  --taskbar-height: 42px;
  font-family: "MS Sans Serif", Tahoma, Geneva, sans-serif;
  color: var(--text);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.desktop {
  position: relative;
  width: 100%;
  height: calc(100% - var(--taskbar-height));
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 13%, rgb(255 255 255 / 5%) 0 1px, transparent 2px),
    linear-gradient(135deg, transparent 0 72%, rgb(255 255 255 / 3%) 72% 72.2%, transparent 72.2%),
    var(--desktop);
  background-size: 30px 30px, 100% 100%, auto;
}

.desktop::after {
  content: "";
  position: absolute;
  right: 3vw;
  bottom: 4vh;
  width: min(31vw, 440px);
  aspect-ratio: 1.7;
  opacity: 0.08;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 48%, #fff 48% 51%, transparent 51%),
    linear-gradient(transparent 48%, #fff 48% 51%, transparent 51%);
  transform: perspective(380px) rotateY(-16deg) rotateZ(-7deg);
  filter: blur(0.4px);
}

.desktop-heading {
  position: absolute;
  top: 30px;
  right: 38px;
  z-index: 0;
  max-width: min(56vw, 690px);
  color: #fff;
  text-align: right;
  text-shadow: 3px 3px 0 rgb(0 0 0 / 26%);
}

.desktop-heading h1 {
  margin: 0;
  font-size: clamp(27px, 4.2vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.desktop-heading p {
  margin: 10px 0 0;
  font-size: clamp(13px, 1.25vw, 18px);
  letter-spacing: 0.02em;
}

.desktop-icons {
  position: absolute;
  inset: 22px auto auto 18px;
  z-index: 2;
  display: grid;
  gap: 14px;
  width: 90px;
}

.desktop-icon {
  display: grid;
  justify-items: center;
  gap: 5px;
  width: 88px;
  padding: 3px;
  border: 1px solid transparent;
  color: #fff;
  background: transparent;
  text-shadow: 1px 1px #000;
  cursor: default;
}

.desktop-icon:hover,
.desktop-icon:focus-visible {
  border-color: rgb(255 255 255 / 55%);
  outline: 1px dotted #fff;
  outline-offset: -3px;
  background: rgb(0 0 128 / 28%);
}

.desktop-icon > span:last-child {
  padding: 1px 3px;
  font-size: 12px;
  line-height: 1.15;
  text-align: center;
}

.pixel-icon {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  filter: drop-shadow(2px 2px 0 rgb(0 0 0 / 32%));
}

.pixel-svg-icon,
.desktop-image-icon {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(2px 2px 0 rgb(0 0 0 / 34%));
}

.pixel-svg-icon {
  image-rendering: pixelated;
}

.shell-icon {
  width: 46px;
  height: 40px;
}

.app-square-icon {
  width: 38px;
  height: 38px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
}

.computer-image-icon {
  width: 48px;
  height: 48px;
}

.cs-ico-icon {
  width: 32px;
  height: 32px;
}

.computer-screen {
  position: absolute;
  inset: 3px 5px 13px;
  border: 4px ridge #dfdfdf;
  background: linear-gradient(135deg, #001c55, #0b8fc2);
  box-shadow: inset 0 0 0 2px #050505;
}

.computer-screen::after {
  content: "C:\\>_";
  position: absolute;
  top: 8px;
  left: 6px;
  color: #fff;
  font: 7px monospace;
}

.computer-base {
  position: absolute;
  right: 8px;
  bottom: 4px;
  left: 8px;
  height: 10px;
  border: 3px outset #ddd;
  background: #aaa;
}

.gamepad-body {
  position: absolute;
  top: 10px;
  left: 3px;
  width: 42px;
  height: 28px;
  border: 3px outset #ddd;
  border-radius: 11px 11px 16px 16px;
  background: #b8b8b8;
  transform: rotate(-4deg);
}

.gamepad-cross {
  position: absolute;
  top: 14px;
  left: 10px;
  z-index: 1;
  color: #111;
  font: 700 20px/1 monospace;
}

.gamepad-buttons {
  position: absolute;
  top: 15px;
  right: 8px;
  z-index: 1;
  color: #b50000;
  font: 700 18px/1 monospace;
  letter-spacing: 2px;
}

.target-icon {
  border: 3px outset #ddd;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #efefef 0 5px, #d00000 6px 10px);
}

.target-icon::before,
.target-icon::after {
  content: "";
  position: absolute;
  background: #111;
}

.target-icon::before {
  top: -3px;
  left: 21px;
  width: 2px;
  height: 48px;
}

.target-icon::after {
  top: 21px;
  left: -3px;
  width: 48px;
  height: 2px;
}

.info-icon {
  display: grid;
  place-items: center;
  border: 2px outset #e4e4e4;
  border-radius: 50%;
  color: #000080;
  background: #fff;
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 900;
}

.window {
  position: absolute;
  top: var(--window-y);
  left: var(--window-x);
  z-index: 10;
  display: none;
  flex-direction: column;
  width: min(var(--window-width), calc(100vw - 32px));
  max-height: calc(100% - 28px);
  padding: 3px;
  border-top: 2px solid var(--win-light);
  border-left: 2px solid var(--win-light);
  border-right: 2px solid var(--win-dark);
  border-bottom: 2px solid var(--win-dark);
  background: var(--win-gray);
  box-shadow: 2px 2px 0 rgb(0 0 0 / 42%), 12px 14px 24px rgb(0 0 0 / 17%);
}

.window.is-open {
  display: flex;
}

.window.is-active .titlebar {
  background: linear-gradient(90deg, var(--title-blue), var(--title-blue-light));
}

.window.theme-orange .titlebar {
  background: linear-gradient(90deg, #8a2e00, #df6f0d 58%, #ffad30);
}

.window.theme-purple .titlebar {
  background: linear-gradient(90deg, #2c0758, #6f218e 58%, #bd4bd2);
}

.window.theme-deep-purple .titlebar {
  background: linear-gradient(90deg, #170046, #4b168c 60%, #7e35b2);
}

.window.theme-cyan .titlebar {
  background: linear-gradient(90deg, #004e64, #007f8b 58%, #20a7aa);
}

.window.theme-navy .titlebar {
  background: linear-gradient(90deg, #001437, #002d68 60%, #176aa0);
}

.titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 26px;
  padding: 2px 3px 2px 5px;
  color: #fff;
  background: var(--win-mid);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  user-select: none;
  cursor: move;
}

.titlebar-title {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.titlebar-mini-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 5px;
  color: #111;
  border: 1px solid #fff;
  background: #f7d52c;
  font-size: 12px;
}

.window-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 2px;
}

.window-controls button,
.win-button {
  min-width: 22px;
  height: 21px;
  padding: 0 5px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  background: var(--win-gray);
  font-weight: 700;
  line-height: 14px;
  cursor: pointer;
}

.window-controls button:active,
.win-button:active,
.start-button:active,
.task-button.is-active {
  border-top-color: #000;
  border-left-color: #000;
  border-right-color: #fff;
  border-bottom-color: #fff;
}

.window-menu {
  display: flex;
  gap: 20px;
  padding: 5px 9px;
  font-size: 13px;
}

.window-content {
  min-height: 0;
  overflow: auto;
  border-top: 2px solid var(--win-mid);
  border-left: 2px solid var(--win-mid);
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: #fff;
}

.welcome-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 26px;
}

.welcome-logo,
.about-mark {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  color: #fff;
  border: 4px outset #dfdfdf;
  background: linear-gradient(135deg, #0c4a6e 0 47%, #e8a415 47% 53%, #000080 53%);
  box-shadow: inset 0 0 0 3px #fff;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.09em;
}

.eyebrow {
  margin: 0 0 4px;
  color: #000080;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.window h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.window p {
  line-height: 1.45;
}

.system-note {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding: 8px 10px;
  border: 1px dotted #555;
  background: #ffffdf;
}

.system-note p {
  margin: 0;
  font-size: 13px;
}

.window-status {
  display: flex;
  gap: 4px;
  padding-top: 3px;
  font-size: 11px;
}

.window-status span {
  flex: 1;
  padding: 3px 5px;
  border-top: 1px solid var(--win-mid);
  border-left: 1px solid var(--win-mid);
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.mario-content {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  background: #efefdf;
}

.help-sidebar {
  padding: 12px 7px;
  border-right: 2px groove #fff;
  background: #d6d6c7;
}

.help-sidebar-title {
  margin: 0 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.help-topic {
  width: 100%;
  padding: 7px 6px;
  border: 0;
  background: transparent;
  text-align: left;
}

.help-topic.active {
  color: #fff;
  background: #000080;
}

.controller-help {
  min-width: 0;
  padding: 18px 20px 20px;
}

.help-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid #000080;
}

.help-book {
  display: grid;
  place-items: center;
  width: 42px;
  height: 46px;
  color: #fff;
  border: 3px outset #ddd;
  background: #000080;
  font: 700 27px Georgia, serif;
}

.help-header h2 {
  margin-bottom: 9px;
}

.controller-diagram {
  margin: 10px -4px 2px;
  border: 1px dotted #86866f;
  background:
    linear-gradient(90deg, rgb(0 0 128 / 4%) 1px, transparent 1px),
    linear-gradient(rgb(0 0 128 / 4%) 1px, transparent 1px),
    #ffffef;
  background-size: 12px 12px;
}

.controller-diagram svg {
  display: block;
  width: 100%;
  height: auto;
}

.controller-pixel-art {
  image-rendering: pixelated;
  filter: drop-shadow(6px 7px 0 rgb(17 24 39 / 35%));
}

.callout-lines path {
  fill: none;
  stroke: #000080;
  stroke-width: 3;
  stroke-dasharray: 5 4;
}

.callout-labels .callout-key {
  fill: #000080;
  font-size: 16px;
  font-weight: 800;
}

.callout-labels .callout-action {
  fill: #111;
  font-size: 14px;
  font-weight: 700;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin-top: 12px;
}

.control-grid > div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px;
  border: 1px solid #aaa;
  background: #fff;
  font-size: 12px;
}

kbd {
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  height: 28px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  background: #d5d5d5;
  font: 700 13px monospace;
}

.fine-print {
  margin-bottom: 0;
  color: #555;
  font-size: 11px;
}

.rules-content {
  padding: 22px 24px;
  font-family: "Courier New", monospace;
}

.under-construction {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: -22px -24px 23px;
  padding: 12px 16px;
  color: #000;
  border-bottom: 2px solid #000;
  background: repeating-linear-gradient(135deg, #f8d528 0 14px, #1c1c1c 14px 28px);
}

.under-construction > span {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  height: 34px;
  border: 2px solid #111;
  background: #f8d528;
  font-size: 25px;
}

.under-construction div {
  padding: 5px 8px;
  background: #f8d528;
}

.under-construction small {
  display: block;
  margin-top: 2px;
}

.rules-content h2 {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 4px double #000;
}

.rules-content li {
  margin-bottom: 10px;
  line-height: 1.4;
}

.crepe-content {
  display: grid;
  grid-template-columns: minmax(150px, 42%) 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px;
  background: #fff8df;
}

.crepe-content > img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(4px 5px 0 rgb(84 40 13 / 18%));
}

.locked-message {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 14px 0 18px;
  padding: 10px;
  border: 2px solid #9b4f00;
  background: #ffe69a;
}

.locked-message > span {
  font-size: 25px;
}

.locked-message p {
  margin: 0;
  font-size: 13px;
}

.fake-label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
}

.win-input {
  width: 100%;
  height: 29px;
  padding: 4px 7px;
  border-top: 2px solid #555;
  border-left: 2px solid #555;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: #eee;
}

.order-button {
  width: 100%;
  margin-top: 10px;
}

.order-button:disabled,
.toolbar-row .win-button:disabled {
  color: #777;
  text-shadow: 1px 1px #fff;
  cursor: not-allowed;
}

.media-app-content {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  min-height: 360px;
  background: #f3f3f3;
}

.media-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 14px;
  color: #fff;
  border-right: 2px groove #fff;
  text-align: center;
}

.yarg-brand {
  background: linear-gradient(180deg, #071524, #143957 62%, #0e7794);
}

.steam-brand {
  background: linear-gradient(180deg, #08172d, #123f68 64%, #1885ad);
}

.media-brand img {
  display: block;
  width: 112px;
  height: 112px;
  margin-bottom: 14px;
  border: 3px outset #ddd;
  object-fit: cover;
}

.media-brand strong {
  font-size: 24px;
}

.media-brand small {
  margin-top: 5px;
  color: #cae5f5;
  line-height: 1.3;
}

.media-main {
  min-width: 0;
  padding: 18px;
}

.toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px groove #fff;
}

.api-badge {
  padding: 4px 8px;
  border: 1px solid #555;
  font: 700 11px "Courier New", monospace;
}

.api-badge.pending {
  color: #5c3500;
  background: #ffdf69;
}

.retro-table {
  overflow: hidden;
  border-top: 2px solid #555;
  border-left: 2px solid #555;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: #fff;
  font-size: 12px;
}

.retro-table > div {
  display: grid;
  grid-template-columns: 34px minmax(120px, 1.5fr) minmax(110px, 1fr) 70px;
}

.retro-table > div:nth-child(odd):not(.retro-table-head) {
  background: #efefff;
}

.retro-table span {
  min-width: 0;
  overflow: hidden;
  padding: 7px 6px;
  border-right: 1px solid #aaa;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.retro-table-head {
  color: #fff;
  background: #000080;
  font-weight: 700;
}

.server-table > div {
  grid-template-columns: minmax(140px, 1.6fr) minmax(110px, 1fr) 65px 65px;
}

.status-wait {
  color: #8b3f00;
  font-weight: 700;
}

.api-note,
.server-hint {
  margin: 16px 0 0;
  padding: 9px;
  border: 1px dotted #666;
  background: #ffffda;
  font-size: 12px;
}

.api-note code {
  color: #000080;
  font-weight: 700;
}

.placeholder-box {
  margin: 20px 0;
  padding: 10px 14px;
  border: 2px dashed #777;
  background: #efefef;
}

.placeholder-box p {
  margin: 3px 0;
}

.cursor-line {
  margin-bottom: 0;
  color: #006400;
  font-weight: 700;
}

.blink {
  animation: blink 0.85s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.about-content {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 25px;
}

.credits-content {
  padding: 20px 22px;
  background: #f8f3ff;
}

.credits-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 3px double #531075;
}

.credits-header p {
  margin: 0;
}

.credit-list {
  display: grid;
  gap: 7px;
  margin: 17px 0;
}

.credit-list > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding: 8px 10px;
  border-left: 6px solid #6f218e;
  background: #fff;
  box-shadow: 1px 1px 0 #bbb;
  font-size: 12px;
  line-height: 1.4;
}

.credit-list > div:nth-child(even) {
  border-left-color: #dc6c0b;
}

.credits-content blockquote {
  margin: 14px 0;
  padding: 10px 14px;
  color: #fff;
  border: 2px outset #ddd;
  background: linear-gradient(90deg, #4a126d, #c65811);
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.thanks {
  margin-bottom: 0;
  color: #3a164d;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.about-content h2,
.about-content p {
  margin: 0 0 5px;
}

.muted {
  color: #555;
  font-size: 12px;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  padding: 9px 8px 6px;
}

.win-button {
  min-width: 76px;
  height: 27px;
}

.win-button:focus-visible {
  outline: 1px dotted #000;
  outline-offset: -5px;
}

.taskbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 4px;
  height: var(--taskbar-height);
  padding: 4px;
  border-top: 2px solid #fff;
  background: var(--win-gray);
}

.start-button,
.task-button {
  height: 32px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  background: var(--win-gray);
  cursor: pointer;
}

.start-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px 0 6px;
  font-size: 14px;
}

.start-flag {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  grid-template-rows: repeat(2, 8px);
  gap: 1px;
  transform: skewY(-6deg);
}

.start-flag i:nth-child(1) { background: #e22; }
.start-flag i:nth-child(2) { background: #15a13b; }
.start-flag i:nth-child(3) { background: #147ac5; }
.start-flag i:nth-child(4) { background: #e4c51d; }

.task-divider {
  width: 2px;
  height: 32px;
  margin: 0 2px;
  border-left: 1px solid #777;
  border-right: 1px solid #fff;
}

.task-buttons {
  display: flex;
  flex: 1;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}

.task-button {
  width: min(190px, 23vw);
  overflow: hidden;
  padding: 0 9px;
  white-space: nowrap;
  text-align: left;
  text-overflow: ellipsis;
  font-size: 12px;
}

.tray {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  border-top: 2px solid #777;
  border-left: 2px solid #777;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  font-size: 12px;
}

.tray-network {
  color: #000080;
  font-weight: 900;
}

.start-menu {
  position: fixed;
  bottom: var(--taskbar-height);
  left: 3px;
  z-index: 1100;
  display: grid;
  grid-template-columns: 40px 278px;
  min-height: 384px;
  padding: 3px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  background: var(--win-gray);
  box-shadow: 4px 4px 0 rgb(0 0 0 / 30%);
}

.start-menu[hidden],
.shutdown-dialog[hidden] {
  display: none;
}

.start-menu-rail {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
  padding: 10px 8px;
  color: #fff;
  background: linear-gradient(180deg, #00006b, #061d91 60%, #184fb0);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.start-menu-items {
  display: flex;
  flex-direction: column;
  padding: 4px;
}

.start-menu-items button {
  flex: 1;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.start-menu-items button:hover,
.start-menu-items button:focus-visible {
  color: #fff;
  outline: 0;
  background: #000080;
}

.start-menu-items button span {
  display: inline-block;
  width: 28px;
  font-size: 18px;
  text-align: center;
}

.start-menu-items hr {
  width: 100%;
  margin: 3px 0;
  border-top: 1px solid #777;
  border-bottom: 1px solid #fff;
}

.shutdown-dialog {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: rgb(0 0 0 / 46%);
}

.shutdown-dialog .window {
  position: static;
  width: min(390px, calc(100vw - 28px));
}

.shutdown-content {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
}

.shutdown-content > span {
  font-size: 35px;
}

.shutdown-content p {
  margin: 0;
}

@media (max-width: 740px) {
  .desktop-heading {
    top: 18px;
    right: 18px;
    left: 116px;
    max-width: none;
  }

  .desktop-heading p {
    max-width: 250px;
    margin-left: auto;
  }

  .desktop-icons {
    top: 14px;
    left: 6px;
    gap: 10px;
  }

  .window {
    top: 82px !important;
    left: 8px !important;
    width: calc(100vw - 16px);
    max-height: calc(100% - 90px);
  }

  .welcome-content {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .welcome-logo {
    width: 58px;
    height: 58px;
  }

  .mario-content {
    grid-template-columns: 1fr;
  }

  .help-sidebar {
    display: none;
  }

  .controller-help {
    padding: 13px;
  }

  .control-grid {
    grid-template-columns: 1fr;
  }

  .crepe-content,
  .media-app-content {
    grid-template-columns: 1fr;
  }

  .crepe-content {
    padding: 16px;
  }

  .crepe-content > img {
    max-height: 150px;
  }

  .media-brand {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 4px 12px;
    padding: 10px 14px;
    border-right: 0;
    border-bottom: 2px groove #fff;
    text-align: left;
  }

  .media-brand img {
    grid-row: 1 / 3;
    width: 60px;
    height: 60px;
    margin: 0;
  }

  .media-brand strong {
    align-self: end;
    font-size: 20px;
  }

  .media-brand small {
    align-self: start;
    margin: 0;
  }

  .media-main {
    padding: 13px;
  }

  .retro-table {
    overflow-x: auto;
  }

  .retro-table > div {
    min-width: 510px;
  }

  .credits-header {
    grid-template-columns: 1fr;
  }

  .credits-header .about-mark {
    width: 58px;
    height: 58px;
  }

  .credit-list > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .start-menu {
    grid-template-columns: 36px minmax(0, 1fr);
    width: min(324px, calc(100vw - 6px));
  }

  .task-button {
    width: 110px;
  }

  .tray-network {
    display: none;
  }
}

@media (max-height: 620px) {
  .desktop-icons {
    grid-template-columns: repeat(2, 96px);
  }

  .desktop-heading {
    opacity: 0.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blink {
    animation: none;
  }
}
