body { margin:0; background:#0f172a; color:white; font-family:sans-serif; }
#dashboard {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  grid-auto-rows:150px;
  gap:10px;
  padding:10px;
}
.section {
  background:#1e293b;
  border-radius:12px;
  display:flex;
  flex-direction:column;
  transition:0.2s;
}
.section.dragging { opacity:0.5; }
.section-title { padding:8px; background:#334155; cursor:grab; }
.tings {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(60px,1fr));
  gap:5px; padding:5px; flex:1;
}
.ting {
  background:#475569;
  border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition:0.2s;
}
.ting:hover { transform:scale(1.05); }

#overlay {
  position:fixed; top:0; left:0; width:100%; height:100%;
  background:rgba(0,0,0,0.8);
  display:flex; align-items:center; justify-content:center;
}
.hidden { display:none; }
#overlayContent iframe, #overlayContent video {
  width:80vw; height:80vh;
}
