:root {
  color-scheme: light dark;
  --glass: rgba(255, 255, 255, 0.42);
  --glass-deep: rgba(24, 22, 42, 0.42);
  --glass-border: rgba(255, 255, 255, 0.38);
  --shadow-lg: 0 26px 70px rgba(10, 8, 32, 0.38);
  --shadow-md: 0 16px 36px rgba(10, 8, 32, 0.24);
  --text: rgba(255, 255, 255, 0.92);
  --ink: #1c1c24;
  --muted: rgba(28, 28, 36, 0.58);
  --blue: #2f7dfa;
  --cyan: #33d1d0;
  --coral: #ff745f;
  --gold: #f5bd3f;
  --green: #35c759;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  background: #061b65;
}

button {
  font: inherit;
}

.desktop {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: var(--text);
  user-select: none;
}

.wallpaper,
.wallpaper::before,
.wallpaper::after {
  position: absolute;
  inset: 0;
}

.wallpaper {
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 86% 13%, rgba(230, 230, 190, 0.70), rgba(84, 180, 204, 0.54) 21%, transparent 42%),
    radial-gradient(ellipse at 18% 42%, rgba(226, 214, 184, 0.86), rgba(198, 206, 196, 0.46) 28%, transparent 49%),
    radial-gradient(ellipse at 74% 80%, rgba(151, 197, 209, 0.55), transparent 31%),
    linear-gradient(180deg, #61a9dc 0%, #a8bdc7 28%, #d7c8a7 43%, #0b8bd6 58%, #0250cf 74%, #030b7d 100%);
}

.wallpaper::before {
  content: "";
  opacity: 0.92;
  background:
    radial-gradient(ellipse at 79% 24%, rgba(217, 229, 205, 0.82), rgba(88, 184, 205, 0.54) 20%, rgba(8, 103, 215, 0.20) 43%, transparent 58%),
    linear-gradient(130deg, transparent 0 38%, rgba(225, 240, 237, 0.72) 38.2% 38.55%, rgba(22, 133, 230, 0.72) 39.1% 40%, rgba(4, 62, 196, 0.60) 42% 63%, transparent 64% 100%);
  filter: saturate(1.18) blur(0.3px);
}

.wallpaper::after {
  content: "";
  opacity: 0.78;
  background:
    radial-gradient(ellipse at 94% 82%, rgba(226, 241, 238, 0.56), rgba(112, 170, 197, 0.28) 16%, transparent 31%),
    linear-gradient(155deg, transparent 0 42%, rgba(255, 255, 255, 0.52) 42.4% 42.62%, rgba(10, 103, 225, 0.36) 42.9% 44.2%, transparent 45% 100%),
    linear-gradient(12deg, rgba(0, 10, 102, 0.62) 0 20%, transparent 32% 100%);
  mix-blend-mode: soft-light;
}

.wave {
  position: absolute;
  width: 105vmax;
  height: 46vmax;
  border-radius: 50% 50% 44% 56%;
  filter: blur(3px);
  opacity: 0.78;
  transform: rotate(-13deg);
}

.wave-a {
  left: -26vmax;
  bottom: -17vmax;
  background: linear-gradient(10deg, rgba(1, 7, 116, 0.94) 6%, rgba(4, 62, 205, 0.92) 41%, rgba(0, 159, 203, 0.58) 68%, rgba(221, 211, 178, 0.30) 100%);
}

.wave-b {
  right: -21vmax;
  top: 2vmax;
  height: 35vmax;
  opacity: 0.64;
  background: linear-gradient(166deg, rgba(229, 232, 198, 0.54), rgba(67, 177, 204, 0.54) 34%, rgba(2, 77, 205, 0.72) 62%, rgba(0, 16, 124, 0.50));
}

.wave-c {
  left: 38vmax;
  bottom: -22vmax;
  width: 70vmax;
  height: 52vmax;
  opacity: 0.58;
  background: linear-gradient(135deg, rgba(211, 231, 232, 0.56), rgba(55, 139, 215, 0.40) 38%, rgba(1, 13, 132, 0.92) 70%);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.10;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.8) 0 0.7px, transparent 0.8px),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.65) 0 0.65px, transparent 0.75px);
  background-size: 9px 9px, 13px 13px;
  mix-blend-mode: overlay;
}

.menu-bar {
  position: absolute;
  z-index: 50;
  inset: 0 0 auto;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 14px 0 18px;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 8px rgba(2, 14, 64, 0.34);
  background: rgba(31, 83, 138, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: 0 1px 14px rgba(7, 22, 68, 0.18);
}

.menu-left,
.menu-right {
  display: flex;
  align-items: center;
  min-width: 0;
}

.menu-left {
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
}

.menu-left button,
.apple-mark {
  appearance: none;
  border: 0;
  color: inherit;
  background: transparent;
  padding: 0;
  line-height: 1;
  cursor: default;
}

.apple-mark {
  font-size: 19px;
  transform: translateY(-1px);
}

.menu-left strong {
  white-space: nowrap;
}

.menu-right {
  justify-content: flex-end;
  gap: 11px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.status-pill {
  height: 19px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.status-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  opacity: 0.96;
}

.wifi::before,
.wifi::after {
  content: "";
  position: absolute;
  left: 50%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-top-color: transparent;
  border-left-color: transparent;
  transform: translateX(-50%) rotate(45deg);
}

.wifi::before {
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 0 0 14px 0;
}

.wifi::after {
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 0 0 8px 0;
}

.battery {
  width: 25px;
  height: 13px;
  margin-right: 2px;
  border: 1.8px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  transform: translateY(1px);
}

.battery::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 3px;
  width: 2px;
  height: 5px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.85);
}

.battery i {
  position: absolute;
  inset: 2px 5px 2px 2px;
  border-radius: 2px;
  background: rgba(58, 231, 142, 0.9);
}

.search::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  left: 2px;
  top: 2px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
}

.search::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: 2px;
  bottom: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.92);
  transform: rotate(45deg);
}

.toggle::before,
.toggle::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.88);
}

.toggle::before {
  top: 4px;
}

.toggle::after {
  bottom: 4px;
}

.desktop-icons {
  position: absolute;
  z-index: 4;
  right: 28px;
  top: 58px;
  display: grid;
  gap: 20px;
}

.desktop-icon {
  width: 86px;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 4px 3px;
  color: #fff;
  border: 0;
  border-radius: 7px;
  background: transparent;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.54), 0 1px 1px rgba(0, 0, 0, 0.55);
  cursor: default;
}

.desktop-icon:hover,
.desktop-icon:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: 1px solid rgba(255, 255, 255, 0.24);
}

.desktop-icon span:last-child {
  max-width: 82px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.16;
  text-align: center;
  word-break: keep-all;
}

