:root {
  --sky-top: #d9edff;
  --sky-middle: #c7e4ff;
  --sky-bottom: #edf7ff;
  --ink: #162638;
  --ink-soft: #42566c;
  --ink-faint: #6b8098;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-line: rgba(22, 38, 56, 0.13);
  --surface-shadow: rgba(36, 76, 116, 0.18);
  --accent: #0070d1;
  --accent-warm: #f59300;
  --focus: #0069d9;
  --font-display: "Zen Kaku Gothic New", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
}

html[data-theme="dark"] {
  --sky-top: #07182b;
  --sky-middle: #0d2a43;
  --sky-bottom: #113958;
  --ink: #eef8ff;
  --ink-soft: #b7cce0;
  --ink-faint: #81a2bf;
  --surface: rgba(15, 43, 69, 0.76);
  --surface-strong: rgba(13, 38, 61, 0.96);
  --surface-line: rgba(214, 239, 255, 0.17);
  --surface-shadow: rgba(0, 0, 0, 0.38);
  --accent: #8edcff;
  --accent-warm: #ffd36a;
  --focus: #b8e9ff;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  background: var(--sky-middle);
  color: var(--ink);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  transition: color 280ms ease, background 280ms ease;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.home-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-middle) 53%, var(--sky-bottom) 100%);
}

.home-canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
}

.desktop-nav {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(18px, 2.5vw, 30px);
}

.desktop-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-orb {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--surface-line);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 5px 0 var(--surface-shadow);
  color: var(--accent);
}

.brand-orb svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.desktop-brand strong,
.desktop-brand small {
  display: block;
}

.desktop-brand strong {
  font-size: 15px;
  font-weight: 700;
}

.desktop-brand small {
  margin-top: 1px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 10px;
}

.desktop-actions {
  display: flex;
  gap: 8px;
}

.desktop-control {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--surface-line);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 5px 0 var(--surface-shadow);
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.desktop-control:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 0 var(--surface-shadow);
}

.desktop-control:active {
  transform: translateY(1px) scale(0.96);
  box-shadow: 0 3px 0 var(--surface-shadow);
}

.desktop-control svg {
  width: 19px;
  height: 19px;
}

.language-toggle-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.theme-light-icon,
.theme-dark-icon {
  display: none !important;
}

.sfx-off-icon,
.sfx-on-icon {
  display: none !important;
}

html[data-theme="light"] .theme-light-icon,
html[data-theme="dark"] .theme-dark-icon {
  display: block !important;
}

#sfxToggle[data-state="off"] .sfx-off-icon,
#sfxToggle[data-state="on"] .sfx-on-icon {
  display: block !important;
}

.desktop-main {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: calc(100svh - 176px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 20px 130px;
}

.desktop-intro {
  max-width: 780px;
  text-align: center;
}

.desktop-kicker,
.window-eyebrow {
  margin: 0 0 12px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
}

.desktop-intro h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 5.6rem);
  font-weight: 500;
  line-height: 0.98;
}

.desktop-intro h1 .home-name {
  color: var(--accent-warm);
  font: inherit;
}

.desktop-subtitle {
  max-width: 36rem;
  margin: 20px auto 0;
  color: var(--ink-soft);
  font-size: clamp(14px, 1.5vw, 17px);
}

.desktop-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(106px, 128px));
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  margin-top: clamp(40px, 7vh, 72px);
}

.desktop-icon {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.desktop-icon-tile {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(82px, 8vw, 112px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--app-color) 32%, var(--surface-line));
  border-radius: 22px;
  background: linear-gradient(155deg, color-mix(in srgb, var(--app-tint) 72%, var(--surface-strong)) 0%, var(--surface-strong) 72%);
  box-shadow: 0 8px 0 var(--surface-shadow);
  color: var(--app-color);
  transition: transform 240ms cubic-bezier(0.2, 0.9, 0.2, 1.15), box-shadow 240ms ease;
}

