@font-face {
    font-family: 'W95FA';
    src: url('w95fa.woff2') format('woff2'),
         url('w95fa.woff') format('woff');
  }

  * { box-sizing: border-box; margin: 0; padding: 0; user-select: none; }

  :root {
    --win-bg: #c0c0c0;
    --win-border-light: #ffffff;
    --win-border-dark: #808080;
    --win-border-darker: #404040;
    --title-active: #008080;
    --title-inactive: #808080;
    --title-text: #ffffff;
    --desktop-bg: #008080;
    --btn-face: #c0c0c0;
    --accent: #dc143c;
  }

  html, body {
    width: 100%; height: 100%;
    overflow: hidden;
    background: var(--desktop-bg);
    font-family: 'W95FA', 'MS Sans Serif', Arial, sans-serif;
    font-size: 12px;
    cursor: default;
  }

  /* Desktop pattern */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      radial-gradient(circle, rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 4px 4px;
    pointer-events: none;
    z-index: 0;
  }

  /* ===== WINDOWS ===== */
  .window {
    position: absolute;
    min-width: 200px;
    min-height: 100px;
    background: var(--win-bg);
    border-top: 2px solid var(--win-border-light);
    border-left: 2px solid var(--win-border-light);
    border-right: 2px solid var(--win-border-darker);
    border-bottom: 2px solid var(--win-border-darker);
    box-shadow: 1px 1px 0 var(--win-border-dark);
    z-index: 10;
    display: none;
  }

  .window.active { z-index: 100; }
  .window.visible { display: block; }

  .title-bar {
    background: var(--title-inactive);
    display: flex;
    align-items: center;
    padding: 2px 2px 2px 4px;
    gap: 2px;
    cursor: move;
  }

  .window.active .title-bar { background: var(--title-active); }

  .title-bar-icon {
    width: 16px; height: 16px;
    flex-shrink: 0;
    image-rendering: pixelated;
  }

  .title-text {
    flex: 1;
    color: var(--title-text);
    font-weight: bold;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 4px;
  }

  .title-buttons {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
  }

  .win-btn {
    width: 16px; height: 14px;
    background: var(--btn-face);
    border-top: 1px solid var(--win-border-light);
    border-left: 1px solid var(--win-border-light);
    border-right: 1px solid var(--win-border-darker);
    border-bottom: 1px solid var(--win-border-darker);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 9px;
    font-weight: bold;
    color: #000;
    font-family: Arial;
  }

  .win-btn:active {
    border-top: 1px solid var(--win-border-darker);
    border-left: 1px solid var(--win-border-darker);
    border-right: 1px solid var(--win-border-light);
    border-bottom: 1px solid var(--win-border-light);
    padding-top: 1px;
    padding-left: 1px;
  }

  .menu-bar {
    display: flex;
    padding: 2px 0;
    border-bottom: 1px solid var(--win-border-dark);
  }

  .menu-item {
    padding: 1px 8px;
    font-size: 12px;
    cursor: pointer;
  }
  .menu-item:hover { background: var(--title-active); color: white; }

  .window-content {
    padding: 8px;
    overflow: auto;
    font-size: 12px;
    line-height: 1.5;
    cursor: default;
    user-select: text;
  }

  /* Inset box */
  .inset {
    border-top: 1px solid var(--win-border-dark);
    border-left: 1px solid var(--win-border-dark);
    border-right: 1px solid var(--win-border-light);
    border-bottom: 1px solid var(--win-border-light);
    padding: 6px;
    background: white;
    margin-bottom: 6px;
  }

  /* Raised box */
  .raised {
    border-top: 1px solid var(--win-border-light);
    border-left: 1px solid var(--win-border-light);
    border-right: 1px solid var(--win-border-dark);
    border-bottom: 1px solid var(--win-border-dark);
    padding: 4px 8px;
    background: var(--btn-face);
    display: inline-block;
    cursor: pointer;
  }
  .raised:active {
    border-top: 1px solid var(--win-border-dark);
    border-left: 1px solid var(--win-border-dark);
    border-right: 1px solid var(--win-border-light);
    border-bottom: 1px solid var(--win-border-light);
    padding: 5px 7px 3px 9px;
  }

  .separator {
    border: none;
    border-top: 1px solid var(--win-border-dark);
    border-bottom: 1px solid var(--win-border-light);
    margin: 4px 0;
  }

  /* Status bar */
  .status-bar {
    border-top: 1px solid var(--win-border-dark);
    padding: 2px 4px;
    font-size: 12px;
    display: flex;
    gap: 4px;
  }

  .status-panel {
    border-top: 1px solid var(--win-border-dark);
    border-left: 1px solid var(--win-border-dark);
    border-right: 1px solid var(--win-border-light);
    border-bottom: 1px solid var(--win-border-light);
    padding: 1px 6px;
    flex: 1;
  }



  /* Profile photo placeholder */
  .profile-photo {
    width: 80px; height: 80px;
    background: #808080;
    border-top: 1px solid var(--win-border-dark);
    border-left: 1px solid var(--win-border-dark);
    border-right: 1px solid var(--win-border-light);
    border-bottom: 1px solid var(--win-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    float: left;
    margin: 0 10px 6px 0;
  }

  /* Skills list */
  .skill-bar-wrap { margin: 3px 0; }
  .skill-label { font-size: 12px; margin-bottom: 1px; }
  .skill-subtext {
    height: 14px;
    width: 100%;
    padding-left: 10px;
  }
  .skill-fill {
    height: 100%;
    background: var(--title-active);
    display: flex;
    align-items: center;
    padding-left: 4px;
    color: white;
    font-size: 10px;
  }
  .skill-button {
    cursor:default;
  }

  /* Contact links */
  .contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    color: #000;
    text-decoration: none;
    font-size: 12px;
  }
  .contact-link:hover { background: var(--title-active); color: #fff; }

  /* Desktop icons */
  #desktop-icons {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 68px;
    padding: 4px 2px;
    cursor: pointer;
    text-align: center;
  }

  .desktop-icon svg {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    filter: drop-shadow(1px 1px 0 rgba(0,0,0,0.4));
    margin-bottom: 3px;
  }

  .desktop-icon span {
    font-size: 11px;
    color: #fff;
    text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000;
    line-height: 1.3;
    word-break: break-word;
    padding: 1px 2px;
  }

  .desktop-icon:hover span,
  .desktop-icon:focus span {
    background: #000080;
    text-shadow: none;
    outline: 1px dotted #fff;
  }