.desktop-ipod {
  position: absolute;
  z-index: 5;
  left: 34px;
  top: 58px;
  width: min(400px, calc(100vw - 170px));
  height: 184px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 136px;
  align-items: center;
  gap: 16px;
  padding: 11px 22px;
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, 0.86), transparent 28%),
    radial-gradient(ellipse at 82% 86%, rgba(86, 100, 108, 0.24), transparent 42%),
    linear-gradient(112deg, #edf2f4 0%, #c9d1d6 34%, #f5f8f9 50%, #aeb8bf 100%);
  box-shadow:
    0 24px 42px rgba(5, 18, 48, 0.26),
    inset 0 2px 1px rgba(255, 255, 255, 0.86),
    inset 0 -2px 5px rgba(55, 68, 76, 0.21),
    inset 10px 12px 28px rgba(255, 255, 255, 0.42),
    inset -14px -12px 28px rgba(74, 88, 96, 0.15);
}

.desktop-ipod::before,
.desktop-ipod::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.desktop-ipod::before {
  background:
    linear-gradient(103deg, rgba(255, 255, 255, 0.11), transparent 26%, rgba(62, 74, 82, 0.08) 58%, transparent 78%),
    repeating-linear-gradient(98deg, rgba(255, 255, 255, 0.045) 0 0.5px, rgba(49, 62, 70, 0.035) 0.5px 1px, transparent 1px 3px);
  mix-blend-mode: soft-light;
  opacity: 0.42;
}

.desktop-ipod::after {
  background-image:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.12) 0 0.45px, transparent 0.55px),
    radial-gradient(circle at 74% 68%, rgba(40, 52, 60, 0.08) 0 0.38px, transparent 0.5px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 18%, rgba(54, 68, 78, 0.08) 100%);
  background-size: 5px 5px, 7px 7px, auto;
  opacity: 0.28;
}

.desktop-ipod-screen {
  position: relative;
  z-index: 1;
  height: 146px;
  overflow: hidden;
  border: 5px solid #0a0b0d;
  border-radius: 7px;
  background: #1c2f3b;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.42), 0 2px 4px rgba(255, 255, 255, 0.28);
}

.desktop-ipod-display {
  height: 100%;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) 20px;
  column-gap: 12px;
  padding: 12px 10px 9px;
  color: #070707;
  background:
    radial-gradient(circle at 28% 34%, rgba(247, 247, 247, 0.96), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f6 100%);
}

.desktop-ipod-art {
  position: relative;
  width: 79px;
  aspect-ratio: 1;
  align-self: center;
  justify-self: center;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at 65% 38%, rgba(255, 255, 255, 0.54), transparent 22%),
    radial-gradient(circle at 23% 22%, var(--art-a), transparent 31%),
    radial-gradient(circle at 76% 75%, var(--art-c), transparent 36%),
    linear-gradient(135deg, var(--art-b), #f3f2e8);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.desktop-ipod-art span {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 82%;
  overflow: hidden;
  color: rgba(20, 20, 20, 0.62);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.desktop-ipod-art img,
.ipod-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.desktop-ipod-art.has-cover,
.ipod-art.has-cover {
  background: #f2f2f2;
}

.desktop-ipod-meta {
  align-self: center;
  min-width: 0;
}

.desktop-ipod-meta strong,
.desktop-ipod-meta span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desktop-ipod-meta strong {
  max-height: 48px;
  color: #060606;
  font-size: 17px;
  line-height: 1.08;
}

.desktop-ipod-meta span {
  margin-top: 4px;
  color: #6d6d6d;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.desktop-ipod-time {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 6px;
  color: #070707;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 10px;
}

.desktop-ipod-time i {
  height: 9px;
  overflow: hidden;
  border-radius: 3px;
  background: linear-gradient(180deg, #f7f7f7, #e6e6e4);
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.16), 0 5px 8px rgba(0, 0, 0, 0.04);
}

.desktop-ipod-time b {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #d7eee8, #6fa9a1 55%, #306060);
}

.desktop-ipod-wheel {
  position: relative;
  z-index: 1;
  width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(230, 230, 228, 0.72), rgba(230, 230, 228, 0.18) 20%, transparent 31%),
    linear-gradient(145deg, #fdfdfc, #e8e8e6);
  box-shadow:
    0 2px 5px rgba(53, 61, 66, 0.22),
    inset 0 2px 2px rgba(255, 255, 255, 0.92),
    inset 0 -2px 5px rgba(122, 126, 128, 0.13);
}

.desktop-ipod-label {
  appearance: none;
  position: absolute;
  left: 50%;
  top: 15px;
  border: 0;
  color: #b2b2b2;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transform: translateX(-50%);
}

.desktop-ipod-btn {
  appearance: none;
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  color: #b8b8b8;
  background: transparent;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.desktop-ipod-prev,
.desktop-ipod-next {
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
}

.desktop-ipod-prev {
  left: 3px;
}

.desktop-ipod-next {
  right: 3px;
}

.desktop-ipod-play {
  left: 50%;
  bottom: 8px;
  width: 50px;
  height: 28px;
  font-size: 18px;
  transform: translateX(-50%);
}

.desktop-ipod-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 55px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(222, 222, 220, 0.9), rgba(244, 244, 243, 0.9));
  box-shadow: inset 0 1px 3px rgba(120, 120, 120, 0.14);
  transform: translate(-50%, -50%);
}

.desktop-ipod-btn:active {
  filter: brightness(0.9);
}

.desktop-ipod-label:active {
  transform: translateX(-50%) scale(0.96);
}

.desktop-ipod-list-view {
  height: 100%;
  display: grid;
  grid-template-rows: 24px minmax(0, 1fr);
  color: #111;
  background: linear-gradient(180deg, #f7fbff, #d8ebf7);
}

.desktop-ipod-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 10px 2px;
  color: #111;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(206, 222, 232, 0.82));
  font-size: 13px;
  font-weight: 900;
}

.desktop-ipod-menu-list {
  display: grid;
  gap: 2px;
  min-height: 0;
  padding: 4px 7px 6px;
}

.desktop-ipod-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 17px;
  padding: 2px 6px;
  border: 0;
  border-radius: 4px;
  color: #171717;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.desktop-ipod-track.is-active {
  color: #fff;
  background: linear-gradient(180deg, #49b7f3, #178ce0);
}

.desktop-ipod-track span,
.desktop-ipod-track small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-ipod-track span {
  font-size: 11px;
  font-weight: 900;
}

.desktop-ipod-track small {
  font-size: 9px;
  font-weight: 800;
  opacity: 0.72;
}

.desktop-art {
  position: relative;
  width: 58px;
  height: 52px;
  display: block;
  filter: drop-shadow(0 10px 12px rgba(7, 5, 28, 0.26));
}

