:root {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  color: #193657;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #ffba34;
  outline-offset: 2px;
}
.mode-switch {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 110;
  padding: 9px 12px;
  background: #ffffffed;
  border: 1px solid #aac7e3;
  border-radius: 13px;
  box-shadow: 0 4px 15px #00366a2e;
  width: max-content;
  max-width: calc(100% - 20px);
  font-size: 12px;
}
.mode-switch button {
  border: 1px solid #98b8d4;
  background: linear-gradient(#fff, #d9e9f8);
  border-radius: 7px;
  padding: 7px 10px;
  color: #174b7f;
}
.mode-switch button.chosen {
  background: linear-gradient(#75d4ff, #157bd0);
  color: white;
  border-color: #0667b8;
  font-weight: bold;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
p {
  line-height: 1.65;
}
h1 {
  font-size: clamp(35px, 5vw, 65px);
  letter-spacing: -2px;
  margin: 9px 0;
}
h1 em {
  color: #39a729;
  font-style: normal;
}
h2 {
  color: #1359ad;
}
button.primary,
.button.primary,
.primary {
  background: linear-gradient(#8bf45d, #2eaf18 48%, #148a12);
  border: 1px solid #258b12;
  color: white;
  text-shadow: 0 1px #216d16;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 26px 0;
}
.actions button,
.button {
  display: inline-block;
  border-radius: 8px;
  border: 1px solid #8eb5e0;
  padding: 11px 17px;
  background: linear-gradient(white, #d8eafa);
  color: #17549a;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 4px #17447822;
}
.actions .primary {
  color: white;
}
.eyebrow {
  font-size: 11px;
  font-weight: bold;
  color: #3385bf;
  letter-spacing: 1.5px;
}
.hero {
  padding: clamp(20px, 4vw, 45px);
  background:
    radial-gradient(circle at 90% 0%, #b9f3ff, transparent 40%),
    linear-gradient(125deg, #fff, #e7f6ff);
  border-radius: 7px;
  min-height: 280px;
}
.hero > p {
  max-width: 570px;
}
.hero h2 {
  font-size: clamp(17px, 2vw, 24px);
  margin-bottom: 18px;
}
.info-strip {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  color: #285b85;
  font-size: 12px;
}
.section-intro {
  padding: 22px;
}
.section-intro p {
  max-width: 720px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  padding: 15px;
}
.project {
  background: linear-gradient(#fff, #f1f8ff);
  border: 1px solid #bbd2e7;
  border-radius: 9px;
  padding: 22px;
  box-shadow: 0 2px 7px #124a7420;
}
.project-icon {
  font-size: 37px;
}
.project h3 {
  margin: 10px 0 4px;
  color: #065cbb;
}
.project small {
  color: #4778a0;
}
.project p {
  margin-top: 13px;
}
.pill {
  display: inline-block;
  background: #e5efff;
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 12px;
}
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px;
}
.skills span {
  background: #e5f3ff;
  border: 1px solid #b6d4ef;
  border-radius: 7px;
  padding: 12px;
}
.timeline {
  padding: 15px 25px;
}
.timeline article {
  border-left: 4px solid #2d91db;
  padding: 8px 17px;
  margin-bottom: 20px;
}
.timeline strong {
  color: #065cb5;
}
.fineprint {
  margin-top: 20px;
  font-size: 12px;
  color: #65829a;
}
.desktop {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  padding: 14px 16px 65px;
  background: linear-gradient(
    #1681e7 0%,
    #66c8fa 49%,
    #a9e7ff 53%,
    #69b83c 54%,
    #218b2c 100%
  );
}
.wallpaper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 5%, #fff9 0 4%, transparent 11%),
    radial-gradient(ellipse at 80% 13%, #fff8 0 6%, transparent 14%),
    radial-gradient(ellipse at 42% 68%, #7ccc47 0 14%, transparent 28%),
    radial-gradient(ellipse at 82% 90%, #087a29 0 25%, transparent 43%);
  opacity: 0.75;
}
.desktop-icons {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 110px;
  margin-top: 26px;
}
.desktop-icon {
  background: none;
  border: 1px solid transparent;
  color: white;
  text-shadow: 1px 2px 2px #003b76;
  min-height: 80px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  font-size: 12px;
  gap: 6px;
}
.desktop-icon span {
  font-size: 35px;
  filter: drop-shadow(2px 3px 1px #00396a70);
}
.desktop-icon:hover {
  background: #b7e7ff55;
  border: 1px solid #c7edff;
}
.windows {
  position: absolute;
  top: 17%;
  left: 17%;
  right: 4%;
  bottom: 70px;
  pointer-events: none;
}
.xp-window {
  position: absolute;
  top: calc(var(--offset) * 35px);
  left: calc(var(--offset) * 32px);
  width: min(760px, 95%);
  max-height: min(73vh, 730px);
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  border: 3px solid #0758d4;
  border-radius: 9px 9px 4px 4px;
  background: #f7f9fb;
  box-shadow: 4px 8px 18px #00336b66;
  overflow: hidden;
}
.xp-window.active {
  z-index: 8;
}
.xp-titlebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(#52a2ff 0%, #0763f4 25%, #0650c9 75%, #247bea);
  color: #fff;
  padding: 5px 6px 5px 10px;
  cursor: move;
  text-shadow: 1px 1px #16449c;
}
.window-controls {
  display: flex;
  gap: 4px;
}
.window-controls button {
  color: white;
  font-weight: bold;
  background: linear-gradient(#8dc4ff, #1e6de2);
  border: 1px solid white;
  border-radius: 4px;
  width: 27px;
  height: 25px;
}
.window-controls button:last-child {
  background: linear-gradient(#ffb6a2, #e5441e);
}
.xp-menubar {
  background: #f5f4ee;
  border-bottom: 1px solid #c5c5c5;
  padding: 7px 12px;
  font-size: 12px;
  color: #333;
}
.xp-content {
  overflow: auto;
  background: white;
  min-height: 180px;
}
.taskbar {
  height: 43px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 101;
  display: flex;
  align-items: stretch;
  gap: 5px;
  background: linear-gradient(#2d8bff, #0d56d5 30%, #1555ce 75%, #0b48a9);
  border-top: 2px solid #66b6ff;
}
.start {
  border-radius: 0 16px 16px 0;
  background: linear-gradient(#81df58, #259d24 50%, #137c13);
  border: 1px solid #398c2b;
  color: white;
  font-weight: bold;
  font-style: italic;
  font-size: 20px;
  padding: 0 22px;
  text-shadow: 1px 2px #145d10;
}
.task-button {
  background: #2878df;
  color: white;
  border: 1px solid #5ca5f7;
  border-radius: 4px;
  padding: 0 14px;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.task-button.selected {
  background: #164da6;
}
.tray {
  margin-left: auto;
  background: #1c9ce3;
  border-left: 1px solid #84caff;
  color: white;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  white-space: nowrap;
  font-size: 12px;
}
.start-menu {
  position: fixed;
  z-index: 105;
  bottom: 43px;
  left: 0;
  width: 285px;
  background: white;
  border: 3px solid #1b6edb;
  border-radius: 8px 8px 0 0;
  box-shadow: 3px 3px 14px #0006;
  overflow: hidden;
}
.start-heading {
  padding: 15px;
  color: white;
  background: linear-gradient(#4c9af3, #1553c5);
  font-size: 18px;
  font-weight: bold;
}
.start-menu > button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 17px;
  border: 0;
  background: white;
  color: #204c7a;
}
.start-menu > button:hover {
  background: #d6eaff;
}
.start-foot {
  padding: 10px;
  background: #d5e8ff;
  font-size: 12px;
}
.explorer {
  min-height: 100vh;
  padding: 25px 14px;
  background:
    radial-gradient(circle at 50% 0, #b5ecff, transparent 55%),
    linear-gradient(125deg, #1672c3, #62b8eb 65%, #b8eaff);
}
.explorer-shell {
  max-width: 1250px;
  margin: auto;
  background: #f0f7fc;
  border: 3px solid #0753b8;
  border-radius: 19px;
  box-shadow: 0 20px 60px #003d8270;
  overflow: hidden;
}
.explorer .mode-switch {
  margin: 10px;
}
.explorer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: linear-gradient(105deg, #0045aa, #0877ce 60%, #52baf4);
  color: white;
  padding: 19px 26px;
  border-bottom: 4px solid #ffb936;
}
.explorer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}
.explorer-brand > span {
  font-size: 55px;
}
.explorer-brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
}
.explorer-brand strong {
  font-size: clamp(25px, 4vw, 39px);
  letter-spacing: -2px;
}
.explorer-brand strong span {
  color: #b8f26e;
}
.top-caption {
  font-size: 12px;
}
.explorer-nav {
  display: flex;
  overflow-x: auto;
  gap: 5px;
  padding: 9px 12px;
  background: linear-gradient(#fefefe, #badcf3);
  border-bottom: 1px solid #88b7d6;
}
.explorer-nav button {
  border: 1px solid #83aed0;
  border-radius: 20px;
  padding: 10px 15px;
  background: linear-gradient(white, #d4eafb);
  color: #135a95;
  font-weight: bold;
  white-space: nowrap;
  font-size: 12px;
}
.explorer-nav button.selected {
  background: linear-gradient(#80d2ff, #2088d2);
  color: white;
}
.explorer-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #e6f0f7;
  padding: 9px 13px;
  border-bottom: 1px solid #b2c9d8;
  font-size: 12px;
}
.explorer-toolbar button {
  border: 1px solid #a1bbd1;
  border-radius: 5px;
  background: linear-gradient(white, #d7e8f4);
  padding: 7px;
}
.address {
  flex: 1;
  background: white;
  border: 1px solid #9dbbd4;
  padding: 7px;
  color: #3d6786;
  min-width: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.explorer-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 13px;
  padding: 14px;
}
.explorer-sidebar {
  border: 1px solid #a1c9e9;
  border-radius: 12px;
  background: linear-gradient(#d9f0ff, #f4fbff);
  overflow: hidden;
  align-self: start;
}
.sidebar-heading {
  padding: 14px;
  background: linear-gradient(#66c3ef, #2684c9);
  color: white;
  font-weight: bold;
}
.explorer-sidebar button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #d2e7f6;
  padding: 13px;
  color: #175f9b;
}
.explorer-sidebar button:hover {
  background: #c9e7fb;
}
.sidebar-note {
  margin: 15px;
  padding: 13px;
  background: white;
  border-radius: 8px;
  font-size: 12px;
  line-height: 2;
}
.explorer-main {
  min-width: 0;
}
.welcome-banner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 20px;
  background: linear-gradient(95deg, #e3fbd1, #d6f3ff);
  border: 1px solid #b6dbd0;
  border-radius: 11px;
  margin-bottom: 13px;
}
.welcome-banner div {
  font-size: 19px;
  color: #278235;
  font-weight: bold;
}
.welcome-banner small {
  color: #4d8390;
}
.explorer-panel {
  border: 1px solid #9fc8e7;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  min-height: 370px;
}
.panel-heading {
  background: linear-gradient(#4cb3ed, #1776c7);
  color: white;
  font-weight: bold;
  padding: 12px 17px;
}
.panel-content {
  padding: 10px;
}
.explorer-bottom {
  background: #e3f3ff;
  border: 1px solid #b2d6ed;
  border-radius: 10px;
  margin-top: 13px;
  padding: 15px;
}
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.quick-links button {
  background: white;
  border: 1px solid #9ac4e2;
  border-radius: 7px;
  color: #1765a2;
  padding: 10px;
}
.explorer-footer {
  text-align: center;
  background: #0759ac;
  color: #c9edff;
  font-size: 11px;
  padding: 13px;
}
@media (max-width: 700px) {
  .desktop {
    overflow: auto;
    min-height: 100dvh;
    padding: 10px 10px 65px;
  }
  .desktop-icons {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    margin: 12px 0;
  }
  .desktop-icon {
    width: 78px;
    font-size: 10px;
  }
  .desktop-icon span {
    font-size: 27px;
  }
  .windows {
    position: relative;
    inset: auto;
  }
  .xp-window {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100%;
    max-height: none;
    margin: 12px 0;
    transform: none !important;
  }
  .xp-content {
    max-height: none;
  }
  .xp-titlebar {
    cursor: default;
  }
  .task-button {
    max-width: 100px;
    padding: 0 6px;
  }
  .tray {
    padding: 0 5px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .explorer {
    padding: 8px 4px;
  }
  .explorer-layout {
    grid-template-columns: 1fr;
  }
  .explorer-sidebar {
    display: none;
  }
  .top-caption,
  .welcome-banner small {
    display: none;
  }
  .explorer-toolbar {
    gap: 4px;
  }
  .explorer-toolbar span {
    display: none;
  }
  .explorer-brand > span {
    font-size: 35px;
  }
  .explorer-top {
    padding: 12px;
  }
  .explorer-nav button {
    padding: 8px 11px;
  }
  .info-strip {
    flex-wrap: wrap;
  }
  .mode-switch {
    font-size: 10px;
  }
  .mode-switch button {
    padding: 6px;
  }
}
/* Andy Explorer: MSN Explorer-era portal treatment */
.msn-era {
  background: radial-gradient(
    ellipse at 50% 0,
    #d3ebff 0%,
    #5797d7 48%,
    #224e94 100%
  );
  padding: 22px 12px;
  min-height: 100vh;
  color: #243e64;
}
.msn-frame {
  max-width: 1220px;
  margin: auto;
  border: 3px solid #254b98;
  border-radius: 16px 16px 9px 9px;
  overflow: hidden;
  background: #f9faff;
  box-shadow:
    0 17px 45px #0a28699c,
    0 0 0 1px #c5e2ff inset;
}
.msn-title {
  height: 29px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 13px;
  color: white;
  font-size: 12px;
  font-weight: bold;
  background: linear-gradient(#7ca4e9, #2c5cb4 45%, #17468e);
  text-shadow: 0 1px #153e83;
}
.msn-title-controls {
  letter-spacing: 4px;
  font-size: 14px;
}
.msn-masthead {
  min-height: 114px;
  background:
    radial-gradient(ellipse at 85% 25%, #f1caff88, transparent 35%),
    linear-gradient(115deg, #e4e4ff 0%, #b7c9f6 32%, #7f99d7 70%, #b3d5f3 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 34px;
  border-bottom: 4px solid #5b74b9;
}
.msn-logo {
  display: flex;
  align-items: center;
  gap: 17px;
  color: #244583;
}
.msn-butterfly {
  position: relative;
  font-size: 70px;
  color: #e33c89;
  text-shadow:
    3px 3px #7c64b8,
    -3px -2px #f6d53f;
  line-height: 1;
}
.msn-butterfly i {
  position: absolute;
  font-style: normal;
  color: #35a4e6;
  font-size: 42px;
  left: 28px;
  top: 17px;
}
.msn-name,
.msn-name-light {
  font-family:
    Trebuchet MS,
    Tahoma,
    sans-serif;
  font-size: clamp(28px, 4vw, 49px);
  letter-spacing: -3px;
  font-weight: bold;
}
.msn-name-light {
  color: #6d5da3;
  font-weight: normal;
}
.msn-logo small {
  display: block;
  letter-spacing: 3px;
  color: #4e67a4;
  text-align: right;
  font-size: 10px;
}
.msn-header-right {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 13px;
  color: #294c86;
  font-size: 12px;
  font-weight: bold;
}
.msn-toolbar {
  background: linear-gradient(#fff, #d8e0fb 47%, #acbfe9 48%, #e1e9ff);
  display: flex;
  align-items: stretch;
  gap: 3px;
  padding: 8px 10px 7px;
  border-bottom: 2px solid #8399ce;
  min-height: 75px;
}
.msn-toolbar > button {
  min-width: 75px;
  border: 0;
  border-right: 1px solid #acb9dd;
  background: transparent;
  color: #2d4685;
  font-size: 28px;
  text-shadow: 0 1px white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.msn-toolbar > button span {
  font-size: 11px;
  font-weight: bold;
}
.msn-toolbar > button:hover {
  background: #fff9;
  border-radius: 10px;
}
.msn-toolbar-end {
  margin-left: auto;
  align-self: center;
}
.msn-toolbar-end .mode-switch {
  box-shadow: none;
  background: #f6f7ffba;
  border-radius: 9px;
}
.msn-toolbar-end .mode-switch button {
  font-size: 11px;
}
.msn-address {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  background: #e9eefb;
  border-bottom: 1px solid #b1c0df;
  font-size: 12px;
}
.msn-address > div {
  background: white;
  border: 1px solid #a8b9d6;
  box-shadow: inset 1px 1px #ddd;
  padding: 7px 10px;
  flex: 1;
  color: #4b6499;
}
.msn-address button {
  border: 1px solid #7197ca;
  border-radius: 5px;
  background: linear-gradient(#fff, #c8dcf4);
  color: #234c88;
  padding: 6px 13px;
  font-weight: bold;
}
.msn-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 570px;
}
.msn-rail {
  background: linear-gradient(90deg, #637bc4, #8fa2d5 82%, #b1c1e6);
  padding: 14px 9px 12px;
  border-right: 3px solid #6a80c1;
  color: white;
}
.msn-rail-heading {
  font-weight: bold;
  font-size: 14px;
  color: #fff;
  text-shadow: 0 1px #385ba3;
  padding: 7px 12px 10px;
  display: flex;
  justify-content: space-between;
}
.msn-rail-item {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: white;
  text-shadow: 0 1px #3c57a0;
  font-size: 13px;
  font-weight: bold;
  padding: 8px 10px;
}
.msn-rail-item:hover,
.msn-rail-item.selected {
  background: linear-gradient(#c7d6ff, #9aaff1);
  color: #294786;
  text-shadow: none;
  box-shadow: 0 1px 3px #34539c;
}
.msn-rail-icon {
  font-size: 25px;
  width: 32px;
  text-align: center;
  filter: drop-shadow(1px 2px 1px #334b8880);
}
.msn-rail-divider {
  height: 1px;
  background: #c1d0f2;
  margin: 14px 9px;
}
.msn-rail-bottom {
  margin: 36px 7px 0;
  background: #e7ecffcc;
  color: #2b548d;
  border-radius: 9px;
  padding: 11px;
  font-size: 12px;
  line-height: 1.8;
  text-shadow: none;
}
.msn-rail-bottom small {
  color: #586d9e;
}
.msn-content {
  min-width: 0;
  padding: 16px 18px 10px;
  background: linear-gradient(#f3f5ff, #fff 160px);
}
.msn-page-banner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #5b6caa;
  font-size: 12px;
  font-weight: bold;
  border-bottom: 2px solid #d3d9f0;
  padding: 2px 4px 13px;
  margin-bottom: 15px;
}
.msn-welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 13px;
}
.msn-hero {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  border: 1px solid #b1c3e5;
  border-radius: 15px;
  background:
    radial-gradient(circle at 88% 18%, #fff 0 3%, #b8e8ff 15%, transparent 37%),
    linear-gradient(120deg, #fff 4%, #e7f3ff 58%, #b2d7f6);
  padding: 29px 26px;
  box-shadow:
    inset 0 1px white,
    0 3px 8px #315b8e1a;
}
.msn-hero-label {
  color: #6482b2;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: bold;
}
.msn-hero h1 {
  font-family:
    Trebuchet MS,
    Tahoma,
    sans-serif;
  font-size: clamp(36px, 4.6vw, 61px);
  color: #2d5da7;
  letter-spacing: -2px;
  margin: 10px 0;
}
.msn-hero h1 em {
  color: #e34c98;
}
.msn-hero h2 {
  font-size: 20px;
  color: #5561a4;
}
.msn-hero p {
  max-width: 510px;
  font-size: 14px;
  line-height: 1.75;
}
.msn-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.msn-hero-actions button {
  background: linear-gradient(#fff, #cddcf8);
  border: 1px solid #819bd2;
  border-radius: 20px;
  padding: 10px 15px;
  color: #2c5595;
  font-weight: bold;
  box-shadow: 0 2px 2px #536a9d44;
}
.msn-hero-actions button:first-child {
  background: linear-gradient(#f9fdc7, #e1eb79);
  border-color: #a4b75c;
}
.msn-sparkles {
  position: absolute;
  right: 17px;
  bottom: 14px;
  color: #d75bb2;
  font-size: 29px;
  opacity: 0.65;
}
.msn-module,
.msn-feature {
  border: 1px solid #aebce0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px #304c8915;
}
.msn-module-title {
  background: linear-gradient(#a2b6e7, #657ec2 50%, #4c69af);
  padding: 10px 13px;
  color: white;
  font-size: 13px;
  font-weight: bold;
  text-shadow: 0 1px #435998;
  border-bottom: 1px solid #4963a6;
}
.msn-feature > button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #e4e9f6;
  background: linear-gradient(#fff, #f4f6ff);
  padding: 16px 13px;
  color: #3b5e9c;
}
.msn-feature > button:hover {
  background: #e8efff;
}
.msn-feature b,
.msn-feature small {
  display: block;
}
.msn-feature small {
  color: #7b88aa;
  margin: 5px 0 0 24px;
}
.msn-home-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 13px;
}
.msn-module-inner {
  padding: 18px;
}
.msn-module-inner h3 {
  color: #335d9c;
  margin: 0 0 8px;
}
.msn-module-inner p {
  font-size: 13px;
}
.msn-module-inner button,
.msn-links button {
  border: 0;
  background: none;
  color: #355ca1;
  text-decoration: underline;
  font-weight: bold;
  padding: 5px;
  cursor: pointer;
}
.msn-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.msn-links button {
  text-align: left;
}
.msn-section {
  min-height: 430px;
}
.msn-section .hero {
  border-radius: 10px;
}
.msn-section .project-grid {
  padding: 10px;
}
.msn-page-foot {
  text-align: center;
  font-size: 11px;
  color: #8594b7;
  padding: 20px 0 7px;
}
.msn-status {
  display: flex;
  justify-content: space-between;
  background: linear-gradient(#dce8fc, #b6c8eb);
  padding: 7px 13px;
  color: #3b5a93;
  font-size: 11px;
  border-top: 1px solid #8da4d2;
}
@media (max-width: 850px) {
  .msn-toolbar-end .mode-switch span {
    display: none;
  }
  .msn-toolbar > button {
    min-width: 55px;
  }
  .msn-welcome-grid {
    grid-template-columns: 1fr;
  }
  .msn-feature {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .msn-feature .msn-module-title {
    grid-column: 1/-1;
  }
  .msn-header-right {
    display: none;
  }
}
@media (max-width: 600px) {
  .msn-era {
    padding: 3px;
  }
  .msn-frame {
    border-radius: 8px;
  }
  .msn-masthead {
    min-height: 85px;
    padding: 12px;
  }
  .msn-butterfly {
    font-size: 43px;
  }
  .msn-butterfly i {
    font-size: 27px;
    left: 17px;
    top: 10px;
  }
  .msn-name,
  .msn-name-light {
    font-size: 27px;
    letter-spacing: -2px;
  }
  .msn-toolbar {
    overflow-x: auto;
    min-height: 62px;
  }
  .msn-toolbar > button {
    min-width: 55px;
    font-size: 21px;
  }
  .msn-toolbar-end .mode-switch {
    min-width: 155px;
  }
  .msn-body {
    grid-template-columns: 1fr;
  }
  .msn-rail {
    display: flex;
    overflow-x: auto;
    gap: 3px;
    padding: 6px;
    border-right: 0;
    border-bottom: 2px solid #6a80c1;
  }
  .msn-rail-heading,
  .msn-rail-divider,
  .msn-rail-bottom {
    display: none;
  }
  .msn-rail-item {
    min-width: 78px;
    flex-direction: column;
    font-size: 10px;
    gap: 1px;
  }
  .msn-rail-icon {
    font-size: 21px;
  }
  .msn-content {
    padding: 10px;
  }
  .msn-page-banner {
    font-size: 10px;
  }
  .msn-page-banner span:last-child {
    display: none;
  }
  .msn-hero {
    padding: 22px 15px;
  }
  .msn-home-panels {
    grid-template-columns: 1fr;
  }
  .msn-feature {
    grid-template-columns: 1fr;
  }
  .msn-status span:last-child {
    display: none;
  }
}
/* True maximize / restore behavior for AndyOS */
.xp-window.maximized {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 43px !important;
  width: 100vw !important;
  height: calc(100dvh - 43px) !important;
  max-height: none !important;
  transform: none !important;
  border-radius: 0;
}
.xp-window.maximized .xp-content {
  flex: 1;
  max-height: none;
}
/* MSN Explorer 2002-inspired shell, based on user's supplied reference */
.msn-classic {
  padding: 0;
  background: #c4d4eb;
  color: #161b32;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 12px;
}
.classic-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 1500px;
  margin: auto;
  background: #fff;
  box-shadow: 0 0 22px #244c8466;
}
.classic-caption {
  height: 28px;
  background: linear-gradient(#f9fafb, #e1e7ee);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border-bottom: 1px solid #abb8cc;
  font-size: 11px;
}
.classic-caption > div {
  display: flex;
  align-items: center;
  gap: 24px;
}
.classic-wordmark {
  font-size: 23px;
  letter-spacing: -2px;
  color: #fff;
  font-style: italic;
  text-shadow:
    1px 2px 2px #45546a,
    -1px -1px #697e9e;
}
.caption-buttons {
  font-size: 16px;
  color: #61748b;
}
.classic-toolbar {
  min-height: 68px;
  background: linear-gradient(#faf9fb, #e2e5f2 70%, #c0d2e9);
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 2px solid #87a7c8;
  padding: 3px 22px;
}
.classic-arrows {
  display: flex;
  gap: 12px;
}
.classic-arrows button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #9baed0;
  background: radial-gradient(circle at 35% 25%, #fff, #b3c6e7 60%, #839bc5);
  box-shadow: 0 2px 3px #7084aa;
  color: #6576a4;
  font-size: 17px;
}
.classic-nav {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.3vw, 22px);
}
.classic-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #252a38;
  font-size: 11px;
  min-width: 57px;
  padding: 2px;
  white-space: nowrap;
}
.classic-nav button:hover,
.classic-nav button.current {
  background: #c6d8f58c;
  border-radius: 8px;
}
.classic-nav-icon {
  font-size: 32px;
  line-height: 1.25;
  filter: drop-shadow(1px 2px 1px #7c8eae);
}
.classic-switch {
  margin-left: auto;
}
.classic-switch .mode-switch {
  padding: 4px;
  gap: 3px;
  box-shadow: none;
  border-radius: 5px;
  font-size: 10px;
}
.classic-switch .mode-switch > span {
  display: none;
}
.classic-switch .mode-switch button {
  padding: 5px;
  font-size: 10px;
}
.classic-workspace {
  display: grid;
  grid-template-columns: 149px minmax(0, 1fr);
  flex: 1;
  min-height: 610px;
}
.classic-sidebar {
  background: radial-gradient(
    ellipse at 25% 5%,
    #c8d8f5 0,
    #7798cd 25%,
    #4a72b5 68%,
    #7c9bcd 100%
  );
  border-right: 2px solid #426ca9;
  position: relative;
  color: white;
  min-height: 610px;
  padding: 30px 6px 60px;
}
.classic-user {
  font-weight: bold;
  font-size: 12px;
  margin: 5px 4px 11px;
}
.classic-sidebar > button:not(.classic-player) {
  width: 100%;
  background: linear-gradient(90deg, #6588c1, #6488c2a0);
  border: 0;
  border-bottom: 1px solid #a1b6da55;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 3px;
  color: white;
  font-weight: bold;
  text-align: left;
  font-size: 11px;
}
.classic-sidebar > button span {
  font-size: 24px;
}
.classic-sidebar > button:hover {
  background: #aac7e5;
}
.classic-side-arrow {
  text-align: right;
  color: #fff;
  margin: 8px 5px 16px;
}
.classic-sidebar label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}
.classic-search {
  display: flex;
  gap: 2px;
}
.classic-search input {
  width: 100%;
  min-width: 0;
  height: 21px;
  border: 1px solid #264a81;
}
.classic-search button {
  border-radius: 50%;
  border: 2px solid #385995;
  background: linear-gradient(white, #b3c9e9);
  color: #254a87;
  font-weight: bold;
  padding: 2px 5px;
}
.classic-butterfly {
  text-align: center;
  font-size: 59px;
}
.classic-butterfly strong {
  display: block;
  color: white;
  font-size: 33px;
  letter-spacing: -3px;
  font-style: italic;
  text-shadow: 1px 2px #1e3b71;
}
.classic-butterfly strong span {
  color: #f9b83c;
}
.classic-player {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  text-align: center;
  padding: 9px 0;
  border-radius: 25px;
  background: linear-gradient(#fff, #a7c2e5 55%, #dae7f8);
  box-shadow: 0 2px 5px #173a70;
  color: #526fa4;
}
.classic-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.classic-address {
  height: 28px;
  background: linear-gradient(#5487c4, #245895);
  display: flex;
  align-items: center;
  padding: 3px 6px;
  gap: 0;
  color: white;
}
.classic-address-field {
  width: min(40%, 365px);
  height: 21px;
  background: white;
  border: 1px solid #213f71;
  color: #1e2838;
  padding: 3px 6px;
  white-space: nowrap;
  overflow: hidden;
}
.classic-address button {
  background: none;
  color: white;
  border: 0;
  border-right: 1px solid #9db5d3;
  padding: 3px 10px;
  font-size: 11px;
}
.classic-address button:hover {
  text-decoration: underline;
}
.classic-document {
  flex: 1;
  padding: 0 16px 35px;
  background: #fff;
  overflow: auto;
}
.classic-doclinks {
  text-align: center;
  color: #404d6b;
  font-size: 10px;
  min-height: 22px;
}
.classic-doclinks button {
  border: 0;
  background: none;
  color: #36466c;
  font-size: 10px;
  cursor: pointer;
}
.classic-welcome {
  display: grid;
  grid-template-columns: minmax(280px, 355px) 235px;
  gap: 18px;
  max-width: 680px;
  padding: 0 0 30px;
}
.classic-intro {
  padding: 3px 0;
}
.classic-intro h1,
.classic-inner-page > h1 {
  font-family: Tahoma, Arial, sans-serif;
  color: #f29b00;
  font-size: 29px;
  letter-spacing: -1px;
  margin: 0 0 15px;
}
.classic-intro p {
  font-size: 12px;
  line-height: 1.13;
  margin-bottom: 20px;
  color: #111;
}
.classic-tour {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.classic-arrow {
  color: #a9d3ef;
  font-size: 60px;
  transform: rotate(24deg);
  height: 44px;
}
.classic-pill {
  border-radius: 24px;
  background: linear-gradient(#fff 5%, #cbd9f3 55%, #a1b7df 80%, #fff);
  border: 2px solid #5b78b0;
  box-shadow: 0 2px 4px #52668d;
  color: #263c79;
  padding: 9px 30px;
  font-weight: bold;
  letter-spacing: 1px;
}
.classic-textlink {
  background: none;
  border: 0;
  color: #2c3677;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 11px;
}
.classic-cool {
  position: relative;
  margin-top: 0;
  background: #a9cbed;
  border-radius: 20px 20px 12px 12px;
  padding: 0 8px 20px;
  min-height: 325px;
  align-self: start;
}
.classic-cool-title {
  text-align: center;
  font-size: 16px;
  color: white;
  line-height: 1.1;
  margin: 5px 0 7px;
}
.classic-cool > button {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 69px;
  text-align: left;
  color: #253b82;
  letter-spacing: 0.5px;
  font-size: 11px;
}
.classic-cool > button:nth-of-type(even) {
  flex-direction: row-reverse;
  text-align: right;
}
.classic-cool > button span {
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  height: 58px;
  background: white;
  border-radius: 50%;
  font-size: 32px;
}
.classic-cool > small {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 16px;
  font-size: 9px;
  color: #888;
  line-height: 1.5;
}
.classic-inner-page {
  max-width: 920px;
  padding: 22px 0;
}
.classic-inner-page .section-intro {
  padding: 5px;
}
.classic-inner-page .project-grid {
  padding: 5px;
}
.classic-taskbar {
  height: 31px;
  background: linear-gradient(#348bf2, #1159d1 45%, #0a42a4);
  display: flex;
  gap: 3px;
  align-items: stretch;
  color: white;
}
.classic-taskbar button {
  background: #246acb;
  border: 1px solid #659ff0;
  color: white;
  padding: 0 16px;
  font-size: 11px;
}
.classic-taskbar .classic-start {
  background: linear-gradient(#78d96b, #2d9b20 65%, #197b16);
  font-size: 17px;
  font-weight: bold;
  font-style: italic;
  border-radius: 0 12px 12px 0;
}
.classic-taskbar > span {
  margin-left: auto;
  padding: 8px;
  background: #198bdb;
  font-size: 11px;
}
@media (max-width: 900px) {
  .classic-toolbar {
    gap: 7px;
    padding: 5px;
  }
  .classic-nav {
    gap: 2px;
    overflow-x: auto;
  }
  .classic-nav button {
    min-width: 58px;
  }
  .classic-nav-icon {
    font-size: 26px;
  }
  .classic-switch .mode-switch {
    flex-direction: column;
  }
  .classic-welcome {
    grid-template-columns: minmax(0, 1fr) 205px;
  }
}
@media (max-width: 650px) {
  .classic-caption {
    font-size: 9px;
  }
  .classic-caption > div {
    gap: 8px;
  }
  .classic-toolbar {
    flex-wrap: wrap;
  }
  .classic-nav {
    order: 2;
    width: 100%;
    justify-content: flex-start;
  }
  .classic-switch {
    margin-left: auto;
  }
  .classic-workspace {
    grid-template-columns: 1fr;
  }
  .classic-sidebar {
    min-height: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px;
    overflow-x: auto;
  }
  .classic-sidebar .classic-user,
  .classic-sidebar label,
  .classic-sidebar .classic-search,
  .classic-sidebar .classic-side-arrow,
  .classic-sidebar .classic-butterfly,
  .classic-sidebar .classic-player {
    display: none;
  }
  .classic-sidebar > button:not(.classic-player) {
    min-width: 110px;
    font-size: 10px;
  }
  .classic-sidebar > button span {
    font-size: 18px;
  }
  .classic-document {
    padding: 0 10px 30px;
  }
  .classic-welcome {
    grid-template-columns: 1fr;
  }
  .classic-cool {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 0;
    padding-bottom: 10px;
  }
  .classic-cool-title {
    grid-column: 1/-1;
  }
  .classic-cool > button {
    min-height: 55px;
  }
  .classic-cool > button span {
    flex-basis: 40px;
    height: 40px;
    font-size: 23px;
  }
  .classic-cool > small {
    display: none;
  }
  .classic-taskbar button {
    padding: 0 6px;
  }
  .xp-window.maximized {
    bottom: 43px !important;
  }
}

/* Classic Explorer functional controls */
.classic-caption-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.classic-caption-actions button {
  font: inherit;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 2px 5px;
}
.classic-caption-actions button:hover {
  background: #d7e4f5;
}
.caption-buttons {
  display: inline-flex;
  gap: 2px;
}
.caption-buttons button {
  border: 1px solid #8092a8;
  background: linear-gradient(white, #d5dbe5);
  border-radius: 3px;
  min-width: 19px;
}
.classic-address-field {
  flex: 1;
  min-width: 70px;
  background: white;
  border: 1px inset #8598b4;
  padding: 3px 7px;
  font: inherit;
}
.classic-search input {
  min-width: 0;
}
.classic-nav button.current {
  outline: 2px solid #4176b6;
  outline-offset: -2px;
  background: linear-gradient(#f5faff, #c3dcf5);
}
.classic-nav button:focus-visible,
.classic-caption button:focus-visible {
  outline: 2px solid #f90;
}
.classic-arrows button:disabled {
  opacity: 0.45;
  cursor: default;
}
.classic-side-arrow,
.classic-player button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.classic-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #071d4266;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.classic-dialog {
  width: min(440px, 100%);
  background: #f5f5f2;
  border: 3px solid #1766bc;
  border-radius: 9px;
  box-shadow: 0 12px 45px #09224b8c;
  color: #202d4b;
  overflow: hidden;
}
.classic-dialog-title {
  background: linear-gradient(#449bfa, #0653d3);
  color: white;
  font-weight: bold;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.classic-dialog-title button {
  background: #dc543d;
  color: white;
  border: 1px solid white;
  border-radius: 4px;
  cursor: pointer;
}
.classic-dialog-body {
  padding: 20px;
  font:
    14px Tahoma,
    Arial,
    sans-serif;
}
.classic-dialog-body h3 {
  margin: 0 0 10px;
  color: #124ea0;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}
.dialog-actions button,
.dialog-choices button,
.explorer-closed button {
  background: linear-gradient(white, #cbdcf8);
  border: 1px solid #6d8fbd;
  border-radius: 15px;
  padding: 7px 20px;
  cursor: pointer;
  color: #133f8c;
}
.dialog-choices {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.explorer-closed {
  position: fixed;
  inset: 0;
  background: linear-gradient(#e2f4ff, #81b7e9);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #104385;
}
.explorer-closed button {
  font-size: 16px;
}
@media (max-width: 700px) {
  .classic-caption-actions {
    gap: 2px;
  }
  .classic-caption-actions button {
    font-size: 10px;
    padding: 2px;
  }
  .classic-dialog {
    max-height: 90vh;
    overflow: auto;
  }
}

/* Genuine user-provided XP Bliss wallpaper */
.desktop {
  background: #3683c9 url("assets/windows-xp-bliss.jpg") center center / cover
    no-repeat fixed;
}
.desktop .wallpaper {
  display: none;
}
/* MSN Explorer runs as an application above the AndyOS desktop. */
.explorer.msn-classic {
  position: fixed;
  inset: 0;
  z-index: 200;
  padding: 0;
  min-height: 0;
  background: transparent;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.explorer.msn-classic .classic-shell {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.explorer.msn-classic .classic-workspace {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.explorer.msn-classic .classic-main {
  min-height: 0;
  overflow: auto;
}
.explorer.msn-classic.explorer-windowed {
  inset: 5vh 5vw 48px;
  box-shadow: 0 12px 50px #001c50a6;
  border-radius: 9px;
  overflow: hidden;
}
.explorer.msn-classic.explorer-windowed .classic-shell {
  border-radius: 9px;
}
.msn-shortcut span {
  filter: drop-shadow(1px 2px 3px #123c8b);
}
@media (max-width: 700px) {
  .explorer.msn-classic.explorer-windowed {
    inset: 10px 5px 45px;
  }
  .desktop {
    background-attachment: scroll;
  }
}

/* v5: XP folders and embedded web browsing */
.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.folder-grid button {
  background: linear-gradient(#fff, #e4f0ff);
  border: 1px solid #a9c4e6;
  border-radius: 8px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  font-size: 30px;
  color: #1a3e75;
}
.folder-grid strong {
  font-size: 13px;
}
.folder-grid small {
  font-size: 11px;
}
.recycle-items {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 18px 0;
}
.timeline li {
  line-height: 1.5;
  margin: 0 0 8px;
}
.web-browser {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  height: 100%;
  font:
    12px Tahoma,
    Verdana,
    sans-serif;
  color: #17325b;
}
.browser-content {
  height: calc(100% - 62px);
  padding: 0 !important;
  overflow: hidden !important;
}
.browser-toolbar {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px;
  background: linear-gradient(#f8fbff, #d6e3f2);
  border-bottom: 1px solid #a3b7d3;
}
.browser-toolbar button,
.browser-bookmarks button {
  border: 1px solid #9cb2d0;
  background: linear-gradient(white, #dce7f6);
  border-radius: 4px;
  padding: 5px 8px;
  color: #174778;
}
.browser-go {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 220px;
}
.browser-go input {
  flex: 1;
  min-width: 80px;
  border: 1px solid #819bb9;
  padding: 6px;
  background: #fff;
}
.browser-bookmarks {
  padding: 6px 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  background: #edf5ff;
}
.browser-notice {
  padding: 7px 10px;
  background: #fff7d9;
  border-block: 1px solid #e4ce8c;
  line-height: 1.5;
}
.browser-frame {
  border: 0;
  width: 100%;
  flex: 1;
  min-height: 280px;
  background: white;
}
.xp-window[data-window="browser"] {
  width: min(1000px, 92vw);
  height: min(710px, 79vh);
}
.xp-window[data-window="browser"].maximized {
  width: 100%;
  height: calc(100% - 40px);
}
.classic-inner-page:has(.web-browser) {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.classic-inner-page:has(.web-browser) .web-browser {
  flex: 1;
}
.classic-document:has(.web-browser) {
  overflow: hidden;
}
.classic-main:has(.web-browser) {
  min-height: 0;
}
.classic-document:has(.web-browser) .classic-inner-page > h1 {
  display: none;
}
@media (max-width: 700px) {
  .xp-window[data-window="browser"] {
    width: 100%;
    height: calc(100% - 44px);
  }
  .browser-bookmarks {
    max-height: 100px;
    overflow: auto;
  }
  .browser-notice {
    font-size: 11px;
  }
}

/* v6: consistent stacking and friendlier external browsing */
.web-browser .external-preview {
  flex: 1;
  min-height: 260px;
  background: linear-gradient(#fff, #eaf2ff);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 28px;
  gap: 10px;
}
.external-preview-icon {
  font-size: 52px;
}
.external-preview h2 {
  font-size: 20px;
  margin: 0;
  color: #134d99;
}
.external-preview p {
  margin: 0;
  line-height: 1.5;
}
.external-preview .external-hint {
  font-size: 11px;
  color: #65758b;
  margin-top: 8px;
}
.external-launch {
  display: inline-block;
  margin: 12px 0;
  padding: 10px 20px;
  border: 1px solid #447cbd;
  border-radius: 18px;
  background: linear-gradient(white, #c6dcfa);
  color: #06498f;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 3px #1234;
}
.browser-open-link {
  text-align: right;
  padding: 5px 12px;
  background: #eef4fd;
}
.browser-open-link a {
  color: #17579b;
}

/* v8: desktop icons belong behind application windows; keep taskbar above both. */
.desktop-icons {
  z-index: 1;
}
.windows {
  z-index: 3;
}
.xp-window.active {
  z-index: auto;
}
/* Stacking is controlled by inline z-index from windowStack, including maximized windows. */
.classic-sidebar button[aria-current="page"] {
  background: #c4dcfa;
}

/* Desktop windows retain their live DOM and use viewport-based positions. */
.windows {
  position: fixed;
  inset: 0 0 43px;
  pointer-events: none;
}
.xp-window {
  position: fixed;
  max-height: calc(100dvh - 190px);
}
.xp-window[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  .windows {
    position: relative;
    inset: auto;
  }
  .xp-window {
    max-height: none;
  }
}

/* One shared XP taskbar remains available beneath MSN Explorer. */
.explorer.msn-classic {
  bottom: 43px;
}
.explorer[hidden] {
  display: none !important;
}
.taskbar {
  z-index: 300;
}
.start-menu {
  z-index: 310;
}
.explorer.msn-classic .classic-sidebar {
  min-height: 0;
  border-top: 1px solid #7a9bc5;
  border-top-left-radius: 30px;
  padding-top: 28px;
}
.classic-caption,
.classic-toolbar,
.classic-address {
  flex-shrink: 0;
}
.explorer-browsing .classic-document {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}
.explorer-browsing .classic-doclinks,
.explorer-browsing .browser-toolbar {
  display: none;
}
.explorer-browsing .web-browser {
  flex: 1;
  min-height: 0;
  height: auto;
}
.explorer-browsing .browser-frame {
  min-height: 0;
  flex: 1;
}
.explorer-browsing .browser-bookmarks {
  padding: 3px 8px;
  max-height: 62px;
  overflow: auto;
  font-size: 10px;
}
.explorer-browsing .browser-bookmarks button {
  padding: 2px 5px;
  font-size: 10px;
}
.explorer-browsing .browser-open-link {
  padding: 3px 8px;
  font-size: 10px;
}
.explorer-browsing .classic-main {
  overflow: hidden;
}
@media (max-width: 650px) {
  .explorer.msn-classic .classic-sidebar {
    border-radius: 0;
    padding: 7px;
  }
  .taskbar {
    overflow-x: auto;
  }
  .taskbar > * {
    flex-shrink: 0;
  }
  .taskbar .task-button {
    max-width: 130px;
  }
}

/* The desktop fills the viewport; icons flow down, then into the next column. */
html,
body,
#app {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.desktop {
  position: fixed;
  inset: 0;
  height: 100dvh;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.desktop-icons {
  position: absolute;
  inset: 16px 12px 55px;
  margin: 0;
  width: auto;
  display: flex;
  flex-flow: column wrap;
  align-content: flex-start;
  gap: 8px 12px;
  overflow: hidden;
}
.desktop-icon {
  width: 100px;
  height: 80px;
  min-height: 80px;
  flex: 0 0 80px;
}
.start-menu {
  max-height: calc(100dvh - 55px);
  overflow-y: auto;
}
.msn-login .login-shell {
  background: #0c3263;
}
.login-screen {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
  color: white;
  background:
    radial-gradient(ellipse at 19% 32%, #9e9acb 0, transparent 35%),
    radial-gradient(ellipse at 0 85%, #516b9d 0, transparent 38%),
    radial-gradient(ellipse at 100% 110%, #8f91bf 0, transparent 24%),
    linear-gradient(110deg, #244778, #0b3266 68%, #103765);
  padding: 14px clamp(24px, 8vw, 120px) 26px;
  font:
    12px Tahoma,
    Verdana,
    sans-serif;
}
.login-toplinks {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  font-size: 11px;
  color: #d6ddf2;
}
.login-toplinks span + span {
  border-left: 1px solid #8a9ec0;
  padding-left: 12px;
}
.login-heading {
  position: relative;
  max-width: 630px;
  margin: 26px 0 0;
}
.login-heading h1 {
  font:
    bold italic clamp(64px, 10vw, 100px) Arial,
    sans-serif;
  letter-spacing: -6px;
  line-height: 1;
  margin: 0;
  color: #a7b2e6;
  opacity: 0.3;
}
.login-heading p {
  position: relative;
  margin: -15px 0 0 7px;
  color: #f2f1ff;
}
.login-subtitle {
  text-align: center;
  font:
    20px Arial,
    sans-serif;
  color: #9aafd4;
  opacity: 0.3;
  margin: 0 0 20px;
}
.login-subtitle sup {
  font-size: 9px;
}
.login-msn {
  position: absolute;
  right: 0;
  top: 14px;
  font:
    bold italic 34px Arial,
    sans-serif;
  letter-spacing: -2px;
}
.login-msn span {
  font-size: 25px;
  vertical-align: top;
  letter-spacing: 0;
}
.login-profiles {
  max-width: 630px;
  min-height: 180px;
  padding: 15px 28px 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-profile {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: white;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px;
  border-radius: 6px;
}
.login-profile:hover {
  background: #ffffff12;
}
.login-profile img {
  width: 104px;
  height: 104px;
  border: 4px solid #ffd06a;
  border-radius: 5px;
  box-shadow: 3px 5px 9px #0008;
  background: #79b0e4;
}
.login-profile strong {
  display: block;
  padding-top: 6px;
  font-size: 14px;
}
.login-profile small {
  display: block;
  margin-top: 9px;
  color: #c8d5ee;
  font-size: 11px;
}
.login-bottom {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: flex-end;
  max-width: 630px;
  border-top: 1px solid #7998c159;
  padding-top: 30px;
  margin-top: 25px;
}
.login-butterfly {
  font-size: 48px;
}
.login-bottom .classic-pill {
  min-width: 112px;
  padding: 6px 20px;
  font-size: 12px;
}
@media (max-width: 700px) {
  .windows {
    position: fixed;
    inset: 0 0 43px;
  }
  .xp-window {
    position: fixed !important;
    top: 12px !important;
    left: 8px !important;
    width: calc(100% - 16px);
    max-height: calc(100dvh - 67px);
    margin: 0;
  }
  .xp-content {
    min-height: 0;
    overflow: auto;
  }
  .desktop-icons {
    inset: 8px 6px 51px;
    gap: 6px;
  }
  .desktop-icon {
    width: 76px;
    height: 68px;
    min-height: 68px;
    flex-basis: 68px;
    font-size: 10px;
  }
  .login-screen {
    padding: 10px 20px 20px;
  }
  .login-heading h1 {
    font-size: 65px;
  }
  .login-msn {
    font-size: 25px;
    right: 0;
    top: 55px;
  }
  .login-profiles {
    padding: 12px 0;
    min-height: 160px;
    justify-content: flex-start;
  }
  .login-bottom {
    gap: 12px;
    margin-top: 10px;
    padding-top: 15px;
  }
}

/* Soft MSN chrome and uninterrupted curved edge above My Stuff. */
.explorer.msn-classic:not(.msn-login) .classic-shell {
  background: #e5e9f3;
}
.classic-toolbar {
  position: relative;
  z-index: 1;
  border-bottom: 0;
  background:
    radial-gradient(ellipse at 100% 100%, #d9ecd9 0%, transparent 52%),
    radial-gradient(ellipse at 73% 80%, #f4e7e5 0%, transparent 45%),
    linear-gradient(#faf9fc, #e5e9f3);
}
.explorer.msn-classic .classic-workspace {
  background: #e5e9f3;
}
.explorer.msn-classic .classic-sidebar {
  border-top: 0;
  border-top-left-radius: 100% 28px;
  background:
    radial-gradient(ellipse at 24% 0%, #b7c8e533 0%, transparent 32%),
    linear-gradient(100deg, #7286bd, #536fa7 70%, #718bc0);
}
.classic-sidebar > button[data-page] {
  background: transparent;
  border: 0;
  position: relative;
  border-radius: 0;
  text-shadow: 0 1px #3b5689;
}
.classic-sidebar > button[data-page]:hover,
.classic-sidebar > button[data-page][aria-current="page"] {
  background: #d9e5fc18;
  color: white;
}
.classic-sidebar > button.classic-side-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 17px;
  padding: 0;
  margin: 6px 7px 12px auto;
  border: 1px solid #47618e;
  border-radius: 50%;
  background: linear-gradient(#a9bddb, #526d9e 55%, #7893be);
  box-shadow: inset 0 1px #e4edff88, 0 1px 2px #243e6c80;
  color: #eff6ff;
  font-size: 10px;
  text-shadow: 0 1px #355180;
}
.classic-sidebar > button.classic-side-arrow:hover { filter: brightness(1.15); }
.classic-workspace.sidebar-collapsed { grid-template-columns: 35px minmax(0, 1fr); }
.sidebar-collapsed .classic-sidebar { padding: 28px 3px 8px; }
.sidebar-collapsed .classic-sidebar > :not(.classic-side-arrow) { display: none; }
.sidebar-collapsed .classic-sidebar > button.classic-side-arrow { margin: 6px auto; }
@media (max-width:650px) {
  .explorer.msn-classic .classic-sidebar { border-radius:0; }
  .classic-sidebar > button.classic-side-arrow { flex:0 0 25px;min-width:25px;margin:0 6px; }
  .classic-workspace.sidebar-collapsed { grid-template-columns:1fr; }
  .sidebar-collapsed .classic-sidebar { padding:7px; }
}

/* Inset dark rules frame the My Stuff links without forming button boxes. */
.classic-sidebar > button[data-page]::after,
.classic-sidebar > .classic-user + button[data-page]::before {
  content: "";
  position: absolute;
  left: 7.5%;
  width: 85%;
  height: 1px;
  background: #405a87;
  pointer-events: none;
}
.classic-sidebar > button[data-page]::after { bottom: 0; }
.classic-sidebar > .classic-user + button[data-page]::before { top: 0; }

/* Reference-style caption buttons and unified silver window-control capsule. */
.classic-caption .classic-caption-actions { gap: 7px; }
.classic-caption-actions .caption-action {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  color: #202a38;
  font: 10px Tahoma, Verdana, sans-serif;
}
.caption-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border: 1px solid #9aa8b9;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, white 20%, #edf2f8 50%, #bccbdf);
  box-shadow: inset 0 1px white, 0 1px 1px #6c7d9755;
  color: #7286a4;
  font: bold 11px Arial, sans-serif;
}
.classic-caption .caption-buttons {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  height: 18px;
  border: 1px solid #93a2b7;
  border-radius: 12px;
  background: linear-gradient(white, #eaf0f6 55%, #cbd5e3);
  box-shadow: inset 0 1px white, 0 1px 2px #6d809655;
  overflow: hidden;
}
.classic-caption-actions .caption-buttons {
  margin-left: 6px;
  position: relative;
}
.classic-caption-actions .caption-buttons::before { content: none; }
.classic-caption .caption-buttons button {
  min-width: 18px;
  width: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #657c99;
  font: bold 13px Arial, sans-serif;
  line-height: 16px;
}
.classic-caption .caption-buttons button + button { border-left: 1px solid #aab7c9; }
.classic-caption .caption-buttons button:hover { background: #b9d2f0; }
.classic-caption-actions > .caption-action[data-dialog="signout"] { border-right: 1px solid #8b99af; padding-right: 10px; }
.explorer.msn-classic .classic-sidebar { padding-top: 28px; }
.classic-player {
  padding: 0;
  height: 38px;
  border: 1px solid #647b9d;
  border-radius: 22px;
  background: linear-gradient(#f7f9ff, #b7c8e2 55%, #e0e7f4);
}
.classic-player::before {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: -9px;
  height: 1px;
  background: #344f7d;
  box-shadow: 0 1px #b0c1dc88;
}
.classic-player button { display:flex; align-items:center; gap:5px; width:100%;height:100%;padding:3px;font-size:10px; }
.player-play { display:grid;place-items:center;width:29px;height:29px;flex-shrink:0;border:1px solid #8294af;border-radius:50%;background:linear-gradient(white,#c5d2e8);box-shadow:0 1px 3px #526788;color:#6e83a4;font-size:12px; }
.player-panel { display:flex;flex:1;flex-direction:column;min-width:0; }
.player-transport { border-bottom:1px solid #899eba;padding-bottom:2px; }
.player-volume { font-size:9px;line-height:12px;white-space:nowrap; }
.explorer.msn-classic .sidebar-collapsed .classic-sidebar { padding-top:28px; }
@media(max-width:650px){.explorer.msn-classic .classic-sidebar,.explorer.msn-classic .sidebar-collapsed .classic-sidebar{padding:7px}.classic-caption .classic-caption-actions{gap:4px}.classic-caption-actions .caption-action{font-size:9px}}

/* Align the MSN navigation buttons with the original toolbar. */
.classic-toolbar { padding-left: 34px; }
.classic-arrows { gap: 12px; flex-shrink: 0; }
.classic-arrows button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 3px solid #536b97;
  box-shadow: inset 0 1px 2px #fff, 0 2px 3px #52688d80;
  color: #526c9b;
  font: 17px/1 Arial, sans-serif;
}
.classic-arrows button[data-history="-1"] { padding-right: 2px; }
.classic-arrows button[data-history="1"] { padding-left: 2px; }
.classic-arrows button:disabled { opacity: .65; }
@media(max-width:900px){.classic-toolbar{padding-left:16px}}

/* Keep the shared taskbar and Start menu above MSN's application layer.
   A fixed desktop traps its children in a separate stacking context. */
.desktop { position: absolute; }

/* User-provided Windows XP mark beside the Start label. */
.start { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 16px 0 10px; }
.start-logo { display: block; width: 28px; height: 28px; object-fit: contain; }

/* Supplied glossy MSN artwork replaces the matching emoji placeholders. */
.msn-asset-icon { display:block; width:100%;height:100%;object-fit:contain; }
.classic-nav-icon { display:grid;place-items:center;width:44px;height:40px;filter:none; }
.classic-sidebar > button[data-page] > span { display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px; }
.classic-cool > button > span .msn-asset-icon { width:44px;height:44px; }
@media(max-width:900px){.classic-nav-icon{width:36px;height:34px}}
@media(max-width:650px){
 .classic-sidebar > button[data-page] > span{flex-basis:22px;width:22px;height:22px}
 .classic-cool > button > span .msn-asset-icon{width:32px;height:32px}
}

/* The isolated MSN butterfly is shared across the shell and shortcuts. */
.msn-butterfly-asset { display:inline-block;width:18px;height:18px;object-fit:contain;vertical-align:middle; }
.msn-shortcut > span { display:grid;place-items:center;width:38px;height:38px; }
.msn-shortcut .msn-butterfly-asset { width:38px;height:38px; }
.classic-butterfly .msn-butterfly-asset { width:80px;height:80px; }
.login-butterfly .msn-butterfly-asset { width:48px;height:48px; }
.login-msn .msn-butterfly-asset { width:25px;height:25px;vertical-align:top; }
@media(max-width:700px){.msn-shortcut .msn-butterfly-asset{width:30px;height:30px}}

/* Messenger-style buddies and a local MSN-era chat lounge. */
.retro-social{max-width:850px;margin:18px auto;color:#233e65;border:1px solid #8ca9d0;background:#f4f8ff;font:12px Tahoma,Verdana,sans-serif;box-shadow:0 3px 10px #244d7420}
.social-heading{display:flex;align-items:center;gap:12px;padding:16px;background:linear-gradient(#fff,#d8e7fa);border-bottom:1px solid #9fbadd}
.social-heading>.msn-asset-icon{width:48px;height:44px}
.social-heading h1{font: bold 23px Tahoma,sans-serif;letter-spacing:-.5px;color:#295795;margin:0 0 5px}
.social-heading p,.buddy-self p{margin:0;font-size:12px}
.buddy-self{display:flex;gap:12px;align-items:center;padding:16px;background:#e7f1ff}
.buddy-self img{width:48px;height:48px;border:2px solid white;box-shadow:0 0 0 1px #90accf}
.buddy-self strong{display:block;margin-bottom:5px}
.social-note{font-size:11px;color:#5b7291;margin:12px 16px;line-height:1.6}
.buddy-layout{display:grid;grid-template-columns:1fr 1fr;min-height:300px;border-block:1px solid #afc5e2}
.buddy-list{padding:12px;background:white;border-right:1px solid #afc5e2}
.buddy-list h2,.chat-members h2{font-size:12px;margin:0 0 12px;color:#3a639b}
.buddy-list button{display:flex;gap:9px;align-items:center;width:100%;padding:10px;border:1px solid transparent;background:white;text-align:left;color:#244978}
.buddy-list button:hover,.buddy-list button[aria-pressed="true"]{background:#e5efff;border-color:#9dbce8}
.buddy-list small{display:block;font-size:10px;color:#69809f;margin-top:3px}
.buddy-status{width:9px;height:9px;border:1px solid #2c8e37;border-radius:50%;background:#66cc66;box-shadow:inset 0 1px #caffbf}
.status-busy{background:#e96452;border-color:#a83727}.status-away{background:#edcb56;border-color:#aa8d2b}
.buddy-card{padding:24px;text-align:center;background:linear-gradient(white,#e7f0ff)}
.buddy-card>.msn-asset-icon{width:68px;height:60px;margin:0 auto 12px}.buddy-card h2{font-size:18px;margin-bottom:5px}.buddy-presence{font-size:11px;color:#637fa0}
.social-link{display:block;margin:14px auto 0;background:none;border:0;color:#225c9e;text-decoration:underline;font-size:11px}
.social-footer{padding:10px 14px;font-size:11px;color:#6583a5}
.chat-room-bar{display:flex;justify-content:space-between;padding:9px 14px;color:white;background:linear-gradient(#688bc3,#4168a3)}
.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 150px;border-bottom:1px solid #9fbadd}
.chat-transcript{height:280px;overflow:auto;background:white;padding:14px;overflow-wrap:anywhere}
.chat-message{line-height:1.6;margin:0 0 12px}.chat-message strong{color:#74549f}.chat-message .chat-you{color:#175aab}
.chat-members{background:#eaf2fe;border-left:1px solid #b1c7e5;padding:14px 10px}.chat-members p{font-size:11px}.chat-members small{display:block;color:#6d83a1;margin-left:20px}
.chat-topics{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:10px 14px}.chat-topics button{font:11px Tahoma,sans-serif;color:#2b578e;background:linear-gradient(white,#e0eafb);border:1px solid #9bb5d5;border-radius:3px;padding:5px 8px}
.chat-compose{padding:0 14px 6px}.chat-compose label{display:block;font-size:11px;margin-bottom:5px}.chat-compose>div{display:flex;gap:8px}.chat-compose input{min-width:0;flex:1;border:1px solid #8ca6ca;padding:9px;font:12px Tahoma,sans-serif;background:white}.chat-compose .classic-pill{padding:7px 20px}
@media(max-width:650px){.buddy-layout{grid-template-columns:1fr}.buddy-list{border-right:0;border-bottom:1px solid #afc5e2}.chat-layout{grid-template-columns:minmax(0,1fr) 105px}.chat-transcript{height:230px}.social-heading{padding:12px}.social-heading h1{font-size:20px}.chat-members{padding:12px 6px}}

/* XP-era indeterminate progress: green blocks and a little connection dialog. */
.archive-viewport{position:relative;display:flex;flex-direction:column;flex:1;min-height:0;background:white}
.archive-viewport>.browser-frame{flex:1;min-height:0}
.archive-loader{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(#f5f8ff,#e2ecfb);padding:16px;color:#263e61}
.archive-loader-title{width:min(340px,100%);padding:7px 10px;border:2px solid #1658b0;border-bottom:0;border-radius:7px 7px 0 0;background:linear-gradient(#64a3ee,#1762c8);color:white;font:bold 12px Tahoma,sans-serif;text-shadow:1px 1px #264e81}
.archive-loader-body{width:min(340px,100%);padding:20px;text-align:center;border:2px solid #1658b0;border-top:0;background:#eeece1;box-shadow:3px 5px 12px #27446d33;font:12px Tahoma,sans-serif}
.archive-hourglass{font-size:28px}.archive-loader-body p{margin:10px 0 14px}.archive-loader-body small{display:block;margin-top:12px;font-size:10px;color:#5a6b7e}
.retro-progress{height:18px;border:1px solid #82918a;border-radius:3px;padding:2px;background:#fff;overflow:hidden;box-shadow:inset 1px 1px 2px #0002}
.retro-progress>span{display:block;width:65px;height:100%;background:repeating-linear-gradient(90deg,#47ad32 0 8px,transparent 8px 11px);animation:archive-progress 1.6s linear infinite}
@keyframes archive-progress{from{transform:translateX(-70px)}to{transform:translateX(290px)}}
.archive-load-status{padding:5px 8px;background:#eeece1;border-top:1px solid #b5b6ab;font:11px Tahoma,sans-serif}.archive-load-status a{color:#17579b}
.archive-loader[hidden],.archive-load-status[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.retro-progress>span{animation:none;width:100%}}

/* Social pages occupy the full document canvas, with scrolling inside each pane. */
.explorer-social .classic-main{overflow:hidden;min-height:0}
.explorer-social .classic-document{display:flex;flex-direction:column;padding:0;min-height:0;overflow:hidden}
.explorer-social .classic-doclinks{display:none}
.explorer-social .retro-social{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;max-width:none;margin:0;border:0;box-shadow:none}
.explorer-social .social-heading,.explorer-social .buddy-self,.explorer-social .social-note,.explorer-social .social-footer,.explorer-social .chat-room-bar,.explorer-social .chat-topics,.explorer-social .chat-compose{flex-shrink:0}
.explorer-social .buddy-layout{flex:1;min-height:0;grid-template-columns:minmax(230px,35%) minmax(0,1fr)}
.explorer-social .buddy-list,.explorer-social .buddy-card{overflow:auto;min-height:0}
.explorer-social .buddy-card{display:flex;flex-direction:column;align-items:center;justify-content:safe center;padding:25px}
.explorer-social .chat-layout{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) 180px}
.explorer-social .chat-transcript{height:auto;min-height:0}
.explorer-social .chat-members{overflow:auto}
.buddy-year{margin-left:auto;padding:5px 8px;font-size:10px;color:#6985ab;letter-spacing:1px;border:1px solid #aec5e3;background:#f5f9ff}
.buddy-avatar,.buddy-avatar-small{display:grid;place-items:center;background:linear-gradient(135deg,#ffffff66,transparent 60%),var(--buddy-color);color:white;border:3px solid white;border-radius:6px;box-shadow:0 0 0 1px #99b1d2;font:bold 35px Tahoma,sans-serif;width:92px;height:92px;margin-bottom:20px;text-shadow:0 1px 2px #0004;flex-shrink:0}
.buddy-avatar-small{width:34px;height:34px;border-width:2px;font-size:12px;margin:0}
.buddy-handle{font:12px 'Courier New',monospace;color:#6b82a0;margin-bottom:8px}
.buddy-presence .buddy-status{display:inline-block}
.buddy-away{background:#fff;border:1px solid #bed0e8;border-radius:4px;padding:18px;max-width:380px;margin:12px 0 22px;line-height:1.7;color:#476484;font-style:italic}
.buddy-nudge-status{font-size:11px;max-width:320px;color:#6b82a0;min-height:36px;margin:15px 0 0}
@media(max-width:650px){
 .explorer-social .buddy-layout{grid-template-columns:minmax(145px,45%) minmax(0,1fr)}
 .explorer-social .buddy-card{padding:14px 8px}
 .buddy-list{padding:8px 4px}.buddy-list button{padding:8px 4px;gap:5px}.buddy-list small{overflow-wrap:anywhere}
 .buddy-avatar-small{display:none}.buddy-year{display:none}
 .buddy-away{padding:10px;margin-bottom:14px}.buddy-card .classic-pill{padding:7px 10px;font-size:11px}
 .explorer-social .chat-layout{grid-template-columns:minmax(0,1fr) 105px}
 .social-heading{padding:10px}.buddy-self{padding:10px}.social-note{margin:8px 10px}
}

/* Clip artwork only at the row's bottom edge, preserving its natural proportions. */
.classic-sidebar > button[data-page] {
  min-height: 42px;
  padding: 7px 45px 7px 3px;
  overflow: hidden;
}
.classic-sidebar > button[data-page] > span {
  position: absolute;
  right: 5px;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 38px;
  height: 38px;
  overflow: visible;
}
.classic-sidebar > button[data-page] > span .msn-asset-icon {
  display: block;
  width: 38px;
  height: auto;
  max-width: none;
  object-fit: contain;
  transform: translateY(3px);
}
.classic-sidebar > button[data-page="skills"] > span {
  font-size: 35px;
  line-height: 1;
  transform: translateY(4px);
}
.classic-sidebar > button[data-page="contact"] > span .msn-asset-icon {
  width: 34px;
  transform: translateY(4px);
}
.classic-sidebar > button[data-page]::after { z-index: 1; }
@media(max-width:650px){
  .classic-sidebar > button[data-page]{min-height:36px;padding-right:35px}
  .classic-sidebar > button[data-page] > span{width:30px;height:30px;right:3px}
  .classic-sidebar > button[data-page] > span .msn-asset-icon{width:30px;height:auto}
  .classic-sidebar > button[data-page="skills"] > span{font-size:29px}
  .classic-sidebar > button[data-page="contact"] > span .msn-asset-icon{width:27px}
}

/* Larger sidebar artwork, including the retro radio for Contact Me. */
.classic-sidebar > button[data-page] > span .msn-asset-icon,
.classic-sidebar > button[data-page="contact"] > span .msn-asset-icon {
  width: 55px;
}

/* XP Explorer's task pane, address bar and spacious folder view. */
.xp-computer-toolbar{display:flex;gap:8px;padding:7px 10px;background:#eeede3;border-bottom:1px solid #c6c4b8;flex-wrap:wrap}
.xp-computer-toolbar button{border:1px solid transparent;background:transparent;padding:5px 8px;color:#283b52;font-size:12px}
.xp-computer-toolbar button:hover{border-color:#9caec8;background:#fff9}
.xp-computer-address{display:flex;align-items:center;gap:10px;padding:5px 10px;background:#eeede3;border-bottom:1px solid #bbb;font-size:11px;color:#555}
.xp-computer-address>div{flex:1;background:white;border:1px solid #a7a69b;padding:4px 8px;color:#222}
.xp-computer-layout{display:grid;grid-template-columns:185px minmax(0,1fr);min-height:340px;font:12px Tahoma,sans-serif}
.xp-task-pane{padding:14px 12px;background:linear-gradient(#7ba1e5,#6584d5)}
.xp-task-group{margin-bottom:14px;background:#d6dff7;border-radius:4px 4px 0 0;overflow:hidden}
.xp-task-group h3{margin:0;padding:7px 10px;background:linear-gradient(90deg,white,#c7d6f7);font-size:11px;color:#2453a2}
.xp-task-group button{display:block;width:100%;border:0;background:none;text-align:left;padding:7px 10px;font-size:11px;color:#2453a2}
.xp-task-group button:hover{text-decoration:underline;color:#12356f}
.xp-task-details{padding:10px;color:#263e62;font-size:11px}.xp-task-details p{margin:6px 0 0;line-height:1.5}
.xp-computer-files{padding:22px 24px;background:white}
.xp-computer-files h2{font:bold 12px Tahoma,sans-serif;color:#222;margin:0 0 14px;padding:0 0 6px;border-bottom:1px solid #bdd0ed}
.xp-folder-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:12px;margin-bottom:26px}
.xp-folder-list button{display:flex;align-items:center;gap:10px;text-align:left;padding:9px 6px;background:white;border:1px solid transparent;color:#222}
.xp-folder-list button:hover{background:#e8f0fe;border-color:#aac2eb}
.xp-folder-icon{font-size:34px;flex-shrink:0}.xp-folder-list strong{display:block;font-size:12px;font-weight:normal}.xp-folder-list small{display:block;color:#777;font-size:10px;margin-top:5px;line-height:1.4}
.xp-computer-status{display:flex;justify-content:space-between;padding:5px 10px;background:#eeede3;border-top:1px solid #bdbbb0;font:11px Tahoma,sans-serif;color:#444}
@media(max-width:550px){.xp-computer-layout{grid-template-columns:135px minmax(0,1fr)}.xp-task-pane{padding:10px 6px}.xp-computer-files{padding:16px 12px}.xp-folder-list{grid-template-columns:1fr}.xp-folder-icon{font-size:27px}}

/* Original 48px XP icons and Luna window controls, scoped to AndyOS. */
.desktop .xp-asset-icon{display:inline-block;width:18px;height:18px;object-fit:contain;vertical-align:middle;flex-shrink:0}
.desktop-icon>span{display:grid;place-items:center;width:48px;height:48px}
.desktop .desktop-icon .xp-asset-icon{width:48px;height:48px}
.desktop .xp-titlebar strong{display:flex;align-items:center;gap:6px;font-size:13px;min-width:0}
.desktop .xp-titlebar .xp-asset-icon{width:16px;height:16px}
.desktop .task-button .xp-asset-icon,.desktop .start-menu .xp-asset-icon{width:20px;height:20px;margin-right:5px}
.desktop .window-controls{gap:3px;align-items:center}
.desktop .window-controls button{display:grid;place-items:center;width:24px;height:25px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.desktop .window-controls button img{display:block;width:21px;height:23px}
.desktop .window-controls button:hover{filter:brightness(1.13)}
.desktop .window-controls button:active{filter:brightness(.85)}
.desktop .xp-folder-icon{display:grid;place-items:center;width:48px;height:48px}
.desktop .xp-folder-icon .xp-asset-icon{width:48px;height:48px}
.desktop .xp-computer-address .xp-asset-icon,.desktop .xp-computer-toolbar .xp-asset-icon{margin-right:4px}
.desktop .xp-task-group .xp-asset-icon{width:16px;height:16px;margin-right:4px}
.desktop .actions .xp-asset-icon{width:22px;height:22px;margin-right:4px}
.desktop .recycle-items .xp-asset-icon{width:24px;height:24px;margin-right:5px}
@media(max-width:700px){.desktop .desktop-icon .xp-asset-icon{width:36px;height:36px}.desktop-icon>span{width:36px;height:36px}}

/* Hide the two stray bottom rows from the extracted Luna control images. */
.desktop .window-controls button img { clip-path: inset(0 0 2px 0); }

/* Explorer folder views: inset documents, expandable folders, and file details. */
.desktop .xp-folder-shell{font:12px Tahoma,Verdana,sans-serif;color:#222}
.desktop .xp-folder-shell .xp-computer-layout{min-height:370px}
.xp-folder-intro{font-size:11px;color:#697789;margin-bottom:20px;line-height:1.6}
.xp-project-folder{border:1px solid #c2cee0;margin-bottom:14px;background:white}
.xp-project-folder summary,.xp-document-details summary{display:flex;align-items:center;gap:12px;cursor:pointer;padding:14px;list-style:none;background:linear-gradient(white,#f0f5fc)}
.xp-project-folder summary::-webkit-details-marker,.xp-document-details summary::-webkit-details-marker{display:none}
.desktop .xp-project-folder summary>.xp-asset-icon{width:40px;height:40px}
.xp-project-folder summary strong,.xp-document-list strong{display:block;font-size:13px;font-weight:normal;color:#234a83}
.xp-project-folder summary small,.xp-document-list small{display:block;font-size:10px;color:#788498;margin-top:5px;line-height:1.4}
.xp-file-badge{margin-left:auto;font-size:10px;color:#6b7a8f;white-space:nowrap}
.xp-project-folder[open] summary{background:#e7effc;border-bottom:1px solid #c2cee0}
.xp-project-description{padding:18px 20px;line-height:1.7}
.xp-file-label{font-size:11px;color:#5e7290;padding-bottom:10px;border-bottom:1px solid #e1e6ee}
.xp-project-description>p{margin:14px 0}
.xp-file-action{display:inline-flex;align-items:center;gap:4px;margin:3px 8px 3px 0;padding:6px 10px;border:1px solid #8ea5c7;border-radius:3px;background:linear-gradient(white,#e8edf6);color:#204c8b;text-decoration:none;font:11px Tahoma,sans-serif}
.xp-file-action:hover{border-color:#427bc2;background:#eaf2ff}
.xp-development-note{font-size:11px;color:#8b6b28}
.xp-document-list>button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:14px 10px;border:1px solid transparent;border-bottom-color:#e4eaf3;background:white;color:#222}
.xp-document-list>button:hover{background:#edf3ff;border-color:#b3c9e9}
.desktop .xp-document-list>button>.xp-asset-icon,.desktop .xp-document-details summary>.xp-asset-icon{width:34px;height:34px}
.xp-file-type{font-size:10px;color:#7b8796;margin-left:auto}
.xp-document-details{border-bottom:1px solid #e4eaf3}
.xp-document-details>div{padding:14px 20px 14px 56px;font-size:11px;line-height:1.6}
.xp-document-details>div p{margin:0 0 6px}
.xp-document-note{color:#778291;font-size:11px;line-height:1.6;margin:20px 0 0}
.xp-resume-document article{border:1px solid #d5dce8;background:#fff;padding:18px;margin-bottom:16px}
.xp-resume-document header{display:flex;gap:12px;align-items:flex-start;border-bottom:1px solid #e0e7f1;padding-bottom:12px}
.desktop .xp-resume-document header>.xp-asset-icon{width:32px;height:32px}
.xp-resume-document h3{font-size:12px;color:#264f89;margin:0 0 6px}.xp-resume-document header p{font-size:11px;margin:0 0 3px}.xp-resume-document small{font-size:10px;color:#7b8798}.xp-resume-document ul{padding-left:18px;margin-bottom:0}.xp-resume-document li{font-size:11px;line-height:1.7;margin-bottom:8px}
.xp-deleted-heading{display:flex;justify-content:space-between;padding:6px 8px;background:#eeede3;border:1px solid #cccac0;font-size:10px;color:#666}
.xp-deleted-files>div{display:flex;align-items:center;gap:8px;padding:8px;border-bottom:1px solid #edf0f6;font-size:11px;overflow-wrap:anywhere}.xp-deleted-files small{margin-left:auto;font-size:10px;color:#8490a0}
@media(max-width:550px){.xp-file-badge,.xp-file-type,.xp-deleted-files small{display:none}.xp-project-folder summary{padding:10px;gap:7px}.xp-project-description{padding:12px}.xp-resume-document article{padding:12px}.xp-document-details>div{padding:12px}.xp-folder-shell .xp-computer-toolbar{gap:2px}.xp-folder-shell .xp-computer-toolbar button{font-size:10px;padding:4px}}

/* A Welcome screen with roomy XP-style launch buttons and the original big type. */
.desktop [data-window="welcome"] .hero{border-radius:0;background:radial-gradient(ellipse at 100% 0%,#dceeff,transparent 55%),linear-gradient(125deg,#fff,#f0f5fc)}
.desktop [data-window="welcome"] .eyebrow{color:#6c85a4;letter-spacing:1.3px}
.desktop [data-window="welcome"] .hero h1 em{color:#2466b3}
.desktop [data-window="welcome"] .hero>p{color:#526b87}
.xp-welcome-actions{display:grid;gap:9px;margin:26px 0 4px;max-width:540px}
.desktop .xp-welcome-action{display:flex;align-items:center;gap:14px;width:100%;padding:12px 15px;text-align:left;border:1px solid #8ca6c9;border-radius:3px;background:linear-gradient(#fff,#f5f7fb 55%,#e6edf7);box-shadow:inset 0 1px #fff,0 1px 2px #345c8520;color:#254e82;font:12px Tahoma,Verdana,sans-serif}
.desktop .xp-welcome-action .xp-asset-icon{width:36px;height:36px}
.xp-welcome-action strong{display:block;font-size:13px}.xp-welcome-action small{display:block;margin-top:5px;font-size:11px;color:#6c7e96}
.xp-action-arrow{margin-left:auto;font:bold 25px Arial,sans-serif;color:#698cb7}
.desktop .xp-default-action{border-color:#4879b6;box-shadow:inset 0 0 0 2px #adc8ed,0 1px 2px #345c8520}
.desktop .xp-welcome-action:hover{border-color:#bc8b37;background:linear-gradient(#fffdf6,#fff4d9);box-shadow:inset 0 0 0 1px #f4d68e}
.desktop .xp-welcome-action:active{background:#dde8f6;box-shadow:inset 1px 1px 3px #6581a544}
.desktop [data-window="welcome"] .info-strip{background:#eeede3;border-top:1px solid #d2d4d5;color:#61758f;font:11px Tahoma,sans-serif}
@media(max-width:550px){.desktop .xp-welcome-action{gap:10px;padding:10px}.desktop .xp-welcome-action .xp-asset-icon{width:30px;height:30px}.xp-welcome-action small{font-size:10px}}

/* Outlook Express: local folders and an honest email draft workflow. */
.xp-mail-layout{display:grid;grid-template-columns:170px minmax(0,1fr);min-height:390px;font:12px Tahoma,sans-serif;color:#263c57}
.xp-mail-folders{padding:15px 10px;background:#f2f4f8;border-right:1px solid #b5c0d0}.xp-mail-folders h3{font-size:13px;margin-bottom:18px}.xp-mail-folders>strong{display:block;font-size:11px;margin-bottom:12px}.xp-mail-folders>button,.mail-folder-selected{display:block;width:100%;text-align:left;padding:7px 5px;font-size:11px;border:0;background:transparent;color:#315782}.mail-folder-selected{background:#dce8fb;border:1px solid #a6bfe3}.xp-mail-folders>button:hover{background:#e5edfa}.xp-mail-card{margin-top:30px;border-top:1px solid #d0d9e5;padding-top:14px;font-size:11px}.xp-mail-card p{margin:6px 0}.xp-mail-card a{color:#2a5b9f}
.xp-mail-compose{padding:16px;min-width:0;background:white}.xp-mail-title{font-weight:bold;color:#29568f;border-bottom:1px solid #b8c9e1;padding-bottom:12px;margin-bottom:12px}
.retro-mail-form{font:12px Tahoma,sans-serif}.mail-field{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid #e0e6ee;min-width:0}.mail-field label{width:48px;flex-shrink:0;color:#63758d}.mail-field>span{overflow-wrap:anywhere;font-size:11px}.mail-field input{width:100%;min-width:0;border:1px solid #9faec3;background:#fff;padding:7px;font:12px Tahoma,sans-serif;color:#243f61}.mail-body-label{display:block;margin:16px 0 8px;color:#63758d;font-size:11px}.retro-mail-form textarea{display:block;resize:vertical;min-height:160px;width:100%;border:1px solid #a3b3c9;padding:12px;font:13px/1.6 Tahoma,sans-serif;color:#263e5c;background:#fff}.mail-send-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.mail-send-row small{font-size:10px;color:#78869b;line-height:1.5;max-width:240px}

/* Full MSN portfolio pages share the classic portal's softer blue modules. */
.explorer-portfolio .classic-main{overflow:hidden;min-height:0}.explorer-portfolio .classic-document{padding:0;overflow:auto}.explorer-portfolio .classic-doclinks{display:none}
.msn-portfolio-page{min-height:100%;color:#304a70;background:linear-gradient(#f4f8ff,white 240px);font:12px Tahoma,Verdana,sans-serif}
.portal-heading{display:flex;align-items:center;gap:18px;padding:28px 32px;background:linear-gradient(110deg,#edf5ff,#fff 65%,#edf0fb);border-bottom:1px solid #bccde5}.portal-heading>.msn-asset-icon{width:62px;height:58px}.portal-eyebrow{font-size:9px;letter-spacing:1.7px;color:#8599b7;margin-bottom:6px}.portal-heading h1{font:bold 28px Tahoma,sans-serif;letter-spacing:-1px;color:#315d9d;margin:0 0 8px}.portal-heading p{margin:0;color:#7589a5;font-size:12px;line-height:1.5}
.portal-page-body{padding:26px 30px}.portal-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.portal-project,.portal-skill-group,.portal-message{border:1px solid #aac2e3;background:white;border-radius:7px;overflow:hidden;box-shadow:0 2px 6px #345c8a0c}.portal-module-title{display:flex;align-items:center;gap:7px;background:linear-gradient(#e8f2ff,#c6d9f3);border-bottom:1px solid #aac2e3;padding:10px 14px;font-weight:bold;color:#325f9c}.portal-module-title>.msn-asset-icon{width:24px;height:24px}.portal-module-title>span{margin-left:auto;font-size:10px;font-weight:normal;color:#6b83a8}.portal-project-body{padding:24px}.portal-project-body>small{font-size:10px;color:#8495ad}.portal-project-body h2{font-size:22px;color:#315e9e;margin:12px 0}.portal-project-body p{line-height:1.8;min-height:65px}.portal-project-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:20px}.portal-project-actions>a{font-size:11px;color:#5279ad}.portal-project-actions .classic-pill{font-size:11px;padding:8px 16px;letter-spacing:0}.portal-coming-soon{border-top:1px solid #e2eaf6;padding-top:17px;margin-top:20px;color:#8b8fa4;font-size:11px}
.portal-callout{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:26px;border-top:1px solid #d5e1f2;padding:24px 0 4px}.portal-callout h2{font-size:15px;color:#4e6f9c;margin:0 0 8px}.portal-callout p{margin:0;color:#8494ac;font-size:11px}.portal-callout .classic-pill{font-size:11px;letter-spacing:0;white-space:nowrap;padding:8px 16px}
.portal-career-summary{display:flex;align-items:center;gap:30px;padding:5px 0 24px;font-size:11px;color:#8a99af}.portal-career-summary strong{display:block;font-size:16px;color:#416698;margin-bottom:6px}.portal-career-summary .social-link{margin-left:auto}.portal-position{border:1px solid #bccde5;border-radius:5px;margin-bottom:14px;background:white;overflow:hidden}.portal-position .position-toggle{display:flex;align-items:center;gap:14px;cursor:pointer;list-style:none;padding:16px;background:linear-gradient(white,#edf3fd)}.portal-position .position-toggle::-webkit-details-marker{display:none}.portal-position-number{font:24px Georgia,serif;color:#a5bbda}.portal-position .position-toggle strong{display:block;color:#3b6096;font-size:13px}.portal-position .position-toggle small{display:block;color:#8595ae;font-size:11px;margin-top:6px}.portal-position-date{margin-left:auto;font-size:10px;white-space:nowrap;color:#7e91ad}.portal-position-date b{margin-left:8px}.portal-position ul{margin:0;padding:18px 28px 18px 48px;border-top:1px solid #d7e3f3}.portal-position li{line-height:1.8;margin-bottom:9px;color:#58708f}.portal-education{padding:18px 0;color:#6b80a0}.portal-education h2{font-size:14px}.portal-education p{margin:0 0 6px}.portal-education small{font-size:11px}
.portal-skill-intro h2{font-size:18px;color:#42699e}.portal-skill-intro p{color:#7b8da8;line-height:1.7}.portal-skills-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px}.portal-skill-group h2{background:linear-gradient(#f3f7ff,#dce8f9);margin:0;padding:12px 16px;font-size:13px;border-bottom:1px solid #c1d2e9}.portal-skill-group>div{display:flex;flex-wrap:wrap;gap:8px;padding:18px}.portal-skill-group span{border:1px solid #ccdbee;background:#f4f8ff;color:#58749d;font-size:11px;padding:7px 10px;border-radius:3px}
.portal-contact-grid{display:grid;grid-template-columns:minmax(180px,30%) minmax(0,1fr);gap:28px}.portal-contact-card{padding:10px 0}.portal-contact-card>.msn-asset-icon{width:64px;height:54px;margin-bottom:20px}.portal-contact-card h2{font-size:19px;color:#456b9d}.portal-contact-card p{color:#8091ab;line-height:1.8}.portal-contact-card a{display:block;font-size:11px;color:#4e78af;margin-top:16px;overflow-wrap:anywhere}.portal-message .retro-mail-form{padding:18px}.portal-message .xp-file-action .xp-asset-icon{width:18px;height:18px;vertical-align:middle}
@media(max-width:750px){.portal-heading{padding:20px;gap:12px}.portal-heading h1{font-size:24px}.portal-page-body{padding:20px}.portal-project-grid,.portal-contact-grid{grid-template-columns:1fr}.portal-callout{align-items:flex-start;flex-direction:column}.portal-position .position-toggle{flex-wrap:wrap}.portal-position-date{margin-left:36px}.portal-career-summary{gap:16px;flex-wrap:wrap}.portal-career-summary .social-link{margin:0}.portal-position ul{padding-left:30px}}
@media(max-width:550px){.xp-mail-layout{grid-template-columns:125px minmax(0,1fr)}.xp-mail-compose{padding:10px}.xp-mail-folders{padding:12px 6px}.portal-skills-grid{grid-template-columns:1fr}.portal-heading>.msn-asset-icon{width:46px;height:44px}.portal-heading h1{font-size:22px}.mail-field{gap:6px}.mail-field label{width:42px}.portal-project-body{padding:18px}}

/* Bundled XP typography and native-size cursor artwork. */
@font-face{font-family:Tahoma;src:url('assets/Fonts/tahoma.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'XP Franklin Gothic';src:url('assets/Fonts/framdit.ttf') format('truetype');font-style:italic;font-weight:500;font-display:swap}
:root{font-synthesis:weight;cursor:url('assets/Cursor/default_arrow.png') 11 12,default}
body,.desktop,.explorer{cursor:url('assets/Cursor/default_arrow.png') 11 12,default}
button,a,summary,.classic-nav button,.classic-caption-actions button,.social-link,.classic-pill{cursor:url('assets/Cursor/default_link.png') 14 9,pointer}
input,textarea,[contenteditable="true"]{cursor:url('assets/Cursor/default_ibeam.png') 16 16,text}
.xp-titlebar{cursor:url('assets/Cursor/default_move.png') 16 16,move}
.archive-loader,.archive-loader *{cursor:url('assets/Cursor/default_wait.png') 11 12,wait}
button:disabled{cursor:url('assets/Cursor/default_arrow.png') 11 12,default}
.desktop [data-window="welcome"] .hero h1{font-family:'XP Franklin Gothic',Tahoma,sans-serif;font-weight:500;font-style:italic}
.sound-toggle{border:1px solid transparent;background:transparent;color:white;border-radius:3px;padding:3px;font-size:16px;line-height:1}
.sound-toggle:hover{border-color:#c9e6ff;background:#ffffff24}
@media(max-width:700px){.xp-titlebar{cursor:url('assets/Cursor/default_arrow.png') 11 12,default}}

/* About Me: profile card and editorial content within the MSN portal. */
.portal-about-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:30px}
.portal-about-profile{align-self:start;text-align:center;padding:24px 16px;border:1px solid #bed0ea;background:linear-gradient(white,#eaf2ff);border-radius:7px}
.portal-about-profile>img{width:92px;height:92px;border:4px solid white;box-shadow:0 0 0 1px #adc3e0;margin-bottom:18px;border-radius:5px}
.portal-about-profile h2{font-size:19px;color:#42689e;margin-bottom:8px}.portal-about-profile p{font-size:11px;margin-bottom:8px;color:#6c83a4}.portal-about-profile>span{font-size:10px;color:#8a9bb3}.portal-about-profile>a{display:block;margin-top:22px;font-size:11px;color:#537eb5}
.portal-about-story section{margin-bottom:26px}.portal-about-story h2{font-size:19px;color:#446b9d;margin-bottom:14px}.portal-about-story p{font-size:12px;line-height:1.9;color:#6d819f}.portal-about-story .social-link{margin:12px 0 0;padding:0}
.portal-retro-note{border:1px solid #ccdbef;border-radius:6px;padding:20px;background:linear-gradient(120deg,#eff6ff,#f8f5ff)}.portal-retro-note>div{display:flex;align-items:center;gap:10px}.portal-retro-note .msn-butterfly-asset{width:30px;height:30px}.portal-retro-note h2{font-size:16px;margin:0}.portal-retro-note p:last-child{margin-bottom:0}
.portal-about-footer{grid-column:1/-1;margin-top:0}
@media(max-width:650px){.portal-about-layout{grid-template-columns:1fr;gap:22px}.portal-about-profile{padding:18px}.portal-about-profile>img{width:64px;height:64px}.portal-about-story h2{font-size:18px}}

/* Keep two-line desktop labels inside a single tidy hover/selection area. */
.desktop .desktop-icons{gap:8px 12px}
.desktop .desktop-icon{height:98px;min-height:98px;flex-basis:98px;padding:6px 3px;gap:5px;line-height:1.25;justify-content:flex-start;overflow:hidden}
.desktop .desktop-icon>span{flex-shrink:0}
/* Start overlaps the taskbar's top highlight; other tasks retain a small inset. */
.desktop .taskbar>.start{margin-top:-2px;border:0;box-shadow:inset 0 2px 2px #b1ed8b88,inset -2px 0 3px #14571666}
.desktop .taskbar>.task-button{border:0;align-self:center;height:32px;background:linear-gradient(#3c8aeb,#2a77d7 45%,#276dcc);box-shadow:inset 1px 1px 2px #86bcff99,inset -1px -1px 2px #083b9588,0 1px 2px #07378c66}
.desktop .taskbar>.task-button:hover{background:linear-gradient(#559af0,#3583e2 45%,#2c75d6)}
.desktop .taskbar>.task-button.selected,.desktop .taskbar>.task-button:active{background:linear-gradient(#144b9d,#1956ac);box-shadow:inset 2px 2px 3px #062f7988,inset -1px -1px 1px #689fe366}
.portal-project-context{max-width:850px;margin:0 0 24px;color:#7488a6;font-size:12px;line-height:1.8}
@media(max-width:700px){.desktop .desktop-icon{height:88px;min-height:88px;flex-basis:88px;padding:5px 2px;font-size:10px}.desktop .desktop-icons{gap:6px}}

.resume-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 22px}.resume-actions .xp-file-action{margin:0;padding:8px 12px}

/* Image variant: remove player-image-version to restore the original CSS player. */
.classic-player.player-image-version{height:auto;background:transparent;border:0;border-radius:0;box-shadow:none}
.classic-player.player-image-version button{display:block;padding:0;height:auto;background:transparent}
.player-image-version .lavender-player-image{display:block;width:100%;height:auto}
.player-image-version .player-play,.player-image-version .player-panel{display:none}
.classic-player:not(.player-image-version) .lavender-player-image{display:none}
.player-image-version button:hover{filter:brightness(1.08)}
.player-image-version button:active{transform:translateY(1px)}

.chat-page-link{display:inline;border:0;background:transparent;padding:2px 3px;color:#275d9c;text-decoration:underline;font:11px Tahoma,sans-serif;text-align:left}
.chat-page-link:hover{color:#15396d}

/* Welcome tour's power-user tips, presented as classic help modules. */
.portal-tips-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.portal-tip{position:relative;padding:22px;border:1px solid #bccde5;border-radius:5px;background:linear-gradient(white,#f2f6fe)}
.portal-tip-number{display:block;font:22px Georgia,serif;color:#a0b8d9;margin-bottom:12px}
.portal-tip h2{font-size:15px;color:#42699f;margin:0 0 12px}
.portal-tip p{font-size:12px;line-height:1.8;color:#7387a4;margin:0}
.portal-tip .social-link{margin:14px 0 0;padding:0;text-align:left}
.portal-tip code{background:#e7eef9;padding:2px 4px;color:#41648f;border:1px solid #d5e0ef;border-radius:2px;font-size:11px}
@media(max-width:650px){.portal-tips-grid{grid-template-columns:1fr}.portal-tip{padding:18px}}

/* Pocket acr explorer: a dedicated interface, sharing portfolio content. */
#app[hidden],#mobile-app[hidden]{display:none!important}
#mobile-app{height:100%;width:100%;font-family:Tahoma,Verdana,sans-serif;color:#294d7e;background:#d9e6f7}
.pocket-shell{height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:white}
.pocket-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:calc(10px + env(safe-area-inset-top)) 16px 10px;background:radial-gradient(ellipse at 100% 100%,#dbeadb,transparent 65%),linear-gradient(#fff,#e3e7f2);border-bottom:1px solid #98b1d4}
.pocket-brand{display:flex;align-items:center;gap:8px;border:0;background:transparent;text-align:left;color:#345c93;padding:0;min-height:44px;font-size:16px}
.pocket-brand>.msn-butterfly-asset{width:38px;height:38px}.pocket-brand strong{font:bold italic 27px Arial,sans-serif;letter-spacing:-2px}.pocket-brand small{display:block;margin-top:2px;font-size:8px;letter-spacing:2px;color:#8297b4}
.pocket-header .sound-toggle{min-width:44px;min-height:44px;background:linear-gradient(white,#d5e0ef);border:1px solid #a7bad4;border-radius:50%;font-size:19px}
.pocket-address{display:flex;align-items:center;gap:6px;padding:7px 12px;background:linear-gradient(#5d8bc8,#315d9c);color:white;font-size:10px;flex-shrink:0}
.pocket-address .xp-asset-icon{width:16px;height:16px;vertical-align:middle}.pocket-online{margin-left:auto;color:#d6e6f9;font-size:9px}
.pocket-content{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;outline:none}
.pocket-nav{flex-shrink:0;display:grid;grid-template-columns:repeat(4,1fr);padding:4px 4px calc(4px + env(safe-area-inset-bottom));gap:4px;background:linear-gradient(#e9f0fc,#b9cde9);border-top:1px solid #96afd2}
.pocket-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-height:58px;border:1px solid transparent;border-radius:4px;background:transparent;color:#4a6b98;font:10px Tahoma,sans-serif}.pocket-nav button .xp-asset-icon{width:28px;height:28px}.pocket-nav button[aria-current]{background:linear-gradient(#d4e2f7,#edf3fd);border-color:#94afd4;box-shadow:inset 1px 1px 3px #5a7ba333;color:#244c86}
.pocket-home{padding:30px 20px 24px;background:radial-gradient(ellipse at 100% 0,#dfecff,transparent 55%),linear-gradient(#fff,#f3f7ff)}
.pocket-welcome-label{font-size:8px;letter-spacing:1.4px;color:#7a91b2;font-weight:bold}.pocket-home h1{font:italic 500 clamp(44px,12vw,64px)/1.1 'XP Franklin Gothic',Tahoma,sans-serif;letter-spacing:-2px;color:#244f89;margin:15px 0}.pocket-home h1 em{font-style:inherit;color:#347dc5}.pocket-home>h2{font-size:16px;color:#57759d;margin:0 0 18px}.pocket-home>p{font-size:14px;color:#607895;line-height:1.85}.pocket-status{display:flex;align-items:center;gap:7px;font-size:11px;color:#67809f;padding:12px 0 20px}.pocket-status>span{color:#60a449}
.pocket-launchers{display:grid;gap:10px}.pocket-launchers>button,.pocket-more>button,.pocket-archive-link{display:flex;align-items:center;gap:12px;text-align:left;min-height:76px;padding:12px;border:1px solid #a6bddb;border-radius:4px;background:linear-gradient(white,#f1f5fc 65%,#e0e9f7);box-shadow:inset 0 1px white,0 1px 2px #365c8c15;color:#315b94;font:13px Tahoma,sans-serif;width:100%;text-decoration:none}.pocket-launchers>button>.xp-asset-icon,.pocket-launchers>button>.msn-asset-icon,.pocket-more>button>.xp-asset-icon,.pocket-more>button>.msn-asset-icon{width:38px;height:38px;flex-shrink:0}.pocket-launchers strong,.pocket-more strong{display:block;font-size:13px}.pocket-launchers small,.pocket-more small{display:block;font-size:11px;color:#7a8fae;margin-top:5px;line-height:1.4}.pocket-launchers b,.pocket-more>button>b{margin-left:auto;font-size:24px;color:#7997bd}.pocket-resume .resume-actions{margin:22px 0 10px}.pocket-home .pocket-home-foot{font-size:10px;text-align:center;color:#91a2ba;margin:18px 0 0}
.pocket-more{padding:24px 18px}.pocket-more>h1{font-size:25px;letter-spacing:-.8px;color:#355f98;margin:0 0 12px}.pocket-more>p{font-size:13px;color:#7b8faa;line-height:1.7;margin-bottom:22px}.pocket-more>button{margin-bottom:10px}.pocket-archive-link{margin-bottom:12px;min-height:66px}.pocket-archive-link>.msn-asset-icon{width:35px;height:35px}.pocket-archive-link>span{margin-left:auto}.pocket-tip{border:1px solid #bfcee4;padding:18px;margin-bottom:14px;background:linear-gradient(white,#f0f5fe);border-radius:5px}.pocket-tip h2{font-size:15px}.pocket-tip p{font-size:13px;line-height:1.8;color:#7185a3}.pocket-tip>button{min-height:44px;color:#345f9b;font-size:12px}.pocket-tip code{background:#e3ebf8;padding:2px 4px}
/* Reflow shared content into touch-sized pages, with no window chrome. */
#mobile-app .portal-heading{padding:24px 18px;gap:12px}#mobile-app .portal-heading h1{font-size:25px}#mobile-app .portal-heading p{font-size:12px}#mobile-app .portal-heading>.msn-asset-icon{width:44px;height:44px}#mobile-app .portal-page-body{padding:20px 16px}#mobile-app .portal-project-grid,#mobile-app .portal-skills-grid,#mobile-app .portal-contact-grid,#mobile-app .portal-about-layout{grid-template-columns:1fr}
#mobile-app .portal-project-body{padding:20px}#mobile-app .portal-project-body>p{font-size:14px;line-height:1.8;min-height:0}#mobile-app .portal-project-context{font-size:13px}#mobile-app .portal-project-actions{align-items:stretch;flex-direction:column}#mobile-app .portal-project-actions a{display:flex;align-items:center;min-height:44px}#mobile-app .classic-pill{min-height:44px;padding:10px 16px;font-size:12px;letter-spacing:0}#mobile-app .portal-module-title{font-size:12px;flex-wrap:wrap}#mobile-app .portal-module-title>span{font-size:10px}
#mobile-app .portal-position .position-toggle{padding:16px 12px;min-height:76px;gap:10px}#mobile-app .portal-position .position-toggle strong{font-size:13px;line-height:1.5}#mobile-app .portal-position .position-toggle>span:nth-child(2){flex:1;min-width:0}#mobile-app .portal-position-date{margin-left:0;width:100%;padding-left:32px;white-space:normal}#mobile-app .portal-position li{font-size:13px;line-height:1.8}#mobile-app .portal-career-summary{gap:18px;flex-wrap:wrap}#mobile-app .portal-career-summary .social-link{margin:0;min-height:44px}#mobile-app .portal-callout{flex-direction:column;align-items:flex-start}
#mobile-app .portal-skill-group span{font-size:12px;padding:9px 11px}#mobile-app .portal-about-story p{font-size:14px;line-height:1.9}#mobile-app .portal-about-profile>img{width:76px;height:76px}#mobile-app .portal-about-profile>a,#mobile-app .portal-contact-card a{min-height:44px;display:flex;align-items:center;justify-content:center}#mobile-app .portal-contact-card a{justify-content:flex-start;font-size:13px}#mobile-app .portal-contact-card p{font-size:14px}#mobile-app .portal-about-story .social-link{min-height:44px;text-align:left}
#mobile-app .resume-actions{display:grid;grid-template-columns:1fr;gap:10px}#mobile-app .xp-file-action{min-height:44px;justify-content:center;font-size:12px}#mobile-app input,#mobile-app textarea{font-size:16px}#mobile-app .retro-mail-form textarea{min-height:200px}#mobile-app .mail-send-row{align-items:stretch;flex-direction:column}#mobile-app .mail-send-row small{max-width:none}#mobile-app .mail-field>span{font-size:12px}
#mobile-app .retro-social{max-width:none;margin:0;border:0;box-shadow:none;min-height:100%;display:flex;flex-direction:column}#mobile-app .social-heading{padding:20px 16px}#mobile-app .social-heading h1{font-size:24px}#mobile-app .social-note{font-size:11px;line-height:1.7;margin:12px 16px}#mobile-app .buddy-layout{grid-template-columns:1fr;min-height:0;flex:1}#mobile-app .buddy-list{border-right:0;padding:12px 16px}#mobile-app .buddy-list button{min-height:60px;gap:10px}#mobile-app .buddy-avatar-small{display:grid}#mobile-app .buddy-card{padding:24px 18px}#mobile-app .social-link{min-height:44px}#mobile-app .buddy-year{display:none}
#mobile-app .chat-layout{display:flex;flex-direction:column;flex:1;min-height:240px}#mobile-app .chat-transcript{height:clamp(220px,36dvh,400px);padding:16px;font-size:13px}#mobile-app .chat-members{display:flex;align-items:center;gap:12px;padding:8px 12px;border-left:0;border-top:1px solid #c7d8ec}#mobile-app .chat-members h2,#mobile-app .chat-members small{display:none}#mobile-app .chat-members p{margin:0;font-size:10px}#mobile-app .chat-members .social-link{margin:0 0 0 auto;font-size:10px}#mobile-app .chat-topics{padding:12px;gap:7px}#mobile-app .chat-topics button{min-height:40px;font-size:12px;padding:8px 10px}#mobile-app .chat-compose{padding:0 12px 8px}#mobile-app .chat-compose input{width:0;min-width:0;padding:12px 8px}#mobile-app .chat-compose .classic-pill{padding:8px 14px}#mobile-app .chat-page-link{min-height:36px;font-size:12px}
@media(pointer:coarse){#mobile-app,#mobile-app *{cursor:auto}}

/* Readable source HTML and no-JavaScript fallback; removed after app initialization. */
.static-portfolio{position:fixed;inset:0;z-index:1000;overflow:auto;padding:32px max(20px,calc((100vw - 800px)/2));background:#f4f8ff;color:#294d7e;font:15px/1.7 Tahoma,Arial,sans-serif}
.static-portfolio h1{font-size:32px;letter-spacing:-1px}.static-portfolio h2{font-size:22px;margin-top:30px}.static-portfolio li{margin-bottom:10px}.static-portfolio a{color:#17599e}

/* Later-MSN-style display photos, retaining names and visible source credits. */
.buddy-avatar,.buddy-avatar-small{overflow:hidden}
.buddy-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center 25%;border-radius:2px}
.buddy-avatar{width:100px;height:100px}
.buddy-photo-credit{max-width:340px;font-size:9px;line-height:1.7;color:#8293aa;margin:0 0 12px}
.buddy-photo-credit a{color:#6a83a7;text-underline-offset:2px}
#mobile-app .buddy-photo-credit a{display:inline;font-size:10px}

/* Earlier Messenger look: shared stock buddy artwork, identified by status. */
.messenger-stock-avatar{position:relative;display:inline-grid;place-items:center;width:48px;height:48px;flex-shrink:0}
.messenger-stock-avatar>img{display:block;width:100%;height:100%;object-fit:contain}
.messenger-status-badge{position:absolute;right:0;bottom:1px;display:grid;place-items:center;width:15px;height:15px;border-radius:50%;font:bold 13px/1 Arial,sans-serif;color:white}
.messenger-online .messenger-status-badge{display:none}.messenger-busy .messenger-status-badge{background:#d94132;border:1px solid #9e2d26}.messenger-away .messenger-status-badge{background:#eece58;border:1px solid #a18b35;color:#785e16}.messenger-away>img{filter:saturate(.5)}
.classic-buddy-icons .buddy-avatar,.classic-buddy-icons .buddy-avatar-small{background:none;border:0;box-shadow:none;border-radius:0;overflow:visible}
.classic-buddy-icons .buddy-avatar>.messenger-stock-avatar{width:64px;height:64px}
.classic-buddy-icons .buddy-avatar-small>.messenger-stock-avatar{width:30px;height:30px}
.classic-buddy-icons .buddy-avatar-small .messenger-status-badge{width:12px;height:12px;font-size:10px}
.classic-buddy-icons .buddy-self .messenger-stock-avatar>img{border:0;box-shadow:none}

/* The single Messenger person uses the classic green presence color. */
.messenger-stock-avatar>img{filter:none}
.messenger-away>img{filter:saturate(.55)}
.buddy-self .friendly-dog-avatar{width:48px;height:48px;object-fit:cover;border:2px solid white;box-shadow:0 0 0 1px #90accf;border-radius:3px}

/* Keep external browsing available alongside Favorites without an extra row. */
.browser-bookmarks .browser-external-link{order:1;margin-left:auto;flex-shrink:0;align-self:center;padding:5px 7px;color:#17579b;font-size:11px;white-space:nowrap;text-decoration:none;border-left:1px solid #b3c5de}
.browser-bookmarks .browser-external-link:hover{text-decoration:underline;background:#dfebfb}
.explorer-browsing .browser-bookmarks .browser-external-link{font-size:10px;padding:3px 6px}

/* IE's external link belongs with Go, independent of the wrapping Favorites. */
.browser-toolbar-external{flex-shrink:0;white-space:nowrap;color:#17579b;font-size:11px;text-decoration:none;padding:5px 7px;border-left:1px solid #b3c5de}
.browser-toolbar-external:hover{text-decoration:underline;background:#dfebfb}
.desktop .browser-bookmarks>.browser-external-link{display:none}
.desktop .browser-bookmarks{max-height:104px;overflow-y:auto;flex-shrink:0}
.desktop .browser-go{min-width:0;flex-basis:300px}
.desktop .browser-go input{width:0;min-width:65px}

/* Single-line IE Links bar with a classic chevron overflow menu. */
.browser-bookmarks,.desktop .browser-bookmarks,.explorer-browsing .browser-bookmarks{display:flex;flex-wrap:nowrap;align-items:center;gap:5px;flex-shrink:0;max-height:none;overflow:hidden;min-width:0}
.favorites-label{flex-shrink:0;font-size:11px}
.favorites-track{display:flex;flex:1;min-width:0;gap:5px;overflow:hidden;align-items:center}
.favorites-track>button{flex-shrink:0;white-space:nowrap}
.favorites-track>button[hidden],.favorites-chevron[hidden]{display:none!important}
.browser-bookmarks .favorites-chevron{flex-shrink:0;font:bold 20px/1 Arial,sans-serif;padding:2px 6px;min-width:27px;height:26px;border:1px solid #a5b8d3;border-radius:3px;background:linear-gradient(white,#d6e4f6);color:#28558a}
.browser-bookmarks .browser-external-link{order:initial;margin-left:0}
.favorites-popup{position:fixed;z-index:12000;min-width:200px;max-width:calc(100vw - 8px);overflow:auto;padding:3px;background:#f5f4ed;border:1px solid #7d8ea5;box-shadow:3px 4px 8px #17365e55;font:12px Tahoma,Verdana,sans-serif}
.favorites-popup>button{display:block;width:100%;border:0;background:transparent;text-align:left;color:#233e63;padding:8px 12px;white-space:nowrap;font:inherit}
.favorites-popup>button:hover,.favorites-popup>button:focus-visible{background:#316ac5;color:white;outline:0}

/* Explicit accordion buttons behave consistently across touch browsers. */
.position-heading{margin:0;font:inherit}
.portal-position .position-toggle{width:100%;border:0;border-radius:0;text-align:left;font:inherit;color:inherit;touch-action:manipulation}
.portal-position .position-toggle:focus-visible{outline:2px solid #2868b5;outline-offset:-3px}
.position-details[hidden]{display:none!important}
.portal-position .position-toggle[aria-expanded="true"] .portal-position-date b{display:inline-block;transform:rotate(180deg)}

/* Native touch editing must remain available inside the pocket scroll area. */
#mobile-app input,#mobile-app textarea{pointer-events:auto;user-select:text;-webkit-user-select:text;touch-action:auto}
#mobile-app button,#mobile-app a{touch-action:manipulation}
#mobile-app .pocket-content{scroll-padding-bottom:24px}
#mobile-app input:focus,#mobile-app textarea:focus{outline:2px solid #4d82c4;outline-offset:1px}
