.shell{
  height:100vh;
  width:100vw;
  background: var(--bg);
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.frame{
  width:100%;
  height:100%;
  border:0;
  background:#0b0d10;
}

/* Bouton en haut à droite */
.apps-btn{
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 50;

  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.apps-btn:hover{ border-color: rgba(255,255,255,.28); }

.backdrop{
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0,0,0,.45);
}

/* Drawer à droite */
.drawer{
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 90vw);
  z-index: 70;

  background: rgba(20,22,28,.92);
  border-left: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  padding: 14px;

  display:flex;
  flex-direction:column;
  gap: 12px;
}

.drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 6px 2px;
}

.drawer-title{
  font-weight: 800;
  letter-spacing: .2px;
}

.icon-btn{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor: pointer;
}
.icon-btn:hover{ border-color: rgba(255,255,255,.25); }

.apps-list{
  overflow:auto;
  padding-right: 6px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.app-item{
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  cursor:pointer;
}
.app-item:hover{ border-color: rgba(255,255,255,.22); }
.app-item.active{ border-color: rgba(255,255,255,.33); outline: 1px solid rgba(255,255,255,.10); }

.app-name{ font-weight: 750; }
.app-desc{ margin-top: 6px; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.35; }

.drawer-foot{
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.link{
  color: rgba(255,255,255,.75);
  text-decoration: none;
}
.link:hover{ text-decoration: underline; }
