  :root {
    --xp-blue-dark: #0a246a;
    --xp-blue-mid: #245edb;
    --xp-blue-light: #3b80f7;
    --xp-taskbar: linear-gradient(180deg, #3168d5 0%, #4993e6 7%, #2663d9 18%, #1e52c2 86%, #173e99 95%, #12317d 100%);
    --xp-start: linear-gradient(180deg, #4cb849 0%, #64cf61 12%, #3ca039 50%, #2f8b2c 88%, #226b20 100%);
    --xp-win-bg: #ece9d8;
    --xp-border: #0054e3;
    --xp-border-inactive: #7a96df;
    --neon-pink: #ff4d94;
    --neon-cyan: #38bdf8;
    --neon-gold: #fde047;
    --qzone-bg: #110a18;
  }

  * { box-sizing: border-box; }

  html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: "Tahoma", "Microsoft YaHei", "PingFang SC", "SimSun", sans-serif;
    font-size: 13px;
    user-select: none;
    background: #0b0d12;
    color: #1f2937;
    -webkit-font-smoothing: antialiased;
  }

  /* Custom XP-style thin scrollbars */
  ::-webkit-scrollbar { width: 12px; height: 12px; }
  ::-webkit-scrollbar-track { background: #f1efe2; border-left: 1px solid #d4d0c8; }
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #d7e4fb, #b7cef7, #9dbdf4);
    border: 1px solid #7f9db9;
    border-radius: 2px;
  }
  ::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, #c2d7fa, #98b9f5); }

  /* ==================== BOOT / LANDING SCREEN ==================== */
  #boot-screen {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #07090e;
    color: #f3f4f6;
    padding: 20px;
    overflow-y: auto;
    transition: opacity 0.65s ease, visibility 0.65s ease;
  }

  #boot-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .boot-bg {
    position: absolute;
    inset: 0;
    background-image: url("../assets/images/vintage_boot_2008.jpg");
    background-size: cover;
    background-position: center;
    filter: brightness(0.5) sepia(0.14) contrast(1.04);
    transform: scale(1.01);
  }

  .boot-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(16, 14, 10, 0.15) 28%, rgba(8, 7, 5, 0.78) 100%);
    pointer-events: none;
    z-index: 1;
  }

  .boot-xp-window {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 650px;
    background: #ece9d8;
    border: 3px solid #0054e3;
    border-top-width: 2px;
    border-radius: 8px 8px 3px 3px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.65);
    color: #111827;
    overflow: hidden;
  }

  .boot-xp-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px 6px 10px;
    background: linear-gradient(180deg, #4b9eff 0%, #156cf0 12%, #0054e3 48%, #0046c7 86%, #003399 100%);
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  }

  .boot-xp-banner {
    background: linear-gradient(90deg, #1b4b9c 0%, #2b67c9 62%, #4a8ae6 100%);
    color: #fff;
    padding: 16px 20px;
    border-bottom: 2px solid #d97706;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
  }

  .boot-title {
    font-size: clamp(24px, 3.6vw, 32px);
    font-weight: 800;
    margin: 0;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
  }

  .boot-sub {
    color: #dbeafe;
    font-size: 12px;
    margin: 4px 0 0;
    font-family: "SimSun", "Microsoft YaHei", sans-serif;
  }

  .boot-xp-body {
    padding: 14px 18px 16px;
    background: #ece9d8;
  }

  .boot-mail-table {
    width: 100%;
    border-collapse: collapse;
    background: #f6f4ec;
    border: 1px solid #aca899;
    font-family: "SimSun", "Microsoft YaHei", sans-serif;
    font-size: 12px;
    margin-bottom: 10px;
  }

  .boot-mail-table td {
    padding: 5px 10px;
    border-bottom: 1px solid #dcd8c8;
    color: #1f2937;
  }

  .boot-mail-table td.lbl {
    width: 78px;
    color: #4b5563;
    background: #ebe7d8;
    font-weight: 700;
    border-right: 1px solid #dcd8c8;
  }

  .boot-mail-paper {
    background: #ffffff;
    border: 2px inset #aca899;
    padding: 14px 16px;
    font-size: 13.5px;
    line-height: 1.85;
    color: #111827;
    margin-bottom: 14px;
    font-family: "SimSun", "Microsoft YaHei", sans-serif;
  }

  .boot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
  }

  .boot-actions-left {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }

  .btn-primary-boot {
    background: linear-gradient(180deg, #ffffff 0%, #eef4fc 48%, #d4e4fa 92%, #b9d1f5 100%);
    color: #0a246a;
    border: 1px solid #003c74;
    box-shadow: inset 0 0 0 1px #69a8f7;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 3px;
    cursor: pointer;
    font-family: inherit;
  }

  .btn-primary-boot:hover { filter: brightness(1.04); border-color: #0054e3; }
  .btn-primary-boot:active { transform: translateY(1px); }

  .btn-secondary-boot {
    background: linear-gradient(180deg, #ffffff 0%, #f4f2ea 60%, #e3dfd2 90%, #d4cfc0 100%);
    color: #111827;
    border: 1px solid #7f9db9;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    font-family: inherit;
  }

  .btn-secondary-boot:hover { border-color: #0054e3; background: linear-gradient(180deg, #fff, #e8f1fc); }

  .btn-ghost-boot {
    background: transparent;
    color: #991b1b;
    border: 1px solid #b91c1c;
    padding: 6px 11px;
    font-size: 12px;
    border-radius: 3px;
    cursor: pointer;
    font-family: inherit;
  }

  .btn-ghost-boot:hover { background: #fee2e2; }

  .boot-xp-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 12px;
    background: #ece9d8;
    border-top: 1px solid #cbc6b5;
    font-family: "SimSun", Consolas, monospace;
    font-size: 11.5px;
    color: #374151;
  }

  /* ==================== WINDOWS XP DESKTOP (REAL BLISS PHOTO) ==================== */
  #desktop {
    position: relative;
    width: 100%;
    height: calc(100% - 38px);
    background-image: url("../assets/images/xp_bliss_2008.jpg");
    background-size: cover;
    background-position: center;
    overflow: hidden;
  }

  /* Atmospheric tint: subtle cool rainy-night cast -> warm golden sunrise in Dawn Mode */
  #desktop::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 22, 48, 0.28) 0%, rgba(15, 23, 42, 0.14) 55%, rgba(6, 18, 28, 0.24) 100%);
    pointer-events: none;
    transition: background 2s ease;
    z-index: 1;
  }

  /* Soft monitor edge vignette (clean, no horizontal scanline stripes) */
  #desktop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 68%, rgba(0, 10, 24, 0.22) 100%);
    pointer-events: none;
    z-index: 4500;
  }

  #desktop.dawn-mode::before {
    background: radial-gradient(ellipse at 72% 20%, rgba(254, 240, 138, 0.42) 0%, rgba(251, 146, 60, 0.22) 42%, rgba(190, 24, 93, 0.12) 100%);
  }

  /* Rain / Dawn Sun-Motes Canvas */
  #fx-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
  }

  .desktop-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(auto-fill, 82px);
    grid-auto-columns: 88px;
    gap: 6px 6px;
    padding: 12px 10px;
    align-content: start;
    height: calc(100% - 8px);
    width: max-content;
  }

  .desk-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 6px 4px 4px;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    background: transparent;
    color: #fff;
    transition: background 0.12s, border-color 0.12s, transform 0.12s;
  }

  .desk-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
  }

  .desk-icon:active {
    background: rgba(36, 94, 219, 0.48);
    border-color: rgba(147, 197, 253, 0.85);
    transform: scale(0.97);
  }

  .desk-ico-img {
    width: 36px;
    height: 36px;
    margin-bottom: 4px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    flex-shrink: 0;
    pointer-events: none;
  }

  .blog-list-bar {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
  }

  .blog-list-btn {
    background: #1e122b;
    color: #d8b4fe;
    border: 1px solid #6b21a8;
    padding: 4px 9px;
    font-size: 11.5px;
    cursor: pointer;
    font-family: "SimSun", "Microsoft YaHei", sans-serif;
  }

  .blog-list-btn.active {
    background: #4c1d95;
    color: #fef08a;
    border-color: #f472b6;
    font-weight: 700;
  }

  .tieba-list-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #ffffff;
    border-bottom: 1px dashed #cbd5e1;
    cursor: pointer;
    font-size: 12.5px;
  }

  .tieba-list-row:hover { background: #eff6ff; color: #1d4ed8; }

  .vm-transcript-line {
    padding: 6px 10px;
    border-left: 3px solid #cbd5e1;
    margin-bottom: 6px;
    background: #f8fafc;
    font-size: 12.5px;
    line-height: 1.7;
    color: #334155;
    transition: background 0.3s, border-color 0.3s;
  }
  .vm-transcript-line.active {
    background: #fefce8;
    border-left-color: #d97706;
    color: #1c1917;
    font-weight: 700;
  }

  .tl-row {
    display: grid;
    grid-template-columns: 76px 1fr 24px;
    gap: 8px;
    align-items: center;
    padding: 7px 8px;
    border-bottom: 1px dashed #cbd5e1;
    background: #fff;
    transition: background 0.2s, border-color 0.2s;
  }
  .tl-row.tl-ok { background: #ecfdf5; border-left: 3px solid #10b981; }
  .tl-row.tl-err { background: #fef2f2; border-left: 3px solid #ef4444; }
  .tl-mark { text-align: center; font-size: 13px; font-weight: 800; }
  @keyframes qqShake {
    0%, 100% { transform: translate(0, 0); }
    15% { transform: translate(-7px, -4px); }
    30% { transform: translate(7px, 4px); }
    45% { transform: translate(-6px, 5px); }
    60% { transform: translate(6px, -4px); }
    75% { transform: translate(-4px, 3px); }
  }
  .xp-win.shaking { animation: qqShake 0.42s ease-in-out; }

  #xp-ctx-menu {
    position: fixed;
    z-index: 9200;
    min-width: 158px;
    background: #ffffff;
    border: 1px solid #aca899;
    box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.35);
    padding: 3px 0;
    display: none;
    font-family: "SimSun", "Microsoft YaHei", sans-serif;
    font-size: 12px;
  }
  #xp-ctx-menu.open { display: block; }
  .ctx-item {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 5px 16px;
    cursor: pointer;
    color: #111827;
    font-family: inherit;
    font-size: 12px;
  }
  .ctx-item:hover { background: #316ac5; color: #ffffff; }
  .ctx-sep { height: 1px; background: #d4d0c8; margin: 3px 6px; }

  #bsod-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0000aa;
    color: #ffffff;
    font-family: Consolas, "Courier New", monospace;
    padding: 48px 56px;
    font-size: 15px;
    line-height: 1.75;
    display: none;
    cursor: pointer;
  }
  #bsod-overlay.show { display: block; }

  .tl-time {
    font-family: Consolas, monospace;
    font-weight: 800;
    color: #0a246a;
    background: #e8f1fc;
    border: 1px solid #93c5fd;
    text-align: center;
    padding: 3px 4px;
    font-size: 12px;
  }

  .desk-label {
    font-size: 11.5px;
    line-height: 1.25;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 5px rgba(0, 0, 0, 0.85);
    word-break: break-all;
  }

  .desk-badge {
    position: absolute;
    top: 3px;
    right: 12px;
    background: linear-gradient(180deg, #f87171, #dc2626);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 999px;
    border: 1px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
  }

  .desk-lock-tag {
    position: absolute;
    top: 26px;
    right: 18px;
    font-size: 11px;
    background: rgba(15, 23, 42, 0.82);
    border-radius: 50%;
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
  }

  /* ==================== OBJECTIVE MEMO (AUTHENTIC XP BALLOON / STICKY) ==================== */
  #objective-bar {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 40;
    width: 312px;
    max-width: calc(100vw - 24px);
    background: #ffffe1;
    color: #1f2937;
    border: 1px solid #7f7f70;
    border-radius: 4px;
    padding: 9px 11px;
    box-shadow: 3px 4px 10px rgba(0, 0, 0, 0.34);
    font-family: "SimSun", "Microsoft YaHei", sans-serif;
  }

  .obj-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #0a246a;
    margin-bottom: 6px;
    font-weight: 700;
    border-bottom: 1px solid #e5dfba;
    padding-bottom: 4px;
  }

  .obj-progress-wrap {
    height: 7px;
    background: #fff;
    border: 1px inset #9ca3af;
    overflow: hidden;
    margin-bottom: 6px;
  }

  .obj-progress-fill {
    height: 100%;
    width: 0%;
    background: repeating-linear-gradient(90deg, #2b8a3e 0px, #2b8a3e 7px, #40c057 7px, #40c057 9px);
    transition: width 0.45s ease;
  }

  #obj-text {
    font-size: 12px;
    line-height: 1.6;
    color: #292524;
  }

  .obj-hint-btn {
    background: linear-gradient(180deg, #fff, #ebe7d8);
    color: #1f2937;
    border: 1px solid #8c8875;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 2px;
    cursor: pointer;
    font-family: inherit;
  }

  .obj-hint-btn:hover { border-color: #0054e3; background: #e8f1fc; }

  /* ==================== WINDOWS XP LUNA CHROME ==================== */
  .xp-win {
    position: absolute;
    display: none;
    flex-direction: column;
    background: var(--xp-win-bg);
    border: 3px solid var(--xp-border);
    border-top-width: 2px;
    border-radius: 8px 8px 4px 4px;
    box-shadow:
      0 20px 48px rgba(0, 0, 0, 0.52),
      0 4px 12px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.65),
      inset 0 0 0 1px rgba(0, 38, 130, 0.45);
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 54px);
    overflow: hidden;
    animation: winPop 0.16s ease-out;
  }

  @keyframes winPop {
    from { opacity: 0.7; transform: scale(0.975); }
    to { opacity: 1; transform: scale(1); }
  }

  .xp-win.open { display: flex; }

  .xp-win.inactive {
    border-color: var(--xp-border-inactive);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  }

  .xp-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 7px 5px 9px;
    background: linear-gradient(180deg, #4b9eff 0%, #156cf0 12%, #0054e3 48%, #0046c7 86%, #003399 100%);
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    cursor: move;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
  }

  .xp-win.inactive .xp-titlebar {
    background: linear-gradient(180deg, #a6bef5 0%, #7f9be2 18%, #6d89d5 85%, #5b77c7 100%);
    color: #e2e8f0;
  }

  .xp-title-left {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .xp-win-btns { display: flex; gap: 3px; flex-shrink: 0; }

  .xp-btn-close, .xp-btn-min {
    width: 21px;
    height: 21px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  }

  .xp-btn-min { background: linear-gradient(180deg, #539dfa 0%, #2366d1 55%, #164eb2 100%); }
  .xp-btn-close { background: linear-gradient(180deg, #f8806d 0%, #e0422e 55%, #b82311 100%); }
  .xp-btn-min:hover, .xp-btn-close:hover { filter: brightness(1.14); }
  .xp-btn-min:active, .xp-btn-close:active { filter: brightness(0.92); transform: translateY(1px); }

  .xp-menubar {
    display: flex;
    gap: 12px;
    padding: 3px 10px;
    background: #ece9d8;
    border-bottom: 1px solid #d2cebe;
    font-family: "SimSun", "Tahoma", sans-serif;
    font-size: 12px;
    color: #1f2937;
    flex-shrink: 0;
  }

  .xp-file-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: #ffffff;
    border: 2px inset #aca899;
    padding: 10px;
    margin-bottom: 10px;
  }

  .xp-file-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 6px;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    background: transparent;
    font-family: "SimSun", "Microsoft YaHei", sans-serif;
    font-size: 11.5px;
    color: #111827;
  }

  .xp-file-item:hover { background: #e8f2fe; border-color: #7da2ce; }
  .xp-file-item.active { background: #316ac5; color: #ffffff; border-color: #1e40af; }
  .xp-file-tag { font-size: 10px; margin-top: 3px; opacity: 0.8; }

  .typing-indicator {
    font-size: 11.5px;
    color: #6b7280;
    font-style: italic;
    padding: 4px 8px;
  }

  .xp-menubar span { padding: 1px 3px; border-radius: 2px; }
  .xp-menubar span:hover { background: #316ac5; color: #fff; }

  .xp-body {
    padding: 12px;
    overflow-y: auto;
    flex: 1;
    user-select: text;
    background: var(--xp-win-bg);
  }

  .xp-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 10px;
    background: #ece9d8;
    border-top: 1px solid #cbc6b5;
    font-size: 11px;
    color: #4b5563;
    flex-shrink: 0;
  }

  /* Classic XP Buttons & Inputs */
  .xp-btn {
    background: linear-gradient(180deg, #ffffff 0%, #f4f2ea 60%, #e3dfd2 90%, #d4cfc0 100%);
    border: 1px solid #7f9db9;
    border-radius: 3px;
    padding: 5px 12px;
    font-size: 12.5px;
    color: #111827;
    cursor: pointer;
    font-family: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: filter 0.12s, border-color 0.12s;
  }

  .xp-btn:hover {
    border-color: #0054e3;
    background: linear-gradient(180deg, #ffffff 0%, #e8f1fc 85%, #d6e6fa 100%);
  }

  .xp-btn:active { transform: translateY(1px); }

  .xp-btn.accent {
    background: linear-gradient(180deg, #fff8e6 0%, #f5e2b8 55%, #e6c687 100%);
    color: #5c2d00;
    border-color: #9a6700;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px #fde68a;
  }

  .xp-btn.blue {
    background: linear-gradient(180deg, #ffffff 0%, #e8f1fc 52%, #cfe0f9 100%);
    color: #0a246a;
    border-color: #003c74;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px #69a8f7;
  }

  .xp-input, .xp-textarea, .xp-select {
    border: 1px solid #7f9db9;
    background: #fff;
    padding: 6px 8px;
    font-size: 13px;
    font-family: inherit;
    color: #111827;
    border-radius: 2px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
  }

  .xp-input:focus, .xp-textarea:focus, .xp-select:focus {
    outline: none;
    border-color: #0054e3;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
  }

  /* ==================== APP 1: STICKY NOTE ==================== */
  .sticky-paper {
    position: relative;
    background: repeating-linear-gradient(180deg, #fffde0 0px, #fffde0 25px, #f2e59d 26px);
    border: 1px solid #e2ce65;
    padding: 16px 16px 14px;
    line-height: 26px;
    font-size: 13.5px;
    color: #292524;
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.12);
  }

  .mars-code {
    background: rgba(254, 240, 138, 0.82);
    padding: 8px 12px;
    border: 1px dashed #b45309;
    font-size: 14.5px;
    font-weight: 800;
    margin: 8px 0;
    word-break: break-all;
    color: #7c2d12;
  }

  /* ==================== APP 4: QZONE 2008 ==================== */
  .qzone-shell {
    position: relative;
    background: #100914;
    color: #e9d5ff;
    padding: 12px;
    border: 1px solid #581c87;
    min-height: 380px;
    overflow: hidden;
    font-family: "SimSun", "Microsoft YaHei", sans-serif;
    transition: background 0.35s, border-color 0.35s;
  }
  .qzone-shell.skin-blue { background: #0a1930; border-color: #2563eb; color: #dbeafe; }
  .qzone-shell.skin-blue .qz-topbar { background: linear-gradient(180deg, #16335e, #0b1b36); border-bottom-color: #2563eb; color: #93c5fd; }
  .qzone-shell.skin-blue .qz-banner-2008 { border-color: #38bdf8; box-shadow: inset 0 0 60px rgba(2, 132, 199, 0.45); }
  .qzone-shell.skin-blue .qz-side-mod { background: rgba(11, 27, 54, 0.94); border-color: #2563eb; }
  .qzone-shell.skin-blue .qz-mod-title { background: linear-gradient(180deg, #1d4ed8, #1e3a8a); border-bottom-color: #38bdf8; color: #e0f2fe; }
  .qzone-shell.skin-blue .qzone-marquee-wrap { border-color: #38bdf8; color: #7dd3fc; }

  .qzone-shell.skin-pink { background: #2b0c1e; border-color: #ec4899; color: #fce7f3; }
  .qzone-shell.skin-pink .qz-topbar { background: linear-gradient(180deg, #5c163d, #2e0a1e); border-bottom-color: #ec4899; color: #fbcfe8; }
  .qzone-shell.skin-pink .qz-banner-2008 { border-color: #f472b6; box-shadow: inset 0 0 60px rgba(219, 39, 119, 0.48); }
  .qzone-shell.skin-pink .qz-side-mod { background: rgba(46, 10, 30, 0.94); border-color: #db2777; }
  .qzone-shell.skin-pink .qz-mod-title { background: linear-gradient(180deg, #be185d, #831843); border-bottom-color: #f472b6; color: #fce7f3; }
  .qzone-shell.skin-pink .qzone-marquee-wrap { border-color: #f472b6; color: #fbcfe8; }

  .flower-stage {
    background: #1b1026;
    border: 1px dashed #a855f7;
    padding: 14px;
    text-align: center;
    margin-bottom: 10px;
  }
  .flower-stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 12px 0;
  }
  .flower-stat {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 6px 4px;
    font-size: 11.5px;
  }

  #qpet-widget {
    position: absolute;
    right: 22px;
    bottom: 16px;
    z-index: 35;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: auto;
  }
  #qpet-bubble {
    background: #ffffe1;
    color: #111827;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 5px 9px;
    font-family: "SimSun", "Microsoft YaHei", sans-serif;
    font-size: 11.5px;
    max-width: 210px;
    margin-bottom: 5px;
    box-shadow: 2px 3px 6px rgba(0,0,0,0.3);
    display: none;
    line-height: 1.45;
  }
  #qpet-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.16s;
  }
  #qpet-btn:hover { transform: translateY(-3px); }
  #qpet-btn.hop { transform: translateY(-10px); }

  #qzone-snow-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
  }
  #qzone-snow-layer.snow-off { display: none; }

  .snow-flake {
    position: absolute;
    top: -18px;
    color: rgba(255, 214, 240, 0.8);
    text-shadow: 0 0 6px rgba(255, 77, 148, 0.9);
    animation: qzoneFall linear infinite;
    user-select: none;
  }

  @keyframes qzoneFall {
    0% { transform: translateY(-10px) translateX(0) rotate(0deg); opacity: 0; }
    12% { opacity: 0.9; }
    88% { opacity: 0.85; }
    100% { transform: translateY(460px) translateX(28px) rotate(220deg); opacity: 0; }
  }

  @keyframes neonPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 77, 148, 0.45), inset 0 0 12px rgba(192, 132, 252, 0.25); }
    50% { box-shadow: 0 0 22px rgba(56, 189, 248, 0.6), inset 0 0 18px rgba(255, 77, 148, 0.35); }
  }

  @keyframes marqueeScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-115%); }
  }

  @keyframes gifBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.72; transform: scale(1.07); }
  }

  .qzone-header {
    position: relative;
    z-index: 3;
    background: linear-gradient(110deg, #2e1065 0%, #701a75 50%, #1e1b4b 100%);
    padding: 13px 15px;
    border: 1px solid #f472b6;
    border-radius: 4px;
    margin-bottom: 10px;
    animation: neonPulse 3.6s ease-in-out infinite;
  }

  .hz-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: linear-gradient(180deg, #fef08a, #eab308);
    color: #422006;
    font-size: 10.5px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 3px;
    border: 1px solid #fef9c3;
    vertical-align: middle;
  }

  .qzone-stats {
    font-size: 11px;
    color: #c4b5fd;
    margin-top: 6px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-family: Consolas, "Microsoft YaHei", monospace;
  }

  .qzone-marquee-wrap {
    position: relative;
    z-index: 3;
    overflow: hidden;
    background: rgba(15, 7, 26, 0.86);
    border: 1px dashed #a855f7;
    padding: 4px 0;
    margin-bottom: 10px;
    font-size: 11.5px;
    color: #fde047;
    white-space: nowrap;
  }

  .qzone-marquee-text {
    display: inline-block;
    animation: marqueeScroll 18s linear infinite;
  }

  .qzone-body-inner { position: relative; z-index: 3; }

  .qzone-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    border-bottom: 1px solid #4c1d95;
    padding-bottom: 8px;
  }

  .qzone-tab {
    background: #231336;
    color: #d8b4fe;
    border: 1px solid #6b21a8;
    padding: 5px 13px;
    font-size: 12.5px;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.15s;
  }

  .qzone-tab:hover { background: #3b1c60; }
  .qzone-tab.active {
    background: linear-gradient(180deg, #ff63a4, #db2777);
    color: #fff;
    border-color: #fbcfe8;
    font-weight: 700;
  }

  .blog-paper {
    background: #ffffff;
    color: #1f2937;
    padding: 16px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    line-height: 1.85;
    font-size: 13.5px;
  }

  .secret-white-box {
    margin-top: 26px;
    margin-bottom: 22px;
    padding: 14px 10px;
    background: #ffffff;
    color: #ffffff;
    border: none;
    user-select: text;
    cursor: text;
    transition: background 0.3s, color 0.3s;
  }

  .secret-white-box::selection { background: #2563eb; color: #ffffff; }
  .secret-white-box.revealed {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px dashed #3b82f6;
    font-weight: 700;
  }

  /* ==================== STICKER PHOTOS (大头贴) ==================== */
  .sticker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 10px;
    margin-top: 10px;
  }

  .sticker-card {
    background: linear-gradient(180deg, #27173a, #190e26);
    border: 2px solid #a855f7;
    border-radius: 4px;
    padding: 7px;
    text-align: center;
    position: relative;
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  }

  .sticker-card:hover { transform: translateY(-2px); border-color: #f472b6; }
  .sticker-card.selected-sort {
    border-color: #38bdf8;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.65);
  }

  .sticker-art {
    height: 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 6px;
    border: 3px solid #fdf4ff;
    box-shadow: inset 0 0 18px rgba(255, 77, 148, 0.35);
  }

  .sticker-photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .flt-dreamy { filter: brightness(1.15) contrast(1.06) saturate(1.38) sepia(0.1); }
  .flt-abao   { filter: brightness(1.2) contrast(1.04) saturate(1.25) hue-rotate(-12deg); }
  .flt-lomo   { filter: contrast(1.28) saturate(1.42) brightness(0.94) sepia(0.2); }
  .flt-goth   { filter: contrast(1.35) brightness(0.84) saturate(0.75) hue-rotate(14deg); }
  .flt-film   { filter: sepia(0.38) contrast(1.14) brightness(1.05) saturate(1.15); }
  .flt-bw     { filter: grayscale(1) contrast(1.28) brightness(1.02); }

  .sticker-lace {
    position: absolute;
    inset: 3px;
    border: 1.5px dotted rgba(255, 255, 255, 0.85);
    pointer-events: none;
    z-index: 1;
  }

  .sticker-caption {
    position: relative;
    z-index: 2;
    background: rgba(15, 7, 26, 0.78);
    padding: 2px 6px;
    border-radius: 2px;
    text-shadow: 0 1px 2px #000;
  }

  .sticker-led-date {
    position: absolute;
    top: 4px;
    left: 5px;
    z-index: 2;
    font-family: Consolas, monospace;
    font-size: 10px;
    font-weight: 700;
    color: #fb923c;
    text-shadow: 0 0 5px rgba(251, 146, 60, 0.9), 0 1px 1px #000;
    background: rgba(0, 0, 0, 0.52);
    padding: 0 4px;
    border-radius: 2px;
  }

  .gif-spark {
    position: absolute;
    bottom: 4px;
    right: 5px;
    z-index: 3;
    background: rgba(15, 7, 26, 0.88);
    color: #fde047;
    padding: 1px 5px;
    font-family: Consolas, monospace;
    font-size: 11.5px;
    font-weight: 800;
    border: 1px solid #facc15;
    animation: gifBlink 1.3s ease-in-out infinite;
    transition: opacity 0.25s, filter 0.25s, border-color 0.25s;
  }
  .gif-spark.dim {
    opacity: 0.34;
    color: #c4b5fd;
    border-color: rgba(196, 181, 253, 0.4);
    animation: none;
  }

  .sort-order-pill {
    position: absolute;
    top: 4px;
    right: 5px;
    z-index: 4;
    background: #0284c7;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.45);
  }

  /* ==================== APP 5: TTPLAYER v5.2 (千千静听经典银黑皮肤) ==================== */
  .tt-shell {
    background: linear-gradient(180deg, #d8dde6 0%, #bcc5d4 16%, #2a313d 17%, #1a2029 100%);
    color: #e4e4e7;
    padding: 10px 12px 12px;
    border: 1px solid #525f73;
  }
  .tt-brand-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1e293b;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
    font-family: Tahoma, "SimSun", sans-serif;
  }
  .tt-trans-btns {
    display: flex;
    gap: 4px;
    align-items: center;
  }
  .tt-circle-btn {
    width: 24px;
    height: 22px;
    border-radius: 3px;
    border: 1px solid #64748b;
    background: linear-gradient(180deg, #f8fafc 0%, #cbd5e1 55%, #94a3b8 100%);
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tt-circle-btn:hover { filter: brightness(1.08); border-color: #38bdf8; }
  .tt-circle-btn:active { transform: translateY(1px); }

  /* Authentic QQ 2008 Glossy Sky-Blue Skin */
  .qq-2008-banner {
    background: linear-gradient(180deg, #e1f0ff 0%, #b5d8fa 52%, #90c2f5 100%);
    border: 1px solid #7aaee3;
    padding: 6px 10px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #0f3a6d;
    font-family: "SimSun", "Microsoft YaHei", sans-serif;
  }
  .qq-2008-tools {
    display: flex;
    gap: 8px;
    padding: 4px 8px;
    background: linear-gradient(180deg, #eef6fe, #d8ebfc);
    border: 1px solid #a6c9eb;
    border-bottom: none;
    font-size: 11.5px;
    color: #1e4b85;
    align-items: center;
    flex-wrap: wrap;
  }
  .qq-tool-chip {
    background: transparent;
    border: 1px solid transparent;
    padding: 1px 5px;
    cursor: pointer;
    font-size: 11.5px;
    color: #1e4b85;
    border-radius: 2px;
  }
  .qq-tool-chip:hover { background: #fff; border-color: #7aaee3; }
  .qq-group-hdr {
    font-size: 11px;
    font-weight: 700;
    color: #1e4b85;
    background: #eaf3fc;
    padding: 3px 6px;
    border-bottom: 1px solid #cfe2f5;
    font-family: "SimSun", sans-serif;
  }

  /* Authentic 2008 Tieba Sub-nav */
  .tieba-top-nav {
    background: linear-gradient(180deg, #f0f7ff, #d9ebff);
    border: 1px solid #99c2f0;
    padding: 5px 10px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "SimSun", sans-serif;
    font-size: 12px;
  }
  .tieba-nav-tabs { display: flex; gap: 10px; color: #003399; font-weight: 700; }
  .tieba-nav-tabs span.cur { color: #b91c1c; border-bottom: 2px solid #b91c1c; }

  .tt-lcd {
    background: linear-gradient(180deg, #091318, #0f2027);
    border: 2px solid #52525b;
    border-radius: 4px;
    padding: 10px 12px;
    margin-bottom: 10px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.75);
  }

  .tt-lcd-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
  }

  #tt-now-playing {
    color: #38bdf8;
    font-weight: 700;
    font-size: 12.5px;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.55);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  #tt-timer {
    font-family: Consolas, monospace;
    font-size: 12px;
    color: #4ade80;
    text-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
    flex-shrink: 0;
  }

  #tt-eq-canvas {
    width: 100%;
    height: 36px;
    display: block;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 2px;
    margin-bottom: 6px;
  }

  .tt-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .tt-track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    border-bottom: 1px solid #27272a;
    cursor: pointer;
    font-size: 12.5px;
    transition: background 0.12s;
  }

  .tt-track:hover { background: #27272a; }
  .tt-track.active {
    background: linear-gradient(90deg, #3b0764, #1e1b4b);
    color: #f9a8d4;
    font-weight: 700;
  }

  .tt-lyrics {
    margin-top: 10px;
    background: #09090b;
    border: 1px solid #3f3f46;
    border-radius: 3px;
    padding: 12px;
    max-height: 185px;
    overflow-y: auto;
    line-height: 2;
    font-size: 13px;
    text-align: center;
  }

  .red-clue {
    color: #f0abfc;
    font-style: italic;
    font-weight: 600;
  }

  /* ==================== APP 6: MS PAINT ==================== */
  .paint-layout {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 8px;
    align-items: start;
  }

  .paint-toolbox {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: #d4d0c8;
    padding: 4px;
    border: 1px inset #fff;
  }

  .paint-tool {
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ece9d8;
    border: 1px outset #fff;
    font-size: 12px;
    cursor: pointer;
  }

  .paint-tool.active {
    background: #fff;
    border: 1px inset #7f9db9;
    box-shadow: inset 0 0 0 1px #2563eb;
  }

  .paint-palette {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    margin-top: 8px;
    background: #d4d0c8;
    padding: 4px;
    border: 1px inset #fff;
  }

  .paint-swatch {
    width: 16px;
    height: 16px;
    border: 1px solid #475569;
  }

  /* ==================== APP 7: NOKIA N73 ==================== */
  .nokia-shell {
    background: linear-gradient(160deg, #334155 0%, #1e293b 52%, #0f172a 100%);
    color: #f8fafc;
    padding: 14px 16px 16px;
    border-radius: 16px;
    border: 2px solid #94a3b8;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25), 0 8px 20px rgba(0, 0, 0, 0.35);
  }

  .nokia-top-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 2px;
    color: #cbd5e1;
    font-weight: 800;
  }

  .nokia-speaker {
    width: 44px;
    height: 5px;
    border-radius: 999px;
    background: #090d14;
    border: 1px solid #64748b;
  }

  .nokia-lcd {
    background: linear-gradient(180deg, #c3df9d 0%, #adc989 100%);
    color: #162a04;
    font-family: Consolas, "Microsoft YaHei", monospace;
    padding: 8px 10px;
    border: 3px solid #334155;
    border-radius: 5px;
    margin-bottom: 10px;
    min-height: 104px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.25);
  }

  .nokia-lcd-status {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 700;
    border-bottom: 1px solid rgba(22, 42, 4, 0.25);
    padding-bottom: 3px;
    margin-bottom: 6px;
  }

  .t9-candidates {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    min-height: 32px;
    align-items: center;
  }

  .t9-cand-btn {
    background: linear-gradient(180deg, #fef08a, #facc15);
    color: #1c1917;
    border: 1px solid #a16207;
    padding: 4px 12px;
    font-weight: 800;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  }

  .t9-cand-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

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

  .t9-key {
    background: linear-gradient(180deg, #f1f5f9 0%, #cbd5e1 65%, #94a3b8 100%);
    color: #0f172a;
    border: 1px solid #475569;
    border-radius: 7px;
    padding: 7px 4px;
    cursor: pointer;
    text-align: center;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 2px 0 #334155, inset 0 1px 0 rgba(255,255,255,0.85);
    transition: transform 0.08s;
  }

  .t9-key:active { transform: translateY(2px); box-shadow: none; background: #94a3b8; }
  .t9-sub { display: block; font-size: 10px; color: #475569; font-weight: 600; }

  /* ==================== APP 8: IE6 TIEBA ==================== */
  .ie-toolbar {
    display: flex;
    gap: 6px;
    padding: 5px 10px;
    background: #ece9d8;
    border-bottom: 1px solid #cbc6b5;
    align-items: center;
    flex-wrap: wrap;
  }

  .ie-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    align-items: center;
  }

  .tieba-header-bar {
    background: linear-gradient(180deg, #dbeafe, #bfdbfe);
    border: 1px solid #93c5fd;
    padding: 8px 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .tieba-post {
    display: grid;
    grid-template-columns: 128px 1fr;
    background: #fff;
    border: 1px solid #cbd5e1;
    margin-bottom: 8px;
  }

  .tieba-author-col {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 10px 8px;
    text-align: center;
    font-size: 11.5px;
  }

  .tieba-avatar {
    width: 44px;
    height: 44px;
    margin: 0 auto 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    border: 2px solid #cbd5e1;
  }

  .tieba-lv {
    display: inline-block;
    margin-top: 4px;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 700;
  }

  .tieba-body-col {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
  }

  .tieba-floor {
    font-size: 11px;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    border-top: 1px dashed #e2e8f0;
    padding-top: 5px;
  }

  /* ==================== APP 9: EVIDENCE ARTIFACTS ==================== */
  .ev-ledger {
    background: repeating-linear-gradient(180deg, #fff 0px, #fff 23px, #e0f2fe 24px);
    border: 1px solid #93c5fd;
    padding: 10px 12px;
    position: relative;
  }

  .ev-stamp {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 2px solid #dc2626;
    color: #dc2626;
    font-size: 10.5px;
    font-weight: 900;
    padding: 2px 6px;
    transform: rotate(-7deg);
    opacity: 0.85;
  }

  .ev-terminal {
    background: #0b1220;
    color: #86efac;
    border: 1px solid #334155;
    padding: 10px 12px;
    font-family: Consolas, "Microsoft YaHei", monospace;
    font-size: 12px;
    line-height: 1.65;
  }

  .ev-receipt {
    background: #fffbeb;
    border: 1.5px dashed #d97706;
    padding: 11px 13px;
    color: #78350f;
    box-shadow: inset 0 0 18px rgba(217, 119, 6, 0.08);
  }

  .rumor-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-left: 3px solid #dc2626;
    padding: 8px 10px;
    margin-bottom: 8px;
    transition: background 0.25s, border-color 0.25s;
  }
  .rumor-card.busted {
    background: #ecfdf5;
    border-color: #86efac;
    border-left-color: #059669;
  }
  .rumor-quote {
    font-size: 12.5px;
    color: #1f2937;
    line-height: 1.55;
    margin-bottom: 6px;
  }
  .rumor-card.busted .rumor-quote {
    text-decoration: line-through;
    text-decoration-color: #dc2626;
    text-decoration-thickness: 1.6px;
    color: #64748b;
  }
  .rumor-ev-row {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center;
  }
  .rumor-ev-btn {
    background: linear-gradient(180deg, #fff, #ebe7d8);
    border: 1px solid #7f9db9;
    border-radius: 2px;
    padding: 3px 7px;
    font-size: 11.5px;
    cursor: pointer;
    color: #1e293b;
    font-family: inherit;
  }
  .rumor-ev-btn:hover { border-color: #0054e3; background: #e8f1fc; }
  .rumor-ev-btn.unread { opacity: 0.58; border-style: dashed; }
  .rumor-stamp {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 10.5px;
    font-weight: 800;
    color: #047857;
    border: 1.5px solid #059669;
    background: rgba(209, 250, 229, 0.9);
    padding: 1px 6px;
    transform: rotate(-4deg);
  }
  .rumor-truth {
    font-size: 12px;
    color: #065f46;
    font-weight: 700;
    line-height: 1.55;
    padding-top: 4px;
    border-top: 1px dashed #6ee7b7;
  }

  /* ==================== APP 10: AUDITION 4K STAGE ==================== */
  .audition-stage {
    position: relative;
    background:
      linear-gradient(rgba(236, 72, 153, 0.1) 1px, transparent 1px),
      linear-gradient(90deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px),
      radial-gradient(circle at 50% 18%, #4c1d95 0%, #150924 58%, #09090b 100%);
    background-size: 26px 26px, 26px 26px, 100% 100%;
    color: #fff;
    padding: 18px 16px;
    border: 2px solid #ec4899;
    text-align: center;
    overflow: hidden;
    transition: border-color 0.09s, box-shadow 0.09s;
  }
  .audition-stage.beat-pulse {
    border-color: #fde047;
    box-shadow: inset 0 0 26px rgba(253, 224, 71, 0.24);
  }

  .arrow-seq {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 14px 0;
    flex-wrap: wrap;
  }

  .arrow-node {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.38);
    background: radial-gradient(circle at 32% 24%, rgba(255,255,255,0.45) 0%, #2563eb 38%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.6), inset 0 2px 4px rgba(255,255,255,0.55), inset 0 -4px 8px rgba(0,0,0,0.5);
    transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
  }
  .arrow-node.dir-up    { background: radial-gradient(circle at 32% 24%, #bae6fd 0%, #0284c7 42%, #0c4a6e 100%); }
  .arrow-node.dir-down  { background: radial-gradient(circle at 32% 24%, #fbcfe8 0%, #db2777 42%, #831843 100%); }
  .arrow-node.dir-left  { background: radial-gradient(circle at 32% 24%, #bbf7d0 0%, #16a34a 42%, #14532d 100%); }
  .arrow-node.dir-right { background: radial-gradient(circle at 32% 24%, #fef08a 0%, #d97706 42%, #78350f 100%); }

  .arrow-node.done {
    background: radial-gradient(circle at 32% 24%, #ecfccb 0%, #22c55e 45%, #14532d 100%);
    border-color: #dcfce7;
    box-shadow: 0 0 16px rgba(74, 222, 128, 0.85), inset 0 2px 5px rgba(255,255,255,0.8);
    transform: scale(0.95);
  }

  .arrow-node.current {
    border-color: #fde047;
    box-shadow: 0 0 18px rgba(253, 224, 71, 0.9), 0 0 28px rgba(236, 72, 153, 0.65), inset 0 2px 5px rgba(255,255,255,0.8);
    transform: scale(1.16);
    filter: brightness(1.15);
  }

  .aud-key-btn {
    width: 46px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .beat-track {
    position: relative;
    width: 100%;
    height: 26px;
    background: linear-gradient(180deg, #0f172a, #1e293b);
    border: 1.5px solid #64748b;
    border-radius: 13px;
    margin: 14px 0;
    overflow: hidden;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.65);
  }

  .beat-zone {
    position: absolute;
    left: 64%;
    width: 24%;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.28) 0%, rgba(236, 72, 153, 0.48) 25%, rgba(253, 224, 71, 0.72) 50%, rgba(236, 72, 153, 0.48) 75%, rgba(56, 189, 248, 0.28) 100%);
    border-left: 2px solid #38bdf8;
    border-right: 2px solid #38bdf8;
    transition: filter 0.08s;
  }
  .beat-zone.pulse { filter: brightness(1.38); }
  .beat-tick {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.24);
    pointer-events: none;
  }
  .beat-tick.perfect-line {
    width: 2px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 0 8px #fde047;
  }
  .aud-hud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(244, 114, 182, 0.4);
    padding: 6px 10px;
    margin-bottom: 10px;
    font-family: Consolas, "Microsoft YaHei", monospace;
    font-size: 12px;
  }
  .aud-judge {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 2px;
    min-height: 34px;
    margin: 6px 0;
    text-shadow: 0 0 14px currentColor;
    transition: transform 0.12s;
  }
  .aud-judge.pop { transform: scale(1.18); }
  .aud-judge.j-perfect { color: #fde047; }
  .aud-judge.j-great   { color: #38bdf8; }
  .aud-judge.j-cool    { color: #4ade80; }
  .aud-judge.j-miss    { color: #f87171; }
  .aud-mode-bar {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
  }

  .beat-ball {
    position: absolute;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #e0f2fe, #38bdf8, #0284c7);
    box-shadow: 0 0 14px #38bdf8;
    left: 0%;
  }

  /* ==================== APP 3: QQ 2008 (AUTHENTIC 3-PANE + QQ SHOW) ==================== */
  .qq-layout {
    display: grid;
    grid-template-columns: 146px 1fr 118px;
    gap: 8px;
    min-height: 350px;
  }
  .qq-show-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .qq-show-box {
    background: linear-gradient(180deg, #f3f9ff 0%, #dceeff 100%);
    border: 1px solid #7aaee3;
    padding: 5px;
    text-align: center;
    font-family: "SimSun", sans-serif;
    font-size: 11px;
    color: #1e4b85;
  }
  .qq-show-frame {
    width: 100%;
    height: 118px;
    border: 1px solid #93c5fd;
    background: #0f172a;
    overflow: hidden;
    position: relative;
    margin-bottom: 4px;
  }
  .qq-show-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .qq-show-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0, 84, 227, 0.85);
    color: #fff;
    font-size: 9.5px;
    padding: 0 3px;
  }
  .qq-compose-fake {
    border-top: 1px solid #a6c9eb;
    background: #fff;
    padding: 6px 8px;
    min-height: 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
  }
  .qq-send-bar {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    align-items: center;
    padding-top: 4px;
    border-top: 1px dashed #e2e8f0;
  }

  /* Authentic 2008 QZone Topbar + Two-Column Layout */
  .qz-topbar {
    background: linear-gradient(180deg, #271738, #140b1f);
    border-bottom: 1px solid #581c87;
    padding: 4px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #d8b4fe;
    margin: -12px -12px 10px -12px;
    font-family: "SimSun", sans-serif;
  }
  .qz-banner-2008 {
    position: relative;
    z-index: 3;
    background-image: linear-gradient(90deg, rgba(18, 8, 30, 0.88) 0%, rgba(46, 16, 101, 0.68) 55%, rgba(18, 8, 30, 0.85) 100%), url("../assets/images/real_rainnight_2009.jpg");
    background-size: cover;
    background-position: center;
    border: 1px solid #7e22ce;
    padding: 14px 14px 0;
    margin-bottom: 10px;
  }
  .qz-nav-strip {
    display: flex;
    gap: 2px;
    margin-top: 12px;
    background: rgba(15, 7, 26, 0.85);
    border-top: 1px solid #6b21a8;
    margin-left: -14px;
    margin-right: -14px;
    padding: 0 10px;
    flex-wrap: wrap;
  }
  .qz-nav-strip .qzone-tab {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 6px 12px;
    font-size: 12px;
    color: #e9d5ff;
  }
  .qz-nav-strip .qzone-tab.active {
    background: rgba(168, 85, 247, 0.25);
    border-bottom-color: #fde047;
    color: #fde047;
  }
  .qz-2col {
    display: grid;
    grid-template-columns: 162px 1fr;
    gap: 10px;
    align-items: start;
  }
  .qz-side-mod {
    background: rgba(20, 11, 31, 0.92);
    border: 1px solid #581c87;
    margin-bottom: 9px;
    font-size: 11.5px;
  }
  .qz-mod-title {
    background: linear-gradient(180deg, #3b1560, #230c3b);
    color: #f5d0fe;
    font-weight: 700;
    padding: 4px 8px;
    border-bottom: 1px solid #581c87;
    font-size: 11.5px;
  }
  .qz-mod-body { padding: 8px; }
  .qz-visitor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    text-align: center;
    font-size: 10px;
    color: #c4b5fd;
  }
  .qz-visitor-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid #7e22ce;
    display: block;
    margin-bottom: 2px;
  }

  .qq-list {
    background: #fff;
    border: 1px solid #94a3b8;
    padding: 4px;
    border-radius: 2px;
  }

  .qq-contact {
    padding: 7px 6px;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    font-size: 12px;
    border-radius: 3px;
    transition: background 0.12s;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .qq-av {
    width: 24px;
    height: 24px;
    border-radius: 2px;
    border: 1px solid #94a3b8;
    object-fit: cover;
    flex-shrink: 0;
  }
  .qq-av.offline { filter: grayscale(1) opacity(0.72); }
  .tieba-av-img {
    width: 48px;
    height: 48px;
    margin: 0 auto 6px;
    border: 2px solid #cbd5e1;
    object-fit: cover;
    display: block;
    background: #fff;
  }

  .qq-contact:hover { background: #eff6ff; }
  .qq-contact.active { background: #dbeafe; font-weight: 700; color: #1e3a8a; }

  .qq-chat-box {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #94a3b8;
    padding: 10px;
    border-radius: 2px;
    transition: background 0.3s;
  }

  .qq-chat-box.modern-2026 {
    background: #f5f5f5;
    border-color: #d1d5db;
  }

  .qq-messages {
    flex: 1;
    max-height: 245px;
    overflow-y: auto;
    margin-bottom: 8px;
    line-height: 1.65;
    padding-right: 4px;
  }

  .qq-msg { margin-bottom: 9px; font-size: 12.5px; }
  .qq-msg-name { font-weight: 700; color: #1d4ed8; font-size: 11.5px; margin-bottom: 2px; }
  .qq-msg.me .qq-msg-name { color: #059669; }

  .qq-chat-box.modern-2026 .qq-msg {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 8px 11px;
    border-radius: 8px;
  }

  .qq-chat-box.modern-2026 .qq-msg.me {
    background: #dcfce7;
    border-color: #86efac;
  }

  /* ==================== APP 11: TIME CAPSULE & WINRAR ==================== */
  .rar-extract-box {
    padding: 20px;
    background: #fff;
    border: 1px solid #cbd5e1;
    text-align: center;
  }

  .rar-bar-bg {
    height: 18px;
    background: #e2e8f0;
    border: 1px inset #94a3b8;
    margin: 12px 0;
    overflow: hidden;
  }

  .rar-bar-fill {
    height: 100%;
    width: 0%;
    background: repeating-linear-gradient(90deg, #2563eb 0px, #2563eb 10px, #3b82f6 10px, #3b82f6 13px);
    transition: width 0.15s linear;
  }

  .letter-stationery {
    background: repeating-linear-gradient(180deg, #fdfaf0 0px, #fdfaf0 27px, #e2dcc8 28px);
    border: 1px solid #c9bfa6;
    box-shadow: inset 24px 0 0 rgba(220, 38, 38, 0.08);
    padding: 14px 18px 14px 34px;
    line-height: 28px;
    font-size: 13px;
    color: #1f2937;
    font-family: "SimSun", "Songti SC", serif;
  }

  /* ==================== APP 12: NAME CARD GENERATOR ==================== */
  .retro-card-preview {
    background: linear-gradient(135deg, #1b0b2e, #3b0764, #0f172a);
    border: 2px solid #ff4d94;
    border-radius: 5px;
    padding: 14px 16px;
    color: #f8fafc;
    text-align: center;
    margin-top: 12px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }

  .retro-card-preview.flt-dreamy { background: linear-gradient(135deg, #4a044e, #9d174d, #1e1b4b); }
  .retro-card-preview.flt-abao   { background: linear-gradient(135deg, #0c4a6e, #0284c7, #db2777); }
  .retro-card-preview.flt-lomo   { background: linear-gradient(135deg, #27272a, #7c2d12, #18181b); }
  .retro-card-preview.flt-goth   { background: linear-gradient(135deg, #09090b, #3b0764, #09090b); }
  .retro-card-preview.flt-film   { background: linear-gradient(135deg, #3b2a1a, #784820, #1f1710); }
  .retro-card-preview.flt-bw     { background: linear-gradient(135deg, #18181b, #3f3f46, #09090b); }

  .card-photo-strip {
    height: 190px;
    width: 100%;
    border: 4px solid rgba(255, 255, 255, 0.92);
    margin: 10px 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  }

  .card-photo-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 26%;
    display: block;
  }

  .retro-card-name {
    font-size: 19px;
    font-weight: 800;
    color: #ff9ec5;
    text-shadow: 0 0 10px rgba(255, 77, 148, 0.75);
    margin: 6px 0;
  }

  /* ==================== XP TASKBAR & TWO-COLUMN START MENU ==================== */
  #taskbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38px;
    background: var(--xp-taskbar);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 5000;
    border-top: 1px solid #6ba6ff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.35);
  }

  #start-btn {
    height: 100%;
    padding: 0 20px 0 13px;
    background: var(--xp-start);
    color: #fff;
    font-weight: 800;
    font-size: 14.5px;
    font-style: italic;
    border: none;
    border-radius: 0 14px 14px 0;
    cursor: pointer;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.55), 2px 0 6px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }

  #start-btn:hover { filter: brightness(1.08); }

  #task-tabs {
    flex: 1;
    display: flex;
    gap: 4px;
    padding: 0 10px;
    overflow-x: auto;
    align-items: center;
  }

  .task-tab {
    background: linear-gradient(180deg, #4b8bf5 0%, #306ee0 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 3px;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    max-width: 152px;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }

  .task-tab.active {
    background: linear-gradient(180deg, #163787 0%, #1d46a8 100%);
    border-color: #93c5fd;
    font-weight: 700;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45);
  }

  .tray {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 12px;
    background: linear-gradient(180deg, #1997ef 0%, #0d7ed4 85%, #0a68b4 100%);
    padding: 4px 12px;
    border-left: 1px solid #5bc0ff;
    height: 100%;
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
  }

  .tray-btn {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 6px;
  }

  .tray-btn:hover { background: rgba(255, 255, 255, 0.28); }

  #start-menu {
    position: fixed;
    left: 0;
    bottom: 38px;
    width: 320px;
    background: #fff;
    border: 2px solid #0054e3;
    border-radius: 7px 7px 0 0;
    box-shadow: 6px -6px 26px rgba(0, 0, 0, 0.48);
    z-index: 5100;
    display: none;
    overflow: hidden;
  }

  #start-menu.open { display: block; }

  .start-head {
    background: linear-gradient(180deg, #1f73e6 0%, #155bc4 100%);
    color: #fff;
    padding: 10px 12px;
    font-weight: 700;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #f59e0b;
  }

  .start-avatar {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    object-fit: cover;
  }

  .start-cols {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
  }

  .start-col-left { background: #fff; border-right: 1px solid #cbd5e1; }
  .start-col-right { background: #d3e5fa; }

  .start-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 9px 11px;
    border: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    color: #1e293b;
  }

  .start-item:hover { background: #2f71cd; color: #fff; }

  .start-foot {
    background: linear-gradient(180deg, #3c81e5, #245edb);
    padding: 7px 10px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }

  /* Authentic Windows XP System Tray Balloon */
  #toast {
    position: fixed;
    bottom: 46px;
    right: 14px;
    z-index: 9500;
    background: #ffffe1;
    color: #111827;
    border: 1px solid #000000;
    padding: 9px 13px;
    border-radius: 6px;
    font-family: "SimSun", "Microsoft YaHei", sans-serif;
    font-size: 12px;
    box-shadow: 3px 4px 10px rgba(0, 0, 0, 0.38);
    display: none;
    max-width: 320px;
    line-height: 1.55;
  }

  #toast.show { display: block; animation: winPop 0.16s ease-out; }

  @media (max-width: 760px) {
    .desktop-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 86px); grid-template-rows: auto; height: auto; }
    .qq-layout { grid-template-columns: 1fr; }
    .qq-show-col { display: none; }
    .qz-2col { grid-template-columns: 1fr; }
    .tieba-post { grid-template-columns: 1fr; }
    .tieba-author-col { border-right: none; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; gap: 10px; text-align: left; }
    .tieba-avatar { margin: 0; width: 32px; height: 32px; font-size: 15px; }
    .paint-layout { grid-template-columns: 1fr; }
    .paint-toolbox { grid-template-columns: repeat(6, 1fr); }
    #objective-bar { top: 6px; bottom: auto; left: 8px; right: 8px; width: auto; padding: 6px 9px; }
    .xp-win { left: 8px !important; top: 52px !important; width: calc(100vw - 16px) !important; max-height: calc(100vh - 96px) !important; }
    #btn-select-all-blog { display: inline-block !important; }
    #tray-countdown { display: none; }
  }