.desktop-icon:hover .desktop-icon-tile {
  transform: translateY(-7px) rotate(-1.5deg) scale(1.035);
  box-shadow: 0 13px 0 var(--surface-shadow);
}

.desktop-icon:active .desktop-icon-tile {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 4px 0 var(--surface-shadow);
}

.desktop-icon-tile svg {
  position: relative;
  z-index: 1;
  width: clamp(30px, 3.2vw, 42px);
  height: clamp(30px, 3.2vw, 42px);
  stroke-width: 1.65;
}

.desktop-icon-glint {
  position: absolute;
  top: 12%;
  left: 14%;
  width: 34%;
  height: 18%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  filter: blur(5px);
  transform: rotate(-22deg);
}

.desktop-icon-label {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
}

.desktop-icon small {
  margin-top: 3px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
}

.desktop-satellite {
  position: fixed;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(76px, 10vh, 108px);
  z-index: 5;
  display: grid;
  place-items: center;
  width: clamp(82px, 8vw, 112px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.satellite-ring {
  position: absolute;
  inset: 4%;
  border: 2px solid color-mix(in srgb, var(--accent) 64%, transparent);
  border-radius: 50%;
  transform: rotateX(66deg) rotateZ(-18deg);
  box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 25%, transparent);
  transition: transform 260ms ease;
  animation: satellite-ring-bob 3.2s ease-in-out infinite;
}

.satellite-ring-back {
  z-index: 1;
  clip-path: inset(0 0 50% 0);
}

.satellite-ring-front {
  z-index: 3;
  clip-path: inset(50% 0 0 0);
}

.satellite-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52%;
  aspect-ratio: 1;
  border: 1px solid var(--surface-line);
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: 0 7px 0 var(--surface-shadow);
  color: var(--accent-warm);
  font-family: var(--font-mono);
  font-size: clamp(17px, 2.1vw, 24px);
  font-weight: 600;
  transform: rotate(-7deg);
  transition: transform 260ms ease;
  animation: satellite-core-bob 3.2s ease-in-out infinite;
}

.desktop-satellite:hover .satellite-ring {
  transform: rotateX(58deg) rotateZ(18deg);
}

.desktop-satellite:hover .satellite-core {
  transform: rotate(5deg) scale(1.06);
}

.desktop-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 22px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  pointer-events: none;
}

.desktop-footer > * {
  white-space: nowrap;
}

.desktop-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
}

.desktop-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35c27b;
  box-shadow: 0 0 0 4px rgba(53, 194, 123, 0.14);
}

.desktop-domain {
  color: var(--accent);
}

.desktop-copyright {
  opacity: 0.72;
}

.desktop-modal {
  position: fixed;
  z-index: 50;
  display: grid;
  visibility: hidden;
  place-items: center;
  inset: 0;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.desktop-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.desktop-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(7, 24, 43, 0.5);
  backdrop-filter: blur(9px);
}

.desktop-window {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(82svh, 760px);
  overflow: hidden;
  border: 1px solid var(--surface-line);
  border-radius: 22px;
  background: var(--surface-strong);
  box-shadow: 0 24px 70px rgba(4, 23, 43, 0.28), 0 8px 0 rgba(4, 23, 43, 0.12);
  transform: translateY(18px) scale(0.97);
  transition: transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1.12);
}

.desktop-modal.is-open .desktop-window {
  transform: translateY(0) scale(1);
}

.desktop-window-bar {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  min-height: 52px;
  padding: 0 12px;
  border-bottom: 1px solid var(--surface-line);
  background: color-mix(in srgb, var(--surface-strong) 84%, var(--sky-middle));
}

.desktop-window-bar h2 {
  margin: 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-lights {
  display: flex;
  gap: 6px;
  padding-left: 4px;
}

.window-lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b6b;
}

.window-lights i:nth-child(2) {
  background: #ffd166;
}

.window-lights i:nth-child(3) {
  background: #55d187;
}