.folder-art {
  border-radius: 9px 9px 7px 7px;
  background: linear-gradient(180deg, #8bd9ff, #4facdf);
  box-shadow: inset 0 -7px 14px rgba(24, 69, 122, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.folder-art::before {
  content: "";
  position: absolute;
  left: 5px;
  top: -7px;
  width: 27px;
  height: 12px;
  border-radius: 8px 8px 0 0;
  background: #95ddff;
}

.folder-art i {
  position: absolute;
  inset: 15px 16px 14px 18px;
  transform: rotate(45deg);
  border-radius: 5px;
  border: 5px solid rgba(22, 119, 177, 0.45);
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.note-art,
.pdf-art {
  width: 47px;
  height: 58px;
  border-radius: 6px;
  background: linear-gradient(180deg, #fffdf5, #e9edf7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 16px rgba(3, 4, 25, 0.25);
}

.note-art::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 13px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(90deg, #fbd960, #f3aa39);
}

.note-art i,
.pdf-art i {
  position: absolute;
  left: 9px;
  right: 9px;
  top: 22px;
  height: 2px;
  border-radius: 99px;
  background: #b6bdca;
  box-shadow: 0 9px 0 #c8cfda, 0 18px 0 #c8cfda;
}

.avatar-art {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 18px rgba(5, 8, 33, 0.24);
}

.avatar-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.system-art {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 10px 12px rgba(7, 5, 28, 0.26));
}

.system-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.pdf-art::before {
  content: "PDF";
  position: absolute;
  right: 0;
  top: 0;
  width: 29px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 0 6px 0 6px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  background: linear-gradient(135deg, #ff8d7c, #ed445e);
}

.music-art {
  width: 50px;
  height: 58px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ff7aa8, #ffb347);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 10px 16px rgba(3, 4, 25, 0.25);
}

.music-art::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.86);
  border-left-color: transparent;
}

.music-art::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 10px;
  width: 5px;
  height: 30px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.86);
}

.window-layer {
  position: absolute;
  z-index: 15;
  inset: 30px 0 86px;
  pointer-events: none;
}

.app-window {
  position: absolute;
  width: min(960px, calc(100vw - 156px));
  height: min(600px, calc(100vh - 170px));
  min-width: 420px;
  min-height: 320px;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(241, 241, 249, 0.54)),
    rgba(246, 247, 252, 0.52);
  box-shadow: 0 26px 70px rgba(10, 8, 32, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(34px) saturate(1.7);
  -webkit-backdrop-filter: blur(34px) saturate(1.7);
  pointer-events: auto;
  resize: both;
  transform-origin: center bottom;
  animation: windowIn 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.app-window[data-app="copilot"] {
  border-color: rgba(255, 255, 255, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(241, 245, 252, 0.18)),
    rgba(246, 247, 252, 0.13);
  box-shadow: 0 26px 70px rgba(10, 24, 58, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(30px) saturate(1.55);
  -webkit-backdrop-filter: blur(30px) saturate(1.55);
}

.app-window[data-app="copilot"] .window-titlebar {
  background: linear-gradient(180deg, #eaf5ff 0%, #dcecf8 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.app-window[data-app="music"] {
  width: min(560px, calc(100vw - 156px));
  height: min(760px, calc(100vh - 130px));
  min-width: 420px;
  min-height: 620px;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(245, 246, 250, 0.06);
  box-shadow: 0 22px 58px rgba(10, 8, 32, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

.app-window[data-app="music"] .window-body {
  overflow: hidden;
}

.app-window[data-app="resume"] {
  border-color: rgba(255, 255, 255, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(241, 245, 252, 0.18)),
    rgba(246, 247, 252, 0.13);
  box-shadow: 0 26px 70px rgba(10, 24, 58, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(30px) saturate(1.55);
  -webkit-backdrop-filter: blur(30px) saturate(1.55);
}

.app-window[data-app="resume"] .window-titlebar {
  background: linear-gradient(180deg, rgba(234, 245, 255, 0.88) 0%, rgba(220, 236, 248, 0.74) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.app-window.is-minimized {
  pointer-events: none;
  opacity: 0;
  transform: translateY(60px) scale(0.82);
  transition: opacity 160ms ease, transform 160ms ease;
}

.app-window.is-fullscreen {
  inset: 8px 8px 0 !important;
  width: auto !important;
  height: auto !important;
  min-width: 0;
  min-height: 0;
  resize: none;
  border-radius: 11px;
}

@keyframes windowIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.window-titlebar {
  height: 52px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 92px;
  align-items: center;
  border-bottom: 1px solid rgba(78, 77, 93, 0.14);
  background: rgba(251, 248, 255, 0.42);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  cursor: grab;
}

.app-window.is-dragging .window-titlebar {
  cursor: grabbing;
}

.traffic-lights {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 20px;
}

.traffic {
  position: relative;
  width: 13px;
  height: 13px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.13);
}

.traffic::before,
.traffic::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  opacity: 0;
  transition: opacity 90ms ease;
}

.traffic-lights:hover .traffic::before,
.traffic-lights:hover .traffic::after,
.traffic:focus-visible::before,
.traffic:focus-visible::after {
  opacity: 1;
}

.traffic.close {
  background: #ff5f57;
}

.traffic.close::before,
.traffic.close::after {
  width: 8px;
  height: 1.5px;
  border-radius: 99px;
  background: rgba(95, 8, 10, 0.78);
  transform-origin: center;
}

.traffic.close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.traffic.close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.traffic.minimize {
  background: #ffbd2e;
}

.traffic.minimize::before {
  width: 8px;
  height: 1.6px;
  border-radius: 99px;
  background: rgba(105, 65, 0, 0.78);
  transform: translate(-50%, -50%);
}

.traffic.minimize::after {
  display: none;
}

.traffic.zoom {
  background: #28c840;
}

.traffic.zoom::before {
  width: 8px;
  height: 1.7px;
  border-radius: 99px;
  background: rgba(0, 88, 25, 0.76);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.traffic.zoom::after {
  width: 5px;
  height: 5px;
  border-top: 1.7px solid rgba(0, 88, 25, 0.76);
  border-right: 1.7px solid rgba(0, 88, 25, 0.76);
  transform: translate(-42%, -58%);
}

.title-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
  color: rgba(28, 28, 36, 0.78);
}

.title-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, #2f7dfa, #61d7f2);
}

.window-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-body {
  height: calc(100% - 52px);
  overflow: auto;
}

.finder-shell,
.notes-shell,
.chat-shell,
.resume-shell,
.about-shell,
.style-shell,
.ipod-shell {
  height: 100%;
}

.finder-shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
}

.finder-sidebar,
.notes-list {
  padding: 18px 13px;
  border-right: 1px solid rgba(105, 105, 125, 0.14);
  background: rgba(216, 205, 230, 0.50);
  backdrop-filter: blur(26px) saturate(1.45);
  -webkit-backdrop-filter: blur(26px) saturate(1.45);
}

.sidebar-section {
  margin-bottom: 18px;
}

.sidebar-label {
  display: block;
  margin: 0 0 8px 8px;
  color: rgba(56, 54, 71, 0.46);
  font-size: 12px;
  font-weight: 760;
}

.sidebar-item,
.note-row {
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  color: rgba(28, 28, 36, 0.72);
  background: transparent;
  text-align: left;
}

.sidebar-item.is-active,
.note-row.is-active {
  color: #1c1c24;
  background: rgba(255, 255, 255, 0.46);
}

.mini-glyph {
  width: 16px;
  height: 13px;
  border-radius: 4px;
  background: linear-gradient(135deg, #2f7dfa, #63d5ea);
}

.finder-content {
  padding: 20px 22px 26px;
  background: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.toolbar-line,
.content-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.crumbs {
  min-width: 0;
  color: rgba(28, 28, 36, 0.46);
  font-size: 13px;
  font-weight: 650;
}

.segmented {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 3px;
  border: 1px solid rgba(104, 104, 128, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
}

.segmented span {
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border-radius: 6px;
  color: rgba(28, 28, 36, 0.58);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.segmented span:first-child {
  color: #fff;
  background: var(--blue);
}

.folder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 14px;
}

.project-tile {
  min-height: 150px;
  padding: 16px;
  border: 1px solid rgba(104, 104, 128, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  box-shadow: 0 10px 20px rgba(30, 32, 55, 0.08);
}

.tile-icon {
  width: 46px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 8px 8px 6px 6px;
  background: linear-gradient(180deg, #8ad9ff, #4caee2);
}

.tile-icon::before {
  content: "";
  position: relative;
  display: block;
  left: 4px;
  top: -5px;
  width: 24px;
  height: 9px;
  border-radius: 6px 6px 0 0;
  background: #9ce4ff;
}

.project-tile h3,
.style-panel h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.project-tile p,
.style-panel p {
  margin: 0;
  color: rgba(28, 28, 36, 0.56);
  font-size: 13px;
  line-height: 1.55;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.metric {
  padding: 10px;
  border-radius: 8px;
  background: rgba(47, 125, 250, 0.10);
  backdrop-filter: blur(14px) saturate(1.18);
  -webkit-backdrop-filter: blur(14px) saturate(1.18);
}

.metric strong {
  display: block;
  color: #214c9c;
  font-size: 18px;
}

.metric span {
  color: rgba(28, 28, 36, 0.54);
  font-size: 12px;
}

.notes-shell {
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  background: rgba(255, 255, 255, 0.50);
}

.notes-list {
  background: rgba(248, 235, 191, 0.30);
}

.note-row {
  height: auto;
  display: block;
  padding: 10px 11px;
}

.note-row strong,
.note-row span {
  display: block;
}

.note-row strong {
  margin-bottom: 3px;
  font-size: 13px;
}

.note-row span {
  overflow: hidden;
  color: rgba(28, 28, 36, 0.48);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notes-paper {
  padding: 28px 36px;
}

.notes-paper h2,
.resume-page h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 16px;
  padding-left: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(var(--gold), var(--coral), var(--blue));
}

.timeline-item {
  position: relative;
  padding: 14px 16px;
  border: 1px solid rgba(122, 105, 64, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 18px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 116, 95, 0.18);
}

.timeline-item strong {
  display: block;
  margin-bottom: 5px;
}

.timeline-item p {
  margin: 0;
  color: rgba(28, 28, 36, 0.58);
  font-size: 13px;
  line-height: 1.55;
}

.chat-shell {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  background: transparent;
  color: #1c2638;
}

.chat-panel {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 24px 22px 10px;
}

.chat-intro {
  min-width: 0;
}

.chat-kicker {
  margin: 0 0 8px;
  color: rgba(24, 31, 47, 0.58);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.chat-intro h2 {
  margin: 0 0 10px;
  color: rgba(24, 31, 47, 0.92);
  font-size: 24px;
  line-height: 1.42;
}

.chat-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px 14px;
}

.chat-summary span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(47, 125, 250, 0.14);
  border-radius: 999px;
  color: #2461bc;
  background: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 700;
}

.chat-log {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  gap: 12px;
  margin: 0 18px 12px;
  padding: 12px 2px 12px 2px;
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.chat-log::-webkit-scrollbar {
  width: 10px;
  height: 0;
}

.chat-log::-webkit-scrollbar-track {
  background: transparent;
}

.chat-log::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
  background-color: transparent;
}

.chat-log:hover,
.chat-log.is-scrolling {
  scrollbar-color: rgba(111, 125, 150, 0.32) transparent;
}

.chat-log:hover::-webkit-scrollbar-thumb,
.chat-log.is-scrolling::-webkit-scrollbar-thumb {
  background-color: rgba(111, 125, 150, 0.28);
}

.chat-log:hover::-webkit-scrollbar-thumb:hover,
.chat-log.is-scrolling::-webkit-scrollbar-thumb:hover {
  background-color: rgba(111, 125, 150, 0.42);
}

.chat-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 760;
}

.chat-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 10px 18px 0;
  overflow: hidden;
}

.chat-shell.is-empty .chat-log {
  display: none;
}

.chat-shell.is-empty .chat-stage {
  padding-bottom: 104px;
}

.chat-shell.has-chat .chat-stage {
  padding-bottom: 6px;
}

.chat-shell.has-chat .chat-log {
  margin-right: 8px;
}

.chat-status {
  height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border-radius: 999px;
  color: rgba(28, 38, 56, 0.60);
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.34);
  font-size: 12px;
}

.chat-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.chat-home {
  position: absolute;
  inset: 0 0 90px;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  transform: translateY(28px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.chat-shell.has-chat .chat-home {
  opacity: 0;
  transform: translateY(-8px);
}

.chat-home-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(540px, 100%);
  text-align: center;
}

.chat-avatar-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
}

.chat-avatar {
  width: 84px;
  height: 84px;
  display: block;
  border: 4px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 16px 30px rgba(48, 68, 102, 0.18);
}

.online-dot {
  position: absolute;
  right: 7px;
  bottom: 12px;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.14);
}

.chat-home-title {
  margin: 0;
  color: rgba(14, 20, 35, 0.90);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.45;
}

.chat-home-copy {
  margin: 0;
  color: rgba(24, 31, 47, 0.56);
  font-size: 15px;
  line-height: 1.5;
}

.chat-prompt-dock {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 12px;
  pointer-events: auto;
}

.chat-prompt-dock button {
  height: 38px;
  flex: 0 0 auto;
  padding: 0 16px;
  border: 1px solid rgba(47, 125, 250, 0.16);
  border-radius: 999px;
  color: #2f72d9;
  background: rgba(255, 255, 255, 0.80);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 6px 12px rgba(49, 74, 108, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 700;
}

.bubble-stack {
  display: grid;
  gap: 8px;
  max-width: min(84%, 920px);
}

.bubble-enter {
  animation: bubbleRise 720ms cubic-bezier(0.18, 0.92, 0.22, 1) both;
  transform-origin: bottom center;
}

.bubble-stack.ai.is-loading.bubble-enter {
  animation: loadingRise 1120ms cubic-bezier(0.18, 0.8, 0.16, 1) both;
}

.bubble-stack.ai.is-answering.bubble-enter {
  animation: none;
  opacity: 1;
  transform: none;
  filter: none;
}

.bubble-enter-avatar {
  animation: avatarRise 760ms cubic-bezier(0.18, 0.92, 0.22, 1) both;
}

.bubble-stack.ai.is-loading .bubble-enter-avatar {
  animation: loadingAvatarRise 1160ms cubic-bezier(0.18, 0.8, 0.16, 1) both;
}

.bubble-enter-bubble {
  animation: contentRise 760ms cubic-bezier(0.18, 0.92, 0.22, 1) 40ms both;
}

.bubble-stack.ai.is-loading .bubble-enter-bubble {
  animation: loadingContentRise 1160ms cubic-bezier(0.18, 0.8, 0.16, 1) 80ms both;
}

.bubble-stack.ai {
  justify-self: start;
}

.bubble-stack.user {
  justify-self: end;
}

.bubble-stack.is-intro {
  margin-top: 8px;
}

.bubble-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bubble-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: #fff;
  box-shadow: 0 6px 12px rgba(39, 50, 70, 0.12);
}

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

.bubble-meta {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 18px;
  color: rgba(48, 57, 71, 0.82);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 14px rgba(33, 42, 60, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.bubble {
  max-width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.bubble.ai {
  align-self: flex-start;
  color: #1c2638;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(104, 104, 128, 0.10);
  box-shadow: 0 12px 26px rgba(39, 50, 70, 0.10);
}

.bubble.ai.is-loading {
  color: rgba(28, 38, 56, 0.68);
  background: rgba(255, 255, 255, 0.78);
}

.bubble.ai.typewriter-bubble {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  box-sizing: border-box;
}

.bubble.ai.is-loading.typewriter-bubble {
  gap: 8px;
}

.loading-infinity {
  width: 28px;
  height: 22px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: rgba(47, 125, 250, 0.78);
  transform: translateY(1px);
  --duration: 2s;
}

.loading-infinity svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.loading-infinity path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loading-infinity-line {
  stroke: currentColor;
  stroke-width: 10;
  stroke-dasharray: 205.271142578125 51.317785644531256;
  transform: scale(0.8);
  transform-origin: 50px 50px;
  animation: loadingUiInfinityDash var(--duration, 2s) linear infinite;
}

.typewriter-text {
  display: inline;
  line-height: inherit;
  white-space: pre-wrap;
}

.bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #2e7ef7, #1966e3);
  color: #fff;
  box-shadow: 0 12px 26px rgba(19, 89, 208, 0.22);
}

@keyframes bubbleRise {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    filter: blur(2px);
  }
  65% {
    opacity: 1;
    transform: translateY(-3px) scale(1.008);
    filter: blur(0);
  }
  84% {
    transform: translateY(1px) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes avatarRise {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.94);
  }
  68% {
    opacity: 1;
    transform: translateY(-2px) scale(1.02);
  }
  86% {
    transform: translateY(1px) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes contentRise {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  64% {
    opacity: 1;
    transform: translateY(-2px);
  }
  83% {
    transform: translateY(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loadingRise {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.97);
    filter: blur(2px);
  }
  68% {
    opacity: 1;
    transform: translateY(-3px) scale(1.01);
    filter: blur(0);
  }
  86% {
    transform: translateY(1px) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes loadingAvatarRise {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.92);
  }
  70% {
    opacity: 1;
    transform: translateY(-2px) scale(1.02);
  }
  87% {
    transform: translateY(1px) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loadingContentRise {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  68% {
    opacity: 1;
    transform: translateY(-2px);
  }
  86% {
    transform: translateY(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loadingUiInfinityDash {
  to {
    stroke-dashoffset: 256.58892822265625;
  }
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px 16px;
  padding: 10px 10px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 12px 30px rgba(40, 55, 78, 0.12);
  backdrop-filter: blur(20px) saturate(1.24);
  -webkit-backdrop-filter: blur(20px) saturate(1.24);
}

.chat-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  color: #1c2638;
  background: transparent;
  outline: none;
  font-size: 14px;
}

.chat-input button {
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #1f7ff2;
  font-weight: 800;
}

.chat-input button[type="submit"] {
  width: 40px;
  flex: 0 0 40px;
  font-size: 15px;
  line-height: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, #2f86ff, #1861de);
  box-shadow: 0 10px 20px rgba(23, 97, 223, 0.24);
}

.chat-input button:disabled,
.chat-input input:disabled {
  opacity: 0.7;
}

.resume-shell {
  display: grid;
  place-items: start center;
  padding: 28px;
  background: rgba(64, 68, 82, 0.52);
}

.resume-page {
  width: min(680px, 100%);
  min-height: 780px;
  padding: 44px 48px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(13, 17, 28, 0.22);
}

.resume-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(28, 28, 36, 0.14);
}

.resume-header h1 {
  margin: 0 0 8px;
  font-size: 32px;
}

.resume-header p {
  margin: 0;
  color: rgba(28, 28, 36, 0.58);
}

.resume-badge {
  align-self: start;
  padding: 8px 10px;
  border-radius: 8px;
  color: #21505a;
  background: rgba(51, 209, 208, 0.15);
  font-size: 12px;
  font-weight: 800;
}

.resume-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.resume-block h3 {
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(28, 28, 36, 0.58);
}

.resume-line {
  height: 11px;
  margin-bottom: 10px;
  border-radius: 99px;
  background: #e7eaf1;
}

.resume-line.short {
  width: 72%;
}

.resume-line.accent {
  width: 42%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.about-shell {
  position: relative;
  min-width: 880px;
  min-height: 690px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.34), transparent 28%),
    radial-gradient(circle at 70% 80%, rgba(47, 125, 250, 0.18), transparent 34%),
    rgba(235, 238, 241, 0.22);
}

.about-card {
  position: absolute;
  left: var(--x);
  top: var(--y);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 42px rgba(25, 30, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px) saturate(1.28);
  -webkit-backdrop-filter: blur(22px) saturate(1.28);
}

.about-titlebar {
  height: 31px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid rgba(80, 84, 96, 0.14);
  background: linear-gradient(180deg, rgba(247, 247, 248, 0.95), rgba(226, 229, 232, 0.92));
  cursor: grab;
  user-select: none;
}

.about-titlebar:active {
  cursor: grabbing;
}

.about-titlebar strong {
  justify-self: center;
  max-width: 100%;
  overflow: hidden;
  color: rgba(20, 23, 29, 0.76);
  font-size: 13px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.about-photo-card {
  z-index: 15;
  width: 360px;
  height: 472px;
}

.about-photo-frame {
  height: calc(100% - 31px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.34);
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 48% 50%;
}

.about-intro-card {
  z-index: 16;
  width: 338px;
}

.about-skills-card {
  z-index: 17;
  width: 284px;
}

.about-work-card {
  z-index: 18;
  width: 640px;
}

.about-card-body {
  padding: 18px;
}

.about-card-body h2,
.about-card-body h3 {
  margin: 0 0 12px;
  color: rgba(15, 18, 24, 0.92);
}

.about-card-body h2 {
  font-size: 27px;
  line-height: 1.1;
}

.about-card-body h3 {
  font-size: 18px;
}

.about-card-body p {
  margin: 0;
  color: rgba(29, 35, 45, 0.76);
  font-size: 14px;
  line-height: 1.72;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.skill-item {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
}

.skill-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 9px 18px rgba(20, 25, 40, 0.16);
}

.skill-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.skill-item strong {
  overflow: hidden;
  max-width: 70px;
  color: rgba(25, 30, 38, 0.72);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-list {
  display: grid;
  gap: 14px;
}

.work-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(60, 64, 74, 0.10);
}

.work-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.work-item time {
  justify-self: end;
  text-align: right;
  color: rgba(28, 35, 46, 0.48);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.work-item h4 {
  margin: 0 0 4px;
  color: rgba(20, 24, 32, 0.88);
  font-size: 15px;
}

.work-item p {
  margin-bottom: 9px;
  font-size: 13px;
  line-height: 1.35;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-tags span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #1f6a45;
  background: rgba(188, 244, 210, 0.62);
  font-size: 12px;
  font-weight: 760;
}

.work-tags span:nth-child(2n) {
  color: #275f9b;
  background: rgba(195, 226, 255, 0.72);
}

.work-tags span:nth-child(3n) {
  color: #7a4a12;
  background: rgba(255, 232, 191, 0.74);
}

.work-tags span:nth-child(4n) {
  color: #673a8f;
  background: rgba(226, 209, 255, 0.70);
}

.style-shell {
  padding: 24px;
  background: rgba(255, 255, 255, 0.62);
}

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

.style-panel {
  min-height: 152px;
  padding: 18px;
  border: 1px solid rgba(104, 104, 128, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(30, 32, 55, 0.08);
}

.swatches {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.swatches span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 12px rgba(30, 32, 55, 0.16);
}

.swatches span:nth-child(1) {
  background: #32118d;
}

.swatches span:nth-child(2) {
  background: #2f7dfa;
}

.swatches span:nth-child(3) {
  background: #33d1d0;
}

.swatches span:nth-child(4) {
  background: #ff745f;
}

.glass-sample {
  height: 78px;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ipod-shell {
  display: grid;
  place-items: center;
  padding: 14px;
  overflow: hidden;
  background: transparent;
}

.ipod-device {
  width: min(420px, 100%);
  height: min(650px, 100%);
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(220px, 255px) 1fr;
  justify-items: center;
  padding: 18px 18px 34px;
  border-radius: 38px;
  background:
    linear-gradient(90deg, rgba(180, 180, 180, 0.34), transparent 13%, transparent 87%, rgba(152, 152, 152, 0.34)),
    linear-gradient(180deg, #f7f7f5 0%, #d8d8d6 44%, #c8c8c6 100%);
  box-shadow:
    inset 12px 0 30px rgba(255, 255, 255, 0.68),
    inset -16px 0 28px rgba(92, 92, 92, 0.18),
    0 28px 56px rgba(15, 20, 40, 0.24);
}

.ipod-screen {
  width: 100%;
  align-self: start;
  overflow: hidden;
  border: 7px solid #111;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.ipod-topbar {
  height: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  border-bottom: 1px solid #a5b1b1;
  background: linear-gradient(180deg, #f8fbfb, #c7d1cf);
  color: #070707;
}

.ipod-topbar strong {
  overflow: hidden;
  font-size: 20px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ipod-status {
  color: #27a9dc;
  font-size: 18px;
}

.ipod-battery {
  position: relative;
  width: 33px;
  height: 16px;
  border: 2px solid #6f8064;
  background: #ecf4e9;
}

.ipod-battery::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 3px;
  width: 3px;
  height: 7px;
  border-radius: 0 2px 2px 0;
  background: #6f8064;
}

.ipod-battery i {
  position: absolute;
  inset: 2px 5px 2px 2px;
  background: linear-gradient(180deg, #9be574, #67b643);
}

.ipod-now {
  min-height: 160px;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 24px 26px 16px;
}

.ipod-art {
  position: relative;
  width: 128px;
  aspect-ratio: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 65% 38%, rgba(255, 255, 255, 0.56), transparent 22%),
    radial-gradient(circle at 23% 22%, var(--art-a), transparent 31%),
    radial-gradient(circle at 76% 75%, var(--art-c), transparent 36%),
    linear-gradient(135deg, var(--art-b), #f3f2e8);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.ipod-art::before,
.ipod-art::after {
  content: "";
  position: absolute;
  border-radius: 45%;
  background: rgba(20, 20, 28, 0.22);
  filter: blur(5px);
}

.ipod-art::before {
  left: 15px;
  top: 13px;
  width: 52px;
  height: 78px;
  transform: rotate(-24deg);
}

.ipod-art::after {
  right: 7px;
  top: 32px;
  width: 48px;
  height: 72px;
  transform: rotate(17deg);
}

.ipod-art-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.30), transparent 40%, rgba(255, 255, 255, 0.18));
}

.ipod-art-label {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  color: rgba(20, 20, 20, 0.68);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.ipod-track-meta {
  min-width: 0;
}

.ipod-track-meta h2 {
  margin: 0 0 8px;
  overflow: hidden;
  color: #060606;
  font-size: 24px;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ipod-track-meta p {
  margin: 0;
  overflow: hidden;
  color: #6d6d6d;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.26;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ipod-progress-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 12px;
  padding: 16px 26px 28px;
}

.ipod-progress-row strong {
  color: #070707;
  font-size: 20px;
  line-height: 1;
}

.ipod-progress-row strong:last-child {
  text-align: right;
}

.ipod-progress {
  height: 15px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8f8f8, #ececec);
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.18), 0 6px 8px rgba(0, 0, 0, 0.05);
}

.ipod-progress span {
  height: 100%;
  display: block;
  background: linear-gradient(180deg, #d7eee8, #6fa9a1 56%, #306060);
}

.ipod-menu-list {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.ipod-track-row {
  display: grid;
  gap: 3px;
  padding: 9px 12px;
  border: 0;
  border-radius: 6px;
  color: #111;
  text-align: left;
  background: transparent;
}

.ipod-track-row.is-active {
  color: #fff;
  background: linear-gradient(180deg, #49b7f3, #178ce0);
}

.ipod-track-row span {
  overflow: hidden;
  font-size: 16px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ipod-track-row small {
  overflow: hidden;
  color: currentColor;
  font-size: 12px;
  opacity: 0.72;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ipod-wheel {
  position: relative;
  width: min(250px, 43vh);
  min-width: 210px;
  aspect-ratio: 1;
  align-self: end;
  margin-bottom: 2px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(236, 236, 235, 0.58), rgba(236, 236, 235, 0.16) 18%, transparent 28%),
    linear-gradient(145deg, #fff, #efefee);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -3px 8px rgba(120, 120, 120, 0.15),
    0 2px 3px rgba(0, 0, 0, 0.18);
}

.ipod-wheel-btn,
.ipod-center {
  appearance: none;
  position: absolute;
  border: 0;
  color: #bebebe;
  background: transparent;
  font-weight: 900;
}

.ipod-wheel-btn {
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.ipod-menu {
  left: 50%;
  top: 21px;
  width: 96px;
  height: 42px;
  color: #b8b8b8;
  font-size: 24px;
  transform: translateX(-50%);
}

.ipod-prev,
.ipod-next {
  top: 50%;
  width: 58px;
  height: 58px;
  font-size: 28px;
  transform: translateY(-50%);
}

.ipod-prev {
  left: 14px;
}

.ipod-next {
  right: 14px;
}

.ipod-play {
  left: 50%;
  bottom: 27px;
  width: 84px;
  height: 48px;
  font-size: 31px;
  transform: translateX(-50%);
}

.ipod-center {
  left: 50%;
  top: 50%;
  width: 96px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 45%, rgba(255, 255, 255, 0.78), transparent 32%),
    linear-gradient(145deg, #e8e8e7, #f7f7f6);
  box-shadow:
    inset 0 1px 3px rgba(120, 120, 120, 0.12),
    inset 0 -1px 2px rgba(255, 255, 255, 0.70);
  transform: translate(-50%, -50%);
}

.ipod-wheel-btn:active {
  filter: brightness(0.92);
}

.ipod-menu:active {
  transform: translateX(-50%) scale(0.96);
}

.ipod-prev:active,
.ipod-next:active {
  transform: translateY(-50%) scale(0.96);
}

.ipod-play:active {
  transform: translateX(-50%) scale(0.96);
}

.music-permission-backdrop {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 24, 32, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.music-permission-dialog {
  width: min(360px, calc(100vw - 48px));
  padding: 24px 24px 18px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 16px;
  background: rgba(246, 247, 250, 0.88);
  box-shadow: 0 24px 70px rgba(5, 10, 24, 0.28);
  text-align: center;
}

.music-permission-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #ff4d8d, #ffb347);
  box-shadow: 0 12px 24px rgba(255, 77, 141, 0.24);
  font-size: 28px;
  font-weight: 900;
}

.music-permission-dialog h2 {
  margin: 0;
  color: rgba(15, 18, 24, 0.92);
  font-size: 17px;
  line-height: 1.45;
}

.music-permission-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.music-permission-actions button {
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
}

.music-permission-deny {
  color: rgba(28, 32, 40, 0.74);
  background: rgba(220, 224, 232, 0.92);
}

.music-permission-allow {
  color: #fff;
  background: linear-gradient(180deg, #3a9bff, #1677e8);
  box-shadow: 0 8px 16px rgba(22, 119, 232, 0.22);
}

.dock-wrap {
  position: absolute;
  z-index: 60;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(860px, calc(100vw - 34px));
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.dock {
  height: 74px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 10px 12px 9px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 45px rgba(7, 4, 32, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(26px) saturate(1.55);
  -webkit-backdrop-filter: blur(26px) saturate(1.55);
  pointer-events: auto;
}

.dock-item {
  position: relative;
  width: 52px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: transparent;
  transform-origin: center bottom;
  transition: transform 90ms ease, margin 90ms ease;
}

.dock-item small {
  position: absolute;
  bottom: -7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(23, 23, 31, 0.82);
  opacity: 0;
}

.dock-item.active small {
  opacity: 1;
}

.dock-icon {
  position: relative;
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 15px rgba(10, 7, 31, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.finder-icon {
  overflow: hidden;
  background: linear-gradient(90deg, #67cfff 0 50%, #f3f8ff 50% 100%);
}

.finder-icon::before {
  content: "";
  position: absolute;
  inset: 15px 9px auto;
  height: 2px;
  background: rgba(29, 64, 110, 0.68);
  box-shadow: 0 11px 0 rgba(29, 64, 110, 0.68);
}

.finder-icon::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 50%;
  width: 2px;
  background: rgba(28, 98, 160, 0.22);
}

.notes-icon {
  background: linear-gradient(180deg, #ffd85f 0 28%, #fffaf0 28% 100%);
}

.notes-icon::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 21px;
  height: 2px;
  border-radius: 99px;
  background: #c9c4b5;
  box-shadow: 0 8px 0 #d7d1c2, 0 16px 0 #d7d1c2;
}

.ask-icon {
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.88);
}

.ask-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.system-dock-icon {
  overflow: visible;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}

.system-dock-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(10, 7, 31, 0.22));
}

.preview-icon {
  background: linear-gradient(135deg, #ff745f, #2f7dfa);
}

.preview-icon::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 10px;
  width: 22px;
  height: 26px;
  border-radius: 8px 8px 10px 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 -7px 0 rgba(47, 125, 250, 0.20);
}

.preview-icon::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 16px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2f7dfa;
  box-shadow: 10px 0 0 #2f7dfa, 5px 10px 0 rgba(255, 116, 95, 0.9);
}

.settings-icon {
  background: linear-gradient(135deg, #232938, #627084);
}

.settings-icon::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 5px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
}

.settings-icon::after {
  content: "";
  position: absolute;
  inset: 21px;
  border-radius: 50%;
  background: #627084;
}

.music-icon {
  background: linear-gradient(135deg, #ff4d8d, #ffb347);
}

.music-icon::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-left-color: transparent;
}

.music-icon::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 10px;
  width: 5px;
  height: 28px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.9);
}

.bin-icon {
  border-radius: 10px 10px 14px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(207, 220, 237, 0.82));
}

.bin-icon::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: -3px;
  height: 8px;
  border-radius: 5px;
  background: rgba(238, 245, 255, 0.96);
}

.dock-divider {
  width: 1px;
  height: 44px;
  margin: 0 2px 3px;
  background: rgba(61, 54, 89, 0.36);
}

@media (max-width: 920px) {
  .menu-left button:not(.apple-mark):nth-of-type(n + 3),
  .status-pill,
  .status-icon.search,
  .status-icon.toggle {
    display: none;
  }

  .desktop-icons {
    right: 16px;
    top: 50px;
    gap: 12px;
  }

  .desktop-ipod {
    left: 18px;
    top: 48px;
    width: min(400px, calc(100vw - 138px));
    height: 184px;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 14px;
    padding: 11px 22px;
  }

  .desktop-ipod-screen {
    height: 146px;
    border-width: 5px;
  }

  .desktop-ipod-display {
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 12px 10px 9px;
  }

  .desktop-ipod-art {
    width: 79px;
  }

  .desktop-ipod-meta strong {
    font-size: 17px;
  }

  .desktop-ipod-wheel {
    width: 132px;
  }

  .app-window {
    width: calc(100vw - 28px);
    height: calc(100vh - 150px);
    min-width: 0;
    left: 14px !important;
    top: 42px !important;
  }

  .app-window[data-app="music"] {
    width: min(520px, calc(100vw - 28px));
    min-width: 0;
  }

  .about-shell {
    min-width: 760px;
  }

  .about-photo-card {
    width: 300px;
    height: 410px;
  }

  .about-intro-card {
    width: 310px;
  }

  .about-skills-card {
    width: 250px;
  }

  .about-work-card {
    width: 580px;
  }

  .finder-shell,
  .notes-shell {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .folder-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    overflow: auto;
  }

  .desktop {
    min-height: 720px;
    overflow: hidden;
  }

  .menu-bar {
    gap: 10px;
    padding-inline: 10px;
  }

  .menu-left {
    gap: 11px;
  }

  .menu-left button:not(.apple-mark),
  .menu-right .wifi,
  .menu-right .battery {
    display: none;
  }

  .desktop-icons {
    left: 14px;
    right: auto;
    top: 208px;
    grid-template-columns: repeat(2, 80px);
  }

  .desktop-ipod {
    left: 12px;
    right: 12px;
    top: 46px;
    width: auto;
    height: 126px;
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 12px;
    padding: 9px 14px;
    border-radius: 24px;
  }

  .desktop-ipod-screen {
    height: 104px;
    border-width: 5px;
  }

  .desktop-ipod-display {
    grid-template-columns: 66px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) 18px;
    gap: 8px;
    padding: 11px 10px 8px;
  }

  .desktop-ipod-art {
    width: 52px;
  }

  .desktop-ipod-meta strong {
    max-height: 48px;
    font-size: 17px;
  }

  .desktop-ipod-meta span {
    margin-top: 4px;
    font-size: 13px;
  }

  .desktop-ipod-time {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 6px;
    font-size: 11px;
  }

  .desktop-ipod-wheel {
    width: 98px;
  }

  .desktop-ipod-label {
    top: 11px;
    font-size: 12px;
  }

  .desktop-ipod-prev,
  .desktop-ipod-next {
    width: 24px;
    height: 24px;
    font-size: 15px;
  }

  .desktop-ipod-prev {
    left: 10px;
  }

  .desktop-ipod-next {
    right: 10px;
  }

  .desktop-ipod-play {
    bottom: 10px;
    width: 36px;
    font-size: 12px;
  }

  .desktop-ipod-center {
    width: 38px;
  }

  .window-layer {
    inset-bottom: 92px;
  }

  .app-window {
    height: calc(100vh - 180px);
    border-radius: 13px;
    resize: none;
  }

  .app-window[data-app="music"] {
    min-height: 0;
  }

  .toolbar-line,
  .content-head {
    align-items: flex-start;
    gap: 10px;
  }

  .window-titlebar {
    grid-template-columns: 78px minmax(0, 1fr) 44px;
  }

  .traffic-lights {
    padding-left: 14px;
  }

  .finder-shell,
  .notes-shell,
  .style-grid {
    grid-template-columns: 1fr;
  }

  .finder-sidebar,
  .notes-list {
    display: none;
  }

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

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .ask-home {
    gap: 12px;
    padding: 28px 24px 22px;
  }

  .chat-panel {
    grid-template-columns: 1fr;
    padding: 20px 16px 8px;
  }

  .chat-stage {
    padding: 16px 12px 10px;
  }

  .ask-avatar-wrap {
    width: 78px;
    height: 78px;
  }

  .ask-avatar {
    width: 72px;
    height: 72px;
  }

  .online-dot {
    right: 5px;
    bottom: 9px;
    width: 16px;
    height: 16px;
  }

  .ask-home h2 {
    font-size: 18px;
    line-height: 1.45;
  }

  .chat-intro h2 {
    font-size: 18px;
    line-height: 1.46;
  }

  .ask-home p {
    font-size: 13px;
  }

  .chat-summary {
    padding-inline: 12px;
  }

  .chat-log {
    margin-inline: 12px;
    min-height: 126px;
    max-height: 180px;
  }

  .prompt-dock {
    padding-inline: 12px;
  }

  .chat-input {
    margin-inline: 12px;
  }

  .chat-input .context-select {
    min-width: 74px;
    padding-inline: 9px;
  }

  .notes-paper {
    padding: 22px;
  }

  .about-shell {
    min-width: 760px;
    min-height: 850px;
  }

  .ipod-shell {
    padding: 12px;
  }

  .ipod-device {
    min-height: 520px;
    grid-template-rows: 225px 1fr;
    padding: 14px 14px 24px;
    border-radius: 30px;
  }

  .ipod-now {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 16px 10px;
  }

  .ipod-art {
    width: 92px;
  }

  .ipod-track-meta h2 {
    font-size: 20px;
  }

  .ipod-track-meta p {
    font-size: 15px;
  }

  .ipod-progress-row {
    grid-template-columns: 52px minmax(0, 1fr) 58px;
    gap: 8px;
    padding-inline: 16px;
  }

  .ipod-progress-row strong {
    font-size: 16px;
  }

  .ipod-wheel {
    width: min(230px, 76vw);
  }

  .dock-wrap {
    bottom: 12px;
  }

  .dock {
    height: 66px;
    gap: 6px;
    padding: 9px 10px 8px;
    border-radius: 18px;
  }

  .dock-item {
    width: 44px;
    height: 48px;
  }

  .dock-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }
}
