:root {
  --orange: #f3a15d;
  --orange-deep: #dd683f;
  --cream: #fff5df;
  --ink: #25211f;
  --win-gray: #d8d2c8;
  --win-light: #fffef8;
  --win-mid: #a99e91;
  --win-dark: #4f4944;
  --pink: #d95773;
  --green: #278b75;
  --cyan: #1b7c91;
  --title: #345586;
  --pixel: "DotGothic16", "Noto Sans SC", "Microsoft YaHei", "Microsoft YaHei UI", "MS Gothic", "SimSun", sans-serif;
  --body: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }

body {
  color: var(--ink);
  font-family: var(--body);
  font-size: 14px;
  background: #ef9d5b;
  user-select: none;
}

button, input { font: inherit; }
button { color: inherit; }

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-content: center;
  justify-items: center;
  color: #fff9e7;
  background: #25211f;
  font-family: var(--pixel);
  transition: opacity .35s ease, visibility .35s ease;
}

.boot-screen.is-done { opacity: 0; visibility: hidden; }
.boot-logo { display: grid; grid-template-columns: repeat(2, 32px); gap: 4px; transform: skewY(-5deg); }
.boot-logo span { width: 32px; height: 26px; background: var(--orange); }
.boot-logo span:nth-child(2) { background: #ef6580; }
.boot-logo span:nth-child(3) { background: #4db9a7; }
.boot-logo span:nth-child(4) { background: #f4d35f; }
.boot-screen p { margin: 18px 0 12px; font-size: 23px; letter-spacing: 0; }
.boot-screen small { margin-top: 9px; color: #b9afa1; }
.boot-progress { width: 250px; height: 17px; padding: 2px; border: 2px solid #fff9e7; }
.boot-progress i { display: block; width: 10%; height: 100%; background: repeating-linear-gradient(90deg, var(--orange) 0 12px, transparent 12px 15px); animation: boot 1.05s steps(8) forwards; }
@keyframes boot { to { width: 100%; } }

.desktop {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 980px;
  min-height: 620px;
  overflow: hidden;
  background-color: #f8ae67;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px),
    radial-gradient(circle at 62% 36%, rgba(255,249,225,.3), transparent 32%),
    linear-gradient(125deg, #ffc17d 0%, #f5a35e 53%, #ed8f5a 100%);
  background-size: 16px 16px, 16px 16px, auto, auto;
}

.desktop::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(82,45,30,.25) 3px 4px);
}

.wallpaper-copy { position: absolute; right: 5.5vw; bottom: 13vh; text-align: right; color: rgba(112,48,27,.26); font-family: var(--pixel); transform: rotate(-3deg); }
.wallpaper-copy strong { display: block; font-size: clamp(52px, 7vw, 110px); line-height: .9; }
.wallpaper-copy span { font-size: 13px; }
.tape { position: absolute; width: 112px; height: 30px; background: rgba(255,246,201,.46); border: 1px dashed rgba(106,65,39,.3); transform: rotate(-13deg); }
.tape-a { left: 48%; top: 5%; }
.tape-b { right: 9%; top: 49%; transform: rotate(19deg); }
.sparkle { position: absolute; color: rgba(255,255,240,.78); font: 54px var(--pixel); }
.sparkle-a { left: 12%; bottom: 18%; animation: twinkle 2.3s steps(2) infinite; }
.sparkle-b { right: 23%; top: 8%; font-size: 32px; animation: twinkle 1.7s steps(2) infinite reverse; }
@keyframes twinkle { 50% { opacity: .25; transform: scale(.75) rotate(15deg); } }

.desktop-icons {
  position: absolute;
  z-index: 5;
  top: 22px;
  left: 18px;
  bottom: 56px;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(6, 82px);
  grid-auto-columns: 80px;
  gap: 8px 12px;
}

.desktop-icon { width: 80px; min-height: 74px; padding: 3px 2px; border: 1px solid transparent; color: #fff; background: transparent; text-shadow: 1px 1px #65442d; cursor: default; }
.desktop-icon:hover, .desktop-icon:focus-visible { border: 1px dotted #fff; background: rgba(91,79,117,.18); outline: 0; }
.desktop-icon > span:last-child { display: block; margin-top: 4px; font-size: 12px; line-height: 1.25; }

.pixel-icon { position: relative; display: block; width: 42px; height: 40px; margin: 0 auto; filter: drop-shadow(2px 2px 0 rgba(90,56,38,.35)); }
.pixel-icon::before, .pixel-icon::after, .pixel-icon i, .pixel-icon i::before, .pixel-icon i::after { content: ""; position: absolute; display: block; }
.computer-icon::before { left: 3px; top: 2px; width: 34px; height: 26px; background: #eee4d4; border: 3px solid #424c57; box-shadow: inset 0 0 0 3px #73abc1; }
.computer-icon::after { left: 12px; top: 30px; width: 23px; height: 5px; background: #eee4d4; border: 2px solid #424c57; }
.folder-icon::before { left: 2px; top: 9px; width: 38px; height: 27px; background: #f3cf54; border: 3px solid #7b6332; }
.folder-icon::after { left: 5px; top: 4px; width: 17px; height: 8px; background: #f3cf54; border: 3px solid #7b6332; border-bottom: 0; }
.floppy-icon::before { inset: 1px 3px 1px 3px; background: #4b667c; border: 3px solid #29343d; }
.floppy-icon::after { left: 10px; top: 4px; width: 21px; height: 14px; background: #cbd2c7; border: 2px solid #29343d; }
.floppy-icon i { left: 10px; bottom: 4px; width: 23px; height: 14px; background: #fff8e7; border: 2px solid #29343d; }
.modem-icon::before { left: 2px; top: 11px; width: 38px; height: 22px; background: #e5dfd2; border: 3px solid #3e4549; }
.modem-icon::after { left: 8px; top: 17px; width: 5px; height: 5px; background: #e85858; box-shadow: 9px 0 #58a76e, 18px 0 #e3bd46; }
.modem-icon i { left: 11px; top: 3px; width: 22px; height: 11px; border: 3px solid #3e4549; border-bottom: 0; transform: skewX(-18deg); }
.network-icon::before { left: 0; top: 2px; width: 21px; height: 17px; background: #e8e3d8; border: 3px solid #35434c; box-shadow: inset 0 0 0 3px #52a5b2, 19px 15px 0 -1px #e8e3d8, 19px 15px 0 2px #35434c, 19px 15px 0 5px #4f91a1; }
.network-icon::after { left: 5px; top: 22px; width: 15px; height: 4px; background: #e8e3d8; border: 2px solid #35434c; box-shadow: 17px 12px 0 -1px #e8e3d8, 17px 12px 0 1px #35434c; }
.network-icon i { left: 18px; top: 14px; width: 15px; height: 12px; border-left: 3px dotted #fff2c7; border-bottom: 3px dotted #fff2c7; }
.trash-icon::before { left: 9px; top: 8px; width: 26px; height: 30px; background: #ddd7c9; border: 3px solid #41474e; transform: skewX(-4deg); }
.trash-icon::after { left: 6px; top: 4px; width: 32px; height: 6px; background: #ddd7c9; border: 3px solid #41474e; }
.trash-icon i { left: 17px; top: 14px; width: 3px; height: 16px; background: #77818a; box-shadow: 8px 0 #77818a; }
.email-icon::before { left: 2px; top: 7px; width: 38px; height: 27px; background: #fff8e7; border: 3px solid #3f4650; }
.email-icon::after { left: 6px; top: 11px; width: 30px; height: 17px; border-bottom: 3px solid #d65d69; transform: skewY(-28deg) rotate(-2deg); }
.email-icon i { left: 7px; top: 10px; width: 29px; height: 16px; border-left: 3px solid #3f4650; border-bottom: 3px solid #3f4650; transform: rotate(-45deg) skew(12deg, 12deg); }

.window {
  position: absolute;
  z-index: 10;
  left: var(--x);
  top: var(--y);
  display: none;
  width: min(var(--w), calc(100vw - 100px));
  min-width: 280px;
  overflow: hidden;
  background: var(--win-gray);
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  box-shadow: 2px 2px 0 #292522, 8px 10px 0 rgba(106,52,31,.14);
}
.window.is-open { display: block; animation: window-open .16s steps(3); }
.window.is-active { z-index: 30; }
.window.is-maximized { left: 4px !important; top: 4px !important; width: calc(100vw - 8px) !important; height: calc(100vh - 48px) !important; }
@keyframes window-open { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }

.titlebar { display: flex; align-items: center; height: 27px; margin: 2px; padding: 2px 3px 2px 5px; color: #fff; background: linear-gradient(90deg, #284b7d, #4e7fac); font-family: var(--pixel); cursor: move; }
.titlebar-pink { background: linear-gradient(90deg, #a63b5a, #e26982); }
.titlebar-green { background: linear-gradient(90deg, #26755f, #58a480); }
.titlebar-orange { background: linear-gradient(90deg, #b04f2f, #df8250); }
.titlebar-cyan { background: linear-gradient(90deg, #246579, #4da1a8); }
.titlebar-icon { width: 19px; margin-right: 4px; text-align: center; }
.titlebar strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.window-controls { display: flex; gap: 2px; margin-left: auto; }
.window-controls button { display: grid; place-items: center; width: 19px; height: 19px; padding: 0 0 2px; border: 2px solid; border-color: #fff #4f4944 #4f4944 #fff; background: var(--win-gray); color: #282421; font: 700 13px/1 Arial, sans-serif; cursor: default; }
.window-controls button:active, .win-button:active { border-color: #4f4944 #fff #fff #4f4944; padding: 1px 0 0 1px; }
.menubar { display: flex; gap: 18px; padding: 4px 8px 5px; font-size: 12px; border-bottom: 1px solid var(--win-mid); }
.statusbar { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; font-size: 11px; }
.statusbar span { padding: 2px 5px; border: 1px solid; border-color: #8f857b #fff #fff #8f857b; }

.profile-content { display: grid; grid-template-columns: 220px 1fr; gap: 19px; padding: 18px; background: #fffaf0; background-image: radial-gradient(#edb17b 1px, transparent 1px); background-size: 14px 14px; }
.identity-card { position: relative; min-height: 258px; overflow: hidden; padding: 18px; border: 3px solid #33302e; color: #332d29; background: #f6b06f; box-shadow: 7px 7px 0 #e05f52; font-family: var(--pixel); }
.identity-card::after { content: ""; position: absolute; right: -24px; bottom: -30px; width: 130px; height: 130px; border: 18px solid rgba(255,248,218,.5); transform: rotate(18deg); }
.identity-index { display: inline-block; padding: 3px 5px; color: #fff; background: #33302e; font-size: 9px; }
.identity-name { position: relative; z-index: 2; margin-top: 18px; font-size: 48px; line-height: .78; }
.identity-name span { display: block; }
.identity-name span:last-child { margin-left: 27px; color: #fff8df; }
.identity-bars { display: flex; gap: 4px; align-items: end; height: 30px; margin-top: 20px; }
.identity-bars i { width: 8px; height: 10px; background: #3d8d8a; }
.identity-bars i:nth-child(2) { height: 20px; background: #d95f6e; }
.identity-bars i:nth-child(3) { height: 14px; background: #f8e4a2; }
.identity-bars i:nth-child(4) { height: 27px; background: #3d8d8a; }
.identity-bars i:nth-child(5) { height: 18px; background: #d95f6e; }
.identity-card > p { margin: 12px 0; font-size: 9px; line-height: 1.45; }
.portrait-status { position: absolute; z-index: 4; right: 8px; bottom: 8px; padding: 3px 6px; background: #fff8de; border: 2px solid #332d29; font: 11px var(--pixel); }
.portrait-status i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; background: #4eaa70; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.profile-copy { min-width: 0; }
.eyebrow { margin: 2px 0 5px; color: #9f4d3d; font: 11px var(--pixel); }
.profile-copy h1 { margin: 0; font: 42px/.95 var(--body); font-weight: 700; color: #292320; }
.profile-copy h1 span { display: block; margin: 5px 0 0 2px; color: #da5e68; font: 14px/1.2 var(--body); font-weight: 500; }
.bio { margin: 15px 0 13px; line-height: 1.7; user-select: text; }
.tag-list { display: flex; flex-wrap: wrap; gap: 5px; }
.tag-list span { padding: 3px 6px; border: 2px solid #332d29; color: #fff; background: #3c8b8c; box-shadow: 2px 2px 0 #332d29; font: 10px var(--pixel); }
.tag-list span:nth-child(2n) { background: #dc6571; }
.tag-list span:nth-child(3n) { background: #d4983e; }
.profile-stats { margin: 16px 0 0; border-top: 2px dashed #e4a16a; }
.profile-stats div { display: grid; grid-template-columns: 77px 1fr; padding: 6px 2px; border-bottom: 1px dotted #d9a680; }
.profile-stats dt { color: #9c5745; font: 10px var(--pixel); }
.profile-stats dd { margin: 0; font-size: 12px; font-weight: 700; }

.player-window { z-index: 12; }
.cd-player { padding: 10px; background: #c8c2b9; }
.cd-stage { position: relative; height: 140px; overflow: hidden; border: 3px inset #817b73; background: #292b32; }
.cd-brand { position: absolute; right: 8px; top: 7px; width: 64px; color: #e9e4d7; font: 8px var(--pixel); text-align: right; }
.cd-disc { position: absolute; left: 24px; top: 17px; width: 106px; height: 106px; border-radius: 50%; background: conic-gradient(#e87678, #f0d264, #61c4ad, #659ac5, #e87678); box-shadow: inset 0 0 0 8px rgba(255,255,255,.3), 4px 5px 0 rgba(0,0,0,.3); }
.cd-disc::before { content: ""; position: absolute; inset: 30px; border-radius: 50%; background: #f8edd6; border: 7px solid #35333a; }
.cd-disc span { position: absolute; z-index: 2; inset: 46px; border-radius: 50%; background: #27272b; }
.cd-disc i { position: absolute; left: 18px; top: 10px; width: 20px; height: 4px; background: rgba(255,255,255,.75); transform: rotate(-28deg); }
.cd-disc.is-playing { animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.equalizer { position: absolute; right: 12px; bottom: 13px; display: flex; align-items: end; gap: 3px; height: 48px; }
.equalizer i { width: 5px; height: 15%; background: #f1b459; }
.equalizer.is-playing i { animation: eq .7s steps(4) infinite alternate; }
.equalizer i:nth-child(2n) { animation-delay: -.25s; }
.equalizer i:nth-child(3n) { animation-delay: -.4s; }
@keyframes eq { to { height: 92%; background: #df6671; } }
.lcd { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 6px 8px; border: 3px inset #999289; color: #30372c; background: #a6b596; font-family: var(--pixel); }
.lcd div { display: flex; align-items: center; min-width: 0; gap: 9px; }
.lcd div span { flex: none; font-size: 21px; }
.lcd .track-display { flex: 1; }
.lcd .track-display p { display: grid; min-width: 0; margin: 0; }
.lcd b { overflow: hidden; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.lcd em { overflow: hidden; color: #53604f; font: 8px var(--pixel); font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.lcd small { flex: none; font-size: 9px; }
.player-controls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 8px; }
.player-controls button, .win-button { min-height: 28px; border: 2px solid; border-color: #fff #4f4944 #4f4944 #fff; background: var(--win-gray); font: 12px var(--pixel); cursor: pointer; }
.player-controls .play-button { color: #fff; background: #c95569; }
.volume-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px; margin-top: 8px; font: 9px var(--pixel); }
.volume-row input { width: 100%; accent-color: #c95569; }
.player-note { margin: 7px 0 0; color: #685f57; font: 8px var(--pixel); text-align: center; }

.sticky-note { position: absolute; z-index: 7; width: 178px; padding: 25px 18px 14px; color: #5b4935; background: #fff09e; box-shadow: 5px 6px 0 rgba(90,55,32,.2); transform: rotate(3deg); font-family: var(--pixel); cursor: grab; touch-action: none; outline: none; }
.sticky-note:hover, .sticky-note:focus-visible { box-shadow: 5px 6px 0 rgba(90,55,32,.2), 0 0 0 2px rgba(255,255,240,.75); }
.sticky-note.is-dragging { z-index: 95; cursor: grabbing; box-shadow: 8px 10px 0 rgba(90,55,32,.25); }
.note-now { left: 54%; bottom: 76px; }
.sticky-note .pin { position: absolute; top: 8px; left: 50%; width: 12px; height: 12px; border: 1px solid #7d3535; border-radius: 50%; background: #d85353; box-shadow: 1px 2px 0 #8b3f3f; }
.sticky-note strong { font-size: 11px; }
.sticky-note p { font-size: 12px; line-height: 1.65; }
.sticky-note small { color: #967857; font-size: 8px; }

.utility-window h2 { margin: 0 0 7px; font: 17px var(--pixel); }
.floppy-content { display: grid; grid-template-columns: 145px 1fr; align-items: center; gap: 18px; min-height: 205px; padding: 18px; background: #fff9eb; }
.big-floppy { position: relative; width: 128px; height: 142px; padding: 18px; color: #fff; background: #536679; border: 4px solid #303841; box-shadow: 5px 5px 0 #d96c58; }
.big-floppy div { position: absolute; top: 0; left: 24px; width: 76px; height: 45px; background: #cfd2ca; border: 4px solid #303841; border-top: 0; }
.big-floppy span { position: absolute; left: 16px; right: 16px; bottom: 14px; padding: 9px 4px; color: #3c3a35; background: #fff8db; border: 2px solid #303841; font: 10px/1.45 var(--pixel); text-align: center; }
.floppy-content p { line-height: 1.6; }
.floppy-result { grid-column: 1 / -1; min-height: 0; font: 11px var(--pixel); }
.floppy-result.is-visible { min-height: 38px; padding: 9px; border: 2px inset #9b9288; background: #232120; color: #7ee2a3; }

.dial-content { padding: 13px 18px 14px; background: #ece9e1; }
.dial-illustration { display: flex; justify-content: center; align-items: center; height: 47px; gap: 8px; font: 30px var(--pixel); }
.dial-illustration i { width: 74px; border-top: 3px dotted #70675f; }
.dial-illustration .computer-mini { color: #44769b; }
.modem-lights { display: flex; gap: 4px; align-self: end; margin: 0 0 9px 4px; }
.modem-lights b { width: 7px; height: 7px; background: #6c6a62; border: 1px solid #34312e; }
.modem-lights b:first-child { background: #dfbd45; }
.dial-content.is-dialing .modem-lights b { animation: modem-blink .45s steps(2) infinite; }
.dial-content.is-dialing .modem-lights b:nth-child(2) { animation-delay: .15s; }
.dial-content.is-dialing .modem-lights b:nth-child(3) { animation-delay: .3s; }
.dial-content.is-connected .modem-lights b { background: #4da979; }
@keyframes modem-blink { 50% { background: #e56868; } }
.dial-content h2 { text-align: center; }
.dial-form label { display: grid; grid-template-columns: 75px 1fr; align-items: center; gap: 8px; margin: 6px 0; font-size: 12px; }
.dial-content input { height: 26px; padding: 3px 6px; border: 2px inset #fff; background: #fff; user-select: text; }
.dial-footer { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: 8px; }
.dial-footer .dial-option { display: flex; align-items: center; gap: 6px; margin: 0; color: #5d554e; font-size: 10px; }
.dial-footer .dial-option input { width: 14px; height: 14px; margin: 0; accent-color: #387d86; }
.dial-status { min-height: 32px; margin-top: 10px; padding: 7px; border: 2px inset #fff; background: #f8f7f2; font-size: 11px; }
.dial-progress { height: 13px; margin-top: 7px; padding: 2px; border: 2px inset #fff; background: #c2bcb2; }
.dial-progress i { display: block; width: 0; height: 100%; background: repeating-linear-gradient(90deg, #478f91 0 10px, #f7cc63 10px 12px); transition: width .18s steps(2); }
.dial-log { height: 73px; overflow: auto; margin: 7px 0 0; padding: 6px 8px; border: 2px inset #fff; color: #83d9a0; background: #262825; font: 9px/1.55 var(--pixel); white-space: pre-wrap; }
.dial-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 13px; margin: 7px 0 0; padding: 6px 8px; border: 2px inset #fff; background: #d5d0c7; font: 9px var(--pixel); }
.dial-metrics div { display: grid; grid-template-columns: 65px 1fr; border-bottom: 1px dotted #999188; }
.dial-metrics dt { color: #766d65; }
.dial-metrics dd { overflow: hidden; margin: 0; white-space: nowrap; text-overflow: ellipsis; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 0; }
.dialog-actions .win-button { min-width: 80px; }

.memory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; padding: 17px; background: #fff9eb; }
.memory-card { min-width: 0; padding: 7px; background: #fff; border: 1px solid #b8a594; box-shadow: 3px 4px 0 #dec4a9; transform: rotate(-1deg); }
.memory-card:nth-child(even) { transform: rotate(1.5deg); }
.memory-photo { display: grid; place-items: center; aspect-ratio: 1 / .8; margin-bottom: 7px; color: rgba(255,255,255,.8); font: 28px var(--pixel); border: 2px solid #403a36; }
.photo-sky { background: linear-gradient(#75b7d0 60%, #f6d06e 60%); }
.photo-room { background: linear-gradient(135deg, #e67968 50%, #6f9b9b 50%); }
.photo-game { background: repeating-linear-gradient(45deg, #645c7a 0 10px, #dfa452 10px 20px); }
.photo-music { background: radial-gradient(circle, #2c2a2b 0 15%, #d96570 16% 45%, #f0c85c 46%); }
.memory-card strong { display: block; overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.memory-card span { color: #a57054; font: 9px var(--pixel); }

.links-content { padding: 8px 12px 17px; background: #fffaf0; }
.browser-address { display: grid; grid-template-columns: 37px 1fr; gap: 6px; margin: 0 0 15px; padding: 4px; background: var(--win-gray); font-size: 10px; }
.browser-address span { padding: 3px 5px; border: 2px inset #fff; background: #fff; }
.links-content h2 { color: #31767d; }
.links-content a { display: grid; grid-template-columns: 38px 85px 1fr; align-items: center; margin: 7px 0; padding: 8px; border: 2px solid #37312e; color: #37312e; background: #fff; box-shadow: 3px 3px 0 #e79a61; text-decoration: none; }
.links-content a span { font: 18px var(--pixel); color: #d75669; }
.links-content a b { font: 11px var(--pixel); }
.links-content a small { color: #8b6e5e; }
.links-content a:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #e79a61; }
.contact-content { padding: 14px; background: #fff8e9; }
.contact-intro { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: center; padding: 10px; border: 2px solid #3c3530; background: #f9d18e; box-shadow: 4px 4px 0 #e58b67; }
.contact-stamp { display: grid; place-items: center; width: 64px; height: 52px; color: #fff8e9; background: #cf5366; border: 3px solid #3c3530; font: 12px/1.05 var(--pixel); text-align: center; transform: rotate(-7deg); }
.contact-intro h2 { margin: 0 0 5px; font: 17px var(--pixel); }
.contact-intro p { margin: 0; color: #6f554a; font-size: 11px; line-height: 1.5; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; }
.contact-list a { display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; align-items: center; min-width: 0; padding: 8px; border: 2px solid #443b35; color: #3b322e; background: #fff; box-shadow: 3px 3px 0 #dfb56f; text-decoration: none; }
.contact-list a:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #dfb56f; }
.contact-key { grid-row: 1 / span 2; color: #c85365; font: 11px var(--pixel); }
.contact-list b { overflow: hidden; font: 10px var(--pixel); text-overflow: ellipsis; white-space: nowrap; }
.contact-list small { overflow: hidden; color: #8c7060; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.trash-content { padding: 25px; text-align: center; background: #fff9eb; }
.trash-empty { font: 40px var(--pixel); color: #bb7960; }

.system-tabs { display: flex; gap: 2px; padding: 7px 8px 0; border-bottom: 1px solid #817970; }
.system-tabs button { position: relative; top: 1px; padding: 5px 12px; border: 2px solid; border-color: #fff #5d5751 transparent #fff; background: #c7c0b6; font-size: 11px; }
.system-tabs button.is-selected { z-index: 2; padding-top: 7px; background: var(--win-gray); }
.system-content { display: grid; grid-template-columns: 110px 1fr; gap: 14px; min-height: 285px; margin: 0 8px; padding: 20px 17px; border: 2px solid; border-color: #fff #817970 #817970 #fff; background: #ece8df; }
.system-computer { position: relative; width: 91px; height: 90px; margin-top: 7px; }
.system-computer::before { content: ""; position: absolute; left: 5px; top: 0; width: 71px; height: 54px; border: 4px solid #39444b; background: #e5ded2; box-shadow: inset 0 0 0 6px #55a0ae; }
.system-computer::after { content: ""; position: absolute; left: 25px; top: 58px; width: 50px; height: 9px; border: 3px solid #39444b; background: #e5ded2; }
.system-computer span { position: absolute; z-index: 2; left: 29px; top: 20px; width: 8px; height: 8px; background: #fff4c9; box-shadow: 13px 0 #fff4c9, 5px 13px #fff4c9; }
.system-computer i { position: absolute; left: 8px; bottom: 0; width: 78px; height: 17px; border: 3px solid #39444b; background: #d6cfc4; transform: skewX(-12deg); }
.system-summary h2 { margin: 0 0 5px; font: 20px var(--pixel); color: #345586; }
.system-summary p { margin: 0; font-size: 12px; }
.system-specs { grid-column: 1 / -1; margin: 3px 0 0; border-top: 1px solid #91877d; }
.system-specs div { display: grid; grid-template-columns: 105px 1fr; padding: 6px 4px; border-bottom: 1px dotted #aaa096; }
.system-specs dt { color: #6f655d; font-size: 11px; }
.system-specs dd { margin: 0; font: 11px var(--pixel); }
.system-actions { margin: 7px 10px 9px; }
.system-actions .win-button { min-width: 82px; }

.taskbar { position: absolute; z-index: 100; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 4px; height: 42px; padding: 3px; background: var(--win-gray); border-top: 2px solid #fff; box-shadow: 0 -2px 0 #817970; }
.start-button { display: flex; align-items: center; gap: 5px; height: 33px; padding: 0 8px 0 5px; border: 2px solid; border-color: #fff #4d4843 #4d4843 #fff; background: var(--win-gray); font: 13px var(--pixel); }
.start-button.is-open { border-color: #4d4843 #fff #fff #4d4843; }
.start-mark { display: grid; grid-template-columns: repeat(2, 7px); gap: 1px; transform: skewY(-6deg); }
.start-mark i { width: 7px; height: 7px; background: #df5e57; }
.start-mark i:nth-child(2) { background: #4f9e86; }
.start-mark i:nth-child(3) { background: #d3ad43; }
.start-mark i:nth-child(4) { background: #4c78a2; }
.task-buttons { display: flex; flex: 1; gap: 4px; min-width: 0; }
.task-button { width: 155px; height: 31px; overflow: hidden; padding: 0 7px; border: 2px solid; border-color: #fff #4d4843 #4d4843 #fff; background: var(--win-gray); text-align: left; white-space: nowrap; text-overflow: ellipsis; font: 11px var(--pixel); }
.task-button.is-active { border-color: #4d4843 #fff #fff #4d4843; background: repeating-linear-gradient(45deg, #c5beb4 0 2px, #d7d0c6 2px 4px); }
.taskbar-tray { display: flex; align-items: center; gap: 9px; height: 31px; min-width: 112px; padding: 0 8px; border: 2px solid; border-color: #8e857c #fff #fff #8e857c; font: 11px var(--pixel); }
#network-tray.is-connected { color: #238466; }

.start-menu { position: absolute; z-index: 110; left: 3px; bottom: 42px; display: none; width: 275px; min-height: 300px; padding: 3px; background: var(--win-gray); border: 2px solid; border-color: #fff #4d4843 #4d4843 #fff; box-shadow: 2px 2px 0 #2e2a27; }
.start-menu.is-open { display: grid; grid-template-columns: 34px 1fr; animation: menu-open .12s steps(2); }
@keyframes menu-open { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
.start-rail { display: flex; align-items: center; padding: 7px 5px; color: #d4d0c8; background: #45627c; font: 15px var(--pixel); writing-mode: vertical-rl; transform: rotate(180deg); }
.start-rail b { color: #fff; }
.start-items { padding: 4px; }
.start-items button, .start-items a { display: grid; grid-template-columns: 43px 1fr; align-items: center; width: 100%; min-height: 42px; padding: 3px 7px; border: 0; color: #28231f; background: transparent; text-decoration: none; text-align: left; font-size: 12px; }
.start-items button:hover, .start-items a:hover { color: #fff; background: #345586; }
.start-items span { font: 22px var(--pixel); text-align: center; }
.start-items hr { margin: 3px; border: 0; border-top: 1px solid #888078; border-bottom: 1px solid #fff; }

.dial-toast { position: absolute; z-index: 90; right: 8px; bottom: 48px; display: grid; grid-template-columns: 42px 1fr; width: 235px; padding: 10px; border: 2px solid #433d38; color: #2b2825; background: #fff6d9; box-shadow: 4px 4px 0 rgba(65,47,37,.3); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .2s ease; }
.dial-toast.is-visible { opacity: 1; transform: translateY(0); }
.dial-toast small { grid-column: 2; }
.toast-lights { grid-row: 1 / 3; display: flex; gap: 3px; align-items: center; }
.toast-lights i { width: 7px; height: 7px; background: #56a878; animation: blink .6s steps(2) infinite; }

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