.launcher-screen {
  justify-content: flex-start;
  padding: 20px 0 16px;
  gap: 12px;
}

.launcher-header {
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.launcher-header h1 {
  font-size: 34px;
  line-height: 1;
}

.page-tabs {
  display: grid;
  grid-template-columns: repeat(3, 70px);
  gap: 7px;
}

.tab-button {
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: rgba(28, 30, 33, 0.9);
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1;
  font-weight: 950;
}

.tab-button.is-active {
  background: rgba(53, 214, 255, 0.18);
  color: var(--accent-strong);
}

.app-list {
  width: 100%;
  min-height: 0;
  display: grid;
  align-content: start;
}

.app-section {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-grid {
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(4, 78px);
  gap: 10px;
}

#page-tools .app-grid {
  grid-template-rows: repeat(5, 68px);
  gap: 8px;
}

#page-lab .app-grid {
  grid-template-rows: repeat(6, 58px);
  gap: 6px;
}

#page-games .app-grid {
  grid-template-rows: repeat(3, 90px);
}

.app-card {
  min-height: 0;
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  gap: 14px;
  padding: 6px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(28, 30, 33, 0.98), rgba(12, 14, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  text-decoration: none;
}

#page-lab .app-card {
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 4px 16px;
  border-radius: 18px;
}

#page-lab .app-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  font-size: 26px;
}

.app-card:focus {
  transform: scale(0.99);
}

.app-icon {
  width: 54px;
  height: 54px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 19px;
  font-size: 31px;
  line-height: 1;
}

.block-stack .app-icon {
  background: rgba(255, 209, 102, 0.16);
  color: var(--warm);
}

.breakout .app-icon {
  background: rgba(255, 112, 112, 0.15);
  color: #ff9f9f;
  font-size: 30px;
  box-shadow: inset 0 0 0 2px rgba(255, 159, 159, 0.2);
}

.breakout .app-icon::after {
  content: "";
  width: 30px;
  height: 4px;
  position: absolute;
  margin-top: 36px;
  border-radius: 999px;
  background: currentColor;
}

.sky-flap .app-icon {
  background: rgba(112, 231, 255, 0.14);
  color: var(--accent-strong);
  font-size: 31px;
  box-shadow: inset 0 0 0 2px rgba(112, 231, 255, 0.18);
}

.sky-flap .app-icon::before {
  content: "";
  width: 28px;
  height: 10px;
  position: absolute;
  margin-left: -16px;
  margin-top: 8px;
  border-radius: 999px 999px 6px 999px;
  background: var(--warm);
  transform: rotate(-14deg);
}

.sky-flap .app-icon::after {
  content: "";
  width: 16px;
  height: 10px;
  position: absolute;
  margin-left: 32px;
  margin-top: 4px;
  background: #ffb86b;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.signal-orbit .app-icon {
  background: rgba(74, 222, 128, 0.14);
  color: var(--success);
  font-size: 34px;
  box-shadow: inset 0 0 0 2px rgba(74, 222, 128, 0.2);
}

.focus-pulse .app-icon {
  background: rgba(112, 231, 255, 0.14);
  color: var(--accent-strong);
  font-size: 34px;
}

.sun-vector .app-icon {
  background: rgba(255, 209, 102, 0.16);
  color: var(--warm);
  font-size: 34px;
}

.vision-scope .app-icon {
  background: rgba(255, 112, 112, 0.14);
  color: #ff9f9f;
  font-size: 31px;
}

.link-pulse .app-icon {
  background: rgba(74, 222, 128, 0.14);
  color: var(--success);
  font-size: 34px;
}

.device-probe .app-icon {
  background: rgba(255, 209, 102, 0.14);
  color: var(--warm);
  font-size: 32px;
  font-weight: 950;
}

.webllm-probe .app-icon {
  background: rgba(53, 214, 255, 0.14);
  color: var(--accent-strong);
  font-size: 17px;
  font-weight: 950;
  box-shadow: inset 0 0 0 2px rgba(53, 214, 255, 0.18);
}

.lfm2-probe .app-icon {
  background: rgba(74, 222, 128, 0.14);
  color: var(--success);
  font-size: 17px;
  font-weight: 950;
  box-shadow: inset 0 0 0 2px rgba(74, 222, 128, 0.2);
}

.micro-hud-sdk .app-icon {
  background: rgba(74, 222, 128, 0.14);
  color: var(--success);
  font-size: 31px;
  box-shadow: inset 0 0 0 2px rgba(74, 222, 128, 0.2);
}

.micro-hud-sdk .app-icon::before,
.micro-hud-sdk .app-icon::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.micro-hud-sdk .app-icon::before {
  top: 18px;
}

.micro-hud-sdk .app-icon::after {
  bottom: 18px;
}

.compass .app-icon {
  background: rgba(184, 167, 255, 0.14);
  color: #d4c9ff;
  font-size: 30px;
  font-weight: 950;
}

.weather-glance .app-icon {
  background: rgba(184, 167, 255, 0.14);
  color: #d4c9ff;
  font-size: 28px;
  font-weight: 950;
}

.signal-orbit .app-icon::before,
.signal-orbit .app-icon::after,
.focus-pulse .app-icon::before,
.focus-pulse .app-icon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid currentColor;
}

.signal-orbit .app-icon::before {
  width: 40px;
  height: 18px;
}

.signal-orbit .app-icon::after {
  width: 18px;
  height: 40px;
  transform: rotate(36deg);
}

.focus-pulse .app-icon::before {
  width: 38px;
  height: 38px;
}

.focus-pulse .app-icon::after {
  width: 20px;
  height: 20px;
}

.block-stack .app-icon::before,
.block-stack .app-icon::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
}

.block-stack .app-icon::before {
  margin-top: -24px;
}

.block-stack .app-icon::after {
  margin-top: 24px;
}

.app-name {
  min-width: 0;
  font-size: 25px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.launcher-footer {
  margin-top: auto;
  color: var(--text-muted);
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.launcher-footer p + p {
  margin-top: 2px;
}
