html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  font-family: system-ui, sans-serif;
}

iframe {
  width: 100vw;
  height: 100vh;
  border: none;
  display: none;
  contain: layout paint;
  transform: translateZ(0);
}

#launcher {
  position: fixed;
  inset: 0;
  background: #000;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#search-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

#search-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  background: #1f2937;
  border: 2px solid #374151;
  border-radius: 8px;
  color: #fff;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}

#search-input:focus {
  border-color: #3b82f6;
}

.launcher-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.launcher-card {
  background: #111827;
  border: 2px solid currentColor;
  border-radius: 12px;
  padding: 52px 12px;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.launcher-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px currentColor, 0 8px 24px rgba(0,0,0,.6);
}

.launcher-title {
  font-size: 16px;
  font-weight: 700;
  word-break: break-all;
}

#back-btn {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  display: none;
  backdrop-filter: blur(4px);
  transition: background .2s;
}

#back-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

@media (max-width: 900px) {
  .launcher-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .launcher-grid { grid-template-columns: 1fr; }
}

.vc-switch {
  right: 20px !important;
  bottom: 20px !important;
  opacity: .85;
}