body {
  margin: 0;
  font-family: sans-serif;
  background: #121212;
  color: white;
}

header {
  background: #222;
  color: white;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  border-bottom: 2px solid #444;
}

button {
  background: none;
  border: none;
  color: white;
  font-size: 1.2em;
  cursor: pointer;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 16px;
  padding: 20px;
}

.app-icon {
  text-align: center;
  cursor: pointer;
}

.app-icon img {
  width: 48px;
  height: 48px;
}

.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 10;
}

#appWindow iframe {
  width: 90vw;
  height: 80vh;
  border: none;
}

#closeApp {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2em;
}

#lock-screen {
  background: #000;
  color: #0f0;
}

.lock-time {
  font-size: 4em;
  margin-bottom: 20px;
}
