    html, body {
      margin: 0;
      padding: 0;
      width: 100vw;
      overflow-x: hidden;
    }
    body {
      box-sizing: border-box;
    }
    #main-header .form-control {
      font-size: 0.8em;
    }

    .web-screen {
      width: 100vw !important;
      min-width: 100vw !important;
      max-width: 100vw !important;
      height: 100vh !important;
      border: none;
      display: block;
      margin: 0;
      padding: 0;
    }
    .browser-tabs {
      background: #f8f9fa;
      border-bottom: 1px solid #dee2e6;
      display: flex;
      padding: 0;
      margin: 0;
    }
    .browser-tab {
      background: #e9ecef;
      border: 1px solid #dee2e6;
      border-bottom: none;
      border-radius: 8px 8px 0 0;
      padding: 8px 16px;
      margin-right: 2px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      max-width: 200px;
      min-width: 150px;
      font-size: 12px;
      color: #6c757d;
      transition: all 0.2s ease;
    }
    .browser-tab:hover {
      background: #f8f9fa;
    }
    .browser-tab.active {
      background: white;
      color: #212529;
      border-bottom: 1px solid white;
      margin-bottom: -1px;
    }
    .browser-tab .tab-icon {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }
    .browser-tab .tab-title {
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .browser-tab .tab-close {
      width: 16px;
      height: 16px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0.6;
      font-size: 10px;
      transition: all 0.2s ease;
    }
    .browser-tab .tab-close:hover {
      background: #dee2e6;
      opacity: 1;
    }
    
    /* Screen sleep transitions */
    #main-header,
    .browser-tabs {
      transition: all 0.5s ease-in-out;
    }
    
    #main-header.hidden,
    .browser-tabs.hidden {
      display: none;
    }

    /* Modern Fake OS bar styles */
    .os-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 6px 20px; /* increased right padding to avoid scrollbar */
      height: 28px; /* reduced height for a sleeker look */
      box-sizing: border-box;
      background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(250,250,251,0.7));
      border-bottom: 1px solid rgba(16,24,40,0.05);
      backdrop-filter: blur(6px) saturate(115%);
      -webkit-backdrop-filter: blur(6px) saturate(115%);
      box-shadow: 0 4px 12px rgba(16,24,40,0.04);
      position: sticky;
      top: 0;
      z-index: 999;
    }

    /* Left / right sections */
    .os-bar-left,
    .os-bar-right {
      display: flex;
      align-items: center;
      gap: 10px;
    }


    .os-app-name {
      font-weight: 600;
      font-size: 13px;
      color: #0f172a;
      letter-spacing: 0.08px;
      margin-left: 6px;
    }

    .os-icons {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #475569;
      font-size: 15px;
    }

    .os-icons i {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 30px;
      height: 30px;
      border-radius: 8px;
      transition: background-color 160ms ease, transform 100ms ease, color 160ms ease;
      cursor: default;
    }

    .os-icons i:hover {
      background: rgba(2,6,23,0.05);
      transform: translateY(-1px);
      color: #0f172a;
    }

    /* Small badge for notifications */
    .os-badge {
      position: relative;
      display: inline-block;
    }

    .os-badge::after {
      content: '';
      position: absolute;
      top: 6px;
      right: 6px;
      width: 10px;
      height: 10px;
      background: #ef4444; /* red */
      border-radius: 50%;
      box-shadow: 0 0 0 2px rgba(255,255,255,0.9);
    }

    /* Responsive: hide app name on small widths to save space */
    @media (max-width: 520px) {
      .os-app-name { display: none; }
      .os-bar { padding: 6px 10px; height: 40px; }
      .os-icons i { width: 28px; height: 28px; }
      .os-logo { width: 26px; height: 26px; }
    }

    /* Prefer reduced transparency */
    @media (prefers-reduced-transparency: reduce) {
      .os-bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: #ffffff; }
    }