.window-close {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.window-close:hover {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}

.window-close svg {
  width: 17px;
  height: 17px;
}

.desktop-window-body {
  display: flex;
  max-height: calc(82svh - 52px);
  overflow-y: auto;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 4vw, 42px);
}

.window-badge {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--window-color) 18%, var(--surface-strong));
  color: var(--window-color);
  box-shadow: 0 7px 0 color-mix(in srgb, var(--window-color) 18%, transparent);
}

.window-badge svg {
  width: 30px;
  height: 30px;
}

.desktop-window-body h3 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.08;
}

.desktop-window-body > p:not(.window-eyebrow, .window-footnote) {
  max-width: 38rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.window-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.window-facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--surface-line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 12px;
}

.window-facts svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.window-preview {
  display: block;
  width: 100%;
  margin: 24px 0 0;
  overflow: hidden;
  border: 1px solid var(--surface-line);
  border-radius: 14px;
  box-shadow: 0 8px 0 var(--surface-shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.window-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 0 var(--surface-shadow);
}

.window-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.lyre-preview-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  background: #d6c8b3;
}

.window-launch {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  min-width: min(100%, 300px);
  margin-top: 28px;
  padding: 15px 18px;
  border-radius: 12px;
  background: var(--accent);
  box-shadow: 0 5px 0 color-mix(in srgb, var(--accent) 60%, #000);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.desktop-window-body .window-launch:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 0 color-mix(in srgb, var(--accent) 60%, #000);
}

.window-launch svg {
  width: 18px;
  height: 18px;
}

.monitor-options {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.monitor-option {
  display: grid;
  min-width: 0;
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--surface-line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: 0 6px 0 var(--surface-shadow);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.monitor-option:hover {
  border-color: color-mix(in srgb, var(--accent) 54%, var(--surface-line));
  box-shadow: 0 9px 0 var(--surface-shadow);
  transform: translateY(-3px);
}

.monitor-option-icon {
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  place-items: center;
}

.monitor-option-icon svg {
  width: 20px;
  height: 20px;
}

.monitor-option-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.monitor-option-copy strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monitor-option-copy small {
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.45;
}

.monitor-option > svg {
  width: 17px;
  height: 17px;
  color: var(--ink-faint);
}

.status-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.status-grid span {
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--surface-line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 68%, transparent);
}

.status-grid small {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.status-grid strong {
  font-size: 14px;
}

.window-footnote {
  margin: 20px 0 0;
  color: var(--ink-faint);
  font-size: 12px;
}

.game-window-body {
  align-items: center;
  text-align: center;
}

.game-window-body > p:not(.window-eyebrow) {
  max-width: 26rem;
}

.game-preview {
  position: relative;
  width: 100%;
  min-height: min(42vh, 300px);
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid var(--surface-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #102b43 0%, #385c71 47%, #17384b 47%, #071822 100%);
  box-shadow: inset 0 0 42px rgba(0, 0, 0, 0.24);
}

.game-preview::before,
.game-preview::after {
  position: absolute;
  content: "";
}

.game-preview::before {
  right: 0;
  bottom: 0;
  left: 0;
  height: 53%;
  background:
    repeating-linear-gradient(180deg, transparent 0 14px, rgba(160, 221, 240, 0.09) 15px, transparent 16px),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.22));
}

.game-preview::after {
  top: 44%;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(225, 247, 255, 0.34);
  box-shadow: 0 0 16px rgba(180, 232, 250, 0.28);
}

.game-preview-moon,
.game-preview-water,
.game-preview-rod,
.game-preview-line,
.game-preview-bobber {
  position: absolute;
  display: block;
}

.game-preview-moon {
  top: 15%;
  right: 20%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f5e9bb;
  box-shadow: 0 0 34px rgba(245, 233, 187, 0.36);
}

.game-preview-water {
  top: 45%;
  right: 25%;
  width: 42%;
  height: 23%;
  background: linear-gradient(180deg, rgba(217, 241, 249, 0.22), transparent);
  filter: blur(8px);
}

.game-preview-rod {
  right: -12px;
  bottom: -24px;
  width: 64%;
  height: 155px;
  border-top: 8px solid #0b1218;
  border-radius: 50%;
  transform: rotate(-19deg);
  transform-origin: 100% 100%;
}

.game-preview-line {
  right: 28%;
  bottom: 38%;
  width: 1px;
  height: 92px;
  background: rgba(231, 246, 252, 0.48);
  transform: rotate(22deg);
  transform-origin: 50% 0;
}

.game-preview-bobber {
  right: 39%;
  bottom: 25%;
  width: 10px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6b6b 0 45%, #f8fbfd 45% 100%);
  box-shadow: 0 0 0 4px rgba(175, 226, 245, 0.12);
}

.about-window {
  align-items: stretch;
  text-align: left;
}

.about-profile {
  display: grid;
  width: 100%;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(22px, 5vw, 38px);
  align-items: center;
}

.about-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--surface-line);
  border-radius: 34px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: 0 9px 0 var(--surface-shadow);
}

