:root {
        --lav: #f3e8ff;
        --violet: #5e00a8;
        --soft: #c9a8ff;
        --white: #fffafc;
        --winbar: linear-gradient(180deg, #f8f4ff, #d8caff);
      }
      body {
        margin: 0;
        font-family: "Lucida Console", "Courier New", monospace;
        background: radial-gradient(
          circle at top left,
          #f8eaff 0%,
          #dbcaff 50%,
          #fff5ff 100%
        );
        color: var(--violet);
        overflow: hidden;
        height: 100vh;
      }

      /* --- Desktop --- */
      .desktop {
        position: absolute;
        inset: 0;
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        padding: 20px;
        gap: 25px;
        background-image:url();
        background-repeat: no-repeat;
        visibility: hidden;
      }
      
      .icon {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 80px;
        text-align: center;
        color: #3b007a;
        cursor: pointer;
        text-shadow: 1px 1px 0 #fff;
      }
      .icon img {
        width: 48px;
        height: 48px;
        margin-bottom: 4px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.7);
        padding: 4px;
        box-shadow: 0 0 4px rgba(120, 0, 255, 0.3);
        transition: transform 0.1s ease;
      }
      .icon:hover img {
        transform: scale(1.1);
      }

      /* --- Taskbar --- */
      .taskbar {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 38px;
        background: var(--winbar);
        border-top: 1px solid #bca7ff;
        display: flex;
        align-items: center;
        padding: 0 10px;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
        z-index: 9999;
      }
      .start {
        background: linear-gradient(180deg, #fff7ff, #d6c3ff);
        border: 1px solid #b9a5f8;
        padding: 4px 12px;
        border-radius: 4px;
        margin-right: 10px;
        font-weight: bold;
        box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
        cursor: pointer;
        user-select: none;
      }
      .task-buttons {
        display: flex;
        gap: 6px;
        overflow-x: auto;
      }
      .task-button {
        background: linear-gradient(180deg, #fefbff, #e5dbff);
        border: 1px solid #c1aaff;
        padding: 2px 4px;
        border-radius: 5px;
        cursor: pointer;
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .task-button img {
        width: 22px;
        height: 22px;
        image-rendering: pixelated;
      }
      .task-button.active {
        background: #d2bbff;
      }

      /* --- Start Menu --- */
      .start-menu {
        position: absolute;
        bottom: 38px;
        left: 10px;
        background: #f9f5ff;
        border: 2px ridge #c9a8ff;
        box-shadow: 0 0 12px rgba(90, 0, 150, 0.3);
        border-radius: 8px;
        width: 160px;
        display: none;
        padding: 10px;
        z-index: 10000;
      }
      .start-menu h4 {
        margin-top: 0;
        color: #5e00a8;
        font-size: 13px;
        text-align: center;
      }
      .start-menu div {
        margin: 4px 0;
        cursor: pointer;
        padding: 3px;
        border-radius: 4px;
      }
      .start-menu div:hover {
        background: #e5d7ff;
      }

      /* --- Window --- */
      .window {
        position: absolute;
        background: var(--white);
        border: 2px ridge var(--soft);
        border-radius: 8px;
        box-shadow: 0 0 16px rgba(140, 100, 255, 0.4);
        width: 420px;
        height: 260px;
        display: none;
        resize: both;
        overflow: hidden;
      }
      .titlebar {
        background: linear-gradient(90deg, #e8d4ff, #f4e8ff);
        padding: 6px;
        border-bottom: 1px solid #c9b2ff;
        font-weight: bold;
        font-size: 13px;
        color: var(--violet);
        cursor: move;
        display: flex;
        justify-content: space-between;
        align-items: center;
        user-select: none;
      }
      .titlebar .buttons {
        display: flex;
        gap: 4px;
      }
      .btn {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        cursor: pointer;
      }
      .btn.close {
        background: #ff6a8a;
      }
      .btn.min {
        background: #ffd36b;
      }
      .btn.max {
        background: #a3ff6a;
      }
      .content {
        padding: 8px;
        height: calc(100% - 28px);
        overflow-y: auto;
        font-size: 13px;
        color: var(--violet);
      }

      /* --- Terminal --- */
      #terminal {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 520px;
        height: 300px;
        display: block;
      }
      .blink {
        animation: blink 1s step-start infinite;
      }
      @keyframes blink {
        50% {
          opacity: 0;
        }
      }