.about-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-identity .window-eyebrow {
  margin-bottom: 8px;
}

.about-identity h3 {
  margin-bottom: 8px;
}

.about-content {
  width: 100%;
  margin-top: 34px;
  border-top: 1px solid var(--surface-line);
}

.about-content > p {
  margin: 0;
  padding: 28px 0 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.about-section {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0 2px;
  border-top: 1px solid var(--surface-line);
}

.about-section-title {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.about-section p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.about-contact-list {
  display: grid;
  gap: 11px;
  width: 100%;
}

.about-contact-list > span {
  display: grid;
  width: min(100%, 286px);
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--surface-line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 58%, transparent);
}

.about-contact-list small {
  padding-right: 14px;
  border-right: 1px solid var(--surface-line);
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.about-contact-list strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

@keyframes satellite-ring-bob {
  0%,
  100% {
    translate: 0 5px;
  }
  50% {
    translate: 0 -4px;
  }
}

@keyframes satellite-core-bob {
  0%,
  100% {
    translate: 0 -2px;
  }
  50% {
    translate: 0 3px;
  }
}

@media (max-width: 820px) {
  .desktop-main {
    justify-content: flex-start;
    padding-top: clamp(42px, 8vh, 78px);
  }

  .desktop-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 500px);
  }

  .desktop-satellite {
    right: 18px;
    bottom: 70px;
    width: 76px;
  }
}

@media (max-width: 620px) {
  .desktop-nav {
    padding: 14px 16px;
  }

  .desktop-control {
    width: 42px;
    height: 42px;
  }

  .desktop-main {
    min-height: calc(100svh - 72px);
    padding: 40px 16px 120px;
    justify-content: center;
  }

  .desktop-intro h1 {
    font-size: clamp(3.15rem, 16vw, 4.5rem);
  }

  .desktop-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
    width: min(100%, 330px);
    margin-top: 36px;
  }

  .desktop-icon-tile {
    width: 86px;
    border-radius: 19px;
  }

  .desktop-icon-label {
    margin-top: 13px;
    font-size: 13px;
  }

  .desktop-satellite {
    right: 12px;
    bottom: 62px;
    width: 66px;
  }

  .desktop-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    justify-content: initial;
    padding: 11px 16px;
  }

  .desktop-domain,
  .desktop-copyright {
    display: none;
  }

  .desktop-modal {
    align-items: end;
    padding: 0;
  }

  .desktop-window {
    width: 100%;
    max-height: 88svh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
  }

  .desktop-modal.is-open .desktop-window {
    transform: translateY(0);
  }

  .desktop-window-body {
    max-height: calc(88svh - 52px);
    padding: 24px 20px 30px;
  }

  .monitor-options {
    grid-template-columns: 1fr;
  }

  .about-profile {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    text-align: center;
  }

  .about-mark {
    width: 128px;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .desktop-intro h1 {
    font-size: 3.2rem;
  }

  .desktop-icon-tile {
    width: 78px;
  }

  .desktop-satellite {
    display: none;
  }
}

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